evo360-types 1.2.28 → 1.2.30
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.
|
@@ -113,8 +113,10 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
113
113
|
ref?: any;
|
|
114
114
|
}>, "many">>>;
|
|
115
115
|
date_joining: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
116
|
+
company_code: z.ZodString;
|
|
116
117
|
company_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
117
118
|
companyRef: z.ZodAny;
|
|
119
|
+
department_code: z.ZodString;
|
|
118
120
|
department_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
121
|
departmentRef: z.ZodAny;
|
|
120
122
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -243,8 +245,10 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
243
245
|
ref?: any;
|
|
244
246
|
}>, "many">>>;
|
|
245
247
|
date_joining: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
248
|
+
company_code: z.ZodString;
|
|
246
249
|
company_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
247
250
|
companyRef: z.ZodAny;
|
|
251
|
+
department_code: z.ZodString;
|
|
248
252
|
department_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
253
|
departmentRef: z.ZodAny;
|
|
250
254
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -373,8 +377,10 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
373
377
|
ref?: any;
|
|
374
378
|
}>, "many">>>;
|
|
375
379
|
date_joining: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
380
|
+
company_code: z.ZodString;
|
|
376
381
|
company_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
377
382
|
companyRef: z.ZodAny;
|
|
383
|
+
department_code: z.ZodString;
|
|
378
384
|
department_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
379
385
|
departmentRef: z.ZodAny;
|
|
380
386
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -39,8 +39,10 @@ exports.zProfessionalSchema = zod_schemas_3.zProfileSchema // Extend from Profil
|
|
|
39
39
|
specialties: zod_1.z.array(exports.zProfessionalSpecialtySchema).nullable().optional(),
|
|
40
40
|
offices: zod_1.z.array(exports.zProfessionalOfficeSchema).nullable().optional(),
|
|
41
41
|
date_joining: zod_1.z.date().nullable().optional(),
|
|
42
|
+
company_code: zod_1.z.string().min(1).max(10),
|
|
42
43
|
company_name: zod_1.z.string().max(255).nullable().optional().default(""),
|
|
43
44
|
companyRef: zod_1.z.any(),
|
|
45
|
+
department_code: zod_1.z.string().min(1).max(10),
|
|
44
46
|
department_name: zod_1.z.string().max(255).nullable().optional(),
|
|
45
47
|
departmentRef: zod_1.z.any(),
|
|
46
48
|
address: zod_schemas_2.zAddressSchema.nullable().optional(),
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import {
|
|
3
3
|
zAllergyKindSchema,
|
|
4
|
-
zAllergySchema,
|
|
5
4
|
zMedicalCouncilUFSchema,
|
|
6
5
|
zMedicationSchema,
|
|
7
6
|
zSeveritySchema,
|
|
@@ -52,8 +51,10 @@ export const zProfessionalSchema = zProfileSchema // Extend from ProfileSchema
|
|
|
52
51
|
specialties: z.array(zProfessionalSpecialtySchema).nullable().optional(),
|
|
53
52
|
offices: z.array(zProfessionalOfficeSchema).nullable().optional(),
|
|
54
53
|
date_joining: z.date().nullable().optional(),
|
|
54
|
+
company_code: z.string().min(1).max(10),
|
|
55
55
|
company_name: z.string().max(255).nullable().optional().default(""),
|
|
56
56
|
companyRef: z.any(),
|
|
57
|
+
department_code: z.string().min(1).max(10),
|
|
57
58
|
department_name: z.string().max(255).nullable().optional(),
|
|
58
59
|
departmentRef: z.any(),
|
|
59
60
|
address: zAddressSchema.nullable().optional(),
|
|
@@ -51,8 +51,10 @@ export interface IProfessional extends IProfile {
|
|
|
51
51
|
specialties?: IProfessionalSpecialty[] | null;
|
|
52
52
|
offices?: IProfessionalOffice[] | null;
|
|
53
53
|
date_joining?: Date | null;
|
|
54
|
+
company_code?: string | null;
|
|
54
55
|
company_name?: string | null;
|
|
55
56
|
companyRef?: FirestoreDocumentReference;
|
|
57
|
+
department_code?: string | null;
|
|
56
58
|
department_name?: string | null;
|
|
57
59
|
departmentRef?: FirestoreDocumentReference;
|
|
58
60
|
address?: IAddress | null;
|
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
IContact,
|
|
7
7
|
ITag,
|
|
8
8
|
} from "../../shared";
|
|
9
|
-
import {
|
|
9
|
+
import { IMedication } from "../dic";
|
|
10
10
|
|
|
11
11
|
// ----- MedPeopleTypes
|
|
12
12
|
|
|
@@ -88,8 +88,10 @@ export interface IProfessional extends IProfile {
|
|
|
88
88
|
specialties?: IProfessionalSpecialty[] | null;
|
|
89
89
|
offices?: IProfessionalOffice[] | null;
|
|
90
90
|
date_joining?: Date | null;
|
|
91
|
+
company_code?: string | null;
|
|
91
92
|
company_name?: string | null;
|
|
92
93
|
companyRef?: FirestoreDocumentReference;
|
|
94
|
+
department_code?: string | null;
|
|
93
95
|
department_name?: string | null;
|
|
94
96
|
departmentRef?: FirestoreDocumentReference;
|
|
95
97
|
address?: IAddress | null;
|