meshtrade 1.24.0__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.

Files changed (214) hide show
  1. {meshtrade-1.24.0 → meshtrade-1.25.0}/PKG-INFO +1 -1
  2. {meshtrade-1.24.0 → meshtrade-1.25.0}/pyproject.toml +1 -1
  3. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/__init__.py +0 -12
  4. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.py +3 -8
  5. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2.pyi +3 -7
  6. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/PKG-INFO +1 -1
  7. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/SOURCES.txt +0 -1
  8. meshtrade-1.24.0/python/src/meshtrade/compliance/client/v1/client_roles.py +0 -123
  9. {meshtrade-1.24.0 → meshtrade-1.25.0}/README.md +0 -0
  10. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/buf/validate/validate_pb2.py +0 -0
  11. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/buf/validate/validate_pb2.pyi +0 -0
  12. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/__init__.py +0 -0
  13. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/common/__init__.py +0 -0
  14. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/common/config.py +0 -0
  15. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/common/grpc_client.py +0 -0
  16. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/common/service_options.py +0 -0
  17. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/__init__.py +0 -0
  18. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/__init__.py +0 -0
  19. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/client_pb2_grpc.py +0 -0
  20. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2.py +0 -0
  21. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2.pyi +0 -0
  22. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_pb2_grpc.py +0 -0
  23. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.py +0 -0
  24. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.pyi +0 -0
  25. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2_grpc.py +0 -0
  26. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.py +0 -0
  27. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.pyi +0 -0
  28. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2_grpc.py +0 -0
  29. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.py +0 -0
  30. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.pyi +0 -0
  31. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/fund_pb2_grpc.py +0 -0
  32. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.py +0 -0
  33. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.pyi +0 -0
  34. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2_grpc.py +0 -0
  35. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.py +0 -0
  36. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.pyi +0 -0
  37. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2_grpc.py +0 -0
  38. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +0 -0
  39. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.pyi +0 -0
  40. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2_grpc.py +0 -0
  41. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.py +0 -0
  42. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.pyi +0 -0
  43. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2_grpc.py +0 -0
  44. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.py +0 -0
  45. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi +0 -0
  46. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py +0 -0
  47. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_meshpy.py +0 -0
  48. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2.py +0 -0
  49. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2.pyi +0 -0
  50. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py +0 -0
  51. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +0 -0
  52. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.pyi +0 -0
  53. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2_grpc.py +0 -0
  54. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.py +0 -0
  55. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.pyi +0 -0
  56. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2_grpc.py +0 -0
  57. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.py +0 -0
  58. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.pyi +0 -0
  59. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/trust_pb2_grpc.py +0 -0
  60. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.py +0 -0
  61. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.pyi +0 -0
  62. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2_grpc.py +0 -0
  63. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/__init__.py +0 -0
  64. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/__init__.py +0 -0
  65. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials.py +0 -0
  66. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.py +0 -0
  67. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.pyi +0 -0
  68. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2_grpc.py +0 -0
  69. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.py +0 -0
  70. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi +0 -0
  71. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py +0 -0
  72. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/api_user_state_machine.py +0 -0
  73. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py +0 -0
  74. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.py +0 -0
  75. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.pyi +0 -0
  76. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py +0 -0
  77. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/__init__.py +0 -0
  78. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/__init__.py +0 -0
  79. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2.py +0 -0
  80. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2.pyi +0 -0
  81. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/group_pb2_grpc.py +0 -0
  82. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_meshpy.py +0 -0
  83. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2.py +0 -0
  84. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2.pyi +0 -0
  85. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/group/v1/service_pb2_grpc.py +0 -0
  86. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/__init__.py +0 -0
  87. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role.py +0 -0
  88. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2.py +0 -0
  89. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2.pyi +0 -0
  90. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/role/v1/role_pb2_grpc.py +0 -0
  91. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/__init__.py +0 -0
  92. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_meshpy.py +0 -0
  93. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_pb2.py +0 -0
  94. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_pb2.pyi +0 -0
  95. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/service_pb2_grpc.py +0 -0
  96. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2.py +0 -0
  97. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2.pyi +0 -0
  98. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/iam/user/v1/user_pb2_grpc.py +0 -0
  99. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/__init__.py +0 -0
  100. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/__init__.py +0 -0
  101. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/__init__.py +0 -0
  102. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_meshpy.py +0 -0
  103. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.py +0 -0
  104. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi +0 -0
  105. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py +0 -0
  106. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.py +0 -0
  107. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.pyi +0 -0
  108. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2_grpc.py +0 -0
  109. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_machine.py +0 -0
  110. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.py +0 -0
  111. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.pyi +0 -0
  112. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2_grpc.py +0 -0
  113. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/__init__.py +0 -0
  114. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2.py +0 -0
  115. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2.pyi +0 -0
  116. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/option/v1/method_type_pb2_grpc.py +0 -0
  117. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/__init__.py +0 -0
  118. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.py +0 -0
  119. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.pyi +0 -0
  120. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2_grpc.py +0 -0
  121. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.py +0 -0
  122. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.pyi +0 -0
  123. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2_grpc.py +0 -0
  124. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.py +0 -0
  125. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.pyi +0 -0
  126. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2_grpc.py +0 -0
  127. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry.py +0 -0
  128. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py +0 -0
  129. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi +0 -0
  130. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py +0 -0
  131. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_meshpy.py +0 -0
  132. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.py +0 -0
  133. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi +0 -0
  134. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py +0 -0
  135. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +0 -0
  136. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.pyi +0 -0
  137. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2_grpc.py +0 -0
  138. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/__init__.py +0 -0
  139. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.py +0 -0
  140. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.pyi +0 -0
  141. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +0 -0
  142. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.py +0 -0
  143. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.pyi +0 -0
  144. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2_grpc.py +0 -0
  145. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.py +0 -0
  146. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.pyi +0 -0
  147. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2_grpc.py +0 -0
  148. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/__init__.py +0 -0
  149. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/__init__.py +0 -0
  150. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/__init__.py +0 -0
  151. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py +0 -0
  152. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi +0 -0
  153. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py +0 -0
  154. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_meshpy.py +0 -0
  155. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.py +0 -0
  156. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi +0 -0
  157. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py +0 -0
  158. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/__init__.py +0 -0
  159. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.py +0 -0
  160. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi +0 -0
  161. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py +0 -0
  162. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_meshpy.py +0 -0
  163. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.py +0 -0
  164. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.pyi +0 -0
  165. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py +0 -0
  166. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/__init__.py +0 -0
  167. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/__init__.py +0 -0
  168. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2.py +0 -0
  169. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2.pyi +0 -0
  170. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/address_pb2_grpc.py +0 -0
  171. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount.py +0 -0
  172. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2.py +0 -0
  173. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2.pyi +0 -0
  174. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/amount_pb2_grpc.py +0 -0
  175. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2.py +0 -0
  176. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2.pyi +0 -0
  177. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/contact_details_pb2_grpc.py +0 -0
  178. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date.py +0 -0
  179. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2.py +0 -0
  180. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2.pyi +0 -0
  181. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/date_pb2_grpc.py +0 -0
  182. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_built_in_conversions.py +0 -0
  183. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_operations.py +0 -0
  184. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2.py +0 -0
  185. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2.pyi +0 -0
  186. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/decimal_pb2_grpc.py +0 -0
  187. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger.py +0 -0
  188. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2.py +0 -0
  189. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2.pyi +0 -0
  190. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/ledger_pb2_grpc.py +0 -0
  191. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2.py +0 -0
  192. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2.pyi +0 -0
  193. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/sorting_pb2_grpc.py +0 -0
  194. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day.py +0 -0
  195. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2.py +0 -0
  196. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2.pyi +0 -0
  197. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/time_of_day_pb2_grpc.py +0 -0
  198. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token.py +0 -0
  199. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2.py +0 -0
  200. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2.pyi +0 -0
  201. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/type/v1/token_pb2_grpc.py +0 -0
  202. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/__init__.py +0 -0
  203. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/__init__.py +0 -0
  204. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2.py +0 -0
  205. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2.pyi +0 -0
  206. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py +0 -0
  207. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_meshpy.py +0 -0
  208. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2.py +0 -0
  209. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2.pyi +0 -0
  210. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py +0 -0
  211. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/dependency_links.txt +0 -0
  212. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/requires.txt +0 -0
  213. {meshtrade-1.24.0 → meshtrade-1.25.0}/python/src/meshtrade.egg-info/top_level.txt +0 -0
  214. {meshtrade-1.24.0 → meshtrade-1.25.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshtrade
3
- Version: 1.24.0
3
+ Version: 1.25.0
4
4
  Summary: Integration SDK for Mesh API Services
5
5
  Author-email: Bernard Bussy <bernard@meshtrade.co>
6
6
  License: LicenseRef-My-Custom-License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "meshtrade"
7
- version = "1.24.0"
7
+ version = "1.25.0"
8
8
  authors = [
9
9
  { name = "Bernard Bussy", email = "bernard@meshtrade.co" },
10
10
  ]
@@ -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
  ]
