@privy-io/api-types 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/client.d.mts +14 -17
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +14 -17
  5. package/client.d.ts.map +1 -1
  6. package/client.js +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +1 -1
  12. package/resources/accounts.d.ts +1 -1
  13. package/resources/apps.d.mts +3 -3
  14. package/resources/apps.d.mts.map +1 -1
  15. package/resources/apps.d.ts +3 -3
  16. package/resources/apps.d.ts.map +1 -1
  17. package/resources/client-auth.d.mts +42 -4
  18. package/resources/client-auth.d.mts.map +1 -1
  19. package/resources/client-auth.d.ts +42 -4
  20. package/resources/client-auth.d.ts.map +1 -1
  21. package/resources/embedded-wallets.d.mts +6 -0
  22. package/resources/embedded-wallets.d.mts.map +1 -1
  23. package/resources/embedded-wallets.d.ts +6 -0
  24. package/resources/embedded-wallets.d.ts.map +1 -1
  25. package/resources/index.d.mts +7 -8
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +7 -8
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js +1 -3
  30. package/resources/index.js.map +1 -1
  31. package/resources/index.mjs +0 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/kraken-embed.d.mts +110 -17
  34. package/resources/kraken-embed.d.mts.map +1 -1
  35. package/resources/kraken-embed.d.ts +110 -17
  36. package/resources/kraken-embed.d.ts.map +1 -1
  37. package/resources/onramps.d.mts +4 -4
  38. package/resources/onramps.d.ts +4 -4
  39. package/resources/policies.d.mts +48 -8
  40. package/resources/policies.d.mts.map +1 -1
  41. package/resources/policies.d.ts +48 -8
  42. package/resources/policies.d.ts.map +1 -1
  43. package/resources/swaps.d.mts +2 -1
  44. package/resources/swaps.d.mts.map +1 -1
  45. package/resources/swaps.d.ts +2 -1
  46. package/resources/swaps.d.ts.map +1 -1
  47. package/resources/transactions.d.mts +9 -2
  48. package/resources/transactions.d.mts.map +1 -1
  49. package/resources/transactions.d.ts +9 -2
  50. package/resources/transactions.d.ts.map +1 -1
  51. package/resources/users.d.mts +41 -8
  52. package/resources/users.d.mts.map +1 -1
  53. package/resources/users.d.ts +41 -8
  54. package/resources/users.d.ts.map +1 -1
  55. package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +262 -60
  56. package/resources/wallets/actions.d.mts.map +1 -0
  57. package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +262 -60
  58. package/resources/wallets/actions.d.ts.map +1 -0
  59. package/resources/wallets/actions.js +9 -0
  60. package/resources/wallets/actions.js.map +1 -0
  61. package/resources/wallets/actions.mjs +5 -0
  62. package/resources/wallets/actions.mjs.map +1 -0
  63. package/resources/wallets/balance.d.mts +9 -6
  64. package/resources/wallets/balance.d.mts.map +1 -1
  65. package/resources/wallets/balance.d.ts +9 -6
  66. package/resources/wallets/balance.d.ts.map +1 -1
  67. package/resources/wallets/index.d.mts +2 -1
  68. package/resources/wallets/index.d.mts.map +1 -1
  69. package/resources/wallets/index.d.ts +2 -1
  70. package/resources/wallets/index.d.ts.map +1 -1
  71. package/resources/wallets/index.js +3 -1
  72. package/resources/wallets/index.js.map +1 -1
  73. package/resources/wallets/index.mjs +1 -0
  74. package/resources/wallets/index.mjs.map +1 -1
  75. package/resources/wallets/transactions.d.mts +10 -3
  76. package/resources/wallets/transactions.d.mts.map +1 -1
  77. package/resources/wallets/transactions.d.ts +10 -3
  78. package/resources/wallets/transactions.d.ts.map +1 -1
  79. package/resources/wallets/transactions.js.map +1 -1
  80. package/resources/wallets/transactions.mjs.map +1 -1
  81. package/resources/wallets/wallets.d.mts +323 -78
  82. package/resources/wallets/wallets.d.mts.map +1 -1
  83. package/resources/wallets/wallets.d.ts +323 -78
  84. package/resources/wallets/wallets.d.ts.map +1 -1
  85. package/resources/wallets/wallets.js +4 -0
  86. package/resources/wallets/wallets.js.map +1 -1
  87. package/resources/wallets/wallets.mjs +4 -0
  88. package/resources/wallets/wallets.mjs.map +1 -1
  89. package/resources/webhooks.d.mts +379 -71
  90. package/resources/webhooks.d.mts.map +1 -1
  91. package/resources/webhooks.d.ts +379 -71
  92. package/resources/webhooks.d.ts.map +1 -1
  93. package/resources/yield.d.mts +11 -7
  94. package/resources/yield.d.mts.map +1 -1
  95. package/resources/yield.d.ts +11 -7
  96. package/resources/yield.d.ts.map +1 -1
  97. package/resources/yield.js.map +1 -1
  98. package/resources/yield.mjs.map +1 -1
  99. package/src/client.ts +96 -83
  100. package/src/resources/accounts.ts +1 -1
  101. package/src/resources/apps.ts +3 -3
  102. package/src/resources/client-auth.ts +61 -3
  103. package/src/resources/embedded-wallets.ts +7 -0
  104. package/src/resources/index.ts +48 -40
  105. package/src/resources/kraken-embed.ts +439 -848
  106. package/src/resources/onramps.ts +4 -4
  107. package/src/resources/policies.ts +96 -36
  108. package/src/resources/swaps.ts +2 -1
  109. package/src/resources/transactions.ts +18 -9
  110. package/src/resources/users.ts +49 -7
  111. package/src/resources/{wallet-actions.ts → wallets/actions.ts} +323 -67
  112. package/src/resources/wallets/balance.ts +24 -64
  113. package/src/resources/wallets/index.ts +59 -0
  114. package/src/resources/wallets/transactions.ts +12 -10
  115. package/src/resources/wallets/wallets.ts +582 -116
  116. package/src/resources/webhooks.ts +458 -76
  117. package/src/resources/yield.ts +11 -15
  118. package/src/version.ts +1 -1
  119. package/version.d.mts +1 -1
  120. package/version.d.ts +1 -1
  121. package/version.js +1 -1
  122. package/version.mjs +1 -1
  123. package/resources/wallet-actions.d.mts.map +0 -1
  124. package/resources/wallet-actions.d.ts.map +0 -1
  125. package/resources/wallet-actions.js +0 -9
  126. package/resources/wallet-actions.js.map +0 -1
  127. package/resources/wallet-actions.mjs +0 -5
  128. package/resources/wallet-actions.mjs.map +0 -1
@@ -2,7 +2,7 @@ import { APIResource } from "../core/resource.js";
2
2
  import * as AppsAPI from "./apps.js";
3
3
  import * as IntentsAPI from "./intents.js";
4
4
  import * as UsersAPI from "./users.js";
5
- import * as WalletActionsAPI from "./wallet-actions.js";
5
+ import * as ActionsAPI from "./wallets/actions.js";
6
6
  import * as WalletsAPI from "./wallets/wallets.js";
7
7
  export declare class Webhooks extends APIResource {
8
8
  }
@@ -665,7 +665,11 @@ export interface PrivateKeyExportWebhookPayload {
665
665
  * The ID of the wallet.
666
666
  */
667
667
  wallet_id: string;
668
- export_source?: 'display' | 'client';
668
+ /**
669
+ * The export type. 'display' is for showing the key to the user in the UI,
670
+ * 'client' is for exporting to the client application.
671
+ */
672
+ export_source?: WalletsAPI.ExportType;
669
673
  }
