@privy-io/node 0.10.0 → 0.11.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 +64 -0
- package/client.d.mts +38 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +38 -20
- package/client.d.ts.map +1 -1
- package/client.js +31 -12
- package/client.js.map +1 -1
- package/client.mjs +32 -13
- package/client.mjs.map +1 -1
- package/index.d.mts +2 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/public-api/PrivyClient.d.mts +3 -0
- package/public-api/PrivyClient.d.mts.map +1 -1
- package/public-api/PrivyClient.d.ts +3 -0
- package/public-api/PrivyClient.d.ts.map +1 -1
- package/public-api/PrivyClient.js +5 -0
- package/public-api/PrivyClient.js.map +1 -1
- package/public-api/PrivyClient.mjs +5 -0
- package/public-api/PrivyClient.mjs.map +1 -1
- package/public-api/services/apps.d.mts +25 -0
- package/public-api/services/apps.d.mts.map +1 -0
- package/public-api/services/apps.d.ts +25 -0
- package/public-api/services/apps.d.ts.map +1 -0
- package/public-api/services/apps.js +56 -0
- package/public-api/services/apps.js.map +1 -0
- package/public-api/services/apps.mjs +52 -0
- package/public-api/services/apps.mjs.map +1 -0
- package/public-api/services/policies.d.mts +6 -2
- package/public-api/services/policies.d.mts.map +1 -1
- package/public-api/services/policies.d.ts +6 -2
- package/public-api/services/policies.d.ts.map +1 -1
- package/public-api/services/policies.js +6 -0
- package/public-api/services/policies.js.map +1 -1
- package/public-api/services/policies.mjs +6 -0
- package/public-api/services/policies.mjs.map +1 -1
- package/public-api/services/wallets.d.mts +5 -1
- package/public-api/services/wallets.d.mts.map +1 -1
- package/public-api/services/wallets.d.ts +5 -1
- package/public-api/services/wallets.d.ts.map +1 -1
- package/public-api/services/wallets.js +6 -0
- package/public-api/services/wallets.js.map +1 -1
- package/public-api/services/wallets.mjs +6 -0
- package/public-api/services/wallets.mjs.map +1 -1
- package/resources/accounts.d.mts +195 -4
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +195 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/apps/allowlist.d.mts +81 -0
- package/resources/apps/allowlist.d.mts.map +1 -0
- package/resources/apps/allowlist.d.ts +81 -0
- package/resources/apps/allowlist.d.ts.map +1 -0
- package/resources/apps/allowlist.js +56 -0
- package/resources/apps/allowlist.js.map +1 -0
- package/resources/apps/allowlist.mjs +52 -0
- package/resources/apps/allowlist.mjs.map +1 -0
- package/resources/apps/apps.d.mts +238 -0
- package/resources/apps/apps.d.mts.map +1 -0
- package/resources/apps/apps.d.ts +238 -0
- package/resources/apps/apps.d.ts.map +1 -0
- package/resources/apps/apps.js +44 -0
- package/resources/apps/apps.js.map +1 -0
- package/resources/apps/apps.mjs +39 -0
- package/resources/apps/apps.mjs.map +1 -0
- package/resources/apps/index.d.mts +3 -0
- package/resources/apps/index.d.mts.map +1 -0
- package/resources/apps/index.d.ts +3 -0
- package/resources/apps/index.d.ts.map +1 -0
- package/resources/apps/index.js +9 -0
- package/resources/apps/index.js.map +1 -0
- package/resources/apps/index.mjs +4 -0
- package/resources/apps/index.mjs.map +1 -0
- package/resources/apps.d.mts +1 -151
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +1 -151
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +2 -5
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +1 -3
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +144 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +144 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +11 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -10
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +2815 -31
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +2815 -31
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js +156 -0
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs +156 -0
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +45 -2
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +45 -2
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +18 -1
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +18 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +62 -0
- package/resources/kraken-embed.d.mts.map +1 -0
- package/resources/kraken-embed.d.ts +62 -0
- package/resources/kraken-embed.d.ts.map +1 -0
- package/resources/kraken-embed.js +9 -0
- package/resources/kraken-embed.js.map +1 -0
- package/resources/kraken-embed.mjs +5 -0
- package/resources/kraken-embed.mjs.map +1 -0
- package/resources/policies.d.mts +63 -56
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +63 -56
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +3 -0
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +3 -0
- package/resources/policies.mjs.map +1 -1
- package/resources/transactions.d.mts +3 -0
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +3 -0
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +3 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +3 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +50 -47
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +50 -47
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/wallets/balance.d.mts +7 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +7 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js +3 -0
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs +3 -0
- 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 +9 -6
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +9 -6
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +3 -0
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +3 -0
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +129 -72
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +129 -72
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +11 -5
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +11 -5
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +319 -283
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +319 -283
- 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 -9
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -9
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +203 -42
- package/src/index.ts +10 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/public-api/PrivyClient.ts +7 -0
- package/src/public-api/services/apps.ts +85 -0
- package/src/public-api/services/policies.ts +15 -1
- package/src/public-api/services/wallets.ts +14 -0
- package/src/resources/accounts.ts +233 -3
- package/src/resources/apps/allowlist.ts +126 -0
- package/src/resources/apps/apps.ts +391 -0
- package/src/resources/apps/index.ts +20 -0
- package/src/resources/apps.ts +1 -257
- package/src/resources/client-auth.ts +202 -0
- package/src/resources/index.ts +94 -21
- package/src/resources/intents.ts +4579 -40
- package/src/resources/key-quorums.ts +50 -2
- package/src/resources/kraken-embed.ts +85 -0
- package/src/resources/policies.ts +83 -76
- package/src/resources/transactions.ts +3 -0
- package/src/resources/users.ts +66 -63
- package/src/resources/wallets/balance.ts +9 -2
- package/src/resources/wallets/index.ts +4 -2
- package/src/resources/wallets/transactions.ts +10 -4
- package/src/resources/wallets/wallets.ts +175 -97
- package/src/resources/webhooks.ts +454 -438
- package/src/resources/yield.ts +39 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -134,6 +134,192 @@ export interface BridgeSandboxFiatCustomerResponse {
|
|
|
134
134
|
*/
|
|
135
135
|
export type FiatCustomerResponse = BridgeFiatCustomerResponse | BridgeSandboxFiatCustomerResponse;
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
139
|
+
*/
|
|
140
|
+
export type FiatCurrencyCode = string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
144
|
+
*/
|
|
145
|
+
export type CryptoCurrencyCode = string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
149
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
150
|
+
*/
|
|
151
|
+
export type Caip2ChainID = string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
155
|
+
*/
|
|
156
|
+
export type FiatAmount = string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Source currency details for a fiat onramp quote request.
|
|
160
|
+
*/
|
|
161
|
+
export interface FiatOnrampSource {
|
|
162
|
+
/**
|
|
163
|
+
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
164
|
+
*/
|
|
165
|
+
amount: FiatAmount;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
169
|
+
*/
|
|
170
|
+
asset: FiatCurrencyCode;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
175
|
+
*/
|
|
176
|
+
export interface FiatOnrampDestination {
|
|
177
|
+
address: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
181
|
+
*/
|
|
182
|
+
asset: CryptoCurrencyCode;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
186
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
187
|
+
*/
|
|
188
|
+
chain: Caip2ChainID;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Whether to use the sandbox or production environment for fiat onramp.
|
|
193
|
+
*/
|
|
194
|
+
export type FiatOnrampEnvironment = 'sandbox' | 'production';
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The fiat onramp provider to use.
|
|
198
|
+
*/
|
|
199
|
+
export type FiatOnrampProvider = 'meld' | 'meld-sandbox';
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The request input for getting fiat onramp quotes.
|
|
203
|
+
*/
|
|
204
|
+
export interface GetFiatOnrampQuotesInput {
|
|
205
|
+
/**
|
|
206
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
207
|
+
*/
|
|
208
|
+
destination: FiatOnrampDestination;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Whether to use the sandbox or production environment for fiat onramp.
|
|
212
|
+
*/
|
|
213
|
+
environment: FiatOnrampEnvironment;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Source currency details for a fiat onramp quote request.
|
|
217
|
+
*/
|
|
218
|
+
source: FiatOnrampSource;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* A single fiat onramp quote from a provider.
|
|
223
|
+
*/
|
|
224
|
+
export interface FiatOnrampQuote {
|
|
225
|
+
payment_method: string;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The fiat onramp provider to use.
|
|
229
|
+
*/
|
|
230
|
+
provider: FiatOnrampProvider;
|
|
231
|
+
|
|
232
|
+
destination_currency_code?: string | null;
|
|
233
|
+
|
|
234
|
+
source_amount?: number | null;
|
|
235
|
+
|
|
236
|
+
source_currency_code?: string | null;
|
|
237
|
+
|
|
238
|
+
sub_provider?: string | null;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* The response containing fiat onramp quotes.
|
|
243
|
+
*/
|
|
244
|
+
export interface GetFiatOnrampQuotesResponse {
|
|
245
|
+
quotes: Array<FiatOnrampQuote>;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The request input for getting a fiat onramp provider session URL.
|
|
250
|
+
*/
|
|
251
|
+
export interface GetFiatOnrampURLInput {
|
|
252
|
+
/**
|
|
253
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
254
|
+
*/
|
|
255
|
+
destination: FiatOnrampDestination;
|
|
256
|
+
|
|
257
|
+
payment_method: string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* The fiat onramp provider to use.
|
|
261
|
+
*/
|
|
262
|
+
provider: FiatOnrampProvider;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Source currency details for a fiat onramp quote request.
|
|
266
|
+
*/
|
|
267
|
+
source: FiatOnrampSource;
|
|
268
|
+
|
|
269
|
+
redirect_url?: string;
|
|
270
|
+
|
|
271
|
+
sub_provider?: string;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The response containing a fiat onramp provider session URL.
|
|
276
|
+
*/
|
|
277
|
+
export interface GetFiatOnrampURLResponse {
|
|
278
|
+
session_id: string;
|
|
279
|
+
|
|
280
|
+
url: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Normalized fiat onramp transaction status.
|
|
285
|
+
*/
|
|
286
|
+
export type FiatOnrampTransactionStatus =
|
|
287
|
+
| 'pending'
|
|
288
|
+
| 'processing'
|
|
289
|
+
| 'completed'
|
|
290
|
+
| 'failed'
|
|
291
|
+
| 'cancelled'
|
|
292
|
+
| 'refunded'
|
|
293
|
+
| 'unknown';
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* The request input for checking a fiat onramp session status.
|
|
297
|
+
*/
|
|
298
|
+
export interface GetFiatOnrampTransactionStatusInput {
|
|
299
|
+
/**
|
|
300
|
+
* The fiat onramp provider to use.
|
|
301
|
+
*/
|
|
302
|
+
provider: FiatOnrampProvider;
|
|
303
|
+
|
|
304
|
+
session_id: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The response containing the fiat onramp session status.
|
|
309
|
+
*/
|
|
310
|
+
export interface GetFiatOnrampTransactionStatusResponse {
|
|
311
|
+
raw_status: string;
|
|
312
|
+
|
|
313
|
+
session_id: string;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Normalized fiat onramp transaction status.
|
|
317
|
+
*/
|
|
318
|
+
status: FiatOnrampTransactionStatus;
|
|
319
|
+
|
|
320
|
+
transaction_id?: string;
|
|
321
|
+
}
|
|
322
|
+
|
|
137
323
|
export type BridgeDestinationAsset = 'usdb' | 'usdc' | 'usdt' | 'dai' | 'pyusd' | 'eurc';
|
|
138
324
|
|
|
139
325
|
export type BridgeSourceAsset = 'usd' | 'eur' | 'mxn' | 'brl' | 'gbp';
|
|
@@ -335,6 +521,22 @@ export declare namespace ClientAuth {
|
|
|
335
521
|
type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse,
|
|
336
522
|
type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse,
|
|
337
523
|
type FiatCustomerResponse as FiatCustomerResponse,
|
|
524
|
+
type FiatCurrencyCode as FiatCurrencyCode,
|
|
525
|
+
type CryptoCurrencyCode as CryptoCurrencyCode,
|
|
526
|
+
type Caip2ChainID as Caip2ChainID,
|
|
527
|
+
type FiatAmount as FiatAmount,
|
|
528
|
+
type FiatOnrampSource as FiatOnrampSource,
|
|
529
|
+
type FiatOnrampDestination as FiatOnrampDestination,
|
|
530
|
+
type FiatOnrampEnvironment as FiatOnrampEnvironment,
|
|
531
|
+
type FiatOnrampProvider as FiatOnrampProvider,
|
|
532
|
+
type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput,
|
|
533
|
+
type FiatOnrampQuote as FiatOnrampQuote,
|
|
534
|
+
type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse,
|
|
535
|
+
type GetFiatOnrampURLInput as GetFiatOnrampURLInput,
|
|
536
|
+
type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse,
|
|
537
|
+
type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus,
|
|
538
|
+
type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput,
|
|
539
|
+
type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse,
|
|
338
540
|
type BridgeDestinationAsset as BridgeDestinationAsset,
|
|
339
541
|
type BridgeSourceAsset as BridgeSourceAsset,
|
|
340
542
|
type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource,
|
package/src/resources/index.ts
CHANGED
|
@@ -5,7 +5,15 @@ export {
|
|
|
5
5
|
type AccountWallet,
|
|
6
6
|
type AccountResponse,
|
|
7
7
|
type AccountWalletConfigurationItem,
|
|
8
|
+
type AccountDisplayName,
|
|
9
|
+
type AccountWalletsConfiguration,
|
|
8
10
|
type CreateAccountInput,
|
|
11
|
+
type UpdateAccountInput,
|
|
12
|
+
type AccountsListResponse,
|
|
13
|
+
type AssetAccountWithBalance,
|
|
14
|
+
type AccountsDashboardListResponse,
|
|
15
|
+
type AccountBalanceResponse,
|
|
16
|
+
type AccountBalanceParams,
|
|
9
17
|
} from './accounts';
|
|
10
18
|
export {
|
|
11
19
|
Aggregations,
|
|
@@ -17,7 +25,18 @@ export {
|
|
|
17
25
|
type AggregationInput,
|
|
18
26
|
} from './aggregations';
|
|
19
27
|
export { Analytics, type AnalyticsEventInput } from './analytics';
|
|
20
|
-
export {
|
|
28
|
+
export {
|
|
29
|
+
Apps,
|
|
30
|
+
type AppResponse,
|
|
31
|
+
type EmailInviteInput,
|
|
32
|
+
type WalletInviteInput,
|
|
33
|
+
type PhoneInviteInput,
|
|
34
|
+
type UserInviteInput,
|
|
35
|
+
type AllowlistEntry,
|
|
36
|
+
type AllowlistDeletionResponse,
|
|
37
|
+
type TestAccount,
|
|
38
|
+
type TestAccountsResponse,
|
|
39
|
+
} from './apps/apps';
|
|
21
40
|
export {
|
|
22
41
|
ClientAuth,
|
|
23
42
|
type ExternalOAuthProviderID,
|
|
@@ -32,6 +51,22 @@ export {
|
|
|
32
51
|
type BridgeFiatCustomerResponse,
|
|
33
52
|
type BridgeSandboxFiatCustomerResponse,
|
|
34
53
|
type FiatCustomerResponse,
|
|
54
|
+
type FiatCurrencyCode,
|
|
55
|
+
type CryptoCurrencyCode,
|
|
56
|
+
type Caip2ChainID,
|
|
57
|
+
type FiatAmount,
|
|
58
|
+
type FiatOnrampSource,
|
|
59
|
+
type FiatOnrampDestination,
|
|
60
|
+
type FiatOnrampEnvironment,
|
|
61
|
+
type FiatOnrampProvider,
|
|
62
|
+
type GetFiatOnrampQuotesInput,
|
|
63
|
+
type FiatOnrampQuote,
|
|
64
|
+
type GetFiatOnrampQuotesResponse,
|
|
65
|
+
type GetFiatOnrampURLInput,
|
|
66
|
+
type GetFiatOnrampURLResponse,
|
|
67
|
+
type FiatOnrampTransactionStatus,
|
|
68
|
+
type GetFiatOnrampTransactionStatusInput,
|
|
69
|
+
type GetFiatOnrampTransactionStatusResponse,
|
|
35
70
|
type BridgeDestinationAsset,
|
|
36
71
|
type BridgeSourceAsset,
|
|
37
72
|
type BridgeFiatVirtualAccountSource,
|
|
@@ -49,23 +84,53 @@ export {
|
|
|
49
84
|
type BridgeSandboxFiatVirtualAccountResponse,
|
|
50
85
|
type FiatVirtualAccountResponse,
|
|
51
86
|
} from './client-auth';
|
|
52
|
-
export {
|
|
87
|
+
export {
|
|
88
|
+
Intents,
|
|
89
|
+
type IntentType,
|
|
90
|
+
type IntentStatus,
|
|
91
|
+
type RuleIntentRequestDetails,
|
|
92
|
+
type IntentAuthorizationKeyQuorumMember,
|
|
93
|
+
type IntentAuthorizationMember,
|
|
94
|
+
type IntentAuthorization,
|
|
95
|
+
type BaseActionResult,
|
|
96
|
+
type RpcIntentResponse,
|
|
97
|
+
type WalletIntentResponse,
|
|
98
|
+
type PolicyIntentResponse,
|
|
99
|
+
type KeyQuorumIntentResponse,
|
|
100
|
+
type RuleIntentResponse,
|
|
101
|
+
type IntentResponse,
|
|
102
|
+
type IntentListParams,
|
|
103
|
+
type IntentCreatePolicyRuleParams,
|
|
104
|
+
type IntentDeletePolicyRuleParams,
|
|
105
|
+
type IntentRpcParams,
|
|
106
|
+
type IntentUpdateKeyQuorumParams,
|
|
107
|
+
type IntentUpdatePolicyParams,
|
|
108
|
+
type IntentUpdatePolicyRuleParams,
|
|
109
|
+
type IntentUpdateWalletParams,
|
|
110
|
+
type IntentResponsesCursor,
|
|
111
|
+
} from './intents';
|
|
53
112
|
export {
|
|
54
113
|
KeyQuorums,
|
|
114
|
+
type KeyQuorumCreateParams,
|
|
55
115
|
type KeyQuorum,
|
|
56
116
|
type KeyQuorumDeleteResponse,
|
|
57
|
-
type KeyQuorumCreateParams,
|
|
58
117
|
type KeyQuorumDeleteParams,
|
|
59
118
|
type KeyQuorumUpdateParams,
|
|
60
119
|
} from './key-quorums';
|
|
120
|
+
export {
|
|
121
|
+
KrakenEmbed,
|
|
122
|
+
type KrakenEmbedGetPortfolioSummaryQueryParams,
|
|
123
|
+
type KrakenEmbedCurrentDayPnl,
|
|
124
|
+
type KrakenEmbedGetPortfolioSummaryResponse,
|
|
125
|
+
} from './kraken-embed';
|
|
61
126
|
export {
|
|
62
127
|
Policies,
|
|
63
|
-
type Policy,
|
|
64
128
|
type SuiTransactionCommandOperator,
|
|
65
129
|
type SuiTransferObjectsCommandField,
|
|
66
130
|
type TronTransactionCondition,
|
|
67
131
|
type SuiTransactionCommandCondition,
|
|
68
132
|
type SuiTransferObjectsCommandCondition,
|
|
133
|
+
type Policy,
|
|
69
134
|
type PolicyCreateRuleResponse,
|
|
70
135
|
type PolicyDeleteResponse,
|
|
71
136
|
type PolicyDeleteRuleResponse,
|
|
@@ -82,8 +147,6 @@ export {
|
|
|
82
147
|
export { Transactions, type TransactionGetResponse } from './transactions';
|
|
83
148
|
export {
|
|
84
149
|
Users,
|
|
85
|
-
type AuthenticatedUser,
|
|
86
|
-
type User,
|
|
87
150
|
type LinkedAccountEmail,
|
|
88
151
|
type LinkedAccountPhone,
|
|
89
152
|
type LinkedAccountBaseWallet,
|
|
@@ -146,8 +209,10 @@ export {
|
|
|
146
209
|
type TotpMfaMethod,
|
|
147
210
|
type PasskeyMfaMethod,
|
|
148
211
|
type LinkedMfaMethod,
|
|
212
|
+
type User,
|
|
149
213
|
type OAuthTokens,
|
|
150
214
|
type UserWithIdentityToken,
|
|
215
|
+
type AuthenticatedUser,
|
|
151
216
|
type UserCreateParams,
|
|
152
217
|
type UserListParams,
|
|
153
218
|
type UserGetByCustomAuthIDParams,
|
|
@@ -170,7 +235,6 @@ export {
|
|
|
170
235
|
} from './users';
|
|
171
236
|
export {
|
|
172
237
|
Wallets,
|
|
173
|
-
type Wallet,
|
|
174
238
|
type CurveSigningChainType,
|
|
175
239
|
type ExtendedChainType,
|
|
176
240
|
type FirstClassChainType,
|
|
@@ -182,6 +246,8 @@ export {
|
|
|
182
246
|
type CustodialWallet,
|
|
183
247
|
type HpkeImportConfig,
|
|
184
248
|
type SuiCommandName,
|
|
249
|
+
type Wallet,
|
|
250
|
+
type WalletUpdateRequestBody,
|
|
185
251
|
type WalletBatchItemInput,
|
|
186
252
|
type WalletBatchCreateInput,
|
|
187
253
|
type WalletBatchCreateResult,
|
|
@@ -206,10 +272,11 @@ export {
|
|
|
206
272
|
type SolanaSignTransactionRpcResponse,
|
|
207
273
|
type SolanaSignAndSendTransactionRpcResponse,
|
|
208
274
|
type SolanaSignMessageRpcResponse,
|
|
275
|
+
type WalletRpcRequestBody,
|
|
276
|
+
type WalletRpcResponse,
|
|
209
277
|
type WalletExportResponse,
|
|
210
278
|
type WalletInitImportResponse,
|
|
211
279
|
type WalletRawSignResponse,
|
|
212
|
-
type WalletRpcResponse,
|
|
213
280
|
type WalletAuthenticateWithJwtResponse,
|
|
214
281
|
type WalletCreateWalletsWithRecoveryResponse,
|
|
215
282
|
type WalletCreateParams,
|
|
@@ -226,13 +293,12 @@ export {
|
|
|
226
293
|
} from './wallets/wallets';
|
|
227
294
|
export {
|
|
228
295
|
Webhooks,
|
|
229
|
-
type
|
|
230
|
-
type
|
|
231
|
-
type
|
|
232
|
-
type
|
|
233
|
-
type
|
|
234
|
-
type
|
|
235
|
-
type UserWalletCreatedWebhookPayload,
|
|
296
|
+
type IntentCreatedWebhookPayload,
|
|
297
|
+
type IntentAuthorizedWebhookPayload,
|
|
298
|
+
type IntentExecutedWebhookPayload,
|
|
299
|
+
type IntentFailedWebhookPayload,
|
|
300
|
+
type MfaEnabledWebhookPayload,
|
|
301
|
+
type MfaDisabledWebhookPayload,
|
|
236
302
|
type TransactionBroadcastedWebhookPayload,
|
|
237
303
|
type TransactionConfirmedWebhookPayload,
|
|
238
304
|
type TransactionExecutionRevertedWebhookPayload,
|
|
@@ -240,23 +306,29 @@ export {
|
|
|
240
306
|
type TransactionFailedWebhookPayload,
|
|
241
307
|
type TransactionReplacedWebhookPayload,
|
|
242
308
|
type TransactionProviderErrorWebhookPayload,
|
|
309
|
+
type UserOperationCompletedWebhookPayload,
|
|
310
|
+
type UserCreatedWebhookPayload,
|
|
311
|
+
type UserAuthenticatedWebhookPayload,
|
|
312
|
+
type UserLinkedAccountWebhookPayload,
|
|
313
|
+
type UserUnlinkedAccountWebhookPayload,
|
|
314
|
+
type UserUpdatedAccountWebhookPayload,
|
|
315
|
+
type UserTransferredAccountWebhookPayload,
|
|
316
|
+
type UserWalletCreatedWebhookPayload,
|
|
243
317
|
type FundsDepositedWebhookPayload,
|
|
244
318
|
type FundsWithdrawnWebhookPayload,
|
|
245
319
|
type PrivateKeyExportWebhookPayload,
|
|
246
320
|
type WalletRecoverySetupWebhookPayload,
|
|
247
321
|
type WalletRecoveredWebhookPayload,
|
|
248
|
-
type
|
|
249
|
-
type
|
|
250
|
-
type
|
|
251
|
-
type
|
|
322
|
+
type YieldDepositConfirmedWebhookPayload,
|
|
323
|
+
type YieldWithdrawConfirmedWebhookPayload,
|
|
324
|
+
type YieldClaimConfirmedWebhookPayload,
|
|
325
|
+
type WebhookPayload,
|
|
252
326
|
type KrakenEmbedQuoteExecutedWebhookPayload,
|
|
253
327
|
type KrakenEmbedQuoteExecutionFailedWebhookPayload,
|
|
254
328
|
type KrakenEmbedQuoteCancelledWebhookPayload,
|
|
255
329
|
type KrakenEmbedUserVerifiedWebhookPayload,
|
|
256
330
|
type KrakenEmbedUserDisabledWebhookPayload,
|
|
257
331
|
type KrakenEmbedUserClosedWebhookPayload,
|
|
258
|
-
type YieldDepositConfirmedWebhookPayload,
|
|
259
|
-
type YieldWithdrawConfirmedWebhookPayload,
|
|
260
332
|
} from './webhooks';
|
|
261
333
|
export {
|
|
262
334
|
Yield,
|
|
@@ -277,4 +349,5 @@ export {
|
|
|
277
349
|
type EthereumYieldClaimInput,
|
|
278
350
|
type EthereumYieldClaimReward,
|
|
279
351
|
type EthereumYieldClaimResponse,
|
|
352
|
+
type EthereumYieldClaimIDInput,
|
|
280
353
|
} from './yield';
|