# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: wallet/resources.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


DESCRIPTOR = _descriptor.FileDescriptor(
    name="wallet/resources.proto",
    package="qbit.wallet",
    syntax="proto3",
    serialized_options=None,
    serialized_pb=_b(
        '\n\x16wallet/resources.proto\x12\x0bqbit.wallet"U\n\x06Wallet\x12\x11\n\twallet_id\x18\x01 \x01(\t\x12\x12\n\nis_blocked\x18\x02 \x01(\x08\x12\x13\n\x0bis_negative\x18\x03 \x01(\x08\x12\x0f\n\x07\x62\x61lance\x18\x04 \x01(\x05"\xe6\x01\n\x07Payment\x12\x13\n\x0bis_verified\x18\x01 \x01(\x08\x12\x12\n\nis_blocked\x18\x02 \x01(\x08\x12\x12\n\npartner_id\x18\x03 \x01(\t\x12\x12\n\npayment_id\x18\x04 \x01(\t\x12\x10\n\x08order_id\x18\x05 \x01(\t\x12\x11\n\twallet_id\x18\x06 \x01(\t\x12\x0e\n\x06\x61mount\x18\x07 \x01(\x05\x12\x17\n\x0fprevious_amount\x18\x08 \x01(\x05\x12\x15\n\rrefund_amount\x18\t \x01(\x05\x12\x0e\n\x06status\x18\n \x01(\t\x12\x15\n\rrefund_status\x18\x0b \x01(\t"\x9e\x01\n\x0bTransaction\x12\x12\n\npayment_id\x18\x01 \x01(\t\x12\x12\n\npartner_id\x18\x02 \x01(\t\x12\x11\n\twallet_id\x18\x03 \x01(\t\x12\x10\n\x08psp_name\x18\x04 \x01(\t\x12\x0c\n\x04type\x18\x05 \x01(\t\x12\x0e\n\x06\x61mount\x18\x06 \x01(\x05\x12\x14\n\x0ctrace_number\x18\x07 \x01(\x05\x12\x0e\n\x06status\x18\x08 \x01(\t"s\n\x04User\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12\x11\n\twallet_id\x18\x03 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x04 \x01(\t\x12\x10\n\x08username\x18\x05 \x01(\t\x12\x12\n\nfirst_name\x18\x06 \x01(\t\x12\x11\n\tlast_name\x18\x07 \x01(\t"\xaf\x01\n\nPermission\x12\x10\n\x08is_grant\x18\x01 \x01(\x08\x12\x15\n\rpermission_id\x18\x02 \x01(\t\x12?\n\x0fpermission_type\x18\x03 \x01(\x0e\x32&.qbit.wallet.Permission.PermissionType"7\n\x0ePermissionType\x12\x07\n\x03\x41LL\x10\x00\x12\x0b\n\x07GENERAL\x10\x01\x12\x0f\n\x0bGET_BALANCE\x10\x02"f\n\x11RequestPermission\x12\x10\n\x08is_grant\x18\x01 \x01(\x08\x12?\n\x0fpermission_type\x18\x02 \x01(\x0e\x32&.qbit.wallet.Permission.PermissionType"l\n\x07Partner\x12\x12\n\npartner_id\x18\x01 \x01(\t\x12\x1c\n\x14\x65xpire_client_secret\x18\x02 \x01(\t\x12\x17\n\x0fmax_debt_amount\x18\x06 \x01(\x05\x12\x16\n\x0emax_debt_count\x18\x07 \x01(\x05"D\n\x0bPartnerDebt\x12\x12\n\npartner_id\x18\x01 \x01(\t\x12\x11\n\twallet_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x05"\xb3\x01\n\x07Service\x12\x12\n\nservice_id\x18\x01 \x01(\t\x12\x12\n\npartner_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x12\n\nmax_amount\x18\x04 \x01(\x05\x12\x17\n\x0fmax_debt_amount\x18\x05 \x01(\x05\x12\x14\n\x0cmodify_count\x18\x06 \x01(\x05\x12\x18\n\x10modify_crm_count\x18\x07 \x01(\x05\x12\x14\n\x0c\x63\x61ncel_count\x18\x08 \x01(\x05\x62\x06proto3'
    ),
)


_PERMISSION_PERMISSIONTYPE = _descriptor.EnumDescriptor(
    name="PermissionType",
    full_name="qbit.wallet.Permission.PermissionType",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="ALL", index=0, number=0, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="GENERAL", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="GET_BALANCE", index=2, number=2, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=758,
    serialized_end=813,
)
_sym_db.RegisterEnumDescriptor(_PERMISSION_PERMISSIONTYPE)


