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
@@ -5,17 +5,5 @@ 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
- }, "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">;
8
+ }, z.core.$strict>>;
21
9
  export type CrowdinLanguages = z.infer<typeof CrowdinLanguages>;
@@ -1,6 +1,6 @@
1
1
  export declare const crowdinLanguages: {
2
- name: string;
3
2
  crowdin_id: string;
3
+ name: string;
4
4
  iso: string;
5
5
  locale: string;
6
6
  duplicate_iso: boolean;
@@ -6,8 +6,10 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "array",
9
11
  "items": {
10
- "additionalProperties": false,
12
+ "type": "object",
11
13
  "properties": {
12
14
  "curriculumId": {
13
15
  "type": "string"
@@ -16,18 +18,24 @@
16
18
  "type": "string"
17
19
  },
18
20
  "sets": {
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.",
21
+ "type": "array",
20
22
  "items": {
21
23
  "type": "string"
22
24
  },
23
- "type": "array"
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."
24
26
  }
25
27
  },
26
- "required": ["curriculumId", "crowdinProjectId", "sets"],
27
- "type": "object"
28
- },
29
- "type": "array"
28
+ "required": [
29
+ "curriculumId",
30
+ "crowdinProjectId",
31
+ "sets"
32
+ ],
33
+ "additionalProperties": false
34
+ }
30
35
  }
31
36
  },
32
- "required": ["$schema", "data"]
37
+ "required": [
38
+ "$schema",
39
+ "data"
40
+ ]
33
41
  }
@@ -2,14 +2,6 @@ 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, "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">;
5
+ sets: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strict>>;
15
7
  export type CurriculumFoundations = z.infer<typeof CurriculumFoundations>;
@@ -6,8 +6,10 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "array",
9
11
  "items": {
10
- "additionalProperties": false,
12
+ "type": "object",
11
13
  "properties": {
12
14
  "curriculumId": {
13
15
  "type": "string"
@@ -16,32 +18,41 @@
16
18
  "type": "string"
17
19
  },
18
20
  "questionSets": {
19
- "description": "An array of question sets that make up this questions curriculum.",
21
+ "type": "array",
20
22
  "items": {
21
- "additionalProperties": false,
23
+ "type": "object",
22
24
  "properties": {
23
25
  "questionSetId": {
24
26
  "type": "string"
25
27
  },
26
28
  "questions": {
27
- "description": "An array of question ids that make up this question set.",
29
+ "type": "array",
28
30
  "items": {
29
31
  "type": "string"
30
32
  },
31
- "type": "array"
33
+ "description": "An array of question ids that make up this question set."
32
34
  }
33
35
  },
34
- "required": ["questionSetId", "questions"],
35
- "type": "object"
36
+ "required": [
37
+ "questionSetId",
38
+ "questions"
39
+ ],
40
+ "additionalProperties": false
36
41
  },
37
- "type": "array"
42
+ "description": "An array of question sets that make up this questions curriculum."
38
43
  }
39
44
  },
40
- "required": ["curriculumId", "crowdinProjectId", "questionSets"],
41
- "type": "object"
42
- },
43
- "type": "array"
45
+ "required": [
46
+ "curriculumId",
47
+ "crowdinProjectId",
48
+ "questionSets"
49
+ ],
50
+ "additionalProperties": false
51
+ }
44
52
  }
45
53
  },
46
- "required": ["$schema", "data"]
54
+ "required": [
55
+ "$schema",
56
+ "data"
57
+ ]
47
58
  }
@@ -4,27 +4,7 @@ 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, "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">;
7
+ questions: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strict>>;
9
+ }, z.core.$strict>>;
30
10
  export type CurriculumQuestions = z.infer<typeof CurriculumQuestions>;
@@ -6,8 +6,10 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
10
+ "type": "array",
9
11
  "items": {
10
- "additionalProperties": false,
12
+ "type": "object",
11
13
  "properties": {
12
14
  "curriculumId": {
13
15
  "type": "string"
@@ -16,18 +18,24 @@
16
18
  "type": "string"
17
19
  },
18
20
  "sets": {
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.",
21
+ "type": "array",
20
22
  "items": {
21
23
  "type": "string"
22
24
  },
23
- "type": "array"
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."
24
26
  }
25
27
  },
26
- "required": ["curriculumId", "crowdinProjectId", "sets"],
27
- "type": "object"
28
- },
29
- "type": "array"
28
+ "required": [
29
+ "curriculumId",
30
+ "crowdinProjectId",
31
+ "sets"
32
+ ],
33
+ "additionalProperties": false
34
+ }
30
35
  }
31
36
  },
32
- "required": ["$schema", "data"]
37
+ "required": [
38
+ "$schema",
39
+ "data"
40
+ ]
33
41
  }
@@ -2,14 +2,6 @@ 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, "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">;
5
+ sets: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strict>>;
15
7
  export type CurriculumTopics = z.infer<typeof CurriculumTopics>;
@@ -6,6 +6,7 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
9
10
  "type": "array",
10
11
  "items": {
11
12
  "type": "string",
@@ -14,6 +15,8 @@
14
15
  "description": "List of language names that iOS VoiceOver supports"
15
16
  }
16
17
  },
17
- "required": ["data"],
18
- "description": "Languages supported by iOS VoiceOver accessibility feature"
18
+ "required": [
19
+ "$schema",
20
+ "data"
21
+ ]
19
22
  }
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const IosVoiceOverLanguages: z.ZodArray<z.ZodString, "many">;
2
+ export declare const IosVoiceOverLanguages: z.ZodArray<z.ZodString>;
3
3
  export type IosVoiceOverLanguages = z.infer<typeof IosVoiceOverLanguages>;
@@ -6,7 +6,11 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
9
10
  "type": "object",
11
+ "propertyNames": {
12
+ "type": "string"
13
+ },
10
14
  "additionalProperties": {
11
15
  "type": "string",
12
16
  "description": "Language name in English"
@@ -14,6 +18,8 @@
14
18
  "description": "Mapping of ISO 639-3 language codes to language names"
15
19
  }
16
20
  },
17
- "required": ["data"],
18
- "description": "ISO 639-3 language codes mapped to their English language names"
21
+ "required": [
22
+ "$schema",
23
+ "data"
24
+ ]
19
25
  }
@@ -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().describe('Language name in English'))
6
+ .record(zod_1.z.string(), zod_1.z.string().describe('Language name in English'))
7
7
  .describe('Mapping of ISO 639-3 language codes to language names');