evo360-types 1.1.21 → 1.1.23

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 (54) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +78 -0
  2. package/dist/apps/evo-activity/zod-schemas.js +39 -0
  3. package/dist/apps/evo-activity/zod-schemas.ts +42 -0
  4. package/dist/apps/evo-calendar/zod-schemas.d.ts +7 -6
  5. package/dist/apps/evo-calendar/zod-schemas.js +10 -5
  6. package/dist/apps/evo-calendar/zod-schemas.ts +10 -4
  7. package/dist/apps/evo-meeting/zod-schemas.d.ts +25 -24
  8. package/dist/apps/evo-meeting/zod-schemas.js +6 -1
  9. package/dist/apps/evo-meeting/zod-schemas.ts +6 -0
  10. package/dist/apps/evo-people/zod-schemas.d.ts +1 -0
  11. package/dist/apps/evo-people/zod-schemas.js +19 -1
  12. package/dist/apps/evo-people/zod-schemas.ts +19 -0
  13. package/dist/apps/evo-survey/zod-schemas.d.ts +2 -0
  14. package/dist/apps/evo-survey/zod-schemas.js +12 -1
  15. package/dist/apps/evo-survey/zod-schemas.ts +13 -0
  16. package/dist/apps/evo-task/zod-schemas.d.ts +1 -0
  17. package/dist/apps/evo-task/zod-schemas.js +6 -1
  18. package/dist/apps/evo-task/zod-schemas.ts +6 -0
  19. package/dist/apps/evo-tenant/zod-schemas.d.ts +1 -0
  20. package/dist/apps/evo-tenant/zod-schemas.js +6 -1
  21. package/dist/apps/evo-tenant/zod-schemas.ts +6 -0
  22. package/dist/apps/shared/zod-schemas.d.ts +1 -0
  23. package/dist/apps/shared/zod-schemas.js +12 -1
  24. package/dist/apps/shared/zod-schemas.ts +12 -0
  25. package/dist/index.js +2 -0
  26. package/dist/index.ts +2 -0
  27. package/dist/types/evo-activity/fb_collections.d.ts +2 -0
  28. package/dist/types/evo-activity/fb_collections.js +7 -0
  29. package/dist/types/evo-activity/fb_collections.ts +5 -0
  30. package/dist/types/evo-activity/index.d.ts +28 -0
  31. package/dist/types/evo-activity/index.js +26 -0
  32. package/dist/types/evo-activity/index.ts +44 -0
  33. package/dist/types/evo-calendar/index.d.ts +10 -4
  34. package/dist/types/evo-calendar/index.js +14 -8
  35. package/dist/types/evo-calendar/index.ts +12 -4
  36. package/dist/types/evo-meeting/index.d.ts +6 -0
  37. package/dist/types/evo-meeting/index.js +7 -1
  38. package/dist/types/evo-meeting/index.ts +11 -0
  39. package/dist/types/evo-people/index.d.ts +19 -0
  40. package/dist/types/evo-people/index.js +20 -1
  41. package/dist/types/evo-people/index.ts +39 -0
  42. package/dist/types/evo-survey/index.d.ts +12 -0
  43. package/dist/types/evo-survey/index.js +13 -1
  44. package/dist/types/evo-survey/index.ts +19 -0
  45. package/dist/types/evo-task/index.d.ts +6 -0
  46. package/dist/types/evo-task/index.js +7 -1
  47. package/dist/types/evo-task/index.ts +9 -0
  48. package/dist/types/evo-tenant/index.d.ts +6 -0
  49. package/dist/types/evo-tenant/index.js +7 -1
  50. package/dist/types/evo-tenant/index.ts +8 -0
  51. package/dist/types/shared/index.d.ts +11 -0
  52. package/dist/types/shared/index.js +12 -0
  53. package/dist/types/shared/index.ts +22 -0
  54. package/package.json +1 -1
