@privy-io/api-types 0.7.0 → 0.9.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 (188) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/client.d.mts +39 -30
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +39 -30
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/env.js +2 -2
  11. package/internal/utils/env.js.map +1 -1
  12. package/internal/utils/env.mjs +2 -2
  13. package/internal/utils/env.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/accounts.d.mts +79 -106
  16. package/resources/accounts.d.mts.map +1 -1
  17. package/resources/accounts.d.ts +79 -106
  18. package/resources/accounts.d.ts.map +1 -1
  19. package/resources/accounts.js.map +1 -1
  20. package/resources/accounts.mjs.map +1 -1
  21. package/resources/aggregations.d.mts +18 -392
  22. package/resources/aggregations.d.mts.map +1 -1
  23. package/resources/aggregations.d.ts +18 -392
  24. package/resources/aggregations.d.ts.map +1 -1
  25. package/resources/aggregations.js.map +1 -1
  26. package/resources/aggregations.mjs.map +1 -1
  27. package/resources/apps.d.mts +154 -71
  28. package/resources/apps.d.mts.map +1 -1
  29. package/resources/apps.d.ts +154 -71
  30. package/resources/apps.d.ts.map +1 -1
  31. package/resources/apps.js.map +1 -1
  32. package/resources/apps.mjs.map +1 -1
  33. package/resources/client-auth.d.mts +796 -427
  34. package/resources/client-auth.d.mts.map +1 -1
  35. package/resources/client-auth.d.ts +796 -427
  36. package/resources/client-auth.d.ts.map +1 -1
  37. package/resources/client-auth.js.map +1 -1
  38. package/resources/client-auth.mjs.map +1 -1
  39. package/resources/cross-app.d.mts +14 -13
  40. package/resources/cross-app.d.mts.map +1 -1
  41. package/resources/cross-app.d.ts +14 -13
  42. package/resources/cross-app.d.ts.map +1 -1
  43. package/resources/embedded-wallets.d.mts +167 -83
  44. package/resources/embedded-wallets.d.mts.map +1 -1
  45. package/resources/embedded-wallets.d.ts +167 -83
  46. package/resources/embedded-wallets.d.ts.map +1 -1
  47. package/resources/embedded-wallets.js.map +1 -1
  48. package/resources/embedded-wallets.mjs.map +1 -1
  49. package/resources/funding.d.mts +150 -64
  50. package/resources/funding.d.mts.map +1 -1
  51. package/resources/funding.d.ts +150 -64
  52. package/resources/funding.d.ts.map +1 -1
  53. package/resources/funding.js.map +1 -1
  54. package/resources/funding.mjs.map +1 -1
  55. package/resources/index.d.mts +18 -15
  56. package/resources/index.d.mts.map +1 -1
  57. package/resources/index.d.ts +18 -15
  58. package/resources/index.d.ts.map +1 -1
  59. package/resources/index.js +7 -1
  60. package/resources/index.js.map +1 -1
  61. package/resources/index.mjs +3 -0
  62. package/resources/index.mjs.map +1 -1
  63. package/resources/intents.d.mts +224 -1757
  64. package/resources/intents.d.mts.map +1 -1
  65. package/resources/intents.d.ts +224 -1757
  66. package/resources/intents.d.ts.map +1 -1
  67. package/resources/intents.js.map +1 -1
  68. package/resources/intents.mjs.map +1 -1
  69. package/resources/key-quorums.d.mts +74 -26
  70. package/resources/key-quorums.d.mts.map +1 -1
  71. package/resources/key-quorums.d.ts +74 -26
  72. package/resources/key-quorums.d.ts.map +1 -1
  73. package/resources/key-quorums.js +8 -8
  74. package/resources/key-quorums.js.map +1 -1
  75. package/resources/key-quorums.mjs +8 -8
  76. package/resources/key-quorums.mjs.map +1 -1
  77. package/resources/kraken-embed.d.mts +52 -1
  78. package/resources/kraken-embed.d.mts.map +1 -1
  79. package/resources/kraken-embed.d.ts +52 -1
  80. package/resources/kraken-embed.d.ts.map +1 -1
  81. package/resources/policies.d.mts +512 -992
  82. package/resources/policies.d.mts.map +1 -1
  83. package/resources/policies.d.ts +512 -992
  84. package/resources/policies.d.ts.map +1 -1
  85. package/resources/policies.js +48 -41
  86. package/resources/policies.js.map +1 -1
  87. package/resources/policies.mjs +48 -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 +150 -98
  106. package/resources/transactions.d.mts.map +1 -1
  107. package/resources/transactions.d.ts +150 -98
  108. package/resources/transactions.d.ts.map +1 -1
  109. package/resources/users.d.mts +207 -240
  110. package/resources/users.d.mts.map +1 -1
  111. package/resources/users.d.ts +207 -240
  112. package/resources/users.d.ts.map +1 -1
  113. package/resources/users.js.map +1 -1
  114. package/resources/users.mjs.map +1 -1
  115. package/resources/wallet-actions.d.mts +439 -0
  116. package/resources/wallet-actions.d.mts.map +1 -0
  117. package/resources/wallet-actions.d.ts +439 -0
  118. package/resources/wallet-actions.d.ts.map +1 -0
  119. package/resources/wallet-actions.js +9 -0
  120. package/resources/wallet-actions.js.map +1 -0
  121. package/resources/wallet-actions.mjs +5 -0
  122. package/resources/wallet-actions.mjs.map +1 -0
  123. package/resources/wallets/balance.d.mts +2 -1
  124. package/resources/wallets/balance.d.mts.map +1 -1
  125. package/resources/wallets/balance.d.ts +2 -1
  126. package/resources/wallets/balance.d.ts.map +1 -1
  127. package/resources/wallets/balance.js.map +1 -1
  128. package/resources/wallets/balance.mjs.map +1 -1
  129. package/resources/wallets/index.d.mts +1 -1
  130. package/resources/wallets/index.d.mts.map +1 -1
  131. package/resources/wallets/index.d.ts +1 -1
  132. package/resources/wallets/index.d.ts.map +1 -1
  133. package/resources/wallets/index.js.map +1 -1
  134. package/resources/wallets/index.mjs.map +1 -1
  135. package/resources/wallets/transactions.d.mts +11 -30
  136. package/resources/wallets/transactions.d.mts.map +1 -1
  137. package/resources/wallets/transactions.d.ts +11 -30
  138. package/resources/wallets/transactions.d.ts.map +1 -1
  139. package/resources/wallets/transactions.js.map +1 -1
  140. package/resources/wallets/transactions.mjs.map +1 -1
  141. package/resources/wallets/wallets.d.mts +2435 -923
  142. package/resources/wallets/wallets.d.mts.map +1 -1
  143. package/resources/wallets/wallets.d.ts +2435 -923
  144. package/resources/wallets/wallets.d.ts.map +1 -1
  145. package/resources/wallets/wallets.js +24 -11
  146. package/resources/wallets/wallets.js.map +1 -1
  147. package/resources/wallets/wallets.mjs +24 -11
  148. package/resources/wallets/wallets.mjs.map +1 -1
  149. package/resources/webhooks.d.mts +1296 -186
  150. package/resources/webhooks.d.mts.map +1 -1
  151. package/resources/webhooks.d.ts +1296 -186
  152. package/resources/webhooks.d.ts.map +1 -1
  153. package/resources/webhooks.js.map +1 -1
  154. package/resources/webhooks.mjs.map +1 -1
  155. package/resources/yield.d.mts +25 -1
  156. package/resources/yield.d.mts.map +1 -1
  157. package/resources/yield.d.ts +25 -1
  158. package/resources/yield.d.ts.map +1 -1
  159. package/src/client.ts +869 -92
  160. package/src/internal/utils/env.ts +2 -2
  161. package/src/resources/accounts.ts +93 -120
  162. package/src/resources/aggregations.ts +18 -702
  163. package/src/resources/apps.ts +211 -111
  164. package/src/resources/client-auth.ts +1361 -896
  165. package/src/resources/cross-app.ts +19 -15
  166. package/src/resources/embedded-wallets.ts +219 -123
  167. package/src/resources/funding.ts +263 -173
  168. package/src/resources/index.ts +447 -65
  169. package/src/resources/intents.ts +370 -3100
  170. package/src/resources/key-quorums.ts +100 -32
  171. package/src/resources/kraken-embed.ts +105 -0
  172. package/src/resources/policies.ts +648 -1494
  173. package/src/resources/shared.ts +79 -0
  174. package/src/resources/swaps.ts +136 -0
  175. package/src/resources/transactions.ts +169 -102
  176. package/src/resources/users.ts +676 -729
  177. package/src/resources/wallet-actions.ts +573 -0
  178. package/src/resources/wallets/balance.ts +2 -1
  179. package/src/resources/wallets/index.ts +156 -17
  180. package/src/resources/wallets/transactions.ts +12 -88
  181. package/src/resources/wallets/wallets.ts +3162 -1109
  182. package/src/resources/webhooks.ts +1609 -229
  183. package/src/resources/yield.ts +29 -0
  184. package/src/version.ts +1 -1
  185. package/version.d.mts +1 -1
  186. package/version.d.ts +1 -1
  187. package/version.js +1 -1
  188. package/version.mjs +1 -1
