@distilled.cloud/coinbase 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/lib/client.d.ts +2 -2
  2. package/lib/operations/addEndUserEvmAccount.d.ts +8 -1
  3. package/lib/operations/addEndUserEvmAccount.d.ts.map +1 -1
  4. package/lib/operations/addEndUserEvmSmartAccount.d.ts +10 -1
  5. package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +1 -1
  6. package/lib/operations/addEndUserSolanaAccount.d.ts +8 -1
  7. package/lib/operations/addEndUserSolanaAccount.d.ts.map +1 -1
  8. package/lib/operations/createEndUser.d.ts +40 -1
  9. package/lib/operations/createEndUser.d.ts.map +1 -1
  10. package/lib/operations/createEvmAccount.d.ts +10 -1
  11. package/lib/operations/createEvmAccount.d.ts.map +1 -1
  12. package/lib/operations/createEvmEip7702Delegation.d.ts +7 -1
  13. package/lib/operations/createEvmEip7702Delegation.d.ts.map +1 -1
  14. package/lib/operations/createEvmSmartAccount.d.ts +11 -1
  15. package/lib/operations/createEvmSmartAccount.d.ts.map +1 -1
  16. package/lib/operations/createEvmSwapQuote.d.ts +10 -1
  17. package/lib/operations/createEvmSwapQuote.d.ts.map +1 -1
  18. package/lib/operations/createOnrampOrder.d.ts +45 -1
  19. package/lib/operations/createOnrampOrder.d.ts.map +1 -1
  20. package/lib/operations/createOnrampSession.d.ts +32 -1
  21. package/lib/operations/createOnrampSession.d.ts.map +1 -1
  22. package/lib/operations/createPolicy.d.ts +12 -1
  23. package/lib/operations/createPolicy.d.ts.map +1 -1
  24. package/lib/operations/createSolanaAccount.d.ts +10 -1
  25. package/lib/operations/createSolanaAccount.d.ts.map +1 -1
  26. package/lib/operations/createSpendPermission.d.ts +34 -1
  27. package/lib/operations/createSpendPermission.d.ts.map +1 -1
  28. package/lib/operations/createWebhookSubscription.d.ts +37 -1
  29. package/lib/operations/createWebhookSubscription.d.ts.map +1 -1
  30. package/lib/operations/deletePolicy.d.ts +3 -1
  31. package/lib/operations/deletePolicy.d.ts.map +1 -1
  32. package/lib/operations/deleteWebhookSubscription.d.ts +3 -1
  33. package/lib/operations/deleteWebhookSubscription.d.ts.map +1 -1
  34. package/lib/operations/exportEvmAccount.d.ts +6 -1
  35. package/lib/operations/exportEvmAccount.d.ts.map +1 -1
  36. package/lib/operations/exportEvmAccountByName.d.ts +6 -1
  37. package/lib/operations/exportEvmAccountByName.d.ts.map +1 -1
  38. package/lib/operations/exportSolanaAccount.d.ts +6 -1
  39. package/lib/operations/exportSolanaAccount.d.ts.map +1 -1
  40. package/lib/operations/exportSolanaAccountByName.d.ts +6 -1
  41. package/lib/operations/exportSolanaAccountByName.d.ts.map +1 -1
  42. package/lib/operations/getEndUser.d.ts +32 -1
  43. package/lib/operations/getEndUser.d.ts.map +1 -1
  44. package/lib/operations/getEvmAccount.d.ts +9 -1
  45. package/lib/operations/getEvmAccount.d.ts.map +1 -1
  46. package/lib/operations/getEvmAccountByName.d.ts +9 -1
  47. package/lib/operations/getEvmAccountByName.d.ts.map +1 -1
  48. package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +9 -1
  49. package/lib/operations/getEvmEip7702DelegationOperationById.d.ts.map +1 -1
  50. package/lib/operations/getEvmSmartAccount.d.ts +10 -1
  51. package/lib/operations/getEvmSmartAccount.d.ts.map +1 -1
  52. package/lib/operations/getEvmSmartAccountByName.d.ts +10 -1
  53. package/lib/operations/getEvmSmartAccountByName.d.ts.map +1 -1
  54. package/lib/operations/getEvmSwapPrice.d.ts +10 -1
  55. package/lib/operations/getEvmSwapPrice.d.ts.map +1 -1
  56. package/lib/operations/getOnrampOrderById.d.ts +26 -1
  57. package/lib/operations/getOnrampOrderById.d.ts.map +1 -1
  58. package/lib/operations/getOnrampUserLimits.d.ts +12 -1
  59. package/lib/operations/getOnrampUserLimits.d.ts.map +1 -1
  60. package/lib/operations/getPolicyById.d.ts +10 -1
  61. package/lib/operations/getPolicyById.d.ts.map +1 -1
  62. package/lib/operations/getSQLGrammar.d.ts +1 -1
  63. package/lib/operations/getSQLGrammar.d.ts.map +1 -1
  64. package/lib/operations/getSQLSchema.d.ts +16 -1
  65. package/lib/operations/getSQLSchema.d.ts.map +1 -1
  66. package/lib/operations/getSolanaAccount.d.ts +9 -1
  67. package/lib/operations/getSolanaAccount.d.ts.map +1 -1
  68. package/lib/operations/getSolanaAccountByName.d.ts +9 -1
  69. package/lib/operations/getSolanaAccountByName.d.ts.map +1 -1
  70. package/lib/operations/getUserOperation.d.ts +25 -1
  71. package/lib/operations/getUserOperation.d.ts.map +1 -1
  72. package/lib/operations/getWebhookSubscription.d.ts +23 -1
  73. package/lib/operations/getWebhookSubscription.d.ts.map +1 -1
  74. package/lib/operations/importEndUser.d.ts +35 -1
  75. package/lib/operations/importEndUser.d.ts.map +1 -1
  76. package/lib/operations/importEvmAccount.d.ts +11 -1
  77. package/lib/operations/importEvmAccount.d.ts.map +1 -1
  78. package/lib/operations/importSolanaAccount.d.ts +10 -1
  79. package/lib/operations/importSolanaAccount.d.ts.map +1 -1
  80. package/lib/operations/listDataTokenBalances.d.ts +20 -1
  81. package/lib/operations/listDataTokenBalances.d.ts.map +1 -1
  82. package/lib/operations/listEndUsers.d.ts +37 -1
  83. package/lib/operations/listEndUsers.d.ts.map +1 -1
  84. package/lib/operations/listEvmAccounts.d.ts +13 -1
  85. package/lib/operations/listEvmAccounts.d.ts.map +1 -1
  86. package/lib/operations/listEvmSmartAccounts.d.ts +14 -1
  87. package/lib/operations/listEvmSmartAccounts.d.ts.map +1 -1
  88. package/lib/operations/listEvmTokenBalances.d.ts +20 -1
  89. package/lib/operations/listEvmTokenBalances.d.ts.map +1 -1
  90. package/lib/operations/listPolicies.d.ts +15 -1
  91. package/lib/operations/listPolicies.d.ts.map +1 -1
  92. package/lib/operations/listSolanaAccounts.d.ts +13 -1
  93. package/lib/operations/listSolanaAccounts.d.ts.map +1 -1
  94. package/lib/operations/listSolanaTokenBalances.d.ts +19 -1
  95. package/lib/operations/listSolanaTokenBalances.d.ts.map +1 -1
  96. package/lib/operations/listSpendPermissions.d.ts +25 -1
  97. package/lib/operations/listSpendPermissions.d.ts.map +1 -1
  98. package/lib/operations/listTokensForAccount.d.ts +8 -1
  99. package/lib/operations/listTokensForAccount.d.ts.map +1 -1
  100. package/lib/operations/listWebhookSubscriptionEvents.d.ts +22 -1
  101. package/lib/operations/listWebhookSubscriptionEvents.d.ts.map +1 -1
  102. package/lib/operations/listWebhookSubscriptions.d.ts +27 -1
  103. package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -1
  104. package/lib/operations/prepareAndSendUserOperation.d.ts +32 -1
  105. package/lib/operations/prepareAndSendUserOperation.d.ts.map +1 -1
  106. package/lib/operations/prepareUserOperation.d.ts +33 -1
  107. package/lib/operations/prepareUserOperation.d.ts.map +1 -1
  108. package/lib/operations/requestEvmFaucet.d.ts +7 -1
  109. package/lib/operations/requestEvmFaucet.d.ts.map +1 -1
  110. package/lib/operations/requestSolanaFaucet.d.ts +6 -1
  111. package/lib/operations/requestSolanaFaucet.d.ts.map +1 -1
  112. package/lib/operations/revokeSpendPermission.d.ts +27 -1
  113. package/lib/operations/revokeSpendPermission.d.ts.map +1 -1
  114. package/lib/operations/runSQLQuery.d.ts +22 -1
  115. package/lib/operations/runSQLQuery.d.ts.map +1 -1
  116. package/lib/operations/sendEvmTransaction.d.ts +7 -1
  117. package/lib/operations/sendEvmTransaction.d.ts.map +1 -1
  118. package/lib/operations/sendSolanaTransaction.d.ts +7 -1
  119. package/lib/operations/sendSolanaTransaction.d.ts.map +1 -1
  120. package/lib/operations/sendUserOperation.d.ts +26 -1
  121. package/lib/operations/sendUserOperation.d.ts.map +1 -1
  122. package/lib/operations/settleX402Payment.d.ts +13 -1
  123. package/lib/operations/settleX402Payment.d.ts.map +1 -1
  124. package/lib/operations/signEvmHash.d.ts +6 -1
  125. package/lib/operations/signEvmHash.d.ts.map +1 -1
  126. package/lib/operations/signEvmMessage.d.ts +6 -1
  127. package/lib/operations/signEvmMessage.d.ts.map +1 -1
  128. package/lib/operations/signEvmTransaction.d.ts +6 -1
  129. package/lib/operations/signEvmTransaction.d.ts.map +1 -1
  130. package/lib/operations/signEvmTypedData.d.ts +15 -1
  131. package/lib/operations/signEvmTypedData.d.ts.map +1 -1
  132. package/lib/operations/signSolanaMessage.d.ts +6 -1
  133. package/lib/operations/signSolanaMessage.d.ts.map +1 -1
  134. package/lib/operations/signSolanaTransaction.d.ts +6 -1
  135. package/lib/operations/signSolanaTransaction.d.ts.map +1 -1
  136. package/lib/operations/supportedX402PaymentKinds.d.ts +14 -1
  137. package/lib/operations/supportedX402PaymentKinds.d.ts.map +1 -1
  138. package/lib/operations/updateEvmAccount.d.ts +11 -1
  139. package/lib/operations/updateEvmAccount.d.ts.map +1 -1
  140. package/lib/operations/updateEvmSmartAccount.d.ts +11 -1
  141. package/lib/operations/updateEvmSmartAccount.d.ts.map +1 -1
  142. package/lib/operations/updatePolicy.d.ts +12 -1
  143. package/lib/operations/updatePolicy.d.ts.map +1 -1
  144. package/lib/operations/updateSolanaAccount.d.ts +11 -1
  145. package/lib/operations/updateSolanaAccount.d.ts.map +1 -1
  146. package/lib/operations/updateWebhookSubscription.d.ts +38 -1
  147. package/lib/operations/updateWebhookSubscription.d.ts.map +1 -1
  148. package/lib/operations/validateEndUserAccessToken.d.ts +32 -1
  149. package/lib/operations/validateEndUserAccessToken.d.ts.map +1 -1
  150. package/lib/operations/verifyX402Payment.d.ts +10 -1
  151. package/lib/operations/verifyX402Payment.d.ts.map +1 -1
  152. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"signEvmTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EASjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;EAGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,KAG5B,CAAC"}
