import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested


class CloudapiAccountListResultModel(_base.BaseAPIResultModel):
    data: list[_nested.AccountForCAAPIResultNM]
    entry_count: int


class CloudapiAccountListProtocol(_base.BasePostAPIFunctionProtocol):
    def list(
        self,
        *,
        access_type: None | _nested.AccessType = None,
        id: None | int = None,
        name: None | str = None,
        zone_id: None | int = None,
        page_number: None | int = None,
        page_size: None | int = None,
        sort_by: None | str = None,
        status: None | _nested.AccountStatus = None,
    ) -> CloudapiAccountListResultModel:
        ...
