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
@@ -2,12 +2,19 @@ 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<[z.ZodString, z.ZodDate]>>;
5
+ date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
6
6
  isDraft: z.ZodOptional<z.ZodBoolean>;
7
7
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
8
- platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
8
+ platform: z.ZodEnum<{
9
+ "Web Only": "Web Only";
10
+ "App Only": "App Only";
11
+ All: "All";
12
+ }>;
9
13
  image: z.ZodOptional<z.ZodString>;
10
- category: z.ZodEnum<["Case Studies", "How Tos"]>;
14
+ category: z.ZodEnum<{
15
+ "Case Studies": "Case Studies";
16
+ "How Tos": "How Tos";
17
+ }>;
11
18
  campaign: z.ZodOptional<z.ZodString>;
12
19
  pages: z.ZodArray<z.ZodObject<{
13
20
  heading: z.ZodString;
@@ -17,229 +24,54 @@ export declare const MicroLessonSchema: z.ZodObject<{
17
24
  audio: z.ZodOptional<z.ZodObject<{
18
25
  audioUrl: z.ZodString;
19
26
  loop: z.ZodOptional<z.ZodBoolean>;
20
- }, "strip", z.ZodTypeAny, {
21
- audioUrl: string;
22
- loop?: boolean | undefined;
23
- }, {
24
- audioUrl: string;
25
- loop?: boolean | undefined;
26
- }>>;
27
+ }, z.core.$strip>>;
27
28
  video: z.ZodOptional<z.ZodObject<{
28
29
  videoUrl: z.ZodString;
29
30
  autoplay: z.ZodOptional<z.ZodBoolean>;
30
31
  loop: z.ZodOptional<z.ZodBoolean>;
31
32
  disableControls: z.ZodOptional<z.ZodBoolean>;
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
- }>>;
33
+ }, z.core.$strip>>;
43
34
  textInput: z.ZodOptional<z.ZodObject<{
44
35
  show: z.ZodBoolean;
45
36
  placeholder: z.ZodOptional<z.ZodString>;
46
37
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
47
38
  prefilledText: z.ZodOptional<z.ZodString>;
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
- }>>;
39
+ }, z.core.$strip>>;
59
40
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
41
  heading: z.ZodOptional<z.ZodString>;
61
42
  body: z.ZodOptional<z.ZodString>;
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"]>>;
43
+ }, z.core.$strip>>>;
44
+ platform: z.ZodOptional<z.ZodEnum<{
45
+ "Web Only": "Web Only";
46
+ "App Only": "App Only";
47
+ All: "All";
48
+ }>>;
70
49
  notification: z.ZodOptional<z.ZodObject<{
71
50
  title: z.ZodString;
72
51
  body: z.ZodString;
73
52
  delayInHours: z.ZodNumber;
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
- }>;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>>;
55
+ }, z.core.$strip>;
231
56
  export type MicroLesson = z.infer<typeof MicroLessonSchema>;
232
57
  export declare const ResponseMicroLessonSchema: z.ZodObject<{
233
58
  id: z.ZodString;
234
59
  data: z.ZodObject<{
235
60
  title: z.ZodString;
236
61
  subtitle: z.ZodOptional<z.ZodString>;
237
- date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
62
+ date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
238
63
  isDraft: z.ZodOptional<z.ZodBoolean>;
239
64
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
240
- platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
65
+ platform: z.ZodEnum<{
66
+ "Web Only": "Web Only";
67
+ "App Only": "App Only";
68
+ All: "All";
69
+ }>;
241
70
  image: z.ZodOptional<z.ZodString>;
242
- category: z.ZodEnum<["Case Studies", "How Tos"]>;
71
+ category: z.ZodEnum<{
72
+ "Case Studies": "Case Studies";
73
+ "How Tos": "How Tos";
74
+ }>;
243
75
  campaign: z.ZodOptional<z.ZodString>;
244
76
  pages: z.ZodArray<z.ZodObject<{
245
77
  heading: z.ZodString;
@@ -249,308 +81,36 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
249
81
  audio: z.ZodOptional<z.ZodObject<{
250
82
  audioUrl: z.ZodString;
251
83
  loop: z.ZodOptional<z.ZodBoolean>;
252
- }, "strip", z.ZodTypeAny, {
253
- audioUrl: string;
254
- loop?: boolean | undefined;
255
- }, {
256
- audioUrl: string;
257
- loop?: boolean | undefined;
258
- }>>;
84
+ }, z.core.$strip>>;
259
85
  video: z.ZodOptional<z.ZodObject<{
260
86
  videoUrl: z.ZodString;
261
87
  autoplay: z.ZodOptional<z.ZodBoolean>;
262
88
  loop: z.ZodOptional<z.ZodBoolean>;
263
89
  disableControls: z.ZodOptional<z.ZodBoolean>;
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
- }>>;
90
+ }, z.core.$strip>>;
275
91
  textInput: z.ZodOptional<z.ZodObject<{
276
92
  show: z.ZodBoolean;
277
93
  placeholder: z.ZodOptional<z.ZodString>;
278
94
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
279
95
  prefilledText: z.ZodOptional<z.ZodString>;
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
- }>>;
96
+ }, z.core.$strip>>;
291
97
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
292
98
  heading: z.ZodOptional<z.ZodString>;
