# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: t_tech/invest/grpc/users.proto
# Protobuf Python Version: 4.25.1
"""Generated protocol buffer code."""
from google.protobuf import (
    descriptor as _descriptor,
    descriptor_pool as _descriptor_pool,
    symbol_database as _symbol_database,
)
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

from t_tech.invest.grpc import common_pb2 as t__tech_dot_invest_dot_grpc_dot_common__pb2
from t_tech.invest.grpc.google.api import (
    field_behavior_pb2 as t__tech_dot_invest_dot_grpc_dot_google_dot_api_dot_field__behavior__pb2,
)

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1et_tech/invest/grpc/users.proto\x12%tinkoff.public.invest.api.contract.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x32t_tech/invest/grpc/google/api/field_behavior.proto\x1a\x1ft_tech/invest/grpc/common.proto\"j\n\x12GetAccountsRequest\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.AccountStatusH\x00\x88\x01\x01\x42\t\n\x07_status\"W\n\x13GetAccountsResponse\x12@\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32..tinkoff.public.invest.api.contract.v1.Account\"\xd7\x02\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12@\n\x04type\x18\x02 \x01(\x0e\x32\x32.tinkoff.public.invest.api.contract.v1.AccountType\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.tinkoff.public.invest.api.contract.v1.AccountStatus\x12/\n\x0bopened_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63losed_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x0c\x61\x63\x63\x65ss_level\x18\x07 \x01(\x0e\x32\x32.tinkoff.public.invest.api.contract.v1.AccessLevel\"6\n\x1aGetMarginAttributesRequest\x12\x18\n\naccount_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xc7\x04\n\x1bGetMarginAttributesResponse\x12K\n\x10liquid_portfolio\x18\x01 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12J\n\x0fstarting_margin\x18\x02 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12I\n\x0eminimal_margin\x18\x03 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12Q\n\x17\x66unds_sufficiency_level\x18\x04 \x01(\x0b\x32\x30.tinkoff.public.invest.api.contract.v1.Quotation\x12R\n\x17\x61mount_of_missing_funds\x18\x05 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12K\n\x10\x63orrected_margin\x18\x06 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12P\n\x15guarantee_for_futures\x18\x07 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\"\x16\n\x14GetUserTariffRequest\"\xab\x01\n\x15GetUserTariffResponse\x12G\n\x0cunary_limits\x18\x01 \x03(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.UnaryLimit\x12I\n\rstream_limits\x18\x02 \x03(\x0b\x32\x32.tinkoff.public.invest.api.contract.v1.StreamLimit\"k\n\nUnaryLimit\x12\x18\n\x10limit_per_minute\x18\x01 \x01(\x05\x12\x0f\n\x07methods\x18\x02 \x03(\t\x12\x1d\n\x10limit_per_second\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x13\n\x11_limit_per_second\";\n\x0bStreamLimit\x12\r\n\x05limit\x18\x01 \x01(\x05\x12\x0f\n\x07streams\x18\x02 \x03(\t\x12\x0c\n\x04open\x18\x03 \x01(\x05\"\x10\n\x0eGetInfoRequest\"\x96\x01\n\x0fGetInfoResponse\x12\x13\n\x0bprem_status\x18\x01 \x01(\x08\x12\x13\n\x0bqual_status\x18\x02 \x01(\x08\x12\x1f\n\x17qualified_for_work_with\x18\x03 \x03(\t\x12\x0e\n\x06tariff\x18\x04 \x01(\t\x12\x0f\n\x07user_id\x18\t \x01(\t\x12\x17\n\x0frisk_level_code\x18\x0c \x01(\t\"\x18\n\x16GetBankAccountsRequest\"d\n\x17GetBankAccountsResponse\x12I\n\rbank_accounts\x18\x01 \x03(\x0b\x32\x32.tinkoff.public.invest.api.contract.v1.BankAccount\"\xdc\x01\n\x0b\x42\x61nkAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12@\n\x05money\x18\x03 \x03(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue\x12/\n\x0bopened_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x04type\x18\x05 \x01(\x0e\x32\x32.tinkoff.public.invest.api.contract.v1.AccountType\"\xb6\x01\n\x17\x43urrencyTransferRequest\x12\x1d\n\x0f\x66rom_account_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rto_account_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12G\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValueB\x04\xe2\x41\x01\x02\x12\x16\n\x0etransaction_id\x18\x04 \x01(\t\"\x1a\n\x18\x43urrencyTransferResponse\"\x93\x01\n\x0cPayInRequest\x12\x1d\n\x0f\x66rom_account_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rto_account_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12G\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValueB\x04\xe2\x41\x01\x02\"\x0f\n\rPayInResponse\"p\n\x17GetAccountValuesRequest\x12\x10\n\x08\x61\x63\x63ounts\x18\x01 \x03(\t\x12\x43\n\x06values\x18\x02 \x03(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.AccountValue\"p\n\x18GetAccountValuesResponse\x12T\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x42.tinkoff.public.invest.api.contract.v1.AccountValuesWithParameters\"}\n\x1b\x41\x63\x63ountValuesWithParameters\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12J\n\x06values\x18\x02 \x03(\x0b\x32:.tinkoff.public.invest.api.contract.v1.InstrumentParameter\"\x9a\x01\n\x13InstrumentParameter\x12\x41\n\x04name\x18\x01 \x01(\x0e\x32\x33.tinkoff.public.invest.api.contract.v1.AccountValue\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.tinkoff.public.invest.api.contract.v1.MoneyValue*\xe5\x01\n\x0b\x41\x63\x63ountType\x12\x1c\n\x18\x41\x43\x43OUNT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x41\x43\x43OUNT_TYPE_TINKOFF\x10\x01\x12\x1c\n\x18\x41\x43\x43OUNT_TYPE_TINKOFF_IIS\x10\x02\x12\x1b\n\x17\x41\x43\x43OUNT_TYPE_INVEST_BOX\x10\x03\x12\x1c\n\x18\x41\x43\x43OUNT_TYPE_INVEST_FUND\x10\x04\x12\x16\n\x12\x41\x43\x43OUNT_TYPE_DEBIT\x10\x05\x12\x17\n\x13\x41\x43\x43OUNT_TYPE_SAVING\x10\x06\x12\x14\n\x10\x41\x43\x43OUNT_TYPE_DFA\x10\x07*\x93\x01\n\rAccountStatus\x12\x1e\n\x1a\x41\x43\x43OUNT_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41\x43\x43OUNT_STATUS_NEW\x10\x01\x12\x17\n\x13\x41\x43\x43OUNT_STATUS_OPEN\x10\x02\x12\x19\n\x15\x41\x43\x43OUNT_STATUS_CLOSED\x10\x03\x12\x16\n\x12\x41\x43\x43OUNT_STATUS_ALL\x10\x04*\xa1\x01\n\x0b\x41\x63\x63\x65ssLevel\x12$\n ACCOUNT_ACCESS_LEVEL_UNSPECIFIED\x10\x00\x12$\n ACCOUNT_ACCESS_LEVEL_FULL_ACCESS\x10\x01\x12\"\n\x1e\x41\x43\x43OUNT_ACCESS_LEVEL_READ_ONLY\x10\x02\x12\"\n\x1e\x41\x43\x43OUNT_ACCESS_LEVEL_NO_ACCESS\x10\x03*w\n\x0c\x41\x63\x63ountValue\x12\x1d\n\x19\x41\x43\x43OUNT_VALUE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41\x43\x43OUNT_VALUE_MARGIN_FEE\x10\x01\x12*\n&ACCOUNT_VALUE_AMOUNT_WITHOUT_EXTRA_FEE\x10\x02\x32\xee\x08\n\x0cUsersService\x12\x84\x01\n\x0bGetAccounts\x12\x39.tinkoff.public.invest.api.contract.v1.GetAccountsRequest\x1a:.tinkoff.public.invest.api.contract.v1.GetAccountsResponse\x12\x9c\x01\n\x13GetMarginAttributes\x12\x41.tinkoff.public.invest.api.contract.v1.GetMarginAttributesRequest\x1a\x42.tinkoff.public.invest.api.contract.v1.GetMarginAttributesResponse\x12\x8a\x01\n\rGetUserTariff\x12;.tinkoff.public.invest.api.contract.v1.GetUserTariffRequest\x1a<.tinkoff.public.invest.api.contract.v1.GetUserTariffResponse\x12x\n\x07GetInfo\x12\x35.tinkoff.public.invest.api.contract.v1.GetInfoRequest\x1a\x36.tinkoff.public.invest.api.contract.v1.GetInfoResponse\x12\x90\x01\n\x0fGetBankAccounts\x12=.tinkoff.public.invest.api.contract.v1.GetBankAccountsRequest\x1a>.tinkoff.public.invest.api.contract.v1.GetBankAccountsResponse\x12\x93\x01\n\x10\x43urrencyTransfer\x12>.tinkoff.public.invest.api.contract.v1.CurrencyTransferRequest\x1a?.tinkoff.public.invest.api.contract.v1.CurrencyTransferResponse\x12r\n\x05PayIn\x12\x33.tinkoff.public.invest.api.contract.v1.PayInRequest\x1a\x34.tinkoff.public.invest.api.contract.v1.PayInResponse\x12\x93\x01\n\x10GetAccountValues\x12>.tinkoff.public.invest.api.contract.v1.GetAccountValuesRequest\x1a?.tinkoff.public.invest.api.contract.v1.GetAccountValuesResponseBa\n\x1cru.tinkoff.piapi.contract.v1P\x01Z\x0c./;investapi\xa2\x02\x05TIAPI\xaa\x02\x14Tinkoff.InvestApi.V1\xca\x02\x11Tinkoff\\Invest\\V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't_tech.invest.grpc.users_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\034ru.tinkoff.piapi.contract.v1P\001Z\014./;investapi\242\002\005TIAPI\252\002\024Tinkoff.InvestApi.V1\312\002\021Tinkoff\\Invest\\V1'
  _globals['_GETMARGINATTRIBUTESREQUEST'].fields_by_name['account_id']._options = None
  _globals['_GETMARGINATTRIBUTESREQUEST'].fields_by_name['account_id']._serialized_options = b'\342A\001\002'
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['from_account_id']._options = None
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['from_account_id']._serialized_options = b'\342A\001\002'
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['to_account_id']._options = None
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['to_account_id']._serialized_options = b'\342A\001\002'
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['amount']._options = None
  _globals['_CURRENCYTRANSFERREQUEST'].fields_by_name['amount']._serialized_options = b'\342A\001\002'
  _globals['_PAYINREQUEST'].fields_by_name['from_account_id']._options = None
  _globals['_PAYINREQUEST'].fields_by_name['from_account_id']._serialized_options = b'\342A\001\002'
  _globals['_PAYINREQUEST'].fields_by_name['to_account_id']._options = None
  _globals['_PAYINREQUEST'].fields_by_name['to_account_id']._serialized_options = b'\342A\001\002'
  _globals['_PAYINREQUEST'].fields_by_name['amount']._options = None
  _globals['_PAYINREQUEST'].fields_by_name['amount']._serialized_options = b'\342A\001\002'
  _globals['_ACCOUNTTYPE']._serialized_start=3159
  _globals['_ACCOUNTTYPE']._serialized_end=3388
  _globals['_ACCOUNTSTATUS']._serialized_start=3391
  _globals['_ACCOUNTSTATUS']._serialized_end=3538
  _globals['_ACCESSLEVEL']._serialized_start=3541
  _globals['_ACCESSLEVEL']._serialized_end=3702
  _globals['_ACCOUNTVALUE']._serialized_start=3704
  _globals['_ACCOUNTVALUE']._serialized_end=3823
  _globals['_GETACCOUNTSREQUEST']._serialized_start=191
  _globals['_GETACCOUNTSREQUEST']._serialized_end=297
  _globals['_GETACCOUNTSRESPONSE']._serialized_start=299
  _globals['_GETACCOUNTSRESPONSE']._serialized_end=386
  _globals['_ACCOUNT']._serialized_start=389
  _globals['_ACCOUNT']._serialized_end=732
  _globals['_GETMARGINATTRIBUTESREQUEST']._serialized_start=734
  _globals['_GETMARGINATTRIBUTESREQUEST']._serialized_end=788
  _globals['_GETMARGINATTRIBUTESRESPONSE']._serialized_start=791
  _globals['_GETMARGINATTRIBUTESRESPONSE']._serialized_end=1374
  _globals['_GETUSERTARIFFREQUEST']._serialized_start=1376
  _globals['_GETUSERTARIFFREQUEST']._serialized_end=1398
  _globals['_GETUSERTARIFFRESPONSE']._serialized_start=1401
  _globals['_GETUSERTARIFFRESPONSE']._serialized_end=1572
  _globals['_UNARYLIMIT']._serialized_start=1574
  _globals['_UNARYLIMIT']._serialized_end=1681
  _globals['_STREAMLIMIT']._serialized_start=1683
  _globals['_STREAMLIMIT']._serialized_end=1742
  _globals['_GETINFOREQUEST']._serialized_start=1744
  _globals['_GETINFOREQUEST']._serialized_end=1760
  _globals['_GETINFORESPONSE']._serialized_start=1763
  _globals['_GETINFORESPONSE']._serialized_end=1913
  _globals['_GETBANKACCOUNTSREQUEST']._serialized_start=1915
  _globals['_GETBANKACCOUNTSREQUEST']._serialized_end=1939
  _globals['_GETBANKACCOUNTSRESPONSE']._serialized_start=1941
  _globals['_GETBANKACCOUNTSRESPONSE']._serialized_end=2041
  _globals['_BANKACCOUNT']._serialized_start=2044
  _globals['_BANKACCOUNT']._serialized_end=2264
  _globals['_CURRENCYTRANSFERREQUEST']._serialized_start=2267
  _globals['_CURRENCYTRANSFERREQUEST']._serialized_end=2449
  _globals['_CURRENCYTRANSFERRESPONSE']._serialized_start=2451
  _globals['_CURRENCYTRANSFERRESPONSE']._serialized_end=2477
  _globals['_PAYINREQUEST']._serialized_start=2480
  _globals['_PAYINREQUEST']._serialized_end=2627
  _globals['_PAYINRESPONSE']._serialized_start=2629
  _globals['_PAYINRESPONSE']._serialized_end=2644
  _globals['_GETACCOUNTVALUESREQUEST']._serialized_start=2646
  _globals['_GETACCOUNTVALUESREQUEST']._serialized_end=2758
  _globals['_GETACCOUNTVALUESRESPONSE']._serialized_start=2760
  _globals['_GETACCOUNTVALUESRESPONSE']._serialized_end=2872
  _globals['_ACCOUNTVALUESWITHPARAMETERS']._serialized_start=2874
  _globals['_ACCOUNTVALUESWITHPARAMETERS']._serialized_end=2999
  _globals['_INSTRUMENTPARAMETER']._serialized_start=3002
  _globals['_INSTRUMENTPARAMETER']._serialized_end=3156
  _globals['_USERSSERVICE']._serialized_start=3826
  _globals['_USERSSERVICE']._serialized_end=4960
# @@protoc_insertion_point(module_scope)
