@coinbase/cdp-sdk 1.17.0 → 1.18.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 (29) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/_cjs/accounts/evm/resolveViemClients.js +204 -0
  3. package/_cjs/accounts/evm/resolveViemClients.js.map +1 -0
  4. package/_cjs/accounts/evm/toEvmServerAccount.js +1 -1
  5. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  6. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +32 -1
  7. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  8. package/_cjs/version.js +1 -1
  9. package/_esm/accounts/evm/resolveViemClients.js +168 -0
  10. package/_esm/accounts/evm/resolveViemClients.js.map +1 -0
  11. package/_esm/accounts/evm/toEvmServerAccount.js +1 -1
  12. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  13. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +32 -1
  14. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  15. package/_esm/version.js +1 -1
  16. package/_types/accounts/evm/resolveViemClients.d.ts +47 -0
  17. package/_types/accounts/evm/resolveViemClients.d.ts.map +1 -0
  18. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts +1 -1
  19. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  20. package/_types/accounts/evm/types.d.ts +11 -4
  21. package/_types/accounts/evm/types.d.ts.map +1 -1
  22. package/_types/policies/schema.d.ts +96 -96
  23. package/_types/version.d.ts +1 -1
  24. package/accounts/evm/resolveViemClients.ts +215 -0
  25. package/accounts/evm/toEvmServerAccount.ts +1 -1
  26. package/accounts/evm/toNetworkScopedEvmServerAccount.ts +43 -3
  27. package/accounts/evm/types.ts +24 -6
  28. package/package.json +1 -1
  29. package/version.ts +1 -1
@@ -191,12 +191,12 @@ export declare const EvmDataParameterConditionSchema: z.ZodObject<{
191
191
  */
192
192
  value: z.ZodString;
193
193
  }, "strip", z.ZodTypeAny, {
194
- name: string;
195
194
  value: string;
195
+ name: string;
196
196
  operator: ">" | ">=" | "<" | "<=" | "==";
197
197
  }, {
198
- name: string;
199
198
  value: string;
199
+ name: string;
200
200
  operator: ">" | ">=" | "<" | "<=" | "==";
201
201
  }>;
202
202
  export type EvmDataParameterCondition = z.infer<typeof EvmDataParameterConditionSchema>;
