@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
package/lib/client.d.ts CHANGED
@@ -6,7 +6,7 @@ export { UnknownCoinbaseError } from "./errors.ts";
6
6
  * Uses JWT bearer token authentication signed with your CDP API Key Secret.
7
7
  */
8
8
  export declare const API: {
9
- make: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").OperationConfig<I, O, E>) => any;
10
- makePaginated: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").PaginatedOperationConfig<I, O, E>, paginateFn?: import("@distilled.cloud/core/pagination").PaginationStrategy) => any;
9
+ make: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").OperationConfig<I, O, E>) => import("@distilled.cloud/core/client").OperationMethod<Schema.Schema.Type<I>, Schema.Schema.Type<O>, InstanceType<E[number]>, any>;
10
+ makePaginated: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").PaginatedOperationConfig<I, O, E>, paginateFn?: import("@distilled.cloud/core/pagination").PaginationStrategy) => import("@distilled.cloud/core/client").PaginatedOperationMethod<Schema.Schema.Type<I>, Schema.Schema.Type<O>, InstanceType<E[number]>, any>;
11
11
  };
12
12
  //# sourceMappingURL=client.d.ts.map
@@ -26,5 +26,12 @@ When included, duplicate requests with the same key will return identical respon
26
26
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
27
27
 
28
28
  */
29
- export declare const addEndUserEvmAccount: any;
29
+ export declare const addEndUserEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly userId: string;
31
+ }, {
32
+ readonly evmAccount: {
33
+ readonly address: string;
34
+ readonly createdAt: string;
35
+ };
36
+ }, never, any>;
30
37
  //# sourceMappingURL=addEndUserEvmAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addEndUserEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;EAGmC,CAAC;AAC1E,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;EAMnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
1
+ {"version":3,"file":"addEndUserEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;EAGmC,CAAC;AAC1E,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;EAMnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,oBAAoB;;;;;;;cAKhC,CAAC"}
@@ -28,5 +28,14 @@ When included, duplicate requests with the same key will return identical respon
28
28
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
29
29
 
30
30
  */
31
- export declare const addEndUserEvmSmartAccount: any;
31
+ export declare const addEndUserEvmSmartAccount: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly enableSpendPermissions?: boolean | undefined;
33
+ readonly userId: string;
34
+ }, {
35
+ readonly evmSmartAccount: {
36
+ readonly address: string;
37
+ readonly createdAt: string;
38
+ readonly ownerAddresses: readonly string[];
39
+ };
40
+ }, never, any>;
32
41
  //# sourceMappingURL=addEndUserEvmSmartAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addEndUserEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;EASxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;EAOxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"addEndUserEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;EASxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;EAOxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;cAKrC,CAAC"}
@@ -26,5 +26,12 @@ When included, duplicate requests with the same key will return identical respon
26
26
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
27
27
 
28
28
  */
29
- export declare const addEndUserSolanaAccount: any;
29
+ export declare const addEndUserSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly userId: string;
31
+ }, {
32
+ readonly solanaAccount: {
33
+ readonly address: string;
34
+ readonly createdAt: string;
35
+ };
36
+ }, never, any>;
30
37
  //# sourceMappingURL=addEndUserSolanaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addEndUserSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;EAGmC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;EAMtC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,KAKnC,CAAC"}
1
+ {"version":3,"file":"addEndUserSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/addEndUserSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;EAGmC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;EAMtC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB;;;;;;;cAKnC,CAAC"}
@@ -57,5 +57,44 @@ When included, duplicate requests with the same key will return identical respon
57
57
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
58
58
 
59
59
  */
