evo360-types 1.3.140 → 1.3.141

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.
@@ -11,13 +11,13 @@ exports.zLeadQualificationSchema = zod_1.z.object({
11
11
  name: zod_1.z.string().min(1).max(255),
12
12
  funnelLevel: zod_schemas_3.zQualificationFunnelLevelSchema,
13
13
  ref: zod_1.z.any(),
14
- updated_at: zod_1.z.date().nullable().optional(),
14
+ updated_at: zod_1.z.coerce.date().nullable().optional(),
15
15
  });
16
16
  exports.zLeadDistChannelSchema = zod_1.z.object({
17
17
  code: zod_1.z.string().min(1).max(20),
18
18
  name: zod_1.z.string().min(1).max(255),
19
19
  ref: zod_1.z.any(),
20
- updated_at: zod_1.z.date().nullable().optional(),
20
+ updated_at: zod_1.z.coerce.date().nullable().optional(),
21
21
  });
22
22
  exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
23
23
  .extend({
@@ -14,14 +14,14 @@ export const zLeadQualificationSchema = z.object({
14
14
  name: z.string().min(1).max(255),
15
15
  funnelLevel: zQualificationFunnelLevelSchema,
16
16
  ref: z.any(),
17
- updated_at: z.date().nullable().optional(),
17
+ updated_at: z.coerce.date().nullable().optional(),
18
18
  });
19
19
 
20
20
  export const zLeadDistChannelSchema = z.object({
21
21
  code: z.string().min(1).max(20),
22
22
  name: z.string().min(1).max(255),
23
23
  ref: z.any(),
24
- updated_at: z.date().nullable().optional(),
24
+ updated_at: z.coerce.date().nullable().optional(),
25
25
  });
26
26
 
27
27
  export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
@@ -39,7 +39,7 @@ exports.zProfessionalSchema = zod_schemas_3.zProfileSchema // Extend from Profil
39
39
  councils: zod_1.z.array(exports.zProfessionalCouncilSchema).nullable().optional(),
40
40
  specialties: zod_1.z.array(exports.zProfessionalSpecialtySchema).nullable().optional(),
41
41
  offices: zod_1.z.array(exports.zProfessionalOfficeSchema).nullable().optional(),
42
- date_joining: zod_1.z.date().nullable().optional(),
42
+ date_joining: zod_1.z.coerce.date().nullable().optional(),
43
43
  company_code: zod_1.z.string().min(1).max(20),
44
44
  company_name: zod_1.z.string().max(255).nullable().optional().default(""),
45
45
  companyRef: zod_1.z.any(),
@@ -72,7 +72,7 @@ exports.zPatientChronicConditionSchema = zod_1.z.object({
72
72
  code: zod_1.z.string().min(1).max(20),
73
73
  name: zod_1.z.string().min(1).max(255),
74
74
  ref: zod_1.z.any(),
75
- diagnosis_date: zod_1.z.date().nullable().optional(),
75
+ diagnosis_date: zod_1.z.coerce.date().nullable().optional(),
76
76
  severity: zod_schemas_1.zSeveritySchema.nullable().optional().default("Unknown"),
77
77
  controlled: zod_1.z.boolean().optional().default(false),
78
78
  medications: zod_1.z.array(zod_schemas_1.zMedicationSchema).nullable().optional(),
@@ -51,7 +51,7 @@ export const zProfessionalSchema = zProfileSchema // Extend from ProfileSchema
51
51
  councils: z.array(zProfessionalCouncilSchema).nullable().optional(),
52
52
  specialties: z.array(zProfessionalSpecialtySchema).nullable().optional(),
53
53
  offices: z.array(zProfessionalOfficeSchema).nullable().optional(),
54
- date_joining: z.date().nullable().optional(),
54
+ date_joining: z.coerce.date().nullable().optional(),
55
55
  company_code: z.string().min(1).max(20),
56
56
  company_name: z.string().max(255).nullable().optional().default(""),
57
57
  companyRef: z.any(),
@@ -88,7 +88,7 @@ export const zPatientChronicConditionSchema = z.object({
88
88
  code: z.string().min(1).max(20),
89
89
  name: z.string().min(1).max(255),
90
90
  ref: z.any(),
91
- diagnosis_date: z.date().nullable().optional(),
91
+ diagnosis_date: z.coerce.date().nullable().optional(),
92
92
  severity: zSeveritySchema.nullable().optional().default("Unknown"),
93
93
  controlled: z.boolean().optional().default(false),
94
94
  medications: z.array(zMedicationSchema).nullable().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.140",
3
+ "version": "1.3.141",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",