670
674
  /**
671
675
  * Payload for the wallet.seed_phrase_export webhook event.
@@ -687,14 +691,19 @@ export interface SeedPhraseExportWebhookPayload {
687
691
  * The ID of the wallet.
688
692
  */
689
693
  wallet_id: string;
690
- export_source?: 'display' | 'client';
694
+ /**
695
+ * The export type. 'display' is for showing the key to the user in the UI,
696
+ * 'client' is for exporting to the client application.
697
+ */
698
+ export_source?: WalletsAPI.ExportType;
691
699
  }
692
700
  /**
693
701
  * Payload for the transaction.broadcasted webhook event.
694
702
  */
695
703
  export interface TransactionBroadcastedWebhookPayload {
696
704
  /**
697
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
705
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
706
+ * mainnet).
698
707
  */
699
708
  caip2: string;
700
709
  /**
@@ -724,7 +733,8 @@ export interface TransactionBroadcastedWebhookPayload {
724
733
  */
725
734
  export interface TransactionConfirmedWebhookPayload {
726
735
  /**
727
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
736
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
737
+ * mainnet).
728
738
  */
729
739
  caip2: string;
730
740
  /**
@@ -754,7 +764,8 @@ export interface TransactionConfirmedWebhookPayload {
754
764
  */
755
765
  export interface TransactionExecutionRevertedWebhookPayload {
756
766
  /**
757
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
767
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
768
+ * mainnet).
758
769
  */
759
770
  caip2: string;
760
771
  /**
@@ -784,7 +795,8 @@ export interface TransactionExecutionRevertedWebhookPayload {
784
795
  */
785
796
  export interface TransactionFailedWebhookPayload {
786
797
  /**
787
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
798
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
799
+ * mainnet).
788
800
  */
789
801
  caip2: string;
790
802
  /**
@@ -814,7 +826,8 @@ export interface TransactionFailedWebhookPayload {
814
826
  */
815
827
  export interface TransactionProviderErrorWebhookPayload {
816
828
  /**
817
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
829
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
830
+ * mainnet).
818
831
  */
819
832
  caip2: string;
820
833
  /**
@@ -844,7 +857,8 @@ export interface TransactionProviderErrorWebhookPayload {
844
857
  */
845
858
  export interface TransactionReplacedWebhookPayload {
846
859
  /**
847
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
860
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
861
+ * mainnet).
848
862
  */
849
863
  caip2: string;
850
864
  /**
@@ -874,7 +888,8 @@ export interface TransactionReplacedWebhookPayload {
874
888
  */
875
889
  export interface TransactionStillPendingWebhookPayload {
876
890
  /**
877
- * The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
891
+ * The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
892
+ * mainnet).
878
893
  */
879
894
  caip2: string;
880
895
  /**
@@ -1057,7 +1072,7 @@ export interface WalletActionEarnDepositCreatedWebhookPayload {
1057
1072
  /**
1058
1073
  * Type of wallet action
1059
1074
  */
1060
- action_type: WalletActionsAPI.WalletActionType;
1075
+ action_type: ActionsAPI.WalletActionType;
1061
1076
  /**
1062
1077
  * Underlying asset token address.
1063
1078
  */
@@ -1121,7 +1136,7 @@ export interface WalletActionEarnDepositFailedWebhookPayload {
1121
1136
  /**
1122
1137
  * Type of wallet action
1123
1138
  */
1124
- action_type: WalletActionsAPI.WalletActionType;
1139
+ action_type: ActionsAPI.WalletActionType;
1125
1140
  /**
1126
1141
  * Underlying asset token address.
1127
1142
  */
@@ -1141,7 +1156,7 @@ export interface WalletActionEarnDepositFailedWebhookPayload {
1141
1156
  /**
1142
1157
  * A description of why a wallet action (or a step within a wallet action) failed.
1143
1158
  */
1144
- failure_reason: WalletActionsAPI.FailureReason;
1159
+ failure_reason: ActionsAPI.FailureReason;
1145
1160
  /**
1146
1161
  * Base-unit amount of asset deposited (e.g. "1500000").
1147
1162
  */
@@ -1154,7 +1169,7 @@ export interface WalletActionEarnDepositFailedWebhookPayload {
1154
1169
  * The steps of the wallet action. Completed steps will have transaction hashes;
1155
1170
  * the failing step will have a failure_reason.
1156
1171
  */
1157
- steps: Array<WalletActionsAPI.WalletActionStep>;
1172
+ steps: Array<ActionsAPI.WalletActionStep>;
1158
1173
  /**
1159
1174
  * The type of webhook event.
1160
1175
  */
@@ -1198,7 +1213,7 @@ export interface WalletActionEarnDepositRejectedWebhookPayload {
1198
1213
  /**
1199
1214
  * Type of wallet action
1200
1215
  */
1201
- action_type: WalletActionsAPI.WalletActionType;
1216
+ action_type: ActionsAPI.WalletActionType;
1202
1217
  /**
1203
1218
  * Underlying asset token address.
1204
1219
  */
@@ -1214,7 +1229,7 @@ export interface WalletActionEarnDepositRejectedWebhookPayload {
1214
1229
  /**
1215
1230
  * A description of why a wallet action (or a step within a wallet action) failed.
1216
1231
  */
1217
- failure_reason: WalletActionsAPI.FailureReason;
1232
+ failure_reason: ActionsAPI.FailureReason;
1218
1233
  /**
1219
1234
  * Base-unit amount of asset deposited (e.g. "1500000").
1220
1235
  */
@@ -1230,7 +1245,7 @@ export interface WalletActionEarnDepositRejectedWebhookPayload {
1230
1245
  /**
1231
1246
  * The steps of the wallet action at the time of rejection.
1232
1247
  */
1233
- steps: Array<WalletActionsAPI.WalletActionStep>;
1248
+ steps: Array<ActionsAPI.WalletActionStep>;
1234
1249
  /**
1235
1250
  * The type of webhook event.
1236
1251
  */
@@ -1274,7 +1289,7 @@ export interface WalletActionEarnDepositSucceededWebhookPayload {
1274
1289
  /**
1275
1290
  * Type of wallet action
1276
1291
  */
1277
- action_type: WalletActionsAPI.WalletActionType;
1292
+ action_type: ActionsAPI.WalletActionType;
1278
1293
  /**
1279
1294
  * Underlying asset token address.
1280
1295
  */
@@ -1306,7 +1321,7 @@ export interface WalletActionEarnDepositSucceededWebhookPayload {
1306
1321
  /**
1307
1322
  * The steps of the wallet action, including transaction hashes.
1308
1323
  */
1309
- steps: Array<WalletActionsAPI.WalletActionStep>;
1324
+ steps: Array<ActionsAPI.WalletActionStep>;
1310
1325
  /**
1311
1326
  * The type of webhook event.
1312
1327
  */
@@ -1343,6 +1358,295 @@ export interface WalletActionEarnDepositSucceededWebhookPayload {
1343
1358
  */
1344
1359
  decimals?: number;
1345
1360
  }
1361
+ /**
1362
+ * Payload for the wallet_action.earn_fee_collect.created webhook event.
1363
+ */
1364
+ export interface WalletActionEarnFeeCollectCreatedWebhookPayload {
1365
+ /**
1366
+ * Type of wallet action
1367
+ */
1368
+ action_type: ActionsAPI.WalletActionType;
1369
+ /**
1370
+ * Underlying asset token address.
1371
+ */
1372
+ asset_address: string;
1373
+ /**
1374
+ * CAIP-2 chain identifier.
1375
+ */
1376
+ caip2: string;
1377
+ /**
1378
+ * ISO 8601 timestamp of when the wallet action was created.
1379
+ */
1380
+ created_at: string;
1381
+ /**
1382
+ * Base-unit amount of fees collected (e.g. "1500000").
1383
+ */
1384
+ raw_amount: string;
1385
+ /**
1386
+ * The status of the wallet action.
1387
+ */
1388
+ status: 'pending';
1389
+ /**
1390
+ * The type of webhook event.
1391
+ */
1392
+ type: 'wallet_action.earn_fee_collect.created';
1393
+ /**
1394
+ * ERC-4626 vault contract address.
1395
+ */
1396
+ vault_address: string;
1397
+ /**
1398
+ * The vault ID.
1399
+ */
1400
+ vault_id: string;
1401
+ /**
1402
+ * The ID of the wallet action.
1403
+ */
1404
+ wallet_action_id: string;
1405
+ /**
1406
+ * The ID of the wallet involved in the action.
1407
+ */
1408
+ wallet_id: string;
1409
+ /**
1410
+ * Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
1411
+ * the token is known in the asset registry.
1412
+ */
1413
+ amount?: string;
1414
+ /**
1415
+ * Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
1416
+ * the asset registry.
1417
+ */
1418
+ asset?: string;
1419
+ /**
1420
+ * Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
1421
+ * present when the token is known in the asset registry.
1422
+ */
1423
+ decimals?: number;
1424
+ }
1425
+ /**
1426
+ * Payload for the wallet_action.earn_fee_collect.failed webhook event.
1427
+ */
1428
+ export interface WalletActionEarnFeeCollectFailedWebhookPayload {
1429
+ /**
1430
+ * Type of wallet action
1431
+ */
1432
+ action_type: ActionsAPI.WalletActionType;
1433
+ /**
1434
+ * Underlying asset token address.
1435
+ */
1436
+ asset_address: string;
1437
+ /**
1438
+ * CAIP-2 chain identifier.
1439
+ */
1440
+ caip2: string;
1441
+ /**
1442
+ * ISO 8601 timestamp of when the wallet action was created.
1443
+ */
1444
+ created_at: string;
1445
+ /**
1446
+ * ISO 8601 timestamp of when the wallet action failed.
1447
+ */
1448
+ failed_at: string;
1449
+ /**
1450
+ * A description of why a wallet action (or a step within a wallet action) failed.
1451
+ */
1452
+ failure_reason: ActionsAPI.FailureReason;
1453
+ /**
1454
+ * Base-unit amount of fees collected (e.g. "1500000").
1455
+ */
1456
+ raw_amount: string;
1457
+ /**
1458
+ * The status of the wallet action.
1459
+ */
1460
+ status: 'failed';
1461
+ /**
1462
+ * The steps of the wallet action. Completed steps will have transaction hashes;
1463
+ * the failing step will have a failure_reason.
1464
+ */
1465
+ steps: Array<ActionsAPI.WalletActionStep>;
1466
+ /**
1467
+ * The type of webhook event.
1468
+ */
1469
+ type: 'wallet_action.earn_fee_collect.failed';
1470
+ /**
1471
+ * ERC-4626 vault contract address.
1472
+ */
1473
+ vault_address: string;
1474
+ /**
1475
+ * The vault ID.
1476
+ */
1477
+ vault_id: string;
1478
+ /**
1479
+ * The ID of the wallet action.
1480
+ */
1481
+ wallet_action_id: string;
1482
+ /**
1483
+ * The ID of the wallet involved in the action.
1484
+ */
1485
+ wallet_id: string;
1486
+ /**
1487
+ * Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
1488
+ * the token is known in the asset registry.
1489
+ */
1490
+ amount?: string;
1491
+ /**
1492
+ * Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
1493
+ * the asset registry.
1494
+ */
1495
+ asset?: string;
1496
+ /**
1497
+ * Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
1498
+ * present when the token is known in the asset registry.
1499
+ */
1500
+ decimals?: number;
1501
+ }
1502
+ /**
1503
+ * Payload for the wallet_action.earn_fee_collect.rejected webhook event.
1504
+ */
1505
+ export interface WalletActionEarnFeeCollectRejectedWebhookPayload {
1506
+ /**
1507
+ * Type of wallet action
1508
+ */
1509
+ action_type: ActionsAPI.WalletActionType;
1510
+ /**
1511
+ * Underlying asset token address.
1512
+ */
1513
+ asset_address: string;
1514
+ /**
1515
+ * CAIP-2 chain identifier.
1516
+ */
1517
+ caip2: string;
1518
+ /**
1519
+ * ISO 8601 timestamp of when the wallet action was created.
1520
+ */
1521
+ created_at: string;
1522
+ /**
1523
+ * A description of why a wallet action (or a step within a wallet action) failed.
1524
+ */
1525
+ failure_reason: ActionsAPI.FailureReason;
1526
+ /**
1527
+ * Base-unit amount of fees collected (e.g. "1500000").
1528
+ */
1529
+ raw_amount: string;
1530
+ /**
1531
+ * ISO 8601 timestamp of when the wallet action was rejected.
1532
+ */
1533
+ rejected_at: string;
1534
+ /**
1535
+ * The status of the wallet action.
1536
+ */
1537
+ status: 'rejected';
1538
+ /**
1539
+ * The steps of the wallet action at the time of rejection.
1540
+ */
1541
+ steps: Array<ActionsAPI.WalletActionStep>;
1542
+ /**
1543
+ * The type of webhook event.
1544
+ */
1545
+ type: 'wallet_action.earn_fee_collect.rejected';
1546
+ /**
1547
+ * ERC-4626 vault contract address.
1548
+ */
1549
+ vault_address: string;
1550
+ /**
1551
+ * The vault ID.
1552
+ */
1553
+ vault_id: string;
1554
+ /**
1555
+ * The ID of the wallet action.
1556
+ */
1557
+ wallet_action_id: string;
1558
+ /**
1559
+ * The ID of the wallet involved in the action.
1560
+ */
1561
+ wallet_id: string;
1562
+ /**
1563
+ * Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
1564
+ * the token is known in the asset registry.
1565
+ */
1566
+ amount?: string;
1567
+ /**
1568
+ * Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
1569
+ * the asset registry.
1570
+ */
1571
+ asset?: string;
1572
+ /**
1573
+ * Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
1574
+ * present when the token is known in the asset registry.
1575
+ */
1576
+ decimals?: number;
1577
+ }
1578
+ /**
1579
+ * Payload for the wallet_action.earn_fee_collect.succeeded webhook event.
1580
+ */
1581
+ export interface WalletActionEarnFeeCollectSucceededWebhookPayload {
1582
+ /**
1583
+ * Type of wallet action
1584
+ */
1585
+ action_type: ActionsAPI.WalletActionType;
1586
+ /**
1587
+ * Underlying asset token address.
1588
+ */
1589
+ asset_address: string;
1590
+ /**
1591
+ * CAIP-2 chain identifier.
1592
+ */
1593
+ caip2: string;
1594
+ /**
1595
+ * ISO 8601 timestamp of when the wallet action completed successfully.
1596
+ */
1597
+ completed_at: string;
1598
+ /**
1599
+ * ISO 8601 timestamp of when the wallet action was created.
1600
+ */
1601
+ created_at: string;
1602
+ /**
1603
+ * Base-unit amount of fees collected (e.g. "1500000").
1604
+ */
1605
+ raw_amount: string;
1606
+ /**
1607
+ * The status of the wallet action.
1608
+ */
1609
+ status: 'succeeded';
1610
+ /**
1611
+ * The steps of the wallet action, including transaction hashes.
1612
+ */
1613
+ steps: Array<ActionsAPI.WalletActionStep>;
1614
+ /**
1615
+ * The type of webhook event.
1616
+ */
1617
+ type: 'wallet_action.earn_fee_collect.succeeded';
1618
+ /**
1619
+ * ERC-4626 vault contract address.
1620
+ */
1621
+ vault_address: string;
1622
+ /**
1623
+ * The vault ID.
1624
+ */
1625
+ vault_id: string;
1626
+ /**
1627
+ * The ID of the wallet action.
1628
+ */
1629
+ wallet_action_id: string;
1630
+ /**
1631
+ * The ID of the wallet involved in the action.
1632
+ */
1633
+ wallet_id: string;
1634
+ /**
1635
+ * Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
1636
+ * the token is known in the asset registry.
1637
+ */
1638
+ amount?: string;
1639
+ /**
1640
+ * Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
1641
+ * the asset registry.
1642
+ */
1643
+ asset?: string;
1644
+ /**
1645
+ * Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
1646
+ * present when the token is known in the asset registry.
1647
+ */
1648
+ decimals?: number;
1649
+ }
1346
1650
  /**
1347
1651
  * Payload for the wallet_action.earn_incentive_claim.created webhook event.
1348
1652
  */
@@ -1350,9 +1654,9 @@ export interface WalletActionEarnIncentiveClaimCreatedWebhookPayload {
1350
1654
  /**
1351
1655
  * Type of wallet action
1352
1656
  */
1353
- action_type: WalletActionsAPI.WalletActionType;
1657
+ action_type: ActionsAPI.WalletActionType;
1354
1658
  /**
1355
- * EVM chain name (e.g. "base", "ethereum").
1659
+ * EVM chain name (e.g. "tempo", "base").
1356
1660
  */
1357
1661
  chain: string;
1358
1662
  /**
@@ -1362,7 +1666,7 @@ export interface WalletActionEarnIncentiveClaimCreatedWebhookPayload {
1362
1666
  /**
1363
1667
  * Claimed reward tokens. Populated after the preparation step fetches from Merkl.
1364
1668
  */
1365
- rewards: Array<WalletActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1669
+ rewards: Array<ActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1366
1670
  /**
1367
1671
  * The status of the wallet action.
1368
1672
  */
@@ -1387,9 +1691,9 @@ export interface WalletActionEarnIncentiveClaimFailedWebhookPayload {
1387
1691
  /**
1388
1692
  * Type of wallet action
1389
1693
  */
1390
- action_type: WalletActionsAPI.WalletActionType;
1694
+ action_type: ActionsAPI.WalletActionType;
1391
1695
  /**
1392
- * EVM chain name (e.g. "base", "ethereum").
1696
+ * EVM chain name (e.g. "tempo", "base").
1393
1697
  */
1394
1698
  chain: string;
1395
1699
  /**
@@ -1403,11 +1707,11 @@ export interface WalletActionEarnIncentiveClaimFailedWebhookPayload {
1403
1707
  /**
1404
1708
  * A description of why a wallet action (or a step within a wallet action) failed.
1405
1709
  */
1406
- failure_reason: WalletActionsAPI.FailureReason;
1710
+ failure_reason: ActionsAPI.FailureReason;
1407
1711
  /**
1408
1712
  * Claimed reward tokens. Populated after the preparation step fetches from Merkl.
1409
1713
  */
1410
- rewards: Array<WalletActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1714
+ rewards: Array<ActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1411
1715
  /**
1412
1716
  * The status of the wallet action.
1413
1717
  */
@@ -1416,7 +1720,7 @@ export interface WalletActionEarnIncentiveClaimFailedWebhookPayload {
1416
1720
  * The steps of the wallet action. Completed steps will have transaction hashes;
1417
1721
  * the failing step will have a failure_reason.
1418
1722
  */
1419
- steps: Array<WalletActionsAPI.WalletActionStep>;
1723
+ steps: Array<ActionsAPI.WalletActionStep>;
1420
1724
  /**
1421
1725
  * The type of webhook event.
1422
1726
  */
@@ -1437,9 +1741,9 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
1437
1741
  /**
1438
1742
  * Type of wallet action
1439
1743
  */
1440
- action_type: WalletActionsAPI.WalletActionType;
1744
+ action_type: ActionsAPI.WalletActionType;
1441
1745
  /**
1442
- * EVM chain name (e.g. "base", "ethereum").
1746
+ * EVM chain name (e.g. "tempo", "base").
1443
1747
  */
1444
1748
  chain: string;
1445
1749
  /**
@@ -1449,7 +1753,7 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
1449
1753
  /**
1450
1754
  * A description of why a wallet action (or a step within a wallet action) failed.
1451
1755
  */
1452
- failure_reason: WalletActionsAPI.FailureReason;
1756
+ failure_reason: ActionsAPI.FailureReason;
1453
1757
  /**
1454
1758
  * ISO 8601 timestamp of when the wallet action was rejected.
1455
1759
  */
@@ -1457,7 +1761,7 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
1457
1761
  /**
1458
1762
  * Claimed reward tokens. Populated after the preparation step fetches from Merkl.
1459
1763
  */
1460
- rewards: Array<WalletActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1764
+ rewards: Array<ActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1461
1765
  /**
1462
1766
  * The status of the wallet action.
1463
1767
  */
@@ -1465,7 +1769,7 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
1465
1769
  /**
1466
1770
  * The steps of the wallet action at the time of rejection.
1467
1771
  */
1468
- steps: Array<WalletActionsAPI.WalletActionStep>;
1772
+ steps: Array<ActionsAPI.WalletActionStep>;
1469
1773
  /**
1470
1774
  * The type of webhook event.
1471
1775
  */
@@ -1486,9 +1790,9 @@ export interface WalletActionEarnIncentiveClaimSucceededWebhookPayload {
1486
1790
  /**
1487
1791
  * Type of wallet action
1488
1792
  */
1489
- action_type: WalletActionsAPI.WalletActionType;
1793
+ action_type: ActionsAPI.WalletActionType;
1490
1794
  /**
1491
- * EVM chain name (e.g. "base", "ethereum").
1795
+ * EVM chain name (e.g. "tempo", "base").
1492
1796
  */
1493
1797
  chain: string;
1494
1798
  /**
@@ -1502,7 +1806,7 @@ export interface WalletActionEarnIncentiveClaimSucceededWebhookPayload {
1502
1806
  /**
1503
1807
  * Claimed reward tokens. Populated after the preparation step fetches from Merkl.
1504
1808
  */
1505
- rewards: Array<WalletActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1809
+ rewards: Array<ActionsAPI.EarnIncetiveClaimRewardEntry> | null;
1506
1810
  /**
1507
1811
  * The status of the wallet action.
1508
1812
  */
@@ -1510,7 +1814,7 @@ export interface WalletActionEarnIncentiveClaimSucceededWebhookPayload {
1510
1814
  /**
1511
1815
  * The steps of the wallet action, including transaction hashes.
1512
1816
  */
1513
- steps: Array<WalletActionsAPI.WalletActionStep>;
1817
+ steps: Array<ActionsAPI.WalletActionStep>;
1514
1818
  /**
1515
1819
  * The type of webhook event.
1516
1820
  */
@@ -1531,7 +1835,7 @@ export interface WalletActionEarnWithdrawCreatedWebhookPayload {
1531
1835
  /**
1532
1836
  * Type of wallet action
1533
1837
  */
1534
- action_type: WalletActionsAPI.WalletActionType;
1838
+ action_type: ActionsAPI.WalletActionType;
1535
1839
  /**
1536
1840
  * Underlying asset token address.
1537
1841
  */
@@ -1595,7 +1899,7 @@ export interface WalletActionEarnWithdrawFailedWebhookPayload {
1595
1899
  /**
1596
1900
  * Type of wallet action
1597
1901
  */
1598
- action_type: WalletActionsAPI.WalletActionType;
1902
+ action_type: ActionsAPI.WalletActionType;
1599
1903
  /**
1600
1904
  * Underlying asset token address.
1601
1905
  */
@@ -1615,7 +1919,7 @@ export interface WalletActionEarnWithdrawFailedWebhookPayload {
1615
1919
  /**
1616
1920
  * A description of why a wallet action (or a step within a wallet action) failed.
1617
1921
  */
1618
- failure_reason: WalletActionsAPI.FailureReason;
1922
+ failure_reason: ActionsAPI.FailureReason;
1619
1923
  /**
1620
1924
  * Base-unit amount of asset withdrawn (e.g. "1500000").
1621
1925
  */
@@ -1628,7 +1932,7 @@ export interface WalletActionEarnWithdrawFailedWebhookPayload {
1628
1932
  * The steps of the wallet action. Completed steps will have transaction hashes;
1629
1933
  * the failing step will have a failure_reason.
1630
1934
  */
1631
- steps: Array<WalletActionsAPI.WalletActionStep>;
1935
+ steps: Array<ActionsAPI.WalletActionStep>;
1632
1936
  /**
1633
1937
  * The type of webhook event.
1634
1938
  */
@@ -1672,7 +1976,7 @@ export interface WalletActionEarnWithdrawRejectedWebhookPayload {
1672
1976
  /**
1673
1977
  * Type of wallet action
1674
1978
  */
1675
- action_type: WalletActionsAPI.WalletActionType;
1979
+ action_type: ActionsAPI.WalletActionType;
1676
1980
  /**
1677
1981
  * Underlying asset token address.
1678
1982
  */
@@ -1688,7 +1992,7 @@ export interface WalletActionEarnWithdrawRejectedWebhookPayload {
1688
1992
  /**
1689
1993
  * A description of why a wallet action (or a step within a wallet action) failed.
1690
1994
  */
1691
- failure_reason: WalletActionsAPI.FailureReason;
1995
+ failure_reason: ActionsAPI.FailureReason;
1692
1996
  /**
1693
1997
  * Base-unit amount of asset withdrawn (e.g. "1500000").
1694
1998
  */
@@ -1704,7 +2008,7 @@ export interface WalletActionEarnWithdrawRejectedWebhookPayload {
1704
2008
  /**
1705
2009
  * The steps of the wallet action at the time of rejection.
1706
2010
  */
1707
- steps: Array<WalletActionsAPI.WalletActionStep>;
2011
+ steps: Array<ActionsAPI.WalletActionStep>;
1708
2012
  /**
1709
2013
  * The type of webhook event.
1710
2014
  */
@@ -1748,7 +2052,7 @@ export interface WalletActionEarnWithdrawSucceededWebhookPayload {
1748
2052
  /**
1749
2053
  * Type of wallet action
1750
2054
  */
1751
- action_type: WalletActionsAPI.WalletActionType;
2055
+ action_type: ActionsAPI.WalletActionType;
1752
2056
  /**
1753
2057
  * Underlying asset token address.
1754
2058
  */
@@ -1780,7 +2084,7 @@ export interface WalletActionEarnWithdrawSucceededWebhookPayload {
1780
2084
  /**
1781
2085
  * The steps of the wallet action, including transaction hashes.
1782
2086
  */
1783
- steps: Array<WalletActionsAPI.WalletActionStep>;
2087
+ steps: Array<ActionsAPI.WalletActionStep>;
1784
2088
  /**
1785
2089
  * The type of webhook event.
1786
2090
  */
@@ -1824,7 +2128,7 @@ export interface WalletActionSwapCreatedWebhookPayload {
1824
2128
  /**
1825
2129
  * Type of wallet action
1826
2130
  */
1827
- action_type: WalletActionsAPI.WalletActionType;
2131
+ action_type: ActionsAPI.WalletActionType;
1828
2132
  /**
1829
2133
  * Chain identifier.
1830
2134
  */
@@ -1869,7 +2173,7 @@ export interface WalletActionSwapFailedWebhookPayload {
1869
2173
  /**
1870
2174
  * Type of wallet action
1871
2175
  */
1872
- action_type: WalletActionsAPI.WalletActionType;
2176
+ action_type: ActionsAPI.WalletActionType;
1873
2177
  /**
1874
2178
  * Chain identifier.
1875
2179
  */
@@ -1885,7 +2189,7 @@ export interface WalletActionSwapFailedWebhookPayload {
1885
2189
  /**
1886
2190
  * A description of why a wallet action (or a step within a wallet action) failed.
1887
2191
  */
1888
- failure_reason: WalletActionsAPI.FailureReason;
2192
+ failure_reason: ActionsAPI.FailureReason;
1889
2193
  /**
1890
2194
  * Amount of input token in base units. Populated after onchain confirmation.
1891
2195
  */
@@ -1906,7 +2210,7 @@ export interface WalletActionSwapFailedWebhookPayload {
1906
2210
  * The steps of the wallet action. Completed steps will have transaction hashes;
1907
2211
  * the failing step will have a failure_reason.
1908
2212
  */
1909
- steps: Array<WalletActionsAPI.WalletActionStep>;
2213
+ steps: Array<ActionsAPI.WalletActionStep>;
1910
2214
  /**
1911
2215
  * The type of webhook event.
1912
2216
  */
@@ -1927,7 +2231,7 @@ export interface WalletActionSwapRejectedWebhookPayload {
1927
2231
  /**
1928
2232
  * Type of wallet action
1929
2233
  */
1930
- action_type: WalletActionsAPI.WalletActionType;
2234
+ action_type: ActionsAPI.WalletActionType;
1931
2235
  /**
1932
2236
  * Chain identifier.
1933
2237
  */
@@ -1939,7 +2243,7 @@ export interface WalletActionSwapRejectedWebhookPayload {
1939
2243
  /**
1940
2244
  * A description of why a wallet action (or a step within a wallet action) failed.
1941
2245
  */
1942
- failure_reason: WalletActionsAPI.FailureReason;
2246
+ failure_reason: ActionsAPI.FailureReason;
1943
2247
  /**
1944
2248
  * Amount of input token in base units. Populated after onchain confirmation.
1945
2249
  */
@@ -1963,7 +2267,7 @@ export interface WalletActionSwapRejectedWebhookPayload {
1963
2267
  /**
1964
2268
  * The steps of the wallet action at the time of rejection.
1965
2269
  */
1966
- steps: Array<WalletActionsAPI.WalletActionStep>;
2270
+ steps: Array<ActionsAPI.WalletActionStep>;
1967
2271
  /**
1968
2272
  * The type of webhook event.
1969
2273
  */
@@ -1984,7 +2288,7 @@ export interface WalletActionSwapSucceededWebhookPayload {
1984
2288
  /**
1985
2289
  * Type of wallet action
1986
2290
  */
1987
- action_type: WalletActionsAPI.WalletActionType;
2291
+ action_type: ActionsAPI.WalletActionType;
1988
2292
  /**
1989
2293
  * Chain identifier.
1990
2294
  */
@@ -2021,7 +2325,7 @@ export interface WalletActionSwapSucceededWebhookPayload {
2021
2325
  /**
2022
2326
  * The steps of the wallet action, including transaction hashes.
2023
2327
  */
2024
- steps: Array<WalletActionsAPI.WalletActionStep>;
2328
+ steps: Array<ActionsAPI.WalletActionStep>;
2025
2329
  /**
2026
2330
  * The type of webhook event.
2027
2331
  */
@@ -2042,7 +2346,7 @@ export interface WalletActionTransferCreatedWebhookPayload {
2042
2346
  /**
2043
2347
  * Type of wallet action
2044
2348
  */
2045
- action_type: WalletActionsAPI.WalletActionType;
2349
+ action_type: ActionsAPI.WalletActionType;
2046
2350
  /**
2047
2351
  * ISO 8601 timestamp of when the wallet action was created.
2048
2352
  */
@@ -2052,7 +2356,7 @@ export interface WalletActionTransferCreatedWebhookPayload {
2052
2356
  */
2053
2357
  destination_address: string;
2054
2358
  /**
2055
- * Chain name (e.g. "base", "ethereum").
2359
+ * Chain name (e.g. "tempo", "base").
2056
2360
  */
2057
2361
  source_chain: string;
2058
2362
  /**
@@ -2099,7 +2403,7 @@ export interface WalletActionTransferFailedWebhookPayload {
2099
2403
  /**
2100
2404
  * Type of wallet action
2101
2405
  */
2102
- action_type: WalletActionsAPI.WalletActionType;
2406
+ action_type: ActionsAPI.WalletActionType;
2103
2407
  /**
2104
2408
  * ISO 8601 timestamp of when the wallet action was created.
2105
2409
  */
@@ -2115,9 +2419,9 @@ export interface WalletActionTransferFailedWebhookPayload {
2115
2419
  /**
2116
2420
  * A description of why a wallet action (or a step within a wallet action) failed.
2117
2421
  */
2118
- failure_reason: WalletActionsAPI.FailureReason;
2422
+ failure_reason: ActionsAPI.FailureReason;
2119
2423
  /**
2120
- * Chain name (e.g. "base", "ethereum").
2424
+ * Chain name (e.g. "tempo", "base").
2121
2425
  */
2122
2426
  source_chain: string;
2123
2427
  /**
@@ -2128,7 +2432,7 @@ export interface WalletActionTransferFailedWebhookPayload {
2128
2432
  * The steps of the wallet action. Completed steps will have transaction hashes;
2129
2433
  * the failing step will have a failure_reason.
2130
2434
  */
2131
- steps: Array<WalletActionsAPI.WalletActionStep>;
2435
+ steps: Array<ActionsAPI.WalletActionStep>;
2132
2436
  /**
2133
2437
  * The type of webhook event.
2134
2438
  */
@@ -2169,7 +2473,7 @@ export interface WalletActionTransferRejectedWebhookPayload {
2169
2473
  /**
2170
2474
  * Type of wallet action
2171
2475
  */
2172
- action_type: WalletActionsAPI.WalletActionType;
2476
+ action_type: ActionsAPI.WalletActionType;
2173
2477
  /**
2174
2478
  * ISO 8601 timestamp of when the wallet action was created.
2175
2479
  */
@@ -2181,13 +2485,13 @@ export interface WalletActionTransferRejectedWebhookPayload {
2181
2485
  /**
2182
2486
  * A description of why a wallet action (or a step within a wallet action) failed.
2183
2487
  */
2184
- failure_reason: WalletActionsAPI.FailureReason;
2488
+ failure_reason: ActionsAPI.FailureReason;
2185
2489
  /**
2186
2490
  * ISO 8601 timestamp of when the wallet action was rejected.
2187
2491
  */
2188
2492
  rejected_at: string;
2189
2493
  /**
2190
- * Chain name (e.g. "base", "ethereum").
2494
+ * Chain name (e.g. "tempo", "base").
2191
2495
  */
2192
2496
  source_chain: string;
2193
2497
  /**
@@ -2197,7 +2501,7 @@ export interface WalletActionTransferRejectedWebhookPayload {
2197
2501
  /**
2198
2502
  * The steps of the wallet action at the time of rejection.
2199
2503
  */
2200
- steps: Array<WalletActionsAPI.WalletActionStep>;
2504
+ steps: Array<ActionsAPI.WalletActionStep>;
2201
2505
  /**
2202
2506
  * The type of webhook event.
2203
2507
  */
@@ -2238,7 +2542,7 @@ export interface WalletActionTransferSucceededWebhookPayload {
2238
2542
  /**
2239
2543
  * Type of wallet action
2240
2544
  */
2241
- action_type: WalletActionsAPI.WalletActionType;
2545
+ action_type: ActionsAPI.WalletActionType;
2242
2546
  /**
2243
2547
  * ISO 8601 timestamp of when the wallet action completed successfully.
2244
2548
  */
@@ -2252,7 +2556,7 @@ export interface WalletActionTransferSucceededWebhookPayload {
2252
2556
  */
2253
2557
  destination_address: string;
2254
2558
  /**
2255
- * Chain name (e.g. "base", "ethereum").
2559
+ * Chain name (e.g. "tempo", "base").
2256
2560
  */
2257
2561
  source_chain: string;
2258
2562
  /**
@@ -2262,7 +2566,7 @@ export interface WalletActionTransferSucceededWebhookPayload {
2262
2566
  /**
2263
2567
  * The steps of the wallet action, including transaction hashes.
2264
2568
  */
2265
- steps: Array<WalletActionsAPI.WalletActionStep>;
2569
+ steps: Array<ActionsAPI.WalletActionStep>;
2266
2570
  /**
2267
2571
  * The type of webhook event.
2268
2572
  */
@@ -2374,14 +2678,18 @@ export interface WalletRecoveredWebhookPayload {
2374
2678
  */
2375
2679
  wallet_id: string;
2376
2680
  }
2681
+ /**
2682
+ * Recovery method types for embedded wallet recovery setup webhooks.
2683
+ */
2684
+ export type WalletRecoverySetupMethod = 'user_passcode_derived_recovery_key' | 'privy_passcode_derived_recovery_key' | 'privy_generated_recovery_key' | 'google_drive_recovery_secret' | 'icloud_recovery_secret' | 'recovery_encryption_key';
2377
2685
  /**
2378
2686
  * Payload for the wallet.recovery_setup webhook event.
2379
2687
  */
2380
2688
  export interface WalletRecoverySetupWebhookPayload {
2381
2689
  /**
2382
- * The recovery method that was set up.
2690
+ * Recovery method types for embedded wallet recovery setup webhooks.
2383
2691
  */
2384
- method: 'user_passcode_derived_recovery_key' | 'privy_passcode_derived_recovery_key' | 'privy_generated_recovery_key' | 'google_drive_recovery_secret' | 'icloud_recovery_secret' | 'recovery_encryption_key';
2692
+ method: WalletRecoverySetupMethod;
2385
2693
  /**
2386
2694
  * The type of webhook event.
2387
2695
  */
@@ -2423,7 +2731,7 @@ export interface WalletRestoredWebhookPayload {
2423
2731
  /**
2424
2732
  * Union of all webhook payload schemas.
2425
2733
  */
2426
- export type WebhookPayload = UserCreatedWebhookPayload | UserAuthenticatedWebhookPayload | UserLinkedAccountWebhookPayload | UserUnlinkedAccountWebhookPayload | UserUpdatedAccountWebhookPayload | UserTransferredAccountWebhookPayload | UserWalletCreatedWebhookPayload | TransactionBroadcastedWebhookPayload | TransactionConfirmedWebhookPayload | TransactionExecutionRevertedWebhookPayload | TransactionStillPendingWebhookPayload | TransactionFailedWebhookPayload | TransactionReplacedWebhookPayload | TransactionProviderErrorWebhookPayload | FundsDepositedWebhookPayload | FundsWithdrawnWebhookPayload | PrivateKeyExportWebhookPayload | SeedPhraseExportWebhookPayload | WalletRecoverySetupWebhookPayload | WalletRecoveredWebhookPayload | WalletArchivedWebhookPayload | WalletRestoredWebhookPayload | MfaEnabledWebhookPayload | MfaDisabledWebhookPayload | YieldDepositConfirmedWebhookPayload | YieldWithdrawConfirmedWebhookPayload | YieldClaimConfirmedWebhookPayload | UserOperationCompletedWebhookPayload | IntentCreatedWebhookPayload | IntentAuthorizedWebhookPayload | IntentRejectedWebhookPayload | IntentExecutedWebhookPayload | IntentFailedWebhookPayload | WalletActionSwapCreatedWebhookPayload | WalletActionSwapSucceededWebhookPayload | WalletActionSwapRejectedWebhookPayload | WalletActionSwapFailedWebhookPayload | WalletActionTransferCreatedWebhookPayload | WalletActionTransferSucceededWebhookPayload | WalletActionTransferRejectedWebhookPayload | WalletActionTransferFailedWebhookPayload | WalletActionEarnDepositCreatedWebhookPayload | WalletActionEarnDepositSucceededWebhookPayload | WalletActionEarnDepositRejectedWebhookPayload | WalletActionEarnDepositFailedWebhookPayload | WalletActionEarnWithdrawCreatedWebhookPayload | WalletActionEarnWithdrawSucceededWebhookPayload | WalletActionEarnWithdrawRejectedWebhookPayload | WalletActionEarnWithdrawFailedWebhookPayload | WalletActionEarnIncentiveClaimCreatedWebhookPayload | WalletActionEarnIncentiveClaimSucceededWebhookPayload | WalletActionEarnIncentiveClaimRejectedWebhookPayload | WalletActionEarnIncentiveClaimFailedWebhookPayload;
2734
+ export type WebhookPayload = UserCreatedWebhookPayload | UserAuthenticatedWebhookPayload | UserLinkedAccountWebhookPayload | UserUnlinkedAccountWebhookPayload | UserUpdatedAccountWebhookPayload | UserTransferredAccountWebhookPayload | UserWalletCreatedWebhookPayload | TransactionBroadcastedWebhookPayload | TransactionConfirmedWebhookPayload | TransactionExecutionRevertedWebhookPayload | TransactionStillPendingWebhookPayload | TransactionFailedWebhookPayload | TransactionReplacedWebhookPayload | TransactionProviderErrorWebhookPayload | FundsDepositedWebhookPayload | FundsWithdrawnWebhookPayload | PrivateKeyExportWebhookPayload | SeedPhraseExportWebhookPayload | WalletRecoverySetupWebhookPayload | WalletRecoveredWebhookPayload | WalletArchivedWebhookPayload | WalletRestoredWebhookPayload | MfaEnabledWebhookPayload | MfaDisabledWebhookPayload | YieldDepositConfirmedWebhookPayload | YieldWithdrawConfirmedWebhookPayload | YieldClaimConfirmedWebhookPayload | UserOperationCompletedWebhookPayload | IntentCreatedWebhookPayload | IntentAuthorizedWebhookPayload | IntentRejectedWebhookPayload | IntentExecutedWebhookPayload | IntentFailedWebhookPayload | WalletActionSwapCreatedWebhookPayload | WalletActionSwapSucceededWebhookPayload | WalletActionSwapRejectedWebhookPayload | WalletActionSwapFailedWebhookPayload | WalletActionTransferCreatedWebhookPayload | WalletActionTransferSucceededWebhookPayload | WalletActionTransferRejectedWebhookPayload | WalletActionTransferFailedWebhookPayload | WalletActionEarnDepositCreatedWebhookPayload | WalletActionEarnDepositSucceededWebhookPayload | WalletActionEarnDepositRejectedWebhookPayload | WalletActionEarnDepositFailedWebhookPayload | WalletActionEarnWithdrawCreatedWebhookPayload | WalletActionEarnWithdrawSucceededWebhookPayload | WalletActionEarnWithdrawRejectedWebhookPayload | WalletActionEarnWithdrawFailedWebhookPayload | WalletActionEarnIncentiveClaimCreatedWebhookPayload | WalletActionEarnIncentiveClaimSucceededWebhookPayload | WalletActionEarnIncentiveClaimRejectedWebhookPayload | WalletActionEarnIncentiveClaimFailedWebhookPayload | WalletActionEarnFeeCollectCreatedWebhookPayload | WalletActionEarnFeeCollectSucceededWebhookPayload | WalletActionEarnFeeCollectRejectedWebhookPayload | WalletActionEarnFeeCollectFailedWebhookPayload;
2427
2735
  /**
2428
2736
  * Payload for the yield.claim.confirmed webhook event.
2429
2737
  */
@@ -2477,6 +2785,6 @@ export interface YieldWithdrawConfirmedWebhookPayload {
2477
2785
  vault_address: string;
2478
2786
  }
2479
2787
  export declare namespace Webhooks {
2480
- export { type BlockInfo as BlockInfo, type BridgeCryptoDepositMetadata as BridgeCryptoDepositMetadata, type BridgeCryptoTransferMetadata as BridgeCryptoTransferMetadata, type BridgeFiatDepositMetadata as BridgeFiatDepositMetadata, type BridgeFiatTransferMetadata as BridgeFiatTransferMetadata, type BridgeMetadata as BridgeMetadata, type BridgeRefundMetadata as BridgeRefundMetadata, type BridgeStaticMemoDepositMetadata as BridgeStaticMemoDepositMetadata, type BridgeTransferRefundMetadata as BridgeTransferRefundMetadata, type FundsDepositedWebhookPayload as FundsDepositedWebhookPayload, type FundsWithdrawnWebhookPayload as FundsWithdrawnWebhookPayload, type IntentAuthorizedWebhookPayload as IntentAuthorizedWebhookPayload, type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload, type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload, type IntentFailedWebhookPayload as IntentFailedWebhookPayload, type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload, type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload, type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload, type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload, type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload, type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload, type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload, type KrakenEmbedUserClosedWebhookPayload as KrakenEmbedUserClosedWebhookPayload, type KrakenEmbedUserDisabledWebhookPayload as KrakenEmbedUserDisabledWebhookPayload, type KrakenEmbedUserVerifiedWebhookPayload as KrakenEmbedUserVerifiedWebhookPayload, type MfaDisabledWebhookPayload as MfaDisabledWebhookPayload, type MfaEnabledWebhookPayload as MfaEnabledWebhookPayload, type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload, type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload, type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload, type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload, type TransactionExecutionRevertedWebhookPayload as TransactionExecutionRevertedWebhookPayload, type TransactionFailedWebhookPayload as TransactionFailedWebhookPayload, type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload, type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload, type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload, type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload, type UserCreatedWebhookPayload as UserCreatedWebhookPayload, type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload, type UserOperationCompletedWebhookPayload as UserOperationCompletedWebhookPayload, type UserReference as UserReference, type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload, type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload, type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload, type UserWalletCreatedWebhookPayload as UserWalletCreatedWebhookPayload, type WalletActionEarnDepositCreatedWebhookPayload as WalletActionEarnDepositCreatedWebhookPayload, type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload, type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload, type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload, type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload, type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload, type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload, type WalletActionEarnIncentiveClaimSucceededWebhookPayload as WalletActionEarnIncentiveClaimSucceededWebhookPayload, type WalletActionEarnWithdrawCreatedWebhookPayload as WalletActionEarnWithdrawCreatedWebhookPayload, type WalletActionEarnWithdrawFailedWebhookPayload as WalletActionEarnWithdrawFailedWebhookPayload, type WalletActionEarnWithdrawRejectedWebhookPayload as WalletActionEarnWithdrawRejectedWebhookPayload, type WalletActionEarnWithdrawSucceededWebhookPayload as WalletActionEarnWithdrawSucceededWebhookPayload, type WalletActionSwapCreatedWebhookPayload as WalletActionSwapCreatedWebhookPayload, type WalletActionSwapFailedWebhookPayload as WalletActionSwapFailedWebhookPayload, type WalletActionSwapRejectedWebhookPayload as WalletActionSwapRejectedWebhookPayload, type WalletActionSwapSucceededWebhookPayload as WalletActionSwapSucceededWebhookPayload, type WalletActionTransferCreatedWebhookPayload as WalletActionTransferCreatedWebhookPayload, type WalletActionTransferFailedWebhookPayload as WalletActionTransferFailedWebhookPayload, type WalletActionTransferRejectedWebhookPayload as WalletActionTransferRejectedWebhookPayload, type WalletActionTransferSucceededWebhookPayload as WalletActionTransferSucceededWebhookPayload, type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload, type WalletFundsAsset as WalletFundsAsset, type WalletFundsErc20Asset as WalletFundsErc20Asset, type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset, type WalletFundsSacAsset as WalletFundsSacAsset, type WalletFundsSplAsset as WalletFundsSplAsset, type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload, type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload, type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload, type WebhookPayload as WebhookPayload, type YieldClaimConfirmedWebhookPayload as YieldClaimConfirmedWebhookPayload, type YieldClaimReward as YieldClaimReward, type YieldDepositConfirmedWebhookPayload as YieldDepositConfirmedWebhookPayload, type YieldWithdrawConfirmedWebhookPayload as YieldWithdrawConfirmedWebhookPayload, };
2788
+ export { type BlockInfo as BlockInfo, type BridgeCryptoDepositMetadata as BridgeCryptoDepositMetadata, type BridgeCryptoTransferMetadata as BridgeCryptoTransferMetadata, type BridgeFiatDepositMetadata as BridgeFiatDepositMetadata, type BridgeFiatTransferMetadata as BridgeFiatTransferMetadata, type BridgeMetadata as BridgeMetadata, type BridgeRefundMetadata as BridgeRefundMetadata, type BridgeStaticMemoDepositMetadata as BridgeStaticMemoDepositMetadata, type BridgeTransferRefundMetadata as BridgeTransferRefundMetadata, type FundsDepositedWebhookPayload as FundsDepositedWebhookPayload, type FundsWithdrawnWebhookPayload as FundsWithdrawnWebhookPayload, type IntentAuthorizedWebhookPayload as IntentAuthorizedWebhookPayload, type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload, type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload, type IntentFailedWebhookPayload as IntentFailedWebhookPayload, type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload, type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload, type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload, type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload, type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload, type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload, type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload, type KrakenEmbedUserClosedWebhookPayload as KrakenEmbedUserClosedWebhookPayload, type KrakenEmbedUserDisabledWebhookPayload as KrakenEmbedUserDisabledWebhookPayload, type KrakenEmbedUserVerifiedWebhookPayload as KrakenEmbedUserVerifiedWebhookPayload, type MfaDisabledWebhookPayload as MfaDisabledWebhookPayload, type MfaEnabledWebhookPayload as MfaEnabledWebhookPayload, type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload, type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload, type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload, type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload, type TransactionExecutionRevertedWebhookPayload as TransactionExecutionRevertedWebhookPayload, type TransactionFailedWebhookPayload as TransactionFailedWebhookPayload, type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload, type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload, type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload, type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload, type UserCreatedWebhookPayload as UserCreatedWebhookPayload, type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload, type UserOperationCompletedWebhookPayload as UserOperationCompletedWebhookPayload, type UserReference as UserReference, type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload, type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload, type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload, type UserWalletCreatedWebhookPayload as UserWalletCreatedWebhookPayload, type WalletActionEarnDepositCreatedWebhookPayload as WalletActionEarnDepositCreatedWebhookPayload, type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload, type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload, type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload, type WalletActionEarnFeeCollectCreatedWebhookPayload as WalletActionEarnFeeCollectCreatedWebhookPayload, type WalletActionEarnFeeCollectFailedWebhookPayload as WalletActionEarnFeeCollectFailedWebhookPayload, type WalletActionEarnFeeCollectRejectedWebhookPayload as WalletActionEarnFeeCollectRejectedWebhookPayload, type WalletActionEarnFeeCollectSucceededWebhookPayload as WalletActionEarnFeeCollectSucceededWebhookPayload, type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload, type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload, type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload, type WalletActionEarnIncentiveClaimSucceededWebhookPayload as WalletActionEarnIncentiveClaimSucceededWebhookPayload, type WalletActionEarnWithdrawCreatedWebhookPayload as WalletActionEarnWithdrawCreatedWebhookPayload, type WalletActionEarnWithdrawFailedWebhookPayload as WalletActionEarnWithdrawFailedWebhookPayload, type WalletActionEarnWithdrawRejectedWebhookPayload as WalletActionEarnWithdrawRejectedWebhookPayload, type WalletActionEarnWithdrawSucceededWebhookPayload as WalletActionEarnWithdrawSucceededWebhookPayload, type WalletActionSwapCreatedWebhookPayload as WalletActionSwapCreatedWebhookPayload, type WalletActionSwapFailedWebhookPayload as WalletActionSwapFailedWebhookPayload, type WalletActionSwapRejectedWebhookPayload as WalletActionSwapRejectedWebhookPayload, type WalletActionSwapSucceededWebhookPayload as WalletActionSwapSucceededWebhookPayload, type WalletActionTransferCreatedWebhookPayload as WalletActionTransferCreatedWebhookPayload, type WalletActionTransferFailedWebhookPayload as WalletActionTransferFailedWebhookPayload, type WalletActionTransferRejectedWebhookPayload as WalletActionTransferRejectedWebhookPayload, type WalletActionTransferSucceededWebhookPayload as WalletActionTransferSucceededWebhookPayload, type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload, type WalletFundsAsset as WalletFundsAsset, type WalletFundsErc20Asset as WalletFundsErc20Asset, type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset, type WalletFundsSacAsset as WalletFundsSacAsset, type WalletFundsSplAsset as WalletFundsSplAsset, type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload, type WalletRecoverySetupMethod as WalletRecoverySetupMethod, type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload, type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload, type WebhookPayload as WebhookPayload, type YieldClaimConfirmedWebhookPayload as YieldClaimConfirmedWebhookPayload, type YieldClaimReward as YieldClaimReward, type YieldDepositConfirmedWebhookPayload as YieldDepositConfirmedWebhookPayload, type YieldWithdrawConfirmedWebhookPayload as YieldWithdrawConfirmedWebhookPayload, };
2481
2789
  }
2482
2790
  //# sourceMappingURL=webhooks.d.ts.map