60
- export declare const createEndUser: any;
60
+ export declare const createEndUser: import("@distilled.cloud/core/client").OperationMethod<{
61
+ readonly authenticationMethods: readonly unknown[];
62
+ readonly evmAccount?: {
63
+ readonly createSmartAccount?: boolean | undefined;
64
+ readonly enableSpendPermissions?: boolean | undefined;
65
+ } | undefined;
66
+ readonly solanaAccount?: {
67
+ readonly createSmartAccount?: boolean | undefined;
68
+ } | undefined;
69
+ readonly userId?: string | undefined;
70
+ }, {
71
+ readonly authenticationMethods: readonly unknown[];
72
+ readonly createdAt: string;
73
+ readonly evmAccountObjects: readonly {
74
+ readonly address: string;
75
+ readonly createdAt: string;
76
+ }[];
77
+ readonly evmAccounts: readonly string[];
78
+ readonly evmSmartAccountObjects: readonly {
79
+ readonly address: string;
80
+ readonly createdAt: string;
81
+ readonly ownerAddresses: readonly string[];
82
+ }[];
83
+ readonly evmSmartAccounts: readonly string[];
84
+ readonly mfaMethods?: {
85
+ readonly enrollmentPromptedAt?: string | undefined;
86
+ readonly sms?: {
87
+ readonly enrolledAt: string;
88
+ } | undefined;
89
+ readonly totp?: {
90
+ readonly enrolledAt: string;
91
+ } | undefined;
92
+ } | undefined;
93
+ readonly solanaAccountObjects: readonly {
94
+ readonly address: string;
95
+ readonly createdAt: string;
96
+ }[];
97
+ readonly solanaAccounts: readonly string[];
98
+ readonly userId: string;
99
+ }, never, any>;
61
100
  //# sourceMappingURL=createEndUser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEndUser.d.ts","sourceRoot":"","sources":["../../src/operations/createEndUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;;;;;;;;EAc2B,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
1
+ {"version":3,"file":"createEndUser.d.ts","sourceRoot":"","sources":["../../src/operations/createEndUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;;;;;;;;EAc2B,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGvB,CAAC"}
@@ -26,5 +26,14 @@ When included, duplicate requests with the same key will return identical respon
26
26
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
27
27
 
28
28
  */
29
- export declare const createEvmAccount: any;
29
+ export declare const createEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly accountPolicy?: string | undefined;
31
+ readonly name?: string | undefined;
32
+ }, {
33
+ readonly address: string;
34
+ readonly createdAt?: string | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly policies?: readonly string[] | undefined;
37
+ readonly updatedAt?: string | undefined;
38
+ }, never, any>;
30
39
  //# sourceMappingURL=createEvmAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;EAG2B,CAAC;AAC9D,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;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,KAG1B,CAAC"}
1
+ {"version":3,"file":"createEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;EAG2B,CAAC;AAC9D,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;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;cAG1B,CAAC"}
@@ -30,5 +30,11 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
30
30
 
31
31
  * @param address - The 0x-prefixed address of the EVM account to delegate.
32
32
  */
33
- export declare const createEvmEip7702Delegation: any;
33
+ export declare const createEvmEip7702Delegation: import("@distilled.cloud/core/client").OperationMethod<{
34
+ readonly address: string;
35
+ readonly enableSpendPermissions?: boolean | undefined;
36
+ readonly network: "arbitrum" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
37
+ }, {
38
+ readonly delegationOperationId: string;
39
+ }, never, any>;
34
40
  //# sourceMappingURL=createEvmEip7702Delegation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEvmEip7702Delegation.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmEip7702Delegation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B;;;;EAkBzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;EAGzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,0BAA0B,KAKtC,CAAC"}
1
+ {"version":3,"file":"createEvmEip7702Delegation.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmEip7702Delegation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+BAA+B;;;;EAkBzC,CAAC;AACJ,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;EAGzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,0BAA0B;;;;;;cAKtC,CAAC"}
@@ -23,5 +23,15 @@ When included, duplicate requests with the same key will return identical respon
23
23
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
24
24
 
25
25
  */
26
- export declare const createEvmSmartAccount: any;
26
+ export declare const createEvmSmartAccount: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly name?: string | undefined;
28
+ readonly owners: readonly string[];
29
+ }, {
30
+ readonly address: string;
31
+ readonly createdAt?: string | undefined;
32
+ readonly name?: string | undefined;
33
+ readonly owners: readonly string[];
34
+ readonly policies?: readonly string[] | undefined;
35
+ readonly updatedAt?: string | undefined;
36
+ }, never, any>;
27
37
  //# sourceMappingURL=createEvmSmartAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAI8B,CAAC;AACtE,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;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"createEvmSmartAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmSmartAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAI8B,CAAC;AACtE,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;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;cAKjC,CAAC"}
@@ -22,5 +22,14 @@ When included, duplicate requests with the same key will return identical respon
22
22
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
23
23
 
24
24
  */
25
- export declare const createEvmSwapQuote: any;
25
+ export declare const createEvmSwapQuote: import("@distilled.cloud/core/client").OperationMethod<{
26
+ readonly fromAmount: string;
27
+ readonly fromToken: string;
28
+ readonly gasPrice?: string | undefined;
29
+ readonly network: "arbitrum" | "base" | "ethereum" | "optimism" | "polygon";
30
+ readonly signerAddress?: string | undefined;
31
+ readonly slippageBps?: number | undefined;
32
+ readonly taker: string;
33
+ readonly toToken: string;
34
+ }, unknown, never, any>;
26
35
  //# sourceMappingURL=createEvmSwapQuote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEvmSwapQuote.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmSwapQuote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;;;;;;;EAgBwB,CAAC;AAC7D,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB,gBACO,CAAC;AAC7C,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,KAG5B,CAAC"}