@@ -0,0 +1,78 @@
1
+ import { z } from "zod";
2
+ export declare const zReadStatusSchema: z.ZodEnum<["unread", "read", "archived", "dismissed", "snoozed"]>;
3
+ export declare const zActivitySchema: z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodString;
5
+ ref: z.ZodAny;
6
+ tenant: z.ZodString;
7
+ model_ver: z.ZodOptional<z.ZodNumber>;
8
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
9
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
11
+ }, {
12
+ created_by: z.ZodAny;
13
+ created_to: z.ZodAny;
14
+ creatorName: z.ZodOptional<z.ZodString>;
15
+ title: z.ZodOptional<z.ZodString>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ app: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-meeting", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
18
+ type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["CREATE_MEETING", "DELETE_MEETING", "UPDATE_MEETING"]>, z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_MY_PROFILE", "UPDATE_MY_PHOTO", "UPDATE_MY_PASSWORD"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
19
+ readStatus: z.ZodEnum<["unread", "read", "archived", "dismissed", "snoozed"]>;
20
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
21
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
22
+ name: z.ZodString;
23
+ color: z.ZodOptional<z.ZodString>;
24
+ hidden: z.ZodBoolean;
25
+ }, "strip", z.ZodTypeAny, {
26
+ name: string;
27
+ hidden: boolean;
28
+ color?: string | undefined;
29
+ }, {
30
+ name: string;
31
+ hidden: boolean;
32
+ color?: string | undefined;
33
+ }>, "many">>;
34
+ }>, "strip", z.ZodTypeAny, {
35
+ id: string;
36
+ tenant: string;
37
+ type: "CREATE_TENANT" | "DELETE_TENANT" | "UPDATE_TENANT" | "CREATE_TASK" | "DELETE_TASK" | "UPDATE_TASK" | "CREATE_MEETING" | "DELETE_MEETING" | "UPDATE_MEETING" | "CREATE_EVENT" | "DELETE_EVENT" | "UPDATE_EVENT" | "CREATE_COMPANY" | "DELETE_COMPANY" | "UPDATE_COMPANY" | "CREATE_OFFICE" | "DELETE_OFFICE" | "UPDATE_OFFICE" | "CREATE_DEPARTMENT" | "DELETE_DEPARTMENT" | "UPDATE_DEPARTMENT" | "CREATE_EMPLOYEE" | "DELETE_EMPLOYEE" | "UPDATE_EMPLOYEE" | "UPDATE_EMPLOYEE_PHOTO" | "UPDATE_MY_PROFILE" | "UPDATE_MY_PHOTO" | "UPDATE_MY_PASSWORD" | "CREATE_SURVEY" | "DELETE_SURVEY" | "UPDATE_SURVEY";
38
+ app: "evo-activity" | "evo-calendar" | "evo-core" | "evo-meeting" | "evo-people" | "evo-survey" | "evo-task" | "evo-tenant";
39
+ readStatus: "archived" | "unread" | "read" | "dismissed" | "snoozed";
40
+ ref?: any;
41
+ model_ver?: number | undefined;
42
+ created_at?: Date | null | undefined;
43
+ updated_at?: Date | null | undefined;
44
+ deleted_at?: Date | null | undefined;
45
+ created_by?: any;
46
+ title?: string | undefined;
47
+ description?: string | undefined;
48
+ creatorName?: string | undefined;
49
+ tags?: {
50
+ name: string;
51
+ hidden: boolean;
52
+ color?: string | undefined;
53
+ }[] | undefined;
54
+ created_to?: any;
55
+ metadata?: Record<string, any> | undefined;
56
+ }, {
57
+ id: string;
58
+ tenant: string;
59
+ type: "CREATE_TENANT" | "DELETE_TENANT" | "UPDATE_TENANT" | "CREATE_TASK" | "DELETE_TASK" | "UPDATE_TASK" | "CREATE_MEETING" | "DELETE_MEETING" | "UPDATE_MEETING" | "CREATE_EVENT" | "DELETE_EVENT" | "UPDATE_EVENT" | "CREATE_COMPANY" | "DELETE_COMPANY" | "UPDATE_COMPANY" | "CREATE_OFFICE" | "DELETE_OFFICE" | "UPDATE_OFFICE" | "CREATE_DEPARTMENT" | "DELETE_DEPARTMENT" | "UPDATE_DEPARTMENT" | "CREATE_EMPLOYEE" | "DELETE_EMPLOYEE" | "UPDATE_EMPLOYEE" | "UPDATE_EMPLOYEE_PHOTO" | "UPDATE_MY_PROFILE" | "UPDATE_MY_PHOTO" | "UPDATE_MY_PASSWORD" | "CREATE_SURVEY" | "DELETE_SURVEY" | "UPDATE_SURVEY";
60
+ app: "evo-activity" | "evo-calendar" | "evo-core" | "evo-meeting" | "evo-people" | "evo-survey" | "evo-task" | "evo-tenant";
61
+ readStatus: "archived" | "unread" | "read" | "dismissed" | "snoozed";
62
+ ref?: any;
63
+ model_ver?: number | undefined;
64
+ created_at?: Date | null | undefined;
65
+ updated_at?: Date | null | undefined;
66
+ deleted_at?: Date | null | undefined;
67
+ created_by?: any;
68
+ title?: string | undefined;
69
+ description?: string | undefined;
70
+ creatorName?: string | undefined;
71
+ tags?: {
72
+ name: string;
73
+ hidden: boolean;
74
+ color?: string | undefined;
75
+ }[] | undefined;
76
+ created_to?: any;
77
+ metadata?: Record<string, any> | undefined;
78
+ }>;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zActivitySchema = exports.zReadStatusSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_schemas_1 = require("../shared/zod-schemas");
6
+ const zod_schemas_2 = require("../evo-calendar/zod-schemas");
7
+ const zod_schemas_3 = require("../evo-meeting/zod-schemas");
8
+ const zod_schemas_4 = require("../evo-people/zod-schemas");
9
+ const zod_schemas_5 = require("../evo-survey/zod-schemas");
10
+ const zod_schemas_6 = require("../evo-task/zod-schemas");
11
+ const zod_schemas_7 = require("../evo-tenant/zod-schemas");
12
+ // Enum for activity read status
13
+ exports.zReadStatusSchema = zod_1.z.enum([
14
+ "unread",
15
+ "read",
16
+ "archived",
17
+ "dismissed",
18
+ "snoozed",
19
+ ]);
20
+ exports.zActivitySchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
21
+ .extend({
22
+ created_by: zod_1.z.any(),
23
+ created_to: zod_1.z.any(),
24
+ creatorName: zod_1.z.string().optional(),
25
+ title: zod_1.z.string().max(255).optional(),
26
+ description: zod_1.z.string().max(512).optional(),
27
+ app: zod_schemas_1.zEvoAppSchema,
28
+ type: zod_1.z.union([
29
+ zod_schemas_2.zCalendarActionSchema,
30
+ zod_schemas_3.zMeetingActionSchema,
31
+ zod_schemas_4.zPeopleActionSchema,
32
+ zod_schemas_5.zSurveyActionSchema,
33
+ zod_schemas_6.zTaskActionSchema,
34
+ zod_schemas_7.zTenantActionSchema,
35
+ ]),
36
+ readStatus: exports.zReadStatusSchema,
37
+ metadata: zod_1.z.record(zod_1.z.any()).optional(),
38
+ tags: zod_1.z.array(zod_schemas_1.zTagSchema).optional(),
39
+ });
@@ -0,0 +1,42 @@
1
+ import { z } from "zod";
2
+ import {
3
+ zEvoAppSchema,
4
+ zFireDocSchema,
5
+ zTagSchema,
6
+ } from "../shared/zod-schemas";
7
+ import { zCalendarActionSchema } from "../evo-calendar/zod-schemas";
8
+ import { zMeetingActionSchema } from "../evo-meeting/zod-schemas";
9
+ import { zPeopleActionSchema } from "../evo-people/zod-schemas";
10
+ import { zSurveyActionSchema } from "../evo-survey/zod-schemas";
11
+ import { zTaskActionSchema } from "../evo-task/zod-schemas";
12
+ import { zTenantActionSchema } from "../evo-tenant/zod-schemas";
13
+
14
+ // Enum for activity read status
15
+ export const zReadStatusSchema = z.enum([
16
+ "unread",
17
+ "read",
18
+ "archived",
19
+ "dismissed",
20
+ "snoozed",
21
+ ]);
22
+
23
+ export const zActivitySchema = zFireDocSchema // Extend from FireDocSchema
24
+ .extend({
25
+ created_by: z.any(),
26
+ created_to: z.any(),
27
+ creatorName: z.string().optional(),
28
+ title: z.string().max(255).optional(),
29
+ description: z.string().max(512).optional(),
30
+ app: zEvoAppSchema,
31
+ type: z.union([
32
+ zCalendarActionSchema,
33
+ zMeetingActionSchema,
34
+ zPeopleActionSchema,
35
+ zSurveyActionSchema,
36
+ zTaskActionSchema,
37
+ zTenantActionSchema,
38
+ ]),
39
+ readStatus: zReadStatusSchema,
40
+ metadata: z.record(z.any()).optional(),
41
+ tags: z.array(zTagSchema).optional(),
42
+ });
@@ -1,6 +1,7 @@
1
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"]>;
2
+ export declare const zCalendarActionSchema: z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>;
3
+ export declare const zCalendarEventStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled"]>;
4
+ export declare const zCalendarEventTypeSchema: z.ZodEnum<["event", "meeting", "workshop", "other"]>;
4
5
  export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
