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.
Files changed (122) hide show
  1. package/dist/data/areas/areas.schema.json +19 -53
  2. package/dist/data/areas/areas.zod.d.ts +15 -12
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +18 -11
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +4 -34
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +14 -11
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +11 -15
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +5 -4
  8. package/dist/data/bibleAudios/index.d.ts +5 -2
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +71 -50
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +5 -51
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +5 -2
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +2 -110
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +46 -40
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +5 -25
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +2 -27
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +40 -24
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +11 -39
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +27 -26
  22. package/dist/data/clones/clones.zod.d.ts +2 -24
  23. package/dist/data/clones/clones.zod.js +1 -1
  24. package/dist/data/clones/index.d.ts +3 -3
  25. package/dist/data/countries/countries.schema.json +91 -90
  26. package/dist/data/countries/countries.zod.d.ts +19 -88
  27. package/dist/data/countries/countries.zod.js +49 -138
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +19 -8
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +2 -28
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +13 -4
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +1 -13
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +16 -8
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +2 -10
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +24 -13
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +3 -23
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +16 -8
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +2 -10
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +5 -2
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +8 -2
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +0 -37702
  45. package/dist/data/languageAssets/languageAssets.schema.json +15 -12
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +3 -43
  48. package/dist/data/languages/index.d.ts +8 -4
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +136 -89
  51. package/dist/data/languages/languages.zod.d.ts +194 -116
  52. package/dist/data/languages/languages.zod.js +7 -1
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +21 -14
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +3 -41
  56. package/dist/data/notification/notification.schema.json +67 -57
  57. package/dist/data/notification/notification.zod.d.ts +15 -39
  58. package/dist/data/notification/notification.zod.js +4 -134
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +2 -46
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +14 -64
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +18 -8
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +2 -22
  65. package/dist/data/questions/index.d.ts +1 -1
  66. package/dist/data/questions/questions.schema.json +11 -11
  67. package/dist/data/questions/questions.zod.d.ts +6 -14
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +23 -11
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +1 -9
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +12 -6
  73. package/dist/data/screenshots/screenshots.zod.d.ts +1 -5
  74. package/dist/data/scripts/scripts.schema.json +11 -4
  75. package/dist/data/scripts/scripts.zod.d.ts +1 -7
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +25 -22
  78. package/dist/data/sets/sets.zod.d.ts +61 -39
  79. package/dist/data/specialIds/specialIds.schema.json +5 -1
  80. package/dist/data/specialIds/specialIds.zod.d.ts +11 -41
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +0 -1
  83. package/dist/data/translationsApp/translationsApp.schema.json +667 -668
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +1 -631
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +0 -884
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +147 -149
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +1 -135
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +15 -18
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +2 -160
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +0 -480
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +9 -14
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +11234 -20793
  97. package/dist/data/translationsSet/translationsSet.schema.json +52 -56
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +1 -19
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +98 -100
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +1 -87
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +0 -480
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +18 -23
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +9 -2
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +9 -2
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +14 -1
  111. package/dist/types/articles.d.ts +93 -343
  112. package/dist/types/bibleChapters.d.ts +13 -91
  113. package/dist/types/bibleChapters.js +1 -1
  114. package/dist/types/feedback.d.ts +3 -41
  115. package/dist/types/feedback.js +1 -1
  116. package/dist/types/microLessons.d.ts +69 -868
  117. package/dist/types/notifications.d.ts +19 -119
  118. package/dist/types/scripturePassages.d.ts +4 -34
  119. package/dist/types/users.d.ts +221 -776
  120. package/dist/types/users.js +2 -1
  121. package/dist/types/webContent.d.ts +8 -20
  122. package/package.json +3 -3
@@ -6,24 +6,26 @@ 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, "many">>;
9
+ countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
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<[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;
14
+ topics: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15
+ }, z.core.$strict>;
16
+ dmCourseStatus: z.ZodEnum<{
17
+ notStarted: "notStarted";
18
+ inProgress: "inProgress";
19
+ testing: "testing";
20
+ launched: "launched";
23
21
  }>;
24
- dmCourseStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
25
22
  endonym: z.ZodOptional<z.ZodString>;
