@paysponge/sdk 0.1.127 → 0.1.129
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 +110 -11
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +103 -4
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +2 -1
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +2 -1
- package/dist/api/generated/openapi/models/index.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-order-request.d.ts +100 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-order-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-order-request.js +86 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-hyperliquid-order-request.js.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-trading-terminal-request.d.ts +33 -0
- package/dist/api/generated/openapi/models/post-api-agents-trading-terminal-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/post-api-agents-trading-terminal-request.js +42 -0
- package/dist/api/generated/openapi/models/post-api-agents-trading-terminal-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-agents-by-id-regenerate-key-request.d.ts +0 -33
- package/dist/api/generated/openapi/models/post-api-agents-by-id-regenerate-key-request.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/post-api-agents-by-id-regenerate-key-request.js +0 -42
- package/dist/api/generated/openapi/models/post-api-agents-by-id-regenerate-key-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 { GetApiAgentsByIdHyperliquidAddress200ResponseFromJSON, PostApiAgentKeysRequestToJSON, PostApiAgentRequestsPlansRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidDepositRequestToJSON, PostApiAgentsByIdHyperliquidLinkRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsCredentialRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsLinkRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdPolymarketWithdrawRequestToJSON,
|
|
15
|
+
import { GetApiAgentsByIdHyperliquidAddress200ResponseFromJSON, PostApiAgentKeysRequestToJSON, PostApiAgentRequestsPlansRequestToJSON, PostApiAgentsByIdAmazonAccountsCopyRequestToJSON, PostApiAgentsByIdAmazonAccountsRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyMethodRequestToJSON, PostApiAgentsByIdEnrollmentsByEnrollmentIdVerifyOtpRequestToJSON, PostApiAgentsByIdEnrollmentsRequestToJSON, PostApiAgentsByIdHyperliquidCancelOrderRequestToJSON, PostApiAgentsByIdHyperliquidClosePositionRequestToJSON, PostApiAgentsByIdHyperliquidDepositRequestToJSON, PostApiAgentsByIdHyperliquidLinkRequestToJSON, PostApiAgentsByIdHyperliquidOrderRequestToJSON, PostApiAgentsByIdHyperliquidTransferRequestToJSON, PostApiAgentsByIdHyperliquidWithdrawRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdCredentialsRequestToJSON, PostApiAgentsByIdInstructionsByInstructionIdVerifyPasskeyRequestToJSON, PostApiAgentsByIdInstructionsRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsCredentialRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsLinkRequestToJSON, PostApiAgentsByIdLinkPaymentMethodsRequestToJSON, PostApiAgentsByIdPaymentMethodsRequestToJSON, PostApiAgentsByIdPolymarketFundRequestToJSON, PostApiAgentsByIdPolymarketRedeemRequestToJSON, PostApiAgentsByIdPolymarketWithdrawRequestToJSON, PostApiAgentsByIdShippingAddressesRequestToJSON, PostApiAgentsByIdStripePaymentMethodsRequestToJSON, PostApiAgentsByIdStripePaymentMethodsSetupIntentRequestToJSON, PostApiAgentsByIdVirtualCardRequestToJSON, PostApiAgentsRegisterRequestToJSON, PostApiAgentsRequestToJSON, PostApiAgentsTradingTerminalRequestToJSON, PostApiAllowlistRequestToJSON, PostApiAmazonCheckoutAmazonSearchRequestToJSON, PostApiAmazonCheckoutRequestToJSON, PostApiAmazonCheckoutStreamRequestToJSON, PostApiBankExternalAccountsRequestToJSON, PostApiBankOnboardRequestToJSON, PostApiBankSendRequestToJSON, PostApiBankVirtualAccountRequestToJSON, PostApiBridgeFiatCustomerKycLinkRequestToJSON, PostApiBridgeFiatCustomerPersonaRequestToJSON, PostApiBridgeFiatCustomerSandboxRequestToJSON, PostApiBridgeFiatExternalAccountsRequestToJSON, PostApiBridgeFiatLiquidationAddressesRequestToJSON, PostApiBridgeFiatTransferTemplatesRequestToJSON, PostApiBridgeFiatTransfersRequestToJSON, PostApiCardAccessRequestsRequestToJSON, PostApiCardUsageRequestToJSON, PostApiCardsRequestToJSON, PostApiChatMessagesRequestToJSON, PostApiChatRateLimitReportRequestToJSON, PostApiCheckoutRequestToJSON, 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, PostApiTradingAdminKillSwitchRequestToJSON, PostApiTradingAdminStrategiesByIdReplayRequestToJSON, PostApiTradingAdminTestRunRequestToJSON, PostApiTradingManualStrategiesCloseRequestToJSON, PostApiTradingStrategiesByIdTestRunRequestToJSON, 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
|
*/
|
|
@@ -4591,6 +4591,39 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4591
4591
|
async getApiTradingAdminStrategies(requestParameters = {}, initOverrides) {
|
|
4592
4592
|
await this.getApiTradingAdminStrategiesRaw(requestParameters, initOverrides);
|
|
4593
4593
|
}
|
|
4594
|
+
/**
|
|
4595
|
+
* Creates request options for getApiTradingAdminStrategiesByIdEdgarFilings without sending the request
|
|
4596
|
+
*/
|
|
4597
|
+
async getApiTradingAdminStrategiesByIdEdgarFilingsRequestOpts(requestParameters) {
|
|
4598
|
+
if (requestParameters['id'] == null) {
|
|
4599
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiTradingAdminStrategiesByIdEdgarFilings().');
|
|
4600
|
+
}
|
|
4601
|
+
const queryParameters = {};
|
|
4602
|
+
if (requestParameters['limit'] != null) {
|
|
4603
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
4604
|
+
}
|
|
4605
|
+
const headerParameters = {};
|
|
4606
|
+
let urlPath = `/api/trading/admin/strategies/{id}/edgar-filings`;
|
|
4607
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
4608
|
+
return {
|
|
4609
|
+
path: urlPath,
|
|
4610
|
+
method: 'GET',
|
|
4611
|
+
headers: headerParameters,
|
|
4612
|
+
query: queryParameters,
|
|
4613
|
+
};
|
|
4614
|
+
}
|
|
4615
|
+
/**
|
|
4616
|
+
*/
|
|
4617
|
+
async getApiTradingAdminStrategiesByIdEdgarFilingsRaw(requestParameters, initOverrides) {
|
|
4618
|
+
const requestOptions = await this.getApiTradingAdminStrategiesByIdEdgarFilingsRequestOpts(requestParameters);
|
|
4619
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
4620
|
+
return new runtime.VoidApiResponse(response);
|
|
4621
|
+
}
|
|
4622
|
+
/**
|
|
4623
|
+
*/
|
|
4624
|
+
async getApiTradingAdminStrategiesByIdEdgarFilings(requestParameters, initOverrides) {
|
|
4625
|
+
await this.getApiTradingAdminStrategiesByIdEdgarFilingsRaw(requestParameters, initOverrides);
|
|
4626
|
+
}
|
|
4594
4627
|
/**
|
|
4595
4628
|
* Creates request options for getApiTradingAdminStrategiesByIdSourceEvents without sending the request
|
|
4596
4629
|
*/
|
|
@@ -6048,6 +6081,41 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6048
6081
|
async postApiAgentsByIdHyperliquidLinkApiWalletConfirm(requestParameters, initOverrides) {
|
|
6049
6082
|
await this.postApiAgentsByIdHyperliquidLinkApiWalletConfirmRaw(requestParameters, initOverrides);
|
|
6050
6083
|
}
|
|
6084
|
+
/**
|
|
6085
|
+
* Creates request options for postApiAgentsByIdHyperliquidOrder without sending the request
|
|
6086
|
+
*/
|
|
6087
|
+
async postApiAgentsByIdHyperliquidOrderRequestOpts(requestParameters) {
|
|
6088
|
+
if (requestParameters['id'] == null) {
|
|
6089
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdHyperliquidOrder().');
|
|
6090
|
+
}
|
|
6091
|
+
if (requestParameters['postApiAgentsByIdHyperliquidOrderRequest'] == null) {
|
|
6092
|
+
throw new runtime.RequiredError('postApiAgentsByIdHyperliquidOrderRequest', 'Required parameter "postApiAgentsByIdHyperliquidOrderRequest" was null or undefined when calling postApiAgentsByIdHyperliquidOrder().');
|
|
6093
|
+
}
|
|
6094
|
+
const queryParameters = {};
|
|
6095
|
+
const headerParameters = {};
|
|
6096
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6097
|
+
let urlPath = `/api/agents/{id}/hyperliquid/order`;
|
|
6098
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
6099
|
+
return {
|
|
6100
|
+
path: urlPath,
|
|
6101
|
+
method: 'POST',
|
|
6102
|
+
headers: headerParameters,
|
|
6103
|
+
query: queryParameters,
|
|
6104
|
+
body: PostApiAgentsByIdHyperliquidOrderRequestToJSON(requestParameters['postApiAgentsByIdHyperliquidOrderRequest']),
|
|
6105
|
+
};
|
|
6106
|
+
}
|
|
6107
|
+
/**
|
|
6108
|
+
*/
|
|
6109
|
+
async postApiAgentsByIdHyperliquidOrderRaw(requestParameters, initOverrides) {
|
|
6110
|
+
const requestOptions = await this.postApiAgentsByIdHyperliquidOrderRequestOpts(requestParameters);
|
|
6111
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
6112
|
+
return new runtime.VoidApiResponse(response);
|
|
6113
|
+
}
|
|
6114
|
+
/**
|
|
6115
|
+
*/
|
|
6116
|
+
async postApiAgentsByIdHyperliquidOrder(requestParameters, initOverrides) {
|
|
6117
|
+
await this.postApiAgentsByIdHyperliquidOrderRaw(requestParameters, initOverrides);
|
|
6118
|
+
}
|
|
6051
6119
|
/**
|
|
6052
6120
|
* Creates request options for postApiAgentsByIdHyperliquidTransfer without sending the request
|
|
6053
6121
|
*/
|
|
@@ -6675,8 +6743,8 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6675
6743
|
if (requestParameters['id'] == null) {
|
|
6676
6744
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdRegenerateKey().');
|
|
6677
6745
|
}
|
|
6678
|
-
if (requestParameters['
|
|
6679
|
-
throw new runtime.RequiredError('
|
|
6746
|
+
if (requestParameters['postApiAgentsTradingTerminalRequest'] == null) {
|
|
6747
|
+
throw new runtime.RequiredError('postApiAgentsTradingTerminalRequest', 'Required parameter "postApiAgentsTradingTerminalRequest" was null or undefined when calling postApiAgentsByIdRegenerateKey().');
|
|
6680
6748
|
}
|
|
6681
6749
|
const queryParameters = {};
|
|
6682
6750
|
const headerParameters = {};
|
|
@@ -6688,7 +6756,7 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6688
6756
|
method: 'POST',
|
|
6689
6757
|
headers: headerParameters,
|
|
6690
6758
|
query: queryParameters,
|
|
6691
|
-
body:
|
|
6759
|
+
body: PostApiAgentsTradingTerminalRequestToJSON(requestParameters['postApiAgentsTradingTerminalRequest']),
|
|
6692
6760
|
};
|
|
6693
6761
|
}
|
|
6694
6762
|
/**
|
|
@@ -6908,6 +6976,37 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6908
6976
|
async postApiAgentsRegister(requestParameters, initOverrides) {
|
|
6909
6977
|
await this.postApiAgentsRegisterRaw(requestParameters, initOverrides);
|
|
6910
6978
|
}
|
|
6979
|
+
/**
|
|
6980
|
+
* Creates request options for postApiAgentsTradingTerminal without sending the request
|
|
6981
|
+
*/
|
|
6982
|
+
async postApiAgentsTradingTerminalRequestOpts(requestParameters) {
|
|
6983
|
+
if (requestParameters['postApiAgentsTradingTerminalRequest'] == null) {
|
|
6984
|
+
throw new runtime.RequiredError('postApiAgentsTradingTerminalRequest', 'Required parameter "postApiAgentsTradingTerminalRequest" was null or undefined when calling postApiAgentsTradingTerminal().');
|
|
6985
|
+
}
|
|
6986
|
+
const queryParameters = {};
|
|
6987
|
+
const headerParameters = {};
|
|
6988
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6989
|
+
let urlPath = `/api/agents/trading-terminal`;
|
|
6990
|
+
return {
|
|
6991
|
+
path: urlPath,
|
|
6992
|
+
method: 'POST',
|
|
6993
|
+
headers: headerParameters,
|
|
6994
|
+
query: queryParameters,
|
|
6995
|
+
body: PostApiAgentsTradingTerminalRequestToJSON(requestParameters['postApiAgentsTradingTerminalRequest']),
|
|
6996
|
+
};
|
|
6997
|
+
}
|
|
6998
|
+
/**
|
|
6999
|
+
*/
|
|
7000
|
+
async postApiAgentsTradingTerminalRaw(requestParameters, initOverrides) {
|
|
7001
|
+
const requestOptions = await this.postApiAgentsTradingTerminalRequestOpts(requestParameters);
|
|
7002
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
7003
|
+
return new runtime.VoidApiResponse(response);
|
|
7004
|
+
}
|
|
7005
|
+
/**
|
|
7006
|
+
*/
|
|
7007
|
+
async postApiAgentsTradingTerminal(requestParameters, initOverrides) {
|
|
7008
|
+
await this.postApiAgentsTradingTerminalRaw(requestParameters, initOverrides);
|
|
7009
|
+
}
|
|
6911
7010
|
/**
|
|
6912
7011
|
* Creates request options for postApiAllowlist without sending the request
|
|
6913
7012
|
*/
|