1
+ {"version":3,"file":"createEvmSwapQuote.d.ts","sourceRoot":"","sources":["../../src/operations/createEvmSwapQuote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,uBAAuB;;;;;;;;;EAgBwB,CAAC;AAC7D,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB,gBACO,CAAC;AAC7C,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;uBAG5B,CAAC"}
@@ -54,5 +54,49 @@ export type CreateOnrampOrderOutput = typeof CreateOnrampOrderOutput.Type;
54
54
  * This API currently only supports the payment method `GUEST_CHECKOUT_APPLE_PAY`.
55
55
  * For detailed integration instructions and to get access to this API, refer to the [Apple Pay Onramp API docs](https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api).
56
56
  */
57
- export declare const createOnrampOrder: any;
57
+ export declare const createOnrampOrder: import("@distilled.cloud/core/client").OperationMethod<{
58
+ readonly agreementAcceptedAt: string;
59
+ readonly clientIp?: string | undefined;
60
+ readonly destinationAddress: {};
61
+ readonly destinationNetwork: string;
62
+ readonly domain?: string | undefined;
63
+ readonly email: string;
64
+ readonly isQuote?: boolean | undefined;
65
+ readonly partnerOrderRef?: string | undefined;
66
+ readonly partnerUserRef: string;
67
+ readonly paymentAmount?: string | undefined;
68
+ readonly paymentCurrency: string;
69
+ readonly paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" | "GUEST_CHECKOUT_GOOGLE_PAY";
70
+ readonly phoneNumber: string;
71
+ readonly phoneNumberVerifiedAt: string;
72
+ readonly purchaseAmount?: string | undefined;
73
+ readonly purchaseCurrency: string;
74
+ }, {
75
+ readonly order: {
76
+ readonly createdAt: string;
77
+ readonly destinationAddress: {};
78
+ readonly destinationNetwork: string;
79
+ readonly exchangeRate: string;
80
+ readonly fees: readonly {
81
+ readonly amount: string;
82
+ readonly currency: string;
83
+ readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
84
+ }[];
85
+ readonly orderId: string;
86
+ readonly partnerUserRef?: string | undefined;
87
+ readonly paymentCurrency: string;
88
+ readonly paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" | "GUEST_CHECKOUT_GOOGLE_PAY";
89
+ readonly paymentSubtotal: string;
90
+ readonly paymentTotal: string;
91
+ readonly purchaseAmount: string;
92
+ readonly purchaseCurrency: string;
93
+ readonly status: "ONRAMP_ORDER_STATUS_COMPLETED" | "ONRAMP_ORDER_STATUS_FAILED" | "ONRAMP_ORDER_STATUS_PENDING_AUTH" | "ONRAMP_ORDER_STATUS_PENDING_PAYMENT" | "ONRAMP_ORDER_STATUS_PROCESSING";
94
+ readonly txHash?: string | undefined;
95
+ readonly updatedAt: string;
96
+ };
97
+ readonly paymentLink?: {
98
+ readonly paymentLinkType: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
99
+ readonly url: {};
100
+ } | undefined;
101
+ }, never, any>;
58
102
  //# sourceMappingURL=createOnrampOrder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createOnrampOrder.d.ts","sourceRoot":"","sources":["../../src/operations/createOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;EAsB0B,CAAC;AAC9D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ChC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
1
+ {"version":3,"file":"createOnrampOrder.d.ts","sourceRoot":"","sources":["../../src/operations/createOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;EAsB0B,CAAC;AAC9D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ChC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAG3B,CAAC"}
@@ -51,5 +51,36 @@ export type CreateOnrampSessionOutput = typeof CreateOnrampSessionOutput.Type;
51
51
  * **Returns**: Complete pricing quote and one-click onramp URL. Both `session` and `quote` objects will be included in the response.
52
52
  * **Note**: Only one of `paymentAmount` or `purchaseAmount` should be provided, not both. Providing both will result in an error. When `paymentAmount` is provided, the quote shows how much crypto the user will receive for the specified fiat amount (fee-inclusive). When `purchaseAmount` is provided, the quote shows how much fiat the user needs to pay for the specified crypto amount (fee-exclusive).
53
53
  */
54
- export declare const createOnrampSession: any;
54
+ export declare const createOnrampSession: import("@distilled.cloud/core/client").OperationMethod<{
55
+ readonly clientIp?: string | undefined;
56
+ readonly country?: string | undefined;
57
+ readonly destinationAddress: {};
58
+ readonly destinationNetwork: string;
59
+ readonly partnerUserRef?: string | undefined;
60
+ readonly paymentAmount?: string | undefined;
61
+ readonly paymentCurrency?: string | undefined;
62
+ readonly paymentMethod?: "ACH" | "APPLE_PAY" | "CARD" | "CRYPTO_WALLET" | "FIAT_WALLET" | "PAYPAL" | undefined;
63
+ readonly purchaseAmount?: string | undefined;
64
+ readonly purchaseCurrency: string;
65
+ readonly redirectUrl?: {} | undefined;
66
+ readonly subdivision?: string | undefined;
67
+ }, {
68
+ readonly quote?: {
69
+ readonly destinationNetwork: string;
70
+ readonly exchangeRate: string;
71
+ readonly fees: readonly {
72
+ readonly amount: string;
73
+ readonly currency: string;
74
+ readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
75
+ }[];
76
+ readonly paymentCurrency: string;
77
+ readonly paymentSubtotal: string;
78
+ readonly paymentTotal: string;
79
+ readonly purchaseAmount: string;
80
+ readonly purchaseCurrency: string;
81
+ } | undefined;
82
+ readonly session: {
83
+ readonly onrampUrl: {};
84
+ };
85
+ }, never, any>;
55
86
  //# sourceMappingURL=createOnrampSession.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createOnrampSession.d.ts","sourceRoot":"","sources":["../../src/operations/createOnrampSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;EAuB6B,CAAC;AACnE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAuBlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"createOnrampSession.d.ts","sourceRoot":"","sources":["../../src/operations/createOnrampSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;EAuB6B,CAAC;AACnE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAuBlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAG7B,CAAC"}
@@ -24,5 +24,16 @@ When included, duplicate requests with the same key will return identical respon
24
24
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
25
25
 
26
26
  */
27
- export declare const createPolicy: any;
27
+ export declare const createPolicy: import("@distilled.cloud/core/client").OperationMethod<{
28
+ readonly description?: string | undefined;
29
+ readonly rules: readonly unknown[];
30
+ readonly scope: "account" | "project";
31
+ }, {
32
+ readonly createdAt: string;
33
+ readonly description?: string | undefined;
34
+ readonly id: string;
35
+ readonly rules: readonly unknown[];
36
+ readonly scope: "account" | "project";
37
+ readonly updatedAt: string;
38
+ }, never, any>;
28
39
  //# sourceMappingURL=createPolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAIyC,CAAC;AACxE,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;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
1
+ {"version":3,"file":"createPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;;EAIyC,CAAC;AACxE,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;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;cAGtB,CAAC"}
@@ -26,5 +26,14 @@ When included, duplicate requests with the same key will return identical respon
26
26
  Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
27
27
 
28
28
  */
29
- export declare const createSolanaAccount: any;
29
+ export declare const createSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly accountPolicy?: string | undefined;
31
+ readonly name?: string | undefined;
32
+ }, {
33
+ readonly address: string;
34
+ readonly createdAt?: string | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly policies?: readonly string[] | undefined;
37
+ readonly updatedAt?: string | undefined;
38
+ }, never, any>;
30
39
  //# sourceMappingURL=createSolanaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;EAI6B,CAAC;AACnE,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"}
1
+ {"version":3,"file":"createSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;EAI6B,CAAC;AACnE,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;;;;;;;;;cAG7B,CAAC"}
@@ -51,5 +51,38 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
51
51
 
52
52
  * @param address - The address of the Smart Account to create the spend permission for.
53
53
  */
54
- export declare const createSpendPermission: any;
54
+ export declare const createSpendPermission: import("@distilled.cloud/core/client").OperationMethod<{
55
+ readonly address: string;
56
+ readonly allowance: string;
57
+ readonly end: string;
58
+ readonly extraData?: string | undefined;
59
+ readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
60
+ readonly paymasterUrl?: {} | undefined;
61
+ readonly period: string;
62
+ readonly salt?: string | undefined;
63
+ readonly spender: string;
64
+ readonly start: string;
65
+ readonly token: string;
66
+ }, {
67
+ readonly calls: readonly {
68
+ readonly data: string;
69
+ readonly overrideGasLimit?: string | undefined;
70
+ readonly to: string;
71
+ readonly value: string;
72
+ }[];
73
+ readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
74
+ readonly receipts?: readonly {
75
+ readonly blockHash?: string | undefined;
76
+ readonly blockNumber?: number | undefined;
77
+ readonly gasUsed?: string | undefined;
78
+ readonly revert?: {
79
+ readonly data: string;
80
+ readonly message: string;
81
+ } | undefined;
82
+ readonly transactionHash?: string | undefined;
83
+ }[] | undefined;
84
+ readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
85
+ readonly transactionHash?: string | undefined;
86
+ readonly userOpHash: string;
87
+ }, never, any>;
55
88
  //# sourceMappingURL=createSpendPermission.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createSpendPermission.d.ts","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EA2BpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAgDpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"createSpendPermission.d.ts","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EA2BpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAgDpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKjC,CAAC"}
@@ -73,5 +73,41 @@ export type CreateWebhookSubscriptionOutput = typeof CreateWebhookSubscriptionOu
73
73
  * - **Price Oracle Tracker**: `{"network": "base-mainnet", "contract_address": "0xbac4a9428ea707c51f171ed9890c3c2fa810305d", "event_name": "PriceUpdated"}`
74
74
  * - **DeFi Protocol Activity**: `{"network": "base-mainnet", "contract_address": "0x45c6e6a47a711b14d8357d5243f46704904578e3", "event_name": "Deposit"}`
75
75
  */
76
- export declare const createWebhookSubscription: any;
76
+ export declare const createWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
77
+ readonly description?: {} | undefined;
78
+ readonly eventTypes: readonly string[];
79
+ readonly isEnabled: boolean;
80
+ readonly labels?: {
81
+ readonly [x: string]: string;
82
+ } | undefined;
83
+ readonly metadata?: {
84
+ readonly [x: string]: string;
85
+ } | undefined;
86
+ readonly target: {
87
+ readonly headers?: {
88
+ readonly [x: string]: string;
89
+ } | undefined;
90
+ readonly url: {};
91
+ };
92
+ }, {
93
+ readonly createdAt: string;
94
+ readonly description?: {} | undefined;
95
+ readonly eventTypes: readonly string[];
96
+ readonly isEnabled: boolean;
97
+ readonly labels?: {
98
+ readonly [x: string]: string;
99
+ } | undefined;
100
+ readonly metadata?: {
101
+ readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
102
+ } | undefined;
103
+ readonly secret: string | import("effect/Redacted").Redacted<string>;
104
+ readonly subscriptionId: string;
105
+ readonly target: {
106
+ readonly headers?: {
107
+ readonly [x: string]: string;
108
+ } | undefined;
109
+ readonly url: {};
110
+ };
111
+ readonly updatedAt?: string | undefined;
112
+ }, never, any>;
77
113
  //# sourceMappingURL=createWebhookSubscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;EAWmC,CAAC;AAC/E,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"createWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;EAWmC,CAAC;AAC/E,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,CAAC"}
