@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
@@ -14,7 +14,7 @@ export class Policies extends APIResource {
14
14
  * ```ts
15
15
  * const policy = await client.policies.create({
16
16
  * chain_type: 'ethereum',
17
- * name: 'name',
17
+ * name: 'x',
18
18
  * rules: [
19
19
  * {
20
20
  * action: 'ALLOW',
@@ -27,7 +27,7 @@ export class Policies extends APIResource {
27
27
  * },
28
28
  * ],
29
29
  * method: 'eth_sendTransaction',
30
- * name: 'name',
30
+ * name: 'x',
31
31
  * },
32
32
  * ],
33
33
  * version: '1.0',
@@ -64,7 +64,7 @@ export class Policies extends APIResource {
64
64
  * },
65
65
  * ],
66
66
  * method: 'eth_sendTransaction',
67
- * name: 'name',
67
+ * name: 'x',
68
68
  * },
69
69
  * );
70
70
  * ```
@@ -193,7 +193,7 @@ export class Policies extends APIResource {
193
193
  * },
194
194
  * ],
195
195
  * method: 'eth_sendTransaction',
196
- * name: 'name',
196
+ * name: 'x',
197
197
  * },
198
198
  * );
199
199
  * ```
@@ -339,7 +339,7 @@ export namespace Policy {
339
339
 
340
340
  field_source: 'ethereum_transaction';
341
341
 
342
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
342
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
343
343
 
344
344
  value: string | Array<string>;
345
345
  }
@@ -356,7 +356,7 @@ export namespace Policy {
356
356
 
357
357
  field_source: 'ethereum_calldata';
358
358
 
359
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
359
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
360
360
 
361
361
  value: string | Array<string>;
362
362
  }
@@ -369,7 +369,7 @@ export namespace Policy {
369
369
 
370
370
  field_source: 'ethereum_typed_data_domain';
371
371
 
372
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
372
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
373
373
 
374
374
  value: string | Array<string>;
375
375
  }
@@ -383,7 +383,7 @@ export namespace Policy {
383
383
 
384
384
  field_source: 'ethereum_typed_data_message';
385
385
 
386
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
386
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
387
387
 
388
388
  typed_data: EthereumTypedDataMessageCondition.TypedData;
389
389
 
@@ -414,7 +414,7 @@ export namespace Policy {
414
414
 
415
415
  field_source: 'ethereum_7702_authorization';
416
416
 
417
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
417
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
418
418
 
419
419
  value: string | Array<string>;
420
420
  }
@@ -427,7 +427,7 @@ export namespace Policy {
427
427
 
428
428
  field_source: 'solana_program_instruction';
429
429
 
430
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
430
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
431
431
 
432
432
  value: string | Array<string>;
433
433
  }
@@ -441,7 +441,7 @@ export namespace Policy {
441
441
 
442
442
  field_source: 'solana_system_program_instruction';
443
443
 
444
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
444
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
445
445
 
446
446
  value: string | Array<string>;
447
447
  }
@@ -461,7 +461,7 @@ export namespace Policy {
461
461
 
462
462
  field_source: 'solana_token_program_instruction';
463
463
 
464
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
464
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
465
465
 
466
466
  value: string | Array<string>;
467
467
  }
@@ -474,7 +474,7 @@ export namespace Policy {
474
474
 
475
475
  field_source: 'system';
476
476
 
477
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
477
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
478
478
 
479
479
  value: string | Array<string>;
480
480
  }
@@ -531,7 +531,7 @@ export namespace PolicyCreateRuleResponse {
531
531
 
532
532
  field_source: 'ethereum_transaction';
533
533
 
534
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
534
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
535
535
 
536
536
  value: string | Array<string>;
537
537
  }
@@ -548,7 +548,7 @@ export namespace PolicyCreateRuleResponse {
548
548
 
549
549
  field_source: 'ethereum_calldata';
550
550
 
551
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
551
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
552
552
 
553
553
  value: string | Array<string>;
554
554
  }
@@ -561,7 +561,7 @@ export namespace PolicyCreateRuleResponse {
561
561
 
562
562
  field_source: 'ethereum_typed_data_domain';
563
563
 
564
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
564
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
565
565
 
566
566
  value: string | Array<string>;
567
567
  }
@@ -575,7 +575,7 @@ export namespace PolicyCreateRuleResponse {
575
575
 
576
576
  field_source: 'ethereum_typed_data_message';
577
577
 
578
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
578
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
579
579
 
580
580
  typed_data: EthereumTypedDataMessageCondition.TypedData;
581
581
 
@@ -606,7 +606,7 @@ export namespace PolicyCreateRuleResponse {
606
606
 
607
607
  field_source: 'ethereum_7702_authorization';
608
608
 
609
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
609
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
610
610
 
611
611
  value: string | Array<string>;
612
612
  }
@@ -619,7 +619,7 @@ export namespace PolicyCreateRuleResponse {
619
619
 
620
620
  field_source: 'solana_program_instruction';
621
621
 
622
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
622
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
623
623
 
624
624
  value: string | Array<string>;
625
625
  }
@@ -633,7 +633,7 @@ export namespace PolicyCreateRuleResponse {
633
633
 
634
634
  field_source: 'solana_system_program_instruction';
635
635
 
636
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
636
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
637
637
 
638
638
  value: string | Array<string>;
639
639
  }
@@ -653,7 +653,7 @@ export namespace PolicyCreateRuleResponse {
653
653
 
654
654
  field_source: 'solana_token_program_instruction';
655
655
 
656
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
656
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
657
657
 
658
658
  value: string | Array<string>;
659
659
  }
@@ -666,7 +666,7 @@ export namespace PolicyCreateRuleResponse {
666
666
 
667
667
  field_source: 'system';
668
668
 
669
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
669
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
670
670
 
671
671
  value: string | Array<string>;
672
672
  }
@@ -732,7 +732,7 @@ export namespace PolicyUpdateRuleResponse {
732
732
 
733
733
  field_source: 'ethereum_transaction';
734
734
 
735
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
735
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
736
736
 
737
737
  value: string | Array<string>;
738
738
  }
@@ -749,7 +749,7 @@ export namespace PolicyUpdateRuleResponse {
749
749
 
750
750
  field_source: 'ethereum_calldata';
751
751
 
752
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
752
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
753
753
 
754
754
  value: string | Array<string>;
755
755
  }
@@ -762,7 +762,7 @@ export namespace PolicyUpdateRuleResponse {
762
762
 
763
763
  field_source: 'ethereum_typed_data_domain';
764
764
 
765
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
765
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
766
766
 
767
767
  value: string | Array<string>;
768
768
  }
@@ -776,7 +776,7 @@ export namespace PolicyUpdateRuleResponse {
776
776
 
777
777
  field_source: 'ethereum_typed_data_message';
778
778
 
779
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
779
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
780
780
 
781
781
  typed_data: EthereumTypedDataMessageCondition.TypedData;
782
782
 
@@ -807,7 +807,7 @@ export namespace PolicyUpdateRuleResponse {
807
807
 
808
808
  field_source: 'ethereum_7702_authorization';
809
809
 
810
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
810
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
811
811
 
812
812
  value: string | Array<string>;
813
813
  }
@@ -820,7 +820,7 @@ export namespace PolicyUpdateRuleResponse {
820
820
 
821
821
  field_source: 'solana_program_instruction';
822
822
 
823
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
823
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
824
824
 
825
825
  value: string | Array<string>;
826
826
  }
@@ -834,7 +834,7 @@ export namespace PolicyUpdateRuleResponse {
834
834
 
835
835
  field_source: 'solana_system_program_instruction';
836
836
 
837
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
837
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
838
838
 
839
839
  value: string | Array<string>;
840
840
  }
@@ -854,7 +854,7 @@ export namespace PolicyUpdateRuleResponse {
854
854
 
855
855
  field_source: 'solana_token_program_instruction';
856
856
 
857
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
857
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
858
858
 
859
859
  value: string | Array<string>;
860
860
  }
@@ -867,7 +867,7 @@ export namespace PolicyUpdateRuleResponse {
867
867
 
868
868
  field_source: 'system';
869
869
 
870
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
870
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
871
871
 
872
872
  value: string | Array<string>;
873
873
  }
@@ -923,7 +923,7 @@ export namespace PolicyGetRuleResponse {
923
923
 
924
924
  field_source: 'ethereum_transaction';
925
925
 
926
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
926
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
927
927
 
928
928
  value: string | Array<string>;
929
929
  }
@@ -940,7 +940,7 @@ export namespace PolicyGetRuleResponse {
940
940
 
941
941
  field_source: 'ethereum_calldata';
942
942
 
943
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
943
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
944
944
 
945
945
  value: string | Array<string>;
946
946
  }
@@ -953,7 +953,7 @@ export namespace PolicyGetRuleResponse {
953
953
 
954
954
  field_source: 'ethereum_typed_data_domain';
955
955
 
956
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
956
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
957
957
 
958
958
  value: string | Array<string>;
959
959
  }
@@ -967,7 +967,7 @@ export namespace PolicyGetRuleResponse {
967
967
 
968
968
  field_source: 'ethereum_typed_data_message';
969
969
 
970
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
970
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
971
971
 
972
972
  typed_data: EthereumTypedDataMessageCondition.TypedData;
973
973
 
@@ -998,7 +998,7 @@ export namespace PolicyGetRuleResponse {
998
998
 
999
999
  field_source: 'ethereum_7702_authorization';
1000
1000
 
1001
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1001
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1002
1002
 
1003
1003
  value: string | Array<string>;
1004
1004
  }
@@ -1011,7 +1011,7 @@ export namespace PolicyGetRuleResponse {
1011
1011
 
1012
1012
  field_source: 'solana_program_instruction';
1013
1013
 
1014
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1014
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1015
1015
 
1016
1016
  value: string | Array<string>;
1017
1017
  }
@@ -1025,7 +1025,7 @@ export namespace PolicyGetRuleResponse {
1025
1025
 
1026
1026
  field_source: 'solana_system_program_instruction';
1027
1027
 
1028
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1028
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1029
1029
 
1030
1030
  value: string | Array<string>;
1031
1031
  }
@@ -1045,7 +1045,7 @@ export namespace PolicyGetRuleResponse {
1045
1045
 
1046
1046
  field_source: 'solana_token_program_instruction';
1047
1047
 
1048
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1048
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1049
1049
 
1050
1050
  value: string | Array<string>;
1051
1051
  }
@@ -1058,7 +1058,7 @@ export namespace PolicyGetRuleResponse {
1058
1058
 
1059
1059
  field_source: 'system';
1060
1060
 
1061
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1061
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1062
1062
 
1063
1063
  value: string | Array<string>;
1064
1064
  }
@@ -1153,7 +1153,7 @@ export namespace PolicyCreateParams {
1153
1153
 
1154
1154
  field_source: 'ethereum_transaction';
1155
1155
 
1156
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1156
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1157
1157
 
1158
1158
  value: string | Array<string>;
1159
1159
  }
@@ -1170,7 +1170,7 @@ export namespace PolicyCreateParams {
1170
1170
 
1171
1171
  field_source: 'ethereum_calldata';
1172
1172
 
1173
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1173
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1174
1174
 
1175
1175
  value: string | Array<string>;
1176
1176
  }
@@ -1183,7 +1183,7 @@ export namespace PolicyCreateParams {
1183
1183
 
1184
1184
  field_source: 'ethereum_typed_data_domain';
1185
1185
 
1186
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1186
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1187
1187
 
1188
1188
  value: string | Array<string>;
1189
1189
  }
@@ -1197,7 +1197,7 @@ export namespace PolicyCreateParams {
1197
1197
 
1198
1198
  field_source: 'ethereum_typed_data_message';
1199
1199
 
1200
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1200
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1201
1201
 
1202
1202
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1203
1203
 
@@ -1228,7 +1228,7 @@ export namespace PolicyCreateParams {
1228
1228
 
1229
1229
  field_source: 'ethereum_7702_authorization';
1230
1230
 
1231
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1231
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1232
1232
 
1233
1233
  value: string | Array<string>;
1234
1234
  }
@@ -1241,7 +1241,7 @@ export namespace PolicyCreateParams {
1241
1241
 
1242
1242
  field_source: 'solana_program_instruction';
1243
1243
 
1244
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1244
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1245
1245
 
1246
1246
  value: string | Array<string>;
1247
1247
  }
@@ -1255,7 +1255,7 @@ export namespace PolicyCreateParams {
1255
1255
 
1256
1256
  field_source: 'solana_system_program_instruction';
1257
1257
 
1258
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1258
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1259
1259
 
1260
1260
  value: string | Array<string>;
1261
1261
  }
@@ -1275,7 +1275,7 @@ export namespace PolicyCreateParams {
1275
1275
 
1276
1276
  field_source: 'solana_token_program_instruction';
1277
1277
 
1278
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1278
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1279
1279
 
1280
1280
  value: string | Array<string>;
1281
1281
  }
@@ -1288,15 +1288,16 @@ export namespace PolicyCreateParams {
1288
1288
 
1289
1289
  field_source: 'system';
1290
1290
 
1291
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1291
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1292
1292
 
1293
1293
  value: string | Array<string>;
1294
1294
  }
1295
1295
  }
1296
1296
 
1297
1297
  /**
1298
- * The P-256 public key of the owner of the resource. If you provide this, do not
1299
- * specify an owner_id as it will be generated automatically.
1298
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
1299
+ * If you provide this, do not specify an owner_id as it will be generated
1300
+ * automatically.
1300
1301
  */
1301
1302
  export interface PublicKeyOwner {
1302
1303
  public_key: string;
@@ -1368,7 +1369,7 @@ export namespace PolicyCreateRuleParams {
1368
1369
 
1369
1370
  field_source: 'ethereum_transaction';
1370
1371
 
1371
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1372
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1372
1373
 
1373
1374
  value: string | Array<string>;
1374
1375
  }
@@ -1385,7 +1386,7 @@ export namespace PolicyCreateRuleParams {
1385
1386
 
1386
1387
  field_source: 'ethereum_calldata';
1387
1388
 
1388
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1389
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1389
1390
 
1390
1391
  value: string | Array<string>;
1391
1392
  }
@@ -1398,7 +1399,7 @@ export namespace PolicyCreateRuleParams {
1398
1399
 
1399
1400
  field_source: 'ethereum_typed_data_domain';
1400
1401
 
1401
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1402
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1402
1403
 
1403
1404
  value: string | Array<string>;
1404
1405
  }
@@ -1412,7 +1413,7 @@ export namespace PolicyCreateRuleParams {
1412
1413
 
1413
1414
  field_source: 'ethereum_typed_data_message';
1414
1415
 
1415
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1416
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1416
1417
 
1417
1418
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1418
1419
 
@@ -1443,7 +1444,7 @@ export namespace PolicyCreateRuleParams {
1443
1444
 
1444
1445
  field_source: 'ethereum_7702_authorization';
1445
1446
 
1446
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1447
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1447
1448
 
1448
1449
  value: string | Array<string>;
1449
1450
  }
@@ -1456,7 +1457,7 @@ export namespace PolicyCreateRuleParams {
1456
1457
 
1457
1458
  field_source: 'solana_program_instruction';
1458
1459
 
1459
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1460
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1460
1461
 
1461
1462
  value: string | Array<string>;
1462
1463
  }
@@ -1470,7 +1471,7 @@ export namespace PolicyCreateRuleParams {
1470
1471
 
1471
1472
  field_source: 'solana_system_program_instruction';
1472
1473
 
1473
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1474
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1474
1475
 
1475
1476
  value: string | Array<string>;
1476
1477
  }
@@ -1490,7 +1491,7 @@ export namespace PolicyCreateRuleParams {
1490
1491
 
1491
1492
  field_source: 'solana_token_program_instruction';
1492
1493
 
1493
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1494
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1494
1495
 
1495
1496
  value: string | Array<string>;
1496
1497
  }
@@ -1503,7 +1504,7 @@ export namespace PolicyCreateRuleParams {
1503
1504
 
1504
1505
  field_source: 'system';
1505
1506
 
1506
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1507
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1507
1508
 
1508
1509
  value: string | Array<string>;
1509
1510
  }
@@ -1563,8 +1564,9 @@ export interface PolicyUpdateParams {
1563
1564
 
1564
1565
  export namespace PolicyUpdateParams {
1565
1566
  /**
1566
- * The P-256 public key of the owner of the resource. If you provide this, do not
1567
- * specify an owner_id as it will be generated automatically.
1567
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
1568
+ * If you provide this, do not specify an owner_id as it will be generated
1569
+ * automatically.
1568
1570
  */
1569
1571
  export interface PublicKeyOwner {
1570
1572
  public_key: string;
@@ -1626,7 +1628,7 @@ export namespace PolicyUpdateParams {
1626
1628
 
1627
1629
  field_source: 'ethereum_transaction';
1628
1630
 
1629
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1631
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1630
1632
 
1631
1633
  value: string | Array<string>;
1632
1634
  }
@@ -1643,7 +1645,7 @@ export namespace PolicyUpdateParams {
1643
1645
 
1644
1646
  field_source: 'ethereum_calldata';
1645
1647
 
1646
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1648
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1647
1649
 
1648
1650
  value: string | Array<string>;
1649
1651
  }
@@ -1656,7 +1658,7 @@ export namespace PolicyUpdateParams {
1656
1658
 
1657
1659
  field_source: 'ethereum_typed_data_domain';
1658
1660
 
1659
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1661
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1660
1662
 
1661
1663
  value: string | Array<string>;
1662
1664
  }
@@ -1670,7 +1672,7 @@ export namespace PolicyUpdateParams {
1670
1672
 
1671
1673
  field_source: 'ethereum_typed_data_message';
1672
1674
 
1673
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1675
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1674
1676
 
1675
1677
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1676
1678
 
@@ -1701,7 +1703,7 @@ export namespace PolicyUpdateParams {
1701
1703
 
1702
1704
  field_source: 'ethereum_7702_authorization';
1703
1705
 
1704
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1706
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1705
1707
 
1706
1708
  value: string | Array<string>;
1707
1709
  }
@@ -1714,7 +1716,7 @@ export namespace PolicyUpdateParams {
1714
1716
 
1715
1717
  field_source: 'solana_program_instruction';
1716
1718
 
1717
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1719
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1718
1720
 
1719
1721
  value: string | Array<string>;
1720
1722
  }
@@ -1728,7 +1730,7 @@ export namespace PolicyUpdateParams {
1728
1730
 
1729
1731
  field_source: 'solana_system_program_instruction';
1730
1732
 
1731
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1733
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1732
1734
 
1733
1735
  value: string | Array<string>;
1734
1736
  }
@@ -1748,7 +1750,7 @@ export namespace PolicyUpdateParams {
1748
1750
 
1749
1751
  field_source: 'solana_token_program_instruction';
1750
1752
 
1751
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1753
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1752
1754
 
1753
1755
  value: string | Array<string>;
1754
1756
  }
@@ -1761,7 +1763,7 @@ export namespace PolicyUpdateParams {
1761
1763
 
1762
1764
  field_source: 'system';
1763
1765
 
1764
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1766
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1765
1767
 
1766
1768
  value: string | Array<string>;
1767
1769
  }
@@ -1829,7 +1831,7 @@ export namespace PolicyUpdateRuleParams {
1829
1831
 
1830
1832
  field_source: 'ethereum_transaction';
1831
1833
 
1832
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1834
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1833
1835
 
1834
1836
  value: string | Array<string>;
1835
1837
  }
@@ -1846,7 +1848,7 @@ export namespace PolicyUpdateRuleParams {
1846
1848
 
1847
1849
  field_source: 'ethereum_calldata';
1848
1850
 
1849
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1851
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1850
1852
 
1851
1853
  value: string | Array<string>;
1852
1854
  }
@@ -1859,7 +1861,7 @@ export namespace PolicyUpdateRuleParams {
1859
1861
 
1860
1862
  field_source: 'ethereum_typed_data_domain';
1861
1863
 
1862
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1864
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1863
1865
 
1864
1866
  value: string | Array<string>;
1865
1867
  }
@@ -1873,7 +1875,7 @@ export namespace PolicyUpdateRuleParams {
1873
1875
 
1874
1876
  field_source: 'ethereum_typed_data_message';
1875
1877
 
1876
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1878
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1877
1879
 
1878
1880
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1879
1881
 
@@ -1904,7 +1906,7 @@ export namespace PolicyUpdateRuleParams {
1904
1906
 
1905
1907
  field_source: 'ethereum_7702_authorization';
1906
1908
 
1907
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1909
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1908
1910
 
1909
1911
  value: string | Array<string>;
1910
1912
  }
@@ -1917,7 +1919,7 @@ export namespace PolicyUpdateRuleParams {
1917
1919
 
1918
1920
  field_source: 'solana_program_instruction';
1919
1921
 
1920
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1922
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1921
1923
 
1922
1924
  value: string | Array<string>;
1923
1925
  }
@@ -1931,7 +1933,7 @@ export namespace PolicyUpdateRuleParams {
1931
1933
 
1932
1934
  field_source: 'solana_system_program_instruction';
1933
1935
 
1934
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1936
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1935
1937
 
1936
1938
  value: string | Array<string>;
1937
1939
  }
@@ -1951,7 +1953,7 @@ export namespace PolicyUpdateRuleParams {
1951
1953
 
1952
1954
  field_source: 'solana_token_program_instruction';
1953
1955
 
1954
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1956
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1955
1957
 
1956
1958
  value: string | Array<string>;
1957
1959
  }
@@ -1964,7 +1966,7 @@ export namespace PolicyUpdateRuleParams {
1964
1966
 
1965
1967
  field_source: 'system';
1966
1968
 
1967
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1969
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1968
1970
 
1969
1971
  value: string | Array<string>;
1970
1972
  }