meshtrade 1.7.0__py3-none-any.whl → 1.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of meshtrade might be problematic. Click here for more details.
- meshtrade/compliance/client/v1/client_pb2.py +17 -3
- meshtrade/compliance/client/v1/client_pb2.pyi +8 -3
- meshtrade/compliance/client/v1/company_pb2.py +24 -7
- meshtrade/compliance/client/v1/company_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/company_representative_pb2.py +8 -3
- meshtrade/compliance/client/v1/company_representative_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/fund_pb2.py +12 -3
- meshtrade/compliance/client/v1/fund_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/natural_person_pb2.py +18 -3
- meshtrade/compliance/client/v1/natural_person_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/service_pb2.py +19 -14
- meshtrade/compliance/client/v1/service_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/tax_residency_pb2.py +8 -3
- meshtrade/compliance/client/v1/tax_residency_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/trust_pb2.py +12 -3
- meshtrade/compliance/client/v1/trust_pb2.pyi +1 -0
- meshtrade/iam/api_user/v1/__init__.py +2 -0
- meshtrade/iam/api_user/v1/api_user_pb2.py +7 -9
- meshtrade/iam/api_user/v1/api_user_pb2.pyi +2 -4
- meshtrade/iam/api_user/v1/service_meshpy.py +17 -0
- meshtrade/iam/api_user/v1/service_pb2.py +23 -15
- meshtrade/iam/api_user/v1/service_pb2.pyi +8 -0
- meshtrade/iam/api_user/v1/service_pb2_grpc.py +48 -0
- meshtrade/iam/group/v1/group_pb2.py +2 -4
- meshtrade/iam/group/v1/group_pb2.pyi +2 -6
- meshtrade/iam/role/v1/role_pb2.py +2 -2
- meshtrade/iam/role/v1/role_pb2.pyi +16 -4
- meshtrade/iam/user/v1/service_pb2.py +8 -8
- meshtrade/iam/user/v1/user_pb2.py +2 -4
- meshtrade/iam/user/v1/user_pb2.pyi +2 -4
- meshtrade/studio/instrument/v1/instrument_pb2.py +2 -4
- meshtrade/studio/instrument/v1/instrument_pb2.pyi +3 -6
- meshtrade/wallet/account/v1/account_pb2.py +8 -10
- meshtrade/wallet/account/v1/account_pb2.pyi +2 -4
- {meshtrade-1.7.0.dist-info → meshtrade-1.9.0.dist-info}/METADATA +1 -1
- {meshtrade-1.7.0.dist-info → meshtrade-1.9.0.dist-info}/RECORD +38 -38
- {meshtrade-1.7.0.dist-info → meshtrade-1.9.0.dist-info}/WHEEL +0 -0
- {meshtrade-1.7.0.dist-info → meshtrade-1.9.0.dist-info}/top_level.txt +0 -0
|
@@ -22,15 +22,17 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
27
|
from meshtrade.compliance.client.v1 import company_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_company__pb2
|
|
28
|
+
from meshtrade.iam.role.v1 import role_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_role__pb2
|
|
27
29
|
from meshtrade.compliance.client.v1 import fund_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_fund__pb2
|
|
28
30
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_natural__person__pb2
|
|
29
31
|
from meshtrade.compliance.client.v1 import trust_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_trust__pb2
|
|
30
32
|
from meshtrade.compliance.client.v1 import verification_status_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_verification__status__pb2
|
|
31
33
|
|
|
32
34
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+meshtrade/compliance/client/v1/client.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,meshtrade/compliance/client/v1/company.proto\x1a)meshtrade/compliance/client/v1/fund.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a*meshtrade/compliance/client/v1/trust.proto\x1a\x38meshtrade/compliance/client/v1/verification_status.proto\"\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+meshtrade/compliance/client/v1/client.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,meshtrade/compliance/client/v1/company.proto\x1a meshtrade/iam/role/v1/role.proto\x1a)meshtrade/compliance/client/v1/fund.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a*meshtrade/compliance/client/v1/trust.proto\x1a\x38meshtrade/compliance/client/v1/verification_status.proto\"\xd1\t\n\x06\x43lient\x12\xbe\x01\n\x04name\x18\x01 \x01(\tB\xa9\x01\xbaH\xa5\x01\xba\x01\xa1\x01\n\x14name.format.optional\x12\x34name must be empty or in the format clients/{ULIDv2}\x1aSsize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x04name\x12R\n\x05owner\x18\x02 \x01(\tB<\xbaH9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x05owner\x12\x30\n\x0c\x64isplay_name\x18\x03 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x0b\x64isplayName\x12V\n\x0enatural_person\x18\x04 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonH\x00R\rnaturalPerson\x12\x43\n\x07\x63ompany\x18\x05 \x01(\x0b\x32\'.meshtrade.compliance.client.v1.CompanyH\x00R\x07\x63ompany\x12:\n\x04\x66und\x18\x06 \x01(\x0b\x32$.meshtrade.compliance.client.v1.FundH\x00R\x04\x66und\x12=\n\x05trust\x18\x07 \x01(\x0b\x32%.meshtrade.compliance.client.v1.TrustH\x00R\x05trust\x12p\n\x13verification_status\x18\x08 \x01(\x0e\x32\x32.meshtrade.compliance.client.v1.VerificationStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x12verificationStatus\x12\x85\x02\n\x16verification_authority\x18\t \x01(\tB\xcd\x01\xbaH\xc9\x01\xba\x01\xc5\x01\n&verification_authority.format.optional\x12\x46verification_authority must be empty or in the format clients/{ULIDv2}\x1aSsize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x15verificationAuthority\x12G\n\x11verification_date\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x10verificationDate\x12P\n\x16next_verification_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x14nextVerificationDate\x12\x43\n\x05roles\x18\x0c \x03(\x0e\x32\x1b.meshtrade.iam.role.v1.RoleB\x10\xbaH\r\x92\x01\x07\"\x05\x82\x01\x02\x10\x01\xc8\x01\x01R\x05rolesB\x0e\n\x0clegal_personBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
34
36
|
|
|
35
37
|
_globals = globals()
|
|
36
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,6 +40,18 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
38
40
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
39
41
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
40
42
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
41
|
-
_globals['_CLIENT'].
|
|
42
|
-
_globals['_CLIENT'].
|
|
43
|
+
_globals['_CLIENT'].fields_by_name['name']._loaded_options = None
|
|
44
|
+
_globals['_CLIENT'].fields_by_name['name']._serialized_options = b'\272H\245\001\272\001\241\001\n\024name.format.optional\0224name must be empty or in the format clients/{ULIDv2}\032Ssize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')'
|
|
45
|
+
_globals['_CLIENT'].fields_by_name['owner']._loaded_options = None
|
|
46
|
+
_globals['_CLIENT'].fields_by_name['owner']._serialized_options = b'\272H9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!\310\001\001'
|
|
47
|
+
_globals['_CLIENT'].fields_by_name['display_name']._loaded_options = None
|
|
48
|
+
_globals['_CLIENT'].fields_by_name['display_name']._serialized_options = b'\272H\nr\005\020\001\030\377\001\310\001\001'
|
|
49
|
+
_globals['_CLIENT'].fields_by_name['verification_status']._loaded_options = None
|
|
50
|
+
_globals['_CLIENT'].fields_by_name['verification_status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
51
|
+
_globals['_CLIENT'].fields_by_name['verification_authority']._loaded_options = None
|
|
52
|
+
_globals['_CLIENT'].fields_by_name['verification_authority']._serialized_options = b'\272H\311\001\272\001\305\001\n&verification_authority.format.optional\022Fverification_authority must be empty or in the format clients/{ULIDv2}\032Ssize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')'
|
|
53
|
+
_globals['_CLIENT'].fields_by_name['roles']._loaded_options = None
|
|
54
|
+
_globals['_CLIENT'].fields_by_name['roles']._serialized_options = b'\272H\r\222\001\007\"\005\202\001\002\020\001\310\001\001'
|
|
55
|
+
_globals['_CLIENT']._serialized_start=420
|
|
56
|
+
_globals['_CLIENT']._serialized_end=1653
|
|
43
57
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import datetime
|
|
2
2
|
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
3
4
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
5
|
from meshtrade.compliance.client.v1 import company_pb2 as _company_pb2
|
|
6
|
+
from meshtrade.iam.role.v1 import role_pb2 as _role_pb2
|
|
5
7
|
from meshtrade.compliance.client.v1 import fund_pb2 as _fund_pb2
|
|
6
8
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as _natural_person_pb2
|
|
7
9
|
from meshtrade.compliance.client.v1 import trust_pb2 as _trust_pb2
|
|
8
10
|
from meshtrade.compliance.client.v1 import verification_status_pb2 as _verification_status_pb2
|
|
11
|
+
from google.protobuf.internal import containers as _containers
|
|
9
12
|
from google.protobuf import descriptor as _descriptor
|
|
10
13
|
from google.protobuf import message as _message
|
|
11
|
-
from collections.abc import Mapping as _Mapping
|
|
14
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
12
15
|
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
13
16
|
|
|
14
17
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
15
18
|
|
|
16
19
|
class Client(_message.Message):
|
|
17
|
-
__slots__ = ("name", "owner", "display_name", "natural_person", "company", "fund", "trust", "verification_status", "verification_authority", "verification_date", "next_verification_date")
|
|
20
|
+
__slots__ = ("name", "owner", "display_name", "natural_person", "company", "fund", "trust", "verification_status", "verification_authority", "verification_date", "next_verification_date", "roles")
|
|
18
21
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
22
|
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
20
23
|
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -26,6 +29,7 @@ class Client(_message.Message):
|
|
|
26
29
|
VERIFICATION_AUTHORITY_FIELD_NUMBER: _ClassVar[int]
|
|
27
30
|
VERIFICATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
28
31
|
NEXT_VERIFICATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
29
33
|
name: str
|
|
30
34
|
owner: str
|
|
31
35
|
display_name: str
|
|
@@ -37,4 +41,5 @@ class Client(_message.Message):
|
|
|
37
41
|
verification_authority: str
|
|
38
42
|
verification_date: _timestamp_pb2.Timestamp
|
|
39
43
|
next_verification_date: _timestamp_pb2.Timestamp
|
|
40
|
-
|
|
44
|
+
roles: _containers.RepeatedScalarFieldContainer[_role_pb2.Role]
|
|
45
|
+
def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ..., display_name: _Optional[str] = ..., natural_person: _Optional[_Union[_natural_person_pb2.NaturalPerson, _Mapping]] = ..., company: _Optional[_Union[_company_pb2.Company, _Mapping]] = ..., fund: _Optional[_Union[_fund_pb2.Fund, _Mapping]] = ..., trust: _Optional[_Union[_trust_pb2.Trust, _Mapping]] = ..., verification_status: _Optional[_Union[_verification_status_pb2.VerificationStatus, str]] = ..., verification_authority: _Optional[str] = ..., verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., next_verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[_role_pb2.Role, str]]] = ...) -> None: ...
|
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
27
|
from meshtrade.compliance.client.v1 import company_representative_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_company__representative__pb2
|
|
27
28
|
from meshtrade.compliance.client.v1 import fund_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_fund__pb2
|
|
@@ -32,7 +33,7 @@ from meshtrade.type.v1 import address_pb2 as meshtrade_dot_type_dot_v1_dot_addre
|
|
|
32
33
|
from meshtrade.type.v1 import decimal_pb2 as meshtrade_dot_type_dot_v1_dot_decimal__pb2
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,meshtrade/compliance/client/v1/company.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\x1a;meshtrade/compliance/client/v1/company_representative.proto\x1a)meshtrade/compliance/client/v1/fund.proto\x1a<meshtrade/compliance/client/v1/industry_classification.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a*meshtrade/compliance/client/v1/trust.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\x1fmeshtrade/type/v1/decimal.proto\"\
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,meshtrade/compliance/client/v1/company.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x16google/type/date.proto\x1a;meshtrade/compliance/client/v1/company_representative.proto\x1a)meshtrade/compliance/client/v1/fund.proto\x1a<meshtrade/compliance/client/v1/industry_classification.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a*meshtrade/compliance/client/v1/trust.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\x1fmeshtrade/type/v1/decimal.proto\"\xc7\t\n\x07\x43ompany\x12\x31\n\x0fregistered_name\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01R\x0eregisteredName\x12\x38\n\x13registration_number\x18\x03 \x01(\tB\x07\xbaH\x04r\x02\x18\x64R\x12registrationNumber\x12.\n\x0etax_identifier\x18\x04 \x01(\tB\x07\xbaH\x04r\x02\x18\x32R\rtaxIdentifier\x12\xe3\x01\n\x18\x63ountry_of_incorporation\x18\x05 \x01(\tB\xa8\x01\xbaH\xa4\x01\xba\x01\xa0\x01\n\x1c\x63ountry_code.format.optional\x12Qcountry_of_incorporation must be empty or a valid ISO 3166-1 alpha-2 country code\x1a-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')R\x16\x63ountryOfIncorporation\x12\x45\n\x15\x64\x61te_of_incorporation\x18\x06 \x01(\x0b\x32\x11.google.type.DateR\x13\x64\x61teOfIncorporation\x12I\n\x12registered_address\x18\x07 \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\x11registeredAddress\x12X\n\x1aprincipal_physical_address\x18\x08 \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\x18principalPhysicalAddress\x12\x41\n\x0epostal_address\x18\t \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\rpostalAddress\x12J\n\x13head_office_address\x18\n \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\x11headOfficeAddress\x12n\n\x17\x63ompany_representatives\x18\x0b \x03(\x0b\x32\x35.meshtrade.compliance.client.v1.CompanyRepresentativeR\x16\x63ompanyRepresentatives\x12l\n\x17\x63onnected_legal_persons\x18\x0c \x03(\x0b\x32\x34.meshtrade.compliance.client.v1.ConnectedLegalPersonR\x15\x63onnectedLegalPersons\x12o\n\x17industry_classification\x18\r \x01(\x0b\x32\x36.meshtrade.compliance.client.v1.IndustryClassificationR\x16industryClassification\x12\x39\n\x14listed_exchange_code\x18\x0e \x01(\tB\x07\xbaH\x04r\x02\x18\x14R\x12listedExchangeCode\x12\x34\n\x11listing_reference\x18\x0f \x01(\tB\x07\xbaH\x04r\x02\x18\x14R\x10listingReference\"\x99\x05\n\x14\x43onnectedLegalPerson\x12V\n\x0enatural_person\x18\x01 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonH\x00R\rnaturalPerson\x12\x43\n\x07\x63ompany\x18\x02 \x01(\x0b\x32\'.meshtrade.compliance.client.v1.CompanyH\x00R\x07\x63ompany\x12:\n\x04\x66und\x18\x03 \x01(\x0b\x32$.meshtrade.compliance.client.v1.FundH\x00R\x04\x66und\x12=\n\x05trust\x18\x04 \x01(\x0b\x32%.meshtrade.compliance.client.v1.TrustH\x00R\x05trust\x12s\n\x10\x63onnection_types\x18\x05 \x03(\x0e\x32\x39.meshtrade.compliance.client.v1.LegalPersonConnectionTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02\x10\x01R\x0f\x63onnectionTypes\x12M\n\x14ownership_percentage\x18\x06 \x01(\x0b\x32\x1a.meshtrade.type.v1.DecimalR\x13ownershipPercentage\x12T\n\x18voting_rights_percentage\x18\x07 \x01(\x0b\x32\x1a.meshtrade.type.v1.DecimalR\x16votingRightsPercentage\x12?\n\x16\x63onnection_description\x18\x08 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03R\x15\x63onnectionDescriptionB\x0e\n\x0clegal_person*\xe3\x02\n\x19LegalPersonConnectionType\x12,\n(LEGAL_PERSON_CONNECTION_TYPE_UNSPECIFIED\x10\x00\x12,\n(LEGAL_PERSON_CONNECTION_TYPE_SHAREHOLDER\x10\x01\x12/\n+LEGAL_PERSON_CONNECTION_TYPE_PARENT_COMPANY\x10\x02\x12\x33\n/LEGAL_PERSON_CONNECTION_TYPE_CORPORATE_DIRECTOR\x10\x03\x12&\n\"LEGAL_PERSON_CONNECTION_TYPE_TRUST\x10\x04\x12\x30\n,LEGAL_PERSON_CONNECTION_TYPE_GENERAL_PARTNER\x10\x05\x12*\n&LEGAL_PERSON_CONNECTION_TYPE_GUARANTOR\x10\x06\x42\x63\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
36
37
|
|
|
37
38
|
_globals = globals()
|
|
38
39
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,10 +41,26 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
40
41
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
41
42
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
42
43
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['_COMPANY'].
|
|
46
|
-
_globals['_COMPANY'].
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
44
|
+
_globals['_COMPANY'].fields_by_name['registered_name']._loaded_options = None
|
|
45
|
+
_globals['_COMPANY'].fields_by_name['registered_name']._serialized_options = b'\272H\005r\003\030\377\001'
|
|
46
|
+
_globals['_COMPANY'].fields_by_name['registration_number']._loaded_options = None
|
|
47
|
+
_globals['_COMPANY'].fields_by_name['registration_number']._serialized_options = b'\272H\004r\002\030d'
|
|
48
|
+
_globals['_COMPANY'].fields_by_name['tax_identifier']._loaded_options = None
|
|
49
|
+
_globals['_COMPANY'].fields_by_name['tax_identifier']._serialized_options = b'\272H\004r\002\0302'
|
|
50
|
+
_globals['_COMPANY'].fields_by_name['country_of_incorporation']._loaded_options = None
|
|
51
|
+
_globals['_COMPANY'].fields_by_name['country_of_incorporation']._serialized_options = b'\272H\244\001\272\001\240\001\n\034country_code.format.optional\022Qcountry_of_incorporation must be empty or a valid ISO 3166-1 alpha-2 country code\032-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')'
|
|
52
|
+
_globals['_COMPANY'].fields_by_name['listed_exchange_code']._loaded_options = None
|
|
53
|
+
_globals['_COMPANY'].fields_by_name['listed_exchange_code']._serialized_options = b'\272H\004r\002\030\024'
|
|
54
|
+
_globals['_COMPANY'].fields_by_name['listing_reference']._loaded_options = None
|
|
55
|
+
_globals['_COMPANY'].fields_by_name['listing_reference']._serialized_options = b'\272H\004r\002\030\024'
|
|
56
|
+
_globals['_CONNECTEDLEGALPERSON'].fields_by_name['connection_types']._loaded_options = None
|
|
57
|
+
_globals['_CONNECTEDLEGALPERSON'].fields_by_name['connection_types']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001'
|
|
58
|
+
_globals['_CONNECTEDLEGALPERSON'].fields_by_name['connection_description']._loaded_options = None
|
|
59
|
+
_globals['_CONNECTEDLEGALPERSON'].fields_by_name['connection_description']._serialized_options = b'\272H\005r\003\030\364\003'
|
|
60
|
+
_globals['_LEGALPERSONCONNECTIONTYPE']._serialized_start=2357
|
|
61
|
+
_globals['_LEGALPERSONCONNECTIONTYPE']._serialized_end=2712
|
|
62
|
+
_globals['_COMPANY']._serialized_start=463
|
|
63
|
+
_globals['_COMPANY']._serialized_end=1686
|
|
64
|
+
_globals['_CONNECTEDLEGALPERSON']._serialized_start=1689
|
|
65
|
+
_globals['_CONNECTEDLEGALPERSON']._serialized_end=2354
|
|
49
66
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
27
|
from meshtrade.compliance.client.v1 import company_representative_role_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_company__representative__role__pb2
|
|
27
28
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_natural__person__pb2
|
|
@@ -29,7 +30,7 @@ from meshtrade.type.v1 import contact_details_pb2 as meshtrade_dot_type_dot_v1_d
|
|
|
29
30
|
from meshtrade.type.v1 import decimal_pb2 as meshtrade_dot_type_dot_v1_dot_decimal__pb2
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;meshtrade/compliance/client/v1/company_representative.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\x1a@meshtrade/compliance/client/v1/company_representative_role.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a\'meshtrade/type/v1/contact_details.proto\x1a\x1fmeshtrade/type/v1/decimal.proto\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;meshtrade/compliance/client/v1/company_representative.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x16google/type/date.proto\x1a@meshtrade/compliance/client/v1/company_representative_role.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a\'meshtrade/type/v1/contact_details.proto\x1a\x1fmeshtrade/type/v1/decimal.proto\"\xe3\x03\n\x15\x43ompanyRepresentative\x12T\n\x0enatural_person\x18\x01 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonR\rnaturalPerson\x12W\n\x04role\x18\x02 \x01(\x0e\x32\x39.meshtrade.compliance.client.v1.CompanyRepresentativeRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12$\n\x08position\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03R\x08position\x12M\n\x14ownership_percentage\x18\x04 \x01(\x0b\x32\x1a.meshtrade.type.v1.DecimalR\x13ownershipPercentage\x12\x63\n\x1cprofessional_contact_details\x18\x05 \x01(\x0b\x32!.meshtrade.type.v1.ContactDetailsR\x1aprofessionalContactDetails\x12\x41\n\x13\x64\x61te_of_appointment\x18\x06 \x01(\x0b\x32\x11.google.type.DateR\x11\x64\x61teOfAppointmentBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
33
34
|
|
|
34
35
|
_globals = globals()
|
|
35
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,6 +38,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
37
38
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
39
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
40
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
40
|
-
_globals['_COMPANYREPRESENTATIVE'].
|
|
41
|
-
_globals['_COMPANYREPRESENTATIVE'].
|
|
41
|
+
_globals['_COMPANYREPRESENTATIVE'].fields_by_name['role']._loaded_options = None
|
|
42
|
+
_globals['_COMPANYREPRESENTATIVE'].fields_by_name['role']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
43
|
+
_globals['_COMPANYREPRESENTATIVE'].fields_by_name['position']._loaded_options = None
|
|
44
|
+
_globals['_COMPANYREPRESENTATIVE'].fields_by_name['position']._serialized_options = b'\272H\005r\003\030\364\003'
|
|
45
|
+
_globals['_COMPANYREPRESENTATIVE']._serialized_start=342
|
|
46
|
+
_globals['_COMPANYREPRESENTATIVE']._serialized_end=825
|
|
42
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
1
2
|
from google.type import date_pb2 as _date_pb2
|
|
2
3
|
from meshtrade.compliance.client.v1 import company_representative_role_pb2 as _company_representative_role_pb2
|
|
3
4
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as _natural_person_pb2
|
|
@@ -22,10 +22,11 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)meshtrade/compliance/client/v1/fund.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)meshtrade/compliance/client/v1/fund.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x16google/type/date.proto\"\xb9\x03\n\x04\x46und\x12\x31\n\x0fregistered_name\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01R\x0eregisteredName\x12\x38\n\x13registration_number\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x18\x64R\x12registrationNumber\x12.\n\x0etax_identifier\x18\x03 \x01(\tB\x07\xbaH\x04r\x02\x18\x32R\rtaxIdentifier\x12\xd4\x01\n\x13\x63ountry_of_domicile\x18\x04 \x01(\tB\xa3\x01\xbaH\x9f\x01\xba\x01\x9b\x01\n\x1c\x63ountry_code.format.optional\x12Lcountry_of_domicile must be empty or a valid ISO 3166-1 alpha-2 country code\x1a-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')R\x11\x63ountryOfDomicile\x12=\n\x11\x64\x61te_of_inception\x18\x05 \x01(\x0b\x32\x11.google.type.DateR\x0f\x64\x61teOfInceptionBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
29
30
|
|
|
30
31
|
_globals = globals()
|
|
31
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,6 +34,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
33
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
36
|
-
_globals['_FUND'].
|
|
37
|
-
_globals['_FUND'].
|
|
37
|
+
_globals['_FUND'].fields_by_name['registered_name']._loaded_options = None
|
|
38
|
+
_globals['_FUND'].fields_by_name['registered_name']._serialized_options = b'\272H\005r\003\030\377\001'
|
|
39
|
+
_globals['_FUND'].fields_by_name['registration_number']._loaded_options = None
|
|
40
|
+
_globals['_FUND'].fields_by_name['registration_number']._serialized_options = b'\272H\004r\002\030d'
|
|
41
|
+
_globals['_FUND'].fields_by_name['tax_identifier']._loaded_options = None
|
|
42
|
+
_globals['_FUND'].fields_by_name['tax_identifier']._serialized_options = b'\272H\004r\002\0302'
|
|
43
|
+
_globals['_FUND'].fields_by_name['country_of_domicile']._loaded_options = None
|
|
44
|
+
_globals['_FUND'].fields_by_name['country_of_domicile']._serialized_options = b'\272H\237\001\272\001\233\001\n\034country_code.format.optional\022Lcountry_of_domicile must be empty or a valid ISO 3166-1 alpha-2 country code\032-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')'
|
|
45
|
+
_globals['_FUND']._serialized_start=131
|
|
46
|
+
_globals['_FUND']._serialized_end=572
|
|
38
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
27
|
from meshtrade.compliance.client.v1 import identification_document_type_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_identification__document__type__pb2
|
|
27
28
|
from meshtrade.compliance.client.v1 import pep_status_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_pep__status__pb2
|
|
@@ -31,7 +32,7 @@ from meshtrade.type.v1 import address_pb2 as meshtrade_dot_type_dot_v1_dot_addre
|
|
|
31
32
|
from meshtrade.type.v1 import contact_details_pb2 as meshtrade_dot_type_dot_v1_dot_contact__details__pb2
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3meshtrade/compliance/client/v1/natural_person.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\x1a\x41meshtrade/compliance/client/v1/identification_document_type.proto\x1a/meshtrade/compliance/client/v1/pep_status.proto\x1a@meshtrade/compliance/client/v1/source_of_income_and_wealth.proto\x1a\x32meshtrade/compliance/client/v1/tax_residency.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\'meshtrade/type/v1/contact_details.proto\"\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3meshtrade/compliance/client/v1/natural_person.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x16google/type/date.proto\x1a\x41meshtrade/compliance/client/v1/identification_document_type.proto\x1a/meshtrade/compliance/client/v1/pep_status.proto\x1a@meshtrade/compliance/client/v1/source_of_income_and_wealth.proto\x1a\x32meshtrade/compliance/client/v1/tax_residency.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\'meshtrade/type/v1/contact_details.proto\"\xdf\t\n\rNaturalPerson\x12%\n\tfull_name\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01R\x08\x66ullName\x12\x35\n\rdate_of_birth\x18\x02 \x01(\x0b\x32\x11.google.type.DateR\x0b\x64\x61teOfBirth\x12\xdd\x01\n\x16\x63ountry_of_citizenship\x18\x03 \x01(\tB\xa6\x01\xbaH\xa2\x01\xba\x01\x9e\x01\n\x1c\x63ountry_code.format.optional\x12Ocountry_of_citizenship must be empty or a valid ISO 3166-1 alpha-2 country code\x1a-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')R\x14\x63ountryOfCitizenship\x12<\n\x15identification_number\x18\x04 \x01(\tB\x07\xbaH\x04r\x02\x18\x64R\x14identificationNumber\x12\x86\x01\n\x1cidentification_document_type\x18\x05 \x01(\x0e\x32:.meshtrade.compliance.client.v1.IdentificationDocumentTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x1aidentificationDocumentType\x12`\n#identification_document_expiry_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateR identificationDocumentExpiryDate\x12\x45\n\x10physical_address\x18\x07 \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\x0fphysicalAddress\x12\x41\n\x0epostal_address\x18\x08 \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\rpostalAddress\x12R\n\npep_status\x18\t \x01(\x0e\x32).meshtrade.compliance.client.v1.PepStatusB\x08\xbaH\x05\x82\x01\x02\x10\x01R\tpepStatus\x12J\n\x0f\x63ontact_details\x18\n \x01(\x0b\x32!.meshtrade.type.v1.ContactDetailsR\x0e\x63ontactDetails\x12r\n\x11sources_of_income\x18\x0b \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02\x10\x01R\x0fsourcesOfIncome\x12r\n\x11sources_of_wealth\x18\x0c \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02\x10\x01R\x0fsourcesOfWealth\x12U\n\x0ftax_residencies\x18\r \x03(\x0b\x32,.meshtrade.compliance.client.v1.TaxResidencyR\x0etaxResidenciesBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
35
36
|
|
|
36
37
|
_globals = globals()
|
|
37
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -39,6 +40,20 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
39
40
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
40
41
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
41
42
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
42
|
-
_globals['_NATURALPERSON'].
|
|
43
|
-
_globals['_NATURALPERSON'].
|
|
43
|
+
_globals['_NATURALPERSON'].fields_by_name['full_name']._loaded_options = None
|
|
44
|
+
_globals['_NATURALPERSON'].fields_by_name['full_name']._serialized_options = b'\272H\005r\003\030\377\001'
|
|
45
|
+
_globals['_NATURALPERSON'].fields_by_name['country_of_citizenship']._loaded_options = None
|
|
46
|
+
_globals['_NATURALPERSON'].fields_by_name['country_of_citizenship']._serialized_options = b'\272H\242\001\272\001\236\001\n\034country_code.format.optional\022Ocountry_of_citizenship must be empty or a valid ISO 3166-1 alpha-2 country code\032-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')'
|
|
47
|
+
_globals['_NATURALPERSON'].fields_by_name['identification_number']._loaded_options = None
|
|
48
|
+
_globals['_NATURALPERSON'].fields_by_name['identification_number']._serialized_options = b'\272H\004r\002\030d'
|
|
49
|
+
_globals['_NATURALPERSON'].fields_by_name['identification_document_type']._loaded_options = None
|
|
50
|
+
_globals['_NATURALPERSON'].fields_by_name['identification_document_type']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
51
|
+
_globals['_NATURALPERSON'].fields_by_name['pep_status']._loaded_options = None
|
|
52
|
+
_globals['_NATURALPERSON'].fields_by_name['pep_status']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
53
|
+
_globals['_NATURALPERSON'].fields_by_name['sources_of_income']._loaded_options = None
|
|
54
|
+
_globals['_NATURALPERSON'].fields_by_name['sources_of_income']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001'
|
|
55
|
+
_globals['_NATURALPERSON'].fields_by_name['sources_of_wealth']._loaded_options = None
|
|
56
|
+
_globals['_NATURALPERSON'].fields_by_name['sources_of_wealth']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001'
|
|
57
|
+
_globals['_NATURALPERSON']._serialized_start=449
|
|
58
|
+
_globals['_NATURALPERSON']._serialized_end=1696
|
|
44
59
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
1
2
|
from google.type import date_pb2 as _date_pb2
|
|
2
3
|
from meshtrade.compliance.client.v1 import identification_document_type_pb2 as _identification_document_type_pb2
|
|
3
4
|
from meshtrade.compliance.client.v1 import pep_status_pb2 as _pep_status_pb2
|
|
@@ -22,12 +22,13 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from meshtrade.compliance.client.v1 import client_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_client__pb2
|
|
26
27
|
from meshtrade.iam.role.v1 import role_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_role__pb2
|
|
27
28
|
from meshtrade.option.v1 import method_type_pb2 as meshtrade_dot_option_dot_v1_dot_method__type__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,meshtrade/compliance/client/v1/service.proto\x12\x1emeshtrade.compliance.client.v1\x1a+meshtrade/compliance/client/v1/client.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\"
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,meshtrade/compliance/client/v1/service.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a+meshtrade/compliance/client/v1/client.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\"e\n\x10GetClientRequest\x12Q\n\x04name\x18\x01 \x01(\tB=\xbaH:r520^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x04name\"]\n\x13\x43reateClientRequest\x12\x46\n\x06\x63lient\x18\x01 \x01(\x0b\x32&.meshtrade.compliance.client.v1.ClientB\x06\xbaH\x03\xc8\x01\x01R\x06\x63lient\"\x14\n\x12ListClientsRequest\"W\n\x13ListClientsResponse\x12@\n\x07\x63lients\x18\x01 \x03(\x0b\x32&.meshtrade.compliance.client.v1.ClientR\x07\x63lients2\x9e\x03\n\rClientService\x12}\n\x0c\x43reateClient\x12\x33.meshtrade.compliance.client.v1.CreateClientRequest\x1a&.meshtrade.compliance.client.v1.Client\"\x10\xa0\xb5\x18\x02\xaa\xb5\x18\x08\n\x06\x80\x89z\x82\x89z\x12}\n\tGetClient\x12\x30.meshtrade.compliance.client.v1.GetClientRequest\x1a&.meshtrade.compliance.client.v1.Client\"\x16\xa0\xb5\x18\x01\xaa\xb5\x18\x0e\n\x0c\x80\x89z\x81\x89z\x82\x89z\x83\x89z\x12\x8e\x01\n\x0bListClients\x12\x32.meshtrade.compliance.client.v1.ListClientsRequest\x1a\x33.meshtrade.compliance.client.v1.ListClientsResponse\"\x16\xa0\xb5\x18\x01\xaa\xb5\x18\x0e\n\x0c\x80\x89z\x81\x89z\x82\x89z\x83\x89zBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,20 +36,24 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
35
36
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
37
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
39
|
+
_globals['_GETCLIENTREQUEST'].fields_by_name['name']._loaded_options = None
|
|
40
|
+
_globals['_GETCLIENTREQUEST'].fields_by_name['name']._serialized_options = b'\272H:r520^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!\310\001\001'
|
|
41
|
+
_globals['_CREATECLIENTREQUEST'].fields_by_name['client']._loaded_options = None
|
|
42
|
+
_globals['_CREATECLIENTREQUEST'].fields_by_name['client']._serialized_options = b'\272H\003\310\001\001'
|
|
38
43
|
_globals['_CLIENTSERVICE'].methods_by_name['CreateClient']._loaded_options = None
|
|
39
|
-
_globals['_CLIENTSERVICE'].methods_by_name['CreateClient']._serialized_options = b'\240\265\030\002\252\265\030\
|
|
44
|
+
_globals['_CLIENTSERVICE'].methods_by_name['CreateClient']._serialized_options = b'\240\265\030\002\252\265\030\010\n\006\200\211z\202\211z'
|
|
40
45
|
_globals['_CLIENTSERVICE'].methods_by_name['GetClient']._loaded_options = None
|
|
41
|
-
_globals['_CLIENTSERVICE'].methods_by_name['GetClient']._serialized_options = b'\240\265\030\001\252\265\030\
|
|
46
|
+
_globals['_CLIENTSERVICE'].methods_by_name['GetClient']._serialized_options = b'\240\265\030\001\252\265\030\016\n\014\200\211z\201\211z\202\211z\203\211z'
|
|
42
47
|
_globals['_CLIENTSERVICE'].methods_by_name['ListClients']._loaded_options = None
|
|
43
|
-
_globals['_CLIENTSERVICE'].methods_by_name['ListClients']._serialized_options = b'\240\265\030\001\252\265\030\
|
|
44
|
-
_globals['_GETCLIENTREQUEST']._serialized_start=
|
|
45
|
-
_globals['_GETCLIENTREQUEST']._serialized_end=
|
|
46
|
-
_globals['_CREATECLIENTREQUEST']._serialized_start=
|
|
47
|
-
_globals['_CREATECLIENTREQUEST']._serialized_end=
|
|
48
|
-
_globals['_LISTCLIENTSREQUEST']._serialized_start=
|
|
49
|
-
_globals['_LISTCLIENTSREQUEST']._serialized_end=
|
|
50
|
-
_globals['_LISTCLIENTSRESPONSE']._serialized_start=
|
|
51
|
-
_globals['_LISTCLIENTSRESPONSE']._serialized_end=
|
|
52
|
-
_globals['_CLIENTSERVICE']._serialized_start=
|
|
53
|
-
_globals['_CLIENTSERVICE']._serialized_end=
|
|
48
|
+
_globals['_CLIENTSERVICE'].methods_by_name['ListClients']._serialized_options = b'\240\265\030\001\252\265\030\016\n\014\200\211z\201\211z\202\211z\203\211z'
|
|
49
|
+
_globals['_GETCLIENTREQUEST']._serialized_start=227
|
|
50
|
+
_globals['_GETCLIENTREQUEST']._serialized_end=328
|
|
51
|
+
_globals['_CREATECLIENTREQUEST']._serialized_start=330
|
|
52
|
+
_globals['_CREATECLIENTREQUEST']._serialized_end=423
|
|
53
|
+
_globals['_LISTCLIENTSREQUEST']._serialized_start=425
|
|
54
|
+
_globals['_LISTCLIENTSREQUEST']._serialized_end=445
|
|
55
|
+
_globals['_LISTCLIENTSRESPONSE']._serialized_start=447
|
|
56
|
+
_globals['_LISTCLIENTSRESPONSE']._serialized_end=534
|
|
57
|
+
_globals['_CLIENTSERVICE']._serialized_start=537
|
|
58
|
+
_globals['_CLIENTSERVICE']._serialized_end=951
|
|
54
59
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,9 +22,10 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
|
|
26
27
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2meshtrade/compliance/client/v1/tax_residency.proto\x12\x1emeshtrade.compliance.client.v1\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2meshtrade/compliance/client/v1/tax_residency.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\"\xec\x01\n\x0cTaxResidency\x12\xc0\x01\n\x0c\x63ountry_code\x18\x01 \x01(\tB\x9c\x01\xbaH\x98\x01\xba\x01\x94\x01\n\x1c\x63ountry_code.format.optional\x12\x45\x63ountry_code must be empty or a valid ISO 3166-1 alpha-2 country code\x1a-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')R\x0b\x63ountryCode\x12\x19\n\x03tin\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x18\x64R\x03tinBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
28
29
|
|
|
29
30
|
_globals = globals()
|
|
30
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,6 +33,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
32
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
35
|
-
_globals['_TAXRESIDENCY'].
|
|
36
|
-
_globals['_TAXRESIDENCY'].
|
|
36
|
+
_globals['_TAXRESIDENCY'].fields_by_name['country_code']._loaded_options = None
|
|
37
|
+
_globals['_TAXRESIDENCY'].fields_by_name['country_code']._serialized_options = b'\272H\230\001\272\001\224\001\n\034country_code.format.optional\022Ecountry_code must be empty or a valid ISO 3166-1 alpha-2 country code\032-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')'
|
|
38
|
+
_globals['_TAXRESIDENCY'].fields_by_name['tin']._loaded_options = None
|
|
39
|
+
_globals['_TAXRESIDENCY'].fields_by_name['tin']._serialized_options = b'\272H\004r\002\030d'
|
|
40
|
+
_globals['_TAXRESIDENCY']._serialized_start=116
|
|
41
|
+
_globals['_TAXRESIDENCY']._serialized_end=352
|
|
37
42
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,10 +22,11 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
25
26
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*meshtrade/compliance/client/v1/trust.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*meshtrade/compliance/client/v1/trust.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x16google/type/date.proto\"\xba\x03\n\x05Trust\x12\x31\n\x0fregistered_name\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01R\x0eregisteredName\x12\x38\n\x13registration_number\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x18\x64R\x12registrationNumber\x12.\n\x0etax_identifier\x18\x03 \x01(\tB\x07\xbaH\x04r\x02\x18\x32R\rtaxIdentifier\x12\xd4\x01\n\x13\x63ountry_of_domicile\x18\x04 \x01(\tB\xa3\x01\xbaH\x9f\x01\xba\x01\x9b\x01\n\x1c\x63ountry_code.format.optional\x12Lcountry_of_domicile must be empty or a valid ISO 3166-1 alpha-2 country code\x1a-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')R\x11\x63ountryOfDomicile\x12=\n\x11\x64\x61te_of_inception\x18\x05 \x01(\x0b\x32\x11.google.type.DateR\x0f\x64\x61teOfInceptionBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
29
30
|
|
|
30
31
|
_globals = globals()
|
|
31
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,6 +34,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client
|
|
|
33
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1'
|
|
36
|
-
_globals['_TRUST'].
|
|
37
|
-
_globals['_TRUST'].
|
|
37
|
+
_globals['_TRUST'].fields_by_name['registered_name']._loaded_options = None
|
|
38
|
+
_globals['_TRUST'].fields_by_name['registered_name']._serialized_options = b'\272H\005r\003\030\377\001'
|
|
39
|
+
_globals['_TRUST'].fields_by_name['registration_number']._loaded_options = None
|
|
40
|
+
_globals['_TRUST'].fields_by_name['registration_number']._serialized_options = b'\272H\004r\002\030d'
|
|
41
|
+
_globals['_TRUST'].fields_by_name['tax_identifier']._loaded_options = None
|
|
42
|
+
_globals['_TRUST'].fields_by_name['tax_identifier']._serialized_options = b'\272H\004r\002\0302'
|
|
43
|
+
_globals['_TRUST'].fields_by_name['country_of_domicile']._loaded_options = None
|
|
44
|
+
_globals['_TRUST'].fields_by_name['country_of_domicile']._serialized_options = b'\272H\237\001\272\001\233\001\n\034country_code.format.optional\022Lcountry_of_domicile must be empty or a valid ISO 3166-1 alpha-2 country code\032-size(this) == 0 || this.matches(\'^[A-Z]{2}$\')'
|
|
45
|
+
_globals['_TRUST']._serialized_start=132
|
|
46
|
+
_globals['_TRUST']._serialized_end=574
|
|
38
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,6 +17,7 @@ from .api_credentials_pb2 import APICredentials
|
|
|
17
17
|
from .api_user_pb2 import APIUser, APIUserAction, APIUserState
|
|
18
18
|
from .service_pb2 import (
|
|
19
19
|
ActivateApiUserRequest,
|
|
20
|
+
AssignRoleToAPIUserRequest,
|
|
20
21
|
CreateApiUserRequest,
|
|
21
22
|
DeactivateApiUserRequest,
|
|
22
23
|
GetApiUserByKeyHashRequest,
|
|
@@ -78,6 +79,7 @@ __all__ = [
|
|
|
78
79
|
"ApiUserService",
|
|
79
80
|
"ApiUserServiceGRPCClient",
|
|
80
81
|
"ApiUserServiceGRPCClientInterface",
|
|
82
|
+
"AssignRoleToAPIUserRequest",
|
|
81
83
|
"ClientOptions",
|
|
82
84
|
"CreateApiUserRequest",
|
|
83
85
|
"DeactivateApiUserRequest",
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(meshtrade/iam/api_user/v1/api_user.proto\x12\x19meshtrade.iam.api_user.v1\x1a\x1b\x62uf/validate/validate.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(meshtrade/iam/api_user/v1/api_user.proto\x12\x19meshtrade.iam.api_user.v1\x1a\x1b\x62uf/validate/validate.proto\"\x9e\x06\n\x07\x41PIUser\x12\xc2\x01\n\x04name\x18\x01 \x01(\tB\xad\x01\xbaH\xa9\x01\xba\x01\xa5\x01\n\x14name.format.optional\x12\x36name must be empty or in the format api_users/{ULIDv2}\x1aUsize(this) == 0 || this.matches(\'^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x04name\x12R\n\x05owner\x18\x02 \x01(\tB<\xbaH9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x05owner\x12\xb4\x01\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x90\x01\xbaH\x8c\x01r\x05\x10\x01\x18\xff\x01\xba\x01\x7f\n\x15\x64isplay_name.required\x12\x41\x64isplay name is required and must be between 1 and 255 characters\x1a#size(this) > 0 && size(this) <= 255\xc8\x01\x01R\x0b\x64isplayName\x12\xc2\x01\n\x05state\x18\x05 \x01(\x0e\x32\'.meshtrade.iam.api_user.v1.APIUserStateB\x82\x01\xbaH\x7f\x82\x01\x02\x10\x01\xba\x01t\n\x0bstate.valid\x12/state must be a valid APIUserState if specified\x1a\x34int(this) == 0 || (int(this) >= 1 && int(this) <= 2)\xc8\x01\x01R\x05state\x12\x65\n\x05roles\x18\x06 \x03(\tBO\xbaHL\x92\x01I\"GrE2@^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/[123456][0-9]{6}$\x98\x01)R\x05roles\x12\x17\n\x07\x61pi_key\x18\x07 \x01(\tR\x06\x61piKey*f\n\x0c\x41PIUserState\x12\x1e\n\x1a\x41PI_USER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41PI_USER_STATE_ACTIVE\x10\x01\x12\x1b\n\x17\x41PI_USER_STATE_INACTIVE\x10\x02*\xa6\x01\n\rAPIUserAction\x12\x1f\n\x1b\x41PI_USER_ACTION_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41PI_USER_ACTION_ACTIVATE\x10\x01\x12\x1e\n\x1a\x41PI_USER_ACTION_DEACTIVATE\x10\x02\x12\x1a\n\x16\x41PI_USER_ACTION_CREATE\x10\x03\x12\x1a\n\x16\x41PI_USER_ACTION_UPDATE\x10\x04\x42[\n co.meshtrade.api.iam.api_user.v1Z7github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,18 +37,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['_APIUSER'].fields_by_name['name']._serialized_options = b'\272H\251\001\272\001\245\001\n\024name.format.optional\0226name must be empty or in the format api_users/{ULIDv2}\032Usize(this) == 0 || this.matches(\'^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')'
|
|
38
38
|
_globals['_APIUSER'].fields_by_name['owner']._loaded_options = None
|
|
39
39
|
_globals['_APIUSER'].fields_by_name['owner']._serialized_options = b'\272H9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!\310\001\001'
|
|
40
|
-
_globals['_APIUSER'].fields_by_name['owners']._loaded_options = None
|
|
41
|
-
_globals['_APIUSER'].fields_by_name['owners']._serialized_options = b'\272H;\222\0018\"6r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!'
|
|
42
40
|
_globals['_APIUSER'].fields_by_name['display_name']._loaded_options = None
|
|
43
41
|
_globals['_APIUSER'].fields_by_name['display_name']._serialized_options = b'\272H\214\001r\005\020\001\030\377\001\272\001\177\n\025display_name.required\022Adisplay name is required and must be between 1 and 255 characters\032#size(this) > 0 && size(this) <= 255\310\001\001'
|
|
44
42
|
_globals['_APIUSER'].fields_by_name['state']._loaded_options = None
|
|
45
43
|
_globals['_APIUSER'].fields_by_name['state']._serialized_options = b'\272H\177\202\001\002\020\001\272\001t\n\013state.valid\022/state must be a valid APIUserState if specified\0324int(this) == 0 || (int(this) >= 1 && int(this) <= 2)\310\001\001'
|
|
46
44
|
_globals['_APIUSER'].fields_by_name['roles']._loaded_options = None
|
|
47
|
-
_globals['_APIUSER'].fields_by_name['roles']._serialized_options = b'\
|
|
48
|
-
_globals['_APIUSERSTATE']._serialized_start=
|
|
49
|
-
_globals['_APIUSERSTATE']._serialized_end=
|
|
50
|
-
_globals['_APIUSERACTION']._serialized_start=
|
|
51
|
-
_globals['_APIUSERACTION']._serialized_end=
|
|
45
|
+
_globals['_APIUSER'].fields_by_name['roles']._serialized_options = b'\272HL\222\001I\"GrE2@^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/[123456][0-9]{6}$\230\001)'
|
|
46
|
+
_globals['_APIUSERSTATE']._serialized_start=901
|
|
47
|
+
_globals['_APIUSERSTATE']._serialized_end=1003
|
|
48
|
+
_globals['_APIUSERACTION']._serialized_start=1006
|
|
49
|
+
_globals['_APIUSERACTION']._serialized_end=1172
|
|
52
50
|
_globals['_APIUSER']._serialized_start=101
|
|
53
|
-
_globals['_APIUSER']._serialized_end=
|
|
51
|
+
_globals['_APIUSER']._serialized_end=899
|
|
54
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -31,19 +31,17 @@ API_USER_ACTION_CREATE: APIUserAction
|
|
|
31
31
|
API_USER_ACTION_UPDATE: APIUserAction
|
|
32
32
|
|
|
33
33
|
class APIUser(_message.Message):
|
|
34
|
-
__slots__ = ("name", "owner", "
|
|
34
|
+
__slots__ = ("name", "owner", "display_name", "state", "roles", "api_key")
|
|
35
35
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
36
36
|
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
-
OWNERS_FIELD_NUMBER: _ClassVar[int]
|
|
38
37
|
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
39
38
|
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
40
39
|
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
41
40
|
API_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
42
41
|
name: str
|
|
43
42
|
owner: str
|
|
44
|
-
owners: _containers.RepeatedScalarFieldContainer[str]
|
|
45
43
|
display_name: str
|
|
46
44
|
state: APIUserState
|
|
47
45
|
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
48
46
|
api_key: str
|
|
49
|
-
def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ...,
|
|
47
|
+
def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ..., display_name: _Optional[str] = ..., state: _Optional[_Union[APIUserState, str]] = ..., roles: _Optional[_Iterable[str]] = ..., api_key: _Optional[str] = ...) -> None: ...
|
|
@@ -19,6 +19,7 @@ from .api_user_pb2 import APIUser
|
|
|
19
19
|
from .service_options_meshpy import ServiceOptions
|
|
20
20
|
from .service_pb2 import (
|
|
21
21
|
ActivateApiUserRequest,
|
|
22
|
+
AssignRoleToAPIUserRequest,
|
|
22
23
|
CreateApiUserRequest,
|
|
23
24
|
DeactivateApiUserRequest,
|
|
24
25
|
GetApiUserByKeyHashRequest,
|
|
@@ -169,6 +170,22 @@ class ApiUserService(BaseGRPCClient):
|
|
|
169
170
|
"""
|
|
170
171
|
return self._execute_method("CreateApiUser", request, timeout)
|
|
171
172
|
|
|
173
|
+
def assign_role_to_apiuser(self, request: AssignRoleToAPIUserRequest, timeout: Optional[timedelta] = None) -> APIUser:
|
|
174
|
+
"""AssignRoleToAPIUser method.
|
|
175
|
+
|
|
176
|
+
Args:
|
|
177
|
+
request: The AssignRoleToAPIUser request message
|
|
178
|
+
timeout: Optional timeout override for this call
|
|
179
|
+
|
|
180
|
+
Returns:
|
|
181
|
+
The AssignRoleToAPIUser response message
|
|
182
|
+
|
|
183
|
+
Raises:
|
|
184
|
+
grpc.RpcError: If the gRPC call fails
|
|
185
|
+
ValueError: If authentication credentials are missing
|
|
186
|
+
"""
|
|
187
|
+
return self._execute_method("AssignRoleToAPIUser", request, timeout)
|
|
188
|
+
|
|
172
189
|
def list_api_users(self, request: ListApiUsersRequest, timeout: Optional[timedelta] = None) -> ListApiUsersResponse:
|
|
173
190
|
"""ListApiUsers method.
|
|
174
191
|
|