@@ -16,5 +16,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
16
16
 
17
17
  * @param policyId - The ID of the policy to delete.
18
18
  */
19
- export declare const deletePolicy: any;
19
+ export declare const deletePolicy: import("@distilled.cloud/core/client").OperationMethod<{
20
+ readonly policyId: string;
21
+ }, void, never, any>;
20
22
  //# sourceMappingURL=deletePolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deletePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/deletePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;EAI7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB,aAA0C,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
1
+ {"version":3,"file":"deletePolicy.d.ts","sourceRoot":"","sources":["../../src/operations/deletePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;EAI7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB,aAA0C,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;;oBAGtB,CAAC"}
@@ -17,5 +17,7 @@ export type DeleteWebhookSubscriptionOutput = typeof DeleteWebhookSubscriptionOu
17
17
  *
18
18
  * @param subscriptionId - Unique identifier for the webhook subscription.
19
19
  */
20
- export declare const deleteWebhookSubscription: any;
20
+ export declare const deleteWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly subscriptionId: string;
22
+ }, void, never, any>;
21
23
  //# sourceMappingURL=deleteWebhookSubscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/deleteWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;EAQxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B,aACH,CAAC;AAC1C,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"deleteWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/deleteWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;EAQxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B,aACH,CAAC;AAC1C,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB;;oBAKrC,CAAC"}
