@distilled.cloud/coinbase 0.28.2 → 0.29.1
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/lib/operations/addEndUserEvmAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserEvmAccount.js +3 -3
- package/lib/operations/addEndUserEvmAccount.js.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.js +3 -3
- package/lib/operations/addEndUserEvmSmartAccount.js.map +1 -1
- package/lib/operations/addEndUserSolanaAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserSolanaAccount.js +3 -3
- package/lib/operations/addEndUserSolanaAccount.js.map +1 -1
- package/lib/operations/createDelegationForEndUserAccount.js +3 -3
- package/lib/operations/createDelegationForEndUserAccount.js.map +1 -1
- package/lib/operations/createDepositDestination.d.ts.map +1 -1
- package/lib/operations/createDepositDestination.js +3 -3
- package/lib/operations/createDepositDestination.js.map +1 -1
- package/lib/operations/createEndUser.js +3 -3
- package/lib/operations/createEndUser.js.map +1 -1
- package/lib/operations/createEvmAccount.d.ts.map +1 -1
- package/lib/operations/createEvmAccount.js +3 -3
- package/lib/operations/createEvmAccount.js.map +1 -1
- package/lib/operations/createEvmEip7702Delegation.d.ts.map +1 -1
- package/lib/operations/createEvmEip7702Delegation.js +3 -3
- package/lib/operations/createEvmEip7702Delegation.js.map +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js +3 -3
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js.map +1 -1
- package/lib/operations/createEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/createEvmSmartAccount.js +3 -3
- package/lib/operations/createEvmSmartAccount.js.map +1 -1
- package/lib/operations/createEvmSwapQuote.js +3 -3
- package/lib/operations/createEvmSwapQuote.js.map +1 -1
- package/lib/operations/createFoundationAccount.d.ts.map +1 -1
- package/lib/operations/createFoundationAccount.js +3 -3
- package/lib/operations/createFoundationAccount.js.map +1 -1
- package/lib/operations/createOnrampOrder.d.ts.map +1 -1
- package/lib/operations/createOnrampOrder.js +3 -3
- package/lib/operations/createOnrampOrder.js.map +1 -1
- package/lib/operations/createOnrampSession.js +3 -3
- package/lib/operations/createOnrampSession.js.map +1 -1
- package/lib/operations/createPolicy.js +3 -3
- package/lib/operations/createPolicy.js.map +1 -1
- package/lib/operations/createSolanaAccount.js +3 -3
- package/lib/operations/createSolanaAccount.js.map +1 -1
- package/lib/operations/createSpendPermission.d.ts.map +1 -1
- package/lib/operations/createSpendPermission.js +3 -3
- package/lib/operations/createSpendPermission.js.map +1 -1
- package/lib/operations/createTransfer.js +3 -3
- package/lib/operations/createTransfer.js.map +1 -1
- package/lib/operations/createWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/createWebhookSubscription.js +3 -3
- package/lib/operations/createWebhookSubscription.js.map +1 -1
- package/lib/operations/deletePolicy.d.ts.map +1 -1
- package/lib/operations/deletePolicy.js +3 -3
- package/lib/operations/deletePolicy.js.map +1 -1
- package/lib/operations/deleteWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/deleteWebhookSubscription.js +3 -3
- package/lib/operations/deleteWebhookSubscription.js.map +1 -1
- package/lib/operations/executeFundTransfer.js +3 -3
- package/lib/operations/executeFundTransfer.js.map +1 -1
- package/lib/operations/exportEvmAccount.d.ts.map +1 -1
- package/lib/operations/exportEvmAccount.js +3 -3
- package/lib/operations/exportEvmAccount.js.map +1 -1
- package/lib/operations/exportEvmAccountByName.d.ts.map +1 -1
- package/lib/operations/exportEvmAccountByName.js +3 -3
- package/lib/operations/exportEvmAccountByName.js.map +1 -1
- package/lib/operations/exportSolanaAccount.js +3 -3
- package/lib/operations/exportSolanaAccount.js.map +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/exportSolanaAccountByName.js +3 -3
- package/lib/operations/exportSolanaAccountByName.js.map +1 -1
- package/lib/operations/getBalanceByAsset.d.ts.map +1 -1
- package/lib/operations/getBalanceByAsset.js +3 -3
- package/lib/operations/getBalanceByAsset.js.map +1 -1
- package/lib/operations/getDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/getDelegationForEndUser.js +3 -3
- package/lib/operations/getDelegationForEndUser.js.map +1 -1
- package/lib/operations/getDelegationForEndUserAccount.js +3 -3
- package/lib/operations/getDelegationForEndUserAccount.js.map +1 -1
- package/lib/operations/getDepositDestinationById.d.ts.map +1 -1
- package/lib/operations/getDepositDestinationById.js +3 -3
- package/lib/operations/getDepositDestinationById.js.map +1 -1
- package/lib/operations/getEndUser.js +3 -3
- package/lib/operations/getEndUser.js.map +1 -1
- package/lib/operations/getEvmAccount.js +3 -3
- package/lib/operations/getEvmAccount.js.map +1 -1
- package/lib/operations/getEvmAccountByName.js +3 -3
- package/lib/operations/getEvmAccountByName.js.map +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.js +3 -3
- package/lib/operations/getEvmEip7702DelegationOperationById.js.map +1 -1
- package/lib/operations/getEvmSmartAccount.js +3 -3
- package/lib/operations/getEvmSmartAccount.js.map +1 -1
- package/lib/operations/getEvmSmartAccountByName.d.ts.map +1 -1
- package/lib/operations/getEvmSmartAccountByName.js +3 -3
- package/lib/operations/getEvmSmartAccountByName.js.map +1 -1
- package/lib/operations/getEvmSwapPrice.js +3 -3
- package/lib/operations/getEvmSwapPrice.js.map +1 -1
- package/lib/operations/getFoundationAccountById.d.ts.map +1 -1
- package/lib/operations/getFoundationAccountById.js +3 -3
- package/lib/operations/getFoundationAccountById.js.map +1 -1
- package/lib/operations/getOnrampOrderById.js +3 -3
- package/lib/operations/getOnrampOrderById.js.map +1 -1
- package/lib/operations/getOnrampUserLimits.js +3 -3
- package/lib/operations/getOnrampUserLimits.js.map +1 -1
- package/lib/operations/getPaymentMethod.js +3 -3
- package/lib/operations/getPaymentMethod.js.map +1 -1
- package/lib/operations/getPolicyById.js +3 -3
- package/lib/operations/getPolicyById.js.map +1 -1
- package/lib/operations/getSQLGrammar.d.ts.map +1 -1
- package/lib/operations/getSQLGrammar.js +3 -3
- package/lib/operations/getSQLGrammar.js.map +1 -1
- package/lib/operations/getSQLSchema.js +3 -3
- package/lib/operations/getSQLSchema.js.map +1 -1
- package/lib/operations/getSolanaAccount.d.ts.map +1 -1
- package/lib/operations/getSolanaAccount.js +3 -3
- package/lib/operations/getSolanaAccount.js.map +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/getSolanaAccountByName.js +3 -3
- package/lib/operations/getSolanaAccountByName.js.map +1 -1
- package/lib/operations/getTransferById.js +3 -3
- package/lib/operations/getTransferById.js.map +1 -1
- package/lib/operations/getUserOperation.d.ts.map +1 -1
- package/lib/operations/getUserOperation.js +3 -3
- package/lib/operations/getUserOperation.js.map +1 -1
- package/lib/operations/getWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/getWebhookSubscription.js +3 -3
- package/lib/operations/getWebhookSubscription.js.map +1 -1
- package/lib/operations/importEndUser.js +3 -3
- package/lib/operations/importEndUser.js.map +1 -1
- package/lib/operations/importEvmAccount.d.ts.map +1 -1
- package/lib/operations/importEvmAccount.js +3 -3
- package/lib/operations/importEvmAccount.js.map +1 -1
- package/lib/operations/importSolanaAccount.js +3 -3
- package/lib/operations/importSolanaAccount.js.map +1 -1
- package/lib/operations/initiateOnrampVerification.d.ts.map +1 -1
- package/lib/operations/initiateOnrampVerification.js +3 -3
- package/lib/operations/initiateOnrampVerification.js.map +1 -1
- package/lib/operations/listBalances.js +3 -3
- package/lib/operations/listBalances.js.map +1 -1
- package/lib/operations/listDataTokenBalances.d.ts.map +1 -1
- package/lib/operations/listDataTokenBalances.js +3 -3
- package/lib/operations/listDataTokenBalances.js.map +1 -1
- package/lib/operations/listDepositDestinations.d.ts.map +1 -1
- package/lib/operations/listDepositDestinations.js +3 -3
- package/lib/operations/listDepositDestinations.js.map +1 -1
- package/lib/operations/listEndUsers.js +3 -3
- package/lib/operations/listEndUsers.js.map +1 -1
- package/lib/operations/listEvmAccounts.js +3 -3
- package/lib/operations/listEvmAccounts.js.map +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts.map +1 -1
- package/lib/operations/listEvmSmartAccounts.js +3 -3
- package/lib/operations/listEvmSmartAccounts.js.map +1 -1
- package/lib/operations/listEvmTokenBalances.d.ts.map +1 -1
- package/lib/operations/listEvmTokenBalances.js +3 -3
- package/lib/operations/listEvmTokenBalances.js.map +1 -1
- package/lib/operations/listFoundationAccounts.d.ts.map +1 -1
- package/lib/operations/listFoundationAccounts.js +3 -3
- package/lib/operations/listFoundationAccounts.js.map +1 -1
- package/lib/operations/listPaymentMethods.js +3 -3
- package/lib/operations/listPaymentMethods.js.map +1 -1
- package/lib/operations/listPolicies.js +3 -3
- package/lib/operations/listPolicies.js.map +1 -1
- package/lib/operations/listSolanaAccounts.js +3 -3
- package/lib/operations/listSolanaAccounts.js.map +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts.map +1 -1
- package/lib/operations/listSolanaTokenBalances.js +3 -3
- package/lib/operations/listSolanaTokenBalances.js.map +1 -1
- package/lib/operations/listSpendPermissions.d.ts.map +1 -1
- package/lib/operations/listSpendPermissions.js +3 -3
- package/lib/operations/listSpendPermissions.js.map +1 -1
- package/lib/operations/listTokensForAccount.d.ts.map +1 -1
- package/lib/operations/listTokensForAccount.js +3 -3
- package/lib/operations/listTokensForAccount.js.map +1 -1
- package/lib/operations/listTransfers.js +3 -3
- package/lib/operations/listTransfers.js.map +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.js +3 -3
- package/lib/operations/listWebhookSubscriptionEvents.js.map +1 -1
- package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -1
- package/lib/operations/listWebhookSubscriptions.js +3 -3
- package/lib/operations/listWebhookSubscriptions.js.map +1 -1
- package/lib/operations/listX402DiscoveryMerchant.d.ts.map +1 -1
- package/lib/operations/listX402DiscoveryMerchant.js +3 -3
- package/lib/operations/listX402DiscoveryMerchant.js.map +1 -1
- package/lib/operations/listX402DiscoveryResources.d.ts.map +1 -1
- package/lib/operations/listX402DiscoveryResources.js +3 -3
- package/lib/operations/listX402DiscoveryResources.js.map +1 -1
- package/lib/operations/lookupEndUser.js +3 -3
- package/lib/operations/lookupEndUser.js.map +1 -1
- package/lib/operations/postX402DiscoveryMcp.d.ts.map +1 -1
- package/lib/operations/postX402DiscoveryMcp.js +3 -3
- package/lib/operations/postX402DiscoveryMcp.js.map +1 -1
- package/lib/operations/prepareAndSendUserOperation.d.ts.map +1 -1
- package/lib/operations/prepareAndSendUserOperation.js +3 -3
- package/lib/operations/prepareAndSendUserOperation.js.map +1 -1
- package/lib/operations/prepareUserOperation.d.ts.map +1 -1
- package/lib/operations/prepareUserOperation.js +3 -3
- package/lib/operations/prepareUserOperation.js.map +1 -1
- package/lib/operations/requestEvmFaucet.d.ts.map +1 -1
- package/lib/operations/requestEvmFaucet.js +3 -3
- package/lib/operations/requestEvmFaucet.js.map +1 -1
- package/lib/operations/requestLimitsUpgrade.d.ts.map +1 -1
- package/lib/operations/requestLimitsUpgrade.js +3 -3
- package/lib/operations/requestLimitsUpgrade.js.map +1 -1
- package/lib/operations/requestSolanaFaucet.js +3 -3
- package/lib/operations/requestSolanaFaucet.js.map +1 -1
- package/lib/operations/revokeDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/revokeDelegationForEndUser.js +3 -3
- package/lib/operations/revokeDelegationForEndUser.js.map +1 -1
- package/lib/operations/revokeDelegationForEndUserAccount.d.ts.map +1 -1
- package/lib/operations/revokeDelegationForEndUserAccount.js +3 -3
- package/lib/operations/revokeDelegationForEndUserAccount.js.map +1 -1
- package/lib/operations/revokeSpendPermission.d.ts.map +1 -1
- package/lib/operations/revokeSpendPermission.js +3 -3
- package/lib/operations/revokeSpendPermission.js.map +1 -1
- package/lib/operations/runSQLQuery.js +3 -3
- package/lib/operations/runSQLQuery.js.map +1 -1
- package/lib/operations/searchX402Resources.js +3 -3
- package/lib/operations/searchX402Resources.js.map +1 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.js +3 -3
- package/lib/operations/sendEvmAssetWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendEvmTransaction.js +3 -3
- package/lib/operations/sendEvmTransaction.js.map +1 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js +3 -3
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js +3 -3
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/sendSolanaTransaction.js +3 -3
- package/lib/operations/sendSolanaTransaction.js.map +1 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js +3 -3
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendUserOperation.d.ts.map +1 -1
- package/lib/operations/sendUserOperation.js +3 -3
- package/lib/operations/sendUserOperation.js.map +1 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.js +3 -3
- package/lib/operations/sendUserOperationWithEndUserAccount.js.map +1 -1
- package/lib/operations/settleX402Payment.d.ts.map +1 -1
- package/lib/operations/settleX402Payment.js +3 -3
- package/lib/operations/settleX402Payment.js.map +1 -1
- package/lib/operations/signEvmHash.js +3 -3
- package/lib/operations/signEvmHash.js.map +1 -1
- package/lib/operations/signEvmMessage.js +3 -3
- package/lib/operations/signEvmMessage.js.map +1 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.js +3 -3
- package/lib/operations/signEvmMessageWithEndUserAccount.js.map +1 -1
- package/lib/operations/signEvmTransaction.js +3 -3
- package/lib/operations/signEvmTransaction.js.map +1 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.js +3 -3
- package/lib/operations/signEvmTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/signEvmTypedData.d.ts.map +1 -1
- package/lib/operations/signEvmTypedData.js +3 -3
- package/lib/operations/signEvmTypedData.js.map +1 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js +3 -3
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js.map +1 -1
- package/lib/operations/signSolanaMessage.d.ts.map +1 -1
- package/lib/operations/signSolanaMessage.js +3 -3
- package/lib/operations/signSolanaMessage.js.map +1 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.js +3 -3
- package/lib/operations/signSolanaMessageWithEndUserAccount.js.map +1 -1
- package/lib/operations/signSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/signSolanaTransaction.js +3 -3
- package/lib/operations/signSolanaTransaction.js.map +1 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js +3 -3
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/submitDepositTravelRule.d.ts.map +1 -1
- package/lib/operations/submitDepositTravelRule.js +3 -3
- package/lib/operations/submitDepositTravelRule.js.map +1 -1
- package/lib/operations/submitOnrampVerification.d.ts.map +1 -1
- package/lib/operations/submitOnrampVerification.js +3 -3
- package/lib/operations/submitOnrampVerification.js.map +1 -1
- package/lib/operations/supportedX402PaymentKinds.d.ts.map +1 -1
- package/lib/operations/supportedX402PaymentKinds.js +3 -3
- package/lib/operations/supportedX402PaymentKinds.js.map +1 -1
- package/lib/operations/updateEvmAccount.d.ts.map +1 -1
- package/lib/operations/updateEvmAccount.js +3 -3
- package/lib/operations/updateEvmAccount.js.map +1 -1
- package/lib/operations/updateEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/updateEvmSmartAccount.js +3 -3
- package/lib/operations/updateEvmSmartAccount.js.map +1 -1
- package/lib/operations/updatePolicy.js +3 -3
- package/lib/operations/updatePolicy.js.map +1 -1
- package/lib/operations/updateSolanaAccount.js +3 -3
- package/lib/operations/updateSolanaAccount.js.map +1 -1
- package/lib/operations/updateWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/updateWebhookSubscription.js +3 -3
- package/lib/operations/updateWebhookSubscription.js.map +1 -1
- package/lib/operations/validateEndUserAccessToken.d.ts.map +1 -1
- package/lib/operations/validateEndUserAccessToken.js +3 -3
- package/lib/operations/validateEndUserAccessToken.js.map +1 -1
- package/lib/operations/validateX402Resource.d.ts.map +1 -1
- package/lib/operations/validateX402Resource.js +3 -3
- package/lib/operations/validateX402Resource.js.map +1 -1
- package/lib/operations/verifyX402Payment.d.ts.map +1 -1
- package/lib/operations/verifyX402Payment.js +3 -3
- package/lib/operations/verifyX402Payment.js.map +1 -1
- package/package.json +7 -6
- package/src/operations/addEndUserEvmAccount.ts +6 -8
- package/src/operations/addEndUserEvmSmartAccount.ts +6 -8
- package/src/operations/addEndUserSolanaAccount.ts +6 -8
- package/src/operations/createDelegationForEndUserAccount.ts +3 -3
- package/src/operations/createDepositDestination.ts +6 -8
- package/src/operations/createEndUser.ts +3 -3
- package/src/operations/createEvmAccount.ts +9 -11
- package/src/operations/createEvmEip7702Delegation.ts +6 -8
- package/src/operations/createEvmEip7702DelegationWithEndUserAccount.ts +3 -3
- package/src/operations/createEvmSmartAccount.ts +6 -8
- package/src/operations/createEvmSwapQuote.ts +3 -3
- package/src/operations/createFoundationAccount.ts +6 -8
- package/src/operations/createOnrampOrder.ts +25 -27
- package/src/operations/createOnrampSession.ts +3 -3
- package/src/operations/createPolicy.ts +3 -3
- package/src/operations/createSolanaAccount.ts +3 -3
- package/src/operations/createSpendPermission.ts +6 -8
- package/src/operations/createTransfer.ts +3 -3
- package/src/operations/createWebhookSubscription.ts +6 -8
- package/src/operations/deletePolicy.ts +3 -3
- package/src/operations/deleteWebhookSubscription.ts +6 -8
- package/src/operations/executeFundTransfer.ts +3 -3
- package/src/operations/exportEvmAccount.ts +5 -7
- package/src/operations/exportEvmAccountByName.ts +6 -8
- package/src/operations/exportSolanaAccount.ts +3 -3
- package/src/operations/exportSolanaAccountByName.ts +6 -8
- package/src/operations/getBalanceByAsset.ts +6 -8
- package/src/operations/getDelegationForEndUser.ts +6 -8
- package/src/operations/getDelegationForEndUserAccount.ts +3 -3
- package/src/operations/getDepositDestinationById.ts +6 -8
- package/src/operations/getEndUser.ts +3 -3
- package/src/operations/getEvmAccount.ts +3 -3
- package/src/operations/getEvmAccountByName.ts +3 -3
- package/src/operations/getEvmEip7702DelegationOperationById.ts +3 -3
- package/src/operations/getEvmSmartAccount.ts +3 -3
- package/src/operations/getEvmSmartAccountByName.ts +6 -8
- package/src/operations/getEvmSwapPrice.ts +3 -3
- package/src/operations/getFoundationAccountById.ts +6 -8
- package/src/operations/getOnrampOrderById.ts +3 -3
- package/src/operations/getOnrampUserLimits.ts +3 -3
- package/src/operations/getPaymentMethod.ts +3 -3
- package/src/operations/getPolicyById.ts +3 -3
- package/src/operations/getSQLGrammar.ts +3 -5
- package/src/operations/getSQLSchema.ts +3 -3
- package/src/operations/getSolanaAccount.ts +9 -11
- package/src/operations/getSolanaAccountByName.ts +6 -8
- package/src/operations/getTransferById.ts +3 -3
- package/src/operations/getUserOperation.ts +48 -50
- package/src/operations/getWebhookSubscription.ts +6 -8
- package/src/operations/importEndUser.ts +3 -3
- package/src/operations/importEvmAccount.ts +9 -11
- package/src/operations/importSolanaAccount.ts +3 -3
- package/src/operations/initiateOnrampVerification.ts +6 -8
- package/src/operations/listBalances.ts +3 -3
- package/src/operations/listDataTokenBalances.ts +6 -8
- package/src/operations/listDepositDestinations.ts +6 -8
- package/src/operations/listEndUsers.ts +3 -3
- package/src/operations/listEvmAccounts.ts +3 -3
- package/src/operations/listEvmSmartAccounts.ts +6 -8
- package/src/operations/listEvmTokenBalances.ts +6 -8
- package/src/operations/listFoundationAccounts.ts +6 -8
- package/src/operations/listPaymentMethods.ts +3 -3
- package/src/operations/listPolicies.ts +3 -3
- package/src/operations/listSolanaAccounts.ts +3 -3
- package/src/operations/listSolanaTokenBalances.ts +6 -8
- package/src/operations/listSpendPermissions.ts +6 -8
- package/src/operations/listTokensForAccount.ts +6 -8
- package/src/operations/listTransfers.ts +3 -3
- package/src/operations/listWebhookSubscriptionEvents.ts +3 -3
- package/src/operations/listWebhookSubscriptions.ts +6 -8
- package/src/operations/listX402DiscoveryMerchant.ts +6 -8
- package/src/operations/listX402DiscoveryResources.ts +6 -8
- package/src/operations/lookupEndUser.ts +3 -3
- package/src/operations/postX402DiscoveryMcp.ts +6 -8
- package/src/operations/prepareAndSendUserOperation.ts +6 -8
- package/src/operations/prepareUserOperation.ts +6 -8
- package/src/operations/requestEvmFaucet.ts +5 -7
- package/src/operations/requestLimitsUpgrade.ts +6 -8
- package/src/operations/requestSolanaFaucet.ts +3 -3
- package/src/operations/revokeDelegationForEndUser.ts +6 -8
- package/src/operations/revokeDelegationForEndUserAccount.ts +3 -3
- package/src/operations/revokeSpendPermission.ts +6 -8
- package/src/operations/runSQLQuery.ts +3 -3
- package/src/operations/searchX402Resources.ts +3 -3
- package/src/operations/sendEvmAssetWithEndUserAccount.ts +3 -3
- package/src/operations/sendEvmTransaction.ts +3 -3
- package/src/operations/sendEvmTransactionWithEndUserAccount.ts +3 -3
- package/src/operations/sendSolanaAssetWithEndUserAccount.ts +3 -3
- package/src/operations/sendSolanaTransaction.ts +6 -8
- package/src/operations/sendSolanaTransactionWithEndUserAccount.ts +3 -3
- package/src/operations/sendUserOperation.ts +7 -9
- package/src/operations/sendUserOperationWithEndUserAccount.ts +3 -3
- package/src/operations/settleX402Payment.ts +104 -108
- package/src/operations/signEvmHash.ts +3 -3
- package/src/operations/signEvmMessage.ts +3 -3
- package/src/operations/signEvmMessageWithEndUserAccount.ts +3 -3
- package/src/operations/signEvmTransaction.ts +3 -3
- package/src/operations/signEvmTransactionWithEndUserAccount.ts +3 -3
- package/src/operations/signEvmTypedData.ts +5 -7
- package/src/operations/signEvmTypedDataWithEndUserAccount.ts +3 -3
- package/src/operations/signSolanaMessage.ts +6 -8
- package/src/operations/signSolanaMessageWithEndUserAccount.ts +3 -3
- package/src/operations/signSolanaTransaction.ts +6 -8
- package/src/operations/signSolanaTransactionWithEndUserAccount.ts +3 -3
- package/src/operations/submitDepositTravelRule.ts +6 -8
- package/src/operations/submitOnrampVerification.ts +6 -8
- package/src/operations/supportedX402PaymentKinds.ts +6 -8
- package/src/operations/updateEvmAccount.ts +9 -11
- package/src/operations/updateEvmSmartAccount.ts +6 -8
- package/src/operations/updatePolicy.ts +3 -3
- package/src/operations/updateSolanaAccount.ts +3 -3
- package/src/operations/updateWebhookSubscription.ts +6 -8
- package/src/operations/validateEndUserAccessToken.ts +6 -8
- package/src/operations/validateX402Resource.ts +6 -8
- package/src/operations/verifyX402Payment.ts +104 -108
|
@@ -8,7 +8,7 @@ export interface ImportSolanaAccountInput {
|
|
|
8
8
|
name?: string;
|
|
9
9
|
}
|
|
10
10
|
export const ImportSolanaAccountInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
encryptedPrivateKey: Schema.String,
|
|
13
13
|
name: Schema.optional(Schema.String),
|
|
14
14
|
}).pipe(
|
|
@@ -24,7 +24,7 @@ export interface ImportSolanaAccountOutput {
|
|
|
24
24
|
updatedAt?: string;
|
|
25
25
|
}
|
|
26
26
|
export const ImportSolanaAccountOutput =
|
|
27
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Struct({
|
|
28
28
|
address: Schema.String,
|
|
29
29
|
name: Schema.optional(Schema.String),
|
|
30
30
|
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -47,7 +47,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
47
47
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
48
48
|
|
|
49
49
|
*/
|
|
50
|
-
export const importSolanaAccount = /*@__PURE__*/
|
|
50
|
+
export const importSolanaAccount = /*@__PURE__*/ API.make(() => ({
|
|
51
51
|
inputSchema: ImportSolanaAccountInput,
|
|
52
52
|
outputSchema: ImportSolanaAccountOutput,
|
|
53
53
|
}));
|
|
@@ -8,7 +8,7 @@ export interface InitiateOnrampVerificationInput {
|
|
|
8
8
|
destination: string;
|
|
9
9
|
}
|
|
10
10
|
export const InitiateOnrampVerificationInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
channel: Schema.Literals(["sms", "email"]),
|
|
13
13
|
destination: Schema.String,
|
|
14
14
|
}).pipe(
|
|
@@ -21,7 +21,7 @@ export interface InitiateOnrampVerificationOutput {
|
|
|
21
21
|
otpExpiresAt: string;
|
|
22
22
|
}
|
|
23
23
|
export const InitiateOnrampVerificationOutput =
|
|
24
|
-
/*@__PURE__*/
|
|
24
|
+
/*@__PURE__*/ Schema.Struct({
|
|
25
25
|
verificationId: Schema.String,
|
|
26
26
|
otpExpiresAt: Schema.String,
|
|
27
27
|
}) as unknown as Schema.Codec<InitiateOnrampVerificationOutput>;
|
|
@@ -38,9 +38,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
38
38
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
39
39
|
|
|
40
40
|
*/
|
|
41
|
-
export const initiateOnrampVerification = /*@__PURE__*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}),
|
|
46
|
-
);
|
|
41
|
+
export const initiateOnrampVerification = /*@__PURE__*/ API.make(() => ({
|
|
42
|
+
inputSchema: InitiateOnrampVerificationInput,
|
|
43
|
+
outputSchema: InitiateOnrampVerificationOutput,
|
|
44
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface ListBalancesInput {
|
|
|
8
8
|
pageSize?: number;
|
|
9
9
|
pageToken?: string;
|
|
10
10
|
}
|
|
11
|
-
export const ListBalancesInput = /*@__PURE__*/
|
|
11
|
+
export const ListBalancesInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
accountId: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
pageSize: Schema.optional(Schema.Number),
|
|
14
14
|
pageToken: Schema.optional(Schema.String),
|
|
@@ -29,7 +29,7 @@ export interface ListBalancesOutput {
|
|
|
29
29
|
}[];
|
|
30
30
|
nextPageToken?: string;
|
|
31
31
|
}
|
|
32
|
-
export const ListBalancesOutput = /*@__PURE__*/
|
|
32
|
+
export const ListBalancesOutput = /*@__PURE__*/ Schema.Struct({
|
|
33
33
|
balances: Schema.Array(
|
|
34
34
|
Schema.Struct({
|
|
35
35
|
asset: Schema.Struct({
|
|
@@ -60,7 +60,7 @@ export const ListBalancesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
60
60
|
* @param pageSize - The number of resources to return per page.
|
|
61
61
|
* @param pageToken - The token for the next page of resources, if any.
|
|
62
62
|
*/
|
|
63
|
-
export const listBalances = /*@__PURE__*/
|
|
63
|
+
export const listBalances = /*@__PURE__*/ API.make(() => ({
|
|
64
64
|
inputSchema: ListBalancesInput,
|
|
65
65
|
outputSchema: ListBalancesOutput,
|
|
66
66
|
}));
|
|
@@ -10,7 +10,7 @@ export interface ListDataTokenBalancesInput {
|
|
|
10
10
|
pageToken?: string;
|
|
11
11
|
}
|
|
12
12
|
export const ListDataTokenBalancesInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
address: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
network: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
pageSize: Schema.optional(Schema.Number),
|
|
@@ -36,7 +36,7 @@ export interface ListDataTokenBalancesOutput {
|
|
|
36
36
|
nextPageToken?: string;
|
|
37
37
|
}
|
|
38
38
|
export const ListDataTokenBalancesOutput =
|
|
39
|
-
/*@__PURE__*/
|
|
39
|
+
/*@__PURE__*/ Schema.Struct({
|
|
40
40
|
balances: Schema.Array(
|
|
41
41
|
Schema.Struct({
|
|
42
42
|
amount: Schema.Struct({
|
|
@@ -66,9 +66,7 @@ export const ListDataTokenBalancesOutput =
|
|
|
66
66
|
* @param pageSize - The number of resources to return per page.
|
|
67
67
|
* @param pageToken - The token for the next page of resources, if any.
|
|
68
68
|
*/
|
|
69
|
-
export const listDataTokenBalances = /*@__PURE__*/
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}),
|
|
74
|
-
);
|
|
69
|
+
export const listDataTokenBalances = /*@__PURE__*/ API.make(() => ({
|
|
70
|
+
inputSchema: ListDataTokenBalancesInput,
|
|
71
|
+
outputSchema: ListDataTokenBalancesOutput,
|
|
72
|
+
}));
|
|
@@ -12,7 +12,7 @@ export interface ListDepositDestinationsInput {
|
|
|
12
12
|
pageToken?: string;
|
|
13
13
|
}
|
|
14
14
|
export const ListDepositDestinationsInput =
|
|
15
|
-
/*@__PURE__*/
|
|
15
|
+
/*@__PURE__*/ Schema.Struct({
|
|
16
16
|
accountId: Schema.optional(Schema.String),
|
|
17
17
|
address: Schema.optional(Schema.String),
|
|
18
18
|
type: Schema.optional(Schema.String),
|
|
@@ -52,7 +52,7 @@ export interface ListDepositDestinationsOutput {
|
|
|
52
52
|
nextPageToken?: string;
|
|
53
53
|
}
|
|
54
54
|
export const ListDepositDestinationsOutput =
|
|
55
|
-
/*@__PURE__*/
|
|
55
|
+
/*@__PURE__*/ Schema.Struct({
|
|
56
56
|
depositDestinations: Schema.Array(
|
|
57
57
|
Schema.Struct({
|
|
58
58
|
depositDestinationId: Schema.String,
|
|
@@ -101,9 +101,7 @@ export const ListDepositDestinationsOutput =
|
|
|
101
101
|
* @param pageSize - The number of resources to return per page.
|
|
102
102
|
* @param pageToken - The token for the next page of resources, if any.
|
|
103
103
|
*/
|
|
104
|
-
export const listDepositDestinations = /*@__PURE__*/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}),
|
|
109
|
-
);
|
|
104
|
+
export const listDepositDestinations = /*@__PURE__*/ API.make(() => ({
|
|
105
|
+
inputSchema: ListDepositDestinationsInput,
|
|
106
|
+
outputSchema: ListDepositDestinationsOutput,
|
|
107
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface ListEndUsersInput {
|
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
sort?: string;
|
|
10
10
|
}
|
|
11
|
-
export const ListEndUsersInput = /*@__PURE__*/
|
|
11
|
+
export const ListEndUsersInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
pageSize: Schema.optional(Schema.Number),
|
|
13
13
|
pageToken: Schema.optional(Schema.String),
|
|
14
14
|
sort: Schema.optional(Schema.String),
|
|
@@ -61,7 +61,7 @@ export interface ListEndUsersOutput {
|
|
|
61
61
|
}[];
|
|
62
62
|
nextPageToken?: string;
|
|
63
63
|
}
|
|
64
|
-
export const ListEndUsersOutput = /*@__PURE__*/
|
|
64
|
+
export const ListEndUsersOutput = /*@__PURE__*/ Schema.Struct({
|
|
65
65
|
endUsers: Schema.Array(
|
|
66
66
|
Schema.Struct({
|
|
67
67
|
userId: Schema.String,
|
|
@@ -168,7 +168,7 @@ export const ListEndUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
168
168
|
* @param pageToken - The token for the desired page of end users. Will be empty if there are no more end users to fetch.
|
|
169
169
|
* @param sort - Sort end users. Defaults to ascending order (oldest first).
|
|
170
170
|
*/
|
|
171
|
-
export const listEndUsers = /*@__PURE__*/
|
|
171
|
+
export const listEndUsers = /*@__PURE__*/ API.make(() => ({
|
|
172
172
|
inputSchema: ListEndUsersInput,
|
|
173
173
|
outputSchema: ListEndUsersOutput,
|
|
174
174
|
}));
|
|
@@ -7,7 +7,7 @@ export interface ListEvmAccountsInput {
|
|
|
7
7
|
pageSize?: number;
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
}
|
|
10
|
-
export const ListEvmAccountsInput = /*@__PURE__*/
|
|
10
|
+
export const ListEvmAccountsInput = /*@__PURE__*/ Schema.Struct({
|
|
11
11
|
pageSize: Schema.optional(Schema.Number),
|
|
12
12
|
pageToken: Schema.optional(Schema.String),
|
|
13
13
|
}).pipe(
|
|
@@ -25,7 +25,7 @@ export interface ListEvmAccountsOutput {
|
|
|
25
25
|
}[];
|
|
26
26
|
nextPageToken?: string;
|
|
27
27
|
}
|
|
28
|
-
export const ListEvmAccountsOutput = /*@__PURE__*/
|
|
28
|
+
export const ListEvmAccountsOutput = /*@__PURE__*/ Schema.Struct({
|
|
29
29
|
accounts: Schema.Array(
|
|
30
30
|
Schema.Struct({
|
|
31
31
|
address: Schema.String,
|
|
@@ -48,7 +48,7 @@ export const ListEvmAccountsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
48
48
|
* @param pageSize - The number of resources to return per page.
|
|
49
49
|
* @param pageToken - The token for the next page of resources, if any.
|
|
50
50
|
*/
|
|
51
|
-
export const listEvmAccounts = /*@__PURE__*/
|
|
51
|
+
export const listEvmAccounts = /*@__PURE__*/ API.make(() => ({
|
|
52
52
|
inputSchema: ListEvmAccountsInput,
|
|
53
53
|
outputSchema: ListEvmAccountsOutput,
|
|
54
54
|
}));
|
|
@@ -8,7 +8,7 @@ export interface ListEvmSmartAccountsInput {
|
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
}
|
|
10
10
|
export const ListEvmSmartAccountsInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
pageSize: Schema.optional(Schema.Number),
|
|
13
13
|
pageToken: Schema.optional(Schema.String),
|
|
14
14
|
}).pipe(
|
|
@@ -28,7 +28,7 @@ export interface ListEvmSmartAccountsOutput {
|
|
|
28
28
|
nextPageToken?: string;
|
|
29
29
|
}
|
|
30
30
|
export const ListEvmSmartAccountsOutput =
|
|
31
|
-
/*@__PURE__*/
|
|
31
|
+
/*@__PURE__*/ Schema.Struct({
|
|
32
32
|
accounts: Schema.Array(
|
|
33
33
|
Schema.Struct({
|
|
34
34
|
address: Schema.String,
|
|
@@ -52,9 +52,7 @@ export const ListEvmSmartAccountsOutput =
|
|
|
52
52
|
* @param pageSize - The number of resources to return per page.
|
|
53
53
|
* @param pageToken - The token for the next page of resources, if any.
|
|
54
54
|
*/
|
|
55
|
-
export const listEvmSmartAccounts = /*@__PURE__*/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}),
|
|
60
|
-
);
|
|
55
|
+
export const listEvmSmartAccounts = /*@__PURE__*/ API.make(() => ({
|
|
56
|
+
inputSchema: ListEvmSmartAccountsInput,
|
|
57
|
+
outputSchema: ListEvmSmartAccountsOutput,
|
|
58
|
+
}));
|
|
@@ -10,7 +10,7 @@ export interface ListEvmTokenBalancesInput {
|
|
|
10
10
|
pageToken?: string;
|
|
11
11
|
}
|
|
12
12
|
export const ListEvmTokenBalancesInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
address: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
network: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
pageSize: Schema.optional(Schema.Number),
|
|
@@ -36,7 +36,7 @@ export interface ListEvmTokenBalancesOutput {
|
|
|
36
36
|
nextPageToken?: string;
|
|
37
37
|
}
|
|
38
38
|
export const ListEvmTokenBalancesOutput =
|
|
39
|
-
/*@__PURE__*/
|
|
39
|
+
/*@__PURE__*/ Schema.Struct({
|
|
40
40
|
balances: Schema.Array(
|
|
41
41
|
Schema.Struct({
|
|
42
42
|
amount: Schema.Struct({
|
|
@@ -66,9 +66,7 @@ export const ListEvmTokenBalancesOutput =
|
|
|
66
66
|
* @param pageSize - The number of resources to return per page.
|
|
67
67
|
* @param pageToken - The token for the next page of resources, if any.
|
|
68
68
|
*/
|
|
69
|
-
export const listEvmTokenBalances = /*@__PURE__*/
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}),
|
|
74
|
-
);
|
|
69
|
+
export const listEvmTokenBalances = /*@__PURE__*/ API.make(() => ({
|
|
70
|
+
inputSchema: ListEvmTokenBalancesInput,
|
|
71
|
+
outputSchema: ListEvmTokenBalancesOutput,
|
|
72
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface ListFoundationAccountsInput {
|
|
|
9
9
|
type?: string;
|
|
10
10
|
}
|
|
11
11
|
export const ListFoundationAccountsInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
pageSize: Schema.optional(Schema.Number),
|
|
14
14
|
pageToken: Schema.optional(Schema.String),
|
|
15
15
|
type: Schema.optional(Schema.String),
|
|
@@ -30,7 +30,7 @@ export interface ListFoundationAccountsOutput {
|
|
|
30
30
|
nextPageToken?: string;
|
|
31
31
|
}
|
|
32
32
|
export const ListFoundationAccountsOutput =
|
|
33
|
-
/*@__PURE__*/
|
|
33
|
+
/*@__PURE__*/ Schema.Struct({
|
|
34
34
|
accounts: Schema.Array(
|
|
35
35
|
Schema.Struct({
|
|
36
36
|
accountId: Schema.String,
|
|
@@ -54,9 +54,7 @@ export const ListFoundationAccountsOutput =
|
|
|
54
54
|
* @param pageToken - The token for the next page of resources, if any.
|
|
55
55
|
* @param type - Filter accounts by account type. When omitted, accounts of any type are returned. Combined with `owner` using AND.
|
|
56
56
|
*/
|
|
57
|
-
export const listFoundationAccounts = /*@__PURE__*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}),
|
|
62
|
-
);
|
|
57
|
+
export const listFoundationAccounts = /*@__PURE__*/ API.make(() => ({
|
|
58
|
+
inputSchema: ListFoundationAccountsInput,
|
|
59
|
+
outputSchema: ListFoundationAccountsOutput,
|
|
60
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface ListPaymentMethodsInput {
|
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
}
|
|
10
10
|
export const ListPaymentMethodsInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
pageSize: Schema.optional(Schema.Number),
|
|
13
13
|
pageToken: Schema.optional(Schema.String),
|
|
14
14
|
}).pipe(
|
|
@@ -62,7 +62,7 @@ export interface ListPaymentMethodsOutput {
|
|
|
62
62
|
nextPageToken?: string;
|
|
63
63
|
}
|
|
64
64
|
export const ListPaymentMethodsOutput =
|
|
65
|
-
/*@__PURE__*/
|
|
65
|
+
/*@__PURE__*/ Schema.Struct({
|
|
66
66
|
paymentMethods: Schema.Array(
|
|
67
67
|
Schema.Union([
|
|
68
68
|
Schema.Struct({
|
|
@@ -124,7 +124,7 @@ export const ListPaymentMethodsOutput =
|
|
|
124
124
|
* @param pageSize - The number of resources to return per page.
|
|
125
125
|
* @param pageToken - The token for the next page of resources, if any.
|
|
126
126
|
*/
|
|
127
|
-
export const listPaymentMethods = /*@__PURE__*/
|
|
127
|
+
export const listPaymentMethods = /*@__PURE__*/ API.make(() => ({
|
|
128
128
|
inputSchema: ListPaymentMethodsInput,
|
|
129
129
|
outputSchema: ListPaymentMethodsOutput,
|
|
130
130
|
}));
|
|
@@ -8,7 +8,7 @@ export interface ListPoliciesInput {
|
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
scope?: "project" | "account";
|
|
10
10
|
}
|
|
11
|
-
export const ListPoliciesInput = /*@__PURE__*/
|
|
11
|
+
export const ListPoliciesInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
pageSize: Schema.optional(Schema.Number),
|
|
13
13
|
pageToken: Schema.optional(Schema.String),
|
|
14
14
|
scope: Schema.optional(Schema.Literals(["project", "account"])),
|
|
@@ -28,7 +28,7 @@ export interface ListPoliciesOutput {
|
|
|
28
28
|
}[];
|
|
29
29
|
nextPageToken?: string;
|
|
30
30
|
}
|
|
31
|
-
export const ListPoliciesOutput = /*@__PURE__*/
|
|
31
|
+
export const ListPoliciesOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
32
|
policies: Schema.Array(
|
|
33
33
|
Schema.Struct({
|
|
34
34
|
id: Schema.String,
|
|
@@ -53,7 +53,7 @@ export const ListPoliciesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
53
53
|
* @param pageToken - The token for the next page of resources, if any.
|
|
54
54
|
* @param scope - The scope of the policies to return. If `project`, the response will include exactly one policy, which is the project-level policy. If `account`, the response will include all account-level policies for the developer's CDP Project.
|
|
55
55
|
*/
|
|
56
|
-
export const listPolicies = /*@__PURE__*/
|
|
56
|
+
export const listPolicies = /*@__PURE__*/ API.make(() => ({
|
|
57
57
|
inputSchema: ListPoliciesInput,
|
|
58
58
|
outputSchema: ListPoliciesOutput,
|
|
59
59
|
}));
|
|
@@ -8,7 +8,7 @@ export interface ListSolanaAccountsInput {
|
|
|
8
8
|
pageToken?: string;
|
|
9
9
|
}
|
|
10
10
|
export const ListSolanaAccountsInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
pageSize: Schema.optional(Schema.Number),
|
|
13
13
|
pageToken: Schema.optional(Schema.String),
|
|
14
14
|
}).pipe(
|
|
@@ -27,7 +27,7 @@ export interface ListSolanaAccountsOutput {
|
|
|
27
27
|
nextPageToken?: string;
|
|
28
28
|
}
|
|
29
29
|
export const ListSolanaAccountsOutput =
|
|
30
|
-
/*@__PURE__*/
|
|
30
|
+
/*@__PURE__*/ Schema.Struct({
|
|
31
31
|
accounts: Schema.Array(
|
|
32
32
|
Schema.Struct({
|
|
33
33
|
address: Schema.String,
|
|
@@ -51,7 +51,7 @@ export const ListSolanaAccountsOutput =
|
|
|
51
51
|
* @param pageSize - The number of resources to return per page.
|
|
52
52
|
* @param pageToken - The token for the next page of resources, if any.
|
|
53
53
|
*/
|
|
54
|
-
export const listSolanaAccounts = /*@__PURE__*/
|
|
54
|
+
export const listSolanaAccounts = /*@__PURE__*/ API.make(() => ({
|
|
55
55
|
inputSchema: ListSolanaAccountsInput,
|
|
56
56
|
outputSchema: ListSolanaAccountsOutput,
|
|
57
57
|
}));
|
|
@@ -10,7 +10,7 @@ export interface ListSolanaTokenBalancesInput {
|
|
|
10
10
|
pageToken?: string;
|
|
11
11
|
}
|
|
12
12
|
export const ListSolanaTokenBalancesInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
address: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
network: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
pageSize: Schema.optional(Schema.Number),
|
|
@@ -31,7 +31,7 @@ export interface ListSolanaTokenBalancesOutput {
|
|
|
31
31
|
nextPageToken?: string;
|
|
32
32
|
}
|
|
33
33
|
export const ListSolanaTokenBalancesOutput =
|
|
34
|
-
/*@__PURE__*/
|
|
34
|
+
/*@__PURE__*/ Schema.Struct({
|
|
35
35
|
balances: Schema.Array(
|
|
36
36
|
Schema.Struct({
|
|
37
37
|
amount: Schema.Struct({
|
|
@@ -60,9 +60,7 @@ export const ListSolanaTokenBalancesOutput =
|
|
|
60
60
|
* @param pageSize - The number of balances to return per page.
|
|
61
61
|
* @param pageToken - The token for the next page of balances. Will be empty if there are no more balances to fetch.
|
|
62
62
|
*/
|
|
63
|
-
export const listSolanaTokenBalances = /*@__PURE__*/
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}),
|
|
68
|
-
);
|
|
63
|
+
export const listSolanaTokenBalances = /*@__PURE__*/ API.make(() => ({
|
|
64
|
+
inputSchema: ListSolanaTokenBalancesInput,
|
|
65
|
+
outputSchema: ListSolanaTokenBalancesOutput,
|
|
66
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface ListSpendPermissionsInput {
|
|
|
9
9
|
pageToken?: string;
|
|
10
10
|
}
|
|
11
11
|
export const ListSpendPermissionsInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
address: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
pageSize: Schema.optional(Schema.Number),
|
|
15
15
|
pageToken: Schema.optional(Schema.String),
|
|
@@ -51,7 +51,7 @@ export interface ListSpendPermissionsOutput {
|
|
|
51
51
|
nextPageToken?: string;
|
|
52
52
|
}
|
|
53
53
|
export const ListSpendPermissionsOutput =
|
|
54
|
-
/*@__PURE__*/
|
|
54
|
+
/*@__PURE__*/ Schema.Struct({
|
|
55
55
|
spendPermissions: Schema.Array(
|
|
56
56
|
Schema.Struct({
|
|
57
57
|
permission: Schema.Struct({
|
|
@@ -94,9 +94,7 @@ export const ListSpendPermissionsOutput =
|
|
|
94
94
|
* @param pageSize - The number of spend permissions to return per page.
|
|
95
95
|
* @param pageToken - The token for the next page of spend permissions. Will be empty if there are no more spend permissions to fetch.
|
|
96
96
|
*/
|
|
97
|
-
export const listSpendPermissions = /*@__PURE__*/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}),
|
|
102
|
-
);
|
|
97
|
+
export const listSpendPermissions = /*@__PURE__*/ API.make(() => ({
|
|
98
|
+
inputSchema: ListSpendPermissionsInput,
|
|
99
|
+
outputSchema: ListSpendPermissionsOutput,
|
|
100
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface ListTokensForAccountInput {
|
|
|
8
8
|
address: string;
|
|
9
9
|
}
|
|
10
10
|
export const ListTokensForAccountInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
network: Schema.Literals(["base", "base-sepolia"]).pipe(T.PathParam()),
|
|
13
13
|
address: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
@@ -25,7 +25,7 @@ export interface ListTokensForAccountOutput {
|
|
|
25
25
|
totalCount?: number;
|
|
26
26
|
}
|
|
27
27
|
export const ListTokensForAccountOutput =
|
|
28
|
-
/*@__PURE__*/
|
|
28
|
+
/*@__PURE__*/ Schema.Struct({
|
|
29
29
|
accountAddress: Schema.optional(Schema.String),
|
|
30
30
|
tokenAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
31
31
|
totalCount: Schema.optional(Schema.Number),
|
|
@@ -41,9 +41,7 @@ export const ListTokensForAccountOutput =
|
|
|
41
41
|
* @param network - The blockchain network to query.
|
|
42
42
|
* @param address - The account address to analyze for token interactions.
|
|
43
43
|
*/
|
|
44
|
-
export const listTokensForAccount = /*@__PURE__*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
);
|
|
44
|
+
export const listTokensForAccount = /*@__PURE__*/ API.make(() => ({
|
|
45
|
+
inputSchema: ListTokensForAccountInput,
|
|
46
|
+
outputSchema: ListTokensForAccountOutput,
|
|
47
|
+
}));
|
|
@@ -21,7 +21,7 @@ export interface ListTransfersInput {
|
|
|
21
21
|
pageSize?: number;
|
|
22
22
|
pageToken?: string;
|
|
23
23
|
}
|
|
24
|
-
export const ListTransfersInput = /*@__PURE__*/
|
|
24
|
+
export const ListTransfersInput = /*@__PURE__*/ Schema.Struct({
|
|
25
25
|
status: Schema.optional(Schema.String),
|
|
26
26
|
accountId: Schema.optional(Schema.String),
|
|
27
27
|
sourceAccountId: Schema.optional(Schema.String),
|
|
@@ -139,7 +139,7 @@ export interface ListTransfersOutput {
|
|
|
139
139
|
}[];
|
|
140
140
|
nextPageToken?: string;
|
|
141
141
|
}
|
|
142
|
-
export const ListTransfersOutput = /*@__PURE__*/
|
|
142
|
+
export const ListTransfersOutput = /*@__PURE__*/ Schema.Struct({
|
|
143
143
|
transfers: Schema.Array(
|
|
144
144
|
Schema.Struct({
|
|
145
145
|
transferId: Schema.optional(Schema.String),
|
|
@@ -349,7 +349,7 @@ export const ListTransfersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
349
349
|
* @param pageSize - The number of resources to return per page.
|
|
350
350
|
* @param pageToken - The token for the next page of resources, if any.
|
|
351
351
|
*/
|
|
352
|
-
export const listTransfers = /*@__PURE__*/
|
|
352
|
+
export const listTransfers = /*@__PURE__*/ API.make(() => ({
|
|
353
353
|
inputSchema: ListTransfersInput,
|
|
354
354
|
outputSchema: ListTransfersOutput,
|
|
355
355
|
}));
|
|
@@ -11,7 +11,7 @@ export interface ListWebhookSubscriptionEventsInput {
|
|
|
11
11
|
eventTypeNames?: string;
|
|
12
12
|
}
|
|
13
13
|
export const ListWebhookSubscriptionEventsInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
eventId: Schema.optional(Schema.String),
|
|
17
17
|
minCreatedAt: Schema.optional(Schema.String),
|
|
@@ -42,7 +42,7 @@ export interface ListWebhookSubscriptionEventsOutput {
|
|
|
42
42
|
}[];
|
|
43
43
|
}
|
|
44
44
|
export const ListWebhookSubscriptionEventsOutput =
|
|
45
|
-
/*@__PURE__*/
|
|
45
|
+
/*@__PURE__*/ Schema.Struct({
|
|
46
46
|
events: Schema.Array(
|
|
47
47
|
Schema.Struct({
|
|
48
48
|
eventId: Schema.String,
|
|
@@ -95,7 +95,7 @@ export const ListWebhookSubscriptionEventsOutput =
|
|
|
95
95
|
* @param eventTypeNames - Filter by event type names (comma-separated).
|
|
96
96
|
*/
|
|
97
97
|
export const listWebhookSubscriptionEvents =
|
|
98
|
-
/*@__PURE__*/
|
|
98
|
+
/*@__PURE__*/ API.make(() => ({
|
|
99
99
|
inputSchema: ListWebhookSubscriptionEventsInput,
|
|
100
100
|
outputSchema: ListWebhookSubscriptionEventsOutput,
|
|
101
101
|
}));
|
|
@@ -10,7 +10,7 @@ export interface ListWebhookSubscriptionsInput {
|
|
|
10
10
|
pageToken?: string;
|
|
11
11
|
}
|
|
12
12
|
export const ListWebhookSubscriptionsInput =
|
|
13
|
-
/*@__PURE__*/
|
|
13
|
+
/*@__PURE__*/ Schema.Struct({
|
|
14
14
|
pageSize: Schema.optional(Schema.Number),
|
|
15
15
|
pageToken: Schema.optional(Schema.String),
|
|
16
16
|
}).pipe(
|
|
@@ -58,7 +58,7 @@ export interface ListWebhookSubscriptionsOutput {
|
|
|
58
58
|
nextPageToken?: string;
|
|
59
59
|
}
|
|
60
60
|
export const ListWebhookSubscriptionsOutput =
|
|
61
|
-
/*@__PURE__*/
|
|
61
|
+
/*@__PURE__*/ Schema.Struct({
|
|
62
62
|
subscriptions: Schema.Array(
|
|
63
63
|
Schema.Struct({
|
|
64
64
|
createdAt: Schema.String,
|
|
@@ -124,9 +124,7 @@ export const ListWebhookSubscriptionsOutput =
|
|
|
124
124
|
* @param pageSize - The number of subscriptions to return per page.
|
|
125
125
|
* @param pageToken - The token for the next page of subscriptions, if any.
|
|
126
126
|
*/
|
|
127
|
-
export const listWebhookSubscriptions = /*@__PURE__*/
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}),
|
|
132
|
-
);
|
|
127
|
+
export const listWebhookSubscriptions = /*@__PURE__*/ API.make(() => ({
|
|
128
|
+
inputSchema: ListWebhookSubscriptionsInput,
|
|
129
|
+
outputSchema: ListWebhookSubscriptionsOutput,
|
|
130
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface ListX402DiscoveryMerchantInput {
|
|
|
9
9
|
offset?: number;
|
|
10
10
|
}
|
|
11
11
|
export const ListX402DiscoveryMerchantInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
payTo: Schema.String,
|
|
14
14
|
limit: Schema.optional(Schema.Number),
|
|
15
15
|
offset: Schema.optional(Schema.Number),
|
|
@@ -72,7 +72,7 @@ export interface ListX402DiscoveryMerchantOutput {
|
|
|
72
72
|
pagination: { limit?: number; offset?: number; total?: number };
|
|
73
73
|
}
|
|
74
74
|
export const ListX402DiscoveryMerchantOutput =
|
|
75
|
-
/*@__PURE__*/
|
|
75
|
+
/*@__PURE__*/ Schema.Struct({
|
|
76
76
|
x402Version: Schema.Literals([1, 2]),
|
|
77
77
|
payTo: Schema.String,
|
|
78
78
|
resources: Schema.Array(
|
|
@@ -166,9 +166,7 @@ This is the onchain address that payment requirements route funds to.
|
|
|
166
166
|
* @param limit - The number of resources to return per page.
|
|
167
167
|
* @param offset - The offset of the first resource to return.
|
|
168
168
|
*/
|
|
169
|
-
export const listX402DiscoveryMerchant = /*@__PURE__*/
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}),
|
|
174
|
-
);
|
|
169
|
+
export const listX402DiscoveryMerchant = /*@__PURE__*/ API.make(() => ({
|
|
170
|
+
inputSchema: ListX402DiscoveryMerchantInput,
|
|
171
|
+
outputSchema: ListX402DiscoveryMerchantOutput,
|
|
172
|
+
}));
|
|
@@ -9,7 +9,7 @@ export interface ListX402DiscoveryResourcesInput {
|
|
|
9
9
|
offset?: number;
|
|
10
10
|
}
|
|
11
11
|
export const ListX402DiscoveryResourcesInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
type: Schema.optional(Schema.String),
|
|
14
14
|
limit: Schema.optional(Schema.Number),
|
|
15
15
|
offset: Schema.optional(Schema.Number),
|
|
@@ -71,7 +71,7 @@ export interface ListX402DiscoveryResourcesOutput {
|
|
|
71
71
|
pagination: { limit?: number; offset?: number; total?: number };
|
|
72
72
|
}
|
|
73
73
|
export const ListX402DiscoveryResourcesOutput =
|
|
74
|
-
/*@__PURE__*/
|
|
74
|
+
/*@__PURE__*/ Schema.Struct({
|
|
75
75
|
x402Version: Schema.Literals([1, 2]),
|
|
76
76
|
items: Schema.Array(
|
|
77
77
|
Schema.Struct({
|
|
@@ -163,9 +163,7 @@ Currently, the only supported protocol type is "http".
|
|
|
163
163
|
* @param limit - The number of discovered x402 resources to return per page.
|
|
164
164
|
* @param offset - The offset of the first discovered x402 resource to return.
|
|
165
165
|
*/
|
|
166
|
-
export const listX402DiscoveryResources = /*@__PURE__*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}),
|
|
171
|
-
);
|
|
166
|
+
export const listX402DiscoveryResources = /*@__PURE__*/ API.make(() => ({
|
|
167
|
+
inputSchema: ListX402DiscoveryResourcesInput,
|
|
168
|
+
outputSchema: ListX402DiscoveryResourcesOutput,
|
|
169
|
+
}));
|
|
@@ -10,7 +10,7 @@ export interface LookupEndUserInput {
|
|
|
10
10
|
phoneNumber?: string;
|
|
11
11
|
siweAddress?: string;
|
|
12
12
|
}
|
|
13
|
-
export const LookupEndUserInput = /*@__PURE__*/
|
|
13
|
+
export const LookupEndUserInput = /*@__PURE__*/ Schema.Struct({
|
|
14
14
|
email: Schema.optional(Schema.String),
|
|
15
15
|
oauthProvider: Schema.optional(Schema.String),
|
|
16
16
|
oauthSubject: Schema.optional(Schema.String),
|
|
@@ -64,7 +64,7 @@ export interface LookupEndUserOutput {
|
|
|
64
64
|
createdAt: string;
|
|
65
65
|
}[];
|
|
66
66
|
}
|
|
67
|
-
export const LookupEndUserOutput = /*@__PURE__*/
|
|
67
|
+
export const LookupEndUserOutput = /*@__PURE__*/ Schema.Struct({
|
|
68
68
|
endUsers: Schema.Array(
|
|
69
69
|
Schema.Struct({
|
|
70
70
|
userId: Schema.String,
|
|
@@ -182,7 +182,7 @@ export const LookupEndUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
182
182
|
* @param phoneNumber - The E.164-formatted phone number to search for. Must be URL-encoded when passed as a query parameter (e.g. `+14155552671` → `%2B14155552671`).
|
|
183
183
|
* @param siweAddress - The ERC-55 checksummed Ethereum address to search for. Looks up a user by the address they authenticated with via Sign In With Ethereum (EIP-4361).
|
|
184
184
|
*/
|
|
185
|
-
export const lookupEndUser = /*@__PURE__*/
|
|
185
|
+
export const lookupEndUser = /*@__PURE__*/ API.make(() => ({
|
|
186
186
|
inputSchema: LookupEndUserInput,
|
|
187
187
|
outputSchema: LookupEndUserOutput,
|
|
188
188
|
}));
|