meshtrade 1.5.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 +18 -4
- meshtrade/compliance/client/v1/client_pb2.pyi +8 -3
- meshtrade/compliance/client/v1/company_pb2.py +25 -8
- meshtrade/compliance/client/v1/company_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/company_representative_pb2.py +9 -4
- meshtrade/compliance/client/v1/company_representative_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/company_representative_role_pb2.py +2 -2
- meshtrade/compliance/client/v1/fund_pb2.py +13 -4
- meshtrade/compliance/client/v1/fund_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/identification_document_type_pb2.py +2 -2
- meshtrade/compliance/client/v1/industry_classification_pb2.py +2 -2
- meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +2 -2
- meshtrade/compliance/client/v1/natural_person_pb2.py +19 -4
- meshtrade/compliance/client/v1/natural_person_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/pep_status_pb2.py +2 -2
- meshtrade/compliance/client/v1/service_pb2.py +20 -15
- meshtrade/compliance/client/v1/service_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +2 -2
- meshtrade/compliance/client/v1/tax_residency_pb2.py +9 -4
- meshtrade/compliance/client/v1/tax_residency_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/trust_pb2.py +13 -4
- meshtrade/compliance/client/v1/trust_pb2.pyi +1 -0
- meshtrade/compliance/client/v1/verification_status_pb2.py +2 -2
- meshtrade/iam/api_user/v1/__init__.py +2 -0
- meshtrade/iam/api_user/v1/api_credentials_pb2.py +4 -4
- meshtrade/iam/api_user/v1/api_user_pb2.py +14 -10
- 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 +44 -30
- 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 +8 -8
- meshtrade/iam/group/v1/group_pb2.pyi +2 -6
- meshtrade/iam/group/v1/service_pb2.py +11 -11
- meshtrade/iam/role/v1/role_pb2.py +3 -3
- meshtrade/iam/role/v1/role_pb2.pyi +24 -4
- meshtrade/iam/user/v1/__init__.py +17 -1
- meshtrade/iam/user/v1/service_meshpy.py +87 -0
- meshtrade/iam/user/v1/service_pb2.py +49 -12
- meshtrade/iam/user/v1/service_pb2.pyi +65 -6
- meshtrade/iam/user/v1/service_pb2_grpc.py +278 -4
- meshtrade/iam/user/v1/user_pb2.py +13 -4
- meshtrade/iam/user/v1/user_pb2.pyi +7 -2
- meshtrade/ledger/transaction/v1/transaction_action_pb2.py +2 -2
- meshtrade/ledger/transaction/v1/transaction_state_pb2.py +2 -2
- meshtrade/option/v1/method_type_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/account_report_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/disclaimer_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/fee_entry_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/income_entry_pb2.py +2 -2
- meshtrade/reporting/account_report/v1/service_pb2.py +26 -12
- meshtrade/reporting/account_report/v1/service_pb2_grpc.py +29 -25
- meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +2 -2
- meshtrade/studio/instrument/v1/__init__.py +43 -0
- meshtrade/studio/instrument/v1/instrument_pb2.py +45 -0
- meshtrade/studio/instrument/v1/instrument_pb2.pyi +20 -0
- meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +4 -0
- meshtrade/studio/instrument/v1/type_pb2.py +37 -0
- meshtrade/studio/instrument/v1/type_pb2.pyi +58 -0
- meshtrade/studio/instrument/v1/type_pb2_grpc.py +4 -0
- meshtrade/studio/instrument/v1/unit_pb2.py +37 -0
- meshtrade/studio/instrument/v1/unit_pb2.pyi +46 -0
- meshtrade/studio/instrument/v1/unit_pb2_grpc.py +4 -0
- meshtrade/trading/limit_order/v1/limit_order_pb2.py +2 -2
- meshtrade/trading/limit_order/v1/service_pb2.py +2 -2
- meshtrade/trading/market_order/v1/market_order_pb2.py +2 -2
- meshtrade/trading/market_order/v1/service_pb2.py +2 -2
- meshtrade/type/v1/address_pb2.py +2 -2
- meshtrade/type/v1/amount_pb2.py +2 -2
- meshtrade/type/v1/contact_details_pb2.py +2 -2
- meshtrade/type/v1/date_pb2.py +2 -2
- meshtrade/type/v1/decimal_pb2.py +2 -2
- meshtrade/type/v1/ledger_pb2.py +2 -2
- meshtrade/type/v1/sorting_pb2.py +2 -2
- meshtrade/type/v1/time_of_day_pb2.py +2 -2
- meshtrade/type/v1/token_pb2.py +2 -2
- meshtrade/wallet/account/v1/__init__.py +21 -1
- meshtrade/wallet/account/v1/account_pb2.py +28 -4
- meshtrade/wallet/account/v1/account_pb2.pyi +57 -3
- meshtrade/wallet/account/v1/service_meshpy.py +70 -0
- meshtrade/wallet/account/v1/service_pb2.py +64 -21
- meshtrade/wallet/account/v1/service_pb2.pyi +82 -19
- meshtrade/wallet/account/v1/service_pb2_grpc.py +244 -8
- {meshtrade-1.5.0.dist-info → meshtrade-1.9.0.dist-info}/METADATA +1 -1
- {meshtrade-1.5.0.dist-info → meshtrade-1.9.0.dist-info}/RECORD +87 -77
- {meshtrade-1.5.0.dist-info → meshtrade-1.9.0.dist-info}/WHEEL +0 -0
- {meshtrade-1.5.0.dist-info → meshtrade-1.9.0.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,17 @@ from meshtrade.wallet.account.v1 import service_pb2 as meshtrade_dot_wallet_dot_
|
|
|
8
8
|
|
|
9
9
|
class AccountServiceStub(object):
|
|
10
10
|
"""
|
|
11
|
-
AccountService
|
|
11
|
+
AccountService manages blockchain wallet accounts and their lifecycle operations (BETA).
|
|
12
|
+
|
|
13
|
+
This service provides comprehensive account management capabilities across multiple
|
|
14
|
+
blockchain networks (Stellar, Solana, Bitcoin, Ethereum). Accounts serve as the
|
|
15
|
+
primary containers for holding and managing digital assets on the Mesh platform.
|
|
16
|
+
|
|
17
|
+
Key capabilities include account creation, opening on-chain, balance queries,
|
|
18
|
+
and account lifecycle management. All operations are scoped to the authenticated
|
|
19
|
+
group's hierarchy and require appropriate wallet domain permissions.
|
|
20
|
+
|
|
21
|
+
Note: This service is currently in BETA. Interface and functionality may change.
|
|
12
22
|
"""
|
|
13
23
|
|
|
14
24
|
def __init__(self, channel):
|
|
@@ -22,11 +32,31 @@ class AccountServiceStub(object):
|
|
|
22
32
|
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CreateAccountRequest.SerializeToString,
|
|
23
33
|
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
24
34
|
_registered_method=True)
|
|
35
|
+
self.UpdateAccount = channel.unary_unary(
|
|
36
|
+
'/meshtrade.wallet.account.v1.AccountService/UpdateAccount',
|
|
37
|
+
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.UpdateAccountRequest.SerializeToString,
|
|
38
|
+
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
39
|
+
_registered_method=True)
|
|
40
|
+
self.OpenAccount = channel.unary_unary(
|
|
41
|
+
'/meshtrade.wallet.account.v1.AccountService/OpenAccount',
|
|
42
|
+
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountRequest.SerializeToString,
|
|
43
|
+
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountResponse.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.CloseAccount = channel.unary_unary(
|
|
46
|
+
'/meshtrade.wallet.account.v1.AccountService/CloseAccount',
|
|
47
|
+
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountRequest.SerializeToString,
|
|
48
|
+
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
25
50
|
self.GetAccount = channel.unary_unary(
|
|
26
51
|
'/meshtrade.wallet.account.v1.AccountService/GetAccount',
|
|
27
52
|
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.GetAccountRequest.SerializeToString,
|
|
28
53
|
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
29
54
|
_registered_method=True)
|
|
55
|
+
self.GetAccountByNumber = channel.unary_unary(
|
|
56
|
+
'/meshtrade.wallet.account.v1.AccountService/GetAccountByNumber',
|
|
57
|
+
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.GetAccountByNumberRequest.SerializeToString,
|
|
58
|
+
response_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
59
|
+
_registered_method=True)
|
|
30
60
|
self.ListAccounts = channel.unary_unary(
|
|
31
61
|
'/meshtrade.wallet.account.v1.AccountService/ListAccounts',
|
|
32
62
|
request_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.ListAccountsRequest.SerializeToString,
|
|
@@ -41,13 +71,61 @@ class AccountServiceStub(object):
|
|
|
41
71
|
|
|
42
72
|
class AccountServiceServicer(object):
|
|
43
73
|
"""
|
|
44
|
-
AccountService
|
|
74
|
+
AccountService manages blockchain wallet accounts and their lifecycle operations (BETA).
|
|
75
|
+
|
|
76
|
+
This service provides comprehensive account management capabilities across multiple
|
|
77
|
+
blockchain networks (Stellar, Solana, Bitcoin, Ethereum). Accounts serve as the
|
|
78
|
+
primary containers for holding and managing digital assets on the Mesh platform.
|
|
79
|
+
|
|
80
|
+
Key capabilities include account creation, opening on-chain, balance queries,
|
|
81
|
+
and account lifecycle management. All operations are scoped to the authenticated
|
|
82
|
+
group's hierarchy and require appropriate wallet domain permissions.
|
|
83
|
+
|
|
84
|
+
Note: This service is currently in BETA. Interface and functionality may change.
|
|
45
85
|
"""
|
|
46
86
|
|
|
47
87
|
def CreateAccount(self, request, context):
|
|
48
88
|
"""
|
|
49
|
-
Creates a new
|
|
50
|
-
|
|
89
|
+
Creates a new account record in the system (off-chain).
|
|
90
|
+
|
|
91
|
+
The account is created in a pending state and must be explicitly opened
|
|
92
|
+
on the blockchain using OpenAccount before it can receive funds or execute
|
|
93
|
+
transactions. Account ownership must match the executing context.
|
|
94
|
+
"""
|
|
95
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
+
context.set_details('Method not implemented!')
|
|
97
|
+
raise NotImplementedError('Method not implemented!')
|
|
98
|
+
|
|
99
|
+
def UpdateAccount(self, request, context):
|
|
100
|
+
"""
|
|
101
|
+
Updates an existing account's mutable metadata.
|
|
102
|
+
|
|
103
|
+
Only the display_name field can be modified. All other fields including
|
|
104
|
+
ownership, ledger, and account number are immutable after creation.
|
|
105
|
+
"""
|
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
|
+
context.set_details('Method not implemented!')
|
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
|
109
|
+
|
|
110
|
+
def OpenAccount(self, request, context):
|
|
111
|
+
"""
|
|
112
|
+
Opens an account on the blockchain ledger.
|
|
113
|
+
|
|
114
|
+
Initializes the account on-chain, making it ready to receive deposits
|
|
115
|
+
and execute transactions. Returns the opened account and a transaction
|
|
116
|
+
reference for monitoring the blockchain operation.
|
|
117
|
+
"""
|
|
118
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
119
|
+
context.set_details('Method not implemented!')
|
|
120
|
+
raise NotImplementedError('Method not implemented!')
|
|
121
|
+
|
|
122
|
+
def CloseAccount(self, request, context):
|
|
123
|
+
"""
|
|
124
|
+
Closes an account on the blockchain ledger.
|
|
125
|
+
|
|
126
|
+
Deactivates the account on-chain, preventing further transactions.
|
|
127
|
+
The account record remains queryable for historical purposes.
|
|
128
|
+
Returns the closed account and a transaction reference.
|
|
51
129
|
"""
|
|
52
130
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
131
|
context.set_details('Method not implemented!')
|
|
@@ -55,7 +133,21 @@ class AccountServiceServicer(object):
|
|
|
55
133
|
|
|
56
134
|
def GetAccount(self, request, context):
|
|
57
135
|
"""
|
|
58
|
-
Retrieves a
|
|
136
|
+
Retrieves a specific account by its resource identifier.
|
|
137
|
+
|
|
138
|
+
Provides access to account metadata and optionally fetches live
|
|
139
|
+
balance data from the blockchain when populate_ledger_data is true.
|
|
140
|
+
"""
|
|
141
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
|
+
context.set_details('Method not implemented!')
|
|
143
|
+
raise NotImplementedError('Method not implemented!')
|
|
144
|
+
|
|
145
|
+
def GetAccountByNumber(self, request, context):
|
|
146
|
+
"""
|
|
147
|
+
Retrieves an account using its Account Number.
|
|
148
|
+
|
|
149
|
+
Provides a convenient lookup method using the 7-digit account number.
|
|
150
|
+
Optionally fetches live balance data when populate_ledger_data is true.
|
|
59
151
|
"""
|
|
60
152
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
61
153
|
context.set_details('Method not implemented!')
|
|
@@ -63,7 +155,10 @@ class AccountServiceServicer(object):
|
|
|
63
155
|
|
|
64
156
|
def ListAccounts(self, request, context):
|
|
65
157
|
"""
|
|
66
|
-
|
|
158
|
+
Lists all accounts within the authenticated group's hierarchical scope.
|
|
159
|
+
|
|
160
|
+
Returns the complete set of accounts accessible to the executing context,
|
|
161
|
+
including accounts owned by the group and all descendant groups.
|
|
67
162
|
"""
|
|
68
163
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
164
|
context.set_details('Method not implemented!')
|
|
@@ -71,7 +166,10 @@ class AccountServiceServicer(object):
|
|
|
71
166
|
|
|
72
167
|
def SearchAccounts(self, request, context):
|
|
73
168
|
"""
|
|
74
|
-
Searches
|
|
169
|
+
Searches accounts using flexible text criteria within the hierarchy.
|
|
170
|
+
|
|
171
|
+
Performs case-insensitive substring matching on display names,
|
|
172
|
+
returning accounts that match the search criteria.
|
|
75
173
|
"""
|
|
76
174
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
175
|
context.set_details('Method not implemented!')
|
|
@@ -85,11 +183,31 @@ def add_AccountServiceServicer_to_server(servicer, server):
|
|
|
85
183
|
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CreateAccountRequest.FromString,
|
|
86
184
|
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.SerializeToString,
|
|
87
185
|
),
|
|
186
|
+
'UpdateAccount': grpc.unary_unary_rpc_method_handler(
|
|
187
|
+
servicer.UpdateAccount,
|
|
188
|
+
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.UpdateAccountRequest.FromString,
|
|
189
|
+
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.SerializeToString,
|
|
190
|
+
),
|
|
191
|
+
'OpenAccount': grpc.unary_unary_rpc_method_handler(
|
|
192
|
+
servicer.OpenAccount,
|
|
193
|
+
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountRequest.FromString,
|
|
194
|
+
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountResponse.SerializeToString,
|
|
195
|
+
),
|
|
196
|
+
'CloseAccount': grpc.unary_unary_rpc_method_handler(
|
|
197
|
+
servicer.CloseAccount,
|
|
198
|
+
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountRequest.FromString,
|
|
199
|
+
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountResponse.SerializeToString,
|
|
200
|
+
),
|
|
88
201
|
'GetAccount': grpc.unary_unary_rpc_method_handler(
|
|
89
202
|
servicer.GetAccount,
|
|
90
203
|
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.GetAccountRequest.FromString,
|
|
91
204
|
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.SerializeToString,
|
|
92
205
|
),
|
|
206
|
+
'GetAccountByNumber': grpc.unary_unary_rpc_method_handler(
|
|
207
|
+
servicer.GetAccountByNumber,
|
|
208
|
+
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.GetAccountByNumberRequest.FromString,
|
|
209
|
+
response_serializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.SerializeToString,
|
|
210
|
+
),
|
|
93
211
|
'ListAccounts': grpc.unary_unary_rpc_method_handler(
|
|
94
212
|
servicer.ListAccounts,
|
|
95
213
|
request_deserializer=meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.ListAccountsRequest.FromString,
|
|
@@ -110,7 +228,17 @@ def add_AccountServiceServicer_to_server(servicer, server):
|
|
|
110
228
|
# This class is part of an EXPERIMENTAL API.
|
|
111
229
|
class AccountService(object):
|
|
112
230
|
"""
|
|
113
|
-
AccountService
|
|
231
|
+
AccountService manages blockchain wallet accounts and their lifecycle operations (BETA).
|
|
232
|
+
|
|
233
|
+
This service provides comprehensive account management capabilities across multiple
|
|
234
|
+
blockchain networks (Stellar, Solana, Bitcoin, Ethereum). Accounts serve as the
|
|
235
|
+
primary containers for holding and managing digital assets on the Mesh platform.
|
|
236
|
+
|
|
237
|
+
Key capabilities include account creation, opening on-chain, balance queries,
|
|
238
|
+
and account lifecycle management. All operations are scoped to the authenticated
|
|
239
|
+
group's hierarchy and require appropriate wallet domain permissions.
|
|
240
|
+
|
|
241
|
+
Note: This service is currently in BETA. Interface and functionality may change.
|
|
114
242
|
"""
|
|
115
243
|
|
|
116
244
|
@staticmethod
|
|
@@ -140,6 +268,87 @@ class AccountService(object):
|
|
|
140
268
|
metadata,
|
|
141
269
|
_registered_method=True)
|
|
142
270
|
|
|
271
|
+
@staticmethod
|
|
272
|
+
def UpdateAccount(request,
|
|
273
|
+
target,
|
|
274
|
+
options=(),
|
|
275
|
+
channel_credentials=None,
|
|
276
|
+
call_credentials=None,
|
|
277
|
+
insecure=False,
|
|
278
|
+
compression=None,
|
|
279
|
+
wait_for_ready=None,
|
|
280
|
+
timeout=None,
|
|
281
|
+
metadata=None):
|
|
282
|
+
return grpc.experimental.unary_unary(
|
|
283
|
+
request,
|
|
284
|
+
target,
|
|
285
|
+
'/meshtrade.wallet.account.v1.AccountService/UpdateAccount',
|
|
286
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.UpdateAccountRequest.SerializeToString,
|
|
287
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
288
|
+
options,
|
|
289
|
+
channel_credentials,
|
|
290
|
+
insecure,
|
|
291
|
+
call_credentials,
|
|
292
|
+
compression,
|
|
293
|
+
wait_for_ready,
|
|
294
|
+
timeout,
|
|
295
|
+
metadata,
|
|
296
|
+
_registered_method=True)
|
|
297
|
+
|
|
298
|
+
@staticmethod
|
|
299
|
+
def OpenAccount(request,
|
|
300
|
+
target,
|
|
301
|
+
options=(),
|
|
302
|
+
channel_credentials=None,
|
|
303
|
+
call_credentials=None,
|
|
304
|
+
insecure=False,
|
|
305
|
+
compression=None,
|
|
306
|
+
wait_for_ready=None,
|
|
307
|
+
timeout=None,
|
|
308
|
+
metadata=None):
|
|
309
|
+
return grpc.experimental.unary_unary(
|
|
310
|
+
request,
|
|
311
|
+
target,
|
|
312
|
+
'/meshtrade.wallet.account.v1.AccountService/OpenAccount',
|
|
313
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountRequest.SerializeToString,
|
|
314
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.OpenAccountResponse.FromString,
|
|
315
|
+
options,
|
|
316
|
+
channel_credentials,
|
|
317
|
+
insecure,
|
|
318
|
+
call_credentials,
|
|
319
|
+
compression,
|
|
320
|
+
wait_for_ready,
|
|
321
|
+
timeout,
|
|
322
|
+
metadata,
|
|
323
|
+
_registered_method=True)
|
|
324
|
+
|
|
325
|
+
@staticmethod
|
|
326
|
+
def CloseAccount(request,
|
|
327
|
+
target,
|
|
328
|
+
options=(),
|
|
329
|
+
channel_credentials=None,
|
|
330
|
+
call_credentials=None,
|
|
331
|
+
insecure=False,
|
|
332
|
+
compression=None,
|
|
333
|
+
wait_for_ready=None,
|
|
334
|
+
timeout=None,
|
|
335
|
+
metadata=None):
|
|
336
|
+
return grpc.experimental.unary_unary(
|
|
337
|
+
request,
|
|
338
|
+
target,
|
|
339
|
+
'/meshtrade.wallet.account.v1.AccountService/CloseAccount',
|
|
340
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountRequest.SerializeToString,
|
|
341
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.CloseAccountResponse.FromString,
|
|
342
|
+
options,
|
|
343
|
+
channel_credentials,
|
|
344
|
+
insecure,
|
|
345
|
+
call_credentials,
|
|
346
|
+
compression,
|
|
347
|
+
wait_for_ready,
|
|
348
|
+
timeout,
|
|
349
|
+
metadata,
|
|
350
|
+
_registered_method=True)
|
|
351
|
+
|
|
143
352
|
@staticmethod
|
|
144
353
|
def GetAccount(request,
|
|
145
354
|
target,
|
|
@@ -167,6 +376,33 @@ class AccountService(object):
|
|
|
167
376
|
metadata,
|
|
168
377
|
_registered_method=True)
|
|
169
378
|
|
|
379
|
+
@staticmethod
|
|
380
|
+
def GetAccountByNumber(request,
|
|
381
|
+
target,
|
|
382
|
+
options=(),
|
|
383
|
+
channel_credentials=None,
|
|
384
|
+
call_credentials=None,
|
|
385
|
+
insecure=False,
|
|
386
|
+
compression=None,
|
|
387
|
+
wait_for_ready=None,
|
|
388
|
+
timeout=None,
|
|
389
|
+
metadata=None):
|
|
390
|
+
return grpc.experimental.unary_unary(
|
|
391
|
+
request,
|
|
392
|
+
target,
|
|
393
|
+
'/meshtrade.wallet.account.v1.AccountService/GetAccountByNumber',
|
|
394
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_service__pb2.GetAccountByNumberRequest.SerializeToString,
|
|
395
|
+
meshtrade_dot_wallet_dot_account_dot_v1_dot_account__pb2.Account.FromString,
|
|
396
|
+
options,
|
|
397
|
+
channel_credentials,
|
|
398
|
+
insecure,
|
|
399
|
+
call_credentials,
|
|
400
|
+
compression,
|
|
401
|
+
wait_for_ready,
|
|
402
|
+
timeout,
|
|
403
|
+
metadata,
|
|
404
|
+
_registered_method=True)
|
|
405
|
+
|
|
170
406
|
@staticmethod
|
|
171
407
|
def ListAccounts(request,
|
|
172
408
|
target,
|