@privy-io/node 0.3.0 → 0.4.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 (92) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  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/policies.d.mts +76 -76
  45. package/resources/policies.d.mts.map +1 -1
  46. package/resources/policies.d.ts +76 -76
  47. package/resources/policies.d.ts.map +1 -1
  48. package/resources/policies.js +4 -4
  49. package/resources/policies.mjs +4 -4
  50. package/resources/users.d.mts +200 -96
  51. package/resources/users.d.mts.map +1 -1
  52. package/resources/users.d.ts +200 -96
  53. package/resources/users.d.ts.map +1 -1
  54. package/resources/users.js.map +1 -1
  55. package/resources/users.mjs.map +1 -1
  56. package/resources/wallets/balance.d.mts +2 -2
  57. package/resources/wallets/balance.d.mts.map +1 -1
  58. package/resources/wallets/balance.d.ts +2 -2
  59. package/resources/wallets/balance.d.ts.map +1 -1
  60. package/resources/wallets/index.d.mts +1 -1
  61. package/resources/wallets/index.d.mts.map +1 -1
  62. package/resources/wallets/index.d.ts +1 -1
  63. package/resources/wallets/index.d.ts.map +1 -1
  64. package/resources/wallets/index.js.map +1 -1
  65. package/resources/wallets/index.mjs.map +1 -1
  66. package/resources/wallets/transactions.d.mts +2 -2
  67. package/resources/wallets/transactions.d.mts.map +1 -1
  68. package/resources/wallets/transactions.d.ts +2 -2
  69. package/resources/wallets/transactions.d.ts.map +1 -1
  70. package/resources/wallets/wallets.d.mts +38 -14
  71. package/resources/wallets/wallets.d.mts.map +1 -1
  72. package/resources/wallets/wallets.d.ts +38 -14
  73. package/resources/wallets/wallets.d.ts.map +1 -1
  74. package/resources/wallets/wallets.js.map +1 -1
  75. package/resources/wallets/wallets.mjs.map +1 -1
  76. package/src/client.ts +45 -0
  77. package/src/index.ts +1 -1
  78. package/src/lib/identity-token.ts +22 -21
  79. package/src/lib/user-utils.ts +6 -10
  80. package/src/resources/client-auth.ts +46 -0
  81. package/src/resources/index.ts +21 -0
  82. package/src/resources/policies.ts +76 -76
  83. package/src/resources/users.ts +367 -187
  84. package/src/resources/wallets/balance.ts +7 -1
  85. package/src/resources/wallets/index.ts +3 -0
  86. package/src/resources/wallets/transactions.ts +6 -2
  87. package/src/resources/wallets/wallets.ts +69 -52
  88. package/src/version.ts +1 -1
  89. package/version.d.mts +1 -1
  90. package/version.d.ts +1 -1
  91. package/version.js +1 -1
  92. 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,7 +814,7 @@ 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
  }
