crypticorn 2.15.0__py3-none-any.whl → 2.17.0__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/__init__.py +2 -2
- crypticorn/auth/client/api/admin_api.py +397 -13
- crypticorn/auth/client/api/auth_api.py +3610 -341
- crypticorn/auth/client/api/service_api.py +249 -7
- crypticorn/auth/client/api/user_api.py +2295 -179
- crypticorn/auth/client/api/wallet_api.py +1468 -81
- crypticorn/auth/client/configuration.py +2 -2
- crypticorn/auth/client/models/create_api_key_request.py +2 -1
- crypticorn/auth/client/models/get_api_keys200_response_inner.py +2 -1
- crypticorn/auth/client/rest.py +23 -4
- crypticorn/auth/main.py +8 -5
- 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 +226 -59
- crypticorn/common/__init__.py +1 -0
- crypticorn/common/auth.py +45 -14
- crypticorn/common/decorators.py +1 -2
- crypticorn/common/enums.py +0 -2
- crypticorn/common/errors.py +10 -0
- crypticorn/common/metrics.py +30 -0
- crypticorn/common/middleware.py +94 -1
- crypticorn/common/pagination.py +252 -18
- crypticorn/common/router/admin_router.py +2 -2
- crypticorn/common/router/status_router.py +40 -2
- crypticorn/common/scopes.py +2 -0
- crypticorn/common/warnings.py +8 -0
- 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 +2986 -0
- crypticorn/dex/client/api/signals_api.py +1798 -0
- crypticorn/dex/client/api/status_api.py +892 -0
- crypticorn/dex/client/api_client.py +758 -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 +158 -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 +1173 -47
- crypticorn/hive/client/api/data_api.py +499 -17
- crypticorn/hive/client/api/models_api.py +1595 -87
- crypticorn/hive/client/api/status_api.py +397 -16
- crypticorn/hive/client/api_client.py +0 -5
- crypticorn/hive/client/models/api_error_identifier.py +1 -1
- 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/client/rest.py +23 -4
- crypticorn/hive/main.py +99 -25
- crypticorn/hive/utils.py +2 -2
- crypticorn/klines/client/api/admin_api.py +1173 -47
- crypticorn/klines/client/api/change_in_timeframe_api.py +269 -11
- crypticorn/klines/client/api/funding_rates_api.py +315 -11
- crypticorn/klines/client/api/ohlcv_data_api.py +390 -11
- crypticorn/klines/client/api/status_api.py +397 -16
- crypticorn/klines/client/api/symbols_api.py +216 -11
- crypticorn/klines/client/api/udf_api.py +1268 -51
- crypticorn/klines/client/api_client.py +0 -5
- crypticorn/klines/client/models/api_error_identifier.py +3 -1
- 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/klines/client/rest.py +23 -4
- crypticorn/klines/main.py +89 -12
- crypticorn/metrics/client/api/admin_api.py +1173 -47
- crypticorn/metrics/client/api/exchanges_api.py +1370 -145
- crypticorn/metrics/client/api/indicators_api.py +622 -17
- crypticorn/metrics/client/api/logs_api.py +296 -11
- crypticorn/metrics/client/api/marketcap_api.py +1207 -67
- crypticorn/metrics/client/api/markets_api.py +343 -11
- crypticorn/metrics/client/api/quote_currencies_api.py +228 -11
- crypticorn/metrics/client/api/status_api.py +397 -16
- crypticorn/metrics/client/api/tokens_api.py +382 -15
- crypticorn/metrics/client/api_client.py +0 -5
- crypticorn/metrics/client/configuration.py +4 -2
- 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/metrics/client/rest.py +23 -4
- crypticorn/metrics/main.py +113 -19
- crypticorn/pay/client/api/admin_api.py +1585 -57
- crypticorn/pay/client/api/now_payments_api.py +961 -39
- crypticorn/pay/client/api/payments_api.py +562 -17
- crypticorn/pay/client/api/products_api.py +880 -30
- crypticorn/pay/client/api/status_api.py +397 -16
- crypticorn/pay/client/api_client.py +0 -5
- crypticorn/pay/client/configuration.py +2 -2
- crypticorn/pay/client/models/api_error_identifier.py +7 -7
- 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/pay/client/models/scope.py +1 -0
- crypticorn/pay/client/rest.py +23 -4
- crypticorn/pay/main.py +10 -6
- crypticorn/trade/client/__init__.py +11 -1
- crypticorn/trade/client/api/__init__.py +0 -1
- crypticorn/trade/client/api/admin_api.py +1184 -55
- crypticorn/trade/client/api/api_keys_api.py +1678 -162
- crypticorn/trade/client/api/bots_api.py +7563 -187
- crypticorn/trade/client/api/exchanges_api.py +565 -19
- crypticorn/trade/client/api/notifications_api.py +1290 -116
- crypticorn/trade/client/api/orders_api.py +393 -55
- crypticorn/trade/client/api/status_api.py +397 -13
- crypticorn/trade/client/api/strategies_api.py +1133 -77
- crypticorn/trade/client/api/trading_actions_api.py +786 -65
- crypticorn/trade/client/models/__init__.py +11 -0
- crypticorn/trade/client/models/actions_count.py +88 -0
- crypticorn/trade/client/models/api_error_identifier.py +8 -7
- 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.py +6 -1
- crypticorn/trade/client/models/exchange_key.py +1 -1
- crypticorn/trade/client/models/exchange_key_balance.py +111 -0
- crypticorn/trade/client/models/exchange_key_create.py +17 -1
- crypticorn/trade/client/models/exchange_key_update.py +17 -1
- crypticorn/trade/client/models/execution_ids.py +1 -1
- crypticorn/trade/client/models/futures_balance.py +27 -25
- crypticorn/trade/client/models/futures_trading_action.py +6 -28
- crypticorn/trade/client/models/futures_trading_action_create.py +10 -13
- crypticorn/trade/client/models/notification.py +17 -1
- crypticorn/trade/client/models/notification_create.py +18 -2
- crypticorn/trade/client/models/notification_update.py +17 -1
- crypticorn/trade/client/models/order.py +2 -14
- 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/pn_l.py +95 -0
- crypticorn/trade/client/models/post_futures_action.py +1 -1
- crypticorn/trade/client/models/spot_balance.py +109 -0
- crypticorn/trade/client/models/spot_trading_action_create.py +4 -1
- crypticorn/trade/client/models/strategy.py +22 -4
- crypticorn/trade/client/models/strategy_create.py +23 -5
- crypticorn/trade/client/models/strategy_exchange_info.py +16 -4
- crypticorn/trade/client/models/strategy_update.py +19 -3
- crypticorn/trade/client/models/tpsl.py +4 -27
- crypticorn/trade/client/models/tpsl_create.py +6 -19
- crypticorn/trade/client/rest.py +23 -4
- crypticorn/trade/main.py +15 -12
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/METADATA +65 -20
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/RECORD +167 -132
- crypticorn/trade/client/api/futures_trading_panel_api.py +0 -1285
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/WHEEL +0 -0
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.15.0.dist-info → crypticorn-2.17.0.dist-info}/top_level.txt +0 -0
@@ -37,6 +37,24 @@ from crypticorn.auth.client.api_client import ApiClient, RequestSerialized
|
|
37
37
|
from crypticorn.auth.client.api_response import ApiResponse
|
38
38
|
from crypticorn.auth.client.rest import RESTResponseType
|
39
39
|
|
40
|
+
# Import async_to_sync for sync methods
|
41
|
+
try:
|
42
|
+
from asgiref.sync import async_to_sync
|
43
|
+
|
44
|
+
_HAS_ASGIREF = True
|
45
|
+
except ImportError:
|
46
|
+
_HAS_ASGIREF = False
|
47
|
+
|
48
|
+
def async_to_sync(async_func):
|
49
|
+
"""Fallback decorator that raises an error if asgiref is not available."""
|
50
|
+
|
51
|
+
def wrapper(*args, **kwargs):
|
52
|
+
raise ImportError(
|
53
|
+
"asgiref is required for sync methods. Install with: pip install asgiref"
|
54
|
+
)
|
55
|
+
|
56
|
+
return wrapper
|
57
|
+
|
40
58
|
|
41
59
|
class WalletApi:
|
42
60
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
@@ -45,13 +63,144 @@ class WalletApi:
|
|
45
63
|
Do not edit the class manually.
|
46
64
|
"""
|
47
65
|
|
48
|
-
def __init__(self, api_client=None) -> None:
|
66
|
+
def __init__(self, api_client=None, is_sync: bool = False) -> None:
|
49
67
|
if api_client is None:
|
50
68
|
api_client = ApiClient.get_default()
|
51
69
|
self.api_client = api_client
|
70
|
+
self.is_sync = is_sync
|
71
|
+
|
72
|
+
@validate_call
|
73
|
+
def add_wallet(
|
74
|
+
self,
|
75
|
+
add_wallet_request: AddWalletRequest,
|
76
|
+
x_refresh_token: Annotated[
|
77
|
+
Optional[StrictStr],
|
78
|
+
Field(description="The refresh token for rotating the access token."),
|
79
|
+
] = None,
|
80
|
+
_request_timeout: Union[
|
81
|
+
None,
|
82
|
+
Annotated[StrictFloat, Field(gt=0)],
|
83
|
+
Tuple[
|
84
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
85
|
+
],
|
86
|
+
] = None,
|
87
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
88
|
+
_content_type: Optional[StrictStr] = None,
|
89
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
90
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
91
|
+
) -> AddWallet200Response:
|
92
|
+
"""Add a wallet to the user"""
|
93
|
+
if self.is_sync:
|
94
|
+
return self._add_wallet_sync(
|
95
|
+
add_wallet_request=add_wallet_request,
|
96
|
+
x_refresh_token=x_refresh_token,
|
97
|
+
_request_timeout=_request_timeout,
|
98
|
+
_request_auth=_request_auth,
|
99
|
+
_content_type=_content_type,
|
100
|
+
_headers=_headers,
|
101
|
+
_host_index=_host_index,
|
102
|
+
)
|
103
|
+
|
104
|
+
else:
|
105
|
+
return self._add_wallet_async(
|
106
|
+
add_wallet_request=add_wallet_request,
|
107
|
+
x_refresh_token=x_refresh_token,
|
108
|
+
_request_timeout=_request_timeout,
|
109
|
+
_request_auth=_request_auth,
|
110
|
+
_content_type=_content_type,
|
111
|
+
_headers=_headers,
|
112
|
+
_host_index=_host_index,
|
113
|
+
)
|
114
|
+
|
115
|
+
@validate_call
|
116
|
+
def add_wallet_with_http_info(
|
117
|
+
self,
|
118
|
+
add_wallet_request: AddWalletRequest,
|
119
|
+
x_refresh_token: Annotated[
|
120
|
+
Optional[StrictStr],
|
121
|
+
Field(description="The refresh token for rotating the access token."),
|
122
|
+
] = None,
|
123
|
+
_request_timeout: Union[
|
124
|
+
None,
|
125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
126
|
+
Tuple[
|
127
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
128
|
+
],
|
129
|
+
] = None,
|
130
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
131
|
+
_content_type: Optional[StrictStr] = None,
|
132
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
133
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
134
|
+
) -> ApiResponse[AddWallet200Response]:
|
135
|
+
"""Add a wallet to the user with HTTP info"""
|
136
|
+
if self.is_sync:
|
137
|
+
return self._add_wallet_sync_with_http_info(
|
138
|
+
add_wallet_request=add_wallet_request,
|
139
|
+
x_refresh_token=x_refresh_token,
|
140
|
+
_request_timeout=_request_timeout,
|
141
|
+
_request_auth=_request_auth,
|
142
|
+
_content_type=_content_type,
|
143
|
+
_headers=_headers,
|
144
|
+
_host_index=_host_index,
|
145
|
+
)
|
146
|
+
|
147
|
+
else:
|
148
|
+
return self._add_wallet_async_with_http_info(
|
149
|
+
add_wallet_request=add_wallet_request,
|
150
|
+
x_refresh_token=x_refresh_token,
|
151
|
+
_request_timeout=_request_timeout,
|
152
|
+
_request_auth=_request_auth,
|
153
|
+
_content_type=_content_type,
|
154
|
+
_headers=_headers,
|
155
|
+
_host_index=_host_index,
|
156
|
+
)
|
157
|
+
|
158
|
+
@validate_call
|
159
|
+
def add_wallet_without_preload_content(
|
160
|
+
self,
|
161
|
+
add_wallet_request: AddWalletRequest,
|
162
|
+
x_refresh_token: Annotated[
|
163
|
+
Optional[StrictStr],
|
164
|
+
Field(description="The refresh token for rotating the access token."),
|
165
|
+
] = None,
|
166
|
+
_request_timeout: Union[
|
167
|
+
None,
|
168
|
+
Annotated[StrictFloat, Field(gt=0)],
|
169
|
+
Tuple[
|
170
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
171
|
+
],
|
172
|
+
] = None,
|
173
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
174
|
+
_content_type: Optional[StrictStr] = None,
|
175
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
176
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
177
|
+
) -> RESTResponseType:
|
178
|
+
"""Add a wallet to the user without preloading content"""
|
179
|
+
if self.is_sync:
|
180
|
+
return self._add_wallet_sync_without_preload_content(
|
181
|
+
add_wallet_request=add_wallet_request,
|
182
|
+
x_refresh_token=x_refresh_token,
|
183
|
+
_request_timeout=_request_timeout,
|
184
|
+
_request_auth=_request_auth,
|
185
|
+
_content_type=_content_type,
|
186
|
+
_headers=_headers,
|
187
|
+
_host_index=_host_index,
|
188
|
+
)
|
189
|
+
|
190
|
+
else:
|
191
|
+
return self._add_wallet_async_without_preload_content(
|
192
|
+
add_wallet_request=add_wallet_request,
|
193
|
+
x_refresh_token=x_refresh_token,
|
194
|
+
_request_timeout=_request_timeout,
|
195
|
+
_request_auth=_request_auth,
|
196
|
+
_content_type=_content_type,
|
197
|
+
_headers=_headers,
|
198
|
+
_host_index=_host_index,
|
199
|
+
)
|
52
200
|
|
201
|
+
# Private async implementation methods
|
53
202
|
@validate_call
|
54
|
-
async def
|
203
|
+
async def _add_wallet_async(
|
55
204
|
self,
|
56
205
|
add_wallet_request: AddWalletRequest,
|
57
206
|
x_refresh_token: Annotated[
|
@@ -122,7 +271,7 @@ class WalletApi:
|
|
122
271
|
).data
|
123
272
|
|
124
273
|
@validate_call
|
125
|
-
async def
|
274
|
+
async def _add_wallet_async_with_http_info(
|
126
275
|
self,
|
127
276
|
add_wallet_request: AddWalletRequest,
|
128
277
|
x_refresh_token: Annotated[
|
@@ -188,12 +337,11 @@ class WalletApi:
|
|
188
337
|
)
|
189
338
|
await response_data.read()
|
190
339
|
return self.api_client.response_deserialize(
|
191
|
-
response_data=response_data,
|
192
|
-
response_types_map=_response_types_map,
|
340
|
+
response_data=response_data, response_types_map=_response_types_map
|
193
341
|
)
|
194
342
|
|
195
343
|
@validate_call
|
196
|
-
async def
|
344
|
+
async def _add_wallet_async_without_preload_content(
|
197
345
|
self,
|
198
346
|
add_wallet_request: AddWalletRequest,
|
199
347
|
x_refresh_token: Annotated[
|
@@ -257,7 +405,101 @@ class WalletApi:
|
|
257
405
|
response_data = await self.api_client.call_api(
|
258
406
|
*_param, _request_timeout=_request_timeout
|
259
407
|
)
|
260
|
-
return response_data
|
408
|
+
return response_data
|
409
|
+
|
410
|
+
# Private sync implementation methods
|
411
|
+
@validate_call
|
412
|
+
def _add_wallet_sync(
|
413
|
+
self,
|
414
|
+
add_wallet_request: AddWalletRequest,
|
415
|
+
x_refresh_token: Annotated[
|
416
|
+
Optional[StrictStr],
|
417
|
+
Field(description="The refresh token for rotating the access token."),
|
418
|
+
] = None,
|
419
|
+
_request_timeout: Union[
|
420
|
+
None,
|
421
|
+
Annotated[StrictFloat, Field(gt=0)],
|
422
|
+
Tuple[
|
423
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
424
|
+
],
|
425
|
+
] = None,
|
426
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
427
|
+
_content_type: Optional[StrictStr] = None,
|
428
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
429
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
430
|
+
) -> AddWallet200Response:
|
431
|
+
"""Synchronous version of add_wallet"""
|
432
|
+
return async_to_sync(self._add_wallet_async)(
|
433
|
+
add_wallet_request=add_wallet_request,
|
434
|
+
x_refresh_token=x_refresh_token,
|
435
|
+
_request_timeout=_request_timeout,
|
436
|
+
_request_auth=_request_auth,
|
437
|
+
_content_type=_content_type,
|
438
|
+
_headers=_headers,
|
439
|
+
_host_index=_host_index,
|
440
|
+
)
|
441
|
+
|
442
|
+
@validate_call
|
443
|
+
def _add_wallet_sync_with_http_info(
|
444
|
+
self,
|
445
|
+
add_wallet_request: AddWalletRequest,
|
446
|
+
x_refresh_token: Annotated[
|
447
|
+
Optional[StrictStr],
|
448
|
+
Field(description="The refresh token for rotating the access token."),
|
449
|
+
] = None,
|
450
|
+
_request_timeout: Union[
|
451
|
+
None,
|
452
|
+
Annotated[StrictFloat, Field(gt=0)],
|
453
|
+
Tuple[
|
454
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
455
|
+
],
|
456
|
+
] = None,
|
457
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
458
|
+
_content_type: Optional[StrictStr] = None,
|
459
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
460
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
461
|
+
) -> ApiResponse[AddWallet200Response]:
|
462
|
+
"""Synchronous version of add_wallet_with_http_info"""
|
463
|
+
return async_to_sync(self._add_wallet_async_with_http_info)(
|
464
|
+
add_wallet_request=add_wallet_request,
|
465
|
+
x_refresh_token=x_refresh_token,
|
466
|
+
_request_timeout=_request_timeout,
|
467
|
+
_request_auth=_request_auth,
|
468
|
+
_content_type=_content_type,
|
469
|
+
_headers=_headers,
|
470
|
+
_host_index=_host_index,
|
471
|
+
)
|
472
|
+
|
473
|
+
@validate_call
|
474
|
+
def _add_wallet_sync_without_preload_content(
|
475
|
+
self,
|
476
|
+
add_wallet_request: AddWalletRequest,
|
477
|
+
x_refresh_token: Annotated[
|
478
|
+
Optional[StrictStr],
|
479
|
+
Field(description="The refresh token for rotating the access token."),
|
480
|
+
] = None,
|
481
|
+
_request_timeout: Union[
|
482
|
+
None,
|
483
|
+
Annotated[StrictFloat, Field(gt=0)],
|
484
|
+
Tuple[
|
485
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
486
|
+
],
|
487
|
+
] = None,
|
488
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
489
|
+
_content_type: Optional[StrictStr] = None,
|
490
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
491
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
492
|
+
) -> RESTResponseType:
|
493
|
+
"""Synchronous version of add_wallet_without_preload_content"""
|
494
|
+
return async_to_sync(self._add_wallet_async_without_preload_content)(
|
495
|
+
add_wallet_request=add_wallet_request,
|
496
|
+
x_refresh_token=x_refresh_token,
|
497
|
+
_request_timeout=_request_timeout,
|
498
|
+
_request_auth=_request_auth,
|
499
|
+
_content_type=_content_type,
|
500
|
+
_headers=_headers,
|
501
|
+
_host_index=_host_index,
|
502
|
+
)
|
261
503
|
|
262
504
|
def _add_wallet_serialize(
|
263
505
|
self,
|
@@ -327,7 +569,128 @@ class WalletApi:
|
|
327
569
|
)
|
328
570
|
|
329
571
|
@validate_call
|
330
|
-
|
572
|
+
def get_balances(
|
573
|
+
self,
|
574
|
+
x_refresh_token: Annotated[
|
575
|
+
Optional[StrictStr],
|
576
|
+
Field(description="The refresh token for rotating the access token."),
|
577
|
+
] = None,
|
578
|
+
_request_timeout: Union[
|
579
|
+
None,
|
580
|
+
Annotated[StrictFloat, Field(gt=0)],
|
581
|
+
Tuple[
|
582
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
583
|
+
],
|
584
|
+
] = None,
|
585
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
586
|
+
_content_type: Optional[StrictStr] = None,
|
587
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
588
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
589
|
+
) -> ListWallets200ResponseUserValue:
|
590
|
+
"""Get the balances of the user"""
|
591
|
+
if self.is_sync:
|
592
|
+
return self._get_balances_sync(
|
593
|
+
x_refresh_token=x_refresh_token,
|
594
|
+
_request_timeout=_request_timeout,
|
595
|
+
_request_auth=_request_auth,
|
596
|
+
_content_type=_content_type,
|
597
|
+
_headers=_headers,
|
598
|
+
_host_index=_host_index,
|
599
|
+
)
|
600
|
+
|
601
|
+
else:
|
602
|
+
return self._get_balances_async(
|
603
|
+
x_refresh_token=x_refresh_token,
|
604
|
+
_request_timeout=_request_timeout,
|
605
|
+
_request_auth=_request_auth,
|
606
|
+
_content_type=_content_type,
|
607
|
+
_headers=_headers,
|
608
|
+
_host_index=_host_index,
|
609
|
+
)
|
610
|
+
|
611
|
+
@validate_call
|
612
|
+
def get_balances_with_http_info(
|
613
|
+
self,
|
614
|
+
x_refresh_token: Annotated[
|
615
|
+
Optional[StrictStr],
|
616
|
+
Field(description="The refresh token for rotating the access token."),
|
617
|
+
] = None,
|
618
|
+
_request_timeout: Union[
|
619
|
+
None,
|
620
|
+
Annotated[StrictFloat, Field(gt=0)],
|
621
|
+
Tuple[
|
622
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
623
|
+
],
|
624
|
+
] = None,
|
625
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
626
|
+
_content_type: Optional[StrictStr] = None,
|
627
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
628
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
629
|
+
) -> ApiResponse[ListWallets200ResponseUserValue]:
|
630
|
+
"""Get the balances of the user with HTTP info"""
|
631
|
+
if self.is_sync:
|
632
|
+
return self._get_balances_sync_with_http_info(
|
633
|
+
x_refresh_token=x_refresh_token,
|
634
|
+
_request_timeout=_request_timeout,
|
635
|
+
_request_auth=_request_auth,
|
636
|
+
_content_type=_content_type,
|
637
|
+
_headers=_headers,
|
638
|
+
_host_index=_host_index,
|
639
|
+
)
|
640
|
+
|
641
|
+
else:
|
642
|
+
return self._get_balances_async_with_http_info(
|
643
|
+
x_refresh_token=x_refresh_token,
|
644
|
+
_request_timeout=_request_timeout,
|
645
|
+
_request_auth=_request_auth,
|
646
|
+
_content_type=_content_type,
|
647
|
+
_headers=_headers,
|
648
|
+
_host_index=_host_index,
|
649
|
+
)
|
650
|
+
|
651
|
+
@validate_call
|
652
|
+
def get_balances_without_preload_content(
|
653
|
+
self,
|
654
|
+
x_refresh_token: Annotated[
|
655
|
+
Optional[StrictStr],
|
656
|
+
Field(description="The refresh token for rotating the access token."),
|
657
|
+
] = None,
|
658
|
+
_request_timeout: Union[
|
659
|
+
None,
|
660
|
+
Annotated[StrictFloat, Field(gt=0)],
|
661
|
+
Tuple[
|
662
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
663
|
+
],
|
664
|
+
] = None,
|
665
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
666
|
+
_content_type: Optional[StrictStr] = None,
|
667
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
668
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
669
|
+
) -> RESTResponseType:
|
670
|
+
"""Get the balances of the user without preloading content"""
|
671
|
+
if self.is_sync:
|
672
|
+
return self._get_balances_sync_without_preload_content(
|
673
|
+
x_refresh_token=x_refresh_token,
|
674
|
+
_request_timeout=_request_timeout,
|
675
|
+
_request_auth=_request_auth,
|
676
|
+
_content_type=_content_type,
|
677
|
+
_headers=_headers,
|
678
|
+
_host_index=_host_index,
|
679
|
+
)
|
680
|
+
|
681
|
+
else:
|
682
|
+
return self._get_balances_async_without_preload_content(
|
683
|
+
x_refresh_token=x_refresh_token,
|
684
|
+
_request_timeout=_request_timeout,
|
685
|
+
_request_auth=_request_auth,
|
686
|
+
_content_type=_content_type,
|
687
|
+
_headers=_headers,
|
688
|
+
_host_index=_host_index,
|
689
|
+
)
|
690
|
+
|
691
|
+
# Private async implementation methods
|
692
|
+
@validate_call
|
693
|
+
async def _get_balances_async(
|
331
694
|
self,
|
332
695
|
x_refresh_token: Annotated[
|
333
696
|
Optional[StrictStr],
|
@@ -394,7 +757,7 @@ class WalletApi:
|
|
394
757
|
).data
|
395
758
|
|
396
759
|
@validate_call
|
397
|
-
async def
|
760
|
+
async def _get_balances_async_with_http_info(
|
398
761
|
self,
|
399
762
|
x_refresh_token: Annotated[
|
400
763
|
Optional[StrictStr],
|
@@ -456,12 +819,11 @@ class WalletApi:
|
|
456
819
|
)
|
457
820
|
await response_data.read()
|
458
821
|
return self.api_client.response_deserialize(
|
459
|
-
response_data=response_data,
|
460
|
-
response_types_map=_response_types_map,
|
822
|
+
response_data=response_data, response_types_map=_response_types_map
|
461
823
|
)
|
462
824
|
|
463
825
|
@validate_call
|
464
|
-
async def
|
826
|
+
async def _get_balances_async_without_preload_content(
|
465
827
|
self,
|
466
828
|
x_refresh_token: Annotated[
|
467
829
|
Optional[StrictStr],
|
@@ -521,32 +883,120 @@ class WalletApi:
|
|
521
883
|
response_data = await self.api_client.call_api(
|
522
884
|
*_param, _request_timeout=_request_timeout
|
523
885
|
)
|
524
|
-
return response_data
|
886
|
+
return response_data
|
525
887
|
|
526
|
-
|
888
|
+
# Private sync implementation methods
|
889
|
+
@validate_call
|
890
|
+
def _get_balances_sync(
|
527
891
|
self,
|
528
|
-
x_refresh_token
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
892
|
+
x_refresh_token: Annotated[
|
893
|
+
Optional[StrictStr],
|
894
|
+
Field(description="The refresh token for rotating the access token."),
|
895
|
+
] = None,
|
896
|
+
_request_timeout: Union[
|
897
|
+
None,
|
898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
899
|
+
Tuple[
|
900
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
901
|
+
],
|
902
|
+
] = None,
|
903
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
904
|
+
_content_type: Optional[StrictStr] = None,
|
905
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
906
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
907
|
+
) -> ListWallets200ResponseUserValue:
|
908
|
+
"""Synchronous version of get_balances"""
|
909
|
+
return async_to_sync(self._get_balances_async)(
|
910
|
+
x_refresh_token=x_refresh_token,
|
911
|
+
_request_timeout=_request_timeout,
|
912
|
+
_request_auth=_request_auth,
|
913
|
+
_content_type=_content_type,
|
914
|
+
_headers=_headers,
|
915
|
+
_host_index=_host_index,
|
916
|
+
)
|
917
|
+
|
918
|
+
@validate_call
|
919
|
+
def _get_balances_sync_with_http_info(
|
920
|
+
self,
|
921
|
+
x_refresh_token: Annotated[
|
922
|
+
Optional[StrictStr],
|
923
|
+
Field(description="The refresh token for rotating the access token."),
|
924
|
+
] = None,
|
925
|
+
_request_timeout: Union[
|
926
|
+
None,
|
927
|
+
Annotated[StrictFloat, Field(gt=0)],
|
928
|
+
Tuple[
|
929
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
930
|
+
],
|
931
|
+
] = None,
|
932
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
933
|
+
_content_type: Optional[StrictStr] = None,
|
934
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
935
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
936
|
+
) -> ApiResponse[ListWallets200ResponseUserValue]:
|
937
|
+
"""Synchronous version of get_balances_with_http_info"""
|
938
|
+
return async_to_sync(self._get_balances_async_with_http_info)(
|
939
|
+
x_refresh_token=x_refresh_token,
|
940
|
+
_request_timeout=_request_timeout,
|
941
|
+
_request_auth=_request_auth,
|
942
|
+
_content_type=_content_type,
|
943
|
+
_headers=_headers,
|
944
|
+
_host_index=_host_index,
|
945
|
+
)
|
946
|
+
|
947
|
+
@validate_call
|
948
|
+
def _get_balances_sync_without_preload_content(
|
949
|
+
self,
|
950
|
+
x_refresh_token: Annotated[
|
951
|
+
Optional[StrictStr],
|
952
|
+
Field(description="The refresh token for rotating the access token."),
|
953
|
+
] = None,
|
954
|
+
_request_timeout: Union[
|
955
|
+
None,
|
956
|
+
Annotated[StrictFloat, Field(gt=0)],
|
957
|
+
Tuple[
|
958
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
959
|
+
],
|
960
|
+
] = None,
|
961
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
962
|
+
_content_type: Optional[StrictStr] = None,
|
963
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
964
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
965
|
+
) -> RESTResponseType:
|
966
|
+
"""Synchronous version of get_balances_without_preload_content"""
|
967
|
+
return async_to_sync(self._get_balances_async_without_preload_content)(
|
968
|
+
x_refresh_token=x_refresh_token,
|
969
|
+
_request_timeout=_request_timeout,
|
970
|
+
_request_auth=_request_auth,
|
971
|
+
_content_type=_content_type,
|
972
|
+
_headers=_headers,
|
973
|
+
_host_index=_host_index,
|
974
|
+
)
|
975
|
+
|
976
|
+
def _get_balances_serialize(
|
977
|
+
self,
|
978
|
+
x_refresh_token,
|
979
|
+
_request_auth,
|
980
|
+
_content_type,
|
981
|
+
_headers,
|
982
|
+
_host_index,
|
983
|
+
) -> RequestSerialized:
|
984
|
+
|
985
|
+
_host = None
|
986
|
+
|
987
|
+
_collection_formats: Dict[str, str] = {}
|
988
|
+
|
989
|
+
_path_params: Dict[str, str] = {}
|
990
|
+
_query_params: List[Tuple[str, str]] = []
|
991
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
992
|
+
_form_params: List[Tuple[str, str]] = []
|
993
|
+
_files: Dict[
|
994
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
995
|
+
] = {}
|
996
|
+
_body_params: Optional[bytes] = None
|
997
|
+
|
998
|
+
# process the path parameters
|
999
|
+
# process the query parameters
|
550
1000
|
# process the header parameters
|
551
1001
|
if x_refresh_token is not None:
|
552
1002
|
_header_params["X-Refresh-Token"] = x_refresh_token
|
@@ -578,7 +1028,161 @@ class WalletApi:
|
|
578
1028
|
)
|
579
1029
|
|
580
1030
|
@validate_call
|
581
|
-
|
1031
|
+
def list_wallets(
|
1032
|
+
self,
|
1033
|
+
x_refresh_token: Annotated[
|
1034
|
+
Optional[StrictStr],
|
1035
|
+
Field(description="The refresh token for rotating the access token."),
|
1036
|
+
] = None,
|
1037
|
+
limit: Optional[
|
1038
|
+
Union[
|
1039
|
+
Annotated[float, Field(le=100, strict=True)],
|
1040
|
+
Annotated[int, Field(le=100, strict=True)],
|
1041
|
+
]
|
1042
|
+
] = None,
|
1043
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1044
|
+
_request_timeout: Union[
|
1045
|
+
None,
|
1046
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1047
|
+
Tuple[
|
1048
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1049
|
+
],
|
1050
|
+
] = None,
|
1051
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1052
|
+
_content_type: Optional[StrictStr] = None,
|
1053
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1054
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1055
|
+
) -> ListWallets200Response:
|
1056
|
+
"""List wallets"""
|
1057
|
+
if self.is_sync:
|
1058
|
+
return self._list_wallets_sync(
|
1059
|
+
x_refresh_token=x_refresh_token,
|
1060
|
+
limit=limit,
|
1061
|
+
offset=offset,
|
1062
|
+
_request_timeout=_request_timeout,
|
1063
|
+
_request_auth=_request_auth,
|
1064
|
+
_content_type=_content_type,
|
1065
|
+
_headers=_headers,
|
1066
|
+
_host_index=_host_index,
|
1067
|
+
)
|
1068
|
+
|
1069
|
+
else:
|
1070
|
+
return self._list_wallets_async(
|
1071
|
+
x_refresh_token=x_refresh_token,
|
1072
|
+
limit=limit,
|
1073
|
+
offset=offset,
|
1074
|
+
_request_timeout=_request_timeout,
|
1075
|
+
_request_auth=_request_auth,
|
1076
|
+
_content_type=_content_type,
|
1077
|
+
_headers=_headers,
|
1078
|
+
_host_index=_host_index,
|
1079
|
+
)
|
1080
|
+
|
1081
|
+
@validate_call
|
1082
|
+
def list_wallets_with_http_info(
|
1083
|
+
self,
|
1084
|
+
x_refresh_token: Annotated[
|
1085
|
+
Optional[StrictStr],
|
1086
|
+
Field(description="The refresh token for rotating the access token."),
|
1087
|
+
] = None,
|
1088
|
+
limit: Optional[
|
1089
|
+
Union[
|
1090
|
+
Annotated[float, Field(le=100, strict=True)],
|
1091
|
+
Annotated[int, Field(le=100, strict=True)],
|
1092
|
+
]
|
1093
|
+
] = None,
|
1094
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1095
|
+
_request_timeout: Union[
|
1096
|
+
None,
|
1097
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1098
|
+
Tuple[
|
1099
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1100
|
+
],
|
1101
|
+
] = None,
|
1102
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1103
|
+
_content_type: Optional[StrictStr] = None,
|
1104
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1105
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1106
|
+
) -> ApiResponse[ListWallets200Response]:
|
1107
|
+
"""List wallets with HTTP info"""
|
1108
|
+
if self.is_sync:
|
1109
|
+
return self._list_wallets_sync_with_http_info(
|
1110
|
+
x_refresh_token=x_refresh_token,
|
1111
|
+
limit=limit,
|
1112
|
+
offset=offset,
|
1113
|
+
_request_timeout=_request_timeout,
|
1114
|
+
_request_auth=_request_auth,
|
1115
|
+
_content_type=_content_type,
|
1116
|
+
_headers=_headers,
|
1117
|
+
_host_index=_host_index,
|
1118
|
+
)
|
1119
|
+
|
1120
|
+
else:
|
1121
|
+
return self._list_wallets_async_with_http_info(
|
1122
|
+
x_refresh_token=x_refresh_token,
|
1123
|
+
limit=limit,
|
1124
|
+
offset=offset,
|
1125
|
+
_request_timeout=_request_timeout,
|
1126
|
+
_request_auth=_request_auth,
|
1127
|
+
_content_type=_content_type,
|
1128
|
+
_headers=_headers,
|
1129
|
+
_host_index=_host_index,
|
1130
|
+
)
|
1131
|
+
|
1132
|
+
@validate_call
|
1133
|
+
def list_wallets_without_preload_content(
|
1134
|
+
self,
|
1135
|
+
x_refresh_token: Annotated[
|
1136
|
+
Optional[StrictStr],
|
1137
|
+
Field(description="The refresh token for rotating the access token."),
|
1138
|
+
] = None,
|
1139
|
+
limit: Optional[
|
1140
|
+
Union[
|
1141
|
+
Annotated[float, Field(le=100, strict=True)],
|
1142
|
+
Annotated[int, Field(le=100, strict=True)],
|
1143
|
+
]
|
1144
|
+
] = None,
|
1145
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1146
|
+
_request_timeout: Union[
|
1147
|
+
None,
|
1148
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1149
|
+
Tuple[
|
1150
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1151
|
+
],
|
1152
|
+
] = None,
|
1153
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1154
|
+
_content_type: Optional[StrictStr] = None,
|
1155
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1156
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1157
|
+
) -> RESTResponseType:
|
1158
|
+
"""List wallets without preloading content"""
|
1159
|
+
if self.is_sync:
|
1160
|
+
return self._list_wallets_sync_without_preload_content(
|
1161
|
+
x_refresh_token=x_refresh_token,
|
1162
|
+
limit=limit,
|
1163
|
+
offset=offset,
|
1164
|
+
_request_timeout=_request_timeout,
|
1165
|
+
_request_auth=_request_auth,
|
1166
|
+
_content_type=_content_type,
|
1167
|
+
_headers=_headers,
|
1168
|
+
_host_index=_host_index,
|
1169
|
+
)
|
1170
|
+
|
1171
|
+
else:
|
1172
|
+
return self._list_wallets_async_without_preload_content(
|
1173
|
+
x_refresh_token=x_refresh_token,
|
1174
|
+
limit=limit,
|
1175
|
+
offset=offset,
|
1176
|
+
_request_timeout=_request_timeout,
|
1177
|
+
_request_auth=_request_auth,
|
1178
|
+
_content_type=_content_type,
|
1179
|
+
_headers=_headers,
|
1180
|
+
_host_index=_host_index,
|
1181
|
+
)
|
1182
|
+
|
1183
|
+
# Private async implementation methods
|
1184
|
+
@validate_call
|
1185
|
+
async def _list_wallets_async(
|
582
1186
|
self,
|
583
1187
|
x_refresh_token: Annotated[
|
584
1188
|
Optional[StrictStr],
|
@@ -658,7 +1262,7 @@ class WalletApi:
|
|
658
1262
|
).data
|
659
1263
|
|
660
1264
|
@validate_call
|
661
|
-
async def
|
1265
|
+
async def _list_wallets_async_with_http_info(
|
662
1266
|
self,
|
663
1267
|
x_refresh_token: Annotated[
|
664
1268
|
Optional[StrictStr],
|
@@ -733,12 +1337,11 @@ class WalletApi:
|
|
733
1337
|
)
|
734
1338
|
await response_data.read()
|
735
1339
|
return self.api_client.response_deserialize(
|
736
|
-
response_data=response_data,
|
737
|
-
response_types_map=_response_types_map,
|
1340
|
+
response_data=response_data, response_types_map=_response_types_map
|
738
1341
|
)
|
739
1342
|
|
740
1343
|
@validate_call
|
741
|
-
async def
|
1344
|
+
async def _list_wallets_async_without_preload_content(
|
742
1345
|
self,
|
743
1346
|
x_refresh_token: Annotated[
|
744
1347
|
Optional[StrictStr],
|
@@ -805,14 +1408,129 @@ class WalletApi:
|
|
805
1408
|
_host_index=_host_index,
|
806
1409
|
)
|
807
1410
|
|
808
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
809
|
-
"200": "ListWallets200Response",
|
810
|
-
}
|
811
|
-
response_data = await self.api_client.call_api(
|
812
|
-
*_param, _request_timeout=_request_timeout
|
813
|
-
)
|
814
|
-
return response_data
|
815
|
-
|
1411
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1412
|
+
"200": "ListWallets200Response",
|
1413
|
+
}
|
1414
|
+
response_data = await self.api_client.call_api(
|
1415
|
+
*_param, _request_timeout=_request_timeout
|
1416
|
+
)
|
1417
|
+
return response_data
|
1418
|
+
|
1419
|
+
# Private sync implementation methods
|
1420
|
+
@validate_call
|
1421
|
+
def _list_wallets_sync(
|
1422
|
+
self,
|
1423
|
+
x_refresh_token: Annotated[
|
1424
|
+
Optional[StrictStr],
|
1425
|
+
Field(description="The refresh token for rotating the access token."),
|
1426
|
+
] = None,
|
1427
|
+
limit: Optional[
|
1428
|
+
Union[
|
1429
|
+
Annotated[float, Field(le=100, strict=True)],
|
1430
|
+
Annotated[int, Field(le=100, strict=True)],
|
1431
|
+
]
|
1432
|
+
] = None,
|
1433
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1434
|
+
_request_timeout: Union[
|
1435
|
+
None,
|
1436
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1437
|
+
Tuple[
|
1438
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1439
|
+
],
|
1440
|
+
] = None,
|
1441
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1442
|
+
_content_type: Optional[StrictStr] = None,
|
1443
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1444
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1445
|
+
) -> ListWallets200Response:
|
1446
|
+
"""Synchronous version of list_wallets"""
|
1447
|
+
return async_to_sync(self._list_wallets_async)(
|
1448
|
+
x_refresh_token=x_refresh_token,
|
1449
|
+
limit=limit,
|
1450
|
+
offset=offset,
|
1451
|
+
_request_timeout=_request_timeout,
|
1452
|
+
_request_auth=_request_auth,
|
1453
|
+
_content_type=_content_type,
|
1454
|
+
_headers=_headers,
|
1455
|
+
_host_index=_host_index,
|
1456
|
+
)
|
1457
|
+
|
1458
|
+
@validate_call
|
1459
|
+
def _list_wallets_sync_with_http_info(
|
1460
|
+
self,
|
1461
|
+
x_refresh_token: Annotated[
|
1462
|
+
Optional[StrictStr],
|
1463
|
+
Field(description="The refresh token for rotating the access token."),
|
1464
|
+
] = None,
|
1465
|
+
limit: Optional[
|
1466
|
+
Union[
|
1467
|
+
Annotated[float, Field(le=100, strict=True)],
|
1468
|
+
Annotated[int, Field(le=100, strict=True)],
|
1469
|
+
]
|
1470
|
+
] = None,
|
1471
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1472
|
+
_request_timeout: Union[
|
1473
|
+
None,
|
1474
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1475
|
+
Tuple[
|
1476
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1477
|
+
],
|
1478
|
+
] = None,
|
1479
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1480
|
+
_content_type: Optional[StrictStr] = None,
|
1481
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1482
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1483
|
+
) -> ApiResponse[ListWallets200Response]:
|
1484
|
+
"""Synchronous version of list_wallets_with_http_info"""
|
1485
|
+
return async_to_sync(self._list_wallets_async_with_http_info)(
|
1486
|
+
x_refresh_token=x_refresh_token,
|
1487
|
+
limit=limit,
|
1488
|
+
offset=offset,
|
1489
|
+
_request_timeout=_request_timeout,
|
1490
|
+
_request_auth=_request_auth,
|
1491
|
+
_content_type=_content_type,
|
1492
|
+
_headers=_headers,
|
1493
|
+
_host_index=_host_index,
|
1494
|
+
)
|
1495
|
+
|
1496
|
+
@validate_call
|
1497
|
+
def _list_wallets_sync_without_preload_content(
|
1498
|
+
self,
|
1499
|
+
x_refresh_token: Annotated[
|
1500
|
+
Optional[StrictStr],
|
1501
|
+
Field(description="The refresh token for rotating the access token."),
|
1502
|
+
] = None,
|
1503
|
+
limit: Optional[
|
1504
|
+
Union[
|
1505
|
+
Annotated[float, Field(le=100, strict=True)],
|
1506
|
+
Annotated[int, Field(le=100, strict=True)],
|
1507
|
+
]
|
1508
|
+
] = None,
|
1509
|
+
offset: Optional[Union[StrictFloat, StrictInt]] = None,
|
1510
|
+
_request_timeout: Union[
|
1511
|
+
None,
|
1512
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1513
|
+
Tuple[
|
1514
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1515
|
+
],
|
1516
|
+
] = None,
|
1517
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1518
|
+
_content_type: Optional[StrictStr] = None,
|
1519
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1520
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1521
|
+
) -> RESTResponseType:
|
1522
|
+
"""Synchronous version of list_wallets_without_preload_content"""
|
1523
|
+
return async_to_sync(self._list_wallets_async_without_preload_content)(
|
1524
|
+
x_refresh_token=x_refresh_token,
|
1525
|
+
limit=limit,
|
1526
|
+
offset=offset,
|
1527
|
+
_request_timeout=_request_timeout,
|
1528
|
+
_request_auth=_request_auth,
|
1529
|
+
_content_type=_content_type,
|
1530
|
+
_headers=_headers,
|
1531
|
+
_host_index=_host_index,
|
1532
|
+
)
|
1533
|
+
|
816
1534
|
def _list_wallets_serialize(
|
817
1535
|
self,
|
818
1536
|
x_refresh_token,
|
@@ -878,7 +1596,137 @@ class WalletApi:
|
|
878
1596
|
)
|
879
1597
|
|
880
1598
|
@validate_call
|
881
|
-
|
1599
|
+
def unlink_wallet(
|
1600
|
+
self,
|
1601
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
1602
|
+
x_refresh_token: Annotated[
|
1603
|
+
Optional[StrictStr],
|
1604
|
+
Field(description="The refresh token for rotating the access token."),
|
1605
|
+
] = None,
|
1606
|
+
_request_timeout: Union[
|
1607
|
+
None,
|
1608
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1609
|
+
Tuple[
|
1610
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1611
|
+
],
|
1612
|
+
] = None,
|
1613
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1614
|
+
_content_type: Optional[StrictStr] = None,
|
1615
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1616
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1617
|
+
) -> object:
|
1618
|
+
"""Unlink a wallet"""
|
1619
|
+
if self.is_sync:
|
1620
|
+
return self._unlink_wallet_sync(
|
1621
|
+
unlink_wallet_request=unlink_wallet_request,
|
1622
|
+
x_refresh_token=x_refresh_token,
|
1623
|
+
_request_timeout=_request_timeout,
|
1624
|
+
_request_auth=_request_auth,
|
1625
|
+
_content_type=_content_type,
|
1626
|
+
_headers=_headers,
|
1627
|
+
_host_index=_host_index,
|
1628
|
+
)
|
1629
|
+
|
1630
|
+
else:
|
1631
|
+
return self._unlink_wallet_async(
|
1632
|
+
unlink_wallet_request=unlink_wallet_request,
|
1633
|
+
x_refresh_token=x_refresh_token,
|
1634
|
+
_request_timeout=_request_timeout,
|
1635
|
+
_request_auth=_request_auth,
|
1636
|
+
_content_type=_content_type,
|
1637
|
+
_headers=_headers,
|
1638
|
+
_host_index=_host_index,
|
1639
|
+
)
|
1640
|
+
|
1641
|
+
@validate_call
|
1642
|
+
def unlink_wallet_with_http_info(
|
1643
|
+
self,
|
1644
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
1645
|
+
x_refresh_token: Annotated[
|
1646
|
+
Optional[StrictStr],
|
1647
|
+
Field(description="The refresh token for rotating the access token."),
|
1648
|
+
] = None,
|
1649
|
+
_request_timeout: Union[
|
1650
|
+
None,
|
1651
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1652
|
+
Tuple[
|
1653
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1654
|
+
],
|
1655
|
+
] = None,
|
1656
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1657
|
+
_content_type: Optional[StrictStr] = None,
|
1658
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1659
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1660
|
+
) -> ApiResponse[object]:
|
1661
|
+
"""Unlink a wallet with HTTP info"""
|
1662
|
+
if self.is_sync:
|
1663
|
+
return self._unlink_wallet_sync_with_http_info(
|
1664
|
+
unlink_wallet_request=unlink_wallet_request,
|
1665
|
+
x_refresh_token=x_refresh_token,
|
1666
|
+
_request_timeout=_request_timeout,
|
1667
|
+
_request_auth=_request_auth,
|
1668
|
+
_content_type=_content_type,
|
1669
|
+
_headers=_headers,
|
1670
|
+
_host_index=_host_index,
|
1671
|
+
)
|
1672
|
+
|
1673
|
+
else:
|
1674
|
+
return self._unlink_wallet_async_with_http_info(
|
1675
|
+
unlink_wallet_request=unlink_wallet_request,
|
1676
|
+
x_refresh_token=x_refresh_token,
|
1677
|
+
_request_timeout=_request_timeout,
|
1678
|
+
_request_auth=_request_auth,
|
1679
|
+
_content_type=_content_type,
|
1680
|
+
_headers=_headers,
|
1681
|
+
_host_index=_host_index,
|
1682
|
+
)
|
1683
|
+
|
1684
|
+
@validate_call
|
1685
|
+
def unlink_wallet_without_preload_content(
|
1686
|
+
self,
|
1687
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
1688
|
+
x_refresh_token: Annotated[
|
1689
|
+
Optional[StrictStr],
|
1690
|
+
Field(description="The refresh token for rotating the access token."),
|
1691
|
+
] = None,
|
1692
|
+
_request_timeout: Union[
|
1693
|
+
None,
|
1694
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1695
|
+
Tuple[
|
1696
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1697
|
+
],
|
1698
|
+
] = None,
|
1699
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1700
|
+
_content_type: Optional[StrictStr] = None,
|
1701
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1702
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1703
|
+
) -> RESTResponseType:
|
1704
|
+
"""Unlink a wallet without preloading content"""
|
1705
|
+
if self.is_sync:
|
1706
|
+
return self._unlink_wallet_sync_without_preload_content(
|
1707
|
+
unlink_wallet_request=unlink_wallet_request,
|
1708
|
+
x_refresh_token=x_refresh_token,
|
1709
|
+
_request_timeout=_request_timeout,
|
1710
|
+
_request_auth=_request_auth,
|
1711
|
+
_content_type=_content_type,
|
1712
|
+
_headers=_headers,
|
1713
|
+
_host_index=_host_index,
|
1714
|
+
)
|
1715
|
+
|
1716
|
+
else:
|
1717
|
+
return self._unlink_wallet_async_without_preload_content(
|
1718
|
+
unlink_wallet_request=unlink_wallet_request,
|
1719
|
+
x_refresh_token=x_refresh_token,
|
1720
|
+
_request_timeout=_request_timeout,
|
1721
|
+
_request_auth=_request_auth,
|
1722
|
+
_content_type=_content_type,
|
1723
|
+
_headers=_headers,
|
1724
|
+
_host_index=_host_index,
|
1725
|
+
)
|
1726
|
+
|
1727
|
+
# Private async implementation methods
|
1728
|
+
@validate_call
|
1729
|
+
async def _unlink_wallet_async(
|
882
1730
|
self,
|
883
1731
|
unlink_wallet_request: UnlinkWalletRequest,
|
884
1732
|
x_refresh_token: Annotated[
|
@@ -949,7 +1797,7 @@ class WalletApi:
|
|
949
1797
|
).data
|
950
1798
|
|
951
1799
|
@validate_call
|
952
|
-
async def
|
1800
|
+
async def _unlink_wallet_async_with_http_info(
|
953
1801
|
self,
|
954
1802
|
unlink_wallet_request: UnlinkWalletRequest,
|
955
1803
|
x_refresh_token: Annotated[
|
@@ -1015,12 +1863,11 @@ class WalletApi:
|
|
1015
1863
|
)
|
1016
1864
|
await response_data.read()
|
1017
1865
|
return self.api_client.response_deserialize(
|
1018
|
-
response_data=response_data,
|
1019
|
-
response_types_map=_response_types_map,
|
1866
|
+
response_data=response_data, response_types_map=_response_types_map
|
1020
1867
|
)
|
1021
1868
|
|
1022
1869
|
@validate_call
|
1023
|
-
async def
|
1870
|
+
async def _unlink_wallet_async_without_preload_content(
|
1024
1871
|
self,
|
1025
1872
|
unlink_wallet_request: UnlinkWalletRequest,
|
1026
1873
|
x_refresh_token: Annotated[
|
@@ -1084,7 +1931,101 @@ class WalletApi:
|
|
1084
1931
|
response_data = await self.api_client.call_api(
|
1085
1932
|
*_param, _request_timeout=_request_timeout
|
1086
1933
|
)
|
1087
|
-
return response_data
|
1934
|
+
return response_data
|
1935
|
+
|
1936
|
+
# Private sync implementation methods
|
1937
|
+
@validate_call
|
1938
|
+
def _unlink_wallet_sync(
|
1939
|
+
self,
|
1940
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
1941
|
+
x_refresh_token: Annotated[
|
1942
|
+
Optional[StrictStr],
|
1943
|
+
Field(description="The refresh token for rotating the access token."),
|
1944
|
+
] = None,
|
1945
|
+
_request_timeout: Union[
|
1946
|
+
None,
|
1947
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1948
|
+
Tuple[
|
1949
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1950
|
+
],
|
1951
|
+
] = None,
|
1952
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1953
|
+
_content_type: Optional[StrictStr] = None,
|
1954
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1955
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1956
|
+
) -> object:
|
1957
|
+
"""Synchronous version of unlink_wallet"""
|
1958
|
+
return async_to_sync(self._unlink_wallet_async)(
|
1959
|
+
unlink_wallet_request=unlink_wallet_request,
|
1960
|
+
x_refresh_token=x_refresh_token,
|
1961
|
+
_request_timeout=_request_timeout,
|
1962
|
+
_request_auth=_request_auth,
|
1963
|
+
_content_type=_content_type,
|
1964
|
+
_headers=_headers,
|
1965
|
+
_host_index=_host_index,
|
1966
|
+
)
|
1967
|
+
|
1968
|
+
@validate_call
|
1969
|
+
def _unlink_wallet_sync_with_http_info(
|
1970
|
+
self,
|
1971
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
1972
|
+
x_refresh_token: Annotated[
|
1973
|
+
Optional[StrictStr],
|
1974
|
+
Field(description="The refresh token for rotating the access token."),
|
1975
|
+
] = None,
|
1976
|
+
_request_timeout: Union[
|
1977
|
+
None,
|
1978
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1979
|
+
Tuple[
|
1980
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
1981
|
+
],
|
1982
|
+
] = None,
|
1983
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1984
|
+
_content_type: Optional[StrictStr] = None,
|
1985
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1986
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1987
|
+
) -> ApiResponse[object]:
|
1988
|
+
"""Synchronous version of unlink_wallet_with_http_info"""
|
1989
|
+
return async_to_sync(self._unlink_wallet_async_with_http_info)(
|
1990
|
+
unlink_wallet_request=unlink_wallet_request,
|
1991
|
+
x_refresh_token=x_refresh_token,
|
1992
|
+
_request_timeout=_request_timeout,
|
1993
|
+
_request_auth=_request_auth,
|
1994
|
+
_content_type=_content_type,
|
1995
|
+
_headers=_headers,
|
1996
|
+
_host_index=_host_index,
|
1997
|
+
)
|
1998
|
+
|
1999
|
+
@validate_call
|
2000
|
+
def _unlink_wallet_sync_without_preload_content(
|
2001
|
+
self,
|
2002
|
+
unlink_wallet_request: UnlinkWalletRequest,
|
2003
|
+
x_refresh_token: Annotated[
|
2004
|
+
Optional[StrictStr],
|
2005
|
+
Field(description="The refresh token for rotating the access token."),
|
2006
|
+
] = None,
|
2007
|
+
_request_timeout: Union[
|
2008
|
+
None,
|
2009
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2010
|
+
Tuple[
|
2011
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2012
|
+
],
|
2013
|
+
] = None,
|
2014
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2015
|
+
_content_type: Optional[StrictStr] = None,
|
2016
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2017
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2018
|
+
) -> RESTResponseType:
|
2019
|
+
"""Synchronous version of unlink_wallet_without_preload_content"""
|
2020
|
+
return async_to_sync(self._unlink_wallet_async_without_preload_content)(
|
2021
|
+
unlink_wallet_request=unlink_wallet_request,
|
2022
|
+
x_refresh_token=x_refresh_token,
|
2023
|
+
_request_timeout=_request_timeout,
|
2024
|
+
_request_auth=_request_auth,
|
2025
|
+
_content_type=_content_type,
|
2026
|
+
_headers=_headers,
|
2027
|
+
_host_index=_host_index,
|
2028
|
+
)
|
1088
2029
|
|
1089
2030
|
def _unlink_wallet_serialize(
|
1090
2031
|
self,
|
@@ -1138,23 +2079,153 @@ class WalletApi:
|
|
1138
2079
|
# authentication setting
|
1139
2080
|
_auth_settings: List[str] = ["HTTPBearer"]
|
1140
2081
|
|
1141
|
-
return self.api_client.param_serialize(
|
1142
|
-
method="POST",
|
1143
|
-
resource_path="/wallet/unlink",
|
1144
|
-
path_params=_path_params,
|
1145
|
-
query_params=_query_params,
|
1146
|
-
header_params=_header_params,
|
1147
|
-
body=_body_params,
|
1148
|
-
post_params=_form_params,
|
1149
|
-
files=_files,
|
1150
|
-
auth_settings=_auth_settings,
|
1151
|
-
collection_formats=_collection_formats,
|
1152
|
-
_host=_host,
|
1153
|
-
_request_auth=_request_auth,
|
1154
|
-
)
|
2082
|
+
return self.api_client.param_serialize(
|
2083
|
+
method="POST",
|
2084
|
+
resource_path="/wallet/unlink",
|
2085
|
+
path_params=_path_params,
|
2086
|
+
query_params=_query_params,
|
2087
|
+
header_params=_header_params,
|
2088
|
+
body=_body_params,
|
2089
|
+
post_params=_form_params,
|
2090
|
+
files=_files,
|
2091
|
+
auth_settings=_auth_settings,
|
2092
|
+
collection_formats=_collection_formats,
|
2093
|
+
_host=_host,
|
2094
|
+
_request_auth=_request_auth,
|
2095
|
+
)
|
2096
|
+
|
2097
|
+
@validate_call
|
2098
|
+
def verify_wallet(
|
2099
|
+
self,
|
2100
|
+
verify_wallet_request: VerifyWalletRequest,
|
2101
|
+
x_refresh_token: Annotated[
|
2102
|
+
Optional[StrictStr],
|
2103
|
+
Field(description="The refresh token for rotating the access token."),
|
2104
|
+
] = None,
|
2105
|
+
_request_timeout: Union[
|
2106
|
+
None,
|
2107
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2108
|
+
Tuple[
|
2109
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2110
|
+
],
|
2111
|
+
] = None,
|
2112
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2113
|
+
_content_type: Optional[StrictStr] = None,
|
2114
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2115
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2116
|
+
) -> object:
|
2117
|
+
"""Verify a wallet"""
|
2118
|
+
if self.is_sync:
|
2119
|
+
return self._verify_wallet_sync(
|
2120
|
+
verify_wallet_request=verify_wallet_request,
|
2121
|
+
x_refresh_token=x_refresh_token,
|
2122
|
+
_request_timeout=_request_timeout,
|
2123
|
+
_request_auth=_request_auth,
|
2124
|
+
_content_type=_content_type,
|
2125
|
+
_headers=_headers,
|
2126
|
+
_host_index=_host_index,
|
2127
|
+
)
|
2128
|
+
|
2129
|
+
else:
|
2130
|
+
return self._verify_wallet_async(
|
2131
|
+
verify_wallet_request=verify_wallet_request,
|
2132
|
+
x_refresh_token=x_refresh_token,
|
2133
|
+
_request_timeout=_request_timeout,
|
2134
|
+
_request_auth=_request_auth,
|
2135
|
+
_content_type=_content_type,
|
2136
|
+
_headers=_headers,
|
2137
|
+
_host_index=_host_index,
|
2138
|
+
)
|
2139
|
+
|
2140
|
+
@validate_call
|
2141
|
+
def verify_wallet_with_http_info(
|
2142
|
+
self,
|
2143
|
+
verify_wallet_request: VerifyWalletRequest,
|
2144
|
+
x_refresh_token: Annotated[
|
2145
|
+
Optional[StrictStr],
|
2146
|
+
Field(description="The refresh token for rotating the access token."),
|
2147
|
+
] = None,
|
2148
|
+
_request_timeout: Union[
|
2149
|
+
None,
|
2150
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2151
|
+
Tuple[
|
2152
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2153
|
+
],
|
2154
|
+
] = None,
|
2155
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2156
|
+
_content_type: Optional[StrictStr] = None,
|
2157
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2158
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2159
|
+
) -> ApiResponse[object]:
|
2160
|
+
"""Verify a wallet with HTTP info"""
|
2161
|
+
if self.is_sync:
|
2162
|
+
return self._verify_wallet_sync_with_http_info(
|
2163
|
+
verify_wallet_request=verify_wallet_request,
|
2164
|
+
x_refresh_token=x_refresh_token,
|
2165
|
+
_request_timeout=_request_timeout,
|
2166
|
+
_request_auth=_request_auth,
|
2167
|
+
_content_type=_content_type,
|
2168
|
+
_headers=_headers,
|
2169
|
+
_host_index=_host_index,
|
2170
|
+
)
|
2171
|
+
|
2172
|
+
else:
|
2173
|
+
return self._verify_wallet_async_with_http_info(
|
2174
|
+
verify_wallet_request=verify_wallet_request,
|
2175
|
+
x_refresh_token=x_refresh_token,
|
2176
|
+
_request_timeout=_request_timeout,
|
2177
|
+
_request_auth=_request_auth,
|
2178
|
+
_content_type=_content_type,
|
2179
|
+
_headers=_headers,
|
2180
|
+
_host_index=_host_index,
|
2181
|
+
)
|
2182
|
+
|
2183
|
+
@validate_call
|
2184
|
+
def verify_wallet_without_preload_content(
|
2185
|
+
self,
|
2186
|
+
verify_wallet_request: VerifyWalletRequest,
|
2187
|
+
x_refresh_token: Annotated[
|
2188
|
+
Optional[StrictStr],
|
2189
|
+
Field(description="The refresh token for rotating the access token."),
|
2190
|
+
] = None,
|
2191
|
+
_request_timeout: Union[
|
2192
|
+
None,
|
2193
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2194
|
+
Tuple[
|
2195
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2196
|
+
],
|
2197
|
+
] = None,
|
2198
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2199
|
+
_content_type: Optional[StrictStr] = None,
|
2200
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2201
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2202
|
+
) -> RESTResponseType:
|
2203
|
+
"""Verify a wallet without preloading content"""
|
2204
|
+
if self.is_sync:
|
2205
|
+
return self._verify_wallet_sync_without_preload_content(
|
2206
|
+
verify_wallet_request=verify_wallet_request,
|
2207
|
+
x_refresh_token=x_refresh_token,
|
2208
|
+
_request_timeout=_request_timeout,
|
2209
|
+
_request_auth=_request_auth,
|
2210
|
+
_content_type=_content_type,
|
2211
|
+
_headers=_headers,
|
2212
|
+
_host_index=_host_index,
|
2213
|
+
)
|
2214
|
+
|
2215
|
+
else:
|
2216
|
+
return self._verify_wallet_async_without_preload_content(
|
2217
|
+
verify_wallet_request=verify_wallet_request,
|
2218
|
+
x_refresh_token=x_refresh_token,
|
2219
|
+
_request_timeout=_request_timeout,
|
2220
|
+
_request_auth=_request_auth,
|
2221
|
+
_content_type=_content_type,
|
2222
|
+
_headers=_headers,
|
2223
|
+
_host_index=_host_index,
|
2224
|
+
)
|
1155
2225
|
|
2226
|
+
# Private async implementation methods
|
1156
2227
|
@validate_call
|
1157
|
-
async def
|
2228
|
+
async def _verify_wallet_async(
|
1158
2229
|
self,
|
1159
2230
|
verify_wallet_request: VerifyWalletRequest,
|
1160
2231
|
x_refresh_token: Annotated[
|
@@ -1225,7 +2296,7 @@ class WalletApi:
|
|
1225
2296
|
).data
|
1226
2297
|
|
1227
2298
|
@validate_call
|
1228
|
-
async def
|
2299
|
+
async def _verify_wallet_async_with_http_info(
|
1229
2300
|
self,
|
1230
2301
|
verify_wallet_request: VerifyWalletRequest,
|
1231
2302
|
x_refresh_token: Annotated[
|
@@ -1291,12 +2362,11 @@ class WalletApi:
|
|
1291
2362
|
)
|
1292
2363
|
await response_data.read()
|
1293
2364
|
return self.api_client.response_deserialize(
|
1294
|
-
response_data=response_data,
|
1295
|
-
response_types_map=_response_types_map,
|
2365
|
+
response_data=response_data, response_types_map=_response_types_map
|
1296
2366
|
)
|
1297
2367
|
|
1298
2368
|
@validate_call
|
1299
|
-
async def
|
2369
|
+
async def _verify_wallet_async_without_preload_content(
|
1300
2370
|
self,
|
1301
2371
|
verify_wallet_request: VerifyWalletRequest,
|
1302
2372
|
x_refresh_token: Annotated[
|
@@ -1360,7 +2430,101 @@ class WalletApi:
|
|
1360
2430
|
response_data = await self.api_client.call_api(
|
1361
2431
|
*_param, _request_timeout=_request_timeout
|
1362
2432
|
)
|
1363
|
-
return response_data
|
2433
|
+
return response_data
|
2434
|
+
|
2435
|
+
# Private sync implementation methods
|
2436
|
+
@validate_call
|
2437
|
+
def _verify_wallet_sync(
|
2438
|
+
self,
|
2439
|
+
verify_wallet_request: VerifyWalletRequest,
|
2440
|
+
x_refresh_token: Annotated[
|
2441
|
+
Optional[StrictStr],
|
2442
|
+
Field(description="The refresh token for rotating the access token."),
|
2443
|
+
] = None,
|
2444
|
+
_request_timeout: Union[
|
2445
|
+
None,
|
2446
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2447
|
+
Tuple[
|
2448
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2449
|
+
],
|
2450
|
+
] = None,
|
2451
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2452
|
+
_content_type: Optional[StrictStr] = None,
|
2453
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2454
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2455
|
+
) -> object:
|
2456
|
+
"""Synchronous version of verify_wallet"""
|
2457
|
+
return async_to_sync(self._verify_wallet_async)(
|
2458
|
+
verify_wallet_request=verify_wallet_request,
|
2459
|
+
x_refresh_token=x_refresh_token,
|
2460
|
+
_request_timeout=_request_timeout,
|
2461
|
+
_request_auth=_request_auth,
|
2462
|
+
_content_type=_content_type,
|
2463
|
+
_headers=_headers,
|
2464
|
+
_host_index=_host_index,
|
2465
|
+
)
|
2466
|
+
|
2467
|
+
@validate_call
|
2468
|
+
def _verify_wallet_sync_with_http_info(
|
2469
|
+
self,
|
2470
|
+
verify_wallet_request: VerifyWalletRequest,
|
2471
|
+
x_refresh_token: Annotated[
|
2472
|
+
Optional[StrictStr],
|
2473
|
+
Field(description="The refresh token for rotating the access token."),
|
2474
|
+
] = None,
|
2475
|
+
_request_timeout: Union[
|
2476
|
+
None,
|
2477
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2478
|
+
Tuple[
|
2479
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2480
|
+
],
|
2481
|
+
] = None,
|
2482
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2483
|
+
_content_type: Optional[StrictStr] = None,
|
2484
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2485
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2486
|
+
) -> ApiResponse[object]:
|
2487
|
+
"""Synchronous version of verify_wallet_with_http_info"""
|
2488
|
+
return async_to_sync(self._verify_wallet_async_with_http_info)(
|
2489
|
+
verify_wallet_request=verify_wallet_request,
|
2490
|
+
x_refresh_token=x_refresh_token,
|
2491
|
+
_request_timeout=_request_timeout,
|
2492
|
+
_request_auth=_request_auth,
|
2493
|
+
_content_type=_content_type,
|
2494
|
+
_headers=_headers,
|
2495
|
+
_host_index=_host_index,
|
2496
|
+
)
|
2497
|
+
|
2498
|
+
@validate_call
|
2499
|
+
def _verify_wallet_sync_without_preload_content(
|
2500
|
+
self,
|
2501
|
+
verify_wallet_request: VerifyWalletRequest,
|
2502
|
+
x_refresh_token: Annotated[
|
2503
|
+
Optional[StrictStr],
|
2504
|
+
Field(description="The refresh token for rotating the access token."),
|
2505
|
+
] = None,
|
2506
|
+
_request_timeout: Union[
|
2507
|
+
None,
|
2508
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2509
|
+
Tuple[
|
2510
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2511
|
+
],
|
2512
|
+
] = None,
|
2513
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2514
|
+
_content_type: Optional[StrictStr] = None,
|
2515
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2516
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2517
|
+
) -> RESTResponseType:
|
2518
|
+
"""Synchronous version of verify_wallet_without_preload_content"""
|
2519
|
+
return async_to_sync(self._verify_wallet_async_without_preload_content)(
|
2520
|
+
verify_wallet_request=verify_wallet_request,
|
2521
|
+
x_refresh_token=x_refresh_token,
|
2522
|
+
_request_timeout=_request_timeout,
|
2523
|
+
_request_auth=_request_auth,
|
2524
|
+
_content_type=_content_type,
|
2525
|
+
_headers=_headers,
|
2526
|
+
_host_index=_host_index,
|
2527
|
+
)
|
1364
2528
|
|
1365
2529
|
def _verify_wallet_serialize(
|
1366
2530
|
self,
|
@@ -1430,7 +2594,137 @@ class WalletApi:
|
|
1430
2594
|
)
|
1431
2595
|
|
1432
2596
|
@validate_call
|
1433
|
-
|
2597
|
+
def wallet_verified(
|
2598
|
+
self,
|
2599
|
+
address: StrictStr,
|
2600
|
+
x_refresh_token: Annotated[
|
2601
|
+
Optional[StrictStr],
|
2602
|
+
Field(description="The refresh token for rotating the access token."),
|
2603
|
+
] = None,
|
2604
|
+
_request_timeout: Union[
|
2605
|
+
None,
|
2606
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2607
|
+
Tuple[
|
2608
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2609
|
+
],
|
2610
|
+
] = None,
|
2611
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2612
|
+
_content_type: Optional[StrictStr] = None,
|
2613
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2614
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2615
|
+
) -> WalletVerified200Response:
|
2616
|
+
"""Check if a wallet is verified"""
|
2617
|
+
if self.is_sync:
|
2618
|
+
return self._wallet_verified_sync(
|
2619
|
+
address=address,
|
2620
|
+
x_refresh_token=x_refresh_token,
|
2621
|
+
_request_timeout=_request_timeout,
|
2622
|
+
_request_auth=_request_auth,
|
2623
|
+
_content_type=_content_type,
|
2624
|
+
_headers=_headers,
|
2625
|
+
_host_index=_host_index,
|
2626
|
+
)
|
2627
|
+
|
2628
|
+
else:
|
2629
|
+
return self._wallet_verified_async(
|
2630
|
+
address=address,
|
2631
|
+
x_refresh_token=x_refresh_token,
|
2632
|
+
_request_timeout=_request_timeout,
|
2633
|
+
_request_auth=_request_auth,
|
2634
|
+
_content_type=_content_type,
|
2635
|
+
_headers=_headers,
|
2636
|
+
_host_index=_host_index,
|
2637
|
+
)
|
2638
|
+
|
2639
|
+
@validate_call
|
2640
|
+
def wallet_verified_with_http_info(
|
2641
|
+
self,
|
2642
|
+
address: StrictStr,
|
2643
|
+
x_refresh_token: Annotated[
|
2644
|
+
Optional[StrictStr],
|
2645
|
+
Field(description="The refresh token for rotating the access token."),
|
2646
|
+
] = None,
|
2647
|
+
_request_timeout: Union[
|
2648
|
+
None,
|
2649
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2650
|
+
Tuple[
|
2651
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2652
|
+
],
|
2653
|
+
] = None,
|
2654
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2655
|
+
_content_type: Optional[StrictStr] = None,
|
2656
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2657
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2658
|
+
) -> ApiResponse[WalletVerified200Response]:
|
2659
|
+
"""Check if a wallet is verified with HTTP info"""
|
2660
|
+
if self.is_sync:
|
2661
|
+
return self._wallet_verified_sync_with_http_info(
|
2662
|
+
address=address,
|
2663
|
+
x_refresh_token=x_refresh_token,
|
2664
|
+
_request_timeout=_request_timeout,
|
2665
|
+
_request_auth=_request_auth,
|
2666
|
+
_content_type=_content_type,
|
2667
|
+
_headers=_headers,
|
2668
|
+
_host_index=_host_index,
|
2669
|
+
)
|
2670
|
+
|
2671
|
+
else:
|
2672
|
+
return self._wallet_verified_async_with_http_info(
|
2673
|
+
address=address,
|
2674
|
+
x_refresh_token=x_refresh_token,
|
2675
|
+
_request_timeout=_request_timeout,
|
2676
|
+
_request_auth=_request_auth,
|
2677
|
+
_content_type=_content_type,
|
2678
|
+
_headers=_headers,
|
2679
|
+
_host_index=_host_index,
|
2680
|
+
)
|
2681
|
+
|
2682
|
+
@validate_call
|
2683
|
+
def wallet_verified_without_preload_content(
|
2684
|
+
self,
|
2685
|
+
address: StrictStr,
|
2686
|
+
x_refresh_token: Annotated[
|
2687
|
+
Optional[StrictStr],
|
2688
|
+
Field(description="The refresh token for rotating the access token."),
|
2689
|
+
] = None,
|
2690
|
+
_request_timeout: Union[
|
2691
|
+
None,
|
2692
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2693
|
+
Tuple[
|
2694
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2695
|
+
],
|
2696
|
+
] = None,
|
2697
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2698
|
+
_content_type: Optional[StrictStr] = None,
|
2699
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2700
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2701
|
+
) -> RESTResponseType:
|
2702
|
+
"""Check if a wallet is verified without preloading content"""
|
2703
|
+
if self.is_sync:
|
2704
|
+
return self._wallet_verified_sync_without_preload_content(
|
2705
|
+
address=address,
|
2706
|
+
x_refresh_token=x_refresh_token,
|
2707
|
+
_request_timeout=_request_timeout,
|
2708
|
+
_request_auth=_request_auth,
|
2709
|
+
_content_type=_content_type,
|
2710
|
+
_headers=_headers,
|
2711
|
+
_host_index=_host_index,
|
2712
|
+
)
|
2713
|
+
|
2714
|
+
else:
|
2715
|
+
return self._wallet_verified_async_without_preload_content(
|
2716
|
+
address=address,
|
2717
|
+
x_refresh_token=x_refresh_token,
|
2718
|
+
_request_timeout=_request_timeout,
|
2719
|
+
_request_auth=_request_auth,
|
2720
|
+
_content_type=_content_type,
|
2721
|
+
_headers=_headers,
|
2722
|
+
_host_index=_host_index,
|
2723
|
+
)
|
2724
|
+
|
2725
|
+
# Private async implementation methods
|
2726
|
+
@validate_call
|
2727
|
+
async def _wallet_verified_async(
|
1434
2728
|
self,
|
1435
2729
|
address: StrictStr,
|
1436
2730
|
x_refresh_token: Annotated[
|
@@ -1501,7 +2795,7 @@ class WalletApi:
|
|
1501
2795
|
).data
|
1502
2796
|
|
1503
2797
|
@validate_call
|
1504
|
-
async def
|
2798
|
+
async def _wallet_verified_async_with_http_info(
|
1505
2799
|
self,
|
1506
2800
|
address: StrictStr,
|
1507
2801
|
x_refresh_token: Annotated[
|
@@ -1567,12 +2861,11 @@ class WalletApi:
|
|
1567
2861
|
)
|
1568
2862
|
await response_data.read()
|
1569
2863
|
return self.api_client.response_deserialize(
|
1570
|
-
response_data=response_data,
|
1571
|
-
response_types_map=_response_types_map,
|
2864
|
+
response_data=response_data, response_types_map=_response_types_map
|
1572
2865
|
)
|
1573
2866
|
|
1574
2867
|
@validate_call
|
1575
|
-
async def
|
2868
|
+
async def _wallet_verified_async_without_preload_content(
|
1576
2869
|
self,
|
1577
2870
|
address: StrictStr,
|
1578
2871
|
x_refresh_token: Annotated[
|
@@ -1636,7 +2929,101 @@ class WalletApi:
|
|
1636
2929
|
response_data = await self.api_client.call_api(
|
1637
2930
|
*_param, _request_timeout=_request_timeout
|
1638
2931
|
)
|
1639
|
-
return response_data
|
2932
|
+
return response_data
|
2933
|
+
|
2934
|
+
# Private sync implementation methods
|
2935
|
+
@validate_call
|
2936
|
+
def _wallet_verified_sync(
|
2937
|
+
self,
|
2938
|
+
address: StrictStr,
|
2939
|
+
x_refresh_token: Annotated[
|
2940
|
+
Optional[StrictStr],
|
2941
|
+
Field(description="The refresh token for rotating the access token."),
|
2942
|
+
] = None,
|
2943
|
+
_request_timeout: Union[
|
2944
|
+
None,
|
2945
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2946
|
+
Tuple[
|
2947
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2948
|
+
],
|
2949
|
+
] = None,
|
2950
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2951
|
+
_content_type: Optional[StrictStr] = None,
|
2952
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2953
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2954
|
+
) -> WalletVerified200Response:
|
2955
|
+
"""Synchronous version of wallet_verified"""
|
2956
|
+
return async_to_sync(self._wallet_verified_async)(
|
2957
|
+
address=address,
|
2958
|
+
x_refresh_token=x_refresh_token,
|
2959
|
+
_request_timeout=_request_timeout,
|
2960
|
+
_request_auth=_request_auth,
|
2961
|
+
_content_type=_content_type,
|
2962
|
+
_headers=_headers,
|
2963
|
+
_host_index=_host_index,
|
2964
|
+
)
|
2965
|
+
|
2966
|
+
@validate_call
|
2967
|
+
def _wallet_verified_sync_with_http_info(
|
2968
|
+
self,
|
2969
|
+
address: StrictStr,
|
2970
|
+
x_refresh_token: Annotated[
|
2971
|
+
Optional[StrictStr],
|
2972
|
+
Field(description="The refresh token for rotating the access token."),
|
2973
|
+
] = None,
|
2974
|
+
_request_timeout: Union[
|
2975
|
+
None,
|
2976
|
+
Annotated[StrictFloat, Field(gt=0)],
|
2977
|
+
Tuple[
|
2978
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
2979
|
+
],
|
2980
|
+
] = None,
|
2981
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
2982
|
+
_content_type: Optional[StrictStr] = None,
|
2983
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2984
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2985
|
+
) -> ApiResponse[WalletVerified200Response]:
|
2986
|
+
"""Synchronous version of wallet_verified_with_http_info"""
|
2987
|
+
return async_to_sync(self._wallet_verified_async_with_http_info)(
|
2988
|
+
address=address,
|
2989
|
+
x_refresh_token=x_refresh_token,
|
2990
|
+
_request_timeout=_request_timeout,
|
2991
|
+
_request_auth=_request_auth,
|
2992
|
+
_content_type=_content_type,
|
2993
|
+
_headers=_headers,
|
2994
|
+
_host_index=_host_index,
|
2995
|
+
)
|
2996
|
+
|
2997
|
+
@validate_call
|
2998
|
+
def _wallet_verified_sync_without_preload_content(
|
2999
|
+
self,
|
3000
|
+
address: StrictStr,
|
3001
|
+
x_refresh_token: Annotated[
|
3002
|
+
Optional[StrictStr],
|
3003
|
+
Field(description="The refresh token for rotating the access token."),
|
3004
|
+
] = None,
|
3005
|
+
_request_timeout: Union[
|
3006
|
+
None,
|
3007
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3008
|
+
Tuple[
|
3009
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
3010
|
+
],
|
3011
|
+
] = None,
|
3012
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
3013
|
+
_content_type: Optional[StrictStr] = None,
|
3014
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3015
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3016
|
+
) -> RESTResponseType:
|
3017
|
+
"""Synchronous version of wallet_verified_without_preload_content"""
|
3018
|
+
return async_to_sync(self._wallet_verified_async_without_preload_content)(
|
3019
|
+
address=address,
|
3020
|
+
x_refresh_token=x_refresh_token,
|
3021
|
+
_request_timeout=_request_timeout,
|
3022
|
+
_request_auth=_request_auth,
|
3023
|
+
_content_type=_content_type,
|
3024
|
+
_headers=_headers,
|
3025
|
+
_host_index=_host_index,
|
3026
|
+
)
|
1640
3027
|
|
1641
3028
|
def _wallet_verified_serialize(
|
1642
3029
|
self,
|