waha-shared 1.0.199 → 1.0.201
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/analytics.d.ts +8 -8
- package/dist/types/articles.d.ts +45 -45
- package/dist/types/microLessons.d.ts +204 -123
- package/dist/types/microLessons.js +13 -8
- package/dist/types/users.d.ts +37 -37
- package/dist/types/users.js +6 -7
- package/dist/types/webContent.d.ts +3 -3
- package/dist/types/webContent.js +3 -6
- package/package.json +1 -1
|
@@ -2,16 +2,38 @@ import z from 'zod';
|
|
|
2
2
|
export declare const MicroLessonSchema: z.ZodObject<{
|
|
3
3
|
title: z.ZodString;
|
|
4
4
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
5
|
-
date: z.
|
|
6
|
-
isDraft: z.
|
|
7
|
-
seekerFriendly: z.
|
|
5
|
+
date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
6
|
+
isDraft: z.ZodBoolean;
|
|
7
|
+
seekerFriendly: z.ZodBoolean;
|
|
8
8
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
9
9
|
campaign: z.ZodOptional<z.ZodString>;
|
|
10
10
|
pages: z.ZodArray<z.ZodObject<{
|
|
11
11
|
heading: z.ZodString;
|
|
12
12
|
body: z.ZodOptional<z.ZodString>;
|
|
13
13
|
image: z.ZodOptional<z.ZodString>;
|
|
14
|
-
audio: z.ZodOptional<z.
|
|
14
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
audioUrl: z.ZodString;
|
|
16
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
audioUrl: string;
|
|
19
|
+
loop?: boolean | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
audioUrl: string;
|
|
22
|
+
loop?: boolean | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
videoUrl: z.ZodString;
|
|
26
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
videoUrl: string;
|
|
30
|
+
loop?: boolean | undefined;
|
|
31
|
+
autoplay?: boolean | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
videoUrl: string;
|
|
34
|
+
loop?: boolean | undefined;
|
|
35
|
+
autoplay?: boolean | undefined;
|
|
36
|
+
}>>;
|
|
15
37
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
16
38
|
show: z.ZodBoolean;
|
|
17
39
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -38,19 +60,6 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
38
60
|
body?: string | undefined;
|
|
39
61
|
heading?: string | undefined;
|
|
40
62
|
}>, "many">>;
|
|
41
|
-
video: z.ZodOptional<z.ZodObject<{
|
|
42
|
-
videoUrl: z.ZodString;
|
|
43
|
-
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
loop: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
videoUrl: string;
|
|
47
|
-
autoplay?: boolean | undefined;
|
|
48
|
-
loop?: boolean | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
videoUrl: string;
|
|
51
|
-
autoplay?: boolean | undefined;
|
|
52
|
-
loop?: boolean | undefined;
|
|
53
|
-
}>>;
|
|
54
63
|
platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
|
|
55
64
|
notification: z.ZodOptional<z.ZodObject<{
|
|
56
65
|
title: z.ZodString;
|
|
@@ -67,12 +76,15 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
67
76
|
}>>;
|
|
68
77
|
}, "strip", z.ZodTypeAny, {
|
|
69
78
|
heading: string;
|
|
70
|
-
audio?:
|
|
79
|
+
audio?: {
|
|
80
|
+
audioUrl: string;
|
|
81
|
+
loop?: boolean | undefined;
|
|
82
|
+
} | undefined;
|
|
71
83
|
body?: string | undefined;
|
|
72
84
|
video?: {
|
|
73
85
|
videoUrl: string;
|
|
74
|
-
autoplay?: boolean | undefined;
|
|
75
86
|
loop?: boolean | undefined;
|
|
87
|
+
autoplay?: boolean | undefined;
|
|
76
88
|
} | undefined;
|
|
77
89
|
notification?: {
|
|
78
90
|
title: string;
|
|
@@ -93,12 +105,15 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
93
105
|
}[] | undefined;
|
|
94
106
|
}, {
|
|
95
107
|
heading: string;
|
|
96
|
-
audio?:
|
|
108
|
+
audio?: {
|
|
109
|
+
audioUrl: string;
|
|
110
|
+
loop?: boolean | undefined;
|
|
111
|
+
} | undefined;
|
|
97
112
|
body?: string | undefined;
|
|
98
113
|
video?: {
|
|
99
114
|
videoUrl: string;
|
|
100
|
-
autoplay?: boolean | undefined;
|
|
101
115
|
loop?: boolean | undefined;
|
|
116
|
+
autoplay?: boolean | undefined;
|
|
102
117
|
} | undefined;
|
|
103
118
|
notification?: {
|
|
104
119
|
title: string;
|
|
@@ -119,16 +134,22 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
119
134
|
}[] | undefined;
|
|
120
135
|
}>, "many">;
|
|
121
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
date: string | Date;
|
|
122
138
|
title: string;
|
|
123
139
|
platform: "Web Only" | "App Only" | "All";
|
|
140
|
+
isDraft: boolean;
|
|
141
|
+
seekerFriendly: boolean;
|
|
124
142
|
pages: {
|
|
125
143
|
heading: string;
|
|
126
|
-
audio?:
|
|
144
|
+
audio?: {
|
|
145
|
+
audioUrl: string;
|
|
146
|
+
loop?: boolean | undefined;
|
|
147
|
+
} | undefined;
|
|
127
148
|
body?: string | undefined;
|
|
128
149
|
video?: {
|
|
129
150
|
videoUrl: string;
|
|
130
|
-
autoplay?: boolean | undefined;
|
|
131
151
|
loop?: boolean | undefined;
|
|
152
|
+
autoplay?: boolean | undefined;
|
|
132
153
|
} | undefined;
|
|
133
154
|
notification?: {
|
|
134
155
|
title: string;
|
|
@@ -148,22 +169,25 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
148
169
|
heading?: string | undefined;
|
|
149
170
|
}[] | undefined;
|
|
150
171
|
}[];
|
|
151
|
-
date?: string | Date | undefined;
|
|
152
|
-
isDraft?: boolean | undefined;
|
|
153
|
-
seekerFriendly?: boolean | undefined;
|
|
154
172
|
subtitle?: string | undefined;
|
|
155
173
|
campaign?: string | undefined;
|
|
156
174
|
}, {
|
|
175
|
+
date: string | Date;
|
|
157
176
|
title: string;
|
|
158
177
|
platform: "Web Only" | "App Only" | "All";
|
|
178
|
+
isDraft: boolean;
|
|
179
|
+
seekerFriendly: boolean;
|
|
159
180
|
pages: {
|
|
160
181
|
heading: string;
|
|
161
|
-
audio?:
|
|
182
|
+
audio?: {
|
|
183
|
+
audioUrl: string;
|
|
184
|
+
loop?: boolean | undefined;
|
|
185
|
+
} | undefined;
|
|
162
186
|
body?: string | undefined;
|
|
163
187
|
video?: {
|
|
164
188
|
videoUrl: string;
|
|
165
|
-
autoplay?: boolean | undefined;
|
|
166
189
|
loop?: boolean | undefined;
|
|
190
|
+
autoplay?: boolean | undefined;
|
|
167
191
|
} | undefined;
|
|
168
192
|
notification?: {
|
|
169
193
|
title: string;
|
|
@@ -183,9 +207,6 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
183
207
|
heading?: string | undefined;
|
|
184
208
|
}[] | undefined;
|
|
185
209
|
}[];
|
|
186
|
-
date?: string | Date | undefined;
|
|
187
|
-
isDraft?: boolean | undefined;
|
|
188
|
-
seekerFriendly?: boolean | undefined;
|
|
189
210
|
subtitle?: string | undefined;
|
|
190
211
|
campaign?: string | undefined;
|
|
191
212
|
}>;
|
|
@@ -195,16 +216,38 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
195
216
|
data: z.ZodObject<{
|
|
196
217
|
title: z.ZodString;
|
|
197
218
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
198
|
-
date: z.
|
|
199
|
-
isDraft: z.
|
|
200
|
-
seekerFriendly: z.
|
|
219
|
+
date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
220
|
+
isDraft: z.ZodBoolean;
|
|
221
|
+
seekerFriendly: z.ZodBoolean;
|
|
201
222
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
202
223
|
campaign: z.ZodOptional<z.ZodString>;
|
|
203
224
|
pages: z.ZodArray<z.ZodObject<{
|
|
204
225
|
heading: z.ZodString;
|
|
205
226
|
body: z.ZodOptional<z.ZodString>;
|
|
206
227
|
image: z.ZodOptional<z.ZodString>;
|
|
207
|
-
audio: z.ZodOptional<z.
|
|
228
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
audioUrl: z.ZodString;
|
|
230
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
audioUrl: string;
|
|
233
|
+
loop?: boolean | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
audioUrl: string;
|
|
236
|
+
loop?: boolean | undefined;
|
|
237
|
+
}>>;
|
|
238
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
videoUrl: z.ZodString;
|
|
240
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
videoUrl: string;
|
|
244
|
+
loop?: boolean | undefined;
|
|
245
|
+
autoplay?: boolean | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
videoUrl: string;
|
|
248
|
+
loop?: boolean | undefined;
|
|
249
|
+
autoplay?: boolean | undefined;
|
|
250
|
+
}>>;
|
|
208
251
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
209
252
|
show: z.ZodBoolean;
|
|
210
253
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -231,19 +274,6 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
231
274
|
body?: string | undefined;
|
|
232
275
|
heading?: string | undefined;
|
|
233
276
|
}>, "many">>;
|
|
234
|
-
video: z.ZodOptional<z.ZodObject<{
|
|
235
|
-
videoUrl: z.ZodString;
|
|
236
|
-
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
-
loop: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
videoUrl: string;
|
|
240
|
-
autoplay?: boolean | undefined;
|
|
241
|
-
loop?: boolean | undefined;
|
|
242
|
-
}, {
|
|
243
|
-
videoUrl: string;
|
|
244
|
-
autoplay?: boolean | undefined;
|
|
245
|
-
loop?: boolean | undefined;
|
|
246
|
-
}>>;
|
|
247
277
|
platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
|
|
248
278
|
notification: z.ZodOptional<z.ZodObject<{
|
|
249
279
|
title: z.ZodString;
|
|
@@ -260,12 +290,15 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
260
290
|
}>>;
|
|
261
291
|
}, "strip", z.ZodTypeAny, {
|
|
262
292
|
heading: string;
|
|
263
|
-
audio?:
|
|
293
|
+
audio?: {
|
|
294
|
+
audioUrl: string;
|
|
295
|
+
loop?: boolean | undefined;
|
|
296
|
+
} | undefined;
|
|
264
297
|
body?: string | undefined;
|
|
265
298
|
video?: {
|
|
266
299
|
videoUrl: string;
|
|
267
|
-
autoplay?: boolean | undefined;
|
|
268
300
|
loop?: boolean | undefined;
|
|
301
|
+
autoplay?: boolean | undefined;
|
|
269
302
|
} | undefined;
|
|
270
303
|
notification?: {
|
|
271
304
|
title: string;
|
|
@@ -286,12 +319,15 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
286
319
|
}[] | undefined;
|
|
287
320
|
}, {
|
|
288
321
|
heading: string;
|
|
289
|
-
audio?:
|
|
322
|
+
audio?: {
|
|
323
|
+
audioUrl: string;
|
|
324
|
+
loop?: boolean | undefined;
|
|
325
|
+
} | undefined;
|
|
290
326
|
body?: string | undefined;
|
|
291
327
|
video?: {
|
|
292
328
|
videoUrl: string;
|
|
293
|
-
autoplay?: boolean | undefined;
|
|
294
329
|
loop?: boolean | undefined;
|
|
330
|
+
autoplay?: boolean | undefined;
|
|
295
331
|
} | undefined;
|
|
296
332
|
notification?: {
|
|
297
333
|
title: string;
|
|
@@ -312,16 +348,22 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
312
348
|
}[] | undefined;
|
|
313
349
|
}>, "many">;
|
|
314
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
+
date: string | Date;
|
|
315
352
|
title: string;
|
|
316
353
|
platform: "Web Only" | "App Only" | "All";
|
|
354
|
+
isDraft: boolean;
|
|
355
|
+
seekerFriendly: boolean;
|
|
317
356
|
pages: {
|
|
318
357
|
heading: string;
|
|
319
|
-
audio?:
|
|
358
|
+
audio?: {
|
|
359
|
+
audioUrl: string;
|
|
360
|
+
loop?: boolean | undefined;
|
|
361
|
+
} | undefined;
|
|
320
362
|
body?: string | undefined;
|
|
321
363
|
video?: {
|
|
322
364
|
videoUrl: string;
|
|
323
|
-
autoplay?: boolean | undefined;
|
|
324
365
|
loop?: boolean | undefined;
|
|
366
|
+
autoplay?: boolean | undefined;
|
|
325
367
|
} | undefined;
|
|
326
368
|
notification?: {
|
|
327
369
|
title: string;
|
|
@@ -341,22 +383,25 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
341
383
|
heading?: string | undefined;
|
|
342
384
|
}[] | undefined;
|
|
343
385
|
}[];
|
|
344
|
-
date?: string | Date | undefined;
|
|
345
|
-
isDraft?: boolean | undefined;
|
|
346
|
-
seekerFriendly?: boolean | undefined;
|
|
347
386
|
subtitle?: string | undefined;
|
|
348
387
|
campaign?: string | undefined;
|
|
349
388
|
}, {
|
|
389
|
+
date: string | Date;
|
|
350
390
|
title: string;
|
|
351
391
|
platform: "Web Only" | "App Only" | "All";
|
|
392
|
+
isDraft: boolean;
|
|
393
|
+
seekerFriendly: boolean;
|
|
352
394
|
pages: {
|
|
353
395
|
heading: string;
|
|
354
|
-
audio?:
|
|
396
|
+
audio?: {
|
|
397
|
+
audioUrl: string;
|
|
398
|
+
loop?: boolean | undefined;
|
|
399
|
+
} | undefined;
|
|
355
400
|
body?: string | undefined;
|
|
356
401
|
video?: {
|
|
357
402
|
videoUrl: string;
|
|
358
|
-
autoplay?: boolean | undefined;
|
|
359
403
|
loop?: boolean | undefined;
|
|
404
|
+
autoplay?: boolean | undefined;
|
|
360
405
|
} | undefined;
|
|
361
406
|
notification?: {
|
|
362
407
|
title: string;
|
|
@@ -376,25 +421,28 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
376
421
|
heading?: string | undefined;
|
|
377
422
|
}[] | undefined;
|
|
378
423
|
}[];
|
|
379
|
-
date?: string | Date | undefined;
|
|
380
|
-
isDraft?: boolean | undefined;
|
|
381
|
-
seekerFriendly?: boolean | undefined;
|
|
382
424
|
subtitle?: string | undefined;
|
|
383
425
|
campaign?: string | undefined;
|
|
384
426
|
}>;
|
|
385
427
|
}, "strip", z.ZodTypeAny, {
|
|
386
428
|
id: string;
|
|
387
429
|
data: {
|
|
430
|
+
date: string | Date;
|
|
388
431
|
title: string;
|
|
389
432
|
platform: "Web Only" | "App Only" | "All";
|
|
433
|
+
isDraft: boolean;
|
|
434
|
+
seekerFriendly: boolean;
|
|
390
435
|
pages: {
|
|
391
436
|
heading: string;
|
|
392
|
-
audio?:
|
|
437
|
+
audio?: {
|
|
438
|
+
audioUrl: string;
|
|
439
|
+
loop?: boolean | undefined;
|
|
440
|
+
} | undefined;
|
|
393
441
|
body?: string | undefined;
|
|
394
442
|
video?: {
|
|
395
443
|
videoUrl: string;
|
|
396
|
-
autoplay?: boolean | undefined;
|
|
397
444
|
loop?: boolean | undefined;
|
|
445
|
+
autoplay?: boolean | undefined;
|
|
398
446
|
} | undefined;
|
|
399
447
|
notification?: {
|
|
400
448
|
title: string;
|
|
@@ -414,25 +462,28 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
414
462
|
heading?: string | undefined;
|
|
415
463
|
}[] | undefined;
|
|
416
464
|
}[];
|
|
417
|
-
date?: string | Date | undefined;
|
|
418
|
-
isDraft?: boolean | undefined;
|
|
419
|
-
seekerFriendly?: boolean | undefined;
|
|
420
465
|
subtitle?: string | undefined;
|
|
421
466
|
campaign?: string | undefined;
|
|
422
467
|
};
|
|
423
468
|
}, {
|
|
424
469
|
id: string;
|
|
425
470
|
data: {
|
|
471
|
+
date: string | Date;
|
|
426
472
|
title: string;
|
|
427
473
|
platform: "Web Only" | "App Only" | "All";
|
|
474
|
+
isDraft: boolean;
|
|
475
|
+
seekerFriendly: boolean;
|
|
428
476
|
pages: {
|
|
429
477
|
heading: string;
|
|
430
|
-
audio?:
|
|
478
|
+
audio?: {
|
|
479
|
+
audioUrl: string;
|
|
480
|
+
loop?: boolean | undefined;
|
|
481
|
+
} | undefined;
|
|
431
482
|
body?: string | undefined;
|
|
432
483
|
video?: {
|
|
433
484
|
videoUrl: string;
|
|
434
|
-
autoplay?: boolean | undefined;
|
|
435
485
|
loop?: boolean | undefined;
|
|
486
|
+
autoplay?: boolean | undefined;
|
|
436
487
|
} | undefined;
|
|
437
488
|
notification?: {
|
|
438
489
|
title: string;
|
|
@@ -452,9 +503,6 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
452
503
|
heading?: string | undefined;
|
|
453
504
|
}[] | undefined;
|
|
454
505
|
}[];
|
|
455
|
-
date?: string | Date | undefined;
|
|
456
|
-
isDraft?: boolean | undefined;
|
|
457
|
-
seekerFriendly?: boolean | undefined;
|
|
458
506
|
subtitle?: string | undefined;
|
|
459
507
|
campaign?: string | undefined;
|
|
460
508
|
};
|
|
@@ -466,16 +514,38 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
466
514
|
data: z.ZodObject<{
|
|
467
515
|
title: z.ZodString;
|
|
468
516
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
469
|
-
date: z.
|
|
470
|
-
isDraft: z.
|
|
471
|
-
seekerFriendly: z.
|
|
517
|
+
date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
518
|
+
isDraft: z.ZodBoolean;
|
|
519
|
+
seekerFriendly: z.ZodBoolean;
|
|
472
520
|
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
473
521
|
campaign: z.ZodOptional<z.ZodString>;
|
|
474
522
|
pages: z.ZodArray<z.ZodObject<{
|
|
475
523
|
heading: z.ZodString;
|
|
476
524
|
body: z.ZodOptional<z.ZodString>;
|
|
477
525
|
image: z.ZodOptional<z.ZodString>;
|
|
478
|
-
audio: z.ZodOptional<z.
|
|
526
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
audioUrl: z.ZodString;
|
|
528
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
audioUrl: string;
|
|
531
|
+
loop?: boolean | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
audioUrl: string;
|
|
534
|
+
loop?: boolean | undefined;
|
|
535
|
+
}>>;
|
|
536
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
videoUrl: z.ZodString;
|
|
538
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
539
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
}, "strip", z.ZodTypeAny, {
|
|
541
|
+
videoUrl: string;
|
|
542
|
+
loop?: boolean | undefined;
|
|
543
|
+
autoplay?: boolean | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
videoUrl: string;
|
|
546
|
+
loop?: boolean | undefined;
|
|
547
|
+
autoplay?: boolean | undefined;
|
|
548
|
+
}>>;
|
|
479
549
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
480
550
|
show: z.ZodBoolean;
|
|
481
551
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -502,19 +572,6 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
502
572
|
body?: string | undefined;
|
|
503
573
|
heading?: string | undefined;
|
|
504
574
|
}>, "many">>;
|
|
505
|
-
video: z.ZodOptional<z.ZodObject<{
|
|
506
|
-
videoUrl: z.ZodString;
|
|
507
|
-
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
-
loop: z.ZodOptional<z.ZodBoolean>;
|
|
509
|
-
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
videoUrl: string;
|
|
511
|
-
autoplay?: boolean | undefined;
|
|
512
|
-
loop?: boolean | undefined;
|
|
513
|
-
}, {
|
|
514
|
-
videoUrl: string;
|
|
515
|
-
autoplay?: boolean | undefined;
|
|
516
|
-
loop?: boolean | undefined;
|
|
517
|
-
}>>;
|
|
518
575
|
platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
|
|
519
576
|
notification: z.ZodOptional<z.ZodObject<{
|
|
520
577
|
title: z.ZodString;
|
|
@@ -531,12 +588,15 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
531
588
|
}>>;
|
|
532
589
|
}, "strip", z.ZodTypeAny, {
|
|
533
590
|
heading: string;
|
|
534
|
-
audio?:
|
|
591
|
+
audio?: {
|
|
592
|
+
audioUrl: string;
|
|
593
|
+
loop?: boolean | undefined;
|
|
594
|
+
} | undefined;
|
|
535
595
|
body?: string | undefined;
|
|
536
596
|
video?: {
|
|
537
597
|
videoUrl: string;
|
|
538
|
-
autoplay?: boolean | undefined;
|
|
539
598
|
loop?: boolean | undefined;
|
|
599
|
+
autoplay?: boolean | undefined;
|
|
540
600
|
} | undefined;
|
|
541
601
|
notification?: {
|
|
542
602
|
title: string;
|
|
@@ -557,12 +617,15 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
557
617
|
}[] | undefined;
|
|
558
618
|
}, {
|
|
559
619
|
heading: string;
|
|
560
|
-
audio?:
|
|
620
|
+
audio?: {
|
|
621
|
+
audioUrl: string;
|
|
622
|
+
loop?: boolean | undefined;
|
|
623
|
+
} | undefined;
|
|
561
624
|
body?: string | undefined;
|
|
562
625
|
video?: {
|
|
563
626
|
videoUrl: string;
|
|
564
|
-
autoplay?: boolean | undefined;
|
|
565
627
|
loop?: boolean | undefined;
|
|
628
|
+
autoplay?: boolean | undefined;
|
|
566
629
|
} | undefined;
|
|
567
630
|
notification?: {
|
|
568
631
|
title: string;
|
|
@@ -583,16 +646,22 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
583
646
|
}[] | undefined;
|
|
584
647
|
}>, "many">;
|
|
585
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
+
date: string | Date;
|
|
586
650
|
title: string;
|
|
587
651
|
platform: "Web Only" | "App Only" | "All";
|
|
652
|
+
isDraft: boolean;
|
|
653
|
+
seekerFriendly: boolean;
|
|
588
654
|
pages: {
|
|
589
655
|
heading: string;
|
|
590
|
-
audio?:
|
|
656
|
+
audio?: {
|
|
657
|
+
audioUrl: string;
|
|
658
|
+
loop?: boolean | undefined;
|
|
659
|
+
} | undefined;
|
|
591
660
|
body?: string | undefined;
|
|
592
661
|
video?: {
|
|
593
662
|
videoUrl: string;
|
|
594
|
-
autoplay?: boolean | undefined;
|
|
595
663
|
loop?: boolean | undefined;
|
|
664
|
+
autoplay?: boolean | undefined;
|
|
596
665
|
} | undefined;
|
|
597
666
|
notification?: {
|
|
598
667
|
title: string;
|
|
@@ -612,22 +681,25 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
612
681
|
heading?: string | undefined;
|
|
613
682
|
}[] | undefined;
|
|
614
683
|
}[];
|
|
615
|
-
date?: string | Date | undefined;
|
|
616
|
-
isDraft?: boolean | undefined;
|
|
617
|
-
seekerFriendly?: boolean | undefined;
|
|
618
684
|
subtitle?: string | undefined;
|
|
619
685
|
campaign?: string | undefined;
|
|
620
686
|
}, {
|
|
687
|
+
date: string | Date;
|
|
621
688
|
title: string;
|
|
622
689
|
platform: "Web Only" | "App Only" | "All";
|
|
690
|
+
isDraft: boolean;
|
|
691
|
+
seekerFriendly: boolean;
|
|
623
692
|
pages: {
|
|
624
693
|
heading: string;
|
|
625
|
-
audio?:
|
|
694
|
+
audio?: {
|
|
695
|
+
audioUrl: string;
|
|
696
|
+
loop?: boolean | undefined;
|
|
697
|
+
} | undefined;
|
|
626
698
|
body?: string | undefined;
|
|
627
699
|
video?: {
|
|
628
700
|
videoUrl: string;
|
|
629
|
-
autoplay?: boolean | undefined;
|
|
630
701
|
loop?: boolean | undefined;
|
|
702
|
+
autoplay?: boolean | undefined;
|
|
631
703
|
} | undefined;
|
|
632
704
|
notification?: {
|
|
633
705
|
title: string;
|
|
@@ -647,25 +719,28 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
647
719
|
heading?: string | undefined;
|
|
648
720
|
}[] | undefined;
|
|
649
721
|
}[];
|
|
650
|
-
date?: string | Date | undefined;
|
|
651
|
-
isDraft?: boolean | undefined;
|
|
652
|
-
seekerFriendly?: boolean | undefined;
|
|
653
722
|
subtitle?: string | undefined;
|
|
654
723
|
campaign?: string | undefined;
|
|
655
724
|
}>;
|
|
656
725
|
}, "strip", z.ZodTypeAny, {
|
|
657
726
|
id: string;
|
|
658
727
|
data: {
|
|
728
|
+
date: string | Date;
|
|
659
729
|
title: string;
|
|
660
730
|
platform: "Web Only" | "App Only" | "All";
|
|
731
|
+
isDraft: boolean;
|
|
732
|
+
seekerFriendly: boolean;
|
|
661
733
|
pages: {
|
|
662
734
|
heading: string;
|
|
663
|
-
audio?:
|
|
735
|
+
audio?: {
|
|
736
|
+
audioUrl: string;
|
|
737
|
+
loop?: boolean | undefined;
|
|
738
|
+
} | undefined;
|
|
664
739
|
body?: string | undefined;
|
|
665
740
|
video?: {
|
|
666
741
|
videoUrl: string;
|
|
667
|
-
autoplay?: boolean | undefined;
|
|
668
742
|
loop?: boolean | undefined;
|
|
743
|
+
autoplay?: boolean | undefined;
|
|
669
744
|
} | undefined;
|
|
670
745
|
notification?: {
|
|
671
746
|
title: string;
|
|
@@ -685,25 +760,28 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
685
760
|
heading?: string | undefined;
|
|
686
761
|
}[] | undefined;
|
|
687
762
|
}[];
|
|
688
|
-
date?: string | Date | undefined;
|
|
689
|
-
isDraft?: boolean | undefined;
|
|
690
|
-
seekerFriendly?: boolean | undefined;
|
|
691
763
|
subtitle?: string | undefined;
|
|
692
764
|
campaign?: string | undefined;
|
|
693
765
|
};
|
|
694
766
|
}, {
|
|
695
767
|
id: string;
|
|
696
768
|
data: {
|
|
769
|
+
date: string | Date;
|
|
697
770
|
title: string;
|
|
698
771
|
platform: "Web Only" | "App Only" | "All";
|
|
772
|
+
isDraft: boolean;
|
|
773
|
+
seekerFriendly: boolean;
|
|
699
774
|
pages: {
|
|
700
775
|
heading: string;
|
|
701
|
-
audio?:
|
|
776
|
+
audio?: {
|
|
777
|
+
audioUrl: string;
|
|
778
|
+
loop?: boolean | undefined;
|
|
779
|
+
} | undefined;
|
|
702
780
|
body?: string | undefined;
|
|
703
781
|
video?: {
|
|
704
782
|
videoUrl: string;
|
|
705
|
-
autoplay?: boolean | undefined;
|
|
706
783
|
loop?: boolean | undefined;
|
|
784
|
+
autoplay?: boolean | undefined;
|
|
707
785
|
} | undefined;
|
|
708
786
|
notification?: {
|
|
709
787
|
title: string;
|
|
@@ -723,9 +801,6 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
723
801
|
heading?: string | undefined;
|
|
724
802
|
}[] | undefined;
|
|
725
803
|
}[];
|
|
726
|
-
date?: string | Date | undefined;
|
|
727
|
-
isDraft?: boolean | undefined;
|
|
728
|
-
seekerFriendly?: boolean | undefined;
|
|
729
804
|
subtitle?: string | undefined;
|
|
730
805
|
campaign?: string | undefined;
|
|
731
806
|
};
|
|
@@ -734,16 +809,22 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
734
809
|
data: {
|
|
735
810
|
id: string;
|
|
736
811
|
data: {
|
|
812
|
+
date: string | Date;
|
|
737
813
|
title: string;
|
|
738
814
|
platform: "Web Only" | "App Only" | "All";
|
|
815
|
+
isDraft: boolean;
|
|
816
|
+
seekerFriendly: boolean;
|
|
739
817
|
pages: {
|
|
740
818
|
heading: string;
|
|
741
|
-
audio?:
|
|
819
|
+
audio?: {
|
|
820
|
+
audioUrl: string;
|
|
821
|
+
loop?: boolean | undefined;
|
|
822
|
+
} | undefined;
|
|
742
823
|
body?: string | undefined;
|
|
743
824
|
video?: {
|
|
744
825
|
videoUrl: string;
|
|
745
|
-
autoplay?: boolean | undefined;
|
|
746
826
|
loop?: boolean | undefined;
|
|
827
|
+
autoplay?: boolean | undefined;
|
|
747
828
|
} | undefined;
|
|
748
829
|
notification?: {
|
|
749
830
|
title: string;
|
|
@@ -763,9 +844,6 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
763
844
|
heading?: string | undefined;
|
|
764
845
|
}[] | undefined;
|
|
765
846
|
}[];
|
|
766
|
-
date?: string | Date | undefined;
|
|
767
|
-
isDraft?: boolean | undefined;
|
|
768
|
-
seekerFriendly?: boolean | undefined;
|
|
769
847
|
subtitle?: string | undefined;
|
|
770
848
|
campaign?: string | undefined;
|
|
771
849
|
};
|
|
@@ -774,16 +852,22 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
774
852
|
data: {
|
|
775
853
|
id: string;
|
|
776
854
|
data: {
|
|
855
|
+
date: string | Date;
|
|
777
856
|
title: string;
|
|
778
857
|
platform: "Web Only" | "App Only" | "All";
|
|
858
|
+
isDraft: boolean;
|
|
859
|
+
seekerFriendly: boolean;
|
|
779
860
|
pages: {
|
|
780
861
|
heading: string;
|
|
781
|
-
audio?:
|
|
862
|
+
audio?: {
|
|
863
|
+
audioUrl: string;
|
|
864
|
+
loop?: boolean | undefined;
|
|
865
|
+
} | undefined;
|
|
782
866
|
body?: string | undefined;
|
|
783
867
|
video?: {
|
|
784
868
|
videoUrl: string;
|
|
785
|
-
autoplay?: boolean | undefined;
|
|
786
869
|
loop?: boolean | undefined;
|
|
870
|
+
autoplay?: boolean | undefined;
|
|
787
871
|
} | undefined;
|
|
788
872
|
notification?: {
|
|
789
873
|
title: string;
|
|
@@ -803,9 +887,6 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
803
887
|
heading?: string | undefined;
|
|
804
888
|
}[] | undefined;
|
|
805
889
|
}[];
|
|
806
|
-
date?: string | Date | undefined;
|
|
807
|
-
isDraft?: boolean | undefined;
|
|
808
|
-
seekerFriendly?: boolean | undefined;
|
|
809
890
|
subtitle?: string | undefined;
|
|
810
891
|
campaign?: string | undefined;
|
|
811
892
|
};
|