@privy-io/api-types 0.14.0 → 0.16.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 +119 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +33 -27
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -27
- package/client.d.ts.map +1 -1
- package/client.js +17 -3
- package/client.js.map +1 -1
- package/client.mjs +17 -3
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/accounts.d.mts +6 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +6 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts +14 -4
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +14 -4
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/analytics.d.mts +1 -1
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.mjs.map +1 -1
- package/resources/apps.d.mts +42 -37
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +42 -37
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +176 -217
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +176 -217
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/cross-app.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/fiat.mjs.map +1 -1
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +15 -13
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -13
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +112 -79
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +112 -79
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +9 -8
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +9 -8
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +252 -154
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +252 -154
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.js.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/oauth.d.mts +77 -0
- package/resources/oauth.d.mts.map +1 -0
- package/resources/oauth.d.ts +77 -0
- package/resources/oauth.d.ts.map +1 -0
- package/resources/oauth.js +9 -0
- package/resources/oauth.js.map +1 -0
- package/resources/oauth.mjs +5 -0
- package/resources/oauth.mjs.map +1 -0
- package/resources/onramps.d.mts +458 -0
- package/resources/onramps.d.mts.map +1 -0
- package/resources/onramps.d.ts +458 -0
- package/resources/onramps.d.ts.map +1 -0
- package/resources/onramps.js +9 -0
- package/resources/onramps.js.map +1 -0
- package/resources/onramps.mjs +5 -0
- package/resources/onramps.mjs.map +1 -0
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.mjs.map +1 -1
- package/resources/policies.d.mts +73 -18
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +73 -18
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +38 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +38 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/swaps.d.mts +44 -5
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +44 -5
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +207 -9
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +207 -9
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallet-actions.js.map +1 -1
- package/resources/wallet-actions.mjs.map +1 -1
- package/resources/wallets/balance.d.mts +8 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +8 -4
- package/resources/wallets/balance.d.ts.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 +5 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +5 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +749 -84
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +749 -84
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +15 -2
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +15 -2
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/wallets.d.mts.map +1 -1
- package/resources/wallets.d.ts.map +1 -1
- package/resources/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +314 -54
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +314 -54
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +26 -27
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -27
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +389 -65
- package/src/resources/accounts.ts +7 -1
- package/src/resources/aggregations.ts +16 -3
- package/src/resources/analytics.ts +1 -1
- package/src/resources/apps.ts +57 -51
- package/src/resources/client-auth.ts +215 -308
- package/src/resources/index.ts +180 -25
- package/src/resources/intents.ts +132 -91
- package/src/resources/key-quorums.ts +11 -9
- package/src/resources/kraken-embed.ts +591 -432
- package/src/resources/oauth.ts +96 -0
- package/src/resources/onramps.ts +652 -0
- package/src/resources/policies.ts +106 -16
- package/src/resources/shared.ts +53 -0
- package/src/resources/swaps.ts +52 -5
- package/src/resources/users.ts +3 -0
- package/src/resources/wallet-actions.ts +274 -8
- package/src/resources/wallets/balance.ts +13 -1
- package/src/resources/wallets/index.ts +43 -0
- package/src/resources/wallets/transactions.ts +6 -0
- package/src/resources/wallets/wallets.ts +969 -93
- package/src/resources/webhooks.ts +383 -57
- package/src/resources/yield.ts +29 -30
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/intents.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as IntentsAPI from "./intents.js";
|
|
3
2
|
import * as KeyQuorumsAPI from "./key-quorums.js";
|
|
4
3
|
import * as PoliciesAPI from "./policies.js";
|
|
5
4
|
import * as SharedAPI from "./shared.js";
|
|
@@ -101,84 +100,67 @@ export interface IntentAuthorization {
|
|
|
101
100
|
display_name?: string;
|
|
102
101
|
}
|
|
103
102
|
/**
|
|
104
|
-
* A
|
|
103
|
+
* A key member of an intent authorization quorum.
|
|
105
104
|
*/
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
*/
|
|
117
|
-
user_id: string;
|
|
118
|
-
}
|
|
119
|
-
interface KeyMember {
|
|
120
|
-
/**
|
|
121
|
-
* Public key of the key quorum member
|
|
122
|
-
*/
|
|
123
|
-
public_key: string;
|
|
124
|
-
/**
|
|
125
|
-
* Unix timestamp when this member signed, or null if not yet signed.
|
|
126
|
-
*/
|
|
127
|
-
signed_at: number | null;
|
|
128
|
-
type: 'key';
|
|
129
|
-
}
|
|
105
|
+
export interface IntentAuthorizationKeyMember {
|
|
106
|
+
/**
|
|
107
|
+
* Public key of the key quorum member
|
|
108
|
+
*/
|
|
109
|
+
public_key: string;
|
|
110
|
+
/**
|
|
111
|
+
* Unix timestamp when this member signed, or null if not yet signed.
|
|
112
|
+
*/
|
|
113
|
+
signed_at: number | null;
|
|
114
|
+
type: 'key';
|
|
130
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* A nested key quorum member of an intent authorization quorum.
|
|
118
|
+
*/
|
|
119
|
+
export interface IntentAuthorizationKeyQuorum {
|
|
120
|
+
/**
|
|
121
|
+
* ID of the child key quorum member
|
|
122
|
+
*/
|
|
123
|
+
key_quorum_id: string;
|
|
124
|
+
/**
|
|
125
|
+
* Members of this child quorum
|
|
126
|
+
*/
|
|
127
|
+
members: Array<IntentAuthorizationKeyQuorumMember>;
|
|
128
|
+
/**
|
|
129
|
+
* Number of signatures required from this child quorum
|
|
130
|
+
*/
|
|
131
|
+
threshold: number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether this child key quorum has met its signature threshold
|
|
134
|
+
*/
|
|
135
|
+
threshold_met: boolean;
|
|
136
|
+
type: 'key_quorum';
|
|
137
|
+
/**
|
|
138
|
+
* Display name for the child key quorum (if any)
|
|
139
|
+
*/
|
|
140
|
+
display_name?: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* A leaf member (user or key) of a nested key quorum in an intent authorization.
|
|
144
|
+
*/
|
|
145
|
+
export type IntentAuthorizationKeyQuorumMember = IntentAuthorizationUserMember | IntentAuthorizationKeyMember;
|
|
131
146
|
/**
|
|
132
147
|
* A member of an intent authorization quorum. Can be a user, key, or nested key
|
|
133
148
|
* quorum.
|
|
134
149
|
*/
|
|
135
|
-
export type IntentAuthorizationMember =
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Public key of the key quorum member
|
|
151
|
-
*/
|
|
152
|
-
public_key: string;
|
|
153
|
-
/**
|
|
154
|
-
* Unix timestamp when this member signed, or null if not yet signed.
|
|
155
|
-
*/
|
|
156
|
-
signed_at: number | null;
|
|
157
|
-
type: 'key';
|
|
158
|
-
}
|
|
159
|
-
interface KeyQuorumMember {
|
|
160
|
-
/**
|
|
161
|
-
* ID of the child key quorum member
|
|
162
|
-
*/
|
|
163
|
-
key_quorum_id: string;
|
|
164
|
-
/**
|
|
165
|
-
* Members of this child quorum
|
|
166
|
-
*/
|
|
167
|
-
members: Array<IntentsAPI.IntentAuthorizationKeyQuorumMember>;
|
|
168
|
-
/**
|
|
169
|
-
* Number of signatures required from this child quorum
|
|
170
|
-
*/
|
|
171
|
-
threshold: number;
|
|
172
|
-
/**
|
|
173
|
-
* Whether this child key quorum has met its signature threshold
|
|
174
|
-
*/
|
|
175
|
-
threshold_met: boolean;
|
|
176
|
-
type: 'key_quorum';
|
|
177
|
-
/**
|
|
178
|
-
* Display name for the child key quorum (if any)
|
|
179
|
-
*/
|
|
180
|
-
display_name?: string;
|
|
181
|
-
}
|
|
150
|
+
export type IntentAuthorizationMember = IntentAuthorizationUserMember | IntentAuthorizationKeyMember | IntentAuthorizationKeyQuorum;
|
|
151
|
+
/**
|
|
152
|
+
* A user member of an intent authorization quorum.
|
|
153
|
+
*/
|
|
154
|
+
export interface IntentAuthorizationUserMember {
|
|
155
|
+
/**
|
|
156
|
+
* Unix timestamp when this member signed, or null if not yet signed.
|
|
157
|
+
*/
|
|
158
|
+
signed_at: number | null;
|
|
159
|
+
type: 'user';
|
|
160
|
+
/**
|
|
161
|
+
* User ID of the key quorum member
|
|
162
|
+
*/
|
|
163
|
+
user_id: string;
|
|
182
164
|
}
|
|
183
165
|
/**
|
|
184
166
|
* Request body for authorizing an intent.
|
|
@@ -372,6 +354,29 @@ export declare namespace RpcIntentResponse {
|
|
|
372
354
|
url: string;
|
|
373
355
|
}
|
|
374
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Response for a delete rule intent
|
|
359
|
+
*/
|
|
360
|
+
export interface RuleDeleteIntentResponse extends BaseIntentResponse {
|
|
361
|
+
intent_type: 'RULE';
|
|
362
|
+
/**
|
|
363
|
+
* Request details for deleting a rule via intent.
|
|
364
|
+
*/
|
|
365
|
+
request_details: RuleIntentDeleteRequestDetails;
|
|
366
|
+
/**
|
|
367
|
+
* Result of rule execution (only present if status is 'executed' or 'failed')
|
|
368
|
+
*/
|
|
369
|
+
action_result?: BaseActionResult;
|
|
370
|
+
/**
|
|
371
|
+
* A rule that defines the conditions and action to take if the conditions are
|
|
372
|
+
* true.
|
|
373
|
+
*/
|
|
374
|
+
current_resource_data?: PoliciesAPI.PolicyRuleResponse;
|
|
375
|
+
/**
|
|
376
|
+
* A policy for controlling wallet operations.
|
|
377
|
+
*/
|
|
378
|
+
policy?: PoliciesAPI.Policy;
|
|
379
|
+
}
|
|
375
380
|
/**
|
|
376
381
|
* Request details for creating a rule via intent.
|
|
377
382
|
*/
|
|
@@ -383,17 +388,21 @@ export interface RuleIntentCreateRequestDetails {
|
|
|
383
388
|
method: 'POST';
|
|
384
389
|
url: string;
|
|
385
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Empty request body for a rule delete intent.
|
|
393
|
+
*/
|
|
394
|
+
export interface RuleIntentDeleteRequestBody {
|
|
395
|
+
}
|
|
386
396
|
/**
|
|
387
397
|
* Request details for deleting a rule via intent.
|
|
388
398
|
*/
|
|
389
399
|
export interface RuleIntentDeleteRequestDetails {
|
|
390
400
|
method: 'DELETE';
|
|
391
401
|
url: string;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
402
|
+
/**
|
|
403
|
+
* Empty request body for a rule delete intent.
|
|
404
|
+
*/
|
|
405
|
+
body?: RuleIntentDeleteRequestBody;
|
|
397
406
|
}
|
|
398
407
|
/**
|
|
399
408
|
* The original rule request. Method is POST (create), PATCH (update), or DELETE
|
|
@@ -435,6 +444,30 @@ export interface RuleIntentUpdateRequestDetails {
|
|
|
435
444
|
method: 'PATCH';
|
|
436
445
|
url: string;
|
|
437
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* Response for a create or update rule intent
|
|
449
|
+
*/
|
|
450
|
+
export interface RuleMutateIntentResponse extends BaseIntentResponse {
|
|
451
|
+
intent_type: 'RULE';
|
|
452
|
+
/**
|
|
453
|
+
* The original rule request. Method is POST (create), PATCH (update), or DELETE
|
|
454
|
+
* (delete)
|
|
455
|
+
*/
|
|
456
|
+
request_details: RuleIntentRequestDetails;
|
|
457
|
+
/**
|
|
458
|
+
* Result of rule execution (only present if status is 'executed' or 'failed')
|
|
459
|
+
*/
|
|
460
|
+
action_result?: BaseActionResult;
|
|
461
|
+
/**
|
|
462
|
+
* A rule that defines the conditions and action to take if the conditions are
|
|
463
|
+
* true.
|
|
464
|
+
*/
|
|
465
|
+
current_resource_data?: PoliciesAPI.PolicyRuleResponse;
|
|
466
|
+
/**
|
|
467
|
+
* A policy for controlling wallet operations.
|
|
468
|
+
*/
|
|
469
|
+
policy?: PoliciesAPI.Policy;
|
|
470
|
+
}
|
|
438
471
|
/**
|
|
439
472
|
* Request details for a transfer intent.
|
|
440
473
|
*/
|
|
@@ -533,6 +566,6 @@ export declare namespace WalletIntentResponse {
|
|
|
533
566
|
}
|
|
534
567
|
}
|
|
535
568
|
export declare namespace Intents {
|
|
536
|
-
export { type BaseActionResult as BaseActionResult, type BaseIntentResponse as BaseIntentResponse, type IntentAuthorization as IntentAuthorization, type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, type IntentAuthorizeInput as IntentAuthorizeInput, 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, };
|
|
569
|
+
export { type BaseActionResult as BaseActionResult, type BaseIntentResponse as BaseIntentResponse, type IntentAuthorization as IntentAuthorization, type IntentAuthorizationKeyMember as IntentAuthorizationKeyMember, type IntentAuthorizationKeyQuorum as IntentAuthorizationKeyQuorum, type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember, type IntentAuthorizationMember as IntentAuthorizationMember, type IntentAuthorizationUserMember as IntentAuthorizationUserMember, type IntentAuthorizeInput as IntentAuthorizeInput, 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 RuleDeleteIntentResponse as RuleDeleteIntentResponse, type RuleIntentCreateRequestDetails as RuleIntentCreateRequestDetails, type RuleIntentDeleteRequestBody as RuleIntentDeleteRequestBody, type RuleIntentDeleteRequestDetails as RuleIntentDeleteRequestDetails, type RuleIntentRequestDetails as RuleIntentRequestDetails, type RuleIntentResponse as RuleIntentResponse, type RuleIntentUpdateRequestDetails as RuleIntentUpdateRequestDetails, type RuleMutateIntentResponse as RuleMutateIntentResponse, type TransferIntentRequestDetails as TransferIntentRequestDetails, type TransferIntentResponse as TransferIntentResponse, type WalletIntentResponse as WalletIntentResponse, };
|
|
537
570
|
}
|
|
538
571
|
//# sourceMappingURL=intents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,aAAa,yBAAsB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,KAAK,UAAU,6BAA0B;AAEhD,qBAAa,OAAQ,SAAQ,WAAW;CAAG;AAE3C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,qBAAqB,EAAE,KAAK,CAAC,mBAAmB,CA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,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/intents.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intents.js","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"intents.js","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAM/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;
|
|
1
|
+
{"version":3,"file":"intents.mjs","sourceRoot":"","sources":["../src/resources/intents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAM/C,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
export declare class KeyQuorums extends APIResource {
|
|
3
3
|
}
|
|
4
|
+
/**
|
|
5
|
+
* A public key authorized to sign on a key quorum.
|
|
6
|
+
*/
|
|
7
|
+
export interface AuthorizationKey {
|
|
8
|
+
display_name: string | null;
|
|
9
|
+
public_key: string;
|
|
10
|
+
}
|
|
4
11
|
/**
|
|
5
12
|
* A key quorum for authorizing wallet operations.
|
|
6
13
|
*/
|
|
7
14
|
export interface KeyQuorum {
|
|
8
15
|
id: string;
|
|
9
|
-
authorization_keys: Array<
|
|
16
|
+
authorization_keys: Array<AuthorizationKey>;
|
|
10
17
|
authorization_threshold: number | null;
|
|
11
18
|
display_name: string | null;
|
|
12
19
|
user_ids: Array<string> | null;
|
|
@@ -15,12 +22,6 @@ export interface KeyQuorum {
|
|
|
15
22
|
*/
|
|
16
23
|
key_quorum_ids?: Array<string>;
|
|
17
24
|
}
|
|
18
|
-
export declare namespace KeyQuorum {
|
|
19
|
-
interface AuthorizationKey {
|
|
20
|
-
display_name: string | null;
|
|
21
|
-
public_key: string;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
25
|
/**
|
|
25
26
|
* Headers required to authorize modifications to key quorums.
|
|
26
27
|
*/
|
|
@@ -98,6 +99,6 @@ export interface KeyQuorumUpdateRequestBody {
|
|
|
98
99
|
user_ids?: Array<string>;
|
|
99
100
|
}
|
|
100
101
|
export declare namespace KeyQuorums {
|
|
101
|
-
export { type KeyQuorum as KeyQuorum, type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders, type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody, type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody, };
|
|
102
|
+
export { type AuthorizationKey as AuthorizationKey, type KeyQuorum as KeyQuorum, type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders, type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody, type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody, };
|
|
102
103
|
}
|
|
103
104
|
//# sourceMappingURL=key-quorums.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-quorums.d.mts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"key-quorums.d.mts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,qBAAa,UAAW,SAAQ,WAAW;CAAG;AAE9C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAEX,kBAA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,EACzC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
export declare class KeyQuorums extends APIResource {
|
|
3
3
|
}
|
|
4
|
+
/**
|
|
5
|
+
* A public key authorized to sign on a key quorum.
|
|
6
|
+
*/
|
|
7
|
+
export interface AuthorizationKey {
|
|
8
|
+
display_name: string | null;
|
|
9
|
+
public_key: string;
|
|
10
|
+
}
|
|
4
11
|
/**
|
|
5
12
|
* A key quorum for authorizing wallet operations.
|
|
6
13
|
*/
|
|
7
14
|
export interface KeyQuorum {
|
|
8
15
|
id: string;
|
|
9
|
-
authorization_keys: Array<
|
|
16
|
+
authorization_keys: Array<AuthorizationKey>;
|
|
10
17
|
authorization_threshold: number | null;
|
|
11
18
|
display_name: string | null;
|
|
12
19
|
user_ids: Array<string> | null;
|
|
@@ -15,12 +22,6 @@ export interface KeyQuorum {
|
|
|
15
22
|
*/
|
|
16
23
|
key_quorum_ids?: Array<string>;
|
|
17
24
|
}
|
|
18
|
-
export declare namespace KeyQuorum {
|
|
19
|
-
interface AuthorizationKey {
|
|
20
|
-
display_name: string | null;
|
|
21
|
-
public_key: string;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
25
|
/**
|
|
25
26
|
* Headers required to authorize modifications to key quorums.
|
|
26
27
|
*/
|
|
@@ -98,6 +99,6 @@ export interface KeyQuorumUpdateRequestBody {
|
|
|
98
99
|
user_ids?: Array<string>;
|
|
99
100
|
}
|
|
100
101
|
export declare namespace KeyQuorums {
|
|
101
|
-
export { type KeyQuorum as KeyQuorum, type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders, type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody, type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody, };
|
|
102
|
+
export { type AuthorizationKey as AuthorizationKey, type KeyQuorum as KeyQuorum, type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders, type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody, type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody, };
|
|
102
103
|
}
|
|
103
104
|
//# sourceMappingURL=key-quorums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-quorums.d.ts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"key-quorums.d.ts","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAE/C,qBAAa,UAAW,SAAQ,WAAW;CAAG;AAE9C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAEX,kBAAkB,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAE5C,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;IAEzC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-quorums.mjs","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"key-quorums.mjs","sourceRoot":"","sources":["../src/resources/key-quorums.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,MAAM,OAAO,UAAW,SAAQ,WAAW;CAAG"}
|