evo360-types 1.1.49 → 1.1.50

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.
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
  export declare const zReadStatusSchema: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
3
3
  export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodOptional<z.ZodString>;
5
- ref: z.ZodOptional<z.ZodAny>;
6
- tenant: z.ZodOptional<z.ZodString>;
4
+ id: z.ZodString;
5
+ ref: z.ZodAny;
6
+ tenant: z.ZodString;
7
7
  model_ver: z.ZodOptional<z.ZodNumber>;
8
8
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
9
9
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -31,9 +31,9 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
31
31
  color?: string | undefined;
32
32
  }>, "many">>;
33
33
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
34
- id: z.ZodOptional<z.ZodString>;
35
- ref: z.ZodOptional<z.ZodAny>;
36
- tenant: z.ZodOptional<z.ZodString>;
34
+ id: z.ZodString;
35
+ ref: z.ZodAny;
36
+ tenant: z.ZodString;
37
37
  model_ver: z.ZodOptional<z.ZodNumber>;
38
38
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
39
39
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -61,9 +61,9 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
61
61
  color?: string | undefined;
62
62
  }>, "many">>;
63
63
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
64
- id: z.ZodOptional<z.ZodString>;
65
- ref: z.ZodOptional<z.ZodAny>;
66
- tenant: z.ZodOptional<z.ZodString>;
64
+ id: z.ZodString;
65
+ ref: z.ZodAny;
66
+ tenant: z.ZodString;
67
67
  model_ver: z.ZodOptional<z.ZodNumber>;
68
68
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
69
69
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -3,9 +3,9 @@ export declare const zCalendarActionSchema: z.ZodEnum<["CREATE_EVENT", "DELETE_E
3
3
  export declare const zCalendarEventStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled"]>;
4
4
  export declare const zCalendarEventTypeSchema: z.ZodEnum<["event", "meeting", "workshop", "other"]>;
5
5
  export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
6
- id: z.ZodOptional<z.ZodString>;
7
- ref: z.ZodOptional<z.ZodAny>;
8
- tenant: z.ZodOptional<z.ZodString>;
6
+ id: z.ZodString;
7
+ ref: z.ZodAny;
8
+ tenant: z.ZodString;
9
9
  model_ver: z.ZodOptional<z.ZodNumber>;
10
10
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -31,13 +31,13 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
31
31
  color?: string | undefined;
32
32
  }>, "many">>;
33
33
  }>, "strip", z.ZodTypeAny, {
34
+ id: string;
35
+ tenant: string;
34
36
  title: string;
35
37
  creatorName: string;
36
38
  eventType: "other" | "event" | "meeting" | "workshop";
37
39
  eventStatus: "completed" | "cancelled" | "scheduled";
38
- id?: string | undefined;
39
40
  ref?: any;
40
- tenant?: string | undefined;
41
41
  model_ver?: number | undefined;
42
42
  created_at?: Date | null | undefined;
43
43
  updated_at?: Date | null | undefined;
@@ -50,13 +50,13 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
50
50
  color?: string | undefined;
51
51
  }[] | undefined;
52
52
  }, {
53
+ id: string;
54
+ tenant: string;
53
55
  title: string;
54
56
  creatorName: string;
55
57
  eventType: "other" | "event" | "meeting" | "workshop";
56
58
  eventStatus: "completed" | "cancelled" | "scheduled";
57
- id?: string | undefined;
58
59
  ref?: any;
59
- tenant?: string | undefined;
60
60
  model_ver?: number | undefined;
61
61
  created_at?: Date | null | undefined;
62
62
  updated_at?: Date | null | undefined;
@@ -88,9 +88,9 @@ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
88
88
  notes?: string | undefined;
89
89
  }>;
90
90
  export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
91
- id: z.ZodOptional<z.ZodString>;
92
- ref: z.ZodOptional<z.ZodAny>;
93
- tenant: z.ZodOptional<z.ZodString>;
91
+ id: z.ZodString;
92
+ ref: z.ZodAny;
93
+ tenant: z.ZodString;
94
94
  model_ver: z.ZodOptional<z.ZodNumber>;
95
95
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
96
96
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -201,9 +201,9 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
201
201
  color?: string | undefined;
202
202
  }>, "many">>;
203
203
  }>, "strip", z.ZodUnknown, z.objectOutputType<z.objectUtil.extendShape<{
204
- id: z.ZodOptional<z.ZodString>;
205
- ref: z.ZodOptional<z.ZodAny>;
206
- tenant: z.ZodOptional<z.ZodString>;
204
+ id: z.ZodString;
205
+ ref: z.ZodAny;
206
+ tenant: z.ZodString;
207
207
  model_ver: z.ZodOptional<z.ZodNumber>;
208
208
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
209
209
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -314,9 +314,9 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
314
314
  color?: string | undefined;
315
315
  }>, "many">>;
316
316
  }>, z.ZodUnknown, "strip">, z.objectInputType<z.objectUtil.extendShape<{
317
- id: z.ZodOptional<z.ZodString>;
318
- ref: z.ZodOptional<z.ZodAny>;
319
- tenant: z.ZodOptional<z.ZodString>;
317
+ id: z.ZodString;
318
+ ref: z.ZodAny;
319
+ tenant: z.ZodString;
320
320
  model_ver: z.ZodOptional<z.ZodNumber>;
321
321
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
322
322
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
  export declare const zPeopleActionSchema: z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "UPDATE_COMPANY_LEAD", "UPDATE_COMPANY_NAME", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "UPDATE_OFFICE_NAME", "UPDATE_OFFICE_TIMEZONE", "UPDATE_OFFICE_COMPANY", "UPDATE_OFFICE_LEAD", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "UPDATE_DEPARTMENT_PARENT_DEPARTMENT", "UPDATE_DEPARTMENT_LEAD", "UPDATE_DEPARTMENT_NAME", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_PROFILE", "UPDATE_PHOTO", "UPDATE_PASSWORD", "UPDATE_EMPLOYEE_REPORT_TO", "UPDATE_EMPLOYEE_DEPARTMENT", "UPDATE_EMPLOYEE_OFFICE", "UPDATE_EMPLOYEE_COMPANY", "UPDATE_EMPLOYEE_JOB_TITLE", "UPDATE_EMPLOYEE_WORK_EMAIL", "UPDATE_EMPLOYEE_STATUS"]>;
3
3
  export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodOptional<z.ZodString>;
5
- ref: z.ZodOptional<z.ZodAny>;
6
- tenant: z.ZodOptional<z.ZodString>;
4
+ id: z.ZodString;
5
+ ref: z.ZodAny;
6
+ tenant: z.ZodString;
7
7
  model_ver: z.ZodOptional<z.ZodNumber>;
8
8
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
9
9
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -17,9 +17,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
17
17
  photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
20
- id: z.ZodOptional<z.ZodString>;
21
- ref: z.ZodOptional<z.ZodAny>;
22
- tenant: z.ZodOptional<z.ZodString>;
20
+ id: z.ZodString;
21
+ ref: z.ZodAny;
22
+ tenant: z.ZodString;
23
23
  model_ver: z.ZodOptional<z.ZodNumber>;
24
24
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
25
25
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -33,9 +33,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
33
33
  photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
36
- id: z.ZodOptional<z.ZodString>;
37
- ref: z.ZodOptional<z.ZodAny>;
38
- tenant: z.ZodOptional<z.ZodString>;
36
+ id: z.ZodString;
37
+ ref: z.ZodAny;
38
+ tenant: z.ZodString;
39
39
  model_ver: z.ZodOptional<z.ZodNumber>;
40
40
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
41
41
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -51,9 +51,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
51
51
  }>, z.ZodTypeAny, "passthrough">>;
