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.
Files changed (124) hide show
  1. package/dist/data/areas/areas.schema.json +53 -19
  2. package/dist/data/areas/areas.zod.d.ts +12 -15
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
  8. package/dist/data/bibleAudios/index.d.ts +2 -5
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +26 -27
  22. package/dist/data/clones/clones.zod.d.ts +24 -2
  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 +90 -91
  26. package/dist/data/countries/countries.zod.d.ts +88 -19
  27. package/dist/data/countries/countries.zod.js +138 -49
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +37702 -0
  45. package/dist/data/languageAssets/languageAssets.schema.json +12 -15
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +43 -3
  48. package/dist/data/languages/index.d.ts +4 -8
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +89 -136
  51. package/dist/data/languages/languages.zod.d.ts +116 -194
  52. package/dist/data/languages/languages.zod.js +1 -7
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
  56. package/dist/data/notification/notification.schema.json +57 -67
  57. package/dist/data/notification/notification.zod.d.ts +39 -15
  58. package/dist/data/notification/notification.zod.js +134 -4
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
  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 +14 -6
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +6 -12
  73. package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
  74. package/dist/data/scripts/scripts.schema.json +4 -11
  75. package/dist/data/scripts/scripts.zod.d.ts +7 -1
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +22 -25
  78. package/dist/data/sets/sets.zod.d.ts +39 -61
  79. package/dist/data/specialIds/specialIds.schema.json +1 -5
  80. package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +1 -0
  83. package/dist/data/translationsApp/translationsApp.schema.json +668 -667
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +884 -0
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +20694 -11135
  97. package/dist/data/translationsSet/translationsSet.schema.json +56 -52
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +1 -14
  111. package/dist/types/articles.d.ts +344 -94
  112. package/dist/types/articles.js +13 -13
  113. package/dist/types/bibleChapters.d.ts +91 -13
  114. package/dist/types/bibleChapters.js +1 -1
  115. package/dist/types/feedback.d.ts +41 -3
  116. package/dist/types/feedback.js +1 -1
  117. package/dist/types/microLessons.d.ts +869 -70
  118. package/dist/types/microLessons.js +29 -29
  119. package/dist/types/notifications.d.ts +119 -19
  120. package/dist/types/scripturePassages.d.ts +34 -4
  121. package/dist/types/users.d.ts +776 -221
  122. package/dist/types/users.js +1 -2
  123. package/dist/types/webContent.d.ts +20 -8
  124. package/package.json +3 -3
@@ -6,10 +6,10 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
9
  "type": "array",
11
10
  "items": {
12
11
  "type": "object",
12
+ "additionalProperties": false,
13
13
  "properties": {
14
14
  "crowdin_id": {
15
15
  "type": "string",
@@ -32,19 +32,10 @@
32
32
  "description": "Whether this ISO code is duplicated across multiple Crowdin languages"
33
33
  }
34
34
  },
35
- "required": [
36
- "crowdin_id",
37
- "name",
38
- "iso",
39
- "locale",
40
- "duplicate_iso"
41
- ],
42
- "additionalProperties": false
35
+ "required": ["crowdin_id", "name", "iso", "locale", "duplicate_iso"]
43
36
  }
44
37
  }
45
38
  },
46
- "required": [
47
- "$schema",
48
- "data"
49
- ]
39
+ "required": ["data"],
40
+ "description": "Mapping of Crowdin language identifiers to ISO codes and locales"
50
41
  }
@@ -5,5 +5,17 @@ export declare const CrowdinLanguages: z.ZodArray<z.ZodObject<{
5
5
  iso: z.ZodString;
6
6
  locale: z.ZodString;
7
7
  duplicate_iso: z.ZodBoolean;
8
- }, z.core.$strict>>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ name: string;
10
+ crowdin_id: string;
11
+ iso: string;
12
+ locale: string;
13
+ duplicate_iso: boolean;
14
+ }, {
15
+ name: string;
16
+ crowdin_id: string;
17
+ iso: string;
18
+ locale: string;
19
+ duplicate_iso: boolean;
20
+ }>, "many">;
9
21
  export type CrowdinLanguages = z.infer<typeof CrowdinLanguages>;
