waha-shared 1.0.206 → 1.0.207

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.
@@ -6069,9 +6069,10 @@
6069
6069
  "speakersPrimary": 78357250,
6070
6070
  "speakersSecondary": 8000000,
6071
6071
  "speakersTotal": 86357250,
6072
- "status": "inProgress",
6072
+ "status": "testing",
6073
6073
  "storeIdAndroid": "ta-IN",
6074
- "uuid": "1d66629d-eb59-46f8-bdb2-8bddd7172d56"
6074
+ "uuid": "1d66629d-eb59-46f8-bdb2-8bddd7172d56",
6075
+ "bible": "OTCV"
6075
6076
  },
6076
6077
  {
6077
6078
  "languageId": "tat",
@@ -1850,6 +1850,38 @@
1850
1850
  "bni.f.011.mp3": 13.818776,
1851
1851
  "bni.f.012.mp3": 7.026939,
1852
1852
  "bni.f.013.mp3": 9.06449
1853
+ },
1854
+ "tam": {
1855
+ "tam.a.001.mp3": 27.245714,
1856
+ "tam.a.002.mp3": 10.997551,
1857
+ "tam.a.003.mp3": 8.96,
1858
+ "tam.a.004.mp3": 14.576327,
1859
+ "tam.a.005.mp3": 19.617959,
1860
+ "tam.a.006.mp3": 13.139592,
1861
+ "tam.a.007.mp3": 27.297959,
1862
+ "tam.a.008.mp3": 7.418776,
1863
+ "tam.a.009.mp3": 7.57551,
1864
+ "tam.a.010.mp3": 7.418776,
1865
+ "tam.a.011.mp3": 7.262041,
1866
+ "tam.a.012.mp3": 12.773878,
1867
+ "tam.a.013.mp3": 3.108571,
1868
+ "tam.a.014.mp3": 9.247347,
1869
+ "tam.a.015.mp3": 9.247347,
1870
+ "tam.a.016.mp3": 13.662041,
1871
+ "tam.a.017.mp3": 8.620408,
1872
+ "tam.f.001.mp3": 22.413061,
1873
+ "tam.f.002.mp3": 11.467755,
1874
+ "tam.f.003.mp3": 11.52,
1875
+ "tam.f.004.mp3": 10.396735,
1876
+ "tam.f.005.mp3": 12.643265,
1877
+ "tam.f.006.mp3": 11.023673,
1878
+ "tam.f.007.mp3": 12.721633,
1879
+ "tam.f.008.mp3": 10.057143,
1880
+ "tam.f.009.mp3": 18.442449,
1881
+ "tam.f.010.mp3": 11.023673,
1882
+ "tam.f.011.mp3": 14.863673,
1883
+ "tam.f.012.mp3": 7.183673,
1884
+ "tam.f.013.mp3": 9.06449
1853
1885
  }
1854
1886
  }
1855
1887
  }
@@ -2465,6 +2465,7 @@
2465
2465
  "ais": "Syrian Arabic",
2466
2466
  "apa": "Palestinian Arabic",
2467
2467
  "apc": "Lebanese Arabic",
2468
+ "apd": "Sudanese Arabic",
2468
2469
  "ara": "Modern Standard Arabic",
2469
2470
  "ary": "Moroccan Arabic",
2470
2471
  "arz": "Egyptian Arabic",
