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
@@ -1,20 +1,13 @@
1
- import z from 'zod/v4';
1
+ import z from 'zod';
2
2
  export declare const MicroLessonSchema: z.ZodObject<{
3
3
  title: z.ZodString;
4
4
  subtitle: z.ZodOptional<z.ZodString>;
5
- date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
5
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
6
6
  isDraft: z.ZodOptional<z.ZodBoolean>;
7
7
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
8
- platform: z.ZodEnum<{
9
- "Web Only": "Web Only";
10
- "App Only": "App Only";
11
- All: "All";
12
- }>;
8
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
13
9
  image: z.ZodOptional<z.ZodString>;
14
- category: z.ZodEnum<{
15
- "Case Studies": "Case Studies";
16
- "How Tos": "How Tos";
17
- }>;
10
+ category: z.ZodEnum<["Case Studies", "How Tos"]>;
18
11
  campaign: z.ZodOptional<z.ZodString>;
19
12
  pages: z.ZodArray<z.ZodObject<{
20
13
  heading: z.ZodString;
@@ -24,54 +17,229 @@ export declare const MicroLessonSchema: z.ZodObject<{
24
17
  audio: z.ZodOptional<z.ZodObject<{
25
18
  audioUrl: z.ZodString;
26
19
  loop: z.ZodOptional<z.ZodBoolean>;
27
- }, z.core.$strip>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ audioUrl: string;
22
+ loop?: boolean | undefined;
23
+ }, {
24
+ audioUrl: string;
25
+ loop?: boolean | undefined;
26
+ }>>;
28
27
  video: z.ZodOptional<z.ZodObject<{
29
28
  videoUrl: z.ZodString;
30
29
  autoplay: z.ZodOptional<z.ZodBoolean>;
31
30
  loop: z.ZodOptional<z.ZodBoolean>;
32
31
  disableControls: z.ZodOptional<z.ZodBoolean>;
33
- }, z.core.$strip>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ videoUrl: string;
34
+ loop?: boolean | undefined;
35
+ autoplay?: boolean | undefined;
36
+ disableControls?: boolean | undefined;
37
+ }, {
38
+ videoUrl: string;
39
+ loop?: boolean | undefined;
40
+ autoplay?: boolean | undefined;
41
+ disableControls?: boolean | undefined;
42
+ }>>;
34
43
  textInput: z.ZodOptional<z.ZodObject<{
35
44
  show: z.ZodBoolean;
36
45
  placeholder: z.ZodOptional<z.ZodString>;
37
46
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
38
47
  prefilledText: z.ZodOptional<z.ZodString>;
39
- }, z.core.$strip>>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ show: boolean;
50
+ placeholder?: string | undefined;
51
+ showCopyButton?: boolean | undefined;
52
+ prefilledText?: string | undefined;
53
+ }, {
54
+ show: boolean;
55
+ placeholder?: string | undefined;
56
+ showCopyButton?: boolean | undefined;
57
+ prefilledText?: string | undefined;
58
+ }>>;
40
59
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
60
  heading: z.ZodOptional<z.ZodString>;
42
61
  body: z.ZodOptional<z.ZodString>;
