waha-shared 1.0.199 → 1.0.200

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