meshtrade 1.5.0__py3-none-any.whl → 1.7.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.

Files changed (73) hide show
  1. meshtrade/compliance/client/v1/client_pb2.py +2 -2
  2. meshtrade/compliance/client/v1/company_pb2.py +2 -2
  3. meshtrade/compliance/client/v1/company_representative_pb2.py +2 -2
  4. meshtrade/compliance/client/v1/company_representative_role_pb2.py +2 -2
  5. meshtrade/compliance/client/v1/fund_pb2.py +2 -2
  6. meshtrade/compliance/client/v1/identification_document_type_pb2.py +2 -2
  7. meshtrade/compliance/client/v1/industry_classification_pb2.py +2 -2
  8. meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +2 -2
  9. meshtrade/compliance/client/v1/natural_person_pb2.py +2 -2
  10. meshtrade/compliance/client/v1/pep_status_pb2.py +2 -2
  11. meshtrade/compliance/client/v1/service_pb2.py +2 -2
  12. meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +2 -2
  13. meshtrade/compliance/client/v1/tax_residency_pb2.py +2 -2
  14. meshtrade/compliance/client/v1/trust_pb2.py +2 -2
  15. meshtrade/compliance/client/v1/verification_status_pb2.py +2 -2
  16. meshtrade/iam/api_user/v1/api_credentials_pb2.py +4 -4
  17. meshtrade/iam/api_user/v1/api_user_pb2.py +16 -10
  18. meshtrade/iam/api_user/v1/service_pb2.py +36 -30
  19. meshtrade/iam/group/v1/group_pb2.py +9 -7
  20. meshtrade/iam/group/v1/service_pb2.py +11 -11
  21. meshtrade/iam/role/v1/role_pb2.py +3 -3
  22. meshtrade/iam/role/v1/role_pb2.pyi +8 -0
  23. meshtrade/iam/user/v1/__init__.py +17 -1
  24. meshtrade/iam/user/v1/service_meshpy.py +87 -0
  25. meshtrade/iam/user/v1/service_pb2.py +48 -11
  26. meshtrade/iam/user/v1/service_pb2.pyi +65 -6
  27. meshtrade/iam/user/v1/service_pb2_grpc.py +278 -4
  28. meshtrade/iam/user/v1/user_pb2.py +15 -4
  29. meshtrade/iam/user/v1/user_pb2.pyi +9 -2
  30. meshtrade/ledger/transaction/v1/transaction_action_pb2.py +2 -2
  31. meshtrade/ledger/transaction/v1/transaction_state_pb2.py +2 -2
  32. meshtrade/option/v1/method_type_pb2.py +2 -2
  33. meshtrade/reporting/account_report/v1/account_report_pb2.py +2 -2
  34. meshtrade/reporting/account_report/v1/disclaimer_pb2.py +2 -2
  35. meshtrade/reporting/account_report/v1/fee_entry_pb2.py +2 -2
  36. meshtrade/reporting/account_report/v1/income_entry_pb2.py +2 -2
  37. meshtrade/reporting/account_report/v1/service_pb2.py +26 -12
  38. meshtrade/reporting/account_report/v1/service_pb2_grpc.py +29 -25
  39. meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +2 -2
  40. meshtrade/studio/instrument/v1/__init__.py +43 -0
  41. meshtrade/studio/instrument/v1/instrument_pb2.py +47 -0
  42. meshtrade/studio/instrument/v1/instrument_pb2.pyi +23 -0
  43. meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +4 -0
  44. meshtrade/studio/instrument/v1/type_pb2.py +37 -0
  45. meshtrade/studio/instrument/v1/type_pb2.pyi +58 -0
  46. meshtrade/studio/instrument/v1/type_pb2_grpc.py +4 -0
  47. meshtrade/studio/instrument/v1/unit_pb2.py +37 -0
  48. meshtrade/studio/instrument/v1/unit_pb2.pyi +46 -0
  49. meshtrade/studio/instrument/v1/unit_pb2_grpc.py +4 -0
  50. meshtrade/trading/limit_order/v1/limit_order_pb2.py +2 -2
  51. meshtrade/trading/limit_order/v1/service_pb2.py +2 -2
  52. meshtrade/trading/market_order/v1/market_order_pb2.py +2 -2
  53. meshtrade/trading/market_order/v1/service_pb2.py +2 -2
  54. meshtrade/type/v1/address_pb2.py +2 -2
  55. meshtrade/type/v1/amount_pb2.py +2 -2
  56. meshtrade/type/v1/contact_details_pb2.py +2 -2
  57. meshtrade/type/v1/date_pb2.py +2 -2
  58. meshtrade/type/v1/decimal_pb2.py +2 -2
  59. meshtrade/type/v1/ledger_pb2.py +2 -2
  60. meshtrade/type/v1/sorting_pb2.py +2 -2
  61. meshtrade/type/v1/time_of_day_pb2.py +2 -2
  62. meshtrade/type/v1/token_pb2.py +2 -2
  63. meshtrade/wallet/account/v1/__init__.py +21 -1
  64. meshtrade/wallet/account/v1/account_pb2.py +30 -4
  65. meshtrade/wallet/account/v1/account_pb2.pyi +59 -3
  66. meshtrade/wallet/account/v1/service_meshpy.py +70 -0
  67. meshtrade/wallet/account/v1/service_pb2.py +64 -21
  68. meshtrade/wallet/account/v1/service_pb2.pyi +82 -19
  69. meshtrade/wallet/account/v1/service_pb2_grpc.py +244 -8
  70. {meshtrade-1.5.0.dist-info → meshtrade-1.7.0.dist-info}/METADATA +1 -1
  71. {meshtrade-1.5.0.dist-info → meshtrade-1.7.0.dist-info}/RECORD +73 -63
  72. {meshtrade-1.5.0.dist-info → meshtrade-1.7.0.dist-info}/WHEEL +0 -0
  73. {meshtrade-1.5.0.dist-info → meshtrade-1.7.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,16 @@ from meshtrade.iam.user.v1 import user_pb2 as meshtrade_dot_iam_dot_user_dot_v1_
7
7
 
8
8
 
9
9
  class UserServiceStub(object):
10
- """Service defines the RPC methods for interacting with the user resource,
10
+ """
11
+ UserService manages user lifecycle and identity operations within groups.
12
+
13
+ Users are individual identity entities that belong to specific groups and have
14
+ assigned roles that determine their permissions within that group context.
15
+ Each user has a unique email address and can be assigned multiple roles
16
+ across the group hierarchy for fine-grained access control.
17
+
18
+ All operations require appropriate IAM domain permissions and operate within
19
+ the authenticated group context.
11
20
  """
12
21
 
13
22
  def __init__(self, channel):
@@ -21,14 +30,110 @@ class UserServiceStub(object):
21
30
  request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.AssignRoleToUserRequest.SerializeToString,
22
31
  response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
23
32
  _registered_method=True)
33
+ self.GetUser = channel.unary_unary(
34
+ '/meshtrade.iam.user.v1.UserService/GetUser',
35
+ request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.GetUserRequest.SerializeToString,
36
+ response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
37
+ _registered_method=True)
38
+ self.ListUsers = channel.unary_unary(
39
+ '/meshtrade.iam.user.v1.UserService/ListUsers',
40
+ request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersRequest.SerializeToString,
41
+ response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersResponse.FromString,
42
+ _registered_method=True)
43
+ self.SearchUsers = channel.unary_unary(
44
+ '/meshtrade.iam.user.v1.UserService/SearchUsers',
45
+ request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersRequest.SerializeToString,
46
+ response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersResponse.FromString,
47
+ _registered_method=True)
48
+ self.CreateUser = channel.unary_unary(
49
+ '/meshtrade.iam.user.v1.UserService/CreateUser',
50
+ request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.CreateUserRequest.SerializeToString,
51
+ response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
52
+ _registered_method=True)
53
+ self.UpdateUser = channel.unary_unary(
54
+ '/meshtrade.iam.user.v1.UserService/UpdateUser',
55
+ request_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.UpdateUserRequest.SerializeToString,
56
+ response_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
57
+ _registered_method=True)
24
58
 
25
59
 
26
60
  class UserServiceServicer(object):
27
- """Service defines the RPC methods for interacting with the user resource,
61
+ """
62
+ UserService manages user lifecycle and identity operations within groups.
63
+
64
+ Users are individual identity entities that belong to specific groups and have
65
+ assigned roles that determine their permissions within that group context.
66
+ Each user has a unique email address and can be assigned multiple roles
67
+ across the group hierarchy for fine-grained access control.
68
+
69
+ All operations require appropriate IAM domain permissions and operate within
70
+ the authenticated group context.
28
71
  """
29
72
 
30
73
  def AssignRoleToUser(self, request, context):
31
- """Assign Role To User
74
+ """
75
+ Assigns a role to an existing user within the authenticated group context.
76
+
77
+ The role assignment enables the user to perform operations according
78
+ to the permissions associated with that role within the group hierarchy.
79
+ """
80
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
81
+ context.set_details('Method not implemented!')
82
+ raise NotImplementedError('Method not implemented!')
83
+
84
+ def GetUser(self, request, context):
85
+ """
86
+ Retrieves a single user by its unique identifier.
87
+
88
+ Returns user details including name, email, ownership information,
89
+ and assigned roles within the authenticated group's access scope.
90
+ """
91
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
92
+ context.set_details('Method not implemented!')
93
+ raise NotImplementedError('Method not implemented!')
94
+
95
+ def ListUsers(self, request, context):
96
+ """
97
+ Returns all users accessible within the authenticated group's hierarchy.
98
+
99
+ Results include users directly owned and those accessible through the
100
+ group's hierarchical permissions, optionally sorted by email address.
101
+ """
102
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
103
+ context.set_details('Method not implemented!')
104
+ raise NotImplementedError('Method not implemented!')
105
+
106
+ def SearchUsers(self, request, context):
107
+ """
108
+ Searches for users by email address using substring matching.
109
+
110
+ Returns users whose email addresses contain the provided search term,
111
+ filtered by the authenticated group's access permissions and optionally
112
+ sorted by email address.
113
+ """
114
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
115
+ context.set_details('Method not implemented!')
116
+ raise NotImplementedError('Method not implemented!')
117
+
118
+ def CreateUser(self, request, context):
119
+ """
120
+ Creates a new user within the authenticated group context.
121
+
122
+ The user will be created with the provided email and group ownership,
123
+ with system-generated unique identifier and ownership hierarchy.
124
+ Additional roles can be assigned after creation.
125
+ """
126
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
127
+ context.set_details('Method not implemented!')
128
+ raise NotImplementedError('Method not implemented!')
129
+
130
+ def UpdateUser(self, request, context):
131
+ """
132
+ Updates an existing user with modified field values.
133
+
134
+ Only mutable fields can be updated while preserving system-generated
135
+ identifiers and ownership relationships. Role modifications should
136
+ use dedicated role management operations.
32
137
  """
33
138
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
34
139
  context.set_details('Method not implemented!')
@@ -42,6 +147,31 @@ def add_UserServiceServicer_to_server(servicer, server):
42
147
  request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.AssignRoleToUserRequest.FromString,
43
148
  response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.SerializeToString,
44
149
  ),
150
+ 'GetUser': grpc.unary_unary_rpc_method_handler(
151
+ servicer.GetUser,
152
+ request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.GetUserRequest.FromString,
153
+ response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.SerializeToString,
154
+ ),
155
+ 'ListUsers': grpc.unary_unary_rpc_method_handler(
156
+ servicer.ListUsers,
157
+ request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersRequest.FromString,
158
+ response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersResponse.SerializeToString,
159
+ ),
160
+ 'SearchUsers': grpc.unary_unary_rpc_method_handler(
161
+ servicer.SearchUsers,
162
+ request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersRequest.FromString,
163
+ response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersResponse.SerializeToString,
164
+ ),
165
+ 'CreateUser': grpc.unary_unary_rpc_method_handler(
166
+ servicer.CreateUser,
167
+ request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.CreateUserRequest.FromString,
168
+ response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.SerializeToString,
169
+ ),
170
+ 'UpdateUser': grpc.unary_unary_rpc_method_handler(
171
+ servicer.UpdateUser,
172
+ request_deserializer=meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.UpdateUserRequest.FromString,
173
+ response_serializer=meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.SerializeToString,
174
+ ),
45
175
  }
46
176
  generic_handler = grpc.method_handlers_generic_handler(
47
177
  'meshtrade.iam.user.v1.UserService', rpc_method_handlers)
@@ -51,7 +181,16 @@ def add_UserServiceServicer_to_server(servicer, server):
51
181
 
52
182
  # This class is part of an EXPERIMENTAL API.
53
183
  class UserService(object):
54
- """Service defines the RPC methods for interacting with the user resource,
184
+ """
185
+ UserService manages user lifecycle and identity operations within groups.
186
+
187
+ Users are individual identity entities that belong to specific groups and have
188
+ assigned roles that determine their permissions within that group context.
189
+ Each user has a unique email address and can be assigned multiple roles
190
+ across the group hierarchy for fine-grained access control.
191
+
192
+ All operations require appropriate IAM domain permissions and operate within
193
+ the authenticated group context.
55
194
  """
56
195
 
57
196
  @staticmethod
@@ -80,3 +219,138 @@ class UserService(object):
80
219
  timeout,
81
220
  metadata,
82
221
  _registered_method=True)
