@syntrologie/runtime-sdk 2.8.0-canary.63 → 2.8.0-canary.64

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.
@@ -1446,17 +1446,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1446
1446
  maxHeight?: number | undefined;
1447
1447
  }>, z.ZodObject<{
1448
1448
  type: z.ZodLiteral<"session_metric">;
1449
- key: z.ZodString;
1449
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1450
1450
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1451
1451
  threshold: z.ZodNumber;
1452
1452
  }, "strip", z.ZodTypeAny, {
1453
1453
  type: "session_metric";
1454
- key: string;
1454
+ key: "time_on_page" | "page_views" | "scroll_depth";
1455
1455
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1456
1456
  threshold: number;
1457
1457
  }, {
1458
1458
  type: "session_metric";
1459
- key: string;
1459
+ key: "time_on_page" | "page_views" | "scroll_depth";
1460
1460
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1461
1461
  threshold: number;
1462
1462
  }>, z.ZodObject<{
@@ -1505,7 +1505,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1505
1505
  count: z.ZodNumber;
1506
1506
  withinMs: z.ZodOptional<z.ZodNumber>;
1507
1507
  counter: z.ZodOptional<z.ZodObject<{
1508
- 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">;
1509
1509
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1510
1510
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1511
1511
  contains: z.ZodOptional<z.ZodString>;
@@ -1517,13 +1517,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1517
1517
  contains?: string | undefined;
1518
1518
  }>>>;
1519
1519
  }, "strip", z.ZodTypeAny, {
1520
- 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")[];
1521
1521
  match?: Record<string, {
1522
1522
  equals?: string | number | boolean | undefined;
1523
1523
  contains?: string | undefined;
1524
1524
  }> | undefined;
1525
1525
  }, {
1526
- 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")[];
1527
1527
  match?: Record<string, {
1528
1528
  equals?: string | number | boolean | undefined;
1529
1529
  contains?: string | undefined;
@@ -1536,7 +1536,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1536
1536
  count: number;
1537
1537
  withinMs?: number | undefined;
1538
1538
  counter?: {
1539
- 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")[];
1540
1540
  match?: Record<string, {
1541
1541
  equals?: string | number | boolean | undefined;
1542
1542
  contains?: string | undefined;
@@ -1549,7 +1549,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1549
1549
  count: number;
1550
1550
  withinMs?: number | undefined;
1551
1551
  counter?: {
1552
- 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")[];
1553
1553
  match?: Record<string, {
1554
1554
  equals?: string | number | boolean | undefined;
1555
1555
  contains?: string | undefined;
@@ -1584,7 +1584,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1584
1584
  maxHeight?: number | undefined;
1585
1585
  } | {
1586
1586
  type: "session_metric";
1587
- key: string;
1587
+ key: "time_on_page" | "page_views" | "scroll_depth";
1588
1588
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1589
1589
  threshold: number;
1590
1590
  } | {
@@ -1607,7 +1607,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1607
1607
  count: number;
1608
1608
  withinMs?: number | undefined;
1609
1609
  counter?: {
1610
- 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")[];
1611
1611
  match?: Record<string, {
1612
1612
  equals?: string | number | boolean | undefined;
1613
1613
  contains?: string | undefined;
@@ -1642,7 +1642,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1642
1642
  maxHeight?: number | undefined;
1643
1643
  } | {
1644
1644
  type: "session_metric";
1645
- key: string;
1645
+ key: "time_on_page" | "page_views" | "scroll_depth";
1646
1646
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1647
1647
  threshold: number;
1648
1648
  } | {
@@ -1665,7 +1665,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1665
1665
  count: number;
1666
1666
  withinMs?: number | undefined;
1667
1667
  counter?: {
1668
- 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")[];
1669
1669
  match?: Record<string, {
1670
1670
  equals?: string | number | boolean | undefined;
1671
1671
  contains?: string | undefined;
@@ -1750,17 +1750,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1750
1750
  maxHeight?: number | undefined;
1751
1751
  }>, z.ZodObject<{
1752
1752
  type: z.ZodLiteral<"session_metric">;
1753
- key: z.ZodString;
1753
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
1754
1754
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
1755
1755
  threshold: z.ZodNumber;
1756
1756
  }, "strip", z.ZodTypeAny, {
1757
1757
  type: "session_metric";
1758
- key: string;
1758
+ key: "time_on_page" | "page_views" | "scroll_depth";
1759
1759
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1760
1760
  threshold: number;
1761
1761
  }, {
1762
1762
  type: "session_metric";
1763
- key: string;
1763
+ key: "time_on_page" | "page_views" | "scroll_depth";
1764
1764
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1765
1765
  threshold: number;
1766
1766
  }>, z.ZodObject<{
@@ -1809,7 +1809,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1809
1809
  count: z.ZodNumber;
1810
1810
  withinMs: z.ZodOptional<z.ZodNumber>;
1811
1811
  counter: z.ZodOptional<z.ZodObject<{
1812
- 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">;
1813
1813
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1814
1814
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1815
1815
  contains: z.ZodOptional<z.ZodString>;
@@ -1821,13 +1821,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1821
1821
  contains?: string | undefined;
1822
1822
  }>>>;
1823
1823
  }, "strip", z.ZodTypeAny, {
1824
- 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")[];
1825
1825
  match?: Record<string, {
1826
1826
  equals?: string | number | boolean | undefined;
1827
1827
  contains?: string | undefined;
1828
1828
  }> | undefined;
1829
1829
  }, {
1830
- 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")[];
1831
1831
  match?: Record<string, {
1832
1832
  equals?: string | number | boolean | undefined;
1833
1833
  contains?: string | undefined;
@@ -1840,7 +1840,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1840
1840
  count: number;
1841
1841
  withinMs?: number | undefined;
1842
1842
  counter?: {
1843
- 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")[];
1844
1844
  match?: Record<string, {
1845
1845
  equals?: string | number | boolean | undefined;
1846
1846
  contains?: string | undefined;
@@ -1853,7 +1853,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1853
1853
  count: number;
1854
1854
  withinMs?: number | undefined;
1855
1855
  counter?: {
1856
- 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")[];
1857
1857
  match?: Record<string, {
1858
1858
  equals?: string | number | boolean | undefined;
1859
1859
  contains?: string | undefined;
@@ -1888,7 +1888,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1888
1888
  maxHeight?: number | undefined;
1889
1889
  } | {
1890
1890
  type: "session_metric";
1891
- key: string;
1891
+ key: "time_on_page" | "page_views" | "scroll_depth";
1892
1892
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1893
1893
  threshold: number;
1894
1894
  } | {
@@ -1911,7 +1911,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1911
1911
  count: number;
1912
1912
  withinMs?: number | undefined;
1913
1913
  counter?: {
1914
- 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")[];
1915
1915
  match?: Record<string, {
1916
1916
  equals?: string | number | boolean | undefined;
1917
1917
  contains?: string | undefined;
@@ -1946,7 +1946,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1946
1946
  maxHeight?: number | undefined;
1947
1947
  } | {
1948
1948
  type: "session_metric";
1949
- key: string;
1949
+ key: "time_on_page" | "page_views" | "scroll_depth";
1950
1950
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
1951
1951
  threshold: number;
1952
1952
  } | {
@@ -1969,7 +1969,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
1969
1969
  count: number;
1970
1970
  withinMs?: number | undefined;
1971
1971
  counter?: {
1972
- 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")[];
1973
1973
  match?: Record<string, {
1974
1974
  equals?: string | number | boolean | undefined;
1975
1975
  contains?: string | undefined;
@@ -2054,17 +2054,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2054
2054
  maxHeight?: number | undefined;
2055
2055
  }>, z.ZodObject<{
2056
2056
  type: z.ZodLiteral<"session_metric">;
2057
- key: z.ZodString;
2057
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2058
2058
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2059
2059
  threshold: z.ZodNumber;
2060
2060
  }, "strip", z.ZodTypeAny, {
2061
2061
  type: "session_metric";
2062
- key: string;
2062
+ key: "time_on_page" | "page_views" | "scroll_depth";
2063
2063
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2064
2064
  threshold: number;
2065
2065
  }, {
2066
2066
  type: "session_metric";
2067
- key: string;
2067
+ key: "time_on_page" | "page_views" | "scroll_depth";
2068
2068
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2069
2069
  threshold: number;
2070
2070
  }>, z.ZodObject<{
@@ -2113,7 +2113,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2113
2113
  count: z.ZodNumber;
2114
2114
  withinMs: z.ZodOptional<z.ZodNumber>;
2115
2115
  counter: z.ZodOptional<z.ZodObject<{
2116
- 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">;
2117
2117
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2118
2118
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2119
2119
  contains: z.ZodOptional<z.ZodString>;
@@ -2125,13 +2125,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2125
2125
  contains?: string | undefined;
2126
2126
  }>>>;
2127
2127
  }, "strip", z.ZodTypeAny, {
2128
- 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")[];
2129
2129
  match?: Record<string, {
2130
2130
  equals?: string | number | boolean | undefined;
2131
2131
  contains?: string | undefined;
2132
2132
  }> | undefined;
2133
2133
  }, {
2134
- 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")[];
2135
2135
  match?: Record<string, {
2136
2136
  equals?: string | number | boolean | undefined;
2137
2137
  contains?: string | undefined;
@@ -2144,7 +2144,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2144
2144
  count: number;
2145
2145
  withinMs?: number | undefined;
2146
2146
  counter?: {
2147
- 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")[];
2148
2148
  match?: Record<string, {
2149
2149
  equals?: string | number | boolean | undefined;
2150
2150
  contains?: string | undefined;
@@ -2157,7 +2157,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2157
2157
  count: number;
2158
2158
  withinMs?: number | undefined;
2159
2159
  counter?: {
2160
- 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")[];
2161
2161
  match?: Record<string, {
2162
2162
  equals?: string | number | boolean | undefined;
2163
2163
  contains?: string | undefined;
@@ -2192,7 +2192,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2192
2192
  maxHeight?: number | undefined;
2193
2193
  } | {
2194
2194
  type: "session_metric";
2195
- key: string;
2195
+ key: "time_on_page" | "page_views" | "scroll_depth";
2196
2196
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2197
2197
  threshold: number;
2198
2198
  } | {
@@ -2215,7 +2215,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2215
2215
  count: number;
2216
2216
  withinMs?: number | undefined;
2217
2217
  counter?: {
2218
- 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")[];
2219
2219
  match?: Record<string, {
2220
2220
  equals?: string | number | boolean | undefined;
2221
2221
  contains?: string | undefined;
@@ -2250,7 +2250,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2250
2250
  maxHeight?: number | undefined;
2251
2251
  } | {
2252
2252
  type: "session_metric";
2253
- key: string;
2253
+ key: "time_on_page" | "page_views" | "scroll_depth";
2254
2254
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2255
2255
  threshold: number;
2256
2256
  } | {
@@ -2273,7 +2273,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2273
2273
  count: number;
2274
2274
  withinMs?: number | undefined;
2275
2275
  counter?: {
2276
- 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")[];
2277
2277
  match?: Record<string, {
2278
2278
  equals?: string | number | boolean | undefined;
2279
2279
  contains?: string | undefined;
@@ -2485,17 +2485,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2485
2485
  maxHeight?: number | undefined;
2486
2486
  }>, z.ZodObject<{
2487
2487
  type: z.ZodLiteral<"session_metric">;
2488
- key: z.ZodString;
2488
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2489
2489
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2490
2490
  threshold: z.ZodNumber;
2491
2491
  }, "strip", z.ZodTypeAny, {
2492
2492
  type: "session_metric";
2493
- key: string;
2493
+ key: "time_on_page" | "page_views" | "scroll_depth";
2494
2494
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2495
2495
  threshold: number;
2496
2496
  }, {
2497
2497
  type: "session_metric";
2498
- key: string;
2498
+ key: "time_on_page" | "page_views" | "scroll_depth";
2499
2499
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2500
2500
  threshold: number;
2501
2501
  }>, z.ZodObject<{
@@ -2544,7 +2544,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2544
2544
  count: z.ZodNumber;
2545
2545
  withinMs: z.ZodOptional<z.ZodNumber>;
2546
2546
  counter: z.ZodOptional<z.ZodObject<{
2547
- 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">;
2548
2548
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2549
2549
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2550
2550
  contains: z.ZodOptional<z.ZodString>;
@@ -2556,13 +2556,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2556
2556
  contains?: string | undefined;
2557
2557
  }>>>;
2558
2558
  }, "strip", z.ZodTypeAny, {
2559
- 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")[];
2560
2560
  match?: Record<string, {
2561
2561
  equals?: string | number | boolean | undefined;
2562
2562
  contains?: string | undefined;
2563
2563
  }> | undefined;
2564
2564
  }, {
2565
- 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")[];
2566
2566
  match?: Record<string, {
2567
2567
  equals?: string | number | boolean | undefined;
2568
2568
  contains?: string | undefined;
@@ -2575,7 +2575,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2575
2575
  count: number;
2576
2576
  withinMs?: number | undefined;
2577
2577
  counter?: {
2578
- 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")[];
2579
2579
  match?: Record<string, {
2580
2580
  equals?: string | number | boolean | undefined;
2581
2581
  contains?: string | undefined;
@@ -2588,7 +2588,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2588
2588
  count: number;
2589
2589
  withinMs?: number | undefined;
2590
2590
  counter?: {
2591
- 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")[];
2592
2592
  match?: Record<string, {
2593
2593
  equals?: string | number | boolean | undefined;
2594
2594
  contains?: string | undefined;
@@ -2623,7 +2623,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2623
2623
  maxHeight?: number | undefined;
2624
2624
  } | {
2625
2625
  type: "session_metric";
2626
- key: string;
2626
+ key: "time_on_page" | "page_views" | "scroll_depth";
2627
2627
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2628
2628
  threshold: number;
2629
2629
  } | {
@@ -2646,7 +2646,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2646
2646
  count: number;
2647
2647
  withinMs?: number | undefined;
2648
2648
  counter?: {
2649
- 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")[];
2650
2650
  match?: Record<string, {
2651
2651
  equals?: string | number | boolean | undefined;
2652
2652
  contains?: string | undefined;
@@ -2681,7 +2681,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2681
2681
  maxHeight?: number | undefined;
2682
2682
  } | {
2683
2683
  type: "session_metric";
2684
- key: string;
2684
+ key: "time_on_page" | "page_views" | "scroll_depth";
2685
2685
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2686
2686
  threshold: number;
2687
2687
  } | {
@@ -2704,7 +2704,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2704
2704
  count: number;
2705
2705
  withinMs?: number | undefined;
2706
2706
  counter?: {
2707
- 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")[];
2708
2708
  match?: Record<string, {
2709
2709
  equals?: string | number | boolean | undefined;
2710
2710
  contains?: string | undefined;
@@ -2916,17 +2916,17 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2916
2916
  maxHeight?: number | undefined;
2917
2917
  }>, z.ZodObject<{
2918
2918
  type: z.ZodLiteral<"session_metric">;
2919
- key: z.ZodString;
2919
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
2920
2920
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
2921
2921
  threshold: z.ZodNumber;
2922
2922
  }, "strip", z.ZodTypeAny, {
2923
2923
  type: "session_metric";
2924
- key: string;
2924
+ key: "time_on_page" | "page_views" | "scroll_depth";
2925
2925
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2926
2926
  threshold: number;
2927
2927
  }, {
2928
2928
  type: "session_metric";
2929
- key: string;
2929
+ key: "time_on_page" | "page_views" | "scroll_depth";
2930
2930
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
2931
2931
  threshold: number;
2932
2932
  }>, z.ZodObject<{
@@ -2975,7 +2975,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2975
2975
  count: z.ZodNumber;
2976
2976
  withinMs: z.ZodOptional<z.ZodNumber>;
2977
2977
  counter: z.ZodOptional<z.ZodObject<{
2978
- 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">;
2979
2979
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2980
2980
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2981
2981
  contains: z.ZodOptional<z.ZodString>;
@@ -2987,13 +2987,13 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
2987
2987
  contains?: string | undefined;
2988
2988
  }>>>;
2989
2989
  }, "strip", z.ZodTypeAny, {
2990
- 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")[];
2991
2991
  match?: Record<string, {
2992
2992
  equals?: string | number | boolean | undefined;
2993
2993
  contains?: string | undefined;
2994
2994
  }> | undefined;
2995
2995
  }, {
2996
- 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")[];
2997
2997
  match?: Record<string, {
2998
2998
  equals?: string | number | boolean | undefined;
2999
2999
  contains?: string | undefined;
@@ -3006,7 +3006,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3006
3006
  count: number;
3007
3007
  withinMs?: number | undefined;
3008
3008
  counter?: {
3009
- 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")[];
3010
3010
  match?: Record<string, {
3011
3011
  equals?: string | number | boolean | undefined;
3012
3012
  contains?: string | undefined;
@@ -3019,7 +3019,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3019
3019
  count: number;
3020
3020
  withinMs?: number | undefined;
3021
3021
  counter?: {
3022
- 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")[];
3023
3023
  match?: Record<string, {
3024
3024
  equals?: string | number | boolean | undefined;
3025
3025
  contains?: string | undefined;
@@ -3054,7 +3054,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3054
3054
  maxHeight?: number | undefined;
3055
3055
  } | {
3056
3056
  type: "session_metric";
3057
- key: string;
3057
+ key: "time_on_page" | "page_views" | "scroll_depth";
3058
3058
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3059
3059
  threshold: number;
3060
3060
  } | {
@@ -3077,7 +3077,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3077
3077
  count: number;
3078
3078
  withinMs?: number | undefined;
3079
3079
  counter?: {
3080
- 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")[];
3081
3081
  match?: Record<string, {
3082
3082
  equals?: string | number | boolean | undefined;
3083
3083
  contains?: string | undefined;
@@ -3112,7 +3112,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3112
3112
  maxHeight?: number | undefined;
3113
3113
  } | {
3114
3114
  type: "session_metric";
3115
- key: string;
3115
+ key: "time_on_page" | "page_views" | "scroll_depth";
3116
3116
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
3117
3117
  threshold: number;
3118
3118
  } | {
@@ -3135,7 +3135,7 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
3135
3135
  count: number;
3136
3136
  withinMs?: number | undefined;
3137
3137
  counter?: {
3138
- 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")[];
3139
3139
  match?: Record<string, {
3140
3140
  equals?: string | number | boolean | undefined;
3141
3141
  contains?: string | undefined;
@@ -4324,17 +4324,17 @@ export declare const configSchemas: ({
4324
4324
  maxHeight?: number | undefined;
4325
4325
  }>, z.ZodObject<{
4326
4326
  type: z.ZodLiteral<"session_metric">;
4327
- key: z.ZodString;
4327
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4328
4328
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4329
4329
  threshold: z.ZodNumber;
4330
4330
  }, "strip", z.ZodTypeAny, {
4331
4331
  type: "session_metric";
4332
- key: string;
4332
+ key: "time_on_page" | "page_views" | "scroll_depth";
4333
4333
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4334
4334
  threshold: number;
4335
4335
  }, {
4336
4336
  type: "session_metric";
4337
- key: string;
4337
+ key: "time_on_page" | "page_views" | "scroll_depth";
4338
4338
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4339
4339
  threshold: number;
4340
4340
  }>, z.ZodObject<{
@@ -4383,7 +4383,7 @@ export declare const configSchemas: ({
4383
4383
  count: z.ZodNumber;
4384
4384
  withinMs: z.ZodOptional<z.ZodNumber>;
4385
4385
  counter: z.ZodOptional<z.ZodObject<{
4386
- 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">;
4387
4387
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4388
4388
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4389
4389
  contains: z.ZodOptional<z.ZodString>;
@@ -4395,13 +4395,13 @@ export declare const configSchemas: ({
4395
4395
  contains?: string | undefined;
4396
4396
  }>>>;
4397
4397
  }, "strip", z.ZodTypeAny, {
4398
- 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")[];
4399
4399
  match?: Record<string, {
4400
4400
  equals?: string | number | boolean | undefined;
4401
4401
  contains?: string | undefined;
4402
4402
  }> | undefined;
4403
4403
  }, {
4404
- 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")[];
4405
4405
  match?: Record<string, {
4406
4406
  equals?: string | number | boolean | undefined;
4407
4407
  contains?: string | undefined;
@@ -4414,7 +4414,7 @@ export declare const configSchemas: ({
4414
4414
  count: number;
4415
4415
  withinMs?: number | undefined;
4416
4416
  counter?: {
4417
- 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")[];
4418
4418
  match?: Record<string, {
4419
4419
  equals?: string | number | boolean | undefined;
4420
4420
  contains?: string | undefined;
@@ -4427,7 +4427,7 @@ export declare const configSchemas: ({
4427
4427
  count: number;
4428
4428
  withinMs?: number | undefined;
4429
4429
  counter?: {
4430
- 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")[];
4431
4431
  match?: Record<string, {
4432
4432
  equals?: string | number | boolean | undefined;
4433
4433
  contains?: string | undefined;
@@ -4462,7 +4462,7 @@ export declare const configSchemas: ({
4462
4462
  maxHeight?: number | undefined;
4463
4463
  } | {
4464
4464
  type: "session_metric";
4465
- key: string;
4465
+ key: "time_on_page" | "page_views" | "scroll_depth";
4466
4466
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4467
4467
  threshold: number;
4468
4468
  } | {
@@ -4485,7 +4485,7 @@ export declare const configSchemas: ({
4485
4485
  count: number;
4486
4486
  withinMs?: number | undefined;
4487
4487
  counter?: {
4488
- 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")[];
4489
4489
  match?: Record<string, {
4490
4490
  equals?: string | number | boolean | undefined;
4491
4491
  contains?: string | undefined;
@@ -4520,7 +4520,7 @@ export declare const configSchemas: ({
4520
4520
  maxHeight?: number | undefined;
4521
4521
  } | {
4522
4522
  type: "session_metric";
4523
- key: string;
4523
+ key: "time_on_page" | "page_views" | "scroll_depth";
4524
4524
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4525
4525
  threshold: number;
4526
4526
  } | {
@@ -4543,7 +4543,7 @@ export declare const configSchemas: ({
4543
4543
  count: number;
4544
4544
  withinMs?: number | undefined;
4545
4545
  counter?: {
4546
- 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")[];
4547
4547
  match?: Record<string, {
4548
4548
  equals?: string | number | boolean | undefined;
4549
4549
  contains?: string | undefined;
@@ -4628,17 +4628,17 @@ export declare const configSchemas: ({
4628
4628
  maxHeight?: number | undefined;
4629
4629
  }>, z.ZodObject<{
4630
4630
  type: z.ZodLiteral<"session_metric">;
4631
- key: z.ZodString;
4631
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4632
4632
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4633
4633
  threshold: z.ZodNumber;
4634
4634
  }, "strip", z.ZodTypeAny, {
4635
4635
  type: "session_metric";
4636
- key: string;
4636
+ key: "time_on_page" | "page_views" | "scroll_depth";
4637
4637
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4638
4638
  threshold: number;
4639
4639
  }, {
4640
4640
  type: "session_metric";
4641
- key: string;
4641
+ key: "time_on_page" | "page_views" | "scroll_depth";
4642
4642
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4643
4643
  threshold: number;
4644
4644
  }>, z.ZodObject<{
@@ -4687,7 +4687,7 @@ export declare const configSchemas: ({
4687
4687
  count: z.ZodNumber;
4688
4688
  withinMs: z.ZodOptional<z.ZodNumber>;
4689
4689
  counter: z.ZodOptional<z.ZodObject<{
4690
- 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">;
4691
4691
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4692
4692
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4693
4693
  contains: z.ZodOptional<z.ZodString>;
@@ -4699,13 +4699,13 @@ export declare const configSchemas: ({
4699
4699
  contains?: string | undefined;
4700
4700
  }>>>;
4701
4701
  }, "strip", z.ZodTypeAny, {
4702
- 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")[];
4703
4703
  match?: Record<string, {
4704
4704
  equals?: string | number | boolean | undefined;
4705
4705
  contains?: string | undefined;
4706
4706
  }> | undefined;
4707
4707
  }, {
4708
- 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")[];
4709
4709
  match?: Record<string, {
4710
4710
  equals?: string | number | boolean | undefined;
4711
4711
  contains?: string | undefined;
@@ -4718,7 +4718,7 @@ export declare const configSchemas: ({
4718
4718
  count: number;
4719
4719
  withinMs?: number | undefined;
4720
4720
  counter?: {
4721
- 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")[];
4722
4722
  match?: Record<string, {
4723
4723
  equals?: string | number | boolean | undefined;
4724
4724
  contains?: string | undefined;
@@ -4731,7 +4731,7 @@ export declare const configSchemas: ({
4731
4731
  count: number;
4732
4732
  withinMs?: number | undefined;
4733
4733
  counter?: {
4734
- 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")[];
4735
4735
  match?: Record<string, {
4736
4736
  equals?: string | number | boolean | undefined;
4737
4737
  contains?: string | undefined;
@@ -4766,7 +4766,7 @@ export declare const configSchemas: ({
4766
4766
  maxHeight?: number | undefined;
4767
4767
  } | {
4768
4768
  type: "session_metric";
4769
- key: string;
4769
+ key: "time_on_page" | "page_views" | "scroll_depth";
4770
4770
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4771
4771
  threshold: number;
4772
4772
  } | {
@@ -4789,7 +4789,7 @@ export declare const configSchemas: ({
4789
4789
  count: number;
4790
4790
  withinMs?: number | undefined;
4791
4791
  counter?: {
4792
- 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")[];
4793
4793
  match?: Record<string, {
4794
4794
  equals?: string | number | boolean | undefined;
4795
4795
  contains?: string | undefined;
@@ -4824,7 +4824,7 @@ export declare const configSchemas: ({
4824
4824
  maxHeight?: number | undefined;
4825
4825
  } | {
4826
4826
  type: "session_metric";
4827
- key: string;
4827
+ key: "time_on_page" | "page_views" | "scroll_depth";
4828
4828
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4829
4829
  threshold: number;
4830
4830
  } | {
@@ -4847,7 +4847,7 @@ export declare const configSchemas: ({
4847
4847
  count: number;
4848
4848
  withinMs?: number | undefined;
4849
4849
  counter?: {
4850
- 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")[];
4851
4851
  match?: Record<string, {
4852
4852
  equals?: string | number | boolean | undefined;
4853
4853
  contains?: string | undefined;
@@ -4932,17 +4932,17 @@ export declare const configSchemas: ({
4932
4932
  maxHeight?: number | undefined;
4933
4933
  }>, z.ZodObject<{
4934
4934
  type: z.ZodLiteral<"session_metric">;
4935
- key: z.ZodString;
4935
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
4936
4936
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
4937
4937
  threshold: z.ZodNumber;
4938
4938
  }, "strip", z.ZodTypeAny, {
4939
4939
  type: "session_metric";
4940
- key: string;
4940
+ key: "time_on_page" | "page_views" | "scroll_depth";
4941
4941
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4942
4942
  threshold: number;
4943
4943
  }, {
4944
4944
  type: "session_metric";
4945
- key: string;
4945
+ key: "time_on_page" | "page_views" | "scroll_depth";
4946
4946
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
4947
4947
  threshold: number;
4948
4948
  }>, z.ZodObject<{
@@ -4991,7 +4991,7 @@ export declare const configSchemas: ({
4991
4991
  count: z.ZodNumber;
4992
4992
  withinMs: z.ZodOptional<z.ZodNumber>;
4993
4993
  counter: z.ZodOptional<z.ZodObject<{
4994
- 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">;
4995
4995
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4996
4996
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
4997
4997
  contains: z.ZodOptional<z.ZodString>;
@@ -5003,13 +5003,13 @@ export declare const configSchemas: ({
5003
5003
  contains?: string | undefined;
5004
5004
  }>>>;
5005
5005
  }, "strip", z.ZodTypeAny, {
5006
- 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")[];
5007
5007
  match?: Record<string, {
5008
5008
  equals?: string | number | boolean | undefined;
5009
5009
  contains?: string | undefined;
5010
5010
  }> | undefined;
5011
5011
  }, {
5012
- 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")[];
5013
5013
  match?: Record<string, {
5014
5014
  equals?: string | number | boolean | undefined;
5015
5015
  contains?: string | undefined;
@@ -5022,7 +5022,7 @@ export declare const configSchemas: ({
5022
5022
  count: number;
5023
5023
  withinMs?: number | undefined;
5024
5024
  counter?: {
5025
- 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")[];
5026
5026
  match?: Record<string, {
5027
5027
  equals?: string | number | boolean | undefined;
5028
5028
  contains?: string | undefined;
@@ -5035,7 +5035,7 @@ export declare const configSchemas: ({
5035
5035
  count: number;
5036
5036
  withinMs?: number | undefined;
5037
5037
  counter?: {
5038
- 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")[];
5039
5039
  match?: Record<string, {
5040
5040
  equals?: string | number | boolean | undefined;
5041
5041
  contains?: string | undefined;
@@ -5070,7 +5070,7 @@ export declare const configSchemas: ({
5070
5070
  maxHeight?: number | undefined;
5071
5071
  } | {
5072
5072
  type: "session_metric";
5073
- key: string;
5073
+ key: "time_on_page" | "page_views" | "scroll_depth";
5074
5074
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5075
5075
  threshold: number;
5076
5076
  } | {
@@ -5093,7 +5093,7 @@ export declare const configSchemas: ({
5093
5093
  count: number;
5094
5094
  withinMs?: number | undefined;
5095
5095
  counter?: {
5096
- 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")[];
5097
5097
  match?: Record<string, {
5098
5098
  equals?: string | number | boolean | undefined;
5099
5099
  contains?: string | undefined;
@@ -5128,7 +5128,7 @@ export declare const configSchemas: ({
5128
5128
  maxHeight?: number | undefined;
5129
5129
  } | {
5130
5130
  type: "session_metric";
5131
- key: string;
5131
+ key: "time_on_page" | "page_views" | "scroll_depth";
5132
5132
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5133
5133
  threshold: number;
5134
5134
  } | {
@@ -5151,7 +5151,7 @@ export declare const configSchemas: ({
5151
5151
  count: number;
5152
5152
  withinMs?: number | undefined;
5153
5153
  counter?: {
5154
- 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")[];
5155
5155
  match?: Record<string, {
5156
5156
  equals?: string | number | boolean | undefined;
5157
5157
  contains?: string | undefined;
@@ -5363,17 +5363,17 @@ export declare const configSchemas: ({
5363
5363
  maxHeight?: number | undefined;
5364
5364
  }>, z.ZodObject<{
5365
5365
  type: z.ZodLiteral<"session_metric">;
5366
- key: z.ZodString;
5366
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
5367
5367
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
5368
5368
  threshold: z.ZodNumber;
5369
5369
  }, "strip", z.ZodTypeAny, {
5370
5370
  type: "session_metric";
5371
- key: string;
5371
+ key: "time_on_page" | "page_views" | "scroll_depth";
5372
5372
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5373
5373
  threshold: number;
5374
5374
  }, {
5375
5375
  type: "session_metric";
5376
- key: string;
5376
+ key: "time_on_page" | "page_views" | "scroll_depth";
5377
5377
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5378
5378
  threshold: number;
5379
5379
  }>, z.ZodObject<{
@@ -5422,7 +5422,7 @@ export declare const configSchemas: ({
5422
5422
  count: z.ZodNumber;
5423
5423
  withinMs: z.ZodOptional<z.ZodNumber>;
5424
5424
  counter: z.ZodOptional<z.ZodObject<{
5425
- 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">;
5426
5426
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5427
5427
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5428
5428
  contains: z.ZodOptional<z.ZodString>;
@@ -5434,13 +5434,13 @@ export declare const configSchemas: ({
5434
5434
  contains?: string | undefined;
5435
5435
  }>>>;
5436
5436
  }, "strip", z.ZodTypeAny, {
5437
- 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")[];
5438
5438
  match?: Record<string, {
5439
5439
  equals?: string | number | boolean | undefined;
5440
5440
  contains?: string | undefined;
5441
5441
  }> | undefined;
5442
5442
  }, {
5443
- 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")[];
5444
5444
  match?: Record<string, {
5445
5445
  equals?: string | number | boolean | undefined;
5446
5446
  contains?: string | undefined;
@@ -5453,7 +5453,7 @@ export declare const configSchemas: ({
5453
5453
  count: number;
5454
5454
  withinMs?: number | undefined;
5455
5455
  counter?: {
5456
- 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")[];
5457
5457
  match?: Record<string, {
5458
5458
  equals?: string | number | boolean | undefined;
5459
5459
  contains?: string | undefined;
@@ -5466,7 +5466,7 @@ export declare const configSchemas: ({
5466
5466
  count: number;
5467
5467
  withinMs?: number | undefined;
5468
5468
  counter?: {
5469
- 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")[];
5470
5470
  match?: Record<string, {
5471
5471
  equals?: string | number | boolean | undefined;
5472
5472
  contains?: string | undefined;
@@ -5501,7 +5501,7 @@ export declare const configSchemas: ({
5501
5501
  maxHeight?: number | undefined;
5502
5502
  } | {
5503
5503
  type: "session_metric";
5504
- key: string;
5504
+ key: "time_on_page" | "page_views" | "scroll_depth";
5505
5505
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5506
5506
  threshold: number;
5507
5507
  } | {
@@ -5524,7 +5524,7 @@ export declare const configSchemas: ({
5524
5524
  count: number;
5525
5525
  withinMs?: number | undefined;
5526
5526
  counter?: {
5527
- 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")[];
5528
5528
  match?: Record<string, {
5529
5529
  equals?: string | number | boolean | undefined;
5530
5530
  contains?: string | undefined;
@@ -5559,7 +5559,7 @@ export declare const configSchemas: ({
5559
5559
  maxHeight?: number | undefined;
5560
5560
  } | {
5561
5561
  type: "session_metric";
5562
- key: string;
5562
+ key: "time_on_page" | "page_views" | "scroll_depth";
5563
5563
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5564
5564
  threshold: number;
5565
5565
  } | {
@@ -5582,7 +5582,7 @@ export declare const configSchemas: ({
5582
5582
  count: number;
5583
5583
  withinMs?: number | undefined;
5584
5584
  counter?: {
5585
- 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")[];
5586
5586
  match?: Record<string, {
5587
5587
  equals?: string | number | boolean | undefined;
5588
5588
  contains?: string | undefined;
@@ -5794,17 +5794,17 @@ export declare const configSchemas: ({
5794
5794
  maxHeight?: number | undefined;
5795
5795
  }>, z.ZodObject<{
5796
5796
  type: z.ZodLiteral<"session_metric">;
5797
- key: z.ZodString;
5797
+ key: z.ZodEnum<["time_on_page", "page_views", "scroll_depth"]>;
5798
5798
  operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
5799
5799
  threshold: z.ZodNumber;
5800
5800
  }, "strip", z.ZodTypeAny, {
5801
5801
  type: "session_metric";
5802
- key: string;
5802
+ key: "time_on_page" | "page_views" | "scroll_depth";
5803
5803
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5804
5804
  threshold: number;
5805
5805
  }, {
5806
5806
  type: "session_metric";
5807
- key: string;
5807
+ key: "time_on_page" | "page_views" | "scroll_depth";
5808
5808
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5809
5809
  threshold: number;
5810
5810
  }>, z.ZodObject<{
@@ -5853,7 +5853,7 @@ export declare const configSchemas: ({
5853
5853
  count: z.ZodNumber;
5854
5854
  withinMs: z.ZodOptional<z.ZodNumber>;
5855
5855
  counter: z.ZodOptional<z.ZodObject<{
5856
- 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">;
5857
5857
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5858
5858
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5859
5859
  contains: z.ZodOptional<z.ZodString>;
@@ -5865,13 +5865,13 @@ export declare const configSchemas: ({
5865
5865
  contains?: string | undefined;
5866
5866
  }>>>;
5867
5867
  }, "strip", z.ZodTypeAny, {
5868
- 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")[];
5869
5869
  match?: Record<string, {
5870
5870
  equals?: string | number | boolean | undefined;
5871
5871
  contains?: string | undefined;
5872
5872
  }> | undefined;
5873
5873
  }, {
5874
- 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")[];
5875
5875
  match?: Record<string, {
5876
5876
  equals?: string | number | boolean | undefined;
5877
5877
  contains?: string | undefined;
@@ -5884,7 +5884,7 @@ export declare const configSchemas: ({
5884
5884
  count: number;
5885
5885
  withinMs?: number | undefined;
5886
5886
  counter?: {
5887
- 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")[];
5888
5888
  match?: Record<string, {
5889
5889
  equals?: string | number | boolean | undefined;
5890
5890
  contains?: string | undefined;
@@ -5897,7 +5897,7 @@ export declare const configSchemas: ({
5897
5897
  count: number;
5898
5898
  withinMs?: number | undefined;
5899
5899
  counter?: {
5900
- 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")[];
5901
5901
  match?: Record<string, {
5902
5902
  equals?: string | number | boolean | undefined;
5903
5903
  contains?: string | undefined;
@@ -5932,7 +5932,7 @@ export declare const configSchemas: ({
5932
5932
  maxHeight?: number | undefined;
5933
5933
  } | {
5934
5934
  type: "session_metric";
5935
- key: string;
5935
+ key: "time_on_page" | "page_views" | "scroll_depth";
5936
5936
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5937
5937
  threshold: number;
5938
5938
  } | {
@@ -5955,7 +5955,7 @@ export declare const configSchemas: ({
5955
5955
  count: number;
5956
5956
  withinMs?: number | undefined;
5957
5957
  counter?: {
5958
- 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")[];
5959
5959
  match?: Record<string, {
5960
5960
  equals?: string | number | boolean | undefined;
5961
5961
  contains?: string | undefined;
@@ -5990,7 +5990,7 @@ export declare const configSchemas: ({
5990
5990
  maxHeight?: number | undefined;
5991
5991
  } | {
5992
5992
  type: "session_metric";
5993
- key: string;
5993
+ key: "time_on_page" | "page_views" | "scroll_depth";
5994
5994
  operator: "gte" | "lte" | "eq" | "gt" | "lt";
5995
5995
  threshold: number;
5996
5996
  } | {
@@ -6013,7 +6013,7 @@ export declare const configSchemas: ({
6013
6013
  count: number;
6014
6014
  withinMs?: number | undefined;
6015
6015
  counter?: {
6016
- 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")[];
6017
6017
  match?: Record<string, {
6018
6018
  equals?: string | number | boolean | undefined;
6019
6019
  contains?: string | undefined;