_WALLET = _descriptor.Descriptor(
    name="Wallet",
    full_name="qbit.wallet.Wallet",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="wallet_id",
            full_name="qbit.wallet.Wallet.wallet_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="is_blocked",
            full_name="qbit.wallet.Wallet.is_blocked",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="is_negative",
            full_name="qbit.wallet.Wallet.is_negative",
            index=2,
            number=3,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="balance",
            full_name="qbit.wallet.Wallet.balance",
            index=3,
            number=4,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=39,
    serialized_end=124,
)


_PAYMENT = _descriptor.Descriptor(
    name="Payment",
    full_name="qbit.wallet.Payment",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="is_verified",
            full_name="qbit.wallet.Payment.is_verified",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="is_blocked",
            full_name="qbit.wallet.Payment.is_blocked",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="partner_id",
            full_name="qbit.wallet.Payment.partner_id",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="payment_id",
            full_name="qbit.wallet.Payment.payment_id",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="order_id",
            full_name="qbit.wallet.Payment.order_id",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="wallet_id",
            full_name="qbit.wallet.Payment.wallet_id",
            index=5,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="amount",
            full_name="qbit.wallet.Payment.amount",
            index=6,
            number=7,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="previous_amount",
            full_name="qbit.wallet.Payment.previous_amount",
            index=7,
            number=8,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="refund_amount",
            full_name="qbit.wallet.Payment.refund_amount",
            index=8,
            number=9,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="status",
            full_name="qbit.wallet.Payment.status",
            index=9,
            number=10,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="refund_status",
            full_name="qbit.wallet.Payment.refund_status",
            index=10,
            number=11,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=127,
    serialized_end=357,
)


_TRANSACTION = _descriptor.Descriptor(
    name="Transaction",
    full_name="qbit.wallet.Transaction",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="payment_id",
            full_name="qbit.wallet.Transaction.payment_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="partner_id",
            full_name="qbit.wallet.Transaction.partner_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="wallet_id",
            full_name="qbit.wallet.Transaction.wallet_id",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="psp_name",
            full_name="qbit.wallet.Transaction.psp_name",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="type",
            full_name="qbit.wallet.Transaction.type",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="amount",
            full_name="qbit.wallet.Transaction.amount",
            index=5,
            number=6,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="trace_number",
            full_name="qbit.wallet.Transaction.trace_number",
            index=6,
            number=7,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="status",
            full_name="qbit.wallet.Transaction.status",
            index=7,
            number=8,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=360,
    serialized_end=518,
)


_USER = _descriptor.Descriptor(
    name="User",
    full_name="qbit.wallet.User",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="user_id",
            full_name="qbit.wallet.User.user_id",
            index=0,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="wallet_id",
            full_name="qbit.wallet.User.wallet_id",
            index=1,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="avatar",
            full_name="qbit.wallet.User.avatar",
            index=2,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="username",
            full_name="qbit.wallet.User.username",
            index=3,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="first_name",
            full_name="qbit.wallet.User.first_name",
            index=4,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="last_name",
            full_name="qbit.wallet.User.last_name",
            index=5,
            number=7,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=520,
    serialized_end=635,
)


_PERMISSION = _descriptor.Descriptor(
    name="Permission",
    full_name="qbit.wallet.Permission",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="is_grant",
            full_name="qbit.wallet.Permission.is_grant",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="permission_id",
            full_name="qbit.wallet.Permission.permission_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="permission_type",
            full_name="qbit.wallet.Permission.permission_type",
            index=2,
            number=3,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_PERMISSION_PERMISSIONTYPE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=638,
    serialized_end=813,
)


_REQUESTPERMISSION = _descriptor.Descriptor(
    name="RequestPermission",
    full_name="qbit.wallet.RequestPermission",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="is_grant",
            full_name="qbit.wallet.RequestPermission.is_grant",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="permission_type",
            full_name="qbit.wallet.RequestPermission.permission_type",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=815,
    serialized_end=917,
)


_PARTNER = _descriptor.Descriptor(
    name="Partner",
    full_name="qbit.wallet.Partner",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="partner_id",
            full_name="qbit.wallet.Partner.partner_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="expire_client_secret",
            full_name="qbit.wallet.Partner.expire_client_secret",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_debt_amount",
            full_name="qbit.wallet.Partner.max_debt_amount",
            index=2,
            number=6,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_debt_count",
            full_name="qbit.wallet.Partner.max_debt_count",
            index=3,
            number=7,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=919,
    serialized_end=1027,
)


