@privy-io/api-types 0.8.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.
- package/CHANGELOG.md +57 -0
- package/client.d.mts +35 -32
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -32
- package/client.d.ts.map +1 -1
- package/client.js +22 -8
- package/client.js.map +1 -1
- package/client.mjs +22 -8
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +128 -86
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +128 -86
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +43 -43
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +43 -43
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +177 -129
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +177 -129
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +650 -648
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +650 -648
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +84 -84
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +84 -84
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/funding.d.mts +42 -42
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +42 -42
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +19 -18
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +19 -18
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +270 -266
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +270 -266
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +20 -20
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +20 -20
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +62 -19
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +62 -19
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/organizations.d.mts +65 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +65 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +9 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +5 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/policies.d.mts +360 -231
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +360 -231
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +28 -28
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -28
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +8 -11
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +8 -11
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.js.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts +56 -66
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +56 -66
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +457 -448
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +457 -448
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +450 -41
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +450 -41
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +2 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +2 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +16 -31
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +16 -31
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +1475 -1172
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +1475 -1172
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +10 -6
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +10 -6
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +1345 -582
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1345 -582
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +157 -157
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +157 -157
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +661 -455
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/accounts.ts +157 -103
- package/src/resources/aggregations.ts +55 -55
- package/src/resources/apps.ts +232 -166
- package/src/resources/client-auth.ts +890 -890
- package/src/resources/embedded-wallets.ts +123 -123
- package/src/resources/funding.ts +66 -66
- package/src/resources/index.ts +521 -431
- package/src/resources/intents.ts +326 -322
- package/src/resources/key-quorums.ts +23 -23
- package/src/resources/kraken-embed.ts +116 -19
- package/src/resources/organizations.ts +82 -0
- package/src/resources/policies.ts +495 -339
- package/src/resources/shared.ts +34 -34
- package/src/resources/swaps.ts +9 -14
- package/src/resources/transactions.ts +88 -115
- package/src/resources/users.ts +664 -653
- package/src/resources/wallet-actions.ts +585 -56
- package/src/resources/wallets/balance.ts +2 -1
- package/src/resources/wallets/index.ts +158 -138
- package/src/resources/wallets/transactions.ts +20 -83
- package/src/resources/wallets/wallets.ts +1997 -1563
- package/src/resources/webhooks.ts +1652 -700
- package/src/resources/yield.ts +188 -188
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/resources/intents.d.mts
CHANGED
|
@@ -7,97 +7,99 @@ import * as WalletsAPI from "./wallets/wallets.mjs";
|
|
|
7
7
|
export declare class Intents extends APIResource {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
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
|
|
12
|
+
export interface BaseActionResult {
|
|
21
13
|
/**
|
|
22
|
-
*
|
|
14
|
+
* Unix timestamp when the action was executed
|
|
23
15
|
*/
|
|
24
|
-
|
|
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
|
-
*
|
|
18
|
+
* HTTP status code from the action execution
|
|
34
19
|
*/
|
|
35
|
-
|
|
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
|
-
*
|
|
22
|
+
* Display name of the key quorum that authorized execution
|
|
72
23
|
*/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
-
*
|
|
31
|
+
* Common fields shared by all intent response types.
|
|
79
32
|
*/
|
|
80
|
-
export interface
|
|
33
|
+
export interface BaseIntentResponse {
|
|
81
34
|
/**
|
|
82
|
-
*
|
|
35
|
+
* Detailed authorization information including key quorum members, thresholds, and
|
|
36
|
+
* signature status
|
|
83
37
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
*
|
|
87
|
+
* Authorization quorum for an intent
|
|
90
88
|
*/
|
|
91
|
-
export interface
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
*
|
|
184
|
+
* Headers required to create an intent.
|
|
183
185
|
*/
|
|
184
|
-
export interface
|
|
185
|
-
/**
|
|
186
|
-
* Members in this authorization quorum
|
|
187
|
-
*/
|
|
188
|
-
members: Array<IntentAuthorizationMember>;
|
|
186
|
+
export interface IntentCreationHeaders {
|
|
189
187
|
/**
|
|
190
|
-
*
|
|
188
|
+
* ID of your Privy app.
|
|
191
189
|
*/
|
|
192
|
-
|
|
190
|
+
'privy-app-id': string;
|
|
193
191
|
/**
|
|
194
|
-
*
|
|
192
|
+
* Request expiry. Value is a Unix timestamp in milliseconds representing the
|
|
193
|
+
* deadline by which the request must be processed.
|
|
195
194
|
*/
|
|
196
|
-
|
|
195
|
+
'privy-request-expiry'?: string;
|
|
197
196
|
}
|
|
198
197
|
/**
|
|
199
|
-
*
|
|
198
|
+
* Response for an intent object
|
|
200
199
|
*/
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
-
*
|
|
238
|
-
*
|
|
215
|
+
* The original key quorum update request that would be sent to the key quorum
|
|
216
|
+
* endpoint
|
|
239
217
|
*/
|
|
240
|
-
|
|
218
|
+
request_details: KeyQuorumIntentResponse.RequestDetails;
|
|
241
219
|
/**
|
|
242
|
-
*
|
|
220
|
+
* Result of key quorum update execution (only present if status is 'executed' or
|
|
221
|
+
* 'failed')
|
|
243
222
|
*/
|
|
244
|
-
|
|
223
|
+
action_result?: BaseActionResult;
|
|
245
224
|
/**
|
|
246
|
-
*
|
|
225
|
+
* A key quorum for authorizing wallet operations.
|
|
247
226
|
*/
|
|
248
|
-
|
|
227
|
+
current_resource_data?: KeyQuorumsAPI.KeyQuorum;
|
|
228
|
+
}
|
|
229
|
+
export declare namespace KeyQuorumIntentResponse {
|
|
249
230
|
/**
|
|
250
|
-
*
|
|
231
|
+
* The original key quorum update request that would be sent to the key quorum
|
|
232
|
+
* endpoint
|
|
251
233
|
*/
|
|
252
|
-
|
|
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
|
-
*
|
|
271
|
+
* Response for a policy intent
|
|
256
272
|
*/
|
|
257
|
-
export interface
|
|
273
|
+
export interface PolicyIntentResponse extends BaseIntentResponse {
|
|
274
|
+
intent_type: 'POLICY';
|
|
258
275
|
/**
|
|
259
|
-
*
|
|
276
|
+
* The original policy update request that would be sent to the policy endpoint
|
|
260
277
|
*/
|
|
261
|
-
|
|
278
|
+
request_details: PolicyIntentResponse.RequestDetails;
|
|
262
279
|
/**
|
|
263
|
-
*
|
|
280
|
+
* Result of policy update execution (only present if status is 'executed' or
|
|
281
|
+
* 'failed')
|
|
264
282
|
*/
|
|
265
|
-
|
|
283
|
+
action_result?: BaseActionResult;
|
|
266
284
|
/**
|
|
267
|
-
*
|
|
285
|
+
* A policy for controlling wallet operations.
|
|
268
286
|
*/
|
|
269
|
-
|
|
287
|
+
current_resource_data?: PoliciesAPI.Policy;
|
|
288
|
+
}
|
|
289
|
+
export declare namespace PolicyIntentResponse {
|
|
270
290
|
/**
|
|
271
|
-
*
|
|
291
|
+
* The original policy update request that would be sent to the policy endpoint
|
|
272
292
|
*/
|
|
273
|
-
|
|
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
|
*/
|
|
@@ -330,7 +458,7 @@ export declare namespace TransferIntentResponse {
|
|
|
330
458
|
/**
|
|
331
459
|
* Request body for initiating a sponsored token transfer from an embedded wallet.
|
|
332
460
|
*/
|
|
333
|
-
body: WalletsAPI.
|
|
461
|
+
body: WalletsAPI.TransferRequestBody;
|
|
334
462
|
method: 'POST';
|
|
335
463
|
url: string;
|
|
336
464
|
}
|
|
@@ -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
|
|
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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intents.d.mts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,KAAK,WAAW;OAChB,KAAK,SAAS;OACd,KAAK,UAAU;AAEtB,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"intents.d.mts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EA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