evo360-types 1.0.0 → 1.1.2

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 (33) hide show
  1. package/dist/apps/evo-calendar/zod-schemas.d.ts +3 -0
  2. package/dist/apps/evo-calendar/zod-schemas.js +16 -0
  3. package/dist/apps/evo-core/zod-schemas.d.ts +14 -0
  4. package/dist/apps/evo-core/zod-schemas.js +9 -0
  5. package/dist/apps/evo-meeting/zod-schemas.d.ts +428 -0
  6. package/dist/apps/evo-meeting/zod-schemas.js +51 -0
  7. package/dist/apps/evo-people/zod-schemas.d.ts +475 -0
  8. package/dist/apps/evo-people/zod-schemas.js +81 -0
  9. package/dist/apps/evo-survey/zod-schemas.d.ts +5 -0
  10. package/dist/apps/evo-survey/zod-schemas.js +15 -0
  11. package/dist/apps/evo-task/zod-schemas.d.ts +3 -0
  12. package/dist/apps/evo-task/zod-schemas.js +12 -0
  13. package/dist/apps/evo-tenant/zod-schemas.d.ts +3 -0
  14. package/dist/apps/evo-tenant/zod-schemas.js +6 -0
  15. package/dist/apps/shared/zod-schemas.d.ts +39 -0
  16. package/dist/apps/shared/zod-schemas.js +21 -0
  17. package/dist/index.d.ts +8 -1
  18. package/dist/index.js +34 -0
  19. package/dist/types/evo-calendar/fb_collections.d.ts +5 -0
  20. package/dist/types/evo-calendar/index.d.ts +1 -0
  21. package/dist/types/evo-meeting/fb_collections.d.ts +5 -0
  22. package/dist/types/evo-meeting/index.d.ts +1 -0
  23. package/dist/types/evo-people/fb_collections.d.ts +8 -0
  24. package/dist/types/evo-people/index.d.ts +1 -0
  25. package/dist/types/evo-survey/fb_collections.d.ts +12 -0
  26. package/dist/types/evo-survey/index.d.ts +1 -0
  27. package/dist/types/evo-task/fb_collections.d.ts +5 -0
  28. package/dist/types/evo-task/index.d.ts +1 -0
  29. package/dist/types/evo-tenant/fb_collections.d.ts +2 -0
  30. package/dist/types/evo-tenant/index.d.ts +1 -0
  31. package/dist/types/shared/fb_collections.d.ts +14 -0
  32. package/dist/types/shared/index.d.ts +1 -0
  33. package/package.json +6 -4
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const zEventStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled"]>;
3
+ export declare const zEventTypeSchema: z.ZodEnum<["event", "meeting", "workshop", "other"]>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zEventTypeSchema = exports.zEventStatusSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ // Enum for Event Instance Status
6
+ exports.zEventStatusSchema = zod_1.z.enum([
7
+ "scheduled",
8
+ "completed",
9
+ "cancelled",
10
+ ]);
11
+ exports.zEventTypeSchema = zod_1.z.enum([
12
+ "event",
13
+ "meeting",
14
+ "workshop",
15
+ "other",
16
+ ]);
@@ -0,0 +1,14 @@
1
+ import { z } from "zod";
2
+ export declare const zActionArgsSchema: z.ZodObject<{
3
+ old_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4
+ new_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5
+ deleted_at: z.ZodOptional<z.ZodDate>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ deleted_at?: Date | undefined;
8
+ old_values?: Record<string, any> | undefined;
9
+ new_values?: Record<string, any> | undefined;
10
+ }, {
11
+ deleted_at?: Date | undefined;
12
+ old_values?: Record<string, any> | undefined;
13
+ new_values?: Record<string, any> | undefined;
14
+ }>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zActionArgsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.zActionArgsSchema = zod_1.z.object({
6
+ old_values: zod_1.z.record(zod_1.z.any()).optional(),
7
+ new_values: zod_1.z.record(zod_1.z.any()).optional(),
8
+ deleted_at: zod_1.z.date().optional(),
9
+ });
@@ -0,0 +1,428 @@
1
+ import { z } from "zod";
2
+ export declare const zMeetingTypeSchema: z.ZodEnum<["regular", "oneonone", "feedback", "presentation", "other"]>;
3
+ export declare const zMeetingEventSchema: z.ZodObject<{
4
+ eventRef: z.ZodAny;
5
+ participantNames: z.ZodArray<z.ZodString, "many">;
6
+ participantRefs: z.ZodArray<z.ZodAny, "many">;
7
+ startDate: z.ZodDate;
8
+ endDate: z.ZodOptional<z.ZodDate>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ startDate: Date;
11
+ participantNames: string[];
12
+ participantRefs: any[];
13
+ endDate?: Date | undefined;
14
+ eventRef?: any;
15
+ }, {
16
+ startDate: Date;
17
+ participantNames: string[];
18
+ participantRefs: any[];
19
+ endDate?: Date | undefined;
20
+ eventRef?: any;
21
+ }>;
22
+ export declare const zMeetingTaskSchema: z.ZodObject<{
23
+ taskRef: z.ZodAny;
24
+ title: z.ZodString;
25
+ status: z.ZodEnum<["not_started", "in_progress", "completed", "cancelled", "on_hold"]>;
26
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
27
+ assigneeName: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
30
+ title: string;
31
+ priority?: "low" | "medium" | "high" | undefined;
32
+ assigneeName?: string | undefined;
33
+ taskRef?: any;
34
+ }, {
35
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
36
+ title: string;
37
+ priority?: "low" | "medium" | "high" | undefined;
38
+ assigneeName?: string | undefined;
39
+ taskRef?: any;
40
+ }>;
41
+ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
42
+ templateRef: z.ZodAny;
43
+ title: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
+ name: z.ZodString;
47
+ color: z.ZodOptional<z.ZodString>;
48
+ hidden: z.ZodBoolean;
49
+ }, "strip", z.ZodTypeAny, {
50
+ name: string;
51
+ hidden: boolean;
52
+ color?: string | undefined;
53
+ }, {
54
+ name: string;
55
+ hidden: boolean;
56
+ color?: string | undefined;
57
+ }>, "many">>;
58
+ discussed: z.ZodBoolean;
59
+ notes: z.ZodOptional<z.ZodString>;
60
+ assigneeName: z.ZodOptional<z.ZodString>;
61
+ assigneeRef: z.ZodAny;
62
+ }, "strip", z.ZodTypeAny, {
63
+ title: string;
64
+ discussed: boolean;
65
+ tags?: {
66
+ name: string;
67
+ hidden: boolean;
68
+ color?: string | undefined;
69
+ }[] | undefined;
70
+ description?: string | undefined;
71
+ assigneeName?: string | undefined;
72
+ assigneeRef?: any;
73
+ templateRef?: any;
74
+ notes?: string | undefined;
75
+ }, {
76
+ title: string;
77
+ discussed: boolean;
78
+ tags?: {
79
+ name: string;
80
+ hidden: boolean;
81
+ color?: string | undefined;
82
+ }[] | undefined;
83
+ description?: string | undefined;
84
+ assigneeName?: string | undefined;
85
+ assigneeRef?: any;
86
+ templateRef?: any;
87
+ notes?: string | undefined;
88
+ }>;
89
+ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
90
+ id: z.ZodString;
91
+ ref: z.ZodAny;
92
+ tenant: z.ZodString;
93
+ model_ver: z.ZodOptional<z.ZodNumber>;
94
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
95
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
96
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
97
+ }, {
98
+ title: z.ZodString;
99
+ description: z.ZodOptional<z.ZodString>;
100
+ creatorName: z.ZodString;
101
+ creatorRef: z.ZodAny;
102
+ event: z.ZodObject<{
103
+ eventRef: z.ZodAny;
104
+ participantNames: z.ZodArray<z.ZodString, "many">;
105
+ participantRefs: z.ZodArray<z.ZodAny, "many">;
106
+ startDate: z.ZodDate;
107
+ endDate: z.ZodOptional<z.ZodDate>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ startDate: Date;
110
+ participantNames: string[];
111
+ participantRefs: any[];
112
+ endDate?: Date | undefined;
113
+ eventRef?: any;
114
+ }, {
115
+ startDate: Date;
116
+ participantNames: string[];
117
+ participantRefs: any[];
118
+ endDate?: Date | undefined;
119
+ eventRef?: any;
120
+ }>;
121
+ type: z.ZodEnum<["regular", "oneonone", "feedback", "presentation", "other"]>;
122
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ taskRef: z.ZodAny;
124
+ title: z.ZodString;
125
+ status: z.ZodEnum<["not_started", "in_progress", "completed", "cancelled", "on_hold"]>;
126
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
127
+ assigneeName: z.ZodOptional<z.ZodString>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
130
+ title: string;
131
+ priority?: "low" | "medium" | "high" | undefined;
132
+ assigneeName?: string | undefined;
133
+ taskRef?: any;
134
+ }, {
135
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
136
+ title: string;
137
+ priority?: "low" | "medium" | "high" | undefined;
138
+ assigneeName?: string | undefined;
139
+ taskRef?: any;
140
+ }>, "many">>;
141
+ talkingPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
+ templateRef: z.ZodAny;
143
+ title: z.ZodString;
144
+ description: z.ZodOptional<z.ZodString>;
145
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
146
+ name: z.ZodString;
147
+ color: z.ZodOptional<z.ZodString>;
148
+ hidden: z.ZodBoolean;
149
+ }, "strip", z.ZodTypeAny, {
150
+ name: string;
151
+ hidden: boolean;
152
+ color?: string | undefined;
153
+ }, {
154
+ name: string;
155
+ hidden: boolean;
156
+ color?: string | undefined;
157
+ }>, "many">>;
158
+ discussed: z.ZodBoolean;
159
+ notes: z.ZodOptional<z.ZodString>;
160
+ assigneeName: z.ZodOptional<z.ZodString>;
161
+ assigneeRef: z.ZodAny;
162
+ }, "strip", z.ZodTypeAny, {
163
+ title: string;
164
+ discussed: boolean;
165
+ tags?: {
166
+ name: string;
167
+ hidden: boolean;
168
+ color?: string | undefined;
169
+ }[] | undefined;
170
+ description?: string | undefined;
171
+ assigneeName?: string | undefined;
172
+ assigneeRef?: any;
173
+ templateRef?: any;
174
+ notes?: string | undefined;
175
+ }, {
176
+ title: string;
177
+ discussed: boolean;
178
+ tags?: {
179
+ name: string;
180
+ hidden: boolean;
181
+ color?: string | undefined;
182
+ }[] | undefined;
183
+ description?: string | undefined;
184
+ assigneeName?: string | undefined;
185
+ assigneeRef?: any;
186
+ templateRef?: any;
187
+ notes?: string | undefined;
188
+ }>, "many">>;
189
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
190
+ name: z.ZodString;
191
+ color: z.ZodOptional<z.ZodString>;
192
+ hidden: z.ZodBoolean;
193
+ }, "strip", z.ZodTypeAny, {
194
+ name: string;
195
+ hidden: boolean;
196
+ color?: string | undefined;
197
+ }, {
198
+ name: string;
199
+ hidden: boolean;
200
+ color?: string | undefined;
201
+ }>, "many">>;
202
+ }>, "strip", z.ZodUnknown, z.objectOutputType<z.objectUtil.extendShape<{
203
+ id: z.ZodString;
204
+ ref: z.ZodAny;
205
+ tenant: z.ZodString;
206
+ model_ver: z.ZodOptional<z.ZodNumber>;
207
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
208
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
209
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
210
+ }, {
211
+ title: z.ZodString;
212
+ description: z.ZodOptional<z.ZodString>;
213
+ creatorName: z.ZodString;
214
+ creatorRef: z.ZodAny;
215
+ event: z.ZodObject<{
216
+ eventRef: z.ZodAny;
217
+ participantNames: z.ZodArray<z.ZodString, "many">;
218
+ participantRefs: z.ZodArray<z.ZodAny, "many">;
219
+ startDate: z.ZodDate;
220
+ endDate: z.ZodOptional<z.ZodDate>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ startDate: Date;
223
+ participantNames: string[];
224
+ participantRefs: any[];
225
+ endDate?: Date | undefined;
226
+ eventRef?: any;
227
+ }, {
228
+ startDate: Date;
229
+ participantNames: string[];
230
+ participantRefs: any[];
231
+ endDate?: Date | undefined;
232
+ eventRef?: any;
233
+ }>;
234
+ type: z.ZodEnum<["regular", "oneonone", "feedback", "presentation", "other"]>;
235
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
+ taskRef: z.ZodAny;
237
+ title: z.ZodString;
238
+ status: z.ZodEnum<["not_started", "in_progress", "completed", "cancelled", "on_hold"]>;
239
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
240
+ assigneeName: z.ZodOptional<z.ZodString>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
243
+ title: string;
244
+ priority?: "low" | "medium" | "high" | undefined;
245
+ assigneeName?: string | undefined;
246
+ taskRef?: any;
247
+ }, {
248
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
249
+ title: string;
250
+ priority?: "low" | "medium" | "high" | undefined;
251
+ assigneeName?: string | undefined;
252
+ taskRef?: any;
253
+ }>, "many">>;
254
+ talkingPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ templateRef: z.ZodAny;
256
+ title: z.ZodString;
257
+ description: z.ZodOptional<z.ZodString>;
258
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
259
+ name: z.ZodString;
260
+ color: z.ZodOptional<z.ZodString>;
261
+ hidden: z.ZodBoolean;
262
+ }, "strip", z.ZodTypeAny, {
263
+ name: string;
264
+ hidden: boolean;
265
+ color?: string | undefined;
266
+ }, {
267
+ name: string;
268
+ hidden: boolean;
269
+ color?: string | undefined;
270
+ }>, "many">>;
271
+ discussed: z.ZodBoolean;
272
+ notes: z.ZodOptional<z.ZodString>;
273
+ assigneeName: z.ZodOptional<z.ZodString>;
274
+ assigneeRef: z.ZodAny;
275
+ }, "strip", z.ZodTypeAny, {
276
+ title: string;
277
+ discussed: boolean;
278
+ tags?: {
279
+ name: string;
280
+ hidden: boolean;
281
+ color?: string | undefined;
282
+ }[] | undefined;
283
+ description?: string | undefined;
284
+ assigneeName?: string | undefined;
285
+ assigneeRef?: any;
286
+ templateRef?: any;
287
+ notes?: string | undefined;
288
+ }, {
289
+ title: string;
290
+ discussed: boolean;
291
+ tags?: {
292
+ name: string;
293
+ hidden: boolean;
294
+ color?: string | undefined;
295
+ }[] | undefined;
296
+ description?: string | undefined;
297
+ assigneeName?: string | undefined;
298
+ assigneeRef?: any;
299
+ templateRef?: any;
300
+ notes?: string | undefined;
301
+ }>, "many">>;
302
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
+ name: z.ZodString;
304
+ color: z.ZodOptional<z.ZodString>;
305
+ hidden: z.ZodBoolean;
306
+ }, "strip", z.ZodTypeAny, {
307
+ name: string;
308
+ hidden: boolean;
309
+ color?: string | undefined;
310
+ }, {
311
+ name: string;
312
+ hidden: boolean;
313
+ color?: string | undefined;
314
+ }>, "many">>;
315
+ }>, z.ZodUnknown, "strip">, z.objectInputType<z.objectUtil.extendShape<{
316
+ id: z.ZodString;
317
+ ref: z.ZodAny;
318
+ tenant: z.ZodString;
319
+ model_ver: z.ZodOptional<z.ZodNumber>;
320
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
321
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
322
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
323
+ }, {
324
+ title: z.ZodString;
325
+ description: z.ZodOptional<z.ZodString>;
326
+ creatorName: z.ZodString;
327
+ creatorRef: z.ZodAny;
328
+ event: z.ZodObject<{
329
+ eventRef: z.ZodAny;
330
+ participantNames: z.ZodArray<z.ZodString, "many">;
331
+ participantRefs: z.ZodArray<z.ZodAny, "many">;
332
+ startDate: z.ZodDate;
333
+ endDate: z.ZodOptional<z.ZodDate>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ startDate: Date;
336
+ participantNames: string[];
337
+ participantRefs: any[];
338
+ endDate?: Date | undefined;
339
+ eventRef?: any;
340
+ }, {
341
+ startDate: Date;
342
+ participantNames: string[];
343
+ participantRefs: any[];
344
+ endDate?: Date | undefined;
345
+ eventRef?: any;
346
+ }>;
347
+ type: z.ZodEnum<["regular", "oneonone", "feedback", "presentation", "other"]>;
348
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
349
+ taskRef: z.ZodAny;
350
+ title: z.ZodString;
351
+ status: z.ZodEnum<["not_started", "in_progress", "completed", "cancelled", "on_hold"]>;
352
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
353
+ assigneeName: z.ZodOptional<z.ZodString>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
356
+ title: string;
357
+ priority?: "low" | "medium" | "high" | undefined;
358
+ assigneeName?: string | undefined;
359
+ taskRef?: any;
360
+ }, {
361
+ status: "not_started" | "in_progress" | "completed" | "cancelled" | "on_hold";
362
+ title: string;
363
+ priority?: "low" | "medium" | "high" | undefined;
364
+ assigneeName?: string | undefined;
365
+ taskRef?: any;
366
+ }>, "many">>;
367
+ talkingPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
368
+ templateRef: z.ZodAny;
369
+ title: z.ZodString;
370
+ description: z.ZodOptional<z.ZodString>;
371
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ name: z.ZodString;
373
+ color: z.ZodOptional<z.ZodString>;
374
+ hidden: z.ZodBoolean;
375
+ }, "strip", z.ZodTypeAny, {
376
+ name: string;
377
+ hidden: boolean;
378
+ color?: string | undefined;
379
+ }, {
380
+ name: string;
381
+ hidden: boolean;
382
+ color?: string | undefined;
383
+ }>, "many">>;
384
+ discussed: z.ZodBoolean;
385
+ notes: z.ZodOptional<z.ZodString>;
386
+ assigneeName: z.ZodOptional<z.ZodString>;
387
+ assigneeRef: z.ZodAny;
388
+ }, "strip", z.ZodTypeAny, {
389
+ title: string;
390
+ discussed: boolean;
391
+ tags?: {
392
+ name: string;
393
+ hidden: boolean;
394
+ color?: string | undefined;
395
+ }[] | undefined;
396
+ description?: string | undefined;
397
+ assigneeName?: string | undefined;
398
+ assigneeRef?: any;
399
+ templateRef?: any;
400
+ notes?: string | undefined;
401
+ }, {
402
+ title: string;
403
+ discussed: boolean;
404
+ tags?: {
405
+ name: string;
406
+ hidden: boolean;
407
+ color?: string | undefined;
408
+ }[] | undefined;
409
+ description?: string | undefined;
410
+ assigneeName?: string | undefined;
411
+ assigneeRef?: any;
412
+ templateRef?: any;
413
+ notes?: string | undefined;
414
+ }>, "many">>;
415
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
+ name: z.ZodString;
417
+ color: z.ZodOptional<z.ZodString>;
418
+ hidden: z.ZodBoolean;
419
+ }, "strip", z.ZodTypeAny, {
420
+ name: string;
421
+ hidden: boolean;
422
+ color?: string | undefined;
423
+ }, {
424
+ name: string;
425
+ hidden: boolean;
426
+ color?: string | undefined;
427
+ }>, "many">>;
428
+ }>, z.ZodUnknown, "strip">>;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zMeetingSchema = exports.zMeetingTalkingPointSchema = exports.zMeetingTaskSchema = exports.zMeetingEventSchema = exports.zMeetingTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_schemas_1 = require("../evo-task/zod-schemas");
6
+ const zod_schemas_2 = require("../shared/zod-schemas");
7
+ // Enum for Meeting Types
8
+ exports.zMeetingTypeSchema = zod_1.z.enum([
9
+ "regular",
10
+ "oneonone",
11
+ "feedback",
12
+ "presentation",
13
+ "other",
14
+ ]);
15
+ exports.zMeetingEventSchema = zod_1.z.object({
16
+ eventRef: zod_1.z.any(),
17
+ participantNames: zod_1.z.array(zod_1.z.string()).min(1).max(50),
18
+ participantRefs: zod_1.z.array(zod_1.z.any()).min(1).max(50),
19
+ startDate: zod_1.z.date(),
20
+ endDate: zod_1.z.date().optional(),
21
+ });
22
+ exports.zMeetingTaskSchema = zod_1.z.object({
23
+ taskRef: zod_1.z.any(),
24
+ title: zod_1.z.string(),
25
+ status: zod_schemas_1.zTaskStatusSchema,
26
+ priority: zod_schemas_1.zTaskPrioritySchema.optional(),
27
+ assigneeName: zod_1.z.string().optional(),
28
+ });
29
+ exports.zMeetingTalkingPointSchema = zod_1.z.object({
30
+ templateRef: zod_1.z.any(),
31
+ title: zod_1.z.string(),
32
+ description: zod_1.z.string().optional(),
33
+ tags: zod_1.z.array(zod_schemas_2.zTagSchema).optional(),
34
+ discussed: zod_1.z.boolean(),
35
+ notes: zod_1.z.string().optional(),
36
+ assigneeName: zod_1.z.string().optional(),
37
+ assigneeRef: zod_1.z.any(),
38
+ });
39
+ exports.zMeetingSchema = zod_schemas_2.zFireDocSchema // Extend from FireDocSchema
40
+ .extend({
41
+ title: zod_1.z.string(),
42
+ description: zod_1.z.string().optional(),
43
+ creatorName: zod_1.z.string(),
44
+ creatorRef: zod_1.z.any(),
45
+ event: exports.zMeetingEventSchema,
46
+ type: exports.zMeetingTypeSchema,
47
+ tasks: zod_1.z.array(exports.zMeetingTaskSchema).optional(),
48
+ talkingPoints: zod_1.z.array(exports.zMeetingTalkingPointSchema).optional(),
49
+ tags: zod_1.z.array(zod_schemas_2.zTagSchema).optional(),
50
+ })
51
+ .catchall(zod_1.z.unknown());