waha-shared 1.0.204 → 1.0.205
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/types/articles.d.ts
CHANGED
|
@@ -22,14 +22,17 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
22
22
|
videoUrl: z.ZodString;
|
|
23
23
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
25
26
|
}, "strip", z.ZodTypeAny, {
|
|
26
27
|
videoUrl: string;
|
|
27
28
|
loop?: boolean | undefined;
|
|
28
29
|
autoplay?: boolean | undefined;
|
|
30
|
+
disableControls?: boolean | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
videoUrl: string;
|
|
31
33
|
loop?: boolean | undefined;
|
|
32
34
|
autoplay?: boolean | undefined;
|
|
35
|
+
disableControls?: boolean | undefined;
|
|
33
36
|
}>>;
|
|
34
37
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
|
|
35
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -45,6 +48,7 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
45
48
|
videoUrl: string;
|
|
46
49
|
loop?: boolean | undefined;
|
|
47
50
|
autoplay?: boolean | undefined;
|
|
51
|
+
disableControls?: boolean | undefined;
|
|
48
52
|
} | undefined;
|
|
49
53
|
author?: string | undefined;
|
|
50
54
|
image?: string | undefined;
|
|
@@ -64,6 +68,7 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
64
68
|
videoUrl: string;
|
|
65
69
|
loop?: boolean | undefined;
|
|
66
70
|
autoplay?: boolean | undefined;
|
|
71
|
+
disableControls?: boolean | undefined;
|
|
67
72
|
} | undefined;
|
|
68
73
|
author?: string | undefined;
|
|
69
74
|
image?: string | undefined;
|
|
@@ -97,14 +102,17 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
97
102
|
videoUrl: z.ZodString;
|
|
98
103
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
99
104
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
100
106
|
}, "strip", z.ZodTypeAny, {
|
|
101
107
|
videoUrl: string;
|
|
102
108
|
loop?: boolean | undefined;
|
|
103
109
|
autoplay?: boolean | undefined;
|
|
110
|
+
disableControls?: boolean | undefined;
|
|
104
111
|
}, {
|
|
105
112
|
videoUrl: string;
|
|
106
113
|
loop?: boolean | undefined;
|
|
107
114
|
autoplay?: boolean | undefined;
|
|
115
|
+
disableControls?: boolean | undefined;
|
|
108
116
|
}>>;
|
|
109
117
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
|
|
110
118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -120,6 +128,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
120
128
|
videoUrl: string;
|
|
121
129
|
loop?: boolean | undefined;
|
|
122
130
|
autoplay?: boolean | undefined;
|
|
131
|
+
disableControls?: boolean | undefined;
|
|
123
132
|
} | undefined;
|
|
124
133
|
author?: string | undefined;
|
|
125
134
|
image?: string | undefined;
|
|
@@ -139,6 +148,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
139
148
|
videoUrl: string;
|
|
140
149
|
loop?: boolean | undefined;
|
|
141
150
|
autoplay?: boolean | undefined;
|
|
151
|
+
disableControls?: boolean | undefined;
|
|
142
152
|
} | undefined;
|
|
143
153
|
author?: string | undefined;
|
|
144
154
|
image?: string | undefined;
|
|
@@ -164,6 +174,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
164
174
|
videoUrl: string;
|
|
165
175
|
loop?: boolean | undefined;
|
|
166
176
|
autoplay?: boolean | undefined;
|
|
177
|
+
disableControls?: boolean | undefined;
|
|
167
178
|
} | undefined;
|
|
168
179
|
author?: string | undefined;
|
|
169
180
|
image?: string | undefined;
|
|
@@ -188,6 +199,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
188
199
|
videoUrl: string;
|
|
189
200
|
loop?: boolean | undefined;
|
|
190
201
|
autoplay?: boolean | undefined;
|
|
202
|
+
disableControls?: boolean | undefined;
|
|
191
203
|
} | undefined;
|
|
192
204
|
author?: string | undefined;
|
|
193
205
|
image?: string | undefined;
|
|
@@ -224,14 +236,17 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
224
236
|
videoUrl: z.ZodString;
|
|
225
237
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
226
238
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
227
240
|
}, "strip", z.ZodTypeAny, {
|
|
228
241
|
videoUrl: string;
|
|
229
242
|
loop?: boolean | undefined;
|
|
230
243
|
autoplay?: boolean | undefined;
|
|
244
|
+
disableControls?: boolean | undefined;
|
|
231
245
|
}, {
|
|
232
246
|
videoUrl: string;
|
|
233
247
|
loop?: boolean | undefined;
|
|
234
248
|
autoplay?: boolean | undefined;
|
|
249
|
+
disableControls?: boolean | undefined;
|
|
235
250
|
}>>;
|
|
236
251
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
|
|
237
252
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -247,6 +262,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
247
262
|
videoUrl: string;
|
|
248
263
|
loop?: boolean | undefined;
|
|
249
264
|
autoplay?: boolean | undefined;
|
|
265
|
+
disableControls?: boolean | undefined;
|
|
250
266
|
} | undefined;
|
|
251
267
|
author?: string | undefined;
|
|
252
268
|
image?: string | undefined;
|
|
@@ -266,6 +282,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
266
282
|
videoUrl: string;
|
|
267
283
|
loop?: boolean | undefined;
|
|
268
284
|
autoplay?: boolean | undefined;
|
|
285
|
+
disableControls?: boolean | undefined;
|
|
269
286
|
} | undefined;
|
|
270
287
|
author?: string | undefined;
|
|
271
288
|
image?: string | undefined;
|
|
@@ -291,6 +308,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
291
308
|
videoUrl: string;
|
|
292
309
|
loop?: boolean | undefined;
|
|
293
310
|
autoplay?: boolean | undefined;
|
|
311
|
+
disableControls?: boolean | undefined;
|
|
294
312
|
} | undefined;
|
|
295
313
|
author?: string | undefined;
|
|
296
314
|
image?: string | undefined;
|
|
@@ -315,6 +333,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
315
333
|
videoUrl: string;
|
|
316
334
|
loop?: boolean | undefined;
|
|
317
335
|
autoplay?: boolean | undefined;
|
|
336
|
+
disableControls?: boolean | undefined;
|
|
318
337
|
} | undefined;
|
|
319
338
|
author?: string | undefined;
|
|
320
339
|
image?: string | undefined;
|
|
@@ -341,6 +360,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
341
360
|
videoUrl: string;
|
|
342
361
|
loop?: boolean | undefined;
|
|
343
362
|
autoplay?: boolean | undefined;
|
|
363
|
+
disableControls?: boolean | undefined;
|
|
344
364
|
} | undefined;
|
|
345
365
|
author?: string | undefined;
|
|
346
366
|
image?: string | undefined;
|
|
@@ -367,6 +387,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
367
387
|
videoUrl: string;
|
|
368
388
|
loop?: boolean | undefined;
|
|
369
389
|
autoplay?: boolean | undefined;
|
|
390
|
+
disableControls?: boolean | undefined;
|
|
370
391
|
} | undefined;
|
|
371
392
|
author?: string | undefined;
|
|
372
393
|
image?: string | undefined;
|
|
@@ -6,10 +6,13 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
6
6
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
9
|
+
image: z.ZodOptional<z.ZodString>;
|
|
10
|
+
category: z.ZodEnum<["Case Studies", "How Tos"]>;
|
|
9
11
|
campaign: z.ZodOptional<z.ZodString>;
|
|
10
12
|
pages: z.ZodArray<z.ZodObject<{
|
|
11
13
|
heading: z.ZodString;
|
|
12
14
|
body: z.ZodOptional<z.ZodString>;
|
|
15
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
13
16
|
image: z.ZodOptional<z.ZodString>;
|
|
14
17
|
audio: z.ZodOptional<z.ZodObject<{
|
|
15
18
|
audioUrl: z.ZodString;
|
|
@@ -25,14 +28,17 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
25
28
|
videoUrl: z.ZodString;
|
|
26
29
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
27
30
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
28
32
|
}, "strip", z.ZodTypeAny, {
|
|
29
33
|
videoUrl: string;
|
|
30
34
|
loop?: boolean | undefined;
|
|
31
35
|
autoplay?: boolean | undefined;
|
|
36
|
+
disableControls?: boolean | undefined;
|
|
32
37
|
}, {
|
|
33
38
|
videoUrl: string;
|
|
34
39
|
loop?: boolean | undefined;
|
|
35
40
|
autoplay?: boolean | undefined;
|
|
41
|
+
disableControls?: boolean | undefined;
|
|
36
42
|
}>>;
|
|
37
43
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
38
44
|
show: z.ZodBoolean;
|
|
@@ -76,6 +82,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
76
82
|
}>>;
|
|
77
83
|
}, "strip", z.ZodTypeAny, {
|
|
78
84
|
heading: string;
|
|
85
|
+
icon?: string | undefined;
|
|
79
86
|
audio?: {
|
|
80
87
|
audioUrl: string;
|
|
81
88
|
loop?: boolean | undefined;
|
|
@@ -85,6 +92,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
85
92
|
videoUrl: string;
|
|
86
93
|
loop?: boolean | undefined;
|
|
87
94
|
autoplay?: boolean | undefined;
|
|
95
|
+
disableControls?: boolean | undefined;
|
|
88
96
|
} | undefined;
|
|
89
97
|
notification?: {
|
|
90
98
|
title: string;
|
|
@@ -105,6 +113,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
105
113
|
}[] | undefined;
|
|
106
114
|
}, {
|
|
107
115
|
heading: string;
|
|
116
|
+
icon?: string | undefined;
|
|
108
117
|
audio?: {
|
|
109
118
|
audioUrl: string;
|
|
110
119
|
loop?: boolean | undefined;
|
|
@@ -114,6 +123,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
114
123
|
videoUrl: string;
|
|
115
124
|
loop?: boolean | undefined;
|
|
116
125
|
autoplay?: boolean | undefined;
|
|
126
|
+
disableControls?: boolean | undefined;
|
|
117
127
|
} | undefined;
|
|
118
128
|
notification?: {
|
|
119
129
|
title: string;
|
|
@@ -135,9 +145,11 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
135
145
|
}>, "many">;
|
|
136
146
|
}, "strip", z.ZodTypeAny, {
|
|
137
147
|
title: string;
|
|
148
|
+
category: "Case Studies" | "How Tos";
|
|
138
149
|
platform: "Web Only" | "App Only" | "All";
|
|
139
150
|
pages: {
|
|
140
151
|
heading: string;
|
|
152
|
+
icon?: string | undefined;
|
|
141
153
|
audio?: {
|
|
142
154
|
audioUrl: string;
|
|
143
155
|
loop?: boolean | undefined;
|
|
@@ -147,6 +159,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
147
159
|
videoUrl: string;
|
|
148
160
|
loop?: boolean | undefined;
|
|
149
161
|
autoplay?: boolean | undefined;
|
|
162
|
+
disableControls?: boolean | undefined;
|
|
150
163
|
} | undefined;
|
|
151
164
|
notification?: {
|
|
152
165
|
title: string;
|
|
@@ -167,15 +180,18 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
167
180
|
}[] | undefined;
|
|
168
181
|
}[];
|
|
169
182
|
date?: string | Date | undefined;
|
|
183
|
+
image?: string | undefined;
|
|
170
184
|
isDraft?: boolean | undefined;
|
|
171
185
|
seekerFriendly?: boolean | undefined;
|
|
172
186
|
subtitle?: string | undefined;
|
|
173
187
|
campaign?: string | undefined;
|
|
174
188
|
}, {
|
|
175
189
|
title: string;
|
|
190
|
+
category: "Case Studies" | "How Tos";
|
|
176
191
|
platform: "Web Only" | "App Only" | "All";
|
|
177
192
|
pages: {
|
|
178
193
|
heading: string;
|
|
194
|
+
icon?: string | undefined;
|
|
179
195
|
audio?: {
|
|
180
196
|
audioUrl: string;
|
|
181
197
|
loop?: boolean | undefined;
|
|
@@ -185,6 +201,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
185
201
|
videoUrl: string;
|
|
186
202
|
loop?: boolean | undefined;
|
|
187
203
|
autoplay?: boolean | undefined;
|
|
204
|
+
disableControls?: boolean | undefined;
|
|
188
205
|
} | undefined;
|
|
189
206
|
notification?: {
|
|
190
207
|
title: string;
|
|
@@ -205,6 +222,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
205
222
|
}[] | undefined;
|
|
206
223
|
}[];
|
|
207
224
|
date?: string | Date | undefined;
|
|
225
|
+
image?: string | undefined;
|
|
208
226
|
isDraft?: boolean | undefined;
|
|
209
227
|
seekerFriendly?: boolean | undefined;
|
|
210
228
|
subtitle?: string | undefined;
|
|
@@ -220,10 +238,13 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
220
238
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
221
239
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
222
240
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
241
|
+
image: z.ZodOptional<z.ZodString>;
|
|
242
|
+
category: z.ZodEnum<["Case Studies", "How Tos"]>;
|
|
223
243
|
campaign: z.ZodOptional<z.ZodString>;
|
|
224
244
|
pages: z.ZodArray<z.ZodObject<{
|
|
225
245
|
heading: z.ZodString;
|
|
226
246
|
body: z.ZodOptional<z.ZodString>;
|
|
247
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
227
248
|
image: z.ZodOptional<z.ZodString>;
|
|
228
249
|
audio: z.ZodOptional<z.ZodObject<{
|
|
229
250
|
audioUrl: z.ZodString;
|
|
@@ -239,14 +260,17 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
239
260
|
videoUrl: z.ZodString;
|
|
240
261
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
241
262
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
242
264
|
}, "strip", z.ZodTypeAny, {
|
|
243
265
|
videoUrl: string;
|
|
244
266
|
loop?: boolean | undefined;
|
|
245
267
|
autoplay?: boolean | undefined;
|
|
268
|
+
disableControls?: boolean | undefined;
|
|
246
269
|
}, {
|
|
247
270
|
videoUrl: string;
|
|
248
271
|
loop?: boolean | undefined;
|
|
249
272
|
autoplay?: boolean | undefined;
|
|
273
|
+
disableControls?: boolean | undefined;
|
|
250
274
|
}>>;
|
|
251
275
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
252
276
|
show: z.ZodBoolean;
|
|
@@ -290,6 +314,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
290
314
|
}>>;
|
|
291
315
|
}, "strip", z.ZodTypeAny, {
|
|
292
316
|
heading: string;
|
|
317
|
+
icon?: string | undefined;
|
|
293
318
|
audio?: {
|
|
294
319
|
audioUrl: string;
|
|
295
320
|
loop?: boolean | undefined;
|
|
@@ -299,6 +324,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
299
324
|
videoUrl: string;
|
|
300
325
|
loop?: boolean | undefined;
|
|
301
326
|
autoplay?: boolean | undefined;
|
|
327
|
+
disableControls?: boolean | undefined;
|
|
302
328
|
} | undefined;
|
|
303
329
|
notification?: {
|
|
304
330
|
title: string;
|
|
@@ -319,6 +345,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
319
345
|
}[] | undefined;
|
|
320
346
|
}, {
|
|
321
347
|
heading: string;
|
|
348
|
+
icon?: string | undefined;
|
|
322
349
|
audio?: {
|
|
323
350
|
audioUrl: string;
|
|
324
351
|
loop?: boolean | undefined;
|
|
@@ -328,6 +355,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
328
355
|
videoUrl: string;
|
|
329
356
|
loop?: boolean | undefined;
|
|
330
357
|
autoplay?: boolean | undefined;
|
|
358
|
+
disableControls?: boolean | undefined;
|
|
331
359
|
} | undefined;
|
|
332
360
|
notification?: {
|
|
333
361
|
title: string;
|
|
@@ -349,9 +377,11 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
349
377
|
}>, "many">;
|
|
350
378
|
}, "strip", z.ZodTypeAny, {
|
|
351
379
|
title: string;
|
|
380
|
+
category: "Case Studies" | "How Tos";
|
|
352
381
|
platform: "Web Only" | "App Only" | "All";
|
|
353
382
|
pages: {
|
|
354
383
|
heading: string;
|
|
384
|
+
icon?: string | undefined;
|
|
355
385
|
audio?: {
|
|
356
386
|
audioUrl: string;
|
|
357
387
|
loop?: boolean | undefined;
|
|
@@ -361,6 +391,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
361
391
|
videoUrl: string;
|
|
362
392
|
loop?: boolean | undefined;
|
|
363
393
|
autoplay?: boolean | undefined;
|
|
394
|
+
disableControls?: boolean | undefined;
|
|
364
395
|
} | undefined;
|
|
365
396
|
notification?: {
|
|
366
397
|
title: string;
|
|
@@ -381,15 +412,18 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
381
412
|
}[] | undefined;
|
|
382
413
|
}[];
|
|
383
414
|
date?: string | Date | undefined;
|
|
415
|
+
image?: string | undefined;
|
|
384
416
|
isDraft?: boolean | undefined;
|
|
385
417
|
seekerFriendly?: boolean | undefined;
|
|
386
418
|
subtitle?: string | undefined;
|
|
387
419
|
campaign?: string | undefined;
|
|
388
420
|
}, {
|
|
389
421
|
title: string;
|
|
422
|
+
category: "Case Studies" | "How Tos";
|
|
390
423
|
platform: "Web Only" | "App Only" | "All";
|
|
391
424
|
pages: {
|
|
392
425
|
heading: string;
|
|
426
|
+
icon?: string | undefined;
|
|
393
427
|
audio?: {
|
|
394
428
|
audioUrl: string;
|
|
395
429
|
loop?: boolean | undefined;
|
|
@@ -399,6 +433,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
399
433
|
videoUrl: string;
|
|
400
434
|
loop?: boolean | undefined;
|
|
401
435
|
autoplay?: boolean | undefined;
|
|
436
|
+
disableControls?: boolean | undefined;
|
|
402
437
|
} | undefined;
|
|
403
438
|
notification?: {
|
|
404
439
|
title: string;
|
|
@@ -419,6 +454,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
419
454
|
}[] | undefined;
|
|
420
455
|
}[];
|
|
421
456
|
date?: string | Date | undefined;
|
|
457
|
+
image?: string | undefined;
|
|
422
458
|
isDraft?: boolean | undefined;
|
|
423
459
|
seekerFriendly?: boolean | undefined;
|
|
424
460
|
subtitle?: string | undefined;
|
|
@@ -428,9 +464,11 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
428
464
|
id: string;
|
|
429
465
|
data: {
|
|
430
466
|
title: string;
|
|
467
|
+
category: "Case Studies" | "How Tos";
|
|
431
468
|
platform: "Web Only" | "App Only" | "All";
|
|
432
469
|
pages: {
|
|
433
470
|
heading: string;
|
|
471
|
+
icon?: string | undefined;
|
|
434
472
|
audio?: {
|
|
435
473
|
audioUrl: string;
|
|
436
474
|
loop?: boolean | undefined;
|
|
@@ -440,6 +478,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
440
478
|
videoUrl: string;
|
|
441
479
|
loop?: boolean | undefined;
|
|
442
480
|
autoplay?: boolean | undefined;
|
|
481
|
+
disableControls?: boolean | undefined;
|
|
443
482
|
} | undefined;
|
|
444
483
|
notification?: {
|
|
445
484
|
title: string;
|
|
@@ -460,6 +499,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
460
499
|
}[] | undefined;
|
|
461
500
|
}[];
|
|
462
501
|
date?: string | Date | undefined;
|
|
502
|
+
image?: string | undefined;
|
|
463
503
|
isDraft?: boolean | undefined;
|
|
464
504
|
seekerFriendly?: boolean | undefined;
|
|
465
505
|
subtitle?: string | undefined;
|
|
@@ -469,9 +509,11 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
469
509
|
id: string;
|
|
470
510
|
data: {
|
|
471
511
|
title: string;
|
|
512
|
+
category: "Case Studies" | "How Tos";
|
|
472
513
|
platform: "Web Only" | "App Only" | "All";
|
|
473
514
|
pages: {
|
|
474
515
|
heading: string;
|
|
516
|
+
icon?: string | undefined;
|
|
475
517
|
audio?: {
|
|
476
518
|
audioUrl: string;
|
|
477
519
|
loop?: boolean | undefined;
|
|
@@ -481,6 +523,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
481
523
|
videoUrl: string;
|
|
482
524
|
loop?: boolean | undefined;
|
|
483
525
|
autoplay?: boolean | undefined;
|
|
526
|
+
disableControls?: boolean | undefined;
|
|
484
527
|
} | undefined;
|
|
485
528
|
notification?: {
|
|
486
529
|
title: string;
|
|
@@ -501,6 +544,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
501
544
|
}[] | undefined;
|
|
502
545
|
}[];
|
|
503
546
|
date?: string | Date | undefined;
|
|
547
|
+
image?: string | undefined;
|
|
504
548
|
isDraft?: boolean | undefined;
|
|
505
549
|
seekerFriendly?: boolean | undefined;
|
|
506
550
|
subtitle?: string | undefined;
|
|
@@ -518,10 +562,13 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
518
562
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
519
563
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
520
564
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
565
|
+
image: z.ZodOptional<z.ZodString>;
|
|
566
|
+
category: z.ZodEnum<["Case Studies", "How Tos"]>;
|
|
521
567
|
campaign: z.ZodOptional<z.ZodString>;
|
|
522
568
|
pages: z.ZodArray<z.ZodObject<{
|
|
523
569
|
heading: z.ZodString;
|
|
524
570
|
body: z.ZodOptional<z.ZodString>;
|
|
571
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
525
572
|
image: z.ZodOptional<z.ZodString>;
|
|
526
573
|
audio: z.ZodOptional<z.ZodObject<{
|
|
527
574
|
audioUrl: z.ZodString;
|
|
@@ -537,14 +584,17 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
537
584
|
videoUrl: z.ZodString;
|
|
538
585
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
539
586
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
587
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
540
588
|
}, "strip", z.ZodTypeAny, {
|
|
541
589
|
videoUrl: string;
|
|
542
590
|
loop?: boolean | undefined;
|
|
543
591
|
autoplay?: boolean | undefined;
|
|
592
|
+
disableControls?: boolean | undefined;
|
|
544
593
|
}, {
|
|
545
594
|
videoUrl: string;
|
|
546
595
|
loop?: boolean | undefined;
|
|
547
596
|
autoplay?: boolean | undefined;
|
|
597
|
+
disableControls?: boolean | undefined;
|
|
548
598
|
}>>;
|
|
549
599
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
550
600
|
show: z.ZodBoolean;
|
|
@@ -588,6 +638,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
588
638
|
}>>;
|
|
589
639
|
}, "strip", z.ZodTypeAny, {
|
|
590
640
|
heading: string;
|
|
641
|
+
icon?: string | undefined;
|
|
591
642
|
audio?: {
|
|
592
643
|
audioUrl: string;
|
|
593
644
|
loop?: boolean | undefined;
|
|
@@ -597,6 +648,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
597
648
|
videoUrl: string;
|
|
598
649
|
loop?: boolean | undefined;
|
|
599
650
|
autoplay?: boolean | undefined;
|
|
651
|
+
disableControls?: boolean | undefined;
|
|
600
652
|
} | undefined;
|
|
601
653
|
notification?: {
|
|
602
654
|
title: string;
|
|
@@ -617,6 +669,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
617
669
|
}[] | undefined;
|
|
618
670
|
}, {
|
|
619
671
|
heading: string;
|
|
672
|
+
icon?: string | undefined;
|
|
620
673
|
audio?: {
|
|
621
674
|
audioUrl: string;
|
|
622
675
|
loop?: boolean | undefined;
|
|
@@ -626,6 +679,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
626
679
|
videoUrl: string;
|
|
627
680
|
loop?: boolean | undefined;
|
|
628
681
|
autoplay?: boolean | undefined;
|
|
682
|
+
disableControls?: boolean | undefined;
|
|
629
683
|
} | undefined;
|
|
630
684
|
notification?: {
|
|
631
685
|
title: string;
|
|
@@ -647,9 +701,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
647
701
|
}>, "many">;
|
|
648
702
|
}, "strip", z.ZodTypeAny, {
|
|
649
703
|
title: string;
|
|
704
|
+
category: "Case Studies" | "How Tos";
|
|
650
705
|
platform: "Web Only" | "App Only" | "All";
|
|
651
706
|
pages: {
|
|
652
707
|
heading: string;
|
|
708
|
+
icon?: string | undefined;
|
|
653
709
|
audio?: {
|
|
654
710
|
audioUrl: string;
|
|
655
711
|
loop?: boolean | undefined;
|
|
@@ -659,6 +715,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
659
715
|
videoUrl: string;
|
|
660
716
|
loop?: boolean | undefined;
|
|
661
717
|
autoplay?: boolean | undefined;
|
|
718
|
+
disableControls?: boolean | undefined;
|
|
662
719
|
} | undefined;
|
|
663
720
|
notification?: {
|
|
664
721
|
title: string;
|
|
@@ -679,15 +736,18 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
679
736
|
}[] | undefined;
|
|
680
737
|
}[];
|
|
681
738
|
date?: string | Date | undefined;
|
|
739
|
+
image?: string | undefined;
|
|
682
740
|
isDraft?: boolean | undefined;
|
|
683
741
|
seekerFriendly?: boolean | undefined;
|
|
684
742
|
subtitle?: string | undefined;
|
|
685
743
|
campaign?: string | undefined;
|
|
686
744
|
}, {
|
|
687
745
|
title: string;
|
|
746
|
+
category: "Case Studies" | "How Tos";
|
|
688
747
|
platform: "Web Only" | "App Only" | "All";
|
|
689
748
|
pages: {
|
|
690
749
|
heading: string;
|
|
750
|
+
icon?: string | undefined;
|
|
691
751
|
audio?: {
|
|
692
752
|
audioUrl: string;
|
|
693
753
|
loop?: boolean | undefined;
|
|
@@ -697,6 +757,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
697
757
|
videoUrl: string;
|
|
698
758
|
loop?: boolean | undefined;
|
|
699
759
|
autoplay?: boolean | undefined;
|
|
760
|
+
disableControls?: boolean | undefined;
|
|
700
761
|
} | undefined;
|
|
701
762
|
notification?: {
|
|
702
763
|
title: string;
|
|
@@ -717,6 +778,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
717
778
|
}[] | undefined;
|
|
718
779
|
}[];
|
|
719
780
|
date?: string | Date | undefined;
|
|
781
|
+
image?: string | undefined;
|
|
720
782
|
isDraft?: boolean | undefined;
|
|
721
783
|
seekerFriendly?: boolean | undefined;
|
|
722
784
|
subtitle?: string | undefined;
|
|
@@ -726,9 +788,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
726
788
|
id: string;
|
|
727
789
|
data: {
|
|
728
790
|
title: string;
|
|
791
|
+
category: "Case Studies" | "How Tos";
|
|
729
792
|
platform: "Web Only" | "App Only" | "All";
|
|
730
793
|
pages: {
|
|
731
794
|
heading: string;
|
|
795
|
+
icon?: string | undefined;
|
|
732
796
|
audio?: {
|
|
733
797
|
audioUrl: string;
|
|
734
798
|
loop?: boolean | undefined;
|
|
@@ -738,6 +802,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
738
802
|
videoUrl: string;
|
|
739
803
|
loop?: boolean | undefined;
|
|
740
804
|
autoplay?: boolean | undefined;
|
|
805
|
+
disableControls?: boolean | undefined;
|
|
741
806
|
} | undefined;
|
|
742
807
|
notification?: {
|
|
743
808
|
title: string;
|
|
@@ -758,6 +823,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
758
823
|
}[] | undefined;
|
|
759
824
|
}[];
|
|
760
825
|
date?: string | Date | undefined;
|
|
826
|
+
image?: string | undefined;
|
|
761
827
|
isDraft?: boolean | undefined;
|
|
762
828
|
seekerFriendly?: boolean | undefined;
|
|
763
829
|
subtitle?: string | undefined;
|
|
@@ -767,9 +833,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
767
833
|
id: string;
|
|
768
834
|
data: {
|
|
769
835
|
title: string;
|
|
836
|
+
category: "Case Studies" | "How Tos";
|
|
770
837
|
platform: "Web Only" | "App Only" | "All";
|
|
771
838
|
pages: {
|
|
772
839
|
heading: string;
|
|
840
|
+
icon?: string | undefined;
|
|
773
841
|
audio?: {
|
|
774
842
|
audioUrl: string;
|
|
775
843
|
loop?: boolean | undefined;
|
|
@@ -779,6 +847,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
779
847
|
videoUrl: string;
|
|
780
848
|
loop?: boolean | undefined;
|
|
781
849
|
autoplay?: boolean | undefined;
|
|
850
|
+
disableControls?: boolean | undefined;
|
|
782
851
|
} | undefined;
|
|
783
852
|
notification?: {
|
|
784
853
|
title: string;
|
|
@@ -799,6 +868,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
799
868
|
}[] | undefined;
|
|
800
869
|
}[];
|
|
801
870
|
date?: string | Date | undefined;
|
|
871
|
+
image?: string | undefined;
|
|
802
872
|
isDraft?: boolean | undefined;
|
|
803
873
|
seekerFriendly?: boolean | undefined;
|
|
804
874
|
subtitle?: string | undefined;
|
|
@@ -810,9 +880,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
810
880
|
id: string;
|
|
811
881
|
data: {
|
|
812
882
|
title: string;
|
|
883
|
+
category: "Case Studies" | "How Tos";
|
|
813
884
|
platform: "Web Only" | "App Only" | "All";
|
|
814
885
|
pages: {
|
|
815
886
|
heading: string;
|
|
887
|
+
icon?: string | undefined;
|
|
816
888
|
audio?: {
|
|
817
889
|
audioUrl: string;
|
|
818
890
|
loop?: boolean | undefined;
|
|
@@ -822,6 +894,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
822
894
|
videoUrl: string;
|
|
823
895
|
loop?: boolean | undefined;
|
|
824
896
|
autoplay?: boolean | undefined;
|
|
897
|
+
disableControls?: boolean | undefined;
|
|
825
898
|
} | undefined;
|
|
826
899
|
notification?: {
|
|
827
900
|
title: string;
|
|
@@ -842,6 +915,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
842
915
|
}[] | undefined;
|
|
843
916
|
}[];
|
|
844
917
|
date?: string | Date | undefined;
|
|
918
|
+
image?: string | undefined;
|
|
845
919
|
isDraft?: boolean | undefined;
|
|
846
920
|
seekerFriendly?: boolean | undefined;
|
|
847
921
|
subtitle?: string | undefined;
|
|
@@ -853,9 +927,11 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
853
927
|
id: string;
|
|
854
928
|
data: {
|
|
855
929
|
title: string;
|
|
930
|
+
category: "Case Studies" | "How Tos";
|
|
856
931
|
platform: "Web Only" | "App Only" | "All";
|
|
857
932
|
pages: {
|
|
858
933
|
heading: string;
|
|
934
|
+
icon?: string | undefined;
|
|
859
935
|
audio?: {
|
|
860
936
|
audioUrl: string;
|
|
861
937
|
loop?: boolean | undefined;
|
|
@@ -865,6 +941,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
865
941
|
videoUrl: string;
|
|
866
942
|
loop?: boolean | undefined;
|
|
867
943
|
autoplay?: boolean | undefined;
|
|
944
|
+
disableControls?: boolean | undefined;
|
|
868
945
|
} | undefined;
|
|
869
946
|
notification?: {
|
|
870
947
|
title: string;
|
|
@@ -885,6 +962,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
885
962
|
}[] | undefined;
|
|
886
963
|
}[];
|
|
887
964
|
date?: string | Date | undefined;
|
|
965
|
+
image?: string | undefined;
|
|
888
966
|
isDraft?: boolean | undefined;
|
|
889
967
|
seekerFriendly?: boolean | undefined;
|
|
890
968
|
subtitle?: string | undefined;
|
|
@@ -13,6 +13,8 @@ exports.MicroLessonSchema = zod_1.default.object({
|
|
|
13
13
|
isDraft: webContent_1.IsDraftSchema,
|
|
14
14
|
seekerFriendly: webContent_1.SeekerFriendlySchema,
|
|
15
15
|
platform: webContent_1.PlatformSchema,
|
|
16
|
+
image: zod_1.default.string().optional(),
|
|
17
|
+
category: zod_1.default.enum(['Case Studies', 'How Tos']),
|
|
16
18
|
campaign: zod_1.default
|
|
17
19
|
.string()
|
|
18
20
|
.optional()
|
|
@@ -20,6 +22,7 @@ exports.MicroLessonSchema = zod_1.default.object({
|
|
|
20
22
|
pages: zod_1.default.array(zod_1.default.object({
|
|
21
23
|
heading: zod_1.default.string().describe('The heading of the page'),
|
|
22
24
|
body: zod_1.default.string().optional(),
|
|
25
|
+
icon: zod_1.default.string().optional(),
|
|
23
26
|
image: zod_1.default.string().optional(),
|
|
24
27
|
audio: webContent_1.AudioSchema,
|
|
25
28
|
video: webContent_1.VideoSchema,
|
|
@@ -17,12 +17,15 @@ export declare const VideoSchema: z.ZodOptional<z.ZodObject<{
|
|
|
17
17
|
videoUrl: z.ZodString;
|
|
18
18
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
20
21
|
}, "strip", z.ZodTypeAny, {
|
|
21
22
|
videoUrl: string;
|
|
22
23
|
loop?: boolean | undefined;
|
|
23
24
|
autoplay?: boolean | undefined;
|
|
25
|
+
disableControls?: boolean | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
videoUrl: string;
|
|
26
28
|
loop?: boolean | undefined;
|
|
27
29
|
autoplay?: boolean | undefined;
|
|
30
|
+
disableControls?: boolean | undefined;
|
|
28
31
|
}>>;
|
package/dist/types/webContent.js
CHANGED