43
- }, z.core.$strip>>>;
44
- platform: z.ZodOptional<z.ZodEnum<{
45
- "Web Only": "Web Only";
46
- "App Only": "App Only";
47
- All: "All";
48
- }>>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ body?: string | undefined;
64
+ heading?: string | undefined;
65
+ }, {
66
+ body?: string | undefined;
67
+ heading?: string | undefined;
68
+ }>, "many">>;
69
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
49
70
  notification: z.ZodOptional<z.ZodObject<{
50
71
  title: z.ZodString;
51
72
  body: z.ZodString;
52
73
  delayInHours: z.ZodNumber;
53
- }, z.core.$strip>>;
54
- }, z.core.$strip>>;
55
- }, z.core.$strip>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ title: string;
76
+ body: string;
77
+ delayInHours: number;
78
+ }, {
79
+ title: string;
80
+ body: string;
81
+ delayInHours: number;
82
+ }>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ heading: string;
85
+ icon?: string | undefined;
86
+ audio?: {
87
+ audioUrl: string;
88
+ loop?: boolean | undefined;
89
+ } | undefined;
90
+ body?: string | undefined;
91
+ video?: {
92
+ videoUrl: string;
93
+ loop?: boolean | undefined;
94
+ autoplay?: boolean | undefined;
95
+ disableControls?: boolean | undefined;
96
+ } | undefined;
97
+ notification?: {
98
+ title: string;
99
+ body: string;
100
+ delayInHours: number;
101
+ } | undefined;
102
+ platform?: "Web Only" | "App Only" | "All" | undefined;
103
+ image?: string | undefined;
104
+ textInput?: {
105
+ show: boolean;
106
+ placeholder?: string | undefined;
107
+ showCopyButton?: boolean | undefined;
108
+ prefilledText?: string | undefined;
109
+ } | undefined;
110
+ radioButtons?: {
111
+ body?: string | undefined;
112
+ heading?: string | undefined;
113
+ }[] | undefined;
114
+ }, {
115
+ heading: string;
116
+ icon?: string | undefined;
117
+ audio?: {
118
+ audioUrl: string;
119
+ loop?: boolean | undefined;
120
+ } | undefined;
121
+ body?: string | undefined;
122
+ video?: {
123
+ videoUrl: string;
124
+ loop?: boolean | undefined;
125
+ autoplay?: boolean | undefined;
126
+ disableControls?: boolean | undefined;
127
+ } | undefined;
128
+ notification?: {
129
+ title: string;
130
+ body: string;
131
+ delayInHours: number;
132
+ } | undefined;
133
+ platform?: "Web Only" | "App Only" | "All" | undefined;
134
+ image?: string | undefined;
135
+ textInput?: {
136
+ show: boolean;
137
+ placeholder?: string | undefined;
138
+ showCopyButton?: boolean | undefined;
139
+ prefilledText?: string | undefined;
140
+ } | undefined;
141
+ radioButtons?: {
142
+ body?: string | undefined;
143
+ heading?: string | undefined;
144
+ }[] | undefined;
145
+ }>, "many">;
146
+ }, "strip", z.ZodTypeAny, {
147
+ title: string;
148
+ category: "Case Studies" | "How Tos";
149
+ platform: "Web Only" | "App Only" | "All";
150
+ pages: {
151
+ heading: string;
152
+ icon?: string | undefined;
153
+ audio?: {
154
+ audioUrl: string;
155
+ loop?: boolean | undefined;
156
+ } | undefined;
157
+ body?: string | undefined;
158
+ video?: {
159
+ videoUrl: string;
160
+ loop?: boolean | undefined;
161
+ autoplay?: boolean | undefined;
162
+ disableControls?: boolean | undefined;
163
+ } | undefined;
164
+ notification?: {
165
+ title: string;
166
+ body: string;
167
+ delayInHours: number;
168
+ } | undefined;
169
+ platform?: "Web Only" | "App Only" | "All" | undefined;
170
+ image?: string | undefined;
171
+ textInput?: {
172
+ show: boolean;
173
+ placeholder?: string | undefined;
174
+ showCopyButton?: boolean | undefined;
175
+ prefilledText?: string | undefined;
176
+ } | undefined;
177
+ radioButtons?: {
178
+ body?: string | undefined;
179
+ heading?: string | undefined;
180
+ }[] | undefined;
181
+ }[];
182
+ date?: string | Date | undefined;
183
+ image?: string | undefined;
184
+ isDraft?: boolean | undefined;
185
+ seekerFriendly?: boolean | undefined;
186
+ subtitle?: string | undefined;
187
+ campaign?: string | undefined;
188
+ }, {
189
+ title: string;
190
+ category: "Case Studies" | "How Tos";
191
+ platform: "Web Only" | "App Only" | "All";
192
+ pages: {
193
+ heading: string;
194
+ icon?: string | undefined;
195
+ audio?: {
196
+ audioUrl: string;
197
+ loop?: boolean | undefined;
198
+ } | undefined;
199
+ body?: string | undefined;
200
+ video?: {
201
+ videoUrl: string;
202
+ loop?: boolean | undefined;
203
+ autoplay?: boolean | undefined;
204
+ disableControls?: boolean | undefined;
205
+ } | undefined;
206
+ notification?: {
207
+ title: string;
208
+ body: string;
209
+ delayInHours: number;
210
+ } | undefined;
211
+ platform?: "Web Only" | "App Only" | "All" | undefined;
212
+ image?: string | undefined;
213
+ textInput?: {
214
+ show: boolean;
215
+ placeholder?: string | undefined;
216
+ showCopyButton?: boolean | undefined;
217
+ prefilledText?: string | undefined;
218
+ } | undefined;
219
+ radioButtons?: {
220
+ body?: string | undefined;
221
+ heading?: string | undefined;
222
+ }[] | undefined;
223
+ }[];
224
+ date?: string | Date | undefined;
225
+ image?: string | undefined;
226
+ isDraft?: boolean | undefined;
227
+ seekerFriendly?: boolean | undefined;
228
+ subtitle?: string | undefined;
229
+ campaign?: string | undefined;
230
+ }>;
56
231
  export type MicroLesson = z.infer<typeof MicroLessonSchema>;