@@ -865,7 +865,7 @@ export declare namespace PolicyCreateRuleParams {
865
865
  interface EthereumTransactionCondition {
866
866
  field: 'to' | 'value';
867
867
  field_source: 'ethereum_transaction';
868
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
868
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
869
869
  value: string | Array<string>;
870
870
  }
871
871
  /**
@@ -877,7 +877,7 @@ export declare namespace PolicyCreateRuleParams {
877
877
  abi: unknown;
878
878
  field: string;
879
879
  field_source: 'ethereum_calldata';
880
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
880
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
881
881
  value: string | Array<string>;
882
882
  }
883
883
  /**
@@ -886,7 +886,7 @@ export declare namespace PolicyCreateRuleParams {
886
886
  interface EthereumTypedDataDomainCondition {
887
887
  field: 'chainId' | 'verifyingContract';
888
888
  field_source: 'ethereum_typed_data_domain';
889
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
889
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
890
890
  value: string | Array<string>;
891
891
  }
892
892
  /**
@@ -896,7 +896,7 @@ export declare namespace PolicyCreateRuleParams {
896
896
  interface EthereumTypedDataMessageCondition {
897
897
  field: string;
898
898
  field_source: 'ethereum_typed_data_message';
899
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
899
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
900
900
  typed_data: EthereumTypedDataMessageCondition.TypedData;
901
901
  value: string | Array<string>;
902
902
  }
@@ -920,7 +920,7 @@ export declare namespace PolicyCreateRuleParams {
920
920
  interface Ethereum7702AuthorizationCondition {
921
921
  field: 'contract';
922
922
  field_source: 'ethereum_7702_authorization';
923
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
923
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
924
924
  value: string | Array<string>;
925
925
  }
926
926
  /**
@@ -929,7 +929,7 @@ export declare namespace PolicyCreateRuleParams {
929
929
  interface SolanaProgramInstructionCondition {
930
930
  field: 'programId';
931
931
  field_source: 'solana_program_instruction';
932
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
932
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
933
933
  value: string | Array<string>;
934
934
  }
935
935
  /**
@@ -939,7 +939,7 @@ export declare namespace PolicyCreateRuleParams {
939
939
  interface SolanaSystemProgramInstructionCondition {
940
940
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
941
941
  field_source: 'solana_system_program_instruction';
942
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
942
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
943
943
  value: string | Array<string>;
944
944
  }
945
945
  /**
@@ -949,7 +949,7 @@ export declare namespace PolicyCreateRuleParams {
949
949
  interface SolanaTokenProgramInstructionCondition {
950
950
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
951
951
  field_source: 'solana_token_program_instruction';
952
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
952
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
953
953
  value: string | Array<string>;
954
954
  }
955
955
  /**
@@ -958,7 +958,7 @@ export declare namespace PolicyCreateRuleParams {
958
958
  interface SystemCondition {
959
959
  field: 'current_unix_timestamp';
960
960
  field_source: 'system';
961
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
961
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
962
962
  value: string | Array<string>;
963
963
  }
964
964
  }
@@ -1045,7 +1045,7 @@ export declare namespace PolicyUpdateParams {
1045
1045
  interface EthereumTransactionCondition {
1046
1046
  field: 'to' | 'value';
1047
1047
  field_source: 'ethereum_transaction';
1048
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1048
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1049
1049
  value: string | Array<string>;
1050
1050
  }
1051
1051
  /**
@@ -1057,7 +1057,7 @@ export declare namespace PolicyUpdateParams {
1057
1057
  abi: unknown;
1058
1058
  field: string;
1059
1059
  field_source: 'ethereum_calldata';
1060
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1060
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1061
1061
  value: string | Array<string>;
1062
1062
  }
1063
1063
  /**
@@ -1066,7 +1066,7 @@ export declare namespace PolicyUpdateParams {
1066
1066
  interface EthereumTypedDataDomainCondition {
1067
1067
  field: 'chainId' | 'verifyingContract';
1068
1068
  field_source: 'ethereum_typed_data_domain';
1069
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1069
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1070
1070
  value: string | Array<string>;
1071
1071
  }
1072
1072
  /**
@@ -1076,7 +1076,7 @@ export declare namespace PolicyUpdateParams {
1076
1076
  interface EthereumTypedDataMessageCondition {
1077
1077
  field: string;
1078
1078
  field_source: 'ethereum_typed_data_message';
1079
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1079
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1080
1080
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1081
1081
  value: string | Array<string>;
1082
1082
  }
@@ -1100,7 +1100,7 @@ export declare namespace PolicyUpdateParams {
1100
1100
  interface Ethereum7702AuthorizationCondition {
1101
1101
  field: 'contract';
1102
1102
  field_source: 'ethereum_7702_authorization';
1103
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1103
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1104
1104
  value: string | Array<string>;
1105
1105
  }
1106
1106
  /**
@@ -1109,7 +1109,7 @@ export declare namespace PolicyUpdateParams {
1109
1109
  interface SolanaProgramInstructionCondition {
1110
1110
  field: 'programId';
1111
1111
  field_source: 'solana_program_instruction';
1112
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1112
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1113
1113
  value: string | Array<string>;
1114
1114
  }
1115
1115
  /**
@@ -1119,7 +1119,7 @@ export declare namespace PolicyUpdateParams {
1119
1119
  interface SolanaSystemProgramInstructionCondition {
1120
1120
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
1121
1121
  field_source: 'solana_system_program_instruction';
1122
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1122
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1123
1123
  value: string | Array<string>;
1124
1124
  }
1125
1125
  /**
@@ -1129,7 +1129,7 @@ export declare namespace PolicyUpdateParams {
1129
1129
  interface SolanaTokenProgramInstructionCondition {
1130
1130
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
1131
1131
  field_source: 'solana_token_program_instruction';
1132
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1132
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1133
1133
  value: string | Array<string>;
1134
1134
  }
1135
1135
  /**
@@ -1138,7 +1138,7 @@ export declare namespace PolicyUpdateParams {
1138
1138
  interface SystemCondition {
1139
1139
  field: 'current_unix_timestamp';
1140
1140
  field_source: 'system';
1141
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1141
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1142
1142
  value: string | Array<string>;
1143
1143
  }
1144
1144
  }
@@ -1178,7 +1178,7 @@ export declare namespace PolicyUpdateRuleParams {
1178
1178
  interface EthereumTransactionCondition {
1179
1179
  field: 'to' | 'value';
1180
1180
  field_source: 'ethereum_transaction';
1181
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1181
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1182
1182
  value: string | Array<string>;
1183
1183
  }
1184
1184
  /**
@@ -1190,7 +1190,7 @@ export declare namespace PolicyUpdateRuleParams {
1190
1190
  abi: unknown;
1191
1191
  field: string;
1192
1192
  field_source: 'ethereum_calldata';
1193
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1193
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1194
1194
  value: string | Array<string>;
1195
1195
  }
1196
1196
  /**
@@ -1199,7 +1199,7 @@ export declare namespace PolicyUpdateRuleParams {
1199
1199
  interface EthereumTypedDataDomainCondition {
1200
1200
  field: 'chainId' | 'verifyingContract';
1201
1201
  field_source: 'ethereum_typed_data_domain';
1202
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1202
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1203
1203
  value: string | Array<string>;
1204
1204
  }
1205
1205
  /**
@@ -1209,7 +1209,7 @@ export declare namespace PolicyUpdateRuleParams {
1209
1209
  interface EthereumTypedDataMessageCondition {
1210
1210
  field: string;
1211
1211
  field_source: 'ethereum_typed_data_message';
1212
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1212
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1213
1213
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1214
1214
  value: string | Array<string>;
1215
1215
  }
@@ -1233,7 +1233,7 @@ export declare namespace PolicyUpdateRuleParams {
1233
1233
  interface Ethereum7702AuthorizationCondition {
1234
1234
  field: 'contract';
1235
1235
  field_source: 'ethereum_7702_authorization';
1236
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1236
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1237
1237
  value: string | Array<string>;
1238
1238
  }
1239
1239
  /**
@@ -1242,7 +1242,7 @@ export declare namespace PolicyUpdateRuleParams {
1242
1242
  interface SolanaProgramInstructionCondition {
1243
1243
  field: 'programId';
1244
1244
  field_source: 'solana_program_instruction';
1245
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1245
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1246
1246
  value: string | Array<string>;
1247
1247
  }
1248
1248
  /**
@@ -1252,7 +1252,7 @@ export declare namespace PolicyUpdateRuleParams {
1252
1252
  interface SolanaSystemProgramInstructionCondition {
1253
1253
  field: 'instructionName' | 'Transfer.from' | 'Transfer.to' | 'Transfer.lamports';
1254
1254
  field_source: 'solana_system_program_instruction';
1255
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1255
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1256
1256
  value: string | Array<string>;
1257
1257
  }
1258
1258
  /**
@@ -1262,7 +1262,7 @@ export declare namespace PolicyUpdateRuleParams {
1262
1262
  interface SolanaTokenProgramInstructionCondition {
1263
1263
  field: 'instructionName' | 'TransferChecked.source' | 'TransferChecked.destination' | 'TransferChecked.authority' | 'TransferChecked.amount' | 'TransferChecked.mint';
1264
1264
  field_source: 'solana_token_program_instruction';
1265
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1265
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1266
1266
  value: string | Array<string>;
1267
1267
  }
1268
1268
  /**
@@ -1271,7 +1271,7 @@ export declare namespace PolicyUpdateRuleParams {
1271
1271
  interface SystemCondition {
1272
1272
  field: 'current_unix_timestamp';
1273
1273
  field_source: 'system';
1274
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1274
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1275
1275
  value: string | Array<string>;
1276
1276
  }
1277
1277
  }