@distilled.cloud/coinbase 0.29.0 → 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 +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
|
@@ -7,7 +7,7 @@ export interface GetEvmAccountByNameInput {
|
|
|
7
7
|
name: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetEvmAccountByNameInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
name: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/evm/accounts/by-name/{name}" }),
|
|
@@ -22,7 +22,7 @@ export interface GetEvmAccountByNameOutput {
|
|
|
22
22
|
updatedAt?: string;
|
|
23
23
|
}
|
|
24
24
|
export const GetEvmAccountByNameOutput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Struct({
|
|
26
26
|
address: Schema.String,
|
|
27
27
|
name: Schema.optional(Schema.String),
|
|
28
28
|
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -38,7 +38,7 @@ export const GetEvmAccountByNameOutput =
|
|
|
38
38
|
*
|
|
39
39
|
* @param name - The name of the EVM account.
|
|
40
40
|
*/
|
|
41
|
-
export const getEvmAccountByName = /*@__PURE__*/
|
|
41
|
+
export const getEvmAccountByName = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: GetEvmAccountByNameInput,
|
|
43
43
|
outputSchema: GetEvmAccountByNameOutput,
|
|
44
44
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetEvmEip7702DelegationOperationByIdInput {
|
|
|
7
7
|
delegationOperationId: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetEvmEip7702DelegationOperationByIdInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
delegationOperationId: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({
|
|
@@ -32,7 +32,7 @@ export interface GetEvmEip7702DelegationOperationByIdOutput {
|
|
|
32
32
|
delegateAddress?: string;
|
|
33
33
|
}
|
|
34
34
|
export const GetEvmEip7702DelegationOperationByIdOutput =
|
|
35
|
-
/*@__PURE__*/
|
|
35
|
+
/*@__PURE__*/ Schema.Struct({
|
|
36
36
|
delegationOperationId: Schema.String,
|
|
37
37
|
status: Schema.Literals([
|
|
38
38
|
"UNSPECIFIED",
|
|
@@ -63,7 +63,7 @@ export const GetEvmEip7702DelegationOperationByIdOutput =
|
|
|
63
63
|
* @param delegationOperationId - The unique identifier for the delegation operation.
|
|
64
64
|
*/
|
|
65
65
|
export const getEvmEip7702DelegationOperationById =
|
|
66
|
-
/*@__PURE__*/
|
|
66
|
+
/*@__PURE__*/ API.make(() => ({
|
|
67
67
|
inputSchema: GetEvmEip7702DelegationOperationByIdInput,
|
|
68
68
|
outputSchema: GetEvmEip7702DelegationOperationByIdOutput,
|
|
69
69
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetEvmSmartAccountInput {
|
|
|
7
7
|
address: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetEvmSmartAccountInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
address: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/evm/smart-accounts/{address}" }),
|
|
@@ -23,7 +23,7 @@ export interface GetEvmSmartAccountOutput {
|
|
|
23
23
|
updatedAt?: string;
|
|
24
24
|
}
|
|
25
25
|
export const GetEvmSmartAccountOutput =
|
|
26
|
-
/*@__PURE__*/
|
|
26
|
+
/*@__PURE__*/ Schema.Struct({
|
|
27
27
|
address: Schema.String,
|
|
28
28
|
owners: Schema.Array(Schema.String),
|
|
29
29
|
name: Schema.optional(Schema.String),
|
|
@@ -40,7 +40,7 @@ export const GetEvmSmartAccountOutput =
|
|
|
40
40
|
*
|
|
41
41
|
* @param address - The 0x-prefixed address of the Smart Account.
|
|
42
42
|
*/
|
|
43
|
-
export const getEvmSmartAccount = /*@__PURE__*/
|
|
43
|
+
export const getEvmSmartAccount = /*@__PURE__*/ API.make(() => ({
|
|
44
44
|
inputSchema: GetEvmSmartAccountInput,
|
|
45
45
|
outputSchema: GetEvmSmartAccountOutput,
|
|
46
46
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetEvmSmartAccountByNameInput {
|
|
|
7
7
|
name: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetEvmSmartAccountByNameInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
name: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/evm/smart-accounts/by-name/{name}" }),
|
|
@@ -23,7 +23,7 @@ export interface GetEvmSmartAccountByNameOutput {
|
|
|
23
23
|
updatedAt?: string;
|
|
24
24
|
}
|
|
25
25
|
export const GetEvmSmartAccountByNameOutput =
|
|
26
|
-
/*@__PURE__*/
|
|
26
|
+
/*@__PURE__*/ Schema.Struct({
|
|
27
27
|
address: Schema.String,
|
|
28
28
|
owners: Schema.Array(Schema.String),
|
|
29
29
|
name: Schema.optional(Schema.String),
|
|
@@ -40,9 +40,7 @@ export const GetEvmSmartAccountByNameOutput =
|
|
|
40
40
|
*
|
|
41
41
|
* @param name - The name of the Smart Account.
|
|
42
42
|
*/
|
|
43
|
-
export const getEvmSmartAccountByName = /*@__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}),
|
|
48
|
-
);
|
|
43
|
+
export const getEvmSmartAccountByName = /*@__PURE__*/ API.make(() => ({
|
|
44
|
+
inputSchema: GetEvmSmartAccountByNameInput,
|
|
45
|
+
outputSchema: GetEvmSmartAccountByNameOutput,
|
|
46
|
+
}));
|
|
@@ -13,7 +13,7 @@ export interface GetEvmSwapPriceInput {
|
|
|
13
13
|
gasPrice?: string;
|
|
14
14
|
slippageBps?: string;
|
|
15
15
|
}
|
|
16
|
-
export const GetEvmSwapPriceInput = /*@__PURE__*/
|
|
16
|
+
export const GetEvmSwapPriceInput = /*@__PURE__*/ Schema.Struct({
|
|
17
17
|
network: Schema.String,
|
|
18
18
|
toToken: Schema.String,
|
|
19
19
|
fromToken: Schema.String,
|
|
@@ -53,7 +53,7 @@ export type GetEvmSwapPriceOutput =
|
|
|
53
53
|
gasPrice: string;
|
|
54
54
|
}
|
|
55
55
|
| { liquidityAvailable: false };
|
|
56
|
-
export const GetEvmSwapPriceOutput = /*@__PURE__*/
|
|
56
|
+
export const GetEvmSwapPriceOutput = /*@__PURE__*/ Schema.Union([
|
|
57
57
|
Schema.Struct({
|
|
58
58
|
blockNumber: Schema.String,
|
|
59
59
|
toAmount: Schema.String,
|
|
@@ -106,7 +106,7 @@ export const GetEvmSwapPriceOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
106
106
|
*
|
|
107
107
|
* Get a price estimate for a swap between two tokens on an EVM network.
|
|
108
108
|
*/
|
|
109
|
-
export const getEvmSwapPrice = /*@__PURE__*/
|
|
109
|
+
export const getEvmSwapPrice = /*@__PURE__*/ API.make(() => ({
|
|
110
110
|
inputSchema: GetEvmSwapPriceInput,
|
|
111
111
|
outputSchema: GetEvmSwapPriceOutput,
|
|
112
112
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetFoundationAccountByIdInput {
|
|
|
7
7
|
accountId: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetFoundationAccountByIdInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
accountId: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/accounts/{accountId}" }),
|
|
@@ -23,7 +23,7 @@ export interface GetFoundationAccountByIdOutput {
|
|
|
23
23
|
updatedAt: string;
|
|
24
24
|
}
|
|
25
25
|
export const GetFoundationAccountByIdOutput =
|
|
26
|
-
/*@__PURE__*/
|
|
26
|
+
/*@__PURE__*/ Schema.Struct({
|
|
27
27
|
accountId: Schema.String,
|
|
28
28
|
type: Schema.Literals(["prime", "business", "cdp"]),
|
|
29
29
|
owner: Schema.String,
|
|
@@ -40,9 +40,7 @@ export const GetFoundationAccountByIdOutput =
|
|
|
40
40
|
*
|
|
41
41
|
* @param accountId - The ID of the account to retrieve.
|
|
42
42
|
*/
|
|
43
|
-
export const getFoundationAccountById = /*@__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}),
|
|
48
|
-
);
|
|
43
|
+
export const getFoundationAccountById = /*@__PURE__*/ API.make(() => ({
|
|
44
|
+
inputSchema: GetFoundationAccountByIdInput,
|
|
45
|
+
outputSchema: GetFoundationAccountByIdOutput,
|
|
46
|
+
}));
|
|
@@ -7,7 +7,7 @@ export interface GetOnrampOrderByIdInput {
|
|
|
7
7
|
orderId: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetOnrampOrderByIdInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
orderId: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/onramp/orders/{orderId}" }),
|
|
@@ -44,7 +44,7 @@ export interface GetOnrampOrderByIdOutput {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
export const GetOnrampOrderByIdOutput =
|
|
47
|
-
/*@__PURE__*/
|
|
47
|
+
/*@__PURE__*/ Schema.Struct({
|
|
48
48
|
order: Schema.Struct({
|
|
49
49
|
orderId: Schema.String,
|
|
50
50
|
paymentTotal: Schema.String,
|
|
@@ -88,7 +88,7 @@ export const GetOnrampOrderByIdOutput =
|
|
|
88
88
|
*
|
|
89
89
|
* @param orderId - The ID of the onramp order to retrieve.
|
|
90
90
|
*/
|
|
91
|
-
export const getOnrampOrderById = /*@__PURE__*/
|
|
91
|
+
export const getOnrampOrderById = /*@__PURE__*/ API.make(() => ({
|
|
92
92
|
inputSchema: GetOnrampOrderByIdInput,
|
|
93
93
|
outputSchema: GetOnrampOrderByIdOutput,
|
|
94
94
|
}));
|
|
@@ -9,7 +9,7 @@ export interface GetOnrampUserLimitsInput {
|
|
|
9
9
|
userIdType: "phone_number";
|
|
10
10
|
}
|
|
11
11
|
export const GetOnrampUserLimitsInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
paymentMethodType: Schema.Literals([
|
|
14
14
|
"GUEST_CHECKOUT_APPLE_PAY",
|
|
15
15
|
"GUEST_CHECKOUT_GOOGLE_PAY",
|
|
@@ -30,7 +30,7 @@ export interface GetOnrampUserLimitsOutput {
|
|
|
30
30
|
}[];
|
|
31
31
|
}
|
|
32
32
|
export const GetOnrampUserLimitsOutput =
|
|
33
|
-
/*@__PURE__*/
|
|
33
|
+
/*@__PURE__*/ Schema.Struct({
|
|
34
34
|
limits: Schema.Array(
|
|
35
35
|
Schema.Struct({
|
|
36
36
|
limitType: Schema.Literals([
|
|
@@ -51,7 +51,7 @@ export const GetOnrampUserLimitsOutput =
|
|
|
51
51
|
* Returns the transaction limits for an onramp user based on their payment method and user identifier. Use this API to show users their remaining purchase capacity before initiating an onramp transaction.
|
|
52
52
|
* Currently supports `GUEST_CHECKOUT_APPLE_PAY` payment method with phone number identification. The phone number must have been previously verified via OTP.
|
|
53
53
|
*/
|
|
54
|
-
export const getOnrampUserLimits = /*@__PURE__*/
|
|
54
|
+
export const getOnrampUserLimits = /*@__PURE__*/ API.make(() => ({
|
|
55
55
|
inputSchema: GetOnrampUserLimitsInput,
|
|
56
56
|
outputSchema: GetOnrampUserLimitsOutput,
|
|
57
57
|
}));
|
|
@@ -6,7 +6,7 @@ import * as T from "../traits.ts";
|
|
|
6
6
|
export interface GetPaymentMethodInput {
|
|
7
7
|
paymentMethodId: string;
|
|
8
8
|
}
|
|
9
|
-
export const GetPaymentMethodInput = /*@__PURE__*/
|
|
9
|
+
export const GetPaymentMethodInput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
paymentMethodId: Schema.String.pipe(T.PathParam()),
|
|
11
11
|
}).pipe(
|
|
12
12
|
T.Http({ method: "GET", path: "/v2/payment-methods/{paymentMethodId}" }),
|
|
@@ -49,7 +49,7 @@ export type GetPaymentMethodOutput =
|
|
|
49
49
|
paymentRail: "sepa";
|
|
50
50
|
sepa: { asset: string; bankName: string; ibanLast4: string; bic: string };
|
|
51
51
|
};
|
|
52
|
-
export const GetPaymentMethodOutput = /*@__PURE__*/
|
|
52
|
+
export const GetPaymentMethodOutput = /*@__PURE__*/ Schema.Union([
|
|
53
53
|
Schema.Struct({
|
|
54
54
|
paymentMethodId: Schema.String,
|
|
55
55
|
active: Schema.Boolean,
|
|
@@ -100,7 +100,7 @@ export const GetPaymentMethodOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
100
100
|
*
|
|
101
101
|
* @param paymentMethodId - The unique identifier of the payment method.
|
|
102
102
|
*/
|
|
103
|
-
export const getPaymentMethod = /*@__PURE__*/
|
|
103
|
+
export const getPaymentMethod = /*@__PURE__*/ API.make(() => ({
|
|
104
104
|
inputSchema: GetPaymentMethodInput,
|
|
105
105
|
outputSchema: GetPaymentMethodOutput,
|
|
106
106
|
}));
|
|
@@ -6,7 +6,7 @@ import * as T from "../traits.ts";
|
|
|
6
6
|
export interface GetPolicyByIdInput {
|
|
7
7
|
policyId: string;
|
|
8
8
|
}
|
|
9
|
-
export const GetPolicyByIdInput = /*@__PURE__*/
|
|
9
|
+
export const GetPolicyByIdInput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
policyId: Schema.String.pipe(T.PathParam()),
|
|
11
11
|
}).pipe(
|
|
12
12
|
T.Http({ method: "GET", path: "/v2/policy-engine/policies/{policyId}" }),
|
|
@@ -21,7 +21,7 @@ export interface GetPolicyByIdOutput {
|
|
|
21
21
|
createdAt: string;
|
|
22
22
|
updatedAt: string;
|
|
23
23
|
}
|
|
24
|
-
export const GetPolicyByIdOutput = /*@__PURE__*/
|
|
24
|
+
export const GetPolicyByIdOutput = /*@__PURE__*/ Schema.Struct({
|
|
25
25
|
id: Schema.String,
|
|
26
26
|
description: Schema.optional(Schema.String),
|
|
27
27
|
scope: Schema.Literals(["project", "account"]),
|
|
@@ -38,7 +38,7 @@ export const GetPolicyByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
38
|
*
|
|
39
39
|
* @param policyId - The ID of the policy to get.
|
|
40
40
|
*/
|
|
41
|
-
export const getPolicyById = /*@__PURE__*/
|
|
41
|
+
export const getPolicyById = /*@__PURE__*/ API.make(() => ({
|
|
42
42
|
inputSchema: GetPolicyByIdInput,
|
|
43
43
|
outputSchema: GetPolicyByIdOutput,
|
|
44
44
|
}));
|
|
@@ -4,16 +4,14 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export interface GetSQLGrammarInput {}
|
|
7
|
-
export const GetSQLGrammarInput = /*@__PURE__*/
|
|
8
|
-
{},
|
|
9
|
-
).pipe(
|
|
7
|
+
export const GetSQLGrammarInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
10
8
|
T.Http({ method: "GET", path: "/v2/data/query/grammar" }),
|
|
11
9
|
) as unknown as Schema.Codec<GetSQLGrammarInput>;
|
|
12
10
|
|
|
13
11
|
// Output Schema
|
|
14
12
|
export type GetSQLGrammarOutput = string;
|
|
15
13
|
export const GetSQLGrammarOutput =
|
|
16
|
-
/*@__PURE__*/
|
|
14
|
+
/*@__PURE__*/ Schema.String as unknown as Schema.Codec<GetSQLGrammarOutput>;
|
|
17
15
|
|
|
18
16
|
// The operation
|
|
19
17
|
/**
|
|
@@ -24,7 +22,7 @@ export const GetSQLGrammarOutput =
|
|
|
24
22
|
* This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness.
|
|
25
23
|
* LLMs interact well with ANTLR4 grammar. You can feed the grammar directly into the LLMs to help generate SQL queries.
|
|
26
24
|
*/
|
|
27
|
-
export const getSQLGrammar = /*@__PURE__*/
|
|
25
|
+
export const getSQLGrammar = /*@__PURE__*/ API.make(() => ({
|
|
28
26
|
inputSchema: GetSQLGrammarInput,
|
|
29
27
|
outputSchema: GetSQLGrammarOutput,
|
|
30
28
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetSQLSchemaInput {
|
|
|
7
7
|
database?: "base" | "base_sepolia" | "solana" | "hyperevm";
|
|
8
8
|
table?: string;
|
|
9
9
|
}
|
|
10
|
-
export const GetSQLSchemaInput = /*@__PURE__*/
|
|
10
|
+
export const GetSQLSchemaInput = /*@__PURE__*/ Schema.Struct({
|
|
11
11
|
database: Schema.optional(
|
|
12
12
|
Schema.Literals(["base", "base_sepolia", "solana", "hyperevm"]),
|
|
13
13
|
),
|
|
@@ -30,7 +30,7 @@ export interface GetSQLSchemaOutput {
|
|
|
30
30
|
}[];
|
|
31
31
|
}[];
|
|
32
32
|
}
|
|
33
|
-
export const GetSQLSchemaOutput = /*@__PURE__*/
|
|
33
|
+
export const GetSQLSchemaOutput = /*@__PURE__*/ Schema.Struct({
|
|
34
34
|
tables: Schema.optional(
|
|
35
35
|
Schema.Array(
|
|
36
36
|
Schema.Struct({
|
|
@@ -62,7 +62,7 @@ export const GetSQLSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
62
62
|
* @param database - The name of the database to query. Defaults to "base" when not specified.
|
|
63
63
|
* @param table - Get the schema for a specific table.
|
|
64
64
|
*/
|
|
65
|
-
export const getSQLSchema = /*@__PURE__*/
|
|
65
|
+
export const getSQLSchema = /*@__PURE__*/ API.make(() => ({
|
|
66
66
|
inputSchema: GetSQLSchemaInput,
|
|
67
67
|
outputSchema: GetSQLSchemaOutput,
|
|
68
68
|
}));
|
|
@@ -6,7 +6,7 @@ import * as T from "../traits.ts";
|
|
|
6
6
|
export interface GetSolanaAccountInput {
|
|
7
7
|
address: string;
|
|
8
8
|
}
|
|
9
|
-
export const GetSolanaAccountInput = /*@__PURE__*/
|
|
9
|
+
export const GetSolanaAccountInput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
address: Schema.String.pipe(T.PathParam()),
|
|
11
11
|
}).pipe(
|
|
12
12
|
T.Http({ method: "GET", path: "/v2/solana/accounts/{address}" }),
|
|
@@ -20,15 +20,13 @@ export interface GetSolanaAccountOutput {
|
|
|
20
20
|
createdAt?: string;
|
|
21
21
|
updatedAt?: string;
|
|
22
22
|
}
|
|
23
|
-
export const GetSolanaAccountOutput = /*@__PURE__*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
) as unknown as Schema.Codec<GetSolanaAccountOutput>;
|
|
23
|
+
export const GetSolanaAccountOutput = /*@__PURE__*/ Schema.Struct({
|
|
24
|
+
address: Schema.String,
|
|
25
|
+
name: Schema.optional(Schema.String),
|
|
26
|
+
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
27
|
+
createdAt: Schema.optional(Schema.String),
|
|
28
|
+
updatedAt: Schema.optional(Schema.String),
|
|
29
|
+
}) as unknown as Schema.Codec<GetSolanaAccountOutput>;
|
|
32
30
|
|
|
33
31
|
// The operation
|
|
34
32
|
/**
|
|
@@ -38,7 +36,7 @@ export const GetSolanaAccountOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
38
36
|
*
|
|
39
37
|
* @param address - The base58 encoded address of the Solana account.
|
|
40
38
|
*/
|
|
41
|
-
export const getSolanaAccount = /*@__PURE__*/
|
|
39
|
+
export const getSolanaAccount = /*@__PURE__*/ API.make(() => ({
|
|
42
40
|
inputSchema: GetSolanaAccountInput,
|
|
43
41
|
outputSchema: GetSolanaAccountOutput,
|
|
44
42
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetSolanaAccountByNameInput {
|
|
|
7
7
|
name: string;
|
|
8
8
|
}
|
|
9
9
|
export const GetSolanaAccountByNameInput =
|
|
10
|
-
/*@__PURE__*/
|
|
10
|
+
/*@__PURE__*/ Schema.Struct({
|
|
11
11
|
name: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
}).pipe(
|
|
13
13
|
T.Http({ method: "GET", path: "/v2/solana/accounts/by-name/{name}" }),
|
|
@@ -22,7 +22,7 @@ export interface GetSolanaAccountByNameOutput {
|
|
|
22
22
|
updatedAt?: string;
|
|
23
23
|
}
|
|
24
24
|
export const GetSolanaAccountByNameOutput =
|
|
25
|
-
/*@__PURE__*/
|
|
25
|
+
/*@__PURE__*/ Schema.Struct({
|
|
26
26
|
address: Schema.String,
|
|
27
27
|
name: Schema.optional(Schema.String),
|
|
28
28
|
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -38,9 +38,7 @@ export const GetSolanaAccountByNameOutput =
|
|
|
38
38
|
*
|
|
39
39
|
* @param name - The name of the Solana account.
|
|
40
40
|
*/
|
|
41
|
-
export const getSolanaAccountByName = /*@__PURE__*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}),
|
|
46
|
-
);
|
|
41
|
+
export const getSolanaAccountByName = /*@__PURE__*/ API.make(() => ({
|
|
42
|
+
inputSchema: GetSolanaAccountByNameInput,
|
|
43
|
+
outputSchema: GetSolanaAccountByNameOutput,
|
|
44
|
+
}));
|
|
@@ -6,7 +6,7 @@ import * as T from "../traits.ts";
|
|
|
6
6
|
export interface GetTransferByIdInput {
|
|
7
7
|
transferId: string;
|
|
8
8
|
}
|
|
9
|
-
export const GetTransferByIdInput = /*@__PURE__*/
|
|
9
|
+
export const GetTransferByIdInput = /*@__PURE__*/ Schema.Struct({
|
|
10
10
|
transferId: Schema.String.pipe(T.PathParam()),
|
|
11
11
|
}).pipe(
|
|
12
12
|
T.Http({ method: "GET", path: "/v2/transfers/{transferId}" }),
|
|
@@ -106,7 +106,7 @@ export interface GetTransferByIdOutput {
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
export const GetTransferByIdOutput = /*@__PURE__*/
|
|
109
|
+
export const GetTransferByIdOutput = /*@__PURE__*/ Schema.Struct({
|
|
110
110
|
transferId: Schema.optional(Schema.String),
|
|
111
111
|
status: Schema.optional(
|
|
112
112
|
Schema.Literals(["quoted", "processing", "completed", "failed"]),
|
|
@@ -268,7 +268,7 @@ export const GetTransferByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
268
268
|
*
|
|
269
269
|
* @param transferId - The unique identifier of the transfer.
|
|
270
270
|
*/
|
|
271
|
-
export const getTransferById = /*@__PURE__*/
|
|
271
|
+
export const getTransferById = /*@__PURE__*/ API.make(() => ({
|
|
272
272
|
inputSchema: GetTransferByIdInput,
|
|
273
273
|
outputSchema: GetTransferByIdOutput,
|
|
274
274
|
}));
|
|
@@ -7,7 +7,7 @@ export interface GetUserOperationInput {
|
|
|
7
7
|
address: string;
|
|
8
8
|
userOpHash: string;
|
|
9
9
|
}
|
|
10
|
-
export const GetUserOperationInput = /*@__PURE__*/
|
|
10
|
+
export const GetUserOperationInput = /*@__PURE__*/ Schema.Struct({
|
|
11
11
|
address: Schema.String.pipe(T.PathParam()),
|
|
12
12
|
userOpHash: Schema.String.pipe(T.PathParam()),
|
|
13
13
|
}).pipe(
|
|
@@ -54,57 +54,55 @@ export interface GetUserOperationOutput {
|
|
|
54
54
|
}[];
|
|
55
55
|
expiresAt?: string;
|
|
56
56
|
}
|
|
57
|
-
export const GetUserOperationOutput = /*@__PURE__*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
57
|
+
export const GetUserOperationOutput = /*@__PURE__*/ Schema.Struct({
|
|
58
|
+
network: Schema.Literals([
|
|
59
|
+
"base-sepolia",
|
|
60
|
+
"base",
|
|
61
|
+
"arbitrum",
|
|
62
|
+
"optimism",
|
|
63
|
+
"zora",
|
|
64
|
+
"polygon",
|
|
65
|
+
"bnb",
|
|
66
|
+
"avalanche",
|
|
67
|
+
"ethereum",
|
|
68
|
+
"ethereum-sepolia",
|
|
69
|
+
]),
|
|
70
|
+
userOpHash: Schema.String,
|
|
71
|
+
calls: Schema.Array(
|
|
72
|
+
Schema.Struct({
|
|
73
|
+
to: Schema.String,
|
|
74
|
+
value: Schema.String,
|
|
75
|
+
data: Schema.String,
|
|
76
|
+
overrideGasLimit: Schema.optional(Schema.String),
|
|
77
|
+
}),
|
|
78
|
+
),
|
|
79
|
+
status: Schema.Literals([
|
|
80
|
+
"pending",
|
|
81
|
+
"signed",
|
|
82
|
+
"broadcast",
|
|
83
|
+
"complete",
|
|
84
|
+
"dropped",
|
|
85
|
+
"failed",
|
|
86
|
+
]),
|
|
87
|
+
transactionHash: Schema.optional(Schema.String),
|
|
88
|
+
receipts: Schema.optional(
|
|
89
|
+
Schema.Array(
|
|
73
90
|
Schema.Struct({
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
91
|
+
revert: Schema.optional(
|
|
92
|
+
Schema.Struct({
|
|
93
|
+
data: Schema.String,
|
|
94
|
+
message: Schema.String,
|
|
95
|
+
}),
|
|
96
|
+
),
|
|
97
|
+
transactionHash: Schema.optional(Schema.String),
|
|
98
|
+
blockHash: Schema.optional(Schema.String),
|
|
99
|
+
blockNumber: Schema.optional(Schema.Number),
|
|
100
|
+
gasUsed: Schema.optional(Schema.String),
|
|
78
101
|
}),
|
|
79
102
|
),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"broadcast",
|
|
84
|
-
"complete",
|
|
85
|
-
"dropped",
|
|
86
|
-
"failed",
|
|
87
|
-
]),
|
|
88
|
-
transactionHash: Schema.optional(Schema.String),
|
|
89
|
-
receipts: Schema.optional(
|
|
90
|
-
Schema.Array(
|
|
91
|
-
Schema.Struct({
|
|
92
|
-
revert: Schema.optional(
|
|
93
|
-
Schema.Struct({
|
|
94
|
-
data: Schema.String,
|
|
95
|
-
message: Schema.String,
|
|
96
|
-
}),
|
|
97
|
-
),
|
|
98
|
-
transactionHash: Schema.optional(Schema.String),
|
|
99
|
-
blockHash: Schema.optional(Schema.String),
|
|
100
|
-
blockNumber: Schema.optional(Schema.Number),
|
|
101
|
-
gasUsed: Schema.optional(Schema.String),
|
|
102
|
-
}),
|
|
103
|
-
),
|
|
104
|
-
),
|
|
105
|
-
expiresAt: Schema.optional(Schema.String),
|
|
106
|
-
},
|
|
107
|
-
) as unknown as Schema.Codec<GetUserOperationOutput>;
|
|
103
|
+
),
|
|
104
|
+
expiresAt: Schema.optional(Schema.String),
|
|
105
|
+
}) as unknown as Schema.Codec<GetUserOperationOutput>;
|
|
108
106
|
|
|
109
107
|
// The operation
|
|
110
108
|
/**
|
|
@@ -115,7 +113,7 @@ export const GetUserOperationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
115
113
|
* @param address - The address of the Smart Account the user operation belongs to.
|
|
116
114
|
* @param userOpHash - The hash of the user operation to fetch.
|
|
117
115
|
*/
|
|
118
|
-
export const getUserOperation = /*@__PURE__*/
|
|
116
|
+
export const getUserOperation = /*@__PURE__*/ API.make(() => ({
|
|
119
117
|
inputSchema: GetUserOperationInput,
|
|
120
118
|
outputSchema: GetUserOperationOutput,
|
|
121
119
|
}));
|
|
@@ -9,7 +9,7 @@ export interface GetWebhookSubscriptionInput {
|
|
|
9
9
|
subscriptionId: string;
|
|
10
10
|
}
|
|
11
11
|
export const GetWebhookSubscriptionInput =
|
|
12
|
-
/*@__PURE__*/
|
|
12
|
+
/*@__PURE__*/ Schema.Struct({
|
|
13
13
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
}).pipe(
|
|
15
15
|
T.Http({
|
|
@@ -56,7 +56,7 @@ export interface GetWebhookSubscriptionOutput {
|
|
|
56
56
|
labels?: Record<string, string>;
|
|
57
57
|
}
|
|
58
58
|
export const GetWebhookSubscriptionOutput =
|
|
59
|
-
/*@__PURE__*/
|
|
59
|
+
/*@__PURE__*/ Schema.Struct({
|
|
60
60
|
createdAt: Schema.String,
|
|
61
61
|
updatedAt: Schema.optional(Schema.String),
|
|
62
62
|
description: Schema.optional(Schema.String),
|
|
@@ -116,9 +116,7 @@ export const GetWebhookSubscriptionOutput =
|
|
|
116
116
|
*
|
|
117
117
|
* @param subscriptionId - Unique identifier for the webhook subscription.
|
|
118
118
|
*/
|
|
119
|
-
export const getWebhookSubscription = /*@__PURE__*/
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}),
|
|
124
|
-
);
|
|
119
|
+
export const getWebhookSubscription = /*@__PURE__*/ API.make(() => ({
|
|
120
|
+
inputSchema: GetWebhookSubscriptionInput,
|
|
121
|
+
outputSchema: GetWebhookSubscriptionOutput,
|
|
122
|
+
}));
|
|
@@ -30,7 +30,7 @@ export interface ImportEndUserInput {
|
|
|
30
30
|
encryptedPrivateKey: string;
|
|
31
31
|
keyType: "evm" | "solana";
|
|
32
32
|
}
|
|
33
|
-
export const ImportEndUserInput = /*@__PURE__*/
|
|
33
|
+
export const ImportEndUserInput = /*@__PURE__*/ Schema.Struct({
|
|
34
34
|
userId: Schema.String,
|
|
35
35
|
authenticationMethods: Schema.Array(
|
|
36
36
|
Schema.Union([
|
|
@@ -117,7 +117,7 @@ export interface ImportEndUserOutput {
|
|
|
117
117
|
solanaAccountObjects: { address: string; createdAt: string }[];
|
|
118
118
|
createdAt: string;
|
|
119
119
|
}
|
|
120
|
-
export const ImportEndUserOutput = /*@__PURE__*/
|
|
120
|
+
export const ImportEndUserOutput = /*@__PURE__*/ Schema.Struct({
|
|
121
121
|
userId: Schema.String,
|
|
122
122
|
authenticationMethods: Schema.Array(
|
|
123
123
|
Schema.Union([
|
|
@@ -212,7 +212,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
212
212
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
213
213
|
|
|
214
214
|
*/
|
|
215
|
-
export const importEndUser = /*@__PURE__*/
|
|
215
|
+
export const importEndUser = /*@__PURE__*/ API.make(() => ({
|
|
216
216
|
inputSchema: ImportEndUserInput,
|
|
217
217
|
outputSchema: ImportEndUserOutput,
|
|
218
218
|
}));
|
|
@@ -8,7 +8,7 @@ export interface ImportEvmAccountInput {
|
|
|
8
8
|
name?: string;
|
|
9
9
|
accountPolicy?: string;
|
|
10
10
|
}
|
|
11
|
-
export const ImportEvmAccountInput = /*@__PURE__*/
|
|
11
|
+
export const ImportEvmAccountInput = /*@__PURE__*/ Schema.Struct({
|
|
12
12
|
encryptedPrivateKey: Schema.String,
|
|
13
13
|
name: Schema.optional(Schema.String),
|
|
14
14
|
accountPolicy: Schema.optional(Schema.String),
|
|
@@ -24,15 +24,13 @@ export interface ImportEvmAccountOutput {
|
|
|
24
24
|
createdAt?: string;
|
|
25
25
|
updatedAt?: string;
|
|
26
26
|
}
|
|
27
|
-
export const ImportEvmAccountOutput = /*@__PURE__*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
) as unknown as Schema.Codec<ImportEvmAccountOutput>;
|
|
27
|
+
export const ImportEvmAccountOutput = /*@__PURE__*/ Schema.Struct({
|
|
28
|
+
address: Schema.String,
|
|
29
|
+
name: Schema.optional(Schema.String),
|
|
30
|
+
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
31
|
+
createdAt: Schema.optional(Schema.String),
|
|
32
|
+
updatedAt: Schema.optional(Schema.String),
|
|
33
|
+
}) as unknown as Schema.Codec<ImportEvmAccountOutput>;
|
|
36
34
|
|
|
37
35
|
// The operation
|
|
38
36
|
/**
|
|
@@ -49,7 +47,7 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
49
47
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
50
48
|
|
|
51
49
|
*/
|
|
52
|
-
export const importEvmAccount = /*@__PURE__*/
|
|
50
|
+
export const importEvmAccount = /*@__PURE__*/ API.make(() => ({
|
|
53
51
|
inputSchema: ImportEvmAccountInput,
|
|
54
52
|
outputSchema: ImportEvmAccountOutput,
|
|
55
53
|
}));
|