@privy-io/api-types 0.16.0 → 0.17.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 (112) hide show
  1. package/CHANGELOG.md +59 -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/client-auth.d.mts +12 -4
  12. package/resources/client-auth.d.mts.map +1 -1
  13. package/resources/client-auth.d.ts +12 -4
  14. package/resources/client-auth.d.ts.map +1 -1
  15. package/resources/embedded-wallets.d.mts +6 -0
  16. package/resources/embedded-wallets.d.mts.map +1 -1
  17. package/resources/embedded-wallets.d.ts +6 -0
  18. package/resources/embedded-wallets.d.ts.map +1 -1
  19. package/resources/index.d.mts +7 -8
  20. package/resources/index.d.mts.map +1 -1
  21. package/resources/index.d.ts +7 -8
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js +1 -3
  24. package/resources/index.js.map +1 -1
  25. package/resources/index.mjs +0 -1
  26. package/resources/index.mjs.map +1 -1
  27. package/resources/kraken-embed.d.mts +110 -17
  28. package/resources/kraken-embed.d.mts.map +1 -1
  29. package/resources/kraken-embed.d.ts +110 -17
  30. package/resources/kraken-embed.d.ts.map +1 -1
  31. package/resources/policies.d.mts +48 -8
  32. package/resources/policies.d.mts.map +1 -1
  33. package/resources/policies.d.ts +48 -8
  34. package/resources/policies.d.ts.map +1 -1
  35. package/resources/transactions.d.mts +9 -2
  36. package/resources/transactions.d.mts.map +1 -1
  37. package/resources/transactions.d.ts +9 -2
  38. package/resources/transactions.d.ts.map +1 -1
  39. package/resources/users.d.mts +33 -7
  40. package/resources/users.d.mts.map +1 -1
  41. package/resources/users.d.ts +33 -7
  42. package/resources/users.d.ts.map +1 -1
  43. package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +257 -55
  44. package/resources/wallets/actions.d.mts.map +1 -0
  45. package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +257 -55
  46. package/resources/wallets/actions.d.ts.map +1 -0
  47. package/resources/wallets/actions.js +9 -0
  48. package/resources/wallets/actions.js.map +1 -0
  49. package/resources/wallets/actions.mjs +5 -0
  50. package/resources/wallets/actions.mjs.map +1 -0
  51. package/resources/wallets/balance.d.mts +7 -4
  52. package/resources/wallets/balance.d.mts.map +1 -1
  53. package/resources/wallets/balance.d.ts +7 -4
  54. package/resources/wallets/balance.d.ts.map +1 -1
  55. package/resources/wallets/index.d.mts +2 -1
  56. package/resources/wallets/index.d.mts.map +1 -1
  57. package/resources/wallets/index.d.ts +2 -1
  58. package/resources/wallets/index.d.ts.map +1 -1
  59. package/resources/wallets/index.js +3 -1
  60. package/resources/wallets/index.js.map +1 -1
  61. package/resources/wallets/index.mjs +1 -0
  62. package/resources/wallets/index.mjs.map +1 -1
  63. package/resources/wallets/transactions.d.mts +10 -3
  64. package/resources/wallets/transactions.d.mts.map +1 -1
  65. package/resources/wallets/transactions.d.ts +10 -3
  66. package/resources/wallets/transactions.d.ts.map +1 -1
  67. package/resources/wallets/transactions.js.map +1 -1
  68. package/resources/wallets/transactions.mjs.map +1 -1
  69. package/resources/wallets/wallets.d.mts +261 -28
  70. package/resources/wallets/wallets.d.mts.map +1 -1
  71. package/resources/wallets/wallets.d.ts +261 -28
  72. package/resources/wallets/wallets.d.ts.map +1 -1
  73. package/resources/wallets/wallets.js +4 -0
  74. package/resources/wallets/wallets.js.map +1 -1
  75. package/resources/wallets/wallets.mjs +4 -0
  76. package/resources/wallets/wallets.mjs.map +1 -1
  77. package/resources/webhooks.d.mts +357 -56
  78. package/resources/webhooks.d.mts.map +1 -1
  79. package/resources/webhooks.d.ts +357 -56
  80. package/resources/webhooks.d.ts.map +1 -1
  81. package/resources/yield.d.mts +4 -3
  82. package/resources/yield.d.mts.map +1 -1
  83. package/resources/yield.d.ts +4 -3
  84. package/resources/yield.d.ts.map +1 -1
  85. package/resources/yield.js.map +1 -1
  86. package/resources/yield.mjs.map +1 -1
  87. package/src/client.ts +84 -83
  88. package/src/resources/client-auth.ts +19 -3
  89. package/src/resources/embedded-wallets.ts +7 -0
  90. package/src/resources/index.ts +42 -40
  91. package/src/resources/kraken-embed.ts +439 -848
  92. package/src/resources/policies.ts +96 -36
  93. package/src/resources/transactions.ts +18 -9
  94. package/src/resources/users.ts +38 -6
  95. package/src/resources/{wallet-actions.ts → wallets/actions.ts} +318 -62
  96. package/src/resources/wallets/balance.ts +20 -62
  97. package/src/resources/wallets/index.ts +59 -0
  98. package/src/resources/wallets/transactions.ts +11 -10
  99. package/src/resources/wallets/wallets.ts +513 -66
  100. package/src/resources/webhooks.ts +436 -61
  101. package/src/resources/yield.ts +4 -11
  102. package/src/version.ts +1 -1
  103. package/version.d.mts +1 -1
  104. package/version.d.ts +1 -1
  105. package/version.js +1 -1
  106. package/version.mjs +1 -1
  107. package/resources/wallet-actions.d.mts.map +0 -1
  108. package/resources/wallet-actions.d.ts.map +0 -1
  109. package/resources/wallet-actions.js +0 -9
  110. package/resources/wallet-actions.js.map +0 -1
  111. package/resources/wallet-actions.mjs +0 -5
  112. 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,