26
- gdmcStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
23
+ gdmcStatus: z.ZodEnum<{
24
+ notStarted: "notStarted";
25
+ inProgress: "inProgress";
26
+ testing: "testing";
27
+ launched: "launched";
28
+ }>;
27
29
  givingId: z.ZodOptional<z.ZodString>;
28
30
  hideDonateButton: z.ZodOptional<z.ZodBoolean>;
29
31
  introBridge: z.ZodOptional<z.ZodString>;
@@ -31,118 +33,194 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
31
33
  mmsLanguageId: z.ZodOptional<z.ZodString>;
32
34
  notes: z.ZodOptional<z.ZodString>;
33
35
  pm: z.ZodOptional<z.ZodString>;
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"]>;
36
+ questionSource: z.ZodEnum<{
37
+ unknown: "unknown";
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
+ }>;
36
66
  speakersPrimary: z.ZodOptional<z.ZodNumber>;
37
67
  speakersSecondary: z.ZodOptional<z.ZodNumber>;
38
68
  speakersTotal: z.ZodOptional<z.ZodNumber>;
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"]>>;
69
+ specialThanks: z.ZodOptional<z.ZodObject<{
70
+ imageUrl: z.ZodOptional<z.ZodString>;
71
+ text: z.ZodString;
72
+ url: z.ZodOptional<z.ZodString>;
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
+ }>>;
43
210
  supportsSolarSpeakers: z.ZodOptional<z.ZodBoolean>;
44
211
  titles: z.ZodOptional<z.ZodString>;
45
- unsupportedDbsSets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
212
+ unsupportedDbsSets: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
213
  uuid: z.ZodString;
47
214
  videoBridgeLanguage: z.ZodOptional<z.ZodString>;
48
215
  web: z.ZodOptional<z.ZodObject<{
49
216
  name: z.ZodString;
50
217
  code: z.ZodString;
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">;
218
+ status: z.ZodEnum<{
219
+ notStarted: "notStarted";
220
+ inProgress: "inProgress";
221
+ testing: "testing";
222
+ launched: "launched";
223
+ }>;
224
+ }, z.core.$strict>>;
225
+ }, z.core.$strict>>;
148
226
  export type Languages = z.infer<typeof Languages>;
@@ -125,7 +125,13 @@ 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.any().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(),
129
135
  status: zod_1.z
130
136
  .enum(['notStarted', 'inProgress', 'testing', 'launched'])
131
137
  .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,22 +6,29 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "title": "Media Durations",
10
- "description": "Schema for media duration data organized by language code",
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
11
10
  "type": "object",
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
- }
11
+ "propertyNames": {
12
+ "type": "string",
13
+ "pattern": "^[a-z]{3}$"
22
14
  },
23
- "additionalProperties": false
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"
24
28
  }
25
29
  },
26
- "required": ["$schema", "data"]
30
+ "required": [
31
+ "$schema",
32
+ "data"
33
+ ]
27
34
  }
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
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>>>;
2
+ export declare const MediaDurations: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>;
3
3
  export type MediaDurations = z.infer<typeof MediaDurations>;
@@ -3,45 +3,7 @@ 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.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
- })
6
+ .record(zod_1.z.string().regex(new RegExp('^[a-z]{3}$')), zod_1.z
7
+ .record(zod_1.z.string(), zod_1.z.number().gte(0).describe('Duration of file'))
8
+ .describe('Language code (3-letter ISO code) containing media file durations'))
47
9
  .describe('Schema for media duration data organized by language code');
