crypticorn 2.4.5__tar.gz → 2.4.6__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.
Files changed (296) hide show
  1. {crypticorn-2.4.5 → crypticorn-2.4.6}/PKG-INFO +6 -1
  2. {crypticorn-2.4.5 → crypticorn-2.4.6}/README.md +5 -0
  3. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/client.py +1 -1
  4. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/errors.py +1 -1
  5. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/scopes.py +2 -1
  6. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/exchange_mapping.py +4 -2
  7. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/trading_status.py +1 -0
  8. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/__init__.py +5 -4
  9. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api/payments_api.py +17 -17
  10. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api/products_api.py +49 -48
  11. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/__init__.py +5 -4
  12. crypticorn-2.4.6/crypticorn/pay/client/models/payment.py +112 -0
  13. crypticorn-2.4.6/crypticorn/pay/client/models/product_create.py +120 -0
  14. crypticorn-2.4.6/crypticorn/pay/client/models/product_read.py +123 -0
  15. crypticorn-2.4.6/crypticorn/pay/client/models/product_sub_read.py +103 -0
  16. crypticorn-2.4.6/crypticorn/pay/client/models/product_update.py +142 -0
  17. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/PKG-INFO +6 -1
  18. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/SOURCES.txt +4 -0
  19. {crypticorn-2.4.5 → crypticorn-2.4.6}/pyproject.toml +1 -1
  20. crypticorn-2.4.5/crypticorn/pay/client/models/payment.py +0 -231
  21. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/__init__.py +0 -0
  22. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/__init__.py +0 -0
  23. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/__init__.py +0 -0
  24. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/__init__.py +0 -0
  25. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/admin_api.py +0 -0
  26. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/auth_api.py +0 -0
  27. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/service_api.py +0 -0
  28. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/user_api.py +0 -0
  29. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api/wallet_api.py +0 -0
  30. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api_client.py +0 -0
  31. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/api_response.py +0 -0
  32. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/configuration.py +0 -0
  33. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/exceptions.py +0 -0
  34. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/__init__.py +0 -0
  35. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/add_wallet200_response.py +0 -0
  36. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/add_wallet_request.py +0 -0
  37. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/authorize_user200_response.py +0 -0
  38. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/authorize_user200_response_auth.py +0 -0
  39. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/authorize_user_request.py +0 -0
  40. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/create_api_key200_response.py +0 -0
  41. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/create_api_key_request.py +0 -0
  42. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/create_user_request.py +0 -0
  43. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/get_api_keys200_response_inner.py +0 -0
  44. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response.py +0 -0
  45. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +0 -0
  46. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +0 -0
  47. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +0 -0
  48. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +0 -0
  49. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_data_inner.py +0 -0
  50. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/list_wallets200_response_user_value.py +0 -0
  51. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/logout_default_response.py +0 -0
  52. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/logout_default_response_issues_inner.py +0 -0
  53. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/oauth_callback200_response.py +0 -0
  54. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/oauth_callback200_response_user.py +0 -0
  55. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/refresh_token_info200_response.py +0 -0
  56. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +0 -0
  57. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/resend_verification_email_request.py +0 -0
  58. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/revoke_user_tokens_request.py +0 -0
  59. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/rotate_tokens200_response.py +0 -0
  60. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/token_info200_response.py +0 -0
  61. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/unlink_wallet_request.py +0 -0
  62. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/update_user_request.py +0 -0
  63. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/user_reset_password_request.py +0 -0
  64. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/user_set_password_request.py +0 -0
  65. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify200_response.py +0 -0
  66. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify_email200_response.py +0 -0
  67. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify_email200_response_auth.py +0 -0
  68. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify_email200_response_auth_auth.py +0 -0
  69. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify_email_request.py +0 -0
  70. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/verify_wallet_request.py +0 -0
  71. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/wallet_verified200_response.py +0 -0
  72. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/models/whoami200_response.py +0 -0
  73. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/py.typed +0 -0
  74. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/client/rest.py +0 -0
  75. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/auth/main.py +0 -0
  76. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/cli/__init__.py +0 -0
  77. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/cli/__main__.py +0 -0
  78. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/cli/init.py +0 -0
  79. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/cli/templates/__init__.py +0 -0
  80. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/cli/templates/auth.py +0 -0
  81. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/__init__.py +0 -0
  82. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/auth.py +0 -0
  83. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/enums.py +0 -0
  84. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/pydantic.py +0 -0
  85. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/sorter.py +0 -0
  86. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/urls.py +0 -0
  87. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/common/utils.py +0 -0
  88. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/__init__.py +0 -0
  89. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/__init__.py +0 -0
  90. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api/__init__.py +0 -0
  91. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api/data_api.py +0 -0
  92. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api/models_api.py +0 -0
  93. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api/status_api.py +0 -0
  94. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api_client.py +0 -0
  95. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/api_response.py +0 -0
  96. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/configuration.py +0 -0
  97. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/exceptions.py +0 -0
  98. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/__init__.py +0 -0
  99. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/coins.py +0 -0
  100. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/data_download_response.py +0 -0
  101. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/data_info.py +0 -0
  102. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/data_value_value_value_inner.py +0 -0
  103. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/data_version.py +0 -0
  104. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/download_links.py +0 -0
  105. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/evaluation.py +0 -0
  106. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/evaluation_response.py +0 -0
  107. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/feature_size.py +0 -0
  108. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/http_validation_error.py +0 -0
  109. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/model.py +0 -0
  110. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/model_create.py +0 -0
  111. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/model_status.py +0 -0
  112. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/model_update.py +0 -0
  113. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/target.py +0 -0
  114. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/target_type.py +0 -0
  115. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/validation_error.py +0 -0
  116. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/models/validation_error_loc_inner.py +0 -0
  117. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/py.typed +0 -0
  118. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/client/rest.py +0 -0
  119. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/hive/main.py +0 -0
  120. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/__init__.py +0 -0
  121. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/__init__.py +0 -0
  122. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/__init__.py +0 -0
  123. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/funding_rates_api.py +0 -0
  124. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/health_check_api.py +0 -0
  125. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/ohlcv_data_api.py +0 -0
  126. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/symbols_api.py +0 -0
  127. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api/udf_api.py +0 -0
  128. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api_client.py +0 -0
  129. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/api_response.py +0 -0
  130. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/configuration.py +0 -0
  131. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/exceptions.py +0 -0
  132. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/__init__.py +0 -0
  133. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/base_response_health_check_response.py +0 -0
  134. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/base_response_list_funding_rate_response.py +0 -0
  135. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/base_response_list_str.py +0 -0
  136. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/base_response_ohlcv_response.py +0 -0
  137. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/error_response.py +0 -0
  138. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/exchange.py +0 -0
  139. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/funding_rate_response.py +0 -0
  140. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/health_check_response.py +0 -0
  141. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/history_error_response.py +0 -0
  142. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/history_no_data_response.py +0 -0
  143. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/history_success_response.py +0 -0
  144. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/http_validation_error.py +0 -0
  145. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/market.py +0 -0
  146. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/ohlcv_response.py +0 -0
  147. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/resolution.py +0 -0
  148. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/response_get_history_udf_history_get.py +0 -0
  149. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/search_symbol_response.py +0 -0
  150. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/sort_direction.py +0 -0
  151. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/symbol_group_response.py +0 -0
  152. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/symbol_info_response.py +0 -0
  153. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/symbol_type.py +0 -0
  154. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/timeframe.py +0 -0
  155. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/udf_config_response.py +0 -0
  156. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/validation_error.py +0 -0
  157. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/models/validation_error_loc_inner.py +0 -0
  158. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/py.typed +0 -0
  159. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/client/rest.py +0 -0
  160. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/klines/main.py +0 -0
  161. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/__init__.py +0 -0
  162. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/__init__.py +0 -0
  163. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/__init__.py +0 -0
  164. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/exchanges_api.py +0 -0
  165. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/health_check_api.py +0 -0
  166. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/indicators_api.py +0 -0
  167. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/logs_api.py +0 -0
  168. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/marketcap_api.py +0 -0
  169. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/markets_api.py +0 -0
  170. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api/tokens_api.py +0 -0
  171. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api_client.py +0 -0
  172. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/api_response.py +0 -0
  173. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/configuration.py +0 -0
  174. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/exceptions.py +0 -0
  175. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/__init__.py +0 -0
  176. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/base_response_dict.py +0 -0
  177. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/base_response_health_check_response.py +0 -0
  178. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/base_response_list_dict.py +0 -0
  179. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/base_response_list_exchange_mapping.py +0 -0
  180. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/base_response_list_str.py +0 -0
  181. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/error_response.py +0 -0
  182. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/health_check_response.py +0 -0
  183. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/http_validation_error.py +0 -0
  184. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/market.py +0 -0
  185. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/market_type.py +0 -0
  186. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/severity.py +0 -0
  187. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/time_interval.py +0 -0
  188. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/validation_error.py +0 -0
  189. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/models/validation_error_loc_inner.py +0 -0
  190. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/py.typed +0 -0
  191. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/client/rest.py +0 -0
  192. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/metrics/main.py +0 -0
  193. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/__init__.py +0 -0
  194. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api/__init__.py +0 -0
  195. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api/now_payments_api.py +0 -0
  196. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api/status_api.py +0 -0
  197. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api_client.py +0 -0
  198. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/api_response.py +0 -0
  199. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/configuration.py +0 -0
  200. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/exceptions.py +0 -0
  201. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/api_status_res.py +0 -0
  202. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/body_create_now_invoice.py +0 -0
  203. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/body_create_product.py +0 -0
  204. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/body_get_products.py +0 -0
  205. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/body_handle_now_webhook.py +0 -0
  206. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/body_update_product.py +0 -0
  207. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/combined_payment_history.py +0 -0
  208. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/create_invoice_req.py +0 -0
  209. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/create_invoice_res.py +0 -0
  210. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/currency.py +0 -0
  211. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/estimate_price_req.py +0 -0
  212. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/estimate_price_res.py +0 -0
  213. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/get_currencies_res.py +0 -0
  214. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/get_payment_status_res.py +0 -0
  215. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/get_payments_list_res.py +0 -0
  216. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/http_validation_error.py +0 -0
  217. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/min_amount_req.py +0 -0
  218. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/min_amount_res.py +0 -0
  219. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_api_status_res.py +0 -0
  220. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_create_invoice_req.py +0 -0
  221. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_create_invoice_res.py +0 -0
  222. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_fee_structure.py +0 -0
  223. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_payment_model.py +0 -0
  224. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_payment_status.py +0 -0
  225. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/now_webhook_payload.py +0 -0
  226. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/partial_product_update_model.py +0 -0
  227. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/payment_status.py +0 -0
  228. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/product.py +0 -0
  229. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/product_model.py +0 -0
  230. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/product_subs_model.py +0 -0
  231. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/product_update_model.py +0 -0
  232. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/scope.py +0 -0
  233. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/services.py +0 -0
  234. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/unified_payment_model.py +0 -0
  235. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/validation_error.py +0 -0
  236. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/models/validation_error_loc_inner.py +0 -0
  237. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/py.typed +0 -0
  238. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/client/rest.py +0 -0
  239. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/pay/main.py +0 -0
  240. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/__init__.py +0 -0
  241. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/__init__.py +0 -0
  242. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/__init__.py +0 -0
  243. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/api_keys_api.py +0 -0
  244. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/bots_api.py +0 -0
  245. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/exchanges_api.py +0 -0
  246. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/futures_trading_panel_api.py +0 -0
  247. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/notifications_api.py +0 -0
  248. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/orders_api.py +0 -0
  249. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/status_api.py +0 -0
  250. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/strategies_api.py +0 -0
  251. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api/trading_actions_api.py +0 -0
  252. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api_client.py +0 -0
  253. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/api_response.py +0 -0
  254. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/configuration.py +0 -0
  255. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/exceptions.py +0 -0
  256. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/__init__.py +0 -0
  257. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/action_model.py +0 -0
  258. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/api_error_identifier.py +0 -0
  259. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/api_error_level.py +0 -0
  260. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/api_error_type.py +0 -0
  261. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/api_key_model.py +0 -0
  262. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/bot_model.py +0 -0
  263. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/bot_status.py +0 -0
  264. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/exchange.py +0 -0
  265. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/exchange_key_model.py +0 -0
  266. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/execution_ids.py +0 -0
  267. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/futures_balance.py +0 -0
  268. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/futures_trading_action.py +0 -0
  269. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/http_validation_error.py +0 -0
  270. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/margin_mode.py +0 -0
  271. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/market_type.py +0 -0
  272. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/notification_model.py +0 -0
  273. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/order_model.py +0 -0
  274. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/order_status.py +0 -0
  275. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/post_futures_action.py +0 -0
  276. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/strategy_exchange_info.py +0 -0
  277. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/strategy_model_input.py +0 -0
  278. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/strategy_model_output.py +0 -0
  279. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/tpsl.py +0 -0
  280. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/trading_action_type.py +0 -0
  281. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/validation_error.py +0 -0
  282. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/models/validation_error_loc_inner.py +0 -0
  283. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/py.typed +0 -0
  284. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/client/rest.py +0 -0
  285. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn/trade/main.py +0 -0
  286. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/dependency_links.txt +0 -0
  287. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/entry_points.txt +0 -0
  288. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/requires.txt +0 -0
  289. {crypticorn-2.4.5 → crypticorn-2.4.6}/crypticorn.egg-info/top_level.txt +0 -0
  290. {crypticorn-2.4.5 → crypticorn-2.4.6}/requirements/dev.txt +0 -0
  291. {crypticorn-2.4.5 → crypticorn-2.4.6}/requirements/main.txt +0 -0
  292. {crypticorn-2.4.5 → crypticorn-2.4.6}/requirements/test.txt +0 -0
  293. {crypticorn-2.4.5 → crypticorn-2.4.6}/setup.cfg +0 -0
  294. {crypticorn-2.4.5 → crypticorn-2.4.6}/tests/test_auth_client.py +0 -0
  295. {crypticorn-2.4.5 → crypticorn-2.4.6}/tests/test_enums.py +0 -0
  296. {crypticorn-2.4.5 → crypticorn-2.4.6}/tests/test_errors.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crypticorn
