waha-shared 1.0.211 → 1.0.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/areas/areas.schema.json +53 -19
- package/dist/data/areas/areas.zod.d.ts +12 -15
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
- package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
- package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
- package/dist/data/bibleAudios/index.d.ts +2 -5
- package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
- package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +26 -27
- package/dist/data/clones/clones.zod.d.ts +24 -2
- package/dist/data/clones/clones.zod.js +1 -1
- package/dist/data/clones/index.d.ts +3 -3
- package/dist/data/countries/countries.schema.json +90 -91
- package/dist/data/countries/countries.zod.d.ts +88 -19
- package/dist/data/countries/countries.zod.js +138 -49
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +37702 -0
- package/dist/data/languageAssets/languageAssets.schema.json +12 -15
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +43 -3
- package/dist/data/languages/index.d.ts +4 -8
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +89 -136
- package/dist/data/languages/languages.zod.d.ts +116 -194
- package/dist/data/languages/languages.zod.js +1 -7
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
- package/dist/data/notification/notification.schema.json +57 -67
- package/dist/data/notification/notification.zod.d.ts +39 -15
- package/dist/data/notification/notification.zod.js +134 -4
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
- package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
- package/dist/data/questions/index.d.ts +1 -1
- package/dist/data/questions/questions.schema.json +11 -11
- package/dist/data/questions/questions.zod.d.ts +14 -6
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +6 -12
- package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
- package/dist/data/scripts/scripts.schema.json +4 -11
- package/dist/data/scripts/scripts.zod.d.ts +7 -1
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +22 -25
- package/dist/data/sets/sets.zod.d.ts +39 -61
- package/dist/data/specialIds/specialIds.schema.json +1 -5
- package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +1 -0
- package/dist/data/translationsApp/translationsApp.schema.json +668 -667
- package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +884 -0
- package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +20694 -11135
- package/dist/data/translationsSet/translationsSet.schema.json +56 -52
- package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +1 -14
- package/dist/types/articles.d.ts +344 -94
- package/dist/types/articles.js +13 -13
- package/dist/types/bibleChapters.d.ts +91 -13
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +41 -3
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +869 -70
- package/dist/types/microLessons.js +29 -29
- package/dist/types/notifications.d.ts +119 -19
- package/dist/types/scripturePassages.d.ts +34 -4
- package/dist/types/users.d.ts +776 -221
- package/dist/types/users.js +1 -2
- package/dist/types/webContent.d.ts +20 -8
- package/package.json +3 -3
|
@@ -1,30 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
+
"required": [
|
|
5
|
+
"$schema",
|
|
6
|
+
"data"
|
|
7
|
+
],
|
|
8
|
+
"additionalProperties": false,
|
|
4
9
|
"properties": {
|
|
5
10
|
"$schema": {
|
|
6
|
-
"type": "string"
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Path to the JSON schema file"
|
|
7
13
|
},
|
|
8
14
|
"data": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
15
|
+
"title": "Question Translations Schema",
|
|
16
|
+
"$id": "questionTranslations.schema.json",
|
|
17
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14
18
|
"additionalProperties": {
|
|
15
|
-
"
|
|
16
|
-
|
|
19
|
+
"additionalProperties": {
|
|
20
|
+
"description": "Question text in the target language",
|
|
17
21
|
"type": "string"
|
|
18
22
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
23
|
+
"propertyNames": {
|
|
24
|
+
"pattern": "^[af]\\.[0-9]{3}$"
|
|
25
|
+
},
|
|
26
|
+
"type": "object"
|
|
27
|
+
},
|
|
28
|
+
"propertyNames": {
|
|
29
|
+
"description": "Language id (3 lowercase letters).",
|
|
30
|
+
"pattern": "^[a-z]{3}$"
|
|
31
|
+
},
|
|
32
|
+
"type": "object"
|
|
24
33
|
}
|
|
25
|
-
}
|
|
26
|
-
"required": [
|
|
27
|
-
"$schema",
|
|
28
|
-
"data"
|
|
29
|
-
]
|
|
34
|
+
}
|
|
30
35
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TranslationsSpokenQuestion = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.TranslationsSpokenQuestion = zod_1.z.record(zod_1.z.
|
|
5
|
+
exports.TranslationsSpokenQuestion = zod_1.z.record(zod_1.z.record(zod_1.z.string().describe('Question text in the target language')));
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
+
"required": ["$schema", "data"],
|
|
4
5
|
"properties": {
|
|
5
6
|
"$schema": {
|
|
6
7
|
"type": "string"
|
|
7
8
|
},
|
|
8
9
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
10
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "string",
|
|
16
13
|
"description": "YouTube playlist ID"
|
|
17
14
|
},
|
|
18
15
|
"description": "Maps language codes to YouTube playlist IDs"
|
|
19
16
|
}
|
|
20
|
-
}
|
|
21
|
-
"required": [
|
|
22
|
-
"$schema",
|
|
23
|
-
"data"
|
|
24
|
-
]
|
|
17
|
+
}
|
|
25
18
|
}
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.YoutubePlaylists = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.YoutubePlaylists = zod_1.z
|
|
6
|
-
.record(zod_1.z.string()
|
|
6
|
+
.record(zod_1.z.string().describe('YouTube playlist ID'))
|
|
7
7
|
.describe('Maps language codes to YouTube playlist IDs');
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
+
"required": ["$schema", "data"],
|
|
4
5
|
"properties": {
|
|
5
6
|
"$schema": {
|
|
6
7
|
"type": "string"
|
|
7
8
|
},
|
|
8
9
|
"data": {
|
|
9
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
10
|
"type": "object",
|
|
11
|
-
"propertyNames": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
11
|
"additionalProperties": {
|
|
15
12
|
"type": "string",
|
|
16
13
|
"description": "YouTube video ID"
|
|
17
14
|
},
|
|
18
15
|
"description": "Maps video file names to YouTube video IDs"
|
|
19
16
|
}
|
|
20
|
-
}
|
|
21
|
-
"required": [
|
|
22
|
-
"$schema",
|
|
23
|
-
"data"
|
|
24
|
-
]
|
|
17
|
+
}
|
|
25
18
|
}
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.YoutubeVideos = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.YoutubeVideos = zod_1.z
|
|
6
|
-
.record(zod_1.z.string()
|
|
6
|
+
.record(zod_1.z.string().describe('YouTube video ID'))
|
|
7
7
|
.describe('Maps video file names to YouTube video IDs');
|
|
@@ -93,19 +93,6 @@ type Misc = {
|
|
|
93
93
|
name: 'AskForReview';
|
|
94
94
|
payload: null;
|
|
95
95
|
};
|
|
96
|
-
type Give = {
|
|
97
|
-
name: 'SeeGiveBanner';
|
|
98
|
-
payload: null;
|
|
99
|
-
} | {
|
|
100
|
-
name: 'ClickGiveBanner';
|
|
101
|
-
payload: null;
|
|
102
|
-
} | {
|
|
103
|
-
name: 'DismissGiveBanner';
|
|
104
|
-
payload: null;
|
|
105
|
-
} | {
|
|
106
|
-
name: 'DonateFromGiveBanner';
|
|
107
|
-
payload: null;
|
|
108
|
-
};
|
|
109
96
|
type Note = {
|
|
110
97
|
name: 'MakeNote';
|
|
111
98
|
payload: null;
|
|
@@ -146,5 +133,5 @@ type Worksheets = {
|
|
|
146
133
|
timeToCompletion: number;
|
|
147
134
|
};
|
|
148
135
|
};
|
|
149
|
-
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets
|
|
136
|
+
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets;
|
|
150
137
|
export {};
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -1,100 +1,214 @@
|
|
|
1
|
-
import z from 'zod
|
|
1
|
+
import z from 'zod';
|
|
2
2
|
export declare const ArticleSchema: z.ZodObject<{
|
|
3
3
|
title: z.ZodString;
|
|
4
4
|
author: z.ZodOptional<z.ZodString>;
|
|
5
|
-
category: z.ZodEnum<
|
|
6
|
-
"Case Studies": "Case Studies";
|
|
7
|
-
"Discovering God": "Discovering God";
|
|
8
|
-
"Disciple Making Secrets": "Disciple Making Secrets";
|
|
9
|
-
"Product Updates": "Product Updates";
|
|
10
|
-
Books: "Books";
|
|
11
|
-
Films: "Films";
|
|
12
|
-
}>;
|
|
5
|
+
category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
|
|
13
6
|
image: z.ZodOptional<z.ZodString>;
|
|
14
|
-
date: z.ZodOptional<z.ZodUnion<
|
|
7
|
+
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
15
8
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
16
9
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
platform: z.ZodEnum<
|
|
18
|
-
"Web Only": "Web Only";
|
|
19
|
-
"App Only": "App Only";
|
|
20
|
-
All: "All";
|
|
21
|
-
}>;
|
|
10
|
+
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
22
11
|
audio: z.ZodOptional<z.ZodObject<{
|
|
23
12
|
audioUrl: z.ZodString;
|
|
24
13
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
}, z.
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
audioUrl: string;
|
|
16
|
+
loop?: boolean | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
audioUrl: string;
|
|
19
|
+
loop?: boolean | undefined;
|
|
20
|
+
}>>;
|
|
26
21
|
video: z.ZodOptional<z.ZodObject<{
|
|
27
22
|
videoUrl: z.ZodString;
|
|
28
23
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
29
24
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
30
25
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
}, z.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"Central Asia": "Central Asia";
|
|
42
|
-
"Southeast Asia": "Southeast Asia";
|
|
43
|
-
"Eastern Asia": "Eastern Asia";
|
|
44
|
-
Oceania: "Oceania";
|
|
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;
|
|
45
36
|
}>>;
|
|
46
|
-
|
|
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
|
+
}>;
|
|
47
79
|
export type Article = z.infer<typeof ArticleSchema>;
|
|
48
80
|
export declare const ResponseArticleSchema: z.ZodObject<{
|
|
49
81
|
id: z.ZodString;
|
|
50
82
|
data: z.ZodObject<{
|
|
51
83
|
title: z.ZodString;
|
|
52
84
|
author: z.ZodOptional<z.ZodString>;
|
|
53
|
-
category: z.ZodEnum<
|
|
54
|
-
"Case Studies": "Case Studies";
|
|
55
|
-
"Discovering God": "Discovering God";
|
|
56
|
-
"Disciple Making Secrets": "Disciple Making Secrets";
|
|
57
|
-
"Product Updates": "Product Updates";
|
|
58
|
-
Books: "Books";
|
|
59
|
-
Films: "Films";
|
|
60
|
-
}>;
|
|
85
|
+
category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
|
|
61
86
|
image: z.ZodOptional<z.ZodString>;
|
|
62
|
-
date: z.ZodOptional<z.ZodUnion<
|
|
87
|
+
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
63
88
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
64
89
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
-
platform: z.ZodEnum<
|
|
66
|
-
"Web Only": "Web Only";
|
|
67
|
-
"App Only": "App Only";
|
|
68
|
-
All: "All";
|
|
69
|
-
}>;
|
|
90
|
+
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
70
91
|
audio: z.ZodOptional<z.ZodObject<{
|
|
71
92
|
audioUrl: z.ZodString;
|
|
72
93
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
}, z.
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
audioUrl: string;
|
|
96
|
+
loop?: boolean | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
audioUrl: string;
|
|
99
|
+
loop?: boolean | undefined;
|
|
100
|
+
}>>;
|
|
74
101
|
video: z.ZodOptional<z.ZodObject<{
|
|
75
102
|
videoUrl: z.ZodString;
|
|
76
103
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
77
104
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
78
105
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
}, z.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"Central Asia": "Central Asia";
|
|
90
|
-
"Southeast Asia": "Southeast Asia";
|
|
91
|
-
"Eastern Asia": "Eastern Asia";
|
|
92
|
-
Oceania: "Oceania";
|
|
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;
|
|
93
116
|
}>>;
|
|
94
|
-
|
|
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
|
+
}>;
|
|
95
159
|
body: z.ZodString;
|
|
96
160
|
slug: z.ZodString;
|
|
97
|
-
}, z.
|
|
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
|
+
}>;
|
|
98
212
|
export type ResponseArticle = z.infer<typeof ResponseArticleSchema>;
|
|
99
213
|
export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
100
214
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -102,49 +216,185 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
102
216
|
data: z.ZodObject<{
|
|
103
217
|
title: z.ZodString;
|
|
104
218
|
author: z.ZodOptional<z.ZodString>;
|
|
105
|
-
category: z.ZodEnum<
|
|
106
|
-
"Case Studies": "Case Studies";
|
|
107
|
-
"Discovering God": "Discovering God";
|
|
108
|
-
"Disciple Making Secrets": "Disciple Making Secrets";
|
|
109
|
-
"Product Updates": "Product Updates";
|
|
110
|
-
Books: "Books";
|
|
111
|
-
Films: "Films";
|
|
112
|
-
}>;
|
|
219
|
+
category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
|
|
113
220
|
image: z.ZodOptional<z.ZodString>;
|
|
114
|
-
date: z.ZodOptional<z.ZodUnion<
|
|
221
|
+
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
115
222
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
116
223
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
-
platform: z.ZodEnum<
|
|
118
|
-
"Web Only": "Web Only";
|
|
119
|
-
"App Only": "App Only";
|
|
120
|
-
All: "All";
|
|
121
|
-
}>;
|
|
224
|
+
platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
|
|
122
225
|
audio: z.ZodOptional<z.ZodObject<{
|
|
123
226
|
audioUrl: z.ZodString;
|
|
124
227
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
-
}, z.
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
audioUrl: string;
|
|
230
|
+
loop?: boolean | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
audioUrl: string;
|
|
233
|
+
loop?: boolean | undefined;
|
|
234
|
+
}>>;
|
|
126
235
|
video: z.ZodOptional<z.ZodObject<{
|
|
127
236
|
videoUrl: z.ZodString;
|
|
128
237
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
129
238
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
130
239
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
}, z.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"Central Asia": "Central Asia";
|
|
142
|
-
"Southeast Asia": "Southeast Asia";
|
|
143
|
-
"Eastern Asia": "Eastern Asia";
|
|
144
|
-
Oceania: "Oceania";
|
|
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;
|
|
145
250
|
}>>;
|
|
146
|
-
|
|
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
|
+
}>;
|
|
147
293
|
body: z.ZodString;
|
|
148
294
|
slug: z.ZodString;
|
|
149
|
-
}, z.
|
|
150
|
-
|
|
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
|
+
}>;
|