@@ -23,5 +23,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
23
23
 
24
24
  * @param address - The 0x-prefixed address of the EVM account. The address does not need to be checksummed.
25
25
  */
26
- export declare const exportEvmAccount: any;
26
+ export declare const exportEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly address: string;
28
+ readonly exportEncryptionKey: string;
29
+ }, {
30
+ readonly encryptedPrivateKey: string;
31
+ }, never, any>;
27
32
  //# sourceMappingURL=exportEvmAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exportEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/exportEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;EAG4C,CAAC;AAC/E,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":"exportEvmAccount.d.ts","sourceRoot":"","sources":["../../src/operations/exportEvmAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;EAG4C,CAAC;AAC/E,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"}
@@ -23,5 +23,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
23
23
 
24
24
  * @param name - The name of the EVM account.
25
25
  */
26
- export declare const exportEvmAccountByName: any;
26
+ export declare const exportEvmAccountByName: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly exportEncryptionKey: string;
28
+ readonly name: string;
29
+ }, {
30
+ readonly encryptedPrivateKey: string;
31
+ }, never, any>;
27
32
  //# sourceMappingURL=exportEvmAccountByName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exportEvmAccountByName.d.ts","sourceRoot":"","sources":["../../src/operations/exportEvmAccountByName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;;EAMrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;EAGrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