@@ -0,0 +1,400 @@
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.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
6
+ image: z.ZodOptional<z.ZodString>;
7
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
8
+ isDraft: z.ZodOptional<z.ZodBoolean>;
9
+ seekerFriendly: z.ZodOptional<z.ZodBoolean>;
10
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
11
+ audio: z.ZodOptional<z.ZodObject<{
12
+ audioUrl: z.ZodString;
13
+ loop: z.ZodOptional<z.ZodBoolean>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ audioUrl: string;
16
+ loop?: boolean | undefined;
17
+ }, {
18
+ audioUrl: string;
19
+ loop?: boolean | undefined;
20
+ }>>;
21
+ video: z.ZodOptional<z.ZodObject<{
22
+ videoUrl: z.ZodString;
23
+ autoplay: z.ZodOptional<z.ZodBoolean>;
24
+ loop: z.ZodOptional<z.ZodBoolean>;
25
+ disableControls: z.ZodOptional<z.ZodBoolean>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ videoUrl: string;
28
+ loop?: boolean | undefined;
29
+ autoplay?: boolean | undefined;
30
+ disableControls?: boolean | undefined;
31
+ }, {
32
+ videoUrl: string;
33
+ loop?: boolean | undefined;
34
+ autoplay?: boolean | undefined;
35
+ disableControls?: boolean | undefined;
36
+ }>>;
37
+ impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ title: string;
40
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
41
+ platform: "Web Only" | "App Only" | "All";
42
+ date?: string | Date | undefined;
43
+ audio?: {
44
+ audioUrl: string;
45
+ loop?: boolean | undefined;
46
+ } | undefined;
47
+ video?: {
48
+ videoUrl: string;
49
+ loop?: boolean | undefined;
50
+ autoplay?: boolean | undefined;
51
+ disableControls?: boolean | undefined;
52
+ } | undefined;
53
+ author?: string | undefined;
54
+ image?: string | undefined;
55
+ isDraft?: boolean | undefined;
56
+ seekerFriendly?: boolean | undefined;
57
+ 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;
58
+ }, {
59
+ title: string;
60
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
61
+ platform: "Web Only" | "App Only" | "All";
62
+ date?: string | Date | undefined;
63
+ audio?: {
64
+ audioUrl: string;
65
+ loop?: boolean | undefined;
66
+ } | undefined;
67
+ video?: {
68
+ videoUrl: string;
69
+ loop?: boolean | undefined;
70
+ autoplay?: boolean | undefined;
71
+ disableControls?: boolean | undefined;
72
+ } | undefined;
73
+ author?: string | undefined;
74
+ image?: string | undefined;
75
+ isDraft?: boolean | undefined;
76
+ seekerFriendly?: boolean | undefined;
77
+ 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;
78
+ }>;
79
+ export type Article = z.infer<typeof ArticleSchema>;
80
+ export declare const ResponseArticleSchema: z.ZodObject<{
81
+ id: z.ZodString;
82
+ data: z.ZodObject<{
83
+ title: z.ZodString;
84
+ author: z.ZodOptional<z.ZodString>;
85
+ category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
86
+ image: z.ZodOptional<z.ZodString>;
87
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
88
+ isDraft: z.ZodOptional<z.ZodBoolean>;
89
+ seekerFriendly: z.ZodOptional<z.ZodBoolean>;
90
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
91
+ audio: z.ZodOptional<z.ZodObject<{
92
+ audioUrl: z.ZodString;
93
+ loop: z.ZodOptional<z.ZodBoolean>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ audioUrl: string;
96
+ loop?: boolean | undefined;
97
+ }, {
98
+ audioUrl: string;
99
+ loop?: boolean | undefined;
100
+ }>>;
101
+ video: z.ZodOptional<z.ZodObject<{
102
+ videoUrl: z.ZodString;
103
+ autoplay: z.ZodOptional<z.ZodBoolean>;
104
+ loop: z.ZodOptional<z.ZodBoolean>;
105
+ disableControls: z.ZodOptional<z.ZodBoolean>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ videoUrl: string;
108
+ loop?: boolean | undefined;
109
+ autoplay?: boolean | undefined;
110
+ disableControls?: boolean | undefined;
111
+ }, {
112
+ videoUrl: string;
113
+ loop?: boolean | undefined;
114
+ autoplay?: boolean | undefined;
115
+ disableControls?: boolean | undefined;
116
+ }>>;
117
+ impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ title: string;
120
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
121
+ platform: "Web Only" | "App Only" | "All";
122
+ date?: string | Date | undefined;
123
+ audio?: {
124
+ audioUrl: string;
125
+ loop?: boolean | undefined;
126
+ } | undefined;
127
+ video?: {
128
+ videoUrl: string;
129
+ loop?: boolean | undefined;
130
+ autoplay?: boolean | undefined;
131
+ disableControls?: boolean | undefined;
132
+ } | undefined;
133
+ author?: string | undefined;
134
+ image?: string | undefined;
135
+ isDraft?: boolean | undefined;
136
+ seekerFriendly?: boolean | undefined;
137
+ 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;
138
+ }, {
139
+ title: string;
140
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
141
+ platform: "Web Only" | "App Only" | "All";
142
+ date?: string | Date | undefined;
143
+ audio?: {
144
+ audioUrl: string;
145
+ loop?: boolean | undefined;
146
+ } | undefined;
147
+ video?: {
148
+ videoUrl: string;
149
+ loop?: boolean | undefined;
150
+ autoplay?: boolean | undefined;
151
+ disableControls?: boolean | undefined;
152
+ } | undefined;
153
+ author?: string | undefined;
154
+ image?: string | undefined;
155
+ isDraft?: boolean | undefined;
156
+ seekerFriendly?: boolean | undefined;
157
+ 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;
158
+ }>;
159
+ body: z.ZodString;
160
+ slug: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ id: string;
163
+ body: string;
164
+ data: {
165
+ title: string;
166
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
167
+ platform: "Web Only" | "App Only" | "All";
168
+ date?: string | Date | undefined;
169
+ audio?: {
170
+ audioUrl: string;
171
+ loop?: boolean | undefined;
172
+ } | undefined;
173
+ video?: {
174
+ videoUrl: string;
175
+ loop?: boolean | undefined;
176
+ autoplay?: boolean | undefined;
177
+ disableControls?: boolean | undefined;
178
+ } | undefined;
179
+ author?: string | undefined;
180
+ image?: string | undefined;
181
+ isDraft?: boolean | undefined;
182
+ seekerFriendly?: boolean | undefined;
183
+ 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;
184
+ };
185
+ slug: string;
186
+ }, {
187
+ id: string;
188
+ body: string;
189
+ data: {
190
+ title: string;
191
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
192
+ platform: "Web Only" | "App Only" | "All";
193
+ date?: string | Date | undefined;
194
+ audio?: {
195
+ audioUrl: string;
196
+ loop?: boolean | undefined;
197
+ } | undefined;
198
+ video?: {
199
+ videoUrl: string;
200
+ loop?: boolean | undefined;
201
+ autoplay?: boolean | undefined;
202
+ disableControls?: boolean | undefined;
203
+ } | undefined;
204
+ author?: string | undefined;
205
+ image?: string | undefined;
206
+ isDraft?: boolean | undefined;
207
+ seekerFriendly?: boolean | undefined;
208
+ 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;
209
+ };
210
+ slug: string;
211
+ }>;
212
+ export type ResponseArticle = z.infer<typeof ResponseArticleSchema>;
213
+ export declare const ArticlesResponseSchema: z.ZodObject<{
214
+ data: z.ZodArray<z.ZodObject<{
215
+ id: z.ZodString;
216
+ data: z.ZodObject<{
217
+ title: z.ZodString;
218
+ author: z.ZodOptional<z.ZodString>;
219
+ category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
220
+ image: z.ZodOptional<z.ZodString>;
221
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
222
+ isDraft: z.ZodOptional<z.ZodBoolean>;
223
+ seekerFriendly: z.ZodOptional<z.ZodBoolean>;
224
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
225
+ audio: z.ZodOptional<z.ZodObject<{
226
+ audioUrl: z.ZodString;
227
+ loop: z.ZodOptional<z.ZodBoolean>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ audioUrl: string;
230
+ loop?: boolean | undefined;
231
+ }, {
232
+ audioUrl: string;
233
+ loop?: boolean | undefined;
234
+ }>>;
235
+ video: z.ZodOptional<z.ZodObject<{
236
+ videoUrl: z.ZodString;
237
+ autoplay: z.ZodOptional<z.ZodBoolean>;
238
+ loop: z.ZodOptional<z.ZodBoolean>;
239
+ disableControls: z.ZodOptional<z.ZodBoolean>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ videoUrl: string;
242
+ loop?: boolean | undefined;
243
+ autoplay?: boolean | undefined;
244
+ disableControls?: boolean | undefined;
245
+ }, {
246
+ videoUrl: string;
247
+ loop?: boolean | undefined;
248
+ autoplay?: boolean | undefined;
249
+ disableControls?: boolean | undefined;
250
+ }>>;
251
+ impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ title: string;
254
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
255
+ platform: "Web Only" | "App Only" | "All";
256
+ date?: string | Date | undefined;
257
+ audio?: {
258
+ audioUrl: string;
259
+ loop?: boolean | undefined;
260
+ } | undefined;
261
+ video?: {
262
+ videoUrl: string;
263
+ loop?: boolean | undefined;
264
+ autoplay?: boolean | undefined;
265
+ disableControls?: boolean | undefined;
266
+ } | undefined;
267
+ author?: string | undefined;
268
+ image?: string | undefined;
269
+ isDraft?: boolean | undefined;
270
+ seekerFriendly?: boolean | undefined;
271
+ 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;
272
+ }, {
273
+ title: string;
274
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
275
+ platform: "Web Only" | "App Only" | "All";
276
+ date?: string | Date | undefined;
277
+ audio?: {
278
+ audioUrl: string;
279
+ loop?: boolean | undefined;
280
+ } | undefined;
281
+ video?: {
282
+ videoUrl: string;
283
+ loop?: boolean | undefined;
284
+ autoplay?: boolean | undefined;
285
+ disableControls?: boolean | undefined;
286
+ } | undefined;
287
+ author?: string | undefined;
288
+ image?: string | undefined;
289
+ isDraft?: boolean | undefined;
290
+ seekerFriendly?: boolean | undefined;
291
+ 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;
292
+ }>;
293
+ body: z.ZodString;
294
+ slug: z.ZodString;
295
+ }, "strip", z.ZodTypeAny, {
296
+ id: string;
297
+ body: string;
298
+ data: {
299
+ title: string;
300
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
301
+ platform: "Web Only" | "App Only" | "All";
302
+ date?: string | Date | undefined;
303
+ audio?: {
304
+ audioUrl: string;
305
+ loop?: boolean | undefined;
306
+ } | undefined;
307
+ video?: {
308
+ videoUrl: string;
309
+ loop?: boolean | undefined;
310
+ autoplay?: boolean | undefined;
311
+ disableControls?: boolean | undefined;
312
+ } | undefined;
313
+ author?: string | undefined;
314
+ image?: string | undefined;
315
+ isDraft?: boolean | undefined;
316
+ seekerFriendly?: boolean | undefined;
317
+ 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;
318
+ };
319
+ slug: string;
320
+ }, {
321
+ id: string;
322
+ body: string;
323
+ data: {
324
+ title: string;
325
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
326
+ platform: "Web Only" | "App Only" | "All";
327
+ date?: string | Date | undefined;
328
+ audio?: {
329
+ audioUrl: string;
330
+ loop?: boolean | undefined;
331
+ } | undefined;
332
+ video?: {
333
+ videoUrl: string;
334
+ loop?: boolean | undefined;
335
+ autoplay?: boolean | undefined;
336
+ disableControls?: boolean | undefined;
337
+ } | undefined;
338
+ author?: string | undefined;
339
+ image?: string | undefined;
340
+ isDraft?: boolean | undefined;
341
+ seekerFriendly?: boolean | undefined;
342
+ 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;
343
+ };
344
+ slug: string;
345
+ }>, "many">;
346
+ }, "strip", z.ZodTypeAny, {
347
+ data: {
348
+ id: string;
349
+ body: string;
350
+ data: {
351
+ title: string;
352
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
353
+ platform: "Web Only" | "App Only" | "All";
354
+ date?: string | Date | undefined;
355
+ audio?: {
356
+ audioUrl: string;
357
+ loop?: boolean | undefined;
358
+ } | undefined;
359
+ video?: {
360
+ videoUrl: string;
361
+ loop?: boolean | undefined;
362
+ autoplay?: boolean | undefined;
363
+ disableControls?: boolean | undefined;
364
+ } | undefined;
365
+ author?: string | undefined;
366
+ image?: string | undefined;
367
+ isDraft?: boolean | undefined;
368
+ seekerFriendly?: boolean | undefined;
369
+ 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;
370
+ };
371
+ slug: string;
372
+ }[];
373
+ }, {
374
+ data: {
375
+ id: string;
376
+ body: string;
377
+ data: {
378
+ title: string;
379
+ category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
380
+ platform: "Web Only" | "App Only" | "All";
381
+ date?: string | Date | undefined;
382
+ audio?: {
383
+ audioUrl: string;
384
+ loop?: boolean | undefined;
385
+ } | undefined;
386
+ video?: {
387
+ videoUrl: string;
388
+ loop?: boolean | undefined;
389
+ autoplay?: boolean | undefined;
390
+ disableControls?: boolean | undefined;
391
+ } | undefined;
392
+ author?: string | undefined;
393
+ image?: string | undefined;
394
+ isDraft?: boolean | undefined;
395
+ seekerFriendly?: boolean | undefined;
396
+ 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;
397
+ };
398
+ slug: string;
399
+ }[];
400
+ }>;
@@ -0,0 +1,53 @@
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
+ const webContent_1 = require("./webContent");
9
+ exports.ArticleSchema = zod_1.default.object({
10
+ title: zod_1.default.string(),
11
+ author: zod_1.default.string().optional(),
12
+ category: zod_1.default.enum([
13
+ 'Case Studies',
14
+ 'Discovering God',
15
+ 'Disciple Making Secrets',
16
+ 'Product Updates',
17
+ 'Books',
18
+ 'Films',
19
+ ]),
20
+ image: zod_1.default.string().optional(),
21
+ date: webContent_1.DateSchema,
22
+ isDraft: webContent_1.IsDraftSchema,
23
+ seekerFriendly: webContent_1.SeekerFriendlySchema,
24
+ platform: webContent_1.PlatformSchema,
25
+ audio: webContent_1.AudioSchema,
26
+ video: webContent_1.VideoSchema,
27
+ impactStoryRegion: zod_1.default
28
+ .enum([
29
+ 'North America',
30
+ 'Latin America and the Caribbean',
31
+ 'Middle East/North Africa',
32
+ 'Sub-Saharan Africa',
33
+ 'Western Europe',
34
+ 'Eastern Europe',
35
+ 'Western Asia',
36
+ 'Southern Asia',
37
+ 'Central Asia',
38
+ 'Southeast Asia',
39
+ 'Eastern Asia',
40
+ 'Oceania',
41
+ ])
42
+ .optional()
43
+ .describe('If this article is an impact story that should show up on the dashboard, select the region it is associated with.'),
44
+ });
45
+ exports.ResponseArticleSchema = zod_1.default.object({
46
+ id: zod_1.default.string(),
47
+ data: exports.ArticleSchema,
48
+ body: zod_1.default.string(),
49
+ slug: zod_1.default.string(),
50
+ });
51
+ exports.ArticlesResponseSchema = zod_1.default.object({
52
+ data: zod_1.default.array(exports.ResponseArticleSchema),
53
+ });