crypticorn 2.5.2__py3-none-any.whl → 2.5.3__py3-none-any.whl

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 (87) hide show
  1. crypticorn/cli/init.py +3 -0
  2. crypticorn/common/__init__.py +1 -1
  3. crypticorn/common/errors.py +2 -17
  4. crypticorn/common/mixins.py +19 -0
  5. crypticorn/common/scopes.py +4 -20
  6. crypticorn/common/status_router.py +9 -7
  7. crypticorn/common/utils.py +12 -6
  8. crypticorn/hive/client/__init__.py +1 -5
  9. crypticorn/hive/client/api/data_api.py +1 -33
  10. crypticorn/hive/client/api/models_api.py +8 -104
  11. crypticorn/hive/client/api/status_api.py +481 -9
  12. crypticorn/hive/client/configuration.py +12 -4
  13. crypticorn/hive/client/models/__init__.py +1 -5
  14. crypticorn/hive/client/models/coins.py +0 -1
  15. crypticorn/hive/client/models/data_version.py +0 -1
  16. crypticorn/hive/client/models/{validation_error.py → exception_detail.py} +35 -26
  17. crypticorn/hive/client/rest.py +4 -1
  18. crypticorn/klines/client/api/status_api.py +481 -6
  19. crypticorn/klines/client/api/udf_api.py +0 -227
  20. crypticorn/metrics/client/api/status_api.py +476 -1
  21. crypticorn/pay/client/__init__.py +3 -8
  22. crypticorn/pay/client/api/now_payments_api.py +14 -17
  23. crypticorn/pay/client/api/payments_api.py +2 -11
  24. crypticorn/pay/client/api/products_api.py +2 -11
  25. crypticorn/pay/client/api/status_api.py +483 -8
  26. crypticorn/pay/client/api_client.py +2 -2
  27. crypticorn/pay/client/configuration.py +3 -3
  28. crypticorn/pay/client/exceptions.py +2 -2
  29. crypticorn/pay/client/models/__init__.py +3 -8
  30. crypticorn/pay/client/models/{validation_error.py → exception_detail.py} +37 -28
  31. crypticorn/pay/client/models/now_create_invoice_req.py +2 -2
  32. crypticorn/pay/client/models/now_create_invoice_res.py +2 -2
  33. crypticorn/pay/client/models/payment.py +2 -2
  34. crypticorn/pay/client/models/payment_status.py +2 -2
  35. crypticorn/pay/client/models/product_create.py +2 -2
  36. crypticorn/pay/client/models/product_read.py +2 -2
  37. crypticorn/pay/client/models/product_sub_read.py +2 -2
  38. crypticorn/pay/client/models/product_update.py +2 -2
  39. crypticorn/pay/client/models/scope.py +2 -2
  40. crypticorn/pay/client/models/services.py +2 -2
  41. crypticorn/pay/client/rest.py +2 -2
  42. crypticorn/trade/client/__init__.py +3 -7
  43. crypticorn/trade/client/api/api_keys_api.py +5 -20
  44. crypticorn/trade/client/api/bots_api.py +7 -19
  45. crypticorn/trade/client/api/exchanges_api.py +2 -2
  46. crypticorn/trade/client/api/futures_trading_panel_api.py +10 -22
  47. crypticorn/trade/client/api/notifications_api.py +10 -25
  48. crypticorn/trade/client/api/orders_api.py +2 -5
  49. crypticorn/trade/client/api/status_api.py +483 -8
  50. crypticorn/trade/client/api/strategies_api.py +5 -17
  51. crypticorn/trade/client/api/trading_actions_api.py +2 -11
  52. crypticorn/trade/client/api_client.py +2 -2
  53. crypticorn/trade/client/configuration.py +3 -3
  54. crypticorn/trade/client/exceptions.py +2 -2
  55. crypticorn/trade/client/models/__init__.py +3 -7
  56. crypticorn/trade/client/models/action_model.py +2 -2
  57. crypticorn/trade/client/models/bot_model.py +2 -2
  58. crypticorn/trade/client/models/bot_status.py +2 -2
  59. crypticorn/trade/client/models/{validation_error.py → exception_detail.py} +37 -28
  60. crypticorn/trade/client/models/exchange_key_model.py +2 -2
  61. crypticorn/trade/client/models/execution_ids.py +2 -2
  62. crypticorn/trade/client/models/futures_balance.py +2 -2
  63. crypticorn/trade/client/models/futures_trading_action.py +2 -2
  64. crypticorn/trade/client/models/margin_mode.py +2 -2
  65. crypticorn/trade/client/models/notification_model.py +2 -2
  66. crypticorn/trade/client/models/order_model.py +2 -2
  67. crypticorn/trade/client/models/order_status.py +2 -2
  68. crypticorn/trade/client/models/post_futures_action.py +2 -2
  69. crypticorn/trade/client/models/spot_trading_action.py +2 -2
  70. crypticorn/trade/client/models/strategy_exchange_info.py +2 -2
  71. crypticorn/trade/client/models/strategy_model_input.py +2 -2
  72. crypticorn/trade/client/models/strategy_model_output.py +2 -2
  73. crypticorn/trade/client/models/tpsl.py +2 -2
  74. crypticorn/trade/client/models/trading_action_type.py +2 -2
  75. crypticorn/trade/client/rest.py +2 -2
  76. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/METADATA +1 -1
  77. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/RECORD +80 -87
  78. crypticorn/hive/client/models/http_validation_error.py +0 -99
  79. crypticorn/hive/client/models/validation_error_loc_inner.py +0 -159
  80. crypticorn/pay/client/models/http_validation_error.py +0 -99
  81. crypticorn/pay/client/models/now_api_status_res.py +0 -83
  82. crypticorn/pay/client/models/validation_error_loc_inner.py +0 -159
  83. crypticorn/trade/client/models/http_validation_error.py +0 -99
  84. crypticorn/trade/client/models/validation_error_loc_inner.py +0 -159
  85. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/WHEEL +0 -0
  86. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/entry_points.txt +0 -0
  87. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/top_level.txt +0 -0
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Payment API
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ API for accepting payments and storing subscriptions
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -96,7 +96,6 @@ class PaymentsApi:
96
96
 