1
+ {"version":3,"file":"exportEvmAccountByName.d.ts","sourceRoot":"","sources":["../../src/operations/exportEvmAccountByName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B;;;EAMrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;EAGrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB;;;;;cAKlC,CAAC"}
@@ -23,5 +23,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
23
23
 
24
24
  * @param address - The base58 encoded address of the Solana account.
25
25
  */
26
- export declare const exportSolanaAccount: any;
26
+ export declare const exportSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly address: string;
28
+ readonly exportEncryptionKey: string;
29
+ }, {
30
+ readonly encryptedPrivateKey: string;
31
+ }, never, any>;
27
32
  //# sourceMappingURL=exportSolanaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exportSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/exportSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;EAMlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;EAGlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"exportSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/exportSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;EAMlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;EAGlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB;;;;;cAG7B,CAAC"}
@@ -23,5 +23,10 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
23
23
 
24
24
  * @param name - The name of the Solana account.
25
25
  */
26
- export declare const exportSolanaAccountByName: any;
26
+ export declare const exportSolanaAccountByName: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly exportEncryptionKey: string;
28
+ readonly name: string;
29
+ }, {
30
+ readonly encryptedPrivateKey: string;
31
+ }, never, any>;
27
32
  //# sourceMappingURL=exportSolanaAccountByName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exportSolanaAccountByName.d.ts","sourceRoot":"","sources":["../../src/operations/exportSolanaAccountByName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;EASxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;EAGxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"exportSolanaAccountByName.d.ts","sourceRoot":"","sources":["../../src/operations/exportSolanaAccountByName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8BAA8B;;;EASxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;EAGxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB;;;;;cAKrC,CAAC"}
@@ -42,5 +42,36 @@ export type GetEndUserOutput = typeof GetEndUserOutput.Type;
42
42
  *
43
43
  * @param userId - The ID of the end user to get.
44
44
  */
45
- export declare const getEndUser: any;
45
+ export declare const getEndUser: import("@distilled.cloud/core/client").OperationMethod<{
46
+ readonly userId: string;
47
+ }, {
48
+ readonly authenticationMethods: readonly unknown[];
49
+ readonly createdAt: string;
50
+ readonly evmAccountObjects: readonly {
51
+ readonly address: string;
52
+ readonly createdAt: string;
53
+ }[];
54
+ readonly evmAccounts: readonly string[];
55
+ readonly evmSmartAccountObjects: readonly {
56
+ readonly address: string;
57
+ readonly createdAt: string;
58
+ readonly ownerAddresses: readonly string[];
59
+ }[];
60
+ readonly evmSmartAccounts: readonly string[];
61
+ readonly mfaMethods?: {
62
+ readonly enrollmentPromptedAt?: string | undefined;
63
+ readonly sms?: {
64
+ readonly enrolledAt: string;
65
+ } | undefined;
66
+ readonly totp?: {
67
+ readonly enrolledAt: string;
68
+ } | undefined;
69
+ } | undefined;
70
+ readonly solanaAccountObjects: readonly {
71
+ readonly address: string;
72
+ readonly createdAt: string;
73
+ }[];
74
+ readonly solanaAccounts: readonly string[];
75
+ readonly userId: string;
76
+ }, never, any>;
46
77
  //# sourceMappingURL=getEndUser.d.ts.map