3
- Version: 2.4.5
3
+ Version: 2.4.6
4
4
  Summary: Maximise Your Crypto Trading Profits with AI Predictions
5
5
  Author-email: Crypticorn <timon@crypticorn.com>
6
6
  Project-URL: Homepage, https://crypticorn.com
@@ -95,7 +95,12 @@ client = ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key")
95
95
  asyncio.run(client.pay.models.get_products())
96
96
  asyncio.run(client.close())
97
97
  ```
98
+ ...or wrapped in a function
99
+ async def main():
100
+ await client.pay.products.get_products()
98
101
 
102
+ asyncio.run(main())
103
+ asyncio.run(client.close())
99
104
  ## Response Types
100
105
 
101
106
  There are three different available output formats you can choose from:
@@ -58,7 +58,12 @@ client = ApiClient(base_url=BaseUrl.Prod, api_key="your-api-key")
58
58
  asyncio.run(client.pay.models.get_products())
59
59
  asyncio.run(client.close())
60
60
  ```
61
+ ...or wrapped in a function
62
+ async def main():
63
+ await client.pay.products.get_products()
61
64
 
65
+ asyncio.run(main())
66
+ asyncio.run(client.close())
62
67
  ## Response Types
63
68
 
64
69
  There are three different available output formats you can choose from:
