crypticorn 2.2.1__tar.gz → 2.2.2__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 (277) hide show
  1. {crypticorn-2.2.1 → crypticorn-2.2.2}/PKG-INFO +1 -1
  2. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/client.py +17 -10
  3. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/__init__.py +2 -1
  4. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/auth.py +1 -0
  5. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/pydantic.py +12 -8
  6. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/urls.py +2 -0
  7. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/configuration.py +1 -3
  8. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/__init__.py +3 -1
  9. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/main.py +6 -5
  10. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/__init__.py +3 -0
  11. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api/now_payments_api.py +3 -3
  12. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api/payments_api.py +47 -19
  13. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api/products_api.py +72 -63
  14. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/__init__.py +3 -0
  15. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_webhook_payload.py +1 -1
  16. crypticorn-2.2.2/crypticorn/pay/client/models/partial_product_update_model.py +150 -0
  17. crypticorn-2.2.2/crypticorn/pay/client/models/product_update_model.py +150 -0
  18. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn.egg-info/PKG-INFO +1 -1
  19. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn.egg-info/SOURCES.txt +2 -0
  20. {crypticorn-2.2.1 → crypticorn-2.2.2}/pyproject.toml +1 -1
  21. {crypticorn-2.2.1 → crypticorn-2.2.2}/README.md +0 -0
  22. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/__init__.py +0 -0
  23. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/__init__.py +0 -0
  24. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/__init__.py +0 -0
  25. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/__init__.py +0 -0
  26. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/admin_api.py +0 -0
  27. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/auth_api.py +0 -0
  28. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/service_api.py +0 -0
  29. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/user_api.py +0 -0
  30. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api/wallet_api.py +0 -0
  31. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api_client.py +0 -0
  32. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/api_response.py +0 -0
  33. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/configuration.py +0 -0
  34. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/exceptions.py +0 -0
  35. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/__init__.py +0 -0
  36. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/add_wallet200_response.py +0 -0
  37. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/add_wallet_request.py +0 -0
  38. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/authorize_user200_response.py +0 -0
  39. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/authorize_user200_response_auth.py +0 -0
  40. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/authorize_user_request.py +0 -0
  41. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/create_api_key200_response.py +0 -0
  42. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/create_api_key_request.py +0 -0
  43. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/create_user_request.py +0 -0
  44. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/get_api_keys200_response_inner.py +0 -0
  45. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response.py +0 -0
  46. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +0 -0
  47. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +0 -0
  48. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +0 -0
  49. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +0 -0
  50. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_data_inner.py +0 -0
  51. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/list_wallets200_response_user_value.py +0 -0
  52. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/logout_default_response.py +0 -0
  53. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/logout_default_response_issues_inner.py +0 -0
  54. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/oauth_callback200_response.py +0 -0
  55. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/oauth_callback200_response_user.py +0 -0
  56. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/refresh_token_info200_response.py +0 -0
  57. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +0 -0
  58. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/resend_verification_email_request.py +0 -0
  59. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/revoke_user_tokens_request.py +0 -0
  60. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/rotate_tokens200_response.py +0 -0
  61. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/token_info200_response.py +0 -0
  62. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/unlink_wallet_request.py +0 -0
  63. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/update_user_request.py +0 -0
  64. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/user_reset_password_request.py +0 -0
  65. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/user_set_password_request.py +0 -0
  66. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify200_response.py +0 -0
  67. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify_email200_response.py +0 -0
  68. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify_email200_response_auth.py +0 -0
  69. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify_email200_response_auth_auth.py +0 -0
  70. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify_email_request.py +0 -0
  71. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/verify_wallet_request.py +0 -0
  72. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/wallet_verified200_response.py +0 -0
  73. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/models/whoami200_response.py +0 -0
  74. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/py.typed +0 -0
  75. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/client/rest.py +0 -0
  76. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/auth/main.py +0 -0
  77. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/errors.py +0 -0
  78. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/scopes.py +0 -0
  79. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/common/sorter.py +0 -0
  80. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/__init__.py +0 -0
  81. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/__init__.py +0 -0
  82. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api/__init__.py +0 -0
  83. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api/data_api.py +0 -0
  84. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api/models_api.py +0 -0
  85. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api/status_api.py +0 -0
  86. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api_client.py +0 -0
  87. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/api_response.py +0 -0
  88. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/configuration.py +0 -0
  89. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/exceptions.py +0 -0
  90. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/__init__.py +0 -0
  91. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/coins.py +0 -0
  92. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/data_download_response.py +0 -0
  93. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/data_info.py +0 -0
  94. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/data_value_value_value_inner.py +0 -0
  95. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/data_version.py +0 -0
  96. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/download_links.py +0 -0
  97. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/evaluation.py +0 -0
  98. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/evaluation_response.py +0 -0
  99. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/feature_size.py +0 -0
  100. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/http_validation_error.py +0 -0
  101. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/model.py +0 -0
  102. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/model_create.py +0 -0
  103. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/model_status.py +0 -0
  104. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/model_update.py +0 -0
  105. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/target.py +0 -0
  106. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/target_type.py +0 -0
  107. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/validation_error.py +0 -0
  108. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/models/validation_error_loc_inner.py +0 -0
  109. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/py.typed +0 -0
  110. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/client/rest.py +0 -0
  111. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/hive/main.py +0 -0
  112. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/__init__.py +0 -0
  113. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/__init__.py +0 -0
  114. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/__init__.py +0 -0
  115. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/funding_rates_api.py +0 -0
  116. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/health_check_api.py +0 -0
  117. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/ohlcv_data_api.py +0 -0
  118. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/symbols_api.py +0 -0
  119. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api/udf_api.py +0 -0
  120. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api_client.py +0 -0
  121. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/api_response.py +0 -0
  122. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/exceptions.py +0 -0
  123. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/__init__.py +0 -0
  124. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/base_response_health_check_response.py +0 -0
  125. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/base_response_list_funding_rate_response.py +0 -0
  126. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/base_response_list_str.py +0 -0
  127. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/base_response_ohlcv_response.py +0 -0
  128. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/error_response.py +0 -0
  129. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/exchange.py +0 -0
  130. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/funding_rate_response.py +0 -0
  131. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/health_check_response.py +0 -0
  132. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/history_error_response.py +0 -0
  133. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/history_no_data_response.py +0 -0
  134. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/history_success_response.py +0 -0
  135. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/http_validation_error.py +0 -0
  136. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/market.py +0 -0
  137. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/ohlcv_response.py +0 -0
  138. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/resolution.py +0 -0
  139. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/response_get_history_udf_history_get.py +0 -0
  140. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/search_symbol_response.py +0 -0
  141. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/sort_direction.py +0 -0
  142. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/symbol_group_response.py +0 -0
  143. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/symbol_info_response.py +0 -0
  144. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/symbol_type.py +0 -0
  145. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/timeframe.py +0 -0
  146. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/udf_config_response.py +0 -0
  147. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/validation_error.py +0 -0
  148. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/models/validation_error_loc_inner.py +0 -0
  149. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/py.typed +0 -0
  150. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/client/rest.py +0 -0
  151. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/klines/main.py +0 -0
  152. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/__init__.py +0 -0
  153. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/__init__.py +0 -0
  154. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/exchanges_api.py +0 -0
  155. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/health_check_api.py +0 -0
  156. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/indicators_api.py +0 -0
  157. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/logs_api.py +0 -0
  158. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/marketcap_api.py +0 -0
  159. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/markets_api.py +0 -0
  160. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api/tokens_api.py +0 -0
  161. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api_client.py +0 -0
  162. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/api_response.py +0 -0
  163. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/configuration.py +0 -0
  164. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/exceptions.py +0 -0
  165. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/__init__.py +0 -0
  166. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/base_response_dict.py +0 -0
  167. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/base_response_health_check_response.py +0 -0
  168. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/base_response_list_dict.py +0 -0
  169. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/base_response_list_exchange_mapping.py +0 -0
  170. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/base_response_list_str.py +0 -0
  171. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/error_response.py +0 -0
  172. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/exchange_mapping.py +0 -0
  173. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/health_check_response.py +0 -0
  174. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/http_validation_error.py +0 -0
  175. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/market.py +0 -0
  176. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/severity.py +0 -0
  177. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/validation_error.py +0 -0
  178. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/models/validation_error_loc_inner.py +0 -0
  179. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/py.typed +0 -0
  180. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/metrics/client/rest.py +0 -0
  181. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/__init__.py +0 -0
  182. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api/__init__.py +0 -0
  183. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api/status_api.py +0 -0
  184. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api_client.py +0 -0
  185. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/api_response.py +0 -0
  186. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/configuration.py +0 -0
  187. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/exceptions.py +0 -0
  188. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/api_status_res.py +0 -0
  189. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/body_create_now_invoice.py +0 -0
  190. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/body_create_product.py +0 -0
  191. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/body_get_products.py +0 -0
  192. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/body_handle_now_webhook.py +0 -0
  193. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/body_update_product.py +0 -0
  194. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/combined_payment_history.py +0 -0
  195. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/create_invoice_req.py +0 -0
  196. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/create_invoice_res.py +0 -0
  197. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/currency.py +0 -0
  198. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/estimate_price_req.py +0 -0
  199. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/estimate_price_res.py +0 -0
  200. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/get_currencies_res.py +0 -0
  201. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/get_payment_status_res.py +0 -0
  202. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/get_payments_list_res.py +0 -0
  203. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/http_validation_error.py +0 -0
  204. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/min_amount_req.py +0 -0
  205. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/min_amount_res.py +0 -0
  206. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_api_status_res.py +0 -0
  207. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_create_invoice_req.py +0 -0
  208. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_create_invoice_res.py +0 -0
  209. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_fee_structure.py +0 -0
  210. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_payment_model.py +0 -0
  211. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/now_payment_status.py +0 -0
  212. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/payment.py +0 -0
  213. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/payment_status.py +0 -0
  214. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/product.py +0 -0
  215. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/product_model.py +0 -0
  216. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/product_subs_model.py +0 -0
  217. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/scope.py +0 -0
  218. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/services.py +0 -0
  219. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/unified_payment_model.py +0 -0
  220. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/validation_error.py +0 -0
  221. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/models/validation_error_loc_inner.py +0 -0
  222. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/py.typed +0 -0
  223. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/client/rest.py +0 -0
  224. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/pay/main.py +0 -0
  225. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/__init__.py +0 -0
  226. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/__init__.py +0 -0
  227. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/__init__.py +0 -0
  228. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/api_keys_api.py +0 -0
  229. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/bots_api.py +0 -0
  230. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/exchanges_api.py +0 -0
  231. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/futures_trading_panel_api.py +0 -0
  232. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/notifications_api.py +0 -0
  233. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/orders_api.py +0 -0
  234. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/status_api.py +0 -0
  235. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/strategies_api.py +0 -0
  236. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api/trading_actions_api.py +0 -0
  237. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api_client.py +0 -0
  238. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/api_response.py +0 -0
  239. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/configuration.py +0 -0
  240. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/exceptions.py +0 -0
  241. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/__init__.py +0 -0
  242. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/action_model.py +0 -0
  243. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/api_error_identifier.py +0 -0
  244. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/api_error_level.py +0 -0
  245. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/api_error_type.py +0 -0
  246. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/api_key_model.py +0 -0
  247. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/bot_model.py +0 -0
  248. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/bot_status.py +0 -0
  249. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/exchange.py +0 -0
  250. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/execution_ids.py +0 -0
  251. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/futures_balance.py +0 -0
  252. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/futures_trading_action.py +0 -0
  253. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/http_validation_error.py +0 -0
  254. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/margin_mode.py +0 -0
  255. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/market_type.py +0 -0
  256. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/notification_model.py +0 -0
  257. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/order_model.py +0 -0
  258. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/order_status.py +0 -0
  259. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/post_futures_action.py +0 -0
  260. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/strategy_exchange_info.py +0 -0
  261. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/strategy_model_input.py +0 -0
  262. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/strategy_model_output.py +0 -0
  263. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/tpsl.py +0 -0
  264. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/trading_action_type.py +0 -0
  265. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/validation_error.py +0 -0
  266. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/models/validation_error_loc_inner.py +0 -0
  267. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/py.typed +0 -0
  268. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/client/rest.py +0 -0
  269. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn/trade/main.py +0 -0
  270. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn.egg-info/dependency_links.txt +0 -0
  271. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn.egg-info/requires.txt +0 -0
  272. {crypticorn-2.2.1 → crypticorn-2.2.2}/crypticorn.egg-info/top_level.txt +0 -0
  273. {crypticorn-2.2.1 → crypticorn-2.2.2}/requirements/dev.txt +0 -0
  274. {crypticorn-2.2.1 → crypticorn-2.2.2}/requirements/main.txt +0 -0
  275. {crypticorn-2.2.1 → crypticorn-2.2.2}/requirements/test.txt +0 -0
  276. {crypticorn-2.2.1 → crypticorn-2.2.2}/setup.cfg +0 -0
  277. {crypticorn-2.2.1 → crypticorn-2.2.2}/tests/test_auth_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crypticorn
