@paysponge/sdk 0.1.65 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/openapi/apis/default-api.d.ts +183 -100
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +183 -107
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +3 -3
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +3 -3
- package/dist/api/generated/openapi/models/index.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request-billing.d.ts +75 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request-billing.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request-billing.js +56 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request-billing.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request.d.ts +82 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request.js +61 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-link-payment-methods-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-link-cli-auth-login-request.d.ts +33 -0
- package/dist/api/generated/openapi/models/post-api-link-cli-auth-login-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-link-cli-auth-login-request.js +42 -0
- package/dist/api/generated/openapi/models/post-api-link-cli-auth-login-request.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request-keys.d.ts +0 -39
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request-keys.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request-keys.js +0 -48
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request-keys.js.map +0 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request.d.ts +0 -46
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request.js +0 -51
- package/dist/api/generated/openapi/models/post-api-extension-push-subscribe-request.js.map +0 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-unsubscribe-request.d.ts +0 -33
- package/dist/api/generated/openapi/models/post-api-extension-push-unsubscribe-request.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/post-api-extension-push-unsubscribe-request.js +0 -42
- package/dist/api/generated/openapi/models/post-api-extension-push-unsubscribe-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, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerPersonaRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardUsageRequestToJSON, PostApiCardsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutAmazonSearchRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCheckoutStreamRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON,
|
|
15
|
+
import { PostApiAgentKeysRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdRegenerateKeyRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAllowlistRequestToJSON, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerPersonaRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardUsageRequestToJSON, PostApiCardsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutAmazonSearchRequestToJSON, PostApiCheckoutRequestToJSON, PostApiCheckoutStreamRequestToJSON, PostApiCoinbaseOnrampCallbackRequestToJSON, PostApiCoinbaseOnrampUrlRequestToJSON, PostApiCreditCardsRequestToJSON, PostApiEmailCheckAvailabilityRequestToJSON, PostApiFaucetRequestRequestToJSON, PostApiFlowsRequestToJSON, PostApiHyperliquidRequestToJSON, PostApiInvitesRedeemRequestToJSON, PostApiInvitesRegisterDirectRequestToJSON, PostApiInvitesValidateRequestToJSON, PostApiLinkCliAuthLoginRequestToJSON, PostApiMasterKeysRequestToJSON, PostApiMppFetchRequestToJSON, PostApiMppSessionCloseRequestToJSON, PostApiMppSessionRequestRequestToJSON, PostApiMppSessionStartRequestToJSON, PostApiOauthDeviceApproveRequestToJSON, PostApiOauthDeviceAuthorizationRequestToJSON, PostApiOauthDeviceDenyRequestToJSON, PostApiOauthDeviceTokenRequestToJSON, PostApiOnrampCryptoRequestToJSON, PostApiPaidFetchRequestToJSON, PostApiPaymentLinksRequestToJSON, PostApiPersonaKycInquiryRequestToJSON, PostApiPlansApproveRequestToJSON, PostApiPlansSubmitRequestToJSON, PostApiPolymarketRequestToJSON, PostApiRpcByChainIdRequestToJSON, PostApiSignupBonusClaimRequestToJSON, PostApiSiweGenerateRequestToJSON, PostApiSolanaSignRequestToJSON, PostApiSpendingLimitsRequestToJSON, PostApiSpongeCardCardRequestToJSON, PostApiSpongeCardCardsByCardIdSecretsRequestToJSON, PostApiSpongeCardContractsByContractIdFundRequestToJSON, PostApiSpongeCardContractsByContractIdWithdrawRequestToJSON, PostApiSpongeCardCreateCardRequestToJSON, PostApiSpongeCardCustomerRefreshRequestToJSON, PostApiSpongeCardCustomerRequestToJSON, PostApiSpongeCardFundRequestToJSON, PostApiSpongeCardOnboardRequestToJSON, PostApiSpongeCardTermsRequestToJSON, PostApiSpongeCardWithdrawRequestToJSON, PostApiStripeOnrampSessionRequestToJSON, PostApiTasksRequestToJSON, PostApiTradesProposeRequestToJSON, PostApiTransactionsBridgeRequestToJSON, PostApiTransactionsPrepareRequestToJSON, PostApiTransactionsSwapExecuteRequestToJSON, PostApiTransactionsSwapRequestToJSON, PostApiTransactionsTransferRequestToJSON, PostApiTransfersEvmRequestToJSON, PostApiTransfersSolanaRequestToJSON, PostApiTransfersTempoRequestToJSON, PostApiUsersSyncRequestToJSON, PostApiVirtualCardsRequestToJSON, PostApiWalletsByIdExportKeyRequestToJSON, PostApiWalletsByIdWithdrawRequestToJSON, PostApiWalletsMigrateQuorumRequestToJSON, PostApiWalletsPricesRequestToJSON, PostApiWalletsRequestToJSON, PostApiX402FetchRequestToJSON, PostApiX402PaymentsRequestToJSON, PostOauthAuthorizeCallbackRequestToJSON, PostOauthRegisterRequestToJSON, PostOauthRevokeRequestToJSON, PostOauthTokenRequestToJSON, PutApiAgentRequestsByIdApproveRequestToJSON, PutApiAgentRequestsByIdRespondRequestToJSON, PutApiAgentRequestsPlansByPlanIdRejectRequestToJSON, PutApiAgentsByIdRequestToJSON, PutApiFlowsByIdRequestToJSON, PutApiSpendingLimitsByIdRequestToJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -566,6 +566,40 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
566
566
|
async deleteApiAgentsByIdEnrollmentsByEnrollmentId(requestParameters, initOverrides) {
|
|
567
567
|
await this.deleteApiAgentsByIdEnrollmentsByEnrollmentIdRaw(requestParameters, initOverrides);
|
|
568
568
|
}
|
|
569
|
+
/**
|
|
570
|
+
* Creates request options for deleteApiAgentsByIdLinkPaymentMethodsByMethodId without sending the request
|
|
571
|
+
*/
|
|
572
|
+
async deleteApiAgentsByIdLinkPaymentMethodsByMethodIdRequestOpts(requestParameters) {
|
|
573
|
+
if (requestParameters['id'] == null) {
|
|
574
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApiAgentsByIdLinkPaymentMethodsByMethodId().');
|
|
575
|
+
}
|
|
576
|
+
if (requestParameters['methodId'] == null) {
|
|
577
|
+
throw new runtime.RequiredError('methodId', 'Required parameter "methodId" was null or undefined when calling deleteApiAgentsByIdLinkPaymentMethodsByMethodId().');
|
|
578
|
+
}
|
|
579
|
+
const queryParameters = {};
|
|
580
|
+
const headerParameters = {};
|
|
581
|
+
let urlPath = `/api/agents/{id}/link-payment-methods/{methodId}`;
|
|
582
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
583
|
+
urlPath = urlPath.replace(`{${"methodId"}}`, encodeURIComponent(String(requestParameters['methodId'])));
|
|
584
|
+
return {
|
|
585
|
+
path: urlPath,
|
|
586
|
+
method: 'DELETE',
|
|
587
|
+
headers: headerParameters,
|
|
588
|
+
query: queryParameters,
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
*/
|
|
593
|
+
async deleteApiAgentsByIdLinkPaymentMethodsByMethodIdRaw(requestParameters, initOverrides) {
|
|
594
|
+
const requestOptions = await this.deleteApiAgentsByIdLinkPaymentMethodsByMethodIdRequestOpts(requestParameters);
|
|
595
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
596
|
+
return new runtime.VoidApiResponse(response);
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
*/
|
|
600
|
+
async deleteApiAgentsByIdLinkPaymentMethodsByMethodId(requestParameters, initOverrides) {
|
|
601
|
+
await this.deleteApiAgentsByIdLinkPaymentMethodsByMethodIdRaw(requestParameters, initOverrides);
|
|
602
|
+
}
|
|
569
603
|
/**
|
|
570
604
|
* Creates request options for deleteApiAgentsByIdPaymentMethodsByPaymentMethodId without sending the request
|
|
571
605
|
*/
|
|
@@ -1575,6 +1609,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1575
1609
|
async getApiAgentsByIdInstructionsPending(requestParameters, initOverrides) {
|
|
1576
1610
|
await this.getApiAgentsByIdInstructionsPendingRaw(requestParameters, initOverrides);
|
|
1577
1611
|
}
|
|
1612
|
+
/**
|
|
1613
|
+
* Creates request options for getApiAgentsByIdLinkPaymentMethods without sending the request
|
|
1614
|
+
*/
|
|
1615
|
+
async getApiAgentsByIdLinkPaymentMethodsRequestOpts(requestParameters) {
|
|
1616
|
+
if (requestParameters['id'] == null) {
|
|
1617
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdLinkPaymentMethods().');
|
|
1618
|
+
}
|
|
1619
|
+
const queryParameters = {};
|
|
1620
|
+
const headerParameters = {};
|
|
1621
|
+
let urlPath = `/api/agents/{id}/link-payment-methods`;
|
|
1622
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
1623
|
+
return {
|
|
1624
|
+
path: urlPath,
|
|
1625
|
+
method: 'GET',
|
|
1626
|
+
headers: headerParameters,
|
|
1627
|
+
query: queryParameters,
|
|
1628
|
+
};
|
|
1629
|
+
}
|
|
1630
|
+
/**
|
|
1631
|
+
*/
|
|
1632
|
+
async getApiAgentsByIdLinkPaymentMethodsRaw(requestParameters, initOverrides) {
|
|
1633
|
+
const requestOptions = await this.getApiAgentsByIdLinkPaymentMethodsRequestOpts(requestParameters);
|
|
1634
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1635
|
+
return new runtime.VoidApiResponse(response);
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
*/
|
|
1639
|
+
async getApiAgentsByIdLinkPaymentMethods(requestParameters, initOverrides) {
|
|
1640
|
+
await this.getApiAgentsByIdLinkPaymentMethodsRaw(requestParameters, initOverrides);
|
|
1641
|
+
}
|
|
1578
1642
|
/**
|
|
1579
1643
|
* Creates request options for getApiAgentsByIdPaymentMethods without sending the request
|
|
1580
1644
|
*/
|
|
@@ -2692,38 +2756,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2692
2756
|
async getApiEmailSignupBonusStatus(initOverrides) {
|
|
2693
2757
|
await this.getApiEmailSignupBonusStatusRaw(initOverrides);
|
|
2694
2758
|
}
|
|
2695
|
-
/**
|
|
2696
|
-
* Creates request options for getApiExtensionPushPublicKey without sending the request
|
|
2697
|
-
*/
|
|
2698
|
-
async getApiExtensionPushPublicKeyRequestOpts(requestParameters) {
|
|
2699
|
-
if (requestParameters['token'] == null) {
|
|
2700
|
-
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling getApiExtensionPushPublicKey().');
|
|
2701
|
-
}
|
|
2702
|
-
const queryParameters = {};
|
|
2703
|
-
if (requestParameters['token'] != null) {
|
|
2704
|
-
queryParameters['token'] = requestParameters['token'];
|
|
2705
|
-
}
|
|
2706
|
-
const headerParameters = {};
|
|
2707
|
-
let urlPath = `/api/extension/push/public-key`;
|
|
2708
|
-
return {
|
|
2709
|
-
path: urlPath,
|
|
2710
|
-
method: 'GET',
|
|
2711
|
-
headers: headerParameters,
|
|
2712
|
-
query: queryParameters,
|
|
2713
|
-
};
|
|
2714
|
-
}
|
|
2715
|
-
/**
|
|
2716
|
-
*/
|
|
2717
|
-
async getApiExtensionPushPublicKeyRaw(requestParameters, initOverrides) {
|
|
2718
|
-
const requestOptions = await this.getApiExtensionPushPublicKeyRequestOpts(requestParameters);
|
|
2719
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
2720
|
-
return new runtime.VoidApiResponse(response);
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
*/
|
|
2724
|
-
async getApiExtensionPushPublicKey(requestParameters, initOverrides) {
|
|
2725
|
-
await this.getApiExtensionPushPublicKeyRaw(requestParameters, initOverrides);
|
|
2726
|
-
}
|
|
2727
2759
|
/**
|
|
2728
2760
|
* Creates request options for getApiFaucetByChainId without sending the request
|
|
2729
2761
|
*/
|
|
@@ -2865,6 +2897,58 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2865
2897
|
async getApiInvitesStatus(initOverrides) {
|
|
2866
2898
|
await this.getApiInvitesStatusRaw(initOverrides);
|
|
2867
2899
|
}
|
|
2900
|
+
/**
|
|
2901
|
+
* Creates request options for getApiLinkCliAuthStatus without sending the request
|
|
2902
|
+
*/
|
|
2903
|
+
async getApiLinkCliAuthStatusRequestOpts() {
|
|
2904
|
+
const queryParameters = {};
|
|
2905
|
+
const headerParameters = {};
|
|
2906
|
+
let urlPath = `/api/link-cli/auth/status`;
|
|
2907
|
+
return {
|
|
2908
|
+
path: urlPath,
|
|
2909
|
+
method: 'GET',
|
|
2910
|
+
headers: headerParameters,
|
|
2911
|
+
query: queryParameters,
|
|
2912
|
+
};
|
|
2913
|
+
}
|
|
2914
|
+
/**
|
|
2915
|
+
*/
|
|
2916
|
+
async getApiLinkCliAuthStatusRaw(initOverrides) {
|
|
2917
|
+
const requestOptions = await this.getApiLinkCliAuthStatusRequestOpts();
|
|
2918
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2919
|
+
return new runtime.VoidApiResponse(response);
|
|
2920
|
+
}
|
|
2921
|
+
/**
|
|
2922
|
+
*/
|
|
2923
|
+
async getApiLinkCliAuthStatus(initOverrides) {
|
|
2924
|
+
await this.getApiLinkCliAuthStatusRaw(initOverrides);
|
|
2925
|
+
}
|
|
2926
|
+
/**
|
|
2927
|
+
* Creates request options for getApiLinkCliPaymentMethods without sending the request
|
|
2928
|
+
*/
|
|
2929
|
+
async getApiLinkCliPaymentMethodsRequestOpts() {
|
|
2930
|
+
const queryParameters = {};
|
|
2931
|
+
const headerParameters = {};
|
|
2932
|
+
let urlPath = `/api/link-cli/payment-methods`;
|
|
2933
|
+
return {
|
|
2934
|
+
path: urlPath,
|
|
2935
|
+
method: 'GET',
|
|
2936
|
+
headers: headerParameters,
|
|
2937
|
+
query: queryParameters,
|
|
2938
|
+
};
|
|
2939
|
+
}
|
|
2940
|
+
/**
|
|
2941
|
+
*/
|
|
2942
|
+
async getApiLinkCliPaymentMethodsRaw(initOverrides) {
|
|
2943
|
+
const requestOptions = await this.getApiLinkCliPaymentMethodsRequestOpts();
|
|
2944
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
2945
|
+
return new runtime.VoidApiResponse(response);
|
|
2946
|
+
}
|
|
2947
|
+
/**
|
|
2948
|
+
*/
|
|
2949
|
+
async getApiLinkCliPaymentMethods(initOverrides) {
|
|
2950
|
+
await this.getApiLinkCliPaymentMethodsRaw(initOverrides);
|
|
2951
|
+
}
|
|
2868
2952
|
/**
|
|
2869
2953
|
* Creates request options for getApiMasterKeys without sending the request
|
|
2870
2954
|
*/
|
|
@@ -4911,6 +4995,41 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4911
4995
|
async postApiAgentsByIdInstructionsByInstructionIdVerifyPasskey(requestParameters, initOverrides) {
|
|
4912
4996
|
await this.postApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRaw(requestParameters, initOverrides);
|
|
4913
4997
|
}
|
|
4998
|
+
/**
|
|
4999
|
+
* Creates request options for postApiAgentsByIdLinkPaymentMethods without sending the request
|
|
5000
|
+
*/
|
|
5001
|
+
async postApiAgentsByIdLinkPaymentMethodsRequestOpts(requestParameters) {
|
|
5002
|
+
if (requestParameters['id'] == null) {
|
|
5003
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdLinkPaymentMethods().');
|
|
5004
|
+
}
|
|
5005
|
+
if (requestParameters['postApiAgentsByIdLinkPaymentMethodsRequest'] == null) {
|
|
5006
|
+
throw new runtime.RequiredError('postApiAgentsByIdLinkPaymentMethodsRequest', 'Required parameter "postApiAgentsByIdLinkPaymentMethodsRequest" was null or undefined when calling postApiAgentsByIdLinkPaymentMethods().');
|
|
5007
|
+
}
|
|
5008
|
+
const queryParameters = {};
|
|
5009
|
+
const headerParameters = {};
|
|
5010
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5011
|
+
let urlPath = `/api/agents/{id}/link-payment-methods`;
|
|
5012
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
5013
|
+
return {
|
|
5014
|
+
path: urlPath,
|
|
5015
|
+
method: 'POST',
|
|
5016
|
+
headers: headerParameters,
|
|
5017
|
+
query: queryParameters,
|
|
5018
|
+
body: PostApiAgentsByIdLinkPaymentMethodsRequestToJSON(requestParameters['postApiAgentsByIdLinkPaymentMethodsRequest']),
|
|
5019
|
+
};
|
|
5020
|
+
}
|
|
5021
|
+
/**
|
|
5022
|
+
*/
|
|
5023
|
+
async postApiAgentsByIdLinkPaymentMethodsRaw(requestParameters, initOverrides) {
|
|
5024
|
+
const requestOptions = await this.postApiAgentsByIdLinkPaymentMethodsRequestOpts(requestParameters);
|
|
5025
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5026
|
+
return new runtime.VoidApiResponse(response);
|
|
5027
|
+
}
|
|
5028
|
+
/**
|
|
5029
|
+
*/
|
|
5030
|
+
async postApiAgentsByIdLinkPaymentMethods(requestParameters, initOverrides) {
|
|
5031
|
+
await this.postApiAgentsByIdLinkPaymentMethodsRaw(requestParameters, initOverrides);
|
|
5032
|
+
}
|
|
4914
5033
|
/**
|
|
4915
5034
|
* Creates request options for postApiAgentsByIdPaymentMethods without sending the request
|
|
4916
5035
|
*/
|
|
@@ -6257,80 +6376,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6257
6376
|
async postApiEmailSyncFromPrivy(initOverrides) {
|
|
6258
6377
|
await this.postApiEmailSyncFromPrivyRaw(initOverrides);
|
|
6259
6378
|
}
|
|
6260
|
-
/**
|
|
6261
|
-
* Creates request options for postApiExtensionPushSubscribe without sending the request
|
|
6262
|
-
*/
|
|
6263
|
-
async postApiExtensionPushSubscribeRequestOpts(requestParameters) {
|
|
6264
|
-
if (requestParameters['token'] == null) {
|
|
6265
|
-
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling postApiExtensionPushSubscribe().');
|
|
6266
|
-
}
|
|
6267
|
-
if (requestParameters['postApiExtensionPushSubscribeRequest'] == null) {
|
|
6268
|
-
throw new runtime.RequiredError('postApiExtensionPushSubscribeRequest', 'Required parameter "postApiExtensionPushSubscribeRequest" was null or undefined when calling postApiExtensionPushSubscribe().');
|
|
6269
|
-
}
|
|
6270
|
-
const queryParameters = {};
|
|
6271
|
-
if (requestParameters['token'] != null) {
|
|
6272
|
-
queryParameters['token'] = requestParameters['token'];
|
|
6273
|
-
}
|
|
6274
|
-
const headerParameters = {};
|
|
6275
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
6276
|
-
let urlPath = `/api/extension/push/subscribe`;
|
|
6277
|
-
return {
|
|
6278
|
-
path: urlPath,
|
|
6279
|
-
method: 'POST',
|
|
6280
|
-
headers: headerParameters,
|
|
6281
|
-
query: queryParameters,
|
|
6282
|
-
body: PostApiExtensionPushSubscribeRequestToJSON(requestParameters['postApiExtensionPushSubscribeRequest']),
|
|
6283
|
-
};
|
|
6284
|
-
}
|
|
6285
|
-
/**
|
|
6286
|
-
*/
|
|
6287
|
-
async postApiExtensionPushSubscribeRaw(requestParameters, initOverrides) {
|
|
6288
|
-
const requestOptions = await this.postApiExtensionPushSubscribeRequestOpts(requestParameters);
|
|
6289
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
6290
|
-
return new runtime.VoidApiResponse(response);
|
|
6291
|
-
}
|
|
6292
|
-
/**
|
|
6293
|
-
*/
|
|
6294
|
-
async postApiExtensionPushSubscribe(requestParameters, initOverrides) {
|
|
6295
|
-
await this.postApiExtensionPushSubscribeRaw(requestParameters, initOverrides);
|
|
6296
|
-
}
|
|
6297
|
-
/**
|
|
6298
|
-
* Creates request options for postApiExtensionPushUnsubscribe without sending the request
|
|
6299
|
-
*/
|
|
6300
|
-
async postApiExtensionPushUnsubscribeRequestOpts(requestParameters) {
|
|
6301
|
-
if (requestParameters['token'] == null) {
|
|
6302
|
-
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling postApiExtensionPushUnsubscribe().');
|
|
6303
|
-
}
|
|
6304
|
-
if (requestParameters['postApiExtensionPushUnsubscribeRequest'] == null) {
|
|
6305
|
-
throw new runtime.RequiredError('postApiExtensionPushUnsubscribeRequest', 'Required parameter "postApiExtensionPushUnsubscribeRequest" was null or undefined when calling postApiExtensionPushUnsubscribe().');
|
|
6306
|
-
}
|
|
6307
|
-
const queryParameters = {};
|
|
6308
|
-
if (requestParameters['token'] != null) {
|
|
6309
|
-
queryParameters['token'] = requestParameters['token'];
|
|
6310
|
-
}
|
|
6311
|
-
const headerParameters = {};
|
|
6312
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
6313
|
-
let urlPath = `/api/extension/push/unsubscribe`;
|
|
6314
|
-
return {
|
|
6315
|
-
path: urlPath,
|
|
6316
|
-
method: 'POST',
|
|
6317
|
-
headers: headerParameters,
|
|
6318
|
-
query: queryParameters,
|
|
6319
|
-
body: PostApiExtensionPushUnsubscribeRequestToJSON(requestParameters['postApiExtensionPushUnsubscribeRequest']),
|
|
6320
|
-
};
|
|
6321
|
-
}
|
|
6322
|
-
/**
|
|
6323
|
-
*/
|
|
6324
|
-
async postApiExtensionPushUnsubscribeRaw(requestParameters, initOverrides) {
|
|
6325
|
-
const requestOptions = await this.postApiExtensionPushUnsubscribeRequestOpts(requestParameters);
|
|
6326
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
6327
|
-
return new runtime.VoidApiResponse(response);
|
|
6328
|
-
}
|
|
6329
|
-
/**
|
|
6330
|
-
*/
|
|
6331
|
-
async postApiExtensionPushUnsubscribe(requestParameters, initOverrides) {
|
|
6332
|
-
await this.postApiExtensionPushUnsubscribeRaw(requestParameters, initOverrides);
|
|
6333
|
-
}
|
|
6334
6379
|
/**
|
|
6335
6380
|
* Creates request options for postApiFaucetRequest without sending the request
|
|
6336
6381
|
*/
|
|
@@ -6520,6 +6565,37 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6520
6565
|
async postApiInvitesValidate(requestParameters, initOverrides) {
|
|
6521
6566
|
await this.postApiInvitesValidateRaw(requestParameters, initOverrides);
|
|
6522
6567
|
}
|
|
6568
|
+
/**
|
|
6569
|
+
* Creates request options for postApiLinkCliAuthLogin without sending the request
|
|
6570
|
+
*/
|
|
6571
|
+
async postApiLinkCliAuthLoginRequestOpts(requestParameters) {
|
|
6572
|
+
if (requestParameters['postApiLinkCliAuthLoginRequest'] == null) {
|
|
6573
|
+
throw new runtime.RequiredError('postApiLinkCliAuthLoginRequest', 'Required parameter "postApiLinkCliAuthLoginRequest" was null or undefined when calling postApiLinkCliAuthLogin().');
|
|
6574
|
+
}
|
|
6575
|
+
const queryParameters = {};
|
|
6576
|
+
const headerParameters = {};
|
|
6577
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6578
|
+
let urlPath = `/api/link-cli/auth/login`;
|
|
6579
|
+
return {
|
|
6580
|
+
path: urlPath,
|
|
6581
|
+
method: 'POST',
|
|
6582
|
+
headers: headerParameters,
|
|
6583
|
+
query: queryParameters,
|
|
6584
|
+
body: PostApiLinkCliAuthLoginRequestToJSON(requestParameters['postApiLinkCliAuthLoginRequest']),
|
|
6585
|
+
};
|
|
6586
|
+
}
|
|
6587
|
+
/**
|
|
6588
|
+
*/
|
|
6589
|
+
async postApiLinkCliAuthLoginRaw(requestParameters, initOverrides) {
|
|
6590
|
+
const requestOptions = await this.postApiLinkCliAuthLoginRequestOpts(requestParameters);
|
|
6591
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6592
|
+
return new runtime.VoidApiResponse(response);
|
|
6593
|
+
}
|
|
6594
|
+
/**
|
|
6595
|
+
*/
|
|
6596
|
+
async postApiLinkCliAuthLogin(requestParameters, initOverrides) {
|
|
6597
|
+
await this.postApiLinkCliAuthLoginRaw(requestParameters, initOverrides);
|
|
6598
|
+
}
|
|
6523
6599
|
/**
|
|
6524
6600
|
* Creates request options for postApiMasterKeys without sending the request
|
|
6525
6601
|
*/
|