52
52
  export declare const zEmployeeStatusSchema: z.ZodEnum<["active", "inactive", "draft"]>;
53
53
  export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
54
- id: z.ZodOptional<z.ZodString>;
55
- ref: z.ZodOptional<z.ZodAny>;
56
- tenant: z.ZodOptional<z.ZodString>;
54
+ id: z.ZodString;
55
+ ref: z.ZodAny;
56
+ tenant: z.ZodString;
57
57
  model_ver: z.ZodOptional<z.ZodNumber>;
58
58
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
59
59
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -98,9 +98,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
98
98
  }>, "many">>;
99
99
  userRef: z.ZodAny;
100
100
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
101
- id: z.ZodOptional<z.ZodString>;
102
- ref: z.ZodOptional<z.ZodAny>;
103
- tenant: z.ZodOptional<z.ZodString>;
101
+ id: z.ZodString;
102
+ ref: z.ZodAny;
103
+ tenant: z.ZodString;
104
104
  model_ver: z.ZodOptional<z.ZodNumber>;
105
105
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
106
106
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -145,9 +145,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
145
145
  }>, "many">>;
146
146
  userRef: z.ZodAny;
147
147
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
148
- id: z.ZodOptional<z.ZodString>;
149
- ref: z.ZodOptional<z.ZodAny>;
150
- tenant: z.ZodOptional<z.ZodString>;
148
+ id: z.ZodString;
149
+ ref: z.ZodAny;
150
+ tenant: z.ZodString;
151
151
  model_ver: z.ZodOptional<z.ZodNumber>;
152
152
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
153
153
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -193,9 +193,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
193
193
  userRef: z.ZodAny;
194
194
  }>, z.ZodTypeAny, "passthrough">>;
195
195
  export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
196
- id: z.ZodOptional<z.ZodString>;
197
- ref: z.ZodOptional<z.ZodAny>;
198
- tenant: z.ZodOptional<z.ZodString>;
196
+ id: z.ZodString;
197
+ ref: z.ZodAny;
198
+ tenant: z.ZodString;
199
199
  model_ver: z.ZodOptional<z.ZodNumber>;
200
200
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
201
201
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -222,9 +222,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
222
222
  color?: string | undefined;
223
223
  }>, "many">>;
224
224
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
225
- id: z.ZodOptional<z.ZodString>;
226
- ref: z.ZodOptional<z.ZodAny>;
227
- tenant: z.ZodOptional<z.ZodString>;
225
+ id: z.ZodString;
226
+ ref: z.ZodAny;
227
+ tenant: z.ZodString;
228
228
  model_ver: z.ZodOptional<z.ZodNumber>;
229
229
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
230
230
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -251,9 +251,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
251
251
  color?: string | undefined;
252
252
  }>, "many">>;
253
253
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
254
- id: z.ZodOptional<z.ZodString>;
255
- ref: z.ZodOptional<z.ZodAny>;
256
- tenant: z.ZodOptional<z.ZodString>;
254
+ id: z.ZodString;
255
+ ref: z.ZodAny;
256
+ tenant: z.ZodString;
257
257
  model_ver: z.ZodOptional<z.ZodNumber>;
258
258
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
259
259
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -281,9 +281,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
281
281
  }>, "many">>;
282
282
  }>, z.ZodTypeAny, "passthrough">>;
283
283
  export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
284
- id: z.ZodOptional<z.ZodString>;
285
- ref: z.ZodOptional<z.ZodAny>;
286
- tenant: z.ZodOptional<z.ZodString>;
284
+ id: z.ZodString;
285
+ ref: z.ZodAny;
286
+ tenant: z.ZodString;
287
287
  model_ver: z.ZodOptional<z.ZodNumber>;
288
288
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
289
289
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -318,9 +318,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
318
318
  color?: string | undefined;
319
319
  }>, "many">>;
320
320
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
321
- id: z.ZodOptional<z.ZodString>;
322
- ref: z.ZodOptional<z.ZodAny>;
323
- tenant: z.ZodOptional<z.ZodString>;
321
+ id: z.ZodString;
322
+ ref: z.ZodAny;
323
+ tenant: z.ZodString;
324
324
  model_ver: z.ZodOptional<z.ZodNumber>;
325
325
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
326
326
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -355,9 +355,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
355
355
  color?: string | undefined;
356
356
  }>, "many">>;
357
357
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
358
- id: z.ZodOptional<z.ZodString>;
359
- ref: z.ZodOptional<z.ZodAny>;
360
- tenant: z.ZodOptional<z.ZodString>;
358
+ id: z.ZodString;
359
+ ref: z.ZodAny;
360
+ tenant: z.ZodString;
361
361
  model_ver: z.ZodOptional<z.ZodNumber>;
362
362
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
363
363
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -393,9 +393,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
393
393
  }>, "many">>;
394
394
  }>, z.ZodTypeAny, "passthrough">>;
395
395
  export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
396
- id: z.ZodOptional<z.ZodString>;
397
- ref: z.ZodOptional<z.ZodAny>;
398
- tenant: z.ZodOptional<z.ZodString>;
396
+ id: z.ZodString;
397
+ ref: z.ZodAny;
398
+ tenant: z.ZodString;
399
399
  model_ver: z.ZodOptional<z.ZodNumber>;