@@ -106,7 +106,7 @@ class ApiClient:
106
106
  new_config = sub_client.config
107
107
  for attr in vars(config):
108
108
  new_value = getattr(config, attr)
109
- if new_value is not None:
109
+ if new_value:
110
110
  setattr(new_config, attr, new_value)
111
111
 
112
112
  if sub_client == self.hive:
@@ -7,7 +7,7 @@ logger = logging.getLogger(__name__)
7
7
 
8
8
  class Fallback(EnumMeta):
9
9
  """Fallback to UNKNOWN_ERROR for error codes not yet published to PyPI."""
10
-
10
+
11
11
  def __getattr__(cls, name):
12
12
  # Let Pydantic/internal stuff pass silently ! fragile
13
13
  if name.startswith("__"):
@@ -6,6 +6,7 @@ logger = logging.getLogger("uvicorn")
6
6
 
7
7
  class Fallback(EnumMeta):
8
8
  """Fallback to no scope for unknown scopes."""
9
+
9
10
  # Note: This is a workaround to avoid the AttributeError when an unknown scope is accessed.
10
11
  # As soon as we have stable scopes, we can remove this.
11
12
 
@@ -19,7 +20,7 @@ class Fallback(EnumMeta):
19
20
  return None
20
21
 
21
22
 
