waha-shared 1.0.378 → 1.0.380

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.
@@ -44,9 +44,72 @@
44
44
  "additionalProperties": false,
45
45
  "description": "Version numbers for various language assets that determine where files will be generated and retrieved. Omitting will always look for all assets in `full_lessons`. Adding for a category will generate and look for assets in `full_lessons${versionNumber}`."
46
46
  },
47
- "bcpLanguageId": {
47
+ "iosVoiceOverLanguageId": {
48
48
  "type": "string",
49
- "description": "A language ID used for iOS's screen reader support. Should be in BCP 47 format. Should only be included if language is supported by iOS's screen reader. List of supported languages can be found here: https://www.apple.com/ios/feature-availability/"
49
+ "enum": [
50
+ "ar",
51
+ "eu",
52
+ "bn-IN",
53
+ "bho-IN",
54
+ "bg",
55
+ "zh-HK",
56
+ "ca",
57
+ "hr",
58
+ "cs",
59
+ "da",
60
+ "nl-BE",
61
+ "nl-NL",
62
+ "en-AU",
63
+ "en-IN",
64
+ "en-IE",
65
+ "en-GB",
66
+ "en-ZA",
67
+ "en-US",
68
+ "fa",
69
+ "fi",
70
+ "fr-BE",
71
+ "fr-CA",
72
+ "fr-FR",
73
+ "gl",
74
+ "de",
75
+ "el",
76
+ "he",
77
+ "hi",
78
+ "hu",
79
+ "id",
80
+ "it",
81
+ "ja",
82
+ "kn",
83
+ "kk",
84
+ "ko",
85
+ "lt",
86
+ "ms",
87
+ "zh-CN",
88
+ "zh-TW",
89
+ "mr",
90
+ "nb",
91
+ "pl",
92
+ "pt-BR",
93
+ "pt-PT",
94
+ "ro",
95
+ "ru",
96
+ "sk",
97
+ "sl",
98
+ "es-AR",
99
+ "es-CL",
100
+ "es-CO",
101
+ "es-MX",
102
+ "es-ES",
103
+ "sv",
104
+ "ta",
105
+ "te",
106
+ "th",
107
+ "tr",
108
+ "uk",
109
+ "ca-ES-valencia",
110
+ "vi"
111
+ ],
112
+ "description": "A BCP 47 language ID used only for iOS VoiceOver (screen reader) support. Should only be included if the language is supported by iOS VoiceOver; the value must be one of the supported VoiceOver languages. List of supported languages: https://www.apple.com/ios/feature-availability/#accessibility-voiceover"
50
113
  },
51
114
  "bible": {
52
115
  "type": "string",
@@ -164,6 +227,13 @@
164
227
  "type": "string",
165
228
  "description": "The language id of the language that is most likely to be used as the app interface language for this language."
166
229
  },
230
+ "expectMissing": {
231
+ "type": "array",
232
+ "items": {
233
+ "type": "string",
234
+ "enum": ["Foundations", "Topics", "WahaTraining"]
235
+ }
236
+ },
167
237
  "mmsLanguageId": {
168
238
  "type": "string",
169
239
  "description": "Id of a supported MMS language for running forced alignment."
@@ -176,11 +246,6 @@
176
246
  "type": "string",
177
247
  "description": "The id of the project manager for this language. This is the person who is responsible for the language's content and progress."
178
248
  },
179
- "questionSource": {
180
- "type": "string",
181
- "enum": ["recorded", "mms", "elevenLabs", "unknown"],
182
- "description": "The source for question audio generation for this language."
183
- },
184
249
  "script": {
185
250
  "type": "string",
186
251
  "enum": [
@@ -209,18 +274,6 @@
209
274
  ],
210
275
  "description": "The script that a language uses. Each script has a specific font so that we can display all scripts correctly."
211
276
  },
212
- "speakersPrimary": {
213
- "type": "number",
214
- "description": "The number of speakers of this language who speak it as their first language."
215
- },
216
- "speakersSecondary": {
217
- "type": "number",
218
- "description": "The number of speakers of this language who speak it as a second language."
219
- },
220
- "speakersTotal": {
221
- "type": "number",
222
- "description": "The total number of speakers of this language worldwide."
223
- },
224
277
  "specialThanks": {
225
278
  "type": "object",
226
279
  "properties": {
@@ -434,7 +487,6 @@
434
487
  "appInterface",
435
488
  "curriculum",
436
489
  "status",
437
- "questionSource",
438
490
  "script",
439
491
  "uuid"
440
492
  ],
@@ -82,7 +82,69 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
82
82
  dmc: z.ZodOptional<z.ZodInt>;
83
83
  cast: z.ZodOptional<z.ZodInt>;
84
84
  }, z.core.$strip>>;
85
- bcpLanguageId: z.ZodOptional<z.ZodString>;
85
+ iosVoiceOverLanguageId: z.ZodOptional<z.ZodEnum<{
86
+ id: "id";
87
+ ar: "ar";
88
+ eu: "eu";
89
+ "bn-IN": "bn-IN";
90
+ "bho-IN": "bho-IN";
91
+ bg: "bg";
92
+ "zh-HK": "zh-HK";
93
+ ca: "ca";
94
+ hr: "hr";
95
+ cs: "cs";
96
+ da: "da";
97
+ "nl-BE": "nl-BE";
98
+ "nl-NL": "nl-NL";
99
+ "en-AU": "en-AU";
100
+ "en-IN": "en-IN";
101
+ "en-IE": "en-IE";
102
+ "en-GB": "en-GB";
103
+ "en-ZA": "en-ZA";
104
+ "en-US": "en-US";
105
+ fa: "fa";
106
+ fi: "fi";
107
+ "fr-BE": "fr-BE";
108
+ "fr-CA": "fr-CA";
109
+ "fr-FR": "fr-FR";
110
+ gl: "gl";
111
+ de: "de";
112
+ el: "el";
113
+ he: "he";
114
+ hi: "hi";
115
+ hu: "hu";
116
+ it: "it";
117
+ ja: "ja";
118
+ kn: "kn";
119
+ kk: "kk";
120
+ ko: "ko";
121
+ lt: "lt";
122
+ ms: "ms";
123
+ "zh-CN": "zh-CN";
124
+ "zh-TW": "zh-TW";
125
+ mr: "mr";
126
+ nb: "nb";
127
+ pl: "pl";
128
+ "pt-BR": "pt-BR";
129
+ "pt-PT": "pt-PT";
130
+ ro: "ro";
131
+ ru: "ru";
132
+ sk: "sk";
133
+ sl: "sl";
134
+ "es-AR": "es-AR";
135
+ "es-CL": "es-CL";
136
+ "es-CO": "es-CO";
137
+ "es-MX": "es-MX";
138
+ "es-ES": "es-ES";
139
+ sv: "sv";
140
+ ta: "ta";
141
+ te: "te";
142
+ th: "th";
143
+ tr: "tr";
144
+ uk: "uk";
145
+ "ca-ES-valencia": "ca-ES-valencia";
146
+ vi: "vi";
147
+ }>>;
86
148
  bible: z.ZodOptional<z.ZodString>;
87
149
  bibleFallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
88
150
  bibleModifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -138,15 +200,14 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
138
200
  givingId: z.ZodOptional<z.ZodString>;
139
201
  hideDonateButton: z.ZodOptional<z.ZodBoolean>;
140
202
  likelyAppInterfacePair: z.ZodOptional<z.ZodString>;
203
+ expectMissing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
204
+ Foundations: "Foundations";
205
+ Topics: "Topics";
206
+ WahaTraining: "WahaTraining";
207
+ }>>>;
141
208
  mmsLanguageId: z.ZodOptional<z.ZodString>;
