evo360-types 1.3.27 → 1.3.29
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-med/calendar/zod-schemas.d.ts +89 -0
- package/dist/apps/evo-med/calendar/zod-schemas.js +17 -0
- package/dist/apps/evo-med/calendar/zod-schemas.ts +15 -0
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.ts +2 -0
- package/dist/types/evo-med/calendar/index.d.ts +11 -0
- package/dist/types/evo-med/calendar/index.js +17 -0
- package/dist/types/evo-med/calendar/index.ts +14 -0
- package/dist/types/evo-med/fb_collections.d.ts +1 -0
- package/dist/types/evo-med/fb_collections.js +3 -1
- package/dist/types/evo-med/fb_collections.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
ref: z.ZodAny;
|
|
5
|
+
tenant: z.ZodString;
|
|
6
|
+
model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
|
+
}, {
|
|
11
|
+
calendarId: z.ZodString;
|
|
12
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
15
|
+
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
color: z.ZodOptional<z.ZodString>;
|
|
21
|
+
hidden: z.ZodBoolean;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
name: string;
|
|
24
|
+
hidden: boolean;
|
|
25
|
+
color?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
name: string;
|
|
28
|
+
hidden: boolean;
|
|
29
|
+
color?: string | undefined;
|
|
30
|
+
}>, "many">>>;
|
|
31
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
ref: z.ZodAny;
|
|
34
|
+
tenant: z.ZodString;
|
|
35
|
+
model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
37
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
39
|
+
}, {
|
|
40
|
+
calendarId: z.ZodString;
|
|
41
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
|
+
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
46
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
color: z.ZodOptional<z.ZodString>;
|
|
50
|
+
hidden: z.ZodBoolean;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
name: string;
|
|
53
|
+
hidden: boolean;
|
|
54
|
+
color?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
name: string;
|
|
57
|
+
hidden: boolean;
|
|
58
|
+
color?: string | undefined;
|
|
59
|
+
}>, "many">>>;
|
|
60
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
61
|
+
id: z.ZodString;
|
|
62
|
+
ref: z.ZodAny;
|
|
63
|
+
tenant: z.ZodString;
|
|
64
|
+
model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
65
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
66
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
67
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
68
|
+
}, {
|
|
69
|
+
calendarId: z.ZodString;
|
|
70
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
|
+
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
75
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
77
|
+
name: z.ZodString;
|
|
78
|
+
color: z.ZodOptional<z.ZodString>;
|
|
79
|
+
hidden: z.ZodBoolean;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
name: string;
|
|
82
|
+
hidden: boolean;
|
|
83
|
+
color?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
name: string;
|
|
86
|
+
hidden: boolean;
|
|
87
|
+
color?: string | undefined;
|
|
88
|
+
}>, "many">>>;
|
|
89
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.zCalendarSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_schemas_1 = require("../../shared/zod-schemas");
|
|
6
|
+
exports.zCalendarSchema = zod_schemas_1.zFireDocSchema
|
|
7
|
+
.extend({
|
|
8
|
+
calendarId: zod_1.z.string().min(1).max(30),
|
|
9
|
+
color: zod_1.z.string().min(1).max(10).nullable().optional(),
|
|
10
|
+
display_name: zod_1.z.string().min(1).max(60).nullable().optional(),
|
|
11
|
+
last_update: zod_1.z.coerce.date().nullable().optional(),
|
|
12
|
+
n8n_wf: zod_1.z.string().min(1).max(500).nullable().optional(),
|
|
13
|
+
order: zod_1.z.number().default(0),
|
|
14
|
+
url: zod_1.z.string().min(1).max(500).nullable().optional(),
|
|
15
|
+
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
16
|
+
})
|
|
17
|
+
.passthrough();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
|
|
3
|
+
|
|
4
|
+
export const zCalendarSchema = zFireDocSchema
|
|
5
|
+
.extend({
|
|
6
|
+
calendarId: z.string().min(1).max(30),
|
|
7
|
+
color: z.string().min(1).max(10).nullable().optional(),
|
|
8
|
+
display_name: z.string().min(1).max(60).nullable().optional(),
|
|
9
|
+
last_update: z.coerce.date().nullable().optional(),
|
|
10
|
+
n8n_wf: z.string().min(1).max(500).nullable().optional(),
|
|
11
|
+
order: z.number().default(0),
|
|
12
|
+
url: z.string().min(1).max(500).nullable().optional(),
|
|
13
|
+
tags: z.array(zTagSchema).nullable().optional(),
|
|
14
|
+
})
|
|
15
|
+
.passthrough();
|
|
@@ -99,9 +99,9 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
99
99
|
type_code: string | null;
|
|
100
100
|
type_name: string | null;
|
|
101
101
|
acronym: string | null;
|
|
102
|
+
color: string | null;
|
|
102
103
|
technical_name: string;
|
|
103
104
|
duration: number | null;
|
|
104
|
-
color: string | null;
|
|
105
105
|
tuss: string | null;
|
|
106
106
|
ref?: any;
|
|
107
107
|
created_at?: Date | null | undefined;
|
|
@@ -135,7 +135,7 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
135
135
|
type_name?: string | null | undefined;
|
|
136
136
|
typeRef?: any;
|
|
137
137
|
acronym?: string | null | undefined;
|
|
138
|
-
duration?: number | null | undefined;
|
|
139
138
|
color?: string | null | undefined;
|
|
139
|
+
duration?: number | null | undefined;
|
|
140
140
|
tuss?: string | null | undefined;
|
|
141
141
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from "./types/evo-people";
|
|
|
8
8
|
export * from "./types/evo-crm/dic";
|
|
9
9
|
export * from "./types/evo-crm/lead";
|
|
10
10
|
export * from "./types/evo-chat";
|
|
11
|
+
export * from "./types/evo-med/calendar";
|
|
11
12
|
export * from "./types/evo-med/dic";
|
|
12
13
|
export * from "./types/evo-med/insurance";
|
|
13
14
|
export * from "./types/evo-med/people";
|
|
@@ -28,6 +29,7 @@ export * from "./apps/evo-crm/dic/zod-schemas";
|
|
|
28
29
|
export * from "./apps/evo-crm/lead/zod-schemas";
|
|
29
30
|
export * from "./apps/evo-chat/contact/zod-schemas";
|
|
30
31
|
export * from "./apps/evo-chat/message/zod-schemas";
|
|
32
|
+
export * from "./apps/evo-med/calendar/zod-schemas";
|
|
31
33
|
export * from "./apps/evo-med/dic/zod-schemas";
|
|
32
34
|
export * from "./apps/evo-med/insurance/zod-schemas";
|
|
33
35
|
export * from "./apps/evo-med/people/zod-schemas";
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./types/evo-people"), exports);
|
|
|
24
24
|
__exportStar(require("./types/evo-crm/dic"), exports);
|
|
25
25
|
__exportStar(require("./types/evo-crm/lead"), exports);
|
|
26
26
|
__exportStar(require("./types/evo-chat"), exports);
|
|
27
|
+
__exportStar(require("./types/evo-med/calendar"), exports);
|
|
27
28
|
__exportStar(require("./types/evo-med/dic"), exports);
|
|
28
29
|
__exportStar(require("./types/evo-med/insurance"), exports);
|
|
29
30
|
__exportStar(require("./types/evo-med/people"), exports);
|
|
@@ -43,6 +44,7 @@ __exportStar(require("./apps/evo-crm/dic/zod-schemas"), exports);
|
|
|
43
44
|
__exportStar(require("./apps/evo-crm/lead/zod-schemas"), exports);
|
|
44
45
|
__exportStar(require("./apps/evo-chat/contact/zod-schemas"), exports);
|
|
45
46
|
__exportStar(require("./apps/evo-chat/message/zod-schemas"), exports);
|
|
47
|
+
__exportStar(require("./apps/evo-med/calendar/zod-schemas"), exports);
|
|
46
48
|
__exportStar(require("./apps/evo-med/dic/zod-schemas"), exports);
|
|
47
49
|
__exportStar(require("./apps/evo-med/insurance/zod-schemas"), exports);
|
|
48
50
|
__exportStar(require("./apps/evo-med/people/zod-schemas"), exports);
|
package/dist/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from "./types/evo-people";
|
|
|
8
8
|
export * from "./types/evo-crm/dic";
|
|
9
9
|
export * from "./types/evo-crm/lead";
|
|
10
10
|
export * from "./types/evo-chat";
|
|
11
|
+
export * from "./types/evo-med/calendar";
|
|
11
12
|
export * from "./types/evo-med/dic";
|
|
12
13
|
export * from "./types/evo-med/insurance";
|
|
13
14
|
export * from "./types/evo-med/people";
|
|
@@ -28,6 +29,7 @@ export * from "./apps/evo-crm/dic/zod-schemas";
|
|
|
28
29
|
export * from "./apps/evo-crm/lead/zod-schemas";
|
|
29
30
|
export * from "./apps/evo-chat/contact/zod-schemas";
|
|
30
31
|
export * from "./apps/evo-chat/message/zod-schemas";
|
|
32
|
+
export * from "./apps/evo-med/calendar/zod-schemas";
|
|
31
33
|
export * from "./apps/evo-med/dic/zod-schemas";
|
|
32
34
|
export * from "./apps/evo-med/insurance/zod-schemas";
|
|
33
35
|
export * from "./apps/evo-med/people/zod-schemas";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "../../evo-people/fb_collections";
|
|
2
|
+
import type { IFireDoc } from "../../shared";
|
|
3
|
+
export interface ICalendar extends IFireDoc {
|
|
4
|
+
calendarId: string;
|
|
5
|
+
color: string;
|
|
6
|
+
display_name: string;
|
|
7
|
+
last_update: Date;
|
|
8
|
+
n8n_wf: string;
|
|
9
|
+
order: number;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../../evo-people/fb_collections"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "../../evo-people/fb_collections";
|
|
2
|
+
import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
|
|
3
|
+
|
|
4
|
+
// ----- MedCalendarTypes
|
|
5
|
+
|
|
6
|
+
export interface ICalendar extends IFireDoc {
|
|
7
|
+
calendarId: string;
|
|
8
|
+
color: string;
|
|
9
|
+
display_name: string;
|
|
10
|
+
last_update: Date;
|
|
11
|
+
n8n_wf: string;
|
|
12
|
+
order: number;
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
@@ -3,6 +3,7 @@ export declare const PROFESSIONALS_COLLECTION = "professionals";
|
|
|
3
3
|
export declare const PATIENTS_COLLECTION = "patients";
|
|
4
4
|
export declare const INSURANCES_COLLECTION = "insurances";
|
|
5
5
|
export declare const PROCEDURES_COLLECTION = "procedures";
|
|
6
|
+
export declare const CALENDARS_COLLECTION = "calendars";
|
|
6
7
|
export declare const DICS_COLLECTION = "dics";
|
|
7
8
|
export declare const SPECIALTIES = "specialties";
|
|
8
9
|
export declare const SPECIALTIES_TYPES_COLLECTION = "specialties-types";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CHRONIC_CONDITIONS_COLLECTION = exports.ALLERGIES_COLLECTION = exports.DISEASES = exports.APPOINTMENT_REQUEST_TYPES_COLLECTION = exports.APPOINTMENT_STATUSES_COLLECTION = exports.APPOINTMENT_SOURCES_COLLECTION = exports.APPOINTMENTS = exports.PATIENT_SOURCES_COLLECTION = exports.SOURCES = exports.MEDICAL_COUNCILS_COLLECTION = exports.COUNCILS = exports.SPECIALTIES_COLLECTION = exports.SPECIALTIES_TYPES_COLLECTION = exports.SPECIALTIES = exports.DICS_COLLECTION = exports.PROCEDURES_COLLECTION = exports.INSURANCES_COLLECTION = exports.PATIENTS_COLLECTION = exports.PROFESSIONALS_COLLECTION = exports.EVO_MED_APP = void 0;
|
|
3
|
+
exports.CHRONIC_CONDITIONS_COLLECTION = exports.ALLERGIES_COLLECTION = exports.DISEASES = exports.APPOINTMENT_REQUEST_TYPES_COLLECTION = exports.APPOINTMENT_STATUSES_COLLECTION = exports.APPOINTMENT_SOURCES_COLLECTION = exports.APPOINTMENTS = exports.PATIENT_SOURCES_COLLECTION = exports.SOURCES = exports.MEDICAL_COUNCILS_COLLECTION = exports.COUNCILS = exports.SPECIALTIES_COLLECTION = exports.SPECIALTIES_TYPES_COLLECTION = exports.SPECIALTIES = exports.DICS_COLLECTION = exports.CALENDARS_COLLECTION = exports.PROCEDURES_COLLECTION = exports.INSURANCES_COLLECTION = exports.PATIENTS_COLLECTION = exports.PROFESSIONALS_COLLECTION = exports.EVO_MED_APP = void 0;
|
|
4
4
|
//EVO Med Application Doc
|
|
5
5
|
exports.EVO_MED_APP = "evo-med";
|
|
6
6
|
//people
|
|
@@ -10,6 +10,8 @@ exports.PATIENTS_COLLECTION = "patients";
|
|
|
10
10
|
exports.INSURANCES_COLLECTION = "insurances";
|
|
11
11
|
//procedure
|
|
12
12
|
exports.PROCEDURES_COLLECTION = "procedures";
|
|
13
|
+
//calendars
|
|
14
|
+
exports.CALENDARS_COLLECTION = "calendars";
|
|
13
15
|
//dictionaries
|
|
14
16
|
exports.DICS_COLLECTION = "dics";
|
|
15
17
|
exports.SPECIALTIES = "specialties";
|
|
@@ -8,6 +8,9 @@ export const PATIENTS_COLLECTION = "patients";
|
|
|
8
8
|
export const INSURANCES_COLLECTION = "insurances";
|
|
9
9
|
//procedure
|
|
10
10
|
export const PROCEDURES_COLLECTION = "procedures";
|
|
11
|
+
//calendars
|
|
12
|
+
export const CALENDARS_COLLECTION = "calendars";
|
|
13
|
+
|
|
11
14
|
//dictionaries
|
|
12
15
|
export const DICS_COLLECTION = "dics";
|
|
13
16
|
|