@@ -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 meshtrade/iam/role/v1/role.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\"\xec\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\x14nextVerificationDate\x12\x43\n\x05roles\x18\x0c \x03(\x0e\x32\x1b.meshtrade.iam.role.v1.RoleB\x10\xbaH\r\x92\x01\x07\"\x05\x82\x01\x02\x10\x01\xc8\x01\x01R\x05roles:\x19\xb2\xb5\x18\x15\n\x13\x83\x89z\xc1\x8d\xb7\x01\xc3\x8d\xb7\x01\xc5\x8d\xb7\x01\xc7\x8d\xb7\x01\x42\x0e\n\x0clegal_personBc\n%co.meshtrade.api.compliance.client.v1Z:github.com/meshtrade/api/go/compliance/client/v1;client_v1b\x06proto3')
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'].fields_by_name['roles']._loaded_options = None
54
- _globals['_CLIENT'].fields_by_name['roles']._serialized_options = b'\272H\r\222\001\007\"\005\202\001\002\020\001\310\001\001'
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)
@@ -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 Iterable as _Iterable, Mapping as _Mapping
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", "roles")
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
- roles: _containers.RepeatedScalarFieldContainer[_role_pb2.Role]
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: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshtrade
3
- Version: 1.24.0
3
+ Version: 1.25.0
4
4
  Summary: Integration SDK for Mesh API Services