222
+
223
+ @staticmethod
224
+ def GetUser(request,
225
+ target,
226
+ options=(),
227
+ channel_credentials=None,
228
+ call_credentials=None,
229
+ insecure=False,
230
+ compression=None,
231
+ wait_for_ready=None,
232
+ timeout=None,
233
+ metadata=None):
234
+ return grpc.experimental.unary_unary(
235
+ request,
236
+ target,
237
+ '/meshtrade.iam.user.v1.UserService/GetUser',
238
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.GetUserRequest.SerializeToString,
239
+ meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
240
+ options,
241
+ channel_credentials,
242
+ insecure,
243
+ call_credentials,
244
+ compression,
245
+ wait_for_ready,
246
+ timeout,
247
+ metadata,
248
+ _registered_method=True)
249
+
250
+ @staticmethod
251
+ def ListUsers(request,
252
+ target,
253
+ options=(),
254
+ channel_credentials=None,
255
+ call_credentials=None,
256
+ insecure=False,
257
+ compression=None,
258
+ wait_for_ready=None,
259
+ timeout=None,
260
+ metadata=None):
261
+ return grpc.experimental.unary_unary(
262
+ request,
263
+ target,
264
+ '/meshtrade.iam.user.v1.UserService/ListUsers',
265
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersRequest.SerializeToString,
266
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.ListUsersResponse.FromString,
267
+ options,
268
+ channel_credentials,
269
+ insecure,
270
+ call_credentials,
271
+ compression,
272
+ wait_for_ready,
273
+ timeout,
274
+ metadata,
275
+ _registered_method=True)
276
+
277
+ @staticmethod
278
+ def SearchUsers(request,
279
+ target,
280
+ options=(),
281
+ channel_credentials=None,
282
+ call_credentials=None,
283
+ insecure=False,
284
+ compression=None,
285
+ wait_for_ready=None,
286
+ timeout=None,
287
+ metadata=None):
288
+ return grpc.experimental.unary_unary(
289
+ request,
290
+ target,
291
+ '/meshtrade.iam.user.v1.UserService/SearchUsers',
292
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersRequest.SerializeToString,
293
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.SearchUsersResponse.FromString,
294
+ options,
295
+ channel_credentials,
296
+ insecure,
297
+ call_credentials,
298
+ compression,
299
+ wait_for_ready,
300
+ timeout,
301
+ metadata,
302
+ _registered_method=True)
303
+
304
+ @staticmethod
305
+ def CreateUser(request,
306
+ target,
307
+ options=(),
308
+ channel_credentials=None,
309
+ call_credentials=None,
310
+ insecure=False,
311
+ compression=None,
312
+ wait_for_ready=None,
313
+ timeout=None,
314
+ metadata=None):
315
+ return grpc.experimental.unary_unary(
316
+ request,
317
+ target,
318
+ '/meshtrade.iam.user.v1.UserService/CreateUser',
319
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.CreateUserRequest.SerializeToString,
320
+ meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
321
+ options,
322
+ channel_credentials,
323
+ insecure,
324
+ call_credentials,
325
+ compression,
326
+ wait_for_ready,
327
+ timeout,
328
+ metadata,
329
+ _registered_method=True)
330
+
331
+ @staticmethod
332
+ def UpdateUser(request,
333
+ target,
334
+ options=(),
335
+ channel_credentials=None,
336
+ call_credentials=None,
337
+ insecure=False,
338
+ compression=None,
339
+ wait_for_ready=None,
340
+ timeout=None,
341
+ metadata=None):
342
+ return grpc.experimental.unary_unary(
343
+ request,
344
+ target,
345
+ '/meshtrade.iam.user.v1.UserService/UpdateUser',
346
+ meshtrade_dot_iam_dot_user_dot_v1_dot_service__pb2.UpdateUserRequest.SerializeToString,
347
+ meshtrade_dot_iam_dot_user_dot_v1_dot_user__pb2.User.FromString,
348
+ options,
349
+ channel_credentials,
350
+ insecure,
351
+ call_credentials,
352
+ compression,
353
+ wait_for_ready,
354
+ timeout,
355
+ metadata,
356
+ _registered_method=True)
@@ -22,16 +22,27 @@ _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'\n meshtrade/iam/user/v1/user.proto\x12\x15meshtrade.iam.user.v1\"2\n\x04User\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\x12\x14\n\x05roles\x18\x06 \x03(\tR\x05rolesBN\n\x1c\x63o.meshtrade.api.iam.user.v1Z.github.com/meshtrade/api/go/iam/user/v1;userv1b\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n meshtrade/iam/user/v1/user.proto\x12\x15meshtrade.iam.user.v1\x1a\x1b\x62uf/validate/validate.proto\"\xf1\x03\n\x04User\x12\xba\x01\n\x04name\x18\x01 \x01(\tB\xa5\x01\xbaH\xa1\x01\xba\x01\x9d\x01\n\x14name.format.optional\x12\x32name must be empty or in the format users/{ULIDv2}\x1aQsize(this) == 0 || this.matches(\'^users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x04name\x12R\n\x05owner\x18\x02 \x01(\tB<\xbaH9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x05owner\x12V\n\x06owners\x18\x03 \x03(\tB>\xbaH;\x92\x01\x38\"6r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!R\x06owners\x12 \n\x05\x65mail\x18\x04 \x01(\tB\n\xbaH\x07r\x02`\x01\xc8\x01\x01R\x05\x65mail\x12^\n\x05roles\x18\x06 \x03(\tBH\xbaHE\x92\x01\x42\"@r>29^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/1[0-9]{6}$\x98\x01)R\x05rolesBO\n\x1c\x63o.meshtrade.api.iam.user.v1Z/github.com/meshtrade/api/go/iam/user/v1;user_v1b\x06proto3')
28
29
 
