crypticorn 2.16.0__py3-none-any.whl → 2.17.0rc2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. crypticorn/__init__.py +2 -2
  2. crypticorn/auth/client/api/admin_api.py +415 -13
  3. crypticorn/auth/client/api/auth_api.py +2622 -113
  4. crypticorn/auth/client/api/service_api.py +258 -7
  5. crypticorn/auth/client/api/user_api.py +2485 -270
  6. crypticorn/auth/client/api/wallet_api.py +1518 -77
  7. crypticorn/auth/client/models/create_api_key_request.py +2 -1
  8. crypticorn/auth/client/models/get_api_keys200_response_inner.py +2 -1
  9. crypticorn/auth/client/rest.py +23 -4
  10. crypticorn/auth/main.py +8 -5
  11. crypticorn/client.py +227 -59
  12. crypticorn/common/__init__.py +1 -0
  13. crypticorn/common/metrics.py +18 -0
  14. crypticorn/common/middleware.py +46 -0
  15. crypticorn/common/pagination.py +137 -18
  16. crypticorn/common/router/admin_router.py +12 -2
  17. crypticorn/common/utils.py +2 -1
  18. crypticorn/common/warnings.py +7 -0
  19. crypticorn/hive/client/api/admin_api.py +1234 -51
  20. crypticorn/hive/client/api/data_api.py +517 -13
  21. crypticorn/hive/client/api/models_api.py +1657 -83
  22. crypticorn/hive/client/api/status_api.py +415 -13
  23. crypticorn/hive/client/models/api_error_identifier.py +1 -1
  24. crypticorn/hive/client/rest.py +23 -4
  25. crypticorn/hive/main.py +99 -25
  26. crypticorn/klines/client/api/admin_api.py +1234 -51
  27. crypticorn/klines/client/api/change_in_timeframe_api.py +278 -7
  28. crypticorn/klines/client/api/funding_rates_api.py +324 -7
  29. crypticorn/klines/client/api/ohlcv_data_api.py +399 -7
  30. crypticorn/klines/client/api/status_api.py +415 -13
  31. crypticorn/klines/client/api/symbols_api.py +225 -7
  32. crypticorn/klines/client/api/udf_api.py +1393 -120
  33. crypticorn/klines/client/models/api_error_identifier.py +3 -1
  34. crypticorn/klines/client/rest.py +23 -4
  35. crypticorn/klines/main.py +89 -12
  36. crypticorn/metrics/client/api/admin_api.py +1234 -51
  37. crypticorn/metrics/client/api/exchanges_api.py +1405 -140
  38. crypticorn/metrics/client/api/indicators_api.py +640 -13
  39. crypticorn/metrics/client/api/logs_api.py +305 -7
  40. crypticorn/metrics/client/api/marketcap_api.py +1240 -60
  41. crypticorn/metrics/client/api/markets_api.py +352 -7
  42. crypticorn/metrics/client/api/quote_currencies_api.py +237 -7
  43. crypticorn/metrics/client/api/status_api.py +415 -13
  44. crypticorn/metrics/client/api/tokens_api.py +400 -13
  45. crypticorn/metrics/client/configuration.py +4 -2
  46. crypticorn/metrics/client/rest.py +23 -4
  47. crypticorn/metrics/main.py +113 -19
  48. crypticorn/pay/client/api/admin_api.py +1720 -126
  49. crypticorn/pay/client/api/now_payments_api.py +1013 -42
  50. crypticorn/pay/client/api/payments_api.py +580 -13
  51. crypticorn/pay/client/api/products_api.py +915 -25
  52. crypticorn/pay/client/api/status_api.py +415 -13
  53. crypticorn/pay/client/configuration.py +2 -2
  54. crypticorn/pay/client/models/api_error_identifier.py +7 -7
  55. crypticorn/pay/client/models/scope.py +1 -0
  56. crypticorn/pay/client/rest.py +23 -4
  57. crypticorn/pay/main.py +10 -6
  58. crypticorn/trade/client/__init__.py +2 -1
  59. crypticorn/trade/client/api/__init__.py +0 -1
  60. crypticorn/trade/client/api/admin_api.py +1718 -123
  61. crypticorn/trade/client/api/api_keys_api.py +1596 -103
  62. crypticorn/trade/client/api/bots_api.py +1106 -47
  63. crypticorn/trade/client/api/exchanges_api.py +592 -19
  64. crypticorn/trade/client/api/notifications_api.py +1340 -112
  65. crypticorn/trade/client/api/orders_api.py +240 -7
  66. crypticorn/trade/client/api/status_api.py +415 -13
  67. crypticorn/trade/client/api/strategies_api.py +1170 -69
  68. crypticorn/trade/client/api/trading_actions_api.py +650 -19
  69. crypticorn/trade/client/models/__init__.py +2 -0
  70. crypticorn/trade/client/models/exchange.py +6 -1
  71. crypticorn/trade/client/models/exchange_key_balance.py +111 -0
  72. crypticorn/trade/client/models/futures_balance.py +27 -25
  73. crypticorn/trade/client/models/spot_balance.py +110 -0
  74. crypticorn/trade/client/models/strategy.py +5 -3
  75. crypticorn/trade/client/models/strategy_create.py +6 -4
  76. crypticorn/trade/client/models/strategy_exchange_info.py +16 -4
  77. crypticorn/trade/client/models/strategy_update.py +2 -2
  78. crypticorn/trade/client/rest.py +23 -4
  79. crypticorn/trade/main.py +15 -12
  80. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.dist-info}/METADATA +65 -20
  81. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.dist-info}/RECORD +85 -83
  82. crypticorn/trade/client/api/futures_trading_panel_api.py +0 -1285
  83. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.dist-info}/WHEEL +0 -0
  84. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.dist-info}/entry_points.txt +0 -0
  85. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.dist-info}/licenses/LICENSE +0 -0
  86. {crypticorn-2.16.0.dist-info → crypticorn-2.17.0rc2.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,153 @@ 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
+
94
+ This method can work in both sync and async modes based on the is_sync flag.
95
+ """
96
+ if self.is_sync:
97
+ return self._add_wallet_sync(
98
+ add_wallet_request=add_wallet_request,
99
+ x_refresh_token=x_refresh_token,
100
+ _request_timeout=_request_timeout,
101
+ _request_auth=_request_auth,
102
+ _content_type=_content_type,
103
+ _headers=_headers,
104
+ _host_index=_host_index,
105
+ )
106
+
107
+ else:
108
+ return self._add_wallet_async(
109
+ add_wallet_request=add_wallet_request,
110
+ x_refresh_token=x_refresh_token,
111
+ _request_timeout=_request_timeout,
112
+ _request_auth=_request_auth,
113
+ _content_type=_content_type,
114
+ _headers=_headers,
115
+ _host_index=_host_index,
116
+ )
117
+
118
+ @validate_call
119
+ def add_wallet_with_http_info(
120
+ self,
121
+ add_wallet_request: AddWalletRequest,
122
+ x_refresh_token: Annotated[
123
+ Optional[StrictStr],
124
+ Field(description="The refresh token for rotating the access token."),
125
+ ] = None,
126
+ _request_timeout: Union[
127
+ None,
128
+ Annotated[StrictFloat, Field(gt=0)],
129
+ Tuple[
130
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
131
+ ],
132
+ ] = None,
133
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
134
+ _content_type: Optional[StrictStr] = None,
135
+ _headers: Optional[Dict[StrictStr, Any]] = None,
136
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
137
+ ) -> ApiResponse[AddWallet200Response]:
138
+ """Add a wallet to the user with HTTP info
139
+
140
+ This method can work in both sync and async modes based on the is_sync flag.
141
+ """
142
+ if self.is_sync:
143
+ return self._add_wallet_sync_with_http_info(
144
+ add_wallet_request=add_wallet_request,
145
+ x_refresh_token=x_refresh_token,
146
+ _request_timeout=_request_timeout,
147
+ _request_auth=_request_auth,
148
+ _content_type=_content_type,
149
+ _headers=_headers,
150
+ _host_index=_host_index,
151
+ )
152
+
153
+ else:
154
+ return self._add_wallet_async_with_http_info(
155
+ add_wallet_request=add_wallet_request,
156
+ x_refresh_token=x_refresh_token,
157
+ _request_timeout=_request_timeout,
158
+ _request_auth=_request_auth,
159
+ _content_type=_content_type,
160
+ _headers=_headers,
161
+ _host_index=_host_index,
162
+ )
163
+
164
+ @validate_call
165
+ def add_wallet_without_preload_content(
166
+ self,
167
+ add_wallet_request: AddWalletRequest,
168
+ x_refresh_token: Annotated[
169
+ Optional[StrictStr],
170
+ Field(description="The refresh token for rotating the access token."),
171
+ ] = None,
172
+ _request_timeout: Union[
173
+ None,
174
+ Annotated[StrictFloat, Field(gt=0)],
175
+ Tuple[
176
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
177
+ ],
178
+ ] = None,
179
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
180
+ _content_type: Optional[StrictStr] = None,
181
+ _headers: Optional[Dict[StrictStr, Any]] = None,
182
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
183
+ ) -> RESTResponseType:
184
+ """Add a wallet to the user without preloading content
185
+
186
+ This method can work in both sync and async modes based on the is_sync flag.
187
+ """
188
+ if self.is_sync:
189
+ return self._add_wallet_sync_without_preload_content(
190
+ add_wallet_request=add_wallet_request,
191
+ x_refresh_token=x_refresh_token,
192
+ _request_timeout=_request_timeout,
193
+ _request_auth=_request_auth,
194
+ _content_type=_content_type,
195
+ _headers=_headers,
196
+ _host_index=_host_index,
197
+ )
198
+
199
+ else:
200
+ return self._add_wallet_async_without_preload_content(
201
+ add_wallet_request=add_wallet_request,
202
+ x_refresh_token=x_refresh_token,
203
+ _request_timeout=_request_timeout,
204
+ _request_auth=_request_auth,
205
+ _content_type=_content_type,
206
+ _headers=_headers,
207
+ _host_index=_host_index,
208
+ )
52
209
 
210
+ # Private async implementation methods
53
211
  @validate_call
54
- async def add_wallet(
212
+ async def _add_wallet_async(
55
213
  self,
56
214
  add_wallet_request: AddWalletRequest,
57
215
  x_refresh_token: Annotated[
@@ -122,7 +280,7 @@ class WalletApi:
122
280
  ).data
123
281
 
124
282
  @validate_call
125
- async def add_wallet_with_http_info(
283
+ async def _add_wallet_async_with_http_info(
126
284
  self,
127
285
  add_wallet_request: AddWalletRequest,
128
286
  x_refresh_token: Annotated[
@@ -188,12 +346,11 @@ class WalletApi:
188
346
  )
189
347
  await response_data.read()
190
348
  return self.api_client.response_deserialize(
191
- response_data=response_data,
192
- response_types_map=_response_types_map,
349
+ response_data=response_data, response_types_map=_response_types_map
193
350
  )
194
351
 
195
352
  @validate_call
196
- async def add_wallet_without_preload_content(
353
+ async def _add_wallet_async_without_preload_content(
197
354
  self,
198
355
  add_wallet_request: AddWalletRequest,
199
356
  x_refresh_token: Annotated[
@@ -257,7 +414,101 @@ class WalletApi:
257
414
  response_data = await self.api_client.call_api(
258
415
  *_param, _request_timeout=_request_timeout
259
416
  )
260
- return response_data.response
417
+ return response_data
418
+
419
+ # Private sync implementation methods
420
+ @validate_call
421
+ def _add_wallet_sync(
422
+ self,
423
+ add_wallet_request: AddWalletRequest,
424
+ x_refresh_token: Annotated[
425
+ Optional[StrictStr],
426
+ Field(description="The refresh token for rotating the access token."),
427
+ ] = None,
428
+ _request_timeout: Union[
429
+ None,
430
+ Annotated[StrictFloat, Field(gt=0)],
431
+ Tuple[
432
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
433
+ ],
434
+ ] = None,
435
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
436
+ _content_type: Optional[StrictStr] = None,
437
+ _headers: Optional[Dict[StrictStr, Any]] = None,
438
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
439
+ ) -> AddWallet200Response:
440
+ """Synchronous version of add_wallet"""
441
+ return async_to_sync(self._add_wallet_async)(
442
+ add_wallet_request=add_wallet_request,
443
+ x_refresh_token=x_refresh_token,
444
+ _request_timeout=_request_timeout,
445
+ _request_auth=_request_auth,
446
+ _content_type=_content_type,
447
+ _headers=_headers,
448
+ _host_index=_host_index,
449
+ )
450
+
451
+ @validate_call
452
+ def _add_wallet_sync_with_http_info(
453
+ self,
454
+ add_wallet_request: AddWalletRequest,
455
+ x_refresh_token: Annotated[
456
+ Optional[StrictStr],
457
+ Field(description="The refresh token for rotating the access token."),
458
+ ] = None,
459
+ _request_timeout: Union[
460
+ None,
461
+ Annotated[StrictFloat, Field(gt=0)],
462
+ Tuple[
463
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
464
+ ],
465
+ ] = None,
466
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
467
+ _content_type: Optional[StrictStr] = None,
468
+ _headers: Optional[Dict[StrictStr, Any]] = None,
469
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
470
+ ) -> ApiResponse[AddWallet200Response]:
471
+ """Synchronous version of add_wallet_with_http_info"""
472
+ return async_to_sync(self._add_wallet_async_with_http_info)(
473
+ add_wallet_request=add_wallet_request,
474
+ x_refresh_token=x_refresh_token,
475
+ _request_timeout=_request_timeout,
476
+ _request_auth=_request_auth,
477
+ _content_type=_content_type,
478
+ _headers=_headers,
479
+ _host_index=_host_index,
480
+ )
481
+
482
+ @validate_call
483
+ def _add_wallet_sync_without_preload_content(
484
+ self,
485
+ add_wallet_request: AddWalletRequest,
486
+ x_refresh_token: Annotated[
487
+ Optional[StrictStr],
488
+ Field(description="The refresh token for rotating the access token."),
489
+ ] = None,
490
+ _request_timeout: Union[
491
+ None,
492
+ Annotated[StrictFloat, Field(gt=0)],
493
+ Tuple[
494
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
495
+ ],
496
+ ] = None,
497
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
498
+ _content_type: Optional[StrictStr] = None,
499
+ _headers: Optional[Dict[StrictStr, Any]] = None,
500
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
501
+ ) -> RESTResponseType:
502
+ """Synchronous version of add_wallet_without_preload_content"""
503
+ return async_to_sync(self._add_wallet_async_without_preload_content)(
504
+ add_wallet_request=add_wallet_request,
505
+ x_refresh_token=x_refresh_token,
506
+ _request_timeout=_request_timeout,
507
+ _request_auth=_request_auth,
508
+ _content_type=_content_type,
509
+ _headers=_headers,
510
+ _host_index=_host_index,
511
+ )
261
512
 
262
513
  def _add_wallet_serialize(
263
514
  self,
@@ -327,7 +578,137 @@ class WalletApi:
327
578
  )
328
579
 
329
580
  @validate_call
330
- async def get_balances(
581
+ def get_balances(
582
+ self,
583
+ x_refresh_token: Annotated[
584
+ Optional[StrictStr],
585
+ Field(description="The refresh token for rotating the access token."),
586
+ ] = None,
587
+ _request_timeout: Union[
588
+ None,
589
+ Annotated[StrictFloat, Field(gt=0)],
590
+ Tuple[
591
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
592
+ ],
593
+ ] = None,
594
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
595
+ _content_type: Optional[StrictStr] = None,
596
+ _headers: Optional[Dict[StrictStr, Any]] = None,
597
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
598
+ ) -> ListWallets200ResponseUserValue:
599
+ """Get the balances of the user
600
+
601
+ This method can work in both sync and async modes based on the is_sync flag.
602
+ """
603
+ if self.is_sync:
604
+ return self._get_balances_sync(
605
+ x_refresh_token=x_refresh_token,
606
+ _request_timeout=_request_timeout,
607
+ _request_auth=_request_auth,
608
+ _content_type=_content_type,
609
+ _headers=_headers,
610
+ _host_index=_host_index,
611
+ )
612
+
613
+ else:
614
+ return self._get_balances_async(
615
+ x_refresh_token=x_refresh_token,
616
+ _request_timeout=_request_timeout,
617
+ _request_auth=_request_auth,
618
+ _content_type=_content_type,
619
+ _headers=_headers,
620
+ _host_index=_host_index,
621
+ )
622
+
623
+ @validate_call
624
+ def get_balances_with_http_info(
625
+ self,
626
+ x_refresh_token: Annotated[
627
+ Optional[StrictStr],
628
+ Field(description="The refresh token for rotating the access token."),
629
+ ] = None,
630
+ _request_timeout: Union[
631
+ None,
632
+ Annotated[StrictFloat, Field(gt=0)],
633
+ Tuple[
634
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
635
+ ],
636
+ ] = None,
637
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
638
+ _content_type: Optional[StrictStr] = None,
639
+ _headers: Optional[Dict[StrictStr, Any]] = None,
640
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
641
+ ) -> ApiResponse[ListWallets200ResponseUserValue]:
642
+ """Get the balances of the user with HTTP info
643
+
644
+ This method can work in both sync and async modes based on the is_sync flag.
645
+ """
646
+ if self.is_sync:
647
+ return self._get_balances_sync_with_http_info(
648
+ x_refresh_token=x_refresh_token,
649
+ _request_timeout=_request_timeout,
650
+ _request_auth=_request_auth,
651
+ _content_type=_content_type,
652
+ _headers=_headers,
653
+ _host_index=_host_index,
654
+ )
655
+
656
+ else:
657
+ return self._get_balances_async_with_http_info(
658
+ x_refresh_token=x_refresh_token,
659
+ _request_timeout=_request_timeout,
660
+ _request_auth=_request_auth,
661
+ _content_type=_content_type,
662
+ _headers=_headers,
663
+ _host_index=_host_index,
664
+ )
665
+
666
+ @validate_call
667
+ def get_balances_without_preload_content(
668
+ self,
669
+ x_refresh_token: Annotated[
670
+ Optional[StrictStr],
671
+ Field(description="The refresh token for rotating the access token."),
672
+ ] = None,
673
+ _request_timeout: Union[
674
+ None,
675
+ Annotated[StrictFloat, Field(gt=0)],
676
+ Tuple[
677
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
678
+ ],
679
+ ] = None,
680
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
681
+ _content_type: Optional[StrictStr] = None,
682
+ _headers: Optional[Dict[StrictStr, Any]] = None,
683
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
684
+ ) -> RESTResponseType:
685
+ """Get the balances of the user without preloading content
686
+
687
+ This method can work in both sync and async modes based on the is_sync flag.
688
+ """
689
+ if self.is_sync:
690
+ return self._get_balances_sync_without_preload_content(
691
+ x_refresh_token=x_refresh_token,
692
+ _request_timeout=_request_timeout,
693
+ _request_auth=_request_auth,
694
+ _content_type=_content_type,
695
+ _headers=_headers,
696
+ _host_index=_host_index,
697
+ )
698
+
699
+ else:
700
+ return self._get_balances_async_without_preload_content(
701
+ x_refresh_token=x_refresh_token,
702
+ _request_timeout=_request_timeout,
703
+ _request_auth=_request_auth,
704
+ _content_type=_content_type,
705
+ _headers=_headers,
706
+ _host_index=_host_index,
707
+ )
708
+
709
+ # Private async implementation methods
710
+ @validate_call
711
+ async def _get_balances_async(
331
712
  self,
332
713
  x_refresh_token: Annotated[
333
714
  Optional[StrictStr],
@@ -394,7 +775,7 @@ class WalletApi:
394
775
  ).data
395
776
 
396
777
  @validate_call
397
- async def get_balances_with_http_info(
778
+ async def _get_balances_async_with_http_info(
398
779
  self,
399
780
  x_refresh_token: Annotated[
400
781
  Optional[StrictStr],
@@ -456,12 +837,11 @@ class WalletApi:
456
837
  )
457
838
  await response_data.read()
458
839
  return self.api_client.response_deserialize(
459
- response_data=response_data,
460
- response_types_map=_response_types_map,
840
+ response_data=response_data, response_types_map=_response_types_map
461
841
  )
462
842
 
463
843
  @validate_call
464
- async def get_balances_without_preload_content(
844
+ async def _get_balances_async_without_preload_content(
465
845
  self,
466
846
  x_refresh_token: Annotated[
467
847
  Optional[StrictStr],
@@ -521,28 +901,116 @@ class WalletApi:
521
901
  response_data = await self.api_client.call_api(
522
902
  *_param, _request_timeout=_request_timeout
523
903
  )
524
- return response_data.response
904
+ return response_data
525
905
 
526
- def _get_balances_serialize(
906
+ # Private sync implementation methods
907
+ @validate_call
908
+ def _get_balances_sync(
527
909
  self,
528
- x_refresh_token,
529
- _request_auth,
530
- _content_type,
531
- _headers,
532
- _host_index,
533
- ) -> RequestSerialized:
534
-
535
- _host = None
536
-
537
- _collection_formats: Dict[str, str] = {}
538
-
539
- _path_params: Dict[str, str] = {}
540
- _query_params: List[Tuple[str, str]] = []
541
- _header_params: Dict[str, Optional[str]] = _headers or {}
542
- _form_params: List[Tuple[str, str]] = []
543
- _files: Dict[
544
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
545
- ] = {}
910
+ x_refresh_token: Annotated[
911
+ Optional[StrictStr],
912
+ Field(description="The refresh token for rotating the access token."),
913
+ ] = None,
914
+ _request_timeout: Union[
915
+ None,
916
+ Annotated[StrictFloat, Field(gt=0)],
917
+ Tuple[
918
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
919
+ ],
920
+ ] = None,
921
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
922
+ _content_type: Optional[StrictStr] = None,
923
+ _headers: Optional[Dict[StrictStr, Any]] = None,
924
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
925
+ ) -> ListWallets200ResponseUserValue:
926
+ """Synchronous version of get_balances"""
927
+ return async_to_sync(self._get_balances_async)(
928
+ x_refresh_token=x_refresh_token,
929
+ _request_timeout=_request_timeout,
930
+ _request_auth=_request_auth,
931
+ _content_type=_content_type,
932
+ _headers=_headers,
933
+ _host_index=_host_index,
934
+ )
935
+
936
+ @validate_call
937
+ def _get_balances_sync_with_http_info(
938
+ self,
939
+ x_refresh_token: Annotated[
940
+ Optional[StrictStr],
941
+ Field(description="The refresh token for rotating the access token."),
942
+ ] = None,
943
+ _request_timeout: Union[
944
+ None,
945
+ Annotated[StrictFloat, Field(gt=0)],
946
+ Tuple[
947
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
948
+ ],
949
+ ] = None,
950
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
951
+ _content_type: Optional[StrictStr] = None,
952
+ _headers: Optional[Dict[StrictStr, Any]] = None,
953
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
954
+ ) -> ApiResponse[ListWallets200ResponseUserValue]:
955
+ """Synchronous version of get_balances_with_http_info"""
956
+ return async_to_sync(self._get_balances_async_with_http_info)(
957
+ x_refresh_token=x_refresh_token,
958
+ _request_timeout=_request_timeout,
959
+ _request_auth=_request_auth,
960
+ _content_type=_content_type,
961
+ _headers=_headers,
962
+ _host_index=_host_index,
963
+ )
964
+
965
+ @validate_call
966
+ def _get_balances_sync_without_preload_content(
967
+ self,
968
+ x_refresh_token: Annotated[
969
+ Optional[StrictStr],
970
+ Field(description="The refresh token for rotating the access token."),
971
+ ] = None,
972
+ _request_timeout: Union[
973
+ None,
974
+ Annotated[StrictFloat, Field(gt=0)],
975
+ Tuple[
976
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
977
+ ],
978
+ ] = None,
979
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
980
+ _content_type: Optional[StrictStr] = None,
981
+ _headers: Optional[Dict[StrictStr, Any]] = None,
982
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
983
+ ) -> RESTResponseType:
984
+ """Synchronous version of get_balances_without_preload_content"""
985
+ return async_to_sync(self._get_balances_async_without_preload_content)(
986
+ x_refresh_token=x_refresh_token,
987
+ _request_timeout=_request_timeout,
988
+ _request_auth=_request_auth,
989
+ _content_type=_content_type,
990
+ _headers=_headers,
991
+ _host_index=_host_index,
992
+ )
993
+
994
+ def _get_balances_serialize(
995
+ self,
996
+ x_refresh_token,
997
+ _request_auth,
998
+ _content_type,
999
+ _headers,
1000
+ _host_index,
1001
+ ) -> RequestSerialized:
1002
+
1003
+ _host = None
1004
+
1005
+ _collection_formats: Dict[str, str] = {}
1006
+
1007
+ _path_params: Dict[str, str] = {}
1008
+ _query_params: List[Tuple[str, str]] = []
1009
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1010
+ _form_params: List[Tuple[str, str]] = []
1011
+ _files: Dict[
1012
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1013
+ ] = {}
546
1014
  _body_params: Optional[bytes] = None
547
1015
 
548
1016
  # process the path parameters
@@ -578,7 +1046,170 @@ class WalletApi:
578
1046
  )
579
1047
 
580
1048
  @validate_call
581
- async def list_wallets(
1049
+ def list_wallets(
1050
+ self,
1051
+ x_refresh_token: Annotated[
1052
+ Optional[StrictStr],
1053
+ Field(description="The refresh token for rotating the access token."),
1054
+ ] = None,
1055
+ limit: Optional[
1056
+ Union[
1057
+ Annotated[float, Field(le=100, strict=True)],
1058
+ Annotated[int, Field(le=100, strict=True)],
1059
+ ]
1060
+ ] = None,
1061
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1062
+ _request_timeout: Union[
1063
+ None,
1064
+ Annotated[StrictFloat, Field(gt=0)],
1065
+ Tuple[
1066
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1067
+ ],
1068
+ ] = None,
1069
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1070
+ _content_type: Optional[StrictStr] = None,
1071
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1072
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1073
+ ) -> ListWallets200Response:
1074
+ """List wallets
1075
+
1076
+ This method can work in both sync and async modes based on the is_sync flag.
1077
+ """
1078
+ if self.is_sync:
1079
+ return self._list_wallets_sync(
1080
+ x_refresh_token=x_refresh_token,
1081
+ limit=limit,
1082
+ offset=offset,
1083
+ _request_timeout=_request_timeout,
1084
+ _request_auth=_request_auth,
1085
+ _content_type=_content_type,
1086
+ _headers=_headers,
1087
+ _host_index=_host_index,
1088
+ )
1089
+
1090
+ else:
1091
+ return self._list_wallets_async(
1092
+ x_refresh_token=x_refresh_token,
1093
+ limit=limit,
1094
+ offset=offset,
1095
+ _request_timeout=_request_timeout,
1096
+ _request_auth=_request_auth,
1097
+ _content_type=_content_type,
1098
+ _headers=_headers,
1099
+ _host_index=_host_index,
1100
+ )
1101
+
1102
+ @validate_call
1103
+ def list_wallets_with_http_info(
1104
+ self,
1105
+ x_refresh_token: Annotated[
1106
+ Optional[StrictStr],
1107
+ Field(description="The refresh token for rotating the access token."),
1108
+ ] = None,
1109
+ limit: Optional[
1110
+ Union[
1111
+ Annotated[float, Field(le=100, strict=True)],
1112
+ Annotated[int, Field(le=100, strict=True)],
1113
+ ]
1114
+ ] = None,
1115
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1116
+ _request_timeout: Union[
1117
+ None,
1118
+ Annotated[StrictFloat, Field(gt=0)],
1119
+ Tuple[
1120
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1121
+ ],
1122
+ ] = None,
1123
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1124
+ _content_type: Optional[StrictStr] = None,
1125
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1126
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1127
+ ) -> ApiResponse[ListWallets200Response]:
1128
+ """List wallets with HTTP info
1129
+
1130
+ This method can work in both sync and async modes based on the is_sync flag.
1131
+ """
1132
+ if self.is_sync:
1133
+ return self._list_wallets_sync_with_http_info(
1134
+ x_refresh_token=x_refresh_token,
1135
+ limit=limit,
1136
+ offset=offset,
1137
+ _request_timeout=_request_timeout,
1138
+ _request_auth=_request_auth,
1139
+ _content_type=_content_type,
1140
+ _headers=_headers,
1141
+ _host_index=_host_index,
1142
+ )
1143
+
1144
+ else:
1145
+ return self._list_wallets_async_with_http_info(
1146
+ x_refresh_token=x_refresh_token,
1147
+ limit=limit,
1148
+ offset=offset,
1149
+ _request_timeout=_request_timeout,
1150
+ _request_auth=_request_auth,
1151
+ _content_type=_content_type,
1152
+ _headers=_headers,
1153
+ _host_index=_host_index,
1154
+ )
1155
+
1156
+ @validate_call
1157
+ def list_wallets_without_preload_content(
1158
+ self,
1159
+ x_refresh_token: Annotated[
1160
+ Optional[StrictStr],
1161
+ Field(description="The refresh token for rotating the access token."),
1162
+ ] = None,
1163
+ limit: Optional[
1164
+ Union[
1165
+ Annotated[float, Field(le=100, strict=True)],
1166
+ Annotated[int, Field(le=100, strict=True)],
1167
+ ]
1168
+ ] = None,
1169
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1170
+ _request_timeout: Union[
1171
+ None,
1172
+ Annotated[StrictFloat, Field(gt=0)],
1173
+ Tuple[
1174
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1175
+ ],
1176
+ ] = None,
1177
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1178
+ _content_type: Optional[StrictStr] = None,
1179
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1180
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1181
+ ) -> RESTResponseType:
1182
+ """List wallets without preloading content
1183
+
1184
+ This method can work in both sync and async modes based on the is_sync flag.
1185
+ """
1186
+ if self.is_sync:
1187
+ return self._list_wallets_sync_without_preload_content(
1188
+ x_refresh_token=x_refresh_token,
1189
+ limit=limit,
1190
+ offset=offset,
1191
+ _request_timeout=_request_timeout,
1192
+ _request_auth=_request_auth,
1193
+ _content_type=_content_type,
1194
+ _headers=_headers,
1195
+ _host_index=_host_index,
1196
+ )
1197
+
1198
+ else:
1199
+ return self._list_wallets_async_without_preload_content(
1200
+ x_refresh_token=x_refresh_token,
1201
+ limit=limit,
1202
+ offset=offset,
1203
+ _request_timeout=_request_timeout,
1204
+ _request_auth=_request_auth,
1205
+ _content_type=_content_type,
1206
+ _headers=_headers,
1207
+ _host_index=_host_index,
1208
+ )
1209
+
1210
+ # Private async implementation methods
1211
+ @validate_call
1212
+ async def _list_wallets_async(
582
1213
  self,
583
1214
  x_refresh_token: Annotated[
584
1215
  Optional[StrictStr],
@@ -658,7 +1289,7 @@ class WalletApi:
658
1289
  ).data
659
1290
 
660
1291
  @validate_call
661
- async def list_wallets_with_http_info(
1292
+ async def _list_wallets_async_with_http_info(
662
1293
  self,
663
1294
  x_refresh_token: Annotated[
664
1295
  Optional[StrictStr],
@@ -733,12 +1364,11 @@ class WalletApi:
733
1364
  )
734
1365
  await response_data.read()
735
1366
  return self.api_client.response_deserialize(
736
- response_data=response_data,
737
- response_types_map=_response_types_map,
1367
+ response_data=response_data, response_types_map=_response_types_map
738
1368
  )
739
1369
 
740
1370
  @validate_call
741
- async def list_wallets_without_preload_content(
1371
+ async def _list_wallets_async_without_preload_content(
742
1372
  self,
743
1373
  x_refresh_token: Annotated[
744
1374
  Optional[StrictStr],
@@ -805,14 +1435,129 @@ class WalletApi:
805
1435
  _host_index=_host_index,
806
1436
  )
807
1437
 
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.response
815
-
1438
+ _response_types_map: Dict[str, Optional[str]] = {
1439
+ "200": "ListWallets200Response",
1440
+ }
1441
+ response_data = await self.api_client.call_api(
1442
+ *_param, _request_timeout=_request_timeout
1443
+ )
1444
+ return response_data
1445
+
1446
+ # Private sync implementation methods
1447
+ @validate_call
1448
+ def _list_wallets_sync(
1449
+ self,
1450
+ x_refresh_token: Annotated[
1451
+ Optional[StrictStr],
1452
+ Field(description="The refresh token for rotating the access token."),
1453
+ ] = None,
1454
+ limit: Optional[
1455
+ Union[
1456
+ Annotated[float, Field(le=100, strict=True)],
1457
+ Annotated[int, Field(le=100, strict=True)],
1458
+ ]
1459
+ ] = None,
1460
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1461
+ _request_timeout: Union[
1462
+ None,
1463
+ Annotated[StrictFloat, Field(gt=0)],
1464
+ Tuple[
1465
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1466
+ ],
1467
+ ] = None,
1468
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1469
+ _content_type: Optional[StrictStr] = None,
1470
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1471
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1472
+ ) -> ListWallets200Response:
1473
+ """Synchronous version of list_wallets"""
1474
+ return async_to_sync(self._list_wallets_async)(
1475
+ x_refresh_token=x_refresh_token,
1476
+ limit=limit,
1477
+ offset=offset,
1478
+ _request_timeout=_request_timeout,
1479
+ _request_auth=_request_auth,
1480
+ _content_type=_content_type,
1481
+ _headers=_headers,
1482
+ _host_index=_host_index,
1483
+ )
1484
+
1485
+ @validate_call
1486
+ def _list_wallets_sync_with_http_info(
1487
+ self,
1488
+ x_refresh_token: Annotated[
1489
+ Optional[StrictStr],
1490
+ Field(description="The refresh token for rotating the access token."),
1491
+ ] = None,
1492
+ limit: Optional[
1493
+ Union[
1494
+ Annotated[float, Field(le=100, strict=True)],
1495
+ Annotated[int, Field(le=100, strict=True)],
1496
+ ]
1497
+ ] = None,
1498
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1499
+ _request_timeout: Union[
1500
+ None,
1501
+ Annotated[StrictFloat, Field(gt=0)],
1502
+ Tuple[
1503
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1504
+ ],
1505
+ ] = None,
1506
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1507
+ _content_type: Optional[StrictStr] = None,
1508
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1509
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1510
+ ) -> ApiResponse[ListWallets200Response]:
1511
+ """Synchronous version of list_wallets_with_http_info"""
1512
+ return async_to_sync(self._list_wallets_async_with_http_info)(
1513
+ x_refresh_token=x_refresh_token,
1514
+ limit=limit,
1515
+ offset=offset,
1516
+ _request_timeout=_request_timeout,
1517
+ _request_auth=_request_auth,
1518
+ _content_type=_content_type,
1519
+ _headers=_headers,
1520
+ _host_index=_host_index,
1521
+ )
1522
+
1523
+ @validate_call
1524
+ def _list_wallets_sync_without_preload_content(
1525
+ self,
1526
+ x_refresh_token: Annotated[
1527
+ Optional[StrictStr],
1528
+ Field(description="The refresh token for rotating the access token."),
1529
+ ] = None,
1530
+ limit: Optional[
1531
+ Union[
1532
+ Annotated[float, Field(le=100, strict=True)],
1533
+ Annotated[int, Field(le=100, strict=True)],
1534
+ ]
1535
+ ] = None,
1536
+ offset: Optional[Union[StrictFloat, StrictInt]] = None,
1537
+ _request_timeout: Union[
1538
+ None,
1539
+ Annotated[StrictFloat, Field(gt=0)],
1540
+ Tuple[
1541
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1542
+ ],
1543
+ ] = None,
1544
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1545
+ _content_type: Optional[StrictStr] = None,
1546
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1547
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1548
+ ) -> RESTResponseType:
1549
+ """Synchronous version of list_wallets_without_preload_content"""
1550
+ return async_to_sync(self._list_wallets_async_without_preload_content)(
1551
+ x_refresh_token=x_refresh_token,
1552
+ limit=limit,
1553
+ offset=offset,
1554
+ _request_timeout=_request_timeout,
1555
+ _request_auth=_request_auth,
1556
+ _content_type=_content_type,
1557
+ _headers=_headers,
1558
+ _host_index=_host_index,
1559
+ )
1560
+
816
1561
  def _list_wallets_serialize(
817
1562
  self,
818
1563
  x_refresh_token,
@@ -878,7 +1623,146 @@ class WalletApi:
878
1623
  )
879
1624
 
880
1625
  @validate_call
881
- async def unlink_wallet(
1626
+ def unlink_wallet(
1627
+ self,
1628
+ unlink_wallet_request: UnlinkWalletRequest,
1629
+ x_refresh_token: Annotated[
1630
+ Optional[StrictStr],
1631
+ Field(description="The refresh token for rotating the access token."),
1632
+ ] = None,
1633
+ _request_timeout: Union[
1634
+ None,
1635
+ Annotated[StrictFloat, Field(gt=0)],
1636
+ Tuple[
1637
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1638
+ ],
1639
+ ] = None,
1640
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1641
+ _content_type: Optional[StrictStr] = None,
1642
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1643
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1644
+ ) -> object:
1645
+ """Unlink a wallet
1646
+
1647
+ This method can work in both sync and async modes based on the is_sync flag.
1648
+ """
1649
+ if self.is_sync:
1650
+ return self._unlink_wallet_sync(
1651
+ unlink_wallet_request=unlink_wallet_request,
1652
+ x_refresh_token=x_refresh_token,
1653
+ _request_timeout=_request_timeout,
1654
+ _request_auth=_request_auth,
1655
+ _content_type=_content_type,
1656
+ _headers=_headers,
1657
+ _host_index=_host_index,
1658
+ )
1659
+
1660
+ else:
1661
+ return self._unlink_wallet_async(
1662
+ unlink_wallet_request=unlink_wallet_request,
1663
+ x_refresh_token=x_refresh_token,
1664
+ _request_timeout=_request_timeout,
1665
+ _request_auth=_request_auth,
1666
+ _content_type=_content_type,
1667
+ _headers=_headers,
1668
+ _host_index=_host_index,
1669
+ )
1670
+
1671
+ @validate_call
1672
+ def unlink_wallet_with_http_info(
1673
+ self,
1674
+ unlink_wallet_request: UnlinkWalletRequest,
1675
+ x_refresh_token: Annotated[
1676
+ Optional[StrictStr],
1677
+ Field(description="The refresh token for rotating the access token."),
1678
+ ] = None,
1679
+ _request_timeout: Union[
1680
+ None,
1681
+ Annotated[StrictFloat, Field(gt=0)],
1682
+ Tuple[
1683
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1684
+ ],
1685
+ ] = None,
1686
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1687
+ _content_type: Optional[StrictStr] = None,
1688
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1689
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1690
+ ) -> ApiResponse[object]:
1691
+ """Unlink a wallet with HTTP info
1692
+
1693
+ This method can work in both sync and async modes based on the is_sync flag.
1694
+ """
1695
+ if self.is_sync:
1696
+ return self._unlink_wallet_sync_with_http_info(
1697
+ unlink_wallet_request=unlink_wallet_request,
1698
+ x_refresh_token=x_refresh_token,
1699
+ _request_timeout=_request_timeout,
1700
+ _request_auth=_request_auth,
1701
+ _content_type=_content_type,
1702
+ _headers=_headers,
1703
+ _host_index=_host_index,
1704
+ )
1705
+
1706
+ else:
1707
+ return self._unlink_wallet_async_with_http_info(
1708
+ unlink_wallet_request=unlink_wallet_request,
1709
+ x_refresh_token=x_refresh_token,
1710
+ _request_timeout=_request_timeout,
1711
+ _request_auth=_request_auth,
1712
+ _content_type=_content_type,
1713
+ _headers=_headers,
1714
+ _host_index=_host_index,
1715
+ )
1716
+
1717
+ @validate_call
1718
+ def unlink_wallet_without_preload_content(
1719
+ self,
1720
+ unlink_wallet_request: UnlinkWalletRequest,
1721
+ x_refresh_token: Annotated[
1722
+ Optional[StrictStr],
1723
+ Field(description="The refresh token for rotating the access token."),
1724
+ ] = None,
1725
+ _request_timeout: Union[
1726
+ None,
1727
+ Annotated[StrictFloat, Field(gt=0)],
1728
+ Tuple[
1729
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1730
+ ],
1731
+ ] = None,
1732
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1733
+ _content_type: Optional[StrictStr] = None,
1734
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1735
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1736
+ ) -> RESTResponseType:
1737
+ """Unlink a wallet without preloading content
1738
+
1739
+ This method can work in both sync and async modes based on the is_sync flag.
1740
+ """
1741
+ if self.is_sync:
1742
+ return self._unlink_wallet_sync_without_preload_content(
1743
+ unlink_wallet_request=unlink_wallet_request,
1744
+ x_refresh_token=x_refresh_token,
1745
+ _request_timeout=_request_timeout,
1746
+ _request_auth=_request_auth,
1747
+ _content_type=_content_type,
1748
+ _headers=_headers,
1749
+ _host_index=_host_index,
1750
+ )
1751
+
1752
+ else:
1753
+ return self._unlink_wallet_async_without_preload_content(
1754
+ unlink_wallet_request=unlink_wallet_request,
1755
+ x_refresh_token=x_refresh_token,
1756
+ _request_timeout=_request_timeout,
1757
+ _request_auth=_request_auth,
1758
+ _content_type=_content_type,
1759
+ _headers=_headers,
1760
+ _host_index=_host_index,
1761
+ )
1762
+
1763
+ # Private async implementation methods
1764
+ @validate_call
1765
+ async def _unlink_wallet_async(
882
1766
  self,
883
1767
  unlink_wallet_request: UnlinkWalletRequest,
884
1768
  x_refresh_token: Annotated[
@@ -949,7 +1833,7 @@ class WalletApi:
949
1833
  ).data
950
1834
 
951
1835
  @validate_call
952
- async def unlink_wallet_with_http_info(
1836
+ async def _unlink_wallet_async_with_http_info(
953
1837
  self,
954
1838
  unlink_wallet_request: UnlinkWalletRequest,
955
1839
  x_refresh_token: Annotated[
@@ -1015,12 +1899,11 @@ class WalletApi:
1015
1899
  )
1016
1900
  await response_data.read()
1017
1901
  return self.api_client.response_deserialize(
1018
- response_data=response_data,
1019
- response_types_map=_response_types_map,
1902
+ response_data=response_data, response_types_map=_response_types_map
1020
1903
  )
1021
1904
 
1022
1905
  @validate_call
1023
- async def unlink_wallet_without_preload_content(
1906
+ async def _unlink_wallet_async_without_preload_content(
1024
1907
  self,
1025
1908
  unlink_wallet_request: UnlinkWalletRequest,
1026
1909
  x_refresh_token: Annotated[
@@ -1084,7 +1967,101 @@ class WalletApi:
1084
1967
  response_data = await self.api_client.call_api(
1085
1968
  *_param, _request_timeout=_request_timeout
1086
1969
  )
1087
- return response_data.response
1970
+ return response_data
1971
+
1972
+ # Private sync implementation methods
1973
+ @validate_call
1974
+ def _unlink_wallet_sync(
1975
+ self,
1976
+ unlink_wallet_request: UnlinkWalletRequest,
1977
+ x_refresh_token: Annotated[
1978
+ Optional[StrictStr],
1979
+ Field(description="The refresh token for rotating the access token."),
1980
+ ] = None,
1981
+ _request_timeout: Union[
1982
+ None,
1983
+ Annotated[StrictFloat, Field(gt=0)],
1984
+ Tuple[
1985
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
1986
+ ],
1987
+ ] = None,
1988
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1989
+ _content_type: Optional[StrictStr] = None,
1990
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1991
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1992
+ ) -> object:
1993
+ """Synchronous version of unlink_wallet"""
1994
+ return async_to_sync(self._unlink_wallet_async)(
1995
+ unlink_wallet_request=unlink_wallet_request,
1996
+ x_refresh_token=x_refresh_token,
1997
+ _request_timeout=_request_timeout,
1998
+ _request_auth=_request_auth,
1999
+ _content_type=_content_type,
2000
+ _headers=_headers,
2001
+ _host_index=_host_index,
2002
+ )
2003
+
2004
+ @validate_call
2005
+ def _unlink_wallet_sync_with_http_info(
2006
+ self,
2007
+ unlink_wallet_request: UnlinkWalletRequest,
2008
+ x_refresh_token: Annotated[
2009
+ Optional[StrictStr],
2010
+ Field(description="The refresh token for rotating the access token."),
2011
+ ] = None,
2012
+ _request_timeout: Union[
2013
+ None,
2014
+ Annotated[StrictFloat, Field(gt=0)],
2015
+ Tuple[
2016
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2017
+ ],
2018
+ ] = None,
2019
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2020
+ _content_type: Optional[StrictStr] = None,
2021
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2022
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2023
+ ) -> ApiResponse[object]:
2024
+ """Synchronous version of unlink_wallet_with_http_info"""
2025
+ return async_to_sync(self._unlink_wallet_async_with_http_info)(
2026
+ unlink_wallet_request=unlink_wallet_request,
2027
+ x_refresh_token=x_refresh_token,
2028
+ _request_timeout=_request_timeout,
2029
+ _request_auth=_request_auth,
2030
+ _content_type=_content_type,
2031
+ _headers=_headers,
2032
+ _host_index=_host_index,
2033
+ )
2034
+
2035
+ @validate_call
2036
+ def _unlink_wallet_sync_without_preload_content(
2037
+ self,
2038
+ unlink_wallet_request: UnlinkWalletRequest,
2039
+ x_refresh_token: Annotated[
2040
+ Optional[StrictStr],
2041
+ Field(description="The refresh token for rotating the access token."),
2042
+ ] = None,
2043
+ _request_timeout: Union[
2044
+ None,
2045
+ Annotated[StrictFloat, Field(gt=0)],
2046
+ Tuple[
2047
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2048
+ ],
2049
+ ] = None,
2050
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2051
+ _content_type: Optional[StrictStr] = None,
2052
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2053
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2054
+ ) -> RESTResponseType:
2055
+ """Synchronous version of unlink_wallet_without_preload_content"""
2056
+ return async_to_sync(self._unlink_wallet_async_without_preload_content)(
2057
+ unlink_wallet_request=unlink_wallet_request,
2058
+ x_refresh_token=x_refresh_token,
2059
+ _request_timeout=_request_timeout,
2060
+ _request_auth=_request_auth,
2061
+ _content_type=_content_type,
2062
+ _headers=_headers,
2063
+ _host_index=_host_index,
2064
+ )
1088
2065
 
1089
2066
  def _unlink_wallet_serialize(
1090
2067
  self,
@@ -1138,23 +2115,162 @@ class WalletApi:
1138
2115
  # authentication setting
1139
2116
  _auth_settings: List[str] = ["HTTPBearer"]
1140
2117
 
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
- )
2118
+ return self.api_client.param_serialize(
2119
+ method="POST",
2120
+ resource_path="/wallet/unlink",
2121
+ path_params=_path_params,
2122
+ query_params=_query_params,
2123
+ header_params=_header_params,
2124
+ body=_body_params,
2125
+ post_params=_form_params,
2126
+ files=_files,
2127
+ auth_settings=_auth_settings,
2128
+ collection_formats=_collection_formats,
2129
+ _host=_host,
2130
+ _request_auth=_request_auth,
2131
+ )
2132
+
2133
+ @validate_call
2134
+ def verify_wallet(
2135
+ self,
2136
+ verify_wallet_request: VerifyWalletRequest,
2137
+ x_refresh_token: Annotated[
2138
+ Optional[StrictStr],
2139
+ Field(description="The refresh token for rotating the access token."),
2140
+ ] = None,
2141
+ _request_timeout: Union[
2142
+ None,
2143
+ Annotated[StrictFloat, Field(gt=0)],
2144
+ Tuple[
2145
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2146
+ ],
2147
+ ] = None,
2148
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2149
+ _content_type: Optional[StrictStr] = None,
2150
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2151
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2152
+ ) -> object:
2153
+ """Verify a wallet
2154
+
2155
+ This method can work in both sync and async modes based on the is_sync flag.
2156
+ """
2157
+ if self.is_sync:
2158
+ return self._verify_wallet_sync(
2159
+ verify_wallet_request=verify_wallet_request,
2160
+ x_refresh_token=x_refresh_token,
2161
+ _request_timeout=_request_timeout,
2162
+ _request_auth=_request_auth,
2163
+ _content_type=_content_type,
2164
+ _headers=_headers,
2165
+ _host_index=_host_index,
2166
+ )
2167
+
2168
+ else:
2169
+ return self._verify_wallet_async(
2170
+ verify_wallet_request=verify_wallet_request,
2171
+ x_refresh_token=x_refresh_token,
2172
+ _request_timeout=_request_timeout,
2173
+ _request_auth=_request_auth,
2174
+ _content_type=_content_type,
2175
+ _headers=_headers,
2176
+ _host_index=_host_index,
2177
+ )
2178
+
2179
+ @validate_call
2180
+ def verify_wallet_with_http_info(
2181
+ self,
2182
+ verify_wallet_request: VerifyWalletRequest,
2183
+ x_refresh_token: Annotated[
2184
+ Optional[StrictStr],
2185
+ Field(description="The refresh token for rotating the access token."),
2186
+ ] = None,
2187
+ _request_timeout: Union[
2188
+ None,
2189
+ Annotated[StrictFloat, Field(gt=0)],
2190
+ Tuple[
2191
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2192
+ ],
2193
+ ] = None,
2194
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2195
+ _content_type: Optional[StrictStr] = None,
2196
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2197
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2198
+ ) -> ApiResponse[object]:
2199
+ """Verify a wallet with HTTP info
2200
+
2201
+ This method can work in both sync and async modes based on the is_sync flag.
2202
+ """
2203
+ if self.is_sync:
2204
+ return self._verify_wallet_sync_with_http_info(
2205
+ verify_wallet_request=verify_wallet_request,
2206
+ x_refresh_token=x_refresh_token,
2207
+ _request_timeout=_request_timeout,
2208
+ _request_auth=_request_auth,
2209
+ _content_type=_content_type,
2210
+ _headers=_headers,
2211
+ _host_index=_host_index,
2212
+ )
2213
+
2214
+ else:
2215
+ return self._verify_wallet_async_with_http_info(
2216
+ verify_wallet_request=verify_wallet_request,
2217
+ x_refresh_token=x_refresh_token,
2218
+ _request_timeout=_request_timeout,
2219
+ _request_auth=_request_auth,
2220
+ _content_type=_content_type,
2221
+ _headers=_headers,
2222
+ _host_index=_host_index,
2223
+ )
2224
+
2225
+ @validate_call
2226
+ def verify_wallet_without_preload_content(
2227
+ self,
2228
+ verify_wallet_request: VerifyWalletRequest,
2229
+ x_refresh_token: Annotated[
2230
+ Optional[StrictStr],
2231
+ Field(description="The refresh token for rotating the access token."),
2232
+ ] = None,
2233
+ _request_timeout: Union[
2234
+ None,
2235
+ Annotated[StrictFloat, Field(gt=0)],
2236
+ Tuple[
2237
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2238
+ ],
2239
+ ] = None,
2240
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2241
+ _content_type: Optional[StrictStr] = None,
2242
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2243
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2244
+ ) -> RESTResponseType:
2245
+ """Verify a wallet without preloading content
2246
+
2247
+ This method can work in both sync and async modes based on the is_sync flag.
2248
+ """
2249
+ if self.is_sync:
2250
+ return self._verify_wallet_sync_without_preload_content(
2251
+ verify_wallet_request=verify_wallet_request,
2252
+ x_refresh_token=x_refresh_token,
2253
+ _request_timeout=_request_timeout,
2254
+ _request_auth=_request_auth,
2255
+ _content_type=_content_type,
2256
+ _headers=_headers,
2257
+ _host_index=_host_index,
2258
+ )
2259
+
2260
+ else:
2261
+ return self._verify_wallet_async_without_preload_content(
2262
+ verify_wallet_request=verify_wallet_request,
2263
+ x_refresh_token=x_refresh_token,
2264
+ _request_timeout=_request_timeout,
2265
+ _request_auth=_request_auth,
2266
+ _content_type=_content_type,
2267
+ _headers=_headers,
2268
+ _host_index=_host_index,
2269
+ )
1155
2270
 
2271
+ # Private async implementation methods
1156
2272
  @validate_call
1157
- async def verify_wallet(
2273
+ async def _verify_wallet_async(
1158
2274
  self,
1159
2275
  verify_wallet_request: VerifyWalletRequest,
1160
2276
  x_refresh_token: Annotated[
@@ -1225,7 +2341,7 @@ class WalletApi:
1225
2341
  ).data
1226
2342
 
1227
2343
  @validate_call
1228
- async def verify_wallet_with_http_info(
2344
+ async def _verify_wallet_async_with_http_info(
1229
2345
  self,
1230
2346
  verify_wallet_request: VerifyWalletRequest,
1231
2347
  x_refresh_token: Annotated[
@@ -1291,12 +2407,11 @@ class WalletApi:
1291
2407
  )
1292
2408
  await response_data.read()
1293
2409
  return self.api_client.response_deserialize(
1294
- response_data=response_data,
1295
- response_types_map=_response_types_map,
2410
+ response_data=response_data, response_types_map=_response_types_map
1296
2411
  )
1297
2412
 
1298
2413
  @validate_call
1299
- async def verify_wallet_without_preload_content(
2414
+ async def _verify_wallet_async_without_preload_content(
1300
2415
  self,
1301
2416
  verify_wallet_request: VerifyWalletRequest,
1302
2417
  x_refresh_token: Annotated[
@@ -1360,7 +2475,101 @@ class WalletApi:
1360
2475
  response_data = await self.api_client.call_api(
1361
2476
  *_param, _request_timeout=_request_timeout
1362
2477
  )
1363
- return response_data.response
2478
+ return response_data
2479
+
2480
+ # Private sync implementation methods
2481
+ @validate_call
2482
+ def _verify_wallet_sync(
2483
+ self,
2484
+ verify_wallet_request: VerifyWalletRequest,
2485
+ x_refresh_token: Annotated[
2486
+ Optional[StrictStr],
2487
+ Field(description="The refresh token for rotating the access token."),
2488
+ ] = None,
2489
+ _request_timeout: Union[
2490
+ None,
2491
+ Annotated[StrictFloat, Field(gt=0)],
2492
+ Tuple[
2493
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2494
+ ],
2495
+ ] = None,
2496
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2497
+ _content_type: Optional[StrictStr] = None,
2498
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2499
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2500
+ ) -> object:
2501
+ """Synchronous version of verify_wallet"""
2502
+ return async_to_sync(self._verify_wallet_async)(
2503
+ verify_wallet_request=verify_wallet_request,
2504
+ x_refresh_token=x_refresh_token,
2505
+ _request_timeout=_request_timeout,
2506
+ _request_auth=_request_auth,
2507
+ _content_type=_content_type,
2508
+ _headers=_headers,
2509
+ _host_index=_host_index,
2510
+ )
2511
+
2512
+ @validate_call
2513
+ def _verify_wallet_sync_with_http_info(
2514
+ self,
2515
+ verify_wallet_request: VerifyWalletRequest,
2516
+ x_refresh_token: Annotated[
2517
+ Optional[StrictStr],
2518
+ Field(description="The refresh token for rotating the access token."),
2519
+ ] = None,
2520
+ _request_timeout: Union[
2521
+ None,
2522
+ Annotated[StrictFloat, Field(gt=0)],
2523
+ Tuple[
2524
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2525
+ ],
2526
+ ] = None,
2527
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2528
+ _content_type: Optional[StrictStr] = None,
2529
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2530
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2531
+ ) -> ApiResponse[object]:
2532
+ """Synchronous version of verify_wallet_with_http_info"""
2533
+ return async_to_sync(self._verify_wallet_async_with_http_info)(
2534
+ verify_wallet_request=verify_wallet_request,
2535
+ x_refresh_token=x_refresh_token,
2536
+ _request_timeout=_request_timeout,
2537
+ _request_auth=_request_auth,
2538
+ _content_type=_content_type,
2539
+ _headers=_headers,
2540
+ _host_index=_host_index,
2541
+ )
2542
+
2543
+ @validate_call
2544
+ def _verify_wallet_sync_without_preload_content(
2545
+ self,
2546
+ verify_wallet_request: VerifyWalletRequest,
2547
+ x_refresh_token: Annotated[
2548
+ Optional[StrictStr],
2549
+ Field(description="The refresh token for rotating the access token."),
2550
+ ] = None,
2551
+ _request_timeout: Union[
2552
+ None,
2553
+ Annotated[StrictFloat, Field(gt=0)],
2554
+ Tuple[
2555
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2556
+ ],
2557
+ ] = None,
2558
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2559
+ _content_type: Optional[StrictStr] = None,
2560
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2561
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2562
+ ) -> RESTResponseType:
2563
+ """Synchronous version of verify_wallet_without_preload_content"""
2564
+ return async_to_sync(self._verify_wallet_async_without_preload_content)(
2565
+ verify_wallet_request=verify_wallet_request,
2566
+ x_refresh_token=x_refresh_token,
2567
+ _request_timeout=_request_timeout,
2568
+ _request_auth=_request_auth,
2569
+ _content_type=_content_type,
2570
+ _headers=_headers,
2571
+ _host_index=_host_index,
2572
+ )
1364
2573
 
1365
2574
  def _verify_wallet_serialize(
1366
2575
  self,
@@ -1430,7 +2639,146 @@ class WalletApi:
1430
2639
  )
1431
2640
 
1432
2641
  @validate_call
1433
- async def wallet_verified(
2642
+ def wallet_verified(
2643
+ self,
2644
+ address: StrictStr,
2645
+ x_refresh_token: Annotated[
2646
+ Optional[StrictStr],
2647
+ Field(description="The refresh token for rotating the access token."),
2648
+ ] = None,
2649
+ _request_timeout: Union[
2650
+ None,
2651
+ Annotated[StrictFloat, Field(gt=0)],
2652
+ Tuple[
2653
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2654
+ ],
2655
+ ] = None,
2656
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2657
+ _content_type: Optional[StrictStr] = None,
2658
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2659
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2660
+ ) -> WalletVerified200Response:
2661
+ """Check if a wallet is verified
2662
+
2663
+ This method can work in both sync and async modes based on the is_sync flag.
2664
+ """
2665
+ if self.is_sync:
2666
+ return self._wallet_verified_sync(
2667
+ address=address,
2668
+ x_refresh_token=x_refresh_token,
2669
+ _request_timeout=_request_timeout,
2670
+ _request_auth=_request_auth,
2671
+ _content_type=_content_type,
2672
+ _headers=_headers,
2673
+ _host_index=_host_index,
2674
+ )
2675
+
2676
+ else:
2677
+ return self._wallet_verified_async(
2678
+ address=address,
2679
+ x_refresh_token=x_refresh_token,
2680
+ _request_timeout=_request_timeout,
2681
+ _request_auth=_request_auth,
2682
+ _content_type=_content_type,
2683
+ _headers=_headers,
2684
+ _host_index=_host_index,
2685
+ )
2686
+
2687
+ @validate_call
2688
+ def wallet_verified_with_http_info(
2689
+ self,
2690
+ address: StrictStr,
2691
+ x_refresh_token: Annotated[
2692
+ Optional[StrictStr],
2693
+ Field(description="The refresh token for rotating the access token."),
2694
+ ] = None,
2695
+ _request_timeout: Union[
2696
+ None,
2697
+ Annotated[StrictFloat, Field(gt=0)],
2698
+ Tuple[
2699
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2700
+ ],
2701
+ ] = None,
2702
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2703
+ _content_type: Optional[StrictStr] = None,
2704
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2705
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2706
+ ) -> ApiResponse[WalletVerified200Response]:
2707
+ """Check if a wallet is verified with HTTP info
2708
+
2709
+ This method can work in both sync and async modes based on the is_sync flag.
2710
+ """
2711
+ if self.is_sync:
2712
+ return self._wallet_verified_sync_with_http_info(
2713
+ address=address,
2714
+ x_refresh_token=x_refresh_token,
2715
+ _request_timeout=_request_timeout,
2716
+ _request_auth=_request_auth,
2717
+ _content_type=_content_type,
2718
+ _headers=_headers,
2719
+ _host_index=_host_index,
2720
+ )
2721
+
2722
+ else:
2723
+ return self._wallet_verified_async_with_http_info(
2724
+ address=address,
2725
+ x_refresh_token=x_refresh_token,
2726
+ _request_timeout=_request_timeout,
2727
+ _request_auth=_request_auth,
2728
+ _content_type=_content_type,
2729
+ _headers=_headers,
2730
+ _host_index=_host_index,
2731
+ )
2732
+
2733
+ @validate_call
2734
+ def wallet_verified_without_preload_content(
2735
+ self,
2736
+ address: StrictStr,
2737
+ x_refresh_token: Annotated[
2738
+ Optional[StrictStr],
2739
+ Field(description="The refresh token for rotating the access token."),
2740
+ ] = None,
2741
+ _request_timeout: Union[
2742
+ None,
2743
+ Annotated[StrictFloat, Field(gt=0)],
2744
+ Tuple[
2745
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
2746
+ ],
2747
+ ] = None,
2748
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2749
+ _content_type: Optional[StrictStr] = None,
2750
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2751
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2752
+ ) -> RESTResponseType:
2753
+ """Check if a wallet is verified without preloading content
2754
+
2755
+ This method can work in both sync and async modes based on the is_sync flag.
2756
+ """
2757
+ if self.is_sync:
2758
+ return self._wallet_verified_sync_without_preload_content(
2759
+ address=address,
2760
+ x_refresh_token=x_refresh_token,
2761
+ _request_timeout=_request_timeout,
2762
+ _request_auth=_request_auth,
2763
+ _content_type=_content_type,
2764
+ _headers=_headers,
2765
+ _host_index=_host_index,
2766
+ )
2767
+
2768
+ else:
2769
+ return self._wallet_verified_async_without_preload_content(
2770
+ address=address,
2771
+ x_refresh_token=x_refresh_token,
2772
+ _request_timeout=_request_timeout,
2773
+ _request_auth=_request_auth,
2774
+ _content_type=_content_type,
2775
+ _headers=_headers,
2776
+ _host_index=_host_index,
2777
+ )
2778
+
2779
+ # Private async implementation methods
2780
+ @validate_call
2781
+ async def _wallet_verified_async(
1434
2782
  self,
1435
2783
  address: StrictStr,
1436
2784
  x_refresh_token: Annotated[
@@ -1501,7 +2849,7 @@ class WalletApi:
1501
2849
  ).data
1502
2850
 
1503
2851
  @validate_call
1504
- async def wallet_verified_with_http_info(
2852
+ async def _wallet_verified_async_with_http_info(
1505
2853
  self,
1506
2854
  address: StrictStr,
1507
2855
  x_refresh_token: Annotated[
@@ -1567,12 +2915,11 @@ class WalletApi:
1567
2915
  )
1568
2916
  await response_data.read()
1569
2917
  return self.api_client.response_deserialize(
1570
- response_data=response_data,
1571
- response_types_map=_response_types_map,
2918
+ response_data=response_data, response_types_map=_response_types_map
1572
2919
  )
1573
2920
 
1574
2921
  @validate_call
1575
- async def wallet_verified_without_preload_content(
2922
+ async def _wallet_verified_async_without_preload_content(
1576
2923
  self,
1577
2924
  address: StrictStr,
1578
2925
  x_refresh_token: Annotated[
@@ -1636,7 +2983,101 @@ class WalletApi:
1636
2983
  response_data = await self.api_client.call_api(
1637
2984
  *_param, _request_timeout=_request_timeout
1638
2985
  )
1639
- return response_data.response
2986
+ return response_data
2987
+
2988
+ # Private sync implementation methods
2989
+ @validate_call
2990
+ def _wallet_verified_sync(
2991
+ self,
2992
+ address: StrictStr,
2993
+ x_refresh_token: Annotated[
2994
+ Optional[StrictStr],
2995
+ Field(description="The refresh token for rotating the access token."),
2996
+ ] = None,
2997
+ _request_timeout: Union[
2998
+ None,
2999
+ Annotated[StrictFloat, Field(gt=0)],
3000
+ Tuple[
3001
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
3002
+ ],
3003
+ ] = None,
3004
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3005
+ _content_type: Optional[StrictStr] = None,
3006
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3007
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3008
+ ) -> WalletVerified200Response:
3009
+ """Synchronous version of wallet_verified"""
3010
+ return async_to_sync(self._wallet_verified_async)(
3011
+ address=address,
3012
+ x_refresh_token=x_refresh_token,
3013
+ _request_timeout=_request_timeout,
3014
+ _request_auth=_request_auth,
3015
+ _content_type=_content_type,
3016
+ _headers=_headers,
3017
+ _host_index=_host_index,
3018
+ )
3019
+
3020
+ @validate_call
3021
+ def _wallet_verified_sync_with_http_info(
3022
+ self,
3023
+ address: StrictStr,
3024
+ x_refresh_token: Annotated[
3025
+ Optional[StrictStr],
3026
+ Field(description="The refresh token for rotating the access token."),
3027
+ ] = None,
3028
+ _request_timeout: Union[
3029
+ None,
3030
+ Annotated[StrictFloat, Field(gt=0)],
3031
+ Tuple[
3032
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
3033
+ ],
3034
+ ] = None,
3035
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3036
+ _content_type: Optional[StrictStr] = None,
3037
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3038
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3039
+ ) -> ApiResponse[WalletVerified200Response]:
3040
+ """Synchronous version of wallet_verified_with_http_info"""
3041
+ return async_to_sync(self._wallet_verified_async_with_http_info)(
3042
+ address=address,
3043
+ x_refresh_token=x_refresh_token,
3044
+ _request_timeout=_request_timeout,
3045
+ _request_auth=_request_auth,
3046
+ _content_type=_content_type,
3047
+ _headers=_headers,
3048
+ _host_index=_host_index,
3049
+ )
3050
+
3051
+ @validate_call
3052
+ def _wallet_verified_sync_without_preload_content(
3053
+ self,
3054
+ address: StrictStr,
3055
+ x_refresh_token: Annotated[
3056
+ Optional[StrictStr],
3057
+ Field(description="The refresh token for rotating the access token."),
3058
+ ] = None,
3059
+ _request_timeout: Union[
3060
+ None,
3061
+ Annotated[StrictFloat, Field(gt=0)],
3062
+ Tuple[
3063
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
3064
+ ],
3065
+ ] = None,
3066
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3067
+ _content_type: Optional[StrictStr] = None,
3068
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3069
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3070
+ ) -> RESTResponseType:
3071
+ """Synchronous version of wallet_verified_without_preload_content"""
3072
+ return async_to_sync(self._wallet_verified_async_without_preload_content)(
3073
+ address=address,
3074
+ x_refresh_token=x_refresh_token,
3075
+ _request_timeout=_request_timeout,
3076
+ _request_auth=_request_auth,
3077
+ _content_type=_content_type,
3078
+ _headers=_headers,
3079
+ _host_index=_host_index,
3080
+ )
1640
3081
 
1641
3082
  def _wallet_verified_serialize(
1642
3083
  self,