57
232
  export declare const ResponseMicroLessonSchema: z.ZodObject<{
58
233
  id: z.ZodString;
59
234
  data: z.ZodObject<{
60
235
  title: z.ZodString;
61
236
  subtitle: z.ZodOptional<z.ZodString>;
62
- date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
237
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
63
238
  isDraft: z.ZodOptional<z.ZodBoolean>;
64
239
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
65
- platform: z.ZodEnum<{
66
- "Web Only": "Web Only";
67
- "App Only": "App Only";
68
- All: "All";
69
- }>;
240
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
70
241
  image: z.ZodOptional<z.ZodString>;
71
- category: z.ZodEnum<{
72
- "Case Studies": "Case Studies";
73
- "How Tos": "How Tos";
74
- }>;
242
+ category: z.ZodEnum<["Case Studies", "How Tos"]>;
75
243
  campaign: z.ZodOptional<z.ZodString>;
76
244
  pages: z.ZodArray<z.ZodObject<{
77
245
  heading: z.ZodString;
@@ -81,36 +249,308 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
81
249
  audio: z.ZodOptional<z.ZodObject<{
82
250
  audioUrl: z.ZodString;
83
251
  loop: z.ZodOptional<z.ZodBoolean>;
84
- }, z.core.$strip>>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ audioUrl: string;
254
+ loop?: boolean | undefined;
255
+ }, {
256
+ audioUrl: string;
257
+ loop?: boolean | undefined;
258
+ }>>;
85
259
  video: z.ZodOptional<z.ZodObject<{
86
260
  videoUrl: z.ZodString;
87
261
  autoplay: z.ZodOptional<z.ZodBoolean>;
88
262
  loop: z.ZodOptional<z.ZodBoolean>;
89
263
  disableControls: z.ZodOptional<z.ZodBoolean>;
90
- }, z.core.$strip>>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ videoUrl: string;
266
+ loop?: boolean | undefined;
267
+ autoplay?: boolean | undefined;
268
+ disableControls?: boolean | undefined;
269
+ }, {
270
+ videoUrl: string;
271
+ loop?: boolean | undefined;
272
+ autoplay?: boolean | undefined;
273
+ disableControls?: boolean | undefined;
274
+ }>>;
91
275
  textInput: z.ZodOptional<z.ZodObject<{
92
276
  show: z.ZodBoolean;
93
277
  placeholder: z.ZodOptional<z.ZodString>;
94
278
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
95
279
  prefilledText: z.ZodOptional<z.ZodString>;
96
- }, z.core.$strip>>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ show: boolean;
282
+ placeholder?: string | undefined;
283
+ showCopyButton?: boolean | undefined;
284
+ prefilledText?: string | undefined;
285
+ }, {
286
+ show: boolean;
287
+ placeholder?: string | undefined;
288
+ showCopyButton?: boolean | undefined;
289
+ prefilledText?: string | undefined;
290
+ }>>;
97
291
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
292
  heading: z.ZodOptional<z.ZodString>;
99
293
  body: z.ZodOptional<z.ZodString>;
