meshtrade 0.0.8__py3-none-any.whl → 0.0.11__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.
- buf/validate/validate_pb2.py +450 -0
- buf/validate/validate_pb2.pyi +627 -0
- meshtrade/common/__init__.py +28 -0
- meshtrade/common/config.py +30 -0
- meshtrade/common/grpc_client.py +202 -0
- meshtrade/compliance/client/v1/__init__.py +65 -7
- meshtrade/compliance/client/v1/client_pb2.py +2 -2
- meshtrade/compliance/client/v1/client_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/company_pb2.py +2 -2
- meshtrade/compliance/client/v1/company_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/company_representative_pb2.py +2 -2
- meshtrade/compliance/client/v1/company_representative_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/company_representative_role_pb2.py +2 -2
- meshtrade/compliance/client/v1/company_representative_role_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/fund_pb2.py +2 -2
- meshtrade/compliance/client/v1/fund_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/identification_document_type_pb2.py +2 -2
- meshtrade/compliance/client/v1/identification_document_type_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/industry_classification_pb2.py +2 -2
- meshtrade/compliance/client/v1/industry_classification_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +2 -2
- meshtrade/compliance/client/v1/natural_person_connection_type_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/natural_person_pb2.py +2 -2
- meshtrade/compliance/client/v1/natural_person_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/pep_status_pb2.py +2 -2
- meshtrade/compliance/client/v1/pep_status_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/service_meshpy.py +186 -0
- meshtrade/compliance/client/v1/service_options_meshpy.py +65 -0
- meshtrade/compliance/client/v1/service_pb2.py +20 -10
- meshtrade/compliance/client/v1/service_pb2.pyi +8 -0
- meshtrade/compliance/client/v1/service_pb2_grpc.py +192 -0
- meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +2 -2
- meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/tax_residency_pb2.py +2 -2
- meshtrade/compliance/client/v1/tax_residency_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/trust_pb2.py +2 -2
- meshtrade/compliance/client/v1/trust_pb2_grpc.py +4 -0
- meshtrade/compliance/client/v1/verification_status_pb2.py +2 -2
- meshtrade/compliance/client/v1/verification_status_pb2_grpc.py +4 -0
- meshtrade/iam/api_user/v1/__init__.py +99 -0
- meshtrade/iam/api_user/v1/api_credentials.py +156 -0
- meshtrade/iam/api_user/v1/api_credentials_pb2.py +42 -0
- meshtrade/iam/api_user/v1/api_credentials_pb2.pyi +14 -0
- meshtrade/iam/api_user/v1/api_credentials_pb2_grpc.py +4 -0
- meshtrade/iam/api_user/v1/api_user_pb2.py +48 -0
- meshtrade/iam/api_user/v1/api_user_pb2.pyi +49 -0
- meshtrade/iam/api_user/v1/api_user_pb2_grpc.py +4 -0
- meshtrade/iam/api_user/v1/service.py +58 -0
- meshtrade/iam/api_user/v1/service_meshpy.py +255 -0
- meshtrade/iam/api_user/v1/service_options_meshpy.py +65 -0
- meshtrade/iam/api_user/v1/service_pb2.py +77 -0
- meshtrade/iam/api_user/v1/service_pb2.pyi +63 -0
- meshtrade/iam/api_user/v1/service_pb2_grpc.py +458 -0
- meshtrade/iam/group/v1/__init__.py +59 -1
- meshtrade/iam/group/v1/group_pb2.py +2 -2
- meshtrade/iam/group/v1/group_pb2_grpc.py +4 -0
- meshtrade/iam/group/v1/service_meshpy.py +187 -0
- meshtrade/iam/group/v1/service_options_meshpy.py +65 -0
- meshtrade/iam/group/v1/service_pb2.py +22 -6
- meshtrade/iam/group/v1/service_pb2.pyi +29 -1
- meshtrade/iam/group/v1/service_pb2_grpc.py +170 -0
- meshtrade/iam/role/v1/__init__.py +44 -0
- meshtrade/iam/role/v1/role.py +23 -0
- meshtrade/iam/role/v1/role_pb2.py +40 -0
- meshtrade/{option/v1/auth_pb2.pyi → iam/role/v1/role_pb2.pyi} +16 -0
- meshtrade/iam/role/v1/role_pb2_grpc.py +4 -0
- meshtrade/iam/user/v1/__init__.py +53 -0
- meshtrade/iam/user/v1/service_meshpy.py +151 -0
- meshtrade/iam/user/v1/service_options_meshpy.py +65 -0
- meshtrade/iam/user/v1/service_pb2.py +51 -0
- meshtrade/iam/user/v1/service_pb2.pyi +19 -0
- meshtrade/iam/user/v1/service_pb2_grpc.py +82 -0
- meshtrade/{issuance_hub/instrument/v1/instrument_pb2.py → iam/user/v1/user_pb2.py} +7 -7
- meshtrade/iam/user/v1/user_pb2.pyi +15 -0
- meshtrade/iam/user/v1/user_pb2_grpc.py +4 -0
- meshtrade/ledger/transaction/v1/__init__.py +34 -0
- meshtrade/ledger/transaction/v1/transaction_action_pb2.py +2 -2
- meshtrade/ledger/transaction/v1/transaction_action_pb2_grpc.py +4 -0
- meshtrade/ledger/transaction/v1/transaction_state_pb2.py +2 -2
- meshtrade/ledger/transaction/v1/transaction_state_pb2_grpc.py +4 -0
- meshtrade/option/v1/__init__.py +36 -4
- meshtrade/option/v1/{service_type_pb2.py → method_type_pb2.py} +7 -7
- meshtrade/option/v1/method_type_pb2.pyi +17 -0
- meshtrade/option/v1/method_type_pb2_grpc.py +4 -0
- meshtrade/trading/limit_order/v1/__init__.py +47 -1
- meshtrade/trading/limit_order/v1/limit_order_pb2.py +2 -2
- meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py +4 -0
- meshtrade/trading/limit_order/v1/service_meshpy.py +151 -0
- meshtrade/trading/limit_order/v1/service_options_meshpy.py +65 -0
- meshtrade/trading/limit_order/v1/service_pb2.py +10 -6
- meshtrade/trading/limit_order/v1/service_pb2.pyi +2 -0
- meshtrade/trading/limit_order/v1/service_pb2_grpc.py +78 -0
- meshtrade/trading/market_order/v1/__init__.py +53 -0
- meshtrade/trading/{direct_order/v1/direct_order_pb2.py → market_order/v1/market_order_pb2.py} +7 -7
- meshtrade/trading/{spot/v1/spot_pb2.pyi → market_order/v1/market_order_pb2.pyi} +1 -1
- meshtrade/trading/market_order/v1/market_order_pb2_grpc.py +4 -0
- meshtrade/trading/market_order/v1/service_meshpy.py +151 -0
- meshtrade/trading/market_order/v1/service_options_meshpy.py +65 -0
- meshtrade/trading/market_order/v1/service_pb2.py +44 -0
- meshtrade/trading/{spot → market_order}/v1/service_pb2.pyi +4 -2
- meshtrade/trading/market_order/v1/service_pb2_grpc.py +78 -0
- meshtrade/type/v1/__init__.py +91 -50
- meshtrade/type/v1/address_pb2.py +2 -2
- meshtrade/type/v1/address_pb2_grpc.py +4 -0
- meshtrade/type/v1/amount.py +2 -8
- meshtrade/type/v1/amount_pb2.py +2 -2
- meshtrade/type/v1/amount_pb2_grpc.py +4 -0
- meshtrade/type/v1/contact_details_pb2.py +2 -2
- meshtrade/type/v1/contact_details_pb2_grpc.py +4 -0
- meshtrade/type/v1/date.py +263 -91
- meshtrade/type/v1/date_pb2.py +2 -2
- meshtrade/type/v1/date_pb2_grpc.py +4 -0
- meshtrade/type/v1/decimal_built_in_conversions.py +1 -1
- meshtrade/type/v1/decimal_pb2.py +2 -2
- meshtrade/type/v1/decimal_pb2_grpc.py +4 -0
- meshtrade/type/v1/ledger.py +1 -1
- meshtrade/type/v1/ledger_pb2.py +2 -2
- meshtrade/type/v1/ledger_pb2_grpc.py +4 -0
- meshtrade/{trading/spot/v1/spot_pb2.py → type/v1/sorting_pb2.py} +7 -7
- meshtrade/type/v1/sorting_pb2.pyi +14 -0
- meshtrade/type/v1/sorting_pb2_grpc.py +4 -0
- meshtrade/type/v1/time_of_day.py +52 -87
- meshtrade/type/v1/time_of_day_pb2.py +2 -2
- meshtrade/type/v1/time_of_day_pb2_grpc.py +4 -0
- meshtrade/type/v1/token_pb2.py +2 -2
- meshtrade/type/v1/token_pb2_grpc.py +4 -0
- meshtrade/wallet/account/v1/__init__.py +46 -0
- meshtrade/wallet/account/v1/account_pb2.py +2 -2
- meshtrade/wallet/account/v1/account_pb2_grpc.py +4 -0
- meshtrade/wallet/account/v1/service_meshpy.py +204 -0
- meshtrade/wallet/account/v1/service_options_meshpy.py +65 -0
- meshtrade/wallet/account/v1/service_pb2.py +18 -18
- meshtrade/wallet/account/v1/service_pb2.pyi +2 -2
- meshtrade/wallet/account/v1/service_pb2_grpc.py +222 -0
- meshtrade-0.0.11.dist-info/METADATA +95 -0
- meshtrade-0.0.11.dist-info/RECORD +176 -0
- {meshtrade-0.0.8.dist-info → meshtrade-0.0.11.dist-info}/top_level.txt +1 -0
- meshtrade/issuance_hub/__init__.py +0 -0
- meshtrade/issuance_hub/instrument/__init__.py +0 -0
- meshtrade/issuance_hub/instrument/v1/__init__.py +0 -11
- meshtrade/issuance_hub/instrument/v1/instrument_pb2.pyi +0 -11
- meshtrade/issuance_hub/instrument/v1/service_pb2.py +0 -49
- meshtrade/issuance_hub/instrument/v1/service_pb2.pyi +0 -46
- meshtrade/option/v1/auth_pb2.py +0 -40
- meshtrade/option/v1/service_type_pb2.pyi +0 -17
- meshtrade/trading/direct_order/__init__.py +0 -0
- meshtrade/trading/direct_order/v1/__init__.py +0 -7
- meshtrade/trading/direct_order/v1/direct_order_pb2.pyi +0 -11
- meshtrade/trading/direct_order/v1/service_pb2.py +0 -40
- meshtrade/trading/direct_order/v1/service_pb2.pyi +0 -12
- meshtrade/trading/spot/__init__.py +0 -0
- meshtrade/trading/spot/v1/__init__.py +0 -7
- meshtrade/trading/spot/v1/service_pb2.py +0 -40
- meshtrade-0.0.8.dist-info/METADATA +0 -35
- meshtrade-0.0.8.dist-info/RECORD +0 -113
- meshtrade-0.0.8.dist-info/licenses/LICENSE +0 -10
- {meshtrade-0.0.8.dist-info → meshtrade-0.0.11.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Common configuration utilities and constants for Meshtrade gRPC clients.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
DEFAULT_GRPC_URL = "production-service-mesh-api-gateway-lb-frontend.mesh.trade"
|
|
6
|
+
DEFAULT_GRPC_PORT = 443
|
|
7
|
+
DEFAULT_TLS = True
|
|
8
|
+
|
|
9
|
+
# gRPC metadata constants
|
|
10
|
+
AUTHORIZATION_HEADER_KEY = "authorization"
|
|
11
|
+
COOKIE_HEADER_KEY = "cookie"
|
|
12
|
+
GROUP_HEADER_KEY = "x-group"
|
|
13
|
+
BEARER_PREFIX = "Bearer "
|
|
14
|
+
ACCESS_TOKEN_PREFIX = "AccessToken="
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def create_auth_metadata(api_key: str, group: str) -> list[tuple[str, str]]:
|
|
18
|
+
"""Create authentication metadata for gRPC requests.
|
|
19
|
+
|
|
20
|
+
Args:
|
|
21
|
+
api_key: The API key (without Bearer prefix)
|
|
22
|
+
group: The group resource name in format groups/{group_id}
|
|
23
|
+
|
|
24
|
+
Returns:
|
|
25
|
+
List of metadata header tuples for authentication
|
|
26
|
+
"""
|
|
27
|
+
return [
|
|
28
|
+
(AUTHORIZATION_HEADER_KEY, f"{BEARER_PREFIX}{api_key}"),
|
|
29
|
+
(GROUP_HEADER_KEY, group), # Send full groups/uuid format in header
|
|
30
|
+
]
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Base gRPC client interface and implementation for resource management.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from abc import ABC, abstractmethod
|
|
6
|
+
from collections.abc import Callable
|
|
7
|
+
from datetime import timedelta
|
|
8
|
+
from typing import Any, TypeVar
|
|
9
|
+
|
|
10
|
+
import grpc
|
|
11
|
+
from protovalidate import Validator
|
|
12
|
+
|
|
13
|
+
from .config import (
|
|
14
|
+
DEFAULT_GRPC_PORT,
|
|
15
|
+
DEFAULT_GRPC_URL,
|
|
16
|
+
DEFAULT_TLS,
|
|
17
|
+
create_auth_metadata,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
T = TypeVar("T")
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class GRPCClient(ABC):
|
|
24
|
+
"""Base interface that all gRPC clients should implement to ensure proper resource cleanup."""
|
|
25
|
+
|
|
26
|
+
@abstractmethod
|
|
27
|
+
def close(self) -> None:
|
|
28
|
+
"""Close the gRPC client connection and release all associated resources."""
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
@abstractmethod
|
|
32
|
+
def group(self) -> str:
|
|
33
|
+
"""Get the group resource name used by this service."""
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class BaseGRPCClient(GRPCClient):
|
|
38
|
+
"""Base gRPC client providing common functionality for all service clients.
|
|
39
|
+
|
|
40
|
+
This class handles connection management, authentication, timeouts, and provides
|
|
41
|
+
a common method execution pattern similar to the Go BaseGRPCClient architecture.
|
|
42
|
+
|
|
43
|
+
Individual service clients should inherit from this class and implement minimal
|
|
44
|
+
wrapper methods that call _execute_method().
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def __init__(
|
|
48
|
+
self,
|
|
49
|
+
service_name: str,
|
|
50
|
+
stub_factory: Callable[[grpc.Channel], Any],
|
|
51
|
+
find_credentials_func: Callable[[], Any],
|
|
52
|
+
url: str | None = None,
|
|
53
|
+
port: int | None = None,
|
|
54
|
+
api_key: str | None = None,
|
|
55
|
+
group: str | None = None,
|
|
56
|
+
timeout: timedelta | None = None,
|
|
57
|
+
tls: bool | None = None,
|
|
58
|
+
):
|
|
59
|
+
"""Initialize the base gRPC client.
|
|
60
|
+
|
|
61
|
+
Args:
|
|
62
|
+
service_name: Name of the service for tracing/debugging
|
|
63
|
+
stub_factory: Function that creates the gRPC stub from a channel
|
|
64
|
+
find_credentials_func: Function to discover credentials from environment
|
|
65
|
+
url: gRPC server URL (uses default if None)
|
|
66
|
+
port: gRPC server port (uses default if None)
|
|
67
|
+
api_key: API key for authentication (discovered if None)
|
|
68
|
+
group: Group resource name (discovered if None)
|
|
69
|
+
timeout: Request timeout (uses 30s default if None)
|
|
70
|
+
tls: Enable TLS (uses default if None)
|
|
71
|
+
"""
|
|
72
|
+
self._service_name = service_name
|
|
73
|
+
self._stub_factory = stub_factory
|
|
74
|
+
|
|
75
|
+
# Configuration
|
|
76
|
+
self._url = url or DEFAULT_GRPC_URL
|
|
77
|
+
self._port = port or DEFAULT_GRPC_PORT
|
|
78
|
+
self._timeout = timeout or timedelta(seconds=30)
|
|
79
|
+
self._tls = tls if tls is not None else DEFAULT_TLS
|
|
80
|
+
|
|
81
|
+
# gRPC components (initialized lazily)
|
|
82
|
+
self._channel: grpc.Channel | None = None
|
|
83
|
+
self._stub: Any | None = None
|
|
84
|
+
|
|
85
|
+
# Request validation
|
|
86
|
+
self._validator = Validator()
|
|
87
|
+
|
|
88
|
+
# Authentication - try provided credentials first, then discovery
|
|
89
|
+
if api_key and group:
|
|
90
|
+
self._api_key = api_key
|
|
91
|
+
self._group = group
|
|
92
|
+
else:
|
|
93
|
+
# Try credential discovery (similar to Go pattern)
|
|
94
|
+
try:
|
|
95
|
+
creds = find_credentials_func()
|
|
96
|
+
self._api_key = creds.api_key if creds else api_key
|
|
97
|
+
self._group = creds.group if creds else group
|
|
98
|
+
except Exception:
|
|
99
|
+
self._api_key = api_key
|
|
100
|
+
self._group = group
|
|
101
|
+
|
|
102
|
+
def __enter__(self):
|
|
103
|
+
"""Enter the runtime context for the gRPC service."""
|
|
104
|
+
self._ensure_connected()
|
|
105
|
+
return self
|
|
106
|
+
|
|
107
|
+
def __exit__(self, exc_type, exc_val, exc_tb):
|
|
108
|
+
"""Exit the runtime context and cleanup resources."""
|
|
109
|
+
self.close()
|
|
110
|
+
|
|
111
|
+
def _ensure_connected(self):
|
|
112
|
+
"""Ensure the gRPC channel and stub are properly initialized."""
|
|
113
|
+
if self._channel is not None:
|
|
114
|
+
return
|
|
115
|
+
|
|
116
|
+
# Build target URL
|
|
117
|
+
target = f"{self._url}:{self._port}"
|
|
118
|
+
|
|
119
|
+
# Create appropriate credentials based on TLS setting
|
|
120
|
+
if self._tls:
|
|
121
|
+
credentials = grpc.ssl_channel_credentials()
|
|
122
|
+
self._channel = grpc.secure_channel(target, credentials)
|
|
123
|
+
else:
|
|
124
|
+
self._channel = grpc.insecure_channel(target)
|
|
125
|
+
|
|
126
|
+
# Create the service-specific stub
|
|
127
|
+
self._stub = self._stub_factory(self._channel)
|
|
128
|
+
|
|
129
|
+
def close(self) -> None:
|
|
130
|
+
"""Close the gRPC channel and cleanup resources."""
|
|
131
|
+
if self._channel is not None:
|
|
132
|
+
self._channel.close()
|
|
133
|
+
self._channel = None
|
|
134
|
+
self._stub = None
|
|
135
|
+
|
|
136
|
+
def group(self) -> str:
|
|
137
|
+
"""Get the group resource name used by this service.
|
|
138
|
+
|
|
139
|
+
Returns:
|
|
140
|
+
The group resource name in format groups/{group_id}
|
|
141
|
+
|
|
142
|
+
Raises:
|
|
143
|
+
ValueError: If no group is configured
|
|
144
|
+
"""
|
|
145
|
+
if not self._group:
|
|
146
|
+
raise ValueError("Group not configured. Provide via constructor or set MESH_API_CREDENTIALS environment variable.")
|
|
147
|
+
return self._group
|
|
148
|
+
|
|
149
|
+
def validator(self) -> Validator:
|
|
150
|
+
"""Get the protovalidate validator for request validation.
|
|
151
|
+
|
|
152
|
+
Returns:
|
|
153
|
+
The protovalidate Validator instance for client-side request validation
|
|
154
|
+
"""
|
|
155
|
+
return self._validator
|
|
156
|
+
|
|
157
|
+
def _execute_method(self, method_name: str, request: Any, timeout: timedelta | None = None) -> Any:
|
|
158
|
+
"""Execute a gRPC method with authentication and error handling.
|
|
159
|
+
|
|
160
|
+
This is the equivalent of the Go Execute() function - it handles all common
|
|
161
|
+
patterns like connection setup, authentication, timeouts, and error handling.
|
|
162
|
+
|
|
163
|
+
Args:
|
|
164
|
+
method_name: The name of the gRPC stub method to call
|
|
165
|
+
request: The request message
|
|
166
|
+
timeout: Optional timeout override
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
The response message
|
|
170
|
+
|
|
171
|
+
Raises:
|
|
172
|
+
grpc.RpcError: If the gRPC call fails
|
|
173
|
+
ValueError: If authentication credentials are missing or request validation fails
|
|
174
|
+
"""
|
|
175
|
+
# Validate request using protovalidate
|
|
176
|
+
try:
|
|
177
|
+
self._validator.validate(request)
|
|
178
|
+
except Exception as e:
|
|
179
|
+
raise ValueError(f"Request validation failed: {e}") from e
|
|
180
|
+
|
|
181
|
+
self._ensure_connected()
|
|
182
|
+
|
|
183
|
+
if not self._api_key or not self._group:
|
|
184
|
+
raise ValueError(
|
|
185
|
+
"API key and group are required for authentication. Provide them via constructor or set MESH_API_CREDENTIALS environment variable."
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
if self._stub is None:
|
|
189
|
+
raise RuntimeError("gRPC stub not initialized. Call _ensure_connected() first.")
|
|
190
|
+
|
|
191
|
+
# Get the method from the stub
|
|
192
|
+
method = getattr(self._stub, method_name)
|
|
193
|
+
|
|
194
|
+
# Create authentication metadata
|
|
195
|
+
metadata = create_auth_metadata(self._api_key, self._group)
|
|
196
|
+
|
|
197
|
+
# Use provided timeout or default
|
|
198
|
+
call_timeout = timeout or self._timeout
|
|
199
|
+
timeout_seconds = call_timeout.total_seconds()
|
|
200
|
+
|
|
201
|
+
# Make the authenticated call
|
|
202
|
+
return method(request, metadata=metadata, timeout=timeout_seconds)
|
|
@@ -1,26 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"""Client v1 package."""
|
|
2
|
+
|
|
3
|
+
# ===================================================================
|
|
4
|
+
# AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
|
|
5
|
+
# ===================================================================
|
|
6
|
+
# This section is automatically managed by protoc-gen-meshpy.
|
|
7
|
+
#
|
|
8
|
+
# DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
|
|
9
|
+
# Your changes will be overwritten during code generation.
|
|
10
|
+
#
|
|
11
|
+
# To add custom imports and exports, scroll down to the
|
|
12
|
+
# "MANUAL SECTION" indicated below.
|
|
13
|
+
# ===================================================================
|
|
14
|
+
|
|
15
|
+
# Generated protobuf imports
|
|
4
16
|
from .company_representative_role_pb2 import CompanyRepresentativeRole
|
|
5
|
-
from .fund_pb2 import Fund
|
|
6
17
|
from .identification_document_type_pb2 import IdentificationDocumentType
|
|
7
|
-
from .industry_classification_pb2 import IndustryClassification
|
|
8
|
-
from .natural_person_connection_type_pb2 import NaturalPersonConnectionType
|
|
9
|
-
from .natural_person_pb2 import NaturalPerson
|
|
10
18
|
from .pep_status_pb2 import PepStatus
|
|
11
19
|
from .source_of_income_and_wealth_pb2 import SourceOfIncomeAndWealth
|
|
12
20
|
from .tax_residency_pb2 import TaxResidency
|
|
21
|
+
from .natural_person_pb2 import NaturalPerson
|
|
22
|
+
from .company_representative_pb2 import CompanyRepresentative
|
|
23
|
+
from .fund_pb2 import Fund
|
|
24
|
+
from .industry_classification_pb2 import IndustryClassification
|
|
13
25
|
from .trust_pb2 import Trust
|
|
26
|
+
from .company_pb2 import Company, ConnectedLegalPerson, LegalPersonConnectionType
|
|
14
27
|
from .verification_status_pb2 import VerificationStatus
|
|
28
|
+
from .client_pb2 import Client
|
|
29
|
+
from .natural_person_connection_type_pb2 import NaturalPersonConnectionType
|
|
30
|
+
from .service_pb2 import (
|
|
31
|
+
CreateClientRequest,
|
|
32
|
+
GetClientRequest,
|
|
33
|
+
ListClientsRequest,
|
|
34
|
+
ListClientsResponse,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
# Generated service imports
|
|
38
|
+
from .service_meshpy import (
|
|
39
|
+
ClientService,
|
|
40
|
+
ClientServiceGRPCClient,
|
|
41
|
+
ClientServiceGRPCClientInterface,
|
|
42
|
+
)
|
|
43
|
+
from .service_options_meshpy import ClientOptions
|
|
44
|
+
|
|
45
|
+
# ===================================================================
|
|
46
|
+
# END OF AUTO-GENERATED SECTION
|
|
47
|
+
# ===================================================================
|
|
48
|
+
#
|
|
49
|
+
# MANUAL SECTION - ADD YOUR CUSTOM IMPORTS AND EXPORTS BELOW
|
|
50
|
+
#
|
|
51
|
+
# You can safely add your own imports, functions, classes, and exports
|
|
52
|
+
# in this section. They will be preserved across code generation.
|
|
53
|
+
#
|
|
54
|
+
# Example:
|
|
55
|
+
# from my_custom_module import my_function
|
|
56
|
+
#
|
|
57
|
+
# ===================================================================
|
|
15
58
|
|
|
59
|
+
# ===================================================================
|
|
60
|
+
# MODULE EXPORTS
|
|
61
|
+
# ===================================================================
|
|
62
|
+
# Combined auto-generated and manual exports
|
|
16
63
|
__all__ = [
|
|
64
|
+
# Generated exports
|
|
17
65
|
"Client",
|
|
66
|
+
"ClientOptions",
|
|
67
|
+
"ClientService",
|
|
68
|
+
"ClientServiceGRPCClient",
|
|
69
|
+
"ClientServiceGRPCClientInterface",
|
|
18
70
|
"Company",
|
|
19
71
|
"CompanyRepresentative",
|
|
20
72
|
"CompanyRepresentativeRole",
|
|
73
|
+
"ConnectedLegalPerson",
|
|
74
|
+
"CreateClientRequest",
|
|
21
75
|
"Fund",
|
|
76
|
+
"GetClientRequest",
|
|
22
77
|
"IdentificationDocumentType",
|
|
23
78
|
"IndustryClassification",
|
|
79
|
+
"LegalPersonConnectionType",
|
|
80
|
+
"ListClientsRequest",
|
|
81
|
+
"ListClientsResponse",
|
|
24
82
|
"NaturalPerson",
|
|
25
83
|
"NaturalPersonConnectionType",
|
|
26
84
|
"PepStatus",
|
|
@@ -30,14 +30,14 @@ from meshtrade.compliance.client.v1 import trust_pb2 as meshtrade_dot_compliance
|
|
|
30
30
|
from meshtrade.compliance.client.v1 import verification_status_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_verification__status__pb2
|
|
31
31
|
|
|
32
32
|
|
|
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\"\xb4\x05\n\x06\x43lient\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12!\n\x0c\x64isplay_name\x18\x03 \x01(\tR\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\x12\x63\n\x13verification_status\x18\x08 \x01(\x0e\x32\x32.meshtrade.compliance.client.v1.VerificationStatusR\x12verificationStatus\x12\x35\n\x16verification_authority\x18\t \x01(\tR\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\x14nextVerificationDateB\x0e\n\
|
|
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\"\xb4\x05\n\x06\x43lient\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12!\n\x0c\x64isplay_name\x18\x03 \x01(\tR\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\x12\x63\n\x13verification_status\x18\x08 \x01(\x0e\x32\x32.meshtrade.compliance.client.v1.VerificationStatusR\x12verificationStatus\x12\x35\n\x16verification_authority\x18\t \x01(\tR\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\x14nextVerificationDateB\x0e\n\x0clegal_personBb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
37
37
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.client_pb2', _globals)
|
|
38
38
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
39
39
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
40
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
40
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
41
41
|
_globals['_CLIENT']._serialized_start=357
|
|
42
42
|
_globals['_CLIENT']._serialized_end=1049
|
|
43
43
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -32,14 +32,14 @@ from meshtrade.type.v1 import address_pb2 as meshtrade_dot_type_dot_v1_dot_addre
|
|
|
32
32
|
from meshtrade.type.v1 import decimal_pb2 as meshtrade_dot_type_dot_v1_dot_decimal__pb2
|
|
33
33
|
|
|
34
34
|
|
|
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\"\xed\x07\n\x07\x43ompany\x12\'\n\x0fregistered_name\x18\x01 \x01(\tR\x0eregisteredName\x12/\n\x13registration_number\x18\x03 \x01(\tR\x12registrationNumber\x12%\n\x0etax_identifier\x18\x04 \x01(\tR\rtaxIdentifier\x12\x38\n\x18\x63ountry_of_incorporation\x18\x05 \x01(\tR\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\x30\n\x14listed_exchange_code\x18\x0e \x01(\tR\x12listedExchangeCode\x12+\n\x11listing_reference\x18\x0f \x01(\tR\x10listingReference\"\x80\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\x12\x64\n\x10\x63onnection_types\x18\x05 \x03(\x0e\x32\x39.meshtrade.compliance.client.v1.LegalPersonConnectionTypeR\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\x35\n\x16\x63onnection_description\x18\x08 \x01(\tR\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
|
|
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\"\xed\x07\n\x07\x43ompany\x12\'\n\x0fregistered_name\x18\x01 \x01(\tR\x0eregisteredName\x12/\n\x13registration_number\x18\x03 \x01(\tR\x12registrationNumber\x12%\n\x0etax_identifier\x18\x04 \x01(\tR\rtaxIdentifier\x12\x38\n\x18\x63ountry_of_incorporation\x18\x05 \x01(\tR\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\x30\n\x14listed_exchange_code\x18\x0e \x01(\tR\x12listedExchangeCode\x12+\n\x11listing_reference\x18\x0f \x01(\tR\x10listingReference\"\x80\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\x12\x64\n\x10\x63onnection_types\x18\x05 \x03(\x0e\x32\x39.meshtrade.compliance.client.v1.LegalPersonConnectionTypeR\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\x35\n\x16\x63onnection_description\x18\x08 \x01(\tR\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\x62\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
36
36
|
|
|
37
37
|
_globals = globals()
|
|
38
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
39
39
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.company_pb2', _globals)
|
|
40
40
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
41
41
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
42
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
42
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
43
43
|
_globals['_LEGALPERSONCONNECTIONTYPE']._serialized_start=2085
|
|
44
44
|
_globals['_LEGALPERSONCONNECTIONTYPE']._serialized_end=2440
|
|
45
45
|
_globals['_COMPANY']._serialized_start=434
|
|
@@ -29,14 +29,14 @@ from meshtrade.type.v1 import contact_details_pb2 as meshtrade_dot_type_dot_v1_d
|
|
|
29
29
|
from meshtrade.type.v1 import decimal_pb2 as meshtrade_dot_type_dot_v1_dot_decimal__pb2
|
|
30
30
|
|
|
31
31
|
|
|
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\"\xcf\x03\n\x15\x43ompanyRepresentative\x12T\n\x0enatural_person\x18\x01 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonR\rnaturalPerson\x12M\n\x04role\x18\x02 \x01(\x0e\x32\x39.meshtrade.compliance.client.v1.CompanyRepresentativeRoleR\x04role\x12\x1a\n\x08position\x18\x03 \x01(\tR\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\
|
|
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\"\xcf\x03\n\x15\x43ompanyRepresentative\x12T\n\x0enatural_person\x18\x01 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonR\rnaturalPerson\x12M\n\x04role\x18\x02 \x01(\x0e\x32\x39.meshtrade.compliance.client.v1.CompanyRepresentativeRoleR\x04role\x12\x1a\n\x08position\x18\x03 \x01(\tR\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\x61teOfAppointmentBb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
36
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.company_representative_pb2', _globals)
|
|
37
37
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
38
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
40
40
|
_globals['_COMPANYREPRESENTATIVE']._serialized_start=313
|
|
41
41
|
_globals['_COMPANYREPRESENTATIVE']._serialized_end=776
|
|
42
42
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@meshtrade/compliance/client/v1/company_representative_role.proto\x12\x1emeshtrade.compliance.client.v1*\xc4\x03\n\x19\x43ompanyRepresentativeRole\x12+\n\'COMPANY_REPRESENTATIVE_ROLE_UNSPECIFIED\x10\x00\x12\x39\n5COMPANY_REPRESENTATIVE_ROLE_ULTIMATE_BENEFICIAL_OWNER\x10\x01\x12+\n\'COMPANY_REPRESENTATIVE_ROLE_SHAREHOLDER\x10\x02\x12/\n+COMPANY_REPRESENTATIVE_ROLE_SOLE_PROPRIETOR\x10\x03\x12\'\n#COMPANY_REPRESENTATIVE_ROLE_PARTNER\x10\x04\x12(\n$COMPANY_REPRESENTATIVE_ROLE_DIRECTOR\x10\x05\x12\'\n#COMPANY_REPRESENTATIVE_ROLE_MANAGER\x10\x06\x12\x34\n0COMPANY_REPRESENTATIVE_ROLE_AUTHORIZED_SIGNATORY\x10\x07\x12/\n+COMPANY_REPRESENTATIVE_ROLE_PRIMARY_CONTACT\x10\x08\x42
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@meshtrade/compliance/client/v1/company_representative_role.proto\x12\x1emeshtrade.compliance.client.v1*\xc4\x03\n\x19\x43ompanyRepresentativeRole\x12+\n\'COMPANY_REPRESENTATIVE_ROLE_UNSPECIFIED\x10\x00\x12\x39\n5COMPANY_REPRESENTATIVE_ROLE_ULTIMATE_BENEFICIAL_OWNER\x10\x01\x12+\n\'COMPANY_REPRESENTATIVE_ROLE_SHAREHOLDER\x10\x02\x12/\n+COMPANY_REPRESENTATIVE_ROLE_SOLE_PROPRIETOR\x10\x03\x12\'\n#COMPANY_REPRESENTATIVE_ROLE_PARTNER\x10\x04\x12(\n$COMPANY_REPRESENTATIVE_ROLE_DIRECTOR\x10\x05\x12\'\n#COMPANY_REPRESENTATIVE_ROLE_MANAGER\x10\x06\x12\x34\n0COMPANY_REPRESENTATIVE_ROLE_AUTHORIZED_SIGNATORY\x10\x07\x12/\n+COMPANY_REPRESENTATIVE_ROLE_PRIMARY_CONTACT\x10\x08\x42\x62\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.company_representative_role_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
35
35
|
_globals['_COMPANYREPRESENTATIVEROLE']._serialized_start=101
|
|
36
36
|
_globals['_COMPANYREPRESENTATIVEROLE']._serialized_end=553
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,14 +25,14 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.type import date_pb2 as google_dot_type_dot_date__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)meshtrade/compliance/client/v1/fund.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\"\xf6\x01\n\x04\x46und\x12\'\n\x0fregistered_name\x18\x01 \x01(\tR\x0eregisteredName\x12/\n\x13registration_number\x18\x02 \x01(\tR\x12registrationNumber\x12%\n\x0etax_identifier\x18\x03 \x01(\tR\rtaxIdentifier\x12.\n\x13\x63ountry_of_domicile\x18\x04 \x01(\tR\x11\x63ountryOfDomicile\x12=\n\x11\x64\x61te_of_inception\x18\x05 \x01(\x0b\x32\x11.google.type.DateR\x0f\x64\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)meshtrade/compliance/client/v1/fund.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x16google/type/date.proto\"\xf6\x01\n\x04\x46und\x12\'\n\x0fregistered_name\x18\x01 \x01(\tR\x0eregisteredName\x12/\n\x13registration_number\x18\x02 \x01(\tR\x12registrationNumber\x12%\n\x0etax_identifier\x18\x03 \x01(\tR\rtaxIdentifier\x12.\n\x13\x63ountry_of_domicile\x18\x04 \x01(\tR\x11\x63ountryOfDomicile\x12=\n\x11\x64\x61te_of_inception\x18\x05 \x01(\x0b\x32\x11.google.type.DateR\x0f\x64\x61teOfInceptionBb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
32
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.fund_pb2', _globals)
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
36
36
|
_globals['_FUND']._serialized_start=102
|
|
37
37
|
_globals['_FUND']._serialized_end=348
|
|
38
38
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAmeshtrade/compliance/client/v1/identification_document_type.proto\x12\x1emeshtrade.compliance.client.v1*\x88\x02\n\x1aIdentificationDocumentType\x12,\n(IDENTIFICATION_DOCUMENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%IDENTIFICATION_DOCUMENT_TYPE_PASSPORT\x10\x01\x12,\n(IDENTIFICATION_DOCUMENT_TYPE_NATIONAL_ID\x10\x02\x12\x30\n,IDENTIFICATION_DOCUMENT_TYPE_DRIVERS_LICENSE\x10\x03\x12\x31\n-IDENTIFICATION_DOCUMENT_TYPE_RESIDENCE_PERMIT\x10\x04\x42
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAmeshtrade/compliance/client/v1/identification_document_type.proto\x12\x1emeshtrade.compliance.client.v1*\x88\x02\n\x1aIdentificationDocumentType\x12,\n(IDENTIFICATION_DOCUMENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%IDENTIFICATION_DOCUMENT_TYPE_PASSPORT\x10\x01\x12,\n(IDENTIFICATION_DOCUMENT_TYPE_NATIONAL_ID\x10\x02\x12\x30\n,IDENTIFICATION_DOCUMENT_TYPE_DRIVERS_LICENSE\x10\x03\x12\x31\n-IDENTIFICATION_DOCUMENT_TYPE_RESIDENCE_PERMIT\x10\x04\x42\x62\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.identification_document_type_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
35
35
|
_globals['_IDENTIFICATIONDOCUMENTTYPE']._serialized_start=102
|
|
36
36
|
_globals['_IDENTIFICATIONDOCUMENTTYPE']._serialized_end=366
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<meshtrade/compliance/client/v1/industry_classification.proto\x12\x1emeshtrade.compliance.client.v1\"\xdc\x02\n\x16IndustryClassification\x12\x1f\n\x0bsector_code\x18\x01 \x01(\tR\nsectorCode\x12\x1f\n\x0bsector_name\x18\x02 \x01(\tR\nsectorName\x12.\n\x13industry_group_code\x18\x03 \x01(\tR\x11industryGroupCode\x12.\n\x13industry_group_name\x18\x04 \x01(\tR\x11industryGroupName\x12#\n\rindustry_code\x18\x05 \x01(\tR\x0cindustryCode\x12#\n\rindustry_name\x18\x06 \x01(\tR\x0cindustryName\x12*\n\x11sub_industry_code\x18\x07 \x01(\tR\x0fsubIndustryCode\x12*\n\x11sub_industry_name\x18\x08 \x01(\tR\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<meshtrade/compliance/client/v1/industry_classification.proto\x12\x1emeshtrade.compliance.client.v1\"\xdc\x02\n\x16IndustryClassification\x12\x1f\n\x0bsector_code\x18\x01 \x01(\tR\nsectorCode\x12\x1f\n\x0bsector_name\x18\x02 \x01(\tR\nsectorName\x12.\n\x13industry_group_code\x18\x03 \x01(\tR\x11industryGroupCode\x12.\n\x13industry_group_name\x18\x04 \x01(\tR\x11industryGroupName\x12#\n\rindustry_code\x18\x05 \x01(\tR\x0cindustryCode\x12#\n\rindustry_name\x18\x06 \x01(\tR\x0cindustryName\x12*\n\x11sub_industry_code\x18\x07 \x01(\tR\x0fsubIndustryCode\x12*\n\x11sub_industry_name\x18\x08 \x01(\tR\x0fsubIndustryNameBb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.industry_classification_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
35
35
|
_globals['_INDUSTRYCLASSIFICATION']._serialized_start=97
|
|
36
36
|
_globals['_INDUSTRYCLASSIFICATION']._serialized_end=445
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCmeshtrade/compliance/client/v1/natural_person_connection_type.proto\x12\x1emeshtrade.compliance.client.v1*\xb4\x06\n\x1bNaturalPersonConnectionType\x12.\n*NATURAL_PERSON_CONNECTION_TYPE_UNSPECIFIED\x10\x00\x12<\n8NATURAL_PERSON_CONNECTION_TYPE_ULTIMATE_BENEFICIAL_OWNER\x10\x01\x12.\n*NATURAL_PERSON_CONNECTION_TYPE_SHAREHOLDER\x10\x02\x12+\n\'NATURAL_PERSON_CONNECTION_TYPE_DIRECTOR\x10\x03\x12\x34\n0NATURAL_PERSON_CONNECTION_TYPE_SENIOR_MANAGEMENT\x10\x04\x12\x37\n3NATURAL_PERSON_CONNECTION_TYPE_AUTHORIZED_SIGNATORY\x10\x05\x12*\n&NATURAL_PERSON_CONNECTION_TYPE_FOUNDER\x10\x06\x12)\n%NATURAL_PERSON_CONNECTION_TYPE_SPOUSE\x10\x14\x12\x33\n/NATURAL_PERSON_CONNECTION_TYPE_DOMESTIC_PARTNER\x10\x15\x12)\n%NATURAL_PERSON_CONNECTION_TYPE_PARENT\x10\x16\x12(\n$NATURAL_PERSON_CONNECTION_TYPE_CHILD\x10\x17\x12*\n&NATURAL_PERSON_CONNECTION_TYPE_SIBLING\x10\x18\x12\x33\n/NATURAL_PERSON_CONNECTION_TYPE_BUSINESS_PARTNER\x10\x1e\x12\x32\n.NATURAL_PERSON_CONNECTION_TYPE_CLOSE_ASSOCIATE\x10\x1f\x12,\n(NATURAL_PERSON_CONNECTION_TYPE_GUARANTOR\x10 \x12\x37\n3NATURAL_PERSON_CONNECTION_TYPE_BENEFICIARY_OF_TRUST\x10!
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCmeshtrade/compliance/client/v1/natural_person_connection_type.proto\x12\x1emeshtrade.compliance.client.v1*\xb4\x06\n\x1bNaturalPersonConnectionType\x12.\n*NATURAL_PERSON_CONNECTION_TYPE_UNSPECIFIED\x10\x00\x12<\n8NATURAL_PERSON_CONNECTION_TYPE_ULTIMATE_BENEFICIAL_OWNER\x10\x01\x12.\n*NATURAL_PERSON_CONNECTION_TYPE_SHAREHOLDER\x10\x02\x12+\n\'NATURAL_PERSON_CONNECTION_TYPE_DIRECTOR\x10\x03\x12\x34\n0NATURAL_PERSON_CONNECTION_TYPE_SENIOR_MANAGEMENT\x10\x04\x12\x37\n3NATURAL_PERSON_CONNECTION_TYPE_AUTHORIZED_SIGNATORY\x10\x05\x12*\n&NATURAL_PERSON_CONNECTION_TYPE_FOUNDER\x10\x06\x12)\n%NATURAL_PERSON_CONNECTION_TYPE_SPOUSE\x10\x14\x12\x33\n/NATURAL_PERSON_CONNECTION_TYPE_DOMESTIC_PARTNER\x10\x15\x12)\n%NATURAL_PERSON_CONNECTION_TYPE_PARENT\x10\x16\x12(\n$NATURAL_PERSON_CONNECTION_TYPE_CHILD\x10\x17\x12*\n&NATURAL_PERSON_CONNECTION_TYPE_SIBLING\x10\x18\x12\x33\n/NATURAL_PERSON_CONNECTION_TYPE_BUSINESS_PARTNER\x10\x1e\x12\x32\n.NATURAL_PERSON_CONNECTION_TYPE_CLOSE_ASSOCIATE\x10\x1f\x12,\n(NATURAL_PERSON_CONNECTION_TYPE_GUARANTOR\x10 \x12\x37\n3NATURAL_PERSON_CONNECTION_TYPE_BENEFICIARY_OF_TRUST\x10!Bb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.natural_person_connection_type_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
35
35
|
_globals['_NATURALPERSONCONNECTIONTYPE']._serialized_start=104
|
|
36
36
|
_globals['_NATURALPERSONCONNECTIONTYPE']._serialized_end=924
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -31,14 +31,14 @@ from meshtrade.type.v1 import address_pb2 as meshtrade_dot_type_dot_v1_dot_addre
|
|
|
31
31
|
from meshtrade.type.v1 import contact_details_pb2 as meshtrade_dot_type_dot_v1_dot_contact__details__pb2
|
|
32
32
|
|
|
33
33
|
|
|
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\"\xef\x07\n\rNaturalPerson\x12\x1b\n\tfull_name\x18\x01 \x01(\tR\x08\x66ullName\x12\x35\n\rdate_of_birth\x18\x02 \x01(\x0b\x32\x11.google.type.DateR\x0b\x64\x61teOfBirth\x12\x34\n\x16\x63ountry_of_citizenship\x18\x03 \x01(\tR\x14\x63ountryOfCitizenship\x12\x33\n\x15identification_number\x18\x04 \x01(\tR\x14identificationNumber\x12|\n\x1cidentification_document_type\x18\x05 \x01(\x0e\x32:.meshtrade.compliance.client.v1.IdentificationDocumentTypeR\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\x12H\n\npep_status\x18\t \x01(\x0e\x32).meshtrade.compliance.client.v1.PepStatusR\tpepStatus\x12J\n\x0f\x63ontact_details\x18\n \x01(\x0b\x32!.meshtrade.type.v1.ContactDetailsR\x0e\x63ontactDetails\x12\x63\n\x11sources_of_income\x18\x0b \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthR\x0fsourcesOfIncome\x12\x63\n\x11sources_of_wealth\x18\x0c \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthR\x0fsourcesOfWealth\x12U\n\x0ftax_residencies\x18\r \x03(\x0b\x32,.meshtrade.compliance.client.v1.TaxResidencyR\
|
|
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\"\xef\x07\n\rNaturalPerson\x12\x1b\n\tfull_name\x18\x01 \x01(\tR\x08\x66ullName\x12\x35\n\rdate_of_birth\x18\x02 \x01(\x0b\x32\x11.google.type.DateR\x0b\x64\x61teOfBirth\x12\x34\n\x16\x63ountry_of_citizenship\x18\x03 \x01(\tR\x14\x63ountryOfCitizenship\x12\x33\n\x15identification_number\x18\x04 \x01(\tR\x14identificationNumber\x12|\n\x1cidentification_document_type\x18\x05 \x01(\x0e\x32:.meshtrade.compliance.client.v1.IdentificationDocumentTypeR\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\x12H\n\npep_status\x18\t \x01(\x0e\x32).meshtrade.compliance.client.v1.PepStatusR\tpepStatus\x12J\n\x0f\x63ontact_details\x18\n \x01(\x0b\x32!.meshtrade.type.v1.ContactDetailsR\x0e\x63ontactDetails\x12\x63\n\x11sources_of_income\x18\x0b \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthR\x0fsourcesOfIncome\x12\x63\n\x11sources_of_wealth\x18\x0c \x03(\x0e\x32\x37.meshtrade.compliance.client.v1.SourceOfIncomeAndWealthR\x0fsourcesOfWealth\x12U\n\x0ftax_residencies\x18\r \x03(\x0b\x32,.meshtrade.compliance.client.v1.TaxResidencyR\x0etaxResidenciesBb\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
38
38
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.natural_person_pb2', _globals)
|
|
39
39
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
40
40
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
41
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
41
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
42
42
|
_globals['_NATURALPERSON']._serialized_start=420
|
|
43
43
|
_globals['_NATURALPERSON']._serialized_end=1427
|
|
44
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/meshtrade/compliance/client/v1/pep_status.proto\x12\x1emeshtrade.compliance.client.v1*v\n\tPepStatus\x12\x1a\n\x16PEP_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15PEP_STATUS_IS_NOT_PEP\x10\x01\x12\x15\n\x11PEP_STATUS_IS_PEP\x10\x02\x12\x1b\n\x17PEP_STATUS_IS_ASSOCIATE\x10\x03\x42
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/meshtrade/compliance/client/v1/pep_status.proto\x12\x1emeshtrade.compliance.client.v1*v\n\tPepStatus\x12\x1a\n\x16PEP_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15PEP_STATUS_IS_NOT_PEP\x10\x01\x12\x15\n\x11PEP_STATUS_IS_PEP\x10\x02\x12\x1b\n\x17PEP_STATUS_IS_ASSOCIATE\x10\x03\x42\x62\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.compliance.client.v1.pep_status_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%co.meshtrade.api.compliance.client.v1Z9github.com/meshtrade/api/go/compliance/client/v1;clientv1'
|
|
35
35
|
_globals['_PEPSTATUS']._serialized_start=83
|
|
36
36
|
_globals['_PEPSTATUS']._serialized_end=201
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|