1
+ {"version":3,"file":"signEvmTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;EASjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;EAGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;cAG5B,CAAC"}
@@ -32,5 +32,19 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
32
32
 
33
33
  * @param address - The 0x-prefixed address of the EVM account.
34
34
  */
35
- export declare const signEvmTypedData: any;
35
+ export declare const signEvmTypedData: import("@distilled.cloud/core/client").OperationMethod<{
36
+ readonly address: string;
37
+ readonly domain: {
38
+ readonly chainId?: number | undefined;
39
+ readonly name?: string | undefined;
40
+ readonly salt?: string | undefined;
41
+ readonly verifyingContract?: string | undefined;
42
+ readonly version?: string | undefined;
43
+ };
44
+ readonly message: unknown;
45
+ readonly primaryType: string;
46
+ readonly types: unknown;
47
+ }, {
48
+ readonly signature: string;
49
+ }, never, any>;
36
50
  //# sourceMappingURL=signEvmTypedData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signEvmTypedData.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAiBjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;EAIlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,KAG1B,CAAC"}
1
+ {"version":3,"file":"signEvmTypedData.d.ts","sourceRoot":"","sources":["../../src/operations/signEvmTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAiBjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;EAIlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;cAG1B,CAAC"}
@@ -24,5 +24,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
24
24
 
25
25
  * @param address - The base58 encoded address of the Solana account.
26
26
  */
27
- export declare const signSolanaMessage: any;
27
+ export declare const signSolanaMessage: import("@distilled.cloud/core/client").OperationMethod<{
28
+ readonly address: string;
29
+ readonly message: string;
30
+ }, {
31
+ readonly signature: string;
32
+ }, never, any>;
28
33
  //# sourceMappingURL=signSolanaMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signSolanaMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;EAUlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;EAGhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
1
+ {"version":3,"file":"signSolanaMessage.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;EAUlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;EAGhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB;;;;;cAG3B,CAAC"}
@@ -29,5 +29,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
29
29
 
30
30
  * @param address - The base58 encoded address of the Solana account.
31
31
  */
32
- export declare const signSolanaTransaction: any;
32
+ export declare const signSolanaTransaction: import("@distilled.cloud/core/client").OperationMethod<{
33
+ readonly address: string;
34
+ readonly transaction: string;
35
+ }, {
36
+ readonly signedTransaction: string;
37
+ }, never, any>;
33
38
  //# sourceMappingURL=signSolanaTransaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EASpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"signSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/signSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EASpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,qBAAqB;;;;;cAKjC,CAAC"}
@@ -17,5 +17,18 @@ export type SupportedX402PaymentKindsOutput = typeof SupportedX402PaymentKindsOu
17
17
  *
18
18
  * Get the supported x402 protocol payment schemes and networks that the facilitator is able to verify and settle payments for.
19
19
  */
20
- export declare const supportedX402PaymentKinds: any;
20
+ export declare const supportedX402PaymentKinds: import("@distilled.cloud/core/client").OperationMethod<{}, {
21
+ readonly extensions: readonly string[];
22
+ readonly kinds: readonly {
23
+ readonly extra?: {
24
+ readonly [x: string]: unknown;
25
+ } | undefined;
26
+ readonly network: "base" | "base-sepolia" | "eip155:137" | "eip155:8453" | "eip155:84532" | "polygon" | "solana" | "solana-devnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
27
+ readonly scheme: "exact" | "upto";
28
+ readonly x402Version: "1" | "2";
29
+ }[];
30
+ readonly signers: {
31
+ readonly [x: string]: readonly string[];
32
+ };
33
+ }, never, any>;
21
34
  //# sourceMappingURL=supportedX402PaymentKinds.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"supportedX402PaymentKinds.d.ts","sourceRoot":"","sources":["../../src/operations/supportedX402PaymentKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B,mBAGxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;EAuBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"supportedX402PaymentKinds.d.ts","sourceRoot":"","sources":["../../src/operations/supportedX402PaymentKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B,mBAGxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;EAuBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;cAKrC,CAAC"}
@@ -24,5 +24,15 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
24
24
 
25
25
  * @param address - The 0x-prefixed address of the EVM account. The address does not need to be checksummed.
26
26
  */
27
- export declare const updateEvmAccount: any;
27
+ export declare const updateEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
28
+ readonly accountPolicy?: string | undefined;
29
+ readonly address: string;
30
+ readonly name?: string | undefined;
31
+ }, {
32
+ readonly address: string;
33
+ readonly createdAt?: string | undefined;
34
+ readonly name?: string | undefined;
35
+ readonly policies?: readonly string[] | undefined;
36
+ readonly updatedAt?: string | undefined;
37
+ }, never, any>;
28
38
  //# sourceMappingURL=updateEvmAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;EAIoC,CAAC;AACvE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;EAQlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,KAG1B,CAAC"}