5
6
  id: z.ZodString;
6
7
  ref: z.ZodAny;
@@ -41,13 +42,13 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
41
42
  created_at?: Date | null | undefined;
42
43
  updated_at?: Date | null | undefined;
43
44
  deleted_at?: Date | null | undefined;
45
+ description?: string | undefined;
46
+ creatorRef?: any;
44
47
  tags?: {
45
48
  name: string;
46
49
  hidden: boolean;
47
50
  color?: string | undefined;
48
51
  }[] | undefined;
49
- description?: string | undefined;
50
- creatorRef?: any;
51
52
  }, {
52
53
  id: string;
53
54
  tenant: string;
@@ -60,11 +61,11 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
60
61
  created_at?: Date | null | undefined;
61
62
  updated_at?: Date | null | undefined;
62
63
  deleted_at?: Date | null | undefined;
64
+ description?: string | undefined;
65
+ creatorRef?: any;
63
66
  tags?: {
64
67
  name: string;
65
68
  hidden: boolean;
66
69
  color?: string | undefined;
67
70
  }[] | undefined;
68
- description?: string | undefined;
69
- creatorRef?: any;
70
71
  }>;
@@ -1,15 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zEventSchema = exports.zEventTypeSchema = exports.zEventStatusSchema = void 0;
3
+ exports.zEventSchema = exports.zCalendarEventTypeSchema = exports.zCalendarEventStatusSchema = exports.zCalendarActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
+ exports.zCalendarActionSchema = zod_1.z.enum([
7
+ "CREATE_EVENT",
8
+ "DELETE_EVENT",
9
+ "UPDATE_EVENT",
10
+ ]);
6
11
  // Enum for Event Instance Status
