@encatch/schema 1.3.0-beta.0 → 1.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +824 -749
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +190 -66
- package/dist/types/schemas/fields/app-props-schema.d.ts +101 -33
- package/dist/types/schemas/fields/completion-cta-schema.d.ts +51 -0
- package/dist/types/schemas/fields/field-schema.d.ts +193 -69
- package/dist/types/schemas/fields/form-properties-schema.d.ts +101 -33
- package/dist/types/schemas/fields/translations-schema.d.ts +30 -0
- package/package.json +1 -1
|
@@ -1328,13 +1328,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1328
1328
|
type: z.ZodEnum<{
|
|
1329
1329
|
custom: "custom";
|
|
1330
1330
|
pattern: "pattern";
|
|
1331
|
+
url: "url";
|
|
1331
1332
|
email: "email";
|
|
1332
1333
|
required: "required";
|
|
1333
1334
|
min: "min";
|
|
1334
1335
|
max: "max";
|
|
1335
1336
|
minLength: "minLength";
|
|
1336
1337
|
maxLength: "maxLength";
|
|
1337
|
-
url: "url";
|
|
1338
1338
|
}>;
|
|
1339
1339
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1340
1340
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1408,13 +1408,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1408
1408
|
type: z.ZodEnum<{
|
|
1409
1409
|
custom: "custom";
|
|
1410
1410
|
pattern: "pattern";
|
|
1411
|
+
url: "url";
|
|
1411
1412
|
email: "email";
|
|
1412
1413
|
required: "required";
|
|
1413
1414
|
min: "min";
|
|
1414
1415
|
max: "max";
|
|
1415
1416
|
minLength: "minLength";
|
|
1416
1417
|
maxLength: "maxLength";
|
|
1417
|
-
url: "url";
|
|
1418
1418
|
}>;
|
|
1419
1419
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1420
1420
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1470,13 +1470,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1470
1470
|
type: z.ZodEnum<{
|
|
1471
1471
|
custom: "custom";
|
|
1472
1472
|
pattern: "pattern";
|
|
1473
|
+
url: "url";
|
|
1473
1474
|
email: "email";
|
|
1474
1475
|
required: "required";
|
|
1475
1476
|
min: "min";
|
|
1476
1477
|
max: "max";
|
|
1477
1478
|
minLength: "minLength";
|
|
1478
1479
|
maxLength: "maxLength";
|
|
1479
|
-
url: "url";
|
|
1480
1480
|
}>;
|
|
1481
1481
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1482
1482
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1533,13 +1533,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1533
1533
|
type: z.ZodEnum<{
|
|
1534
1534
|
custom: "custom";
|
|
1535
1535
|
pattern: "pattern";
|
|
1536
|
+
url: "url";
|
|
1536
1537
|
email: "email";
|
|
1537
1538
|
required: "required";
|
|
1538
1539
|
min: "min";
|
|
1539
1540
|
max: "max";
|
|
1540
1541
|
minLength: "minLength";
|
|
1541
1542
|
maxLength: "maxLength";
|
|
1542
|
-
url: "url";
|
|
1543
1543
|
}>;
|
|
1544
1544
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1545
1545
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1585,6 +1585,37 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1585
1585
|
title: z.ZodString;
|
|
1586
1586
|
description: z.ZodOptional<z.ZodString>;
|
|
1587
1587
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
1589
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
autoTriggerDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
1591
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1592
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1594
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1595
|
+
route: z.ZodString;
|
|
1596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1597
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1598
|
+
url: z.ZodString;
|
|
1599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1600
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1601
|
+
url: z.ZodString;
|
|
1602
|
+
}, z.core.$strip>], "action">>;
|
|
1603
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1604
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1606
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1607
|
+
route: z.ZodString;
|
|
1608
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1609
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1610
|
+
url: z.ZodString;
|
|
1611
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1612
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1613
|
+
url: z.ZodString;
|
|
1614
|
+
}, z.core.$strip>], "action">>;
|
|
1615
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
1616
|
+
label: z.ZodString;
|
|
1617
|
+
}, z.core.$strip>>;
|
|
1618
|
+
}, z.core.$strip>>;
|
|
1588
1619
|
}, z.core.$strip>, z.ZodObject<{
|
|
1589
1620
|
id: z.ZodString;
|
|
1590
1621
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1596,13 +1627,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1596
1627
|
type: z.ZodEnum<{
|
|
1597
1628
|
custom: "custom";
|
|
1598
1629
|
pattern: "pattern";
|
|
1630
|
+
url: "url";
|
|
1599
1631
|
email: "email";
|
|
1600
1632
|
required: "required";
|
|
1601
1633
|
min: "min";
|
|
1602
1634
|
max: "max";
|
|
1603
1635
|
minLength: "minLength";
|
|
1604
1636
|
maxLength: "maxLength";
|
|
1605
|
-
url: "url";
|
|
1606
1637
|
}>;
|
|
1607
1638
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1608
1639
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1661,13 +1692,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1661
1692
|
type: z.ZodEnum<{
|
|
1662
1693
|
custom: "custom";
|
|
1663
1694
|
pattern: "pattern";
|
|
1695
|
+
url: "url";
|
|
1664
1696
|
email: "email";
|
|
1665
1697
|
required: "required";
|
|
1666
1698
|
min: "min";
|
|
1667
1699
|
max: "max";
|
|
1668
1700
|
minLength: "minLength";
|
|
1669
1701
|
maxLength: "maxLength";
|
|
1670
|
-
url: "url";
|
|
1671
1702
|
}>;
|
|
1672
1703
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1673
1704
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1710,6 +1741,37 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1710
1741
|
vimeo: "vimeo";
|
|
1711
1742
|
}>>;
|
|
1712
1743
|
type: z.ZodLiteral<"exit_form">;
|
|
1744
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
1745
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
autoTriggerDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1748
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1750
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1751
|
+
route: z.ZodString;
|
|
1752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1753
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1754
|
+
url: z.ZodString;
|
|
1755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1756
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1757
|
+
url: z.ZodString;
|
|
1758
|
+
}, z.core.$strip>], "action">>;
|
|
1759
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1760
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1762
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1763
|
+
route: z.ZodString;
|
|
1764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1765
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1766
|
+
url: z.ZodString;
|
|
1767
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1768
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1769
|
+
url: z.ZodString;
|
|
1770
|
+
}, z.core.$strip>], "action">>;
|
|
1771
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
1772
|
+
label: z.ZodString;
|
|
1773
|
+
}, z.core.$strip>>;
|
|
1774
|
+
}, z.core.$strip>>;
|
|
1713
1775
|
}, z.core.$strip>, z.ZodObject<{
|
|
1714
1776
|
id: z.ZodString;
|
|
1715
1777
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1723,13 +1785,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1723
1785
|
type: z.ZodEnum<{
|
|
1724
1786
|
custom: "custom";
|
|
1725
1787
|
pattern: "pattern";
|
|
1788
|
+
url: "url";
|
|
1726
1789
|
email: "email";
|
|
1727
1790
|
required: "required";
|
|
1728
1791
|
min: "min";
|
|
1729
1792
|
max: "max";
|
|
1730
1793
|
minLength: "minLength";
|
|
1731
1794
|
maxLength: "maxLength";
|
|
1732
|
-
url: "url";
|
|
1733
1795
|
}>;
|
|
1734
1796
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1735
1797
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1791,13 +1853,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1791
1853
|
type: z.ZodEnum<{
|
|
1792
1854
|
custom: "custom";
|
|
1793
1855
|
pattern: "pattern";
|
|
1856
|
+
url: "url";
|
|
1794
1857
|
email: "email";
|
|
1795
1858
|
required: "required";
|
|
1796
1859
|
min: "min";
|
|
1797
1860
|
max: "max";
|
|
1798
1861
|
minLength: "minLength";
|
|
1799
1862
|
maxLength: "maxLength";
|
|
1800
|
-
url: "url";
|
|
1801
1863
|
}>;
|
|
1802
1864
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1803
1865
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1853,13 +1915,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1853
1915
|
type: z.ZodEnum<{
|
|
1854
1916
|
custom: "custom";
|
|
1855
1917
|
pattern: "pattern";
|
|
1918
|
+
url: "url";
|
|
1856
1919
|
email: "email";
|
|
1857
1920
|
required: "required";
|
|
1858
1921
|
min: "min";
|
|
1859
1922
|
max: "max";
|
|
1860
1923
|
minLength: "minLength";
|
|
1861
1924
|
maxLength: "maxLength";
|
|
1862
|
-
url: "url";
|
|
1863
1925
|
}>;
|
|
1864
1926
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1865
1927
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1954,13 +2016,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1954
2016
|
type: z.ZodEnum<{
|
|
1955
2017
|
custom: "custom";
|
|
1956
2018
|
pattern: "pattern";
|
|
2019
|
+
url: "url";
|
|
1957
2020
|
email: "email";
|
|
1958
2021
|
required: "required";
|
|
1959
2022
|
min: "min";
|
|
1960
2023
|
max: "max";
|
|
1961
2024
|
minLength: "minLength";
|
|
1962
2025
|
maxLength: "maxLength";
|
|
1963
|
-
url: "url";
|
|
1964
2026
|
}>;
|
|
1965
2027
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1966
2028
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2030,13 +2092,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2030
2092
|
type: z.ZodEnum<{
|
|
2031
2093
|
custom: "custom";
|
|
2032
2094
|
pattern: "pattern";
|
|
2095
|
+
url: "url";
|
|
2033
2096
|
email: "email";
|
|
2034
2097
|
required: "required";
|
|
2035
2098
|
min: "min";
|
|
2036
2099
|
max: "max";
|
|
2037
2100
|
minLength: "minLength";
|
|
2038
2101
|
maxLength: "maxLength";
|
|
2039
|
-
url: "url";
|
|
2040
2102
|
}>;
|
|
2041
2103
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2042
2104
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2108,13 +2170,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2108
2170
|
type: z.ZodEnum<{
|
|
2109
2171
|
custom: "custom";
|
|
2110
2172
|
pattern: "pattern";
|
|
2173
|
+
url: "url";
|
|
2111
2174
|
email: "email";
|
|
2112
2175
|
required: "required";
|
|
2113
2176
|
min: "min";
|
|
2114
2177
|
max: "max";
|
|
2115
2178
|
minLength: "minLength";
|
|
2116
2179
|
maxLength: "maxLength";
|
|
2117
|
-
url: "url";
|
|
2118
2180
|
}>;
|
|
2119
2181
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2120
2182
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2193,13 +2255,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2193
2255
|
type: z.ZodEnum<{
|
|
2194
2256
|
custom: "custom";
|
|
2195
2257
|
pattern: "pattern";
|
|
2258
|
+
url: "url";
|
|
2196
2259
|
email: "email";
|
|
2197
2260
|
required: "required";
|
|
2198
2261
|
min: "min";
|
|
2199
2262
|
max: "max";
|
|
2200
2263
|
minLength: "minLength";
|
|
2201
2264
|
maxLength: "maxLength";
|
|
2202
|
-
url: "url";
|
|
2203
2265
|
}>;
|
|
2204
2266
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2205
2267
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2279,13 +2341,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2279
2341
|
type: z.ZodEnum<{
|
|
2280
2342
|
custom: "custom";
|
|
2281
2343
|
pattern: "pattern";
|
|
2344
|
+
url: "url";
|
|
2282
2345
|
email: "email";
|
|
2283
2346
|
required: "required";
|
|
2284
2347
|
min: "min";
|
|
2285
2348
|
max: "max";
|
|
2286
2349
|
minLength: "minLength";
|
|
2287
2350
|
maxLength: "maxLength";
|
|
2288
|
-
url: "url";
|
|
2289
2351
|
}>;
|
|
2290
2352
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2291
2353
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2350,13 +2412,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2350
2412
|
type: z.ZodEnum<{
|
|
2351
2413
|
custom: "custom";
|
|
2352
2414
|
pattern: "pattern";
|
|
2415
|
+
url: "url";
|
|
2353
2416
|
email: "email";
|
|
2354
2417
|
required: "required";
|
|
2355
2418
|
min: "min";
|
|
2356
2419
|
max: "max";
|
|
2357
2420
|
minLength: "minLength";
|
|
2358
2421
|
maxLength: "maxLength";
|
|
2359
|
-
url: "url";
|
|
2360
2422
|
}>;
|
|
2361
2423
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2362
2424
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2422,13 +2484,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2422
2484
|
type: z.ZodEnum<{
|
|
2423
2485
|
custom: "custom";
|
|
2424
2486
|
pattern: "pattern";
|
|
2487
|
+
url: "url";
|
|
2425
2488
|
email: "email";
|
|
2426
2489
|
required: "required";
|
|
2427
2490
|
min: "min";
|
|
2428
2491
|
max: "max";
|
|
2429
2492
|
minLength: "minLength";
|
|
2430
2493
|
maxLength: "maxLength";
|
|
2431
|
-
url: "url";
|
|
2432
2494
|
}>;
|
|
2433
2495
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2434
2496
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2493,13 +2555,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2493
2555
|
type: z.ZodEnum<{
|
|
2494
2556
|
custom: "custom";
|
|
2495
2557
|
pattern: "pattern";
|
|
2558
|
+
url: "url";
|
|
2496
2559
|
email: "email";
|
|
2497
2560
|
required: "required";
|
|
2498
2561
|
min: "min";
|
|
2499
2562
|
max: "max";
|
|
2500
2563
|
minLength: "minLength";
|
|
2501
2564
|
maxLength: "maxLength";
|
|
2502
|
-
url: "url";
|
|
2503
2565
|
}>;
|
|
2504
2566
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2505
2567
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2571,13 +2633,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2571
2633
|
type: z.ZodEnum<{
|
|
2572
2634
|
custom: "custom";
|
|
2573
2635
|
pattern: "pattern";
|
|
2636
|
+
url: "url";
|
|
2574
2637
|
email: "email";
|
|
2575
2638
|
required: "required";
|
|
2576
2639
|
min: "min";
|
|
2577
2640
|
max: "max";
|
|
2578
2641
|
minLength: "minLength";
|
|
2579
2642
|
maxLength: "maxLength";
|
|
2580
|
-
url: "url";
|
|
2581
2643
|
}>;
|
|
2582
2644
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2583
2645
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2651,13 +2713,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2651
2713
|
type: z.ZodEnum<{
|
|
2652
2714
|
custom: "custom";
|
|
2653
2715
|
pattern: "pattern";
|
|
2716
|
+
url: "url";
|
|
2654
2717
|
email: "email";
|
|
2655
2718
|
required: "required";
|
|
2656
2719
|
min: "min";
|
|
2657
2720
|
max: "max";
|
|
2658
2721
|
minLength: "minLength";
|
|
2659
2722
|
maxLength: "maxLength";
|
|
2660
|
-
url: "url";
|
|
2661
2723
|
}>;
|
|
2662
2724
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2663
2725
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2724,13 +2786,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2724
2786
|
type: z.ZodEnum<{
|
|
2725
2787
|
custom: "custom";
|
|
2726
2788
|
pattern: "pattern";
|
|
2789
|
+
url: "url";
|
|
2727
2790
|
email: "email";
|
|
2728
2791
|
required: "required";
|
|
2729
2792
|
min: "min";
|
|
2730
2793
|
max: "max";
|
|
2731
2794
|
minLength: "minLength";
|
|
2732
2795
|
maxLength: "maxLength";
|
|
2733
|
-
url: "url";
|
|
2734
2796
|
}>;
|
|
2735
2797
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2736
2798
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2790,13 +2852,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2790
2852
|
type: z.ZodEnum<{
|
|
2791
2853
|
custom: "custom";
|
|
2792
2854
|
pattern: "pattern";
|
|
2855
|
+
url: "url";
|
|
2793
2856
|
email: "email";
|
|
2794
2857
|
required: "required";
|
|
2795
2858
|
min: "min";
|
|
2796
2859
|
max: "max";
|
|
2797
2860
|
minLength: "minLength";
|
|
2798
2861
|
maxLength: "maxLength";
|
|
2799
|
-
url: "url";
|
|
2800
2862
|
}>;
|
|
2801
2863
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2802
2864
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2867,13 +2929,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2867
2929
|
type: z.ZodEnum<{
|
|
2868
2930
|
custom: "custom";
|
|
2869
2931
|
pattern: "pattern";
|
|
2932
|
+
url: "url";
|
|
2870
2933
|
email: "email";
|
|
2871
2934
|
required: "required";
|
|
2872
2935
|
min: "min";
|
|
2873
2936
|
max: "max";
|
|
2874
2937
|
minLength: "minLength";
|
|
2875
2938
|
maxLength: "maxLength";
|
|
2876
|
-
url: "url";
|
|
2877
2939
|
}>;
|
|
2878
2940
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2879
2941
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2950,13 +3012,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
2950
3012
|
type: z.ZodEnum<{
|
|
2951
3013
|
custom: "custom";
|
|
2952
3014
|
pattern: "pattern";
|
|
3015
|
+
url: "url";
|
|
2953
3016
|
email: "email";
|
|
2954
3017
|
required: "required";
|
|
2955
3018
|
min: "min";
|
|
2956
3019
|
max: "max";
|
|
2957
3020
|
minLength: "minLength";
|
|
2958
3021
|
maxLength: "maxLength";
|
|
2959
|
-
url: "url";
|
|
2960
3022
|
}>;
|
|
2961
3023
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2962
3024
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3036,13 +3098,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3036
3098
|
type: z.ZodEnum<{
|
|
3037
3099
|
custom: "custom";
|
|
3038
3100
|
pattern: "pattern";
|
|
3101
|
+
url: "url";
|
|
3039
3102
|
email: "email";
|
|
3040
3103
|
required: "required";
|
|
3041
3104
|
min: "min";
|
|
3042
3105
|
max: "max";
|
|
3043
3106
|
minLength: "minLength";
|
|
3044
3107
|
maxLength: "maxLength";
|
|
3045
|
-
url: "url";
|
|
3046
3108
|
}>;
|
|
3047
3109
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3048
3110
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3103,13 +3165,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3103
3165
|
type: z.ZodEnum<{
|
|
3104
3166
|
custom: "custom";
|
|
3105
3167
|
pattern: "pattern";
|
|
3168
|
+
url: "url";
|
|
3106
3169
|
email: "email";
|
|
3107
3170
|
required: "required";
|
|
3108
3171
|
min: "min";
|
|
3109
3172
|
max: "max";
|
|
3110
3173
|
minLength: "minLength";
|
|
3111
3174
|
maxLength: "maxLength";
|
|
3112
|
-
url: "url";
|
|
3113
3175
|
}>;
|
|
3114
3176
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3115
3177
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3167,13 +3229,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3167
3229
|
type: z.ZodEnum<{
|
|
3168
3230
|
custom: "custom";
|
|
3169
3231
|
pattern: "pattern";
|
|
3232
|
+
url: "url";
|
|
3170
3233
|
email: "email";
|
|
3171
3234
|
required: "required";
|
|
3172
3235
|
min: "min";
|
|
3173
3236
|
max: "max";
|
|
3174
3237
|
minLength: "minLength";
|
|
3175
3238
|
maxLength: "maxLength";
|
|
3176
|
-
url: "url";
|
|
3177
3239
|
}>;
|
|
3178
3240
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3179
3241
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3236,13 +3298,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3236
3298
|
type: z.ZodEnum<{
|
|
3237
3299
|
custom: "custom";
|
|
3238
3300
|
pattern: "pattern";
|
|
3301
|
+
url: "url";
|
|
3239
3302
|
email: "email";
|
|
3240
3303
|
required: "required";
|
|
3241
3304
|
min: "min";
|
|
3242
3305
|
max: "max";
|
|
3243
3306
|
minLength: "minLength";
|
|
3244
3307
|
maxLength: "maxLength";
|
|
3245
|
-
url: "url";
|
|
3246
3308
|
}>;
|
|
3247
3309
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3248
3310
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3300,13 +3362,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3300
3362
|
type: z.ZodEnum<{
|
|
3301
3363
|
custom: "custom";
|
|
3302
3364
|
pattern: "pattern";
|
|
3365
|
+
url: "url";
|
|
3303
3366
|
email: "email";
|
|
3304
3367
|
required: "required";
|
|
3305
3368
|
min: "min";
|
|
3306
3369
|
max: "max";
|
|
3307
3370
|
minLength: "minLength";
|
|
3308
3371
|
maxLength: "maxLength";
|
|
3309
|
-
url: "url";
|
|
3310
3372
|
}>;
|
|
3311
3373
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3312
3374
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3366,13 +3428,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3366
3428
|
type: z.ZodEnum<{
|
|
3367
3429
|
custom: "custom";
|
|
3368
3430
|
pattern: "pattern";
|
|
3431
|
+
url: "url";
|
|
3369
3432
|
email: "email";
|
|
3370
3433
|
required: "required";
|
|
3371
3434
|
min: "min";
|
|
3372
3435
|
max: "max";
|
|
3373
3436
|
minLength: "minLength";
|
|
3374
3437
|
maxLength: "maxLength";
|
|
3375
|
-
url: "url";
|
|
3376
3438
|
}>;
|
|
3377
3439
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3378
3440
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3465,13 +3527,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3465
3527
|
type: z.ZodEnum<{
|
|
3466
3528
|
custom: "custom";
|
|
3467
3529
|
pattern: "pattern";
|
|
3530
|
+
url: "url";
|
|
3468
3531
|
email: "email";
|
|
3469
3532
|
required: "required";
|
|
3470
3533
|
min: "min";
|
|
3471
3534
|
max: "max";
|
|
3472
3535
|
minLength: "minLength";
|
|
3473
3536
|
maxLength: "maxLength";
|
|
3474
|
-
url: "url";
|
|
3475
3537
|
}>;
|
|
3476
3538
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3477
3539
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3553,13 +3615,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3553
3615
|
type: z.ZodEnum<{
|
|
3554
3616
|
custom: "custom";
|
|
3555
3617
|
pattern: "pattern";
|
|
3618
|
+
url: "url";
|
|
3556
3619
|
email: "email";
|
|
3557
3620
|
required: "required";
|
|
3558
3621
|
min: "min";
|
|
3559
3622
|
max: "max";
|
|
3560
3623
|
minLength: "minLength";
|
|
3561
3624
|
maxLength: "maxLength";
|
|
3562
|
-
url: "url";
|
|
3563
3625
|
}>;
|
|
3564
3626
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3565
3627
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3625,13 +3687,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3625
3687
|
type: z.ZodEnum<{
|
|
3626
3688
|
custom: "custom";
|
|
3627
3689
|
pattern: "pattern";
|
|
3690
|
+
url: "url";
|
|
3628
3691
|
email: "email";
|
|
3629
3692
|
required: "required";
|
|
3630
3693
|
min: "min";
|
|
3631
3694
|
max: "max";
|
|
3632
3695
|
minLength: "minLength";
|
|
3633
3696
|
maxLength: "maxLength";
|
|
3634
|
-
url: "url";
|
|
3635
3697
|
}>;
|
|
3636
3698
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3637
3699
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3695,13 +3757,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3695
3757
|
type: z.ZodEnum<{
|
|
3696
3758
|
custom: "custom";
|
|
3697
3759
|
pattern: "pattern";
|
|
3760
|
+
url: "url";
|
|
3698
3761
|
email: "email";
|
|
3699
3762
|
required: "required";
|
|
3700
3763
|
min: "min";
|
|
3701
3764
|
max: "max";
|
|
3702
3765
|
minLength: "minLength";
|
|
3703
3766
|
maxLength: "maxLength";
|
|
3704
|
-
url: "url";
|
|
3705
3767
|
}>;
|
|
3706
3768
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3707
3769
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3937,6 +3999,12 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3937
3999
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3938
4000
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
3939
4001
|
type: z.ZodLiteral<"thank_you">;
|
|
4002
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
4003
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
4005
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4006
|
+
}, z.core.$strip>>;
|
|
4007
|
+
}, z.core.$strip>>;
|
|
3940
4008
|
}, z.core.$strip>, z.ZodObject<{
|
|
3941
4009
|
title: z.ZodString;
|
|
3942
4010
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -164,6 +164,12 @@ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
|
164
164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
165
165
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
166
166
|
type: z.ZodLiteral<"thank_you">;
|
|
167
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
label: z.ZodOptional<z.ZodString>;
|
|
169
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
label: z.ZodOptional<z.ZodString>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
167
173
|
}, z.core.$strip>;
|
|
168
174
|
export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
169
175
|
title: z.ZodString;
|
|
@@ -353,6 +359,12 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
353
359
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
354
360
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
355
361
|
type: z.ZodLiteral<"thank_you">;
|
|
362
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
label: z.ZodOptional<z.ZodString>;
|
|
364
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
label: z.ZodOptional<z.ZodString>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
356
368
|
}, z.core.$strip>, z.ZodObject<{
|
|
357
369
|
title: z.ZodString;
|
|
358
370
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -547,6 +559,12 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
547
559
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
548
560
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
549
561
|
type: z.ZodLiteral<"thank_you">;
|
|
562
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
label: z.ZodOptional<z.ZodString>;
|
|
564
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
label: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
550
568
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
569
|
title: z.ZodString;
|
|
552
570
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -730,6 +748,12 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
730
748
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
731
749
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
732
750
|
type: z.ZodLiteral<"thank_you">;
|
|
751
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
label: z.ZodOptional<z.ZodString>;
|
|
753
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
754
|
+
label: z.ZodOptional<z.ZodString>;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
}, z.core.$strip>>;
|
|
733
757
|
}, z.core.$strip>, z.ZodObject<{
|
|
734
758
|
title: z.ZodString;
|
|
735
759
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -913,6 +937,12 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
913
937
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
914
938
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
915
939
|
type: z.ZodLiteral<"thank_you">;
|
|
940
|
+
completionCta: z.ZodOptional<z.ZodObject<{
|
|
941
|
+
label: z.ZodOptional<z.ZodString>;
|
|
942
|
+
secondary: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
label: z.ZodOptional<z.ZodString>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
}, z.core.$strip>>;
|
|
916
946
|
}, z.core.$strip>, z.ZodObject<{
|
|
917
947
|
title: z.ZodString;
|
|
918
948
|
description: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED