@dhaneshpurohit/mockstar 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 (42) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +43 -4
  3. package/dist/cli.js +1214 -875
  4. package/dist/core/config/schema.d.ts +197 -165
  5. package/dist/core/config/schema.d.ts.map +1 -1
  6. package/dist/core/http/body-cap.d.ts +37 -0
  7. package/dist/core/http/body-cap.d.ts.map +1 -0
  8. package/dist/core/http/rate-limit.d.ts +55 -0
  9. package/dist/core/http/rate-limit.d.ts.map +1 -0
  10. package/dist/core/matching/discriminators.d.ts +25 -0
  11. package/dist/core/matching/discriminators.d.ts.map +1 -1
  12. package/dist/core/matching/index.d.ts +3 -1
  13. package/dist/core/matching/index.d.ts.map +1 -1
  14. package/dist/features/openapi/converter.d.ts.map +1 -1
  15. package/dist/features/pass-through.d.ts +7 -0
  16. package/dist/features/pass-through.d.ts.map +1 -1
  17. package/dist/features/proxy/cli.d.ts +11 -0
  18. package/dist/features/proxy/cli.d.ts.map +1 -1
  19. package/dist/features/proxy/dns.d.ts +21 -3
  20. package/dist/features/proxy/dns.d.ts.map +1 -1
  21. package/dist/features/proxy/index.d.ts +1 -1
  22. package/dist/features/proxy/index.d.ts.map +1 -1
  23. package/dist/features/proxy/port-bind.d.ts +18 -1
  24. package/dist/features/proxy/port-bind.d.ts.map +1 -1
  25. package/dist/features/proxy/sni-gate.d.ts +4 -3
  26. package/dist/features/proxy/sni-gate.d.ts.map +1 -1
  27. package/dist/features/url-validator.d.ts +48 -0
  28. package/dist/features/url-validator.d.ts.map +1 -1
  29. package/dist/features/webhooks/event-registry.d.ts +7 -0
  30. package/dist/features/webhooks/event-registry.d.ts.map +1 -1
  31. package/dist/features/webhooks/journal.d.ts +23 -0
  32. package/dist/features/webhooks/journal.d.ts.map +1 -1
  33. package/dist/features/webhooks/queue.d.ts +18 -0
  34. package/dist/features/webhooks/queue.d.ts.map +1 -1
  35. package/dist/features/webhooks/types.d.ts +15 -2
  36. package/dist/features/webhooks/types.d.ts.map +1 -1
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +1048 -826
  39. package/dist/server.d.ts +17 -0
  40. package/dist/server.d.ts.map +1 -1
  41. package/dist/version.d.ts +1 -1
  42. package/package.json +3 -3
