@privy-io/api-types 0.10.0 → 0.11.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 +8 -0
- package/client.d.mts +18 -24
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -24
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +6 -12
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/client-auth.d.mts +496 -514
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +496 -514
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts +9 -9
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +9 -9
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/fiat.d.mts +110 -0
- package/resources/fiat.d.mts.map +1 -0
- package/resources/fiat.d.ts +110 -0
- package/resources/fiat.d.ts.map +1 -0
- package/resources/fiat.js +9 -0
- package/resources/fiat.js.map +1 -0
- package/resources/fiat.mjs +5 -0
- package/resources/fiat.mjs.map +1 -0
- package/resources/funding.d.mts +46 -46
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +46 -46
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/key-quorums.d.mts +1 -132
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +1 -132
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +0 -92
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +0 -92
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/policies.d.mts +1 -311
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -311
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +0 -229
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +0 -229
- package/resources/policies.mjs.map +1 -1
- package/resources/transactions.d.mts +28 -44
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +28 -44
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +0 -17
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +0 -17
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +1 -345
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -345
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +0 -272
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +0 -272
- package/resources/users.mjs.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/wallets.d.mts +130 -315
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +130 -315
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +41 -102
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +41 -102
- package/resources/wallets/wallets.mjs.map +1 -1
- package/src/client.ts +106 -152
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/embedded-wallets.ts +14 -14
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +86 -106
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -493
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/wallets.ts +182 -423
- 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
|
@@ -286,6 +286,20 @@ import {
|
|
|
286
286
|
WalletCreationAdditionalSignerItem,
|
|
287
287
|
WalletCreationInput,
|
|
288
288
|
} from './resources/embedded-wallets';
|
|
289
|
+
import {
|
|
290
|
+
Fiat,
|
|
291
|
+
FiatCurrency,
|
|
292
|
+
FiatPaymentRail,
|
|
293
|
+
OfframpDepositInstructions,
|
|
294
|
+
OfframpResponse,
|
|
295
|
+
OnrampAsset,
|
|
296
|
+
OnrampChain,
|
|
297
|
+
OnrampDepositInstructions,
|
|
298
|
+
OnrampKYCResponse,
|
|
299
|
+
OnrampKYCStatus,
|
|
300
|
+
OnrampResponse,
|
|
301
|
+
OnrampTransferStatus,
|
|
302
|
+
} from './resources/fiat';
|
|
289
303
|
import {
|
|
290
304
|
CoinbaseBlockchain,
|
|
291
305
|
CoinbaseEthereumAsset,
|
|
@@ -340,10 +354,7 @@ import {
|
|
|
340
354
|
import {
|
|
341
355
|
KeyQuorum,
|
|
342
356
|
KeyQuorumAuthorizationHeaders,
|
|
343
|
-
KeyQuorumCreateParams,
|
|
344
357
|
KeyQuorumCreateRequestBody,
|
|
345
|
-
KeyQuorumDeleteParams,
|
|
346
|
-
KeyQuorumUpdateParams,
|
|
347
358
|
KeyQuorumUpdateRequestBody,
|
|
348
359
|
KeyQuorums,
|
|
349
360
|
} from './resources/key-quorums';
|
|
@@ -392,18 +403,11 @@ import {
|
|
|
392
403
|
PolicyAction,
|
|
393
404
|
PolicyAuthorizationHeaders,
|
|
394
405
|
PolicyCondition,
|
|
395
|
-
PolicyCreateParams,
|
|
396
|
-
PolicyCreateRuleParams,
|
|
397
|
-
PolicyDeleteParams,
|
|
398
|
-
PolicyDeleteRuleParams,
|
|
399
|
-
PolicyGetRuleParams,
|
|
400
406
|
PolicyMethod,
|
|
401
407
|
PolicyRequestBody,
|
|
402
408
|
PolicyRuleRequestBody,
|
|
403
409
|
PolicyRuleRequestParams,
|
|
404
410
|
PolicyRuleResponse,
|
|
405
|
-
PolicyUpdateParams,
|
|
406
|
-
PolicyUpdateRuleParams,
|
|
407
411
|
SolanaProgramInstructionCondition,
|
|
408
412
|
SolanaSystemProgramInstructionCondition,
|
|
409
413
|
SolanaTokenProgramInstructionCondition,
|
|
@@ -515,27 +519,8 @@ import {
|
|
|
515
519
|
TotpMfaMethod,
|
|
516
520
|
User,
|
|
517
521
|
UserBatchCreateInput,
|
|
518
|
-
UserCreateParams,
|
|
519
|
-
UserGetByCustomAuthIDParams,
|
|
520
|
-
UserGetByDiscordUsernameParams,
|
|
521
|
-
UserGetByEmailAddressParams,
|
|
522
|
-
UserGetByFarcasterIDParams,
|
|
523
|
-
UserGetByGitHubUsernameParams,
|
|
524
|
-
UserGetByPhoneNumberParams,
|
|
525
|
-
UserGetBySmartWalletAddressParams,
|
|
526
|
-
UserGetByTelegramUserIDParams,
|
|
527
|
-
UserGetByTelegramUsernameParams,
|
|
528
|
-
UserGetByTwitterSubjectParams,
|
|
529
|
-
UserGetByTwitterUsernameParams,
|
|
530
|
-
UserGetByWalletAddressParams,
|
|
531
|
-
UserListParams,
|
|
532
|
-
UserPregenerateWalletsParams,
|
|
533
|
-
UserSearchParams,
|
|
534
|
-
UserSetCustomMetadataParams,
|
|
535
|
-
UserUnlinkLinkedAccountParams,
|
|
536
522
|
UserWithIdentityToken,
|
|
537
523
|
Users,
|
|
538
|
-
UsersCursor,
|
|
539
524
|
} from './resources/users';
|
|
540
525
|
import {
|
|
541
526
|
EarnAsset,
|
|
@@ -832,7 +817,6 @@ import {
|
|
|
832
817
|
WalletAdditionalSignerItem,
|
|
833
818
|
WalletAsset,
|
|
834
819
|
WalletAuthenticateRequestBody,
|
|
835
|
-
WalletAuthenticateWithJwtParams,
|
|
836
820
|
WalletAuthenticateWithJwtResponse,
|
|
837
821
|
WalletAuthorizationHeaders,
|
|
838
822
|
WalletBatchCreateInput,
|
|
@@ -841,7 +825,6 @@ import {
|
|
|
841
825
|
WalletBatchItemInput,
|
|
842
826
|
WalletChainType,
|
|
843
827
|
WalletCreateParams,
|
|
844
|
-
WalletCreateWalletsWithRecoveryParams,
|
|
845
828
|
WalletCreateWalletsWithRecoveryResponse,
|
|
846
829
|
WalletCustodian,
|
|
847
830
|
WalletEntropyType,
|
|
@@ -852,8 +835,6 @@ import {
|
|
|
852
835
|
WalletImportInitResponse,
|
|
853
836
|
WalletImportSupportedChains,
|
|
854
837
|
WalletImportSupportedEntropyTypes,
|
|
855
|
-
WalletInitImportParams,
|
|
856
|
-
WalletInitImportResponse,
|
|
857
838
|
WalletListParams,
|
|
858
839
|
WalletRawSignParams,
|
|
859
840
|
WalletRevokeResponse,
|
|
@@ -861,7 +842,6 @@ import {
|
|
|
861
842
|
WalletRpcRequestBody,
|
|
862
843
|
WalletRpcResponse,
|
|
863
844
|
WalletSolanaAsset,
|
|
864
|
-
WalletSubmitImportParams,
|
|
865
845
|
WalletUpdateParams,
|
|
866
846
|
WalletUpdateRequestBody,
|
|
867
847
|
Wallets,
|
|
@@ -1659,29 +1639,21 @@ export class Privy {
|
|
|
1659
1639
|
|
|
1660
1640
|
static toFile = Uploads.toFile;
|
|
1661
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* Operations related to wallets
|
|
1644
|
+
*/
|
|
1662
1645
|
wallets: API.Wallets = new API.Wallets(this);
|
|
1663
1646
|
apps: API.Apps = new API.Apps(this);
|
|
1664
1647
|
embeddedWallets: API.EmbeddedWallets = new API.EmbeddedWallets(this);
|
|
1665
1648
|
clientAuth: API.ClientAuth = new API.ClientAuth(this);
|
|
1666
1649
|
crossApp: API.CrossApp = new API.CrossApp(this);
|
|
1667
1650
|
funding: API.Funding = new API.Funding(this);
|
|
1668
|
-
/**
|
|
1669
|
-
* Operations related to users
|
|
1670
|
-
*/
|
|
1671
1651
|
users: API.Users = new API.Users(this);
|
|
1672
1652
|
analytics: API.Analytics = new API.Analytics(this);
|
|
1673
|
-
/**
|
|
1674
|
-
* Operations related to policies
|
|
1675
|
-
*/
|
|
1676
1653
|
policies: API.Policies = new API.Policies(this);
|
|
1677
|
-
/**
|
|
1678
|
-
* Operations related to transactions
|
|
1679
|
-
*/
|
|
1680
1654
|
transactions: API.Transactions = new API.Transactions(this);
|
|
1681
|
-
/**
|
|
1682
|
-
* Operations related to key quorums
|
|
1683
|
-
*/
|
|
1684
1655
|
keyQuorums: API.KeyQuorums = new API.KeyQuorums(this);
|
|
1656
|
+
fiat: API.Fiat = new API.Fiat(this);
|
|
1685
1657
|
accounts: API.Accounts = new API.Accounts(this);
|
|
1686
1658
|
aggregations: API.Aggregations = new API.Aggregations(this);
|
|
1687
1659
|
intents: API.Intents = new API.Intents(this);
|
|
@@ -1705,6 +1677,7 @@ Privy.Analytics = Analytics;
|
|
|
1705
1677
|
Privy.Policies = Policies;
|
|
1706
1678
|
Privy.Transactions = Transactions;
|
|
1707
1679
|
Privy.KeyQuorums = KeyQuorums;
|
|
1680
|
+
Privy.Fiat = Fiat;
|
|
1708
1681
|
Privy.Accounts = Accounts;
|
|
1709
1682
|
Privy.Aggregations = Aggregations;
|
|
1710
1683
|
Privy.Intents = Intents;
|
|
@@ -1724,7 +1697,6 @@ export declare namespace Privy {
|
|
|
1724
1697
|
|
|
1725
1698
|
export {
|
|
1726
1699
|
Wallets as Wallets,
|
|
1727
|
-
type WalletRevokeResponse as WalletRevokeResponse,
|
|
1728
1700
|
type AdditionalSignerInput as AdditionalSignerInput,
|
|
1729
1701
|
type AdditionalSignerItemInput as AdditionalSignerItemInput,
|
|
1730
1702
|
type Address as Address,
|
|
@@ -1896,12 +1868,14 @@ export declare namespace Privy {
|
|
|
1896
1868
|
type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput,
|
|
1897
1869
|
type WalletAsset as WalletAsset,
|
|
1898
1870
|
type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody,
|
|
1871
|
+
type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse,
|
|
1899
1872
|
type WalletAuthorizationHeaders as WalletAuthorizationHeaders,
|
|
1900
1873
|
type WalletBatchCreateInput as WalletBatchCreateInput,
|
|
1901
1874
|
type WalletBatchCreateResponse as WalletBatchCreateResponse,
|
|
1902
1875
|
type WalletBatchCreateResult as WalletBatchCreateResult,
|
|
1903
1876
|
type WalletBatchItemInput as WalletBatchItemInput,
|
|
1904
1877
|
type WalletChainType as WalletChainType,
|
|
1878
|
+
type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse,
|
|
1905
1879
|
type WalletCustodian as WalletCustodian,
|
|
1906
1880
|
type WalletEntropyType as WalletEntropyType,
|
|
1907
1881
|
type WalletEthereumAsset as WalletEthereumAsset,
|
|
@@ -1910,24 +1884,18 @@ export declare namespace Privy {
|
|
|
1910
1884
|
type WalletImportInitResponse as WalletImportInitResponse,
|
|
1911
1885
|
type WalletImportSupportedChains as WalletImportSupportedChains,
|
|
1912
1886
|
type WalletImportSupportedEntropyTypes as WalletImportSupportedEntropyTypes,
|
|
1887
|
+
type WalletRevokeResponse as WalletRevokeResponse,
|
|
1913
1888
|
type WalletRpcRequestBody as WalletRpcRequestBody,
|
|
1914
1889
|
type WalletRpcResponse as WalletRpcResponse,
|
|
1915
1890
|
type WalletSolanaAsset as WalletSolanaAsset,
|
|
1916
1891
|
type WalletUpdateRequestBody as WalletUpdateRequestBody,
|
|
1917
|
-
type WalletInitImportResponse as WalletInitImportResponse,
|
|
1918
|
-
type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse,
|
|
1919
|
-
type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse,
|
|
1920
1892
|
type WalletsCursor as WalletsCursor,
|
|
1921
1893
|
type WalletCreateParams as WalletCreateParams,
|
|
1894
|
+
type WalletUpdateParams as WalletUpdateParams,
|
|
1922
1895
|
type WalletListParams as WalletListParams,
|
|
1923
1896
|
type WalletExportParams as WalletExportParams,
|
|
1924
|
-
type WalletInitImportParams as WalletInitImportParams,
|
|
1925
1897
|
type WalletRawSignParams as WalletRawSignParams,
|
|
1926
1898
|
type WalletRpcParams as WalletRpcParams,
|
|
1927
|
-
type WalletSubmitImportParams as WalletSubmitImportParams,
|
|
1928
|
-
type WalletUpdateParams as WalletUpdateParams,
|
|
1929
|
-
type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams,
|
|
1930
|
-
type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams,
|
|
1931
1899
|
};
|
|
1932
1900
|
|
|
1933
1901
|
export {
|
|
@@ -1965,8 +1933,6 @@ export declare namespace Privy {
|
|
|
1965
1933
|
|
|
1966
1934
|
export {
|
|
1967
1935
|
EmbeddedWallets as EmbeddedWallets,
|
|
1968
|
-
type SmartWalletConfiguration as SmartWalletConfiguration,
|
|
1969
|
-
type SmartWalletConfigurationInput as SmartWalletConfigurationInput,
|
|
1970
1936
|
type AlchemyPaymasterContext as AlchemyPaymasterContext,
|
|
1971
1937
|
type EmbeddedWalletCreationInput as EmbeddedWalletCreationInput,
|
|
1972
1938
|
type ICloudClientType as ICloudClientType,
|
|
@@ -1979,8 +1945,10 @@ export declare namespace Privy {
|
|
|
1979
1945
|
type RecoveryKeyMaterialInput as RecoveryKeyMaterialInput,
|
|
1980
1946
|
type RecoveryKeyMaterialResponse as RecoveryKeyMaterialResponse,
|
|
1981
1947
|
type RecoveryType as RecoveryType,
|
|
1948
|
+
type SmartWalletConfiguration as SmartWalletConfiguration,
|
|
1982
1949
|
type SmartWalletConfigurationDisabled as SmartWalletConfigurationDisabled,
|
|
1983
1950
|
type SmartWalletConfigurationEnabled as SmartWalletConfigurationEnabled,
|
|
1951
|
+
type SmartWalletConfigurationInput as SmartWalletConfigurationInput,
|
|
1984
1952
|
type SmartWalletConfigurationInputEnabled as SmartWalletConfigurationInputEnabled,
|
|
1985
1953
|
type SmartWalletNetworkConfiguration as SmartWalletNetworkConfiguration,
|
|
1986
1954
|
type SmartWalletNetworkConfigurationInput as SmartWalletNetworkConfigurationInput,
|
|
@@ -1991,65 +1959,6 @@ export declare namespace Privy {
|
|
|
1991
1959
|
|
|
1992
1960
|
export {
|
|
1993
1961
|
ClientAuth as ClientAuth,
|
|
1994
|
-
type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
|
|
1995
|
-
type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
|
|
1996
|
-
type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody,
|
|
1997
|
-
type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody,
|
|
1998
|
-
type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody,
|
|
1999
|
-
type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody,
|
|
2000
|
-
type FarcasterInitRequestBody as FarcasterInitRequestBody,
|
|
2001
|
-
type FarcasterLinkRequestBody as FarcasterLinkRequestBody,
|
|
2002
|
-
type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody,
|
|
2003
|
-
type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody,
|
|
2004
|
-
type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody,
|
|
2005
|
-
type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody,
|
|
2006
|
-
type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody,
|
|
2007
|
-
type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody,
|
|
2008
|
-
type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody,
|
|
2009
|
-
type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody,
|
|
2010
|
-
type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody,
|
|
2011
|
-
type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody,
|
|
2012
|
-
type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody,
|
|
2013
|
-
type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody,
|
|
2014
|
-
type MfaSMSInitRequestBody as MfaSMSInitRequestBody,
|
|
2015
|
-
type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody,
|
|
2016
|
-
type MfaTotpInitResponseBody as MfaTotpInitResponseBody,
|
|
2017
|
-
type MfaTotpInput as MfaTotpInput,
|
|
2018
|
-
type MfaVerifyResponseBody as MfaVerifyResponseBody,
|
|
2019
|
-
type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody,
|
|
2020
|
-
type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody,
|
|
2021
|
-
type OAuthInitRequestBody as OAuthInitRequestBody,
|
|
2022
|
-
type OAuthInitResponseBody as OAuthInitResponseBody,
|
|
2023
|
-
type OAuthLinkRequestBody as OAuthLinkRequestBody,
|
|
2024
|
-
type OAuthLinkResponseBody as OAuthLinkResponseBody,
|
|
2025
|
-
type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody,
|
|
2026
|
-
type OAuthVerifyRequestBody as OAuthVerifyRequestBody,
|
|
2027
|
-
type OAuthVerifyResponseBody as OAuthVerifyResponseBody,
|
|
2028
|
-
type OptionalRefreshTokenInput as OptionalRefreshTokenInput,
|
|
2029
|
-
type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody,
|
|
2030
|
-
type PasswordlessInitRequestBody as PasswordlessInitRequestBody,
|
|
2031
|
-
type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody,
|
|
2032
|
-
type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody,
|
|
2033
|
-
type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody,
|
|
2034
|
-
type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody,
|
|
2035
|
-
type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody,
|
|
2036
|
-
type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody,
|
|
2037
|
-
type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody,
|
|
2038
|
-
type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody,
|
|
2039
|
-
type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody,
|
|
2040
|
-
type SiweInitRequestBody as SiweInitRequestBody,
|
|
2041
|
-
type SiweInitResponseBody as SiweInitResponseBody,
|
|
2042
|
-
type SiweLinkRequestBody as SiweLinkRequestBody,
|
|
2043
|
-
type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody,
|
|
2044
|
-
type SiweUnlinkRequestBody as SiweUnlinkRequestBody,
|
|
2045
|
-
type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody,
|
|
2046
|
-
type SiwsInitRequestBody as SiwsInitRequestBody,
|
|
2047
|
-
type SiwsInitResponseBody as SiwsInitResponseBody,
|
|
2048
|
-
type SiwsLinkRequestBody as SiwsLinkRequestBody,
|
|
2049
|
-
type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody,
|
|
2050
|
-
type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody,
|
|
2051
|
-
type TelegramLinkRequestBody as TelegramLinkRequestBody,
|
|
2052
|
-
type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody,
|
|
2053
1962
|
type AuthenticateJwtInput as AuthenticateJwtInput,
|
|
2054
1963
|
type AuthenticateMode as AuthenticateMode,
|
|
2055
1964
|
type AuthenticateModeOption as AuthenticateModeOption,
|
|
@@ -2076,23 +1985,37 @@ export declare namespace Privy {
|
|
|
2076
1985
|
type Caip2ChainID as Caip2ChainID,
|
|
2077
1986
|
type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput,
|
|
2078
1987
|
type CryptoCurrencyCode as CryptoCurrencyCode,
|
|
1988
|
+
type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
|
|
1989
|
+
type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
|
|
2079
1990
|
type CustomOAuthProviderID as CustomOAuthProviderID,
|
|
2080
1991
|
type ExternalOAuthProviderID as ExternalOAuthProviderID,
|
|
2081
1992
|
type FarcasterAuthenticateInput as FarcasterAuthenticateInput,
|
|
1993
|
+
type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody,
|
|
2082
1994
|
type FarcasterConnectInitResponse as FarcasterConnectInitResponse,
|
|
1995
|
+
type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody,
|
|
2083
1996
|
type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse,
|
|
1997
|
+
type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody,
|
|
2084
1998
|
type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse,
|
|
1999
|
+
type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody,
|
|
2085
2000
|
type FarcasterInitInput as FarcasterInitInput,
|
|
2001
|
+
type FarcasterInitRequestBody as FarcasterInitRequestBody,
|
|
2086
2002
|
type FarcasterLinkInput as FarcasterLinkInput,
|
|
2003
|
+
type FarcasterLinkRequestBody as FarcasterLinkRequestBody,
|
|
2087
2004
|
type FarcasterSignerApproved as FarcasterSignerApproved,
|
|
2088
2005
|
type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval,
|
|
2006
|
+
type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody,
|
|
2007
|
+
type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody,
|
|
2089
2008
|
type FarcasterSignerRevoked as FarcasterSignerRevoked,
|
|
2090
2009
|
type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval,
|
|
2010
|
+
type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody,
|
|
2091
2011
|
type FarcasterUnlinkInput as FarcasterUnlinkInput,
|
|
2012
|
+
type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody,
|
|
2092
2013
|
type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput,
|
|
2014
|
+
type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody,
|
|
2093
2015
|
type FarcasterV2InitInput as FarcasterV2InitInput,
|
|
2094
2016
|
type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody,
|
|
2095
2017
|
type FarcasterV2InitResponse as FarcasterV2InitResponse,
|
|
2018
|
+
type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody,
|
|
2096
2019
|
type FiatAmount as FiatAmount,
|
|
2097
2020
|
type FiatCurrencyCode as FiatCurrencyCode,
|
|
2098
2021
|
type FiatCustomerResponse as FiatCustomerResponse,
|
|
@@ -2112,15 +2035,36 @@ export declare namespace Privy {
|
|
|
2112
2035
|
type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse,
|
|
2113
2036
|
type GetFiatOnrampURLInput as GetFiatOnrampURLInput,
|
|
2114
2037
|
type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse,
|
|
2038
|
+
type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody,
|
|
2115
2039
|
type LinkJwtInput as LinkJwtInput,
|
|
2040
|
+
type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody,
|
|
2041
|
+
type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody,
|
|
2042
|
+
type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody,
|
|
2043
|
+
type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody,
|
|
2044
|
+
type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody,
|
|
2116
2045
|
type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput,
|
|
2046
|
+
type MfaSMSInitRequestBody as MfaSMSInitRequestBody,
|
|
2117
2047
|
type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput,
|
|
2048
|
+
type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody,
|
|
2049
|
+
type MfaTotpInitResponseBody as MfaTotpInitResponseBody,
|
|
2050
|
+
type MfaTotpInput as MfaTotpInput,
|
|
2051
|
+
type MfaVerifyResponseBody as MfaVerifyResponseBody,
|
|
2052
|
+
type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody,
|
|
2053
|
+
type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody,
|
|
2118
2054
|
type OAuthCodeType as OAuthCodeType,
|
|
2055
|
+
type OAuthInitRequestBody as OAuthInitRequestBody,
|
|
2056
|
+
type OAuthInitResponseBody as OAuthInitResponseBody,
|
|
2057
|
+
type OAuthLinkRequestBody as OAuthLinkRequestBody,
|
|
2058
|
+
type OAuthLinkResponseBody as OAuthLinkResponseBody,
|
|
2119
2059
|
type OAuthProviderID as OAuthProviderID,
|
|
2120
2060
|
type OAuthTransferRequestBody as OAuthTransferRequestBody,
|
|
2121
2061
|
type OAuthTransferUserInfo as OAuthTransferUserInfo,
|
|
2122
2062
|
type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta,
|
|
2063
|
+
type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody,
|
|
2064
|
+
type OAuthVerifyRequestBody as OAuthVerifyRequestBody,
|
|
2065
|
+
type OAuthVerifyResponseBody as OAuthVerifyResponseBody,
|
|
2123
2066
|
type OnrampProvider as OnrampProvider,
|
|
2067
|
+
type OptionalRefreshTokenInput as OptionalRefreshTokenInput,
|
|
2124
2068
|
type PasskeyAssertionResponse as PasskeyAssertionResponse,
|
|
2125
2069
|
type PasskeyAttestationResponse as PasskeyAttestationResponse,
|
|
2126
2070
|
type PasskeyAuthenticateInput as PasskeyAuthenticateInput,
|
|
@@ -2140,24 +2084,48 @@ export declare namespace Privy {
|
|
|
2140
2084
|
type PasskeyRelyingParty as PasskeyRelyingParty,
|
|
2141
2085
|
type PasskeyUser as PasskeyUser,
|
|
2142
2086
|
type PasskeyVerifyExtensions as PasskeyVerifyExtensions,
|
|
2087
|
+
type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody,
|
|
2088
|
+
type PasswordlessInitRequestBody as PasswordlessInitRequestBody,
|
|
2089
|
+
type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody,
|
|
2090
|
+
type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody,
|
|
2091
|
+
type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody,
|
|
2092
|
+
type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody,
|
|
2143
2093
|
type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody,
|
|
2094
|
+
type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody,
|
|
2095
|
+
type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody,
|
|
2144
2096
|
type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody,
|
|
2097
|
+
type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody,
|
|
2098
|
+
type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody,
|
|
2145
2099
|
type PrivyOAuthProviderID as PrivyOAuthProviderID,
|
|
2146
2100
|
type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate,
|
|
2147
2101
|
type ResponsePasskeyInitLink as ResponsePasskeyInitLink,
|
|
2148
2102
|
type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister,
|
|
2149
2103
|
type SiweAddressInput as SiweAddressInput,
|
|
2104
|
+
type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody,
|
|
2150
2105
|
type SiweInitInput as SiweInitInput,
|
|
2106
|
+
type SiweInitRequestBody as SiweInitRequestBody,
|
|
2107
|
+
type SiweInitResponseBody as SiweInitResponseBody,
|
|
2151
2108
|
type SiweInput as SiweInput,
|
|
2109
|
+
type SiweLinkRequestBody as SiweLinkRequestBody,
|
|
2110
|
+
type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody,
|
|
2152
2111
|
type SiweNonce as SiweNonce,
|
|
2112
|
+
type SiweUnlinkRequestBody as SiweUnlinkRequestBody,
|
|
2153
2113
|
type SiwsAddressInput as SiwsAddressInput,
|
|
2114
|
+
type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody,
|
|
2154
2115
|
type SiwsInitInput as SiwsInitInput,
|
|
2116
|
+
type SiwsInitRequestBody as SiwsInitRequestBody,
|
|
2117
|
+
type SiwsInitResponseBody as SiwsInitResponseBody,
|
|
2155
2118
|
type SiwsInput as SiwsInput,
|
|
2119
|
+
type SiwsLinkRequestBody as SiwsLinkRequestBody,
|
|
2156
2120
|
type SiwsNonce as SiwsNonce,
|
|
2121
|
+
type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody,
|
|
2157
2122
|
type SmartWalletSiweInput as SmartWalletSiweInput,
|
|
2158
2123
|
type TelegramAuthResult as TelegramAuthResult,
|
|
2159
2124
|
type TelegramAuthenticateInput as TelegramAuthenticateInput,
|
|
2125
|
+
type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody,
|
|
2126
|
+
type TelegramLinkRequestBody as TelegramLinkRequestBody,
|
|
2160
2127
|
type TelegramUnlinkInput as TelegramUnlinkInput,
|
|
2128
|
+
type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody,
|
|
2161
2129
|
type TelegramWebAppData as TelegramWebAppData,
|
|
2162
2130
|
type TransferFarcasterInput as TransferFarcasterInput,
|
|
2163
2131
|
type TransferSiweInput as TransferSiweInput,
|
|
@@ -2174,18 +2142,16 @@ export declare namespace Privy {
|
|
|
2174
2142
|
|
|
2175
2143
|
export {
|
|
2176
2144
|
Funding as Funding,
|
|
2177
|
-
type CoinbaseOnRampInitInput as CoinbaseOnRampInitInput,
|
|
2178
|
-
type CoinbaseOnRampInitResponse as CoinbaseOnRampInitResponse,
|
|
2179
|
-
type CoinbaseOnRampStatusResponse as CoinbaseOnRampStatusResponse,
|
|
2180
|
-
type MoonpayOnRampSignInput as MoonpayOnRampSignInput,
|
|
2181
|
-
type MoonpayOnRampSignResponse as MoonpayOnRampSignResponse,
|
|
2182
2145
|
type CoinbaseBlockchain as CoinbaseBlockchain,
|
|
2183
2146
|
type CoinbaseEthereumAsset as CoinbaseEthereumAsset,
|
|
2184
2147
|
type CoinbaseOnRampEthereumAddress as CoinbaseOnRampEthereumAddress,
|
|
2185
2148
|
type CoinbaseOnRampInitEthereumInput as CoinbaseOnRampInitEthereumInput,
|
|
2149
|
+
type CoinbaseOnRampInitInput as CoinbaseOnRampInitInput,
|
|
2150
|
+
type CoinbaseOnRampInitResponse as CoinbaseOnRampInitResponse,
|
|
2186
2151
|
type CoinbaseOnRampInitSolanaInput as CoinbaseOnRampInitSolanaInput,
|
|
2187
2152
|
type CoinbaseOnRampSolanaAddress as CoinbaseOnRampSolanaAddress,
|
|
2188
2153
|
type CoinbaseOnRampStatus as CoinbaseOnRampStatus,
|
|
2154
|
+
type CoinbaseOnRampStatusResponse as CoinbaseOnRampStatusResponse,
|
|
2189
2155
|
type CoinbaseSolanaAsset as CoinbaseSolanaAsset,
|
|
2190
2156
|
type MoonpayCurrencyCode as MoonpayCurrencyCode,
|
|
2191
2157
|
type MoonpayFiatOnRampEthereumConfig as MoonpayFiatOnRampEthereumConfig,
|
|
@@ -2193,6 +2159,8 @@ export declare namespace Privy {
|
|
|
2193
2159
|
type MoonpayFiatOnRampSolanaConfig as MoonpayFiatOnRampSolanaConfig,
|
|
2194
2160
|
type MoonpayFiatOnRampSolanaInput as MoonpayFiatOnRampSolanaInput,
|
|
2195
2161
|
type MoonpayOnRampSandboxConfig as MoonpayOnRampSandboxConfig,
|
|
2162
|
+
type MoonpayOnRampSignInput as MoonpayOnRampSignInput,
|
|
2163
|
+
type MoonpayOnRampSignResponse as MoonpayOnRampSignResponse,
|
|
2196
2164
|
type MoonpayPaymentMethod as MoonpayPaymentMethod,
|
|
2197
2165
|
type MoonpaySolanaCurrencyCode as MoonpaySolanaCurrencyCode,
|
|
2198
2166
|
type MoonpayUiConfig as MoonpayUiConfig,
|
|
@@ -2267,25 +2235,6 @@ export declare namespace Privy {
|
|
|
2267
2235
|
type User as User,
|
|
2268
2236
|
type UserBatchCreateInput as UserBatchCreateInput,
|
|
2269
2237
|
type UserWithIdentityToken as UserWithIdentityToken,
|
|
2270
|
-
type UsersCursor as UsersCursor,
|
|
2271
|
-
type UserCreateParams as UserCreateParams,
|
|
2272
|
-
type UserListParams as UserListParams,
|
|
2273
|
-
type UserGetByCustomAuthIDParams as UserGetByCustomAuthIDParams,
|
|
2274
|
-
type UserGetByDiscordUsernameParams as UserGetByDiscordUsernameParams,
|
|
2275
|
-
type UserGetByEmailAddressParams as UserGetByEmailAddressParams,
|
|
2276
|
-
type UserGetByFarcasterIDParams as UserGetByFarcasterIDParams,
|
|
2277
|
-
type UserGetByGitHubUsernameParams as UserGetByGitHubUsernameParams,
|
|
2278
|
-
type UserGetByPhoneNumberParams as UserGetByPhoneNumberParams,
|
|
2279
|
-
type UserGetBySmartWalletAddressParams as UserGetBySmartWalletAddressParams,
|
|
2280
|
-
type UserGetByTelegramUserIDParams as UserGetByTelegramUserIDParams,
|
|
2281
|
-
type UserGetByTelegramUsernameParams as UserGetByTelegramUsernameParams,
|
|
2282
|
-
type UserGetByTwitterSubjectParams as UserGetByTwitterSubjectParams,
|
|
2283
|
-
type UserGetByTwitterUsernameParams as UserGetByTwitterUsernameParams,
|
|
2284
|
-
type UserGetByWalletAddressParams as UserGetByWalletAddressParams,
|
|
2285
|
-
type UserPregenerateWalletsParams as UserPregenerateWalletsParams,
|
|
2286
|
-
type UserSearchParams as UserSearchParams,
|
|
2287
|
-
type UserSetCustomMetadataParams as UserSetCustomMetadataParams,
|
|
2288
|
-
type UserUnlinkLinkedAccountParams as UserUnlinkLinkedAccountParams,
|
|
2289
2238
|
};
|
|
2290
2239
|
|
|
2291
2240
|
export { Analytics as Analytics, type AnalyticsEventInput as AnalyticsEventInput };
|
|
@@ -2333,19 +2282,10 @@ export declare namespace Privy {
|
|
|
2333
2282
|
type TronCalldataCondition as TronCalldataCondition,
|
|
2334
2283
|
type TronTransactionCondition as TronTransactionCondition,
|
|
2335
2284
|
type UpdateConditionSetRequestBody as UpdateConditionSetRequestBody,
|
|
2336
|
-
type PolicyCreateParams as PolicyCreateParams,
|
|
2337
|
-
type PolicyCreateRuleParams as PolicyCreateRuleParams,
|
|
2338
|
-
type PolicyDeleteParams as PolicyDeleteParams,
|
|
2339
|
-
type PolicyDeleteRuleParams as PolicyDeleteRuleParams,
|
|
2340
|
-
type PolicyUpdateParams as PolicyUpdateParams,
|
|
2341
|
-
type PolicyUpdateRuleParams as PolicyUpdateRuleParams,
|
|
2342
|
-
type PolicyGetRuleParams as PolicyGetRuleParams,
|
|
2343
2285
|
};
|
|
2344
2286
|
|
|
2345
2287
|
export {
|
|
2346
2288
|
Transactions as Transactions,
|
|
2347
|
-
type TransactionScanningRequestBody as TransactionScanningRequestBody,
|
|
2348
|
-
type TransactionScanningResponseBody as TransactionScanningResponseBody,
|
|
2349
2289
|
type Transaction as Transaction,
|
|
2350
2290
|
type TransactionList as TransactionList,
|
|
2351
2291
|
type TransactionScanningAssetDiff as TransactionScanningAssetDiff,
|
|
@@ -2355,6 +2295,8 @@ export declare namespace Privy {
|
|
|
2355
2295
|
type TransactionScanningExposure as TransactionScanningExposure,
|
|
2356
2296
|
type TransactionScanningMetadata as TransactionScanningMetadata,
|
|
2357
2297
|
type TransactionScanningParams as TransactionScanningParams,
|
|
2298
|
+
type TransactionScanningRequestBody as TransactionScanningRequestBody,
|
|
2299
|
+
type TransactionScanningResponseBody as TransactionScanningResponseBody,
|
|
2358
2300
|
type TransactionScanningRpcRequest as TransactionScanningRpcRequest,
|
|
2359
2301
|
type TransactionScanningSimulationErrorResult as TransactionScanningSimulationErrorResult,
|
|
2360
2302
|
type TransactionScanningSimulationResult as TransactionScanningSimulationResult,
|
|
@@ -2370,9 +2312,21 @@ export declare namespace Privy {
|
|
|
2370
2312
|
type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders,
|
|
2371
2313
|
type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody,
|
|
2372
2314
|
type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody,
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
export {
|
|
2318
|
+
Fiat as Fiat,
|
|
2319
|
+
type FiatCurrency as FiatCurrency,
|
|
2320
|
+
type FiatPaymentRail as FiatPaymentRail,
|
|
2321
|
+
type OfframpDepositInstructions as OfframpDepositInstructions,
|
|
2322
|
+
type OfframpResponse as OfframpResponse,
|
|
2323
|
+
type OnrampAsset as OnrampAsset,
|
|
2324
|
+
type OnrampChain as OnrampChain,
|
|
2325
|
+
type OnrampDepositInstructions as OnrampDepositInstructions,
|
|
2326
|
+
type OnrampKYCResponse as OnrampKYCResponse,
|
|
2327
|
+
type OnrampKYCStatus as OnrampKYCStatus,
|
|
2328
|
+
type OnrampResponse as OnrampResponse,
|
|
2329
|
+
type OnrampTransferStatus as OnrampTransferStatus,
|
|
2376
2330
|
};
|
|
2377
2331
|
|
|
2378
2332
|
export {
|