97
97
  _response_types_map: Dict[str, Optional[str]] = {
98
98
  "200": "Payment",
99
- "422": "HTTPValidationError",
100
99
  }
101
100
  response_data = await self.api_client.call_api(
102
101
  *_param, _request_timeout=_request_timeout
@@ -164,7 +163,6 @@ class PaymentsApi:
164
163
 
165
164
  _response_types_map: Dict[str, Optional[str]] = {
166
165
  "200": "Payment",
167
- "422": "HTTPValidationError",
168
166
  }
169
167
  response_data = await self.api_client.call_api(
170
168
  *_param, _request_timeout=_request_timeout
@@ -232,7 +230,6 @@ class PaymentsApi:
232
230
 
233
231
  _response_types_map: Dict[str, Optional[str]] = {
234
232
  "200": "Payment",
235
- "422": "HTTPValidationError",
236
233
  }
237
234
  response_data = await self.api_client.call_api(
238
235
  *_param, _request_timeout=_request_timeout
@@ -363,7 +360,6 @@ class PaymentsApi:
363
360
 
364
361
  _response_types_map: Dict[str, Optional[str]] = {
365
362
  "200": "List[Payment]",
366
- "422": "HTTPValidationError",
367
363
  }
368
364
  response_data = await self.api_client.call_api(
369
365
  *_param, _request_timeout=_request_timeout
@@ -442,7 +438,6 @@ class PaymentsApi:
442
438
 
443
439
  _response_types_map: Dict[str, Optional[str]] = {
444
440
  "200": "List[Payment]",
445
- "422": "HTTPValidationError",
446
441
  }
447
442
  response_data = await self.api_client.call_api(
448
443
  *_param, _request_timeout=_request_timeout
@@ -521,7 +516,6 @@ class PaymentsApi:
521
516
 
522
517
  _response_types_map: Dict[str, Optional[str]] = {
523
518
  "200": "List[Payment]",
524
- "422": "HTTPValidationError",
525
519
  }
526
520
  response_data = await self.api_client.call_api(
527
521
  *_param, _request_timeout=_request_timeout
@@ -648,7 +642,6 @@ class PaymentsApi:
648
642
 
649
643
  _response_types_map: Dict[str, Optional[str]] = {
650
644
  "200": "List[ProductSubRead]",
651
- "422": "HTTPValidationError",
652
645
  }
653
646
  response_data = await self.api_client.call_api(
654
647
  *_param, _request_timeout=_request_timeout
@@ -718,7 +711,6 @@ class PaymentsApi:
718
711
 
719
712
  _response_types_map: Dict[str, Optional[str]] = {
720
713
  "200": "List[ProductSubRead]",
721
- "422": "HTTPValidationError",
722
714
  }
723
715
  response_data = await self.api_client.call_api(
724
716
  *_param, _request_timeout=_request_timeout
@@ -788,7 +780,6 @@ class PaymentsApi:
788
780
 
789
781
  _response_types_map: Dict[str, Optional[str]] = {
790
782
  "200": "List[ProductSubRead]",
791
- "422": "HTTPValidationError",
792
783
  }
793
784
  response_data = await self.api_client.call_api(
794
785
  *_param, _request_timeout=_request_timeout
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Payment API
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ API for accepting payments and storing subscriptions
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -94,7 +94,6 @@ class ProductsApi:
94
94
 
95
95
  _response_types_map: Dict[str, Optional[str]] = {
96
96
  "201": "ProductRead",
97
- "422": "HTTPValidationError",
98
97
  }
99
98
  response_data = await self.api_client.call_api(
100
99
  *_param, _request_timeout=_request_timeout
@@ -159,7 +158,6 @@ class ProductsApi:
159
158
 
160
159
  _response_types_map: Dict[str, Optional[str]] = {
161
160
  "201": "ProductRead",
162
- "422": "HTTPValidationError",
163
161
  }
164
162
  response_data = await self.api_client.call_api(
165
163
  *_param, _request_timeout=_request_timeout
@@ -224,7 +222,6 @@ class ProductsApi:
224
222
 
225
223
  _response_types_map: Dict[str, Optional[str]] = {
226
224
  "201": "ProductRead",
227
- "422": "HTTPValidationError",
228
225
  }
229
226
  response_data = await self.api_client.call_api(
230
227
  *_param, _request_timeout=_request_timeout
@@ -363,7 +360,6 @@ class ProductsApi:
363
360
 
364
361
  _response_types_map: Dict[str, Optional[str]] = {
365
362
  "200": "List[ProductRead]",
366
- "422": "HTTPValidationError",
367
363
  }
368
364
  response_data = await self.api_client.call_api(
369
365
  *_param, _request_timeout=_request_timeout
@@ -442,7 +438,6 @@ class ProductsApi:
442
438
 
443
439
  _response_types_map: Dict[str, Optional[str]] = {
444
440
  "200": "List[ProductRead]",
445
- "422": "HTTPValidationError",
446
441
  }
447
442
  response_data = await self.api_client.call_api(
448
443
  *_param, _request_timeout=_request_timeout
@@ -521,7 +516,6 @@ class ProductsApi:
521
516
 
522
517
  _response_types_map: Dict[str, Optional[str]] = {
523
518
  "200": "List[ProductRead]",
524
- "422": "HTTPValidationError",
525
519
  }
526
520
  response_data = await self.api_client.call_api(
527
521
  *_param, _request_timeout=_request_timeout
@@ -647,7 +641,6 @@ class ProductsApi:
647
641
 
648
642
  _response_types_map: Dict[str, Optional[str]] = {
649
643
  "200": "ProductRead",
650
- "422": "HTTPValidationError",
651
644
  }
652
645
  response_data = await self.api_client.call_api(
653
646
  *_param, _request_timeout=_request_timeout
@@ -716,7 +709,6 @@ class ProductsApi:
716
709
 
717
710
  _response_types_map: Dict[str, Optional[str]] = {
718
711
  "200": "ProductRead",
719
- "422": "HTTPValidationError",
720
712
  }
721
713
  response_data = await self.api_client.call_api(
722
714
  *_param, _request_timeout=_request_timeout
@@ -785,7 +777,6 @@ class ProductsApi:
785
777
 
786
778
  _response_types_map: Dict[str, Optional[str]] = {
787
779
  "200": "ProductRead",
788
- "422": "HTTPValidationError",
789
780
  }
790
781
  response_data = await self.api_client.call_api(
791
782
  *_param, _request_timeout=_request_timeout