@encatch/schema 1.2.0-beta.7 → 1.2.0-beta.8
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/esm/index.js +3 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +452 -4
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -6
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -3
- package/dist/types/schemas/fields/app-props-schema.d.ts +226 -2
- package/dist/types/schemas/fields/field-schema.d.ts +460 -5
- package/dist/types/schemas/fields/form-properties-schema.d.ts +226 -2
- package/package.json +1 -1
|
@@ -1319,6 +1319,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1319
1319
|
}>>>;
|
|
1320
1320
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1321
1321
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1322
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1324
|
+
image: "image";
|
|
1325
|
+
video: "video";
|
|
1326
|
+
youtube: "youtube";
|
|
1327
|
+
vimeo: "vimeo";
|
|
1328
|
+
}>>;
|
|
1322
1329
|
type: z.ZodLiteral<"rating">;
|
|
1323
1330
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1324
1331
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1392,6 +1399,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1392
1399
|
}>>>;
|
|
1393
1400
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1394
1401
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1402
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1404
|
+
image: "image";
|
|
1405
|
+
video: "video";
|
|
1406
|
+
youtube: "youtube";
|
|
1407
|
+
vimeo: "vimeo";
|
|
1408
|
+
}>>;
|
|
1395
1409
|
type: z.ZodLiteral<"annotation">;
|
|
1396
1410
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1397
1411
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1447,6 +1461,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1447
1461
|
}>>>;
|
|
1448
1462
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1449
1463
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1464
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1466
|
+
image: "image";
|
|
1467
|
+
video: "video";
|
|
1468
|
+
youtube: "youtube";
|
|
1469
|
+
vimeo: "vimeo";
|
|
1470
|
+
}>>;
|
|
1450
1471
|
type: z.ZodLiteral<"welcome">;
|
|
1451
1472
|
title: z.ZodString;
|
|
1452
1473
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1503,6 +1524,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1503
1524
|
}>>>;
|
|
1504
1525
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1505
1526
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1527
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1529
|
+
image: "image";
|
|
1530
|
+
video: "video";
|
|
1531
|
+
youtube: "youtube";
|
|
1532
|
+
vimeo: "vimeo";
|
|
1533
|
+
}>>;
|
|
1506
1534
|
type: z.ZodLiteral<"thank_you">;
|
|
1507
1535
|
title: z.ZodString;
|
|
1508
1536
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1559,6 +1587,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1559
1587
|
}>>>;
|
|
1560
1588
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1561
1589
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1590
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1592
|
+
image: "image";
|
|
1593
|
+
video: "video";
|
|
1594
|
+
youtube: "youtube";
|
|
1595
|
+
vimeo: "vimeo";
|
|
1596
|
+
}>>;
|
|
1562
1597
|
type: z.ZodLiteral<"message_panel">;
|
|
1563
1598
|
title: z.ZodString;
|
|
1564
1599
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1617,6 +1652,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1617
1652
|
}>>>;
|
|
1618
1653
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1619
1654
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1655
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1657
|
+
image: "image";
|
|
1658
|
+
video: "video";
|
|
1659
|
+
youtube: "youtube";
|
|
1660
|
+
vimeo: "vimeo";
|
|
1661
|
+
}>>;
|
|
1620
1662
|
type: z.ZodLiteral<"exit_form">;
|
|
1621
1663
|
}, z.core.$strip>, z.ZodObject<{
|
|
1622
1664
|
id: z.ZodString;
|
|
@@ -1672,6 +1714,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1672
1714
|
}>>>;
|
|
1673
1715
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1674
1716
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1717
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1719
|
+
image: "image";
|
|
1720
|
+
video: "video";
|
|
1721
|
+
youtube: "youtube";
|
|
1722
|
+
vimeo: "vimeo";
|
|
1723
|
+
}>>;
|
|
1675
1724
|
type: z.ZodLiteral<"yes_no">;
|
|
1676
1725
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1677
1726
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1733,6 +1782,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1733
1782
|
}>>>;
|
|
1734
1783
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1735
1784
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1785
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1787
|
+
image: "image";
|
|
1788
|
+
video: "video";
|
|
1789
|
+
youtube: "youtube";
|
|
1790
|
+
vimeo: "vimeo";
|
|
1791
|
+
}>>;
|
|
1736
1792
|
type: z.ZodLiteral<"consent">;
|
|
1737
1793
|
}, z.core.$strip>, z.ZodObject<{
|
|
1738
1794
|
id: z.ZodString;
|
|
@@ -1788,6 +1844,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1788
1844
|
}>>>;
|
|
1789
1845
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1790
1846
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1847
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1849
|
+
image: "image";
|
|
1850
|
+
video: "video";
|
|
1851
|
+
youtube: "youtube";
|
|
1852
|
+
vimeo: "vimeo";
|
|
1853
|
+
}>>;
|
|
1791
1854
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1792
1855
|
statements: z.ZodArray<z.ZodObject<{
|
|
1793
1856
|
id: z.ZodString;
|
|
@@ -1882,6 +1945,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1882
1945
|
}>>>;
|
|
1883
1946
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1884
1947
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1948
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
1949
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
1950
|
+
image: "image";
|
|
1951
|
+
video: "video";
|
|
1952
|
+
youtube: "youtube";
|
|
1953
|
+
vimeo: "vimeo";
|
|
1954
|
+
}>>;
|
|
1885
1955
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1886
1956
|
rows: z.ZodArray<z.ZodObject<{
|
|
1887
1957
|
id: z.ZodString;
|
|
@@ -1951,6 +2021,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1951
2021
|
}>>>;
|
|
1952
2022
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1953
2023
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2024
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2025
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2026
|
+
image: "image";
|
|
2027
|
+
video: "video";
|
|
2028
|
+
youtube: "youtube";
|
|
2029
|
+
vimeo: "vimeo";
|
|
2030
|
+
}>>;
|
|
1954
2031
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1955
2032
|
rows: z.ZodArray<z.ZodObject<{
|
|
1956
2033
|
id: z.ZodString;
|
|
@@ -2022,6 +2099,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2022
2099
|
}>>>;
|
|
2023
2100
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2024
2101
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2102
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2103
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2104
|
+
image: "image";
|
|
2105
|
+
video: "video";
|
|
2106
|
+
youtube: "youtube";
|
|
2107
|
+
vimeo: "vimeo";
|
|
2108
|
+
}>>;
|
|
2025
2109
|
type: z.ZodLiteral<"single_choice">;
|
|
2026
2110
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2027
2111
|
radio: "radio";
|
|
@@ -2100,6 +2184,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2100
2184
|
}>>>;
|
|
2101
2185
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2102
2186
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2187
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2189
|
+
image: "image";
|
|
2190
|
+
video: "video";
|
|
2191
|
+
youtube: "youtube";
|
|
2192
|
+
vimeo: "vimeo";
|
|
2193
|
+
}>>;
|
|
2103
2194
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2104
2195
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2105
2196
|
list: "list";
|
|
@@ -2179,6 +2270,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2179
2270
|
}>>>;
|
|
2180
2271
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2181
2272
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2273
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2274
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2275
|
+
image: "image";
|
|
2276
|
+
video: "video";
|
|
2277
|
+
youtube: "youtube";
|
|
2278
|
+
vimeo: "vimeo";
|
|
2279
|
+
}>>;
|
|
2182
2280
|
type: z.ZodLiteral<"nps">;
|
|
2183
2281
|
min: z.ZodLiteral<0>;
|
|
2184
2282
|
max: z.ZodLiteral<10>;
|
|
@@ -2243,6 +2341,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2243
2341
|
}>>>;
|
|
2244
2342
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2245
2343
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2344
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2346
|
+
image: "image";
|
|
2347
|
+
video: "video";
|
|
2348
|
+
youtube: "youtube";
|
|
2349
|
+
vimeo: "vimeo";
|
|
2350
|
+
}>>;
|
|
2246
2351
|
type: z.ZodLiteral<"short_answer">;
|
|
2247
2352
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2248
2353
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2308,6 +2413,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2308
2413
|
}>>>;
|
|
2309
2414
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2310
2415
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2416
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2417
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2418
|
+
image: "image";
|
|
2419
|
+
video: "video";
|
|
2420
|
+
youtube: "youtube";
|
|
2421
|
+
vimeo: "vimeo";
|
|
2422
|
+
}>>;
|
|
2311
2423
|
type: z.ZodLiteral<"long_text">;
|
|
2312
2424
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2313
2425
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2372,6 +2484,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2372
2484
|
}>>>;
|
|
2373
2485
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2374
2486
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2487
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2489
|
+
image: "image";
|
|
2490
|
+
video: "video";
|
|
2491
|
+
youtube: "youtube";
|
|
2492
|
+
vimeo: "vimeo";
|
|
2493
|
+
}>>;
|
|
2375
2494
|
type: z.ZodLiteral<"nested_selection">;
|
|
2376
2495
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2377
2496
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2443,6 +2562,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2443
2562
|
}>>>;
|
|
2444
2563
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2445
2564
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2565
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2567
|
+
image: "image";
|
|
2568
|
+
video: "video";
|
|
2569
|
+
youtube: "youtube";
|
|
2570
|
+
vimeo: "vimeo";
|
|
2571
|
+
}>>;
|
|
2446
2572
|
type: z.ZodLiteral<"date">;
|
|
2447
2573
|
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2448
2574
|
"MM/DD/YYYY": "MM/DD/YYYY";
|
|
@@ -2513,6 +2639,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2513
2639
|
}>>>;
|
|
2514
2640
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2515
2641
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2642
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2643
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2644
|
+
image: "image";
|
|
2645
|
+
video: "video";
|
|
2646
|
+
youtube: "youtube";
|
|
2647
|
+
vimeo: "vimeo";
|
|
2648
|
+
}>>;
|
|
2516
2649
|
type: z.ZodLiteral<"csat">;
|
|
2517
2650
|
scale: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
2518
2651
|
displayStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -2579,6 +2712,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2579
2712
|
}>>>;
|
|
2580
2713
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2581
2714
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2715
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2716
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2717
|
+
image: "image";
|
|
2718
|
+
video: "video";
|
|
2719
|
+
youtube: "youtube";
|
|
2720
|
+
vimeo: "vimeo";
|
|
2721
|
+
}>>;
|
|
2582
2722
|
type: z.ZodLiteral<"opinion_scale">;
|
|
2583
2723
|
startValue: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
2584
2724
|
steps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2638,6 +2778,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2638
2778
|
}>>>;
|
|
2639
2779
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2640
2780
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2781
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2782
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2783
|
+
image: "image";
|
|
2784
|
+
video: "video";
|
|
2785
|
+
youtube: "youtube";
|
|
2786
|
+
vimeo: "vimeo";
|
|
2787
|
+
}>>;
|
|
2641
2788
|
type: z.ZodLiteral<"ranking">;
|
|
2642
2789
|
options: z.ZodArray<z.ZodObject<{
|
|
2643
2790
|
id: z.ZodString;
|
|
@@ -2708,6 +2855,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2708
2855
|
}>>>;
|
|
2709
2856
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2710
2857
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2858
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2860
|
+
image: "image";
|
|
2861
|
+
video: "video";
|
|
2862
|
+
youtube: "youtube";
|
|
2863
|
+
vimeo: "vimeo";
|
|
2864
|
+
}>>;
|
|
2711
2865
|
type: z.ZodLiteral<"picture_choice">;
|
|
2712
2866
|
options: z.ZodArray<z.ZodObject<{
|
|
2713
2867
|
id: z.ZodString;
|
|
@@ -2784,6 +2938,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2784
2938
|
}>>>;
|
|
2785
2939
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2786
2940
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2941
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
2942
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
2943
|
+
image: "image";
|
|
2944
|
+
video: "video";
|
|
2945
|
+
youtube: "youtube";
|
|
2946
|
+
vimeo: "vimeo";
|
|
2947
|
+
}>>;
|
|
2787
2948
|
type: z.ZodLiteral<"signature">;
|
|
2788
2949
|
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2789
2950
|
type: "type";
|
|
@@ -2856,6 +3017,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2856
3017
|
}>>>;
|
|
2857
3018
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2858
3019
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3020
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3021
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3022
|
+
image: "image";
|
|
3023
|
+
video: "video";
|
|
3024
|
+
youtube: "youtube";
|
|
3025
|
+
vimeo: "vimeo";
|
|
3026
|
+
}>>;
|
|
2859
3027
|
type: z.ZodLiteral<"file_upload">;
|
|
2860
3028
|
allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2861
3029
|
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2916,6 +3084,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2916
3084
|
}>>>;
|
|
2917
3085
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2918
3086
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3087
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3089
|
+
image: "image";
|
|
3090
|
+
video: "video";
|
|
3091
|
+
youtube: "youtube";
|
|
3092
|
+
vimeo: "vimeo";
|
|
3093
|
+
}>>;
|
|
2919
3094
|
type: z.ZodLiteral<"email">;
|
|
2920
3095
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2921
3096
|
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
@@ -2973,6 +3148,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2973
3148
|
}>>>;
|
|
2974
3149
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2975
3150
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3151
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3153
|
+
image: "image";
|
|
3154
|
+
video: "video";
|
|
3155
|
+
youtube: "youtube";
|
|
3156
|
+
vimeo: "vimeo";
|
|
3157
|
+
}>>;
|
|
2976
3158
|
type: z.ZodLiteral<"number">;
|
|
2977
3159
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2978
3160
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3035,6 +3217,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3035
3217
|
}>>>;
|
|
3036
3218
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3037
3219
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3220
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3222
|
+
image: "image";
|
|
3223
|
+
video: "video";
|
|
3224
|
+
youtube: "youtube";
|
|
3225
|
+
vimeo: "vimeo";
|
|
3226
|
+
}>>;
|
|
3038
3227
|
type: z.ZodLiteral<"website">;
|
|
3039
3228
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3040
3229
|
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
@@ -3092,6 +3281,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3092
3281
|
}>>>;
|
|
3093
3282
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3094
3283
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3284
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3285
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3286
|
+
image: "image";
|
|
3287
|
+
video: "video";
|
|
3288
|
+
youtube: "youtube";
|
|
3289
|
+
vimeo: "vimeo";
|
|
3290
|
+
}>>;
|
|
3095
3291
|
type: z.ZodLiteral<"phone_number">;
|
|
3096
3292
|
defaultCountryCode: z.ZodOptional<z.ZodString>;
|
|
3097
3293
|
allowCountryChange: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -3151,6 +3347,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3151
3347
|
}>>>;
|
|
3152
3348
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3153
3349
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3350
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3351
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3352
|
+
image: "image";
|
|
3353
|
+
video: "video";
|
|
3354
|
+
youtube: "youtube";
|
|
3355
|
+
vimeo: "vimeo";
|
|
3356
|
+
}>>;
|
|
3154
3357
|
type: z.ZodLiteral<"address">;
|
|
3155
3358
|
addressLine1: z.ZodOptional<z.ZodObject<{
|
|
3156
3359
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3243,16 +3446,23 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3243
3446
|
}>>>;
|
|
3244
3447
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3245
3448
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3449
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3450
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3451
|
+
image: "image";
|
|
3452
|
+
video: "video";
|
|
3453
|
+
youtube: "youtube";
|
|
3454
|
+
vimeo: "vimeo";
|
|
3455
|
+
}>>;
|
|
3246
3456
|
type: z.ZodLiteral<"video_audio">;
|
|
3247
3457
|
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3248
|
-
text: "text";
|
|
3249
3458
|
video: "video";
|
|
3459
|
+
text: "text";
|
|
3250
3460
|
audio: "audio";
|
|
3251
3461
|
photo: "photo";
|
|
3252
3462
|
}>>>;
|
|
3253
3463
|
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
3254
|
-
text: "text";
|
|
3255
3464
|
video: "video";
|
|
3465
|
+
text: "text";
|
|
3256
3466
|
audio: "audio";
|
|
3257
3467
|
photo: "photo";
|
|
3258
3468
|
}>>;
|
|
@@ -3318,6 +3528,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3318
3528
|
}>>>;
|
|
3319
3529
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3320
3530
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3531
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3532
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3533
|
+
image: "image";
|
|
3534
|
+
video: "video";
|
|
3535
|
+
youtube: "youtube";
|
|
3536
|
+
vimeo: "vimeo";
|
|
3537
|
+
}>>;
|
|
3321
3538
|
type: z.ZodLiteral<"scheduler">;
|
|
3322
3539
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
3323
3540
|
google_calendar: "google_calendar";
|
|
@@ -3382,6 +3599,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3382
3599
|
}>>>;
|
|
3383
3600
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3384
3601
|
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3602
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
3603
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
3604
|
+
image: "image";
|
|
3605
|
+
video: "video";
|
|
3606
|
+
youtube: "youtube";
|
|
3607
|
+
vimeo: "vimeo";
|
|
3608
|
+
}>>;
|
|
3385
3609
|
type: z.ZodLiteral<"qna_with_ai">;
|
|
3386
3610
|
knowledgeBase: z.ZodString;
|
|
3387
3611
|
maxResponseLength: z.ZodOptional<z.ZodNumber>;
|
package/package.json
CHANGED