400
400
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
401
401
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -420,9 +420,9 @@ export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
420
420
  color?: string | undefined;
421
421
  }>, "many">>;
422
422
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
423
- id: z.ZodOptional<z.ZodString>;
424
- ref: z.ZodOptional<z.ZodAny>;
425
- tenant: z.ZodOptional<z.ZodString>;
423
+ id: z.ZodString;
424
+ ref: z.ZodAny;
425
+ tenant: z.ZodString;
426
426
  model_ver: z.ZodOptional<z.ZodNumber>;
427
427
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
428
428
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -447,9 +447,9 @@ export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
447
447
  color?: string | undefined;
448
448
  }>, "many">>;
449
449
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
450
- id: z.ZodOptional<z.ZodString>;
451
- ref: z.ZodOptional<z.ZodAny>;
452
- tenant: z.ZodOptional<z.ZodString>;
450
+ id: z.ZodString;
451
+ ref: z.ZodAny;
452
+ tenant: z.ZodString;
453
453
  model_ver: z.ZodOptional<z.ZodNumber>;
454
454
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
455
455
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -8,9 +8,9 @@ export declare const zSurveyQuestionTypeSchema: z.ZodEnum<["scale", "essay", "op
8
8
  export declare const zSurveyDeploymentStatusSchema: z.ZodEnum<["draft", "open", "closed", "in_progress", "paused"]>;
9
9
  export declare const zSurveySubmissionStatusSchema: z.ZodEnum<["not_started", "in_progress", "completed"]>;
10
10
  export declare const zSurveyQuestionSchema: z.ZodObject<z.objectUtil.extendShape<{
11
- id: z.ZodOptional<z.ZodString>;
12
- ref: z.ZodOptional<z.ZodAny>;
13
- tenant: z.ZodOptional<z.ZodString>;
11
+ id: z.ZodString;
12
+ ref: z.ZodAny;
13
+ tenant: z.ZodString;
14
14
  model_ver: z.ZodOptional<z.ZodNumber>;
15
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
16
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -37,9 +37,9 @@ export declare const zSurveyQuestionSchema: z.ZodObject<z.objectUtil.extendShape
37
37
  color?: string | undefined;
38
38
  }>, "many">>;
39
39
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
40
- id: z.ZodOptional<z.ZodString>;
41
- ref: z.ZodOptional<z.ZodAny>;
42
- tenant: z.ZodOptional<z.ZodString>;
40
+ id: z.ZodString;
41
+ ref: z.ZodAny;
42
+ tenant: z.ZodString;
43
43
  model_ver: z.ZodOptional<z.ZodNumber>;
44
44
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
45
45
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -66,9 +66,9 @@ export declare const zSurveyQuestionSchema: z.ZodObject<z.objectUtil.extendShape
66
66
  color?: string | undefined;
67
67
  }>, "many">>;
68
68
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
69
- id: z.ZodOptional<z.ZodString>;
70
- ref: z.ZodOptional<z.ZodAny>;
71
- tenant: z.ZodOptional<z.ZodString>;
69
+ id: z.ZodString;
70
+ ref: z.ZodAny;
71
+ tenant: z.ZodString;
72
72
  model_ver: z.ZodOptional<z.ZodNumber>;
73
73
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
74
74
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -96,9 +96,9 @@ export declare const zSurveyQuestionSchema: z.ZodObject<z.objectUtil.extendShape
96
96
  }>, "many">>;
97
97
  }>, z.ZodTypeAny, "passthrough">>;
98
98
  export declare const zSurveyQuestionScaleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
99
- id: z.ZodOptional<z.ZodString>;
100
- ref: z.ZodOptional<z.ZodAny>;
101
- tenant: z.ZodOptional<z.ZodString>;
99
+ id: z.ZodString;
100
+ ref: z.ZodAny;
101
+ tenant: z.ZodString;
102
102
  model_ver: z.ZodOptional<z.ZodNumber>;
103
103
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
104
104
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -130,9 +130,9 @@ export declare const zSurveyQuestionScaleSchema: z.ZodObject<z.objectUtil.extend
130
130
  scale_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
131
131
  scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
132
132
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
133
- id: z.ZodOptional<z.ZodString>;
134
- ref: z.ZodOptional<z.ZodAny>;
135
- tenant: z.ZodOptional<z.ZodString>;
133
+ id: z.ZodString;
134
+ ref: z.ZodAny;
135
+ tenant: z.ZodString;
136
136
  model_ver: z.ZodOptional<z.ZodNumber>;
137
137
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
138
138
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -164,9 +164,9 @@ export declare const zSurveyQuestionScaleSchema: z.ZodObject<z.objectUtil.extend
164
164
  scale_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
165
165
  scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
166
166
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
167
- id: z.ZodOptional<z.ZodString>;
168
- ref: z.ZodOptional<z.ZodAny>;
169
- tenant: z.ZodOptional<z.ZodString>;
167
+ id: z.ZodString;
168
+ ref: z.ZodAny;
169
+ tenant: z.ZodString;
170
170
  model_ver: z.ZodOptional<z.ZodNumber>;
171
171
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
172
172
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -199,9 +199,9 @@ export declare const zSurveyQuestionScaleSchema: z.ZodObject<z.objectUtil.extend
199
199
  scale_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
200
200
  }>, z.ZodTypeAny, "passthrough">>;
201
201
  export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
202
- id: z.ZodOptional<z.ZodString>;
203
- ref: z.ZodOptional<z.ZodAny>;
204
- tenant: z.ZodOptional<z.ZodString>;
202
+ id: z.ZodString;
203
+ ref: z.ZodAny;
204
+ tenant: z.ZodString;
205
205
  model_ver: z.ZodOptional<z.ZodNumber>;
206
206
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
207
207
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -232,9 +232,9 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
232
232
  length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
233
233
  length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
234
234
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
235
- id: z.ZodOptional<z.ZodString>;
236
- ref: z.ZodOptional<z.ZodAny>;
237
- tenant: z.ZodOptional<z.ZodString>;
235
+ id: z.ZodString;
236
+ ref: z.ZodAny;
237
+ tenant: z.ZodString;
238
238
  model_ver: z.ZodOptional<z.ZodNumber>;
239
239
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
240
240
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -265,9 +265,9 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
265
265
  length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
266
266
  length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