1
+ {"version":3,"file":"updateEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;EAIoC,CAAC;AACvE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;EAQlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;cAG1B,CAAC"}
@@ -20,5 +20,15 @@ export type UpdateEvmSmartAccountOutput = typeof UpdateEvmSmartAccountOutput.Typ
20
20
  *
21
21
  * @param address - The 0x-prefixed address of the EVM smart account. The address does not need to be checksummed.
22
22
  */
23
- export declare const updateEvmSmartAccount: any;
23
+ export declare const updateEvmSmartAccount: import("@distilled.cloud/core/client").OperationMethod<{
24
+ readonly address: string;
25
+ readonly name?: string | undefined;
26
+ }, {
27
+ readonly address: string;
28
+ readonly createdAt?: string | undefined;
29
+ readonly name?: string | undefined;
30
+ readonly owners: readonly string[];
31
+ readonly policies?: readonly string[] | undefined;
32
+ readonly updatedAt?: string | undefined;
33
+ }, never, any>;
24
34
  //# sourceMappingURL=updateEvmSmartAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAIuC,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;EAQpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"updateEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAIuC,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;EAQpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;cAKjC,CAAC"}
@@ -25,5 +25,16 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
25
25
 
26
26
  * @param policyId - The ID of the policy to update.
27
27
  */
