waha-shared 1.0.215 → 1.0.216
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.
|
@@ -37,6 +37,11 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
37
37
|
showCopyButton: z.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
prefilledText: z.ZodOptional<z.ZodString>;
|
|
39
39
|
}, z.core.$strip>>;
|
|
40
|
+
ctaButton: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
show: z.ZodBoolean;
|
|
42
|
+
label: z.ZodString;
|
|
43
|
+
href: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>;
|
|
40
45
|
radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
46
|
heading: z.ZodOptional<z.ZodString>;
|
|
42
47
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -94,6 +99,11 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
94
99
|
showCopyButton: z.ZodOptional<z.ZodBoolean>;
|
|
95
100
|
prefilledText: z.ZodOptional<z.ZodString>;
|
|
96
101
|
}, z.core.$strip>>;
|
|
102
|
+
ctaButton: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
show: z.ZodBoolean;
|
|
104
|
+
label: z.ZodString;
|
|
105
|
+
href: z.ZodString;
|
|
106
|
+
}, z.core.$strip>>;
|
|
97
107
|
radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
108
|
heading: z.ZodOptional<z.ZodString>;
|
|
99
109
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -153,6 +163,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
153
163
|
showCopyButton: z.ZodOptional<z.ZodBoolean>;
|
|
154
164
|
prefilledText: z.ZodOptional<z.ZodString>;
|
|
155
165
|
}, z.core.$strip>>;
|
|
166
|
+
ctaButton: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
show: z.ZodBoolean;
|
|
168
|
+
label: z.ZodString;
|
|
169
|
+
href: z.ZodString;
|
|
170
|
+
}, z.core.$strip>>;
|
|
156
171
|
radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
172
|
heading: z.ZodOptional<z.ZodString>;
|
|
158
173
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -34,6 +34,13 @@ exports.MicroLessonSchema = v4_1.default.object({
|
|
|
34
34
|
prefilledText: v4_1.default.string().optional(),
|
|
35
35
|
})
|
|
36
36
|
.optional(),
|
|
37
|
+
ctaButton: v4_1.default
|
|
38
|
+
.object({
|
|
39
|
+
show: v4_1.default.boolean(),
|
|
40
|
+
label: v4_1.default.string(),
|
|
41
|
+
href: v4_1.default.string(),
|
|
42
|
+
})
|
|
43
|
+
.optional(),
|
|
37
44
|
radioButtons: v4_1.default
|
|
38
45
|
.array(v4_1.default.object({
|
|
39
46
|
heading: v4_1.default.string().optional(),
|