267
267
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
268
- id: z.ZodOptional<z.ZodString>;
269
- ref: z.ZodOptional<z.ZodAny>;
270
- tenant: z.ZodOptional<z.ZodString>;
268
+ id: z.ZodString;
269
+ ref: z.ZodAny;
270
+ tenant: z.ZodString;
271
271
  model_ver: z.ZodOptional<z.ZodNumber>;
272
272
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
273
273
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -299,9 +299,9 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
299
299
  length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
300
300
  }>, z.ZodTypeAny, "passthrough">>;
301
301
  export declare const zSurveyQuestionMultipleChoiceSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
302
- id: z.ZodOptional<z.ZodString>;
303
- ref: z.ZodOptional<z.ZodAny>;
304
- tenant: z.ZodOptional<z.ZodString>;
302
+ id: z.ZodString;
303
+ ref: z.ZodAny;
304
+ tenant: z.ZodString;
305
305
  model_ver: z.ZodOptional<z.ZodNumber>;
306
306
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
307
307
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -332,9 +332,9 @@ export declare const zSurveyQuestionMultipleChoiceSchema: z.ZodObject<z.objectUt
332
332
  options: z.ZodArray<z.ZodString, "many">;
333
333
  allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
334
334
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
335
- id: z.ZodOptional<z.ZodString>;
336
- ref: z.ZodOptional<z.ZodAny>;
337
- tenant: z.ZodOptional<z.ZodString>;
335
+ id: z.ZodString;
336
+ ref: z.ZodAny;
337
+ tenant: z.ZodString;
338
338
  model_ver: z.ZodOptional<z.ZodNumber>;
339
339
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
340
340
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -365,9 +365,9 @@ export declare const zSurveyQuestionMultipleChoiceSchema: z.ZodObject<z.objectUt
365
365
  options: z.ZodArray<z.ZodString, "many">;
366
366
  allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
367
367
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
368
- id: z.ZodOptional<z.ZodString>;
369
- ref: z.ZodOptional<z.ZodAny>;
370
- tenant: z.ZodOptional<z.ZodString>;
368
+ id: z.ZodString;
369
+ ref: z.ZodAny;
370
+ tenant: z.ZodString;
371
371
  model_ver: z.ZodOptional<z.ZodNumber>;
372
372
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
373
373
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -399,9 +399,9 @@ export declare const zSurveyQuestionMultipleChoiceSchema: z.ZodObject<z.objectUt
399
399
  allow_multiple_selections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
400
400
  }>, z.ZodTypeAny, "passthrough">>;
401
401
  export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<{
402
- id: z.ZodOptional<z.ZodString>;
403
- ref: z.ZodOptional<z.ZodAny>;
404
- tenant: z.ZodOptional<z.ZodString>;
402
+ id: z.ZodString;
403
+ ref: z.ZodAny;
404
+ tenant: z.ZodString;
405
405
  model_ver: z.ZodOptional<z.ZodNumber>;
406
406
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
407
407
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -413,9 +413,9 @@ export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<
413
413
  order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
414
414
  question_counters: z.ZodOptional<z.ZodAny>;
415
415
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
416
- id: z.ZodOptional<z.ZodString>;
417
- ref: z.ZodOptional<z.ZodAny>;
418
- tenant: z.ZodOptional<z.ZodString>;
416
+ id: z.ZodString;
417
+ ref: z.ZodAny;
418
+ tenant: z.ZodString;
419
419
  model_ver: z.ZodOptional<z.ZodNumber>;
420
420
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
421
421
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -427,9 +427,9 @@ export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<
427
427
  order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
428
428
  question_counters: z.ZodOptional<z.ZodAny>;
429
429
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
430
- id: z.ZodOptional<z.ZodString>;
431
- ref: z.ZodOptional<z.ZodAny>;
432
- tenant: z.ZodOptional<z.ZodString>;
430
+ id: z.ZodString;
431
+ ref: z.ZodAny;
432
+ tenant: z.ZodString;
433
433
  model_ver: z.ZodOptional<z.ZodNumber>;
434
434
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
435
435
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -442,9 +442,9 @@ export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<
442
442
  question_counters: z.ZodOptional<z.ZodAny>;
443
443
  }>, z.ZodTypeAny, "passthrough">>;
444
444
  export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
445
- id: z.ZodOptional<z.ZodString>;
446
- ref: z.ZodOptional<z.ZodAny>;
447
- tenant: z.ZodOptional<z.ZodString>;
445
+ id: z.ZodString;
446
+ ref: z.ZodAny;
447
+ tenant: z.ZodString;
448
448
  model_ver: z.ZodOptional<z.ZodNumber>;
449
449
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
450
450
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -471,9 +471,9 @@ export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
471
471
  color?: string | undefined;
472
472
  }>, "many">>;
473
473
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
474
- id: z.ZodOptional<z.ZodString>;
475
- ref: z.ZodOptional<z.ZodAny>;
476
- tenant: z.ZodOptional<z.ZodString>;
474
+ id: z.ZodString;
475
+ ref: z.ZodAny;
476
+ tenant: z.ZodString;
477
477
  model_ver: z.ZodOptional<z.ZodNumber>;
478
478
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
479
479
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -500,9 +500,9 @@ export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
500
500
  color?: string | undefined;
501
501
  }>, "many">>;
502
502
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
503
- id: z.ZodOptional<z.ZodString>;
504
- ref: z.ZodOptional<z.ZodAny>;
505
- tenant: z.ZodOptional<z.ZodString>;
503
+ id: z.ZodString;
504
+ ref: z.ZodAny;
505
+ tenant: z.ZodString;
506
506
  model_ver: z.ZodOptional<z.ZodNumber>;
507
507
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
508
508
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -530,9 +530,9 @@ export declare const zSurveySchema: z.ZodObject<z.objectUtil.extendShape<{
530
530
  }>, "many">>;
531
531
  }>, z.ZodTypeAny, "passthrough">>;
532
532
  export declare const zSurveyResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
533
- id: z.ZodOptional<z.ZodString>;
534
- ref: z.ZodOptional<z.ZodAny>;
535
- tenant: z.ZodOptional<z.ZodString>;
533
+ id: z.ZodString;
534
+ ref: z.ZodAny;
535
+ tenant: z.ZodString;
536
536
  model_ver: z.ZodOptional<z.ZodNumber>;
537
537
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
538
538
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -542,32 +542,32 @@ export declare const zSurveyResponseSchema: z.ZodObject<z.objectUtil.extendShape
542
542
  answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
543
543
  date: z.ZodDate;