100
- }, z.core.$strip>>>;
101
- platform: z.ZodOptional<z.ZodEnum<{
102
- "Web Only": "Web Only";
103
- "App Only": "App Only";
104
- All: "All";
105
- }>>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ body?: string | undefined;
296
+ heading?: string | undefined;
297
+ }, {
298
+ body?: string | undefined;
299
+ heading?: string | undefined;
300
+ }>, "many">>;
301
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
106
302
  notification: z.ZodOptional<z.ZodObject<{
107
303
  title: z.ZodString;
108
304
  body: z.ZodString;
109
305
  delayInHours: z.ZodNumber;
110
- }, z.core.$strip>>;
111
- }, z.core.$strip>>;
112
- }, z.core.$strip>;
113
- }, z.core.$strip>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ title: string;
308
+ body: string;
309
+ delayInHours: number;
310
+ }, {
311
+ title: string;
312
+ body: string;
313
+ delayInHours: number;
314
+ }>>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ heading: string;
317
+ icon?: string | undefined;
318
+ audio?: {
319
+ audioUrl: string;
320
+ loop?: boolean | undefined;
321
+ } | undefined;
322
+ body?: string | undefined;
323
+ video?: {
324
+ videoUrl: string;
325
+ loop?: boolean | undefined;
326
+ autoplay?: boolean | undefined;
327
+ disableControls?: boolean | undefined;
328
+ } | undefined;
329
+ notification?: {
330
+ title: string;
331
+ body: string;
332
+ delayInHours: number;
333
+ } | undefined;
334
+ platform?: "Web Only" | "App Only" | "All" | undefined;
335
+ image?: string | undefined;
336
+ textInput?: {
337
+ show: boolean;
338
+ placeholder?: string | undefined;
339
+ showCopyButton?: boolean | undefined;
340
+ prefilledText?: string | undefined;
341
+ } | undefined;
342
+ radioButtons?: {
343
+ body?: string | undefined;
344
+ heading?: string | undefined;
345
+ }[] | undefined;
346
+ }, {
347
+ heading: string;
348
+ icon?: string | undefined;
349
+ audio?: {
350
+ audioUrl: string;
351
+ loop?: boolean | undefined;
352
+ } | undefined;
353
+ body?: string | undefined;
354
+ video?: {
355
+ videoUrl: string;
356
+ loop?: boolean | undefined;
357
+ autoplay?: boolean | undefined;
358
+ disableControls?: boolean | undefined;
359
+ } | undefined;
360
+ notification?: {
361
+ title: string;
362
+ body: string;
363
+ delayInHours: number;
364
+ } | undefined;
365
+ platform?: "Web Only" | "App Only" | "All" | undefined;
366
+ image?: string | undefined;
367
+ textInput?: {
368
+ show: boolean;
369
+ placeholder?: string | undefined;
370
+ showCopyButton?: boolean | undefined;
371
+ prefilledText?: string | undefined;
372
+ } | undefined;
373
+ radioButtons?: {
374
+ body?: string | undefined;
375
+ heading?: string | undefined;
376
+ }[] | undefined;
377
+ }>, "many">;
378
+ }, "strip", z.ZodTypeAny, {
379
+ title: string;
380
+ category: "Case Studies" | "How Tos";
381
+ platform: "Web Only" | "App Only" | "All";
382
+ pages: {
383
+ heading: string;
384
+ icon?: string | undefined;
385
+ audio?: {
386
+ audioUrl: string;
387
+ loop?: boolean | undefined;
388
+ } | undefined;
389
+ body?: string | undefined;
390
+ video?: {
391
+ videoUrl: string;
392
+ loop?: boolean | undefined;
393
+ autoplay?: boolean | undefined;
394
+ disableControls?: boolean | undefined;
395
+ } | undefined;
396
+ notification?: {
397
+ title: string;
398
+ body: string;
399
+ delayInHours: number;
400
+ } | undefined;
401
+ platform?: "Web Only" | "App Only" | "All" | undefined;
402
+ image?: string | undefined;
403
+ textInput?: {
404
+ show: boolean;
405
+ placeholder?: string | undefined;
406
+ showCopyButton?: boolean | undefined;
407
+ prefilledText?: string | undefined;
408
+ } | undefined;
409
+ radioButtons?: {
410
+ body?: string | undefined;
411
+ heading?: string | undefined;
412
+ }[] | undefined;
413
+ }[];
414
+ date?: string | Date | undefined;
415
+ image?: string | undefined;
416
+ isDraft?: boolean | undefined;
417
+ seekerFriendly?: boolean | undefined;
418
+ subtitle?: string | undefined;
419
+ campaign?: string | undefined;
420
+ }, {
421
+ title: string;
422
+ category: "Case Studies" | "How Tos";
423
+ platform: "Web Only" | "App Only" | "All";
424
+ pages: {
425
+ heading: string;
426
+ icon?: string | undefined;
427
+ audio?: {
428
+ audioUrl: string;
429
+ loop?: boolean | undefined;
430
+ } | undefined;
431
+ body?: string | undefined;
432
+ video?: {
433
+ videoUrl: string;
434
+ loop?: boolean | undefined;
435
+ autoplay?: boolean | undefined;
436
+ disableControls?: boolean | undefined;
437
+ } | undefined;
438
+ notification?: {
439
+ title: string;
440
+ body: string;
441
+ delayInHours: number;
442
+ } | undefined;
443
+ platform?: "Web Only" | "App Only" | "All" | undefined;
444
+ image?: string | undefined;
445
+ textInput?: {
446
+ show: boolean;
447
+ placeholder?: string | undefined;
448
+ showCopyButton?: boolean | undefined;
449
+ prefilledText?: string | undefined;
450
+ } | undefined;
451
+ radioButtons?: {
452
+ body?: string | undefined;
453
+ heading?: string | undefined;
454
+ }[] | undefined;
455
+ }[];
456
+ date?: string | Date | undefined;
457
+ image?: string | undefined;
458
+ isDraft?: boolean | undefined;
459
+ seekerFriendly?: boolean | undefined;
460
+ subtitle?: string | undefined;
461
+ campaign?: string | undefined;
462
+ }>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ id: string;
465
+ data: {
466
+ title: string;
467
+ category: "Case Studies" | "How Tos";
468
+ platform: "Web Only" | "App Only" | "All";
469
+ pages: {
470
+ heading: string;
471
+ icon?: string | undefined;
472
+ audio?: {
473
+ audioUrl: string;
474
+ loop?: boolean | undefined;
475
+ } | undefined;
476
+ body?: string | undefined;
477
+ video?: {
478
+ videoUrl: string;
479
+ loop?: boolean | undefined;
480
+ autoplay?: boolean | undefined;
481
+ disableControls?: boolean | undefined;
482
+ } | undefined;
483
+ notification?: {
484
+ title: string;
485
+ body: string;
486
+ delayInHours: number;
487
+ } | undefined;
488
+ platform?: "Web Only" | "App Only" | "All" | undefined;
489
+ image?: string | undefined;
490
+ textInput?: {
491
+ show: boolean;
492
+ placeholder?: string | undefined;
493
+ showCopyButton?: boolean | undefined;
494
+ prefilledText?: string | undefined;
495
+ } | undefined;
496
+ radioButtons?: {
497
+ body?: string | undefined;
498
+ heading?: string | undefined;
499
+ }[] | undefined;
500
+ }[];
501
+ date?: string | Date | undefined;
502
+ image?: string | undefined;
503
+ isDraft?: boolean | undefined;
504
+ seekerFriendly?: boolean | undefined;
505
+ subtitle?: string | undefined;
506
+ campaign?: string | undefined;
507
+ };
508
+ }, {
509
+ id: string;
510
+ data: {
511
+ title: string;
512
+ category: "Case Studies" | "How Tos";
513
+ platform: "Web Only" | "App Only" | "All";
514
+ pages: {
515
+ heading: string;
516
+ icon?: string | undefined;
517
+ audio?: {
518
+ audioUrl: string;
519
+ loop?: boolean | undefined;
520
+ } | undefined;
521
+ body?: string | undefined;
522
+ video?: {
523
+ videoUrl: string;
524
+ loop?: boolean | undefined;
525
+ autoplay?: boolean | undefined;
526
+ disableControls?: boolean | undefined;
527
+ } | undefined;
528
+ notification?: {
529
+ title: string;
530
+ body: string;
531
+ delayInHours: number;
532
+ } | undefined;
533
+ platform?: "Web Only" | "App Only" | "All" | undefined;
534
+ image?: string | undefined;
535
+ textInput?: {
536
+ show: boolean;
537
+ placeholder?: string | undefined;
538
+ showCopyButton?: boolean | undefined;
539
+ prefilledText?: string | undefined;
540
+ } | undefined;
541
+ radioButtons?: {
542
+ body?: string | undefined;
543
+ heading?: string | undefined;
544
+ }[] | undefined;
545
+ }[];
546
+ date?: string | Date | undefined;
547
+ image?: string | undefined;
548
+ isDraft?: boolean | undefined;
549
+ seekerFriendly?: boolean | undefined;
550
+ subtitle?: string | undefined;
551
+ campaign?: string | undefined;
552
+ };
553
+ }>;
114
554
  export type ResponseMicroLesson = z.infer<typeof ResponseMicroLessonSchema>;
