@paysponge/sdk 0.1.98 → 0.1.116
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.
- package/dist/api/generated/openapi/apis/default-api.d.ts +3195 -1911
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +1351 -73
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +5 -0
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +5 -0
- package/dist/api/generated/openapi/models/index.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.d.ts +187 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.js +125 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.d.ts +58 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.js +57 -0
- package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-link-request.d.ts +33 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-link-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-link-request.js +44 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-link-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.d.ts +65 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.js +62 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.d.ts +53 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js +50 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-cards-request.d.ts +2 -2
- package/dist/api/generated/openapi/models/post-api-cards-request.js +2 -2
- package/dist/api/generated/openapi/models/post-api-cards-request.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.d.ts +6 -0
- package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.js +2 -0
- package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.js.map +1 -1
- package/dist/api/http.d.ts +2 -0
- package/dist/api/http.d.ts.map +1 -1
- package/dist/api/http.js +14 -1
- package/dist/api/http.js.map +1 -1
- package/dist/api/public-tools.d.ts +60 -3
- package/dist/api/public-tools.d.ts.map +1 -1
- package/dist/api/public-tools.js +31 -0
- package/dist/api/public-tools.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +105 -15
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +45 -8
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +33 -5
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +95 -21
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +48 -1
- package/dist/tools/executor.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +2 -1
|
@@ -12,11 +12,843 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime.js';
|
|
15
|
-
import { PostApiAgentKeysRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsCredentialRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsLinkRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdPolymarketWithdrawRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiAmazonCheckoutAmazonSearchRequestToJSON, PostApiAmazonCheckoutRequestToJSON, PostApiAmazonCheckoutStreamRequestToJSON, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerPersonaRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardUsageRequestToJSON, PostApiCardsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON, PostApiFaucetRequestRequestToJSON, PostApiFlowsRequestToJSON, PostApiHyperliquidRequestToJSON, PostApiInvitesRedeemRequestToJSON, PostApiInvitesRegisterDirectRequestToJSON, PostApiInvitesValidateRequestToJSON, PostApiLinkCliAuthLoginRequestToJSON, PostApiMasterKeysRequestToJSON, PostApiMppFetchRequestToJSON, PostApiMppSessionCloseRequestToJSON, PostApiMppSessionRequestRequestToJSON, PostApiMppSessionStartRequestToJSON, PostApiOauthDeviceApproveRequestToJSON, PostApiOauthDeviceAuthorizationRequestToJSON, PostApiOauthDeviceDenyRequestToJSON, PostApiOauthDeviceTokenRequestToJSON, PostApiOnrampCryptoRequestToJSON, PostApiPaidFetchRequestToJSON, PostApiPaymentLinksRequestToJSON, PostApiPersonaKycInquiryRequestToJSON, PostApiPlansApproveRequestToJSON, PostApiPlansSubmitRequestToJSON, PostApiPolymarketRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, PostApiSpongeCardCardRequestToJSON, PostApiSpongeCardCardsByCardIdSecretsRequestToJSON, PostApiSpongeCardContractsByContractIdFundRequestToJSON, PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON, PostApiSpongeCardCreateCardRequestToJSON, PostApiSpongeCardCustomerRefreshRequestToJSON, PostApiSpongeCardCustomerRequestToJSON, PostApiSpongeCardFundRequestToJSON, PostApiSpongeCardOnboardRequestToJSON, PostApiSpongeCardTermsRequestToJSON, PostApiSpongeCardWithdrawRequestToJSON, PostApiStripeOnrampSessionRequestToJSON, PostApiTasksRequestToJSON, PostApiTradesProposeRequestToJSON, PostApiTransactionsBridgeRequestToJSON, PostApiTransactionsPrepareRequestToJSON, PostApiTransactionsSwapExecuteRequestToJSON, PostApiTransactionsSwapRequestToJSON, PostApiTransactionsTransferRequestToJSON, PostApiTransfersEvmRequestToJSON, PostApiTransfersSolanaRequestToJSON, PostApiTransfersTempoRequestToJSON, PostApiUsersSyncRequestToJSON, PostApiVirtualCardsRequestToJSON, PostApiWalletsByIdExportKeyRequestToJSON, PostApiWalletsByIdWithdrawRequestToJSON, PostApiWalletsMigrateQuorumRequestToJSON, PostApiWalletsPricesRequestToJSON, PostApiWalletsRequestToJSON, PostApiX402FetchRequestToJSON, PostApiX402PaymentsRequestToJSON, PostOauthAuthorizeCallbackRequestToJSON, PostOauthRegisterRequestToJSON, PostOauthRevokeRequestToJSON, PostOauthTokenRequestToJSON, PutApiAgentRequestsByIdApproveRequestToJSON, PutApiAgentRequestsByIdRespondRequestToJSON, PutApiAgentRequestsPlansByPlanIdRejectRequestToJSON, PutApiAgentsByIdRequestToJSON, PutApiFlowsByIdRequestToJSON, PutApiSpendingLimitsByIdRequestToJSON, } from '../models/index.js';
|
|
15
|
+
import { PostApiAgentKeysRequestToJSON, PostApiAgentRequestsPlansRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidLinkRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsCredentialRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsLinkRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdPolymarketWithdrawRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdStripePaymentMethodsRequestToJSON, PostApiAgentsByIdStripePaymentMethodsSetupIntentRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiAmazonCheckoutAmazonSearchRequestToJSON, PostApiAmazonCheckoutRequestToJSON, PostApiAmazonCheckoutStreamRequestToJSON, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerPersonaRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardUsageRequestToJSON, PostApiCardsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON, PostApiFaucetRequestRequestToJSON, PostApiFlowsRequestToJSON, PostApiHyperliquidRequestToJSON, PostApiInvitesRedeemRequestToJSON, PostApiInvitesRegisterDirectRequestToJSON, PostApiInvitesValidateRequestToJSON, PostApiLinkCliAuthLoginRequestToJSON, PostApiMasterKeysRequestToJSON, PostApiMppFetchRequestToJSON, PostApiMppSessionCloseRequestToJSON, PostApiMppSessionRequestRequestToJSON, PostApiMppSessionStartRequestToJSON, PostApiOauthDeviceApproveRequestToJSON, PostApiOauthDeviceAuthorizationRequestToJSON, PostApiOauthDeviceDenyRequestToJSON, PostApiOauthDeviceTokenRequestToJSON, PostApiOnrampCryptoRequestToJSON, PostApiPaidFetchRequestToJSON, PostApiPaymentLinksRequestToJSON, PostApiPersonaKycInquiryRequestToJSON, PostApiPlansApproveRequestToJSON, PostApiPlansSubmitRequestToJSON, PostApiPolymarketRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, PostApiSpongeCardCardRequestToJSON, PostApiSpongeCardCardsByCardIdSecretsRequestToJSON, PostApiSpongeCardContractsByContractIdFundRequestToJSON, PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON, PostApiSpongeCardCreateCardRequestToJSON, PostApiSpongeCardCustomerRefreshRequestToJSON, PostApiSpongeCardCustomerRequestToJSON, PostApiSpongeCardFundRequestToJSON, PostApiSpongeCardOnboardRequestToJSON, PostApiSpongeCardTermsRequestToJSON, PostApiSpongeCardWithdrawRequestToJSON, PostApiStripeOnrampSessionRequestToJSON, PostApiTasksRequestToJSON, PostApiTradesProposeRequestToJSON, PostApiTransactionsBridgeRequestToJSON, PostApiTransactionsPrepareRequestToJSON, PostApiTransactionsSwapExecuteRequestToJSON, PostApiTransactionsSwapRequestToJSON, PostApiTransactionsTransferRequestToJSON, PostApiTransfersEvmRequestToJSON, PostApiTransfersSolanaRequestToJSON, PostApiTransfersTempoRequestToJSON, PostApiUsersSyncRequestToJSON, PostApiVirtualCardsRequestToJSON, PostApiWalletsByIdExportKeyRequestToJSON, PostApiWalletsByIdWithdrawRequestToJSON, PostApiWalletsMigrateQuorumRequestToJSON, PostApiWalletsPricesRequestToJSON, PostApiWalletsRequestToJSON, PostApiX402FetchRequestToJSON, PostApiX402PaymentsRequestToJSON, PostOauthAuthorizeCallbackRequestToJSON, PostOauthRegisterRequestToJSON, PostOauthRevokeRequestToJSON, PostOauthTokenRequestToJSON, PutApiAgentRequestsByIdApproveRequestToJSON, PutApiAgentRequestsByIdRespondRequestToJSON, PutApiAgentRequestsPlansByPlanIdRejectRequestToJSON, PutApiAgentsByIdRequestToJSON, PutApiFlowsByIdRequestToJSON, PutApiSpendingLimitsByIdRequestToJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class DefaultApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Creates request options for allChatgptMcp without sending the request
|
|
22
|
+
*/
|
|
23
|
+
async allChatgptMcpRequestOpts() {
|
|
24
|
+
const queryParameters = {};
|
|
25
|
+
const headerParameters = {};
|
|
26
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
27
|
+
return {
|
|
28
|
+
path: urlPath,
|
|
29
|
+
method: 'GET',
|
|
30
|
+
headers: headerParameters,
|
|
31
|
+
query: queryParameters,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*/
|
|
36
|
+
async allChatgptMcpRaw(initOverrides) {
|
|
37
|
+
const requestOptions = await this.allChatgptMcpRequestOpts();
|
|
38
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
39
|
+
return new runtime.VoidApiResponse(response);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
*/
|
|
43
|
+
async allChatgptMcp(initOverrides) {
|
|
44
|
+
await this.allChatgptMcpRaw(initOverrides);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Creates request options for allChatgptMcp_1 without sending the request
|
|
48
|
+
*/
|
|
49
|
+
async allChatgptMcp_1RequestOpts() {
|
|
50
|
+
const queryParameters = {};
|
|
51
|
+
const headerParameters = {};
|
|
52
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
53
|
+
return {
|
|
54
|
+
path: urlPath,
|
|
55
|
+
method: 'HEAD',
|
|
56
|
+
headers: headerParameters,
|
|
57
|
+
query: queryParameters,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
*/
|
|
62
|
+
async allChatgptMcp_1Raw(initOverrides) {
|
|
63
|
+
const requestOptions = await this.allChatgptMcp_1RequestOpts();
|
|
64
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
65
|
+
return new runtime.VoidApiResponse(response);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
*/
|
|
69
|
+
async allChatgptMcp_1(initOverrides) {
|
|
70
|
+
await this.allChatgptMcp_1Raw(initOverrides);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Creates request options for allChatgptMcp_2 without sending the request
|
|
74
|
+
*/
|
|
75
|
+
async allChatgptMcp_2RequestOpts() {
|
|
76
|
+
const queryParameters = {};
|
|
77
|
+
const headerParameters = {};
|
|
78
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
79
|
+
return {
|
|
80
|
+
path: urlPath,
|
|
81
|
+
method: 'PUT',
|
|
82
|
+
headers: headerParameters,
|
|
83
|
+
query: queryParameters,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
*/
|
|
88
|
+
async allChatgptMcp_2Raw(initOverrides) {
|
|
89
|
+
const requestOptions = await this.allChatgptMcp_2RequestOpts();
|
|
90
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
91
|
+
return new runtime.VoidApiResponse(response);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
*/
|
|
95
|
+
async allChatgptMcp_2(initOverrides) {
|
|
96
|
+
await this.allChatgptMcp_2Raw(initOverrides);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Creates request options for allChatgptMcp_3 without sending the request
|
|
100
|
+
*/
|
|
101
|
+
async allChatgptMcp_3RequestOpts() {
|
|
102
|
+
const queryParameters = {};
|
|
103
|
+
const headerParameters = {};
|
|
104
|
+
let urlPath = `/chatgpt/mcp`;
|
|
105
|
+
return {
|
|
106
|
+
path: urlPath,
|
|
107
|
+
method: 'POST',
|
|
108
|
+
headers: headerParameters,
|
|
109
|
+
query: queryParameters,
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
*/
|
|
114
|
+
async allChatgptMcp_3Raw(initOverrides) {
|
|
115
|
+
const requestOptions = await this.allChatgptMcp_3RequestOpts();
|
|
116
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
117
|
+
return new runtime.VoidApiResponse(response);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
*/
|
|
121
|
+
async allChatgptMcp_3(initOverrides) {
|
|
122
|
+
await this.allChatgptMcp_3Raw(initOverrides);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Creates request options for allChatgptMcp_4 without sending the request
|
|
126
|
+
*/
|
|
127
|
+
async allChatgptMcp_4RequestOpts() {
|
|
128
|
+
const queryParameters = {};
|
|
129
|
+
const headerParameters = {};
|
|
130
|
+
let urlPath = `/chatgpt/mcp`;
|
|
131
|
+
return {
|
|
132
|
+
path: urlPath,
|
|
133
|
+
method: 'DELETE',
|
|
134
|
+
headers: headerParameters,
|
|
135
|
+
query: queryParameters,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
*/
|
|
140
|
+
async allChatgptMcp_4Raw(initOverrides) {
|
|
141
|
+
const requestOptions = await this.allChatgptMcp_4RequestOpts();
|
|
142
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
143
|
+
return new runtime.VoidApiResponse(response);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
*/
|
|
147
|
+
async allChatgptMcp_4(initOverrides) {
|
|
148
|
+
await this.allChatgptMcp_4Raw(initOverrides);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Creates request options for allChatgptMcp_5 without sending the request
|
|
152
|
+
*/
|
|
153
|
+
async allChatgptMcp_5RequestOpts() {
|
|
154
|
+
const queryParameters = {};
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
let urlPath = `/chatgpt/mcp`;
|
|
157
|
+
return {
|
|
158
|
+
path: urlPath,
|
|
159
|
+
method: 'PATCH',
|
|
160
|
+
headers: headerParameters,
|
|
161
|
+
query: queryParameters,
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
*/
|
|
166
|
+
async allChatgptMcp_5Raw(initOverrides) {
|
|
167
|
+
const requestOptions = await this.allChatgptMcp_5RequestOpts();
|
|
168
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
169
|
+
return new runtime.VoidApiResponse(response);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
*/
|
|
173
|
+
async allChatgptMcp_5(initOverrides) {
|
|
174
|
+
await this.allChatgptMcp_5Raw(initOverrides);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Creates request options for allChatgptMcp_6 without sending the request
|
|
178
|
+
*/
|
|
179
|
+
async allChatgptMcp_6RequestOpts() {
|
|
180
|
+
const queryParameters = {};
|
|
181
|
+
const headerParameters = {};
|
|
182
|
+
let urlPath = `/chatgpt/mcp`;
|
|
183
|
+
return {
|
|
184
|
+
path: urlPath,
|
|
185
|
+
method: 'OPTIONS',
|
|
186
|
+
headers: headerParameters,
|
|
187
|
+
query: queryParameters,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
*/
|
|
192
|
+
async allChatgptMcp_6Raw(initOverrides) {
|
|
193
|
+
const requestOptions = await this.allChatgptMcp_6RequestOpts();
|
|
194
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
195
|
+
return new runtime.VoidApiResponse(response);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
*/
|
|
199
|
+
async allChatgptMcp_6(initOverrides) {
|
|
200
|
+
await this.allChatgptMcp_6Raw(initOverrides);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Creates request options for allChatgptMcp_7 without sending the request
|
|
204
|
+
*/
|
|
205
|
+
async allChatgptMcp_7RequestOpts() {
|
|
206
|
+
const queryParameters = {};
|
|
207
|
+
const headerParameters = {};
|
|
208
|
+
let urlPath = `/chatgpt/mcp`;
|
|
209
|
+
return {
|
|
210
|
+
path: urlPath,
|
|
211
|
+
method: 'TRACE',
|
|
212
|
+
headers: headerParameters,
|
|
213
|
+
query: queryParameters,
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
*/
|
|
218
|
+
async allChatgptMcp_7Raw(initOverrides) {
|
|
219
|
+
const requestOptions = await this.allChatgptMcp_7RequestOpts();
|
|
220
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
221
|
+
return new runtime.VoidApiResponse(response);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
*/
|
|
225
|
+
async allChatgptMcp_7(initOverrides) {
|
|
226
|
+
await this.allChatgptMcp_7Raw(initOverrides);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates request options for allChatgptMcp_8 without sending the request
|
|
230
|
+
*/
|
|
231
|
+
async allChatgptMcp_8RequestOpts() {
|
|
232
|
+
const queryParameters = {};
|
|
233
|
+
const headerParameters = {};
|
|
234
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
235
|
+
return {
|
|
236
|
+
path: urlPath,
|
|
237
|
+
method: 'POST',
|
|
238
|
+
headers: headerParameters,
|
|
239
|
+
query: queryParameters,
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
*/
|
|
244
|
+
async allChatgptMcp_8Raw(initOverrides) {
|
|
245
|
+
const requestOptions = await this.allChatgptMcp_8RequestOpts();
|
|
246
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
247
|
+
return new runtime.VoidApiResponse(response);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
*/
|
|
251
|
+
async allChatgptMcp_8(initOverrides) {
|
|
252
|
+
await this.allChatgptMcp_8Raw(initOverrides);
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Creates request options for allChatgptMcp_9 without sending the request
|
|
256
|
+
*/
|
|
257
|
+
async allChatgptMcp_9RequestOpts() {
|
|
258
|
+
const queryParameters = {};
|
|
259
|
+
const headerParameters = {};
|
|
260
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
261
|
+
return {
|
|
262
|
+
path: urlPath,
|
|
263
|
+
method: 'DELETE',
|
|
264
|
+
headers: headerParameters,
|
|
265
|
+
query: queryParameters,
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
*/
|
|
270
|
+
async allChatgptMcp_9Raw(initOverrides) {
|
|
271
|
+
const requestOptions = await this.allChatgptMcp_9RequestOpts();
|
|
272
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
273
|
+
return new runtime.VoidApiResponse(response);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
*/
|
|
277
|
+
async allChatgptMcp_9(initOverrides) {
|
|
278
|
+
await this.allChatgptMcp_9Raw(initOverrides);
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Creates request options for allChatgptMcp_10 without sending the request
|
|
282
|
+
*/
|
|
283
|
+
async allChatgptMcp_10RequestOpts() {
|
|
284
|
+
const queryParameters = {};
|
|
285
|
+
const headerParameters = {};
|
|
286
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
287
|
+
return {
|
|
288
|
+
path: urlPath,
|
|
289
|
+
method: 'PATCH',
|
|
290
|
+
headers: headerParameters,
|
|
291
|
+
query: queryParameters,
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
*/
|
|
296
|
+
async allChatgptMcp_10Raw(initOverrides) {
|
|
297
|
+
const requestOptions = await this.allChatgptMcp_10RequestOpts();
|
|
298
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
299
|
+
return new runtime.VoidApiResponse(response);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
*/
|
|
303
|
+
async allChatgptMcp_10(initOverrides) {
|
|
304
|
+
await this.allChatgptMcp_10Raw(initOverrides);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Creates request options for allChatgptMcp_11 without sending the request
|
|
308
|
+
*/
|
|
309
|
+
async allChatgptMcp_11RequestOpts() {
|
|
310
|
+
const queryParameters = {};
|
|
311
|
+
const headerParameters = {};
|
|
312
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
313
|
+
return {
|
|
314
|
+
path: urlPath,
|
|
315
|
+
method: 'OPTIONS',
|
|
316
|
+
headers: headerParameters,
|
|
317
|
+
query: queryParameters,
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
*/
|
|
322
|
+
async allChatgptMcp_11Raw(initOverrides) {
|
|
323
|
+
const requestOptions = await this.allChatgptMcp_11RequestOpts();
|
|
324
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
325
|
+
return new runtime.VoidApiResponse(response);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
*/
|
|
329
|
+
async allChatgptMcp_11(initOverrides) {
|
|
330
|
+
await this.allChatgptMcp_11Raw(initOverrides);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Creates request options for allChatgptMcp_12 without sending the request
|
|
334
|
+
*/
|
|
335
|
+
async allChatgptMcp_12RequestOpts() {
|
|
336
|
+
const queryParameters = {};
|
|
337
|
+
const headerParameters = {};
|
|
338
|
+
let urlPath = `/chatgpt/mcp/*`;
|
|
339
|
+
return {
|
|
340
|
+
path: urlPath,
|
|
341
|
+
method: 'TRACE',
|
|
342
|
+
headers: headerParameters,
|
|
343
|
+
query: queryParameters,
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
*/
|
|
348
|
+
async allChatgptMcp_12Raw(initOverrides) {
|
|
349
|
+
const requestOptions = await this.allChatgptMcp_12RequestOpts();
|
|
350
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
351
|
+
return new runtime.VoidApiResponse(response);
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
*/
|
|
355
|
+
async allChatgptMcp_12(initOverrides) {
|
|
356
|
+
await this.allChatgptMcp_12Raw(initOverrides);
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Creates request options for allChatgptMcp_13 without sending the request
|
|
360
|
+
*/
|
|
361
|
+
async allChatgptMcp_13RequestOpts() {
|
|
362
|
+
const queryParameters = {};
|
|
363
|
+
const headerParameters = {};
|
|
364
|
+
let urlPath = `/chatgpt/mcp`;
|
|
365
|
+
return {
|
|
366
|
+
path: urlPath,
|
|
367
|
+
method: 'GET',
|
|
368
|
+
headers: headerParameters,
|
|
369
|
+
query: queryParameters,
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
*/
|
|
374
|
+
async allChatgptMcp_13Raw(initOverrides) {
|
|
375
|
+
const requestOptions = await this.allChatgptMcp_13RequestOpts();
|
|
376
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
377
|
+
return new runtime.VoidApiResponse(response);
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
*/
|
|
381
|
+
async allChatgptMcp_13(initOverrides) {
|
|
382
|
+
await this.allChatgptMcp_13Raw(initOverrides);
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Creates request options for allChatgptMcp_14 without sending the request
|
|
386
|
+
*/
|
|
387
|
+
async allChatgptMcp_14RequestOpts() {
|
|
388
|
+
const queryParameters = {};
|
|
389
|
+
const headerParameters = {};
|
|
390
|
+
let urlPath = `/chatgpt/mcp`;
|
|
391
|
+
return {
|
|
392
|
+
path: urlPath,
|
|
393
|
+
method: 'HEAD',
|
|
394
|
+
headers: headerParameters,
|
|
395
|
+
query: queryParameters,
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
*/
|
|
400
|
+
async allChatgptMcp_14Raw(initOverrides) {
|
|
401
|
+
const requestOptions = await this.allChatgptMcp_14RequestOpts();
|
|
402
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
403
|
+
return new runtime.VoidApiResponse(response);
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
*/
|
|
407
|
+
async allChatgptMcp_14(initOverrides) {
|
|
408
|
+
await this.allChatgptMcp_14Raw(initOverrides);
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Creates request options for allChatgptMcp_15 without sending the request
|
|
412
|
+
*/
|
|
413
|
+
async allChatgptMcp_15RequestOpts() {
|
|
414
|
+
const queryParameters = {};
|
|
415
|
+
const headerParameters = {};
|
|
416
|
+
let urlPath = `/chatgpt/mcp`;
|
|
417
|
+
return {
|
|
418
|
+
path: urlPath,
|
|
419
|
+
method: 'PUT',
|
|
420
|
+
headers: headerParameters,
|
|
421
|
+
query: queryParameters,
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
*/
|
|
426
|
+
async allChatgptMcp_15Raw(initOverrides) {
|
|
427
|
+
const requestOptions = await this.allChatgptMcp_15RequestOpts();
|
|
428
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
429
|
+
return new runtime.VoidApiResponse(response);
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
*/
|
|
433
|
+
async allChatgptMcp_15(initOverrides) {
|
|
434
|
+
await this.allChatgptMcp_15Raw(initOverrides);
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Creates request options for allTradeMcp without sending the request
|
|
438
|
+
*/
|
|
439
|
+
async allTradeMcpRequestOpts() {
|
|
440
|
+
const queryParameters = {};
|
|
441
|
+
const headerParameters = {};
|
|
442
|
+
let urlPath = `/trade/mcp/*`;
|
|
443
|
+
return {
|
|
444
|
+
path: urlPath,
|
|
445
|
+
method: 'GET',
|
|
446
|
+
headers: headerParameters,
|
|
447
|
+
query: queryParameters,
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
*/
|
|
452
|
+
async allTradeMcpRaw(initOverrides) {
|
|
453
|
+
const requestOptions = await this.allTradeMcpRequestOpts();
|
|
454
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
455
|
+
return new runtime.VoidApiResponse(response);
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
*/
|
|
459
|
+
async allTradeMcp(initOverrides) {
|
|
460
|
+
await this.allTradeMcpRaw(initOverrides);
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* Creates request options for allTradeMcp_16 without sending the request
|
|
464
|
+
*/
|
|
465
|
+
async allTradeMcp_16RequestOpts() {
|
|
466
|
+
const queryParameters = {};
|
|
467
|
+
const headerParameters = {};
|
|
468
|
+
let urlPath = `/trade/mcp/*`;
|
|
469
|
+
return {
|
|
470
|
+
path: urlPath,
|
|
471
|
+
method: 'HEAD',
|
|
472
|
+
headers: headerParameters,
|
|
473
|
+
query: queryParameters,
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
*/
|
|
478
|
+
async allTradeMcp_16Raw(initOverrides) {
|
|
479
|
+
const requestOptions = await this.allTradeMcp_16RequestOpts();
|
|
480
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
481
|
+
return new runtime.VoidApiResponse(response);
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
*/
|
|
485
|
+
async allTradeMcp_16(initOverrides) {
|
|
486
|
+
await this.allTradeMcp_16Raw(initOverrides);
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Creates request options for allTradeMcp_17 without sending the request
|
|
490
|
+
*/
|
|
491
|
+
async allTradeMcp_17RequestOpts() {
|
|
492
|
+
const queryParameters = {};
|
|
493
|
+
const headerParameters = {};
|
|
494
|
+
let urlPath = `/trade/mcp/*`;
|
|
495
|
+
return {
|
|
496
|
+
path: urlPath,
|
|
497
|
+
method: 'PUT',
|
|
498
|
+
headers: headerParameters,
|
|
499
|
+
query: queryParameters,
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
*/
|
|
504
|
+
async allTradeMcp_17Raw(initOverrides) {
|
|
505
|
+
const requestOptions = await this.allTradeMcp_17RequestOpts();
|
|
506
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
507
|
+
return new runtime.VoidApiResponse(response);
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
*/
|
|
511
|
+
async allTradeMcp_17(initOverrides) {
|
|
512
|
+
await this.allTradeMcp_17Raw(initOverrides);
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* Creates request options for allTradeMcp_18 without sending the request
|
|
516
|
+
*/
|
|
517
|
+
async allTradeMcp_18RequestOpts() {
|
|
518
|
+
const queryParameters = {};
|
|
519
|
+
const headerParameters = {};
|
|
520
|
+
let urlPath = `/trade/mcp`;
|
|
521
|
+
return {
|
|
522
|
+
path: urlPath,
|
|
523
|
+
method: 'POST',
|
|
524
|
+
headers: headerParameters,
|
|
525
|
+
query: queryParameters,
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
*/
|
|
530
|
+
async allTradeMcp_18Raw(initOverrides) {
|
|
531
|
+
const requestOptions = await this.allTradeMcp_18RequestOpts();
|
|
532
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
533
|
+
return new runtime.VoidApiResponse(response);
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
*/
|
|
537
|
+
async allTradeMcp_18(initOverrides) {
|
|
538
|
+
await this.allTradeMcp_18Raw(initOverrides);
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Creates request options for allTradeMcp_19 without sending the request
|
|
542
|
+
*/
|
|
543
|
+
async allTradeMcp_19RequestOpts() {
|
|
544
|
+
const queryParameters = {};
|
|
545
|
+
const headerParameters = {};
|
|
546
|
+
let urlPath = `/trade/mcp`;
|
|
547
|
+
return {
|
|
548
|
+
path: urlPath,
|
|
549
|
+
method: 'DELETE',
|
|
550
|
+
headers: headerParameters,
|
|
551
|
+
query: queryParameters,
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
*/
|
|
556
|
+
async allTradeMcp_19Raw(initOverrides) {
|
|
557
|
+
const requestOptions = await this.allTradeMcp_19RequestOpts();
|
|
558
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
559
|
+
return new runtime.VoidApiResponse(response);
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
*/
|
|
563
|
+
async allTradeMcp_19(initOverrides) {
|
|
564
|
+
await this.allTradeMcp_19Raw(initOverrides);
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Creates request options for allTradeMcp_20 without sending the request
|
|
568
|
+
*/
|
|
569
|
+
async allTradeMcp_20RequestOpts() {
|
|
570
|
+
const queryParameters = {};
|
|
571
|
+
const headerParameters = {};
|
|
572
|
+
let urlPath = `/trade/mcp`;
|
|
573
|
+
return {
|
|
574
|
+
path: urlPath,
|
|
575
|
+
method: 'PATCH',
|
|
576
|
+
headers: headerParameters,
|
|
577
|
+
query: queryParameters,
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
*/
|
|
582
|
+
async allTradeMcp_20Raw(initOverrides) {
|
|
583
|
+
const requestOptions = await this.allTradeMcp_20RequestOpts();
|
|
584
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
585
|
+
return new runtime.VoidApiResponse(response);
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
*/
|
|
589
|
+
async allTradeMcp_20(initOverrides) {
|
|
590
|
+
await this.allTradeMcp_20Raw(initOverrides);
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* Creates request options for allTradeMcp_21 without sending the request
|
|
594
|
+
*/
|
|
595
|
+
async allTradeMcp_21RequestOpts() {
|
|
596
|
+
const queryParameters = {};
|
|
597
|
+
const headerParameters = {};
|
|
598
|
+
let urlPath = `/trade/mcp`;
|
|
599
|
+
return {
|
|
600
|
+
path: urlPath,
|
|
601
|
+
method: 'OPTIONS',
|
|
602
|
+
headers: headerParameters,
|
|
603
|
+
query: queryParameters,
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
*/
|
|
608
|
+
async allTradeMcp_21Raw(initOverrides) {
|
|
609
|
+
const requestOptions = await this.allTradeMcp_21RequestOpts();
|
|
610
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
611
|
+
return new runtime.VoidApiResponse(response);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
*/
|
|
615
|
+
async allTradeMcp_21(initOverrides) {
|
|
616
|
+
await this.allTradeMcp_21Raw(initOverrides);
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Creates request options for allTradeMcp_22 without sending the request
|
|
620
|
+
*/
|
|
621
|
+
async allTradeMcp_22RequestOpts() {
|
|
622
|
+
const queryParameters = {};
|
|
623
|
+
const headerParameters = {};
|
|
624
|
+
let urlPath = `/trade/mcp`;
|
|
625
|
+
return {
|
|
626
|
+
path: urlPath,
|
|
627
|
+
method: 'TRACE',
|
|
628
|
+
headers: headerParameters,
|
|
629
|
+
query: queryParameters,
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
*/
|
|
634
|
+
async allTradeMcp_22Raw(initOverrides) {
|
|
635
|
+
const requestOptions = await this.allTradeMcp_22RequestOpts();
|
|
636
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
637
|
+
return new runtime.VoidApiResponse(response);
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
*/
|
|
641
|
+
async allTradeMcp_22(initOverrides) {
|
|
642
|
+
await this.allTradeMcp_22Raw(initOverrides);
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Creates request options for allTradeMcp_23 without sending the request
|
|
646
|
+
*/
|
|
647
|
+
async allTradeMcp_23RequestOpts() {
|
|
648
|
+
const queryParameters = {};
|
|
649
|
+
const headerParameters = {};
|
|
650
|
+
let urlPath = `/trade/mcp/*`;
|
|
651
|
+
return {
|
|
652
|
+
path: urlPath,
|
|
653
|
+
method: 'POST',
|
|
654
|
+
headers: headerParameters,
|
|
655
|
+
query: queryParameters,
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
*/
|
|
660
|
+
async allTradeMcp_23Raw(initOverrides) {
|
|
661
|
+
const requestOptions = await this.allTradeMcp_23RequestOpts();
|
|
662
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
663
|
+
return new runtime.VoidApiResponse(response);
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
*/
|
|
667
|
+
async allTradeMcp_23(initOverrides) {
|
|
668
|
+
await this.allTradeMcp_23Raw(initOverrides);
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* Creates request options for allTradeMcp_24 without sending the request
|
|
672
|
+
*/
|
|
673
|
+
async allTradeMcp_24RequestOpts() {
|
|
674
|
+
const queryParameters = {};
|
|
675
|
+
const headerParameters = {};
|
|
676
|
+
let urlPath = `/trade/mcp/*`;
|
|
677
|
+
return {
|
|
678
|
+
path: urlPath,
|
|
679
|
+
method: 'DELETE',
|
|
680
|
+
headers: headerParameters,
|
|
681
|
+
query: queryParameters,
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
*/
|
|
686
|
+
async allTradeMcp_24Raw(initOverrides) {
|
|
687
|
+
const requestOptions = await this.allTradeMcp_24RequestOpts();
|
|
688
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
689
|
+
return new runtime.VoidApiResponse(response);
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
*/
|
|
693
|
+
async allTradeMcp_24(initOverrides) {
|
|
694
|
+
await this.allTradeMcp_24Raw(initOverrides);
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* Creates request options for allTradeMcp_25 without sending the request
|
|
698
|
+
*/
|
|
699
|
+
async allTradeMcp_25RequestOpts() {
|
|
700
|
+
const queryParameters = {};
|
|
701
|
+
const headerParameters = {};
|
|
702
|
+
let urlPath = `/trade/mcp/*`;
|
|
703
|
+
return {
|
|
704
|
+
path: urlPath,
|
|
705
|
+
method: 'PATCH',
|
|
706
|
+
headers: headerParameters,
|
|
707
|
+
query: queryParameters,
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
*/
|
|
712
|
+
async allTradeMcp_25Raw(initOverrides) {
|
|
713
|
+
const requestOptions = await this.allTradeMcp_25RequestOpts();
|
|
714
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
715
|
+
return new runtime.VoidApiResponse(response);
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
*/
|
|
719
|
+
async allTradeMcp_25(initOverrides) {
|
|
720
|
+
await this.allTradeMcp_25Raw(initOverrides);
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Creates request options for allTradeMcp_26 without sending the request
|
|
724
|
+
*/
|
|
725
|
+
async allTradeMcp_26RequestOpts() {
|
|
726
|
+
const queryParameters = {};
|
|
727
|
+
const headerParameters = {};
|
|
728
|
+
let urlPath = `/trade/mcp/*`;
|
|
729
|
+
return {
|
|
730
|
+
path: urlPath,
|
|
731
|
+
method: 'OPTIONS',
|
|
732
|
+
headers: headerParameters,
|
|
733
|
+
query: queryParameters,
|
|
734
|
+
};
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
*/
|
|
738
|
+
async allTradeMcp_26Raw(initOverrides) {
|
|
739
|
+
const requestOptions = await this.allTradeMcp_26RequestOpts();
|
|
740
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
741
|
+
return new runtime.VoidApiResponse(response);
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
*/
|
|
745
|
+
async allTradeMcp_26(initOverrides) {
|
|
746
|
+
await this.allTradeMcp_26Raw(initOverrides);
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* Creates request options for allTradeMcp_27 without sending the request
|
|
750
|
+
*/
|
|
751
|
+
async allTradeMcp_27RequestOpts() {
|
|
752
|
+
const queryParameters = {};
|
|
753
|
+
const headerParameters = {};
|
|
754
|
+
let urlPath = `/trade/mcp/*`;
|
|
755
|
+
return {
|
|
756
|
+
path: urlPath,
|
|
757
|
+
method: 'TRACE',
|
|
758
|
+
headers: headerParameters,
|
|
759
|
+
query: queryParameters,
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
*/
|
|
764
|
+
async allTradeMcp_27Raw(initOverrides) {
|
|
765
|
+
const requestOptions = await this.allTradeMcp_27RequestOpts();
|
|
766
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
767
|
+
return new runtime.VoidApiResponse(response);
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
*/
|
|
771
|
+
async allTradeMcp_27(initOverrides) {
|
|
772
|
+
await this.allTradeMcp_27Raw(initOverrides);
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Creates request options for allTradeMcp_28 without sending the request
|
|
776
|
+
*/
|
|
777
|
+
async allTradeMcp_28RequestOpts() {
|
|
778
|
+
const queryParameters = {};
|
|
779
|
+
const headerParameters = {};
|
|
780
|
+
let urlPath = `/trade/mcp`;
|
|
781
|
+
return {
|
|
782
|
+
path: urlPath,
|
|
783
|
+
method: 'GET',
|
|
784
|
+
headers: headerParameters,
|
|
785
|
+
query: queryParameters,
|
|
786
|
+
};
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
*/
|
|
790
|
+
async allTradeMcp_28Raw(initOverrides) {
|
|
791
|
+
const requestOptions = await this.allTradeMcp_28RequestOpts();
|
|
792
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
793
|
+
return new runtime.VoidApiResponse(response);
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
*/
|
|
797
|
+
async allTradeMcp_28(initOverrides) {
|
|
798
|
+
await this.allTradeMcp_28Raw(initOverrides);
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Creates request options for allTradeMcp_29 without sending the request
|
|
802
|
+
*/
|
|
803
|
+
async allTradeMcp_29RequestOpts() {
|
|
804
|
+
const queryParameters = {};
|
|
805
|
+
const headerParameters = {};
|
|
806
|
+
let urlPath = `/trade/mcp`;
|
|
807
|
+
return {
|
|
808
|
+
path: urlPath,
|
|
809
|
+
method: 'HEAD',
|
|
810
|
+
headers: headerParameters,
|
|
811
|
+
query: queryParameters,
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
*/
|
|
816
|
+
async allTradeMcp_29Raw(initOverrides) {
|
|
817
|
+
const requestOptions = await this.allTradeMcp_29RequestOpts();
|
|
818
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
819
|
+
return new runtime.VoidApiResponse(response);
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
*/
|
|
823
|
+
async allTradeMcp_29(initOverrides) {
|
|
824
|
+
await this.allTradeMcp_29Raw(initOverrides);
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* Creates request options for allTradeMcp_30 without sending the request
|
|
828
|
+
*/
|
|
829
|
+
async allTradeMcp_30RequestOpts() {
|
|
830
|
+
const queryParameters = {};
|
|
831
|
+
const headerParameters = {};
|
|
832
|
+
let urlPath = `/trade/mcp`;
|
|
833
|
+
return {
|
|
834
|
+
path: urlPath,
|
|
835
|
+
method: 'PUT',
|
|
836
|
+
headers: headerParameters,
|
|
837
|
+
query: queryParameters,
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
*/
|
|
842
|
+
async allTradeMcp_30Raw(initOverrides) {
|
|
843
|
+
const requestOptions = await this.allTradeMcp_30RequestOpts();
|
|
844
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
845
|
+
return new runtime.VoidApiResponse(response);
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
*/
|
|
849
|
+
async allTradeMcp_30(initOverrides) {
|
|
850
|
+
await this.allTradeMcp_30Raw(initOverrides);
|
|
851
|
+
}
|
|
20
852
|
/**
|
|
21
853
|
* Creates request options for deleteApiAgentKeys without sending the request
|
|
22
854
|
*/
|
|
@@ -150,6 +982,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
150
982
|
async deleteApiAgentsByIdEnrollmentsByEnrollmentId(requestParameters, initOverrides) {
|
|
151
983
|
await this.deleteApiAgentsByIdEnrollmentsByEnrollmentIdRaw(requestParameters, initOverrides);
|
|
152
984
|
}
|
|
985
|
+
/**
|
|
986
|
+
* Creates request options for deleteApiAgentsByIdHyperliquidLink without sending the request
|
|
987
|
+
*/
|
|
988
|
+
async deleteApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters) {
|
|
989
|
+
if (requestParameters['id'] == null) {
|
|
990
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiAgentsByIdHyperliquidLink().');
|
|
991
|
+
}
|
|
992
|
+
const queryParameters = {};
|
|
993
|
+
const headerParameters = {};
|
|
994
|
+
let urlPath = `/api/agents/{id}/hyperliquid/link`;
|
|
995
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
996
|
+
return {
|
|
997
|
+
path: urlPath,
|
|
998
|
+
method: 'DELETE',
|
|
999
|
+
headers: headerParameters,
|
|
1000
|
+
query: queryParameters,
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
*/
|
|
1005
|
+
async deleteApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides) {
|
|
1006
|
+
const requestOptions = await this.deleteApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters);
|
|
1007
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1008
|
+
return new runtime.VoidApiResponse(response);
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
*/
|
|
1012
|
+
async deleteApiAgentsByIdHyperliquidLink(requestParameters, initOverrides) {
|
|
1013
|
+
await this.deleteApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides);
|
|
1014
|
+
}
|
|
153
1015
|
/**
|
|
154
1016
|
* Creates request options for deleteApiAgentsByIdLinkPaymentMethodsByMethodId without sending the request
|
|
155
1017
|
*/
|
|
@@ -252,6 +1114,40 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
252
1114
|
async deleteApiAgentsByIdShippingAddressesByAddressId(requestParameters, initOverrides) {
|
|
253
1115
|
await this.deleteApiAgentsByIdShippingAddressesByAddressIdRaw(requestParameters, initOverrides);
|
|
254
1116
|
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Creates request options for deleteApiAgentsByIdStripePaymentMethodsByMethodId without sending the request
|
|
1119
|
+
*/
|
|
1120
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodIdRequestOpts(requestParameters) {
|
|
1121
|
+
if (requestParameters['id'] == null) {
|
|
1122
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiAgentsByIdStripePaymentMethodsByMethodId().');
|
|
1123
|
+
}
|
|
1124
|
+
if (requestParameters['methodId'] == null) {
|
|
1125
|
+
throw new runtime.RequiredError('methodId', 'Required parameter "methodId" was null or undefined when calling deleteApiAgentsByIdStripePaymentMethodsByMethodId().');
|
|
1126
|
+
}
|
|
1127
|
+
const queryParameters = {};
|
|
1128
|
+
const headerParameters = {};
|
|
1129
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods/{methodId}`;
|
|
1130
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1131
|
+
urlPath = urlPath.replace(`{${"methodId"}}`, encodeURIComponent(String(requestParameters['methodId'])));
|
|
1132
|
+
return {
|
|
1133
|
+
path: urlPath,
|
|
1134
|
+
method: 'DELETE',
|
|
1135
|
+
headers: headerParameters,
|
|
1136
|
+
query: queryParameters,
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
*/
|
|
1141
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodIdRaw(requestParameters, initOverrides) {
|
|
1142
|
+
const requestOptions = await this.deleteApiAgentsByIdStripePaymentMethodsByMethodIdRequestOpts(requestParameters);
|
|
1143
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1144
|
+
return new runtime.VoidApiResponse(response);
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
*/
|
|
1148
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodId(requestParameters, initOverrides) {
|
|
1149
|
+
await this.deleteApiAgentsByIdStripePaymentMethodsByMethodIdRaw(requestParameters, initOverrides);
|
|
1150
|
+
}
|
|
255
1151
|
/**
|
|
256
1152
|
* Creates request options for deleteApiAllowlistById without sending the request
|
|
257
1153
|
*/
|
|
@@ -943,7 +1839,179 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
943
1839
|
queryParameters['limit'] = requestParameters['limit'];
|
|
944
1840
|
}
|
|
945
1841
|
const headerParameters = {};
|
|
946
|
-
let urlPath = `/api/agents/{id}/chart/candles`;
|
|
1842
|
+
let urlPath = `/api/agents/{id}/chart/candles`;
|
|
1843
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1844
|
+
return {
|
|
1845
|
+
path: urlPath,
|
|
1846
|
+
method: 'GET',
|
|
1847
|
+
headers: headerParameters,
|
|
1848
|
+
query: queryParameters,
|
|
1849
|
+
};
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
*/
|
|
1853
|
+
async getApiAgentsByIdChartCandlesRaw(requestParameters, initOverrides) {
|
|
1854
|
+
const requestOptions = await this.getApiAgentsByIdChartCandlesRequestOpts(requestParameters);
|
|
1855
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1856
|
+
return new runtime.VoidApiResponse(response);
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
*/
|
|
1860
|
+
async getApiAgentsByIdChartCandles(requestParameters, initOverrides) {
|
|
1861
|
+
await this.getApiAgentsByIdChartCandlesRaw(requestParameters, initOverrides);
|
|
1862
|
+
}
|
|
1863
|
+
/**
|
|
1864
|
+
* Creates request options for getApiAgentsByIdEnrollments without sending the request
|
|
1865
|
+
*/
|
|
1866
|
+
async getApiAgentsByIdEnrollmentsRequestOpts(requestParameters) {
|
|
1867
|
+
if (requestParameters['id'] == null) {
|
|
1868
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdEnrollments().');
|
|
1869
|
+
}
|
|
1870
|
+
const queryParameters = {};
|
|
1871
|
+
const headerParameters = {};
|
|
1872
|
+
let urlPath = `/api/agents/{id}/enrollments`;
|
|
1873
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1874
|
+
return {
|
|
1875
|
+
path: urlPath,
|
|
1876
|
+
method: 'GET',
|
|
1877
|
+
headers: headerParameters,
|
|
1878
|
+
query: queryParameters,
|
|
1879
|
+
};
|
|
1880
|
+
}
|
|
1881
|
+
/**
|
|
1882
|
+
*/
|
|
1883
|
+
async getApiAgentsByIdEnrollmentsRaw(requestParameters, initOverrides) {
|
|
1884
|
+
const requestOptions = await this.getApiAgentsByIdEnrollmentsRequestOpts(requestParameters);
|
|
1885
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1886
|
+
return new runtime.VoidApiResponse(response);
|
|
1887
|
+
}
|
|
1888
|
+
/**
|
|
1889
|
+
*/
|
|
1890
|
+
async getApiAgentsByIdEnrollments(requestParameters, initOverrides) {
|
|
1891
|
+
await this.getApiAgentsByIdEnrollmentsRaw(requestParameters, initOverrides);
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Creates request options for getApiAgentsByIdEnrollmentsByEnrollmentIdStatus without sending the request
|
|
1895
|
+
*/
|
|
1896
|
+
async getApiAgentsByIdEnrollmentsByEnrollmentIdStatusRequestOpts(requestParameters) {
|
|
1897
|
+
if (requestParameters['id'] == null) {
|
|
1898
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdEnrollmentsByEnrollmentIdStatus().');
|
|
1899
|
+
}
|
|
1900
|
+
if (requestParameters['enrollmentId'] == null) {
|
|
1901
|
+
throw new runtime.RequiredError('enrollmentId', 'Required parameter "enrollmentId" was null or undefined when calling getApiAgentsByIdEnrollmentsByEnrollmentIdStatus().');
|
|
1902
|
+
}
|
|
1903
|
+
const queryParameters = {};
|
|
1904
|
+
const headerParameters = {};
|
|
1905
|
+
let urlPath = `/api/agents/{id}/enrollments/{enrollmentId}/status`;
|
|
1906
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1907
|
+
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
1908
|
+
return {
|
|
1909
|
+
path: urlPath,
|
|
1910
|
+
method: 'GET',
|
|
1911
|
+
headers: headerParameters,
|
|
1912
|
+
query: queryParameters,
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
*/
|
|
1917
|
+
async getApiAgentsByIdEnrollmentsByEnrollmentIdStatusRaw(requestParameters, initOverrides) {
|
|
1918
|
+
const requestOptions = await this.getApiAgentsByIdEnrollmentsByEnrollmentIdStatusRequestOpts(requestParameters);
|
|
1919
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1920
|
+
return new runtime.VoidApiResponse(response);
|
|
1921
|
+
}
|
|
1922
|
+
/**
|
|
1923
|
+
*/
|
|
1924
|
+
async getApiAgentsByIdEnrollmentsByEnrollmentIdStatus(requestParameters, initOverrides) {
|
|
1925
|
+
await this.getApiAgentsByIdEnrollmentsByEnrollmentIdStatusRaw(requestParameters, initOverrides);
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Creates request options for getApiAgentsByIdHyperliquid without sending the request
|
|
1929
|
+
*/
|
|
1930
|
+
async getApiAgentsByIdHyperliquidRequestOpts(requestParameters) {
|
|
1931
|
+
if (requestParameters['id'] == null) {
|
|
1932
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquid().');
|
|
1933
|
+
}
|
|
1934
|
+
const queryParameters = {};
|
|
1935
|
+
const headerParameters = {};
|
|
1936
|
+
let urlPath = `/api/agents/{id}/hyperliquid`;
|
|
1937
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1938
|
+
return {
|
|
1939
|
+
path: urlPath,
|
|
1940
|
+
method: 'GET',
|
|
1941
|
+
headers: headerParameters,
|
|
1942
|
+
query: queryParameters,
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
/**
|
|
1946
|
+
*/
|
|
1947
|
+
async getApiAgentsByIdHyperliquidRaw(requestParameters, initOverrides) {
|
|
1948
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidRequestOpts(requestParameters);
|
|
1949
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1950
|
+
return new runtime.VoidApiResponse(response);
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
*/
|
|
1954
|
+
async getApiAgentsByIdHyperliquid(requestParameters, initOverrides) {
|
|
1955
|
+
await this.getApiAgentsByIdHyperliquidRaw(requestParameters, initOverrides);
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Creates request options for getApiAgentsByIdHyperliquidActivity without sending the request
|
|
1959
|
+
*/
|
|
1960
|
+
async getApiAgentsByIdHyperliquidActivityRequestOpts(requestParameters) {
|
|
1961
|
+
if (requestParameters['id'] == null) {
|
|
1962
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidActivity().');
|
|
1963
|
+
}
|
|
1964
|
+
const queryParameters = {};
|
|
1965
|
+
if (requestParameters['limit'] != null) {
|
|
1966
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1967
|
+
}
|
|
1968
|
+
const headerParameters = {};
|
|
1969
|
+
let urlPath = `/api/agents/{id}/hyperliquid/activity`;
|
|
1970
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1971
|
+
return {
|
|
1972
|
+
path: urlPath,
|
|
1973
|
+
method: 'GET',
|
|
1974
|
+
headers: headerParameters,
|
|
1975
|
+
query: queryParameters,
|
|
1976
|
+
};
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
*/
|
|
1980
|
+
async getApiAgentsByIdHyperliquidActivityRaw(requestParameters, initOverrides) {
|
|
1981
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidActivityRequestOpts(requestParameters);
|
|
1982
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1983
|
+
return new runtime.VoidApiResponse(response);
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
*/
|
|
1987
|
+
async getApiAgentsByIdHyperliquidActivity(requestParameters, initOverrides) {
|
|
1988
|
+
await this.getApiAgentsByIdHyperliquidActivityRaw(requestParameters, initOverrides);
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Creates request options for getApiAgentsByIdHyperliquidCandles without sending the request
|
|
1992
|
+
*/
|
|
1993
|
+
async getApiAgentsByIdHyperliquidCandlesRequestOpts(requestParameters) {
|
|
1994
|
+
if (requestParameters['id'] == null) {
|
|
1995
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidCandles().');
|
|
1996
|
+
}
|
|
1997
|
+
if (requestParameters['symbol'] == null) {
|
|
1998
|
+
throw new runtime.RequiredError('symbol', 'Required parameter "symbol" was null or undefined when calling getApiAgentsByIdHyperliquidCandles().');
|
|
1999
|
+
}
|
|
2000
|
+
const queryParameters = {};
|
|
2001
|
+
if (requestParameters['symbol'] != null) {
|
|
2002
|
+
queryParameters['symbol'] = requestParameters['symbol'];
|
|
2003
|
+
}
|
|
2004
|
+
if (requestParameters['interval'] != null) {
|
|
2005
|
+
queryParameters['interval'] = requestParameters['interval'];
|
|
2006
|
+
}
|
|
2007
|
+
if (requestParameters['startTime'] != null) {
|
|
2008
|
+
queryParameters['startTime'] = requestParameters['startTime'];
|
|
2009
|
+
}
|
|
2010
|
+
if (requestParameters['endTime'] != null) {
|
|
2011
|
+
queryParameters['endTime'] = requestParameters['endTime'];
|
|
2012
|
+
}
|
|
2013
|
+
const headerParameters = {};
|
|
2014
|
+
let urlPath = `/api/agents/{id}/hyperliquid/candles`;
|
|
947
2015
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
948
2016
|
return {
|
|
949
2017
|
path: urlPath,
|
|
@@ -954,26 +2022,26 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
954
2022
|
}
|
|
955
2023
|
/**
|
|
956
2024
|
*/
|
|
957
|
-
async
|
|
958
|
-
const requestOptions = await this.
|
|
2025
|
+
async getApiAgentsByIdHyperliquidCandlesRaw(requestParameters, initOverrides) {
|
|
2026
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidCandlesRequestOpts(requestParameters);
|
|
959
2027
|
const response = await this.request(requestOptions, initOverrides);
|
|
960
2028
|
return new runtime.VoidApiResponse(response);
|
|
961
2029
|
}
|
|
962
2030
|
/**
|
|
963
2031
|
*/
|
|
964
|
-
async
|
|
965
|
-
await this.
|
|
2032
|
+
async getApiAgentsByIdHyperliquidCandles(requestParameters, initOverrides) {
|
|
2033
|
+
await this.getApiAgentsByIdHyperliquidCandlesRaw(requestParameters, initOverrides);
|
|
966
2034
|
}
|
|
967
2035
|
/**
|
|
968
|
-
* Creates request options for
|
|
2036
|
+
* Creates request options for getApiAgentsByIdHyperliquidLink without sending the request
|
|
969
2037
|
*/
|
|
970
|
-
async
|
|
2038
|
+
async getApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters) {
|
|
971
2039
|
if (requestParameters['id'] == null) {
|
|
972
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
2040
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidLink().');
|
|
973
2041
|
}
|
|
974
2042
|
const queryParameters = {};
|
|
975
2043
|
const headerParameters = {};
|
|
976
|
-
let urlPath = `/api/agents/{id}/
|
|
2044
|
+
let urlPath = `/api/agents/{id}/hyperliquid/link`;
|
|
977
2045
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
978
2046
|
return {
|
|
979
2047
|
path: urlPath,
|
|
@@ -984,31 +2052,27 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
984
2052
|
}
|
|
985
2053
|
/**
|
|
986
2054
|
*/
|
|
987
|
-
async
|
|
988
|
-
const requestOptions = await this.
|
|
2055
|
+
async getApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides) {
|
|
2056
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters);
|
|
989
2057
|
const response = await this.request(requestOptions, initOverrides);
|
|
990
2058
|
return new runtime.VoidApiResponse(response);
|
|
991
2059
|
}
|
|
992
2060
|
/**
|
|
993
2061
|
*/
|
|
994
|
-
async
|
|
995
|
-
await this.
|
|
2062
|
+
async getApiAgentsByIdHyperliquidLink(requestParameters, initOverrides) {
|
|
2063
|
+
await this.getApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides);
|
|
996
2064
|
}
|
|
997
2065
|
/**
|
|
998
|
-
* Creates request options for
|
|
2066
|
+
* Creates request options for getApiAgentsByIdHyperliquidMarkets without sending the request
|
|
999
2067
|
*/
|
|
1000
|
-
async
|
|
2068
|
+
async getApiAgentsByIdHyperliquidMarketsRequestOpts(requestParameters) {
|
|
1001
2069
|
if (requestParameters['id'] == null) {
|
|
1002
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
1003
|
-
}
|
|
1004
|
-
if (requestParameters['enrollmentId'] == null) {
|
|
1005
|
-
throw new runtime.RequiredError('enrollmentId', 'Required parameter "enrollmentId" was null or undefined when calling getApiAgentsByIdEnrollmentsByEnrollmentIdStatus().');
|
|
2070
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidMarkets().');
|
|
1006
2071
|
}
|
|
1007
2072
|
const queryParameters = {};
|
|
1008
2073
|
const headerParameters = {};
|
|
1009
|
-
let urlPath = `/api/agents/{id}/
|
|
2074
|
+
let urlPath = `/api/agents/{id}/hyperliquid/markets`;
|
|
1010
2075
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1011
|
-
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
1012
2076
|
return {
|
|
1013
2077
|
path: urlPath,
|
|
1014
2078
|
method: 'GET',
|
|
@@ -1018,26 +2082,26 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1018
2082
|
}
|
|
1019
2083
|
/**
|
|
1020
2084
|
*/
|
|
1021
|
-
async
|
|
1022
|
-
const requestOptions = await this.
|
|
2085
|
+
async getApiAgentsByIdHyperliquidMarketsRaw(requestParameters, initOverrides) {
|
|
2086
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidMarketsRequestOpts(requestParameters);
|
|
1023
2087
|
const response = await this.request(requestOptions, initOverrides);
|
|
1024
2088
|
return new runtime.VoidApiResponse(response);
|
|
1025
2089
|
}
|
|
1026
2090
|
/**
|
|
1027
2091
|
*/
|
|
1028
|
-
async
|
|
1029
|
-
await this.
|
|
2092
|
+
async getApiAgentsByIdHyperliquidMarkets(requestParameters, initOverrides) {
|
|
2093
|
+
await this.getApiAgentsByIdHyperliquidMarketsRaw(requestParameters, initOverrides);
|
|
1030
2094
|
}
|
|
1031
2095
|
/**
|
|
1032
|
-
* Creates request options for
|
|
2096
|
+
* Creates request options for getApiAgentsByIdHyperliquidOrders without sending the request
|
|
1033
2097
|
*/
|
|
1034
|
-
async
|
|
2098
|
+
async getApiAgentsByIdHyperliquidOrdersRequestOpts(requestParameters) {
|
|
1035
2099
|
if (requestParameters['id'] == null) {
|
|
1036
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
2100
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidOrders().');
|
|
1037
2101
|
}
|
|
1038
2102
|
const queryParameters = {};
|
|
1039
2103
|
const headerParameters = {};
|
|
1040
|
-
let urlPath = `/api/agents/{id}/hyperliquid`;
|
|
2104
|
+
let urlPath = `/api/agents/{id}/hyperliquid/orders`;
|
|
1041
2105
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1042
2106
|
return {
|
|
1043
2107
|
path: urlPath,
|
|
@@ -1048,41 +2112,26 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1048
2112
|
}
|
|
1049
2113
|
/**
|
|
1050
2114
|
*/
|
|
1051
|
-
async
|
|
1052
|
-
const requestOptions = await this.
|
|
2115
|
+
async getApiAgentsByIdHyperliquidOrdersRaw(requestParameters, initOverrides) {
|
|
2116
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidOrdersRequestOpts(requestParameters);
|
|
1053
2117
|
const response = await this.request(requestOptions, initOverrides);
|
|
1054
2118
|
return new runtime.VoidApiResponse(response);
|
|
1055
2119
|
}
|
|
1056
2120
|
/**
|
|
1057
2121
|
*/
|
|
1058
|
-
async
|
|
1059
|
-
await this.
|
|
2122
|
+
async getApiAgentsByIdHyperliquidOrders(requestParameters, initOverrides) {
|
|
2123
|
+
await this.getApiAgentsByIdHyperliquidOrdersRaw(requestParameters, initOverrides);
|
|
1060
2124
|
}
|
|
1061
2125
|
/**
|
|
1062
|
-
* Creates request options for
|
|
2126
|
+
* Creates request options for getApiAgentsByIdHyperliquidPositions without sending the request
|
|
1063
2127
|
*/
|
|
1064
|
-
async
|
|
2128
|
+
async getApiAgentsByIdHyperliquidPositionsRequestOpts(requestParameters) {
|
|
1065
2129
|
if (requestParameters['id'] == null) {
|
|
1066
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
1067
|
-
}
|
|
1068
|
-
if (requestParameters['symbol'] == null) {
|
|
1069
|
-
throw new runtime.RequiredError('symbol', 'Required parameter "symbol" was null or undefined when calling getApiAgentsByIdHyperliquidCandles().');
|
|
2130
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidPositions().');
|
|
1070
2131
|
}
|
|
1071
2132
|
const queryParameters = {};
|
|
1072
|
-
if (requestParameters['symbol'] != null) {
|
|
1073
|
-
queryParameters['symbol'] = requestParameters['symbol'];
|
|
1074
|
-
}
|
|
1075
|
-
if (requestParameters['interval'] != null) {
|
|
1076
|
-
queryParameters['interval'] = requestParameters['interval'];
|
|
1077
|
-
}
|
|
1078
|
-
if (requestParameters['startTime'] != null) {
|
|
1079
|
-
queryParameters['startTime'] = requestParameters['startTime'];
|
|
1080
|
-
}
|
|
1081
|
-
if (requestParameters['endTime'] != null) {
|
|
1082
|
-
queryParameters['endTime'] = requestParameters['endTime'];
|
|
1083
|
-
}
|
|
1084
2133
|
const headerParameters = {};
|
|
1085
|
-
let urlPath = `/api/agents/{id}/hyperliquid/
|
|
2134
|
+
let urlPath = `/api/agents/{id}/hyperliquid/positions`;
|
|
1086
2135
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1087
2136
|
return {
|
|
1088
2137
|
path: urlPath,
|
|
@@ -1093,26 +2142,29 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1093
2142
|
}
|
|
1094
2143
|
/**
|
|
1095
2144
|
*/
|
|
1096
|
-
async
|
|
1097
|
-
const requestOptions = await this.
|
|
2145
|
+
async getApiAgentsByIdHyperliquidPositionsRaw(requestParameters, initOverrides) {
|
|
2146
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidPositionsRequestOpts(requestParameters);
|
|
1098
2147
|
const response = await this.request(requestOptions, initOverrides);
|
|
1099
2148
|
return new runtime.VoidApiResponse(response);
|
|
1100
2149
|
}
|
|
1101
2150
|
/**
|
|
1102
2151
|
*/
|
|
1103
|
-
async
|
|
1104
|
-
await this.
|
|
2152
|
+
async getApiAgentsByIdHyperliquidPositions(requestParameters, initOverrides) {
|
|
2153
|
+
await this.getApiAgentsByIdHyperliquidPositionsRaw(requestParameters, initOverrides);
|
|
1105
2154
|
}
|
|
1106
2155
|
/**
|
|
1107
|
-
* Creates request options for
|
|
2156
|
+
* Creates request options for getApiAgentsByIdHyperliquidRecentOrders without sending the request
|
|
1108
2157
|
*/
|
|
1109
|
-
async
|
|
2158
|
+
async getApiAgentsByIdHyperliquidRecentOrdersRequestOpts(requestParameters) {
|
|
1110
2159
|
if (requestParameters['id'] == null) {
|
|
1111
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
2160
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidRecentOrders().');
|
|
1112
2161
|
}
|
|
1113
2162
|
const queryParameters = {};
|
|
2163
|
+
if (requestParameters['limit'] != null) {
|
|
2164
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2165
|
+
}
|
|
1114
2166
|
const headerParameters = {};
|
|
1115
|
-
let urlPath = `/api/agents/{id}/hyperliquid/orders`;
|
|
2167
|
+
let urlPath = `/api/agents/{id}/hyperliquid/recent-orders`;
|
|
1116
2168
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1117
2169
|
return {
|
|
1118
2170
|
path: urlPath,
|
|
@@ -1123,26 +2175,26 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1123
2175
|
}
|
|
1124
2176
|
/**
|
|
1125
2177
|
*/
|
|
1126
|
-
async
|
|
1127
|
-
const requestOptions = await this.
|
|
2178
|
+
async getApiAgentsByIdHyperliquidRecentOrdersRaw(requestParameters, initOverrides) {
|
|
2179
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidRecentOrdersRequestOpts(requestParameters);
|
|
1128
2180
|
const response = await this.request(requestOptions, initOverrides);
|
|
1129
2181
|
return new runtime.VoidApiResponse(response);
|
|
1130
2182
|
}
|
|
1131
2183
|
/**
|
|
1132
2184
|
*/
|
|
1133
|
-
async
|
|
1134
|
-
await this.
|
|
2185
|
+
async getApiAgentsByIdHyperliquidRecentOrders(requestParameters, initOverrides) {
|
|
2186
|
+
await this.getApiAgentsByIdHyperliquidRecentOrdersRaw(requestParameters, initOverrides);
|
|
1135
2187
|
}
|
|
1136
2188
|
/**
|
|
1137
|
-
* Creates request options for
|
|
2189
|
+
* Creates request options for getApiAgentsByIdHyperliquidSnapshot without sending the request
|
|
1138
2190
|
*/
|
|
1139
|
-
async
|
|
2191
|
+
async getApiAgentsByIdHyperliquidSnapshotRequestOpts(requestParameters) {
|
|
1140
2192
|
if (requestParameters['id'] == null) {
|
|
1141
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
2193
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidSnapshot().');
|
|
1142
2194
|
}
|
|
1143
2195
|
const queryParameters = {};
|
|
1144
2196
|
const headerParameters = {};
|
|
1145
|
-
let urlPath = `/api/agents/{id}/hyperliquid/
|
|
2197
|
+
let urlPath = `/api/agents/{id}/hyperliquid/snapshot`;
|
|
1146
2198
|
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1147
2199
|
return {
|
|
1148
2200
|
path: urlPath,
|
|
@@ -1153,15 +2205,15 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1153
2205
|
}
|
|
1154
2206
|
/**
|
|
1155
2207
|
*/
|
|
1156
|
-
async
|
|
1157
|
-
const requestOptions = await this.
|
|
2208
|
+
async getApiAgentsByIdHyperliquidSnapshotRaw(requestParameters, initOverrides) {
|
|
2209
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidSnapshotRequestOpts(requestParameters);
|
|
1158
2210
|
const response = await this.request(requestOptions, initOverrides);
|
|
1159
2211
|
return new runtime.VoidApiResponse(response);
|
|
1160
2212
|
}
|
|
1161
2213
|
/**
|
|
1162
2214
|
*/
|
|
1163
|
-
async
|
|
1164
|
-
await this.
|
|
2215
|
+
async getApiAgentsByIdHyperliquidSnapshot(requestParameters, initOverrides) {
|
|
2216
|
+
await this.getApiAgentsByIdHyperliquidSnapshotRaw(requestParameters, initOverrides);
|
|
1165
2217
|
}
|
|
1166
2218
|
/**
|
|
1167
2219
|
* Creates request options for getApiAgentsByIdInstructionsPending without sending the request
|
|
@@ -1379,6 +2431,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1379
2431
|
async getApiAgentsByIdShippingAddresses(requestParameters, initOverrides) {
|
|
1380
2432
|
await this.getApiAgentsByIdShippingAddressesRaw(requestParameters, initOverrides);
|
|
1381
2433
|
}
|
|
2434
|
+
/**
|
|
2435
|
+
* Creates request options for getApiAgentsByIdStripePaymentMethods without sending the request
|
|
2436
|
+
*/
|
|
2437
|
+
async getApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters) {
|
|
2438
|
+
if (requestParameters['id'] == null) {
|
|
2439
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdStripePaymentMethods().');
|
|
2440
|
+
}
|
|
2441
|
+
const queryParameters = {};
|
|
2442
|
+
const headerParameters = {};
|
|
2443
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods`;
|
|
2444
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
2445
|
+
return {
|
|
2446
|
+
path: urlPath,
|
|
2447
|
+
method: 'GET',
|
|
2448
|
+
headers: headerParameters,
|
|
2449
|
+
query: queryParameters,
|
|
2450
|
+
};
|
|
2451
|
+
}
|
|
2452
|
+
/**
|
|
2453
|
+
*/
|
|
2454
|
+
async getApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides) {
|
|
2455
|
+
const requestOptions = await this.getApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters);
|
|
2456
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2457
|
+
return new runtime.VoidApiResponse(response);
|
|
2458
|
+
}
|
|
2459
|
+
/**
|
|
2460
|
+
*/
|
|
2461
|
+
async getApiAgentsByIdStripePaymentMethods(requestParameters, initOverrides) {
|
|
2462
|
+
await this.getApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides);
|
|
2463
|
+
}
|
|
1382
2464
|
/**
|
|
1383
2465
|
* Creates request options for getApiAgentsMe without sending the request
|
|
1384
2466
|
*/
|
|
@@ -4002,6 +5084,37 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4002
5084
|
async postApiAgentRequestsByIdTakeoverEnd(requestParameters, initOverrides) {
|
|
4003
5085
|
await this.postApiAgentRequestsByIdTakeoverEndRaw(requestParameters, initOverrides);
|
|
4004
5086
|
}
|
|
5087
|
+
/**
|
|
5088
|
+
* Creates request options for postApiAgentRequestsPlans without sending the request
|
|
5089
|
+
*/
|
|
5090
|
+
async postApiAgentRequestsPlansRequestOpts(requestParameters) {
|
|
5091
|
+
if (requestParameters['postApiAgentRequestsPlansRequest'] == null) {
|
|
5092
|
+
throw new runtime.RequiredError('postApiAgentRequestsPlansRequest', 'Required parameter "postApiAgentRequestsPlansRequest" was null or undefined when calling postApiAgentRequestsPlans().');
|
|
5093
|
+
}
|
|
5094
|
+
const queryParameters = {};
|
|
5095
|
+
const headerParameters = {};
|
|
5096
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5097
|
+
let urlPath = `/api/agent-requests/plans`;
|
|
5098
|
+
return {
|
|
5099
|
+
path: urlPath,
|
|
5100
|
+
method: 'POST',
|
|
5101
|
+
headers: headerParameters,
|
|
5102
|
+
query: queryParameters,
|
|
5103
|
+
body: PostApiAgentRequestsPlansRequestToJSON(requestParameters['postApiAgentRequestsPlansRequest']),
|
|
5104
|
+
};
|
|
5105
|
+
}
|
|
5106
|
+
/**
|
|
5107
|
+
*/
|
|
5108
|
+
async postApiAgentRequestsPlansRaw(requestParameters, initOverrides) {
|
|
5109
|
+
const requestOptions = await this.postApiAgentRequestsPlansRequestOpts(requestParameters);
|
|
5110
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5111
|
+
return new runtime.VoidApiResponse(response);
|
|
5112
|
+
}
|
|
5113
|
+
/**
|
|
5114
|
+
*/
|
|
5115
|
+
async postApiAgentRequestsPlans(requestParameters, initOverrides) {
|
|
5116
|
+
await this.postApiAgentRequestsPlansRaw(requestParameters, initOverrides);
|
|
5117
|
+
}
|
|
4005
5118
|
/**
|
|
4006
5119
|
* Creates request options for postApiAgents without sending the request
|
|
4007
5120
|
*/
|
|
@@ -4422,6 +5535,101 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4422
5535
|
async postApiAgentsByIdHyperliquidClosePosition(requestParameters, initOverrides) {
|
|
4423
5536
|
await this.postApiAgentsByIdHyperliquidClosePositionRaw(requestParameters, initOverrides);
|
|
4424
5537
|
}
|
|
5538
|
+
/**
|
|
5539
|
+
* Creates request options for postApiAgentsByIdHyperliquidLink without sending the request
|
|
5540
|
+
*/
|
|
5541
|
+
async postApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters) {
|
|
5542
|
+
if (requestParameters['id'] == null) {
|
|
5543
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdHyperliquidLink().');
|
|
5544
|
+
}
|
|
5545
|
+
if (requestParameters['postApiAgentsByIdHyperliquidLinkRequest'] == null) {
|
|
5546
|
+
throw new runtime.RequiredError('postApiAgentsByIdHyperliquidLinkRequest', 'Required parameter "postApiAgentsByIdHyperliquidLinkRequest" was null or undefined when calling postApiAgentsByIdHyperliquidLink().');
|
|
5547
|
+
}
|
|
5548
|
+
const queryParameters = {};
|
|
5549
|
+
const headerParameters = {};
|
|
5550
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5551
|
+
let urlPath = `/api/agents/{id}/hyperliquid/link`;
|
|
5552
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
5553
|
+
return {
|
|
5554
|
+
path: urlPath,
|
|
5555
|
+
method: 'POST',
|
|
5556
|
+
headers: headerParameters,
|
|
5557
|
+
query: queryParameters,
|
|
5558
|
+
body: PostApiAgentsByIdHyperliquidLinkRequestToJSON(requestParameters['postApiAgentsByIdHyperliquidLinkRequest']),
|
|
5559
|
+
};
|
|
5560
|
+
}
|
|
5561
|
+
/**
|
|
5562
|
+
*/
|
|
5563
|
+
async postApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides) {
|
|
5564
|
+
const requestOptions = await this.postApiAgentsByIdHyperliquidLinkRequestOpts(requestParameters);
|
|
5565
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5566
|
+
return new runtime.VoidApiResponse(response);
|
|
5567
|
+
}
|
|
5568
|
+
/**
|
|
5569
|
+
*/
|
|
5570
|
+
async postApiAgentsByIdHyperliquidLink(requestParameters, initOverrides) {
|
|
5571
|
+
await this.postApiAgentsByIdHyperliquidLinkRaw(requestParameters, initOverrides);
|
|
5572
|
+
}
|
|
5573
|
+
/**
|
|
5574
|
+
* Creates request options for postApiAgentsByIdHyperliquidLinkApiWallet without sending the request
|
|
5575
|
+
*/
|
|
5576
|
+
async postApiAgentsByIdHyperliquidLinkApiWalletRequestOpts(requestParameters) {
|
|
5577
|
+
if (requestParameters['id'] == null) {
|
|
5578
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdHyperliquidLinkApiWallet().');
|
|
5579
|
+
}
|
|
5580
|
+
const queryParameters = {};
|
|
5581
|
+
const headerParameters = {};
|
|
5582
|
+
let urlPath = `/api/agents/{id}/hyperliquid/link/api-wallet`;
|
|
5583
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
5584
|
+
return {
|
|
5585
|
+
path: urlPath,
|
|
5586
|
+
method: 'POST',
|
|
5587
|
+
headers: headerParameters,
|
|
5588
|
+
query: queryParameters,
|
|
5589
|
+
};
|
|
5590
|
+
}
|
|
5591
|
+
/**
|
|
5592
|
+
*/
|
|
5593
|
+
async postApiAgentsByIdHyperliquidLinkApiWalletRaw(requestParameters, initOverrides) {
|
|
5594
|
+
const requestOptions = await this.postApiAgentsByIdHyperliquidLinkApiWalletRequestOpts(requestParameters);
|
|
5595
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5596
|
+
return new runtime.VoidApiResponse(response);
|
|
5597
|
+
}
|
|
5598
|
+
/**
|
|
5599
|
+
*/
|
|
5600
|
+
async postApiAgentsByIdHyperliquidLinkApiWallet(requestParameters, initOverrides) {
|
|
5601
|
+
await this.postApiAgentsByIdHyperliquidLinkApiWalletRaw(requestParameters, initOverrides);
|
|
5602
|
+
}
|
|
5603
|
+
/**
|
|
5604
|
+
* Creates request options for postApiAgentsByIdHyperliquidLinkApiWalletConfirm without sending the request
|
|
5605
|
+
*/
|
|
5606
|
+
async postApiAgentsByIdHyperliquidLinkApiWalletConfirmRequestOpts(requestParameters) {
|
|
5607
|
+
if (requestParameters['id'] == null) {
|
|
5608
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdHyperliquidLinkApiWalletConfirm().');
|
|
5609
|
+
}
|
|
5610
|
+
const queryParameters = {};
|
|
5611
|
+
const headerParameters = {};
|
|
5612
|
+
let urlPath = `/api/agents/{id}/hyperliquid/link/api-wallet/confirm`;
|
|
5613
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
5614
|
+
return {
|
|
5615
|
+
path: urlPath,
|
|
5616
|
+
method: 'POST',
|
|
5617
|
+
headers: headerParameters,
|
|
5618
|
+
query: queryParameters,
|
|
5619
|
+
};
|
|
5620
|
+
}
|
|
5621
|
+
/**
|
|
5622
|
+
*/
|
|
5623
|
+
async postApiAgentsByIdHyperliquidLinkApiWalletConfirmRaw(requestParameters, initOverrides) {
|
|
5624
|
+
const requestOptions = await this.postApiAgentsByIdHyperliquidLinkApiWalletConfirmRequestOpts(requestParameters);
|
|
5625
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5626
|
+
return new runtime.VoidApiResponse(response);
|
|
5627
|
+
}
|
|
5628
|
+
/**
|
|
5629
|
+
*/
|
|
5630
|
+
async postApiAgentsByIdHyperliquidLinkApiWalletConfirm(requestParameters, initOverrides) {
|
|
5631
|
+
await this.postApiAgentsByIdHyperliquidLinkApiWalletConfirmRaw(requestParameters, initOverrides);
|
|
5632
|
+
}
|
|
4425
5633
|
/**
|
|
4426
5634
|
* Creates request options for postApiAgentsByIdHyperliquidTransfer without sending the request
|
|
4427
5635
|
*/
|
|
@@ -5146,6 +6354,76 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
5146
6354
|
async postApiAgentsByIdShippingAddressesByAddressIdSetDefault(requestParameters, initOverrides) {
|
|
5147
6355
|
await this.postApiAgentsByIdShippingAddressesByAddressIdSetDefaultRaw(requestParameters, initOverrides);
|
|
5148
6356
|
}
|
|
6357
|
+
/**
|
|
6358
|
+
* Creates request options for postApiAgentsByIdStripePaymentMethods without sending the request
|
|
6359
|
+
*/
|
|
6360
|
+
async postApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters) {
|
|
6361
|
+
if (requestParameters['id'] == null) {
|
|
6362
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdStripePaymentMethods().');
|
|
6363
|
+
}
|
|
6364
|
+
if (requestParameters['postApiAgentsByIdStripePaymentMethodsRequest'] == null) {
|
|
6365
|
+
throw new runtime.RequiredError('postApiAgentsByIdStripePaymentMethodsRequest', 'Required parameter "postApiAgentsByIdStripePaymentMethodsRequest" was null or undefined when calling postApiAgentsByIdStripePaymentMethods().');
|
|
6366
|
+
}
|
|
6367
|
+
const queryParameters = {};
|
|
6368
|
+
const headerParameters = {};
|
|
6369
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6370
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods`;
|
|
6371
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
6372
|
+
return {
|
|
6373
|
+
path: urlPath,
|
|
6374
|
+
method: 'POST',
|
|
6375
|
+
headers: headerParameters,
|
|
6376
|
+
query: queryParameters,
|
|
6377
|
+
body: PostApiAgentsByIdStripePaymentMethodsRequestToJSON(requestParameters['postApiAgentsByIdStripePaymentMethodsRequest']),
|
|
6378
|
+
};
|
|
6379
|
+
}
|
|
6380
|
+
/**
|
|
6381
|
+
*/
|
|
6382
|
+
async postApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides) {
|
|
6383
|
+
const requestOptions = await this.postApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters);
|
|
6384
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6385
|
+
return new runtime.VoidApiResponse(response);
|
|
6386
|
+
}
|
|
6387
|
+
/**
|
|
6388
|
+
*/
|
|
6389
|
+
async postApiAgentsByIdStripePaymentMethods(requestParameters, initOverrides) {
|
|
6390
|
+
await this.postApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides);
|
|
6391
|
+
}
|
|
6392
|
+
/**
|
|
6393
|
+
* Creates request options for postApiAgentsByIdStripePaymentMethodsSetupIntent without sending the request
|
|
6394
|
+
*/
|
|
6395
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntentRequestOpts(requestParameters) {
|
|
6396
|
+
if (requestParameters['id'] == null) {
|
|
6397
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdStripePaymentMethodsSetupIntent().');
|
|
6398
|
+
}
|
|
6399
|
+
if (requestParameters['postApiAgentsByIdStripePaymentMethodsSetupIntentRequest'] == null) {
|
|
6400
|
+
throw new runtime.RequiredError('postApiAgentsByIdStripePaymentMethodsSetupIntentRequest', 'Required parameter "postApiAgentsByIdStripePaymentMethodsSetupIntentRequest" was null or undefined when calling postApiAgentsByIdStripePaymentMethodsSetupIntent().');
|
|
6401
|
+
}
|
|
6402
|
+
const queryParameters = {};
|
|
6403
|
+
const headerParameters = {};
|
|
6404
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6405
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods/setup-intent`;
|
|
6406
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
6407
|
+
return {
|
|
6408
|
+
path: urlPath,
|
|
6409
|
+
method: 'POST',
|
|
6410
|
+
headers: headerParameters,
|
|
6411
|
+
query: queryParameters,
|
|
6412
|
+
body: PostApiAgentsByIdStripePaymentMethodsSetupIntentRequestToJSON(requestParameters['postApiAgentsByIdStripePaymentMethodsSetupIntentRequest']),
|
|
6413
|
+
};
|
|
6414
|
+
}
|
|
6415
|
+
/**
|
|
6416
|
+
*/
|
|
6417
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntentRaw(requestParameters, initOverrides) {
|
|
6418
|
+
const requestOptions = await this.postApiAgentsByIdStripePaymentMethodsSetupIntentRequestOpts(requestParameters);
|
|
6419
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6420
|
+
return new runtime.VoidApiResponse(response);
|
|
6421
|
+
}
|
|
6422
|
+
/**
|
|
6423
|
+
*/
|
|
6424
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntent(requestParameters, initOverrides) {
|
|
6425
|
+
await this.postApiAgentsByIdStripePaymentMethodsSetupIntentRaw(requestParameters, initOverrides);
|
|
6426
|
+
}
|
|
5149
6427
|
/**
|
|
5150
6428
|
* Creates request options for postApiAgentsByIdVirtualCard without sending the request
|
|
5151
6429
|
*/
|