@privy-io/api-types 0.23.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 (143) hide show
  1. package/CHANGELOG.md +30 -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/aggregations.d.mts +1 -1
  12. package/resources/aggregations.d.mts.map +1 -1
  13. package/resources/aggregations.d.ts +1 -1
  14. package/resources/aggregations.d.ts.map +1 -1
  15. package/resources/apps.d.mts +88 -1
  16. package/resources/apps.d.mts.map +1 -1
  17. package/resources/apps.d.ts +88 -1
  18. package/resources/apps.d.ts.map +1 -1
  19. package/resources/cards.d.mts +83 -6
  20. package/resources/cards.d.mts.map +1 -1
  21. package/resources/cards.d.ts +83 -6
  22. package/resources/cards.d.ts.map +1 -1
  23. package/resources/client-auth.d.mts +1 -1
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +1 -1
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/fiat.d.mts +177 -1
  28. package/resources/fiat.d.mts.map +1 -1
  29. package/resources/fiat.d.ts +177 -1
  30. package/resources/fiat.d.ts.map +1 -1
  31. package/resources/index.d.mts +8 -8
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +8 -8
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +1 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +1 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/intents.d.mts +82 -4
  40. package/resources/intents.d.mts.map +1 -1
  41. package/resources/intents.d.ts +82 -4
  42. package/resources/intents.d.ts.map +1 -1
  43. package/resources/key-quorums.d.mts +14 -1
  44. package/resources/key-quorums.d.mts.map +1 -1
  45. package/resources/key-quorums.d.ts +14 -1
  46. package/resources/key-quorums.d.ts.map +1 -1
  47. package/resources/policies/condition-sets.d.mts +21 -0
  48. package/resources/policies/condition-sets.d.mts.map +1 -0
  49. package/resources/policies/condition-sets.d.ts +21 -0
  50. package/resources/policies/condition-sets.d.ts.map +1 -0
  51. package/resources/policies/condition-sets.js +9 -0
  52. package/resources/policies/condition-sets.js.map +1 -0
  53. package/resources/policies/condition-sets.mjs +5 -0
  54. package/resources/policies/condition-sets.mjs.map +1 -0
  55. package/resources/policies/index.d.mts +3 -0
  56. package/resources/policies/index.d.mts.map +1 -0
  57. package/resources/policies/index.d.ts +3 -0
  58. package/resources/policies/index.d.ts.map +1 -0
  59. package/resources/policies/index.js +9 -0
  60. package/resources/policies/index.js.map +1 -0
  61. package/resources/policies/index.mjs +4 -0
  62. package/resources/policies/index.mjs.map +1 -0
  63. package/resources/policies/policies.d.mts +775 -0
  64. package/resources/policies/policies.d.mts.map +1 -0
  65. package/resources/policies/policies.d.ts +775 -0
  66. package/resources/policies/policies.d.ts.map +1 -0
  67. package/resources/policies/policies.js +17 -0
  68. package/resources/policies/policies.js.map +1 -0
  69. package/resources/policies/policies.mjs +12 -0
  70. package/resources/policies/policies.mjs.map +1 -0
  71. package/resources/policies.d.mts +1 -698
  72. package/resources/policies.d.mts.map +1 -1
  73. package/resources/policies.d.ts +1 -698
  74. package/resources/policies.d.ts.map +1 -1
  75. package/resources/policies.js +2 -5
  76. package/resources/policies.js.map +1 -1
  77. package/resources/policies.mjs +1 -3
  78. package/resources/policies.mjs.map +1 -1
  79. package/resources/users.d.mts +25 -20
  80. package/resources/users.d.mts.map +1 -1
  81. package/resources/users.d.ts +25 -20
  82. package/resources/users.d.ts.map +1 -1
  83. package/resources/wallet-automations.d.mts +4 -0
  84. package/resources/wallet-automations.d.mts.map +1 -1
  85. package/resources/wallet-automations.d.ts +4 -0
  86. package/resources/wallet-automations.d.ts.map +1 -1
  87. package/resources/wallets/actions.d.mts +38 -11
  88. package/resources/wallets/actions.d.mts.map +1 -1
  89. package/resources/wallets/actions.d.ts +38 -11
  90. package/resources/wallets/actions.d.ts.map +1 -1
  91. package/resources/wallets/balance.d.mts +3 -3
  92. package/resources/wallets/balance.d.mts.map +1 -1
  93. package/resources/wallets/balance.d.ts +3 -3
  94. package/resources/wallets/balance.d.ts.map +1 -1
  95. package/resources/wallets/index.d.mts +2 -2
  96. package/resources/wallets/index.d.mts.map +1 -1
  97. package/resources/wallets/index.d.ts +2 -2
  98. package/resources/wallets/index.d.ts.map +1 -1
  99. package/resources/wallets/index.js.map +1 -1
  100. package/resources/wallets/index.mjs.map +1 -1
  101. package/resources/wallets/transactions.d.mts +4 -1
  102. package/resources/wallets/transactions.d.mts.map +1 -1
  103. package/resources/wallets/transactions.d.ts +4 -1
  104. package/resources/wallets/transactions.d.ts.map +1 -1
  105. package/resources/wallets/wallets.d.mts +60 -9
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +60 -9
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js.map +1 -1
  110. package/resources/wallets/wallets.mjs.map +1 -1
  111. package/resources/webhooks.d.mts +63 -1
  112. package/resources/webhooks.d.mts.map +1 -1
  113. package/resources/webhooks.d.ts +63 -1
  114. package/resources/webhooks.d.ts.map +1 -1
  115. package/resources/yield.d.mts +2 -2
  116. package/resources/yield.d.ts +2 -2
  117. package/src/client.ts +132 -56
  118. package/src/resources/aggregations.ts +1 -1
  119. package/src/resources/apps.ts +126 -0
  120. package/src/resources/cards.ts +107 -5
  121. package/src/resources/client-auth.ts +1 -1
  122. package/src/resources/fiat.ts +228 -0
  123. package/src/resources/index.ts +39 -1
  124. package/src/resources/intents.ts +114 -3
  125. package/src/resources/key-quorums.ts +16 -0
  126. package/src/resources/policies/condition-sets.ts +25 -0
  127. package/src/resources/policies/index.ts +63 -0
  128. package/src/resources/policies/policies.ts +1122 -0
  129. package/src/resources/policies.ts +1 -1023
  130. package/src/resources/users.ts +31 -25
  131. package/src/resources/wallet-automations.ts +5 -0
  132. package/src/resources/wallets/actions.ts +46 -10
  133. package/src/resources/wallets/balance.ts +3 -0
  134. package/src/resources/wallets/index.ts +4 -0
  135. package/src/resources/wallets/transactions.ts +4 -0
  136. package/src/resources/wallets/wallets.ts +71 -0
  137. package/src/resources/webhooks.ts +78 -0
  138. package/src/resources/yield.ts +2 -2
  139. package/src/version.ts +1 -1
  140. package/version.d.mts +1 -1
  141. package/version.d.ts +1 -1
  142. package/version.js +1 -1
  143. 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,