7
- exports.zEventStatusSchema = zod_1.z.enum([
12
+ exports.zCalendarEventStatusSchema = zod_1.z.enum([
8
13
  "scheduled",
9
14
  "completed",
10
15
  "cancelled",
11
16
  ]);
12
- exports.zEventTypeSchema = zod_1.z.enum([
17
+ exports.zCalendarEventTypeSchema = zod_1.z.enum([
13
18
  "event",
14
19
  "meeting",
15
20
  "workshop",
@@ -21,7 +26,7 @@ exports.zEventSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
21
26
  description: zod_1.z.string().optional(),
22
27
  creatorName: zod_1.z.string(),
23
28
  creatorRef: zod_1.z.any(),
24
- eventType: exports.zEventTypeSchema,
25
- eventStatus: exports.zEventStatusSchema,
29
+ eventType: exports.zCalendarEventTypeSchema,
30
+ eventStatus: exports.zCalendarEventStatusSchema,
26
31
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).optional(),
27
32
  });
@@ -1,14 +1,20 @@
1
1
  import { z } from "zod";
2
2
  import { zFireDocSchema, zTagSchema } from "../shared/zod-schemas";
3
3
 
4
+ export const zCalendarActionSchema = z.enum([
5
+ "CREATE_EVENT",
6
+ "DELETE_EVENT",
7
+ "UPDATE_EVENT",
8
+ ]);
9
+
4
10
  // Enum for Event Instance Status
5
- export const zEventStatusSchema = z.enum([
11
+ export const zCalendarEventStatusSchema = z.enum([
6
12
  "scheduled",
7
13
  "completed",
8
14
  "cancelled",
9
15
  ]);
10
16
 
11
- export const zEventTypeSchema = z.enum([
17
+ export const zCalendarEventTypeSchema = z.enum([
12
18
  "event",
13
19
  "meeting",
14
20
  "workshop",
@@ -21,7 +27,7 @@ export const zEventSchema = zFireDocSchema // Extend from FireDocSchema
21
27
  description: z.string().optional(),
22
28
  creatorName: z.string(),
23
29
  creatorRef: z.any(),
24
- eventType: zEventTypeSchema,
25
- eventStatus: zEventStatusSchema,
30
+ eventType: zCalendarEventTypeSchema,
31
+ eventStatus: zCalendarEventStatusSchema,
26
32
  tags: z.array(zTagSchema).optional(),
27
33
  });
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ export declare const zMeetingActionSchema: z.ZodEnum<["CREATE_MEETING", "DELETE_MEETING", "UPDATE_MEETING"]>;
2
3
  export declare const zMeetingTypeSchema: z.ZodEnum<["regular", "oneonone", "feedback", "presentation", "other"]>;
3
4
  export declare const zMeetingEventSchema: z.ZodObject<{
4
5
  eventRef: z.ZodAny;
@@ -62,27 +63,27 @@ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
62
63
  }, "strip", z.ZodTypeAny, {
63
64
  title: string;
64
65
  discussed: boolean;
66
+ description?: string | undefined;
67
+ assigneeName?: string | undefined;
68
+ assigneeRef?: any;
65
69
  tags?: {
66
70
  name: string;
67
71
  hidden: boolean;
68
72
  color?: string | undefined;
69
73
  }[] | undefined;
70
- description?: string | undefined;
71
- assigneeName?: string | undefined;
72
- assigneeRef?: any;
73
74
  templateRef?: any;
74
75
  notes?: string | undefined;
75
76
  }, {
76
77
  title: string;
77
78
  discussed: boolean;
79
+ description?: string | undefined;
80
+ assigneeName?: string | undefined;
81
+ assigneeRef?: any;
78
82
  tags?: {
79
83
  name: string;
80
84
  hidden: boolean;
81
85
  color?: string | undefined;
82
86
  }[] | undefined;
83
- description?: string | undefined;
84
- assigneeName?: string | undefined;
85
- assigneeRef?: any;
86
87
  templateRef?: any;
87
88
  notes?: string | undefined;
88
89
  }>;
@@ -162,27 +163,27 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
162
163
  }, "strip", z.ZodTypeAny, {
163
164
  title: string;
164
165
  discussed: boolean;
166
+ description?: string | undefined;
167
+ assigneeName?: string | undefined;
168
+ assigneeRef?: any;
165
169
  tags?: {
166
170
  name: string;
167
171
  hidden: boolean;
168
172
  color?: string | undefined;
169
173
  }[] | undefined;
170
- description?: string | undefined;
171
- assigneeName?: string | undefined;
172
- assigneeRef?: any;
173
174
  templateRef?: any;
174
175
  notes?: string | undefined;
175
176
  }, {
176
177
  title: string;
177
178
  discussed: boolean;
179
+ description?: string | undefined;
180
+ assigneeName?: string | undefined;
181
+ assigneeRef?: any;
178
182
  tags?: {
179
183
  name: string;
180
184
  hidden: boolean;
181
185
  color?: string | undefined;
182
186
  }[] | undefined;
183
- description?: string | undefined;
184
- assigneeName?: string | undefined;
185
- assigneeRef?: any;
186
187
  templateRef?: any;
187
188
  notes?: string | undefined;
188
189
  }>, "many">>;
@@ -275,27 +276,27 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
275
276
  }, "strip", z.ZodTypeAny, {
276
277
  title: string;
277
278
  discussed: boolean;
279
+ description?: string | undefined;
280
+ assigneeName?: string | undefined;
281
+ assigneeRef?: any;
278
282
  tags?: {
279
283
  name: string;
280
284
  hidden: boolean;
281
285
  color?: string | undefined;
282
286
  }[] | undefined;
283
- description?: string | undefined;
284
- assigneeName?: string | undefined;
285
- assigneeRef?: any;
286
287
  templateRef?: any;
287
288
  notes?: string | undefined;
288
289
  }, {
289
290
  title: string;
290
291
  discussed: boolean;
292
+ description?: string | undefined;
293
+ assigneeName?: string | undefined;
294
+ assigneeRef?: any;
291
295
  tags?: {
292
296
  name: string;
293
297
  hidden: boolean;
294
298
  color?: string | undefined;
295
299
  }[] | undefined;
296
- description?: string | undefined;
297
- assigneeName?: string | undefined;
298
- assigneeRef?: any;
299
300
  templateRef?: any;
300
301
  notes?: string | undefined;
301
302
  }>, "many">>;
@@ -388,27 +389,27 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
388
389
  }, "strip", z.ZodTypeAny, {
389
390
  title: string;
390
391
  discussed: boolean;
392
+ description?: string | undefined;
393
+ assigneeName?: string | undefined;
394
+ assigneeRef?: any;
391
395
  tags?: {
392
396
  name: string;
393
397
  hidden: boolean;
394
398
  color?: string | undefined;
395
399
  }[] | undefined;
396
- description?: string | undefined;
397
- assigneeName?: string | undefined;
398
- assigneeRef?: any;
399
400
  templateRef?: any;
400
401
  notes?: string | undefined;
401
402
  }, {
402
403
  title: string;
403
404
  discussed: boolean;
405
+ description?: string | undefined;
406
+ assigneeName?: string | undefined;
407
+ assigneeRef?: any;
404
408
  tags?: {
405
409
  name: string;
406
410
  hidden: boolean;
407
411
  color?: string | undefined;
408
412
  }[] | undefined;
409
- description?: string | undefined;
410
- assigneeName?: string | undefined;
411
- assigneeRef?: any;
412
413
  templateRef?: any;
413
414
  notes?: string | undefined;
414
415
  }>, "many">>;
@@ -1,9 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zMeetingSchema = exports.zMeetingTalkingPointSchema = exports.zMeetingTaskSchema = exports.zMeetingEventSchema = exports.zMeetingTypeSchema = void 0;
3
+ exports.zMeetingSchema = exports.zMeetingTalkingPointSchema = exports.zMeetingTaskSchema = exports.zMeetingEventSchema = exports.zMeetingTypeSchema = exports.zMeetingActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../evo-task/zod-schemas");
6
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
+ ]);
7
12
  // Enum for Meeting Types
8
13
  exports.zMeetingTypeSchema = zod_1.z.enum([
9
14
  "regular",
@@ -5,6 +5,12 @@ import {
5
5
  } from "../evo-task/zod-schemas";
6
6
  import { zFireDocSchema, zTagSchema } from "../shared/zod-schemas";
7
7
 
8
+ export const zMeetingActionSchema = z.enum([
9
+ "CREATE_MEETING",
10
+ "DELETE_MEETING",
11
+ "UPDATE_MEETING",
12
+ ]);
13
+
8
14
  // Enum for Meeting Types
9
15
  export const zMeetingTypeSchema = z.enum([
10
16
  "regular",
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ export declare const zPeopleActionSchema: z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_MY_PROFILE", "UPDATE_MY_PHOTO", "UPDATE_MY_PASSWORD"]>;
2
3
  export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
3
4
  id: z.ZodString;
4
5
  ref: z.ZodAny;
@@ -1,8 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zCompanySchema = exports.zOfficeSchema = exports.zDepartmentSchema = exports.zEmployeeSchema = exports.zEmployeeStatusSchema = exports.zProfileSchema = void 0;
3
+ exports.zCompanySchema = exports.zOfficeSchema = exports.zDepartmentSchema = exports.zEmployeeSchema = exports.zEmployeeStatusSchema = exports.zProfileSchema = exports.zPeopleActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
+ exports.zPeopleActionSchema = zod_1.z.enum([
7
+ "CREATE_COMPANY",
8
+ "DELETE_COMPANY",
9
+ "UPDATE_COMPANY",
10
+ "CREATE_OFFICE",
11
+ "DELETE_OFFICE",
12
+ "UPDATE_OFFICE",
13
+ "CREATE_DEPARTMENT",
14
+ "DELETE_DEPARTMENT",
15
+ "UPDATE_DEPARTMENT",
16
+ "CREATE_EMPLOYEE",
17
+ "DELETE_EMPLOYEE",
18
+ "UPDATE_EMPLOYEE",
19
+ "UPDATE_EMPLOYEE_PHOTO",
20
+ "UPDATE_MY_PROFILE",
21
+ "UPDATE_MY_PHOTO",
22
+ "UPDATE_MY_PASSWORD",
23
+ ]);
6
24
  exports.zProfileSchema = zod_schemas_1.zFireDocSchema
7
25
  .extend({
8
26
  display_name: zod_1.z.string().min(1).max(255),
@@ -1,6 +1,25 @@
1
1
  import { z } from "zod";
2
2
  import { zFireDocSchema, zTagSchema } from "../shared/zod-schemas";
3
3
 
4
+ export const zPeopleActionSchema = z.enum([
5
+ "CREATE_COMPANY",
6
+ "DELETE_COMPANY",
7
+ "UPDATE_COMPANY",
8
+ "CREATE_OFFICE",
9
+ "DELETE_OFFICE",
10
+ "UPDATE_OFFICE",
11
+ "CREATE_DEPARTMENT",
12
+ "DELETE_DEPARTMENT",
13
+ "UPDATE_DEPARTMENT",
14
+ "CREATE_EMPLOYEE",
15
+ "DELETE_EMPLOYEE",
16
+ "UPDATE_EMPLOYEE",
17
+ "UPDATE_EMPLOYEE_PHOTO",
18
+ "UPDATE_MY_PROFILE",
19
+ "UPDATE_MY_PHOTO",
20
+ "UPDATE_MY_PASSWORD",
21
+ ]);
22
+
4
23
  export const zProfileSchema = zFireDocSchema
5
24
  .extend({
6
25
  display_name: z.string().min(1).max(255),
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ export declare const zSurveyActionSchema: z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>;
3
+ export declare const zSurveyDeploymentActionSchema: z.ZodEnum<["CREATE_SURVEY_DEPLOYMENT", "DELETE_SURVEY_DEPLOYMENT", "UPDATE_SURVEY_DEPLOYMENT"]>;
2
4
  export declare const zSurveyPermissionSchema: z.ZodEnum<["private", "company", "public"]>;
3
5
  export declare const zSurveyTypeSchema: z.ZodEnum<["360", "general"]>;
4
6
  export declare const zSurveyStatusSchema: z.ZodEnum<["draft", "ready", "archived"]>;
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zSurveyDeploymentStatusSchema = exports.zSurveyStatusSchema = exports.zSurveyTypeSchema = exports.zSurveyPermissionSchema = void 0;
3
+ exports.zSurveyDeploymentStatusSchema = exports.zSurveyStatusSchema = exports.zSurveyTypeSchema = exports.zSurveyPermissionSchema = exports.zSurveyDeploymentActionSchema = exports.zSurveyActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ exports.zSurveyActionSchema = zod_1.z.enum([
6
+ "CREATE_SURVEY",
7
+ "DELETE_SURVEY",
8
+ "UPDATE_SURVEY",
9
+ ]);
10
+ // Enum for Survey Deployment Action - used in Activities tracking
11
+ exports.zSurveyDeploymentActionSchema = zod_1.z.enum([
12
+ "CREATE_SURVEY_DEPLOYMENT",
13
+ "DELETE_SURVEY_DEPLOYMENT",
14
+ "UPDATE_SURVEY_DEPLOYMENT",
15
+ ]);
5
16
  exports.zSurveyPermissionSchema = zod_1.z.enum(["private", "company", "public"]);
6
17
  exports.zSurveyTypeSchema = zod_1.z.enum(["360", "general"]);
7
18
  exports.zSurveyStatusSchema = zod_1.z.enum(["draft", "ready", "archived"]);
@@ -1,5 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
+ export const zSurveyActionSchema = z.enum([
4
+ "CREATE_SURVEY",
5
+ "DELETE_SURVEY",
6
+ "UPDATE_SURVEY",
7
+ ]);
8
+
9
+ // Enum for Survey Deployment Action - used in Activities tracking
10
+ export const zSurveyDeploymentActionSchema = z.enum([
11
+ "CREATE_SURVEY_DEPLOYMENT",
12
+ "DELETE_SURVEY_DEPLOYMENT",
13
+ "UPDATE_SURVEY_DEPLOYMENT",
14
+ ]);
15
+
3
16
  export const zSurveyPermissionSchema = z.enum(["private", "company", "public"]);
4
17
 
5
18
  export const zSurveyTypeSchema = z.enum(["360", "general"]);
@@ -1,3 +1,4 @@
1
1
  import { z } from "zod";
2
+ export declare const zTaskActionSchema: z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>;
2
3
  export declare const zTaskStatusSchema: z.ZodEnum<["not_started", "in_progress", "completed", "cancelled", "on_hold"]>;
3
4
  export declare const zTaskPrioritySchema: z.ZodEnum<["low", "medium", "high"]>;
@@ -1,7 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zTaskPrioritySchema = exports.zTaskStatusSchema = void 0;
3
+ exports.zTaskPrioritySchema = exports.zTaskStatusSchema = exports.zTaskActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ exports.zTaskActionSchema = zod_1.z.enum([
6
+ "CREATE_TASK",
7
+ "DELETE_TASK",
8
+ "UPDATE_TASK",
9
+ ]);
5
10
  exports.zTaskStatusSchema = zod_1.z.enum([
6
11
  "not_started",
7
12
  "in_progress",
@@ -1,5 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
+ export const zTaskActionSchema = z.enum([
4
+ "CREATE_TASK",
5
+ "DELETE_TASK",
6
+ "UPDATE_TASK",
7
+ ]);
8
+
3
9
  export const zTaskStatusSchema = z.enum([
4
10
  "not_started",
5
11
  "in_progress",
@@ -1,3 +1,4 @@
1
1
  import { z } from "zod";
2
+ export declare const zTenantActionSchema: z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>;
2
3
  export declare const zTenantLanguageSchema: z.ZodEnum<["ptBR", "en"]>;
3
4
  export declare const zTenantStatusSchema: z.ZodEnum<["draft", "published", "archived"]>;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zTenantStatusSchema = exports.zTenantLanguageSchema = void 0;
3
+ exports.zTenantStatusSchema = exports.zTenantLanguageSchema = exports.zTenantActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ exports.zTenantActionSchema = zod_1.z.enum([
6
+ "CREATE_TENANT",
7
+ "DELETE_TENANT",
8
+ "UPDATE_TENANT",
9
+ ]);
5
10
  exports.zTenantLanguageSchema = zod_1.z.enum(["ptBR", "en"]);
6
11
  exports.zTenantStatusSchema = zod_1.z.enum(["draft", "published", "archived"]);
@@ -1,5 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
+ export const zTenantActionSchema = z.enum([
4
+ "CREATE_TENANT",
5
+ "DELETE_TENANT",
6
+ "UPDATE_TENANT",
7
+ ]);
8
+
3
9
  export const zTenantLanguageSchema = z.enum(["ptBR", "en"]);
4
10
 
5
11
  export const zTenantStatusSchema = z.enum(["draft", "published", "archived"]);
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-meeting", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
2
3
  export declare const zFireDocSchema: z.ZodObject<{
3
4
  id: z.ZodString;
4
5
  ref: z.ZodAny;
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zTagSchema = exports.zFireDocSchema = void 0;
3
+ exports.zTagSchema = exports.zFireDocSchema = exports.zEvoAppSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ // Enum for activity read status
6
+ exports.zEvoAppSchema = zod_1.z.enum([
7
+ "evo-activity",
8
+ "evo-calendar",
9
+ "evo-core",
10
+ "evo-meeting",
11
+ "evo-people",
12
+ "evo-survey",
13
+ "evo-task",
14
+ "evo-tenant",
15
+ ]);
5
16
  // Custom validation for FirestoreDocumentReference
6
17
  exports.zFireDocSchema = zod_1.z.object({
7
18
  id: zod_1.z.string(),