@privy-io/api-types 0.9.0 → 0.10.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 (153) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/client.d.mts +33 -30
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +33 -30
  5. package/client.d.ts.map +1 -1
  6. package/client.js +22 -8
  7. package/client.js.map +1 -1
  8. package/client.mjs +23 -9
  9. package/client.mjs.map +1 -1
  10. package/internal/types.d.mts +6 -6
  11. package/internal/types.d.mts.map +1 -1
  12. package/internal/types.d.ts +6 -6
  13. package/internal/types.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/accounts.d.mts +128 -86
  16. package/resources/accounts.d.mts.map +1 -1
  17. package/resources/accounts.d.ts +128 -86
  18. package/resources/accounts.d.ts.map +1 -1
  19. package/resources/aggregations.d.mts +43 -43
  20. package/resources/aggregations.d.mts.map +1 -1
  21. package/resources/aggregations.d.ts +43 -43
  22. package/resources/aggregations.d.ts.map +1 -1
  23. package/resources/apps.d.mts +169 -135
  24. package/resources/apps.d.mts.map +1 -1
  25. package/resources/apps.d.ts +169 -135
  26. package/resources/apps.d.ts.map +1 -1
  27. package/resources/client-auth.d.mts +646 -644
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +646 -644
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/embedded-wallets.d.mts +114 -114
  32. package/resources/embedded-wallets.d.mts.map +1 -1
  33. package/resources/embedded-wallets.d.ts +114 -114
  34. package/resources/embedded-wallets.d.ts.map +1 -1
  35. package/resources/funding.d.mts +42 -42
  36. package/resources/funding.d.mts.map +1 -1
  37. package/resources/funding.d.ts +42 -42
  38. package/resources/funding.d.ts.map +1 -1
  39. package/resources/index.d.mts +19 -18
  40. package/resources/index.d.mts.map +1 -1
  41. package/resources/index.d.ts +19 -18
  42. package/resources/index.d.ts.map +1 -1
  43. package/resources/index.js +3 -1
  44. package/resources/index.js.map +1 -1
  45. package/resources/index.mjs +2 -1
  46. package/resources/index.mjs.map +1 -1
  47. package/resources/intents.d.mts +269 -265
  48. package/resources/intents.d.mts.map +1 -1
  49. package/resources/intents.d.ts +269 -265
  50. package/resources/intents.d.ts.map +1 -1
  51. package/resources/key-quorums.d.mts +20 -20
  52. package/resources/key-quorums.d.mts.map +1 -1
  53. package/resources/key-quorums.d.ts +20 -20
  54. package/resources/key-quorums.d.ts.map +1 -1
  55. package/resources/kraken-embed.d.mts +12 -20
  56. package/resources/kraken-embed.d.mts.map +1 -1
  57. package/resources/kraken-embed.d.ts +12 -20
  58. package/resources/kraken-embed.d.ts.map +1 -1
  59. package/resources/organizations.d.mts +65 -0
  60. package/resources/organizations.d.mts.map +1 -0
  61. package/resources/organizations.d.ts +65 -0
  62. package/resources/organizations.d.ts.map +1 -0
  63. package/resources/organizations.js +9 -0
  64. package/resources/organizations.js.map +1 -0
  65. package/resources/organizations.mjs +5 -0
  66. package/resources/organizations.mjs.map +1 -0
  67. package/resources/policies.d.mts +258 -240
  68. package/resources/policies.d.mts.map +1 -1
  69. package/resources/policies.d.ts +258 -240
  70. package/resources/policies.d.ts.map +1 -1
  71. package/resources/shared.d.mts +28 -28
  72. package/resources/shared.d.mts.map +1 -1
  73. package/resources/shared.d.ts +28 -28
  74. package/resources/shared.d.ts.map +1 -1
  75. package/resources/swaps.d.mts +6 -9
  76. package/resources/swaps.d.mts.map +1 -1
  77. package/resources/swaps.d.ts +6 -9
  78. package/resources/swaps.d.ts.map +1 -1
  79. package/resources/swaps.js.map +1 -1
  80. package/resources/swaps.mjs.map +1 -1
  81. package/resources/transactions.d.mts +53 -53
  82. package/resources/transactions.d.mts.map +1 -1
  83. package/resources/transactions.d.ts +53 -53
  84. package/resources/transactions.d.ts.map +1 -1
  85. package/resources/users.d.mts +468 -459
  86. package/resources/users.d.mts.map +1 -1
  87. package/resources/users.d.ts +468 -459
  88. package/resources/users.d.ts.map +1 -1
  89. package/resources/wallet-actions.d.mts +302 -145
  90. package/resources/wallet-actions.d.mts.map +1 -1
  91. package/resources/wallet-actions.d.ts +302 -145
  92. package/resources/wallet-actions.d.ts.map +1 -1
  93. package/resources/wallets/index.d.mts +1 -1
  94. package/resources/wallets/index.d.mts.map +1 -1
  95. package/resources/wallets/index.d.ts +1 -1
  96. package/resources/wallets/index.d.ts.map +1 -1
  97. package/resources/wallets/index.js.map +1 -1
  98. package/resources/wallets/index.mjs.map +1 -1
  99. package/resources/wallets/transactions.d.mts +7 -2
  100. package/resources/wallets/transactions.d.mts.map +1 -1
  101. package/resources/wallets/transactions.d.ts +7 -2
  102. package/resources/wallets/transactions.d.ts.map +1 -1
  103. package/resources/wallets/transactions.js +1 -1
  104. package/resources/wallets/transactions.mjs +1 -1
  105. package/resources/wallets/wallets.d.mts +1424 -1227
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +1424 -1227
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js +4 -1
  110. package/resources/wallets/wallets.js.map +1 -1
  111. package/resources/wallets/wallets.mjs +4 -1
  112. package/resources/wallets/wallets.mjs.map +1 -1
  113. package/resources/webhooks.d.mts +935 -877
  114. package/resources/webhooks.d.mts.map +1 -1
  115. package/resources/webhooks.d.ts +935 -877
  116. package/resources/webhooks.d.ts.map +1 -1
  117. package/resources/yield.d.mts +157 -157
  118. package/resources/yield.d.mts.map +1 -1
  119. package/resources/yield.d.ts +157 -157
  120. package/resources/yield.d.ts.map +1 -1
  121. package/src/client.ts +594 -516
  122. package/src/internal/types.ts +6 -8
  123. package/src/resources/accounts.ts +157 -103
  124. package/src/resources/aggregations.ts +55 -55
  125. package/src/resources/apps.ts +221 -178
  126. package/src/resources/client-auth.ts +887 -887
  127. package/src/resources/embedded-wallets.ts +150 -150
  128. package/src/resources/funding.ts +66 -66
  129. package/src/resources/index.ts +504 -475
  130. package/src/resources/intents.ts +326 -322
  131. package/src/resources/key-quorums.ts +23 -23
  132. package/src/resources/kraken-embed.ts +14 -22
  133. package/src/resources/organizations.ts +82 -0
  134. package/src/resources/policies.ts +379 -352
  135. package/src/resources/shared.ts +34 -34
  136. package/src/resources/swaps.ts +5 -10
  137. package/src/resources/transactions.ts +86 -86
  138. package/src/resources/users.ts +707 -696
  139. package/src/resources/wallet-actions.ts +392 -185
  140. package/src/resources/wallets/index.ts +157 -148
  141. package/src/resources/wallets/transactions.ts +18 -3
  142. package/src/resources/wallets/wallets.ts +1937 -1686
  143. package/src/resources/webhooks.ts +1172 -1100
  144. package/src/resources/yield.ts +188 -188
  145. package/src/version.ts +1 -1
  146. package/version.d.mts +1 -1
  147. package/version.d.mts.map +1 -1
  148. package/version.d.ts +1 -1
  149. package/version.d.ts.map +1 -1
  150. package/version.js +1 -1
  151. package/version.js.map +1 -1
  152. package/version.mjs +1 -1
  153. package/version.mjs.map +1 -1
