@privy-io/api-types 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts +16 -16
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +16 -16
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +0 -8
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +0 -8
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +1 -1
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +1 -1
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +88 -1
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +88 -1
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/cards.d.mts +87 -6
  24. package/resources/cards.d.mts.map +1 -1
  25. package/resources/cards.d.ts +87 -6
  26. package/resources/cards.d.ts.map +1 -1
  27. package/resources/client-auth.d.mts +1 -1
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +1 -1
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/fiat.d.mts +701 -61
  32. package/resources/fiat.d.mts.map +1 -1
  33. package/resources/fiat.d.ts +701 -61
  34. package/resources/fiat.d.ts.map +1 -1
  35. package/resources/index.d.mts +8 -8
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +8 -8
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +1 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -1
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/intents.d.mts +82 -4
  44. package/resources/intents.d.mts.map +1 -1
  45. package/resources/intents.d.ts +82 -4
  46. package/resources/intents.d.ts.map +1 -1
  47. package/resources/key-quorums.d.mts +14 -1
  48. package/resources/key-quorums.d.mts.map +1 -1
  49. package/resources/key-quorums.d.ts +14 -1
  50. package/resources/key-quorums.d.ts.map +1 -1
  51. package/resources/policies/condition-sets.d.mts +21 -0
  52. package/resources/policies/condition-sets.d.mts.map +1 -0
  53. package/resources/policies/condition-sets.d.ts +21 -0
  54. package/resources/policies/condition-sets.d.ts.map +1 -0
  55. package/resources/policies/condition-sets.js +9 -0
  56. package/resources/policies/condition-sets.js.map +1 -0
  57. package/resources/policies/condition-sets.mjs +5 -0
  58. package/resources/policies/condition-sets.mjs.map +1 -0
  59. package/resources/policies/index.d.mts +3 -0
  60. package/resources/policies/index.d.mts.map +1 -0
  61. package/resources/policies/index.d.ts +3 -0
  62. package/resources/policies/index.d.ts.map +1 -0
  63. package/resources/policies/index.js +9 -0
  64. package/resources/policies/index.js.map +1 -0
  65. package/resources/policies/index.mjs +4 -0
  66. package/resources/policies/index.mjs.map +1 -0
  67. package/resources/policies/policies.d.mts +775 -0
  68. package/resources/policies/policies.d.mts.map +1 -0
  69. package/resources/policies/policies.d.ts +775 -0
  70. package/resources/policies/policies.d.ts.map +1 -0
  71. package/resources/policies/policies.js +17 -0
  72. package/resources/policies/policies.js.map +1 -0
  73. package/resources/policies/policies.mjs +12 -0
  74. package/resources/policies/policies.mjs.map +1 -0
  75. package/resources/policies.d.mts +1 -698
  76. package/resources/policies.d.mts.map +1 -1
  77. package/resources/policies.d.ts +1 -698
  78. package/resources/policies.d.ts.map +1 -1
  79. package/resources/policies.js +2 -5
  80. package/resources/policies.js.map +1 -1
  81. package/resources/policies.mjs +1 -3
  82. package/resources/policies.mjs.map +1 -1
  83. package/resources/users.d.mts +25 -20
  84. package/resources/users.d.mts.map +1 -1
  85. package/resources/users.d.ts +25 -20
  86. package/resources/users.d.ts.map +1 -1
  87. package/resources/wallet-automations.d.mts +14 -8
  88. package/resources/wallet-automations.d.mts.map +1 -1
  89. package/resources/wallet-automations.d.ts +14 -8
  90. package/resources/wallet-automations.d.ts.map +1 -1
  91. package/resources/wallets/actions.d.mts +45 -11
  92. package/resources/wallets/actions.d.mts.map +1 -1
  93. package/resources/wallets/actions.d.ts +45 -11
  94. package/resources/wallets/actions.d.ts.map +1 -1
  95. package/resources/wallets/balance.d.mts +3 -3
  96. package/resources/wallets/balance.d.mts.map +1 -1
  97. package/resources/wallets/balance.d.ts +3 -3
  98. package/resources/wallets/balance.d.ts.map +1 -1
  99. package/resources/wallets/index.d.mts +2 -2
  100. package/resources/wallets/index.d.mts.map +1 -1
  101. package/resources/wallets/index.d.ts +2 -2
  102. package/resources/wallets/index.d.ts.map +1 -1
  103. package/resources/wallets/index.js.map +1 -1
  104. package/resources/wallets/index.mjs.map +1 -1
  105. package/resources/wallets/transactions.d.mts +4 -1
  106. package/resources/wallets/transactions.d.mts.map +1 -1
  107. package/resources/wallets/transactions.d.ts +4 -1
  108. package/resources/wallets/transactions.d.ts.map +1 -1
  109. package/resources/wallets/wallets.d.mts +287 -17
  110. package/resources/wallets/wallets.d.mts.map +1 -1
  111. package/resources/wallets/wallets.d.ts +287 -17
  112. package/resources/wallets/wallets.d.ts.map +1 -1
  113. package/resources/wallets/wallets.js.map +1 -1
  114. package/resources/wallets/wallets.mjs.map +1 -1
  115. package/resources/webhooks.d.mts +76 -14
  116. package/resources/webhooks.d.mts.map +1 -1
  117. package/resources/webhooks.d.ts +76 -14
  118. package/resources/webhooks.d.ts.map +1 -1
  119. package/resources/yield.d.mts +2 -2
  120. package/resources/yield.d.ts +2 -2
  121. package/src/client.ts +196 -62
  122. package/src/resources/accounts.ts +0 -10
  123. package/src/resources/aggregations.ts +1 -1
  124. package/src/resources/apps.ts +126 -0
  125. package/src/resources/cards.ts +112 -5
  126. package/src/resources/client-auth.ts +1 -1
  127. package/src/resources/fiat.ts +938 -136
  128. package/src/resources/index.ts +71 -4
  129. package/src/resources/intents.ts +114 -3
  130. package/src/resources/key-quorums.ts +16 -0
  131. package/src/resources/policies/condition-sets.ts +25 -0
  132. package/src/resources/policies/index.ts +63 -0
  133. package/src/resources/policies/policies.ts +1122 -0
  134. package/src/resources/policies.ts +1 -1023
  135. package/src/resources/users.ts +31 -25
  136. package/src/resources/wallet-automations.ts +16 -9
  137. package/src/resources/wallets/actions.ts +54 -10
  138. package/src/resources/wallets/balance.ts +3 -0
  139. package/src/resources/wallets/index.ts +18 -0
  140. package/src/resources/wallets/transactions.ts +4 -0
  141. package/src/resources/wallets/wallets.ts +358 -10
  142. package/src/resources/webhooks.ts +93 -15
  143. package/src/resources/yield.ts +2 -2
  144. package/src/version.ts +1 -1
  145. package/version.d.mts +1 -1
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/version.mjs +1 -1
package/src/client.ts CHANGED
@@ -66,6 +66,16 @@ import {
66
66
  CaptchaProvider,
67
67
  Currency,
68
68
  CurrencyAsset,
69
+ DenylistEmailDomainInput,
70
+ DenylistEmailInput,
71
+ DenylistEntry,
72
+ DenylistEntryCreateRequestBody,
73
+ DenylistEntryDeleteRequestBody,
74
+ DenylistEthereumAddressInput,
75
+ DenylistListResponse,
76
+ DenylistPhoneInput,
77
+ DenylistRuleType,
78
+ DenylistSolanaAddressInput,
69
79
  EmailDomain,
70
80
  EmailDomainInviteInput,
71
81
  EmailInviteInput,
@@ -120,6 +130,9 @@ import {
120
130
  CardIssuingEphemeralKey,
121
131
  CardIssuingEphemeralKeyRequestBody,
122
132
  CardIssuingEphemeralKeyResponse,
133
+ CardIssuingErc4626VaultFundingSource,
134
+ CardIssuingErc4626VaultProvider,
135
+ CardIssuingFundingSource,
123
136
  CardIssuingListCardsInput,
124
137
  CardIssuingListTransactionsInput,
125
138
  CardIssuingMerchant,
@@ -127,10 +140,12 @@ import {
127
140
  CardIssuingReplaceCardRequestBody,
128
141
  CardIssuingReplacementReason,
129
142
  CardIssuingStatementQueryParams,
143
+ CardIssuingTempoEarnVaultFundingSource,
130
144
  CardIssuingTransactionResponse,
131
145
  CardIssuingTransactionStatus,
132
146
  CardIssuingTransactionsResponse,
133
147
  CardIssuingUpdateCardInput,
148
+ CardIssuingWalletFundingSource,
134
149
  Cards,
135
150
  } from './resources/cards';
136
151
  import {
@@ -342,11 +357,15 @@ import {
342
357
  CreateFiatDepositAccountRequestBody,
343
358
  CreateFiatDepositAccountSource,
344
359
  CreatePayoutRequestBody,
360
+ DeveloperFeePercent,
345
361
  ExternalFiatAccount,
346
362
  ExternalFiatAccountAddress,
363
+ ExternalFiatAccountBusinessOwner,
347
364
  ExternalFiatAccountData,
348
365
  ExternalFiatAccountGBData,
349
366
  ExternalFiatAccountIbanData,
367
+ ExternalFiatAccountIndividualOwner,
368
+ ExternalFiatAccountOwner,
350
369
  ExternalFiatAccountPixData,
351
370
  ExternalFiatAccountResponse,
352
371
  ExternalFiatAccountSwiftCategory,
@@ -362,13 +381,26 @@ import {
362
381
  FiatDepositAccountStatus,
363
382
  FiatDepositInstructions,
364
383
  FiatPaymentRail,
384
+ KYBAccountPurpose,
385
+ KYBAssociatedPerson,
386
+ KYBBusinessDocument,
387
+ KYBBusinessType,
388
+ KYBDocumentPurpose,
389
+ KYBEstimatedAnnualRevenue,
390
+ KYBHighRiskActivity,
391
+ KYBIndividualDocument,
392
+ KYBIndividualDocumentPurpose,
365
393
  KYBLinksRequestBody,
394
+ KYBPlaceOfBirth,
395
+ KYBPubliclyTradedListing,
396
+ KYBRegulatedActivity,
397
+ KYBSourceOfFunds,
366
398
  KYBStatusListResponse,
367
399
  KYBStatusResponse,
400
+ KYBSubmitData,
401
+ KYBSubmitRequestBody,
368
402
  KYBTosRequestBody,
369
- KYCIdentifyingDocument,
370
403
  KYCLinksRequestBody,
371
- KYCResidentialAddress,
372
404
  KYCStatusListResponse,
373
405
  KYCStatusResponse,
374
406
  KYCSubmitData,
@@ -381,6 +413,8 @@ import {
381
413
  KyxEnvironment,
382
414
  KyxProvider,
383
415
  KyxProviderStatus,
416
+ KyxScreen,
417
+ KyxScreenResult,
384
418
  KyxTosRequestBody,
385
419
  KyxTosResponse,
386
420
  KyxTosStatus,
@@ -402,7 +436,10 @@ import {
402
436
  OrganizationExternalFiatAccount,
403
437
  OrganizationExternalFiatAccountResponse,
404
438
  PayoutDestination,
439
+ PayoutPaymentRail,
405
440
  PayoutSource,
441
+ VerificationAddress,
442
+ VerificationDocument,
406
443
  } from './resources/fiat';
407
444
  import {
408
445
  CoinbaseBlockchain,
@@ -433,6 +470,8 @@ import {
433
470
  import {
434
471
  BaseActionResult,
435
472
  BaseIntentResponse,
473
+ ConditionSetItemIntentCreateRequestDetails,
474
+ ConditionSetItemIntentResponse,
436
475
  IntentAuthorization,
437
476
  IntentAuthorizationKeyMember,
438
477
  IntentAuthorizationKeyQuorum,
@@ -448,6 +487,8 @@ import {
448
487
  KeyQuorumIntentResponse,
449
488
  PolicyIntentRequestDetails,
450
489
  PolicyIntentResponse,
490
+ RawSignIntentRequestDetails,
491
+ RawSignIntentResponse,
451
492
  RpcIntentRequestDetails,
452
493
  RpcIntentResponse,
453
494
  RuleDeleteIntentResponse,
@@ -469,6 +510,7 @@ import {
469
510
  KeyQuorumCreateRequestBody,
470
511
  KeyQuorumUpdateRequestBody,
471
512
  KeyQuorums,
513
+ KeyQuorumsResponse,
472
514
  } from './resources/key-quorums';
473
515
  import {
474
516
  KrakenEmbed,
@@ -624,62 +666,6 @@ import {
624
666
  OrganizationsListResponse,
625
667
  UpdateOrganizationSecretSigningKeyInput,
626
668
  } from './resources/organizations';
627
- import {
628
- AbiParameter,
629
- AbiSchema,
630
- ActionRequestBodyCondition,
631
- AggregationCondition,
632
- ConditionOperator,
633
- ConditionSet,
634
- ConditionSetAuthorizationHeaders,
635
- ConditionSetItem,
636
- ConditionSetItemRequestParams,
637
- ConditionSetItemValueInput,
638
- ConditionSetItems,
639
- ConditionSetItemsRequestBody,
640
- ConditionSetItemsResponse,
641
- ConditionSetRequestBody,
642
- ConditionSetRequestParams,
643
- ConditionValue,
644
- Ethereum7702AuthorizationCondition,
645
- EthereumCalldataCondition,
646
- EthereumTransactionCondition,
647
- EthereumTransactionConditionField,
648
- EthereumTypedDataDomainCondition,
649
- EthereumTypedDataDomainConditionField,
650
- EthereumTypedDataMessageCondition,
651
- MessageSigningCondition,
652
- MessageSigningField,
653
- Policies,
654
- Policy,
655
- PolicyAction,
656
- PolicyAuthorizationHeaders,
657
- PolicyCondition,
658
- PolicyMethod,
659
- PolicyRequestBody,
660
- PolicyRuleRequestBody,
661
- PolicyRuleRequestParams,
662
- PolicyRuleResponse,
663
- SolanaProgramInstructionCondition,
664
- SolanaSystemProgramInstructionCondition,
665
- SolanaSystemProgramInstructionConditionField,
666
- SolanaTokenProgramInstructionCondition,
667
- SolanaTokenProgramInstructionConditionField,
668
- SuiTransactionCommandCondition,
669
- SuiTransactionCommandOperator,
670
- SuiTransferObjectsCommandCondition,
671
- SuiTransferObjectsCommandField,
672
- SystemCondition,
673
- TempoTransactionCondition,
674
- TempoTransactionConditionField,
675
- TronCalldataCondition,
676
- TronTransactionCondition,
677
- TronTransactionConditionField,
678
- TypedDataInput,
679
- UpdateConditionSetRequestBody,
680
- XrplTransactionCondition,
681
- XrplTransactionConditionField,
682
- } from './resources/policies';
683
669
  import {
684
670
  BitcoinAddress,
685
671
  BitcoinCaip2,
@@ -864,6 +850,7 @@ import {
864
850
  DepositCompletedData,
865
851
  DepositCompletedDestination,
866
852
  DepositFailedData,
853
+ DepositMetadata,
867
854
  DepositStartedData,
868
855
  DepositStartedDestination,
869
856
  DepositStartedSource,
@@ -890,6 +877,9 @@ import {
890
877
  OrganizationKYBUpdatedKYBData,
891
878
  OrganizationKYBUpdatedTosData,
892
879
  PrivateKeyExportWebhookPayload,
880
+ RefundDetails,
881
+ RefundMetadata,
882
+ RelayRefundDetails,
893
883
  SeedPhraseExportWebhookPayload,
894
884
  TransactionBroadcastedWebhookPayload,
895
885
  TransactionConfirmedWebhookPayload,
@@ -898,9 +888,9 @@ import {
898
888
  TransactionProviderErrorWebhookPayload,
899
889
  TransactionReplacedWebhookPayload,
900
890
  TransactionStillPendingWebhookPayload,
901
- UsageCrossChainFeeRecordedWebhookPayload,
902
891
  UsageGasSponsorshipRecordedWebhookPayload,
903
892
  UsageSourceType,
893
+ UsageSwapProviderFeeRecordedWebhookPayload,
904
894
  UserAuthenticatedWebhookPayload,
905
895
  UserCreatedWebhookPayload,
906
896
  UserDeletedWebhookPayload,
@@ -985,6 +975,66 @@ import {
985
975
  Yield,
986
976
  YieldAuthorizationHeaders,
987
977
  } from './resources/yield';
978
+ import {
979
+ AbiParameter,
980
+ AbiSchema,
981
+ ActionRequestBodyCondition,
982
+ AggregationCondition,
983
+ ConditionOperator,
984
+ ConditionSet,
985
+ ConditionSetAuthorizationHeaders,
986
+ ConditionSetItem,
987
+ ConditionSetItemRequestParams,
988
+ ConditionSetItemValueInput,
989
+ ConditionSetItems,
990
+ ConditionSetItemsRequestBody,
991
+ ConditionSetItemsResponse,
992
+ ConditionSetRequestBody,
993
+ ConditionSetRequestParams,
994
+ ConditionValue,
995
+ Ethereum7702AuthorizationCondition,
996
+ EthereumCalldataCondition,
997
+ EthereumTransactionCondition,
998
+ EthereumTransactionConditionField,
999
+ EthereumTypedDataDomainCondition,
1000
+ EthereumTypedDataDomainConditionField,
1001
+ EthereumTypedDataMessageCondition,
1002
+ MessageSigningCondition,
1003
+ MessageSigningField,
1004
+ Policies,
1005
+ PoliciesResponse,
1006
+ Policy,
1007
+ PolicyAction,
1008
+ PolicyAuthorizationHeaders,
1009
+ PolicyCondition,
1010
+ PolicyListItem,
1011
+ PolicyMethod,
1012
+ PolicyRequestBody,
1013
+ PolicyRuleRequestBody,
1014
+ PolicyRuleRequestParams,
1015
+ PolicyRuleResponse,
1016
+ SolanaIdl,
1017
+ SolanaInstructionDataCondition,
1018
+ SolanaProgramInstructionCondition,
1019
+ SolanaSystemProgramInstructionCondition,
1020
+ SolanaSystemProgramInstructionConditionField,
1021
+ SolanaTokenProgramInstructionCondition,
1022
+ SolanaTokenProgramInstructionConditionField,
1023
+ SuiTransactionCommandCondition,
1024
+ SuiTransactionCommandOperator,
1025
+ SuiTransferObjectsCommandCondition,
1026
+ SuiTransferObjectsCommandField,
1027
+ SystemCondition,
1028
+ TempoTransactionCondition,
1029
+ TempoTransactionConditionField,
1030
+ TronCalldataCondition,
1031
+ TronTransactionCondition,
1032
+ TronTransactionConditionField,
1033
+ TypedDataInput,
1034
+ UpdateConditionSetRequestBody,
1035
+ XrplTransactionCondition,
1036
+ XrplTransactionConditionField,
1037
+ } from './resources/policies/policies';
988
1038
  import {
989
1039
  AccessListEntry,
990
1040
  AdditionalSignerInput,
@@ -1014,9 +1064,12 @@ import {
1014
1064
  CryptoDepositAccountCaip2,
1015
1065
  CryptoDepositAccountChain,
1016
1066
  CryptoDepositAccountConfigResponse,
1067
+ CryptoDepositAccountConfigSearchResponse,
1068
+ CryptoDepositAccountSearchCurrency,
1017
1069
  CryptoDepositAccountSourceChain,
1018
1070
  CryptoDepositAccountSourceCurrency,
1019
1071
  CryptoDepositAddressRoute,
1072
+ CryptoDepositAddressStrategy,
1020
1073
  CryptoDepositAsset,
1021
1074
  CryptoDepositAssetFilter,
1022
1075
  CryptoDepositAssetFilterAll,
@@ -1030,6 +1083,11 @@ import {
1030
1083
  CustodialWalletCreateInput,
1031
1084
  CustodialWalletProvider,
1032
1085
  CustomTokenTransferSource,
1086
+ DepositAccountCryptoQuoteAmount,
1087
+ DepositAccountCryptoQuoteAsset,
1088
+ DepositAccountCryptoQuoteRequestBody,
1089
+ DepositAccountCryptoQuoteResponse,
1090
+ DerivationInput,
1033
1091
  DetachWalletAutomationRequestBody,
1034
1092
  DeveloperFee,
1035
1093
  EncryptedAuthorizationKey,
@@ -1212,10 +1270,19 @@ import {
1212
1270
  TransactionChainNameInput,
1213
1271
  TransactionDetail,
1214
1272
  TransactionTokenAddressInput,
1273
+ TransferCustodyOptions,
1274
+ TransferInitiation,
1275
+ TransferInitiationAttestations,
1276
+ TransferInitiationChannel,
1277
+ TransferInitiationSubchannel,
1215
1278
  TransferQuoteRequestBody,
1216
1279
  TransferQuoteResponse,
1217
1280
  TransferReceivedTransactionDetail,
1218
1281
  TransferRequestBody,
1282
+ TransferScaAttestation,
1283
+ TransferScaAuthFactor,
1284
+ TransferScaAuthFactorCategory,
1285
+ TransferScaOutcome,
1219
1286
  TransferSentTransactionDetail,
1220
1287
  TronContract,
1221
1288
  TronRawDataForSend,
@@ -2191,9 +2258,12 @@ export declare namespace Privy {
2191
2258
  type CryptoDepositAccountCaip2 as CryptoDepositAccountCaip2,
2192
2259
  type CryptoDepositAccountChain as CryptoDepositAccountChain,
2193
2260
  type CryptoDepositAccountConfigResponse as CryptoDepositAccountConfigResponse,
2261
+ type CryptoDepositAccountConfigSearchResponse as CryptoDepositAccountConfigSearchResponse,
2262
+ type CryptoDepositAccountSearchCurrency as CryptoDepositAccountSearchCurrency,
2194
2263
  type CryptoDepositAccountSourceChain as CryptoDepositAccountSourceChain,
2195
2264
  type CryptoDepositAccountSourceCurrency as CryptoDepositAccountSourceCurrency,
2196
2265
  type CryptoDepositAddressRoute as CryptoDepositAddressRoute,
2266
+ type CryptoDepositAddressStrategy as CryptoDepositAddressStrategy,
2197
2267
  type CryptoDepositAsset as CryptoDepositAsset,
2198
2268
  type CryptoDepositAssetFilter as CryptoDepositAssetFilter,
2199
2269
  type CryptoDepositAssetFilterAll as CryptoDepositAssetFilterAll,
@@ -2207,6 +2277,11 @@ export declare namespace Privy {
2207
2277
  type CustodialWalletCreateInput as CustodialWalletCreateInput,
2208
2278
  type CustodialWalletProvider as CustodialWalletProvider,
2209
2279
  type CustomTokenTransferSource as CustomTokenTransferSource,
2280
+ type DepositAccountCryptoQuoteAmount as DepositAccountCryptoQuoteAmount,
2281
+ type DepositAccountCryptoQuoteAsset as DepositAccountCryptoQuoteAsset,
2282
+ type DepositAccountCryptoQuoteRequestBody as DepositAccountCryptoQuoteRequestBody,
2283
+ type DepositAccountCryptoQuoteResponse as DepositAccountCryptoQuoteResponse,
2284
+ type DerivationInput as DerivationInput,
2210
2285
  type DetachWalletAutomationRequestBody as DetachWalletAutomationRequestBody,
2211
2286
  type DeveloperFee as DeveloperFee,
2212
2287
  type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
@@ -2389,10 +2464,19 @@ export declare namespace Privy {
2389
2464
  type TransactionChainNameInput as TransactionChainNameInput,
2390
2465
  type TransactionDetail as TransactionDetail,
2391
2466
  type TransactionTokenAddressInput as TransactionTokenAddressInput,
2467
+ type TransferCustodyOptions as TransferCustodyOptions,
2468
+ type TransferInitiation as TransferInitiation,
2469
+ type TransferInitiationAttestations as TransferInitiationAttestations,
2470
+ type TransferInitiationChannel as TransferInitiationChannel,
2471
+ type TransferInitiationSubchannel as TransferInitiationSubchannel,
2392
2472
  type TransferQuoteRequestBody as TransferQuoteRequestBody,
2393
2473
  type TransferQuoteResponse as TransferQuoteResponse,
2394
2474
  type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
2395
2475
  type TransferRequestBody as TransferRequestBody,
2476
+ type TransferScaAttestation as TransferScaAttestation,
2477
+ type TransferScaAuthFactor as TransferScaAuthFactor,
2478
+ type TransferScaAuthFactorCategory as TransferScaAuthFactorCategory,
2479
+ type TransferScaOutcome as TransferScaOutcome,
2396
2480
  type TransferSentTransactionDetail as TransferSentTransactionDetail,
2397
2481
  type TronContract as TronContract,
2398
2482
  type TronRawDataForSend as TronRawDataForSend,
@@ -2485,6 +2569,16 @@ export declare namespace Privy {
2485
2569
  type CaptchaProvider as CaptchaProvider,
2486
2570
  type Currency as Currency,
2487
2571
  type CurrencyAsset as CurrencyAsset,
2572
+ type DenylistEmailDomainInput as DenylistEmailDomainInput,
2573
+ type DenylistEmailInput as DenylistEmailInput,
2574
+ type DenylistEntry as DenylistEntry,
2575
+ type DenylistEntryCreateRequestBody as DenylistEntryCreateRequestBody,
2576
+ type DenylistEntryDeleteRequestBody as DenylistEntryDeleteRequestBody,
2577
+ type DenylistEthereumAddressInput as DenylistEthereumAddressInput,
2578
+ type DenylistListResponse as DenylistListResponse,
2579
+ type DenylistPhoneInput as DenylistPhoneInput,
2580
+ type DenylistRuleType as DenylistRuleType,
2581
+ type DenylistSolanaAddressInput as DenylistSolanaAddressInput,
2488
2582
  type EmailDomain as EmailDomain,
2489
2583
  type EmailDomainInviteInput as EmailDomainInviteInput,
2490
2584
  type EmailInviteInput as EmailInviteInput,
@@ -2541,6 +2635,9 @@ export declare namespace Privy {
2541
2635
  type CardIssuingEphemeralKey as CardIssuingEphemeralKey,
2542
2636
  type CardIssuingEphemeralKeyRequestBody as CardIssuingEphemeralKeyRequestBody,
2543
2637
  type CardIssuingEphemeralKeyResponse as CardIssuingEphemeralKeyResponse,
2638
+ type CardIssuingErc4626VaultFundingSource as CardIssuingErc4626VaultFundingSource,
2639
+ type CardIssuingErc4626VaultProvider as CardIssuingErc4626VaultProvider,
2640
+ type CardIssuingFundingSource as CardIssuingFundingSource,
2544
2641
  type CardIssuingListCardsInput as CardIssuingListCardsInput,
2545
2642
  type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput,
2546
2643
  type CardIssuingMerchant as CardIssuingMerchant,
@@ -2548,10 +2645,12 @@ export declare namespace Privy {
2548
2645
  type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody,
2549
2646
  type CardIssuingReplacementReason as CardIssuingReplacementReason,
2550
2647
  type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams,
2648
+ type CardIssuingTempoEarnVaultFundingSource as CardIssuingTempoEarnVaultFundingSource,
2551
2649
  type CardIssuingTransactionResponse as CardIssuingTransactionResponse,
2552
2650
  type CardIssuingTransactionStatus as CardIssuingTransactionStatus,
2553
2651
  type CardIssuingTransactionsResponse as CardIssuingTransactionsResponse,
2554
2652
  type CardIssuingUpdateCardInput as CardIssuingUpdateCardInput,
2653
+ type CardIssuingWalletFundingSource as CardIssuingWalletFundingSource,
2555
2654
  };
2556
2655
 
2557
2656
  export {
@@ -2890,15 +2989,19 @@ export declare namespace Privy {
2890
2989
  type EthereumTypedDataMessageCondition as EthereumTypedDataMessageCondition,
2891
2990
  type MessageSigningCondition as MessageSigningCondition,
2892
2991
  type MessageSigningField as MessageSigningField,
2992
+ type PoliciesResponse as PoliciesResponse,
2893
2993
  type Policy as Policy,
2894
2994
  type PolicyAction as PolicyAction,
2895
2995
  type PolicyAuthorizationHeaders as PolicyAuthorizationHeaders,
2896
2996
  type PolicyCondition as PolicyCondition,
2997
+ type PolicyListItem as PolicyListItem,
2897
2998
  type PolicyMethod as PolicyMethod,
2898
2999
  type PolicyRequestBody as PolicyRequestBody,
2899
3000
  type PolicyRuleRequestBody as PolicyRuleRequestBody,
2900
3001
  type PolicyRuleRequestParams as PolicyRuleRequestParams,
2901
3002
  type PolicyRuleResponse as PolicyRuleResponse,
3003
+ type SolanaIdl as SolanaIdl,
3004
+ type SolanaInstructionDataCondition as SolanaInstructionDataCondition,
2902
3005
  type SolanaProgramInstructionCondition as SolanaProgramInstructionCondition,
2903
3006
  type SolanaSystemProgramInstructionCondition as SolanaSystemProgramInstructionCondition,
2904
3007
  type SolanaSystemProgramInstructionConditionField as SolanaSystemProgramInstructionConditionField,
@@ -2950,6 +3053,7 @@ export declare namespace Privy {
2950
3053
  type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders,
2951
3054
  type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody,
2952
3055
  type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody,
3056
+ type KeyQuorumsResponse as KeyQuorumsResponse,
2953
3057
  };
2954
3058
 
2955
3059
  export {
@@ -2963,11 +3067,15 @@ export declare namespace Privy {
2963
3067
  type CreateFiatDepositAccountRequestBody as CreateFiatDepositAccountRequestBody,
2964
3068
  type CreateFiatDepositAccountSource as CreateFiatDepositAccountSource,
2965
3069
  type CreatePayoutRequestBody as CreatePayoutRequestBody,
3070
+ type DeveloperFeePercent as DeveloperFeePercent,
2966
3071
  type ExternalFiatAccount as ExternalFiatAccount,
2967
3072
  type ExternalFiatAccountAddress as ExternalFiatAccountAddress,
3073
+ type ExternalFiatAccountBusinessOwner as ExternalFiatAccountBusinessOwner,
2968
3074
  type ExternalFiatAccountData as ExternalFiatAccountData,
2969
3075
  type ExternalFiatAccountGBData as ExternalFiatAccountGBData,
2970
3076
  type ExternalFiatAccountIbanData as ExternalFiatAccountIbanData,
3077
+ type ExternalFiatAccountIndividualOwner as ExternalFiatAccountIndividualOwner,
3078
+ type ExternalFiatAccountOwner as ExternalFiatAccountOwner,
2971
3079
  type ExternalFiatAccountPixData as ExternalFiatAccountPixData,
2972
3080
  type ExternalFiatAccountResponse as ExternalFiatAccountResponse,
2973
3081
  type ExternalFiatAccountSwiftCategory as ExternalFiatAccountSwiftCategory,
@@ -2982,13 +3090,26 @@ export declare namespace Privy {
2982
3090
  type FiatDepositAccountStatus as FiatDepositAccountStatus,
2983
3091
  type FiatDepositInstructions as FiatDepositInstructions,
2984
3092
  type FiatPaymentRail as FiatPaymentRail,
3093
+ type KYBAccountPurpose as KYBAccountPurpose,
3094
+ type KYBAssociatedPerson as KYBAssociatedPerson,
3095
+ type KYBBusinessDocument as KYBBusinessDocument,
3096
+ type KYBBusinessType as KYBBusinessType,
3097
+ type KYBDocumentPurpose as KYBDocumentPurpose,
3098
+ type KYBEstimatedAnnualRevenue as KYBEstimatedAnnualRevenue,
3099
+ type KYBHighRiskActivity as KYBHighRiskActivity,
3100
+ type KYBIndividualDocument as KYBIndividualDocument,
3101
+ type KYBIndividualDocumentPurpose as KYBIndividualDocumentPurpose,
2985
3102
  type KYBLinksRequestBody as KYBLinksRequestBody,
3103
+ type KYBPlaceOfBirth as KYBPlaceOfBirth,
3104
+ type KYBPubliclyTradedListing as KYBPubliclyTradedListing,
3105
+ type KYBRegulatedActivity as KYBRegulatedActivity,
3106
+ type KYBSourceOfFunds as KYBSourceOfFunds,
2986
3107
  type KYBStatusListResponse as KYBStatusListResponse,
2987
3108
  type KYBStatusResponse as KYBStatusResponse,
3109
+ type KYBSubmitData as KYBSubmitData,
3110
+ type KYBSubmitRequestBody as KYBSubmitRequestBody,
2988
3111
  type KYBTosRequestBody as KYBTosRequestBody,
2989
- type KYCIdentifyingDocument as KYCIdentifyingDocument,
2990
3112
  type KYCLinksRequestBody as KYCLinksRequestBody,
2991
- type KYCResidentialAddress as KYCResidentialAddress,
2992
3113
  type KYCStatusListResponse as KYCStatusListResponse,
2993
3114
  type KYCStatusResponse as KYCStatusResponse,
2994
3115
  type KYCSubmitData as KYCSubmitData,
@@ -3001,6 +3122,8 @@ export declare namespace Privy {
3001
3122
  type KyxEnvironment as KyxEnvironment,
3002
3123
  type KyxProvider as KyxProvider,
3003
3124
  type KyxProviderStatus as KyxProviderStatus,
3125
+ type KyxScreen as KyxScreen,
3126
+ type KyxScreenResult as KyxScreenResult,
3004
3127
  type KyxTosRequestBody as KyxTosRequestBody,
3005
3128
  type KyxTosResponse as KyxTosResponse,
3006
3129
  type KyxTosStatus as KyxTosStatus,
@@ -3022,7 +3145,10 @@ export declare namespace Privy {
3022
3145
  type OrganizationExternalFiatAccount as OrganizationExternalFiatAccount,
3023
3146
  type OrganizationExternalFiatAccountResponse as OrganizationExternalFiatAccountResponse,
3024
3147
  type PayoutDestination as PayoutDestination,
3148
+ type PayoutPaymentRail as PayoutPaymentRail,
3025
3149
  type PayoutSource as PayoutSource,
3150
+ type VerificationAddress as VerificationAddress,
3151
+ type VerificationDocument as VerificationDocument,
3026
3152
  };
3027
3153
 
3028
3154
  export {
@@ -3107,6 +3233,8 @@ export declare namespace Privy {
3107
3233
  Intents as Intents,
3108
3234
  type BaseActionResult as BaseActionResult,
3109
3235
  type BaseIntentResponse as BaseIntentResponse,
3236
+ type ConditionSetItemIntentCreateRequestDetails as ConditionSetItemIntentCreateRequestDetails,
3237
+ type ConditionSetItemIntentResponse as ConditionSetItemIntentResponse,
3110
3238
  type IntentAuthorization as IntentAuthorization,
3111
3239
  type IntentAuthorizationKeyMember as IntentAuthorizationKeyMember,
3112
3240
  type IntentAuthorizationKeyQuorum as IntentAuthorizationKeyQuorum,
@@ -3121,6 +3249,8 @@ export declare namespace Privy {
3121
3249
  type KeyQuorumIntentResponse as KeyQuorumIntentResponse,
3122
3250
  type PolicyIntentRequestDetails as PolicyIntentRequestDetails,
3123
3251
  type PolicyIntentResponse as PolicyIntentResponse,
3252
+ type RawSignIntentRequestDetails as RawSignIntentRequestDetails,
3253
+ type RawSignIntentResponse as RawSignIntentResponse,
3124
3254
  type RpcIntentRequestDetails as RpcIntentRequestDetails,
3125
3255
  type RpcIntentResponse as RpcIntentResponse,
3126
3256
  type RuleDeleteIntentResponse as RuleDeleteIntentResponse,
@@ -3177,6 +3307,7 @@ export declare namespace Privy {
3177
3307
  type DepositCompletedData as DepositCompletedData,
3178
3308
  type DepositCompletedDestination as DepositCompletedDestination,
3179
3309
  type DepositFailedData as DepositFailedData,
3310
+ type DepositMetadata as DepositMetadata,
3180
3311
  type DepositStartedData as DepositStartedData,
3181
3312
  type DepositStartedDestination as DepositStartedDestination,
3182
3313
  type DepositStartedSource as DepositStartedSource,
@@ -3203,6 +3334,9 @@ export declare namespace Privy {
3203
3334
  type OrganizationKYBUpdatedKYBData as OrganizationKYBUpdatedKYBData,
3204
3335
  type OrganizationKYBUpdatedTosData as OrganizationKYBUpdatedTosData,
3205
3336
  type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload,
3337
+ type RefundDetails as RefundDetails,
3338
+ type RefundMetadata as RefundMetadata,
3339
+ type RelayRefundDetails as RelayRefundDetails,
3206
3340
  type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload,
3207
3341
  type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload,
3208
3342
  type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload,
@@ -3211,9 +3345,9 @@ export declare namespace Privy {
3211
3345
  type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload,
3212
3346
  type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload,
3213
3347
  type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload,
3214
- type UsageCrossChainFeeRecordedWebhookPayload as UsageCrossChainFeeRecordedWebhookPayload,
3215
3348
  type UsageGasSponsorshipRecordedWebhookPayload as UsageGasSponsorshipRecordedWebhookPayload,
3216
3349
  type UsageSourceType as UsageSourceType,
3350
+ type UsageSwapProviderFeeRecordedWebhookPayload as UsageSwapProviderFeeRecordedWebhookPayload,
3217
3351
  type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload,
3218
3352
  type UserCreatedWebhookPayload as UserCreatedWebhookPayload,
3219
3353
  type UserDeletedWebhookPayload as UserDeletedWebhookPayload,
@@ -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
  /**
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
- import * as PoliciesAPI from './policies';
5
4
  import * as SharedAPI from './shared';
5
+ import * as PoliciesAPI from './policies/policies';
6
6
 
7
7
  export class Aggregations extends APIResource {}
8
8