@@ -1,6 +1,6 @@
1
1
  export declare const crowdinLanguages: {
2
- crowdin_id: string;
3
2
  name: string;
3
+ crowdin_id: string;
4
4
  iso: string;
5
5
  locale: string;
6
6
  duplicate_iso: boolean;
@@ -6,10 +6,8 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
10
+ "additionalProperties": false,
13
11
  "properties": {
14
12
  "curriculumId": {
15
13
  "type": "string"
@@ -18,24 +16,18 @@
18
16
  "type": "string"
19
17
  },
20
18
  "sets": {
21
- "type": "array",
19
+ "description": "An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json.",
22
20
  "items": {
23
21
  "type": "string"
24
22
  },
25
- "description": "An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json."
23
+ "type": "array"
26
24
  }
27
25
  },
28
- "required": [
29
- "curriculumId",
30
- "crowdinProjectId",
31
- "sets"
32
- ],
33
- "additionalProperties": false
34
- }
26
+ "required": ["curriculumId", "crowdinProjectId", "sets"],
27
+ "type": "object"
28
+ },
29
+ "type": "array"
35
30
  }
36
31
  },
37
- "required": [
38
- "$schema",
39
- "data"
40
- ]
32
+ "required": ["$schema", "data"]
41
33
  }
@@ -2,6 +2,14 @@ import { z } from 'zod';
2
2
  export declare const CurriculumFoundations: z.ZodArray<z.ZodObject<{
3
3
  curriculumId: z.ZodString;
4
4
  crowdinProjectId: z.ZodString;
5
- sets: z.ZodArray<z.ZodString>;
6
- }, z.core.$strict>>;
5
+ sets: z.ZodArray<z.ZodString, "many">;
6
+ }, "strict", z.ZodTypeAny, {
7
+ curriculumId: string;
8
+ crowdinProjectId: string;
9
+ sets: string[];
10
+ }, {
11
+ curriculumId: string;
12
+ crowdinProjectId: string;
13
+ sets: string[];
14
+ }>, "many">;
7
15
  export type CurriculumFoundations = z.infer<typeof CurriculumFoundations>;
@@ -6,10 +6,8 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
10
+ "additionalProperties": false,
13
11
  "properties": {
14
12
  "curriculumId": {
15
13
  "type": "string"
@@ -18,41 +16,32 @@
18
16
  "type": "string"
19
17
  },
20
18
  "questionSets": {
21
- "type": "array",
19
+ "description": "An array of question sets that make up this questions curriculum.",
22
20
  "items": {
23
- "type": "object",
21
+ "additionalProperties": false,
24
22
  "properties": {
25
23
  "questionSetId": {
26
24
  "type": "string"
27
25
  },
28
26
  "questions": {
29
- "type": "array",
27
+ "description": "An array of question ids that make up this question set.",
30
28
  "items": {
31
29
  "type": "string"
32
30
  },
33
- "description": "An array of question ids that make up this question set."
31
+ "type": "array"
34
32
  }
35
33
  },
36
- "required": [
37
- "questionSetId",
38
- "questions"
39
- ],
40
- "additionalProperties": false
34
+ "required": ["questionSetId", "questions"],
35
+ "type": "object"
41
36
  },
42
- "description": "An array of question sets that make up this questions curriculum."
37
+ "type": "array"
43
38
  }
44
39
  },
45
- "required": [
46
- "curriculumId",
47
- "crowdinProjectId",
48
- "questionSets"
49
- ],
50
- "additionalProperties": false
51
- }
40
+ "required": ["curriculumId", "crowdinProjectId", "questionSets"],
41
+ "type": "object"
42
+ },
43
+ "type": "array"
52
44
  }
53
45
  },
54
- "required": [
55
- "$schema",
56
- "data"
57
- ]
46
+ "required": ["$schema", "data"]
58
47
  }
