crypticorn 2.17.0rc5__py3-none-any.whl → 2.17.0rc6__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/auth/client/api/admin_api.py +6 -24
- crypticorn/auth/client/api/auth_api.py +36 -144
- crypticorn/auth/client/api/service_api.py +3 -12
- crypticorn/auth/client/api/user_api.py +33 -132
- crypticorn/auth/client/api/wallet_api.py +18 -72
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/common/auth.py +30 -0
- crypticorn/common/errors.py +10 -0
- crypticorn/common/pagination.py +1 -1
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +33 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/dex/client/api/admin_api.py +21 -84
- crypticorn/dex/client/api/signals_api.py +9 -36
- crypticorn/dex/client/api/status_api.py +6 -24
- crypticorn/hive/client/api/admin_api.py +18 -72
- crypticorn/hive/client/api/data_api.py +6 -24
- crypticorn/hive/client/api/models_api.py +21 -84
- crypticorn/hive/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/admin_api.py +18 -72
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -12
- crypticorn/klines/client/api/funding_rates_api.py +3 -12
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -12
- crypticorn/klines/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/symbols_api.py +3 -12
- crypticorn/klines/client/api/udf_api.py +18 -72
- crypticorn/metrics/client/api/admin_api.py +18 -72
- crypticorn/metrics/client/api/exchanges_api.py +12 -48
- crypticorn/metrics/client/api/indicators_api.py +6 -24
- crypticorn/metrics/client/api/logs_api.py +3 -12
- crypticorn/metrics/client/api/marketcap_api.py +12 -48
- crypticorn/metrics/client/api/markets_api.py +3 -12
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -12
- crypticorn/metrics/client/api/status_api.py +6 -24
- crypticorn/metrics/client/api/tokens_api.py +6 -24
- crypticorn/pay/client/api/admin_api.py +21 -84
- crypticorn/pay/client/api/now_payments_api.py +15 -60
- crypticorn/pay/client/api/payments_api.py +6 -24
- crypticorn/pay/client/api/products_api.py +12 -48
- crypticorn/pay/client/api/status_api.py +6 -24
- crypticorn/trade/client/__init__.py +10 -0
- crypticorn/trade/client/api/admin_api.py +21 -84
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +2435 -662
- crypticorn/trade/client/api/exchanges_api.py +9 -36
- crypticorn/trade/client/api/notifications_api.py +18 -72
- crypticorn/trade/client/api/orders_api.py +3 -12
- crypticorn/trade/client/api/status_api.py +6 -24
- crypticorn/trade/client/api/strategies_api.py +15 -60
- crypticorn/trade/client/api/trading_actions_api.py +431 -112
- crypticorn/trade/client/configuration.py +2 -2
- crypticorn/trade/client/models/__init__.py +10 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +62 -58
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -68,10 +68,7 @@ class StatusApi:
|
|
68
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
69
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
70
70
|
) -> str:
|
71
|
-
"""Time
|
72
|
-
|
73
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
74
|
-
"""
|
71
|
+
"""Time"""
|
75
72
|
if self.is_sync:
|
76
73
|
return self._get_time_sync(
|
77
74
|
type=type,
|
@@ -108,10 +105,7 @@ class StatusApi:
|
|
108
105
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
109
106
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
110
107
|
) -> ApiResponse[str]:
|
111
|
-
"""Time with HTTP info
|
112
|
-
|
113
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
114
|
-
"""
|
108
|
+
"""Time with HTTP info"""
|
115
109
|
if self.is_sync:
|
116
110
|
return self._get_time_sync_with_http_info(
|
117
111
|
type=type,
|
@@ -148,10 +142,7 @@ class StatusApi:
|
|
148
142
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
149
143
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
150
144
|
) -> RESTResponseType:
|
151
|
-
"""Time without preloading content
|
152
|
-
|
153
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
154
|
-
"""
|
145
|
+
"""Time without preloading content"""
|
155
146
|
if self.is_sync:
|
156
147
|
return self._get_time_sync_without_preload_content(
|
157
148
|
type=type,
|
@@ -510,10 +501,7 @@ class StatusApi:
|
|
510
501
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
511
502
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
512
503
|
) -> str:
|
513
|
-
"""Ping
|
514
|
-
|
515
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
516
|
-
"""
|
504
|
+
"""Ping"""
|
517
505
|
if self.is_sync:
|
518
506
|
return self._ping_sync(
|
519
507
|
_request_timeout=_request_timeout,
|
@@ -547,10 +535,7 @@ class StatusApi:
|
|
547
535
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
548
536
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
549
537
|
) -> ApiResponse[str]:
|
550
|
-
"""Ping with HTTP info
|
551
|
-
|
552
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
553
|
-
"""
|
538
|
+
"""Ping with HTTP info"""
|
554
539
|
if self.is_sync:
|
555
540
|
return self._ping_sync_with_http_info(
|
556
541
|
_request_timeout=_request_timeout,
|
@@ -584,10 +569,7 @@ class StatusApi:
|
|
584
569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
585
570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
586
571
|
) -> RESTResponseType:
|
587
|
-
"""Ping without preloading content
|
588
|
-
|
589
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
590
|
-
"""
|
572
|
+
"""Ping without preloading content"""
|
591
573
|
if self.is_sync:
|
592
574
|
return self._ping_sync_without_preload_content(
|
593
575
|
_request_timeout=_request_timeout,
|
@@ -67,10 +67,7 @@ class TokensApi:
|
|
67
67
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
68
68
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
69
69
|
) -> List[Dict[str, object]]:
|
70
|
-
"""Get Stable Tokens
|
71
|
-
|
72
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
73
|
-
"""
|
70
|
+
"""Get Stable Tokens"""
|
74
71
|
if self.is_sync:
|
75
72
|
return self._get_stable_tokens_sync(
|
76
73
|
_request_timeout=_request_timeout,
|
@@ -104,10 +101,7 @@ class TokensApi:
|
|
104
101
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
105
102
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
106
103
|
) -> ApiResponse[List[Dict[str, object]]]:
|
107
|
-
"""Get Stable Tokens with HTTP info
|
108
|
-
|
109
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
110
|
-
"""
|
104
|
+
"""Get Stable Tokens with HTTP info"""
|
111
105
|
if self.is_sync:
|
112
106
|
return self._get_stable_tokens_sync_with_http_info(
|
113
107
|
_request_timeout=_request_timeout,
|
@@ -141,10 +135,7 @@ class TokensApi:
|
|
141
135
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
142
136
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
143
137
|
) -> RESTResponseType:
|
144
|
-
"""Get Stable Tokens without preloading content
|
145
|
-
|
146
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
147
|
-
"""
|
138
|
+
"""Get Stable Tokens without preloading content"""
|
148
139
|
if self.is_sync:
|
149
140
|
return self._get_stable_tokens_sync_without_preload_content(
|
150
141
|
_request_timeout=_request_timeout,
|
@@ -478,10 +469,7 @@ class TokensApi:
|
|
478
469
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
479
470
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
480
471
|
) -> List[Dict[str, object]]:
|
481
|
-
"""Get Wrapped Tokens
|
482
|
-
|
483
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
484
|
-
"""
|
472
|
+
"""Get Wrapped Tokens"""
|
485
473
|
if self.is_sync:
|
486
474
|
return self._get_wrapped_tokens_sync(
|
487
475
|
_request_timeout=_request_timeout,
|
@@ -515,10 +503,7 @@ class TokensApi:
|
|
515
503
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
516
504
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
517
505
|
) -> ApiResponse[List[Dict[str, object]]]:
|
518
|
-
"""Get Wrapped Tokens with HTTP info
|
519
|
-
|
520
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
521
|
-
"""
|
506
|
+
"""Get Wrapped Tokens with HTTP info"""
|
522
507
|
if self.is_sync:
|
523
508
|
return self._get_wrapped_tokens_sync_with_http_info(
|
524
509
|
_request_timeout=_request_timeout,
|
@@ -552,10 +537,7 @@ class TokensApi:
|
|
552
537
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
553
538
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
554
539
|
) -> RESTResponseType:
|
555
|
-
"""Get Wrapped Tokens without preloading content
|
556
|
-
|
557
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
558
|
-
"""
|
540
|
+
"""Get Wrapped Tokens without preloading content"""
|
559
541
|
if self.is_sync:
|
560
542
|
return self._get_wrapped_tokens_sync_without_preload_content(
|
561
543
|
_request_timeout=_request_timeout,
|
@@ -69,10 +69,7 @@ class AdminApi:
|
|
69
69
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
70
70
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
71
71
|
) -> Dict[str, object]:
|
72
|
-
"""Get Container Limits
|
73
|
-
|
74
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
75
|
-
"""
|
72
|
+
"""Get Container Limits"""
|
76
73
|
if self.is_sync:
|
77
74
|
return self._get_container_limits_sync(
|
78
75
|
_request_timeout=_request_timeout,
|
@@ -106,10 +103,7 @@ class AdminApi:
|
|
106
103
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
107
104
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
108
105
|
) -> ApiResponse[Dict[str, object]]:
|
109
|
-
"""Get Container Limits with HTTP info
|
110
|
-
|
111
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
112
|
-
"""
|
106
|
+
"""Get Container Limits with HTTP info"""
|
113
107
|
if self.is_sync:
|
114
108
|
return self._get_container_limits_sync_with_http_info(
|
115
109
|
_request_timeout=_request_timeout,
|
@@ -143,10 +137,7 @@ class AdminApi:
|
|
143
137
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
144
138
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
145
139
|
) -> RESTResponseType:
|
146
|
-
"""Get Container Limits without preloading content
|
147
|
-
|
148
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
149
|
-
"""
|
140
|
+
"""Get Container Limits without preloading content"""
|
150
141
|
if self.is_sync:
|
151
142
|
return self._get_container_limits_sync_without_preload_content(
|
152
143
|
_request_timeout=_request_timeout,
|
@@ -486,10 +477,7 @@ class AdminApi:
|
|
486
477
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
487
478
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
488
479
|
) -> Dict[str, Optional[str]]:
|
489
|
-
"""List Installed Packages
|
490
|
-
|
491
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
492
|
-
"""
|
480
|
+
"""List Installed Packages"""
|
493
481
|
if self.is_sync:
|
494
482
|
return self._get_dependencies_sync(
|
495
483
|
include=include,
|
@@ -531,10 +519,7 @@ class AdminApi:
|
|
531
519
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
532
520
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
533
521
|
) -> ApiResponse[Dict[str, Optional[str]]]:
|
534
|
-
"""List Installed Packages with HTTP info
|
535
|
-
|
536
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
537
|
-
"""
|
522
|
+
"""List Installed Packages with HTTP info"""
|
538
523
|
if self.is_sync:
|
539
524
|
return self._get_dependencies_sync_with_http_info(
|
540
525
|
include=include,
|
@@ -576,10 +561,7 @@ class AdminApi:
|
|
576
561
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
577
562
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
578
563
|
) -> RESTResponseType:
|
579
|
-
"""List Installed Packages without preloading content
|
580
|
-
|
581
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
582
|
-
"""
|
564
|
+
"""List Installed Packages without preloading content"""
|
583
565
|
if self.is_sync:
|
584
566
|
return self._get_dependencies_sync_without_preload_content(
|
585
567
|
include=include,
|
@@ -970,10 +952,7 @@ class AdminApi:
|
|
970
952
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
971
953
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
972
954
|
) -> LogLevel:
|
973
|
-
"""Get Logging Level
|
974
|
-
|
975
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
976
|
-
"""
|
955
|
+
"""Get Logging Level"""
|
977
956
|
if self.is_sync:
|
978
957
|
return self._get_log_level_sync(
|
979
958
|
_request_timeout=_request_timeout,
|
@@ -1007,10 +986,7 @@ class AdminApi:
|
|
1007
986
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1008
987
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1009
988
|
) -> ApiResponse[LogLevel]:
|
1010
|
-
"""Get Logging Level with HTTP info
|
1011
|
-
|
1012
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1013
|
-
"""
|
989
|
+
"""Get Logging Level with HTTP info"""
|
1014
990
|
if self.is_sync:
|
1015
991
|
return self._get_log_level_sync_with_http_info(
|
1016
992
|
_request_timeout=_request_timeout,
|
@@ -1044,10 +1020,7 @@ class AdminApi:
|
|
1044
1020
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1045
1021
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1046
1022
|
) -> RESTResponseType:
|
1047
|
-
"""Get Logging Level without preloading content
|
1048
|
-
|
1049
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1050
|
-
"""
|
1023
|
+
"""Get Logging Level without preloading content"""
|
1051
1024
|
if self.is_sync:
|
1052
1025
|
return self._get_log_level_sync_without_preload_content(
|
1053
1026
|
_request_timeout=_request_timeout,
|
@@ -1384,10 +1357,7 @@ class AdminApi:
|
|
1384
1357
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1385
1358
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1386
1359
|
) -> float:
|
1387
|
-
"""Get Memory Usage
|
1388
|
-
|
1389
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1390
|
-
"""
|
1360
|
+
"""Get Memory Usage"""
|
1391
1361
|
if self.is_sync:
|
1392
1362
|
return self._get_memory_usage_sync(
|
1393
1363
|
_request_timeout=_request_timeout,
|
@@ -1421,10 +1391,7 @@ class AdminApi:
|
|
1421
1391
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1422
1392
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1423
1393
|
) -> ApiResponse[float]:
|
1424
|
-
"""Get Memory Usage with HTTP info
|
1425
|
-
|
1426
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1427
|
-
"""
|
1394
|
+
"""Get Memory Usage with HTTP info"""
|
1428
1395
|
if self.is_sync:
|
1429
1396
|
return self._get_memory_usage_sync_with_http_info(
|
1430
1397
|
_request_timeout=_request_timeout,
|
@@ -1458,10 +1425,7 @@ class AdminApi:
|
|
1458
1425
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1459
1426
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1460
1427
|
) -> RESTResponseType:
|
1461
|
-
"""Get Memory Usage without preloading content
|
1462
|
-
|
1463
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1464
|
-
"""
|
1428
|
+
"""Get Memory Usage without preloading content"""
|
1465
1429
|
if self.is_sync:
|
1466
1430
|
return self._get_memory_usage_sync_without_preload_content(
|
1467
1431
|
_request_timeout=_request_timeout,
|
@@ -1795,10 +1759,7 @@ class AdminApi:
|
|
1795
1759
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1796
1760
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1797
1761
|
) -> object:
|
1798
|
-
"""Metrics
|
1799
|
-
|
1800
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1801
|
-
"""
|
1762
|
+
"""Metrics"""
|
1802
1763
|
if self.is_sync:
|
1803
1764
|
return self._get_metrics_sync(
|
1804
1765
|
_request_timeout=_request_timeout,
|
@@ -1832,10 +1793,7 @@ class AdminApi:
|
|
1832
1793
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1833
1794
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1834
1795
|
) -> ApiResponse[object]:
|
1835
|
-
"""Metrics with HTTP info
|
1836
|
-
|
1837
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1838
|
-
"""
|
1796
|
+
"""Metrics with HTTP info"""
|
1839
1797
|
if self.is_sync:
|
1840
1798
|
return self._get_metrics_sync_with_http_info(
|
1841
1799
|
_request_timeout=_request_timeout,
|
@@ -1869,10 +1827,7 @@ class AdminApi:
|
|
1869
1827
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1870
1828
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1871
1829
|
) -> RESTResponseType:
|
1872
|
-
"""Metrics without preloading content
|
1873
|
-
|
1874
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1875
|
-
"""
|
1830
|
+
"""Metrics without preloading content"""
|
1876
1831
|
if self.is_sync:
|
1877
1832
|
return self._get_metrics_sync_without_preload_content(
|
1878
1833
|
_request_timeout=_request_timeout,
|
@@ -2206,10 +2161,7 @@ class AdminApi:
|
|
2206
2161
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2207
2162
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2208
2163
|
) -> Dict[str, object]:
|
2209
|
-
"""Get Threads
|
2210
|
-
|
2211
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2212
|
-
"""
|
2164
|
+
"""Get Threads"""
|
2213
2165
|
if self.is_sync:
|
2214
2166
|
return self._get_threads_sync(
|
2215
2167
|
_request_timeout=_request_timeout,
|
@@ -2243,10 +2195,7 @@ class AdminApi:
|
|
2243
2195
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2244
2196
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2245
2197
|
) -> ApiResponse[Dict[str, object]]:
|
2246
|
-
"""Get Threads with HTTP info
|
2247
|
-
|
2248
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2249
|
-
"""
|
2198
|
+
"""Get Threads with HTTP info"""
|
2250
2199
|
if self.is_sync:
|
2251
2200
|
return self._get_threads_sync_with_http_info(
|
2252
2201
|
_request_timeout=_request_timeout,
|
@@ -2280,10 +2229,7 @@ class AdminApi:
|
|
2280
2229
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2281
2230
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2282
2231
|
) -> RESTResponseType:
|
2283
|
-
"""Get Threads without preloading content
|
2284
|
-
|
2285
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2286
|
-
"""
|
2232
|
+
"""Get Threads without preloading content"""
|
2287
2233
|
if self.is_sync:
|
2288
2234
|
return self._get_threads_sync_without_preload_content(
|
2289
2235
|
_request_timeout=_request_timeout,
|
@@ -2618,10 +2564,7 @@ class AdminApi:
|
|
2618
2564
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2619
2565
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2620
2566
|
) -> str:
|
2621
|
-
"""Get Uptime
|
2622
|
-
|
2623
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2624
|
-
"""
|
2567
|
+
"""Get Uptime"""
|
2625
2568
|
if self.is_sync:
|
2626
2569
|
return self._get_uptime_sync(
|
2627
2570
|
type=type,
|
@@ -2658,10 +2601,7 @@ class AdminApi:
|
|
2658
2601
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2659
2602
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2660
2603
|
) -> ApiResponse[str]:
|
2661
|
-
"""Get Uptime with HTTP info
|
2662
|
-
|
2663
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2664
|
-
"""
|
2604
|
+
"""Get Uptime with HTTP info"""
|
2665
2605
|
if self.is_sync:
|
2666
2606
|
return self._get_uptime_sync_with_http_info(
|
2667
2607
|
type=type,
|
@@ -2698,10 +2638,7 @@ class AdminApi:
|
|
2698
2638
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2699
2639
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2700
2640
|
) -> RESTResponseType:
|
2701
|
-
"""Get Uptime without preloading content
|
2702
|
-
|
2703
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2704
|
-
"""
|
2641
|
+
"""Get Uptime without preloading content"""
|
2705
2642
|
if self.is_sync:
|
2706
2643
|
return self._get_uptime_sync_without_preload_content(
|
2707
2644
|
type=type,
|
@@ -71,10 +71,7 @@ class NOWPaymentsApi:
|
|
71
71
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
72
72
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
73
73
|
) -> NowCreateInvoiceRes:
|
74
|
-
"""Create Invoice
|
75
|
-
|
76
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
77
|
-
"""
|
74
|
+
"""Create Invoice"""
|
78
75
|
if self.is_sync:
|
79
76
|
return self._create_now_invoice_sync(
|
80
77
|
now_create_invoice_req=now_create_invoice_req,
|
@@ -111,10 +108,7 @@ class NOWPaymentsApi:
|
|
111
108
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
112
109
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
113
110
|
) -> ApiResponse[NowCreateInvoiceRes]:
|
114
|
-
"""Create Invoice with HTTP info
|
115
|
-
|
116
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
117
|
-
"""
|
111
|
+
"""Create Invoice with HTTP info"""
|
118
112
|
if self.is_sync:
|
119
113
|
return self._create_now_invoice_sync_with_http_info(
|
120
114
|
now_create_invoice_req=now_create_invoice_req,
|
@@ -151,10 +145,7 @@ class NOWPaymentsApi:
|
|
151
145
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
152
146
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
153
147
|
) -> RESTResponseType:
|
154
|
-
"""Create Invoice without preloading content
|
155
|
-
|
156
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
157
|
-
"""
|
148
|
+
"""Create Invoice without preloading content"""
|
158
149
|
if self.is_sync:
|
159
150
|
return self._create_now_invoice_sync_without_preload_content(
|
160
151
|
now_create_invoice_req=now_create_invoice_req,
|
@@ -521,10 +512,7 @@ class NOWPaymentsApi:
|
|
521
512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
522
513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
523
514
|
) -> str:
|
524
|
-
"""Get Status
|
525
|
-
|
526
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
527
|
-
"""
|
515
|
+
"""Get Status"""
|
528
516
|
if self.is_sync:
|
529
517
|
return self._get_now_api_status_sync(
|
530
518
|
_request_timeout=_request_timeout,
|
@@ -558,10 +546,7 @@ class NOWPaymentsApi:
|
|
558
546
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
559
547
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
560
548
|
) -> ApiResponse[str]:
|
561
|
-
"""Get Status with HTTP info
|
562
|
-
|
563
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
564
|
-
"""
|
549
|
+
"""Get Status with HTTP info"""
|
565
550
|
if self.is_sync:
|
566
551
|
return self._get_now_api_status_sync_with_http_info(
|
567
552
|
_request_timeout=_request_timeout,
|
@@ -595,10 +580,7 @@ class NOWPaymentsApi:
|
|
595
580
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
596
581
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
597
582
|
) -> RESTResponseType:
|
598
|
-
"""Get Status without preloading content
|
599
|
-
|
600
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
601
|
-
"""
|
583
|
+
"""Get Status without preloading content"""
|
602
584
|
if self.is_sync:
|
603
585
|
return self._get_now_api_status_sync_without_preload_content(
|
604
586
|
_request_timeout=_request_timeout,
|
@@ -933,10 +915,7 @@ class NOWPaymentsApi:
|
|
933
915
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
934
916
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
935
917
|
) -> Payment:
|
936
|
-
"""Get Now Payment By Invoice
|
937
|
-
|
938
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
939
|
-
"""
|
918
|
+
"""Get Now Payment By Invoice"""
|
940
919
|
if self.is_sync:
|
941
920
|
return self._get_now_payment_by_invoice_sync(
|
942
921
|
id=id,
|
@@ -973,10 +952,7 @@ class NOWPaymentsApi:
|
|
973
952
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
974
953
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
975
954
|
) -> ApiResponse[Payment]:
|
976
|
-
"""Get Now Payment By Invoice with HTTP info
|
977
|
-
|
978
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
979
|
-
"""
|
955
|
+
"""Get Now Payment By Invoice with HTTP info"""
|
980
956
|
if self.is_sync:
|
981
957
|
return self._get_now_payment_by_invoice_sync_with_http_info(
|
982
958
|
id=id,
|
@@ -1013,10 +989,7 @@ class NOWPaymentsApi:
|
|
1013
989
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1014
990
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1015
991
|
) -> RESTResponseType:
|
1016
|
-
"""Get Now Payment By Invoice without preloading content
|
1017
|
-
|
1018
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1019
|
-
"""
|
992
|
+
"""Get Now Payment By Invoice without preloading content"""
|
1020
993
|
if self.is_sync:
|
1021
994
|
return self._get_now_payment_by_invoice_sync_without_preload_content(
|
1022
995
|
id=id,
|
@@ -1375,10 +1348,7 @@ class NOWPaymentsApi:
|
|
1375
1348
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1376
1349
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1377
1350
|
) -> List[Payment]:
|
1378
|
-
"""Get Now Payments
|
1379
|
-
|
1380
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1381
|
-
"""
|
1351
|
+
"""Get Now Payments"""
|
1382
1352
|
if self.is_sync:
|
1383
1353
|
return self._get_now_payments_sync(
|
1384
1354
|
_request_timeout=_request_timeout,
|
@@ -1412,10 +1382,7 @@ class NOWPaymentsApi:
|
|
1412
1382
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1413
1383
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1414
1384
|
) -> ApiResponse[List[Payment]]:
|
1415
|
-
"""Get Now Payments with HTTP info
|
1416
|
-
|
1417
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1418
|
-
"""
|
1385
|
+
"""Get Now Payments with HTTP info"""
|
1419
1386
|
if self.is_sync:
|
1420
1387
|
return self._get_now_payments_sync_with_http_info(
|
1421
1388
|
_request_timeout=_request_timeout,
|
@@ -1449,10 +1416,7 @@ class NOWPaymentsApi:
|
|
1449
1416
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1450
1417
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1451
1418
|
) -> RESTResponseType:
|
1452
|
-
"""Get Now Payments without preloading content
|
1453
|
-
|
1454
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1455
|
-
"""
|
1419
|
+
"""Get Now Payments without preloading content"""
|
1456
1420
|
if self.is_sync:
|
1457
1421
|
return self._get_now_payments_sync_without_preload_content(
|
1458
1422
|
_request_timeout=_request_timeout,
|
@@ -1786,10 +1750,7 @@ class NOWPaymentsApi:
|
|
1786
1750
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1787
1751
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1788
1752
|
) -> object:
|
1789
|
-
"""Handle Webhook
|
1790
|
-
|
1791
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1792
|
-
"""
|
1753
|
+
"""Handle Webhook"""
|
1793
1754
|
if self.is_sync:
|
1794
1755
|
return self._handle_now_webhook_sync(
|
1795
1756
|
_request_timeout=_request_timeout,
|
@@ -1823,10 +1784,7 @@ class NOWPaymentsApi:
|
|
1823
1784
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1824
1785
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1825
1786
|
) -> ApiResponse[object]:
|
1826
|
-
"""Handle Webhook with HTTP info
|
1827
|
-
|
1828
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1829
|
-
"""
|
1787
|
+
"""Handle Webhook with HTTP info"""
|
1830
1788
|
if self.is_sync:
|
1831
1789
|
return self._handle_now_webhook_sync_with_http_info(
|
1832
1790
|
_request_timeout=_request_timeout,
|
@@ -1860,10 +1818,7 @@ class NOWPaymentsApi:
|
|
1860
1818
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1861
1819
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1862
1820
|
) -> RESTResponseType:
|
1863
|
-
"""Handle Webhook without preloading content
|
1864
|
-
|
1865
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1866
|
-
"""
|
1821
|
+
"""Handle Webhook without preloading content"""
|
1867
1822
|
if self.is_sync:
|
1868
1823
|
return self._handle_now_webhook_sync_without_preload_content(
|
1869
1824
|
_request_timeout=_request_timeout,
|
@@ -81,10 +81,7 @@ class PaymentsApi:
|
|
81
81
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
82
82
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
83
83
|
) -> List[Payment]:
|
84
|
-
"""Get Payment History
|
85
|
-
|
86
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
87
|
-
"""
|
84
|
+
"""Get Payment History"""
|
88
85
|
if self.is_sync:
|
89
86
|
return self._get_payment_history_sync(
|
90
87
|
limit=limit,
|
@@ -134,10 +131,7 @@ class PaymentsApi:
|
|
134
131
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
135
132
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
136
133
|
) -> ApiResponse[List[Payment]]:
|
137
|
-
"""Get Payment History with HTTP info
|
138
|
-
|
139
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
140
|
-
"""
|
134
|
+
"""Get Payment History with HTTP info"""
|
141
135
|
if self.is_sync:
|
142
136
|
return self._get_payment_history_sync_with_http_info(
|
143
137
|
limit=limit,
|
@@ -187,10 +181,7 @@ class PaymentsApi:
|
|
187
181
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
188
182
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
189
183
|
) -> RESTResponseType:
|
190
|
-
"""Get Payment History without preloading content
|
191
|
-
|
192
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
193
|
-
"""
|
184
|
+
"""Get Payment History without preloading content"""
|
194
185
|
if self.is_sync:
|
195
186
|
return self._get_payment_history_sync_without_preload_content(
|
196
187
|
limit=limit,
|
@@ -646,10 +637,7 @@ class PaymentsApi:
|
|
646
637
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
647
638
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
648
639
|
) -> List[Subscription]:
|
649
|
-
"""Get Subscriptions
|
650
|
-
|
651
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
652
|
-
"""
|
640
|
+
"""Get Subscriptions"""
|
653
641
|
if self.is_sync:
|
654
642
|
return self._get_subscriptions_sync(
|
655
643
|
user_id=user_id,
|
@@ -699,10 +687,7 @@ class PaymentsApi:
|
|
699
687
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
700
688
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
701
689
|
) -> ApiResponse[List[Subscription]]:
|
702
|
-
"""Get Subscriptions with HTTP info
|
703
|
-
|
704
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
705
|
-
"""
|
690
|
+
"""Get Subscriptions with HTTP info"""
|
706
691
|
if self.is_sync:
|
707
692
|
return self._get_subscriptions_sync_with_http_info(
|
708
693
|
user_id=user_id,
|
@@ -752,10 +737,7 @@ class PaymentsApi:
|
|
752
737
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
753
738
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
754
739
|
) -> RESTResponseType:
|
755
|
-
"""Get Subscriptions without preloading content
|
756
|
-
|
757
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
758
|
-
"""
|
740
|
+
"""Get Subscriptions without preloading content"""
|
759
741
|
if self.is_sync:
|
760
742
|
return self._get_subscriptions_sync_without_preload_content(
|
761
743
|
user_id=user_id,
|