22
- class Scope(StrEnum, metaclass=Fallback):
23
+ class Scope(StrEnum):
23
24
  """
24
25
  The permission scopes for the API.
25
26
  """
@@ -20,6 +20,8 @@ import json
20
20
  from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from crypticorn.metrics.client.models.market_type import MarketType
24
+ from crypticorn.metrics.client.models.trading_status import TradingStatus
23
25
  from typing import Optional, Set
24
26
  from typing_extensions import Self
25
27
 
@@ -35,8 +37,8 @@ class ExchangeMapping(BaseModel):
35
37
  pair: StrictStr
36
38
  first_trade_timestamp: Optional[datetime]
37
39
  last_trade_timestamp: Optional[datetime]
38
- status: StrictStr
39
- market_type: Optional[StrictStr]
40
+ status: TradingStatus
41
+ market_type: Optional[MarketType]
40
42
  __properties: ClassVar[List[str]] = [
41
43
  "exchange_name",
42
44
  "symbol",
@@ -28,6 +28,7 @@ class TradingStatus(str, Enum):
28
28
  """
29
29
  ACTIVE = "ACTIVE"
30
30
  RETIRED = "RETIRED"
31
+ EXPIRED = "EXPIRED"
31
32
 
32
33
  @classmethod
33
34
  def from_json(cls, json_str: str) -> Self:
@@ -41,13 +41,14 @@ from crypticorn.pay.client.models.now_create_invoice_res import NowCreateInvoice
41
41
  from crypticorn.pay.client.models.now_fee_structure import NowFeeStructure
42
42
  from crypticorn.pay.client.models.now_payment_status import NowPaymentStatus
43
43
  from crypticorn.pay.client.models.now_webhook_payload import NowWebhookPayload
44
+ from crypticorn.pay.client.models.payment import Payment
44
45
  from crypticorn.pay.client.models.payment_status import PaymentStatus
45
- from crypticorn.pay.client.models.product_model import ProductModel
46
- from crypticorn.pay.client.models.product_subs_model import ProductSubsModel
47
- from crypticorn.pay.client.models.product_update_model import ProductUpdateModel
46
+ from crypticorn.pay.client.models.product_create import ProductCreate
47
+ from crypticorn.pay.client.models.product_read import ProductRead
48
+ from crypticorn.pay.client.models.product_sub_read import ProductSubRead
49
+ from crypticorn.pay.client.models.product_update import ProductUpdate
48
50
  from crypticorn.pay.client.models.scope import Scope
49
51
  from crypticorn.pay.client.models.services import Services
50
- from crypticorn.pay.client.models.unified_payment_model import UnifiedPaymentModel
51
52
  from crypticorn.pay.client.models.validation_error import ValidationError
52
53
  from crypticorn.pay.client.models.validation_error_loc_inner import (
53
54
  ValidationErrorLocInner,
@@ -19,8 +19,8 @@ from typing_extensions import Annotated
19
19
  from pydantic import Field, StrictInt, StrictStr
20
20
  from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
- from crypticorn.pay.client.models.product_subs_model import ProductSubsModel
23
- from crypticorn.pay.client.models.unified_payment_model import UnifiedPaymentModel
22
+ from crypticorn.pay.client.models.payment import Payment
23
+ from crypticorn.pay.client.models.product_sub_read import ProductSubRead
24
24
 
25
25
  from crypticorn.pay.client.api_client import ApiClient, RequestSerialized
26
26
  from crypticorn.pay.client.api_response import ApiResponse
@@ -57,7 +57,7 @@ class PaymentsApi:
57
57
  _content_type: Optional[StrictStr] = None,
58
58
  _headers: Optional[Dict[StrictStr, Any]] = None,
59
59
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
60
- ) -> UnifiedPaymentModel:
60
+ ) -> Payment:
61
61
  """Get Latest Payment From Invoice
62
62
 
63
63
  Get the latest payment by a user from an invoice
@@ -95,7 +95,7 @@ class PaymentsApi:
95
95
  )
96
96
 
97
97
  _response_types_map: Dict[str, Optional[str]] = {
98
- "200": "UnifiedPaymentModel",
98
+ "200": "Payment",
99
99
  "422": "HTTPValidationError",
100
100
  }
