crypticorn 2.17.0rc4__py3-none-any.whl → 2.17.0rc6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. crypticorn/auth/client/api/admin_api.py +6 -26
  2. crypticorn/auth/client/api/auth_api.py +36 -148
  3. crypticorn/auth/client/api/service_api.py +3 -16
  4. crypticorn/auth/client/api/user_api.py +33 -136
  5. crypticorn/auth/client/api/wallet_api.py +18 -76
  6. crypticorn/auth/client/api_client.py +0 -5
  7. crypticorn/auth/client/models/add_wallet_request.py +1 -1
  8. crypticorn/auth/client/models/authorize_user_request.py +1 -1
  9. crypticorn/auth/client/models/create_api_key_request.py +1 -1
  10. crypticorn/auth/client/models/create_user_request.py +1 -1
  11. crypticorn/auth/client/models/get_api_keys200_response_inner.py +1 -1
  12. crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +1 -1
  13. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +1 -1
  14. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +1 -1
  15. crypticorn/auth/client/models/list_wallets200_response_data_inner.py +1 -1
  16. crypticorn/auth/client/models/logout_default_response.py +1 -1
  17. crypticorn/auth/client/models/oauth_callback200_response_user.py +1 -1
  18. crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +1 -1
  19. crypticorn/auth/client/models/rotate_tokens200_response.py +1 -1
  20. crypticorn/auth/client/models/token_info200_response.py +1 -1
  21. crypticorn/auth/client/models/update_user_request.py +1 -1
  22. crypticorn/auth/client/models/user_by_username200_response.py +1 -1
  23. crypticorn/auth/client/models/verify200_response.py +1 -1
  24. crypticorn/auth/client/models/verify_email200_response_auth.py +1 -1
  25. crypticorn/auth/client/models/verify_email200_response_auth_auth.py +1 -1
  26. crypticorn/auth/client/models/whoami200_response.py +1 -1
  27. crypticorn/cli/init.py +1 -1
  28. crypticorn/cli/templates/.env.docker.temp +3 -0
  29. crypticorn/cli/templates/.env.example.temp +4 -0
  30. crypticorn/cli/templates/Dockerfile +5 -2
  31. crypticorn/client.py +0 -1
  32. crypticorn/common/auth.py +31 -4
  33. crypticorn/common/decorators.py +1 -2
  34. crypticorn/common/enums.py +0 -2
  35. crypticorn/common/errors.py +10 -0
  36. crypticorn/common/metrics.py +1 -1
  37. crypticorn/common/middleware.py +0 -1
  38. crypticorn/common/pagination.py +116 -24
  39. crypticorn/common/router/admin_router.py +1 -11
  40. crypticorn/common/router/status_router.py +33 -2
  41. crypticorn/common/scopes.py +2 -2
  42. crypticorn/common/utils.py +1 -2
  43. crypticorn/dex/__init__.py +6 -0
  44. crypticorn/dex/client/__init__.py +49 -0
  45. crypticorn/dex/client/api/__init__.py +6 -0
  46. crypticorn/dex/client/api/admin_api.py +2983 -0
  47. crypticorn/dex/client/api/signals_api.py +1794 -0
  48. crypticorn/dex/client/api/status_api.py +889 -0
  49. crypticorn/dex/client/api_client.py +753 -0
  50. crypticorn/dex/client/api_response.py +20 -0
  51. crypticorn/dex/client/configuration.py +620 -0
  52. crypticorn/dex/client/exceptions.py +220 -0
  53. crypticorn/dex/client/models/__init__.py +30 -0
  54. crypticorn/dex/client/models/api_error_identifier.py +121 -0
  55. crypticorn/dex/client/models/api_error_level.py +37 -0
  56. crypticorn/dex/client/models/api_error_type.py +37 -0
  57. crypticorn/dex/client/models/exception_detail.py +117 -0
  58. crypticorn/dex/client/models/log_level.py +38 -0
  59. crypticorn/dex/client/models/paginated_response_signal_with_token.py +134 -0
  60. crypticorn/dex/client/models/risk.py +86 -0
  61. crypticorn/dex/client/models/signal_overview_stats.py +156 -0
  62. crypticorn/dex/client/models/signal_volume.py +84 -0
  63. crypticorn/dex/client/models/signal_with_token.py +163 -0
  64. crypticorn/dex/client/models/token_data.py +127 -0
  65. crypticorn/dex/client/models/token_detail.py +116 -0
  66. crypticorn/dex/client/py.typed +0 -0
  67. crypticorn/dex/client/rest.py +217 -0
  68. crypticorn/dex/main.py +1 -0
  69. crypticorn/hive/client/api/admin_api.py +18 -75
  70. crypticorn/hive/client/api/data_api.py +6 -28
  71. crypticorn/hive/client/api/models_api.py +22 -88
  72. crypticorn/hive/client/api/status_api.py +6 -27
  73. crypticorn/hive/client/api_client.py +0 -5
  74. crypticorn/hive/client/models/coin_info.py +1 -1
  75. crypticorn/hive/client/models/exception_detail.py +1 -1
  76. crypticorn/hive/client/models/target_info.py +1 -1
  77. crypticorn/hive/utils.py +2 -2
  78. crypticorn/klines/client/api/admin_api.py +18 -75
  79. crypticorn/klines/client/api/change_in_timeframe_api.py +3 -16
  80. crypticorn/klines/client/api/funding_rates_api.py +3 -16
  81. crypticorn/klines/client/api/ohlcv_data_api.py +3 -16
  82. crypticorn/klines/client/api/status_api.py +6 -27
  83. crypticorn/klines/client/api/symbols_api.py +3 -16
  84. crypticorn/klines/client/api/udf_api.py +18 -74
  85. crypticorn/klines/client/api_client.py +0 -5
  86. crypticorn/klines/client/models/exception_detail.py +1 -1
  87. crypticorn/klines/client/models/ohlcv.py +1 -1
  88. crypticorn/klines/client/models/symbol_group.py +1 -1
  89. crypticorn/klines/client/models/udf_config.py +1 -1
  90. crypticorn/metrics/client/api/admin_api.py +18 -75
  91. crypticorn/metrics/client/api/exchanges_api.py +12 -52
  92. crypticorn/metrics/client/api/indicators_api.py +6 -28
  93. crypticorn/metrics/client/api/logs_api.py +3 -16
  94. crypticorn/metrics/client/api/marketcap_api.py +12 -52
  95. crypticorn/metrics/client/api/markets_api.py +3 -16
  96. crypticorn/metrics/client/api/quote_currencies_api.py +3 -16
  97. crypticorn/metrics/client/api/status_api.py +6 -27
  98. crypticorn/metrics/client/api/tokens_api.py +6 -26
  99. crypticorn/metrics/client/api_client.py +0 -5
  100. crypticorn/metrics/client/models/exception_detail.py +1 -1
  101. crypticorn/metrics/client/models/exchange_mapping.py +1 -1
  102. crypticorn/metrics/client/models/marketcap_ranking.py +1 -1
  103. crypticorn/metrics/client/models/marketcap_symbol_ranking.py +1 -1
  104. crypticorn/metrics/client/models/ohlcv.py +1 -1
  105. crypticorn/pay/client/api/admin_api.py +21 -87
  106. crypticorn/pay/client/api/now_payments_api.py +15 -64
  107. crypticorn/pay/client/api/payments_api.py +6 -28
  108. crypticorn/pay/client/api/products_api.py +12 -52
  109. crypticorn/pay/client/api/status_api.py +6 -27
  110. crypticorn/pay/client/api_client.py +0 -5
  111. crypticorn/pay/client/models/exception_detail.py +1 -1
  112. crypticorn/pay/client/models/now_create_invoice_req.py +1 -1
  113. crypticorn/pay/client/models/now_create_invoice_res.py +1 -1
  114. crypticorn/pay/client/models/product.py +1 -1
  115. crypticorn/pay/client/models/product_create.py +1 -1
  116. crypticorn/pay/client/models/product_update.py +1 -1
  117. crypticorn/trade/client/__init__.py +15 -0
  118. crypticorn/trade/client/api/admin_api.py +43 -107
  119. crypticorn/trade/client/api/api_keys_api.py +207 -184
  120. crypticorn/trade/client/api/bots_api.py +6557 -240
  121. crypticorn/trade/client/api/exchanges_api.py +9 -36
  122. crypticorn/trade/client/api/notifications_api.py +18 -72
  123. crypticorn/trade/client/api/orders_api.py +220 -115
  124. crypticorn/trade/client/api/status_api.py +6 -24
  125. crypticorn/trade/client/api/strategies_api.py +15 -60
  126. crypticorn/trade/client/api/trading_actions_api.py +431 -112
  127. crypticorn/trade/client/models/__init__.py +15 -0
  128. crypticorn/trade/client/models/bot.py +7 -18
  129. crypticorn/trade/client/models/bot_create.py +17 -1
  130. crypticorn/trade/client/models/bot_update.py +17 -1
  131. crypticorn/trade/client/models/exchange_key_create.py +17 -1
  132. crypticorn/trade/client/models/exchange_key_update.py +17 -1
  133. crypticorn/trade/client/models/notification.py +17 -1
  134. crypticorn/trade/client/models/notification_create.py +17 -1
  135. crypticorn/trade/client/models/notification_update.py +17 -1
  136. crypticorn/trade/client/models/orders_count.py +88 -0
  137. crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
  138. crypticorn/trade/client/models/paginated_response_order.py +134 -0
  139. crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
  140. crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
  141. crypticorn/trade/client/models/pn_l.py +95 -0
  142. crypticorn/trade/client/models/spot_trading_action.py +207 -0
  143. crypticorn/trade/client/models/strategy.py +17 -1
  144. crypticorn/trade/client/models/strategy_create.py +17 -1
  145. crypticorn/trade/client/models/strategy_update.py +17 -1
  146. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/METADATA +3 -3
  147. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +151 -116
  148. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
  149. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
  150. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
  151. {crypticorn-2.17.0rc4.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
  Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
- import warnings
15
14
  from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
15
  from typing import Any, Dict, List, Optional, Tuple, Union
17
16
  from typing_extensions import Annotated
18
17
 
19
- from pydantic import Field, StrictStr
20
- from typing import Any, Optional
21
- from typing_extensions import Annotated
22
18
  from crypticorn.auth.client.models.create_user_request import CreateUserRequest
23
19
  from crypticorn.auth.client.models.resend_verification_email_request import (
24
20
  ResendVerificationEmailRequest,
@@ -91,10 +87,7 @@ class UserApi:
91
87
  _headers: Optional[Dict[StrictStr, Any]] = None,
92
88
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
93
89
  ) -> object:
94
- """Create User
95
-
96
- This method can work in both sync and async modes based on the is_sync flag.
97
- """
90
+ """Create User"""
98
91
  if self.is_sync:
99
92
  return self._create_user_sync(
100
93
  create_user_request=create_user_request,
@@ -131,10 +124,7 @@ class UserApi:
131
124
  _headers: Optional[Dict[StrictStr, Any]] = None,
132
125
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
133
126
  ) -> ApiResponse[object]:
134
- """Create User with HTTP info
135
-
136
- This method can work in both sync and async modes based on the is_sync flag.
137
- """
127
+ """Create User with HTTP info"""
138
128
  if self.is_sync:
139
129
  return self._create_user_sync_with_http_info(
140
130
  create_user_request=create_user_request,
@@ -171,10 +161,7 @@ class UserApi:
171
161
  _headers: Optional[Dict[StrictStr, Any]] = None,
172
162
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
173
163
  ) -> RESTResponseType:
174
- """Create User without preloading content
175
-
176
- This method can work in both sync and async modes based on the is_sync flag.
177
- """
164
+ """Create User without preloading content"""
178
165
  if self.is_sync:
179
166
  return self._create_user_sync_without_preload_content(
180
167
  create_user_request=create_user_request,
@@ -541,10 +528,7 @@ class UserApi:
541
528
  _headers: Optional[Dict[StrictStr, Any]] = None,
542
529
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
543
530
  ) -> object:
544
- """Logout
545
-
546
- This method can work in both sync and async modes based on the is_sync flag.
547
- """
531
+ """Logout"""
548
532
  if self.is_sync:
549
533
  return self._logout_sync(
550
534
  _request_timeout=_request_timeout,
@@ -578,10 +562,7 @@ class UserApi:
578
562
  _headers: Optional[Dict[StrictStr, Any]] = None,
579
563
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
580
564
  ) -> ApiResponse[object]:
581
- """Logout with HTTP info
582
-
583
- This method can work in both sync and async modes based on the is_sync flag.
584
- """
565
+ """Logout with HTTP info"""
585
566
  if self.is_sync:
586
567
  return self._logout_sync_with_http_info(
587
568
  _request_timeout=_request_timeout,
@@ -615,10 +596,7 @@ class UserApi:
615
596
  _headers: Optional[Dict[StrictStr, Any]] = None,
616
597
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
617
598
  ) -> RESTResponseType:
618
- """Logout without preloading content
619
-
620
- This method can work in both sync and async modes based on the is_sync flag.
621
- """
599
+ """Logout without preloading content"""
622
600
  if self.is_sync:
623
601
  return self._logout_sync_without_preload_content(
624
602
  _request_timeout=_request_timeout,
@@ -953,10 +931,7 @@ class UserApi:
953
931
  _headers: Optional[Dict[StrictStr, Any]] = None,
954
932
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
955
933
  ) -> object:
956
- """Resend Verification Email
957
-
958
- This method can work in both sync and async modes based on the is_sync flag.
959
- """
934
+ """Resend Verification Email"""
960
935
  if self.is_sync:
961
936
  return self._resend_verification_email_sync(
962
937
  resend_verification_email_request=resend_verification_email_request,
@@ -993,10 +968,7 @@ class UserApi:
993
968
  _headers: Optional[Dict[StrictStr, Any]] = None,
994
969
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
995
970
  ) -> ApiResponse[object]:
996
- """Resend Verification Email with HTTP info
997
-
998
- This method can work in both sync and async modes based on the is_sync flag.
999
- """
971
+ """Resend Verification Email with HTTP info"""
1000
972
  if self.is_sync:
1001
973
  return self._resend_verification_email_sync_with_http_info(
1002
974
  resend_verification_email_request=resend_verification_email_request,
@@ -1033,10 +1005,7 @@ class UserApi:
1033
1005
  _headers: Optional[Dict[StrictStr, Any]] = None,
1034
1006
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1035
1007
  ) -> RESTResponseType:
1036
- """Resend Verification Email without preloading content
1037
-
1038
- This method can work in both sync and async modes based on the is_sync flag.
1039
- """
1008
+ """Resend Verification Email without preloading content"""
1040
1009
  if self.is_sync:
1041
1010
  return self._resend_verification_email_sync_without_preload_content(
1042
1011
  resend_verification_email_request=resend_verification_email_request,
@@ -1406,10 +1375,7 @@ class UserApi:
1406
1375
  _headers: Optional[Dict[StrictStr, Any]] = None,
1407
1376
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1408
1377
  ) -> object:
1409
- """Send Password Reset Email
1410
-
1411
- This method can work in both sync and async modes based on the is_sync flag.
1412
- """
1378
+ """Send Password Reset Email"""
1413
1379
  if self.is_sync:
1414
1380
  return self._send_password_reset_email_sync(
1415
1381
  resend_verification_email_request=resend_verification_email_request,
@@ -1446,10 +1412,7 @@ class UserApi:
1446
1412
  _headers: Optional[Dict[StrictStr, Any]] = None,
1447
1413
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1448
1414
  ) -> ApiResponse[object]:
1449
- """Send Password Reset Email with HTTP info
1450
-
1451
- This method can work in both sync and async modes based on the is_sync flag.
1452
- """
1415
+ """Send Password Reset Email with HTTP info"""
1453
1416
  if self.is_sync:
1454
1417
  return self._send_password_reset_email_sync_with_http_info(
1455
1418
  resend_verification_email_request=resend_verification_email_request,
@@ -1486,10 +1449,7 @@ class UserApi:
1486
1449
  _headers: Optional[Dict[StrictStr, Any]] = None,
1487
1450
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1488
1451
  ) -> RESTResponseType:
1489
- """Send Password Reset Email without preloading content
1490
-
1491
- This method can work in both sync and async modes based on the is_sync flag.
1492
- """
1452
+ """Send Password Reset Email without preloading content"""
1493
1453
  if self.is_sync:
1494
1454
  return self._send_password_reset_email_sync_without_preload_content(
1495
1455
  resend_verification_email_request=resend_verification_email_request,
@@ -1859,10 +1819,7 @@ class UserApi:
1859
1819
  _headers: Optional[Dict[StrictStr, Any]] = None,
1860
1820
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1861
1821
  ) -> object:
1862
- """Update User
1863
-
1864
- This method can work in both sync and async modes based on the is_sync flag.
1865
- """
1822
+ """Update User"""
1866
1823
  if self.is_sync:
1867
1824
  return self._update_user_sync(
1868
1825
  update_user_request=update_user_request,
@@ -1899,10 +1856,7 @@ class UserApi:
1899
1856
  _headers: Optional[Dict[StrictStr, Any]] = None,
1900
1857
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1901
1858
  ) -> ApiResponse[object]:
1902
- """Update User with HTTP info
1903
-
1904
- This method can work in both sync and async modes based on the is_sync flag.
1905
- """
1859
+ """Update User with HTTP info"""
1906
1860
  if self.is_sync:
1907
1861
  return self._update_user_sync_with_http_info(
1908
1862
  update_user_request=update_user_request,
@@ -1939,10 +1893,7 @@ class UserApi:
1939
1893
  _headers: Optional[Dict[StrictStr, Any]] = None,
1940
1894
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1941
1895
  ) -> RESTResponseType:
1942
- """Update User without preloading content
1943
-
1944
- This method can work in both sync and async modes based on the is_sync flag.
1945
- """
1896
+ """Update User without preloading content"""
1946
1897
  if self.is_sync:
1947
1898
  return self._update_user_sync_without_preload_content(
1948
1899
  update_user_request=update_user_request,
@@ -2310,10 +2261,7 @@ class UserApi:
2310
2261
  _headers: Optional[Dict[StrictStr, Any]] = None,
2311
2262
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2312
2263
  ) -> Whoami200Response:
2313
- """User By Id
2314
-
2315
- This method can work in both sync and async modes based on the is_sync flag.
2316
- """
2264
+ """User By Id"""
2317
2265
  if self.is_sync:
2318
2266
  return self._user_by_id_sync(
2319
2267
  id=id,
@@ -2350,10 +2298,7 @@ class UserApi:
2350
2298
  _headers: Optional[Dict[StrictStr, Any]] = None,
2351
2299
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2352
2300
  ) -> ApiResponse[Whoami200Response]:
2353
- """User By Id with HTTP info
2354
-
2355
- This method can work in both sync and async modes based on the is_sync flag.
2356
- """
2301
+ """User By Id with HTTP info"""
2357
2302
  if self.is_sync:
2358
2303
  return self._user_by_id_sync_with_http_info(
2359
2304
  id=id,
@@ -2390,10 +2335,7 @@ class UserApi:
2390
2335
  _headers: Optional[Dict[StrictStr, Any]] = None,
2391
2336
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2392
2337
  ) -> RESTResponseType:
2393
- """User By Id without preloading content
2394
-
2395
- This method can work in both sync and async modes based on the is_sync flag.
2396
- """
2338
+ """User By Id without preloading content"""
2397
2339
  if self.is_sync:
2398
2340
  return self._user_by_id_sync_without_preload_content(
2399
2341
  id=id,
@@ -2753,10 +2695,7 @@ class UserApi:
2753
2695
  _headers: Optional[Dict[StrictStr, Any]] = None,
2754
2696
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2755
2697
  ) -> UserByUsername200Response:
2756
- """User By Username
2757
-
2758
- This method can work in both sync and async modes based on the is_sync flag.
2759
- """
2698
+ """User By Username"""
2760
2699
  if self.is_sync:
2761
2700
  return self._user_by_username_sync(
2762
2701
  username=username,
@@ -2793,10 +2732,7 @@ class UserApi:
2793
2732
  _headers: Optional[Dict[StrictStr, Any]] = None,
2794
2733
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2795
2734
  ) -> ApiResponse[UserByUsername200Response]:
2796
- """User By Username with HTTP info
2797
-
2798
- This method can work in both sync and async modes based on the is_sync flag.
2799
- """
2735
+ """User By Username with HTTP info"""
2800
2736
  if self.is_sync:
2801
2737
  return self._user_by_username_sync_with_http_info(
2802
2738
  username=username,
@@ -2833,10 +2769,7 @@ class UserApi:
2833
2769
  _headers: Optional[Dict[StrictStr, Any]] = None,
2834
2770
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2835
2771
  ) -> RESTResponseType:
2836
- """User By Username without preloading content
2837
-
2838
- This method can work in both sync and async modes based on the is_sync flag.
2839
- """
2772
+ """User By Username without preloading content"""
2840
2773
  if self.is_sync:
2841
2774
  return self._user_by_username_sync_without_preload_content(
2842
2775
  username=username,
@@ -3196,10 +3129,7 @@ class UserApi:
3196
3129
  _headers: Optional[Dict[StrictStr, Any]] = None,
3197
3130
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3198
3131
  ) -> VerifyEmail200Response:
3199
- """User Reset Password
3200
-
3201
- This method can work in both sync and async modes based on the is_sync flag.
3202
- """
3132
+ """User Reset Password"""
3203
3133
  if self.is_sync:
3204
3134
  return self._user_reset_password_sync(
3205
3135
  user_reset_password_request=user_reset_password_request,
@@ -3236,10 +3166,7 @@ class UserApi:
3236
3166
  _headers: Optional[Dict[StrictStr, Any]] = None,
3237
3167
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3238
3168
  ) -> ApiResponse[VerifyEmail200Response]:
3239
- """User Reset Password with HTTP info
3240
-
3241
- This method can work in both sync and async modes based on the is_sync flag.
3242
- """
3169
+ """User Reset Password with HTTP info"""
3243
3170
  if self.is_sync:
3244
3171
  return self._user_reset_password_sync_with_http_info(
3245
3172
  user_reset_password_request=user_reset_password_request,
@@ -3276,10 +3203,7 @@ class UserApi:
3276
3203
  _headers: Optional[Dict[StrictStr, Any]] = None,
3277
3204
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3278
3205
  ) -> RESTResponseType:
3279
- """User Reset Password without preloading content
3280
-
3281
- This method can work in both sync and async modes based on the is_sync flag.
3282
- """
3206
+ """User Reset Password without preloading content"""
3283
3207
  if self.is_sync:
3284
3208
  return self._user_reset_password_sync_without_preload_content(
3285
3209
  user_reset_password_request=user_reset_password_request,
@@ -3647,10 +3571,7 @@ class UserApi:
3647
3571
  _headers: Optional[Dict[StrictStr, Any]] = None,
3648
3572
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3649
3573
  ) -> object:
3650
- """User Set Password
3651
-
3652
- This method can work in both sync and async modes based on the is_sync flag.
3653
- """
3574
+ """User Set Password"""
3654
3575
  if self.is_sync:
3655
3576
  return self._user_set_password_sync(
3656
3577
  user_set_password_request=user_set_password_request,
@@ -3687,10 +3608,7 @@ class UserApi:
3687
3608
  _headers: Optional[Dict[StrictStr, Any]] = None,
3688
3609
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3689
3610
  ) -> ApiResponse[object]:
3690
- """User Set Password with HTTP info
3691
-
3692
- This method can work in both sync and async modes based on the is_sync flag.
3693
- """
3611
+ """User Set Password with HTTP info"""
3694
3612
  if self.is_sync:
3695
3613
  return self._user_set_password_sync_with_http_info(
3696
3614
  user_set_password_request=user_set_password_request,
@@ -3727,10 +3645,7 @@ class UserApi:
3727
3645
  _headers: Optional[Dict[StrictStr, Any]] = None,
3728
3646
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3729
3647
  ) -> RESTResponseType:
3730
- """User Set Password without preloading content
3731
-
3732
- This method can work in both sync and async modes based on the is_sync flag.
3733
- """
3648
+ """User Set Password without preloading content"""
3734
3649
  if self.is_sync:
3735
3650
  return self._user_set_password_sync_without_preload_content(
3736
3651
  user_set_password_request=user_set_password_request,
@@ -4098,10 +4013,7 @@ class UserApi:
4098
4013
  _headers: Optional[Dict[StrictStr, Any]] = None,
4099
4014
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4100
4015
  ) -> VerifyEmail200Response:
4101
- """Verify Email
4102
-
4103
- This method can work in both sync and async modes based on the is_sync flag.
4104
- """
4016
+ """Verify Email"""
4105
4017
  if self.is_sync:
4106
4018
  return self._verify_email_sync(
4107
4019
  verify_email_request=verify_email_request,
@@ -4138,10 +4050,7 @@ class UserApi:
4138
4050
  _headers: Optional[Dict[StrictStr, Any]] = None,
4139
4051
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4140
4052
  ) -> ApiResponse[VerifyEmail200Response]:
4141
- """Verify Email with HTTP info
4142
-
4143
- This method can work in both sync and async modes based on the is_sync flag.
4144
- """
4053
+ """Verify Email with HTTP info"""
4145
4054
  if self.is_sync:
4146
4055
  return self._verify_email_sync_with_http_info(
4147
4056
  verify_email_request=verify_email_request,
@@ -4178,10 +4087,7 @@ class UserApi:
4178
4087
  _headers: Optional[Dict[StrictStr, Any]] = None,
4179
4088
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4180
4089
  ) -> RESTResponseType:
4181
- """Verify Email without preloading content
4182
-
4183
- This method can work in both sync and async modes based on the is_sync flag.
4184
- """
4090
+ """Verify Email without preloading content"""
4185
4091
  if self.is_sync:
4186
4092
  return self._verify_email_sync_without_preload_content(
4187
4093
  verify_email_request=verify_email_request,
@@ -4552,10 +4458,7 @@ class UserApi:
4552
4458
  _headers: Optional[Dict[StrictStr, Any]] = None,
4553
4459
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4554
4460
  ) -> Whoami200Response:
4555
- """Whoami
4556
-
4557
- This method can work in both sync and async modes based on the is_sync flag.
4558
- """
4461
+ """Whoami"""
4559
4462
  if self.is_sync:
4560
4463
  return self._whoami_sync(
4561
4464
  x_refresh_token=x_refresh_token,
@@ -4595,10 +4498,7 @@ class UserApi:
4595
4498
  _headers: Optional[Dict[StrictStr, Any]] = None,
4596
4499
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4597
4500
  ) -> ApiResponse[Whoami200Response]:
4598
- """Whoami with HTTP info
4599
-
4600
- This method can work in both sync and async modes based on the is_sync flag.
4601
- """
4501
+ """Whoami with HTTP info"""
4602
4502
  if self.is_sync:
4603
4503
  return self._whoami_sync_with_http_info(
4604
4504
  x_refresh_token=x_refresh_token,
@@ -4638,10 +4538,7 @@ class UserApi:
4638
4538
  _headers: Optional[Dict[StrictStr, Any]] = None,
4639
4539
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4640
4540
  ) -> RESTResponseType:
4641
- """Whoami without preloading content
4642
-
4643
- This method can work in both sync and async modes based on the is_sync flag.
4644
- """
4541
+ """Whoami without preloading content"""
4645
4542
  if self.is_sync:
4646
4543
  return self._whoami_sync_without_preload_content(
4647
4544
  x_refresh_token=x_refresh_token,
@@ -11,14 +11,10 @@ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
  Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
- import warnings
15
14
  from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
15
  from typing import Any, Dict, List, Optional, Tuple, Union
17
16
  from typing_extensions import Annotated
18
17
 
19
- from pydantic import Field, StrictFloat, StrictInt, StrictStr
20
- from typing import Any, Optional, Union
21
- from typing_extensions import Annotated
22
18
  from crypticorn.auth.client.models.add_wallet200_response import AddWallet200Response
23
19
  from crypticorn.auth.client.models.add_wallet_request import AddWalletRequest
24
20
  from crypticorn.auth.client.models.list_wallets200_response import (
@@ -89,10 +85,7 @@ class WalletApi:
89
85
  _headers: Optional[Dict[StrictStr, Any]] = None,
90
86
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
91
87
  ) -> 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
- """
88
+ """Add a wallet to the user"""
96
89
  if self.is_sync:
97
90
  return self._add_wallet_sync(
98
91
  add_wallet_request=add_wallet_request,
@@ -135,10 +128,7 @@ class WalletApi:
135
128
  _headers: Optional[Dict[StrictStr, Any]] = None,
136
129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
137
130
  ) -> 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
- """
131
+ """Add a wallet to the user with HTTP info"""
142
132
  if self.is_sync:
143
133
  return self._add_wallet_sync_with_http_info(
144
134
  add_wallet_request=add_wallet_request,
@@ -181,10 +171,7 @@ class WalletApi:
181
171
  _headers: Optional[Dict[StrictStr, Any]] = None,
182
172
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
183
173
  ) -> 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
- """
174
+ """Add a wallet to the user without preloading content"""
188
175
  if self.is_sync:
189
176
  return self._add_wallet_sync_without_preload_content(
190
177
  add_wallet_request=add_wallet_request,
@@ -596,10 +583,7 @@ class WalletApi:
596
583
  _headers: Optional[Dict[StrictStr, Any]] = None,
597
584
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
598
585
  ) -> 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
- """
586
+ """Get the balances of the user"""
603
587
  if self.is_sync:
604
588
  return self._get_balances_sync(
605
589
  x_refresh_token=x_refresh_token,
@@ -639,10 +623,7 @@ class WalletApi:
639
623
  _headers: Optional[Dict[StrictStr, Any]] = None,
640
624
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
641
625
  ) -> 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
- """
626
+ """Get the balances of the user with HTTP info"""
646
627
  if self.is_sync:
647
628
  return self._get_balances_sync_with_http_info(
648
629
  x_refresh_token=x_refresh_token,
@@ -682,10 +663,7 @@ class WalletApi:
682
663
  _headers: Optional[Dict[StrictStr, Any]] = None,
683
664
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
684
665
  ) -> 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
- """
666
+ """Get the balances of the user without preloading content"""
689
667
  if self.is_sync:
690
668
  return self._get_balances_sync_without_preload_content(
691
669
  x_refresh_token=x_refresh_token,
@@ -1071,10 +1049,7 @@ class WalletApi:
1071
1049
  _headers: Optional[Dict[StrictStr, Any]] = None,
1072
1050
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1073
1051
  ) -> ListWallets200Response:
1074
- """List wallets
1075
-
1076
- This method can work in both sync and async modes based on the is_sync flag.
1077
- """
1052
+ """List wallets"""
1078
1053
  if self.is_sync:
1079
1054
  return self._list_wallets_sync(
1080
1055
  x_refresh_token=x_refresh_token,
@@ -1125,10 +1100,7 @@ class WalletApi:
1125
1100
  _headers: Optional[Dict[StrictStr, Any]] = None,
1126
1101
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1127
1102
  ) -> 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
- """
1103
+ """List wallets with HTTP info"""
1132
1104
  if self.is_sync:
1133
1105
  return self._list_wallets_sync_with_http_info(
1134
1106
  x_refresh_token=x_refresh_token,
@@ -1179,10 +1151,7 @@ class WalletApi:
1179
1151
  _headers: Optional[Dict[StrictStr, Any]] = None,
1180
1152
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1181
1153
  ) -> 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
- """
1154
+ """List wallets without preloading content"""
1186
1155
  if self.is_sync:
1187
1156
  return self._list_wallets_sync_without_preload_content(
1188
1157
  x_refresh_token=x_refresh_token,
@@ -1642,10 +1611,7 @@ class WalletApi:
1642
1611
  _headers: Optional[Dict[StrictStr, Any]] = None,
1643
1612
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1644
1613
  ) -> object:
1645
- """Unlink a wallet
1646
-
1647
- This method can work in both sync and async modes based on the is_sync flag.
1648
- """
1614
+ """Unlink a wallet"""
1649
1615
  if self.is_sync:
1650
1616
  return self._unlink_wallet_sync(
1651
1617
  unlink_wallet_request=unlink_wallet_request,
@@ -1688,10 +1654,7 @@ class WalletApi:
1688
1654
  _headers: Optional[Dict[StrictStr, Any]] = None,
1689
1655
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1690
1656
  ) -> 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
- """
1657
+ """Unlink a wallet with HTTP info"""
1695
1658
  if self.is_sync:
1696
1659
  return self._unlink_wallet_sync_with_http_info(
1697
1660
  unlink_wallet_request=unlink_wallet_request,
@@ -1734,10 +1697,7 @@ class WalletApi:
1734
1697
  _headers: Optional[Dict[StrictStr, Any]] = None,
1735
1698
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1736
1699
  ) -> 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
- """
1700
+ """Unlink a wallet without preloading content"""
1741
1701
  if self.is_sync:
1742
1702
  return self._unlink_wallet_sync_without_preload_content(
1743
1703
  unlink_wallet_request=unlink_wallet_request,
@@ -2150,10 +2110,7 @@ class WalletApi:
2150
2110
  _headers: Optional[Dict[StrictStr, Any]] = None,
2151
2111
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2152
2112
  ) -> object:
2153
- """Verify a wallet
2154
-
2155
- This method can work in both sync and async modes based on the is_sync flag.
2156
- """
2113
+ """Verify a wallet"""
2157
2114
  if self.is_sync:
2158
2115
  return self._verify_wallet_sync(
2159
2116
  verify_wallet_request=verify_wallet_request,
@@ -2196,10 +2153,7 @@ class WalletApi:
2196
2153
  _headers: Optional[Dict[StrictStr, Any]] = None,
2197
2154
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2198
2155
  ) -> 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
- """
2156
+ """Verify a wallet with HTTP info"""
2203
2157
  if self.is_sync:
2204
2158
  return self._verify_wallet_sync_with_http_info(
2205
2159
  verify_wallet_request=verify_wallet_request,
@@ -2242,10 +2196,7 @@ class WalletApi:
2242
2196
  _headers: Optional[Dict[StrictStr, Any]] = None,
2243
2197
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2244
2198
  ) -> 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
- """
2199
+ """Verify a wallet without preloading content"""
2249
2200
  if self.is_sync:
2250
2201
  return self._verify_wallet_sync_without_preload_content(
2251
2202
  verify_wallet_request=verify_wallet_request,
@@ -2658,10 +2609,7 @@ class WalletApi:
2658
2609
  _headers: Optional[Dict[StrictStr, Any]] = None,
2659
2610
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2660
2611
  ) -> 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
- """
2612
+ """Check if a wallet is verified"""
2665
2613
  if self.is_sync:
2666
2614
  return self._wallet_verified_sync(
2667
2615
  address=address,
@@ -2704,10 +2652,7 @@ class WalletApi:
2704
2652
  _headers: Optional[Dict[StrictStr, Any]] = None,
2705
2653
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2706
2654
  ) -> 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
- """
2655
+ """Check if a wallet is verified with HTTP info"""
2711
2656
  if self.is_sync:
2712
2657
  return self._wallet_verified_sync_with_http_info(
2713
2658
  address=address,
@@ -2750,10 +2695,7 @@ class WalletApi:
2750
2695
  _headers: Optional[Dict[StrictStr, Any]] = None,
2751
2696
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2752
2697
  ) -> 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
- """
2698
+ """Check if a wallet is verified without preloading content"""
2757
2699
  if self.is_sync:
2758
2700
  return self._wallet_verified_sync_without_preload_content(
2759
2701
  address=address,
@@ -33,11 +33,6 @@ from crypticorn.auth.client import rest
33
33
  from crypticorn.auth.client.exceptions import (
34
34
  ApiValueError,
35
35
  ApiException,
36
- BadRequestException,
37
- UnauthorizedException,
38
- ForbiddenException,
39
- NotFoundException,
40
- ServiceException,
41
36
  )
42
37
 
43
38
  RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional, Union
22
- from typing import Optional, Set
22
+ from typing import Set
23
23
  from typing_extensions import Self
24
24
 
25
25
 
@@ -20,7 +20,7 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictBool
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
- from typing import Optional, Set
23
+ from typing import Set
24
24
  from typing_extensions import Self
25
25
 
26
26
 
@@ -21,7 +21,7 @@ from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing_extensions import Annotated
24
- from typing import Optional, Set
24
+ from typing import Set
25
25
  from typing_extensions import Self
26
26
 
27
27
 
@@ -20,7 +20,7 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
- from typing import Optional, Set
23
+ from typing import Set
24
24
  from typing_extensions import Self
25
25
 
26
26