544
544
  }>, "strip", z.ZodTypeAny, {
545
+ id: string;
546
+ tenant: string;
545
547
  question_id: string;
546
548
  answer: string | string[];
547
549
  date: Date;
548
- id?: string | undefined;
549
550
  ref?: any;
550
- tenant?: string | undefined;
551
551
  model_ver?: number | undefined;
552
552
  created_at?: Date | null | undefined;
553
553
  updated_at?: Date | null | undefined;
554
554
  deleted_at?: Date | null | undefined;
555
555
  }, {
556
+ id: string;
557
+ tenant: string;
556
558
  question_id: string;
557
559
  answer: string | string[];
558
560
  date: Date;
559
- id?: string | undefined;
560
561
  ref?: any;
561
- tenant?: string | undefined;
562
562
  model_ver?: number | undefined;
563
563
  created_at?: Date | null | undefined;
564
564
  updated_at?: Date | null | undefined;
565
565
  deleted_at?: Date | null | undefined;
566
566
  }>;
567
567
  export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendShape<{
568
- id: z.ZodOptional<z.ZodString>;
569
- ref: z.ZodOptional<z.ZodAny>;
570
- tenant: z.ZodOptional<z.ZodString>;
568
+ id: z.ZodString;
569
+ ref: z.ZodAny;
570
+ tenant: z.ZodString;
571
571
  model_ver: z.ZodOptional<z.ZodNumber>;
572
572
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
573
573
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -580,9 +580,9 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
580
580
  inviteeId: z.ZodOptional<z.ZodString>;
581
581
  user_name: z.ZodOptional<z.ZodString>;
582
582
  responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
583
- id: z.ZodOptional<z.ZodString>;
584
- ref: z.ZodOptional<z.ZodAny>;
585
- tenant: z.ZodOptional<z.ZodString>;
583
+ id: z.ZodString;
584
+ ref: z.ZodAny;
585
+ tenant: z.ZodString;
586
586
  model_ver: z.ZodOptional<z.ZodNumber>;
587
587
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
588
588
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -592,34 +592,34 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
592
592
  answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
593
593
  date: z.ZodDate;
594
594
  }>, "strip", z.ZodTypeAny, {
595
+ id: string;
596
+ tenant: string;
595
597
  question_id: string;
596
598
  answer: string | string[];
597
599
  date: Date;
598
- id?: string | undefined;
599
600
  ref?: any;
600
- tenant?: string | undefined;
601
601
  model_ver?: number | undefined;
602
602
  created_at?: Date | null | undefined;
603
603
  updated_at?: Date | null | undefined;
604
604
  deleted_at?: Date | null | undefined;
605
605
  }, {
606
+ id: string;
607
+ tenant: string;
606
608
  question_id: string;
607
609
  answer: string | string[];
608
610
  date: Date;
609
- id?: string | undefined;
610
611
  ref?: any;
611
- tenant?: string | undefined;
612
612
  model_ver?: number | undefined;
613
613
  created_at?: Date | null | undefined;
614
614
  updated_at?: Date | null | undefined;
615
615
  deleted_at?: Date | null | undefined;
616
616
  }>, "many">>;
617
617
  }>, "strip", z.ZodTypeAny, {
618
+ id: string;
619
+ tenant: string;
618
620
  status: "not_started" | "in_progress" | "completed";
619
621
  modified_after_completion: boolean;
620
- id?: string | undefined;
621
622
  ref?: any;
622
- tenant?: string | undefined;
623
623
  model_ver?: number | undefined;
624
624
  created_at?: Date | null | undefined;
625
625
  updated_at?: Date | null | undefined;
@@ -629,23 +629,23 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
629
629
  inviteeId?: string | undefined;
630
630
  user_name?: string | undefined;
631
631
  responses?: {
632
+ id: string;
633
+ tenant: string;
632
634
  question_id: string;
633
635
  answer: string | string[];
634
636
  date: Date;
635
- id?: string | undefined;
636
637
  ref?: any;
637
- tenant?: string | undefined;
638
638
  model_ver?: number | undefined;
639
639
  created_at?: Date | null | undefined;
640
640
  updated_at?: Date | null | undefined;
641
641
  deleted_at?: Date | null | undefined;
642
642
  }[] | undefined;
643
643
  }, {
644
+ id: string;
645
+ tenant: string;
644
646
  status: "not_started" | "in_progress" | "completed";
645
647
  modified_after_completion: boolean;
646
- id?: string | undefined;
647
648
  ref?: any;
648
- tenant?: string | undefined;
649
649
  model_ver?: number | undefined;
650
650
  created_at?: Date | null | undefined;
651
651
  updated_at?: Date | null | undefined;
@@ -655,12 +655,12 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
655
655
  inviteeId?: string | undefined;
656
656
  user_name?: string | undefined;
657
657
  responses?: {
658
+ id: string;
659
+ tenant: string;
658
660
  question_id: string;
659
661
  answer: string | string[];
660
662
  date: Date;
661
- id?: string | undefined;
662
663
  ref?: any;
663
- tenant?: string | undefined;
664
664
  model_ver?: number | undefined;
665
665
  created_at?: Date | null | undefined;
666
666
  updated_at?: Date | null | undefined;
@@ -668,9 +668,9 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
668
668
  }[] | undefined;
669
669
  }>;
670
670
  export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<{
671
- id: z.ZodOptional<z.ZodString>;
672
- ref: z.ZodOptional<z.ZodAny>;
673
- tenant: z.ZodOptional<z.ZodString>;
671
+ id: z.ZodString;
672
+ ref: z.ZodAny;
673
+ tenant: z.ZodString;
674
674
  model_ver: z.ZodOptional<z.ZodNumber>;
675
675
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
676
676
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -681,11 +681,11 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
681
681
  phone: z.ZodOptional<z.ZodString>;
682
682
  responded: z.ZodBoolean;
683
683
  }>, "strip", z.ZodTypeAny, {
684
+ id: string;
685
+ tenant: string;
684
686
  name: string;
685
687
  responded: boolean;
686
- id?: string | undefined;
687
688
  ref?: any;
688
- tenant?: string | undefined;
689
689
  model_ver?: number | undefined;
690
690
  created_at?: Date | null | undefined;
691
691
  updated_at?: Date | null | undefined;
@@ -693,11 +693,11 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
693
693
  email?: string | undefined;
694
694
  phone?: string | undefined;
695
695
  }, {
696
+ id: string;
697
+ tenant: string;
696
698
  name: string;
697
699
  responded: boolean;
698
- id?: string | undefined;
699
700
  ref?: any;
700
- tenant?: string | undefined;
701
701
  model_ver?: number | undefined;
702
702
  created_at?: Date | null | undefined;
703
703
  updated_at?: Date | null | undefined;
@@ -706,9 +706,9 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
706
706
  phone?: string | undefined;
707
707
  }>;
