@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.
- package/CHANGELOG.md +30 -0
- package/client.d.mts +16 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +16 -16
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/aggregations.d.mts +1 -1
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +1 -1
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +88 -1
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +88 -1
- package/resources/apps.d.ts.map +1 -1
- package/resources/cards.d.mts +83 -6
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +83 -6
- package/resources/cards.d.ts.map +1 -1
- package/resources/client-auth.d.mts +1 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +1 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/fiat.d.mts +177 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts +177 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/index.d.mts +8 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +82 -4
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +82 -4
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +14 -1
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +14 -1
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/policies/condition-sets.d.mts +21 -0
- package/resources/policies/condition-sets.d.mts.map +1 -0
- package/resources/policies/condition-sets.d.ts +21 -0
- package/resources/policies/condition-sets.d.ts.map +1 -0
- package/resources/policies/condition-sets.js +9 -0
- package/resources/policies/condition-sets.js.map +1 -0
- package/resources/policies/condition-sets.mjs +5 -0
- package/resources/policies/condition-sets.mjs.map +1 -0
- package/resources/policies/index.d.mts +3 -0
- package/resources/policies/index.d.mts.map +1 -0
- package/resources/policies/index.d.ts +3 -0
- package/resources/policies/index.d.ts.map +1 -0
- package/resources/policies/index.js +9 -0
- package/resources/policies/index.js.map +1 -0
- package/resources/policies/index.mjs +4 -0
- package/resources/policies/index.mjs.map +1 -0
- package/resources/policies/policies.d.mts +775 -0
- package/resources/policies/policies.d.mts.map +1 -0
- package/resources/policies/policies.d.ts +775 -0
- package/resources/policies/policies.d.ts.map +1 -0
- package/resources/policies/policies.js +17 -0
- package/resources/policies/policies.js.map +1 -0
- package/resources/policies/policies.mjs +12 -0
- package/resources/policies/policies.mjs.map +1 -0
- package/resources/policies.d.mts +1 -698
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -698
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +2 -5
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +1 -3
- package/resources/policies.mjs.map +1 -1
- package/resources/users.d.mts +25 -20
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +25 -20
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-automations.d.mts +4 -0
- package/resources/wallet-automations.d.mts.map +1 -1
- package/resources/wallet-automations.d.ts +4 -0
- package/resources/wallet-automations.d.ts.map +1 -1
- package/resources/wallets/actions.d.mts +38 -11
- package/resources/wallets/actions.d.mts.map +1 -1
- package/resources/wallets/actions.d.ts +38 -11
- package/resources/wallets/actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +3 -3
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +3 -3
- 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/transactions.d.mts +4 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +4 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +60 -9
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +60 -9
- 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 +63 -1
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +63 -1
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +2 -2
- package/resources/yield.d.ts +2 -2
- package/src/client.ts +132 -56
- package/src/resources/aggregations.ts +1 -1
- package/src/resources/apps.ts +126 -0
- package/src/resources/cards.ts +107 -5
- package/src/resources/client-auth.ts +1 -1
- package/src/resources/fiat.ts +228 -0
- package/src/resources/index.ts +39 -1
- package/src/resources/intents.ts +114 -3
- package/src/resources/key-quorums.ts +16 -0
- package/src/resources/policies/condition-sets.ts +25 -0
- package/src/resources/policies/index.ts +63 -0
- package/src/resources/policies/policies.ts +1122 -0
- package/src/resources/policies.ts +1 -1023
- package/src/resources/users.ts +31 -25
- package/src/resources/wallet-automations.ts +5 -0
- package/src/resources/wallets/actions.ts +46 -10
- package/src/resources/wallets/balance.ts +3 -0
- package/src/resources/wallets/index.ts +4 -0
- package/src/resources/wallets/transactions.ts +4 -0
- package/src/resources/wallets/wallets.ts +71 -0
- package/src/resources/webhooks.ts +78 -0
- package/src/resources/yield.ts +2 -2
- 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/resources/index.ts
CHANGED
|
@@ -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,
|
|
@@ -375,6 +394,8 @@ export {
|
|
|
375
394
|
type KyxEnvironment,
|
|
376
395
|
type KyxProvider,
|
|
377
396
|
type KyxProviderStatus,
|
|
397
|
+
type KyxScreen,
|
|
398
|
+
type KyxScreenResult,
|
|
378
399
|
type KyxTosRequestBody,
|
|
379
400
|
type KyxTosResponse,
|
|
380
401
|
type KyxTosStatus,
|
|
@@ -396,6 +417,7 @@ export {
|
|
|
396
417
|
type OrganizationExternalFiatAccount,
|
|
397
418
|
type OrganizationExternalFiatAccountResponse,
|
|
398
419
|
type PayoutDestination,
|
|
420
|
+
type PayoutPaymentRail,
|
|
399
421
|
type PayoutSource,
|
|
400
422
|
type VerificationAddress,
|
|
401
423
|
type VerificationDocument,
|
|
@@ -430,6 +452,8 @@ export {
|
|
|
430
452
|
Intents,
|
|
431
453
|
type BaseActionResult,
|
|
432
454
|
type BaseIntentResponse,
|
|
455
|
+
type ConditionSetItemIntentCreateRequestDetails,
|
|
456
|
+
type ConditionSetItemIntentResponse,
|
|
433
457
|
type IntentAuthorization,
|
|
434
458
|
type IntentAuthorizationKeyMember,
|
|
435
459
|
type IntentAuthorizationKeyQuorum,
|
|
@@ -444,6 +468,8 @@ export {
|
|
|
444
468
|
type KeyQuorumIntentResponse,
|
|
445
469
|
type PolicyIntentRequestDetails,
|
|
446
470
|
type PolicyIntentResponse,
|
|
471
|
+
type RawSignIntentRequestDetails,
|
|
472
|
+
type RawSignIntentResponse,
|
|
447
473
|
type RpcIntentRequestDetails,
|
|
448
474
|
type RpcIntentResponse,
|
|
449
475
|
type RuleDeleteIntentResponse,
|
|
@@ -465,6 +491,7 @@ export {
|
|
|
465
491
|
type KeyQuorumAuthorizationHeaders,
|
|
466
492
|
type KeyQuorumCreateRequestBody,
|
|
467
493
|
type KeyQuorumUpdateRequestBody,
|
|
494
|
+
type KeyQuorumsResponse,
|
|
468
495
|
} from './key-quorums';
|
|
469
496
|
export {
|
|
470
497
|
KrakenEmbed,
|
|
@@ -647,15 +674,19 @@ export {
|
|
|
647
674
|
type EthereumTypedDataMessageCondition,
|
|
648
675
|
type MessageSigningCondition,
|
|
649
676
|
type MessageSigningField,
|
|
677
|
+
type PoliciesResponse,
|
|
650
678
|
type Policy,
|
|
651
679
|
type PolicyAction,
|
|
652
680
|
type PolicyAuthorizationHeaders,
|
|
653
681
|
type PolicyCondition,
|
|
682
|
+
type PolicyListItem,
|
|
654
683
|
type PolicyMethod,
|
|
655
684
|
type PolicyRequestBody,
|
|
656
685
|
type PolicyRuleRequestBody,
|
|
657
686
|
type PolicyRuleRequestParams,
|
|
658
687
|
type PolicyRuleResponse,
|
|
688
|
+
type SolanaIdl,
|
|
689
|
+
type SolanaInstructionDataCondition,
|
|
659
690
|
type SolanaProgramInstructionCondition,
|
|
660
691
|
type SolanaSystemProgramInstructionCondition,
|
|
661
692
|
type SolanaSystemProgramInstructionConditionField,
|
|
@@ -675,7 +706,7 @@ export {
|
|
|
675
706
|
type UpdateConditionSetRequestBody,
|
|
676
707
|
type XrplTransactionCondition,
|
|
677
708
|
type XrplTransactionConditionField,
|
|
678
|
-
} from './policies';
|
|
709
|
+
} from './policies/policies';
|
|
679
710
|
export {
|
|
680
711
|
Shared,
|
|
681
712
|
type BitcoinAddress,
|
|
@@ -877,6 +908,8 @@ export {
|
|
|
877
908
|
type CryptoDepositAccountCaip2,
|
|
878
909
|
type CryptoDepositAccountChain,
|
|
879
910
|
type CryptoDepositAccountConfigResponse,
|
|
911
|
+
type CryptoDepositAccountConfigSearchResponse,
|
|
912
|
+
type CryptoDepositAccountSearchCurrency,
|
|
880
913
|
type CryptoDepositAccountSourceChain,
|
|
881
914
|
type CryptoDepositAccountSourceCurrency,
|
|
882
915
|
type CryptoDepositAddressRoute,
|
|
@@ -898,6 +931,7 @@ export {
|
|
|
898
931
|
type DepositAccountCryptoQuoteAsset,
|
|
899
932
|
type DepositAccountCryptoQuoteRequestBody,
|
|
900
933
|
type DepositAccountCryptoQuoteResponse,
|
|
934
|
+
type DerivationInput,
|
|
901
935
|
type DetachWalletAutomationRequestBody,
|
|
902
936
|
type DeveloperFee,
|
|
903
937
|
type EncryptedAuthorizationKey,
|
|
@@ -1187,6 +1221,7 @@ export {
|
|
|
1187
1221
|
type DepositCompletedData,
|
|
1188
1222
|
type DepositCompletedDestination,
|
|
1189
1223
|
type DepositFailedData,
|
|
1224
|
+
type DepositMetadata,
|
|
1190
1225
|
type DepositStartedData,
|
|
1191
1226
|
type DepositStartedDestination,
|
|
1192
1227
|
type DepositStartedSource,
|
|
@@ -1213,6 +1248,9 @@ export {
|
|
|
1213
1248
|
type OrganizationKYBUpdatedKYBData,
|
|
1214
1249
|
type OrganizationKYBUpdatedTosData,
|
|
1215
1250
|
type PrivateKeyExportWebhookPayload,
|
|
1251
|
+
type RefundDetails,
|
|
1252
|
+
type RefundMetadata,
|
|
1253
|
+
type RelayRefundDetails,
|
|
1216
1254
|
type SeedPhraseExportWebhookPayload,
|
|
1217
1255
|
type TransactionBroadcastedWebhookPayload,
|
|
1218
1256
|
type TransactionConfirmedWebhookPayload,
|
package/src/resources/intents.ts
CHANGED
|
@@ -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 =
|
|
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';
|