waha-shared 1.0.199 → 1.0.201

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.
@@ -115,23 +115,23 @@ type Bible = {
115
115
  name: 'BibleSession';
116
116
  payload: BibleSession;
117
117
  };
118
- type MicroLessons = {
119
- name: 'MicroLessonNotificationResponse';
118
+ type Worksheets = {
119
+ name: 'WorksheetNotificationResponse';
120
120
  payload: {
121
- microLessonId: string;
121
+ worksheetId: string;
122
122
  didApply: boolean;
123
123
  };
124
124
  } | {
125
- name: 'MicroLessonStart';
125
+ name: 'WorksheetStart';
126
126
  payload: {
127
- microLessonId: string;
127
+ worksheetId: string;
128
128
  };
129
129
  } | {
130
- name: 'MicroLessonComplete';
130
+ name: 'WorksheetComplete';
131
131
  payload: {
132
- microLessonId: string;
132
+ worksheetId: string;
133
133
  timeToCompletion: number;
134
134
  };
135
135
  };
136
- export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | MicroLessons;
136
+ export type AnalyticsEvent = Meeting | Share | Misc | Article | Bible | Note | Worksheets;
137
137
  export {};
@@ -4,36 +4,36 @@ export declare const ArticleSchema: z.ZodObject<{
4
4
  author: z.ZodOptional<z.ZodString>;
5
5
  category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
6
6
  image: z.ZodOptional<z.ZodString>;
7
- date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
8
- isDraft: z.ZodOptional<z.ZodBoolean>;
9
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
7
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
8
+ isDraft: z.ZodBoolean;
9
+ seekerFriendly: z.ZodBoolean;
10
10
  platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
11
11
  audio: z.ZodOptional<z.ZodString>;
12
12
  video: z.ZodOptional<z.ZodString>;
13
13
  impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
14
14
  }, "strip", z.ZodTypeAny, {
15
+ date: string | Date;
15
16
  title: string;
16
17
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
17
18
  platform: "Web Only" | "App Only" | "All";
18
- date?: string | Date | undefined;
19
+ isDraft: boolean;
20
+ seekerFriendly: boolean;
19
21
  audio?: string | undefined;
20
22
  video?: string | undefined;
21
23
  author?: string | undefined;
22
24
  image?: string | undefined;
23
- isDraft?: boolean | undefined;
24
- seekerFriendly?: boolean | undefined;
25
25
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
26
26
  }, {
27
+ date: string | Date;
27
28
  title: string;
28
29
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
29
30
  platform: "Web Only" | "App Only" | "All";
30
- date?: string | Date | undefined;
31
+ isDraft: boolean;
32
+ seekerFriendly: boolean;
31
33
  audio?: string | undefined;
32
34
  video?: string | undefined;
33
35
  author?: string | undefined;
34
36
  image?: string | undefined;
35
- isDraft?: boolean | undefined;
36
- seekerFriendly?: boolean | undefined;
37
37
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
38
38
  }>;
39
39
  export type Article = z.infer<typeof ArticleSchema>;
@@ -44,36 +44,36 @@ export declare const ResponseArticleSchema: z.ZodObject<{
44
44
  author: z.ZodOptional<z.ZodString>;
45
45
  category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
46
46
  image: z.ZodOptional<z.ZodString>;
47
- date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
48
- isDraft: z.ZodOptional<z.ZodBoolean>;
49
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
47
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
48
+ isDraft: z.ZodBoolean;
49
+ seekerFriendly: z.ZodBoolean;
50
50
  platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
51
51
  audio: z.ZodOptional<z.ZodString>;
52
52
  video: z.ZodOptional<z.ZodString>;
53
53
  impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
54
54
  }, "strip", z.ZodTypeAny, {
55
+ date: string | Date;
55
56
  title: string;
56
57
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
57
58
  platform: "Web Only" | "App Only" | "All";
58
- date?: string | Date | undefined;
59
+ isDraft: boolean;
60
+ seekerFriendly: boolean;
59
61
  audio?: string | undefined;
60
62
  video?: string | undefined;
61
63
  author?: string | undefined;
62
64
  image?: string | undefined;
63
- isDraft?: boolean | undefined;
64
- seekerFriendly?: boolean | undefined;
65
65
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
66
66
  }, {
67
+ date: string | Date;
67
68
  title: string;
68
69
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
69
70
  platform: "Web Only" | "App Only" | "All";
70
- date?: string | Date | undefined;
71
+ isDraft: boolean;
72
+ seekerFriendly: boolean;
71
73
  audio?: string | undefined;
72
74
  video?: string | undefined;
73
75
  author?: string | undefined;
74
76
  image?: string | undefined;
75
- isDraft?: boolean | undefined;
76
- seekerFriendly?: boolean | undefined;
77
77
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
78
78
  }>;
79
79
  body: z.ZodString;
@@ -82,16 +82,16 @@ export declare const ResponseArticleSchema: z.ZodObject<{
82
82
  id: string;
83
83
  body: string;
84
84
  data: {
85
+ date: string | Date;
85
86
  title: string;
86
87
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
87
88
  platform: "Web Only" | "App Only" | "All";
88
- date?: string | Date | undefined;
89
+ isDraft: boolean;
90
+ seekerFriendly: boolean;
89
91
  audio?: string | undefined;
90
92
  video?: string | undefined;
91
93
  author?: string | undefined;
92
94
  image?: string | undefined;
93
- isDraft?: boolean | undefined;
94
- seekerFriendly?: boolean | undefined;
95
95
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
96
96
  };
97
97
  slug: string;
@@ -99,16 +99,16 @@ export declare const ResponseArticleSchema: z.ZodObject<{
99
99
  id: string;
100
100
  body: string;
101
101
  data: {
102
+ date: string | Date;
102
103
  title: string;
103
104
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
104
105
  platform: "Web Only" | "App Only" | "All";
105
- date?: string | Date | undefined;
106
+ isDraft: boolean;
107
+ seekerFriendly: boolean;
106
108
  audio?: string | undefined;
107
109
  video?: string | undefined;
108
110
  author?: string | undefined;
109
111
  image?: string | undefined;
110
- isDraft?: boolean | undefined;
111
- seekerFriendly?: boolean | undefined;
112
112
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
113
113
  };
114
114
  slug: string;
@@ -122,36 +122,36 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
122
122
  author: z.ZodOptional<z.ZodString>;
123
123
  category: z.ZodEnum<["Case Studies", "Discovering God", "Disciple Making Secrets", "Product Updates", "Books", "Films"]>;
124
124
  image: z.ZodOptional<z.ZodString>;
125
- date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
126
- isDraft: z.ZodOptional<z.ZodBoolean>;
127
- seekerFriendly: z.ZodOptional<z.ZodBoolean>;
125
+ date: z.ZodUnion<[z.ZodString, z.ZodDate]>;
126
+ isDraft: z.ZodBoolean;
127
+ seekerFriendly: z.ZodBoolean;
128
128
  platform: z.ZodEnum<["Web Only", "App Only", "All"]>;
129
129
  audio: z.ZodOptional<z.ZodString>;
130
130
  video: z.ZodOptional<z.ZodString>;
131
131
  impactStoryRegion: z.ZodOptional<z.ZodEnum<["North America", "Latin America and the Caribbean", "Middle East/North Africa", "Sub-Saharan Africa", "Western Europe", "Eastern Europe", "Western Asia", "Southern Asia", "Central Asia", "Southeast Asia", "Eastern Asia", "Oceania"]>>;
132
132
  }, "strip", z.ZodTypeAny, {
133
+ date: string | Date;
133
134
  title: string;
134
135
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
135
136
  platform: "Web Only" | "App Only" | "All";
136
- date?: string | Date | undefined;
137
+ isDraft: boolean;
138
+ seekerFriendly: boolean;
137
139
  audio?: string | undefined;
138
140
  video?: string | undefined;
139
141
  author?: string | undefined;
140
142
  image?: string | undefined;
141
- isDraft?: boolean | undefined;
142
- seekerFriendly?: boolean | undefined;
143
143
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
144
144
  }, {
145
+ date: string | Date;
145
146
  title: string;
146
147
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
147
148
  platform: "Web Only" | "App Only" | "All";
148
- date?: string | Date | undefined;
149
+ isDraft: boolean;
150
+ seekerFriendly: boolean;
149
151
  audio?: string | undefined;
150
152
  video?: string | undefined;
151
153
  author?: string | undefined;
152
154
  image?: string | undefined;
153
- isDraft?: boolean | undefined;
154
- seekerFriendly?: boolean | undefined;
155
155
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
156
156
  }>;
157
157
  body: z.ZodString;
@@ -160,16 +160,16 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
160
160
  id: string;
161
161
  body: string;
162
162
  data: {
163
+ date: string | Date;
163
164
  title: string;
164
165
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
165
166
  platform: "Web Only" | "App Only" | "All";
166
- date?: string | Date | undefined;
167
+ isDraft: boolean;
168
+ seekerFriendly: boolean;
167
169
  audio?: string | undefined;
168
170
  video?: string | undefined;
169
171
  author?: string | undefined;
170
172
  image?: string | undefined;
171
- isDraft?: boolean | undefined;
172
- seekerFriendly?: boolean | undefined;
173
173
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
174
174
  };
175
175
  slug: string;
@@ -177,16 +177,16 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
177
177
  id: string;
178
178
  body: string;
179
179
  data: {
180
+ date: string | Date;
180
181
  title: string;
181
182
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
182
183
  platform: "Web Only" | "App Only" | "All";
183
- date?: string | Date | undefined;
184
+ isDraft: boolean;
185
+ seekerFriendly: boolean;
184
186
  audio?: string | undefined;
185
187
  video?: string | undefined;
186
188
  author?: string | undefined;
187
189
  image?: string | undefined;
188
- isDraft?: boolean | undefined;
189
- seekerFriendly?: boolean | undefined;
190
190
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
191
191
  };
192
192
  slug: string;
@@ -196,16 +196,16 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
196
196
  id: string;
197
197
  body: string;
198
198
  data: {
199
+ date: string | Date;
199
200
  title: string;
200
201
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
201
202
  platform: "Web Only" | "App Only" | "All";
202
- date?: string | Date | undefined;
203
+ isDraft: boolean;
204
+ seekerFriendly: boolean;
203
205
  audio?: string | undefined;
204
206
  video?: string | undefined;
205
207
  author?: string | undefined;
206
208
  image?: string | undefined;
207
- isDraft?: boolean | undefined;
208
- seekerFriendly?: boolean | undefined;
209
209
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
210
210
  };
211
211
  slug: string;
@@ -215,16 +215,16 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
215
215
  id: string;
216
216
  body: string;
217
217
  data: {
218
+ date: string | Date;
218
219
  title: string;
219
220
  category: "Case Studies" | "Discovering God" | "Disciple Making Secrets" | "Product Updates" | "Books" | "Films";
220
221
  platform: "Web Only" | "App Only" | "All";
221
- date?: string | Date | undefined;
222
+ isDraft: boolean;
223
+ seekerFriendly: boolean;
222
224
  audio?: string | undefined;
223
225
  video?: string | undefined;
224
226
  author?: string | undefined;
225
227
  image?: string | undefined;
226
- isDraft?: boolean | undefined;
227
- seekerFriendly?: boolean | undefined;
228
228
  impactStoryRegion?: "North America" | "Latin America and the Caribbean" | "Middle East/North Africa" | "Sub-Saharan Africa" | "Western Europe" | "Eastern Europe" | "Western Asia" | "Southern Asia" | "Central Asia" | "Southeast Asia" | "Eastern Asia" | "Oceania" | undefined;
229
229
  };
230
230
  slug: string;