@syntrologie/adapt-faq 2.16.0 → 2.18.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/chunk-5WRI5ZAA.js +31 -0
- package/dist/chunk-5WRI5ZAA.js.map +7 -0
- package/dist/chunk-S6WIENQP.js +578 -0
- package/dist/chunk-S6WIENQP.js.map +7 -0
- package/dist/editor.d.ts +35 -33
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +4821 -308
- 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 +848 -91
- package/dist/runtime.js.map +7 -0
- package/dist/schema.d.ts +609 -77
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +444 -206
- package/dist/schema.js.map +7 -0
- package/dist/types.d.ts +19 -0
- package/dist/types.d.ts.map +1 -1
- 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
|
@@ -96,6 +96,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
96
96
|
}>>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
question: string;
|
|
99
|
+
id: string;
|
|
99
100
|
answer: string | {
|
|
100
101
|
type: "rich";
|
|
101
102
|
html: string;
|
|
@@ -111,7 +112,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
111
112
|
alt?: string | undefined;
|
|
112
113
|
}[] | undefined;
|
|
113
114
|
};
|
|
114
|
-
id: string;
|
|
115
115
|
priority?: number | undefined;
|
|
116
116
|
category?: string | undefined;
|
|
117
117
|
answerStrategy?: {
|
|
@@ -122,6 +122,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
122
122
|
} | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
question: string;
|
|
125
|
+
id: string;
|
|
125
126
|
answer: string | {
|
|
126
127
|
type: "rich";
|
|
127
128
|
html: string;
|
|
@@ -137,7 +138,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
137
138
|
alt?: string | undefined;
|
|
138
139
|
}[] | undefined;
|
|
139
140
|
};
|
|
140
|
-
id: string;
|
|
141
141
|
priority?: number | undefined;
|
|
142
142
|
category?: string | undefined;
|
|
143
143
|
answerStrategy?: {
|
|
@@ -647,9 +647,13 @@ 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;
|
|
656
|
+
id: string;
|
|
653
657
|
answer: string | {
|
|
654
658
|
type: "rich";
|
|
655
659
|
html: string;
|
|
@@ -665,7 +669,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
665
669
|
alt?: string | undefined;
|
|
666
670
|
}[] | undefined;
|
|
667
671
|
};
|
|
668
|
-
id: string;
|
|
669
672
|
priority?: number | undefined;
|
|
670
673
|
category?: string | undefined;
|
|
671
674
|
answerStrategy?: {
|
|
@@ -676,6 +679,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
676
679
|
} | undefined;
|
|
677
680
|
};
|
|
678
681
|
kind: "faq:question";
|
|
682
|
+
title?: string | undefined;
|
|
679
683
|
triggerWhen?: {
|
|
680
684
|
type: "rules";
|
|
681
685
|
rules: {
|
|
@@ -757,6 +761,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
757
761
|
method?: "GET" | "POST" | undefined;
|
|
758
762
|
timeoutMs?: number | undefined;
|
|
759
763
|
} | null | undefined;
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
validation?: string[] | undefined;
|
|
760
766
|
notify?: {
|
|
761
767
|
title?: string | undefined;
|
|
762
768
|
body?: string | undefined;
|
|
@@ -765,6 +771,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
765
771
|
}, {
|
|
766
772
|
config: {
|
|
767
773
|
question: string;
|
|
774
|
+
id: string;
|
|
768
775
|
answer: string | {
|
|
769
776
|
type: "rich";
|
|
770
777
|
html: string;
|
|
@@ -780,7 +787,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
780
787
|
alt?: string | undefined;
|
|
781
788
|
}[] | undefined;
|
|
782
789
|
};
|
|
783
|
-
id: string;
|
|
784
790
|
priority?: number | undefined;
|
|
785
791
|
category?: string | undefined;
|
|
786
792
|
answerStrategy?: {
|
|
@@ -791,6 +797,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
791
797
|
} | undefined;
|
|
792
798
|
};
|
|
793
799
|
kind: "faq:question";
|
|
800
|
+
title?: string | undefined;
|
|
794
801
|
triggerWhen?: {
|
|
795
802
|
type: "rules";
|
|
796
803
|
rules: {
|
|
@@ -872,6 +879,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
879
|
method?: "GET" | "POST" | undefined;
|
|
873
880
|
timeoutMs?: number | undefined;
|
|
874
881
|
} | null | undefined;
|
|
882
|
+
description?: string | undefined;
|
|
883
|
+
validation?: string[] | undefined;
|
|
875
884
|
notify?: {
|
|
876
885
|
title?: string | undefined;
|
|
877
886
|
body?: string | undefined;
|
|
@@ -880,6 +889,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
880
889
|
}>, {
|
|
881
890
|
config: {
|
|
882
891
|
question: string;
|
|
892
|
+
id: string;
|
|
883
893
|
answer: string | {
|
|
884
894
|
type: "rich";
|
|
885
895
|
html: string;
|
|
@@ -895,7 +905,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
895
905
|
alt?: string | undefined;
|
|
896
906
|
}[] | undefined;
|
|
897
907
|
};
|
|
898
|
-
id: string;
|
|
899
908
|
priority?: number | undefined;
|
|
900
909
|
category?: string | undefined;
|
|
901
910
|
answerStrategy?: {
|
|
@@ -906,6 +915,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
906
915
|
} | undefined;
|
|
907
916
|
};
|
|
908
917
|
kind: "faq:question";
|
|
918
|
+
title?: string | undefined;
|
|
909
919
|
triggerWhen?: {
|
|
910
920
|
type: "rules";
|
|
911
921
|
rules: {
|
|
@@ -987,6 +997,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
987
997
|
method?: "GET" | "POST" | undefined;
|
|
988
998
|
timeoutMs?: number | undefined;
|
|
989
999
|
} | null | undefined;
|
|
1000
|
+
description?: string | undefined;
|
|
1001
|
+
validation?: string[] | undefined;
|
|
990
1002
|
notify?: {
|
|
991
1003
|
title?: string | undefined;
|
|
992
1004
|
body?: string | undefined;
|
|
@@ -995,6 +1007,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
995
1007
|
}, {
|
|
996
1008
|
config: {
|
|
997
1009
|
question: string;
|
|
1010
|
+
id: string;
|
|
998
1011
|
answer: string | {
|
|
999
1012
|
type: "rich";
|
|
1000
1013
|
html: string;
|
|
@@ -1010,7 +1023,6 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1010
1023
|
alt?: string | undefined;
|
|
1011
1024
|
}[] | undefined;
|
|
1012
1025
|
};
|
|
1013
|
-
id: string;
|
|
1014
1026
|
priority?: number | undefined;
|
|
1015
1027
|
category?: string | undefined;
|
|
1016
1028
|
answerStrategy?: {
|
|
@@ -1021,6 +1033,7 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1021
1033
|
} | undefined;
|
|
1022
1034
|
};
|
|
1023
1035
|
kind: "faq:question";
|
|
1036
|
+
title?: string | undefined;
|
|
1024
1037
|
triggerWhen?: {
|
|
1025
1038
|
type: "rules";
|
|
1026
1039
|
rules: {
|
|
@@ -1102,6 +1115,8 @@ export declare const FAQQuestionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1102
1115
|
method?: "GET" | "POST" | undefined;
|
|
1103
1116
|
timeoutMs?: number | undefined;
|
|
1104
1117
|
} | null | undefined;
|
|
1118
|
+
description?: string | undefined;
|
|
1119
|
+
validation?: string[] | undefined;
|
|
1105
1120
|
notify?: {
|
|
1106
1121
|
title?: string | undefined;
|
|
1107
1122
|
body?: string | undefined;
|
|
@@ -1210,6 +1225,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1210
1225
|
}>>;
|
|
1211
1226
|
}, "strip", z.ZodTypeAny, {
|
|
1212
1227
|
question: string;
|
|
1228
|
+
id: string;
|
|
1213
1229
|
answer: string | {
|
|
1214
1230
|
type: "rich";
|
|
1215
1231
|
html: string;
|
|
@@ -1225,7 +1241,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1225
1241
|
alt?: string | undefined;
|
|
1226
1242
|
}[] | undefined;
|
|
1227
1243
|
};
|
|
1228
|
-
id: string;
|
|
1229
1244
|
priority?: number | undefined;
|
|
1230
1245
|
category?: string | undefined;
|
|
1231
1246
|
answerStrategy?: {
|
|
@@ -1236,6 +1251,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1236
1251
|
} | undefined;
|
|
1237
1252
|
}, {
|
|
1238
1253
|
question: string;
|
|
1254
|
+
id: string;
|
|
1239
1255
|
answer: string | {
|
|
1240
1256
|
type: "rich";
|
|
1241
1257
|
html: string;
|
|
@@ -1251,7 +1267,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1251
1267
|
alt?: string | undefined;
|
|
1252
1268
|
}[] | undefined;
|
|
1253
1269
|
};
|
|
1254
|
-
id: string;
|
|
1255
1270
|
priority?: number | undefined;
|
|
1256
1271
|
category?: string | undefined;
|
|
1257
1272
|
answerStrategy?: {
|
|
@@ -1761,9 +1776,13 @@ 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;
|
|
1785
|
+
id: string;
|
|
1767
1786
|
answer: string | {
|
|
1768
1787
|
type: "rich";
|
|
1769
1788
|
html: string;
|
|
@@ -1779,7 +1798,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1779
1798
|
alt?: string | undefined;
|
|
1780
1799
|
}[] | undefined;
|
|
1781
1800
|
};
|
|
1782
|
-
id: string;
|
|
1783
1801
|
priority?: number | undefined;
|
|
1784
1802
|
category?: string | undefined;
|
|
1785
1803
|
answerStrategy?: {
|
|
@@ -1790,6 +1808,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1790
1808
|
} | undefined;
|
|
1791
1809
|
};
|
|
1792
1810
|
kind: "faq:question";
|
|
1811
|
+
title?: string | undefined;
|
|
1793
1812
|
triggerWhen?: {
|
|
1794
1813
|
type: "rules";
|
|
1795
1814
|
rules: {
|
|
@@ -1871,6 +1890,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1871
1890
|
method?: "GET" | "POST" | undefined;
|
|
1872
1891
|
timeoutMs?: number | undefined;
|
|
1873
1892
|
} | null | undefined;
|
|
1893
|
+
description?: string | undefined;
|
|
1894
|
+
validation?: string[] | undefined;
|
|
1874
1895
|
notify?: {
|
|
1875
1896
|
title?: string | undefined;
|
|
1876
1897
|
body?: string | undefined;
|
|
@@ -1879,6 +1900,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1879
1900
|
}, {
|
|
1880
1901
|
config: {
|
|
1881
1902
|
question: string;
|
|
1903
|
+
id: string;
|
|
1882
1904
|
answer: string | {
|
|
1883
1905
|
type: "rich";
|
|
1884
1906
|
html: string;
|
|
@@ -1894,7 +1916,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1894
1916
|
alt?: string | undefined;
|
|
1895
1917
|
}[] | undefined;
|
|
1896
1918
|
};
|
|
1897
|
-
id: string;
|
|
1898
1919
|
priority?: number | undefined;
|
|
1899
1920
|
category?: string | undefined;
|
|
1900
1921
|
answerStrategy?: {
|
|
@@ -1905,6 +1926,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1905
1926
|
} | undefined;
|
|
1906
1927
|
};
|
|
1907
1928
|
kind: "faq:question";
|
|
1929
|
+
title?: string | undefined;
|
|
1908
1930
|
triggerWhen?: {
|
|
1909
1931
|
type: "rules";
|
|
1910
1932
|
rules: {
|
|
@@ -1986,6 +2008,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1986
2008
|
method?: "GET" | "POST" | undefined;
|
|
1987
2009
|
timeoutMs?: number | undefined;
|
|
1988
2010
|
} | null | undefined;
|
|
2011
|
+
description?: string | undefined;
|
|
2012
|
+
validation?: string[] | undefined;
|
|
1989
2013
|
notify?: {
|
|
1990
2014
|
title?: string | undefined;
|
|
1991
2015
|
body?: string | undefined;
|
|
@@ -1994,6 +2018,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1994
2018
|
}>, {
|
|
1995
2019
|
config: {
|
|
1996
2020
|
question: string;
|
|
2021
|
+
id: string;
|
|
1997
2022
|
answer: string | {
|
|
1998
2023
|
type: "rich";
|
|
1999
2024
|
html: string;
|
|
@@ -2009,7 +2034,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2009
2034
|
alt?: string | undefined;
|
|
2010
2035
|
}[] | undefined;
|
|
2011
2036
|
};
|
|
2012
|
-
id: string;
|
|
2013
2037
|
priority?: number | undefined;
|
|
2014
2038
|
category?: string | undefined;
|
|
2015
2039
|
answerStrategy?: {
|
|
@@ -2020,6 +2044,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2020
2044
|
} | undefined;
|
|
2021
2045
|
};
|
|
2022
2046
|
kind: "faq:question";
|
|
2047
|
+
title?: string | undefined;
|
|
2023
2048
|
triggerWhen?: {
|
|
2024
2049
|
type: "rules";
|
|
2025
2050
|
rules: {
|
|
@@ -2101,6 +2126,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2101
2126
|
method?: "GET" | "POST" | undefined;
|
|
2102
2127
|
timeoutMs?: number | undefined;
|
|
2103
2128
|
} | null | undefined;
|
|
2129
|
+
description?: string | undefined;
|
|
2130
|
+
validation?: string[] | undefined;
|
|
2104
2131
|
notify?: {
|
|
2105
2132
|
title?: string | undefined;
|
|
2106
2133
|
body?: string | undefined;
|
|
@@ -2109,6 +2136,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2109
2136
|
}, {
|
|
2110
2137
|
config: {
|
|
2111
2138
|
question: string;
|
|
2139
|
+
id: string;
|
|
2112
2140
|
answer: string | {
|
|
2113
2141
|
type: "rich";
|
|
2114
2142
|
html: string;
|
|
@@ -2124,7 +2152,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2124
2152
|
alt?: string | undefined;
|
|
2125
2153
|
}[] | undefined;
|
|
2126
2154
|
};
|
|
2127
|
-
id: string;
|
|
2128
2155
|
priority?: number | undefined;
|
|
2129
2156
|
category?: string | undefined;
|
|
2130
2157
|
answerStrategy?: {
|
|
@@ -2135,6 +2162,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2135
2162
|
} | undefined;
|
|
2136
2163
|
};
|
|
2137
2164
|
kind: "faq:question";
|
|
2165
|
+
title?: string | undefined;
|
|
2138
2166
|
triggerWhen?: {
|
|
2139
2167
|
type: "rules";
|
|
2140
2168
|
rules: {
|
|
@@ -2216,6 +2244,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2216
2244
|
method?: "GET" | "POST" | undefined;
|
|
2217
2245
|
timeoutMs?: number | undefined;
|
|
2218
2246
|
} | null | undefined;
|
|
2247
|
+
description?: string | undefined;
|
|
2248
|
+
validation?: string[] | undefined;
|
|
2219
2249
|
notify?: {
|
|
2220
2250
|
title?: string | undefined;
|
|
2221
2251
|
body?: string | undefined;
|
|
@@ -2819,6 +2849,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2819
2849
|
}>>;
|
|
2820
2850
|
}, "strip", z.ZodTypeAny, {
|
|
2821
2851
|
question: string;
|
|
2852
|
+
id: string;
|
|
2822
2853
|
answer: string | {
|
|
2823
2854
|
type: "rich";
|
|
2824
2855
|
html: string;
|
|
@@ -2834,7 +2865,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2834
2865
|
alt?: string | undefined;
|
|
2835
2866
|
}[] | undefined;
|
|
2836
2867
|
};
|
|
2837
|
-
id: string;
|
|
2838
2868
|
priority?: number | undefined;
|
|
2839
2869
|
category?: string | undefined;
|
|
2840
2870
|
answerStrategy?: {
|
|
@@ -2845,6 +2875,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2845
2875
|
} | undefined;
|
|
2846
2876
|
}, {
|
|
2847
2877
|
question: string;
|
|
2878
|
+
id: string;
|
|
2848
2879
|
answer: string | {
|
|
2849
2880
|
type: "rich";
|
|
2850
2881
|
html: string;
|
|
@@ -2860,7 +2891,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2860
2891
|
alt?: string | undefined;
|
|
2861
2892
|
}[] | undefined;
|
|
2862
2893
|
};
|
|
2863
|
-
id: string;
|
|
2864
2894
|
priority?: number | undefined;
|
|
2865
2895
|
category?: string | undefined;
|
|
2866
2896
|
answerStrategy?: {
|
|
@@ -3370,9 +3400,13 @@ 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;
|
|
3409
|
+
id: string;
|
|
3376
3410
|
answer: string | {
|
|
3377
3411
|
type: "rich";
|
|
3378
3412
|
html: string;
|
|
@@ -3388,7 +3422,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3388
3422
|
alt?: string | undefined;
|
|
3389
3423
|
}[] | undefined;
|
|
3390
3424
|
};
|
|
3391
|
-
id: string;
|
|
3392
3425
|
priority?: number | undefined;
|
|
3393
3426
|
category?: string | undefined;
|
|
3394
3427
|
answerStrategy?: {
|
|
@@ -3399,6 +3432,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3399
3432
|
} | undefined;
|
|
3400
3433
|
};
|
|
3401
3434
|
kind: "faq:question";
|
|
3435
|
+
title?: string | undefined;
|
|
3402
3436
|
triggerWhen?: {
|
|
3403
3437
|
type: "rules";
|
|
3404
3438
|
rules: {
|
|
@@ -3480,6 +3514,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3480
3514
|
method?: "GET" | "POST" | undefined;
|
|
3481
3515
|
timeoutMs?: number | undefined;
|
|
3482
3516
|
} | null | undefined;
|
|
3517
|
+
description?: string | undefined;
|
|
3518
|
+
validation?: string[] | undefined;
|
|
3483
3519
|
notify?: {
|
|
3484
3520
|
title?: string | undefined;
|
|
3485
3521
|
body?: string | undefined;
|
|
@@ -3488,6 +3524,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3488
3524
|
}, {
|
|
3489
3525
|
config: {
|
|
3490
3526
|
question: string;
|
|
3527
|
+
id: string;
|
|
3491
3528
|
answer: string | {
|
|
3492
3529
|
type: "rich";
|
|
3493
3530
|
html: string;
|
|
@@ -3503,7 +3540,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3503
3540
|
alt?: string | undefined;
|
|
3504
3541
|
}[] | undefined;
|
|
3505
3542
|
};
|
|
3506
|
-
id: string;
|
|
3507
3543
|
priority?: number | undefined;
|
|
3508
3544
|
category?: string | undefined;
|
|
3509
3545
|
answerStrategy?: {
|
|
@@ -3514,6 +3550,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3514
3550
|
} | undefined;
|
|
3515
3551
|
};
|
|
3516
3552
|
kind: "faq:question";
|
|
3553
|
+
title?: string | undefined;
|
|
3517
3554
|
triggerWhen?: {
|
|
3518
3555
|
type: "rules";
|
|
3519
3556
|
rules: {
|
|
@@ -3595,6 +3632,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3595
3632
|
method?: "GET" | "POST" | undefined;
|
|
3596
3633
|
timeoutMs?: number | undefined;
|
|
3597
3634
|
} | null | undefined;
|
|
3635
|
+
description?: string | undefined;
|
|
3636
|
+
validation?: string[] | undefined;
|
|
3598
3637
|
notify?: {
|
|
3599
3638
|
title?: string | undefined;
|
|
3600
3639
|
body?: string | undefined;
|
|
@@ -3603,6 +3642,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3603
3642
|
}>, {
|
|
3604
3643
|
config: {
|
|
3605
3644
|
question: string;
|
|
3645
|
+
id: string;
|
|
3606
3646
|
answer: string | {
|
|
3607
3647
|
type: "rich";
|
|
3608
3648
|
html: string;
|
|
@@ -3618,7 +3658,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3618
3658
|
alt?: string | undefined;
|
|
3619
3659
|
}[] | undefined;
|
|
3620
3660
|
};
|
|
3621
|
-
id: string;
|
|
3622
3661
|
priority?: number | undefined;
|
|
3623
3662
|
category?: string | undefined;
|
|
3624
3663
|
answerStrategy?: {
|
|
@@ -3629,6 +3668,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3629
3668
|
} | undefined;
|
|
3630
3669
|
};
|
|
3631
3670
|
kind: "faq:question";
|
|
3671
|
+
title?: string | undefined;
|
|
3632
3672
|
triggerWhen?: {
|
|
3633
3673
|
type: "rules";
|
|
3634
3674
|
rules: {
|
|
@@ -3710,6 +3750,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3710
3750
|
method?: "GET" | "POST" | undefined;
|
|
3711
3751
|
timeoutMs?: number | undefined;
|
|
3712
3752
|
} | null | undefined;
|
|
3753
|
+
description?: string | undefined;
|
|
3754
|
+
validation?: string[] | undefined;
|
|
3713
3755
|
notify?: {
|
|
3714
3756
|
title?: string | undefined;
|
|
3715
3757
|
body?: string | undefined;
|
|
@@ -3718,6 +3760,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3718
3760
|
}, {
|
|
3719
3761
|
config: {
|
|
3720
3762
|
question: string;
|
|
3763
|
+
id: string;
|
|
3721
3764
|
answer: string | {
|
|
3722
3765
|
type: "rich";
|
|
3723
3766
|
html: string;
|
|
@@ -3733,7 +3776,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3733
3776
|
alt?: string | undefined;
|
|
3734
3777
|
}[] | undefined;
|
|
3735
3778
|
};
|
|
3736
|
-
id: string;
|
|
3737
3779
|
priority?: number | undefined;
|
|
3738
3780
|
category?: string | undefined;
|
|
3739
3781
|
answerStrategy?: {
|
|
@@ -3744,6 +3786,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3744
3786
|
} | undefined;
|
|
3745
3787
|
};
|
|
3746
3788
|
kind: "faq:question";
|
|
3789
|
+
title?: string | undefined;
|
|
3747
3790
|
triggerWhen?: {
|
|
3748
3791
|
type: "rules";
|
|
3749
3792
|
rules: {
|
|
@@ -3825,6 +3868,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3825
3868
|
method?: "GET" | "POST" | undefined;
|
|
3826
3869
|
timeoutMs?: number | undefined;
|
|
3827
3870
|
} | null | undefined;
|
|
3871
|
+
description?: string | undefined;
|
|
3872
|
+
validation?: string[] | undefined;
|
|
3828
3873
|
notify?: {
|
|
3829
3874
|
title?: string | undefined;
|
|
3830
3875
|
body?: string | undefined;
|
|
@@ -3837,6 +3882,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3837
3882
|
items: {
|
|
3838
3883
|
config: {
|
|
3839
3884
|
question: string;
|
|
3885
|
+
id: string;
|
|
3840
3886
|
answer: string | {
|
|
3841
3887
|
type: "rich";
|
|
3842
3888
|
html: string;
|
|
@@ -3852,7 +3898,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3852
3898
|
alt?: string | undefined;
|
|
3853
3899
|
}[] | undefined;
|
|
3854
3900
|
};
|
|
3855
|
-
id: string;
|
|
3856
3901
|
priority?: number | undefined;
|
|
3857
3902
|
category?: string | undefined;
|
|
3858
3903
|
answerStrategy?: {
|
|
@@ -3863,6 +3908,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3863
3908
|
} | undefined;
|
|
3864
3909
|
};
|
|
3865
3910
|
kind: "faq:question";
|
|
3911
|
+
title?: string | undefined;
|
|
3866
3912
|
triggerWhen?: {
|
|
3867
3913
|
type: "rules";
|
|
3868
3914
|
rules: {
|
|
@@ -3944,6 +3990,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
3944
3990
|
method?: "GET" | "POST" | undefined;
|
|
3945
3991
|
timeoutMs?: number | undefined;
|
|
3946
3992
|
} | null | undefined;
|
|
3993
|
+
description?: string | undefined;
|
|
3994
|
+
validation?: string[] | undefined;
|
|
3947
3995
|
notify?: {
|
|
3948
3996
|
title?: string | undefined;
|
|
3949
3997
|
body?: string | undefined;
|
|
@@ -4037,6 +4085,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4037
4085
|
items: {
|
|
4038
4086
|
config: {
|
|
4039
4087
|
question: string;
|
|
4088
|
+
id: string;
|
|
4040
4089
|
answer: string | {
|
|
4041
4090
|
type: "rich";
|
|
4042
4091
|
html: string;
|
|
@@ -4052,7 +4101,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4052
4101
|
alt?: string | undefined;
|
|
4053
4102
|
}[] | undefined;
|
|
4054
4103
|
};
|
|
4055
|
-
id: string;
|
|
4056
4104
|
priority?: number | undefined;
|
|
4057
4105
|
category?: string | undefined;
|
|
4058
4106
|
answerStrategy?: {
|
|
@@ -4063,6 +4111,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4063
4111
|
} | undefined;
|
|
4064
4112
|
};
|
|
4065
4113
|
kind: "faq:question";
|
|
4114
|
+
title?: string | undefined;
|
|
4066
4115
|
triggerWhen?: {
|
|
4067
4116
|
type: "rules";
|
|
4068
4117
|
rules: {
|
|
@@ -4144,6 +4193,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4144
4193
|
method?: "GET" | "POST" | undefined;
|
|
4145
4194
|
timeoutMs?: number | undefined;
|
|
4146
4195
|
} | null | undefined;
|
|
4196
|
+
description?: string | undefined;
|
|
4197
|
+
validation?: string[] | undefined;
|
|
4147
4198
|
notify?: {
|
|
4148
4199
|
title?: string | undefined;
|
|
4149
4200
|
body?: string | undefined;
|
|
@@ -4241,6 +4292,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4241
4292
|
actions: {
|
|
4242
4293
|
config: {
|
|
4243
4294
|
question: string;
|
|
4295
|
+
id: string;
|
|
4244
4296
|
answer: string | {
|
|
4245
4297
|
type: "rich";
|
|
4246
4298
|
html: string;
|
|
@@ -4256,7 +4308,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4256
4308
|
alt?: string | undefined;
|
|
4257
4309
|
}[] | undefined;
|
|
4258
4310
|
};
|
|
4259
|
-
id: string;
|
|
4260
4311
|
priority?: number | undefined;
|
|
4261
4312
|
category?: string | undefined;
|
|
4262
4313
|
answerStrategy?: {
|
|
@@ -4267,6 +4318,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4267
4318
|
} | undefined;
|
|
4268
4319
|
};
|
|
4269
4320
|
kind: "faq:question";
|
|
4321
|
+
title?: string | undefined;
|
|
4270
4322
|
triggerWhen?: {
|
|
4271
4323
|
type: "rules";
|
|
4272
4324
|
rules: {
|
|
@@ -4348,12 +4400,15 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4348
4400
|
method?: "GET" | "POST" | undefined;
|
|
4349
4401
|
timeoutMs?: number | undefined;
|
|
4350
4402
|
} | null | undefined;
|
|
4403
|
+
description?: string | undefined;
|
|
4404
|
+
validation?: string[] | undefined;
|
|
4351
4405
|
notify?: {
|
|
4352
4406
|
title?: string | undefined;
|
|
4353
4407
|
body?: string | undefined;
|
|
4354
4408
|
icon?: string | undefined;
|
|
4355
4409
|
} | null | undefined;
|
|
4356
4410
|
}[];
|
|
4411
|
+
title?: string | undefined;
|
|
4357
4412
|
feedback?: boolean | {
|
|
4358
4413
|
style: "thumbs" | "rating";
|
|
4359
4414
|
prompt?: string | undefined;
|
|
@@ -4366,6 +4421,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4366
4421
|
items: {
|
|
4367
4422
|
config: {
|
|
4368
4423
|
question: string;
|
|
4424
|
+
id: string;
|
|
4369
4425
|
answer: string | {
|
|
4370
4426
|
type: "rich";
|
|
4371
4427
|
html: string;
|
|
@@ -4381,7 +4437,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4381
4437
|
alt?: string | undefined;
|
|
4382
4438
|
}[] | undefined;
|
|
4383
4439
|
};
|
|
4384
|
-
id: string;
|
|
4385
4440
|
priority?: number | undefined;
|
|
4386
4441
|
category?: string | undefined;
|
|
4387
4442
|
answerStrategy?: {
|
|
@@ -4392,6 +4447,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4392
4447
|
} | undefined;
|
|
4393
4448
|
};
|
|
4394
4449
|
kind: "faq:question";
|
|
4450
|
+
title?: string | undefined;
|
|
4395
4451
|
triggerWhen?: {
|
|
4396
4452
|
type: "rules";
|
|
4397
4453
|
rules: {
|
|
@@ -4473,6 +4529,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4473
4529
|
method?: "GET" | "POST" | undefined;
|
|
4474
4530
|
timeoutMs?: number | undefined;
|
|
4475
4531
|
} | null | undefined;
|
|
4532
|
+
description?: string | undefined;
|
|
4533
|
+
validation?: string[] | undefined;
|
|
4476
4534
|
notify?: {
|
|
4477
4535
|
title?: string | undefined;
|
|
4478
4536
|
body?: string | undefined;
|
|
@@ -4563,14 +4621,15 @@ 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?: {
|
|
4572
4630
|
config: {
|
|
4573
4631
|
question: string;
|
|
4632
|
+
id: string;
|
|
4574
4633
|
answer: string | {
|
|
4575
4634
|
type: "rich";
|
|
4576
4635
|
html: string;
|
|
@@ -4586,7 +4645,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4586
4645
|
alt?: string | undefined;
|
|
4587
4646
|
}[] | undefined;
|
|
4588
4647
|
};
|
|
4589
|
-
id: string;
|
|
4590
4648
|
priority?: number | undefined;
|
|
4591
4649
|
category?: string | undefined;
|
|
4592
4650
|
answerStrategy?: {
|
|
@@ -4597,6 +4655,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4597
4655
|
} | undefined;
|
|
4598
4656
|
};
|
|
4599
4657
|
kind: "faq:question";
|
|
4658
|
+
title?: string | undefined;
|
|
4600
4659
|
triggerWhen?: {
|
|
4601
4660
|
type: "rules";
|
|
4602
4661
|
rules: {
|
|
@@ -4678,6 +4737,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4678
4737
|
method?: "GET" | "POST" | undefined;
|
|
4679
4738
|
timeoutMs?: number | undefined;
|
|
4680
4739
|
} | null | undefined;
|
|
4740
|
+
description?: string | undefined;
|
|
4741
|
+
validation?: string[] | undefined;
|
|
4681
4742
|
notify?: {
|
|
4682
4743
|
title?: string | undefined;
|
|
4683
4744
|
body?: string | undefined;
|
|
@@ -4696,6 +4757,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4696
4757
|
items: {
|
|
4697
4758
|
config: {
|
|
4698
4759
|
question: string;
|
|
4760
|
+
id: string;
|
|
4699
4761
|
answer: string | {
|
|
4700
4762
|
type: "rich";
|
|
4701
4763
|
html: string;
|
|
@@ -4711,7 +4773,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4711
4773
|
alt?: string | undefined;
|
|
4712
4774
|
}[] | undefined;
|
|
4713
4775
|
};
|
|
4714
|
-
id: string;
|
|
4715
4776
|
priority?: number | undefined;
|
|
4716
4777
|
category?: string | undefined;
|
|
4717
4778
|
answerStrategy?: {
|
|
@@ -4722,6 +4783,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4722
4783
|
} | undefined;
|
|
4723
4784
|
};
|
|
4724
4785
|
kind: "faq:question";
|
|
4786
|
+
title?: string | undefined;
|
|
4725
4787
|
triggerWhen?: {
|
|
4726
4788
|
type: "rules";
|
|
4727
4789
|
rules: {
|
|
@@ -4803,6 +4865,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
4803
4865
|
method?: "GET" | "POST" | undefined;
|
|
4804
4866
|
timeoutMs?: number | undefined;
|
|
4805
4867
|
} | null | undefined;
|
|
4868
|
+
description?: string | undefined;
|
|
4869
|
+
validation?: string[] | undefined;
|
|
4806
4870
|
notify?: {
|
|
4807
4871
|
title?: string | undefined;
|
|
4808
4872
|
body?: string | undefined;
|
|
@@ -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
|
+
description?: string | undefined;
|
|
4981
|
+
validation?: 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
|
+
description?: string | undefined;
|
|
4990
|
+
validation?: 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
|
+
description?: string | undefined;
|
|
4999
|
+
validation?: 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
|
+
description?: string | undefined;
|
|
5008
|
+
validation?: 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
5025
|
state: "open" | "closed" | "toggle";
|
|
4945
5026
|
kind: "faq:toggle_item";
|
|
4946
5027
|
itemId?: string | undefined;
|
|
5028
|
+
title?: string | undefined;
|
|
5029
|
+
description?: string | undefined;
|
|
5030
|
+
validation?: string[] | undefined;
|
|
4947
5031
|
itemQuestion?: string | undefined;
|
|
4948
5032
|
}, {
|
|
4949
5033
|
kind: "faq:toggle_item";
|
|
4950
5034
|
itemId?: string | undefined;
|
|
5035
|
+
title?: string | undefined;
|
|
4951
5036
|
state?: "open" | "closed" | "toggle" | undefined;
|
|
5037
|
+
description?: string | undefined;
|
|
5038
|
+
validation?: string[] | undefined;
|
|
4952
5039
|
itemQuestion?: string | undefined;
|
|
4953
5040
|
}>, {
|
|
4954
5041
|
state: "open" | "closed" | "toggle";
|
|
4955
5042
|
kind: "faq:toggle_item";
|
|
4956
5043
|
itemId?: string | undefined;
|
|
5044
|
+
title?: string | undefined;
|
|
5045
|
+
description?: string | undefined;
|
|
5046
|
+
validation?: string[] | undefined;
|
|
4957
5047
|
itemQuestion?: string | undefined;
|
|
4958
5048
|
}, {
|
|
4959
5049
|
kind: "faq:toggle_item";
|
|
4960
5050
|
itemId?: string | undefined;
|
|
5051
|
+
title?: string | undefined;
|
|
4961
5052
|
state?: "open" | "closed" | "toggle" | undefined;
|
|
5053
|
+
description?: string | undefined;
|
|
5054
|
+
validation?: string[] | undefined;
|
|
4962
5055
|
itemQuestion?: string | 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<{
|
|
@@ -5055,6 +5153,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5055
5153
|
}>>;
|
|
5056
5154
|
}, "strip", z.ZodTypeAny, {
|
|
5057
5155
|
question: string;
|
|
5156
|
+
id: string;
|
|
5058
5157
|
answer: string | {
|
|
5059
5158
|
type: "rich";
|
|
5060
5159
|
html: string;
|
|
@@ -5070,7 +5169,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5070
5169
|
alt?: string | undefined;
|
|
5071
5170
|
}[] | undefined;
|
|
5072
5171
|
};
|
|
5073
|
-
id: string;
|
|
5074
5172
|
priority?: number | undefined;
|
|
5075
5173
|
category?: string | undefined;
|
|
5076
5174
|
answerStrategy?: {
|
|
@@ -5081,6 +5179,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5081
5179
|
} | undefined;
|
|
5082
5180
|
}, {
|
|
5083
5181
|
question: string;
|
|
5182
|
+
id: string;
|
|
5084
5183
|
answer: string | {
|
|
5085
5184
|
type: "rich";
|
|
5086
5185
|
html: string;
|
|
@@ -5096,7 +5195,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5096
5195
|
alt?: string | undefined;
|
|
5097
5196
|
}[] | undefined;
|
|
5098
5197
|
};
|
|
5099
|
-
id: string;
|
|
5100
5198
|
priority?: number | undefined;
|
|
5101
5199
|
category?: string | undefined;
|
|
5102
5200
|
answerStrategy?: {
|
|
@@ -5606,9 +5704,13 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5606
5704
|
body?: string | undefined;
|
|
5607
5705
|
icon?: string | undefined;
|
|
5608
5706
|
}>>>;
|
|
5707
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5708
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5709
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5609
5710
|
}, "strip", z.ZodTypeAny, {
|
|
5610
5711
|
config: {
|
|
5611
5712
|
question: string;
|
|
5713
|
+
id: string;
|
|
5612
5714
|
answer: string | {
|
|
5613
5715
|
type: "rich";
|
|
5614
5716
|
html: string;
|
|
@@ -5624,7 +5726,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5624
5726
|
alt?: string | undefined;
|
|
5625
5727
|
}[] | undefined;
|
|
5626
5728
|
};
|
|
5627
|
-
id: string;
|
|
5628
5729
|
priority?: number | undefined;
|
|
5629
5730
|
category?: string | undefined;
|
|
5630
5731
|
answerStrategy?: {
|
|
@@ -5635,6 +5736,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5635
5736
|
} | undefined;
|
|
5636
5737
|
};
|
|
5637
5738
|
kind: "faq:question";
|
|
5739
|
+
title?: string | undefined;
|
|
5638
5740
|
triggerWhen?: {
|
|
5639
5741
|
type: "rules";
|
|
5640
5742
|
rules: {
|
|
@@ -5716,6 +5818,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5716
5818
|
method?: "GET" | "POST" | undefined;
|
|
5717
5819
|
timeoutMs?: number | undefined;
|
|
5718
5820
|
} | null | undefined;
|
|
5821
|
+
description?: string | undefined;
|
|
5822
|
+
validation?: string[] | undefined;
|
|
5719
5823
|
notify?: {
|
|
5720
5824
|
title?: string | undefined;
|
|
5721
5825
|
body?: string | undefined;
|
|
@@ -5724,6 +5828,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5724
5828
|
}, {
|
|
5725
5829
|
config: {
|
|
5726
5830
|
question: string;
|
|
5831
|
+
id: string;
|
|
5727
5832
|
answer: string | {
|
|
5728
5833
|
type: "rich";
|
|
5729
5834
|
html: string;
|
|
@@ -5739,7 +5844,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5739
5844
|
alt?: string | undefined;
|
|
5740
5845
|
}[] | undefined;
|
|
5741
5846
|
};
|
|
5742
|
-
id: string;
|
|
5743
5847
|
priority?: number | undefined;
|
|
5744
5848
|
category?: string | undefined;
|
|
5745
5849
|
answerStrategy?: {
|
|
@@ -5750,6 +5854,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5750
5854
|
} | undefined;
|
|
5751
5855
|
};
|
|
5752
5856
|
kind: "faq:question";
|
|
5857
|
+
title?: string | undefined;
|
|
5753
5858
|
triggerWhen?: {
|
|
5754
5859
|
type: "rules";
|
|
5755
5860
|
rules: {
|
|
@@ -5831,6 +5936,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5831
5936
|
method?: "GET" | "POST" | undefined;
|
|
5832
5937
|
timeoutMs?: number | undefined;
|
|
5833
5938
|
} | null | undefined;
|
|
5939
|
+
description?: string | undefined;
|
|
5940
|
+
validation?: string[] | undefined;
|
|
5834
5941
|
notify?: {
|
|
5835
5942
|
title?: string | undefined;
|
|
5836
5943
|
body?: string | undefined;
|
|
@@ -5839,6 +5946,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5839
5946
|
}>, {
|
|
5840
5947
|
config: {
|
|
5841
5948
|
question: string;
|
|
5949
|
+
id: string;
|
|
5842
5950
|
answer: string | {
|
|
5843
5951
|
type: "rich";
|
|
5844
5952
|
html: string;
|
|
@@ -5854,7 +5962,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5854
5962
|
alt?: string | undefined;
|
|
5855
5963
|
}[] | undefined;
|
|
5856
5964
|
};
|
|
5857
|
-
id: string;
|
|
5858
5965
|
priority?: number | undefined;
|
|
5859
5966
|
category?: string | undefined;
|
|
5860
5967
|
answerStrategy?: {
|
|
@@ -5865,6 +5972,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5865
5972
|
} | undefined;
|
|
5866
5973
|
};
|
|
5867
5974
|
kind: "faq:question";
|
|
5975
|
+
title?: string | undefined;
|
|
5868
5976
|
triggerWhen?: {
|
|
5869
5977
|
type: "rules";
|
|
5870
5978
|
rules: {
|
|
@@ -5946,6 +6054,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5946
6054
|
method?: "GET" | "POST" | undefined;
|
|
5947
6055
|
timeoutMs?: number | undefined;
|
|
5948
6056
|
} | null | undefined;
|
|
6057
|
+
description?: string | undefined;
|
|
6058
|
+
validation?: string[] | undefined;
|
|
5949
6059
|
notify?: {
|
|
5950
6060
|
title?: string | undefined;
|
|
5951
6061
|
body?: string | undefined;
|
|
@@ -5954,6 +6064,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5954
6064
|
}, {
|
|
5955
6065
|
config: {
|
|
5956
6066
|
question: string;
|
|
6067
|
+
id: string;
|
|
5957
6068
|
answer: string | {
|
|
5958
6069
|
type: "rich";
|
|
5959
6070
|
html: string;
|
|
@@ -5969,7 +6080,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5969
6080
|
alt?: string | undefined;
|
|
5970
6081
|
}[] | undefined;
|
|
5971
6082
|
};
|
|
5972
|
-
id: string;
|
|
5973
6083
|
priority?: number | undefined;
|
|
5974
6084
|
category?: string | undefined;
|
|
5975
6085
|
answerStrategy?: {
|
|
@@ -5980,6 +6090,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
5980
6090
|
} | undefined;
|
|
5981
6091
|
};
|
|
5982
6092
|
kind: "faq:question";
|
|
6093
|
+
title?: string | undefined;
|
|
5983
6094
|
triggerWhen?: {
|
|
5984
6095
|
type: "rules";
|
|
5985
6096
|
rules: {
|
|
@@ -6061,6 +6172,8 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6061
6172
|
method?: "GET" | "POST" | undefined;
|
|
6062
6173
|
timeoutMs?: number | undefined;
|
|
6063
6174
|
} | null | undefined;
|
|
6175
|
+
description?: string | undefined;
|
|
6176
|
+
validation?: string[] | undefined;
|
|
6064
6177
|
notify?: {
|
|
6065
6178
|
title?: string | undefined;
|
|
6066
6179
|
body?: string | undefined;
|
|
@@ -6080,13 +6193,16 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6080
6193
|
selector: string;
|
|
6081
6194
|
route: string | string[];
|
|
6082
6195
|
}>>;
|
|
6196
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6198
|
+
validation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6083
6199
|
}, "strip", z.ZodTypeAny, {
|
|
6084
6200
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
6085
6201
|
kind: "faq:update";
|
|
6086
|
-
itemId?: string | undefined;
|
|
6087
6202
|
items?: {
|
|
6088
6203
|
config: {
|
|
6089
6204
|
question: string;
|
|
6205
|
+
id: string;
|
|
6090
6206
|
answer: string | {
|
|
6091
6207
|
type: "rich";
|
|
6092
6208
|
html: string;
|
|
@@ -6102,7 +6218,6 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6102
6218
|
alt?: string | undefined;
|
|
6103
6219
|
}[] | undefined;
|
|
6104
6220
|
};
|
|
6105
|
-
id: string;
|
|
6106
6221
|
priority?: number | undefined;
|
|
6107
6222
|
category?: string | undefined;
|
|
6108
6223
|
answerStrategy?: {
|
|
@@ -6113,6 +6228,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6113
6228
|
} | undefined;
|
|
6114
6229
|
};
|
|
6115
6230
|
kind: "faq:question";
|
|
6231
|
+
title?: string | undefined;
|
|
6116
6232
|
triggerWhen?: {
|
|
6117
6233
|
type: "rules";
|
|
6118
6234
|
rules: {
|
|
@@ -6194,25 +6310,163 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6194
6310
|
method?: "GET" | "POST" | undefined;
|
|
6195
6311
|
timeoutMs?: number | undefined;
|
|
6196
6312
|
} | null | undefined;
|
|
6313
|
+
description?: string | undefined;
|
|
6314
|
+
validation?: string[] | undefined;
|
|
6197
6315
|
notify?: {
|
|
6198
6316
|
title?: string | undefined;
|
|
6199
6317
|
body?: string | undefined;
|
|
6200
6318
|
icon?: string | undefined;
|
|
6201
6319
|
} | null | undefined;
|
|
6202
6320
|
}[] | undefined;
|
|
6321
|
+
itemId?: string | undefined;
|
|
6322
|
+
title?: string | undefined;
|
|
6203
6323
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6204
6324
|
anchorId?: {
|
|
6205
6325
|
selector: string;
|
|
6206
6326
|
route: string | string[];
|
|
6207
6327
|
} | undefined;
|
|
6208
6328
|
order?: string[] | undefined;
|
|
6329
|
+
description?: string | undefined;
|
|
6330
|
+
validation?: string[] | undefined;
|
|
6209
6331
|
}, {
|
|
6210
6332
|
operation: "add" | "remove" | "reorder" | "replace";
|
|
6211
6333
|
kind: "faq:update";
|
|
6334
|
+
items?: {
|
|
6335
|
+
config: {
|
|
6336
|
+
question: string;
|
|
6337
|
+
id: string;
|
|
6338
|
+
answer: string | {
|
|
6339
|
+
type: "rich";
|
|
6340
|
+
html: string;
|
|
6341
|
+
} | {
|
|
6342
|
+
type: "markdown";
|
|
6343
|
+
content: string;
|
|
6344
|
+
assets?: {
|
|
6345
|
+
type: "image" | "video";
|
|
6346
|
+
id: string;
|
|
6347
|
+
src: string;
|
|
6348
|
+
width?: number | undefined;
|
|
6349
|
+
height?: number | undefined;
|
|
6350
|
+
alt?: string | undefined;
|
|
6351
|
+
}[] | undefined;
|
|
6352
|
+
};
|
|
6353
|
+
priority?: number | undefined;
|
|
6354
|
+
category?: string | undefined;
|
|
6355
|
+
answerStrategy?: {
|
|
6356
|
+
endpoint: string;
|
|
6357
|
+
context?: string[] | undefined;
|
|
6358
|
+
cache?: "none" | "session" | undefined;
|
|
6359
|
+
fallback?: string | undefined;
|
|
6360
|
+
} | undefined;
|
|
6361
|
+
};
|
|
6362
|
+
kind: "faq:question";
|
|
6363
|
+
title?: string | undefined;
|
|
6364
|
+
triggerWhen?: {
|
|
6365
|
+
type: "rules";
|
|
6366
|
+
rules: {
|
|
6367
|
+
conditions: ({
|
|
6368
|
+
type: "page_url";
|
|
6369
|
+
url: string;
|
|
6370
|
+
} | {
|
|
6371
|
+
type: "route";
|
|
6372
|
+
routeId: string;
|
|
6373
|
+
} | {
|
|
6374
|
+
type: "anchor_visible";
|
|
6375
|
+
anchorId: string;
|
|
6376
|
+
state: "visible" | "present" | "absent";
|
|
6377
|
+
} | {
|
|
6378
|
+
type: "event_occurred";
|
|
6379
|
+
eventName: string;
|
|
6380
|
+
withinMs?: number | undefined;
|
|
6381
|
+
} | {
|
|
6382
|
+
type: "state_equals";
|
|
6383
|
+
key: string;
|
|
6384
|
+
value?: unknown;
|
|
6385
|
+
} | {
|
|
6386
|
+
type: "viewport";
|
|
6387
|
+
minWidth?: number | undefined;
|
|
6388
|
+
maxWidth?: number | undefined;
|
|
6389
|
+
minHeight?: number | undefined;
|
|
6390
|
+
maxHeight?: number | undefined;
|
|
6391
|
+
} | {
|
|
6392
|
+
type: "session_metric";
|
|
6393
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
6394
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
6395
|
+
threshold: number;
|
|
6396
|
+
} | {
|
|
6397
|
+
type: "dismissed";
|
|
6398
|
+
key: string;
|
|
6399
|
+
inverted?: boolean | undefined;
|
|
6400
|
+
} | {
|
|
6401
|
+
type: "cooldown_active";
|
|
6402
|
+
key: string;
|
|
6403
|
+
inverted?: boolean | undefined;
|
|
6404
|
+
} | {
|
|
6405
|
+
type: "frequency_limit";
|
|
6406
|
+
key: string;
|
|
6407
|
+
limit: number;
|
|
6408
|
+
inverted?: boolean | undefined;
|
|
6409
|
+
} | {
|
|
6410
|
+
type: "event_count";
|
|
6411
|
+
key: string;
|
|
6412
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
6413
|
+
count: number;
|
|
6414
|
+
withinMs?: number | undefined;
|
|
6415
|
+
counter?: {
|
|
6416
|
+
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")[];
|
|
6417
|
+
match?: Record<string, {
|
|
6418
|
+
equals?: string | number | boolean | undefined;
|
|
6419
|
+
contains?: string | undefined;
|
|
6420
|
+
}> | undefined;
|
|
6421
|
+
} | undefined;
|
|
6422
|
+
})[];
|
|
6423
|
+
value?: unknown;
|
|
6424
|
+
}[];
|
|
6425
|
+
default?: unknown;
|
|
6426
|
+
} | {
|
|
6427
|
+
type: "score";
|
|
6428
|
+
threshold: number;
|
|
6429
|
+
field: string;
|
|
6430
|
+
above?: unknown;
|
|
6431
|
+
below?: unknown;
|
|
6432
|
+
} | {
|
|
6433
|
+
type: "model";
|
|
6434
|
+
modelId: string;
|
|
6435
|
+
inputs: string[];
|
|
6436
|
+
outputMapping: Record<string, unknown>;
|
|
6437
|
+
default?: unknown;
|
|
6438
|
+
} | {
|
|
6439
|
+
type: "external";
|
|
6440
|
+
endpoint: string;
|
|
6441
|
+
default?: unknown;
|
|
6442
|
+
method?: "GET" | "POST" | undefined;
|
|
6443
|
+
timeoutMs?: number | undefined;
|
|
6444
|
+
} | null | undefined;
|
|
6445
|
+
description?: string | undefined;
|
|
6446
|
+
validation?: string[] | undefined;
|
|
6447
|
+
notify?: {
|
|
6448
|
+
title?: string | undefined;
|
|
6449
|
+
body?: string | undefined;
|
|
6450
|
+
icon?: string | undefined;
|
|
6451
|
+
} | null | undefined;
|
|
6452
|
+
}[] | undefined;
|
|
6212
6453
|
itemId?: string | undefined;
|
|
6454
|
+
title?: string | undefined;
|
|
6455
|
+
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6456
|
+
anchorId?: {
|
|
6457
|
+
selector: string;
|
|
6458
|
+
route: string | string[];
|
|
6459
|
+
} | undefined;
|
|
6460
|
+
order?: string[] | undefined;
|
|
6461
|
+
description?: string | undefined;
|
|
6462
|
+
validation?: string[] | undefined;
|
|
6463
|
+
}>, {
|
|
6464
|
+
operation: "add" | "remove" | "reorder" | "replace";
|
|
6465
|
+
kind: "faq:update";
|
|
6213
6466
|
items?: {
|
|
6214
6467
|
config: {
|
|
6215
6468
|
question: string;
|
|
6469
|
+
id: string;
|
|
6216
6470
|
answer: string | {
|
|
6217
6471
|
type: "rich";
|
|
6218
6472
|
html: string;
|
|
@@ -6228,7 +6482,138 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6228
6482
|
alt?: string | undefined;
|
|
6229
6483
|
}[] | undefined;
|
|
6230
6484
|
};
|
|
6485
|
+
priority?: number | undefined;
|
|
6486
|
+
category?: string | undefined;
|
|
6487
|
+
answerStrategy?: {
|
|
6488
|
+
endpoint: string;
|
|
6489
|
+
context?: string[] | undefined;
|
|
6490
|
+
cache?: "none" | "session" | undefined;
|
|
6491
|
+
fallback?: string | undefined;
|
|
6492
|
+
} | undefined;
|
|
6493
|
+
};
|
|
6494
|
+
kind: "faq:question";
|
|
6495
|
+
title?: string | undefined;
|
|
6496
|
+
triggerWhen?: {
|
|
6497
|
+
type: "rules";
|
|
6498
|
+
rules: {
|
|
6499
|
+
conditions: ({
|
|
6500
|
+
type: "page_url";
|
|
6501
|
+
url: string;
|
|
6502
|
+
} | {
|
|
6503
|
+
type: "route";
|
|
6504
|
+
routeId: string;
|
|
6505
|
+
} | {
|
|
6506
|
+
type: "anchor_visible";
|
|
6507
|
+
anchorId: string;
|
|
6508
|
+
state: "visible" | "present" | "absent";
|
|
6509
|
+
} | {
|
|
6510
|
+
type: "event_occurred";
|
|
6511
|
+
eventName: string;
|
|
6512
|
+
withinMs?: number | undefined;
|
|
6513
|
+
} | {
|
|
6514
|
+
type: "state_equals";
|
|
6515
|
+
key: string;
|
|
6516
|
+
value?: unknown;
|
|
6517
|
+
} | {
|
|
6518
|
+
type: "viewport";
|
|
6519
|
+
minWidth?: number | undefined;
|
|
6520
|
+
maxWidth?: number | undefined;
|
|
6521
|
+
minHeight?: number | undefined;
|
|
6522
|
+
maxHeight?: number | undefined;
|
|
6523
|
+
} | {
|
|
6524
|
+
type: "session_metric";
|
|
6525
|
+
key: "time_on_page" | "page_views" | "scroll_depth";
|
|
6526
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
6527
|
+
threshold: number;
|
|
6528
|
+
} | {
|
|
6529
|
+
type: "dismissed";
|
|
6530
|
+
key: string;
|
|
6531
|
+
inverted?: boolean | undefined;
|
|
6532
|
+
} | {
|
|
6533
|
+
type: "cooldown_active";
|
|
6534
|
+
key: string;
|
|
6535
|
+
inverted?: boolean | undefined;
|
|
6536
|
+
} | {
|
|
6537
|
+
type: "frequency_limit";
|
|
6538
|
+
key: string;
|
|
6539
|
+
limit: number;
|
|
6540
|
+
inverted?: boolean | undefined;
|
|
6541
|
+
} | {
|
|
6542
|
+
type: "event_count";
|
|
6543
|
+
key: string;
|
|
6544
|
+
operator: "gte" | "lte" | "eq" | "gt" | "lt";
|
|
6545
|
+
count: number;
|
|
6546
|
+
withinMs?: number | undefined;
|
|
6547
|
+
counter?: {
|
|
6548
|
+
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")[];
|
|
6549
|
+
match?: Record<string, {
|
|
6550
|
+
equals?: string | number | boolean | undefined;
|
|
6551
|
+
contains?: string | undefined;
|
|
6552
|
+
}> | undefined;
|
|
6553
|
+
} | undefined;
|
|
6554
|
+
})[];
|
|
6555
|
+
value?: unknown;
|
|
6556
|
+
}[];
|
|
6557
|
+
default?: unknown;
|
|
6558
|
+
} | {
|
|
6559
|
+
type: "score";
|
|
6560
|
+
threshold: number;
|
|
6561
|
+
field: string;
|
|
6562
|
+
above?: unknown;
|
|
6563
|
+
below?: unknown;
|
|
6564
|
+
} | {
|
|
6565
|
+
type: "model";
|
|
6566
|
+
modelId: string;
|
|
6567
|
+
inputs: string[];
|
|
6568
|
+
outputMapping: Record<string, unknown>;
|
|
6569
|
+
default?: unknown;
|
|
6570
|
+
} | {
|
|
6571
|
+
type: "external";
|
|
6572
|
+
endpoint: string;
|
|
6573
|
+
default?: unknown;
|
|
6574
|
+
method?: "GET" | "POST" | undefined;
|
|
6575
|
+
timeoutMs?: number | undefined;
|
|
6576
|
+
} | null | undefined;
|
|
6577
|
+
description?: string | undefined;
|
|
6578
|
+
validation?: string[] | undefined;
|
|
6579
|
+
notify?: {
|
|
6580
|
+
title?: string | undefined;
|
|
6581
|
+
body?: string | undefined;
|
|
6582
|
+
icon?: string | undefined;
|
|
6583
|
+
} | null | undefined;
|
|
6584
|
+
}[] | undefined;
|
|
6585
|
+
itemId?: string | undefined;
|
|
6586
|
+
title?: string | undefined;
|
|
6587
|
+
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6588
|
+
anchorId?: {
|
|
6589
|
+
selector: string;
|
|
6590
|
+
route: string | string[];
|
|
6591
|
+
} | undefined;
|
|
6592
|
+
order?: string[] | undefined;
|
|
6593
|
+
description?: string | undefined;
|
|
6594
|
+
validation?: string[] | undefined;
|
|
6595
|
+
}, {
|
|
6596
|
+
operation: "add" | "remove" | "reorder" | "replace";
|
|
6597
|
+
kind: "faq:update";
|
|
6598
|
+
items?: {
|
|
6599
|
+
config: {
|
|
6600
|
+
question: string;
|
|
6231
6601
|
id: string;
|
|
6602
|
+
answer: string | {
|
|
6603
|
+
type: "rich";
|
|
6604
|
+
html: string;
|
|
6605
|
+
} | {
|
|
6606
|
+
type: "markdown";
|
|
6607
|
+
content: string;
|
|
6608
|
+
assets?: {
|
|
6609
|
+
type: "image" | "video";
|
|
6610
|
+
id: string;
|
|
6611
|
+
src: string;
|
|
6612
|
+
width?: number | undefined;
|
|
6613
|
+
height?: number | undefined;
|
|
6614
|
+
alt?: string | undefined;
|
|
6615
|
+
}[] | undefined;
|
|
6616
|
+
};
|
|
6232
6617
|
priority?: number | undefined;
|
|
6233
6618
|
category?: string | undefined;
|
|
6234
6619
|
answerStrategy?: {
|
|
@@ -6239,6 +6624,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6239
6624
|
} | undefined;
|
|
6240
6625
|
};
|
|
6241
6626
|
kind: "faq:question";
|
|
6627
|
+
title?: string | undefined;
|
|
6242
6628
|
triggerWhen?: {
|
|
6243
6629
|
type: "rules";
|
|
6244
6630
|
rules: {
|
|
@@ -6320,18 +6706,24 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6320
6706
|
method?: "GET" | "POST" | undefined;
|
|
6321
6707
|
timeoutMs?: number | undefined;
|
|
6322
6708
|
} | null | undefined;
|
|
6709
|
+
description?: string | undefined;
|
|
6710
|
+
validation?: string[] | undefined;
|
|
6323
6711
|
notify?: {
|
|
6324
6712
|
title?: string | undefined;
|
|
6325
6713
|
body?: string | undefined;
|
|
6326
6714
|
icon?: string | undefined;
|
|
6327
6715
|
} | null | undefined;
|
|
6328
6716
|
}[] | undefined;
|
|
6717
|
+
itemId?: string | undefined;
|
|
6718
|
+
title?: string | undefined;
|
|
6329
6719
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
6330
6720
|
anchorId?: {
|
|
6331
6721
|
selector: string;
|
|
6332
6722
|
route: string | string[];
|
|
6333
6723
|
} | undefined;
|
|
6334
6724
|
order?: string[] | undefined;
|
|
6725
|
+
description?: string | undefined;
|
|
6726
|
+
validation?: string[] | undefined;
|
|
6335
6727
|
}>;
|
|
6336
6728
|
/**
|
|
6337
6729
|
* Validate a FAQ question action.
|
|
@@ -6339,6 +6731,7 @@ export declare const UpdateFaqSchema: z.ZodObject<{
|
|
|
6339
6731
|
export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnType<{
|
|
6340
6732
|
config: {
|
|
6341
6733
|
question: string;
|
|
6734
|
+
id: string;
|
|
6342
6735
|
answer: string | {
|
|
6343
6736
|
type: "rich";
|
|
6344
6737
|
html: string;
|
|
@@ -6354,7 +6747,6 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6354
6747
|
alt?: string | undefined;
|
|
6355
6748
|
}[] | undefined;
|
|
6356
6749
|
};
|
|
6357
|
-
id: string;
|
|
6358
6750
|
priority?: number | undefined;
|
|
6359
6751
|
category?: string | undefined;
|
|
6360
6752
|
answerStrategy?: {
|
|
@@ -6365,6 +6757,7 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6365
6757
|
} | undefined;
|
|
6366
6758
|
};
|
|
6367
6759
|
kind: "faq:question";
|
|
6760
|
+
title?: string | undefined;
|
|
6368
6761
|
triggerWhen?: {
|
|
6369
6762
|
type: "rules";
|
|
6370
6763
|
rules: {
|
|
@@ -6446,6 +6839,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6446
6839
|
method?: "GET" | "POST" | undefined;
|
|
6447
6840
|
timeoutMs?: number | undefined;
|
|
6448
6841
|
} | null | undefined;
|
|
6842
|
+
description?: string | undefined;
|
|
6843
|
+
validation?: string[] | undefined;
|
|
6449
6844
|
notify?: {
|
|
6450
6845
|
title?: string | undefined;
|
|
6451
6846
|
body?: string | undefined;
|
|
@@ -6454,6 +6849,7 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6454
6849
|
}, {
|
|
6455
6850
|
config: {
|
|
6456
6851
|
question: string;
|
|
6852
|
+
id: string;
|
|
6457
6853
|
answer: string | {
|
|
6458
6854
|
type: "rich";
|
|
6459
6855
|
html: string;
|
|
@@ -6469,7 +6865,6 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6469
6865
|
alt?: string | undefined;
|
|
6470
6866
|
}[] | undefined;
|
|
6471
6867
|
};
|
|
6472
|
-
id: string;
|
|
6473
6868
|
priority?: number | undefined;
|
|
6474
6869
|
category?: string | undefined;
|
|
6475
6870
|
answerStrategy?: {
|
|
@@ -6480,6 +6875,7 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6480
6875
|
} | undefined;
|
|
6481
6876
|
};
|
|
6482
6877
|
kind: "faq:question";
|
|
6878
|
+
title?: string | undefined;
|
|
6483
6879
|
triggerWhen?: {
|
|
6484
6880
|
type: "rules";
|
|
6485
6881
|
rules: {
|
|
@@ -6561,6 +6957,8 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
6561
6957
|
method?: "GET" | "POST" | undefined;
|
|
6562
6958
|
timeoutMs?: number | undefined;
|
|
6563
6959
|
} | null | undefined;
|
|
6960
|
+
description?: string | undefined;
|
|
6961
|
+
validation?: string[] | undefined;
|
|
6564
6962
|
notify?: {
|
|
6565
6963
|
title?: string | undefined;
|
|
6566
6964
|
body?: string | undefined;
|
|
@@ -6572,11 +6970,13 @@ export declare function validateFAQQuestion(data: unknown): z.SafeParseReturnTyp
|
|
|
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?: {
|
|
6578
6977
|
config: {
|
|
6579
6978
|
question: string;
|
|
6979
|
+
id: string;
|
|
6580
6980
|
answer: string | {
|
|
6581
6981
|
type: "rich";
|
|
6582
6982
|
html: string;
|
|
@@ -6592,7 +6992,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6592
6992
|
alt?: string | undefined;
|
|
6593
6993
|
}[] | undefined;
|
|
6594
6994
|
};
|
|
6595
|
-
id: string;
|
|
6596
6995
|
priority?: number | undefined;
|
|
6597
6996
|
category?: string | undefined;
|
|
6598
6997
|
answerStrategy?: {
|
|
@@ -6603,6 +7002,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6603
7002
|
} | undefined;
|
|
6604
7003
|
};
|
|
6605
7004
|
kind: "faq:question";
|
|
7005
|
+
title?: string | undefined;
|
|
6606
7006
|
triggerWhen?: {
|
|
6607
7007
|
type: "rules";
|
|
6608
7008
|
rules: {
|
|
@@ -6684,6 +7084,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6684
7084
|
method?: "GET" | "POST" | undefined;
|
|
6685
7085
|
timeoutMs?: number | undefined;
|
|
6686
7086
|
} | null | undefined;
|
|
7087
|
+
description?: string | undefined;
|
|
7088
|
+
validation?: string[] | undefined;
|
|
6687
7089
|
notify?: {
|
|
6688
7090
|
title?: string | undefined;
|
|
6689
7091
|
body?: string | undefined;
|
|
@@ -6702,6 +7104,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6702
7104
|
items: {
|
|
6703
7105
|
config: {
|
|
6704
7106
|
question: string;
|
|
7107
|
+
id: string;
|
|
6705
7108
|
answer: string | {
|
|
6706
7109
|
type: "rich";
|
|
6707
7110
|
html: string;
|
|
@@ -6717,7 +7120,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6717
7120
|
alt?: string | undefined;
|
|
6718
7121
|
}[] | undefined;
|
|
6719
7122
|
};
|
|
6720
|
-
id: string;
|
|
6721
7123
|
priority?: number | undefined;
|
|
6722
7124
|
category?: string | undefined;
|
|
6723
7125
|
answerStrategy?: {
|
|
@@ -6728,6 +7130,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6728
7130
|
} | undefined;
|
|
6729
7131
|
};
|
|
6730
7132
|
kind: "faq:question";
|
|
7133
|
+
title?: string | undefined;
|
|
6731
7134
|
triggerWhen?: {
|
|
6732
7135
|
type: "rules";
|
|
6733
7136
|
rules: {
|
|
@@ -6809,6 +7212,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6809
7212
|
method?: "GET" | "POST" | undefined;
|
|
6810
7213
|
timeoutMs?: number | undefined;
|
|
6811
7214
|
} | null | undefined;
|
|
7215
|
+
description?: string | undefined;
|
|
7216
|
+
validation?: string[] | undefined;
|
|
6812
7217
|
notify?: {
|
|
6813
7218
|
title?: string | undefined;
|
|
6814
7219
|
body?: string | undefined;
|
|
@@ -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;
|
|
@@ -6907,6 +7311,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6907
7311
|
actions: {
|
|
6908
7312
|
config: {
|
|
6909
7313
|
question: string;
|
|
7314
|
+
id: string;
|
|
6910
7315
|
answer: string | {
|
|
6911
7316
|
type: "rich";
|
|
6912
7317
|
html: string;
|
|
@@ -6922,7 +7327,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6922
7327
|
alt?: string | undefined;
|
|
6923
7328
|
}[] | undefined;
|
|
6924
7329
|
};
|
|
6925
|
-
id: string;
|
|
6926
7330
|
priority?: number | undefined;
|
|
6927
7331
|
category?: string | undefined;
|
|
6928
7332
|
answerStrategy?: {
|
|
@@ -6933,6 +7337,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
6933
7337
|
} | undefined;
|
|
6934
7338
|
};
|
|
6935
7339
|
kind: "faq:question";
|
|
7340
|
+
title?: string | undefined;
|
|
6936
7341
|
triggerWhen?: {
|
|
6937
7342
|
type: "rules";
|
|
6938
7343
|
rules: {
|
|
@@ -7014,12 +7419,15 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7014
7419
|
method?: "GET" | "POST" | undefined;
|
|
7015
7420
|
timeoutMs?: number | undefined;
|
|
7016
7421
|
} | null | undefined;
|
|
7422
|
+
description?: string | undefined;
|
|
7423
|
+
validation?: string[] | undefined;
|
|
7017
7424
|
notify?: {
|
|
7018
7425
|
title?: string | undefined;
|
|
7019
7426
|
body?: string | undefined;
|
|
7020
7427
|
icon?: string | undefined;
|
|
7021
7428
|
} | null | undefined;
|
|
7022
7429
|
}[];
|
|
7430
|
+
title?: string | undefined;
|
|
7023
7431
|
feedback?: boolean | {
|
|
7024
7432
|
style: "thumbs" | "rating";
|
|
7025
7433
|
prompt?: string | undefined;
|
|
@@ -7032,6 +7440,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7032
7440
|
items: {
|
|
7033
7441
|
config: {
|
|
7034
7442
|
question: string;
|
|
7443
|
+
id: string;
|
|
7035
7444
|
answer: string | {
|
|
7036
7445
|
type: "rich";
|
|
7037
7446
|
html: string;
|
|
@@ -7047,7 +7456,6 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7047
7456
|
alt?: string | undefined;
|
|
7048
7457
|
}[] | undefined;
|
|
7049
7458
|
};
|
|
7050
|
-
id: string;
|
|
7051
7459
|
priority?: number | undefined;
|
|
7052
7460
|
category?: string | undefined;
|
|
7053
7461
|
answerStrategy?: {
|
|
@@ -7058,6 +7466,7 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7058
7466
|
} | undefined;
|
|
7059
7467
|
};
|
|
7060
7468
|
kind: "faq:question";
|
|
7469
|
+
title?: string | undefined;
|
|
7061
7470
|
triggerWhen?: {
|
|
7062
7471
|
type: "rules";
|
|
7063
7472
|
rules: {
|
|
@@ -7139,6 +7548,8 @@ export declare function validateFAQConfig(data: unknown): z.SafeParseReturnType<
|
|
|
7139
7548
|
method?: "GET" | "POST" | undefined;
|
|
7140
7549
|
timeoutMs?: number | undefined;
|
|
7141
7550
|
} | null | undefined;
|
|
7551
|
+
description?: string | undefined;
|
|
7552
|
+
validation?: string[] | undefined;
|
|
7142
7553
|
notify?: {
|
|
7143
7554
|
title?: string | undefined;
|
|
7144
7555
|
body?: string | undefined;
|
|
@@ -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.
|
|
@@ -7329,6 +7739,7 @@ export declare const actionStepSchemas: ({
|
|
|
7329
7739
|
}>>;
|
|
7330
7740
|
}, "strip", z.ZodTypeAny, {
|
|
7331
7741
|
question: string;
|
|
7742
|
+
id: string;
|
|
7332
7743
|
answer: string | {
|
|
7333
7744
|
type: "rich";
|
|
7334
7745
|
html: string;
|
|
@@ -7344,7 +7755,6 @@ export declare const actionStepSchemas: ({
|
|
|
7344
7755
|
alt?: string | undefined;
|
|
7345
7756
|
}[] | undefined;
|
|
7346
7757
|
};
|
|
7347
|
-
id: string;
|
|
7348
7758
|
priority?: number | undefined;
|
|
7349
7759
|
category?: string | undefined;
|
|
7350
7760
|
answerStrategy?: {
|
|
@@ -7355,6 +7765,7 @@ export declare const actionStepSchemas: ({
|
|
|
7355
7765
|
} | undefined;
|
|
7356
7766
|
}, {
|
|
7357
7767
|
question: string;
|
|
7768
|
+
id: string;
|
|
7358
7769
|
answer: string | {
|
|
7359
7770
|
type: "rich";
|
|
7360
7771
|
html: string;
|
|
@@ -7370,7 +7781,6 @@ export declare const actionStepSchemas: ({
|
|
|
7370
7781
|
alt?: string | undefined;
|
|
7371
7782
|
}[] | undefined;
|
|
7372
7783
|
};
|
|
7373
|
-
id: string;
|
|
7374
7784
|
priority?: number | undefined;
|
|
7375
7785
|
category?: string | undefined;
|
|
7376
7786
|
answerStrategy?: {
|
|
@@ -7880,9 +8290,13 @@ 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;
|
|
8299
|
+
id: string;
|
|
7886
8300
|
answer: string | {
|
|
7887
8301
|
type: "rich";
|
|
7888
8302
|
html: string;
|
|
@@ -7898,7 +8312,6 @@ export declare const actionStepSchemas: ({
|
|
|
7898
8312
|
alt?: string | undefined;
|
|
7899
8313
|
}[] | undefined;
|
|
7900
8314
|
};
|
|
7901
|
-
id: string;
|
|
7902
8315
|
priority?: number | undefined;
|
|
7903
8316
|
category?: string | undefined;
|
|
7904
8317
|
answerStrategy?: {
|
|
@@ -7909,6 +8322,7 @@ export declare const actionStepSchemas: ({
|
|
|
7909
8322
|
} | undefined;
|
|
7910
8323
|
};
|
|
7911
8324
|
kind: "faq:question";
|
|
8325
|
+
title?: string | undefined;
|
|
7912
8326
|
triggerWhen?: {
|
|
7913
8327
|
type: "rules";
|
|
7914
8328
|
rules: {
|
|
@@ -7990,6 +8404,8 @@ export declare const actionStepSchemas: ({
|
|
|
7990
8404
|
method?: "GET" | "POST" | undefined;
|
|
7991
8405
|
timeoutMs?: number | undefined;
|
|
7992
8406
|
} | null | undefined;
|
|
8407
|
+
description?: string | undefined;
|
|
8408
|
+
validation?: string[] | undefined;
|
|
7993
8409
|
notify?: {
|
|
7994
8410
|
title?: string | undefined;
|
|
7995
8411
|
body?: string | undefined;
|
|
@@ -7998,6 +8414,7 @@ export declare const actionStepSchemas: ({
|
|
|
7998
8414
|
}, {
|
|
7999
8415
|
config: {
|
|
8000
8416
|
question: string;
|
|
8417
|
+
id: string;
|
|
8001
8418
|
answer: string | {
|
|
8002
8419
|
type: "rich";
|
|
8003
8420
|
html: string;
|
|
@@ -8013,7 +8430,6 @@ export declare const actionStepSchemas: ({
|
|
|
8013
8430
|
alt?: string | undefined;
|
|
8014
8431
|
}[] | undefined;
|
|
8015
8432
|
};
|
|
8016
|
-
id: string;
|
|
8017
8433
|
priority?: number | undefined;
|
|
8018
8434
|
category?: string | undefined;
|
|
8019
8435
|
answerStrategy?: {
|
|
@@ -8024,6 +8440,7 @@ export declare const actionStepSchemas: ({
|
|
|
8024
8440
|
} | undefined;
|
|
8025
8441
|
};
|
|
8026
8442
|
kind: "faq:question";
|
|
8443
|
+
title?: string | undefined;
|
|
8027
8444
|
triggerWhen?: {
|
|
8028
8445
|
type: "rules";
|
|
8029
8446
|
rules: {
|
|
@@ -8105,6 +8522,8 @@ export declare const actionStepSchemas: ({
|
|
|
8105
8522
|
method?: "GET" | "POST" | undefined;
|
|
8106
8523
|
timeoutMs?: number | undefined;
|
|
8107
8524
|
} | null | undefined;
|
|
8525
|
+
description?: string | undefined;
|
|
8526
|
+
validation?: string[] | undefined;
|
|
8108
8527
|
notify?: {
|
|
8109
8528
|
title?: string | undefined;
|
|
8110
8529
|
body?: string | undefined;
|
|
@@ -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
|
+
description?: string | undefined;
|
|
8550
|
+
validation?: 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
|
+
description?: string | undefined;
|
|
8559
|
+
validation?: string[] | undefined;
|
|
8132
8560
|
itemQuestion?: string | undefined;
|
|
8133
8561
|
expand?: boolean | undefined;
|
|
8134
8562
|
}>;
|
|
@@ -8139,15 +8567,24 @@ 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
8574
|
state: "open" | "closed" | "toggle";
|
|
8144
8575
|
kind: "faq:toggle_item";
|
|
8145
8576
|
itemId?: string | undefined;
|
|
8577
|
+
title?: string | undefined;
|
|
8578
|
+
description?: string | undefined;
|
|
8579
|
+
validation?: string[] | undefined;
|
|
8146
8580
|
itemQuestion?: string | undefined;
|
|
8147
8581
|
}, {
|
|
8148
8582
|
kind: "faq:toggle_item";
|
|
8149
8583
|
itemId?: string | undefined;
|
|
8584
|
+
title?: string | undefined;
|
|
8150
8585
|
state?: "open" | "closed" | "toggle" | undefined;
|
|
8586
|
+
description?: string | undefined;
|
|
8587
|
+
validation?: string[] | undefined;
|
|
8151
8588
|
itemQuestion?: string | undefined;
|
|
8152
8589
|
}>;
|
|
8153
8590
|
} | {
|
|
@@ -8243,6 +8680,7 @@ export declare const actionStepSchemas: ({
|
|
|
8243
8680
|
}>>;
|
|
8244
8681
|
}, "strip", z.ZodTypeAny, {
|
|
8245
8682
|
question: string;
|
|
8683
|
+
id: string;
|
|
8246
8684
|
answer: string | {
|
|
8247
8685
|
type: "rich";
|
|
8248
8686
|
html: string;
|
|
@@ -8258,7 +8696,6 @@ export declare const actionStepSchemas: ({
|
|
|
8258
8696
|
alt?: string | undefined;
|
|
8259
8697
|
}[] | undefined;
|
|
8260
8698
|
};
|
|
8261
|
-
id: string;
|
|
8262
8699
|
priority?: number | undefined;
|
|
8263
8700
|
category?: string | undefined;
|
|
8264
8701
|
answerStrategy?: {
|
|
@@ -8269,6 +8706,7 @@ export declare const actionStepSchemas: ({
|
|
|
8269
8706
|
} | undefined;
|
|
8270
8707
|
}, {
|
|
8271
8708
|
question: string;
|
|
8709
|
+
id: string;
|
|
8272
8710
|
answer: string | {
|
|
8273
8711
|
type: "rich";
|
|
8274
8712
|
html: string;
|
|
@@ -8284,7 +8722,6 @@ export declare const actionStepSchemas: ({
|
|
|
8284
8722
|
alt?: string | undefined;
|
|
8285
8723
|
}[] | undefined;
|
|
8286
8724
|
};
|
|
8287
|
-
id: string;
|
|
8288
8725
|
priority?: number | undefined;
|
|
8289
8726
|
category?: string | undefined;
|
|
8290
8727
|
answerStrategy?: {
|
|
@@ -8794,9 +9231,13 @@ 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;
|
|
9240
|
+
id: string;
|
|
8800
9241
|
answer: string | {
|
|
8801
9242
|
type: "rich";
|
|
8802
9243
|
html: string;
|
|
@@ -8812,7 +9253,6 @@ export declare const actionStepSchemas: ({
|
|
|
8812
9253
|
alt?: string | undefined;
|
|
8813
9254
|
}[] | undefined;
|
|
8814
9255
|
};
|
|
8815
|
-
id: string;
|
|
8816
9256
|
priority?: number | undefined;
|
|
8817
9257
|
category?: string | undefined;
|
|
8818
9258
|
answerStrategy?: {
|
|
@@ -8823,6 +9263,7 @@ export declare const actionStepSchemas: ({
|
|
|
8823
9263
|
} | undefined;
|
|
8824
9264
|
};
|
|
8825
9265
|
kind: "faq:question";
|
|
9266
|
+
title?: string | undefined;
|
|
8826
9267
|
triggerWhen?: {
|
|
8827
9268
|
type: "rules";
|
|
8828
9269
|
rules: {
|
|
@@ -8904,6 +9345,8 @@ export declare const actionStepSchemas: ({
|
|
|
8904
9345
|
method?: "GET" | "POST" | undefined;
|
|
8905
9346
|
timeoutMs?: number | undefined;
|
|
8906
9347
|
} | null | undefined;
|
|
9348
|
+
description?: string | undefined;
|
|
9349
|
+
validation?: string[] | undefined;
|
|
8907
9350
|
notify?: {
|
|
8908
9351
|
title?: string | undefined;
|
|
8909
9352
|
body?: string | undefined;
|
|
@@ -8912,6 +9355,7 @@ export declare const actionStepSchemas: ({
|
|
|
8912
9355
|
}, {
|
|
8913
9356
|
config: {
|
|
8914
9357
|
question: string;
|
|
9358
|
+
id: string;
|
|
8915
9359
|
answer: string | {
|
|
8916
9360
|
type: "rich";
|
|
8917
9361
|
html: string;
|
|
@@ -8927,7 +9371,6 @@ export declare const actionStepSchemas: ({
|
|
|
8927
9371
|
alt?: string | undefined;
|
|
8928
9372
|
}[] | undefined;
|
|
8929
9373
|
};
|
|
8930
|
-
id: string;
|
|
8931
9374
|
priority?: number | undefined;
|
|
8932
9375
|
category?: string | undefined;
|
|
8933
9376
|
answerStrategy?: {
|
|
@@ -8938,6 +9381,7 @@ export declare const actionStepSchemas: ({
|
|
|
8938
9381
|
} | undefined;
|
|
8939
9382
|
};
|
|
8940
9383
|
kind: "faq:question";
|
|
9384
|
+
title?: string | undefined;
|
|
8941
9385
|
triggerWhen?: {
|
|
8942
9386
|
type: "rules";
|
|
8943
9387
|
rules: {
|
|
@@ -9019,6 +9463,8 @@ export declare const actionStepSchemas: ({
|
|
|
9019
9463
|
method?: "GET" | "POST" | undefined;
|
|
9020
9464
|
timeoutMs?: number | undefined;
|
|
9021
9465
|
} | null | undefined;
|
|
9466
|
+
description?: string | undefined;
|
|
9467
|
+
validation?: string[] | undefined;
|
|
9022
9468
|
notify?: {
|
|
9023
9469
|
title?: string | undefined;
|
|
9024
9470
|
body?: string | undefined;
|
|
@@ -9027,6 +9473,7 @@ export declare const actionStepSchemas: ({
|
|
|
9027
9473
|
}>, {
|
|
9028
9474
|
config: {
|
|
9029
9475
|
question: string;
|
|
9476
|
+
id: string;
|
|
9030
9477
|
answer: string | {
|
|
9031
9478
|
type: "rich";
|
|
9032
9479
|
html: string;
|
|
@@ -9042,7 +9489,6 @@ export declare const actionStepSchemas: ({
|
|
|
9042
9489
|
alt?: string | undefined;
|
|
9043
9490
|
}[] | undefined;
|
|
9044
9491
|
};
|
|
9045
|
-
id: string;
|
|
9046
9492
|
priority?: number | undefined;
|
|
9047
9493
|
category?: string | undefined;
|
|
9048
9494
|
answerStrategy?: {
|
|
@@ -9053,6 +9499,7 @@ export declare const actionStepSchemas: ({
|
|
|
9053
9499
|
} | undefined;
|
|
9054
9500
|
};
|
|
9055
9501
|
kind: "faq:question";
|
|
9502
|
+
title?: string | undefined;
|
|
9056
9503
|
triggerWhen?: {
|
|
9057
9504
|
type: "rules";
|
|
9058
9505
|
rules: {
|
|
@@ -9134,6 +9581,8 @@ export declare const actionStepSchemas: ({
|
|
|
9134
9581
|
method?: "GET" | "POST" | undefined;
|
|
9135
9582
|
timeoutMs?: number | undefined;
|
|
9136
9583
|
} | null | undefined;
|
|
9584
|
+
description?: string | undefined;
|
|
9585
|
+
validation?: string[] | undefined;
|
|
9137
9586
|
notify?: {
|
|
9138
9587
|
title?: string | undefined;
|
|
9139
9588
|
body?: string | undefined;
|
|
@@ -9142,6 +9591,7 @@ export declare const actionStepSchemas: ({
|
|
|
9142
9591
|
}, {
|
|
9143
9592
|
config: {
|
|
9144
9593
|
question: string;
|
|
9594
|
+
id: string;
|
|
9145
9595
|
answer: string | {
|
|
9146
9596
|
type: "rich";
|
|
9147
9597
|
html: string;
|
|
@@ -9157,7 +9607,6 @@ export declare const actionStepSchemas: ({
|
|
|
9157
9607
|
alt?: string | undefined;
|
|
9158
9608
|
}[] | undefined;
|
|
9159
9609
|
};
|
|
9160
|
-
id: string;
|
|
9161
9610
|
priority?: number | undefined;
|
|
9162
9611
|
category?: string | undefined;
|
|
9163
9612
|
answerStrategy?: {
|
|
@@ -9168,6 +9617,7 @@ export declare const actionStepSchemas: ({
|
|
|
9168
9617
|
} | undefined;
|
|
9169
9618
|
};
|
|
9170
9619
|
kind: "faq:question";
|
|
9620
|
+
title?: string | undefined;
|
|
9171
9621
|
triggerWhen?: {
|
|
9172
9622
|
type: "rules";
|
|
9173
9623
|
rules: {
|
|
@@ -9249,6 +9699,8 @@ export declare const actionStepSchemas: ({
|
|
|
9249
9699
|
method?: "GET" | "POST" | undefined;
|
|
9250
9700
|
timeoutMs?: number | undefined;
|
|
9251
9701
|
} | null | undefined;
|
|
9702
|
+
description?: string | undefined;
|
|
9703
|
+
validation?: string[] | undefined;
|
|
9252
9704
|
notify?: {
|
|
9253
9705
|
title?: string | undefined;
|
|
9254
9706
|
body?: string | undefined;
|
|
@@ -9268,13 +9720,16 @@ 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;
|
|
9732
|
+
id: string;
|
|
9278
9733
|
answer: string | {
|
|
9279
9734
|
type: "rich";
|
|
9280
9735
|
html: string;
|
|
@@ -9290,7 +9745,6 @@ export declare const actionStepSchemas: ({
|
|
|
9290
9745
|
alt?: string | undefined;
|
|
9291
9746
|
}[] | undefined;
|
|
9292
9747
|
};
|
|
9293
|
-
id: string;
|
|
9294
9748
|
priority?: number | undefined;
|
|
9295
9749
|
category?: string | undefined;
|
|
9296
9750
|
answerStrategy?: {
|
|
@@ -9301,6 +9755,7 @@ export declare const actionStepSchemas: ({
|
|
|
9301
9755
|
} | undefined;
|
|
9302
9756
|
};
|
|
9303
9757
|
kind: "faq:question";
|
|
9758
|
+
title?: string | undefined;
|
|
9304
9759
|
triggerWhen?: {
|
|
9305
9760
|
type: "rules";
|
|
9306
9761
|
rules: {
|
|
@@ -9382,25 +9837,31 @@ export declare const actionStepSchemas: ({
|
|
|
9382
9837
|
method?: "GET" | "POST" | undefined;
|
|
9383
9838
|
timeoutMs?: number | undefined;
|
|
9384
9839
|
} | null | undefined;
|
|
9840
|
+
description?: string | undefined;
|
|
9841
|
+
validation?: string[] | undefined;
|
|
9385
9842
|
notify?: {
|
|
9386
9843
|
title?: string | undefined;
|
|
9387
9844
|
body?: string | undefined;
|
|
9388
9845
|
icon?: string | undefined;
|
|
9389
9846
|
} | null | undefined;
|
|
9390
9847
|
}[] | undefined;
|
|
9848
|
+
itemId?: string | undefined;
|
|
9849
|
+
title?: string | undefined;
|
|
9391
9850
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
9392
9851
|
anchorId?: {
|
|
9393
9852
|
selector: string;
|
|
9394
9853
|
route: string | string[];
|
|
9395
9854
|
} | undefined;
|
|
9396
9855
|
order?: string[] | undefined;
|
|
9856
|
+
description?: string | undefined;
|
|
9857
|
+
validation?: 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;
|
|
9864
|
+
id: string;
|
|
9404
9865
|
answer: string | {
|
|
9405
9866
|
type: "rich";
|
|
9406
9867
|
html: string;
|
|
@@ -9416,7 +9877,6 @@ export declare const actionStepSchemas: ({
|
|
|
9416
9877
|
alt?: string | undefined;
|
|
9417
9878
|
}[] | undefined;
|
|
9418
9879
|
};
|
|
9419
|
-
id: string;
|
|
9420
9880
|
priority?: number | undefined;
|
|
9421
9881
|
category?: string | undefined;
|
|
9422
9882
|
answerStrategy?: {
|
|
@@ -9427,6 +9887,7 @@ export declare const actionStepSchemas: ({
|
|
|
9427
9887
|
} | undefined;
|
|
9428
9888
|
};
|
|
9429
9889
|
kind: "faq:question";
|
|
9890
|
+
title?: string | undefined;
|
|
9430
9891
|
triggerWhen?: {
|
|
9431
9892
|
type: "rules";
|
|
9432
9893
|
rules: {
|
|
@@ -9508,18 +9969,24 @@ export declare const actionStepSchemas: ({
|
|
|
9508
9969
|
method?: "GET" | "POST" | undefined;
|
|
9509
9970
|
timeoutMs?: number | undefined;
|
|
9510
9971
|
} | null | undefined;
|
|
9972
|
+
description?: string | undefined;
|
|
9973
|
+
validation?: string[] | undefined;
|
|
9511
9974
|
notify?: {
|
|
9512
9975
|
title?: string | undefined;
|
|
9513
9976
|
body?: string | undefined;
|
|
9514
9977
|
icon?: string | undefined;
|
|
9515
9978
|
} | null | undefined;
|
|
9516
9979
|
}[] | undefined;
|
|
9980
|
+
itemId?: string | undefined;
|
|
9981
|
+
title?: string | undefined;
|
|
9517
9982
|
position?: "prepend" | "append" | "before" | "after" | undefined;
|
|
9518
9983
|
anchorId?: {
|
|
9519
9984
|
selector: string;
|
|
9520
9985
|
route: string | string[];
|
|
9521
9986
|
} | undefined;
|
|
9522
9987
|
order?: string[] | undefined;
|
|
9988
|
+
description?: string | undefined;
|
|
9989
|
+
validation?: string[] | undefined;
|
|
9523
9990
|
}>;
|
|
9524
9991
|
})[];
|
|
9525
9992
|
/**
|
|
@@ -9628,6 +10095,7 @@ export declare const tileWidgets: {
|
|
|
9628
10095
|
}>>;
|
|
9629
10096
|
}, "strip", z.ZodTypeAny, {
|
|
9630
10097
|
question: string;
|
|
10098
|
+
id: string;
|
|
9631
10099
|
answer: string | {
|
|
9632
10100
|
type: "rich";
|
|
9633
10101
|
html: string;
|
|
@@ -9643,7 +10111,6 @@ export declare const tileWidgets: {
|
|
|
9643
10111
|
alt?: string | undefined;
|
|
9644
10112
|
}[] | undefined;
|
|
9645
10113
|
};
|
|
9646
|
-
id: string;
|
|
9647
10114
|
priority?: number | undefined;
|
|
9648
10115
|
category?: string | undefined;
|
|
9649
10116
|
answerStrategy?: {
|
|
@@ -9654,6 +10121,7 @@ export declare const tileWidgets: {
|
|
|
9654
10121
|
} | undefined;
|
|
9655
10122
|
}, {
|
|
9656
10123
|
question: string;
|
|
10124
|
+
id: string;
|
|
9657
10125
|
answer: string | {
|
|
9658
10126
|
type: "rich";
|
|
9659
10127
|
html: string;
|
|
@@ -9669,7 +10137,6 @@ export declare const tileWidgets: {
|
|
|
9669
10137
|
alt?: string | undefined;
|
|
9670
10138
|
}[] | undefined;
|
|
9671
10139
|
};
|
|
9672
|
-
id: string;
|
|
9673
10140
|
priority?: number | undefined;
|
|
9674
10141
|
category?: string | undefined;
|
|
9675
10142
|
answerStrategy?: {
|
|
@@ -10179,9 +10646,13 @@ 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;
|
|
10655
|
+
id: string;
|
|
10185
10656
|
answer: string | {
|
|
10186
10657
|
type: "rich";
|
|
10187
10658
|
html: string;
|
|
@@ -10197,7 +10668,6 @@ export declare const tileWidgets: {
|
|
|
10197
10668
|
alt?: string | undefined;
|
|
10198
10669
|
}[] | undefined;
|
|
10199
10670
|
};
|
|
10200
|
-
id: string;
|
|
10201
10671
|
priority?: number | undefined;
|
|
10202
10672
|
category?: string | undefined;
|
|
10203
10673
|
answerStrategy?: {
|
|
@@ -10208,6 +10678,7 @@ export declare const tileWidgets: {
|
|
|
10208
10678
|
} | undefined;
|
|
10209
10679
|
};
|
|
10210
10680
|
kind: "faq:question";
|
|
10681
|
+
title?: string | undefined;
|
|
10211
10682
|
triggerWhen?: {
|
|
10212
10683
|
type: "rules";
|
|
10213
10684
|
rules: {
|
|
@@ -10289,6 +10760,8 @@ export declare const tileWidgets: {
|
|
|
10289
10760
|
method?: "GET" | "POST" | undefined;
|
|
10290
10761
|
timeoutMs?: number | undefined;
|
|
10291
10762
|
} | null | undefined;
|
|
10763
|
+
description?: string | undefined;
|
|
10764
|
+
validation?: string[] | undefined;
|
|
10292
10765
|
notify?: {
|
|
10293
10766
|
title?: string | undefined;
|
|
10294
10767
|
body?: string | undefined;
|
|
@@ -10297,6 +10770,7 @@ export declare const tileWidgets: {
|
|
|
10297
10770
|
}, {
|
|
10298
10771
|
config: {
|
|
10299
10772
|
question: string;
|
|
10773
|
+
id: string;
|
|
10300
10774
|
answer: string | {
|
|
10301
10775
|
type: "rich";
|
|
10302
10776
|
html: string;
|
|
@@ -10312,7 +10786,6 @@ export declare const tileWidgets: {
|
|
|
10312
10786
|
alt?: string | undefined;
|
|
10313
10787
|
}[] | undefined;
|
|
10314
10788
|
};
|
|
10315
|
-
id: string;
|
|
10316
10789
|
priority?: number | undefined;
|
|
10317
10790
|
category?: string | undefined;
|
|
10318
10791
|
answerStrategy?: {
|
|
@@ -10323,6 +10796,7 @@ export declare const tileWidgets: {
|
|
|
10323
10796
|
} | undefined;
|
|
10324
10797
|
};
|
|
10325
10798
|
kind: "faq:question";
|
|
10799
|
+
title?: string | undefined;
|
|
10326
10800
|
triggerWhen?: {
|
|
10327
10801
|
type: "rules";
|
|
10328
10802
|
rules: {
|
|
@@ -10404,6 +10878,8 @@ export declare const tileWidgets: {
|
|
|
10404
10878
|
method?: "GET" | "POST" | undefined;
|
|
10405
10879
|
timeoutMs?: number | undefined;
|
|
10406
10880
|
} | null | undefined;
|
|
10881
|
+
description?: string | undefined;
|
|
10882
|
+
validation?: string[] | undefined;
|
|
10407
10883
|
notify?: {
|
|
10408
10884
|
title?: string | undefined;
|
|
10409
10885
|
body?: string | undefined;
|
|
@@ -10412,6 +10888,7 @@ export declare const tileWidgets: {
|
|
|
10412
10888
|
}>, {
|
|
10413
10889
|
config: {
|
|
10414
10890
|
question: string;
|
|
10891
|
+
id: string;
|
|
10415
10892
|
answer: string | {
|
|
10416
10893
|
type: "rich";
|
|
10417
10894
|
html: string;
|
|
@@ -10427,7 +10904,6 @@ export declare const tileWidgets: {
|
|
|
10427
10904
|
alt?: string | undefined;
|
|
10428
10905
|
}[] | undefined;
|
|
10429
10906
|
};
|
|
10430
|
-
id: string;
|
|
10431
10907
|
priority?: number | undefined;
|
|
10432
10908
|
category?: string | undefined;
|
|
10433
10909
|
answerStrategy?: {
|
|
@@ -10438,6 +10914,7 @@ export declare const tileWidgets: {
|
|
|
10438
10914
|
} | undefined;
|
|
10439
10915
|
};
|
|
10440
10916
|
kind: "faq:question";
|
|
10917
|
+
title?: string | undefined;
|
|
10441
10918
|
triggerWhen?: {
|
|
10442
10919
|
type: "rules";
|
|
10443
10920
|
rules: {
|
|
@@ -10519,6 +10996,8 @@ export declare const tileWidgets: {
|
|
|
10519
10996
|
method?: "GET" | "POST" | undefined;
|
|
10520
10997
|
timeoutMs?: number | undefined;
|
|
10521
10998
|
} | null | undefined;
|
|
10999
|
+
description?: string | undefined;
|
|
11000
|
+
validation?: string[] | undefined;
|
|
10522
11001
|
notify?: {
|
|
10523
11002
|
title?: string | undefined;
|
|
10524
11003
|
body?: string | undefined;
|
|
@@ -10527,6 +11006,7 @@ export declare const tileWidgets: {
|
|
|
10527
11006
|
}, {
|
|
10528
11007
|
config: {
|
|
10529
11008
|
question: string;
|
|
11009
|
+
id: string;
|
|
10530
11010
|
answer: string | {
|
|
10531
11011
|
type: "rich";
|
|
10532
11012
|
html: string;
|
|
@@ -10542,7 +11022,6 @@ export declare const tileWidgets: {
|
|
|
10542
11022
|
alt?: string | undefined;
|
|
10543
11023
|
}[] | undefined;
|
|
10544
11024
|
};
|
|
10545
|
-
id: string;
|
|
10546
11025
|
priority?: number | undefined;
|
|
10547
11026
|
category?: string | undefined;
|
|
10548
11027
|
answerStrategy?: {
|
|
@@ -10553,6 +11032,7 @@ export declare const tileWidgets: {
|
|
|
10553
11032
|
} | undefined;
|
|
10554
11033
|
};
|
|
10555
11034
|
kind: "faq:question";
|
|
11035
|
+
title?: string | undefined;
|
|
10556
11036
|
triggerWhen?: {
|
|
10557
11037
|
type: "rules";
|
|
10558
11038
|
rules: {
|
|
@@ -10634,6 +11114,8 @@ export declare const tileWidgets: {
|
|
|
10634
11114
|
method?: "GET" | "POST" | undefined;
|
|
10635
11115
|
timeoutMs?: number | undefined;
|
|
10636
11116
|
} | null | undefined;
|
|
11117
|
+
description?: string | undefined;
|
|
11118
|
+
validation?: string[] | undefined;
|
|
10637
11119
|
notify?: {
|
|
10638
11120
|
title?: string | undefined;
|
|
10639
11121
|
body?: string | undefined;
|
|
@@ -11237,6 +11719,7 @@ export declare const tileWidgets: {
|
|
|
11237
11719
|
}>>;
|
|
11238
11720
|
}, "strip", z.ZodTypeAny, {
|
|
11239
11721
|
question: string;
|
|
11722
|
+
id: string;
|
|
11240
11723
|
answer: string | {
|
|
11241
11724
|
type: "rich";
|
|
11242
11725
|
html: string;
|
|
@@ -11252,7 +11735,6 @@ export declare const tileWidgets: {
|
|
|
11252
11735
|
alt?: string | undefined;
|
|
11253
11736
|
}[] | undefined;
|
|
11254
11737
|
};
|
|
11255
|
-
id: string;
|
|
11256
11738
|
priority?: number | undefined;
|
|
11257
11739
|
category?: string | undefined;
|
|
11258
11740
|
answerStrategy?: {
|
|
@@ -11263,6 +11745,7 @@ export declare const tileWidgets: {
|
|
|
11263
11745
|
} | undefined;
|
|
11264
11746
|
}, {
|
|
11265
11747
|
question: string;
|
|
11748
|
+
id: string;
|
|
11266
11749
|
answer: string | {
|
|
11267
11750
|
type: "rich";
|
|
11268
11751
|
html: string;
|
|
@@ -11278,7 +11761,6 @@ export declare const tileWidgets: {
|
|
|
11278
11761
|
alt?: string | undefined;
|
|
11279
11762
|
}[] | undefined;
|
|
11280
11763
|
};
|
|
11281
|
-
id: string;
|
|
11282
11764
|
priority?: number | undefined;
|
|
11283
11765
|
category?: string | undefined;
|
|
11284
11766
|
answerStrategy?: {
|
|
@@ -11788,9 +12270,13 @@ 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;
|
|
12279
|
+
id: string;
|
|
11794
12280
|
answer: string | {
|
|
11795
12281
|
type: "rich";
|
|
11796
12282
|
html: string;
|
|
@@ -11806,7 +12292,6 @@ export declare const tileWidgets: {
|
|
|
11806
12292
|
alt?: string | undefined;
|
|
11807
12293
|
}[] | undefined;
|
|
11808
12294
|
};
|
|
11809
|
-
id: string;
|
|
11810
12295
|
priority?: number | undefined;
|
|
11811
12296
|
category?: string | undefined;
|
|
11812
12297
|
answerStrategy?: {
|
|
@@ -11817,6 +12302,7 @@ export declare const tileWidgets: {
|
|
|
11817
12302
|
} | undefined;
|
|
11818
12303
|
};
|
|
11819
12304
|
kind: "faq:question";
|
|
12305
|
+
title?: string | undefined;
|
|
11820
12306
|
triggerWhen?: {
|
|
11821
12307
|
type: "rules";
|
|
11822
12308
|
rules: {
|
|
@@ -11898,6 +12384,8 @@ export declare const tileWidgets: {
|
|
|
11898
12384
|
method?: "GET" | "POST" | undefined;
|
|
11899
12385
|
timeoutMs?: number | undefined;
|
|
11900
12386
|
} | null | undefined;
|
|
12387
|
+
description?: string | undefined;
|
|
12388
|
+
validation?: string[] | undefined;
|
|
11901
12389
|
notify?: {
|
|
11902
12390
|
title?: string | undefined;
|
|
11903
12391
|
body?: string | undefined;
|
|
@@ -11906,6 +12394,7 @@ export declare const tileWidgets: {
|
|
|
11906
12394
|
}, {
|
|
11907
12395
|
config: {
|
|
11908
12396
|
question: string;
|
|
12397
|
+
id: string;
|
|
11909
12398
|
answer: string | {
|
|
11910
12399
|
type: "rich";
|
|
11911
12400
|
html: string;
|
|
@@ -11921,7 +12410,6 @@ export declare const tileWidgets: {
|
|
|
11921
12410
|
alt?: string | undefined;
|
|
11922
12411
|
}[] | undefined;
|
|
11923
12412
|
};
|
|
11924
|
-
id: string;
|
|
11925
12413
|
priority?: number | undefined;
|
|
11926
12414
|
category?: string | undefined;
|
|
11927
12415
|
answerStrategy?: {
|
|
@@ -11932,6 +12420,7 @@ export declare const tileWidgets: {
|
|
|
11932
12420
|
} | undefined;
|
|
11933
12421
|
};
|
|
11934
12422
|
kind: "faq:question";
|
|
12423
|
+
title?: string | undefined;
|
|
11935
12424
|
triggerWhen?: {
|
|
11936
12425
|
type: "rules";
|
|
11937
12426
|
rules: {
|
|
@@ -12013,6 +12502,8 @@ export declare const tileWidgets: {
|
|
|
12013
12502
|
method?: "GET" | "POST" | undefined;
|
|
12014
12503
|
timeoutMs?: number | undefined;
|
|
12015
12504
|
} | null | undefined;
|
|
12505
|
+
description?: string | undefined;
|
|
12506
|
+
validation?: string[] | undefined;
|
|
12016
12507
|
notify?: {
|
|
12017
12508
|
title?: string | undefined;
|
|
12018
12509
|
body?: string | undefined;
|
|
@@ -12021,6 +12512,7 @@ export declare const tileWidgets: {
|
|
|
12021
12512
|
}>, {
|
|
12022
12513
|
config: {
|
|
12023
12514
|
question: string;
|
|
12515
|
+
id: string;
|
|
12024
12516
|
answer: string | {
|
|
12025
12517
|
type: "rich";
|
|
12026
12518
|
html: string;
|
|
@@ -12036,7 +12528,6 @@ export declare const tileWidgets: {
|
|
|
12036
12528
|
alt?: string | undefined;
|
|
12037
12529
|
}[] | undefined;
|
|
12038
12530
|
};
|
|
12039
|
-
id: string;
|
|
12040
12531
|
priority?: number | undefined;
|
|
12041
12532
|
category?: string | undefined;
|
|
12042
12533
|
answerStrategy?: {
|
|
@@ -12047,6 +12538,7 @@ export declare const tileWidgets: {
|
|
|
12047
12538
|
} | undefined;
|
|
12048
12539
|
};
|
|
12049
12540
|
kind: "faq:question";
|
|
12541
|
+
title?: string | undefined;
|
|
12050
12542
|
triggerWhen?: {
|
|
12051
12543
|
type: "rules";
|
|
12052
12544
|
rules: {
|
|
@@ -12128,6 +12620,8 @@ export declare const tileWidgets: {
|
|
|
12128
12620
|
method?: "GET" | "POST" | undefined;
|
|
12129
12621
|
timeoutMs?: number | undefined;
|
|
12130
12622
|
} | null | undefined;
|
|
12623
|
+
description?: string | undefined;
|
|
12624
|
+
validation?: string[] | undefined;
|
|
12131
12625
|
notify?: {
|
|
12132
12626
|
title?: string | undefined;
|
|
12133
12627
|
body?: string | undefined;
|
|
@@ -12136,6 +12630,7 @@ export declare const tileWidgets: {
|
|
|
12136
12630
|
}, {
|
|
12137
12631
|
config: {
|
|
12138
12632
|
question: string;
|
|
12633
|
+
id: string;
|
|
12139
12634
|
answer: string | {
|
|
12140
12635
|
type: "rich";
|
|
12141
12636
|
html: string;
|
|
@@ -12151,7 +12646,6 @@ export declare const tileWidgets: {
|
|
|
12151
12646
|
alt?: string | undefined;
|
|
12152
12647
|
}[] | undefined;
|
|
12153
12648
|
};
|
|
12154
|
-
id: string;
|
|
12155
12649
|
priority?: number | undefined;
|
|
12156
12650
|
category?: string | undefined;
|
|
12157
12651
|
answerStrategy?: {
|
|
@@ -12162,6 +12656,7 @@ export declare const tileWidgets: {
|
|
|
12162
12656
|
} | undefined;
|
|
12163
12657
|
};
|
|
12164
12658
|
kind: "faq:question";
|
|
12659
|
+
title?: string | undefined;
|
|
12165
12660
|
triggerWhen?: {
|
|
12166
12661
|
type: "rules";
|
|
12167
12662
|
rules: {
|
|
@@ -12243,6 +12738,8 @@ export declare const tileWidgets: {
|
|
|
12243
12738
|
method?: "GET" | "POST" | undefined;
|
|
12244
12739
|
timeoutMs?: number | undefined;
|
|
12245
12740
|
} | null | undefined;
|
|
12741
|
+
description?: string | undefined;
|
|
12742
|
+
validation?: string[] | undefined;
|
|
12246
12743
|
notify?: {
|
|
12247
12744
|
title?: string | undefined;
|
|
12248
12745
|
body?: string | undefined;
|
|
@@ -12255,6 +12752,7 @@ export declare const tileWidgets: {
|
|
|
12255
12752
|
items: {
|
|
12256
12753
|
config: {
|
|
12257
12754
|
question: string;
|
|
12755
|
+
id: string;
|
|
12258
12756
|
answer: string | {
|
|
12259
12757
|
type: "rich";
|
|
12260
12758
|
html: string;
|
|
@@ -12270,7 +12768,6 @@ export declare const tileWidgets: {
|
|
|
12270
12768
|
alt?: string | undefined;
|
|
12271
12769
|
}[] | undefined;
|
|
12272
12770
|
};
|
|
12273
|
-
id: string;
|
|
12274
12771
|
priority?: number | undefined;
|
|
12275
12772
|
category?: string | undefined;
|
|
12276
12773
|
answerStrategy?: {
|
|
@@ -12281,6 +12778,7 @@ export declare const tileWidgets: {
|
|
|
12281
12778
|
} | undefined;
|
|
12282
12779
|
};
|
|
12283
12780
|
kind: "faq:question";
|
|
12781
|
+
title?: string | undefined;
|
|
12284
12782
|
triggerWhen?: {
|
|
12285
12783
|
type: "rules";
|
|
12286
12784
|
rules: {
|
|
@@ -12362,6 +12860,8 @@ export declare const tileWidgets: {
|
|
|
12362
12860
|
method?: "GET" | "POST" | undefined;
|
|
12363
12861
|
timeoutMs?: number | undefined;
|
|
12364
12862
|
} | null | undefined;
|
|
12863
|
+
description?: string | undefined;
|
|
12864
|
+
validation?: string[] | undefined;
|
|
12365
12865
|
notify?: {
|
|
12366
12866
|
title?: string | undefined;
|
|
12367
12867
|
body?: string | undefined;
|
|
@@ -12455,6 +12955,7 @@ export declare const tileWidgets: {
|
|
|
12455
12955
|
items: {
|
|
12456
12956
|
config: {
|
|
12457
12957
|
question: string;
|
|
12958
|
+
id: string;
|
|
12458
12959
|
answer: string | {
|
|
12459
12960
|
type: "rich";
|
|
12460
12961
|
html: string;
|
|
@@ -12470,7 +12971,6 @@ export declare const tileWidgets: {
|
|
|
12470
12971
|
alt?: string | undefined;
|
|
12471
12972
|
}[] | undefined;
|
|
12472
12973
|
};
|
|
12473
|
-
id: string;
|
|
12474
12974
|
priority?: number | undefined;
|
|
12475
12975
|
category?: string | undefined;
|
|
12476
12976
|
answerStrategy?: {
|
|
@@ -12481,6 +12981,7 @@ export declare const tileWidgets: {
|
|
|
12481
12981
|
} | undefined;
|
|
12482
12982
|
};
|
|
12483
12983
|
kind: "faq:question";
|
|
12984
|
+
title?: string | undefined;
|
|
12484
12985
|
triggerWhen?: {
|
|
12485
12986
|
type: "rules";
|
|
12486
12987
|
rules: {
|
|
@@ -12562,6 +13063,8 @@ export declare const tileWidgets: {
|
|
|
12562
13063
|
method?: "GET" | "POST" | undefined;
|
|
12563
13064
|
timeoutMs?: number | undefined;
|
|
12564
13065
|
} | null | undefined;
|
|
13066
|
+
description?: string | undefined;
|
|
13067
|
+
validation?: string[] | undefined;
|
|
12565
13068
|
notify?: {
|
|
12566
13069
|
title?: string | undefined;
|
|
12567
13070
|
body?: string | undefined;
|
|
@@ -12659,6 +13162,7 @@ export declare const tileWidgets: {
|
|
|
12659
13162
|
actions: {
|
|
12660
13163
|
config: {
|
|
12661
13164
|
question: string;
|
|
13165
|
+
id: string;
|
|
12662
13166
|
answer: string | {
|
|
12663
13167
|
type: "rich";
|
|
12664
13168
|
html: string;
|
|
@@ -12674,7 +13178,6 @@ export declare const tileWidgets: {
|
|
|
12674
13178
|
alt?: string | undefined;
|
|
12675
13179
|
}[] | undefined;
|
|
12676
13180
|
};
|
|
12677
|
-
id: string;
|
|
12678
13181
|
priority?: number | undefined;
|
|
12679
13182
|
category?: string | undefined;
|
|
12680
13183
|
answerStrategy?: {
|
|
@@ -12685,6 +13188,7 @@ export declare const tileWidgets: {
|
|
|
12685
13188
|
} | undefined;
|
|
12686
13189
|
};
|
|
12687
13190
|
kind: "faq:question";
|
|
13191
|
+
title?: string | undefined;
|
|
12688
13192
|
triggerWhen?: {
|
|
12689
13193
|
type: "rules";
|
|
12690
13194
|
rules: {
|
|
@@ -12766,12 +13270,15 @@ export declare const tileWidgets: {
|
|
|
12766
13270
|
method?: "GET" | "POST" | undefined;
|
|
12767
13271
|
timeoutMs?: number | undefined;
|
|
12768
13272
|
} | null | undefined;
|
|
13273
|
+
description?: string | undefined;
|
|
13274
|
+
validation?: string[] | undefined;
|
|
12769
13275
|
notify?: {
|
|
12770
13276
|
title?: string | undefined;
|
|
12771
13277
|
body?: string | undefined;
|
|
12772
13278
|
icon?: string | undefined;
|
|
12773
13279
|
} | null | undefined;
|
|
12774
13280
|
}[];
|
|
13281
|
+
title?: string | undefined;
|
|
12775
13282
|
feedback?: boolean | {
|
|
12776
13283
|
style: "thumbs" | "rating";
|
|
12777
13284
|
prompt?: string | undefined;
|
|
@@ -12784,6 +13291,7 @@ export declare const tileWidgets: {
|
|
|
12784
13291
|
items: {
|
|
12785
13292
|
config: {
|
|
12786
13293
|
question: string;
|
|
13294
|
+
id: string;
|
|
12787
13295
|
answer: string | {
|
|
12788
13296
|
type: "rich";
|
|
12789
13297
|
html: string;
|
|
@@ -12799,7 +13307,6 @@ export declare const tileWidgets: {
|
|
|
12799
13307
|
alt?: string | undefined;
|
|
12800
13308
|
}[] | undefined;
|
|
12801
13309
|
};
|
|
12802
|
-
id: string;
|
|
12803
13310
|
priority?: number | undefined;
|
|
12804
13311
|
category?: string | undefined;
|
|
12805
13312
|
answerStrategy?: {
|
|
@@ -12810,6 +13317,7 @@ export declare const tileWidgets: {
|
|
|
12810
13317
|
} | undefined;
|
|
12811
13318
|
};
|
|
12812
13319
|
kind: "faq:question";
|
|
13320
|
+
title?: string | undefined;
|
|
12813
13321
|
triggerWhen?: {
|
|
12814
13322
|
type: "rules";
|
|
12815
13323
|
rules: {
|
|
@@ -12891,6 +13399,8 @@ export declare const tileWidgets: {
|
|
|
12891
13399
|
method?: "GET" | "POST" | undefined;
|
|
12892
13400
|
timeoutMs?: number | undefined;
|
|
12893
13401
|
} | null | undefined;
|
|
13402
|
+
description?: string | undefined;
|
|
13403
|
+
validation?: string[] | undefined;
|
|
12894
13404
|
notify?: {
|
|
12895
13405
|
title?: string | undefined;
|
|
12896
13406
|
body?: string | undefined;
|
|
@@ -12981,14 +13491,15 @@ 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?: {
|
|
12990
13500
|
config: {
|
|
12991
13501
|
question: string;
|
|
13502
|
+
id: string;
|
|
12992
13503
|
answer: string | {
|
|
12993
13504
|
type: "rich";
|
|
12994
13505
|
html: string;
|
|
@@ -13004,7 +13515,6 @@ export declare const tileWidgets: {
|
|
|
13004
13515
|
alt?: string | undefined;
|
|
13005
13516
|
}[] | undefined;
|
|
13006
13517
|
};
|
|
13007
|
-
id: string;
|
|
13008
13518
|
priority?: number | undefined;
|
|
13009
13519
|
category?: string | undefined;
|
|
13010
13520
|
answerStrategy?: {
|
|
@@ -13015,6 +13525,7 @@ export declare const tileWidgets: {
|
|
|
13015
13525
|
} | undefined;
|
|
13016
13526
|
};
|
|
13017
13527
|
kind: "faq:question";
|
|
13528
|
+
title?: string | undefined;
|
|
13018
13529
|
triggerWhen?: {
|
|
13019
13530
|
type: "rules";
|
|
13020
13531
|
rules: {
|
|
@@ -13096,6 +13607,8 @@ export declare const tileWidgets: {
|
|
|
13096
13607
|
method?: "GET" | "POST" | undefined;
|
|
13097
13608
|
timeoutMs?: number | undefined;
|
|
13098
13609
|
} | null | undefined;
|
|
13610
|
+
description?: string | undefined;
|
|
13611
|
+
validation?: string[] | undefined;
|
|
13099
13612
|
notify?: {
|
|
13100
13613
|
title?: string | undefined;
|
|
13101
13614
|
body?: string | undefined;
|
|
@@ -13114,6 +13627,7 @@ export declare const tileWidgets: {
|
|
|
13114
13627
|
items: {
|
|
13115
13628
|
config: {
|
|
13116
13629
|
question: string;
|
|
13630
|
+
id: string;
|
|
13117
13631
|
answer: string | {
|
|
13118
13632
|
type: "rich";
|
|
13119
13633
|
html: string;
|
|
@@ -13129,7 +13643,6 @@ export declare const tileWidgets: {
|
|
|
13129
13643
|
alt?: string | undefined;
|
|
13130
13644
|
}[] | undefined;
|
|
13131
13645
|
};
|
|
13132
|
-
id: string;
|
|
13133
13646
|
priority?: number | undefined;
|
|
13134
13647
|
category?: string | undefined;
|
|
13135
13648
|
answerStrategy?: {
|
|
@@ -13140,6 +13653,7 @@ export declare const tileWidgets: {
|
|
|
13140
13653
|
} | undefined;
|
|
13141
13654
|
};
|
|
13142
13655
|
kind: "faq:question";
|
|
13656
|
+
title?: string | undefined;
|
|
13143
13657
|
triggerWhen?: {
|
|
13144
13658
|
type: "rules";
|
|
13145
13659
|
rules: {
|
|
@@ -13221,6 +13735,8 @@ export declare const tileWidgets: {
|
|
|
13221
13735
|
method?: "GET" | "POST" | undefined;
|
|
13222
13736
|
timeoutMs?: number | undefined;
|
|
13223
13737
|
} | null | undefined;
|
|
13738
|
+
description?: string | undefined;
|
|
13739
|
+
validation?: string[] | undefined;
|
|
13224
13740
|
notify?: {
|
|
13225
13741
|
title?: string | undefined;
|
|
13226
13742
|
body?: string | undefined;
|
|
@@ -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
|