@@ -394,6 +413,8 @@ import {
394
413
  KyxEnvironment,
395
414
  KyxProvider,
396
415
  KyxProviderStatus,
416
+ KyxScreen,
417
+ KyxScreenResult,
397
418
  KyxTosRequestBody,
398
419
  KyxTosResponse,
399
420
  KyxTosStatus,
@@ -415,6 +436,7 @@ import {
415
436
  OrganizationExternalFiatAccount,
416
437
  OrganizationExternalFiatAccountResponse,
417
438
  PayoutDestination,
439
+ PayoutPaymentRail,
418
440
  PayoutSource,
419
441
  VerificationAddress,
420
442
  VerificationDocument,
@@ -448,6 +470,8 @@ import {
448
470
  import {
449
471
  BaseActionResult,
450
472
  BaseIntentResponse,
473
+ ConditionSetItemIntentCreateRequestDetails,
474
+ ConditionSetItemIntentResponse,
451
475
  IntentAuthorization,
452
476
  IntentAuthorizationKeyMember,
453
477
  IntentAuthorizationKeyQuorum,
@@ -463,6 +487,8 @@ import {
463
487
  KeyQuorumIntentResponse,
464
488
  PolicyIntentRequestDetails,
465
489
  PolicyIntentResponse,
490
+ RawSignIntentRequestDetails,
491
+ RawSignIntentResponse,
466
492
  RpcIntentRequestDetails,
467
493
  RpcIntentResponse,
468
494
  RuleDeleteIntentResponse,
@@ -484,6 +510,7 @@ import {
484
510
  KeyQuorumCreateRequestBody,
485
511
  KeyQuorumUpdateRequestBody,
486
512
  KeyQuorums,
513
+ KeyQuorumsResponse,
487
514
  } from './resources/key-quorums';
488
515
  import {
489
516
  KrakenEmbed,
@@ -639,62 +666,6 @@ import {
639
666
  OrganizationsListResponse,
640
667
  UpdateOrganizationSecretSigningKeyInput,
641
668
  } from './resources/organizations';
642
- import {
643
- AbiParameter,
644
- AbiSchema,
645
- ActionRequestBodyCondition,
646
- AggregationCondition,
647
- ConditionOperator,
648
- ConditionSet,
649
- ConditionSetAuthorizationHeaders,
650
- ConditionSetItem,
651
- ConditionSetItemRequestParams,
652
- ConditionSetItemValueInput,
653
- ConditionSetItems,
654
- ConditionSetItemsRequestBody,
655
- ConditionSetItemsResponse,
656
- ConditionSetRequestBody,
657
- ConditionSetRequestParams,
658
- ConditionValue,
659
- Ethereum7702AuthorizationCondition,
660
- EthereumCalldataCondition,
661
- EthereumTransactionCondition,
662
- EthereumTransactionConditionField,
663
- EthereumTypedDataDomainCondition,
664
- EthereumTypedDataDomainConditionField,
665
- EthereumTypedDataMessageCondition,
666
- MessageSigningCondition,
667
- MessageSigningField,
668
- Policies,
669
- Policy,
670
- PolicyAction,
671
- PolicyAuthorizationHeaders,
672
- PolicyCondition,
673
- PolicyMethod,
674
- PolicyRequestBody,
675
- PolicyRuleRequestBody,
676
- PolicyRuleRequestParams,
677
- PolicyRuleResponse,
678
- SolanaProgramInstructionCondition,
679
- SolanaSystemProgramInstructionCondition,
680
- SolanaSystemProgramInstructionConditionField,
681
- SolanaTokenProgramInstructionCondition,
682
- SolanaTokenProgramInstructionConditionField,
683
- SuiTransactionCommandCondition,
684
- SuiTransactionCommandOperator,
685
- SuiTransferObjectsCommandCondition,
686
- SuiTransferObjectsCommandField,
687
- SystemCondition,
688
- TempoTransactionCondition,
689
- TempoTransactionConditionField,
690
- TronCalldataCondition,
691
- TronTransactionCondition,
692
- TronTransactionConditionField,
693
- TypedDataInput,
694
- UpdateConditionSetRequestBody,
695
- XrplTransactionCondition,
696
- XrplTransactionConditionField,
697
- } from './resources/policies';
698
669
  import {
699
670
  BitcoinAddress,
700
671
  BitcoinCaip2,
@@ -879,6 +850,7 @@ import {
879
850
  DepositCompletedData,
880
851
  DepositCompletedDestination,
881
852
  DepositFailedData,
853
+ DepositMetadata,
882
854
  DepositStartedData,
883
855
  DepositStartedDestination,
884
856
  DepositStartedSource,
@@ -905,6 +877,9 @@ import {
905
877
  OrganizationKYBUpdatedKYBData,
906
878
  OrganizationKYBUpdatedTosData,
907
879
  PrivateKeyExportWebhookPayload,
880
+ RefundDetails,
881
+ RefundMetadata,
882
+ RelayRefundDetails,
908
883
  SeedPhraseExportWebhookPayload,
909
884
  TransactionBroadcastedWebhookPayload,
910
885
  TransactionConfirmedWebhookPayload,
@@ -1000,6 +975,66 @@ import {
1000
975
  Yield,
1001
976
  YieldAuthorizationHeaders,
1002
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';
1003
1038
  import {
1004
1039
  AccessListEntry,
1005
1040
  AdditionalSignerInput,
@@ -1029,6 +1064,8 @@ import {
1029
1064
  CryptoDepositAccountCaip2,
1030
1065
  CryptoDepositAccountChain,
1031
1066
  CryptoDepositAccountConfigResponse,
1067
+ CryptoDepositAccountConfigSearchResponse,
1068
+ CryptoDepositAccountSearchCurrency,
1032
1069
  CryptoDepositAccountSourceChain,
1033
1070
  CryptoDepositAccountSourceCurrency,
1034
1071
  CryptoDepositAddressRoute,
@@ -1050,6 +1087,7 @@ import {
1050
1087
  DepositAccountCryptoQuoteAsset,
1051
1088
  DepositAccountCryptoQuoteRequestBody,
1052
1089
  DepositAccountCryptoQuoteResponse,
1090
+ DerivationInput,
1053
1091
  DetachWalletAutomationRequestBody,
1054
1092
  DeveloperFee,
1055
1093
  EncryptedAuthorizationKey,
@@ -2220,6 +2258,8 @@ export declare namespace Privy {
2220
2258
  type CryptoDepositAccountCaip2 as CryptoDepositAccountCaip2,
2221
2259
  type CryptoDepositAccountChain as CryptoDepositAccountChain,
2222
2260
  type CryptoDepositAccountConfigResponse as CryptoDepositAccountConfigResponse,
2261
+ type CryptoDepositAccountConfigSearchResponse as CryptoDepositAccountConfigSearchResponse,
2262
+ type CryptoDepositAccountSearchCurrency as CryptoDepositAccountSearchCurrency,
2223
2263
  type CryptoDepositAccountSourceChain as CryptoDepositAccountSourceChain,
2224
2264
  type CryptoDepositAccountSourceCurrency as CryptoDepositAccountSourceCurrency,
2225
2265
  type CryptoDepositAddressRoute as CryptoDepositAddressRoute,
@@ -2241,6 +2281,7 @@ export declare namespace Privy {
2241
2281
  type DepositAccountCryptoQuoteAsset as DepositAccountCryptoQuoteAsset,
2242
2282
  type DepositAccountCryptoQuoteRequestBody as DepositAccountCryptoQuoteRequestBody,
2243
2283
  type DepositAccountCryptoQuoteResponse as DepositAccountCryptoQuoteResponse,
2284
+ type DerivationInput as DerivationInput,
2244
2285
  type DetachWalletAutomationRequestBody as DetachWalletAutomationRequestBody,
2245
2286
  type DeveloperFee as DeveloperFee,
2246
2287
  type EncryptedAuthorizationKey as EncryptedAuthorizationKey,
@@ -2528,6 +2569,16 @@ export declare namespace Privy {
2528
2569
  type CaptchaProvider as CaptchaProvider,
2529
2570
  type Currency as Currency,
2530
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,
2531
2582
  type EmailDomain as EmailDomain,
2532
2583
  type EmailDomainInviteInput as EmailDomainInviteInput,
2533
2584
  type EmailInviteInput as EmailInviteInput,
@@ -2584,6 +2635,9 @@ export declare namespace Privy {
2584
2635
  type CardIssuingEphemeralKey as CardIssuingEphemeralKey,
2585
2636
  type CardIssuingEphemeralKeyRequestBody as CardIssuingEphemeralKeyRequestBody,
2586
2637
  type CardIssuingEphemeralKeyResponse as CardIssuingEphemeralKeyResponse,
2638
+ type CardIssuingErc4626VaultFundingSource as CardIssuingErc4626VaultFundingSource,
2639
+ type CardIssuingErc4626VaultProvider as CardIssuingErc4626VaultProvider,
2640
+ type CardIssuingFundingSource as CardIssuingFundingSource,
2587
2641
  type CardIssuingListCardsInput as CardIssuingListCardsInput,
2588
2642
  type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput,
2589
2643
  type CardIssuingMerchant as CardIssuingMerchant,
@@ -2591,10 +2645,12 @@ export declare namespace Privy {
2591
2645
  type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody,
2592
2646
  type CardIssuingReplacementReason as CardIssuingReplacementReason,
2593
2647
  type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams,
2648
+ type CardIssuingTempoEarnVaultFundingSource as CardIssuingTempoEarnVaultFundingSource,
2594
2649
  type CardIssuingTransactionResponse as CardIssuingTransactionResponse,
2595
2650
  type CardIssuingTransactionStatus as CardIssuingTransactionStatus,
2596
2651
  type CardIssuingTransactionsResponse as CardIssuingTransactionsResponse,
2597
2652
  type CardIssuingUpdateCardInput as CardIssuingUpdateCardInput,
2653
+ type CardIssuingWalletFundingSource as CardIssuingWalletFundingSource,
2598
2654
  };
2599
2655
 
2600
2656
  export {
@@ -2933,15 +2989,19 @@ export declare namespace Privy {
2933
2989
  type EthereumTypedDataMessageCondition as EthereumTypedDataMessageCondition,
2934
2990
  type MessageSigningCondition as MessageSigningCondition,
2935
2991
  type MessageSigningField as MessageSigningField,
2992
+ type PoliciesResponse as PoliciesResponse,
2936
2993
  type Policy as Policy,
2937
2994
  type PolicyAction as PolicyAction,
2938
2995
  type PolicyAuthorizationHeaders as PolicyAuthorizationHeaders,
2939
2996
  type PolicyCondition as PolicyCondition,
2997
+ type PolicyListItem as PolicyListItem,
2940
2998
  type PolicyMethod as PolicyMethod,
2941
2999
  type PolicyRequestBody as PolicyRequestBody,
2942
3000
  type PolicyRuleRequestBody as PolicyRuleRequestBody,
2943
3001
  type PolicyRuleRequestParams as PolicyRuleRequestParams,
2944
3002
  type PolicyRuleResponse as PolicyRuleResponse,
3003
+ type SolanaIdl as SolanaIdl,
3004
+ type SolanaInstructionDataCondition as SolanaInstructionDataCondition,
2945
3005
  type SolanaProgramInstructionCondition as SolanaProgramInstructionCondition,
2946
3006
  type SolanaSystemProgramInstructionCondition as SolanaSystemProgramInstructionCondition,
2947
3007
  type SolanaSystemProgramInstructionConditionField as SolanaSystemProgramInstructionConditionField,
@@ -2993,6 +3053,7 @@ export declare namespace Privy {
2993
3053
  type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders,
2994
3054
  type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody,
2995
3055
  type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody,
3056
+ type KeyQuorumsResponse as KeyQuorumsResponse,
2996
3057
  };
2997
3058
 
2998
3059
  export {
@@ -3006,11 +3067,15 @@ export declare namespace Privy {
3006
3067
  type CreateFiatDepositAccountRequestBody as CreateFiatDepositAccountRequestBody,
3007
3068
  type CreateFiatDepositAccountSource as CreateFiatDepositAccountSource,
3008
3069
  type CreatePayoutRequestBody as CreatePayoutRequestBody,
3070
+ type DeveloperFeePercent as DeveloperFeePercent,
3009
3071
  type ExternalFiatAccount as ExternalFiatAccount,
3010
3072
  type ExternalFiatAccountAddress as ExternalFiatAccountAddress,
3073
+ type ExternalFiatAccountBusinessOwner as ExternalFiatAccountBusinessOwner,
3011
3074
  type ExternalFiatAccountData as ExternalFiatAccountData,
3012
3075
  type ExternalFiatAccountGBData as ExternalFiatAccountGBData,
3013
3076
  type ExternalFiatAccountIbanData as ExternalFiatAccountIbanData,
3077
+ type ExternalFiatAccountIndividualOwner as ExternalFiatAccountIndividualOwner,
3078
+ type ExternalFiatAccountOwner as ExternalFiatAccountOwner,
3014
3079
  type ExternalFiatAccountPixData as ExternalFiatAccountPixData,
3015
3080
  type ExternalFiatAccountResponse as ExternalFiatAccountResponse,
3016
3081
  type ExternalFiatAccountSwiftCategory as ExternalFiatAccountSwiftCategory,
@@ -3057,6 +3122,8 @@ export declare namespace Privy {
3057
3122
  type KyxEnvironment as KyxEnvironment,
3058
3123
  type KyxProvider as KyxProvider,
3059
3124
  type KyxProviderStatus as KyxProviderStatus,
3125
+ type KyxScreen as KyxScreen,
3126
+ type KyxScreenResult as KyxScreenResult,
3060
3127
  type KyxTosRequestBody as KyxTosRequestBody,
3061
3128
  type KyxTosResponse as KyxTosResponse,
3062
3129
  type KyxTosStatus as KyxTosStatus,
@@ -3078,6 +3145,7 @@ export declare namespace Privy {
3078
3145
  type OrganizationExternalFiatAccount as OrganizationExternalFiatAccount,
3079
3146
  type OrganizationExternalFiatAccountResponse as OrganizationExternalFiatAccountResponse,
3080
3147
  type PayoutDestination as PayoutDestination,
3148
+ type PayoutPaymentRail as PayoutPaymentRail,
3081
3149
  type PayoutSource as PayoutSource,
3082
3150
  type VerificationAddress as VerificationAddress,
3083
3151
  type VerificationDocument as VerificationDocument,
@@ -3165,6 +3233,8 @@ export declare namespace Privy {
3165
3233
  Intents as Intents,
3166
3234
  type BaseActionResult as BaseActionResult,
3167
3235
  type BaseIntentResponse as BaseIntentResponse,
3236
+ type ConditionSetItemIntentCreateRequestDetails as ConditionSetItemIntentCreateRequestDetails,
3237
+ type ConditionSetItemIntentResponse as ConditionSetItemIntentResponse,
3168
3238
  type IntentAuthorization as IntentAuthorization,
3169
3239
  type IntentAuthorizationKeyMember as IntentAuthorizationKeyMember,
3170
3240
  type IntentAuthorizationKeyQuorum as IntentAuthorizationKeyQuorum,
@@ -3179,6 +3249,8 @@ export declare namespace Privy {
3179
3249
  type KeyQuorumIntentResponse as KeyQuorumIntentResponse,
3180
3250
  type PolicyIntentRequestDetails as PolicyIntentRequestDetails,
3181
3251
  type PolicyIntentResponse as PolicyIntentResponse,
3252
+ type RawSignIntentRequestDetails as RawSignIntentRequestDetails,
3253
+ type RawSignIntentResponse as RawSignIntentResponse,
3182
3254
  type RpcIntentRequestDetails as RpcIntentRequestDetails,
3183
3255
  type RpcIntentResponse as RpcIntentResponse,
3184
3256
  type RuleDeleteIntentResponse as RuleDeleteIntentResponse,
@@ -3235,6 +3307,7 @@ export declare namespace Privy {
3235
3307
  type DepositCompletedData as DepositCompletedData,
3236
3308
  type DepositCompletedDestination as DepositCompletedDestination,
3237
3309
  type DepositFailedData as DepositFailedData,
3310
+ type DepositMetadata as DepositMetadata,
3238
3311
  type DepositStartedData as DepositStartedData,
3239
3312
  type DepositStartedDestination as DepositStartedDestination,
3240
3313
  type DepositStartedSource as DepositStartedSource,
@@ -3261,6 +3334,9 @@ export declare namespace Privy {
3261
3334
  type OrganizationKYBUpdatedKYBData as OrganizationKYBUpdatedKYBData,
3262
3335
  type OrganizationKYBUpdatedTosData as OrganizationKYBUpdatedTosData,
3263
3336
  type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload,
3337
+ type RefundDetails as RefundDetails,
3338
+ type RefundMetadata as RefundMetadata,
3339
+ type RelayRefundDetails as RelayRefundDetails,
3264
3340
  type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload,
3265
3341
  type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload,
3266
3342
  type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload,
@@ -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
 
@@ -242,6 +242,122 @@ export interface Currency {
242
242
  */
243
243
  export type CurrencyAsset = 'native-currency' | 'USDC';
244
244
 
245
+ /**
246
+ * Denylist input for an email domain, which blocks every email address on the
247
+ * domain.
248
+ */
249
+ export interface DenylistEmailDomainInput {
250
+ type: 'emailDomain';
251
+
252
+ /**
253
+ * An email domain.
254
+ */
255
+ value: EmailDomain;
256
+ }
257
+
258
+ /**
259
+ * Denylist input for an email address, which also blocks its `+` and `.` variants.
260
+ */
261
+ export interface DenylistEmailInput {
262
+ type: 'email';
263
+
264
+ value: string;
265
+ }
266
+
267
+ /**
268
+ * A denylist entry for an app.
269
+ */
270
+ export interface DenylistEntry {
271
+ /**
272
+ * The ID of the denylist entry.
273
+ */
274
+ id: string;
275
+
276
+ /**
277
+ * The type of identifier a denylist rule blocks.
278
+ */
279
+ rule_type: DenylistRuleType;
280
+
281
+ /**
282
+ * The blocked identifier.
283
+ */
284
+ value: string;
285
+ }
286
+
287
+ /**
288
+ * Input for adding a denylist entry. Discriminated by type.
289
+ */
290
+ export type DenylistEntryCreateRequestBody =
291
+ | DenylistEmailInput
292
+ | DenylistEmailDomainInput
293
+ | DenylistPhoneInput
294
+ | DenylistEthereumAddressInput
295
+ | DenylistSolanaAddressInput;
296
+
297
+ /**
298
+ * Input for removing a denylist entry.
299
+ */
300
+ export interface DenylistEntryDeleteRequestBody {
301
+ /**
302
+ * The ID of the denylist entry to remove.
303
+ */
304
+ id: string;
305
+ }
306
+
307
+ /**
308
+ * Denylist input for an Ethereum wallet address, which blocks SIWE logins.
309
+ */
310
+ export interface DenylistEthereumAddressInput {
311
+ type: 'ethereumAddress';
312
+
313
+ value: string;
314
+ }
315
+
316
+ /**
317
+ * A page of denylist entries for an app.
318
+ */
319
+ export interface DenylistListResponse {
320
+ /**
321
+ * Denylist entries in this page.
322
+ */
323
+ data: Array<DenylistEntry>;
324
+
325
+ /**
326
+ * Cursor for the next page, which is null only when this page is empty, so keep
327
+ * paging until `data` is empty.
328
+ */
329
+ next_cursor: string | null;
330
+ }
331
+
332
+ /**
333
+ * Denylist input for a phone number.
334
+ */
335
+ export interface DenylistPhoneInput {
336
+ type: 'phone';
337
+
338
+ value: string;
339
+ }
340
+
341
+ /**
342
+ * The type of identifier a denylist rule blocks.
343
+ */
344
+ export type DenylistRuleType =
345
+ | 'email'
346
+ | 'emailDomain'
347
+ | 'phone'
348
+ | 'ethereumAddress'
349
+ | 'solanaAddress'
350
+ | (string & {});
351
+
352
+ /**
353
+ * Denylist input for a Solana wallet address, which blocks SIWS logins.
354
+ */
355
+ export interface DenylistSolanaAddressInput {
356
+ type: 'solanaAddress';
357
+
358
+ value: string;
359
+ }
360
+
245
361
  /**
246
362
  * An email domain.
247
363
  */
@@ -490,6 +606,16 @@ export declare namespace Apps {
490
606
  type CaptchaProvider as CaptchaProvider,
491
607
  type Currency as Currency,
492
608
  type CurrencyAsset as CurrencyAsset,
609
+ type DenylistEmailDomainInput as DenylistEmailDomainInput,
610
+ type DenylistEmailInput as DenylistEmailInput,
611
+ type DenylistEntry as DenylistEntry,
612
+ type DenylistEntryCreateRequestBody as DenylistEntryCreateRequestBody,
613
+ type DenylistEntryDeleteRequestBody as DenylistEntryDeleteRequestBody,
614
+ type DenylistEthereumAddressInput as DenylistEthereumAddressInput,
615
+ type DenylistListResponse as DenylistListResponse,
616
+ type DenylistPhoneInput as DenylistPhoneInput,
617
+ type DenylistRuleType as DenylistRuleType,
618
+ type DenylistSolanaAddressInput as DenylistSolanaAddressInput,
493
619
  type EmailDomain as EmailDomain,
494
620
  type EmailDomainInviteInput as EmailDomainInviteInput,
495
621
  type EmailInviteInput as EmailInviteInput,