28
- export declare const updatePolicy: any;
28
+ export declare const updatePolicy: import("@distilled.cloud/core/client").OperationMethod<{
29
+ readonly description?: string | undefined;
30
+ readonly policyId: string;
31
+ readonly rules: readonly unknown[];
32
+ }, {
33
+ readonly createdAt: string;
34
+ readonly description?: string | undefined;
35
+ readonly id: string;
36
+ readonly rules: readonly unknown[];
37
+ readonly scope: "account" | "project";
38
+ readonly updatedAt: string;
39
+ }, never, any>;
29
40
  //# sourceMappingURL=updatePolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updatePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAM7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
1
+ {"version":3,"file":"updatePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAM7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;EAO7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;cAGtB,CAAC"}
@@ -24,5 +24,15 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
24
24
 
25
25
  * @param address - The base58 encoded address of the Solana account.
26
26
  */
27
- export declare const updateSolanaAccount: any;
27
+ export declare const updateSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
28
+ readonly accountPolicy?: string | undefined;
29
+ readonly address: string;
30
+ readonly name?: string | undefined;
31
+ }, {
32
+ readonly address: string;
33
+ readonly createdAt?: string | undefined;
34
+ readonly name?: string | undefined;
35
+ readonly policies?: readonly string[] | undefined;
36
+ readonly updatedAt?: string | undefined;
37
+ }, never, any>;
28
38
  //# sourceMappingURL=updateSolanaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAKsC,CAAC;AAC5E,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;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"updateSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/updateSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAKsC,CAAC;AAC5E,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;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;cAG7B,CAAC"}