29
30
  _globals = globals()
30
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
32
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.user.v1.user_pb2', _globals)
32
33
  if not _descriptor._USE_C_DESCRIPTORS:
33
34
  _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n\034co.meshtrade.api.iam.user.v1Z.github.com/meshtrade/api/go/iam/user/v1;userv1'
35
- _globals['_USER']._serialized_start=59
36
- _globals['_USER']._serialized_end=109
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\034co.meshtrade.api.iam.user.v1Z/github.com/meshtrade/api/go/iam/user/v1;user_v1'
36
+ _globals['_USER'].fields_by_name['name']._loaded_options = None
37
+ _globals['_USER'].fields_by_name['name']._serialized_options = b'\272H\241\001\272\001\235\001\n\024name.format.optional\0222name must be empty or in the format users/{ULIDv2}\032Qsize(this) == 0 || this.matches(\'^users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')'
38
+ _globals['_USER'].fields_by_name['owner']._loaded_options = None
39
+ _globals['_USER'].fields_by_name['owner']._serialized_options = b'\272H9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!\310\001\001'
40
+ _globals['_USER'].fields_by_name['owners']._loaded_options = None
41
+ _globals['_USER'].fields_by_name['owners']._serialized_options = b'\272H;\222\0018\"6r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001!'
42
+ _globals['_USER'].fields_by_name['email']._loaded_options = None
43
+ _globals['_USER'].fields_by_name['email']._serialized_options = b'\272H\007r\002`\001\310\001\001'
44
+ _globals['_USER'].fields_by_name['roles']._loaded_options = None
45
+ _globals['_USER'].fields_by_name['roles']._serialized_options = b'\272HE\222\001B\"@r>29^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/1[0-9]{6}$\230\001)'
46
+ _globals['_USER']._serialized_start=89
47
+ _globals['_USER']._serialized_end=586
37
48
  # @@protoc_insertion_point(module_scope)
