evo360-types 1.3.6 → 1.3.9

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