@privy-io/api-types 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/client.d.mts +29 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +29 -29
- package/client.d.ts.map +1 -1
- package/client.js +11 -3
- package/client.js.map +1 -1
- package/client.mjs +11 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +6 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +6 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +14 -4
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +14 -4
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +44 -23
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +44 -23
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +21 -5
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +21 -5
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +14 -14
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +14 -14
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +65 -79
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +65 -79
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +9 -8
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +9 -8
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +102 -205
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +102 -205
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.js.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/onramps.d.mts +50 -48
- package/resources/onramps.d.mts.map +1 -1
- package/resources/onramps.d.ts +50 -48
- package/resources/onramps.d.ts.map +1 -1
- package/resources/policies.d.mts +47 -18
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +47 -18
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +15 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +15 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +3 -2
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +3 -2
- package/resources/swaps.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +134 -21
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +134 -21
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +8 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +8 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +5 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +5 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +603 -87
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +603 -87
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +15 -2
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +15 -2
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +241 -54
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +241 -54
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +26 -27
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -27
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +163 -17
- package/src/resources/accounts.ts +7 -1
- package/src/resources/aggregations.ts +16 -3
- package/src/resources/apps.ts +60 -30
- package/src/resources/client-auth.ts +22 -4
- package/src/resources/index.ts +72 -3
- package/src/resources/intents.ts +73 -91
- package/src/resources/key-quorums.ts +11 -9
- package/src/resources/kraken-embed.ts +386 -482
- package/src/resources/onramps.ts +69 -54
- package/src/resources/policies.ts +66 -16
- package/src/resources/shared.ts +18 -2
- package/src/resources/swaps.ts +3 -2
- package/src/resources/wallet-actions.ts +182 -20
- package/src/resources/wallets/balance.ts +13 -1
- package/src/resources/wallets/index.ts +34 -0
- package/src/resources/wallets/transactions.ts +6 -0
- package/src/resources/wallets/wallets.ts +782 -94
- package/src/resources/webhooks.ts +293 -57
- package/src/resources/yield.ts +29 -30
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/client.ts
CHANGED
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
BalanceAsset,
|
|
36
36
|
BalanceAssetByChain,
|
|
37
37
|
BalanceResponse,
|
|
38
|
+
ChainTestnetMode,
|
|
38
39
|
CreateAccountFromWalletIDsInput,
|
|
39
40
|
CreateAccountFromWalletsConfigurationInput,
|
|
40
41
|
CreateAccountInput,
|
|
@@ -50,14 +51,18 @@ import {
|
|
|
50
51
|
AggregationMetric,
|
|
51
52
|
AggregationWindow,
|
|
52
53
|
Aggregations,
|
|
54
|
+
RollingAggregationWindow,
|
|
53
55
|
} from './resources/aggregations';
|
|
54
56
|
import { Analytics, AnalyticsEventInput } from './resources/analytics';
|
|
55
57
|
import {
|
|
56
58
|
AllowlistDeletionResponse,
|
|
57
59
|
AllowlistEntry,
|
|
60
|
+
AppAllowlistConfig,
|
|
61
|
+
AppCustomOAuthProvider,
|
|
58
62
|
AppResponse,
|
|
59
63
|
Apps,
|
|
60
64
|
Caip2,
|
|
65
|
+
CaptchaProvider,
|
|
61
66
|
Currency,
|
|
62
67
|
CurrencyAsset,
|
|
63
68
|
EmailDomain,
|
|
@@ -74,6 +79,7 @@ import {
|
|
|
74
79
|
GasSpendCurrency,
|
|
75
80
|
GasSpendRequestBody,
|
|
76
81
|
GasSpendResponseBody,
|
|
82
|
+
MfaMethod,
|
|
77
83
|
PhoneInviteInput,
|
|
78
84
|
TelegramAuthConfigSchema,
|
|
79
85
|
TestAccount,
|
|
@@ -229,6 +235,7 @@ import {
|
|
|
229
235
|
SiwsInitResponseBody,
|
|
230
236
|
SiwsInput,
|
|
231
237
|
SiwsLinkRequestBody,
|
|
238
|
+
SiwsMessageType,
|
|
232
239
|
SiwsNonce,
|
|
233
240
|
SiwsUnlinkRequestBody,
|
|
234
241
|
SmartWalletSiweInput,
|
|
@@ -315,8 +322,11 @@ import {
|
|
|
315
322
|
BaseActionResult,
|
|
316
323
|
BaseIntentResponse,
|
|
317
324
|
IntentAuthorization,
|
|
325
|
+
IntentAuthorizationKeyMember,
|
|
326
|
+
IntentAuthorizationKeyQuorum,
|
|
318
327
|
IntentAuthorizationKeyQuorumMember,
|
|
319
328
|
IntentAuthorizationMember,
|
|
329
|
+
IntentAuthorizationUserMember,
|
|
320
330
|
IntentAuthorizeInput,
|
|
321
331
|
IntentCreationHeaders,
|
|
322
332
|
IntentResponse,
|
|
@@ -330,6 +340,7 @@ import {
|
|
|
330
340
|
RpcIntentResponse,
|
|
331
341
|
RuleDeleteIntentResponse,
|
|
332
342
|
RuleIntentCreateRequestDetails,
|
|
343
|
+
RuleIntentDeleteRequestBody,
|
|
333
344
|
RuleIntentDeleteRequestDetails,
|
|
334
345
|
RuleIntentRequestDetails,
|
|
335
346
|
RuleIntentResponse,
|
|
@@ -340,6 +351,7 @@ import {
|
|
|
340
351
|
WalletIntentResponse,
|
|
341
352
|
} from './resources/intents';
|
|
342
353
|
import {
|
|
354
|
+
AuthorizationKey,
|
|
343
355
|
KeyQuorum,
|
|
344
356
|
KeyQuorumAuthorizationHeaders,
|
|
345
357
|
KeyQuorumCreateRequestBody,
|
|
@@ -369,6 +381,7 @@ import {
|
|
|
369
381
|
KrakenEmbedEarnAprEstimate,
|
|
370
382
|
KrakenEmbedEarnAsset,
|
|
371
383
|
KrakenEmbedEarnUserAllocation,
|
|
384
|
+
KrakenEmbedFullName,
|
|
372
385
|
KrakenEmbedGetAssetListQueryParamsSchema,
|
|
373
386
|
KrakenEmbedGetCustomOrderHistoryQueryParams,
|
|
374
387
|
KrakenEmbedGetCustomOrderHistoryResponse,
|
|
@@ -387,11 +400,16 @@ import {
|
|
|
387
400
|
KrakenEmbedGetPortfolioDetailsQueryParamsSchema,
|
|
388
401
|
KrakenEmbedGetPortfolioSummaryQueryParams,
|
|
389
402
|
KrakenEmbedGetPortfolioSummaryResponse,
|
|
403
|
+
KrakenEmbedGetPortfolioSummaryResult,
|
|
390
404
|
KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
|
|
391
405
|
KrakenEmbedGetQuoteQueryParams,
|
|
392
406
|
KrakenEmbedListCustomOrdersQueryParams,
|
|
393
407
|
KrakenEmbedListCustomOrdersResponse,
|
|
394
408
|
KrakenEmbedListCustomOrdersResult,
|
|
409
|
+
KrakenEmbedPortfolioSummaryPayload,
|
|
410
|
+
KrakenEmbedPortfolioTransactionRefID,
|
|
411
|
+
KrakenEmbedPortfolioTransactionRefIDType,
|
|
412
|
+
KrakenEmbedResidence,
|
|
395
413
|
KrakenEmbedStartAddressMetadata,
|
|
396
414
|
KrakenEmbedStartAddressVerificationURLInput,
|
|
397
415
|
KrakenEmbedStartIdentityInfo,
|
|
@@ -424,7 +442,6 @@ import {
|
|
|
424
442
|
CreateOrUpdateFiatCustomerRequestInput,
|
|
425
443
|
CreateStripeOnrampSessionInput,
|
|
426
444
|
CreateStripeOnrampSessionResponse,
|
|
427
|
-
CryptoCurrencyCode,
|
|
428
445
|
ExchangeStripeTokensInput,
|
|
429
446
|
ExchangeStripeTokensResponse,
|
|
430
447
|
FiatAmount,
|
|
@@ -451,7 +468,6 @@ import {
|
|
|
451
468
|
LinkAuthIntentNoAccount,
|
|
452
469
|
ListStripeConsumerWalletsResponse,
|
|
453
470
|
ListStripePaymentTokensResponse,
|
|
454
|
-
OnrampSessionFees,
|
|
455
471
|
OnrampSessionParams,
|
|
456
472
|
OnrampSessionTransactionDetails,
|
|
457
473
|
Onramps,
|
|
@@ -460,10 +476,11 @@ import {
|
|
|
460
476
|
StripeCryptoCustomerActive,
|
|
461
477
|
StripeCryptoCustomerExpired,
|
|
462
478
|
StripeCryptoCustomerNone,
|
|
479
|
+
StripeKYCRegion,
|
|
480
|
+
StripeKYCTier,
|
|
463
481
|
StripeOnrampCheckoutResponse,
|
|
464
482
|
StripeOnrampSessionStatus,
|
|
465
483
|
StripePaymentToken,
|
|
466
|
-
StripeQuote,
|
|
467
484
|
StripeTransactionDetails,
|
|
468
485
|
StripeVerification,
|
|
469
486
|
} from './resources/onramps';
|
|
@@ -497,6 +514,8 @@ import {
|
|
|
497
514
|
EthereumTransactionCondition,
|
|
498
515
|
EthereumTypedDataDomainCondition,
|
|
499
516
|
EthereumTypedDataMessageCondition,
|
|
517
|
+
MessageSigningCondition,
|
|
518
|
+
MessageSigningField,
|
|
500
519
|
Policies,
|
|
501
520
|
Policy,
|
|
502
521
|
PolicyAction,
|
|
@@ -519,6 +538,7 @@ import {
|
|
|
519
538
|
TempoTransactionConditionField,
|
|
520
539
|
TronCalldataCondition,
|
|
521
540
|
TronTransactionCondition,
|
|
541
|
+
TypedDataInput,
|
|
522
542
|
UpdateConditionSetRequestBody,
|
|
523
543
|
} from './resources/policies';
|
|
524
544
|
import {
|
|
@@ -536,7 +556,9 @@ import {
|
|
|
536
556
|
Shared,
|
|
537
557
|
SolanaAddress,
|
|
538
558
|
SuccessResponse,
|
|
559
|
+
TokenIdentifier,
|
|
539
560
|
TronAddress,
|
|
561
|
+
TronHexAddress,
|
|
540
562
|
} from './resources/shared';
|
|
541
563
|
import {
|
|
542
564
|
SwapDestination,
|
|
@@ -638,6 +660,8 @@ import {
|
|
|
638
660
|
Users,
|
|
639
661
|
} from './resources/users';
|
|
640
662
|
import {
|
|
663
|
+
CustodianTransactionWalletActionStep,
|
|
664
|
+
CustodianTransactionWalletActionStepStatus,
|
|
641
665
|
EarnAsset,
|
|
642
666
|
EarnDepositActionResponse,
|
|
643
667
|
EarnDepositRequestBody,
|
|
@@ -659,10 +683,15 @@ import {
|
|
|
659
683
|
ExternalTransactionWalletActionStep,
|
|
660
684
|
ExternalTransactionWalletActionStepStatus,
|
|
661
685
|
FailureReason,
|
|
686
|
+
ListWalletActionsQuery,
|
|
687
|
+
ListWalletActionsResponse,
|
|
662
688
|
SvmTransactionWalletActionStep,
|
|
663
689
|
SvmWalletActionStepStatus,
|
|
664
690
|
SwapActionResponse,
|
|
665
691
|
TransferActionResponse,
|
|
692
|
+
TvmTransactionWalletActionStep,
|
|
693
|
+
TvmWalletActionStepStatus,
|
|
694
|
+
WalletActionInclude,
|
|
666
695
|
WalletActionResponse,
|
|
667
696
|
WalletActionStatus,
|
|
668
697
|
WalletActionStep,
|
|
@@ -671,6 +700,7 @@ import {
|
|
|
671
700
|
WalletActions,
|
|
672
701
|
} from './resources/wallet-actions';
|
|
673
702
|
import {
|
|
703
|
+
BlockInfo,
|
|
674
704
|
BridgeCryptoDepositMetadata,
|
|
675
705
|
BridgeCryptoTransferMetadata,
|
|
676
706
|
BridgeFiatDepositMetadata,
|
|
@@ -710,6 +740,7 @@ import {
|
|
|
710
740
|
UserCreatedWebhookPayload,
|
|
711
741
|
UserLinkedAccountWebhookPayload,
|
|
712
742
|
UserOperationCompletedWebhookPayload,
|
|
743
|
+
UserReference,
|
|
713
744
|
UserTransferredAccountWebhookPayload,
|
|
714
745
|
UserUnlinkedAccountWebhookPayload,
|
|
715
746
|
UserUpdatedAccountWebhookPayload,
|
|
@@ -734,6 +765,7 @@ import {
|
|
|
734
765
|
WalletActionTransferFailedWebhookPayload,
|
|
735
766
|
WalletActionTransferRejectedWebhookPayload,
|
|
736
767
|
WalletActionTransferSucceededWebhookPayload,
|
|
768
|
+
WalletArchivedWebhookPayload,
|
|
737
769
|
WalletFundsAsset,
|
|
738
770
|
WalletFundsErc20Asset,
|
|
739
771
|
WalletFundsNativeTokenAsset,
|
|
@@ -741,9 +773,11 @@ import {
|
|
|
741
773
|
WalletFundsSplAsset,
|
|
742
774
|
WalletRecoveredWebhookPayload,
|
|
743
775
|
WalletRecoverySetupWebhookPayload,
|
|
776
|
+
WalletRestoredWebhookPayload,
|
|
744
777
|
WebhookPayload,
|
|
745
778
|
Webhooks,
|
|
746
779
|
YieldClaimConfirmedWebhookPayload,
|
|
780
|
+
YieldClaimReward,
|
|
747
781
|
YieldDepositConfirmedWebhookPayload,
|
|
748
782
|
YieldWithdrawConfirmedWebhookPayload,
|
|
749
783
|
} from './resources/webhooks';
|
|
@@ -766,13 +800,18 @@ import {
|
|
|
766
800
|
EthereumYieldSweepType,
|
|
767
801
|
EthereumYieldWithdrawInput,
|
|
768
802
|
EvmCaip2ChainID,
|
|
803
|
+
VaultAsset,
|
|
769
804
|
Yield,
|
|
770
805
|
YieldAuthorizationHeaders,
|
|
771
806
|
} from './resources/yield';
|
|
772
807
|
import {
|
|
808
|
+
AccessListEntry,
|
|
773
809
|
AdditionalSignerInput,
|
|
774
810
|
AdditionalSignerItemInput,
|
|
775
811
|
Address,
|
|
812
|
+
AdvancedSwapPlatformFee,
|
|
813
|
+
AdvancedSwapRequestBody,
|
|
814
|
+
AdvancedSwapResponse,
|
|
776
815
|
AmountType,
|
|
777
816
|
AuthorizationKeyDashboardResponse,
|
|
778
817
|
AuthorizationKeyResponse,
|
|
@@ -785,6 +824,9 @@ import {
|
|
|
785
824
|
CustodialWalletProvider,
|
|
786
825
|
CustomTokenTransferSource,
|
|
787
826
|
DeveloperFee,
|
|
827
|
+
EncryptedAuthorizationKey,
|
|
828
|
+
EncryptedBoundAuthenticateResponse,
|
|
829
|
+
EncryptedWalletAuthenticateResponse,
|
|
788
830
|
EthereumPersonalSignRpcInput,
|
|
789
831
|
EthereumPersonalSignRpcInputParams,
|
|
790
832
|
EthereumPersonalSignRpcResponse,
|
|
@@ -840,6 +882,7 @@ import {
|
|
|
840
882
|
HpkeAeadAlgorithm,
|
|
841
883
|
HpkeEncryption,
|
|
842
884
|
HpkeImportConfig,
|
|
885
|
+
IntentBinding,
|
|
843
886
|
NamedTokenTransferSource,
|
|
844
887
|
OutputWithPreviousTransactionData,
|
|
845
888
|
PolicyInput,
|
|
@@ -849,6 +892,7 @@ import {
|
|
|
849
892
|
PrivateKeySubmitInput,
|
|
850
893
|
PrivyFee,
|
|
851
894
|
Quantity,
|
|
895
|
+
RawBoundAuthenticateResponse,
|
|
852
896
|
RawSignBytesEncoding,
|
|
853
897
|
RawSignBytesHashFunction,
|
|
854
898
|
RawSignBytesParams,
|
|
@@ -857,10 +901,13 @@ import {
|
|
|
857
901
|
RawSignInputParams,
|
|
858
902
|
RawSignResponse,
|
|
859
903
|
RawSignResponseData,
|
|
904
|
+
RawWalletAuthenticateResponse,
|
|
860
905
|
RecipientPublicKey,
|
|
861
906
|
RelayerFee,
|
|
862
907
|
SeedPhraseExportInput,
|
|
863
908
|
SeedPhraseExportResponse,
|
|
909
|
+
SignatureOptions,
|
|
910
|
+
SignatureType,
|
|
864
911
|
SigningAlgorithm,
|
|
865
912
|
SolanaRpcInput,
|
|
866
913
|
SolanaRpcResponse,
|
|
@@ -922,6 +969,7 @@ import {
|
|
|
922
969
|
SparkUserTokenMetadata,
|
|
923
970
|
SparkWalletLeaf,
|
|
924
971
|
SuiCommandName,
|
|
972
|
+
SwapSubmissionStatus,
|
|
925
973
|
TempoAaAuthorization,
|
|
926
974
|
TempoCall,
|
|
927
975
|
TempoFeePayerSignature,
|
|
@@ -936,6 +984,21 @@ import {
|
|
|
936
984
|
TransferReceivedTransactionDetail,
|
|
937
985
|
TransferRequestBody,
|
|
938
986
|
TransferSentTransactionDetail,
|
|
987
|
+
TronContract,
|
|
988
|
+
TronRawDataForSend,
|
|
989
|
+
TronRawDataForSign,
|
|
990
|
+
TronRpcInput,
|
|
991
|
+
TronRpcResponse,
|
|
992
|
+
TronSendTransactionRpcInput,
|
|
993
|
+
TronSendTransactionRpcInputParams,
|
|
994
|
+
TronSendTransactionRpcResponse,
|
|
995
|
+
TronSendTransactionRpcResponseData,
|
|
996
|
+
TronSignTransactionRpcInput,
|
|
997
|
+
TronSignTransactionRpcInputParams,
|
|
998
|
+
TronSignTransactionRpcResponse,
|
|
999
|
+
TronSignTransactionRpcResponseData,
|
|
1000
|
+
TronTransferContract,
|
|
1001
|
+
TronTriggerSmartContract,
|
|
939
1002
|
TypedDataDomainInputParams,
|
|
940
1003
|
TypedDataTypeFieldInput,
|
|
941
1004
|
TypedDataTypesInputParams,
|
|
@@ -943,12 +1006,17 @@ import {
|
|
|
943
1006
|
UnsignedStandardEthereumTransaction,
|
|
944
1007
|
UnsignedTempoTransaction,
|
|
945
1008
|
UserOperationInput,
|
|
1009
|
+
UserSigningKeyBinding,
|
|
946
1010
|
Wallet,
|
|
947
1011
|
WalletAPIRegisterAuthorizationKeyInput,
|
|
948
1012
|
WalletAPIRevokeAuthorizationKeyInput,
|
|
949
1013
|
WalletAdditionalSigner,
|
|
950
1014
|
WalletAdditionalSignerItem,
|
|
951
1015
|
WalletAsset,
|
|
1016
|
+
WalletAuthenticateBoundEncryptedRequestBody,
|
|
1017
|
+
WalletAuthenticateBoundRequestBody,
|
|
1018
|
+
WalletAuthenticateBoundUnencryptedRequestBody,
|
|
1019
|
+
WalletAuthenticateIntentsResponse,
|
|
952
1020
|
WalletAuthenticateRequestBody,
|
|
953
1021
|
WalletAuthenticateWithJwtResponse,
|
|
954
1022
|
WalletAuthorizationHeaders,
|
|
@@ -965,6 +1033,7 @@ import {
|
|
|
965
1033
|
WalletExportParams,
|
|
966
1034
|
WalletExportRequestBody,
|
|
967
1035
|
WalletExportResponseBody,
|
|
1036
|
+
WalletGetParams,
|
|
968
1037
|
WalletImportInitResponse,
|
|
969
1038
|
WalletImportSupportedChains,
|
|
970
1039
|
WalletImportSupportedEntropyTypes,
|
|
@@ -1708,11 +1777,19 @@ export class Privy {
|
|
|
1708
1777
|
return () => controller.abort();
|
|
1709
1778
|
}
|
|
1710
1779
|
|
|
1711
|
-
private buildBody({ options
|
|
1780
|
+
private buildBody({ options }: { options: FinalRequestOptions }): {
|
|
1712
1781
|
bodyHeaders: HeadersLike;
|
|
1713
1782
|
body: BodyInit | undefined;
|
|
1714
1783
|
} {
|
|
1784
|
+
const { body, headers: rawHeaders } = options;
|
|
1715
1785
|
if (!body) {
|
|
1786
|
+
// A resource method always passes a `body` key when its operation defines a
|
|
1787
|
+
// request body, even if the caller omitted an optional body param. Keep the
|
|
1788
|
+
// content-type for those, and only elide it for operations with no body at
|
|
1789
|
+
// all (e.g. GET/DELETE).
|
|
1790
|
+
if (body == null && 'body' in options) {
|
|
1791
|
+
return this.#encoder({ body, headers: buildHeaders([rawHeaders]) });
|
|
1792
|
+
}
|
|
1716
1793
|
return { bodyHeaders: undefined, body: undefined };
|
|
1717
1794
|
}
|
|
1718
1795
|
const headers = buildHeaders([rawHeaders]);
|
|
@@ -1794,8 +1871,8 @@ export class Privy {
|
|
|
1794
1871
|
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
1795
1872
|
onramps: API.Onramps = new API.Onramps(this);
|
|
1796
1873
|
organizations: API.Organizations = new API.Organizations(this);
|
|
1797
|
-
oAuth: API.OAuth = new API.OAuth(this);
|
|
1798
1874
|
walletActions: API.WalletActions = new API.WalletActions(this);
|
|
1875
|
+
oAuth: API.OAuth = new API.OAuth(this);
|
|
1799
1876
|
yield: API.Yield = new API.Yield(this);
|
|
1800
1877
|
krakenEmbed: API.KrakenEmbed = new API.KrakenEmbed(this);
|
|
1801
1878
|
swaps: API.Swaps = new API.Swaps(this);
|
|
@@ -1820,8 +1897,8 @@ Privy.Shared = Shared;
|
|
|
1820
1897
|
Privy.Webhooks = Webhooks;
|
|
1821
1898
|
Privy.Onramps = Onramps;
|
|
1822
1899
|
Privy.Organizations = Organizations;
|
|
1823
|
-
Privy.OAuth = OAuth;
|
|
1824
1900
|
Privy.WalletActions = WalletActions;
|
|
1901
|
+
Privy.OAuth = OAuth;
|
|
1825
1902
|
Privy.Yield = Yield;
|
|
1826
1903
|
Privy.KrakenEmbed = KrakenEmbed;
|
|
1827
1904
|
Privy.Swaps = Swaps;
|
|
@@ -1834,9 +1911,13 @@ export declare namespace Privy {
|
|
|
1834
1911
|
|
|
1835
1912
|
export {
|
|
1836
1913
|
Wallets as Wallets,
|
|
1914
|
+
type AccessListEntry as AccessListEntry,
|
|
1837
1915
|
type AdditionalSignerInput as AdditionalSignerInput,
|
|
1838
1916
|
type AdditionalSignerItemInput as AdditionalSignerItemInput,
|
|
1839
1917
|
type Address as Address,
|
|
1918
|
+
type AdvancedSwapPlatformFee as AdvancedSwapPlatformFee,
|
|
1919
|
+
type AdvancedSwapRequestBody as AdvancedSwapRequestBody,
|
|
1920
|
+
type AdvancedSwapResponse as AdvancedSwapResponse,
|
|
1840
1921
|
type AmountType as AmountType,
|
|
1841
1922
|
type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse,
|
|
1842
1923
|
type AuthorizationKeyResponse as AuthorizationKeyResponse,
|
|
@@ -1849,6 +1930,9 @@ export declare namespace Privy {
|
|
|
1849
1930
|
type CustodialWalletProvider as CustodialWalletProvider,
|
|
1850
1931
|
type CustomTokenTransferSource as CustomTokenTransferSource,
|
|
1851
1932
|
type DeveloperFee as DeveloperFee,
|
|
1933
|
+
type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
|
|
1934
|
+
type EncryptedBoundAuthenticateResponse as EncryptedBoundAuthenticateResponse,
|
|
1935
|
+
type EncryptedWalletAuthenticateResponse as EncryptedWalletAuthenticateResponse,
|
|
1852
1936
|
type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput,
|
|
1853
1937
|
type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams,
|
|
1854
1938
|
type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse,
|
|
@@ -1904,6 +1988,7 @@ export declare namespace Privy {
|
|
|
1904
1988
|
type HpkeEncryption as HpkeEncryption,
|
|
1905
1989
|
type HpkeImportConfig as HpkeImportConfig,
|
|
1906
1990
|
type Hex as Hex,
|
|
1991
|
+
type IntentBinding as IntentBinding,
|
|
1907
1992
|
type NamedTokenTransferSource as NamedTokenTransferSource,
|
|
1908
1993
|
type OutputWithPreviousTransactionData as OutputWithPreviousTransactionData,
|
|
1909
1994
|
type PolicyInput as PolicyInput,
|
|
@@ -1913,6 +1998,7 @@ export declare namespace Privy {
|
|
|
1913
1998
|
type PrivateKeySubmitInput as PrivateKeySubmitInput,
|
|
1914
1999
|
type PrivyFee as PrivyFee,
|
|
1915
2000
|
type Quantity as Quantity,
|
|
2001
|
+
type RawBoundAuthenticateResponse as RawBoundAuthenticateResponse,
|
|
1916
2002
|
type RawSignBytesEncoding as RawSignBytesEncoding,
|
|
1917
2003
|
type RawSignBytesHashFunction as RawSignBytesHashFunction,
|
|
1918
2004
|
type RawSignBytesParams as RawSignBytesParams,
|
|
@@ -1921,10 +2007,13 @@ export declare namespace Privy {
|
|
|
1921
2007
|
type RawSignInputParams as RawSignInputParams,
|
|
1922
2008
|
type RawSignResponse as RawSignResponse,
|
|
1923
2009
|
type RawSignResponseData as RawSignResponseData,
|
|
2010
|
+
type RawWalletAuthenticateResponse as RawWalletAuthenticateResponse,
|
|
1924
2011
|
type RecipientPublicKey as RecipientPublicKey,
|
|
1925
2012
|
type RelayerFee as RelayerFee,
|
|
1926
2013
|
type SeedPhraseExportInput as SeedPhraseExportInput,
|
|
1927
2014
|
type SeedPhraseExportResponse as SeedPhraseExportResponse,
|
|
2015
|
+
type SignatureOptions as SignatureOptions,
|
|
2016
|
+
type SignatureType as SignatureType,
|
|
1928
2017
|
type SigningAlgorithm as SigningAlgorithm,
|
|
1929
2018
|
type SolanaRpcInput as SolanaRpcInput,
|
|
1930
2019
|
type SolanaRpcResponse as SolanaRpcResponse,
|
|
@@ -1986,6 +2075,7 @@ export declare namespace Privy {
|
|
|
1986
2075
|
type SparkUserTokenMetadata as SparkUserTokenMetadata,
|
|
1987
2076
|
type SparkWalletLeaf as SparkWalletLeaf,
|
|
1988
2077
|
type SuiCommandName as SuiCommandName,
|
|
2078
|
+
type SwapSubmissionStatus as SwapSubmissionStatus,
|
|
1989
2079
|
type TempoAaAuthorization as TempoAaAuthorization,
|
|
1990
2080
|
type TempoCall as TempoCall,
|
|
1991
2081
|
type TempoFeePayerSignature as TempoFeePayerSignature,
|
|
@@ -2000,6 +2090,21 @@ export declare namespace Privy {
|
|
|
2000
2090
|
type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
|
|
2001
2091
|
type TransferRequestBody as TransferRequestBody,
|
|
2002
2092
|
type TransferSentTransactionDetail as TransferSentTransactionDetail,
|
|
2093
|
+
type TronContract as TronContract,
|
|
2094
|
+
type TronRawDataForSend as TronRawDataForSend,
|
|
2095
|
+
type TronRawDataForSign as TronRawDataForSign,
|
|
2096
|
+
type TronRpcInput as TronRpcInput,
|
|
2097
|
+
type TronRpcResponse as TronRpcResponse,
|
|
2098
|
+
type TronSendTransactionRpcInput as TronSendTransactionRpcInput,
|
|
2099
|
+
type TronSendTransactionRpcInputParams as TronSendTransactionRpcInputParams,
|
|
2100
|
+
type TronSendTransactionRpcResponse as TronSendTransactionRpcResponse,
|
|
2101
|
+
type TronSendTransactionRpcResponseData as TronSendTransactionRpcResponseData,
|
|
2102
|
+
type TronSignTransactionRpcInput as TronSignTransactionRpcInput,
|
|
2103
|
+
type TronSignTransactionRpcInputParams as TronSignTransactionRpcInputParams,
|
|
2104
|
+
type TronSignTransactionRpcResponse as TronSignTransactionRpcResponse,
|
|
2105
|
+
type TronSignTransactionRpcResponseData as TronSignTransactionRpcResponseData,
|
|
2106
|
+
type TronTransferContract as TronTransferContract,
|
|
2107
|
+
type TronTriggerSmartContract as TronTriggerSmartContract,
|
|
2003
2108
|
type TypedDataDomainInputParams as TypedDataDomainInputParams,
|
|
2004
2109
|
type TypedDataTypeFieldInput as TypedDataTypeFieldInput,
|
|
2005
2110
|
type TypedDataTypesInputParams as TypedDataTypesInputParams,
|
|
@@ -2007,12 +2112,17 @@ export declare namespace Privy {
|
|
|
2007
2112
|
type UnsignedStandardEthereumTransaction as UnsignedStandardEthereumTransaction,
|
|
2008
2113
|
type UnsignedTempoTransaction as UnsignedTempoTransaction,
|
|
2009
2114
|
type UserOperationInput as UserOperationInput,
|
|
2115
|
+
type UserSigningKeyBinding as UserSigningKeyBinding,
|
|
2010
2116
|
type Wallet as Wallet,
|
|
2011
2117
|
type WalletAdditionalSigner as WalletAdditionalSigner,
|
|
2012
2118
|
type WalletAdditionalSignerItem as WalletAdditionalSignerItem,
|
|
2013
2119
|
type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput,
|
|
2014
2120
|
type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput,
|
|
2015
2121
|
type WalletAsset as WalletAsset,
|
|
2122
|
+
type WalletAuthenticateBoundEncryptedRequestBody as WalletAuthenticateBoundEncryptedRequestBody,
|
|
2123
|
+
type WalletAuthenticateBoundRequestBody as WalletAuthenticateBoundRequestBody,
|
|
2124
|
+
type WalletAuthenticateBoundUnencryptedRequestBody as WalletAuthenticateBoundUnencryptedRequestBody,
|
|
2125
|
+
type WalletAuthenticateIntentsResponse as WalletAuthenticateIntentsResponse,
|
|
2016
2126
|
type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody,
|
|
2017
2127
|
type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse,
|
|
2018
2128
|
type WalletAuthorizationHeaders as WalletAuthorizationHeaders,
|
|
@@ -2040,6 +2150,7 @@ export declare namespace Privy {
|
|
|
2040
2150
|
type WalletUpdateParams as WalletUpdateParams,
|
|
2041
2151
|
type WalletListParams as WalletListParams,
|
|
2042
2152
|
type WalletExportParams as WalletExportParams,
|
|
2153
|
+
type WalletGetParams as WalletGetParams,
|
|
2043
2154
|
type WalletRawSignParams as WalletRawSignParams,
|
|
2044
2155
|
type WalletRpcParams as WalletRpcParams,
|
|
2045
2156
|
};
|
|
@@ -2048,8 +2159,11 @@ export declare namespace Privy {
|
|
|
2048
2159
|
Apps as Apps,
|
|
2049
2160
|
type AllowlistDeletionResponse as AllowlistDeletionResponse,
|
|
2050
2161
|
type AllowlistEntry as AllowlistEntry,
|
|
2162
|
+
type AppAllowlistConfig as AppAllowlistConfig,
|
|
2163
|
+
type AppCustomOAuthProvider as AppCustomOAuthProvider,
|
|
2051
2164
|
type AppResponse as AppResponse,
|
|
2052
2165
|
type Caip2 as Caip2,
|
|
2166
|
+
type CaptchaProvider as CaptchaProvider,
|
|
2053
2167
|
type Currency as Currency,
|
|
2054
2168
|
type CurrencyAsset as CurrencyAsset,
|
|
2055
2169
|
type EmailDomain as EmailDomain,
|
|
@@ -2066,6 +2180,7 @@ export declare namespace Privy {
|
|
|
2066
2180
|
type GasSpendCurrency as GasSpendCurrency,
|
|
2067
2181
|
type GasSpendRequestBody as GasSpendRequestBody,
|
|
2068
2182
|
type GasSpendResponseBody as GasSpendResponseBody,
|
|
2183
|
+
type MfaMethod as MfaMethod,
|
|
2069
2184
|
type PhoneInviteInput as PhoneInviteInput,
|
|
2070
2185
|
type TelegramAuthConfigSchema as TelegramAuthConfigSchema,
|
|
2071
2186
|
type TestAccount as TestAccount,
|
|
@@ -2248,6 +2363,7 @@ export declare namespace Privy {
|
|
|
2248
2363
|
type SiwsInitResponseBody as SiwsInitResponseBody,
|
|
2249
2364
|
type SiwsInput as SiwsInput,
|
|
2250
2365
|
type SiwsLinkRequestBody as SiwsLinkRequestBody,
|
|
2366
|
+
type SiwsMessageType as SiwsMessageType,
|
|
2251
2367
|
type SiwsNonce as SiwsNonce,
|
|
2252
2368
|
type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody,
|
|
2253
2369
|
type SmartWalletSiweInput as SmartWalletSiweInput,
|
|
@@ -2393,6 +2509,8 @@ export declare namespace Privy {
|
|
|
2393
2509
|
type EthereumTransactionCondition as EthereumTransactionCondition,
|
|
2394
2510
|
type EthereumTypedDataDomainCondition as EthereumTypedDataDomainCondition,
|
|
2395
2511
|
type EthereumTypedDataMessageCondition as EthereumTypedDataMessageCondition,
|
|
2512
|
+
type MessageSigningCondition as MessageSigningCondition,
|
|
2513
|
+
type MessageSigningField as MessageSigningField,
|
|
2396
2514
|
type Policy as Policy,
|
|
2397
2515
|
type PolicyAction as PolicyAction,
|
|
2398
2516
|
type PolicyAuthorizationHeaders as PolicyAuthorizationHeaders,
|
|
@@ -2414,6 +2532,7 @@ export declare namespace Privy {
|
|
|
2414
2532
|
type TempoTransactionConditionField as TempoTransactionConditionField,
|
|
2415
2533
|
type TronCalldataCondition as TronCalldataCondition,
|
|
2416
2534
|
type TronTransactionCondition as TronTransactionCondition,
|
|
2535
|
+
type TypedDataInput as TypedDataInput,
|
|
2417
2536
|
type UpdateConditionSetRequestBody as UpdateConditionSetRequestBody,
|
|
2418
2537
|
};
|
|
2419
2538
|
|
|
@@ -2441,6 +2560,7 @@ export declare namespace Privy {
|
|
|
2441
2560
|
|
|
2442
2561
|
export {
|
|
2443
2562
|
KeyQuorums as KeyQuorums,
|
|
2563
|
+
type AuthorizationKey as AuthorizationKey,
|
|
2444
2564
|
type KeyQuorum as KeyQuorum,
|
|
2445
2565
|
type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders,
|
|
2446
2566
|
type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody,
|
|
@@ -2478,6 +2598,7 @@ export declare namespace Privy {
|
|
|
2478
2598
|
type BalanceAsset as BalanceAsset,
|
|
2479
2599
|
type BalanceAssetByChain as BalanceAssetByChain,
|
|
2480
2600
|
type BalanceResponse as BalanceResponse,
|
|
2601
|
+
type ChainTestnetMode as ChainTestnetMode,
|
|
2481
2602
|
type CreateAccountFromWalletIDsInput as CreateAccountFromWalletIDsInput,
|
|
2482
2603
|
type CreateAccountFromWalletsConfigurationInput as CreateAccountFromWalletsConfigurationInput,
|
|
2483
2604
|
type CreateAccountInput as CreateAccountInput,
|
|
@@ -2494,6 +2615,7 @@ export declare namespace Privy {
|
|
|
2494
2615
|
type AggregationMethod as AggregationMethod,
|
|
2495
2616
|
type AggregationMetric as AggregationMetric,
|
|
2496
2617
|
type AggregationWindow as AggregationWindow,
|
|
2618
|
+
type RollingAggregationWindow as RollingAggregationWindow,
|
|
2497
2619
|
};
|
|
2498
2620
|
|
|
2499
2621
|
export {
|
|
@@ -2501,8 +2623,11 @@ export declare namespace Privy {
|
|
|
2501
2623
|
type BaseActionResult as BaseActionResult,
|
|
2502
2624
|
type BaseIntentResponse as BaseIntentResponse,
|
|
2503
2625
|
type IntentAuthorization as IntentAuthorization,
|
|
2626
|
+
type IntentAuthorizationKeyMember as IntentAuthorizationKeyMember,
|
|
2627
|
+
type IntentAuthorizationKeyQuorum as IntentAuthorizationKeyQuorum,
|
|
2504
2628
|
type IntentAuthorizationKeyQuorumMember as IntentAuthorizationKeyQuorumMember,
|
|
2505
2629
|
type IntentAuthorizationMember as IntentAuthorizationMember,
|
|
2630
|
+
type IntentAuthorizationUserMember as IntentAuthorizationUserMember,
|
|
2506
2631
|
type IntentAuthorizeInput as IntentAuthorizeInput,
|
|
2507
2632
|
type IntentCreationHeaders as IntentCreationHeaders,
|
|
2508
2633
|
type IntentResponse as IntentResponse,
|
|
@@ -2515,6 +2640,7 @@ export declare namespace Privy {
|
|
|
2515
2640
|
type RpcIntentResponse as RpcIntentResponse,
|
|
2516
2641
|
type RuleDeleteIntentResponse as RuleDeleteIntentResponse,
|
|
2517
2642
|
type RuleIntentCreateRequestDetails as RuleIntentCreateRequestDetails,
|
|
2643
|
+
type RuleIntentDeleteRequestBody as RuleIntentDeleteRequestBody,
|
|
2518
2644
|
type RuleIntentDeleteRequestDetails as RuleIntentDeleteRequestDetails,
|
|
2519
2645
|
type RuleIntentRequestDetails as RuleIntentRequestDetails,
|
|
2520
2646
|
type RuleIntentResponse as RuleIntentResponse,
|
|
@@ -2540,11 +2666,14 @@ export declare namespace Privy {
|
|
|
2540
2666
|
type P256PublicKey as P256PublicKey,
|
|
2541
2667
|
type SolanaAddress as SolanaAddress,
|
|
2542
2668
|
type SuccessResponse as SuccessResponse,
|
|
2669
|
+
type TokenIdentifier as TokenIdentifier,
|
|
2543
2670
|
type TronAddress as TronAddress,
|
|
2671
|
+
type TronHexAddress as TronHexAddress,
|
|
2544
2672
|
};
|
|
2545
2673
|
|
|
2546
2674
|
export {
|
|
2547
2675
|
Webhooks as Webhooks,
|
|
2676
|
+
type BlockInfo as BlockInfo,
|
|
2548
2677
|
type BridgeCryptoDepositMetadata as BridgeCryptoDepositMetadata,
|
|
2549
2678
|
type BridgeCryptoTransferMetadata as BridgeCryptoTransferMetadata,
|
|
2550
2679
|
type BridgeFiatDepositMetadata as BridgeFiatDepositMetadata,
|
|
@@ -2584,6 +2713,7 @@ export declare namespace Privy {
|
|
|
2584
2713
|
type UserCreatedWebhookPayload as UserCreatedWebhookPayload,
|
|
2585
2714
|
type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload,
|
|
2586
2715
|
type UserOperationCompletedWebhookPayload as UserOperationCompletedWebhookPayload,
|
|
2716
|
+
type UserReference as UserReference,
|
|
2587
2717
|
type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload,
|
|
2588
2718
|
type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload,
|
|
2589
2719
|
type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload,
|
|
@@ -2608,6 +2738,7 @@ export declare namespace Privy {
|
|
|
2608
2738
|
type WalletActionTransferFailedWebhookPayload as WalletActionTransferFailedWebhookPayload,
|
|
2609
2739
|
type WalletActionTransferRejectedWebhookPayload as WalletActionTransferRejectedWebhookPayload,
|
|
2610
2740
|
type WalletActionTransferSucceededWebhookPayload as WalletActionTransferSucceededWebhookPayload,
|
|
2741
|
+
type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload,
|
|
2611
2742
|
type WalletFundsAsset as WalletFundsAsset,
|
|
2612
2743
|
type WalletFundsErc20Asset as WalletFundsErc20Asset,
|
|
2613
2744
|
type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset,
|
|
@@ -2615,8 +2746,10 @@ export declare namespace Privy {
|
|
|
2615
2746
|
type WalletFundsSplAsset as WalletFundsSplAsset,
|
|
2616
2747
|
type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload,
|
|
2617
2748
|
type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload,
|
|
2749
|
+
type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload,
|
|
2618
2750
|
type WebhookPayload as WebhookPayload,
|
|
2619
2751
|
type YieldClaimConfirmedWebhookPayload as YieldClaimConfirmedWebhookPayload,
|
|
2752
|
+
type YieldClaimReward as YieldClaimReward,
|
|
2620
2753
|
type YieldDepositConfirmedWebhookPayload as YieldDepositConfirmedWebhookPayload,
|
|
2621
2754
|
type YieldWithdrawConfirmedWebhookPayload as YieldWithdrawConfirmedWebhookPayload,
|
|
2622
2755
|
};
|
|
@@ -2632,7 +2765,6 @@ export declare namespace Privy {
|
|
|
2632
2765
|
type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput,
|
|
2633
2766
|
type CreateStripeOnrampSessionInput as CreateStripeOnrampSessionInput,
|
|
2634
2767
|
type CreateStripeOnrampSessionResponse as CreateStripeOnrampSessionResponse,
|
|
2635
|
-
type CryptoCurrencyCode as CryptoCurrencyCode,
|
|
2636
2768
|
type ExchangeStripeTokensInput as ExchangeStripeTokensInput,
|
|
2637
2769
|
type ExchangeStripeTokensResponse as ExchangeStripeTokensResponse,
|
|
2638
2770
|
type FiatAmount as FiatAmount,
|
|
@@ -2659,7 +2791,6 @@ export declare namespace Privy {
|
|
|
2659
2791
|
type LinkAuthIntentNoAccount as LinkAuthIntentNoAccount,
|
|
2660
2792
|
type ListStripeConsumerWalletsResponse as ListStripeConsumerWalletsResponse,
|
|
2661
2793
|
type ListStripePaymentTokensResponse as ListStripePaymentTokensResponse,
|
|
2662
|
-
type OnrampSessionFees as OnrampSessionFees,
|
|
2663
2794
|
type OnrampSessionParams as OnrampSessionParams,
|
|
2664
2795
|
type OnrampSessionTransactionDetails as OnrampSessionTransactionDetails,
|
|
2665
2796
|
type RefreshStripeQuoteResponse as RefreshStripeQuoteResponse,
|
|
@@ -2667,10 +2798,11 @@ export declare namespace Privy {
|
|
|
2667
2798
|
type StripeCryptoCustomerActive as StripeCryptoCustomerActive,
|
|
2668
2799
|
type StripeCryptoCustomerExpired as StripeCryptoCustomerExpired,
|
|
2669
2800
|
type StripeCryptoCustomerNone as StripeCryptoCustomerNone,
|
|
2801
|
+
type StripeKYCRegion as StripeKYCRegion,
|
|
2802
|
+
type StripeKYCTier as StripeKYCTier,
|
|
2670
2803
|
type StripeOnrampCheckoutResponse as StripeOnrampCheckoutResponse,
|
|
2671
2804
|
type StripeOnrampSessionStatus as StripeOnrampSessionStatus,
|
|
2672
2805
|
type StripePaymentToken as StripePaymentToken,
|
|
2673
|
-
type StripeQuote as StripeQuote,
|
|
2674
2806
|
type StripeTransactionDetails as StripeTransactionDetails,
|
|
2675
2807
|
type StripeVerification as StripeVerification,
|
|
2676
2808
|
};
|
|
@@ -2684,16 +2816,10 @@ export declare namespace Privy {
|
|
|
2684
2816
|
type UpdateOrganizationSecretSigningKeyInput as UpdateOrganizationSecretSigningKeyInput,
|
|
2685
2817
|
};
|
|
2686
2818
|
|
|
2687
|
-
export {
|
|
2688
|
-
OAuth as OAuth,
|
|
2689
|
-
type DeviceAuthorizationResponse as DeviceAuthorizationResponse,
|
|
2690
|
-
type OAuthGrant as OAuthGrant,
|
|
2691
|
-
type OAuthGrantListResponse as OAuthGrantListResponse,
|
|
2692
|
-
type OAuthGrantRevokeResponse as OAuthGrantRevokeResponse,
|
|
2693
|
-
};
|
|
2694
|
-
|
|
2695
2819
|
export {
|
|
2696
2820
|
WalletActions as WalletActions,
|
|
2821
|
+
type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep,
|
|
2822
|
+
type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus,
|
|
2697
2823
|
type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep,
|
|
2698
2824
|
type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep,
|
|
2699
2825
|
type EvmWalletActionStepStatus as EvmWalletActionStepStatus,
|
|
@@ -2715,10 +2841,15 @@ export declare namespace Privy {
|
|
|
2715
2841
|
type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep,
|
|
2716
2842
|
type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus,
|
|
2717
2843
|
type FailureReason as FailureReason,
|
|
2844
|
+
type ListWalletActionsQuery as ListWalletActionsQuery,
|
|
2845
|
+
type ListWalletActionsResponse as ListWalletActionsResponse,
|
|
2718
2846
|
type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep,
|
|
2719
2847
|
type SvmWalletActionStepStatus as SvmWalletActionStepStatus,
|
|
2720
2848
|
type SwapActionResponse as SwapActionResponse,
|
|
2849
|
+
type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep,
|
|
2850
|
+
type TvmWalletActionStepStatus as TvmWalletActionStepStatus,
|
|
2721
2851
|
type TransferActionResponse as TransferActionResponse,
|
|
2852
|
+
type WalletActionInclude as WalletActionInclude,
|
|
2722
2853
|
type WalletActionResponse as WalletActionResponse,
|
|
2723
2854
|
type WalletActionStatus as WalletActionStatus,
|
|
2724
2855
|
type WalletActionStep as WalletActionStep,
|
|
@@ -2726,6 +2857,14 @@ export declare namespace Privy {
|
|
|
2726
2857
|
type WalletActionType as WalletActionType,
|
|
2727
2858
|
};
|
|
2728
2859
|
|
|
2860
|
+
export {
|
|
2861
|
+
OAuth as OAuth,
|
|
2862
|
+
type DeviceAuthorizationResponse as DeviceAuthorizationResponse,
|
|
2863
|
+
type OAuthGrant as OAuthGrant,
|
|
2864
|
+
type OAuthGrantListResponse as OAuthGrantListResponse,
|
|
2865
|
+
type OAuthGrantRevokeResponse as OAuthGrantRevokeResponse,
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2729
2868
|
export {
|
|
2730
2869
|
Yield as Yield,
|
|
2731
2870
|
type EthereumVaultDetailsInput as EthereumVaultDetailsInput,
|
|
@@ -2746,6 +2885,7 @@ export declare namespace Privy {
|
|
|
2746
2885
|
type EthereumYieldSweepType as EthereumYieldSweepType,
|
|
2747
2886
|
type EthereumYieldWithdrawInput as EthereumYieldWithdrawInput,
|
|
2748
2887
|
type EvmCaip2ChainID as EvmCaip2ChainID,
|
|
2888
|
+
type VaultAsset as VaultAsset,
|
|
2749
2889
|
type YieldAuthorizationHeaders as YieldAuthorizationHeaders,
|
|
2750
2890
|
};
|
|
2751
2891
|
|
|
@@ -2772,6 +2912,7 @@ export declare namespace Privy {
|
|
|
2772
2912
|
type KrakenEmbedEarnAprEstimate as KrakenEmbedEarnAprEstimate,
|
|
2773
2913
|
type KrakenEmbedEarnAsset as KrakenEmbedEarnAsset,
|
|
2774
2914
|
type KrakenEmbedEarnUserAllocation as KrakenEmbedEarnUserAllocation,
|
|
2915
|
+
type KrakenEmbedFullName as KrakenEmbedFullName,
|
|
2775
2916
|
type KrakenEmbedGetAssetListQueryParamsSchema as KrakenEmbedGetAssetListQueryParamsSchema,
|
|
2776
2917
|
type KrakenEmbedGetCustomOrderHistoryQueryParams as KrakenEmbedGetCustomOrderHistoryQueryParams,
|
|
2777
2918
|
type KrakenEmbedGetCustomOrderHistoryResponse as KrakenEmbedGetCustomOrderHistoryResponse,
|
|
@@ -2790,11 +2931,16 @@ export declare namespace Privy {
|
|
|
2790
2931
|
type KrakenEmbedGetPortfolioDetailsQueryParamsSchema as KrakenEmbedGetPortfolioDetailsQueryParamsSchema,
|
|
2791
2932
|
type KrakenEmbedGetPortfolioSummaryQueryParams as KrakenEmbedGetPortfolioSummaryQueryParams,
|
|
2792
2933
|
type KrakenEmbedGetPortfolioSummaryResponse as KrakenEmbedGetPortfolioSummaryResponse,
|
|
2934
|
+
type KrakenEmbedGetPortfolioSummaryResult as KrakenEmbedGetPortfolioSummaryResult,
|
|
2793
2935
|
type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema as KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
|
|
2794
2936
|
type KrakenEmbedGetQuoteQueryParams as KrakenEmbedGetQuoteQueryParams,
|
|
2795
2937
|
type KrakenEmbedListCustomOrdersQueryParams as KrakenEmbedListCustomOrdersQueryParams,
|
|
2796
2938
|
type KrakenEmbedListCustomOrdersResponse as KrakenEmbedListCustomOrdersResponse,
|
|
2797
2939
|
type KrakenEmbedListCustomOrdersResult as KrakenEmbedListCustomOrdersResult,
|
|
2940
|
+
type KrakenEmbedPortfolioSummaryPayload as KrakenEmbedPortfolioSummaryPayload,
|
|
2941
|
+
type KrakenEmbedPortfolioTransactionRefID as KrakenEmbedPortfolioTransactionRefID,
|
|
2942
|
+
type KrakenEmbedPortfolioTransactionRefIDType as KrakenEmbedPortfolioTransactionRefIDType,
|
|
2943
|
+
type KrakenEmbedResidence as KrakenEmbedResidence,
|
|
2798
2944
|
type KrakenEmbedStartAddressMetadata as KrakenEmbedStartAddressMetadata,
|
|
2799
2945
|
type KrakenEmbedStartAddressVerificationURLInput as KrakenEmbedStartAddressVerificationURLInput,
|
|
2800
2946
|
type KrakenEmbedStartIdentityInfo as KrakenEmbedStartIdentityInfo,
|