evo360-types 1.2.13 → 1.2.14

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.
@@ -32,8 +32,8 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
32
32
  }>, {
33
33
  status: z.ZodDefault<z.ZodEnum<["active", "inactive", "draft"]>>;
34
34
  professionalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
35
- title: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
36
- type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
35
+ title: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
37
  job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  council_doc: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
39
39
  council_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -135,8 +135,8 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
135
135
  }>, {
136
136
  status: z.ZodDefault<z.ZodEnum<["active", "inactive", "draft"]>>;
137
137
  professionalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
138
- title: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
139
- type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
138
+ title: z.ZodDefault<z.ZodOptional<z.ZodString>>;
139
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
140
140
  job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
141
  council_doc: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
142
142
  council_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -238,8 +238,8 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
238
238
  }>, {
239
239
  status: z.ZodDefault<z.ZodEnum<["active", "inactive", "draft"]>>;
240
240
  professionalId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
241
- title: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
242
- type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
241
+ title: z.ZodDefault<z.ZodOptional<z.ZodString>>;
242
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
243
243
  job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
244
  council_doc: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
245
245
  council_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -20,8 +20,8 @@ exports.zProfessionalSchema = zod_schemas_3.zProfileSchema // Extend from Profil
20
20
  .extend({
21
21
  status: exports.zProfessionalStatusSchema.default("draft"),
22
22
  professionalId: zod_1.z.string().max(255).nullable().optional().default(""),
23
- title: zod_1.z.string().max(255).nullable().optional().default(""),
24
- type: zod_1.z.string().max(255).nullable().optional().default(""),
23
+ title: zod_1.z.string().max(255).optional().default(""),
24
+ type: zod_1.z.string().max(255).optional().default("doctor"),
25
25
  job_title: zod_1.z.string().nullable().optional(),
26
26
  council_doc: zod_1.z.string().max(255).nullable().optional().default(""),
27
27
  council_name: zod_1.z.string().max(255).nullable().optional().default(""),
@@ -25,8 +25,8 @@ export const zProfessionalSchema = zProfileSchema // Extend from ProfileSchema
25
25
  .extend({
26
26
  status: zProfessionalStatusSchema.default("draft"),
27
27
  professionalId: z.string().max(255).nullable().optional().default(""),
28
- title: z.string().max(255).nullable().optional().default(""),
29
- type: z.string().max(255).nullable().optional().default(""),
28
+ title: z.string().max(255).optional().default(""),
29
+ type: z.string().max(255).optional().default("doctor"),
30
30
  job_title: z.string().nullable().optional(),
31
31
  council_doc: z.string().max(255).nullable().optional().default(""),
32
32
  council_name: z.string().max(255).nullable().optional().default(""),
@@ -40,7 +40,7 @@ export interface IProfessional extends IProfile {
40
40
  status: ProfessionalStatus;
41
41
  professionalId?: string | null;
42
42
  title: string;
43
- type?: string | null;
43
+ type: string | null;
44
44
  job_title?: string | null;
45
45
  councils?: IProfessionalCouncil[];
46
46
  specialties?: IProfessionalSpecialty[];
@@ -76,7 +76,7 @@ export interface IProfessional extends IProfile {
76
76
  status: ProfessionalStatus;
77
77
  professionalId?: string | null;
78
78
  title: string;
79
- type?: string | null;
79
+ type: string | null;
80
80
  job_title?: string | null;
81
81
  councils?: IProfessionalCouncil[];
82
82
  specialties?: IProfessionalSpecialty[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",