meshtrade 0.0.1__py3-none-any.whl → 0.0.5__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/__init__.py +0 -0
- meshtrade/compliance/client/__init__.py +0 -0
- meshtrade/compliance/client/v1/__init__.py +0 -0
- meshtrade/compliance/client/v1/client_pb2.py +43 -0
- meshtrade/compliance/client/v1/client_pb2.pyi +40 -0
- meshtrade/compliance/client/v1/company_pb2.py +49 -0
- meshtrade/compliance/client/v1/company_pb2.pyi +85 -0
- meshtrade/compliance/client/v1/company_representative_pb2.py +42 -0
- meshtrade/compliance/client/v1/company_representative_pb2.pyi +27 -0
- meshtrade/compliance/client/v1/company_representative_role_pb2.py +37 -0
- meshtrade/compliance/client/v1/company_representative_role_pb2.pyi +26 -0
- meshtrade/compliance/client/v1/fund_pb2.py +38 -0
- meshtrade/compliance/client/v1/fund_pb2.pyi +21 -0
- meshtrade/compliance/client/v1/identification_document_type_pb2.py +37 -0
- meshtrade/compliance/client/v1/identification_document_type_pb2.pyi +18 -0
- meshtrade/compliance/client/v1/industry_classification_pb2.py +37 -0
- meshtrade/compliance/client/v1/industry_classification_pb2.pyi +25 -0
- meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +37 -0
- meshtrade/compliance/client/v1/natural_person_connection_type_pb2.pyi +40 -0
- meshtrade/compliance/client/v1/natural_person_pb2.py +44 -0
- meshtrade/compliance/client/v1/natural_person_pb2.pyi +44 -0
- meshtrade/compliance/client/v1/pep_status_pb2.py +37 -0
- meshtrade/compliance/client/v1/pep_status_pb2.pyi +16 -0
- meshtrade/compliance/client/v1/service_pb2.py +46 -0
- meshtrade/compliance/client/v1/service_pb2.pyi +30 -0
- meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +37 -0
- meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.pyi +54 -0
- meshtrade/compliance/client/v1/tax_residency_pb2.py +37 -0
- meshtrade/compliance/client/v1/tax_residency_pb2.pyi +13 -0
- meshtrade/compliance/client/v1/trust_pb2.py +38 -0
- meshtrade/compliance/client/v1/trust_pb2.pyi +21 -0
- meshtrade/compliance/client/v1/verification_status_pb2.py +37 -0
- meshtrade/compliance/client/v1/verification_status_pb2.pyi +18 -0
- meshtrade/iam/__init__.py +0 -0
- meshtrade/iam/group/__init__.py +0 -0
- meshtrade/iam/group/v1/__init__.py +0 -0
- meshtrade/{account/v1/account_pb2.py → iam/group/v1/group_pb2.py} +7 -7
- meshtrade/iam/group/v1/group_pb2.pyi +11 -0
- meshtrade/iam/group/v1/service_pb2.py +42 -0
- meshtrade/iam/group/v1/service_pb2.pyi +17 -0
- meshtrade/iam/role/__init__.py +0 -0
- meshtrade/iam/role/v1/__init__.py +0 -0
- meshtrade/iam/{v1/role_pb2.py → role/v1/permission_pb2.py} +7 -8
- meshtrade/iam/role/v1/role_pb2.py +38 -0
- meshtrade/iam/{v1 → role/v1}/role_pb2.pyi +1 -1
- meshtrade/iam/role/v1/service_pb2.py +42 -0
- meshtrade/iam/role/v1/service_pb2.pyi +17 -0
- meshtrade/{iam/v1/permission_pb2.py → issuance_hub/instrument/v1/instrument_pb2.py} +7 -7
- meshtrade/issuance_hub/instrument/v1/instrument_pb2.pyi +11 -0
- meshtrade/issuance_hub/instrument/v1/service_pb2.py +51 -0
- meshtrade/issuance_hub/instrument/v1/service_pb2.pyi +52 -0
- meshtrade/ledger/transaction/v1/transaction_action_pb2.py +37 -0
- meshtrade/ledger/transaction/v1/transaction_action_pb2.pyi +22 -0
- meshtrade/ledger/transaction/v1/transaction_state_pb2.py +37 -0
- meshtrade/ledger/transaction/v1/transaction_state_pb2.pyi +24 -0
- meshtrade/option/v1/auth_pb2.py +44 -0
- meshtrade/option/v1/auth_pb2.pyi +40 -0
- meshtrade/option/v1/service_type_pb2.py +38 -0
- meshtrade/option/v1/service_type_pb2.pyi +17 -0
- meshtrade/trading/__init__.py +0 -0
- meshtrade/trading/direct_order/__init__.py +0 -0
- meshtrade/trading/direct_order/v1/__init__.py +0 -0
- meshtrade/trading/direct_order/v1/direct_order_pb2.py +37 -0
- meshtrade/trading/direct_order/v1/direct_order_pb2.pyi +11 -0
- meshtrade/trading/direct_order/v1/service_pb2.py +42 -0
- meshtrade/trading/direct_order/v1/service_pb2.pyi +19 -0
- meshtrade/trading/limit_order/__init__.py +0 -0
- meshtrade/trading/limit_order/v1/__init__.py +0 -0
- meshtrade/trading/limit_order/v1/limit_order_pb2.py +37 -0
- meshtrade/trading/limit_order/v1/limit_order_pb2.pyi +11 -0
- meshtrade/trading/limit_order/v1/service_pb2.py +42 -0
- meshtrade/trading/limit_order/v1/service_pb2.pyi +19 -0
- meshtrade/trading/spot/__init__.py +0 -0
- meshtrade/trading/spot/v1/__init__.py +0 -0
- meshtrade/trading/spot/v1/service_pb2.py +42 -0
- meshtrade/{account → trading/spot}/v1/service_pb2.pyi +7 -7
- meshtrade/trading/spot/v1/spot_pb2.py +37 -0
- meshtrade/trading/spot/v1/spot_pb2.pyi +11 -0
- meshtrade/type/__init__.py +0 -0
- meshtrade/type/v1/__init__.py +7 -0
- meshtrade/type/v1/address_pb2.py +37 -0
- meshtrade/type/v1/address_pb2.pyi +23 -0
- meshtrade/type/v1/amount.py +84 -0
- meshtrade/type/v1/amount_pb2.py +39 -0
- meshtrade/type/v1/amount_pb2.pyi +16 -0
- meshtrade/type/v1/contact_details_pb2.py +37 -0
- meshtrade/type/v1/contact_details_pb2.pyi +27 -0
- meshtrade/type/v1/decimal_built_in_conversions.py +29 -0
- meshtrade/type/v1/decimal_pb2.py +37 -0
- meshtrade/type/v1/decimal_pb2.pyi +11 -0
- meshtrade/type/v1/ledger.py +26 -0
- meshtrade/type/v1/ledger_pb2.py +37 -0
- meshtrade/type/v1/ledger_pb2.pyi +24 -0
- meshtrade/type/v1/token_pb2.py +38 -0
- meshtrade/type/v1/token_pb2.pyi +16 -0
- meshtrade/wallet/__init__.py +0 -0
- meshtrade/wallet/account/v1/__init__.py +0 -0
- meshtrade/wallet/account/v1/account_pb2.py +37 -0
- meshtrade/wallet/account/v1/service_pb2.py +74 -0
- meshtrade/wallet/account/v1/service_pb2.pyi +64 -0
- {meshtrade-0.0.1.dist-info → meshtrade-0.0.5.dist-info}/METADATA +9 -3
- meshtrade-0.0.5.dist-info/RECORD +108 -0
- meshtrade/account/v1/__init__.py +0 -7
- meshtrade/account/v1/service_pb2.py +0 -42
- meshtrade/iam/v1/__init__.py +0 -11
- meshtrade-0.0.1.dist-info/RECORD +0 -16
- /meshtrade/iam/{v1 → role/v1}/permission_pb2.pyi +0 -0
- /meshtrade/{account → wallet/account}/v1/account_pb2.pyi +0 -0
- {meshtrade-0.0.1.dist-info → meshtrade-0.0.5.dist-info}/WHEEL +0 -0
- {meshtrade-0.0.1.dist-info → meshtrade-0.0.5.dist-info}/licenses/LICENSE +0 -0
- {meshtrade-0.0.1.dist-info → meshtrade-0.0.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from meshtrade.iam.group.v1 import group_pb2 as _group_pb2
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class GetGroupRequest(_message.Message):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
def __init__(self) -> None: ...
|
|
12
|
+
|
|
13
|
+
class GetGroupResponse(_message.Message):
|
|
14
|
+
__slots__ = ("group",)
|
|
15
|
+
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
group: _group_pb2.Group
|
|
17
|
+
def __init__(self, group: _Optional[_Union[_group_pb2.Group, _Mapping]] = ...) -> None: ...
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: meshtrade/iam/v1/
|
|
4
|
+
# source: meshtrade/iam/role/v1/permission.proto
|
|
5
5
|
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -15,24 +15,23 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
15
15
|
31,
|
|
16
16
|
1,
|
|
17
17
|
'',
|
|
18
|
-
'meshtrade/iam/v1/
|
|
18
|
+
'meshtrade/iam/role/v1/permission.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
21
21
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
from meshtrade.iam.v1 import permission_pb2 as meshtrade_dot_iam_dot_v1_dot_permission__pb2
|
|
26
25
|
|
|
27
26
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&meshtrade/iam/role/v1/permission.proto\x12\x15meshtrade.iam.role.v1\"s\n\nPermission\x12)\n\x10service_provider\x18\x01 \x01(\tR\x0fserviceProvider\x12\x18\n\x07service\x18\x02 \x01(\tR\x07service\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scriptionB0Z.github.com/meshtrade/api/go/iam/role/v1;rolev1b\x06proto3')
|
|
29
28
|
|
|
30
29
|
_globals = globals()
|
|
31
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.v1.
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.role.v1.permission_pb2', _globals)
|
|
33
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
-
_globals['DESCRIPTOR']._serialized_options = b'Z
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/meshtrade/api/go/iam/role/v1;rolev1'
|
|
35
|
+
_globals['_PERMISSION']._serialized_start=65
|
|
36
|
+
_globals['_PERMISSION']._serialized_end=180
|
|
38
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/iam/role/v1/role.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/iam/role/v1/role.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from meshtrade.iam.role.v1 import permission_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_permission__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n meshtrade/iam/role/v1/role.proto\x12\x15meshtrade.iam.role.v1\x1a&meshtrade/iam/role/v1/permission.proto\"_\n\x04Role\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x43\n\x0bpermissions\x18\x02 \x03(\x0b\x32!.meshtrade.iam.role.v1.PermissionR\x0bpermissionsB0Z.github.com/meshtrade/api/go/iam/role/v1;rolev1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.role.v1.role_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/meshtrade/api/go/iam/role/v1;rolev1'
|
|
36
|
+
_globals['_ROLE']._serialized_start=99
|
|
37
|
+
_globals['_ROLE']._serialized_end=194
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from meshtrade.iam.v1 import permission_pb2 as _permission_pb2
|
|
1
|
+
from meshtrade.iam.role.v1 import permission_pb2 as _permission_pb2
|
|
2
2
|
from google.protobuf.internal import containers as _containers
|
|
3
3
|
from google.protobuf import descriptor as _descriptor
|
|
4
4
|
from google.protobuf import message as _message
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/iam/role/v1/service.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/iam/role/v1/service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from meshtrade.iam.role.v1 import role_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_role__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#meshtrade/iam/role/v1/service.proto\x12\x15meshtrade.iam.role.v1\x1a meshtrade/iam/role/v1/role.proto\"\x10\n\x0eGetRoleRequest\"B\n\x0fGetRoleResponse\x12/\n\x04role\x18\x01 \x01(\x0b\x32\x1b.meshtrade.iam.role.v1.RoleR\x04role2c\n\x0bRoleService\x12T\n\x03Get\x12%.meshtrade.iam.role.v1.GetRoleRequest\x1a&.meshtrade.iam.role.v1.GetRoleResponseB0Z.github.com/meshtrade/api/go/iam/role/v1;rolev1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.role.v1.service_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/meshtrade/api/go/iam/role/v1;rolev1'
|
|
36
|
+
_globals['_GETROLEREQUEST']._serialized_start=96
|
|
37
|
+
_globals['_GETROLEREQUEST']._serialized_end=112
|
|
38
|
+
_globals['_GETROLERESPONSE']._serialized_start=114
|
|
39
|
+
_globals['_GETROLERESPONSE']._serialized_end=180
|
|
40
|
+
_globals['_ROLESERVICE']._serialized_start=182
|
|
41
|
+
_globals['_ROLESERVICE']._serialized_end=281
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from meshtrade.iam.role.v1 import role_pb2 as _role_pb2
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class GetRoleRequest(_message.Message):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
def __init__(self) -> None: ...
|
|
12
|
+
|
|
13
|
+
class GetRoleResponse(_message.Message):
|
|
14
|
+
__slots__ = ("role",)
|
|
15
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
role: _role_pb2.Role
|
|
17
|
+
def __init__(self, role: _Optional[_Union[_role_pb2.Role, _Mapping]] = ...) -> None: ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: meshtrade/
|
|
4
|
+
# source: meshtrade/issuance_hub/instrument/v1/instrument.proto
|
|
5
5
|
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -15,7 +15,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
15
15
|
31,
|
|
16
16
|
1,
|
|
17
17
|
'',
|
|
18
|
-
'meshtrade/
|
|
18
|
+
'meshtrade/issuance_hub/instrument/v1/instrument.proto'
|
|
19
19
|
)
|
|
20
20
|
# @@protoc_insertion_point(imports)
|
|
21
21
|
|
|
@@ -24,14 +24,14 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5meshtrade/issuance_hub/instrument/v1/instrument.proto\x12$meshtrade.issuance_hub.instrument.v1\"$\n\nInstrument\x12\x16\n\x06number\x18\x01 \x01(\tR\x06numberBEZCgithub.com/meshtrade/api/go/issuance_hub/instrument/v1;instrumentv1b\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.issuance_hub.instrument.v1.instrument_pb2', _globals)
|
|
32
32
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'ZCgithub.com/meshtrade/api/go/issuance_hub/instrument/v1;instrumentv1'
|
|
35
|
+
_globals['_INSTRUMENT']._serialized_start=95
|
|
36
|
+
_globals['_INSTRUMENT']._serialized_end=131
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
|
2
|
+
from google.protobuf import message as _message
|
|
3
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class Instrument(_message.Message):
|
|
8
|
+
__slots__ = ("number",)
|
|
9
|
+
NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
10
|
+
number: str
|
|
11
|
+
def __init__(self, number: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/issuance_hub/instrument/v1/service.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/issuance_hub/instrument/v1/service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from meshtrade.issuance_hub.instrument.v1 import instrument_pb2 as meshtrade_dot_issuance__hub_dot_instrument_dot_v1_dot_instrument__pb2
|
|
26
|
+
from meshtrade.type.v1 import amount_pb2 as meshtrade_dot_type_dot_v1_dot_amount__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2meshtrade/issuance_hub/instrument/v1/service.proto\x12$meshtrade.issuance_hub.instrument.v1\x1a\x35meshtrade/issuance_hub/instrument/v1/instrument.proto\x1a\x1emeshtrade/type/v1/amount.proto\"*\n\x14GetInstrumentRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"i\n\x15GetInstrumentResponse\x12P\n\ninstrument\x18\x01 \x01(\x0b\x32\x30.meshtrade.issuance_hub.instrument.v1.InstrumentR\ninstrument\"\x9c\x01\n\x15MintInstrumentRequest\x12\x31\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12\x1f\n\x0b\x66\x65\x65_account\x18\x02 \x01(\tR\nfeeAccount\x12/\n\x13\x64\x65stination_account\x18\x03 \x01(\tR\x12\x64\x65stinationAccount\"?\n\x16MintInstrumentResponse\x12%\n\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\"\x92\x01\n\x15\x42urnInstrumentRequest\x12\x31\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x19.meshtrade.type.v1.AmountR\x06\x61mount\x12\x1f\n\x0b\x66\x65\x65_account\x18\x02 \x01(\tR\nfeeAccount\x12%\n\x0esource_account\x18\x03 \x01(\tR\rsourceAccount\"?\n\x16\x42urnInstrumentResponse\x12%\n\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId2\x9b\x03\n\x11InstrumentService\x12~\n\x03Get\x12:.meshtrade.issuance_hub.instrument.v1.GetInstrumentRequest\x1a;.meshtrade.issuance_hub.instrument.v1.GetInstrumentResponse\x12\x81\x01\n\x04Mint\x12;.meshtrade.issuance_hub.instrument.v1.MintInstrumentRequest\x1a<.meshtrade.issuance_hub.instrument.v1.MintInstrumentResponse\x12\x81\x01\n\x04\x42urn\x12;.meshtrade.issuance_hub.instrument.v1.BurnInstrumentRequest\x1a<.meshtrade.issuance_hub.instrument.v1.BurnInstrumentResponseBEZCgithub.com/meshtrade/api/go/issuance_hub/instrument/v1;instrumentv1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.issuance_hub.instrument.v1.service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'ZCgithub.com/meshtrade/api/go/issuance_hub/instrument/v1;instrumentv1'
|
|
37
|
+
_globals['_GETINSTRUMENTREQUEST']._serialized_start=179
|
|
38
|
+
_globals['_GETINSTRUMENTREQUEST']._serialized_end=221
|
|
39
|
+
_globals['_GETINSTRUMENTRESPONSE']._serialized_start=223
|
|
40
|
+
_globals['_GETINSTRUMENTRESPONSE']._serialized_end=328
|
|
41
|
+
_globals['_MINTINSTRUMENTREQUEST']._serialized_start=331
|
|
42
|
+
_globals['_MINTINSTRUMENTREQUEST']._serialized_end=487
|
|
43
|
+
_globals['_MINTINSTRUMENTRESPONSE']._serialized_start=489
|
|
44
|
+
_globals['_MINTINSTRUMENTRESPONSE']._serialized_end=552
|
|
45
|
+
_globals['_BURNINSTRUMENTREQUEST']._serialized_start=555
|
|
46
|
+
_globals['_BURNINSTRUMENTREQUEST']._serialized_end=701
|
|
47
|
+
_globals['_BURNINSTRUMENTRESPONSE']._serialized_start=703
|
|
48
|
+
_globals['_BURNINSTRUMENTRESPONSE']._serialized_end=766
|
|
49
|
+
_globals['_INSTRUMENTSERVICE']._serialized_start=769
|
|
50
|
+
_globals['_INSTRUMENTSERVICE']._serialized_end=1180
|
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
from meshtrade.issuance_hub.instrument.v1 import instrument_pb2 as _instrument_pb2
|
|
2
|
+
from meshtrade.type.v1 import amount_pb2 as _amount_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class GetInstrumentRequest(_message.Message):
|
|
11
|
+
__slots__ = ("name",)
|
|
12
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
name: str
|
|
14
|
+
def __init__(self, name: _Optional[str] = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class GetInstrumentResponse(_message.Message):
|
|
17
|
+
__slots__ = ("instrument",)
|
|
18
|
+
INSTRUMENT_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
instrument: _instrument_pb2.Instrument
|
|
20
|
+
def __init__(self, instrument: _Optional[_Union[_instrument_pb2.Instrument, _Mapping]] = ...) -> None: ...
|
|
21
|
+
|
|
22
|
+
class MintInstrumentRequest(_message.Message):
|
|
23
|
+
__slots__ = ("amount", "fee_account", "destination_account")
|
|
24
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
FEE_ACCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
DESTINATION_ACCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
amount: _amount_pb2.Amount
|
|
28
|
+
fee_account: str
|
|
29
|
+
destination_account: str
|
|
30
|
+
def __init__(self, amount: _Optional[_Union[_amount_pb2.Amount, _Mapping]] = ..., fee_account: _Optional[str] = ..., destination_account: _Optional[str] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class MintInstrumentResponse(_message.Message):
|
|
33
|
+
__slots__ = ("transaction_id",)
|
|
34
|
+
TRANSACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
transaction_id: str
|
|
36
|
+
def __init__(self, transaction_id: _Optional[str] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class BurnInstrumentRequest(_message.Message):
|
|
39
|
+
__slots__ = ("amount", "fee_account", "source_account")
|
|
40
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
FEE_ACCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
SOURCE_ACCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
amount: _amount_pb2.Amount
|
|
44
|
+
fee_account: str
|
|
45
|
+
source_account: str
|
|
46
|
+
def __init__(self, amount: _Optional[_Union[_amount_pb2.Amount, _Mapping]] = ..., fee_account: _Optional[str] = ..., source_account: _Optional[str] = ...) -> None: ...
|
|
47
|
+
|
|
48
|
+
class BurnInstrumentResponse(_message.Message):
|
|
49
|
+
__slots__ = ("transaction_id",)
|
|
50
|
+
TRANSACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
transaction_id: str
|
|
52
|
+
def __init__(self, transaction_id: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/ledger/transaction/v1/transaction_action.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/ledger/transaction/v1/transaction_action.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
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\x42\x41Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.ledger.transaction.v1.transaction_action_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1'
|
|
35
|
+
_globals['_TRANSACTIONACTION']._serialized_start=94
|
|
36
|
+
_globals['_TRANSACTIONACTION']._serialized_end=342
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from typing import ClassVar as _ClassVar
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class TransactionAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
8
|
+
__slots__ = ()
|
|
9
|
+
TRANSACTION_ACTION_UNSPECIFIED: _ClassVar[TransactionAction]
|
|
10
|
+
TRANSACTION_ACTION_DO_NOTHING: _ClassVar[TransactionAction]
|
|
11
|
+
TRANSACTION_ACTION_BUILD: _ClassVar[TransactionAction]
|
|
12
|
+
TRANSACTION_ACTION_COMMIT: _ClassVar[TransactionAction]
|
|
13
|
+
TRANSACTION_ACTION_SIGN: _ClassVar[TransactionAction]
|
|
14
|
+
TRANSACTION_ACTION_MARK_PENDING: _ClassVar[TransactionAction]
|
|
15
|
+
TRANSACTION_ACTION_SUBMIT: _ClassVar[TransactionAction]
|
|
16
|
+
TRANSACTION_ACTION_UNSPECIFIED: TransactionAction
|
|
17
|
+
TRANSACTION_ACTION_DO_NOTHING: TransactionAction
|
|
18
|
+
TRANSACTION_ACTION_BUILD: TransactionAction
|
|
19
|
+
TRANSACTION_ACTION_COMMIT: TransactionAction
|
|
20
|
+
TRANSACTION_ACTION_SIGN: TransactionAction
|
|
21
|
+
TRANSACTION_ACTION_MARK_PENDING: TransactionAction
|
|
22
|
+
TRANSACTION_ACTION_SUBMIT: TransactionAction
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/ledger/transaction/v1/transaction_state.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/ledger/transaction/v1/transaction_state.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
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\x42\x41Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.ledger.transaction.v1.transaction_state_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z?github.com/meshtrade/api/go/ledger/transaction/v1;transactionv1'
|
|
35
|
+
_globals['_TRANSACTIONSTATE']._serialized_start=93
|
|
36
|
+
_globals['_TRANSACTIONSTATE']._serialized_end=396
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from typing import ClassVar as _ClassVar
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class TransactionState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
8
|
+
__slots__ = ()
|
|
9
|
+
TRANSACTION_STATE_UNSPECIFIED: _ClassVar[TransactionState]
|
|
10
|
+
TRANSACTION_STATE_DRAFT: _ClassVar[TransactionState]
|
|
11
|
+
TRANSACTION_STATE_SIGNING_IN_PROGRESS: _ClassVar[TransactionState]
|
|
12
|
+
TRANSACTION_STATE_PENDING: _ClassVar[TransactionState]
|
|
13
|
+
TRANSACTION_STATE_SUBMISSION_IN_PROGRESS: _ClassVar[TransactionState]
|
|
14
|
+
TRANSACTION_STATE_FAILED: _ClassVar[TransactionState]
|
|
15
|
+
TRANSACTION_STATE_INDETERMINATE: _ClassVar[TransactionState]
|
|
16
|
+
TRANSACTION_STATE_SUCCESSFUL: _ClassVar[TransactionState]
|
|
17
|
+
TRANSACTION_STATE_UNSPECIFIED: TransactionState
|
|
18
|
+
TRANSACTION_STATE_DRAFT: TransactionState
|
|
19
|
+
TRANSACTION_STATE_SIGNING_IN_PROGRESS: TransactionState
|
|
20
|
+
TRANSACTION_STATE_PENDING: TransactionState
|
|
21
|
+
TRANSACTION_STATE_SUBMISSION_IN_PROGRESS: TransactionState
|
|
22
|
+
TRANSACTION_STATE_FAILED: TransactionState
|
|
23
|
+
TRANSACTION_STATE_INDETERMINATE: TransactionState
|
|
24
|
+
TRANSACTION_STATE_SUCCESSFUL: TransactionState
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/option/v1/auth.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/option/v1/auth.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emeshtrade/option/v1/auth.proto\x12\x13meshtrade.option.v1\x1a google/protobuf/descriptor.proto\"D\n\x0cStandardRole\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0bpermissions\x18\x02 \x03(\tR\x0bpermissions\"8\n\x14PermissionStringList\x12 \n\x0bpermissions\x18\x01 \x03(\tR\x0bpermissions\",\n\x14StandardRoleNameList\x12\x14\n\x05roles\x18\x01 \x03(\tR\x05roles\"K\n\x10StandardRoleList\x12\x37\n\x05roles\x18\x01 \x03(\x0b\x32!.meshtrade.option.v1.StandardRoleR\x05roles:~\n\x14required_permissions\x12\x1e.google.protobuf.MethodOptions\x18\xd1\x86\x03 \x01(\x0b\x32).meshtrade.option.v1.PermissionStringListR\x13requiredPermissions:r\n\x0erequired_roles\x12\x1e.google.protobuf.MethodOptions\x18\xd2\x86\x03 \x01(\x0b\x32).meshtrade.option.v1.StandardRoleNameListR\rrequiredRoles:l\n\x0estandard_roles\x12\x1c.google.protobuf.FileOptions\x18\xd3\x86\x03 \x01(\x0b\x32%.meshtrade.option.v1.StandardRoleListR\rstandardRolesB0Z.github.com/meshtrade/api/go/option/v1;optionv1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.option.v1.auth_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/meshtrade/api/go/option/v1;optionv1'
|
|
36
|
+
_globals['_STANDARDROLE']._serialized_start=89
|
|
37
|
+
_globals['_STANDARDROLE']._serialized_end=157
|
|
38
|
+
_globals['_PERMISSIONSTRINGLIST']._serialized_start=159
|
|
39
|
+
_globals['_PERMISSIONSTRINGLIST']._serialized_end=215
|
|
40
|
+
_globals['_STANDARDROLENAMELIST']._serialized_start=217
|
|
41
|
+
_globals['_STANDARDROLENAMELIST']._serialized_end=261
|
|
42
|
+
_globals['_STANDARDROLELIST']._serialized_start=263
|
|
43
|
+
_globals['_STANDARDROLELIST']._serialized_end=338
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
REQUIRED_PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
10
|
+
required_permissions: _descriptor.FieldDescriptor
|
|
11
|
+
REQUIRED_ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
required_roles: _descriptor.FieldDescriptor
|
|
13
|
+
STANDARD_ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
standard_roles: _descriptor.FieldDescriptor
|
|
15
|
+
|
|
16
|
+
class StandardRole(_message.Message):
|
|
17
|
+
__slots__ = ("name", "permissions")
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
name: str
|
|
21
|
+
permissions: _containers.RepeatedScalarFieldContainer[str]
|
|
22
|
+
def __init__(self, name: _Optional[str] = ..., permissions: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
23
|
+
|
|
24
|
+
class PermissionStringList(_message.Message):
|
|
25
|
+
__slots__ = ("permissions",)
|
|
26
|
+
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
permissions: _containers.RepeatedScalarFieldContainer[str]
|
|
28
|
+
def __init__(self, permissions: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class StandardRoleNameList(_message.Message):
|
|
31
|
+
__slots__ = ("roles",)
|
|
32
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
34
|
+
def __init__(self, roles: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
35
|
+
|
|
36
|
+
class StandardRoleList(_message.Message):
|
|
37
|
+
__slots__ = ("roles",)
|
|
38
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
roles: _containers.RepeatedCompositeFieldContainer[StandardRole]
|
|
40
|
+
def __init__(self, roles: _Optional[_Iterable[_Union[StandardRole, _Mapping]]] = ...) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/option/v1/service_type.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/option/v1/service_type.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&meshtrade/option/v1/service_type.proto\x12\x13meshtrade.option.v1\x1a google/protobuf/descriptor.proto*Z\n\x0bServiceType\x12\x1c\n\x18SERVICE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11SERVICE_TYPE_READ\x10\x01\x12\x16\n\x12SERVICE_TYPE_WRITE\x10\x02:e\n\x0cservice_type\x12\x1e.google.protobuf.MethodOptions\x18\xd4\x86\x03 \x01(\x0e\x32 .meshtrade.option.v1.ServiceTypeR\x0bserviceTypeB0Z.github.com/meshtrade/api/go/option/v1;optionv1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.option.v1.service_type_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z.github.com/meshtrade/api/go/option/v1;optionv1'
|
|
36
|
+
_globals['_SERVICETYPE']._serialized_start=97
|
|
37
|
+
_globals['_SERVICETYPE']._serialized_end=187
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from typing import ClassVar as _ClassVar
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class ServiceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
9
|
+
__slots__ = ()
|
|
10
|
+
SERVICE_TYPE_UNSPECIFIED: _ClassVar[ServiceType]
|
|
11
|
+
SERVICE_TYPE_READ: _ClassVar[ServiceType]
|
|
12
|
+
SERVICE_TYPE_WRITE: _ClassVar[ServiceType]
|
|
13
|
+
SERVICE_TYPE_UNSPECIFIED: ServiceType
|
|
14
|
+
SERVICE_TYPE_READ: ServiceType
|
|
15
|
+
SERVICE_TYPE_WRITE: ServiceType
|
|
16
|
+
SERVICE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
service_type: _descriptor.FieldDescriptor
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/trading/direct_order/v1/direct_order.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'meshtrade/trading/direct_order/v1/direct_order.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4meshtrade/trading/direct_order/v1/direct_order.proto\x12!meshtrade.trading.direct_order.v1\"%\n\x0b\x44irectOrder\x12\x16\n\x06number\x18\x01 \x01(\tR\x06numberBCZAgithub.com/meshtrade/api/go/trading/direct_order/v1;directorderv1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.trading.direct_order.v1.direct_order_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'ZAgithub.com/meshtrade/api/go/trading/direct_order/v1;directorderv1'
|
|
35
|
+
_globals['_DIRECTORDER']._serialized_start=91
|
|
36
|
+
_globals['_DIRECTORDER']._serialized_end=128
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|