3
- Version: 2.2.1
3
+ Version: 2.2.2
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
@@ -6,6 +6,8 @@ from crypticorn.metrics import MetricsClient
6
6
  from crypticorn.auth import AuthClient
7
7
  from crypticorn.common import BaseUrl, ApiVersion, Service, apikey_header as aph
8
8
  import warnings
9
+
10
+
9
11
  class ApiClient:
10
12
  """
11
13
  The official client for interacting with the Crypticorn API.
@@ -20,25 +22,27 @@ class ApiClient:
20
22
  base_url: BaseUrl = BaseUrl.PROD,
21
23
  ):
22
24
  self.base_url = base_url
23
- '''The base URL the client will use to connect to the API.'''
25
+ """The base URL the client will use to connect to the API."""
24
26
  self.api_key = api_key
25
- '''The API key to use for authentication.'''
27
+ """The API key to use for authentication."""
26
28
  self.jwt = jwt
27
- '''The JWT to use for authentication.'''
29
+ """The JWT to use for authentication."""
28
30
 
29
31
  self.hive = HiveClient(self._get_default_config(Service.HIVE))
30
32
  self.trade = TradeClient(self._get_default_config(Service.TRADE))
31
33
  self.klines = KlinesClient(self._get_default_config(Service.KLINES))
32
34
  self.pay = PayClient(self._get_default_config(Service.PAY))
33
35
  self.metrics = MetricsClient(self._get_default_config(Service.METRICS))
34
- self.auth = AuthClient(self._get_default_config(Service.AUTH))
36
+ self.auth = AuthClient(self._get_default_config(Service.AUTH))
35
37
 
36
38
  def __new__(cls, *args, **kwargs):
37
39
  if kwargs.get("api_key") and not kwargs.get("jwt"):
38
40
  # auth-service does not allow api_key
39
- warnings.warn("The auth module does only accept JWT to be used to authenticate. If you use this module, you need to provide a JWT.")
41
+ warnings.warn(
42
+ "The auth module does only accept JWT to be used to authenticate. If you use this module, you need to provide a JWT."
43
+ )
40
44
  return super().__new__(cls)
41
-
45
+
42
46
  async def close(self):
43
47
  """Close all client sessions."""
44
48
  clients = [
@@ -54,7 +58,9 @@ class ApiClient:
54
58
  if hasattr(client, "close"):
55
59
  await client.close()
56
60
 
57
- def _get_default_config(self, service: Service, version: ApiVersion = ApiVersion.V1):
61
+ def _get_default_config(
62
+ self, service: Service, version: ApiVersion = ApiVersion.V1
63
+ ):
58
64
  """
