@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
@@ -47,6 +47,16 @@ export {
47
47
  type CaptchaProvider,
48
48
  type Currency,
49
49
  type CurrencyAsset,
50
+ type DenylistEmailDomainInput,
51
+ type DenylistEmailInput,
52
+ type DenylistEntry,
53
+ type DenylistEntryCreateRequestBody,
54
+ type DenylistEntryDeleteRequestBody,
55
+ type DenylistEthereumAddressInput,
56
+ type DenylistListResponse,
57
+ type DenylistPhoneInput,
58
+ type DenylistRuleType,
59
+ type DenylistSolanaAddressInput,
50
60
  type EmailDomain,
51
61
  type EmailDomainInviteInput,
52
62
  type EmailInviteInput,
@@ -102,6 +112,9 @@ export {
102
112
  type CardIssuingEphemeralKey,
103
113
  type CardIssuingEphemeralKeyRequestBody,
104
114
  type CardIssuingEphemeralKeyResponse,
115
+ type CardIssuingErc4626VaultFundingSource,
116
+ type CardIssuingErc4626VaultProvider,
117
+ type CardIssuingFundingSource,
105
118
  type CardIssuingListCardsInput,
106
119
  type CardIssuingListTransactionsInput,
107
120
  type CardIssuingMerchant,
@@ -109,10 +122,12 @@ export {
109
122
  type CardIssuingReplaceCardRequestBody,
110
123
  type CardIssuingReplacementReason,
111
124
  type CardIssuingStatementQueryParams,
125
+ type CardIssuingTempoEarnVaultFundingSource,
112
126
  type CardIssuingTransactionResponse,
113
127
  type CardIssuingTransactionStatus,
114
128
  type CardIssuingTransactionsResponse,
115
129
  type CardIssuingUpdateCardInput,
130
+ type CardIssuingWalletFundingSource,
116
131
  } from './cards';
117
132
  export {
118
133
  ClientAuth,
@@ -324,11 +339,15 @@ export {
324
339
  type CreateFiatDepositAccountRequestBody,
325
340
  type CreateFiatDepositAccountSource,
326
341
  type CreatePayoutRequestBody,
342
+ type DeveloperFeePercent,
327
343
  type ExternalFiatAccount,
328
344
  type ExternalFiatAccountAddress,
345
+ type ExternalFiatAccountBusinessOwner,
329
346
  type ExternalFiatAccountData,
330
347
  type ExternalFiatAccountGBData,
331
348
  type ExternalFiatAccountIbanData,
349
+ type ExternalFiatAccountIndividualOwner,
350
+ type ExternalFiatAccountOwner,
332
351
  type ExternalFiatAccountPixData,
333
352
  type ExternalFiatAccountResponse,
334
353
  type ExternalFiatAccountSwiftCategory,
@@ -343,13 +362,26 @@ export {
343
362
  type FiatDepositAccountStatus,
344
363
  type FiatDepositInstructions,
345
364
  type FiatPaymentRail,
365
+ type KYBAccountPurpose,
366
+ type KYBAssociatedPerson,
367
+ type KYBBusinessDocument,
368
+ type KYBBusinessType,
369
+ type KYBDocumentPurpose,
370
+ type KYBEstimatedAnnualRevenue,
371
+ type KYBHighRiskActivity,
372
+ type KYBIndividualDocument,
373
+ type KYBIndividualDocumentPurpose,
346
374
  type KYBLinksRequestBody,
375
+ type KYBPlaceOfBirth,
376
+ type KYBPubliclyTradedListing,
377
+ type KYBRegulatedActivity,
378
+ type KYBSourceOfFunds,
347
379
  type KYBStatusListResponse,
348
380
  type KYBStatusResponse,
381
+ type KYBSubmitData,
382
+ type KYBSubmitRequestBody,
349
383
  type KYBTosRequestBody,
350
- type KYCIdentifyingDocument,
351
384
  type KYCLinksRequestBody,
352
- type KYCResidentialAddress,
353
385
  type KYCStatusListResponse,
354
386
  type KYCStatusResponse,
355
387
  type KYCSubmitData,
@@ -362,6 +394,8 @@ export {
362
394
  type KyxEnvironment,
363
395
  type KyxProvider,
364
396
  type KyxProviderStatus,
397
+ type KyxScreen,
398
+ type KyxScreenResult,
365
399
  type KyxTosRequestBody,
366
400
  type KyxTosResponse,
367
401
  type KyxTosStatus,
@@ -383,7 +417,10 @@ export {
383
417
  type OrganizationExternalFiatAccount,
384
418
  type OrganizationExternalFiatAccountResponse,
385
419
  type PayoutDestination,
420
+ type PayoutPaymentRail,
386
421
  type PayoutSource,
422
+ type VerificationAddress,
423
+ type VerificationDocument,
387
424
  } from './fiat';
388
425
  export {
389
426
  Funding,
@@ -415,6 +452,8 @@ export {
415
452
  Intents,
416
453
  type BaseActionResult,
417
454
  type BaseIntentResponse,
455
+ type ConditionSetItemIntentCreateRequestDetails,
456
+ type ConditionSetItemIntentResponse,
418
457
  type IntentAuthorization,
419
458
  type IntentAuthorizationKeyMember,
420
459
  type IntentAuthorizationKeyQuorum,
@@ -429,6 +468,8 @@ export {
429
468
  type KeyQuorumIntentResponse,
430
469
  type PolicyIntentRequestDetails,
431
470
  type PolicyIntentResponse,
471
+ type RawSignIntentRequestDetails,
472
+ type RawSignIntentResponse,
432
473
  type RpcIntentRequestDetails,
433
474
  type RpcIntentResponse,
434
475
  type RuleDeleteIntentResponse,
@@ -450,6 +491,7 @@ export {
450
491
  type KeyQuorumAuthorizationHeaders,
451
492
  type KeyQuorumCreateRequestBody,
452
493
  type KeyQuorumUpdateRequestBody,
494
+ type KeyQuorumsResponse,
453
495
  } from './key-quorums';
454
496
  export {
455
497
  KrakenEmbed,
@@ -632,15 +674,19 @@ export {
632
674
  type EthereumTypedDataMessageCondition,
633
675
  type MessageSigningCondition,
634
676
  type MessageSigningField,
677
+ type PoliciesResponse,
635
678
  type Policy,
636
679
  type PolicyAction,
637
680
  type PolicyAuthorizationHeaders,
638
681
  type PolicyCondition,
682
+ type PolicyListItem,
639
683
  type PolicyMethod,
640
684
  type PolicyRequestBody,
641
685
  type PolicyRuleRequestBody,
642
686
  type PolicyRuleRequestParams,
643
687
  type PolicyRuleResponse,
688
+ type SolanaIdl,
689
+ type SolanaInstructionDataCondition,
644
690
  type SolanaProgramInstructionCondition,
645
691
  type SolanaSystemProgramInstructionCondition,
646
692
  type SolanaSystemProgramInstructionConditionField,
@@ -660,7 +706,7 @@ export {
660
706
  type UpdateConditionSetRequestBody,
661
707
  type XrplTransactionCondition,
662
708
  type XrplTransactionConditionField,
663
- } from './policies';
709
+ } from './policies/policies';
664
710
  export {
665
711
  Shared,
666
712
  type BitcoinAddress,
@@ -862,9 +908,12 @@ export {
862
908
  type CryptoDepositAccountCaip2,
863
909
  type CryptoDepositAccountChain,
864
910
  type CryptoDepositAccountConfigResponse,
911
+ type CryptoDepositAccountConfigSearchResponse,
912
+ type CryptoDepositAccountSearchCurrency,
865
913
  type CryptoDepositAccountSourceChain,
866
914
  type CryptoDepositAccountSourceCurrency,
867
915
  type CryptoDepositAddressRoute,
916
+ type CryptoDepositAddressStrategy,
868
917
  type CryptoDepositAsset,
869
918
  type CryptoDepositAssetFilter,
870
919
  type CryptoDepositAssetFilterAll,
@@ -878,6 +927,11 @@ export {
878
927
  type CustodialWalletCreateInput,
879
928
  type CustodialWalletProvider,
880
929
  type CustomTokenTransferSource,
930
+ type DepositAccountCryptoQuoteAmount,
931
+ type DepositAccountCryptoQuoteAsset,
932
+ type DepositAccountCryptoQuoteRequestBody,
933
+ type DepositAccountCryptoQuoteResponse,
934
+ type DerivationInput,
881
935
  type DetachWalletAutomationRequestBody,
882
936
  type DeveloperFee,
883
937
  type EncryptedAuthorizationKey,
@@ -1060,10 +1114,19 @@ export {
1060
1114
  type TransactionChainNameInput,
1061
1115
  type TransactionDetail,
1062
1116
  type TransactionTokenAddressInput,
1117
+ type TransferCustodyOptions,
1118
+ type TransferInitiation,
1119
+ type TransferInitiationAttestations,
1120
+ type TransferInitiationChannel,
1121
+ type TransferInitiationSubchannel,
1063
1122
  type TransferQuoteRequestBody,
1064
1123
  type TransferQuoteResponse,
1065
1124
  type TransferReceivedTransactionDetail,
1066
1125
  type TransferRequestBody,
1126
+ type TransferScaAttestation,
1127
+ type TransferScaAuthFactor,
1128
+ type TransferScaAuthFactorCategory,
1129
+ type TransferScaOutcome,
1067
1130
  type TransferSentTransactionDetail,
1068
1131
  type TronContract,
1069
1132
  type TronRawDataForSend,
@@ -1158,6 +1221,7 @@ export {
1158
1221
  type DepositCompletedData,
1159
1222
  type DepositCompletedDestination,
1160
1223
  type DepositFailedData,
1224
+ type DepositMetadata,
1161
1225
  type DepositStartedData,
1162
1226
  type DepositStartedDestination,
1163
1227
  type DepositStartedSource,
@@ -1184,6 +1248,9 @@ export {
1184
1248
  type OrganizationKYBUpdatedKYBData,
1185
1249
  type OrganizationKYBUpdatedTosData,
1186
1250
  type PrivateKeyExportWebhookPayload,
1251
+ type RefundDetails,
1252
+ type RefundMetadata,
1253
+ type RelayRefundDetails,
1187
1254
  type SeedPhraseExportWebhookPayload,
1188
1255
  type TransactionBroadcastedWebhookPayload,
1189
1256
  type TransactionConfirmedWebhookPayload,
@@ -1192,9 +1259,9 @@ export {
1192
1259
  type TransactionProviderErrorWebhookPayload,
1193
1260
  type TransactionReplacedWebhookPayload,
1194
1261
  type TransactionStillPendingWebhookPayload,
1195
- type UsageCrossChainFeeRecordedWebhookPayload,
1196
1262
  type UsageGasSponsorshipRecordedWebhookPayload,
1197
1263
  type UsageSourceType,
1264
+ type UsageSwapProviderFeeRecordedWebhookPayload,
1198
1265
  type UserAuthenticatedWebhookPayload,
1199
1266
  type UserCreatedWebhookPayload,
1200
1267
  type UserDeletedWebhookPayload,
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
4
  import * as KeyQuorumsAPI from './key-quorums';
5
- import * as PoliciesAPI from './policies';
6
5
  import * as SharedAPI from './shared';
6
+ import * as PoliciesAPI from './policies/policies';
7
7
  import * as WalletsAPI from './wallets/wallets';
8
8
 
9
9
  export class Intents extends APIResource {}
@@ -101,6 +101,48 @@ export interface BaseIntentResponse {
101
101
  rejected_at?: number;
102
102
  }
103
103
 
104
+ /**
105
+ * Request details for adding items to a condition set via intent.
106
+ */
107
+ export interface ConditionSetItemIntentCreateRequestDetails {
108
+ /**
109
+ * Array of values to add to the condition set. Maximum 100 items per request.
110
+ */
111
+ body: PoliciesAPI.ConditionSetItemsRequestBody;
112
+
113
+ method: 'POST';
114
+
115
+ url: string;
116
+ }
117
+
118
+ /**
119
+ * Response for a condition set item intent
120
+ */
121
+ export interface ConditionSetItemIntentResponse extends BaseIntentResponse {
122
+ intent_type: 'CONDITION_SET_ITEM';
123
+
124
+ /**
125
+ * Request details for adding items to a condition set via intent.
126
+ */
127
+ request_details: ConditionSetItemIntentCreateRequestDetails;
128
+
129
+ /**
130
+ * Result of condition set item execution (only present if status is 'executed' or
131
+ * 'failed')
132
+ */
133
+ action_result?: BaseActionResult;
134
+
135
+ /**
136
+ * A condition set for grouping related condition values.
137
+ */
138
+ condition_set?: PoliciesAPI.ConditionSet;
139
+
140
+ /**
141
+ * A single item in a condition set.
142
+ */
143
+ current_resource_data?: PoliciesAPI.ConditionSetItem;
144
+ }
145
+
104
146
  /**
105
147
  * Authorization quorum for an intent
106
148
  */
@@ -239,10 +281,12 @@ export interface IntentCreationHeaders {
239
281
  export type IntentResponse =
240
282
  | RpcIntentResponse
241
283
  | TransferIntentResponse
284
+ | RawSignIntentResponse
242
285
  | WalletIntentResponse
243
286
  | PolicyIntentResponse
244
287
  | RuleIntentResponse
245
- | KeyQuorumIntentResponse;
288
+ | KeyQuorumIntentResponse
289
+ | ConditionSetItemIntentResponse;
246
290
 
247
291
  /**
248
292
  * Current status of an intent.
@@ -259,7 +303,16 @@ export type IntentStatus =
259
303
  /**
260
304
  * Type of intent.
261
305
  */
262
- export type IntentType = 'KEY_QUORUM' | 'POLICY' | 'RULE' | 'RPC' | 'TRANSFER' | 'WALLET';
306
+ export type IntentType =
307
+ | 'CONDITION_SET_ITEM'
308
+ | 'KEY_QUORUM'
309
+ | 'POLICY'
310
+ | 'RAW_SIGN'
311
+ | 'RULE'
312
+ | 'RPC'
313
+ | 'TRANSFER'
314
+ | 'WALLET'
315
+ | (string & {});
263
316
 
264
317
  /**
265
318
  * Response for a key quorum intent
@@ -396,6 +449,60 @@ export namespace PolicyIntentResponse {
396
449
  }
397
450
  }
398
451
 
452
+ /**
453
+ * Request details for a raw sign intent.
454
+ */
455
+ export interface RawSignIntentRequestDetails {
456
+ /**
457
+ * Provide either `hash` (to sign a pre-computed hash) OR `bytes`, `encoding`, and
458
+ * `hash_function` (to hash and then sign). These options are mutually exclusive.
459
+ */
460
+ body: WalletsAPI.RawSignInput;
461
+
462
+ method: 'POST';
463
+
464
+ url: string;
465
+ }
466
+
467
+ /**
468
+ * Response for a raw sign intent
469
+ */
470
+ export interface RawSignIntentResponse extends BaseIntentResponse {
471
+ intent_type: 'RAW_SIGN';
472
+
473
+ /**
474
+ * The original raw sign request that would be sent to the wallet endpoint
475
+ */
476
+ request_details: RawSignIntentResponse.RequestDetails;
477
+
478
+ /**
479
+ * Result of raw sign execution (only present if status is 'executed' or 'failed')
480
+ */
481
+ action_result?: BaseActionResult;
482
+
483
+ /**
484
+ * A wallet managed by Privy's wallet infrastructure.
485
+ */
486
+ current_resource_data?: WalletsAPI.Wallet;
487
+ }
488
+
489
+ export namespace RawSignIntentResponse {
490
+ /**
491
+ * The original raw sign request that would be sent to the wallet endpoint
492
+ */
493
+ export interface RequestDetails {
494
+ /**
495
+ * Provide either `hash` (to sign a pre-computed hash) OR `bytes`, `encoding`, and
496
+ * `hash_function` (to hash and then sign). These options are mutually exclusive.
497
+ */
498
+ body: WalletsAPI.RawSignInput;
499
+
500
+ method: 'POST';
501
+
502
+ url: string;
503
+ }
504
+ }
505
+
399
506
  /**
400
507
  * Request details for an RPC intent.
401
508
  */
@@ -717,6 +824,8 @@ export declare namespace Intents {
717
824
  export {
718
825
  type BaseActionResult as BaseActionResult,
719
826
  type BaseIntentResponse as BaseIntentResponse,
827
+ type ConditionSetItemIntentCreateRequestDetails as ConditionSetItemIntentCreateRequestDetails,
828
+ type ConditionSetItemIntentResponse as ConditionSetItemIntentResponse,
720
829
  type IntentAuthorization as IntentAuthorization,
721
830
  type IntentAuthorizationKeyMember as IntentAuthorizationKeyMember,
722
831
  type IntentAuthorizationKeyQuorum as IntentAuthorizationKeyQuorum,
@@ -731,6 +840,8 @@ export declare namespace Intents {
731
840
  type KeyQuorumIntentResponse as KeyQuorumIntentResponse,
732
841
  type PolicyIntentRequestDetails as PolicyIntentRequestDetails,
733
842
  type PolicyIntentResponse as PolicyIntentResponse,
843
+ type RawSignIntentRequestDetails as RawSignIntentRequestDetails,
844
+ type RawSignIntentResponse as RawSignIntentResponse,
734
845
  type RpcIntentRequestDetails as RpcIntentRequestDetails,
735
846
  type RpcIntentResponse as RpcIntentResponse,
736
847
  type RuleDeleteIntentResponse as RuleDeleteIntentResponse,
@@ -122,6 +122,21 @@ export interface KeyQuorumUpdateRequestBody {
122
122
  user_ids?: Array<string>;
123
123
  }
124
124
 
125
+ /**
126
+ * Paginated list of key quorums in an app.
127
+ */
128
+ export interface KeyQuorumsResponse {
129
+ /**
130
+ * Key quorums in this page.
131
+ */
132
+ data: Array<KeyQuorum>;
133
+
134
+ /**
135
+ * Cursor for the next page. Null when there are no further pages.
136
+ */
137
+ next_cursor: string | null;
138
+ }
139
+
125
140
  export declare namespace KeyQuorums {
126
141
  export {
127
142
  type AuthorizationKey as AuthorizationKey,
@@ -129,5 +144,6 @@ export declare namespace KeyQuorums {
129
144
  type KeyQuorumAuthorizationHeaders as KeyQuorumAuthorizationHeaders,
130
145
  type KeyQuorumCreateRequestBody as KeyQuorumCreateRequestBody,
131
146
  type KeyQuorumUpdateRequestBody as KeyQuorumUpdateRequestBody,
147
+ type KeyQuorumsResponse as KeyQuorumsResponse,
132
148
  };
133
149
  }
@@ -0,0 +1,25 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as PoliciesAPI from './policies';
5
+
6
+ export class ConditionSets extends APIResource {}
7
+
8
+ /**
9
+ * Paginated list of condition sets in an app.
10
+ */
11
+ export interface ConditionSetsResponse {
12
+ /**
13
+ * Condition sets in this page.
14
+ */
15
+ data: Array<PoliciesAPI.ConditionSet>;
16
+
17
+ /**
18
+ * Cursor for the next page. Null when there are no further pages.
19
+ */
20
+ next_cursor: string | null;
21
+ }
22
+
23
+ export declare namespace ConditionSets {
24
+ export { type ConditionSetsResponse as ConditionSetsResponse };
25
+ }
@@ -0,0 +1,63 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { ConditionSets, type ConditionSetsResponse } from './condition-sets';
4
+ export {
5
+ Policies,
6
+ type AbiParameter,
7
+ type AbiSchema,
8
+ type ActionRequestBodyCondition,
9
+ type AggregationCondition,
10
+ type ConditionOperator,
11
+ type ConditionSet,
12
+ type ConditionSetAuthorizationHeaders,
13
+ type ConditionSetItem,
14
+ type ConditionSetItemRequestParams,
15
+ type ConditionSetItemValueInput,
16
+ type ConditionSetItems,
17
+ type ConditionSetItemsRequestBody,
18
+ type ConditionSetItemsResponse,
19
+ type ConditionSetRequestBody,
20
+ type ConditionSetRequestParams,
21
+ type ConditionValue,
22
+ type Ethereum7702AuthorizationCondition,
23
+ type EthereumCalldataCondition,
24
+ type EthereumTransactionCondition,
25
+ type EthereumTransactionConditionField,
26
+ type EthereumTypedDataDomainCondition,
27
+ type EthereumTypedDataDomainConditionField,
28
+ type EthereumTypedDataMessageCondition,
29
+ type MessageSigningCondition,
30
+ type MessageSigningField,
31
+ type PoliciesResponse,
32
+ type Policy,
33
+ type PolicyAction,
34
+ type PolicyAuthorizationHeaders,
35
+ type PolicyCondition,
36
+ type PolicyListItem,
37
+ type PolicyMethod,
38
+ type PolicyRequestBody,
39
+ type PolicyRuleRequestBody,
40
+ type PolicyRuleRequestParams,
41
+ type PolicyRuleResponse,
42
+ type SolanaIdl,
43
+ type SolanaInstructionDataCondition,
44
+ type SolanaProgramInstructionCondition,
45
+ type SolanaSystemProgramInstructionCondition,
46
+ type SolanaSystemProgramInstructionConditionField,
47
+ type SolanaTokenProgramInstructionCondition,
48
+ type SolanaTokenProgramInstructionConditionField,
49
+ type SuiTransactionCommandCondition,
50
+ type SuiTransactionCommandOperator,
51
+ type SuiTransferObjectsCommandCondition,
52
+ type SuiTransferObjectsCommandField,
53
+ type SystemCondition,
54
+ type TempoTransactionCondition,
55
+ type TempoTransactionConditionField,
56
+ type TronCalldataCondition,
57
+ type TronTransactionCondition,
58
+ type TronTransactionConditionField,
59
+ type TypedDataInput,
60
+ type UpdateConditionSetRequestBody,
61
+ type XrplTransactionCondition,
62
+ type XrplTransactionConditionField,
63
+ } from './policies';