142
209
  notes: z.ZodOptional<z.ZodString>;
143
210
  pm: z.ZodOptional<z.ZodString>;
144
- questionSource: z.ZodEnum<{
145
- unknown: "unknown";
146
- recorded: "recorded";
147
- mms: "mms";
148
- elevenLabs: "elevenLabs";
149
- }>;
150
211
  script: z.ZodEnum<{
151
212
  arabic: "arabic";
152
213
  bengali: "bengali";
@@ -171,9 +232,6 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
171
232
  thai: "thai";
172
233
  uyghur: "uyghur";
173
234
  }>;
174
- speakersPrimary: z.ZodOptional<z.ZodNumber>;
175
- speakersSecondary: z.ZodOptional<z.ZodNumber>;
176
- speakersTotal: z.ZodOptional<z.ZodNumber>;
177
235
  specialThanks: z.ZodOptional<z.ZodObject<{
178
236
  imageUrl: z.ZodOptional<z.ZodString>;
179
237
  text: z.ZodString;
@@ -182,37 +240,50 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
182
240
  storeIdAndroid: z.ZodOptional<z.ZodEnum<{
183
241
  id: "id";
184
242
  sw: "sw";
243
+ ar: "ar";
244
+ bg: "bg";
245
+ "zh-HK": "zh-HK";
246
+ ca: "ca";
247
+ hr: "hr";
248
+ "nl-NL": "nl-NL";
249
+ "en-AU": "en-AU";
250
+ "en-IN": "en-IN";
251
+ "en-GB": "en-GB";
252
+ "en-ZA": "en-ZA";
253
+ "en-US": "en-US";
254
+ fa: "fa";
255
+ "fr-CA": "fr-CA";
256
+ "fr-FR": "fr-FR";
257
+ kk: "kk";
258
+ lt: "lt";
259
+ ms: "ms";
260
+ "zh-CN": "zh-CN";
261
+ "zh-TW": "zh-TW";
262
+ "pt-BR": "pt-BR";
263
+ "pt-PT": "pt-PT";
264
+ ro: "ro";
265
+ sk: "sk";
266
+ sl: "sl";
267
+ "es-ES": "es-ES";
268
+ th: "th";
269
+ uk: "uk";
270
+ vi: "vi";
185
271
  af: "af";
186
272
  sq: "sq";
187
273
  am: "am";
188
- ar: "ar";
189
274
  "hy-AM": "hy-AM";
190
275
  "az-AZ": "az-AZ";
191
276
  "bn-BD": "bn-BD";
192
277
  "eu-ES": "eu-ES";
193
278
  be: "be";
194
- bg: "bg";
195
279
  "my-MM": "my-MM";
196
- ca: "ca";
197
- "zh-HK": "zh-HK";
198
- "zh-CN": "zh-CN";
199
- "zh-TW": "zh-TW";
200
- hr: "hr";
201
280
  "cs-CZ": "cs-CZ";
202
281
  "da-DK": "da-DK";
203
- "nl-NL": "nl-NL";
204
- "en-AU": "en-AU";
205
282
  "en-CA": "en-CA";
206
- "en-GB": "en-GB";
207
- "en-IN": "en-IN";
208
283
  "en-SG": "en-SG";
209
- "en-US": "en-US";
210
- "en-ZA": "en-ZA";
211
284
  et: "et";
212
285
  fil: "fil";
213
286
  "fi-FI": "fi-FI";
214
- "fr-CA": "fr-CA";
215
- "fr-FR": "fr-FR";
216
287
  "gl-ES": "gl-ES";
217
288
  "ka-GE": "ka-GE";
218
289
  "de-DE": "de-DE";
@@ -225,87 +296,74 @@ export declare const Languages: z.ZodArray<z.ZodObject<{
225
296
  "it-IT": "it-IT";
226
297
  "ja-JP": "ja-JP";
227
298
  "kn-IN": "kn-IN";
228
- kk: "kk";
229
299
  "km-KH": "km-KH";
230
300
  "ko-KR": "ko-KR";
231
301
  "ky-KG": "ky-KG";
232
302
  "lo-LA": "lo-LA";
233
303
  lv: "lv";
234
- lt: "lt";
235
304
  "mk-MK": "mk-MK";
236
305
  "ms-MY": "ms-MY";
237
- ms: "ms";
238
306
  "ml-IN": "ml-IN";
239
307
  "mr-IN": "mr-IN";
240
308
  "mn-MN": "mn-MN";
241
309
  "ne-NP": "ne-NP";
242
310
  "no-NO": "no-NO";
243
- fa: "fa";
244
311
  "fa-AE": "fa-AE";
245
312
  "fa-AF": "fa-AF";
246
313
  "fa-IR": "fa-IR";
247
314
  "pl-PL": "pl-PL";
248
- "pt-BR": "pt-BR";
249
- "pt-PT": "pt-PT";
250
315
  pa: "pa";
251
- ro: "ro";
252
316
  rm: "rm";
253
317
  "ru-RU": "ru-RU";
254
318
  sr: "sr";
255
319
  "si-LK": "si-LK";
256
- sk: "sk";
257
- sl: "sl";
258
320
  "es-419": "es-419";
259
- "es-ES": "es-ES";
260
321
  "es-US": "es-US";
261
322
  "sv-SE": "sv-SE";
262
323
  "ta-IN": "ta-IN";
263
324
  "te-IN": "te-IN";
264
- th: "th";
265
325
  "tr-TR": "tr-TR";
266
- uk: "uk";
267
326
  ur: "ur";
268
- vi: "vi";
269
327
  zu: "zu";
270
328
  }>>;
271
329
  storeIdIos: z.ZodOptional<z.ZodEnum<{
272
330
  id: "id";
273
331
  ca: "ca";
274
332
  hr: "hr";
333
+ cs: "cs";
334
+ da: "da";
275
335
  "nl-NL": "nl-NL";
276
336
  "en-AU": "en-AU";
277
- "en-CA": "en-CA";
278
337
  "en-GB": "en-GB";
279
338
  "en-US": "en-US";
339
+ fi: "fi";
280
340
  "fr-CA": "fr-CA";
281
341
  "fr-FR": "fr-FR";
282
- "de-DE": "de-DE";
283
- ms: "ms";
284
- "pt-BR": "pt-BR";
285
- "pt-PT": "pt-PT";
286
- ro: "ro";
287
- sk: "sk";
288
- "es-ES": "es-ES";
289
- th: "th";
290
- uk: "uk";
291
- vi: "vi";
292
- "ar-SA": "ar-SA";
293
- cs: "cs";
294
- da: "da";
295
342
  el: "el";
296
- "es-MX": "es-MX";
297
- fi: "fi";
298
343
  he: "he";
299
344
  hi: "hi";
300
345
  hu: "hu";
301
346
  it: "it";
302
347
  ja: "ja";
303
348
  ko: "ko";
304
- no: "no";
349
+ ms: "ms";
305
350
  pl: "pl";
351
+ "pt-BR": "pt-BR";
352
+ "pt-PT": "pt-PT";
353
+ ro: "ro";
306
354
  ru: "ru";
355
+ sk: "sk";
356
+ "es-MX": "es-MX";
357
+ "es-ES": "es-ES";
307
358
  sv: "sv";
359
+ th: "th";
308
360
  tr: "tr";
361
+ uk: "uk";
362
+ vi: "vi";
363
+ "en-CA": "en-CA";
364
+ "de-DE": "de-DE";
365
+ "ar-SA": "ar-SA";
366
+ no: "no";
309
367
  "zh-Hans": "zh-Hans";
310
368
  "zh-Hant": "zh-Hant";
311
369
  }>>;
@@ -81,9 +81,71 @@ exports.Languages = zod_1.z.array(zod_1.z
81
81
  .describe('The name of a language in English, i.e. "Spanish". This helps Waha team members identify the language.'),
82
82
  appInterface: zod_1.z.boolean(),
83
83
  assetVersions: exports.AssetVersions.optional(),
84
- bcpLanguageId: zod_1.z
85
- .string()
86
- .describe("A language ID used for iOS's screen reader support. Should be in BCP 47 format. Should only be included if language is supported by iOS's screen reader. List of supported languages can be found here: https://www.apple.com/ios/feature-availability/")
84
+ iosVoiceOverLanguageId: zod_1.z
85
+ .enum([
86
+ 'ar', // Arabic
87
+ 'eu', // Basque
88
+ 'bn-IN', // Bengali (India)
89
+ 'bho-IN', // Bhojpuri (India)
90
+ 'bg', // Bulgarian
91
+ 'zh-HK', // Cantonese (Hong Kong)
92
+ 'ca', // Catalan
93
+ 'hr', // Croatian
94
+ 'cs', // Czech
95
+ 'da', // Danish
96
+ 'nl-BE', // Dutch (Belgium)
97
+ 'nl-NL', // Dutch (Netherlands)
98
+ 'en-AU', // English (Australia)
99
+ 'en-IN', // English (India)
100
+ 'en-IE', // English (Ireland)
101
+ 'en-GB', // English (United Kingdom / Scotland)
102
+ 'en-ZA', // English (South Africa)
103
+ 'en-US', // English (United States)
104
+ 'fa', // Farsi
105
+ 'fi', // Finnish
106
+ 'fr-BE', // French (Belgium)
107
+ 'fr-CA', // French (Canada)
108
+ 'fr-FR', // French (France)
109
+ 'gl', // Galician
110
+ 'de', // German
111
+ 'el', // Greek
112
+ 'he', // Hebrew
113
+ 'hi', // Hindi
114
+ 'hu', // Hungarian
115
+ 'id', // Indonesian
116
+ 'it', // Italian
117
+ 'ja', // Japanese
118
+ 'kn', // Kannada
119
+ 'kk', // Kazak
120
+ 'ko', // Korean
121
+ 'lt', // Lithuanian
122
+ 'ms', // Malay
123
+ 'zh-CN', // Mandarin Chinese (China mainland)
124
+ 'zh-TW', // Mandarin Chinese (Taiwan)
125
+ 'mr', // Marathi
126
+ 'nb', // Norwegian
127
+ 'pl', // Polish
128
+ 'pt-BR', // Portuguese (Brazil)
129
+ 'pt-PT', // Portuguese (Portugal)
130
+ 'ro', // Romanian
131
+ 'ru', // Russian
132
+ 'sk', // Slovakian
133
+ 'sl', // Slovenian
134
+ 'es-AR', // Spanish (Argentina)
135
+ 'es-CL', // Spanish (Chile)
136
+ 'es-CO', // Spanish (Colombia)
137
+ 'es-MX', // Spanish (Mexico)
138
+ 'es-ES', // Spanish (Spain)
139
+ 'sv', // Swedish
140
+ 'ta', // Tamil
141
+ 'te', // Telugu
142
+ 'th', // Thai
143
+ 'tr', // Turkish
144
+ 'uk', // Ukranian
145
+ 'ca-ES-valencia', // Valencian
146
+ 'vi', // Vietnamese
147
+ ])
148
+ .describe('A BCP 47 language ID used only for iOS VoiceOver (screen reader) support. Should only be included if the language is supported by iOS VoiceOver; the value must be one of the supported VoiceOver languages. List of supported languages: https://www.apple.com/ios/feature-availability/#accessibility-voiceover')
87
149
  .optional(),
88
150
  bible: zod_1.z
89
151
  .string()
@@ -140,6 +202,7 @@ exports.Languages = zod_1.z.array(zod_1.z
140
202
  .string()
141
203
  .describe('The language id of the language that is most likely to be used as the app interface language for this language.')
142
204
  .optional(),
205
+ expectMissing: zod_1.z.array(exports.SetCategory).optional(),
143
206
  mmsLanguageId: zod_1.z
144
207
  .string()
145
208
  .describe('Id of a supported MMS language for running forced alignment.')
@@ -152,9 +215,6 @@ exports.Languages = zod_1.z.array(zod_1.z
152
215
  .string()
153
216
  .describe("The id of the project manager for this language. This is the person who is responsible for the language's content and progress.")
154
217
  .optional(),
155
- questionSource: zod_1.z
156
- .enum(['recorded', 'mms', 'elevenLabs', 'unknown'])
157
- .describe('The source for question audio generation for this language.'),
158
218
  script: zod_1.z
159
219
  .enum([
160
220
  'arabic',
@@ -181,18 +241,6 @@ exports.Languages = zod_1.z.array(zod_1.z
181
241
  'uyghur',
182
242
  ])
183
243
  .describe('The script that a language uses. Each script has a specific font so that we can display all scripts correctly.'),
184
- speakersPrimary: zod_1.z
185
- .number()
186
- .describe('The number of speakers of this language who speak it as their first language.')
187
- .optional(),
188
- speakersSecondary: zod_1.z
189
- .number()
190
- .describe('The number of speakers of this language who speak it as a second language.')
191
- .optional(),
192
- speakersTotal: zod_1.z
193
- .number()
194
- .describe('The total number of speakers of this language worldwide.')
195
- .optional(),
196
244
  specialThanks: zod_1.z
197
245
  .object({
198
246
  imageUrl: zod_1.z.string().optional(),