@privy-io/node 0.2.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 (120) hide show
  1. package/CHANGELOG.md +57 -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/internal/to-file.d.mts +1 -1
  16. package/internal/to-file.d.ts +1 -1
  17. package/internal/to-file.js +1 -1
  18. package/internal/to-file.mjs +1 -1
  19. package/lib/identity-token.d.mts.map +1 -1
  20. package/lib/identity-token.d.ts.map +1 -1
  21. package/lib/identity-token.js +1 -0
  22. package/lib/identity-token.js.map +1 -1
  23. package/lib/identity-token.mjs +1 -0
  24. package/lib/identity-token.mjs.map +1 -1
  25. package/lib/user-utils.d.mts +5 -9
  26. package/lib/user-utils.d.mts.map +1 -1
  27. package/lib/user-utils.d.ts +5 -9
  28. package/lib/user-utils.d.ts.map +1 -1
  29. package/lib/user-utils.js.map +1 -1
  30. package/lib/user-utils.mjs.map +1 -1
  31. package/package.json +4 -3
  32. package/public-api/PrivyClient.d.mts +5 -1
  33. package/public-api/PrivyClient.d.mts.map +1 -1
  34. package/public-api/PrivyClient.d.ts +5 -1
  35. package/public-api/PrivyClient.d.ts.map +1 -1
  36. package/public-api/PrivyClient.js +6 -1
  37. package/public-api/PrivyClient.js.map +1 -1
  38. package/public-api/PrivyClient.mjs +6 -1
  39. package/public-api/PrivyClient.mjs.map +1 -1
  40. package/public-api/services/webhooks.d.mts +34 -0
  41. package/public-api/services/webhooks.d.mts.map +1 -0
  42. package/public-api/services/webhooks.d.ts +34 -0
  43. package/public-api/services/webhooks.d.ts.map +1 -0
  44. package/public-api/services/webhooks.js +48 -0
  45. package/public-api/services/webhooks.js.map +1 -0
  46. package/public-api/services/webhooks.mjs +43 -0
  47. package/public-api/services/webhooks.mjs.map +1 -0
  48. package/resources/client-auth.d.mts +24 -0
  49. package/resources/client-auth.d.mts.map +1 -0
  50. package/resources/client-auth.d.ts +24 -0
  51. package/resources/client-auth.d.ts.map +1 -0
  52. package/resources/client-auth.js +9 -0
  53. package/resources/client-auth.js.map +1 -0
  54. package/resources/client-auth.mjs +5 -0
  55. package/resources/client-auth.mjs.map +1 -0
  56. package/resources/index.d.mts +3 -2
  57. package/resources/index.d.mts.map +1 -1
  58. package/resources/index.d.ts +3 -2
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +3 -1
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +1 -0
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/policies.d.mts +76 -76
  65. package/resources/policies.d.mts.map +1 -1
  66. package/resources/policies.d.ts +76 -76
  67. package/resources/policies.d.ts.map +1 -1
  68. package/resources/policies.js +4 -4
  69. package/resources/policies.mjs +4 -4
  70. package/resources/transactions.d.mts +1 -1
  71. package/resources/transactions.d.mts.map +1 -1
  72. package/resources/transactions.d.ts +1 -1
  73. package/resources/transactions.d.ts.map +1 -1
  74. package/resources/users.d.mts +215 -98
  75. package/resources/users.d.mts.map +1 -1
  76. package/resources/users.d.ts +215 -98
  77. package/resources/users.d.ts.map +1 -1
  78. package/resources/users.js.map +1 -1
  79. package/resources/users.mjs.map +1 -1
  80. package/resources/wallets/balance.d.mts +4 -4
  81. package/resources/wallets/balance.d.mts.map +1 -1
  82. package/resources/wallets/balance.d.ts +4 -4
  83. package/resources/wallets/balance.d.ts.map +1 -1
  84. package/resources/wallets/index.d.mts +1 -1
  85. package/resources/wallets/index.d.mts.map +1 -1
  86. package/resources/wallets/index.d.ts +1 -1
  87. package/resources/wallets/index.d.ts.map +1 -1
  88. package/resources/wallets/index.js.map +1 -1
  89. package/resources/wallets/index.mjs.map +1 -1
  90. package/resources/wallets/transactions.d.mts +6 -6
  91. package/resources/wallets/transactions.d.mts.map +1 -1
  92. package/resources/wallets/transactions.d.ts +6 -6
  93. package/resources/wallets/transactions.d.ts.map +1 -1
  94. package/resources/wallets/wallets.d.mts +38 -14
  95. package/resources/wallets/wallets.d.mts.map +1 -1
  96. package/resources/wallets/wallets.d.ts +38 -14
  97. package/resources/wallets/wallets.d.ts.map +1 -1
  98. package/resources/wallets/wallets.js.map +1 -1
  99. package/resources/wallets/wallets.mjs.map +1 -1
  100. package/src/client.ts +45 -0
  101. package/src/index.ts +1 -1
  102. package/src/internal/to-file.ts +1 -1
  103. package/src/lib/identity-token.ts +22 -21
  104. package/src/lib/user-utils.ts +6 -10
  105. package/src/public-api/PrivyClient.ts +9 -0
  106. package/src/public-api/services/webhooks.ts +63 -0
  107. package/src/resources/client-auth.ts +46 -0
  108. package/src/resources/index.ts +21 -0
  109. package/src/resources/policies.ts +76 -76
  110. package/src/resources/transactions.ts +9 -1
  111. package/src/resources/users.ts +390 -184
  112. package/src/resources/wallets/balance.ts +45 -4
  113. package/src/resources/wallets/index.ts +3 -0
  114. package/src/resources/wallets/transactions.ts +48 -8
  115. package/src/resources/wallets/wallets.ts +69 -52
  116. package/src/version.ts +1 -1
  117. package/version.d.mts +1 -1
  118. package/version.d.ts +1 -1
  119. package/version.js +1 -1
  120. 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,7 +1288,7 @@ 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
  }
