waha-shared 1.0.179 → 1.0.181
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.
|
@@ -7,10 +7,11 @@ export declare const MicroLesson: z.ZodObject<{
|
|
|
7
7
|
platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "Both"]>>;
|
|
8
8
|
campaign: z.ZodOptional<z.ZodString>;
|
|
9
9
|
pages: z.ZodArray<z.ZodObject<{
|
|
10
|
-
heading: z.
|
|
10
|
+
heading: z.ZodString;
|
|
11
11
|
body: z.ZodOptional<z.ZodString>;
|
|
12
12
|
image: z.ZodOptional<z.ZodString>;
|
|
13
13
|
audio: z.ZodOptional<z.ZodString>;
|
|
14
|
+
hasTextInput: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
15
16
|
radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
17
|
text: z.ZodString;
|
|
@@ -21,20 +22,22 @@ export declare const MicroLesson: z.ZodObject<{
|
|
|
21
22
|
}>, "many">>;
|
|
22
23
|
videoUrl: z.ZodOptional<z.ZodString>;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
heading: string;
|
|
24
26
|
audio?: string | undefined;
|
|
25
27
|
body?: string | undefined;
|
|
26
28
|
image?: string | undefined;
|
|
27
|
-
|
|
29
|
+
hasTextInput?: boolean | undefined;
|
|
28
30
|
placeholder?: string | undefined;
|
|
29
31
|
radioButtons?: {
|
|
30
32
|
text: string;
|
|
31
33
|
}[] | undefined;
|
|
32
34
|
videoUrl?: string | undefined;
|
|
33
35
|
}, {
|
|
36
|
+
heading: string;
|
|
34
37
|
audio?: string | undefined;
|
|
35
38
|
body?: string | undefined;
|
|
36
39
|
image?: string | undefined;
|
|
37
|
-
|
|
40
|
+
hasTextInput?: boolean | undefined;
|
|
38
41
|
placeholder?: string | undefined;
|
|
39
42
|
radioButtons?: {
|
|
40
43
|
text: string;
|
|
@@ -44,10 +47,11 @@ export declare const MicroLesson: z.ZodObject<{
|
|
|
44
47
|
}, "strip", z.ZodTypeAny, {
|
|
45
48
|
title: string;
|
|
46
49
|
pages: {
|
|
50
|
+
heading: string;
|
|
47
51
|
audio?: string | undefined;
|
|
48
52
|
body?: string | undefined;
|
|
49
53
|
image?: string | undefined;
|
|
50
|
-
|
|
54
|
+
hasTextInput?: boolean | undefined;
|
|
51
55
|
placeholder?: string | undefined;
|
|
52
56
|
radioButtons?: {
|
|
53
57
|
text: string;
|
|
@@ -62,10 +66,11 @@ export declare const MicroLesson: z.ZodObject<{
|
|
|
62
66
|
}, {
|
|
63
67
|
title: string;
|
|
64
68
|
pages: {
|
|
69
|
+
heading: string;
|
|
65
70
|
audio?: string | undefined;
|
|
66
71
|
body?: string | undefined;
|
|
67
72
|
image?: string | undefined;
|
|
68
|
-
|
|
73
|
+
hasTextInput?: boolean | undefined;
|
|
69
74
|
placeholder?: string | undefined;
|
|
70
75
|
radioButtons?: {
|
|
71
76
|
text: string;
|
|
@@ -13,10 +13,11 @@ exports.MicroLesson = zod_1.default.object({
|
|
|
13
13
|
platform: zod_1.default.enum(['Web Only', 'App Only', 'Both']).optional(),
|
|
14
14
|
campaign: zod_1.default.string().optional(),
|
|
15
15
|
pages: zod_1.default.array(zod_1.default.object({
|
|
16
|
-
heading: zod_1.default.string()
|
|
16
|
+
heading: zod_1.default.string(),
|
|
17
17
|
body: zod_1.default.string().optional(),
|
|
18
18
|
image: zod_1.default.string().optional(),
|
|
19
19
|
audio: zod_1.default.string().optional(),
|
|
20
|
+
hasTextInput: zod_1.default.boolean().optional(),
|
|
20
21
|
placeholder: zod_1.default.string().optional(),
|
|
21
22
|
radioButtons: zod_1.default.array(zod_1.default.object({ text: zod_1.default.string() })).optional(),
|
|
22
23
|
videoUrl: zod_1.default.string().optional(),
|