waha-shared 1.0.185 → 1.0.187

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.185",
3
+ "version": "1.0.187",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",
@@ -1,217 +0,0 @@
1
- import z from 'zod';
2
- export declare const ArticleSchema: z.ZodObject<{
3
- title: z.ZodString;
4
- author: z.ZodOptional<z.ZodString>;
5
- category: z.ZodOptional<z.ZodString>;
6
- image: z.ZodOptional<z.ZodString>;
7
- isDraft: z.ZodOptional<z.ZodBoolean>;
8
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
9
- audio: z.ZodOptional<z.ZodString>;
10
- video: z.ZodOptional<z.ZodString>;
11
- date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
12
- 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"]>>;
13
- }, "strip", z.ZodTypeAny, {
14
- date: string | Date;
15
- title: string;
16
- audio?: string | undefined;
17
- video?: string | undefined;
18
- category?: string | undefined;
19
- author?: string | undefined;
20
- image?: string | undefined;
21
- isDraft?: boolean | undefined;
22
- seekerFriendly?: boolean | undefined;
23
- impactStoryRegion?: "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" | undefined;
24
- }, {
25
- date: string | Date;
26
- title: string;
27
- audio?: string | undefined;
28
- video?: string | undefined;
29
- category?: string | undefined;
30
- author?: string | undefined;
31
- image?: string | undefined;
32
- isDraft?: boolean | undefined;
33
- seekerFriendly?: boolean | undefined;
34
- impactStoryRegion?: "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" | undefined;
35
- }>;
36
- export type Article = z.infer<typeof ArticleSchema>;
37
- export declare const ResponseArticleSchema: z.ZodObject<{
38
- id: z.ZodString;
39
- data: z.ZodObject<{
40
- title: z.ZodString;
41
- author: z.ZodOptional<z.ZodString>;
42
- category: z.ZodOptional<z.ZodString>;
43
- image: z.ZodOptional<z.ZodString>;
44
- isDraft: z.ZodOptional<z.ZodBoolean>;
45
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
46
- audio: z.ZodOptional<z.ZodString>;
47
- video: z.ZodOptional<z.ZodString>;
48
- date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
49
- 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"]>>;
50
- }, "strip", z.ZodTypeAny, {
51
- date: string | Date;
52
- title: string;
53
- audio?: string | undefined;
54
- video?: string | undefined;
55
- category?: string | undefined;
56
- author?: string | undefined;
57
- image?: string | undefined;
58
- isDraft?: boolean | undefined;
59
- seekerFriendly?: boolean | undefined;
60
- impactStoryRegion?: "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" | undefined;
61
- }, {
62
- date: string | Date;
63
- title: string;
64
- audio?: string | undefined;
65
- video?: string | undefined;
66
- category?: string | undefined;
67
- author?: string | undefined;
68
- image?: string | undefined;
69
- isDraft?: boolean | undefined;
70
- seekerFriendly?: boolean | undefined;
71
- impactStoryRegion?: "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" | undefined;
72
- }>;
73
- body: z.ZodString;
74
- slug: z.ZodString;
75
- }, "strip", z.ZodTypeAny, {
76
- id: string;
77
- body: string;
78
- data: {
79
- date: string | Date;
80
- title: string;
81
- audio?: string | undefined;
82
- video?: string | undefined;
83
- category?: string | undefined;
84
- author?: string | undefined;
85
- image?: string | undefined;
86
- isDraft?: boolean | undefined;
87
- seekerFriendly?: boolean | undefined;
88
- impactStoryRegion?: "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" | undefined;
89
- };
90
- slug: string;
91
- }, {
92
- id: string;
93
- body: string;
94
- data: {
95
- date: string | Date;
96
- title: string;
97
- audio?: string | undefined;
98
- video?: string | undefined;
99
- category?: string | undefined;
100
- author?: string | undefined;
101
- image?: string | undefined;
102
- isDraft?: boolean | undefined;
103
- seekerFriendly?: boolean | undefined;
104
- impactStoryRegion?: "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" | undefined;
105
- };
106
- slug: string;
107
- }>;
108
- export type ResponseArticle = z.infer<typeof ResponseArticleSchema>;
109
- export declare const ArticlesResponseSchema: z.ZodObject<{
110
- data: z.ZodArray<z.ZodObject<{
111
- id: z.ZodString;
112
- data: z.ZodObject<{
113
- title: z.ZodString;
114
- author: z.ZodOptional<z.ZodString>;
115
- category: z.ZodOptional<z.ZodString>;
116
- image: z.ZodOptional<z.ZodString>;
117
- isDraft: z.ZodOptional<z.ZodBoolean>;
118
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
119
- audio: z.ZodOptional<z.ZodString>;
120
- video: z.ZodOptional<z.ZodString>;
121
- date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
122
- 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"]>>;
123
- }, "strip", z.ZodTypeAny, {
124
- date: string | Date;
125
- title: string;
126
- audio?: string | undefined;
127
- video?: string | undefined;
128
- category?: string | undefined;
129
- author?: string | undefined;
130
- image?: string | undefined;
131
- isDraft?: boolean | undefined;
132
- seekerFriendly?: boolean | undefined;
133
- impactStoryRegion?: "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" | undefined;
134
- }, {
135
- date: string | Date;
136
- title: string;
137
- audio?: string | undefined;
138
- video?: string | undefined;
139
- category?: string | undefined;
140
- author?: string | undefined;
141
- image?: string | undefined;
142
- isDraft?: boolean | undefined;
143
- seekerFriendly?: boolean | undefined;
144
- impactStoryRegion?: "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" | undefined;
145
- }>;
146
- body: z.ZodString;
147
- slug: z.ZodString;
148
- }, "strip", z.ZodTypeAny, {
149
- id: string;
150
- body: string;
151
- data: {
152
- date: string | Date;
153
- title: string;
154
- audio?: string | undefined;
155
- video?: string | undefined;
156
- category?: string | undefined;
157
- author?: string | undefined;
158
- image?: string | undefined;
159
- isDraft?: boolean | undefined;
160
- seekerFriendly?: boolean | undefined;
161
- impactStoryRegion?: "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" | undefined;
162
- };
163
- slug: string;
164
- }, {
165
- id: string;
166
- body: string;
167
- data: {
168
- date: string | Date;
169
- title: string;
170
- audio?: string | undefined;
171
- video?: string | undefined;
172
- category?: string | undefined;
173
- author?: string | undefined;
174
- image?: string | undefined;
175
- isDraft?: boolean | undefined;
176
- seekerFriendly?: boolean | undefined;
177
- impactStoryRegion?: "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" | undefined;
178
- };
179
- slug: string;
180
- }>, "many">;
181
- }, "strip", z.ZodTypeAny, {
182
- data: {
183
- id: string;
184
- body: string;
185
- data: {
186
- date: string | Date;
187
- title: string;
188
- audio?: string | undefined;
189
- video?: string | undefined;
190
- category?: string | undefined;
191
- author?: string | undefined;
192
- image?: string | undefined;
193
- isDraft?: boolean | undefined;
194
- seekerFriendly?: boolean | undefined;
195
- impactStoryRegion?: "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" | undefined;
196
- };
197
- slug: string;
198
- }[];
199
- }, {
200
- data: {
201
- id: string;
202
- body: string;
203
- data: {
204
- date: string | Date;
205
- title: string;
206
- audio?: string | undefined;
207
- video?: string | undefined;
208
- category?: string | undefined;
209
- author?: string | undefined;
210
- image?: string | undefined;
211
- isDraft?: boolean | undefined;
212
- seekerFriendly?: boolean | undefined;
213
- impactStoryRegion?: "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" | undefined;
214
- };
215
- slug: string;
216
- }[];
217
- }>;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ArticlesResponseSchema = exports.ResponseArticleSchema = exports.ArticleSchema = void 0;
7
- const zod_1 = __importDefault(require("zod"));
8
- exports.ArticleSchema = zod_1.default.object({
9
- title: zod_1.default.string(),
10
- author: zod_1.default.string().optional(),
11
- category: zod_1.default.string().optional(),
12
- image: zod_1.default.string().optional(),
13
- isDraft: zod_1.default
14
- .boolean()
15
- .optional()
16
- .describe('If this is checked the article will not be published.'),
17
- seekerFriendly: zod_1.default
18
- .boolean()
19
- .optional()
20
- .describe('If this is checked the article will be marked as seeker sensitive. Seeker sensitive articles will not link back to the website.'),
21
- audio: zod_1.default.string().optional(),
22
- video: zod_1.default.string().optional(),
23
- date: zod_1.default
24
- .union([zod_1.default.string().datetime(), zod_1.default.date()])
25
- .describe('The date to publish the article. Can be in the future.'),
26
- impactStoryRegion: zod_1.default
27
- .enum([
28
- 'North America',
29
- 'Latin America and the Caribbean',
30
- 'Middle East/North Africa',
31
- 'Sub-Saharan Africa',
32
- 'Western Europe',
33
- 'Eastern Europe',
34
- 'Western Asia',
35
- 'Southern Asia',
36
- 'Central Asia',
37
- 'Southeast Asia',
38
- 'Eastern Asia',
39
- 'Oceania',
40
- ])
41
- .optional()
42
- .describe('If this article is an impact story that should show up on the dashboard, select the region it is associated with.'),
43
- });
44
- exports.ResponseArticleSchema = zod_1.default.object({
45
- id: zod_1.default.string(),
46
- data: exports.ArticleSchema,
47
- body: zod_1.default.string(),
48
- slug: zod_1.default.string(),
49
- });
50
- exports.ArticlesResponseSchema = zod_1.default.object({
51
- data: zod_1.default.array(exports.ResponseArticleSchema),
52
- });
@@ -1,397 +0,0 @@
1
- import z from 'zod';
2
- export declare const MicroLesson: z.ZodObject<{
3
- title: z.ZodString;
4
- subtitle: z.ZodOptional<z.ZodString>;
5
- isDraft: z.ZodOptional<z.ZodBoolean>;
6
- seekerSensitive: z.ZodOptional<z.ZodBoolean>;
7
- platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "Both"]>>;
8
- campaign: z.ZodOptional<z.ZodString>;
9
- pages: z.ZodArray<z.ZodObject<{
10
- heading: z.ZodString;
11
- body: z.ZodOptional<z.ZodString>;
12
- image: z.ZodOptional<z.ZodString>;
13
- audio: z.ZodOptional<z.ZodString>;
14
- hasTextInput: z.ZodOptional<z.ZodBoolean>;
15
- placeholder: z.ZodOptional<z.ZodString>;
16
- radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- text: z.ZodString;
18
- }, "strip", z.ZodTypeAny, {
19
- text: string;
20
- }, {
21
- text: string;
22
- }>, "many">>;
23
- videoUrl: z.ZodOptional<z.ZodString>;
24
- }, "strip", z.ZodTypeAny, {
25
- heading: string;
26
- audio?: string | undefined;
27
- body?: string | undefined;
28
- image?: string | undefined;
29
- hasTextInput?: boolean | undefined;
30
- placeholder?: string | undefined;
31
- radioButtons?: {
32
- text: string;
33
- }[] | undefined;
34
- videoUrl?: string | undefined;
35
- }, {
36
- heading: string;
37
- audio?: string | undefined;
38
- body?: string | undefined;
39
- image?: string | undefined;
40
- hasTextInput?: boolean | undefined;
41
- placeholder?: string | undefined;
42
- radioButtons?: {
43
- text: string;
44
- }[] | undefined;
45
- videoUrl?: string | undefined;
46
- }>, "many">;
47
- }, "strip", z.ZodTypeAny, {
48
- title: string;
49
- pages: {
50
- heading: string;
51
- audio?: string | undefined;
52
- body?: string | undefined;
53
- image?: string | undefined;
54
- hasTextInput?: boolean | undefined;
55
- placeholder?: string | undefined;
56
- radioButtons?: {
57
- text: string;
58
- }[] | undefined;
59
- videoUrl?: string | undefined;
60
- }[];
61
- platform?: "Web Only" | "App Only" | "Both" | undefined;
62
- isDraft?: boolean | undefined;
63
- subtitle?: string | undefined;
64
- seekerSensitive?: boolean | undefined;
65
- campaign?: string | undefined;
66
- }, {
67
- title: string;
68
- pages: {
69
- heading: string;
70
- audio?: string | undefined;
71
- body?: string | undefined;
72
- image?: string | undefined;
73
- hasTextInput?: boolean | undefined;
74
- placeholder?: string | undefined;
75
- radioButtons?: {
76
- text: string;
77
- }[] | undefined;
78
- videoUrl?: string | undefined;
79
- }[];
80
- platform?: "Web Only" | "App Only" | "Both" | undefined;
81
- isDraft?: boolean | undefined;
82
- subtitle?: string | undefined;
83
- seekerSensitive?: boolean | undefined;
84
- campaign?: string | undefined;
85
- }>;
86
- export declare const ResponseMicroLesson: z.ZodObject<{
87
- id: z.ZodString;
88
- data: z.ZodObject<{
89
- title: z.ZodString;
90
- subtitle: z.ZodOptional<z.ZodString>;
91
- isDraft: z.ZodOptional<z.ZodBoolean>;
92
- seekerSensitive: z.ZodOptional<z.ZodBoolean>;
93
- platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "Both"]>>;
94
- campaign: z.ZodOptional<z.ZodString>;
95
- pages: z.ZodArray<z.ZodObject<{
96
- heading: z.ZodString;
97
- body: z.ZodOptional<z.ZodString>;
98
- image: z.ZodOptional<z.ZodString>;
99
- audio: z.ZodOptional<z.ZodString>;
100
- hasTextInput: z.ZodOptional<z.ZodBoolean>;
101
- placeholder: z.ZodOptional<z.ZodString>;
102
- radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
103
- text: z.ZodString;
104
- }, "strip", z.ZodTypeAny, {
105
- text: string;
106
- }, {
107
- text: string;
108
- }>, "many">>;
109
- videoUrl: z.ZodOptional<z.ZodString>;
110
- }, "strip", z.ZodTypeAny, {
111
- heading: string;
112
- audio?: string | undefined;
113
- body?: string | undefined;
114
- image?: string | undefined;
115
- hasTextInput?: boolean | undefined;
116
- placeholder?: string | undefined;
117
- radioButtons?: {
118
- text: string;
119
- }[] | undefined;
120
- videoUrl?: string | undefined;
121
- }, {
122
- heading: string;
123
- audio?: string | undefined;
124
- body?: string | undefined;
125
- image?: string | undefined;
126
- hasTextInput?: boolean | undefined;
127
- placeholder?: string | undefined;
128
- radioButtons?: {
129
- text: string;
130
- }[] | undefined;
131
- videoUrl?: string | undefined;
132
- }>, "many">;
133
- }, "strip", z.ZodTypeAny, {
134
- title: string;
135
- pages: {
136
- heading: string;
137
- audio?: string | undefined;
138
- body?: string | undefined;
139
- image?: string | undefined;
140
- hasTextInput?: boolean | undefined;
141
- placeholder?: string | undefined;
142
- radioButtons?: {
143
- text: string;
144
- }[] | undefined;
145
- videoUrl?: string | undefined;
146
- }[];
147
- platform?: "Web Only" | "App Only" | "Both" | undefined;
148
- isDraft?: boolean | undefined;
149
- subtitle?: string | undefined;
150
- seekerSensitive?: boolean | undefined;
151
- campaign?: string | undefined;
152
- }, {
153
- title: string;
154
- pages: {
155
- heading: string;
156
- audio?: string | undefined;
157
- body?: string | undefined;
158
- image?: string | undefined;
159
- hasTextInput?: boolean | undefined;
160
- placeholder?: string | undefined;
161
- radioButtons?: {
162
- text: string;
163
- }[] | undefined;
164
- videoUrl?: string | undefined;
165
- }[];
166
- platform?: "Web Only" | "App Only" | "Both" | undefined;
167
- isDraft?: boolean | undefined;
168
- subtitle?: string | undefined;
169
- seekerSensitive?: boolean | undefined;
170
- campaign?: string | undefined;
171
- }>;
172
- }, "strip", z.ZodTypeAny, {
173
- id: string;
174
- data: {
175
- title: string;
176
- pages: {
177
- heading: string;
178
- audio?: string | undefined;
179
- body?: string | undefined;
180
- image?: string | undefined;
181
- hasTextInput?: boolean | undefined;
182
- placeholder?: string | undefined;
183
- radioButtons?: {
184
- text: string;
185
- }[] | undefined;
186
- videoUrl?: string | undefined;
187
- }[];
188
- platform?: "Web Only" | "App Only" | "Both" | undefined;
189
- isDraft?: boolean | undefined;
190
- subtitle?: string | undefined;
191
- seekerSensitive?: boolean | undefined;
192
- campaign?: string | undefined;
193
- };
194
- }, {
195
- id: string;
196
- data: {
197
- title: string;
198
- pages: {
199
- heading: string;
200
- audio?: string | undefined;
201
- body?: string | undefined;
202
- image?: string | undefined;
203
- hasTextInput?: boolean | undefined;
204
- placeholder?: string | undefined;
205
- radioButtons?: {
206
- text: string;
207
- }[] | undefined;
208
- videoUrl?: string | undefined;
209
- }[];
210
- platform?: "Web Only" | "App Only" | "Both" | undefined;
211
- isDraft?: boolean | undefined;
212
- subtitle?: string | undefined;
213
- seekerSensitive?: boolean | undefined;
214
- campaign?: string | undefined;
215
- };
216
- }>;
217
- export declare const MicroLessonsResponse: z.ZodObject<{
218
- data: z.ZodArray<z.ZodObject<{
219
- id: z.ZodString;
220
- data: z.ZodObject<{
221
- title: z.ZodString;
222
- subtitle: z.ZodOptional<z.ZodString>;
223
- isDraft: z.ZodOptional<z.ZodBoolean>;
224
- seekerSensitive: z.ZodOptional<z.ZodBoolean>;
225
- platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "Both"]>>;
226
- campaign: z.ZodOptional<z.ZodString>;
227
- pages: z.ZodArray<z.ZodObject<{
228
- heading: z.ZodString;
229
- body: z.ZodOptional<z.ZodString>;
230
- image: z.ZodOptional<z.ZodString>;
231
- audio: z.ZodOptional<z.ZodString>;
232
- hasTextInput: z.ZodOptional<z.ZodBoolean>;
233
- placeholder: z.ZodOptional<z.ZodString>;
234
- radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
- text: z.ZodString;
236
- }, "strip", z.ZodTypeAny, {
237
- text: string;
238
- }, {
239
- text: string;
240
- }>, "many">>;
241
- videoUrl: z.ZodOptional<z.ZodString>;
242
- }, "strip", z.ZodTypeAny, {
243
- heading: string;
244
- audio?: string | undefined;
245
- body?: string | undefined;
246
- image?: string | undefined;
247
- hasTextInput?: boolean | undefined;
248
- placeholder?: string | undefined;
249
- radioButtons?: {
250
- text: string;
251
- }[] | undefined;
252
- videoUrl?: string | undefined;
253
- }, {
254
- heading: string;
255
- audio?: string | undefined;
256
- body?: string | undefined;
257
- image?: string | undefined;
258
- hasTextInput?: boolean | undefined;
259
- placeholder?: string | undefined;
260
- radioButtons?: {
261
- text: string;
262
- }[] | undefined;
263
- videoUrl?: string | undefined;
264
- }>, "many">;
265
- }, "strip", z.ZodTypeAny, {
266
- title: string;
267
- pages: {
268
- heading: string;
269
- audio?: string | undefined;
270
- body?: string | undefined;
271
- image?: string | undefined;
272
- hasTextInput?: boolean | undefined;
273
- placeholder?: string | undefined;
274
- radioButtons?: {
275
- text: string;
276
- }[] | undefined;
277
- videoUrl?: string | undefined;
278
- }[];
279
- platform?: "Web Only" | "App Only" | "Both" | undefined;
280
- isDraft?: boolean | undefined;
281
- subtitle?: string | undefined;
282
- seekerSensitive?: boolean | undefined;
283
- campaign?: string | undefined;
284
- }, {
285
- title: string;
286
- pages: {
287
- heading: string;
288
- audio?: string | undefined;
289
- body?: string | undefined;
290
- image?: string | undefined;
291
- hasTextInput?: boolean | undefined;
292
- placeholder?: string | undefined;
293
- radioButtons?: {
294
- text: string;
295
- }[] | undefined;
296
- videoUrl?: string | undefined;
297
- }[];
298
- platform?: "Web Only" | "App Only" | "Both" | undefined;
299
- isDraft?: boolean | undefined;
300
- subtitle?: string | undefined;
301
- seekerSensitive?: boolean | undefined;
302
- campaign?: string | undefined;
303
- }>;
304
- }, "strip", z.ZodTypeAny, {
305
- id: string;
306
- data: {
307
- title: string;
308
- pages: {
309
- heading: string;
310
- audio?: string | undefined;
311
- body?: string | undefined;
312
- image?: string | undefined;
313
- hasTextInput?: boolean | undefined;
314
- placeholder?: string | undefined;
315
- radioButtons?: {
316
- text: string;
317
- }[] | undefined;
318
- videoUrl?: string | undefined;
319
- }[];
320
- platform?: "Web Only" | "App Only" | "Both" | undefined;
321
- isDraft?: boolean | undefined;
322
- subtitle?: string | undefined;
323
- seekerSensitive?: boolean | undefined;
324
- campaign?: string | undefined;
325
- };
326
- }, {
327
- id: string;
328
- data: {
329
- title: string;
330
- pages: {
331
- heading: string;
332
- audio?: string | undefined;
333
- body?: string | undefined;
334
- image?: string | undefined;
335
- hasTextInput?: boolean | undefined;
336
- placeholder?: string | undefined;
337
- radioButtons?: {
338
- text: string;
339
- }[] | undefined;
340
- videoUrl?: string | undefined;
341
- }[];
342
- platform?: "Web Only" | "App Only" | "Both" | undefined;
343
- isDraft?: boolean | undefined;
344
- subtitle?: string | undefined;
345
- seekerSensitive?: boolean | undefined;
346
- campaign?: string | undefined;
347
- };
348
- }>, "many">;
349
- }, "strip", z.ZodTypeAny, {
350
- data: {
351
- id: string;
352
- data: {
353
- title: string;
354
- pages: {
355
- heading: string;
356
- audio?: string | undefined;
357
- body?: string | undefined;
358
- image?: string | undefined;
359
- hasTextInput?: boolean | undefined;
360
- placeholder?: string | undefined;
361
- radioButtons?: {
362
- text: string;
363
- }[] | undefined;
364
- videoUrl?: string | undefined;
365
- }[];
366
- platform?: "Web Only" | "App Only" | "Both" | undefined;
367
- isDraft?: boolean | undefined;
368
- subtitle?: string | undefined;
369
- seekerSensitive?: boolean | undefined;
370
- campaign?: string | undefined;
371
- };
372
- }[];
373
- }, {
374
- data: {
375
- id: string;
376
- data: {
377
- title: string;
378
- pages: {
379
- heading: string;
380
- audio?: string | undefined;
381
- body?: string | undefined;
382
- image?: string | undefined;
383
- hasTextInput?: boolean | undefined;
384
- placeholder?: string | undefined;
385
- radioButtons?: {
386
- text: string;
387
- }[] | undefined;
388
- videoUrl?: string | undefined;
389
- }[];
390
- platform?: "Web Only" | "App Only" | "Both" | undefined;
391
- isDraft?: boolean | undefined;
392
- subtitle?: string | undefined;
393
- seekerSensitive?: boolean | undefined;
394
- campaign?: string | undefined;
395
- };
396
- }[];
397
- }>;