@paysponge/sdk 0.1.98 → 0.1.115
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 +1137 -11
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +1124 -1
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +4 -0
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +4 -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-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, 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
|
*/
|
|
@@ -252,6 +1084,40 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
252
1084
|
async deleteApiAgentsByIdShippingAddressesByAddressId(requestParameters, initOverrides) {
|
|
253
1085
|
await this.deleteApiAgentsByIdShippingAddressesByAddressIdRaw(requestParameters, initOverrides);
|
|
254
1086
|
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Creates request options for deleteApiAgentsByIdStripePaymentMethodsByMethodId without sending the request
|
|
1089
|
+
*/
|
|
1090
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodIdRequestOpts(requestParameters) {
|
|
1091
|
+
if (requestParameters['id'] == null) {
|
|
1092
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiAgentsByIdStripePaymentMethodsByMethodId().');
|
|
1093
|
+
}
|
|
1094
|
+
if (requestParameters['methodId'] == null) {
|
|
1095
|
+
throw new runtime.RequiredError('methodId', 'Required parameter "methodId" was null or undefined when calling deleteApiAgentsByIdStripePaymentMethodsByMethodId().');
|
|
1096
|
+
}
|
|
1097
|
+
const queryParameters = {};
|
|
1098
|
+
const headerParameters = {};
|
|
1099
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods/{methodId}`;
|
|
1100
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1101
|
+
urlPath = urlPath.replace(`{${"methodId"}}`, encodeURIComponent(String(requestParameters['methodId'])));
|
|
1102
|
+
return {
|
|
1103
|
+
path: urlPath,
|
|
1104
|
+
method: 'DELETE',
|
|
1105
|
+
headers: headerParameters,
|
|
1106
|
+
query: queryParameters,
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
*/
|
|
1111
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodIdRaw(requestParameters, initOverrides) {
|
|
1112
|
+
const requestOptions = await this.deleteApiAgentsByIdStripePaymentMethodsByMethodIdRequestOpts(requestParameters);
|
|
1113
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1114
|
+
return new runtime.VoidApiResponse(response);
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
*/
|
|
1118
|
+
async deleteApiAgentsByIdStripePaymentMethodsByMethodId(requestParameters, initOverrides) {
|
|
1119
|
+
await this.deleteApiAgentsByIdStripePaymentMethodsByMethodIdRaw(requestParameters, initOverrides);
|
|
1120
|
+
}
|
|
255
1121
|
/**
|
|
256
1122
|
* Creates request options for deleteApiAllowlistById without sending the request
|
|
257
1123
|
*/
|
|
@@ -1058,6 +1924,39 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1058
1924
|
async getApiAgentsByIdHyperliquid(requestParameters, initOverrides) {
|
|
1059
1925
|
await this.getApiAgentsByIdHyperliquidRaw(requestParameters, initOverrides);
|
|
1060
1926
|
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Creates request options for getApiAgentsByIdHyperliquidActivity without sending the request
|
|
1929
|
+
*/
|
|
1930
|
+
async getApiAgentsByIdHyperliquidActivityRequestOpts(requestParameters) {
|
|
1931
|
+
if (requestParameters['id'] == null) {
|
|
1932
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidActivity().');
|
|
1933
|
+
}
|
|
1934
|
+
const queryParameters = {};
|
|
1935
|
+
if (requestParameters['limit'] != null) {
|
|
1936
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
1937
|
+
}
|
|
1938
|
+
const headerParameters = {};
|
|
1939
|
+
let urlPath = `/api/agents/{id}/hyperliquid/activity`;
|
|
1940
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1941
|
+
return {
|
|
1942
|
+
path: urlPath,
|
|
1943
|
+
method: 'GET',
|
|
1944
|
+
headers: headerParameters,
|
|
1945
|
+
query: queryParameters,
|
|
1946
|
+
};
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
*/
|
|
1950
|
+
async getApiAgentsByIdHyperliquidActivityRaw(requestParameters, initOverrides) {
|
|
1951
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidActivityRequestOpts(requestParameters);
|
|
1952
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1953
|
+
return new runtime.VoidApiResponse(response);
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
*/
|
|
1957
|
+
async getApiAgentsByIdHyperliquidActivity(requestParameters, initOverrides) {
|
|
1958
|
+
await this.getApiAgentsByIdHyperliquidActivityRaw(requestParameters, initOverrides);
|
|
1959
|
+
}
|
|
1061
1960
|
/**
|
|
1062
1961
|
* Creates request options for getApiAgentsByIdHyperliquidCandles without sending the request
|
|
1063
1962
|
*/
|
|
@@ -1103,6 +2002,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1103
2002
|
async getApiAgentsByIdHyperliquidCandles(requestParameters, initOverrides) {
|
|
1104
2003
|
await this.getApiAgentsByIdHyperliquidCandlesRaw(requestParameters, initOverrides);
|
|
1105
2004
|
}
|
|
2005
|
+
/**
|
|
2006
|
+
* Creates request options for getApiAgentsByIdHyperliquidMarkets without sending the request
|
|
2007
|
+
*/
|
|
2008
|
+
async getApiAgentsByIdHyperliquidMarketsRequestOpts(requestParameters) {
|
|
2009
|
+
if (requestParameters['id'] == null) {
|
|
2010
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidMarkets().');
|
|
2011
|
+
}
|
|
2012
|
+
const queryParameters = {};
|
|
2013
|
+
const headerParameters = {};
|
|
2014
|
+
let urlPath = `/api/agents/{id}/hyperliquid/markets`;
|
|
2015
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
2016
|
+
return {
|
|
2017
|
+
path: urlPath,
|
|
2018
|
+
method: 'GET',
|
|
2019
|
+
headers: headerParameters,
|
|
2020
|
+
query: queryParameters,
|
|
2021
|
+
};
|
|
2022
|
+
}
|
|
2023
|
+
/**
|
|
2024
|
+
*/
|
|
2025
|
+
async getApiAgentsByIdHyperliquidMarketsRaw(requestParameters, initOverrides) {
|
|
2026
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidMarketsRequestOpts(requestParameters);
|
|
2027
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2028
|
+
return new runtime.VoidApiResponse(response);
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
*/
|
|
2032
|
+
async getApiAgentsByIdHyperliquidMarkets(requestParameters, initOverrides) {
|
|
2033
|
+
await this.getApiAgentsByIdHyperliquidMarketsRaw(requestParameters, initOverrides);
|
|
2034
|
+
}
|
|
1106
2035
|
/**
|
|
1107
2036
|
* Creates request options for getApiAgentsByIdHyperliquidOrders without sending the request
|
|
1108
2037
|
*/
|
|
@@ -1163,6 +2092,69 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1163
2092
|
async getApiAgentsByIdHyperliquidPositions(requestParameters, initOverrides) {
|
|
1164
2093
|
await this.getApiAgentsByIdHyperliquidPositionsRaw(requestParameters, initOverrides);
|
|
1165
2094
|
}
|
|
2095
|
+
/**
|
|
2096
|
+
* Creates request options for getApiAgentsByIdHyperliquidRecentOrders without sending the request
|
|
2097
|
+
*/
|
|
2098
|
+
async getApiAgentsByIdHyperliquidRecentOrdersRequestOpts(requestParameters) {
|
|
2099
|
+
if (requestParameters['id'] == null) {
|
|
2100
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidRecentOrders().');
|
|
2101
|
+
}
|
|
2102
|
+
const queryParameters = {};
|
|
2103
|
+
if (requestParameters['limit'] != null) {
|
|
2104
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2105
|
+
}
|
|
2106
|
+
const headerParameters = {};
|
|
2107
|
+
let urlPath = `/api/agents/{id}/hyperliquid/recent-orders`;
|
|
2108
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
2109
|
+
return {
|
|
2110
|
+
path: urlPath,
|
|
2111
|
+
method: 'GET',
|
|
2112
|
+
headers: headerParameters,
|
|
2113
|
+
query: queryParameters,
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
*/
|
|
2118
|
+
async getApiAgentsByIdHyperliquidRecentOrdersRaw(requestParameters, initOverrides) {
|
|
2119
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidRecentOrdersRequestOpts(requestParameters);
|
|
2120
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2121
|
+
return new runtime.VoidApiResponse(response);
|
|
2122
|
+
}
|
|
2123
|
+
/**
|
|
2124
|
+
*/
|
|
2125
|
+
async getApiAgentsByIdHyperliquidRecentOrders(requestParameters, initOverrides) {
|
|
2126
|
+
await this.getApiAgentsByIdHyperliquidRecentOrdersRaw(requestParameters, initOverrides);
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Creates request options for getApiAgentsByIdHyperliquidSnapshot without sending the request
|
|
2130
|
+
*/
|
|
2131
|
+
async getApiAgentsByIdHyperliquidSnapshotRequestOpts(requestParameters) {
|
|
2132
|
+
if (requestParameters['id'] == null) {
|
|
2133
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdHyperliquidSnapshot().');
|
|
2134
|
+
}
|
|
2135
|
+
const queryParameters = {};
|
|
2136
|
+
const headerParameters = {};
|
|
2137
|
+
let urlPath = `/api/agents/{id}/hyperliquid/snapshot`;
|
|
2138
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
2139
|
+
return {
|
|
2140
|
+
path: urlPath,
|
|
2141
|
+
method: 'GET',
|
|
2142
|
+
headers: headerParameters,
|
|
2143
|
+
query: queryParameters,
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
/**
|
|
2147
|
+
*/
|
|
2148
|
+
async getApiAgentsByIdHyperliquidSnapshotRaw(requestParameters, initOverrides) {
|
|
2149
|
+
const requestOptions = await this.getApiAgentsByIdHyperliquidSnapshotRequestOpts(requestParameters);
|
|
2150
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2151
|
+
return new runtime.VoidApiResponse(response);
|
|
2152
|
+
}
|
|
2153
|
+
/**
|
|
2154
|
+
*/
|
|
2155
|
+
async getApiAgentsByIdHyperliquidSnapshot(requestParameters, initOverrides) {
|
|
2156
|
+
await this.getApiAgentsByIdHyperliquidSnapshotRaw(requestParameters, initOverrides);
|
|
2157
|
+
}
|
|
1166
2158
|
/**
|
|
1167
2159
|
* Creates request options for getApiAgentsByIdInstructionsPending without sending the request
|
|
1168
2160
|
*/
|
|
@@ -1379,6 +2371,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1379
2371
|
async getApiAgentsByIdShippingAddresses(requestParameters, initOverrides) {
|
|
1380
2372
|
await this.getApiAgentsByIdShippingAddressesRaw(requestParameters, initOverrides);
|
|
1381
2373
|
}
|
|
2374
|
+
/**
|
|
2375
|
+
* Creates request options for getApiAgentsByIdStripePaymentMethods without sending the request
|
|
2376
|
+
*/
|
|
2377
|
+
async getApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters) {
|
|
2378
|
+
if (requestParameters['id'] == null) {
|
|
2379
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdStripePaymentMethods().');
|
|
2380
|
+
}
|
|
2381
|
+
const queryParameters = {};
|
|
2382
|
+
const headerParameters = {};
|
|
2383
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods`;
|
|
2384
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
2385
|
+
return {
|
|
2386
|
+
path: urlPath,
|
|
2387
|
+
method: 'GET',
|
|
2388
|
+
headers: headerParameters,
|
|
2389
|
+
query: queryParameters,
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
/**
|
|
2393
|
+
*/
|
|
2394
|
+
async getApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides) {
|
|
2395
|
+
const requestOptions = await this.getApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters);
|
|
2396
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2397
|
+
return new runtime.VoidApiResponse(response);
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
*/
|
|
2401
|
+
async getApiAgentsByIdStripePaymentMethods(requestParameters, initOverrides) {
|
|
2402
|
+
await this.getApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides);
|
|
2403
|
+
}
|
|
1382
2404
|
/**
|
|
1383
2405
|
* Creates request options for getApiAgentsMe without sending the request
|
|
1384
2406
|
*/
|
|
@@ -4002,6 +5024,37 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4002
5024
|
async postApiAgentRequestsByIdTakeoverEnd(requestParameters, initOverrides) {
|
|
4003
5025
|
await this.postApiAgentRequestsByIdTakeoverEndRaw(requestParameters, initOverrides);
|
|
4004
5026
|
}
|
|
5027
|
+
/**
|
|
5028
|
+
* Creates request options for postApiAgentRequestsPlans without sending the request
|
|
5029
|
+
*/
|
|
5030
|
+
async postApiAgentRequestsPlansRequestOpts(requestParameters) {
|
|
5031
|
+
if (requestParameters['postApiAgentRequestsPlansRequest'] == null) {
|
|
5032
|
+
throw new runtime.RequiredError('postApiAgentRequestsPlansRequest', 'Required parameter "postApiAgentRequestsPlansRequest" was null or undefined when calling postApiAgentRequestsPlans().');
|
|
5033
|
+
}
|
|
5034
|
+
const queryParameters = {};
|
|
5035
|
+
const headerParameters = {};
|
|
5036
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5037
|
+
let urlPath = `/api/agent-requests/plans`;
|
|
5038
|
+
return {
|
|
5039
|
+
path: urlPath,
|
|
5040
|
+
method: 'POST',
|
|
5041
|
+
headers: headerParameters,
|
|
5042
|
+
query: queryParameters,
|
|
5043
|
+
body: PostApiAgentRequestsPlansRequestToJSON(requestParameters['postApiAgentRequestsPlansRequest']),
|
|
5044
|
+
};
|
|
5045
|
+
}
|
|
5046
|
+
/**
|
|
5047
|
+
*/
|
|
5048
|
+
async postApiAgentRequestsPlansRaw(requestParameters, initOverrides) {
|
|
5049
|
+
const requestOptions = await this.postApiAgentRequestsPlansRequestOpts(requestParameters);
|
|
5050
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5051
|
+
return new runtime.VoidApiResponse(response);
|
|
5052
|
+
}
|
|
5053
|
+
/**
|
|
5054
|
+
*/
|
|
5055
|
+
async postApiAgentRequestsPlans(requestParameters, initOverrides) {
|
|
5056
|
+
await this.postApiAgentRequestsPlansRaw(requestParameters, initOverrides);
|
|
5057
|
+
}
|
|
4005
5058
|
/**
|
|
4006
5059
|
* Creates request options for postApiAgents without sending the request
|
|
4007
5060
|
*/
|
|
@@ -5146,6 +6199,76 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
5146
6199
|
async postApiAgentsByIdShippingAddressesByAddressIdSetDefault(requestParameters, initOverrides) {
|
|
5147
6200
|
await this.postApiAgentsByIdShippingAddressesByAddressIdSetDefaultRaw(requestParameters, initOverrides);
|
|
5148
6201
|
}
|
|
6202
|
+
/**
|
|
6203
|
+
* Creates request options for postApiAgentsByIdStripePaymentMethods without sending the request
|
|
6204
|
+
*/
|
|
6205
|
+
async postApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters) {
|
|
6206
|
+
if (requestParameters['id'] == null) {
|
|
6207
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdStripePaymentMethods().');
|
|
6208
|
+
}
|
|
6209
|
+
if (requestParameters['postApiAgentsByIdStripePaymentMethodsRequest'] == null) {
|
|
6210
|
+
throw new runtime.RequiredError('postApiAgentsByIdStripePaymentMethodsRequest', 'Required parameter "postApiAgentsByIdStripePaymentMethodsRequest" was null or undefined when calling postApiAgentsByIdStripePaymentMethods().');
|
|
6211
|
+
}
|
|
6212
|
+
const queryParameters = {};
|
|
6213
|
+
const headerParameters = {};
|
|
6214
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6215
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods`;
|
|
6216
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
6217
|
+
return {
|
|
6218
|
+
path: urlPath,
|
|
6219
|
+
method: 'POST',
|
|
6220
|
+
headers: headerParameters,
|
|
6221
|
+
query: queryParameters,
|
|
6222
|
+
body: PostApiAgentsByIdStripePaymentMethodsRequestToJSON(requestParameters['postApiAgentsByIdStripePaymentMethodsRequest']),
|
|
6223
|
+
};
|
|
6224
|
+
}
|
|
6225
|
+
/**
|
|
6226
|
+
*/
|
|
6227
|
+
async postApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides) {
|
|
6228
|
+
const requestOptions = await this.postApiAgentsByIdStripePaymentMethodsRequestOpts(requestParameters);
|
|
6229
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6230
|
+
return new runtime.VoidApiResponse(response);
|
|
6231
|
+
}
|
|
6232
|
+
/**
|
|
6233
|
+
*/
|
|
6234
|
+
async postApiAgentsByIdStripePaymentMethods(requestParameters, initOverrides) {
|
|
6235
|
+
await this.postApiAgentsByIdStripePaymentMethodsRaw(requestParameters, initOverrides);
|
|
6236
|
+
}
|
|
6237
|
+
/**
|
|
6238
|
+
* Creates request options for postApiAgentsByIdStripePaymentMethodsSetupIntent without sending the request
|
|
6239
|
+
*/
|
|
6240
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntentRequestOpts(requestParameters) {
|
|
6241
|
+
if (requestParameters['id'] == null) {
|
|
6242
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdStripePaymentMethodsSetupIntent().');
|
|
6243
|
+
}
|
|
6244
|
+
if (requestParameters['postApiAgentsByIdStripePaymentMethodsSetupIntentRequest'] == null) {
|
|
6245
|
+
throw new runtime.RequiredError('postApiAgentsByIdStripePaymentMethodsSetupIntentRequest', 'Required parameter "postApiAgentsByIdStripePaymentMethodsSetupIntentRequest" was null or undefined when calling postApiAgentsByIdStripePaymentMethodsSetupIntent().');
|
|
6246
|
+
}
|
|
6247
|
+
const queryParameters = {};
|
|
6248
|
+
const headerParameters = {};
|
|
6249
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6250
|
+
let urlPath = `/api/agents/{id}/stripe-payment-methods/setup-intent`;
|
|
6251
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
6252
|
+
return {
|
|
6253
|
+
path: urlPath,
|
|
6254
|
+
method: 'POST',
|
|
6255
|
+
headers: headerParameters,
|
|
6256
|
+
query: queryParameters,
|
|
6257
|
+
body: PostApiAgentsByIdStripePaymentMethodsSetupIntentRequestToJSON(requestParameters['postApiAgentsByIdStripePaymentMethodsSetupIntentRequest']),
|
|
6258
|
+
};
|
|
6259
|
+
}
|
|
6260
|
+
/**
|
|
6261
|
+
*/
|
|
6262
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntentRaw(requestParameters, initOverrides) {
|
|
6263
|
+
const requestOptions = await this.postApiAgentsByIdStripePaymentMethodsSetupIntentRequestOpts(requestParameters);
|
|
6264
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6265
|
+
return new runtime.VoidApiResponse(response);
|
|
6266
|
+
}
|
|
6267
|
+
/**
|
|
6268
|
+
*/
|
|
6269
|
+
async postApiAgentsByIdStripePaymentMethodsSetupIntent(requestParameters, initOverrides) {
|
|
6270
|
+
await this.postApiAgentsByIdStripePaymentMethodsSetupIntentRaw(requestParameters, initOverrides);
|
|
6271
|
+
}
|
|
5149
6272
|
/**
|
|
5150
6273
|
* Creates request options for postApiAgentsByIdVirtualCard without sending the request
|
|
5151
6274
|
*/
|