@@ -231,12 +231,12 @@ export declare const EvmDataConditionSchema: z.ZodObject<{
231
231
  */
232
232
  value: z.ZodString;
233
233
  }, "strip", z.ZodTypeAny, {
234
- name: string;
235
234
  value: string;
235
+ name: string;
236
236
  operator: ">" | ">=" | "<" | "<=" | "==";
237
237
  }, {
238
- name: string;
239
238
  value: string;
239
+ name: string;
240
240
  operator: ">" | ">=" | "<" | "<=" | "==";
241
241
  }>, z.ZodObject<{
242
242
  /**
@@ -271,8 +271,8 @@ export declare const EvmDataConditionSchema: z.ZodObject<{
271
271
  name: string;
272
272
  operator: "in" | "not in";
273
273
  } | {
274
- name: string;
275
274
  value: string;
275
+ name: string;
276
276
  operator: ">" | ">=" | "<" | "<=" | "==";
277
277
  })[] | undefined;
278
278
  }, {
@@ -282,8 +282,8 @@ export declare const EvmDataConditionSchema: z.ZodObject<{
282
282
  name: string;
283
283
  operator: "in" | "not in";
284
284
  } | {
285
- name: string;
286
285
  value: string;
286
+ name: string;
287
287
  operator: ">" | ">=" | "<" | "<=" | "==";
288
288
  })[] | undefined;
289
289
  }>;
@@ -439,12 +439,12 @@ export declare const EvmDataCriterionSchema: z.ZodObject<{
439
439
  */
440
440
  value: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
- name: string;
443
442
  value: string;
443
+ name: string;
444
444
  operator: ">" | ">=" | "<" | "<=" | "==";
445
445
  }, {
446
- name: string;
447
446
  value: string;
447
+ name: string;
448
448
  operator: ">" | ">=" | "<" | "<=" | "==";
449
449
  }>, z.ZodObject<{
450
450
  /**
@@ -479,8 +479,8 @@ export declare const EvmDataCriterionSchema: z.ZodObject<{
479
479
  name: string;
480
480
  operator: "in" | "not in";
481
481
  } | {
482
- name: string;
483
482
  value: string;
483
+ name: string;
484
484
  operator: ">" | ">=" | "<" | "<=" | "==";
485
485
  })[] | undefined;
486
486
  }, {
@@ -490,8 +490,8 @@ export declare const EvmDataCriterionSchema: z.ZodObject<{
490
490
  name: string;
491
491
  operator: "in" | "not in";
492
492
  } | {
493
- name: string;
494
493
  value: string;
494
+ name: string;
495
495
  operator: ">" | ">=" | "<" | "<=" | "==";
496
496
  })[] | undefined;
497
497
  }>, "many">;
@@ -535,8 +535,8 @@ export declare const EvmDataCriterionSchema: z.ZodObject<{
535
535
  name: string;
536
536
  operator: "in" | "not in";
537
537
  } | {
538
- name: string;
539
538
  value: string;
539
+ name: string;
540
540
  operator: ">" | ">=" | "<" | "<=" | "==";
541
541
  })[] | undefined;
542
542
  }[];
@@ -550,8 +550,8 @@ export declare const EvmDataCriterionSchema: z.ZodObject<{
550
550
  name: string;
551
551
  operator: "in" | "not in";
552
552
  } | {
553
- name: string;
554
553
  value: string;
554
+ name: string;
555
555
  operator: ">" | ">=" | "<" | "<=" | "==";
556
556
  })[] | undefined;
557
557
  }[];
@@ -776,12 +776,12 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
776
776
  */
777
777
  value: z.ZodString;
778
778
  }, "strip", z.ZodTypeAny, {
779
- name: string;
780
779
  value: string;
780
+ name: string;
781
781
  operator: ">" | ">=" | "<" | "<=" | "==";
782
782
  }, {
783
- name: string;
784
783
  value: string;
784
+ name: string;
785
785
  operator: ">" | ">=" | "<" | "<=" | "==";
786
786
  }>, z.ZodObject<{
787
787
  /**
@@ -816,8 +816,8 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
816
816
  name: string;
817
817
  operator: "in" | "not in";
818
818
  } | {
819
- name: string;
820
819
  value: string;
820
+ name: string;
821
821
  operator: ">" | ">=" | "<" | "<=" | "==";
822
822
  })[] | undefined;
823
823
  }, {
@@ -827,8 +827,8 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
827
827
  name: string;
828
828
  operator: "in" | "not in";
829
829
  } | {
830
- name: string;
831
830
  value: string;
831
+ name: string;
832
832
  operator: ">" | ">=" | "<" | "<=" | "==";
833
833
  })[] | undefined;
834
834
  }>, "many">;
@@ -872,8 +872,8 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
872
872
  name: string;
873
873
  operator: "in" | "not in";
874
874
  } | {
875
- name: string;
876
875
  value: string;
876
+ name: string;
877
877
  operator: ">" | ">=" | "<" | "<=" | "==";
878
878
  })[] | undefined;
879
879
  }[];
@@ -887,8 +887,8 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
887
887
  name: string;
888
888
  operator: "in" | "not in";
889
889
  } | {
890
- name: string;
891
890
  value: string;
891
+ name: string;
892
892
  operator: ">" | ">=" | "<" | "<=" | "==";
893
893
  })[] | undefined;
894
894
  }[];
@@ -1135,12 +1135,12 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1135
1135
  */
1136
1136
  value: z.ZodString;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
- name: string;
1139
1138
  value: string;
1139
+ name: string;
1140
1140
  operator: ">" | ">=" | "<" | "<=" | "==";
1141
1141
  }, {
1142
- name: string;
1143
1142
  value: string;
1143
+ name: string;
1144
1144
  operator: ">" | ">=" | "<" | "<=" | "==";
1145
1145
  }>, z.ZodObject<{
1146
1146
  /**
@@ -1175,8 +1175,8 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1175
1175
  name: string;
1176
1176
  operator: "in" | "not in";
1177
1177
  } | {
1178
- name: string;
1179
1178
  value: string;
1179
+ name: string;
1180
1180
  operator: ">" | ">=" | "<" | "<=" | "==";
1181
1181
  })[] | undefined;
1182
1182
  }, {
@@ -1186,8 +1186,8 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1186
1186
  name: string;
1187
1187
  operator: "in" | "not in";
1188
1188
  } | {
1189
- name: string;
1190
1189
  value: string;
1190
+ name: string;
1191
1191
  operator: ">" | ">=" | "<" | "<=" | "==";
1192
1192
  })[] | undefined;
1193
1193
  }>, "many">;
@@ -1231,8 +1231,8 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1231
1231
  name: string;
1232
1232
  operator: "in" | "not in";
1233
1233
  } | {
1234
- name: string;
1235
1234
  value: string;
1235
+ name: string;
1236
1236
  operator: ">" | ">=" | "<" | "<=" | "==";
1237
1237
  })[] | undefined;
1238
1238
  }[];
@@ -1246,8 +1246,8 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1246
1246
  name: string;
1247
1247
  operator: "in" | "not in";
1248
1248
  } | {
1249
- name: string;
1250
1249
  value: string;
1250
+ name: string;
1251
1251
  operator: ">" | ">=" | "<" | "<=" | "==";
1252
1252
  })[] | undefined;
1253
1253
  }[];
@@ -1519,12 +1519,12 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1519
1519
  */
1520
1520
  value: z.ZodString;
1521
1521
  }, "strip", z.ZodTypeAny, {
1522
- name: string;
1523
1522
  value: string;
1523
+ name: string;
1524
1524
  operator: ">" | ">=" | "<" | "<=" | "==";
1525
1525
  }, {
1526
- name: string;
1527
1526
  value: string;
1527
+ name: string;
1528
1528
  operator: ">" | ">=" | "<" | "<=" | "==";
1529
1529
  }>, z.ZodObject<{
1530
1530
  /**
@@ -1559,8 +1559,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1559
1559
  name: string;
1560
1560
  operator: "in" | "not in";
1561
1561
  } | {
1562
- name: string;
1563
1562
  value: string;
1563
+ name: string;
1564
1564
  operator: ">" | ">=" | "<" | "<=" | "==";
1565
1565
  })[] | undefined;
1566
1566
  }, {
@@ -1570,8 +1570,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1570
1570
  name: string;
1571
1571
  operator: "in" | "not in";
1572
1572
  } | {
1573
- name: string;
1574
1573
  value: string;
1574
+ name: string;
1575
1575
  operator: ">" | ">=" | "<" | "<=" | "==";
1576
1576
  })[] | undefined;
1577
1577
  }>, "many">;
@@ -1615,8 +1615,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1615
1615
  name: string;
1616
1616
  operator: "in" | "not in";
1617
1617
  } | {
1618
- name: string;
1619
1618
  value: string;
1619
+ name: string;
1620
1620
  operator: ">" | ">=" | "<" | "<=" | "==";
1621
1621
  })[] | undefined;
1622
1622
  }[];
@@ -1630,8 +1630,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1630
1630
  name: string;
1631
1631
  operator: "in" | "not in";
1632
1632
  } | {
1633
- name: string;
1634
1633
  value: string;
1634
+ name: string;
1635
1635
  operator: ">" | ">=" | "<" | "<=" | "==";
1636
1636
  })[] | undefined;
1637
1637
  }[];
@@ -1687,8 +1687,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1687
1687
  name: string;
1688
1688
  operator: "in" | "not in";
1689
1689
  } | {
1690
- name: string;
1691
1690
  value: string;
1691
+ name: string;
1692
1692
  operator: ">" | ">=" | "<" | "<=" | "==";
1693
1693
  })[] | undefined;
1694
1694
  }[];
@@ -1714,8 +1714,8 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
1714
1714
  name: string;
1715
1715
  operator: "in" | "not in";
1716
1716
  } | {
1717
- name: string;
1718
1717
  value: string;
1718
+ name: string;
1719
1719
  operator: ">" | ">=" | "<" | "<=" | "==";
1720
1720
  })[] | undefined;
1721
1721
  }[];
@@ -2025,12 +2025,12 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2025
2025
  */
2026
2026
  value: z.ZodString;
2027
2027
  }, "strip", z.ZodTypeAny, {
2028
- name: string;
2029
2028
  value: string;
2029
+ name: string;
2030
2030
  operator: ">" | ">=" | "<" | "<=" | "==";
2031
2031
  }, {
2032
- name: string;
2033
2032
  value: string;
2033
+ name: string;
2034
2034
  operator: ">" | ">=" | "<" | "<=" | "==";
2035
2035
  }>, z.ZodObject<{
2036
2036
  /**
@@ -2065,8 +2065,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2065
2065
  name: string;
2066
2066
  operator: "in" | "not in";
2067
2067
  } | {
2068
- name: string;
2069
2068
  value: string;
2069
+ name: string;
2070
2070
  operator: ">" | ">=" | "<" | "<=" | "==";
2071
2071
  })[] | undefined;
2072
2072
  }, {
@@ -2076,8 +2076,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2076
2076
  name: string;
2077
2077
  operator: "in" | "not in";
2078
2078
  } | {
2079
- name: string;
2080
2079
  value: string;
2080
+ name: string;
2081
2081
  operator: ">" | ">=" | "<" | "<=" | "==";
2082
2082
  })[] | undefined;
2083
2083
  }>, "many">;
@@ -2121,8 +2121,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2121
2121
  name: string;
2122
2122
  operator: "in" | "not in";
2123
2123
  } | {
2124
- name: string;
2125
2124
  value: string;
2125
+ name: string;
2126
2126
  operator: ">" | ">=" | "<" | "<=" | "==";
2127
2127
  })[] | undefined;
2128
2128
  }[];
@@ -2136,8 +2136,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2136
2136
  name: string;
2137
2137
  operator: "in" | "not in";
2138
2138
  } | {
2139
- name: string;
2140
2139
  value: string;
2140
+ name: string;
2141
2141
  operator: ">" | ">=" | "<" | "<=" | "==";
2142
2142
  })[] | undefined;
2143
2143
  }[];
@@ -2197,8 +2197,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2197
2197
  name: string;
2198
2198
  operator: "in" | "not in";
2199
2199
  } | {
2200
- name: string;
2201
2200
  value: string;
2201
+ name: string;
2202
2202
  operator: ">" | ">=" | "<" | "<=" | "==";
2203
2203
  })[] | undefined;
2204
2204
  }[];
@@ -2228,8 +2228,8 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
2228
2228
  name: string;
2229
2229
  operator: "in" | "not in";
2230
2230
  } | {
2231
- name: string;
2232
2231
  value: string;
2232
+ name: string;
2233
2233
  operator: ">" | ">=" | "<" | "<=" | "==";
2234
2234
  })[] | undefined;
2235
2235
  }[];
@@ -2503,12 +2503,12 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2503
2503
  */
2504
2504
  value: z.ZodString;
2505
2505
  }, "strip", z.ZodTypeAny, {
2506
- name: string;
2507
2506
  value: string;
2507
+ name: string;
2508
2508
  operator: ">" | ">=" | "<" | "<=" | "==";
2509
2509
  }, {
2510
- name: string;
2511
2510
  value: string;
2511
+ name: string;
2512
2512
  operator: ">" | ">=" | "<" | "<=" | "==";
2513
2513
  }>, z.ZodObject<{
2514
2514
  /**
@@ -2543,8 +2543,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2543
2543
  name: string;
2544
2544
  operator: "in" | "not in";
2545
2545
  } | {
2546
- name: string;
2547
2546
  value: string;
2547
+ name: string;
2548
2548
  operator: ">" | ">=" | "<" | "<=" | "==";
2549
2549
  })[] | undefined;
2550
2550
  }, {
@@ -2554,8 +2554,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2554
2554
  name: string;
2555
2555
  operator: "in" | "not in";
2556
2556
  } | {
2557
- name: string;
2558
2557
  value: string;
2558
+ name: string;
2559
2559
  operator: ">" | ">=" | "<" | "<=" | "==";
2560
2560
  })[] | undefined;
2561
2561
  }>, "many">;
@@ -2599,8 +2599,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2599
2599
  name: string;
2600
2600
  operator: "in" | "not in";
2601
2601
  } | {
2602
- name: string;
2603
2602
  value: string;
2603
+ name: string;
2604
2604
  operator: ">" | ">=" | "<" | "<=" | "==";
2605
2605
  })[] | undefined;
2606
2606
  }[];
@@ -2614,8 +2614,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2614
2614
  name: string;
2615
2615
  operator: "in" | "not in";
2616
2616
  } | {
2617
- name: string;
2618
2617
  value: string;
2618
+ name: string;
2619
2619
  operator: ">" | ">=" | "<" | "<=" | "==";
2620
2620
  })[] | undefined;
2621
2621
  }[];
@@ -2671,8 +2671,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2671
2671
  name: string;
2672
2672
  operator: "in" | "not in";
2673
2673
  } | {
2674
- name: string;
2675
2674
  value: string;
2675
+ name: string;
2676
2676
  operator: ">" | ">=" | "<" | "<=" | "==";
2677
2677
  })[] | undefined;
2678
2678
  }[];
@@ -2698,8 +2698,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2698
2698
  name: string;
2699
2699
  operator: "in" | "not in";
2700
2700
  } | {
2701
- name: string;
2702
2701
  value: string;
2702
+ name: string;
2703
2703
  operator: ">" | ">=" | "<" | "<=" | "==";
2704
2704
  })[] | undefined;
2705
2705
  }[];
@@ -2991,12 +2991,12 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2991
2991
  */
2992
2992
  value: z.ZodString;
2993
2993
  }, "strip", z.ZodTypeAny, {
2994
- name: string;
2995
2994
  value: string;
2995
+ name: string;
2996
2996
  operator: ">" | ">=" | "<" | "<=" | "==";
2997
2997
  }, {
2998
- name: string;
2999
2998
  value: string;
2999
+ name: string;
3000
3000
  operator: ">" | ">=" | "<" | "<=" | "==";
3001
3001
  }>, z.ZodObject<{
3002
3002
  /**
@@ -3031,8 +3031,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3031
3031
  name: string;
3032
3032
  operator: "in" | "not in";
3033
3033
  } | {
3034
- name: string;
3035
3034
  value: string;
3035
+ name: string;
3036
3036
  operator: ">" | ">=" | "<" | "<=" | "==";
3037
3037
  })[] | undefined;
3038
3038
  }, {
@@ -3042,8 +3042,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3042
3042
  name: string;
3043
3043
  operator: "in" | "not in";
3044
3044
  } | {
3045
- name: string;
3046
3045
  value: string;
3046
+ name: string;
3047
3047
  operator: ">" | ">=" | "<" | "<=" | "==";
3048
3048
  })[] | undefined;
3049
3049
  }>, "many">;
@@ -3087,8 +3087,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3087
3087
  name: string;
3088
3088
  operator: "in" | "not in";
3089
3089
  } | {
3090
- name: string;
3091
3090
  value: string;
3091
+ name: string;
3092
3092
  operator: ">" | ">=" | "<" | "<=" | "==";
3093
3093
  })[] | undefined;
3094
3094
  }[];
@@ -3102,8 +3102,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3102
3102
  name: string;
3103
3103
  operator: "in" | "not in";
3104
3104
  } | {
3105
- name: string;
3106
3105
  value: string;
3106
+ name: string;
3107
3107
  operator: ">" | ">=" | "<" | "<=" | "==";
3108
3108
  })[] | undefined;
3109
3109
  }[];
@@ -3163,8 +3163,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3163
3163
  name: string;
3164
3164
  operator: "in" | "not in";
3165
3165
  } | {
3166
- name: string;
3167
3166
  value: string;
3167
+ name: string;
3168
3168
  operator: ">" | ">=" | "<" | "<=" | "==";
3169
3169
  })[] | undefined;
3170
3170
  }[];
@@ -3194,8 +3194,8 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3194
3194
  name: string;
3195
3195
  operator: "in" | "not in";
3196
3196
  } | {
3197
- name: string;
3198
3197
  value: string;
3198
+ name: string;
3199
3199
  operator: ">" | ">=" | "<" | "<=" | "==";
3200
3200
  })[] | undefined;
3201
3201
  }[];
@@ -3491,12 +3491,12 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3491
3491
  */
3492
3492
  value: z.ZodString;
3493
3493
  }, "strip", z.ZodTypeAny, {
3494
- name: string;
3495
3494
  value: string;
3495
+ name: string;
3496
3496
  operator: ">" | ">=" | "<" | "<=" | "==";
3497
3497
  }, {
3498
- name: string;
3499
3498
  value: string;
3499
+ name: string;
3500
3500
  operator: ">" | ">=" | "<" | "<=" | "==";
3501
3501
  }>, z.ZodObject<{
3502
3502
  /**
@@ -3531,8 +3531,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3531
3531
  name: string;
3532
3532
  operator: "in" | "not in";
3533
3533
  } | {
3534
- name: string;
3535
3534
  value: string;
3535
+ name: string;
3536
3536
  operator: ">" | ">=" | "<" | "<=" | "==";
3537
3537
  })[] | undefined;
3538
3538
  }, {
@@ -3542,8 +3542,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3542
3542
  name: string;
3543
3543
  operator: "in" | "not in";
3544
3544
  } | {
3545
- name: string;
3546
3545
  value: string;
3546
+ name: string;
3547
3547
  operator: ">" | ">=" | "<" | "<=" | "==";
3548
3548
  })[] | undefined;
3549
3549
  }>, "many">;
@@ -3587,8 +3587,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3587
3587
  name: string;
3588
3588
  operator: "in" | "not in";
3589
3589
  } | {
3590
- name: string;
3591
3590
  value: string;
3591
+ name: string;
3592
3592
  operator: ">" | ">=" | "<" | "<=" | "==";
3593
3593
  })[] | undefined;
3594
3594
  }[];
@@ -3602,8 +3602,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3602
3602
  name: string;
3603
3603
  operator: "in" | "not in";
3604
3604
  } | {
3605
- name: string;
3606
3605
  value: string;
3606
+ name: string;
3607
3607
  operator: ">" | ">=" | "<" | "<=" | "==";
3608
3608
  })[] | undefined;
3609
3609
  }[];
@@ -3659,8 +3659,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3659
3659
  name: string;
3660
3660
  operator: "in" | "not in";
3661
3661
  } | {
3662
- name: string;
3663
3662
  value: string;
3663
+ name: string;
3664
3664
  operator: ">" | ">=" | "<" | "<=" | "==";
3665
3665
  })[] | undefined;
3666
3666
  }[];
@@ -3686,8 +3686,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3686
3686
  name: string;
3687
3687
  operator: "in" | "not in";
3688
3688
  } | {
3689
- name: string;
3690
3689
  value: string;
3690
+ name: string;
3691
3691
  operator: ">" | ">=" | "<" | "<=" | "==";
3692
3692
  })[] | undefined;
3693
3693
  }[];
@@ -3979,12 +3979,12 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
3979
3979
  */
3980
3980
  value: z.ZodString;
3981
3981
  }, "strip", z.ZodTypeAny, {
3982
- name: string;
3983
3982
  value: string;
3983
+ name: string;
3984
3984
  operator: ">" | ">=" | "<" | "<=" | "==";
3985
3985
  }, {
3986
- name: string;
3987
3986
  value: string;
3987
+ name: string;
3988
3988
  operator: ">" | ">=" | "<" | "<=" | "==";
3989
3989
  }>, z.ZodObject<{
3990
3990
  /**
@@ -4019,8 +4019,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4019
4019
  name: string;
4020
4020
  operator: "in" | "not in";
4021
4021
  } | {
4022
- name: string;
4023
4022
  value: string;
4023
+ name: string;
4024
4024
  operator: ">" | ">=" | "<" | "<=" | "==";
4025
4025
  })[] | undefined;
4026
4026
  }, {
@@ -4030,8 +4030,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4030
4030
  name: string;
4031
4031
  operator: "in" | "not in";
4032
4032
  } | {
4033
- name: string;
4034
4033
  value: string;
4034
+ name: string;
4035
4035
  operator: ">" | ">=" | "<" | "<=" | "==";
4036
4036
  })[] | undefined;
4037
4037
  }>, "many">;
@@ -4075,8 +4075,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4075
4075
  name: string;
4076
4076
  operator: "in" | "not in";
4077
4077
  } | {
4078
- name: string;
4079
4078
  value: string;
4079
+ name: string;
4080
4080
  operator: ">" | ">=" | "<" | "<=" | "==";
4081
4081
  })[] | undefined;
4082
4082
  }[];
@@ -4090,8 +4090,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4090
4090
  name: string;
4091
4091
  operator: "in" | "not in";
4092
4092
  } | {
4093
- name: string;
4094
4093
  value: string;
4094
+ name: string;
4095
4095
  operator: ">" | ">=" | "<" | "<=" | "==";
4096
4096
  })[] | undefined;
4097
4097
  }[];
@@ -4151,8 +4151,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4151
4151
  name: string;
4152
4152
  operator: "in" | "not in";
4153
4153
  } | {
4154
- name: string;
4155
4154
  value: string;
4155
+ name: string;
4156
4156
  operator: ">" | ">=" | "<" | "<=" | "==";
4157
4157
  })[] | undefined;
4158
4158
  }[];
@@ -4182,8 +4182,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4182
4182
  name: string;
4183
4183
  operator: "in" | "not in";
4184
4184
  } | {
4185
- name: string;
4186
4185
  value: string;
4186
+ name: string;
4187
4187
  operator: ">" | ">=" | "<" | "<=" | "==";
4188
4188
  })[] | undefined;
4189
4189
  }[];
@@ -4296,8 +4296,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4296
4296
  name: string;
4297
4297
  operator: "in" | "not in";
4298
4298
  } | {
4299
- name: string;
4300
4299
  value: string;
4300
+ name: string;
4301
4301
  operator: ">" | ">=" | "<" | "<=" | "==";
4302
4302
  })[] | undefined;
4303
4303
  }[];
@@ -4367,8 +4367,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4367
4367
  name: string;
4368
4368
  operator: "in" | "not in";
4369
4369
  } | {
4370
- name: string;
4371
4370
  value: string;
4371
+ name: string;
4372
4372
  operator: ">" | ">=" | "<" | "<=" | "==";
4373
4373
  })[] | undefined;
4374
4374
  }[];
@@ -4406,8 +4406,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4406
4406
  name: string;
4407
4407
  operator: "in" | "not in";
4408
4408
  } | {
4409
- name: string;
4410
4409
  value: string;
4410
+ name: string;
4411
4411
  operator: ">" | ">=" | "<" | "<=" | "==";
4412
4412
  })[] | undefined;
4413
4413
  }[];
@@ -4447,8 +4447,8 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
4447
4447
  name: string;
4448
4448
  operator: "in" | "not in";
4449
4449
  } | {
4450
- name: string;
4451
4450
  value: string;
4451
+ name: string;
4452
4452
  operator: ">" | ">=" | "<" | "<=" | "==";
4453
4453
  })[] | undefined;
4454
4454
  }[];
@@ -4683,12 +4683,12 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4683
4683
  */
4684
4684
  value: z.ZodString;
4685
4685
  }, "strip", z.ZodTypeAny, {
4686
- name: string;
4687
4686
  value: string;
4687
+ name: string;
4688
4688
  operator: ">" | ">=" | "<" | "<=" | "==";
4689
4689
  }, {
4690
- name: string;
4691
4690
  value: string;
4691
+ name: string;
4692
4692
  operator: ">" | ">=" | "<" | "<=" | "==";
4693
4693
  }>, z.ZodObject<{
4694
4694
  /**
@@ -4723,8 +4723,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4723
4723
  name: string;
4724
4724
  operator: "in" | "not in";
4725
4725
  } | {
4726
- name: string;
4727
4726
  value: string;
4727
+ name: string;
4728
4728
  operator: ">" | ">=" | "<" | "<=" | "==";
4729
4729
  })[] | undefined;
4730
4730
  }, {
@@ -4734,8 +4734,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4734
4734
  name: string;
4735
4735
  operator: "in" | "not in";
4736
4736
  } | {
4737
- name: string;
4738
4737
  value: string;
4738
+ name: string;
4739
4739
  operator: ">" | ">=" | "<" | "<=" | "==";
4740
4740
  })[] | undefined;
4741
4741
  }>, "many">;
@@ -4779,8 +4779,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4779
4779
  name: string;
4780
4780
  operator: "in" | "not in";
4781
4781
  } | {
4782
- name: string;
4783
4782
  value: string;
4783
+ name: string;
4784
4784
  operator: ">" | ">=" | "<" | "<=" | "==";
4785
4785
  })[] | undefined;
4786
4786
  }[];
@@ -4794,8 +4794,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4794
4794
  name: string;
4795
4795
  operator: "in" | "not in";
4796
4796
  } | {
4797
- name: string;
4798
4797
  value: string;
4798
+ name: string;
4799
4799
  operator: ">" | ">=" | "<" | "<=" | "==";
4800
4800
  })[] | undefined;
4801
4801
  }[];
@@ -4851,8 +4851,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4851
4851
  name: string;
4852
4852
  operator: "in" | "not in";
4853
4853
  } | {
4854
- name: string;
4855
4854
  value: string;
4855
+ name: string;
4856
4856
  operator: ">" | ">=" | "<" | "<=" | "==";
4857
4857
  })[] | undefined;
4858
4858
  }[];
@@ -4878,8 +4878,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
4878
4878
  name: string;
4879
4879
  operator: "in" | "not in";
4880
4880
  } | {
4881
- name: string;
4882
4881
  value: string;
4882
+ name: string;
4883
4883
  operator: ">" | ">=" | "<" | "<=" | "==";
4884
4884
  })[] | undefined;
4885
4885
  }[];
@@ -5171,12 +5171,12 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5171
5171
  */
5172
5172
  value: z.ZodString;
5173
5173
  }, "strip", z.ZodTypeAny, {
5174
- name: string;
5175
5174
  value: string;
5175
+ name: string;
5176
5176
  operator: ">" | ">=" | "<" | "<=" | "==";
5177
5177
  }, {
5178
- name: string;
5179
5178
  value: string;
5179
+ name: string;
5180
5180
  operator: ">" | ">=" | "<" | "<=" | "==";
5181
5181
  }>, z.ZodObject<{
5182
5182
  /**
@@ -5211,8 +5211,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5211
5211
  name: string;
5212
5212
  operator: "in" | "not in";
5213
5213
  } | {
5214
- name: string;
5215
5214
  value: string;
5215
+ name: string;
5216
5216
  operator: ">" | ">=" | "<" | "<=" | "==";
5217
5217
  })[] | undefined;
5218
5218
  }, {
@@ -5222,8 +5222,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5222
5222
  name: string;
5223
5223
  operator: "in" | "not in";
5224
5224
  } | {
5225
- name: string;
5226
5225
  value: string;
5226
+ name: string;
5227
5227
  operator: ">" | ">=" | "<" | "<=" | "==";
5228
5228
  })[] | undefined;
5229
5229
  }>, "many">;
@@ -5267,8 +5267,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5267
5267
  name: string;
5268
5268
  operator: "in" | "not in";
5269
5269
  } | {
5270
- name: string;
5271
5270
  value: string;
5271
+ name: string;
5272
5272
  operator: ">" | ">=" | "<" | "<=" | "==";
5273
5273
  })[] | undefined;
5274
5274
  }[];
@@ -5282,8 +5282,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5282
5282
  name: string;
5283
5283
  operator: "in" | "not in";
5284
5284
  } | {
5285
- name: string;
5286
5285
  value: string;
5286
+ name: string;
5287
5287
  operator: ">" | ">=" | "<" | "<=" | "==";
5288
5288
  })[] | undefined;
5289
5289
  }[];
@@ -5343,8 +5343,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5343
5343
  name: string;
5344
5344
  operator: "in" | "not in";
5345
5345
  } | {
5346
- name: string;
5347
5346
  value: string;
5347
+ name: string;
5348
5348
  operator: ">" | ">=" | "<" | "<=" | "==";
5349
5349
  })[] | undefined;
5350
5350
  }[];
@@ -5374,8 +5374,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5374
5374
  name: string;
5375
5375
  operator: "in" | "not in";
5376
5376
  } | {
5377
- name: string;
5378
5377
  value: string;
5378
+ name: string;
5379
5379
  operator: ">" | ">=" | "<" | "<=" | "==";
5380
5380
  })[] | undefined;
5381
5381
  }[];
@@ -5487,8 +5487,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5487
5487
  name: string;
5488
5488
  operator: "in" | "not in";
5489
5489
  } | {
5490
- name: string;
5491
5490
  value: string;
5491
+ name: string;
5492
5492
  operator: ">" | ">=" | "<" | "<=" | "==";
5493
5493
  })[] | undefined;
5494
5494
  }[];
@@ -5558,8 +5558,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5558
5558
  name: string;
5559
5559
  operator: "in" | "not in";
5560
5560
  } | {
5561
- name: string;
5562
5561
  value: string;
5562
+ name: string;
5563
5563
  operator: ">" | ">=" | "<" | "<=" | "==";
5564
5564
  })[] | undefined;
5565
5565
  }[];
@@ -5596,8 +5596,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5596
5596
  name: string;
5597
5597
  operator: "in" | "not in";
5598
5598
  } | {
5599
- name: string;
5600
5599
  value: string;
5600
+ name: string;
5601
5601
  operator: ">" | ">=" | "<" | "<=" | "==";
5602
5602
  })[] | undefined;
5603
5603
  }[];
@@ -5637,8 +5637,8 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
5637
5637
  name: string;
5638
5638
  operator: "in" | "not in";
5639
5639
  } | {
5640
- name: string;
5641
5640
  value: string;
5641
+ name: string;
5642
5642
  operator: ">" | ">=" | "<" | "<=" | "==";
5643
5643
  })[] | undefined;
5644
5644
  }[];