@@ -6,116 +6,126 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "additionalProperties": false,
10
- "not": {
11
- "allOf": [
12
- {
13
- "required": ["countriesToSendTo"]
14
- },
15
- {
16
- "required": ["countriesToNotSendTo"]
17
- }
18
- ]
19
- },
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "object",
20
11
  "properties": {
21
12
  "title": {
22
- "additionalProperties": false,
23
- "patternProperties": {
24
- "^[a-z]{3}$": {
25
- "type": "string"
26
- }
13
+ "type": "object",
14
+ "propertyNames": {
15
+ "type": "string",
16
+ "pattern": "^[a-z]{3}$"
27
17
  },
28
- "type": "object"
18
+ "additionalProperties": {
19
+ "type": "string"
20
+ }
29
21
  },
30
22
  "body": {
31
- "additionalProperties": false,
32
- "patternProperties": {
33
- "^[a-z]{3}$": {
34
- "type": "string"
35
- }
23
+ "type": "object",
24
+ "propertyNames": {
25
+ "type": "string",
26
+ "pattern": "^[a-z]{3}$"
36
27
  },
37
- "type": "object"
28
+ "additionalProperties": {
29
+ "type": "string"
30
+ }
38
31
  },
39
32
  "actionUrl": {
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"
33
+ "type": "string",
34
+ "pattern": "^(https:\\/\\/|waha:\\/\\/).+$",
35
+ "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'"
43
36
  },
44
37
  "countriesToNotSendTo": {
45
- "description": "Users in any country EXCEPT these will receive the notification. Cannot be defined with `countriesToSendTo`.",
38
+ "type": "array",
46
39
  "items": {
47
40
  "type": "string"
48
41
  },
49
- "type": "array"
42
+ "description": "Users in any country EXCEPT these will receive the notification. Cannot be defined with `countriesToSendTo`."
50
43
  },
51
44
  "countriesToSendTo": {
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`.",
45
+ "type": "array",
53
46
  "items": {
54
47
  "type": "string"
55
48
  },
56
- "type": "array"
49
+ "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`."
57
50
  },
58
51
  "faithJourney": {
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"]
52
+ "type": "string",
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\"."
61
59
  },
62
60
  "imageUrl": {
63
- "pattern": "^https://.+$",
64
- "type": "string"
61
+ "type": "string",
62
+ "pattern": "^https:\\/\\/.+$"
65
63
  },
66
64
  "meetLanguages": {
67
65
  "anyOf": [
68
66
  {
69
- "enum": ["all"]
67
+ "type": "string",
68
+ "const": "all"
70
69
  },
71
70
  {
71
+ "type": "array",
72
72
  "items": {
73
73
  "type": "string"
74
- },
75
- "type": "array"
74
+ }
76
75
  }
77
76
  ],
78
77
  "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\"."
79
78
  },
80
79
  "minCompletions": {
81
- "type": "integer"
80
+ "type": "integer",
81
+ "minimum": -9007199254740991,
82
+ "maximum": 9007199254740991
82
83
  },
83
84
  "pushBody": {
84
- "additionalProperties": false,
85
- "patternProperties": {
86
- "^[a-z]{3}$": {
87
- "type": "string"
88
- }
85
+ "type": "object",
86
+ "propertyNames": {
87
+ "type": "string",
88
+ "pattern": "^[a-z]{3}$"
89
89
  },
90
- "type": "object"
90
+ "additionalProperties": {
91
+ "type": "string"
92
+ }
91
93
  },
92
94
  "pushTitle": {
93
- "additionalProperties": false,
94
- "patternProperties": {
95
- "^[a-z]{3}$": {
96
- "type": "string"
97
- }
95
+ "type": "object",
96
+ "propertyNames": {
97
+ "type": "string",
98
+ "pattern": "^[a-z]{3}$"
98
99
  },
99
- "type": "object"
100
+ "additionalProperties": {
101
+ "type": "string"
102
+ }
100
103
  },
101
104
  "pushTokens": {
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.",
105
+ "type": "array",
103
106
  "items": {
104
107
  "type": "string"
105
108
  },
106
- "type": "array"
109
+ "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."
107
110
  },
108
111
  "verified": {
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.",
112
+ "type": "array",
110
113
  "items": {
111
114
  "type": "string"
112
115
  },
113
- "type": "array"
116
+ "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."
114
117
  }
115
118
  },
116
- "required": ["title", "body", "verified"],
117
- "type": "object"
119
+ "required": [
120
+ "title",
121
+ "body",
122
+ "verified"
123
+ ],
124
+ "additionalProperties": false
118
125
  }
119
126
  },
120
- "required": ["$schema", "data"]
127
+ "required": [
128
+ "$schema",
129
+ "data"
130
+ ]
121
131
  }