@@ -1,3 +1,4 @@
1
+ from buf.validate import validate_pb2 as _validate_pb2
1
2
  from google.protobuf.internal import containers as _containers
2
3
  from google.protobuf import descriptor as _descriptor
3
4
  from google.protobuf import message as _message
@@ -7,9 +8,15 @@ from typing import ClassVar as _ClassVar, Optional as _Optional
7
8
  DESCRIPTOR: _descriptor.FileDescriptor
8
9
 
9
10
  class User(_message.Message):
10
- __slots__ = ("email", "roles")
11
+ __slots__ = ("name", "owner", "owners", "email", "roles")
12
+ NAME_FIELD_NUMBER: _ClassVar[int]
13
+ OWNER_FIELD_NUMBER: _ClassVar[int]
14
+ OWNERS_FIELD_NUMBER: _ClassVar[int]
11
15
  EMAIL_FIELD_NUMBER: _ClassVar[int]
12
16
  ROLES_FIELD_NUMBER: _ClassVar[int]
17
+ name: str
18
+ owner: str
19
+ owners: _containers.RepeatedScalarFieldContainer[str]
13
20
  email: str
14
21
  roles: _containers.RepeatedScalarFieldContainer[str]
15
- def __init__(self, email: _Optional[str] = ..., roles: _Optional[_Iterable[str]] = ...) -> None: ...
22
+ def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ..., owners: _Optional[_Iterable[str]] = ..., email: _Optional[str] = ..., roles: _Optional[_Iterable[str]] = ...) -> None: ...
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8meshtrade/ledger/transaction/v1/transaction_action.proto\x12\x1fmeshtrade.ledger.transaction.v1*\xf8\x01\n\x11TransactionAction\x12\"\n\x1eTRANSACTION_ACTION_UNSPECIFIED\x10\x00\x12!\n\x1dTRANSACTION_ACTION_DO_NOTHING\x10\x01\x12\x1c\n\x18TRANSACTION_ACTION_BUILD\x10\x02\x12\x1d\n\x19TRANSACTION_ACTION_COMMIT\x10\x03\x12\x1b\n\x17TRANSACTION_ACTION_SIGN\x10\x04\x12#\n\x1fTRANSACTION_ACTION_MARK_PENDING\x10\x05\x12\x1d\n\x19TRANSACTION_ACTION_SUBMIT\x10\x06\x42i\n&co.meshtrade.api.ledger.transaction.v1Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1b\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8meshtrade/ledger/transaction/v1/transaction_action.proto\x12\x1fmeshtrade.ledger.transaction.v1*\xf8\x01\n\x11TransactionAction\x12\"\n\x1eTRANSACTION_ACTION_UNSPECIFIED\x10\x00\x12!\n\x1dTRANSACTION_ACTION_DO_NOTHING\x10\x01\x12\x1c\n\x18TRANSACTION_ACTION_BUILD\x10\x02\x12\x1d\n\x19TRANSACTION_ACTION_COMMIT\x10\x03\x12\x1b\n\x17TRANSACTION_ACTION_SIGN\x10\x04\x12#\n\x1fTRANSACTION_ACTION_MARK_PENDING\x10\x05\x12\x1d\n\x19TRANSACTION_ACTION_SUBMIT\x10\x06\x42j\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1b\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.ledger.transaction.v1.transaction_action_pb2', _globals)
32
32
  if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n&co.meshtrade.api.ledger.transaction.v1Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1'
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1'
35
35
  _globals['_TRANSACTIONACTION']._serialized_start=94
