@privy-io/node 0.3.0 → 0.4.1

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 (99) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +2 -2
  3. package/client.d.mts +7 -4
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +7 -4
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/index.d.mts +1 -1
  12. package/index.d.mts.map +1 -1
  13. package/index.d.ts +1 -1
  14. package/index.d.ts.map +1 -1
  15. package/lib/identity-token.d.mts.map +1 -1
  16. package/lib/identity-token.d.ts.map +1 -1
  17. package/lib/identity-token.js +1 -0
  18. package/lib/identity-token.js.map +1 -1
  19. package/lib/identity-token.mjs +1 -0
  20. package/lib/identity-token.mjs.map +1 -1
  21. package/lib/user-utils.d.mts +5 -9
  22. package/lib/user-utils.d.mts.map +1 -1
  23. package/lib/user-utils.d.ts +5 -9
  24. package/lib/user-utils.d.ts.map +1 -1
  25. package/lib/user-utils.js.map +1 -1
  26. package/lib/user-utils.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/resources/client-auth.d.mts +24 -0
  29. package/resources/client-auth.d.mts.map +1 -0
  30. package/resources/client-auth.d.ts +24 -0
  31. package/resources/client-auth.d.ts.map +1 -0
  32. package/resources/client-auth.js +9 -0
  33. package/resources/client-auth.js.map +1 -0
  34. package/resources/client-auth.mjs +5 -0
  35. package/resources/client-auth.mjs.map +1 -0
  36. package/resources/index.d.mts +3 -2
  37. package/resources/index.d.mts.map +1 -1
  38. package/resources/index.d.ts +3 -2
  39. package/resources/index.d.ts.map +1 -1
  40. package/resources/index.js +3 -1
  41. package/resources/index.js.map +1 -1
  42. package/resources/index.mjs +1 -0
  43. package/resources/index.mjs.map +1 -1
  44. package/resources/key-quorums.d.mts +18 -3
  45. package/resources/key-quorums.d.mts.map +1 -1
  46. package/resources/key-quorums.d.ts +18 -3
  47. package/resources/key-quorums.d.ts.map +1 -1
  48. package/resources/policies.d.mts +82 -80
  49. package/resources/policies.d.mts.map +1 -1
  50. package/resources/policies.d.ts +82 -80
  51. package/resources/policies.d.ts.map +1 -1
  52. package/resources/policies.js +4 -4
  53. package/resources/policies.mjs +4 -4
  54. package/resources/users.d.mts +200 -96
  55. package/resources/users.d.mts.map +1 -1
  56. package/resources/users.d.ts +200 -96
  57. package/resources/users.d.ts.map +1 -1
  58. package/resources/users.js.map +1 -1
  59. package/resources/users.mjs.map +1 -1
  60. package/resources/wallets/balance.d.mts +2 -2
  61. package/resources/wallets/balance.d.mts.map +1 -1
  62. package/resources/wallets/balance.d.ts +2 -2
  63. package/resources/wallets/balance.d.ts.map +1 -1
  64. package/resources/wallets/index.d.mts +1 -1
  65. package/resources/wallets/index.d.mts.map +1 -1
  66. package/resources/wallets/index.d.ts +1 -1
  67. package/resources/wallets/index.d.ts.map +1 -1
  68. package/resources/wallets/index.js.map +1 -1
  69. package/resources/wallets/index.mjs.map +1 -1
  70. package/resources/wallets/transactions.d.mts +3 -2
  71. package/resources/wallets/transactions.d.mts.map +1 -1
  72. package/resources/wallets/transactions.d.ts +3 -2
  73. package/resources/wallets/transactions.d.ts.map +1 -1
  74. package/resources/wallets/wallets.d.mts +69 -23
  75. package/resources/wallets/wallets.d.mts.map +1 -1
  76. package/resources/wallets/wallets.d.ts +69 -23
  77. package/resources/wallets/wallets.d.ts.map +1 -1
  78. package/resources/wallets/wallets.js +5 -1
  79. package/resources/wallets/wallets.js.map +1 -1
  80. package/resources/wallets/wallets.mjs +5 -1
  81. package/resources/wallets/wallets.mjs.map +1 -1
  82. package/src/client.ts +45 -0
  83. package/src/index.ts +1 -1
  84. package/src/lib/identity-token.ts +22 -21
  85. package/src/lib/user-utils.ts +6 -10
  86. package/src/resources/client-auth.ts +46 -0
  87. package/src/resources/index.ts +21 -0
  88. package/src/resources/key-quorums.ts +18 -3
  89. package/src/resources/policies.ts +82 -80
  90. package/src/resources/users.ts +367 -187
  91. package/src/resources/wallets/balance.ts +7 -1
  92. package/src/resources/wallets/index.ts +3 -0
  93. package/src/resources/wallets/transactions.ts +8 -2
  94. package/src/resources/wallets/wallets.ts +102 -61
  95. package/src/version.ts +1 -1
  96. package/version.d.mts +1 -1
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
  99. package/version.mjs +1 -1