115
555
  export declare const MicroLessonsResponse: z.ZodObject<{
116
556
  data: z.ZodArray<z.ZodObject<{
@@ -118,19 +558,12 @@ export declare const MicroLessonsResponse: z.ZodObject<{
118
558
  data: z.ZodObject<{
119
559
  title: z.ZodString;
120
560
  subtitle: z.ZodOptional<z.ZodString>;
121
- date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
561
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
122
562
  isDraft: z.ZodOptional<z.ZodBoolean>;
123
563
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
124
- platform: z.ZodEnum<{
125
- "Web Only": "Web Only";
126
- "App Only": "App Only";
127
- All: "All";
128
- }>;
564
+ platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
129
565
  image: z.ZodOptional<z.ZodString>;
130
- category: z.ZodEnum<{
131
- "Case Studies": "Case Studies";
132
- "How Tos": "How Tos";
133
- }>;
566
+ category: z.ZodEnum<["Case Studies", "How Tos"]>;
134
567
  campaign: z.ZodOptional<z.ZodString>;
135
568
  pages: z.ZodArray<z.ZodObject<{
136
569
  heading: z.ZodString;
@@ -140,34 +573,400 @@ export declare const MicroLessonsResponse: z.ZodObject<{
140
573
  audio: z.ZodOptional<z.ZodObject<{
141
574
  audioUrl: z.ZodString;
142
575
  loop: z.ZodOptional<z.ZodBoolean>;
143
- }, z.core.$strip>>;
576
+ }, "strip", z.ZodTypeAny, {
577
+ audioUrl: string;
578
+ loop?: boolean | undefined;
579
+ }, {
580
+ audioUrl: string;
581
+ loop?: boolean | undefined;
582
+ }>>;
144
583
  video: z.ZodOptional<z.ZodObject<{
145
584
  videoUrl: z.ZodString;
146
585
  autoplay: z.ZodOptional<z.ZodBoolean>;
147
586
  loop: z.ZodOptional<z.ZodBoolean>;
148
587
  disableControls: z.ZodOptional<z.ZodBoolean>;
149
- }, z.core.$strip>>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ videoUrl: string;
590
+ loop?: boolean | undefined;
591
+ autoplay?: boolean | undefined;
592
+ disableControls?: boolean | undefined;
593
+ }, {
594
+ videoUrl: string;
595
+ loop?: boolean | undefined;
596
+ autoplay?: boolean | undefined;
597
+ disableControls?: boolean | undefined;
598
+ }>>;
150
599
  textInput: z.ZodOptional<z.ZodObject<{
151
600
  show: z.ZodBoolean;
152
601
  placeholder: z.ZodOptional<z.ZodString>;
153
602
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
154
603
  prefilledText: z.ZodOptional<z.ZodString>;
155
- }, z.core.$strip>>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ show: boolean;
606
+ placeholder?: string | undefined;
607
+ showCopyButton?: boolean | undefined;
608
+ prefilledText?: string | undefined;
609
+ }, {
610
+ show: boolean;
611
+ placeholder?: string | undefined;
612
+ showCopyButton?: boolean | undefined;
613
+ prefilledText?: string | undefined;
614
+ }>>;
156
615
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
616
  heading: z.ZodOptional<z.ZodString>;
158
617
  body: z.ZodOptional<z.ZodString>;
159
- }, z.core.$strip>>>;
160
- platform: z.ZodOptional<z.ZodEnum<{
161
- "Web Only": "Web Only";
162
- "App Only": "App Only";
163
- All: "All";
164
- }>>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ body?: string | undefined;
620
+ heading?: string | undefined;
621
+ }, {
622
+ body?: string | undefined;
623
+ heading?: string | undefined;
624
+ }>, "many">>;
625
+ platform: z.ZodOptional<z.ZodEnum<["Web Only", "App Only", "All"]>>;
165
626
  notification: z.ZodOptional<z.ZodObject<{
166
627
  title: z.ZodString;
167
628
  body: z.ZodString;
168
629
  delayInHours: z.ZodNumber;
169
- }, z.core.$strip>>;
170
- }, z.core.$strip>>;
171
- }, z.core.$strip>;
172
- }, z.core.$strip>>;
173
- }, z.core.$strip>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ title: string;
632
+ body: string;
633
+ delayInHours: number;
634
+ }, {
635
+ title: string;
636
+ body: string;
637
+ delayInHours: number;
638
+ }>>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ heading: string;
641
+ icon?: string | undefined;
642
+ audio?: {
643
+ audioUrl: string;
644
+ loop?: boolean | undefined;
645
+ } | undefined;
646
+ body?: string | undefined;
647
+ video?: {
648
+ videoUrl: string;
649
+ loop?: boolean | undefined;
650
+ autoplay?: boolean | undefined;
651
+ disableControls?: boolean | undefined;
652
+ } | undefined;
653
+ notification?: {
654
+ title: string;
655
+ body: string;
656
+ delayInHours: number;
657
+ } | undefined;
658
+ platform?: "Web Only" | "App Only" | "All" | undefined;
659
+ image?: string | undefined;
660
+ textInput?: {
661
+ show: boolean;
662
+ placeholder?: string | undefined;
663
+ showCopyButton?: boolean | undefined;
664
+ prefilledText?: string | undefined;
665
+ } | undefined;
666
+ radioButtons?: {
667
+ body?: string | undefined;
668
+ heading?: string | undefined;
669
+ }[] | undefined;
670
+ }, {
671
+ heading: string;
672
+ icon?: string | undefined;
673
+ audio?: {
674
+ audioUrl: string;
675
+ loop?: boolean | undefined;
676
+ } | undefined;
677
+ body?: string | undefined;
678
+ video?: {
679
+ videoUrl: string;
680
+ loop?: boolean | undefined;
681
+ autoplay?: boolean | undefined;
682
+ disableControls?: boolean | undefined;
683
+ } | undefined;
684
+ notification?: {
685
+ title: string;
686
+ body: string;
687
+ delayInHours: number;
688
+ } | undefined;
689
+ platform?: "Web Only" | "App Only" | "All" | undefined;
690
+ image?: string | undefined;
691
+ textInput?: {
692
+ show: boolean;
693
+ placeholder?: string | undefined;
694
+ showCopyButton?: boolean | undefined;
695
+ prefilledText?: string | undefined;
696
+ } | undefined;
697
+ radioButtons?: {
698
+ body?: string | undefined;
699
+ heading?: string | undefined;
700
+ }[] | undefined;
701
+ }>, "many">;
702
+ }, "strip", z.ZodTypeAny, {
703
+ title: string;
704
+ category: "Case Studies" | "How Tos";
705
+ platform: "Web Only" | "App Only" | "All";
706
+ pages: {
707
+ heading: string;
708
+ icon?: string | undefined;
709
+ audio?: {
710
+ audioUrl: string;
711
+ loop?: boolean | undefined;
712
+ } | undefined;
713
+ body?: string | undefined;
714
+ video?: {
715
+ videoUrl: string;
716
+ loop?: boolean | undefined;
717
+ autoplay?: boolean | undefined;
718
+ disableControls?: boolean | undefined;
719
+ } | undefined;
720
+ notification?: {
721
+ title: string;
722
+ body: string;
723
+ delayInHours: number;
724
+ } | undefined;
725
+ platform?: "Web Only" | "App Only" | "All" | undefined;
726
+ image?: string | undefined;
727
+ textInput?: {
728
+ show: boolean;
729
+ placeholder?: string | undefined;
730
+ showCopyButton?: boolean | undefined;
731
+ prefilledText?: string | undefined;
732
+ } | undefined;
733
+ radioButtons?: {
734
+ body?: string | undefined;
735
+ heading?: string | undefined;
736
+ }[] | undefined;
737
+ }[];
738
+ date?: string | Date | undefined;
739
+ image?: string | undefined;
740
+ isDraft?: boolean | undefined;
741
+ seekerFriendly?: boolean | undefined;
742
+ subtitle?: string | undefined;
743
+ campaign?: string | undefined;
744
+ }, {
745
+ title: string;
746
+ category: "Case Studies" | "How Tos";
747
+ platform: "Web Only" | "App Only" | "All";
748
+ pages: {
749
+ heading: string;
750
+ icon?: string | undefined;
751
+ audio?: {
752
+ audioUrl: string;
753
+ loop?: boolean | undefined;
754
+ } | undefined;
755
+ body?: string | undefined;
756
+ video?: {
757
+ videoUrl: string;
758
+ loop?: boolean | undefined;
759
+ autoplay?: boolean | undefined;
760
+ disableControls?: boolean | undefined;
761
+ } | undefined;
762
+ notification?: {
763
+ title: string;
764
+ body: string;
765
+ delayInHours: number;
766
+ } | undefined;
767
+ platform?: "Web Only" | "App Only" | "All" | undefined;
768
+ image?: string | undefined;
769
+ textInput?: {
770
+ show: boolean;
771
+ placeholder?: string | undefined;
772
+ showCopyButton?: boolean | undefined;
773
+ prefilledText?: string | undefined;
774
+ } | undefined;
775
+ radioButtons?: {
776
+ body?: string | undefined;
777
+ heading?: string | undefined;
778
+ }[] | undefined;
779
+ }[];
780
+ date?: string | Date | undefined;
781
+ image?: string | undefined;
782
+ isDraft?: boolean | undefined;
783
+ seekerFriendly?: boolean | undefined;
784
+ subtitle?: string | undefined;
785
+ campaign?: string | undefined;
786
+ }>;
787
+ }, "strip", z.ZodTypeAny, {
788
+ id: string;
789
+ data: {
790
+ title: string;
791
+ category: "Case Studies" | "How Tos";
792
+ platform: "Web Only" | "App Only" | "All";
793
+ pages: {
794
+ heading: string;
795
+ icon?: string | undefined;
796
+ audio?: {
797
+ audioUrl: string;
798
+ loop?: boolean | undefined;
799
+ } | undefined;
800
+ body?: string | undefined;
801
+ video?: {
802
+ videoUrl: string;
803
+ loop?: boolean | undefined;
804
+ autoplay?: boolean | undefined;
805
+ disableControls?: boolean | undefined;
806
+ } | undefined;
807
+ notification?: {
808
+ title: string;
809
+ body: string;
810
+ delayInHours: number;
811
+ } | undefined;
812
+ platform?: "Web Only" | "App Only" | "All" | undefined;
813
+ image?: string | undefined;
814
+ textInput?: {
815
+ show: boolean;
816
+ placeholder?: string | undefined;
817
+ showCopyButton?: boolean | undefined;
818
+ prefilledText?: string | undefined;
819
+ } | undefined;
820
+ radioButtons?: {
821
+ body?: string | undefined;
822
+ heading?: string | undefined;
823
+ }[] | undefined;
824
+ }[];
825
+ date?: string | Date | undefined;
826
+ image?: string | undefined;
827
+ isDraft?: boolean | undefined;
828
+ seekerFriendly?: boolean | undefined;
829
+ subtitle?: string | undefined;
830
+ campaign?: string | undefined;
831
+ };
832
+ }, {
833
+ id: string;
834
+ data: {
835
+ title: string;
836
+ category: "Case Studies" | "How Tos";
837
+ platform: "Web Only" | "App Only" | "All";
838
+ pages: {
839
+ heading: string;
840
+ icon?: string | undefined;
841
+ audio?: {
842
+ audioUrl: string;
843
+ loop?: boolean | undefined;
844
+ } | undefined;
845
+ body?: string | undefined;
846
+ video?: {
847
+ videoUrl: string;
848
+ loop?: boolean | undefined;
849
+ autoplay?: boolean | undefined;
850
+ disableControls?: boolean | undefined;
851
+ } | undefined;
852
+ notification?: {
853
+ title: string;
854
+ body: string;
855
+ delayInHours: number;
856
+ } | undefined;
857
+ platform?: "Web Only" | "App Only" | "All" | undefined;
858
+ image?: string | undefined;
859
+ textInput?: {
860
+ show: boolean;
861
+ placeholder?: string | undefined;
862
+ showCopyButton?: boolean | undefined;
863
+ prefilledText?: string | undefined;
864
+ } | undefined;
865
+ radioButtons?: {
866
+ body?: string | undefined;
867
+ heading?: string | undefined;
868
+ }[] | undefined;
869
+ }[];
870
+ date?: string | Date | undefined;
871
+ image?: string | undefined;
872
+ isDraft?: boolean | undefined;
873
+ seekerFriendly?: boolean | undefined;
874
+ subtitle?: string | undefined;
875
+ campaign?: string | undefined;
876
+ };
877
+ }>, "many">;
878
+ }, "strip", z.ZodTypeAny, {
879
+ data: {
880
+ id: string;
881
+ data: {
882
+ title: string;
883
+ category: "Case Studies" | "How Tos";
884
+ platform: "Web Only" | "App Only" | "All";
885
+ pages: {
886
+ heading: string;
887
+ icon?: string | undefined;
888
+ audio?: {
889
+ audioUrl: string;
890
+ loop?: boolean | undefined;
891
+ } | undefined;
892
+ body?: string | undefined;
893
+ video?: {
894
+ videoUrl: string;
895
+ loop?: boolean | undefined;
896
+ autoplay?: boolean | undefined;
897
+ disableControls?: boolean | undefined;
898
+ } | undefined;
899
+ notification?: {
900
+ title: string;
901
+ body: string;
902
+ delayInHours: number;
903
+ } | undefined;
904
+ platform?: "Web Only" | "App Only" | "All" | undefined;
905
+ image?: string | undefined;
906
+ textInput?: {
907
+ show: boolean;
908
+ placeholder?: string | undefined;
909
+ showCopyButton?: boolean | undefined;
910
+ prefilledText?: string | undefined;
911
+ } | undefined;
912
+ radioButtons?: {
913
+ body?: string | undefined;
914
+ heading?: string | undefined;
915
+ }[] | undefined;
916
+ }[];
917
+ date?: string | Date | undefined;
918
+ image?: string | undefined;
919
+ isDraft?: boolean | undefined;
920
+ seekerFriendly?: boolean | undefined;
921
+ subtitle?: string | undefined;
922
+ campaign?: string | undefined;
923
+ };
924
+ }[];
925
+ }, {
926
+ data: {
927
+ id: string;
928
+ data: {
929
+ title: string;
930
+ category: "Case Studies" | "How Tos";
931
+ platform: "Web Only" | "App Only" | "All";
932
+ pages: {
933
+ heading: string;
934
+ icon?: string | undefined;
935
+ audio?: {
936
+ audioUrl: string;
937
+ loop?: boolean | undefined;
938
+ } | undefined;
939
+ body?: string | undefined;
940
+ video?: {
941
+ videoUrl: string;
942
+ loop?: boolean | undefined;
943
+ autoplay?: boolean | undefined;
944
+ disableControls?: boolean | undefined;
945
+ } | undefined;
946
+ notification?: {
947
+ title: string;
948
+ body: string;
949
+ delayInHours: number;
950
+ } | undefined;
951
+ platform?: "Web Only" | "App Only" | "All" | undefined;
952
+ image?: string | undefined;
953
+ textInput?: {
954
+ show: boolean;
955
+ placeholder?: string | undefined;
956
+ showCopyButton?: boolean | undefined;
957
+ prefilledText?: string | undefined;
958
+ } | undefined;
959
+ radioButtons?: {
960
+ body?: string | undefined;
961
+ heading?: string | undefined;
962
+ }[] | undefined;
963
+ }[];
964
+ date?: string | Date | undefined;
965
+ image?: string | undefined;
966
+ isDraft?: boolean | undefined;
967
+ seekerFriendly?: boolean | undefined;
968
+ subtitle?: string | undefined;
969
+ campaign?: string | undefined;
970
+ };
971
+ }[];
972
+ }>;