@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
@@ -1,7 +1,103 @@
1
1
  import { APIResource } from "../core/resource.js";
2
2
  import * as IntentsAPI from "./intents.js";
3
+ import * as KeyQuorumsAPI from "./key-quorums.js";
4
+ import * as PoliciesAPI from "./policies.js";
5
+ import * as SharedAPI from "./shared.js";
6
+ import * as WalletsAPI from "./wallets/wallets.js";
3
7
  export declare class Intents extends APIResource {
4
8
  }
9
+ /**
10
+ * Type of intent.
11
+ */
12
+ export type IntentType = 'KEY_QUORUM' | 'POLICY' | 'RULE' | 'RPC' | 'TRANSFER' | 'WALLET';
13
+ /**
14
+ * Current status of an intent.
15
+ */
16
+ export type IntentStatus = 'pending' | 'executed' | 'failed' | 'expired' | 'rejected' | 'dismissed';
17
+ /**
18
+ * Request details for an RPC intent.
19
+ */
20
+ export interface RpcIntentRequestDetails {
21
+ /**
22
+ * Request body for wallet RPC operations, discriminated by method.
23
+ */
24
+ body: WalletsAPI.WalletRpcRequestBody;
25
+ method: 'POST';
26
+ url: string;
27
+ }
28
+ /**
29
+ * Request details for a transfer intent.
30
+ */
31
+ export interface TransferIntentRequestDetails {
32
+ /**
33
+ * Request body for initiating a sponsored token transfer from an embedded wallet.
34
+ */
35
+ body: WalletsAPI.CreateTokenTransferRequest;
36
+ method: 'POST';
37
+ url: string;
38
+ }
39
+ /**
40
+ * Request details for a policy intent.
41
+ */
42
+ export interface PolicyIntentRequestDetails {
43
+ body: PolicyIntentRequestDetails.Body;
44
+ method: 'PATCH';
45
+ url: string;
46
+ }
47
+ export declare namespace PolicyIntentRequestDetails {
48
+ interface Body {
49
+ /**
50
+ * Name to assign to policy.
51
+ */
52
+ name?: string;
53
+ /**
54
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
55
+ * null to remove the current owner.
56
+ */
57
+ owner?: SharedAPI.OwnerInput | null;
58
+ /**
59
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
60
+ * not specify an owner.
61
+ */
62
+ owner_id?: SharedAPI.OwnerIDInput | null;
63
+ rules?: Array<PoliciesAPI.PolicyRuleRequestBody>;
64
+ }
65
+ }
66
+ /**
67
+ * Request details for creating a rule via intent.
68
+ */
69
+ export interface RuleIntentCreateRequestDetails {
70
+ /**
71
+ * The rules that apply to each method the policy covers.
72
+ */
73
+ body: PoliciesAPI.PolicyRuleRequestBody;
74
+ method: 'POST';
75
+ url: string;
76
+ }
77
+ /**
78
+ * Request details for updating a rule via intent.
79
+ */
80
+ export interface RuleIntentUpdateRequestDetails {
81
+ /**
82
+ * The rules that apply to each method the policy covers.
83
+ */
84
+ body: PoliciesAPI.PolicyRuleRequestBody;
85
+ method: 'PATCH';
86
+ url: string;
87
+ }
88
+ /**
89
+ * Request details for deleting a rule via intent.
90
+ */
91
+ export interface RuleIntentDeleteRequestDetails {
92
+ method: 'DELETE';
93
+ url: string;
94
+ body?: unknown;
95
+ }
96
+ /**
97
+ * The original rule request. Method is POST (create), PATCH (update), or DELETE
98
+ * (delete)
99
+ */
100
+ export type RuleIntentRequestDetails = RuleIntentCreateRequestDetails | RuleIntentUpdateRequestDetails | RuleIntentDeleteRequestDetails;
5
101
  /**
6
102
  * A leaf member (user or key) of a nested key quorum in an intent authorization.
7
103
  */