293
99
  body: z.ZodOptional<z.ZodString>;
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"]>>;
100
+ }, z.core.$strip>>>;
101
+ platform: z.ZodOptional<z.ZodEnum<{
102
+ "Web Only": "Web Only";
103
+ "App Only": "App Only";
104
+ All: "All";
105
+ }>>;
302
106
  notification: z.ZodOptional<z.ZodObject<{
303
107
  title: z.ZodString;
304
108
  body: z.ZodString;
305
109
  delayInHours: z.ZodNumber;
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
- }>;
110
+ }, z.core.$strip>>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>;
113
+ }, z.core.$strip>;
554
114
  export type ResponseMicroLesson = z.infer<typeof ResponseMicroLessonSchema>;
555
115
  export declare const MicroLessonsResponse: z.ZodObject<{
556
116
  data: z.ZodArray<z.ZodObject<{
@@ -558,12 +118,19 @@ export declare const MicroLessonsResponse: z.ZodObject<{
558
118
  data: z.ZodObject<{
559
119
  title: z.ZodString;
560
120
  subtitle: z.ZodOptional<z.ZodString>;
561
- date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
121
+ date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
562
122
  isDraft: z.ZodOptional<z.ZodBoolean>;
563
123
  seekerFriendly: z.ZodOptional<z.ZodBoolean>;
564
- platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
124
+ platform: z.ZodEnum<{
125
+ "Web Only": "Web Only";
126
+ "App Only": "App Only";
127
+ All: "All";
128
+ }>;
565
129
  image: z.ZodOptional<z.ZodString>;
566
- category: z.ZodEnum<["Case Studies", "How Tos"]>;
130
+ category: z.ZodEnum<{
131
+ "Case Studies": "Case Studies";
132
+ "How Tos": "How Tos";
133
+ }>;
567
134
  campaign: z.ZodOptional<z.ZodString>;
568
135
  pages: z.ZodArray<z.ZodObject<{
569
136
  heading: z.ZodString;
@@ -573,400 +140,34 @@ export declare const MicroLessonsResponse: z.ZodObject<{
573
140
  audio: z.ZodOptional<z.ZodObject<{
574
141
  audioUrl: z.ZodString;
575
142
  loop: z.ZodOptional<z.ZodBoolean>;
576
- }, "strip", z.ZodTypeAny, {
577
- audioUrl: string;
578
- loop?: boolean | undefined;
579
- }, {
580
- audioUrl: string;
581
- loop?: boolean | undefined;
582
- }>>;
143
+ }, z.core.$strip>>;
583
144
  video: z.ZodOptional<z.ZodObject<{
584
145
  videoUrl: z.ZodString;
585
146
  autoplay: z.ZodOptional<z.ZodBoolean>;
586
147
  loop: z.ZodOptional<z.ZodBoolean>;
587
148
  disableControls: z.ZodOptional<z.ZodBoolean>;
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
- }>>;
149
+ }, z.core.$strip>>;
599
150
  textInput: z.ZodOptional<z.ZodObject<{
600
151
  show: z.ZodBoolean;
601
152
  placeholder: z.ZodOptional<z.ZodString>;
602
153
  showCopyButton: z.ZodOptional<z.ZodBoolean>;
603
154
  prefilledText: z.ZodOptional<z.ZodString>;
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
- }>>;
155
+ }, z.core.$strip>>;
615
156
  radioButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
616
157
  heading: z.ZodOptional<z.ZodString>;
617
158
  body: z.ZodOptional<z.ZodString>;
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"]>>;
159
+ }, z.core.$strip>>>;
160
+ platform: z.ZodOptional<z.ZodEnum<{
161
+ "Web Only": "Web Only";
162
+ "App Only": "App Only";
163
+ All: "All";
164
+ }>>;
626
165
  notification: z.ZodOptional<z.ZodObject<{
627
166
  title: z.ZodString;
628
167
  body: z.ZodString;
629
168
  delayInHours: z.ZodNumber;
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
- }>;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>>;
173
+ }, z.core.$strip>;