waha-shared 1.0.200 → 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.
@@ -0,0 +1,894 @@
1
+ import z from 'zod';
2
+ export declare const MicroLessonSchema: z.ZodObject<{
3
+ title: z.ZodString;
4
+ subtitle: z.ZodOptional<z.ZodString>;
5
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
6
+ isDraft: z.ZodBoolean;
7
+ seekerFriendly: z.ZodBoolean;
8
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
9
+ campaign: z.ZodOptional<z.ZodString>;
10
+ pages: z.ZodArray<z.ZodObject<{
11
+ heading: z.ZodString;
12
+ body: z.ZodOptional<z.ZodString>;
13
+ image: z.ZodOptional<z.ZodString>;
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
+ }>>;
37
+ textInput: z.ZodOptional<z.ZodObject<{
38
+ show: z.ZodBoolean;
39
+ placeholder: z.ZodOptional<z.ZodString>;
40
+ showCopyButton: z.ZodOptional<z.ZodBoolean>;
41
+ prefilledText: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ show: boolean;
44
+ placeholder?: string | undefined;
45
+ showCopyButton?: boolean | undefined;
46
+ prefilledText?: string | undefined;
47
+ }, {
48
+ show: boolean;
49
+ placeholder?: string | undefined;
50
+ showCopyButton?: boolean | undefined;
51
+ prefilledText?: string | undefined;
52
+ }>>;
53
+ radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
54
+ heading: z.ZodOptional<z.ZodString>;
55
+ body: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ body?: string | undefined;
58
+ heading?: string | undefined;
59
+ }, {
60
+ body?: string | undefined;
61
+ heading?: string | undefined;
62
+ }>, "many">>;
63
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
64
+ notification: z.ZodOptional<z.ZodObject<{
65
+ title: z.ZodString;
66
+ body: z.ZodString;
67
+ delayInHours: z.ZodNumber;
68
+ }, "strip", z.ZodTypeAny, {
69
+ title: string;
70
+ body: string;
71
+ delayInHours: number;
72
+ }, {
73
+ title: string;
74
+ body: string;
75
+ delayInHours: number;
76
+ }>>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ heading: string;
79
+ audio?: {
80
+ audioUrl: string;
81
+ loop?: boolean | undefined;
82
+ } | undefined;
83
+ body?: string | undefined;
84
+ video?: {
85
+ videoUrl: string;
86
+ loop?: boolean | undefined;
87
+ autoplay?: boolean | undefined;
88
+ } | undefined;
89
+ notification?: {
90
+ title: string;
91
+ body: string;
92
+ delayInHours: number;
93
+ } | undefined;
94
+ platform?: "Web Only" | "App Only" | "All" | undefined;
95
+ image?: string | undefined;
96
+ textInput?: {
97
+ show: boolean;
98
+ placeholder?: string | undefined;
99
+ showCopyButton?: boolean | undefined;
100
+ prefilledText?: string | undefined;
101
+ } | undefined;
102
+ radioButtons?: {
103
+ body?: string | undefined;
104
+ heading?: string | undefined;
105
+ }[] | undefined;
106
+ }, {
107
+ heading: string;
108
+ audio?: {
109
+ audioUrl: string;
110
+ loop?: boolean | undefined;
111
+ } | undefined;
112
+ body?: string | undefined;
113
+ video?: {
114
+ videoUrl: string;
115
+ loop?: boolean | undefined;
116
+ autoplay?: boolean | undefined;
117
+ } | undefined;
118
+ notification?: {
119
+ title: string;
120
+ body: string;
121
+ delayInHours: number;
122
+ } | undefined;
123
+ platform?: "Web Only" | "App Only" | "All" | undefined;
124
+ image?: string | undefined;
125
+ textInput?: {
126
+ show: boolean;
127
+ placeholder?: string | undefined;
128
+ showCopyButton?: boolean | undefined;
129
+ prefilledText?: string | undefined;
130
+ } | undefined;
131
+ radioButtons?: {
132
+ body?: string | undefined;
133
+ heading?: string | undefined;
134
+ }[] | undefined;
135
+ }>, "many">;
136
+ }, "strip", z.ZodTypeAny, {
137
+ date: string | Date;
138
+ title: string;
139
+ platform: "Web Only" | "App Only" | "All";
140
+ isDraft: boolean;
141
+ seekerFriendly: boolean;
142
+ pages: {
143
+ heading: string;
144
+ audio?: {
145
+ audioUrl: string;
146
+ loop?: boolean | undefined;
147
+ } | undefined;
148
+ body?: string | undefined;
149
+ video?: {
150
+ videoUrl: string;
151
+ loop?: boolean | undefined;
152
+ autoplay?: boolean | undefined;
153
+ } | undefined;
154
+ notification?: {
155
+ title: string;
156
+ body: string;
157
+ delayInHours: number;
158
+ } | undefined;
159
+ platform?: "Web Only" | "App Only" | "All" | undefined;
160
+ image?: string | undefined;
161
+ textInput?: {
162
+ show: boolean;
163
+ placeholder?: string | undefined;
164
+ showCopyButton?: boolean | undefined;
165
+ prefilledText?: string | undefined;
166
+ } | undefined;
167
+ radioButtons?: {
168
+ body?: string | undefined;
169
+ heading?: string | undefined;
170
+ }[] | undefined;
171
+ }[];
172
+ subtitle?: string | undefined;
173
+ campaign?: string | undefined;
174
+ }, {
175
+ date: string | Date;
176
+ title: string;
177
+ platform: "Web Only" | "App Only" | "All";
178
+ isDraft: boolean;
179
+ seekerFriendly: boolean;
180
+ pages: {
181
+ heading: string;
182
+ audio?: {
183
+ audioUrl: string;
184
+ loop?: boolean | undefined;
185
+ } | undefined;
186
+ body?: string | undefined;
187
+ video?: {
188
+ videoUrl: string;
189
+ loop?: boolean | undefined;
190
+ autoplay?: boolean | undefined;
191
+ } | undefined;
192
+ notification?: {
193
+ title: string;
194
+ body: string;
195
+ delayInHours: number;
196
+ } | undefined;
197
+ platform?: "Web Only" | "App Only" | "All" | undefined;
198
+ image?: string | undefined;
199
+ textInput?: {
200
+ show: boolean;
201
+ placeholder?: string | undefined;
202
+ showCopyButton?: boolean | undefined;
203
+ prefilledText?: string | undefined;
204
+ } | undefined;
205
+ radioButtons?: {
206
+ body?: string | undefined;
207
+ heading?: string | undefined;
208
+ }[] | undefined;
209
+ }[];
210
+ subtitle?: string | undefined;
211
+ campaign?: string | undefined;
212
+ }>;
213
+ export type MicroLesson = z.infer<typeof MicroLessonSchema>;
214
+ export declare const ResponseMicroLessonSchema: z.ZodObject<{
215
+ id: z.ZodString;
216
+ data: z.ZodObject<{
217
+ title: z.ZodString;
218
+ subtitle: z.ZodOptional<z.ZodString>;
219
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
220
+ isDraft: z.ZodBoolean;
221
+ seekerFriendly: z.ZodBoolean;
222
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
223
+ campaign: z.ZodOptional<z.ZodString>;
224
+ pages: z.ZodArray<z.ZodObject<{
225
+ heading: z.ZodString;
226
+ body: z.ZodOptional<z.ZodString>;
227
+ image: z.ZodOptional<z.ZodString>;
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
+ }>>;
251
+ textInput: z.ZodOptional<z.ZodObject<{
252
+ show: z.ZodBoolean;
253
+ placeholder: z.ZodOptional<z.ZodString>;
254
+ showCopyButton: z.ZodOptional<z.ZodBoolean>;
255
+ prefilledText: z.ZodOptional<z.ZodString>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ show: boolean;
258
+ placeholder?: string | undefined;
259
+ showCopyButton?: boolean | undefined;
260
+ prefilledText?: string | undefined;
261
+ }, {
262
+ show: boolean;
263
+ placeholder?: string | undefined;
264
+ showCopyButton?: boolean | undefined;
265
+ prefilledText?: string | undefined;
266
+ }>>;
267
+ radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ heading: z.ZodOptional<z.ZodString>;
269
+ body: z.ZodOptional<z.ZodString>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ body?: string | undefined;
272
+ heading?: string | undefined;
273
+ }, {
274
+ body?: string | undefined;
275
+ heading?: string | undefined;
276
+ }>, "many">>;
277
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
278
+ notification: z.ZodOptional<z.ZodObject<{
279
+ title: z.ZodString;
280
+ body: z.ZodString;
281
+ delayInHours: z.ZodNumber;
282
+ }, "strip", z.ZodTypeAny, {
283
+ title: string;
284
+ body: string;
285
+ delayInHours: number;
286
+ }, {
287
+ title: string;
288
+ body: string;
289
+ delayInHours: number;
290
+ }>>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ heading: string;
293
+ audio?: {
294
+ audioUrl: string;
295
+ loop?: boolean | undefined;
296
+ } | undefined;
297
+ body?: string | undefined;
298
+ video?: {
299
+ videoUrl: string;
300
+ loop?: boolean | undefined;
301
+ autoplay?: boolean | undefined;
302
+ } | undefined;
303
+ notification?: {
304
+ title: string;
305
+ body: string;
306
+ delayInHours: number;
307
+ } | undefined;
308
+ platform?: "Web Only" | "App Only" | "All" | undefined;
309
+ image?: string | undefined;
310
+ textInput?: {
311
+ show: boolean;
312
+ placeholder?: string | undefined;
313
+ showCopyButton?: boolean | undefined;
314
+ prefilledText?: string | undefined;
315
+ } | undefined;
316
+ radioButtons?: {
317
+ body?: string | undefined;
318
+ heading?: string | undefined;
319
+ }[] | undefined;
320
+ }, {
321
+ heading: string;
322
+ audio?: {
323
+ audioUrl: string;
324
+ loop?: boolean | undefined;
325
+ } | undefined;
326
+ body?: string | undefined;
327
+ video?: {
328
+ videoUrl: string;
329
+ loop?: boolean | undefined;
330
+ autoplay?: boolean | undefined;
331
+ } | undefined;
332
+ notification?: {
333
+ title: string;
334
+ body: string;
335
+ delayInHours: number;
336
+ } | undefined;
337
+ platform?: "Web Only" | "App Only" | "All" | undefined;
338
+ image?: string | undefined;
339
+ textInput?: {
340
+ show: boolean;
341
+ placeholder?: string | undefined;
342
+ showCopyButton?: boolean | undefined;
343
+ prefilledText?: string | undefined;
344
+ } | undefined;
345
+ radioButtons?: {
346
+ body?: string | undefined;
347
+ heading?: string | undefined;
348
+ }[] | undefined;
349
+ }>, "many">;
350
+ }, "strip", z.ZodTypeAny, {
351
+ date: string | Date;
352
+ title: string;
353
+ platform: "Web Only" | "App Only" | "All";
354
+ isDraft: boolean;
355
+ seekerFriendly: boolean;
356
+ pages: {
357
+ heading: string;
358
+ audio?: {
359
+ audioUrl: string;
360
+ loop?: boolean | undefined;
361
+ } | undefined;
362
+ body?: string | undefined;
363
+ video?: {
364
+ videoUrl: string;
365
+ loop?: boolean | undefined;
366
+ autoplay?: boolean | undefined;
367
+ } | undefined;
368
+ notification?: {
369
+ title: string;
370
+ body: string;
371
+ delayInHours: number;
372
+ } | undefined;
373
+ platform?: "Web Only" | "App Only" | "All" | undefined;
374
+ image?: string | undefined;
375
+ textInput?: {
376
+ show: boolean;
377
+ placeholder?: string | undefined;
378
+ showCopyButton?: boolean | undefined;
379
+ prefilledText?: string | undefined;
380
+ } | undefined;
381
+ radioButtons?: {
382
+ body?: string | undefined;
383
+ heading?: string | undefined;
384
+ }[] | undefined;
385
+ }[];
386
+ subtitle?: string | undefined;
387
+ campaign?: string | undefined;
388
+ }, {
389
+ date: string | Date;
390
+ title: string;
391
+ platform: "Web Only" | "App Only" | "All";
392
+ isDraft: boolean;
393
+ seekerFriendly: boolean;
394
+ pages: {
395
+ heading: string;
396
+ audio?: {
397
+ audioUrl: string;
398
+ loop?: boolean | undefined;
399
+ } | undefined;
400
+ body?: string | undefined;
401
+ video?: {
402
+ videoUrl: string;
403
+ loop?: boolean | undefined;
404
+ autoplay?: boolean | undefined;
405
+ } | undefined;
406
+ notification?: {
407
+ title: string;
408
+ body: string;
409
+ delayInHours: number;
410
+ } | undefined;
411
+ platform?: "Web Only" | "App Only" | "All" | undefined;
412
+ image?: string | undefined;
413
+ textInput?: {
414
+ show: boolean;
415
+ placeholder?: string | undefined;
416
+ showCopyButton?: boolean | undefined;
417
+ prefilledText?: string | undefined;
418
+ } | undefined;
419
+ radioButtons?: {
420
+ body?: string | undefined;
421
+ heading?: string | undefined;
422
+ }[] | undefined;
423
+ }[];
424
+ subtitle?: string | undefined;
425
+ campaign?: string | undefined;
426
+ }>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ id: string;
429
+ data: {
430
+ date: string | Date;
431
+ title: string;
432
+ platform: "Web Only" | "App Only" | "All";
433
+ isDraft: boolean;
434
+ seekerFriendly: boolean;
435
+ pages: {
436
+ heading: string;
437
+ audio?: {
438
+ audioUrl: string;
439
+ loop?: boolean | undefined;
440
+ } | undefined;
441
+ body?: string | undefined;
442
+ video?: {
443
+ videoUrl: string;
444
+ loop?: boolean | undefined;
445
+ autoplay?: boolean | undefined;
446
+ } | undefined;
447
+ notification?: {
448
+ title: string;
449
+ body: string;
450
+ delayInHours: number;
451
+ } | undefined;
452
+ platform?: "Web Only" | "App Only" | "All" | undefined;
453
+ image?: string | undefined;
454
+ textInput?: {
455
+ show: boolean;
456
+ placeholder?: string | undefined;
457
+ showCopyButton?: boolean | undefined;
458
+ prefilledText?: string | undefined;
459
+ } | undefined;
460
+ radioButtons?: {
461
+ body?: string | undefined;
462
+ heading?: string | undefined;
463
+ }[] | undefined;
464
+ }[];
465
+ subtitle?: string | undefined;
466
+ campaign?: string | undefined;
467
+ };
468
+ }, {
469
+ id: string;
470
+ data: {
471
+ date: string | Date;
472
+ title: string;
473
+ platform: "Web Only" | "App Only" | "All";
474
+ isDraft: boolean;
475
+ seekerFriendly: boolean;
476
+ pages: {
477
+ heading: string;
478
+ audio?: {
479
+ audioUrl: string;
480
+ loop?: boolean | undefined;
481
+ } | undefined;
482
+ body?: string | undefined;
483
+ video?: {
484
+ videoUrl: string;
485
+ loop?: boolean | undefined;
486
+ autoplay?: boolean | undefined;
487
+ } | undefined;
488
+ notification?: {
489
+ title: string;
490
+ body: string;
491
+ delayInHours: number;
492
+ } | undefined;
493
+ platform?: "Web Only" | "App Only" | "All" | undefined;
494
+ image?: string | undefined;
495
+ textInput?: {
496
+ show: boolean;
497
+ placeholder?: string | undefined;
498
+ showCopyButton?: boolean | undefined;
499
+ prefilledText?: string | undefined;
500
+ } | undefined;
501
+ radioButtons?: {
502
+ body?: string | undefined;
503
+ heading?: string | undefined;
504
+ }[] | undefined;
505
+ }[];
506
+ subtitle?: string | undefined;
507
+ campaign?: string | undefined;
508
+ };
509
+ }>;
510
+ export type ResponseMicroLesson = z.infer<typeof ResponseMicroLessonSchema>;
511
+ export declare const MicroLessonsResponse: z.ZodObject<{
512
+ data: z.ZodArray<z.ZodObject<{
513
+ id: z.ZodString;
514
+ data: z.ZodObject<{
515
+ title: z.ZodString;
516
+ subtitle: z.ZodOptional<z.ZodString>;
517
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
518
+ isDraft: z.ZodBoolean;
519
+ seekerFriendly: z.ZodBoolean;
520
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
521
+ campaign: z.ZodOptional<z.ZodString>;
522
+ pages: z.ZodArray<z.ZodObject<{
523
+ heading: z.ZodString;
524
+ body: z.ZodOptional<z.ZodString>;
525
+ image: z.ZodOptional<z.ZodString>;
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
+ }>>;
549
+ textInput: z.ZodOptional<z.ZodObject<{
550
+ show: z.ZodBoolean;
551
+ placeholder: z.ZodOptional<z.ZodString>;
552
+ showCopyButton: z.ZodOptional<z.ZodBoolean>;
553
+ prefilledText: z.ZodOptional<z.ZodString>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ show: boolean;
556
+ placeholder?: string | undefined;
557
+ showCopyButton?: boolean | undefined;
558
+ prefilledText?: string | undefined;
559
+ }, {
560
+ show: boolean;
561
+ placeholder?: string | undefined;
562
+ showCopyButton?: boolean | undefined;
563
+ prefilledText?: string | undefined;
564
+ }>>;
565
+ radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
566
+ heading: z.ZodOptional<z.ZodString>;
567
+ body: z.ZodOptional<z.ZodString>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ body?: string | undefined;
570
+ heading?: string | undefined;
571
+ }, {
572
+ body?: string | undefined;
573
+ heading?: string | undefined;
574
+ }>, "many">>;
575
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
576
+ notification: z.ZodOptional<z.ZodObject<{
577
+ title: z.ZodString;
578
+ body: z.ZodString;
579
+ delayInHours: z.ZodNumber;
580
+ }, "strip", z.ZodTypeAny, {
581
+ title: string;
582
+ body: string;
583
+ delayInHours: number;
584
+ }, {
585
+ title: string;
586
+ body: string;
587
+ delayInHours: number;
588
+ }>>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ heading: string;
591
+ audio?: {
592
+ audioUrl: string;
593
+ loop?: boolean | undefined;
594
+ } | undefined;
595
+ body?: string | undefined;
596
+ video?: {
597
+ videoUrl: string;
598
+ loop?: boolean | undefined;
599
+ autoplay?: boolean | undefined;
600
+ } | undefined;
601
+ notification?: {
602
+ title: string;
603
+ body: string;
604
+ delayInHours: number;
605
+ } | undefined;
606
+ platform?: "Web Only" | "App Only" | "All" | undefined;
607
+ image?: string | undefined;
608
+ textInput?: {
609
+ show: boolean;
610
+ placeholder?: string | undefined;
611
+ showCopyButton?: boolean | undefined;
612
+ prefilledText?: string | undefined;
613
+ } | undefined;
614
+ radioButtons?: {
615
+ body?: string | undefined;
616
+ heading?: string | undefined;
617
+ }[] | undefined;
618
+ }, {
619
+ heading: string;
620
+ audio?: {
621
+ audioUrl: string;
622
+ loop?: boolean | undefined;
623
+ } | undefined;
624
+ body?: string | undefined;
625
+ video?: {
626
+ videoUrl: string;
627
+ loop?: boolean | undefined;
628
+ autoplay?: boolean | undefined;
629
+ } | undefined;
630
+ notification?: {
631
+ title: string;
632
+ body: string;
633
+ delayInHours: number;
634
+ } | undefined;
635
+ platform?: "Web Only" | "App Only" | "All" | undefined;
636
+ image?: string | undefined;
637
+ textInput?: {
638
+ show: boolean;
639
+ placeholder?: string | undefined;
640
+ showCopyButton?: boolean | undefined;
641
+ prefilledText?: string | undefined;
642
+ } | undefined;
643
+ radioButtons?: {
644
+ body?: string | undefined;
645
+ heading?: string | undefined;
646
+ }[] | undefined;
647
+ }>, "many">;
648
+ }, "strip", z.ZodTypeAny, {
649
+ date: string | Date;
650
+ title: string;
651
+ platform: "Web Only" | "App Only" | "All";
652
+ isDraft: boolean;
653
+ seekerFriendly: boolean;
654
+ pages: {
655
+ heading: string;
656
+ audio?: {
657
+ audioUrl: string;
658
+ loop?: boolean | undefined;
659
+ } | undefined;
660
+ body?: string | undefined;
661
+ video?: {
662
+ videoUrl: string;
663
+ loop?: boolean | undefined;
664
+ autoplay?: boolean | undefined;
665
+ } | undefined;
666
+ notification?: {
667
+ title: string;
668
+ body: string;
669
+ delayInHours: number;
670
+ } | undefined;
671
+ platform?: "Web Only" | "App Only" | "All" | undefined;
672
+ image?: string | undefined;
673
+ textInput?: {
674
+ show: boolean;
675
+ placeholder?: string | undefined;
676
+ showCopyButton?: boolean | undefined;
677
+ prefilledText?: string | undefined;
678
+ } | undefined;
679
+ radioButtons?: {
680
+ body?: string | undefined;
681
+ heading?: string | undefined;
682
+ }[] | undefined;
683
+ }[];
684
+ subtitle?: string | undefined;
685
+ campaign?: string | undefined;
686
+ }, {
687
+ date: string | Date;
688
+ title: string;
689
+ platform: "Web Only" | "App Only" | "All";
690
+ isDraft: boolean;
691
+ seekerFriendly: boolean;
692
+ pages: {
693
+ heading: string;
694
+ audio?: {
695
+ audioUrl: string;
696
+ loop?: boolean | undefined;
697
+ } | undefined;
698
+ body?: string | undefined;
699
+ video?: {
700
+ videoUrl: string;
701
+ loop?: boolean | undefined;
702
+ autoplay?: boolean | undefined;
703
+ } | undefined;
704
+ notification?: {
705
+ title: string;
706
+ body: string;
707
+ delayInHours: number;
708
+ } | undefined;
709
+ platform?: "Web Only" | "App Only" | "All" | undefined;
710
+ image?: string | undefined;
711
+ textInput?: {
712
+ show: boolean;
713
+ placeholder?: string | undefined;
714
+ showCopyButton?: boolean | undefined;
715
+ prefilledText?: string | undefined;
716
+ } | undefined;
717
+ radioButtons?: {
718
+ body?: string | undefined;
719
+ heading?: string | undefined;
720
+ }[] | undefined;
721
+ }[];
722
+ subtitle?: string | undefined;
723
+ campaign?: string | undefined;
724
+ }>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ id: string;
727
+ data: {
728
+ date: string | Date;
729
+ title: string;
730
+ platform: "Web Only" | "App Only" | "All";
731
+ isDraft: boolean;
732
+ seekerFriendly: boolean;
733
+ pages: {
734
+ heading: string;
735
+ audio?: {
736
+ audioUrl: string;
737
+ loop?: boolean | undefined;
738
+ } | undefined;
739
+ body?: string | undefined;
740
+ video?: {
741
+ videoUrl: string;
742
+ loop?: boolean | undefined;
743
+ autoplay?: boolean | undefined;
744
+ } | undefined;
745
+ notification?: {
746
+ title: string;
747
+ body: string;
748
+ delayInHours: number;
749
+ } | undefined;
750
+ platform?: "Web Only" | "App Only" | "All" | undefined;
751
+ image?: string | undefined;
752
+ textInput?: {
753
+ show: boolean;
754
+ placeholder?: string | undefined;
755
+ showCopyButton?: boolean | undefined;
756
+ prefilledText?: string | undefined;
757
+ } | undefined;
758
+ radioButtons?: {
759
+ body?: string | undefined;
760
+ heading?: string | undefined;
761
+ }[] | undefined;
762
+ }[];
763
+ subtitle?: string | undefined;
764
+ campaign?: string | undefined;
765
+ };
766
+ }, {
767
+ id: string;
768
+ data: {
769
+ date: string | Date;
770
+ title: string;
771
+ platform: "Web Only" | "App Only" | "All";
772
+ isDraft: boolean;
773
+ seekerFriendly: boolean;
774
+ pages: {
775
+ heading: string;
776
+ audio?: {
777
+ audioUrl: string;
778
+ loop?: boolean | undefined;
779
+ } | undefined;
780
+ body?: string | undefined;
781
+ video?: {
782
+ videoUrl: string;
783
+ loop?: boolean | undefined;
784
+ autoplay?: boolean | undefined;
785
+ } | undefined;
786
+ notification?: {
787
+ title: string;
788
+ body: string;
789
+ delayInHours: number;
790
+ } | undefined;
791
+ platform?: "Web Only" | "App Only" | "All" | undefined;
792
+ image?: string | undefined;
793
+ textInput?: {
794
+ show: boolean;
795
+ placeholder?: string | undefined;
796
+ showCopyButton?: boolean | undefined;
797
+ prefilledText?: string | undefined;
798
+ } | undefined;
799
+ radioButtons?: {
800
+ body?: string | undefined;
801
+ heading?: string | undefined;
802
+ }[] | undefined;
803
+ }[];
804
+ subtitle?: string | undefined;
805
+ campaign?: string | undefined;
806
+ };
807
+ }>, "many">;
808
+ }, "strip", z.ZodTypeAny, {
809
+ data: {
810
+ id: string;
811
+ data: {
812
+ date: string | Date;
813
+ title: string;
814
+ platform: "Web Only" | "App Only" | "All";
815
+ isDraft: boolean;
816
+ seekerFriendly: boolean;
817
+ pages: {
818
+ heading: string;
819
+ audio?: {
820
+ audioUrl: string;
821
+ loop?: boolean | undefined;
822
+ } | undefined;
823
+ body?: string | undefined;
824
+ video?: {
825
+ videoUrl: string;
826
+ loop?: boolean | undefined;
827
+ autoplay?: boolean | undefined;
828
+ } | undefined;
829
+ notification?: {
830
+ title: string;
831
+ body: string;
832
+ delayInHours: number;
833
+ } | undefined;
834
+ platform?: "Web Only" | "App Only" | "All" | undefined;
835
+ image?: string | undefined;
836
+ textInput?: {
837
+ show: boolean;
838
+ placeholder?: string | undefined;
839
+ showCopyButton?: boolean | undefined;
840
+ prefilledText?: string | undefined;
841
+ } | undefined;
842
+ radioButtons?: {
843
+ body?: string | undefined;
844
+ heading?: string | undefined;
845
+ }[] | undefined;
846
+ }[];
847
+ subtitle?: string | undefined;
848
+ campaign?: string | undefined;
849
+ };
850
+ }[];
851
+ }, {
852
+ data: {
853
+ id: string;
854
+ data: {
855
+ date: string | Date;
856
+ title: string;
857
+ platform: "Web Only" | "App Only" | "All";
858
+ isDraft: boolean;
859
+ seekerFriendly: boolean;
860
+ pages: {
861
+ heading: string;
862
+ audio?: {
863
+ audioUrl: string;
864
+ loop?: boolean | undefined;
865
+ } | undefined;
866
+ body?: string | undefined;
867
+ video?: {
868
+ videoUrl: string;
869
+ loop?: boolean | undefined;
870
+ autoplay?: boolean | undefined;
871
+ } | undefined;
872
+ notification?: {
873
+ title: string;
874
+ body: string;
875
+ delayInHours: number;
876
+ } | undefined;
877
+ platform?: "Web Only" | "App Only" | "All" | undefined;
878
+ image?: string | undefined;
879
+ textInput?: {
880
+ show: boolean;
881
+ placeholder?: string | undefined;
882
+ showCopyButton?: boolean | undefined;
883
+ prefilledText?: string | undefined;
884
+ } | undefined;
885
+ radioButtons?: {
886
+ body?: string | undefined;
887
+ heading?: string | undefined;
888
+ }[] | undefined;
889
+ }[];
890
+ subtitle?: string | undefined;
891
+ campaign?: string | undefined;
892
+ };
893
+ }[];
894
+ }>;