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.
- crypticorn/cli/init.py +3 -0
- crypticorn/common/__init__.py +1 -1
- crypticorn/common/errors.py +2 -17
- crypticorn/common/mixins.py +19 -0
- crypticorn/common/scopes.py +4 -20
- crypticorn/common/status_router.py +9 -7
- crypticorn/common/utils.py +12 -6
- crypticorn/hive/client/__init__.py +1 -5
- crypticorn/hive/client/api/data_api.py +1 -33
- crypticorn/hive/client/api/models_api.py +8 -104
- crypticorn/hive/client/api/status_api.py +481 -9
- crypticorn/hive/client/configuration.py +12 -4
- crypticorn/hive/client/models/__init__.py +1 -5
- crypticorn/hive/client/models/coins.py +0 -1
- crypticorn/hive/client/models/data_version.py +0 -1
- crypticorn/hive/client/models/{validation_error.py → exception_detail.py} +35 -26
- crypticorn/hive/client/rest.py +4 -1
- crypticorn/klines/client/api/status_api.py +481 -6
- crypticorn/klines/client/api/udf_api.py +0 -227
- crypticorn/metrics/client/api/status_api.py +476 -1
- crypticorn/pay/client/__init__.py +3 -8
- crypticorn/pay/client/api/now_payments_api.py +14 -17
- crypticorn/pay/client/api/payments_api.py +2 -11
- crypticorn/pay/client/api/products_api.py +2 -11
- crypticorn/pay/client/api/status_api.py +483 -8
- crypticorn/pay/client/api_client.py +2 -2
- crypticorn/pay/client/configuration.py +3 -3
- crypticorn/pay/client/exceptions.py +2 -2
- crypticorn/pay/client/models/__init__.py +3 -8
- crypticorn/pay/client/models/{validation_error.py → exception_detail.py} +37 -28
- crypticorn/pay/client/models/now_create_invoice_req.py +2 -2
- crypticorn/pay/client/models/now_create_invoice_res.py +2 -2
- crypticorn/pay/client/models/payment.py +2 -2
- crypticorn/pay/client/models/payment_status.py +2 -2
- crypticorn/pay/client/models/product_create.py +2 -2
- crypticorn/pay/client/models/product_read.py +2 -2
- crypticorn/pay/client/models/product_sub_read.py +2 -2
- crypticorn/pay/client/models/product_update.py +2 -2
- crypticorn/pay/client/models/scope.py +2 -2
- crypticorn/pay/client/models/services.py +2 -2
- crypticorn/pay/client/rest.py +2 -2
- crypticorn/trade/client/__init__.py +3 -7
- crypticorn/trade/client/api/api_keys_api.py +5 -20
- crypticorn/trade/client/api/bots_api.py +7 -19
- crypticorn/trade/client/api/exchanges_api.py +2 -2
- crypticorn/trade/client/api/futures_trading_panel_api.py +10 -22
- crypticorn/trade/client/api/notifications_api.py +10 -25
- crypticorn/trade/client/api/orders_api.py +2 -5
- crypticorn/trade/client/api/status_api.py +483 -8
- crypticorn/trade/client/api/strategies_api.py +5 -17
- crypticorn/trade/client/api/trading_actions_api.py +2 -11
- crypticorn/trade/client/api_client.py +2 -2
- crypticorn/trade/client/configuration.py +3 -3
- crypticorn/trade/client/exceptions.py +2 -2
- crypticorn/trade/client/models/__init__.py +3 -7
- crypticorn/trade/client/models/action_model.py +2 -2
- crypticorn/trade/client/models/bot_model.py +2 -2
- crypticorn/trade/client/models/bot_status.py +2 -2
- crypticorn/trade/client/models/{validation_error.py → exception_detail.py} +37 -28
- crypticorn/trade/client/models/exchange_key_model.py +2 -2
- crypticorn/trade/client/models/execution_ids.py +2 -2
- crypticorn/trade/client/models/futures_balance.py +2 -2
- crypticorn/trade/client/models/futures_trading_action.py +2 -2
- crypticorn/trade/client/models/margin_mode.py +2 -2
- crypticorn/trade/client/models/notification_model.py +2 -2
- crypticorn/trade/client/models/order_model.py +2 -2
- crypticorn/trade/client/models/order_status.py +2 -2
- crypticorn/trade/client/models/post_futures_action.py +2 -2
- crypticorn/trade/client/models/spot_trading_action.py +2 -2
- crypticorn/trade/client/models/strategy_exchange_info.py +2 -2
- crypticorn/trade/client/models/strategy_model_input.py +2 -2
- crypticorn/trade/client/models/strategy_model_output.py +2 -2
- crypticorn/trade/client/models/tpsl.py +2 -2
- crypticorn/trade/client/models/trading_action_type.py +2 -2
- crypticorn/trade/client/rest.py +2 -2
- {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/METADATA +1 -1
- {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/RECORD +80 -87
- crypticorn/hive/client/models/http_validation_error.py +0 -99
- crypticorn/hive/client/models/validation_error_loc_inner.py +0 -159
- crypticorn/pay/client/models/http_validation_error.py +0 -99
- crypticorn/pay/client/models/now_api_status_res.py +0 -83
- crypticorn/pay/client/models/validation_error_loc_inner.py +0 -159
- crypticorn/trade/client/models/http_validation_error.py +0 -99
- crypticorn/trade/client/models/validation_error_loc_inner.py +0 -159
- {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/WHEEL +0 -0
- {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/entry_points.txt +0 -0
- {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
|
-
|
6
|
+
API for accepting payments and storing subscriptions
|
7
7
|
|
8
|
-
The version of the OpenAPI document:
|
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
|
-
|
6
|
+
API for accepting payments and storing subscriptions
|
7
7
|
|
8
|
-
The version of the OpenAPI document:
|
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
|