@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.
- package/CHANGELOG.md +59 -0
- package/client.d.mts +14 -17
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -17
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/client-auth.d.mts +12 -4
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +12 -4
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +6 -0
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +6 -0
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/index.d.mts +7 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +110 -17
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +110 -17
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/policies.d.mts +48 -8
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +48 -8
- package/resources/policies.d.ts.map +1 -1
- package/resources/transactions.d.mts +9 -2
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +9 -2
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +33 -7
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +33 -7
- package/resources/users.d.ts.map +1 -1
- package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +257 -55
- package/resources/wallets/actions.d.mts.map +1 -0
- package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +257 -55
- package/resources/wallets/actions.d.ts.map +1 -0
- package/resources/wallets/actions.js +9 -0
- package/resources/wallets/actions.js.map +1 -0
- package/resources/wallets/actions.mjs +5 -0
- package/resources/wallets/actions.mjs.map +1 -0
- package/resources/wallets/balance.d.mts +7 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +7 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js +3 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs +1 -0
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +10 -3
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -3
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +261 -28
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +261 -28
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +4 -0
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +4 -0
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +357 -56
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +357 -56
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +4 -3
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +4 -3
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.js.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/src/client.ts +84 -83
- package/src/resources/client-auth.ts +19 -3
- package/src/resources/embedded-wallets.ts +7 -0
- package/src/resources/index.ts +42 -40
- package/src/resources/kraken-embed.ts +439 -848
- package/src/resources/policies.ts +96 -36
- package/src/resources/transactions.ts +18 -9
- package/src/resources/users.ts +38 -6
- package/src/resources/{wallet-actions.ts → wallets/actions.ts} +318 -62
- package/src/resources/wallets/balance.ts +20 -62
- package/src/resources/wallets/index.ts +59 -0
- package/src/resources/wallets/transactions.ts +11 -10
- package/src/resources/wallets/wallets.ts +513 -66
- package/src/resources/webhooks.ts +436 -61
- package/src/resources/yield.ts +4 -11
- 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/resources/wallet-actions.d.mts.map +0 -1
- package/resources/wallet-actions.d.ts.map +0 -1
- package/resources/wallet-actions.js +0 -9
- package/resources/wallet-actions.js.map +0 -1
- package/resources/wallet-actions.mjs +0 -5
- package/resources/wallet-actions.mjs.map +0 -1
package/src/resources/index.ts
CHANGED
|
@@ -91,6 +91,7 @@ export {
|
|
|
91
91
|
type BridgeSandboxFiatVirtualAccountResponse,
|
|
92
92
|
type BridgeSourceAsset,
|
|
93
93
|
type BridgeUsdFiatVirtualAccountDepositInstructions,
|
|
94
|
+
type BridgeUsdFiatVirtualAccountDepositPaymentRail,
|
|
94
95
|
type CustomJwtAuthenticateRequestBody,
|
|
95
96
|
type CustomJwtLinkRequestBody,
|
|
96
97
|
type CustomOAuthProviderID,
|
|
@@ -151,6 +152,7 @@ export {
|
|
|
151
152
|
type OAuthProviderID,
|
|
152
153
|
type OAuthTokenAuthorizationCodeRequestBody,
|
|
153
154
|
type OAuthTokenDeviceCodePendingError,
|
|
155
|
+
type OAuthTokenDeviceCodePendingErrorCode,
|
|
154
156
|
type OAuthTokenDeviceCodeRequestBody,
|
|
155
157
|
type OAuthTokenGrantType,
|
|
156
158
|
type OAuthTokenRefreshTokenRequestBody,
|
|
@@ -341,10 +343,12 @@ export {
|
|
|
341
343
|
} from './key-quorums';
|
|
342
344
|
export {
|
|
343
345
|
KrakenEmbed,
|
|
346
|
+
type KrakenEmbedAssetSortOption,
|
|
344
347
|
type KrakenEmbedCancelCustomOrderInput,
|
|
345
348
|
type KrakenEmbedCancelCustomOrderPath,
|
|
346
349
|
type KrakenEmbedCancelCustomOrderResponse,
|
|
347
350
|
type KrakenEmbedCancelCustomOrderResult,
|
|
351
|
+
type KrakenEmbedCountryCode,
|
|
348
352
|
type KrakenEmbedCreateCustomOrderInput,
|
|
349
353
|
type KrakenEmbedCreateCustomOrderResponse,
|
|
350
354
|
type KrakenEmbedCreateCustomOrderResult,
|
|
@@ -354,10 +358,14 @@ export {
|
|
|
354
358
|
type KrakenEmbedCustomOrderAmount,
|
|
355
359
|
type KrakenEmbedCustomOrderOccurrence,
|
|
356
360
|
type KrakenEmbedCustomOrderOccurrenceExecutedAction,
|
|
361
|
+
type KrakenEmbedCustomOrderOccurrenceStatus,
|
|
357
362
|
type KrakenEmbedCustomOrderOccurrenceTrigger,
|
|
363
|
+
type KrakenEmbedCustomOrderOccurrenceTriggerType,
|
|
358
364
|
type KrakenEmbedCustomOrderQuoteAsset,
|
|
359
365
|
type KrakenEmbedCustomOrderStatus,
|
|
366
|
+
type KrakenEmbedCustomOrderStatusValue,
|
|
360
367
|
type KrakenEmbedCustomOrderTrigger,
|
|
368
|
+
type KrakenEmbedCustomOrderTriggerCondition,
|
|
361
369
|
type KrakenEmbedEarnAmount,
|
|
362
370
|
type KrakenEmbedEarnAprEstimate,
|
|
363
371
|
type KrakenEmbedEarnAsset,
|
|
@@ -384,13 +392,18 @@ export {
|
|
|
384
392
|
type KrakenEmbedGetPortfolioSummaryResult,
|
|
385
393
|
type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
|
|
386
394
|
type KrakenEmbedGetQuoteQueryParams,
|
|
395
|
+
type KrakenEmbedIdentityDocumentType,
|
|
396
|
+
type KrakenEmbedIncludeCurrentDayPnlQueryParam,
|
|
387
397
|
type KrakenEmbedListCustomOrdersQueryParams,
|
|
388
398
|
type KrakenEmbedListCustomOrdersResponse,
|
|
389
399
|
type KrakenEmbedListCustomOrdersResult,
|
|
390
400
|
type KrakenEmbedPortfolioSummaryPayload,
|
|
391
401
|
type KrakenEmbedPortfolioTransactionRefID,
|
|
392
402
|
type KrakenEmbedPortfolioTransactionRefIDType,
|
|
403
|
+
type KrakenEmbedQuoteType,
|
|
393
404
|
type KrakenEmbedResidence,
|
|
405
|
+
type KrakenEmbedResidenceDocumentType,
|
|
406
|
+
type KrakenEmbedSortingOrder,
|
|
394
407
|
type KrakenEmbedStartAddressMetadata,
|
|
395
408
|
type KrakenEmbedStartAddressVerificationURLInput,
|
|
396
409
|
type KrakenEmbedStartIdentityInfo,
|
|
@@ -404,6 +417,8 @@ export {
|
|
|
404
417
|
type KrakenEmbedToggleAutoEarnKrakenResponse,
|
|
405
418
|
type KrakenEmbedToggleAutoEarnQueryParams,
|
|
406
419
|
type KrakenEmbedToggleAutoEarnResponse,
|
|
420
|
+
type KrakenEmbedTransactionStatus,
|
|
421
|
+
type KrakenEmbedTransactionType,
|
|
407
422
|
type KrakenEmbedUpcomingReward,
|
|
408
423
|
} from './kraken-embed';
|
|
409
424
|
export {
|
|
@@ -494,7 +509,9 @@ export {
|
|
|
494
509
|
type Ethereum7702AuthorizationCondition,
|
|
495
510
|
type EthereumCalldataCondition,
|
|
496
511
|
type EthereumTransactionCondition,
|
|
512
|
+
type EthereumTransactionConditionField,
|
|
497
513
|
type EthereumTypedDataDomainCondition,
|
|
514
|
+
type EthereumTypedDataDomainConditionField,
|
|
498
515
|
type EthereumTypedDataMessageCondition,
|
|
499
516
|
type MessageSigningCondition,
|
|
500
517
|
type MessageSigningField,
|
|
@@ -509,7 +526,9 @@ export {
|
|
|
509
526
|
type PolicyRuleResponse,
|
|
510
527
|
type SolanaProgramInstructionCondition,
|
|
511
528
|
type SolanaSystemProgramInstructionCondition,
|
|
529
|
+
type SolanaSystemProgramInstructionConditionField,
|
|
512
530
|
type SolanaTokenProgramInstructionCondition,
|
|
531
|
+
type SolanaTokenProgramInstructionConditionField,
|
|
513
532
|
type SuiTransactionCommandCondition,
|
|
514
533
|
type SuiTransactionCommandOperator,
|
|
515
534
|
type SuiTransferObjectsCommandCondition,
|
|
@@ -519,6 +538,7 @@ export {
|
|
|
519
538
|
type TempoTransactionConditionField,
|
|
520
539
|
type TronCalldataCondition,
|
|
521
540
|
type TronTransactionCondition,
|
|
541
|
+
type TronTransactionConditionField,
|
|
522
542
|
type TypedDataInput,
|
|
523
543
|
type UpdateConditionSetRequestBody,
|
|
524
544
|
} from './policies';
|
|
@@ -552,6 +572,7 @@ export {
|
|
|
552
572
|
} from './swaps';
|
|
553
573
|
export {
|
|
554
574
|
Transactions,
|
|
575
|
+
type BlockchainTransactionStatus,
|
|
555
576
|
type Transaction,
|
|
556
577
|
type TransactionList,
|
|
557
578
|
type TransactionScanningAssetDiff,
|
|
@@ -574,6 +595,7 @@ export {
|
|
|
574
595
|
export {
|
|
575
596
|
Users,
|
|
576
597
|
type AuthenticatedUser,
|
|
598
|
+
type ClientSessionUpdateAction,
|
|
577
599
|
type CrossAppEmbeddedWallet,
|
|
578
600
|
type CrossAppSmartWallet,
|
|
579
601
|
type CustomMetadata,
|
|
@@ -583,6 +605,7 @@ export {
|
|
|
583
605
|
type LinkedAccountAppleOAuth,
|
|
584
606
|
type LinkedAccountAuthorizationKey,
|
|
585
607
|
type LinkedAccountBaseWallet,
|
|
608
|
+
type LinkedAccountBaseWalletType,
|
|
586
609
|
type LinkedAccountBitcoinSegwitEmbeddedWallet,
|
|
587
610
|
type LinkedAccountBitcoinTaprootEmbeddedWallet,
|
|
588
611
|
type LinkedAccountCrossApp,
|
|
@@ -612,6 +635,7 @@ export {
|
|
|
612
635
|
type LinkedAccountLinkedInInput,
|
|
613
636
|
type LinkedAccountLinkedInOAuth,
|
|
614
637
|
type LinkedAccountPasskey,
|
|
638
|
+
type LinkedAccountPasskeyCredentialDeviceType,
|
|
615
639
|
type LinkedAccountPasskeyInput,
|
|
616
640
|
type LinkedAccountPhone,
|
|
617
641
|
type LinkedAccountPhoneInput,
|
|
@@ -640,46 +664,6 @@ export {
|
|
|
640
664
|
type UserBatchCreateInput,
|
|
641
665
|
type UserWithIdentityToken,
|
|
642
666
|
} from './users';
|
|
643
|
-
export {
|
|
644
|
-
WalletActions,
|
|
645
|
-
type CustodianTransactionWalletActionStep,
|
|
646
|
-
type CustodianTransactionWalletActionStepStatus,
|
|
647
|
-
type EvmTransactionWalletActionStep,
|
|
648
|
-
type EvmUserOperationWalletActionStep,
|
|
649
|
-
type EvmWalletActionStepStatus,
|
|
650
|
-
type EarnAsset,
|
|
651
|
-
type EarnDepositActionResponse,
|
|
652
|
-
type EarnDepositRequestBody,
|
|
653
|
-
type EarnIncentiveClaimActionResponse,
|
|
654
|
-
type EarnIncentiveClaimRequestBody,
|
|
655
|
-
type EarnIncentiveRewardEntry,
|
|
656
|
-
type EarnIncentiveRewardsQuery,
|
|
657
|
-
type EarnIncentiveRewardsResponse,
|
|
658
|
-
type EarnIncetiveClaimRewardEntry,
|
|
659
|
-
type EarnWithdrawActionResponse,
|
|
660
|
-
type EarnWithdrawRequestBody,
|
|
661
|
-
type EthereumEarnPositionQuery,
|
|
662
|
-
type EthereumEarnPositionResponse,
|
|
663
|
-
type EthereumEarnProvider,
|
|
664
|
-
type EthereumEarnVaultDetailsResponse,
|
|
665
|
-
type ExternalTransactionWalletActionStep,
|
|
666
|
-
type ExternalTransactionWalletActionStepStatus,
|
|
667
|
-
type FailureReason,
|
|
668
|
-
type ListWalletActionsQuery,
|
|
669
|
-
type ListWalletActionsResponse,
|
|
670
|
-
type SvmTransactionWalletActionStep,
|
|
671
|
-
type SvmWalletActionStepStatus,
|
|
672
|
-
type SwapActionResponse,
|
|
673
|
-
type TvmTransactionWalletActionStep,
|
|
674
|
-
type TvmWalletActionStepStatus,
|
|
675
|
-
type TransferActionResponse,
|
|
676
|
-
type WalletActionInclude,
|
|
677
|
-
type WalletActionResponse,
|
|
678
|
-
type WalletActionStatus,
|
|
679
|
-
type WalletActionStep,
|
|
680
|
-
type WalletActionStepType,
|
|
681
|
-
type WalletActionType,
|
|
682
|
-
} from './wallet-actions';
|
|
683
667
|
export {
|
|
684
668
|
Wallets,
|
|
685
669
|
type AccessListEntry,
|
|
@@ -806,9 +790,13 @@ export {
|
|
|
806
790
|
type SparkClaimStaticDepositRpcInputParams,
|
|
807
791
|
type SparkClaimStaticDepositRpcResponse,
|
|
808
792
|
type SparkClaimStaticDepositRpcResponseData,
|
|
793
|
+
type SparkCoopExitFeeQuote,
|
|
794
|
+
type SparkCoopExitRequest,
|
|
809
795
|
type SparkCreateLightningInvoiceRpcInput,
|
|
810
796
|
type SparkCreateLightningInvoiceRpcInputParams,
|
|
811
797
|
type SparkCreateLightningInvoiceRpcResponse,
|
|
798
|
+
type SparkCurrencyAmount,
|
|
799
|
+
type SparkExitSpeed,
|
|
812
800
|
type SparkGetBalanceRpcInput,
|
|
813
801
|
type SparkGetBalanceRpcResponse,
|
|
814
802
|
type SparkGetClaimStaticDepositQuoteRpcInput,
|
|
@@ -818,6 +806,9 @@ export {
|
|
|
818
806
|
type SparkGetStaticDepositAddressRpcInput,
|
|
819
807
|
type SparkGetStaticDepositAddressRpcResponse,
|
|
820
808
|
type SparkGetStaticDepositAddressRpcResponseData,
|
|
809
|
+
type SparkGetWithdrawalFeeQuoteRpcInput,
|
|
810
|
+
type SparkGetWithdrawalFeeQuoteRpcInputParams,
|
|
811
|
+
type SparkGetWithdrawalFeeQuoteRpcResponse,
|
|
821
812
|
type SparkLightningFee,
|
|
822
813
|
type SparkLightningReceiveRequest,
|
|
823
814
|
type SparkLightningSendRequest,
|
|
@@ -845,6 +836,9 @@ export {
|
|
|
845
836
|
type SparkTransferTokensRpcResponseData,
|
|
846
837
|
type SparkUserTokenMetadata,
|
|
847
838
|
type SparkWalletLeaf,
|
|
839
|
+
type SparkWithdrawRpcInput,
|
|
840
|
+
type SparkWithdrawRpcInputParams,
|
|
841
|
+
type SparkWithdrawRpcResponse,
|
|
848
842
|
type SuiCommandName,
|
|
849
843
|
type SwapSubmissionStatus,
|
|
850
844
|
type TempoAaAuthorization,
|
|
@@ -854,6 +848,7 @@ export {
|
|
|
854
848
|
type TokenTransferDestination,
|
|
855
849
|
type TokenTransferSource,
|
|
856
850
|
type TotalFeeConfigurationBps,
|
|
851
|
+
type TransactionChainNameInput,
|
|
857
852
|
type TransactionDetail,
|
|
858
853
|
type TransactionTokenAddressInput,
|
|
859
854
|
type TransferQuoteRequestBody,
|
|
@@ -890,6 +885,7 @@ export {
|
|
|
890
885
|
type WalletAPIRegisterAuthorizationKeyInput,
|
|
891
886
|
type WalletAPIRevokeAuthorizationKeyInput,
|
|
892
887
|
type WalletAsset,
|
|
888
|
+
type WalletAssetChainNameInput,
|
|
893
889
|
type WalletAuthenticateBoundEncryptedRequestBody,
|
|
894
890
|
type WalletAuthenticateBoundRequestBody,
|
|
895
891
|
type WalletAuthenticateBoundUnencryptedRequestBody,
|
|
@@ -915,6 +911,7 @@ export {
|
|
|
915
911
|
type WalletRpcRequestBody,
|
|
916
912
|
type WalletRpcResponse,
|
|
917
913
|
type WalletSolanaAsset,
|
|
914
|
+
type WalletTronAsset,
|
|
918
915
|
type WalletUpdateRequestBody,
|
|
919
916
|
type WalletCreateParams,
|
|
920
917
|
type WalletUpdateParams,
|
|
@@ -976,6 +973,10 @@ export {
|
|
|
976
973
|
type WalletActionEarnDepositFailedWebhookPayload,
|
|
977
974
|
type WalletActionEarnDepositRejectedWebhookPayload,
|
|
978
975
|
type WalletActionEarnDepositSucceededWebhookPayload,
|
|
976
|
+
type WalletActionEarnFeeCollectCreatedWebhookPayload,
|
|
977
|
+
type WalletActionEarnFeeCollectFailedWebhookPayload,
|
|
978
|
+
type WalletActionEarnFeeCollectRejectedWebhookPayload,
|
|
979
|
+
type WalletActionEarnFeeCollectSucceededWebhookPayload,
|
|
979
980
|
type WalletActionEarnIncentiveClaimCreatedWebhookPayload,
|
|
980
981
|
type WalletActionEarnIncentiveClaimFailedWebhookPayload,
|
|
981
982
|
type WalletActionEarnIncentiveClaimRejectedWebhookPayload,
|
|
@@ -999,6 +1000,7 @@ export {
|
|
|
999
1000
|
type WalletFundsSacAsset,
|
|
1000
1001
|
type WalletFundsSplAsset,
|
|
1001
1002
|
type WalletRecoveredWebhookPayload,
|
|
1003
|
+
type WalletRecoverySetupMethod,
|
|
1002
1004
|
type WalletRecoverySetupWebhookPayload,
|
|
1003
1005
|
type WalletRestoredWebhookPayload,
|
|
1004
1006
|
type WebhookPayload,
|