@syntrologie/runtime-sdk 2.12.0 → 2.14.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 (37) hide show
  1. package/CAPABILITIES.md +96 -67
  2. package/dist/actions/schema.d.ts +776 -776
  3. package/dist/actions/schema.js +3 -3
  4. package/dist/bootstrap.d.ts +2 -0
  5. package/dist/{chunk-L6RJMBR2.js → chunk-77TNZ66J.js} +3 -3
  6. package/dist/{chunk-XDYJ64IN.js → chunk-IR6UOR63.js} +4 -4
  7. package/dist/chunk-IR6UOR63.js.map +7 -0
  8. package/dist/{chunk-J2LGX2PV.js → chunk-JCDCANR7.js} +296 -75
  9. package/dist/chunk-JCDCANR7.js.map +7 -0
  10. package/dist/chunk-YLLWLUQX.js +241 -0
  11. package/dist/chunk-YLLWLUQX.js.map +7 -0
  12. package/dist/components/ShadowCanvasOverlay.d.ts +1 -2
  13. package/dist/config/schema.d.ts +147 -136
  14. package/dist/config/schema.js +2 -2
  15. package/dist/decisions/schema.d.ts +47 -47
  16. package/dist/decisions/schema.js +1 -1
  17. package/dist/fetchers/experimentsFetcher.d.ts +3 -3
  18. package/dist/fetchers/mergeConfigs.d.ts +7 -7
  19. package/dist/index.js +6 -4
  20. package/dist/index.js.map +1 -1
  21. package/dist/react.js +4 -4
  22. package/dist/smart-canvas.esm.js +44 -44
  23. package/dist/smart-canvas.esm.js.map +4 -4
  24. package/dist/smart-canvas.js +341 -109
  25. package/dist/smart-canvas.js.map +4 -4
  26. package/dist/smart-canvas.min.js +43 -43
  27. package/dist/smart-canvas.min.js.map +4 -4
  28. package/dist/telemetry/InterventionTracker.d.ts +23 -0
  29. package/dist/telemetry/index.d.ts +1 -0
  30. package/dist/version.d.ts +1 -1
  31. package/package.json +1 -1
  32. package/schema/canvas-config.schema.json +2347 -11396
  33. package/dist/chunk-BU4Z6PD7.js +0 -218
  34. package/dist/chunk-BU4Z6PD7.js.map +0 -7
  35. package/dist/chunk-J2LGX2PV.js.map +0 -7
  36. package/dist/chunk-XDYJ64IN.js.map +0 -7
  37. /package/dist/{chunk-L6RJMBR2.js.map → chunk-77TNZ66J.js.map} +0 -0
