@distilled.cloud/coinbase 0.0.0-john
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/README.md +77 -0
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +12 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +245 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +33 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +30 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +855 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +466 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/addEndUserEvmAccount.d.ts +30 -0
- package/lib/operations/addEndUserEvmAccount.d.ts.map +1 -0
- package/lib/operations/addEndUserEvmAccount.js +38 -0
- package/lib/operations/addEndUserEvmAccount.js.map +1 -0
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +32 -0
- package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +1 -0
- package/lib/operations/addEndUserEvmSmartAccount.js +43 -0
- package/lib/operations/addEndUserEvmSmartAccount.js.map +1 -0
- package/lib/operations/addEndUserSolanaAccount.d.ts +30 -0
- package/lib/operations/addEndUserSolanaAccount.d.ts.map +1 -0
- package/lib/operations/addEndUserSolanaAccount.js +38 -0
- package/lib/operations/addEndUserSolanaAccount.js.map +1 -0
- package/lib/operations/createEndUser.d.ts +61 -0
- package/lib/operations/createEndUser.d.ts.map +1 -0
- package/lib/operations/createEndUser.js +67 -0
- package/lib/operations/createEndUser.js.map +1 -0
- package/lib/operations/createEvmAccount.d.ts +30 -0
- package/lib/operations/createEvmAccount.d.ts.map +1 -0
- package/lib/operations/createEvmAccount.js +36 -0
- package/lib/operations/createEvmAccount.js.map +1 -0
- package/lib/operations/createEvmEip7702Delegation.d.ts +34 -0
- package/lib/operations/createEvmEip7702Delegation.d.ts.map +1 -0
- package/lib/operations/createEvmEip7702Delegation.js +53 -0
- package/lib/operations/createEvmEip7702Delegation.js.map +1 -0
- package/lib/operations/createEvmSmartAccount.d.ts +27 -0
- package/lib/operations/createEvmSmartAccount.d.ts.map +1 -0
- package/lib/operations/createEvmSmartAccount.js +35 -0
- package/lib/operations/createEvmSmartAccount.js.map +1 -0
- package/lib/operations/createEvmSwapQuote.d.ts +26 -0
- package/lib/operations/createEvmSwapQuote.d.ts.map +1 -0
- package/lib/operations/createEvmSwapQuote.js +40 -0
- package/lib/operations/createEvmSwapQuote.js.map +1 -0
- package/lib/operations/createOnrampOrder.d.ts +58 -0
- package/lib/operations/createOnrampOrder.d.ts.map +1 -0
- package/lib/operations/createOnrampOrder.js +79 -0
- package/lib/operations/createOnrampOrder.js.map +1 -0
- package/lib/operations/createOnrampSession.d.ts +55 -0
- package/lib/operations/createOnrampSession.d.ts.map +1 -0
- package/lib/operations/createOnrampSession.js +70 -0
- package/lib/operations/createOnrampSession.js.map +1 -0
- package/lib/operations/createPolicy.d.ts +28 -0
- package/lib/operations/createPolicy.d.ts.map +1 -0
- package/lib/operations/createPolicy.js +34 -0
- package/lib/operations/createPolicy.js.map +1 -0
- package/lib/operations/createSolanaAccount.d.ts +30 -0
- package/lib/operations/createSolanaAccount.d.ts.map +1 -0
- package/lib/operations/createSolanaAccount.js +38 -0
- package/lib/operations/createSolanaAccount.js.map +1 -0
- package/lib/operations/createSpendPermission.d.ts +55 -0
- package/lib/operations/createSpendPermission.d.ts.map +1 -0
- package/lib/operations/createSpendPermission.js +93 -0
- package/lib/operations/createSpendPermission.js.map +1 -0
- package/lib/operations/createWebhookSubscription.d.ts +74 -0
- package/lib/operations/createWebhookSubscription.d.ts.map +1 -0
- package/lib/operations/createWebhookSubscription.js +82 -0
- package/lib/operations/createWebhookSubscription.js.map +1 -0
- package/lib/operations/deletePolicy.d.ts +20 -0
- package/lib/operations/deletePolicy.d.ts.map +1 -0
- package/lib/operations/deletePolicy.js +26 -0
- package/lib/operations/deletePolicy.js.map +1 -0
- package/lib/operations/deleteWebhookSubscription.d.ts +21 -0
- package/lib/operations/deleteWebhookSubscription.d.ts.map +1 -0
- package/lib/operations/deleteWebhookSubscription.js +32 -0
- package/lib/operations/deleteWebhookSubscription.js.map +1 -0
- package/lib/operations/exportEvmAccount.d.ts +27 -0
- package/lib/operations/exportEvmAccount.d.ts.map +1 -0
- package/lib/operations/exportEvmAccount.js +33 -0
- package/lib/operations/exportEvmAccount.js.map +1 -0
- package/lib/operations/exportEvmAccountByName.d.ts +27 -0
- package/lib/operations/exportEvmAccountByName.d.ts.map +1 -0
- package/lib/operations/exportEvmAccountByName.js +35 -0
- package/lib/operations/exportEvmAccountByName.js.map +1 -0
- package/lib/operations/exportSolanaAccount.d.ts +27 -0
- package/lib/operations/exportSolanaAccount.d.ts.map +1 -0
- package/lib/operations/exportSolanaAccount.js +35 -0
- package/lib/operations/exportSolanaAccount.js.map +1 -0
- package/lib/operations/exportSolanaAccountByName.d.ts +27 -0
- package/lib/operations/exportSolanaAccountByName.d.ts.map +1 -0
- package/lib/operations/exportSolanaAccountByName.js +38 -0
- package/lib/operations/exportSolanaAccountByName.js.map +1 -0
- package/lib/operations/getEndUser.d.ts +46 -0
- package/lib/operations/getEndUser.d.ts.map +1 -0
- package/lib/operations/getEndUser.js +52 -0
- package/lib/operations/getEndUser.js.map +1 -0
- package/lib/operations/getEvmAccount.d.ts +22 -0
- package/lib/operations/getEvmAccount.d.ts.map +1 -0
- package/lib/operations/getEvmAccount.js +28 -0
- package/lib/operations/getEvmAccount.js.map +1 -0
- package/lib/operations/getEvmAccountByName.d.ts +22 -0
- package/lib/operations/getEvmAccountByName.d.ts.map +1 -0
- package/lib/operations/getEvmAccountByName.js +30 -0
- package/lib/operations/getEvmAccountByName.js.map +1 -0
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +22 -0
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts.map +1 -0
- package/lib/operations/getEvmEip7702DelegationOperationById.js +48 -0
- package/lib/operations/getEvmEip7702DelegationOperationById.js.map +1 -0
- package/lib/operations/getEvmSmartAccount.d.ts +23 -0
- package/lib/operations/getEvmSmartAccount.d.ts.map +1 -0
- package/lib/operations/getEvmSmartAccount.js +31 -0
- package/lib/operations/getEvmSmartAccount.js.map +1 -0
- package/lib/operations/getEvmSmartAccountByName.d.ts +23 -0
- package/lib/operations/getEvmSmartAccountByName.d.ts.map +1 -0
- package/lib/operations/getEvmSmartAccountByName.js +31 -0
- package/lib/operations/getEvmSmartAccountByName.js.map +1 -0
- package/lib/operations/getEvmSwapPrice.d.ts +21 -0
- package/lib/operations/getEvmSwapPrice.d.ts.map +1 -0
- package/lib/operations/getEvmSwapPrice.js +27 -0
- package/lib/operations/getEvmSwapPrice.js.map +1 -0
- package/lib/operations/getOnrampOrderById.d.ts +39 -0
- package/lib/operations/getOnrampOrderById.d.ts.map +1 -0
- package/lib/operations/getOnrampOrderById.js +56 -0
- package/lib/operations/getOnrampOrderById.js.map +1 -0
- package/lib/operations/getOnrampUserLimits.d.ts +24 -0
- package/lib/operations/getOnrampUserLimits.d.ts.map +1 -0
- package/lib/operations/getOnrampUserLimits.js +38 -0
- package/lib/operations/getOnrampUserLimits.js.map +1 -0
- package/lib/operations/getPolicyById.d.ts +23 -0
- package/lib/operations/getPolicyById.d.ts.map +1 -0
- package/lib/operations/getPolicyById.js +29 -0
- package/lib/operations/getPolicyById.js.map +1 -0
- package/lib/operations/getSQLGrammar.d.ts +14 -0
- package/lib/operations/getSQLGrammar.d.ts.map +1 -0
- package/lib/operations/getSQLGrammar.js +20 -0
- package/lib/operations/getSQLGrammar.js.map +1 -0
- package/lib/operations/getSolanaAccount.d.ts +22 -0
- package/lib/operations/getSolanaAccount.d.ts.map +1 -0
- package/lib/operations/getSolanaAccount.js +28 -0
- package/lib/operations/getSolanaAccount.js.map +1 -0
- package/lib/operations/getSolanaAccountByName.d.ts +22 -0
- package/lib/operations/getSolanaAccountByName.d.ts.map +1 -0
- package/lib/operations/getSolanaAccountByName.js +30 -0
- package/lib/operations/getSolanaAccountByName.js.map +1 -0
- package/lib/operations/getUserOperation.d.ts +39 -0
- package/lib/operations/getUserOperation.d.ts.map +1 -0
- package/lib/operations/getUserOperation.js +66 -0
- package/lib/operations/getUserOperation.js.map +1 -0
- package/lib/operations/getWebhookSubscription.d.ts +37 -0
- package/lib/operations/getWebhookSubscription.d.ts.map +1 -0
- package/lib/operations/getWebhookSubscription.js +48 -0
- package/lib/operations/getWebhookSubscription.js.map +1 -0
- package/lib/operations/importEndUser.d.ts +56 -0
- package/lib/operations/importEndUser.d.ts.map +1 -0
- package/lib/operations/importEndUser.js +62 -0
- package/lib/operations/importEndUser.js.map +1 -0
- package/lib/operations/importEvmAccount.d.ts +31 -0
- package/lib/operations/importEvmAccount.d.ts.map +1 -0
- package/lib/operations/importEvmAccount.js +37 -0
- package/lib/operations/importEvmAccount.js.map +1 -0
- package/lib/operations/importSolanaAccount.d.ts +30 -0
- package/lib/operations/importSolanaAccount.d.ts.map +1 -0
- package/lib/operations/importSolanaAccount.js +38 -0
- package/lib/operations/importSolanaAccount.js.map +1 -0
- package/lib/operations/index.d.ts +74 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +74 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/listDataTokenBalances.d.ts +37 -0
- package/lib/operations/listDataTokenBalances.d.ts.map +1 -0
- package/lib/operations/listDataTokenBalances.js +48 -0
- package/lib/operations/listDataTokenBalances.js.map +1 -0
- package/lib/operations/listEndUsers.d.ts +53 -0
- package/lib/operations/listEndUsers.d.ts.map +1 -0
- package/lib/operations/listEndUsers.js +59 -0
- package/lib/operations/listEndUsers.js.map +1 -0
- package/lib/operations/listEvmAccounts.d.ts +28 -0
- package/lib/operations/listEvmAccounts.d.ts.map +1 -0
- package/lib/operations/listEvmAccounts.js +34 -0
- package/lib/operations/listEvmAccounts.js.map +1 -0
- package/lib/operations/listEvmSmartAccounts.d.ts +29 -0
- package/lib/operations/listEvmSmartAccounts.d.ts.map +1 -0
- package/lib/operations/listEvmSmartAccounts.js +37 -0
- package/lib/operations/listEvmSmartAccounts.js.map +1 -0
- package/lib/operations/listEvmTokenBalances.d.ts +37 -0
- package/lib/operations/listEvmTokenBalances.d.ts.map +1 -0
- package/lib/operations/listEvmTokenBalances.js +48 -0
- package/lib/operations/listEvmTokenBalances.js.map +1 -0
- package/lib/operations/listPolicies.d.ts +31 -0
- package/lib/operations/listPolicies.d.ts.map +1 -0
- package/lib/operations/listPolicies.js +37 -0
- package/lib/operations/listPolicies.js.map +1 -0
- package/lib/operations/listSolanaAccounts.d.ts +29 -0
- package/lib/operations/listSolanaAccounts.d.ts.map +1 -0
- package/lib/operations/listSolanaAccounts.js +37 -0
- package/lib/operations/listSolanaAccounts.js.map +1 -0
- package/lib/operations/listSolanaTokenBalances.d.ts +36 -0
- package/lib/operations/listSolanaTokenBalances.d.ts.map +1 -0
- package/lib/operations/listSolanaTokenBalances.js +47 -0
- package/lib/operations/listSolanaTokenBalances.js.map +1 -0
- package/lib/operations/listSpendPermissions.d.ts +40 -0
- package/lib/operations/listSpendPermissions.d.ts.map +1 -0
- package/lib/operations/listSpendPermissions.js +60 -0
- package/lib/operations/listSpendPermissions.js.map +1 -0
- package/lib/operations/listTokensForAccount.d.ts +23 -0
- package/lib/operations/listTokensForAccount.d.ts.map +1 -0
- package/lib/operations/listTokensForAccount.js +34 -0
- package/lib/operations/listTokensForAccount.js.map +1 -0
- package/lib/operations/listWebhookSubscriptions.d.ts +42 -0
- package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -0
- package/lib/operations/listWebhookSubscriptions.js +50 -0
- package/lib/operations/listWebhookSubscriptions.js.map +1 -0
- package/lib/operations/prepareAndSendUserOperation.d.ts +53 -0
- package/lib/operations/prepareAndSendUserOperation.d.ts.map +1 -0
- package/lib/operations/prepareAndSendUserOperation.js +93 -0
- package/lib/operations/prepareAndSendUserOperation.js.map +1 -0
- package/lib/operations/prepareUserOperation.d.ts +46 -0
- package/lib/operations/prepareUserOperation.d.ts.map +1 -0
- package/lib/operations/prepareUserOperation.js +86 -0
- package/lib/operations/prepareUserOperation.js.map +1 -0
- package/lib/operations/requestEvmFaucet.d.ts +22 -0
- package/lib/operations/requestEvmFaucet.d.ts.map +1 -0
- package/lib/operations/requestEvmFaucet.js +32 -0
- package/lib/operations/requestEvmFaucet.js.map +1 -0
- package/lib/operations/requestSolanaFaucet.d.ts +21 -0
- package/lib/operations/requestSolanaFaucet.d.ts.map +1 -0
- package/lib/operations/requestSolanaFaucet.js +29 -0
- package/lib/operations/requestSolanaFaucet.js.map +1 -0
- package/lib/operations/revokeSpendPermission.d.ts +48 -0
- package/lib/operations/revokeSpendPermission.d.ts.map +1 -0
- package/lib/operations/revokeSpendPermission.js +86 -0
- package/lib/operations/revokeSpendPermission.js.map +1 -0
- package/lib/operations/runSQLQuery.d.ts +47 -0
- package/lib/operations/runSQLQuery.d.ts.map +1 -0
- package/lib/operations/runSQLQuery.js +74 -0
- package/lib/operations/runSQLQuery.js.map +1 -0
- package/lib/operations/sendEvmTransaction.d.ts +44 -0
- package/lib/operations/sendEvmTransaction.d.ts.map +1 -0
- package/lib/operations/sendEvmTransaction.js +64 -0
- package/lib/operations/sendEvmTransaction.js.map +1 -0
- package/lib/operations/sendSolanaTransaction.d.ts +38 -0
- package/lib/operations/sendSolanaTransaction.d.ts.map +1 -0
- package/lib/operations/sendSolanaTransaction.js +46 -0
- package/lib/operations/sendSolanaTransaction.js.map +1 -0
- package/lib/operations/sendUserOperation.d.ts +43 -0
- package/lib/operations/sendUserOperation.d.ts.map +1 -0
- package/lib/operations/sendUserOperation.js +71 -0
- package/lib/operations/sendUserOperation.js.map +1 -0
- package/lib/operations/settleX402Payment.d.ts +23 -0
- package/lib/operations/settleX402Payment.d.ts.map +1 -0
- package/lib/operations/settleX402Payment.js +79 -0
- package/lib/operations/settleX402Payment.js.map +1 -0
- package/lib/operations/signEvmHash.d.ts +27 -0
- package/lib/operations/signEvmHash.d.ts.map +1 -0
- package/lib/operations/signEvmHash.js +33 -0
- package/lib/operations/signEvmHash.js.map +1 -0
- package/lib/operations/signEvmMessage.d.ts +28 -0
- package/lib/operations/signEvmMessage.d.ts.map +1 -0
- package/lib/operations/signEvmMessage.js +34 -0
- package/lib/operations/signEvmMessage.js.map +1 -0
- package/lib/operations/signEvmTransaction.d.ts +29 -0
- package/lib/operations/signEvmTransaction.d.ts.map +1 -0
- package/lib/operations/signEvmTransaction.js +40 -0
- package/lib/operations/signEvmTransaction.js.map +1 -0
- package/lib/operations/signEvmTypedData.d.ts +36 -0
- package/lib/operations/signEvmTypedData.d.ts.map +1 -0
- package/lib/operations/signEvmTypedData.js +45 -0
- package/lib/operations/signEvmTypedData.js.map +1 -0
- package/lib/operations/signSolanaMessage.d.ts +28 -0
- package/lib/operations/signSolanaMessage.d.ts.map +1 -0
- package/lib/operations/signSolanaMessage.js +38 -0
- package/lib/operations/signSolanaMessage.js.map +1 -0
- package/lib/operations/signSolanaTransaction.d.ts +33 -0
- package/lib/operations/signSolanaTransaction.d.ts.map +1 -0
- package/lib/operations/signSolanaTransaction.js +44 -0
- package/lib/operations/signSolanaTransaction.js.map +1 -0
- package/lib/operations/supportedX402PaymentKinds.d.ts +21 -0
- package/lib/operations/supportedX402PaymentKinds.d.ts.map +1 -0
- package/lib/operations/supportedX402PaymentKinds.js +40 -0
- package/lib/operations/supportedX402PaymentKinds.js.map +1 -0
- package/lib/operations/updateEvmAccount.d.ts +28 -0
- package/lib/operations/updateEvmAccount.d.ts.map +1 -0
- package/lib/operations/updateEvmAccount.js +34 -0
- package/lib/operations/updateEvmAccount.js.map +1 -0
- package/lib/operations/updateEvmSmartAccount.d.ts +24 -0
- package/lib/operations/updateEvmSmartAccount.d.ts.map +1 -0
- package/lib/operations/updateEvmSmartAccount.js +32 -0
- package/lib/operations/updateEvmSmartAccount.js.map +1 -0
- package/lib/operations/updatePolicy.d.ts +29 -0
- package/lib/operations/updatePolicy.d.ts.map +1 -0
- package/lib/operations/updatePolicy.js +35 -0
- package/lib/operations/updatePolicy.js.map +1 -0
- package/lib/operations/updateSolanaAccount.d.ts +28 -0
- package/lib/operations/updateSolanaAccount.d.ts.map +1 -0
- package/lib/operations/updateSolanaAccount.js +36 -0
- package/lib/operations/updateSolanaAccount.js.map +1 -0
- package/lib/operations/updateWebhookSubscription.d.ts +47 -0
- package/lib/operations/updateWebhookSubscription.d.ts.map +1 -0
- package/lib/operations/updateWebhookSubscription.js +58 -0
- package/lib/operations/updateWebhookSubscription.js.map +1 -0
- package/lib/operations/validateEndUserAccessToken.d.ts +44 -0
- package/lib/operations/validateEndUserAccessToken.d.ts.map +1 -0
- package/lib/operations/validateEndUserAccessToken.js +52 -0
- package/lib/operations/validateEndUserAccessToken.js.map +1 -0
- package/lib/operations/verifyX402Payment.d.ts +21 -0
- package/lib/operations/verifyX402Payment.d.ts.map +1 -0
- package/lib/operations/verifyX402Payment.js +72 -0
- package/lib/operations/verifyX402Payment.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +89 -0
- package/src/category.ts +4 -0
- package/src/client.ts +291 -0
- package/src/credentials.ts +66 -0
- package/src/errors.ts +694 -0
- package/src/index.ts +15 -0
- package/src/operations/addEndUserEvmAccount.ts +44 -0
- package/src/operations/addEndUserEvmSmartAccount.ts +53 -0
- package/src/operations/addEndUserSolanaAccount.ts +46 -0
- package/src/operations/createEndUser.ts +87 -0
- package/src/operations/createEvmAccount.ts +42 -0
- package/src/operations/createEvmEip7702Delegation.ts +63 -0
- package/src/operations/createEvmSmartAccount.ts +42 -0
- package/src/operations/createEvmSwapQuote.ts +44 -0
- package/src/operations/createOnrampOrder.ts +89 -0
- package/src/operations/createOnrampSession.ts +80 -0
- package/src/operations/createPolicy.ts +38 -0
- package/src/operations/createSolanaAccount.ts +42 -0
- package/src/operations/createSpendPermission.ts +110 -0
- package/src/operations/createWebhookSubscription.ts +92 -0
- package/src/operations/deletePolicy.ts +32 -0
- package/src/operations/deleteWebhookSubscription.ts +42 -0
- package/src/operations/exportEvmAccount.ts +39 -0
- package/src/operations/exportEvmAccountByName.ts +45 -0
- package/src/operations/exportSolanaAccount.ts +41 -0
- package/src/operations/exportSolanaAccountByName.ts +48 -0
- package/src/operations/getEndUser.ts +68 -0
- package/src/operations/getEvmAccount.ts +32 -0
- package/src/operations/getEvmAccountByName.ts +34 -0
- package/src/operations/getEvmEip7702DelegationOperationById.ts +56 -0
- package/src/operations/getEvmSmartAccount.ts +35 -0
- package/src/operations/getEvmSmartAccountByName.ts +41 -0
- package/src/operations/getEvmSwapPrice.ts +31 -0
- package/src/operations/getOnrampOrderById.ts +62 -0
- package/src/operations/getOnrampUserLimits.ts +44 -0
- package/src/operations/getPolicyById.ts +35 -0
- package/src/operations/getSQLGrammar.ts +26 -0
- package/src/operations/getSolanaAccount.ts +34 -0
- package/src/operations/getSolanaAccountByName.ts +40 -0
- package/src/operations/getUserOperation.ts +82 -0
- package/src/operations/getWebhookSubscription.ts +60 -0
- package/src/operations/importEndUser.ts +78 -0
- package/src/operations/importEvmAccount.ts +43 -0
- package/src/operations/importSolanaAccount.ts +42 -0
- package/src/operations/index.ts +73 -0
- package/src/operations/listDataTokenBalances.ts +59 -0
- package/src/operations/listEndUsers.ts +77 -0
- package/src/operations/listEvmAccounts.ts +40 -0
- package/src/operations/listEvmSmartAccounts.ts +45 -0
- package/src/operations/listEvmTokenBalances.ts +58 -0
- package/src/operations/listPolicies.ts +43 -0
- package/src/operations/listSolanaAccounts.ts +43 -0
- package/src/operations/listSolanaTokenBalances.ts +59 -0
- package/src/operations/listSpendPermissions.ts +70 -0
- package/src/operations/listTokensForAccount.ts +42 -0
- package/src/operations/listWebhookSubscriptions.ts +62 -0
- package/src/operations/prepareAndSendUserOperation.ts +113 -0
- package/src/operations/prepareUserOperation.ts +104 -0
- package/src/operations/requestEvmFaucet.ts +38 -0
- package/src/operations/requestSolanaFaucet.ts +33 -0
- package/src/operations/revokeSpendPermission.ts +103 -0
- package/src/operations/runSQLQuery.ts +92 -0
- package/src/operations/sendEvmTransaction.ts +70 -0
- package/src/operations/sendSolanaTransaction.ts +55 -0
- package/src/operations/sendUserOperation.ts +87 -0
- package/src/operations/settleX402Payment.ts +87 -0
- package/src/operations/signEvmHash.ts +37 -0
- package/src/operations/signEvmMessage.ts +40 -0
- package/src/operations/signEvmTransaction.ts +46 -0
- package/src/operations/signEvmTypedData.ts +53 -0
- package/src/operations/signSolanaMessage.ts +46 -0
- package/src/operations/signSolanaTransaction.ts +53 -0
- package/src/operations/supportedX402PaymentKinds.ts +52 -0
- package/src/operations/updateEvmAccount.ts +40 -0
- package/src/operations/updateEvmSmartAccount.ts +39 -0
- package/src/operations/updatePolicy.ts +41 -0
- package/src/operations/updateSolanaAccount.ts +40 -0
- package/src/operations/updateWebhookSubscription.ts +70 -0
- package/src/operations/validateEndUserAccessToken.ts +74 -0
- package/src/operations/verifyX402Payment.ts +80 -0
- package/src/retry.ts +37 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ImportEvmAccountInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
encryptedPrivateKey: Schema.String,
|
|
7
|
+
name: Schema.optional(Schema.String),
|
|
8
|
+
accountPolicy: Schema.optional(Schema.String),
|
|
9
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/evm/accounts/import" }));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const ImportEvmAccountOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
address: Schema.String,
|
|
13
|
+
name: Schema.optional(Schema.String),
|
|
14
|
+
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
15
|
+
createdAt: Schema.optional(Schema.String),
|
|
16
|
+
updatedAt: Schema.optional(Schema.String),
|
|
17
|
+
});
|
|
18
|
+
// The operation
|
|
19
|
+
/**
|
|
20
|
+
* Import an EVM account
|
|
21
|
+
*
|
|
22
|
+
* 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.
|
|
23
|
+
*
|
|
24
|
+
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
25
|
+
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
26
|
+
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
27
|
+
|
|
28
|
+
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
29
|
+
When included, duplicate requests with the same key will return identical responses.
|
|
30
|
+
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
31
|
+
|
|
32
|
+
*/
|
|
33
|
+
export const importEvmAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: ImportEvmAccountInput,
|
|
35
|
+
outputSchema: ImportEvmAccountOutput,
|
|
36
|
+
}));
|
|
37
|
+
//# sourceMappingURL=importEvmAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importEvmAccount.js","sourceRoot":"","sources":["../../src/operations/import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AC,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ImportSolanaAccountInput: Schema.Struct<{
|
|
3
|
+
readonly encryptedPrivateKey: Schema.String;
|
|
4
|
+
readonly name: Schema.optional<Schema.String>;
|
|
5
|
+
}>;
|
|
6
|
+
export type ImportSolanaAccountInput = typeof ImportSolanaAccountInput.Type;
|
|
7
|
+
export declare const ImportSolanaAccountOutput: Schema.Struct<{
|
|
8
|
+
readonly address: Schema.String;
|
|
9
|
+
readonly name: Schema.optional<Schema.String>;
|
|
10
|
+
readonly policies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
11
|
+
readonly createdAt: Schema.optional<Schema.String>;
|
|
12
|
+
readonly updatedAt: Schema.optional<Schema.String>;
|
|
13
|
+
}>;
|
|
14
|
+
export type ImportSolanaAccountOutput = typeof ImportSolanaAccountOutput.Type;
|
|
15
|
+
/**
|
|
16
|
+
* Import a 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: any;
|
|
30
|
+
//# sourceMappingURL=importSolanaAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"importSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/importSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;EAIoC,CAAC;AAC1E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;EAOlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ImportSolanaAccountInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
encryptedPrivateKey: Schema.String,
|
|
8
|
+
name: Schema.optional(Schema.String),
|
|
9
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/solana/accounts/import" }));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const ImportSolanaAccountOutput =
|
|
12
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
address: Schema.String,
|
|
14
|
+
name: Schema.optional(Schema.String),
|
|
15
|
+
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
+
createdAt: Schema.optional(Schema.String),
|
|
17
|
+
updatedAt: Schema.optional(Schema.String),
|
|
18
|
+
});
|
|
19
|
+
// The operation
|
|
20
|
+
/**
|
|
21
|
+
* Import a Solana account
|
|
22
|
+
*
|
|
23
|
+
* 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.
|
|
24
|
+
*
|
|
25
|
+
* @param X-Wallet-Auth - A JWT signed using your Wallet Secret, encoded in base64. Refer to the
|
|
26
|
+
[Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
|
|
27
|
+
section of our Authentication docs for more details on how to generate your Wallet Token.
|
|
28
|
+
|
|
29
|
+
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
30
|
+
When included, duplicate requests with the same key will return identical responses.
|
|
31
|
+
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
32
|
+
|
|
33
|
+
*/
|
|
34
|
+
export const importSolanaAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
35
|
+
inputSchema: ImportSolanaAccountInput,
|
|
36
|
+
outputSchema: ImportSolanaAccountOutput,
|
|
37
|
+
}));
|
|
38
|
+
//# sourceMappingURL=importSolanaAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,mBAAmB,EAAE,MAAM,CAAC,MAAM;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAG1E,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,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,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export * from "./listEndUsers";
|
|
2
|
+
export * from "./createEndUser";
|
|
3
|
+
export * from "./validateEndUserAccessToken";
|
|
4
|
+
export * from "./getEndUser";
|
|
5
|
+
export * from "./addEndUserEvmAccount";
|
|
6
|
+
export * from "./addEndUserEvmSmartAccount";
|
|
7
|
+
export * from "./addEndUserSolanaAccount";
|
|
8
|
+
export * from "./importEndUser";
|
|
9
|
+
export * from "./listEvmAccounts";
|
|
10
|
+
export * from "./createEvmAccount";
|
|
11
|
+
export * from "./getEvmAccount";
|
|
12
|
+
export * from "./updateEvmAccount";
|
|
13
|
+
export * from "./getEvmAccountByName";
|
|
14
|
+
export * from "./sendEvmTransaction";
|
|
15
|
+
export * from "./signEvmTransaction";
|
|
16
|
+
export * from "./signEvmHash";
|
|
17
|
+
export * from "./signEvmMessage";
|
|
18
|
+
export * from "./signEvmTypedData";
|
|
19
|
+
export * from "./createEvmEip7702Delegation";
|
|
20
|
+
export * from "./getEvmEip7702DelegationOperationById";
|
|
21
|
+
export * from "./listEvmSmartAccounts";
|
|
22
|
+
export * from "./createEvmSmartAccount";
|
|
23
|
+
export * from "./getEvmSmartAccountByName";
|
|
24
|
+
export * from "./importEvmAccount";
|
|
25
|
+
export * from "./exportEvmAccount";
|
|
26
|
+
export * from "./exportEvmAccountByName";
|
|
27
|
+
export * from "./getEvmSmartAccount";
|
|
28
|
+
export * from "./updateEvmSmartAccount";
|
|
29
|
+
export * from "./prepareUserOperation";
|
|
30
|
+
export * from "./prepareAndSendUserOperation";
|
|
31
|
+
export * from "./getUserOperation";
|
|
32
|
+
export * from "./sendUserOperation";
|
|
33
|
+
export * from "./createSpendPermission";
|
|
34
|
+
export * from "./listSpendPermissions";
|
|
35
|
+
export * from "./revokeSpendPermission";
|
|
36
|
+
export * from "./getEvmSwapPrice";
|
|
37
|
+
export * from "./createEvmSwapQuote";
|
|
38
|
+
export * from "./listEvmTokenBalances";
|
|
39
|
+
export * from "./requestEvmFaucet";
|
|
40
|
+
export * from "./listPolicies";
|
|
41
|
+
export * from "./createPolicy";
|
|
42
|
+
export * from "./getPolicyById";
|
|
43
|
+
export * from "./updatePolicy";
|
|
44
|
+
export * from "./deletePolicy";
|
|
45
|
+
export * from "./listSolanaAccounts";
|
|
46
|
+
export * from "./createSolanaAccount";
|
|
47
|
+
export * from "./getSolanaAccount";
|
|
48
|
+
export * from "./updateSolanaAccount";
|
|
49
|
+
export * from "./getSolanaAccountByName";
|
|
50
|
+
export * from "./importSolanaAccount";
|
|
51
|
+
export * from "./exportSolanaAccount";
|
|
52
|
+
export * from "./exportSolanaAccountByName";
|
|
53
|
+
export * from "./signSolanaTransaction";
|
|
54
|
+
export * from "./signSolanaMessage";
|
|
55
|
+
export * from "./sendSolanaTransaction";
|
|
56
|
+
export * from "./requestSolanaFaucet";
|
|
57
|
+
export * from "./listSolanaTokenBalances";
|
|
58
|
+
export * from "./runSQLQuery";
|
|
59
|
+
export * from "./getSQLGrammar";
|
|
60
|
+
export * from "./listTokensForAccount";
|
|
61
|
+
export * from "./listDataTokenBalances";
|
|
62
|
+
export * from "./listWebhookSubscriptions";
|
|
63
|
+
export * from "./createWebhookSubscription";
|
|
64
|
+
export * from "./getWebhookSubscription";
|
|
65
|
+
export * from "./updateWebhookSubscription";
|
|
66
|
+
export * from "./deleteWebhookSubscription";
|
|
67
|
+
export * from "./verifyX402Payment";
|
|
68
|
+
export * from "./settleX402Payment";
|
|
69
|
+
export * from "./supportedX402PaymentKinds";
|
|
70
|
+
export * from "./createOnrampOrder";
|
|
71
|
+
export * from "./getOnrampOrderById";
|
|
72
|
+
export * from "./createOnrampSession";
|
|
73
|
+
export * from "./getOnrampUserLimits";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CA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C;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export * from "./listEndUsers";
|
|
2
|
+
export * from "./createEndUser";
|
|
3
|
+
export * from "./validateEndUserAccessToken";
|
|
4
|
+
export * from "./getEndUser";
|
|
5
|
+
export * from "./addEndUserEvmAccount";
|
|
6
|
+
export * from "./addEndUserEvmSmartAccount";
|
|
7
|
+
export * from "./addEndUserSolanaAccount";
|
|
8
|
+
export * from "./importEndUser";
|
|
9
|
+
export * from "./listEvmAccounts";
|
|
10
|
+
export * from "./createEvmAccount";
|
|
11
|
+
export * from "./getEvmAccount";
|
|
12
|
+
export * from "./updateEvmAccount";
|
|
13
|
+
export * from "./getEvmAccountByName";
|
|
14
|
+
export * from "./sendEvmTransaction";
|
|
15
|
+
export * from "./signEvmTransaction";
|
|
16
|
+
export * from "./signEvmHash";
|
|
17
|
+
export * from "./signEvmMessage";
|
|
18
|
+
export * from "./signEvmTypedData";
|
|
19
|
+
export * from "./createEvmEip7702Delegation";
|
|
20
|
+
export * from "./getEvmEip7702DelegationOperationById";
|
|
21
|
+
export * from "./listEvmSmartAccounts";
|
|
22
|
+
export * from "./createEvmSmartAccount";
|
|
23
|
+
export * from "./getEvmSmartAccountByName";
|
|
24
|
+
export * from "./importEvmAccount";
|
|
25
|
+
export * from "./exportEvmAccount";
|
|
26
|
+
export * from "./exportEvmAccountByName";
|
|
27
|
+
export * from "./getEvmSmartAccount";
|
|
28
|
+
export * from "./updateEvmSmartAccount";
|
|
29
|
+
export * from "./prepareUserOperation";
|
|
30
|
+
export * from "./prepareAndSendUserOperation";
|
|
31
|
+
export * from "./getUserOperation";
|
|
32
|
+
export * from "./sendUserOperation";
|
|
33
|
+
export * from "./createSpendPermission";
|
|
34
|
+
export * from "./listSpendPermissions";
|
|
35
|
+
export * from "./revokeSpendPermission";
|
|
36
|
+
export * from "./getEvmSwapPrice";
|
|
37
|
+
export * from "./createEvmSwapQuote";
|
|
38
|
+
export * from "./listEvmTokenBalances";
|
|
39
|
+
export * from "./requestEvmFaucet";
|
|
40
|
+
export * from "./listPolicies";
|
|
41
|
+
export * from "./createPolicy";
|
|
42
|
+
export * from "./getPolicyById";
|
|
43
|
+
export * from "./updatePolicy";
|
|
44
|
+
export * from "./deletePolicy";
|
|
45
|
+
export * from "./listSolanaAccounts";
|
|
46
|
+
export * from "./createSolanaAccount";
|
|
47
|
+
export * from "./getSolanaAccount";
|
|
48
|
+
export * from "./updateSolanaAccount";
|
|
49
|
+
export * from "./getSolanaAccountByName";
|
|
50
|
+
export * from "./importSolanaAccount";
|
|
51
|
+
export * from "./exportSolanaAccount";
|
|
52
|
+
export * from "./exportSolanaAccountByName";
|
|
53
|
+
export * from "./signSolanaTransaction";
|
|
54
|
+
export * from "./signSolanaMessage";
|
|
55
|
+
export * from "./sendSolanaTransaction";
|
|
56
|
+
export * from "./requestSolanaFaucet";
|
|
57
|
+
export * from "./listSolanaTokenBalances";
|
|
58
|
+
export * from "./runSQLQuery";
|
|
59
|
+
export * from "./getSQLGrammar";
|
|
60
|
+
export * from "./listTokensForAccount";
|
|
61
|
+
export * from "./listDataTokenBalances";
|
|
62
|
+
export * from "./listWebhookSubscriptions";
|
|
63
|
+
export * from "./createWebhookSubscription";
|
|
64
|
+
export * from "./getWebhookSubscription";
|
|
65
|
+
export * from "./updateWebhookSubscription";
|
|
66
|
+
export * from "./deleteWebhookSubscription";
|
|
67
|
+
export * from "./verifyX402Payment";
|
|
68
|
+
export * from "./settleX402Payment";
|
|
69
|
+
export * from "./supportedX402PaymentKinds";
|
|
70
|
+
export * from "./createOnrampOrder";
|
|
71
|
+
export * from "./getOnrampOrderById";
|
|
72
|
+
export * from "./createOnrampSession";
|
|
73
|
+
export * from "./getOnrampUserLimits";
|
|
74
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],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uB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListDataTokenBalancesInput: Schema.Struct<{
|
|
3
|
+
readonly address: Schema.String;
|
|
4
|
+
readonly network: Schema.String;
|
|
5
|
+
readonly pageSize: Schema.optional<Schema.Number>;
|
|
6
|
+
readonly pageToken: Schema.optional<Schema.String>;
|
|
7
|
+
}>;
|
|
8
|
+
export type ListDataTokenBalancesInput = typeof ListDataTokenBalancesInput.Type;
|
|
9
|
+
export declare const ListDataTokenBalancesOutput: Schema.Struct<{
|
|
10
|
+
readonly balances: Schema.$Array<Schema.Struct<{
|
|
11
|
+
readonly amount: Schema.Struct<{
|
|
12
|
+
readonly amount: Schema.String;
|
|
13
|
+
readonly decimals: Schema.Number;
|
|
14
|
+
}>;
|
|
15
|
+
readonly token: Schema.Struct<{
|
|
16
|
+
readonly network: Schema.Literals<readonly ["base", "base-sepolia", "ethereum"]>;
|
|
17
|
+
readonly symbol: Schema.optional<Schema.String>;
|
|
18
|
+
readonly name: Schema.optional<Schema.String>;
|
|
19
|
+
readonly contractAddress: Schema.String;
|
|
20
|
+
}>;
|
|
21
|
+
}>>;
|
|
22
|
+
readonly nextPageToken: Schema.optional<Schema.String>;
|
|
23
|
+
}>;
|
|
24
|
+
export type ListDataTokenBalancesOutput = typeof ListDataTokenBalancesOutput.Type;
|
|
25
|
+
/**
|
|
26
|
+
* List EVM token balances
|
|
27
|
+
*
|
|
28
|
+
* Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page.
|
|
29
|
+
* **Note:** This endpoint provides <1 second freshness from chain tip, <500ms response latency for wallets with reasonable token history, and 99.9% uptime for production use.
|
|
30
|
+
*
|
|
31
|
+
* @param address - The 0x-prefixed EVM address to get balances for. The address does not need to be checksummed.
|
|
32
|
+
* @param network - The human-readable network name to get the balances for.
|
|
33
|
+
* @param pageSize - The number of resources to return per page.
|
|
34
|
+
* @param pageToken - The token for the next page of resources, if any.
|
|
35
|
+
*/
|
|
36
|
+
export declare const listDataTokenBalances: any;
|
|
37
|
+
//# sourceMappingURL=listDataTokenBalances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listDataTokenBalances.d.ts","sourceRoot":"","sources":["../../src/operations/listDataTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;;EAWpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;EAiBpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListDataTokenBalancesInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
address: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
network: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
pageSize: Schema.optional(Schema.Number),
|
|
10
|
+
pageToken: Schema.optional(Schema.String),
|
|
11
|
+
}).pipe(T.Http({
|
|
12
|
+
method: "GET",
|
|
13
|
+
path: "/v2/data/evm/token-balances/{network}/{address}",
|
|
14
|
+
}));
|
|
15
|
+
// Output Schema
|
|
16
|
+
export const ListDataTokenBalancesOutput =
|
|
17
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
balances: Schema.Array(Schema.Struct({
|
|
19
|
+
amount: Schema.Struct({
|
|
20
|
+
amount: Schema.String,
|
|
21
|
+
decimals: Schema.Number,
|
|
22
|
+
}),
|
|
23
|
+
token: Schema.Struct({
|
|
24
|
+
network: Schema.Literals(["base", "base-sepolia", "ethereum"]),
|
|
25
|
+
symbol: Schema.optional(Schema.String),
|
|
26
|
+
name: Schema.optional(Schema.String),
|
|
27
|
+
contractAddress: Schema.String,
|
|
28
|
+
}),
|
|
29
|
+
})),
|
|
30
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
31
|
+
});
|
|
32
|
+
// The operation
|
|
33
|
+
/**
|
|
34
|
+
* List EVM token balances
|
|
35
|
+
*
|
|
36
|
+
* Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page.
|
|
37
|
+
* **Note:** This endpoint provides <1 second freshness from chain tip, <500ms response latency for wallets with reasonable token history, and 99.9% uptime for production use.
|
|
38
|
+
*
|
|
39
|
+
* @param address - The 0x-prefixed EVM address to get balances for. The address does not need to be checksummed.
|
|
40
|
+
* @param network - The human-readable network name to get the balances for.
|
|
41
|
+
* @param pageSize - The number of resources to return per page.
|
|
42
|
+
* @param pageToken - The token for the next page of resources, if any.
|
|
43
|
+
*/
|
|
44
|
+
export const listDataTokenBalances = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
45
|
+
inputSchema: ListDataTokenBalancesInput,
|
|
46
|
+
outputSchema: ListDataTokenBalancesOutput,
|
|
47
|
+
}));
|
|
48
|
+
//# sourceMappingURL=listDataTokenBalances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listDataTokenBalances.js","sourceRoot":"","sources":["../../src/operations/listDataTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,iDAAiD;CACxD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,KAAK,CACpB,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,QAAQ,EAAE,MAAM,CAAC,MAAM;SACxB,CAAC;QACF,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;YACnB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,cAAc,EAAE,UAAU,CAAC,CAAC;YAC9D,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACtC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,eAAe,EAAE,MAAM,CAAC,MAAM;SAC/B,CAAC;KACH,CAAC,CACH;IACD,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC9C,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListEndUsersInput: Schema.Struct<{
|
|
3
|
+
readonly pageSize: Schema.optional<Schema.Number>;
|
|
4
|
+
readonly pageToken: Schema.optional<Schema.String>;
|
|
5
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
6
|
+
}>;
|
|
7
|
+
export type ListEndUsersInput = typeof ListEndUsersInput.Type;
|
|
8
|
+
export declare const ListEndUsersOutput: Schema.Struct<{
|
|
9
|
+
readonly endUsers: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly userId: Schema.String;
|
|
11
|
+
readonly authenticationMethods: Schema.$Array<Schema.Unknown>;
|
|
12
|
+
readonly mfaMethods: Schema.optional<Schema.Struct<{
|
|
13
|
+
readonly enrollmentPromptedAt: Schema.optional<Schema.String>;
|
|
14
|
+
readonly totp: Schema.optional<Schema.Struct<{
|
|
15
|
+
readonly enrolledAt: Schema.String;
|
|
16
|
+
}>>;
|
|
17
|
+
readonly sms: Schema.optional<Schema.Struct<{
|
|
18
|
+
readonly enrolledAt: Schema.String;
|
|
19
|
+
}>>;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly evmAccounts: Schema.$Array<Schema.String>;
|
|
22
|
+
readonly evmAccountObjects: Schema.$Array<Schema.Struct<{
|
|
23
|
+
readonly address: Schema.String;
|
|
24
|
+
readonly createdAt: Schema.String;
|
|
25
|
+
}>>;
|
|
26
|
+
readonly evmSmartAccounts: Schema.$Array<Schema.String>;
|
|
27
|
+
readonly evmSmartAccountObjects: Schema.$Array<Schema.Struct<{
|
|
28
|
+
readonly address: Schema.String;
|
|
29
|
+
readonly ownerAddresses: Schema.$Array<Schema.String>;
|
|
30
|
+
readonly createdAt: Schema.String;
|
|
31
|
+
}>>;
|
|
32
|
+
readonly solanaAccounts: Schema.$Array<Schema.String>;
|
|
33
|
+
readonly solanaAccountObjects: Schema.$Array<Schema.Struct<{
|
|
34
|
+
readonly address: Schema.String;
|
|
35
|
+
readonly createdAt: Schema.String;
|
|
36
|
+
}>>;
|
|
37
|
+
readonly createdAt: Schema.String;
|
|
38
|
+
}>>;
|
|
39
|
+
readonly nextPageToken: Schema.optional<Schema.String>;
|
|
40
|
+
}>;
|
|
41
|
+
export type ListEndUsersOutput = typeof ListEndUsersOutput.Type;
|
|
42
|
+
/**
|
|
43
|
+
* List end users
|
|
44
|
+
*
|
|
45
|
+
* Lists the end users belonging to the developer's CDP Project.
|
|
46
|
+
* By default, the response is sorted by creation date in ascending order and paginated to 20 users per page.
|
|
47
|
+
*
|
|
48
|
+
* @param pageSize - The number of end users to return per page.
|
|
49
|
+
* @param pageToken - The token for the desired page of end users. Will be empty if there are no more end users to fetch.
|
|
50
|
+
* @param sort - Sort end users. Defaults to ascending order (oldest first).
|
|
51
|
+
*/
|
|
52
|
+
export declare const listEndUsers: any;
|
|
53
|
+
//# sourceMappingURL=listEndUsers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEndUsers.d.ts","sourceRoot":"","sources":["../../src/operations/listEndUsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAI2B,CAAC;AAC1D,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8C7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListEndUsersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
pageSize: Schema.optional(Schema.Number),
|
|
7
|
+
pageToken: Schema.optional(Schema.String),
|
|
8
|
+
sort: Schema.optional(Schema.String),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/end-users" }));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const ListEndUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
endUsers: Schema.Array(Schema.Struct({
|
|
13
|
+
userId: Schema.String,
|
|
14
|
+
authenticationMethods: Schema.Array(Schema.Unknown),
|
|
15
|
+
mfaMethods: Schema.optional(Schema.Struct({
|
|
16
|
+
enrollmentPromptedAt: Schema.optional(Schema.String),
|
|
17
|
+
totp: Schema.optional(Schema.Struct({
|
|
18
|
+
enrolledAt: Schema.String,
|
|
19
|
+
})),
|
|
20
|
+
sms: Schema.optional(Schema.Struct({
|
|
21
|
+
enrolledAt: Schema.String,
|
|
22
|
+
})),
|
|
23
|
+
})),
|
|
24
|
+
evmAccounts: Schema.Array(Schema.String),
|
|
25
|
+
evmAccountObjects: Schema.Array(Schema.Struct({
|
|
26
|
+
address: Schema.String,
|
|
27
|
+
createdAt: Schema.String,
|
|
28
|
+
})),
|
|
29
|
+
evmSmartAccounts: Schema.Array(Schema.String),
|
|
30
|
+
evmSmartAccountObjects: Schema.Array(Schema.Struct({
|
|
31
|
+
address: Schema.String,
|
|
32
|
+
ownerAddresses: Schema.Array(Schema.String),
|
|
33
|
+
createdAt: Schema.String,
|
|
34
|
+
})),
|
|
35
|
+
solanaAccounts: Schema.Array(Schema.String),
|
|
36
|
+
solanaAccountObjects: Schema.Array(Schema.Struct({
|
|
37
|
+
address: Schema.String,
|
|
38
|
+
createdAt: Schema.String,
|
|
39
|
+
})),
|
|
40
|
+
createdAt: Schema.String,
|
|
41
|
+
})),
|
|
42
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
43
|
+
});
|
|
44
|
+
// The operation
|
|
45
|
+
/**
|
|
46
|
+
* List end users
|
|
47
|
+
*
|
|
48
|
+
* Lists the end users belonging to the developer's CDP Project.
|
|
49
|
+
* By default, the response is sorted by creation date in ascending order and paginated to 20 users per page.
|
|
50
|
+
*
|
|
51
|
+
* @param pageSize - The number of end users to return per page.
|
|
52
|
+
* @param pageToken - The token for the desired page of end users. Will be empty if there are no more end users to fetch.
|
|
53
|
+
* @param sort - Sort end users. Defaults to ascending order (oldest first).
|
|
54
|
+
*/
|
|
55
|
+
export const listEndUsers = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
56
|
+
inputSchema: ListEndUsersInput,
|
|
57
|
+
outputSchema: ListEndUsersOutput,
|
|
58
|
+
}));
|
|
59
|
+
//# sourceMappingURL=listEndUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEndUsers.js","sourceRoot":"","sources":["../../src/operations/listEndUsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC;AAG1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,QAAQ,EAAE,MAAM,CAAC,KAAK,CACpB,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,qBAAqB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;QACnD,UAAU,EAAE,MAAM,CAAC,QAAQ,CACzB,MAAM,CAAC,MAAM,CAAC;YACZ,oBAAoB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;Y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AAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;CACjC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListEvmAccountsInput: Schema.Struct<{
|
|
3
|
+
readonly pageSize: Schema.optional<Schema.Number>;
|
|
4
|
+
readonly pageToken: Schema.optional<Schema.String>;
|
|
5
|
+
}>;
|
|
6
|
+
export type ListEvmAccountsInput = typeof ListEvmAccountsInput.Type;
|
|
7
|
+
export declare const ListEvmAccountsOutput: Schema.Struct<{
|
|
8
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
9
|
+
readonly address: Schema.String;
|
|
10
|
+
readonly name: Schema.optional<Schema.String>;
|
|
11
|
+
readonly policies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12
|
+
readonly createdAt: Schema.optional<Schema.String>;
|
|
13
|
+
readonly updatedAt: Schema.optional<Schema.String>;
|
|
14
|
+
}>>;
|
|
15
|
+
readonly nextPageToken: Schema.optional<Schema.String>;
|
|
16
|
+
}>;
|
|
17
|
+
export type ListEvmAccountsOutput = typeof ListEvmAccountsOutput.Type;
|
|
18
|
+
/**
|
|
19
|
+
* List EVM accounts
|
|
20
|
+
*
|
|
21
|
+
* Lists the EVM accounts belonging to the developer's CDP Project.
|
|
22
|
+
* The response is paginated, and by default, returns 20 accounts per page.
|
|
23
|
+
*
|
|
24
|
+
* @param pageSize - The number of resources to return per page.
|
|
25
|
+
* @param pageToken - The token for the next page of resources, if any.
|
|
26
|
+
*/
|
|
27
|
+
export declare const listEvmAccounts: any;
|
|
28
|
+
//# sourceMappingURL=listEvmAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEvmAccounts.d.ts","sourceRoot":"","sources":["../../src/operations/listEvmAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oBAAoB;;;EAG2B,CAAC;AAC7D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;EAWhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,KAGzB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const ListEvmAccountsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
pageSize: Schema.optional(Schema.Number),
|
|
7
|
+
pageToken: Schema.optional(Schema.String),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/evm/accounts" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const ListEvmAccountsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11
|
+
accounts: Schema.Array(Schema.Struct({
|
|
12
|
+
address: Schema.String,
|
|
13
|
+
name: Schema.optional(Schema.String),
|
|
14
|
+
policies: Schema.optional(Schema.Array(Schema.String)),
|
|
15
|
+
createdAt: Schema.optional(Schema.String),
|
|
16
|
+
updatedAt: Schema.optional(Schema.String),
|
|
17
|
+
})),
|
|
18
|
+
nextPageToken: Schema.optional(Schema.String),
|
|
19
|
+
});
|
|
20
|
+
// The operation
|
|
21
|
+
/**
|
|
22
|
+
* List EVM accounts
|
|
23
|
+
*
|
|
24
|
+
* Lists the EVM accounts belonging to the developer's CDP Project.
|
|
25
|
+
* The response is paginated, and by default, returns 20 accounts per page.
|
|
26
|
+
*
|
|
27
|
+
* @param pageSize - The number of resources to return per page.
|
|
28
|
+
* @param pageToken - The token for the next page of resources, if any.
|
|
29
|
+
*/
|
|
30
|
+
export const listEvmAccounts = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: ListEvmAccountsInput,
|
|
32
|
+
outputSchema: ListEvmAccountsOutput,
|
|
33
|
+
}));
|
|
34
|
+
//# sourceMappingURL=listEvmAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEvmAccounts.js","sourceRoot":"","sources":["../../src/operations/listEvmAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAG7D,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7E,QAAQ,EAAE,MAAM,CAAC,KAAK,CACpB,MAAM,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACtD,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC1C,CAAC,CACH;IACD,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC9C,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;CACpC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const ListEvmSmartAccountsInput: Schema.Struct<{
|
|
3
|
+
readonly pageSize: Schema.optional<Schema.Number>;
|
|
4
|
+
readonly pageToken: Schema.optional<Schema.String>;
|
|
5
|
+
}>;
|
|
6
|
+
export type ListEvmSmartAccountsInput = typeof ListEvmSmartAccountsInput.Type;
|
|
7
|
+
export declare const ListEvmSmartAccountsOutput: Schema.Struct<{
|
|
8
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
9
|
+
readonly address: Schema.String;
|
|
10
|
+
readonly owners: Schema.$Array<Schema.String>;
|
|
11
|
+
readonly name: Schema.optional<Schema.String>;
|
|
12
|
+
readonly policies: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13
|
+
readonly createdAt: Schema.optional<Schema.String>;
|
|
14
|
+
readonly updatedAt: Schema.optional<Schema.String>;
|
|
15
|
+
}>>;
|
|
16
|
+
readonly nextPageToken: Schema.optional<Schema.String>;
|
|
17
|
+
}>;
|
|
18
|
+
export type ListEvmSmartAccountsOutput = typeof ListEvmSmartAccountsOutput.Type;
|
|
19
|
+
/**
|
|
20
|
+
* List Smart Accounts
|
|
21
|
+
*
|
|
22
|
+
* Lists the Smart Accounts belonging to the developer's CDP Project.
|
|
23
|
+
* The response is paginated, and by default, returns 20 accounts per page.
|
|
24
|
+
*
|
|
25
|
+
* @param pageSize - The number of resources to return per page.
|
|
26
|
+
* @param pageToken - The token for the next page of resources, if any.
|
|
27
|
+
*/
|
|
28
|
+
export declare const listEvmSmartAccounts: any;
|
|
29
|
+
//# sourceMappingURL=listEvmSmartAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEvmSmartAccounts.d.ts","sourceRoot":"","sources":["../../src/operations/listEvmSmartAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;;EAI8B,CAAC;AACrE,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;EAanC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
|