708
708
  export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendShape<{
709
- id: z.ZodOptional<z.ZodString>;
710
- ref: z.ZodOptional<z.ZodAny>;
711
- tenant: z.ZodOptional<z.ZodString>;
709
+ id: z.ZodString;
710
+ ref: z.ZodAny;
711
+ tenant: z.ZodString;
712
712
  model_ver: z.ZodOptional<z.ZodNumber>;
713
713
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
714
714
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -718,9 +718,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
718
718
  description: z.ZodOptional<z.ZodString>;
719
719
  surveySourceRef: z.ZodAny;
720
720
  survey: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
721
- id: z.ZodOptional<z.ZodString>;
722
- ref: z.ZodOptional<z.ZodAny>;
723
- tenant: z.ZodOptional<z.ZodString>;
721
+ id: z.ZodString;
722
+ ref: z.ZodAny;
723
+ tenant: z.ZodString;
724
724
  model_ver: z.ZodOptional<z.ZodNumber>;
725
725
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
726
726
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -747,9 +747,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
747
747
  color?: string | undefined;
748
748
  }>, "many">>;
749
749
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
750
- id: z.ZodOptional<z.ZodString>;
751
- ref: z.ZodOptional<z.ZodAny>;
752
- tenant: z.ZodOptional<z.ZodString>;
750
+ id: z.ZodString;
751
+ ref: z.ZodAny;
752
+ tenant: z.ZodString;
753
753
  model_ver: z.ZodOptional<z.ZodNumber>;
754
754
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
755
755
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -776,9 +776,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
776
776
  color?: string | undefined;
777
777
  }>, "many">>;
778
778
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
779
- id: z.ZodOptional<z.ZodString>;
780
- ref: z.ZodOptional<z.ZodAny>;
781
- tenant: z.ZodOptional<z.ZodString>;
779
+ id: z.ZodString;
780
+ ref: z.ZodAny;
781
+ tenant: z.ZodString;
782
782
  model_ver: z.ZodOptional<z.ZodNumber>;
783
783
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
784
784
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -811,9 +811,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
811
811
  allow_edit_answers: z.ZodBoolean;
812
812
  allow_partial_submission: z.ZodBoolean;
813
813
  invitees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
814
- id: z.ZodOptional<z.ZodString>;
815
- ref: z.ZodOptional<z.ZodAny>;
816
- tenant: z.ZodOptional<z.ZodString>;
814
+ id: z.ZodString;
815
+ ref: z.ZodAny;
816
+ tenant: z.ZodString;
817
817
  model_ver: z.ZodOptional<z.ZodNumber>;
818
818
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
819
819
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -824,11 +824,11 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
824
824
  phone: z.ZodOptional<z.ZodString>;
825
825
  responded: z.ZodBoolean;
826
826
  }>, "strip", z.ZodTypeAny, {
827
+ id: string;
828
+ tenant: string;
827
829
  name: string;
828
830
  responded: boolean;
829
- id?: string | undefined;
830
831
  ref?: any;
831
- tenant?: string | undefined;
832
832
  model_ver?: number | undefined;
833
833
  created_at?: Date | null | undefined;
834
834
  updated_at?: Date | null | undefined;
@@ -836,11 +836,11 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
836
836
  email?: string | undefined;
837
837
  phone?: string | undefined;
838
838
  }, {
839
+ id: string;
840
+ tenant: string;
839
841
  name: string;
840
842
  responded: boolean;
841
- id?: string | undefined;
842
843
  ref?: any;
843
- tenant?: string | undefined;
844
844
  model_ver?: number | undefined;
845
845
  created_at?: Date | null | undefined;
846
846
  updated_at?: Date | null | undefined;
@@ -850,9 +850,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
850
850
  }>, "many">>>;
851
851
  invitee_count: z.ZodOptional<z.ZodNumber>;
852
852
  submissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
853
- id: z.ZodOptional<z.ZodString>;
854
- ref: z.ZodOptional<z.ZodAny>;
855
- tenant: z.ZodOptional<z.ZodString>;
853
+ id: z.ZodString;
854
+ ref: z.ZodAny;
855
+ tenant: z.ZodString;
856
856
  model_ver: z.ZodOptional<z.ZodNumber>;
857
857
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
858
858
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -865,9 +865,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
865
865
  inviteeId: z.ZodOptional<z.ZodString>;
866
866
  user_name: z.ZodOptional<z.ZodString>;
867
867
  responses: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
868
- id: z.ZodOptional<z.ZodString>;
869
- ref: z.ZodOptional<z.ZodAny>;
870
- tenant: z.ZodOptional<z.ZodString>;
868
+ id: z.ZodString;
869
+ ref: z.ZodAny;
870
+ tenant: z.ZodString;
871
871
  model_ver: z.ZodOptional<z.ZodNumber>;
872
872
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
873
873
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -877,34 +877,34 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
877
877
  answer: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
878
878
  date: z.ZodDate;
879
879
  }>, "strip", z.ZodTypeAny, {
880
+ id: string;
881
+ tenant: string;
880
882
  question_id: string;
881
883
  answer: string | string[];
882
884
  date: Date;
883
- id?: string | undefined;
884
885
  ref?: any;
885
- tenant?: string | undefined;
886
886
  model_ver?: number | undefined;
887
887
  created_at?: Date | null | undefined;
888
888
  updated_at?: Date | null | undefined;
889
889
  deleted_at?: Date | null | undefined;
890
890
  }, {
891
+ id: string;
892
+ tenant: string;
891
893
  question_id: string;
892
894
  answer: string | string[];
893
895
  date: Date;
894
- id?: string | undefined;
895
896
  ref?: any;
896
- tenant?: string | undefined;
897
897
  model_ver?: number | undefined;
898
898
  created_at?: Date | null | undefined;
899
899
  updated_at?: Date | null | undefined;
900
900
  deleted_at?: Date | null | undefined;
901
901
  }>, "many">>;
