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


class CloudbrokerAccountListResultModel(_base.BaseAPIResultModel):
    data: list[_nested.AccountForCBAPIResultNM]
    entry_count: int


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