@distilled.cloud/coinbase 0.29.0 → 0.30.0
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 +3 -2
- 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
|
@@ -231,89 +231,13 @@ export interface SettleX402PaymentInput {
|
|
|
231
231
|
extra?: Record<string, unknown>;
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
export const SettleX402PaymentInput = /*@__PURE__*/
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
Schema.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
accepted: Schema.Struct({
|
|
242
|
-
scheme: Schema.Literals(["exact", "upto", "batch-settlement"]),
|
|
243
|
-
network: Schema.Literals([
|
|
244
|
-
"eip155:8453",
|
|
245
|
-
"eip155:84532",
|
|
246
|
-
"eip155:137",
|
|
247
|
-
"eip155:42161",
|
|
248
|
-
"eip155:480",
|
|
249
|
-
"eip155:4801",
|
|
250
|
-
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
|
|
251
|
-
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
|
|
252
|
-
]),
|
|
253
|
-
asset: Schema.String,
|
|
254
|
-
amount: Schema.String,
|
|
255
|
-
payTo: Schema.String,
|
|
256
|
-
maxTimeoutSeconds: Schema.Number,
|
|
257
|
-
extra: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
258
|
-
}),
|
|
259
|
-
resource: Schema.optional(
|
|
260
|
-
Schema.Struct({
|
|
261
|
-
url: Schema.optional(Schema.String),
|
|
262
|
-
description: Schema.optional(Schema.String),
|
|
263
|
-
mimeType: Schema.optional(Schema.String),
|
|
264
|
-
}),
|
|
265
|
-
),
|
|
266
|
-
extensions: Schema.optional(
|
|
267
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
268
|
-
),
|
|
269
|
-
}),
|
|
270
|
-
Schema.Struct({
|
|
271
|
-
x402Version: Schema.Literals([1, 2]),
|
|
272
|
-
scheme: Schema.Literals(["exact"]),
|
|
273
|
-
network: Schema.Literals([
|
|
274
|
-
"base",
|
|
275
|
-
"base-sepolia",
|
|
276
|
-
"solana",
|
|
277
|
-
"solana-devnet",
|
|
278
|
-
]),
|
|
279
|
-
payload: Schema.Union([
|
|
280
|
-
Schema.Struct({
|
|
281
|
-
signature: Schema.String,
|
|
282
|
-
authorization: Schema.Struct({
|
|
283
|
-
from: Schema.String,
|
|
284
|
-
to: Schema.String,
|
|
285
|
-
value: Schema.String,
|
|
286
|
-
validAfter: Schema.String,
|
|
287
|
-
validBefore: Schema.String,
|
|
288
|
-
nonce: Schema.String,
|
|
289
|
-
}),
|
|
290
|
-
}),
|
|
291
|
-
Schema.Struct({
|
|
292
|
-
signature: Schema.String,
|
|
293
|
-
permit2Authorization: Schema.Struct({
|
|
294
|
-
from: Schema.String,
|
|
295
|
-
permitted: Schema.Struct({
|
|
296
|
-
token: Schema.String,
|
|
297
|
-
amount: Schema.String,
|
|
298
|
-
}),
|
|
299
|
-
spender: Schema.String,
|
|
300
|
-
nonce: Schema.String,
|
|
301
|
-
deadline: Schema.String,
|
|
302
|
-
witness: Schema.Struct({
|
|
303
|
-
to: Schema.String,
|
|
304
|
-
validAfter: Schema.String,
|
|
305
|
-
extra: Schema.optional(Schema.String),
|
|
306
|
-
}),
|
|
307
|
-
}),
|
|
308
|
-
}),
|
|
309
|
-
Schema.Struct({
|
|
310
|
-
transaction: Schema.String,
|
|
311
|
-
}),
|
|
312
|
-
]),
|
|
313
|
-
}),
|
|
314
|
-
]),
|
|
315
|
-
paymentRequirements: Schema.Union([
|
|
316
|
-
Schema.Struct({
|
|
234
|
+
export const SettleX402PaymentInput = /*@__PURE__*/ Schema.Struct({
|
|
235
|
+
x402Version: Schema.Literals([1, 2]),
|
|
236
|
+
paymentPayload: Schema.Union([
|
|
237
|
+
Schema.Struct({
|
|
238
|
+
x402Version: Schema.Literals([1, 2]),
|
|
239
|
+
payload: Schema.Unknown,
|
|
240
|
+
accepted: Schema.Struct({
|
|
317
241
|
scheme: Schema.Literals(["exact", "upto", "batch-settlement"]),
|
|
318
242
|
network: Schema.Literals([
|
|
319
243
|
"eip155:8453",
|
|
@@ -331,29 +255,101 @@ export const SettleX402PaymentInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
331
255
|
maxTimeoutSeconds: Schema.Number,
|
|
332
256
|
extra: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
333
257
|
}),
|
|
334
|
-
Schema.
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
258
|
+
resource: Schema.optional(
|
|
259
|
+
Schema.Struct({
|
|
260
|
+
url: Schema.optional(Schema.String),
|
|
261
|
+
description: Schema.optional(Schema.String),
|
|
262
|
+
mimeType: Schema.optional(Schema.String),
|
|
263
|
+
}),
|
|
264
|
+
),
|
|
265
|
+
extensions: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
266
|
+
}),
|
|
267
|
+
Schema.Struct({
|
|
268
|
+
x402Version: Schema.Literals([1, 2]),
|
|
269
|
+
scheme: Schema.Literals(["exact"]),
|
|
270
|
+
network: Schema.Literals([
|
|
271
|
+
"base",
|
|
272
|
+
"base-sepolia",
|
|
273
|
+
"solana",
|
|
274
|
+
"solana-devnet",
|
|
275
|
+
]),
|
|
276
|
+
payload: Schema.Union([
|
|
277
|
+
Schema.Struct({
|
|
278
|
+
signature: Schema.String,
|
|
279
|
+
authorization: Schema.Struct({
|
|
280
|
+
from: Schema.String,
|
|
281
|
+
to: Schema.String,
|
|
282
|
+
value: Schema.String,
|
|
283
|
+
validAfter: Schema.String,
|
|
284
|
+
validBefore: Schema.String,
|
|
285
|
+
nonce: Schema.String,
|
|
286
|
+
}),
|
|
287
|
+
}),
|
|
288
|
+
Schema.Struct({
|
|
289
|
+
signature: Schema.String,
|
|
290
|
+
permit2Authorization: Schema.Struct({
|
|
291
|
+
from: Schema.String,
|
|
292
|
+
permitted: Schema.Struct({
|
|
293
|
+
token: Schema.String,
|
|
294
|
+
amount: Schema.String,
|
|
295
|
+
}),
|
|
296
|
+
spender: Schema.String,
|
|
297
|
+
nonce: Schema.String,
|
|
298
|
+
deadline: Schema.String,
|
|
299
|
+
witness: Schema.Struct({
|
|
300
|
+
to: Schema.String,
|
|
301
|
+
validAfter: Schema.String,
|
|
302
|
+
extra: Schema.optional(Schema.String),
|
|
303
|
+
}),
|
|
304
|
+
}),
|
|
305
|
+
}),
|
|
306
|
+
Schema.Struct({
|
|
307
|
+
transaction: Schema.String,
|
|
308
|
+
}),
|
|
309
|
+
]),
|
|
310
|
+
}),
|
|
311
|
+
]),
|
|
312
|
+
paymentRequirements: Schema.Union([
|
|
313
|
+
Schema.Struct({
|
|
314
|
+
scheme: Schema.Literals(["exact", "upto", "batch-settlement"]),
|
|
315
|
+
network: Schema.Literals([
|
|
316
|
+
"eip155:8453",
|
|
317
|
+
"eip155:84532",
|
|
318
|
+
"eip155:137",
|
|
319
|
+
"eip155:42161",
|
|
320
|
+
"eip155:480",
|
|
321
|
+
"eip155:4801",
|
|
322
|
+
"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
|
|
323
|
+
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
|
|
324
|
+
]),
|
|
325
|
+
asset: Schema.String,
|
|
326
|
+
amount: Schema.String,
|
|
327
|
+
payTo: Schema.String,
|
|
328
|
+
maxTimeoutSeconds: Schema.Number,
|
|
329
|
+
extra: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
330
|
+
}),
|
|
331
|
+
Schema.Struct({
|
|
332
|
+
scheme: Schema.Literals(["exact"]),
|
|
333
|
+
network: Schema.Literals([
|
|
334
|
+
"base",
|
|
335
|
+
"base-sepolia",
|
|
336
|
+
"solana",
|
|
337
|
+
"solana-devnet",
|
|
338
|
+
]),
|
|
339
|
+
maxAmountRequired: Schema.String,
|
|
340
|
+
resource: Schema.String,
|
|
341
|
+
description: Schema.String,
|
|
342
|
+
mimeType: Schema.String,
|
|
343
|
+
outputSchema: Schema.optional(
|
|
344
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
345
|
+
),
|
|
346
|
+
payTo: Schema.String,
|
|
347
|
+
maxTimeoutSeconds: Schema.Number,
|
|
348
|
+
asset: Schema.String,
|
|
349
|
+
extra: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
350
|
+
}),
|
|
351
|
+
]),
|
|
352
|
+
}).pipe(
|
|
357
353
|
T.Http({ method: "POST", path: "/v2/x402/settle" }),
|
|
358
354
|
) as unknown as Schema.Codec<SettleX402PaymentInput>;
|
|
359
355
|
|
|
@@ -583,7 +579,7 @@ export interface SettleX402PaymentOutput {
|
|
|
583
579
|
extra?: Record<string, unknown>;
|
|
584
580
|
}
|
|
585
581
|
export const SettleX402PaymentOutput =
|
|
586
|
-
/*@__PURE__*/
|
|
582
|
+
/*@__PURE__*/ Schema.Struct({
|
|
587
583
|
success: Schema.Boolean,
|
|
588
584
|
errorReason: Schema.optional(
|
|
589
585
|
Schema.Literals([
|
|
@@ -817,7 +813,7 @@ export const SettleX402PaymentOutput =
|
|
|
817
813
|
*
|
|
818
814
|
* Settle an x402 protocol payment with a specific scheme and network.
|
|
819
815
|
*/
|
|
820
|
-
export const settleX402Payment = /*@__PURE__*/
|
|
816
|
+
export const settleX402Payment = /*@__PURE__*/ API.make(() => ({
|
|
821
817
|
inputSchema: SettleX402PaymentInput,
|
|
822
818
|
outputSchema: SettleX402PaymentOutput,
|
|
823
819
|
}));
|
|
@@ -7,7 +7,7 @@ export interface SignEvmHashInput {
|
|
|
7
7
|
address: string;
|
|
8
8
|
hash: string;
|
|
9
9
|
}
|
|
10
|
-
export const SignEvmHashInput = /*@__PURE__*/
|
|
10
|
+
export const SignEvmHashInput = /*@__PURE__*/ Schema.Struct({
|
|
11
11
|
address: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
hash: Schema.String,
|
|
13
13
|
}).pipe(
|
|
@@ -18,7 +18,7 @@ export const SignEvmHashInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
18
18
|
export interface SignEvmHashOutput {
|
|
19
19
|
signature: string;
|
|
20
20
|
}
|
|
21
|
-
export const SignEvmHashOutput = /*@__PURE__*/
|
|
21
|
+
export const SignEvmHashOutput = /*@__PURE__*/ Schema.Struct({
|
|
22
22
|
signature: Schema.String,
|
|
23
23
|
}) as unknown as Schema.Codec<SignEvmHashOutput>;
|
|
24
24
|
|
|
@@ -38,7 +38,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
38
38
|
|
|
39
39
|
* @param address - The 0x-prefixed address of the EVM account.
|
|
40
40
|
*/
|
|
41
|
-
export const signEvmHash = /*@__PURE__*/
|
|
41
|
+
export const signEvmHash = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: SignEvmHashInput,
|
|
43
43
|
outputSchema: SignEvmHashOutput,
|
|
44
44
|
}));
|
|
@@ -7,7 +7,7 @@ export interface SignEvmMessageInput {
|
|
|
7
7
|
address: string;
|
|
8
8
|
message: string;
|
|
9
9
|
}
|
|
10
|
-
export const SignEvmMessageInput = /*@__PURE__*/
|
|
10
|
+
export const SignEvmMessageInput = /*@__PURE__*/ Schema.Struct({
|
|
11
11
|
address: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
message: Schema.String,
|
|
13
13
|
}).pipe(
|
|
@@ -18,7 +18,7 @@ export const SignEvmMessageInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
18
18
|
export interface SignEvmMessageOutput {
|
|
19
19
|
signature: string;
|
|
20
20
|
}
|
|
21
|
-
export const SignEvmMessageOutput = /*@__PURE__*/
|
|
21
|
+
export const SignEvmMessageOutput = /*@__PURE__*/ Schema.Struct({
|
|
22
22
|
signature: Schema.String,
|
|
23
23
|
}) as unknown as Schema.Codec<SignEvmMessageOutput>;
|
|
24
24
|
|
|
@@ -39,7 +39,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
39
39
|
|
|
40
40
|
* @param address - The 0x-prefixed address of the EVM account.
|
|
41
41
|
*/
|
|
42
|
-
export const signEvmMessage = /*@__PURE__*/
|
|
42
|
+
export const signEvmMessage = /*@__PURE__*/ API.make(() => ({
|
|
43
43
|
inputSchema: SignEvmMessageInput,
|
|
44
44
|
outputSchema: SignEvmMessageOutput,
|
|
45
45
|
}));
|
|
@@ -11,7 +11,7 @@ export interface SignEvmMessageWithEndUserAccountInput {
|
|
|
11
11
|
walletSecretId?: string;
|
|
12
12
|
}
|
|
13
13
|
export const SignEvmMessageWithEndUserAccountInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
userId: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
projectID: Schema.optional(Schema.String),
|
|
17
17
|
address: Schema.String,
|
|
@@ -29,7 +29,7 @@ export interface SignEvmMessageWithEndUserAccountOutput {
|
|
|
29
29
|
signature: string;
|
|
30
30
|
}
|
|
31
31
|
export const SignEvmMessageWithEndUserAccountOutput =
|
|
32
|
-
/*@__PURE__*/
|
|
32
|
+
/*@__PURE__*/ Schema.Struct({
|
|
33
33
|
signature: Schema.String,
|
|
34
34
|
}) as unknown as Schema.Codec<SignEvmMessageWithEndUserAccountOutput>;
|
|
35
35
|
|
|
@@ -56,7 +56,7 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
56
56
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
57
57
|
*/
|
|
58
58
|
export const signEvmMessageWithEndUserAccount =
|
|
59
|
-
/*@__PURE__*/
|
|
59
|
+
/*@__PURE__*/ API.make(() => ({
|
|
60
60
|
inputSchema: SignEvmMessageWithEndUserAccountInput,
|
|
61
61
|
outputSchema: SignEvmMessageWithEndUserAccountOutput,
|
|
62
62
|
}));
|
|
@@ -8,7 +8,7 @@ export interface SignEvmTransactionInput {
|
|
|
8
8
|
transaction: string;
|
|
9
9
|
}
|
|
10
10
|
export const SignEvmTransactionInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
address: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
transaction: Schema.String,
|
|
14
14
|
}).pipe(
|
|
@@ -23,7 +23,7 @@ export interface SignEvmTransactionOutput {
|
|
|
23
23
|
signedTransaction: string;
|
|
24
24
|
}
|
|
25
25
|
export const SignEvmTransactionOutput =
|
|
26
|
-
/*@__PURE__*/
|
|
26
|
+
/*@__PURE__*/ Schema.Struct({
|
|
27
27
|
signedTransaction: Schema.String,
|
|
28
28
|
}) as unknown as Schema.Codec<SignEvmTransactionOutput>;
|
|
29
29
|
|
|
@@ -45,7 +45,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
45
45
|
|
|
46
46
|
* @param address - The 0x-prefixed address of the EVM account.
|
|
47
47
|
*/
|
|
48
|
-
export const signEvmTransaction = /*@__PURE__*/
|
|
48
|
+
export const signEvmTransaction = /*@__PURE__*/ API.make(() => ({
|
|
49
49
|
inputSchema: SignEvmTransactionInput,
|
|
50
50
|
outputSchema: SignEvmTransactionOutput,
|
|
51
51
|
}));
|
|
@@ -11,7 +11,7 @@ export interface SignEvmTransactionWithEndUserAccountInput {
|
|
|
11
11
|
walletSecretId?: string;
|
|
12
12
|
}
|
|
13
13
|
export const SignEvmTransactionWithEndUserAccountInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
userId: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
projectID: Schema.optional(Schema.String),
|
|
17
17
|
address: Schema.String,
|
|
@@ -29,7 +29,7 @@ export interface SignEvmTransactionWithEndUserAccountOutput {
|
|
|
29
29
|
signedTransaction: string;
|
|
30
30
|
}
|
|
31
31
|
export const SignEvmTransactionWithEndUserAccountOutput =
|
|
32
|
-
/*@__PURE__*/
|
|
32
|
+
/*@__PURE__*/ Schema.Struct({
|
|
33
33
|
signedTransaction: Schema.String,
|
|
34
34
|
}) as unknown as Schema.Codec<SignEvmTransactionWithEndUserAccountOutput>;
|
|
35
35
|
|
|
@@ -57,7 +57,7 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
57
57
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
58
58
|
*/
|
|
59
59
|
export const signEvmTransactionWithEndUserAccount =
|
|
60
|
-
/*@__PURE__*/
|
|
60
|
+
/*@__PURE__*/ API.make(() => ({
|
|
61
61
|
inputSchema: SignEvmTransactionWithEndUserAccountInput,
|
|
62
62
|
outputSchema: SignEvmTransactionWithEndUserAccountOutput,
|
|
63
63
|
}));
|
|
@@ -16,7 +16,7 @@ export interface SignEvmTypedDataInput {
|
|
|
16
16
|
primaryType: string;
|
|
17
17
|
message: unknown;
|
|
18
18
|
}
|
|
19
|
-
export const SignEvmTypedDataInput = /*@__PURE__*/
|
|
19
|
+
export const SignEvmTypedDataInput = /*@__PURE__*/ Schema.Struct({
|
|
20
20
|
address: Schema.String.pipe(T.PathParam()),
|
|
21
21
|
domain: Schema.Struct({
|
|
22
22
|
name: Schema.optional(Schema.String),
|
|
@@ -39,11 +39,9 @@ export const SignEvmTypedDataInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
39
39
|
export interface SignEvmTypedDataOutput {
|
|
40
40
|
signature: string;
|
|
41
41
|
}
|
|
42
|
-
export const SignEvmTypedDataOutput = /*@__PURE__*/
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
) as unknown as Schema.Codec<SignEvmTypedDataOutput>;
|
|
42
|
+
export const SignEvmTypedDataOutput = /*@__PURE__*/ Schema.Struct({
|
|
43
|
+
signature: Schema.String,
|
|
44
|
+
}) as unknown as Schema.Codec<SignEvmTypedDataOutput>;
|
|
47
45
|
|
|
48
46
|
// The operation
|
|
49
47
|
/**
|
|
@@ -61,7 +59,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
61
59
|
|
|
62
60
|
* @param address - The 0x-prefixed address of the EVM account.
|
|
63
61
|
*/
|
|
64
|
-
export const signEvmTypedData = /*@__PURE__*/
|
|
62
|
+
export const signEvmTypedData = /*@__PURE__*/ API.make(() => ({
|
|
65
63
|
inputSchema: SignEvmTypedDataInput,
|
|
66
64
|
outputSchema: SignEvmTypedDataOutput,
|
|
67
65
|
}));
|
|
@@ -22,7 +22,7 @@ export interface SignEvmTypedDataWithEndUserAccountInput {
|
|
|
22
22
|
walletSecretId?: string;
|
|
23
23
|
}
|
|
24
24
|
export const SignEvmTypedDataWithEndUserAccountInput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Struct({
|
|
26
26
|
userId: Schema.String.pipe(T.PathParam()),
|
|
27
27
|
projectID: Schema.optional(Schema.String),
|
|
28
28
|
address: Schema.String,
|
|
@@ -51,7 +51,7 @@ export interface SignEvmTypedDataWithEndUserAccountOutput {
|
|
|
51
51
|
signature: string;
|
|
52
52
|
}
|
|
53
53
|
export const SignEvmTypedDataWithEndUserAccountOutput =
|
|
54
|
-
/*@__PURE__*/
|
|
54
|
+
/*@__PURE__*/ Schema.Struct({
|
|
55
55
|
signature: Schema.String,
|
|
56
56
|
}) as unknown as Schema.Codec<SignEvmTypedDataWithEndUserAccountOutput>;
|
|
57
57
|
|
|
@@ -77,7 +77,7 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
77
77
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
78
78
|
*/
|
|
79
79
|
export const signEvmTypedDataWithEndUserAccount =
|
|
80
|
-
/*@__PURE__*/
|
|
80
|
+
/*@__PURE__*/ API.make(() => ({
|
|
81
81
|
inputSchema: SignEvmTypedDataWithEndUserAccountInput,
|
|
82
82
|
outputSchema: SignEvmTypedDataWithEndUserAccountOutput,
|
|
83
83
|
}));
|
|
@@ -7,12 +7,10 @@ export interface SignSolanaMessageInput {
|
|
|
7
7
|
address: string;
|
|
8
8
|
message: string;
|
|
9
9
|
}
|
|
10
|
-
export const SignSolanaMessageInput = /*@__PURE__*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
).pipe(
|
|
10
|
+
export const SignSolanaMessageInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
+
address: Schema.String.pipe(T.PathParam()),
|
|
12
|
+
message: Schema.String,
|
|
13
|
+
}).pipe(
|
|
16
14
|
T.Http({
|
|
17
15
|
method: "POST",
|
|
18
16
|
path: "/v2/solana/accounts/{address}/sign/message",
|
|
@@ -24,7 +22,7 @@ export interface SignSolanaMessageOutput {
|
|
|
24
22
|
signature: string;
|
|
25
23
|
}
|
|
26
24
|
export const SignSolanaMessageOutput =
|
|
27
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Struct({
|
|
28
26
|
signature: Schema.String,
|
|
29
27
|
}) as unknown as Schema.Codec<SignSolanaMessageOutput>;
|
|
30
28
|
|
|
@@ -45,7 +43,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
45
43
|
|
|
46
44
|
* @param address - The base58 encoded address of the Solana account.
|
|
47
45
|
*/
|
|
48
|
-
export const signSolanaMessage = /*@__PURE__*/
|
|
46
|
+
export const signSolanaMessage = /*@__PURE__*/ API.make(() => ({
|
|
49
47
|
inputSchema: SignSolanaMessageInput,
|
|
50
48
|
outputSchema: SignSolanaMessageOutput,
|
|
51
49
|
}));
|
|
@@ -11,7 +11,7 @@ export interface SignSolanaMessageWithEndUserAccountInput {
|
|
|
11
11
|
walletSecretId?: string;
|
|
12
12
|
}
|
|
13
13
|
export const SignSolanaMessageWithEndUserAccountInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
userId: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
projectID: Schema.optional(Schema.String),
|
|
17
17
|
address: Schema.String,
|
|
@@ -29,7 +29,7 @@ export interface SignSolanaMessageWithEndUserAccountOutput {
|
|
|
29
29
|
signature: string;
|
|
30
30
|
}
|
|
31
31
|
export const SignSolanaMessageWithEndUserAccountOutput =
|
|
32
|
-
/*@__PURE__*/
|
|
32
|
+
/*@__PURE__*/ Schema.Struct({
|
|
33
33
|
signature: Schema.String,
|
|
34
34
|
}) as unknown as Schema.Codec<SignSolanaMessageWithEndUserAccountOutput>;
|
|
35
35
|
|
|
@@ -56,7 +56,7 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
56
56
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
57
57
|
*/
|
|
58
58
|
export const signSolanaMessageWithEndUserAccount =
|
|
59
|
-
/*@__PURE__*/
|
|
59
|
+
/*@__PURE__*/ API.make(() => ({
|
|
60
60
|
inputSchema: SignSolanaMessageWithEndUserAccountInput,
|
|
61
61
|
outputSchema: SignSolanaMessageWithEndUserAccountOutput,
|
|
62
62
|
}));
|
|
@@ -8,7 +8,7 @@ export interface SignSolanaTransactionInput {
|
|
|
8
8
|
transaction: string;
|
|
9
9
|
}
|
|
10
10
|
export const SignSolanaTransactionInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
address: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
transaction: Schema.String,
|
|
14
14
|
}).pipe(
|
|
@@ -23,7 +23,7 @@ export interface SignSolanaTransactionOutput {
|
|
|
23
23
|
signedTransaction: string;
|
|
24
24
|
}
|
|
25
25
|
export const SignSolanaTransactionOutput =
|
|
26
|
-
/*@__PURE__*/
|
|
26
|
+
/*@__PURE__*/ Schema.Struct({
|
|
27
27
|
signedTransaction: Schema.String,
|
|
28
28
|
}) as unknown as Schema.Codec<SignSolanaTransactionOutput>;
|
|
29
29
|
|
|
@@ -49,9 +49,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
49
49
|
|
|
50
50
|
* @param address - The base58 encoded address of the Solana account.
|
|
51
51
|
*/
|
|
52
|
-
export const signSolanaTransaction = /*@__PURE__*/
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}),
|
|
57
|
-
);
|
|
52
|
+
export const signSolanaTransaction = /*@__PURE__*/ API.make(() => ({
|
|
53
|
+
inputSchema: SignSolanaTransactionInput,
|
|
54
|
+
outputSchema: SignSolanaTransactionOutput,
|
|
55
|
+
}));
|
|
@@ -11,7 +11,7 @@ export interface SignSolanaTransactionWithEndUserAccountInput {
|
|
|
11
11
|
walletSecretId?: string;
|
|
12
12
|
}
|
|
13
13
|
export const SignSolanaTransactionWithEndUserAccountInput =
|
|
14
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.Struct({
|
|
15
15
|
userId: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
projectID: Schema.optional(Schema.String),
|
|
17
17
|
address: Schema.String,
|
|
@@ -29,7 +29,7 @@ export interface SignSolanaTransactionWithEndUserAccountOutput {
|
|
|
29
29
|
signedTransaction: string;
|
|
30
30
|
}
|
|
31
31
|
export const SignSolanaTransactionWithEndUserAccountOutput =
|
|
32
|
-
/*@__PURE__*/
|
|
32
|
+
/*@__PURE__*/ Schema.Struct({
|
|
33
33
|
signedTransaction: Schema.String,
|
|
34
34
|
}) as unknown as Schema.Codec<SignSolanaTransactionWithEndUserAccountOutput>;
|
|
35
35
|
|
|
@@ -61,7 +61,7 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
61
61
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
62
62
|
*/
|
|
63
63
|
export const signSolanaTransactionWithEndUserAccount =
|
|
64
|
-
/*@__PURE__*/
|
|
64
|
+
/*@__PURE__*/ API.make(() => ({
|
|
65
65
|
inputSchema: SignSolanaTransactionWithEndUserAccountInput,
|
|
66
66
|
outputSchema: SignSolanaTransactionWithEndUserAccountOutput,
|
|
67
67
|
}));
|
|
@@ -24,7 +24,7 @@ export interface SubmitDepositTravelRuleInput {
|
|
|
24
24
|
isSelf?: boolean;
|
|
25
25
|
}
|
|
26
26
|
export const SubmitDepositTravelRuleInput =
|
|
27
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Struct({
|
|
28
28
|
transferId: Schema.String.pipe(T.PathParam()),
|
|
29
29
|
originator: Schema.optional(
|
|
30
30
|
Schema.Struct({
|
|
@@ -75,7 +75,7 @@ export interface SubmitDepositTravelRuleOutput {
|
|
|
75
75
|
reason?: string;
|
|
76
76
|
}
|
|
77
77
|
export const SubmitDepositTravelRuleOutput =
|
|
78
|
-
/*@__PURE__*/
|
|
78
|
+
/*@__PURE__*/ Schema.Struct({
|
|
79
79
|
status: Schema.Literals(["incomplete", "completed"]),
|
|
80
80
|
missingFields: Schema.optional(Schema.Array(Schema.String)),
|
|
81
81
|
reason: Schema.optional(Schema.String),
|
|
@@ -95,9 +95,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
95
95
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
96
96
|
|
|
97
97
|
*/
|
|
98
|
-
export const submitDepositTravelRule = /*@__PURE__*/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}),
|
|
103
|
-
);
|
|
98
|
+
export const submitDepositTravelRule = /*@__PURE__*/ API.make(() => ({
|
|
99
|
+
inputSchema: SubmitDepositTravelRuleInput,
|
|
100
|
+
outputSchema: SubmitDepositTravelRuleOutput,
|
|
101
|
+
}));
|
|
@@ -8,7 +8,7 @@ export interface SubmitOnrampVerificationInput {
|
|
|
8
8
|
otpCode: string;
|
|
9
9
|
}
|
|
10
10
|
export const SubmitOnrampVerificationInput =
|
|
11
|
-
/*@__PURE__*/
|
|
11
|
+
/*@__PURE__*/ Schema.Struct({
|
|
12
12
|
verificationId: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
otpCode: Schema.String,
|
|
14
14
|
}).pipe(
|
|
@@ -24,7 +24,7 @@ export interface SubmitOnrampVerificationOutput {
|
|
|
24
24
|
verificationExpiresAt: string;
|
|
25
25
|
}
|
|
26
26
|
export const SubmitOnrampVerificationOutput =
|
|
27
|
-
/*@__PURE__*/
|
|
27
|
+
/*@__PURE__*/ Schema.Struct({
|
|
28
28
|
verificationId: Schema.String,
|
|
29
29
|
verificationExpiresAt: Schema.String,
|
|
30
30
|
}) as unknown as Schema.Codec<SubmitOnrampVerificationOutput>;
|
|
@@ -43,9 +43,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
43
43
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
44
44
|
|
|
45
45
|
*/
|
|
46
|
-
export const submitOnrampVerification = /*@__PURE__*/
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}),
|
|
51
|
-
);
|
|
46
|
+
export const submitOnrampVerification = /*@__PURE__*/ API.make(() => ({
|
|
47
|
+
inputSchema: SubmitOnrampVerificationInput,
|
|
48
|
+
outputSchema: SubmitOnrampVerificationOutput,
|
|
49
|
+
}));
|
|
@@ -5,7 +5,7 @@ import * as T from "../traits.ts";
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export interface SupportedX402PaymentKindsInput {}
|
|
7
7
|
export const SupportedX402PaymentKindsInput =
|
|
8
|
-
/*@__PURE__*/
|
|
8
|
+
/*@__PURE__*/ Schema.Struct({}).pipe(
|
|
9
9
|
T.Http({ method: "GET", path: "/v2/x402/supported" }),
|
|
10
10
|
) as unknown as Schema.Codec<SupportedX402PaymentKindsInput>;
|
|
11
11
|
|
|
@@ -33,7 +33,7 @@ export interface SupportedX402PaymentKindsOutput {
|
|
|
33
33
|
signers: Record<string, string[]>;
|
|
34
34
|
}
|
|
35
35
|
export const SupportedX402PaymentKindsOutput =
|
|
36
|
-
/*@__PURE__*/
|
|
36
|
+
/*@__PURE__*/ Schema.Struct({
|
|
37
37
|
kinds: Schema.Array(
|
|
38
38
|
Schema.Struct({
|
|
39
39
|
x402Version: Schema.Literals([1, 2]),
|
|
@@ -65,9 +65,7 @@ export const SupportedX402PaymentKindsOutput =
|
|
|
65
65
|
*
|
|
66
66
|
* Get the supported x402 protocol payment schemes and networks that the facilitator is able to verify and settle payments for.
|
|
67
67
|
*/
|
|
68
|
-
export const supportedX402PaymentKinds = /*@__PURE__*/
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}),
|
|
73
|
-
);
|
|
68
|
+
export const supportedX402PaymentKinds = /*@__PURE__*/ API.make(() => ({
|
|
69
|
+
inputSchema: SupportedX402PaymentKindsInput,
|
|
70
|
+
outputSchema: SupportedX402PaymentKindsOutput,
|
|
71
|
+
}));
|