@privy-io/api-types 0.21.0 → 0.23.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 +41 -0
- package/client.d.mts +12 -12
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -12
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +0 -8
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +0 -8
- package/resources/accounts.d.ts.map +1 -1
- package/resources/cards.d.mts +26 -9
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +26 -9
- package/resources/cards.d.ts.map +1 -1
- package/resources/fiat.d.mts +525 -61
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts +525 -61
- package/resources/fiat.d.ts.map +1 -1
- package/resources/index.d.mts +6 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/shared.d.mts +23 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +23 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +2 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +2 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/wallet-automations.d.mts +100 -6
- package/resources/wallet-automations.d.mts.map +1 -1
- package/resources/wallet-automations.d.ts +100 -6
- package/resources/wallet-automations.d.ts.map +1 -1
- package/resources/wallet-automations.js.map +1 -1
- package/resources/wallet-automations.mjs.map +1 -1
- package/resources/wallets/actions.d.mts +44 -4
- package/resources/wallets/actions.d.mts.map +1 -1
- package/resources/wallets/actions.d.ts +44 -4
- package/resources/wallets/actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +1 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +1 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -2
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -2
- 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 +367 -13
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +367 -13
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +22 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +22 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +108 -6
- package/src/resources/accounts.ts +0 -10
- package/src/resources/cards.ts +29 -8
- package/src/resources/fiat.ts +637 -63
- package/src/resources/index.ts +54 -3
- package/src/resources/shared.ts +32 -0
- package/src/resources/swaps.ts +2 -1
- package/src/resources/wallet-automations.ts +120 -6
- package/src/resources/wallets/actions.ts +53 -3
- package/src/resources/wallets/balance.ts +9 -0
- package/src/resources/wallets/index.ts +26 -0
- package/src/resources/wallets/wallets.ts +469 -8
- package/src/resources/webhooks.ts +27 -16
- 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
|
@@ -123,6 +123,7 @@ import {
|
|
|
123
123
|
CardIssuingListCardsInput,
|
|
124
124
|
CardIssuingListTransactionsInput,
|
|
125
125
|
CardIssuingMerchant,
|
|
126
|
+
CardIssuingPinUpdate,
|
|
126
127
|
CardIssuingReplaceCardRequestBody,
|
|
127
128
|
CardIssuingReplacementReason,
|
|
128
129
|
CardIssuingStatementQueryParams,
|
|
@@ -361,13 +362,26 @@ import {
|
|
|
361
362
|
FiatDepositAccountStatus,
|
|
362
363
|
FiatDepositInstructions,
|
|
363
364
|
FiatPaymentRail,
|
|
365
|
+
KYBAccountPurpose,
|
|
366
|
+
KYBAssociatedPerson,
|
|
367
|
+
KYBBusinessDocument,
|
|
368
|
+
KYBBusinessType,
|
|
369
|
+
KYBDocumentPurpose,
|
|
370
|
+
KYBEstimatedAnnualRevenue,
|
|
371
|
+
KYBHighRiskActivity,
|
|
372
|
+
KYBIndividualDocument,
|
|
373
|
+
KYBIndividualDocumentPurpose,
|
|
364
374
|
KYBLinksRequestBody,
|
|
375
|
+
KYBPlaceOfBirth,
|
|
376
|
+
KYBPubliclyTradedListing,
|
|
377
|
+
KYBRegulatedActivity,
|
|
378
|
+
KYBSourceOfFunds,
|
|
365
379
|
KYBStatusListResponse,
|
|
366
380
|
KYBStatusResponse,
|
|
381
|
+
KYBSubmitData,
|
|
382
|
+
KYBSubmitRequestBody,
|
|
367
383
|
KYBTosRequestBody,
|
|
368
|
-
KYCIdentifyingDocument,
|
|
369
384
|
KYCLinksRequestBody,
|
|
370
|
-
KYCResidentialAddress,
|
|
371
385
|
KYCStatusListResponse,
|
|
372
386
|
KYCStatusResponse,
|
|
373
387
|
KYCSubmitData,
|
|
@@ -402,6 +416,8 @@ import {
|
|
|
402
416
|
OrganizationExternalFiatAccountResponse,
|
|
403
417
|
PayoutDestination,
|
|
404
418
|
PayoutSource,
|
|
419
|
+
VerificationAddress,
|
|
420
|
+
VerificationDocument,
|
|
405
421
|
} from './resources/fiat';
|
|
406
422
|
import {
|
|
407
423
|
CoinbaseBlockchain,
|
|
@@ -681,8 +697,11 @@ import {
|
|
|
681
697
|
} from './resources/policies';
|
|
682
698
|
import {
|
|
683
699
|
BitcoinAddress,
|
|
700
|
+
BitcoinCaip2,
|
|
701
|
+
Bps,
|
|
684
702
|
CurrencyAmount,
|
|
685
703
|
EvmAddress,
|
|
704
|
+
EvmCaip2,
|
|
686
705
|
EvmChecksumAddress,
|
|
687
706
|
HyperliquidTokenAddress,
|
|
688
707
|
IntegrationEnvironment,
|
|
@@ -695,9 +714,11 @@ import {
|
|
|
695
714
|
P256PublicKey,
|
|
696
715
|
Shared,
|
|
697
716
|
SolanaAddress,
|
|
717
|
+
SolanaCaip2,
|
|
698
718
|
SuccessResponse,
|
|
699
719
|
TokenIdentifier,
|
|
700
720
|
TronAddress,
|
|
721
|
+
TronCaip2,
|
|
701
722
|
TronHexAddress,
|
|
702
723
|
} from './resources/shared';
|
|
703
724
|
import {
|
|
@@ -835,6 +856,11 @@ import {
|
|
|
835
856
|
WalletAutomationExecutionResponse,
|
|
836
857
|
WalletAutomationExecutionStatus,
|
|
837
858
|
WalletAutomationListResponse,
|
|
859
|
+
WalletAutomationReindexAssetResult,
|
|
860
|
+
WalletAutomationReindexAssetStatus,
|
|
861
|
+
WalletAutomationReindexCaip2,
|
|
862
|
+
WalletAutomationReindexRequestBody,
|
|
863
|
+
WalletAutomationReindexResponse,
|
|
838
864
|
WalletAutomationResponse,
|
|
839
865
|
WalletAutomationStatus,
|
|
840
866
|
WalletAutomationSuccessResponse,
|
|
@@ -887,9 +913,9 @@ import {
|
|
|
887
913
|
TransactionProviderErrorWebhookPayload,
|
|
888
914
|
TransactionReplacedWebhookPayload,
|
|
889
915
|
TransactionStillPendingWebhookPayload,
|
|
890
|
-
UsageCrossChainFeeRecordedWebhookPayload,
|
|
891
916
|
UsageGasSponsorshipRecordedWebhookPayload,
|
|
892
917
|
UsageSourceType,
|
|
918
|
+
UsageSwapProviderFeeRecordedWebhookPayload,
|
|
893
919
|
UserAuthenticatedWebhookPayload,
|
|
894
920
|
UserCreatedWebhookPayload,
|
|
895
921
|
UserDeletedWebhookPayload,
|
|
@@ -934,6 +960,7 @@ import {
|
|
|
934
960
|
WalletArchivedWebhookPayload,
|
|
935
961
|
WalletAutomationSubmittedWebhookPayload,
|
|
936
962
|
WalletFundsAsset,
|
|
963
|
+
WalletFundsBtknAsset,
|
|
937
964
|
WalletFundsErc20Asset,
|
|
938
965
|
WalletFundsNativeTokenAsset,
|
|
939
966
|
WalletFundsSacAsset,
|
|
@@ -991,6 +1018,7 @@ import {
|
|
|
991
1018
|
AptosSignTransactionRpcResponseData,
|
|
992
1019
|
AptosSignedTransactionBcsHex,
|
|
993
1020
|
AttachWalletAutomationRequestBody,
|
|
1021
|
+
AttachedWalletAutomation,
|
|
994
1022
|
AuthorizationKeyDashboardResponse,
|
|
995
1023
|
AuthorizationKeyResponse,
|
|
996
1024
|
AuthorizationKeyRole,
|
|
@@ -998,7 +1026,13 @@ import {
|
|
|
998
1026
|
CreateCryptoDepositAccountResponse,
|
|
999
1027
|
CreateCryptoDepositAccountWithConfigRequestBody,
|
|
1000
1028
|
CreateCryptoDepositAccountWithRouteRequestBody,
|
|
1029
|
+
CryptoDepositAccountCaip2,
|
|
1030
|
+
CryptoDepositAccountChain,
|
|
1031
|
+
CryptoDepositAccountConfigResponse,
|
|
1032
|
+
CryptoDepositAccountSourceChain,
|
|
1033
|
+
CryptoDepositAccountSourceCurrency,
|
|
1001
1034
|
CryptoDepositAddressRoute,
|
|
1035
|
+
CryptoDepositAddressStrategy,
|
|
1002
1036
|
CryptoDepositAsset,
|
|
1003
1037
|
CryptoDepositAssetFilter,
|
|
1004
1038
|
CryptoDepositAssetFilterAll,
|
|
@@ -1007,10 +1041,15 @@ import {
|
|
|
1007
1041
|
CurveSigningChainType,
|
|
1008
1042
|
CurveType,
|
|
1009
1043
|
CustodialWallet,
|
|
1044
|
+
CustodialWalletChain,
|
|
1010
1045
|
CustodialWalletChainType,
|
|
1011
1046
|
CustodialWalletCreateInput,
|
|
1012
1047
|
CustodialWalletProvider,
|
|
1013
1048
|
CustomTokenTransferSource,
|
|
1049
|
+
DepositAccountCryptoQuoteAmount,
|
|
1050
|
+
DepositAccountCryptoQuoteAsset,
|
|
1051
|
+
DepositAccountCryptoQuoteRequestBody,
|
|
1052
|
+
DepositAccountCryptoQuoteResponse,
|
|
1014
1053
|
DetachWalletAutomationRequestBody,
|
|
1015
1054
|
DeveloperFee,
|
|
1016
1055
|
EncryptedAuthorizationKey,
|
|
@@ -1065,6 +1104,8 @@ import {
|
|
|
1065
1104
|
FirstClassChainType,
|
|
1066
1105
|
Gas,
|
|
1067
1106
|
GetByWalletAddressRequestBody,
|
|
1107
|
+
GetCryptoDepositAccountNextOrderResponse,
|
|
1108
|
+
GetCryptoDepositAccountOrderResponse,
|
|
1068
1109
|
HDInitInput,
|
|
1069
1110
|
HDPath,
|
|
1070
1111
|
HDSubmitInput,
|
|
@@ -1073,6 +1114,7 @@ import {
|
|
|
1073
1114
|
HpkeEncryption,
|
|
1074
1115
|
HpkeImportConfig,
|
|
1075
1116
|
IntentBinding,
|
|
1117
|
+
ListCryptoDepositAccountsResponse,
|
|
1076
1118
|
NamedTokenTransferSource,
|
|
1077
1119
|
NearRpcRequestBody,
|
|
1078
1120
|
NearRpcResponse,
|
|
@@ -1190,10 +1232,19 @@ import {
|
|
|
1190
1232
|
TransactionChainNameInput,
|
|
1191
1233
|
TransactionDetail,
|
|
1192
1234
|
TransactionTokenAddressInput,
|
|
1235
|
+
TransferCustodyOptions,
|
|
1236
|
+
TransferInitiation,
|
|
1237
|
+
TransferInitiationAttestations,
|
|
1238
|
+
TransferInitiationChannel,
|
|
1239
|
+
TransferInitiationSubchannel,
|
|
1193
1240
|
TransferQuoteRequestBody,
|
|
1194
1241
|
TransferQuoteResponse,
|
|
1195
1242
|
TransferReceivedTransactionDetail,
|
|
1196
1243
|
TransferRequestBody,
|
|
1244
|
+
TransferScaAttestation,
|
|
1245
|
+
TransferScaAuthFactor,
|
|
1246
|
+
TransferScaAuthFactorCategory,
|
|
1247
|
+
TransferScaOutcome,
|
|
1197
1248
|
TransferSentTransactionDetail,
|
|
1198
1249
|
TronContract,
|
|
1199
1250
|
TronRawDataForSend,
|
|
@@ -2158,6 +2209,7 @@ export declare namespace Privy {
|
|
|
2158
2209
|
type AptosSignTransactionRpcResponseData as AptosSignTransactionRpcResponseData,
|
|
2159
2210
|
type AptosSignedTransactionBcsHex as AptosSignedTransactionBcsHex,
|
|
2160
2211
|
type AttachWalletAutomationRequestBody as AttachWalletAutomationRequestBody,
|
|
2212
|
+
type AttachedWalletAutomation as AttachedWalletAutomation,
|
|
2161
2213
|
type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse,
|
|
2162
2214
|
type AuthorizationKeyResponse as AuthorizationKeyResponse,
|
|
2163
2215
|
type AuthorizationKeyRole as AuthorizationKeyRole,
|
|
@@ -2165,7 +2217,13 @@ export declare namespace Privy {
|
|
|
2165
2217
|
type CreateCryptoDepositAccountResponse as CreateCryptoDepositAccountResponse,
|
|
2166
2218
|
type CreateCryptoDepositAccountWithConfigRequestBody as CreateCryptoDepositAccountWithConfigRequestBody,
|
|
2167
2219
|
type CreateCryptoDepositAccountWithRouteRequestBody as CreateCryptoDepositAccountWithRouteRequestBody,
|
|
2220
|
+
type CryptoDepositAccountCaip2 as CryptoDepositAccountCaip2,
|
|
2221
|
+
type CryptoDepositAccountChain as CryptoDepositAccountChain,
|
|
2222
|
+
type CryptoDepositAccountConfigResponse as CryptoDepositAccountConfigResponse,
|
|
2223
|
+
type CryptoDepositAccountSourceChain as CryptoDepositAccountSourceChain,
|
|
2224
|
+
type CryptoDepositAccountSourceCurrency as CryptoDepositAccountSourceCurrency,
|
|
2168
2225
|
type CryptoDepositAddressRoute as CryptoDepositAddressRoute,
|
|
2226
|
+
type CryptoDepositAddressStrategy as CryptoDepositAddressStrategy,
|
|
2169
2227
|
type CryptoDepositAsset as CryptoDepositAsset,
|
|
2170
2228
|
type CryptoDepositAssetFilter as CryptoDepositAssetFilter,
|
|
2171
2229
|
type CryptoDepositAssetFilterAll as CryptoDepositAssetFilterAll,
|
|
@@ -2174,10 +2232,15 @@ export declare namespace Privy {
|
|
|
2174
2232
|
type CurveSigningChainType as CurveSigningChainType,
|
|
2175
2233
|
type CurveType as CurveType,
|
|
2176
2234
|
type CustodialWallet as CustodialWallet,
|
|
2235
|
+
type CustodialWalletChain as CustodialWalletChain,
|
|
2177
2236
|
type CustodialWalletChainType as CustodialWalletChainType,
|
|
2178
2237
|
type CustodialWalletCreateInput as CustodialWalletCreateInput,
|
|
2179
2238
|
type CustodialWalletProvider as CustodialWalletProvider,
|
|
2180
2239
|
type CustomTokenTransferSource as CustomTokenTransferSource,
|
|
2240
|
+
type DepositAccountCryptoQuoteAmount as DepositAccountCryptoQuoteAmount,
|
|
2241
|
+
type DepositAccountCryptoQuoteAsset as DepositAccountCryptoQuoteAsset,
|
|
2242
|
+
type DepositAccountCryptoQuoteRequestBody as DepositAccountCryptoQuoteRequestBody,
|
|
2243
|
+
type DepositAccountCryptoQuoteResponse as DepositAccountCryptoQuoteResponse,
|
|
2181
2244
|
type DetachWalletAutomationRequestBody as DetachWalletAutomationRequestBody,
|
|
2182
2245
|
type DeveloperFee as DeveloperFee,
|
|
2183
2246
|
type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
|
|
@@ -2232,6 +2295,8 @@ export declare namespace Privy {
|
|
|
2232
2295
|
type FirstClassChainType as FirstClassChainType,
|
|
2233
2296
|
type Gas as Gas,
|
|
2234
2297
|
type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody,
|
|
2298
|
+
type GetCryptoDepositAccountNextOrderResponse as GetCryptoDepositAccountNextOrderResponse,
|
|
2299
|
+
type GetCryptoDepositAccountOrderResponse as GetCryptoDepositAccountOrderResponse,
|
|
2235
2300
|
type HDInitInput as HDInitInput,
|
|
2236
2301
|
type HDPath as HDPath,
|
|
2237
2302
|
type HDSubmitInput as HDSubmitInput,
|
|
@@ -2240,6 +2305,7 @@ export declare namespace Privy {
|
|
|
2240
2305
|
type HpkeImportConfig as HpkeImportConfig,
|
|
2241
2306
|
type Hex as Hex,
|
|
2242
2307
|
type IntentBinding as IntentBinding,
|
|
2308
|
+
type ListCryptoDepositAccountsResponse as ListCryptoDepositAccountsResponse,
|
|
2243
2309
|
type NamedTokenTransferSource as NamedTokenTransferSource,
|
|
2244
2310
|
type NearRpcRequestBody as NearRpcRequestBody,
|
|
2245
2311
|
type NearRpcResponse as NearRpcResponse,
|
|
@@ -2357,10 +2423,19 @@ export declare namespace Privy {
|
|
|
2357
2423
|
type TransactionChainNameInput as TransactionChainNameInput,
|
|
2358
2424
|
type TransactionDetail as TransactionDetail,
|
|
2359
2425
|
type TransactionTokenAddressInput as TransactionTokenAddressInput,
|
|
2426
|
+
type TransferCustodyOptions as TransferCustodyOptions,
|
|
2427
|
+
type TransferInitiation as TransferInitiation,
|
|
2428
|
+
type TransferInitiationAttestations as TransferInitiationAttestations,
|
|
2429
|
+
type TransferInitiationChannel as TransferInitiationChannel,
|
|
2430
|
+
type TransferInitiationSubchannel as TransferInitiationSubchannel,
|
|
2360
2431
|
type TransferQuoteRequestBody as TransferQuoteRequestBody,
|
|
2361
2432
|
type TransferQuoteResponse as TransferQuoteResponse,
|
|
2362
2433
|
type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
|
|
2363
2434
|
type TransferRequestBody as TransferRequestBody,
|
|
2435
|
+
type TransferScaAttestation as TransferScaAttestation,
|
|
2436
|
+
type TransferScaAuthFactor as TransferScaAuthFactor,
|
|
2437
|
+
type TransferScaAuthFactorCategory as TransferScaAuthFactorCategory,
|
|
2438
|
+
type TransferScaOutcome as TransferScaOutcome,
|
|
2364
2439
|
type TransferSentTransactionDetail as TransferSentTransactionDetail,
|
|
2365
2440
|
type TronContract as TronContract,
|
|
2366
2441
|
type TronRawDataForSend as TronRawDataForSend,
|
|
@@ -2512,6 +2587,7 @@ export declare namespace Privy {
|
|
|
2512
2587
|
type CardIssuingListCardsInput as CardIssuingListCardsInput,
|
|
2513
2588
|
type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput,
|
|
2514
2589
|
type CardIssuingMerchant as CardIssuingMerchant,
|
|
2590
|
+
type CardIssuingPinUpdate as CardIssuingPinUpdate,
|
|
2515
2591
|
type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody,
|
|
2516
2592
|
type CardIssuingReplacementReason as CardIssuingReplacementReason,
|
|
2517
2593
|
type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams,
|
|
@@ -2949,13 +3025,26 @@ export declare namespace Privy {
|
|
|
2949
3025
|
type FiatDepositAccountStatus as FiatDepositAccountStatus,
|
|
2950
3026
|
type FiatDepositInstructions as FiatDepositInstructions,
|
|
2951
3027
|
type FiatPaymentRail as FiatPaymentRail,
|
|
3028
|
+
type KYBAccountPurpose as KYBAccountPurpose,
|
|
3029
|
+
type KYBAssociatedPerson as KYBAssociatedPerson,
|
|
3030
|
+
type KYBBusinessDocument as KYBBusinessDocument,
|
|
3031
|
+
type KYBBusinessType as KYBBusinessType,
|
|
3032
|
+
type KYBDocumentPurpose as KYBDocumentPurpose,
|
|
3033
|
+
type KYBEstimatedAnnualRevenue as KYBEstimatedAnnualRevenue,
|
|
3034
|
+
type KYBHighRiskActivity as KYBHighRiskActivity,
|
|
3035
|
+
type KYBIndividualDocument as KYBIndividualDocument,
|
|
3036
|
+
type KYBIndividualDocumentPurpose as KYBIndividualDocumentPurpose,
|
|
2952
3037
|
type KYBLinksRequestBody as KYBLinksRequestBody,
|
|
3038
|
+
type KYBPlaceOfBirth as KYBPlaceOfBirth,
|
|
3039
|
+
type KYBPubliclyTradedListing as KYBPubliclyTradedListing,
|
|
3040
|
+
type KYBRegulatedActivity as KYBRegulatedActivity,
|
|
3041
|
+
type KYBSourceOfFunds as KYBSourceOfFunds,
|
|
2953
3042
|
type KYBStatusListResponse as KYBStatusListResponse,
|
|
2954
3043
|
type KYBStatusResponse as KYBStatusResponse,
|
|
3044
|
+
type KYBSubmitData as KYBSubmitData,
|
|
3045
|
+
type KYBSubmitRequestBody as KYBSubmitRequestBody,
|
|
2955
3046
|
type KYBTosRequestBody as KYBTosRequestBody,
|
|
2956
|
-
type KYCIdentifyingDocument as KYCIdentifyingDocument,
|
|
2957
3047
|
type KYCLinksRequestBody as KYCLinksRequestBody,
|
|
2958
|
-
type KYCResidentialAddress as KYCResidentialAddress,
|
|
2959
3048
|
type KYCStatusListResponse as KYCStatusListResponse,
|
|
2960
3049
|
type KYCStatusResponse as KYCStatusResponse,
|
|
2961
3050
|
type KYCSubmitData as KYCSubmitData,
|
|
@@ -2990,6 +3079,8 @@ export declare namespace Privy {
|
|
|
2990
3079
|
type OrganizationExternalFiatAccountResponse as OrganizationExternalFiatAccountResponse,
|
|
2991
3080
|
type PayoutDestination as PayoutDestination,
|
|
2992
3081
|
type PayoutSource as PayoutSource,
|
|
3082
|
+
type VerificationAddress as VerificationAddress,
|
|
3083
|
+
type VerificationDocument as VerificationDocument,
|
|
2993
3084
|
};
|
|
2994
3085
|
|
|
2995
3086
|
export {
|
|
@@ -3060,6 +3151,11 @@ export declare namespace Privy {
|
|
|
3060
3151
|
type WalletAutomationExecutionResponse as WalletAutomationExecutionResponse,
|
|
3061
3152
|
type WalletAutomationExecutionStatus as WalletAutomationExecutionStatus,
|
|
3062
3153
|
type WalletAutomationListResponse as WalletAutomationListResponse,
|
|
3154
|
+
type WalletAutomationReindexAssetResult as WalletAutomationReindexAssetResult,
|
|
3155
|
+
type WalletAutomationReindexAssetStatus as WalletAutomationReindexAssetStatus,
|
|
3156
|
+
type WalletAutomationReindexCaip2 as WalletAutomationReindexCaip2,
|
|
3157
|
+
type WalletAutomationReindexRequestBody as WalletAutomationReindexRequestBody,
|
|
3158
|
+
type WalletAutomationReindexResponse as WalletAutomationReindexResponse,
|
|
3063
3159
|
type WalletAutomationResponse as WalletAutomationResponse,
|
|
3064
3160
|
type WalletAutomationStatus as WalletAutomationStatus,
|
|
3065
3161
|
type WalletAutomationSuccessResponse as WalletAutomationSuccessResponse,
|
|
@@ -3101,9 +3197,12 @@ export declare namespace Privy {
|
|
|
3101
3197
|
export {
|
|
3102
3198
|
Shared as Shared,
|
|
3103
3199
|
type BitcoinAddress as BitcoinAddress,
|
|
3200
|
+
type BitcoinCaip2 as BitcoinCaip2,
|
|
3201
|
+
type Bps as Bps,
|
|
3104
3202
|
type CurrencyAmount as CurrencyAmount,
|
|
3105
3203
|
type IntegrationEnvironment as IntegrationEnvironment,
|
|
3106
3204
|
type EvmAddress as EvmAddress,
|
|
3205
|
+
type EvmCaip2 as EvmCaip2,
|
|
3107
3206
|
type EvmChecksumAddress as EvmChecksumAddress,
|
|
3108
3207
|
type HyperliquidTokenAddress as HyperliquidTokenAddress,
|
|
3109
3208
|
type KeyQuorumID as KeyQuorumID,
|
|
@@ -3114,9 +3213,11 @@ export declare namespace Privy {
|
|
|
3114
3213
|
type OwnerInputUser as OwnerInputUser,
|
|
3115
3214
|
type P256PublicKey as P256PublicKey,
|
|
3116
3215
|
type SolanaAddress as SolanaAddress,
|
|
3216
|
+
type SolanaCaip2 as SolanaCaip2,
|
|
3117
3217
|
type SuccessResponse as SuccessResponse,
|
|
3118
3218
|
type TokenIdentifier as TokenIdentifier,
|
|
3119
3219
|
type TronAddress as TronAddress,
|
|
3220
|
+
type TronCaip2 as TronCaip2,
|
|
3120
3221
|
type TronHexAddress as TronHexAddress,
|
|
3121
3222
|
};
|
|
3122
3223
|
|
|
@@ -3168,9 +3269,9 @@ export declare namespace Privy {
|
|
|
3168
3269
|
type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload,
|
|
3169
3270
|
type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload,
|
|
3170
3271
|
type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload,
|
|
3171
|
-
type UsageCrossChainFeeRecordedWebhookPayload as UsageCrossChainFeeRecordedWebhookPayload,
|
|
3172
3272
|
type UsageGasSponsorshipRecordedWebhookPayload as UsageGasSponsorshipRecordedWebhookPayload,
|
|
3173
3273
|
type UsageSourceType as UsageSourceType,
|
|
3274
|
+
type UsageSwapProviderFeeRecordedWebhookPayload as UsageSwapProviderFeeRecordedWebhookPayload,
|
|
3174
3275
|
type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload,
|
|
3175
3276
|
type UserCreatedWebhookPayload as UserCreatedWebhookPayload,
|
|
3176
3277
|
type UserDeletedWebhookPayload as UserDeletedWebhookPayload,
|
|
@@ -3215,6 +3316,7 @@ export declare namespace Privy {
|
|
|
3215
3316
|
type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload,
|
|
3216
3317
|
type WalletAutomationSubmittedWebhookPayload as WalletAutomationSubmittedWebhookPayload,
|
|
3217
3318
|
type WalletFundsAsset as WalletFundsAsset,
|
|
3319
|
+
type WalletFundsBtknAsset as WalletFundsBtknAsset,
|
|
3218
3320
|
type WalletFundsErc20Asset as WalletFundsErc20Asset,
|
|
3219
3321
|
type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset,
|
|
3220
3322
|
type WalletFundsSacAsset as WalletFundsSacAsset,
|
|
@@ -80,11 +80,6 @@ export interface AccountWallet {
|
|
|
80
80
|
* The wallet chain types that offer first class support.
|
|
81
81
|
*/
|
|
82
82
|
chain_type: WalletsAPI.FirstClassChainType;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Information about the custodian managing this wallet.
|
|
86
|
-
*/
|
|
87
|
-
custody?: WalletsAPI.WalletCustodian;
|
|
88
83
|
}
|
|
89
84
|
|
|
90
85
|
/**
|
|
@@ -95,11 +90,6 @@ export interface AccountWalletConfigurationItem {
|
|
|
95
90
|
* The wallet chain types that offer first class support.
|
|
96
91
|
*/
|
|
97
92
|
chain_type: WalletsAPI.FirstClassChainType;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Information about the custodian managing this wallet.
|
|
101
|
-
*/
|
|
102
|
-
custody?: WalletsAPI.WalletCustodian;
|
|
103
93
|
}
|
|
104
94
|
|
|
105
95
|
/**
|
package/src/resources/cards.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface CardIssuingCardResponse {
|
|
|
57
57
|
id: string;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* The asset the card funds from. 'usdc' on EVM and Solana, '
|
|
60
|
+
* The asset the card funds from. 'usdc' on EVM and Solana, 'pathusd' on Tempo.
|
|
61
61
|
*/
|
|
62
62
|
asset: string;
|
|
63
63
|
|
|
@@ -132,6 +132,11 @@ export interface CardIssuingCardsResponse {
|
|
|
132
132
|
* Browser-safe configuration for rendering Stripe Issuing card details.
|
|
133
133
|
*/
|
|
134
134
|
export interface CardIssuingConfig {
|
|
135
|
+
/**
|
|
136
|
+
* Logo for the in-app card face. Null when none is set.
|
|
137
|
+
*/
|
|
138
|
+
card_logo_url: string | null;
|
|
139
|
+
|
|
135
140
|
/**
|
|
136
141
|
* Stripe publishable key for initializing Stripe.js in the browser.
|
|
137
142
|
*/
|
|
@@ -163,7 +168,7 @@ export interface CardIssuingConfigResponse {
|
|
|
163
168
|
*/
|
|
164
169
|
export interface CardIssuingCreateCardInput {
|
|
165
170
|
/**
|
|
166
|
-
* The asset to fund the card. Must be 'usdc' on EVM and Solana, or '
|
|
171
|
+
* The asset to fund the card. Must be 'usdc' on EVM and Solana, or 'pathusd' on
|
|
167
172
|
* Tempo.
|
|
168
173
|
*/
|
|
169
174
|
asset: string;
|
|
@@ -431,6 +436,16 @@ export interface CardIssuingMerchant {
|
|
|
431
436
|
name: string | null;
|
|
432
437
|
}
|
|
433
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Encrypted PIN to set on the card.
|
|
441
|
+
*/
|
|
442
|
+
export interface CardIssuingPinUpdate {
|
|
443
|
+
/**
|
|
444
|
+
* The PIN, encrypted with the Stripe Issuing key.
|
|
445
|
+
*/
|
|
446
|
+
encrypted_number: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
434
449
|
/**
|
|
435
450
|
* Input for replacing a lost, stolen, or expired card.
|
|
436
451
|
*/
|
|
@@ -504,7 +519,7 @@ export interface CardIssuingTransactionsResponse {
|
|
|
504
519
|
}
|
|
505
520
|
|
|
506
521
|
/**
|
|
507
|
-
* Input for updating
|
|
522
|
+
* Input for updating a card.
|
|
508
523
|
*/
|
|
509
524
|
export interface CardIssuingUpdateCardInput {
|
|
510
525
|
/**
|
|
@@ -513,15 +528,20 @@ export interface CardIssuingUpdateCardInput {
|
|
|
513
528
|
environment: SharedAPI.IntegrationEnvironment;
|
|
514
529
|
|
|
515
530
|
/**
|
|
516
|
-
*
|
|
517
|
-
* canceled closes it.
|
|
531
|
+
* Why a lost or stolen card is being canceled.
|
|
518
532
|
*/
|
|
519
|
-
|
|
533
|
+
cancellation_reason?: CardIssuingCancellationReason;
|
|
520
534
|
|
|
521
535
|
/**
|
|
522
|
-
*
|
|
536
|
+
* Encrypted PIN to set on the card.
|
|
523
537
|
*/
|
|
524
|
-
|
|
538
|
+
pin?: CardIssuingPinUpdate;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Lifecycle status of a card. Active unfreezes the card, inactive freezes it, and
|
|
542
|
+
* canceled closes it.
|
|
543
|
+
*/
|
|
544
|
+
status?: CardIssuingCardStatus;
|
|
525
545
|
}
|
|
526
546
|
|
|
527
547
|
export declare namespace Cards {
|
|
@@ -559,6 +579,7 @@ export declare namespace Cards {
|
|
|
559
579
|
type CardIssuingListCardsInput as CardIssuingListCardsInput,
|
|
560
580
|
type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput,
|
|
561
581
|
type CardIssuingMerchant as CardIssuingMerchant,
|
|
582
|
+
type CardIssuingPinUpdate as CardIssuingPinUpdate,
|
|
562
583
|
type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody,
|
|
563
584
|
type CardIssuingReplacementReason as CardIssuingReplacementReason,
|
|
564
585
|
type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams,
|