@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
package/src/client.ts CHANGED
@@ -109,6 +109,7 @@ import {
109
109
  BridgeSandboxFiatVirtualAccountResponse,
110
110
  BridgeSourceAsset,
111
111
  BridgeUsdFiatVirtualAccountDepositInstructions,
112
+ BridgeUsdFiatVirtualAccountDepositPaymentRail,
112
113
  ClientAuth,
113
114
  CustomJwtAuthenticateRequestBody,
114
115
  CustomJwtLinkRequestBody,
@@ -148,6 +149,11 @@ import {
148
149
  FiatVirtualAccountResponse,
149
150
  GuestAuthenticateRequestBody,
150
151
  LinkJwtInput,
152
+ MfaEmailEnrollRequestBody,
153
+ MfaEmailInitEnrollInput,
154
+ MfaEmailInitRequestBody,
155
+ MfaEmailInitVerifyInput,
156
+ MfaEmailVerifyRequestBody,
151
157
  MfaPasskeyEnrollmentRequestBody,
152
158
  MfaPasskeyInitRequestBody,
153
159
  MfaPasskeyInitResponseBody,
@@ -170,6 +176,7 @@ import {
170
176
  OAuthProviderID,
171
177
  OAuthTokenAuthorizationCodeRequestBody,
172
178
  OAuthTokenDeviceCodePendingError,
179
+ OAuthTokenDeviceCodePendingErrorCode,
173
180
  OAuthTokenDeviceCodeRequestBody,
174
181
  OAuthTokenGrantType,
175
182
  OAuthTokenRefreshTokenRequestBody,
@@ -360,10 +367,12 @@ import {
360
367
  } from './resources/key-quorums';
361
368
  import {
362
369
  KrakenEmbed,
370
+ KrakenEmbedAssetSortOption,
363
371
  KrakenEmbedCancelCustomOrderInput,
364
372
  KrakenEmbedCancelCustomOrderPath,
365
373
  KrakenEmbedCancelCustomOrderResponse,
366
374
  KrakenEmbedCancelCustomOrderResult,
375
+ KrakenEmbedCountryCode,
367
376
  KrakenEmbedCreateCustomOrderInput,
368
377
  KrakenEmbedCreateCustomOrderResponse,
369
378
  KrakenEmbedCreateCustomOrderResult,
@@ -373,10 +382,14 @@ import {
373
382
  KrakenEmbedCustomOrderAmount,
374
383
  KrakenEmbedCustomOrderOccurrence,
375
384
  KrakenEmbedCustomOrderOccurrenceExecutedAction,
385
+ KrakenEmbedCustomOrderOccurrenceStatus,
376
386
  KrakenEmbedCustomOrderOccurrenceTrigger,
387
+ KrakenEmbedCustomOrderOccurrenceTriggerType,
377
388
  KrakenEmbedCustomOrderQuoteAsset,
378
389
  KrakenEmbedCustomOrderStatus,
390
+ KrakenEmbedCustomOrderStatusValue,
379
391
  KrakenEmbedCustomOrderTrigger,
392
+ KrakenEmbedCustomOrderTriggerCondition,
380
393
  KrakenEmbedEarnAmount,
381
394
  KrakenEmbedEarnAprEstimate,
382
395
  KrakenEmbedEarnAsset,
@@ -403,13 +416,18 @@ import {
403
416
  KrakenEmbedGetPortfolioSummaryResult,
404
417
  KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
405
418
  KrakenEmbedGetQuoteQueryParams,
419
+ KrakenEmbedIdentityDocumentType,
420
+ KrakenEmbedIncludeCurrentDayPnlQueryParam,
406
421
  KrakenEmbedListCustomOrdersQueryParams,
407
422
  KrakenEmbedListCustomOrdersResponse,
408
423
  KrakenEmbedListCustomOrdersResult,
409
424
  KrakenEmbedPortfolioSummaryPayload,
410
425
  KrakenEmbedPortfolioTransactionRefID,
411
426
  KrakenEmbedPortfolioTransactionRefIDType,
427
+ KrakenEmbedQuoteType,
412
428
  KrakenEmbedResidence,
429
+ KrakenEmbedResidenceDocumentType,
430
+ KrakenEmbedSortingOrder,
413
431
  KrakenEmbedStartAddressMetadata,
414
432
  KrakenEmbedStartAddressVerificationURLInput,
415
433
  KrakenEmbedStartIdentityInfo,
@@ -423,6 +441,8 @@ import {
423
441
  KrakenEmbedToggleAutoEarnKrakenResponse,
424
442
  KrakenEmbedToggleAutoEarnQueryParams,
425
443
  KrakenEmbedToggleAutoEarnResponse,
444
+ KrakenEmbedTransactionStatus,
445
+ KrakenEmbedTransactionType,
426
446
  KrakenEmbedUpcomingReward,
427
447
  } from './resources/kraken-embed';
428
448
  import {
@@ -512,7 +532,9 @@ import {
512
532
  Ethereum7702AuthorizationCondition,
513
533
  EthereumCalldataCondition,
514
534
  EthereumTransactionCondition,
535
+ EthereumTransactionConditionField,
515
536
  EthereumTypedDataDomainCondition,
537
+ EthereumTypedDataDomainConditionField,
516
538
  EthereumTypedDataMessageCondition,
517
539
  MessageSigningCondition,
518
540
  MessageSigningField,
@@ -528,7 +550,9 @@ import {
528
550
  PolicyRuleResponse,
529
551
  SolanaProgramInstructionCondition,
530
552
  SolanaSystemProgramInstructionCondition,
553
+ SolanaSystemProgramInstructionConditionField,
531
554
  SolanaTokenProgramInstructionCondition,
555
+ SolanaTokenProgramInstructionConditionField,
532
556
  SuiTransactionCommandCondition,
533
557
  SuiTransactionCommandOperator,
534
558
  SuiTransferObjectsCommandCondition,
@@ -538,6 +562,7 @@ import {
538
562
  TempoTransactionConditionField,
539
563
  TronCalldataCondition,
540
564
  TronTransactionCondition,
565
+ TronTransactionConditionField,
541
566
  TypedDataInput,
542
567
  UpdateConditionSetRequestBody,
543
568
  } from './resources/policies';
@@ -570,6 +595,7 @@ import {
570
595
  Swaps,
571
596
  } from './resources/swaps';
572
597
  import {
598
+ BlockchainTransactionStatus,
573
599
  Transaction,
574
600
  TransactionList,
575
601
  TransactionScanningAssetDiff,
@@ -592,15 +618,18 @@ import {
592
618
  } from './resources/transactions';
593
619
  import {
594
620
  AuthenticatedUser,
621
+ ClientSessionUpdateAction,
595
622
  CrossAppEmbeddedWallet,
596
623
  CrossAppSmartWallet,
597
624
  CustomMetadata,
625
+ EmailMfaMethod,
598
626
  EmbeddedWalletRecoveryMethod,
599
627
  LinkedAccount,
600
628
  LinkedAccountAppleInput,
601
629
  LinkedAccountAppleOAuth,
602
630
  LinkedAccountAuthorizationKey,
603
631
  LinkedAccountBaseWallet,
632
+ LinkedAccountBaseWalletType,
604
633
  LinkedAccountBitcoinSegwitEmbeddedWallet,
605
634
  LinkedAccountBitcoinTaprootEmbeddedWallet,
606
635
  LinkedAccountCrossApp,
@@ -630,6 +659,7 @@ import {
630
659
  LinkedAccountLinkedInInput,
631
660
  LinkedAccountLinkedInOAuth,
632
661
  LinkedAccountPasskey,
662
+ LinkedAccountPasskeyCredentialDeviceType,
633
663
  LinkedAccountPasskeyInput,
634
664
  LinkedAccountPhone,
635
665
  LinkedAccountPhoneInput,
@@ -659,46 +689,6 @@ import {
659
689
  UserWithIdentityToken,
660
690
  Users,
661
691
  } from './resources/users';
662
- import {
663
- CustodianTransactionWalletActionStep,
664
- CustodianTransactionWalletActionStepStatus,
665
- EarnAsset,
666
- EarnDepositActionResponse,
667
- EarnDepositRequestBody,
668
- EarnIncentiveClaimActionResponse,
669
- EarnIncentiveClaimRequestBody,
670
- EarnIncentiveRewardEntry,
671
- EarnIncentiveRewardsQuery,
672
- EarnIncentiveRewardsResponse,
673
- EarnIncetiveClaimRewardEntry,
674
- EarnWithdrawActionResponse,
675
- EarnWithdrawRequestBody,
676
- EthereumEarnPositionQuery,
677
- EthereumEarnPositionResponse,
678
- EthereumEarnProvider,
679
- EthereumEarnVaultDetailsResponse,
680
- EvmTransactionWalletActionStep,
681
- EvmUserOperationWalletActionStep,
682
- EvmWalletActionStepStatus,
683
- ExternalTransactionWalletActionStep,
684
- ExternalTransactionWalletActionStepStatus,
685
- FailureReason,
686
- ListWalletActionsQuery,
687
- ListWalletActionsResponse,
688
- SvmTransactionWalletActionStep,
689
- SvmWalletActionStepStatus,
690
- SwapActionResponse,
691
- TransferActionResponse,
692
- TvmTransactionWalletActionStep,
693
- TvmWalletActionStepStatus,
694
- WalletActionInclude,
695
- WalletActionResponse,
696
- WalletActionStatus,
697
- WalletActionStep,
698
- WalletActionStepType,
699
- WalletActionType,
700
- WalletActions,
701
- } from './resources/wallet-actions';
702
692
  import {
703
693
  BlockInfo,
704
694
  BridgeCryptoDepositMetadata,
@@ -749,6 +739,10 @@ import {
749
739
  WalletActionEarnDepositFailedWebhookPayload,
750
740
  WalletActionEarnDepositRejectedWebhookPayload,
751
741
  WalletActionEarnDepositSucceededWebhookPayload,
742
+ WalletActionEarnFeeCollectCreatedWebhookPayload,
743
+ WalletActionEarnFeeCollectFailedWebhookPayload,
744
+ WalletActionEarnFeeCollectRejectedWebhookPayload,
745
+ WalletActionEarnFeeCollectSucceededWebhookPayload,
752
746
  WalletActionEarnIncentiveClaimCreatedWebhookPayload,
753
747
  WalletActionEarnIncentiveClaimFailedWebhookPayload,
754
748
  WalletActionEarnIncentiveClaimRejectedWebhookPayload,
@@ -772,6 +766,7 @@ import {
772
766
  WalletFundsSacAsset,
773
767
  WalletFundsSplAsset,
774
768
  WalletRecoveredWebhookPayload,
769
+ WalletRecoverySetupMethod,
775
770
  WalletRecoverySetupWebhookPayload,
776
771
  WalletRestoredWebhookPayload,
777
772
  WebhookPayload,
@@ -929,9 +924,13 @@ import {
929
924
  SparkClaimStaticDepositRpcInputParams,
930
925
  SparkClaimStaticDepositRpcResponse,
931
926
  SparkClaimStaticDepositRpcResponseData,
927
+ SparkCoopExitFeeQuote,
928
+ SparkCoopExitRequest,
932
929
  SparkCreateLightningInvoiceRpcInput,
933
930
  SparkCreateLightningInvoiceRpcInputParams,
934
931
  SparkCreateLightningInvoiceRpcResponse,
932
+ SparkCurrencyAmount,
933
+ SparkExitSpeed,
935
934
  SparkGetBalanceRpcInput,
936
935
  SparkGetBalanceRpcResponse,
937
936
  SparkGetClaimStaticDepositQuoteRpcInput,
@@ -941,6 +940,9 @@ import {
941
940
  SparkGetStaticDepositAddressRpcInput,
942
941
  SparkGetStaticDepositAddressRpcResponse,
943
942
  SparkGetStaticDepositAddressRpcResponseData,
943
+ SparkGetWithdrawalFeeQuoteRpcInput,
944
+ SparkGetWithdrawalFeeQuoteRpcInputParams,
945
+ SparkGetWithdrawalFeeQuoteRpcResponse,
944
946
  SparkLightningFee,
945
947
  SparkLightningReceiveRequest,
946
948
  SparkLightningSendRequest,
@@ -968,6 +970,9 @@ import {
968
970
  SparkTransferTokensRpcResponseData,
969
971
  SparkUserTokenMetadata,
970
972
  SparkWalletLeaf,
973
+ SparkWithdrawRpcInput,
974
+ SparkWithdrawRpcInputParams,
975
+ SparkWithdrawRpcResponse,
971
976
  SuiCommandName,
972
977
  SwapSubmissionStatus,
973
978
  TempoAaAuthorization,
@@ -977,6 +982,7 @@ import {
977
982
  TokenTransferDestination,
978
983
  TokenTransferSource,
979
984
  TotalFeeConfigurationBps,
985
+ TransactionChainNameInput,
980
986
  TransactionDetail,
981
987
  TransactionTokenAddressInput,
982
988
  TransferQuoteRequestBody,
@@ -1013,6 +1019,7 @@ import {
1013
1019
  WalletAdditionalSigner,
1014
1020
  WalletAdditionalSignerItem,
1015
1021
  WalletAsset,
1022
+ WalletAssetChainNameInput,
1016
1023
  WalletAuthenticateBoundEncryptedRequestBody,
1017
1024
  WalletAuthenticateBoundRequestBody,
1018
1025
  WalletAuthenticateBoundUnencryptedRequestBody,
@@ -1044,6 +1051,7 @@ import {
1044
1051
  WalletRpcRequestBody,
1045
1052
  WalletRpcResponse,
1046
1053
  WalletSolanaAsset,
1054
+ WalletTronAsset,
1047
1055
  WalletUpdateParams,
1048
1056
  WalletUpdateRequestBody,
1049
1057
  Wallets,
@@ -1871,7 +1879,6 @@ export class Privy {
1871
1879
  webhooks: API.Webhooks = new API.Webhooks(this);
1872
1880
  onramps: API.Onramps = new API.Onramps(this);
1873
1881
  organizations: API.Organizations = new API.Organizations(this);
1874
- walletActions: API.WalletActions = new API.WalletActions(this);
1875
1882
  oAuth: API.OAuth = new API.OAuth(this);
1876
1883
  yield: API.Yield = new API.Yield(this);
1877
1884
  krakenEmbed: API.KrakenEmbed = new API.KrakenEmbed(this);
@@ -1897,7 +1904,6 @@ Privy.Shared = Shared;
1897
1904
  Privy.Webhooks = Webhooks;
1898
1905
  Privy.Onramps = Onramps;
1899
1906
  Privy.Organizations = Organizations;
1900
- Privy.WalletActions = WalletActions;
1901
1907
  Privy.OAuth = OAuth;
1902
1908
  Privy.Yield = Yield;
1903
1909
  Privy.KrakenEmbed = KrakenEmbed;
@@ -2035,9 +2041,13 @@ export declare namespace Privy {
2035
2041
  type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams,
2036
2042
  type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse,
2037
2043
  type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData,
2044
+ type SparkCoopExitFeeQuote as SparkCoopExitFeeQuote,
2045
+ type SparkCoopExitRequest as SparkCoopExitRequest,
2038
2046
  type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput,
2039
2047
  type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams,
2040
2048
  type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse,
2049
+ type SparkCurrencyAmount as SparkCurrencyAmount,
2050
+ type SparkExitSpeed as SparkExitSpeed,
2041
2051
  type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput,
2042
2052
  type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse,
2043
2053
  type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput,
@@ -2047,6 +2057,9 @@ export declare namespace Privy {
2047
2057
  type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput,
2048
2058
  type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse,
2049
2059
  type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData,
2060
+ type SparkGetWithdrawalFeeQuoteRpcInput as SparkGetWithdrawalFeeQuoteRpcInput,
2061
+ type SparkGetWithdrawalFeeQuoteRpcInputParams as SparkGetWithdrawalFeeQuoteRpcInputParams,
2062
+ type SparkGetWithdrawalFeeQuoteRpcResponse as SparkGetWithdrawalFeeQuoteRpcResponse,
2050
2063
  type SparkLightningFee as SparkLightningFee,
2051
2064
  type SparkLightningReceiveRequest as SparkLightningReceiveRequest,
2052
2065
  type SparkLightningSendRequest as SparkLightningSendRequest,
@@ -2074,6 +2087,9 @@ export declare namespace Privy {
2074
2087
  type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData,
2075
2088
  type SparkUserTokenMetadata as SparkUserTokenMetadata,
2076
2089
  type SparkWalletLeaf as SparkWalletLeaf,
2090
+ type SparkWithdrawRpcInput as SparkWithdrawRpcInput,
2091
+ type SparkWithdrawRpcInputParams as SparkWithdrawRpcInputParams,
2092
+ type SparkWithdrawRpcResponse as SparkWithdrawRpcResponse,
2077
2093
  type SuiCommandName as SuiCommandName,
2078
2094
  type SwapSubmissionStatus as SwapSubmissionStatus,
2079
2095
  type TempoAaAuthorization as TempoAaAuthorization,
@@ -2083,6 +2099,7 @@ export declare namespace Privy {
2083
2099
  type TokenTransferDestination as TokenTransferDestination,
2084
2100
  type TokenTransferSource as TokenTransferSource,
2085
2101
  type TotalFeeConfigurationBps as TotalFeeConfigurationBps,
2102
+ type TransactionChainNameInput as TransactionChainNameInput,
2086
2103
  type TransactionDetail as TransactionDetail,
2087
2104
  type TransactionTokenAddressInput as TransactionTokenAddressInput,
2088
2105
  type TransferQuoteRequestBody as TransferQuoteRequestBody,
@@ -2119,6 +2136,7 @@ export declare namespace Privy {
2119
2136
  type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput,
2120
2137
  type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput,
2121
2138
  type WalletAsset as WalletAsset,
2139
+ type WalletAssetChainNameInput as WalletAssetChainNameInput,
2122
2140
  type WalletAuthenticateBoundEncryptedRequestBody as WalletAuthenticateBoundEncryptedRequestBody,
2123
2141
  type WalletAuthenticateBoundRequestBody as WalletAuthenticateBoundRequestBody,
2124
2142
  type WalletAuthenticateBoundUnencryptedRequestBody as WalletAuthenticateBoundUnencryptedRequestBody,
@@ -2144,6 +2162,7 @@ export declare namespace Privy {
2144
2162
  type WalletRpcRequestBody as WalletRpcRequestBody,
2145
2163
  type WalletRpcResponse as WalletRpcResponse,
2146
2164
  type WalletSolanaAsset as WalletSolanaAsset,
2165
+ type WalletTronAsset as WalletTronAsset,
2147
2166
  type WalletUpdateRequestBody as WalletUpdateRequestBody,
2148
2167
  type WalletsCursor as WalletsCursor,
2149
2168
  type WalletCreateParams as WalletCreateParams,
@@ -2238,6 +2257,7 @@ export declare namespace Privy {
2238
2257
  type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
2239
2258
  type BridgeSourceAsset as BridgeSourceAsset,
2240
2259
  type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
2260
+ type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail,
2241
2261
  type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
2242
2262
  type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
2243
2263
  type CustomOAuthProviderID as CustomOAuthProviderID,
@@ -2276,6 +2296,11 @@ export declare namespace Privy {
2276
2296
  type FiatVirtualAccountResponse as FiatVirtualAccountResponse,
2277
2297
  type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody,
2278
2298
  type LinkJwtInput as LinkJwtInput,
2299
+ type MfaEmailEnrollRequestBody as MfaEmailEnrollRequestBody,
2300
+ type MfaEmailInitEnrollInput as MfaEmailInitEnrollInput,
2301
+ type MfaEmailInitRequestBody as MfaEmailInitRequestBody,
2302
+ type MfaEmailInitVerifyInput as MfaEmailInitVerifyInput,
2303
+ type MfaEmailVerifyRequestBody as MfaEmailVerifyRequestBody,
2279
2304
  type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody,
2280
2305
  type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody,
2281
2306
  type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody,
@@ -2298,6 +2323,7 @@ export declare namespace Privy {
2298
2323
  type OAuthProviderID as OAuthProviderID,
2299
2324
  type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody,
2300
2325
  type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError,
2326
+ type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode,
2301
2327
  type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody,
2302
2328
  type OAuthTokenGrantType as OAuthTokenGrantType,
2303
2329
  type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody,
@@ -2417,15 +2443,18 @@ export declare namespace Privy {
2417
2443
  export {
2418
2444
  Users as Users,
2419
2445
  type AuthenticatedUser as AuthenticatedUser,
2446
+ type ClientSessionUpdateAction as ClientSessionUpdateAction,
2420
2447
  type CrossAppEmbeddedWallet as CrossAppEmbeddedWallet,
2421
2448
  type CrossAppSmartWallet as CrossAppSmartWallet,
2422
2449
  type CustomMetadata as CustomMetadata,
2450
+ type EmailMfaMethod as EmailMfaMethod,
2423
2451
  type EmbeddedWalletRecoveryMethod as EmbeddedWalletRecoveryMethod,
2424
2452
  type LinkedAccount as LinkedAccount,
2425
2453
  type LinkedAccountAppleInput as LinkedAccountAppleInput,
2426
2454
  type LinkedAccountAppleOAuth as LinkedAccountAppleOAuth,
2427
2455
  type LinkedAccountAuthorizationKey as LinkedAccountAuthorizationKey,
2428
2456
  type LinkedAccountBaseWallet as LinkedAccountBaseWallet,
2457
+ type LinkedAccountBaseWalletType as LinkedAccountBaseWalletType,
2429
2458
  type LinkedAccountBitcoinSegwitEmbeddedWallet as LinkedAccountBitcoinSegwitEmbeddedWallet,
2430
2459
  type LinkedAccountBitcoinTaprootEmbeddedWallet as LinkedAccountBitcoinTaprootEmbeddedWallet,
2431
2460
  type LinkedAccountCrossApp as LinkedAccountCrossApp,
@@ -2455,6 +2484,7 @@ export declare namespace Privy {
2455
2484
  type LinkedAccountLinkedInInput as LinkedAccountLinkedInInput,
2456
2485
  type LinkedAccountLinkedInOAuth as LinkedAccountLinkedInOAuth,
2457
2486
  type LinkedAccountPasskey as LinkedAccountPasskey,
2487
+ type LinkedAccountPasskeyCredentialDeviceType as LinkedAccountPasskeyCredentialDeviceType,
2458
2488
  type LinkedAccountPasskeyInput as LinkedAccountPasskeyInput,
2459
2489
  type LinkedAccountPhone as LinkedAccountPhone,
2460
2490
  type LinkedAccountPhoneInput as LinkedAccountPhoneInput,
@@ -2507,7 +2537,9 @@ export declare namespace Privy {
2507
2537
  type Ethereum7702AuthorizationCondition as Ethereum7702AuthorizationCondition,
2508
2538
  type EthereumCalldataCondition as EthereumCalldataCondition,
2509
2539
  type EthereumTransactionCondition as EthereumTransactionCondition,
2540
+ type EthereumTransactionConditionField as EthereumTransactionConditionField,
2510
2541
  type EthereumTypedDataDomainCondition as EthereumTypedDataDomainCondition,
2542
+ type EthereumTypedDataDomainConditionField as EthereumTypedDataDomainConditionField,
2511
2543
  type EthereumTypedDataMessageCondition as EthereumTypedDataMessageCondition,
2512
2544
  type MessageSigningCondition as MessageSigningCondition,
2513
2545
  type MessageSigningField as MessageSigningField,
@@ -2522,7 +2554,9 @@ export declare namespace Privy {
2522
2554
  type PolicyRuleResponse as PolicyRuleResponse,
2523
2555
  type SolanaProgramInstructionCondition as SolanaProgramInstructionCondition,
2524
2556
  type SolanaSystemProgramInstructionCondition as SolanaSystemProgramInstructionCondition,
2557
+ type SolanaSystemProgramInstructionConditionField as SolanaSystemProgramInstructionConditionField,
2525
2558
  type SolanaTokenProgramInstructionCondition as SolanaTokenProgramInstructionCondition,
2559
+ type SolanaTokenProgramInstructionConditionField as SolanaTokenProgramInstructionConditionField,
2526
2560
  type SuiTransactionCommandCondition as SuiTransactionCommandCondition,
2527
2561
  type SuiTransactionCommandOperator as SuiTransactionCommandOperator,
2528
2562
  type SuiTransferObjectsCommandCondition as SuiTransferObjectsCommandCondition,
@@ -2532,12 +2566,14 @@ export declare namespace Privy {
2532
2566
  type TempoTransactionConditionField as TempoTransactionConditionField,
2533
2567
  type TronCalldataCondition as TronCalldataCondition,
2534
2568
  type TronTransactionCondition as TronTransactionCondition,
2569
+ type TronTransactionConditionField as TronTransactionConditionField,
2535
2570
  type TypedDataInput as TypedDataInput,
2536
2571
  type UpdateConditionSetRequestBody as UpdateConditionSetRequestBody,
2537
2572
  };
2538
2573
 
2539
2574
  export {
2540
2575
  Transactions as Transactions,
2576
+ type BlockchainTransactionStatus as BlockchainTransactionStatus,
2541
2577
  type Transaction as Transaction,
2542
2578
  type TransactionList as TransactionList,
2543
2579
  type TransactionScanningAssetDiff as TransactionScanningAssetDiff,
@@ -2722,6 +2758,10 @@ export declare namespace Privy {
2722
2758
  type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload,
2723
2759
  type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload,
2724
2760
  type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload,
2761
+ type WalletActionEarnFeeCollectCreatedWebhookPayload as WalletActionEarnFeeCollectCreatedWebhookPayload,
2762
+ type WalletActionEarnFeeCollectFailedWebhookPayload as WalletActionEarnFeeCollectFailedWebhookPayload,
2763
+ type WalletActionEarnFeeCollectRejectedWebhookPayload as WalletActionEarnFeeCollectRejectedWebhookPayload,
2764
+ type WalletActionEarnFeeCollectSucceededWebhookPayload as WalletActionEarnFeeCollectSucceededWebhookPayload,
2725
2765
  type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload,
2726
2766
  type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload,
2727
2767
  type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload,
@@ -2745,6 +2785,7 @@ export declare namespace Privy {
2745
2785
  type WalletFundsSacAsset as WalletFundsSacAsset,
2746
2786
  type WalletFundsSplAsset as WalletFundsSplAsset,
2747
2787
  type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload,
2788
+ type WalletRecoverySetupMethod as WalletRecoverySetupMethod,
2748
2789
  type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload,
2749
2790
  type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload,
2750
2791
  type WebhookPayload as WebhookPayload,
@@ -2816,47 +2857,6 @@ export declare namespace Privy {
2816
2857
  type UpdateOrganizationSecretSigningKeyInput as UpdateOrganizationSecretSigningKeyInput,
2817
2858
  };
2818
2859
 
2819
- export {
2820
- WalletActions as WalletActions,
2821
- type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep,
2822
- type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus,
2823
- type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep,
2824
- type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep,
2825
- type EvmWalletActionStepStatus as EvmWalletActionStepStatus,
2826
- type EarnAsset as EarnAsset,
2827
- type EarnDepositActionResponse as EarnDepositActionResponse,
2828
- type EarnDepositRequestBody as EarnDepositRequestBody,
2829
- type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse,
2830
- type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody,
2831
- type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry,
2832
- type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery,
2833
- type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse,
2834
- type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry,
2835
- type EarnWithdrawActionResponse as EarnWithdrawActionResponse,
2836
- type EarnWithdrawRequestBody as EarnWithdrawRequestBody,
2837
- type EthereumEarnPositionQuery as EthereumEarnPositionQuery,
2838
- type EthereumEarnPositionResponse as EthereumEarnPositionResponse,
2839
- type EthereumEarnProvider as EthereumEarnProvider,
2840
- type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse,
2841
- type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep,
2842
- type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus,
2843
- type FailureReason as FailureReason,
2844
- type ListWalletActionsQuery as ListWalletActionsQuery,
2845
- type ListWalletActionsResponse as ListWalletActionsResponse,
2846
- type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep,
2847
- type SvmWalletActionStepStatus as SvmWalletActionStepStatus,
2848
- type SwapActionResponse as SwapActionResponse,
2849
- type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
2850
- type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
2851
- type TransferActionResponse as TransferActionResponse,
2852
- type WalletActionInclude as WalletActionInclude,
2853
- type WalletActionResponse as WalletActionResponse,
2854
- type WalletActionStatus as WalletActionStatus,
2855
- type WalletActionStep as WalletActionStep,
2856
- type WalletActionStepType as WalletActionStepType,
2857
- type WalletActionType as WalletActionType,
2858
- };
2859
-
2860
2860
  export {
2861
2861
  OAuth as OAuth,
2862
2862
  type DeviceAuthorizationResponse as DeviceAuthorizationResponse,
@@ -2891,10 +2891,12 @@ export declare namespace Privy {
2891
2891
 
2892
2892
  export {
2893
2893
  KrakenEmbed as KrakenEmbed,
2894
+ type KrakenEmbedAssetSortOption as KrakenEmbedAssetSortOption,
2894
2895
  type KrakenEmbedCancelCustomOrderInput as KrakenEmbedCancelCustomOrderInput,
2895
2896
  type KrakenEmbedCancelCustomOrderPath as KrakenEmbedCancelCustomOrderPath,
2896
2897
  type KrakenEmbedCancelCustomOrderResponse as KrakenEmbedCancelCustomOrderResponse,
2897
2898
  type KrakenEmbedCancelCustomOrderResult as KrakenEmbedCancelCustomOrderResult,
2899
+ type KrakenEmbedCountryCode as KrakenEmbedCountryCode,
2898
2900
  type KrakenEmbedCreateCustomOrderInput as KrakenEmbedCreateCustomOrderInput,
2899
2901
  type KrakenEmbedCreateCustomOrderResponse as KrakenEmbedCreateCustomOrderResponse,
2900
2902
  type KrakenEmbedCreateCustomOrderResult as KrakenEmbedCreateCustomOrderResult,
@@ -2904,10 +2906,14 @@ export declare namespace Privy {
2904
2906
  type KrakenEmbedCustomOrderAmount as KrakenEmbedCustomOrderAmount,
2905
2907
  type KrakenEmbedCustomOrderOccurrence as KrakenEmbedCustomOrderOccurrence,
2906
2908
  type KrakenEmbedCustomOrderOccurrenceExecutedAction as KrakenEmbedCustomOrderOccurrenceExecutedAction,
2909
+ type KrakenEmbedCustomOrderOccurrenceStatus as KrakenEmbedCustomOrderOccurrenceStatus,
2907
2910
  type KrakenEmbedCustomOrderOccurrenceTrigger as KrakenEmbedCustomOrderOccurrenceTrigger,
2911
+ type KrakenEmbedCustomOrderOccurrenceTriggerType as KrakenEmbedCustomOrderOccurrenceTriggerType,
2908
2912
  type KrakenEmbedCustomOrderQuoteAsset as KrakenEmbedCustomOrderQuoteAsset,
2909
2913
  type KrakenEmbedCustomOrderStatus as KrakenEmbedCustomOrderStatus,
2914
+ type KrakenEmbedCustomOrderStatusValue as KrakenEmbedCustomOrderStatusValue,
2910
2915
  type KrakenEmbedCustomOrderTrigger as KrakenEmbedCustomOrderTrigger,
2916
+ type KrakenEmbedCustomOrderTriggerCondition as KrakenEmbedCustomOrderTriggerCondition,
2911
2917
  type KrakenEmbedEarnAmount as KrakenEmbedEarnAmount,
2912
2918
  type KrakenEmbedEarnAprEstimate as KrakenEmbedEarnAprEstimate,
2913
2919
  type KrakenEmbedEarnAsset as KrakenEmbedEarnAsset,
@@ -2934,13 +2940,18 @@ export declare namespace Privy {
2934
2940
  type KrakenEmbedGetPortfolioSummaryResult as KrakenEmbedGetPortfolioSummaryResult,
2935
2941
  type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema as KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
2936
2942
  type KrakenEmbedGetQuoteQueryParams as KrakenEmbedGetQuoteQueryParams,
2943
+ type KrakenEmbedIdentityDocumentType as KrakenEmbedIdentityDocumentType,
2944
+ type KrakenEmbedIncludeCurrentDayPnlQueryParam as KrakenEmbedIncludeCurrentDayPnlQueryParam,
2937
2945
  type KrakenEmbedListCustomOrdersQueryParams as KrakenEmbedListCustomOrdersQueryParams,
2938
2946
  type KrakenEmbedListCustomOrdersResponse as KrakenEmbedListCustomOrdersResponse,
2939
2947
  type KrakenEmbedListCustomOrdersResult as KrakenEmbedListCustomOrdersResult,
2940
2948
  type KrakenEmbedPortfolioSummaryPayload as KrakenEmbedPortfolioSummaryPayload,
2941
2949
  type KrakenEmbedPortfolioTransactionRefID as KrakenEmbedPortfolioTransactionRefID,
2942
2950
  type KrakenEmbedPortfolioTransactionRefIDType as KrakenEmbedPortfolioTransactionRefIDType,
2951
+ type KrakenEmbedQuoteType as KrakenEmbedQuoteType,
2943
2952
  type KrakenEmbedResidence as KrakenEmbedResidence,
2953
+ type KrakenEmbedResidenceDocumentType as KrakenEmbedResidenceDocumentType,
2954
+ type KrakenEmbedSortingOrder as KrakenEmbedSortingOrder,
2944
2955
  type KrakenEmbedStartAddressMetadata as KrakenEmbedStartAddressMetadata,
2945
2956
  type KrakenEmbedStartAddressVerificationURLInput as KrakenEmbedStartAddressVerificationURLInput,
2946
2957
  type KrakenEmbedStartIdentityInfo as KrakenEmbedStartIdentityInfo,
@@ -2954,6 +2965,8 @@ export declare namespace Privy {
2954
2965
  type KrakenEmbedToggleAutoEarnKrakenResponse as KrakenEmbedToggleAutoEarnKrakenResponse,
2955
2966
  type KrakenEmbedToggleAutoEarnQueryParams as KrakenEmbedToggleAutoEarnQueryParams,
2956
2967
  type KrakenEmbedToggleAutoEarnResponse as KrakenEmbedToggleAutoEarnResponse,
2968
+ type KrakenEmbedTransactionStatus as KrakenEmbedTransactionStatus,
2969
+ type KrakenEmbedTransactionType as KrakenEmbedTransactionType,
2957
2970
  type KrakenEmbedUpcomingReward as KrakenEmbedUpcomingReward,
2958
2971
  };
2959
2972
 
@@ -201,7 +201,7 @@ export interface BalanceAssetByChain {
201
201
  amount: string;
202
202
 
203
203
  /**
204
- * The CAIP-2 chain identifier (e.g. eip155:8453).
204
+ * The CAIP-2 chain identifier (e.g. eip155:4217 for Tempo, eip155:8453 for Base).
205
205
  */
206
206
  chain_id: string;
207
207
 
@@ -206,7 +206,7 @@ export interface AppResponse {
206
206
  }
207
207
 
208
208
  /**
209
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
209
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
210
210
  */
211
211
  export type Caip2 = string;
212
212
 
@@ -220,7 +220,7 @@ export type CaptchaProvider = 'turnstile' | 'hcaptcha';
220
220
  */
221
221
  export interface Currency {
222
222
  /**
223
- * A valid CAIP-2 chain ID (e.g. 'eip155:1').
223
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
224
224
  */
225
225
  chain: Caip2;
226
226
 
@@ -399,7 +399,7 @@ export interface GasSpendResponseBody {
399
399
  /**
400
400
  * A multi-factor authentication method supported by the app.
401
401
  */
402
- export type MfaMethod = 'sms' | 'totp' | 'passkey';
402
+ export type MfaMethod = 'sms' | 'totp' | 'passkey' | 'email';
403
403
 
404
404
  /**
405
405
  * Allowlist invite input for a phone number.