@privy-io/api-types 0.23.0 → 0.24.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 +30 -0
- package/client.d.mts +16 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +16 -16
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/aggregations.d.mts +1 -1
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +1 -1
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +88 -1
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +88 -1
- package/resources/apps.d.ts.map +1 -1
- package/resources/cards.d.mts +83 -6
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +83 -6
- package/resources/cards.d.ts.map +1 -1
- package/resources/client-auth.d.mts +1 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +1 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/fiat.d.mts +177 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts +177 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/index.d.mts +8 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +82 -4
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +82 -4
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +14 -1
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +14 -1
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/policies/condition-sets.d.mts +21 -0
- package/resources/policies/condition-sets.d.mts.map +1 -0
- package/resources/policies/condition-sets.d.ts +21 -0
- package/resources/policies/condition-sets.d.ts.map +1 -0
- package/resources/policies/condition-sets.js +9 -0
- package/resources/policies/condition-sets.js.map +1 -0
- package/resources/policies/condition-sets.mjs +5 -0
- package/resources/policies/condition-sets.mjs.map +1 -0
- package/resources/policies/index.d.mts +3 -0
- package/resources/policies/index.d.mts.map +1 -0
- package/resources/policies/index.d.ts +3 -0
- package/resources/policies/index.d.ts.map +1 -0
- package/resources/policies/index.js +9 -0
- package/resources/policies/index.js.map +1 -0
- package/resources/policies/index.mjs +4 -0
- package/resources/policies/index.mjs.map +1 -0
- package/resources/policies/policies.d.mts +775 -0
- package/resources/policies/policies.d.mts.map +1 -0
- package/resources/policies/policies.d.ts +775 -0
- package/resources/policies/policies.d.ts.map +1 -0
- package/resources/policies/policies.js +17 -0
- package/resources/policies/policies.js.map +1 -0
- package/resources/policies/policies.mjs +12 -0
- package/resources/policies/policies.mjs.map +1 -0
- package/resources/policies.d.mts +1 -698
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -698
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +2 -5
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +1 -3
- package/resources/policies.mjs.map +1 -1
- package/resources/users.d.mts +25 -20
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +25 -20
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-automations.d.mts +4 -0
- package/resources/wallet-automations.d.mts.map +1 -1
- package/resources/wallet-automations.d.ts +4 -0
- package/resources/wallet-automations.d.ts.map +1 -1
- package/resources/wallets/actions.d.mts +38 -11
- package/resources/wallets/actions.d.mts.map +1 -1
- package/resources/wallets/actions.d.ts +38 -11
- package/resources/wallets/actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +3 -3
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +3 -3
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -2
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -2
- 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 +4 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +4 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +60 -9
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +60 -9
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +63 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +63 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +2 -2
- package/resources/yield.d.ts +2 -2
- package/src/client.ts +132 -56
- package/src/resources/aggregations.ts +1 -1
- package/src/resources/apps.ts +126 -0
- package/src/resources/cards.ts +107 -5
- package/src/resources/client-auth.ts +1 -1
- package/src/resources/fiat.ts +228 -0
- package/src/resources/index.ts +39 -1
- package/src/resources/intents.ts +114 -3
- package/src/resources/key-quorums.ts +16 -0
- package/src/resources/policies/condition-sets.ts +25 -0
- package/src/resources/policies/index.ts +63 -0
- package/src/resources/policies/policies.ts +1122 -0
- package/src/resources/policies.ts +1 -1023
- package/src/resources/users.ts +31 -25
- package/src/resources/wallet-automations.ts +5 -0
- package/src/resources/wallets/actions.ts +46 -10
- package/src/resources/wallets/balance.ts +3 -0
- package/src/resources/wallets/index.ts +4 -0
- package/src/resources/wallets/transactions.ts +4 -0
- package/src/resources/wallets/wallets.ts +71 -0
- package/src/resources/webhooks.ts +78 -0
- package/src/resources/yield.ts +2 -2
- 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
package/src/resources/users.ts
CHANGED
|
@@ -211,6 +211,11 @@ export interface LinkedAccountBitcoinSegwitEmbeddedWallet {
|
|
|
211
211
|
|
|
212
212
|
type: 'wallet';
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Whether the user can unilaterally sign with this wallet.
|
|
216
|
+
*/
|
|
217
|
+
user_can_sign: boolean;
|
|
218
|
+
|
|
214
219
|
verified_at: number;
|
|
215
220
|
|
|
216
221
|
wallet_client: 'privy';
|
|
@@ -218,11 +223,6 @@ export interface LinkedAccountBitcoinSegwitEmbeddedWallet {
|
|
|
218
223
|
wallet_client_type: 'privy';
|
|
219
224
|
|
|
220
225
|
wallet_index: number;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Whether the user can unilaterally sign with this wallet.
|
|
224
|
-
*/
|
|
225
|
-
user_can_sign?: boolean;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/**
|
|
@@ -256,6 +256,11 @@ export interface LinkedAccountBitcoinTaprootEmbeddedWallet {
|
|
|
256
256
|
|
|
257
257
|
type: 'wallet';
|
|
258
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Whether the user can unilaterally sign with this wallet.
|
|
261
|
+
*/
|
|
262
|
+
user_can_sign: boolean;
|
|
263
|
+
|
|
259
264
|
verified_at: number;
|
|
260
265
|
|
|
261
266
|
wallet_client: 'privy';
|
|
@@ -263,11 +268,6 @@ export interface LinkedAccountBitcoinTaprootEmbeddedWallet {
|
|
|
263
268
|
wallet_client_type: 'privy';
|
|
264
269
|
|
|
265
270
|
wallet_index: number;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Whether the user can unilaterally sign with this wallet.
|
|
269
|
-
*/
|
|
270
|
-
user_can_sign?: boolean;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
/**
|
|
@@ -325,6 +325,11 @@ export interface LinkedAccountCurveSigningEmbeddedWallet {
|
|
|
325
325
|
|
|
326
326
|
type: 'wallet';
|
|
327
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Whether the user can unilaterally sign with this wallet.
|
|
330
|
+
*/
|
|
331
|
+
user_can_sign: boolean;
|
|
332
|
+
|
|
328
333
|
verified_at: number;
|
|
329
334
|
|
|
330
335
|
wallet_client: 'privy';
|
|
@@ -332,11 +337,6 @@ export interface LinkedAccountCurveSigningEmbeddedWallet {
|
|
|
332
337
|
wallet_client_type: 'privy';
|
|
333
338
|
|
|
334
339
|
wallet_index: number;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Whether the user can unilaterally sign with this wallet.
|
|
338
|
-
*/
|
|
339
|
-
user_can_sign?: boolean;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
/**
|
|
@@ -572,6 +572,11 @@ export interface LinkedAccountEthereumEmbeddedWallet {
|
|
|
572
572
|
|
|
573
573
|
type: 'wallet';
|
|
574
574
|
|
|
575
|
+
/**
|
|
576
|
+
* Whether the user can unilaterally sign with this wallet.
|
|
577
|
+
*/
|
|
578
|
+
user_can_sign: boolean;
|
|
579
|
+
|
|
575
580
|
verified_at: number;
|
|
576
581
|
|
|
577
582
|
wallet_client: 'privy';
|
|
@@ -579,11 +584,6 @@ export interface LinkedAccountEthereumEmbeddedWallet {
|
|
|
579
584
|
wallet_client_type: 'privy';
|
|
580
585
|
|
|
581
586
|
wallet_index: number;
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Whether the user can unilaterally sign with this wallet.
|
|
585
|
-
*/
|
|
586
|
-
user_can_sign?: boolean;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
/**
|
|
@@ -983,6 +983,11 @@ export interface LinkedAccountSolanaEmbeddedWallet {
|
|
|
983
983
|
|
|
984
984
|
type: 'wallet';
|
|
985
985
|
|
|
986
|
+
/**
|
|
987
|
+
* Whether the user can unilaterally sign with this wallet.
|
|
988
|
+
*/
|
|
989
|
+
user_can_sign: boolean;
|
|
990
|
+
|
|
986
991
|
verified_at: number;
|
|
987
992
|
|
|
988
993
|
wallet_client: 'privy';
|
|
@@ -990,11 +995,6 @@ export interface LinkedAccountSolanaEmbeddedWallet {
|
|
|
990
995
|
wallet_client_type: 'privy';
|
|
991
996
|
|
|
992
997
|
wallet_index: number;
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* Whether the user can unilaterally sign with this wallet.
|
|
996
|
-
*/
|
|
997
|
-
user_can_sign?: boolean;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
/**
|
|
@@ -1294,6 +1294,12 @@ export interface User {
|
|
|
1294
1294
|
* Custom metadata associated with the user.
|
|
1295
1295
|
*/
|
|
1296
1296
|
custom_metadata?: CustomMetadata;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Unix timestamp in seconds of when the user was frozen, or `null` if not frozen.
|
|
1300
|
+
* Not included in every user response.
|
|
1301
|
+
*/
|
|
1302
|
+
frozen_at?: number | null;
|
|
1297
1303
|
}
|
|
1298
1304
|
|
|
1299
1305
|
/**
|
|
@@ -415,6 +415,11 @@ export interface WalletAutomationReindexRequestBody {
|
|
|
415
415
|
*/
|
|
416
416
|
asset_address: string;
|
|
417
417
|
|
|
418
|
+
/**
|
|
419
|
+
* Automation to target when more than one active automation matches the asset.
|
|
420
|
+
*/
|
|
421
|
+
automation_id?: string;
|
|
422
|
+
|
|
418
423
|
/**
|
|
419
424
|
* An EVM, Solana, or Tron CAIP-2 chain identifier supported by wallet automation
|
|
420
425
|
* reindex.
|
|
@@ -27,8 +27,7 @@ export interface AaveVaultDetails {
|
|
|
27
27
|
admin_wallet_id: string;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Annual percentage yield earned by the app from
|
|
31
|
-
* points.
|
|
30
|
+
* Annual percentage yield earned by the app from vault fees, in basis points.
|
|
32
31
|
*/
|
|
33
32
|
app_apy: number | null;
|
|
34
33
|
|
|
@@ -898,6 +897,9 @@ export interface FailureReason {
|
|
|
898
897
|
* Query parameters for listing wallet actions.
|
|
899
898
|
*/
|
|
900
899
|
export interface ListWalletActionsQuery {
|
|
900
|
+
/**
|
|
901
|
+
* Cursor returned by the previous page.
|
|
902
|
+
*/
|
|
901
903
|
cursor?: string;
|
|
902
904
|
|
|
903
905
|
limit?: number | null;
|
|
@@ -937,8 +939,7 @@ export interface MorphoVaultDetails {
|
|
|
937
939
|
admin_wallet_id: string;
|
|
938
940
|
|
|
939
941
|
/**
|
|
940
|
-
* Annual percentage yield earned by the app from
|
|
941
|
-
* points.
|
|
942
|
+
* Annual percentage yield earned by the app from vault fees, in basis points.
|
|
942
943
|
*/
|
|
943
944
|
app_apy: number | null;
|
|
944
945
|
|
|
@@ -1006,6 +1007,12 @@ export interface PayoutResponse {
|
|
|
1006
1007
|
*/
|
|
1007
1008
|
destination: FiatAPI.PayoutDestination;
|
|
1008
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* A developer fee as a percentage string from 0 up to (not including) 100, e.g.
|
|
1012
|
+
* "1.5" for 1.5%.
|
|
1013
|
+
*/
|
|
1014
|
+
developer_fee_percent: FiatAPI.DeveloperFeePercent;
|
|
1015
|
+
|
|
1009
1016
|
/**
|
|
1010
1017
|
* The Privy API environment.
|
|
1011
1018
|
*/
|
|
@@ -1261,8 +1268,7 @@ export interface TempoVaultDetails {
|
|
|
1261
1268
|
admin_wallet_id: string | null;
|
|
1262
1269
|
|
|
1263
1270
|
/**
|
|
1264
|
-
* Annual percentage yield earned by the app from
|
|
1265
|
-
* points.
|
|
1271
|
+
* Annual percentage yield earned by the app from vault fees, in basis points.
|
|
1266
1272
|
*/
|
|
1267
1273
|
app_apy: number | null;
|
|
1268
1274
|
|
|
@@ -1305,6 +1311,34 @@ export interface TempoVaultDetails {
|
|
|
1305
1311
|
vault_address: string;
|
|
1306
1312
|
}
|
|
1307
1313
|
|
|
1314
|
+
/**
|
|
1315
|
+
* A wallet action step representing a Tempo Zone settlement on its parent chain.
|
|
1316
|
+
*/
|
|
1317
|
+
export interface TempoZoneSettlementWalletActionStep {
|
|
1318
|
+
/**
|
|
1319
|
+
* CAIP-2 identifier of the Tempo parent chain, or null when unavailable.
|
|
1320
|
+
*/
|
|
1321
|
+
caip2: string | null;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Status of an external transaction step in a wallet action.
|
|
1325
|
+
*/
|
|
1326
|
+
status: ExternalTransactionWalletActionStepStatus;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1330
|
+
* bytes).
|
|
1331
|
+
*/
|
|
1332
|
+
transaction_hash: WalletsAPI.Hex | null;
|
|
1333
|
+
|
|
1334
|
+
type: 'tempo_zone_settlement';
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
1338
|
+
*/
|
|
1339
|
+
failure_reason?: FailureReason;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1308
1342
|
/**
|
|
1309
1343
|
* Response for a transfer action.
|
|
1310
1344
|
*/
|
|
@@ -1447,8 +1481,7 @@ export interface VedaVaultDetails {
|
|
|
1447
1481
|
admin_wallet_id: string;
|
|
1448
1482
|
|
|
1449
1483
|
/**
|
|
1450
|
-
* Annual percentage yield earned by the app from
|
|
1451
|
-
* points.
|
|
1484
|
+
* Annual percentage yield earned by the app from vault fees, in basis points.
|
|
1452
1485
|
*/
|
|
1453
1486
|
app_apy: number | null;
|
|
1454
1487
|
|
|
@@ -1522,7 +1555,8 @@ export type WalletActionStep =
|
|
|
1522
1555
|
| SvmTransactionWalletActionStep
|
|
1523
1556
|
| TvmTransactionWalletActionStep
|
|
1524
1557
|
| ExternalTransactionWalletActionStep
|
|
1525
|
-
| CustodianTransactionWalletActionStep
|
|
1558
|
+
| CustodianTransactionWalletActionStep
|
|
1559
|
+
| TempoZoneSettlementWalletActionStep;
|
|
1526
1560
|
|
|
1527
1561
|
/**
|
|
1528
1562
|
* Type of a wallet action step.
|
|
@@ -1533,7 +1567,8 @@ export type WalletActionStepType =
|
|
|
1533
1567
|
| 'svm_transaction'
|
|
1534
1568
|
| 'tvm_transaction'
|
|
1535
1569
|
| 'external_transaction'
|
|
1536
|
-
| 'custodian_transaction'
|
|
1570
|
+
| 'custodian_transaction'
|
|
1571
|
+
| 'tempo_zone_settlement';
|
|
1537
1572
|
|
|
1538
1573
|
/**
|
|
1539
1574
|
* Type of wallet action
|
|
@@ -1588,6 +1623,7 @@ export declare namespace Actions {
|
|
|
1588
1623
|
type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
|
|
1589
1624
|
type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
|
|
1590
1625
|
type TempoVaultDetails as TempoVaultDetails,
|
|
1626
|
+
type TempoZoneSettlementWalletActionStep as TempoZoneSettlementWalletActionStep,
|
|
1591
1627
|
type TransferActionResponse as TransferActionResponse,
|
|
1592
1628
|
type VedaVaultDetails as VedaVaultDetails,
|
|
1593
1629
|
type WalletActionInclude as WalletActionInclude,
|
|
@@ -42,6 +42,7 @@ export namespace BalanceGetResponse {
|
|
|
42
42
|
| 'avax'
|
|
43
43
|
| 'pol'
|
|
44
44
|
| 'bnb'
|
|
45
|
+
| 'mon'
|
|
45
46
|
| 'usdt'
|
|
46
47
|
| 'eurc'
|
|
47
48
|
| 'usdb'
|
|
@@ -84,6 +85,7 @@ export interface BalanceGetParams {
|
|
|
84
85
|
| 'avax'
|
|
85
86
|
| 'pol'
|
|
86
87
|
| 'bnb'
|
|
88
|
+
| 'mon'
|
|
87
89
|
| 'usdt'
|
|
88
90
|
| 'eurc'
|
|
89
91
|
| 'usdb'
|
|
@@ -119,6 +121,7 @@ export interface BalanceGetParams {
|
|
|
119
121
|
| 'hyperevm'
|
|
120
122
|
| 'hypercore'
|
|
121
123
|
| 'arc'
|
|
124
|
+
| 'monad'
|
|
122
125
|
| 'tempo_testnet'
|
|
123
126
|
| 'hoodi'
|
|
124
127
|
| 'sepolia'
|
|
@@ -41,6 +41,7 @@ export {
|
|
|
41
41
|
type TvmTransactionWalletActionStep,
|
|
42
42
|
type TvmWalletActionStepStatus,
|
|
43
43
|
type TempoVaultDetails,
|
|
44
|
+
type TempoZoneSettlementWalletActionStep,
|
|
44
45
|
type TransferActionResponse,
|
|
45
46
|
type VedaVaultDetails,
|
|
46
47
|
type WalletActionInclude,
|
|
@@ -82,6 +83,8 @@ export {
|
|
|
82
83
|
type CryptoDepositAccountCaip2,
|
|
83
84
|
type CryptoDepositAccountChain,
|
|
84
85
|
type CryptoDepositAccountConfigResponse,
|
|
86
|
+
type CryptoDepositAccountConfigSearchResponse,
|
|
87
|
+
type CryptoDepositAccountSearchCurrency,
|
|
85
88
|
type CryptoDepositAccountSourceChain,
|
|
86
89
|
type CryptoDepositAccountSourceCurrency,
|
|
87
90
|
type CryptoDepositAddressRoute,
|
|
@@ -103,6 +106,7 @@ export {
|
|
|
103
106
|
type DepositAccountCryptoQuoteAsset,
|
|
104
107
|
type DepositAccountCryptoQuoteRequestBody,
|
|
105
108
|
type DepositAccountCryptoQuoteResponse,
|
|
109
|
+
type DerivationInput,
|
|
106
110
|
type DetachWalletAutomationRequestBody,
|
|
107
111
|
type DeveloperFee,
|
|
108
112
|
type EncryptedAuthorizationKey,
|
|
@@ -104,6 +104,7 @@ export interface TransactionGetParams {
|
|
|
104
104
|
| 'avax'
|
|
105
105
|
| 'pol'
|
|
106
106
|
| 'bnb'
|
|
107
|
+
| 'mon'
|
|
107
108
|
| 'usdt'
|
|
108
109
|
| 'eurc'
|
|
109
110
|
| 'usdb'
|
|
@@ -113,6 +114,9 @@ export interface TransactionGetParams {
|
|
|
113
114
|
| 'trx'
|
|
114
115
|
| Array<WalletsAPI.WalletAsset>;
|
|
115
116
|
|
|
117
|
+
/**
|
|
118
|
+
* Cursor returned by the previous page.
|
|
119
|
+
*/
|
|
116
120
|
cursor?: string;
|
|
117
121
|
|
|
118
122
|
/**
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
SvmWalletActionStepStatus,
|
|
46
46
|
SwapActionResponse,
|
|
47
47
|
TempoVaultDetails,
|
|
48
|
+
TempoZoneSettlementWalletActionStep,
|
|
48
49
|
TransferActionResponse,
|
|
49
50
|
TvmTransactionWalletActionStep,
|
|
50
51
|
TvmWalletActionStepStatus,
|
|
@@ -726,6 +727,37 @@ export interface CryptoDepositAccountConfigResponse {
|
|
|
726
727
|
currencies: Array<CryptoDepositAccountSourceCurrency>;
|
|
727
728
|
}
|
|
728
729
|
|
|
730
|
+
/**
|
|
731
|
+
* Source tokens matching a crypto deposit-account search.
|
|
732
|
+
*/
|
|
733
|
+
export interface CryptoDepositAccountConfigSearchResponse {
|
|
734
|
+
chains: { [key: string]: CryptoDepositAccountChain };
|
|
735
|
+
|
|
736
|
+
currencies: Array<CryptoDepositAccountSearchCurrency>;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* A source token matched by crypto deposit-account search.
|
|
741
|
+
*/
|
|
742
|
+
export interface CryptoDepositAccountSearchCurrency {
|
|
743
|
+
chains: Array<CryptoDepositAccountSourceChain>;
|
|
744
|
+
|
|
745
|
+
name: string;
|
|
746
|
+
|
|
747
|
+
symbol: string;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Whether this token is verified as the canonical token for its symbol, since
|
|
751
|
+
* unverified tokens may be lookalikes.
|
|
752
|
+
*/
|
|
753
|
+
verified: boolean;
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* URL of the token logo, omitted when none is known.
|
|
757
|
+
*/
|
|
758
|
+
logo_uri?: string;
|
|
759
|
+
}
|
|
760
|
+
|
|
729
761
|
/**
|
|
730
762
|
* A token contract on one source chain in the crypto deposit-account catalog.
|
|
731
763
|
*/
|
|
@@ -1048,6 +1080,17 @@ export interface DepositAccountCryptoQuoteResponse {
|
|
|
1048
1080
|
input_amount: string;
|
|
1049
1081
|
}
|
|
1050
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* Derives the new wallet from an existing HD root wallet so both share one seed
|
|
1085
|
+
* phrase.
|
|
1086
|
+
*/
|
|
1087
|
+
export interface DerivationInput {
|
|
1088
|
+
/**
|
|
1089
|
+
* ID of the HD root wallet to derive the new wallet from.
|
|
1090
|
+
*/
|
|
1091
|
+
wallet_id: string;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1051
1094
|
/**
|
|
1052
1095
|
* Request body for detaching automations from a wallet (wallet ID comes from the
|
|
1053
1096
|
* URL).
|
|
@@ -3669,6 +3712,7 @@ export type TransactionChainNameInput =
|
|
|
3669
3712
|
| 'solana'
|
|
3670
3713
|
| 'sepolia'
|
|
3671
3714
|
| 'arc'
|
|
3715
|
+
| 'monad'
|
|
3672
3716
|
| (string & {});
|
|
3673
3717
|
|
|
3674
3718
|
/**
|
|
@@ -3857,6 +3901,7 @@ export interface TransferReceivedTransactionDetail {
|
|
|
3857
3901
|
| 'avax'
|
|
3858
3902
|
| 'pol'
|
|
3859
3903
|
| 'bnb'
|
|
3904
|
+
| 'mon'
|
|
3860
3905
|
| 'usdt'
|
|
3861
3906
|
| 'eurc'
|
|
3862
3907
|
| 'usdb'
|
|
@@ -4061,6 +4106,7 @@ export interface TransferSentTransactionDetail {
|
|
|
4061
4106
|
| 'avax'
|
|
4062
4107
|
| 'pol'
|
|
4063
4108
|
| 'bnb'
|
|
4109
|
+
| 'mon'
|
|
4064
4110
|
| 'usdt'
|
|
4065
4111
|
| 'eurc'
|
|
4066
4112
|
| 'usdb'
|
|
@@ -4638,6 +4684,12 @@ export interface Wallet {
|
|
|
4638
4684
|
*/
|
|
4639
4685
|
external_id?: string;
|
|
4640
4686
|
|
|
4687
|
+
/**
|
|
4688
|
+
* ID of the HD root wallet this wallet was derived from, or null if it was not
|
|
4689
|
+
* derived from another wallet.
|
|
4690
|
+
*/
|
|
4691
|
+
parent_wallet_id?: string | null;
|
|
4692
|
+
|
|
4641
4693
|
/**
|
|
4642
4694
|
* The compressed, raw public key for the wallet along the chain cryptographic
|
|
4643
4695
|
* curve.
|
|
@@ -4704,6 +4756,7 @@ export type WalletAsset =
|
|
|
4704
4756
|
| 'avax'
|
|
4705
4757
|
| 'pol'
|
|
4706
4758
|
| 'bnb'
|
|
4759
|
+
| 'mon'
|
|
4707
4760
|
| 'usdt'
|
|
4708
4761
|
| 'eurc'
|
|
4709
4762
|
| 'usdb'
|
|
@@ -4737,6 +4790,7 @@ export type WalletAssetChainNameInput =
|
|
|
4737
4790
|
| 'hyperevm'
|
|
4738
4791
|
| 'hypercore'
|
|
4739
4792
|
| 'arc'
|
|
4793
|
+
| 'monad'
|
|
4740
4794
|
| 'tempo_testnet'
|
|
4741
4795
|
| 'hoodi'
|
|
4742
4796
|
| 'sepolia'
|
|
@@ -4966,6 +5020,12 @@ export interface WalletBatchItemInput {
|
|
|
4966
5020
|
*/
|
|
4967
5021
|
additional_signers?: AdditionalSignerInput;
|
|
4968
5022
|
|
|
5023
|
+
/**
|
|
5024
|
+
* Derives the new wallet from an existing HD root wallet so both share one seed
|
|
5025
|
+
* phrase.
|
|
5026
|
+
*/
|
|
5027
|
+
derivation?: DerivationInput;
|
|
5028
|
+
|
|
4969
5029
|
/**
|
|
4970
5030
|
* A human-readable label for the wallet.
|
|
4971
5031
|
*/
|
|
@@ -5133,6 +5193,7 @@ export type WalletEthereumAsset =
|
|
|
5133
5193
|
| 'avax'
|
|
5134
5194
|
| 'pol'
|
|
5135
5195
|
| 'bnb'
|
|
5196
|
+
| 'mon'
|
|
5136
5197
|
| 'usdt'
|
|
5137
5198
|
| 'eurc'
|
|
5138
5199
|
| 'usdb'
|
|
@@ -5418,6 +5479,12 @@ export interface WalletCreateParams {
|
|
|
5418
5479
|
*/
|
|
5419
5480
|
additional_signers?: AdditionalSignerInput;
|
|
5420
5481
|
|
|
5482
|
+
/**
|
|
5483
|
+
* Body param: Derives the new wallet from an existing HD root wallet so both share
|
|
5484
|
+
* one seed phrase.
|
|
5485
|
+
*/
|
|
5486
|
+
derivation?: DerivationInput;
|
|
5487
|
+
|
|
5421
5488
|
/**
|
|
5422
5489
|
* Body param: A human-readable label for the wallet.
|
|
5423
5490
|
*/
|
|
@@ -6884,6 +6951,8 @@ export declare namespace Wallets {
|
|
|
6884
6951
|
type CryptoDepositAccountCaip2 as CryptoDepositAccountCaip2,
|
|
6885
6952
|
type CryptoDepositAccountChain as CryptoDepositAccountChain,
|
|
6886
6953
|
type CryptoDepositAccountConfigResponse as CryptoDepositAccountConfigResponse,
|
|
6954
|
+
type CryptoDepositAccountConfigSearchResponse as CryptoDepositAccountConfigSearchResponse,
|
|
6955
|
+
type CryptoDepositAccountSearchCurrency as CryptoDepositAccountSearchCurrency,
|
|
6887
6956
|
type CryptoDepositAccountSourceChain as CryptoDepositAccountSourceChain,
|
|
6888
6957
|
type CryptoDepositAccountSourceCurrency as CryptoDepositAccountSourceCurrency,
|
|
6889
6958
|
type CryptoDepositAddressRoute as CryptoDepositAddressRoute,
|
|
@@ -6905,6 +6974,7 @@ export declare namespace Wallets {
|
|
|
6905
6974
|
type DepositAccountCryptoQuoteAsset as DepositAccountCryptoQuoteAsset,
|
|
6906
6975
|
type DepositAccountCryptoQuoteRequestBody as DepositAccountCryptoQuoteRequestBody,
|
|
6907
6976
|
type DepositAccountCryptoQuoteResponse as DepositAccountCryptoQuoteResponse,
|
|
6977
|
+
type DerivationInput as DerivationInput,
|
|
6908
6978
|
type DetachWalletAutomationRequestBody as DetachWalletAutomationRequestBody,
|
|
6909
6979
|
type DeveloperFee as DeveloperFee,
|
|
6910
6980
|
type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
|
|
@@ -7234,6 +7304,7 @@ export declare namespace Wallets {
|
|
|
7234
7304
|
type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
|
|
7235
7305
|
type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
|
|
7236
7306
|
type TempoVaultDetails as TempoVaultDetails,
|
|
7307
|
+
type TempoZoneSettlementWalletActionStep as TempoZoneSettlementWalletActionStep,
|
|
7237
7308
|
type TransferActionResponse as TransferActionResponse,
|
|
7238
7309
|
type VedaVaultDetails as VedaVaultDetails,
|
|
7239
7310
|
type WalletActionInclude as WalletActionInclude,
|
|
@@ -216,6 +216,18 @@ export interface DepositFailedData {
|
|
|
216
216
|
source: DepositStartedSource;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Metadata identifying a refunded wallet deposit.
|
|
221
|
+
*/
|
|
222
|
+
export interface DepositMetadata {
|
|
223
|
+
/**
|
|
224
|
+
* Relay details for a refunded wallet deposit.
|
|
225
|
+
*/
|
|
226
|
+
details: RefundDetails;
|
|
227
|
+
|
|
228
|
+
type: 'refund';
|
|
229
|
+
}
|
|
230
|
+
|
|
219
231
|
/**
|
|
220
232
|
* Details of a fiat deposit that has begun processing into a deposit account.
|
|
221
233
|
*/
|
|
@@ -336,6 +348,11 @@ export interface FundsDepositedWebhookPayload {
|
|
|
336
348
|
*/
|
|
337
349
|
bridge_metadata?: BridgeMetadata;
|
|
338
350
|
|
|
351
|
+
/**
|
|
352
|
+
* Metadata identifying a refunded wallet deposit.
|
|
353
|
+
*/
|
|
354
|
+
deposit_metadata?: DepositMetadata;
|
|
355
|
+
|
|
339
356
|
/**
|
|
340
357
|
* The transaction fee paid, as a stringified bigint in the chain's native token.
|
|
341
358
|
*/
|
|
@@ -1009,6 +1026,58 @@ export interface PrivateKeyExportWebhookPayload {
|
|
|
1009
1026
|
export_source?: WalletsAPI.ExportType;
|
|
1010
1027
|
}
|
|
1011
1028
|
|
|
1029
|
+
/**
|
|
1030
|
+
* Relay details for a refunded wallet deposit.
|
|
1031
|
+
*/
|
|
1032
|
+
export interface RefundDetails {
|
|
1033
|
+
/**
|
|
1034
|
+
* The transaction hash of the transfer that was refunded.
|
|
1035
|
+
*/
|
|
1036
|
+
original_transaction_hash: string;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* The provider that handled the refund.
|
|
1040
|
+
*/
|
|
1041
|
+
provider: 'relay';
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* The Privy wallet action ID of the transfer that was refunded.
|
|
1045
|
+
*/
|
|
1046
|
+
wallet_action_id: string;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Metadata identifying a refunded wallet deposit.
|
|
1051
|
+
*/
|
|
1052
|
+
export interface RefundMetadata {
|
|
1053
|
+
/**
|
|
1054
|
+
* Relay details for a refunded wallet deposit.
|
|
1055
|
+
*/
|
|
1056
|
+
details: RefundDetails;
|
|
1057
|
+
|
|
1058
|
+
type: 'refund';
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Relay details for a refunded wallet deposit.
|
|
1063
|
+
*/
|
|
1064
|
+
export interface RelayRefundDetails {
|
|
1065
|
+
/**
|
|
1066
|
+
* The transaction hash of the transfer that was refunded.
|
|
1067
|
+
*/
|
|
1068
|
+
original_transaction_hash: string;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* The provider that handled the refund.
|
|
1072
|
+
*/
|
|
1073
|
+
provider: 'relay';
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* The Privy wallet action ID of the transfer that was refunded.
|
|
1077
|
+
*/
|
|
1078
|
+
wallet_action_id: string;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1012
1081
|
/**
|
|
1013
1082
|
* Payload for the wallet.seed_phrase_export webhook event.
|
|
1014
1083
|
*/
|
|
@@ -1441,6 +1510,11 @@ export interface UserKYCUpdatedData {
|
|
|
1441
1510
|
* Terms of service status in a KYC update event.
|
|
1442
1511
|
*/
|
|
1443
1512
|
tos: UserKYCUpdatedTosData;
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Stripe Issuing cardholder ID assigned by Bridge for this user.
|
|
1516
|
+
*/
|
|
1517
|
+
stripe_cardholder_id?: string;
|
|
1444
1518
|
}
|
|
1445
1519
|
|
|
1446
1520
|
/**
|
|
@@ -4355,6 +4429,7 @@ export declare namespace Webhooks {
|
|
|
4355
4429
|
type DepositCompletedData as DepositCompletedData,
|
|
4356
4430
|
type DepositCompletedDestination as DepositCompletedDestination,
|
|
4357
4431
|
type DepositFailedData as DepositFailedData,
|
|
4432
|
+
type DepositMetadata as DepositMetadata,
|
|
4358
4433
|
type DepositStartedData as DepositStartedData,
|
|
4359
4434
|
type DepositStartedDestination as DepositStartedDestination,
|
|
4360
4435
|
type DepositStartedSource as DepositStartedSource,
|
|
@@ -4381,6 +4456,9 @@ export declare namespace Webhooks {
|
|
|
4381
4456
|
type OrganizationKYBUpdatedKYBData as OrganizationKYBUpdatedKYBData,
|
|
4382
4457
|
type OrganizationKYBUpdatedTosData as OrganizationKYBUpdatedTosData,
|
|
4383
4458
|
type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload,
|
|
4459
|
+
type RefundDetails as RefundDetails,
|
|
4460
|
+
type RefundMetadata as RefundMetadata,
|
|
4461
|
+
type RelayRefundDetails as RelayRefundDetails,
|
|
4384
4462
|
type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload,
|
|
4385
4463
|
type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload,
|
|
4386
4464
|
type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload,
|
package/src/resources/yield.ts
CHANGED
|
@@ -25,8 +25,8 @@ export interface EthereumVaultDetailsResponse {
|
|
|
25
25
|
id: string;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Annual percentage yield earned by the app from
|
|
29
|
-
*
|
|
28
|
+
* Annual percentage yield earned by the app from vault fees, in basis points. Null
|
|
29
|
+
* when APY data is unavailable.
|
|
30
30
|
*/
|
|
31
31
|
app_apy: number | null;
|
|
32
32
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.24.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.24.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.24.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.24.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|