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
|
@@ -13,8 +13,8 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
13
13
|
creatorName: z.ZodString;
|
|
14
14
|
creatorRef: z.ZodAny;
|
|
15
15
|
docRef: z.ZodAny;
|
|
16
|
-
app: z.ZodEnum<["evo-activity", "evo-
|
|
17
|
-
type: z.ZodUnion<[z.ZodEnum<["
|
|
16
|
+
app: z.ZodEnum<["evo-activity", "evo-core", "evo-crm", "evo-med", "evo-messages", "evo-people", "evo-survey", "evo-tags", "evo-task", "evo-tenant"]>;
|
|
17
|
+
type: z.ZodUnion<[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"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
18
18
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
19
19
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
20
20
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -43,8 +43,8 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
43
43
|
creatorName: z.ZodString;
|
|
44
44
|
creatorRef: z.ZodAny;
|
|
45
45
|
docRef: z.ZodAny;
|
|
46
|
-
app: z.ZodEnum<["evo-activity", "evo-
|
|
47
|
-
type: z.ZodUnion<[z.ZodEnum<["
|
|
46
|
+
app: z.ZodEnum<["evo-activity", "evo-core", "evo-crm", "evo-med", "evo-messages", "evo-people", "evo-survey", "evo-tags", "evo-task", "evo-tenant"]>;
|
|
47
|
+
type: z.ZodUnion<[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"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
48
48
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
49
49
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
50
50
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -73,8 +73,8 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
73
73
|
creatorName: z.ZodString;
|
|
74
74
|
creatorRef: z.ZodAny;
|
|
75
75
|
docRef: z.ZodAny;
|
|
76
|
-
app: z.ZodEnum<["evo-activity", "evo-
|
|
77
|
-
type: z.ZodUnion<[z.ZodEnum<["
|
|
76
|
+
app: z.ZodEnum<["evo-activity", "evo-core", "evo-crm", "evo-med", "evo-messages", "evo-people", "evo-survey", "evo-tags", "evo-task", "evo-tenant"]>;
|
|
77
|
+
type: z.ZodUnion<[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"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
78
78
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
79
79
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
80
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.zIActivityEventSchema = exports.zReadStatusSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_schemas_1 = require("../shared/zod-schemas");
|
|
6
|
-
const zod_schemas_2 = require("../evo-
|
|
7
|
-
const zod_schemas_3 = require("../evo-
|
|
8
|
-
const zod_schemas_4 = require("../evo-
|
|
9
|
-
const zod_schemas_5 = require("../evo-
|
|
10
|
-
const zod_schemas_6 = require("../evo-tenant/zod-schemas");
|
|
6
|
+
const zod_schemas_2 = require("../evo-people/zod-schemas");
|
|
7
|
+
const zod_schemas_3 = require("../evo-survey/zod-schemas");
|
|
8
|
+
const zod_schemas_4 = require("../evo-task/zod-schemas");
|
|
9
|
+
const zod_schemas_5 = require("../evo-tenant/zod-schemas");
|
|
11
10
|
// Enum for activity read status
|
|
12
11
|
exports.zReadStatusSchema = zod_1.z.enum([
|
|
13
12
|
"new",
|
|
@@ -25,11 +24,10 @@ exports.zIActivityEventSchema = zod_schemas_1.zFireDocSchema // Extend from Fire
|
|
|
25
24
|
docRef: zod_1.z.any(),
|
|
26
25
|
app: zod_schemas_1.zEvoAppSchema,
|
|
27
26
|
type: zod_1.z.union([
|
|
28
|
-
zod_schemas_2.
|
|
29
|
-
zod_schemas_3.
|
|
30
|
-
zod_schemas_4.
|
|
31
|
-
zod_schemas_5.
|
|
32
|
-
zod_schemas_6.zTenantActionSchema,
|
|
27
|
+
zod_schemas_2.zPeopleActionSchema,
|
|
28
|
+
zod_schemas_3.zSurveyActionSchema,
|
|
29
|
+
zod_schemas_4.zTaskActionSchema,
|
|
30
|
+
zod_schemas_5.zTenantActionSchema,
|
|
33
31
|
]),
|
|
34
32
|
readStatus: exports.zReadStatusSchema,
|
|
35
33
|
metadata: zod_1.z.record(zod_1.z.any()).optional(),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
zFireDocSchema,
|
|
5
5
|
zTagSchema,
|
|
6
6
|
} from "../shared/zod-schemas";
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
import { zPeopleActionSchema } from "../evo-people/zod-schemas";
|
|
9
9
|
import { zSurveyActionSchema } from "../evo-survey/zod-schemas";
|
|
10
10
|
import { zTaskActionSchema } from "../evo-task/zod-schemas";
|
|
@@ -28,7 +28,6 @@ export const zIActivityEventSchema = zFireDocSchema // Extend from FireDocSchema
|
|
|
28
28
|
docRef: z.any(),
|
|
29
29
|
app: zEvoAppSchema,
|
|
30
30
|
type: z.union([
|
|
31
|
-
zCalendarActionSchema,
|
|
32
31
|
zPeopleActionSchema,
|
|
33
32
|
zSurveyActionSchema,
|
|
34
33
|
zTaskActionSchema,
|
|
@@ -95,10 +95,10 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
95
95
|
tenant: string;
|
|
96
96
|
model_ver: number;
|
|
97
97
|
status: "draft" | "active" | "inactive";
|
|
98
|
-
description: string | null;
|
|
99
98
|
type_code: string | null;
|
|
100
99
|
type_name: string | null;
|
|
101
100
|
acronym: string | null;
|
|
101
|
+
description: string | null;
|
|
102
102
|
color: string | null;
|
|
103
103
|
technical_name: string;
|
|
104
104
|
duration: number | null;
|
|
@@ -125,7 +125,6 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
125
125
|
created_at?: Date | null | undefined;
|
|
126
126
|
updated_at?: Date | null | undefined;
|
|
127
127
|
deleted_at?: Date | null | undefined;
|
|
128
|
-
description?: string | null | undefined;
|
|
129
128
|
tags?: {
|
|
130
129
|
name: string;
|
|
131
130
|
hidden: boolean;
|
|
@@ -135,6 +134,7 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
135
134
|
type_name?: string | null | undefined;
|
|
136
135
|
typeRef?: any;
|
|
137
136
|
acronym?: string | null | undefined;
|
|
137
|
+
description?: string | null | undefined;
|
|
138
138
|
color?: string | null | undefined;
|
|
139
139
|
duration?: number | null | undefined;
|
|
140
140
|
tuss?: string | null | undefined;
|
|
@@ -964,7 +964,7 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
964
964
|
id: string;
|
|
965
965
|
tenant: string;
|
|
966
966
|
model_ver: number;
|
|
967
|
-
status: "
|
|
967
|
+
status: "in_progress" | "not_started" | "completed";
|
|
968
968
|
user_name: string;
|
|
969
969
|
modified_after_completion: boolean;
|
|
970
970
|
answer_count: number;
|
|
@@ -994,7 +994,7 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
994
994
|
}, {
|
|
995
995
|
id: string;
|
|
996
996
|
tenant: string;
|
|
997
|
-
status: "
|
|
997
|
+
status: "in_progress" | "not_started" | "completed";
|
|
998
998
|
ref?: any;
|
|
999
999
|
model_ver?: number | undefined;
|
|
1000
1000
|
created_at?: Date | null | undefined;
|
|
@@ -1048,14 +1048,14 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1048
1048
|
model_ver: number;
|
|
1049
1049
|
phone: string;
|
|
1050
1050
|
isAnonymous: boolean;
|
|
1051
|
-
submission_status: "
|
|
1051
|
+
submission_status: "in_progress" | "not_started" | "completed";
|
|
1052
1052
|
ref?: any;
|
|
1053
1053
|
created_at?: Date | null | undefined;
|
|
1054
1054
|
updated_at?: Date | null | undefined;
|
|
1055
1055
|
deleted_at?: Date | null | undefined;
|
|
1056
1056
|
email?: string | undefined;
|
|
1057
|
-
description?: string | undefined;
|
|
1058
1057
|
photo_url?: string | null | undefined;
|
|
1058
|
+
description?: string | undefined;
|
|
1059
1059
|
invitedUserId?: string | undefined;
|
|
1060
1060
|
submissionId?: string | undefined;
|
|
1061
1061
|
}, {
|
|
@@ -1068,13 +1068,13 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1068
1068
|
updated_at?: Date | null | undefined;
|
|
1069
1069
|
deleted_at?: Date | null | undefined;
|
|
1070
1070
|
email?: string | undefined;
|
|
1071
|
-
description?: string | undefined;
|
|
1072
1071
|
photo_url?: string | null | undefined;
|
|
1073
1072
|
phone?: string | undefined;
|
|
1073
|
+
description?: string | undefined;
|
|
1074
1074
|
invitedUserId?: string | undefined;
|
|
1075
1075
|
isAnonymous?: boolean | undefined;
|
|
1076
1076
|
submissionId?: string | undefined;
|
|
1077
|
-
submission_status?: "
|
|
1077
|
+
submission_status?: "in_progress" | "not_started" | "completed" | undefined;
|
|
1078
1078
|
}>;
|
|
1079
1079
|
export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1080
1080
|
id: z.ZodString;
|
|
@@ -1207,14 +1207,14 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1207
1207
|
model_ver: number;
|
|
1208
1208
|
phone: string;
|
|
1209
1209
|
isAnonymous: boolean;
|
|
1210
|
-
submission_status: "
|
|
1210
|
+
submission_status: "in_progress" | "not_started" | "completed";
|
|
1211
1211
|
ref?: any;
|
|
1212
1212
|
created_at?: Date | null | undefined;
|
|
1213
1213
|
updated_at?: Date | null | undefined;
|
|
1214
1214
|
deleted_at?: Date | null | undefined;
|
|
1215
1215
|
email?: string | undefined;
|
|
1216
|
-
description?: string | undefined;
|
|
1217
1216
|
photo_url?: string | null | undefined;
|
|
1217
|
+
description?: string | undefined;
|
|
1218
1218
|
invitedUserId?: string | undefined;
|
|
1219
1219
|
submissionId?: string | undefined;
|
|
1220
1220
|
}, {
|
|
@@ -1227,13 +1227,13 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1227
1227
|
updated_at?: Date | null | undefined;
|
|
1228
1228
|
deleted_at?: Date | null | undefined;
|
|
1229
1229
|
email?: string | undefined;
|
|
1230
|
-
description?: string | undefined;
|
|
1231
1230
|
photo_url?: string | null | undefined;
|
|
1232
1231
|
phone?: string | undefined;
|
|
1232
|
+
description?: string | undefined;
|
|
1233
1233
|
invitedUserId?: string | undefined;
|
|
1234
1234
|
isAnonymous?: boolean | undefined;
|
|
1235
1235
|
submissionId?: string | undefined;
|
|
1236
|
-
submission_status?: "
|
|
1236
|
+
submission_status?: "in_progress" | "not_started" | "completed" | undefined;
|
|
1237
1237
|
}>, "many">>>;
|
|
1238
1238
|
invitee_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1239
1239
|
submissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1309,7 +1309,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1309
1309
|
id: string;
|
|
1310
1310
|
tenant: string;
|
|
1311
1311
|
model_ver: number;
|
|
1312
|
-
status: "
|
|
1312
|
+
status: "in_progress" | "not_started" | "completed";
|
|
1313
1313
|
user_name: string;
|
|
1314
1314
|
modified_after_completion: boolean;
|
|
1315
1315
|
answer_count: number;
|
|
@@ -1339,7 +1339,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1339
1339
|
}, {
|
|
1340
1340
|
id: string;
|
|
1341
1341
|
tenant: string;
|
|
1342
|
-
status: "
|
|
1342
|
+
status: "in_progress" | "not_started" | "completed";
|
|
1343
1343
|
ref?: any;
|
|
1344
1344
|
model_ver?: number | undefined;
|
|
1345
1345
|
created_at?: Date | null | undefined;
|
|
@@ -1378,9 +1378,9 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1378
1378
|
tenant: string;
|
|
1379
1379
|
model_ver: number;
|
|
1380
1380
|
status: "draft" | "open" | "closed" | "in_progress" | "paused";
|
|
1381
|
+
submission_count: number;
|
|
1381
1382
|
start_date: Date | null;
|
|
1382
1383
|
end_date: Date | null;
|
|
1383
|
-
submission_count: number;
|
|
1384
1384
|
allow_edit_answers: boolean;
|
|
1385
1385
|
allow_partial_submission: boolean;
|
|
1386
1386
|
section_count: number;
|
|
@@ -1393,7 +1393,6 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1393
1393
|
created_at?: Date | null | undefined;
|
|
1394
1394
|
updated_at?: Date | null | undefined;
|
|
1395
1395
|
deleted_at?: Date | null | undefined;
|
|
1396
|
-
description?: string | undefined;
|
|
1397
1396
|
surveys?: z.objectOutputType<z.objectUtil.extendShape<{
|
|
1398
1397
|
id: z.ZodString;
|
|
1399
1398
|
ref: z.ZodAny;
|
|
@@ -1428,7 +1427,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1428
1427
|
id: string;
|
|
1429
1428
|
tenant: string;
|
|
1430
1429
|
model_ver: number;
|
|
1431
|
-
status: "
|
|
1430
|
+
status: "in_progress" | "not_started" | "completed";
|
|
1432
1431
|
user_name: string;
|
|
1433
1432
|
modified_after_completion: boolean;
|
|
1434
1433
|
answer_count: number;
|
|
@@ -1456,6 +1455,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1456
1455
|
submission_date?: Date | undefined;
|
|
1457
1456
|
inviteeId?: string | undefined;
|
|
1458
1457
|
}[] | null | undefined;
|
|
1458
|
+
description?: string | undefined;
|
|
1459
1459
|
invitees?: {
|
|
1460
1460
|
name: string;
|
|
1461
1461
|
id: string;
|
|
@@ -1463,14 +1463,14 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1463
1463
|
model_ver: number;
|
|
1464
1464
|
phone: string;
|
|
1465
1465
|
isAnonymous: boolean;
|
|
1466
|
-
submission_status: "
|
|
1466
|
+
submission_status: "in_progress" | "not_started" | "completed";
|
|
1467
1467
|
ref?: any;
|
|
1468
1468
|
created_at?: Date | null | undefined;
|
|
1469
1469
|
updated_at?: Date | null | undefined;
|
|
1470
1470
|
deleted_at?: Date | null | undefined;
|
|
1471
1471
|
email?: string | undefined;
|
|
1472
|
-
description?: string | undefined;
|
|
1473
1472
|
photo_url?: string | null | undefined;
|
|
1473
|
+
description?: string | undefined;
|
|
1474
1474
|
invitedUserId?: string | undefined;
|
|
1475
1475
|
submissionId?: string | undefined;
|
|
1476
1476
|
}[] | null | undefined;
|
|
@@ -1488,7 +1488,6 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1488
1488
|
created_at?: Date | null | undefined;
|
|
1489
1489
|
updated_at?: Date | null | undefined;
|
|
1490
1490
|
deleted_at?: Date | null | undefined;
|
|
1491
|
-
description?: string | undefined;
|
|
1492
1491
|
surveys?: z.objectInputType<z.objectUtil.extendShape<{
|
|
1493
1492
|
id: z.ZodString;
|
|
1494
1493
|
ref: z.ZodAny;
|
|
@@ -1522,7 +1521,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1522
1521
|
submissions?: {
|
|
1523
1522
|
id: string;
|
|
1524
1523
|
tenant: string;
|
|
1525
|
-
status: "
|
|
1524
|
+
status: "in_progress" | "not_started" | "completed";
|
|
1526
1525
|
ref?: any;
|
|
1527
1526
|
model_ver?: number | undefined;
|
|
1528
1527
|
created_at?: Date | null | undefined;
|
|
@@ -1551,6 +1550,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1551
1550
|
answer_count?: number | undefined;
|
|
1552
1551
|
submission_count?: number | undefined;
|
|
1553
1552
|
}[] | null | undefined;
|
|
1553
|
+
description?: string | undefined;
|
|
1554
1554
|
submission_count?: number | undefined;
|
|
1555
1555
|
section_count?: number | undefined;
|
|
1556
1556
|
question_count?: number | undefined;
|
|
@@ -1564,13 +1564,13 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1564
1564
|
updated_at?: Date | null | undefined;
|
|
1565
1565
|
deleted_at?: Date | null | undefined;
|
|
1566
1566
|
email?: string | undefined;
|
|
1567
|
-
description?: string | undefined;
|
|
1568
1567
|
photo_url?: string | null | undefined;
|
|
1569
1568
|
phone?: string | undefined;
|
|
1569
|
+
description?: string | undefined;
|
|
1570
1570
|
invitedUserId?: string | undefined;
|
|
1571
1571
|
isAnonymous?: boolean | undefined;
|
|
1572
1572
|
submissionId?: string | undefined;
|
|
1573
|
-
submission_status?: "
|
|
1573
|
+
submission_status?: "in_progress" | "not_started" | "completed" | undefined;
|
|
1574
1574
|
}[] | null | undefined;
|
|
1575
1575
|
invitee_count?: number | undefined;
|
|
1576
1576
|
submission_not_started_count?: number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-
|
|
2
|
+
export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-core", "evo-crm", "evo-med", "evo-messages", "evo-people", "evo-survey", "evo-tags", "evo-task", "evo-tenant"]>;
|
|
3
3
|
export declare const zFireDocSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
ref: z.ZodAny;
|
|
@@ -5,13 +5,13 @@ const zod_1 = require("zod");
|
|
|
5
5
|
// Enum for activity read status
|
|
6
6
|
exports.zEvoAppSchema = zod_1.z.enum([
|
|
7
7
|
"evo-activity",
|
|
8
|
-
"evo-calendar",
|
|
9
8
|
"evo-core",
|
|
10
9
|
"evo-crm",
|
|
11
|
-
"evo-
|
|
10
|
+
"evo-med",
|
|
12
11
|
"evo-messages",
|
|
13
12
|
"evo-people",
|
|
14
13
|
"evo-survey",
|
|
14
|
+
"evo-tags",
|
|
15
15
|
"evo-task",
|
|
16
16
|
"evo-tenant",
|
|
17
17
|
]);
|
|
@@ -3,13 +3,13 @@ import { z } from "zod";
|
|
|
3
3
|
// Enum for activity read status
|
|
4
4
|
export const zEvoAppSchema = z.enum([
|
|
5
5
|
"evo-activity",
|
|
6
|
-
"evo-calendar",
|
|
7
6
|
"evo-core",
|
|
8
7
|
"evo-crm",
|
|
9
|
-
"evo-
|
|
8
|
+
"evo-med",
|
|
10
9
|
"evo-messages",
|
|
11
10
|
"evo-people",
|
|
12
11
|
"evo-survey",
|
|
12
|
+
"evo-tags",
|
|
13
13
|
"evo-task",
|
|
14
14
|
"evo-tenant",
|
|
15
15
|
]);
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from "./types/evo-med/dic";
|
|
|
13
13
|
export * from "./types/evo-med/insurance";
|
|
14
14
|
export * from "./types/evo-med/people";
|
|
15
15
|
export * from "./types/evo-med/procedure";
|
|
16
|
-
export * from "./types/evo-calendar";
|
|
17
16
|
export * from "./types/evo-task";
|
|
18
17
|
export * from "./types/evo-tags";
|
|
19
18
|
export * from "./types/evo-survey";
|
|
@@ -33,7 +32,6 @@ export * from "./apps/evo-med/dic/zod-schemas";
|
|
|
33
32
|
export * from "./apps/evo-med/insurance/zod-schemas";
|
|
34
33
|
export * from "./apps/evo-med/people/zod-schemas";
|
|
35
34
|
export * from "./apps/evo-med/procedure/zod-schemas";
|
|
36
|
-
export * from "./apps/evo-calendar/zod-schemas";
|
|
37
35
|
export * from "./apps/evo-tags/zod-schemas";
|
|
38
36
|
export * from "./apps/evo-task/zod-schemas";
|
|
39
37
|
export * from "./apps/evo-survey/zod-schemas";
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,6 @@ __exportStar(require("./types/evo-med/dic"), exports);
|
|
|
29
29
|
__exportStar(require("./types/evo-med/insurance"), exports);
|
|
30
30
|
__exportStar(require("./types/evo-med/people"), exports);
|
|
31
31
|
__exportStar(require("./types/evo-med/procedure"), exports);
|
|
32
|
-
__exportStar(require("./types/evo-calendar"), exports);
|
|
33
32
|
__exportStar(require("./types/evo-tags"), exports);
|
|
34
33
|
__exportStar(require("./types/evo-task"), exports);
|
|
35
34
|
__exportStar(require("./types/evo-survey"), exports);
|
|
@@ -48,7 +47,6 @@ __exportStar(require("./apps/evo-med/dic/zod-schemas"), exports);
|
|
|
48
47
|
__exportStar(require("./apps/evo-med/insurance/zod-schemas"), exports);
|
|
49
48
|
__exportStar(require("./apps/evo-med/people/zod-schemas"), exports);
|
|
50
49
|
__exportStar(require("./apps/evo-med/procedure/zod-schemas"), exports);
|
|
51
|
-
__exportStar(require("./apps/evo-calendar/zod-schemas"), exports);
|
|
52
50
|
__exportStar(require("./apps/evo-tags/zod-schemas"), exports);
|
|
53
51
|
__exportStar(require("./apps/evo-task/zod-schemas"), exports);
|
|
54
52
|
__exportStar(require("./apps/evo-survey/zod-schemas"), exports);
|
package/dist/index.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from "./types/evo-med/dic";
|
|
|
13
13
|
export * from "./types/evo-med/insurance";
|
|
14
14
|
export * from "./types/evo-med/people";
|
|
15
15
|
export * from "./types/evo-med/procedure";
|
|
16
|
-
export * from "./types/evo-calendar";
|
|
17
16
|
export * from "./types/evo-tags";
|
|
18
17
|
export * from "./types/evo-task";
|
|
19
18
|
export * from "./types/evo-survey";
|
|
@@ -33,7 +32,6 @@ export * from "./apps/evo-med/dic/zod-schemas";
|
|
|
33
32
|
export * from "./apps/evo-med/insurance/zod-schemas";
|
|
34
33
|
export * from "./apps/evo-med/people/zod-schemas";
|
|
35
34
|
export * from "./apps/evo-med/procedure/zod-schemas";
|
|
36
|
-
export * from "./apps/evo-calendar/zod-schemas";
|
|
37
35
|
export * from "./apps/evo-tags/zod-schemas";
|
|
38
36
|
export * from "./apps/evo-task/zod-schemas";
|
|
39
37
|
export * from "./apps/evo-survey/zod-schemas";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
|
-
import type { CalendarAction } from "../evo-calendar";
|
|
3
2
|
import type { MedPeopleAction } from "../evo-med/people";
|
|
4
3
|
import type { SurveyAction, SurveyDeploymentAction } from "../evo-survey";
|
|
5
4
|
import type { TaskAction } from "../evo-task";
|
|
@@ -20,7 +19,7 @@ export interface IActivityEvent extends IFireDoc {
|
|
|
20
19
|
creatorPath?: string;
|
|
21
20
|
docPath?: string;
|
|
22
21
|
app: EvoApp;
|
|
23
|
-
type:
|
|
22
|
+
type: MedPeopleAction | SurveyAction | SurveyDeploymentAction | TaskAction | TenantAction;
|
|
24
23
|
readStatus: ActivityReadStatus;
|
|
25
24
|
metadata?: Record<string, any>;
|
|
26
25
|
tags?: ITag[] | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
|
-
import type { CalendarAction } from "../evo-calendar";
|
|
3
2
|
import type { MedPeopleAction } from "../evo-med/people";
|
|
4
3
|
import type { SurveyAction, SurveyDeploymentAction } from "../evo-survey";
|
|
5
4
|
import type { TaskAction } from "../evo-task";
|
|
@@ -27,12 +26,11 @@ export enum IActivityReadStatus {
|
|
|
27
26
|
// Interface for Event Instances (eventInstances)
|
|
28
27
|
export interface IActivityEvent extends IFireDoc {
|
|
29
28
|
recipientIds: string[]; // List of recipients ids
|
|
30
|
-
creatorName: string; // Name of the user who created the
|
|
29
|
+
creatorName: string; // Name of the user who created the event
|
|
31
30
|
creatorPath?: string;
|
|
32
31
|
docPath?: string;
|
|
33
32
|
app: EvoApp;
|
|
34
33
|
type:
|
|
35
|
-
| CalendarAction
|
|
36
34
|
| MedPeopleAction
|
|
37
35
|
| SurveyAction
|
|
38
36
|
| SurveyDeploymentAction
|
|
@@ -38,16 +38,15 @@ export interface IAddress {
|
|
|
38
38
|
country?: string;
|
|
39
39
|
geo?: IGeoPoint;
|
|
40
40
|
}
|
|
41
|
-
export type EvoApp = "evo-activity" | "evo-
|
|
41
|
+
export type EvoApp = "evo-activity" | "evo-core" | "evo-crm" | "evo-people" | "evo-med" | "evo-survey" | "evo-tags" | "evo-task" | "evo-tenant";
|
|
42
42
|
export declare enum IEvoApp {
|
|
43
43
|
EvoActivity = "evo-activity",
|
|
44
|
-
EvoCalendar = "evo-calendar",
|
|
45
44
|
EvoCore = "evo-core",
|
|
46
|
-
|
|
45
|
+
EvoCrm = "evo-crm",
|
|
47
46
|
EvoPeople = "evo-people",
|
|
48
47
|
EvoMed = "evo-med",
|
|
49
48
|
EvoSurvey = "evo-survey",
|
|
49
|
+
EvoTags = "evo-tags",
|
|
50
50
|
EvoTask = "evo-task",
|
|
51
|
-
EvoTenant = "evo-tenant"
|
|
52
|
-
EvoTags = "evo-tags"
|
|
51
|
+
EvoTenant = "evo-tenant"
|
|
53
52
|
}
|
|
@@ -19,13 +19,12 @@ __exportStar(require("./fb_collections"), exports);
|
|
|
19
19
|
var IEvoApp;
|
|
20
20
|
(function (IEvoApp) {
|
|
21
21
|
IEvoApp["EvoActivity"] = "evo-activity";
|
|
22
|
-
IEvoApp["EvoCalendar"] = "evo-calendar";
|
|
23
22
|
IEvoApp["EvoCore"] = "evo-core";
|
|
24
|
-
IEvoApp["
|
|
23
|
+
IEvoApp["EvoCrm"] = "evo-crm";
|
|
25
24
|
IEvoApp["EvoPeople"] = "evo-people";
|
|
26
25
|
IEvoApp["EvoMed"] = "evo-med";
|
|
27
26
|
IEvoApp["EvoSurvey"] = "evo-survey";
|
|
27
|
+
IEvoApp["EvoTags"] = "evo-tags";
|
|
28
28
|
IEvoApp["EvoTask"] = "evo-task";
|
|
29
29
|
IEvoApp["EvoTenant"] = "evo-tenant";
|
|
30
|
-
IEvoApp["EvoTags"] = "evo-tags";
|
|
31
30
|
})(IEvoApp || (exports.IEvoApp = IEvoApp = {}));
|
|
@@ -53,24 +53,23 @@ export interface IAddress {
|
|
|
53
53
|
|
|
54
54
|
export type EvoApp =
|
|
55
55
|
| "evo-activity"
|
|
56
|
-
| "evo-calendar"
|
|
57
56
|
| "evo-core"
|
|
58
|
-
| "evo-
|
|
57
|
+
| "evo-crm"
|
|
59
58
|
| "evo-people"
|
|
60
59
|
| "evo-med"
|
|
61
60
|
| "evo-survey"
|
|
61
|
+
| "evo-tags"
|
|
62
62
|
| "evo-task"
|
|
63
|
-
| "evo-tenant"
|
|
64
|
-
|
|
63
|
+
| "evo-tenant";
|
|
64
|
+
|
|
65
65
|
export enum IEvoApp {
|
|
66
66
|
EvoActivity = "evo-activity",
|
|
67
|
-
EvoCalendar = "evo-calendar",
|
|
68
67
|
EvoCore = "evo-core",
|
|
69
|
-
|
|
68
|
+
EvoCrm = "evo-crm",
|
|
70
69
|
EvoPeople = "evo-people",
|
|
71
70
|
EvoMed = "evo-med",
|
|
72
71
|
EvoSurvey = "evo-survey",
|
|
72
|
+
EvoTags = "evo-tags",
|
|
73
73
|
EvoTask = "evo-task",
|
|
74
74
|
EvoTenant = "evo-tenant",
|
|
75
|
-
EvoTags = "evo-tags",
|
|
76
75
|
}
|