@@ -170,6 +171,7 @@ import {
170
171
  OAuthProviderID,
171
172
  OAuthTokenAuthorizationCodeRequestBody,
172
173
  OAuthTokenDeviceCodePendingError,
174
+ OAuthTokenDeviceCodePendingErrorCode,
173
175
  OAuthTokenDeviceCodeRequestBody,
174
176
  OAuthTokenGrantType,
175
177
  OAuthTokenRefreshTokenRequestBody,
@@ -360,10 +362,12 @@ import {
360
362
  } from './resources/key-quorums';
361
363
  import {
362
364
  KrakenEmbed,
365
+ KrakenEmbedAssetSortOption,
363
366
  KrakenEmbedCancelCustomOrderInput,
364
367
  KrakenEmbedCancelCustomOrderPath,
365
368
  KrakenEmbedCancelCustomOrderResponse,
366
369
  KrakenEmbedCancelCustomOrderResult,
370
+ KrakenEmbedCountryCode,
367
371
  KrakenEmbedCreateCustomOrderInput,
368
372
  KrakenEmbedCreateCustomOrderResponse,
369
373
  KrakenEmbedCreateCustomOrderResult,
@@ -373,10 +377,14 @@ import {
373
377
  KrakenEmbedCustomOrderAmount,
374
378
  KrakenEmbedCustomOrderOccurrence,
375
379
  KrakenEmbedCustomOrderOccurrenceExecutedAction,
380
+ KrakenEmbedCustomOrderOccurrenceStatus,
376
381
  KrakenEmbedCustomOrderOccurrenceTrigger,
382
+ KrakenEmbedCustomOrderOccurrenceTriggerType,
377
383
  KrakenEmbedCustomOrderQuoteAsset,
378
384
  KrakenEmbedCustomOrderStatus,
385
+ KrakenEmbedCustomOrderStatusValue,
379
386
  KrakenEmbedCustomOrderTrigger,
387
+ KrakenEmbedCustomOrderTriggerCondition,
380
388
  KrakenEmbedEarnAmount,
381
389
  KrakenEmbedEarnAprEstimate,
382
390
  KrakenEmbedEarnAsset,
@@ -403,13 +411,18 @@ import {
403
411
  KrakenEmbedGetPortfolioSummaryResult,
404
412
  KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
405
413
  KrakenEmbedGetQuoteQueryParams,
414
+ KrakenEmbedIdentityDocumentType,
415
+ KrakenEmbedIncludeCurrentDayPnlQueryParam,
406
416
  KrakenEmbedListCustomOrdersQueryParams,
407
417
  KrakenEmbedListCustomOrdersResponse,
408
418
  KrakenEmbedListCustomOrdersResult,
409
419
  KrakenEmbedPortfolioSummaryPayload,
410
420
  KrakenEmbedPortfolioTransactionRefID,
411
421
  KrakenEmbedPortfolioTransactionRefIDType,
422
+ KrakenEmbedQuoteType,
412
423
  KrakenEmbedResidence,
424
+ KrakenEmbedResidenceDocumentType,
425
+ KrakenEmbedSortingOrder,
413
426
  KrakenEmbedStartAddressMetadata,
414
427
  KrakenEmbedStartAddressVerificationURLInput,
415
428
  KrakenEmbedStartIdentityInfo,
@@ -423,6 +436,8 @@ import {
423
436
  KrakenEmbedToggleAutoEarnKrakenResponse,
424
437
  KrakenEmbedToggleAutoEarnQueryParams,
425
438
  KrakenEmbedToggleAutoEarnResponse,
439
+ KrakenEmbedTransactionStatus,
440
+ KrakenEmbedTransactionType,
426
441
  KrakenEmbedUpcomingReward,
427
442
  } from './resources/kraken-embed';
428
443
  import {
@@ -512,7 +527,9 @@ import {
512
527
  Ethereum7702AuthorizationCondition,
513
528
  EthereumCalldataCondition,
514
529
  EthereumTransactionCondition,
530
+ EthereumTransactionConditionField,
515
531
  EthereumTypedDataDomainCondition,
532
+ EthereumTypedDataDomainConditionField,
516
533
  EthereumTypedDataMessageCondition,
517
534
  MessageSigningCondition,
518
535
  MessageSigningField,
@@ -528,7 +545,9 @@ import {
528
545
  PolicyRuleResponse,
529
546
  SolanaProgramInstructionCondition,
530
547
  SolanaSystemProgramInstructionCondition,
548
+ SolanaSystemProgramInstructionConditionField,
531
549
  SolanaTokenProgramInstructionCondition,
550
+ SolanaTokenProgramInstructionConditionField,
532
551
  SuiTransactionCommandCondition,
533
552
  SuiTransactionCommandOperator,
534
553
  SuiTransferObjectsCommandCondition,
@@ -538,6 +557,7 @@ import {
538
557
  TempoTransactionConditionField,
539
558
  TronCalldataCondition,
540
559
  TronTransactionCondition,
560
+ TronTransactionConditionField,
541
561
  TypedDataInput,
542
562
  UpdateConditionSetRequestBody,
543
563
  } from './resources/policies';
@@ -570,6 +590,7 @@ import {
570
590
  Swaps,
571
591
  } from './resources/swaps';
572
592
  import {
593
+ BlockchainTransactionStatus,
573
594
  Transaction,
574
595
  TransactionList,
575
596
  TransactionScanningAssetDiff,
@@ -592,6 +613,7 @@ import {
592
613
  } from './resources/transactions';
593
614
  import {
594
615
  AuthenticatedUser,
616
+ ClientSessionUpdateAction,
595
617
  CrossAppEmbeddedWallet,
596
618
  CrossAppSmartWallet,
597
619
  CustomMetadata,
@@ -601,6 +623,7 @@ import {
601
623
  LinkedAccountAppleOAuth,
602
624
  LinkedAccountAuthorizationKey,
603
625
  LinkedAccountBaseWallet,
626
+ LinkedAccountBaseWalletType,
604
627
  LinkedAccountBitcoinSegwitEmbeddedWallet,
605
628
  LinkedAccountBitcoinTaprootEmbeddedWallet,
606
629
  LinkedAccountCrossApp,
@@ -630,6 +653,7 @@ import {
630
653
  LinkedAccountLinkedInInput,
631
654
  LinkedAccountLinkedInOAuth,
632
655
  LinkedAccountPasskey,
656
+ LinkedAccountPasskeyCredentialDeviceType,
633
657
  LinkedAccountPasskeyInput,
634
658
  LinkedAccountPhone,
635
659
  LinkedAccountPhoneInput,
@@ -659,46 +683,6 @@ import {
659
683
  UserWithIdentityToken,
660
684
  Users,
661
685
  } 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
686
  import {
703
687
  BlockInfo,
704
688
  BridgeCryptoDepositMetadata,
@@ -749,6 +733,10 @@ import {
749
733
  WalletActionEarnDepositFailedWebhookPayload,
750
734
  WalletActionEarnDepositRejectedWebhookPayload,
751
735
  WalletActionEarnDepositSucceededWebhookPayload,
736
+ WalletActionEarnFeeCollectCreatedWebhookPayload,
737
+ WalletActionEarnFeeCollectFailedWebhookPayload,
738
+ WalletActionEarnFeeCollectRejectedWebhookPayload,
739
+ WalletActionEarnFeeCollectSucceededWebhookPayload,
752
740
  WalletActionEarnIncentiveClaimCreatedWebhookPayload,
753
741
  WalletActionEarnIncentiveClaimFailedWebhookPayload,
754
742
  WalletActionEarnIncentiveClaimRejectedWebhookPayload,
@@ -772,6 +760,7 @@ import {
772
760
  WalletFundsSacAsset,
773
761
  WalletFundsSplAsset,
774
762
  WalletRecoveredWebhookPayload,
763
+ WalletRecoverySetupMethod,
775
764
  WalletRecoverySetupWebhookPayload,
776
765
  WalletRestoredWebhookPayload,
777
766
  WebhookPayload,
@@ -929,9 +918,13 @@ import {
929
918
  SparkClaimStaticDepositRpcInputParams,
930
919
  SparkClaimStaticDepositRpcResponse,
931
920
  SparkClaimStaticDepositRpcResponseData,
921
+ SparkCoopExitFeeQuote,
922
+ SparkCoopExitRequest,
932
923
  SparkCreateLightningInvoiceRpcInput,
933
924
  SparkCreateLightningInvoiceRpcInputParams,
934
925
  SparkCreateLightningInvoiceRpcResponse,
926
+ SparkCurrencyAmount,
927
+ SparkExitSpeed,
935
928
  SparkGetBalanceRpcInput,
936
929
  SparkGetBalanceRpcResponse,
937
930
  SparkGetClaimStaticDepositQuoteRpcInput,
@@ -941,6 +934,9 @@ import {
941
934
  SparkGetStaticDepositAddressRpcInput,
942
935
  SparkGetStaticDepositAddressRpcResponse,
943
936
  SparkGetStaticDepositAddressRpcResponseData,
937
+ SparkGetWithdrawalFeeQuoteRpcInput,
938
+ SparkGetWithdrawalFeeQuoteRpcInputParams,
939
+ SparkGetWithdrawalFeeQuoteRpcResponse,
944
940
  SparkLightningFee,
945
941
  SparkLightningReceiveRequest,
946
942
  SparkLightningSendRequest,
@@ -968,6 +964,9 @@ import {
968
964
  SparkTransferTokensRpcResponseData,
969
965
  SparkUserTokenMetadata,
970
966
  SparkWalletLeaf,
967
+ SparkWithdrawRpcInput,
968
+ SparkWithdrawRpcInputParams,
969
+ SparkWithdrawRpcResponse,
971
970
  SuiCommandName,
972
971
  SwapSubmissionStatus,
973
972
  TempoAaAuthorization,
@@ -977,6 +976,7 @@ import {
977
976
  TokenTransferDestination,
978
977
  TokenTransferSource,
979
978
  TotalFeeConfigurationBps,
979
+ TransactionChainNameInput,
980
980
  TransactionDetail,
981
981
  TransactionTokenAddressInput,
982
982
  TransferQuoteRequestBody,
@@ -1013,6 +1013,7 @@ import {
1013
1013
  WalletAdditionalSigner,
1014
1014
  WalletAdditionalSignerItem,
1015
1015
  WalletAsset,
1016
+ WalletAssetChainNameInput,
1016
1017
  WalletAuthenticateBoundEncryptedRequestBody,
1017
1018
  WalletAuthenticateBoundRequestBody,
1018
1019
  WalletAuthenticateBoundUnencryptedRequestBody,
@@ -1044,6 +1045,7 @@ import {
1044
1045
  WalletRpcRequestBody,
1045
1046
  WalletRpcResponse,
1046
1047
  WalletSolanaAsset,
1048
+ WalletTronAsset,
1047
1049
  WalletUpdateParams,
1048
1050
  WalletUpdateRequestBody,
1049
1051
  Wallets,
@@ -1871,7 +1873,6 @@ export class Privy {
1871
1873
  webhooks: API.Webhooks = new API.Webhooks(this);
1872
1874
  onramps: API.Onramps = new API.Onramps(this);
1873
1875
  organizations: API.Organizations = new API.Organizations(this);
1874
- walletActions: API.WalletActions = new API.WalletActions(this);
1875
1876
  oAuth: API.OAuth = new API.OAuth(this);
1876
1877
  yield: API.Yield = new API.Yield(this);
1877
1878
  krakenEmbed: API.KrakenEmbed = new API.KrakenEmbed(this);
@@ -1897,7 +1898,6 @@ Privy.Shared = Shared;
1897
1898
  Privy.Webhooks = Webhooks;
1898
1899
  Privy.Onramps = Onramps;
1899
1900
  Privy.Organizations = Organizations;
1900
- Privy.WalletActions = WalletActions;
1901
1901
  Privy.OAuth = OAuth;
1902
1902
  Privy.Yield = Yield;
1903
1903
  Privy.KrakenEmbed = KrakenEmbed;
@@ -2035,9 +2035,13 @@ export declare namespace Privy {
2035
2035
  type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams,
2036
2036
  type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse,
2037
2037
  type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData,
2038
+ type SparkCoopExitFeeQuote as SparkCoopExitFeeQuote,
2039
+ type SparkCoopExitRequest as SparkCoopExitRequest,
2038
2040
  type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput,
2039
2041
  type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams,
2040
2042
  type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse,
2043
+ type SparkCurrencyAmount as SparkCurrencyAmount,
2044
+ type SparkExitSpeed as SparkExitSpeed,
2041
2045
  type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput,
2042
2046
  type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse,
2043
2047
  type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput,
@@ -2047,6 +2051,9 @@ export declare namespace Privy {
2047
2051
  type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput,
2048
2052
  type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse,
2049
2053
  type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData,
2054
+ type SparkGetWithdrawalFeeQuoteRpcInput as SparkGetWithdrawalFeeQuoteRpcInput,
2055
+ type SparkGetWithdrawalFeeQuoteRpcInputParams as SparkGetWithdrawalFeeQuoteRpcInputParams,
2056
+ type SparkGetWithdrawalFeeQuoteRpcResponse as SparkGetWithdrawalFeeQuoteRpcResponse,
2050
2057
  type SparkLightningFee as SparkLightningFee,
2051
2058
  type SparkLightningReceiveRequest as SparkLightningReceiveRequest,
2052
2059
  type SparkLightningSendRequest as SparkLightningSendRequest,
@@ -2074,6 +2081,9 @@ export declare namespace Privy {
2074
2081
  type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData,
2075
2082
  type SparkUserTokenMetadata as SparkUserTokenMetadata,
2076
2083
  type SparkWalletLeaf as SparkWalletLeaf,
2084
+ type SparkWithdrawRpcInput as SparkWithdrawRpcInput,
2085
+ type SparkWithdrawRpcInputParams as SparkWithdrawRpcInputParams,
2086
+ type SparkWithdrawRpcResponse as SparkWithdrawRpcResponse,
2077
2087
  type SuiCommandName as SuiCommandName,
2078
2088
  type SwapSubmissionStatus as SwapSubmissionStatus,
2079
2089
  type TempoAaAuthorization as TempoAaAuthorization,
@@ -2083,6 +2093,7 @@ export declare namespace Privy {
2083
2093
  type TokenTransferDestination as TokenTransferDestination,
2084
2094
  type TokenTransferSource as TokenTransferSource,
2085
2095
  type TotalFeeConfigurationBps as TotalFeeConfigurationBps,
2096
+ type TransactionChainNameInput as TransactionChainNameInput,
2086
2097
  type TransactionDetail as TransactionDetail,
2087
2098
  type TransactionTokenAddressInput as TransactionTokenAddressInput,
2088
2099
  type TransferQuoteRequestBody as TransferQuoteRequestBody,
@@ -2119,6 +2130,7 @@ export declare namespace Privy {
2119
2130
  type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput,
2120
2131
  type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput,
2121
2132
  type WalletAsset as WalletAsset,
2133
+ type WalletAssetChainNameInput as WalletAssetChainNameInput,
2122
2134
  type WalletAuthenticateBoundEncryptedRequestBody as WalletAuthenticateBoundEncryptedRequestBody,
2123
2135
  type WalletAuthenticateBoundRequestBody as WalletAuthenticateBoundRequestBody,
2124
2136
  type WalletAuthenticateBoundUnencryptedRequestBody as WalletAuthenticateBoundUnencryptedRequestBody,
@@ -2144,6 +2156,7 @@ export declare namespace Privy {
2144
2156
  type WalletRpcRequestBody as WalletRpcRequestBody,
2145
2157
  type WalletRpcResponse as WalletRpcResponse,
2146
2158
  type WalletSolanaAsset as WalletSolanaAsset,
2159
+ type WalletTronAsset as WalletTronAsset,
2147
2160
  type WalletUpdateRequestBody as WalletUpdateRequestBody,
2148
2161
  type WalletsCursor as WalletsCursor,
2149
2162
  type WalletCreateParams as WalletCreateParams,
@@ -2238,6 +2251,7 @@ export declare namespace Privy {
2238
2251
  type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
2239
2252
  type BridgeSourceAsset as BridgeSourceAsset,
2240
2253
  type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
2254
+ type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail,
2241
2255
  type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
2242
2256
  type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
2243
2257
  type CustomOAuthProviderID as CustomOAuthProviderID,
@@ -2298,6 +2312,7 @@ export declare namespace Privy {
2298
2312
  type OAuthProviderID as OAuthProviderID,
2299
2313
  type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody,
2300
2314
  type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError,
2315
+ type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode,
2301
2316
  type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody,
2302
2317
  type OAuthTokenGrantType as OAuthTokenGrantType,
2303
2318
  type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody,
@@ -2417,6 +2432,7 @@ export declare namespace Privy {
2417
2432
  export {
2418
2433
  Users as Users,
2419
2434
  type AuthenticatedUser as AuthenticatedUser,
2435
+ type ClientSessionUpdateAction as ClientSessionUpdateAction,
2420
2436
  type CrossAppEmbeddedWallet as CrossAppEmbeddedWallet,
2421
2437
  type CrossAppSmartWallet as CrossAppSmartWallet,
2422
2438
  type CustomMetadata as CustomMetadata,
@@ -2426,6 +2442,7 @@ export declare namespace Privy {
2426
2442
  type LinkedAccountAppleOAuth as LinkedAccountAppleOAuth,
2427
2443
  type LinkedAccountAuthorizationKey as LinkedAccountAuthorizationKey,
2428
2444
  type LinkedAccountBaseWallet as LinkedAccountBaseWallet,
2445
+ type LinkedAccountBaseWalletType as LinkedAccountBaseWalletType,
2429
2446
  type LinkedAccountBitcoinSegwitEmbeddedWallet as LinkedAccountBitcoinSegwitEmbeddedWallet,
2430
2447
  type LinkedAccountBitcoinTaprootEmbeddedWallet as LinkedAccountBitcoinTaprootEmbeddedWallet,
2431
2448
  type LinkedAccountCrossApp as LinkedAccountCrossApp,
@@ -2455,6 +2472,7 @@ export declare namespace Privy {
2455
2472
  type LinkedAccountLinkedInInput as LinkedAccountLinkedInInput,
2456
2473
  type LinkedAccountLinkedInOAuth as LinkedAccountLinkedInOAuth,
2457
2474
  type LinkedAccountPasskey as LinkedAccountPasskey,
2475
+ type LinkedAccountPasskeyCredentialDeviceType as LinkedAccountPasskeyCredentialDeviceType,
2458
2476
  type LinkedAccountPasskeyInput as LinkedAccountPasskeyInput,
2459
2477
  type LinkedAccountPhone as LinkedAccountPhone,
2460
2478
  type LinkedAccountPhoneInput as LinkedAccountPhoneInput,
@@ -2507,7 +2525,9 @@ export declare namespace Privy {
2507
2525
  type Ethereum7702AuthorizationCondition as Ethereum7702AuthorizationCondition,
2508
2526
  type EthereumCalldataCondition as EthereumCalldataCondition,
2509
2527
  type EthereumTransactionCondition as EthereumTransactionCondition,
2528
+ type EthereumTransactionConditionField as EthereumTransactionConditionField,
2510
2529
  type EthereumTypedDataDomainCondition as EthereumTypedDataDomainCondition,
2530
+ type EthereumTypedDataDomainConditionField as EthereumTypedDataDomainConditionField,
2511
2531
  type EthereumTypedDataMessageCondition as EthereumTypedDataMessageCondition,
2512
2532
  type MessageSigningCondition as MessageSigningCondition,
2513
2533
  type MessageSigningField as MessageSigningField,
@@ -2522,7 +2542,9 @@ export declare namespace Privy {
2522
2542
  type PolicyRuleResponse as PolicyRuleResponse,
2523
2543
  type SolanaProgramInstructionCondition as SolanaProgramInstructionCondition,
2524
2544
  type SolanaSystemProgramInstructionCondition as SolanaSystemProgramInstructionCondition,
2545
+ type SolanaSystemProgramInstructionConditionField as SolanaSystemProgramInstructionConditionField,
2525
2546
  type SolanaTokenProgramInstructionCondition as SolanaTokenProgramInstructionCondition,
2547
+ type SolanaTokenProgramInstructionConditionField as SolanaTokenProgramInstructionConditionField,
2526
2548
  type SuiTransactionCommandCondition as SuiTransactionCommandCondition,
2527
2549
  type SuiTransactionCommandOperator as SuiTransactionCommandOperator,
2528
2550
  type SuiTransferObjectsCommandCondition as SuiTransferObjectsCommandCondition,
@@ -2532,12 +2554,14 @@ export declare namespace Privy {
2532
2554
  type TempoTransactionConditionField as TempoTransactionConditionField,
2533
2555
  type TronCalldataCondition as TronCalldataCondition,
2534
2556
  type TronTransactionCondition as TronTransactionCondition,
2557
+ type TronTransactionConditionField as TronTransactionConditionField,
2535
2558
  type TypedDataInput as TypedDataInput,
2536
2559
  type UpdateConditionSetRequestBody as UpdateConditionSetRequestBody,
2537
2560
  };
2538
2561
 
2539
2562
  export {
2540
2563
  Transactions as Transactions,
2564
+ type BlockchainTransactionStatus as BlockchainTransactionStatus,
2541
2565
  type Transaction as Transaction,
2542
2566
  type TransactionList as TransactionList,
2543
2567
  type TransactionScanningAssetDiff as TransactionScanningAssetDiff,
@@ -2722,6 +2746,10 @@ export declare namespace Privy {
2722
2746
  type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload,
2723
2747
  type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload,
2724
2748
  type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload,
2749
+ type WalletActionEarnFeeCollectCreatedWebhookPayload as WalletActionEarnFeeCollectCreatedWebhookPayload,
2750
+ type WalletActionEarnFeeCollectFailedWebhookPayload as WalletActionEarnFeeCollectFailedWebhookPayload,
2751
+ type WalletActionEarnFeeCollectRejectedWebhookPayload as WalletActionEarnFeeCollectRejectedWebhookPayload,
2752
+ type WalletActionEarnFeeCollectSucceededWebhookPayload as WalletActionEarnFeeCollectSucceededWebhookPayload,
2725
2753
  type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload,
2726
2754
  type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload,
2727
2755
  type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload,
@@ -2745,6 +2773,7 @@ export declare namespace Privy {
2745
2773
  type WalletFundsSacAsset as WalletFundsSacAsset,
2746
2774
  type WalletFundsSplAsset as WalletFundsSplAsset,
2747
2775
  type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload,
2776
+ type WalletRecoverySetupMethod as WalletRecoverySetupMethod,
2748
2777
  type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload,
2749
2778
  type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload,
2750
2779
  type WebhookPayload as WebhookPayload,
@@ -2816,47 +2845,6 @@ export declare namespace Privy {
2816
2845
  type UpdateOrganizationSecretSigningKeyInput as UpdateOrganizationSecretSigningKeyInput,
2817
2846
  };
2818
2847
 
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
2848
  export {
2861
2849
  OAuth as OAuth,
2862
2850
  type DeviceAuthorizationResponse as DeviceAuthorizationResponse,
@@ -2891,10 +2879,12 @@ export declare namespace Privy {
2891
2879
 
2892
2880
  export {
2893
2881
  KrakenEmbed as KrakenEmbed,
2882
+ type KrakenEmbedAssetSortOption as KrakenEmbedAssetSortOption,
2894
2883
  type KrakenEmbedCancelCustomOrderInput as KrakenEmbedCancelCustomOrderInput,
2895
2884
  type KrakenEmbedCancelCustomOrderPath as KrakenEmbedCancelCustomOrderPath,
2896
2885
  type KrakenEmbedCancelCustomOrderResponse as KrakenEmbedCancelCustomOrderResponse,
2897
2886
  type KrakenEmbedCancelCustomOrderResult as KrakenEmbedCancelCustomOrderResult,
2887
+ type KrakenEmbedCountryCode as KrakenEmbedCountryCode,
2898
2888
  type KrakenEmbedCreateCustomOrderInput as KrakenEmbedCreateCustomOrderInput,
2899
2889
  type KrakenEmbedCreateCustomOrderResponse as KrakenEmbedCreateCustomOrderResponse,
2900
2890
  type KrakenEmbedCreateCustomOrderResult as KrakenEmbedCreateCustomOrderResult,
@@ -2904,10 +2894,14 @@ export declare namespace Privy {
2904
2894
  type KrakenEmbedCustomOrderAmount as KrakenEmbedCustomOrderAmount,
2905
2895
  type KrakenEmbedCustomOrderOccurrence as KrakenEmbedCustomOrderOccurrence,
2906
2896
  type KrakenEmbedCustomOrderOccurrenceExecutedAction as KrakenEmbedCustomOrderOccurrenceExecutedAction,
2897
+ type KrakenEmbedCustomOrderOccurrenceStatus as KrakenEmbedCustomOrderOccurrenceStatus,
2907
2898
  type KrakenEmbedCustomOrderOccurrenceTrigger as KrakenEmbedCustomOrderOccurrenceTrigger,
2899
+ type KrakenEmbedCustomOrderOccurrenceTriggerType as KrakenEmbedCustomOrderOccurrenceTriggerType,
2908
2900
  type KrakenEmbedCustomOrderQuoteAsset as KrakenEmbedCustomOrderQuoteAsset,
2909
2901
  type KrakenEmbedCustomOrderStatus as KrakenEmbedCustomOrderStatus,
2902
+ type KrakenEmbedCustomOrderStatusValue as KrakenEmbedCustomOrderStatusValue,
2910
2903
  type KrakenEmbedCustomOrderTrigger as KrakenEmbedCustomOrderTrigger,
2904
+ type KrakenEmbedCustomOrderTriggerCondition as KrakenEmbedCustomOrderTriggerCondition,
2911
2905
  type KrakenEmbedEarnAmount as KrakenEmbedEarnAmount,
2912
2906
  type KrakenEmbedEarnAprEstimate as KrakenEmbedEarnAprEstimate,
2913
2907
  type KrakenEmbedEarnAsset as KrakenEmbedEarnAsset,
@@ -2934,13 +2928,18 @@ export declare namespace Privy {
2934
2928
  type KrakenEmbedGetPortfolioSummaryResult as KrakenEmbedGetPortfolioSummaryResult,
2935
2929
  type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema as KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
2936
2930
  type KrakenEmbedGetQuoteQueryParams as KrakenEmbedGetQuoteQueryParams,
2931
+ type KrakenEmbedIdentityDocumentType as KrakenEmbedIdentityDocumentType,
2932
+ type KrakenEmbedIncludeCurrentDayPnlQueryParam as KrakenEmbedIncludeCurrentDayPnlQueryParam,
2937
2933
  type KrakenEmbedListCustomOrdersQueryParams as KrakenEmbedListCustomOrdersQueryParams,
2938
2934
  type KrakenEmbedListCustomOrdersResponse as KrakenEmbedListCustomOrdersResponse,
2939
2935
  type KrakenEmbedListCustomOrdersResult as KrakenEmbedListCustomOrdersResult,
2940
2936
  type KrakenEmbedPortfolioSummaryPayload as KrakenEmbedPortfolioSummaryPayload,
2941
2937
  type KrakenEmbedPortfolioTransactionRefID as KrakenEmbedPortfolioTransactionRefID,
2942
2938
  type KrakenEmbedPortfolioTransactionRefIDType as KrakenEmbedPortfolioTransactionRefIDType,
2939
+ type KrakenEmbedQuoteType as KrakenEmbedQuoteType,
2943
2940
  type KrakenEmbedResidence as KrakenEmbedResidence,
2941
+ type KrakenEmbedResidenceDocumentType as KrakenEmbedResidenceDocumentType,
2942
+ type KrakenEmbedSortingOrder as KrakenEmbedSortingOrder,
2944
2943
  type KrakenEmbedStartAddressMetadata as KrakenEmbedStartAddressMetadata,
2945
2944
  type KrakenEmbedStartAddressVerificationURLInput as KrakenEmbedStartAddressVerificationURLInput,
2946
2945
  type KrakenEmbedStartIdentityInfo as KrakenEmbedStartIdentityInfo,
@@ -2954,6 +2953,8 @@ export declare namespace Privy {
2954
2953
  type KrakenEmbedToggleAutoEarnKrakenResponse as KrakenEmbedToggleAutoEarnKrakenResponse,
2955
2954
  type KrakenEmbedToggleAutoEarnQueryParams as KrakenEmbedToggleAutoEarnQueryParams,
2956
2955
  type KrakenEmbedToggleAutoEarnResponse as KrakenEmbedToggleAutoEarnResponse,
2956
+ type KrakenEmbedTransactionStatus as KrakenEmbedTransactionStatus,
2957
+ type KrakenEmbedTransactionType as KrakenEmbedTransactionType,
2957
2958
  type KrakenEmbedUpcomingReward as KrakenEmbedUpcomingReward,
2958
2959
  };
2959
2960
 
@@ -287,9 +287,14 @@ export interface BridgeUsdFiatVirtualAccountDepositInstructions {
287
287
 
288
288
  bank_routing_number: string;
289
289
 
290
- payment_rails: Array<'ach_push' | 'wire'>;
290
+ payment_rails: Array<BridgeUsdFiatVirtualAccountDepositPaymentRail>;
291
291
  }
292
292
 
293
+ /**
294
+ * Payment rails supported for USD virtual account deposits.
295
+ */
296
+ export type BridgeUsdFiatVirtualAccountDepositPaymentRail = 'ach_push' | 'wire';
297
+
293
298
  /**
294
299
  * The request body for authenticating with a custom JWT.
295
300
  */
@@ -926,9 +931,9 @@ export interface OAuthTokenAuthorizationCodeRequestBody {
926
931
  */
927
932
  export interface OAuthTokenDeviceCodePendingError {
928
933
  /**
929
- * The error code indicating why the token request failed.
934
+ * Error codes for the device authorization pending response per RFC 8628.
930
935
  */
931
- error: 'authorization_pending' | 'slow_down' | 'access_denied' | 'expired_token';
936
+ error: OAuthTokenDeviceCodePendingErrorCode;
932
937
 
933
938
  /**
934
939
  * Human-readable description of the error.
@@ -941,6 +946,15 @@ export interface OAuthTokenDeviceCodePendingError {
941
946
  interval?: number;
942
947
  }
943
948
 
949
+ /**
950
+ * Error codes for the device authorization pending response per RFC 8628.
951
+ */
952
+ export type OAuthTokenDeviceCodePendingErrorCode =
953
+ | 'authorization_pending'
954
+ | 'slow_down'
955
+ | 'access_denied'
956
+ | 'expired_token';
957
+
944
958
  /**
945
959
  * Request body for the urn:ietf:params:oauth:grant-type:device_code grant type
946
960
  * (RFC 8628). Used by CLI clients to poll for authorization.
@@ -2005,6 +2019,7 @@ export declare namespace ClientAuth {
2005
2019
  type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
2006
2020
  type BridgeSourceAsset as BridgeSourceAsset,
2007
2021
  type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
2022
+ type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail,
2008
2023
  type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
2009
2024
  type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
2010
2025
  type CustomOAuthProviderID as CustomOAuthProviderID,
@@ -2065,6 +2080,7 @@ export declare namespace ClientAuth {
2065
2080
  type OAuthProviderID as OAuthProviderID,
2066
2081
  type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody,
2067
2082
  type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError,
2083
+ type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode,
2068
2084
  type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody,
2069
2085
  type OAuthTokenGrantType as OAuthTokenGrantType,
2070
2086
  type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody,
@@ -265,6 +265,13 @@ export interface WalletCreationInput {
265
265
  */
266
266
  create_smart_wallet?: boolean;
267
267
 
268
+ /**
269
+ * A customer-provided identifier for mapping to external systems. Write-once, set
270
+ * only at creation. Must be alphanumeric, hyphens, or underscores, max 64
271
+ * characters.
272
+ */
273
+ external_id?: string;
274
+
268
275
  /**
269
276
  * Policy IDs to enforce on the wallet. Currently, only one policy is supported per
270
277
  * wallet.