101
101
  response_data = await self.api_client.call_api(
@@ -125,7 +125,7 @@ class PaymentsApi:
125
125
  _content_type: Optional[StrictStr] = None,
126
126
  _headers: Optional[Dict[StrictStr, Any]] = None,
127
127
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
128
- ) -> ApiResponse[UnifiedPaymentModel]:
128
+ ) -> ApiResponse[Payment]:
129
129
  """Get Latest Payment From Invoice
130
130
 
131
131
  Get the latest payment by a user from an invoice
@@ -163,7 +163,7 @@ class PaymentsApi:
163
163
  )
164
164
 
165
165
  _response_types_map: Dict[str, Optional[str]] = {
166
- "200": "UnifiedPaymentModel",
166
+ "200": "Payment",
167
167
  "422": "HTTPValidationError",
168
168
  }
169
169
  response_data = await self.api_client.call_api(
@@ -231,7 +231,7 @@ class PaymentsApi:
231
231
  )
232
232
 
233
233
  _response_types_map: Dict[str, Optional[str]] = {
234
- "200": "UnifiedPaymentModel",
234
+ "200": "Payment",
235
235
  "422": "HTTPValidationError",
236
236
  }
237
237
  response_data = await self.api_client.call_api(
@@ -321,7 +321,7 @@ class PaymentsApi:
321
321
  _content_type: Optional[StrictStr] = None,
322
322
  _headers: Optional[Dict[StrictStr, Any]] = None,
323
323
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
324
- ) -> List[UnifiedPaymentModel]:
324
+ ) -> List[Payment]:
325
325
  """Get Payments
326
326
 
327
327
  Get the combined payment history for a user across all payment services.
@@ -362,7 +362,7 @@ class PaymentsApi:
362
362
  )
363
363
 
364
364
  _response_types_map: Dict[str, Optional[str]] = {
365
- "200": "List[UnifiedPaymentModel]",
365
+ "200": "List[Payment]",
366
366
  "422": "HTTPValidationError",
367
367
  }
368
368
  response_data = await self.api_client.call_api(
@@ -400,7 +400,7 @@ class PaymentsApi:
400
400
  _content_type: Optional[StrictStr] = None,
401
401
  _headers: Optional[Dict[StrictStr, Any]] = None,
402
402
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
403
- ) -> ApiResponse[List[UnifiedPaymentModel]]:
403
+ ) -> ApiResponse[List[Payment]]:
404
404
  """Get Payments
405
405
 
406
406
  Get the combined payment history for a user across all payment services.
@@ -441,7 +441,7 @@ class PaymentsApi:
441
441
  )
442
442
 
443
443
  _response_types_map: Dict[str, Optional[str]] = {
444
- "200": "List[UnifiedPaymentModel]",
444
+ "200": "List[Payment]",
445
445
  "422": "HTTPValidationError",
446
446
  }
447
447
  response_data = await self.api_client.call_api(
@@ -520,7 +520,7 @@ class PaymentsApi:
520
520
  )
521
521
 
522
522
  _response_types_map: Dict[str, Optional[str]] = {
523
- "200": "List[UnifiedPaymentModel]",
523
+ "200": "List[Payment]",
524
524
  "422": "HTTPValidationError",
525
525
  }
526
526
  response_data = await self.api_client.call_api(
@@ -609,7 +609,7 @@ class PaymentsApi:
609
609
  _content_type: Optional[StrictStr] = None,
610
610
  _headers: Optional[Dict[StrictStr, Any]] = None,
611
611
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
612
- ) -> List[ProductSubsModel]:
612
+ ) -> List[ProductSubRead]:
613
613
  """Get Subscriptions
614
614
 
615
615
  Get all subscriptions for a user. Subscriptions are the products a user has subscribed to. Returns both active and inactive subscriptions.
@@ -647,7 +647,7 @@ class PaymentsApi:
647
647
  )
648
648
 
649
649
  _response_types_map: Dict[str, Optional[str]] = {
650
- "200": "List[ProductSubsModel]",
650
+ "200": "List[ProductSubRead]",
651
651
  "422": "HTTPValidationError",
652
652
  }