@@ -226,8 +226,10 @@ export declare const LauncherElementConfigZ: z.ZodObject<{
226
226
  size: z.ZodOptional<z.ZodString>;
227
227
  shadow: z.ZodOptional<z.ZodString>;
228
228
  borderRadius: z.ZodOptional<z.ZodString>;
229
+ icon: z.ZodOptional<z.ZodString>;
229
230
  }, "strip", z.ZodTypeAny, {
230
231
  size?: string | undefined;
232
+ icon?: string | undefined;
231
233
  background?: string | undefined;
232
234
  backgroundHover?: string | undefined;
233
235
  color?: string | undefined;
@@ -235,6 +237,7 @@ export declare const LauncherElementConfigZ: z.ZodObject<{
235
237
  borderRadius?: string | undefined;
236
238
  }, {
237
239
  size?: string | undefined;
240
+ icon?: string | undefined;
238
241
  background?: string | undefined;
239
242
  backgroundHover?: string | undefined;
240
243
  color?: string | undefined;
@@ -448,8 +451,10 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
448
451
  size: z.ZodOptional<z.ZodString>;
449
452
  shadow: z.ZodOptional<z.ZodString>;
450
453
  borderRadius: z.ZodOptional<z.ZodString>;
454
+ icon: z.ZodOptional<z.ZodString>;
451
455
  }, "strip", z.ZodTypeAny, {
452
456
  size?: string | undefined;
457
+ icon?: string | undefined;
453
458
  background?: string | undefined;
454
459
  backgroundHover?: string | undefined;
455
460
  color?: string | undefined;
@@ -457,6 +462,7 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
457
462
  borderRadius?: string | undefined;
458
463
  }, {
459
464
  size?: string | undefined;
465
+ icon?: string | undefined;
460
466
  background?: string | undefined;
461
467
  backgroundHover?: string | undefined;
462
468
  color?: string | undefined;
@@ -676,6 +682,7 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
676
682
  } | undefined;
677
683
  launcher?: {
678
684
  size?: string | undefined;
685
+ icon?: string | undefined;
679
686
  background?: string | undefined;
680
687
  backgroundHover?: string | undefined;
681
688
  color?: string | undefined;
@@ -758,6 +765,7 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
758
765
  } | undefined;
759
766
  launcher?: {
760
767
  size?: string | undefined;
768
+ icon?: string | undefined;
761
769
  background?: string | undefined;
762
770
  backgroundHover?: string | undefined;
763
771
  color?: string | undefined;
@@ -794,7 +802,6 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
794
802
  export declare const LauncherConfigZ: z.ZodObject<{
795
803
  enabled: z.ZodOptional<z.ZodBoolean>;
796
804
  label: z.ZodOptional<z.ZodString>;
797
- icon: z.ZodOptional<z.ZodString>;
798
805
  position: z.ZodOptional<z.ZodString>;
799
806
  animate: z.ZodOptional<z.ZodBoolean>;
800
807
  animationStyle: z.ZodOptional<z.ZodEnum<["pulse", "bounce", "glow"]>>;
@@ -802,7 +809,6 @@ export declare const LauncherConfigZ: z.ZodObject<{
802
809
  }, "strict", z.ZodTypeAny, {
803
810
  position?: string | undefined;
804
811
  label?: string | undefined;
805
- icon?: string | undefined;
806
812
  enabled?: boolean | undefined;
807
813
  animate?: boolean | undefined;
808
814
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -810,7 +816,6 @@ export declare const LauncherConfigZ: z.ZodObject<{
810
816
  }, {
811
817
  position?: string | undefined;
812
818
  label?: string | undefined;
813
- icon?: string | undefined;
814
819
  enabled?: boolean | undefined;
815
820
  animate?: boolean | undefined;
816
821
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -994,8 +999,10 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
994
999
  size: z.ZodOptional<z.ZodString>;
995
1000
  shadow: z.ZodOptional<z.ZodString>;
996
1001
  borderRadius: z.ZodOptional<z.ZodString>;
1002
+ icon: z.ZodOptional<z.ZodString>;
997
1003
  }, "strip", z.ZodTypeAny, {
998
1004
  size?: string | undefined;
1005
+ icon?: string | undefined;
999
1006
  background?: string | undefined;
1000
1007
  backgroundHover?: string | undefined;
1001
1008
  color?: string | undefined;
@@ -1003,6 +1010,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1003
1010
  borderRadius?: string | undefined;
1004
1011
  }, {
1005
1012
  size?: string | undefined;
1013
+ icon?: string | undefined;
1006
1014
  background?: string | undefined;
1007
1015
  backgroundHover?: string | undefined;
1008
1016
  color?: string | undefined;
@@ -1222,6 +1230,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1222
1230
  } | undefined;
1223
1231
  launcher?: {
1224
1232
  size?: string | undefined;
1233
+ icon?: string | undefined;
1225
1234
  background?: string | undefined;
1226
1235
  backgroundHover?: string | undefined;
1227
1236
  color?: string | undefined;
@@ -1304,6 +1313,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1304
1313
  } | undefined;
1305
1314
  launcher?: {
1306
1315
  size?: string | undefined;
1316
+ icon?: string | undefined;
1307
1317
  background?: string | undefined;
1308
1318
  backgroundHover?: string | undefined;
1309
1319
  color?: string | undefined;
@@ -1340,7 +1350,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1340
1350
  launcher: z.ZodOptional<z.ZodObject<{
1341
1351
  enabled: z.ZodOptional<z.ZodBoolean>;
1342
1352
  label: z.ZodOptional<z.ZodString>;
1343
- icon: z.ZodOptional<z.ZodString>;
1344
1353
  position: z.ZodOptional<z.ZodString>;
1345
1354
  animate: z.ZodOptional<z.ZodBoolean>;
1346
1355
  animationStyle: z.ZodOptional<z.ZodEnum<["pulse", "bounce", "glow"]>>;
@@ -1348,7 +1357,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1348
1357
  }, "strict", z.ZodTypeAny, {
1349
1358
  position?: string | undefined;
1350
1359
  label?: string | undefined;
1351
- icon?: string | undefined;
1352
1360
  enabled?: boolean | undefined;
1353
1361
  animate?: boolean | undefined;
1354
1362
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -1356,7 +1364,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1356
1364
  }, {
1357
1365
  position?: string | undefined;
1358
1366
  label?: string | undefined;
1359
- icon?: string | undefined;
1360
1367
  enabled?: boolean | undefined;
1361
1368
  animate?: boolean | undefined;
1362
1369
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -1439,17 +1446,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1439
1446
  maxHeight?: number | undefined;
1440
1447
  }>, z.ZodObject<{
1441
1448
  type: z.ZodLiteral<"session_metric">;
1442
- key: z.ZodString;
1449
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1443
1450
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1444
1451
  threshold: z.ZodNumber;
1445
1452
  }, "strip", z.ZodTypeAny, {
1446
1453
  type: "session_metric";
1447
- key: string;
1454
+ key: "time_on_page" | "page_views" | "scroll_depth";
1448
1455
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1449
1456
  threshold: number;
1450
1457
  }, {
1451
1458
  type: "session_metric";
1452
- key: string;
1459
+ key: "time_on_page" | "page_views" | "scroll_depth";
1453
1460
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1454
1461
  threshold: number;
1455
1462
  }>, z.ZodObject<{
@@ -1498,7 +1505,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1498
1505
  count: z.ZodNumber;
1499
1506
  withinMs: z.ZodOptional<z.ZodNumber>;
1500
1507
  counter: z.ZodOptional<z.ZodObject<{
1501
- events: z.ZodArray<z.ZodString, "many">;
1508
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
1502
1509
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1503
1510
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1504
1511
  contains: z.ZodOptional<z.ZodString>;
@@ -1510,13 +1517,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1510
1517
  contains?: string | undefined;
1511
1518
  }>>>;
1512
1519
  }, "strip", z.ZodTypeAny, {
1513
- events: string[];
1520
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1514
1521
  match?: Record<string, {
1515
1522
  equals?: string | number | boolean | undefined;
1516
1523
  contains?: string | undefined;
1517
1524
  }> | undefined;
1518
1525
  }, {
1519
- events: string[];
1526
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1520
1527
  match?: Record<string, {
1521
1528
  equals?: string | number | boolean | undefined;
1522
1529
  contains?: string | undefined;
@@ -1529,7 +1536,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1529
1536
  count: number;
1530
1537
  withinMs?: number | undefined;
1531
1538
  counter?: {
1532
- events: string[];
1539
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1533
1540
  match?: Record<string, {
1534
1541
  equals?: string | number | boolean | undefined;
1535
1542
  contains?: string | undefined;
@@ -1542,7 +1549,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1542
1549
  count: number;
1543
1550
  withinMs?: number | undefined;
1544
1551
  counter?: {
1545
- events: string[];
1552
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1546
1553
  match?: Record<string, {
1547
1554
  equals?: string | number | boolean | undefined;
1548
1555
  contains?: string | undefined;
@@ -1577,7 +1584,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1577
1584
  maxHeight?: number | undefined;
1578
1585
  } | {
1579
1586
  type: "session_metric";
1580
- key: string;
1587
+ key: "time_on_page" | "page_views" | "scroll_depth";
1581
1588
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1582
1589
  threshold: number;
1583
1590
  } | {
@@ -1600,7 +1607,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1600
1607
  count: number;
1601
1608
  withinMs?: number | undefined;
1602
1609
  counter?: {
1603
- events: string[];
1610
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1604
1611
  match?: Record<string, {
1605
1612
  equals?: string | number | boolean | undefined;
1606
1613
  contains?: string | undefined;
@@ -1635,7 +1642,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1635
1642
  maxHeight?: number | undefined;
1636
1643
  } | {
1637
1644
  type: "session_metric";
1638
- key: string;
1645
+ key: "time_on_page" | "page_views" | "scroll_depth";
1639
1646
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1640
1647
  threshold: number;
1641
1648
  } | {
@@ -1658,7 +1665,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1658
1665
  count: number;
1659
1666
  withinMs?: number | undefined;
1660
1667
  counter?: {
1661
- events: string[];
1668
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1662
1669
  match?: Record<string, {
1663
1670
  equals?: string | number | boolean | undefined;
1664
1671
  contains?: string | undefined;
@@ -1743,17 +1750,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1743
1750
  maxHeight?: number | undefined;
1744
1751
  }>, z.ZodObject<{
1745
1752
  type: z.ZodLiteral<"session_metric">;
1746
- key: z.ZodString;
1753
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1747
1754
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1748
1755
  threshold: z.ZodNumber;
1749
1756
  }, "strip", z.ZodTypeAny, {
1750
1757
  type: "session_metric";
1751
- key: string;
1758
+ key: "time_on_page" | "page_views" | "scroll_depth";
1752
1759
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1753
1760
  threshold: number;
1754
1761
  }, {
1755
1762
  type: "session_metric";
1756
- key: string;
1763
+ key: "time_on_page" | "page_views" | "scroll_depth";
1757
1764
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1758
1765
  threshold: number;
1759
1766
  }>, z.ZodObject<{
@@ -1802,7 +1809,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1802
1809
  count: z.ZodNumber;
1803
1810
  withinMs: z.ZodOptional<z.ZodNumber>;
1804
1811
  counter: z.ZodOptional<z.ZodObject<{
1805
- events: z.ZodArray<z.ZodString, "many">;
1812
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
1806
1813
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1807
1814
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1808
1815
  contains: z.ZodOptional<z.ZodString>;
@@ -1814,13 +1821,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1814
1821
  contains?: string | undefined;
1815
1822
  }>>>;
1816
1823
  }, "strip", z.ZodTypeAny, {
1817
- events: string[];
1824
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1818
1825
  match?: Record<string, {
1819
1826
  equals?: string | number | boolean | undefined;
1820
1827
  contains?: string | undefined;
1821
1828
  }> | undefined;
1822
1829
  }, {
1823
- events: string[];
1830
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1824
1831
  match?: Record<string, {
1825
1832
  equals?: string | number | boolean | undefined;
1826
1833
  contains?: string | undefined;
@@ -1833,7 +1840,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1833
1840
  count: number;
1834
1841
  withinMs?: number | undefined;
1835
1842
  counter?: {
1836
- events: string[];
1843
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1837
1844
  match?: Record<string, {
1838
1845
  equals?: string | number | boolean | undefined;
1839
1846
  contains?: string | undefined;
@@ -1846,7 +1853,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1846
1853
  count: number;
1847
1854
  withinMs?: number | undefined;
1848
1855
  counter?: {
1849
- events: string[];
1856
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1850
1857
  match?: Record<string, {
1851
1858
  equals?: string | number | boolean | undefined;
1852
1859
  contains?: string | undefined;
@@ -1881,7 +1888,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1881
1888
  maxHeight?: number | undefined;
1882
1889
  } | {
1883
1890
  type: "session_metric";
1884
- key: string;
1891
+ key: "time_on_page" | "page_views" | "scroll_depth";
1885
1892
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1886
1893
  threshold: number;
1887
1894
  } | {
@@ -1904,7 +1911,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1904
1911
  count: number;
1905
1912
  withinMs?: number | undefined;
1906
1913
  counter?: {
1907
- events: string[];
1914
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1908
1915
  match?: Record<string, {
1909
1916
  equals?: string | number | boolean | undefined;
1910
1917
  contains?: string | undefined;
@@ -1939,7 +1946,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1939
1946
  maxHeight?: number | undefined;
1940
1947
  } | {
1941
1948
  type: "session_metric";
1942
- key: string;
1949
+ key: "time_on_page" | "page_views" | "scroll_depth";
1943
1950
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1944
1951
  threshold: number;
1945
1952
  } | {
@@ -1962,7 +1969,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1962
1969
  count: number;
1963
1970
  withinMs?: number | undefined;
1964
1971
  counter?: {
1965
- events: string[];
1972
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1966
1973
  match?: Record<string, {
1967
1974
  equals?: string | number | boolean | undefined;
1968
1975
  contains?: string | undefined;
@@ -2047,17 +2054,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2047
2054
  maxHeight?: number | undefined;
2048
2055
  }>, z.ZodObject<{
2049
2056
  type: z.ZodLiteral<"session_metric">;
2050
- key: z.ZodString;
2057
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2051
2058
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2052
2059
  threshold: z.ZodNumber;
2053
2060
  }, "strip", z.ZodTypeAny, {
2054
2061
  type: "session_metric";
2055
- key: string;
2062
+ key: "time_on_page" | "page_views" | "scroll_depth";
2056
2063
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2057
2064
  threshold: number;
2058
2065
  }, {
2059
2066
  type: "session_metric";
2060
- key: string;
2067
+ key: "time_on_page" | "page_views" | "scroll_depth";
2061
2068
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2062
2069
  threshold: number;
2063
2070
  }>, z.ZodObject<{
@@ -2106,7 +2113,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2106
2113
  count: z.ZodNumber;
2107
2114
  withinMs: z.ZodOptional<z.ZodNumber>;
2108
2115
  counter: z.ZodOptional<z.ZodObject<{
2109
- events: z.ZodArray<z.ZodString, "many">;
2116
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
2110
2117
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2111
2118
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2112
2119
  contains: z.ZodOptional<z.ZodString>;
@@ -2118,13 +2125,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2118
2125
  contains?: string | undefined;
2119
2126
  }>>>;
2120
2127
  }, "strip", z.ZodTypeAny, {
2121
- events: string[];
2128
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2122
2129
  match?: Record<string, {
2123
2130
  equals?: string | number | boolean | undefined;
2124
2131
  contains?: string | undefined;
2125
2132
  }> | undefined;
2126
2133
  }, {
2127
- events: string[];
2134
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2128
2135
  match?: Record<string, {
2129
2136
  equals?: string | number | boolean | undefined;
2130
2137
  contains?: string | undefined;
@@ -2137,7 +2144,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2137
2144
  count: number;
2138
2145
  withinMs?: number | undefined;
2139
2146
  counter?: {
2140
- events: string[];
2147
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2141
2148
  match?: Record<string, {
2142
2149
  equals?: string | number | boolean | undefined;
2143
2150
  contains?: string | undefined;
@@ -2150,7 +2157,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2150
2157
  count: number;
2151
2158
  withinMs?: number | undefined;
2152
2159
  counter?: {
2153
- events: string[];
2160
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2154
2161
  match?: Record<string, {
2155
2162
  equals?: string | number | boolean | undefined;
2156
2163
  contains?: string | undefined;
@@ -2185,7 +2192,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2185
2192
  maxHeight?: number | undefined;
2186
2193
  } | {
2187
2194
  type: "session_metric";
2188
- key: string;
2195
+ key: "time_on_page" | "page_views" | "scroll_depth";
2189
2196
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2190
2197
  threshold: number;
2191
2198
  } | {
@@ -2208,7 +2215,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2208
2215
  count: number;
2209
2216
  withinMs?: number | undefined;
2210
2217
  counter?: {
2211
- events: string[];
2218
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2212
2219
  match?: Record<string, {
2213
2220
  equals?: string | number | boolean | undefined;
2214
2221
  contains?: string | undefined;
@@ -2243,7 +2250,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2243
2250
  maxHeight?: number | undefined;
2244
2251
  } | {
2245
2252
  type: "session_metric";
2246
- key: string;
2253
+ key: "time_on_page" | "page_views" | "scroll_depth";
2247
2254
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2248
2255
  threshold: number;
2249
2256
  } | {
@@ -2266,7 +2273,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2266
2273
  count: number;
2267
2274
  withinMs?: number | undefined;
2268
2275
  counter?: {
2269
- events: string[];
2276
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2270
2277
  match?: Record<string, {
2271
2278
  equals?: string | number | boolean | undefined;
2272
2279
  contains?: string | undefined;
@@ -2309,7 +2316,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2309
2316
  launcher?: {
2310
2317
  position?: string | undefined;
2311
2318
  label?: string | undefined;
2312
- icon?: string | undefined;
2313
2319
  enabled?: boolean | undefined;
2314
2320
  animate?: boolean | undefined;
2315
2321
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -2368,6 +2374,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2368
2374
  } | undefined;
2369
2375
  launcher?: {
2370
2376
  size?: string | undefined;
2377
+ icon?: string | undefined;
2371
2378
  background?: string | undefined;
2372
2379
  backgroundHover?: string | undefined;
2373
2380
  color?: string | undefined;
@@ -2478,17 +2485,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2478
2485
  maxHeight?: number | undefined;
2479
2486
  }>, z.ZodObject<{
2480
2487
  type: z.ZodLiteral<"session_metric">;
2481
- key: z.ZodString;
2488
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2482
2489
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2483
2490
  threshold: z.ZodNumber;
2484
2491
  }, "strip", z.ZodTypeAny, {
2485
2492
  type: "session_metric";
2486
- key: string;
2493
+ key: "time_on_page" | "page_views" | "scroll_depth";
2487
2494
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2488
2495
  threshold: number;
2489
2496
  }, {
2490
2497
  type: "session_metric";
2491
- key: string;
2498
+ key: "time_on_page" | "page_views" | "scroll_depth";
2492
2499
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2493
2500
  threshold: number;
2494
2501
  }>, z.ZodObject<{
@@ -2537,7 +2544,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2537
2544
  count: z.ZodNumber;
2538
2545
  withinMs: z.ZodOptional<z.ZodNumber>;
2539
2546
  counter: z.ZodOptional<z.ZodObject<{
2540
- events: z.ZodArray<z.ZodString, "many">;
2547
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
2541
2548
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2542
2549
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2543
2550
  contains: z.ZodOptional<z.ZodString>;
@@ -2549,13 +2556,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2549
2556
  contains?: string | undefined;
2550
2557
  }>>>;
2551
2558
  }, "strip", z.ZodTypeAny, {
2552
- events: string[];
2559
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2553
2560
  match?: Record<string, {
2554
2561
  equals?: string | number | boolean | undefined;
2555
2562
  contains?: string | undefined;
2556
2563
  }> | undefined;
2557
2564
  }, {
2558
- events: string[];
2565
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2559
2566
  match?: Record<string, {
2560
2567
  equals?: string | number | boolean | undefined;
2561
2568
  contains?: string | undefined;
@@ -2568,7 +2575,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2568
2575
  count: number;
2569
2576
  withinMs?: number | undefined;
2570
2577
  counter?: {
2571
- events: string[];
2578
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2572
2579
  match?: Record<string, {
2573
2580
  equals?: string | number | boolean | undefined;
2574
2581
  contains?: string | undefined;
@@ -2581,7 +2588,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2581
2588
  count: number;
2582
2589
  withinMs?: number | undefined;
2583
2590
  counter?: {
2584
- events: string[];
2591
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2585
2592
  match?: Record<string, {
2586
2593
  equals?: string | number | boolean | undefined;
2587
2594
  contains?: string | undefined;
@@ -2616,7 +2623,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2616
2623
  maxHeight?: number | undefined;
2617
2624
  } | {
2618
2625
  type: "session_metric";
2619
- key: string;
2626
+ key: "time_on_page" | "page_views" | "scroll_depth";
2620
2627
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2621
2628
  threshold: number;
2622
2629
  } | {
@@ -2639,7 +2646,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2639
2646
  count: number;
2640
2647
  withinMs?: number | undefined;
2641
2648
  counter?: {
2642
- events: string[];
2649
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2643
2650
  match?: Record<string, {
2644
2651
  equals?: string | number | boolean | undefined;
2645
2652
  contains?: string | undefined;
@@ -2674,7 +2681,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2674
2681
  maxHeight?: number | undefined;
2675
2682
  } | {
2676
2683
  type: "session_metric";
2677
- key: string;
2684
+ key: "time_on_page" | "page_views" | "scroll_depth";
2678
2685
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2679
2686
  threshold: number;
2680
2687
  } | {
@@ -2697,7 +2704,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2697
2704
  count: number;
2698
2705
  withinMs?: number | undefined;
2699
2706
  counter?: {
2700
- events: string[];
2707
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2701
2708
  match?: Record<string, {
2702
2709
  equals?: string | number | boolean | undefined;
2703
2710
  contains?: string | undefined;
@@ -2740,7 +2747,6 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2740
2747
  launcher?: {
2741
2748
  position?: string | undefined;
2742
2749
  label?: string | undefined;
2743
- icon?: string | undefined;
2744
2750
  enabled?: boolean | undefined;
2745
2751
  animate?: boolean | undefined;
2746
2752
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -2799,6 +2805,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2799
2805
  } | undefined;
2800
2806
  launcher?: {
2801
2807
  size?: string | undefined;
2808
+ icon?: string | undefined;
2802
2809
  background?: string | undefined;
2803
2810
  backgroundHover?: string | undefined;
2804
2811
  color?: string | undefined;
@@ -2909,17 +2916,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2909
2916
  maxHeight?: number | undefined;
2910
2917
  }>, z.ZodObject<{
2911
2918
  type: z.ZodLiteral<"session_metric">;
2912
- key: z.ZodString;
2919
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2913
2920
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2914
2921
  threshold: z.ZodNumber;
2915
2922
  }, "strip", z.ZodTypeAny, {
2916
2923
  type: "session_metric";
2917
- key: string;
2924
+ key: "time_on_page" | "page_views" | "scroll_depth";
2918
2925
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2919
2926
  threshold: number;
2920
2927
  }, {
2921
2928
  type: "session_metric";
2922
- key: string;
2929
+ key: "time_on_page" | "page_views" | "scroll_depth";
2923
2930
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2924
2931
  threshold: number;
2925
2932
  }>, z.ZodObject<{
@@ -2968,7 +2975,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2968
2975
  count: z.ZodNumber;
2969
2976
  withinMs: z.ZodOptional<z.ZodNumber>;
2970
2977
  counter: z.ZodOptional<z.ZodObject<{
2971
- events: z.ZodArray<z.ZodString, "many">;
2978
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
2972
2979
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2973
2980
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2974
2981
  contains: z.ZodOptional<z.ZodString>;
@@ -2980,13 +2987,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2980
2987
  contains?: string | undefined;
2981
2988
  }>>>;
2982
2989
  }, "strip", z.ZodTypeAny, {
2983
- events: string[];
2990
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2984
2991
  match?: Record<string, {
2985
2992
  equals?: string | number | boolean | undefined;
2986
2993
  contains?: string | undefined;
2987
2994
  }> | undefined;
2988
2995
  }, {
2989
- events: string[];
2996
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
2990
2997
  match?: Record<string, {
2991
2998
  equals?: string | number | boolean | undefined;
2992
2999
  contains?: string | undefined;
@@ -2999,7 +3006,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2999
3006
  count: number;
3000
3007
  withinMs?: number | undefined;
3001
3008
  counter?: {
3002
- events: string[];
3009
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3003
3010
  match?: Record<string, {
3004
3011
  equals?: string | number | boolean | undefined;
3005
3012
  contains?: string | undefined;
@@ -3012,7 +3019,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3012
3019
  count: number;
3013
3020
  withinMs?: number | undefined;
3014
3021
  counter?: {
3015
- events: string[];
3022
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3016
3023
  match?: Record<string, {
3017
3024
  equals?: string | number | boolean | undefined;
3018
3025
  contains?: string | undefined;
@@ -3047,7 +3054,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3047
3054
  maxHeight?: number | undefined;
3048
3055
  } | {
3049
3056
  type: "session_metric";
3050
- key: string;
3057
+ key: "time_on_page" | "page_views" | "scroll_depth";
3051
3058
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3052
3059
  threshold: number;
3053
3060
  } | {
@@ -3070,7 +3077,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3070
3077
  count: number;
3071
3078
  withinMs?: number | undefined;
3072
3079
  counter?: {
3073
- events: string[];
3080
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3074
3081
  match?: Record<string, {
3075
3082
  equals?: string | number | boolean | undefined;
3076
3083
  contains?: string | undefined;
@@ -3105,7 +3112,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3105
3112
  maxHeight?: number | undefined;
3106
3113
  } | {
3107
3114
  type: "session_metric";
3108
- key: string;
3115
+ key: "time_on_page" | "page_views" | "scroll_depth";
3109
3116
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3110
3117
  threshold: number;
3111
3118
  } | {
@@ -3128,7 +3135,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3128
3135
  count: number;
3129
3136
  withinMs?: number | undefined;
3130
3137
  counter?: {
3131
- events: string[];
3138
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
3132
3139
  match?: Record<string, {
3133
3140
  equals?: string | number | boolean | undefined;
3134
3141
  contains?: string | undefined;
@@ -3318,8 +3325,10 @@ export declare const configSchemas: ({
3318
3325
  size: z.ZodOptional<z.ZodString>;
3319
3326
  shadow: z.ZodOptional<z.ZodString>;
3320
3327
  borderRadius: z.ZodOptional<z.ZodString>;
3328
+ icon: z.ZodOptional<z.ZodString>;
3321
3329
  }, "strip", z.ZodTypeAny, {
3322
3330
  size?: string | undefined;
3331
+ icon?: string | undefined;
3323
3332
  background?: string | undefined;
3324
3333
  backgroundHover?: string | undefined;
3325
3334
  color?: string | undefined;
@@ -3327,6 +3336,7 @@ export declare const configSchemas: ({
3327
3336
  borderRadius?: string | undefined;
3328
3337
  }, {
3329
3338
  size?: string | undefined;
3339
+ icon?: string | undefined;
3330
3340
  background?: string | undefined;
3331
3341
  backgroundHover?: string | undefined;
3332
3342
  color?: string | undefined;
@@ -3546,6 +3556,7 @@ export declare const configSchemas: ({
3546
3556
  } | undefined;
3547
3557
  launcher?: {
3548
3558
  size?: string | undefined;
3559
+ icon?: string | undefined;
3549
3560
  background?: string | undefined;
3550
3561
  backgroundHover?: string | undefined;
3551
3562
  color?: string | undefined;
@@ -3628,6 +3639,7 @@ export declare const configSchemas: ({
3628
3639
  } | undefined;
3629
3640
  launcher?: {
3630
3641
  size?: string | undefined;
3642
+ icon?: string | undefined;
3631
3643
  background?: string | undefined;
3632
3644
  backgroundHover?: string | undefined;
3633
3645
  color?: string | undefined;
@@ -3666,7 +3678,6 @@ export declare const configSchemas: ({
3666
3678
  schema: z.ZodObject<{
3667
3679
  enabled: z.ZodOptional<z.ZodBoolean>;
3668
3680
  label: z.ZodOptional<z.ZodString>;
3669
- icon: z.ZodOptional<z.ZodString>;
3670
3681
  position: z.ZodOptional<z.ZodString>;
3671
3682
  animate: z.ZodOptional<z.ZodBoolean>;
3672
3683
  animationStyle: z.ZodOptional<z.ZodEnum<["pulse", "bounce", "glow"]>>;
@@ -3674,7 +3685,6 @@ export declare const configSchemas: ({
3674
3685
  }, "strict", z.ZodTypeAny, {
3675
3686
  position?: string | undefined;
3676
3687
  label?: string | undefined;
3677
- icon?: string | undefined;
3678
3688
  enabled?: boolean | undefined;
3679
3689
  animate?: boolean | undefined;
3680
3690
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -3682,7 +3692,6 @@ export declare const configSchemas: ({
3682
3692
  }, {
3683
3693
  position?: string | undefined;
3684
3694
  label?: string | undefined;
3685
- icon?: string | undefined;
3686
3695
  enabled?: boolean | undefined;
3687
3696
  animate?: boolean | undefined;
3688
3697
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -3868,8 +3877,10 @@ export declare const configSchemas: ({
3868
3877
  size: z.ZodOptional<z.ZodString>;
3869
3878
  shadow: z.ZodOptional<z.ZodString>;
3870
3879
  borderRadius: z.ZodOptional<z.ZodString>;
3880
+ icon: z.ZodOptional<z.ZodString>;
3871
3881
  }, "strip", z.ZodTypeAny, {
3872
3882
  size?: string | undefined;
3883
+ icon?: string | undefined;
3873
3884
  background?: string | undefined;
3874
3885
  backgroundHover?: string | undefined;
3875
3886
  color?: string | undefined;
@@ -3877,6 +3888,7 @@ export declare const configSchemas: ({
3877
3888
  borderRadius?: string | undefined;
3878
3889
  }, {
3879
3890
  size?: string | undefined;
3891
+ icon?: string | undefined;
3880
3892
  background?: string | undefined;
3881
3893
  backgroundHover?: string | undefined;
3882
3894
  color?: string | undefined;
@@ -4096,6 +4108,7 @@ export declare const configSchemas: ({
4096
4108
  } | undefined;
4097
4109
  launcher?: {
4098
4110
  size?: string | undefined;
4111
+ icon?: string | undefined;
4099
4112
  background?: string | undefined;
4100
4113
  backgroundHover?: string | undefined;
4101
4114
  color?: string | undefined;
@@ -4178,6 +4191,7 @@ export declare const configSchemas: ({
4178
4191
  } | undefined;
4179
4192
  launcher?: {
4180
4193
  size?: string | undefined;
4194
+ icon?: string | undefined;
4181
4195
  background?: string | undefined;
4182
4196
  backgroundHover?: string | undefined;
4183
4197
  color?: string | undefined;
@@ -4214,7 +4228,6 @@ export declare const configSchemas: ({
4214
4228
  launcher: z.ZodOptional<z.ZodObject<{
4215
4229
  enabled: z.ZodOptional<z.ZodBoolean>;
4216
4230
  label: z.ZodOptional<z.ZodString>;
4217
- icon: z.ZodOptional<z.ZodString>;
4218
4231
  position: z.ZodOptional<z.ZodString>;
4219
4232
  animate: z.ZodOptional<z.ZodBoolean>;
4220
4233
  animationStyle: z.ZodOptional<z.ZodEnum<["pulse", "bounce", "glow"]>>;
@@ -4222,7 +4235,6 @@ export declare const configSchemas: ({
4222
4235
  }, "strict", z.ZodTypeAny, {
4223
4236
  position?: string | undefined;
4224
4237
  label?: string | undefined;
4225
- icon?: string | undefined;
4226
4238
  enabled?: boolean | undefined;
4227
4239
  animate?: boolean | undefined;
4228
4240
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -4230,7 +4242,6 @@ export declare const configSchemas: ({
4230
4242
  }, {
4231
4243
  position?: string | undefined;
4232
4244
  label?: string | undefined;
4233
- icon?: string | undefined;
4234
4245
  enabled?: boolean | undefined;
4235
4246
  animate?: boolean | undefined;
4236
4247
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -4313,17 +4324,17 @@ export declare const configSchemas: ({
4313
4324
  maxHeight?: number | undefined;
4314
4325
  }>, z.ZodObject<{
4315
4326
  type: z.ZodLiteral<"session_metric">;
4316
- key: z.ZodString;
4327
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4317
4328
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4318
4329
  threshold: z.ZodNumber;
4319
4330
  }, "strip", z.ZodTypeAny, {
4320
4331
  type: "session_metric";
4321
- key: string;
4332
+ key: "time_on_page" | "page_views" | "scroll_depth";
4322
4333
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4323
4334
  threshold: number;
4324
4335
  }, {
4325
4336
  type: "session_metric";
4326
- key: string;
4337
+ key: "time_on_page" | "page_views" | "scroll_depth";
4327
4338
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4328
4339
  threshold: number;
4329
4340
  }>, z.ZodObject<{
@@ -4372,7 +4383,7 @@ export declare const configSchemas: ({
4372
4383
  count: z.ZodNumber;
4373
4384
  withinMs: z.ZodOptional<z.ZodNumber>;
4374
4385
  counter: z.ZodOptional<z.ZodObject<{
4375
- events: z.ZodArray<z.ZodString, "many">;
4386
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
4376
4387
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4377
4388
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4378
4389
  contains: z.ZodOptional<z.ZodString>;
@@ -4384,13 +4395,13 @@ export declare const configSchemas: ({
4384
4395
  contains?: string | undefined;
4385
4396
  }>>>;
4386
4397
  }, "strip", z.ZodTypeAny, {
4387
- events: string[];
4398
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4388
4399
  match?: Record<string, {
4389
4400
  equals?: string | number | boolean | undefined;
4390
4401
  contains?: string | undefined;
4391
4402
  }> | undefined;
4392
4403
  }, {
4393
- events: string[];
4404
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4394
4405
  match?: Record<string, {
4395
4406
  equals?: string | number | boolean | undefined;
4396
4407
  contains?: string | undefined;
@@ -4403,7 +4414,7 @@ export declare const configSchemas: ({
4403
4414
  count: number;
4404
4415
  withinMs?: number | undefined;
4405
4416
  counter?: {
4406
- events: string[];
4417
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4407
4418
  match?: Record<string, {
4408
4419
  equals?: string | number | boolean | undefined;
4409
4420
  contains?: string | undefined;
@@ -4416,7 +4427,7 @@ export declare const configSchemas: ({
4416
4427
  count: number;
4417
4428
  withinMs?: number | undefined;
4418
4429
  counter?: {
4419
- events: string[];
4430
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4420
4431
  match?: Record<string, {
4421
4432
  equals?: string | number | boolean | undefined;
4422
4433
  contains?: string | undefined;
@@ -4451,7 +4462,7 @@ export declare const configSchemas: ({
4451
4462
  maxHeight?: number | undefined;
4452
4463
  } | {
4453
4464
  type: "session_metric";
4454
- key: string;
4465
+ key: "time_on_page" | "page_views" | "scroll_depth";
4455
4466
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4456
4467
  threshold: number;
4457
4468
  } | {
@@ -4474,7 +4485,7 @@ export declare const configSchemas: ({
4474
4485
  count: number;
4475
4486
  withinMs?: number | undefined;
4476
4487
  counter?: {
4477
- events: string[];
4488
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4478
4489
  match?: Record<string, {
4479
4490
  equals?: string | number | boolean | undefined;
4480
4491
  contains?: string | undefined;
@@ -4509,7 +4520,7 @@ export declare const configSchemas: ({
4509
4520
  maxHeight?: number | undefined;
4510
4521
  } | {
4511
4522
  type: "session_metric";
4512
- key: string;
4523
+ key: "time_on_page" | "page_views" | "scroll_depth";
4513
4524
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4514
4525
  threshold: number;
4515
4526
  } | {
@@ -4532,7 +4543,7 @@ export declare const configSchemas: ({
4532
4543
  count: number;
4533
4544
  withinMs?: number | undefined;
4534
4545
  counter?: {
4535
- events: string[];
4546
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4536
4547
  match?: Record<string, {
4537
4548
  equals?: string | number | boolean | undefined;
4538
4549
  contains?: string | undefined;
@@ -4617,17 +4628,17 @@ export declare const configSchemas: ({
4617
4628
  maxHeight?: number | undefined;
4618
4629
  }>, z.ZodObject<{
4619
4630
  type: z.ZodLiteral<"session_metric">;
4620
- key: z.ZodString;
4631
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4621
4632
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4622
4633
  threshold: z.ZodNumber;
4623
4634
  }, "strip", z.ZodTypeAny, {
4624
4635
  type: "session_metric";
4625
- key: string;
4636
+ key: "time_on_page" | "page_views" | "scroll_depth";
4626
4637
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4627
4638
  threshold: number;
4628
4639
  }, {
4629
4640
  type: "session_metric";
4630
- key: string;
4641
+ key: "time_on_page" | "page_views" | "scroll_depth";
4631
4642
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4632
4643
  threshold: number;
4633
4644
  }>, z.ZodObject<{
@@ -4676,7 +4687,7 @@ export declare const configSchemas: ({
4676
4687
  count: z.ZodNumber;
4677
4688
  withinMs: z.ZodOptional<z.ZodNumber>;
4678
4689
  counter: z.ZodOptional<z.ZodObject<{
4679
- events: z.ZodArray<z.ZodString, "many">;
4690
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
4680
4691
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4681
4692
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4682
4693
  contains: z.ZodOptional<z.ZodString>;
@@ -4688,13 +4699,13 @@ export declare const configSchemas: ({
4688
4699
  contains?: string | undefined;
4689
4700
  }>>>;
4690
4701
  }, "strip", z.ZodTypeAny, {
4691
- events: string[];
4702
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4692
4703
  match?: Record<string, {
4693
4704
  equals?: string | number | boolean | undefined;
4694
4705
  contains?: string | undefined;
4695
4706
  }> | undefined;
4696
4707
  }, {
4697
- events: string[];
4708
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4698
4709
  match?: Record<string, {
4699
4710
  equals?: string | number | boolean | undefined;
4700
4711
  contains?: string | undefined;
@@ -4707,7 +4718,7 @@ export declare const configSchemas: ({
4707
4718
  count: number;
4708
4719
  withinMs?: number | undefined;
4709
4720
  counter?: {
4710
- events: string[];
4721
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4711
4722
  match?: Record<string, {
4712
4723
  equals?: string | number | boolean | undefined;
4713
4724
  contains?: string | undefined;
@@ -4720,7 +4731,7 @@ export declare const configSchemas: ({
4720
4731
  count: number;
4721
4732
  withinMs?: number | undefined;
4722
4733
  counter?: {
4723
- events: string[];
4734
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4724
4735
  match?: Record<string, {
4725
4736
  equals?: string | number | boolean | undefined;
4726
4737
  contains?: string | undefined;
@@ -4755,7 +4766,7 @@ export declare const configSchemas: ({
4755
4766
  maxHeight?: number | undefined;
4756
4767
  } | {
4757
4768
  type: "session_metric";
4758
- key: string;
4769
+ key: "time_on_page" | "page_views" | "scroll_depth";
4759
4770
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4760
4771
  threshold: number;
4761
4772
  } | {
@@ -4778,7 +4789,7 @@ export declare const configSchemas: ({
4778
4789
  count: number;
4779
4790
  withinMs?: number | undefined;
4780
4791
  counter?: {
4781
- events: string[];
4792
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4782
4793
  match?: Record<string, {
4783
4794
  equals?: string | number | boolean | undefined;
4784
4795
  contains?: string | undefined;
@@ -4813,7 +4824,7 @@ export declare const configSchemas: ({
4813
4824
  maxHeight?: number | undefined;
4814
4825
  } | {
4815
4826
  type: "session_metric";
4816
- key: string;
4827
+ key: "time_on_page" | "page_views" | "scroll_depth";
4817
4828
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4818
4829
  threshold: number;
4819
4830
  } | {
@@ -4836,7 +4847,7 @@ export declare const configSchemas: ({
4836
4847
  count: number;
4837
4848
  withinMs?: number | undefined;
4838
4849
  counter?: {
4839
- events: string[];
4850
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4840
4851
  match?: Record<string, {
4841
4852
  equals?: string | number | boolean | undefined;
4842
4853
  contains?: string | undefined;
@@ -4921,17 +4932,17 @@ export declare const configSchemas: ({
4921
4932
  maxHeight?: number | undefined;
4922
4933
  }>, z.ZodObject<{
4923
4934
  type: z.ZodLiteral<"session_metric">;
4924
- key: z.ZodString;
4935
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4925
4936
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4926
4937
  threshold: z.ZodNumber;
4927
4938
  }, "strip", z.ZodTypeAny, {
4928
4939
  type: "session_metric";
4929
- key: string;
4940
+ key: "time_on_page" | "page_views" | "scroll_depth";
4930
4941
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4931
4942
  threshold: number;
4932
4943
  }, {
4933
4944
  type: "session_metric";
4934
- key: string;
4945
+ key: "time_on_page" | "page_views" | "scroll_depth";
4935
4946
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4936
4947
  threshold: number;
4937
4948
  }>, z.ZodObject<{
@@ -4980,7 +4991,7 @@ export declare const configSchemas: ({
4980
4991
  count: z.ZodNumber;
4981
4992
  withinMs: z.ZodOptional<z.ZodNumber>;
4982
4993
  counter: z.ZodOptional<z.ZodObject<{
4983
- events: z.ZodArray<z.ZodString, "many">;
4994
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
4984
4995
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4985
4996
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4986
4997
  contains: z.ZodOptional<z.ZodString>;
@@ -4992,13 +5003,13 @@ export declare const configSchemas: ({
4992
5003
  contains?: string | undefined;
4993
5004
  }>>>;
4994
5005
  }, "strip", z.ZodTypeAny, {
4995
- events: string[];
5006
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
4996
5007
  match?: Record<string, {
4997
5008
  equals?: string | number | boolean | undefined;
4998
5009
  contains?: string | undefined;
4999
5010
  }> | undefined;
5000
5011
  }, {
5001
- events: string[];
5012
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5002
5013
  match?: Record<string, {
5003
5014
  equals?: string | number | boolean | undefined;
5004
5015
  contains?: string | undefined;
@@ -5011,7 +5022,7 @@ export declare const configSchemas: ({
5011
5022
  count: number;
5012
5023
  withinMs?: number | undefined;
5013
5024
  counter?: {
5014
- events: string[];
5025
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5015
5026
  match?: Record<string, {
5016
5027
  equals?: string | number | boolean | undefined;
5017
5028
  contains?: string | undefined;
@@ -5024,7 +5035,7 @@ export declare const configSchemas: ({
5024
5035
  count: number;
5025
5036
  withinMs?: number | undefined;
5026
5037
  counter?: {
5027
- events: string[];
5038
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5028
5039
  match?: Record<string, {
5029
5040
  equals?: string | number | boolean | undefined;
5030
5041
  contains?: string | undefined;
@@ -5059,7 +5070,7 @@ export declare const configSchemas: ({
5059
5070
  maxHeight?: number | undefined;
5060
5071
  } | {
5061
5072
  type: "session_metric";
5062
- key: string;
5073
+ key: "time_on_page" | "page_views" | "scroll_depth";
5063
5074
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5064
5075
  threshold: number;
5065
5076
  } | {
@@ -5082,7 +5093,7 @@ export declare const configSchemas: ({
5082
5093
  count: number;
5083
5094
  withinMs?: number | undefined;
5084
5095
  counter?: {
5085
- events: string[];
5096
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5086
5097
  match?: Record<string, {
5087
5098
  equals?: string | number | boolean | undefined;
5088
5099
  contains?: string | undefined;
@@ -5117,7 +5128,7 @@ export declare const configSchemas: ({
5117
5128
  maxHeight?: number | undefined;
5118
5129
  } | {
5119
5130
  type: "session_metric";
5120
- key: string;
5131
+ key: "time_on_page" | "page_views" | "scroll_depth";
5121
5132
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5122
5133
  threshold: number;
5123
5134
  } | {
@@ -5140,7 +5151,7 @@ export declare const configSchemas: ({
5140
5151
  count: number;
5141
5152
  withinMs?: number | undefined;
5142
5153
  counter?: {
5143
- events: string[];
5154
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5144
5155
  match?: Record<string, {
5145
5156
  equals?: string | number | boolean | undefined;
5146
5157
  contains?: string | undefined;
@@ -5183,7 +5194,6 @@ export declare const configSchemas: ({
5183
5194
  launcher?: {
5184
5195
  position?: string | undefined;
5185
5196
  label?: string | undefined;
5186
- icon?: string | undefined;
5187
5197
  enabled?: boolean | undefined;
5188
5198
  animate?: boolean | undefined;
5189
5199
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -5242,6 +5252,7 @@ export declare const configSchemas: ({
5242
5252
  } | undefined;
5243
5253
  launcher?: {
5244
5254
  size?: string | undefined;
5255
+ icon?: string | undefined;
5245
5256
  background?: string | undefined;
5246
5257
  backgroundHover?: string | undefined;
5247
5258
  color?: string | undefined;
@@ -5352,17 +5363,17 @@ export declare const configSchemas: ({
5352
5363
  maxHeight?: number | undefined;
5353
5364
  }>, z.ZodObject<{
5354
5365
  type: z.ZodLiteral<"session_metric">;
5355
- key: z.ZodString;
5366
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
5356
5367
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
5357
5368
  threshold: z.ZodNumber;
5358
5369
  }, "strip", z.ZodTypeAny, {
5359
5370
  type: "session_metric";
5360
- key: string;
5371
+ key: "time_on_page" | "page_views" | "scroll_depth";
5361
5372
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5362
5373
  threshold: number;
5363
5374
  }, {
5364
5375
  type: "session_metric";
5365
- key: string;
5376
+ key: "time_on_page" | "page_views" | "scroll_depth";
5366
5377
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5367
5378
  threshold: number;
5368
5379
  }>, z.ZodObject<{
@@ -5411,7 +5422,7 @@ export declare const configSchemas: ({
5411
5422
  count: z.ZodNumber;
5412
5423
  withinMs: z.ZodOptional<z.ZodNumber>;
5413
5424
  counter: z.ZodOptional<z.ZodObject<{
5414
- events: z.ZodArray<z.ZodString, "many">;
5425
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
5415
5426
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5416
5427
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5417
5428
  contains: z.ZodOptional<z.ZodString>;
@@ -5423,13 +5434,13 @@ export declare const configSchemas: ({
5423
5434
  contains?: string | undefined;
5424
5435
  }>>>;
5425
5436
  }, "strip", z.ZodTypeAny, {
5426
- events: string[];
5437
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5427
5438
  match?: Record<string, {
5428
5439
  equals?: string | number | boolean | undefined;
5429
5440
  contains?: string | undefined;
5430
5441
  }> | undefined;
5431
5442
  }, {
5432
- events: string[];
5443
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5433
5444
  match?: Record<string, {
5434
5445
  equals?: string | number | boolean | undefined;
5435
5446
  contains?: string | undefined;
@@ -5442,7 +5453,7 @@ export declare const configSchemas: ({
5442
5453
  count: number;
5443
5454
  withinMs?: number | undefined;
5444
5455
  counter?: {
5445
- events: string[];
5456
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5446
5457
  match?: Record<string, {
5447
5458
  equals?: string | number | boolean | undefined;
5448
5459
  contains?: string | undefined;
@@ -5455,7 +5466,7 @@ export declare const configSchemas: ({
5455
5466
  count: number;
5456
5467
  withinMs?: number | undefined;
5457
5468
  counter?: {
5458
- events: string[];
5469
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5459
5470
  match?: Record<string, {
5460
5471
  equals?: string | number | boolean | undefined;
5461
5472
  contains?: string | undefined;
@@ -5490,7 +5501,7 @@ export declare const configSchemas: ({
5490
5501
  maxHeight?: number | undefined;
5491
5502
  } | {
5492
5503
  type: "session_metric";
5493
- key: string;
5504
+ key: "time_on_page" | "page_views" | "scroll_depth";
5494
5505
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5495
5506
  threshold: number;
5496
5507
  } | {
@@ -5513,7 +5524,7 @@ export declare const configSchemas: ({
5513
5524
  count: number;
5514
5525
  withinMs?: number | undefined;
5515
5526
  counter?: {
5516
- events: string[];
5527
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5517
5528
  match?: Record<string, {
5518
5529
  equals?: string | number | boolean | undefined;
5519
5530
  contains?: string | undefined;
@@ -5548,7 +5559,7 @@ export declare const configSchemas: ({
5548
5559
  maxHeight?: number | undefined;
5549
5560
  } | {
5550
5561
  type: "session_metric";
5551
- key: string;
5562
+ key: "time_on_page" | "page_views" | "scroll_depth";
5552
5563
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5553
5564
  threshold: number;
5554
5565
  } | {
@@ -5571,7 +5582,7 @@ export declare const configSchemas: ({
5571
5582
  count: number;
5572
5583
  withinMs?: number | undefined;
5573
5584
  counter?: {
5574
- events: string[];
5585
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5575
5586
  match?: Record<string, {
5576
5587
  equals?: string | number | boolean | undefined;
5577
5588
  contains?: string | undefined;
@@ -5614,7 +5625,6 @@ export declare const configSchemas: ({
5614
5625
  launcher?: {
5615
5626
  position?: string | undefined;
5616
5627
  label?: string | undefined;
5617
- icon?: string | undefined;
5618
5628
  enabled?: boolean | undefined;
5619
5629
  animate?: boolean | undefined;
5620
5630
  animationStyle?: "pulse" | "bounce" | "glow" | undefined;
@@ -5673,6 +5683,7 @@ export declare const configSchemas: ({
5673
5683
  } | undefined;
5674
5684
  launcher?: {
5675
5685
  size?: string | undefined;
5686
+ icon?: string | undefined;
5676
5687
  background?: string | undefined;
5677
5688
  backgroundHover?: string | undefined;
5678
5689
  color?: string | undefined;
@@ -5783,17 +5794,17 @@ export declare const configSchemas: ({
5783
5794
  maxHeight?: number | undefined;
5784
5795
  }>, z.ZodObject<{
5785
5796
  type: z.ZodLiteral<"session_metric">;
5786
- key: z.ZodString;
5797
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
5787
5798
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
5788
5799
  threshold: z.ZodNumber;
5789
5800
  }, "strip", z.ZodTypeAny, {
5790
5801
  type: "session_metric";
5791
- key: string;
5802
+ key: "time_on_page" | "page_views" | "scroll_depth";
5792
5803
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5793
5804
  threshold: number;
5794
5805
  }, {
5795
5806
  type: "session_metric";
5796
- key: string;
5807
+ key: "time_on_page" | "page_views" | "scroll_depth";
5797
5808
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5798
5809
  threshold: number;
5799
5810
  }>, z.ZodObject<{
@@ -5842,7 +5853,7 @@ export declare const configSchemas: ({
5842
5853
  count: z.ZodNumber;
5843
5854
  withinMs: z.ZodOptional<z.ZodNumber>;
5844
5855
  counter: z.ZodOptional<z.ZodObject<{
5845
- events: z.ZodArray<z.ZodString, "many">;
5856
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
5846
5857
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5847
5858
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5848
5859
  contains: z.ZodOptional<z.ZodString>;
@@ -5854,13 +5865,13 @@ export declare const configSchemas: ({
5854
5865
  contains?: string | undefined;
5855
5866
  }>>>;
5856
5867
  }, "strip", z.ZodTypeAny, {
5857
- events: string[];
5868
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5858
5869
  match?: Record<string, {
5859
5870
  equals?: string | number | boolean | undefined;
5860
5871
  contains?: string | undefined;
5861
5872
  }> | undefined;
5862
5873
  }, {
5863
- events: string[];
5874
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5864
5875
  match?: Record<string, {
5865
5876
  equals?: string | number | boolean | undefined;
5866
5877
  contains?: string | undefined;
@@ -5873,7 +5884,7 @@ export declare const configSchemas: ({
5873
5884
  count: number;
5874
5885
  withinMs?: number | undefined;
5875
5886
  counter?: {
5876
- events: string[];
5887
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5877
5888
  match?: Record<string, {
5878
5889
  equals?: string | number | boolean | undefined;
5879
5890
  contains?: string | undefined;
@@ -5886,7 +5897,7 @@ export declare const configSchemas: ({
5886
5897
  count: number;
5887
5898
  withinMs?: number | undefined;
5888
5899
  counter?: {
5889
- events: string[];
5900
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5890
5901
  match?: Record<string, {
5891
5902
  equals?: string | number | boolean | undefined;
5892
5903
  contains?: string | undefined;
@@ -5921,7 +5932,7 @@ export declare const configSchemas: ({
5921
5932
  maxHeight?: number | undefined;
5922
5933
  } | {
5923
5934
  type: "session_metric";
5924
- key: string;
5935
+ key: "time_on_page" | "page_views" | "scroll_depth";
5925
5936
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5926
5937
  threshold: number;
5927
5938
  } | {
@@ -5944,7 +5955,7 @@ export declare const configSchemas: ({
5944
5955
  count: number;
5945
5956
  withinMs?: number | undefined;
5946
5957
  counter?: {
5947
- events: string[];
5958
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
5948
5959
  match?: Record<string, {
5949
5960
  equals?: string | number | boolean | undefined;
5950
5961
  contains?: string | undefined;
@@ -5979,7 +5990,7 @@ export declare const configSchemas: ({
5979
5990
  maxHeight?: number | undefined;
5980
5991
  } | {
5981
5992
  type: "session_metric";
5982
- key: string;
5993
+ key: "time_on_page" | "page_views" | "scroll_depth";
5983
5994
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5984
5995
  threshold: number;
5985
5996
  } | {
@@ -6002,7 +6013,7 @@ export declare const configSchemas: ({
6002
6013
  count: number;
6003
6014
  withinMs?: number | undefined;
6004
6015
  counter?: {
6005
- events: string[];
6016
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
6006
6017
  match?: Record<string, {
6007
6018
  equals?: string | number | boolean | undefined;
6008
6019
  contains?: string | undefined;