902
902
  }>, "strip", z.ZodTypeAny, {
903
+ id: string;
904
+ tenant: string;
903
905
  status: "not_started" | "in_progress" | "completed";
904
906
  modified_after_completion: boolean;
905
- id?: string | undefined;
906
907
  ref?: any;
907
- tenant?: string | undefined;
908
908
  model_ver?: number | undefined;
909
909
  created_at?: Date | null | undefined;
910
910
  updated_at?: Date | null | undefined;
@@ -914,23 +914,23 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
914
914
  inviteeId?: string | undefined;
915
915
  user_name?: string | undefined;
916
916
  responses?: {
917
+ id: string;
918
+ tenant: string;
917
919
  question_id: string;
918
920
  answer: string | string[];
919
921
  date: Date;
920
- id?: string | undefined;
921
922
  ref?: any;
922
- tenant?: string | undefined;
923
923
  model_ver?: number | undefined;
924
924
  created_at?: Date | null | undefined;
925
925
  updated_at?: Date | null | undefined;
926
926
  deleted_at?: Date | null | undefined;
927
927
  }[] | undefined;
928
928
  }, {
929
+ id: string;
930
+ tenant: string;
929
931
  status: "not_started" | "in_progress" | "completed";
930
932
  modified_after_completion: boolean;
931
- id?: string | undefined;
932
933
  ref?: any;
933
- tenant?: string | undefined;
934
934
  model_ver?: number | undefined;
935
935
  created_at?: Date | null | undefined;
936
936
  updated_at?: Date | null | undefined;
@@ -940,12 +940,12 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
940
940
  inviteeId?: string | undefined;
941
941
  user_name?: string | undefined;
942
942
  responses?: {
943
+ id: string;
944
+ tenant: string;
943
945
  question_id: string;
944
946
  answer: string | string[];
945
947
  date: Date;
946
- id?: string | undefined;
947
948
  ref?: any;
948
- tenant?: string | undefined;
949
949
  model_ver?: number | undefined;
950
950
  created_at?: Date | null | undefined;
951
951
  updated_at?: Date | null | undefined;
@@ -957,26 +957,26 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
957
957
  submission_in_progress_count: z.ZodOptional<z.ZodNumber>;
958
958
  submission_completed_count: z.ZodOptional<z.ZodNumber>;
959
959
  }>, "strip", z.ZodTypeAny, {
960
+ id: string;
961
+ tenant: string;
960
962
  name: string;
961
963
  status: "draft" | "in_progress" | "open" | "closed" | "paused";
962
964
  start_date: Date | null;
963
965
  end_date: Date | null;
964
966
  allow_edit_answers: boolean;
965
967
  allow_partial_submission: boolean;
966
- id?: string | undefined;
967
968
  ref?: any;
968
- tenant?: string | undefined;
969
969
  model_ver?: number | undefined;
970
970
  created_at?: Date | null | undefined;
971
971
  updated_at?: Date | null | undefined;
972
972
  deleted_at?: Date | null | undefined;
973
973
  description?: string | undefined;
974
974
  submissions?: {
975
+ id: string;
976
+ tenant: string;
975
977
  status: "not_started" | "in_progress" | "completed";
976
978
  modified_after_completion: boolean;
977
- id?: string | undefined;
978
979
  ref?: any;
979
- tenant?: string | undefined;
980
980
  model_ver?: number | undefined;
981
981
  created_at?: Date | null | undefined;
982
982
  updated_at?: Date | null | undefined;
@@ -986,12 +986,12 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
986
986
  inviteeId?: string | undefined;
987
987
  user_name?: string | undefined;
988
988
  responses?: {
989
+ id: string;
990
+ tenant: string;
989
991
  question_id: string;
990
992
  answer: string | string[];
991
993
  date: Date;
992
- id?: string | undefined;
993
994
  ref?: any;
994
- tenant?: string | undefined;
995
995
  model_ver?: number | undefined;
996
996
  created_at?: Date | null | undefined;
997
997
  updated_at?: Date | null | undefined;
@@ -1000,9 +1000,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1000
1000
  }[] | null | undefined;
1001
1001
  submission_count?: number | undefined;
1002
1002
  survey?: z.objectOutputType<z.objectUtil.extendShape<{
1003
- id: z.ZodOptional<z.ZodString>;
1004
- ref: z.ZodOptional<z.ZodAny>;
1005
- tenant: z.ZodOptional<z.ZodString>;
1003
+ id: z.ZodString;
1004
+ ref: z.ZodAny;
1005
+ tenant: z.ZodString;
1006
1006
  model_ver: z.ZodOptional<z.ZodNumber>;
1007
1007
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1008
1008
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1030,11 +1030,11 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1030
1030
  }>, "many">>;
1031
1031
  }>, z.ZodTypeAny, "passthrough"> | null | undefined;
1032
1032
  invitees?: {
1033
+ id: string;
1034
+ tenant: string;
1033
1035
  name: string;
1034
1036
  responded: boolean;
1035
- id?: string | undefined;
1036
1037
  ref?: any;
1037
- tenant?: string | undefined;
1038
1038
  model_ver?: number | undefined;
1039
1039
  created_at?: Date | null | undefined;
1040
1040
  updated_at?: Date | null | undefined;
@@ -1048,26 +1048,26 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1048
1048
  submission_completed_count?: number | undefined;
1049
1049
  surveySourceRef?: any;
1050
1050
  }, {
1051
+ id: string;
1052
+ tenant: string;
1051
1053
  name: string;
1052
1054
  status: "draft" | "in_progress" | "open" | "closed" | "paused";
1053
1055
  start_date: Date | null;
1054
1056
  end_date: Date | null;
1055
1057
  allow_edit_answers: boolean;
1056
1058
  allow_partial_submission: boolean;
1057
- id?: string | undefined;
1058
1059
  ref?: any;
1059
- tenant?: string | undefined;
1060
1060
  model_ver?: number | undefined;
1061
1061
  created_at?: Date | null | undefined;
1062
1062
  updated_at?: Date | null | undefined;
1063
1063
  deleted_at?: Date | null | undefined;
1064
1064
  description?: string | undefined;
1065
1065
  submissions?: {
1066
+ id: string;
1067
+ tenant: string;
1066
1068
  status: "not_started" | "in_progress" | "completed";
1067
1069
  modified_after_completion: boolean;
1068
- id?: string | undefined;
1069
1070
  ref?: any;
1070
- tenant?: string | undefined;
1071
1071
  model_ver?: number | undefined;
1072
1072
  created_at?: Date | null | undefined;
1073
1073
  updated_at?: Date | null | undefined;
@@ -1077,12 +1077,12 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1077
1077
  inviteeId?: string | undefined;
1078
1078
  user_name?: string | undefined;
1079
1079
  responses?: {
1080
+ id: string;
1081
+ tenant: string;
1080
1082
  question_id: string;
1081
1083
  answer: string | string[];
1082
1084
  date: Date;
1083
- id?: string | undefined;
1084
1085
  ref?: any;
1085
- tenant?: string | undefined;
1086
1086
  model_ver?: number | undefined;
1087
1087
  created_at?: Date | null | undefined;
1088
1088
  updated_at?: Date | null | undefined;
@@ -1091,9 +1091,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1091
1091
  }[] | null | undefined;
1092
1092
  submission_count?: number | undefined;
1093
1093
  survey?: z.objectInputType<z.objectUtil.extendShape<{
1094
- id: z.ZodOptional<z.ZodString>;
1095
- ref: z.ZodOptional<z.ZodAny>;
1096
- tenant: z.ZodOptional<z.ZodString>;
1094
+ id: z.ZodString;
1095
+ ref: z.ZodAny;
1096
+ tenant: z.ZodString;
1097
1097
  model_ver: z.ZodOptional<z.ZodNumber>;
1098
1098
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1099
1099
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1121,11 +1121,11 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
1121
1121
  }>, "many">>;
1122
1122
  }>, z.ZodTypeAny, "passthrough"> | null | undefined;
1123
1123
  invitees?: {
1124
+ id: string;
1125
+ tenant: string;
1124
1126
  name: string;
1125
1127
  responded: boolean;
1126
- id?: string | undefined;
1127
1128
  ref?: any;
1128
- tenant?: string | undefined;
1129
1129
  model_ver?: number | undefined;
1130
1130
  created_at?: Date | null | undefined;
1131
1131
  updated_at?: Date | null | undefined;
@@ -3,9 +3,9 @@ export declare const zTenantActionSchema: z.ZodEnum<["CREATE_TENANT", "DELETE_TE
3
3
  export declare const zTenantLanguageSchema: z.ZodEnum<["ptBR", "en"]>;
4
4
  export declare const zTenantStatusSchema: z.ZodEnum<["draft", "published", "archived"]>;
5
5
  export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
6
- id: z.ZodOptional<z.ZodString>;
7
- ref: z.ZodOptional<z.ZodAny>;
8
- tenant: z.ZodOptional<z.ZodString>;
6
+ id: z.ZodString;
7
+ ref: z.ZodAny;
8
+ tenant: z.ZodString;
9
9
  model_ver: z.ZodOptional<z.ZodNumber>;
10
10
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
11
11
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -19,12 +19,12 @@ export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
19
19
  timezone: z.ZodOptional<z.ZodString>;
20
20
  created_by: z.ZodAny;
21
21
  }>, "strip", z.ZodTypeAny, {
22
+ id: string;
23
+ tenant: string;
22
24
  name: string;
23
25
  url_alias: string;
24
26
  status: "draft" | "published" | "archived";
25
- id?: string | undefined;
26
27
  ref?: any;
27
- tenant?: string | undefined;
28
28
  model_ver?: number | undefined;
29
29
  created_at?: Date | null | undefined;
30
30
  updated_at?: Date | null | undefined;
@@ -34,12 +34,12 @@ export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
34
34
  timezone?: string | undefined;
35
35
  created_by?: any;
36
36
  }, {
37
+ id: string;
38
+ tenant: string;
37
39
  name: string;
38
40
  url_alias: string;
39
41
  status: "draft" | "published" | "archived";
40
- id?: string | undefined;
41
42
  ref?: any;
42
- tenant?: string | undefined;
43
43
  model_ver?: number | undefined;
44
44
  created_at?: Date | null | undefined;
45
45
  updated_at?: Date | null | undefined;
@@ -1,25 +1,25 @@
1
1
  import { z } from "zod";
2
2
  export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-meeting", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
3
3
  export declare const zFireDocSchema: z.ZodObject<{
4
- id: z.ZodOptional<z.ZodString>;
5
- ref: z.ZodOptional<z.ZodAny>;
6
- tenant: z.ZodOptional<z.ZodString>;
4
+ id: z.ZodString;
5
+ ref: z.ZodAny;
6
+ tenant: z.ZodString;
7
7
  model_ver: z.ZodOptional<z.ZodNumber>;
8
8
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
9
9
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
10
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
- id?: string | undefined;
12
+ id: string;
13
+ tenant: string;
13
14
  ref?: any;
14
- tenant?: string | undefined;
15
15
  model_ver?: number | undefined;
16
16
  created_at?: Date | null | undefined;
17
17
  updated_at?: Date | null | undefined;
18
18
  deleted_at?: Date | null | undefined;
19
19
  }, {
20
- id?: string | undefined;
20
+ id: string;
21
+ tenant: string;
21
22
  ref?: any;
22
- tenant?: string | undefined;
23
23
  model_ver?: number | undefined;
24
24
  created_at?: Date | null | undefined;
25
25
  updated_at?: Date | null | undefined;
@@ -15,9 +15,9 @@ exports.zEvoAppSchema = zod_1.z.enum([
15
15
  ]);
16
16
  // Custom validation for FirestoreDocumentReference
17
17
  exports.zFireDocSchema = zod_1.z.object({
18
- id: zod_1.z.string().optional(),
19
- ref: zod_1.z.any().optional(),
20
- tenant: zod_1.z.string().optional(),
18
+ id: zod_1.z.string(),
19
+ ref: zod_1.z.any(),
20
+ tenant: zod_1.z.string(),
21
21
  model_ver: zod_1.z.number().optional(),
22
22
  created_at: zod_1.z.date().nullable().optional(),
23
23
  updated_at: zod_1.z.date().nullable().optional(),
@@ -14,9 +14,9 @@ export const zEvoAppSchema = z.enum([
14
14
 
15
15
  // Custom validation for FirestoreDocumentReference
16
16
  export const zFireDocSchema = z.object({
17
- id: z.string().optional(),
18
- ref: z.any().optional(),
19
- tenant: z.string().optional(),
17
+ id: z.string(),
18
+ ref: z.any(),
19
+ tenant: z.string(),
20
20
  model_ver: z.number().optional(),
21
21
  created_at: z.date().nullable().optional(),
22
22
  updated_at: z.date().nullable().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.1.49",
3
+ "version": "1.1.50",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",