@@ -7,97 +7,99 @@ import * as WalletsAPI from "./wallets/wallets.js";
7
7
  export declare class Intents extends APIResource {
8
8
  }
9
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.
10
+ * Common fields for intent action execution results.
19
11
  */
20
- export interface RpcIntentRequestDetails {
12
+ export interface BaseActionResult {
21
13
  /**
22
- * Request body for wallet RPC operations, discriminated by method.
14
+ * Unix timestamp when the action was executed
23
15
  */
24
- body: WalletsAPI.WalletRpcRequestBody;
25
- method: 'POST';
26
- url: string;
27
- }
28
- /**
29
- * Request details for a transfer intent.
30
- */
31
- export interface TransferIntentRequestDetails {
16
+ executed_at: number;
32
17
  /**
33
- * Request body for initiating a sponsored token transfer from an embedded wallet.
18
+ * HTTP status code from the action execution
34
19
  */
35
- body: WalletsAPI.TransferRequestBody;
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 {
20
+ status_code: number;
70
21
  /**
71
- * The rules that apply to each method the policy covers.
22
+ * Display name of the key quorum that authorized execution
72
23
  */
73
- body: PoliciesAPI.PolicyRuleRequestBody;
74
- method: 'POST';
75
- url: string;
24
+ authorized_by_display_name?: string;
25
+ /**
26
+ * ID of the key quorum that authorized execution
27
+ */
28
+ authorized_by_id?: string;
76
29
  }
77
30
  /**
78
- * Request details for updating a rule via intent.
31
+ * Common fields shared by all intent response types.
79
32
  */
80
- export interface RuleIntentUpdateRequestDetails {
33
+ export interface BaseIntentResponse {
81
34
  /**
82
- * The rules that apply to each method the policy covers.
35
+ * Detailed authorization information including key quorum members, thresholds, and
36
+ * signature status
83
37
  */
84
- body: PoliciesAPI.PolicyRuleRequestBody;
85
- method: 'PATCH';
86
- url: string;
38
+ authorization_details: Array<IntentAuthorization>;
39
+ /**
40
+ * Unix timestamp when the intent was created
41
+ */
42
+ created_at: number;
43
+ /**
44
+ * Display name of the user who created the intent
45
+ */
46
+ created_by_display_name: string;
47
+ /**
48
+ * Whether this intent has a custom expiry time set by the client. If false, the
49
+ * intent expires after a default duration.
50
+ */
51
+ custom_expiry: boolean;
52
+ /**
53
+ * Unix timestamp when the intent expires
54
+ */
55
+ expires_at: number;
56
+ /**
57
+ * Unique ID for the intent
58
+ */
59
+ intent_id: string;
60
+ /**
61
+ * ID of the resource being modified (wallet_id, policy_id, etc)
62
+ */
63
+ resource_id: string;
64
+ /**
65
+ * Current status of an intent.
66
+ */
67
+ status: IntentStatus;
68
+ /**
69
+ * ID of the user who created the intent. If undefined, the intent was created
70
+ * using the app secret
71
+ */
72
+ created_by_id?: string;
73
+ /**
74
+ * Human-readable reason for dismissal, present when status is 'dismissed'
75
+ */
76
+ dismissal_reason?: string;
77
+ /**
78
+ * Unix timestamp when the intent was dismissed, present when status is 'dismissed'
79
+ */
80
+ dismissed_at?: number;
81
+ /**
82
+ * Unix timestamp when the intent was rejected, present when status is 'rejected'
83
+ */
84
+ rejected_at?: number;
87
85
  }
88
86
  /**
89
- * Request details for deleting a rule via intent.
87
+ * Authorization quorum for an intent
90
88
  */
91
- export interface RuleIntentDeleteRequestDetails {
92
- method: 'DELETE';
93
- url: string;
94
- body?: unknown;
89
+ export interface IntentAuthorization {
90
+ /**
91
+ * Members in this authorization quorum
92
+ */
93
+ members: Array<IntentAuthorizationMember>;
94
+ /**
95
+ * Number of signatures required to satisfy this quorum
96
+ */
97
+ threshold: number;
98
+ /**
99
+ * Display name of the key quorum
100
+ */
101
+ display_name?: string;
95
102
  }
96
- /**
97
- * The original rule request. Method is POST (create), PATCH (update), or DELETE
98
- * (delete)
99
- */
100
- export type RuleIntentRequestDetails = RuleIntentCreateRequestDetails | RuleIntentUpdateRequestDetails | RuleIntentDeleteRequestDetails;
101
103
  /**
102
104
  * A leaf member (user or key) of a nested key quorum in an intent authorization.
103
105
  */
@@ -179,98 +181,150 @@ export declare namespace IntentAuthorizationMember {
179
181
  }
180
182
  }
181
183
  /**
182
- * Authorization quorum for an intent
184
+ * Headers required to create an intent.
183
185
  */
184
- export interface IntentAuthorization {
185
- /**
186
- * Members in this authorization quorum
187
- */
188
- members: Array<IntentAuthorizationMember>;
186
+ export interface IntentCreationHeaders {
189
187
  /**
190
- * Number of signatures required to satisfy this quorum
188
+ * ID of your Privy app.
191
189
  */
192
- threshold: number;
190
+ 'privy-app-id': string;
193
191
  /**
194
- * Display name of the key quorum
192
+ * Request expiry. Value is a Unix timestamp in milliseconds representing the
193
+ * deadline by which the request must be processed.
195
194
  */
196
- display_name?: string;
195
+ 'privy-request-expiry'?: string;
197
196
  }
198
197
  /**
199
- * Common fields shared by all intent response types.
198
+ * Response for an intent object
200
199
  */
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;
200
+ export type IntentResponse = RpcIntentResponse | TransferIntentResponse | WalletIntentResponse | PolicyIntentResponse | RuleIntentResponse | KeyQuorumIntentResponse;
201
+ /**
202
+ * Current status of an intent.
203
+ */
204
+ export type IntentStatus = 'pending' | 'executed' | 'failed' | 'expired' | 'rejected' | 'dismissed';
205
+ /**
206
+ * Type of intent.
207
+ */
208
+ export type IntentType = 'KEY_QUORUM' | 'POLICY' | 'RULE' | 'RPC' | 'TRANSFER' | 'WALLET';
209
+ /**
210
+ * Response for a key quorum intent
211
+ */
212
+ export interface KeyQuorumIntentResponse extends BaseIntentResponse {
213
+ intent_type: 'KEY_QUORUM';
236
214
  /**
237
- * ID of the user who created the intent. If undefined, the intent was created
238
- * using the app secret
215
+ * The original key quorum update request that would be sent to the key quorum
216
+ * endpoint
239
217
  */
240
- created_by_id?: string;
218
+ request_details: KeyQuorumIntentResponse.RequestDetails;
241
219
  /**
242
- * Human-readable reason for dismissal, present when status is 'dismissed'
220
+ * Result of key quorum update execution (only present if status is 'executed' or
221
+ * 'failed')
243
222
  */
244
- dismissal_reason?: string;
223
+ action_result?: BaseActionResult;
245
224
  /**
246
- * Unix timestamp when the intent was dismissed, present when status is 'dismissed'
225
+ * A key quorum for authorizing wallet operations.
247
226
  */
248
- dismissed_at?: number;
227
+ current_resource_data?: KeyQuorumsAPI.KeyQuorum;
228
+ }
229
+ export declare namespace KeyQuorumIntentResponse {
249
230
  /**
250
- * Unix timestamp when the intent was rejected, present when status is 'rejected'
231
+ * The original key quorum update request that would be sent to the key quorum
232
+ * endpoint
251
233
  */
252
- rejected_at?: number;
234
+ interface RequestDetails {
235
+ /**
236
+ * Request input for updating an existing key quorum.
237
+ */
238
+ body: KeyQuorumsAPI.KeyQuorumUpdateRequestBody;
239
+ method: 'PATCH';
240
+ url: string;
241
+ }
242
+ }
243
+ /**
244
+ * Request details for a policy intent.
245
+ */
246
+ export interface PolicyIntentRequestDetails {
247
+ body: PolicyIntentRequestDetails.Body;
248
+ method: 'PATCH';
249
+ url: string;
250
+ }
251
+ export declare namespace PolicyIntentRequestDetails {
252
+ interface Body {
253
+ /**
254
+ * Name to assign to policy.
255
+ */
256
+ name?: string;
257
+ /**
258
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
259
+ * null to remove the current owner.
260
+ */
261
+ owner?: SharedAPI.OwnerInput | null;
262
+ /**
263
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
264
+ * not specify an owner.
265
+ */
266
+ owner_id?: SharedAPI.OwnerIDInput | null;
267
+ rules?: Array<PoliciesAPI.PolicyRuleRequestBody>;
268
+ }
253
269
  }
254
270
  /**
255
- * Common fields for intent action execution results.
271
+ * Response for a policy intent
256
272
  */
257
- export interface BaseActionResult {
273
+ export interface PolicyIntentResponse extends BaseIntentResponse {
274
+ intent_type: 'POLICY';
258
275
  /**
259
- * Unix timestamp when the action was executed
276
+ * The original policy update request that would be sent to the policy endpoint
260
277
  */
261
- executed_at: number;
278
+ request_details: PolicyIntentResponse.RequestDetails;
262
279
  /**
263
- * HTTP status code from the action execution
280
+ * Result of policy update execution (only present if status is 'executed' or
281
+ * 'failed')
264
282
  */
265
- status_code: number;
283
+ action_result?: BaseActionResult;
266
284
  /**
267
- * Display name of the key quorum that authorized execution
285
+ * A policy for controlling wallet operations.
268
286
  */
269
- authorized_by_display_name?: string;
287
+ current_resource_data?: PoliciesAPI.Policy;
288
+ }
289
+ export declare namespace PolicyIntentResponse {
270
290
  /**
271
- * ID of the key quorum that authorized execution
291
+ * The original policy update request that would be sent to the policy endpoint
272
292
  */
273
- authorized_by_id?: string;
293
+ interface RequestDetails {
294
+ body: RequestDetails.Body;
295
+ method: 'PATCH';
296
+ url: string;
297
+ }
298
+ namespace RequestDetails {
299
+ interface Body {
300
+ /**
301
+ * Name to assign to policy.
302
+ */
303
+ name?: string;
304
+ /**
305
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
306
+ * null to remove the current owner.
307
+ */
308
+ owner?: SharedAPI.OwnerInput | null;
309
+ /**
310
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
311
+ * not specify an owner.
312
+ */
313
+ owner_id?: SharedAPI.OwnerIDInput | null;
314
+ rules?: Array<PoliciesAPI.PolicyRuleRequestBody>;
315
+ }
316
+ }
317
+ }
318
+ /**
319
+ * Request details for an RPC intent.
320
+ */
321
+ export interface RpcIntentRequestDetails {
322
+ /**
323
+ * Request body for wallet RPC operations, discriminated by method.
324
+ */
325
+ body: WalletsAPI.WalletRpcRequestBody;
326
+ method: 'POST';
327
+ url: string;
274
328
  }
275
329
  /**
276
330
  * Response for an RPC intent
@@ -303,6 +357,80 @@ export declare namespace RpcIntentResponse {
303
357
  url: string;
304
358
  }
305
359
  }
360
+ /**
361
+ * Request details for creating a rule via intent.
362
+ */
363
+ export interface RuleIntentCreateRequestDetails {
364
+ /**
365
+ * The rules that apply to each method the policy covers.
366
+ */
367
+ body: PoliciesAPI.PolicyRuleRequestBody;
368
+ method: 'POST';
369
+ url: string;
370
+ }
371
+ /**
372
+ * Request details for deleting a rule via intent.
373
+ */
374
+ export interface RuleIntentDeleteRequestDetails {
375
+ method: 'DELETE';
376
+ url: string;
377
+ body?: RuleIntentDeleteRequestDetails.Body;
378
+ }
379
+ export declare namespace RuleIntentDeleteRequestDetails {
380
+ interface Body {
381
+ }
382
+ }
383
+ /**
384
+ * The original rule request. Method is POST (create), PATCH (update), or DELETE
385
+ * (delete)
386
+ */
387
+ export type RuleIntentRequestDetails = RuleIntentCreateRequestDetails | RuleIntentUpdateRequestDetails | RuleIntentDeleteRequestDetails;
388
+ /**
389
+ * Response for a rule intent
390
+ */
391
+ export interface RuleIntentResponse extends BaseIntentResponse {
392
+ intent_type: 'RULE';
393
+ /**
394
+ * The original rule request. Method is POST (create), PATCH (update), or DELETE
395
+ * (delete)
396
+ */
397
+ request_details: RuleIntentRequestDetails;
398
+ /**
399
+ * Result of rule execution (only present if status is 'executed' or 'failed')
400
+ */
401
+ action_result?: BaseActionResult;
402
+ /**
403
+ * A rule that defines the conditions and action to take if the conditions are
404
+ * true.
405
+ */
406
+ current_resource_data?: PoliciesAPI.PolicyRuleResponse;
407
+ /**
408
+ * A policy for controlling wallet operations.
409
+ */
410
+ policy?: PoliciesAPI.Policy;
411
+ }
412
+ /**
413
+ * Request details for updating a rule via intent.
414
+ */
415
+ export interface RuleIntentUpdateRequestDetails {
416
+ /**
417
+ * The rules that apply to each method the policy covers.
418
+ */
419
+ body: PoliciesAPI.PolicyRuleRequestBody;
420
+ method: 'PATCH';
421
+ url: string;
422
+ }
423
+ /**
424
+ * Request details for a transfer intent.
425
+ */
426
+ export interface TransferIntentRequestDetails {
427
+ /**
428
+ * Request body for initiating a sponsored token transfer from an embedded wallet.
429
+ */
430
+ body: WalletsAPI.TransferRequestBody;
431
+ method: 'POST';
432
+ url: string;
433
+ }
306
434
  /**
307
435
  * Response for a transfer intent
308
436
  */
@@ -389,131 +517,7 @@ export declare namespace WalletIntentResponse {
389
517
  }
390
518
  }
391
519
  }
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
- }
516
520
  export declare namespace Intents {
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, };
521
+ export { type BaseActionResult as BaseActionResult, type BaseIntentResponse as BaseIntentResponse, type IntentAuthorization as IntentAuthorization, type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, type IntentCreationHeaders as IntentCreationHeaders, type IntentResponse as IntentResponse, type IntentStatus as IntentStatus, type IntentType as IntentType, type KeyQuorumIntentResponse as KeyQuorumIntentResponse, type PolicyIntentRequestDetails as PolicyIntentRequestDetails, type PolicyIntentResponse as PolicyIntentResponse, type RpcIntentRequestDetails as RpcIntentRequestDetails, type RpcIntentResponse as RpcIntentResponse, type RuleIntentCreateRequestDetails as RuleIntentCreateRequestDetails, type RuleIntentDeleteRequestDetails as RuleIntentDeleteRequestDetails, type RuleIntentRequestDetails as RuleIntentRequestDetails, type RuleIntentResponse as RuleIntentResponse, type RuleIntentUpdateRequestDetails as RuleIntentUpdateRequestDetails, type TransferIntentRequestDetails as TransferIntentRequestDetails, type TransferIntentResponse as TransferIntentResponse, type WalletIntentResponse as WalletIntentResponse, };
518
522
  }
519
523
  //# 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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