crypticorn 2.17.0rc5__py3-none-any.whl → 2.17.0rc7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crypticorn/auth/client/api/admin_api.py +6 -24
- crypticorn/auth/client/api/auth_api.py +36 -144
- crypticorn/auth/client/api/service_api.py +3 -12
- crypticorn/auth/client/api/user_api.py +33 -132
- crypticorn/auth/client/api/wallet_api.py +18 -72
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/common/auth.py +30 -0
- crypticorn/common/errors.py +10 -0
- crypticorn/common/pagination.py +1 -1
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +30 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/dex/client/api/admin_api.py +21 -84
- crypticorn/dex/client/api/signals_api.py +9 -36
- crypticorn/dex/client/api/status_api.py +6 -24
- crypticorn/hive/client/api/admin_api.py +18 -72
- crypticorn/hive/client/api/data_api.py +6 -24
- crypticorn/hive/client/api/models_api.py +21 -84
- crypticorn/hive/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/admin_api.py +18 -72
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -12
- crypticorn/klines/client/api/funding_rates_api.py +3 -12
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -12
- crypticorn/klines/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/symbols_api.py +3 -12
- crypticorn/klines/client/api/udf_api.py +18 -72
- crypticorn/metrics/client/api/admin_api.py +18 -72
- crypticorn/metrics/client/api/exchanges_api.py +12 -48
- crypticorn/metrics/client/api/indicators_api.py +6 -24
- crypticorn/metrics/client/api/logs_api.py +3 -12
- crypticorn/metrics/client/api/marketcap_api.py +12 -48
- crypticorn/metrics/client/api/markets_api.py +3 -12
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -12
- crypticorn/metrics/client/api/status_api.py +6 -24
- crypticorn/metrics/client/api/tokens_api.py +6 -24
- crypticorn/pay/client/api/admin_api.py +21 -84
- crypticorn/pay/client/api/now_payments_api.py +15 -60
- crypticorn/pay/client/api/payments_api.py +6 -24
- crypticorn/pay/client/api/products_api.py +12 -48
- crypticorn/pay/client/api/status_api.py +6 -24
- crypticorn/trade/client/__init__.py +10 -0
- crypticorn/trade/client/api/admin_api.py +21 -84
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +2435 -662
- crypticorn/trade/client/api/exchanges_api.py +9 -36
- crypticorn/trade/client/api/notifications_api.py +18 -72
- crypticorn/trade/client/api/orders_api.py +3 -12
- crypticorn/trade/client/api/status_api.py +6 -24
- crypticorn/trade/client/api/strategies_api.py +15 -60
- crypticorn/trade/client/api/trading_actions_api.py +431 -112
- crypticorn/trade/client/configuration.py +2 -2
- crypticorn/trade/client/models/__init__.py +10 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/RECORD +62 -58
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/top_level.txt +0 -0
@@ -87,10 +87,7 @@ class UserApi:
|
|
87
87
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
88
88
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
89
89
|
) -> object:
|
90
|
-
"""Create User
|
91
|
-
|
92
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
93
|
-
"""
|
90
|
+
"""Create User"""
|
94
91
|
if self.is_sync:
|
95
92
|
return self._create_user_sync(
|
96
93
|
create_user_request=create_user_request,
|
@@ -127,10 +124,7 @@ class UserApi:
|
|
127
124
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
128
125
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
129
126
|
) -> ApiResponse[object]:
|
130
|
-
"""Create User with HTTP info
|
131
|
-
|
132
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
133
|
-
"""
|
127
|
+
"""Create User with HTTP info"""
|
134
128
|
if self.is_sync:
|
135
129
|
return self._create_user_sync_with_http_info(
|
136
130
|
create_user_request=create_user_request,
|
@@ -167,10 +161,7 @@ class UserApi:
|
|
167
161
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
168
162
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
169
163
|
) -> RESTResponseType:
|
170
|
-
"""Create User without preloading content
|
171
|
-
|
172
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
173
|
-
"""
|
164
|
+
"""Create User without preloading content"""
|
174
165
|
if self.is_sync:
|
175
166
|
return self._create_user_sync_without_preload_content(
|
176
167
|
create_user_request=create_user_request,
|
@@ -537,10 +528,7 @@ class UserApi:
|
|
537
528
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
538
529
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
539
530
|
) -> object:
|
540
|
-
"""Logout
|
541
|
-
|
542
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
543
|
-
"""
|
531
|
+
"""Logout"""
|
544
532
|
if self.is_sync:
|
545
533
|
return self._logout_sync(
|
546
534
|
_request_timeout=_request_timeout,
|
@@ -574,10 +562,7 @@ class UserApi:
|
|
574
562
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
575
563
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
576
564
|
) -> ApiResponse[object]:
|
577
|
-
"""Logout with HTTP info
|
578
|
-
|
579
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
580
|
-
"""
|
565
|
+
"""Logout with HTTP info"""
|
581
566
|
if self.is_sync:
|
582
567
|
return self._logout_sync_with_http_info(
|
583
568
|
_request_timeout=_request_timeout,
|
@@ -611,10 +596,7 @@ class UserApi:
|
|
611
596
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
612
597
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
613
598
|
) -> RESTResponseType:
|
614
|
-
"""Logout without preloading content
|
615
|
-
|
616
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
617
|
-
"""
|
599
|
+
"""Logout without preloading content"""
|
618
600
|
if self.is_sync:
|
619
601
|
return self._logout_sync_without_preload_content(
|
620
602
|
_request_timeout=_request_timeout,
|
@@ -949,10 +931,7 @@ class UserApi:
|
|
949
931
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
950
932
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
951
933
|
) -> object:
|
952
|
-
"""Resend Verification Email
|
953
|
-
|
954
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
955
|
-
"""
|
934
|
+
"""Resend Verification Email"""
|
956
935
|
if self.is_sync:
|
957
936
|
return self._resend_verification_email_sync(
|
958
937
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -989,10 +968,7 @@ class UserApi:
|
|
989
968
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
990
969
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
991
970
|
) -> ApiResponse[object]:
|
992
|
-
"""Resend Verification Email with HTTP info
|
993
|
-
|
994
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
995
|
-
"""
|
971
|
+
"""Resend Verification Email with HTTP info"""
|
996
972
|
if self.is_sync:
|
997
973
|
return self._resend_verification_email_sync_with_http_info(
|
998
974
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -1029,10 +1005,7 @@ class UserApi:
|
|
1029
1005
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1030
1006
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1031
1007
|
) -> RESTResponseType:
|
1032
|
-
"""Resend Verification Email without preloading content
|
1033
|
-
|
1034
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1035
|
-
"""
|
1008
|
+
"""Resend Verification Email without preloading content"""
|
1036
1009
|
if self.is_sync:
|
1037
1010
|
return self._resend_verification_email_sync_without_preload_content(
|
1038
1011
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -1402,10 +1375,7 @@ class UserApi:
|
|
1402
1375
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1403
1376
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1404
1377
|
) -> object:
|
1405
|
-
"""Send Password Reset Email
|
1406
|
-
|
1407
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1408
|
-
"""
|
1378
|
+
"""Send Password Reset Email"""
|
1409
1379
|
if self.is_sync:
|
1410
1380
|
return self._send_password_reset_email_sync(
|
1411
1381
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -1442,10 +1412,7 @@ class UserApi:
|
|
1442
1412
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1443
1413
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1444
1414
|
) -> ApiResponse[object]:
|
1445
|
-
"""Send Password Reset Email with HTTP info
|
1446
|
-
|
1447
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1448
|
-
"""
|
1415
|
+
"""Send Password Reset Email with HTTP info"""
|
1449
1416
|
if self.is_sync:
|
1450
1417
|
return self._send_password_reset_email_sync_with_http_info(
|
1451
1418
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -1482,10 +1449,7 @@ class UserApi:
|
|
1482
1449
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1483
1450
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1484
1451
|
) -> RESTResponseType:
|
1485
|
-
"""Send Password Reset Email without preloading content
|
1486
|
-
|
1487
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1488
|
-
"""
|
1452
|
+
"""Send Password Reset Email without preloading content"""
|
1489
1453
|
if self.is_sync:
|
1490
1454
|
return self._send_password_reset_email_sync_without_preload_content(
|
1491
1455
|
resend_verification_email_request=resend_verification_email_request,
|
@@ -1855,10 +1819,7 @@ class UserApi:
|
|
1855
1819
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1856
1820
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1857
1821
|
) -> object:
|
1858
|
-
"""Update User
|
1859
|
-
|
1860
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1861
|
-
"""
|
1822
|
+
"""Update User"""
|
1862
1823
|
if self.is_sync:
|
1863
1824
|
return self._update_user_sync(
|
1864
1825
|
update_user_request=update_user_request,
|
@@ -1895,10 +1856,7 @@ class UserApi:
|
|
1895
1856
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1896
1857
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1897
1858
|
) -> ApiResponse[object]:
|
1898
|
-
"""Update User with HTTP info
|
1899
|
-
|
1900
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1901
|
-
"""
|
1859
|
+
"""Update User with HTTP info"""
|
1902
1860
|
if self.is_sync:
|
1903
1861
|
return self._update_user_sync_with_http_info(
|
1904
1862
|
update_user_request=update_user_request,
|
@@ -1935,10 +1893,7 @@ class UserApi:
|
|
1935
1893
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1936
1894
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1937
1895
|
) -> RESTResponseType:
|
1938
|
-
"""Update User without preloading content
|
1939
|
-
|
1940
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1941
|
-
"""
|
1896
|
+
"""Update User without preloading content"""
|
1942
1897
|
if self.is_sync:
|
1943
1898
|
return self._update_user_sync_without_preload_content(
|
1944
1899
|
update_user_request=update_user_request,
|
@@ -2306,10 +2261,7 @@ class UserApi:
|
|
2306
2261
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2307
2262
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2308
2263
|
) -> Whoami200Response:
|
2309
|
-
"""User By Id
|
2310
|
-
|
2311
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2312
|
-
"""
|
2264
|
+
"""User By Id"""
|
2313
2265
|
if self.is_sync:
|
2314
2266
|
return self._user_by_id_sync(
|
2315
2267
|
id=id,
|
@@ -2346,10 +2298,7 @@ class UserApi:
|
|
2346
2298
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2347
2299
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2348
2300
|
) -> ApiResponse[Whoami200Response]:
|
2349
|
-
"""User By Id with HTTP info
|
2350
|
-
|
2351
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2352
|
-
"""
|
2301
|
+
"""User By Id with HTTP info"""
|
2353
2302
|
if self.is_sync:
|
2354
2303
|
return self._user_by_id_sync_with_http_info(
|
2355
2304
|
id=id,
|
@@ -2386,10 +2335,7 @@ class UserApi:
|
|
2386
2335
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2387
2336
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2388
2337
|
) -> RESTResponseType:
|
2389
|
-
"""User By Id without preloading content
|
2390
|
-
|
2391
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2392
|
-
"""
|
2338
|
+
"""User By Id without preloading content"""
|
2393
2339
|
if self.is_sync:
|
2394
2340
|
return self._user_by_id_sync_without_preload_content(
|
2395
2341
|
id=id,
|
@@ -2749,10 +2695,7 @@ class UserApi:
|
|
2749
2695
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2750
2696
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2751
2697
|
) -> UserByUsername200Response:
|
2752
|
-
"""User By Username
|
2753
|
-
|
2754
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2755
|
-
"""
|
2698
|
+
"""User By Username"""
|
2756
2699
|
if self.is_sync:
|
2757
2700
|
return self._user_by_username_sync(
|
2758
2701
|
username=username,
|
@@ -2789,10 +2732,7 @@ class UserApi:
|
|
2789
2732
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2790
2733
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2791
2734
|
) -> ApiResponse[UserByUsername200Response]:
|
2792
|
-
"""User By Username with HTTP info
|
2793
|
-
|
2794
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2795
|
-
"""
|
2735
|
+
"""User By Username with HTTP info"""
|
2796
2736
|
if self.is_sync:
|
2797
2737
|
return self._user_by_username_sync_with_http_info(
|
2798
2738
|
username=username,
|
@@ -2829,10 +2769,7 @@ class UserApi:
|
|
2829
2769
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2830
2770
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2831
2771
|
) -> RESTResponseType:
|
2832
|
-
"""User By Username without preloading content
|
2833
|
-
|
2834
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2835
|
-
"""
|
2772
|
+
"""User By Username without preloading content"""
|
2836
2773
|
if self.is_sync:
|
2837
2774
|
return self._user_by_username_sync_without_preload_content(
|
2838
2775
|
username=username,
|
@@ -3192,10 +3129,7 @@ class UserApi:
|
|
3192
3129
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3193
3130
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3194
3131
|
) -> VerifyEmail200Response:
|
3195
|
-
"""User Reset Password
|
3196
|
-
|
3197
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3198
|
-
"""
|
3132
|
+
"""User Reset Password"""
|
3199
3133
|
if self.is_sync:
|
3200
3134
|
return self._user_reset_password_sync(
|
3201
3135
|
user_reset_password_request=user_reset_password_request,
|
@@ -3232,10 +3166,7 @@ class UserApi:
|
|
3232
3166
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3233
3167
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3234
3168
|
) -> ApiResponse[VerifyEmail200Response]:
|
3235
|
-
"""User Reset Password with HTTP info
|
3236
|
-
|
3237
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3238
|
-
"""
|
3169
|
+
"""User Reset Password with HTTP info"""
|
3239
3170
|
if self.is_sync:
|
3240
3171
|
return self._user_reset_password_sync_with_http_info(
|
3241
3172
|
user_reset_password_request=user_reset_password_request,
|
@@ -3272,10 +3203,7 @@ class UserApi:
|
|
3272
3203
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3273
3204
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3274
3205
|
) -> RESTResponseType:
|
3275
|
-
"""User Reset Password without preloading content
|
3276
|
-
|
3277
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3278
|
-
"""
|
3206
|
+
"""User Reset Password without preloading content"""
|
3279
3207
|
if self.is_sync:
|
3280
3208
|
return self._user_reset_password_sync_without_preload_content(
|
3281
3209
|
user_reset_password_request=user_reset_password_request,
|
@@ -3643,10 +3571,7 @@ class UserApi:
|
|
3643
3571
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3644
3572
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3645
3573
|
) -> object:
|
3646
|
-
"""User Set Password
|
3647
|
-
|
3648
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3649
|
-
"""
|
3574
|
+
"""User Set Password"""
|
3650
3575
|
if self.is_sync:
|
3651
3576
|
return self._user_set_password_sync(
|
3652
3577
|
user_set_password_request=user_set_password_request,
|
@@ -3683,10 +3608,7 @@ class UserApi:
|
|
3683
3608
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3684
3609
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3685
3610
|
) -> ApiResponse[object]:
|
3686
|
-
"""User Set Password with HTTP info
|
3687
|
-
|
3688
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3689
|
-
"""
|
3611
|
+
"""User Set Password with HTTP info"""
|
3690
3612
|
if self.is_sync:
|
3691
3613
|
return self._user_set_password_sync_with_http_info(
|
3692
3614
|
user_set_password_request=user_set_password_request,
|
@@ -3723,10 +3645,7 @@ class UserApi:
|
|
3723
3645
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3724
3646
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
3725
3647
|
) -> RESTResponseType:
|
3726
|
-
"""User Set Password without preloading content
|
3727
|
-
|
3728
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
3729
|
-
"""
|
3648
|
+
"""User Set Password without preloading content"""
|
3730
3649
|
if self.is_sync:
|
3731
3650
|
return self._user_set_password_sync_without_preload_content(
|
3732
3651
|
user_set_password_request=user_set_password_request,
|
@@ -4094,10 +4013,7 @@ class UserApi:
|
|
4094
4013
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4095
4014
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4096
4015
|
) -> VerifyEmail200Response:
|
4097
|
-
"""Verify Email
|
4098
|
-
|
4099
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4100
|
-
"""
|
4016
|
+
"""Verify Email"""
|
4101
4017
|
if self.is_sync:
|
4102
4018
|
return self._verify_email_sync(
|
4103
4019
|
verify_email_request=verify_email_request,
|
@@ -4134,10 +4050,7 @@ class UserApi:
|
|
4134
4050
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4135
4051
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4136
4052
|
) -> ApiResponse[VerifyEmail200Response]:
|
4137
|
-
"""Verify Email with HTTP info
|
4138
|
-
|
4139
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4140
|
-
"""
|
4053
|
+
"""Verify Email with HTTP info"""
|
4141
4054
|
if self.is_sync:
|
4142
4055
|
return self._verify_email_sync_with_http_info(
|
4143
4056
|
verify_email_request=verify_email_request,
|
@@ -4174,10 +4087,7 @@ class UserApi:
|
|
4174
4087
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4175
4088
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4176
4089
|
) -> RESTResponseType:
|
4177
|
-
"""Verify Email without preloading content
|
4178
|
-
|
4179
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4180
|
-
"""
|
4090
|
+
"""Verify Email without preloading content"""
|
4181
4091
|
if self.is_sync:
|
4182
4092
|
return self._verify_email_sync_without_preload_content(
|
4183
4093
|
verify_email_request=verify_email_request,
|
@@ -4548,10 +4458,7 @@ class UserApi:
|
|
4548
4458
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4549
4459
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4550
4460
|
) -> Whoami200Response:
|
4551
|
-
"""Whoami
|
4552
|
-
|
4553
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4554
|
-
"""
|
4461
|
+
"""Whoami"""
|
4555
4462
|
if self.is_sync:
|
4556
4463
|
return self._whoami_sync(
|
4557
4464
|
x_refresh_token=x_refresh_token,
|
@@ -4591,10 +4498,7 @@ class UserApi:
|
|
4591
4498
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4592
4499
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4593
4500
|
) -> ApiResponse[Whoami200Response]:
|
4594
|
-
"""Whoami with HTTP info
|
4595
|
-
|
4596
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4597
|
-
"""
|
4501
|
+
"""Whoami with HTTP info"""
|
4598
4502
|
if self.is_sync:
|
4599
4503
|
return self._whoami_sync_with_http_info(
|
4600
4504
|
x_refresh_token=x_refresh_token,
|
@@ -4634,10 +4538,7 @@ class UserApi:
|
|
4634
4538
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4635
4539
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
4636
4540
|
) -> RESTResponseType:
|
4637
|
-
"""Whoami without preloading content
|
4638
|
-
|
4639
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
4640
|
-
"""
|
4541
|
+
"""Whoami without preloading content"""
|
4641
4542
|
if self.is_sync:
|
4642
4543
|
return self._whoami_sync_without_preload_content(
|
4643
4544
|
x_refresh_token=x_refresh_token,
|
@@ -85,10 +85,7 @@ class WalletApi:
|
|
85
85
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
86
86
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
87
87
|
) -> AddWallet200Response:
|
88
|
-
"""Add a wallet to the user
|
89
|
-
|
90
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
91
|
-
"""
|
88
|
+
"""Add a wallet to the user"""
|
92
89
|
if self.is_sync:
|
93
90
|
return self._add_wallet_sync(
|
94
91
|
add_wallet_request=add_wallet_request,
|
@@ -131,10 +128,7 @@ class WalletApi:
|
|
131
128
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
132
129
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
133
130
|
) -> ApiResponse[AddWallet200Response]:
|
134
|
-
"""Add a wallet to the user with HTTP info
|
135
|
-
|
136
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
137
|
-
"""
|
131
|
+
"""Add a wallet to the user with HTTP info"""
|
138
132
|
if self.is_sync:
|
139
133
|
return self._add_wallet_sync_with_http_info(
|
140
134
|
add_wallet_request=add_wallet_request,
|
@@ -177,10 +171,7 @@ class WalletApi:
|
|
177
171
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
178
172
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
179
173
|
) -> RESTResponseType:
|
180
|
-
"""Add a wallet to the user without preloading content
|
181
|
-
|
182
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
183
|
-
"""
|
174
|
+
"""Add a wallet to the user without preloading content"""
|
184
175
|
if self.is_sync:
|
185
176
|
return self._add_wallet_sync_without_preload_content(
|
186
177
|
add_wallet_request=add_wallet_request,
|
@@ -592,10 +583,7 @@ class WalletApi:
|
|
592
583
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
593
584
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
594
585
|
) -> ListWallets200ResponseUserValue:
|
595
|
-
"""Get the balances of the user
|
596
|
-
|
597
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
598
|
-
"""
|
586
|
+
"""Get the balances of the user"""
|
599
587
|
if self.is_sync:
|
600
588
|
return self._get_balances_sync(
|
601
589
|
x_refresh_token=x_refresh_token,
|
@@ -635,10 +623,7 @@ class WalletApi:
|
|
635
623
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
636
624
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
637
625
|
) -> ApiResponse[ListWallets200ResponseUserValue]:
|
638
|
-
"""Get the balances of the user with HTTP info
|
639
|
-
|
640
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
641
|
-
"""
|
626
|
+
"""Get the balances of the user with HTTP info"""
|
642
627
|
if self.is_sync:
|
643
628
|
return self._get_balances_sync_with_http_info(
|
644
629
|
x_refresh_token=x_refresh_token,
|
@@ -678,10 +663,7 @@ class WalletApi:
|
|
678
663
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
679
664
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
680
665
|
) -> RESTResponseType:
|
681
|
-
"""Get the balances of the user without preloading content
|
682
|
-
|
683
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
684
|
-
"""
|
666
|
+
"""Get the balances of the user without preloading content"""
|
685
667
|
if self.is_sync:
|
686
668
|
return self._get_balances_sync_without_preload_content(
|
687
669
|
x_refresh_token=x_refresh_token,
|
@@ -1067,10 +1049,7 @@ class WalletApi:
|
|
1067
1049
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1068
1050
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1069
1051
|
) -> ListWallets200Response:
|
1070
|
-
"""List wallets
|
1071
|
-
|
1072
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1073
|
-
"""
|
1052
|
+
"""List wallets"""
|
1074
1053
|
if self.is_sync:
|
1075
1054
|
return self._list_wallets_sync(
|
1076
1055
|
x_refresh_token=x_refresh_token,
|
@@ -1121,10 +1100,7 @@ class WalletApi:
|
|
1121
1100
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1122
1101
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1123
1102
|
) -> ApiResponse[ListWallets200Response]:
|
1124
|
-
"""List wallets with HTTP info
|
1125
|
-
|
1126
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1127
|
-
"""
|
1103
|
+
"""List wallets with HTTP info"""
|
1128
1104
|
if self.is_sync:
|
1129
1105
|
return self._list_wallets_sync_with_http_info(
|
1130
1106
|
x_refresh_token=x_refresh_token,
|
@@ -1175,10 +1151,7 @@ class WalletApi:
|
|
1175
1151
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1176
1152
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1177
1153
|
) -> RESTResponseType:
|
1178
|
-
"""List wallets without preloading content
|
1179
|
-
|
1180
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1181
|
-
"""
|
1154
|
+
"""List wallets without preloading content"""
|
1182
1155
|
if self.is_sync:
|
1183
1156
|
return self._list_wallets_sync_without_preload_content(
|
1184
1157
|
x_refresh_token=x_refresh_token,
|
@@ -1638,10 +1611,7 @@ class WalletApi:
|
|
1638
1611
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1639
1612
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1640
1613
|
) -> object:
|
1641
|
-
"""Unlink a wallet
|
1642
|
-
|
1643
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1644
|
-
"""
|
1614
|
+
"""Unlink a wallet"""
|
1645
1615
|
if self.is_sync:
|
1646
1616
|
return self._unlink_wallet_sync(
|
1647
1617
|
unlink_wallet_request=unlink_wallet_request,
|
@@ -1684,10 +1654,7 @@ class WalletApi:
|
|
1684
1654
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1685
1655
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1686
1656
|
) -> ApiResponse[object]:
|
1687
|
-
"""Unlink a wallet with HTTP info
|
1688
|
-
|
1689
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1690
|
-
"""
|
1657
|
+
"""Unlink a wallet with HTTP info"""
|
1691
1658
|
if self.is_sync:
|
1692
1659
|
return self._unlink_wallet_sync_with_http_info(
|
1693
1660
|
unlink_wallet_request=unlink_wallet_request,
|
@@ -1730,10 +1697,7 @@ class WalletApi:
|
|
1730
1697
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1731
1698
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1732
1699
|
) -> RESTResponseType:
|
1733
|
-
"""Unlink a wallet without preloading content
|
1734
|
-
|
1735
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1736
|
-
"""
|
1700
|
+
"""Unlink a wallet without preloading content"""
|
1737
1701
|
if self.is_sync:
|
1738
1702
|
return self._unlink_wallet_sync_without_preload_content(
|
1739
1703
|
unlink_wallet_request=unlink_wallet_request,
|
@@ -2146,10 +2110,7 @@ class WalletApi:
|
|
2146
2110
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2147
2111
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2148
2112
|
) -> object:
|
2149
|
-
"""Verify a wallet
|
2150
|
-
|
2151
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2152
|
-
"""
|
2113
|
+
"""Verify a wallet"""
|
2153
2114
|
if self.is_sync:
|
2154
2115
|
return self._verify_wallet_sync(
|
2155
2116
|
verify_wallet_request=verify_wallet_request,
|
@@ -2192,10 +2153,7 @@ class WalletApi:
|
|
2192
2153
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2193
2154
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2194
2155
|
) -> ApiResponse[object]:
|
2195
|
-
"""Verify a wallet with HTTP info
|
2196
|
-
|
2197
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2198
|
-
"""
|
2156
|
+
"""Verify a wallet with HTTP info"""
|
2199
2157
|
if self.is_sync:
|
2200
2158
|
return self._verify_wallet_sync_with_http_info(
|
2201
2159
|
verify_wallet_request=verify_wallet_request,
|
@@ -2238,10 +2196,7 @@ class WalletApi:
|
|
2238
2196
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2239
2197
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2240
2198
|
) -> RESTResponseType:
|
2241
|
-
"""Verify a wallet without preloading content
|
2242
|
-
|
2243
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2244
|
-
"""
|
2199
|
+
"""Verify a wallet without preloading content"""
|
2245
2200
|
if self.is_sync:
|
2246
2201
|
return self._verify_wallet_sync_without_preload_content(
|
2247
2202
|
verify_wallet_request=verify_wallet_request,
|
@@ -2654,10 +2609,7 @@ class WalletApi:
|
|
2654
2609
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2655
2610
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2656
2611
|
) -> WalletVerified200Response:
|
2657
|
-
"""Check if a wallet is verified
|
2658
|
-
|
2659
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2660
|
-
"""
|
2612
|
+
"""Check if a wallet is verified"""
|
2661
2613
|
if self.is_sync:
|
2662
2614
|
return self._wallet_verified_sync(
|
2663
2615
|
address=address,
|
@@ -2700,10 +2652,7 @@ class WalletApi:
|
|
2700
2652
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2701
2653
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2702
2654
|
) -> ApiResponse[WalletVerified200Response]:
|
2703
|
-
"""Check if a wallet is verified with HTTP info
|
2704
|
-
|
2705
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2706
|
-
"""
|
2655
|
+
"""Check if a wallet is verified with HTTP info"""
|
2707
2656
|
if self.is_sync:
|
2708
2657
|
return self._wallet_verified_sync_with_http_info(
|
2709
2658
|
address=address,
|
@@ -2746,10 +2695,7 @@ class WalletApi:
|
|
2746
2695
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2747
2696
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2748
2697
|
) -> RESTResponseType:
|
2749
|
-
"""Check if a wallet is verified without preloading content
|
2750
|
-
|
2751
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2752
|
-
"""
|
2698
|
+
"""Check if a wallet is verified without preloading content"""
|
2753
2699
|
if self.is_sync:
|
2754
2700
|
return self._wallet_verified_sync_without_preload_content(
|
2755
2701
|
address=address,
|
@@ -19,14 +19,17 @@ WORKDIR /code
|
|
19
19
|
# and to the workflow:
|
20
20
|
# env:
|
21
21
|
# API_ENV: ${{ github.ref == 'refs/heads/main' && 'prod' || 'dev' }}
|
22
|
-
|
22
|
+
# and in the docker build:
|
23
|
+
# build-args: |
|
24
|
+
# CACHEBUST=${{ github.run_id }} # invalidates dependency cache on every workflow run
|
23
25
|
|
24
|
-
|
26
|
+
ARG API_ENV
|
25
27
|
|
26
28
|
RUN if [ "$API_ENV" != "prod" ]; then \
|
27
29
|
pip install --pre crypticorn; \
|
28
30
|
fi
|
29
31
|
|
32
|
+
RUN pip install --no-cache-dir -r requirements.txt
|
30
33
|
|
31
34
|
COPY ./src /code/src
|
32
35
|
|