653
653
  response_data = await self.api_client.call_api(
@@ -679,7 +679,7 @@ class PaymentsApi:
679
679
  _content_type: Optional[StrictStr] = None,
680
680
  _headers: Optional[Dict[StrictStr, Any]] = None,
681
681
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
682
- ) -> ApiResponse[List[ProductSubsModel]]:
682
+ ) -> ApiResponse[List[ProductSubRead]]:
683
683
  """Get Subscriptions
684
684
 
685
685
  Get all subscriptions for a user. Subscriptions are the products a user has subscribed to. Returns both active and inactive subscriptions.
@@ -717,7 +717,7 @@ class PaymentsApi:
717
717
  )
718
718
 
719
719
  _response_types_map: Dict[str, Optional[str]] = {
720
- "200": "List[ProductSubsModel]",
720
+ "200": "List[ProductSubRead]",
721
721
  "422": "HTTPValidationError",
722
722
  }
723
723
  response_data = await self.api_client.call_api(
@@ -787,7 +787,7 @@ class PaymentsApi:
787
787
  )
788
788
 
789
789
  _response_types_map: Dict[str, Optional[str]] = {
790
- "200": "List[ProductSubsModel]",
790
+ "200": "List[ProductSubRead]",
791
791
  "422": "HTTPValidationError",
792
792
  }
793
793
  response_data = await self.api_client.call_api(
@@ -17,10 +17,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import Field, StrictInt, StrictStr
20
- from typing import Any, List, Optional
20
+ from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
- from crypticorn.pay.client.models.product_model import ProductModel
23
- from crypticorn.pay.client.models.product_update_model import ProductUpdateModel
22
+ from crypticorn.pay.client.models.product_create import ProductCreate
23
+ from crypticorn.pay.client.models.product_read import ProductRead
24
+ from crypticorn.pay.client.models.product_update import ProductUpdate
24
25
 
25
26
  from crypticorn.pay.client.api_client import ApiClient, RequestSerialized
26
27
  from crypticorn.pay.client.api_response import ApiResponse
@@ -42,7 +43,7 @@ class ProductsApi:
42
43
  @validate_call
43
44
  async def create_product(
44
45
  self,
45
- product_model: ProductModel,
46
+ product_create: ProductCreate,
46
47
  _request_timeout: Union[
47
48
  None,
48
49
  Annotated[StrictFloat, Field(gt=0)],
@@ -54,13 +55,13 @@ class ProductsApi:
54
55
  _content_type: Optional[StrictStr] = None,
55
56
  _headers: Optional[Dict[StrictStr, Any]] = None,
56
57
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
57
- ) -> object:
58
+ ) -> ProductRead:
58
59
  """Create Product
59
60
 
60
61
  Create a new product
61
62
 
62
- :param product_model: (required)
63
- :type product_model: ProductModel
63
+ :param product_create: (required)
64
+ :type product_create: ProductCreate
64
65
  :param _request_timeout: timeout setting for this request. If one
65
66
  number provided, it will be total request
66
67
  timeout. It can also be a pair (tuple) of
@@ -84,7 +85,7 @@ class ProductsApi:
84
85
  """ # noqa: E501
85
86
 
86
87
  _param = self._create_product_serialize(
87
- product_model=product_model,
88
+ product_create=product_create,
88
89
  _request_auth=_request_auth,
89
90
  _content_type=_content_type,
90
91
  _headers=_headers,
@@ -92,7 +93,7 @@ class ProductsApi:
92
93
  )
93
94
 
94
95
  _response_types_map: Dict[str, Optional[str]] = {
95
- "200": "object",
96
+ "201": "ProductRead",
96
97
  "422": "HTTPValidationError",
97
98
  }
98
99
  response_data = await self.api_client.call_api(
@@ -107,7 +108,7 @@ class ProductsApi:
107
108
  @validate_call
108
109
  async def create_product_with_http_info(
109
110
  self,
110
- product_model: ProductModel,
111
+ product_create: ProductCreate,
111
112
  _request_timeout: Union[
112
113
  None,
113
114
  Annotated[StrictFloat, Field(gt=0)],
@@ -119,13 +120,13 @@ class ProductsApi:
119
120
  _content_type: Optional[StrictStr] = None,
120
121
  _headers: Optional[Dict[StrictStr, Any]] = None,
121
122
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
122
- ) -> ApiResponse[object]:
123
+ ) -> ApiResponse[ProductRead]:
123
124
  """Create Product
124
125
 
125
126
  Create a new product
126
127
 
127
- :param product_model: (required)
128
- :type product_model: ProductModel
128
+ :param product_create: (required)
129
+ :type product_create: ProductCreate
129
130
  :param _request_timeout: timeout setting for this request. If one
130
131
  number provided, it will be total request
131
132
  timeout. It can also be a pair (tuple) of
@@ -149,7 +150,7 @@ class ProductsApi:
149
150
  """ # noqa: E501
150
151
 
151
152
  _param = self._create_product_serialize(
152
- product_model=product_model,
153
+ product_create=product_create,
153
154
  _request_auth=_request_auth,
154
155
  _content_type=_content_type,
155
156
  _headers=_headers,
@@ -157,7 +158,7 @@ class ProductsApi:
157
158
  )
158
159
 
159
160
  _response_types_map: Dict[str, Optional[str]] = {
160
- "200": "object",
161
+ "201": "ProductRead",
161
162
  "422": "HTTPValidationError",
162
163
  }
163
164
  response_data = await self.api_client.call_api(
@@ -172,7 +173,7 @@ class ProductsApi:
172
173
  @validate_call
173
174
  async def create_product_without_preload_content(
174
175
  self,
175
- product_model: ProductModel,
176
+ product_create: ProductCreate,
176
177
  _request_timeout: Union[
177
178
  None,
178
179
  Annotated[StrictFloat, Field(gt=0)],
@@ -189,8 +190,8 @@ class ProductsApi:
189
190
 
190
191
  Create a new product
191
192
 
192
- :param product_model: (required)
193
- :type product_model: ProductModel
193
+ :param product_create: (required)
194
+ :type product_create: ProductCreate
194
195
  :param _request_timeout: timeout setting for this request. If one
195
196
  number provided, it will be total request
196
197
  timeout. It can also be a pair (tuple) of
@@ -214,7 +215,7 @@ class ProductsApi:
214
215
  """ # noqa: E501
215
216
 
