@paysponge/sdk 0.1.52 → 0.1.53

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.
Files changed (43) hide show
  1. package/dist/api/generated/openapi/apis/default-api.d.ts +221 -1
  2. package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
  3. package/dist/api/generated/openapi/apis/default-api.js +219 -1
  4. package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
  5. package/dist/api/generated/openapi/models/index.d.ts +8 -0
  6. package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
  7. package/dist/api/generated/openapi/models/index.js +8 -0
  8. package/dist/api/generated/openapi/models/index.js.map +1 -1
  9. package/dist/api/generated/openapi/models/post-api-card-sessions-request.d.ts +63 -0
  10. package/dist/api/generated/openapi/models/post-api-card-sessions-request.d.ts.map +1 -0
  11. package/dist/api/generated/openapi/models/post-api-card-sessions-request.js +52 -0
  12. package/dist/api/generated/openapi/models/post-api-card-sessions-request.js.map +1 -0
  13. package/dist/api/generated/openapi/models/post-api-card-usage-request.d.ts +84 -0
  14. package/dist/api/generated/openapi/models/post-api-card-usage-request.d.ts.map +1 -0
  15. package/dist/api/generated/openapi/models/post-api-card-usage-request.js +68 -0
  16. package/dist/api/generated/openapi/models/post-api-card-usage-request.js.map +1 -0
  17. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request-shipping.d.ts +75 -0
  18. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request-shipping.d.ts.map +1 -0
  19. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request-shipping.js +66 -0
  20. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request-shipping.js.map +1 -0
  21. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request.d.ts +59 -0
  22. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request.d.ts.map +1 -0
  23. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request.js +58 -0
  24. package/dist/api/generated/openapi/models/post-api-sponge-card-create-card-request.js.map +1 -0
  25. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request-address.d.ts +63 -0
  26. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request-address.d.ts.map +1 -0
  27. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request-address.js +62 -0
  28. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request-address.js.map +1 -0
  29. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request.d.ts +124 -0
  30. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request.d.ts.map +1 -0
  31. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request.js +95 -0
  32. package/dist/api/generated/openapi/models/post-api-sponge-card-onboard-request.js.map +1 -0
  33. package/dist/api/generated/openapi/models/post-api-sponge-card-terms-request.d.ts +63 -0
  34. package/dist/api/generated/openapi/models/post-api-sponge-card-terms-request.d.ts.map +1 -0
  35. package/dist/api/generated/openapi/models/post-api-sponge-card-terms-request.js +60 -0
  36. package/dist/api/generated/openapi/models/post-api-sponge-card-terms-request.js.map +1 -0
  37. package/dist/api/generated/openapi/models/post-api-virtual-cards-request.d.ts +89 -0
  38. package/dist/api/generated/openapi/models/post-api-virtual-cards-request.d.ts.map +1 -0
  39. package/dist/api/generated/openapi/models/post-api-virtual-cards-request.js +68 -0
  40. package/dist/api/generated/openapi/models/post-api-virtual-cards-request.js.map +1 -0
  41. package/dist/version.d.ts +1 -1
  42. package/dist/version.js +1 -1
  43. 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, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, 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';