@@ -15,123 +15,175 @@ export declare class Transactions extends APIResource {
15
15
  * );
16
16
  * ```
17
17
  */
18
- get(transactionID: string, options?: RequestOptions): APIPromise<TransactionGetResponse>;
18
+ get(transactionID: string, options?: RequestOptions): APIPromise<Transaction>;
19
19
  }
20
20
  /**
21
21
  * The request body for scanning a transaction.
22
22
  */
23
23
  export interface TransactionScanningRequestBody {
24
24
  chain_id: string;
25
- metadata: TransactionScanningRequestBody.Metadata;
26
- request: TransactionScanningRequestBody.Request;
27
- }
28
- export declare namespace TransactionScanningRequestBody {
29
- interface Metadata {
30
- domain: string;
31
- }
32
- interface Request {
33
- method: string;
34
- params: Array<unknown>;
35
- }
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;
36
33
  }
37
34
  /**
38
35
  * The response from scanning a transaction.
39
36
  */
40
37
  export interface TransactionScanningResponseBody {
41
- simulation: TransactionScanningResponseBody.UnionMember0 | TransactionScanningResponseBody.UnionMember1;
42
- validation: TransactionScanningResponseBody.UnionMember0 | TransactionScanningResponseBody.UnionMember1;
43
- }
44
- export declare namespace TransactionScanningResponseBody {
45
- interface UnionMember0 {
46
- error: string;
47
- status: 'Error';
48
- }
49
- interface UnionMember1 {
50
- assets_diffs: Array<UnionMember1.AssetsDiff>;
51
- exposures: Array<UnionMember1.Exposure>;
52
- status: 'Success';
53
- params?: UnionMember1.Params;
54
- }
55
- namespace UnionMember1 {
56
- interface AssetsDiff {
57
- asset: AssetsDiff.Asset;
58
- in: Array<AssetsDiff.In>;
59
- out: Array<AssetsDiff.Out>;
60
- }
61
- namespace AssetsDiff {
62
- interface Asset {
63
- decimals?: number;
64
- logo_url?: string;
65
- name?: string;
66
- symbol?: string;
67
- type?: string;
68
- }
69
- interface In {
70
- usd_price?: string;
71
- value?: string;
72
- }
73
- interface Out {
74
- usd_price?: string;
75
- value?: string;
76
- }
77
- }
78
- interface Exposure {
79
- asset: Exposure.Asset;
80
- spenders: {
81
- [key: string]: Exposure.Spenders;
82
- };
83
- }
84
- namespace Exposure {
85
- interface Asset {
86
- decimals?: number;
87
- logo_url?: string;
88
- name?: string;
89
- symbol?: string;
90
- type?: string;
91
- }
92
- interface Spenders {
93
- usd_price?: string;
94
- value?: string;
95
- }
96
- }
97
- interface Params {
98
- block_tag?: string;
99
- calldata?: Params.Calldata;
100
- chain?: string;
101
- data?: string;
102
- from?: string;
103
- gas?: string;
104
- gas_price?: string;
105
- to?: string;
106
- value?: string;
107
- }
108
- namespace Params {
109
- interface Calldata {
110
- function_selector: string;
111
- function_declaration?: string;
112
- function_signature?: string;
113
- }
114
- }
115
- }
116
- interface UnionMember0 {
117
- error: string;
118
- status: 'Error';
119
- }
120
- interface UnionMember1 {
121
- result_type: string;
122
- status: 'Success';
123
- }
124
- }
125
- export interface TransactionGetResponse {
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;
46
+ }
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 transaction from a Privy wallet.
168
+ */
169
+ export interface Transaction {
126
170
  id: string;
127
171
  caip2: string;
128
172
  created_at: number;
129
173
  status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending';
130
174
  transaction_hash: string | null;
131
175
  wallet_id: string;
176
+ reference_id?: string | null;
132
177
  sponsored?: boolean;
178
+ user_operation_hash?: string;
179
+ }
180
+ /**
181
+ * A list of transactions.
182
+ */
183
+ export interface TransactionList {
184
+ transactions: Array<Transaction>;
133
185
  }
134
186
  export declare namespace Transactions {
135
- export { type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionGetResponse as TransactionGetResponse, };
187
+ 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 Transaction as Transaction, type TransactionList as TransactionList, };
136
188
  }
137
189
  //# sourceMappingURL=transactions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,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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