@privy-io/api-types 0.6.1 → 0.8.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 (197) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/client.d.mts +53 -29
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +53 -29
  5. package/client.d.ts.map +1 -1
  6. package/client.js +32 -7
  7. package/client.js.map +1 -1
  8. package/client.mjs +34 -9
  9. package/client.mjs.map +1 -1
  10. package/package.json +12 -1
  11. package/resources/accounts.d.mts +146 -4
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +146 -4
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/accounts.js.map +1 -1
  16. package/resources/accounts.mjs.map +1 -1
  17. package/resources/aggregations.d.mts +18 -392
  18. package/resources/aggregations.d.mts.map +1 -1
  19. package/resources/aggregations.d.ts +18 -392
  20. package/resources/aggregations.d.ts.map +1 -1
  21. package/resources/aggregations.js.map +1 -1
  22. package/resources/aggregations.mjs.map +1 -1
  23. package/resources/apps.d.mts +197 -70
  24. package/resources/apps.d.mts.map +1 -1
  25. package/resources/apps.d.ts +197 -70
  26. package/resources/apps.d.ts.map +1 -1
  27. package/resources/apps.js.map +1 -1
  28. package/resources/apps.mjs.map +1 -1
  29. package/resources/client-auth.d.mts +975 -463
  30. package/resources/client-auth.d.mts.map +1 -1
  31. package/resources/client-auth.d.ts +975 -463
  32. package/resources/client-auth.d.ts.map +1 -1
  33. package/resources/client-auth.js.map +1 -1
  34. package/resources/client-auth.mjs.map +1 -1
  35. package/resources/cross-app.d.mts +14 -13
  36. package/resources/cross-app.d.mts.map +1 -1
  37. package/resources/cross-app.d.ts +14 -13
  38. package/resources/cross-app.d.ts.map +1 -1
  39. package/resources/embedded-wallets.d.mts +165 -81
  40. package/resources/embedded-wallets.d.mts.map +1 -1
  41. package/resources/embedded-wallets.d.ts +165 -81
  42. package/resources/embedded-wallets.d.ts.map +1 -1
  43. package/resources/embedded-wallets.js.map +1 -1
  44. package/resources/embedded-wallets.mjs.map +1 -1
  45. package/resources/funding.d.mts +150 -64
  46. package/resources/funding.d.mts.map +1 -1
  47. package/resources/funding.d.ts +150 -64
  48. package/resources/funding.d.ts.map +1 -1
  49. package/resources/funding.js.map +1 -1
  50. package/resources/funding.mjs.map +1 -1
  51. package/resources/index.d.mts +18 -14
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +18 -14
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js +9 -1
  56. package/resources/index.js.map +1 -1
  57. package/resources/index.mjs +6 -2
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/intents.d.mts +446 -31
  60. package/resources/intents.d.mts.map +1 -1
  61. package/resources/intents.d.ts +446 -31
  62. package/resources/intents.d.ts.map +1 -1
  63. package/resources/intents.js.map +1 -1
  64. package/resources/intents.mjs.map +1 -1
  65. package/resources/key-quorums.d.mts +108 -17
  66. package/resources/key-quorums.d.mts.map +1 -1
  67. package/resources/key-quorums.d.ts +108 -17
  68. package/resources/key-quorums.d.ts.map +1 -1
  69. package/resources/key-quorums.js +26 -9
  70. package/resources/key-quorums.js.map +1 -1
  71. package/resources/key-quorums.mjs +26 -9
  72. package/resources/key-quorums.mjs.map +1 -1
  73. package/resources/kraken-embed.d.mts +62 -0
  74. package/resources/kraken-embed.d.mts.map +1 -0
  75. package/resources/kraken-embed.d.ts +62 -0
  76. package/resources/kraken-embed.d.ts.map +1 -0
  77. package/resources/kraken-embed.js +9 -0
  78. package/resources/kraken-embed.js.map +1 -0
  79. package/resources/kraken-embed.mjs +5 -0
  80. package/resources/kraken-embed.mjs.map +1 -0
  81. package/resources/policies.d.mts +342 -926
  82. package/resources/policies.d.mts.map +1 -1
  83. package/resources/policies.d.ts +342 -926
  84. package/resources/policies.d.ts.map +1 -1
  85. package/resources/policies.js +51 -41
  86. package/resources/policies.js.map +1 -1
  87. package/resources/policies.mjs +51 -41
  88. package/resources/policies.mjs.map +1 -1
  89. package/resources/shared.d.mts +59 -0
  90. package/resources/shared.d.mts.map +1 -0
  91. package/resources/shared.d.ts +59 -0
  92. package/resources/shared.d.ts.map +1 -0
  93. package/resources/shared.js +9 -0
  94. package/resources/shared.js.map +1 -0
  95. package/resources/shared.mjs +5 -0
  96. package/resources/shared.mjs.map +1 -0
  97. package/resources/swaps.d.mts +108 -0
  98. package/resources/swaps.d.mts.map +1 -0
  99. package/resources/swaps.d.ts +108 -0
  100. package/resources/swaps.d.ts.map +1 -0
  101. package/resources/swaps.js +9 -0
  102. package/resources/swaps.js.map +1 -0
  103. package/resources/swaps.mjs +5 -0
  104. package/resources/swaps.mjs.map +1 -0
  105. package/resources/transactions.d.mts +158 -93
  106. package/resources/transactions.d.mts.map +1 -1
  107. package/resources/transactions.d.ts +158 -93
  108. package/resources/transactions.d.ts.map +1 -1
  109. package/resources/transactions.js +3 -0
  110. package/resources/transactions.js.map +1 -1
  111. package/resources/transactions.mjs +3 -0
  112. package/resources/transactions.mjs.map +1 -1
  113. package/resources/users.d.mts +64 -94
  114. package/resources/users.d.mts.map +1 -1
  115. package/resources/users.d.ts +64 -94
  116. package/resources/users.d.ts.map +1 -1
  117. package/resources/users.js +3 -0
  118. package/resources/users.js.map +1 -1
  119. package/resources/users.mjs +3 -0
  120. package/resources/users.mjs.map +1 -1
  121. package/resources/wallet-actions.d.mts +187 -0
  122. package/resources/wallet-actions.d.mts.map +1 -0
  123. package/resources/wallet-actions.d.ts +187 -0
  124. package/resources/wallet-actions.d.ts.map +1 -0
  125. package/resources/wallet-actions.js +9 -0
  126. package/resources/wallet-actions.js.map +1 -0
  127. package/resources/wallet-actions.mjs +5 -0
  128. package/resources/wallet-actions.mjs.map +1 -0
  129. package/resources/wallets/balance.d.mts +7 -4
  130. package/resources/wallets/balance.d.mts.map +1 -1
  131. package/resources/wallets/balance.d.ts +7 -4
  132. package/resources/wallets/balance.d.ts.map +1 -1
  133. package/resources/wallets/balance.js +3 -0
  134. package/resources/wallets/balance.js.map +1 -1
  135. package/resources/wallets/balance.mjs +3 -0
  136. package/resources/wallets/balance.mjs.map +1 -1
  137. package/resources/wallets/index.d.mts +1 -1
  138. package/resources/wallets/index.d.mts.map +1 -1
  139. package/resources/wallets/index.d.ts +1 -1
  140. package/resources/wallets/index.d.ts.map +1 -1
  141. package/resources/wallets/index.js.map +1 -1
  142. package/resources/wallets/index.mjs.map +1 -1
  143. package/resources/wallets/transactions.d.mts +10 -6
  144. package/resources/wallets/transactions.d.mts.map +1 -1
  145. package/resources/wallets/transactions.d.ts +10 -6
  146. package/resources/wallets/transactions.d.ts.map +1 -1
  147. package/resources/wallets/transactions.js +3 -0
  148. package/resources/wallets/transactions.js.map +1 -1
  149. package/resources/wallets/transactions.mjs +3 -0
  150. package/resources/wallets/transactions.mjs.map +1 -1
  151. package/resources/wallets/wallets.d.mts +2399 -936
  152. package/resources/wallets/wallets.d.mts.map +1 -1
  153. package/resources/wallets/wallets.d.ts +2399 -936
  154. package/resources/wallets/wallets.d.ts.map +1 -1
  155. package/resources/wallets/wallets.js +28 -10
  156. package/resources/wallets/wallets.js.map +1 -1
  157. package/resources/wallets/wallets.mjs +28 -10
  158. package/resources/wallets/wallets.mjs.map +1 -1
  159. package/resources/webhooks.d.mts +780 -339
  160. package/resources/webhooks.d.mts.map +1 -1
  161. package/resources/webhooks.d.ts +780 -339
  162. package/resources/webhooks.d.ts.map +1 -1
  163. package/resources/webhooks.js.map +1 -1
  164. package/resources/webhooks.mjs.map +1 -1
  165. package/resources/yield.d.mts +50 -9
  166. package/resources/yield.d.mts.map +1 -1
  167. package/resources/yield.d.ts +50 -9
  168. package/resources/yield.d.ts.map +1 -1
  169. package/src/client.ts +884 -99
  170. package/src/resources/accounts.ts +179 -3
  171. package/src/resources/aggregations.ts +18 -702
  172. package/src/resources/apps.ts +250 -85
  173. package/src/resources/client-auth.ts +1453 -786
  174. package/src/resources/cross-app.ts +19 -15
  175. package/src/resources/embedded-wallets.ts +219 -123
  176. package/src/resources/funding.ts +263 -173
  177. package/src/resources/index.ts +444 -61
  178. package/src/resources/intents.ts +575 -37
  179. package/src/resources/key-quorums.ts +137 -21
  180. package/src/resources/kraken-embed.ts +85 -0
  181. package/src/resources/policies.ts +582 -1550
  182. package/src/resources/shared.ts +79 -0
  183. package/src/resources/swaps.ts +136 -0
  184. package/src/resources/transactions.ts +188 -91
  185. package/src/resources/users.ts +82 -132
  186. package/src/resources/wallet-actions.ts +251 -0
  187. package/src/resources/wallets/balance.ts +9 -2
  188. package/src/resources/wallets/index.ts +146 -16
  189. package/src/resources/wallets/transactions.ts +12 -4
  190. package/src/resources/wallets/wallets.ts +2922 -974
  191. package/src/resources/webhooks.ts +970 -454
  192. package/src/resources/yield.ts +68 -10
  193. package/src/version.ts +1 -1
  194. package/version.d.mts +1 -1
  195. package/version.d.ts +1 -1
  196. package/version.js +1 -1
  197. package/version.mjs +1 -1
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Shared = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Shared extends resource_1.APIResource {
7
+ }
8
+ exports.Shared = Shared;
9
+ //# sourceMappingURL=shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,MAAa,MAAO,SAAQ,sBAAW;CAAG;AAA1C,wBAA0C"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Shared extends APIResource {
4
+ }
5
+ //# sourceMappingURL=shared.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.mjs","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,MAAO,SAAQ,WAAW;CAAG"}
@@ -0,0 +1,108 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ export declare class Swaps extends APIResource {
3
+ }
4
+ /**
5
+ * Whether the swap amount refers to the input token or output token.
6
+ */
7
+ export type SwapAmountType = 'exact_input' | 'exact_output';
8
+ /**
9
+ * Input for requesting a token swap quote.
10
+ */
11
+ export interface SwapQuoteRequest {
12
+ /**
13
+ * Amount in base units (e.g., wei for ETH).
14
+ */
15
+ amount: string;
16
+ /**
17
+ * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
18
+ */
19
+ caip2: string;
20
+ /**
21
+ * Token address to sell, or "native" for the chain's native token.
22
+ */
23
+ input_token: string;
24
+ /**
25
+ * Token address to buy, or "native" for the chain's native token.
26
+ */
27
+ output_token: string;
28
+ /**
29
+ * Whether the swap amount refers to the input token or output token.
30
+ */
31
+ amount_type?: SwapAmountType;
32
+ /**
33
+ * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%). If omitted,
34
+ * auto-slippage is used.
35
+ */
36
+ slippage_bps?: number;
37
+ }
38
+ /**
39
+ * Pricing data for a token swap.
40
+ */
41
+ export interface SwapQuoteResponse {
42
+ /**
43
+ * Chain identifier.
44
+ */
45
+ caip2: string;
46
+ /**
47
+ * Estimated amount of output token in base units.
48
+ */
49
+ est_output_amount: string;
50
+ /**
51
+ * Estimated gas cost in base units of the native token.
52
+ */
53
+ gas_estimate: string;
54
+ /**
55
+ * Amount of input token in base units.
56
+ */
57
+ input_amount: string;
58
+ /**
59
+ * Token address being sold.
60
+ */
61
+ input_token: string;
62
+ /**
63
+ * Minimum output amount accounting for slippage, in base units.
64
+ */
65
+ minimum_output_amount: string;
66
+ /**
67
+ * Token address being bought.
68
+ */
69
+ output_token: string;
70
+ }
71
+ /**
72
+ * Input for executing a token swap.
73
+ */
74
+ export interface SwapRequest {
75
+ /**
76
+ * Amount in base units (e.g., wei for ETH).
77
+ */
78
+ amount: string;
79
+ /**
80
+ * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
81
+ */
82
+ caip2: string;
83
+ /**
84
+ * Token address to sell, or "native" for the chain's native token.
85
+ */
86
+ input_token: string;
87
+ /**
88
+ * Token address to buy, or "native" for the chain's native token.
89
+ */
90
+ output_token: string;
91
+ /**
92
+ * Whether the swap amount refers to the input token or output token.
93
+ */
94
+ amount_type?: SwapAmountType;
95
+ /**
96
+ * Address to receive the output tokens. Defaults to the wallet address if not
97
+ * specified.
98
+ */
99
+ recipient?: string;
100
+ /**
101
+ * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
102
+ */
103
+ slippage_bps?: number;
104
+ }
105
+ export declare namespace Swaps {
106
+ export { type SwapAmountType as SwapAmountType, type SwapQuoteRequest as SwapQuoteRequest, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequest as SwapRequest, };
107
+ }
108
+ //# sourceMappingURL=swaps.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swaps.d.mts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,cAAc,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,WAAW,IAAI,WAAW,GAChC,CAAC;CACH"}
@@ -0,0 +1,108 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ export declare class Swaps extends APIResource {
3
+ }
4
+ /**
5
+ * Whether the swap amount refers to the input token or output token.
6
+ */
7
+ export type SwapAmountType = 'exact_input' | 'exact_output';
8
+ /**
9
+ * Input for requesting a token swap quote.
10
+ */
11
+ export interface SwapQuoteRequest {
12
+ /**
13
+ * Amount in base units (e.g., wei for ETH).
14
+ */
15
+ amount: string;
16
+ /**
17
+ * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
18
+ */
19
+ caip2: string;
20
+ /**
21
+ * Token address to sell, or "native" for the chain's native token.
22
+ */
23
+ input_token: string;
24
+ /**
25
+ * Token address to buy, or "native" for the chain's native token.
26
+ */
27
+ output_token: string;
28
+ /**
29
+ * Whether the swap amount refers to the input token or output token.
30
+ */
31
+ amount_type?: SwapAmountType;
32
+ /**
33
+ * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%). If omitted,
34
+ * auto-slippage is used.
35
+ */
36
+ slippage_bps?: number;
37
+ }
38
+ /**
39
+ * Pricing data for a token swap.
40
+ */
41
+ export interface SwapQuoteResponse {
42
+ /**
43
+ * Chain identifier.
44
+ */
45
+ caip2: string;
46
+ /**
47
+ * Estimated amount of output token in base units.
48
+ */
49
+ est_output_amount: string;
50
+ /**
51
+ * Estimated gas cost in base units of the native token.
52
+ */
53
+ gas_estimate: string;
54
+ /**
55
+ * Amount of input token in base units.
56
+ */
57
+ input_amount: string;
58
+ /**
59
+ * Token address being sold.
60
+ */
61
+ input_token: string;
62
+ /**
63
+ * Minimum output amount accounting for slippage, in base units.
64
+ */
65
+ minimum_output_amount: string;
66
+ /**
67
+ * Token address being bought.
68
+ */
69
+ output_token: string;
70
+ }
71
+ /**
72
+ * Input for executing a token swap.
73
+ */
74
+ export interface SwapRequest {
75
+ /**
76
+ * Amount in base units (e.g., wei for ETH).
77
+ */
78
+ amount: string;
79
+ /**
80
+ * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
81
+ */
82
+ caip2: string;
83
+ /**
84
+ * Token address to sell, or "native" for the chain's native token.
85
+ */
86
+ input_token: string;
87
+ /**
88
+ * Token address to buy, or "native" for the chain's native token.
89
+ */
90
+ output_token: string;
91
+ /**
92
+ * Whether the swap amount refers to the input token or output token.
93
+ */
94
+ amount_type?: SwapAmountType;
95
+ /**
96
+ * Address to receive the output tokens. Defaults to the wallet address if not
97
+ * specified.
98
+ */
99
+ recipient?: string;
100
+ /**
101
+ * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
102
+ */
103
+ slippage_bps?: number;
104
+ }
105
+ export declare namespace Swaps {
106
+ export { type SwapAmountType as SwapAmountType, type SwapQuoteRequest as SwapQuoteRequest, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequest as SwapRequest, };
107
+ }
108
+ //# sourceMappingURL=swaps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swaps.d.ts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,cAAc,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,WAAW,IAAI,WAAW,GAChC,CAAC;CACH"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Swaps = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Swaps extends resource_1.APIResource {
7
+ }
8
+ exports.Swaps = Swaps;
9
+ //# sourceMappingURL=swaps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swaps.js","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Swaps extends APIResource {
4
+ }
5
+ //# sourceMappingURL=swaps.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swaps.mjs","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
@@ -1,6 +1,9 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Operations related to transactions
6
+ */
4
7
  export declare class Transactions extends APIResource {
5
8
  /**
6
9
  * Get a transaction by transaction ID.
@@ -19,104 +22,164 @@ export declare class Transactions extends APIResource {
19
22
  */
20
23
  export interface TransactionScanningRequestBody {
21
24
  chain_id: string;
22
- metadata: TransactionScanningRequestBody.Metadata;
23
- request: TransactionScanningRequestBody.Request;
24
- }
25
- export declare namespace TransactionScanningRequestBody {
26
- interface Metadata {
27
- domain: string;
28
- }
29
- interface Request {
30
- method: string;
31
- params: Array<unknown>;
32
- }
25
+ /**
26
+ * Additional information for Blockaid to validate against.
27
+ */
28
+ metadata: TransactionScanningMetadata;
29
+ /**
30
+ * Raw RPC request to execute with the wallet.
31
+ */
32
+ request: TransactionScanningRpcRequest;
33
33
  }
34
34
  /**
35
35
  * The response from scanning a transaction.
36
36
  */
37
37
  export interface TransactionScanningResponseBody {
38
- simulation: TransactionScanningResponseBody.UnionMember0 | TransactionScanningResponseBody.UnionMember1;
39
- validation: TransactionScanningResponseBody.UnionMember0 | TransactionScanningResponseBody.UnionMember1;
38
+ /**
39
+ * The simulation result from a transaction scan.
40
+ */
41
+ simulation: TransactionScanningSimulationResult;
42
+ /**
43
+ * The validation result from a transaction scan.
44
+ */
45
+ validation: TransactionScanningValidationResult;
40
46
  }
41
- export declare namespace TransactionScanningResponseBody {
42
- interface UnionMember0 {
43
- error: string;
44
- status: 'Error';
45
- }
46
- interface UnionMember1 {
47
- assets_diffs: Array<UnionMember1.AssetsDiff>;
48
- exposures: Array<UnionMember1.Exposure>;
49
- status: 'Success';
50
- params?: UnionMember1.Params;
51
- }
52
- namespace UnionMember1 {
53
- interface AssetsDiff {
54
- asset: AssetsDiff.Asset;
55
- in: Array<AssetsDiff.In>;
56
- out: Array<AssetsDiff.Out>;
57
- }
58
- namespace AssetsDiff {
59
- interface Asset {
60
- decimals?: number;
61
- logo_url?: string;
62
- name?: string;
63
- symbol?: string;
64
- type?: string;
65
- }
66
- interface In {
67
- usd_price?: string;
68
- value?: string;
69
- }
70
- interface Out {
71
- usd_price?: string;
72
- value?: string;
73
- }
74
- }
75
- interface Exposure {
76
- asset: Exposure.Asset;
77
- spenders: {
78
- [key: string]: Exposure.Spenders;
79
- };
80
- }
81
- namespace Exposure {
82
- interface Asset {
83
- decimals?: number;
84
- logo_url?: string;
85
- name?: string;
86
- symbol?: string;
87
- type?: string;
88
- }
89
- interface Spenders {
90
- usd_price?: string;
91
- value?: string;
92
- }
93
- }
94
- interface Params {
95
- block_tag?: string;
96
- calldata?: Params.Calldata;
97
- chain?: string;
98
- data?: string;
99
- from?: string;
100
- gas?: string;
101
- gas_price?: string;
102
- to?: string;
103
- value?: string;
104
- }
105
- namespace Params {
106
- interface Calldata {
107
- function_selector: string;
108
- function_declaration?: string;
109
- function_signature?: string;
110
- }
111
- }
112
- }
113
- interface UnionMember0 {
114
- error: string;
115
- status: 'Error';
116
- }
117
- interface UnionMember1 {
118
- result_type: string;
119
- status: 'Success';
47
+ /**
48
+ * Additional information for Blockaid to validate against.
49
+ */
50
+ export interface TransactionScanningMetadata {
51
+ domain: string;
52
+ }
53
+ /**
54
+ * Raw RPC request to execute with the wallet.
55
+ */
56
+ export interface TransactionScanningRpcRequest {
57
+ method: string;
58
+ params: Array<unknown>;
59
+ }
60
+ /**
61
+ * A failed validation result from a transaction scan.
62
+ */
63
+ export interface TransactionScanningValidationErrorResult {
64
+ error: string;
65
+ status: 'Error';
66
+ }
67
+ /**
68
+ * A successful validation result from a transaction scan.
69
+ */
70
+ export interface TransactionScanningValidationSuccessResult {
71
+ result_type: string;
72
+ status: 'Success';
73
+ }
74
+ /**
75
+ * The validation result from a transaction scan.
76
+ */
77
+ export type TransactionScanningValidationResult = TransactionScanningValidationErrorResult | TransactionScanningValidationSuccessResult;
78
+ /**
79
+ * Information about the moving asset in a transaction scan.
80
+ */
81
+ export interface TransactionScanningAssetInfo {
82
+ decimals?: number;
83
+ logo_url?: string;
84
+ name?: string;
85
+ symbol?: string;
86
+ type?: string;
87
+ }
88
+ /**
89
+ * The value of an asset in a transaction scan result.
90
+ */
91
+ export interface TransactionScanningAssetValue {
92
+ usd_price?: string;
93
+ value?: string;
94
+ }
95
+ /**
96
+ * An asset diff representing assets entering/leaving a wallet.
97
+ */
98
+ export interface TransactionScanningAssetDiff {
99
+ /**
100
+ * Information about the moving asset in a transaction scan.
101
+ */
102
+ asset: TransactionScanningAssetInfo;
103
+ in: Array<TransactionScanningAssetValue>;
104
+ out: Array<TransactionScanningAssetValue>;
105
+ }
106
+ /**
107
+ * An exposure representing assets approved to spend.
108
+ */
109
+ export interface TransactionScanningExposure {
110
+ /**
111
+ * Information about the moving asset in a transaction scan.
112
+ */
113
+ asset: TransactionScanningAssetInfo;
114
+ spenders: {
115
+ [key: string]: TransactionScanningAssetValue;
116
+ };
117
+ }
118
+ /**
119
+ * Decoded calldata from a scanned transaction.
120
+ */
121
+ export interface TransactionScanningCalldata {
122
+ function_selector: string;
123
+ function_declaration?: string;
124
+ function_signature?: string;
125
+ }
126
+ /**
127
+ * The parameters of the scanned transaction.
128
+ */
129
+ export interface TransactionScanningParams {
130
+ block_tag?: string;
131
+ /**
132
+ * Decoded calldata from a scanned transaction.
133
+ */
134
+ calldata?: TransactionScanningCalldata;
135
+ chain?: string;
136
+ data?: string;
137
+ from?: string;
138
+ gas?: string;
139
+ gas_price?: string;
140
+ to?: string;
141
+ value?: string;
142
+ }
143
+ /**
144
+ * A failed simulation result from a transaction scan.
145
+ */
146
+ export interface TransactionScanningSimulationErrorResult {
147
+ error: string;
148
+ status: 'Error';
149
+ }
150
+ /**
151
+ * A successful simulation result from a transaction scan.
152
+ */
153
+ export interface TransactionScanningSimulationSuccessResult {
154
+ assets_diffs: Array<TransactionScanningAssetDiff>;
155
+ exposures: Array<TransactionScanningExposure>;
156
+ status: 'Success';
157
+ /**
158
+ * The parameters of the scanned transaction.
159
+ */
160
+ params?: TransactionScanningParams;
161
+ }
162
+ /**
163
+ * The simulation result from a transaction scan.
164
+ */
165
+ export type TransactionScanningSimulationResult = TransactionScanningSimulationErrorResult | TransactionScanningSimulationSuccessResult;
166
+ /**
167
+ * A list of transactions.
168
+ */
169
+ export interface TransactionList {
170
+ transactions: Array<TransactionList.Transaction>;
171
+ }
172
+ export declare namespace TransactionList {
173
+ interface Transaction {
174
+ id: string;
175
+ caip2: string;
176
+ created_at: number;
177
+ status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending';
178
+ transaction_hash: string | null;
179
+ wallet_id: string;
180
+ reference_id?: string | null;
181
+ sponsored?: boolean;
182
+ user_operation_hash?: string;
120
183
  }
121
184
  }
122
185
  export interface TransactionGetResponse {
@@ -126,9 +189,11 @@ export interface TransactionGetResponse {
126
189
  status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending';
127
190
  transaction_hash: string | null;
128
191
  wallet_id: string;
192
+ reference_id?: string | null;
129
193
  sponsored?: boolean;
194
+ user_operation_hash?: string;
130
195
  }
131
196
  export declare namespace Transactions {
132
- export { type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionGetResponse as TransactionGetResponse, };
197
+ export { type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionScanningMetadata as TransactionScanningMetadata, type TransactionScanningRpcRequest as TransactionScanningRpcRequest, type TransactionScanningValidationErrorResult as TransactionScanningValidationErrorResult, type TransactionScanningValidationSuccessResult as TransactionScanningValidationSuccessResult, type TransactionScanningValidationResult as TransactionScanningValidationResult, type TransactionScanningAssetInfo as TransactionScanningAssetInfo, type TransactionScanningAssetValue as TransactionScanningAssetValue, type TransactionScanningAssetDiff as TransactionScanningAssetDiff, type TransactionScanningExposure as TransactionScanningExposure, type TransactionScanningCalldata as TransactionScanningCalldata, type TransactionScanningParams as TransactionScanningParams, type TransactionScanningSimulationErrorResult as TransactionScanningSimulationErrorResult, type TransactionScanningSimulationSuccessResult as TransactionScanningSimulationSuccessResult, type TransactionScanningSimulationResult as TransactionScanningSimulationResult, type TransactionList as TransactionList, type TransactionGetResponse as TransactionGetResponse, };
133
198
  }
134
199
  //# sourceMappingURL=transactions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGzF;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,8BAA8B,CAAC,QAAQ,CAAC;IAElD,OAAO,EAAE,8BAA8B,CAAC,OAAO,CAAC;CACjD;AAED,yBAAiB,8BAA8B,CAAC;IAC9C,UAAiB,QAAQ;QACvB,MAAM,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,OAAO;QACtB,MAAM,EAAE,MAAM,CAAC;QAEf,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;KACxB;CACF;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,UAAU,EAAE,+BAA+B,CAAC,YAAY,GAAG,+BAA+B,CAAC,YAAY,CAAC;IAExG,UAAU,EAAE,+BAA+B,CAAC,YAAY,GAAG,+BAA+B,CAAC,YAAY,CAAC;CACzG;AAED,yBAAiB,+BAA+B,CAAC;IAC/C,UAAiB,YAAY;QAC3B,KAAK,EAAE,MAAM,CAAC;QAEd,MAAM,EAAE,OAAO,CAAC;KACjB;IAED,UAAiB,YAAY;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAE7C,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,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