@paysponge/sdk 0.1.42 → 0.1.44

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 (64) hide show
  1. package/dist/api/generated/openapi/apis/default-api.d.ts +296 -296
  2. package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
  3. package/dist/api/generated/openapi/apis/default-api.js +271 -271
  4. package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
  5. package/dist/api/generated/openapi/models/index.d.ts +7 -7
  6. package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
  7. package/dist/api/generated/openapi/models/index.js +7 -7
  8. package/dist/api/generated/openapi/models/index.js.map +1 -1
  9. package/dist/api/generated/openapi/models/post-api-sponge-card-card-request.d.ts +48 -0
  10. package/dist/api/generated/openapi/models/post-api-sponge-card-card-request.d.ts.map +1 -0
  11. package/dist/api/generated/openapi/models/post-api-sponge-card-card-request.js +56 -0
  12. package/dist/api/generated/openapi/models/post-api-sponge-card-card-request.js.map +1 -0
  13. package/dist/api/generated/openapi/models/post-api-sponge-card-cards-by-card-id-secrets-request.d.ts +33 -0
  14. package/dist/api/generated/openapi/models/post-api-sponge-card-cards-by-card-id-secrets-request.d.ts.map +1 -0
  15. package/dist/api/generated/openapi/models/post-api-sponge-card-cards-by-card-id-secrets-request.js +44 -0
  16. package/dist/api/generated/openapi/models/post-api-sponge-card-cards-by-card-id-secrets-request.js.map +1 -0
  17. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-fund-request.d.ts +47 -0
  18. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-fund-request.d.ts.map +1 -0
  19. package/dist/api/generated/openapi/models/{post-api-rain-contracts-by-contract-id-withdraw-request.js → post-api-sponge-card-contracts-by-contract-id-fund-request.js} +10 -10
  20. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-fund-request.js.map +1 -0
  21. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-withdraw-request.d.ts +47 -0
  22. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-withdraw-request.d.ts.map +1 -0
  23. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-withdraw-request.js +55 -0
  24. package/dist/api/generated/openapi/models/post-api-sponge-card-contracts-by-contract-id-withdraw-request.js.map +1 -0
  25. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-refresh-request.d.ts +41 -0
  26. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-refresh-request.d.ts.map +1 -0
  27. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-refresh-request.js +51 -0
  28. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-refresh-request.js.map +1 -0
  29. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request-address.d.ts +63 -0
  30. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request-address.d.ts.map +1 -0
  31. package/dist/api/generated/openapi/models/{post-api-rain-customer-request-address.js → post-api-sponge-card-customer-request-address.js} +9 -9
  32. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request-address.js.map +1 -0
  33. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request.d.ts +108 -0
  34. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request.d.ts.map +1 -0
  35. package/dist/api/generated/openapi/models/{post-api-rain-customer-request.js → post-api-sponge-card-customer-request.js} +17 -15
  36. package/dist/api/generated/openapi/models/post-api-sponge-card-customer-request.js.map +1 -0
  37. package/dist/version.d.ts +1 -1
  38. package/dist/version.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/api/generated/openapi/models/post-api-rain-card-request.d.ts +0 -48
  41. package/dist/api/generated/openapi/models/post-api-rain-card-request.d.ts.map +0 -1
  42. package/dist/api/generated/openapi/models/post-api-rain-card-request.js +0 -56
  43. package/dist/api/generated/openapi/models/post-api-rain-card-request.js.map +0 -1
  44. package/dist/api/generated/openapi/models/post-api-rain-cards-by-card-id-secrets-request.d.ts +0 -33
  45. package/dist/api/generated/openapi/models/post-api-rain-cards-by-card-id-secrets-request.d.ts.map +0 -1
  46. package/dist/api/generated/openapi/models/post-api-rain-cards-by-card-id-secrets-request.js +0 -44
  47. package/dist/api/generated/openapi/models/post-api-rain-cards-by-card-id-secrets-request.js.map +0 -1
  48. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-fund-request.d.ts +0 -47
  49. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-fund-request.d.ts.map +0 -1
  50. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-fund-request.js +0 -55
  51. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-fund-request.js.map +0 -1
  52. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-withdraw-request.d.ts +0 -47
  53. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-withdraw-request.d.ts.map +0 -1
  54. package/dist/api/generated/openapi/models/post-api-rain-contracts-by-contract-id-withdraw-request.js.map +0 -1
  55. package/dist/api/generated/openapi/models/post-api-rain-customer-refresh-request.d.ts +0 -41
  56. package/dist/api/generated/openapi/models/post-api-rain-customer-refresh-request.d.ts.map +0 -1
  57. package/dist/api/generated/openapi/models/post-api-rain-customer-refresh-request.js +0 -51
  58. package/dist/api/generated/openapi/models/post-api-rain-customer-refresh-request.js.map +0 -1
  59. package/dist/api/generated/openapi/models/post-api-rain-customer-request-address.d.ts +0 -63
  60. package/dist/api/generated/openapi/models/post-api-rain-customer-request-address.d.ts.map +0 -1
  61. package/dist/api/generated/openapi/models/post-api-rain-customer-request-address.js.map +0 -1
  62. package/dist/api/generated/openapi/models/post-api-rain-customer-request.d.ts +0 -108
  63. package/dist/api/generated/openapi/models/post-api-rain-customer-request.d.ts.map +0 -1
  64. package/dist/api/generated/openapi/models/post-api-rain-customer-request.js.map +0 -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, PostApiRainCardRequestToJSON, PostApiRainCardsByCardIdSecretsRequestToJSON, PostApiRainContractsByContractIdFundRequestToJSON, PostApiRainContractsByContractIdWithdrawRequestToJSON, PostApiRainCustomerRefreshRequestToJSON, PostApiRainCustomerRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, 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, 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';
16
16
  /**
17
17
  *
18
18
  */
@@ -810,18 +810,16 @@ export class DefaultApi extends runtime.BaseAPI {
810
810
  await this.deleteApiMasterKeysByIdRaw(requestParameters, initOverrides);
811
811
  }
812
812
  /**
813
- * Creates request options for deleteApiRainCustomer without sending the request
813
+ * Creates request options for deleteApiSpendingLimitsById without sending the request
814
814
  */
