evo360-types 1.3.38 → 1.3.40
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.
- package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-activity/zod-schemas.js +8 -10
- package/dist/apps/evo-activity/zod-schemas.ts +1 -2
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +2 -2
- package/dist/apps/evo-survey/zod-schemas.d.ts +21 -21
- package/dist/apps/shared/zod-schemas.d.ts +1 -1
- package/dist/apps/shared/zod-schemas.js +2 -2
- package/dist/apps/shared/zod-schemas.ts +2 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.ts +0 -2
- package/dist/types/evo-activity/index.d.ts +1 -2
- package/dist/types/evo-activity/index.ts +1 -3
- package/dist/types/shared/index.d.ts +4 -5
- package/dist/types/shared/index.js +2 -3
- package/dist/types/shared/index.ts +6 -7
- package/package.json +1 -1
- package/dist/apps/evo-cake/zod-schemas.d.ts +0 -783
- package/dist/apps/evo-cake/zod-schemas.js +0 -110
- package/dist/apps/evo-cake/zod-schemas.ts +0 -121
- package/dist/apps/evo-calendar/zod-schemas.d.ts +0 -71
- package/dist/apps/evo-calendar/zod-schemas.js +0 -32
- package/dist/apps/evo-calendar/zod-schemas.ts +0 -33
- package/dist/apps/evo-meeting/zod-schemas.d.ts +0 -429
- package/dist/apps/evo-meeting/zod-schemas.js +0 -56
- package/dist/apps/evo-meeting/zod-schemas.ts +0 -62
- package/dist/types/evo-cake/fb_collections.d.ts +0 -4
- package/dist/types/evo-cake/fb_collections.js +0 -9
- package/dist/types/evo-cake/fb_collections.ts +0 -7
- package/dist/types/evo-cake/index.d.ts +0 -111
- package/dist/types/evo-cake/index.js +0 -79
- package/dist/types/evo-cake/index.ts +0 -186
- package/dist/types/evo-calendar/fb_collections.d.ts +0 -2
- package/dist/types/evo-calendar/fb_collections.js +0 -7
- package/dist/types/evo-calendar/fb_collections.ts +0 -5
- package/dist/types/evo-calendar/index.d.ts +0 -54
- package/dist/types/evo-calendar/index.js +0 -37
- package/dist/types/evo-calendar/index.ts +0 -67
- package/dist/types/evo-meeting/fb_collections.d.ts +0 -2
- package/dist/types/evo-meeting/fb_collections.js +0 -7
- package/dist/types/evo-meeting/fb_collections.ts +0 -5
- package/dist/types/evo-meeting/index.d.ts +0 -58
- package/dist/types/evo-meeting/index.js +0 -32
- package/dist/types/evo-meeting/index.ts +0 -80
|
@@ -1,429 +0,0 @@
|
|
|
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">>;
|
|
@@ -1,56 +0,0 @@
|
|
|
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());
|
|
@@ -1,62 +0,0 @@
|
|
|
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());
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CAKE_ASSETS_COLLECTION = exports.CAKE_DOCS_COLLECTION = exports.CAKES_COLLECTION = exports.EVO_CAKE_APP = void 0;
|
|
4
|
-
//EVO Activity Application Doc
|
|
5
|
-
exports.EVO_CAKE_APP = "evo-cake";
|
|
6
|
-
//Activities collection
|
|
7
|
-
exports.CAKES_COLLECTION = "cakes";
|
|
8
|
-
exports.CAKE_DOCS_COLLECTION = "docs"; //consensus documents
|
|
9
|
-
exports.CAKE_ASSETS_COLLECTION = "assets";
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export * from "./fb_collections";
|
|
2
|
-
import type { IFireDoc, ITag } from "../shared";
|
|
3
|
-
export type CakeAction = "CREATE_CAKE" | "DELETE_CAKE" | "UPDATE_CAKE" | "SHARE_CAKE";
|
|
4
|
-
export declare enum ICakeAction {
|
|
5
|
-
Create_cake_asset = "CREATE_CAKE_ASSET",
|
|
6
|
-
Delete_cake_asset = "DELETE_CAKE_ASSET",
|
|
7
|
-
Update_cake_asset = "UPDATE_CAKE_ASSET",
|
|
8
|
-
Share_cake_asset = "SHARE_CAKE"
|
|
9
|
-
}
|
|
10
|
-
export type CakeAssetAction = "CREATE_CAKE_ASSET" | "DELETE_CAKE_ASSET" | "UPDATE_CAKE_ASSET" | "PROCESS_CAKE_ASSET" | "CLASSIFY_CAKE_ASSET" | "EXTRACT_TEXT_CAKE_ASSET" | "OCR_CAKE_ASSET" | "METADATA_EXTRACTION_CAKE_ASSET" | "PROCESS_CAKE_ASSET_DONE" | "UPDATE_RELEVANCE_SCORE_CAKE_ASSET" | "UPDATE_ASSET_STATUS_CAKE_ASSET" | "UPDATE_ASSET_TAGS_CAKE_ASSET" | "PROCESS_CAKE_ASSET_FAILED" | "CLASSIFY_CAKE_ASSET_FAILED" | "EXTRACT_TEXT_CAKE_ASSET_FAILED" | "STORE_CAKE_ASSET" | "RETRIEVE_CAKE_ASSET";
|
|
11
|
-
export declare enum ICakeAssetAction {
|
|
12
|
-
Create_cake_asset = "CREATE_CAKE_ASSET",
|
|
13
|
-
Delete_cake_asset = "DELETE_CAKE_ASSET",
|
|
14
|
-
Update_cake_asset = "UPDATE_CAKE_ASSET",
|
|
15
|
-
Process_cake_asset = "PROCESS_CAKE_ASSET",// Ação geral de processamento iniciada
|
|
16
|
-
Classify_cake_asset = "CLASSIFY_CAKE_ASSET",// Classificação do asset (ex: tipo de documento, linguagem)
|
|
17
|
-
Extract_text_cake_asset = "EXTRACT_TEXT_CAKE_ASSET",// Extração de texto do asset
|
|
18
|
-
Ocr_cake_asset = "OCR_CAKE_ASSET",// Processamento OCR se aplicável
|
|
19
|
-
Metadata_extraction_cake_asset = "METADATA_EXTRACTION_CAKE_ASSET",// Extração de metadados
|
|
20
|
-
Process_cake_asset_done = "PROCESS_CAKE_ASSET_DONE",// Ação geral de processamento finalizada
|
|
21
|
-
Update_relevance_score_cake_asset = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
|
|
22
|
-
Update_asset_status_cake_asset = "UPDATE_ASSET_STATUS_CAKE_ASSET",// Ex: processando, processado, erro
|
|
23
|
-
Update_asset_tags_cake_asset = "UPDATE_ASSET_TAGS_CAKE_ASSET",
|
|
24
|
-
Process_cake_asset_failed = "PROCESS_CAKE_ASSET_FAILED",
|
|
25
|
-
Classify_cake_asset_failed = "CLASSIFY_CAKE_ASSET_FAILED",
|
|
26
|
-
Extract_text_cake_asset_failed = "EXTRACT_TEXT_CAKE_ASSET_FAILED",
|
|
27
|
-
Store_cake_asset = "STORE_CAKE_ASSET",// Armazenamento do asset (ex: nuvem, banco de dados)
|
|
28
|
-
Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET"
|
|
29
|
-
}
|
|
30
|
-
export type CakePermission = "private" | "tenant" | "public";
|
|
31
|
-
export declare enum ICakePermission {
|
|
32
|
-
Private = "private",
|
|
33
|
-
Tenant = "tenant",
|
|
34
|
-
Public = "public"
|
|
35
|
-
}
|
|
36
|
-
export type CakeStatus = "active" | "archived";
|
|
37
|
-
export declare enum ICakeStatus {
|
|
38
|
-
Active = "active",
|
|
39
|
-
Archived = "archived"
|
|
40
|
-
}
|
|
41
|
-
export interface ICake extends IFireDoc {
|
|
42
|
-
name: string;
|
|
43
|
-
description?: string;
|
|
44
|
-
status?: CakeStatus;
|
|
45
|
-
permission?: CakePermission;
|
|
46
|
-
assets?: ICakeAsset[] | null;
|
|
47
|
-
tags?: ITag[] | null;
|
|
48
|
-
}
|
|
49
|
-
export interface ICakeDoc extends IFireDoc {
|
|
50
|
-
name: string;
|
|
51
|
-
description?: string;
|
|
52
|
-
content?: string | null;
|
|
53
|
-
tags?: ITag[] | null;
|
|
54
|
-
}
|
|
55
|
-
export type CakeAssetType = "file" | "event" | "meeting" | "note" | "data";
|
|
56
|
-
export declare enum ICakeAssetType {
|
|
57
|
-
File = "file",
|
|
58
|
-
Event = "event",
|
|
59
|
-
Meeting = "meeting",
|
|
60
|
-
Note = "note",
|
|
61
|
-
Data = "data"
|
|
62
|
-
}
|
|
63
|
-
export type CakeAssetProcessingStatus = "waiting" | "started" | "done" | "failed";
|
|
64
|
-
export declare enum ICakeAssetProcessingStatus {
|
|
65
|
-
Waiting = "waiting",
|
|
66
|
-
Started = "started",
|
|
67
|
-
Done = "done",
|
|
68
|
-
Failed = "failed"
|
|
69
|
-
}
|
|
70
|
-
interface StructuredData {
|
|
71
|
-
[key: string]: string | number | boolean | Date | StructuredData;
|
|
72
|
-
}
|
|
73
|
-
export type ICakeAsset = IFileAsset | ICalendarEventAsset | IMeetingAsset | INoteAsset | IStructuredDataAsset;
|
|
74
|
-
export interface IBaseAsset extends IFireDoc {
|
|
75
|
-
cakeId: string;
|
|
76
|
-
type: CakeAssetType;
|
|
77
|
-
relevance_score: number;
|
|
78
|
-
structured_data?: StructuredData;
|
|
79
|
-
embeddings?: number[];
|
|
80
|
-
metadata?: Record<string, any>;
|
|
81
|
-
processing_status?: CakeAssetProcessingStatus;
|
|
82
|
-
tags?: ITag[] | null;
|
|
83
|
-
}
|
|
84
|
-
export interface IFileAsset extends IBaseAsset {
|
|
85
|
-
file_name: string;
|
|
86
|
-
file_type: string;
|
|
87
|
-
storage_location: string;
|
|
88
|
-
download_url: string;
|
|
89
|
-
extracted_text?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface ICalendarEventAsset extends IBaseAsset {
|
|
92
|
-
title: string;
|
|
93
|
-
date: Date;
|
|
94
|
-
start_time?: Date;
|
|
95
|
-
end_time?: Date;
|
|
96
|
-
location?: string;
|
|
97
|
-
participants?: string[];
|
|
98
|
-
description?: string;
|
|
99
|
-
}
|
|
100
|
-
export interface IMeetingAsset extends ICalendarEventAsset {
|
|
101
|
-
agenda?: string;
|
|
102
|
-
notes?: string;
|
|
103
|
-
}
|
|
104
|
-
export interface INoteAsset extends IBaseAsset {
|
|
105
|
-
title?: string;
|
|
106
|
-
content: string;
|
|
107
|
-
}
|
|
108
|
-
export interface IStructuredDataAsset extends IBaseAsset {
|
|
109
|
-
data?: object;
|
|
110
|
-
schema?: string;
|
|
111
|
-
}
|