@paysponge/sdk 0.1.47 → 0.1.49
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 +256 -1
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +249 -1
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +3 -0
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +3 -0
- package/dist/api/generated/openapi/models/index.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-payment-links-request.d.ts +7 -1
- package/dist/api/generated/openapi/models/post-api-payment-links-request.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/post-api-payment-links-request.js +3 -3
- package/dist/api/generated/openapi/models/post-api-payment-links-request.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-sponge-card-fund-request.d.ts +45 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-fund-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-fund-request.js +48 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-fund-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-withdraw-request.d.ts +45 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-withdraw-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-withdraw-request.js +48 -0
- package/dist/api/generated/openapi/models/post-api-sponge-card-withdraw-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-tasks-request.d.ts +51 -0
- package/dist/api/generated/openapi/models/post-api-tasks-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-tasks-request.js +52 -0
- package/dist/api/generated/openapi/models/post-api-tasks-request.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@
|
|
|
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, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutAmazonSearchRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCheckoutStreamRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON, PostApiExtensionPushSubscribeRequestToJSON, PostApiExtensionPushUnsubscribeRequestToJSON, PostApiFaucetRequestRequestToJSON, PostApiFlowsRequestToJSON, PostApiHyperliquidRequestToJSON, PostApiInvitesRedeemRequestToJSON, PostApiInvitesRegisterDirectRequestToJSON, PostApiInvitesValidateRequestToJSON, PostApiMasterKeysRequestToJSON, PostApiMppFetchRequestToJSON, PostApiMppSessionCloseRequestToJSON, PostApiMppSessionRequestRequestToJSON, PostApiMppSessionStartRequestToJSON, PostApiOauthDeviceApproveRequestToJSON, PostApiOauthDeviceAuthorizationRequestToJSON, PostApiOauthDeviceDenyRequestToJSON, PostApiOauthDeviceTokenRequestToJSON, PostApiOnrampCryptoRequestToJSON, PostApiPaidFetchRequestToJSON, PostApiPaymentLinksRequestToJSON, PostApiPlansApproveRequestToJSON, PostApiPlansSubmitRequestToJSON, PostApiPolymarketRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, PostApiSpongeCardCardRequestToJSON, PostApiSpongeCardCardsByCardIdSecretsRequestToJSON, PostApiSpongeCardContractsByContractIdFundRequestToJSON, PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON, PostApiSpongeCardCustomerRefreshRequestToJSON, PostApiSpongeCardCustomerRequestToJSON, PostApiStripeOnrampSessionRequestToJSON, PostApiTradesProposeRequestToJSON, PostApiTransactionsBridgeRequestToJSON, PostApiTransactionsPrepareRequestToJSON, PostApiTransactionsSwapExecuteRequestToJSON, PostApiTransactionsSwapRequestToJSON, PostApiTransactionsTransferRequestToJSON, PostApiTransfersEvmRequestToJSON, PostApiTransfersSolanaRequestToJSON, PostApiTransfersTempoRequestToJSON, PostApiUsersSyncRequestToJSON, PostApiWalletsByIdExportKeyRequestToJSON, PostApiWalletsByIdWithdrawRequestToJSON, PostApiWalletsMigrateQuorumRequestToJSON, PostApiWalletsPricesRequestToJSON, PostApiWalletsRequestToJSON, PostApiX402FetchRequestToJSON, PostApiX402PaymentsRequestToJSON, PostOauthAuthorizeCallbackRequestToJSON, PostOauthRegisterRequestToJSON, PostOauthRevokeRequestToJSON, PostOauthTokenRequestToJSON, PutApiAgentRequestsByIdApproveRequestToJSON, PutApiAgentRequestsByIdRespondRequestToJSON, PutApiAgentRequestsPlansByPlanIdRejectRequestToJSON, PutApiAgentsByIdRequestToJSON, PutApiFlowsByIdRequestToJSON, PutApiSpendingLimitsByIdRequestToJSON, } from '../models/index.js';
|
|
15
|
+
import { PostApiAgentKeysRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutAmazonSearchRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCheckoutStreamRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON, PostApiExtensionPushSubscribeRequestToJSON, PostApiExtensionPushUnsubscribeRequestToJSON, PostApiFaucetRequestRequestToJSON, PostApiFlowsRequestToJSON, PostApiHyperliquidRequestToJSON, PostApiInvitesRedeemRequestToJSON, PostApiInvitesRegisterDirectRequestToJSON, PostApiInvitesValidateRequestToJSON, PostApiMasterKeysRequestToJSON, PostApiMppFetchRequestToJSON, PostApiMppSessionCloseRequestToJSON, PostApiMppSessionRequestRequestToJSON, PostApiMppSessionStartRequestToJSON, PostApiOauthDeviceApproveRequestToJSON, PostApiOauthDeviceAuthorizationRequestToJSON, PostApiOauthDeviceDenyRequestToJSON, PostApiOauthDeviceTokenRequestToJSON, PostApiOnrampCryptoRequestToJSON, PostApiPaidFetchRequestToJSON, PostApiPaymentLinksRequestToJSON, PostApiPlansApproveRequestToJSON, PostApiPlansSubmitRequestToJSON, PostApiPolymarketRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, PostApiSpongeCardCardRequestToJSON, PostApiSpongeCardCardsByCardIdSecretsRequestToJSON, PostApiSpongeCardContractsByContractIdFundRequestToJSON, PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON, PostApiSpongeCardCustomerRefreshRequestToJSON, PostApiSpongeCardCustomerRequestToJSON, PostApiSpongeCardFundRequestToJSON, PostApiSpongeCardWithdrawRequestToJSON, PostApiStripeOnrampSessionRequestToJSON, PostApiTasksRequestToJSON, PostApiTradesProposeRequestToJSON, PostApiTransactionsBridgeRequestToJSON, PostApiTransactionsPrepareRequestToJSON, PostApiTransactionsSwapExecuteRequestToJSON, PostApiTransactionsSwapRequestToJSON, PostApiTransactionsTransferRequestToJSON, PostApiTransfersEvmRequestToJSON, PostApiTransfersSolanaRequestToJSON, PostApiTransfersTempoRequestToJSON, PostApiUsersSyncRequestToJSON, 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
|
*/
|
|
@@ -2801,6 +2801,41 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2801
2801
|
async getApiOauthDeviceInfoByUserCode(requestParameters, initOverrides) {
|
|
2802
2802
|
await this.getApiOauthDeviceInfoByUserCodeRaw(requestParameters, initOverrides);
|
|
2803
2803
|
}
|
|
2804
|
+
/**
|
|
2805
|
+
* Creates request options for getApiPaymentEvents without sending the request
|
|
2806
|
+
*/
|
|
2807
|
+
async getApiPaymentEventsRequestOpts(requestParameters) {
|
|
2808
|
+
const queryParameters = {};
|
|
2809
|
+
if (requestParameters['after'] != null) {
|
|
2810
|
+
queryParameters['after'] = requestParameters['after'];
|
|
2811
|
+
}
|
|
2812
|
+
if (requestParameters['limit'] != null) {
|
|
2813
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2814
|
+
}
|
|
2815
|
+
if (requestParameters['agentId'] != null) {
|
|
2816
|
+
queryParameters['agentId'] = requestParameters['agentId'];
|
|
2817
|
+
}
|
|
2818
|
+
const headerParameters = {};
|
|
2819
|
+
let urlPath = `/api/payment-events`;
|
|
2820
|
+
return {
|
|
2821
|
+
path: urlPath,
|
|
2822
|
+
method: 'GET',
|
|
2823
|
+
headers: headerParameters,
|
|
2824
|
+
query: queryParameters,
|
|
2825
|
+
};
|
|
2826
|
+
}
|
|
2827
|
+
/**
|
|
2828
|
+
*/
|
|
2829
|
+
async getApiPaymentEventsRaw(requestParameters, initOverrides) {
|
|
2830
|
+
const requestOptions = await this.getApiPaymentEventsRequestOpts(requestParameters);
|
|
2831
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2832
|
+
return new runtime.VoidApiResponse(response);
|
|
2833
|
+
}
|
|
2834
|
+
/**
|
|
2835
|
+
*/
|
|
2836
|
+
async getApiPaymentEvents(requestParameters = {}, initOverrides) {
|
|
2837
|
+
await this.getApiPaymentEventsRaw(requestParameters, initOverrides);
|
|
2838
|
+
}
|
|
2804
2839
|
/**
|
|
2805
2840
|
* Creates request options for getApiPaymentLinksByPaymentLinkId without sending the request
|
|
2806
2841
|
*/
|
|
@@ -3198,6 +3233,35 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
3198
3233
|
async getApiSpongeCardCustomer(requestParameters, initOverrides) {
|
|
3199
3234
|
await this.getApiSpongeCardCustomerRaw(requestParameters, initOverrides);
|
|
3200
3235
|
}
|
|
3236
|
+
/**
|
|
3237
|
+
* Creates request options for getApiSpongeCardDetails without sending the request
|
|
3238
|
+
*/
|
|
3239
|
+
async getApiSpongeCardDetailsRequestOpts(requestParameters) {
|
|
3240
|
+
const queryParameters = {};
|
|
3241
|
+
if (requestParameters['agentId'] != null) {
|
|
3242
|
+
queryParameters['agentId'] = requestParameters['agentId'];
|
|
3243
|
+
}
|
|
3244
|
+
const headerParameters = {};
|
|
3245
|
+
let urlPath = `/api/sponge-card/details`;
|
|
3246
|
+
return {
|
|
3247
|
+
path: urlPath,
|
|
3248
|
+
method: 'GET',
|
|
3249
|
+
headers: headerParameters,
|
|
3250
|
+
query: queryParameters,
|
|
3251
|
+
};
|
|
3252
|
+
}
|
|
3253
|
+
/**
|
|
3254
|
+
*/
|
|
3255
|
+
async getApiSpongeCardDetailsRaw(requestParameters, initOverrides) {
|
|
3256
|
+
const requestOptions = await this.getApiSpongeCardDetailsRequestOpts(requestParameters);
|
|
3257
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
3258
|
+
return new runtime.VoidApiResponse(response);
|
|
3259
|
+
}
|
|
3260
|
+
/**
|
|
3261
|
+
*/
|
|
3262
|
+
async getApiSpongeCardDetails(requestParameters = {}, initOverrides) {
|
|
3263
|
+
await this.getApiSpongeCardDetailsRaw(requestParameters, initOverrides);
|
|
3264
|
+
}
|
|
3201
3265
|
/**
|
|
3202
3266
|
* Creates request options for getApiStripeOnrampSessionBySessionIdStatus without sending the request
|
|
3203
3267
|
*/
|
|
@@ -3280,6 +3344,71 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
3280
3344
|
async getApiStripeOnrampSupported(initOverrides) {
|
|
3281
3345
|
await this.getApiStripeOnrampSupportedRaw(initOverrides);
|
|
3282
3346
|
}
|
|
3347
|
+
/**
|
|
3348
|
+
* Creates request options for getApiTasks without sending the request
|
|
3349
|
+
*/
|
|
3350
|
+
async getApiTasksRequestOpts(requestParameters) {
|
|
3351
|
+
const queryParameters = {};
|
|
3352
|
+
if (requestParameters['status'] != null) {
|
|
3353
|
+
queryParameters['status'] = requestParameters['status'];
|
|
3354
|
+
}
|
|
3355
|
+
if (requestParameters['agentId'] != null) {
|
|
3356
|
+
queryParameters['agentId'] = requestParameters['agentId'];
|
|
3357
|
+
}
|
|
3358
|
+
const headerParameters = {};
|
|
3359
|
+
let urlPath = `/api/tasks`;
|
|
3360
|
+
return {
|
|
3361
|
+
path: urlPath,
|
|
3362
|
+
method: 'GET',
|
|
3363
|
+
headers: headerParameters,
|
|
3364
|
+
query: queryParameters,
|
|
3365
|
+
};
|
|
3366
|
+
}
|
|
3367
|
+
/**
|
|
3368
|
+
*/
|
|
3369
|
+
async getApiTasksRaw(requestParameters, initOverrides) {
|
|
3370
|
+
const requestOptions = await this.getApiTasksRequestOpts(requestParameters);
|
|
3371
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
3372
|
+
return new runtime.VoidApiResponse(response);
|
|
3373
|
+
}
|
|
3374
|
+
/**
|
|
3375
|
+
*/
|
|
3376
|
+
async getApiTasks(requestParameters = {}, initOverrides) {
|
|
3377
|
+
await this.getApiTasksRaw(requestParameters, initOverrides);
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* Creates request options for getApiTasksByTaskId without sending the request
|
|
3381
|
+
*/
|
|
3382
|
+
async getApiTasksByTaskIdRequestOpts(requestParameters) {
|
|
3383
|
+
if (requestParameters['taskId'] == null) {
|
|
3384
|
+
throw new runtime.RequiredError('taskId', 'Required parameter "taskId" was null or undefined when calling getApiTasksByTaskId().');
|
|
3385
|
+
}
|
|
3386
|
+
const queryParameters = {};
|
|
3387
|
+
if (requestParameters['agentId'] != null) {
|
|
3388
|
+
queryParameters['agentId'] = requestParameters['agentId'];
|
|
3389
|
+
}
|
|
3390
|
+
const headerParameters = {};
|
|
3391
|
+
let urlPath = `/api/tasks/{taskId}`;
|
|
3392
|
+
urlPath = urlPath.replace(`{${"taskId"}}`, encodeURIComponent(String(requestParameters['taskId'])));
|
|
3393
|
+
return {
|
|
3394
|
+
path: urlPath,
|
|
3395
|
+
method: 'GET',
|
|
3396
|
+
headers: headerParameters,
|
|
3397
|
+
query: queryParameters,
|
|
3398
|
+
};
|
|
3399
|
+
}
|
|
3400
|
+
/**
|
|
3401
|
+
*/
|
|
3402
|
+
async getApiTasksByTaskIdRaw(requestParameters, initOverrides) {
|
|
3403
|
+
const requestOptions = await this.getApiTasksByTaskIdRequestOpts(requestParameters);
|
|
3404
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
3405
|
+
return new runtime.VoidApiResponse(response);
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
*/
|
|
3409
|
+
async getApiTasksByTaskId(requestParameters, initOverrides) {
|
|
3410
|
+
await this.getApiTasksByTaskIdRaw(requestParameters, initOverrides);
|
|
3411
|
+
}
|
|
3283
3412
|
/**
|
|
3284
3413
|
* Creates request options for getApiTransactions without sending the request
|
|
3285
3414
|
*/
|
|
@@ -6692,6 +6821,68 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6692
6821
|
async postApiSpongeCardCustomerRefresh(requestParameters, initOverrides) {
|
|
6693
6822
|
await this.postApiSpongeCardCustomerRefreshRaw(requestParameters, initOverrides);
|
|
6694
6823
|
}
|
|
6824
|
+
/**
|
|
6825
|
+
* Creates request options for postApiSpongeCardFund without sending the request
|
|
6826
|
+
*/
|
|
6827
|
+
async postApiSpongeCardFundRequestOpts(requestParameters) {
|
|
6828
|
+
if (requestParameters['postApiSpongeCardFundRequest'] == null) {
|
|
6829
|
+
throw new runtime.RequiredError('postApiSpongeCardFundRequest', 'Required parameter "postApiSpongeCardFundRequest" was null or undefined when calling postApiSpongeCardFund().');
|
|
6830
|
+
}
|
|
6831
|
+
const queryParameters = {};
|
|
6832
|
+
const headerParameters = {};
|
|
6833
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6834
|
+
let urlPath = `/api/sponge-card/fund`;
|
|
6835
|
+
return {
|
|
6836
|
+
path: urlPath,
|
|
6837
|
+
method: 'POST',
|
|
6838
|
+
headers: headerParameters,
|
|
6839
|
+
query: queryParameters,
|
|
6840
|
+
body: PostApiSpongeCardFundRequestToJSON(requestParameters['postApiSpongeCardFundRequest']),
|
|
6841
|
+
};
|
|
6842
|
+
}
|
|
6843
|
+
/**
|
|
6844
|
+
*/
|
|
6845
|
+
async postApiSpongeCardFundRaw(requestParameters, initOverrides) {
|
|
6846
|
+
const requestOptions = await this.postApiSpongeCardFundRequestOpts(requestParameters);
|
|
6847
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6848
|
+
return new runtime.VoidApiResponse(response);
|
|
6849
|
+
}
|
|
6850
|
+
/**
|
|
6851
|
+
*/
|
|
6852
|
+
async postApiSpongeCardFund(requestParameters, initOverrides) {
|
|
6853
|
+
await this.postApiSpongeCardFundRaw(requestParameters, initOverrides);
|
|
6854
|
+
}
|
|
6855
|
+
/**
|
|
6856
|
+
* Creates request options for postApiSpongeCardWithdraw without sending the request
|
|
6857
|
+
*/
|
|
6858
|
+
async postApiSpongeCardWithdrawRequestOpts(requestParameters) {
|
|
6859
|
+
if (requestParameters['postApiSpongeCardWithdrawRequest'] == null) {
|
|
6860
|
+
throw new runtime.RequiredError('postApiSpongeCardWithdrawRequest', 'Required parameter "postApiSpongeCardWithdrawRequest" was null or undefined when calling postApiSpongeCardWithdraw().');
|
|
6861
|
+
}
|
|
6862
|
+
const queryParameters = {};
|
|
6863
|
+
const headerParameters = {};
|
|
6864
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6865
|
+
let urlPath = `/api/sponge-card/withdraw`;
|
|
6866
|
+
return {
|
|
6867
|
+
path: urlPath,
|
|
6868
|
+
method: 'POST',
|
|
6869
|
+
headers: headerParameters,
|
|
6870
|
+
query: queryParameters,
|
|
6871
|
+
body: PostApiSpongeCardWithdrawRequestToJSON(requestParameters['postApiSpongeCardWithdrawRequest']),
|
|
6872
|
+
};
|
|
6873
|
+
}
|
|
6874
|
+
/**
|
|
6875
|
+
*/
|
|
6876
|
+
async postApiSpongeCardWithdrawRaw(requestParameters, initOverrides) {
|
|
6877
|
+
const requestOptions = await this.postApiSpongeCardWithdrawRequestOpts(requestParameters);
|
|
6878
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6879
|
+
return new runtime.VoidApiResponse(response);
|
|
6880
|
+
}
|
|
6881
|
+
/**
|
|
6882
|
+
*/
|
|
6883
|
+
async postApiSpongeCardWithdraw(requestParameters, initOverrides) {
|
|
6884
|
+
await this.postApiSpongeCardWithdrawRaw(requestParameters, initOverrides);
|
|
6885
|
+
}
|
|
6695
6886
|
/**
|
|
6696
6887
|
* Creates request options for postApiStripeOnrampSession without sending the request
|
|
6697
6888
|
*/
|
|
@@ -6753,6 +6944,37 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6753
6944
|
async postApiStripeOnrampSessionBySessionIdAbandon(requestParameters, initOverrides) {
|
|
6754
6945
|
await this.postApiStripeOnrampSessionBySessionIdAbandonRaw(requestParameters, initOverrides);
|
|
6755
6946
|
}
|
|
6947
|
+
/**
|
|
6948
|
+
* Creates request options for postApiTasks without sending the request
|
|
6949
|
+
*/
|
|
6950
|
+
async postApiTasksRequestOpts(requestParameters) {
|
|
6951
|
+
if (requestParameters['postApiTasksRequest'] == null) {
|
|
6952
|
+
throw new runtime.RequiredError('postApiTasksRequest', 'Required parameter "postApiTasksRequest" was null or undefined when calling postApiTasks().');
|
|
6953
|
+
}
|
|
6954
|
+
const queryParameters = {};
|
|
6955
|
+
const headerParameters = {};
|
|
6956
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6957
|
+
let urlPath = `/api/tasks`;
|
|
6958
|
+
return {
|
|
6959
|
+
path: urlPath,
|
|
6960
|
+
method: 'POST',
|
|
6961
|
+
headers: headerParameters,
|
|
6962
|
+
query: queryParameters,
|
|
6963
|
+
body: PostApiTasksRequestToJSON(requestParameters['postApiTasksRequest']),
|
|
6964
|
+
};
|
|
6965
|
+
}
|
|
6966
|
+
/**
|
|
6967
|
+
*/
|
|
6968
|
+
async postApiTasksRaw(requestParameters, initOverrides) {
|
|
6969
|
+
const requestOptions = await this.postApiTasksRequestOpts(requestParameters);
|
|
6970
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6971
|
+
return new runtime.VoidApiResponse(response);
|
|
6972
|
+
}
|
|
6973
|
+
/**
|
|
6974
|
+
*/
|
|
6975
|
+
async postApiTasks(requestParameters, initOverrides) {
|
|
6976
|
+
await this.postApiTasksRaw(requestParameters, initOverrides);
|
|
6977
|
+
}
|
|
6756
6978
|
/**
|
|
6757
6979
|
* Creates request options for postApiTradesPropose without sending the request
|
|
6758
6980
|
*/
|
|
@@ -7465,6 +7687,32 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
7465
7687
|
async postApiX402Payments(requestParameters, initOverrides) {
|
|
7466
7688
|
await this.postApiX402PaymentsRaw(requestParameters, initOverrides);
|
|
7467
7689
|
}
|
|
7690
|
+
/**
|
|
7691
|
+
* Creates request options for postInternalPaymentLinkWebhook without sending the request
|
|
7692
|
+
*/
|
|
7693
|
+
async postInternalPaymentLinkWebhookRequestOpts() {
|
|
7694
|
+
const queryParameters = {};
|
|
7695
|
+
const headerParameters = {};
|
|
7696
|
+
let urlPath = `/internal/payment-link-webhook`;
|
|
7697
|
+
return {
|
|
7698
|
+
path: urlPath,
|
|
7699
|
+
method: 'POST',
|
|
7700
|
+
headers: headerParameters,
|
|
7701
|
+
query: queryParameters,
|
|
7702
|
+
};
|
|
7703
|
+
}
|
|
7704
|
+
/**
|
|
7705
|
+
*/
|
|
7706
|
+
async postInternalPaymentLinkWebhookRaw(initOverrides) {
|
|
7707
|
+
const requestOptions = await this.postInternalPaymentLinkWebhookRequestOpts();
|
|
7708
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
7709
|
+
return new runtime.VoidApiResponse(response);
|
|
7710
|
+
}
|
|
7711
|
+
/**
|
|
7712
|
+
*/
|
|
7713
|
+
async postInternalPaymentLinkWebhook(initOverrides) {
|
|
7714
|
+
await this.postInternalPaymentLinkWebhookRaw(initOverrides);
|
|
7715
|
+
}
|
|
7468
7716
|
/**
|
|
7469
7717
|
* Creates request options for postOauthAuthorizeCallback without sending the request
|
|
7470
7718
|
*/
|