"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

import abc
import admac.grpc.accounts_pb2
import collections.abc
import google.protobuf.empty_pb2
import grpc
import grpc.aio
import typing

_T = typing.TypeVar("_T")

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext):  # type: ignore[misc, type-arg]
    ...

class AssetControllerStub:
    def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
    Create: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.AssetCreateRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    List: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.ListAssetRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class AssetControllerAsyncStub:
    Create: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.AssetCreateRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    List: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.ListAssetRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class AssetControllerServicer(metaclass=abc.ABCMeta):
    @abc.abstractmethod
    def Create(
        self,
        request: admac.grpc.accounts_pb2.AssetCreateRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def List(
        self,
        request: admac.grpc.accounts_pb2.ListAssetRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

def add_AssetControllerServicer_to_server(servicer: AssetControllerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...

class UserControllerStub:
    def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
    BulkRetrieve: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserBulkRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    ListAuthors: grpc.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    ListTeachers: grpc.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    RegisterInDarsmanco: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.RegisterInDarsmancoRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Retrieve: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Update: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserUpdateRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class UserControllerAsyncStub:
    BulkRetrieve: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserBulkRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    ListAuthors: grpc.aio.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    ListTeachers: grpc.aio.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    RegisterInDarsmanco: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.RegisterInDarsmancoRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Retrieve: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Update: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.UserUpdateRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class UserControllerServicer(metaclass=abc.ABCMeta):
    @abc.abstractmethod
    def BulkRetrieve(
        self,
        request: admac.grpc.accounts_pb2.UserBulkRetrieveRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def ListAuthors(
        self,
        request: google.protobuf.empty_pb2.Empty,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def ListTeachers(
        self,
        request: google.protobuf.empty_pb2.Empty,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def RegisterInDarsmanco(
        self,
        request: admac.grpc.accounts_pb2.RegisterInDarsmancoRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def Retrieve(
        self,
        request: admac.grpc.accounts_pb2.UserRetrieveRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def Update(
        self,
        request: admac.grpc.accounts_pb2.UserUpdateRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

def add_UserControllerServicer_to_server(servicer: UserControllerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...

class WalletControllerStub:
    def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
    CheckTopupEligibility: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.CheckTopupEligibilityRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    ListPackages: grpc.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    Retrieve: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    RetrievePackage: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletPackageRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Spend: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletSpendRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Topup: grpc.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletTopupRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class WalletControllerAsyncStub:
    CheckTopupEligibility: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.CheckTopupEligibilityRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    ListPackages: grpc.aio.UnaryUnaryMultiCallable[
        google.protobuf.empty_pb2.Empty,
        admac.grpc.accounts_pb2.Response,
    ]

    Retrieve: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    RetrievePackage: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletPackageRetrieveRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Spend: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletSpendRequest,
        admac.grpc.accounts_pb2.Response,
    ]

    Topup: grpc.aio.UnaryUnaryMultiCallable[
        admac.grpc.accounts_pb2.WalletTopupRequest,
        admac.grpc.accounts_pb2.Response,
    ]

class WalletControllerServicer(metaclass=abc.ABCMeta):
    @abc.abstractmethod
    def CheckTopupEligibility(
        self,
        request: admac.grpc.accounts_pb2.CheckTopupEligibilityRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def ListPackages(
        self,
        request: google.protobuf.empty_pb2.Empty,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def Retrieve(
        self,
        request: admac.grpc.accounts_pb2.WalletRetrieveRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def RetrievePackage(
        self,
        request: admac.grpc.accounts_pb2.WalletPackageRetrieveRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def Spend(
        self,
        request: admac.grpc.accounts_pb2.WalletSpendRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

    @abc.abstractmethod
    def Topup(
        self,
        request: admac.grpc.accounts_pb2.WalletTopupRequest,
        context: _ServicerContext,
    ) -> typing.Union[admac.grpc.accounts_pb2.Response, collections.abc.Awaitable[admac.grpc.accounts_pb2.Response]]: ...

def add_WalletControllerServicer_to_server(servicer: WalletControllerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
