meshtrade 1.23.1__tar.gz → 1.25.0__tar.gz
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-1.23.1 → meshtrade-1.25.0}/PKG-INFO +1 -1
- {meshtrade-1.23.1 → meshtrade-1.25.0}/pyproject.toml +1 -1
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/__init__.py +0 -12
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.py +3 -8
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.pyi +3 -7
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/__init__.py +4 -4
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.py +7 -7
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py +12 -12
- meshtrade-1.25.0/python/src/meshtrade/iam/api_user/v1/service_pb2.py +99 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.pyi +10 -10
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py +22 -22
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role.py +14 -14
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/__init__.py +4 -2
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_meshpy.py +23 -6
- meshtrade-1.25.0/python/src/meshtrade/iam/user/v1/service_pb2.py +96 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_pb2.pyi +13 -5
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_pb2_grpc.py +60 -11
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2.py +3 -3
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/PKG-INFO +1 -1
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/SOURCES.txt +0 -2
- meshtrade-1.23.1/python/src/meshtrade/compliance/client/v1/client_roles.py +0 -123
- meshtrade-1.23.1/python/src/meshtrade/iam/api_user/v1/service.py +0 -58
- meshtrade-1.23.1/python/src/meshtrade/iam/api_user/v1/service_pb2.py +0 -99
- meshtrade-1.23.1/python/src/meshtrade/iam/user/v1/service_pb2.py +0 -88
- {meshtrade-1.23.1 → meshtrade-1.25.0}/README.md +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/buf/validate/validate_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/buf/validate/validate_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/common/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/common/config.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/common/grpc_client.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/common/service_options.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_state_machine.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_machine.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_built_in_conversions.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_operations.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/__init__.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_meshpy.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2.pyi +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/dependency_links.txt +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/requires.txt +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/top_level.txt +0 -0
- {meshtrade-1.23.1 → meshtrade-1.25.0}/setup.cfg +0 -0
|
@@ -55,13 +55,6 @@ from .service_meshpy import (
|
|
|
55
55
|
#
|
|
56
56
|
# ===================================================================
|
|
57
57
|
|
|
58
|
-
from .client_roles import (
|
|
59
|
-
get_client_default_role_index,
|
|
60
|
-
get_client_default_roles,
|
|
61
|
-
must_get_client_default_role_index,
|
|
62
|
-
must_get_client_default_roles,
|
|
63
|
-
)
|
|
64
|
-
|
|
65
58
|
# ===================================================================
|
|
66
59
|
# MODULE EXPORTS
|
|
67
60
|
# ===================================================================
|
|
@@ -91,9 +84,4 @@ __all__ = [
|
|
|
91
84
|
"TaxResidency",
|
|
92
85
|
"Trust",
|
|
93
86
|
"VerificationStatus",
|
|
94
|
-
# Manual exports
|
|
95
|
-
"get_client_default_role_index",
|
|
96
|
-
"get_client_default_roles",
|
|
97
|
-
"must_get_client_default_role_index",
|
|
98
|
-
"must_get_client_default_roles",
|
|
99
87
|
]
|
{meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.py
RENAMED
|
@@ -25,14 +25,13 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
from meshtrade.compliance.client.v1 import company_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_company__pb2
|
|
28
|
-
from meshtrade.iam.role.v1 import role_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_role__pb2
|
|
29
28
|
from meshtrade.compliance.client.v1 import fund_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_fund__pb2
|
|
30
29
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_natural__person__pb2
|
|
31
30
|
from meshtrade.compliance.client.v1 import trust_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_trust__pb2
|
|
32
31
|
from meshtrade.compliance.client.v1 import verification_status_pb2 as meshtrade_dot_compliance_dot_client_dot_v1_dot_verification__status__pb2
|
|
33
32
|
|
|
34
33
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+meshtrade/compliance/client/v1/client.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,meshtrade/compliance/client/v1/company.proto\x1a
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+meshtrade/compliance/client/v1/client.proto\x12\x1emeshtrade.compliance.client.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,meshtrade/compliance/client/v1/company.proto\x1a)meshtrade/compliance/client/v1/fund.proto\x1a\x33meshtrade/compliance/client/v1/natural_person.proto\x1a*meshtrade/compliance/client/v1/trust.proto\x1a\x38meshtrade/compliance/client/v1/verification_status.proto\"\x8c\t\n\x06\x43lient\x12\xbe\x01\n\x04name\x18\x01 \x01(\tB\xa9\x01\xbaH\xa5\x01\xba\x01\xa1\x01\n\x14name.format.optional\x12\x34name must be empty or in the format clients/{ULIDv2}\x1aSsize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x04name\x12R\n\x05owner\x18\x02 \x01(\tB<\xbaH9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x05owner\x12\x30\n\x0c\x64isplay_name\x18\x03 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x0b\x64isplayName\x12V\n\x0enatural_person\x18\x04 \x01(\x0b\x32-.meshtrade.compliance.client.v1.NaturalPersonH\x00R\rnaturalPerson\x12\x43\n\x07\x63ompany\x18\x05 \x01(\x0b\x32\'.meshtrade.compliance.client.v1.CompanyH\x00R\x07\x63ompany\x12:\n\x04\x66und\x18\x06 \x01(\x0b\x32$.meshtrade.compliance.client.v1.FundH\x00R\x04\x66und\x12=\n\x05trust\x18\x07 \x01(\x0b\x32%.meshtrade.compliance.client.v1.TrustH\x00R\x05trust\x12p\n\x13verification_status\x18\x08 \x01(\x0e\x32\x32.meshtrade.compliance.client.v1.VerificationStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x12verificationStatus\x12\x85\x02\n\x16verification_authority\x18\t \x01(\tB\xcd\x01\xbaH\xc9\x01\xba\x01\xc5\x01\n&verification_authority.format.optional\x12\x46verification_authority must be empty or in the format clients/{ULIDv2}\x1aSsize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x15verificationAuthority\x12G\n\x11verification_date\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x10verificationDate\x12P\n\x16next_verification_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x14nextVerificationDateB\x0e\n\x0clegal_personBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
|
|
36
35
|
|
|
37
36
|
_globals = globals()
|
|
38
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,10 +49,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
49
|
_globals['_CLIENT'].fields_by_name['verification_status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
51
50
|
_globals['_CLIENT'].fields_by_name['verification_authority']._loaded_options = None
|
|
52
51
|
_globals['_CLIENT'].fields_by_name['verification_authority']._serialized_options = b'\272H\311\001\272\001\305\001\n&verification_authority.format.optional\022Fverification_authority must be empty or in the format clients/{ULIDv2}\032Ssize(this) == 0 || this.matches(\'^clients/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')'
|
|
53
|
-
_globals['_CLIENT'].
|
|
54
|
-
_globals['_CLIENT'].
|
|
55
|
-
_globals['_CLIENT']._loaded_options = None
|
|
56
|
-
_globals['_CLIENT']._serialized_options = b'\262\265\030\025\n\023\203\211z\301\215\267\001\303\215\267\001\305\215\267\001\307\215\267\001'
|
|
57
|
-
_globals['_CLIENT']._serialized_start=420
|
|
58
|
-
_globals['_CLIENT']._serialized_end=1680
|
|
52
|
+
_globals['_CLIENT']._serialized_start=386
|
|
53
|
+
_globals['_CLIENT']._serialized_end=1550
|
|
59
54
|
# @@protoc_insertion_point(module_scope)
|
{meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.pyi
RENAMED
|
@@ -3,21 +3,19 @@ import datetime
|
|
|
3
3
|
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
4
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
5
|
from meshtrade.compliance.client.v1 import company_pb2 as _company_pb2
|
|
6
|
-
from meshtrade.iam.role.v1 import role_pb2 as _role_pb2
|
|
7
6
|
from meshtrade.compliance.client.v1 import fund_pb2 as _fund_pb2
|
|
8
7
|
from meshtrade.compliance.client.v1 import natural_person_pb2 as _natural_person_pb2
|
|
9
8
|
from meshtrade.compliance.client.v1 import trust_pb2 as _trust_pb2
|
|
10
9
|
from meshtrade.compliance.client.v1 import verification_status_pb2 as _verification_status_pb2
|
|
11
|
-
from google.protobuf.internal import containers as _containers
|
|
12
10
|
from google.protobuf import descriptor as _descriptor
|
|
13
11
|
from google.protobuf import message as _message
|
|
14
|
-
from collections.abc import
|
|
12
|
+
from collections.abc import Mapping as _Mapping
|
|
15
13
|
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
16
14
|
|
|
17
15
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
18
16
|
|
|
19
17
|
class Client(_message.Message):
|
|
20
|
-
__slots__ = ("name", "owner", "display_name", "natural_person", "company", "fund", "trust", "verification_status", "verification_authority", "verification_date", "next_verification_date"
|
|
18
|
+
__slots__ = ("name", "owner", "display_name", "natural_person", "company", "fund", "trust", "verification_status", "verification_authority", "verification_date", "next_verification_date")
|
|
21
19
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
22
20
|
OWNER_FIELD_NUMBER: _ClassVar[int]
|
|
23
21
|
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -29,7 +27,6 @@ class Client(_message.Message):
|
|
|
29
27
|
VERIFICATION_AUTHORITY_FIELD_NUMBER: _ClassVar[int]
|
|
30
28
|
VERIFICATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
31
29
|
NEXT_VERIFICATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
-
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
33
30
|
name: str
|
|
34
31
|
owner: str
|
|
35
32
|
display_name: str
|
|
@@ -41,5 +38,4 @@ class Client(_message.Message):
|
|
|
41
38
|
verification_authority: str
|
|
42
39
|
verification_date: _timestamp_pb2.Timestamp
|
|
43
40
|
next_verification_date: _timestamp_pb2.Timestamp
|
|
44
|
-
|
|
45
|
-
def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ..., display_name: _Optional[str] = ..., natural_person: _Optional[_Union[_natural_person_pb2.NaturalPerson, _Mapping]] = ..., company: _Optional[_Union[_company_pb2.Company, _Mapping]] = ..., fund: _Optional[_Union[_fund_pb2.Fund, _Mapping]] = ..., trust: _Optional[_Union[_trust_pb2.Trust, _Mapping]] = ..., verification_status: _Optional[_Union[_verification_status_pb2.VerificationStatus, str]] = ..., verification_authority: _Optional[str] = ..., verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., next_verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[_role_pb2.Role, str]]] = ...) -> None: ...
|
|
41
|
+
def __init__(self, name: _Optional[str] = ..., owner: _Optional[str] = ..., display_name: _Optional[str] = ..., natural_person: _Optional[_Union[_natural_person_pb2.NaturalPerson, _Mapping]] = ..., company: _Optional[_Union[_company_pb2.Company, _Mapping]] = ..., fund: _Optional[_Union[_fund_pb2.Fund, _Mapping]] = ..., trust: _Optional[_Union[_trust_pb2.Trust, _Mapping]] = ..., verification_status: _Optional[_Union[_verification_status_pb2.VerificationStatus, str]] = ..., verification_authority: _Optional[str] = ..., verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., next_verification_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
@@ -17,14 +17,14 @@ from .api_credentials_pb2 import APICredentials
|
|
|
17
17
|
from .api_user_pb2 import APIUser, APIUserAction, APIUserState
|
|
18
18
|
from .service_pb2 import (
|
|
19
19
|
ActivateApiUserRequest,
|
|
20
|
-
|
|
20
|
+
AssignRolesToAPIUserRequest,
|
|
21
21
|
CreateApiUserRequest,
|
|
22
22
|
DeactivateApiUserRequest,
|
|
23
23
|
GetApiUserByKeyHashRequest,
|
|
24
24
|
GetApiUserRequest,
|
|
25
25
|
ListApiUsersRequest,
|
|
26
26
|
ListApiUsersResponse,
|
|
27
|
-
|
|
27
|
+
RevokeRolesFromAPIUserRequest,
|
|
28
28
|
SearchApiUsersRequest,
|
|
29
29
|
SearchApiUsersResponse,
|
|
30
30
|
)
|
|
@@ -82,14 +82,14 @@ __all__ = [
|
|
|
82
82
|
"ApiUserService",
|
|
83
83
|
"ApiUserServiceGRPCClient",
|
|
84
84
|
"ApiUserServiceGRPCClientInterface",
|
|
85
|
-
"
|
|
85
|
+
"AssignRolesToAPIUserRequest",
|
|
86
86
|
"CreateApiUserRequest",
|
|
87
87
|
"DeactivateApiUserRequest",
|
|
88
88
|
"GetApiUserByKeyHashRequest",
|
|
89
89
|
"GetApiUserRequest",
|
|
90
90
|
"ListApiUsersRequest",
|
|
91
91
|
"ListApiUsersResponse",
|
|
92
|
-
"
|
|
92
|
+
"RevokeRolesFromAPIUserRequest",
|
|
93
93
|
"SearchApiUsersRequest",
|
|
94
94
|
"SearchApiUsersResponse",
|
|
95
95
|
# Manual exports
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(meshtrade/iam/api_user/v1/api_user.proto\x12\x19meshtrade.iam.api_user.v1\x1a\x1b\x62uf/validate/validate.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(meshtrade/iam/api_user/v1/api_user.proto\x12\x19meshtrade.iam.api_user.v1\x1a\x1b\x62uf/validate/validate.proto\"\xa0\x06\n\x07\x41PIUser\x12\xc2\x01\n\x04name\x18\x01 \x01(\tB\xad\x01\xbaH\xa9\x01\xba\x01\xa5\x01\n\x14name.format.optional\x12\x36name must be empty or in the format api_users/{ULIDv2}\x1aUsize(this) == 0 || this.matches(\'^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\')R\x04name\x12R\n\x05owner\x18\x02 \x01(\tB<\xbaH9r42/^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01!\xc8\x01\x01R\x05owner\x12\xb4\x01\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x90\x01\xbaH\x8c\x01r\x05\x10\x01\x18\xff\x01\xba\x01\x7f\n\x15\x64isplay_name.required\x12\x41\x64isplay name is required and must be between 1 and 255 characters\x1a#size(this) > 0 && size(this) <= 255\xc8\x01\x01R\x0b\x64isplayName\x12\xbe\x01\n\x05state\x18\x04 \x01(\x0e\x32\'.meshtrade.iam.api_user.v1.APIUserStateB\x7f\xbaH|\x82\x01\x02\x10\x01\xba\x01t\n\x0bstate.valid\x12/state must be a valid APIUserState if specified\x1a\x34int(this) == 0 || (int(this) >= 1 && int(this) <= 2)R\x05state\x12k\n\x05roles\x18\x05 \x03(\tBU\xbaHR\x92\x01O\"MrK\x10/\x18\x30\x32\x45^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$R\x05roles\x12\x17\n\x07\x61pi_key\x18\x06 \x01(\tR\x06\x61piKey*f\n\x0c\x41PIUserState\x12\x1e\n\x1a\x41PI_USER_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41PI_USER_STATE_ACTIVE\x10\x01\x12\x1b\n\x17\x41PI_USER_STATE_INACTIVE\x10\x02*\xa6\x01\n\rAPIUserAction\x12\x1f\n\x1b\x41PI_USER_ACTION_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41PI_USER_ACTION_ACTIVATE\x10\x01\x12\x1e\n\x1a\x41PI_USER_ACTION_DEACTIVATE\x10\x02\x12\x1a\n\x16\x41PI_USER_ACTION_CREATE\x10\x03\x12\x1a\n\x16\x41PI_USER_ACTION_UPDATE\x10\x04\x42[\n co.meshtrade.api.iam.api_user.v1Z7github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,11 +42,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_APIUSER'].fields_by_name['state']._loaded_options = None
|
|
43
43
|
_globals['_APIUSER'].fields_by_name['state']._serialized_options = b'\272H|\202\001\002\020\001\272\001t\n\013state.valid\022/state must be a valid APIUserState if specified\0324int(this) == 0 || (int(this) >= 1 && int(this) <= 2)'
|
|
44
44
|
_globals['_APIUSER'].fields_by_name['roles']._loaded_options = None
|
|
45
|
-
_globals['_APIUSER'].fields_by_name['roles']._serialized_options = b'\
|
|
46
|
-
_globals['_APIUSERSTATE']._serialized_start=
|
|
47
|
-
_globals['_APIUSERSTATE']._serialized_end=
|
|
48
|
-
_globals['_APIUSERACTION']._serialized_start=
|
|
49
|
-
_globals['_APIUSERACTION']._serialized_end=
|
|
45
|
+
_globals['_APIUSER'].fields_by_name['roles']._serialized_options = b'\272HR\222\001O\"MrK\020/\03002E^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$'
|
|
46
|
+
_globals['_APIUSERSTATE']._serialized_start=903
|
|
47
|
+
_globals['_APIUSERSTATE']._serialized_end=1005
|
|
48
|
+
_globals['_APIUSERACTION']._serialized_start=1008
|
|
49
|
+
_globals['_APIUSERACTION']._serialized_end=1174
|
|
50
50
|
_globals['_APIUSER']._serialized_start=101
|
|
51
|
-
_globals['_APIUSER']._serialized_end=
|
|
51
|
+
_globals['_APIUSER']._serialized_end=901
|
|
52
52
|
# @@protoc_insertion_point(module_scope)
|
{meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py
RENAMED
|
@@ -20,14 +20,14 @@ from .api_user_pb2 import APIUser
|
|
|
20
20
|
from meshtrade.common.service_options import ServiceOptions
|
|
21
21
|
from .service_pb2 import (
|
|
22
22
|
ActivateApiUserRequest,
|
|
23
|
-
|
|
23
|
+
AssignRolesToAPIUserRequest,
|
|
24
24
|
CreateApiUserRequest,
|
|
25
25
|
DeactivateApiUserRequest,
|
|
26
26
|
GetApiUserByKeyHashRequest,
|
|
27
27
|
GetApiUserRequest,
|
|
28
28
|
ListApiUsersRequest,
|
|
29
29
|
ListApiUsersResponse,
|
|
30
|
-
|
|
30
|
+
RevokeRolesFromAPIUserRequest,
|
|
31
31
|
SearchApiUsersRequest,
|
|
32
32
|
SearchApiUsersResponse,
|
|
33
33
|
)
|
|
@@ -172,37 +172,37 @@ class ApiUserService(BaseGRPCClient):
|
|
|
172
172
|
"""
|
|
173
173
|
return self._execute_method("CreateApiUser", request, timeout)
|
|
174
174
|
|
|
175
|
-
def
|
|
176
|
-
"""
|
|
175
|
+
def assign_roles_to_apiuser(self, request: AssignRolesToAPIUserRequest, timeout: Optional[timedelta] = None) -> APIUser:
|
|
176
|
+
"""AssignRolesToAPIUser method.
|
|
177
177
|
|
|
178
178
|
Args:
|
|
179
|
-
request: The
|
|
179
|
+
request: The AssignRolesToAPIUser request message
|
|
180
180
|
timeout: Optional timeout override for this call
|
|
181
181
|
|
|
182
182
|
Returns:
|
|
183
|
-
The
|
|
183
|
+
The AssignRolesToAPIUser response message
|
|
184
184
|
|
|
185
185
|
Raises:
|
|
186
186
|
grpc.RpcError: If the gRPC call fails
|
|
187
187
|
ValueError: If authentication credentials are missing
|
|
188
188
|
"""
|
|
189
|
-
return self._execute_method("
|
|
189
|
+
return self._execute_method("AssignRolesToAPIUser", request, timeout)
|
|
190
190
|
|
|
191
|
-
def
|
|
192
|
-
"""
|
|
191
|
+
def revoke_roles_from_apiuser(self, request: RevokeRolesFromAPIUserRequest, timeout: Optional[timedelta] = None) -> APIUser:
|
|
192
|
+
"""RevokeRolesFromAPIUser method.
|
|
193
193
|
|
|
194
194
|
Args:
|
|
195
|
-
request: The
|
|
195
|
+
request: The RevokeRolesFromAPIUser request message
|
|
196
196
|
timeout: Optional timeout override for this call
|
|
197
197
|
|
|
198
198
|
Returns:
|
|
199
|
-
The
|
|
199
|
+
The RevokeRolesFromAPIUser response message
|
|
200
200
|
|
|
201
201
|
Raises:
|
|
202
202
|
grpc.RpcError: If the gRPC call fails
|
|
203
203
|
ValueError: If authentication credentials are missing
|
|
204
204
|
"""
|
|
205
|
-
return self._execute_method("
|
|
205
|
+
return self._execute_method("RevokeRolesFromAPIUser", request, timeout)
|
|
206
206
|
|
|
207
207
|
def list_api_users(self, request: ListApiUsersRequest, timeout: Optional[timedelta] = None) -> ListApiUsersResponse:
|
|
208
208
|
"""ListApiUsers method.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: meshtrade/iam/api_user/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/api_user/v1/service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from meshtrade.iam.api_user.v1 import api_user_pb2 as meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2
|
|
27
|
+
from meshtrade.iam.role.v1 import role_pb2 as meshtrade_dot_iam_dot_role_dot_v1_dot_role__pb2
|
|
28
|
+
from meshtrade.option.v1 import method_type_pb2 as meshtrade_dot_option_dot_v1_dot_method__type__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'meshtrade/iam/api_user/v1/service.proto\x12\x19meshtrade.iam.api_user.v1\x1a\x1b\x62uf/validate/validate.proto\x1a(meshtrade/iam/api_user/v1/api_user.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\"h\n\x11GetApiUserRequest\x12S\n\x04name\x18\x01 \x01(\tB?\xbaH<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name\"Z\n\x1aGetApiUserByKeyHashRequest\x12<\n\x08key_hash\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x14^[A-Za-z0-9+/]{43}=$\x98\x01,\xc8\x01\x01R\x07keyHash\"]\n\x14\x43reateApiUserRequest\x12\x45\n\x08\x61pi_user\x18\x01 \x01(\x0b\x32\".meshtrade.iam.api_user.v1.APIUserB\x06\xbaH\x03\xc8\x01\x01R\x07\x61piUser\"\xe2\x01\n\x1b\x41ssignRolesToAPIUserRequest\x12S\n\x04name\x18\x01 \x01(\tB?\xbaH<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name\x12n\n\x05roles\x18\x02 \x03(\tBX\xbaHU\x92\x01O\"MrK\x10/\x18\x30\x32\x45^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$\xc8\x01\x01R\x05roles\"\xe4\x01\n\x1dRevokeRolesFromAPIUserRequest\x12S\n\x04name\x18\x01 \x01(\tB?\xbaH<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name\x12n\n\x05roles\x18\x02 \x03(\tBX\xbaHU\x92\x01O\"MrK\x10/\x18\x30\x32\x45^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$\xc8\x01\x01R\x05roles\"\x15\n\x13ListApiUsersRequest\"W\n\x14ListApiUsersResponse\x12?\n\tapi_users\x18\x01 \x03(\x0b\x32\".meshtrade.iam.api_user.v1.APIUserR\x08\x61piUsers\":\n\x15SearchApiUsersRequest\x12!\n\x0c\x64isplay_name\x18\x01 \x01(\tR\x0b\x64isplayName\"Y\n\x16SearchApiUsersResponse\x12?\n\tapi_users\x18\x01 \x03(\x0b\x32\".meshtrade.iam.api_user.v1.APIUserR\x08\x61piUsers\"m\n\x16\x41\x63tivateApiUserRequest\x12S\n\x04name\x18\x01 \x01(\tB?\xbaH<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name\"o\n\x18\x44\x65\x61\x63tivateApiUserRequest\x12S\n\x04name\x18\x01 \x01(\tB?\xbaH<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name2\xce\t\n\x0e\x41piUserService\x12z\n\nGetApiUser\x12,.meshtrade.iam.api_user.v1.GetApiUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x8d\xb7\x01\xc1\x8d\xb7\x01\xc2\x8d\xb7\x01\xc3\x8d\xb7\x01\x12x\n\rCreateApiUser\x12/.meshtrade.iam.api_user.v1.CreateApiUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x12\xa0\xb5\x18\x02\xaa\xb5\x18\n\n\x08\xc0\x8d\xb7\x01\xc2\x8d\xb7\x01\x12\x86\x01\n\x14\x41ssignRolesToAPIUser\x12\x36.meshtrade.iam.api_user.v1.AssignRolesToAPIUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x12\xa0\xb5\x18\x02\xaa\xb5\x18\n\n\x08\xc0\x8d\xb7\x01\xc2\x8d\xb7\x01\x12\x8a\x01\n\x16RevokeRolesFromAPIUser\x12\x38.meshtrade.iam.api_user.v1.RevokeRolesFromAPIUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x12\xa0\xb5\x18\x02\xaa\xb5\x18\n\n\x08\xc0\x8d\xb7\x01\xc2\x8d\xb7\x01\x12\x8b\x01\n\x0cListApiUsers\x12..meshtrade.iam.api_user.v1.ListApiUsersRequest\x1a/.meshtrade.iam.api_user.v1.ListApiUsersResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x8d\xb7\x01\xc1\x8d\xb7\x01\xc2\x8d\xb7\x01\xc3\x8d\xb7\x01\x12\x91\x01\n\x0eSearchApiUsers\x12\x30.meshtrade.iam.api_user.v1.SearchApiUsersRequest\x1a\x31.meshtrade.iam.api_user.v1.SearchApiUsersResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x8d\xb7\x01\xc1\x8d\xb7\x01\xc2\x8d\xb7\x01\xc3\x8d\xb7\x01\x12|\n\x0f\x41\x63tivateApiUser\x12\x31.meshtrade.iam.api_user.v1.ActivateApiUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x12\xa0\xb5\x18\x02\xaa\xb5\x18\n\n\x08\xc0\x8d\xb7\x01\xc2\x8d\xb7\x01\x12\x80\x01\n\x11\x44\x65\x61\x63tivateApiUser\x12\x33.meshtrade.iam.api_user.v1.DeactivateApiUserRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x12\xa0\xb5\x18\x02\xaa\xb5\x18\n\n\x08\xc0\x8d\xb7\x01\xc2\x8d\xb7\x01\x12\x8c\x01\n\x13GetApiUserByKeyHash\x12\x35.meshtrade.iam.api_user.v1.GetApiUserByKeyHashRequest\x1a\".meshtrade.iam.api_user.v1.APIUser\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x8d\xb7\x01\xc1\x8d\xb7\x01\xc2\x8d\xb7\x01\xc3\x8d\xb7\x01\x42[\n co.meshtrade.api.iam.api_user.v1Z7github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1b\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.api_user.v1.service_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n co.meshtrade.api.iam.api_user.v1Z7github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1'
|
|
39
|
+
_globals['_GETAPIUSERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
40
|
+
_globals['_GETAPIUSERREQUEST'].fields_by_name['name']._serialized_options = b'\272H<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
|
|
41
|
+
_globals['_GETAPIUSERBYKEYHASHREQUEST'].fields_by_name['key_hash']._loaded_options = None
|
|
42
|
+
_globals['_GETAPIUSERBYKEYHASHREQUEST'].fields_by_name['key_hash']._serialized_options = b'\272H\036r\0312\024^[A-Za-z0-9+/]{43}=$\230\001,\310\001\001'
|
|
43
|
+
_globals['_CREATEAPIUSERREQUEST'].fields_by_name['api_user']._loaded_options = None
|
|
44
|
+
_globals['_CREATEAPIUSERREQUEST'].fields_by_name['api_user']._serialized_options = b'\272H\003\310\001\001'
|
|
45
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
46
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST'].fields_by_name['name']._serialized_options = b'\272H<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
|
|
47
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST'].fields_by_name['roles']._loaded_options = None
|
|
48
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST'].fields_by_name['roles']._serialized_options = b'\272HU\222\001O\"MrK\020/\03002E^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$\310\001\001'
|
|
49
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
50
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST'].fields_by_name['name']._serialized_options = b'\272H<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
|
|
51
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST'].fields_by_name['roles']._loaded_options = None
|
|
52
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST'].fields_by_name['roles']._serialized_options = b'\272HU\222\001O\"MrK\020/\03002E^groups/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}/roles/[1-9][0-9]{6,7}$\310\001\001'
|
|
53
|
+
_globals['_ACTIVATEAPIUSERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
54
|
+
_globals['_ACTIVATEAPIUSERREQUEST'].fields_by_name['name']._serialized_options = b'\272H<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
|
|
55
|
+
_globals['_DEACTIVATEAPIUSERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
56
|
+
_globals['_DEACTIVATEAPIUSERREQUEST'].fields_by_name['name']._serialized_options = b'\272H<r722^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
|
|
57
|
+
_globals['_APIUSERSERVICE'].methods_by_name['GetApiUser']._loaded_options = None
|
|
58
|
+
_globals['_APIUSERSERVICE'].methods_by_name['GetApiUser']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\215\267\001\301\215\267\001\302\215\267\001\303\215\267\001'
|
|
59
|
+
_globals['_APIUSERSERVICE'].methods_by_name['CreateApiUser']._loaded_options = None
|
|
60
|
+
_globals['_APIUSERSERVICE'].methods_by_name['CreateApiUser']._serialized_options = b'\240\265\030\002\252\265\030\n\n\010\300\215\267\001\302\215\267\001'
|
|
61
|
+
_globals['_APIUSERSERVICE'].methods_by_name['AssignRolesToAPIUser']._loaded_options = None
|
|
62
|
+
_globals['_APIUSERSERVICE'].methods_by_name['AssignRolesToAPIUser']._serialized_options = b'\240\265\030\002\252\265\030\n\n\010\300\215\267\001\302\215\267\001'
|
|
63
|
+
_globals['_APIUSERSERVICE'].methods_by_name['RevokeRolesFromAPIUser']._loaded_options = None
|
|
64
|
+
_globals['_APIUSERSERVICE'].methods_by_name['RevokeRolesFromAPIUser']._serialized_options = b'\240\265\030\002\252\265\030\n\n\010\300\215\267\001\302\215\267\001'
|
|
65
|
+
_globals['_APIUSERSERVICE'].methods_by_name['ListApiUsers']._loaded_options = None
|
|
66
|
+
_globals['_APIUSERSERVICE'].methods_by_name['ListApiUsers']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\215\267\001\301\215\267\001\302\215\267\001\303\215\267\001'
|
|
67
|
+
_globals['_APIUSERSERVICE'].methods_by_name['SearchApiUsers']._loaded_options = None
|
|
68
|
+
_globals['_APIUSERSERVICE'].methods_by_name['SearchApiUsers']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\215\267\001\301\215\267\001\302\215\267\001\303\215\267\001'
|
|
69
|
+
_globals['_APIUSERSERVICE'].methods_by_name['ActivateApiUser']._loaded_options = None
|
|
70
|
+
_globals['_APIUSERSERVICE'].methods_by_name['ActivateApiUser']._serialized_options = b'\240\265\030\002\252\265\030\n\n\010\300\215\267\001\302\215\267\001'
|
|
71
|
+
_globals['_APIUSERSERVICE'].methods_by_name['DeactivateApiUser']._loaded_options = None
|
|
72
|
+
_globals['_APIUSERSERVICE'].methods_by_name['DeactivateApiUser']._serialized_options = b'\240\265\030\002\252\265\030\n\n\010\300\215\267\001\302\215\267\001'
|
|
73
|
+
_globals['_APIUSERSERVICE'].methods_by_name['GetApiUserByKeyHash']._loaded_options = None
|
|
74
|
+
_globals['_APIUSERSERVICE'].methods_by_name['GetApiUserByKeyHash']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\215\267\001\301\215\267\001\302\215\267\001\303\215\267\001'
|
|
75
|
+
_globals['_GETAPIUSERREQUEST']._serialized_start=214
|
|
76
|
+
_globals['_GETAPIUSERREQUEST']._serialized_end=318
|
|
77
|
+
_globals['_GETAPIUSERBYKEYHASHREQUEST']._serialized_start=320
|
|
78
|
+
_globals['_GETAPIUSERBYKEYHASHREQUEST']._serialized_end=410
|
|
79
|
+
_globals['_CREATEAPIUSERREQUEST']._serialized_start=412
|
|
80
|
+
_globals['_CREATEAPIUSERREQUEST']._serialized_end=505
|
|
81
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST']._serialized_start=508
|
|
82
|
+
_globals['_ASSIGNROLESTOAPIUSERREQUEST']._serialized_end=734
|
|
83
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST']._serialized_start=737
|
|
84
|
+
_globals['_REVOKEROLESFROMAPIUSERREQUEST']._serialized_end=965
|
|
85
|
+
_globals['_LISTAPIUSERSREQUEST']._serialized_start=967
|
|
86
|
+
_globals['_LISTAPIUSERSREQUEST']._serialized_end=988
|
|
87
|
+
_globals['_LISTAPIUSERSRESPONSE']._serialized_start=990
|
|
88
|
+
_globals['_LISTAPIUSERSRESPONSE']._serialized_end=1077
|
|
89
|
+
_globals['_SEARCHAPIUSERSREQUEST']._serialized_start=1079
|
|
90
|
+
_globals['_SEARCHAPIUSERSREQUEST']._serialized_end=1137
|
|
91
|
+
_globals['_SEARCHAPIUSERSRESPONSE']._serialized_start=1139
|
|
92
|
+
_globals['_SEARCHAPIUSERSRESPONSE']._serialized_end=1228
|
|
93
|
+
_globals['_ACTIVATEAPIUSERREQUEST']._serialized_start=1230
|
|
94
|
+
_globals['_ACTIVATEAPIUSERREQUEST']._serialized_end=1339
|
|
95
|
+
_globals['_DEACTIVATEAPIUSERREQUEST']._serialized_start=1341
|
|
96
|
+
_globals['_DEACTIVATEAPIUSERREQUEST']._serialized_end=1452
|
|
97
|
+
_globals['_APIUSERSERVICE']._serialized_start=1455
|
|
98
|
+
_globals['_APIUSERSERVICE']._serialized_end=2685
|
|
99
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -28,21 +28,21 @@ class CreateApiUserRequest(_message.Message):
|
|
|
28
28
|
api_user: _api_user_pb2.APIUser
|
|
29
29
|
def __init__(self, api_user: _Optional[_Union[_api_user_pb2.APIUser, _Mapping]] = ...) -> None: ...
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
__slots__ = ("name", "
|
|
31
|
+
class AssignRolesToAPIUserRequest(_message.Message):
|
|
32
|
+
__slots__ = ("name", "roles")
|
|
33
33
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
-
|
|
34
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
35
35
|
name: str
|
|
36
|
-
|
|
37
|
-
def __init__(self, name: _Optional[str] = ...,
|
|
36
|
+
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
37
|
+
def __init__(self, name: _Optional[str] = ..., roles: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
38
38
|
|
|
39
|
-
class
|
|
40
|
-
__slots__ = ("name", "
|
|
39
|
+
class RevokeRolesFromAPIUserRequest(_message.Message):
|
|
40
|
+
__slots__ = ("name", "roles")
|
|
41
41
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
-
|
|
42
|
+
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
43
43
|
name: str
|
|
44
|
-
|
|
45
|
-
def __init__(self, name: _Optional[str] = ...,
|
|
44
|
+
roles: _containers.RepeatedScalarFieldContainer[str]
|
|
45
|
+
def __init__(self, name: _Optional[str] = ..., roles: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
46
46
|
|
|
47
47
|
class ListApiUsersRequest(_message.Message):
|
|
48
48
|
__slots__ = ()
|
{meshtrade-1.23.1 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py
RENAMED
|
@@ -37,14 +37,14 @@ class ApiUserServiceStub(object):
|
|
|
37
37
|
request_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.CreateApiUserRequest.SerializeToString,
|
|
38
38
|
response_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.FromString,
|
|
39
39
|
_registered_method=True)
|
|
40
|
-
self.
|
|
41
|
-
'/meshtrade.iam.api_user.v1.ApiUserService/
|
|
42
|
-
request_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
40
|
+
self.AssignRolesToAPIUser = channel.unary_unary(
|
|
41
|
+
'/meshtrade.iam.api_user.v1.ApiUserService/AssignRolesToAPIUser',
|
|
42
|
+
request_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.AssignRolesToAPIUserRequest.SerializeToString,
|
|
43
43
|
response_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.FromString,
|
|
44
44
|
_registered_method=True)
|
|
45
|
-
self.
|
|
46
|
-
'/meshtrade.iam.api_user.v1.ApiUserService/
|
|
47
|
-
request_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
45
|
+
self.RevokeRolesFromAPIUser = channel.unary_unary(
|
|
46
|
+
'/meshtrade.iam.api_user.v1.ApiUserService/RevokeRolesFromAPIUser',
|
|
47
|
+
request_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.RevokeRolesFromAPIUserRequest.SerializeToString,
|
|
48
48
|
response_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.FromString,
|
|
49
49
|
_registered_method=True)
|
|
50
50
|
self.ListApiUsers = channel.unary_unary(
|
|
@@ -109,9 +109,9 @@ class ApiUserServiceServicer(object):
|
|
|
109
109
|
context.set_details('Method not implemented!')
|
|
110
110
|
raise NotImplementedError('Method not implemented!')
|
|
111
111
|
|
|
112
|
-
def
|
|
112
|
+
def AssignRolesToAPIUser(self, request, context):
|
|
113
113
|
"""
|
|
114
|
-
|
|
114
|
+
Assign roles to an existing api user within the authenticated group context.
|
|
115
115
|
|
|
116
116
|
The role assignment enables the api user to perform operations according
|
|
117
117
|
to the permissions associated with that role within the group hierarchy.
|
|
@@ -120,9 +120,9 @@ class ApiUserServiceServicer(object):
|
|
|
120
120
|
context.set_details('Method not implemented!')
|
|
121
121
|
raise NotImplementedError('Method not implemented!')
|
|
122
122
|
|
|
123
|
-
def
|
|
123
|
+
def RevokeRolesFromAPIUser(self, request, context):
|
|
124
124
|
"""
|
|
125
|
-
|
|
125
|
+
Revoke roles from an existing API user within the authenticated group context.
|
|
126
126
|
|
|
127
127
|
The role revocation removes the permissions associated with that role from
|
|
128
128
|
the API user within the group hierarchy. The API user will no longer be able
|
|
@@ -200,14 +200,14 @@ def add_ApiUserServiceServicer_to_server(servicer, server):
|
|
|
200
200
|
request_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.CreateApiUserRequest.FromString,
|
|
201
201
|
response_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.SerializeToString,
|
|
202
202
|
),
|
|
203
|
-
'
|
|
204
|
-
servicer.
|
|
205
|
-
request_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
203
|
+
'AssignRolesToAPIUser': grpc.unary_unary_rpc_method_handler(
|
|
204
|
+
servicer.AssignRolesToAPIUser,
|
|
205
|
+
request_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.AssignRolesToAPIUserRequest.FromString,
|
|
206
206
|
response_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.SerializeToString,
|
|
207
207
|
),
|
|
208
|
-
'
|
|
209
|
-
servicer.
|
|
210
|
-
request_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
208
|
+
'RevokeRolesFromAPIUser': grpc.unary_unary_rpc_method_handler(
|
|
209
|
+
servicer.RevokeRolesFromAPIUser,
|
|
210
|
+
request_deserializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.RevokeRolesFromAPIUserRequest.FromString,
|
|
211
211
|
response_serializer=meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.SerializeToString,
|
|
212
212
|
),
|
|
213
213
|
'ListApiUsers': grpc.unary_unary_rpc_method_handler(
|
|
@@ -313,7 +313,7 @@ class ApiUserService(object):
|
|
|
313
313
|
_registered_method=True)
|
|
314
314
|
|
|
315
315
|
@staticmethod
|
|
316
|
-
def
|
|
316
|
+
def AssignRolesToAPIUser(request,
|
|
317
317
|
target,
|
|
318
318
|
options=(),
|
|
319
319
|
channel_credentials=None,
|
|
@@ -326,8 +326,8 @@ class ApiUserService(object):
|
|
|
326
326
|
return grpc.experimental.unary_unary(
|
|
327
327
|
request,
|
|
328
328
|
target,
|
|
329
|
-
'/meshtrade.iam.api_user.v1.ApiUserService/
|
|
330
|
-
meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
329
|
+
'/meshtrade.iam.api_user.v1.ApiUserService/AssignRolesToAPIUser',
|
|
330
|
+
meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.AssignRolesToAPIUserRequest.SerializeToString,
|
|
331
331
|
meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.FromString,
|
|
332
332
|
options,
|
|
333
333
|
channel_credentials,
|
|
@@ -340,7 +340,7 @@ class ApiUserService(object):
|
|
|
340
340
|
_registered_method=True)
|
|
341
341
|
|
|
342
342
|
@staticmethod
|
|
343
|
-
def
|
|
343
|
+
def RevokeRolesFromAPIUser(request,
|
|
344
344
|
target,
|
|
345
345
|
options=(),
|
|
346
346
|
channel_credentials=None,
|
|
@@ -353,8 +353,8 @@ class ApiUserService(object):
|
|
|
353
353
|
return grpc.experimental.unary_unary(
|
|
354
354
|
request,
|
|
355
355
|
target,
|
|
356
|
-
'/meshtrade.iam.api_user.v1.ApiUserService/
|
|
357
|
-
meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.
|
|
356
|
+
'/meshtrade.iam.api_user.v1.ApiUserService/RevokeRolesFromAPIUser',
|
|
357
|
+
meshtrade_dot_iam_dot_api__user_dot_v1_dot_service__pb2.RevokeRolesFromAPIUserRequest.SerializeToString,
|
|
358
358
|
meshtrade_dot_iam_dot_api__user_dot_v1_dot_api__user__pb2.APIUser.FromString,
|
|
359
359
|
options,
|
|
360
360
|
channel_credentials,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Role utility functions for Mesh API.
|
|
2
2
|
|
|
3
3
|
This module provides helper functions for working with Role enums and their resource names.
|
|
4
|
-
All functions use the
|
|
4
|
+
All functions use the 4-part integer format: groups/{groupID}/roles/{roleNumber}
|
|
5
5
|
for cross-language compatibility.
|
|
6
6
|
"""
|
|
7
7
|
|
|
@@ -47,7 +47,7 @@ def role_is_valid_and_specified(role: Role) -> bool:
|
|
|
47
47
|
def role_full_resource_name_from_group_id(role: Role, group_id: str) -> str:
|
|
48
48
|
"""Generate full resource name from role and group ID.
|
|
49
49
|
|
|
50
|
-
Format: groups/{group_id}/{role_int}
|
|
50
|
+
Format: groups/{group_id}/roles/{role_int}
|
|
51
51
|
|
|
52
52
|
Args:
|
|
53
53
|
role: Role enum value (integer)
|
|
@@ -58,9 +58,9 @@ def role_full_resource_name_from_group_id(role: Role, group_id: str) -> str:
|
|
|
58
58
|
|
|
59
59
|
Example:
|
|
60
60
|
>>> role_full_resource_name_from_group_id(Role.ROLE_IAM_ADMIN, "01DD32GZ7R0000000000000001")
|
|
61
|
-
'groups/01DD32GZ7R0000000000000001/3000000'
|
|
61
|
+
'groups/01DD32GZ7R0000000000000001/roles/3000000'
|
|
62
62
|
"""
|
|
63
|
-
return f"groups/{group_id}/{int(role)}"
|
|
63
|
+
return f"groups/{group_id}/roles/{int(role)}"
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
def role_full_resource_name_from_group(role: Role, group: str) -> str:
|
|
@@ -78,7 +78,7 @@ def role_full_resource_name_from_group(role: Role, group: str) -> str:
|
|
|
78
78
|
|
|
79
79
|
Example:
|
|
80
80
|
>>> role_full_resource_name_from_group(Role.ROLE_IAM_ADMIN, "groups/01DD32GZ7R0000000000000001")
|
|
81
|
-
'groups/01DD32GZ7R0000000000000001/3000000'
|
|
81
|
+
'groups/01DD32GZ7R0000000000000001/roles/3000000'
|
|
82
82
|
"""
|
|
83
83
|
if not group.startswith("groups/"):
|
|
84
84
|
raise ValueError(f"invalid group format, expected groups/{{groupID}}, got: {group}")
|
|
@@ -94,13 +94,13 @@ def role_from_full_resource_name(full_resource_name: str) -> Role:
|
|
|
94
94
|
"""Extract Role from full resource name.
|
|
95
95
|
|
|
96
96
|
Args:
|
|
97
|
-
full_resource_name: Full resource name (e.g., "groups/{id}/{role_int}")
|
|
97
|
+
full_resource_name: Full resource name (e.g., "groups/{id}/roles/{role_int}")
|
|
98
98
|
|
|
99
99
|
Returns:
|
|
100
100
|
Role enum value (integer), or ROLE_UNSPECIFIED if parsing fails
|
|
101
101
|
|
|
102
102
|
Example:
|
|
103
|
-
>>> role_from_full_resource_name("groups/01DD32GZ7R0000000000000001/3000000")
|
|
103
|
+
>>> role_from_full_resource_name("groups/01DD32GZ7R0000000000000001/roles/3000000")
|
|
104
104
|
3000000
|
|
105
105
|
>>> role_from_full_resource_name("invalid/format")
|
|
106
106
|
0
|
|
@@ -118,7 +118,7 @@ def role_from_full_resource_name(full_resource_name: str) -> Role:
|
|
|
118
118
|
def parse_role_parts(role_full_resource_name: str) -> tuple[str, int]:
|
|
119
119
|
"""Parse full resource name into group ID and Role.
|
|
120
120
|
|
|
121
|
-
Expected format: groups/{group_id}/{role_int}
|
|
121
|
+
Expected format: groups/{group_id}/roles/{role_int}
|
|
122
122
|
|
|
123
123
|
Args:
|
|
124
124
|
role_full_resource_name: Full resource name
|
|
@@ -130,21 +130,21 @@ def parse_role_parts(role_full_resource_name: str) -> tuple[str, int]:
|
|
|
130
130
|
ValueError: If format is invalid or role number cannot be parsed
|
|
131
131
|
|
|
132
132
|
Example:
|
|
133
|
-
>>> parse_role_parts("groups/01DD32GZ7R0000000000000001/3000000")
|
|
133
|
+
>>> parse_role_parts("groups/01DD32GZ7R0000000000000001/roles/3000000")
|
|
134
134
|
('01DD32GZ7R0000000000000001', 3000000)
|
|
135
135
|
"""
|
|
136
136
|
parts = role_full_resource_name.split("/")
|
|
137
|
-
if len(parts) !=
|
|
138
|
-
raise ValueError(f"invalid role format, expected groups/{{groupID}}/{{role}}, got {role_full_resource_name}")
|
|
137
|
+
if len(parts) != 4 or parts[0] != "groups" or parts[2] != "roles":
|
|
138
|
+
raise ValueError(f"invalid role format, expected groups/{{groupID}}/roles/{{role}}, got {role_full_resource_name}")
|
|
139
139
|
|
|
140
140
|
group_id = parts[1]
|
|
141
141
|
if not group_id:
|
|
142
142
|
raise ValueError("group ID cannot be empty")
|
|
143
143
|
|
|
144
144
|
try:
|
|
145
|
-
role_int = int(parts[
|
|
145
|
+
role_int = int(parts[3])
|
|
146
146
|
except ValueError as e:
|
|
147
|
-
raise ValueError(f"error parsing role enum value '{parts[
|
|
147
|
+
raise ValueError(f"error parsing role enum value '{parts[3]}'") from e
|
|
148
148
|
|
|
149
149
|
if role_int < 0:
|
|
150
150
|
raise ValueError(f"invalid role number in full resource name: {role_full_resource_name}")
|
|
@@ -168,7 +168,7 @@ def must_parse_role_parts(role_full_resource_name: str) -> tuple[str, int]:
|
|
|
168
168
|
ValueError: If format is invalid
|
|
169
169
|
|
|
170
170
|
Example:
|
|
171
|
-
>>> must_parse_role_parts("groups/01DD32GZ7R0000000000000001/3000000")
|
|
171
|
+
>>> must_parse_role_parts("groups/01DD32GZ7R0000000000000001/roles/3000000")
|
|
172
172
|
('01DD32GZ7R0000000000000001', 3000000)
|
|
173
173
|
"""
|
|
174
174
|
return parse_role_parts(role_full_resource_name)
|