59
65
  Get the default configuration for a given service.
60
66
  """
@@ -62,9 +68,11 @@ class ApiClient:
62
68
  host=f"{self.base_url}/{version}/{service}",
63
69
  access_token=self.jwt,
64
70
  api_key={aph.scheme_name: self.api_key} if self.api_key else None,
65
- api_key_prefix=({aph.scheme_name: aph.model.name} if self.api_key else None),
71
+ api_key_prefix=(
72
+ {aph.scheme_name: aph.model.name} if self.api_key else None
73
+ ),
66
74
  )
67
-
75
+
68
76
  def configure(self, config: Configuration, sub_client: any):
69
77
  """
70
78
  Update a sub-client's configuration by overriding with the values set in the new config.
@@ -104,4 +112,3 @@ class ApiClient:
104
112
 
105
113
  async def __aexit__(self, exc_type, exc_val, exc_tb):
106
114
  await self.close()
107
-
@@ -1,4 +1,5 @@
1
1
  from crypticorn.common.errors import *
2
2
  from crypticorn.common.scopes import *
3
3
  from crypticorn.common.urls import *
4
- from crypticorn.common.auth import *
4
+ from crypticorn.common.pydantic import *
5
+ from crypticorn.common.auth import *
@@ -31,6 +31,7 @@ apikey_header = APIKeyHeader(
31
31
  description="The API key to use for authentication.",
32
32
  )