@@ -44,5 +44,42 @@ export type UpdateWebhookSubscriptionOutput = typeof UpdateWebhookSubscriptionOu
44
44
  *
45
45
  * @param subscriptionId - Unique identifier for the webhook subscription.
46
46
  */
47
- export declare const updateWebhookSubscription: any;
47
+ export declare const updateWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
48
+ readonly description?: {} | undefined;
49
+ readonly eventTypes: readonly string[];
50
+ readonly isEnabled: boolean;
51
+ readonly labels?: {
52
+ readonly [x: string]: string;
53
+ } | undefined;
54
+ readonly metadata?: {
55
+ readonly [x: string]: string;
56
+ } | undefined;
57
+ readonly subscriptionId: string;
58
+ readonly target: {
59
+ readonly headers?: {
60
+ readonly [x: string]: string;
61
+ } | undefined;
62
+ readonly url: {};
63
+ };
64
+ }, {
65
+ readonly createdAt: string;
66
+ readonly description?: {} | undefined;
67
+ readonly eventTypes: readonly string[];
68
+ readonly isEnabled: boolean;
69
+ readonly labels?: {
70
+ readonly [x: string]: string;
71
+ } | undefined;
72
+ readonly metadata?: {
73
+ readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
74
+ } | undefined;
75
+ readonly secret: string | import("effect/Redacted").Redacted<string>;
76
+ readonly subscriptionId: string;
77
+ readonly target: {
78
+ readonly headers?: {
79
+ readonly [x: string]: string;
80
+ } | undefined;
81
+ readonly url: {};
82
+ };
83
+ readonly updatedAt?: string | undefined;
84
+ }, never, any>;
48
85
  //# sourceMappingURL=updateWebhookSubscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,CAAC"}