36
36
  _globals['_TRANSACTIONACTION']._serialized_end=342
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'\n7meshtrade/ledger/transaction/v1/transaction_state.proto\x12\x1fmeshtrade.ledger.transaction.v1*\xaf\x02\n\x10TransactionState\x12!\n\x1dTRANSACTION_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17TRANSACTION_STATE_DRAFT\x10\x01\x12)\n%TRANSACTION_STATE_SIGNING_IN_PROGRESS\x10\x02\x12\x1d\n\x19TRANSACTION_STATE_PENDING\x10\x03\x12,\n(TRANSACTION_STATE_SUBMISSION_IN_PROGRESS\x10\x04\x12\x1c\n\x18TRANSACTION_STATE_FAILED\x10\x05\x12#\n\x1fTRANSACTION_STATE_INDETERMINATE\x10\x06\x12 \n\x1cTRANSACTION_STATE_SUCCESSFUL\x10\x07\x42i\n&co.meshtrade.api.ledger.transaction.v1Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1b\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7meshtrade/ledger/transaction/v1/transaction_state.proto\x12\x1fmeshtrade.ledger.transaction.v1*\xaf\x02\n\x10TransactionState\x12!\n\x1dTRANSACTION_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17TRANSACTION_STATE_DRAFT\x10\x01\x12)\n%TRANSACTION_STATE_SIGNING_IN_PROGRESS\x10\x02\x12\x1d\n\x19TRANSACTION_STATE_PENDING\x10\x03\x12,\n(TRANSACTION_STATE_SUBMISSION_IN_PROGRESS\x10\x04\x12\x1c\n\x18TRANSACTION_STATE_FAILED\x10\x05\x12#\n\x1fTRANSACTION_STATE_INDETERMINATE\x10\x06\x12 \n\x1cTRANSACTION_STATE_SUCCESSFUL\x10\x07\x42j\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1b\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.ledger.transaction.v1.transaction_state_pb2', _globals)
32
32
  if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n&co.meshtrade.api.ledger.transaction.v1Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1'
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1'
35
35
  _globals['_TRANSACTIONSTATE']._serialized_start=93
36
36
  _globals['_TRANSACTIONSTATE']._serialized_end=396
37
37
  # @@protoc_insertion_point(module_scope)