@@ -9,33 +105,25 @@ export type IntentAuthorizationKeyQuorumMember = IntentAuthorizationKeyQuorumMem
9
105
  export declare namespace IntentAuthorizationKeyQuorumMember {
10
106
  interface UserMember {
11
107
  /**
12
- * Whether this member has signed the intent
108
+ * Unix timestamp when this member signed, or null if not yet signed.
13
109
  */
14
- has_signed: boolean;
110
+ signed_at: number | null;
15
111
  type: 'user';
16
112
  /**
17
113
  * User ID of the key quorum member
18
114
  */
19
115
  user_id: string;
20
- /**
21
- * Display name for the user (email, etc)
22
- */
23
- display_name?: string;
24
116
  }
25
117
  interface KeyMember {
26
- /**
27
- * Whether this key has signed the intent
28
- */
29
- has_signed: boolean;
30
118
  /**
31
119
  * Public key of the key quorum member
32
120
  */
33
121
  public_key: string;
34
- type: 'key';
35
122
  /**
36
- * Display name for the key (if any)
123
+ * Unix timestamp when this member signed, or null if not yet signed.
37
124
  */
38
- display_name?: string;
125
+ signed_at: number | null;
126
+ type: 'key';
39
127
  }
40
128
  }
41
129
  /**
@@ -46,39 +134,27 @@ export type IntentAuthorizationMember = IntentAuthorizationMember.UserMember | I
46
134
  export declare namespace IntentAuthorizationMember {
47
135
  interface UserMember {
48
136
  /**
49
- * Whether this member has signed the intent
137
+ * Unix timestamp when this member signed, or null if not yet signed.
50
138
  */
51
- has_signed: boolean;
139
+ signed_at: number | null;
52
140
  type: 'user';
53
141
  /**
54
142
  * User ID of the key quorum member
55
143
  */
56
144
  user_id: string;
57
- /**
58
- * Display name for the user (email, etc)
59
- */
60
- display_name?: string;
61
145
  }
62
146
  interface KeyMember {
63
- /**
64
- * Whether this key has signed the intent
65
- */
66
- has_signed: boolean;
67
147
  /**
68
148
  * Public key of the key quorum member
69
149
  */
70
150
  public_key: string;
71
- type: 'key';
72
151
  /**
73
- * Display name for the key (if any)
152
+ * Unix timestamp when this member signed, or null if not yet signed.
74
153
  */
75
- display_name?: string;
154
+ signed_at: number | null;
155
+ type: 'key';
76
156
  }