216
217
  _param = self._create_product_serialize(
217
- product_model=product_model,
218
+ product_create=product_create,
218
219
  _request_auth=_request_auth,
219
220
  _content_type=_content_type,
220
221
  _headers=_headers,
@@ -222,7 +223,7 @@ class ProductsApi:
222
223
  )
223
224
 
224
225
  _response_types_map: Dict[str, Optional[str]] = {
225
- "200": "object",
226
+ "201": "ProductRead",
226
227
  "422": "HTTPValidationError",
227
228
  }
228
229
  response_data = await self.api_client.call_api(
@@ -232,7 +233,7 @@ class ProductsApi:
232
233
 
233
234
  def _create_product_serialize(
234
235
  self,
235
- product_model,
236
+ product_create,
236
237
  _request_auth,
237
238
  _content_type,
238
239
  _headers,
@@ -257,8 +258,8 @@ class ProductsApi:
257
258
  # process the header parameters
258
259
  # process the form parameters
259
260
  # process the body parameter
260
- if product_model is not None:
261
- _body_params = product_model
261
+ if product_create is not None:
262
+ _body_params = product_create
262
263
 
263
264
  # set the HTTP header `Accept`
264
265
  if "Accept" not in _header_params:
@@ -320,7 +321,7 @@ class ProductsApi:
320
321
  _content_type: Optional[StrictStr] = None,
321
322
  _headers: Optional[Dict[StrictStr, Any]] = None,
322
323
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
323
- ) -> List[ProductModel]:
324
+ ) -> List[ProductRead]:
324
325
  """Get Products
325
326
 
326
327
  Get all software products from Crypticorn
@@ -361,7 +362,7 @@ class ProductsApi:
361
362
  )
362
363
 
363
364
  _response_types_map: Dict[str, Optional[str]] = {
364
- "200": "List[ProductModel]",
365
+ "200": "List[ProductRead]",
365
366
  "422": "HTTPValidationError",
366
367
  }
367
368
  response_data = await self.api_client.call_api(
@@ -399,7 +400,7 @@ class ProductsApi:
399
400
  _content_type: Optional[StrictStr] = None,
400
401
  _headers: Optional[Dict[StrictStr, Any]] = None,
401
402
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
402
- ) -> ApiResponse[List[ProductModel]]:
403
+ ) -> ApiResponse[List[ProductRead]]:
403
404
  """Get Products
404
405
 
405
406
  Get all software products from Crypticorn
@@ -440,7 +441,7 @@ class ProductsApi:
440
441
  )
441
442
 
442
443
  _response_types_map: Dict[str, Optional[str]] = {
443
- "200": "List[ProductModel]",
444
+ "200": "List[ProductRead]",
444
445
  "422": "HTTPValidationError",
445
446
  }
446
447
  response_data = await self.api_client.call_api(
@@ -519,7 +520,7 @@ class ProductsApi:
519
520
  )
520
521
 
521
522
  _response_types_map: Dict[str, Optional[str]] = {
522
- "200": "List[ProductModel]",
523
+ "200": "List[ProductRead]",
523
524
  "422": "HTTPValidationError",
524
525
  }