15
+ import { PostApiAgentKeysRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardSessionsRequestToJSON, PostApiCardUsageRequestToJSON, 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, 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
  */
@@ -3417,6 +3417,38 @@ export class DefaultApi extends runtime.BaseAPI {
3417
3417
  async getApiSpongeCardDetails(requestParameters = {}, initOverrides) {
3418
3418
  await this.getApiSpongeCardDetailsRaw(requestParameters, initOverrides);
3419
3419
  }
3420
+ /**
3421
+ * Creates request options for getApiSpongeCardStatus without sending the request
3422
+ */
3423
+ async getApiSpongeCardStatusRequestOpts(requestParameters) {
3424
+ const queryParameters = {};
3425
+ if (requestParameters['agentId'] != null) {
3426
+ queryParameters['agentId'] = requestParameters['agentId'];
3427
+ }
3428
+ if (requestParameters['refresh'] != null) {
3429
+ queryParameters['refresh'] = requestParameters['refresh'];
3430
+ }
3431
+ const headerParameters = {};
3432
+ let urlPath = `/api/sponge-card/status`;
3433
+ return {
3434
+ path: urlPath,
3435
+ method: 'GET',
3436
+ headers: headerParameters,
3437
+ query: queryParameters,
3438
+ };
3439
+ }
3440
+ /**
3441
+ */
3442
+ async getApiSpongeCardStatusRaw(requestParameters, initOverrides) {
3443
+ const requestOptions = await this.getApiSpongeCardStatusRequestOpts(requestParameters);
3444
+ const response = await this.request(requestOptions, initOverrides);
3445
+ return new runtime.VoidApiResponse(response);
3446
+ }
3447
+ /**
3448
+ */
3449
+ async getApiSpongeCardStatus(requestParameters = {}, initOverrides) {
3450
+ await this.getApiSpongeCardStatusRaw(requestParameters, initOverrides);
3451
+ }
3420
3452
  /**
3421
3453
  * Creates request options for getApiStripeOnrampSessionBySessionIdStatus without sending the request
3422
3454
  */
@@ -5562,6 +5594,68 @@ export class DefaultApi extends runtime.BaseAPI {
5562
5594
  async postApiCardAccessRequests(requestParameters, initOverrides) {
5563
5595
  await this.postApiCardAccessRequestsRaw(requestParameters, initOverrides);
5564
5596
  }
5597
+ /**
5598
+ * Creates request options for postApiCardSessions without sending the request
5599
+ */
5600
+ async postApiCardSessionsRequestOpts(requestParameters) {
5601
+ if (requestParameters['postApiCardSessionsRequest'] == null) {
5602
+ throw new runtime.RequiredError('postApiCardSessionsRequest', 'Required parameter "postApiCardSessionsRequest" was null or undefined when calling postApiCardSessions().');
5603
+ }
5604
+ const queryParameters = {};
5605
+ const headerParameters = {};
5606
+ headerParameters['Content-Type'] = 'application/json';
5607
+ let urlPath = `/api/card-sessions`;
5608
+ return {
5609
+ path: urlPath,
5610
+ method: 'POST',
5611
+ headers: headerParameters,
5612
+ query: queryParameters,
5613
+ body: PostApiCardSessionsRequestToJSON(requestParameters['postApiCardSessionsRequest']),
5614
+ };
5615
+ }
5616
+ /**
5617
+ */
5618
+ async postApiCardSessionsRaw(requestParameters, initOverrides) {
5619
+ const requestOptions = await this.postApiCardSessionsRequestOpts(requestParameters);
5620
+ const response = await this.request(requestOptions, initOverrides);
5621
+ return new runtime.VoidApiResponse(response);
5622
+ }
5623
+ /**
5624
+ */
5625
+ async postApiCardSessions(requestParameters, initOverrides) {
5626
+ await this.postApiCardSessionsRaw(requestParameters, initOverrides);
5627
+ }
5628
+ /**
5629
+ * Creates request options for postApiCardUsage without sending the request
5630
+ */
5631
+ async postApiCardUsageRequestOpts(requestParameters) {
5632
+ if (requestParameters['postApiCardUsageRequest'] == null) {
5633
+ throw new runtime.RequiredError('postApiCardUsageRequest', 'Required parameter "postApiCardUsageRequest" was null or undefined when calling postApiCardUsage().');
5634
+ }
5635
+ const queryParameters = {};
5636
+ const headerParameters = {};
5637
+ headerParameters['Content-Type'] = 'application/json';
5638
+ let urlPath = `/api/card-usage`;
5639
+ return {
5640
+ path: urlPath,
5641
+ method: 'POST',
5642
+ headers: headerParameters,
5643
+ query: queryParameters,
5644
+ body: PostApiCardUsageRequestToJSON(requestParameters['postApiCardUsageRequest']),
5645
+ };
5646
+ }
5647
+ /**
5648
+ */
5649
+ async postApiCardUsageRaw(requestParameters, initOverrides) {
5650
+ const requestOptions = await this.postApiCardUsageRequestOpts(requestParameters);
5651
+ const response = await this.request(requestOptions, initOverrides);
5652
+ return new runtime.VoidApiResponse(response);
5653
+ }
5654
+ /**
5655
+ */
5656
+ async postApiCardUsage(requestParameters, initOverrides) {
5657
+ await this.postApiCardUsageRaw(requestParameters, initOverrides);
5658
+ }
5565
5659
  /**
5566
5660
  * Creates request options for postApiChatMessages without sending the request
5567
5661
  */
@@ -7007,6 +7101,37 @@ export class DefaultApi extends runtime.BaseAPI {
7007
7101
  async postApiSpongeCardContractsByContractIdWithdraw(requestParameters, initOverrides) {
7008
7102
  await this.postApiSpongeCardContractsByContractIdWithdrawRaw(requestParameters, initOverrides);
7009
7103
  }
7104
+ /**
7105
+ * Creates request options for postApiSpongeCardCreateCard without sending the request
7106
+ */
7107
+ async postApiSpongeCardCreateCardRequestOpts(requestParameters) {
7108
+ if (requestParameters['postApiSpongeCardCreateCardRequest'] == null) {
7109
+ throw new runtime.RequiredError('postApiSpongeCardCreateCardRequest', 'Required parameter "postApiSpongeCardCreateCardRequest" was null or undefined when calling postApiSpongeCardCreateCard().');
7110
+ }
7111
+ const queryParameters = {};
7112
+ const headerParameters = {};
7113
+ headerParameters['Content-Type'] = 'application/json';
7114
+ let urlPath = `/api/sponge-card/create-card`;
7115
+ return {
7116
+ path: urlPath,
7117
+ method: 'POST',
7118
+ headers: headerParameters,
7119
+ query: queryParameters,
7120
+ body: PostApiSpongeCardCreateCardRequestToJSON(requestParameters['postApiSpongeCardCreateCardRequest']),
7121
+ };
7122
+ }
7123
+ /**
7124
+ */
7125
+ async postApiSpongeCardCreateCardRaw(requestParameters, initOverrides) {
7126
+ const requestOptions = await this.postApiSpongeCardCreateCardRequestOpts(requestParameters);
7127
+ const response = await this.request(requestOptions, initOverrides);
7128
+ return new runtime.VoidApiResponse(response);
7129
+ }
7130
+ /**
7131
+ */
7132
+ async postApiSpongeCardCreateCard(requestParameters, initOverrides) {
7133
+ await this.postApiSpongeCardCreateCardRaw(requestParameters, initOverrides);
7134
+ }
7010
7135
  /**
7011
7136
  * Creates request options for postApiSpongeCardCustomer without sending the request
7012
7137
  */
@@ -7131,6 +7256,68 @@ export class DefaultApi extends runtime.BaseAPI {
7131
7256
  async postApiSpongeCardFund(requestParameters, initOverrides) {
7132
7257
  await this.postApiSpongeCardFundRaw(requestParameters, initOverrides);
7133
7258
  }
7259
+ /**
7260
+ * Creates request options for postApiSpongeCardOnboard without sending the request
7261
+ */
7262
+ async postApiSpongeCardOnboardRequestOpts(requestParameters) {
7263
+ if (requestParameters['postApiSpongeCardOnboardRequest'] == null) {
7264
+ throw new runtime.RequiredError('postApiSpongeCardOnboardRequest', 'Required parameter "postApiSpongeCardOnboardRequest" was null or undefined when calling postApiSpongeCardOnboard().');
7265
+ }
7266
+ const queryParameters = {};
7267
+ const headerParameters = {};
7268
+ headerParameters['Content-Type'] = 'application/json';
7269
+ let urlPath = `/api/sponge-card/onboard`;
7270
+ return {
7271
+ path: urlPath,
7272
+ method: 'POST',
7273
+ headers: headerParameters,
7274
+ query: queryParameters,
7275
+ body: PostApiSpongeCardOnboardRequestToJSON(requestParameters['postApiSpongeCardOnboardRequest']),
7276
+ };
7277
+ }
7278
+ /**
7279
+ */
7280
+ async postApiSpongeCardOnboardRaw(requestParameters, initOverrides) {
7281
+ const requestOptions = await this.postApiSpongeCardOnboardRequestOpts(requestParameters);
7282
+ const response = await this.request(requestOptions, initOverrides);
7283
+ return new runtime.VoidApiResponse(response);
7284
+ }
7285
+ /**
7286
+ */
7287
+ async postApiSpongeCardOnboard(requestParameters, initOverrides) {
7288
+ await this.postApiSpongeCardOnboardRaw(requestParameters, initOverrides);
7289
+ }
7290
+ /**
7291
+ * Creates request options for postApiSpongeCardTerms without sending the request
7292
+ */
7293
+ async postApiSpongeCardTermsRequestOpts(requestParameters) {
7294
+ if (requestParameters['postApiSpongeCardTermsRequest'] == null) {
7295
+ throw new runtime.RequiredError('postApiSpongeCardTermsRequest', 'Required parameter "postApiSpongeCardTermsRequest" was null or undefined when calling postApiSpongeCardTerms().');
7296
+ }
7297
+ const queryParameters = {};
7298
+ const headerParameters = {};
7299
+ headerParameters['Content-Type'] = 'application/json';
7300
+ let urlPath = `/api/sponge-card/terms`;
7301
+ return {
7302
+ path: urlPath,
7303
+ method: 'POST',
7304
+ headers: headerParameters,
7305
+ query: queryParameters,
7306
+ body: PostApiSpongeCardTermsRequestToJSON(requestParameters['postApiSpongeCardTermsRequest']),
7307
+ };
7308
+ }
7309
+ /**
7310
+ */
7311
+ async postApiSpongeCardTermsRaw(requestParameters, initOverrides) {
7312
+ const requestOptions = await this.postApiSpongeCardTermsRequestOpts(requestParameters);
7313
+ const response = await this.request(requestOptions, initOverrides);
7314
+ return new runtime.VoidApiResponse(response);
7315
+ }
7316
+ /**
7317
+ */
7318
+ async postApiSpongeCardTerms(requestParameters, initOverrides) {
7319
+ await this.postApiSpongeCardTermsRaw(requestParameters, initOverrides);
7320
+ }
7134
7321
  /**
7135
7322
  * Creates request options for postApiSpongeCardWithdraw without sending the request
7136
7323
  */
@@ -7689,6 +7876,37 @@ export class DefaultApi extends runtime.BaseAPI {
7689
7876
  async postApiUsersSync(requestParameters, initOverrides) {
7690
7877
  await this.postApiUsersSyncRaw(requestParameters, initOverrides);
7691
7878
  }
7879
+ /**
7880
+ * Creates request options for postApiVirtualCards without sending the request
7881
+ */
7882
+ async postApiVirtualCardsRequestOpts(requestParameters) {
7883
+ if (requestParameters['postApiVirtualCardsRequest'] == null) {
7884
+ throw new runtime.RequiredError('postApiVirtualCardsRequest', 'Required parameter "postApiVirtualCardsRequest" was null or undefined when calling postApiVirtualCards().');
7885
+ }
7886
+ const queryParameters = {};
7887
+ const headerParameters = {};
7888
+ headerParameters['Content-Type'] = 'application/json';
7889
+ let urlPath = `/api/virtual-cards`;
7890
+ return {
7891
+ path: urlPath,
7892
+ method: 'POST',
7893
+ headers: headerParameters,
7894
+ query: queryParameters,
7895
+ body: PostApiVirtualCardsRequestToJSON(requestParameters['postApiVirtualCardsRequest']),
7896
+ };
7897
+ }
7898
+ /**
7899
+ */
7900
+ async postApiVirtualCardsRaw(requestParameters, initOverrides) {
7901
+ const requestOptions = await this.postApiVirtualCardsRequestOpts(requestParameters);
7902
+ const response = await this.request(requestOptions, initOverrides);
7903
+ return new runtime.VoidApiResponse(response);
7904
+ }
7905
+ /**
7906
+ */
7907
+ async postApiVirtualCards(requestParameters, initOverrides) {
7908
+ await this.postApiVirtualCardsRaw(requestParameters, initOverrides);
7909
+ }
7692
7910
  /**
7693
7911
  * Creates request options for postApiWallets without sending the request
7694
7912
  */