33
33
 
34
+
34
35
  # Auth Handler
35
36
  class AuthHandler:
36
37
  """
@@ -6,8 +6,8 @@ from pydantic.fields import FieldInfo
6
6
 
7
7
 
8
8
  def partial_model(model: Type[BaseModel]) -> Type[BaseModel]:
9
- '''Marks all fields of a model as optional. Useful for updating models.
10
-
9
+ """Marks all fields of a model as optional. Useful for updating models.
10
+
11
11
  >>> @partial_model
12
12
  >>> class Model(BaseModel):
13
13
  >>> i: int
@@ -15,18 +15,22 @@ def partial_model(model: Type[BaseModel]) -> Type[BaseModel]:
15
15
  >>> s: str
16
16
 
17
17
  >>> Model(i=1)
18
- '''
19
- def make_field_optional(field: FieldInfo, default: Any = None) -> Tuple[Any, FieldInfo]:
18
+ """
19
+
20
+ def make_field_optional(
21
+ field: FieldInfo, default: Any = None
22
+ ) -> Tuple[Any, FieldInfo]:
20
23
  new = deepcopy(field)
21
24
  new.default = default
22
25
  new.annotation = Optional[field.annotation] # type: ignore
23
- return new.annotation, new
26
+ return new.annotation, new
27
+
24
28
  return create_model(
25
- f'Partial{model.__name__}',
29
+ model.__name__,
26
30
  __base__=model,
27
31
  __module__=model.__module__,
28
32
  **{
29
33
  field_name: make_field_optional(field_info)
30
34
  for field_name, field_info in model.model_fields.items()
31
- }
32
- )
35
+ },
36
+ )
@@ -1,11 +1,13 @@
1
1
  from enum import StrEnum
2
2
 
3
+
3
4
  class ApiEnv(StrEnum):
4
5
  PROD = "prod"
5
6
  DEV = "dev"
6
7
  LOCAL = "local"
7
8
  DOCKER = "docker"
8
9
 
10
+
9
11
  class BaseUrl(StrEnum):
10
12
  PROD = "https://api.crypticorn.com"
11
13
  DEV = "https://api.crypticorn.dev"
@@ -190,9 +190,7 @@ class Configuration:
190
190
  debug: Optional[bool] = None,
191
191
  ) -> None:
192
192
  """Constructor"""
193
- self._base_path = (
194
- "http://localhost/v1/klines" if host is None else host
195
- )
193
+ self._base_path = "http://localhost/v1/klines" if host is None else host
196
194
  """Default Base url
197
195
  """
198
196
  self.server_index = 0 if server_index is None and host is None else server_index
@@ -1,4 +1,6 @@
1
1
  from crypticorn.metrics.client import *
2
2
  from crypticorn.metrics.main import MetricsClient
3
3
 
4
- __all__ = ["MetricsClient", ]
4
+ __all__ = [
5
+ "MetricsClient",
6
+ ]
@@ -38,7 +38,6 @@ class MetricsClient:
38
38
  self.exchanges = ExchangesApi(self.base_client)
39
39
 
40
40
 
41
-
42
41
  class MarketcapApiWrapper(MarketcapApi):
43
42
  """
44
43
  A wrapper for the MarketcapApi class.
@@ -77,8 +76,8 @@ class MarketcapApiWrapper(MarketcapApi):
77
76
  )
78
77
  json_response = await response.json()
79
78
  df = pd.DataFrame(json_response["data"])
80
- df.rename(columns={df.columns[0]: 'timestamp'}, inplace=True)
81
- df['timestamp'] = pd.to_datetime(df['timestamp']).astype("int64") // 10 ** 9
79
+ df.rename(columns={df.columns[0]: "timestamp"}, inplace=True)
80
+ df["timestamp"] = pd.to_datetime(df["timestamp"]).astype("int64") // 10**9
82
81
  return df
83
82
 
84
83
 
@@ -97,6 +96,8 @@ class TokensApiWrapper(TokensApi):
97
96
  """
98
97
  Get the tokens in a pandas dataframe
99
98
  """
100
- response = await self.get_stable_and_wrapped_tokens_without_preload_content(token_type=token_type)
99
+ response = await self.get_stable_and_wrapped_tokens_without_preload_content(
100
+ token_type=token_type
101
+ )
101
102
  json_data = await response.json()
102
- return pd.DataFrame(json_data['data'])
103
+ return pd.DataFrame(json_data["data"])
@@ -41,6 +41,9 @@ 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.partial_product_update_model import (
45
+ PartialProductUpdateModel,
46
+ )
44
47
  from crypticorn.pay.client.models.payment_status import PaymentStatus
45
48
  from crypticorn.pay.client.models.product_model import ProductModel
46
49
  from crypticorn.pay.client.models.product_subs_model import ProductSubsModel
@@ -313,7 +313,7 @@ class NOWPaymentsApi:
313
313
  ) -> NowAPIStatusRes:
314
314
  """Get Status
315
315
 
316
- Get NOWPayments API status
316
+ Get the status of the NOWPayments API
317
317
 
318
318
  :param _request_timeout: timeout setting for this request. If one
319
319
  number provided, it will be total request
@@ -373,7 +373,7 @@ class NOWPaymentsApi:
373
373
  ) -> ApiResponse[NowAPIStatusRes]:
374
374
  """Get Status
375
375
 
376
- Get NOWPayments API status
376
+ Get the status of the NOWPayments API
377
377
 
378
378
  :param _request_timeout: timeout setting for this request. If one
379
379
  number provided, it will be total request
@@ -433,7 +433,7 @@ class NOWPaymentsApi:
433
433
  ) -> RESTResponseType:
434
434
  """Get Status
435
435
 
436
- Get NOWPayments API status
436
+ Get the status of the NOWPayments API
437
437
 
438
438
  :param _request_timeout: timeout setting for this request. If one
439
439
  number provided, it will be total request
@@ -16,8 +16,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import StrictStr
19
+ from pydantic import Field, StrictStr
20
20
  from typing import List, Optional
21
+ from typing_extensions import Annotated
21
22
  from crypticorn.pay.client.models.product_subs_model import ProductSubsModel
22
23
  from crypticorn.pay.client.models.unified_payment_model import UnifiedPaymentModel
23
24
 
@@ -41,7 +42,10 @@ class PaymentsApi:
41
42
  @validate_call
42
43
  async def get_latest_payment_from_invoice(
43
44
  self,
44
- invoice_id: StrictStr,
45
+ invoice_id: Annotated[
46
+ StrictStr,
47
+ Field(description="The invoice ID to get the latest payment from"),
48
+ ],
45
49
  _request_timeout: Union[
46
50
  None,
47
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -56,9 +60,9 @@ class PaymentsApi:
56
60
  ) -> UnifiedPaymentModel:
57
61
  """Get Latest Payment From Invoice
58
62
 
59
- Get the latest payment from an invoice
63
+ Get the latest payment by a user from an invoice
60
64
 
61
- :param invoice_id: (required)
65
+ :param invoice_id: The invoice ID to get the latest payment from (required)
62
66
  :type invoice_id: str
63
67
  :param _request_timeout: timeout setting for this request. If one
64
68
  number provided, it will be total request
@@ -106,7 +110,10 @@ class PaymentsApi:
106
110
  @validate_call
107
111
  async def get_latest_payment_from_invoice_with_http_info(
108
112
  self,
109
- invoice_id: StrictStr,
113
+ invoice_id: Annotated[
114
+ StrictStr,
115
+ Field(description="The invoice ID to get the latest payment from"),
116
+ ],
110
117
  _request_timeout: Union[
111
118
  None,
112
119
  Annotated[StrictFloat, Field(gt=0)],
@@ -121,9 +128,9 @@ class PaymentsApi:
121
128
  ) -> ApiResponse[UnifiedPaymentModel]:
122
129
  """Get Latest Payment From Invoice
123
130
 
124
- Get the latest payment from an invoice
131
+ Get the latest payment by a user from an invoice
125
132
 
126
- :param invoice_id: (required)
133
+ :param invoice_id: The invoice ID to get the latest payment from (required)
127
134
  :type invoice_id: str
128
135
  :param _request_timeout: timeout setting for this request. If one
129
136
  number provided, it will be total request
@@ -171,7 +178,10 @@ class PaymentsApi:
171
178
  @validate_call
172
179
  async def get_latest_payment_from_invoice_without_preload_content(
173
180
  self,
174
- invoice_id: StrictStr,
181
+ invoice_id: Annotated[
182
+ StrictStr,
183
+ Field(description="The invoice ID to get the latest payment from"),
184
+ ],
175
185
  _request_timeout: Union[
176
186
  None,
177
187
  Annotated[StrictFloat, Field(gt=0)],
@@ -186,9 +196,9 @@ class PaymentsApi:
186
196
  ) -> RESTResponseType:
187
197
  """Get Latest Payment From Invoice
188
198
 
189
- Get the latest payment from an invoice
199
+ Get the latest payment by a user from an invoice
190
200
 
191
- :param invoice_id: (required)
201
+ :param invoice_id: The invoice ID to get the latest payment from (required)
192
202
  :type invoice_id: str
193
203
  :param _request_timeout: timeout setting for this request. If one
194
204
  number provided, it will be total request
@@ -302,7 +312,7 @@ class PaymentsApi:
302
312
  ) -> List[UnifiedPaymentModel]:
303
313
  """Get Payments
304
314
 
305
- Get combined payment history for a user across all payment services.
315
+ Get the combined payment history for a user across all payment services.
306
316
 
307
317
  :param _request_timeout: timeout setting for this request. If one
308
318
  number provided, it will be total request
@@ -362,7 +372,7 @@ class PaymentsApi:
362
372
  ) -> ApiResponse[List[UnifiedPaymentModel]]:
363
373
  """Get Payments
364
374
 
365
- Get combined payment history for a user across all payment services.
375
+ Get the combined payment history for a user across all payment services.
366
376
 
367
377
  :param _request_timeout: timeout setting for this request. If one
368
378
  number provided, it will be total request
@@ -422,7 +432,7 @@ class PaymentsApi:
422
432
  ) -> RESTResponseType:
423
433
  """Get Payments
424
434
 
425
- Get combined payment history for a user across all payment services.
435
+ Get the combined payment history for a user across all payment services.
426
436
 
427
437
  :param _request_timeout: timeout setting for this request. If one
428
438
  number provided, it will be total request
@@ -515,7 +525,12 @@ class PaymentsApi:
515
525
  @validate_call
516
526
  async def get_subscriptions(
517
527
  self,
518
- user_id: Optional[StrictStr] = None,
528
+ user_id: Annotated[
529
+ Optional[StrictStr],
530
+ Field(
531
+ description="The user ID to get subscriptions for. Defaults to the authenticated user."
532
+ ),
533
+ ] = None,
519
534
  _request_timeout: Union[
520
535
  None,
521
536
  Annotated[StrictFloat, Field(gt=0)],
@@ -530,8 +545,9 @@ class PaymentsApi:
530
545
  ) -> List[ProductSubsModel]:
531
546
  """Get Subscriptions
532
547
 
548
+ Get all subscriptions for a user. Subscriptions are the products a user has subscribed to. Returns both active and inactive subscriptions.
533
549
 
534
- :param user_id:
550
+ :param user_id: The user ID to get subscriptions for. Defaults to the authenticated user.
535
551
  :type user_id: str
536
552
  :param _request_timeout: timeout setting for this request. If one
537
553
  number provided, it will be total request
@@ -579,7 +595,12 @@ class PaymentsApi:
579
595
  @validate_call
580
596
  async def get_subscriptions_with_http_info(
581
597
  self,
582
- user_id: Optional[StrictStr] = None,
598
+ user_id: Annotated[
599
+ Optional[StrictStr],
600
+ Field(
601
+ description="The user ID to get subscriptions for. Defaults to the authenticated user."
602
+ ),
603
+ ] = None,
583
604
  _request_timeout: Union[
584
605
  None,
585
606
  Annotated[StrictFloat, Field(gt=0)],
@@ -594,8 +615,9 @@ class PaymentsApi:
594
615
  ) -> ApiResponse[List[ProductSubsModel]]:
595
616
  """Get Subscriptions
596
617
 
618
+ Get all subscriptions for a user. Subscriptions are the products a user has subscribed to. Returns both active and inactive subscriptions.
597
619
 
598
- :param user_id:
620
+ :param user_id: The user ID to get subscriptions for. Defaults to the authenticated user.
599
621
  :type user_id: str
600
622
  :param _request_timeout: timeout setting for this request. If one
601
623
  number provided, it will be total request
@@ -643,7 +665,12 @@ class PaymentsApi:
643
665
  @validate_call
644
666
  async def get_subscriptions_without_preload_content(
645
667
  self,
646
- user_id: Optional[StrictStr] = None,
668
+ user_id: Annotated[
669
+ Optional[StrictStr],
670
+ Field(
671
+ description="The user ID to get subscriptions for. Defaults to the authenticated user."
672
+ ),
673
+ ] = None,
647
674
  _request_timeout: Union[
648
675
  None,
649
676
  Annotated[StrictFloat, Field(gt=0)],
@@ -658,8 +685,9 @@ class PaymentsApi:
658
685
  ) -> RESTResponseType:
659
686
  """Get Subscriptions
660
687
 
688
+ Get all subscriptions for a user. Subscriptions are the products a user has subscribed to. Returns both active and inactive subscriptions.
661
689
 
662
- :param user_id:
690
+ :param user_id: The user ID to get subscriptions for. Defaults to the authenticated user.
663
691
  :type user_id: str
664
692
  :param _request_timeout: timeout setting for this request. If one
665
693
  number provided, it will be total request