525
526
  response_data = await self.api_client.call_api(
@@ -592,7 +593,7 @@ class ProductsApi:
592
593
  async def update_product(
593
594
  self,
594
595
  id: Annotated[StrictStr, Field(description="The ID of the product to update")],
595
- product_update_model: ProductUpdateModel,
596
+ product_update: ProductUpdate,
596
597
  _request_timeout: Union[
597
598
  None,
598
599
  Annotated[StrictFloat, Field(gt=0)],
@@ -604,15 +605,15 @@ class ProductsApi:
604
605
  _content_type: Optional[StrictStr] = None,
605
606
  _headers: Optional[Dict[StrictStr, Any]] = None,
606
607
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
607
- ) -> object:
608
+ ) -> ProductRead:
608
609
  """Update Product
609
610
 
610
611
  Update an existing product
611
612
 
612
613
  :param id: The ID of the product to update (required)
613
614
  :type id: str
614
- :param product_update_model: (required)
615
- :type product_update_model: ProductUpdateModel
615
+ :param product_update: (required)
616
+ :type product_update: ProductUpdate
616
617
  :param _request_timeout: timeout setting for this request. If one
617
618
  number provided, it will be total request
618
619
  timeout. It can also be a pair (tuple) of
@@ -637,7 +638,7 @@ class ProductsApi:
637
638
 
638
639
  _param = self._update_product_serialize(
639
640
  id=id,
640
- product_update_model=product_update_model,
641
+ product_update=product_update,
641
642
  _request_auth=_request_auth,
642
643
  _content_type=_content_type,
643
644
  _headers=_headers,
@@ -645,7 +646,7 @@ class ProductsApi:
645
646
  )
646
647
 
647
648
  _response_types_map: Dict[str, Optional[str]] = {
648
- "200": "object",
649
+ "200": "ProductRead",
649
650
  "422": "HTTPValidationError",
650
651
  }
651
652
  response_data = await self.api_client.call_api(
@@ -661,7 +662,7 @@ class ProductsApi:
661
662
  async def update_product_with_http_info(
662
663
  self,
663
664
  id: Annotated[StrictStr, Field(description="The ID of the product to update")],
664
- product_update_model: ProductUpdateModel,
665
+ product_update: ProductUpdate,
665
666
  _request_timeout: Union[
666
667
  None,
667
668
  Annotated[StrictFloat, Field(gt=0)],
@@ -673,15 +674,15 @@ class ProductsApi:
673
674
  _content_type: Optional[StrictStr] = None,
674
675
  _headers: Optional[Dict[StrictStr, Any]] = None,
675
676
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
676
- ) -> ApiResponse[object]:
677
+ ) -> ApiResponse[ProductRead]:
677
678
  """Update Product
678
679
 
679
680
  Update an existing product
680
681
 
681
682
  :param id: The ID of the product to update (required)
682
683
  :type id: str
683
- :param product_update_model: (required)
684
- :type product_update_model: ProductUpdateModel
684
+ :param product_update: (required)
685
+ :type product_update: ProductUpdate
685
686
  :param _request_timeout: timeout setting for this request. If one
686
687
  number provided, it will be total request
687
688
  timeout. It can also be a pair (tuple) of
@@ -706,7 +707,7 @@ class ProductsApi:
706
707
 
707
708
  _param = self._update_product_serialize(
708
709
  id=id,
709
- product_update_model=product_update_model,
710
+ product_update=product_update,
710
711
  _request_auth=_request_auth,
711
712
  _content_type=_content_type,
712
713
  _headers=_headers,
@@ -714,7 +715,7 @@ class ProductsApi:
714
715
  )
715
716
 
716
717
  _response_types_map: Dict[str, Optional[str]] = {
717
- "200": "object",
718
+ "200": "ProductRead",
718
719
  "422": "HTTPValidationError",
719
720
  }
720
721
  response_data = await self.api_client.call_api(
@@ -730,7 +731,7 @@ class ProductsApi:
730
731
  async def update_product_without_preload_content(
731
732
  self,
732
733
  id: Annotated[StrictStr, Field(description="The ID of the product to update")],
733
- product_update_model: ProductUpdateModel,
734
+ product_update: ProductUpdate,
734
735
  _request_timeout: Union[
735
736
  None,
736
737
  Annotated[StrictFloat, Field(gt=0)],
@@ -749,8 +750,8 @@ class ProductsApi:
749
750
 
750
751
  :param id: The ID of the product to update (required)
751
752
  :type id: str
752
- :param product_update_model: (required)
753
- :type product_update_model: ProductUpdateModel
753
+ :param product_update: (required)
754
+ :type product_update: ProductUpdate
754
755
  :param _request_timeout: timeout setting for this request. If one
755
756
  number provided, it will be total request
756
757
  timeout. It can also be a pair (tuple) of
@@ -775,7 +776,7 @@ class ProductsApi:
775
776
 
776
777
  _param = self._update_product_serialize(
777
778
  id=id,
778
- product_update_model=product_update_model,
779
+ product_update=product_update,
779
780
  _request_auth=_request_auth,
780
781
  _content_type=_content_type,
781
782
  _headers=_headers,
@@ -783,7 +784,7 @@ class ProductsApi:
783
784
  )
784
785
 
785
786
  _response_types_map: Dict[str, Optional[str]] = {
786
- "200": "object",
787
+ "200": "ProductRead",
787
788
  "422": "HTTPValidationError",
788
789
  }
789
790
  response_data = await self.api_client.call_api(
@@ -794,7 +795,7 @@ class ProductsApi:
794
795
  def _update_product_serialize(
795
796
  self,
796
797
  id,
797
- product_update_model,
798
+ product_update,
798
799
  _request_auth,
799
800
  _content_type,
800
801
  _headers,
@@ -821,8 +822,8 @@ class ProductsApi:
821
822
  # process the header parameters
822
823
  # process the form parameters
823
824
  # process the body parameter
824
- if product_update_model is not None:
825
- _body_params = product_update_model
825
+ if product_update is not None:
826
+ _body_params = product_update
826
827
 
827
828
  # set the HTTP header `Accept`
828
829
  if "Accept" not in _header_params:
@@ -21,13 +21,14 @@ from crypticorn.pay.client.models.now_create_invoice_res import NowCreateInvoice
21
21
  from crypticorn.pay.client.models.now_fee_structure import NowFeeStructure
22
22
  from crypticorn.pay.client.models.now_payment_status import NowPaymentStatus
23
23
  from crypticorn.pay.client.models.now_webhook_payload import NowWebhookPayload
24
+ from crypticorn.pay.client.models.payment import Payment
24
25
  from crypticorn.pay.client.models.payment_status import PaymentStatus
25
- from crypticorn.pay.client.models.product_model import ProductModel
26
- from crypticorn.pay.client.models.product_subs_model import ProductSubsModel
27
- from crypticorn.pay.client.models.product_update_model import ProductUpdateModel
26
+ from crypticorn.pay.client.models.product_create import ProductCreate
27
+ from crypticorn.pay.client.models.product_read import ProductRead
28
+ from crypticorn.pay.client.models.product_sub_read import ProductSubRead
29
+ from crypticorn.pay.client.models.product_update import ProductUpdate
28
30
  from crypticorn.pay.client.models.scope import Scope
29
31
  from crypticorn.pay.client.models.services import Services
30
- from crypticorn.pay.client.models.unified_payment_model import UnifiedPaymentModel
31
32
  from crypticorn.pay.client.models.validation_error import ValidationError
32
33
  from crypticorn.pay.client.models.validation_error_loc_inner import (
33
34
  ValidationErrorLocInner,