@@ -1368,7 +1368,7 @@ export namespace PolicyCreateRuleParams {
1368
1368
 
1369
1369
  field_source: 'ethereum_transaction';
1370
1370
 
1371
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1371
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1372
1372
 
1373
1373
  value: string | Array<string>;
1374
1374
  }
@@ -1385,7 +1385,7 @@ export namespace PolicyCreateRuleParams {
1385
1385
 
1386
1386
  field_source: 'ethereum_calldata';
1387
1387
 
1388
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1388
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1389
1389
 
1390
1390
  value: string | Array<string>;
1391
1391
  }
@@ -1398,7 +1398,7 @@ export namespace PolicyCreateRuleParams {
1398
1398
 
1399
1399
  field_source: 'ethereum_typed_data_domain';
1400
1400
 
1401
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1401
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1402
1402
 
1403
1403
  value: string | Array<string>;
1404
1404
  }
@@ -1412,7 +1412,7 @@ export namespace PolicyCreateRuleParams {
1412
1412
 
1413
1413
  field_source: 'ethereum_typed_data_message';
1414
1414
 
1415
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1415
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1416
1416
 
1417
1417
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1418
1418
 
@@ -1443,7 +1443,7 @@ export namespace PolicyCreateRuleParams {
1443
1443
 
1444
1444
  field_source: 'ethereum_7702_authorization';
1445
1445
 
1446
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1446
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1447
1447
 
1448
1448
  value: string | Array<string>;
1449
1449
  }
@@ -1456,7 +1456,7 @@ export namespace PolicyCreateRuleParams {
1456
1456
 
1457
1457
  field_source: 'solana_program_instruction';
1458
1458
 
1459
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1459
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1460
1460
 
1461
1461
  value: string | Array<string>;
1462
1462
  }
@@ -1470,7 +1470,7 @@ export namespace PolicyCreateRuleParams {
1470
1470
 
1471
1471
  field_source: 'solana_system_program_instruction';
1472
1472
 
1473
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1473
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1474
1474
 
1475
1475
  value: string | Array<string>;
1476
1476
  }
@@ -1490,7 +1490,7 @@ export namespace PolicyCreateRuleParams {
1490
1490
 
1491
1491
  field_source: 'solana_token_program_instruction';
1492
1492
 
1493
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1493
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1494
1494
 
1495
1495
  value: string | Array<string>;
1496
1496
  }
@@ -1503,7 +1503,7 @@ export namespace PolicyCreateRuleParams {
1503
1503
 
1504
1504
  field_source: 'system';
1505
1505
 
1506
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1506
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1507
1507
 
1508
1508
  value: string | Array<string>;
1509
1509
  }
@@ -1626,7 +1626,7 @@ export namespace PolicyUpdateParams {
1626
1626
 
1627
1627
  field_source: 'ethereum_transaction';
1628
1628
 
1629
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1629
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1630
1630
 
1631
1631
  value: string | Array<string>;
1632
1632
  }
@@ -1643,7 +1643,7 @@ export namespace PolicyUpdateParams {
1643
1643
 
1644
1644
  field_source: 'ethereum_calldata';
1645
1645
 
1646
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1646
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1647
1647
 
1648
1648
  value: string | Array<string>;
1649
1649
  }
@@ -1656,7 +1656,7 @@ export namespace PolicyUpdateParams {
1656
1656
 
1657
1657
  field_source: 'ethereum_typed_data_domain';
1658
1658
 
1659
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1659
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1660
1660
 
1661
1661
  value: string | Array<string>;
1662
1662
  }
@@ -1670,7 +1670,7 @@ export namespace PolicyUpdateParams {
1670
1670
 
1671
1671
  field_source: 'ethereum_typed_data_message';
1672
1672
 
1673
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1673
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1674
1674
 
1675
1675
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1676
1676
 
@@ -1701,7 +1701,7 @@ export namespace PolicyUpdateParams {
1701
1701
 
1702
1702
  field_source: 'ethereum_7702_authorization';
1703
1703
 
1704
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1704
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1705
1705
 
1706
1706
  value: string | Array<string>;
1707
1707
  }
@@ -1714,7 +1714,7 @@ export namespace PolicyUpdateParams {
1714
1714
 
1715
1715
  field_source: 'solana_program_instruction';
1716
1716
 
1717
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1717
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1718
1718
 
1719
1719
  value: string | Array<string>;
1720
1720
  }
@@ -1728,7 +1728,7 @@ export namespace PolicyUpdateParams {
1728
1728
 
1729
1729
  field_source: 'solana_system_program_instruction';
1730
1730
 
1731
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1731
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1732
1732
 
1733
1733
  value: string | Array<string>;
1734
1734
  }
@@ -1748,7 +1748,7 @@ export namespace PolicyUpdateParams {
1748
1748
 
1749
1749
  field_source: 'solana_token_program_instruction';
1750
1750
 
1751
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1751
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1752
1752
 
1753
1753
  value: string | Array<string>;
1754
1754
  }
@@ -1761,7 +1761,7 @@ export namespace PolicyUpdateParams {
1761
1761
 
1762
1762
  field_source: 'system';
1763
1763
 
1764
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1764
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1765
1765
 
1766
1766
  value: string | Array<string>;
1767
1767
  }
@@ -1829,7 +1829,7 @@ export namespace PolicyUpdateRuleParams {
1829
1829
 
1830
1830
  field_source: 'ethereum_transaction';
1831
1831
 
1832
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1832
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1833
1833
 
1834
1834
  value: string | Array<string>;
1835
1835
  }
@@ -1846,7 +1846,7 @@ export namespace PolicyUpdateRuleParams {
1846
1846
 
1847
1847
  field_source: 'ethereum_calldata';
1848
1848
 
1849
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1849
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1850
1850
 
1851
1851
  value: string | Array<string>;
1852
1852
  }
@@ -1859,7 +1859,7 @@ export namespace PolicyUpdateRuleParams {
1859
1859
 
1860
1860
  field_source: 'ethereum_typed_data_domain';
1861
1861
 
1862
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1862
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1863
1863
 
1864
1864
  value: string | Array<string>;
1865
1865
  }
@@ -1873,7 +1873,7 @@ export namespace PolicyUpdateRuleParams {
1873
1873
 
1874
1874
  field_source: 'ethereum_typed_data_message';
1875
1875
 
1876
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1876
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1877
1877
 
1878
1878
  typed_data: EthereumTypedDataMessageCondition.TypedData;
1879
1879
 
@@ -1904,7 +1904,7 @@ export namespace PolicyUpdateRuleParams {
1904
1904
 
1905
1905
  field_source: 'ethereum_7702_authorization';
1906
1906
 
1907
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1907
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1908
1908
 
1909
1909
  value: string | Array<string>;
1910
1910
  }
@@ -1917,7 +1917,7 @@ export namespace PolicyUpdateRuleParams {
1917
1917
 
1918
1918
  field_source: 'solana_program_instruction';
1919
1919
 
1920
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1920
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1921
1921
 
1922
1922
  value: string | Array<string>;
1923
1923
  }
@@ -1931,7 +1931,7 @@ export namespace PolicyUpdateRuleParams {
1931
1931
 
1932
1932
  field_source: 'solana_system_program_instruction';
1933
1933
 
1934
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1934
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1935
1935
 
1936
1936
  value: string | Array<string>;
1937
1937
  }
@@ -1951,7 +1951,7 @@ export namespace PolicyUpdateRuleParams {
1951
1951
 
1952
1952
  field_source: 'solana_token_program_instruction';
1953
1953
 
1954
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1954
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1955
1955
 
1956
1956
  value: string | Array<string>;
1957
1957
  }
@@ -1964,7 +1964,7 @@ export namespace PolicyUpdateRuleParams {
1964
1964
 
1965
1965
  field_source: 'system';
1966
1966
 
1967
- operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in';
1967
+ operator: 'eq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'in_condition_set';
1968
1968
 
1969
1969
  value: string | Array<string>;
1970
1970
  }
@@ -28,7 +28,15 @@ export interface TransactionGetResponse {
28
28
 
29
29
  created_at: number;
30
30
 
31
- status: 'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced';
31
+ status:
32
+ | 'broadcasted'
33
+ | 'confirmed'
34
+ | 'execution_reverted'
35
+ | 'failed'
36
+ | 'replaced'
37
+ | 'finalized'
38
+ | 'provider_error'
39
+ | 'pending';
32
40
 
33
41
  transaction_hash: string | null;
34
42