@@ -9,12 +9,16 @@ export declare const MatchPredicate: z.ZodObject<{
9
9
  equals: string;
10
10
  }, {
11
11
  equals: string;
12
- }>, z.ZodObject<{
12
+ }>, z.ZodEffects<z.ZodObject<{
13
13
  regex: z.ZodString;
14
14
  }, "strict", z.ZodTypeAny, {
15
15
  regex: string;
16
16
  }, {
17
17
  regex: string;
18
+ }>, {
19
+ regex: string;
20
+ }, {
21
+ regex: string;
18
22
  }>, z.ZodObject<{
19
23
  startsWith: z.ZodString;
20
24
  }, "strict", z.ZodTypeAny, {
@@ -34,12 +38,16 @@ export declare const MatchPredicate: z.ZodObject<{
34
38
  equals: string;
35
39
  }, {
36
40
  equals: string;
37
- }>, z.ZodObject<{
41
+ }>, z.ZodEffects<z.ZodObject<{
38
42
  regex: z.ZodString;
39
43
  }, "strict", z.ZodTypeAny, {
40
44
  regex: string;
41
45
  }, {
42
46
  regex: string;
47
+ }>, {
48
+ regex: string;
49
+ }, {
50
+ regex: string;
43
51
  }>, z.ZodObject<{
44
52
  startsWith: z.ZodString;
45
53
  }, "strict", z.ZodTypeAny, {
@@ -149,8 +157,8 @@ export declare const StaticResponse: z.ZodObject<{
149
157
  }, {
150
158
  kind: "static";
151
159
  body?: unknown;
152
- status?: number | undefined;
153
160
  headers?: Record<string, string> | undefined;
161
+ status?: number | undefined;
154
162
  delay?: number | {
155
163
  min: number;
156
164
  max: number;
@@ -227,8 +235,8 @@ export declare const MockResponse: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
227
235
  }, {
228
236
  kind: "static";
229
237
  body?: unknown;
230
- status?: number | undefined;
231
238
  headers?: Record<string, string> | undefined;
239
+ status?: number | undefined;
232
240
  delay?: number | {
233
241
  min: number;
234
242
  max: number;
@@ -403,7 +411,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
403
411
  } | {
404
412
  contains: string;
405
413
  }> | undefined;
406
- params?: Record<string, string | {
414
+ headers?: Record<string, string | {
407
415
  equals: string;
408
416
  } | {
409
417
  regex: string;
@@ -412,7 +420,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
412
420
  } | {
413
421
  contains: string;
414
422
  }> | undefined;
415
- headers?: Record<string, string | {
423
+ params?: Record<string, string | {
416
424
  equals: string;
417
425
  } | {
418
426
  regex: string;
@@ -440,7 +448,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
440
448
  } | {
441
449
  contains: string;
442
450
  }> | undefined;
443
- params?: Record<string, string | {
451
+ headers?: Record<string, string | {
444
452
  equals: string;
445
453
  } | {
446
454
  regex: string;
@@ -449,7 +457,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
449
457
  } | {
450
458
  contains: string;
451
459
  }> | undefined;
452
- headers?: Record<string, string | {
460
+ params?: Record<string, string | {
453
461
  equals: string;
454
462
  } | {
455
463
  regex: string;
@@ -477,7 +485,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
477
485
  } | {
478
486
  contains: string;
479
487
  }> | undefined;
480
- params?: Record<string, string | {
488
+ headers?: Record<string, string | {
481
489
  equals: string;
482
490
  } | {
483
491
  regex: string;
@@ -486,7 +494,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
486
494
  } | {
487
495
  contains: string;
488
496
  }> | undefined;
489
- headers?: Record<string, string | {
497
+ params?: Record<string, string | {
490
498
  equals: string;
491
499
  } | {
492
500
  regex: string;
@@ -514,7 +522,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
514
522
  } | {
515
523
  contains: string;
516
524
  }> | undefined;
517
- params?: Record<string, string | {
525
+ headers?: Record<string, string | {
518
526
  equals: string;
519
527
  } | {
520
528
  regex: string;
@@ -523,7 +531,7 @@ export declare const ScenarioPredicate: z.ZodEffects<z.ZodObject<{
523
531
  } | {
524
532
  contains: string;
525
533
  }> | undefined;
526
- headers?: Record<string, string | {
534
+ params?: Record<string, string | {
527
535
  equals: string;
528
536
  } | {
529
537
  regex: string;
@@ -558,32 +566,32 @@ export declare const ScenarioResponse: z.ZodEffects<z.ZodObject<{
558
566
  }>]>>;
559
567
  }, "strict", z.ZodTypeAny, {
560
568
  body?: unknown;
561
- status?: number | undefined;
562
569
  headers?: Record<string, string> | undefined;
570
+ status?: number | undefined;
563
571
  delay?: number | {
564
572
  min: number;
565
573
  max: number;
566
574
  } | undefined;
567
575
  }, {
568
576
  body?: unknown;
569
- status?: number | undefined;
570
577
  headers?: Record<string, string> | undefined;
578
+ status?: number | undefined;
571
579
  delay?: number | {
572
580
  min: number;
573
581
  max: number;
574
582
  } | undefined;
575
583
  }>, {
576
584
  body?: unknown;
577
- status?: number | undefined;
578
585
  headers?: Record<string, string> | undefined;
586
+ status?: number | undefined;
579
587
  delay?: number | {
580
588
  min: number;
581
589
  max: number;
582
590
  } | undefined;
583
591
  }, {
584
592
  body?: unknown;
585
- status?: number | undefined;
586
593
  headers?: Record<string, string> | undefined;
594
+ status?: number | undefined;
587
595
  delay?: number | {
588
596
  min: number;
589
597
  max: number;
@@ -718,7 +726,7 @@ export declare const ScenarioRule: z.ZodObject<{
718
726
  } | {
719
727
  contains: string;
720
728
  }> | undefined;
721
- params?: Record<string, string | {
729
+ headers?: Record<string, string | {
722
730
  equals: string;
723
731
  } | {
724
732
  regex: string;
@@ -727,7 +735,7 @@ export declare const ScenarioRule: z.ZodObject<{
727
735
  } | {
728
736
  contains: string;
729
737
  }> | undefined;
730
- headers?: Record<string, string | {
738
+ params?: Record<string, string | {
731
739
  equals: string;
732
740
  } | {
733
741
  regex: string;
@@ -755,7 +763,7 @@ export declare const ScenarioRule: z.ZodObject<{
755
763
  } | {
756
764
  contains: string;
757
765
  }> | undefined;
758
- params?: Record<string, string | {
766
+ headers?: Record<string, string | {
759
767
  equals: string;
760
768
  } | {
761
769
  regex: string;
@@ -764,7 +772,7 @@ export declare const ScenarioRule: z.ZodObject<{
764
772
  } | {
765
773
  contains: string;
766
774
  }> | undefined;
767
- headers?: Record<string, string | {
775
+ params?: Record<string, string | {
768
776
  equals: string;
769
777
  } | {
770
778
  regex: string;
@@ -792,7 +800,7 @@ export declare const ScenarioRule: z.ZodObject<{
792
800
  } | {
793
801
  contains: string;
794
802
  }> | undefined;
795
- params?: Record<string, string | {
803
+ headers?: Record<string, string | {
796
804
  equals: string;
797
805
  } | {
798
806
  regex: string;
@@ -801,7 +809,7 @@ export declare const ScenarioRule: z.ZodObject<{
801
809
  } | {
802
810
  contains: string;
803
811
  }> | undefined;
804
- headers?: Record<string, string | {
812
+ params?: Record<string, string | {
805
813
  equals: string;
806
814
  } | {
807
815
  regex: string;
@@ -829,7 +837,7 @@ export declare const ScenarioRule: z.ZodObject<{
829
837
  } | {
830
838
  contains: string;
831
839
  }> | undefined;
832
- params?: Record<string, string | {
840
+ headers?: Record<string, string | {
833
841
  equals: string;
834
842
  } | {
835
843
  regex: string;
@@ -838,7 +846,7 @@ export declare const ScenarioRule: z.ZodObject<{
838
846
  } | {
839
847
  contains: string;
840
848
  }> | undefined;
841
- headers?: Record<string, string | {
849
+ params?: Record<string, string | {
842
850
  equals: string;
843
851
  } | {
844
852
  regex: string;
@@ -873,32 +881,32 @@ export declare const ScenarioRule: z.ZodObject<{
873
881
  }>]>>;
874
882
  }, "strict", z.ZodTypeAny, {
875
883
  body?: unknown;
876
- status?: number | undefined;
877
884
  headers?: Record<string, string> | undefined;
885
+ status?: number | undefined;
878
886
  delay?: number | {
879
887
  min: number;
880
888
  max: number;
881
889
  } | undefined;
882
890
  }, {
883
891
  body?: unknown;
884
- status?: number | undefined;
885
892
  headers?: Record<string, string> | undefined;
893
+ status?: number | undefined;
886
894
  delay?: number | {
887
895
  min: number;
888
896
  max: number;
889
897
  } | undefined;
890
898
  }>, {
891
899
  body?: unknown;
892
- status?: number | undefined;
893
900
  headers?: Record<string, string> | undefined;
901
+ status?: number | undefined;
894
902
  delay?: number | {
895
903
  min: number;
896
904
  max: number;
897
905
  } | undefined;
898
906
  }, {
899
907
  body?: unknown;
900
- status?: number | undefined;
901
908
  headers?: Record<string, string> | undefined;
909
+ status?: number | undefined;
902
910
  delay?: number | {
903
911
  min: number;
904
912
  max: number;
@@ -908,8 +916,8 @@ export declare const ScenarioRule: z.ZodObject<{
908
916
  id: string;
909
917
  response: {
910
918
  body?: unknown;
911
- status?: number | undefined;
912
919
  headers?: Record<string, string> | undefined;
920
+ status?: number | undefined;
913
921
  delay?: number | {
914
922
  min: number;
915
923
  max: number;
@@ -925,7 +933,7 @@ export declare const ScenarioRule: z.ZodObject<{
925
933
  } | {
926
934
  contains: string;
927
935
  }> | undefined;
928
- params?: Record<string, string | {
936
+ headers?: Record<string, string | {
929
937
  equals: string;
930
938
  } | {
931
939
  regex: string;
@@ -934,7 +942,7 @@ export declare const ScenarioRule: z.ZodObject<{
934
942
  } | {
935
943
  contains: string;
936
944
  }> | undefined;
937
- headers?: Record<string, string | {
945
+ params?: Record<string, string | {
938
946
  equals: string;
939
947
  } | {
940
948
  regex: string;
@@ -957,8 +965,8 @@ export declare const ScenarioRule: z.ZodObject<{
957
965
  id: string;
958
966
  response: {
959
967
  body?: unknown;
960
- status?: number | undefined;
961
968
  headers?: Record<string, string> | undefined;
969
+ status?: number | undefined;
962
970
  delay?: number | {
963
971
  min: number;
964
972
  max: number;
@@ -974,7 +982,7 @@ export declare const ScenarioRule: z.ZodObject<{
974
982
  } | {
975
983
  contains: string;
976
984
  }> | undefined;
977
- params?: Record<string, string | {
985
+ headers?: Record<string, string | {
978
986
  equals: string;
979
987
  } | {
980
988
  regex: string;
@@ -983,7 +991,7 @@ export declare const ScenarioRule: z.ZodObject<{
983
991
  } | {
984
992
  contains: string;
985
993
  }> | undefined;
986
- headers?: Record<string, string | {
994
+ params?: Record<string, string | {
987
995
  equals: string;
988
996
  } | {
989
997
  regex: string;
@@ -1210,8 +1218,8 @@ export declare const WebhookSpec: z.ZodObject<{
1210
1218
  }, "strict", z.ZodTypeAny, {
1211
1219
  id: string;
1212
1220
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1213
- url: string;
1214
1221
  headers: Record<string, string>;
1222
+ url: string;
1215
1223
  timeoutMs: number;
1216
1224
  retry: {
1217
1225
  attempts: number;
@@ -1278,12 +1286,16 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1278
1286
  equals: string;
1279
1287
  }, {
1280
1288
  equals: string;
1281
- }>, z.ZodObject<{
1289
+ }>, z.ZodEffects<z.ZodObject<{
1282
1290
  regex: z.ZodString;
1283
1291
  }, "strict", z.ZodTypeAny, {
1284
1292
  regex: string;
1285
1293
  }, {
1286
1294
  regex: string;
1295
+ }>, {
1296
+ regex: string;
1297
+ }, {
1298
+ regex: string;
1287
1299
  }>, z.ZodObject<{
1288
1300
  startsWith: z.ZodString;
1289
1301
  }, "strict", z.ZodTypeAny, {
@@ -1303,12 +1315,16 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1303
1315
  equals: string;
1304
1316
  }, {
1305
1317
  equals: string;
1306
- }>, z.ZodObject<{
1318
+ }>, z.ZodEffects<z.ZodObject<{
1307
1319
  regex: z.ZodString;
1308
1320
  }, "strict", z.ZodTypeAny, {
1309
1321
  regex: string;
1310
1322
  }, {
1311
1323
  regex: string;
1324
+ }>, {
1325
+ regex: string;
1326
+ }, {
1327
+ regex: string;
1312
1328
  }>, z.ZodObject<{
1313
1329
  startsWith: z.ZodString;
1314
1330
  }, "strict", z.ZodTypeAny, {
@@ -1418,8 +1434,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1418
1434
  }, {
1419
1435
  kind: "static";
1420
1436
  body?: unknown;
1421
- status?: number | undefined;
1422
1437
  headers?: Record<string, string> | undefined;
1438
+ status?: number | undefined;
1423
1439
  delay?: number | {
1424
1440
  min: number;
1425
1441
  max: number;
@@ -1596,7 +1612,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1596
1612
  } | {
1597
1613
  contains: string;
1598
1614
  }> | undefined;
1599
- params?: Record<string, string | {
1615
+ headers?: Record<string, string | {
1600
1616
  equals: string;
1601
1617
  } | {
1602
1618
  regex: string;
@@ -1605,7 +1621,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1605
1621
  } | {
1606
1622
  contains: string;
1607
1623
  }> | undefined;
1608
- headers?: Record<string, string | {
1624
+ params?: Record<string, string | {
1609
1625
  equals: string;
1610
1626
  } | {
1611
1627
  regex: string;
@@ -1633,7 +1649,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1633
1649
  } | {
1634
1650
  contains: string;
1635
1651
  }> | undefined;
1636
- params?: Record<string, string | {
1652
+ headers?: Record<string, string | {
1637
1653
  equals: string;
1638
1654
  } | {
1639
1655
  regex: string;
@@ -1642,7 +1658,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1642
1658
  } | {
1643
1659
  contains: string;
1644
1660
  }> | undefined;
1645
- headers?: Record<string, string | {
1661
+ params?: Record<string, string | {
1646
1662
  equals: string;
1647
1663
  } | {
1648
1664
  regex: string;
@@ -1670,7 +1686,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1670
1686
  } | {
1671
1687
  contains: string;
1672
1688
  }> | undefined;
1673
- params?: Record<string, string | {
1689
+ headers?: Record<string, string | {
1674
1690
  equals: string;
1675
1691
  } | {
1676
1692
  regex: string;
@@ -1679,7 +1695,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1679
1695
  } | {
1680
1696
  contains: string;
1681
1697
  }> | undefined;
1682
- headers?: Record<string, string | {
1698
+ params?: Record<string, string | {
1683
1699
  equals: string;
1684
1700
  } | {
1685
1701
  regex: string;
@@ -1707,7 +1723,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1707
1723
  } | {
1708
1724
  contains: string;
1709
1725
  }> | undefined;
1710
- params?: Record<string, string | {
1726
+ headers?: Record<string, string | {
1711
1727
  equals: string;
1712
1728
  } | {
1713
1729
  regex: string;
@@ -1716,7 +1732,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1716
1732
  } | {
1717
1733
  contains: string;
1718
1734
  }> | undefined;
1719
- headers?: Record<string, string | {
1735
+ params?: Record<string, string | {
1720
1736
  equals: string;
1721
1737
  } | {
1722
1738
  regex: string;
@@ -1751,32 +1767,32 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1751
1767
  }>]>>;
1752
1768
  }, "strict", z.ZodTypeAny, {
1753
1769
  body?: unknown;
1754
- status?: number | undefined;
1755
1770
  headers?: Record<string, string> | undefined;
1771
+ status?: number | undefined;
1756
1772
  delay?: number | {
1757
1773
  min: number;
1758
1774
  max: number;
1759
1775
  } | undefined;
1760
1776
  }, {
1761
1777
  body?: unknown;
1762
- status?: number | undefined;
1763
1778
  headers?: Record<string, string> | undefined;
1779
+ status?: number | undefined;
1764
1780
  delay?: number | {
1765
1781
  min: number;
1766
1782
  max: number;
1767
1783
  } | undefined;
1768
1784
  }>, {
1769
1785
  body?: unknown;
1770
- status?: number | undefined;
1771
1786
  headers?: Record<string, string> | undefined;
1787
+ status?: number | undefined;
1772
1788
  delay?: number | {
1773
1789
  min: number;
1774
1790
  max: number;
1775
1791
  } | undefined;
1776
1792
  }, {
1777
1793
  body?: unknown;
1778
- status?: number | undefined;
1779
1794
  headers?: Record<string, string> | undefined;
1795
+ status?: number | undefined;
1780
1796
  delay?: number | {
1781
1797
  min: number;
1782
1798
  max: number;
@@ -1786,8 +1802,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1786
1802
  id: string;
1787
1803
  response: {
1788
1804
  body?: unknown;
1789
- status?: number | undefined;
1790
1805
  headers?: Record<string, string> | undefined;
1806
+ status?: number | undefined;
1791
1807
  delay?: number | {
1792
1808
  min: number;
1793
1809
  max: number;
@@ -1803,7 +1819,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1803
1819
  } | {
1804
1820
  contains: string;
1805
1821
  }> | undefined;
1806
- params?: Record<string, string | {
1822
+ headers?: Record<string, string | {
1807
1823
  equals: string;
1808
1824
  } | {
1809
1825
  regex: string;
@@ -1812,7 +1828,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1812
1828
  } | {
1813
1829
  contains: string;
1814
1830
  }> | undefined;
1815
- headers?: Record<string, string | {
1831
+ params?: Record<string, string | {
1816
1832
  equals: string;
1817
1833
  } | {
1818
1834
  regex: string;
@@ -1835,8 +1851,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1835
1851
  id: string;
1836
1852
  response: {
1837
1853
  body?: unknown;
1838
- status?: number | undefined;
1839
1854
  headers?: Record<string, string> | undefined;
1855
+ status?: number | undefined;
1840
1856
  delay?: number | {
1841
1857
  min: number;
1842
1858
  max: number;
@@ -1852,7 +1868,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1852
1868
  } | {
1853
1869
  contains: string;
1854
1870
  }> | undefined;
1855
- params?: Record<string, string | {
1871
+ headers?: Record<string, string | {
1856
1872
  equals: string;
1857
1873
  } | {
1858
1874
  regex: string;
@@ -1861,7 +1877,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1861
1877
  } | {
1862
1878
  contains: string;
1863
1879
  }> | undefined;
1864
- headers?: Record<string, string | {
1880
+ params?: Record<string, string | {
1865
1881
  equals: string;
1866
1882
  } | {
1867
1883
  regex: string;
@@ -1991,8 +2007,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
1991
2007
  }, "strict", z.ZodTypeAny, {
1992
2008
  id: string;
1993
2009
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1994
- url: string;
1995
2010
  headers: Record<string, string>;
2011
+ url: string;
1996
2012
  timeoutMs: number;
1997
2013
  retry: {
1998
2014
  attempts: number;
@@ -2104,8 +2120,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2104
2120
  id: string;
2105
2121
  response: {
2106
2122
  body?: unknown;
2107
- status?: number | undefined;
2108
2123
  headers?: Record<string, string> | undefined;
2124
+ status?: number | undefined;
2109
2125
  delay?: number | {
2110
2126
  min: number;
2111
2127
  max: number;
@@ -2121,7 +2137,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2121
2137
  } | {
2122
2138
  contains: string;
2123
2139
  }> | undefined;
2124
- params?: Record<string, string | {
2140
+ headers?: Record<string, string | {
2125
2141
  equals: string;
2126
2142
  } | {
2127
2143
  regex: string;
@@ -2130,7 +2146,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2130
2146
  } | {
2131
2147
  contains: string;
2132
2148
  }> | undefined;
2133
- headers?: Record<string, string | {
2149
+ params?: Record<string, string | {
2134
2150
  equals: string;
2135
2151
  } | {
2136
2152
  regex: string;
@@ -2153,8 +2169,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2153
2169
  webhooks?: {
2154
2170
  id: string;
2155
2171
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2156
- url: string;
2157
2172
  headers: Record<string, string>;
2173
+ url: string;
2158
2174
  timeoutMs: number;
2159
2175
  retry: {
2160
2176
  attempts: number;
@@ -2219,8 +2235,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2219
2235
  response: {
2220
2236
  kind: "static";
2221
2237
  body?: unknown;
2222
- status?: number | undefined;
2223
2238
  headers?: Record<string, string> | undefined;
2239
+ status?: number | undefined;
2224
2240
  delay?: number | {
2225
2241
  min: number;
2226
2242
  max: number;
@@ -2242,8 +2258,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2242
2258
  id: string;
2243
2259
  response: {
2244
2260
  body?: unknown;
2245
- status?: number | undefined;
2246
2261
  headers?: Record<string, string> | undefined;
2262
+ status?: number | undefined;
2247
2263
  delay?: number | {
2248
2264
  min: number;
2249
2265
  max: number;
@@ -2259,7 +2275,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2259
2275
  } | {
2260
2276
  contains: string;
2261
2277
  }> | undefined;
2262
- params?: Record<string, string | {
2278
+ headers?: Record<string, string | {
2263
2279
  equals: string;
2264
2280
  } | {
2265
2281
  regex: string;
@@ -2268,7 +2284,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2268
2284
  } | {
2269
2285
  contains: string;
2270
2286
  }> | undefined;
2271
- headers?: Record<string, string | {
2287
+ params?: Record<string, string | {
2272
2288
  equals: string;
2273
2289
  } | {
2274
2290
  regex: string;
@@ -2369,8 +2385,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2369
2385
  id: string;
2370
2386
  response: {
2371
2387
  body?: unknown;
2372
- status?: number | undefined;
2373
2388
  headers?: Record<string, string> | undefined;
2389
+ status?: number | undefined;
2374
2390
  delay?: number | {
2375
2391
  min: number;
2376
2392
  max: number;
@@ -2386,7 +2402,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2386
2402
  } | {
2387
2403
  contains: string;
2388
2404
  }> | undefined;
2389
- params?: Record<string, string | {
2405
+ headers?: Record<string, string | {
2390
2406
  equals: string;
2391
2407
  } | {
2392
2408
  regex: string;
@@ -2395,7 +2411,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2395
2411
  } | {
2396
2412
  contains: string;
2397
2413
  }> | undefined;
2398
- headers?: Record<string, string | {
2414
+ params?: Record<string, string | {
2399
2415
  equals: string;
2400
2416
  } | {
2401
2417
  regex: string;
@@ -2418,8 +2434,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2418
2434
  webhooks?: {
2419
2435
  id: string;
2420
2436
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2421
- url: string;
2422
2437
  headers: Record<string, string>;
2438
+ url: string;
2423
2439
  timeoutMs: number;
2424
2440
  retry: {
2425
2441
  attempts: number;
@@ -2484,8 +2500,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2484
2500
  response: {
2485
2501
  kind: "static";
2486
2502
  body?: unknown;
2487
- status?: number | undefined;
2488
2503
  headers?: Record<string, string> | undefined;
2504
+ status?: number | undefined;
2489
2505
  delay?: number | {
2490
2506
  min: number;
2491
2507
  max: number;
@@ -2507,8 +2523,8 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2507
2523
  id: string;
2508
2524
  response: {
2509
2525
  body?: unknown;
2510
- status?: number | undefined;
2511
2526
  headers?: Record<string, string> | undefined;
2527
+ status?: number | undefined;
2512
2528
  delay?: number | {
2513
2529
  min: number;
2514
2530
  max: number;
@@ -2524,7 +2540,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2524
2540
  } | {
2525
2541
  contains: string;
2526
2542
  }> | undefined;
2527
- params?: Record<string, string | {
2543
+ headers?: Record<string, string | {
2528
2544
  equals: string;
2529
2545
  } | {
2530
2546
  regex: string;
@@ -2533,7 +2549,7 @@ export declare const MockEntry: z.ZodEffects<z.ZodObject<{
2533
2549
  } | {
2534
2550
  contains: string;
2535
2551
  }> | undefined;
2536
- headers?: Record<string, string | {
2552
+ params?: Record<string, string | {
2537
2553
  equals: string;
2538
2554
  } | {
2539
2555
  regex: string;
@@ -2591,12 +2607,16 @@ export declare const MocksFile: z.ZodObject<{
2591
2607
  equals: string;
2592
2608
  }, {
2593
2609
  equals: string;
2594
- }>, z.ZodObject<{
2610
+ }>, z.ZodEffects<z.ZodObject<{
2595
2611
  regex: z.ZodString;
2596
2612
  }, "strict", z.ZodTypeAny, {
2597
2613
  regex: string;
2598
2614
  }, {
2599
2615
  regex: string;
2616
+ }>, {
2617
+ regex: string;
2618
+ }, {
2619
+ regex: string;
2600
2620
  }>, z.ZodObject<{
2601
2621
  startsWith: z.ZodString;
2602
2622
  }, "strict", z.ZodTypeAny, {
@@ -2616,12 +2636,16 @@ export declare const MocksFile: z.ZodObject<{
2616
2636
  equals: string;
2617
2637
  }, {
2618
2638
  equals: string;
2619
- }>, z.ZodObject<{
2639
+ }>, z.ZodEffects<z.ZodObject<{
2620
2640
  regex: z.ZodString;
2621
2641
  }, "strict", z.ZodTypeAny, {
2622
2642
  regex: string;
2623
2643
  }, {
2624
2644
  regex: string;
2645
+ }>, {
2646
+ regex: string;
2647
+ }, {
2648
+ regex: string;
2625
2649
  }>, z.ZodObject<{
2626
2650
  startsWith: z.ZodString;
2627
2651
  }, "strict", z.ZodTypeAny, {
@@ -2731,8 +2755,8 @@ export declare const MocksFile: z.ZodObject<{
2731
2755
  }, {
2732
2756
  kind: "static";
2733
2757
  body?: unknown;
2734
- status?: number | undefined;
2735
2758
  headers?: Record<string, string> | undefined;
2759
+ status?: number | undefined;
2736
2760
  delay?: number | {
2737
2761
  min: number;
2738
2762
  max: number;
@@ -2909,7 +2933,7 @@ export declare const MocksFile: z.ZodObject<{
2909
2933
  } | {
2910
2934
  contains: string;
2911
2935
  }> | undefined;
2912
- params?: Record<string, string | {
2936
+ headers?: Record<string, string | {
2913
2937
  equals: string;
2914
2938
  } | {
2915
2939
  regex: string;
@@ -2918,7 +2942,7 @@ export declare const MocksFile: z.ZodObject<{
2918
2942
  } | {
2919
2943
  contains: string;
2920
2944
  }> | undefined;
2921
- headers?: Record<string, string | {
2945
+ params?: Record<string, string | {
2922
2946
  equals: string;
2923
2947
  } | {
2924
2948
  regex: string;
@@ -2946,7 +2970,7 @@ export declare const MocksFile: z.ZodObject<{
2946
2970
  } | {
2947
2971
  contains: string;
2948
2972
  }> | undefined;
2949
- params?: Record<string, string | {
2973
+ headers?: Record<string, string | {
2950
2974
  equals: string;
2951
2975
  } | {
2952
2976
  regex: string;
@@ -2955,7 +2979,7 @@ export declare const MocksFile: z.ZodObject<{
2955
2979
  } | {
2956
2980
  contains: string;
2957
2981
  }> | undefined;
2958
- headers?: Record<string, string | {
2982
+ params?: Record<string, string | {
2959
2983
  equals: string;
2960
2984
  } | {
2961
2985
  regex: string;
@@ -2983,7 +3007,7 @@ export declare const MocksFile: z.ZodObject<{
2983
3007
  } | {
2984
3008
  contains: string;
2985
3009
  }> | undefined;
2986
- params?: Record<string, string | {
3010
+ headers?: Record<string, string | {
2987
3011
  equals: string;
2988
3012
  } | {
2989
3013
  regex: string;
@@ -2992,7 +3016,7 @@ export declare const MocksFile: z.ZodObject<{
2992
3016
  } | {
2993
3017
  contains: string;
2994
3018
  }> | undefined;
2995
- headers?: Record<string, string | {
3019
+ params?: Record<string, string | {
2996
3020
  equals: string;
2997
3021
  } | {
2998
3022
  regex: string;
@@ -3020,7 +3044,7 @@ export declare const MocksFile: z.ZodObject<{
3020
3044
  } | {
3021
3045
  contains: string;
3022
3046
  }> | undefined;
3023
- params?: Record<string, string | {
3047
+ headers?: Record<string, string | {
3024
3048
  equals: string;
3025
3049
  } | {
3026
3050
  regex: string;
@@ -3029,7 +3053,7 @@ export declare const MocksFile: z.ZodObject<{
3029
3053
  } | {
3030
3054
  contains: string;
3031
3055
  }> | undefined;
3032
- headers?: Record<string, string | {
3056
+ params?: Record<string, string | {
3033
3057
  equals: string;
3034
3058
  } | {
3035
3059
  regex: string;
@@ -3064,32 +3088,32 @@ export declare const MocksFile: z.ZodObject<{
3064
3088
  }>]>>;
3065
3089
  }, "strict", z.ZodTypeAny, {
3066
3090
  body?: unknown;
3067
- status?: number | undefined;
3068
3091
  headers?: Record<string, string> | undefined;
3092
+ status?: number | undefined;
3069
3093
  delay?: number | {
3070
3094
  min: number;
3071
3095
  max: number;
3072
3096
  } | undefined;
3073
3097
  }, {
3074
3098
  body?: unknown;
3075
- status?: number | undefined;
3076
3099
  headers?: Record<string, string> | undefined;
3100
+ status?: number | undefined;
3077
3101
  delay?: number | {
3078
3102
  min: number;
3079
3103
  max: number;
3080
3104
  } | undefined;
3081
3105
  }>, {
3082
3106
  body?: unknown;
3083
- status?: number | undefined;
3084
3107
  headers?: Record<string, string> | undefined;
3108
+ status?: number | undefined;
3085
3109
  delay?: number | {
3086
3110
  min: number;
3087
3111
  max: number;
3088
3112
  } | undefined;
3089
3113
  }, {
3090
3114
  body?: unknown;
3091
- status?: number | undefined;
3092
3115
  headers?: Record<string, string> | undefined;
3116
+ status?: number | undefined;
3093
3117
  delay?: number | {
3094
3118
  min: number;
3095
3119
  max: number;
@@ -3099,8 +3123,8 @@ export declare const MocksFile: z.ZodObject<{
3099
3123
  id: string;
3100
3124
  response: {
3101
3125
  body?: unknown;
3102
- status?: number | undefined;
3103
3126
  headers?: Record<string, string> | undefined;
3127
+ status?: number | undefined;
3104
3128
  delay?: number | {
3105
3129
  min: number;
3106
3130
  max: number;
@@ -3116,7 +3140,7 @@ export declare const MocksFile: z.ZodObject<{
3116
3140
  } | {
3117
3141
  contains: string;
3118
3142
  }> | undefined;
3119
- params?: Record<string, string | {
3143
+ headers?: Record<string, string | {
3120
3144
  equals: string;
3121
3145
  } | {
3122
3146
  regex: string;
@@ -3125,7 +3149,7 @@ export declare const MocksFile: z.ZodObject<{
3125
3149
  } | {
3126
3150
  contains: string;
3127
3151
  }> | undefined;
3128
- headers?: Record<string, string | {
3152
+ params?: Record<string, string | {
3129
3153
  equals: string;
3130
3154
  } | {
3131
3155
  regex: string;
@@ -3148,8 +3172,8 @@ export declare const MocksFile: z.ZodObject<{
3148
3172
  id: string;
3149
3173
  response: {
3150
3174
  body?: unknown;
3151
- status?: number | undefined;
3152
3175
  headers?: Record<string, string> | undefined;
3176
+ status?: number | undefined;
3153
3177
  delay?: number | {
3154
3178
  min: number;
3155
3179
  max: number;
@@ -3165,7 +3189,7 @@ export declare const MocksFile: z.ZodObject<{
3165
3189
  } | {
3166
3190
  contains: string;
3167
3191
  }> | undefined;
3168
- params?: Record<string, string | {
3192
+ headers?: Record<string, string | {
3169
3193
  equals: string;
3170
3194
  } | {
3171
3195
  regex: string;
@@ -3174,7 +3198,7 @@ export declare const MocksFile: z.ZodObject<{
3174
3198
  } | {
3175
3199
  contains: string;
3176
3200
  }> | undefined;
3177
- headers?: Record<string, string | {
3201
+ params?: Record<string, string | {
3178
3202
  equals: string;
3179
3203
  } | {
3180
3204
  regex: string;
@@ -3304,8 +3328,8 @@ export declare const MocksFile: z.ZodObject<{
3304
3328
  }, "strict", z.ZodTypeAny, {
3305
3329
  id: string;
3306
3330
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
3307
- url: string;
3308
3331
  headers: Record<string, string>;
3332
+ url: string;
3309
3333
  timeoutMs: number;
3310
3334
  retry: {
3311
3335
  attempts: number;
@@ -3417,8 +3441,8 @@ export declare const MocksFile: z.ZodObject<{
3417
3441
  id: string;
3418
3442
  response: {
3419
3443
  body?: unknown;
3420
- status?: number | undefined;
3421
3444
  headers?: Record<string, string> | undefined;
3445
+ status?: number | undefined;
3422
3446
  delay?: number | {
3423
3447
  min: number;
3424
3448
  max: number;
@@ -3434,7 +3458,7 @@ export declare const MocksFile: z.ZodObject<{
3434
3458
  } | {
3435
3459
  contains: string;
3436
3460
  }> | undefined;
3437
- params?: Record<string, string | {
3461
+ headers?: Record<string, string | {
3438
3462
  equals: string;
3439
3463
  } | {
3440
3464
  regex: string;
@@ -3443,7 +3467,7 @@ export declare const MocksFile: z.ZodObject<{
3443
3467
  } | {
3444
3468
  contains: string;
3445
3469
  }> | undefined;
3446
- headers?: Record<string, string | {
3470
+ params?: Record<string, string | {
3447
3471
  equals: string;
3448
3472
  } | {
3449
3473
  regex: string;
@@ -3466,8 +3490,8 @@ export declare const MocksFile: z.ZodObject<{
3466
3490
  webhooks?: {
3467
3491
  id: string;
3468
3492
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
3469
- url: string;
3470
3493
  headers: Record<string, string>;
3494
+ url: string;
3471
3495
  timeoutMs: number;
3472
3496
  retry: {
3473
3497
  attempts: number;
@@ -3532,8 +3556,8 @@ export declare const MocksFile: z.ZodObject<{
3532
3556
  response: {
3533
3557
  kind: "static";
3534
3558
  body?: unknown;
3535
- status?: number | undefined;
3536
3559
  headers?: Record<string, string> | undefined;
3560
+ status?: number | undefined;
3537
3561
  delay?: number | {
3538
3562
  min: number;
3539
3563
  max: number;
@@ -3555,8 +3579,8 @@ export declare const MocksFile: z.ZodObject<{
3555
3579
  id: string;
3556
3580
  response: {
3557
3581
  body?: unknown;
3558
- status?: number | undefined;
3559
3582
  headers?: Record<string, string> | undefined;
3583
+ status?: number | undefined;
3560
3584
  delay?: number | {
3561
3585
  min: number;
3562
3586
  max: number;
@@ -3572,7 +3596,7 @@ export declare const MocksFile: z.ZodObject<{
3572
3596
  } | {
3573
3597
  contains: string;
3574
3598
  }> | undefined;
3575
- params?: Record<string, string | {
3599
+ headers?: Record<string, string | {
3576
3600
  equals: string;
3577
3601
  } | {
3578
3602
  regex: string;
@@ -3581,7 +3605,7 @@ export declare const MocksFile: z.ZodObject<{
3581
3605
  } | {
3582
3606
  contains: string;
3583
3607
  }> | undefined;
3584
- headers?: Record<string, string | {
3608
+ params?: Record<string, string | {
3585
3609
  equals: string;
3586
3610
  } | {
3587
3611
  regex: string;
@@ -3682,8 +3706,8 @@ export declare const MocksFile: z.ZodObject<{
3682
3706
  id: string;
3683
3707
  response: {
3684
3708
  body?: unknown;
3685
- status?: number | undefined;
3686
3709
  headers?: Record<string, string> | undefined;
3710
+ status?: number | undefined;
3687
3711
  delay?: number | {
3688
3712
  min: number;
3689
3713
  max: number;
@@ -3699,7 +3723,7 @@ export declare const MocksFile: z.ZodObject<{
3699
3723
  } | {
3700
3724
  contains: string;
3701
3725
  }> | undefined;
3702
- params?: Record<string, string | {
3726
+ headers?: Record<string, string | {
3703
3727
  equals: string;
3704
3728
  } | {
3705
3729
  regex: string;
@@ -3708,7 +3732,7 @@ export declare const MocksFile: z.ZodObject<{
3708
3732
  } | {
3709
3733
  contains: string;
3710
3734
  }> | undefined;
3711
- headers?: Record<string, string | {
3735
+ params?: Record<string, string | {
3712
3736
  equals: string;
3713
3737
  } | {
3714
3738
  regex: string;
@@ -3731,8 +3755,8 @@ export declare const MocksFile: z.ZodObject<{
3731
3755
  webhooks?: {
3732
3756
  id: string;
3733
3757
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
3734
- url: string;
3735
3758
  headers: Record<string, string>;
3759
+ url: string;
3736
3760
  timeoutMs: number;
3737
3761
  retry: {
3738
3762
  attempts: number;
@@ -3797,8 +3821,8 @@ export declare const MocksFile: z.ZodObject<{
3797
3821
  response: {
3798
3822
  kind: "static";
3799
3823
  body?: unknown;
3800
- status?: number | undefined;
3801
3824
  headers?: Record<string, string> | undefined;
3825
+ status?: number | undefined;
3802
3826
  delay?: number | {
3803
3827
  min: number;
3804
3828
  max: number;
@@ -3820,8 +3844,8 @@ export declare const MocksFile: z.ZodObject<{
3820
3844
  id: string;
3821
3845
  response: {
3822
3846
  body?: unknown;
3823
- status?: number | undefined;
3824
3847
  headers?: Record<string, string> | undefined;
3848
+ status?: number | undefined;
3825
3849
  delay?: number | {
3826
3850
  min: number;
3827
3851
  max: number;
@@ -3837,7 +3861,7 @@ export declare const MocksFile: z.ZodObject<{
3837
3861
  } | {
3838
3862
  contains: string;
3839
3863
  }> | undefined;
3840
- params?: Record<string, string | {
3864
+ headers?: Record<string, string | {
3841
3865
  equals: string;
3842
3866
  } | {
3843
3867
  regex: string;
@@ -3846,7 +3870,7 @@ export declare const MocksFile: z.ZodObject<{
3846
3870
  } | {
3847
3871
  contains: string;
3848
3872
  }> | undefined;
3849
- headers?: Record<string, string | {
3873
+ params?: Record<string, string | {
3850
3874
  equals: string;
3851
3875
  } | {
3852
3876
  regex: string;
@@ -3949,8 +3973,8 @@ export declare const MocksFile: z.ZodObject<{
3949
3973
  id: string;
3950
3974
  response: {
3951
3975
  body?: unknown;
3952
- status?: number | undefined;
3953
3976
  headers?: Record<string, string> | undefined;
3977
+ status?: number | undefined;
3954
3978
  delay?: number | {
3955
3979
  min: number;
3956
3980
  max: number;
@@ -3966,7 +3990,7 @@ export declare const MocksFile: z.ZodObject<{
3966
3990
  } | {
3967
3991
  contains: string;
3968
3992
  }> | undefined;
3969
- params?: Record<string, string | {
3993
+ headers?: Record<string, string | {
3970
3994
  equals: string;
3971
3995
  } | {
3972
3996
  regex: string;
@@ -3975,7 +3999,7 @@ export declare const MocksFile: z.ZodObject<{
3975
3999
  } | {
3976
4000
  contains: string;
3977
4001
  }> | undefined;
3978
- headers?: Record<string, string | {
4002
+ params?: Record<string, string | {
3979
4003
  equals: string;
3980
4004
  } | {
3981
4005
  regex: string;
@@ -3998,8 +4022,8 @@ export declare const MocksFile: z.ZodObject<{
3998
4022
  webhooks?: {
3999
4023
  id: string;
4000
4024
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
4001
- url: string;
4002
4025
  headers: Record<string, string>;
4026
+ url: string;
4003
4027
  timeoutMs: number;
4004
4028
  retry: {
4005
4029
  attempts: number;
@@ -4066,8 +4090,8 @@ export declare const MocksFile: z.ZodObject<{
4066
4090
  response: {
4067
4091
  kind: "static";
4068
4092
  body?: unknown;
4069
- status?: number | undefined;
4070
4093
  headers?: Record<string, string> | undefined;
4094
+ status?: number | undefined;
4071
4095
  delay?: number | {
4072
4096
  min: number;
4073
4097
  max: number;
@@ -4089,8 +4113,8 @@ export declare const MocksFile: z.ZodObject<{
4089
4113
  id: string;
4090
4114
  response: {
4091
4115
  body?: unknown;
4092
- status?: number | undefined;
4093
4116
  headers?: Record<string, string> | undefined;
4117
+ status?: number | undefined;
4094
4118
  delay?: number | {
4095
4119
  min: number;
4096
4120
  max: number;
@@ -4106,7 +4130,7 @@ export declare const MocksFile: z.ZodObject<{
4106
4130
  } | {
4107
4131
  contains: string;
4108
4132
  }> | undefined;
4109
- params?: Record<string, string | {
4133
+ headers?: Record<string, string | {
4110
4134
  equals: string;
4111
4135
  } | {
4112
4136
  regex: string;
@@ -4115,7 +4139,7 @@ export declare const MocksFile: z.ZodObject<{
4115
4139
  } | {
4116
4140
  contains: string;
4117
4141
  }> | undefined;
4118
- headers?: Record<string, string | {
4142
+ params?: Record<string, string | {
4119
4143
  equals: string;
4120
4144
  } | {
4121
4145
  regex: string;
@@ -4209,12 +4233,16 @@ export declare const TenantConfig: z.ZodObject<{
4209
4233
  equals: string;
4210
4234
  }, {
4211
4235
  equals: string;
4212
- }>, z.ZodObject<{
4236
+ }>, z.ZodEffects<z.ZodObject<{
4213
4237
  regex: z.ZodString;
4214
4238
  }, "strict", z.ZodTypeAny, {
4215
4239
  regex: string;
4216
4240
  }, {
4217
4241
  regex: string;
4242
+ }>, {
4243
+ regex: string;
4244
+ }, {
4245
+ regex: string;
4218
4246
  }>, z.ZodObject<{
4219
4247
  startsWith: z.ZodString;
4220
4248
  }, "strict", z.ZodTypeAny, {
@@ -4234,12 +4262,16 @@ export declare const TenantConfig: z.ZodObject<{
4234
4262
  equals: string;
4235
4263
  }, {
4236
4264
  equals: string;
4237
- }>, z.ZodObject<{
4265
+ }>, z.ZodEffects<z.ZodObject<{
4238
4266
  regex: z.ZodString;
4239
4267
  }, "strict", z.ZodTypeAny, {
4240
4268
  regex: string;
4241
4269
  }, {
4242
4270
  regex: string;
4271
+ }>, {
4272
+ regex: string;
4273
+ }, {
4274
+ regex: string;
4243
4275
  }>, z.ZodObject<{
4244
4276
  startsWith: z.ZodString;
4245
4277
  }, "strict", z.ZodTypeAny, {
@@ -4349,8 +4381,8 @@ export declare const TenantConfig: z.ZodObject<{
4349
4381
  }, {
4350
4382
  kind: "static";
4351
4383
  body?: unknown;
4352
- status?: number | undefined;
4353
4384
  headers?: Record<string, string> | undefined;
4385
+ status?: number | undefined;
4354
4386
  delay?: number | {
4355
4387
  min: number;
4356
4388
  max: number;
@@ -4527,7 +4559,7 @@ export declare const TenantConfig: z.ZodObject<{
4527
4559
  } | {
4528
4560
  contains: string;
4529
4561
  }> | undefined;
4530
- params?: Record<string, string | {
4562
+ headers?: Record<string, string | {
4531
4563
  equals: string;
4532
4564
  } | {
4533
4565
  regex: string;
@@ -4536,7 +4568,7 @@ export declare const TenantConfig: z.ZodObject<{
4536
4568
  } | {
4537
4569
  contains: string;
4538
4570
  }> | undefined;
4539
- headers?: Record<string, string | {
4571
+ params?: Record<string, string | {
4540
4572
  equals: string;
4541
4573
  } | {
4542
4574
  regex: string;
@@ -4564,7 +4596,7 @@ export declare const TenantConfig: z.ZodObject<{
4564
4596
  } | {
4565
4597
  contains: string;
4566
4598
  }> | undefined;
4567
- params?: Record<string, string | {
4599
+ headers?: Record<string, string | {
4568
4600
  equals: string;
4569
4601
  } | {
4570
4602
  regex: string;
@@ -4573,7 +4605,7 @@ export declare const TenantConfig: z.ZodObject<{
4573
4605
  } | {
4574
4606
  contains: string;
4575
4607
  }> | undefined;
4576
- headers?: Record<string, string | {
4608
+ params?: Record<string, string | {
4577
4609
  equals: string;
4578
4610
  } | {
4579
4611
  regex: string;
@@ -4601,7 +4633,7 @@ export declare const TenantConfig: z.ZodObject<{
4601
4633
  } | {
4602
4634
  contains: string;
4603
4635
  }> | undefined;
4604
- params?: Record<string, string | {
4636
+ headers?: Record<string, string | {
4605
4637
  equals: string;
4606
4638
  } | {
4607
4639
  regex: string;
@@ -4610,7 +4642,7 @@ export declare const TenantConfig: z.ZodObject<{
4610
4642
  } | {
4611
4643
  contains: string;
4612
4644
  }> | undefined;
4613
- headers?: Record<string, string | {
4645
+ params?: Record<string, string | {
4614
4646
  equals: string;
4615
4647
  } | {
4616
4648
  regex: string;
@@ -4638,7 +4670,7 @@ export declare const TenantConfig: z.ZodObject<{
4638
4670
  } | {
4639
4671
  contains: string;
4640
4672
  }> | undefined;
4641
- params?: Record<string, string | {
4673
+ headers?: Record<string, string | {
4642
4674
  equals: string;
4643
4675
  } | {
4644
4676
  regex: string;
@@ -4647,7 +4679,7 @@ export declare const TenantConfig: z.ZodObject<{
4647
4679
  } | {
4648
4680
  contains: string;
4649
4681
  }> | undefined;
4650
- headers?: Record<string, string | {
4682
+ params?: Record<string, string | {
4651
4683
  equals: string;
4652
4684
  } | {
4653
4685
  regex: string;
@@ -4682,32 +4714,32 @@ export declare const TenantConfig: z.ZodObject<{
4682
4714
  }>]>>;
4683
4715
  }, "strict", z.ZodTypeAny, {
4684
4716
  body?: unknown;
4685
- status?: number | undefined;
4686
4717
  headers?: Record<string, string> | undefined;
4718
+ status?: number | undefined;
4687
4719
  delay?: number | {
4688
4720
  min: number;
4689
4721
  max: number;
4690
4722
  } | undefined;
4691
4723
  }, {
4692
4724
  body?: unknown;
4693
- status?: number | undefined;
4694
4725
  headers?: Record<string, string> | undefined;
4726
+ status?: number | undefined;
4695
4727
  delay?: number | {
4696
4728
  min: number;
4697
4729
  max: number;
4698
4730
  } | undefined;
4699
4731
  }>, {
4700
4732
  body?: unknown;
4701
- status?: number | undefined;
4702
4733
  headers?: Record<string, string> | undefined;
4734
+ status?: number | undefined;
4703
4735
  delay?: number | {
4704
4736
  min: number;
4705
4737
  max: number;
4706
4738
  } | undefined;
4707
4739
  }, {
4708
4740
  body?: unknown;
4709
- status?: number | undefined;
4710
4741
  headers?: Record<string, string> | undefined;
4742
+ status?: number | undefined;
4711
4743
  delay?: number | {
4712
4744
  min: number;
4713
4745
  max: number;
@@ -4717,8 +4749,8 @@ export declare const TenantConfig: z.ZodObject<{
4717
4749
  id: string;
4718
4750
  response: {
4719
4751
  body?: unknown;
4720
- status?: number | undefined;
4721
4752
  headers?: Record<string, string> | undefined;
4753
+ status?: number | undefined;
4722
4754
  delay?: number | {
4723
4755
  min: number;
4724
4756
  max: number;
@@ -4734,7 +4766,7 @@ export declare const TenantConfig: z.ZodObject<{
4734
4766
  } | {
4735
4767
  contains: string;
4736
4768
  }> | undefined;
4737
- params?: Record<string, string | {
4769
+ headers?: Record<string, string | {
4738
4770
  equals: string;
4739
4771
  } | {
4740
4772
  regex: string;
@@ -4743,7 +4775,7 @@ export declare const TenantConfig: z.ZodObject<{
4743
4775
  } | {
4744
4776
  contains: string;
4745
4777
  }> | undefined;
4746
- headers?: Record<string, string | {
4778
+ params?: Record<string, string | {
4747
4779
  equals: string;
4748
4780
  } | {
4749
4781
  regex: string;
@@ -4766,8 +4798,8 @@ export declare const TenantConfig: z.ZodObject<{
4766
4798
  id: string;
4767
4799
  response: {
4768
4800
  body?: unknown;
4769
- status?: number | undefined;
4770
4801
  headers?: Record<string, string> | undefined;
4802
+ status?: number | undefined;
4771
4803
  delay?: number | {
4772
4804
  min: number;
4773
4805
  max: number;
@@ -4783,7 +4815,7 @@ export declare const TenantConfig: z.ZodObject<{
4783
4815
  } | {
4784
4816
  contains: string;
4785
4817
  }> | undefined;
4786
- params?: Record<string, string | {
4818
+ headers?: Record<string, string | {
4787
4819
  equals: string;
4788
4820
  } | {
4789
4821
  regex: string;
@@ -4792,7 +4824,7 @@ export declare const TenantConfig: z.ZodObject<{
4792
4824
  } | {
4793
4825
  contains: string;
4794
4826
  }> | undefined;
4795
- headers?: Record<string, string | {
4827
+ params?: Record<string, string | {
4796
4828
  equals: string;
4797
4829
  } | {
4798
4830
  regex: string;
@@ -4922,8 +4954,8 @@ export declare const TenantConfig: z.ZodObject<{
4922
4954
  }, "strict", z.ZodTypeAny, {
4923
4955
  id: string;
4924
4956
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
4925
- url: string;
4926
4957
  headers: Record<string, string>;
4958
+ url: string;
4927
4959
  timeoutMs: number;
4928
4960
  retry: {
4929
4961
  attempts: number;
@@ -5035,8 +5067,8 @@ export declare const TenantConfig: z.ZodObject<{
5035
5067
  id: string;
5036
5068
  response: {
5037
5069
  body?: unknown;
5038
- status?: number | undefined;
5039
5070
  headers?: Record<string, string> | undefined;
5071
+ status?: number | undefined;
5040
5072
  delay?: number | {
5041
5073
  min: number;
5042
5074
  max: number;
@@ -5052,7 +5084,7 @@ export declare const TenantConfig: z.ZodObject<{
5052
5084
  } | {
5053
5085
  contains: string;
5054
5086
  }> | undefined;
5055
- params?: Record<string, string | {
5087
+ headers?: Record<string, string | {
5056
5088
  equals: string;
5057
5089
  } | {
5058
5090
  regex: string;
@@ -5061,7 +5093,7 @@ export declare const TenantConfig: z.ZodObject<{
5061
5093
  } | {
5062
5094
  contains: string;
5063
5095
  }> | undefined;
5064
- headers?: Record<string, string | {
5096
+ params?: Record<string, string | {
5065
5097
  equals: string;
5066
5098
  } | {
5067
5099
  regex: string;
@@ -5084,8 +5116,8 @@ export declare const TenantConfig: z.ZodObject<{
5084
5116
  webhooks?: {
5085
5117
  id: string;
5086
5118
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
5087
- url: string;
5088
5119
  headers: Record<string, string>;
5120
+ url: string;
5089
5121
  timeoutMs: number;
5090
5122
  retry: {
5091
5123
  attempts: number;
@@ -5150,8 +5182,8 @@ export declare const TenantConfig: z.ZodObject<{
5150
5182
  response: {
5151
5183
  kind: "static";
5152
5184
  body?: unknown;
5153
- status?: number | undefined;
5154
5185
  headers?: Record<string, string> | undefined;
5186
+ status?: number | undefined;
5155
5187
  delay?: number | {
5156
5188
  min: number;
5157
5189
  max: number;
@@ -5173,8 +5205,8 @@ export declare const TenantConfig: z.ZodObject<{
5173
5205
  id: string;
5174
5206
  response: {
5175
5207
  body?: unknown;
5176
- status?: number | undefined;
5177
5208
  headers?: Record<string, string> | undefined;
5209
+ status?: number | undefined;
5178
5210
  delay?: number | {
5179
5211
  min: number;
5180
5212
  max: number;
@@ -5190,7 +5222,7 @@ export declare const TenantConfig: z.ZodObject<{
5190
5222
  } | {
5191
5223
  contains: string;
5192
5224
  }> | undefined;
5193
- params?: Record<string, string | {
5225
+ headers?: Record<string, string | {
5194
5226
  equals: string;
5195
5227
  } | {
5196
5228
  regex: string;
@@ -5199,7 +5231,7 @@ export declare const TenantConfig: z.ZodObject<{
5199
5231
  } | {
5200
5232
  contains: string;
5201
5233
  }> | undefined;
5202
- headers?: Record<string, string | {
5234
+ params?: Record<string, string | {
5203
5235
  equals: string;
5204
5236
  } | {
5205
5237
  regex: string;
@@ -5300,8 +5332,8 @@ export declare const TenantConfig: z.ZodObject<{
5300
5332
  id: string;
5301
5333
  response: {
5302
5334
  body?: unknown;
5303
- status?: number | undefined;
5304
5335
  headers?: Record<string, string> | undefined;
5336
+ status?: number | undefined;
5305
5337
  delay?: number | {
5306
5338
  min: number;
5307
5339
  max: number;
@@ -5317,7 +5349,7 @@ export declare const TenantConfig: z.ZodObject<{
5317
5349
  } | {
5318
5350
  contains: string;
5319
5351
  }> | undefined;
5320
- params?: Record<string, string | {
5352
+ headers?: Record<string, string | {
5321
5353
  equals: string;
5322
5354
  } | {
5323
5355
  regex: string;
@@ -5326,7 +5358,7 @@ export declare const TenantConfig: z.ZodObject<{
5326
5358
  } | {
5327
5359
  contains: string;
5328
5360
  }> | undefined;
5329
- headers?: Record<string, string | {
5361
+ params?: Record<string, string | {
5330
5362
  equals: string;
5331
5363
  } | {
5332
5364
  regex: string;
@@ -5349,8 +5381,8 @@ export declare const TenantConfig: z.ZodObject<{
5349
5381
  webhooks?: {
5350
5382
  id: string;
5351
5383
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
5352
- url: string;
5353
5384
  headers: Record<string, string>;
5385
+ url: string;
5354
5386
  timeoutMs: number;
5355
5387
  retry: {
5356
5388
  attempts: number;
@@ -5415,8 +5447,8 @@ export declare const TenantConfig: z.ZodObject<{
5415
5447
  response: {
5416
5448
  kind: "static";
5417
5449
  body?: unknown;
5418
- status?: number | undefined;
5419
5450
  headers?: Record<string, string> | undefined;
5451
+ status?: number | undefined;
5420
5452
  delay?: number | {
5421
5453
  min: number;
5422
5454
  max: number;
@@ -5438,8 +5470,8 @@ export declare const TenantConfig: z.ZodObject<{
5438
5470
  id: string;
5439
5471
  response: {
5440
5472
  body?: unknown;
5441
- status?: number | undefined;
5442
5473
  headers?: Record<string, string> | undefined;
5474
+ status?: number | undefined;
5443
5475
  delay?: number | {
5444
5476
  min: number;
5445
5477
  max: number;
@@ -5455,7 +5487,7 @@ export declare const TenantConfig: z.ZodObject<{
5455
5487
  } | {
5456
5488
  contains: string;
5457
5489
  }> | undefined;
5458
- params?: Record<string, string | {
5490
+ headers?: Record<string, string | {
5459
5491
  equals: string;
5460
5492
  } | {
5461
5493
  regex: string;
@@ -5464,7 +5496,7 @@ export declare const TenantConfig: z.ZodObject<{
5464
5496
  } | {
5465
5497
  contains: string;
5466
5498
  }> | undefined;
5467
- headers?: Record<string, string | {
5499
+ params?: Record<string, string | {
5468
5500
  equals: string;
5469
5501
  } | {
5470
5502
  regex: string;
@@ -5567,8 +5599,8 @@ export declare const TenantConfig: z.ZodObject<{
5567
5599
  id: string;
5568
5600
  response: {
5569
5601
  body?: unknown;
5570
- status?: number | undefined;
5571
5602
  headers?: Record<string, string> | undefined;
5603
+ status?: number | undefined;
5572
5604
  delay?: number | {
5573
5605
  min: number;
5574
5606
  max: number;
@@ -5584,7 +5616,7 @@ export declare const TenantConfig: z.ZodObject<{
5584
5616
  } | {
5585
5617
  contains: string;
5586
5618
  }> | undefined;
5587
- params?: Record<string, string | {
5619
+ headers?: Record<string, string | {
5588
5620
  equals: string;
5589
5621
  } | {
5590
5622
  regex: string;
@@ -5593,7 +5625,7 @@ export declare const TenantConfig: z.ZodObject<{
5593
5625
  } | {
5594
5626
  contains: string;
5595
5627
  }> | undefined;
5596
- headers?: Record<string, string | {
5628
+ params?: Record<string, string | {
5597
5629
  equals: string;
5598
5630
  } | {
5599
5631
  regex: string;
@@ -5616,8 +5648,8 @@ export declare const TenantConfig: z.ZodObject<{
5616
5648
  webhooks?: {
5617
5649
  id: string;
5618
5650
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
5619
- url: string;
5620
5651
  headers: Record<string, string>;
5652
+ url: string;
5621
5653
  timeoutMs: number;
5622
5654
  retry: {
5623
5655
  attempts: number;
@@ -5693,8 +5725,8 @@ export declare const TenantConfig: z.ZodObject<{
5693
5725
  response: {
5694
5726
  kind: "static";
5695
5727
  body?: unknown;
5696
- status?: number | undefined;
5697
5728
  headers?: Record<string, string> | undefined;
5729
+ status?: number | undefined;
5698
5730
  delay?: number | {
5699
5731
  min: number;
5700
5732
  max: number;
@@ -5716,8 +5748,8 @@ export declare const TenantConfig: z.ZodObject<{
5716
5748
  id: string;
5717
5749
  response: {
5718
5750
  body?: unknown;
5719
- status?: number | undefined;
5720
5751
  headers?: Record<string, string> | undefined;
5752
+ status?: number | undefined;
5721
5753
  delay?: number | {
5722
5754
  min: number;
5723
5755
  max: number;
@@ -5733,7 +5765,7 @@ export declare const TenantConfig: z.ZodObject<{
5733
5765
  } | {
5734
5766
  contains: string;
5735
5767
  }> | undefined;
5736
- params?: Record<string, string | {
5768
+ headers?: Record<string, string | {
5737
5769
  equals: string;
5738
5770
  } | {
5739
5771
  regex: string;
@@ -5742,7 +5774,7 @@ export declare const TenantConfig: z.ZodObject<{
5742
5774
  } | {
5743
5775
  contains: string;
5744
5776
  }> | undefined;
5745
- headers?: Record<string, string | {
5777
+ params?: Record<string, string | {
5746
5778
  equals: string;
5747
5779
  } | {
5748
5780
  regex: string;