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
|
@@ -6,26 +6,24 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
6
6
|
bcpLanguageId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
bible: z.ZodOptional<z.ZodString>;
|
|
8
8
|
bibleFallback: z.ZodOptional<z.ZodString>;
|
|
9
|
-
countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
countries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10
10
|
crowdinId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
curriculum: z.ZodObject<{
|
|
12
12
|
foundations: z.ZodString;
|
|
13
13
|
questions: z.ZodString;
|
|
14
|
-
topics: z.ZodUnion<
|
|
15
|
-
}, z.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
topics: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
15
|
+
}, "strict", z.ZodTypeAny, {
|
|
16
|
+
questions: string;
|
|
17
|
+
foundations: string;
|
|
18
|
+
topics: string | null;
|
|
19
|
+
}, {
|
|
20
|
+
questions: string;
|
|
21
|
+
foundations: string;
|
|
22
|
+
topics: string | null;
|
|
21
23
|
}>;
|
|
24
|
+
dmCourseStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
|
|
22
25
|
endonym: z.ZodOptional<z.ZodString>;
|
|
23
|
-
gdmcStatus: z.ZodEnum<
|
|
24
|
-
notStarted: "notStarted";
|
|
25
|
-
inProgress: "inProgress";
|
|
26
|
-
testing: "testing";
|
|
27
|
-
launched: "launched";
|
|
28
|
-
}>;
|
|
26
|
+
gdmcStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
|
|
29
27
|
givingId: z.ZodOptional<z.ZodString>;
|
|
30
28
|
hideDonateButton: z.ZodOptional<z.ZodBoolean>;
|
|
31
29
|
introBridge: z.ZodOptional<z.ZodString>;
|
|
@@ -33,194 +31,118 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
|
|
|
33
31
|
mmsLanguageId: z.ZodOptional<z.ZodString>;
|
|
34
32
|
notes: z.ZodOptional<z.ZodString>;
|
|
35
33
|
pm: z.ZodOptional<z.ZodString>;
|
|
36
|
-
questionSource: z.ZodEnum<
|
|
37
|
-
|
|
38
|
-
recorded: "recorded";
|
|
39
|
-
mms: "mms";
|
|
40
|
-
elevenLabs: "elevenLabs";
|
|
41
|
-
}>;
|
|
42
|
-
script: z.ZodEnum<{
|
|
43
|
-
arabic: "arabic";
|
|
44
|
-
bengali: "bengali";
|
|
45
|
-
burmese: "burmese";
|
|
46
|
-
chinese: "chinese";
|
|
47
|
-
cyrillic: "cyrillic";
|
|
48
|
-
devanagari: "devanagari";
|
|
49
|
-
geez: "geez";
|
|
50
|
-
georgian: "georgian";
|
|
51
|
-
greek: "greek";
|
|
52
|
-
gujarati: "gujarati";
|
|
53
|
-
gurmukhi: "gurmukhi";
|
|
54
|
-
hebrew: "hebrew";
|
|
55
|
-
japanese: "japanese";
|
|
56
|
-
kannada: "kannada";
|
|
57
|
-
khmer: "khmer";
|
|
58
|
-
korean: "korean";
|
|
59
|
-
latin: "latin";
|
|
60
|
-
malayalam: "malayalam";
|
|
61
|
-
tamil: "tamil";
|
|
62
|
-
telugu: "telugu";
|
|
63
|
-
thai: "thai";
|
|
64
|
-
uyghur: "uyghur";
|
|
65
|
-
}>;
|
|
34
|
+
questionSource: z.ZodEnum<["recorded", "mms", "elevenLabs", "unknown"]>;
|
|
35
|
+
script: z.ZodEnum<["arabic", "bengali", "burmese", "chinese", "cyrillic", "devanagari", "geez", "georgian", "greek", "gujarati", "gurmukhi", "hebrew", "japanese", "kannada", "khmer", "korean", "latin", "malayalam", "tamil", "telugu", "thai", "uyghur"]>;
|
|
66
36
|
speakersPrimary: z.ZodOptional<z.ZodNumber>;
|
|
67
37
|
speakersSecondary: z.ZodOptional<z.ZodNumber>;
|
|
68
38
|
speakersTotal: z.ZodOptional<z.ZodNumber>;
|
|
69
|
-
specialThanks: z.ZodOptional<z.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
status: z.ZodEnum<{
|
|
75
|
-
notStarted: "notStarted";
|
|
76
|
-
inProgress: "inProgress";
|
|
77
|
-
testing: "testing";
|
|
78
|
-
launched: "launched";
|
|
79
|
-
}>;
|
|
80
|
-
storeIdAndroid: z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
id: "id";
|
|
82
|
-
sw: "sw";
|
|
83
|
-
af: "af";
|
|
84
|
-
sq: "sq";
|
|
85
|
-
am: "am";
|
|
86
|
-
ar: "ar";
|
|
87
|
-
"hy-AM": "hy-AM";
|
|
88
|
-
"az-AZ": "az-AZ";
|
|
89
|
-
"bn-BD": "bn-BD";
|
|
90
|
-
"eu-ES": "eu-ES";
|
|
91
|
-
be: "be";
|
|
92
|
-
bg: "bg";
|
|
93
|
-
"my-MM": "my-MM";
|
|
94
|
-
ca: "ca";
|
|
95
|
-
"zh-HK": "zh-HK";
|
|
96
|
-
"zh-CN": "zh-CN";
|
|
97
|
-
"zh-TW": "zh-TW";
|
|
98
|
-
hr: "hr";
|
|
99
|
-
"cs-CZ": "cs-CZ";
|
|
100
|
-
"da-DK": "da-DK";
|
|
101
|
-
"nl-NL": "nl-NL";
|
|
102
|
-
"en-AU": "en-AU";
|
|
103
|
-
"en-CA": "en-CA";
|
|
104
|
-
"en-GB": "en-GB";
|
|
105
|
-
"en-IN": "en-IN";
|
|
106
|
-
"en-SG": "en-SG";
|
|
107
|
-
"en-US": "en-US";
|
|
108
|
-
"en-ZA": "en-ZA";
|
|
109
|
-
et: "et";
|
|
110
|
-
fil: "fil";
|
|
111
|
-
"fi-FI": "fi-FI";
|
|
112
|
-
"fr-CA": "fr-CA";
|
|
113
|
-
"fr-FR": "fr-FR";
|
|
114
|
-
"gl-ES": "gl-ES";
|
|
115
|
-
"ka-GE": "ka-GE";
|
|
116
|
-
"de-DE": "de-DE";
|
|
117
|
-
"el-GR": "el-GR";
|
|
118
|
-
gu: "gu";
|
|
119
|
-
"iw-IL": "iw-IL";
|
|
120
|
-
"hi-IN": "hi-IN";
|
|
121
|
-
"hu-HU": "hu-HU";
|
|
122
|
-
"is-IS": "is-IS";
|
|
123
|
-
"it-IT": "it-IT";
|
|
124
|
-
"ja-JP": "ja-JP";
|
|
125
|
-
"kn-IN": "kn-IN";
|
|
126
|
-
kk: "kk";
|
|
127
|
-
"km-KH": "km-KH";
|
|
128
|
-
"ko-KR": "ko-KR";
|
|
129
|
-
"ky-KG": "ky-KG";
|
|
130
|
-
"lo-LA": "lo-LA";
|
|
131
|
-
lv: "lv";
|
|
132
|
-
lt: "lt";
|
|
133
|
-
"mk-MK": "mk-MK";
|
|
134
|
-
"ms-MY": "ms-MY";
|
|
135
|
-
ms: "ms";
|
|
136
|
-
"ml-IN": "ml-IN";
|
|
137
|
-
"mr-IN": "mr-IN";
|
|
138
|
-
"mn-MN": "mn-MN";
|
|
139
|
-
"ne-NP": "ne-NP";
|
|
140
|
-
"no-NO": "no-NO";
|
|
141
|
-
fa: "fa";
|
|
142
|
-
"fa-AE": "fa-AE";
|
|
143
|
-
"fa-AF": "fa-AF";
|
|
144
|
-
"fa-IR": "fa-IR";
|
|
145
|
-
"pl-PL": "pl-PL";
|
|
146
|
-
"pt-BR": "pt-BR";
|
|
147
|
-
"pt-PT": "pt-PT";
|
|
148
|
-
pa: "pa";
|
|
149
|
-
ro: "ro";
|
|
150
|
-
rm: "rm";
|
|
151
|
-
"ru-RU": "ru-RU";
|
|
152
|
-
sr: "sr";
|
|
153
|
-
"si-LK": "si-LK";
|
|
154
|
-
sk: "sk";
|
|
155
|
-
sl: "sl";
|
|
156
|
-
"es-419": "es-419";
|
|
157
|
-
"es-ES": "es-ES";
|
|
158
|
-
"es-US": "es-US";
|
|
159
|
-
"sv-SE": "sv-SE";
|
|
160
|
-
"ta-IN": "ta-IN";
|
|
161
|
-
"te-IN": "te-IN";
|
|
162
|
-
th: "th";
|
|
163
|
-
"tr-TR": "tr-TR";
|
|
164
|
-
uk: "uk";
|
|
165
|
-
ur: "ur";
|
|
166
|
-
vi: "vi";
|
|
167
|
-
zu: "zu";
|
|
168
|
-
}>>;
|
|
169
|
-
storeIdIos: z.ZodOptional<z.ZodEnum<{
|
|
170
|
-
id: "id";
|
|
171
|
-
ca: "ca";
|
|
172
|
-
hr: "hr";
|
|
173
|
-
"nl-NL": "nl-NL";
|
|
174
|
-
"en-AU": "en-AU";
|
|
175
|
-
"en-CA": "en-CA";
|
|
176
|
-
"en-GB": "en-GB";
|
|
177
|
-
"en-US": "en-US";
|
|
178
|
-
"fr-CA": "fr-CA";
|
|
179
|
-
"fr-FR": "fr-FR";
|
|
180
|
-
"de-DE": "de-DE";
|
|
181
|
-
ms: "ms";
|
|
182
|
-
"pt-BR": "pt-BR";
|
|
183
|
-
"pt-PT": "pt-PT";
|
|
184
|
-
ro: "ro";
|
|
185
|
-
sk: "sk";
|
|
186
|
-
"es-ES": "es-ES";
|
|
187
|
-
th: "th";
|
|
188
|
-
uk: "uk";
|
|
189
|
-
vi: "vi";
|
|
190
|
-
"ar-SA": "ar-SA";
|
|
191
|
-
cs: "cs";
|
|
192
|
-
da: "da";
|
|
193
|
-
el: "el";
|
|
194
|
-
"es-MX": "es-MX";
|
|
195
|
-
fi: "fi";
|
|
196
|
-
he: "he";
|
|
197
|
-
hi: "hi";
|
|
198
|
-
hu: "hu";
|
|
199
|
-
it: "it";
|
|
200
|
-
ja: "ja";
|
|
201
|
-
ko: "ko";
|
|
202
|
-
no: "no";
|
|
203
|
-
pl: "pl";
|
|
204
|
-
ru: "ru";
|
|
205
|
-
sv: "sv";
|
|
206
|
-
tr: "tr";
|
|
207
|
-
"zh-Hans": "zh-Hans";
|
|
208
|
-
"zh-Hant": "zh-Hant";
|
|
209
|
-
}>>;
|
|
39
|
+
specialThanks: z.ZodOptional<z.ZodAny>;
|
|
40
|
+
status: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
|
|
41
|
+
storeIdAndroid: z.ZodOptional<z.ZodEnum<["af", "sq", "am", "ar", "hy-AM", "az-AZ", "bn-BD", "eu-ES", "be", "bg", "my-MM", "ca", "zh-HK", "zh-CN", "zh-TW", "hr", "cs-CZ", "da-DK", "nl-NL", "en-AU", "en-CA", "en-GB", "en-IN", "en-SG", "en-US", "en-ZA", "et", "fil", "fi-FI", "fr-CA", "fr-FR", "gl-ES", "ka-GE", "de-DE", "el-GR", "gu", "iw-IL", "hi-IN", "hu-HU", "is-IS", "id", "it-IT", "ja-JP", "kn-IN", "kk", "km-KH", "ko-KR", "ky-KG", "lo-LA", "lv", "lt", "mk-MK", "ms-MY", "ms", "ml-IN", "mr-IN", "mn-MN", "ne-NP", "no-NO", "fa", "fa-AE", "fa-AF", "fa-IR", "pl-PL", "pt-BR", "pt-PT", "pa", "ro", "rm", "ru-RU", "sr", "si-LK", "sk", "sl", "es-419", "es-ES", "es-US", "sw", "sv-SE", "ta-IN", "te-IN", "th", "tr-TR", "uk", "ur", "vi", "zu"]>>;
|
|
42
|
+
storeIdIos: z.ZodOptional<z.ZodEnum<["ar-SA", "ca", "cs", "da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "he", "hi", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl-NL", "no", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant"]>>;
|
|
210
43
|
supportsSolarSpeakers: z.ZodOptional<z.ZodBoolean>;
|
|
211
44
|
titles: z.ZodOptional<z.ZodString>;
|
|
212
|
-
unsupportedDbsSets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
+
unsupportedDbsSets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
213
46
|
uuid: z.ZodString;
|
|
214
47
|
videoBridgeLanguage: z.ZodOptional<z.ZodString>;
|
|
215
48
|
web: z.ZodOptional<z.ZodObject<{
|
|
216
49
|
name: z.ZodString;
|
|
217
50
|
code: z.ZodString;
|
|
218
|
-
status: z.ZodEnum<
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
51
|
+
status: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
|
|
52
|
+
}, "strict", z.ZodTypeAny, {
|
|
53
|
+
name: string;
|
|
54
|
+
code: string;
|
|
55
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
56
|
+
}, {
|
|
57
|
+
name: string;
|
|
58
|
+
code: string;
|
|
59
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
60
|
+
}>>;
|
|
61
|
+
}, "strict", z.ZodTypeAny, {
|
|
62
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
63
|
+
languageId: string;
|
|
64
|
+
exonym: string;
|
|
65
|
+
appInterface: boolean;
|
|
66
|
+
curriculum: {
|
|
67
|
+
questions: string;
|
|
68
|
+
foundations: string;
|
|
69
|
+
topics: string | null;
|
|
70
|
+
};
|
|
71
|
+
dmCourseStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
72
|
+
gdmcStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
73
|
+
questionSource: "unknown" | "recorded" | "mms" | "elevenLabs";
|
|
74
|
+
script: "arabic" | "bengali" | "burmese" | "chinese" | "cyrillic" | "devanagari" | "geez" | "georgian" | "greek" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "malayalam" | "tamil" | "telugu" | "thai" | "uyghur";
|
|
75
|
+
uuid: string;
|
|
76
|
+
bible?: string | undefined;
|
|
77
|
+
bcpLanguageId?: string | undefined;
|
|
78
|
+
bibleFallback?: string | undefined;
|
|
79
|
+
countries?: string[] | undefined;
|
|
80
|
+
crowdinId?: string | undefined;
|
|
81
|
+
endonym?: string | undefined;
|
|
82
|
+
givingId?: string | undefined;
|
|
83
|
+
hideDonateButton?: boolean | undefined;
|
|
84
|
+
introBridge?: string | undefined;
|
|
85
|
+
likelyAppInterfacePair?: string | undefined;
|
|
86
|
+
mmsLanguageId?: string | undefined;
|
|
87
|
+
notes?: string | undefined;
|
|
88
|
+
pm?: string | undefined;
|
|
89
|
+
speakersPrimary?: number | undefined;
|
|
90
|
+
speakersSecondary?: number | undefined;
|
|
91
|
+
speakersTotal?: number | undefined;
|
|
92
|
+
specialThanks?: any;
|
|
93
|
+
storeIdAndroid?: "id" | "sw" | "af" | "sq" | "am" | "ar" | "hy-AM" | "az-AZ" | "bn-BD" | "eu-ES" | "be" | "bg" | "my-MM" | "ca" | "zh-HK" | "zh-CN" | "zh-TW" | "hr" | "cs-CZ" | "da-DK" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-SG" | "en-US" | "en-ZA" | "et" | "fil" | "fi-FI" | "fr-CA" | "fr-FR" | "gl-ES" | "ka-GE" | "de-DE" | "el-GR" | "gu" | "iw-IL" | "hi-IN" | "hu-HU" | "is-IS" | "it-IT" | "ja-JP" | "kn-IN" | "kk" | "km-KH" | "ko-KR" | "ky-KG" | "lo-LA" | "lv" | "lt" | "mk-MK" | "ms-MY" | "ms" | "ml-IN" | "mr-IN" | "mn-MN" | "ne-NP" | "no-NO" | "fa" | "fa-AE" | "fa-AF" | "fa-IR" | "pl-PL" | "pt-BR" | "pt-PT" | "pa" | "ro" | "rm" | "ru-RU" | "sr" | "si-LK" | "sk" | "sl" | "es-419" | "es-ES" | "es-US" | "sv-SE" | "ta-IN" | "te-IN" | "th" | "tr-TR" | "uk" | "ur" | "vi" | "zu" | undefined;
|
|
94
|
+
storeIdIos?: "id" | "ca" | "hr" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "ms" | "pt-BR" | "pt-PT" | "ro" | "sk" | "es-ES" | "th" | "uk" | "vi" | "ar-SA" | "cs" | "da" | "el" | "es-MX" | "fi" | "he" | "hi" | "hu" | "it" | "ja" | "ko" | "no" | "pl" | "ru" | "sv" | "tr" | "zh-Hans" | "zh-Hant" | undefined;
|
|
95
|
+
supportsSolarSpeakers?: boolean | undefined;
|
|
96
|
+
titles?: string | undefined;
|
|
97
|
+
unsupportedDbsSets?: string[] | undefined;
|
|
98
|
+
videoBridgeLanguage?: string | undefined;
|
|
99
|
+
web?: {
|
|
100
|
+
name: string;
|
|
101
|
+
code: string;
|
|
102
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
103
|
+
} | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
106
|
+
languageId: string;
|
|
107
|
+
exonym: string;
|
|
108
|
+
appInterface: boolean;
|
|
109
|
+
curriculum: {
|
|
110
|
+
questions: string;
|
|
111
|
+
foundations: string;
|
|
112
|
+
topics: string | null;
|
|
113
|
+
};
|
|
114
|
+
dmCourseStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
115
|
+
gdmcStatus: "notStarted" | "inProgress" | "testing" | "launched";
|
|
116
|
+
questionSource: "unknown" | "recorded" | "mms" | "elevenLabs";
|
|
117
|
+
script: "arabic" | "bengali" | "burmese" | "chinese" | "cyrillic" | "devanagari" | "geez" | "georgian" | "greek" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "malayalam" | "tamil" | "telugu" | "thai" | "uyghur";
|
|
118
|
+
uuid: string;
|
|
119
|
+
bible?: string | undefined;
|
|
120
|
+
bcpLanguageId?: string | undefined;
|
|
121
|
+
bibleFallback?: string | undefined;
|
|
122
|
+
countries?: string[] | undefined;
|
|
123
|
+
crowdinId?: string | undefined;
|
|
124
|
+
endonym?: string | undefined;
|
|
125
|
+
givingId?: string | undefined;
|
|
126
|
+
hideDonateButton?: boolean | undefined;
|
|
127
|
+
introBridge?: string | undefined;
|
|
128
|
+
likelyAppInterfacePair?: string | undefined;
|
|
129
|
+
mmsLanguageId?: string | undefined;
|
|
130
|
+
notes?: string | undefined;
|
|
131
|
+
pm?: string | undefined;
|
|
132
|
+
speakersPrimary?: number | undefined;
|
|
133
|
+
speakersSecondary?: number | undefined;
|
|
134
|
+
speakersTotal?: number | undefined;
|
|
135
|
+
specialThanks?: any;
|
|
136
|
+
storeIdAndroid?: "id" | "sw" | "af" | "sq" | "am" | "ar" | "hy-AM" | "az-AZ" | "bn-BD" | "eu-ES" | "be" | "bg" | "my-MM" | "ca" | "zh-HK" | "zh-CN" | "zh-TW" | "hr" | "cs-CZ" | "da-DK" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-SG" | "en-US" | "en-ZA" | "et" | "fil" | "fi-FI" | "fr-CA" | "fr-FR" | "gl-ES" | "ka-GE" | "de-DE" | "el-GR" | "gu" | "iw-IL" | "hi-IN" | "hu-HU" | "is-IS" | "it-IT" | "ja-JP" | "kn-IN" | "kk" | "km-KH" | "ko-KR" | "ky-KG" | "lo-LA" | "lv" | "lt" | "mk-MK" | "ms-MY" | "ms" | "ml-IN" | "mr-IN" | "mn-MN" | "ne-NP" | "no-NO" | "fa" | "fa-AE" | "fa-AF" | "fa-IR" | "pl-PL" | "pt-BR" | "pt-PT" | "pa" | "ro" | "rm" | "ru-RU" | "sr" | "si-LK" | "sk" | "sl" | "es-419" | "es-ES" | "es-US" | "sv-SE" | "ta-IN" | "te-IN" | "th" | "tr-TR" | "uk" | "ur" | "vi" | "zu" | undefined;
|
|
137
|
+
storeIdIos?: "id" | "ca" | "hr" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "ms" | "pt-BR" | "pt-PT" | "ro" | "sk" | "es-ES" | "th" | "uk" | "vi" | "ar-SA" | "cs" | "da" | "el" | "es-MX" | "fi" | "he" | "hi" | "hu" | "it" | "ja" | "ko" | "no" | "pl" | "ru" | "sv" | "tr" | "zh-Hans" | "zh-Hant" | undefined;
|
|
138
|
+
supportsSolarSpeakers?: boolean | undefined;
|
|
139
|
+
titles?: string | undefined;
|
|
140
|
+
unsupportedDbsSets?: string[] | undefined;
|
|
141
|
+
videoBridgeLanguage?: string | undefined;
|
|
142
|
+
web?: {
|
|
143
|
+
name: string;
|
|
144
|
+
code: string;
|
|
145
|
+
status: "notStarted" | "inProgress" | "testing" | "launched";
|
|
146
|
+
} | undefined;
|
|
147
|
+
}>, "many">;
|
|
226
148
|
export type Languages = z.infer<typeof Languages>;
|
|
@@ -125,13 +125,7 @@ exports.Languages = zod_1.z.array(zod_1.z
|
|
|
125
125
|
.number()
|
|
126
126
|
.describe('The total number of speakers of this language worldwide.')
|
|
127
127
|
.optional(),
|
|
128
|
-
specialThanks: zod_1.z
|
|
129
|
-
.object({
|
|
130
|
-
imageUrl: zod_1.z.string().optional(),
|
|
131
|
-
text: zod_1.z.string(),
|
|
132
|
-
url: zod_1.z.string().optional(),
|
|
133
|
-
})
|
|
134
|
-
.optional(),
|
|
128
|
+
specialThanks: zod_1.z.any().optional(),
|
|
135
129
|
status: zod_1.z
|
|
136
130
|
.enum(['notStarted', 'inProgress', 'testing', 'launched'])
|
|
137
131
|
.describe("The overall status of this language. Determines whether or not the language will show up in the app. Only language's marked `launched` will be selectable in Waha."),
|
|
@@ -6,29 +6,22 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"
|
|
9
|
+
"title": "Media Durations",
|
|
10
|
+
"description": "Schema for media duration data organized by language code",
|
|
10
11
|
"type": "object",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
12
|
+
"patternProperties": {
|
|
13
|
+
"^[a-z]{3}$": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"description": "Language code (3-letter ISO code) containing media file durations",
|
|
16
|
+
"additionalProperties": {
|
|
17
|
+
"type": "number",
|
|
18
|
+
"minimum": 0,
|
|
19
|
+
"description": "Duration of file"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
14
22
|
},
|
|
15
|
-
"additionalProperties":
|
|
16
|
-
"type": "object",
|
|
17
|
-
"propertyNames": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"additionalProperties": {
|
|
21
|
-
"type": "number",
|
|
22
|
-
"minimum": 0,
|
|
23
|
-
"description": "Duration of file"
|
|
24
|
-
},
|
|
25
|
-
"description": "Language code (3-letter ISO code) containing media file durations"
|
|
26
|
-
},
|
|
27
|
-
"description": "Schema for media duration data organized by language code"
|
|
23
|
+
"additionalProperties": false
|
|
28
24
|
}
|
|
29
25
|
},
|
|
30
|
-
"required": [
|
|
31
|
-
"$schema",
|
|
32
|
-
"data"
|
|
33
|
-
]
|
|
26
|
+
"required": ["$schema", "data"]
|
|
34
27
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const MediaDurations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber
|
|
2
|
+
export declare const MediaDurations: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodNumber>, z.ZodNever]>>, Record<string, Record<string, number>>, Record<string, Record<string, number>>>;
|
|
3
3
|
export type MediaDurations = z.infer<typeof MediaDurations>;
|
|
@@ -3,7 +3,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MediaDurations = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.MediaDurations = zod_1.z
|
|
6
|
-
.record(zod_1.z.
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
.record(zod_1.z.union([
|
|
7
|
+
zod_1.z
|
|
8
|
+
.record(zod_1.z.number().gte(0).describe('Duration of file'))
|
|
9
|
+
.describe('Language code (3-letter ISO code) containing media file durations'),
|
|
10
|
+
zod_1.z.never(),
|
|
11
|
+
]))
|
|
12
|
+
.superRefine((value, ctx) => {
|
|
13
|
+
for (const key in value) {
|
|
14
|
+
let evaluated = false;
|
|
15
|
+
if (key.match(new RegExp('^[a-z]{3}$'))) {
|
|
16
|
+
evaluated = true;
|
|
17
|
+
const result = zod_1.z
|
|
18
|
+
.record(zod_1.z.number().gte(0).describe('Duration of file'))
|
|
19
|
+
.describe('Language code (3-letter ISO code) containing media file durations')
|
|
20
|
+
.safeParse(value[key]);
|
|
21
|
+
if (!result.success) {
|
|
22
|
+
ctx.addIssue({
|
|
23
|
+
path: [...ctx.path, key],
|
|
24
|
+
code: 'custom',
|
|
25
|
+
message: `Invalid input: Key matching regex /${key}/ must match schema`,
|
|
26
|
+
params: {
|
|
27
|
+
issues: result.error.issues,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
if (!evaluated) {
|
|
33
|
+
const result = zod_1.z.never().safeParse(value[key]);
|
|
34
|
+
if (!result.success) {
|
|
35
|
+
ctx.addIssue({
|
|
36
|
+
path: [...ctx.path, key],
|
|
37
|
+
code: 'custom',
|
|
38
|
+
message: `Invalid input: must match catchall schema`,
|
|
39
|
+
params: {
|
|
40
|
+
issues: result.error.issues,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
})
|
|
9
47
|
.describe('Schema for media duration data organized by language code');
|
|
@@ -6,126 +6,116 @@
|
|
|
6
6
|
"type": "string"
|
|
7
7
|
},
|
|
8
8
|
"data": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"not": {
|
|
11
|
+
"allOf": [
|
|
12
|
+
{
|
|
13
|
+
"required": ["countriesToSendTo"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"required": ["countriesToNotSendTo"]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
11
20
|
"properties": {
|
|
12
21
|
"title": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"patternProperties": {
|
|
24
|
+
"^[a-z]{3}$": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
17
27
|
},
|
|
18
|
-
"
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
28
|
+
"type": "object"
|
|
21
29
|
},
|
|
22
30
|
"body": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"patternProperties": {
|
|
33
|
+
"^[a-z]{3}$": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
}
|
|
27
36
|
},
|
|
28
|
-
"
|
|
29
|
-
"type": "string"
|
|
30
|
-
}
|
|
37
|
+
"type": "object"
|
|
31
38
|
},
|
|
32
39
|
"actionUrl": {
|
|
33
|
-
"
|
|
34
|
-
"pattern": "^(https
|
|
35
|
-
"
|
|
40
|
+
"description": "Where to navigate to when a user clicks the CTA. If a waha web url is given, the link will navigate to a screen in the app. If not, it will open an in-app browser.\n@example\n// Would navigate to the English DM course in the app.\n'https://web.waha.app/set?set-id=03.009&meet-language=eng'\n@example\n// Would open up the in-app browser to the waha giving page.\n'https://waha.app/give-from-app?form=give'",
|
|
41
|
+
"pattern": "^(https://|waha://).+$",
|
|
42
|
+
"type": "string"
|
|
36
43
|
},
|
|
37
44
|
"countriesToNotSendTo": {
|
|
38
|
-
"
|
|
45
|
+
"description": "Users in any country EXCEPT these will receive the notification. Cannot be defined with `countriesToSendTo`.",
|
|
39
46
|
"items": {
|
|
40
47
|
"type": "string"
|
|
41
48
|
},
|
|
42
|
-
"
|
|
49
|
+
"type": "array"
|
|
43
50
|
},
|
|
44
51
|
"countriesToSendTo": {
|
|
45
|
-
"
|
|
52
|
+
"description": "Only users who have logged activity in the specified countries will receive the notification. To send to users in all countries, don't include this key. Cannot be defined with `countriesToNotSendTo`.",
|
|
46
53
|
"items": {
|
|
47
54
|
"type": "string"
|
|
48
55
|
},
|
|
49
|
-
"
|
|
56
|
+
"type": "array"
|
|
50
57
|
},
|
|
51
58
|
"faithJourney": {
|
|
52
|
-
"
|
|
53
|
-
"enum": [
|
|
54
|
-
"all",
|
|
55
|
-
"seekers",
|
|
56
|
-
"believers"
|
|
57
|
-
],
|
|
58
|
-
"description": "Only users who match the specified faith journey status will receive the notification. To send to all users regardless of faith journey, use \"all\"."
|
|
59
|
+
"description": "Only users who match the specified faith journey status will receive the notification. To send to all users regardless of faith journey, use \"all\".",
|
|
60
|
+
"enum": ["all", "seekers", "believers"]
|
|
59
61
|
},
|
|
60
62
|
"imageUrl": {
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
+
"pattern": "^https://.+$",
|
|
64
|
+
"type": "string"
|
|
63
65
|
},
|
|
64
66
|
"meetLanguages": {
|
|
65
67
|
"anyOf": [
|
|
66
68
|
{
|
|
67
|
-
"
|
|
68
|
-
"const": "all"
|
|
69
|
+
"enum": ["all"]
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
|
-
"type": "array",
|
|
72
72
|
"items": {
|
|
73
73
|
"type": "string"
|
|
74
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"type": "array"
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
78
|
"description": "Only users who have the specified meet languages as favorites will receive the notification. To send to users across all meet languages, use \"all\"."
|
|
78
79
|
},
|
|
79
80
|
"minCompletions": {
|
|
80
|
-
"type": "integer"
|
|
81
|
-
"minimum": -9007199254740991,
|
|
82
|
-
"maximum": 9007199254740991
|
|
81
|
+
"type": "integer"
|
|
83
82
|
},
|
|
84
83
|
"pushBody": {
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"patternProperties": {
|
|
86
|
+
"^[a-z]{3}$": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
}
|
|
89
89
|
},
|
|
90
|
-
"
|
|
91
|
-
"type": "string"
|
|
92
|
-
}
|
|
90
|
+
"type": "object"
|
|
93
91
|
},
|
|
94
92
|
"pushTitle": {
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"patternProperties": {
|
|
95
|
+
"^[a-z]{3}$": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
99
98
|
},
|
|
100
|
-
"
|
|
101
|
-
"type": "string"
|
|
102
|
-
}
|
|
99
|
+
"type": "object"
|
|
103
100
|
},
|
|
104
101
|
"pushTokens": {
|
|
105
|
-
"
|
|
102
|
+
"description": "List of push tokens to send the notification to. If not provided, the notification will be sent to all users who match the other criteria. If provided, the other filters will be ignored.",
|
|
106
103
|
"items": {
|
|
107
104
|
"type": "string"
|
|
108
105
|
},
|
|
109
|
-
"
|
|
106
|
+
"type": "array"
|
|
110
107
|
},
|
|
111
108
|
"verified": {
|
|
112
|
-
"
|
|
109
|
+
"description": "List of languages that have had their translation verified. These languages will NOT show the 'translated by AI' message in the app. English should never be included, as its translations are always verified.",
|
|
113
110
|
"items": {
|
|
114
111
|
"type": "string"
|
|
115
112
|
},
|
|
116
|
-
"
|
|
113
|
+
"type": "array"
|
|
117
114
|
}
|
|
118
115
|
},
|
|
119
|
-
"required": [
|
|
120
|
-
|
|
121
|
-
"body",
|
|
122
|
-
"verified"
|
|
123
|
-
],
|
|
124
|
-
"additionalProperties": false
|
|
116
|
+
"required": ["title", "body", "verified"],
|
|
117
|
+
"type": "object"
|
|
125
118
|
}
|
|
126
119
|
},
|
|
127
|
-
"required": [
|
|
128
|
-
"$schema",
|
|
129
|
-
"data"
|
|
130
|
-
]
|
|
120
|
+
"required": ["$schema", "data"]
|
|
131
121
|
}
|