@distilled.cloud/coinbase 0.30.3 → 1.0.0-rc.2
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/credentials.d.ts.map +1 -1
- package/lib/credentials.js +8 -0
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +17 -2
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +8 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -6
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +24 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/{client.js → protocol.js} +107 -46
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +4 -4
- package/lib/retry.js +4 -4
- package/lib/services/cdp.d.ts +5054 -0
- package/lib/services/cdp.d.ts.map +1 -0
- package/lib/services/cdp.js +4331 -0
- package/lib/services/cdp.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +29 -42
- package/src/credentials.ts +8 -0
- package/src/errors.ts +92 -2
- package/src/index.ts +12 -6
- package/src/{client.ts → protocol.ts} +163 -52
- package/src/retry.ts +4 -4
- package/src/services/cdp.ts +11912 -0
- package/src/services/index.ts +2 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -78
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -13
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js.map +0 -1
- package/lib/operations/addEndUserEvmAccount.d.ts +0 -30
- package/lib/operations/addEndUserEvmAccount.d.ts.map +0 -1
- package/lib/operations/addEndUserEvmAccount.js +0 -36
- package/lib/operations/addEndUserEvmAccount.js.map +0 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +0 -32
- package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +0 -1
- package/lib/operations/addEndUserEvmSmartAccount.js +0 -41
- package/lib/operations/addEndUserEvmSmartAccount.js.map +0 -1
- package/lib/operations/addEndUserSolanaAccount.d.ts +0 -30
- package/lib/operations/addEndUserSolanaAccount.d.ts.map +0 -1
- package/lib/operations/addEndUserSolanaAccount.js +0 -36
- package/lib/operations/addEndUserSolanaAccount.js.map +0 -1
- package/lib/operations/createDelegationForEndUserAccount.d.ts +0 -34
- package/lib/operations/createDelegationForEndUserAccount.d.ts.map +0 -1
- package/lib/operations/createDelegationForEndUserAccount.js +0 -44
- package/lib/operations/createDelegationForEndUserAccount.js.map +0 -1
- package/lib/operations/createDepositDestination.d.ts +0 -34
- package/lib/operations/createDepositDestination.d.ts.map +0 -1
- package/lib/operations/createDepositDestination.js +0 -50
- package/lib/operations/createDepositDestination.js.map +0 -1
- package/lib/operations/createEndUser.d.ts +0 -115
- package/lib/operations/createEndUser.d.ts.map +0 -1
- package/lib/operations/createEndUser.js +0 -133
- package/lib/operations/createEndUser.js.map +0 -1
- package/lib/operations/createEvmAccount.d.ts +0 -30
- package/lib/operations/createEvmAccount.d.ts.map +0 -1
- package/lib/operations/createEvmAccount.js +0 -34
- package/lib/operations/createEvmAccount.js.map +0 -1
- package/lib/operations/createEvmEip7702Delegation.d.ts +0 -34
- package/lib/operations/createEvmEip7702Delegation.d.ts.map +0 -1
- package/lib/operations/createEvmEip7702Delegation.js +0 -51
- package/lib/operations/createEvmEip7702Delegation.js.map +0 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts +0 -42
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js +0 -60
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js.map +0 -1
- package/lib/operations/createEvmSmartAccount.d.ts +0 -27
- package/lib/operations/createEvmSmartAccount.d.ts.map +0 -1
- package/lib/operations/createEvmSmartAccount.js +0 -33
- package/lib/operations/createEvmSmartAccount.js.map +0 -1
- package/lib/operations/createEvmSwapQuote.d.ts +0 -80
- package/lib/operations/createEvmSwapQuote.d.ts.map +0 -1
- package/lib/operations/createEvmSwapQuote.js +0 -95
- package/lib/operations/createEvmSwapQuote.js.map +0 -1
- package/lib/operations/createFoundationAccount.d.ts +0 -26
- package/lib/operations/createFoundationAccount.d.ts.map +0 -1
- package/lib/operations/createFoundationAccount.js +0 -32
- package/lib/operations/createFoundationAccount.js.map +0 -1
- package/lib/operations/createOnrampOrder.d.ts +0 -60
- package/lib/operations/createOnrampOrder.d.ts.map +0 -1
- package/lib/operations/createOnrampOrder.js +0 -79
- package/lib/operations/createOnrampOrder.js.map +0 -1
- package/lib/operations/createOnrampSession.d.ts +0 -55
- package/lib/operations/createOnrampSession.d.ts.map +0 -1
- package/lib/operations/createOnrampSession.js +0 -68
- package/lib/operations/createOnrampSession.js.map +0 -1
- package/lib/operations/createPolicy.d.ts +0 -28
- package/lib/operations/createPolicy.d.ts.map +0 -1
- package/lib/operations/createPolicy.js +0 -32
- package/lib/operations/createPolicy.js.map +0 -1
- package/lib/operations/createSolanaAccount.d.ts +0 -30
- package/lib/operations/createSolanaAccount.d.ts.map +0 -1
- package/lib/operations/createSolanaAccount.js +0 -36
- package/lib/operations/createSolanaAccount.js.map +0 -1
- package/lib/operations/createSpendPermission.d.ts +0 -56
- package/lib/operations/createSpendPermission.d.ts.map +0 -1
- package/lib/operations/createSpendPermission.js +0 -92
- package/lib/operations/createSpendPermission.js.map +0 -1
- package/lib/operations/createTransfer.d.ts +0 -178
- package/lib/operations/createTransfer.d.ts.map +0 -1
- package/lib/operations/createTransfer.js +0 -244
- package/lib/operations/createTransfer.js.map +0 -1
- package/lib/operations/createWebhookSubscription.d.ts +0 -54
- package/lib/operations/createWebhookSubscription.d.ts.map +0 -1
- package/lib/operations/createWebhookSubscription.js +0 -109
- package/lib/operations/createWebhookSubscription.js.map +0 -1
- package/lib/operations/deletePolicy.d.ts +0 -20
- package/lib/operations/deletePolicy.d.ts.map +0 -1
- package/lib/operations/deletePolicy.js +0 -25
- package/lib/operations/deletePolicy.js.map +0 -1
- package/lib/operations/deleteWebhookSubscription.d.ts +0 -21
- package/lib/operations/deleteWebhookSubscription.d.ts.map +0 -1
- package/lib/operations/deleteWebhookSubscription.js +0 -30
- package/lib/operations/deleteWebhookSubscription.js.map +0 -1
- package/lib/operations/executeFundTransfer.d.ts +0 -103
- package/lib/operations/executeFundTransfer.d.ts.map +0 -1
- package/lib/operations/executeFundTransfer.js +0 -152
- package/lib/operations/executeFundTransfer.js.map +0 -1
- package/lib/operations/exportEvmAccount.d.ts +0 -27
- package/lib/operations/exportEvmAccount.d.ts.map +0 -1
- package/lib/operations/exportEvmAccount.js +0 -31
- package/lib/operations/exportEvmAccount.js.map +0 -1
- package/lib/operations/exportEvmAccountByName.d.ts +0 -27
- package/lib/operations/exportEvmAccountByName.d.ts.map +0 -1
- package/lib/operations/exportEvmAccountByName.js +0 -33
- package/lib/operations/exportEvmAccountByName.js.map +0 -1
- package/lib/operations/exportSolanaAccount.d.ts +0 -27
- package/lib/operations/exportSolanaAccount.d.ts.map +0 -1
- package/lib/operations/exportSolanaAccount.js +0 -33
- package/lib/operations/exportSolanaAccount.js.map +0 -1
- package/lib/operations/exportSolanaAccountByName.d.ts +0 -27
- package/lib/operations/exportSolanaAccountByName.d.ts.map +0 -1
- package/lib/operations/exportSolanaAccountByName.js +0 -36
- package/lib/operations/exportSolanaAccountByName.js.map +0 -1
- package/lib/operations/getBalanceByAsset.d.ts +0 -29
- package/lib/operations/getBalanceByAsset.d.ts.map +0 -1
- package/lib/operations/getBalanceByAsset.js +0 -34
- package/lib/operations/getBalanceByAsset.js.map +0 -1
- package/lib/operations/getDelegationForEndUser.d.ts +0 -20
- package/lib/operations/getDelegationForEndUser.d.ts.map +0 -1
- package/lib/operations/getDelegationForEndUser.js +0 -29
- package/lib/operations/getDelegationForEndUser.js.map +0 -1
- package/lib/operations/getDelegationForEndUserAccount.d.ts +0 -23
- package/lib/operations/getDelegationForEndUserAccount.d.ts.map +0 -1
- package/lib/operations/getDelegationForEndUserAccount.js +0 -33
- package/lib/operations/getDelegationForEndUserAccount.js.map +0 -1
- package/lib/operations/getDepositDestinationById.d.ts +0 -32
- package/lib/operations/getDepositDestinationById.d.ts.map +0 -1
- package/lib/operations/getDepositDestinationById.js +0 -52
- package/lib/operations/getDepositDestinationById.js.map +0 -1
- package/lib/operations/getEndUser.d.ts +0 -73
- package/lib/operations/getEndUser.d.ts.map +0 -1
- package/lib/operations/getEndUser.js +0 -84
- package/lib/operations/getEndUser.js.map +0 -1
- package/lib/operations/getEvmAccount.d.ts +0 -22
- package/lib/operations/getEvmAccount.d.ts.map +0 -1
- package/lib/operations/getEvmAccount.js +0 -26
- package/lib/operations/getEvmAccount.js.map +0 -1
- package/lib/operations/getEvmAccountByName.d.ts +0 -22
- package/lib/operations/getEvmAccountByName.d.ts.map +0 -1
- package/lib/operations/getEvmAccountByName.js +0 -28
- package/lib/operations/getEvmAccountByName.js.map +0 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +0 -22
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts.map +0 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.js +0 -46
- package/lib/operations/getEvmEip7702DelegationOperationById.js.map +0 -1
- package/lib/operations/getEvmSmartAccount.d.ts +0 -23
- package/lib/operations/getEvmSmartAccount.d.ts.map +0 -1
- package/lib/operations/getEvmSmartAccount.js +0 -29
- package/lib/operations/getEvmSmartAccount.js.map +0 -1
- package/lib/operations/getEvmSmartAccountByName.d.ts +0 -23
- package/lib/operations/getEvmSmartAccountByName.d.ts.map +0 -1
- package/lib/operations/getEvmSmartAccountByName.js +0 -29
- package/lib/operations/getEvmSmartAccountByName.js.map +0 -1
- package/lib/operations/getEvmSwapPrice.d.ts +0 -55
- package/lib/operations/getEvmSwapPrice.d.ts.map +0 -1
- package/lib/operations/getEvmSwapPrice.js +0 -62
- package/lib/operations/getEvmSwapPrice.js.map +0 -1
- package/lib/operations/getFoundationAccountById.d.ts +0 -23
- package/lib/operations/getFoundationAccountById.d.ts.map +0 -1
- package/lib/operations/getFoundationAccountById.js +0 -29
- package/lib/operations/getFoundationAccountById.js.map +0 -1
- package/lib/operations/getOnrampOrderById.d.ts +0 -39
- package/lib/operations/getOnrampOrderById.d.ts.map +0 -1
- package/lib/operations/getOnrampOrderById.js +0 -54
- package/lib/operations/getOnrampOrderById.js.map +0 -1
- package/lib/operations/getOnrampUserLimits.d.ts +0 -24
- package/lib/operations/getOnrampUserLimits.d.ts.map +0 -1
- package/lib/operations/getOnrampUserLimits.js +0 -36
- package/lib/operations/getOnrampUserLimits.js.map +0 -1
- package/lib/operations/getPaymentMethod.d.ts +0 -53
- package/lib/operations/getPaymentMethod.d.ts.map +0 -1
- package/lib/operations/getPaymentMethod.js +0 -61
- package/lib/operations/getPaymentMethod.js.map +0 -1
- package/lib/operations/getPolicyById.d.ts +0 -23
- package/lib/operations/getPolicyById.d.ts.map +0 -1
- package/lib/operations/getPolicyById.js +0 -27
- package/lib/operations/getPolicyById.js.map +0 -1
- package/lib/operations/getSQLGrammar.d.ts +0 -16
- package/lib/operations/getSQLGrammar.d.ts.map +0 -1
- package/lib/operations/getSQLGrammar.js +0 -20
- package/lib/operations/getSQLGrammar.js.map +0 -1
- package/lib/operations/getSQLSchema.d.ts +0 -31
- package/lib/operations/getSQLSchema.d.ts.map +0 -1
- package/lib/operations/getSQLSchema.js +0 -35
- package/lib/operations/getSQLSchema.js.map +0 -1
- package/lib/operations/getSolanaAccount.d.ts +0 -22
- package/lib/operations/getSolanaAccount.d.ts.map +0 -1
- package/lib/operations/getSolanaAccount.js +0 -26
- package/lib/operations/getSolanaAccount.js.map +0 -1
- package/lib/operations/getSolanaAccountByName.d.ts +0 -22
- package/lib/operations/getSolanaAccountByName.d.ts.map +0 -1
- package/lib/operations/getSolanaAccountByName.js +0 -28
- package/lib/operations/getSolanaAccountByName.js.map +0 -1
- package/lib/operations/getTransferById.d.ts +0 -99
- package/lib/operations/getTransferById.d.ts.map +0 -1
- package/lib/operations/getTransferById.js +0 -146
- package/lib/operations/getTransferById.js.map +0 -1
- package/lib/operations/getUserOperation.d.ts +0 -40
- package/lib/operations/getUserOperation.d.ts.map +0 -1
- package/lib/operations/getUserOperation.js +0 -65
- package/lib/operations/getUserOperation.js.map +0 -1
- package/lib/operations/getWebhookSubscription.d.ts +0 -39
- package/lib/operations/getWebhookSubscription.d.ts.map +0 -1
- package/lib/operations/getWebhookSubscription.js +0 -73
- package/lib/operations/getWebhookSubscription.js.map +0 -1
- package/lib/operations/importEndUser.d.ts +0 -110
- package/lib/operations/importEndUser.d.ts.map +0 -1
- package/lib/operations/importEndUser.js +0 -128
- package/lib/operations/importEndUser.js.map +0 -1
- package/lib/operations/importEvmAccount.d.ts +0 -31
- package/lib/operations/importEvmAccount.d.ts.map +0 -1
- package/lib/operations/importEvmAccount.js +0 -35
- package/lib/operations/importEvmAccount.js.map +0 -1
- package/lib/operations/importSolanaAccount.d.ts +0 -30
- package/lib/operations/importSolanaAccount.d.ts.map +0 -1
- package/lib/operations/importSolanaAccount.js +0 -36
- package/lib/operations/importSolanaAccount.js.map +0 -1
- package/lib/operations/index.d.ts +0 -116
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -116
- package/lib/operations/index.js.map +0 -1
- package/lib/operations/initiateOnrampVerification.d.ts +0 -24
- package/lib/operations/initiateOnrampVerification.d.ts.map +0 -1
- package/lib/operations/initiateOnrampVerification.js +0 -30
- package/lib/operations/initiateOnrampVerification.js.map +0 -1
- package/lib/operations/listBalances.d.ts +0 -34
- package/lib/operations/listBalances.d.ts.map +0 -1
- package/lib/operations/listBalances.js +0 -38
- package/lib/operations/listBalances.js.map +0 -1
- package/lib/operations/listDataTokenBalances.d.ts +0 -37
- package/lib/operations/listDataTokenBalances.d.ts.map +0 -1
- package/lib/operations/listDataTokenBalances.js +0 -46
- package/lib/operations/listDataTokenBalances.js.map +0 -1
- package/lib/operations/listDepositDestinations.d.ts +0 -45
- package/lib/operations/listDepositDestinations.d.ts.map +0 -1
- package/lib/operations/listDepositDestinations.js +0 -62
- package/lib/operations/listDepositDestinations.js.map +0 -1
- package/lib/operations/listEndUsers.d.ts +0 -80
- package/lib/operations/listEndUsers.d.ts.map +0 -1
- package/lib/operations/listEndUsers.js +0 -103
- package/lib/operations/listEndUsers.js.map +0 -1
- package/lib/operations/listEvmAccounts.d.ts +0 -28
- package/lib/operations/listEvmAccounts.d.ts.map +0 -1
- package/lib/operations/listEvmAccounts.js +0 -32
- package/lib/operations/listEvmAccounts.js.map +0 -1
- package/lib/operations/listEvmSmartAccounts.d.ts +0 -29
- package/lib/operations/listEvmSmartAccounts.d.ts.map +0 -1
- package/lib/operations/listEvmSmartAccounts.js +0 -35
- package/lib/operations/listEvmSmartAccounts.js.map +0 -1
- package/lib/operations/listEvmTokenBalances.d.ts +0 -37
- package/lib/operations/listEvmTokenBalances.d.ts.map +0 -1
- package/lib/operations/listEvmTokenBalances.js +0 -46
- package/lib/operations/listEvmTokenBalances.js.map +0 -1
- package/lib/operations/listFoundationAccounts.d.ts +0 -30
- package/lib/operations/listFoundationAccounts.d.ts.map +0 -1
- package/lib/operations/listFoundationAccounts.js +0 -36
- package/lib/operations/listFoundationAccounts.js.map +0 -1
- package/lib/operations/listPaymentMethods.d.ts +0 -63
- package/lib/operations/listPaymentMethods.d.ts.map +0 -1
- package/lib/operations/listPaymentMethods.js +0 -73
- package/lib/operations/listPaymentMethods.js.map +0 -1
- package/lib/operations/listPolicies.d.ts +0 -31
- package/lib/operations/listPolicies.d.ts.map +0 -1
- package/lib/operations/listPolicies.js +0 -35
- package/lib/operations/listPolicies.js.map +0 -1
- package/lib/operations/listSolanaAccounts.d.ts +0 -29
- package/lib/operations/listSolanaAccounts.d.ts.map +0 -1
- package/lib/operations/listSolanaAccounts.js +0 -35
- package/lib/operations/listSolanaAccounts.js.map +0 -1
- package/lib/operations/listSolanaTokenBalances.d.ts +0 -36
- package/lib/operations/listSolanaTokenBalances.d.ts.map +0 -1
- package/lib/operations/listSolanaTokenBalances.js +0 -45
- package/lib/operations/listSolanaTokenBalances.js.map +0 -1
- package/lib/operations/listSpendPermissions.d.ts +0 -40
- package/lib/operations/listSpendPermissions.d.ts.map +0 -1
- package/lib/operations/listSpendPermissions.js +0 -58
- package/lib/operations/listSpendPermissions.js.map +0 -1
- package/lib/operations/listTokensForAccount.d.ts +0 -23
- package/lib/operations/listTokensForAccount.d.ts.map +0 -1
- package/lib/operations/listTokensForAccount.js +0 -32
- package/lib/operations/listTokensForAccount.js.map +0 -1
- package/lib/operations/listTransfers.d.ts +0 -153
- package/lib/operations/listTransfers.d.ts.map +0 -1
- package/lib/operations/listTransfers.js +0 -205
- package/lib/operations/listTransfers.js.map +0 -1
- package/lib/operations/listWebhookSubscriptionEvents.d.ts +0 -52
- package/lib/operations/listWebhookSubscriptionEvents.d.ts.map +0 -1
- package/lib/operations/listWebhookSubscriptionEvents.js +0 -68
- package/lib/operations/listWebhookSubscriptionEvents.js.map +0 -1
- package/lib/operations/listWebhookSubscriptions.d.ts +0 -44
- package/lib/operations/listWebhookSubscriptions.d.ts.map +0 -1
- package/lib/operations/listWebhookSubscriptions.js +0 -75
- package/lib/operations/listWebhookSubscriptions.js.map +0 -1
- package/lib/operations/listX402DiscoveryMerchant.d.ts +0 -69
- package/lib/operations/listX402DiscoveryMerchant.d.ts.map +0 -1
- package/lib/operations/listX402DiscoveryMerchant.js +0 -92
- package/lib/operations/listX402DiscoveryMerchant.js.map +0 -1
- package/lib/operations/listX402DiscoveryResources.d.ts +0 -67
- package/lib/operations/listX402DiscoveryResources.d.ts.map +0 -1
- package/lib/operations/listX402DiscoveryResources.js +0 -90
- package/lib/operations/listX402DiscoveryResources.js.map +0 -1
- package/lib/operations/lookupEndUser.d.ts +0 -93
- package/lib/operations/lookupEndUser.d.ts.map +0 -1
- package/lib/operations/lookupEndUser.js +0 -116
- package/lib/operations/lookupEndUser.js.map +0 -1
- package/lib/operations/postX402DiscoveryMcp.d.ts +0 -26
- package/lib/operations/postX402DiscoveryMcp.d.ts.map +0 -1
- package/lib/operations/postX402DiscoveryMcp.js +0 -32
- package/lib/operations/postX402DiscoveryMcp.js.map +0 -1
- package/lib/operations/prepareAndSendUserOperation.d.ts +0 -55
- package/lib/operations/prepareAndSendUserOperation.d.ts.map +0 -1
- package/lib/operations/prepareAndSendUserOperation.js +0 -93
- package/lib/operations/prepareAndSendUserOperation.js.map +0 -1
- package/lib/operations/prepareUserOperation.d.ts +0 -48
- package/lib/operations/prepareUserOperation.d.ts.map +0 -1
- package/lib/operations/prepareUserOperation.js +0 -86
- package/lib/operations/prepareUserOperation.js.map +0 -1
- package/lib/operations/requestEvmFaucet.d.ts +0 -22
- package/lib/operations/requestEvmFaucet.d.ts.map +0 -1
- package/lib/operations/requestEvmFaucet.js +0 -30
- package/lib/operations/requestEvmFaucet.js.map +0 -1
- package/lib/operations/requestLimitsUpgrade.d.ts +0 -29
- package/lib/operations/requestLimitsUpgrade.d.ts.map +0 -1
- package/lib/operations/requestLimitsUpgrade.js +0 -35
- package/lib/operations/requestLimitsUpgrade.js.map +0 -1
- package/lib/operations/requestSolanaFaucet.d.ts +0 -21
- package/lib/operations/requestSolanaFaucet.d.ts.map +0 -1
- package/lib/operations/requestSolanaFaucet.js +0 -27
- package/lib/operations/requestSolanaFaucet.js.map +0 -1
- package/lib/operations/revokeDelegationForEndUser.d.ts +0 -31
- package/lib/operations/revokeDelegationForEndUser.d.ts.map +0 -1
- package/lib/operations/revokeDelegationForEndUser.js +0 -40
- package/lib/operations/revokeDelegationForEndUser.js.map +0 -1
- package/lib/operations/revokeDelegationForEndUserAccount.d.ts +0 -34
- package/lib/operations/revokeDelegationForEndUserAccount.d.ts.map +0 -1
- package/lib/operations/revokeDelegationForEndUserAccount.js +0 -44
- package/lib/operations/revokeDelegationForEndUserAccount.js.map +0 -1
- package/lib/operations/revokeSpendPermission.d.ts +0 -49
- package/lib/operations/revokeSpendPermission.d.ts.map +0 -1
- package/lib/operations/revokeSpendPermission.js +0 -85
- package/lib/operations/revokeSpendPermission.js.map +0 -1
- package/lib/operations/runSQLQuery.d.ts +0 -57
- package/lib/operations/runSQLQuery.d.ts.map +0 -1
- package/lib/operations/runSQLQuery.js +0 -82
- package/lib/operations/runSQLQuery.js.map +0 -1
- package/lib/operations/searchX402Resources.d.ts +0 -83
- package/lib/operations/searchX402Resources.d.ts.map +0 -1
- package/lib/operations/searchX402Resources.js +0 -106
- package/lib/operations/searchX402Resources.js.map +0 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts +0 -45
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.js +0 -67
- package/lib/operations/sendEvmAssetWithEndUserAccount.js.map +0 -1
- package/lib/operations/sendEvmTransaction.d.ts +0 -44
- package/lib/operations/sendEvmTransaction.d.ts.map +0 -1
- package/lib/operations/sendEvmTransaction.js +0 -65
- package/lib/operations/sendEvmTransaction.js.map +0 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts +0 -52
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js +0 -74
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js.map +0 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts +0 -44
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js +0 -54
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js.map +0 -1
- package/lib/operations/sendSolanaTransaction.d.ts +0 -39
- package/lib/operations/sendSolanaTransaction.d.ts.map +0 -1
- package/lib/operations/sendSolanaTransaction.js +0 -45
- package/lib/operations/sendSolanaTransaction.js.map +0 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts +0 -50
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js +0 -60
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js.map +0 -1
- package/lib/operations/sendUserOperation.d.ts +0 -44
- package/lib/operations/sendUserOperation.d.ts.map +0 -1
- package/lib/operations/sendUserOperation.js +0 -70
- package/lib/operations/sendUserOperation.js.map +0 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts +0 -66
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.js +0 -105
- package/lib/operations/sendUserOperationWithEndUserAccount.js.map +0 -1
- package/lib/operations/settleX402Payment.d.ts +0 -245
- package/lib/operations/settleX402Payment.d.ts.map +0 -1
- package/lib/operations/settleX402Payment.js +0 -355
- package/lib/operations/settleX402Payment.js.map +0 -1
- package/lib/operations/signEvmHash.d.ts +0 -27
- package/lib/operations/signEvmHash.d.ts.map +0 -1
- package/lib/operations/signEvmHash.js +0 -31
- package/lib/operations/signEvmHash.js.map +0 -1
- package/lib/operations/signEvmMessage.d.ts +0 -28
- package/lib/operations/signEvmMessage.d.ts.map +0 -1
- package/lib/operations/signEvmMessage.js +0 -32
- package/lib/operations/signEvmMessage.js.map +0 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts +0 -36
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.js +0 -46
- package/lib/operations/signEvmMessageWithEndUserAccount.js.map +0 -1
- package/lib/operations/signEvmTransaction.d.ts +0 -29
- package/lib/operations/signEvmTransaction.d.ts.map +0 -1
- package/lib/operations/signEvmTransaction.js +0 -38
- package/lib/operations/signEvmTransaction.js.map +0 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts +0 -37
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.js +0 -47
- package/lib/operations/signEvmTransactionWithEndUserAccount.js.map +0 -1
- package/lib/operations/signEvmTypedData.d.ts +0 -36
- package/lib/operations/signEvmTypedData.d.ts.map +0 -1
- package/lib/operations/signEvmTypedData.js +0 -43
- package/lib/operations/signEvmTypedData.js.map +0 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts +0 -46
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js +0 -56
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js.map +0 -1
- package/lib/operations/signSolanaMessage.d.ts +0 -28
- package/lib/operations/signSolanaMessage.d.ts.map +0 -1
- package/lib/operations/signSolanaMessage.js +0 -36
- package/lib/operations/signSolanaMessage.js.map +0 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts +0 -36
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.js +0 -46
- package/lib/operations/signSolanaMessageWithEndUserAccount.js.map +0 -1
- package/lib/operations/signSolanaTransaction.d.ts +0 -33
- package/lib/operations/signSolanaTransaction.d.ts.map +0 -1
- package/lib/operations/signSolanaTransaction.js +0 -42
- package/lib/operations/signSolanaTransaction.js.map +0 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts +0 -41
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts.map +0 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js +0 -51
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js.map +0 -1
- package/lib/operations/submitDepositTravelRule.d.ts +0 -52
- package/lib/operations/submitDepositTravelRule.d.ts.map +0 -1
- package/lib/operations/submitDepositTravelRule.js +0 -58
- package/lib/operations/submitDepositTravelRule.js.map +0 -1
- package/lib/operations/submitOnrampVerification.d.ts +0 -26
- package/lib/operations/submitOnrampVerification.d.ts.map +0 -1
- package/lib/operations/submitOnrampVerification.js +0 -35
- package/lib/operations/submitOnrampVerification.js.map +0 -1
- package/lib/operations/supportedX402PaymentKinds.d.ts +0 -22
- package/lib/operations/supportedX402PaymentKinds.d.ts.map +0 -1
- package/lib/operations/supportedX402PaymentKinds.js +0 -40
- package/lib/operations/supportedX402PaymentKinds.js.map +0 -1
- package/lib/operations/updateEvmAccount.d.ts +0 -28
- package/lib/operations/updateEvmAccount.d.ts.map +0 -1
- package/lib/operations/updateEvmAccount.js +0 -32
- package/lib/operations/updateEvmAccount.js.map +0 -1
- package/lib/operations/updateEvmSmartAccount.d.ts +0 -24
- package/lib/operations/updateEvmSmartAccount.d.ts.map +0 -1
- package/lib/operations/updateEvmSmartAccount.js +0 -30
- package/lib/operations/updateEvmSmartAccount.js.map +0 -1
- package/lib/operations/updatePolicy.d.ts +0 -29
- package/lib/operations/updatePolicy.d.ts.map +0 -1
- package/lib/operations/updatePolicy.js +0 -33
- package/lib/operations/updatePolicy.js.map +0 -1
- package/lib/operations/updateSolanaAccount.d.ts +0 -28
- package/lib/operations/updateSolanaAccount.d.ts.map +0 -1
- package/lib/operations/updateSolanaAccount.js +0 -34
- package/lib/operations/updateSolanaAccount.js.map +0 -1
- package/lib/operations/updateWebhookSubscription.d.ts +0 -49
- package/lib/operations/updateWebhookSubscription.d.ts.map +0 -1
- package/lib/operations/updateWebhookSubscription.js +0 -107
- package/lib/operations/updateWebhookSubscription.js.map +0 -1
- package/lib/operations/validateEndUserAccessToken.d.ts +0 -72
- package/lib/operations/validateEndUserAccessToken.d.ts.map +0 -1
- package/lib/operations/validateEndUserAccessToken.js +0 -86
- package/lib/operations/validateEndUserAccessToken.js.map +0 -1
- package/lib/operations/validateX402Resource.d.ts +0 -64
- package/lib/operations/validateX402Resource.d.ts.map +0 -1
- package/lib/operations/validateX402Resource.js +0 -92
- package/lib/operations/validateX402Resource.js.map +0 -1
- package/lib/operations/verifyX402Payment.d.ts +0 -242
- package/lib/operations/verifyX402Payment.d.ts.map +0 -1
- package/lib/operations/verifyX402Payment.js +0 -333
- package/lib/operations/verifyX402Payment.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/operations/addEndUserEvmAccount.ts +0 -48
- package/src/operations/addEndUserEvmSmartAccount.ts +0 -58
- package/src/operations/addEndUserSolanaAccount.ts +0 -48
- package/src/operations/createDelegationForEndUserAccount.ts +0 -60
- package/src/operations/createDepositDestination.ts +0 -83
- package/src/operations/createEndUser.ts +0 -230
- package/src/operations/createEvmAccount.ts +0 -51
- package/src/operations/createEvmEip7702Delegation.ts +0 -72
- package/src/operations/createEvmEip7702DelegationWithEndUserAccount.ts +0 -84
- package/src/operations/createEvmSmartAccount.ts +0 -51
- package/src/operations/createEvmSwapQuote.ts +0 -167
- package/src/operations/createFoundationAccount.ts +0 -49
- package/src/operations/createOnrampOrder.ts +0 -142
- package/src/operations/createOnrampSession.ts +0 -117
- package/src/operations/createPolicy.ts +0 -51
- package/src/operations/createSolanaAccount.ts +0 -53
- package/src/operations/createSpendPermission.ts +0 -163
- package/src/operations/createTransfer.ts +0 -461
- package/src/operations/createWebhookSubscription.ts +0 -189
- package/src/operations/deletePolicy.ts +0 -35
- package/src/operations/deleteWebhookSubscription.ts +0 -40
- package/src/operations/executeFundTransfer.ts +0 -282
- package/src/operations/exportEvmAccount.ts +0 -44
- package/src/operations/exportEvmAccountByName.ts +0 -46
- package/src/operations/exportSolanaAccount.ts +0 -46
- package/src/operations/exportSolanaAccountByName.ts +0 -49
- package/src/operations/getBalanceByAsset.ts +0 -56
- package/src/operations/getDelegationForEndUser.ts +0 -42
- package/src/operations/getDelegationForEndUserAccount.ts +0 -47
- package/src/operations/getDepositDestinationById.ts +0 -87
- package/src/operations/getEndUser.ts +0 -148
- package/src/operations/getEvmAccount.ts +0 -42
- package/src/operations/getEvmAccountByName.ts +0 -44
- package/src/operations/getEvmEip7702DelegationOperationById.ts +0 -69
- package/src/operations/getEvmSmartAccount.ts +0 -46
- package/src/operations/getEvmSmartAccountByName.ts +0 -46
- package/src/operations/getEvmSwapPrice.ts +0 -112
- package/src/operations/getFoundationAccountById.ts +0 -46
- package/src/operations/getOnrampOrderById.ts +0 -94
- package/src/operations/getOnrampUserLimits.ts +0 -57
- package/src/operations/getPaymentMethod.ts +0 -106
- package/src/operations/getPolicyById.ts +0 -44
- package/src/operations/getSQLGrammar.ts +0 -28
- package/src/operations/getSQLSchema.ts +0 -68
- package/src/operations/getSolanaAccount.ts +0 -42
- package/src/operations/getSolanaAccountByName.ts +0 -44
- package/src/operations/getTransferById.ts +0 -274
- package/src/operations/getUserOperation.ts +0 -119
- package/src/operations/getWebhookSubscription.ts +0 -122
- package/src/operations/importEndUser.ts +0 -218
- package/src/operations/importEvmAccount.ts +0 -53
- package/src/operations/importSolanaAccount.ts +0 -53
- package/src/operations/index.ts +0 -115
- package/src/operations/initiateOnrampVerification.ts +0 -44
- package/src/operations/listBalances.ts +0 -66
- package/src/operations/listDataTokenBalances.ts +0 -72
- package/src/operations/listDepositDestinations.ts +0 -107
- package/src/operations/listEndUsers.ts +0 -174
- package/src/operations/listEvmAccounts.ts +0 -54
- package/src/operations/listEvmSmartAccounts.ts +0 -58
- package/src/operations/listEvmTokenBalances.ts +0 -72
- package/src/operations/listFoundationAccounts.ts +0 -60
- package/src/operations/listPaymentMethods.ts +0 -130
- package/src/operations/listPolicies.ts +0 -59
- package/src/operations/listSolanaAccounts.ts +0 -57
- package/src/operations/listSolanaTokenBalances.ts +0 -66
- package/src/operations/listSpendPermissions.ts +0 -100
- package/src/operations/listTokensForAccount.ts +0 -47
- package/src/operations/listTransfers.ts +0 -355
- package/src/operations/listWebhookSubscriptionEvents.ts +0 -101
- package/src/operations/listWebhookSubscriptions.ts +0 -130
- package/src/operations/listX402DiscoveryMerchant.ts +0 -172
- package/src/operations/listX402DiscoveryResources.ts +0 -169
- package/src/operations/lookupEndUser.ts +0 -188
- package/src/operations/postX402DiscoveryMcp.ts +0 -54
- package/src/operations/prepareAndSendUserOperation.ts +0 -169
- package/src/operations/prepareUserOperation.ts +0 -163
- package/src/operations/requestEvmFaucet.ts +0 -44
- package/src/operations/requestLimitsUpgrade.ts +0 -54
- package/src/operations/requestSolanaFaucet.ts +0 -40
- package/src/operations/revokeDelegationForEndUser.ts +0 -52
- package/src/operations/revokeDelegationForEndUserAccount.ts +0 -57
- package/src/operations/revokeSpendPermission.ts +0 -149
- package/src/operations/runSQLQuery.ts +0 -141
- package/src/operations/searchX402Resources.ts +0 -194
- package/src/operations/sendEvmAssetWithEndUserAccount.ts +0 -103
- package/src/operations/sendEvmTransaction.ts +0 -90
- package/src/operations/sendEvmTransactionWithEndUserAccount.ts +0 -102
- package/src/operations/sendSolanaAssetWithEndUserAccount.ts +0 -75
- package/src/operations/sendSolanaTransaction.ts +0 -59
- package/src/operations/sendSolanaTransactionWithEndUserAccount.ts +0 -78
- package/src/operations/sendUserOperation.ts +0 -125
- package/src/operations/sendUserOperationWithEndUserAccount.ts +0 -186
- package/src/operations/settleX402Payment.ts +0 -819
- package/src/operations/signEvmHash.ts +0 -44
- package/src/operations/signEvmMessage.ts +0 -45
- package/src/operations/signEvmMessageWithEndUserAccount.ts +0 -62
- package/src/operations/signEvmTransaction.ts +0 -51
- package/src/operations/signEvmTransactionWithEndUserAccount.ts +0 -63
- package/src/operations/signEvmTypedData.ts +0 -65
- package/src/operations/signEvmTypedDataWithEndUserAccount.ts +0 -83
- package/src/operations/signSolanaMessage.ts +0 -49
- package/src/operations/signSolanaMessageWithEndUserAccount.ts +0 -62
- package/src/operations/signSolanaTransaction.ts +0 -55
- package/src/operations/signSolanaTransactionWithEndUserAccount.ts +0 -67
- package/src/operations/submitDepositTravelRule.ts +0 -101
- package/src/operations/submitOnrampVerification.ts +0 -49
- package/src/operations/supportedX402PaymentKinds.ts +0 -71
- package/src/operations/updateEvmAccount.ts +0 -50
- package/src/operations/updateEvmSmartAccount.ts +0 -48
- package/src/operations/updatePolicy.ts +0 -52
- package/src/operations/updateSolanaAccount.ts +0 -52
- package/src/operations/updateWebhookSubscription.ts +0 -188
- package/src/operations/validateEndUserAccessToken.ts +0 -150
- package/src/operations/validateX402Resource.ts +0 -170
- package/src/operations/verifyX402Payment.ts +0 -775
- package/src/sensitive.ts +0 -4
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.js";
|
|
3
|
-
import * as T from "../traits.js";
|
|
4
|
-
export const ImportEndUserInput = /*@__PURE__*/ Schema.Struct({
|
|
5
|
-
userId: Schema.String,
|
|
6
|
-
authenticationMethods: Schema.Array(Schema.Union([
|
|
7
|
-
Schema.Struct({
|
|
8
|
-
type: Schema.Literals(["email"]),
|
|
9
|
-
email: Schema.String,
|
|
10
|
-
}),
|
|
11
|
-
Schema.Struct({
|
|
12
|
-
type: Schema.Literals(["sms"]),
|
|
13
|
-
phoneNumber: Schema.String,
|
|
14
|
-
}),
|
|
15
|
-
Schema.Struct({
|
|
16
|
-
type: Schema.Literals(["jwt"]),
|
|
17
|
-
kid: Schema.String,
|
|
18
|
-
sub: Schema.String,
|
|
19
|
-
}),
|
|
20
|
-
Schema.Struct({
|
|
21
|
-
type: Schema.Literals(["google", "apple", "x", "telegram", "github"]),
|
|
22
|
-
sub: Schema.String,
|
|
23
|
-
email: Schema.optional(Schema.String),
|
|
24
|
-
name: Schema.optional(Schema.String),
|
|
25
|
-
username: Schema.optional(Schema.String),
|
|
26
|
-
}),
|
|
27
|
-
Schema.Struct({
|
|
28
|
-
type: Schema.Literals(["google", "apple", "x", "telegram", "github"]),
|
|
29
|
-
id: Schema.Number,
|
|
30
|
-
firstName: Schema.optional(Schema.String),
|
|
31
|
-
lastName: Schema.optional(Schema.String),
|
|
32
|
-
photoUrl: Schema.optional(Schema.String),
|
|
33
|
-
authDate: Schema.Number,
|
|
34
|
-
username: Schema.optional(Schema.String),
|
|
35
|
-
}),
|
|
36
|
-
Schema.Struct({
|
|
37
|
-
type: Schema.Literals(["siwe"]),
|
|
38
|
-
address: Schema.String,
|
|
39
|
-
}),
|
|
40
|
-
])),
|
|
41
|
-
encryptedPrivateKey: Schema.String,
|
|
42
|
-
keyType: Schema.Literals(["evm", "solana"]),
|
|
43
|
-
}).pipe(T.Http({ method: "POST", path: "/v2/end-users/import" }));
|
|
44
|
-
export const ImportEndUserOutput = /*@__PURE__*/ Schema.Struct({
|
|
45
|
-
userId: Schema.String,
|
|
46
|
-
authenticationMethods: Schema.Array(Schema.Union([
|
|
47
|
-
Schema.Struct({
|
|
48
|
-
type: Schema.Literals(["email"]),
|
|
49
|
-
email: Schema.String,
|
|
50
|
-
}),
|
|
51
|
-
Schema.Struct({
|
|
52
|
-
type: Schema.Literals(["sms"]),
|
|
53
|
-
phoneNumber: Schema.String,
|
|
54
|
-
}),
|
|
55
|
-
Schema.Struct({
|
|
56
|
-
type: Schema.Literals(["jwt"]),
|
|
57
|
-
kid: Schema.String,
|
|
58
|
-
sub: Schema.String,
|
|
59
|
-
}),
|
|
60
|
-
Schema.Struct({
|
|
61
|
-
type: Schema.Literals(["google", "apple", "x", "telegram", "github"]),
|
|
62
|
-
sub: Schema.String,
|
|
63
|
-
email: Schema.optional(Schema.String),
|
|
64
|
-
name: Schema.optional(Schema.String),
|
|
65
|
-
username: Schema.optional(Schema.String),
|
|
66
|
-
}),
|
|
67
|
-
Schema.Struct({
|
|
68
|
-
type: Schema.Literals(["google", "apple", "x", "telegram", "github"]),
|
|
69
|
-
id: Schema.Number,
|
|
70
|
-
firstName: Schema.optional(Schema.String),
|
|
71
|
-
lastName: Schema.optional(Schema.String),
|
|
72
|
-
photoUrl: Schema.optional(Schema.String),
|
|
73
|
-
authDate: Schema.Number,
|
|
74
|
-
username: Schema.optional(Schema.String),
|
|
75
|
-
}),
|
|
76
|
-
Schema.Struct({
|
|
77
|
-
type: Schema.Literals(["siwe"]),
|
|
78
|
-
address: Schema.String,
|
|
79
|
-
}),
|
|
80
|
-
])),
|
|
81
|
-
mfaMethods: Schema.optional(Schema.Struct({
|
|
82
|
-
enrollmentPromptedAt: Schema.optional(Schema.String),
|
|
83
|
-
totp: Schema.optional(Schema.Struct({
|
|
84
|
-
enrolledAt: Schema.String,
|
|
85
|
-
})),
|
|
86
|
-
sms: Schema.optional(Schema.Struct({
|
|
87
|
-
enrolledAt: Schema.String,
|
|
88
|
-
})),
|
|
89
|
-
})),
|
|
90
|
-
evmAccounts: Schema.Array(Schema.String),
|
|
91
|
-
evmAccountObjects: Schema.Array(Schema.Struct({
|
|
92
|
-
address: Schema.String,
|
|
93
|
-
createdAt: Schema.String,
|
|
94
|
-
})),
|
|
95
|
-
evmSmartAccounts: Schema.Array(Schema.String),
|
|
96
|
-
evmSmartAccountObjects: Schema.Array(Schema.Struct({
|
|
97
|
-
address: Schema.String,
|
|
98
|
-
ownerAddresses: Schema.Array(Schema.String),
|
|
99
|
-
createdAt: Schema.String,
|
|
100
|
-
})),
|
|
101
|
-
solanaAccounts: Schema.Array(Schema.String),
|
|
102
|
-
solanaAccountObjects: Schema.Array(Schema.Struct({
|
|
103
|
-
address: Schema.String,
|
|
104
|
-
createdAt: Schema.String,
|
|
105
|
-
})),
|
|
106
|
-
createdAt: Schema.String,
|
|
107
|
-
});
|
|
108
|
-
// The operation
|
|
109
|
-
/**
|
|
110
|
-
* Import end user private key
|
|
111
|
-
*
|
|
112
|
-
* Imports an existing private key for an end user into the developer's CDP Project. The private key must be encrypted using the CDP SDK's encryption scheme before being sent to this endpoint. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
|
|
113
|
-
* This endpoint allows developers to import existing keys for their end users, supporting both EVM and Solana key types. The end user must have at least one authentication method configured.
|
|
114
|
-
*
|
|
115
|
-
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
116
|
-
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
117
|
-
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
118
|
-
|
|
119
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
120
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
121
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
export const importEndUser = /*@__PURE__*/ API.make(() => ({
|
|
125
|
-
inputSchema: ImportEndUserInput,
|
|
126
|
-
outputSchema: ImportEndUserOutput,
|
|
127
|
-
}));
|
|
128
|
-
//# sourceMappingURL=importEndUser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importEndUser.js","sourceRoot":"","sources":["../../src/operations/importEndUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AA8BlC,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,qBAAqB,EAAE,MAAM,CAAC,KAAK,CACjC,MAAM,CAAC,KAAK,CAAC;QACX,MAAM,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;YAChC,KAAK,EAAE,MAAM,CAAC,MAAM;SACrB,CAAC;QACF,MAAM,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC;YAC9B,WAAW,EAAE,MAAM,CAA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C,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAC7B,MAAM,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,sBAAsB,EAAE,MAAM,CAAC,KAAK,CAClC,MAAM,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,oBAAoB,EAAE,MAAM,CAAC,KAAK,CAChC,MAAM,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAiD,CAAC;AAEnD,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzD,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export interface ImportEvmAccountInput {
|
|
3
|
-
encryptedPrivateKey: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
accountPolicy?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const ImportEvmAccountInput: Schema.Codec<ImportEvmAccountInput>;
|
|
8
|
-
export interface ImportEvmAccountOutput {
|
|
9
|
-
address: string;
|
|
10
|
-
name?: string;
|
|
11
|
-
policies?: string[];
|
|
12
|
-
createdAt?: string;
|
|
13
|
-
updatedAt?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const ImportEvmAccountOutput: Schema.Codec<ImportEvmAccountOutput>;
|
|
16
|
-
/**
|
|
17
|
-
* Import EVM account
|
|
18
|
-
*
|
|
19
|
-
* Import an existing EVM account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
|
|
20
|
-
*
|
|
21
|
-
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
22
|
-
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
23
|
-
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
24
|
-
|
|
25
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
26
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
27
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
28
|
-
|
|
29
|
-
*/
|
|
30
|
-
export declare const importEvmAccount: import("@distilled.cloud/core/client").OperationMethod<ImportEvmAccountInput, ImportEvmAccountOutput, never, import("../credentials.ts").Credentials, never>;
|
|
31
|
-
//# sourceMappingURL=importEvmAccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/importEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,qBAAqB;IACpC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,qBAAqB,EAMlB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAGpD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,eAAO,MAAM,sBAAsB,EAMlB,MAAM,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAGtD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,8JAG1B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.js";
|
|
3
|
-
import * as T from "../traits.js";
|
|
4
|
-
export const ImportEvmAccountInput = /*@__PURE__*/ Schema.Struct({
|
|
5
|
-
encryptedPrivateKey: Schema.String,
|
|
6
|
-
name: Schema.optional(Schema.String),
|
|
7
|
-
accountPolicy: Schema.optional(Schema.String),
|
|
8
|
-
}).pipe(T.Http({ method: "POST", path: "/v2/evm/accounts/import" }));
|
|
9
|
-
export const ImportEvmAccountOutput = /*@__PURE__*/ Schema.Struct({
|
|
10
|
-
address: Schema.String,
|
|
11
|
-
name: Schema.optional(Schema.String),
|
|
12
|
-
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
13
|
-
createdAt: Schema.optional(Schema.String),
|
|
14
|
-
updatedAt: Schema.optional(Schema.String),
|
|
15
|
-
});
|
|
16
|
-
// The operation
|
|
17
|
-
/**
|
|
18
|
-
* Import EVM account
|
|
19
|
-
*
|
|
20
|
-
* Import an existing EVM account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
|
|
21
|
-
*
|
|
22
|
-
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
23
|
-
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
24
|
-
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
25
|
-
|
|
26
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
27
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
28
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
29
|
-
|
|
30
|
-
*/
|
|
31
|
-
export const importEvmAccount = /*@__PURE__*/ API.make(() => ({
|
|
32
|
-
inputSchema: ImportEvmAccountInput,
|
|
33
|
-
outputSchema: ImportEvmAccountOutput,
|
|
34
|
-
}));
|
|
35
|
-
//# sourceMappingURL=importEvmAccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importEvmAccount.js","sourceRoot":"","sources":["../../src/operations/importEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAQlC,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC/D,mBAAmB,EAAE,MAAM,CAAC,MAAM;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC9C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC,CACV,CAAC;AAUpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAChE,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAoD,CAAC;AAEtD,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5D,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;CACrC,CAAC,CAAC,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export interface ImportSolanaAccountInput {
|
|
3
|
-
encryptedPrivateKey: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ImportSolanaAccountInput: Schema.Codec<ImportSolanaAccountInput>;
|
|
7
|
-
export interface ImportSolanaAccountOutput {
|
|
8
|
-
address: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
policies?: string[];
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
updatedAt?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ImportSolanaAccountOutput: Schema.Codec<ImportSolanaAccountOutput>;
|
|
15
|
-
/**
|
|
16
|
-
* Import Solana account
|
|
17
|
-
*
|
|
18
|
-
* Import an existing Solana account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
|
|
19
|
-
*
|
|
20
|
-
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
21
|
-
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
22
|
-
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
23
|
-
|
|
24
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
25
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
26
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
export declare const importSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<ImportSolanaAccountInput, ImportSolanaAccountOutput, never, import("../credentials.ts").Credentials, never>;
|
|
30
|
-
//# sourceMappingURL=importSolanaAccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/importSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,wBAAwB;IACvC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,wBAAwB,EAMnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,eAAO,MAAM,yBAAyB,EAOnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,oKAG7B,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.js";
|
|
3
|
-
import * as T from "../traits.js";
|
|
4
|
-
export const ImportSolanaAccountInput =
|
|
5
|
-
/*@__PURE__*/ Schema.Struct({
|
|
6
|
-
encryptedPrivateKey: Schema.String,
|
|
7
|
-
name: Schema.optional(Schema.String),
|
|
8
|
-
}).pipe(T.Http({ method: "POST", path: "/v2/solana/accounts/import" }));
|
|
9
|
-
export const ImportSolanaAccountOutput =
|
|
10
|
-
/*@__PURE__*/ Schema.Struct({
|
|
11
|
-
address: Schema.String,
|
|
12
|
-
name: Schema.optional(Schema.String),
|
|
13
|
-
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
14
|
-
createdAt: Schema.optional(Schema.String),
|
|
15
|
-
updatedAt: Schema.optional(Schema.String),
|
|
16
|
-
});
|
|
17
|
-
// The operation
|
|
18
|
-
/**
|
|
19
|
-
* Import Solana account
|
|
20
|
-
*
|
|
21
|
-
* Import an existing Solana account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
|
|
22
|
-
*
|
|
23
|
-
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
24
|
-
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
25
|
-
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
26
|
-
|
|
27
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
28
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
29
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export const importSolanaAccount = /*@__PURE__*/ API.make(() => ({
|
|
33
|
-
inputSchema: ImportSolanaAccountInput,
|
|
34
|
-
outputSchema: ImportSolanaAccountOutput,
|
|
35
|
-
}));
|
|
36
|
-
//# sourceMappingURL=importSolanaAccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importSolanaAccount.js","sourceRoot":"","sources":["../../src/operations/importSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAOlC,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC,MAAM;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CACV,CAAC;AAUzD,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAuD,CAAC;AAE3D,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/D,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
export * from "./listFoundationAccounts.ts";
|
|
2
|
-
export * from "./createFoundationAccount.ts";
|
|
3
|
-
export * from "./getFoundationAccountById.ts";
|
|
4
|
-
export * from "./listBalances.ts";
|
|
5
|
-
export * from "./getBalanceByAsset.ts";
|
|
6
|
-
export * from "./listDepositDestinations.ts";
|
|
7
|
-
export * from "./createDepositDestination.ts";
|
|
8
|
-
export * from "./getDepositDestinationById.ts";
|
|
9
|
-
export * from "./listTransfers.ts";
|
|
10
|
-
export * from "./createTransfer.ts";
|
|
11
|
-
export * from "./getTransferById.ts";
|
|
12
|
-
export * from "./executeFundTransfer.ts";
|
|
13
|
-
export * from "./submitDepositTravelRule.ts";
|
|
14
|
-
export * from "./listEndUsers.ts";
|
|
15
|
-
export * from "./createEndUser.ts";
|
|
16
|
-
export * from "./validateEndUserAccessToken.ts";
|
|
17
|
-
export * from "./getEndUser.ts";
|
|
18
|
-
export * from "./lookupEndUser.ts";
|
|
19
|
-
export * from "./addEndUserEvmAccount.ts";
|
|
20
|
-
export * from "./addEndUserEvmSmartAccount.ts";
|
|
21
|
-
export * from "./addEndUserSolanaAccount.ts";
|
|
22
|
-
export * from "./importEndUser.ts";
|
|
23
|
-
export * from "./signEvmTransactionWithEndUserAccount.ts";
|
|
24
|
-
export * from "./sendEvmTransactionWithEndUserAccount.ts";
|
|
25
|
-
export * from "./sendEvmAssetWithEndUserAccount.ts";
|
|
26
|
-
export * from "./signEvmMessageWithEndUserAccount.ts";
|
|
27
|
-
export * from "./signEvmTypedDataWithEndUserAccount.ts";
|
|
28
|
-
export * from "./getDelegationForEndUser.ts";
|
|
29
|
-
export * from "./revokeDelegationForEndUser.ts";
|
|
30
|
-
export * from "./getDelegationForEndUserAccount.ts";
|
|
31
|
-
export * from "./createDelegationForEndUserAccount.ts";
|
|
32
|
-
export * from "./revokeDelegationForEndUserAccount.ts";
|
|
33
|
-
export * from "./createEvmEip7702DelegationWithEndUserAccount.ts";
|
|
34
|
-
export * from "./sendUserOperationWithEndUserAccount.ts";
|
|
35
|
-
export * from "./signSolanaMessageWithEndUserAccount.ts";
|
|
36
|
-
export * from "./signSolanaTransactionWithEndUserAccount.ts";
|
|
37
|
-
export * from "./sendSolanaTransactionWithEndUserAccount.ts";
|
|
38
|
-
export * from "./sendSolanaAssetWithEndUserAccount.ts";
|
|
39
|
-
export * from "./listEvmAccounts.ts";
|
|
40
|
-
export * from "./createEvmAccount.ts";
|
|
41
|
-
export * from "./getEvmAccount.ts";
|
|
42
|
-
export * from "./updateEvmAccount.ts";
|
|
43
|
-
export * from "./getEvmAccountByName.ts";
|
|
44
|
-
export * from "./sendEvmTransaction.ts";
|
|
45
|
-
export * from "./signEvmTransaction.ts";
|
|
46
|
-
export * from "./signEvmHash.ts";
|
|
47
|
-
export * from "./signEvmMessage.ts";
|
|
48
|
-
export * from "./signEvmTypedData.ts";
|
|
49
|
-
export * from "./createEvmEip7702Delegation.ts";
|
|
50
|
-
export * from "./getEvmEip7702DelegationOperationById.ts";
|
|
51
|
-
export * from "./listEvmSmartAccounts.ts";
|
|
52
|
-
export * from "./createEvmSmartAccount.ts";
|
|
53
|
-
export * from "./getEvmSmartAccountByName.ts";
|
|
54
|
-
export * from "./importEvmAccount.ts";
|
|
55
|
-
export * from "./exportEvmAccount.ts";
|
|
56
|
-
export * from "./exportEvmAccountByName.ts";
|
|
57
|
-
export * from "./getEvmSmartAccount.ts";
|
|
58
|
-
export * from "./updateEvmSmartAccount.ts";
|
|
59
|
-
export * from "./prepareUserOperation.ts";
|
|
60
|
-
export * from "./prepareAndSendUserOperation.ts";
|
|
61
|
-
export * from "./getUserOperation.ts";
|
|
62
|
-
export * from "./sendUserOperation.ts";
|
|
63
|
-
export * from "./createSpendPermission.ts";
|
|
64
|
-
export * from "./listSpendPermissions.ts";
|
|
65
|
-
export * from "./revokeSpendPermission.ts";
|
|
66
|
-
export * from "./getEvmSwapPrice.ts";
|
|
67
|
-
export * from "./createEvmSwapQuote.ts";
|
|
68
|
-
export * from "./listEvmTokenBalances.ts";
|
|
69
|
-
export * from "./requestEvmFaucet.ts";
|
|
70
|
-
export * from "./listPolicies.ts";
|
|
71
|
-
export * from "./createPolicy.ts";
|
|
72
|
-
export * from "./getPolicyById.ts";
|
|
73
|
-
export * from "./updatePolicy.ts";
|
|
74
|
-
export * from "./deletePolicy.ts";
|
|
75
|
-
export * from "./listSolanaAccounts.ts";
|
|
76
|
-
export * from "./createSolanaAccount.ts";
|
|
77
|
-
export * from "./getSolanaAccount.ts";
|
|
78
|
-
export * from "./updateSolanaAccount.ts";
|
|
79
|
-
export * from "./getSolanaAccountByName.ts";
|
|
80
|
-
export * from "./importSolanaAccount.ts";
|
|
81
|
-
export * from "./exportSolanaAccount.ts";
|
|
82
|
-
export * from "./exportSolanaAccountByName.ts";
|
|
83
|
-
export * from "./signSolanaTransaction.ts";
|
|
84
|
-
export * from "./signSolanaMessage.ts";
|
|
85
|
-
export * from "./sendSolanaTransaction.ts";
|
|
86
|
-
export * from "./requestSolanaFaucet.ts";
|
|
87
|
-
export * from "./listSolanaTokenBalances.ts";
|
|
88
|
-
export * from "./runSQLQuery.ts";
|
|
89
|
-
export * from "./getSQLGrammar.ts";
|
|
90
|
-
export * from "./getSQLSchema.ts";
|
|
91
|
-
export * from "./listTokensForAccount.ts";
|
|
92
|
-
export * from "./listDataTokenBalances.ts";
|
|
93
|
-
export * from "./listWebhookSubscriptions.ts";
|
|
94
|
-
export * from "./createWebhookSubscription.ts";
|
|
95
|
-
export * from "./getWebhookSubscription.ts";
|
|
96
|
-
export * from "./updateWebhookSubscription.ts";
|
|
97
|
-
export * from "./deleteWebhookSubscription.ts";
|
|
98
|
-
export * from "./listWebhookSubscriptionEvents.ts";
|
|
99
|
-
export * from "./verifyX402Payment.ts";
|
|
100
|
-
export * from "./settleX402Payment.ts";
|
|
101
|
-
export * from "./supportedX402PaymentKinds.ts";
|
|
102
|
-
export * from "./listX402DiscoveryResources.ts";
|
|
103
|
-
export * from "./listX402DiscoveryMerchant.ts";
|
|
104
|
-
export * from "./searchX402Resources.ts";
|
|
105
|
-
export * from "./postX402DiscoveryMcp.ts";
|
|
106
|
-
export * from "./validateX402Resource.ts";
|
|
107
|
-
export * from "./initiateOnrampVerification.ts";
|
|
108
|
-
export * from "./submitOnrampVerification.ts";
|
|
109
|
-
export * from "./createOnrampOrder.ts";
|
|
110
|
-
export * from "./getOnrampOrderById.ts";
|
|
111
|
-
export * from "./createOnrampSession.ts";
|
|
112
|
-
export * from "./getOnrampUserLimits.ts";
|
|
113
|
-
export * from "./requestLimitsUpgrade.ts";
|
|
114
|
-
export * from "./listPaymentMethods.ts";
|
|
115
|
-
export * from "./getPaymentMethod.ts";
|
|
116
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,8B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.js";
|
|
3
|
-
export * from "./getFoundationAccountById.js";
|
|
4
|
-
export * from "./listBalances.js";
|
|
5
|
-
export * from "./getBalanceByAsset.js";
|
|
6
|
-
export * from "./listDepositDestinations.js";
|
|
7
|
-
export * from "./createDepositDestination.js";
|
|
8
|
-
export * from "./getDepositDestinationById.js";
|
|
9
|
-
export * from "./listTransfers.js";
|
|
10
|
-
export * from "./createTransfer.js";
|
|
11
|
-
export * from "./getTransferById.js";
|
|
12
|
-
export * from "./executeFundTransfer.js";
|
|
13
|
-
export * from "./submitDepositTravelRule.js";
|
|
14
|
-
export * from "./listEndUsers.js";
|
|
15
|
-
export * from "./createEndUser.js";
|
|
16
|
-
export * from "./validateEndUserAccessToken.js";
|
|
17
|
-
export * from "./getEndUser.js";
|
|
18
|
-
export * from "./lookupEndUser.js";
|
|
19
|
-
export * from "./addEndUserEvmAccount.js";
|
|
20
|
-
export * from "./addEndUserEvmSmartAccount.js";
|
|
21
|
-
export * from "./addEndUserSolanaAccount.js";
|
|
22
|
-
export * from "./importEndUser.js";
|
|
23
|
-
export * from "./signEvmTransactionWithEndUserAccount.js";
|
|
24
|
-
export * from "./sendEvmTransactionWithEndUserAccount.js";
|
|
25
|
-
export * from "./sendEvmAssetWithEndUserAccount.js";
|
|
26
|
-
export * from "./signEvmMessageWithEndUserAccount.js";
|
|
27
|
-
export * from "./signEvmTypedDataWithEndUserAccount.js";
|
|
28
|
-
export * from "./getDelegationForEndUser.js";
|
|
29
|
-
export * from "./revokeDelegationForEndUser.js";
|
|
30
|
-
export * from "./getDelegationForEndUserAccount.js";
|
|
31
|
-
export * from "./createDelegationForEndUserAccount.js";
|
|
32
|
-
export * from "./revokeDelegationForEndUserAccount.js";
|
|
33
|
-
export * from "./createEvmEip7702DelegationWithEndUserAccount.js";
|
|
34
|
-
export * from "./sendUserOperationWithEndUserAccount.js";
|
|
35
|
-
export * from "./signSolanaMessageWithEndUserAccount.js";
|
|
36
|
-
export * from "./signSolanaTransactionWithEndUserAccount.js";
|
|
37
|
-
export * from "./sendSolanaTransactionWithEndUserAccount.js";
|
|
38
|
-
export * from "./sendSolanaAssetWithEndUserAccount.js";
|
|
39
|
-
export * from "./listEvmAccounts.js";
|
|
40
|
-
export * from "./createEvmAccount.js";
|
|
41
|
-
export * from "./getEvmAccount.js";
|
|
42
|
-
export * from "./updateEvmAccount.js";
|
|
43
|
-
export * from "./getEvmAccountByName.js";
|
|
44
|
-
export * from "./sendEvmTransaction.js";
|
|
45
|
-
export * from "./signEvmTransaction.js";
|
|
46
|
-
export * from "./signEvmHash.js";
|
|
47
|
-
export * from "./signEvmMessage.js";
|
|
48
|
-
export * from "./signEvmTypedData.js";
|
|
49
|
-
export * from "./createEvmEip7702Delegation.js";
|
|
50
|
-
export * from "./getEvmEip7702DelegationOperationById.js";
|
|
51
|
-
export * from "./listEvmSmartAccounts.js";
|
|
52
|
-
export * from "./createEvmSmartAccount.js";
|
|
53
|
-
export * from "./getEvmSmartAccountByName.js";
|
|
54
|
-
export * from "./importEvmAccount.js";
|
|
55
|
-
export * from "./exportEvmAccount.js";
|
|
56
|
-
export * from "./exportEvmAccountByName.js";
|
|
57
|
-
export * from "./getEvmSmartAccount.js";
|
|
58
|
-
export * from "./updateEvmSmartAccount.js";
|
|
59
|
-
export * from "./prepareUserOperation.js";
|
|
60
|
-
export * from "./prepareAndSendUserOperation.js";
|
|
61
|
-
export * from "./getUserOperation.js";
|
|
62
|
-
export * from "./sendUserOperation.js";
|
|
63
|
-
export * from "./createSpendPermission.js";
|
|
64
|
-
export * from "./listSpendPermissions.js";
|
|
65
|
-
export * from "./revokeSpendPermission.js";
|
|
66
|
-
export * from "./getEvmSwapPrice.js";
|
|
67
|
-
export * from "./createEvmSwapQuote.js";
|
|
68
|
-
export * from "./listEvmTokenBalances.js";
|
|
69
|
-
export * from "./requestEvmFaucet.js";
|
|
70
|
-
export * from "./listPolicies.js";
|
|
71
|
-
export * from "./createPolicy.js";
|
|
72
|
-
export * from "./getPolicyById.js";
|
|
73
|
-
export * from "./updatePolicy.js";
|
|
74
|
-
export * from "./deletePolicy.js";
|
|
75
|
-
export * from "./listSolanaAccounts.js";
|
|
76
|
-
export * from "./createSolanaAccount.js";
|
|
77
|
-
export * from "./getSolanaAccount.js";
|
|
78
|
-
export * from "./updateSolanaAccount.js";
|
|
79
|
-
export * from "./getSolanaAccountByName.js";
|
|
80
|
-
export * from "./importSolanaAccount.js";
|
|
81
|
-
export * from "./exportSolanaAccount.js";
|
|
82
|
-
export * from "./exportSolanaAccountByName.js";
|
|
83
|
-
export * from "./signSolanaTransaction.js";
|
|
84
|
-
export * from "./signSolanaMessage.js";
|
|
85
|
-
export * from "./sendSolanaTransaction.js";
|
|
86
|
-
export * from "./requestSolanaFaucet.js";
|
|
87
|
-
export * from "./listSolanaTokenBalances.js";
|
|
88
|
-
export * from "./runSQLQuery.js";
|
|
89
|
-
export * from "./getSQLGrammar.js";
|
|
90
|
-
export * from "./getSQLSchema.js";
|
|
91
|
-
export * from "./listTokensForAccount.js";
|
|
92
|
-
export * from "./listDataTokenBalances.js";
|
|
93
|
-
export * from "./listWebhookSubscriptions.js";
|
|
94
|
-
export * from "./createWebhookSubscription.js";
|
|
95
|
-
export * from "./getWebhookSubscription.js";
|
|
96
|
-
export * from "./updateWebhookSubscription.js";
|
|
97
|
-
export * from "./deleteWebhookSubscription.js";
|
|
98
|
-
export * from "./listWebhookSubscriptionEvents.js";
|
|
99
|
-
export * from "./verifyX402Payment.js";
|
|
100
|
-
export * from "./settleX402Payment.js";
|
|
101
|
-
export * from "./supportedX402PaymentKinds.js";
|
|
102
|
-
export * from "./listX402DiscoveryResources.js";
|
|
103
|
-
export * from "./listX402DiscoveryMerchant.js";
|
|
104
|
-
export * from "./searchX402Resources.js";
|
|
105
|
-
export * from "./postX402DiscoveryMcp.js";
|
|
106
|
-
export * from "./validateX402Resource.js";
|
|
107
|
-
export * from "./initiateOnrampVerification.js";
|
|
108
|
-
export * from "./submitOnrampVerification.js";
|
|
109
|
-
export * from "./createOnrampOrder.js";
|
|
110
|
-
export * from "./getOnrampOrderById.js";
|
|
111
|
-
export * from "./createOnrampSession.js";
|
|
112
|
-
export * from "./getOnrampUserLimits.js";
|
|
113
|
-
export * from "./requestLimitsUpgrade.js";
|
|
114
|
-
export * from "./listPaymentMethods.js";
|
|
115
|
-
export * from "./getPaymentMethod.js";
|
|
116
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mDAAmD,CA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AAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export interface InitiateOnrampVerificationInput {
|
|
3
|
-
channel: "sms" | "email";
|
|
4
|
-
destination: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const InitiateOnrampVerificationInput: Schema.Codec<InitiateOnrampVerificationInput>;
|
|
7
|
-
export interface InitiateOnrampVerificationOutput {
|
|
8
|
-
verificationId: string;
|
|
9
|
-
otpExpiresAt: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const InitiateOnrampVerificationOutput: Schema.Codec<InitiateOnrampVerificationOutput>;
|
|
12
|
-
/**
|
|
13
|
-
* Initiate onramp verification
|
|
14
|
-
*
|
|
15
|
-
* Initiates OTP verification by sending a 6-digit code to the user via the specified channel (SMS or email). Returns a `verificationId` that must be passed to the Submit Onramp Verification endpoint along with the OTP code within 10 minutes.
|
|
16
|
-
* **Access to this API requires allowlisting.** During Onramp Headless API onboarding, contact the Onramp team to enable Onramp-managed verification for your application.
|
|
17
|
-
*
|
|
18
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
19
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
20
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
export declare const initiateOnrampVerification: import("@distilled.cloud/core/client").OperationMethod<InitiateOnrampVerificationInput, InitiateOnrampVerificationOutput, never, import("../credentials.ts").Credentials, never>;
|
|
24
|
-
//# sourceMappingURL=initiateOnrampVerification.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initiateOnrampVerification.d.ts","sourceRoot":"","sources":["../../src/operations/initiateOnrampVerification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,KAAK,GAAG,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,+BAA+B,EAM1B,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;AAGhE,MAAM,WAAW,gCAAgC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB;AACD,eAAO,MAAM,gCAAgC,EAI1B,MAAM,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;AAGlE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B,kLAGpC,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.js";
|
|
3
|
-
import * as T from "../traits.js";
|
|
4
|
-
export const InitiateOnrampVerificationInput =
|
|
5
|
-
/*@__PURE__*/ Schema.Struct({
|
|
6
|
-
channel: Schema.Literals(["sms", "email"]),
|
|
7
|
-
destination: Schema.String,
|
|
8
|
-
}).pipe(T.Http({ method: "POST", path: "/v2/onramp/verifications" }));
|
|
9
|
-
export const InitiateOnrampVerificationOutput =
|
|
10
|
-
/*@__PURE__*/ Schema.Struct({
|
|
11
|
-
verificationId: Schema.String,
|
|
12
|
-
otpExpiresAt: Schema.String,
|
|
13
|
-
});
|
|
14
|
-
// The operation
|
|
15
|
-
/**
|
|
16
|
-
* Initiate onramp verification
|
|
17
|
-
*
|
|
18
|
-
* Initiates OTP verification by sending a 6-digit code to the user via the specified channel (SMS or email). Returns a `verificationId` that must be passed to the Submit Onramp Verification endpoint along with the OTP code within 10 minutes.
|
|
19
|
-
* **Access to this API requires allowlisting.** During Onramp Headless API onboarding, contact the Onramp team to enable Onramp-managed verification for your application.
|
|
20
|
-
*
|
|
21
|
-
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
22
|
-
When included, duplicate requests with the same key will return identical responses.
|
|
23
|
-
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
24
|
-
|
|
25
|
-
*/
|
|
26
|
-
export const initiateOnrampVerification = /*@__PURE__*/ API.make(() => ({
|
|
27
|
-
inputSchema: InitiateOnrampVerificationInput,
|
|
28
|
-
outputSchema: InitiateOnrampVerificationOutput,
|
|
29
|
-
}));
|
|
30
|
-
//# sourceMappingURL=initiateOnrampVerification.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initiateOnrampVerification.js","sourceRoot":"","sources":["../../src/operations/initiateOnrampVerification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAOlC,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1C,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,CACD,CAAC;AAOhE,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC,MAAM;IAC7B,YAAY,EAAE,MAAM,CAAC,MAAM;CAC5B,CAA8D,CAAC;AAElE,gBAAgB;AAChB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,+BAA+B;IAC5C,YAAY,EAAE,gCAAgC;CAC/C,CAAC,CAAC,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export interface ListBalancesInput {
|
|
3
|
-
accountId: string;
|
|
4
|
-
pageSize?: number;
|
|
5
|
-
pageToken?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const ListBalancesInput: Schema.Codec<ListBalancesInput>;
|
|
8
|
-
export interface ListBalancesOutput {
|
|
9
|
-
balances: {
|
|
10
|
-
asset: {
|
|
11
|
-
symbol: string;
|
|
12
|
-
type: "fiat" | "crypto";
|
|
13
|
-
name: string;
|
|
14
|
-
decimals: number;
|
|
15
|
-
};
|
|
16
|
-
amount: Record<string, {
|
|
17
|
-
available: string;
|
|
18
|
-
total: string;
|
|
19
|
-
}>;
|
|
20
|
-
}[];
|
|
21
|
-
nextPageToken?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const ListBalancesOutput: Schema.Codec<ListBalancesOutput>;
|
|
24
|
-
/**
|
|
25
|
-
* List balances for account
|
|
26
|
-
*
|
|
27
|
-
* List the balances for an account. Results are sorted by native-fiat equivalent balance in descending order.
|
|
28
|
-
*
|
|
29
|
-
* @param accountId - The unique identifier of the account.
|
|
30
|
-
* @param pageSize - The number of resources to return per page.
|
|
31
|
-
* @param pageToken - The token for the next page of resources, if any.
|
|
32
|
-
*/
|
|
33
|
-
export declare const listBalances: import("@distilled.cloud/core/client").OperationMethod<ListBalancesInput, ListBalancesOutput, never, import("../credentials.ts").Credentials, never>;
|
|
34
|
-
//# sourceMappingURL=listBalances.d.ts.map
|