waha-shared 1.0.1 → 1.0.2

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 (293) hide show
  1. package/README.md +2 -2
  2. package/dist/data/bibleAudios.d.ts +8 -0
  3. package/dist/data/bibleAudios.js +8 -0
  4. package/dist/data/bibleAudios.json +394 -0
  5. package/dist/data/bibleResources/bibleBooks.d.ts +3 -0
  6. package/dist/data/bibleResources/bibleBooks.js +7 -0
  7. package/dist/data/bibleResources/bibleBooks.json +6071 -0
  8. package/dist/data/bibleResources/bibleChaptersList.d.ts +2 -0
  9. package/dist/data/bibleResources/bibleChaptersList.js +8 -0
  10. package/dist/data/bibleResources/bibleChaptersList.json +1191 -0
  11. package/dist/data/bibleStatuses.d.ts +7 -0
  12. package/dist/data/bibleStatuses.js +8 -0
  13. package/dist/data/bibleStatuses.json +9196 -0
  14. package/dist/data/bibleTexts.d.ts +16 -0
  15. package/dist/data/bibleTexts.js +8 -0
  16. package/dist/data/bibleTexts.json +527 -0
  17. package/dist/data/countryResources/areas.d.ts +3 -0
  18. package/dist/data/countryResources/areas.js +7 -0
  19. package/dist/data/countryResources/areas.json +74 -0
  20. package/dist/data/countryResources/countries.d.ts +3 -0
  21. package/dist/data/countryResources/countries.js +7 -0
  22. package/dist/data/countryResources/countries.json +3362 -0
  23. package/dist/data/foundationsCurriculums.d.ts +5 -0
  24. package/dist/data/foundationsCurriculums.js +8 -0
  25. package/dist/data/foundationsCurriculums.json +130 -0
  26. package/dist/data/languageResources/countriesAndLanguages.d.ts +13 -0
  27. package/dist/data/languageResources/countriesAndLanguages.js +7 -0
  28. package/dist/data/languageResources/countriesAndLanguages.json +11718 -0
  29. package/dist/data/languageResources/phoneLanguages.d.ts +11 -0
  30. package/dist/data/languageResources/phoneLanguages.js +7 -0
  31. package/dist/data/languageResources/phoneLanguages.json +1532 -0
  32. package/dist/data/languages.d.ts +45 -0
  33. package/dist/data/languages.js +8 -0
  34. package/dist/data/languages.json +7045 -0
  35. package/dist/data/mediaDurations.d.ts +6 -0
  36. package/dist/data/mediaDurations.js +8 -0
  37. package/dist/data/mediaDurations.json +32364 -0
  38. package/dist/data/notification.d.ts +16 -0
  39. package/dist/data/notification.js +8 -0
  40. package/dist/data/notification.json +69 -0
  41. package/dist/data/numeralMaps.d.ts +13 -0
  42. package/dist/data/numeralMaps.js +8 -0
  43. package/dist/data/numeralMaps.json +26 -0
  44. package/dist/data/questions.d.ts +8 -0
  45. package/dist/data/questions.js +8 -0
  46. package/dist/data/questions.json +317 -0
  47. package/dist/data/questionsCurriculums.d.ts +8 -0
  48. package/dist/data/questionsCurriculums.js +8 -0
  49. package/dist/data/questionsCurriculums.json +753 -0
  50. package/dist/data/releaseNotes.d.ts +6 -0
  51. package/dist/data/releaseNotes.js +8 -0
  52. package/dist/data/releaseNotes.json +2381 -0
  53. package/dist/data/screenshots.d.ts +5 -0
  54. package/dist/data/screenshots.js +8 -0
  55. package/dist/data/screenshots.json +17 -0
  56. package/dist/data/sets.d.ts +14 -0
  57. package/dist/data/sets.js +8 -0
  58. package/dist/data/sets.json +12258 -0
  59. package/dist/data/specialIds.d.ts +18 -0
  60. package/dist/data/specialIds.js +7 -0
  61. package/dist/data/specialIds.json +72 -0
  62. package/dist/data/topicsCurriculums.d.ts +5 -0
  63. package/dist/data/topicsCurriculums.js +8 -0
  64. package/dist/data/topicsCurriculums.json +131 -0
  65. package/dist/data/typescript/appTranslations.d.ts +915 -0
  66. package/dist/data/typescript/appTranslations.js +315 -0
  67. package/dist/data/typescript/areas.d.ts +18 -0
  68. package/dist/data/typescript/areas.js +42 -0
  69. package/dist/data/typescript/aslTimestamps.d.ts +43 -0
  70. package/dist/data/typescript/aslTimestamps.js +31 -0
  71. package/dist/data/typescript/bibleAudioAvailableChapters.d.ts +3 -0
  72. package/dist/data/typescript/bibleAudioAvailableChapters.js +36 -0
  73. package/dist/data/typescript/bibleAudios.d.ts +21 -0
  74. package/dist/data/typescript/bibleAudios.js +23 -0
  75. package/dist/data/typescript/bibleBookNames.d.ts +3 -0
  76. package/dist/data/typescript/bibleBookNames.js +98 -0
  77. package/dist/data/typescript/bibleBooks.d.ts +69 -0
  78. package/dist/data/typescript/bibleBooks.js +56 -0
  79. package/dist/data/typescript/bibleChapters.d.ts +49 -0
  80. package/dist/data/typescript/bibleChapters.js +29 -0
  81. package/dist/data/typescript/bibleStatuses.d.ts +28 -0
  82. package/dist/data/typescript/bibleStatuses.js +39 -0
  83. package/dist/data/typescript/bibleTextAvailableChapters.d.ts +3 -0
  84. package/dist/data/typescript/bibleTextAvailableChapters.js +36 -0
  85. package/dist/data/typescript/bibleTexts.d.ts +53 -0
  86. package/dist/data/typescript/bibleTexts.js +54 -0
  87. package/dist/data/typescript/clones.d.ts +36 -0
  88. package/dist/data/typescript/clones.js +28 -0
  89. package/dist/data/typescript/countries.d.ts +98 -0
  90. package/dist/data/typescript/countries.js +149 -0
  91. package/dist/data/typescript/foundationsCurriculums.d.ts +12 -0
  92. package/dist/data/typescript/foundationsCurriculums.js +12 -0
  93. package/dist/data/typescript/introductionTranslations.d.ts +202 -0
  94. package/dist/data/typescript/introductionTranslations.js +53 -0
  95. package/dist/data/typescript/languages.d.ts +148 -0
  96. package/dist/data/typescript/languages.js +302 -0
  97. package/dist/data/typescript/mediaDurations.d.ts +23 -0
  98. package/dist/data/typescript/mediaDurations.js +72 -0
  99. package/dist/data/typescript/notification.d.ts +45 -0
  100. package/dist/data/typescript/notification.js +176 -0
  101. package/dist/data/typescript/numeralMaps.d.ts +58 -0
  102. package/dist/data/typescript/numeralMaps.js +71 -0
  103. package/dist/data/typescript/questionTranslations.d.ts +3 -0
  104. package/dist/data/typescript/questionTranslations.js +5 -0
  105. package/dist/data/typescript/questions.d.ts +21 -0
  106. package/dist/data/typescript/questions.js +18 -0
  107. package/dist/data/typescript/questionsCurriculums.d.ts +27 -0
  108. package/dist/data/typescript/questionsCurriculums.js +19 -0
  109. package/dist/data/typescript/releaseNotes.d.ts +15 -0
  110. package/dist/data/typescript/releaseNotes.js +9 -0
  111. package/dist/data/typescript/screenshots.d.ts +12 -0
  112. package/dist/data/typescript/screenshots.js +49 -0
  113. package/dist/data/typescript/setTranslations.d.ts +27 -0
  114. package/dist/data/typescript/setTranslations.js +32 -0
  115. package/dist/data/typescript/sets.d.ts +49 -0
  116. package/dist/data/typescript/sets.js +88 -0
  117. package/dist/data/typescript/topicsCurriculums.d.ts +12 -0
  118. package/dist/data/typescript/topicsCurriculums.js +12 -0
  119. package/dist/data/youtube/videos.d.ts +2 -0
  120. package/dist/data/youtube/videos.js +7 -0
  121. package/dist/data/youtube/videos.json +262 -0
  122. package/dist/functions/activeCampaign.d.ts +8 -0
  123. package/dist/functions/activeCampaign.js +97 -0
  124. package/dist/functions/bibleChapterUtils.d.ts +15 -0
  125. package/dist/functions/bibleChapterUtils.js +231 -0
  126. package/dist/functions/crowdin.d.ts +24 -0
  127. package/dist/functions/crowdin.js +34 -0
  128. package/dist/functions/languages.d.ts +24 -0
  129. package/dist/functions/languages.js +212 -0
  130. package/dist/functions/scripturePassages.d.ts +47 -0
  131. package/dist/functions/scripturePassages.js +261 -0
  132. package/dist/functions/sets.d.ts +30 -0
  133. package/dist/functions/sets.js +371 -0
  134. package/dist/translations/appTranslations.d.ts +306 -0
  135. package/dist/translations/appTranslations.js +8 -0
  136. package/dist/translations/appTranslations.json +10239 -0
  137. package/dist/translations/introductionTranslations.d.ts +43 -0
  138. package/dist/translations/introductionTranslations.js +8 -0
  139. package/dist/translations/introductionTranslations.json +422 -0
  140. package/dist/translations/questionTranslations.d.ts +2 -0
  141. package/dist/translations/questionTranslations.js +8 -0
  142. package/dist/translations/questionTranslations.json +1472 -0
  143. package/dist/translations/setTranslations.d.ts +10 -0
  144. package/dist/translations/setTranslations.js +8 -0
  145. package/dist/translations/setTranslations.json +30257 -0
  146. package/dist/types/analytics.d.ts +119 -0
  147. package/dist/types/analytics.js +2 -0
  148. package/dist/types/completions.d.ts +8 -0
  149. package/dist/types/completions.js +2 -0
  150. package/dist/types/feedback.d.ts +60 -0
  151. package/dist/types/feedback.js +27 -0
  152. package/dist/types/languages.d.ts +31 -0
  153. package/dist/types/languages.js +2 -0
  154. package/dist/types/notifications.d.ts +128 -0
  155. package/dist/types/notifications.js +30 -0
  156. package/dist/types/sets.d.ts +70 -0
  157. package/dist/types/sets.js +10 -0
  158. package/dist/types/users.d.ts +765 -0
  159. package/dist/types/users.js +137 -0
  160. package/package.json +2 -2
  161. package/.DS_Store +0 -0
  162. package/__init__.py +0 -0
  163. package/copy.ts +0 -37
  164. package/data/README.md +0 -45
  165. package/data/__init__.py +0 -0
  166. package/data/aslTimestamps.json +0 -192788
  167. package/data/bibleAudios.json +0 -394
  168. package/data/bibleAudios.ts +0 -4
  169. package/data/bibleResources/audioBibleLicenses.json +0 -6235
  170. package/data/bibleResources/bibleBooks.json +0 -6071
  171. package/data/bibleResources/bibleBooks.ts +0 -4
  172. package/data/bibleResources/bibleChaptersList.json +0 -1191
  173. package/data/bibleResources/bibleChaptersList.ts +0 -4
  174. package/data/bibleResources/textBibleLicenses.json +0 -14603
  175. package/data/bibleStatuses.json +0 -9196
  176. package/data/bibleStatuses.ts +0 -4
  177. package/data/bibleTexts.json +0 -527
  178. package/data/bibleTexts.ts +0 -4
  179. package/data/clones.json +0 -13
  180. package/data/countryResources/areas.json +0 -74
  181. package/data/countryResources/areas.ts +0 -4
  182. package/data/countryResources/countries.json +0 -3362
  183. package/data/countryResources/countries.ts +0 -4
  184. package/data/foundationsCurriculums.json +0 -130
  185. package/data/foundationsCurriculums.ts +0 -4
  186. package/data/languageResources/countriesAndLanguages.json +0 -11718
  187. package/data/languageResources/countriesAndLanguages.ts +0 -16
  188. package/data/languageResources/crowdinLanguages.json +0 -2172
  189. package/data/languageResources/iosVoiceOverLanguages.json +0 -64
  190. package/data/languageResources/iso6933LanguageCodes.json +0 -7927
  191. package/data/languageResources/mmsLanguages.json +0 -28164
  192. package/data/languageResources/phoneLanguages.json +0 -1532
  193. package/data/languageResources/phoneLanguages.ts +0 -14
  194. package/data/languages.json +0 -7045
  195. package/data/languages.ts +0 -4
  196. package/data/mediaDurations.json +0 -32364
  197. package/data/mediaDurations.ts +0 -4
  198. package/data/notification.json +0 -69
  199. package/data/notification.ts +0 -4
  200. package/data/numeralMaps.json +0 -26
  201. package/data/numeralMaps.ts +0 -4
  202. package/data/orphanedBibleTexts.json +0 -2747
  203. package/data/questions.json +0 -317
  204. package/data/questions.ts +0 -4
  205. package/data/questionsCurriculums.json +0 -753
  206. package/data/questionsCurriculums.ts +0 -4
  207. package/data/releaseNotes.json +0 -2381
  208. package/data/releaseNotes.ts +0 -4
  209. package/data/schemas/appTranslations.schema.json +0 -802
  210. package/data/schemas/areas.schema.json +0 -76
  211. package/data/schemas/aslTimestamps.schema.json +0 -59
  212. package/data/schemas/bibleAudios.schema.json +0 -37
  213. package/data/schemas/bibleBooks.schema.json +0 -112
  214. package/data/schemas/bibleChapters.schema.json +0 -61
  215. package/data/schemas/bibleStatuses.schema.json +0 -41
  216. package/data/schemas/bibleTexts.schema.json +0 -60
  217. package/data/schemas/clones.schema.json +0 -63
  218. package/data/schemas/countries.schema.json +0 -84
  219. package/data/schemas/foundationsCurriculums.schema.json +0 -20
  220. package/data/schemas/introductionTranslations.schema.json +0 -101
  221. package/data/schemas/languages.schema.json +0 -365
  222. package/data/schemas/mediaDurations.schema.json +0 -41
  223. package/data/schemas/notification.schema.json +0 -111
  224. package/data/schemas/numeralMaps.schema.json +0 -57
  225. package/data/schemas/questionTranslations.schema.json +0 -20
  226. package/data/schemas/questions.schema.json +0 -29
  227. package/data/schemas/questionsCurriculums.schema.json +0 -34
  228. package/data/schemas/releaseNotes.schema.json +0 -21
  229. package/data/schemas/screenshots.schema.json +0 -23
  230. package/data/schemas/setTranslations.schema.json +0 -70
  231. package/data/schemas/sets.schema.json +0 -109
  232. package/data/schemas/topicsCurriculums.schema.json +0 -20
  233. package/data/screenshots.json +0 -17
  234. package/data/screenshots.ts +0 -4
  235. package/data/sets.json +0 -12258
  236. package/data/sets.ts +0 -4
  237. package/data/specialIds.json +0 -72
  238. package/data/specialIds.ts +0 -19
  239. package/data/timings/som.json +0 -9150
  240. package/data/topicsCurriculums.json +0 -131
  241. package/data/topicsCurriculums.ts +0 -4
  242. package/data/typescript/appTranslations.ts +0 -322
  243. package/data/typescript/areas.ts +0 -45
  244. package/data/typescript/aslTimestamps.ts +0 -36
  245. package/data/typescript/bibleAudioAvailableChapters.ts +0 -35
  246. package/data/typescript/bibleAudios.ts +0 -32
  247. package/data/typescript/bibleBookNames.ts +0 -97
  248. package/data/typescript/bibleBooks.ts +0 -63
  249. package/data/typescript/bibleChapters.ts +0 -40
  250. package/data/typescript/bibleStatuses.ts +0 -54
  251. package/data/typescript/bibleTextAvailableChapters.ts +0 -35
  252. package/data/typescript/bibleTexts.ts +0 -63
  253. package/data/typescript/clones.ts +0 -35
  254. package/data/typescript/countries.ts +0 -152
  255. package/data/typescript/foundationsCurriculums.ts +0 -15
  256. package/data/typescript/introductionTranslations.ts +0 -60
  257. package/data/typescript/languages.ts +0 -369
  258. package/data/typescript/mediaDurations.ts +0 -89
  259. package/data/typescript/notification.ts +0 -189
  260. package/data/typescript/numeralMaps.ts +0 -74
  261. package/data/typescript/questionTranslations.ts +0 -6
  262. package/data/typescript/questions.ts +0 -25
  263. package/data/typescript/questionsCurriculums.ts +0 -26
  264. package/data/typescript/releaseNotes.ts +0 -10
  265. package/data/typescript/screenshots.ts +0 -52
  266. package/data/typescript/setTranslations.ts +0 -39
  267. package/data/typescript/sets.ts +0 -105
  268. package/data/typescript/topicsCurriculums.ts +0 -15
  269. package/data/youtube/playlists.json +0 -28
  270. package/data/youtube/videos.json +0 -262
  271. package/data/youtube/videos.ts +0 -2
  272. package/functions/activeCampaign.ts +0 -127
  273. package/functions/bibleChapterUtils.ts +0 -241
  274. package/functions/crowdin.ts +0 -51
  275. package/functions/languages.ts +0 -284
  276. package/functions/scripturePassages.ts +0 -368
  277. package/functions/sets.ts +0 -495
  278. package/translations/appTranslations.json +0 -10239
  279. package/translations/appTranslations.ts +0 -4
  280. package/translations/introductionTranslations.json +0 -422
  281. package/translations/introductionTranslations.ts +0 -4
  282. package/translations/questionTranslations.json +0 -1472
  283. package/translations/questionTranslations.ts +0 -4
  284. package/translations/setTranslations.json +0 -30257
  285. package/translations/setTranslations.ts +0 -4
  286. package/translations/spokenQuestionTranslations.json +0 -1472
  287. package/types/analytics.ts +0 -147
  288. package/types/completions.ts +0 -9
  289. package/types/feedback.ts +0 -27
  290. package/types/languages.ts +0 -37
  291. package/types/notifications.ts +0 -37
  292. package/types/sets.ts +0 -84
  293. package/types/users.ts +0 -162
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.countries = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.countries = zod_1.z
6
+ .record(zod_1.z.union([
7
+ zod_1.z
8
+ .object({
9
+ name: zod_1.z.string().describe('The display name of the country'),
10
+ areaId: zod_1.z
11
+ .enum([
12
+ 'north-america',
13
+ 'latin-america-caribbean',
14
+ 'sub-saharan-africa',
15
+ 'middle-east-north-africa',
16
+ 'western-asia',
17
+ 'western-europe',
18
+ 'eastern-europe',
19
+ 'southern-asia',
20
+ 'central-asia',
21
+ 'eastern-asia',
22
+ 'southeast-asia',
23
+ 'oceania',
24
+ ])
25
+ .describe('The geographical area identifier'),
26
+ boundingBox: zod_1.z
27
+ .object({
28
+ ne: zod_1.z
29
+ .object({
30
+ lat: zod_1.z
31
+ .number()
32
+ .gte(-90)
33
+ .lte(90)
34
+ .describe('Northeast latitude coordinate'),
35
+ lon: zod_1.z
36
+ .number()
37
+ .gte(-180)
38
+ .lte(180)
39
+ .describe('Northeast longitude coordinate'),
40
+ })
41
+ .strict(),
42
+ sw: zod_1.z
43
+ .object({
44
+ lat: zod_1.z
45
+ .number()
46
+ .gte(-90)
47
+ .lte(90)
48
+ .describe('Southwest latitude coordinate'),
49
+ lon: zod_1.z
50
+ .number()
51
+ .gte(-180)
52
+ .lte(180)
53
+ .describe('Southwest longitude coordinate'),
54
+ })
55
+ .strict(),
56
+ })
57
+ .strict()
58
+ .describe('Bounding box coordinates for the country'),
59
+ })
60
+ .strict(),
61
+ zod_1.z.never(),
62
+ ]))
63
+ .superRefine((value, ctx) => {
64
+ for (const key in value) {
65
+ let evaluated = false;
66
+ if (key.match(new RegExp('^[A-Z]{2}$'))) {
67
+ evaluated = true;
68
+ const result = zod_1.z
69
+ .object({
70
+ name: zod_1.z.string().describe('The display name of the country'),
71
+ areaId: zod_1.z
72
+ .enum([
73
+ 'north-america',
74
+ 'latin-america-caribbean',
75
+ 'sub-saharan-africa',
76
+ 'middle-east-north-africa',
77
+ 'western-asia',
78
+ 'western-europe',
79
+ 'eastern-europe',
80
+ 'southern-asia',
81
+ 'central-asia',
82
+ 'eastern-asia',
83
+ 'southeast-asia',
84
+ 'oceania',
85
+ ])
86
+ .describe('The geographical area identifier'),
87
+ boundingBox: zod_1.z
88
+ .object({
89
+ ne: zod_1.z
90
+ .object({
91
+ lat: zod_1.z
92
+ .number()
93
+ .gte(-90)
94
+ .lte(90)
95
+ .describe('Northeast latitude coordinate'),
96
+ lon: zod_1.z
97
+ .number()
98
+ .gte(-180)
99
+ .lte(180)
100
+ .describe('Northeast longitude coordinate'),
101
+ })
102
+ .strict(),
103
+ sw: zod_1.z
104
+ .object({
105
+ lat: zod_1.z
106
+ .number()
107
+ .gte(-90)
108
+ .lte(90)
109
+ .describe('Southwest latitude coordinate'),
110
+ lon: zod_1.z
111
+ .number()
112
+ .gte(-180)
113
+ .lte(180)
114
+ .describe('Southwest longitude coordinate'),
115
+ })
116
+ .strict(),
117
+ })
118
+ .strict()
119
+ .describe('Bounding box coordinates for the country'),
120
+ })
121
+ .strict()
122
+ .safeParse(value[key]);
123
+ if (!result.success) {
124
+ ctx.addIssue({
125
+ path: [...ctx.path, key],
126
+ code: 'custom',
127
+ message: `Invalid input: Key matching regex /${key}/ must match schema`,
128
+ params: {
129
+ issues: result.error.issues,
130
+ },
131
+ });
132
+ }
133
+ }
134
+ if (!evaluated) {
135
+ const result = zod_1.z.never().safeParse(value[key]);
136
+ if (!result.success) {
137
+ ctx.addIssue({
138
+ path: [...ctx.path, key],
139
+ code: 'custom',
140
+ message: `Invalid input: must match catchall schema`,
141
+ params: {
142
+ issues: result.error.issues,
143
+ },
144
+ });
145
+ }
146
+ }
147
+ }
148
+ })
149
+ .describe('A mapping of country codes to country information including name, area, and bounding box coordinates');
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const foundationsCurriculums: z.ZodArray<z.ZodObject<{
3
+ curriculumId: z.ZodString;
4
+ sets: z.ZodArray<z.ZodString, "many">;
5
+ }, "strict", z.ZodTypeAny, {
6
+ curriculumId: string;
7
+ sets: string[];
8
+ }, {
9
+ curriculumId: string;
10
+ sets: string[];
11
+ }>, "many">;
12
+ export type FoundationsCurriculums = z.infer<typeof foundationsCurriculums>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.foundationsCurriculums = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.foundationsCurriculums = zod_1.z.array(zod_1.z
6
+ .object({
7
+ curriculumId: zod_1.z.string(),
8
+ sets: zod_1.z
9
+ .array(zod_1.z.string())
10
+ .describe('An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json.'),
11
+ })
12
+ .strict());
@@ -0,0 +1,202 @@
1
+ import { z } from 'zod';
2
+ export declare const introductionTranslations: z.ZodRecord<z.ZodString, z.ZodObject<{
3
+ introduction: z.ZodString;
4
+ introductions: z.ZodObject<{
5
+ '03.005.001': z.ZodString;
6
+ '03.005.002': z.ZodString;
7
+ '03.005.003': z.ZodString;
8
+ '03.005.004': z.ZodString;
9
+ '03.005.005': z.ZodString;
10
+ '03.005.006': z.ZodString;
11
+ '03.005.007': z.ZodString;
12
+ '03.005.008': z.ZodString;
13
+ '03.005.009': z.ZodString;
14
+ '03.005.010': z.ZodString;
15
+ '03.005.011': z.ZodString;
16
+ '03.005.012': z.ZodString;
17
+ '03.006.001': z.ZodString;
18
+ '03.006.002': z.ZodString;
19
+ '03.006.003': z.ZodString;
20
+ '03.006.004': z.ZodString;
21
+ '03.006.005': z.ZodString;
22
+ '03.006.006': z.ZodString;
23
+ '03.006.007': z.ZodString;
24
+ '03.006.008': z.ZodString;
25
+ '03.006.009': z.ZodString;
26
+ '03.006.010': z.ZodString;
27
+ '03.006.011': z.ZodString;
28
+ '03.006.012': z.ZodString;
29
+ '03.007.001': z.ZodString;
30
+ '03.007.002': z.ZodString;
31
+ '03.007.003': z.ZodString;
32
+ '03.007.004': z.ZodString;
33
+ '03.007.005': z.ZodString;
34
+ '03.007.006': z.ZodString;
35
+ '03.007.007': z.ZodString;
36
+ '03.007.008': z.ZodString;
37
+ '03.007.009': z.ZodString;
38
+ '03.007.010': z.ZodString;
39
+ '03.007.011': z.ZodString;
40
+ '03.007.012': z.ZodString;
41
+ eq: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ '03.005.001': string;
44
+ '03.005.002': string;
45
+ '03.005.003': string;
46
+ '03.005.004': string;
47
+ '03.005.005': string;
48
+ '03.005.006': string;
49
+ '03.005.007': string;
50
+ '03.005.008': string;
51
+ '03.005.009': string;
52
+ '03.005.010': string;
53
+ '03.005.011': string;
54
+ '03.005.012': string;
55
+ '03.006.001': string;
56
+ '03.006.002': string;
57
+ '03.006.003': string;
58
+ '03.006.004': string;
59
+ '03.006.005': string;
60
+ '03.006.006': string;
61
+ '03.006.007': string;
62
+ '03.006.008': string;
63
+ '03.006.009': string;
64
+ '03.006.010': string;
65
+ '03.006.011': string;
66
+ '03.006.012': string;
67
+ '03.007.001': string;
68
+ '03.007.002': string;
69
+ '03.007.003': string;
70
+ '03.007.004': string;
71
+ '03.007.005': string;
72
+ '03.007.006': string;
73
+ '03.007.007': string;
74
+ '03.007.008': string;
75
+ '03.007.009': string;
76
+ '03.007.010': string;
77
+ '03.007.011': string;
78
+ '03.007.012': string;
79
+ eq: string;
80
+ }, {
81
+ '03.005.001': string;
82
+ '03.005.002': string;
83
+ '03.005.003': string;
84
+ '03.005.004': string;
85
+ '03.005.005': string;
86
+ '03.005.006': string;
87
+ '03.005.007': string;
88
+ '03.005.008': string;
89
+ '03.005.009': string;
90
+ '03.005.010': string;
91
+ '03.005.011': string;
92
+ '03.005.012': string;
93
+ '03.006.001': string;
94
+ '03.006.002': string;
95
+ '03.006.003': string;
96
+ '03.006.004': string;
97
+ '03.006.005': string;
98
+ '03.006.006': string;
99
+ '03.006.007': string;
100
+ '03.006.008': string;
101
+ '03.006.009': string;
102
+ '03.006.010': string;
103
+ '03.006.011': string;
104
+ '03.006.012': string;
105
+ '03.007.001': string;
106
+ '03.007.002': string;
107
+ '03.007.003': string;
108
+ '03.007.004': string;
109
+ '03.007.005': string;
110
+ '03.007.006': string;
111
+ '03.007.007': string;
112
+ '03.007.008': string;
113
+ '03.007.009': string;
114
+ '03.007.010': string;
115
+ '03.007.011': string;
116
+ '03.007.012': string;
117
+ eq: string;
118
+ }>;
119
+ }, "strict", z.ZodTypeAny, {
120
+ introduction: string;
121
+ introductions: {
122
+ '03.005.001': string;
123
+ '03.005.002': string;
124
+ '03.005.003': string;
125
+ '03.005.004': string;
126
+ '03.005.005': string;
127
+ '03.005.006': string;
128
+ '03.005.007': string;
129
+ '03.005.008': string;
130
+ '03.005.009': string;
131
+ '03.005.010': string;
132
+ '03.005.011': string;
133
+ '03.005.012': string;
134
+ '03.006.001': string;
135
+ '03.006.002': string;
136
+ '03.006.003': string;
137
+ '03.006.004': string;
138
+ '03.006.005': string;
139
+ '03.006.006': string;
140
+ '03.006.007': string;
141
+ '03.006.008': string;
142
+ '03.006.009': string;
143
+ '03.006.010': string;
144
+ '03.006.011': string;
145
+ '03.006.012': string;
146
+ '03.007.001': string;
147
+ '03.007.002': string;
148
+ '03.007.003': string;
149
+ '03.007.004': string;
150
+ '03.007.005': string;
151
+ '03.007.006': string;
152
+ '03.007.007': string;
153
+ '03.007.008': string;
154
+ '03.007.009': string;
155
+ '03.007.010': string;
156
+ '03.007.011': string;
157
+ '03.007.012': string;
158
+ eq: string;
159
+ };
160
+ }, {
161
+ introduction: string;
162
+ introductions: {
163
+ '03.005.001': string;
164
+ '03.005.002': string;
165
+ '03.005.003': string;
166
+ '03.005.004': string;
167
+ '03.005.005': string;
168
+ '03.005.006': string;
169
+ '03.005.007': string;
170
+ '03.005.008': string;
171
+ '03.005.009': string;
172
+ '03.005.010': string;
173
+ '03.005.011': string;
174
+ '03.005.012': string;
175
+ '03.006.001': string;
176
+ '03.006.002': string;
177
+ '03.006.003': string;
178
+ '03.006.004': string;
179
+ '03.006.005': string;
180
+ '03.006.006': string;
181
+ '03.006.007': string;
182
+ '03.006.008': string;
183
+ '03.006.009': string;
184
+ '03.006.010': string;
185
+ '03.006.011': string;
186
+ '03.006.012': string;
187
+ '03.007.001': string;
188
+ '03.007.002': string;
189
+ '03.007.003': string;
190
+ '03.007.004': string;
191
+ '03.007.005': string;
192
+ '03.007.006': string;
193
+ '03.007.007': string;
194
+ '03.007.008': string;
195
+ '03.007.009': string;
196
+ '03.007.010': string;
197
+ '03.007.011': string;
198
+ '03.007.012': string;
199
+ eq: string;
200
+ };
201
+ }>>;
202
+ export type IntroductionTranslations = z.infer<typeof introductionTranslations>;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.introductionTranslations = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.introductionTranslations = zod_1.z
6
+ .record(zod_1.z
7
+ .object({
8
+ introduction: zod_1.z.string(),
9
+ introductions: zod_1.z
10
+ .object({
11
+ '03.005.001': zod_1.z.string().min(1),
12
+ '03.005.002': zod_1.z.string().min(1),
13
+ '03.005.003': zod_1.z.string().min(1),
14
+ '03.005.004': zod_1.z.string().min(1),
15
+ '03.005.005': zod_1.z.string().min(1),
16
+ '03.005.006': zod_1.z.string().min(1),
17
+ '03.005.007': zod_1.z.string().min(1),
18
+ '03.005.008': zod_1.z.string().min(1),
19
+ '03.005.009': zod_1.z.string().min(1),
20
+ '03.005.010': zod_1.z.string().min(1),
21
+ '03.005.011': zod_1.z.string().min(1),
22
+ '03.005.012': zod_1.z.string().min(1),
23
+ '03.006.001': zod_1.z.string().min(1),
24
+ '03.006.002': zod_1.z.string().min(1),
25
+ '03.006.003': zod_1.z.string().min(1),
26
+ '03.006.004': zod_1.z.string().min(1),
27
+ '03.006.005': zod_1.z.string().min(1),
28
+ '03.006.006': zod_1.z.string().min(1),
29
+ '03.006.007': zod_1.z.string().min(1),
30
+ '03.006.008': zod_1.z.string().min(1),
31
+ '03.006.009': zod_1.z.string().min(1),
32
+ '03.006.010': zod_1.z.string().min(1),
33
+ '03.006.011': zod_1.z.string().min(1),
34
+ '03.006.012': zod_1.z.string().min(1),
35
+ '03.007.001': zod_1.z.string().min(1),
36
+ '03.007.002': zod_1.z.string().min(1),
37
+ '03.007.003': zod_1.z.string().min(1),
38
+ '03.007.004': zod_1.z.string().min(1),
39
+ '03.007.005': zod_1.z.string().min(1),
40
+ '03.007.006': zod_1.z.string().min(1),
41
+ '03.007.007': zod_1.z.string().min(1),
42
+ '03.007.008': zod_1.z.string().min(1),
43
+ '03.007.009': zod_1.z.string().min(1),
44
+ '03.007.010': zod_1.z.string().min(1),
45
+ '03.007.011': zod_1.z.string().min(1),
46
+ '03.007.012': zod_1.z.string().min(1),
47
+ eq: zod_1.z.string().min(1),
48
+ })
49
+ .describe("Mapping of lesson identifiers (NN.NNN.NNN) or 'eq' to translated strings."),
50
+ })
51
+ .strict()
52
+ .describe('Translations for a single language (identified by a 3-letter code).'))
53
+ .describe("Schema for introductionTranslations_json. Root keys are 3-letter language identifiers (ISO-639 style). Each language object contains an 'introduction' string and an 'introductions' object mapping lesson identifiers (e.g. 03.005.001) or the key 'eq' to localized string content.");
@@ -0,0 +1,148 @@
1
+ import { z } from 'zod';
2
+ export declare const languages: z.ZodArray<z.ZodObject<{
3
+ languageId: z.ZodString;
4
+ exonym: z.ZodString;
5
+ appInterface: z.ZodBoolean;
6
+ bcpLanguageId: z.ZodOptional<z.ZodString>;
7
+ bible: z.ZodOptional<z.ZodString>;
8
+ bibleFallback: z.ZodOptional<z.ZodString>;
9
+ countries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ crowdinId: z.ZodOptional<z.ZodString>;
11
+ curriculum: z.ZodObject<{
12
+ foundations: z.ZodString;
13
+ questions: z.ZodString;
14
+ topics: z.ZodUnion<[z.ZodString, z.ZodNull]>;
15
+ }, "strict", z.ZodTypeAny, {
16
+ foundations: string;
17
+ questions: string;
18
+ topics: string | null;
19
+ }, {
20
+ foundations: string;
21
+ questions: string;
22
+ topics: string | null;
23
+ }>;
24
+ dmCourseStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
25
+ endonym: z.ZodOptional<z.ZodString>;
26
+ gdmcStatus: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
27
+ givingId: z.ZodOptional<z.ZodString>;
28
+ hideDonateButton: z.ZodOptional<z.ZodBoolean>;
29
+ introBridge: z.ZodOptional<z.ZodString>;
30
+ likelyAppInterfacePair: z.ZodOptional<z.ZodString>;
31
+ mmsLanguageId: z.ZodOptional<z.ZodString>;
32
+ notes: z.ZodOptional<z.ZodString>;
33
+ 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
+ speakersPrimary: z.ZodOptional<z.ZodNumber>;
37
+ speakersSecondary: z.ZodOptional<z.ZodNumber>;
38
+ 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"]>>;
43
+ supportsSolarSpeakers: z.ZodOptional<z.ZodBoolean>;
44
+ titles: z.ZodOptional<z.ZodString>;
45
+ unsupportedDbsSets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46
+ uuid: z.ZodString;
47
+ videoBridgeLanguage: z.ZodOptional<z.ZodString>;
48
+ web: z.ZodOptional<z.ZodObject<{
49
+ name: z.ZodString;
50
+ code: z.ZodString;
51
+ status: z.ZodEnum<["notStarted", "inProgress", "testing", "launched"]>;
52
+ }, "strict", z.ZodTypeAny, {
53
+ code: string;
54
+ status: "notStarted" | "inProgress" | "testing" | "launched";
55
+ name: string;
56
+ }, {
57
+ code: string;
58
+ status: "notStarted" | "inProgress" | "testing" | "launched";
59
+ name: string;
60
+ }>>;
61
+ }, "strict", z.ZodTypeAny, {
62
+ status: "notStarted" | "inProgress" | "testing" | "launched";
63
+ languageId: string;
64
+ exonym: string;
65
+ appInterface: boolean;
66
+ curriculum: {
67
+ foundations: string;
68
+ questions: 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
+ bcpLanguageId?: string | undefined;
77
+ bible?: 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?: "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" | undefined;
94
+ storeIdIos?: "ca" | "hr" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "id" | "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
+ code: string;
101
+ status: "notStarted" | "inProgress" | "testing" | "launched";
102
+ name: string;
103
+ } | undefined;
104
+ }, {
105
+ status: "notStarted" | "inProgress" | "testing" | "launched";
106
+ languageId: string;
107
+ exonym: string;
108
+ appInterface: boolean;
109
+ curriculum: {
110
+ foundations: string;
111
+ questions: 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
+ bcpLanguageId?: string | undefined;
120
+ bible?: 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?: "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" | undefined;
137
+ storeIdIos?: "ca" | "hr" | "nl-NL" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "id" | "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
+ code: string;
144
+ status: "notStarted" | "inProgress" | "testing" | "launched";
145
+ name: string;
146
+ } | undefined;
147
+ }>, "many">;
148
+ export type Languages = z.infer<typeof languages>;