meshtrade 1.20.0__tar.gz → 1.22.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 (218) hide show
  1. {meshtrade-1.20.0 → meshtrade-1.22.0}/PKG-INFO +1 -1
  2. {meshtrade-1.20.0 → meshtrade-1.22.0}/pyproject.toml +1 -1
  3. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/common/grpc_client.py +93 -0
  4. meshtrade-1.22.0/python/src/meshtrade/common/service_options.py +46 -0
  5. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/__init__.py +0 -2
  6. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_meshpy.py +1 -1
  7. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/__init__.py +0 -2
  8. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_meshpy.py +1 -1
  9. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/__init__.py +0 -2
  10. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_meshpy.py +1 -1
  11. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/__init__.py +0 -2
  12. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_meshpy.py +1 -1
  13. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/__init__.py +0 -2
  14. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_meshpy.py +1 -1
  15. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.py +2 -2
  16. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/__init__.py +0 -2
  17. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_meshpy.py +1 -1
  18. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/__init__.py +0 -2
  19. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_meshpy.py +1 -1
  20. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/__init__.py +0 -2
  21. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_meshpy.py +1 -1
  22. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/__init__.py +0 -2
  23. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_meshpy.py +1 -1
  24. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/PKG-INFO +1 -1
  25. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/SOURCES.txt +1 -9
  26. meshtrade-1.20.0/python/src/meshtrade/compliance/client/v1/service_options_meshpy.py +0 -65
  27. meshtrade-1.20.0/python/src/meshtrade/iam/api_user/v1/service_options_meshpy.py +0 -65
  28. meshtrade-1.20.0/python/src/meshtrade/iam/group/v1/service_options_meshpy.py +0 -65
  29. meshtrade-1.20.0/python/src/meshtrade/iam/user/v1/service_options_meshpy.py +0 -65
  30. meshtrade-1.20.0/python/src/meshtrade/ledger/transaction/v1/service_options_meshpy.py +0 -65
  31. meshtrade-1.20.0/python/src/meshtrade/reporting/account_report/v1/service_options_meshpy.py +0 -65
  32. meshtrade-1.20.0/python/src/meshtrade/trading/limit_order/v1/service_options_meshpy.py +0 -65
  33. meshtrade-1.20.0/python/src/meshtrade/trading/market_order/v1/service_options_meshpy.py +0 -65
  34. meshtrade-1.20.0/python/src/meshtrade/wallet/account/v1/service_options_meshpy.py +0 -65
  35. {meshtrade-1.20.0 → meshtrade-1.22.0}/README.md +0 -0
  36. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/buf/validate/validate_pb2.py +0 -0
  37. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/buf/validate/validate_pb2.pyi +0 -0
  38. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/__init__.py +0 -0
  39. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/common/__init__.py +0 -0
  40. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/common/config.py +0 -0
  41. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/__init__.py +0 -0
  42. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/__init__.py +0 -0
  43. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2.py +0 -0
  44. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2.pyi +0 -0
  45. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/client_pb2_grpc.py +0 -0
  46. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2.py +0 -0
  47. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2.pyi +0 -0
  48. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_pb2_grpc.py +0 -0
  49. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.py +0 -0
  50. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2.pyi +0 -0
  51. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_pb2_grpc.py +0 -0
  52. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.py +0 -0
  53. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2.pyi +0 -0
  54. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/company_representative_role_pb2_grpc.py +0 -0
  55. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.py +0 -0
  56. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2.pyi +0 -0
  57. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/fund_pb2_grpc.py +0 -0
  58. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.py +0 -0
  59. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2.pyi +0 -0
  60. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/identification_document_type_pb2_grpc.py +0 -0
  61. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.py +0 -0
  62. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2.pyi +0 -0
  63. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/industry_classification_pb2_grpc.py +0 -0
  64. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.py +0 -0
  65. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2.pyi +0 -0
  66. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_connection_type_pb2_grpc.py +0 -0
  67. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.py +0 -0
  68. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2.pyi +0 -0
  69. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/natural_person_pb2_grpc.py +0 -0
  70. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.py +0 -0
  71. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi +0 -0
  72. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py +0 -0
  73. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2.py +0 -0
  74. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2.pyi +0 -0
  75. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py +0 -0
  76. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.py +0 -0
  77. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2.pyi +0 -0
  78. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb2_grpc.py +0 -0
  79. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.py +0 -0
  80. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2.pyi +0 -0
  81. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/tax_residency_pb2_grpc.py +0 -0
  82. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.py +0 -0
  83. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2.pyi +0 -0
  84. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/trust_pb2_grpc.py +0 -0
  85. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.py +0 -0
  86. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2.pyi +0 -0
  87. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/compliance/client/v1/verification_status_pb2_grpc.py +0 -0
  88. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/__init__.py +0 -0
  89. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials.py +0 -0
  90. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.py +0 -0
  91. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2.pyi +0 -0
  92. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_credentials_pb2_grpc.py +0 -0
  93. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.py +0 -0
  94. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi +0 -0
  95. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py +0 -0
  96. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service.py +0 -0
  97. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.py +0 -0
  98. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2.pyi +0 -0
  99. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py +0 -0
  100. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/__init__.py +0 -0
  101. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2.py +0 -0
  102. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2.pyi +0 -0
  103. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/group_pb2_grpc.py +0 -0
  104. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2.py +0 -0
  105. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2.pyi +0 -0
  106. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/group/v1/service_pb2_grpc.py +0 -0
  107. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/__init__.py +0 -0
  108. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role.py +0 -0
  109. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2.py +0 -0
  110. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2.pyi +0 -0
  111. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/role/v1/role_pb2_grpc.py +0 -0
  112. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2.py +0 -0
  113. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2.pyi +0 -0
  114. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/service_pb2_grpc.py +0 -0
  115. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2.py +0 -0
  116. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2.pyi +0 -0
  117. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/iam/user/v1/user_pb2_grpc.py +0 -0
  118. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/__init__.py +0 -0
  119. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/__init__.py +0 -0
  120. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi +0 -0
  121. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py +0 -0
  122. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.py +0 -0
  123. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2.pyi +0 -0
  124. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_action_pb2_grpc.py +0 -0
  125. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.py +0 -0
  126. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2.pyi +0 -0
  127. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/ledger/transaction/v1/transaction_state_pb2_grpc.py +0 -0
  128. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/__init__.py +0 -0
  129. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2.py +0 -0
  130. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2.pyi +0 -0
  131. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/option/v1/method_type_pb2_grpc.py +0 -0
  132. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.py +0 -0
  133. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2.pyi +0 -0
  134. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/account_report_pb2_grpc.py +0 -0
  135. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.py +0 -0
  136. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2.pyi +0 -0
  137. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/disclaimer_pb2_grpc.py +0 -0
  138. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.py +0 -0
  139. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2.pyi +0 -0
  140. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/fee_entry_pb2_grpc.py +0 -0
  141. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py +0 -0
  142. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi +0 -0
  143. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py +0 -0
  144. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.py +0 -0
  145. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi +0 -0
  146. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py +0 -0
  147. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.py +0 -0
  148. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2.pyi +0 -0
  149. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/reporting/account_report/v1/trading_statement_entry_pb2_grpc.py +0 -0
  150. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/__init__.py +0 -0
  151. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.py +0 -0
  152. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2.pyi +0 -0
  153. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_pb2_grpc.py +0 -0
  154. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.py +0 -0
  155. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2.pyi +0 -0
  156. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/instrument_type_pb2_grpc.py +0 -0
  157. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.py +0 -0
  158. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2.pyi +0 -0
  159. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/studio/instrument/v1/unit_pb2_grpc.py +0 -0
  160. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/__init__.py +0 -0
  161. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/__init__.py +0 -0
  162. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py +0 -0
  163. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi +0 -0
  164. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py +0 -0
  165. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.py +0 -0
  166. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi +0 -0
  167. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py +0 -0
  168. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.py +0 -0
  169. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi +0 -0
  170. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py +0 -0
  171. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.py +0 -0
  172. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2.pyi +0 -0
  173. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py +0 -0
  174. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/__init__.py +0 -0
  175. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/__init__.py +0 -0
  176. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2.py +0 -0
  177. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2.pyi +0 -0
  178. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/address_pb2_grpc.py +0 -0
  179. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount.py +0 -0
  180. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2.py +0 -0
  181. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2.pyi +0 -0
  182. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/amount_pb2_grpc.py +0 -0
  183. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2.py +0 -0
  184. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2.pyi +0 -0
  185. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/contact_details_pb2_grpc.py +0 -0
  186. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date.py +0 -0
  187. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2.py +0 -0
  188. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2.pyi +0 -0
  189. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/date_pb2_grpc.py +0 -0
  190. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_built_in_conversions.py +0 -0
  191. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2.py +0 -0
  192. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2.pyi +0 -0
  193. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/decimal_pb2_grpc.py +0 -0
  194. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger.py +0 -0
  195. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2.py +0 -0
  196. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2.pyi +0 -0
  197. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/ledger_pb2_grpc.py +0 -0
  198. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2.py +0 -0
  199. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2.pyi +0 -0
  200. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/sorting_pb2_grpc.py +0 -0
  201. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day.py +0 -0
  202. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2.py +0 -0
  203. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2.pyi +0 -0
  204. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/time_of_day_pb2_grpc.py +0 -0
  205. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2.py +0 -0
  206. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2.pyi +0 -0
  207. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/type/v1/token_pb2_grpc.py +0 -0
  208. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/__init__.py +0 -0
  209. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2.py +0 -0
  210. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2.pyi +0 -0
  211. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py +0 -0
  212. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2.py +0 -0
  213. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2.pyi +0 -0
  214. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py +0 -0
  215. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/dependency_links.txt +0 -0
  216. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/requires.txt +0 -0
  217. {meshtrade-1.20.0 → meshtrade-1.22.0}/python/src/meshtrade.egg-info/top_level.txt +0 -0
  218. {meshtrade-1.20.0 → meshtrade-1.22.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshtrade
3
- Version: 1.20.0
3
+ Version: 1.22.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.20.0"
7
+ version = "1.22.0"
8
8
  authors = [
9
9
  { name = "Bernard Bussy", email = "bernard@meshtrade.co" },
10
10
  ]
@@ -146,6 +146,99 @@ class BaseGRPCClient(GRPCClient):
146
146
  raise ValueError("Group not configured. Provide via constructor or set MESH_API_CREDENTIALS environment variable.")
147
147
  return self._group
148
148
 
149
+ @property
150
+ def url(self) -> str:
151
+ """Get the gRPC server URL.
152
+
153
+ Returns:
154
+ The gRPC server URL
155
+ """
156
+ return self._url
157
+
158
+ @property
159
+ def port(self) -> int:
160
+ """Get the gRPC server port.
161
+
162
+ Returns:
163
+ The gRPC server port
164
+ """
165
+ return self._port
166
+
167
+ @property
168
+ def api_key(self) -> str | None:
169
+ """Get the API key used for authentication.
170
+
171
+ Returns:
172
+ The API key, or None if not configured
173
+ """
174
+ return self._api_key
175
+
176
+ @property
177
+ def timeout(self) -> timedelta:
178
+ """Get the request timeout.
179
+
180
+ Returns:
181
+ The request timeout
182
+ """
183
+ return self._timeout
184
+
185
+ @property
186
+ def tls(self) -> bool:
187
+ """Get the TLS setting.
188
+
189
+ Returns:
190
+ True if TLS is enabled, False otherwise
191
+ """
192
+ return self._tls
193
+
194
+ def with_group(self, group: str):
195
+ """Return a new client instance configured with a different group context.
196
+
197
+ This enables convenient group context switching without reconstructing the entire client.
198
+ All other configuration (URL, port, timeout, API key, TLS) is preserved.
199
+
200
+ The group parameter must be in the format 'groups/{group_id}' where group_id is a valid
201
+ group identifier (typically a ULID). The new client instance shares no state with the
202
+ original client, allowing safe concurrent usage.
203
+
204
+ Args:
205
+ group: The group resource name in format 'groups/{group_id}'
206
+
207
+ Returns:
208
+ A new client instance of the same service type with updated group context.
209
+
210
+ Raises:
211
+ ValueError: If group is empty or not in correct format
212
+
213
+ Example:
214
+ >>> service = GroupService()
215
+ >>> alt_service = service.with_group("groups/01ARZ3NDEKTSV4RRFFQ69G5FAV")
216
+ >>> resp1 = service.some_method(request) # Uses original group
217
+ >>> resp2 = alt_service.some_method(request) # Uses alternative group
218
+ """
219
+ # Validation
220
+ if not group:
221
+ raise ValueError("Group parameter cannot be empty")
222
+ if not group.startswith("groups/"):
223
+ raise ValueError("Group must be in format 'groups/{group_id}'")
224
+
225
+ # Import ServiceOptions from common module
226
+ from meshtrade.common.service_options import ServiceOptions
227
+
228
+ # Create new options with all config preserved except group
229
+ options = ServiceOptions(
230
+ url=self._url,
231
+ port=self._port,
232
+ api_key=self._api_key,
233
+ group=group,
234
+ timeout=self._timeout,
235
+ tls=self._tls,
236
+ )
237
+
238
+ # Create new instance of actual runtime class (GroupService, AccountService, etc.)
239
+ # type(self) returns the actual class, and all services accept ServiceOptions
240
+ return type(self)(options)
241
+
149
242
  def validator(self) -> Validator:
150
243
  """Get the protovalidate validator for request validation.
151
244
 
@@ -0,0 +1,46 @@
1
+ """
2
+ Shared configuration options for all gRPC services.
3
+
4
+ This module provides a clean, extensible way to configure services with optional
5
+ parameters while maintaining backward compatibility and readability.
6
+ """
7
+
8
+ from datetime import timedelta
9
+
10
+
11
+ class ServiceOptions:
12
+ """Configuration options for gRPC services.
13
+
14
+ This class provides a clean, extensible way to configure services with optional
15
+ parameters while maintaining backward compatibility and readability.
16
+ """
17
+
18
+ def __init__(
19
+ self,
20
+ tls: bool = True,
21
+ url: str | None = None,
22
+ port: int | None = None,
23
+ api_key: str | None = None,
24
+ group: str | None = None,
25
+ timeout: timedelta = timedelta(seconds=30),
26
+ ):
27
+ """Initialize service options.
28
+
29
+ Args:
30
+ tls: Whether to use TLS encryption for the gRPC connection.
31
+ url: The server hostname or IP address.
32
+ port: The server port number.
33
+ api_key: The API key for authentication.
34
+ group: The group resource name in format groups/{group_id}.
35
+ timeout: The default timeout for all gRPC method calls.
36
+ """
37
+ self.tls = tls
38
+ self.url = url
39
+ self.port = port
40
+ self.api_key = api_key
41
+ self.group = group
42
+ self.timeout = timeout
43
+
44
+
45
+ # Create alias to match expected exports
46
+ ClientOptions = ServiceOptions
@@ -40,7 +40,6 @@ from .service_meshpy import (
40
40
  ClientServiceGRPCClient,
41
41
  ClientServiceGRPCClientInterface,
42
42
  )
43
- from .service_options_meshpy import ClientOptions
44
43
 
45
44
  # ===================================================================
46
45
  # END OF AUTO-GENERATED SECTION
@@ -63,7 +62,6 @@ from .service_options_meshpy import ClientOptions
63
62
  __all__ = [
64
63
  # Generated exports
65
64
  "Client",
66
- "ClientOptions",
67
65
  "ClientService",
68
66
  "ClientServiceGRPCClient",
69
67
  "ClientServiceGRPCClientInterface",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .client_pb2 import Client
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  CreateClientRequest,
22
22
  GetClientRequest,
@@ -35,7 +35,6 @@ from .service_meshpy import (
35
35
  ApiUserServiceGRPCClient,
36
36
  ApiUserServiceGRPCClientInterface,
37
37
  )
38
- from .service_options_meshpy import ClientOptions
39
38
 
40
39
  # ===================================================================
41
40
  # END OF AUTO-GENERATED SECTION
@@ -81,7 +80,6 @@ __all__ = [
81
80
  "ApiUserServiceGRPCClient",
82
81
  "ApiUserServiceGRPCClientInterface",
83
82
  "AssignRoleToAPIUserRequest",
84
- "ClientOptions",
85
83
  "CreateApiUserRequest",
86
84
  "DeactivateApiUserRequest",
87
85
  "GetApiUserByKeyHashRequest",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from .api_credentials import find_credentials
17
17
 
18
18
  from .api_user_pb2 import APIUser
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  ActivateApiUserRequest,
22
22
  AssignRoleToAPIUserRequest,
@@ -30,7 +30,6 @@ from .service_meshpy import (
30
30
  GroupServiceGRPCClient,
31
31
  GroupServiceGRPCClientInterface,
32
32
  )
33
- from .service_options_meshpy import ClientOptions
34
33
 
35
34
  # ===================================================================
36
35
  # END OF AUTO-GENERATED SECTION
@@ -52,7 +51,6 @@ from .service_options_meshpy import ClientOptions
52
51
  # Combined auto-generated and manual exports
53
52
  __all__ = [
54
53
  # Generated exports
55
- "ClientOptions",
56
54
  "CreateGroupRequest",
57
55
  "GetGroupRequest",
58
56
  "Group",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .group_pb2 import Group
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  CreateGroupRequest,
22
22
  GetGroupRequest,
@@ -31,7 +31,6 @@ from .service_meshpy import (
31
31
  UserServiceGRPCClient,
32
32
  UserServiceGRPCClientInterface,
33
33
  )
34
- from .service_options_meshpy import ClientOptions
35
34
 
36
35
  # ===================================================================
37
36
  # END OF AUTO-GENERATED SECTION
@@ -54,7 +53,6 @@ from .service_options_meshpy import ClientOptions
54
53
  __all__ = [
55
54
  # Generated exports
56
55
  "AssignRoleToUserRequest",
57
- "ClientOptions",
58
56
  "CreateUserRequest",
59
57
  "GetUserRequest",
60
58
  "ListUsersRequest",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .user_pb2 import User
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  AssignRoleToUserRequest,
22
22
  CreateUserRequest,
@@ -28,7 +28,6 @@ from .service_meshpy import (
28
28
  TransactionServiceGRPCClient,
29
29
  TransactionServiceGRPCClientInterface,
30
30
  )
31
- from .service_options_meshpy import ClientOptions
32
31
 
33
32
  # ===================================================================
34
33
  # END OF AUTO-GENERATED SECTION
@@ -50,7 +49,6 @@ from .service_options_meshpy import ClientOptions
50
49
  # Combined auto-generated and manual exports
51
50
  __all__ = [
52
51
  # Generated exports
53
- "ClientOptions",
54
52
  "GetTransactionStateRequest",
55
53
  "GetTransactionStateResponse",
56
54
  "MonitorTransactionStateRequest",
@@ -15,7 +15,7 @@ from typing import Optional
15
15
  from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
- from .service_options_meshpy import ServiceOptions
18
+ from meshtrade.common.service_options import ServiceOptions
19
19
  from .service_pb2 import (
20
20
  GetTransactionStateRequest,
21
21
  GetTransactionStateResponse,
@@ -28,7 +28,7 @@ from meshtrade.option.v1 import method_type_pb2 as meshtrade_dot_option_dot_v1_d
28
28
  from meshtrade.ledger.transaction.v1 import transaction_state_pb2 as meshtrade_dot_ledger_dot_transaction_dot_v1_dot_transaction__state__pb2
29
29
 
30
30
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-meshtrade/ledger/transaction/v1/service.proto\x12\x1fmeshtrade.ledger.transaction.v1\x1a\x1b\x62uf/validate/validate.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a\x37meshtrade/ledger/transaction/v1/transaction_state.proto\"t\n\x1aGetTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"f\n\x1bGetTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state\"x\n\x1eMonitorTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01$\xc8\x01\x01R\x04name\"j\n\x1fMonitorTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state2\x80\x03\n\x12TransactionService\x12\xac\x01\n\x13GetTransactionState\x12;.meshtrade.ledger.transaction.v1.GetTransactionStateRequest\x1a<.meshtrade.ledger.transaction.v1.GetTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x12\xba\x01\n\x17MonitorTransactionState\x12?.meshtrade.ledger.transaction.v1.MonitorTransactionStateRequest\x1a@.meshtrade.ledger.transaction.v1.MonitorTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x30\x01\x42j\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1b\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-meshtrade/ledger/transaction/v1/service.proto\x12\x1fmeshtrade.ledger.transaction.v1\x1a\x1b\x62uf/validate/validate.proto\x1a meshtrade/iam/role/v1/role.proto\x1a%meshtrade/option/v1/method_type.proto\x1a\x37meshtrade/ledger/transaction/v1/transaction_state.proto\"t\n\x1aGetTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"f\n\x1bGetTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state\"x\n\x1eMonitorTransactionStateRequest\x12V\n\x04name\x18\x01 \x01(\tBB\xbaH?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\x98\x01\'\xc8\x01\x01R\x04name\"j\n\x1fMonitorTransactionStateResponse\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x31.meshtrade.ledger.transaction.v1.TransactionStateR\x05state2\x80\x03\n\x12TransactionService\x12\xac\x01\n\x13GetTransactionState\x12;.meshtrade.ledger.transaction.v1.GetTransactionStateRequest\x1a<.meshtrade.ledger.transaction.v1.GetTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x12\xba\x01\n\x17MonitorTransactionState\x12?.meshtrade.ledger.transaction.v1.MonitorTransactionStateRequest\x1a@.meshtrade.ledger.transaction.v1.MonitorTransactionStateResponse\"\x1a\xa0\xb5\x18\x01\xaa\xb5\x18\x12\n\x10\xc0\x9f\xab\x03\xc1\x9f\xab\x03\xc2\x9f\xab\x03\xc3\x9f\xab\x03\x30\x01\x42j\n&co.meshtrade.api.ledger.transaction.v1Z@github.com/meshtrade/api/go/ledger/transaction/v1;transaction_v1b\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -39,7 +39,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
39
39
  _globals['_GETTRANSACTIONSTATEREQUEST'].fields_by_name['name']._loaded_options = None
40
40
  _globals['_GETTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001\'\310\001\001'
41
41
  _globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._loaded_options = None
42
- _globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001$\310\001\001'
42
+ _globals['_MONITORTRANSACTIONSTATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H?r:25^transactions/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$\230\001\'\310\001\001'
43
43
  _globals['_TRANSACTIONSERVICE'].methods_by_name['GetTransactionState']._loaded_options = None
44
44
  _globals['_TRANSACTIONSERVICE'].methods_by_name['GetTransactionState']._serialized_options = b'\240\265\030\001\252\265\030\022\n\020\300\237\253\003\301\237\253\003\302\237\253\003\303\237\253\003'
45
45
  _globals['_TRANSACTIONSERVICE'].methods_by_name['MonitorTransactionState']._loaded_options = None
@@ -26,7 +26,6 @@ from .service_meshpy import (
26
26
  AccountReportServiceGRPCClient,
27
27
  AccountReportServiceGRPCClientInterface,
28
28
  )
29
- from .service_options_meshpy import ClientOptions
30
29
 
31
30
  # ===================================================================
32
31
  # END OF AUTO-GENERATED SECTION
@@ -52,7 +51,6 @@ __all__ = [
52
51
  "AccountReportService",
53
52
  "AccountReportServiceGRPCClient",
54
53
  "AccountReportServiceGRPCClientInterface",
55
- "ClientOptions",
56
54
  "Disclaimer",
57
55
  "FeeEntry",
58
56
  "GetAccountReportRequest",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .account_report_pb2 import AccountReport
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  GetAccountReportRequest,
22
22
  GetExcelAccountReportRequest,
@@ -22,7 +22,6 @@ from .service_meshpy import (
22
22
  LimitOrderServiceGRPCClient,
23
23
  LimitOrderServiceGRPCClientInterface,
24
24
  )
25
- from .service_options_meshpy import ClientOptions
26
25
 
27
26
  # ===================================================================
28
27
  # END OF AUTO-GENERATED SECTION
@@ -44,7 +43,6 @@ from .service_options_meshpy import ClientOptions
44
43
  # Combined auto-generated and manual exports
45
44
  __all__ = [
46
45
  # Generated exports
47
- "ClientOptions",
48
46
  "GetLimitOrderRequest",
49
47
  "LimitOrder",
50
48
  "LimitOrderService",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .limit_order_pb2 import LimitOrder
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  GetLimitOrderRequest,
22
22
  )
@@ -22,7 +22,6 @@ from .service_meshpy import (
22
22
  MarketOrderServiceGRPCClient,
23
23
  MarketOrderServiceGRPCClientInterface,
24
24
  )
25
- from .service_options_meshpy import ClientOptions
26
25
 
27
26
  # ===================================================================
28
27
  # END OF AUTO-GENERATED SECTION
@@ -44,7 +43,6 @@ from .service_options_meshpy import ClientOptions
44
43
  # Combined auto-generated and manual exports
45
44
  __all__ = [
46
45
  # Generated exports
47
- "ClientOptions",
48
46
  "GetMarketOrderRequest",
49
47
  "MarketOrder",
50
48
  "MarketOrderService",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .market_order_pb2 import MarketOrder
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  GetMarketOrderRequest,
22
22
  )
@@ -38,7 +38,6 @@ from .service_meshpy import (
38
38
  AccountServiceGRPCClient,
39
39
  AccountServiceGRPCClientInterface,
40
40
  )
41
- from .service_options_meshpy import ClientOptions
42
41
 
43
42
  # ===================================================================
44
43
  # END OF AUTO-GENERATED SECTION
@@ -66,7 +65,6 @@ __all__ = [
66
65
  "AccountServiceGRPCClientInterface",
67
66
  "AccountState",
68
67
  "Balance",
69
- "ClientOptions",
70
68
  "CreateAccountRequest",
71
69
  "GetAccountByNumberRequest",
72
70
  "GetAccountRequest",
@@ -16,7 +16,7 @@ from meshtrade.common import BaseGRPCClient
16
16
  from meshtrade.iam.api_user.v1.api_credentials import find_credentials
17
17
 
18
18
  from .account_pb2 import Account
19
- from .service_options_meshpy import ServiceOptions
19
+ from meshtrade.common.service_options import ServiceOptions
20
20
  from .service_pb2 import (
21
21
  CreateAccountRequest,
22
22
  GetAccountByNumberRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshtrade
3
- Version: 1.20.0
3
+ Version: 1.22.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
@@ -11,6 +11,7 @@ python/src/meshtrade.egg-info/top_level.txt
11
11
  python/src/meshtrade/common/__init__.py
12
12
  python/src/meshtrade/common/config.py
13
13
  python/src/meshtrade/common/grpc_client.py
14
+ python/src/meshtrade/common/service_options.py
14
15
  python/src/meshtrade/compliance/__init__.py
15
16
  python/src/meshtrade/compliance/client/__init__.py
16
17
  python/src/meshtrade/compliance/client/v1/__init__.py
@@ -45,7 +46,6 @@ python/src/meshtrade/compliance/client/v1/pep_status_pb2.py
45
46
  python/src/meshtrade/compliance/client/v1/pep_status_pb2.pyi
46
47
  python/src/meshtrade/compliance/client/v1/pep_status_pb2_grpc.py
47
48
  python/src/meshtrade/compliance/client/v1/service_meshpy.py
48
- python/src/meshtrade/compliance/client/v1/service_options_meshpy.py
49
49
  python/src/meshtrade/compliance/client/v1/service_pb2.py
50
50
  python/src/meshtrade/compliance/client/v1/service_pb2.pyi
51
51
  python/src/meshtrade/compliance/client/v1/service_pb2_grpc.py
@@ -72,7 +72,6 @@ python/src/meshtrade/iam/api_user/v1/api_user_pb2.pyi
72
72
  python/src/meshtrade/iam/api_user/v1/api_user_pb2_grpc.py
73
73
  python/src/meshtrade/iam/api_user/v1/service.py
74
74
  python/src/meshtrade/iam/api_user/v1/service_meshpy.py
75
- python/src/meshtrade/iam/api_user/v1/service_options_meshpy.py
76
75
  python/src/meshtrade/iam/api_user/v1/service_pb2.py
77
76
  python/src/meshtrade/iam/api_user/v1/service_pb2.pyi
78
77
  python/src/meshtrade/iam/api_user/v1/service_pb2_grpc.py
@@ -82,7 +81,6 @@ python/src/meshtrade/iam/group/v1/group_pb2.py
82
81
  python/src/meshtrade/iam/group/v1/group_pb2.pyi
83
82
  python/src/meshtrade/iam/group/v1/group_pb2_grpc.py
84
83
  python/src/meshtrade/iam/group/v1/service_meshpy.py
85
- python/src/meshtrade/iam/group/v1/service_options_meshpy.py
86
84
  python/src/meshtrade/iam/group/v1/service_pb2.py
87
85
  python/src/meshtrade/iam/group/v1/service_pb2.pyi
88
86
  python/src/meshtrade/iam/group/v1/service_pb2_grpc.py
@@ -93,7 +91,6 @@ python/src/meshtrade/iam/role/v1/role_pb2.pyi
93
91
  python/src/meshtrade/iam/role/v1/role_pb2_grpc.py
94
92
  python/src/meshtrade/iam/user/v1/__init__.py
95
93
  python/src/meshtrade/iam/user/v1/service_meshpy.py
96
- python/src/meshtrade/iam/user/v1/service_options_meshpy.py
97
94
  python/src/meshtrade/iam/user/v1/service_pb2.py
98
95
  python/src/meshtrade/iam/user/v1/service_pb2.pyi
99
96
  python/src/meshtrade/iam/user/v1/service_pb2_grpc.py
@@ -104,7 +101,6 @@ python/src/meshtrade/ledger/__init__.py
104
101
  python/src/meshtrade/ledger/transaction/__init__.py
105
102
  python/src/meshtrade/ledger/transaction/v1/__init__.py
106
103
  python/src/meshtrade/ledger/transaction/v1/service_meshpy.py
107
- python/src/meshtrade/ledger/transaction/v1/service_options_meshpy.py
108
104
  python/src/meshtrade/ledger/transaction/v1/service_pb2.py
109
105
  python/src/meshtrade/ledger/transaction/v1/service_pb2.pyi
110
106
  python/src/meshtrade/ledger/transaction/v1/service_pb2_grpc.py
@@ -132,7 +128,6 @@ python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.py
132
128
  python/src/meshtrade/reporting/account_report/v1/income_entry_pb2.pyi
133
129
  python/src/meshtrade/reporting/account_report/v1/income_entry_pb2_grpc.py
134
130
  python/src/meshtrade/reporting/account_report/v1/service_meshpy.py
135
- python/src/meshtrade/reporting/account_report/v1/service_options_meshpy.py
136
131
  python/src/meshtrade/reporting/account_report/v1/service_pb2.py
137
132
  python/src/meshtrade/reporting/account_report/v1/service_pb2.pyi
138
133
  python/src/meshtrade/reporting/account_report/v1/service_pb2_grpc.py
@@ -156,7 +151,6 @@ python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.py
156
151
  python/src/meshtrade/trading/limit_order/v1/limit_order_pb2.pyi
157
152
  python/src/meshtrade/trading/limit_order/v1/limit_order_pb2_grpc.py
158
153
  python/src/meshtrade/trading/limit_order/v1/service_meshpy.py
159
- python/src/meshtrade/trading/limit_order/v1/service_options_meshpy.py
160
154
  python/src/meshtrade/trading/limit_order/v1/service_pb2.py
161
155
  python/src/meshtrade/trading/limit_order/v1/service_pb2.pyi
162
156
  python/src/meshtrade/trading/limit_order/v1/service_pb2_grpc.py
@@ -165,7 +159,6 @@ python/src/meshtrade/trading/market_order/v1/market_order_pb2.py
165
159
  python/src/meshtrade/trading/market_order/v1/market_order_pb2.pyi
166
160
  python/src/meshtrade/trading/market_order/v1/market_order_pb2_grpc.py
167
161
  python/src/meshtrade/trading/market_order/v1/service_meshpy.py
168
- python/src/meshtrade/trading/market_order/v1/service_options_meshpy.py
169
162
  python/src/meshtrade/trading/market_order/v1/service_pb2.py
170
163
  python/src/meshtrade/trading/market_order/v1/service_pb2.pyi
171
164
  python/src/meshtrade/trading/market_order/v1/service_pb2_grpc.py
@@ -209,7 +202,6 @@ python/src/meshtrade/wallet/account/v1/account_pb2.py
209
202
  python/src/meshtrade/wallet/account/v1/account_pb2.pyi
210
203
  python/src/meshtrade/wallet/account/v1/account_pb2_grpc.py
211
204
  python/src/meshtrade/wallet/account/v1/service_meshpy.py
212
- python/src/meshtrade/wallet/account/v1/service_options_meshpy.py
213
205
  python/src/meshtrade/wallet/account/v1/service_pb2.py
214
206
  python/src/meshtrade/wallet/account/v1/service_pb2.pyi
215
207
  python/src/meshtrade/wallet/account/v1/service_pb2_grpc.py
@@ -1,65 +0,0 @@
1
- # Code generated by protoc-gen-meshpy. DO NOT EDIT.
2
- # source: meshtrade/compliance/client/v1/service.proto
3
-
4
- """
5
- Configuration options for ClientService gRPC service.
6
- This module provides a clean, extensible way to configure the service with optional
7
- parameters while maintaining backward compatibility and readability.
8
- """
9
-
10
- from datetime import timedelta
11
-
12
-
13
- class ServiceOptions:
14
- """Configuration options for ClientService gRPC service.
15
-
16
- This class provides a clean, extensible way to configure the service with optional
17
- parameters while maintaining backward compatibility and readability.
18
- """
19
-
20
- def __init__(
21
- self,
22
- tls: bool = True,
23
- url: str | None = None,
24
- port: int | None = None,
25
- api_key: str | None = None,
26
- group: str | None = None,
27
- timeout: timedelta = timedelta(seconds=30),
28
- ):
29
- """Initialize service options.
30
-
31
- Args:
32
- tls: Whether to use TLS encryption for the gRPC connection.
33
- When True, establishes a secure connection using TLS.
34
- When False, uses an insecure connection.
35
- Default: True (secure connection)
36
-
37
- url: The server hostname or IP address (e.g., "api.example.com", "localhost").
38
- Default: Uses DEFAULT_GRPC_URL from common module
39
-
40
- port: The server port number (e.g., 443 for HTTPS, 8080 for development).
41
- Default: Uses DEFAULT_GRPC_PORT from common module
42
-
43
- api_key: The API key string (without "Bearer " prefix) for authentication.
44
- The API key will be sent as a Bearer token in the Authorization header.
45
- This is the primary authentication method for service-to-service communication.
46
-
47
- group: The group resource name in format groups/{group_id} required for all API requests.
48
- The group determines the authorization context for operations
49
- and is sent as an "x-group" header with every request.
50
-
51
- timeout: The default timeout for all gRPC method calls.
52
- This timeout applies to individual method calls and helps prevent hanging requests.
53
- If a request takes longer than the specified timeout, it will be cancelled.
54
- Default: 30 seconds
55
- """
56
- self.tls = tls
57
- self.url = url
58
- self.port = port
59
- self.api_key = api_key
60
- self.group = group
61
- self.timeout = timeout
62
-
63
-
64
- # Create alias to match expected exports
65
- ClientOptions = ServiceOptions
@@ -1,65 +0,0 @@
1
- # Code generated by protoc-gen-meshpy. DO NOT EDIT.
2
- # source: meshtrade/iam/api_user/v1/service.proto
3
-
4
- """
5
- Configuration options for ApiUserService gRPC service.
6
- This module provides a clean, extensible way to configure the service with optional
7
- parameters while maintaining backward compatibility and readability.
8
- """
9
-
10
- from datetime import timedelta
11
-
12
-
13
- class ServiceOptions:
14
- """Configuration options for ApiUserService gRPC service.
15
-
16
- This class provides a clean, extensible way to configure the service with optional
17
- parameters while maintaining backward compatibility and readability.
18
- """
19
-
20
- def __init__(
21
- self,
22
- tls: bool = True,
23
- url: str | None = None,
24
- port: int | None = None,
25
- api_key: str | None = None,
26
- group: str | None = None,
27
- timeout: timedelta = timedelta(seconds=30),
28
- ):
29
- """Initialize service options.
30
-
31
- Args:
32
- tls: Whether to use TLS encryption for the gRPC connection.
33
- When True, establishes a secure connection using TLS.
34
- When False, uses an insecure connection.
35
- Default: True (secure connection)
36
-
37
- url: The server hostname or IP address (e.g., "api.example.com", "localhost").
38
- Default: Uses DEFAULT_GRPC_URL from common module
39
-
40
- port: The server port number (e.g., 443 for HTTPS, 8080 for development).
41
- Default: Uses DEFAULT_GRPC_PORT from common module
42
-
43
- api_key: The API key string (without "Bearer " prefix) for authentication.
44
- The API key will be sent as a Bearer token in the Authorization header.
45
- This is the primary authentication method for service-to-service communication.
46
-
47
- group: The group resource name in format groups/{group_id} required for all API requests.
48
- The group determines the authorization context for operations
49
- and is sent as an "x-group" header with every request.
50
-
51
- timeout: The default timeout for all gRPC method calls.
52
- This timeout applies to individual method calls and helps prevent hanging requests.
53
- If a request takes longer than the specified timeout, it will be cancelled.
54
- Default: 30 seconds
55
- """
56
- self.tls = tls
57
- self.url = url
58
- self.port = port
59
- self.api_key = api_key
60
- self.group = group
61
- self.timeout = timeout
62
-
63
-
64
- # Create alias to match expected exports
65
- ClientOptions = ServiceOptions