@syntrologie/runtime-sdk 2.4.0-canary.24 → 2.4.0-canary.26
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.
- package/dist/actions/schema.js +2 -2
- package/dist/{chunk-LD22WJ44.js → chunk-E26VPJAS.js} +138 -59
- package/dist/chunk-E26VPJAS.js.map +7 -0
- package/dist/{chunk-NM5Y27GX.js → chunk-R5DNAIRI.js} +2 -2
- package/dist/{chunk-WILWIL6L.js → chunk-XDYJ64IN.js} +18 -4
- package/dist/chunk-XDYJ64IN.js.map +7 -0
- package/dist/config/schema.d.ts +3127 -6
- package/dist/config/schema.js +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +2 -2
- package/dist/react.js +3 -3
- package/dist/smart-canvas.esm.js +35 -35
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +135 -48
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +35 -35
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +7 -7
- package/schema/canvas-config.schema.json +331 -5
- package/scripts/validate-config.mjs +102 -0
- package/dist/chunk-LD22WJ44.js.map +0 -7
- package/dist/chunk-WILWIL6L.js.map +0 -7
- /package/dist/{chunk-NM5Y27GX.js.map → chunk-R5DNAIRI.js.map} +0 -0
package/dist/config/schema.d.ts
CHANGED
|
@@ -195,6 +195,9 @@ export declare const CanvasElementConfigZ: z.ZodObject<{
|
|
|
195
195
|
blur: z.ZodOptional<z.ZodString>;
|
|
196
196
|
border: z.ZodOptional<z.ZodString>;
|
|
197
197
|
width: z.ZodOptional<z.ZodString>;
|
|
198
|
+
transitionDuration: z.ZodOptional<z.ZodString>;
|
|
199
|
+
transitionEasing: z.ZodOptional<z.ZodString>;
|
|
200
|
+
transitionFade: z.ZodOptional<z.ZodString>;
|
|
198
201
|
}, "strip", z.ZodTypeAny, {
|
|
199
202
|
position?: "right" | "left" | undefined;
|
|
200
203
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -202,6 +205,9 @@ export declare const CanvasElementConfigZ: z.ZodObject<{
|
|
|
202
205
|
blur?: string | undefined;
|
|
203
206
|
border?: string | undefined;
|
|
204
207
|
width?: string | undefined;
|
|
208
|
+
transitionDuration?: string | undefined;
|
|
209
|
+
transitionEasing?: string | undefined;
|
|
210
|
+
transitionFade?: string | undefined;
|
|
205
211
|
}, {
|
|
206
212
|
position?: "right" | "left" | undefined;
|
|
207
213
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -209,6 +215,9 @@ export declare const CanvasElementConfigZ: z.ZodObject<{
|
|
|
209
215
|
blur?: string | undefined;
|
|
210
216
|
border?: string | undefined;
|
|
211
217
|
width?: string | undefined;
|
|
218
|
+
transitionDuration?: string | undefined;
|
|
219
|
+
transitionEasing?: string | undefined;
|
|
220
|
+
transitionFade?: string | undefined;
|
|
212
221
|
}>;
|
|
213
222
|
export declare const LauncherElementConfigZ: z.ZodObject<{
|
|
214
223
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -408,6 +417,9 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
|
408
417
|
blur: z.ZodOptional<z.ZodString>;
|
|
409
418
|
border: z.ZodOptional<z.ZodString>;
|
|
410
419
|
width: z.ZodOptional<z.ZodString>;
|
|
420
|
+
transitionDuration: z.ZodOptional<z.ZodString>;
|
|
421
|
+
transitionEasing: z.ZodOptional<z.ZodString>;
|
|
422
|
+
transitionFade: z.ZodOptional<z.ZodString>;
|
|
411
423
|
}, "strip", z.ZodTypeAny, {
|
|
412
424
|
position?: "right" | "left" | undefined;
|
|
413
425
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -415,6 +427,9 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
|
415
427
|
blur?: string | undefined;
|
|
416
428
|
border?: string | undefined;
|
|
417
429
|
width?: string | undefined;
|
|
430
|
+
transitionDuration?: string | undefined;
|
|
431
|
+
transitionEasing?: string | undefined;
|
|
432
|
+
transitionFade?: string | undefined;
|
|
418
433
|
}, {
|
|
419
434
|
position?: "right" | "left" | undefined;
|
|
420
435
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -422,6 +437,9 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
|
422
437
|
blur?: string | undefined;
|
|
423
438
|
border?: string | undefined;
|
|
424
439
|
width?: string | undefined;
|
|
440
|
+
transitionDuration?: string | undefined;
|
|
441
|
+
transitionEasing?: string | undefined;
|
|
442
|
+
transitionFade?: string | undefined;
|
|
425
443
|
}>>;
|
|
426
444
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
427
445
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -652,6 +670,9 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
|
652
670
|
blur?: string | undefined;
|
|
653
671
|
border?: string | undefined;
|
|
654
672
|
width?: string | undefined;
|
|
673
|
+
transitionDuration?: string | undefined;
|
|
674
|
+
transitionEasing?: string | undefined;
|
|
675
|
+
transitionFade?: string | undefined;
|
|
655
676
|
} | undefined;
|
|
656
677
|
launcher?: {
|
|
657
678
|
size?: string | undefined;
|
|
@@ -731,6 +752,9 @@ export declare const CanvasThemeConfigZ: z.ZodObject<{
|
|
|
731
752
|
blur?: string | undefined;
|
|
732
753
|
border?: string | undefined;
|
|
733
754
|
width?: string | undefined;
|
|
755
|
+
transitionDuration?: string | undefined;
|
|
756
|
+
transitionEasing?: string | undefined;
|
|
757
|
+
transitionFade?: string | undefined;
|
|
734
758
|
} | undefined;
|
|
735
759
|
launcher?: {
|
|
736
760
|
size?: string | undefined;
|
|
@@ -939,6 +963,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
939
963
|
blur: z.ZodOptional<z.ZodString>;
|
|
940
964
|
border: z.ZodOptional<z.ZodString>;
|
|
941
965
|
width: z.ZodOptional<z.ZodString>;
|
|
966
|
+
transitionDuration: z.ZodOptional<z.ZodString>;
|
|
967
|
+
transitionEasing: z.ZodOptional<z.ZodString>;
|
|
968
|
+
transitionFade: z.ZodOptional<z.ZodString>;
|
|
942
969
|
}, "strip", z.ZodTypeAny, {
|
|
943
970
|
position?: "right" | "left" | undefined;
|
|
944
971
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -946,6 +973,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
946
973
|
blur?: string | undefined;
|
|
947
974
|
border?: string | undefined;
|
|
948
975
|
width?: string | undefined;
|
|
976
|
+
transitionDuration?: string | undefined;
|
|
977
|
+
transitionEasing?: string | undefined;
|
|
978
|
+
transitionFade?: string | undefined;
|
|
949
979
|
}, {
|
|
950
980
|
position?: "right" | "left" | undefined;
|
|
951
981
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -953,6 +983,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
953
983
|
blur?: string | undefined;
|
|
954
984
|
border?: string | undefined;
|
|
955
985
|
width?: string | undefined;
|
|
986
|
+
transitionDuration?: string | undefined;
|
|
987
|
+
transitionEasing?: string | undefined;
|
|
988
|
+
transitionFade?: string | undefined;
|
|
956
989
|
}>>;
|
|
957
990
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
958
991
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -1183,6 +1216,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1183
1216
|
blur?: string | undefined;
|
|
1184
1217
|
border?: string | undefined;
|
|
1185
1218
|
width?: string | undefined;
|
|
1219
|
+
transitionDuration?: string | undefined;
|
|
1220
|
+
transitionEasing?: string | undefined;
|
|
1221
|
+
transitionFade?: string | undefined;
|
|
1186
1222
|
} | undefined;
|
|
1187
1223
|
launcher?: {
|
|
1188
1224
|
size?: string | undefined;
|
|
@@ -1262,6 +1298,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1262
1298
|
blur?: string | undefined;
|
|
1263
1299
|
border?: string | undefined;
|
|
1264
1300
|
width?: string | undefined;
|
|
1301
|
+
transitionDuration?: string | undefined;
|
|
1302
|
+
transitionEasing?: string | undefined;
|
|
1303
|
+
transitionFade?: string | undefined;
|
|
1265
1304
|
} | undefined;
|
|
1266
1305
|
launcher?: {
|
|
1267
1306
|
size?: string | undefined;
|
|
@@ -1323,7 +1362,919 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1323
1362
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
1324
1363
|
notificationCount?: number | undefined;
|
|
1325
1364
|
}>>;
|
|
1326
|
-
|
|
1365
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1366
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1367
|
+
text: z.ZodString;
|
|
1368
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1369
|
+
type: z.ZodLiteral<"page_url">;
|
|
1370
|
+
url: z.ZodString;
|
|
1371
|
+
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
type: "page_url";
|
|
1373
|
+
url: string;
|
|
1374
|
+
}, {
|
|
1375
|
+
type: "page_url";
|
|
1376
|
+
url: string;
|
|
1377
|
+
}>, z.ZodObject<{
|
|
1378
|
+
type: z.ZodLiteral<"route">;
|
|
1379
|
+
routeId: z.ZodString;
|
|
1380
|
+
}, "strip", z.ZodTypeAny, {
|
|
1381
|
+
type: "route";
|
|
1382
|
+
routeId: string;
|
|
1383
|
+
}, {
|
|
1384
|
+
type: "route";
|
|
1385
|
+
routeId: string;
|
|
1386
|
+
}>, z.ZodObject<{
|
|
1387
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
1388
|
+
anchorId: z.ZodString;
|
|
1389
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
1390
|
+
}, "strip", z.ZodTypeAny, {
|
|
1391
|
+
type: "anchor_visible";
|
|
1392
|
+
anchorId: string;
|
|
1393
|
+
state: "visible" | "present" | "absent";
|
|
1394
|
+
}, {
|
|
1395
|
+
type: "anchor_visible";
|
|
1396
|
+
anchorId: string;
|
|
1397
|
+
state: "visible" | "present" | "absent";
|
|
1398
|
+
}>, z.ZodObject<{
|
|
1399
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
1400
|
+
eventName: z.ZodString;
|
|
1401
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
+
}, "strip", z.ZodTypeAny, {
|
|
1403
|
+
type: "event_occurred";
|
|
1404
|
+
eventName: string;
|
|
1405
|
+
withinMs?: number | undefined;
|
|
1406
|
+
}, {
|
|
1407
|
+
type: "event_occurred";
|
|
1408
|
+
eventName: string;
|
|
1409
|
+
withinMs?: number | undefined;
|
|
1410
|
+
}>, z.ZodObject<{
|
|
1411
|
+
type: z.ZodLiteral<"state_equals">;
|
|
1412
|
+
key: z.ZodString;
|
|
1413
|
+
value: z.ZodUnknown;
|
|
1414
|
+
}, "strip", z.ZodTypeAny, {
|
|
1415
|
+
type: "state_equals";
|
|
1416
|
+
key: string;
|
|
1417
|
+
value?: unknown;
|
|
1418
|
+
}, {
|
|
1419
|
+
type: "state_equals";
|
|
1420
|
+
key: string;
|
|
1421
|
+
value?: unknown;
|
|
1422
|
+
}>, z.ZodObject<{
|
|
1423
|
+
type: z.ZodLiteral<"viewport">;
|
|
1424
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1425
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
1426
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
1427
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
|
1429
|
+
type: "viewport";
|
|
1430
|
+
minWidth?: number | undefined;
|
|
1431
|
+
maxWidth?: number | undefined;
|
|
1432
|
+
minHeight?: number | undefined;
|
|
1433
|
+
maxHeight?: number | undefined;
|
|
1434
|
+
}, {
|
|
1435
|
+
type: "viewport";
|
|
1436
|
+
minWidth?: number | undefined;
|
|
1437
|
+
maxWidth?: number | undefined;
|
|
1438
|
+
minHeight?: number | undefined;
|
|
1439
|
+
maxHeight?: number | undefined;
|
|
1440
|
+
}>, z.ZodObject<{
|
|
1441
|
+
type: z.ZodLiteral<"session_metric">;
|
|
1442
|
+
key: z.ZodString;
|
|
1443
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1444
|
+
threshold: z.ZodNumber;
|
|
1445
|
+
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
type: "session_metric";
|
|
1447
|
+
key: string;
|
|
1448
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1449
|
+
threshold: number;
|
|
1450
|
+
}, {
|
|
1451
|
+
type: "session_metric";
|
|
1452
|
+
key: string;
|
|
1453
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1454
|
+
threshold: number;
|
|
1455
|
+
}>, z.ZodObject<{
|
|
1456
|
+
type: z.ZodLiteral<"dismissed">;
|
|
1457
|
+
key: z.ZodString;
|
|
1458
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1459
|
+
}, "strip", z.ZodTypeAny, {
|
|
1460
|
+
type: "dismissed";
|
|
1461
|
+
key: string;
|
|
1462
|
+
inverted?: boolean | undefined;
|
|
1463
|
+
}, {
|
|
1464
|
+
type: "dismissed";
|
|
1465
|
+
key: string;
|
|
1466
|
+
inverted?: boolean | undefined;
|
|
1467
|
+
}>, z.ZodObject<{
|
|
1468
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
1469
|
+
key: z.ZodString;
|
|
1470
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1471
|
+
}, "strip", z.ZodTypeAny, {
|
|
1472
|
+
type: "cooldown_active";
|
|
1473
|
+
key: string;
|
|
1474
|
+
inverted?: boolean | undefined;
|
|
1475
|
+
}, {
|
|
1476
|
+
type: "cooldown_active";
|
|
1477
|
+
key: string;
|
|
1478
|
+
inverted?: boolean | undefined;
|
|
1479
|
+
}>, z.ZodObject<{
|
|
1480
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
1481
|
+
key: z.ZodString;
|
|
1482
|
+
limit: z.ZodNumber;
|
|
1483
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1484
|
+
}, "strip", z.ZodTypeAny, {
|
|
1485
|
+
type: "frequency_limit";
|
|
1486
|
+
key: string;
|
|
1487
|
+
limit: number;
|
|
1488
|
+
inverted?: boolean | undefined;
|
|
1489
|
+
}, {
|
|
1490
|
+
type: "frequency_limit";
|
|
1491
|
+
key: string;
|
|
1492
|
+
limit: number;
|
|
1493
|
+
inverted?: boolean | undefined;
|
|
1494
|
+
}>, z.ZodObject<{
|
|
1495
|
+
type: z.ZodLiteral<"event_count">;
|
|
1496
|
+
key: z.ZodString;
|
|
1497
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1498
|
+
count: z.ZodNumber;
|
|
1499
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1500
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
1501
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
1502
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1503
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1504
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
}, "strip", z.ZodTypeAny, {
|
|
1506
|
+
equals?: string | number | boolean | undefined;
|
|
1507
|
+
contains?: string | undefined;
|
|
1508
|
+
}, {
|
|
1509
|
+
equals?: string | number | boolean | undefined;
|
|
1510
|
+
contains?: string | undefined;
|
|
1511
|
+
}>>>;
|
|
1512
|
+
}, "strip", z.ZodTypeAny, {
|
|
1513
|
+
events: string[];
|
|
1514
|
+
match?: Record<string, {
|
|
1515
|
+
equals?: string | number | boolean | undefined;
|
|
1516
|
+
contains?: string | undefined;
|
|
1517
|
+
}> | undefined;
|
|
1518
|
+
}, {
|
|
1519
|
+
events: string[];
|
|
1520
|
+
match?: Record<string, {
|
|
1521
|
+
equals?: string | number | boolean | undefined;
|
|
1522
|
+
contains?: string | undefined;
|
|
1523
|
+
}> | undefined;
|
|
1524
|
+
}>>;
|
|
1525
|
+
}, "strip", z.ZodTypeAny, {
|
|
1526
|
+
type: "event_count";
|
|
1527
|
+
key: string;
|
|
1528
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1529
|
+
count: number;
|
|
1530
|
+
withinMs?: number | undefined;
|
|
1531
|
+
counter?: {
|
|
1532
|
+
events: string[];
|
|
1533
|
+
match?: Record<string, {
|
|
1534
|
+
equals?: string | number | boolean | undefined;
|
|
1535
|
+
contains?: string | undefined;
|
|
1536
|
+
}> | undefined;
|
|
1537
|
+
} | undefined;
|
|
1538
|
+
}, {
|
|
1539
|
+
type: "event_count";
|
|
1540
|
+
key: string;
|
|
1541
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1542
|
+
count: number;
|
|
1543
|
+
withinMs?: number | undefined;
|
|
1544
|
+
counter?: {
|
|
1545
|
+
events: string[];
|
|
1546
|
+
match?: Record<string, {
|
|
1547
|
+
equals?: string | number | boolean | undefined;
|
|
1548
|
+
contains?: string | undefined;
|
|
1549
|
+
}> | undefined;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
}>]>>;
|
|
1552
|
+
}, "strip", z.ZodTypeAny, {
|
|
1553
|
+
text: string;
|
|
1554
|
+
check?: {
|
|
1555
|
+
type: "page_url";
|
|
1556
|
+
url: string;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: "route";
|
|
1559
|
+
routeId: string;
|
|
1560
|
+
} | {
|
|
1561
|
+
type: "anchor_visible";
|
|
1562
|
+
anchorId: string;
|
|
1563
|
+
state: "visible" | "present" | "absent";
|
|
1564
|
+
} | {
|
|
1565
|
+
type: "event_occurred";
|
|
1566
|
+
eventName: string;
|
|
1567
|
+
withinMs?: number | undefined;
|
|
1568
|
+
} | {
|
|
1569
|
+
type: "state_equals";
|
|
1570
|
+
key: string;
|
|
1571
|
+
value?: unknown;
|
|
1572
|
+
} | {
|
|
1573
|
+
type: "viewport";
|
|
1574
|
+
minWidth?: number | undefined;
|
|
1575
|
+
maxWidth?: number | undefined;
|
|
1576
|
+
minHeight?: number | undefined;
|
|
1577
|
+
maxHeight?: number | undefined;
|
|
1578
|
+
} | {
|
|
1579
|
+
type: "session_metric";
|
|
1580
|
+
key: string;
|
|
1581
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1582
|
+
threshold: number;
|
|
1583
|
+
} | {
|
|
1584
|
+
type: "dismissed";
|
|
1585
|
+
key: string;
|
|
1586
|
+
inverted?: boolean | undefined;
|
|
1587
|
+
} | {
|
|
1588
|
+
type: "cooldown_active";
|
|
1589
|
+
key: string;
|
|
1590
|
+
inverted?: boolean | undefined;
|
|
1591
|
+
} | {
|
|
1592
|
+
type: "frequency_limit";
|
|
1593
|
+
key: string;
|
|
1594
|
+
limit: number;
|
|
1595
|
+
inverted?: boolean | undefined;
|
|
1596
|
+
} | {
|
|
1597
|
+
type: "event_count";
|
|
1598
|
+
key: string;
|
|
1599
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1600
|
+
count: number;
|
|
1601
|
+
withinMs?: number | undefined;
|
|
1602
|
+
counter?: {
|
|
1603
|
+
events: string[];
|
|
1604
|
+
match?: Record<string, {
|
|
1605
|
+
equals?: string | number | boolean | undefined;
|
|
1606
|
+
contains?: string | undefined;
|
|
1607
|
+
}> | undefined;
|
|
1608
|
+
} | undefined;
|
|
1609
|
+
} | undefined;
|
|
1610
|
+
}, {
|
|
1611
|
+
text: string;
|
|
1612
|
+
check?: {
|
|
1613
|
+
type: "page_url";
|
|
1614
|
+
url: string;
|
|
1615
|
+
} | {
|
|
1616
|
+
type: "route";
|
|
1617
|
+
routeId: string;
|
|
1618
|
+
} | {
|
|
1619
|
+
type: "anchor_visible";
|
|
1620
|
+
anchorId: string;
|
|
1621
|
+
state: "visible" | "present" | "absent";
|
|
1622
|
+
} | {
|
|
1623
|
+
type: "event_occurred";
|
|
1624
|
+
eventName: string;
|
|
1625
|
+
withinMs?: number | undefined;
|
|
1626
|
+
} | {
|
|
1627
|
+
type: "state_equals";
|
|
1628
|
+
key: string;
|
|
1629
|
+
value?: unknown;
|
|
1630
|
+
} | {
|
|
1631
|
+
type: "viewport";
|
|
1632
|
+
minWidth?: number | undefined;
|
|
1633
|
+
maxWidth?: number | undefined;
|
|
1634
|
+
minHeight?: number | undefined;
|
|
1635
|
+
maxHeight?: number | undefined;
|
|
1636
|
+
} | {
|
|
1637
|
+
type: "session_metric";
|
|
1638
|
+
key: string;
|
|
1639
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1640
|
+
threshold: number;
|
|
1641
|
+
} | {
|
|
1642
|
+
type: "dismissed";
|
|
1643
|
+
key: string;
|
|
1644
|
+
inverted?: boolean | undefined;
|
|
1645
|
+
} | {
|
|
1646
|
+
type: "cooldown_active";
|
|
1647
|
+
key: string;
|
|
1648
|
+
inverted?: boolean | undefined;
|
|
1649
|
+
} | {
|
|
1650
|
+
type: "frequency_limit";
|
|
1651
|
+
key: string;
|
|
1652
|
+
limit: number;
|
|
1653
|
+
inverted?: boolean | undefined;
|
|
1654
|
+
} | {
|
|
1655
|
+
type: "event_count";
|
|
1656
|
+
key: string;
|
|
1657
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1658
|
+
count: number;
|
|
1659
|
+
withinMs?: number | undefined;
|
|
1660
|
+
counter?: {
|
|
1661
|
+
events: string[];
|
|
1662
|
+
match?: Record<string, {
|
|
1663
|
+
equals?: string | number | boolean | undefined;
|
|
1664
|
+
contains?: string | undefined;
|
|
1665
|
+
}> | undefined;
|
|
1666
|
+
} | undefined;
|
|
1667
|
+
} | undefined;
|
|
1668
|
+
}>]>, "many">>;
|
|
1669
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1670
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1671
|
+
text: z.ZodString;
|
|
1672
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1673
|
+
type: z.ZodLiteral<"page_url">;
|
|
1674
|
+
url: z.ZodString;
|
|
1675
|
+
}, "strip", z.ZodTypeAny, {
|
|
1676
|
+
type: "page_url";
|
|
1677
|
+
url: string;
|
|
1678
|
+
}, {
|
|
1679
|
+
type: "page_url";
|
|
1680
|
+
url: string;
|
|
1681
|
+
}>, z.ZodObject<{
|
|
1682
|
+
type: z.ZodLiteral<"route">;
|
|
1683
|
+
routeId: z.ZodString;
|
|
1684
|
+
}, "strip", z.ZodTypeAny, {
|
|
1685
|
+
type: "route";
|
|
1686
|
+
routeId: string;
|
|
1687
|
+
}, {
|
|
1688
|
+
type: "route";
|
|
1689
|
+
routeId: string;
|
|
1690
|
+
}>, z.ZodObject<{
|
|
1691
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
1692
|
+
anchorId: z.ZodString;
|
|
1693
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
1694
|
+
}, "strip", z.ZodTypeAny, {
|
|
1695
|
+
type: "anchor_visible";
|
|
1696
|
+
anchorId: string;
|
|
1697
|
+
state: "visible" | "present" | "absent";
|
|
1698
|
+
}, {
|
|
1699
|
+
type: "anchor_visible";
|
|
1700
|
+
anchorId: string;
|
|
1701
|
+
state: "visible" | "present" | "absent";
|
|
1702
|
+
}>, z.ZodObject<{
|
|
1703
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
1704
|
+
eventName: z.ZodString;
|
|
1705
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1706
|
+
}, "strip", z.ZodTypeAny, {
|
|
1707
|
+
type: "event_occurred";
|
|
1708
|
+
eventName: string;
|
|
1709
|
+
withinMs?: number | undefined;
|
|
1710
|
+
}, {
|
|
1711
|
+
type: "event_occurred";
|
|
1712
|
+
eventName: string;
|
|
1713
|
+
withinMs?: number | undefined;
|
|
1714
|
+
}>, z.ZodObject<{
|
|
1715
|
+
type: z.ZodLiteral<"state_equals">;
|
|
1716
|
+
key: z.ZodString;
|
|
1717
|
+
value: z.ZodUnknown;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
type: "state_equals";
|
|
1720
|
+
key: string;
|
|
1721
|
+
value?: unknown;
|
|
1722
|
+
}, {
|
|
1723
|
+
type: "state_equals";
|
|
1724
|
+
key: string;
|
|
1725
|
+
value?: unknown;
|
|
1726
|
+
}>, z.ZodObject<{
|
|
1727
|
+
type: z.ZodLiteral<"viewport">;
|
|
1728
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1729
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
1730
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
|
+
type: "viewport";
|
|
1734
|
+
minWidth?: number | undefined;
|
|
1735
|
+
maxWidth?: number | undefined;
|
|
1736
|
+
minHeight?: number | undefined;
|
|
1737
|
+
maxHeight?: number | undefined;
|
|
1738
|
+
}, {
|
|
1739
|
+
type: "viewport";
|
|
1740
|
+
minWidth?: number | undefined;
|
|
1741
|
+
maxWidth?: number | undefined;
|
|
1742
|
+
minHeight?: number | undefined;
|
|
1743
|
+
maxHeight?: number | undefined;
|
|
1744
|
+
}>, z.ZodObject<{
|
|
1745
|
+
type: z.ZodLiteral<"session_metric">;
|
|
1746
|
+
key: z.ZodString;
|
|
1747
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1748
|
+
threshold: z.ZodNumber;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1750
|
+
type: "session_metric";
|
|
1751
|
+
key: string;
|
|
1752
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1753
|
+
threshold: number;
|
|
1754
|
+
}, {
|
|
1755
|
+
type: "session_metric";
|
|
1756
|
+
key: string;
|
|
1757
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1758
|
+
threshold: number;
|
|
1759
|
+
}>, z.ZodObject<{
|
|
1760
|
+
type: z.ZodLiteral<"dismissed">;
|
|
1761
|
+
key: z.ZodString;
|
|
1762
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
type: "dismissed";
|
|
1765
|
+
key: string;
|
|
1766
|
+
inverted?: boolean | undefined;
|
|
1767
|
+
}, {
|
|
1768
|
+
type: "dismissed";
|
|
1769
|
+
key: string;
|
|
1770
|
+
inverted?: boolean | undefined;
|
|
1771
|
+
}>, z.ZodObject<{
|
|
1772
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
1773
|
+
key: z.ZodString;
|
|
1774
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1775
|
+
}, "strip", z.ZodTypeAny, {
|
|
1776
|
+
type: "cooldown_active";
|
|
1777
|
+
key: string;
|
|
1778
|
+
inverted?: boolean | undefined;
|
|
1779
|
+
}, {
|
|
1780
|
+
type: "cooldown_active";
|
|
1781
|
+
key: string;
|
|
1782
|
+
inverted?: boolean | undefined;
|
|
1783
|
+
}>, z.ZodObject<{
|
|
1784
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
1785
|
+
key: z.ZodString;
|
|
1786
|
+
limit: z.ZodNumber;
|
|
1787
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
1788
|
+
}, "strip", z.ZodTypeAny, {
|
|
1789
|
+
type: "frequency_limit";
|
|
1790
|
+
key: string;
|
|
1791
|
+
limit: number;
|
|
1792
|
+
inverted?: boolean | undefined;
|
|
1793
|
+
}, {
|
|
1794
|
+
type: "frequency_limit";
|
|
1795
|
+
key: string;
|
|
1796
|
+
limit: number;
|
|
1797
|
+
inverted?: boolean | undefined;
|
|
1798
|
+
}>, z.ZodObject<{
|
|
1799
|
+
type: z.ZodLiteral<"event_count">;
|
|
1800
|
+
key: z.ZodString;
|
|
1801
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
1802
|
+
count: z.ZodNumber;
|
|
1803
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
1804
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
1805
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
1806
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1807
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1808
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
}, "strip", z.ZodTypeAny, {
|
|
1810
|
+
equals?: string | number | boolean | undefined;
|
|
1811
|
+
contains?: string | undefined;
|
|
1812
|
+
}, {
|
|
1813
|
+
equals?: string | number | boolean | undefined;
|
|
1814
|
+
contains?: string | undefined;
|
|
1815
|
+
}>>>;
|
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
events: string[];
|
|
1818
|
+
match?: Record<string, {
|
|
1819
|
+
equals?: string | number | boolean | undefined;
|
|
1820
|
+
contains?: string | undefined;
|
|
1821
|
+
}> | undefined;
|
|
1822
|
+
}, {
|
|
1823
|
+
events: string[];
|
|
1824
|
+
match?: Record<string, {
|
|
1825
|
+
equals?: string | number | boolean | undefined;
|
|
1826
|
+
contains?: string | undefined;
|
|
1827
|
+
}> | undefined;
|
|
1828
|
+
}>>;
|
|
1829
|
+
}, "strip", z.ZodTypeAny, {
|
|
1830
|
+
type: "event_count";
|
|
1831
|
+
key: string;
|
|
1832
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1833
|
+
count: number;
|
|
1834
|
+
withinMs?: number | undefined;
|
|
1835
|
+
counter?: {
|
|
1836
|
+
events: string[];
|
|
1837
|
+
match?: Record<string, {
|
|
1838
|
+
equals?: string | number | boolean | undefined;
|
|
1839
|
+
contains?: string | undefined;
|
|
1840
|
+
}> | undefined;
|
|
1841
|
+
} | undefined;
|
|
1842
|
+
}, {
|
|
1843
|
+
type: "event_count";
|
|
1844
|
+
key: string;
|
|
1845
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1846
|
+
count: number;
|
|
1847
|
+
withinMs?: number | undefined;
|
|
1848
|
+
counter?: {
|
|
1849
|
+
events: string[];
|
|
1850
|
+
match?: Record<string, {
|
|
1851
|
+
equals?: string | number | boolean | undefined;
|
|
1852
|
+
contains?: string | undefined;
|
|
1853
|
+
}> | undefined;
|
|
1854
|
+
} | undefined;
|
|
1855
|
+
}>]>>;
|
|
1856
|
+
}, "strip", z.ZodTypeAny, {
|
|
1857
|
+
text: string;
|
|
1858
|
+
check?: {
|
|
1859
|
+
type: "page_url";
|
|
1860
|
+
url: string;
|
|
1861
|
+
} | {
|
|
1862
|
+
type: "route";
|
|
1863
|
+
routeId: string;
|
|
1864
|
+
} | {
|
|
1865
|
+
type: "anchor_visible";
|
|
1866
|
+
anchorId: string;
|
|
1867
|
+
state: "visible" | "present" | "absent";
|
|
1868
|
+
} | {
|
|
1869
|
+
type: "event_occurred";
|
|
1870
|
+
eventName: string;
|
|
1871
|
+
withinMs?: number | undefined;
|
|
1872
|
+
} | {
|
|
1873
|
+
type: "state_equals";
|
|
1874
|
+
key: string;
|
|
1875
|
+
value?: unknown;
|
|
1876
|
+
} | {
|
|
1877
|
+
type: "viewport";
|
|
1878
|
+
minWidth?: number | undefined;
|
|
1879
|
+
maxWidth?: number | undefined;
|
|
1880
|
+
minHeight?: number | undefined;
|
|
1881
|
+
maxHeight?: number | undefined;
|
|
1882
|
+
} | {
|
|
1883
|
+
type: "session_metric";
|
|
1884
|
+
key: string;
|
|
1885
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1886
|
+
threshold: number;
|
|
1887
|
+
} | {
|
|
1888
|
+
type: "dismissed";
|
|
1889
|
+
key: string;
|
|
1890
|
+
inverted?: boolean | undefined;
|
|
1891
|
+
} | {
|
|
1892
|
+
type: "cooldown_active";
|
|
1893
|
+
key: string;
|
|
1894
|
+
inverted?: boolean | undefined;
|
|
1895
|
+
} | {
|
|
1896
|
+
type: "frequency_limit";
|
|
1897
|
+
key: string;
|
|
1898
|
+
limit: number;
|
|
1899
|
+
inverted?: boolean | undefined;
|
|
1900
|
+
} | {
|
|
1901
|
+
type: "event_count";
|
|
1902
|
+
key: string;
|
|
1903
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1904
|
+
count: number;
|
|
1905
|
+
withinMs?: number | undefined;
|
|
1906
|
+
counter?: {
|
|
1907
|
+
events: string[];
|
|
1908
|
+
match?: Record<string, {
|
|
1909
|
+
equals?: string | number | boolean | undefined;
|
|
1910
|
+
contains?: string | undefined;
|
|
1911
|
+
}> | undefined;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
} | undefined;
|
|
1914
|
+
}, {
|
|
1915
|
+
text: string;
|
|
1916
|
+
check?: {
|
|
1917
|
+
type: "page_url";
|
|
1918
|
+
url: string;
|
|
1919
|
+
} | {
|
|
1920
|
+
type: "route";
|
|
1921
|
+
routeId: string;
|
|
1922
|
+
} | {
|
|
1923
|
+
type: "anchor_visible";
|
|
1924
|
+
anchorId: string;
|
|
1925
|
+
state: "visible" | "present" | "absent";
|
|
1926
|
+
} | {
|
|
1927
|
+
type: "event_occurred";
|
|
1928
|
+
eventName: string;
|
|
1929
|
+
withinMs?: number | undefined;
|
|
1930
|
+
} | {
|
|
1931
|
+
type: "state_equals";
|
|
1932
|
+
key: string;
|
|
1933
|
+
value?: unknown;
|
|
1934
|
+
} | {
|
|
1935
|
+
type: "viewport";
|
|
1936
|
+
minWidth?: number | undefined;
|
|
1937
|
+
maxWidth?: number | undefined;
|
|
1938
|
+
minHeight?: number | undefined;
|
|
1939
|
+
maxHeight?: number | undefined;
|
|
1940
|
+
} | {
|
|
1941
|
+
type: "session_metric";
|
|
1942
|
+
key: string;
|
|
1943
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1944
|
+
threshold: number;
|
|
1945
|
+
} | {
|
|
1946
|
+
type: "dismissed";
|
|
1947
|
+
key: string;
|
|
1948
|
+
inverted?: boolean | undefined;
|
|
1949
|
+
} | {
|
|
1950
|
+
type: "cooldown_active";
|
|
1951
|
+
key: string;
|
|
1952
|
+
inverted?: boolean | undefined;
|
|
1953
|
+
} | {
|
|
1954
|
+
type: "frequency_limit";
|
|
1955
|
+
key: string;
|
|
1956
|
+
limit: number;
|
|
1957
|
+
inverted?: boolean | undefined;
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "event_count";
|
|
1960
|
+
key: string;
|
|
1961
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
1962
|
+
count: number;
|
|
1963
|
+
withinMs?: number | undefined;
|
|
1964
|
+
counter?: {
|
|
1965
|
+
events: string[];
|
|
1966
|
+
match?: Record<string, {
|
|
1967
|
+
equals?: string | number | boolean | undefined;
|
|
1968
|
+
contains?: string | undefined;
|
|
1969
|
+
}> | undefined;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
} | undefined;
|
|
1972
|
+
}>]>, "many">>;
|
|
1973
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1974
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1975
|
+
text: z.ZodString;
|
|
1976
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1977
|
+
type: z.ZodLiteral<"page_url">;
|
|
1978
|
+
url: z.ZodString;
|
|
1979
|
+
}, "strip", z.ZodTypeAny, {
|
|
1980
|
+
type: "page_url";
|
|
1981
|
+
url: string;
|
|
1982
|
+
}, {
|
|
1983
|
+
type: "page_url";
|
|
1984
|
+
url: string;
|
|
1985
|
+
}>, z.ZodObject<{
|
|
1986
|
+
type: z.ZodLiteral<"route">;
|
|
1987
|
+
routeId: z.ZodString;
|
|
1988
|
+
}, "strip", z.ZodTypeAny, {
|
|
1989
|
+
type: "route";
|
|
1990
|
+
routeId: string;
|
|
1991
|
+
}, {
|
|
1992
|
+
type: "route";
|
|
1993
|
+
routeId: string;
|
|
1994
|
+
}>, z.ZodObject<{
|
|
1995
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
1996
|
+
anchorId: z.ZodString;
|
|
1997
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
1998
|
+
}, "strip", z.ZodTypeAny, {
|
|
1999
|
+
type: "anchor_visible";
|
|
2000
|
+
anchorId: string;
|
|
2001
|
+
state: "visible" | "present" | "absent";
|
|
2002
|
+
}, {
|
|
2003
|
+
type: "anchor_visible";
|
|
2004
|
+
anchorId: string;
|
|
2005
|
+
state: "visible" | "present" | "absent";
|
|
2006
|
+
}>, z.ZodObject<{
|
|
2007
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
2008
|
+
eventName: z.ZodString;
|
|
2009
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2010
|
+
}, "strip", z.ZodTypeAny, {
|
|
2011
|
+
type: "event_occurred";
|
|
2012
|
+
eventName: string;
|
|
2013
|
+
withinMs?: number | undefined;
|
|
2014
|
+
}, {
|
|
2015
|
+
type: "event_occurred";
|
|
2016
|
+
eventName: string;
|
|
2017
|
+
withinMs?: number | undefined;
|
|
2018
|
+
}>, z.ZodObject<{
|
|
2019
|
+
type: z.ZodLiteral<"state_equals">;
|
|
2020
|
+
key: z.ZodString;
|
|
2021
|
+
value: z.ZodUnknown;
|
|
2022
|
+
}, "strip", z.ZodTypeAny, {
|
|
2023
|
+
type: "state_equals";
|
|
2024
|
+
key: string;
|
|
2025
|
+
value?: unknown;
|
|
2026
|
+
}, {
|
|
2027
|
+
type: "state_equals";
|
|
2028
|
+
key: string;
|
|
2029
|
+
value?: unknown;
|
|
2030
|
+
}>, z.ZodObject<{
|
|
2031
|
+
type: z.ZodLiteral<"viewport">;
|
|
2032
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
2033
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
2034
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
2035
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
2036
|
+
}, "strip", z.ZodTypeAny, {
|
|
2037
|
+
type: "viewport";
|
|
2038
|
+
minWidth?: number | undefined;
|
|
2039
|
+
maxWidth?: number | undefined;
|
|
2040
|
+
minHeight?: number | undefined;
|
|
2041
|
+
maxHeight?: number | undefined;
|
|
2042
|
+
}, {
|
|
2043
|
+
type: "viewport";
|
|
2044
|
+
minWidth?: number | undefined;
|
|
2045
|
+
maxWidth?: number | undefined;
|
|
2046
|
+
minHeight?: number | undefined;
|
|
2047
|
+
maxHeight?: number | undefined;
|
|
2048
|
+
}>, z.ZodObject<{
|
|
2049
|
+
type: z.ZodLiteral<"session_metric">;
|
|
2050
|
+
key: z.ZodString;
|
|
2051
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2052
|
+
threshold: z.ZodNumber;
|
|
2053
|
+
}, "strip", z.ZodTypeAny, {
|
|
2054
|
+
type: "session_metric";
|
|
2055
|
+
key: string;
|
|
2056
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2057
|
+
threshold: number;
|
|
2058
|
+
}, {
|
|
2059
|
+
type: "session_metric";
|
|
2060
|
+
key: string;
|
|
2061
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2062
|
+
threshold: number;
|
|
2063
|
+
}>, z.ZodObject<{
|
|
2064
|
+
type: z.ZodLiteral<"dismissed">;
|
|
2065
|
+
key: z.ZodString;
|
|
2066
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2067
|
+
}, "strip", z.ZodTypeAny, {
|
|
2068
|
+
type: "dismissed";
|
|
2069
|
+
key: string;
|
|
2070
|
+
inverted?: boolean | undefined;
|
|
2071
|
+
}, {
|
|
2072
|
+
type: "dismissed";
|
|
2073
|
+
key: string;
|
|
2074
|
+
inverted?: boolean | undefined;
|
|
2075
|
+
}>, z.ZodObject<{
|
|
2076
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
2077
|
+
key: z.ZodString;
|
|
2078
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2079
|
+
}, "strip", z.ZodTypeAny, {
|
|
2080
|
+
type: "cooldown_active";
|
|
2081
|
+
key: string;
|
|
2082
|
+
inverted?: boolean | undefined;
|
|
2083
|
+
}, {
|
|
2084
|
+
type: "cooldown_active";
|
|
2085
|
+
key: string;
|
|
2086
|
+
inverted?: boolean | undefined;
|
|
2087
|
+
}>, z.ZodObject<{
|
|
2088
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
2089
|
+
key: z.ZodString;
|
|
2090
|
+
limit: z.ZodNumber;
|
|
2091
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2092
|
+
}, "strip", z.ZodTypeAny, {
|
|
2093
|
+
type: "frequency_limit";
|
|
2094
|
+
key: string;
|
|
2095
|
+
limit: number;
|
|
2096
|
+
inverted?: boolean | undefined;
|
|
2097
|
+
}, {
|
|
2098
|
+
type: "frequency_limit";
|
|
2099
|
+
key: string;
|
|
2100
|
+
limit: number;
|
|
2101
|
+
inverted?: boolean | undefined;
|
|
2102
|
+
}>, z.ZodObject<{
|
|
2103
|
+
type: z.ZodLiteral<"event_count">;
|
|
2104
|
+
key: z.ZodString;
|
|
2105
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2106
|
+
count: z.ZodNumber;
|
|
2107
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2108
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
2109
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
2110
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2111
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2112
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
2113
|
+
}, "strip", z.ZodTypeAny, {
|
|
2114
|
+
equals?: string | number | boolean | undefined;
|
|
2115
|
+
contains?: string | undefined;
|
|
2116
|
+
}, {
|
|
2117
|
+
equals?: string | number | boolean | undefined;
|
|
2118
|
+
contains?: string | undefined;
|
|
2119
|
+
}>>>;
|
|
2120
|
+
}, "strip", z.ZodTypeAny, {
|
|
2121
|
+
events: string[];
|
|
2122
|
+
match?: Record<string, {
|
|
2123
|
+
equals?: string | number | boolean | undefined;
|
|
2124
|
+
contains?: string | undefined;
|
|
2125
|
+
}> | undefined;
|
|
2126
|
+
}, {
|
|
2127
|
+
events: string[];
|
|
2128
|
+
match?: Record<string, {
|
|
2129
|
+
equals?: string | number | boolean | undefined;
|
|
2130
|
+
contains?: string | undefined;
|
|
2131
|
+
}> | undefined;
|
|
2132
|
+
}>>;
|
|
2133
|
+
}, "strip", z.ZodTypeAny, {
|
|
2134
|
+
type: "event_count";
|
|
2135
|
+
key: string;
|
|
2136
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2137
|
+
count: number;
|
|
2138
|
+
withinMs?: number | undefined;
|
|
2139
|
+
counter?: {
|
|
2140
|
+
events: string[];
|
|
2141
|
+
match?: Record<string, {
|
|
2142
|
+
equals?: string | number | boolean | undefined;
|
|
2143
|
+
contains?: string | undefined;
|
|
2144
|
+
}> | undefined;
|
|
2145
|
+
} | undefined;
|
|
2146
|
+
}, {
|
|
2147
|
+
type: "event_count";
|
|
2148
|
+
key: string;
|
|
2149
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2150
|
+
count: number;
|
|
2151
|
+
withinMs?: number | undefined;
|
|
2152
|
+
counter?: {
|
|
2153
|
+
events: string[];
|
|
2154
|
+
match?: Record<string, {
|
|
2155
|
+
equals?: string | number | boolean | undefined;
|
|
2156
|
+
contains?: string | undefined;
|
|
2157
|
+
}> | undefined;
|
|
2158
|
+
} | undefined;
|
|
2159
|
+
}>]>>;
|
|
2160
|
+
}, "strip", z.ZodTypeAny, {
|
|
2161
|
+
text: string;
|
|
2162
|
+
check?: {
|
|
2163
|
+
type: "page_url";
|
|
2164
|
+
url: string;
|
|
2165
|
+
} | {
|
|
2166
|
+
type: "route";
|
|
2167
|
+
routeId: string;
|
|
2168
|
+
} | {
|
|
2169
|
+
type: "anchor_visible";
|
|
2170
|
+
anchorId: string;
|
|
2171
|
+
state: "visible" | "present" | "absent";
|
|
2172
|
+
} | {
|
|
2173
|
+
type: "event_occurred";
|
|
2174
|
+
eventName: string;
|
|
2175
|
+
withinMs?: number | undefined;
|
|
2176
|
+
} | {
|
|
2177
|
+
type: "state_equals";
|
|
2178
|
+
key: string;
|
|
2179
|
+
value?: unknown;
|
|
2180
|
+
} | {
|
|
2181
|
+
type: "viewport";
|
|
2182
|
+
minWidth?: number | undefined;
|
|
2183
|
+
maxWidth?: number | undefined;
|
|
2184
|
+
minHeight?: number | undefined;
|
|
2185
|
+
maxHeight?: number | undefined;
|
|
2186
|
+
} | {
|
|
2187
|
+
type: "session_metric";
|
|
2188
|
+
key: string;
|
|
2189
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2190
|
+
threshold: number;
|
|
2191
|
+
} | {
|
|
2192
|
+
type: "dismissed";
|
|
2193
|
+
key: string;
|
|
2194
|
+
inverted?: boolean | undefined;
|
|
2195
|
+
} | {
|
|
2196
|
+
type: "cooldown_active";
|
|
2197
|
+
key: string;
|
|
2198
|
+
inverted?: boolean | undefined;
|
|
2199
|
+
} | {
|
|
2200
|
+
type: "frequency_limit";
|
|
2201
|
+
key: string;
|
|
2202
|
+
limit: number;
|
|
2203
|
+
inverted?: boolean | undefined;
|
|
2204
|
+
} | {
|
|
2205
|
+
type: "event_count";
|
|
2206
|
+
key: string;
|
|
2207
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2208
|
+
count: number;
|
|
2209
|
+
withinMs?: number | undefined;
|
|
2210
|
+
counter?: {
|
|
2211
|
+
events: string[];
|
|
2212
|
+
match?: Record<string, {
|
|
2213
|
+
equals?: string | number | boolean | undefined;
|
|
2214
|
+
contains?: string | undefined;
|
|
2215
|
+
}> | undefined;
|
|
2216
|
+
} | undefined;
|
|
2217
|
+
} | undefined;
|
|
2218
|
+
}, {
|
|
2219
|
+
text: string;
|
|
2220
|
+
check?: {
|
|
2221
|
+
type: "page_url";
|
|
2222
|
+
url: string;
|
|
2223
|
+
} | {
|
|
2224
|
+
type: "route";
|
|
2225
|
+
routeId: string;
|
|
2226
|
+
} | {
|
|
2227
|
+
type: "anchor_visible";
|
|
2228
|
+
anchorId: string;
|
|
2229
|
+
state: "visible" | "present" | "absent";
|
|
2230
|
+
} | {
|
|
2231
|
+
type: "event_occurred";
|
|
2232
|
+
eventName: string;
|
|
2233
|
+
withinMs?: number | undefined;
|
|
2234
|
+
} | {
|
|
2235
|
+
type: "state_equals";
|
|
2236
|
+
key: string;
|
|
2237
|
+
value?: unknown;
|
|
2238
|
+
} | {
|
|
2239
|
+
type: "viewport";
|
|
2240
|
+
minWidth?: number | undefined;
|
|
2241
|
+
maxWidth?: number | undefined;
|
|
2242
|
+
minHeight?: number | undefined;
|
|
2243
|
+
maxHeight?: number | undefined;
|
|
2244
|
+
} | {
|
|
2245
|
+
type: "session_metric";
|
|
2246
|
+
key: string;
|
|
2247
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2248
|
+
threshold: number;
|
|
2249
|
+
} | {
|
|
2250
|
+
type: "dismissed";
|
|
2251
|
+
key: string;
|
|
2252
|
+
inverted?: boolean | undefined;
|
|
2253
|
+
} | {
|
|
2254
|
+
type: "cooldown_active";
|
|
2255
|
+
key: string;
|
|
2256
|
+
inverted?: boolean | undefined;
|
|
2257
|
+
} | {
|
|
2258
|
+
type: "frequency_limit";
|
|
2259
|
+
key: string;
|
|
2260
|
+
limit: number;
|
|
2261
|
+
inverted?: boolean | undefined;
|
|
2262
|
+
} | {
|
|
2263
|
+
type: "event_count";
|
|
2264
|
+
key: string;
|
|
2265
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2266
|
+
count: number;
|
|
2267
|
+
withinMs?: number | undefined;
|
|
2268
|
+
counter?: {
|
|
2269
|
+
events: string[];
|
|
2270
|
+
match?: Record<string, {
|
|
2271
|
+
equals?: string | number | boolean | undefined;
|
|
2272
|
+
contains?: string | undefined;
|
|
2273
|
+
}> | undefined;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
} | undefined;
|
|
2276
|
+
}>]>, "many">>;
|
|
2277
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1327
2278
|
}, "strict", z.ZodTypeAny, {
|
|
1328
2279
|
actions: any[];
|
|
1329
2280
|
fetchedAt: string;
|
|
@@ -1411,6 +2362,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1411
2362
|
blur?: string | undefined;
|
|
1412
2363
|
border?: string | undefined;
|
|
1413
2364
|
width?: string | undefined;
|
|
2365
|
+
transitionDuration?: string | undefined;
|
|
2366
|
+
transitionEasing?: string | undefined;
|
|
2367
|
+
transitionFade?: string | undefined;
|
|
1414
2368
|
} | undefined;
|
|
1415
2369
|
launcher?: {
|
|
1416
2370
|
size?: string | undefined;
|
|
@@ -1447,7 +2401,311 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1447
2401
|
progressGradient?: string | undefined;
|
|
1448
2402
|
} | undefined;
|
|
1449
2403
|
} | undefined;
|
|
1450
|
-
|
|
2404
|
+
meta?: z.objectOutputType<{
|
|
2405
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2406
|
+
text: z.ZodString;
|
|
2407
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2408
|
+
type: z.ZodLiteral<"page_url">;
|
|
2409
|
+
url: z.ZodString;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
type: "page_url";
|
|
2412
|
+
url: string;
|
|
2413
|
+
}, {
|
|
2414
|
+
type: "page_url";
|
|
2415
|
+
url: string;
|
|
2416
|
+
}>, z.ZodObject<{
|
|
2417
|
+
type: z.ZodLiteral<"route">;
|
|
2418
|
+
routeId: z.ZodString;
|
|
2419
|
+
}, "strip", z.ZodTypeAny, {
|
|
2420
|
+
type: "route";
|
|
2421
|
+
routeId: string;
|
|
2422
|
+
}, {
|
|
2423
|
+
type: "route";
|
|
2424
|
+
routeId: string;
|
|
2425
|
+
}>, z.ZodObject<{
|
|
2426
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
2427
|
+
anchorId: z.ZodString;
|
|
2428
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
2429
|
+
}, "strip", z.ZodTypeAny, {
|
|
2430
|
+
type: "anchor_visible";
|
|
2431
|
+
anchorId: string;
|
|
2432
|
+
state: "visible" | "present" | "absent";
|
|
2433
|
+
}, {
|
|
2434
|
+
type: "anchor_visible";
|
|
2435
|
+
anchorId: string;
|
|
2436
|
+
state: "visible" | "present" | "absent";
|
|
2437
|
+
}>, z.ZodObject<{
|
|
2438
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
2439
|
+
eventName: z.ZodString;
|
|
2440
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2441
|
+
}, "strip", z.ZodTypeAny, {
|
|
2442
|
+
type: "event_occurred";
|
|
2443
|
+
eventName: string;
|
|
2444
|
+
withinMs?: number | undefined;
|
|
2445
|
+
}, {
|
|
2446
|
+
type: "event_occurred";
|
|
2447
|
+
eventName: string;
|
|
2448
|
+
withinMs?: number | undefined;
|
|
2449
|
+
}>, z.ZodObject<{
|
|
2450
|
+
type: z.ZodLiteral<"state_equals">;
|
|
2451
|
+
key: z.ZodString;
|
|
2452
|
+
value: z.ZodUnknown;
|
|
2453
|
+
}, "strip", z.ZodTypeAny, {
|
|
2454
|
+
type: "state_equals";
|
|
2455
|
+
key: string;
|
|
2456
|
+
value?: unknown;
|
|
2457
|
+
}, {
|
|
2458
|
+
type: "state_equals";
|
|
2459
|
+
key: string;
|
|
2460
|
+
value?: unknown;
|
|
2461
|
+
}>, z.ZodObject<{
|
|
2462
|
+
type: z.ZodLiteral<"viewport">;
|
|
2463
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
2464
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
2465
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
2466
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
2467
|
+
}, "strip", z.ZodTypeAny, {
|
|
2468
|
+
type: "viewport";
|
|
2469
|
+
minWidth?: number | undefined;
|
|
2470
|
+
maxWidth?: number | undefined;
|
|
2471
|
+
minHeight?: number | undefined;
|
|
2472
|
+
maxHeight?: number | undefined;
|
|
2473
|
+
}, {
|
|
2474
|
+
type: "viewport";
|
|
2475
|
+
minWidth?: number | undefined;
|
|
2476
|
+
maxWidth?: number | undefined;
|
|
2477
|
+
minHeight?: number | undefined;
|
|
2478
|
+
maxHeight?: number | undefined;
|
|
2479
|
+
}>, z.ZodObject<{
|
|
2480
|
+
type: z.ZodLiteral<"session_metric">;
|
|
2481
|
+
key: z.ZodString;
|
|
2482
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2483
|
+
threshold: z.ZodNumber;
|
|
2484
|
+
}, "strip", z.ZodTypeAny, {
|
|
2485
|
+
type: "session_metric";
|
|
2486
|
+
key: string;
|
|
2487
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2488
|
+
threshold: number;
|
|
2489
|
+
}, {
|
|
2490
|
+
type: "session_metric";
|
|
2491
|
+
key: string;
|
|
2492
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2493
|
+
threshold: number;
|
|
2494
|
+
}>, z.ZodObject<{
|
|
2495
|
+
type: z.ZodLiteral<"dismissed">;
|
|
2496
|
+
key: z.ZodString;
|
|
2497
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2498
|
+
}, "strip", z.ZodTypeAny, {
|
|
2499
|
+
type: "dismissed";
|
|
2500
|
+
key: string;
|
|
2501
|
+
inverted?: boolean | undefined;
|
|
2502
|
+
}, {
|
|
2503
|
+
type: "dismissed";
|
|
2504
|
+
key: string;
|
|
2505
|
+
inverted?: boolean | undefined;
|
|
2506
|
+
}>, z.ZodObject<{
|
|
2507
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
2508
|
+
key: z.ZodString;
|
|
2509
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2510
|
+
}, "strip", z.ZodTypeAny, {
|
|
2511
|
+
type: "cooldown_active";
|
|
2512
|
+
key: string;
|
|
2513
|
+
inverted?: boolean | undefined;
|
|
2514
|
+
}, {
|
|
2515
|
+
type: "cooldown_active";
|
|
2516
|
+
key: string;
|
|
2517
|
+
inverted?: boolean | undefined;
|
|
2518
|
+
}>, z.ZodObject<{
|
|
2519
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
2520
|
+
key: z.ZodString;
|
|
2521
|
+
limit: z.ZodNumber;
|
|
2522
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
type: "frequency_limit";
|
|
2525
|
+
key: string;
|
|
2526
|
+
limit: number;
|
|
2527
|
+
inverted?: boolean | undefined;
|
|
2528
|
+
}, {
|
|
2529
|
+
type: "frequency_limit";
|
|
2530
|
+
key: string;
|
|
2531
|
+
limit: number;
|
|
2532
|
+
inverted?: boolean | undefined;
|
|
2533
|
+
}>, z.ZodObject<{
|
|
2534
|
+
type: z.ZodLiteral<"event_count">;
|
|
2535
|
+
key: z.ZodString;
|
|
2536
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2537
|
+
count: z.ZodNumber;
|
|
2538
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2539
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
2540
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
2541
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2542
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2543
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
}, "strip", z.ZodTypeAny, {
|
|
2545
|
+
equals?: string | number | boolean | undefined;
|
|
2546
|
+
contains?: string | undefined;
|
|
2547
|
+
}, {
|
|
2548
|
+
equals?: string | number | boolean | undefined;
|
|
2549
|
+
contains?: string | undefined;
|
|
2550
|
+
}>>>;
|
|
2551
|
+
}, "strip", z.ZodTypeAny, {
|
|
2552
|
+
events: string[];
|
|
2553
|
+
match?: Record<string, {
|
|
2554
|
+
equals?: string | number | boolean | undefined;
|
|
2555
|
+
contains?: string | undefined;
|
|
2556
|
+
}> | undefined;
|
|
2557
|
+
}, {
|
|
2558
|
+
events: string[];
|
|
2559
|
+
match?: Record<string, {
|
|
2560
|
+
equals?: string | number | boolean | undefined;
|
|
2561
|
+
contains?: string | undefined;
|
|
2562
|
+
}> | undefined;
|
|
2563
|
+
}>>;
|
|
2564
|
+
}, "strip", z.ZodTypeAny, {
|
|
2565
|
+
type: "event_count";
|
|
2566
|
+
key: string;
|
|
2567
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2568
|
+
count: number;
|
|
2569
|
+
withinMs?: number | undefined;
|
|
2570
|
+
counter?: {
|
|
2571
|
+
events: string[];
|
|
2572
|
+
match?: Record<string, {
|
|
2573
|
+
equals?: string | number | boolean | undefined;
|
|
2574
|
+
contains?: string | undefined;
|
|
2575
|
+
}> | undefined;
|
|
2576
|
+
} | undefined;
|
|
2577
|
+
}, {
|
|
2578
|
+
type: "event_count";
|
|
2579
|
+
key: string;
|
|
2580
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2581
|
+
count: number;
|
|
2582
|
+
withinMs?: number | undefined;
|
|
2583
|
+
counter?: {
|
|
2584
|
+
events: string[];
|
|
2585
|
+
match?: Record<string, {
|
|
2586
|
+
equals?: string | number | boolean | undefined;
|
|
2587
|
+
contains?: string | undefined;
|
|
2588
|
+
}> | undefined;
|
|
2589
|
+
} | undefined;
|
|
2590
|
+
}>]>>;
|
|
2591
|
+
}, "strip", z.ZodTypeAny, {
|
|
2592
|
+
text: string;
|
|
2593
|
+
check?: {
|
|
2594
|
+
type: "page_url";
|
|
2595
|
+
url: string;
|
|
2596
|
+
} | {
|
|
2597
|
+
type: "route";
|
|
2598
|
+
routeId: string;
|
|
2599
|
+
} | {
|
|
2600
|
+
type: "anchor_visible";
|
|
2601
|
+
anchorId: string;
|
|
2602
|
+
state: "visible" | "present" | "absent";
|
|
2603
|
+
} | {
|
|
2604
|
+
type: "event_occurred";
|
|
2605
|
+
eventName: string;
|
|
2606
|
+
withinMs?: number | undefined;
|
|
2607
|
+
} | {
|
|
2608
|
+
type: "state_equals";
|
|
2609
|
+
key: string;
|
|
2610
|
+
value?: unknown;
|
|
2611
|
+
} | {
|
|
2612
|
+
type: "viewport";
|
|
2613
|
+
minWidth?: number | undefined;
|
|
2614
|
+
maxWidth?: number | undefined;
|
|
2615
|
+
minHeight?: number | undefined;
|
|
2616
|
+
maxHeight?: number | undefined;
|
|
2617
|
+
} | {
|
|
2618
|
+
type: "session_metric";
|
|
2619
|
+
key: string;
|
|
2620
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2621
|
+
threshold: number;
|
|
2622
|
+
} | {
|
|
2623
|
+
type: "dismissed";
|
|
2624
|
+
key: string;
|
|
2625
|
+
inverted?: boolean | undefined;
|
|
2626
|
+
} | {
|
|
2627
|
+
type: "cooldown_active";
|
|
2628
|
+
key: string;
|
|
2629
|
+
inverted?: boolean | undefined;
|
|
2630
|
+
} | {
|
|
2631
|
+
type: "frequency_limit";
|
|
2632
|
+
key: string;
|
|
2633
|
+
limit: number;
|
|
2634
|
+
inverted?: boolean | undefined;
|
|
2635
|
+
} | {
|
|
2636
|
+
type: "event_count";
|
|
2637
|
+
key: string;
|
|
2638
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2639
|
+
count: number;
|
|
2640
|
+
withinMs?: number | undefined;
|
|
2641
|
+
counter?: {
|
|
2642
|
+
events: string[];
|
|
2643
|
+
match?: Record<string, {
|
|
2644
|
+
equals?: string | number | boolean | undefined;
|
|
2645
|
+
contains?: string | undefined;
|
|
2646
|
+
}> | undefined;
|
|
2647
|
+
} | undefined;
|
|
2648
|
+
} | undefined;
|
|
2649
|
+
}, {
|
|
2650
|
+
text: string;
|
|
2651
|
+
check?: {
|
|
2652
|
+
type: "page_url";
|
|
2653
|
+
url: string;
|
|
2654
|
+
} | {
|
|
2655
|
+
type: "route";
|
|
2656
|
+
routeId: string;
|
|
2657
|
+
} | {
|
|
2658
|
+
type: "anchor_visible";
|
|
2659
|
+
anchorId: string;
|
|
2660
|
+
state: "visible" | "present" | "absent";
|
|
2661
|
+
} | {
|
|
2662
|
+
type: "event_occurred";
|
|
2663
|
+
eventName: string;
|
|
2664
|
+
withinMs?: number | undefined;
|
|
2665
|
+
} | {
|
|
2666
|
+
type: "state_equals";
|
|
2667
|
+
key: string;
|
|
2668
|
+
value?: unknown;
|
|
2669
|
+
} | {
|
|
2670
|
+
type: "viewport";
|
|
2671
|
+
minWidth?: number | undefined;
|
|
2672
|
+
maxWidth?: number | undefined;
|
|
2673
|
+
minHeight?: number | undefined;
|
|
2674
|
+
maxHeight?: number | undefined;
|
|
2675
|
+
} | {
|
|
2676
|
+
type: "session_metric";
|
|
2677
|
+
key: string;
|
|
2678
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2679
|
+
threshold: number;
|
|
2680
|
+
} | {
|
|
2681
|
+
type: "dismissed";
|
|
2682
|
+
key: string;
|
|
2683
|
+
inverted?: boolean | undefined;
|
|
2684
|
+
} | {
|
|
2685
|
+
type: "cooldown_active";
|
|
2686
|
+
key: string;
|
|
2687
|
+
inverted?: boolean | undefined;
|
|
2688
|
+
} | {
|
|
2689
|
+
type: "frequency_limit";
|
|
2690
|
+
key: string;
|
|
2691
|
+
limit: number;
|
|
2692
|
+
inverted?: boolean | undefined;
|
|
2693
|
+
} | {
|
|
2694
|
+
type: "event_count";
|
|
2695
|
+
key: string;
|
|
2696
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2697
|
+
count: number;
|
|
2698
|
+
withinMs?: number | undefined;
|
|
2699
|
+
counter?: {
|
|
2700
|
+
events: string[];
|
|
2701
|
+
match?: Record<string, {
|
|
2702
|
+
equals?: string | number | boolean | undefined;
|
|
2703
|
+
contains?: string | undefined;
|
|
2704
|
+
}> | undefined;
|
|
2705
|
+
} | undefined;
|
|
2706
|
+
} | undefined;
|
|
2707
|
+
}>]>, "many">>;
|
|
2708
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1451
2709
|
}, {
|
|
1452
2710
|
actions: any[];
|
|
1453
2711
|
fetchedAt: string;
|
|
@@ -1535,6 +2793,9 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1535
2793
|
blur?: string | undefined;
|
|
1536
2794
|
border?: string | undefined;
|
|
1537
2795
|
width?: string | undefined;
|
|
2796
|
+
transitionDuration?: string | undefined;
|
|
2797
|
+
transitionEasing?: string | undefined;
|
|
2798
|
+
transitionFade?: string | undefined;
|
|
1538
2799
|
} | undefined;
|
|
1539
2800
|
launcher?: {
|
|
1540
2801
|
size?: string | undefined;
|
|
@@ -1571,7 +2832,311 @@ export declare const CanvasConfigResponseZ: z.ZodObject<{
|
|
|
1571
2832
|
progressGradient?: string | undefined;
|
|
1572
2833
|
} | undefined;
|
|
1573
2834
|
} | undefined;
|
|
1574
|
-
|
|
2835
|
+
meta?: z.objectInputType<{
|
|
2836
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2837
|
+
text: z.ZodString;
|
|
2838
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2839
|
+
type: z.ZodLiteral<"page_url">;
|
|
2840
|
+
url: z.ZodString;
|
|
2841
|
+
}, "strip", z.ZodTypeAny, {
|
|
2842
|
+
type: "page_url";
|
|
2843
|
+
url: string;
|
|
2844
|
+
}, {
|
|
2845
|
+
type: "page_url";
|
|
2846
|
+
url: string;
|
|
2847
|
+
}>, z.ZodObject<{
|
|
2848
|
+
type: z.ZodLiteral<"route">;
|
|
2849
|
+
routeId: z.ZodString;
|
|
2850
|
+
}, "strip", z.ZodTypeAny, {
|
|
2851
|
+
type: "route";
|
|
2852
|
+
routeId: string;
|
|
2853
|
+
}, {
|
|
2854
|
+
type: "route";
|
|
2855
|
+
routeId: string;
|
|
2856
|
+
}>, z.ZodObject<{
|
|
2857
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
2858
|
+
anchorId: z.ZodString;
|
|
2859
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
2860
|
+
}, "strip", z.ZodTypeAny, {
|
|
2861
|
+
type: "anchor_visible";
|
|
2862
|
+
anchorId: string;
|
|
2863
|
+
state: "visible" | "present" | "absent";
|
|
2864
|
+
}, {
|
|
2865
|
+
type: "anchor_visible";
|
|
2866
|
+
anchorId: string;
|
|
2867
|
+
state: "visible" | "present" | "absent";
|
|
2868
|
+
}>, z.ZodObject<{
|
|
2869
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
2870
|
+
eventName: z.ZodString;
|
|
2871
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2872
|
+
}, "strip", z.ZodTypeAny, {
|
|
2873
|
+
type: "event_occurred";
|
|
2874
|
+
eventName: string;
|
|
2875
|
+
withinMs?: number | undefined;
|
|
2876
|
+
}, {
|
|
2877
|
+
type: "event_occurred";
|
|
2878
|
+
eventName: string;
|
|
2879
|
+
withinMs?: number | undefined;
|
|
2880
|
+
}>, z.ZodObject<{
|
|
2881
|
+
type: z.ZodLiteral<"state_equals">;
|
|
2882
|
+
key: z.ZodString;
|
|
2883
|
+
value: z.ZodUnknown;
|
|
2884
|
+
}, "strip", z.ZodTypeAny, {
|
|
2885
|
+
type: "state_equals";
|
|
2886
|
+
key: string;
|
|
2887
|
+
value?: unknown;
|
|
2888
|
+
}, {
|
|
2889
|
+
type: "state_equals";
|
|
2890
|
+
key: string;
|
|
2891
|
+
value?: unknown;
|
|
2892
|
+
}>, z.ZodObject<{
|
|
2893
|
+
type: z.ZodLiteral<"viewport">;
|
|
2894
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
2895
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
2896
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
2897
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
2898
|
+
}, "strip", z.ZodTypeAny, {
|
|
2899
|
+
type: "viewport";
|
|
2900
|
+
minWidth?: number | undefined;
|
|
2901
|
+
maxWidth?: number | undefined;
|
|
2902
|
+
minHeight?: number | undefined;
|
|
2903
|
+
maxHeight?: number | undefined;
|
|
2904
|
+
}, {
|
|
2905
|
+
type: "viewport";
|
|
2906
|
+
minWidth?: number | undefined;
|
|
2907
|
+
maxWidth?: number | undefined;
|
|
2908
|
+
minHeight?: number | undefined;
|
|
2909
|
+
maxHeight?: number | undefined;
|
|
2910
|
+
}>, z.ZodObject<{
|
|
2911
|
+
type: z.ZodLiteral<"session_metric">;
|
|
2912
|
+
key: z.ZodString;
|
|
2913
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2914
|
+
threshold: z.ZodNumber;
|
|
2915
|
+
}, "strip", z.ZodTypeAny, {
|
|
2916
|
+
type: "session_metric";
|
|
2917
|
+
key: string;
|
|
2918
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2919
|
+
threshold: number;
|
|
2920
|
+
}, {
|
|
2921
|
+
type: "session_metric";
|
|
2922
|
+
key: string;
|
|
2923
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2924
|
+
threshold: number;
|
|
2925
|
+
}>, z.ZodObject<{
|
|
2926
|
+
type: z.ZodLiteral<"dismissed">;
|
|
2927
|
+
key: z.ZodString;
|
|
2928
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2929
|
+
}, "strip", z.ZodTypeAny, {
|
|
2930
|
+
type: "dismissed";
|
|
2931
|
+
key: string;
|
|
2932
|
+
inverted?: boolean | undefined;
|
|
2933
|
+
}, {
|
|
2934
|
+
type: "dismissed";
|
|
2935
|
+
key: string;
|
|
2936
|
+
inverted?: boolean | undefined;
|
|
2937
|
+
}>, z.ZodObject<{
|
|
2938
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
2939
|
+
key: z.ZodString;
|
|
2940
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2941
|
+
}, "strip", z.ZodTypeAny, {
|
|
2942
|
+
type: "cooldown_active";
|
|
2943
|
+
key: string;
|
|
2944
|
+
inverted?: boolean | undefined;
|
|
2945
|
+
}, {
|
|
2946
|
+
type: "cooldown_active";
|
|
2947
|
+
key: string;
|
|
2948
|
+
inverted?: boolean | undefined;
|
|
2949
|
+
}>, z.ZodObject<{
|
|
2950
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
2951
|
+
key: z.ZodString;
|
|
2952
|
+
limit: z.ZodNumber;
|
|
2953
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
2954
|
+
}, "strip", z.ZodTypeAny, {
|
|
2955
|
+
type: "frequency_limit";
|
|
2956
|
+
key: string;
|
|
2957
|
+
limit: number;
|
|
2958
|
+
inverted?: boolean | undefined;
|
|
2959
|
+
}, {
|
|
2960
|
+
type: "frequency_limit";
|
|
2961
|
+
key: string;
|
|
2962
|
+
limit: number;
|
|
2963
|
+
inverted?: boolean | undefined;
|
|
2964
|
+
}>, z.ZodObject<{
|
|
2965
|
+
type: z.ZodLiteral<"event_count">;
|
|
2966
|
+
key: z.ZodString;
|
|
2967
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
2968
|
+
count: z.ZodNumber;
|
|
2969
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
2970
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
2971
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
2972
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2973
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2974
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
2975
|
+
}, "strip", z.ZodTypeAny, {
|
|
2976
|
+
equals?: string | number | boolean | undefined;
|
|
2977
|
+
contains?: string | undefined;
|
|
2978
|
+
}, {
|
|
2979
|
+
equals?: string | number | boolean | undefined;
|
|
2980
|
+
contains?: string | undefined;
|
|
2981
|
+
}>>>;
|
|
2982
|
+
}, "strip", z.ZodTypeAny, {
|
|
2983
|
+
events: string[];
|
|
2984
|
+
match?: Record<string, {
|
|
2985
|
+
equals?: string | number | boolean | undefined;
|
|
2986
|
+
contains?: string | undefined;
|
|
2987
|
+
}> | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
events: string[];
|
|
2990
|
+
match?: Record<string, {
|
|
2991
|
+
equals?: string | number | boolean | undefined;
|
|
2992
|
+
contains?: string | undefined;
|
|
2993
|
+
}> | undefined;
|
|
2994
|
+
}>>;
|
|
2995
|
+
}, "strip", z.ZodTypeAny, {
|
|
2996
|
+
type: "event_count";
|
|
2997
|
+
key: string;
|
|
2998
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
2999
|
+
count: number;
|
|
3000
|
+
withinMs?: number | undefined;
|
|
3001
|
+
counter?: {
|
|
3002
|
+
events: string[];
|
|
3003
|
+
match?: Record<string, {
|
|
3004
|
+
equals?: string | number | boolean | undefined;
|
|
3005
|
+
contains?: string | undefined;
|
|
3006
|
+
}> | undefined;
|
|
3007
|
+
} | undefined;
|
|
3008
|
+
}, {
|
|
3009
|
+
type: "event_count";
|
|
3010
|
+
key: string;
|
|
3011
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3012
|
+
count: number;
|
|
3013
|
+
withinMs?: number | undefined;
|
|
3014
|
+
counter?: {
|
|
3015
|
+
events: string[];
|
|
3016
|
+
match?: Record<string, {
|
|
3017
|
+
equals?: string | number | boolean | undefined;
|
|
3018
|
+
contains?: string | undefined;
|
|
3019
|
+
}> | undefined;
|
|
3020
|
+
} | undefined;
|
|
3021
|
+
}>]>>;
|
|
3022
|
+
}, "strip", z.ZodTypeAny, {
|
|
3023
|
+
text: string;
|
|
3024
|
+
check?: {
|
|
3025
|
+
type: "page_url";
|
|
3026
|
+
url: string;
|
|
3027
|
+
} | {
|
|
3028
|
+
type: "route";
|
|
3029
|
+
routeId: string;
|
|
3030
|
+
} | {
|
|
3031
|
+
type: "anchor_visible";
|
|
3032
|
+
anchorId: string;
|
|
3033
|
+
state: "visible" | "present" | "absent";
|
|
3034
|
+
} | {
|
|
3035
|
+
type: "event_occurred";
|
|
3036
|
+
eventName: string;
|
|
3037
|
+
withinMs?: number | undefined;
|
|
3038
|
+
} | {
|
|
3039
|
+
type: "state_equals";
|
|
3040
|
+
key: string;
|
|
3041
|
+
value?: unknown;
|
|
3042
|
+
} | {
|
|
3043
|
+
type: "viewport";
|
|
3044
|
+
minWidth?: number | undefined;
|
|
3045
|
+
maxWidth?: number | undefined;
|
|
3046
|
+
minHeight?: number | undefined;
|
|
3047
|
+
maxHeight?: number | undefined;
|
|
3048
|
+
} | {
|
|
3049
|
+
type: "session_metric";
|
|
3050
|
+
key: string;
|
|
3051
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3052
|
+
threshold: number;
|
|
3053
|
+
} | {
|
|
3054
|
+
type: "dismissed";
|
|
3055
|
+
key: string;
|
|
3056
|
+
inverted?: boolean | undefined;
|
|
3057
|
+
} | {
|
|
3058
|
+
type: "cooldown_active";
|
|
3059
|
+
key: string;
|
|
3060
|
+
inverted?: boolean | undefined;
|
|
3061
|
+
} | {
|
|
3062
|
+
type: "frequency_limit";
|
|
3063
|
+
key: string;
|
|
3064
|
+
limit: number;
|
|
3065
|
+
inverted?: boolean | undefined;
|
|
3066
|
+
} | {
|
|
3067
|
+
type: "event_count";
|
|
3068
|
+
key: string;
|
|
3069
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3070
|
+
count: number;
|
|
3071
|
+
withinMs?: number | undefined;
|
|
3072
|
+
counter?: {
|
|
3073
|
+
events: string[];
|
|
3074
|
+
match?: Record<string, {
|
|
3075
|
+
equals?: string | number | boolean | undefined;
|
|
3076
|
+
contains?: string | undefined;
|
|
3077
|
+
}> | undefined;
|
|
3078
|
+
} | undefined;
|
|
3079
|
+
} | undefined;
|
|
3080
|
+
}, {
|
|
3081
|
+
text: string;
|
|
3082
|
+
check?: {
|
|
3083
|
+
type: "page_url";
|
|
3084
|
+
url: string;
|
|
3085
|
+
} | {
|
|
3086
|
+
type: "route";
|
|
3087
|
+
routeId: string;
|
|
3088
|
+
} | {
|
|
3089
|
+
type: "anchor_visible";
|
|
3090
|
+
anchorId: string;
|
|
3091
|
+
state: "visible" | "present" | "absent";
|
|
3092
|
+
} | {
|
|
3093
|
+
type: "event_occurred";
|
|
3094
|
+
eventName: string;
|
|
3095
|
+
withinMs?: number | undefined;
|
|
3096
|
+
} | {
|
|
3097
|
+
type: "state_equals";
|
|
3098
|
+
key: string;
|
|
3099
|
+
value?: unknown;
|
|
3100
|
+
} | {
|
|
3101
|
+
type: "viewport";
|
|
3102
|
+
minWidth?: number | undefined;
|
|
3103
|
+
maxWidth?: number | undefined;
|
|
3104
|
+
minHeight?: number | undefined;
|
|
3105
|
+
maxHeight?: number | undefined;
|
|
3106
|
+
} | {
|
|
3107
|
+
type: "session_metric";
|
|
3108
|
+
key: string;
|
|
3109
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3110
|
+
threshold: number;
|
|
3111
|
+
} | {
|
|
3112
|
+
type: "dismissed";
|
|
3113
|
+
key: string;
|
|
3114
|
+
inverted?: boolean | undefined;
|
|
3115
|
+
} | {
|
|
3116
|
+
type: "cooldown_active";
|
|
3117
|
+
key: string;
|
|
3118
|
+
inverted?: boolean | undefined;
|
|
3119
|
+
} | {
|
|
3120
|
+
type: "frequency_limit";
|
|
3121
|
+
key: string;
|
|
3122
|
+
limit: number;
|
|
3123
|
+
inverted?: boolean | undefined;
|
|
3124
|
+
} | {
|
|
3125
|
+
type: "event_count";
|
|
3126
|
+
key: string;
|
|
3127
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
3128
|
+
count: number;
|
|
3129
|
+
withinMs?: number | undefined;
|
|
3130
|
+
counter?: {
|
|
3131
|
+
events: string[];
|
|
3132
|
+
match?: Record<string, {
|
|
3133
|
+
equals?: string | number | boolean | undefined;
|
|
3134
|
+
contains?: string | undefined;
|
|
3135
|
+
}> | undefined;
|
|
3136
|
+
} | undefined;
|
|
3137
|
+
} | undefined;
|
|
3138
|
+
}>]>, "many">>;
|
|
3139
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1575
3140
|
}>;
|
|
1576
3141
|
/**
|
|
1577
3142
|
* Config schemas for unified JSON Schema generation.
|
|
@@ -1722,6 +3287,9 @@ export declare const configSchemas: ({
|
|
|
1722
3287
|
blur: z.ZodOptional<z.ZodString>;
|
|
1723
3288
|
border: z.ZodOptional<z.ZodString>;
|
|
1724
3289
|
width: z.ZodOptional<z.ZodString>;
|
|
3290
|
+
transitionDuration: z.ZodOptional<z.ZodString>;
|
|
3291
|
+
transitionEasing: z.ZodOptional<z.ZodString>;
|
|
3292
|
+
transitionFade: z.ZodOptional<z.ZodString>;
|
|
1725
3293
|
}, "strip", z.ZodTypeAny, {
|
|
1726
3294
|
position?: "right" | "left" | undefined;
|
|
1727
3295
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -1729,6 +3297,9 @@ export declare const configSchemas: ({
|
|
|
1729
3297
|
blur?: string | undefined;
|
|
1730
3298
|
border?: string | undefined;
|
|
1731
3299
|
width?: string | undefined;
|
|
3300
|
+
transitionDuration?: string | undefined;
|
|
3301
|
+
transitionEasing?: string | undefined;
|
|
3302
|
+
transitionFade?: string | undefined;
|
|
1732
3303
|
}, {
|
|
1733
3304
|
position?: "right" | "left" | undefined;
|
|
1734
3305
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -1736,6 +3307,9 @@ export declare const configSchemas: ({
|
|
|
1736
3307
|
blur?: string | undefined;
|
|
1737
3308
|
border?: string | undefined;
|
|
1738
3309
|
width?: string | undefined;
|
|
3310
|
+
transitionDuration?: string | undefined;
|
|
3311
|
+
transitionEasing?: string | undefined;
|
|
3312
|
+
transitionFade?: string | undefined;
|
|
1739
3313
|
}>>;
|
|
1740
3314
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
1741
3315
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -1966,6 +3540,9 @@ export declare const configSchemas: ({
|
|
|
1966
3540
|
blur?: string | undefined;
|
|
1967
3541
|
border?: string | undefined;
|
|
1968
3542
|
width?: string | undefined;
|
|
3543
|
+
transitionDuration?: string | undefined;
|
|
3544
|
+
transitionEasing?: string | undefined;
|
|
3545
|
+
transitionFade?: string | undefined;
|
|
1969
3546
|
} | undefined;
|
|
1970
3547
|
launcher?: {
|
|
1971
3548
|
size?: string | undefined;
|
|
@@ -2045,6 +3622,9 @@ export declare const configSchemas: ({
|
|
|
2045
3622
|
blur?: string | undefined;
|
|
2046
3623
|
border?: string | undefined;
|
|
2047
3624
|
width?: string | undefined;
|
|
3625
|
+
transitionDuration?: string | undefined;
|
|
3626
|
+
transitionEasing?: string | undefined;
|
|
3627
|
+
transitionFade?: string | undefined;
|
|
2048
3628
|
} | undefined;
|
|
2049
3629
|
launcher?: {
|
|
2050
3630
|
size?: string | undefined;
|
|
@@ -2257,6 +3837,9 @@ export declare const configSchemas: ({
|
|
|
2257
3837
|
blur: z.ZodOptional<z.ZodString>;
|
|
2258
3838
|
border: z.ZodOptional<z.ZodString>;
|
|
2259
3839
|
width: z.ZodOptional<z.ZodString>;
|
|
3840
|
+
transitionDuration: z.ZodOptional<z.ZodString>;
|
|
3841
|
+
transitionEasing: z.ZodOptional<z.ZodString>;
|
|
3842
|
+
transitionFade: z.ZodOptional<z.ZodString>;
|
|
2260
3843
|
}, "strip", z.ZodTypeAny, {
|
|
2261
3844
|
position?: "right" | "left" | undefined;
|
|
2262
3845
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -2264,6 +3847,9 @@ export declare const configSchemas: ({
|
|
|
2264
3847
|
blur?: string | undefined;
|
|
2265
3848
|
border?: string | undefined;
|
|
2266
3849
|
width?: string | undefined;
|
|
3850
|
+
transitionDuration?: string | undefined;
|
|
3851
|
+
transitionEasing?: string | undefined;
|
|
3852
|
+
transitionFade?: string | undefined;
|
|
2267
3853
|
}, {
|
|
2268
3854
|
position?: "right" | "left" | undefined;
|
|
2269
3855
|
layout?: "push" | "overlay" | undefined;
|
|
@@ -2271,6 +3857,9 @@ export declare const configSchemas: ({
|
|
|
2271
3857
|
blur?: string | undefined;
|
|
2272
3858
|
border?: string | undefined;
|
|
2273
3859
|
width?: string | undefined;
|
|
3860
|
+
transitionDuration?: string | undefined;
|
|
3861
|
+
transitionEasing?: string | undefined;
|
|
3862
|
+
transitionFade?: string | undefined;
|
|
2274
3863
|
}>>;
|
|
2275
3864
|
launcher: z.ZodOptional<z.ZodObject<{
|
|
2276
3865
|
background: z.ZodOptional<z.ZodString>;
|
|
@@ -2501,6 +4090,9 @@ export declare const configSchemas: ({
|
|
|
2501
4090
|
blur?: string | undefined;
|
|
2502
4091
|
border?: string | undefined;
|
|
2503
4092
|
width?: string | undefined;
|
|
4093
|
+
transitionDuration?: string | undefined;
|
|
4094
|
+
transitionEasing?: string | undefined;
|
|
4095
|
+
transitionFade?: string | undefined;
|
|
2504
4096
|
} | undefined;
|
|
2505
4097
|
launcher?: {
|
|
2506
4098
|
size?: string | undefined;
|
|
@@ -2580,6 +4172,9 @@ export declare const configSchemas: ({
|
|
|
2580
4172
|
blur?: string | undefined;
|
|
2581
4173
|
border?: string | undefined;
|
|
2582
4174
|
width?: string | undefined;
|
|
4175
|
+
transitionDuration?: string | undefined;
|
|
4176
|
+
transitionEasing?: string | undefined;
|
|
4177
|
+
transitionFade?: string | undefined;
|
|
2583
4178
|
} | undefined;
|
|
2584
4179
|
launcher?: {
|
|
2585
4180
|
size?: string | undefined;
|
|
@@ -2641,7 +4236,919 @@ export declare const configSchemas: ({
|
|
|
2641
4236
|
animationStyle?: "pulse" | "bounce" | "glow" | undefined;
|
|
2642
4237
|
notificationCount?: number | undefined;
|
|
2643
4238
|
}>>;
|
|
2644
|
-
|
|
4239
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4240
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4241
|
+
text: z.ZodString;
|
|
4242
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4243
|
+
type: z.ZodLiteral<"page_url">;
|
|
4244
|
+
url: z.ZodString;
|
|
4245
|
+
}, "strip", z.ZodTypeAny, {
|
|
4246
|
+
type: "page_url";
|
|
4247
|
+
url: string;
|
|
4248
|
+
}, {
|
|
4249
|
+
type: "page_url";
|
|
4250
|
+
url: string;
|
|
4251
|
+
}>, z.ZodObject<{
|
|
4252
|
+
type: z.ZodLiteral<"route">;
|
|
4253
|
+
routeId: z.ZodString;
|
|
4254
|
+
}, "strip", z.ZodTypeAny, {
|
|
4255
|
+
type: "route";
|
|
4256
|
+
routeId: string;
|
|
4257
|
+
}, {
|
|
4258
|
+
type: "route";
|
|
4259
|
+
routeId: string;
|
|
4260
|
+
}>, z.ZodObject<{
|
|
4261
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
4262
|
+
anchorId: z.ZodString;
|
|
4263
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
4264
|
+
}, "strip", z.ZodTypeAny, {
|
|
4265
|
+
type: "anchor_visible";
|
|
4266
|
+
anchorId: string;
|
|
4267
|
+
state: "visible" | "present" | "absent";
|
|
4268
|
+
}, {
|
|
4269
|
+
type: "anchor_visible";
|
|
4270
|
+
anchorId: string;
|
|
4271
|
+
state: "visible" | "present" | "absent";
|
|
4272
|
+
}>, z.ZodObject<{
|
|
4273
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
4274
|
+
eventName: z.ZodString;
|
|
4275
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4276
|
+
}, "strip", z.ZodTypeAny, {
|
|
4277
|
+
type: "event_occurred";
|
|
4278
|
+
eventName: string;
|
|
4279
|
+
withinMs?: number | undefined;
|
|
4280
|
+
}, {
|
|
4281
|
+
type: "event_occurred";
|
|
4282
|
+
eventName: string;
|
|
4283
|
+
withinMs?: number | undefined;
|
|
4284
|
+
}>, z.ZodObject<{
|
|
4285
|
+
type: z.ZodLiteral<"state_equals">;
|
|
4286
|
+
key: z.ZodString;
|
|
4287
|
+
value: z.ZodUnknown;
|
|
4288
|
+
}, "strip", z.ZodTypeAny, {
|
|
4289
|
+
type: "state_equals";
|
|
4290
|
+
key: string;
|
|
4291
|
+
value?: unknown;
|
|
4292
|
+
}, {
|
|
4293
|
+
type: "state_equals";
|
|
4294
|
+
key: string;
|
|
4295
|
+
value?: unknown;
|
|
4296
|
+
}>, z.ZodObject<{
|
|
4297
|
+
type: z.ZodLiteral<"viewport">;
|
|
4298
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
4299
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
4300
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
4301
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
4302
|
+
}, "strip", z.ZodTypeAny, {
|
|
4303
|
+
type: "viewport";
|
|
4304
|
+
minWidth?: number | undefined;
|
|
4305
|
+
maxWidth?: number | undefined;
|
|
4306
|
+
minHeight?: number | undefined;
|
|
4307
|
+
maxHeight?: number | undefined;
|
|
4308
|
+
}, {
|
|
4309
|
+
type: "viewport";
|
|
4310
|
+
minWidth?: number | undefined;
|
|
4311
|
+
maxWidth?: number | undefined;
|
|
4312
|
+
minHeight?: number | undefined;
|
|
4313
|
+
maxHeight?: number | undefined;
|
|
4314
|
+
}>, z.ZodObject<{
|
|
4315
|
+
type: z.ZodLiteral<"session_metric">;
|
|
4316
|
+
key: z.ZodString;
|
|
4317
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4318
|
+
threshold: z.ZodNumber;
|
|
4319
|
+
}, "strip", z.ZodTypeAny, {
|
|
4320
|
+
type: "session_metric";
|
|
4321
|
+
key: string;
|
|
4322
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4323
|
+
threshold: number;
|
|
4324
|
+
}, {
|
|
4325
|
+
type: "session_metric";
|
|
4326
|
+
key: string;
|
|
4327
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4328
|
+
threshold: number;
|
|
4329
|
+
}>, z.ZodObject<{
|
|
4330
|
+
type: z.ZodLiteral<"dismissed">;
|
|
4331
|
+
key: z.ZodString;
|
|
4332
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4333
|
+
}, "strip", z.ZodTypeAny, {
|
|
4334
|
+
type: "dismissed";
|
|
4335
|
+
key: string;
|
|
4336
|
+
inverted?: boolean | undefined;
|
|
4337
|
+
}, {
|
|
4338
|
+
type: "dismissed";
|
|
4339
|
+
key: string;
|
|
4340
|
+
inverted?: boolean | undefined;
|
|
4341
|
+
}>, z.ZodObject<{
|
|
4342
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
4343
|
+
key: z.ZodString;
|
|
4344
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4345
|
+
}, "strip", z.ZodTypeAny, {
|
|
4346
|
+
type: "cooldown_active";
|
|
4347
|
+
key: string;
|
|
4348
|
+
inverted?: boolean | undefined;
|
|
4349
|
+
}, {
|
|
4350
|
+
type: "cooldown_active";
|
|
4351
|
+
key: string;
|
|
4352
|
+
inverted?: boolean | undefined;
|
|
4353
|
+
}>, z.ZodObject<{
|
|
4354
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
4355
|
+
key: z.ZodString;
|
|
4356
|
+
limit: z.ZodNumber;
|
|
4357
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4358
|
+
}, "strip", z.ZodTypeAny, {
|
|
4359
|
+
type: "frequency_limit";
|
|
4360
|
+
key: string;
|
|
4361
|
+
limit: number;
|
|
4362
|
+
inverted?: boolean | undefined;
|
|
4363
|
+
}, {
|
|
4364
|
+
type: "frequency_limit";
|
|
4365
|
+
key: string;
|
|
4366
|
+
limit: number;
|
|
4367
|
+
inverted?: boolean | undefined;
|
|
4368
|
+
}>, z.ZodObject<{
|
|
4369
|
+
type: z.ZodLiteral<"event_count">;
|
|
4370
|
+
key: z.ZodString;
|
|
4371
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4372
|
+
count: z.ZodNumber;
|
|
4373
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4374
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
4375
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
4376
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4377
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4378
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
4379
|
+
}, "strip", z.ZodTypeAny, {
|
|
4380
|
+
equals?: string | number | boolean | undefined;
|
|
4381
|
+
contains?: string | undefined;
|
|
4382
|
+
}, {
|
|
4383
|
+
equals?: string | number | boolean | undefined;
|
|
4384
|
+
contains?: string | undefined;
|
|
4385
|
+
}>>>;
|
|
4386
|
+
}, "strip", z.ZodTypeAny, {
|
|
4387
|
+
events: string[];
|
|
4388
|
+
match?: Record<string, {
|
|
4389
|
+
equals?: string | number | boolean | undefined;
|
|
4390
|
+
contains?: string | undefined;
|
|
4391
|
+
}> | undefined;
|
|
4392
|
+
}, {
|
|
4393
|
+
events: string[];
|
|
4394
|
+
match?: Record<string, {
|
|
4395
|
+
equals?: string | number | boolean | undefined;
|
|
4396
|
+
contains?: string | undefined;
|
|
4397
|
+
}> | undefined;
|
|
4398
|
+
}>>;
|
|
4399
|
+
}, "strip", z.ZodTypeAny, {
|
|
4400
|
+
type: "event_count";
|
|
4401
|
+
key: string;
|
|
4402
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4403
|
+
count: number;
|
|
4404
|
+
withinMs?: number | undefined;
|
|
4405
|
+
counter?: {
|
|
4406
|
+
events: string[];
|
|
4407
|
+
match?: Record<string, {
|
|
4408
|
+
equals?: string | number | boolean | undefined;
|
|
4409
|
+
contains?: string | undefined;
|
|
4410
|
+
}> | undefined;
|
|
4411
|
+
} | undefined;
|
|
4412
|
+
}, {
|
|
4413
|
+
type: "event_count";
|
|
4414
|
+
key: string;
|
|
4415
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4416
|
+
count: number;
|
|
4417
|
+
withinMs?: number | undefined;
|
|
4418
|
+
counter?: {
|
|
4419
|
+
events: string[];
|
|
4420
|
+
match?: Record<string, {
|
|
4421
|
+
equals?: string | number | boolean | undefined;
|
|
4422
|
+
contains?: string | undefined;
|
|
4423
|
+
}> | undefined;
|
|
4424
|
+
} | undefined;
|
|
4425
|
+
}>]>>;
|
|
4426
|
+
}, "strip", z.ZodTypeAny, {
|
|
4427
|
+
text: string;
|
|
4428
|
+
check?: {
|
|
4429
|
+
type: "page_url";
|
|
4430
|
+
url: string;
|
|
4431
|
+
} | {
|
|
4432
|
+
type: "route";
|
|
4433
|
+
routeId: string;
|
|
4434
|
+
} | {
|
|
4435
|
+
type: "anchor_visible";
|
|
4436
|
+
anchorId: string;
|
|
4437
|
+
state: "visible" | "present" | "absent";
|
|
4438
|
+
} | {
|
|
4439
|
+
type: "event_occurred";
|
|
4440
|
+
eventName: string;
|
|
4441
|
+
withinMs?: number | undefined;
|
|
4442
|
+
} | {
|
|
4443
|
+
type: "state_equals";
|
|
4444
|
+
key: string;
|
|
4445
|
+
value?: unknown;
|
|
4446
|
+
} | {
|
|
4447
|
+
type: "viewport";
|
|
4448
|
+
minWidth?: number | undefined;
|
|
4449
|
+
maxWidth?: number | undefined;
|
|
4450
|
+
minHeight?: number | undefined;
|
|
4451
|
+
maxHeight?: number | undefined;
|
|
4452
|
+
} | {
|
|
4453
|
+
type: "session_metric";
|
|
4454
|
+
key: string;
|
|
4455
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4456
|
+
threshold: number;
|
|
4457
|
+
} | {
|
|
4458
|
+
type: "dismissed";
|
|
4459
|
+
key: string;
|
|
4460
|
+
inverted?: boolean | undefined;
|
|
4461
|
+
} | {
|
|
4462
|
+
type: "cooldown_active";
|
|
4463
|
+
key: string;
|
|
4464
|
+
inverted?: boolean | undefined;
|
|
4465
|
+
} | {
|
|
4466
|
+
type: "frequency_limit";
|
|
4467
|
+
key: string;
|
|
4468
|
+
limit: number;
|
|
4469
|
+
inverted?: boolean | undefined;
|
|
4470
|
+
} | {
|
|
4471
|
+
type: "event_count";
|
|
4472
|
+
key: string;
|
|
4473
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4474
|
+
count: number;
|
|
4475
|
+
withinMs?: number | undefined;
|
|
4476
|
+
counter?: {
|
|
4477
|
+
events: string[];
|
|
4478
|
+
match?: Record<string, {
|
|
4479
|
+
equals?: string | number | boolean | undefined;
|
|
4480
|
+
contains?: string | undefined;
|
|
4481
|
+
}> | undefined;
|
|
4482
|
+
} | undefined;
|
|
4483
|
+
} | undefined;
|
|
4484
|
+
}, {
|
|
4485
|
+
text: string;
|
|
4486
|
+
check?: {
|
|
4487
|
+
type: "page_url";
|
|
4488
|
+
url: string;
|
|
4489
|
+
} | {
|
|
4490
|
+
type: "route";
|
|
4491
|
+
routeId: string;
|
|
4492
|
+
} | {
|
|
4493
|
+
type: "anchor_visible";
|
|
4494
|
+
anchorId: string;
|
|
4495
|
+
state: "visible" | "present" | "absent";
|
|
4496
|
+
} | {
|
|
4497
|
+
type: "event_occurred";
|
|
4498
|
+
eventName: string;
|
|
4499
|
+
withinMs?: number | undefined;
|
|
4500
|
+
} | {
|
|
4501
|
+
type: "state_equals";
|
|
4502
|
+
key: string;
|
|
4503
|
+
value?: unknown;
|
|
4504
|
+
} | {
|
|
4505
|
+
type: "viewport";
|
|
4506
|
+
minWidth?: number | undefined;
|
|
4507
|
+
maxWidth?: number | undefined;
|
|
4508
|
+
minHeight?: number | undefined;
|
|
4509
|
+
maxHeight?: number | undefined;
|
|
4510
|
+
} | {
|
|
4511
|
+
type: "session_metric";
|
|
4512
|
+
key: string;
|
|
4513
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4514
|
+
threshold: number;
|
|
4515
|
+
} | {
|
|
4516
|
+
type: "dismissed";
|
|
4517
|
+
key: string;
|
|
4518
|
+
inverted?: boolean | undefined;
|
|
4519
|
+
} | {
|
|
4520
|
+
type: "cooldown_active";
|
|
4521
|
+
key: string;
|
|
4522
|
+
inverted?: boolean | undefined;
|
|
4523
|
+
} | {
|
|
4524
|
+
type: "frequency_limit";
|
|
4525
|
+
key: string;
|
|
4526
|
+
limit: number;
|
|
4527
|
+
inverted?: boolean | undefined;
|
|
4528
|
+
} | {
|
|
4529
|
+
type: "event_count";
|
|
4530
|
+
key: string;
|
|
4531
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4532
|
+
count: number;
|
|
4533
|
+
withinMs?: number | undefined;
|
|
4534
|
+
counter?: {
|
|
4535
|
+
events: string[];
|
|
4536
|
+
match?: Record<string, {
|
|
4537
|
+
equals?: string | number | boolean | undefined;
|
|
4538
|
+
contains?: string | undefined;
|
|
4539
|
+
}> | undefined;
|
|
4540
|
+
} | undefined;
|
|
4541
|
+
} | undefined;
|
|
4542
|
+
}>]>, "many">>;
|
|
4543
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4544
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4545
|
+
text: z.ZodString;
|
|
4546
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4547
|
+
type: z.ZodLiteral<"page_url">;
|
|
4548
|
+
url: z.ZodString;
|
|
4549
|
+
}, "strip", z.ZodTypeAny, {
|
|
4550
|
+
type: "page_url";
|
|
4551
|
+
url: string;
|
|
4552
|
+
}, {
|
|
4553
|
+
type: "page_url";
|
|
4554
|
+
url: string;
|
|
4555
|
+
}>, z.ZodObject<{
|
|
4556
|
+
type: z.ZodLiteral<"route">;
|
|
4557
|
+
routeId: z.ZodString;
|
|
4558
|
+
}, "strip", z.ZodTypeAny, {
|
|
4559
|
+
type: "route";
|
|
4560
|
+
routeId: string;
|
|
4561
|
+
}, {
|
|
4562
|
+
type: "route";
|
|
4563
|
+
routeId: string;
|
|
4564
|
+
}>, z.ZodObject<{
|
|
4565
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
4566
|
+
anchorId: z.ZodString;
|
|
4567
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
4568
|
+
}, "strip", z.ZodTypeAny, {
|
|
4569
|
+
type: "anchor_visible";
|
|
4570
|
+
anchorId: string;
|
|
4571
|
+
state: "visible" | "present" | "absent";
|
|
4572
|
+
}, {
|
|
4573
|
+
type: "anchor_visible";
|
|
4574
|
+
anchorId: string;
|
|
4575
|
+
state: "visible" | "present" | "absent";
|
|
4576
|
+
}>, z.ZodObject<{
|
|
4577
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
4578
|
+
eventName: z.ZodString;
|
|
4579
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4580
|
+
}, "strip", z.ZodTypeAny, {
|
|
4581
|
+
type: "event_occurred";
|
|
4582
|
+
eventName: string;
|
|
4583
|
+
withinMs?: number | undefined;
|
|
4584
|
+
}, {
|
|
4585
|
+
type: "event_occurred";
|
|
4586
|
+
eventName: string;
|
|
4587
|
+
withinMs?: number | undefined;
|
|
4588
|
+
}>, z.ZodObject<{
|
|
4589
|
+
type: z.ZodLiteral<"state_equals">;
|
|
4590
|
+
key: z.ZodString;
|
|
4591
|
+
value: z.ZodUnknown;
|
|
4592
|
+
}, "strip", z.ZodTypeAny, {
|
|
4593
|
+
type: "state_equals";
|
|
4594
|
+
key: string;
|
|
4595
|
+
value?: unknown;
|
|
4596
|
+
}, {
|
|
4597
|
+
type: "state_equals";
|
|
4598
|
+
key: string;
|
|
4599
|
+
value?: unknown;
|
|
4600
|
+
}>, z.ZodObject<{
|
|
4601
|
+
type: z.ZodLiteral<"viewport">;
|
|
4602
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
4603
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
4604
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
4605
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
4606
|
+
}, "strip", z.ZodTypeAny, {
|
|
4607
|
+
type: "viewport";
|
|
4608
|
+
minWidth?: number | undefined;
|
|
4609
|
+
maxWidth?: number | undefined;
|
|
4610
|
+
minHeight?: number | undefined;
|
|
4611
|
+
maxHeight?: number | undefined;
|
|
4612
|
+
}, {
|
|
4613
|
+
type: "viewport";
|
|
4614
|
+
minWidth?: number | undefined;
|
|
4615
|
+
maxWidth?: number | undefined;
|
|
4616
|
+
minHeight?: number | undefined;
|
|
4617
|
+
maxHeight?: number | undefined;
|
|
4618
|
+
}>, z.ZodObject<{
|
|
4619
|
+
type: z.ZodLiteral<"session_metric">;
|
|
4620
|
+
key: z.ZodString;
|
|
4621
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4622
|
+
threshold: z.ZodNumber;
|
|
4623
|
+
}, "strip", z.ZodTypeAny, {
|
|
4624
|
+
type: "session_metric";
|
|
4625
|
+
key: string;
|
|
4626
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4627
|
+
threshold: number;
|
|
4628
|
+
}, {
|
|
4629
|
+
type: "session_metric";
|
|
4630
|
+
key: string;
|
|
4631
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4632
|
+
threshold: number;
|
|
4633
|
+
}>, z.ZodObject<{
|
|
4634
|
+
type: z.ZodLiteral<"dismissed">;
|
|
4635
|
+
key: z.ZodString;
|
|
4636
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4637
|
+
}, "strip", z.ZodTypeAny, {
|
|
4638
|
+
type: "dismissed";
|
|
4639
|
+
key: string;
|
|
4640
|
+
inverted?: boolean | undefined;
|
|
4641
|
+
}, {
|
|
4642
|
+
type: "dismissed";
|
|
4643
|
+
key: string;
|
|
4644
|
+
inverted?: boolean | undefined;
|
|
4645
|
+
}>, z.ZodObject<{
|
|
4646
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
4647
|
+
key: z.ZodString;
|
|
4648
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4649
|
+
}, "strip", z.ZodTypeAny, {
|
|
4650
|
+
type: "cooldown_active";
|
|
4651
|
+
key: string;
|
|
4652
|
+
inverted?: boolean | undefined;
|
|
4653
|
+
}, {
|
|
4654
|
+
type: "cooldown_active";
|
|
4655
|
+
key: string;
|
|
4656
|
+
inverted?: boolean | undefined;
|
|
4657
|
+
}>, z.ZodObject<{
|
|
4658
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
4659
|
+
key: z.ZodString;
|
|
4660
|
+
limit: z.ZodNumber;
|
|
4661
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4662
|
+
}, "strip", z.ZodTypeAny, {
|
|
4663
|
+
type: "frequency_limit";
|
|
4664
|
+
key: string;
|
|
4665
|
+
limit: number;
|
|
4666
|
+
inverted?: boolean | undefined;
|
|
4667
|
+
}, {
|
|
4668
|
+
type: "frequency_limit";
|
|
4669
|
+
key: string;
|
|
4670
|
+
limit: number;
|
|
4671
|
+
inverted?: boolean | undefined;
|
|
4672
|
+
}>, z.ZodObject<{
|
|
4673
|
+
type: z.ZodLiteral<"event_count">;
|
|
4674
|
+
key: z.ZodString;
|
|
4675
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4676
|
+
count: z.ZodNumber;
|
|
4677
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4678
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
4679
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
4680
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4681
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4682
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
}, "strip", z.ZodTypeAny, {
|
|
4684
|
+
equals?: string | number | boolean | undefined;
|
|
4685
|
+
contains?: string | undefined;
|
|
4686
|
+
}, {
|
|
4687
|
+
equals?: string | number | boolean | undefined;
|
|
4688
|
+
contains?: string | undefined;
|
|
4689
|
+
}>>>;
|
|
4690
|
+
}, "strip", z.ZodTypeAny, {
|
|
4691
|
+
events: string[];
|
|
4692
|
+
match?: Record<string, {
|
|
4693
|
+
equals?: string | number | boolean | undefined;
|
|
4694
|
+
contains?: string | undefined;
|
|
4695
|
+
}> | undefined;
|
|
4696
|
+
}, {
|
|
4697
|
+
events: string[];
|
|
4698
|
+
match?: Record<string, {
|
|
4699
|
+
equals?: string | number | boolean | undefined;
|
|
4700
|
+
contains?: string | undefined;
|
|
4701
|
+
}> | undefined;
|
|
4702
|
+
}>>;
|
|
4703
|
+
}, "strip", z.ZodTypeAny, {
|
|
4704
|
+
type: "event_count";
|
|
4705
|
+
key: string;
|
|
4706
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4707
|
+
count: number;
|
|
4708
|
+
withinMs?: number | undefined;
|
|
4709
|
+
counter?: {
|
|
4710
|
+
events: string[];
|
|
4711
|
+
match?: Record<string, {
|
|
4712
|
+
equals?: string | number | boolean | undefined;
|
|
4713
|
+
contains?: string | undefined;
|
|
4714
|
+
}> | undefined;
|
|
4715
|
+
} | undefined;
|
|
4716
|
+
}, {
|
|
4717
|
+
type: "event_count";
|
|
4718
|
+
key: string;
|
|
4719
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4720
|
+
count: number;
|
|
4721
|
+
withinMs?: number | undefined;
|
|
4722
|
+
counter?: {
|
|
4723
|
+
events: string[];
|
|
4724
|
+
match?: Record<string, {
|
|
4725
|
+
equals?: string | number | boolean | undefined;
|
|
4726
|
+
contains?: string | undefined;
|
|
4727
|
+
}> | undefined;
|
|
4728
|
+
} | undefined;
|
|
4729
|
+
}>]>>;
|
|
4730
|
+
}, "strip", z.ZodTypeAny, {
|
|
4731
|
+
text: string;
|
|
4732
|
+
check?: {
|
|
4733
|
+
type: "page_url";
|
|
4734
|
+
url: string;
|
|
4735
|
+
} | {
|
|
4736
|
+
type: "route";
|
|
4737
|
+
routeId: string;
|
|
4738
|
+
} | {
|
|
4739
|
+
type: "anchor_visible";
|
|
4740
|
+
anchorId: string;
|
|
4741
|
+
state: "visible" | "present" | "absent";
|
|
4742
|
+
} | {
|
|
4743
|
+
type: "event_occurred";
|
|
4744
|
+
eventName: string;
|
|
4745
|
+
withinMs?: number | undefined;
|
|
4746
|
+
} | {
|
|
4747
|
+
type: "state_equals";
|
|
4748
|
+
key: string;
|
|
4749
|
+
value?: unknown;
|
|
4750
|
+
} | {
|
|
4751
|
+
type: "viewport";
|
|
4752
|
+
minWidth?: number | undefined;
|
|
4753
|
+
maxWidth?: number | undefined;
|
|
4754
|
+
minHeight?: number | undefined;
|
|
4755
|
+
maxHeight?: number | undefined;
|
|
4756
|
+
} | {
|
|
4757
|
+
type: "session_metric";
|
|
4758
|
+
key: string;
|
|
4759
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4760
|
+
threshold: number;
|
|
4761
|
+
} | {
|
|
4762
|
+
type: "dismissed";
|
|
4763
|
+
key: string;
|
|
4764
|
+
inverted?: boolean | undefined;
|
|
4765
|
+
} | {
|
|
4766
|
+
type: "cooldown_active";
|
|
4767
|
+
key: string;
|
|
4768
|
+
inverted?: boolean | undefined;
|
|
4769
|
+
} | {
|
|
4770
|
+
type: "frequency_limit";
|
|
4771
|
+
key: string;
|
|
4772
|
+
limit: number;
|
|
4773
|
+
inverted?: boolean | undefined;
|
|
4774
|
+
} | {
|
|
4775
|
+
type: "event_count";
|
|
4776
|
+
key: string;
|
|
4777
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4778
|
+
count: number;
|
|
4779
|
+
withinMs?: number | undefined;
|
|
4780
|
+
counter?: {
|
|
4781
|
+
events: string[];
|
|
4782
|
+
match?: Record<string, {
|
|
4783
|
+
equals?: string | number | boolean | undefined;
|
|
4784
|
+
contains?: string | undefined;
|
|
4785
|
+
}> | undefined;
|
|
4786
|
+
} | undefined;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
}, {
|
|
4789
|
+
text: string;
|
|
4790
|
+
check?: {
|
|
4791
|
+
type: "page_url";
|
|
4792
|
+
url: string;
|
|
4793
|
+
} | {
|
|
4794
|
+
type: "route";
|
|
4795
|
+
routeId: string;
|
|
4796
|
+
} | {
|
|
4797
|
+
type: "anchor_visible";
|
|
4798
|
+
anchorId: string;
|
|
4799
|
+
state: "visible" | "present" | "absent";
|
|
4800
|
+
} | {
|
|
4801
|
+
type: "event_occurred";
|
|
4802
|
+
eventName: string;
|
|
4803
|
+
withinMs?: number | undefined;
|
|
4804
|
+
} | {
|
|
4805
|
+
type: "state_equals";
|
|
4806
|
+
key: string;
|
|
4807
|
+
value?: unknown;
|
|
4808
|
+
} | {
|
|
4809
|
+
type: "viewport";
|
|
4810
|
+
minWidth?: number | undefined;
|
|
4811
|
+
maxWidth?: number | undefined;
|
|
4812
|
+
minHeight?: number | undefined;
|
|
4813
|
+
maxHeight?: number | undefined;
|
|
4814
|
+
} | {
|
|
4815
|
+
type: "session_metric";
|
|
4816
|
+
key: string;
|
|
4817
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4818
|
+
threshold: number;
|
|
4819
|
+
} | {
|
|
4820
|
+
type: "dismissed";
|
|
4821
|
+
key: string;
|
|
4822
|
+
inverted?: boolean | undefined;
|
|
4823
|
+
} | {
|
|
4824
|
+
type: "cooldown_active";
|
|
4825
|
+
key: string;
|
|
4826
|
+
inverted?: boolean | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
type: "frequency_limit";
|
|
4829
|
+
key: string;
|
|
4830
|
+
limit: number;
|
|
4831
|
+
inverted?: boolean | undefined;
|
|
4832
|
+
} | {
|
|
4833
|
+
type: "event_count";
|
|
4834
|
+
key: string;
|
|
4835
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4836
|
+
count: number;
|
|
4837
|
+
withinMs?: number | undefined;
|
|
4838
|
+
counter?: {
|
|
4839
|
+
events: string[];
|
|
4840
|
+
match?: Record<string, {
|
|
4841
|
+
equals?: string | number | boolean | undefined;
|
|
4842
|
+
contains?: string | undefined;
|
|
4843
|
+
}> | undefined;
|
|
4844
|
+
} | undefined;
|
|
4845
|
+
} | undefined;
|
|
4846
|
+
}>]>, "many">>;
|
|
4847
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4848
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4849
|
+
text: z.ZodString;
|
|
4850
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4851
|
+
type: z.ZodLiteral<"page_url">;
|
|
4852
|
+
url: z.ZodString;
|
|
4853
|
+
}, "strip", z.ZodTypeAny, {
|
|
4854
|
+
type: "page_url";
|
|
4855
|
+
url: string;
|
|
4856
|
+
}, {
|
|
4857
|
+
type: "page_url";
|
|
4858
|
+
url: string;
|
|
4859
|
+
}>, z.ZodObject<{
|
|
4860
|
+
type: z.ZodLiteral<"route">;
|
|
4861
|
+
routeId: z.ZodString;
|
|
4862
|
+
}, "strip", z.ZodTypeAny, {
|
|
4863
|
+
type: "route";
|
|
4864
|
+
routeId: string;
|
|
4865
|
+
}, {
|
|
4866
|
+
type: "route";
|
|
4867
|
+
routeId: string;
|
|
4868
|
+
}>, z.ZodObject<{
|
|
4869
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
4870
|
+
anchorId: z.ZodString;
|
|
4871
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
4872
|
+
}, "strip", z.ZodTypeAny, {
|
|
4873
|
+
type: "anchor_visible";
|
|
4874
|
+
anchorId: string;
|
|
4875
|
+
state: "visible" | "present" | "absent";
|
|
4876
|
+
}, {
|
|
4877
|
+
type: "anchor_visible";
|
|
4878
|
+
anchorId: string;
|
|
4879
|
+
state: "visible" | "present" | "absent";
|
|
4880
|
+
}>, z.ZodObject<{
|
|
4881
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
4882
|
+
eventName: z.ZodString;
|
|
4883
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4884
|
+
}, "strip", z.ZodTypeAny, {
|
|
4885
|
+
type: "event_occurred";
|
|
4886
|
+
eventName: string;
|
|
4887
|
+
withinMs?: number | undefined;
|
|
4888
|
+
}, {
|
|
4889
|
+
type: "event_occurred";
|
|
4890
|
+
eventName: string;
|
|
4891
|
+
withinMs?: number | undefined;
|
|
4892
|
+
}>, z.ZodObject<{
|
|
4893
|
+
type: z.ZodLiteral<"state_equals">;
|
|
4894
|
+
key: z.ZodString;
|
|
4895
|
+
value: z.ZodUnknown;
|
|
4896
|
+
}, "strip", z.ZodTypeAny, {
|
|
4897
|
+
type: "state_equals";
|
|
4898
|
+
key: string;
|
|
4899
|
+
value?: unknown;
|
|
4900
|
+
}, {
|
|
4901
|
+
type: "state_equals";
|
|
4902
|
+
key: string;
|
|
4903
|
+
value?: unknown;
|
|
4904
|
+
}>, z.ZodObject<{
|
|
4905
|
+
type: z.ZodLiteral<"viewport">;
|
|
4906
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
4907
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
4908
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
4909
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
4910
|
+
}, "strip", z.ZodTypeAny, {
|
|
4911
|
+
type: "viewport";
|
|
4912
|
+
minWidth?: number | undefined;
|
|
4913
|
+
maxWidth?: number | undefined;
|
|
4914
|
+
minHeight?: number | undefined;
|
|
4915
|
+
maxHeight?: number | undefined;
|
|
4916
|
+
}, {
|
|
4917
|
+
type: "viewport";
|
|
4918
|
+
minWidth?: number | undefined;
|
|
4919
|
+
maxWidth?: number | undefined;
|
|
4920
|
+
minHeight?: number | undefined;
|
|
4921
|
+
maxHeight?: number | undefined;
|
|
4922
|
+
}>, z.ZodObject<{
|
|
4923
|
+
type: z.ZodLiteral<"session_metric">;
|
|
4924
|
+
key: z.ZodString;
|
|
4925
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4926
|
+
threshold: z.ZodNumber;
|
|
4927
|
+
}, "strip", z.ZodTypeAny, {
|
|
4928
|
+
type: "session_metric";
|
|
4929
|
+
key: string;
|
|
4930
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4931
|
+
threshold: number;
|
|
4932
|
+
}, {
|
|
4933
|
+
type: "session_metric";
|
|
4934
|
+
key: string;
|
|
4935
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
4936
|
+
threshold: number;
|
|
4937
|
+
}>, z.ZodObject<{
|
|
4938
|
+
type: z.ZodLiteral<"dismissed">;
|
|
4939
|
+
key: z.ZodString;
|
|
4940
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4941
|
+
}, "strip", z.ZodTypeAny, {
|
|
4942
|
+
type: "dismissed";
|
|
4943
|
+
key: string;
|
|
4944
|
+
inverted?: boolean | undefined;
|
|
4945
|
+
}, {
|
|
4946
|
+
type: "dismissed";
|
|
4947
|
+
key: string;
|
|
4948
|
+
inverted?: boolean | undefined;
|
|
4949
|
+
}>, z.ZodObject<{
|
|
4950
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
4951
|
+
key: z.ZodString;
|
|
4952
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4953
|
+
}, "strip", z.ZodTypeAny, {
|
|
4954
|
+
type: "cooldown_active";
|
|
4955
|
+
key: string;
|
|
4956
|
+
inverted?: boolean | undefined;
|
|
4957
|
+
}, {
|
|
4958
|
+
type: "cooldown_active";
|
|
4959
|
+
key: string;
|
|
4960
|
+
inverted?: boolean | undefined;
|
|
4961
|
+
}>, z.ZodObject<{
|
|
4962
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
4963
|
+
key: z.ZodString;
|
|
4964
|
+
limit: z.ZodNumber;
|
|
4965
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
4966
|
+
}, "strip", z.ZodTypeAny, {
|
|
4967
|
+
type: "frequency_limit";
|
|
4968
|
+
key: string;
|
|
4969
|
+
limit: number;
|
|
4970
|
+
inverted?: boolean | undefined;
|
|
4971
|
+
}, {
|
|
4972
|
+
type: "frequency_limit";
|
|
4973
|
+
key: string;
|
|
4974
|
+
limit: number;
|
|
4975
|
+
inverted?: boolean | undefined;
|
|
4976
|
+
}>, z.ZodObject<{
|
|
4977
|
+
type: z.ZodLiteral<"event_count">;
|
|
4978
|
+
key: z.ZodString;
|
|
4979
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
4980
|
+
count: z.ZodNumber;
|
|
4981
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
4982
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
4983
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
4984
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4985
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4986
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
4987
|
+
}, "strip", z.ZodTypeAny, {
|
|
4988
|
+
equals?: string | number | boolean | undefined;
|
|
4989
|
+
contains?: string | undefined;
|
|
4990
|
+
}, {
|
|
4991
|
+
equals?: string | number | boolean | undefined;
|
|
4992
|
+
contains?: string | undefined;
|
|
4993
|
+
}>>>;
|
|
4994
|
+
}, "strip", z.ZodTypeAny, {
|
|
4995
|
+
events: string[];
|
|
4996
|
+
match?: Record<string, {
|
|
4997
|
+
equals?: string | number | boolean | undefined;
|
|
4998
|
+
contains?: string | undefined;
|
|
4999
|
+
}> | undefined;
|
|
5000
|
+
}, {
|
|
5001
|
+
events: string[];
|
|
5002
|
+
match?: Record<string, {
|
|
5003
|
+
equals?: string | number | boolean | undefined;
|
|
5004
|
+
contains?: string | undefined;
|
|
5005
|
+
}> | undefined;
|
|
5006
|
+
}>>;
|
|
5007
|
+
}, "strip", z.ZodTypeAny, {
|
|
5008
|
+
type: "event_count";
|
|
5009
|
+
key: string;
|
|
5010
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5011
|
+
count: number;
|
|
5012
|
+
withinMs?: number | undefined;
|
|
5013
|
+
counter?: {
|
|
5014
|
+
events: string[];
|
|
5015
|
+
match?: Record<string, {
|
|
5016
|
+
equals?: string | number | boolean | undefined;
|
|
5017
|
+
contains?: string | undefined;
|
|
5018
|
+
}> | undefined;
|
|
5019
|
+
} | undefined;
|
|
5020
|
+
}, {
|
|
5021
|
+
type: "event_count";
|
|
5022
|
+
key: string;
|
|
5023
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5024
|
+
count: number;
|
|
5025
|
+
withinMs?: number | undefined;
|
|
5026
|
+
counter?: {
|
|
5027
|
+
events: string[];
|
|
5028
|
+
match?: Record<string, {
|
|
5029
|
+
equals?: string | number | boolean | undefined;
|
|
5030
|
+
contains?: string | undefined;
|
|
5031
|
+
}> | undefined;
|
|
5032
|
+
} | undefined;
|
|
5033
|
+
}>]>>;
|
|
5034
|
+
}, "strip", z.ZodTypeAny, {
|
|
5035
|
+
text: string;
|
|
5036
|
+
check?: {
|
|
5037
|
+
type: "page_url";
|
|
5038
|
+
url: string;
|
|
5039
|
+
} | {
|
|
5040
|
+
type: "route";
|
|
5041
|
+
routeId: string;
|
|
5042
|
+
} | {
|
|
5043
|
+
type: "anchor_visible";
|
|
5044
|
+
anchorId: string;
|
|
5045
|
+
state: "visible" | "present" | "absent";
|
|
5046
|
+
} | {
|
|
5047
|
+
type: "event_occurred";
|
|
5048
|
+
eventName: string;
|
|
5049
|
+
withinMs?: number | undefined;
|
|
5050
|
+
} | {
|
|
5051
|
+
type: "state_equals";
|
|
5052
|
+
key: string;
|
|
5053
|
+
value?: unknown;
|
|
5054
|
+
} | {
|
|
5055
|
+
type: "viewport";
|
|
5056
|
+
minWidth?: number | undefined;
|
|
5057
|
+
maxWidth?: number | undefined;
|
|
5058
|
+
minHeight?: number | undefined;
|
|
5059
|
+
maxHeight?: number | undefined;
|
|
5060
|
+
} | {
|
|
5061
|
+
type: "session_metric";
|
|
5062
|
+
key: string;
|
|
5063
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5064
|
+
threshold: number;
|
|
5065
|
+
} | {
|
|
5066
|
+
type: "dismissed";
|
|
5067
|
+
key: string;
|
|
5068
|
+
inverted?: boolean | undefined;
|
|
5069
|
+
} | {
|
|
5070
|
+
type: "cooldown_active";
|
|
5071
|
+
key: string;
|
|
5072
|
+
inverted?: boolean | undefined;
|
|
5073
|
+
} | {
|
|
5074
|
+
type: "frequency_limit";
|
|
5075
|
+
key: string;
|
|
5076
|
+
limit: number;
|
|
5077
|
+
inverted?: boolean | undefined;
|
|
5078
|
+
} | {
|
|
5079
|
+
type: "event_count";
|
|
5080
|
+
key: string;
|
|
5081
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5082
|
+
count: number;
|
|
5083
|
+
withinMs?: number | undefined;
|
|
5084
|
+
counter?: {
|
|
5085
|
+
events: string[];
|
|
5086
|
+
match?: Record<string, {
|
|
5087
|
+
equals?: string | number | boolean | undefined;
|
|
5088
|
+
contains?: string | undefined;
|
|
5089
|
+
}> | undefined;
|
|
5090
|
+
} | undefined;
|
|
5091
|
+
} | undefined;
|
|
5092
|
+
}, {
|
|
5093
|
+
text: string;
|
|
5094
|
+
check?: {
|
|
5095
|
+
type: "page_url";
|
|
5096
|
+
url: string;
|
|
5097
|
+
} | {
|
|
5098
|
+
type: "route";
|
|
5099
|
+
routeId: string;
|
|
5100
|
+
} | {
|
|
5101
|
+
type: "anchor_visible";
|
|
5102
|
+
anchorId: string;
|
|
5103
|
+
state: "visible" | "present" | "absent";
|
|
5104
|
+
} | {
|
|
5105
|
+
type: "event_occurred";
|
|
5106
|
+
eventName: string;
|
|
5107
|
+
withinMs?: number | undefined;
|
|
5108
|
+
} | {
|
|
5109
|
+
type: "state_equals";
|
|
5110
|
+
key: string;
|
|
5111
|
+
value?: unknown;
|
|
5112
|
+
} | {
|
|
5113
|
+
type: "viewport";
|
|
5114
|
+
minWidth?: number | undefined;
|
|
5115
|
+
maxWidth?: number | undefined;
|
|
5116
|
+
minHeight?: number | undefined;
|
|
5117
|
+
maxHeight?: number | undefined;
|
|
5118
|
+
} | {
|
|
5119
|
+
type: "session_metric";
|
|
5120
|
+
key: string;
|
|
5121
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5122
|
+
threshold: number;
|
|
5123
|
+
} | {
|
|
5124
|
+
type: "dismissed";
|
|
5125
|
+
key: string;
|
|
5126
|
+
inverted?: boolean | undefined;
|
|
5127
|
+
} | {
|
|
5128
|
+
type: "cooldown_active";
|
|
5129
|
+
key: string;
|
|
5130
|
+
inverted?: boolean | undefined;
|
|
5131
|
+
} | {
|
|
5132
|
+
type: "frequency_limit";
|
|
5133
|
+
key: string;
|
|
5134
|
+
limit: number;
|
|
5135
|
+
inverted?: boolean | undefined;
|
|
5136
|
+
} | {
|
|
5137
|
+
type: "event_count";
|
|
5138
|
+
key: string;
|
|
5139
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5140
|
+
count: number;
|
|
5141
|
+
withinMs?: number | undefined;
|
|
5142
|
+
counter?: {
|
|
5143
|
+
events: string[];
|
|
5144
|
+
match?: Record<string, {
|
|
5145
|
+
equals?: string | number | boolean | undefined;
|
|
5146
|
+
contains?: string | undefined;
|
|
5147
|
+
}> | undefined;
|
|
5148
|
+
} | undefined;
|
|
5149
|
+
} | undefined;
|
|
5150
|
+
}>]>, "many">>;
|
|
5151
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
2645
5152
|
}, "strict", z.ZodTypeAny, {
|
|
2646
5153
|
actions: any[];
|
|
2647
5154
|
fetchedAt: string;
|
|
@@ -2729,6 +5236,9 @@ export declare const configSchemas: ({
|
|
|
2729
5236
|
blur?: string | undefined;
|
|
2730
5237
|
border?: string | undefined;
|
|
2731
5238
|
width?: string | undefined;
|
|
5239
|
+
transitionDuration?: string | undefined;
|
|
5240
|
+
transitionEasing?: string | undefined;
|
|
5241
|
+
transitionFade?: string | undefined;
|
|
2732
5242
|
} | undefined;
|
|
2733
5243
|
launcher?: {
|
|
2734
5244
|
size?: string | undefined;
|
|
@@ -2765,7 +5275,311 @@ export declare const configSchemas: ({
|
|
|
2765
5275
|
progressGradient?: string | undefined;
|
|
2766
5276
|
} | undefined;
|
|
2767
5277
|
} | undefined;
|
|
2768
|
-
|
|
5278
|
+
meta?: z.objectOutputType<{
|
|
5279
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5280
|
+
text: z.ZodString;
|
|
5281
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5282
|
+
type: z.ZodLiteral<"page_url">;
|
|
5283
|
+
url: z.ZodString;
|
|
5284
|
+
}, "strip", z.ZodTypeAny, {
|
|
5285
|
+
type: "page_url";
|
|
5286
|
+
url: string;
|
|
5287
|
+
}, {
|
|
5288
|
+
type: "page_url";
|
|
5289
|
+
url: string;
|
|
5290
|
+
}>, z.ZodObject<{
|
|
5291
|
+
type: z.ZodLiteral<"route">;
|
|
5292
|
+
routeId: z.ZodString;
|
|
5293
|
+
}, "strip", z.ZodTypeAny, {
|
|
5294
|
+
type: "route";
|
|
5295
|
+
routeId: string;
|
|
5296
|
+
}, {
|
|
5297
|
+
type: "route";
|
|
5298
|
+
routeId: string;
|
|
5299
|
+
}>, z.ZodObject<{
|
|
5300
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
5301
|
+
anchorId: z.ZodString;
|
|
5302
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
5303
|
+
}, "strip", z.ZodTypeAny, {
|
|
5304
|
+
type: "anchor_visible";
|
|
5305
|
+
anchorId: string;
|
|
5306
|
+
state: "visible" | "present" | "absent";
|
|
5307
|
+
}, {
|
|
5308
|
+
type: "anchor_visible";
|
|
5309
|
+
anchorId: string;
|
|
5310
|
+
state: "visible" | "present" | "absent";
|
|
5311
|
+
}>, z.ZodObject<{
|
|
5312
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
5313
|
+
eventName: z.ZodString;
|
|
5314
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
5315
|
+
}, "strip", z.ZodTypeAny, {
|
|
5316
|
+
type: "event_occurred";
|
|
5317
|
+
eventName: string;
|
|
5318
|
+
withinMs?: number | undefined;
|
|
5319
|
+
}, {
|
|
5320
|
+
type: "event_occurred";
|
|
5321
|
+
eventName: string;
|
|
5322
|
+
withinMs?: number | undefined;
|
|
5323
|
+
}>, z.ZodObject<{
|
|
5324
|
+
type: z.ZodLiteral<"state_equals">;
|
|
5325
|
+
key: z.ZodString;
|
|
5326
|
+
value: z.ZodUnknown;
|
|
5327
|
+
}, "strip", z.ZodTypeAny, {
|
|
5328
|
+
type: "state_equals";
|
|
5329
|
+
key: string;
|
|
5330
|
+
value?: unknown;
|
|
5331
|
+
}, {
|
|
5332
|
+
type: "state_equals";
|
|
5333
|
+
key: string;
|
|
5334
|
+
value?: unknown;
|
|
5335
|
+
}>, z.ZodObject<{
|
|
5336
|
+
type: z.ZodLiteral<"viewport">;
|
|
5337
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
5338
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
5339
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
5340
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
5341
|
+
}, "strip", z.ZodTypeAny, {
|
|
5342
|
+
type: "viewport";
|
|
5343
|
+
minWidth?: number | undefined;
|
|
5344
|
+
maxWidth?: number | undefined;
|
|
5345
|
+
minHeight?: number | undefined;
|
|
5346
|
+
maxHeight?: number | undefined;
|
|
5347
|
+
}, {
|
|
5348
|
+
type: "viewport";
|
|
5349
|
+
minWidth?: number | undefined;
|
|
5350
|
+
maxWidth?: number | undefined;
|
|
5351
|
+
minHeight?: number | undefined;
|
|
5352
|
+
maxHeight?: number | undefined;
|
|
5353
|
+
}>, z.ZodObject<{
|
|
5354
|
+
type: z.ZodLiteral<"session_metric">;
|
|
5355
|
+
key: z.ZodString;
|
|
5356
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
5357
|
+
threshold: z.ZodNumber;
|
|
5358
|
+
}, "strip", z.ZodTypeAny, {
|
|
5359
|
+
type: "session_metric";
|
|
5360
|
+
key: string;
|
|
5361
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5362
|
+
threshold: number;
|
|
5363
|
+
}, {
|
|
5364
|
+
type: "session_metric";
|
|
5365
|
+
key: string;
|
|
5366
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5367
|
+
threshold: number;
|
|
5368
|
+
}>, z.ZodObject<{
|
|
5369
|
+
type: z.ZodLiteral<"dismissed">;
|
|
5370
|
+
key: z.ZodString;
|
|
5371
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5372
|
+
}, "strip", z.ZodTypeAny, {
|
|
5373
|
+
type: "dismissed";
|
|
5374
|
+
key: string;
|
|
5375
|
+
inverted?: boolean | undefined;
|
|
5376
|
+
}, {
|
|
5377
|
+
type: "dismissed";
|
|
5378
|
+
key: string;
|
|
5379
|
+
inverted?: boolean | undefined;
|
|
5380
|
+
}>, z.ZodObject<{
|
|
5381
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
5382
|
+
key: z.ZodString;
|
|
5383
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5384
|
+
}, "strip", z.ZodTypeAny, {
|
|
5385
|
+
type: "cooldown_active";
|
|
5386
|
+
key: string;
|
|
5387
|
+
inverted?: boolean | undefined;
|
|
5388
|
+
}, {
|
|
5389
|
+
type: "cooldown_active";
|
|
5390
|
+
key: string;
|
|
5391
|
+
inverted?: boolean | undefined;
|
|
5392
|
+
}>, z.ZodObject<{
|
|
5393
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
5394
|
+
key: z.ZodString;
|
|
5395
|
+
limit: z.ZodNumber;
|
|
5396
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5397
|
+
}, "strip", z.ZodTypeAny, {
|
|
5398
|
+
type: "frequency_limit";
|
|
5399
|
+
key: string;
|
|
5400
|
+
limit: number;
|
|
5401
|
+
inverted?: boolean | undefined;
|
|
5402
|
+
}, {
|
|
5403
|
+
type: "frequency_limit";
|
|
5404
|
+
key: string;
|
|
5405
|
+
limit: number;
|
|
5406
|
+
inverted?: boolean | undefined;
|
|
5407
|
+
}>, z.ZodObject<{
|
|
5408
|
+
type: z.ZodLiteral<"event_count">;
|
|
5409
|
+
key: z.ZodString;
|
|
5410
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
5411
|
+
count: z.ZodNumber;
|
|
5412
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
5413
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
5414
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
5415
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5416
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5417
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
5418
|
+
}, "strip", z.ZodTypeAny, {
|
|
5419
|
+
equals?: string | number | boolean | undefined;
|
|
5420
|
+
contains?: string | undefined;
|
|
5421
|
+
}, {
|
|
5422
|
+
equals?: string | number | boolean | undefined;
|
|
5423
|
+
contains?: string | undefined;
|
|
5424
|
+
}>>>;
|
|
5425
|
+
}, "strip", z.ZodTypeAny, {
|
|
5426
|
+
events: string[];
|
|
5427
|
+
match?: Record<string, {
|
|
5428
|
+
equals?: string | number | boolean | undefined;
|
|
5429
|
+
contains?: string | undefined;
|
|
5430
|
+
}> | undefined;
|
|
5431
|
+
}, {
|
|
5432
|
+
events: string[];
|
|
5433
|
+
match?: Record<string, {
|
|
5434
|
+
equals?: string | number | boolean | undefined;
|
|
5435
|
+
contains?: string | undefined;
|
|
5436
|
+
}> | undefined;
|
|
5437
|
+
}>>;
|
|
5438
|
+
}, "strip", z.ZodTypeAny, {
|
|
5439
|
+
type: "event_count";
|
|
5440
|
+
key: string;
|
|
5441
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5442
|
+
count: number;
|
|
5443
|
+
withinMs?: number | undefined;
|
|
5444
|
+
counter?: {
|
|
5445
|
+
events: string[];
|
|
5446
|
+
match?: Record<string, {
|
|
5447
|
+
equals?: string | number | boolean | undefined;
|
|
5448
|
+
contains?: string | undefined;
|
|
5449
|
+
}> | undefined;
|
|
5450
|
+
} | undefined;
|
|
5451
|
+
}, {
|
|
5452
|
+
type: "event_count";
|
|
5453
|
+
key: string;
|
|
5454
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5455
|
+
count: number;
|
|
5456
|
+
withinMs?: number | undefined;
|
|
5457
|
+
counter?: {
|
|
5458
|
+
events: string[];
|
|
5459
|
+
match?: Record<string, {
|
|
5460
|
+
equals?: string | number | boolean | undefined;
|
|
5461
|
+
contains?: string | undefined;
|
|
5462
|
+
}> | undefined;
|
|
5463
|
+
} | undefined;
|
|
5464
|
+
}>]>>;
|
|
5465
|
+
}, "strip", z.ZodTypeAny, {
|
|
5466
|
+
text: string;
|
|
5467
|
+
check?: {
|
|
5468
|
+
type: "page_url";
|
|
5469
|
+
url: string;
|
|
5470
|
+
} | {
|
|
5471
|
+
type: "route";
|
|
5472
|
+
routeId: string;
|
|
5473
|
+
} | {
|
|
5474
|
+
type: "anchor_visible";
|
|
5475
|
+
anchorId: string;
|
|
5476
|
+
state: "visible" | "present" | "absent";
|
|
5477
|
+
} | {
|
|
5478
|
+
type: "event_occurred";
|
|
5479
|
+
eventName: string;
|
|
5480
|
+
withinMs?: number | undefined;
|
|
5481
|
+
} | {
|
|
5482
|
+
type: "state_equals";
|
|
5483
|
+
key: string;
|
|
5484
|
+
value?: unknown;
|
|
5485
|
+
} | {
|
|
5486
|
+
type: "viewport";
|
|
5487
|
+
minWidth?: number | undefined;
|
|
5488
|
+
maxWidth?: number | undefined;
|
|
5489
|
+
minHeight?: number | undefined;
|
|
5490
|
+
maxHeight?: number | undefined;
|
|
5491
|
+
} | {
|
|
5492
|
+
type: "session_metric";
|
|
5493
|
+
key: string;
|
|
5494
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5495
|
+
threshold: number;
|
|
5496
|
+
} | {
|
|
5497
|
+
type: "dismissed";
|
|
5498
|
+
key: string;
|
|
5499
|
+
inverted?: boolean | undefined;
|
|
5500
|
+
} | {
|
|
5501
|
+
type: "cooldown_active";
|
|
5502
|
+
key: string;
|
|
5503
|
+
inverted?: boolean | undefined;
|
|
5504
|
+
} | {
|
|
5505
|
+
type: "frequency_limit";
|
|
5506
|
+
key: string;
|
|
5507
|
+
limit: number;
|
|
5508
|
+
inverted?: boolean | undefined;
|
|
5509
|
+
} | {
|
|
5510
|
+
type: "event_count";
|
|
5511
|
+
key: string;
|
|
5512
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5513
|
+
count: number;
|
|
5514
|
+
withinMs?: number | undefined;
|
|
5515
|
+
counter?: {
|
|
5516
|
+
events: string[];
|
|
5517
|
+
match?: Record<string, {
|
|
5518
|
+
equals?: string | number | boolean | undefined;
|
|
5519
|
+
contains?: string | undefined;
|
|
5520
|
+
}> | undefined;
|
|
5521
|
+
} | undefined;
|
|
5522
|
+
} | undefined;
|
|
5523
|
+
}, {
|
|
5524
|
+
text: string;
|
|
5525
|
+
check?: {
|
|
5526
|
+
type: "page_url";
|
|
5527
|
+
url: string;
|
|
5528
|
+
} | {
|
|
5529
|
+
type: "route";
|
|
5530
|
+
routeId: string;
|
|
5531
|
+
} | {
|
|
5532
|
+
type: "anchor_visible";
|
|
5533
|
+
anchorId: string;
|
|
5534
|
+
state: "visible" | "present" | "absent";
|
|
5535
|
+
} | {
|
|
5536
|
+
type: "event_occurred";
|
|
5537
|
+
eventName: string;
|
|
5538
|
+
withinMs?: number | undefined;
|
|
5539
|
+
} | {
|
|
5540
|
+
type: "state_equals";
|
|
5541
|
+
key: string;
|
|
5542
|
+
value?: unknown;
|
|
5543
|
+
} | {
|
|
5544
|
+
type: "viewport";
|
|
5545
|
+
minWidth?: number | undefined;
|
|
5546
|
+
maxWidth?: number | undefined;
|
|
5547
|
+
minHeight?: number | undefined;
|
|
5548
|
+
maxHeight?: number | undefined;
|
|
5549
|
+
} | {
|
|
5550
|
+
type: "session_metric";
|
|
5551
|
+
key: string;
|
|
5552
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5553
|
+
threshold: number;
|
|
5554
|
+
} | {
|
|
5555
|
+
type: "dismissed";
|
|
5556
|
+
key: string;
|
|
5557
|
+
inverted?: boolean | undefined;
|
|
5558
|
+
} | {
|
|
5559
|
+
type: "cooldown_active";
|
|
5560
|
+
key: string;
|
|
5561
|
+
inverted?: boolean | undefined;
|
|
5562
|
+
} | {
|
|
5563
|
+
type: "frequency_limit";
|
|
5564
|
+
key: string;
|
|
5565
|
+
limit: number;
|
|
5566
|
+
inverted?: boolean | undefined;
|
|
5567
|
+
} | {
|
|
5568
|
+
type: "event_count";
|
|
5569
|
+
key: string;
|
|
5570
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5571
|
+
count: number;
|
|
5572
|
+
withinMs?: number | undefined;
|
|
5573
|
+
counter?: {
|
|
5574
|
+
events: string[];
|
|
5575
|
+
match?: Record<string, {
|
|
5576
|
+
equals?: string | number | boolean | undefined;
|
|
5577
|
+
contains?: string | undefined;
|
|
5578
|
+
}> | undefined;
|
|
5579
|
+
} | undefined;
|
|
5580
|
+
} | undefined;
|
|
5581
|
+
}>]>, "many">>;
|
|
5582
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2769
5583
|
}, {
|
|
2770
5584
|
actions: any[];
|
|
2771
5585
|
fetchedAt: string;
|
|
@@ -2853,6 +5667,9 @@ export declare const configSchemas: ({
|
|
|
2853
5667
|
blur?: string | undefined;
|
|
2854
5668
|
border?: string | undefined;
|
|
2855
5669
|
width?: string | undefined;
|
|
5670
|
+
transitionDuration?: string | undefined;
|
|
5671
|
+
transitionEasing?: string | undefined;
|
|
5672
|
+
transitionFade?: string | undefined;
|
|
2856
5673
|
} | undefined;
|
|
2857
5674
|
launcher?: {
|
|
2858
5675
|
size?: string | undefined;
|
|
@@ -2889,7 +5706,311 @@ export declare const configSchemas: ({
|
|
|
2889
5706
|
progressGradient?: string | undefined;
|
|
2890
5707
|
} | undefined;
|
|
2891
5708
|
} | undefined;
|
|
2892
|
-
|
|
5709
|
+
meta?: z.objectInputType<{
|
|
5710
|
+
verificationSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5711
|
+
text: z.ZodString;
|
|
5712
|
+
check: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5713
|
+
type: z.ZodLiteral<"page_url">;
|
|
5714
|
+
url: z.ZodString;
|
|
5715
|
+
}, "strip", z.ZodTypeAny, {
|
|
5716
|
+
type: "page_url";
|
|
5717
|
+
url: string;
|
|
5718
|
+
}, {
|
|
5719
|
+
type: "page_url";
|
|
5720
|
+
url: string;
|
|
5721
|
+
}>, z.ZodObject<{
|
|
5722
|
+
type: z.ZodLiteral<"route">;
|
|
5723
|
+
routeId: z.ZodString;
|
|
5724
|
+
}, "strip", z.ZodTypeAny, {
|
|
5725
|
+
type: "route";
|
|
5726
|
+
routeId: string;
|
|
5727
|
+
}, {
|
|
5728
|
+
type: "route";
|
|
5729
|
+
routeId: string;
|
|
5730
|
+
}>, z.ZodObject<{
|
|
5731
|
+
type: z.ZodLiteral<"anchor_visible">;
|
|
5732
|
+
anchorId: z.ZodString;
|
|
5733
|
+
state: z.ZodEnum<["visible", "present", "absent"]>;
|
|
5734
|
+
}, "strip", z.ZodTypeAny, {
|
|
5735
|
+
type: "anchor_visible";
|
|
5736
|
+
anchorId: string;
|
|
5737
|
+
state: "visible" | "present" | "absent";
|
|
5738
|
+
}, {
|
|
5739
|
+
type: "anchor_visible";
|
|
5740
|
+
anchorId: string;
|
|
5741
|
+
state: "visible" | "present" | "absent";
|
|
5742
|
+
}>, z.ZodObject<{
|
|
5743
|
+
type: z.ZodLiteral<"event_occurred">;
|
|
5744
|
+
eventName: z.ZodString;
|
|
5745
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
5746
|
+
}, "strip", z.ZodTypeAny, {
|
|
5747
|
+
type: "event_occurred";
|
|
5748
|
+
eventName: string;
|
|
5749
|
+
withinMs?: number | undefined;
|
|
5750
|
+
}, {
|
|
5751
|
+
type: "event_occurred";
|
|
5752
|
+
eventName: string;
|
|
5753
|
+
withinMs?: number | undefined;
|
|
5754
|
+
}>, z.ZodObject<{
|
|
5755
|
+
type: z.ZodLiteral<"state_equals">;
|
|
5756
|
+
key: z.ZodString;
|
|
5757
|
+
value: z.ZodUnknown;
|
|
5758
|
+
}, "strip", z.ZodTypeAny, {
|
|
5759
|
+
type: "state_equals";
|
|
5760
|
+
key: string;
|
|
5761
|
+
value?: unknown;
|
|
5762
|
+
}, {
|
|
5763
|
+
type: "state_equals";
|
|
5764
|
+
key: string;
|
|
5765
|
+
value?: unknown;
|
|
5766
|
+
}>, z.ZodObject<{
|
|
5767
|
+
type: z.ZodLiteral<"viewport">;
|
|
5768
|
+
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
5769
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
5770
|
+
minHeight: z.ZodOptional<z.ZodNumber>;
|
|
5771
|
+
maxHeight: z.ZodOptional<z.ZodNumber>;
|
|
5772
|
+
}, "strip", z.ZodTypeAny, {
|
|
5773
|
+
type: "viewport";
|
|
5774
|
+
minWidth?: number | undefined;
|
|
5775
|
+
maxWidth?: number | undefined;
|
|
5776
|
+
minHeight?: number | undefined;
|
|
5777
|
+
maxHeight?: number | undefined;
|
|
5778
|
+
}, {
|
|
5779
|
+
type: "viewport";
|
|
5780
|
+
minWidth?: number | undefined;
|
|
5781
|
+
maxWidth?: number | undefined;
|
|
5782
|
+
minHeight?: number | undefined;
|
|
5783
|
+
maxHeight?: number | undefined;
|
|
5784
|
+
}>, z.ZodObject<{
|
|
5785
|
+
type: z.ZodLiteral<"session_metric">;
|
|
5786
|
+
key: z.ZodString;
|
|
5787
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
5788
|
+
threshold: z.ZodNumber;
|
|
5789
|
+
}, "strip", z.ZodTypeAny, {
|
|
5790
|
+
type: "session_metric";
|
|
5791
|
+
key: string;
|
|
5792
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5793
|
+
threshold: number;
|
|
5794
|
+
}, {
|
|
5795
|
+
type: "session_metric";
|
|
5796
|
+
key: string;
|
|
5797
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5798
|
+
threshold: number;
|
|
5799
|
+
}>, z.ZodObject<{
|
|
5800
|
+
type: z.ZodLiteral<"dismissed">;
|
|
5801
|
+
key: z.ZodString;
|
|
5802
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5803
|
+
}, "strip", z.ZodTypeAny, {
|
|
5804
|
+
type: "dismissed";
|
|
5805
|
+
key: string;
|
|
5806
|
+
inverted?: boolean | undefined;
|
|
5807
|
+
}, {
|
|
5808
|
+
type: "dismissed";
|
|
5809
|
+
key: string;
|
|
5810
|
+
inverted?: boolean | undefined;
|
|
5811
|
+
}>, z.ZodObject<{
|
|
5812
|
+
type: z.ZodLiteral<"cooldown_active">;
|
|
5813
|
+
key: z.ZodString;
|
|
5814
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5815
|
+
}, "strip", z.ZodTypeAny, {
|
|
5816
|
+
type: "cooldown_active";
|
|
5817
|
+
key: string;
|
|
5818
|
+
inverted?: boolean | undefined;
|
|
5819
|
+
}, {
|
|
5820
|
+
type: "cooldown_active";
|
|
5821
|
+
key: string;
|
|
5822
|
+
inverted?: boolean | undefined;
|
|
5823
|
+
}>, z.ZodObject<{
|
|
5824
|
+
type: z.ZodLiteral<"frequency_limit">;
|
|
5825
|
+
key: z.ZodString;
|
|
5826
|
+
limit: z.ZodNumber;
|
|
5827
|
+
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
5828
|
+
}, "strip", z.ZodTypeAny, {
|
|
5829
|
+
type: "frequency_limit";
|
|
5830
|
+
key: string;
|
|
5831
|
+
limit: number;
|
|
5832
|
+
inverted?: boolean | undefined;
|
|
5833
|
+
}, {
|
|
5834
|
+
type: "frequency_limit";
|
|
5835
|
+
key: string;
|
|
5836
|
+
limit: number;
|
|
5837
|
+
inverted?: boolean | undefined;
|
|
5838
|
+
}>, z.ZodObject<{
|
|
5839
|
+
type: z.ZodLiteral<"event_count">;
|
|
5840
|
+
key: z.ZodString;
|
|
5841
|
+
operator: z.ZodEnum<["gte", "lte", "eq", "gt", "lt"]>;
|
|
5842
|
+
count: z.ZodNumber;
|
|
5843
|
+
withinMs: z.ZodOptional<z.ZodNumber>;
|
|
5844
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
5845
|
+
events: z.ZodArray<z.ZodString, "many">;
|
|
5846
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5847
|
+
equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5848
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
5849
|
+
}, "strip", z.ZodTypeAny, {
|
|
5850
|
+
equals?: string | number | boolean | undefined;
|
|
5851
|
+
contains?: string | undefined;
|
|
5852
|
+
}, {
|
|
5853
|
+
equals?: string | number | boolean | undefined;
|
|
5854
|
+
contains?: string | undefined;
|
|
5855
|
+
}>>>;
|
|
5856
|
+
}, "strip", z.ZodTypeAny, {
|
|
5857
|
+
events: string[];
|
|
5858
|
+
match?: Record<string, {
|
|
5859
|
+
equals?: string | number | boolean | undefined;
|
|
5860
|
+
contains?: string | undefined;
|
|
5861
|
+
}> | undefined;
|
|
5862
|
+
}, {
|
|
5863
|
+
events: string[];
|
|
5864
|
+
match?: Record<string, {
|
|
5865
|
+
equals?: string | number | boolean | undefined;
|
|
5866
|
+
contains?: string | undefined;
|
|
5867
|
+
}> | undefined;
|
|
5868
|
+
}>>;
|
|
5869
|
+
}, "strip", z.ZodTypeAny, {
|
|
5870
|
+
type: "event_count";
|
|
5871
|
+
key: string;
|
|
5872
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5873
|
+
count: number;
|
|
5874
|
+
withinMs?: number | undefined;
|
|
5875
|
+
counter?: {
|
|
5876
|
+
events: string[];
|
|
5877
|
+
match?: Record<string, {
|
|
5878
|
+
equals?: string | number | boolean | undefined;
|
|
5879
|
+
contains?: string | undefined;
|
|
5880
|
+
}> | undefined;
|
|
5881
|
+
} | undefined;
|
|
5882
|
+
}, {
|
|
5883
|
+
type: "event_count";
|
|
5884
|
+
key: string;
|
|
5885
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5886
|
+
count: number;
|
|
5887
|
+
withinMs?: number | undefined;
|
|
5888
|
+
counter?: {
|
|
5889
|
+
events: string[];
|
|
5890
|
+
match?: Record<string, {
|
|
5891
|
+
equals?: string | number | boolean | undefined;
|
|
5892
|
+
contains?: string | undefined;
|
|
5893
|
+
}> | undefined;
|
|
5894
|
+
} | undefined;
|
|
5895
|
+
}>]>>;
|
|
5896
|
+
}, "strip", z.ZodTypeAny, {
|
|
5897
|
+
text: string;
|
|
5898
|
+
check?: {
|
|
5899
|
+
type: "page_url";
|
|
5900
|
+
url: string;
|
|
5901
|
+
} | {
|
|
5902
|
+
type: "route";
|
|
5903
|
+
routeId: string;
|
|
5904
|
+
} | {
|
|
5905
|
+
type: "anchor_visible";
|
|
5906
|
+
anchorId: string;
|
|
5907
|
+
state: "visible" | "present" | "absent";
|
|
5908
|
+
} | {
|
|
5909
|
+
type: "event_occurred";
|
|
5910
|
+
eventName: string;
|
|
5911
|
+
withinMs?: number | undefined;
|
|
5912
|
+
} | {
|
|
5913
|
+
type: "state_equals";
|
|
5914
|
+
key: string;
|
|
5915
|
+
value?: unknown;
|
|
5916
|
+
} | {
|
|
5917
|
+
type: "viewport";
|
|
5918
|
+
minWidth?: number | undefined;
|
|
5919
|
+
maxWidth?: number | undefined;
|
|
5920
|
+
minHeight?: number | undefined;
|
|
5921
|
+
maxHeight?: number | undefined;
|
|
5922
|
+
} | {
|
|
5923
|
+
type: "session_metric";
|
|
5924
|
+
key: string;
|
|
5925
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5926
|
+
threshold: number;
|
|
5927
|
+
} | {
|
|
5928
|
+
type: "dismissed";
|
|
5929
|
+
key: string;
|
|
5930
|
+
inverted?: boolean | undefined;
|
|
5931
|
+
} | {
|
|
5932
|
+
type: "cooldown_active";
|
|
5933
|
+
key: string;
|
|
5934
|
+
inverted?: boolean | undefined;
|
|
5935
|
+
} | {
|
|
5936
|
+
type: "frequency_limit";
|
|
5937
|
+
key: string;
|
|
5938
|
+
limit: number;
|
|
5939
|
+
inverted?: boolean | undefined;
|
|
5940
|
+
} | {
|
|
5941
|
+
type: "event_count";
|
|
5942
|
+
key: string;
|
|
5943
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5944
|
+
count: number;
|
|
5945
|
+
withinMs?: number | undefined;
|
|
5946
|
+
counter?: {
|
|
5947
|
+
events: string[];
|
|
5948
|
+
match?: Record<string, {
|
|
5949
|
+
equals?: string | number | boolean | undefined;
|
|
5950
|
+
contains?: string | undefined;
|
|
5951
|
+
}> | undefined;
|
|
5952
|
+
} | undefined;
|
|
5953
|
+
} | undefined;
|
|
5954
|
+
}, {
|
|
5955
|
+
text: string;
|
|
5956
|
+
check?: {
|
|
5957
|
+
type: "page_url";
|
|
5958
|
+
url: string;
|
|
5959
|
+
} | {
|
|
5960
|
+
type: "route";
|
|
5961
|
+
routeId: string;
|
|
5962
|
+
} | {
|
|
5963
|
+
type: "anchor_visible";
|
|
5964
|
+
anchorId: string;
|
|
5965
|
+
state: "visible" | "present" | "absent";
|
|
5966
|
+
} | {
|
|
5967
|
+
type: "event_occurred";
|
|
5968
|
+
eventName: string;
|
|
5969
|
+
withinMs?: number | undefined;
|
|
5970
|
+
} | {
|
|
5971
|
+
type: "state_equals";
|
|
5972
|
+
key: string;
|
|
5973
|
+
value?: unknown;
|
|
5974
|
+
} | {
|
|
5975
|
+
type: "viewport";
|
|
5976
|
+
minWidth?: number | undefined;
|
|
5977
|
+
maxWidth?: number | undefined;
|
|
5978
|
+
minHeight?: number | undefined;
|
|
5979
|
+
maxHeight?: number | undefined;
|
|
5980
|
+
} | {
|
|
5981
|
+
type: "session_metric";
|
|
5982
|
+
key: string;
|
|
5983
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5984
|
+
threshold: number;
|
|
5985
|
+
} | {
|
|
5986
|
+
type: "dismissed";
|
|
5987
|
+
key: string;
|
|
5988
|
+
inverted?: boolean | undefined;
|
|
5989
|
+
} | {
|
|
5990
|
+
type: "cooldown_active";
|
|
5991
|
+
key: string;
|
|
5992
|
+
inverted?: boolean | undefined;
|
|
5993
|
+
} | {
|
|
5994
|
+
type: "frequency_limit";
|
|
5995
|
+
key: string;
|
|
5996
|
+
limit: number;
|
|
5997
|
+
inverted?: boolean | undefined;
|
|
5998
|
+
} | {
|
|
5999
|
+
type: "event_count";
|
|
6000
|
+
key: string;
|
|
6001
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
6002
|
+
count: number;
|
|
6003
|
+
withinMs?: number | undefined;
|
|
6004
|
+
counter?: {
|
|
6005
|
+
events: string[];
|
|
6006
|
+
match?: Record<string, {
|
|
6007
|
+
equals?: string | number | boolean | undefined;
|
|
6008
|
+
contains?: string | undefined;
|
|
6009
|
+
}> | undefined;
|
|
6010
|
+
} | undefined;
|
|
6011
|
+
} | undefined;
|
|
6012
|
+
}>]>, "many">>;
|
|
6013
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2893
6014
|
}>;
|
|
2894
6015
|
})[];
|
|
2895
6016
|
export { NotificationDeepLinkZ, TileNotificationRuleZ };
|