waha-shared 1.0.207 → 1.0.209
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 +19 -53
- package/dist/data/areas/areas.zod.d.ts +15 -12
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
- package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
- package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
- package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
- package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
- package/dist/data/bibleAudios/index.d.ts +5 -2
- package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
- package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
- package/dist/data/bibleBooks/index.d.ts +2 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
- package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
- package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
- package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
- package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
- package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
- package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
- package/dist/data/bibleTexts/index.d.ts +3 -3
- package/dist/data/clones/clones.schema.json +27 -26
- package/dist/data/clones/clones.zod.d.ts +2 -24
- 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 +91 -90
- package/dist/data/countries/countries.zod.d.ts +19 -88
- package/dist/data/countries/countries.zod.js +49 -138
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
- package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
- package/dist/data/countriesAndLanguages/index.d.ts +2 -2
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
- package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
- package/dist/data/crowdinLanguages/index.d.ts +1 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
- package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
- package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
- package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
- package/dist/data/languageAssets/languageAssets.json +0 -37702
- package/dist/data/languageAssets/languageAssets.schema.json +15 -12
- package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
- package/dist/data/languageAssets/languageAssets.zod.js +3 -43
- package/dist/data/languages/index.d.ts +8 -4
- package/dist/data/languages/languages.json +1 -1
- package/dist/data/languages/languages.schema.json +136 -89
- package/dist/data/languages/languages.zod.d.ts +194 -116
- package/dist/data/languages/languages.zod.js +7 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
- package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
- package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
- package/dist/data/notification/notification.schema.json +67 -57
- package/dist/data/notification/notification.zod.d.ts +15 -39
- package/dist/data/notification/notification.zod.js +4 -134
- package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
- package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
- package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
- package/dist/data/phoneLanguages/index.d.ts +1 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
- package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
- 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 +6 -14
- package/dist/data/releaseNotes/index.d.ts +1 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
- package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
- package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
- package/dist/data/screenshots/screenshots.schema.json +12 -6
- package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
- package/dist/data/scripts/scripts.schema.json +11 -4
- package/dist/data/scripts/scripts.zod.d.ts +1 -7
- package/dist/data/sets/index.d.ts +2 -2
- package/dist/data/sets/sets.schema.json +25 -22
- package/dist/data/sets/sets.zod.d.ts +61 -39
- package/dist/data/specialIds/specialIds.schema.json +5 -1
- package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
- package/dist/data/translationsApp/index.d.ts +9 -9
- package/dist/data/translationsApp/translationsApp.json +0 -1
- package/dist/data/translationsApp/translationsApp.schema.json +667 -668
- package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
- package/dist/data/translationsApp/translationsApp.zod.js +2 -2
- package/dist/data/translationsFtb/translationsFtb.json +0 -884
- package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
- package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
- package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
- package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
- package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
- package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
- package/dist/data/translationsSet/translationsSet.json +11234 -20793
- package/dist/data/translationsSet/translationsSet.schema.json +52 -56
- package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
- package/dist/data/translationsSet/translationsSet.zod.js +4 -4
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
- package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
- package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
- package/dist/types/analytics.d.ts +14 -1
- package/dist/types/articles.d.ts +93 -343
- package/dist/types/bibleChapters.d.ts +13 -91
- package/dist/types/bibleChapters.js +1 -1
- package/dist/types/feedback.d.ts +3 -41
- package/dist/types/feedback.js +1 -1
- package/dist/types/microLessons.d.ts +69 -868
- package/dist/types/notifications.d.ts +19 -119
- package/dist/types/scripturePassages.d.ts +4 -34
- package/dist/types/users.d.ts +221 -776
- package/dist/types/users.js +2 -1
- package/dist/types/webContent.d.ts +8 -20
- package/package.json +3 -3
|
@@ -1,35 +1,30 @@
|
|
|
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,
|
|
9
4
|
"properties": {
|
|
10
5
|
"$schema": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
"description": "Path to the JSON schema file"
|
|
6
|
+
"type": "string"
|
|
13
7
|
},
|
|
14
8
|
"data": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
|
+
"type": "object",
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
18
14
|
"additionalProperties": {
|
|
19
|
-
"
|
|
20
|
-
"description": "Question text in the target language",
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
15
|
+
"type": "object",
|
|
23
16
|
"propertyNames": {
|
|
24
|
-
"
|
|
17
|
+
"type": "string"
|
|
25
18
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
"type": "object"
|
|
19
|
+
"additionalProperties": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Question text in the target language"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
33
24
|
}
|
|
34
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"$schema",
|
|
28
|
+
"data"
|
|
29
|
+
]
|
|
35
30
|
}
|
|
@@ -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.record(zod_1.z.string().describe('Question text in the target language')));
|
|
5
|
+
exports.TranslationsSpokenQuestion = zod_1.z.record(zod_1.z.string(), zod_1.z.record(zod_1.z.string(), zod_1.z.string().describe('Question text in the target language')));
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
-
"required": ["$schema", "data"],
|
|
5
4
|
"properties": {
|
|
6
5
|
"$schema": {
|
|
7
6
|
"type": "string"
|
|
8
7
|
},
|
|
9
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
10
|
"type": "object",
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "YouTube playlist ID"
|
|
14
17
|
},
|
|
15
18
|
"description": "Maps language codes to YouTube playlist IDs"
|
|
16
19
|
}
|
|
17
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
18
25
|
}
|
|
@@ -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().describe('YouTube playlist ID'))
|
|
6
|
+
.record(zod_1.z.string(), zod_1.z.string().describe('YouTube playlist ID'))
|
|
7
7
|
.describe('Maps language codes to YouTube playlist IDs');
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
-
"required": ["$schema", "data"],
|
|
5
4
|
"properties": {
|
|
6
5
|
"$schema": {
|
|
7
6
|
"type": "string"
|
|
8
7
|
},
|
|
9
8
|
"data": {
|
|
9
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10
10
|
"type": "object",
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "YouTube video ID"
|
|
14
17
|
},
|
|
15
18
|
"description": "Maps video file names to YouTube video IDs"
|
|
16
19
|
}
|
|
17
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"$schema",
|
|
23
|
+
"data"
|
|
24
|
+
]
|
|
18
25
|
}
|
|
@@ -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().describe('YouTube video ID'))
|
|
6
|
+
.record(zod_1.z.string(), zod_1.z.string().describe('YouTube video ID'))
|
|
7
7
|
.describe('Maps video file names to YouTube video IDs');
|
|
@@ -93,6 +93,19 @@ 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
|
+
};
|
|
96
109
|
type Note = {
|
|
97
110
|
name: 'MakeNote';
|
|
98
111
|
payload: null;
|
|
@@ -133,5 +146,5 @@ type Worksheets = {
|
|
|
133
146
|
timeToCompletion: number;
|
|
134
147
|
};
|
|
135
148
|
};
|
|
136
|
-
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets;
|
|
149
|
+
export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets | Give;
|
|
137
150
|
export {};
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -2,213 +2,99 @@ 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<
|
|
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
|
+
}>;
|
|
6
13
|
image: z.ZodOptional<z.ZodString>;
|
|
7
|
-
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
14
|
+
date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
|
|
8
15
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
9
16
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
platform: z.ZodEnum<
|
|
17
|
+
platform: z.ZodEnum<{
|
|
18
|
+
"Web Only": "Web Only";
|
|
19
|
+
"App Only": "App Only";
|
|
20
|
+
All: "All";
|
|
21
|
+
}>;
|
|
11
22
|
audio: z.ZodOptional<z.ZodObject<{
|
|
12
23
|
audioUrl: z.ZodString;
|
|
13
24
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
},
|
|
15
|
-
audioUrl: string;
|
|
16
|
-
loop?: boolean | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
audioUrl: string;
|
|
19
|
-
loop?: boolean | undefined;
|
|
20
|
-
}>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
21
26
|
video: z.ZodOptional<z.ZodObject<{
|
|
22
27
|
videoUrl: z.ZodString;
|
|
23
28
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
24
29
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
25
30
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
"North America": "North America";
|
|
34
|
+
"Latin America and the Caribbean": "Latin America and the Caribbean";
|
|
35
|
+
"Middle East/North Africa": "Middle East/North Africa";
|
|
36
|
+
"Sub-Saharan Africa": "Sub-Saharan Africa";
|
|
37
|
+
"Western Europe": "Western Europe";
|
|
38
|
+
"Eastern Europe": "Eastern Europe";
|
|
39
|
+
"Western Asia": "Western Asia";
|
|
40
|
+
"Southern Asia": "Southern Asia";
|
|
41
|
+
"Central Asia": "Central Asia";
|
|
42
|
+
"Southeast Asia": "Southeast Asia";
|
|
43
|
+
"Eastern Asia": "Eastern Asia";
|
|
44
|
+
Oceania: "Oceania";
|
|
36
45
|
}>>;
|
|
37
|
-
|
|
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
|
-
}>;
|
|
46
|
+
}, z.core.$strip>;
|
|
79
47
|
export type Article = z.infer<typeof ArticleSchema>;
|
|
80
48
|
export declare const ResponseArticleSchema: z.ZodObject<{
|
|
81
49
|
id: z.ZodString;
|
|
82
50
|
data: z.ZodObject<{
|
|
83
51
|
title: z.ZodString;
|
|
84
52
|
author: z.ZodOptional<z.ZodString>;
|
|
85
|
-
category: z.ZodEnum<
|
|
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
|
+
}>;
|
|
86
61
|
image: z.ZodOptional<z.ZodString>;
|
|
87
|
-
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
62
|
+
date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
|
|
88
63
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
89
64
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
platform: z.ZodEnum<
|
|
65
|
+
platform: z.ZodEnum<{
|
|
66
|
+
"Web Only": "Web Only";
|
|
67
|
+
"App Only": "App Only";
|
|
68
|
+
All: "All";
|
|
69
|
+
}>;
|
|
91
70
|
audio: z.ZodOptional<z.ZodObject<{
|
|
92
71
|
audioUrl: z.ZodString;
|
|
93
72
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
-
},
|
|
95
|
-
audioUrl: string;
|
|
96
|
-
loop?: boolean | undefined;
|
|
97
|
-
}, {
|
|
98
|
-
audioUrl: string;
|
|
99
|
-
loop?: boolean | undefined;
|
|
100
|
-
}>>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
101
74
|
video: z.ZodOptional<z.ZodObject<{
|
|
102
75
|
videoUrl: z.ZodString;
|
|
103
76
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
104
77
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
105
78
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
"North America": "North America";
|
|
82
|
+
"Latin America and the Caribbean": "Latin America and the Caribbean";
|
|
83
|
+
"Middle East/North Africa": "Middle East/North Africa";
|
|
84
|
+
"Sub-Saharan Africa": "Sub-Saharan Africa";
|
|
85
|
+
"Western Europe": "Western Europe";
|
|
86
|
+
"Eastern Europe": "Eastern Europe";
|
|
87
|
+
"Western Asia": "Western Asia";
|
|
88
|
+
"Southern Asia": "Southern Asia";
|
|
89
|
+
"Central Asia": "Central Asia";
|
|
90
|
+
"Southeast Asia": "Southeast Asia";
|
|
91
|
+
"Eastern Asia": "Eastern Asia";
|
|
92
|
+
Oceania: "Oceania";
|
|
116
93
|
}>>;
|
|
117
|
-
|
|
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
|
-
}>;
|
|
94
|
+
}, z.core.$strip>;
|
|
159
95
|
body: z.ZodString;
|
|
160
96
|
slug: z.ZodString;
|
|
161
|
-
},
|
|
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
|
-
}>;
|
|
97
|
+
}, z.core.$strip>;
|
|
212
98
|
export type ResponseArticle = z.infer<typeof ResponseArticleSchema>;
|
|
213
99
|
export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
214
100
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -216,185 +102,49 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
216
102
|
data: z.ZodObject<{
|
|
217
103
|
title: z.ZodString;
|
|
218
104
|
author: z.ZodOptional<z.ZodString>;
|
|
219
|
-
category: z.ZodEnum<
|
|
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
|
+
}>;
|
|
220
113
|
image: z.ZodOptional<z.ZodString>;
|
|
221
|
-
date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
114
|
+
date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
|
|
222
115
|
isDraft: z.ZodOptional<z.ZodBoolean>;
|
|
223
116
|
seekerFriendly: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
-
platform: z.ZodEnum<
|
|
117
|
+
platform: z.ZodEnum<{
|
|
118
|
+
"Web Only": "Web Only";
|
|
119
|
+
"App Only": "App Only";
|
|
120
|
+
All: "All";
|
|
121
|
+
}>;
|
|
225
122
|
audio: z.ZodOptional<z.ZodObject<{
|
|
226
123
|
audioUrl: z.ZodString;
|
|
227
124
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
-
},
|
|
229
|
-
audioUrl: string;
|
|
230
|
-
loop?: boolean | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
audioUrl: string;
|
|
233
|
-
loop?: boolean | undefined;
|
|
234
|
-
}>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
235
126
|
video: z.ZodOptional<z.ZodObject<{
|
|
236
127
|
videoUrl: z.ZodString;
|
|
237
128
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
238
129
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
239
130
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
},
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
"North America": "North America";
|
|
134
|
+
"Latin America and the Caribbean": "Latin America and the Caribbean";
|
|
135
|
+
"Middle East/North Africa": "Middle East/North Africa";
|
|
136
|
+
"Sub-Saharan Africa": "Sub-Saharan Africa";
|
|
137
|
+
"Western Europe": "Western Europe";
|
|
138
|
+
"Eastern Europe": "Eastern Europe";
|
|
139
|
+
"Western Asia": "Western Asia";
|
|
140
|
+
"Southern Asia": "Southern Asia";
|
|
141
|
+
"Central Asia": "Central Asia";
|
|
142
|
+
"Southeast Asia": "Southeast Asia";
|
|
143
|
+
"Eastern Asia": "Eastern Asia";
|
|
144
|
+
Oceania: "Oceania";
|
|
250
145
|
}>>;
|
|
251
|
-
|
|
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
|
-
}>;
|
|
146
|
+
}, z.core.$strip>;
|
|
293
147
|
body: z.ZodString;
|
|
294
148
|
slug: z.ZodString;
|
|
295
|
-
},
|
|
296
|
-
|
|
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
|
-
}>;
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
|
+
}, z.core.$strip>;
|