crypticorn 2.17.0rc4__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 -26
- crypticorn/auth/client/api/auth_api.py +36 -148
- crypticorn/auth/client/api/service_api.py +3 -16
- crypticorn/auth/client/api/user_api.py +33 -136
- crypticorn/auth/client/api/wallet_api.py +18 -76
- crypticorn/auth/client/api_client.py +0 -5
- crypticorn/auth/client/models/add_wallet_request.py +1 -1
- crypticorn/auth/client/models/authorize_user_request.py +1 -1
- crypticorn/auth/client/models/create_api_key_request.py +1 -1
- crypticorn/auth/client/models/create_user_request.py +1 -1
- crypticorn/auth/client/models/get_api_keys200_response_inner.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +1 -1
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +1 -1
- crypticorn/auth/client/models/logout_default_response.py +1 -1
- crypticorn/auth/client/models/oauth_callback200_response_user.py +1 -1
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +1 -1
- crypticorn/auth/client/models/rotate_tokens200_response.py +1 -1
- crypticorn/auth/client/models/token_info200_response.py +1 -1
- crypticorn/auth/client/models/update_user_request.py +1 -1
- crypticorn/auth/client/models/user_by_username200_response.py +1 -1
- crypticorn/auth/client/models/verify200_response.py +1 -1
- crypticorn/auth/client/models/verify_email200_response_auth.py +1 -1
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +1 -1
- crypticorn/auth/client/models/whoami200_response.py +1 -1
- crypticorn/cli/init.py +1 -1
- crypticorn/cli/templates/.env.docker.temp +3 -0
- crypticorn/cli/templates/.env.example.temp +4 -0
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/client.py +0 -1
- crypticorn/common/auth.py +31 -4
- crypticorn/common/decorators.py +1 -2
- crypticorn/common/enums.py +0 -2
- crypticorn/common/errors.py +10 -0
- crypticorn/common/metrics.py +1 -1
- crypticorn/common/middleware.py +0 -1
- crypticorn/common/pagination.py +116 -24
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +33 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/common/utils.py +1 -2
- crypticorn/dex/__init__.py +6 -0
- crypticorn/dex/client/__init__.py +49 -0
- crypticorn/dex/client/api/__init__.py +6 -0
- crypticorn/dex/client/api/admin_api.py +2983 -0
- crypticorn/dex/client/api/signals_api.py +1794 -0
- crypticorn/dex/client/api/status_api.py +889 -0
- crypticorn/dex/client/api_client.py +753 -0
- crypticorn/dex/client/api_response.py +20 -0
- crypticorn/dex/client/configuration.py +620 -0
- crypticorn/dex/client/exceptions.py +220 -0
- crypticorn/dex/client/models/__init__.py +30 -0
- crypticorn/dex/client/models/api_error_identifier.py +121 -0
- crypticorn/dex/client/models/api_error_level.py +37 -0
- crypticorn/dex/client/models/api_error_type.py +37 -0
- crypticorn/dex/client/models/exception_detail.py +117 -0
- crypticorn/dex/client/models/log_level.py +38 -0
- crypticorn/dex/client/models/paginated_response_signal_with_token.py +134 -0
- crypticorn/dex/client/models/risk.py +86 -0
- crypticorn/dex/client/models/signal_overview_stats.py +156 -0
- crypticorn/dex/client/models/signal_volume.py +84 -0
- crypticorn/dex/client/models/signal_with_token.py +163 -0
- crypticorn/dex/client/models/token_data.py +127 -0
- crypticorn/dex/client/models/token_detail.py +116 -0
- crypticorn/dex/client/py.typed +0 -0
- crypticorn/dex/client/rest.py +217 -0
- crypticorn/dex/main.py +1 -0
- crypticorn/hive/client/api/admin_api.py +18 -75
- crypticorn/hive/client/api/data_api.py +6 -28
- crypticorn/hive/client/api/models_api.py +22 -88
- crypticorn/hive/client/api/status_api.py +6 -27
- crypticorn/hive/client/api_client.py +0 -5
- crypticorn/hive/client/models/coin_info.py +1 -1
- crypticorn/hive/client/models/exception_detail.py +1 -1
- crypticorn/hive/client/models/target_info.py +1 -1
- crypticorn/hive/utils.py +2 -2
- crypticorn/klines/client/api/admin_api.py +18 -75
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -16
- crypticorn/klines/client/api/funding_rates_api.py +3 -16
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -16
- crypticorn/klines/client/api/status_api.py +6 -27
- crypticorn/klines/client/api/symbols_api.py +3 -16
- crypticorn/klines/client/api/udf_api.py +18 -74
- crypticorn/klines/client/api_client.py +0 -5
- crypticorn/klines/client/models/exception_detail.py +1 -1
- crypticorn/klines/client/models/ohlcv.py +1 -1
- crypticorn/klines/client/models/symbol_group.py +1 -1
- crypticorn/klines/client/models/udf_config.py +1 -1
- crypticorn/metrics/client/api/admin_api.py +18 -75
- crypticorn/metrics/client/api/exchanges_api.py +12 -52
- crypticorn/metrics/client/api/indicators_api.py +6 -28
- crypticorn/metrics/client/api/logs_api.py +3 -16
- crypticorn/metrics/client/api/marketcap_api.py +12 -52
- crypticorn/metrics/client/api/markets_api.py +3 -16
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -16
- crypticorn/metrics/client/api/status_api.py +6 -27
- crypticorn/metrics/client/api/tokens_api.py +6 -26
- crypticorn/metrics/client/api_client.py +0 -5
- crypticorn/metrics/client/models/exception_detail.py +1 -1
- crypticorn/metrics/client/models/exchange_mapping.py +1 -1
- crypticorn/metrics/client/models/marketcap_ranking.py +1 -1
- crypticorn/metrics/client/models/marketcap_symbol_ranking.py +1 -1
- crypticorn/metrics/client/models/ohlcv.py +1 -1
- crypticorn/pay/client/api/admin_api.py +21 -87
- crypticorn/pay/client/api/now_payments_api.py +15 -64
- crypticorn/pay/client/api/payments_api.py +6 -28
- crypticorn/pay/client/api/products_api.py +12 -52
- crypticorn/pay/client/api/status_api.py +6 -27
- crypticorn/pay/client/api_client.py +0 -5
- crypticorn/pay/client/models/exception_detail.py +1 -1
- crypticorn/pay/client/models/now_create_invoice_req.py +1 -1
- crypticorn/pay/client/models/now_create_invoice_res.py +1 -1
- crypticorn/pay/client/models/product.py +1 -1
- crypticorn/pay/client/models/product_create.py +1 -1
- crypticorn/pay/client/models/product_update.py +1 -1
- crypticorn/trade/client/__init__.py +15 -0
- crypticorn/trade/client/api/admin_api.py +43 -107
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +6557 -240
- 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 +220 -115
- 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/models/__init__.py +15 -0
- crypticorn/trade/client/models/bot.py +7 -18
- crypticorn/trade/client/models/bot_create.py +17 -1
- crypticorn/trade/client/models/bot_update.py +17 -1
- crypticorn/trade/client/models/exchange_key_create.py +17 -1
- crypticorn/trade/client/models/exchange_key_update.py +17 -1
- crypticorn/trade/client/models/notification.py +17 -1
- crypticorn/trade/client/models/notification_create.py +17 -1
- crypticorn/trade/client/models/notification_update.py +17 -1
- crypticorn/trade/client/models/orders_count.py +88 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_order.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/pn_l.py +95 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- crypticorn/trade/client/models/strategy.py +17 -1
- crypticorn/trade/client/models/strategy_create.py +17 -1
- crypticorn/trade/client/models/strategy_update.py +17 -1
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +151 -116
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -11,12 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from typing import List
|
20
18
|
from crypticorn.auth.client.models.logout_default_response_issues_inner import (
|
21
19
|
LogoutDefaultResponseIssuesInner,
|
22
20
|
)
|
@@ -77,10 +75,7 @@ class AdminApi:
|
|
77
75
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
78
76
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
79
77
|
) -> LogoutDefaultResponseIssuesInner:
|
80
|
-
"""Revoke user tokens
|
81
|
-
|
82
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
83
|
-
"""
|
78
|
+
"""Revoke user tokens"""
|
84
79
|
if self.is_sync:
|
85
80
|
return self._revoke_user_tokens_sync(
|
86
81
|
revoke_user_tokens_request=revoke_user_tokens_request,
|
@@ -117,10 +112,7 @@ class AdminApi:
|
|
117
112
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
118
113
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
119
114
|
) -> ApiResponse[LogoutDefaultResponseIssuesInner]:
|
120
|
-
"""Revoke user tokens with HTTP info
|
121
|
-
|
122
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
123
|
-
"""
|
115
|
+
"""Revoke user tokens with HTTP info"""
|
124
116
|
if self.is_sync:
|
125
117
|
return self._revoke_user_tokens_sync_with_http_info(
|
126
118
|
revoke_user_tokens_request=revoke_user_tokens_request,
|
@@ -157,10 +149,7 @@ class AdminApi:
|
|
157
149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
158
150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
159
151
|
) -> RESTResponseType:
|
160
|
-
"""Revoke user tokens without preloading content
|
161
|
-
|
162
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
163
|
-
"""
|
152
|
+
"""Revoke user tokens without preloading content"""
|
164
153
|
if self.is_sync:
|
165
154
|
return self._revoke_user_tokens_sync_without_preload_content(
|
166
155
|
revoke_user_tokens_request=revoke_user_tokens_request,
|
@@ -527,10 +516,7 @@ class AdminApi:
|
|
527
516
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
528
517
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
529
518
|
) -> List[Whoami200Response]:
|
530
|
-
"""User List
|
531
|
-
|
532
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
533
|
-
"""
|
519
|
+
"""User List"""
|
534
520
|
if self.is_sync:
|
535
521
|
return self._user_list_sync(
|
536
522
|
_request_timeout=_request_timeout,
|
@@ -564,10 +550,7 @@ class AdminApi:
|
|
564
550
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
565
551
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
566
552
|
) -> ApiResponse[List[Whoami200Response]]:
|
567
|
-
"""User List with HTTP info
|
568
|
-
|
569
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
570
|
-
"""
|
553
|
+
"""User List with HTTP info"""
|
571
554
|
if self.is_sync:
|
572
555
|
return self._user_list_sync_with_http_info(
|
573
556
|
_request_timeout=_request_timeout,
|
@@ -601,10 +584,7 @@ class AdminApi:
|
|
601
584
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
602
585
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
603
586
|
) -> RESTResponseType:
|
604
|
-
"""User List without preloading content
|
605
|
-
|
606
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
607
|
-
"""
|
587
|
+
"""User List without preloading content"""
|
608
588
|
if self.is_sync:
|
609
589
|
return self._user_list_sync_without_preload_content(
|
610
590
|
_request_timeout=_request_timeout,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictStr
|
20
|
-
from typing import Any, List, Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.auth.client.models.authorize_user200_response import (
|
23
19
|
AuthorizeUser200Response,
|
24
20
|
)
|
@@ -94,10 +90,7 @@ class AuthApi:
|
|
94
90
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
95
91
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
96
92
|
) -> AuthorizeUser200Response:
|
97
|
-
"""Authorize a user
|
98
|
-
|
99
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
100
|
-
"""
|
93
|
+
"""Authorize a user"""
|
101
94
|
if self.is_sync:
|
102
95
|
return self._authorize_user_sync(
|
103
96
|
authorize_user_request=authorize_user_request,
|
@@ -134,10 +127,7 @@ class AuthApi:
|
|
134
127
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
135
128
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
136
129
|
) -> ApiResponse[AuthorizeUser200Response]:
|
137
|
-
"""Authorize a user with HTTP info
|
138
|
-
|
139
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
140
|
-
"""
|
130
|
+
"""Authorize a user with HTTP info"""
|
141
131
|
if self.is_sync:
|
142
132
|
return self._authorize_user_sync_with_http_info(
|
143
133
|
authorize_user_request=authorize_user_request,
|
@@ -174,10 +164,7 @@ class AuthApi:
|
|
174
164
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
175
165
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
176
166
|
) -> RESTResponseType:
|
177
|
-
"""Authorize a user without preloading content
|
178
|
-
|
179
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
180
|
-
"""
|
167
|
+
"""Authorize a user without preloading content"""
|
181
168
|
if self.is_sync:
|
182
169
|
return self._authorize_user_sync_without_preload_content(
|
183
170
|
authorize_user_request=authorize_user_request,
|
@@ -545,10 +532,7 @@ class AuthApi:
|
|
545
532
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
546
533
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
547
534
|
) -> CreateApiKey200Response:
|
548
|
-
"""Create API Key
|
549
|
-
|
550
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
551
|
-
"""
|
535
|
+
"""Create API Key"""
|
552
536
|
if self.is_sync:
|
553
537
|
return self._create_api_key_sync(
|
554
538
|
create_api_key_request=create_api_key_request,
|
@@ -585,10 +569,7 @@ class AuthApi:
|
|
585
569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
586
570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
587
571
|
) -> ApiResponse[CreateApiKey200Response]:
|
588
|
-
"""Create API Key with HTTP info
|
589
|
-
|
590
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
591
|
-
"""
|
572
|
+
"""Create API Key with HTTP info"""
|
592
573
|
if self.is_sync:
|
593
574
|
return self._create_api_key_sync_with_http_info(
|
594
575
|
create_api_key_request=create_api_key_request,
|
@@ -625,10 +606,7 @@ class AuthApi:
|
|
625
606
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
626
607
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
627
608
|
) -> RESTResponseType:
|
628
|
-
"""Create API Key without preloading content
|
629
|
-
|
630
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
631
|
-
"""
|
609
|
+
"""Create API Key without preloading content"""
|
632
610
|
if self.is_sync:
|
633
611
|
return self._create_api_key_sync_without_preload_content(
|
634
612
|
create_api_key_request=create_api_key_request,
|
@@ -996,10 +974,7 @@ class AuthApi:
|
|
996
974
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
997
975
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
998
976
|
) -> object:
|
999
|
-
"""Delete API Key
|
1000
|
-
|
1001
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1002
|
-
"""
|
977
|
+
"""Delete API Key"""
|
1003
978
|
if self.is_sync:
|
1004
979
|
return self._delete_api_key_sync(
|
1005
980
|
id=id,
|
@@ -1036,10 +1011,7 @@ class AuthApi:
|
|
1036
1011
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1037
1012
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1038
1013
|
) -> ApiResponse[object]:
|
1039
|
-
"""Delete API Key with HTTP info
|
1040
|
-
|
1041
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1042
|
-
"""
|
1014
|
+
"""Delete API Key with HTTP info"""
|
1043
1015
|
if self.is_sync:
|
1044
1016
|
return self._delete_api_key_sync_with_http_info(
|
1045
1017
|
id=id,
|
@@ -1076,10 +1048,7 @@ class AuthApi:
|
|
1076
1048
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1077
1049
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1078
1050
|
) -> RESTResponseType:
|
1079
|
-
"""Delete API Key without preloading content
|
1080
|
-
|
1081
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1082
|
-
"""
|
1051
|
+
"""Delete API Key without preloading content"""
|
1083
1052
|
if self.is_sync:
|
1084
1053
|
return self._delete_api_key_sync_without_preload_content(
|
1085
1054
|
id=id,
|
@@ -1438,10 +1407,7 @@ class AuthApi:
|
|
1438
1407
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1439
1408
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1440
1409
|
) -> List[GetApiKeys200ResponseInner]:
|
1441
|
-
"""Get API Keys
|
1442
|
-
|
1443
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1444
|
-
"""
|
1410
|
+
"""Get API Keys"""
|
1445
1411
|
if self.is_sync:
|
1446
1412
|
return self._get_api_keys_sync(
|
1447
1413
|
_request_timeout=_request_timeout,
|
@@ -1475,10 +1441,7 @@ class AuthApi:
|
|
1475
1441
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1476
1442
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1477
1443
|
) -> ApiResponse[List[GetApiKeys200ResponseInner]]:
|
1478
|
-
"""Get API Keys with HTTP info
|
1479
|
-
|
1480
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1481
|
-
"""
|
1444
|
+
"""Get API Keys with HTTP info"""
|
1482
1445
|
if self.is_sync:
|
1483
1446
|
return self._get_api_keys_sync_with_http_info(
|
1484
1447
|
_request_timeout=_request_timeout,
|
@@ -1512,10 +1475,7 @@ class AuthApi:
|
|
1512
1475
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1513
1476
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1514
1477
|
) -> RESTResponseType:
|
1515
|
-
"""Get API Keys without preloading content
|
1516
|
-
|
1517
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1518
|
-
"""
|
1478
|
+
"""Get API Keys without preloading content"""
|
1519
1479
|
if self.is_sync:
|
1520
1480
|
return self._get_api_keys_sync_without_preload_content(
|
1521
1481
|
_request_timeout=_request_timeout,
|
@@ -1850,10 +1810,7 @@ class AuthApi:
|
|
1850
1810
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1851
1811
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1852
1812
|
) -> str:
|
1853
|
-
"""Get Google Auth URL
|
1854
|
-
|
1855
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1856
|
-
"""
|
1813
|
+
"""Get Google Auth URL"""
|
1857
1814
|
if self.is_sync:
|
1858
1815
|
return self._get_google_auth_url_sync(
|
1859
1816
|
origin=origin,
|
@@ -1890,10 +1847,7 @@ class AuthApi:
|
|
1890
1847
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1891
1848
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1892
1849
|
) -> ApiResponse[str]:
|
1893
|
-
"""Get Google Auth URL with HTTP info
|
1894
|
-
|
1895
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1896
|
-
"""
|
1850
|
+
"""Get Google Auth URL with HTTP info"""
|
1897
1851
|
if self.is_sync:
|
1898
1852
|
return self._get_google_auth_url_sync_with_http_info(
|
1899
1853
|
origin=origin,
|
@@ -1930,10 +1884,7 @@ class AuthApi:
|
|
1930
1884
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1931
1885
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1932
1886
|
) -> RESTResponseType:
|
1933
|
-
"""Get Google Auth URL without preloading content
|
1934
|
-
|
1935
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1936
|
-
"""
|
1887
|
+
"""Get Google Auth URL without preloading content"""
|
1937
1888
|
if self.is_sync:
|
1938
1889
|
return self._get_google_auth_url_sync_without_preload_content(
|
1939
1890
|
origin=origin,
|
@@ -2297,10 +2248,7 @@ class AuthApi:
|
|
2297
2248
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2298
2249
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2299
2250
|
) -> OauthCallback200Response:
|
2300
|
-
"""OAuth Callback
|
2301
|
-
|
2302
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2303
|
-
"""
|
2251
|
+
"""OAuth Callback"""
|
2304
2252
|
if self.is_sync:
|
2305
2253
|
return self._oauth_callback_sync(
|
2306
2254
|
code=code,
|
@@ -2349,10 +2297,7 @@ class AuthApi:
|
|
2349
2297
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2350
2298
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2351
2299
|
) -> ApiResponse[OauthCallback200Response]:
|
2352
|
-
"""OAuth Callback with HTTP info
|
2353
|
-
|
2354
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2355
|
-
"""
|
2300
|
+
"""OAuth Callback with HTTP info"""
|
2356
2301
|
if self.is_sync:
|
2357
2302
|
return self._oauth_callback_sync_with_http_info(
|
2358
2303
|
code=code,
|
@@ -2401,10 +2346,7 @@ class AuthApi:
|
|
2401
2346
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2402
2347
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2403
2348
|
) -> RESTResponseType:
|
2404
|
-
"""OAuth Callback without preloading content
|
2405
|
-
|
2406
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2407
|
-
"""
|
2349
|
+
"""OAuth Callback without preloading content"""
|
2408
2350
|
if self.is_sync:
|
2409
2351
|
return self._oauth_callback_sync_without_preload_content(
|
2410
2352
|
code=code,
|
@@ -2867,10 +2809,7 @@ class AuthApi:
|
|
2867
2809
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2868
2810
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2869
2811
|
) -> RefreshTokenInfo200Response:
|
2870
|
-
"""Refresh token info
|
2871
|
-
|
2872
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2873
|
-
"""
|
2812
|
+
"""Refresh token info"""
|
2874
2813
|
if self.is_sync:
|
2875
2814
|
return self._refresh_token_info_sync(
|
2876
2815
|
x_refresh_token=x_refresh_token,
|
@@ -2910,10 +2849,7 @@ class AuthApi:
|
|
2910
2849
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2911
2850
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2912
2851
|
) -> ApiResponse[RefreshTokenInfo200Response]:
|
2913
|
-
"""Refresh token info with HTTP info
|
2914
|
-
|
2915
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2916
|
-
"""
|
2852
|
+
"""Refresh token info with HTTP info"""
|
2917
2853
|
if self.is_sync:
|
2918
2854
|
return self._refresh_token_info_sync_with_http_info(
|
2919
2855
|
x_refresh_token=x_refresh_token,
|
@@ -2953,10 +2889,7 @@ class AuthApi:
|
|
2953
2889
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2954
2890
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2955
2891
|
) -> RESTResponseType:
|
2956
|
-
"""Refresh token info without preloading content
|
2957
|
-
|
2958
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2959
|
-
"""
|
2892
|
+
"""Refresh token info without preloading content"""
|
2960
2893
|
if self.is_sync:
|
2961
2894
|
return self._refresh_token_info_sync_without_preload_content(
|
2962
2895
|
x_refresh_token=x_refresh_token,
|
@@ -3335,10 +3268,7 @@ class AuthApi:
|
|
3335
3268
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3336
3269
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3337
3270
|
) -> RotateTokens200Response:
|
3338
|
-
"""Refresh token scopes
|
3339
|
-
|
3340
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3341
|
-
"""
|
3271
|
+
"""Refresh token scopes"""
|
3342
3272
|
if self.is_sync:
|
3343
3273
|
return self._refresh_token_scopes_sync(
|
3344
3274
|
x_refresh_token=x_refresh_token,
|
@@ -3378,10 +3308,7 @@ class AuthApi:
|
|
3378
3308
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3379
3309
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3380
3310
|
) -> ApiResponse[RotateTokens200Response]:
|
3381
|
-
"""Refresh token scopes with HTTP info
|
3382
|
-
|
3383
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3384
|
-
"""
|
3311
|
+
"""Refresh token scopes with HTTP info"""
|
3385
3312
|
if self.is_sync:
|
3386
3313
|
return self._refresh_token_scopes_sync_with_http_info(
|
3387
3314
|
x_refresh_token=x_refresh_token,
|
@@ -3421,10 +3348,7 @@ class AuthApi:
|
|
3421
3348
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3422
3349
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3423
3350
|
) -> RESTResponseType:
|
3424
|
-
"""Refresh token scopes without preloading content
|
3425
|
-
|
3426
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3427
|
-
"""
|
3351
|
+
"""Refresh token scopes without preloading content"""
|
3428
3352
|
if self.is_sync:
|
3429
3353
|
return self._refresh_token_scopes_sync_without_preload_content(
|
3430
3354
|
x_refresh_token=x_refresh_token,
|
@@ -3803,10 +3727,7 @@ class AuthApi:
|
|
3803
3727
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3804
3728
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3805
3729
|
) -> RotateTokens200Response:
|
3806
|
-
"""Rotate tokens
|
3807
|
-
|
3808
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3809
|
-
"""
|
3730
|
+
"""Rotate tokens"""
|
3810
3731
|
if self.is_sync:
|
3811
3732
|
return self._rotate_tokens_sync(
|
3812
3733
|
x_refresh_token=x_refresh_token,
|
@@ -3846,10 +3767,7 @@ class AuthApi:
|
|
3846
3767
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3847
3768
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3848
3769
|
) -> ApiResponse[RotateTokens200Response]:
|
3849
|
-
"""Rotate tokens with HTTP info
|
3850
|
-
|
3851
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3852
|
-
"""
|
3770
|
+
"""Rotate tokens with HTTP info"""
|
3853
3771
|
if self.is_sync:
|
3854
3772
|
return self._rotate_tokens_sync_with_http_info(
|
3855
3773
|
x_refresh_token=x_refresh_token,
|
@@ -3889,10 +3807,7 @@ class AuthApi:
|
|
3889
3807
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3890
3808
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3891
3809
|
) -> RESTResponseType:
|
3892
|
-
"""Rotate tokens without preloading content
|
3893
|
-
|
3894
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3895
|
-
"""
|
3810
|
+
"""Rotate tokens without preloading content"""
|
3896
3811
|
if self.is_sync:
|
3897
3812
|
return self._rotate_tokens_sync_without_preload_content(
|
3898
3813
|
x_refresh_token=x_refresh_token,
|
@@ -4271,10 +4186,7 @@ class AuthApi:
|
|
4271
4186
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4272
4187
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4273
4188
|
) -> TokenInfo200Response:
|
4274
|
-
"""Token info
|
4275
|
-
|
4276
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4277
|
-
"""
|
4189
|
+
"""Token info"""
|
4278
4190
|
if self.is_sync:
|
4279
4191
|
return self._token_info_sync(
|
4280
4192
|
x_refresh_token=x_refresh_token,
|
@@ -4314,10 +4226,7 @@ class AuthApi:
|
|
4314
4226
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4315
4227
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4316
4228
|
) -> ApiResponse[TokenInfo200Response]:
|
4317
|
-
"""Token info with HTTP info
|
4318
|
-
|
4319
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4320
|
-
"""
|
4229
|
+
"""Token info with HTTP info"""
|
4321
4230
|
if self.is_sync:
|
4322
4231
|
return self._token_info_sync_with_http_info(
|
4323
4232
|
x_refresh_token=x_refresh_token,
|
@@ -4357,10 +4266,7 @@ class AuthApi:
|
|
4357
4266
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4358
4267
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4359
4268
|
) -> RESTResponseType:
|
4360
|
-
"""Token info without preloading content
|
4361
|
-
|
4362
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4363
|
-
"""
|
4269
|
+
"""Token info without preloading content"""
|
4364
4270
|
if self.is_sync:
|
4365
4271
|
return self._token_info_sync_without_preload_content(
|
4366
4272
|
x_refresh_token=x_refresh_token,
|
@@ -4735,10 +4641,7 @@ class AuthApi:
|
|
4735
4641
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4736
4642
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4737
4643
|
) -> Verify200Response:
|
4738
|
-
"""Verify Bearer Token
|
4739
|
-
|
4740
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4741
|
-
"""
|
4644
|
+
"""Verify Bearer Token"""
|
4742
4645
|
if self.is_sync:
|
4743
4646
|
return self._verify_sync(
|
4744
4647
|
_request_timeout=_request_timeout,
|
@@ -4772,10 +4675,7 @@ class AuthApi:
|
|
4772
4675
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4773
4676
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4774
4677
|
) -> ApiResponse[Verify200Response]:
|
4775
|
-
"""Verify Bearer Token with HTTP info
|
4776
|
-
|
4777
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4778
|
-
"""
|
4678
|
+
"""Verify Bearer Token with HTTP info"""
|
4779
4679
|
if self.is_sync:
|
4780
4680
|
return self._verify_sync_with_http_info(
|
4781
4681
|
_request_timeout=_request_timeout,
|
@@ -4809,10 +4709,7 @@ class AuthApi:
|
|
4809
4709
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4810
4710
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4811
4711
|
) -> RESTResponseType:
|
4812
|
-
"""Verify Bearer Token without preloading content
|
4813
|
-
|
4814
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4815
|
-
"""
|
4712
|
+
"""Verify Bearer Token without preloading content"""
|
4816
4713
|
if self.is_sync:
|
4817
4714
|
return self._verify_sync_without_preload_content(
|
4818
4715
|
_request_timeout=_request_timeout,
|
@@ -5147,10 +5044,7 @@ class AuthApi:
|
|
5147
5044
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
5148
5045
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
5149
5046
|
) -> Verify200Response:
|
5150
|
-
"""Verify API Key
|
5151
|
-
|
5152
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
5153
|
-
"""
|
5047
|
+
"""Verify API Key"""
|
5154
5048
|
if self.is_sync:
|
5155
5049
|
return self._verify_api_key_sync(
|
5156
5050
|
api_key=api_key,
|
@@ -5187,10 +5081,7 @@ class AuthApi:
|
|
5187
5081
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
5188
5082
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
5189
5083
|
) -> ApiResponse[Verify200Response]:
|
5190
|
-
"""Verify API Key with HTTP info
|
5191
|
-
|
5192
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
5193
|
-
"""
|
5084
|
+
"""Verify API Key with HTTP info"""
|
5194
5085
|
if self.is_sync:
|
5195
5086
|
return self._verify_api_key_sync_with_http_info(
|
5196
5087
|
api_key=api_key,
|
@@ -5227,10 +5118,7 @@ class AuthApi:
|
|
5227
5118
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
5228
5119
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
5229
5120
|
) -> RESTResponseType:
|
5230
|
-
"""Verify API Key without preloading content
|
5231
|
-
|
5232
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
5233
|
-
"""
|
5121
|
+
"""Verify API Key without preloading content"""
|
5234
5122
|
if self.is_sync:
|
5235
5123
|
return self._verify_api_key_sync_without_preload_content(
|
5236
5124
|
api_key=api_key,
|
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
Do not edit the class manually.
|
12
12
|
""" # noqa: E501
|
13
13
|
|
14
|
-
import warnings
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
16
|
from typing_extensions import Annotated
|
18
17
|
|
19
|
-
from pydantic import Field, StrictStr
|
20
|
-
from typing import Optional
|
21
|
-
from typing_extensions import Annotated
|
22
18
|
from crypticorn.auth.client.models.list_wallets200_response_user_value import (
|
23
19
|
ListWallets200ResponseUserValue,
|
24
20
|
)
|
@@ -79,10 +75,7 @@ class ServiceApi:
|
|
79
75
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
80
76
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
81
77
|
) -> ListWallets200ResponseUserValue:
|
82
|
-
"""Get the balances of a user by email
|
83
|
-
|
84
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
85
|
-
"""
|
78
|
+
"""Get the balances of a user by email"""
|
86
79
|
if self.is_sync:
|
87
80
|
return self._get_balances_by_email_sync(
|
88
81
|
email=email,
|
@@ -125,10 +118,7 @@ class ServiceApi:
|
|
125
118
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
126
119
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
127
120
|
) -> ApiResponse[ListWallets200ResponseUserValue]:
|
128
|
-
"""Get the balances of a user by email with HTTP info
|
129
|
-
|
130
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
131
|
-
"""
|
121
|
+
"""Get the balances of a user by email with HTTP info"""
|
132
122
|
if self.is_sync:
|
133
123
|
return self._get_balances_by_email_sync_with_http_info(
|
134
124
|
email=email,
|
@@ -171,10 +161,7 @@ class ServiceApi:
|
|
171
161
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
172
162
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
173
163
|
) -> RESTResponseType:
|
174
|
-
"""Get the balances of a user by email without preloading content
|
175
|
-
|
176
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
177
|
-
"""
|
164
|
+
"""Get the balances of a user by email without preloading content"""
|
178
165
|
if self.is_sync:
|
179
166
|
return self._get_balances_by_email_sync_without_preload_content(
|
180
167
|
email=email,
|