@@ -4,7 +4,27 @@ export declare const CurriculumQuestions: z.ZodArray<z.ZodObject<{
4
4
  crowdinProjectId: z.ZodString;
5
5
  questionSets: z.ZodArray<z.ZodObject<{
6
6
  questionSetId: z.ZodString;
7
- questions: z.ZodArray<z.ZodString>;
8
- }, z.core.$strict>>;
9
- }, z.core.$strict>>;
7
+ questions: z.ZodArray<z.ZodString, "many">;
8
+ }, "strict", z.ZodTypeAny, {
9
+ questionSetId: string;
10
+ questions: string[];
11
+ }, {
12
+ questionSetId: string;
13
+ questions: string[];
14
+ }>, "many">;
15
+ }, "strict", z.ZodTypeAny, {
16
+ curriculumId: string;
17
+ crowdinProjectId: string;
18
+ questionSets: {
19
+ questionSetId: string;
20
+ questions: string[];
21
+ }[];
22
+ }, {
23
+ curriculumId: string;
24
+ crowdinProjectId: string;
25
+ questionSets: {
26
+ questionSetId: string;
27
+ questions: string[];
28
+ }[];
29
+ }>, "many">;
10
30
  export type CurriculumQuestions = z.infer<typeof CurriculumQuestions>;
@@ -6,10 +6,8 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
10
+ "additionalProperties": false,
13
11
  "properties": {
14
12
  "curriculumId": {
15
13
  "type": "string"
@@ -18,24 +16,18 @@
18
16
  "type": "string"
19
17
  },
20
18
  "sets": {
21
- "type": "array",
19
+ "description": "An array of set ids that make up this topics curriculum. Set ids must be linked to valid sets present in data/sets.json.",
22
20
  "items": {
23
21
  "type": "string"
24
22
  },
25
- "description": "An array of set ids that make up this topics curriculum. Set ids must be linked to valid sets present in data/sets.json."
23
+ "type": "array"
26
24
  }
27
25
  },
28
- "required": [
29
- "curriculumId",
30
- "crowdinProjectId",
31
- "sets"
32
- ],
33
- "additionalProperties": false
34
- }
26
+ "required": ["curriculumId", "crowdinProjectId", "sets"],
27
+ "type": "object"
28
+ },
29
+ "type": "array"
35
30
  }
36
31
  },
37
- "required": [
38
- "$schema",
39
- "data"
40
- ]
32
+ "required": ["$schema", "data"]
41
33
  }
@@ -2,6 +2,14 @@ import { z } from 'zod';
2
2
  export declare const CurriculumTopics: z.ZodArray<z.ZodObject<{
3
3
  curriculumId: z.ZodString;
4
4
  crowdinProjectId: z.ZodString;
5
- sets: z.ZodArray<z.ZodString>;
6
- }, z.core.$strict>>;
5
+ sets: z.ZodArray<z.ZodString, "many">;
6
+ }, "strict", z.ZodTypeAny, {
7
+ curriculumId: string;
8
+ crowdinProjectId: string;
9
+ sets: string[];
10
+ }, {
11
+ curriculumId: string;
12
+ crowdinProjectId: string;
13
+ sets: string[];
14
+ }>, "many">;
7
15
  export type CurriculumTopics = z.infer<typeof CurriculumTopics>;
@@ -6,7 +6,6 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
9
  "type": "array",
11
10
  "items": {
12
11
  "type": "string",
@@ -15,8 +14,6 @@
15
14
  "description": "List of language names that iOS VoiceOver supports"
16
15
  }
17
16
  },
18
- "required": [
19
- "$schema",
20
- "data"
21
- ]
17
+ "required": ["data"],
18
+ "description": "Languages supported by iOS VoiceOver accessibility feature"
22
19
  }
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const IosVoiceOverLanguages: z.ZodArray<z.ZodString>;
2
+ export declare const IosVoiceOverLanguages: z.ZodArray<z.ZodString, "many">;
3
3
  export type IosVoiceOverLanguages = z.infer<typeof IosVoiceOverLanguages>;
@@ -6,11 +6,7 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
9
  "type": "object",
11
- "propertyNames": {
12
- "type": "string"
13
- },
14
10
  "additionalProperties": {
15
11
  "type": "string",
16
12
  "description": "Language name in English"
@@ -18,8 +14,6 @@
18
14
  "description": "Mapping of ISO 639-3 language codes to language names"
19
15
  }
20
16
  },
21
- "required": [
22
- "$schema",
23
- "data"
24
- ]
17
+ "required": ["data"],
18
+ "description": "ISO 639-3 language codes mapped to their English language names"
25
19
  }
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Iso6933LanguageCodes = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.Iso6933LanguageCodes = zod_1.z
6
- .record(zod_1.z.string(), zod_1.z.string().describe('Language name in English'))
6
+ .record(zod_1.z.string().describe('Language name in English'))
7
7
  .describe('Mapping of ISO 639-3 language codes to language names');