@@ -25,14 +25,14 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%meshtrade/option/v1/method_type.proto\x12\x13meshtrade.option.v1\x1a google/protobuf/descriptor.proto*V\n\nMethodType\x12\x1b\n\x17METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10METHOD_TYPE_READ\x10\x01\x12\x15\n\x11METHOD_TYPE_WRITE\x10\x02:b\n\x0bmethod_type\x12\x1e.google.protobuf.MethodOptions\x18\xd4\x86\x03 \x01(\x0e\x32\x1f.meshtrade.option.v1.MethodTypeR\nmethodTypeBL\n\x1a\x63o.meshtrade.api.option.v1Z.github.com/meshtrade/api/go/option/v1;optionv1b\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%meshtrade/option/v1/method_type.proto\x12\x13meshtrade.option.v1\x1a google/protobuf/descriptor.proto*V\n\nMethodType\x12\x1b\n\x17METHOD_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10METHOD_TYPE_READ\x10\x01\x12\x15\n\x11METHOD_TYPE_WRITE\x10\x02:b\n\x0bmethod_type\x12\x1e.google.protobuf.MethodOptions\x18\xd4\x86\x03 \x01(\x0e\x32\x1f.meshtrade.option.v1.MethodTypeR\nmethodTypeBM\n\x1a\x63o.meshtrade.api.option.v1Z/github.com/meshtrade/api/go/option/v1;option_v1b\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
32
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.option.v1.method_type_pb2', _globals)
33
33
  if not _descriptor._USE_C_DESCRIPTORS:
34
34
  _globals['DESCRIPTOR']._loaded_options = None
35
- _globals['DESCRIPTOR']._serialized_options = b'\n\032co.meshtrade.api.option.v1Z.github.com/meshtrade/api/go/option/v1;optionv1'
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\032co.meshtrade.api.option.v1Z/github.com/meshtrade/api/go/option/v1;option_v1'
36
36
  _globals['_METHODTYPE']._serialized_start=96
37
37
  _globals['_METHODTYPE']._serialized_end=182
38
38
  # @@protoc_insertion_point(module_scope)
@@ -31,14 +31,14 @@ from meshtrade.reporting.account_report.v1 import trading_statement_entry_pb2 as
31
31
  from meshtrade.reporting.account_report.v1 import disclaimer_pb2 as meshtrade_dot_reporting_dot_account__report_dot_v1_dot_disclaimer__pb2
32
32
 
33
33
 
34
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:meshtrade/reporting/account_report/v1/account_report.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dmeshtrade/type/v1/token.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\x35meshtrade/reporting/account_report/v1/fee_entry.proto\x1a\x38meshtrade/reporting/account_report/v1/income_entry.proto\x1a\x43meshtrade/reporting/account_report/v1/trading_statement_entry.proto\x1a\x36meshtrade/reporting/account_report/v1/disclaimer.proto\"\x9c\x07\n\rAccountReport\x12Y\n\x0eincome_entries\x18\x01 \x03(\x0b\x32\x32.meshtrade.reporting.account_report.v1.IncomeEntryR\rincomeEntries\x12P\n\x0b\x66\x65\x65_entries\x18\x02 \x03(\x0b\x32/.meshtrade.reporting.account_report.v1.FeeEntryR\nfeeEntries\x12x\n\x19trading_statement_entries\x18\x03 \x03(\x0b\x32<.meshtrade.reporting.account_report.v1.TradingStatementEntryR\x17tradingStatementEntries\x12G\n\x12reporting_currency\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x11reportingCurrency\x12S\n\x06period\x18\x05 \x01(\x0b\x32;.meshtrade.reporting.account_report.v1.AccountReport.PeriodR\x06period\x12\x43\n\x0fgeneration_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0egenerationDate\x12%\n\x0e\x61\x63\x63ount_number\x18\x07 \x01(\tR\raccountNumber\x12S\n\x0b\x64isclaimers\x18\x08 \x03(\x0b\x32\x31.meshtrade.reporting.account_report.v1.DisclaimerR\x0b\x64isclaimers\x12\x41\n\x0e\x63lient_address\x18\t \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\rclientAddress\x12\x1f\n\x0b\x63lient_name\x18\n \x01(\tR\nclientName\x12\x1c\n\tcopyright\x18\x0b \x01(\tR\tcopyright\x1a\x82\x01\n\x06Period\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEndBx\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1b\x06proto3')
34
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:meshtrade/reporting/account_report/v1/account_report.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dmeshtrade/type/v1/token.proto\x1a\x1fmeshtrade/type/v1/address.proto\x1a\x35meshtrade/reporting/account_report/v1/fee_entry.proto\x1a\x38meshtrade/reporting/account_report/v1/income_entry.proto\x1a\x43meshtrade/reporting/account_report/v1/trading_statement_entry.proto\x1a\x36meshtrade/reporting/account_report/v1/disclaimer.proto\"\x9c\x07\n\rAccountReport\x12Y\n\x0eincome_entries\x18\x01 \x03(\x0b\x32\x32.meshtrade.reporting.account_report.v1.IncomeEntryR\rincomeEntries\x12P\n\x0b\x66\x65\x65_entries\x18\x02 \x03(\x0b\x32/.meshtrade.reporting.account_report.v1.FeeEntryR\nfeeEntries\x12x\n\x19trading_statement_entries\x18\x03 \x03(\x0b\x32<.meshtrade.reporting.account_report.v1.TradingStatementEntryR\x17tradingStatementEntries\x12G\n\x12reporting_currency\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x11reportingCurrency\x12S\n\x06period\x18\x05 \x01(\x0b\x32;.meshtrade.reporting.account_report.v1.AccountReport.PeriodR\x06period\x12\x43\n\x0fgeneration_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0egenerationDate\x12%\n\x0e\x61\x63\x63ount_number\x18\x07 \x01(\tR\raccountNumber\x12S\n\x0b\x64isclaimers\x18\x08 \x03(\x0b\x32\x31.meshtrade.reporting.account_report.v1.DisclaimerR\x0b\x64isclaimers\x12\x41\n\x0e\x63lient_address\x18\t \x01(\x0b\x32\x1a.meshtrade.type.v1.AddressR\rclientAddress\x12\x1f\n\x0b\x63lient_name\x18\n \x01(\tR\nclientName\x12\x1c\n\tcopyright\x18\x0b \x01(\tR\tcopyright\x1a\x82\x01\n\x06Period\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEndBy\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1b\x06proto3')
35
35
 
36
36
  _globals = globals()
37
37
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
38
38
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.reporting.account_report.v1.account_report_pb2', _globals)
39
39
  if not _descriptor._USE_C_DESCRIPTORS:
40
40
  _globals['DESCRIPTOR']._loaded_options = None
41
- _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1'
41
+ _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1'
42
42
  _globals['_ACCOUNTREPORT']._serialized_start=437
43
43
  _globals['_ACCOUNTREPORT']._serialized_end=1361
44
44
  _globals['_ACCOUNTREPORT_PERIOD']._serialized_start=1231
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6meshtrade/reporting/account_report/v1/disclaimer.proto\x12%meshtrade.reporting.account_report.v1\"D\n\nDisclaimer\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scriptionBx\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1b\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6meshtrade/reporting/account_report/v1/disclaimer.proto\x12%meshtrade.reporting.account_report.v1\"D\n\nDisclaimer\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scriptionBy\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1b\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.reporting.account_report.v1.disclaimer_pb2', _globals)
32
32
  if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1'
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1'
35
35
  _globals['_DISCLAIMER']._serialized_start=97
36
36
  _globals['_DISCLAIMER']._serialized_end=165
37
37
  # @@protoc_insertion_point(module_scope)
@@ -26,14 +26,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
26
26
  from meshtrade.type.v1 import amount_pb2 as meshtrade_dot_type_dot_v1_dot_amount__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5meshtrade/reporting/account_report/v1/fee_entry.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emeshtrade/type/v1/amount.proto\"\xc7\x02\n\x08\x46\x65\x65\x45ntry\x12\x45\n\x10transaction_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0ftransactionDate\x12%\n\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12Q\n\x17reported_currency_value\x18\x05 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x15reportedCurrencyValue\x12%\n\x0etoken_currency\x18\x06 \x01(\tR\rtokenCurrencyBx\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1b\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5meshtrade/reporting/account_report/v1/fee_entry.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emeshtrade/type/v1/amount.proto\"\xc7\x02\n\x08\x46\x65\x65\x45ntry\x12\x45\n\x10transaction_date\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0ftransactionDate\x12%\n\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12Q\n\x17reported_currency_value\x18\x05 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x15reportedCurrencyValue\x12%\n\x0etoken_currency\x18\x06 \x01(\tR\rtokenCurrencyBy\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1b\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
33
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.reporting.account_report.v1.fee_entry_pb2', _globals)
34
34
  if not _descriptor._USE_C_DESCRIPTORS:
35
35
  _globals['DESCRIPTOR']._loaded_options = None
36
- _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1'
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1'
37
37
  _globals['_FEEENTRY']._serialized_start=162
38
38
  _globals['_FEEENTRY']._serialized_end=489
39
39
  # @@protoc_insertion_point(module_scope)
@@ -27,14 +27,14 @@ from meshtrade.type.v1 import amount_pb2 as meshtrade_dot_type_dot_v1_dot_amount
27
27
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8meshtrade/reporting/account_report/v1/income_entry.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1dmeshtrade/type/v1/token.proto\x1a\x1emeshtrade/type/v1/amount.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8a\x03\n\x0bIncomeEntry\x12\x1d\n\nasset_name\x18\x01 \x01(\tR\tassetName\x12.\n\x05token\x18\x02 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x05token\x12.\n\x04\x64\x61te\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04\x64\x61te\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12T\n\tnarrative\x18\x05 \x01(\x0e\x32\x36.meshtrade.reporting.account_report.v1.IncomeNarrativeR\tnarrative\x12\x31\n\x06\x61mount\x18\x06 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12Q\n\x17reported_currency_value\x18\x07 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x15reportedCurrencyValue*l\n\x0fIncomeNarrative\x12 \n\x1cINCOME_NARRATIVE_UNSPECIFIED\x10\x00\x12\x1a\n\x16INCOME_NARRATIVE_YIELD\x10\x01\x12\x1b\n\x17INCOME_NARRATIVE_COUPON\x10\x02\x42x\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1b\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8meshtrade/reporting/account_report/v1/income_entry.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1dmeshtrade/type/v1/token.proto\x1a\x1emeshtrade/type/v1/amount.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8a\x03\n\x0bIncomeEntry\x12\x1d\n\nasset_name\x18\x01 \x01(\tR\tassetName\x12.\n\x05token\x18\x02 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x05token\x12.\n\x04\x64\x61te\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04\x64\x61te\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12T\n\tnarrative\x18\x05 \x01(\x0e\x32\x36.meshtrade.reporting.account_report.v1.IncomeNarrativeR\tnarrative\x12\x31\n\x06\x61mount\x18\x06 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12Q\n\x17reported_currency_value\x18\x07 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x15reportedCurrencyValue*l\n\x0fIncomeNarrative\x12 \n\x1cINCOME_NARRATIVE_UNSPECIFIED\x10\x00\x12\x1a\n\x16INCOME_NARRATIVE_YIELD\x10\x01\x12\x1b\n\x17INCOME_NARRATIVE_COUPON\x10\x02\x42y\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1b\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
34
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.reporting.account_report.v1.income_entry_pb2', _globals)
35
35
  if not _descriptor._USE_C_DESCRIPTORS:
36
36
  _globals['DESCRIPTOR']._loaded_options = None
37
- _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1'
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1'
38
38
  _globals['_INCOMENARRATIVE']._serialized_start=592
39
39
  _globals['_INCOMENARRATIVE']._serialized_end=700
40
40
  _globals['_INCOMEENTRY']._serialized_start=196
@@ -30,30 +30,44 @@ from meshtrade.reporting.account_report.v1 import account_report_pb2 as meshtrad
30
30
  from meshtrade.type.v1 import token_pb2 as meshtrade_dot_type_dot_v1_dot_token__pb2
31
31
 
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3meshtrade/reporting/account_report/v1/service.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a:meshtrade/reporting/account_report/v1/account_report.proto\x1a\x1dmeshtrade/type/v1/token.proto\"\x88\x02\n\x17GetAccountReportRequest\x12%\n\x0e\x61\x63\x63ount_number\x18\x01 \x01(\tR\raccountNumber\x12=\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12L\n\x15reporting_asset_token\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x13reportingAssetToken\"\x9d\x04\n\x1cGetExcelAccountReportRequest\x12\x90\x01\n\x0e\x61\x63\x63ount_number\x18\x01 \x01(\tBi\xbaHfr\x0f\x10\x01\x32\x0b^[0-9]{1,}$\xba\x01R\n\x17\x61\x63\x63ount_number.required\x12\x1a\x61\x63\x63ount_number is required\x1a\x1bthis.matches(\'^[0-9]{1,}$\')R\raccountNumber\x12\x90\x01\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBQ\xbaHN\xba\x01K\n\x15period_start.required\x12$\'period_start\' timestamp is required\x1a\x0cthis != nullR\x0bperiodStart\x12\x88\x01\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampBM\xbaHJ\xba\x01G\n\x13period_end.required\x12\"\'period_end\' timestamp is required\x1a\x0cthis != nullR\tperiodEnd\x12L\n\x15reporting_asset_token\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenR\x13reportingAssetToken\"B\n\x1dGetExcelAccountReportResponse\x12!\n\x0c\x65xcel_base64\x18\x01 \x01(\tR\x0b\x65xcelBase642\xee\x02\n\x14\x41\x63\x63ountReportService\x12\x9c\x01\n\x10GetAccountReport\x12>.meshtrade.reporting.account_report.v1.GetAccountReportRequest\x1a\x34.meshtrade.reporting.account_report.v1.AccountReport\"\x12\xa0\xb5\x18\x01\xaa\xb5\x18\n\n\x08\x80\x9b\xee\x02\x81\x9b\xee\x02\x12\xb6\x01\n\x15GetExcelAccountReport\x12\x43.meshtrade.reporting.account_report.v1.GetExcelAccountReportRequest\x1a\x44.meshtrade.reporting.account_report.v1.GetExcelAccountReportResponse\"\x12\xa0\xb5\x18\x01\xaa\xb5\x18\n\n\x08\x80\x9b\xee\x02\x81\x9b\xee\x02\x42x\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1b\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3meshtrade/reporting/account_report/v1/service.proto\x12%meshtrade.reporting.account_report.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a:meshtrade/reporting/account_report/v1/account_report.proto\x1a\x1dmeshtrade/type/v1/token.proto\"\xa7\x03\n\x17GetAccountReportRequest\x12\x39\n\x0e\x61\x63\x63ount_number\x18\x01 \x01(\tB\x12\xbaH\x0fr\r2\x0b^1[0-9]{6}$R\raccountNumber\x12\x45\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x0bperiodStart\x12\x41\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\tperiodEnd\x12T\n\x15reporting_asset_token\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenB\x06\xbaH\x03\xc8\x01\x01R\x13reportingAssetToken:q\xbaHn\x1al\n\x18period.chronological.get\x12+period_end must be on or after period_start\x1a#this.period_end > this.period_start\"\xaf\x03\n\x1cGetExcelAccountReportRequest\x12\x39\n\x0e\x61\x63\x63ount_number\x18\x01 \x01(\tB\x12\xbaH\x0fr\r2\x0b^1[0-9]{6}$R\raccountNumber\x12\x45\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x0bperiodStart\x12\x41\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\tperiodEnd\x12T\n\x15reporting_asset_token\x18\x04 \x01(\x0b\x32\x18.meshtrade.type.v1.TokenB\x06\xbaH\x03\xc8\x01\x01R\x13reportingAssetToken:t\xbaHq\x1ao\n\x1aperiod.chronological.excel\x12+period_end must be on or after period_start\x1a$this.period_end >= this.period_start\"B\n\x1dGetExcelAccountReportResponse\x12!\n\x0c\x65xcel_base64\x18\x01 \x01(\tR\x0b\x65xcelBase642\xee\x02\n\x14\x41\x63\x63ountReportService\x12\x9c\x01\n\x10GetAccountReport\x12>.meshtrade.reporting.account_report.v1.GetAccountReportRequest\x1a\x34.meshtrade.reporting.account_report.v1.AccountReport\"\x12\xa0\xb5\x18\x01\xaa\xb5\x18\n\n\x08\x80\x9b\xee\x02\x81\x9b\xee\x02\x12\xb6\x01\n\x15GetExcelAccountReport\x12\x43.meshtrade.reporting.account_report.v1.GetExcelAccountReportRequest\x1a\x44.meshtrade.reporting.account_report.v1.GetExcelAccountReportResponse\"\x12\xa0\xb5\x18\x01\xaa\xb5\x18\n\n\x08\x80\x9b\xee\x02\x81\x9b\xee\x02\x42y\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1b\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
37
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.reporting.account_report.v1.service_pb2', _globals)
38
38
  if not _descriptor._USE_C_DESCRIPTORS:
39
39
  _globals['DESCRIPTOR']._loaded_options = None
40
- _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZHgithub.com/meshtrade/api/go/reporting/account_report/v1;account_reportv1'
40
+ _globals['DESCRIPTOR']._serialized_options = b'\n,co.meshtrade.api.reporting.account_report.v1ZIgithub.com/meshtrade/api/go/reporting/account_report/v1;account_report_v1'
41
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['account_number']._loaded_options = None
42
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['account_number']._serialized_options = b'\272H\017r\r2\013^1[0-9]{6}$'
43
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['period_start']._loaded_options = None
44
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['period_start']._serialized_options = b'\272H\003\310\001\001'
45
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['period_end']._loaded_options = None
46
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['period_end']._serialized_options = b'\272H\003\310\001\001'
47
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['reporting_asset_token']._loaded_options = None
48
+ _globals['_GETACCOUNTREPORTREQUEST'].fields_by_name['reporting_asset_token']._serialized_options = b'\272H\003\310\001\001'
49
+ _globals['_GETACCOUNTREPORTREQUEST']._loaded_options = None
50
+ _globals['_GETACCOUNTREPORTREQUEST']._serialized_options = b'\272Hn\032l\n\030period.chronological.get\022+period_end must be on or after period_start\032#this.period_end > this.period_start'
41
51
  _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['account_number']._loaded_options = None
42
- _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['account_number']._serialized_options = b'\272Hfr\017\020\0012\013^[0-9]{1,}$\272\001R\n\027account_number.required\022\032account_number is required\032\033this.matches(\'^[0-9]{1,}$\')'
52
+ _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['account_number']._serialized_options = b'\272H\017r\r2\013^1[0-9]{6}$'
43
53
  _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_start']._loaded_options = None
44
- _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_start']._serialized_options = b'\272HN\272\001K\n\025period_start.required\022$\'period_start\' timestamp is required\032\014this != null'
54
+ _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_start']._serialized_options = b'\272H\003\310\001\001'
45
55
  _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_end']._loaded_options = None
46
- _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_end']._serialized_options = b'\272HJ\272\001G\n\023period_end.required\022\"\'period_end\' timestamp is required\032\014this != null'
56
+ _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['period_end']._serialized_options = b'\272H\003\310\001\001'
57
+ _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['reporting_asset_token']._loaded_options = None
58
+ _globals['_GETEXCELACCOUNTREPORTREQUEST'].fields_by_name['reporting_asset_token']._serialized_options = b'\272H\003\310\001\001'
59
+ _globals['_GETEXCELACCOUNTREPORTREQUEST']._loaded_options = None
60
+ _globals['_GETEXCELACCOUNTREPORTREQUEST']._serialized_options = b'\272Hq\032o\n\032period.chronological.excel\022+period_end must be on or after period_start\032$this.period_end >= this.period_start'
47
61
  _globals['_ACCOUNTREPORTSERVICE'].methods_by_name['GetAccountReport']._loaded_options = None
48
62
  _globals['_ACCOUNTREPORTSERVICE'].methods_by_name['GetAccountReport']._serialized_options = b'\240\265\030\001\252\265\030\n\n\010\200\233\356\002\201\233\356\002'
49
63
  _globals['_ACCOUNTREPORTSERVICE'].methods_by_name['GetExcelAccountReport']._loaded_options = None
50
64
  _globals['_ACCOUNTREPORTSERVICE'].methods_by_name['GetExcelAccountReport']._serialized_options = b'\240\265\030\001\252\265\030\n\n\010\200\233\356\002\201\233\356\002'
51
65
  _globals['_GETACCOUNTREPORTREQUEST']._serialized_start=321
52
- _globals['_GETACCOUNTREPORTREQUEST']._serialized_end=585
53
- _globals['_GETEXCELACCOUNTREPORTREQUEST']._serialized_start=588
54
- _globals['_GETEXCELACCOUNTREPORTREQUEST']._serialized_end=1129
55
- _globals['_GETEXCELACCOUNTREPORTRESPONSE']._serialized_start=1131
56
- _globals['_GETEXCELACCOUNTREPORTRESPONSE']._serialized_end=1197
57
- _globals['_ACCOUNTREPORTSERVICE']._serialized_start=1200
58
- _globals['_ACCOUNTREPORTSERVICE']._serialized_end=1566
66
+ _globals['_GETACCOUNTREPORTREQUEST']._serialized_end=744
67
+ _globals['_GETEXCELACCOUNTREPORTREQUEST']._serialized_start=747
68
+ _globals['_GETEXCELACCOUNTREPORTREQUEST']._serialized_end=1178
69
+ _globals['_GETEXCELACCOUNTREPORTRESPONSE']._serialized_start=1180
70
+ _globals['_GETEXCELACCOUNTREPORTRESPONSE']._serialized_end=1246
71
+ _globals['_ACCOUNTREPORTSERVICE']._serialized_start=1249
72
+ _globals['_ACCOUNTREPORTSERVICE']._serialized_end=1615
59
73
  # @@protoc_insertion_point(module_scope)