@paysponge/sdk 0.1.41 → 0.1.43

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