@@ -40,5 +40,36 @@ export type ValidateEndUserAccessTokenOutput = typeof ValidateEndUserAccessToken
40
40
  * Validates the end user's access token and returns the end user's information. Returns an error if the access token is invalid or expired.
41
41
  * This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
42
42
  */
43
- export declare const validateEndUserAccessToken: any;
43
+ export declare const validateEndUserAccessToken: import("@distilled.cloud/core/client").OperationMethod<{
44
+ readonly accessToken: string | import("effect/Redacted").Redacted<string>;
45
+ }, {
46
+ readonly authenticationMethods: readonly unknown[];
47
+ readonly createdAt: string;
48
+ readonly evmAccountObjects: readonly {
49
+ readonly address: string;
50
+ readonly createdAt: string;
51
+ }[];
52
+ readonly evmAccounts: readonly string[];
53
+ readonly evmSmartAccountObjects: readonly {
54
+ readonly address: string;
55
+ readonly createdAt: string;
56
+ readonly ownerAddresses: readonly string[];
57
+ }[];
58
+ readonly evmSmartAccounts: readonly string[];
59
+ readonly mfaMethods?: {
60
+ readonly enrollmentPromptedAt?: string | undefined;
61
+ readonly sms?: {
62
+ readonly enrolledAt: string;
63
+ } | undefined;
64
+ readonly totp?: {
65
+ readonly enrolledAt: string;
66
+ } | undefined;
67
+ } | undefined;
68
+ readonly solanaAccountObjects: readonly {
69
+ readonly address: string;
70
+ readonly createdAt: string;
71
+ }[];
72
+ readonly solanaAccounts: readonly string[];
73
+ readonly userId: string;
74
+ }, never, any>;
44
75
  //# sourceMappingURL=validateEndUserAccessToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validateEndUserAccessToken.d.ts","sourceRoot":"","sources":["../../src/operations/validateEndUserAccessToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,+BAA+B;;EAKzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,KAKtC,CAAC"}