@@ -9,7 +9,7 @@ export declare class Policies extends APIResource {
9
9
  * ```ts
10
10
  * const policy = await client.policies.create({
11
11
  * chain_type: 'ethereum',
12
- * name: 'name',
12
+ * name: 'x',
13
13
  * rules: [
14
14
  * {
15
15
  * action: 'ALLOW',
@@ -22,7 +22,7 @@ export declare class Policies extends APIResource {
22
22
  * },
23
23
  * ],
24
24
  * method: 'eth_sendTransaction',
25
- * name: 'name',
25
+ * name: 'x',
26
26
  * },
27
27
  * ],
28
28
  * version: '1.0',
@@ -48,7 +48,7 @@ export declare class Policies extends APIResource {
48
48
  * },
49
49
  * ],
50
50
  * method: 'eth_sendTransaction',
51
- * name: 'name',
51
+ * name: 'x',
52
52
  * },
53
53
  * );
54
54
  * ```
@@ -107,7 +107,7 @@ export declare class Policies extends APIResource {
107
107
  * },
108
108
  * ],
109
109
  * method: 'eth_sendTransaction',
110
- * name: 'name',
110
+ * name: 'x',
111
111
  * },
112
112
  * );
113
113
  * ```
@@ -191,7 +191,7 @@ export declare namespace Policy {
191
191
  interface EthereumTransactionCondition {
192
192
  field: 'to' | 'value';
193
193
  field_source: 'ethereum_transaction';
194
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
194
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
195
195
  value: string | Array<string>;
196
196
  }
197
197
  /**
@@ -203,7 +203,7 @@ export declare namespace Policy {
203
203
  abi: unknown;
204
204
  field: string;
205
205
  field_source: 'ethereum_calldata';
206
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
206
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
207
207
  value: string | Array<string>;
208
208
  }
209
209
  /**
@@ -212,7 +212,7 @@ export declare namespace Policy {
212
212
  interface EthereumTypedDataDomainCondition {
213
213
  field: 'chainId' | 'verifyingContract';
214
214
  field_source: 'ethereum_typed_data_domain';
215
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
215
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
216
216
  value: string | Array<string>;
217
217
  }
218
218
  /**
@@ -222,7 +222,7 @@ export declare namespace Policy {
222
222
  interface EthereumTypedDataMessageCondition {
223
223
  field: string;
224
224
  field_source: 'ethereum_typed_data_message';
225
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
225
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
226
226
  typed_data: EthereumTypedDataMessageCondition.TypedData;
227
227
  value: string | Array<string>;
228
228
  }
@@ -246,7 +246,7 @@ export declare namespace Policy {
246
246
  interface Ethereum7702AuthorizationCondition {
247
247
  field: 'contract';
248
248
  field_source: 'ethereum_7702_authorization';
249
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
249
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
250
250
  value: string | Array<string>;
251
251
  }
252
252
  /**
@@ -255,7 +255,7 @@ export declare namespace Policy {
255
255
  interface SolanaProgramInstructionCondition {
256
256
  field: 'programId';
257
257
  field_source: 'solana_program_instruction';
258
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
258
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
259
259
  value: string | Array<string>;
260
260
  }
261
261
  /**
@@ -265,7 +265,7 @@ export declare namespace Policy {
265
265
  interface SolanaSystemProgramInstructionCondition {
266
266
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
267
267
  field_source: 'solana_system_program_instruction';
268
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
268
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
269
269
  value: string | Array<string>;
270
270
  }
271
271
  /**
@@ -275,7 +275,7 @@ export declare namespace Policy {
275
275
  interface SolanaTokenProgramInstructionCondition {
276
276
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
277
277
  field_source: 'solana_token_program_instruction';
278
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
278
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
279
279
  value: string | Array<string>;
280
280
  }
281
281
  /**
@@ -284,7 +284,7 @@ export declare namespace Policy {
284
284
  interface SystemCondition {
285
285
  field: 'current_unix_timestamp';
286
286
  field_source: 'system';
287
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
287
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
288
288
  value: string | Array<string>;
289
289
  }
290
290
  }
@@ -314,7 +314,7 @@ export declare namespace PolicyCreateRuleResponse {
314
314
  interface EthereumTransactionCondition {
315
315
  field: 'to' | 'value';
316
316
  field_source: 'ethereum_transaction';
317
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
317
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
318
318
  value: string | Array<string>;
319
319
  }
320
320
  /**
@@ -326,7 +326,7 @@ export declare namespace PolicyCreateRuleResponse {
326
326
  abi: unknown;
327
327
  field: string;
328
328
  field_source: 'ethereum_calldata';
329
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
329
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
330
330
  value: string | Array<string>;
331
331
  }
332
332
  /**
@@ -335,7 +335,7 @@ export declare namespace PolicyCreateRuleResponse {
335
335
  interface EthereumTypedDataDomainCondition {
336
336
  field: 'chainId' | 'verifyingContract';
337
337
  field_source: 'ethereum_typed_data_domain';
338
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
338
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
339
339
  value: string | Array<string>;
340
340
  }
341
341
  /**
@@ -345,7 +345,7 @@ export declare namespace PolicyCreateRuleResponse {
345
345
  interface EthereumTypedDataMessageCondition {
346
346
  field: string;
347
347
  field_source: 'ethereum_typed_data_message';
348
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
348
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
349
349
  typed_data: EthereumTypedDataMessageCondition.TypedData;
350
350
  value: string | Array<string>;
351
351
  }
@@ -369,7 +369,7 @@ export declare namespace PolicyCreateRuleResponse {
369
369
  interface Ethereum7702AuthorizationCondition {
370
370
  field: 'contract';
371
371
  field_source: 'ethereum_7702_authorization';
372
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
372
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
373
373
  value: string | Array<string>;
374
374
  }
375
375
  /**
@@ -378,7 +378,7 @@ export declare namespace PolicyCreateRuleResponse {
378
378
  interface SolanaProgramInstructionCondition {
379
379
  field: 'programId';
380
380
  field_source: 'solana_program_instruction';
381
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
381
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
382
382
  value: string | Array<string>;
383
383
  }
384
384
  /**
@@ -388,7 +388,7 @@ export declare namespace PolicyCreateRuleResponse {
388
388
  interface SolanaSystemProgramInstructionCondition {
389
389
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
390
390
  field_source: 'solana_system_program_instruction';
391
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
391
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
392
392
  value: string | Array<string>;
393
393
  }
394
394
  /**
@@ -398,7 +398,7 @@ export declare namespace PolicyCreateRuleResponse {
398
398
  interface SolanaTokenProgramInstructionCondition {
399
399
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
400
400
  field_source: 'solana_token_program_instruction';
401
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
401
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
402
402
  value: string | Array<string>;
403
403
  }
404
404
  /**
@@ -407,7 +407,7 @@ export declare namespace PolicyCreateRuleResponse {
407
407
  interface SystemCondition {
408
408
  field: 'current_unix_timestamp';
409
409
  field_source: 'system';
410
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
410
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
411
411
  value: string | Array<string>;
412
412
  }
413
413
  }
@@ -444,7 +444,7 @@ export declare namespace PolicyUpdateRuleResponse {
444
444
  interface EthereumTransactionCondition {
445
445
  field: 'to' | 'value';
446
446
  field_source: 'ethereum_transaction';
447
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
447
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
448
448
  value: string | Array<string>;
449
449
  }
450
450
  /**
@@ -456,7 +456,7 @@ export declare namespace PolicyUpdateRuleResponse {
456
456
  abi: unknown;
457
457
  field: string;
458
458
  field_source: 'ethereum_calldata';
459
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
459
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
460
460
  value: string | Array<string>;
461
461
  }
462
462
  /**
@@ -465,7 +465,7 @@ export declare namespace PolicyUpdateRuleResponse {
465
465
  interface EthereumTypedDataDomainCondition {
466
466
  field: 'chainId' | 'verifyingContract';
467
467
  field_source: 'ethereum_typed_data_domain';
468
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
468
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
469
469
  value: string | Array<string>;
470
470
  }
471
471
  /**
@@ -475,7 +475,7 @@ export declare namespace PolicyUpdateRuleResponse {
475
475
  interface EthereumTypedDataMessageCondition {
476
476
  field: string;
477
477
  field_source: 'ethereum_typed_data_message';
478
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
478
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
479
479
  typed_data: EthereumTypedDataMessageCondition.TypedData;
480
480
  value: string | Array<string>;
481
481
  }
@@ -499,7 +499,7 @@ export declare namespace PolicyUpdateRuleResponse {
499
499
  interface Ethereum7702AuthorizationCondition {
500
500
  field: 'contract';
501
501
  field_source: 'ethereum_7702_authorization';
502
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
502
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
503
503
  value: string | Array<string>;
504
504
  }
505
505
  /**
@@ -508,7 +508,7 @@ export declare namespace PolicyUpdateRuleResponse {
508
508
  interface SolanaProgramInstructionCondition {
509
509
  field: 'programId';
510
510
  field_source: 'solana_program_instruction';
511
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
511
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
512
512
  value: string | Array<string>;
513
513
  }
514
514
  /**
@@ -518,7 +518,7 @@ export declare namespace PolicyUpdateRuleResponse {
518
518
  interface SolanaSystemProgramInstructionCondition {
519
519
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
520
520
  field_source: 'solana_system_program_instruction';
521
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
521
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
522
522
  value: string | Array<string>;
523
523
  }
524
524
  /**
@@ -528,7 +528,7 @@ export declare namespace PolicyUpdateRuleResponse {
528
528
  interface SolanaTokenProgramInstructionCondition {
529
529
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
530
530
  field_source: 'solana_token_program_instruction';
531
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
531
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
532
532
  value: string | Array<string>;
533
533
  }
534
534
  /**
@@ -537,7 +537,7 @@ export declare namespace PolicyUpdateRuleResponse {
537
537
  interface SystemCondition {
538
538
  field: 'current_unix_timestamp';
539
539
  field_source: 'system';
540
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
540
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
541
541
  value: string | Array<string>;
542
542
  }
543
543
  }
@@ -566,7 +566,7 @@ export declare namespace PolicyGetRuleResponse {
566
566
  interface EthereumTransactionCondition {
567
567
  field: 'to' | 'value';
568
568
  field_source: 'ethereum_transaction';
569
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
569
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
570
570
  value: string | Array<string>;
571
571
  }
572
572
  /**
@@ -578,7 +578,7 @@ export declare namespace PolicyGetRuleResponse {
578
578
  abi: unknown;
579
579
  field: string;
580
580
  field_source: 'ethereum_calldata';
581
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
581
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
582
582
  value: string | Array<string>;
583
583
  }
584
584
  /**
@@ -587,7 +587,7 @@ export declare namespace PolicyGetRuleResponse {
587
587
  interface EthereumTypedDataDomainCondition {
588
588
  field: 'chainId' | 'verifyingContract';
589
589
  field_source: 'ethereum_typed_data_domain';
590
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
590
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
591
591
  value: string | Array<string>;
592
592
  }
593
593
  /**
@@ -597,7 +597,7 @@ export declare namespace PolicyGetRuleResponse {
597
597
  interface EthereumTypedDataMessageCondition {
598
598
  field: string;
599
599
  field_source: 'ethereum_typed_data_message';
600
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
600
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
601
601
  typed_data: EthereumTypedDataMessageCondition.TypedData;
602
602
  value: string | Array<string>;
603
603
  }
@@ -621,7 +621,7 @@ export declare namespace PolicyGetRuleResponse {
621
621
  interface Ethereum7702AuthorizationCondition {
622
622
  field: 'contract';
623
623
  field_source: 'ethereum_7702_authorization';
624
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
624
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
625
625
  value: string | Array<string>;
626
626
  }
627
627
  /**
@@ -630,7 +630,7 @@ export declare namespace PolicyGetRuleResponse {
630
630
  interface SolanaProgramInstructionCondition {
631
631
  field: 'programId';
632
632
  field_source: 'solana_program_instruction';
633
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
633
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
634
634
  value: string | Array<string>;
635
635
  }
636
636
  /**
@@ -640,7 +640,7 @@ export declare namespace PolicyGetRuleResponse {
640
640
  interface SolanaSystemProgramInstructionCondition {
641
641
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
642
642
  field_source: 'solana_system_program_instruction';
643
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
643
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
644
644
  value: string | Array<string>;
645
645
  }
646
646
  /**
@@ -650,7 +650,7 @@ export declare namespace PolicyGetRuleResponse {
650
650
  interface SolanaTokenProgramInstructionCondition {
651
651
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
652
652
  field_source: 'solana_token_program_instruction';
653
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
653
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
654
654
  value: string | Array<string>;
655
655
  }
656
656
  /**
@@ -659,7 +659,7 @@ export declare namespace PolicyGetRuleResponse {
659
659
  interface SystemCondition {
660
660
  field: 'current_unix_timestamp';
661
661
  field_source: 'system';
662
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
662
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
663
663
  value: string | Array<string>;
664
664
  }
665
665
  }
@@ -721,7 +721,7 @@ export declare namespace PolicyCreateParams {
721
721
  interface EthereumTransactionCondition {
722
722
  field: 'to' | 'value';
723
723
  field_source: 'ethereum_transaction';
724
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
724
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
725
725
  value: string | Array<string>;
726
726
  }
727
727
  /**
@@ -733,7 +733,7 @@ export declare namespace PolicyCreateParams {
733
733
  abi: unknown;
734
734
  field: string;
735
735
  field_source: 'ethereum_calldata';
736
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
736
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
737
737
  value: string | Array<string>;
738
738
  }
739
739
  /**
@@ -742,7 +742,7 @@ export declare namespace PolicyCreateParams {
742
742
  interface EthereumTypedDataDomainCondition {
743
743
  field: 'chainId' | 'verifyingContract';
744
744
  field_source: 'ethereum_typed_data_domain';
745
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
745
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
746
746
  value: string | Array<string>;
747
747
  }
748
748
  /**
@@ -752,7 +752,7 @@ export declare namespace PolicyCreateParams {
752
752
  interface EthereumTypedDataMessageCondition {
753
753
  field: string;
754
754
  field_source: 'ethereum_typed_data_message';
755
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
755
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
756
756
  typed_data: EthereumTypedDataMessageCondition.TypedData;
757
757
  value: string | Array<string>;
758
758
  }
@@ -776,7 +776,7 @@ export declare namespace PolicyCreateParams {
776
776
  interface Ethereum7702AuthorizationCondition {
777
777
  field: 'contract';
778
778
  field_source: 'ethereum_7702_authorization';
779
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
779
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
780
780
  value: string | Array<string>;
781
781
  }
782
782
  /**
@@ -785,7 +785,7 @@ export declare namespace PolicyCreateParams {
785
785
  interface SolanaProgramInstructionCondition {
786
786
  field: 'programId';
787
787
  field_source: 'solana_program_instruction';
788
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
788
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
789
789
  value: string | Array<string>;
790
790
  }
791
791
  /**
@@ -795,7 +795,7 @@ export declare namespace PolicyCreateParams {
795
795
  interface SolanaSystemProgramInstructionCondition {
796
796
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
797
797
  field_source: 'solana_system_program_instruction';
798
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
798
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
799
799
  value: string | Array<string>;
800
800
  }
801
801
  /**
@@ -805,7 +805,7 @@ export declare namespace PolicyCreateParams {
805
805
  interface SolanaTokenProgramInstructionCondition {
806
806
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
807
807
  field_source: 'solana_token_program_instruction';
808
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
808
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
809
809
  value: string | Array<string>;
810
810
  }
811
811
  /**
@@ -814,13 +814,14 @@ export declare namespace PolicyCreateParams {
814
814
  interface SystemCondition {
815
815
  field: 'current_unix_timestamp';
816
816
  field_source: 'system';
817
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
817
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
818
818
  value: string | Array<string>;
819
819
  }
820
820
  }
821
821
  /**
822
- * The P-256 public key of the owner of the resource. If you provide this, do not
823
- * specify an owner_id as it will be generated automatically.
822
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
823
+ * If you provide this, do not specify an owner_id as it will be generated
824
+ * automatically.
824
825
  */
825
826
  interface PublicKeyOwner {
826
827
  public_key: string;
@@ -865,7 +866,7 @@ export declare namespace PolicyCreateRuleParams {
865
866
  interface EthereumTransactionCondition {
866
867
  field: 'to' | 'value';
867
868
  field_source: 'ethereum_transaction';
868
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
869
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
869
870
  value: string | Array<string>;
870
871
  }
871
872
  /**
@@ -877,7 +878,7 @@ export declare namespace PolicyCreateRuleParams {
877
878
  abi: unknown;
878
879
  field: string;
879
880
  field_source: 'ethereum_calldata';
880
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
881
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
881
882
  value: string | Array<string>;
882
883
  }
883
884
  /**
@@ -886,7 +887,7 @@ export declare namespace PolicyCreateRuleParams {
886
887
  interface EthereumTypedDataDomainCondition {
887
888
  field: 'chainId' | 'verifyingContract';
888
889
  field_source: 'ethereum_typed_data_domain';
889
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
890
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
890
891
  value: string | Array<string>;
891
892
  }
892
893
  /**
@@ -896,7 +897,7 @@ export declare namespace PolicyCreateRuleParams {
896
897
  interface EthereumTypedDataMessageCondition {
897
898
  field: string;
898
899
  field_source: 'ethereum_typed_data_message';
899
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
900
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
900
901
  typed_data: EthereumTypedDataMessageCondition.TypedData;
901
902
  value: string | Array<string>;
902
903
  }
@@ -920,7 +921,7 @@ export declare namespace PolicyCreateRuleParams {
920
921
  interface Ethereum7702AuthorizationCondition {
921
922
  field: 'contract';
922
923
  field_source: 'ethereum_7702_authorization';
923
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
924
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
924
925
  value: string | Array<string>;
925
926
  }
926
927
  /**
@@ -929,7 +930,7 @@ export declare namespace PolicyCreateRuleParams {
929
930
  interface SolanaProgramInstructionCondition {
930
931
  field: 'programId';
931
932
  field_source: 'solana_program_instruction';
932
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
933
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
933
934
  value: string | Array<string>;
934
935
  }
935
936
  /**
@@ -939,7 +940,7 @@ export declare namespace PolicyCreateRuleParams {
939
940
  interface SolanaSystemProgramInstructionCondition {
940
941
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
941
942
  field_source: 'solana_system_program_instruction';
942
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
943
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
943
944
  value: string | Array<string>;
944
945
  }
945
946
  /**
@@ -949,7 +950,7 @@ export declare namespace PolicyCreateRuleParams {
949
950
  interface SolanaTokenProgramInstructionCondition {
950
951
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
951
952
  field_source: 'solana_token_program_instruction';
952
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
953
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
953
954
  value: string | Array<string>;
954
955
  }
955
956
  /**
@@ -958,7 +959,7 @@ export declare namespace PolicyCreateRuleParams {
958
959
  interface SystemCondition {
959
960
  field: 'current_unix_timestamp';
960
961
  field_source: 'system';
961
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
962
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
962
963
  value: string | Array<string>;
963
964
  }
964
965
  }
@@ -1008,8 +1009,9 @@ export interface PolicyUpdateParams {
1008
1009
  }
1009
1010
  export declare namespace PolicyUpdateParams {
1010
1011
  /**
1011
- * The P-256 public key of the owner of the resource. If you provide this, do not
1012
- * specify an owner_id as it will be generated automatically.
1012
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
1013
+ * If you provide this, do not specify an owner_id as it will be generated
1014
+ * automatically.
1013
1015
  */
1014
1016
  interface PublicKeyOwner {
1015
1017
  public_key: string;
@@ -1045,7 +1047,7 @@ export declare namespace PolicyUpdateParams {
1045
1047
  interface EthereumTransactionCondition {
1046
1048
  field: 'to' | 'value';
1047
1049
  field_source: 'ethereum_transaction';
1048
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1050
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1049
1051
  value: string | Array<string>;
1050
1052
  }
1051
1053
  /**
@@ -1057,7 +1059,7 @@ export declare namespace PolicyUpdateParams {
1057
1059
  abi: unknown;
1058
1060
  field: string;
1059
1061
  field_source: 'ethereum_calldata';
1060
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1062
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1061
1063
  value: string | Array<string>;
1062
1064
  }
1063
1065
  /**
@@ -1066,7 +1068,7 @@ export declare namespace PolicyUpdateParams {
1066
1068
  interface EthereumTypedDataDomainCondition {
1067
1069
  field: 'chainId' | 'verifyingContract';
1068
1070
  field_source: 'ethereum_typed_data_domain';
1069
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1071
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1070
1072
  value: string | Array<string>;
1071
1073
  }
1072
1074
  /**
@@ -1076,7 +1078,7 @@ export declare namespace PolicyUpdateParams {
1076
1078
  interface EthereumTypedDataMessageCondition {
1077
1079
  field: string;
1078
1080
  field_source: 'ethereum_typed_data_message';
1079
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1081
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1080
1082
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1081
1083
  value: string | Array<string>;
1082
1084
  }
@@ -1100,7 +1102,7 @@ export declare namespace PolicyUpdateParams {
1100
1102
  interface Ethereum7702AuthorizationCondition {
1101
1103
  field: 'contract';
1102
1104
  field_source: 'ethereum_7702_authorization';
1103
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1105
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1104
1106
  value: string | Array<string>;
1105
1107
  }
1106
1108
  /**
@@ -1109,7 +1111,7 @@ export declare namespace PolicyUpdateParams {
1109
1111
  interface SolanaProgramInstructionCondition {
1110
1112
  field: 'programId';
1111
1113
  field_source: 'solana_program_instruction';
1112
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1114
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1113
1115
  value: string | Array<string>;
1114
1116
  }
1115
1117
  /**
@@ -1119,7 +1121,7 @@ export declare namespace PolicyUpdateParams {
1119
1121
  interface SolanaSystemProgramInstructionCondition {
1120
1122
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
1121
1123
  field_source: 'solana_system_program_instruction';
1122
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1124
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1123
1125
  value: string | Array<string>;
1124
1126
  }
1125
1127
  /**
@@ -1129,7 +1131,7 @@ export declare namespace PolicyUpdateParams {
1129
1131
  interface SolanaTokenProgramInstructionCondition {
1130
1132
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
1131
1133
  field_source: 'solana_token_program_instruction';
1132
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1134
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1133
1135
  value: string | Array<string>;
1134
1136
  }
1135
1137
  /**
@@ -1138,7 +1140,7 @@ export declare namespace PolicyUpdateParams {
1138
1140
  interface SystemCondition {
1139
1141
  field: 'current_unix_timestamp';
1140
1142
  field_source: 'system';
1141
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1143
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1142
1144
  value: string | Array<string>;
1143
1145
  }
1144
1146
  }
@@ -1178,7 +1180,7 @@ export declare namespace PolicyUpdateRuleParams {
1178
1180
  interface EthereumTransactionCondition {
1179
1181
  field: 'to' | 'value';
1180
1182
  field_source: 'ethereum_transaction';
1181
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1183
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1182
1184
  value: string | Array<string>;
1183
1185
  }
1184
1186
  /**
@@ -1190,7 +1192,7 @@ export declare namespace PolicyUpdateRuleParams {
1190
1192
  abi: unknown;
1191
1193
  field: string;
1192
1194
  field_source: 'ethereum_calldata';
1193
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1195
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1194
1196
  value: string | Array<string>;
1195
1197
  }
1196
1198
  /**
@@ -1199,7 +1201,7 @@ export declare namespace PolicyUpdateRuleParams {
1199
1201
  interface EthereumTypedDataDomainCondition {
1200
1202
  field: 'chainId' | 'verifyingContract';
1201
1203
  field_source: 'ethereum_typed_data_domain';
1202
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1204
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1203
1205
  value: string | Array<string>;
1204
1206
  }
1205
1207
  /**
@@ -1209,7 +1211,7 @@ export declare namespace PolicyUpdateRuleParams {
1209
1211
  interface EthereumTypedDataMessageCondition {
1210
1212
  field: string;
1211
1213
  field_source: 'ethereum_typed_data_message';
1212
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1214
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1213
1215
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1214
1216
  value: string | Array<string>;
1215
1217
  }
@@ -1233,7 +1235,7 @@ export declare namespace PolicyUpdateRuleParams {
1233
1235
  interface Ethereum7702AuthorizationCondition {
1234
1236
  field: 'contract';
1235
1237
  field_source: 'ethereum_7702_authorization';
1236
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1238
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1237
1239
  value: string | Array<string>;
1238
1240
  }
1239
1241
  /**
@@ -1242,7 +1244,7 @@ export declare namespace PolicyUpdateRuleParams {
1242
1244
  interface SolanaProgramInstructionCondition {
1243
1245
  field: 'programId';
1244
1246
  field_source: 'solana_program_instruction';
1245
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1247
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1246
1248
  value: string | Array<string>;
1247
1249
  }
1248
1250
  /**
@@ -1252,7 +1254,7 @@ export declare namespace PolicyUpdateRuleParams {
1252
1254
  interface SolanaSystemProgramInstructionCondition {
1253
1255
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
1254
1256
  field_source: 'solana_system_program_instruction';
1255
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1257
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1256
1258
  value: string | Array<string>;
1257
1259
  }
1258
1260
  /**
@@ -1262,7 +1264,7 @@ export declare namespace PolicyUpdateRuleParams {
1262
1264
  interface SolanaTokenProgramInstructionCondition {
1263
1265
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
1264
1266
  field_source: 'solana_token_program_instruction';
1265
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1267
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1266
1268
  value: string | Array<string>;
1267
1269
  }
1268
1270
  /**
@@ -1271,7 +1273,7 @@ export declare namespace PolicyUpdateRuleParams {
1271
1273
  interface SystemCondition {
1272
1274
  field: 'current_unix_timestamp';
1273
1275
  field_source: 'system';
1274
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1276
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1275
1277
  value: string | Array<string>;
1276
1278
  }
1277
1279
  }