5
5
  Author-email: Bernard Bussy <bernard@meshtrade.co>
6
6
  License: LicenseRef-My-Custom-License
@@ -18,7 +18,6 @@ python/src/meshtrade/compliance/client/v1/__init__.py
18
18
  python/src/meshtrade/compliance/client/v1/client_pb2.py
19
19
  python/src/meshtrade/compliance/client/v1/client_pb2.pyi
20
20
  python/src/meshtrade/compliance/client/v1/client_pb2_grpc.py
21
- python/src/meshtrade/compliance/client/v1/client_roles.py
22
21
  python/src/meshtrade/compliance/client/v1/company_pb2.py
23
22
  python/src/meshtrade/compliance/client/v1/company_pb2.pyi
24
23
  python/src/meshtrade/compliance/client/v1/company_pb2_grpc.py
@@ -1,123 +0,0 @@
1
- """Client roles utility functions."""
2
-
3
- from meshtrade.compliance.client.v1.client_pb2 import Client
4
- from meshtrade.iam.role.v1 import role_pb2
5
- from meshtrade.iam.role.v1.role_pb2 import Role
6
-
7
- # Cache for client default roles extracted from protobuf
8
- _client_default_roles: list[Role] | None = None
9
- _client_default_roles_error: str | None = None
10
-
11
-
12
- def _initialize_client_default_roles() -> None:
13
- """Initialize client default roles from protobuf extensions.
14
-
15
- This function is called once to extract roles from the Client message's
16
- message_roles extension. Results are cached for subsequent calls.
17
- """
18
- global _client_default_roles, _client_default_roles_error
19
-
20
- if _client_default_roles is not None or _client_default_roles_error is not None:
21
- return
22
-
23
- try:
24
- # Get the Client message descriptor
25
- client_descriptor = Client.DESCRIPTOR
26
-
27
- # Get message options
28
- options = client_descriptor.GetOptions()
29
-
30
- # Get the message_roles extension descriptor
31
- message_roles_ext = role_pb2.message_roles
32
-
33
- # Check if extension is present
34
- # Type ignore: protobuf extension API has overly strict type stubs
35
- if not options.HasExtension(message_roles_ext): # type: ignore[arg-type]
36
- _client_default_roles_error = f"proto message {client_descriptor.full_name} does not define extension {message_roles_ext.full_name}"
37
- return
38
-
39
- # Get the RoleList from the extension
40
- # Type ignore: protobuf extension API has overly strict type stubs
41
- role_list = options.Extensions[message_roles_ext] # type: ignore[arg-type]
42
-
43
- # Extract roles and make a copy
44
- _client_default_roles = list(role_list.roles)
45
-
46
- except Exception as e:
47
- _client_default_roles_error = f"failed to extract roles from Client message: {e}"
48
-
49
-
50
- def get_client_default_roles() -> list[Role]:
51
- """Get default roles for a client.
52
-
53
- Returns the roles declared on the meshtrade.compliance.client.v1.Client
54
- message via the meshtrade.iam.role.v1.message_roles option. The returned
55
- list is a copy so callers can safely mutate it without affecting subsequent reads.
56
-
57
- Returns:
58
- List of default Role values for clients
59
- Empty list if retrieval fails
60
- """
61
- try:
62
- return must_get_client_default_roles()
63
- except ValueError:
64
- return []
65
-
66
-
67
- def must_get_client_default_roles() -> list[Role]:
68
- """Get default roles for a client, raising error on failure.
69
-
70
- Returns the roles declared on the meshtrade.compliance.client.v1.Client
71
- message via the meshtrade.iam.role.v1.message_roles option. The returned
72
- list is a copy so callers can safely mutate it without affecting subsequent reads.
73
-
74
- Returns:
75
- List of default Role values for clients
76
-
77
- Raises:
78
- ValueError: If default roles cannot be determined
79
- """
80
- _initialize_client_default_roles()
81
-
82
- if _client_default_roles_error is not None:
83
- raise ValueError(_client_default_roles_error)
84
-
85
- if _client_default_roles is None:
86
- raise ValueError("client default roles not initialized")
87
-
88
- # Return a copy to prevent mutation
89
- return list(_client_default_roles)
90
-
91
-
92
- def get_client_default_role_index() -> dict[Role, bool]:
93
- """Get default roles as a lookup index.
94
-
95
- Builds a set-like map keyed by roles declared on the
96
- meshtrade.compliance.client.v1.Client message. The map's values are always
97
- True; the structure is intended for efficient membership checks.
98
-
99
- Returns:
100
- Dictionary mapping Role to True for default roles
101
- Empty dict if retrieval fails
102
- """
103
- try:
104
- return must_get_client_default_role_index()
105
- except ValueError:
106
- return {}
107
-
108
-
109
- def must_get_client_default_role_index() -> dict[Role, bool]:
110
- """Get default roles as lookup index, raising error on failure.
111
-
112
- Builds a set-like map keyed by roles declared on the
113
- meshtrade.compliance.client.v1.Client message. The map's values are always
114
- True; the structure is intended for efficient membership checks.
115
-
116
- Returns:
117
- Dictionary mapping Role to True for default roles
118
-
119
- Raises:
120
- ValueError: If default roles cannot be determined
121
- """
122
- roles = must_get_client_default_roles()
123
- return dict.fromkeys(roles, True)
File without changes
File without changes