77
157
  interface KeyQuorumMember {
78
- /**
79
- * Whether this child key quorum has fulfilled its threshold
80
- */
81
- has_signed: boolean;
82
158
  /**
83
159
  * ID of the child key quorum member
84
160
  */
@@ -91,6 +167,10 @@ export declare namespace IntentAuthorizationMember {
91
167
  * Number of signatures required from this child quorum
92
168
  */
93
169
  threshold: number;
170
+ /**
171
+ * Whether this child key quorum has met its signature threshold
172
+ */
173
+ threshold_met: boolean;
94
174
  type: 'key_quorum';
95
175
  /**
96
176
  * Display name for the child key quorum (if any)
@@ -98,7 +178,342 @@ export declare namespace IntentAuthorizationMember {
98
178
  display_name?: string;
99
179
  }
100
180
  }
181
+ /**
182
+ * Authorization quorum for an intent
183
+ */
184
+ export interface IntentAuthorization {
185
+ /**
186
+ * Members in this authorization quorum
187
+ */
188
+ members: Array<IntentAuthorizationMember>;
189
+ /**
190
+ * Number of signatures required to satisfy this quorum
191
+ */
192
+ threshold: number;
193
+ /**
194
+ * Display name of the key quorum
195
+ */
196
+ display_name?: string;
197
+ }
198
+ /**
199
+ * Common fields shared by all intent response types.
200
+ */
201
+ export interface BaseIntentResponse {
202
+ /**
203
+ * Detailed authorization information including key quorum members, thresholds, and
204
+ * signature status
205
+ */
206
+ authorization_details: Array<IntentAuthorization>;
207
+ /**
208
+ * Unix timestamp when the intent was created
209
+ */
210
+ created_at: number;
211
+ /**
212
+ * Display name of the user who created the intent
213
+ */
214
+ created_by_display_name: string;
215
+ /**
216
+ * Whether this intent has a custom expiry time set by the client. If false, the
217
+ * intent expires after a default duration.
218
+ */
219
+ custom_expiry: boolean;
220
+ /**
221
+ * Unix timestamp when the intent expires
222
+ */
223
+ expires_at: number;
224
+ /**
225
+ * Unique ID for the intent
226
+ */
227
+ intent_id: string;
228
+ /**
229
+ * ID of the resource being modified (wallet_id, policy_id, etc)
230
+ */
231
+ resource_id: string;
232
+ /**
233
+ * Current status of an intent.
234
+ */
235
+ status: IntentStatus;
236
+ /**
237
+ * ID of the user who created the intent. If undefined, the intent was created
238
+ * using the app secret
239
+ */
240
+ created_by_id?: string;
241
+ /**
242
+ * Human-readable reason for dismissal, present when status is 'dismissed'
243
+ */
244
+ dismissal_reason?: string;
245
+ /**
246
+ * Unix timestamp when the intent was dismissed, present when status is 'dismissed'
247
+ */
248
+ dismissed_at?: number;
249
+ /**
250
+ * Unix timestamp when the intent was rejected, present when status is 'rejected'
251
+ */
252
+ rejected_at?: number;
253
+ }
254
+ /**
255
+ * Common fields for intent action execution results.
256
+ */
257
+ export interface BaseActionResult {
258
+ /**
259
+ * Unix timestamp when the action was executed
260
+ */
261
+ executed_at: number;
262
+ /**
263
+ * HTTP status code from the action execution
264
+ */
265
+ status_code: number;
266
+ /**
267
+ * Display name of the key quorum that authorized execution
268
+ */
269
+ authorized_by_display_name?: string;
270
+ /**
271
+ * ID of the key quorum that authorized execution
272
+ */
273
+ authorized_by_id?: string;
274
+ }
275
+ /**
276
+ * Response for an RPC intent
277
+ */
278
+ export interface RpcIntentResponse extends BaseIntentResponse {
279
+ intent_type: 'RPC';
280
+ /**
281
+ * The original RPC request that would be sent to the wallet endpoint
282
+ */
283
+ request_details: RpcIntentResponse.RequestDetails;
284
+ /**
285
+ * Result of RPC execution (only present if status is 'executed' or 'failed')
286
+ */
287
+ action_result?: BaseActionResult;
288
+ /**
289
+ * A wallet managed by Privy's wallet infrastructure.
290
+ */
291
+ current_resource_data?: WalletsAPI.Wallet;
292
+ }
293
+ export declare namespace RpcIntentResponse {
294
+ /**
295
+ * The original RPC request that would be sent to the wallet endpoint
296
+ */
297
+ interface RequestDetails {
298
+ /**
299
+ * Request body for wallet RPC operations, discriminated by method.
300
+ */
301
+ body: WalletsAPI.WalletRpcRequestBody;
302
+ method: 'POST';
303
+ url: string;
304
+ }
305
+ }
306
+ /**
307
+ * Response for a transfer intent
308
+ */
309
+ export interface TransferIntentResponse extends BaseIntentResponse {
310
+ intent_type: 'TRANSFER';
311
+ /**
312
+ * The original transfer request that would be sent to the wallet transfer endpoint
313
+ */
314
+ request_details: TransferIntentResponse.RequestDetails;
315
+ /**
316
+ * Result of transfer execution (only present if intent status is 'executed' or
317
+ * 'failed')
318
+ */
319
+ action_result?: BaseActionResult;
320
+ /**
321
+ * A wallet managed by Privy's wallet infrastructure.
322
+ */
323
+ current_resource_data?: WalletsAPI.Wallet;
324
+ }
325
+ export declare namespace TransferIntentResponse {
326
+ /**
327
+ * The original transfer request that would be sent to the wallet transfer endpoint
328
+ */
329
+ interface RequestDetails {
330
+ /**
331
+ * Request body for initiating a sponsored token transfer from an embedded wallet.
332
+ */
333
+ body: WalletsAPI.CreateTokenTransferRequest;
334
+ method: 'POST';
335
+ url: string;
336
+ }
337
+ }
338
+ /**
339
+ * Response for a wallet intent
340
+ */
341
+ export interface WalletIntentResponse extends BaseIntentResponse {
342
+ intent_type: 'WALLET';
343
+ /**
344
+ * The original wallet update request that would be sent to the wallet endpoint
345
+ */
346
+ request_details: WalletIntentResponse.RequestDetails;
347
+ /**
348
+ * Result of wallet update execution (only present if status is 'executed' or
349
+ * 'failed')
350
+ */
351
+ action_result?: BaseActionResult;
352
+ /**
353
+ * A wallet managed by Privy's wallet infrastructure.
354
+ */
355
+ current_resource_data?: WalletsAPI.Wallet;
356
+ }
357
+ export declare namespace WalletIntentResponse {
358
+ /**
359
+ * The original wallet update request that would be sent to the wallet endpoint
360
+ */
361
+ interface RequestDetails {
362
+ body: RequestDetails.Body;
363
+ method: 'PATCH';
364
+ url: string;
365
+ }
366
+ namespace RequestDetails {
367
+ interface Body {
368
+ /**
369
+ * Additional signers for the wallet.
370
+ */
371
+ additional_signers?: WalletsAPI.AdditionalSignerInput;
372
+ authorization_key_ids?: Array<string>;
373
+ authorization_threshold?: number;
374
+ display_name?: string | null;
375
+ /**
376
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
377
+ * null to remove the current owner.
378
+ */
379
+ owner?: SharedAPI.OwnerInput | null;
380
+ /**
381
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
382
+ * not specify an owner.
383
+ */
384
+ owner_id?: SharedAPI.OwnerIDInput | null;
385
+ /**
386
+ * An optional list of up to one policy ID to enforce on the wallet.
387
+ */
388
+ policy_ids?: WalletsAPI.PolicyInput;
389
+ }
390
+ }
391
+ }
392
+ /**
393
+ * Response for a policy intent
394
+ */
395
+ export interface PolicyIntentResponse extends BaseIntentResponse {
396
+ intent_type: 'POLICY';
397
+ /**
398
+ * The original policy update request that would be sent to the policy endpoint
399
+ */
400
+ request_details: PolicyIntentResponse.RequestDetails;
401
+ /**
402
+ * Result of policy update execution (only present if status is 'executed' or
403
+ * 'failed')
404
+ */
405
+ action_result?: BaseActionResult;
406
+ /**
407
+ * A policy for controlling wallet operations.
408
+ */
409
+ current_resource_data?: PoliciesAPI.Policy;
410
+ }
411
+ export declare namespace PolicyIntentResponse {
412
+ /**
413
+ * The original policy update request that would be sent to the policy endpoint
414
+ */
415
+ interface RequestDetails {
416
+ body: RequestDetails.Body;
417
+ method: 'PATCH';
418
+ url: string;
419
+ }
420
+ namespace RequestDetails {
421
+ interface Body {
422
+ /**
423
+ * Name to assign to policy.
424
+ */
425
+ name?: string;
426
+ /**
427
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
428
+ * null to remove the current owner.
429
+ */
430
+ owner?: SharedAPI.OwnerInput | null;
431
+ /**
432
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
433
+ * not specify an owner.
434
+ */
435
+ owner_id?: SharedAPI.OwnerIDInput | null;
436
+ rules?: Array<PoliciesAPI.PolicyRuleRequestBody>;
437
+ }
438
+ }
439
+ }
440
+ /**
441
+ * Response for a key quorum intent
442
+ */
443
+ export interface KeyQuorumIntentResponse extends BaseIntentResponse {
444
+ intent_type: 'KEY_QUORUM';
445
+ /**
446
+ * The original key quorum update request that would be sent to the key quorum
447
+ * endpoint
448
+ */
449
+ request_details: KeyQuorumIntentResponse.RequestDetails;
450
+ /**
451
+ * Result of key quorum update execution (only present if status is 'executed' or
452
+ * 'failed')
453
+ */
454
+ action_result?: BaseActionResult;
455
+ /**
456
+ * A key quorum for authorizing wallet operations.
457
+ */
458
+ current_resource_data?: KeyQuorumsAPI.KeyQuorum;
459
+ }
460
+ export declare namespace KeyQuorumIntentResponse {
461
+ /**
462
+ * The original key quorum update request that would be sent to the key quorum
463
+ * endpoint
464
+ */
465
+ interface RequestDetails {
466
+ /**
467
+ * Request input for updating an existing key quorum.
468
+ */
469
+ body: KeyQuorumsAPI.KeyQuorumUpdateRequestBody;
470
+ method: 'PATCH';
471
+ url: string;
472
+ }
473
+ }
474
+ /**
475
+ * Response for a rule intent
476
+ */
477
+ export interface RuleIntentResponse extends BaseIntentResponse {
478
+ intent_type: 'RULE';
479
+ /**
480
+ * The original rule request. Method is POST (create), PATCH (update), or DELETE
481
+ * (delete)
482
+ */
483
+ request_details: RuleIntentRequestDetails;
484
+ /**
485
+ * Result of rule execution (only present if status is 'executed' or 'failed')
486
+ */
487
+ action_result?: BaseActionResult;
488
+ /**
489
+ * A rule that defines the conditions and action to take if the conditions are
490
+ * true.
491
+ */
492
+ current_resource_data?: PoliciesAPI.PolicyRuleResponse;
493
+ /**
494
+ * A policy for controlling wallet operations.
495
+ */
496
+ policy?: PoliciesAPI.Policy;
497
+ }
498
+ /**
499
+ * Response for an intent object
500
+ */
501
+ export type IntentResponse = RpcIntentResponse | TransferIntentResponse | WalletIntentResponse | PolicyIntentResponse | RuleIntentResponse | KeyQuorumIntentResponse;
502
+ /**
503
+ * Headers required to create an intent.
504
+ */
505
+ export interface IntentCreationHeaders {
506
+ /**
507
+ * ID of your Privy app.
508
+ */
509
+ 'privy-app-id': string;
510
+ /**
511
+ * Request expiry. Value is a Unix timestamp in milliseconds representing the
512
+ * deadline by which the request must be processed.
513
+ */
514
+ 'privy-request-expiry'?: string;
515
+ }
101
516
  export declare namespace Intents {
102
- export { type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, };
517
+ export { type IntentType as IntentType, type IntentStatus as IntentStatus, type RpcIntentRequestDetails as RpcIntentRequestDetails, type TransferIntentRequestDetails as TransferIntentRequestDetails, type PolicyIntentRequestDetails as PolicyIntentRequestDetails, type RuleIntentCreateRequestDetails as RuleIntentCreateRequestDetails, type RuleIntentUpdateRequestDetails as RuleIntentUpdateRequestDetails, type RuleIntentDeleteRequestDetails as RuleIntentDeleteRequestDetails, type RuleIntentRequestDetails as RuleIntentRequestDetails, type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, type IntentAuthorization as IntentAuthorization, type BaseIntentResponse as BaseIntentResponse, type BaseActionResult as BaseActionResult, type RpcIntentResponse as RpcIntentResponse, type TransferIntentResponse as TransferIntentResponse, type WalletIntentResponse as WalletIntentResponse, type PolicyIntentResponse as PolicyIntentResponse, type KeyQuorumIntentResponse as KeyQuorumIntentResponse, type RuleIntentResponse as RuleIntentResponse, type IntentResponse as IntentResponse, type IntentCreationHeaders as IntentCreationHeaders, };
103
518
  }
104
519
  //# sourceMappingURL=intents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAC1C,kCAAkC,CAAC,UAAU,GAC7C,kCAAkC,CAAC,SAAS,CAAC;AAEjD,yBAAiB,kCAAkC,CAAC;IAClD,UAAiB,UAAU;QACzB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,SAAS;QACxB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,UAAU,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pB,kBAAkB,GAClB,uBAAuB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"intents.js","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
1
+ {"version":3,"file":"intents.js","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAO/C,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"intents.mjs","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
1
+ {"version":3,"file":"intents.mjs","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}