1
+ {"version":3,"file":"validateEndUserAccessToken.d.ts","sourceRoot":"","sources":["../../src/operations/validateEndUserAccessToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,+BAA+B;;EAKzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtC,CAAC"}
@@ -17,5 +17,14 @@ export type VerifyX402PaymentOutput = typeof VerifyX402PaymentOutput.Type;
17
17
  *
18
18
  * Verify an x402 protocol payment with a specific scheme and network.
19
19
  */
20
- export declare const verifyX402Payment: any;
20
+ export declare const verifyX402Payment: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly paymentPayload: unknown;
22
+ readonly paymentRequirements: unknown;
23
+ readonly x402Version: "1" | "2";
24
+ }, {
25
+ readonly invalidMessage?: string | undefined;
26
+ readonly invalidReason?: "insufficient_funds" | "invalid_exact_evm_payload_authorization_from_address_kyt" | "invalid_exact_evm_payload_authorization_to_address_kyt" | "invalid_exact_evm_payload_authorization_typed_data_message" | "invalid_exact_evm_payload_authorization_valid_after" | "invalid_exact_evm_payload_authorization_valid_before" | "invalid_exact_evm_payload_authorization_value" | "invalid_exact_evm_payload_authorization_value_too_low" | "invalid_exact_evm_payload_signature" | "invalid_exact_evm_payload_signature_address" | "invalid_exact_evm_permit2_payload_allowance_required" | "invalid_exact_evm_permit2_payload_amount" | "invalid_exact_evm_permit2_payload_deadline" | "invalid_exact_evm_permit2_payload_recipient" | "invalid_exact_evm_permit2_payload_signature" | "invalid_exact_evm_permit2_payload_spender" | "invalid_exact_evm_permit2_payload_valid_after" | "invalid_exact_svm_payload_transaction" | "invalid_exact_svm_payload_transaction_amount_mismatch" | "invalid_exact_svm_payload_transaction_cannot_derive_receiver_ata" | "invalid_exact_svm_payload_transaction_create_ata_instruction" | "invalid_exact_svm_payload_transaction_create_ata_instruction_incorrect_asset" | "invalid_exact_svm_payload_transaction_create_ata_instruction_incorrect_payee" | "invalid_exact_svm_payload_transaction_fee_payer_included_in_instruction_accounts" | "invalid_exact_svm_payload_transaction_fee_payer_transferring_funds" | "invalid_exact_svm_payload_transaction_instruction_not_spl_token_transfer_checked" | "invalid_exact_svm_payload_transaction_instruction_not_token_2022_transfer_checked" | "invalid_exact_svm_payload_transaction_instructions" | "invalid_exact_svm_payload_transaction_instructions_compute_limit_instruction" | "invalid_exact_svm_payload_transaction_instructions_compute_price_instruction" | "invalid_exact_svm_payload_transaction_instructions_compute_price_instruction_too_high" | "invalid_exact_svm_payload_transaction_instructions_length" | "invalid_exact_svm_payload_transaction_not_a_transfer_instruction" | "invalid_exact_svm_payload_transaction_receiver_ata_not_found" | "invalid_exact_svm_payload_transaction_sender_ata_not_found" | "invalid_exact_svm_payload_transaction_simulation_failed" | "invalid_exact_svm_payload_transaction_transfer_to_incorrect_ata" | "invalid_network" | "invalid_payload" | "invalid_payment_requirements" | "invalid_scheme" | "invalid_x402_version" | "unknown_error" | undefined;
27
+ readonly isValid: boolean;
28
+ readonly payer: string;
29
+ }, never, any>;
21
30
  //# sourceMappingURL=verifyX402Payment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/verifyX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;EAoDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
1
+ {"version":3,"file":"verifyX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/verifyX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;EAoDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;cAG3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/coinbase",
3
- "version": "0.10.2",
3
+ "version": "0.11.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -73,7 +73,7 @@
73
73
  "specs:update": "git -C specs/cdp-sdk fetch && git -C specs/cdp-sdk checkout main && git -C specs/cdp-sdk pull"
74
74
  },
75
75
  "dependencies": {
76
- "@distilled.cloud/core": "0.10.2",
76
+ "@distilled.cloud/core": "0.11.0",
77
77
  "effect": "4.0.0-beta.48"
78
78
  },
79
79
  "devDependencies": {