815
- async deleteApiRainCustomerRequestOpts(requestParameters) {
816
- if (requestParameters['environment'] == null) {
817
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling deleteApiRainCustomer().');
815
+ async deleteApiSpendingLimitsByIdRequestOpts(requestParameters) {
816
+ if (requestParameters['id'] == null) {
817
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiSpendingLimitsById().');
818
818
  }
819
819
  const queryParameters = {};
820
- if (requestParameters['environment'] != null) {
821
- queryParameters['environment'] = requestParameters['environment'];
822
- }
823
820
  const headerParameters = {};
824
- let urlPath = `/api/rain/customer`;
821
+ let urlPath = `/api/spending-limits/{id}`;
822
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
825
823
  return {
826
824
  path: urlPath,
827
825
  method: 'DELETE',
@@ -831,27 +829,29 @@ export class DefaultApi extends runtime.BaseAPI {
831
829
  }
832
830
  /**
833
831
  */
834
- async deleteApiRainCustomerRaw(requestParameters, initOverrides) {
835
- const requestOptions = await this.deleteApiRainCustomerRequestOpts(requestParameters);
832
+ async deleteApiSpendingLimitsByIdRaw(requestParameters, initOverrides) {
833
+ const requestOptions = await this.deleteApiSpendingLimitsByIdRequestOpts(requestParameters);
836
834
  const response = await this.request(requestOptions, initOverrides);
837
835
  return new runtime.VoidApiResponse(response);
838
836
  }
839
837
  /**
840
838
  */
841
- async deleteApiRainCustomer(requestParameters, initOverrides) {
842
- await this.deleteApiRainCustomerRaw(requestParameters, initOverrides);
839
+ async deleteApiSpendingLimitsById(requestParameters, initOverrides) {
840
+ await this.deleteApiSpendingLimitsByIdRaw(requestParameters, initOverrides);
843
841
  }
844
842
  /**
845
- * Creates request options for deleteApiSpendingLimitsById without sending the request
843
+ * Creates request options for deleteApiSpongeCardCustomer without sending the request
846
844
  */
847
- async deleteApiSpendingLimitsByIdRequestOpts(requestParameters) {
848
- if (requestParameters['id'] == null) {
849
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiSpendingLimitsById().');
845
+ async deleteApiSpongeCardCustomerRequestOpts(requestParameters) {
846
+ if (requestParameters['environment'] == null) {
847
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling deleteApiSpongeCardCustomer().');
850
848
  }
851
849
  const queryParameters = {};
850
+ if (requestParameters['environment'] != null) {
851
+ queryParameters['environment'] = requestParameters['environment'];
852
+ }
852
853
  const headerParameters = {};
853
- let urlPath = `/api/spending-limits/{id}`;
854
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
854
+ let urlPath = `/api/sponge-card/customer`;
855
855
  return {
856
856
  path: urlPath,
857
857
  method: 'DELETE',
@@ -861,15 +861,15 @@ export class DefaultApi extends runtime.BaseAPI {
861
861
  }
862
862
  /**
863
863
  */
864
- async deleteApiSpendingLimitsByIdRaw(requestParameters, initOverrides) {
865
- const requestOptions = await this.deleteApiSpendingLimitsByIdRequestOpts(requestParameters);
864
+ async deleteApiSpongeCardCustomerRaw(requestParameters, initOverrides) {
865
+ const requestOptions = await this.deleteApiSpongeCardCustomerRequestOpts(requestParameters);
866
866
  const response = await this.request(requestOptions, initOverrides);
867
867
  return new runtime.VoidApiResponse(response);
868
868
  }
869
869
  /**
870
870
  */
871
- async deleteApiSpendingLimitsById(requestParameters, initOverrides) {
872
- await this.deleteApiSpendingLimitsByIdRaw(requestParameters, initOverrides);
871
+ async deleteApiSpongeCardCustomer(requestParameters, initOverrides) {
872
+ await this.deleteApiSpongeCardCustomerRaw(requestParameters, initOverrides);
873
873
  }
874
874
  /**
875
875
  * Creates request options for getApiAdminBetaUsers without sending the request
@@ -2903,18 +2903,21 @@ export class DefaultApi extends runtime.BaseAPI {
2903
2903
  await this.getApiPromoKv2Jm7DZOIDGi6D2FreemoneyRaw(requestParameters, initOverrides);
2904
2904
  }
2905
2905
  /**
2906
- * Creates request options for getApiRainBalances without sending the request
2906
+ * Creates request options for getApiSolanaTokens without sending the request
2907
2907
  */
2908
- async getApiRainBalancesRequestOpts(requestParameters) {
2909
- if (requestParameters['environment'] == null) {
2910
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiRainBalances().');
2908
+ async getApiSolanaTokensRequestOpts(requestParameters) {
2909
+ if (requestParameters['chain'] == null) {
2910
+ throw new runtime.RequiredError('chain', 'Required parameter "chain" was null or undefined when calling getApiSolanaTokens().');
2911
2911
  }
2912
2912
  const queryParameters = {};
2913
- if (requestParameters['environment'] != null) {
2914
- queryParameters['environment'] = requestParameters['environment'];
2913
+ if (requestParameters['chain'] != null) {
2914
+ queryParameters['chain'] = requestParameters['chain'];
2915
+ }
2916
+ if (requestParameters['agentId'] != null) {
2917
+ queryParameters['agentId'] = requestParameters['agentId'];
2915
2918
  }
2916
2919
  const headerParameters = {};
2917
- let urlPath = `/api/rain/balances`;
2920
+ let urlPath = `/api/solana/tokens`;
2918
2921
  return {
2919
2922
  path: urlPath,
2920
2923
  method: 'GET',
@@ -2924,29 +2927,35 @@ export class DefaultApi extends runtime.BaseAPI {
2924
2927
  }
2925
2928
  /**
2926
2929
  */
2927
- async getApiRainBalancesRaw(requestParameters, initOverrides) {
2928
- const requestOptions = await this.getApiRainBalancesRequestOpts(requestParameters);
2930
+ async getApiSolanaTokensRaw(requestParameters, initOverrides) {
2931
+ const requestOptions = await this.getApiSolanaTokensRequestOpts(requestParameters);
2929
2932
  const response = await this.request(requestOptions, initOverrides);
2930
2933
  return new runtime.VoidApiResponse(response);
2931
2934
  }
2932
2935
  /**
2933
2936
  */
2934
- async getApiRainBalances(requestParameters, initOverrides) {
2935
- await this.getApiRainBalancesRaw(requestParameters, initOverrides);
2937
+ async getApiSolanaTokens(requestParameters, initOverrides) {
2938
+ await this.getApiSolanaTokensRaw(requestParameters, initOverrides);
2936
2939
  }
2937
2940
  /**
2938
- * Creates request options for getApiRainCards without sending the request
2941
+ * Creates request options for getApiSolanaTokensSearch without sending the request
2939
2942
  */
2940
- async getApiRainCardsRequestOpts(requestParameters) {
2941
- if (requestParameters['environment'] == null) {
2942
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiRainCards().');
2943
+ async getApiSolanaTokensSearchRequestOpts(requestParameters) {
2944
+ if (requestParameters['query'] == null) {
2945
+ throw new runtime.RequiredError('query', 'Required parameter "query" was null or undefined when calling getApiSolanaTokensSearch().');
2943
2946
  }
2944
2947
  const queryParameters = {};
2945
- if (requestParameters['environment'] != null) {
2946
- queryParameters['environment'] = requestParameters['environment'];
2948
+ if (requestParameters['query'] != null) {
2949
+ queryParameters['query'] = requestParameters['query'];
2950
+ }
2951
+ if (requestParameters['limit'] != null) {
2952
+ queryParameters['limit'] = requestParameters['limit'];
2953
+ }
2954
+ if (requestParameters['agentId'] != null) {
2955
+ queryParameters['agentId'] = requestParameters['agentId'];
2947
2956
  }
2948
2957
  const headerParameters = {};
2949
- let urlPath = `/api/rain/cards`;
2958
+ let urlPath = `/api/solana/tokens/search`;
2950
2959
  return {
2951
2960
  path: urlPath,
2952
2961
  method: 'GET',
@@ -2956,23 +2965,27 @@ export class DefaultApi extends runtime.BaseAPI {
2956
2965
  }
2957
2966
  /**
2958
2967
  */
2959
- async getApiRainCardsRaw(requestParameters, initOverrides) {
2960
- const requestOptions = await this.getApiRainCardsRequestOpts(requestParameters);
2968
+ async getApiSolanaTokensSearchRaw(requestParameters, initOverrides) {
2969
+ const requestOptions = await this.getApiSolanaTokensSearchRequestOpts(requestParameters);
2961
2970
  const response = await this.request(requestOptions, initOverrides);
2962
2971
  return new runtime.VoidApiResponse(response);
2963
2972
  }
2964
2973
  /**
2965
2974
  */
2966
- async getApiRainCards(requestParameters, initOverrides) {
2967
- await this.getApiRainCardsRaw(requestParameters, initOverrides);
2975
+ async getApiSolanaTokensSearch(requestParameters, initOverrides) {
2976
+ await this.getApiSolanaTokensSearchRaw(requestParameters, initOverrides);
2968
2977
  }
2969
2978
  /**
2970
- * Creates request options for getApiRainConfig without sending the request
2979
+ * Creates request options for getApiSpendingLimitsByAgentId without sending the request
2971
2980
  */
2972
- async getApiRainConfigRequestOpts() {
2981
+ async getApiSpendingLimitsByAgentIdRequestOpts(requestParameters) {
2982
+ if (requestParameters['agentId'] == null) {
2983
+ throw new runtime.RequiredError('agentId', 'Required parameter "agentId" was null or undefined when calling getApiSpendingLimitsByAgentId().');
2984
+ }
2973
2985
  const queryParameters = {};
2974
2986
  const headerParameters = {};
2975
- let urlPath = `/api/rain/config`;
2987
+ let urlPath = `/api/spending-limits/{agentId}`;
2988
+ urlPath = urlPath.replace(`{${"agentId"}}`, encodeURIComponent(String(requestParameters['agentId'])));
2976
2989
  return {
2977
2990
  path: urlPath,
2978
2991
  method: 'GET',
@@ -2982,29 +2995,29 @@ export class DefaultApi extends runtime.BaseAPI {
2982
2995
  }
2983
2996
  /**
2984
2997
  */
2985
- async getApiRainConfigRaw(initOverrides) {
2986
- const requestOptions = await this.getApiRainConfigRequestOpts();
2998
+ async getApiSpendingLimitsByAgentIdRaw(requestParameters, initOverrides) {
2999
+ const requestOptions = await this.getApiSpendingLimitsByAgentIdRequestOpts(requestParameters);
2987
3000
  const response = await this.request(requestOptions, initOverrides);
2988
3001
  return new runtime.VoidApiResponse(response);
2989
3002
  }
2990
3003
  /**
2991
3004
  */
2992
- async getApiRainConfig(initOverrides) {
2993
- await this.getApiRainConfigRaw(initOverrides);
3005
+ async getApiSpendingLimitsByAgentId(requestParameters, initOverrides) {
3006
+ await this.getApiSpendingLimitsByAgentIdRaw(requestParameters, initOverrides);
2994
3007
  }
2995
3008
  /**
2996
- * Creates request options for getApiRainContracts without sending the request
3009
+ * Creates request options for getApiSpongeCardBalances without sending the request
2997
3010
  */
2998
- async getApiRainContractsRequestOpts(requestParameters) {
3011
+ async getApiSpongeCardBalancesRequestOpts(requestParameters) {
2999
3012
  if (requestParameters['environment'] == null) {
3000
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiRainContracts().');
3013
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiSpongeCardBalances().');
3001
3014
  }
3002
3015
  const queryParameters = {};
3003
3016
  if (requestParameters['environment'] != null) {
3004
3017
  queryParameters['environment'] = requestParameters['environment'];
3005
3018
  }
3006
3019
  const headerParameters = {};
3007
- let urlPath = `/api/rain/contracts`;
3020
+ let urlPath = `/api/sponge-card/balances`;
3008
3021
  return {
3009
3022
  path: urlPath,
3010
3023
  method: 'GET',
@@ -3014,33 +3027,29 @@ export class DefaultApi extends runtime.BaseAPI {
3014
3027
  }
3015
3028
  /**
3016
3029
  */
3017
- async getApiRainContractsRaw(requestParameters, initOverrides) {
3018
- const requestOptions = await this.getApiRainContractsRequestOpts(requestParameters);
3030
+ async getApiSpongeCardBalancesRaw(requestParameters, initOverrides) {
3031
+ const requestOptions = await this.getApiSpongeCardBalancesRequestOpts(requestParameters);
3019
3032
  const response = await this.request(requestOptions, initOverrides);
3020
3033
  return new runtime.VoidApiResponse(response);
3021
3034
  }
3022
3035
  /**
3023
3036
  */
3024
- async getApiRainContracts(requestParameters, initOverrides) {
3025
- await this.getApiRainContractsRaw(requestParameters, initOverrides);
3037
+ async getApiSpongeCardBalances(requestParameters, initOverrides) {
3038
+ await this.getApiSpongeCardBalancesRaw(requestParameters, initOverrides);
3026
3039
  }
3027
3040
  /**
3028
- * Creates request options for getApiRainContractsByContractIdBalance without sending the request
3041
+ * Creates request options for getApiSpongeCardCards without sending the request
3029
3042
  */
3030
- async getApiRainContractsByContractIdBalanceRequestOpts(requestParameters) {
3031
- if (requestParameters['contractId'] == null) {
3032
- throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getApiRainContractsByContractIdBalance().');
3033
- }
3043
+ async getApiSpongeCardCardsRequestOpts(requestParameters) {
3034
3044
  if (requestParameters['environment'] == null) {
3035
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiRainContractsByContractIdBalance().');
3045
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiSpongeCardCards().');
3036
3046
  }
3037
3047
  const queryParameters = {};
3038
3048
  if (requestParameters['environment'] != null) {
3039
3049
  queryParameters['environment'] = requestParameters['environment'];
3040
3050
  }
3041
3051
  const headerParameters = {};
3042
- let urlPath = `/api/rain/contracts/{contractId}/balance`;
3043
- urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
3052
+ let urlPath = `/api/sponge-card/cards`;
3044
3053
  return {
3045
3054
  path: urlPath,
3046
3055
  method: 'GET',
@@ -3050,32 +3059,23 @@ export class DefaultApi extends runtime.BaseAPI {
3050
3059
  }
3051
3060
  /**
3052
3061
  */
3053
- async getApiRainContractsByContractIdBalanceRaw(requestParameters, initOverrides) {
3054
- const requestOptions = await this.getApiRainContractsByContractIdBalanceRequestOpts(requestParameters);
3062
+ async getApiSpongeCardCardsRaw(requestParameters, initOverrides) {
3063
+ const requestOptions = await this.getApiSpongeCardCardsRequestOpts(requestParameters);
3055
3064
  const response = await this.request(requestOptions, initOverrides);
3056
3065
  return new runtime.VoidApiResponse(response);
3057
3066
  }
3058
3067
  /**
3059
3068
  */
3060
- async getApiRainContractsByContractIdBalance(requestParameters, initOverrides) {
3061
- await this.getApiRainContractsByContractIdBalanceRaw(requestParameters, initOverrides);
3069
+ async getApiSpongeCardCards(requestParameters, initOverrides) {
3070
+ await this.getApiSpongeCardCardsRaw(requestParameters, initOverrides);
3062
3071
  }
3063
3072
  /**
3064
- * Creates request options for getApiRainCustomer without sending the request
3073
+ * Creates request options for getApiSpongeCardConfig without sending the request
3065
3074
  */
3066
- async getApiRainCustomerRequestOpts(requestParameters) {
3067
- if (requestParameters['environment'] == null) {
3068
- throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiRainCustomer().');
3069
- }
3075
+ async getApiSpongeCardConfigRequestOpts() {
3070
3076
  const queryParameters = {};
3071
- if (requestParameters['environment'] != null) {
3072
- queryParameters['environment'] = requestParameters['environment'];
3073
- }
3074
- if (requestParameters['forceRefresh'] != null) {
3075
- queryParameters['forceRefresh'] = requestParameters['forceRefresh'];
3076
- }
3077
3077
  const headerParameters = {};
3078
- let urlPath = `/api/rain/customer`;
3078
+ let urlPath = `/api/sponge-card/config`;
3079
3079
  return {
3080
3080
  path: urlPath,
3081
3081
  method: 'GET',
@@ -3085,32 +3085,29 @@ export class DefaultApi extends runtime.BaseAPI {
3085
3085
  }
3086
3086
  /**
3087
3087
  */
3088
- async getApiRainCustomerRaw(requestParameters, initOverrides) {
3089
- const requestOptions = await this.getApiRainCustomerRequestOpts(requestParameters);
3088
+ async getApiSpongeCardConfigRaw(initOverrides) {
3089
+ const requestOptions = await this.getApiSpongeCardConfigRequestOpts();
3090
3090
  const response = await this.request(requestOptions, initOverrides);
3091
3091
  return new runtime.VoidApiResponse(response);
3092
3092
  }
3093
3093
  /**
3094
3094
  */
3095
- async getApiRainCustomer(requestParameters, initOverrides) {
3096
- await this.getApiRainCustomerRaw(requestParameters, initOverrides);
3095
+ async getApiSpongeCardConfig(initOverrides) {
3096
+ await this.getApiSpongeCardConfigRaw(initOverrides);
3097
3097
  }
3098
3098
  /**
3099
- * Creates request options for getApiSolanaTokens without sending the request
3099
+ * Creates request options for getApiSpongeCardContracts without sending the request
3100
3100
  */
3101
- async getApiSolanaTokensRequestOpts(requestParameters) {
3102
- if (requestParameters['chain'] == null) {
3103
- throw new runtime.RequiredError('chain', 'Required parameter "chain" was null or undefined when calling getApiSolanaTokens().');
3101
+ async getApiSpongeCardContractsRequestOpts(requestParameters) {
3102
+ if (requestParameters['environment'] == null) {
3103
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiSpongeCardContracts().');
3104
3104
  }
3105
3105
  const queryParameters = {};
3106
- if (requestParameters['chain'] != null) {
3107
- queryParameters['chain'] = requestParameters['chain'];
3108
- }
3109
- if (requestParameters['agentId'] != null) {
3110
- queryParameters['agentId'] = requestParameters['agentId'];
3106
+ if (requestParameters['environment'] != null) {
3107
+ queryParameters['environment'] = requestParameters['environment'];
3111
3108
  }
3112
3109
  const headerParameters = {};
3113
- let urlPath = `/api/solana/tokens`;
3110
+ let urlPath = `/api/sponge-card/contracts`;
3114
3111
  return {
3115
3112
  path: urlPath,
3116
3113
  method: 'GET',
@@ -3120,35 +3117,33 @@ export class DefaultApi extends runtime.BaseAPI {
3120
3117
  }
3121
3118
  /**
3122
3119
  */
3123
- async getApiSolanaTokensRaw(requestParameters, initOverrides) {
3124
- const requestOptions = await this.getApiSolanaTokensRequestOpts(requestParameters);
3120
+ async getApiSpongeCardContractsRaw(requestParameters, initOverrides) {
3121
+ const requestOptions = await this.getApiSpongeCardContractsRequestOpts(requestParameters);
3125
3122
  const response = await this.request(requestOptions, initOverrides);
3126
3123
  return new runtime.VoidApiResponse(response);
3127
3124
  }
3128
3125
  /**
3129
3126
  */
3130
- async getApiSolanaTokens(requestParameters, initOverrides) {
3131
- await this.getApiSolanaTokensRaw(requestParameters, initOverrides);
3127
+ async getApiSpongeCardContracts(requestParameters, initOverrides) {
3128
+ await this.getApiSpongeCardContractsRaw(requestParameters, initOverrides);
3132
3129
  }
3133
3130
  /**
3134
- * Creates request options for getApiSolanaTokensSearch without sending the request
3131
+ * Creates request options for getApiSpongeCardContractsByContractIdBalance without sending the request
3135
3132
  */
3136
- async getApiSolanaTokensSearchRequestOpts(requestParameters) {
3137
- if (requestParameters['query'] == null) {
3138
- throw new runtime.RequiredError('query', 'Required parameter "query" was null or undefined when calling getApiSolanaTokensSearch().');
3139
- }
3140
- const queryParameters = {};
3141
- if (requestParameters['query'] != null) {
3142
- queryParameters['query'] = requestParameters['query'];
3133
+ async getApiSpongeCardContractsByContractIdBalanceRequestOpts(requestParameters) {
3134
+ if (requestParameters['contractId'] == null) {
3135
+ throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getApiSpongeCardContractsByContractIdBalance().');
3143
3136
  }
3144
- if (requestParameters['limit'] != null) {
3145
- queryParameters['limit'] = requestParameters['limit'];
3137
+ if (requestParameters['environment'] == null) {
3138
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiSpongeCardContractsByContractIdBalance().');
3146
3139
  }
3147
- if (requestParameters['agentId'] != null) {
3148
- queryParameters['agentId'] = requestParameters['agentId'];
3140
+ const queryParameters = {};
3141
+ if (requestParameters['environment'] != null) {
3142
+ queryParameters['environment'] = requestParameters['environment'];
3149
3143
  }
3150
3144
  const headerParameters = {};
3151
- let urlPath = `/api/solana/tokens/search`;
3145
+ let urlPath = `/api/sponge-card/contracts/{contractId}/balance`;
3146
+ urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
3152
3147
  return {
3153
3148
  path: urlPath,
3154
3149
  method: 'GET',
@@ -3158,27 +3153,32 @@ export class DefaultApi extends runtime.BaseAPI {
3158
3153
  }
3159
3154
  /**
3160
3155
  */
3161
- async getApiSolanaTokensSearchRaw(requestParameters, initOverrides) {
3162
- const requestOptions = await this.getApiSolanaTokensSearchRequestOpts(requestParameters);
3156
+ async getApiSpongeCardContractsByContractIdBalanceRaw(requestParameters, initOverrides) {
3157
+ const requestOptions = await this.getApiSpongeCardContractsByContractIdBalanceRequestOpts(requestParameters);
3163
3158
  const response = await this.request(requestOptions, initOverrides);
3164
3159
  return new runtime.VoidApiResponse(response);
3165
3160
  }
3166
3161
  /**
3167
3162
  */
3168
- async getApiSolanaTokensSearch(requestParameters, initOverrides) {
3169
- await this.getApiSolanaTokensSearchRaw(requestParameters, initOverrides);
3163
+ async getApiSpongeCardContractsByContractIdBalance(requestParameters, initOverrides) {
3164
+ await this.getApiSpongeCardContractsByContractIdBalanceRaw(requestParameters, initOverrides);
3170
3165
  }
3171
3166
  /**
3172
- * Creates request options for getApiSpendingLimitsByAgentId without sending the request
3167
+ * Creates request options for getApiSpongeCardCustomer without sending the request
3173
3168
  */
3174
- async getApiSpendingLimitsByAgentIdRequestOpts(requestParameters) {
3175
- if (requestParameters['agentId'] == null) {
3176
- throw new runtime.RequiredError('agentId', 'Required parameter "agentId" was null or undefined when calling getApiSpendingLimitsByAgentId().');
3169
+ async getApiSpongeCardCustomerRequestOpts(requestParameters) {
3170
+ if (requestParameters['environment'] == null) {
3171
+ throw new runtime.RequiredError('environment', 'Required parameter "environment" was null or undefined when calling getApiSpongeCardCustomer().');
3177
3172
  }
3178
3173
  const queryParameters = {};
3174
+ if (requestParameters['environment'] != null) {
3175
+ queryParameters['environment'] = requestParameters['environment'];
3176
+ }
3177
+ if (requestParameters['forceRefresh'] != null) {
3178
+ queryParameters['forceRefresh'] = requestParameters['forceRefresh'];
3179
+ }
3179
3180
  const headerParameters = {};
3180
- let urlPath = `/api/spending-limits/{agentId}`;
3181
- urlPath = urlPath.replace(`{${"agentId"}}`, encodeURIComponent(String(requestParameters['agentId'])));
3181
+ let urlPath = `/api/sponge-card/customer`;
3182
3182
  return {
3183
3183
  path: urlPath,
3184
3184
  method: 'GET',
@@ -3188,15 +3188,15 @@ export class DefaultApi extends runtime.BaseAPI {
3188
3188
  }
3189
3189
  /**
3190
3190
  */
3191
- async getApiSpendingLimitsByAgentIdRaw(requestParameters, initOverrides) {
3192
- const requestOptions = await this.getApiSpendingLimitsByAgentIdRequestOpts(requestParameters);
3191
+ async getApiSpongeCardCustomerRaw(requestParameters, initOverrides) {
3192
+ const requestOptions = await this.getApiSpongeCardCustomerRequestOpts(requestParameters);
3193
3193
  const response = await this.request(requestOptions, initOverrides);
3194
3194
  return new runtime.VoidApiResponse(response);
3195
3195
  }
3196
3196
  /**
3197
3197
  */
3198
- async getApiSpendingLimitsByAgentId(requestParameters, initOverrides) {
3199
- await this.getApiSpendingLimitsByAgentIdRaw(requestParameters, initOverrides);
3198
+ async getApiSpongeCardCustomer(requestParameters, initOverrides) {
3199
+ await this.getApiSpongeCardCustomerRaw(requestParameters, initOverrides);
3200
3200
  }
3201
3201
  /**
3202
3202
  * Creates request options for getApiStripeOnrampSessionBySessionIdStatus without sending the request
@@ -6274,392 +6274,392 @@ export class DefaultApi extends runtime.BaseAPI {
6274
6274
  await this.postApiPolymarketRaw(requestParameters, initOverrides);
6275
6275
  }
6276
6276
  /**
6277
- * Creates request options for postApiRainCard without sending the request
6277
+ * Creates request options for postApiRpcByChainId without sending the request
6278
6278
  */
6279
- async postApiRainCardRequestOpts(requestParameters) {
6280
- if (requestParameters['postApiRainCardRequest'] == null) {
6281
- throw new runtime.RequiredError('postApiRainCardRequest', 'Required parameter "postApiRainCardRequest" was null or undefined when calling postApiRainCard().');
6279
+ async postApiRpcByChainIdRequestOpts(requestParameters) {
6280
+ if (requestParameters['chainId'] == null) {
6281
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling postApiRpcByChainId().');
6282
+ }
6283
+ if (requestParameters['postApiRpcByChainIdRequest'] == null) {
6284
+ throw new runtime.RequiredError('postApiRpcByChainIdRequest', 'Required parameter "postApiRpcByChainIdRequest" was null or undefined when calling postApiRpcByChainId().');
6282
6285
  }
6283
6286
  const queryParameters = {};
6284
6287
  const headerParameters = {};
6285
6288
  headerParameters['Content-Type'] = 'application/json';
6286
- let urlPath = `/api/rain/card`;
6289
+ let urlPath = `/api/rpc/{chainId}`;
6290
+ urlPath = urlPath.replace(`{${"chainId"}}`, encodeURIComponent(String(requestParameters['chainId'])));
6287
6291
  return {
6288
6292
  path: urlPath,
6289
6293
  method: 'POST',
6290
6294
  headers: headerParameters,
6291
6295
  query: queryParameters,
6292
- body: PostApiRainCardRequestToJSON(requestParameters['postApiRainCardRequest']),
6296
+ body: PostApiRpcByChainIdRequestToJSON(requestParameters['postApiRpcByChainIdRequest']),
6293
6297
  };
6294
6298
  }
6295
6299
  /**
6296
6300
  */
6297
- async postApiRainCardRaw(requestParameters, initOverrides) {
6298
- const requestOptions = await this.postApiRainCardRequestOpts(requestParameters);
6301
+ async postApiRpcByChainIdRaw(requestParameters, initOverrides) {
6302
+ const requestOptions = await this.postApiRpcByChainIdRequestOpts(requestParameters);
6299
6303
  const response = await this.request(requestOptions, initOverrides);
6300
6304
  return new runtime.VoidApiResponse(response);
6301
6305
  }
6302
6306
  /**
6303
6307
  */
6304
- async postApiRainCard(requestParameters, initOverrides) {
6305
- await this.postApiRainCardRaw(requestParameters, initOverrides);
6308
+ async postApiRpcByChainId(requestParameters, initOverrides) {
6309
+ await this.postApiRpcByChainIdRaw(requestParameters, initOverrides);
6306
6310
  }
6307
6311
  /**
6308
- * Creates request options for postApiRainCardsByCardIdSecrets without sending the request
6312
+ * Creates request options for postApiSignupBonusClaim without sending the request
6309
6313
  */
6310
- async postApiRainCardsByCardIdSecretsRequestOpts(requestParameters) {
6311
- if (requestParameters['cardId'] == null) {
6312
- throw new runtime.RequiredError('cardId', 'Required parameter "cardId" was null or undefined when calling postApiRainCardsByCardIdSecrets().');
6313
- }
6314
- if (requestParameters['postApiRainCardsByCardIdSecretsRequest'] == null) {
6315
- throw new runtime.RequiredError('postApiRainCardsByCardIdSecretsRequest', 'Required parameter "postApiRainCardsByCardIdSecretsRequest" was null or undefined when calling postApiRainCardsByCardIdSecrets().');
6314
+ async postApiSignupBonusClaimRequestOpts(requestParameters) {
6315
+ if (requestParameters['postApiSignupBonusClaimRequest'] == null) {
6316
+ throw new runtime.RequiredError('postApiSignupBonusClaimRequest', 'Required parameter "postApiSignupBonusClaimRequest" was null or undefined when calling postApiSignupBonusClaim().');
6316
6317
  }
6317
6318
  const queryParameters = {};
6318
6319
  const headerParameters = {};
6319
6320
  headerParameters['Content-Type'] = 'application/json';
6320
- let urlPath = `/api/rain/cards/{cardId}/secrets`;
6321
- urlPath = urlPath.replace(`{${"cardId"}}`, encodeURIComponent(String(requestParameters['cardId'])));
6321
+ let urlPath = `/api/signup-bonus/claim`;
6322
6322
  return {
6323
6323
  path: urlPath,
6324
6324
  method: 'POST',
6325
6325
  headers: headerParameters,
6326
6326
  query: queryParameters,
6327
- body: PostApiRainCardsByCardIdSecretsRequestToJSON(requestParameters['postApiRainCardsByCardIdSecretsRequest']),
6327
+ body: PostApiSignupBonusClaimRequestToJSON(requestParameters['postApiSignupBonusClaimRequest']),
6328
6328
  };
6329
6329
  }
6330
6330
  /**
6331
6331
  */
6332
- async postApiRainCardsByCardIdSecretsRaw(requestParameters, initOverrides) {
6333
- const requestOptions = await this.postApiRainCardsByCardIdSecretsRequestOpts(requestParameters);
6332
+ async postApiSignupBonusClaimRaw(requestParameters, initOverrides) {
6333
+ const requestOptions = await this.postApiSignupBonusClaimRequestOpts(requestParameters);
6334
6334
  const response = await this.request(requestOptions, initOverrides);
6335
6335
  return new runtime.VoidApiResponse(response);
6336
6336
  }
6337
6337
  /**
6338
6338
  */
6339
- async postApiRainCardsByCardIdSecrets(requestParameters, initOverrides) {
6340
- await this.postApiRainCardsByCardIdSecretsRaw(requestParameters, initOverrides);
6339
+ async postApiSignupBonusClaim(requestParameters, initOverrides) {
6340
+ await this.postApiSignupBonusClaimRaw(requestParameters, initOverrides);
6341
6341
  }
6342
6342
  /**
6343
- * Creates request options for postApiRainContractsByContractIdFund without sending the request
6343
+ * Creates request options for postApiSiweGenerate without sending the request
6344
6344
  */
6345
- async postApiRainContractsByContractIdFundRequestOpts(requestParameters) {
6346
- if (requestParameters['contractId'] == null) {
6347
- throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling postApiRainContractsByContractIdFund().');
6348
- }
6349
- if (requestParameters['postApiRainContractsByContractIdFundRequest'] == null) {
6350
- throw new runtime.RequiredError('postApiRainContractsByContractIdFundRequest', 'Required parameter "postApiRainContractsByContractIdFundRequest" was null or undefined when calling postApiRainContractsByContractIdFund().');
6345
+ async postApiSiweGenerateRequestOpts(requestParameters) {
6346
+ if (requestParameters['postApiSiweGenerateRequest'] == null) {
6347
+ throw new runtime.RequiredError('postApiSiweGenerateRequest', 'Required parameter "postApiSiweGenerateRequest" was null or undefined when calling postApiSiweGenerate().');
6351
6348
  }
6352
6349
  const queryParameters = {};
6353
6350
  const headerParameters = {};
6354
6351
  headerParameters['Content-Type'] = 'application/json';
6355
- let urlPath = `/api/rain/contracts/{contractId}/fund`;
6356
- urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
6352
+ let urlPath = `/api/siwe/generate`;
6357
6353
  return {
6358
6354
  path: urlPath,
6359
6355
  method: 'POST',
6360
6356
  headers: headerParameters,
6361
6357
  query: queryParameters,
6362
- body: PostApiRainContractsByContractIdFundRequestToJSON(requestParameters['postApiRainContractsByContractIdFundRequest']),
6358
+ body: PostApiSiweGenerateRequestToJSON(requestParameters['postApiSiweGenerateRequest']),
6363
6359
  };
6364
6360
  }
6365
6361
  /**
6366
6362
  */
6367
- async postApiRainContractsByContractIdFundRaw(requestParameters, initOverrides) {
6368
- const requestOptions = await this.postApiRainContractsByContractIdFundRequestOpts(requestParameters);
6363
+ async postApiSiweGenerateRaw(requestParameters, initOverrides) {
6364
+ const requestOptions = await this.postApiSiweGenerateRequestOpts(requestParameters);
6369
6365
  const response = await this.request(requestOptions, initOverrides);
6370
6366
  return new runtime.VoidApiResponse(response);
6371
6367
  }
6372
6368
  /**
6373
6369
  */
6374
- async postApiRainContractsByContractIdFund(requestParameters, initOverrides) {
6375
- await this.postApiRainContractsByContractIdFundRaw(requestParameters, initOverrides);
6370
+ async postApiSiweGenerate(requestParameters, initOverrides) {
6371
+ await this.postApiSiweGenerateRaw(requestParameters, initOverrides);
6376
6372
  }
6377
6373
  /**
6378
- * Creates request options for postApiRainContractsByContractIdWithdraw without sending the request
6374
+ * Creates request options for postApiSolanaSign without sending the request
6379
6375
  */
6380
- async postApiRainContractsByContractIdWithdrawRequestOpts(requestParameters) {
6381
- if (requestParameters['contractId'] == null) {
6382
- throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling postApiRainContractsByContractIdWithdraw().');
6383
- }
6384
- if (requestParameters['postApiRainContractsByContractIdWithdrawRequest'] == null) {
6385
- throw new runtime.RequiredError('postApiRainContractsByContractIdWithdrawRequest', 'Required parameter "postApiRainContractsByContractIdWithdrawRequest" was null or undefined when calling postApiRainContractsByContractIdWithdraw().');
6376
+ async postApiSolanaSignRequestOpts(requestParameters) {
6377
+ if (requestParameters['postApiSolanaSignRequest'] == null) {
6378
+ throw new runtime.RequiredError('postApiSolanaSignRequest', 'Required parameter "postApiSolanaSignRequest" was null or undefined when calling postApiSolanaSign().');
6386
6379
  }
6387
6380
  const queryParameters = {};
6388
6381
  const headerParameters = {};
6389
6382
  headerParameters['Content-Type'] = 'application/json';
6390
- let urlPath = `/api/rain/contracts/{contractId}/withdraw`;
6391
- urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
6383
+ let urlPath = `/api/solana/sign`;
6392
6384
  return {
6393
6385
  path: urlPath,
6394
6386
  method: 'POST',
6395
6387
  headers: headerParameters,
6396
6388
  query: queryParameters,
6397
- body: PostApiRainContractsByContractIdWithdrawRequestToJSON(requestParameters['postApiRainContractsByContractIdWithdrawRequest']),
6389
+ body: PostApiSolanaSignRequestToJSON(requestParameters['postApiSolanaSignRequest']),
6398
6390
  };
6399
6391
  }
6400
6392
  /**
6401
6393
  */
6402
- async postApiRainContractsByContractIdWithdrawRaw(requestParameters, initOverrides) {
6403
- const requestOptions = await this.postApiRainContractsByContractIdWithdrawRequestOpts(requestParameters);
6394
+ async postApiSolanaSignRaw(requestParameters, initOverrides) {
6395
+ const requestOptions = await this.postApiSolanaSignRequestOpts(requestParameters);
6404
6396
  const response = await this.request(requestOptions, initOverrides);
6405
6397
  return new runtime.VoidApiResponse(response);
6406
6398
  }
6407
6399
  /**
6408
6400
  */
6409
- async postApiRainContractsByContractIdWithdraw(requestParameters, initOverrides) {
6410
- await this.postApiRainContractsByContractIdWithdrawRaw(requestParameters, initOverrides);
6401
+ async postApiSolanaSign(requestParameters, initOverrides) {
6402
+ await this.postApiSolanaSignRaw(requestParameters, initOverrides);
6411
6403
  }
6412
6404
  /**
6413
- * Creates request options for postApiRainCustomer without sending the request
6405
+ * Creates request options for postApiSolanaSignAndSend without sending the request
6414
6406
  */
6415
- async postApiRainCustomerRequestOpts(requestParameters) {
6416
- if (requestParameters['postApiRainCustomerRequest'] == null) {
6417
- throw new runtime.RequiredError('postApiRainCustomerRequest', 'Required parameter "postApiRainCustomerRequest" was null or undefined when calling postApiRainCustomer().');
6407
+ async postApiSolanaSignAndSendRequestOpts(requestParameters) {
6408
+ if (requestParameters['postApiSolanaSignRequest'] == null) {
6409
+ throw new runtime.RequiredError('postApiSolanaSignRequest', 'Required parameter "postApiSolanaSignRequest" was null or undefined when calling postApiSolanaSignAndSend().');
6418
6410
  }
6419
6411
  const queryParameters = {};
6420
6412
  const headerParameters = {};
6421
6413
  headerParameters['Content-Type'] = 'application/json';
6422
- let urlPath = `/api/rain/customer`;
6414
+ let urlPath = `/api/solana/sign-and-send`;
6423
6415
  return {
6424
6416
  path: urlPath,
6425
6417
  method: 'POST',
6426
6418
  headers: headerParameters,
6427
6419
  query: queryParameters,
6428
- body: PostApiRainCustomerRequestToJSON(requestParameters['postApiRainCustomerRequest']),
6420
+ body: PostApiSolanaSignRequestToJSON(requestParameters['postApiSolanaSignRequest']),
6429
6421
  };
6430
6422
  }
6431
6423
  /**
6432
6424
  */
6433
- async postApiRainCustomerRaw(requestParameters, initOverrides) {
6434
- const requestOptions = await this.postApiRainCustomerRequestOpts(requestParameters);
6425
+ async postApiSolanaSignAndSendRaw(requestParameters, initOverrides) {
6426
+ const requestOptions = await this.postApiSolanaSignAndSendRequestOpts(requestParameters);
6435
6427
  const response = await this.request(requestOptions, initOverrides);
6436
6428
  return new runtime.VoidApiResponse(response);
6437
6429
  }
6438
6430
  /**
6439
6431
  */
6440
- async postApiRainCustomer(requestParameters, initOverrides) {
6441
- await this.postApiRainCustomerRaw(requestParameters, initOverrides);
6432
+ async postApiSolanaSignAndSend(requestParameters, initOverrides) {
6433
+ await this.postApiSolanaSignAndSendRaw(requestParameters, initOverrides);
6442
6434
  }
6443
6435
  /**
6444
- * Creates request options for postApiRainCustomerRefresh without sending the request
6436
+ * Creates request options for postApiSpendingLimits without sending the request
6445
6437
  */
6446
- async postApiRainCustomerRefreshRequestOpts(requestParameters) {
6447
- if (requestParameters['postApiRainCustomerRefreshRequest'] == null) {
6448
- throw new runtime.RequiredError('postApiRainCustomerRefreshRequest', 'Required parameter "postApiRainCustomerRefreshRequest" was null or undefined when calling postApiRainCustomerRefresh().');
6438
+ async postApiSpendingLimitsRequestOpts(requestParameters) {
6439
+ if (requestParameters['postApiSpendingLimitsRequest'] == null) {
6440
+ throw new runtime.RequiredError('postApiSpendingLimitsRequest', 'Required parameter "postApiSpendingLimitsRequest" was null or undefined when calling postApiSpendingLimits().');
6449
6441
  }
6450
6442
  const queryParameters = {};
6451
6443
  const headerParameters = {};
6452
6444
  headerParameters['Content-Type'] = 'application/json';
6453
- let urlPath = `/api/rain/customer/refresh`;
6445
+ let urlPath = `/api/spending-limits/`;
6454
6446
  return {
6455
6447
  path: urlPath,
6456
6448
  method: 'POST',
6457
6449
  headers: headerParameters,
6458
6450
  query: queryParameters,
6459
- body: PostApiRainCustomerRefreshRequestToJSON(requestParameters['postApiRainCustomerRefreshRequest']),
6451
+ body: PostApiSpendingLimitsRequestToJSON(requestParameters['postApiSpendingLimitsRequest']),
6460
6452
  };
6461
6453
  }
6462
6454
  /**
6463
6455
  */
6464
- async postApiRainCustomerRefreshRaw(requestParameters, initOverrides) {
6465
- const requestOptions = await this.postApiRainCustomerRefreshRequestOpts(requestParameters);
6456
+ async postApiSpendingLimitsRaw(requestParameters, initOverrides) {
6457
+ const requestOptions = await this.postApiSpendingLimitsRequestOpts(requestParameters);
6466
6458
  const response = await this.request(requestOptions, initOverrides);
6467
6459
  return new runtime.VoidApiResponse(response);
6468
6460
  }
6469
6461
  /**
6470
6462
  */
6471
- async postApiRainCustomerRefresh(requestParameters, initOverrides) {
6472
- await this.postApiRainCustomerRefreshRaw(requestParameters, initOverrides);
6463
+ async postApiSpendingLimits(requestParameters, initOverrides) {
6464
+ await this.postApiSpendingLimitsRaw(requestParameters, initOverrides);
6473
6465
  }
6474
6466
  /**
6475
- * Creates request options for postApiRpcByChainId without sending the request
6467
+ * Creates request options for postApiSpongeCardCard without sending the request
6476
6468
  */
6477
- async postApiRpcByChainIdRequestOpts(requestParameters) {
6478
- if (requestParameters['chainId'] == null) {
6479
- throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling postApiRpcByChainId().');
6480
- }
6481
- if (requestParameters['postApiRpcByChainIdRequest'] == null) {
6482
- throw new runtime.RequiredError('postApiRpcByChainIdRequest', 'Required parameter "postApiRpcByChainIdRequest" was null or undefined when calling postApiRpcByChainId().');
6469
+ async postApiSpongeCardCardRequestOpts(requestParameters) {
6470
+ if (requestParameters['postApiSpongeCardCardRequest'] == null) {
6471
+ throw new runtime.RequiredError('postApiSpongeCardCardRequest', 'Required parameter "postApiSpongeCardCardRequest" was null or undefined when calling postApiSpongeCardCard().');
6483
6472
  }
6484
6473
  const queryParameters = {};
6485
6474
  const headerParameters = {};
6486
6475
  headerParameters['Content-Type'] = 'application/json';
6487
- let urlPath = `/api/rpc/{chainId}`;
6488
- urlPath = urlPath.replace(`{${"chainId"}}`, encodeURIComponent(String(requestParameters['chainId'])));
6476
+ let urlPath = `/api/sponge-card/card`;
6489
6477
  return {
6490
6478
  path: urlPath,
6491
6479
  method: 'POST',
6492
6480
  headers: headerParameters,
6493
6481
  query: queryParameters,
6494
- body: PostApiRpcByChainIdRequestToJSON(requestParameters['postApiRpcByChainIdRequest']),
6482
+ body: PostApiSpongeCardCardRequestToJSON(requestParameters['postApiSpongeCardCardRequest']),
6495
6483
  };
6496
6484
  }
6497
6485
  /**
6498
6486
  */
6499
- async postApiRpcByChainIdRaw(requestParameters, initOverrides) {
6500
- const requestOptions = await this.postApiRpcByChainIdRequestOpts(requestParameters);
6487
+ async postApiSpongeCardCardRaw(requestParameters, initOverrides) {
6488
+ const requestOptions = await this.postApiSpongeCardCardRequestOpts(requestParameters);
6501
6489
  const response = await this.request(requestOptions, initOverrides);
6502
6490
  return new runtime.VoidApiResponse(response);
6503
6491
  }
6504
6492
  /**
6505
6493
  */
6506
- async postApiRpcByChainId(requestParameters, initOverrides) {
6507
- await this.postApiRpcByChainIdRaw(requestParameters, initOverrides);
6494
+ async postApiSpongeCardCard(requestParameters, initOverrides) {
6495
+ await this.postApiSpongeCardCardRaw(requestParameters, initOverrides);
6508
6496
  }
6509
6497
  /**
6510
- * Creates request options for postApiSignupBonusClaim without sending the request
6498
+ * Creates request options for postApiSpongeCardCardsByCardIdSecrets without sending the request
6511
6499
  */
6512
- async postApiSignupBonusClaimRequestOpts(requestParameters) {
6513
- if (requestParameters['postApiSignupBonusClaimRequest'] == null) {
6514
- throw new runtime.RequiredError('postApiSignupBonusClaimRequest', 'Required parameter "postApiSignupBonusClaimRequest" was null or undefined when calling postApiSignupBonusClaim().');
6500
+ async postApiSpongeCardCardsByCardIdSecretsRequestOpts(requestParameters) {
6501
+ if (requestParameters['cardId'] == null) {
6502
+ throw new runtime.RequiredError('cardId', 'Required parameter "cardId" was null or undefined when calling postApiSpongeCardCardsByCardIdSecrets().');
6503
+ }
6504
+ if (requestParameters['postApiSpongeCardCardsByCardIdSecretsRequest'] == null) {
6505
+ throw new runtime.RequiredError('postApiSpongeCardCardsByCardIdSecretsRequest', 'Required parameter "postApiSpongeCardCardsByCardIdSecretsRequest" was null or undefined when calling postApiSpongeCardCardsByCardIdSecrets().');
6515
6506
  }
6516
6507
  const queryParameters = {};
6517
6508
  const headerParameters = {};
6518
6509
  headerParameters['Content-Type'] = 'application/json';
6519
- let urlPath = `/api/signup-bonus/claim`;
6510
+ let urlPath = `/api/sponge-card/cards/{cardId}/secrets`;
6511
+ urlPath = urlPath.replace(`{${"cardId"}}`, encodeURIComponent(String(requestParameters['cardId'])));
6520
6512
  return {
6521
6513
  path: urlPath,
6522
6514
  method: 'POST',
6523
6515
  headers: headerParameters,
6524
6516
  query: queryParameters,
6525
- body: PostApiSignupBonusClaimRequestToJSON(requestParameters['postApiSignupBonusClaimRequest']),
6517
+ body: PostApiSpongeCardCardsByCardIdSecretsRequestToJSON(requestParameters['postApiSpongeCardCardsByCardIdSecretsRequest']),
6526
6518
  };
6527
6519
  }
6528
6520
  /**
6529
6521
  */
6530
- async postApiSignupBonusClaimRaw(requestParameters, initOverrides) {
6531
- const requestOptions = await this.postApiSignupBonusClaimRequestOpts(requestParameters);
6522
+ async postApiSpongeCardCardsByCardIdSecretsRaw(requestParameters, initOverrides) {
6523
+ const requestOptions = await this.postApiSpongeCardCardsByCardIdSecretsRequestOpts(requestParameters);
6532
6524
  const response = await this.request(requestOptions, initOverrides);
6533
6525
  return new runtime.VoidApiResponse(response);
6534
6526
  }
6535
6527
  /**
6536
6528
  */
6537
- async postApiSignupBonusClaim(requestParameters, initOverrides) {
6538
- await this.postApiSignupBonusClaimRaw(requestParameters, initOverrides);
6529
+ async postApiSpongeCardCardsByCardIdSecrets(requestParameters, initOverrides) {
6530
+ await this.postApiSpongeCardCardsByCardIdSecretsRaw(requestParameters, initOverrides);
6539
6531
  }
6540
6532
  /**
6541
- * Creates request options for postApiSiweGenerate without sending the request
6533
+ * Creates request options for postApiSpongeCardContractsByContractIdFund without sending the request
6542
6534
  */
6543
- async postApiSiweGenerateRequestOpts(requestParameters) {
6544
- if (requestParameters['postApiSiweGenerateRequest'] == null) {
6545
- throw new runtime.RequiredError('postApiSiweGenerateRequest', 'Required parameter "postApiSiweGenerateRequest" was null or undefined when calling postApiSiweGenerate().');
6535
+ async postApiSpongeCardContractsByContractIdFundRequestOpts(requestParameters) {
6536
+ if (requestParameters['contractId'] == null) {
6537
+ throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling postApiSpongeCardContractsByContractIdFund().');
6538
+ }
6539
+ if (requestParameters['postApiSpongeCardContractsByContractIdFundRequest'] == null) {
6540
+ throw new runtime.RequiredError('postApiSpongeCardContractsByContractIdFundRequest', 'Required parameter "postApiSpongeCardContractsByContractIdFundRequest" was null or undefined when calling postApiSpongeCardContractsByContractIdFund().');
6546
6541
  }
6547
6542
  const queryParameters = {};
6548
6543
  const headerParameters = {};
6549
6544
  headerParameters['Content-Type'] = 'application/json';
6550
- let urlPath = `/api/siwe/generate`;
6545
+ let urlPath = `/api/sponge-card/contracts/{contractId}/fund`;
6546
+ urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
6551
6547
  return {
6552
6548
  path: urlPath,
6553
6549
  method: 'POST',
6554
6550
  headers: headerParameters,
6555
6551
  query: queryParameters,
6556
- body: PostApiSiweGenerateRequestToJSON(requestParameters['postApiSiweGenerateRequest']),
6552
+ body: PostApiSpongeCardContractsByContractIdFundRequestToJSON(requestParameters['postApiSpongeCardContractsByContractIdFundRequest']),
6557
6553
  };
6558
6554
  }
6559
6555
  /**
6560
6556
  */
6561
- async postApiSiweGenerateRaw(requestParameters, initOverrides) {
6562
- const requestOptions = await this.postApiSiweGenerateRequestOpts(requestParameters);
6557
+ async postApiSpongeCardContractsByContractIdFundRaw(requestParameters, initOverrides) {
6558
+ const requestOptions = await this.postApiSpongeCardContractsByContractIdFundRequestOpts(requestParameters);
6563
6559
  const response = await this.request(requestOptions, initOverrides);
6564
6560
  return new runtime.VoidApiResponse(response);
6565
6561
  }
6566
6562
  /**
6567
6563
  */
6568
- async postApiSiweGenerate(requestParameters, initOverrides) {
6569
- await this.postApiSiweGenerateRaw(requestParameters, initOverrides);
6564
+ async postApiSpongeCardContractsByContractIdFund(requestParameters, initOverrides) {
6565
+ await this.postApiSpongeCardContractsByContractIdFundRaw(requestParameters, initOverrides);
6570
6566
  }
6571
6567
  /**
6572
- * Creates request options for postApiSolanaSign without sending the request
6568
+ * Creates request options for postApiSpongeCardContractsByContractIdWithdraw without sending the request
6573
6569
  */
6574
- async postApiSolanaSignRequestOpts(requestParameters) {
6575
- if (requestParameters['postApiSolanaSignRequest'] == null) {
6576
- throw new runtime.RequiredError('postApiSolanaSignRequest', 'Required parameter "postApiSolanaSignRequest" was null or undefined when calling postApiSolanaSign().');
6570
+ async postApiSpongeCardContractsByContractIdWithdrawRequestOpts(requestParameters) {
6571
+ if (requestParameters['contractId'] == null) {
6572
+ throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling postApiSpongeCardContractsByContractIdWithdraw().');
6573
+ }
6574
+ if (requestParameters['postApiSpongeCardContractsByContractIdWithdrawRequest'] == null) {
6575
+ throw new runtime.RequiredError('postApiSpongeCardContractsByContractIdWithdrawRequest', 'Required parameter "postApiSpongeCardContractsByContractIdWithdrawRequest" was null or undefined when calling postApiSpongeCardContractsByContractIdWithdraw().');
6577
6576
  }
6578
6577
  const queryParameters = {};
6579
6578
  const headerParameters = {};
6580
6579
  headerParameters['Content-Type'] = 'application/json';
6581
- let urlPath = `/api/solana/sign`;
6580
+ let urlPath = `/api/sponge-card/contracts/{contractId}/withdraw`;
6581
+ urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
6582
6582
  return {
6583
6583
  path: urlPath,
6584
6584
  method: 'POST',
6585
6585
  headers: headerParameters,
6586
6586
  query: queryParameters,
6587
- body: PostApiSolanaSignRequestToJSON(requestParameters['postApiSolanaSignRequest']),
6587
+ body: PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON(requestParameters['postApiSpongeCardContractsByContractIdWithdrawRequest']),
6588
6588
  };
6589
6589
  }
6590
6590
  /**
6591
6591
  */
6592
- async postApiSolanaSignRaw(requestParameters, initOverrides) {
6593
- const requestOptions = await this.postApiSolanaSignRequestOpts(requestParameters);
6592
+ async postApiSpongeCardContractsByContractIdWithdrawRaw(requestParameters, initOverrides) {
6593
+ const requestOptions = await this.postApiSpongeCardContractsByContractIdWithdrawRequestOpts(requestParameters);
6594
6594
  const response = await this.request(requestOptions, initOverrides);
6595
6595
  return new runtime.VoidApiResponse(response);
6596
6596
  }
6597
6597
  /**
6598
6598
  */
6599
- async postApiSolanaSign(requestParameters, initOverrides) {
6600
- await this.postApiSolanaSignRaw(requestParameters, initOverrides);
6599
+ async postApiSpongeCardContractsByContractIdWithdraw(requestParameters, initOverrides) {
6600
+ await this.postApiSpongeCardContractsByContractIdWithdrawRaw(requestParameters, initOverrides);
6601
6601
  }
6602
6602
  /**
6603
- * Creates request options for postApiSolanaSignAndSend without sending the request
6603
+ * Creates request options for postApiSpongeCardCustomer without sending the request
6604
6604
  */
6605
- async postApiSolanaSignAndSendRequestOpts(requestParameters) {
6606
- if (requestParameters['postApiSolanaSignRequest'] == null) {
6607
- throw new runtime.RequiredError('postApiSolanaSignRequest', 'Required parameter "postApiSolanaSignRequest" was null or undefined when calling postApiSolanaSignAndSend().');
6605
+ async postApiSpongeCardCustomerRequestOpts(requestParameters) {
6606
+ if (requestParameters['postApiSpongeCardCustomerRequest'] == null) {
6607
+ throw new runtime.RequiredError('postApiSpongeCardCustomerRequest', 'Required parameter "postApiSpongeCardCustomerRequest" was null or undefined when calling postApiSpongeCardCustomer().');
6608
6608
  }
6609
6609
  const queryParameters = {};
6610
6610
  const headerParameters = {};
6611
6611
  headerParameters['Content-Type'] = 'application/json';
6612
- let urlPath = `/api/solana/sign-and-send`;
6612
+ let urlPath = `/api/sponge-card/customer`;
6613
6613
  return {
6614
6614
  path: urlPath,
6615
6615
  method: 'POST',
6616
6616
  headers: headerParameters,
6617
6617
  query: queryParameters,
6618
- body: PostApiSolanaSignRequestToJSON(requestParameters['postApiSolanaSignRequest']),
6618
+ body: PostApiSpongeCardCustomerRequestToJSON(requestParameters['postApiSpongeCardCustomerRequest']),
6619
6619
  };
6620
6620
  }
6621
6621
  /**
6622
6622
  */
6623
- async postApiSolanaSignAndSendRaw(requestParameters, initOverrides) {
6624
- const requestOptions = await this.postApiSolanaSignAndSendRequestOpts(requestParameters);
6623
+ async postApiSpongeCardCustomerRaw(requestParameters, initOverrides) {
6624
+ const requestOptions = await this.postApiSpongeCardCustomerRequestOpts(requestParameters);
6625
6625
  const response = await this.request(requestOptions, initOverrides);
6626
6626
  return new runtime.VoidApiResponse(response);
6627
6627
  }
6628
6628
  /**
6629
6629
  */
6630
- async postApiSolanaSignAndSend(requestParameters, initOverrides) {
6631
- await this.postApiSolanaSignAndSendRaw(requestParameters, initOverrides);
6630
+ async postApiSpongeCardCustomer(requestParameters, initOverrides) {
6631
+ await this.postApiSpongeCardCustomerRaw(requestParameters, initOverrides);
6632
6632
  }
6633
6633
  /**
6634
- * Creates request options for postApiSpendingLimits without sending the request
6634
+ * Creates request options for postApiSpongeCardCustomerRefresh without sending the request
6635
6635
  */
6636
- async postApiSpendingLimitsRequestOpts(requestParameters) {
6637
- if (requestParameters['postApiSpendingLimitsRequest'] == null) {
6638
- throw new runtime.RequiredError('postApiSpendingLimitsRequest', 'Required parameter "postApiSpendingLimitsRequest" was null or undefined when calling postApiSpendingLimits().');
6636
+ async postApiSpongeCardCustomerRefreshRequestOpts(requestParameters) {
6637
+ if (requestParameters['postApiSpongeCardCustomerRefreshRequest'] == null) {
6638
+ throw new runtime.RequiredError('postApiSpongeCardCustomerRefreshRequest', 'Required parameter "postApiSpongeCardCustomerRefreshRequest" was null or undefined when calling postApiSpongeCardCustomerRefresh().');
6639
6639
  }
6640
6640
  const queryParameters = {};
6641
6641
  const headerParameters = {};
6642
6642
  headerParameters['Content-Type'] = 'application/json';
6643
- let urlPath = `/api/spending-limits/`;
6643
+ let urlPath = `/api/sponge-card/customer/refresh`;
6644
6644
  return {
6645
6645
  path: urlPath,
6646
6646
  method: 'POST',
6647
6647
  headers: headerParameters,
6648
6648
  query: queryParameters,
6649
- body: PostApiSpendingLimitsRequestToJSON(requestParameters['postApiSpendingLimitsRequest']),
6649
+ body: PostApiSpongeCardCustomerRefreshRequestToJSON(requestParameters['postApiSpongeCardCustomerRefreshRequest']),
6650
6650
  };
6651
6651
  }
6652
6652
  /**
6653
6653
  */
6654
- async postApiSpendingLimitsRaw(requestParameters, initOverrides) {
6655
- const requestOptions = await this.postApiSpendingLimitsRequestOpts(requestParameters);
6654
+ async postApiSpongeCardCustomerRefreshRaw(requestParameters, initOverrides) {
6655
+ const requestOptions = await this.postApiSpongeCardCustomerRefreshRequestOpts(requestParameters);
6656
6656
  const response = await this.request(requestOptions, initOverrides);
6657
6657
  return new runtime.VoidApiResponse(response);
6658
6658
  }
6659
6659
  /**
6660
6660
  */
6661
- async postApiSpendingLimits(requestParameters, initOverrides) {
6662
- await this.postApiSpendingLimitsRaw(requestParameters, initOverrides);
6661
+ async postApiSpongeCardCustomerRefresh(requestParameters, initOverrides) {
6662
+ await this.postApiSpongeCardCustomerRefreshRaw(requestParameters, initOverrides);
6663
6663
  }
6664
6664
  /**
6665
6665
  * Creates request options for postApiStripeOnrampSession without sending the request
@@ -7897,42 +7897,42 @@ export class DefaultApi extends runtime.BaseAPI {
7897
7897
  /**
7898
7898
  * @export
7899
7899
  */
7900
- export const DeleteApiRainCustomerEnvironmentEnum = {
7900
+ export const DeleteApiSpongeCardCustomerEnvironmentEnum = {
7901
7901
  Dev: 'dev',
7902
7902
  Production: 'production'
7903
7903
  };
7904
7904
  /**
7905
7905
  * @export
7906
7906
  */
7907
- export const GetApiRainBalancesEnvironmentEnum = {
7907
+ export const GetApiSpongeCardBalancesEnvironmentEnum = {
7908
7908
  Dev: 'dev',
7909
7909
  Production: 'production'
7910
7910
  };
7911
7911
  /**
7912
7912
  * @export
7913
7913
  */
7914
- export const GetApiRainCardsEnvironmentEnum = {
7914
+ export const GetApiSpongeCardCardsEnvironmentEnum = {
7915
7915
  Dev: 'dev',
7916
7916
  Production: 'production'
7917
7917
  };
7918
7918
  /**
7919
7919
  * @export
7920
7920
  */
7921
- export const GetApiRainContractsEnvironmentEnum = {
7921
+ export const GetApiSpongeCardContractsEnvironmentEnum = {
7922
7922
  Dev: 'dev',
7923
7923
  Production: 'production'
7924
7924
  };
7925
7925
  /**
7926
7926
  * @export
7927
7927
  */
7928
- export const GetApiRainContractsByContractIdBalanceEnvironmentEnum = {
7928
+ export const GetApiSpongeCardContractsByContractIdBalanceEnvironmentEnum = {
7929
7929
  Dev: 'dev',
7930
7930
  Production: 'production'
7931
7931
  };
7932
7932
  /**
7933
7933
  * @export
7934
7934
  */
7935
- export const GetApiRainCustomerEnvironmentEnum = {
7935
+ export const GetApiSpongeCardCustomerEnvironmentEnum = {
7936
7936
  Dev: 'dev',
7937
7937
  Production: 'production'
7938
7938
  };