_PARTNERDEBT = _descriptor.Descriptor(
    name="PartnerDebt",
    full_name="qbit.wallet.PartnerDebt",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="partner_id",
            full_name="qbit.wallet.PartnerDebt.partner_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="wallet_id",
            full_name="qbit.wallet.PartnerDebt.wallet_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="amount",
            full_name="qbit.wallet.PartnerDebt.amount",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1029,
    serialized_end=1097,
)


_SERVICE = _descriptor.Descriptor(
    name="Service",
    full_name="qbit.wallet.Service",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="service_id",
            full_name="qbit.wallet.Service.service_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="partner_id",
            full_name="qbit.wallet.Service.partner_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="title",
            full_name="qbit.wallet.Service.title",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_amount",
            full_name="qbit.wallet.Service.max_amount",
            index=3,
            number=4,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_debt_amount",
            full_name="qbit.wallet.Service.max_debt_amount",
            index=4,
            number=5,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="modify_count",
            full_name="qbit.wallet.Service.modify_count",
            index=5,
            number=6,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="modify_crm_count",
            full_name="qbit.wallet.Service.modify_crm_count",
            index=6,
            number=7,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cancel_count",
            full_name="qbit.wallet.Service.cancel_count",
            index=7,
            number=8,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1100,
    serialized_end=1279,
)

_PERMISSION.fields_by_name["permission_type"].enum_type = _PERMISSION_PERMISSIONTYPE
_PERMISSION_PERMISSIONTYPE.containing_type = _PERMISSION
_REQUESTPERMISSION.fields_by_name[
    "permission_type"
].enum_type = _PERMISSION_PERMISSIONTYPE
DESCRIPTOR.message_types_by_name["Wallet"] = _WALLET
DESCRIPTOR.message_types_by_name["Payment"] = _PAYMENT
DESCRIPTOR.message_types_by_name["Transaction"] = _TRANSACTION
DESCRIPTOR.message_types_by_name["User"] = _USER
DESCRIPTOR.message_types_by_name["Permission"] = _PERMISSION
DESCRIPTOR.message_types_by_name["RequestPermission"] = _REQUESTPERMISSION
DESCRIPTOR.message_types_by_name["Partner"] = _PARTNER
DESCRIPTOR.message_types_by_name["PartnerDebt"] = _PARTNERDEBT
DESCRIPTOR.message_types_by_name["Service"] = _SERVICE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Wallet = _reflection.GeneratedProtocolMessageType(
    "Wallet",
    (_message.Message,),
    {
        "DESCRIPTOR": _WALLET,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Wallet)
    },
)
_sym_db.RegisterMessage(Wallet)

Payment = _reflection.GeneratedProtocolMessageType(
    "Payment",
    (_message.Message,),
    {
        "DESCRIPTOR": _PAYMENT,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Payment)
    },
)
_sym_db.RegisterMessage(Payment)

Transaction = _reflection.GeneratedProtocolMessageType(
    "Transaction",
    (_message.Message,),
    {
        "DESCRIPTOR": _TRANSACTION,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Transaction)
    },
)
_sym_db.RegisterMessage(Transaction)

User = _reflection.GeneratedProtocolMessageType(
    "User",
    (_message.Message,),
    {
        "DESCRIPTOR": _USER,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.User)
    },
)
_sym_db.RegisterMessage(User)

Permission = _reflection.GeneratedProtocolMessageType(
    "Permission",
    (_message.Message,),
    {
        "DESCRIPTOR": _PERMISSION,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Permission)
    },
)
_sym_db.RegisterMessage(Permission)

RequestPermission = _reflection.GeneratedProtocolMessageType(
    "RequestPermission",
    (_message.Message,),
    {
        "DESCRIPTOR": _REQUESTPERMISSION,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.RequestPermission)
    },
)
_sym_db.RegisterMessage(RequestPermission)

Partner = _reflection.GeneratedProtocolMessageType(
    "Partner",
    (_message.Message,),
    {
        "DESCRIPTOR": _PARTNER,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Partner)
    },
)
_sym_db.RegisterMessage(Partner)

PartnerDebt = _reflection.GeneratedProtocolMessageType(
    "PartnerDebt",
    (_message.Message,),
    {
        "DESCRIPTOR": _PARTNERDEBT,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.PartnerDebt)
    },
)
_sym_db.RegisterMessage(PartnerDebt)

Service = _reflection.GeneratedProtocolMessageType(
    "Service",
    (_message.Message,),
    {
        "DESCRIPTOR": _SERVICE,
        "__module__": "wallet.resources_pb2"
        # @@protoc_insertion_point(class_scope:qbit.wallet.Service)
    },
)
_sym_db.RegisterMessage(Service)


# @@protoc_insertion_point(module_scope)
