@syntrologie/adapt-faq 2.16.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor.d.ts +29 -33
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +194 -317
- package/dist/editor.js.map +7 -0
- package/dist/runtime.d.ts +3 -5
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1248 -93
- package/dist/runtime.js.map +7 -0
- package/dist/schema.d.ts +670 -138
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +442 -206
- package/dist/schema.js.map +7 -0
- package/package.json +4 -20
- package/dist/FAQWidget.d.ts +0 -33
- package/dist/FAQWidget.d.ts.map +0 -1
- package/dist/FAQWidget.js +0 -375
- package/dist/FAQWidgetLit.js +0 -534
- package/dist/cdn.d.ts +0 -70
- package/dist/cdn.d.ts.map +0 -1
- package/dist/cdn.js +0 -46
- package/dist/editor-lit.d.ts +0 -37
- package/dist/editor-lit.d.ts.map +0 -1
- package/dist/editor-lit.js +0 -195
- package/dist/executors.js +0 -150
- package/dist/faq-styles.js +0 -204
- package/dist/faq-types.js +0 -7
- package/dist/runtime-lit.d.ts +0 -85
- package/dist/runtime-lit.d.ts.map +0 -1
- package/dist/runtime-lit.js +0 -94
- package/dist/state.js +0 -132
- package/dist/summarize.js +0 -62
- package/dist/types.js +0 -17
- package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +0 -129
- package/node_modules/@syntrologie/sdk-contracts/dist/index.js +0 -17
- package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +0 -2296
- package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +0 -361
- package/node_modules/@syntrologie/sdk-contracts/package.json +0 -33
package/dist/schema.d.ts
CHANGED
|
@@ -40,15 +40,15 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
40
40
|
id: string;
|
|
41
41
|
src: string;
|
|
42
42
|
width?: number | undefined;
|
|
43
|
-
height?: number | undefined;
|
|
44
43
|
alt?: string | undefined;
|
|
44
|
+
height?: number | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
type: "image" | "video";
|
|
47
47
|
id: string;
|
|
48
48
|
src: string;
|
|
49
49
|
width?: number | undefined;
|
|
50
|
-
height?: number | undefined;
|
|
51
50
|
alt?: string | undefined;
|
|
51
|
+
height?: number | undefined;
|
|
52
52
|
}>, "many">>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
type: "markdown";
|
|
@@ -58,8 +58,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
58
58
|
id: string;
|
|
59
59
|
src: string;
|
|
60
60
|
width?: number | undefined;
|
|
61
|
-
height?: number | undefined;
|
|
62
61
|
alt?: string | undefined;
|
|
62
|
+
height?: number | undefined;
|
|
63
63
|
}[] | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
type: "markdown";
|
|
@@ -69,8 +69,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
69
69
|
id: string;
|
|
70
70
|
src: string;
|
|
71
71
|
width?: number | undefined;
|
|
72
|
-
height?: number | undefined;
|
|
73
72
|
alt?: string | undefined;
|
|
73
|
+
height?: number | undefined;
|
|
74
74
|
}[] | undefined;
|
|
75
75
|
}>]>;
|
|
76
76
|
/** Optional category for grouping */
|
|
@@ -107,8 +107,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
107
107
|
id: string;
|
|
108
108
|
src: string;
|
|
109
109
|
width?: number | undefined;
|
|
110
|
-
height?: number | undefined;
|
|
111
110
|
alt?: string | undefined;
|
|
111
|
+
height?: number | undefined;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
};
|
|
114
114
|
id: string;
|
|
@@ -133,8 +133,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
133
133
|
id: string;
|
|
134
134
|
src: string;
|
|
135
135
|
width?: number | undefined;
|
|
136
|
-
height?: number | undefined;
|
|
137
136
|
alt?: string | undefined;
|
|
137
|
+
height?: number | undefined;
|
|
138
138
|
}[] | undefined;
|
|
139
139
|
};
|
|
140
140
|
id: string;
|
|
@@ -647,6 +647,9 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
647
647
|
body?: string | undefined;
|
|
648
648
|
icon?: string | undefined;
|
|
649
649
|
}>>>;
|
|
650
|
+
title: z.ZodOptional<z.ZodString>;
|
|
651
|
+
description: z.ZodOptional<z.ZodString>;
|
|
652
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
650
653
|
}, "strip", z.ZodTypeAny, {
|
|
651
654
|
config: {
|
|
652
655
|
question: string;
|
|
@@ -661,8 +664,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
661
664
|
id: string;
|
|
662
665
|
src: string;
|
|
663
666
|
width?: number | undefined;
|
|
664
|
-
height?: number | undefined;
|
|
665
667
|
alt?: string | undefined;
|
|
668
|
+
height?: number | undefined;
|
|
666
669
|
}[] | undefined;
|
|
667
670
|
};
|
|
668
671
|
id: string;
|
|
@@ -676,6 +679,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
676
679
|
} | undefined;
|
|
677
680
|
};
|
|
678
681
|
kind: "faq:question";
|
|
682
|
+
title?: string | undefined;
|
|
683
|
+
validation?: string[] | undefined;
|
|
679
684
|
triggerWhen?: {
|
|
680
685
|
type: "rules";
|
|
681
686
|
rules: {
|
|
@@ -762,6 +767,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
762
767
|
body?: string | undefined;
|
|
763
768
|
icon?: string | undefined;
|
|
764
769
|
} | null | undefined;
|
|
770
|
+
description?: string | undefined;
|
|
765
771
|
}, {
|
|
766
772
|
config: {
|
|
767
773
|
question: string;
|
|
@@ -776,8 +782,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
776
782
|
id: string;
|
|
777
783
|
src: string;
|
|
778
784
|
width?: number | undefined;
|
|
779
|
-
height?: number | undefined;
|
|
780
785
|
alt?: string | undefined;
|
|
786
|
+
height?: number | undefined;
|
|
781
787
|
}[] | undefined;
|
|
782
788
|
};
|
|
783
789
|
id: string;
|
|
@@ -791,6 +797,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
791
797
|
} | undefined;
|
|
792
798
|
};
|
|
793
799
|
kind: "faq:question";
|
|
800
|
+
title?: string | undefined;
|
|
801
|
+
validation?: string[] | undefined;
|
|
794
802
|
triggerWhen?: {
|
|
795
803
|
type: "rules";
|
|
796
804
|
rules: {
|
|
@@ -877,6 +885,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
877
885
|
body?: string | undefined;
|
|
878
886
|
icon?: string | undefined;
|
|
879
887
|
} | null | undefined;
|
|
888
|
+
description?: string | undefined;
|
|
880
889
|
}>, {
|
|
881
890
|
config: {
|
|
882
891
|
question: string;
|
|
@@ -891,8 +900,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
891
900
|
id: string;
|
|
892
901
|
src: string;
|
|
893
902
|
width?: number | undefined;
|
|
894
|
-
height?: number | undefined;
|
|
895
903
|
alt?: string | undefined;
|
|
904
|
+
height?: number | undefined;
|
|
896
905
|
}[] | undefined;
|
|
897
906
|
};
|
|
898
907
|
id: string;
|
|
@@ -906,6 +915,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
906
915
|
} | undefined;
|
|
907
916
|
};
|
|
908
917
|
kind: "faq:question";
|
|
918
|
+
title?: string | undefined;
|
|
919
|
+
validation?: string[] | undefined;
|
|
909
920
|
triggerWhen?: {
|
|
910
921
|
type: "rules";
|
|
911
922
|
rules: {
|
|
@@ -992,6 +1003,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
992
1003
|
body?: string | undefined;
|
|
993
1004
|
icon?: string | undefined;
|
|
994
1005
|
} | null | undefined;
|
|
1006
|
+
description?: string | undefined;
|
|
995
1007
|
}, {
|
|
996
1008
|
config: {
|
|
997
1009
|
question: string;
|
|
@@ -1006,8 +1018,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1006
1018
|
id: string;
|
|
1007
1019
|
src: string;
|
|
1008
1020
|
width?: number | undefined;
|
|
1009
|
-
height?: number | undefined;
|
|
1010
1021
|
alt?: string | undefined;
|
|
1022
|
+
height?: number | undefined;
|
|
1011
1023
|
}[] | undefined;
|
|
1012
1024
|
};
|
|
1013
1025
|
id: string;
|
|
@@ -1021,6 +1033,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1021
1033
|
} | undefined;
|
|
1022
1034
|
};
|
|
1023
1035
|
kind: "faq:question";
|
|
1036
|
+
title?: string | undefined;
|
|
1037
|
+
validation?: string[] | undefined;
|
|
1024
1038
|
triggerWhen?: {
|
|
1025
1039
|
type: "rules";
|
|
1026
1040
|
rules: {
|
|
@@ -1107,6 +1121,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1107
1121
|
body?: string | undefined;
|
|
1108
1122
|
icon?: string | undefined;
|
|
1109
1123
|
} | null | undefined;
|
|
1124
|
+
description?: string | undefined;
|
|
1110
1125
|
}>;
|
|
1111
1126
|
export type FAQQuestionSchemaType = z.infer<typeof FAQQuestionSchema>;
|
|
1112
1127
|
/**
|
|
@@ -1154,15 +1169,15 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1154
1169
|
id: string;
|
|
1155
1170
|
src: string;
|
|
1156
1171
|
width?: number | undefined;
|
|
1157
|
-
height?: number | undefined;
|
|
1158
1172
|
alt?: string | undefined;
|
|
1173
|
+
height?: number | undefined;
|
|
1159
1174
|
}, {
|
|
1160
1175
|
type: "image" | "video";
|
|
1161
1176
|
id: string;
|
|
1162
1177
|
src: string;
|
|
1163
1178
|
width?: number | undefined;
|
|
1164
|
-
height?: number | undefined;
|
|
1165
1179
|
alt?: string | undefined;
|
|
1180
|
+
height?: number | undefined;
|
|
1166
1181
|
}>, "many">>;
|
|
1167
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1168
1183
|
type: "markdown";
|
|
@@ -1172,8 +1187,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1172
1187
|
id: string;
|
|
1173
1188
|
src: string;
|
|
1174
1189
|
width?: number | undefined;
|
|
1175
|
-
height?: number | undefined;
|
|
1176
1190
|
alt?: string | undefined;
|
|
1191
|
+
height?: number | undefined;
|
|
1177
1192
|
}[] | undefined;
|
|
1178
1193
|
}, {
|
|
1179
1194
|
type: "markdown";
|
|
@@ -1183,8 +1198,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1183
1198
|
id: string;
|
|
1184
1199
|
src: string;
|
|
1185
1200
|
width?: number | undefined;
|
|
1186
|
-
height?: number | undefined;
|
|
1187
1201
|
alt?: string | undefined;
|
|
1202
|
+
height?: number | undefined;
|
|
1188
1203
|
}[] | undefined;
|
|
1189
1204
|
}>]>;
|
|
1190
1205
|
/** Optional category for grouping */
|
|
@@ -1221,8 +1236,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1221
1236
|
id: string;
|
|
1222
1237
|
src: string;
|
|
1223
1238
|
width?: number | undefined;
|
|
1224
|
-
height?: number | undefined;
|
|
1225
1239
|
alt?: string | undefined;
|
|
1240
|
+
height?: number | undefined;
|
|
1226
1241
|
}[] | undefined;
|
|
1227
1242
|
};
|
|
1228
1243
|
id: string;
|
|
@@ -1247,8 +1262,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1247
1262
|
id: string;
|
|
1248
1263
|
src: string;
|
|
1249
1264
|
width?: number | undefined;
|
|
1250
|
-
height?: number | undefined;
|
|
1251
1265
|
alt?: string | undefined;
|
|
1266
|
+
height?: number | undefined;
|
|
1252
1267
|
}[] | undefined;
|
|
1253
1268
|
};
|
|
1254
1269
|
id: string;
|
|
@@ -1761,6 +1776,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1761
1776
|
body?: string | undefined;
|
|
1762
1777
|
icon?: string | undefined;
|
|
1763
1778
|
}>>>;
|
|
1779
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1764
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1765
1783
|
config: {
|
|
1766
1784
|
question: string;
|
|
@@ -1775,8 +1793,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1775
1793
|
id: string;
|
|
1776
1794
|
src: string;
|
|
1777
1795
|
width?: number | undefined;
|
|
1778
|
-
height?: number | undefined;
|
|
1779
1796
|
alt?: string | undefined;
|
|
1797
|
+
height?: number | undefined;
|
|
1780
1798
|
}[] | undefined;
|
|
1781
1799
|
};
|
|
1782
1800
|
id: string;
|
|
@@ -1790,6 +1808,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1790
1808
|
} | undefined;
|
|
1791
1809
|
};
|
|
1792
1810
|
kind: "faq:question";
|
|
1811
|
+
title?: string | undefined;
|
|
1812
|
+
validation?: string[] | undefined;
|
|
1793
1813
|
triggerWhen?: {
|
|
1794
1814
|
type: "rules";
|
|
1795
1815
|
rules: {
|
|
@@ -1876,6 +1896,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1876
1896
|
body?: string | undefined;
|
|
1877
1897
|
icon?: string | undefined;
|
|
1878
1898
|
} | null | undefined;
|
|
1899
|
+
description?: string | undefined;
|
|
1879
1900
|
}, {
|
|
1880
1901
|
config: {
|
|
1881
1902
|
question: string;
|
|
@@ -1890,8 +1911,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1890
1911
|
id: string;
|
|
1891
1912
|
src: string;
|
|
1892
1913
|
width?: number | undefined;
|
|
1893
|
-
height?: number | undefined;
|
|
1894
1914
|
alt?: string | undefined;
|
|
1915
|
+
height?: number | undefined;
|
|
1895
1916
|
}[] | undefined;
|
|
1896
1917
|
};
|
|
1897
1918
|
id: string;
|
|
@@ -1905,6 +1926,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1905
1926
|
} | undefined;
|
|
1906
1927
|
};
|
|
1907
1928
|
kind: "faq:question";
|
|
1929
|
+
title?: string | undefined;
|
|
1930
|
+
validation?: string[] | undefined;
|
|
1908
1931
|
triggerWhen?: {
|
|
1909
1932
|
type: "rules";
|
|
1910
1933
|
rules: {
|
|
@@ -1991,6 +2014,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1991
2014
|
body?: string | undefined;
|
|
1992
2015
|
icon?: string | undefined;
|
|
1993
2016
|
} | null | undefined;
|
|
2017
|
+
description?: string | undefined;
|
|
1994
2018
|
}>, {
|
|
1995
2019
|
config: {
|
|
1996
2020
|
question: string;
|
|
@@ -2005,8 +2029,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2005
2029
|
id: string;
|
|
2006
2030
|
src: string;
|
|
2007
2031
|
width?: number | undefined;
|
|
2008
|
-
height?: number | undefined;
|
|
2009
2032
|
alt?: string | undefined;
|
|
2033
|
+
height?: number | undefined;
|
|
2010
2034
|
}[] | undefined;
|
|
2011
2035
|
};
|
|
2012
2036
|
id: string;
|
|
@@ -2020,6 +2044,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2020
2044
|
} | undefined;
|
|
2021
2045
|
};
|
|
2022
2046
|
kind: "faq:question";
|
|
2047
|
+
title?: string | undefined;
|
|
2048
|
+
validation?: string[] | undefined;
|
|
2023
2049
|
triggerWhen?: {
|
|
2024
2050
|
type: "rules";
|
|
2025
2051
|
rules: {
|
|
@@ -2106,6 +2132,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2106
2132
|
body?: string | undefined;
|
|
2107
2133
|
icon?: string | undefined;
|
|
2108
2134
|
} | null | undefined;
|
|
2135
|
+
description?: string | undefined;
|
|
2109
2136
|
}, {
|
|
2110
2137
|
config: {
|
|
2111
2138
|
question: string;
|
|
@@ -2120,8 +2147,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2120
2147
|
id: string;
|
|
2121
2148
|
src: string;
|
|
2122
2149
|
width?: number | undefined;
|
|
2123
|
-
height?: number | undefined;
|
|
2124
2150
|
alt?: string | undefined;
|
|
2151
|
+
height?: number | undefined;
|
|
2125
2152
|
}[] | undefined;
|
|
2126
2153
|
};
|
|
2127
2154
|
id: string;
|
|
@@ -2135,6 +2162,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2135
2162
|
} | undefined;
|
|
2136
2163
|
};
|
|
2137
2164
|
kind: "faq:question";
|
|
2165
|
+
title?: string | undefined;
|
|
2166
|
+
validation?: string[] | undefined;
|
|
2138
2167
|
triggerWhen?: {
|
|
2139
2168
|
type: "rules";
|
|
2140
2169
|
rules: {
|
|
@@ -2221,6 +2250,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2221
2250
|
body?: string | undefined;
|
|
2222
2251
|
icon?: string | undefined;
|
|
2223
2252
|
} | null | undefined;
|
|
2253
|
+
description?: string | undefined;
|
|
2224
2254
|
}>, "many">>;
|
|
2225
2255
|
/** Feedback widget configuration */
|
|
2226
2256
|
feedback: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -2763,15 +2793,15 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2763
2793
|
id: string;
|
|
2764
2794
|
src: string;
|
|
2765
2795
|
width?: number | undefined;
|
|
2766
|
-
height?: number | undefined;
|
|
2767
2796
|
alt?: string | undefined;
|
|
2797
|
+
height?: number | undefined;
|
|
2768
2798
|
}, {
|
|
2769
2799
|
type: "image" | "video";
|
|
2770
2800
|
id: string;
|
|
2771
2801
|
src: string;
|
|
2772
2802
|
width?: number | undefined;
|
|
2773
|
-
height?: number | undefined;
|
|
2774
2803
|
alt?: string | undefined;
|
|
2804
|
+
height?: number | undefined;
|
|
2775
2805
|
}>, "many">>;
|
|
2776
2806
|
}, "strip", z.ZodTypeAny, {
|
|
2777
2807
|
type: "markdown";
|
|
@@ -2781,8 +2811,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2781
2811
|
id: string;
|
|
2782
2812
|
src: string;
|
|
2783
2813
|
width?: number | undefined;
|
|
2784
|
-
height?: number | undefined;
|
|
2785
2814
|
alt?: string | undefined;
|
|
2815
|
+
height?: number | undefined;
|
|
2786
2816
|
}[] | undefined;
|
|
2787
2817
|
}, {
|
|
2788
2818
|
type: "markdown";
|
|
@@ -2792,8 +2822,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2792
2822
|
id: string;
|
|
2793
2823
|
src: string;
|
|
2794
2824
|
width?: number | undefined;
|
|
2795
|
-
height?: number | undefined;
|
|
2796
2825
|
alt?: string | undefined;
|
|
2826
|
+
height?: number | undefined;
|
|
2797
2827
|
}[] | undefined;
|
|
2798
2828
|
}>]>;
|
|
2799
2829
|
/** Optional category for grouping */
|
|
@@ -2830,8 +2860,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2830
2860
|
id: string;
|
|
2831
2861
|
src: string;
|
|
2832
2862
|
width?: number | undefined;
|
|
2833
|
-
height?: number | undefined;
|
|
2834
2863
|
alt?: string | undefined;
|
|
2864
|
+
height?: number | undefined;
|
|
2835
2865
|
}[] | undefined;
|
|
2836
2866
|
};
|
|
2837
2867
|
id: string;
|
|
@@ -2856,8 +2886,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2856
2886
|
id: string;
|
|
2857
2887
|
src: string;
|
|
2858
2888
|
width?: number | undefined;
|
|
2859
|
-
height?: number | undefined;
|
|
2860
2889
|
alt?: string | undefined;
|
|
2890
|
+
height?: number | undefined;
|
|
2861
2891
|
}[] | undefined;
|
|
2862
2892
|
};
|
|
2863
2893
|
id: string;
|
|
@@ -3370,6 +3400,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3370
3400
|
body?: string | undefined;
|
|
3371
3401
|
icon?: string | undefined;
|
|
3372
3402
|
}>>>;
|
|
3403
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3404
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3405
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3373
3406
|
}, "strip", z.ZodTypeAny, {
|
|
3374
3407
|
config: {
|
|
3375
3408
|
question: string;
|
|
@@ -3384,8 +3417,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3384
3417
|
id: string;
|
|
3385
3418
|
src: string;
|
|
3386
3419
|
width?: number | undefined;
|
|
3387
|
-
height?: number | undefined;
|
|
3388
3420
|
alt?: string | undefined;
|
|
3421
|
+
height?: number | undefined;
|
|
3389
3422
|
}[] | undefined;
|
|
3390
3423
|
};
|
|
3391
3424
|
id: string;
|
|
@@ -3399,6 +3432,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3399
3432
|
} | undefined;
|
|
3400
3433
|
};
|
|
3401
3434
|
kind: "faq:question";
|
|
3435
|
+
title?: string | undefined;
|
|
3436
|
+
validation?: string[] | undefined;
|
|
3402
3437
|
triggerWhen?: {
|
|
3403
3438
|
type: "rules";
|
|
3404
3439
|
rules: {
|
|
@@ -3485,6 +3520,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3485
3520
|
body?: string | undefined;
|
|
3486
3521
|
icon?: string | undefined;
|
|
3487
3522
|
} | null | undefined;
|
|
3523
|
+
description?: string | undefined;
|
|
3488
3524
|
}, {
|
|
3489
3525
|
config: {
|
|
3490
3526
|
question: string;
|
|
@@ -3499,8 +3535,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3499
3535
|
id: string;
|
|
3500
3536
|
src: string;
|
|
3501
3537
|
width?: number | undefined;
|
|
3502
|
-
height?: number | undefined;
|
|
3503
3538
|
alt?: string | undefined;
|
|
3539
|
+
height?: number | undefined;
|
|
3504
3540
|
}[] | undefined;
|
|
3505
3541
|
};
|
|
3506
3542
|
id: string;
|
|
@@ -3514,6 +3550,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3514
3550
|
} | undefined;
|
|
3515
3551
|
};
|
|
3516
3552
|
kind: "faq:question";
|
|
3553
|
+
title?: string | undefined;
|
|
3554
|
+
validation?: string[] | undefined;
|
|
3517
3555
|
triggerWhen?: {
|
|
3518
3556
|
type: "rules";
|
|
3519
3557
|
rules: {
|
|
@@ -3600,6 +3638,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3600
3638
|
body?: string | undefined;
|
|
3601
3639
|
icon?: string | undefined;
|
|
3602
3640
|
} | null | undefined;
|
|
3641
|
+
description?: string | undefined;
|
|
3603
3642
|
}>, {
|
|
3604
3643
|
config: {
|
|
3605
3644
|
question: string;
|
|
@@ -3614,8 +3653,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3614
3653
|
id: string;
|
|
3615
3654
|
src: string;
|
|
3616
3655
|
width?: number | undefined;
|
|
3617
|
-
height?: number | undefined;
|
|
3618
3656
|
alt?: string | undefined;
|
|
3657
|
+
height?: number | undefined;
|
|
3619
3658
|
}[] | undefined;
|
|
3620
3659
|
};
|
|
3621
3660
|
id: string;
|
|
@@ -3629,6 +3668,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3629
3668
|
} | undefined;
|
|
3630
3669
|
};
|
|
3631
3670
|
kind: "faq:question";
|
|
3671
|
+
title?: string | undefined;
|
|
3672
|
+
validation?: string[] | undefined;
|
|
3632
3673
|
triggerWhen?: {
|
|
3633
3674
|
type: "rules";
|
|
3634
3675
|
rules: {
|
|
@@ -3715,6 +3756,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3715
3756
|
body?: string | undefined;
|
|
3716
3757
|
icon?: string | undefined;
|
|
3717
3758
|
} | null | undefined;
|
|
3759
|
+
description?: string | undefined;
|
|
3718
3760
|
}, {
|
|
3719
3761
|
config: {
|
|
3720
3762
|
question: string;
|
|
@@ -3729,8 +3771,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3729
3771
|
id: string;
|
|
3730
3772
|
src: string;
|
|
3731
3773
|
width?: number | undefined;
|
|
3732
|
-
height?: number | undefined;
|
|
3733
3774
|
alt?: string | undefined;
|
|
3775
|
+
height?: number | undefined;
|
|
3734
3776
|
}[] | undefined;
|
|
3735
3777
|
};
|
|
3736
3778
|
id: string;
|
|
@@ -3744,6 +3786,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3744
3786
|
} | undefined;
|
|
3745
3787
|
};
|
|
3746
3788
|
kind: "faq:question";
|
|
3789
|
+
title?: string | undefined;
|
|
3790
|
+
validation?: string[] | undefined;
|
|
3747
3791
|
triggerWhen?: {
|
|
3748
3792
|
type: "rules";
|
|
3749
3793
|
rules: {
|
|
@@ -3830,6 +3874,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3830
3874
|
body?: string | undefined;
|
|
3831
3875
|
icon?: string | undefined;
|
|
3832
3876
|
} | null | undefined;
|
|
3877
|
+
description?: string | undefined;
|
|
3833
3878
|
}>>, "many">;
|
|
3834
3879
|
position: z.ZodOptional<z.ZodEnum<["prepend", "append"]>>;
|
|
3835
3880
|
once: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3848,8 +3893,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3848
3893
|
id: string;
|
|
3849
3894
|
src: string;
|
|
3850
3895
|
width?: number | undefined;
|
|
3851
|
-
height?: number | undefined;
|
|
3852
3896
|
alt?: string | undefined;
|
|
3897
|
+
height?: number | undefined;
|
|
3853
3898
|
}[] | undefined;
|
|
3854
3899
|
};
|
|
3855
3900
|
id: string;
|
|
@@ -3863,6 +3908,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3863
3908
|
} | undefined;
|
|
3864
3909
|
};
|
|
3865
3910
|
kind: "faq:question";
|
|
3911
|
+
title?: string | undefined;
|
|
3912
|
+
validation?: string[] | undefined;
|
|
3866
3913
|
triggerWhen?: {
|
|
3867
3914
|
type: "rules";
|
|
3868
3915
|
rules: {
|
|
@@ -3949,6 +3996,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3949
3996
|
body?: string | undefined;
|
|
3950
3997
|
icon?: string | undefined;
|
|
3951
3998
|
} | null | undefined;
|
|
3999
|
+
description?: string | undefined;
|
|
3952
4000
|
}[];
|
|
3953
4001
|
trigger: {
|
|
3954
4002
|
type: "rules";
|
|
@@ -4048,8 +4096,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4048
4096
|
id: string;
|
|
4049
4097
|
src: string;
|
|
4050
4098
|
width?: number | undefined;
|
|
4051
|
-
height?: number | undefined;
|
|
4052
4099
|
alt?: string | undefined;
|
|
4100
|
+
height?: number | undefined;
|
|
4053
4101
|
}[] | undefined;
|
|
4054
4102
|
};
|
|
4055
4103
|
id: string;
|
|
@@ -4063,6 +4111,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4063
4111
|
} | undefined;
|
|
4064
4112
|
};
|
|
4065
4113
|
kind: "faq:question";
|
|
4114
|
+
title?: string | undefined;
|
|
4115
|
+
validation?: string[] | undefined;
|
|
4066
4116
|
triggerWhen?: {
|
|
4067
4117
|
type: "rules";
|
|
4068
4118
|
rules: {
|
|
@@ -4149,6 +4199,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4149
4199
|
body?: string | undefined;
|
|
4150
4200
|
icon?: string | undefined;
|
|
4151
4201
|
} | null | undefined;
|
|
4202
|
+
description?: string | undefined;
|
|
4152
4203
|
}[];
|
|
4153
4204
|
trigger: {
|
|
4154
4205
|
type: "rules";
|
|
@@ -4252,8 +4303,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4252
4303
|
id: string;
|
|
4253
4304
|
src: string;
|
|
4254
4305
|
width?: number | undefined;
|
|
4255
|
-
height?: number | undefined;
|
|
4256
4306
|
alt?: string | undefined;
|
|
4307
|
+
height?: number | undefined;
|
|
4257
4308
|
}[] | undefined;
|
|
4258
4309
|
};
|
|
4259
4310
|
id: string;
|
|
@@ -4267,6 +4318,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4267
4318
|
} | undefined;
|
|
4268
4319
|
};
|
|
4269
4320
|
kind: "faq:question";
|
|
4321
|
+
title?: string | undefined;
|
|
4322
|
+
validation?: string[] | undefined;
|
|
4270
4323
|
triggerWhen?: {
|
|
4271
4324
|
type: "rules";
|
|
4272
4325
|
rules: {
|
|
@@ -4353,7 +4406,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4353
4406
|
body?: string | undefined;
|
|
4354
4407
|
icon?: string | undefined;
|
|
4355
4408
|
} | null | undefined;
|
|
4409
|
+
description?: string | undefined;
|
|
4356
4410
|
}[];
|
|
4411
|
+
title?: string | undefined;
|
|
4357
4412
|
feedback?: boolean | {
|
|
4358
4413
|
style: "thumbs" | "rating";
|
|
4359
4414
|
prompt?: string | undefined;
|
|
@@ -4377,8 +4432,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4377
4432
|
id: string;
|
|
4378
4433
|
src: string;
|
|
4379
4434
|
width?: number | undefined;
|
|
4380
|
-
height?: number | undefined;
|
|
4381
4435
|
alt?: string | undefined;
|
|
4436
|
+
height?: number | undefined;
|
|
4382
4437
|
}[] | undefined;
|
|
4383
4438
|
};
|
|
4384
4439
|
id: string;
|
|
@@ -4392,6 +4447,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4392
4447
|
} | undefined;
|
|
4393
4448
|
};
|
|
4394
4449
|
kind: "faq:question";
|
|
4450
|
+
title?: string | undefined;
|
|
4451
|
+
validation?: string[] | undefined;
|
|
4395
4452
|
triggerWhen?: {
|
|
4396
4453
|
type: "rules";
|
|
4397
4454
|
rules: {
|
|
@@ -4478,6 +4535,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4478
4535
|
body?: string | undefined;
|
|
4479
4536
|
icon?: string | undefined;
|
|
4480
4537
|
} | null | undefined;
|
|
4538
|
+
description?: string | undefined;
|
|
4481
4539
|
}[];
|
|
4482
4540
|
trigger: {
|
|
4483
4541
|
type: "rules";
|
|
@@ -4563,9 +4621,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4563
4621
|
position?: "prepend" | "append" | undefined;
|
|
4564
4622
|
once?: boolean | undefined;
|
|
4565
4623
|
}[] | undefined;
|
|
4566
|
-
title?: string | undefined;
|
|
4567
4624
|
}, {
|
|
4568
4625
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
4626
|
+
title?: string | undefined;
|
|
4569
4627
|
searchable?: boolean | undefined;
|
|
4570
4628
|
expandBehavior?: "single" | "multiple" | undefined;
|
|
4571
4629
|
actions?: {
|
|
@@ -4582,8 +4640,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4582
4640
|
id: string;
|
|
4583
4641
|
src: string;
|
|
4584
4642
|
width?: number | undefined;
|
|
4585
|
-
height?: number | undefined;
|
|
4586
4643
|
alt?: string | undefined;
|
|
4644
|
+
height?: number | undefined;
|
|
4587
4645
|
}[] | undefined;
|
|
4588
4646
|
};
|
|
4589
4647
|
id: string;
|
|
@@ -4597,6 +4655,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4597
4655
|
} | undefined;
|
|
4598
4656
|
};
|
|
4599
4657
|
kind: "faq:question";
|
|
4658
|
+
title?: string | undefined;
|
|
4659
|
+
validation?: string[] | undefined;
|
|
4600
4660
|
triggerWhen?: {
|
|
4601
4661
|
type: "rules";
|
|
4602
4662
|
rules: {
|
|
@@ -4683,6 +4743,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4683
4743
|
body?: string | undefined;
|
|
4684
4744
|
icon?: string | undefined;
|
|
4685
4745
|
} | null | undefined;
|
|
4746
|
+
description?: string | undefined;
|
|
4686
4747
|
}[] | undefined;
|
|
4687
4748
|
feedback?: boolean | {
|
|
4688
4749
|
style: "thumbs" | "rating";
|
|
@@ -4707,8 +4768,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4707
4768
|
id: string;
|
|
4708
4769
|
src: string;
|
|
4709
4770
|
width?: number | undefined;
|
|
4710
|
-
height?: number | undefined;
|
|
4711
4771
|
alt?: string | undefined;
|
|
4772
|
+
height?: number | undefined;
|
|
4712
4773
|
}[] | undefined;
|
|
4713
4774
|
};
|
|
4714
4775
|
id: string;
|
|
@@ -4722,6 +4783,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4722
4783
|
} | undefined;
|
|
4723
4784
|
};
|
|
4724
4785
|
kind: "faq:question";
|
|
4786
|
+
title?: string | undefined;
|
|
4787
|
+
validation?: string[] | undefined;
|
|
4725
4788
|
triggerWhen?: {
|
|
4726
4789
|
type: "rules";
|
|
4727
4790
|
rules: {
|
|
@@ -4808,6 +4871,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4808
4871
|
body?: string | undefined;
|
|
4809
4872
|
icon?: string | undefined;
|
|
4810
4873
|
} | null | undefined;
|
|
4874
|
+
description?: string | undefined;
|
|
4811
4875
|
}[];
|
|
4812
4876
|
trigger: {
|
|
4813
4877
|
type: "rules";
|
|
@@ -4893,7 +4957,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4893
4957
|
position?: "prepend" | "append" | undefined;
|
|
4894
4958
|
once?: boolean | undefined;
|
|
4895
4959
|
}[] | undefined;
|
|
4896
|
-
title?: string | undefined;
|
|
4897
4960
|
}>;
|
|
4898
4961
|
export type FAQConfig = z.infer<typeof configSchema>;
|
|
4899
4962
|
/**
|
|
@@ -4906,28 +4969,43 @@ export declare const ScrollToFaqSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4906
4969
|
itemQuestion: z.ZodOptional<z.ZodString>;
|
|
4907
4970
|
expand: z.ZodOptional<z.ZodBoolean>;
|
|
4908
4971
|
behavior: z.ZodOptional<z.ZodEnum<["smooth", "instant", "auto"]>>;
|
|
4972
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4973
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4974
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4909
4975
|
}, "strip", z.ZodTypeAny, {
|
|
4910
4976
|
kind: "faq:scroll_to";
|
|
4911
4977
|
itemId?: string | undefined;
|
|
4978
|
+
title?: string | undefined;
|
|
4912
4979
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
4980
|
+
validation?: string[] | undefined;
|
|
4981
|
+
description?: string | undefined;
|
|
4913
4982
|
itemQuestion?: string | undefined;
|
|
4914
4983
|
expand?: boolean | undefined;
|
|
4915
4984
|
}, {
|
|
4916
4985
|
kind: "faq:scroll_to";
|
|
4917
4986
|
itemId?: string | undefined;
|
|
4987
|
+
title?: string | undefined;
|
|
4918
4988
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
4989
|
+
validation?: string[] | undefined;
|
|
4990
|
+
description?: string | undefined;
|
|
4919
4991
|
itemQuestion?: string | undefined;
|
|
4920
4992
|
expand?: boolean | undefined;
|
|
4921
4993
|
}>, {
|
|
4922
4994
|
kind: "faq:scroll_to";
|
|
4923
4995
|
itemId?: string | undefined;
|
|
4996
|
+
title?: string | undefined;
|
|
4924
4997
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
4998
|
+
validation?: string[] | undefined;
|
|
4999
|
+
description?: string | undefined;
|
|
4925
5000
|
itemQuestion?: string | undefined;
|
|
4926
5001
|
expand?: boolean | undefined;
|
|
4927
5002
|
}, {
|
|
4928
5003
|
kind: "faq:scroll_to";
|
|
4929
5004
|
itemId?: string | undefined;
|
|
5005
|
+
title?: string | undefined;
|
|
4930
5006
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
5007
|
+
validation?: string[] | undefined;
|
|
5008
|
+
description?: string | undefined;
|
|
4931
5009
|
itemQuestion?: string | undefined;
|
|
4932
5010
|
expand?: boolean | undefined;
|
|
4933
5011
|
}>;
|
|
@@ -4940,31 +5018,51 @@ export declare const ToggleFaqItemSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4940
5018
|
itemId: z.ZodOptional<z.ZodString>;
|
|
4941
5019
|
itemQuestion: z.ZodOptional<z.ZodString>;
|
|
4942
5020
|
state: z.ZodDefault<z.ZodEnum<["open", "closed", "toggle"]>>;
|
|
5021
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5022
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5023
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4943
5024
|
}, "strip", z.ZodTypeAny, {
|
|
4944
|
-
state: "open" | "closed" | "toggle";
|
|
4945
5025
|
kind: "faq:toggle_item";
|
|
5026
|
+
state: "open" | "closed" | "toggle";
|
|
4946
5027
|
itemId?: string | undefined;
|
|
5028
|
+
title?: string | undefined;
|
|
5029
|
+
validation?: string[] | undefined;
|
|
5030
|
+
description?: string | undefined;
|
|
4947
5031
|
itemQuestion?: string | undefined;
|
|
4948
5032
|
}, {
|
|
4949
5033
|
kind: "faq:toggle_item";
|
|
4950
5034
|
itemId?: string | undefined;
|
|
4951
|
-
|
|
5035
|
+
title?: string | undefined;
|
|
5036
|
+
validation?: string[] | undefined;
|
|
5037
|
+
description?: string | undefined;
|
|
4952
5038
|
itemQuestion?: string | undefined;
|
|
5039
|
+
state?: "open" | "closed" | "toggle" | undefined;
|
|
4953
5040
|
}>, {
|
|
4954
|
-
state: "open" | "closed" | "toggle";
|
|
4955
5041
|
kind: "faq:toggle_item";
|
|
5042
|
+
state: "open" | "closed" | "toggle";
|
|
4956
5043
|
itemId?: string | undefined;
|
|
5044
|
+
title?: string | undefined;
|
|
5045
|
+
validation?: string[] | undefined;
|
|
5046
|
+
description?: string | undefined;
|
|
4957
5047
|
itemQuestion?: string | undefined;
|
|
4958
5048
|
}, {
|
|
4959
5049
|
kind: "faq:toggle_item";
|
|
4960
5050
|
itemId?: string | undefined;
|
|
4961
|
-
|
|
5051
|
+
title?: string | undefined;
|
|
5052
|
+
validation?: string[] | undefined;
|
|
5053
|
+
description?: string | undefined;
|
|
4962
5054
|
itemQuestion?: string | undefined;
|
|
5055
|
+
state?: "open" | "closed" | "toggle" | undefined;
|
|
4963
5056
|
}>;
|
|
4964
5057
|
/**
|
|
4965
5058
|
* Schema for updating FAQ items (add, remove, reorder, replace).
|
|
5059
|
+
*
|
|
5060
|
+
* Per-operation field requirements are enforced via .superRefine() so the
|
|
5061
|
+
* validator rejects shapes that would silently no-op or destructively clear
|
|
5062
|
+
* the list at the executor level (e.g. `operation: 'reorder'` with no
|
|
5063
|
+
* `order` array would have wiped all items).
|
|
4966
5064
|
*/
|
|
4967
|
-
export declare const UpdateFaqSchema: z.ZodObject<{
|
|
5065
|
+
export declare const UpdateFaqSchema: z.ZodEffects<z.ZodObject<{
|
|
4968
5066
|
kind: z.ZodLiteral<"faq:update">;
|
|
4969
5067
|
operation: z.ZodEnum<["add", "remove", "reorder", "replace"]>;
|
|
4970
5068
|
items: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -4999,15 +5097,15 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
4999
5097
|
id: string;
|
|
5000
5098
|
src: string;
|
|
5001
5099
|
width?: number | undefined;
|
|
5002
|
-
height?: number | undefined;
|
|
5003
5100
|
alt?: string | undefined;
|
|
5101
|
+
height?: number | undefined;
|
|
5004
5102
|
}, {
|
|
5005
5103
|
type: "image" | "video";
|
|
5006
5104
|
id: string;
|
|
5007
5105
|
src: string;
|
|
5008
5106
|
width?: number | undefined;
|
|
5009
|
-
height?: number | undefined;
|
|
5010
5107
|
alt?: string | undefined;
|
|
5108
|
+
height?: number | undefined;
|
|
5011
5109
|
}>, "many">>;
|
|
5012
5110
|
}, "strip", z.ZodTypeAny, {
|
|
5013
5111
|
type: "markdown";
|
|
@@ -5017,8 +5115,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5017
5115
|
id: string;
|
|
5018
5116
|
src: string;
|
|
5019
5117
|
width?: number | undefined;
|
|
5020
|
-
height?: number | undefined;
|
|
5021
5118
|
alt?: string | undefined;
|
|
5119
|
+
height?: number | undefined;
|
|
5022
5120
|
}[] | undefined;
|
|
5023
5121
|
}, {
|
|
5024
5122
|
type: "markdown";
|
|
@@ -5028,8 +5126,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5028
5126
|
id: string;
|
|
5029
5127
|
src: string;
|
|
5030
5128
|
width?: number | undefined;
|
|
5031
|
-
height?: number | undefined;
|
|
5032
5129
|
alt?: string | undefined;
|
|
5130
|
+
height?: number | undefined;
|
|
5033
5131
|
}[] | undefined;
|
|
5034
5132
|
}>]>;
|
|
5035
5133
|
/** Optional category for grouping */
|
|
@@ -5066,8 +5164,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5066
5164
|
id: string;
|
|
5067
5165
|
src: string;
|
|
5068
5166
|
width?: number | undefined;
|
|
5069
|
-
height?: number | undefined;
|
|
5070
5167
|
alt?: string | undefined;
|
|
5168
|
+
height?: number | undefined;
|
|
5071
5169
|
}[] | undefined;
|
|
5072
5170
|
};
|
|
5073
5171
|
id: string;
|
|
@@ -5092,8 +5190,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5092
5190
|
id: string;
|
|
5093
5191
|
src: string;
|
|
5094
5192
|
width?: number | undefined;
|
|
5095
|
-
height?: number | undefined;
|
|
5096
5193
|
alt?: string | undefined;
|
|
5194
|
+
height?: number | undefined;
|
|
5097
5195
|
}[] | undefined;
|
|
5098
5196
|
};
|
|
5099
5197
|
id: string;
|
|
@@ -5605,8 +5703,247 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5605
5703
|
title?: string | undefined;
|
|
5606
5704
|
body?: string | undefined;
|
|
5607
5705
|
icon?: string | undefined;
|
|
5608
|
-
}>>>;
|
|
5609
|
-
|
|
5706
|
+
}>>>;
|
|
5707
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5708
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5709
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5710
|
+
}, "strip", z.ZodTypeAny, {
|
|
5711
|
+
config: {
|
|
5712
|
+
question: string;
|
|
5713
|
+
answer: string | {
|
|
5714
|
+
type: "rich";
|
|
5715
|
+
html: string;
|
|
5716
|
+
} | {
|
|
5717
|
+
type: "markdown";
|
|
5718
|
+
content: string;
|
|
5719
|
+
assets?: {
|
|
5720
|
+
type: "image" | "video";
|
|
5721
|
+
id: string;
|
|
5722
|
+
src: string;
|
|
5723
|
+
width?: number | undefined;
|
|
5724
|
+
alt?: string | undefined;
|
|
5725
|
+
height?: number | undefined;
|
|
5726
|
+
}[] | undefined;
|
|
5727
|
+
};
|
|
5728
|
+
id: string;
|
|
5729
|
+
priority?: number | undefined;
|
|
5730
|
+
category?: string | undefined;
|
|
5731
|
+
answerStrategy?: {
|
|
5732
|
+
endpoint: string;
|
|
5733
|
+
context?: string[] | undefined;
|
|
5734
|
+
cache?: "none" | "session" | undefined;
|
|
5735
|
+
fallback?: string | undefined;
|
|
5736
|
+
} | undefined;
|
|
5737
|
+
};
|
|
5738
|
+
kind: "faq:question";
|
|
5739
|
+
title?: string | undefined;
|
|
5740
|
+
validation?: string[] | undefined;
|
|
5741
|
+
triggerWhen?: {
|
|
5742
|
+
type: "rules";
|
|
5743
|
+
rules: {
|
|
5744
|
+
conditions: ({
|
|
5745
|
+
type: "page_url";
|
|
5746
|
+
url: string;
|
|
5747
|
+
} | {
|
|
5748
|
+
type: "route";
|
|
5749
|
+
routeId: string;
|
|
5750
|
+
} | {
|
|
5751
|
+
type: "anchor_visible";
|
|
5752
|
+
anchorId: string;
|
|
5753
|
+
state: "visible" | "present" | "absent";
|
|
5754
|
+
} | {
|
|
5755
|
+
type: "event_occurred";
|
|
5756
|
+
eventName: string;
|
|
5757
|
+
withinMs?: number | undefined;
|
|
5758
|
+
} | {
|
|
5759
|
+
type: "state_equals";
|
|
5760
|
+
key: string;
|
|
5761
|
+
value?: unknown;
|
|
5762
|
+
} | {
|
|
5763
|
+
type: "viewport";
|
|
5764
|
+
minWidth?: number | undefined;
|
|
5765
|
+
maxWidth?: number | undefined;
|
|
5766
|
+
minHeight?: number | undefined;
|
|
5767
|
+
maxHeight?: number | undefined;
|
|
5768
|
+
} | {
|
|
5769
|
+
type: "session_metric";
|
|
5770
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
5771
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5772
|
+
threshold: number;
|
|
5773
|
+
} | {
|
|
5774
|
+
type: "dismissed";
|
|
5775
|
+
key: string;
|
|
5776
|
+
inverted?: boolean | undefined;
|
|
5777
|
+
} | {
|
|
5778
|
+
type: "cooldown_active";
|
|
5779
|
+
key: string;
|
|
5780
|
+
inverted?: boolean | undefined;
|
|
5781
|
+
} | {
|
|
5782
|
+
type: "frequency_limit";
|
|
5783
|
+
key: string;
|
|
5784
|
+
limit: number;
|
|
5785
|
+
inverted?: boolean | undefined;
|
|
5786
|
+
} | {
|
|
5787
|
+
type: "event_count";
|
|
5788
|
+
key: string;
|
|
5789
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5790
|
+
count: number;
|
|
5791
|
+
withinMs?: number | undefined;
|
|
5792
|
+
counter?: {
|
|
5793
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
5794
|
+
match?: Record<string, {
|
|
5795
|
+
equals?: string | number | boolean | undefined;
|
|
5796
|
+
contains?: string | undefined;
|
|
5797
|
+
}> | undefined;
|
|
5798
|
+
} | undefined;
|
|
5799
|
+
})[];
|
|
5800
|
+
value?: unknown;
|
|
5801
|
+
}[];
|
|
5802
|
+
default?: unknown;
|
|
5803
|
+
} | {
|
|
5804
|
+
type: "score";
|
|
5805
|
+
threshold: number;
|
|
5806
|
+
field: string;
|
|
5807
|
+
above?: unknown;
|
|
5808
|
+
below?: unknown;
|
|
5809
|
+
} | {
|
|
5810
|
+
type: "model";
|
|
5811
|
+
modelId: string;
|
|
5812
|
+
inputs: string[];
|
|
5813
|
+
outputMapping: Record<string, unknown>;
|
|
5814
|
+
default?: unknown;
|
|
5815
|
+
} | {
|
|
5816
|
+
type: "external";
|
|
5817
|
+
endpoint: string;
|
|
5818
|
+
default?: unknown;
|
|
5819
|
+
method?: "GET" | "POST" | undefined;
|
|
5820
|
+
timeoutMs?: number | undefined;
|
|
5821
|
+
} | null | undefined;
|
|
5822
|
+
notify?: {
|
|
5823
|
+
title?: string | undefined;
|
|
5824
|
+
body?: string | undefined;
|
|
5825
|
+
icon?: string | undefined;
|
|
5826
|
+
} | null | undefined;
|
|
5827
|
+
description?: string | undefined;
|
|
5828
|
+
}, {
|
|
5829
|
+
config: {
|
|
5830
|
+
question: string;
|
|
5831
|
+
answer: string | {
|
|
5832
|
+
type: "rich";
|
|
5833
|
+
html: string;
|
|
5834
|
+
} | {
|
|
5835
|
+
type: "markdown";
|
|
5836
|
+
content: string;
|
|
5837
|
+
assets?: {
|
|
5838
|
+
type: "image" | "video";
|
|
5839
|
+
id: string;
|
|
5840
|
+
src: string;
|
|
5841
|
+
width?: number | undefined;
|
|
5842
|
+
alt?: string | undefined;
|
|
5843
|
+
height?: number | undefined;
|
|
5844
|
+
}[] | undefined;
|
|
5845
|
+
};
|
|
5846
|
+
id: string;
|
|
5847
|
+
priority?: number | undefined;
|
|
5848
|
+
category?: string | undefined;
|
|
5849
|
+
answerStrategy?: {
|
|
5850
|
+
endpoint: string;
|
|
5851
|
+
context?: string[] | undefined;
|
|
5852
|
+
cache?: "none" | "session" | undefined;
|
|
5853
|
+
fallback?: string | undefined;
|
|
5854
|
+
} | undefined;
|
|
5855
|
+
};
|
|
5856
|
+
kind: "faq:question";
|
|
5857
|
+
title?: string | undefined;
|
|
5858
|
+
validation?: string[] | undefined;
|
|
5859
|
+
triggerWhen?: {
|
|
5860
|
+
type: "rules";
|
|
5861
|
+
rules: {
|
|
5862
|
+
conditions: ({
|
|
5863
|
+
type: "page_url";
|
|
5864
|
+
url: string;
|
|
5865
|
+
} | {
|
|
5866
|
+
type: "route";
|
|
5867
|
+
routeId: string;
|
|
5868
|
+
} | {
|
|
5869
|
+
type: "anchor_visible";
|
|
5870
|
+
anchorId: string;
|
|
5871
|
+
state: "visible" | "present" | "absent";
|
|
5872
|
+
} | {
|
|
5873
|
+
type: "event_occurred";
|
|
5874
|
+
eventName: string;
|
|
5875
|
+
withinMs?: number | undefined;
|
|
5876
|
+
} | {
|
|
5877
|
+
type: "state_equals";
|
|
5878
|
+
key: string;
|
|
5879
|
+
value?: unknown;
|
|
5880
|
+
} | {
|
|
5881
|
+
type: "viewport";
|
|
5882
|
+
minWidth?: number | undefined;
|
|
5883
|
+
maxWidth?: number | undefined;
|
|
5884
|
+
minHeight?: number | undefined;
|
|
5885
|
+
maxHeight?: number | undefined;
|
|
5886
|
+
} | {
|
|
5887
|
+
type: "session_metric";
|
|
5888
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
5889
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5890
|
+
threshold: number;
|
|
5891
|
+
} | {
|
|
5892
|
+
type: "dismissed";
|
|
5893
|
+
key: string;
|
|
5894
|
+
inverted?: boolean | undefined;
|
|
5895
|
+
} | {
|
|
5896
|
+
type: "cooldown_active";
|
|
5897
|
+
key: string;
|
|
5898
|
+
inverted?: boolean | undefined;
|
|
5899
|
+
} | {
|
|
5900
|
+
type: "frequency_limit";
|
|
5901
|
+
key: string;
|
|
5902
|
+
limit: number;
|
|
5903
|
+
inverted?: boolean | undefined;
|
|
5904
|
+
} | {
|
|
5905
|
+
type: "event_count";
|
|
5906
|
+
key: string;
|
|
5907
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
5908
|
+
count: number;
|
|
5909
|
+
withinMs?: number | undefined;
|
|
5910
|
+
counter?: {
|
|
5911
|
+
events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
|
|
5912
|
+
match?: Record<string, {
|
|
5913
|
+
equals?: string | number | boolean | undefined;
|
|
5914
|
+
contains?: string | undefined;
|
|
5915
|
+
}> | undefined;
|
|
5916
|
+
} | undefined;
|
|
5917
|
+
})[];
|
|
5918
|
+
value?: unknown;
|
|
5919
|
+
}[];
|
|
5920
|
+
default?: unknown;
|
|
5921
|
+
} | {
|
|
5922
|
+
type: "score";
|
|
5923
|
+
threshold: number;
|
|
5924
|
+
field: string;
|
|
5925
|
+
above?: unknown;
|
|
5926
|
+
below?: unknown;
|
|
5927
|
+
} | {
|
|
5928
|
+
type: "model";
|
|
5929
|
+
modelId: string;
|
|
5930
|
+
inputs: string[];
|
|
5931
|
+
outputMapping: Record<string, unknown>;
|
|
5932
|
+
default?: unknown;
|
|
5933
|
+
} | {
|
|
5934
|
+
type: "external";
|
|
5935
|
+
endpoint: string;
|
|
5936
|
+
default?: unknown;
|
|
5937
|
+
method?: "GET" | "POST" | undefined;
|
|
5938
|
+
timeoutMs?: number | undefined;
|
|
5939
|
+
} | null | undefined;
|
|
5940
|
+
notify?: {
|
|
5941
|
+
title?: string | undefined;
|
|
5942
|
+
body?: string | undefined;
|
|
5943
|
+
icon?: string | undefined;
|
|
5944
|
+
} | null | undefined;
|
|
5945
|
+
description?: string | undefined;
|
|
5946
|
+
}>, {
|
|
5610
5947
|
config: {
|
|
5611
5948
|
question: string;
|
|
5612
5949
|
answer: string | {
|
|
@@ -5620,8 +5957,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5620
5957
|
id: string;
|
|
5621
5958
|
src: string;
|
|
5622
5959
|
width?: number | undefined;
|
|
5623
|
-
height?: number | undefined;
|
|
5624
5960
|
alt?: string | undefined;
|
|
5961
|
+
height?: number | undefined;
|
|
5625
5962
|
}[] | undefined;
|
|
5626
5963
|
};
|
|
5627
5964
|
id: string;
|
|
@@ -5635,6 +5972,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5635
5972
|
} | undefined;
|
|
5636
5973
|
};
|
|
5637
5974
|
kind: "faq:question";
|
|
5975
|
+
title?: string | undefined;
|
|
5976
|
+
validation?: string[] | undefined;
|
|
5638
5977
|
triggerWhen?: {
|
|
5639
5978
|
type: "rules";
|
|
5640
5979
|
rules: {
|
|
@@ -5721,6 +6060,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5721
6060
|
body?: string | undefined;
|
|
5722
6061
|
icon?: string | undefined;
|
|
5723
6062
|
} | null | undefined;
|
|
6063
|
+
description?: string | undefined;
|
|
5724
6064
|
}, {
|
|
5725
6065
|
config: {
|
|
5726
6066
|
question: string;
|
|
@@ -5735,8 +6075,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5735
6075
|
id: string;
|
|
5736
6076
|
src: string;
|
|
5737
6077
|
width?: number | undefined;
|
|
5738
|
-
height?: number | undefined;
|
|
5739
6078
|
alt?: string | undefined;
|
|
6079
|
+
height?: number | undefined;
|
|
5740
6080
|
}[] | undefined;
|
|
5741
6081
|
};
|
|
5742
6082
|
id: string;
|
|
@@ -5750,6 +6090,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5750
6090
|
} | undefined;
|
|
5751
6091
|
};
|
|
5752
6092
|
kind: "faq:question";
|
|
6093
|
+
title?: string | undefined;
|
|
6094
|
+
validation?: string[] | undefined;
|
|
5753
6095
|
triggerWhen?: {
|
|
5754
6096
|
type: "rules";
|
|
5755
6097
|
rules: {
|
|
@@ -5836,7 +6178,28 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5836
6178
|
body?: string | undefined;
|
|
5837
6179
|
icon?: string | undefined;
|
|
5838
6180
|
} | null | undefined;
|
|
5839
|
-
|
|
6181
|
+
description?: string | undefined;
|
|
6182
|
+
}>, "many">>;
|
|
6183
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
6184
|
+
order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6185
|
+
position: z.ZodOptional<z.ZodEnum<["prepend", "append", "before", "after"]>>;
|
|
6186
|
+
anchorId: z.ZodOptional<z.ZodObject<{
|
|
6187
|
+
selector: z.ZodString;
|
|
6188
|
+
route: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
6189
|
+
}, "strict", z.ZodTypeAny, {
|
|
6190
|
+
selector: string;
|
|
6191
|
+
route: string | string[];
|
|
6192
|
+
}, {
|
|
6193
|
+
selector: string;
|
|
6194
|
+
route: string | string[];
|
|
6195
|
+
}>>;
|
|
6196
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6198
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6199
|
+
}, "strip", z.ZodTypeAny, {
|
|
6200
|
+
operation: "add" | "remove" | "reorder" | "replace";
|
|
6201
|
+
kind: "faq:update";
|
|
6202
|
+
items?: {
|
|
5840
6203
|
config: {
|
|
5841
6204
|
question: string;
|
|
5842
6205
|
answer: string | {
|
|
@@ -5850,8 +6213,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5850
6213
|
id: string;
|
|
5851
6214
|
src: string;
|
|
5852
6215
|
width?: number | undefined;
|
|
5853
|
-
height?: number | undefined;
|
|
5854
6216
|
alt?: string | undefined;
|
|
6217
|
+
height?: number | undefined;
|
|
5855
6218
|
}[] | undefined;
|
|
5856
6219
|
};
|
|
5857
6220
|
id: string;
|
|
@@ -5865,6 +6228,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5865
6228
|
} | undefined;
|
|
5866
6229
|
};
|
|
5867
6230
|
kind: "faq:question";
|
|
6231
|
+
title?: string | undefined;
|
|
6232
|
+
validation?: string[] | undefined;
|
|
5868
6233
|
triggerWhen?: {
|
|
5869
6234
|
type: "rules";
|
|
5870
6235
|
rules: {
|
|
@@ -5951,7 +6316,22 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5951
6316
|
body?: string | undefined;
|
|
5952
6317
|
icon?: string | undefined;
|
|
5953
6318
|
} | null | undefined;
|
|
5954
|
-
|
|
6319
|
+
description?: string | undefined;
|
|
6320
|
+
}[] | undefined;
|
|
6321
|
+
itemId?: string | undefined;
|
|
6322
|
+
title?: string | undefined;
|
|
6323
|
+
validation?: string[] | undefined;
|
|
6324
|
+
description?: string | undefined;
|
|
6325
|
+
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6326
|
+
order?: string[] | undefined;
|
|
6327
|
+
anchorId?: {
|
|
6328
|
+
selector: string;
|
|
6329
|
+
route: string | string[];
|
|
6330
|
+
} | undefined;
|
|
6331
|
+
}, {
|
|
6332
|
+
operation: "add" | "remove" | "reorder" | "replace";
|
|
6333
|
+
kind: "faq:update";
|
|
6334
|
+
items?: {
|
|
5955
6335
|
config: {
|
|
5956
6336
|
question: string;
|
|
5957
6337
|
answer: string | {
|
|
@@ -5965,8 +6345,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5965
6345
|
id: string;
|
|
5966
6346
|
src: string;
|
|
5967
6347
|
width?: number | undefined;
|
|
5968
|
-
height?: number | undefined;
|
|
5969
6348
|
alt?: string | undefined;
|
|
6349
|
+
height?: number | undefined;
|
|
5970
6350
|
}[] | undefined;
|
|
5971
6351
|
};
|
|
5972
6352
|
id: string;
|
|
@@ -5980,6 +6360,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5980
6360
|
} | undefined;
|
|
5981
6361
|
};
|
|
5982
6362
|
kind: "faq:question";
|
|
6363
|
+
title?: string | undefined;
|
|
6364
|
+
validation?: string[] | undefined;
|
|
5983
6365
|
triggerWhen?: {
|
|
5984
6366
|
type: "rules";
|
|
5985
6367
|
rules: {
|
|
@@ -6066,24 +6448,21 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6066
6448
|
body?: string | undefined;
|
|
6067
6449
|
icon?: string | undefined;
|
|
6068
6450
|
} | null | undefined;
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
route: string | string[];
|
|
6079
|
-
}, {
|
|
6451
|
+
description?: string | undefined;
|
|
6452
|
+
}[] | undefined;
|
|
6453
|
+
itemId?: string | undefined;
|
|
6454
|
+
title?: string | undefined;
|
|
6455
|
+
validation?: string[] | undefined;
|
|
6456
|
+
description?: string | undefined;
|
|
6457
|
+
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6458
|
+
order?: string[] | undefined;
|
|
6459
|
+
anchorId?: {
|
|
6080
6460
|
selector: string;
|
|
6081
6461
|
route: string | string[];
|
|
6082
|
-
}
|
|
6083
|
-
}
|
|
6462
|
+
} | undefined;
|
|
6463
|
+
}>, {
|
|
6084
6464
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
6085
6465
|
kind: "faq:update";
|
|
6086
|
-
itemId?: string | undefined;
|
|
6087
6466
|
items?: {
|
|
6088
6467
|
config: {
|
|
6089
6468
|
question: string;
|
|
@@ -6098,8 +6477,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6098
6477
|
id: string;
|
|
6099
6478
|
src: string;
|
|
6100
6479
|
width?: number | undefined;
|
|
6101
|
-
height?: number | undefined;
|
|
6102
6480
|
alt?: string | undefined;
|
|
6481
|
+
height?: number | undefined;
|
|
6103
6482
|
}[] | undefined;
|
|
6104
6483
|
};
|
|
6105
6484
|
id: string;
|
|
@@ -6113,6 +6492,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6113
6492
|
} | undefined;
|
|
6114
6493
|
};
|
|
6115
6494
|
kind: "faq:question";
|
|
6495
|
+
title?: string | undefined;
|
|
6496
|
+
validation?: string[] | undefined;
|
|
6116
6497
|
triggerWhen?: {
|
|
6117
6498
|
type: "rules";
|
|
6118
6499
|
rules: {
|
|
@@ -6199,17 +6580,21 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6199
6580
|
body?: string | undefined;
|
|
6200
6581
|
icon?: string | undefined;
|
|
6201
6582
|
} | null | undefined;
|
|
6583
|
+
description?: string | undefined;
|
|
6202
6584
|
}[] | undefined;
|
|
6585
|
+
itemId?: string | undefined;
|
|
6586
|
+
title?: string | undefined;
|
|
6587
|
+
validation?: string[] | undefined;
|
|
6588
|
+
description?: string | undefined;
|
|
6203
6589
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6590
|
+
order?: string[] | undefined;
|
|
6204
6591
|
anchorId?: {
|
|
6205
6592
|
selector: string;
|
|
6206
6593
|
route: string | string[];
|
|
6207
6594
|
} | undefined;
|
|
6208
|
-
order?: string[] | undefined;
|
|
6209
6595
|
}, {
|
|
6210
6596
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
6211
6597
|
kind: "faq:update";
|
|
6212
|
-
itemId?: string | undefined;
|
|
6213
6598
|
items?: {
|
|
6214
6599
|
config: {
|
|
6215
6600
|
question: string;
|
|
@@ -6224,8 +6609,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6224
6609
|
id: string;
|
|
6225
6610
|
src: string;
|
|
6226
6611
|
width?: number | undefined;
|
|
6227
|
-
height?: number | undefined;
|
|
6228
6612
|
alt?: string | undefined;
|
|
6613
|
+
height?: number | undefined;
|
|
6229
6614
|
}[] | undefined;
|
|
6230
6615
|
};
|
|
6231
6616
|
id: string;
|
|
@@ -6239,6 +6624,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6239
6624
|
} | undefined;
|
|
6240
6625
|
};
|
|
6241
6626
|
kind: "faq:question";
|
|
6627
|
+
title?: string | undefined;
|
|
6628
|
+
validation?: string[] | undefined;
|
|
6242
6629
|
triggerWhen?: {
|
|
6243
6630
|
type: "rules";
|
|
6244
6631
|
rules: {
|
|
@@ -6325,13 +6712,18 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6325
6712
|
body?: string | undefined;
|
|
6326
6713
|
icon?: string | undefined;
|
|
6327
6714
|
} | null | undefined;
|
|
6715
|
+
description?: string | undefined;
|
|
6328
6716
|
}[] | undefined;
|
|
6717
|
+
itemId?: string | undefined;
|
|
6718
|
+
title?: string | undefined;
|
|
6719
|
+
validation?: string[] | undefined;
|
|
6720
|
+
description?: string | undefined;
|
|
6329
6721
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6722
|
+
order?: string[] | undefined;
|
|
6330
6723
|
anchorId?: {
|
|
6331
6724
|
selector: string;
|
|
6332
6725
|
route: string | string[];
|
|
6333
6726
|
} | undefined;
|
|
6334
|
-
order?: string[] | undefined;
|
|
6335
6727
|
}>;
|
|
6336
6728
|
/**
|
|
6337
6729
|
* Validate a FAQ question action.
|
|
@@ -6350,8 +6742,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6350
6742
|
id: string;
|
|
6351
6743
|
src: string;
|
|
6352
6744
|
width?: number | undefined;
|
|
6353
|
-
height?: number | undefined;
|
|
6354
6745
|
alt?: string | undefined;
|
|
6746
|
+
height?: number | undefined;
|
|
6355
6747
|
}[] | undefined;
|
|
6356
6748
|
};
|
|
6357
6749
|
id: string;
|
|
@@ -6365,6 +6757,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6365
6757
|
} | undefined;
|
|
6366
6758
|
};
|
|
6367
6759
|
kind: "faq:question";
|
|
6760
|
+
title?: string | undefined;
|
|
6761
|
+
validation?: string[] | undefined;
|
|
6368
6762
|
triggerWhen?: {
|
|
6369
6763
|
type: "rules";
|
|
6370
6764
|
rules: {
|
|
@@ -6451,6 +6845,7 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6451
6845
|
body?: string | undefined;
|
|
6452
6846
|
icon?: string | undefined;
|
|
6453
6847
|
} | null | undefined;
|
|
6848
|
+
description?: string | undefined;
|
|
6454
6849
|
}, {
|
|
6455
6850
|
config: {
|
|
6456
6851
|
question: string;
|
|
@@ -6465,8 +6860,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6465
6860
|
id: string;
|
|
6466
6861
|
src: string;
|
|
6467
6862
|
width?: number | undefined;
|
|
6468
|
-
height?: number | undefined;
|
|
6469
6863
|
alt?: string | undefined;
|
|
6864
|
+
height?: number | undefined;
|
|
6470
6865
|
}[] | undefined;
|
|
6471
6866
|
};
|
|
6472
6867
|
id: string;
|
|
@@ -6480,6 +6875,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6480
6875
|
} | undefined;
|
|
6481
6876
|
};
|
|
6482
6877
|
kind: "faq:question";
|
|
6878
|
+
title?: string | undefined;
|
|
6879
|
+
validation?: string[] | undefined;
|
|
6483
6880
|
triggerWhen?: {
|
|
6484
6881
|
type: "rules";
|
|
6485
6882
|
rules: {
|
|
@@ -6566,12 +6963,14 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6566
6963
|
body?: string | undefined;
|
|
6567
6964
|
icon?: string | undefined;
|
|
6568
6965
|
} | null | undefined;
|
|
6966
|
+
description?: string | undefined;
|
|
6569
6967
|
}>;
|
|
6570
6968
|
/**
|
|
6571
6969
|
* Validate the full FAQ config.
|
|
6572
6970
|
*/
|
|
6573
6971
|
export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<{
|
|
6574
6972
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
6973
|
+
title?: string | undefined;
|
|
6575
6974
|
searchable?: boolean | undefined;
|
|
6576
6975
|
expandBehavior?: "single" | "multiple" | undefined;
|
|
6577
6976
|
actions?: {
|
|
@@ -6588,8 +6987,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6588
6987
|
id: string;
|
|
6589
6988
|
src: string;
|
|
6590
6989
|
width?: number | undefined;
|
|
6591
|
-
height?: number | undefined;
|
|
6592
6990
|
alt?: string | undefined;
|
|
6991
|
+
height?: number | undefined;
|
|
6593
6992
|
}[] | undefined;
|
|
6594
6993
|
};
|
|
6595
6994
|
id: string;
|
|
@@ -6603,6 +7002,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6603
7002
|
} | undefined;
|
|
6604
7003
|
};
|
|
6605
7004
|
kind: "faq:question";
|
|
7005
|
+
title?: string | undefined;
|
|
7006
|
+
validation?: string[] | undefined;
|
|
6606
7007
|
triggerWhen?: {
|
|
6607
7008
|
type: "rules";
|
|
6608
7009
|
rules: {
|
|
@@ -6689,6 +7090,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6689
7090
|
body?: string | undefined;
|
|
6690
7091
|
icon?: string | undefined;
|
|
6691
7092
|
} | null | undefined;
|
|
7093
|
+
description?: string | undefined;
|
|
6692
7094
|
}[] | undefined;
|
|
6693
7095
|
feedback?: boolean | {
|
|
6694
7096
|
style: "thumbs" | "rating";
|
|
@@ -6713,8 +7115,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6713
7115
|
id: string;
|
|
6714
7116
|
src: string;
|
|
6715
7117
|
width?: number | undefined;
|
|
6716
|
-
height?: number | undefined;
|
|
6717
7118
|
alt?: string | undefined;
|
|
7119
|
+
height?: number | undefined;
|
|
6718
7120
|
}[] | undefined;
|
|
6719
7121
|
};
|
|
6720
7122
|
id: string;
|
|
@@ -6728,6 +7130,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6728
7130
|
} | undefined;
|
|
6729
7131
|
};
|
|
6730
7132
|
kind: "faq:question";
|
|
7133
|
+
title?: string | undefined;
|
|
7134
|
+
validation?: string[] | undefined;
|
|
6731
7135
|
triggerWhen?: {
|
|
6732
7136
|
type: "rules";
|
|
6733
7137
|
rules: {
|
|
@@ -6814,6 +7218,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6814
7218
|
body?: string | undefined;
|
|
6815
7219
|
icon?: string | undefined;
|
|
6816
7220
|
} | null | undefined;
|
|
7221
|
+
description?: string | undefined;
|
|
6817
7222
|
}[];
|
|
6818
7223
|
trigger: {
|
|
6819
7224
|
type: "rules";
|
|
@@ -6899,7 +7304,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6899
7304
|
position?: "prepend" | "append" | undefined;
|
|
6900
7305
|
once?: boolean | undefined;
|
|
6901
7306
|
}[] | undefined;
|
|
6902
|
-
title?: string | undefined;
|
|
6903
7307
|
}, {
|
|
6904
7308
|
theme: "light" | "dark" | "auto";
|
|
6905
7309
|
searchable: boolean;
|
|
@@ -6918,8 +7322,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6918
7322
|
id: string;
|
|
6919
7323
|
src: string;
|
|
6920
7324
|
width?: number | undefined;
|
|
6921
|
-
height?: number | undefined;
|
|
6922
7325
|
alt?: string | undefined;
|
|
7326
|
+
height?: number | undefined;
|
|
6923
7327
|
}[] | undefined;
|
|
6924
7328
|
};
|
|
6925
7329
|
id: string;
|
|
@@ -6933,6 +7337,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6933
7337
|
} | undefined;
|
|
6934
7338
|
};
|
|
6935
7339
|
kind: "faq:question";
|
|
7340
|
+
title?: string | undefined;
|
|
7341
|
+
validation?: string[] | undefined;
|
|
6936
7342
|
triggerWhen?: {
|
|
6937
7343
|
type: "rules";
|
|
6938
7344
|
rules: {
|
|
@@ -7019,7 +7425,9 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7019
7425
|
body?: string | undefined;
|
|
7020
7426
|
icon?: string | undefined;
|
|
7021
7427
|
} | null | undefined;
|
|
7428
|
+
description?: string | undefined;
|
|
7022
7429
|
}[];
|
|
7430
|
+
title?: string | undefined;
|
|
7023
7431
|
feedback?: boolean | {
|
|
7024
7432
|
style: "thumbs" | "rating";
|
|
7025
7433
|
prompt?: string | undefined;
|
|
@@ -7043,8 +7451,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7043
7451
|
id: string;
|
|
7044
7452
|
src: string;
|
|
7045
7453
|
width?: number | undefined;
|
|
7046
|
-
height?: number | undefined;
|
|
7047
7454
|
alt?: string | undefined;
|
|
7455
|
+
height?: number | undefined;
|
|
7048
7456
|
}[] | undefined;
|
|
7049
7457
|
};
|
|
7050
7458
|
id: string;
|
|
@@ -7058,6 +7466,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7058
7466
|
} | undefined;
|
|
7059
7467
|
};
|
|
7060
7468
|
kind: "faq:question";
|
|
7469
|
+
title?: string | undefined;
|
|
7470
|
+
validation?: string[] | undefined;
|
|
7061
7471
|
triggerWhen?: {
|
|
7062
7472
|
type: "rules";
|
|
7063
7473
|
rules: {
|
|
@@ -7144,6 +7554,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7144
7554
|
body?: string | undefined;
|
|
7145
7555
|
icon?: string | undefined;
|
|
7146
7556
|
} | null | undefined;
|
|
7557
|
+
description?: string | undefined;
|
|
7147
7558
|
}[];
|
|
7148
7559
|
trigger: {
|
|
7149
7560
|
type: "rules";
|
|
@@ -7229,7 +7640,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7229
7640
|
position?: "prepend" | "append" | undefined;
|
|
7230
7641
|
once?: boolean | undefined;
|
|
7231
7642
|
}[] | undefined;
|
|
7232
|
-
title?: string | undefined;
|
|
7233
7643
|
}>;
|
|
7234
7644
|
/**
|
|
7235
7645
|
* Action step schemas for unified JSON Schema generation.
|
|
@@ -7273,15 +7683,15 @@ export declare const actionStepSchemas: ({
|
|
|
7273
7683
|
id: string;
|
|
7274
7684
|
src: string;
|
|
7275
7685
|
width?: number | undefined;
|
|
7276
|
-
height?: number | undefined;
|
|
7277
7686
|
alt?: string | undefined;
|
|
7687
|
+
height?: number | undefined;
|
|
7278
7688
|
}, {
|
|
7279
7689
|
type: "image" | "video";
|
|
7280
7690
|
id: string;
|
|
7281
7691
|
src: string;
|
|
7282
7692
|
width?: number | undefined;
|
|
7283
|
-
height?: number | undefined;
|
|
7284
7693
|
alt?: string | undefined;
|
|
7694
|
+
height?: number | undefined;
|
|
7285
7695
|
}>, "many">>;
|
|
7286
7696
|
}, "strip", z.ZodTypeAny, {
|
|
7287
7697
|
type: "markdown";
|
|
@@ -7291,8 +7701,8 @@ export declare const actionStepSchemas: ({
|
|
|
7291
7701
|
id: string;
|
|
7292
7702
|
src: string;
|
|
7293
7703
|
width?: number | undefined;
|
|
7294
|
-
height?: number | undefined;
|
|
7295
7704
|
alt?: string | undefined;
|
|
7705
|
+
height?: number | undefined;
|
|
7296
7706
|
}[] | undefined;
|
|
7297
7707
|
}, {
|
|
7298
7708
|
type: "markdown";
|
|
@@ -7302,8 +7712,8 @@ export declare const actionStepSchemas: ({
|
|
|
7302
7712
|
id: string;
|
|
7303
7713
|
src: string;
|
|
7304
7714
|
width?: number | undefined;
|
|
7305
|
-
height?: number | undefined;
|
|
7306
7715
|
alt?: string | undefined;
|
|
7716
|
+
height?: number | undefined;
|
|
7307
7717
|
}[] | undefined;
|
|
7308
7718
|
}>]>;
|
|
7309
7719
|
/** Optional category for grouping */
|
|
@@ -7340,8 +7750,8 @@ export declare const actionStepSchemas: ({
|
|
|
7340
7750
|
id: string;
|
|
7341
7751
|
src: string;
|
|
7342
7752
|
width?: number | undefined;
|
|
7343
|
-
height?: number | undefined;
|
|
7344
7753
|
alt?: string | undefined;
|
|
7754
|
+
height?: number | undefined;
|
|
7345
7755
|
}[] | undefined;
|
|
7346
7756
|
};
|
|
7347
7757
|
id: string;
|
|
@@ -7366,8 +7776,8 @@ export declare const actionStepSchemas: ({
|
|
|
7366
7776
|
id: string;
|
|
7367
7777
|
src: string;
|
|
7368
7778
|
width?: number | undefined;
|
|
7369
|
-
height?: number | undefined;
|
|
7370
7779
|
alt?: string | undefined;
|
|
7780
|
+
height?: number | undefined;
|
|
7371
7781
|
}[] | undefined;
|
|
7372
7782
|
};
|
|
7373
7783
|
id: string;
|
|
@@ -7880,6 +8290,9 @@ export declare const actionStepSchemas: ({
|
|
|
7880
8290
|
body?: string | undefined;
|
|
7881
8291
|
icon?: string | undefined;
|
|
7882
8292
|
}>>>;
|
|
8293
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8294
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8295
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7883
8296
|
}, "strip", z.ZodTypeAny, {
|
|
7884
8297
|
config: {
|
|
7885
8298
|
question: string;
|
|
@@ -7894,8 +8307,8 @@ export declare const actionStepSchemas: ({
|
|
|
7894
8307
|
id: string;
|
|
7895
8308
|
src: string;
|
|
7896
8309
|
width?: number | undefined;
|
|
7897
|
-
height?: number | undefined;
|
|
7898
8310
|
alt?: string | undefined;
|
|
8311
|
+
height?: number | undefined;
|
|
7899
8312
|
}[] | undefined;
|
|
7900
8313
|
};
|
|
7901
8314
|
id: string;
|
|
@@ -7909,6 +8322,8 @@ export declare const actionStepSchemas: ({
|
|
|
7909
8322
|
} | undefined;
|
|
7910
8323
|
};
|
|
7911
8324
|
kind: "faq:question";
|
|
8325
|
+
title?: string | undefined;
|
|
8326
|
+
validation?: string[] | undefined;
|
|
7912
8327
|
triggerWhen?: {
|
|
7913
8328
|
type: "rules";
|
|
7914
8329
|
rules: {
|
|
@@ -7995,6 +8410,7 @@ export declare const actionStepSchemas: ({
|
|
|
7995
8410
|
body?: string | undefined;
|
|
7996
8411
|
icon?: string | undefined;
|
|
7997
8412
|
} | null | undefined;
|
|
8413
|
+
description?: string | undefined;
|
|
7998
8414
|
}, {
|
|
7999
8415
|
config: {
|
|
8000
8416
|
question: string;
|
|
@@ -8009,8 +8425,8 @@ export declare const actionStepSchemas: ({
|
|
|
8009
8425
|
id: string;
|
|
8010
8426
|
src: string;
|
|
8011
8427
|
width?: number | undefined;
|
|
8012
|
-
height?: number | undefined;
|
|
8013
8428
|
alt?: string | undefined;
|
|
8429
|
+
height?: number | undefined;
|
|
8014
8430
|
}[] | undefined;
|
|
8015
8431
|
};
|
|
8016
8432
|
id: string;
|
|
@@ -8024,6 +8440,8 @@ export declare const actionStepSchemas: ({
|
|
|
8024
8440
|
} | undefined;
|
|
8025
8441
|
};
|
|
8026
8442
|
kind: "faq:question";
|
|
8443
|
+
title?: string | undefined;
|
|
8444
|
+
validation?: string[] | undefined;
|
|
8027
8445
|
triggerWhen?: {
|
|
8028
8446
|
type: "rules";
|
|
8029
8447
|
rules: {
|
|
@@ -8110,6 +8528,7 @@ export declare const actionStepSchemas: ({
|
|
|
8110
8528
|
body?: string | undefined;
|
|
8111
8529
|
icon?: string | undefined;
|
|
8112
8530
|
} | null | undefined;
|
|
8531
|
+
description?: string | undefined;
|
|
8113
8532
|
}>;
|
|
8114
8533
|
} | {
|
|
8115
8534
|
defName: string;
|
|
@@ -8119,16 +8538,25 @@ export declare const actionStepSchemas: ({
|
|
|
8119
8538
|
itemQuestion: z.ZodOptional<z.ZodString>;
|
|
8120
8539
|
expand: z.ZodOptional<z.ZodBoolean>;
|
|
8121
8540
|
behavior: z.ZodOptional<z.ZodEnum<["smooth", "instant", "auto"]>>;
|
|
8541
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8542
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8543
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8122
8544
|
}, "strip", z.ZodTypeAny, {
|
|
8123
8545
|
kind: "faq:scroll_to";
|
|
8124
8546
|
itemId?: string | undefined;
|
|
8547
|
+
title?: string | undefined;
|
|
8125
8548
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
8549
|
+
validation?: string[] | undefined;
|
|
8550
|
+
description?: string | undefined;
|
|
8126
8551
|
itemQuestion?: string | undefined;
|
|
8127
8552
|
expand?: boolean | undefined;
|
|
8128
8553
|
}, {
|
|
8129
8554
|
kind: "faq:scroll_to";
|
|
8130
8555
|
itemId?: string | undefined;
|
|
8556
|
+
title?: string | undefined;
|
|
8131
8557
|
behavior?: "auto" | "smooth" | "instant" | undefined;
|
|
8558
|
+
validation?: string[] | undefined;
|
|
8559
|
+
description?: string | undefined;
|
|
8132
8560
|
itemQuestion?: string | undefined;
|
|
8133
8561
|
expand?: boolean | undefined;
|
|
8134
8562
|
}>;
|
|
@@ -8139,16 +8567,25 @@ export declare const actionStepSchemas: ({
|
|
|
8139
8567
|
itemId: z.ZodOptional<z.ZodString>;
|
|
8140
8568
|
itemQuestion: z.ZodOptional<z.ZodString>;
|
|
8141
8569
|
state: z.ZodDefault<z.ZodEnum<["open", "closed", "toggle"]>>;
|
|
8570
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8572
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8142
8573
|
}, "strip", z.ZodTypeAny, {
|
|
8143
|
-
state: "open" | "closed" | "toggle";
|
|
8144
8574
|
kind: "faq:toggle_item";
|
|
8575
|
+
state: "open" | "closed" | "toggle";
|
|
8145
8576
|
itemId?: string | undefined;
|
|
8577
|
+
title?: string | undefined;
|
|
8578
|
+
validation?: string[] | undefined;
|
|
8579
|
+
description?: string | undefined;
|
|
8146
8580
|
itemQuestion?: string | undefined;
|
|
8147
8581
|
}, {
|
|
8148
8582
|
kind: "faq:toggle_item";
|
|
8149
8583
|
itemId?: string | undefined;
|
|
8150
|
-
|
|
8584
|
+
title?: string | undefined;
|
|
8585
|
+
validation?: string[] | undefined;
|
|
8586
|
+
description?: string | undefined;
|
|
8151
8587
|
itemQuestion?: string | undefined;
|
|
8588
|
+
state?: "open" | "closed" | "toggle" | undefined;
|
|
8152
8589
|
}>;
|
|
8153
8590
|
} | {
|
|
8154
8591
|
defName: string;
|
|
@@ -8187,15 +8624,15 @@ export declare const actionStepSchemas: ({
|
|
|
8187
8624
|
id: string;
|
|
8188
8625
|
src: string;
|
|
8189
8626
|
width?: number | undefined;
|
|
8190
|
-
height?: number | undefined;
|
|
8191
8627
|
alt?: string | undefined;
|
|
8628
|
+
height?: number | undefined;
|
|
8192
8629
|
}, {
|
|
8193
8630
|
type: "image" | "video";
|
|
8194
8631
|
id: string;
|
|
8195
8632
|
src: string;
|
|
8196
8633
|
width?: number | undefined;
|
|
8197
|
-
height?: number | undefined;
|
|
8198
8634
|
alt?: string | undefined;
|
|
8635
|
+
height?: number | undefined;
|
|
8199
8636
|
}>, "many">>;
|
|
8200
8637
|
}, "strip", z.ZodTypeAny, {
|
|
8201
8638
|
type: "markdown";
|
|
@@ -8205,8 +8642,8 @@ export declare const actionStepSchemas: ({
|
|
|
8205
8642
|
id: string;
|
|
8206
8643
|
src: string;
|
|
8207
8644
|
width?: number | undefined;
|
|
8208
|
-
height?: number | undefined;
|
|
8209
8645
|
alt?: string | undefined;
|
|
8646
|
+
height?: number | undefined;
|
|
8210
8647
|
}[] | undefined;
|
|
8211
8648
|
}, {
|
|
8212
8649
|
type: "markdown";
|
|
@@ -8216,8 +8653,8 @@ export declare const actionStepSchemas: ({
|
|
|
8216
8653
|
id: string;
|
|
8217
8654
|
src: string;
|
|
8218
8655
|
width?: number | undefined;
|
|
8219
|
-
height?: number | undefined;
|
|
8220
8656
|
alt?: string | undefined;
|
|
8657
|
+
height?: number | undefined;
|
|
8221
8658
|
}[] | undefined;
|
|
8222
8659
|
}>]>;
|
|
8223
8660
|
/** Optional category for grouping */
|
|
@@ -8254,8 +8691,8 @@ export declare const actionStepSchemas: ({
|
|
|
8254
8691
|
id: string;
|
|
8255
8692
|
src: string;
|
|
8256
8693
|
width?: number | undefined;
|
|
8257
|
-
height?: number | undefined;
|
|
8258
8694
|
alt?: string | undefined;
|
|
8695
|
+
height?: number | undefined;
|
|
8259
8696
|
}[] | undefined;
|
|
8260
8697
|
};
|
|
8261
8698
|
id: string;
|
|
@@ -8280,8 +8717,8 @@ export declare const actionStepSchemas: ({
|
|
|
8280
8717
|
id: string;
|
|
8281
8718
|
src: string;
|
|
8282
8719
|
width?: number | undefined;
|
|
8283
|
-
height?: number | undefined;
|
|
8284
8720
|
alt?: string | undefined;
|
|
8721
|
+
height?: number | undefined;
|
|
8285
8722
|
}[] | undefined;
|
|
8286
8723
|
};
|
|
8287
8724
|
id: string;
|
|
@@ -8794,6 +9231,9 @@ export declare const actionStepSchemas: ({
|
|
|
8794
9231
|
body?: string | undefined;
|
|
8795
9232
|
icon?: string | undefined;
|
|
8796
9233
|
}>>>;
|
|
9234
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9235
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9236
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8797
9237
|
}, "strip", z.ZodTypeAny, {
|
|
8798
9238
|
config: {
|
|
8799
9239
|
question: string;
|
|
@@ -8808,8 +9248,8 @@ export declare const actionStepSchemas: ({
|
|
|
8808
9248
|
id: string;
|
|
8809
9249
|
src: string;
|
|
8810
9250
|
width?: number | undefined;
|
|
8811
|
-
height?: number | undefined;
|
|
8812
9251
|
alt?: string | undefined;
|
|
9252
|
+
height?: number | undefined;
|
|
8813
9253
|
}[] | undefined;
|
|
8814
9254
|
};
|
|
8815
9255
|
id: string;
|
|
@@ -8823,6 +9263,8 @@ export declare const actionStepSchemas: ({
|
|
|
8823
9263
|
} | undefined;
|
|
8824
9264
|
};
|
|
8825
9265
|
kind: "faq:question";
|
|
9266
|
+
title?: string | undefined;
|
|
9267
|
+
validation?: string[] | undefined;
|
|
8826
9268
|
triggerWhen?: {
|
|
8827
9269
|
type: "rules";
|
|
8828
9270
|
rules: {
|
|
@@ -8909,6 +9351,7 @@ export declare const actionStepSchemas: ({
|
|
|
8909
9351
|
body?: string | undefined;
|
|
8910
9352
|
icon?: string | undefined;
|
|
8911
9353
|
} | null | undefined;
|
|
9354
|
+
description?: string | undefined;
|
|
8912
9355
|
}, {
|
|
8913
9356
|
config: {
|
|
8914
9357
|
question: string;
|
|
@@ -8923,8 +9366,8 @@ export declare const actionStepSchemas: ({
|
|
|
8923
9366
|
id: string;
|
|
8924
9367
|
src: string;
|
|
8925
9368
|
width?: number | undefined;
|
|
8926
|
-
height?: number | undefined;
|
|
8927
9369
|
alt?: string | undefined;
|
|
9370
|
+
height?: number | undefined;
|
|
8928
9371
|
}[] | undefined;
|
|
8929
9372
|
};
|
|
8930
9373
|
id: string;
|
|
@@ -8938,6 +9381,8 @@ export declare const actionStepSchemas: ({
|
|
|
8938
9381
|
} | undefined;
|
|
8939
9382
|
};
|
|
8940
9383
|
kind: "faq:question";
|
|
9384
|
+
title?: string | undefined;
|
|
9385
|
+
validation?: string[] | undefined;
|
|
8941
9386
|
triggerWhen?: {
|
|
8942
9387
|
type: "rules";
|
|
8943
9388
|
rules: {
|
|
@@ -9024,6 +9469,7 @@ export declare const actionStepSchemas: ({
|
|
|
9024
9469
|
body?: string | undefined;
|
|
9025
9470
|
icon?: string | undefined;
|
|
9026
9471
|
} | null | undefined;
|
|
9472
|
+
description?: string | undefined;
|
|
9027
9473
|
}>, {
|
|
9028
9474
|
config: {
|
|
9029
9475
|
question: string;
|
|
@@ -9038,8 +9484,8 @@ export declare const actionStepSchemas: ({
|
|
|
9038
9484
|
id: string;
|
|
9039
9485
|
src: string;
|
|
9040
9486
|
width?: number | undefined;
|
|
9041
|
-
height?: number | undefined;
|
|
9042
9487
|
alt?: string | undefined;
|
|
9488
|
+
height?: number | undefined;
|
|
9043
9489
|
}[] | undefined;
|
|
9044
9490
|
};
|
|
9045
9491
|
id: string;
|
|
@@ -9053,6 +9499,8 @@ export declare const actionStepSchemas: ({
|
|
|
9053
9499
|
} | undefined;
|
|
9054
9500
|
};
|
|
9055
9501
|
kind: "faq:question";
|
|
9502
|
+
title?: string | undefined;
|
|
9503
|
+
validation?: string[] | undefined;
|
|
9056
9504
|
triggerWhen?: {
|
|
9057
9505
|
type: "rules";
|
|
9058
9506
|
rules: {
|
|
@@ -9139,6 +9587,7 @@ export declare const actionStepSchemas: ({
|
|
|
9139
9587
|
body?: string | undefined;
|
|
9140
9588
|
icon?: string | undefined;
|
|
9141
9589
|
} | null | undefined;
|
|
9590
|
+
description?: string | undefined;
|
|
9142
9591
|
}, {
|
|
9143
9592
|
config: {
|
|
9144
9593
|
question: string;
|
|
@@ -9153,8 +9602,8 @@ export declare const actionStepSchemas: ({
|
|
|
9153
9602
|
id: string;
|
|
9154
9603
|
src: string;
|
|
9155
9604
|
width?: number | undefined;
|
|
9156
|
-
height?: number | undefined;
|
|
9157
9605
|
alt?: string | undefined;
|
|
9606
|
+
height?: number | undefined;
|
|
9158
9607
|
}[] | undefined;
|
|
9159
9608
|
};
|
|
9160
9609
|
id: string;
|
|
@@ -9168,6 +9617,8 @@ export declare const actionStepSchemas: ({
|
|
|
9168
9617
|
} | undefined;
|
|
9169
9618
|
};
|
|
9170
9619
|
kind: "faq:question";
|
|
9620
|
+
title?: string | undefined;
|
|
9621
|
+
validation?: string[] | undefined;
|
|
9171
9622
|
triggerWhen?: {
|
|
9172
9623
|
type: "rules";
|
|
9173
9624
|
rules: {
|
|
@@ -9254,6 +9705,7 @@ export declare const actionStepSchemas: ({
|
|
|
9254
9705
|
body?: string | undefined;
|
|
9255
9706
|
icon?: string | undefined;
|
|
9256
9707
|
} | null | undefined;
|
|
9708
|
+
description?: string | undefined;
|
|
9257
9709
|
}>, "many">>;
|
|
9258
9710
|
itemId: z.ZodOptional<z.ZodString>;
|
|
9259
9711
|
order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -9268,10 +9720,12 @@ export declare const actionStepSchemas: ({
|
|
|
9268
9720
|
selector: string;
|
|
9269
9721
|
route: string | string[];
|
|
9270
9722
|
}>>;
|
|
9723
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9724
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9725
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9271
9726
|
}, "strip", z.ZodTypeAny, {
|
|
9272
9727
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
9273
9728
|
kind: "faq:update";
|
|
9274
|
-
itemId?: string | undefined;
|
|
9275
9729
|
items?: {
|
|
9276
9730
|
config: {
|
|
9277
9731
|
question: string;
|
|
@@ -9286,8 +9740,8 @@ export declare const actionStepSchemas: ({
|
|
|
9286
9740
|
id: string;
|
|
9287
9741
|
src: string;
|
|
9288
9742
|
width?: number | undefined;
|
|
9289
|
-
height?: number | undefined;
|
|
9290
9743
|
alt?: string | undefined;
|
|
9744
|
+
height?: number | undefined;
|
|
9291
9745
|
}[] | undefined;
|
|
9292
9746
|
};
|
|
9293
9747
|
id: string;
|
|
@@ -9301,6 +9755,8 @@ export declare const actionStepSchemas: ({
|
|
|
9301
9755
|
} | undefined;
|
|
9302
9756
|
};
|
|
9303
9757
|
kind: "faq:question";
|
|
9758
|
+
title?: string | undefined;
|
|
9759
|
+
validation?: string[] | undefined;
|
|
9304
9760
|
triggerWhen?: {
|
|
9305
9761
|
type: "rules";
|
|
9306
9762
|
rules: {
|
|
@@ -9387,17 +9843,21 @@ export declare const actionStepSchemas: ({
|
|
|
9387
9843
|
body?: string | undefined;
|
|
9388
9844
|
icon?: string | undefined;
|
|
9389
9845
|
} | null | undefined;
|
|
9846
|
+
description?: string | undefined;
|
|
9390
9847
|
}[] | undefined;
|
|
9848
|
+
itemId?: string | undefined;
|
|
9849
|
+
title?: string | undefined;
|
|
9850
|
+
validation?: string[] | undefined;
|
|
9851
|
+
description?: string | undefined;
|
|
9391
9852
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
9853
|
+
order?: string[] | undefined;
|
|
9392
9854
|
anchorId?: {
|
|
9393
9855
|
selector: string;
|
|
9394
9856
|
route: string | string[];
|
|
9395
9857
|
} | undefined;
|
|
9396
|
-
order?: string[] | undefined;
|
|
9397
9858
|
}, {
|
|
9398
9859
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
9399
9860
|
kind: "faq:update";
|
|
9400
|
-
itemId?: string | undefined;
|
|
9401
9861
|
items?: {
|
|
9402
9862
|
config: {
|
|
9403
9863
|
question: string;
|
|
@@ -9412,8 +9872,8 @@ export declare const actionStepSchemas: ({
|
|
|
9412
9872
|
id: string;
|
|
9413
9873
|
src: string;
|
|
9414
9874
|
width?: number | undefined;
|
|
9415
|
-
height?: number | undefined;
|
|
9416
9875
|
alt?: string | undefined;
|
|
9876
|
+
height?: number | undefined;
|
|
9417
9877
|
}[] | undefined;
|
|
9418
9878
|
};
|
|
9419
9879
|
id: string;
|
|
@@ -9427,6 +9887,8 @@ export declare const actionStepSchemas: ({
|
|
|
9427
9887
|
} | undefined;
|
|
9428
9888
|
};
|
|
9429
9889
|
kind: "faq:question";
|
|
9890
|
+
title?: string | undefined;
|
|
9891
|
+
validation?: string[] | undefined;
|
|
9430
9892
|
triggerWhen?: {
|
|
9431
9893
|
type: "rules";
|
|
9432
9894
|
rules: {
|
|
@@ -9513,13 +9975,18 @@ export declare const actionStepSchemas: ({
|
|
|
9513
9975
|
body?: string | undefined;
|
|
9514
9976
|
icon?: string | undefined;
|
|
9515
9977
|
} | null | undefined;
|
|
9978
|
+
description?: string | undefined;
|
|
9516
9979
|
}[] | undefined;
|
|
9980
|
+
itemId?: string | undefined;
|
|
9981
|
+
title?: string | undefined;
|
|
9982
|
+
validation?: string[] | undefined;
|
|
9983
|
+
description?: string | undefined;
|
|
9517
9984
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
9985
|
+
order?: string[] | undefined;
|
|
9518
9986
|
anchorId?: {
|
|
9519
9987
|
selector: string;
|
|
9520
9988
|
route: string | string[];
|
|
9521
9989
|
} | undefined;
|
|
9522
|
-
order?: string[] | undefined;
|
|
9523
9990
|
}>;
|
|
9524
9991
|
})[];
|
|
9525
9992
|
/**
|
|
@@ -9572,15 +10039,15 @@ export declare const tileWidgets: {
|
|
|
9572
10039
|
id: string;
|
|
9573
10040
|
src: string;
|
|
9574
10041
|
width?: number | undefined;
|
|
9575
|
-
height?: number | undefined;
|
|
9576
10042
|
alt?: string | undefined;
|
|
10043
|
+
height?: number | undefined;
|
|
9577
10044
|
}, {
|
|
9578
10045
|
type: "image" | "video";
|
|
9579
10046
|
id: string;
|
|
9580
10047
|
src: string;
|
|
9581
10048
|
width?: number | undefined;
|
|
9582
|
-
height?: number | undefined;
|
|
9583
10049
|
alt?: string | undefined;
|
|
10050
|
+
height?: number | undefined;
|
|
9584
10051
|
}>, "many">>;
|
|
9585
10052
|
}, "strip", z.ZodTypeAny, {
|
|
9586
10053
|
type: "markdown";
|
|
@@ -9590,8 +10057,8 @@ export declare const tileWidgets: {
|
|
|
9590
10057
|
id: string;
|
|
9591
10058
|
src: string;
|
|
9592
10059
|
width?: number | undefined;
|
|
9593
|
-
height?: number | undefined;
|
|
9594
10060
|
alt?: string | undefined;
|
|
10061
|
+
height?: number | undefined;
|
|
9595
10062
|
}[] | undefined;
|
|
9596
10063
|
}, {
|
|
9597
10064
|
type: "markdown";
|
|
@@ -9601,8 +10068,8 @@ export declare const tileWidgets: {
|
|
|
9601
10068
|
id: string;
|
|
9602
10069
|
src: string;
|
|
9603
10070
|
width?: number | undefined;
|
|
9604
|
-
height?: number | undefined;
|
|
9605
10071
|
alt?: string | undefined;
|
|
10072
|
+
height?: number | undefined;
|
|
9606
10073
|
}[] | undefined;
|
|
9607
10074
|
}>]>;
|
|
9608
10075
|
/** Optional category for grouping */
|
|
@@ -9639,8 +10106,8 @@ export declare const tileWidgets: {
|
|
|
9639
10106
|
id: string;
|
|
9640
10107
|
src: string;
|
|
9641
10108
|
width?: number | undefined;
|
|
9642
|
-
height?: number | undefined;
|
|
9643
10109
|
alt?: string | undefined;
|
|
10110
|
+
height?: number | undefined;
|
|
9644
10111
|
}[] | undefined;
|
|
9645
10112
|
};
|
|
9646
10113
|
id: string;
|
|
@@ -9665,8 +10132,8 @@ export declare const tileWidgets: {
|
|
|
9665
10132
|
id: string;
|
|
9666
10133
|
src: string;
|
|
9667
10134
|
width?: number | undefined;
|
|
9668
|
-
height?: number | undefined;
|
|
9669
10135
|
alt?: string | undefined;
|
|
10136
|
+
height?: number | undefined;
|
|
9670
10137
|
}[] | undefined;
|
|
9671
10138
|
};
|
|
9672
10139
|
id: string;
|
|
@@ -10179,6 +10646,9 @@ export declare const tileWidgets: {
|
|
|
10179
10646
|
body?: string | undefined;
|
|
10180
10647
|
icon?: string | undefined;
|
|
10181
10648
|
}>>>;
|
|
10649
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10650
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10651
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10182
10652
|
}, "strip", z.ZodTypeAny, {
|
|
10183
10653
|
config: {
|
|
10184
10654
|
question: string;
|
|
@@ -10193,8 +10663,8 @@ export declare const tileWidgets: {
|
|
|
10193
10663
|
id: string;
|
|
10194
10664
|
src: string;
|
|
10195
10665
|
width?: number | undefined;
|
|
10196
|
-
height?: number | undefined;
|
|
10197
10666
|
alt?: string | undefined;
|
|
10667
|
+
height?: number | undefined;
|
|
10198
10668
|
}[] | undefined;
|
|
10199
10669
|
};
|
|
10200
10670
|
id: string;
|
|
@@ -10208,6 +10678,8 @@ export declare const tileWidgets: {
|
|
|
10208
10678
|
} | undefined;
|
|
10209
10679
|
};
|
|
10210
10680
|
kind: "faq:question";
|
|
10681
|
+
title?: string | undefined;
|
|
10682
|
+
validation?: string[] | undefined;
|
|
10211
10683
|
triggerWhen?: {
|
|
10212
10684
|
type: "rules";
|
|
10213
10685
|
rules: {
|
|
@@ -10294,6 +10766,7 @@ export declare const tileWidgets: {
|
|
|
10294
10766
|
body?: string | undefined;
|
|
10295
10767
|
icon?: string | undefined;
|
|
10296
10768
|
} | null | undefined;
|
|
10769
|
+
description?: string | undefined;
|
|
10297
10770
|
}, {
|
|
10298
10771
|
config: {
|
|
10299
10772
|
question: string;
|
|
@@ -10308,8 +10781,8 @@ export declare const tileWidgets: {
|
|
|
10308
10781
|
id: string;
|
|
10309
10782
|
src: string;
|
|
10310
10783
|
width?: number | undefined;
|
|
10311
|
-
height?: number | undefined;
|
|
10312
10784
|
alt?: string | undefined;
|
|
10785
|
+
height?: number | undefined;
|
|
10313
10786
|
}[] | undefined;
|
|
10314
10787
|
};
|
|
10315
10788
|
id: string;
|
|
@@ -10323,6 +10796,8 @@ export declare const tileWidgets: {
|
|
|
10323
10796
|
} | undefined;
|
|
10324
10797
|
};
|
|
10325
10798
|
kind: "faq:question";
|
|
10799
|
+
title?: string | undefined;
|
|
10800
|
+
validation?: string[] | undefined;
|
|
10326
10801
|
triggerWhen?: {
|
|
10327
10802
|
type: "rules";
|
|
10328
10803
|
rules: {
|
|
@@ -10409,6 +10884,7 @@ export declare const tileWidgets: {
|
|
|
10409
10884
|
body?: string | undefined;
|
|
10410
10885
|
icon?: string | undefined;
|
|
10411
10886
|
} | null | undefined;
|
|
10887
|
+
description?: string | undefined;
|
|
10412
10888
|
}>, {
|
|
10413
10889
|
config: {
|
|
10414
10890
|
question: string;
|
|
@@ -10423,8 +10899,8 @@ export declare const tileWidgets: {
|
|
|
10423
10899
|
id: string;
|
|
10424
10900
|
src: string;
|
|
10425
10901
|
width?: number | undefined;
|
|
10426
|
-
height?: number | undefined;
|
|
10427
10902
|
alt?: string | undefined;
|
|
10903
|
+
height?: number | undefined;
|
|
10428
10904
|
}[] | undefined;
|
|
10429
10905
|
};
|
|
10430
10906
|
id: string;
|
|
@@ -10438,6 +10914,8 @@ export declare const tileWidgets: {
|
|
|
10438
10914
|
} | undefined;
|
|
10439
10915
|
};
|
|
10440
10916
|
kind: "faq:question";
|
|
10917
|
+
title?: string | undefined;
|
|
10918
|
+
validation?: string[] | undefined;
|
|
10441
10919
|
triggerWhen?: {
|
|
10442
10920
|
type: "rules";
|
|
10443
10921
|
rules: {
|
|
@@ -10524,6 +11002,7 @@ export declare const tileWidgets: {
|
|
|
10524
11002
|
body?: string | undefined;
|
|
10525
11003
|
icon?: string | undefined;
|
|
10526
11004
|
} | null | undefined;
|
|
11005
|
+
description?: string | undefined;
|
|
10527
11006
|
}, {
|
|
10528
11007
|
config: {
|
|
10529
11008
|
question: string;
|
|
@@ -10538,8 +11017,8 @@ export declare const tileWidgets: {
|
|
|
10538
11017
|
id: string;
|
|
10539
11018
|
src: string;
|
|
10540
11019
|
width?: number | undefined;
|
|
10541
|
-
height?: number | undefined;
|
|
10542
11020
|
alt?: string | undefined;
|
|
11021
|
+
height?: number | undefined;
|
|
10543
11022
|
}[] | undefined;
|
|
10544
11023
|
};
|
|
10545
11024
|
id: string;
|
|
@@ -10553,6 +11032,8 @@ export declare const tileWidgets: {
|
|
|
10553
11032
|
} | undefined;
|
|
10554
11033
|
};
|
|
10555
11034
|
kind: "faq:question";
|
|
11035
|
+
title?: string | undefined;
|
|
11036
|
+
validation?: string[] | undefined;
|
|
10556
11037
|
triggerWhen?: {
|
|
10557
11038
|
type: "rules";
|
|
10558
11039
|
rules: {
|
|
@@ -10639,6 +11120,7 @@ export declare const tileWidgets: {
|
|
|
10639
11120
|
body?: string | undefined;
|
|
10640
11121
|
icon?: string | undefined;
|
|
10641
11122
|
} | null | undefined;
|
|
11123
|
+
description?: string | undefined;
|
|
10642
11124
|
}>, "many">>;
|
|
10643
11125
|
/** Feedback widget configuration */
|
|
10644
11126
|
feedback: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -11181,15 +11663,15 @@ export declare const tileWidgets: {
|
|
|
11181
11663
|
id: string;
|
|
11182
11664
|
src: string;
|
|
11183
11665
|
width?: number | undefined;
|
|
11184
|
-
height?: number | undefined;
|
|
11185
11666
|
alt?: string | undefined;
|
|
11667
|
+
height?: number | undefined;
|
|
11186
11668
|
}, {
|
|
11187
11669
|
type: "image" | "video";
|
|
11188
11670
|
id: string;
|
|
11189
11671
|
src: string;
|
|
11190
11672
|
width?: number | undefined;
|
|
11191
|
-
height?: number | undefined;
|
|
11192
11673
|
alt?: string | undefined;
|
|
11674
|
+
height?: number | undefined;
|
|
11193
11675
|
}>, "many">>;
|
|
11194
11676
|
}, "strip", z.ZodTypeAny, {
|
|
11195
11677
|
type: "markdown";
|
|
@@ -11199,8 +11681,8 @@ export declare const tileWidgets: {
|
|
|
11199
11681
|
id: string;
|
|
11200
11682
|
src: string;
|
|
11201
11683
|
width?: number | undefined;
|
|
11202
|
-
height?: number | undefined;
|
|
11203
11684
|
alt?: string | undefined;
|
|
11685
|
+
height?: number | undefined;
|
|
11204
11686
|
}[] | undefined;
|
|
11205
11687
|
}, {
|
|
11206
11688
|
type: "markdown";
|
|
@@ -11210,8 +11692,8 @@ export declare const tileWidgets: {
|
|
|
11210
11692
|
id: string;
|
|
11211
11693
|
src: string;
|
|
11212
11694
|
width?: number | undefined;
|
|
11213
|
-
height?: number | undefined;
|
|
11214
11695
|
alt?: string | undefined;
|
|
11696
|
+
height?: number | undefined;
|
|
11215
11697
|
}[] | undefined;
|
|
11216
11698
|
}>]>;
|
|
11217
11699
|
/** Optional category for grouping */
|
|
@@ -11248,8 +11730,8 @@ export declare const tileWidgets: {
|
|
|
11248
11730
|
id: string;
|
|
11249
11731
|
src: string;
|
|
11250
11732
|
width?: number | undefined;
|
|
11251
|
-
height?: number | undefined;
|
|
11252
11733
|
alt?: string | undefined;
|
|
11734
|
+
height?: number | undefined;
|
|
11253
11735
|
}[] | undefined;
|
|
11254
11736
|
};
|
|
11255
11737
|
id: string;
|
|
@@ -11274,8 +11756,8 @@ export declare const tileWidgets: {
|
|
|
11274
11756
|
id: string;
|
|
11275
11757
|
src: string;
|
|
11276
11758
|
width?: number | undefined;
|
|
11277
|
-
height?: number | undefined;
|
|
11278
11759
|
alt?: string | undefined;
|
|
11760
|
+
height?: number | undefined;
|
|
11279
11761
|
}[] | undefined;
|
|
11280
11762
|
};
|
|
11281
11763
|
id: string;
|
|
@@ -11788,6 +12270,9 @@ export declare const tileWidgets: {
|
|
|
11788
12270
|
body?: string | undefined;
|
|
11789
12271
|
icon?: string | undefined;
|
|
11790
12272
|
}>>>;
|
|
12273
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12274
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12275
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11791
12276
|
}, "strip", z.ZodTypeAny, {
|
|
11792
12277
|
config: {
|
|
11793
12278
|
question: string;
|
|
@@ -11802,8 +12287,8 @@ export declare const tileWidgets: {
|
|
|
11802
12287
|
id: string;
|
|
11803
12288
|
src: string;
|
|
11804
12289
|
width?: number | undefined;
|
|
11805
|
-
height?: number | undefined;
|
|
11806
12290
|
alt?: string | undefined;
|
|
12291
|
+
height?: number | undefined;
|
|
11807
12292
|
}[] | undefined;
|
|
11808
12293
|
};
|
|
11809
12294
|
id: string;
|
|
@@ -11817,6 +12302,8 @@ export declare const tileWidgets: {
|
|
|
11817
12302
|
} | undefined;
|
|
11818
12303
|
};
|
|
11819
12304
|
kind: "faq:question";
|
|
12305
|
+
title?: string | undefined;
|
|
12306
|
+
validation?: string[] | undefined;
|
|
11820
12307
|
triggerWhen?: {
|
|
11821
12308
|
type: "rules";
|
|
11822
12309
|
rules: {
|
|
@@ -11903,6 +12390,7 @@ export declare const tileWidgets: {
|
|
|
11903
12390
|
body?: string | undefined;
|
|
11904
12391
|
icon?: string | undefined;
|
|
11905
12392
|
} | null | undefined;
|
|
12393
|
+
description?: string | undefined;
|
|
11906
12394
|
}, {
|
|
11907
12395
|
config: {
|
|
11908
12396
|
question: string;
|
|
@@ -11917,8 +12405,8 @@ export declare const tileWidgets: {
|
|
|
11917
12405
|
id: string;
|
|
11918
12406
|
src: string;
|
|
11919
12407
|
width?: number | undefined;
|
|
11920
|
-
height?: number | undefined;
|
|
11921
12408
|
alt?: string | undefined;
|
|
12409
|
+
height?: number | undefined;
|
|
11922
12410
|
}[] | undefined;
|
|
11923
12411
|
};
|
|
11924
12412
|
id: string;
|
|
@@ -11932,6 +12420,8 @@ export declare const tileWidgets: {
|
|
|
11932
12420
|
} | undefined;
|
|
11933
12421
|
};
|
|
11934
12422
|
kind: "faq:question";
|
|
12423
|
+
title?: string | undefined;
|
|
12424
|
+
validation?: string[] | undefined;
|
|
11935
12425
|
triggerWhen?: {
|
|
11936
12426
|
type: "rules";
|
|
11937
12427
|
rules: {
|
|
@@ -12018,6 +12508,7 @@ export declare const tileWidgets: {
|
|
|
12018
12508
|
body?: string | undefined;
|
|
12019
12509
|
icon?: string | undefined;
|
|
12020
12510
|
} | null | undefined;
|
|
12511
|
+
description?: string | undefined;
|
|
12021
12512
|
}>, {
|
|
12022
12513
|
config: {
|
|
12023
12514
|
question: string;
|
|
@@ -12032,8 +12523,8 @@ export declare const tileWidgets: {
|
|
|
12032
12523
|
id: string;
|
|
12033
12524
|
src: string;
|
|
12034
12525
|
width?: number | undefined;
|
|
12035
|
-
height?: number | undefined;
|
|
12036
12526
|
alt?: string | undefined;
|
|
12527
|
+
height?: number | undefined;
|
|
12037
12528
|
}[] | undefined;
|
|
12038
12529
|
};
|
|
12039
12530
|
id: string;
|
|
@@ -12047,6 +12538,8 @@ export declare const tileWidgets: {
|
|
|
12047
12538
|
} | undefined;
|
|
12048
12539
|
};
|
|
12049
12540
|
kind: "faq:question";
|
|
12541
|
+
title?: string | undefined;
|
|
12542
|
+
validation?: string[] | undefined;
|
|
12050
12543
|
triggerWhen?: {
|
|
12051
12544
|
type: "rules";
|
|
12052
12545
|
rules: {
|
|
@@ -12133,6 +12626,7 @@ export declare const tileWidgets: {
|
|
|
12133
12626
|
body?: string | undefined;
|
|
12134
12627
|
icon?: string | undefined;
|
|
12135
12628
|
} | null | undefined;
|
|
12629
|
+
description?: string | undefined;
|
|
12136
12630
|
}, {
|
|
12137
12631
|
config: {
|
|
12138
12632
|
question: string;
|
|
@@ -12147,8 +12641,8 @@ export declare const tileWidgets: {
|
|
|
12147
12641
|
id: string;
|
|
12148
12642
|
src: string;
|
|
12149
12643
|
width?: number | undefined;
|
|
12150
|
-
height?: number | undefined;
|
|
12151
12644
|
alt?: string | undefined;
|
|
12645
|
+
height?: number | undefined;
|
|
12152
12646
|
}[] | undefined;
|
|
12153
12647
|
};
|
|
12154
12648
|
id: string;
|
|
@@ -12162,6 +12656,8 @@ export declare const tileWidgets: {
|
|
|
12162
12656
|
} | undefined;
|
|
12163
12657
|
};
|
|
12164
12658
|
kind: "faq:question";
|
|
12659
|
+
title?: string | undefined;
|
|
12660
|
+
validation?: string[] | undefined;
|
|
12165
12661
|
triggerWhen?: {
|
|
12166
12662
|
type: "rules";
|
|
12167
12663
|
rules: {
|
|
@@ -12248,6 +12744,7 @@ export declare const tileWidgets: {
|
|
|
12248
12744
|
body?: string | undefined;
|
|
12249
12745
|
icon?: string | undefined;
|
|
12250
12746
|
} | null | undefined;
|
|
12747
|
+
description?: string | undefined;
|
|
12251
12748
|
}>>, "many">;
|
|
12252
12749
|
position: z.ZodOptional<z.ZodEnum<["prepend", "append"]>>;
|
|
12253
12750
|
once: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12266,8 +12763,8 @@ export declare const tileWidgets: {
|
|
|
12266
12763
|
id: string;
|
|
12267
12764
|
src: string;
|
|
12268
12765
|
width?: number | undefined;
|
|
12269
|
-
height?: number | undefined;
|
|
12270
12766
|
alt?: string | undefined;
|
|
12767
|
+
height?: number | undefined;
|
|
12271
12768
|
}[] | undefined;
|
|
12272
12769
|
};
|
|
12273
12770
|
id: string;
|
|
@@ -12281,6 +12778,8 @@ export declare const tileWidgets: {
|
|
|
12281
12778
|
} | undefined;
|
|
12282
12779
|
};
|
|
12283
12780
|
kind: "faq:question";
|
|
12781
|
+
title?: string | undefined;
|
|
12782
|
+
validation?: string[] | undefined;
|
|
12284
12783
|
triggerWhen?: {
|
|
12285
12784
|
type: "rules";
|
|
12286
12785
|
rules: {
|
|
@@ -12367,6 +12866,7 @@ export declare const tileWidgets: {
|
|
|
12367
12866
|
body?: string | undefined;
|
|
12368
12867
|
icon?: string | undefined;
|
|
12369
12868
|
} | null | undefined;
|
|
12869
|
+
description?: string | undefined;
|
|
12370
12870
|
}[];
|
|
12371
12871
|
trigger: {
|
|
12372
12872
|
type: "rules";
|
|
@@ -12466,8 +12966,8 @@ export declare const tileWidgets: {
|
|
|
12466
12966
|
id: string;
|
|
12467
12967
|
src: string;
|
|
12468
12968
|
width?: number | undefined;
|
|
12469
|
-
height?: number | undefined;
|
|
12470
12969
|
alt?: string | undefined;
|
|
12970
|
+
height?: number | undefined;
|
|
12471
12971
|
}[] | undefined;
|
|
12472
12972
|
};
|
|
12473
12973
|
id: string;
|
|
@@ -12481,6 +12981,8 @@ export declare const tileWidgets: {
|
|
|
12481
12981
|
} | undefined;
|
|
12482
12982
|
};
|
|
12483
12983
|
kind: "faq:question";
|
|
12984
|
+
title?: string | undefined;
|
|
12985
|
+
validation?: string[] | undefined;
|
|
12484
12986
|
triggerWhen?: {
|
|
12485
12987
|
type: "rules";
|
|
12486
12988
|
rules: {
|
|
@@ -12567,6 +13069,7 @@ export declare const tileWidgets: {
|
|
|
12567
13069
|
body?: string | undefined;
|
|
12568
13070
|
icon?: string | undefined;
|
|
12569
13071
|
} | null | undefined;
|
|
13072
|
+
description?: string | undefined;
|
|
12570
13073
|
}[];
|
|
12571
13074
|
trigger: {
|
|
12572
13075
|
type: "rules";
|
|
@@ -12670,8 +13173,8 @@ export declare const tileWidgets: {
|
|
|
12670
13173
|
id: string;
|
|
12671
13174
|
src: string;
|
|
12672
13175
|
width?: number | undefined;
|
|
12673
|
-
height?: number | undefined;
|
|
12674
13176
|
alt?: string | undefined;
|
|
13177
|
+
height?: number | undefined;
|
|
12675
13178
|
}[] | undefined;
|
|
12676
13179
|
};
|
|
12677
13180
|
id: string;
|
|
@@ -12685,6 +13188,8 @@ export declare const tileWidgets: {
|
|
|
12685
13188
|
} | undefined;
|
|
12686
13189
|
};
|
|
12687
13190
|
kind: "faq:question";
|
|
13191
|
+
title?: string | undefined;
|
|
13192
|
+
validation?: string[] | undefined;
|
|
12688
13193
|
triggerWhen?: {
|
|
12689
13194
|
type: "rules";
|
|
12690
13195
|
rules: {
|
|
@@ -12771,7 +13276,9 @@ export declare const tileWidgets: {
|
|
|
12771
13276
|
body?: string | undefined;
|
|
12772
13277
|
icon?: string | undefined;
|
|
12773
13278
|
} | null | undefined;
|
|
13279
|
+
description?: string | undefined;
|
|
12774
13280
|
}[];
|
|
13281
|
+
title?: string | undefined;
|
|
12775
13282
|
feedback?: boolean | {
|
|
12776
13283
|
style: "thumbs" | "rating";
|
|
12777
13284
|
prompt?: string | undefined;
|
|
@@ -12795,8 +13302,8 @@ export declare const tileWidgets: {
|
|
|
12795
13302
|
id: string;
|
|
12796
13303
|
src: string;
|
|
12797
13304
|
width?: number | undefined;
|
|
12798
|
-
height?: number | undefined;
|
|
12799
13305
|
alt?: string | undefined;
|
|
13306
|
+
height?: number | undefined;
|
|
12800
13307
|
}[] | undefined;
|
|
12801
13308
|
};
|
|
12802
13309
|
id: string;
|
|
@@ -12810,6 +13317,8 @@ export declare const tileWidgets: {
|
|
|
12810
13317
|
} | undefined;
|
|
12811
13318
|
};
|
|
12812
13319
|
kind: "faq:question";
|
|
13320
|
+
title?: string | undefined;
|
|
13321
|
+
validation?: string[] | undefined;
|
|
12813
13322
|
triggerWhen?: {
|
|
12814
13323
|
type: "rules";
|
|
12815
13324
|
rules: {
|
|
@@ -12896,6 +13405,7 @@ export declare const tileWidgets: {
|
|
|
12896
13405
|
body?: string | undefined;
|
|
12897
13406
|
icon?: string | undefined;
|
|
12898
13407
|
} | null | undefined;
|
|
13408
|
+
description?: string | undefined;
|
|
12899
13409
|
}[];
|
|
12900
13410
|
trigger: {
|
|
12901
13411
|
type: "rules";
|
|
@@ -12981,9 +13491,9 @@ export declare const tileWidgets: {
|
|
|
12981
13491
|
position?: "prepend" | "append" | undefined;
|
|
12982
13492
|
once?: boolean | undefined;
|
|
12983
13493
|
}[] | undefined;
|
|
12984
|
-
title?: string | undefined;
|
|
12985
13494
|
}, {
|
|
12986
13495
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
13496
|
+
title?: string | undefined;
|
|
12987
13497
|
searchable?: boolean | undefined;
|
|
12988
13498
|
expandBehavior?: "single" | "multiple" | undefined;
|
|
12989
13499
|
actions?: {
|
|
@@ -13000,8 +13510,8 @@ export declare const tileWidgets: {
|
|
|
13000
13510
|
id: string;
|
|
13001
13511
|
src: string;
|
|
13002
13512
|
width?: number | undefined;
|
|
13003
|
-
height?: number | undefined;
|
|
13004
13513
|
alt?: string | undefined;
|
|
13514
|
+
height?: number | undefined;
|
|
13005
13515
|
}[] | undefined;
|
|
13006
13516
|
};
|
|
13007
13517
|
id: string;
|
|
@@ -13015,6 +13525,8 @@ export declare const tileWidgets: {
|
|
|
13015
13525
|
} | undefined;
|
|
13016
13526
|
};
|
|
13017
13527
|
kind: "faq:question";
|
|
13528
|
+
title?: string | undefined;
|
|
13529
|
+
validation?: string[] | undefined;
|
|
13018
13530
|
triggerWhen?: {
|
|
13019
13531
|
type: "rules";
|
|
13020
13532
|
rules: {
|
|
@@ -13101,6 +13613,7 @@ export declare const tileWidgets: {
|
|
|
13101
13613
|
body?: string | undefined;
|
|
13102
13614
|
icon?: string | undefined;
|
|
13103
13615
|
} | null | undefined;
|
|
13616
|
+
description?: string | undefined;
|
|
13104
13617
|
}[] | undefined;
|
|
13105
13618
|
feedback?: boolean | {
|
|
13106
13619
|
style: "thumbs" | "rating";
|
|
@@ -13125,8 +13638,8 @@ export declare const tileWidgets: {
|
|
|
13125
13638
|
id: string;
|
|
13126
13639
|
src: string;
|
|
13127
13640
|
width?: number | undefined;
|
|
13128
|
-
height?: number | undefined;
|
|
13129
13641
|
alt?: string | undefined;
|
|
13642
|
+
height?: number | undefined;
|
|
13130
13643
|
}[] | undefined;
|
|
13131
13644
|
};
|
|
13132
13645
|
id: string;
|
|
@@ -13140,6 +13653,8 @@ export declare const tileWidgets: {
|
|
|
13140
13653
|
} | undefined;
|
|
13141
13654
|
};
|
|
13142
13655
|
kind: "faq:question";
|
|
13656
|
+
title?: string | undefined;
|
|
13657
|
+
validation?: string[] | undefined;
|
|
13143
13658
|
triggerWhen?: {
|
|
13144
13659
|
type: "rules";
|
|
13145
13660
|
rules: {
|
|
@@ -13226,6 +13741,7 @@ export declare const tileWidgets: {
|
|
|
13226
13741
|
body?: string | undefined;
|
|
13227
13742
|
icon?: string | undefined;
|
|
13228
13743
|
} | null | undefined;
|
|
13744
|
+
description?: string | undefined;
|
|
13229
13745
|
}[];
|
|
13230
13746
|
trigger: {
|
|
13231
13747
|
type: "rules";
|
|
@@ -13311,7 +13827,23 @@ export declare const tileWidgets: {
|
|
|
13311
13827
|
position?: "prepend" | "append" | undefined;
|
|
13312
13828
|
once?: boolean | undefined;
|
|
13313
13829
|
}[] | undefined;
|
|
13314
|
-
title?: string | undefined;
|
|
13315
13830
|
}>;
|
|
13316
13831
|
}[];
|
|
13832
|
+
export declare const CAPABILITIES_DOCUMENTATION: {
|
|
13833
|
+
packageId: string;
|
|
13834
|
+
description: string;
|
|
13835
|
+
whenToUse: {
|
|
13836
|
+
goal: string;
|
|
13837
|
+
action: string;
|
|
13838
|
+
}[];
|
|
13839
|
+
conventions: {
|
|
13840
|
+
name: string;
|
|
13841
|
+
description: string;
|
|
13842
|
+
}[];
|
|
13843
|
+
events: {
|
|
13844
|
+
name: string;
|
|
13845
|
+
when: string;
|
|
13846
|
+
props: string;
|
|
13847
|
+
}[];
|
|
13848
|
+
};
|
|
13317
13849
|
//# sourceMappingURL=schema.d.ts.map
|