crypticorn 1.0.2rc3__py3-none-any.whl → 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crypticorn/__init__.py +3 -3
- crypticorn/auth/__init__.py +2 -0
- crypticorn/auth/client/__init__.py +112 -0
- crypticorn/auth/client/api/__init__.py +8 -0
- crypticorn/auth/client/api/admin_api.py +522 -0
- crypticorn/auth/client/api/auth_api.py +2089 -0
- crypticorn/auth/client/api/service_api.py +309 -0
- crypticorn/auth/client/api/user_api.py +2540 -0
- crypticorn/auth/client/api/wallet_api.py +1698 -0
- crypticorn/auth/client/api_client.py +758 -0
- crypticorn/auth/client/api_response.py +20 -0
- crypticorn/auth/client/configuration.py +584 -0
- crypticorn/auth/client/exceptions.py +220 -0
- crypticorn/auth/client/models/__init__.py +91 -0
- crypticorn/auth/client/models/add_wallet200_response.py +86 -0
- crypticorn/auth/client/models/add_wallet_request.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response_auth.py +101 -0
- crypticorn/auth/client/models/authorize_user_request.py +96 -0
- crypticorn/auth/client/models/create_user_request.py +114 -0
- crypticorn/auth/client/models/list_wallets200_response.py +137 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +168 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +191 -0
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +102 -0
- crypticorn/auth/client/models/list_wallets200_response_user_value.py +118 -0
- crypticorn/auth/client/models/logout_default_response.py +108 -0
- crypticorn/auth/client/models/logout_default_response_issues_inner.py +83 -0
- crypticorn/auth/client/models/refresh_token_info200_response.py +97 -0
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +105 -0
- crypticorn/auth/client/models/resend_verification_email_request.py +84 -0
- crypticorn/auth/client/models/revoke_user_tokens_request.py +83 -0
- crypticorn/auth/client/models/rotate_tokens200_response.py +110 -0
- crypticorn/auth/client/models/token_info200_response.py +97 -0
- crypticorn/auth/client/models/unlink_wallet_request.py +83 -0
- crypticorn/auth/client/models/update_user_request.py +93 -0
- crypticorn/auth/client/models/user_reset_password_request.py +87 -0
- crypticorn/auth/client/models/user_set_password_request.py +89 -0
- crypticorn/auth/client/models/verify200_response.py +110 -0
- crypticorn/auth/client/models/verify_email200_response.py +107 -0
- crypticorn/auth/client/models/verify_email200_response_auth.py +101 -0
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +110 -0
- crypticorn/auth/client/models/verify_email_request.py +83 -0
- crypticorn/auth/client/models/verify_wallet_request.py +91 -0
- crypticorn/auth/client/models/wallet_verified200_response.py +83 -0
- crypticorn/auth/client/models/whoami200_response.py +104 -0
- crypticorn/auth/client/rest.py +195 -0
- crypticorn/auth/main.py +45 -0
- crypticorn/client.py +46 -8
- crypticorn/common/__init__.py +5 -0
- crypticorn/common/auth.py +43 -0
- crypticorn/common/auth_client.py +163 -0
- crypticorn/common/errors.py +432 -0
- crypticorn/common/scopes.py +29 -0
- crypticorn/common/urls.py +25 -0
- crypticorn/hive/__init__.py +2 -1
- crypticorn/hive/client/__init__.py +57 -0
- crypticorn/hive/client/api/__init__.py +6 -0
- crypticorn/hive/client/api/data_api.py +594 -0
- crypticorn/hive/client/api/models_api.py +1680 -0
- crypticorn/hive/client/api/status_api.py +263 -0
- crypticorn/hive/client/api_client.py +758 -0
- crypticorn/hive/client/api_response.py +20 -0
- crypticorn/hive/client/configuration.py +612 -0
- crypticorn/hive/client/exceptions.py +220 -0
- crypticorn/hive/client/models/__init__.py +38 -0
- crypticorn/hive/client/models/coins.py +44 -0
- crypticorn/hive/client/models/data_download_response.py +113 -0
- crypticorn/hive/client/models/data_info.py +115 -0
- crypticorn/hive/client/models/data_value_value_value_inner.py +154 -0
- crypticorn/hive/client/models/data_version.py +35 -0
- crypticorn/hive/client/models/download_links.py +91 -0
- crypticorn/hive/client/models/evaluation.py +86 -0
- crypticorn/hive/client/models/evaluation_response.py +85 -0
- crypticorn/hive/client/models/feature_size.py +36 -0
- crypticorn/hive/client/models/http_validation_error.py +99 -0
- crypticorn/hive/client/models/model.py +133 -0
- crypticorn/hive/client/models/model_create.py +93 -0
- crypticorn/hive/client/models/model_status.py +35 -0
- crypticorn/hive/client/models/model_update.py +83 -0
- crypticorn/hive/client/models/target.py +36 -0
- crypticorn/hive/client/models/target_type.py +35 -0
- crypticorn/hive/client/models/validation_error.py +105 -0
- crypticorn/hive/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/hive/client/py.typed +0 -0
- crypticorn/hive/client/rest.py +195 -0
- crypticorn/hive/main.py +27 -100
- crypticorn/klines/client/__init__.py +21 -7
- crypticorn/klines/client/api/__init__.py +0 -1
- crypticorn/klines/client/api/funding_rates_api.py +90 -79
- crypticorn/klines/client/api/health_check_api.py +29 -45
- crypticorn/klines/client/api/ohlcv_data_api.py +104 -87
- crypticorn/klines/client/api/symbols_api.py +36 -54
- crypticorn/klines/client/api/udf_api.py +228 -352
- crypticorn/klines/client/api_client.py +106 -148
- crypticorn/klines/client/api_response.py +2 -3
- crypticorn/klines/client/configuration.py +64 -50
- crypticorn/klines/client/exceptions.py +20 -16
- crypticorn/klines/client/models/__init__.py +21 -7
- crypticorn/klines/client/models/base_response_health_check_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_funding_rate_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_str.py +16 -14
- crypticorn/klines/client/models/base_response_ohlcv_response.py +21 -15
- crypticorn/klines/client/models/error_response.py +23 -15
- crypticorn/klines/client/models/exchange.py +11 -11
- crypticorn/klines/client/models/funding_rate_response.py +11 -11
- crypticorn/klines/client/models/health_check_response.py +14 -12
- crypticorn/klines/client/models/history_error_response.py +11 -11
- crypticorn/klines/client/models/history_no_data_response.py +16 -16
- crypticorn/klines/client/models/history_success_response.py +16 -16
- crypticorn/klines/client/models/http_validation_error.py +14 -10
- crypticorn/klines/client/models/market.py +2 -4
- crypticorn/klines/client/models/ohlcv_response.py +22 -15
- crypticorn/klines/client/models/resolution.py +5 -7
- crypticorn/klines/client/models/response_get_history_udf_history_get.py +71 -22
- crypticorn/klines/client/models/search_symbol_response.py +22 -15
- crypticorn/klines/client/models/sort_direction.py +2 -4
- crypticorn/klines/client/models/symbol_group_response.py +5 -9
- crypticorn/klines/client/models/symbol_info_response.py +40 -24
- crypticorn/klines/client/models/symbol_type.py +5 -10
- crypticorn/klines/client/models/timeframe.py +5 -7
- crypticorn/klines/client/models/udf_config_response.py +60 -21
- crypticorn/klines/client/models/validation_error.py +19 -13
- crypticorn/klines/client/models/validation_error_loc_inner.py +32 -11
- crypticorn/klines/client/rest.py +30 -41
- crypticorn/klines/main.py +52 -15
- crypticorn/pay/__init__.py +2 -0
- crypticorn/pay/client/__init__.py +52 -0
- crypticorn/pay/client/api/__init__.py +7 -0
- crypticorn/pay/client/api/now_payments_api.py +813 -0
- crypticorn/pay/client/api/payments_api.py +799 -0
- crypticorn/pay/client/api/products_api.py +891 -0
- crypticorn/pay/client/api/status_api.py +260 -0
- crypticorn/pay/client/api_client.py +758 -0
- crypticorn/pay/client/api_response.py +20 -0
- crypticorn/pay/client/configuration.py +612 -0
- crypticorn/pay/client/exceptions.py +220 -0
- crypticorn/pay/client/models/__init__.py +32 -0
- crypticorn/pay/client/models/api_status_res.py +83 -0
- crypticorn/pay/client/models/combined_payment_history.py +101 -0
- crypticorn/pay/client/models/create_invoice_req.py +188 -0
- crypticorn/pay/client/models/create_invoice_res.py +188 -0
- crypticorn/pay/client/models/currency.py +165 -0
- crypticorn/pay/client/models/estimate_price_req.py +91 -0
- crypticorn/pay/client/models/estimate_price_res.py +102 -0
- crypticorn/pay/client/models/get_currencies_res.py +99 -0
- crypticorn/pay/client/models/get_payment_status_res.py +222 -0
- crypticorn/pay/client/models/get_payments_list_res.py +109 -0
- crypticorn/pay/client/models/http_validation_error.py +99 -0
- crypticorn/pay/client/models/min_amount_req.py +124 -0
- crypticorn/pay/client/models/min_amount_res.py +105 -0
- crypticorn/pay/client/models/now_api_status_res.py +83 -0
- crypticorn/pay/client/models/now_create_invoice_req.py +188 -0
- crypticorn/pay/client/models/now_create_invoice_res.py +188 -0
- crypticorn/pay/client/models/now_fee_structure.py +104 -0
- crypticorn/pay/client/models/now_payment_model.py +124 -0
- crypticorn/pay/client/models/now_payment_status.py +42 -0
- crypticorn/pay/client/models/now_webhook_payload.py +181 -0
- crypticorn/pay/client/models/payment.py +231 -0
- crypticorn/pay/client/models/payment_status.py +40 -0
- crypticorn/pay/client/models/product.py +87 -0
- crypticorn/pay/client/models/product_model.py +119 -0
- crypticorn/pay/client/models/product_subs_model.py +108 -0
- crypticorn/pay/client/models/services.py +34 -0
- crypticorn/pay/client/models/unified_payment_model.py +112 -0
- crypticorn/pay/client/models/validation_error.py +105 -0
- crypticorn/pay/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/pay/client/py.typed +0 -0
- crypticorn/pay/client/rest.py +195 -0
- crypticorn/pay/main.py +35 -0
- crypticorn/trade/client/__init__.py +9 -4
- crypticorn/trade/client/api/__init__.py +0 -1
- crypticorn/trade/client/api/api_keys_api.py +203 -304
- crypticorn/trade/client/api/bots_api.py +177 -250
- crypticorn/trade/client/api/exchanges_api.py +38 -57
- crypticorn/trade/client/api/futures_trading_panel_api.py +223 -321
- crypticorn/trade/client/api/notifications_api.py +247 -364
- crypticorn/trade/client/api/orders_api.py +44 -63
- crypticorn/trade/client/api/status_api.py +35 -53
- crypticorn/trade/client/api/strategies_api.py +852 -64
- crypticorn/trade/client/api/trading_actions_api.py +126 -203
- crypticorn/trade/client/api_client.py +115 -154
- crypticorn/trade/client/api_response.py +2 -3
- crypticorn/trade/client/configuration.py +128 -90
- crypticorn/trade/client/exceptions.py +21 -17
- crypticorn/trade/client/models/__init__.py +9 -4
- crypticorn/trade/client/models/action_model.py +114 -50
- crypticorn/trade/client/models/api_error_identifier.py +60 -51
- crypticorn/trade/client/models/api_error_level.py +37 -0
- crypticorn/trade/client/models/api_error_type.py +37 -0
- crypticorn/trade/client/models/api_key_model.py +49 -28
- crypticorn/trade/client/models/bot_model.py +76 -31
- crypticorn/trade/client/models/bot_status.py +37 -0
- crypticorn/trade/client/models/exchange.py +3 -5
- crypticorn/trade/client/models/execution_ids.py +14 -14
- crypticorn/trade/client/models/futures_balance.py +39 -23
- crypticorn/trade/client/models/futures_trading_action.py +98 -46
- crypticorn/trade/client/models/http_validation_error.py +15 -11
- crypticorn/trade/client/models/margin_mode.py +3 -5
- crypticorn/trade/client/models/market_type.py +3 -5
- crypticorn/trade/client/models/notification_model.py +60 -27
- crypticorn/trade/client/models/notification_type.py +4 -6
- crypticorn/trade/client/models/order_model.py +125 -65
- crypticorn/trade/client/models/order_status.py +6 -8
- crypticorn/trade/client/models/post_futures_action.py +16 -12
- crypticorn/trade/client/models/strategy_exchange_info.py +11 -12
- crypticorn/trade/client/models/strategy_model.py +66 -27
- crypticorn/trade/client/models/strategy_model_input.py +160 -0
- crypticorn/trade/client/models/strategy_model_output.py +160 -0
- crypticorn/trade/client/models/tpsl.py +35 -21
- crypticorn/trade/client/models/trading_action_type.py +5 -7
- crypticorn/trade/client/models/update_notification.py +17 -13
- crypticorn/trade/client/models/validation_error.py +20 -14
- crypticorn/trade/client/models/validation_error_loc_inner.py +33 -12
- crypticorn/trade/client/rest.py +108 -170
- crypticorn/trade/main.py +26 -19
- crypticorn-2.0.0.dist-info/METADATA +74 -0
- crypticorn-2.0.0.dist-info/RECORD +226 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/WHEEL +1 -1
- crypticorn/hive/requirements.txt +0 -4
- crypticorn/hive/utils.py +0 -109
- crypticorn/klines/requirements.txt +0 -4
- crypticorn/klines/test/test_base_response_health_check_response.py +0 -56
- crypticorn/klines/test/test_base_response_list_funding_rate_response.py +0 -59
- crypticorn/klines/test/test_base_response_list_str.py +0 -56
- crypticorn/klines/test/test_base_response_ohlcv_response.py +0 -72
- crypticorn/klines/test/test_error_response.py +0 -57
- crypticorn/klines/test/test_exchange.py +0 -56
- crypticorn/klines/test/test_funding_rate_response.py +0 -56
- crypticorn/klines/test/test_funding_rates_api.py +0 -38
- crypticorn/klines/test/test_health_check_api.py +0 -38
- crypticorn/klines/test/test_health_check_response.py +0 -52
- crypticorn/klines/test/test_history_error_response.py +0 -53
- crypticorn/klines/test/test_history_no_data_response.py +0 -69
- crypticorn/klines/test/test_history_success_response.py +0 -87
- crypticorn/klines/test/test_http_validation_error.py +0 -58
- crypticorn/klines/test/test_market.py +0 -33
- crypticorn/klines/test/test_ohlcv_data_api.py +0 -38
- crypticorn/klines/test/test_ohlcv_response.py +0 -86
- crypticorn/klines/test/test_resolution.py +0 -33
- crypticorn/klines/test/test_response_get_history_udf_history_get.py +0 -89
- crypticorn/klines/test/test_search_symbol_response.py +0 -62
- crypticorn/klines/test/test_sort_direction.py +0 -33
- crypticorn/klines/test/test_symbol_group_response.py +0 -53
- crypticorn/klines/test/test_symbol_info_response.py +0 -84
- crypticorn/klines/test/test_symbol_type.py +0 -54
- crypticorn/klines/test/test_symbols_api.py +0 -38
- crypticorn/klines/test/test_timeframe.py +0 -33
- crypticorn/klines/test/test_udf_api.py +0 -80
- crypticorn/klines/test/test_udf_config_response.py +0 -95
- crypticorn/klines/test/test_validation_error.py +0 -60
- crypticorn/klines/test/test_validation_error_loc_inner.py +0 -50
- crypticorn/trade/requirements.txt +0 -4
- crypticorn-1.0.2rc3.dist-info/LICENSE.md +0 -19
- crypticorn-1.0.2rc3.dist-info/METADATA +0 -47
- crypticorn-1.0.2rc3.dist-info/RECORD +0 -128
- /crypticorn/{klines/test/__init__.py → auth/client/py.typed} +0 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/top_level.txt +0 -0
crypticorn/__init__.py
CHANGED
@@ -0,0 +1,112 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
"""
|
6
|
+
Crypticorn Auth API
|
7
|
+
|
8
|
+
OpenAPI compliant REST API built using tRPC with Express
|
9
|
+
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
|
+
|
13
|
+
Do not edit the class manually.
|
14
|
+
""" # noqa: E501
|
15
|
+
|
16
|
+
|
17
|
+
__version__ = "1.0.0"
|
18
|
+
|
19
|
+
# import apis into sdk package
|
20
|
+
from crypticorn.auth.client.api.admin_api import AdminApi
|
21
|
+
from crypticorn.auth.client.api.auth_api import AuthApi
|
22
|
+
from crypticorn.auth.client.api.service_api import ServiceApi
|
23
|
+
from crypticorn.auth.client.api.user_api import UserApi
|
24
|
+
from crypticorn.auth.client.api.wallet_api import WalletApi
|
25
|
+
|
26
|
+
# import ApiClient
|
27
|
+
from crypticorn.auth.client.api_response import ApiResponse
|
28
|
+
from crypticorn.auth.client.api_client import ApiClient
|
29
|
+
from crypticorn.auth.client.configuration import Configuration
|
30
|
+
from crypticorn.auth.client.exceptions import OpenApiException
|
31
|
+
from crypticorn.auth.client.exceptions import ApiTypeError
|
32
|
+
from crypticorn.auth.client.exceptions import ApiValueError
|
33
|
+
from crypticorn.auth.client.exceptions import ApiKeyError
|
34
|
+
from crypticorn.auth.client.exceptions import ApiAttributeError
|
35
|
+
from crypticorn.auth.client.exceptions import ApiException
|
36
|
+
|
37
|
+
# import models into sdk package
|
38
|
+
from crypticorn.auth.client.models.add_wallet200_response import AddWallet200Response
|
39
|
+
from crypticorn.auth.client.models.add_wallet_request import AddWalletRequest
|
40
|
+
from crypticorn.auth.client.models.authorize_user200_response import (
|
41
|
+
AuthorizeUser200Response,
|
42
|
+
)
|
43
|
+
from crypticorn.auth.client.models.authorize_user200_response_auth import (
|
44
|
+
AuthorizeUser200ResponseAuth,
|
45
|
+
)
|
46
|
+
from crypticorn.auth.client.models.authorize_user_request import AuthorizeUserRequest
|
47
|
+
from crypticorn.auth.client.models.create_user_request import CreateUserRequest
|
48
|
+
from crypticorn.auth.client.models.list_wallets200_response import (
|
49
|
+
ListWallets200Response,
|
50
|
+
)
|
51
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner import (
|
52
|
+
ListWallets200ResponseBalancesInner,
|
53
|
+
)
|
54
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner_sale_round import (
|
55
|
+
ListWallets200ResponseBalancesInnerSaleRound,
|
56
|
+
)
|
57
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner_wallet import (
|
58
|
+
ListWallets200ResponseBalancesInnerWallet,
|
59
|
+
)
|
60
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner_wallet_vesting_wallets_inner import (
|
61
|
+
ListWallets200ResponseBalancesInnerWalletVestingWalletsInner,
|
62
|
+
)
|
63
|
+
from crypticorn.auth.client.models.list_wallets200_response_data_inner import (
|
64
|
+
ListWallets200ResponseDataInner,
|
65
|
+
)
|
66
|
+
from crypticorn.auth.client.models.list_wallets200_response_user_value import (
|
67
|
+
ListWallets200ResponseUserValue,
|
68
|
+
)
|
69
|
+
from crypticorn.auth.client.models.logout_default_response import LogoutDefaultResponse
|
70
|
+
from crypticorn.auth.client.models.logout_default_response_issues_inner import (
|
71
|
+
LogoutDefaultResponseIssuesInner,
|
72
|
+
)
|
73
|
+
from crypticorn.auth.client.models.refresh_token_info200_response import (
|
74
|
+
RefreshTokenInfo200Response,
|
75
|
+
)
|
76
|
+
from crypticorn.auth.client.models.refresh_token_info200_response_user_session import (
|
77
|
+
RefreshTokenInfo200ResponseUserSession,
|
78
|
+
)
|
79
|
+
from crypticorn.auth.client.models.resend_verification_email_request import (
|
80
|
+
ResendVerificationEmailRequest,
|
81
|
+
)
|
82
|
+
from crypticorn.auth.client.models.revoke_user_tokens_request import (
|
83
|
+
RevokeUserTokensRequest,
|
84
|
+
)
|
85
|
+
from crypticorn.auth.client.models.rotate_tokens200_response import (
|
86
|
+
RotateTokens200Response,
|
87
|
+
)
|
88
|
+
from crypticorn.auth.client.models.token_info200_response import TokenInfo200Response
|
89
|
+
from crypticorn.auth.client.models.unlink_wallet_request import UnlinkWalletRequest
|
90
|
+
from crypticorn.auth.client.models.update_user_request import UpdateUserRequest
|
91
|
+
from crypticorn.auth.client.models.user_reset_password_request import (
|
92
|
+
UserResetPasswordRequest,
|
93
|
+
)
|
94
|
+
from crypticorn.auth.client.models.user_set_password_request import (
|
95
|
+
UserSetPasswordRequest,
|
96
|
+
)
|
97
|
+
from crypticorn.auth.client.models.verify200_response import Verify200Response
|
98
|
+
from crypticorn.auth.client.models.verify_email200_response import (
|
99
|
+
VerifyEmail200Response,
|
100
|
+
)
|
101
|
+
from crypticorn.auth.client.models.verify_email200_response_auth import (
|
102
|
+
VerifyEmail200ResponseAuth,
|
103
|
+
)
|
104
|
+
from crypticorn.auth.client.models.verify_email200_response_auth_auth import (
|
105
|
+
VerifyEmail200ResponseAuthAuth,
|
106
|
+
)
|
107
|
+
from crypticorn.auth.client.models.verify_email_request import VerifyEmailRequest
|
108
|
+
from crypticorn.auth.client.models.verify_wallet_request import VerifyWalletRequest
|
109
|
+
from crypticorn.auth.client.models.wallet_verified200_response import (
|
110
|
+
WalletVerified200Response,
|
111
|
+
)
|
112
|
+
from crypticorn.auth.client.models.whoami200_response import Whoami200Response
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# flake8: noqa
|
2
|
+
|
3
|
+
# import apis into api package
|
4
|
+
from crypticorn.auth.client.api.admin_api import AdminApi
|
5
|
+
from crypticorn.auth.client.api.auth_api import AuthApi
|
6
|
+
from crypticorn.auth.client.api.service_api import ServiceApi
|
7
|
+
from crypticorn.auth.client.api.user_api import UserApi
|
8
|
+
from crypticorn.auth.client.api.wallet_api import WalletApi
|
@@ -0,0 +1,522 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
import warnings
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
|
+
from typing_extensions import Annotated
|
18
|
+
|
19
|
+
from typing import List
|
20
|
+
from crypticorn.auth.client.models.logout_default_response_issues_inner import (
|
21
|
+
LogoutDefaultResponseIssuesInner,
|
22
|
+
)
|
23
|
+
from crypticorn.auth.client.models.revoke_user_tokens_request import (
|
24
|
+
RevokeUserTokensRequest,
|
25
|
+
)
|
26
|
+
from crypticorn.auth.client.models.whoami200_response import Whoami200Response
|
27
|
+
|
28
|
+
from crypticorn.auth.client.api_client import ApiClient, RequestSerialized
|
29
|
+
from crypticorn.auth.client.api_response import ApiResponse
|
30
|
+
from crypticorn.auth.client.rest import RESTResponseType
|
31
|
+
|
32
|
+
|
33
|
+
class AdminApi:
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
|
+
Ref: https://openapi-generator.tech
|
36
|
+
|
37
|
+
Do not edit the class manually.
|
38
|
+
"""
|
39
|
+
|
40
|
+
def __init__(self, api_client=None) -> None:
|
41
|
+
if api_client is None:
|
42
|
+
api_client = ApiClient.get_default()
|
43
|
+
self.api_client = api_client
|
44
|
+
|
45
|
+
@validate_call
|
46
|
+
async def revoke_user_tokens(
|
47
|
+
self,
|
48
|
+
revoke_user_tokens_request: RevokeUserTokensRequest,
|
49
|
+
_request_timeout: Union[
|
50
|
+
None,
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
52
|
+
Tuple[
|
53
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
54
|
+
],
|
55
|
+
] = None,
|
56
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
57
|
+
_content_type: Optional[StrictStr] = None,
|
58
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
59
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
60
|
+
) -> LogoutDefaultResponseIssuesInner:
|
61
|
+
"""Revoke user tokens
|
62
|
+
|
63
|
+
Revoke all tokens for a given user, this resets the authentication state and requires them to login again.
|
64
|
+
|
65
|
+
:param revoke_user_tokens_request: (required)
|
66
|
+
:type revoke_user_tokens_request: RevokeUserTokensRequest
|
67
|
+
:param _request_timeout: timeout setting for this request. If one
|
68
|
+
number provided, it will be total request
|
69
|
+
timeout. It can also be a pair (tuple) of
|
70
|
+
(connection, read) timeouts.
|
71
|
+
:type _request_timeout: int, tuple(int, int), optional
|
72
|
+
:param _request_auth: set to override the auth_settings for an a single
|
73
|
+
request; this effectively ignores the
|
74
|
+
authentication in the spec for a single request.
|
75
|
+
:type _request_auth: dict, optional
|
76
|
+
:param _content_type: force content-type for the request.
|
77
|
+
:type _content_type: str, Optional
|
78
|
+
:param _headers: set to override the headers for a single
|
79
|
+
request; this effectively ignores the headers
|
80
|
+
in the spec for a single request.
|
81
|
+
:type _headers: dict, optional
|
82
|
+
:param _host_index: set to override the host_index for a single
|
83
|
+
request; this effectively ignores the host_index
|
84
|
+
in the spec for a single request.
|
85
|
+
:type _host_index: int, optional
|
86
|
+
:return: Returns the result object.
|
87
|
+
""" # noqa: E501
|
88
|
+
|
89
|
+
_param = self._revoke_user_tokens_serialize(
|
90
|
+
revoke_user_tokens_request=revoke_user_tokens_request,
|
91
|
+
_request_auth=_request_auth,
|
92
|
+
_content_type=_content_type,
|
93
|
+
_headers=_headers,
|
94
|
+
_host_index=_host_index,
|
95
|
+
)
|
96
|
+
|
97
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
98
|
+
"200": "LogoutDefaultResponseIssuesInner",
|
99
|
+
}
|
100
|
+
response_data = await self.api_client.call_api(
|
101
|
+
*_param, _request_timeout=_request_timeout
|
102
|
+
)
|
103
|
+
await response_data.read()
|
104
|
+
return self.api_client.response_deserialize(
|
105
|
+
response_data=response_data,
|
106
|
+
response_types_map=_response_types_map,
|
107
|
+
).data
|
108
|
+
|
109
|
+
@validate_call
|
110
|
+
async def revoke_user_tokens_with_http_info(
|
111
|
+
self,
|
112
|
+
revoke_user_tokens_request: RevokeUserTokensRequest,
|
113
|
+
_request_timeout: Union[
|
114
|
+
None,
|
115
|
+
Annotated[StrictFloat, Field(gt=0)],
|
116
|
+
Tuple[
|
117
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
118
|
+
],
|
119
|
+
] = None,
|
120
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
121
|
+
_content_type: Optional[StrictStr] = None,
|
122
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
123
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
124
|
+
) -> ApiResponse[LogoutDefaultResponseIssuesInner]:
|
125
|
+
"""Revoke user tokens
|
126
|
+
|
127
|
+
Revoke all tokens for a given user, this resets the authentication state and requires them to login again.
|
128
|
+
|
129
|
+
:param revoke_user_tokens_request: (required)
|
130
|
+
:type revoke_user_tokens_request: RevokeUserTokensRequest
|
131
|
+
:param _request_timeout: timeout setting for this request. If one
|
132
|
+
number provided, it will be total request
|
133
|
+
timeout. It can also be a pair (tuple) of
|
134
|
+
(connection, read) timeouts.
|
135
|
+
:type _request_timeout: int, tuple(int, int), optional
|
136
|
+
:param _request_auth: set to override the auth_settings for an a single
|
137
|
+
request; this effectively ignores the
|
138
|
+
authentication in the spec for a single request.
|
139
|
+
:type _request_auth: dict, optional
|
140
|
+
:param _content_type: force content-type for the request.
|
141
|
+
:type _content_type: str, Optional
|
142
|
+
:param _headers: set to override the headers for a single
|
143
|
+
request; this effectively ignores the headers
|
144
|
+
in the spec for a single request.
|
145
|
+
:type _headers: dict, optional
|
146
|
+
:param _host_index: set to override the host_index for a single
|
147
|
+
request; this effectively ignores the host_index
|
148
|
+
in the spec for a single request.
|
149
|
+
:type _host_index: int, optional
|
150
|
+
:return: Returns the result object.
|
151
|
+
""" # noqa: E501
|
152
|
+
|
153
|
+
_param = self._revoke_user_tokens_serialize(
|
154
|
+
revoke_user_tokens_request=revoke_user_tokens_request,
|
155
|
+
_request_auth=_request_auth,
|
156
|
+
_content_type=_content_type,
|
157
|
+
_headers=_headers,
|
158
|
+
_host_index=_host_index,
|
159
|
+
)
|
160
|
+
|
161
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
162
|
+
"200": "LogoutDefaultResponseIssuesInner",
|
163
|
+
}
|
164
|
+
response_data = await self.api_client.call_api(
|
165
|
+
*_param, _request_timeout=_request_timeout
|
166
|
+
)
|
167
|
+
await response_data.read()
|
168
|
+
return self.api_client.response_deserialize(
|
169
|
+
response_data=response_data,
|
170
|
+
response_types_map=_response_types_map,
|
171
|
+
)
|
172
|
+
|
173
|
+
@validate_call
|
174
|
+
async def revoke_user_tokens_without_preload_content(
|
175
|
+
self,
|
176
|
+
revoke_user_tokens_request: RevokeUserTokensRequest,
|
177
|
+
_request_timeout: Union[
|
178
|
+
None,
|
179
|
+
Annotated[StrictFloat, Field(gt=0)],
|
180
|
+
Tuple[
|
181
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
182
|
+
],
|
183
|
+
] = None,
|
184
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
185
|
+
_content_type: Optional[StrictStr] = None,
|
186
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
187
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
188
|
+
) -> RESTResponseType:
|
189
|
+
"""Revoke user tokens
|
190
|
+
|
191
|
+
Revoke all tokens for a given user, this resets the authentication state and requires them to login again.
|
192
|
+
|
193
|
+
:param revoke_user_tokens_request: (required)
|
194
|
+
:type revoke_user_tokens_request: RevokeUserTokensRequest
|
195
|
+
:param _request_timeout: timeout setting for this request. If one
|
196
|
+
number provided, it will be total request
|
197
|
+
timeout. It can also be a pair (tuple) of
|
198
|
+
(connection, read) timeouts.
|
199
|
+
:type _request_timeout: int, tuple(int, int), optional
|
200
|
+
:param _request_auth: set to override the auth_settings for an a single
|
201
|
+
request; this effectively ignores the
|
202
|
+
authentication in the spec for a single request.
|
203
|
+
:type _request_auth: dict, optional
|
204
|
+
:param _content_type: force content-type for the request.
|
205
|
+
:type _content_type: str, Optional
|
206
|
+
:param _headers: set to override the headers for a single
|
207
|
+
request; this effectively ignores the headers
|
208
|
+
in the spec for a single request.
|
209
|
+
:type _headers: dict, optional
|
210
|
+
:param _host_index: set to override the host_index for a single
|
211
|
+
request; this effectively ignores the host_index
|
212
|
+
in the spec for a single request.
|
213
|
+
:type _host_index: int, optional
|
214
|
+
:return: Returns the result object.
|
215
|
+
""" # noqa: E501
|
216
|
+
|
217
|
+
_param = self._revoke_user_tokens_serialize(
|
218
|
+
revoke_user_tokens_request=revoke_user_tokens_request,
|
219
|
+
_request_auth=_request_auth,
|
220
|
+
_content_type=_content_type,
|
221
|
+
_headers=_headers,
|
222
|
+
_host_index=_host_index,
|
223
|
+
)
|
224
|
+
|
225
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
226
|
+
"200": "LogoutDefaultResponseIssuesInner",
|
227
|
+
}
|
228
|
+
response_data = await self.api_client.call_api(
|
229
|
+
*_param, _request_timeout=_request_timeout
|
230
|
+
)
|
231
|
+
return response_data.response
|
232
|
+
|
233
|
+
def _revoke_user_tokens_serialize(
|
234
|
+
self,
|
235
|
+
revoke_user_tokens_request,
|
236
|
+
_request_auth,
|
237
|
+
_content_type,
|
238
|
+
_headers,
|
239
|
+
_host_index,
|
240
|
+
) -> RequestSerialized:
|
241
|
+
|
242
|
+
_host = None
|
243
|
+
|
244
|
+
_collection_formats: Dict[str, str] = {}
|
245
|
+
|
246
|
+
_path_params: Dict[str, str] = {}
|
247
|
+
_query_params: List[Tuple[str, str]] = []
|
248
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
249
|
+
_form_params: List[Tuple[str, str]] = []
|
250
|
+
_files: Dict[
|
251
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
252
|
+
] = {}
|
253
|
+
_body_params: Optional[bytes] = None
|
254
|
+
|
255
|
+
# process the path parameters
|
256
|
+
# process the query parameters
|
257
|
+
# process the header parameters
|
258
|
+
# process the form parameters
|
259
|
+
# process the body parameter
|
260
|
+
if revoke_user_tokens_request is not None:
|
261
|
+
_body_params = revoke_user_tokens_request
|
262
|
+
|
263
|
+
# set the HTTP header `Accept`
|
264
|
+
if "Accept" not in _header_params:
|
265
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
266
|
+
["application/json"]
|
267
|
+
)
|
268
|
+
|
269
|
+
# set the HTTP header `Content-Type`
|
270
|
+
if _content_type:
|
271
|
+
_header_params["Content-Type"] = _content_type
|
272
|
+
else:
|
273
|
+
_default_content_type = self.api_client.select_header_content_type(
|
274
|
+
["application/json"]
|
275
|
+
)
|
276
|
+
if _default_content_type is not None:
|
277
|
+
_header_params["Content-Type"] = _default_content_type
|
278
|
+
|
279
|
+
# authentication setting
|
280
|
+
_auth_settings: List[str] = []
|
281
|
+
|
282
|
+
return self.api_client.param_serialize(
|
283
|
+
method="POST",
|
284
|
+
resource_path="/revoke-user-tokens",
|
285
|
+
path_params=_path_params,
|
286
|
+
query_params=_query_params,
|
287
|
+
header_params=_header_params,
|
288
|
+
body=_body_params,
|
289
|
+
post_params=_form_params,
|
290
|
+
files=_files,
|
291
|
+
auth_settings=_auth_settings,
|
292
|
+
collection_formats=_collection_formats,
|
293
|
+
_host=_host,
|
294
|
+
_request_auth=_request_auth,
|
295
|
+
)
|
296
|
+
|
297
|
+
@validate_call
|
298
|
+
async def user_list(
|
299
|
+
self,
|
300
|
+
_request_timeout: Union[
|
301
|
+
None,
|
302
|
+
Annotated[StrictFloat, Field(gt=0)],
|
303
|
+
Tuple[
|
304
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
305
|
+
],
|
306
|
+
] = None,
|
307
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
308
|
+
_content_type: Optional[StrictStr] = None,
|
309
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
310
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
311
|
+
) -> List[Whoami200Response]:
|
312
|
+
"""User List
|
313
|
+
|
314
|
+
Returns the list of users.
|
315
|
+
|
316
|
+
:param _request_timeout: timeout setting for this request. If one
|
317
|
+
number provided, it will be total request
|
318
|
+
timeout. It can also be a pair (tuple) of
|
319
|
+
(connection, read) timeouts.
|
320
|
+
:type _request_timeout: int, tuple(int, int), optional
|
321
|
+
:param _request_auth: set to override the auth_settings for an a single
|
322
|
+
request; this effectively ignores the
|
323
|
+
authentication in the spec for a single request.
|
324
|
+
:type _request_auth: dict, optional
|
325
|
+
:param _content_type: force content-type for the request.
|
326
|
+
:type _content_type: str, Optional
|
327
|
+
:param _headers: set to override the headers for a single
|
328
|
+
request; this effectively ignores the headers
|
329
|
+
in the spec for a single request.
|
330
|
+
:type _headers: dict, optional
|
331
|
+
:param _host_index: set to override the host_index for a single
|
332
|
+
request; this effectively ignores the host_index
|
333
|
+
in the spec for a single request.
|
334
|
+
:type _host_index: int, optional
|
335
|
+
:return: Returns the result object.
|
336
|
+
""" # noqa: E501
|
337
|
+
|
338
|
+
_param = self._user_list_serialize(
|
339
|
+
_request_auth=_request_auth,
|
340
|
+
_content_type=_content_type,
|
341
|
+
_headers=_headers,
|
342
|
+
_host_index=_host_index,
|
343
|
+
)
|
344
|
+
|
345
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
346
|
+
"200": "List[Whoami200Response]",
|
347
|
+
}
|
348
|
+
response_data = await self.api_client.call_api(
|
349
|
+
*_param, _request_timeout=_request_timeout
|
350
|
+
)
|
351
|
+
await response_data.read()
|
352
|
+
return self.api_client.response_deserialize(
|
353
|
+
response_data=response_data,
|
354
|
+
response_types_map=_response_types_map,
|
355
|
+
).data
|
356
|
+
|
357
|
+
@validate_call
|
358
|
+
async def user_list_with_http_info(
|
359
|
+
self,
|
360
|
+
_request_timeout: Union[
|
361
|
+
None,
|
362
|
+
Annotated[StrictFloat, Field(gt=0)],
|
363
|
+
Tuple[
|
364
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
365
|
+
],
|
366
|
+
] = None,
|
367
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
368
|
+
_content_type: Optional[StrictStr] = None,
|
369
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
370
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
371
|
+
) -> ApiResponse[List[Whoami200Response]]:
|
372
|
+
"""User List
|
373
|
+
|
374
|
+
Returns the list of users.
|
375
|
+
|
376
|
+
:param _request_timeout: timeout setting for this request. If one
|
377
|
+
number provided, it will be total request
|
378
|
+
timeout. It can also be a pair (tuple) of
|
379
|
+
(connection, read) timeouts.
|
380
|
+
:type _request_timeout: int, tuple(int, int), optional
|
381
|
+
:param _request_auth: set to override the auth_settings for an a single
|
382
|
+
request; this effectively ignores the
|
383
|
+
authentication in the spec for a single request.
|
384
|
+
:type _request_auth: dict, optional
|
385
|
+
:param _content_type: force content-type for the request.
|
386
|
+
:type _content_type: str, Optional
|
387
|
+
:param _headers: set to override the headers for a single
|
388
|
+
request; this effectively ignores the headers
|
389
|
+
in the spec for a single request.
|
390
|
+
:type _headers: dict, optional
|
391
|
+
:param _host_index: set to override the host_index for a single
|
392
|
+
request; this effectively ignores the host_index
|
393
|
+
in the spec for a single request.
|
394
|
+
:type _host_index: int, optional
|
395
|
+
:return: Returns the result object.
|
396
|
+
""" # noqa: E501
|
397
|
+
|
398
|
+
_param = self._user_list_serialize(
|
399
|
+
_request_auth=_request_auth,
|
400
|
+
_content_type=_content_type,
|
401
|
+
_headers=_headers,
|
402
|
+
_host_index=_host_index,
|
403
|
+
)
|
404
|
+
|
405
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
406
|
+
"200": "List[Whoami200Response]",
|
407
|
+
}
|
408
|
+
response_data = await self.api_client.call_api(
|
409
|
+
*_param, _request_timeout=_request_timeout
|
410
|
+
)
|
411
|
+
await response_data.read()
|
412
|
+
return self.api_client.response_deserialize(
|
413
|
+
response_data=response_data,
|
414
|
+
response_types_map=_response_types_map,
|
415
|
+
)
|
416
|
+
|
417
|
+
@validate_call
|
418
|
+
async def user_list_without_preload_content(
|
419
|
+
self,
|
420
|
+
_request_timeout: Union[
|
421
|
+
None,
|
422
|
+
Annotated[StrictFloat, Field(gt=0)],
|
423
|
+
Tuple[
|
424
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
425
|
+
],
|
426
|
+
] = None,
|
427
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
428
|
+
_content_type: Optional[StrictStr] = None,
|
429
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
430
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
431
|
+
) -> RESTResponseType:
|
432
|
+
"""User List
|
433
|
+
|
434
|
+
Returns the list of users.
|
435
|
+
|
436
|
+
:param _request_timeout: timeout setting for this request. If one
|
437
|
+
number provided, it will be total request
|
438
|
+
timeout. It can also be a pair (tuple) of
|
439
|
+
(connection, read) timeouts.
|
440
|
+
:type _request_timeout: int, tuple(int, int), optional
|
441
|
+
:param _request_auth: set to override the auth_settings for an a single
|
442
|
+
request; this effectively ignores the
|
443
|
+
authentication in the spec for a single request.
|
444
|
+
:type _request_auth: dict, optional
|
445
|
+
:param _content_type: force content-type for the request.
|
446
|
+
:type _content_type: str, Optional
|
447
|
+
:param _headers: set to override the headers for a single
|
448
|
+
request; this effectively ignores the headers
|
449
|
+
in the spec for a single request.
|
450
|
+
:type _headers: dict, optional
|
451
|
+
:param _host_index: set to override the host_index for a single
|
452
|
+
request; this effectively ignores the host_index
|
453
|
+
in the spec for a single request.
|
454
|
+
:type _host_index: int, optional
|
455
|
+
:return: Returns the result object.
|
456
|
+
""" # noqa: E501
|
457
|
+
|
458
|
+
_param = self._user_list_serialize(
|
459
|
+
_request_auth=_request_auth,
|
460
|
+
_content_type=_content_type,
|
461
|
+
_headers=_headers,
|
462
|
+
_host_index=_host_index,
|
463
|
+
)
|
464
|
+
|
465
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
466
|
+
"200": "List[Whoami200Response]",
|
467
|
+
}
|
468
|
+
response_data = await self.api_client.call_api(
|
469
|
+
*_param, _request_timeout=_request_timeout
|
470
|
+
)
|
471
|
+
return response_data.response
|
472
|
+
|
473
|
+
def _user_list_serialize(
|
474
|
+
self,
|
475
|
+
_request_auth,
|
476
|
+
_content_type,
|
477
|
+
_headers,
|
478
|
+
_host_index,
|
479
|
+
) -> RequestSerialized:
|
480
|
+
|
481
|
+
_host = None
|
482
|
+
|
483
|
+
_collection_formats: Dict[str, str] = {}
|
484
|
+
|
485
|
+
_path_params: Dict[str, str] = {}
|
486
|
+
_query_params: List[Tuple[str, str]] = []
|
487
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
488
|
+
_form_params: List[Tuple[str, str]] = []
|
489
|
+
_files: Dict[
|
490
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
491
|
+
] = {}
|
492
|
+
_body_params: Optional[bytes] = None
|
493
|
+
|
494
|
+
# process the path parameters
|
495
|
+
# process the query parameters
|
496
|
+
# process the header parameters
|
497
|
+
# process the form parameters
|
498
|
+
# process the body parameter
|
499
|
+
|
500
|
+
# set the HTTP header `Accept`
|
501
|
+
if "Accept" not in _header_params:
|
502
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
503
|
+
["application/json"]
|
504
|
+
)
|
505
|
+
|
506
|
+
# authentication setting
|
507
|
+
_auth_settings: List[str] = []
|
508
|
+
|
509
|
+
return self.api_client.param_serialize(
|
510
|
+
method="GET",
|
511
|
+
resource_path="/user-list",
|
512
|
+
path_params=_path_params,
|
513
|
+
query_params=_query_params,
|
514
|
+
header_params=_header_params,
|
515
|
+
body=_body_params,
|
516
|
+
post_params=_form_params,
|
517
|
+
files=_files,
|
518
|
+
auth_settings=_auth_settings,
|
519
|
+
collection_formats=_collection_formats,
|
520
|
+
_host=_host,
|
521
|
+
_request_auth=_request_auth,
|
522
|
+
)
|