evo360-types 1.3.70 → 1.3.72

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.
@@ -77,15 +77,15 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
77
77
  name: z.ZodString;
78
78
  technical_name: z.ZodString;
79
79
  status: z.ZodEnum<["active", "inactive", "draft"]>;
80
- type_code: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
81
- type_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
82
- typeRef: z.ZodAny;
83
- duration: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
84
- color: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
85
- acronym: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
86
- description: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
87
- tuss: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
88
- price: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
80
+ type_code: z.ZodOptional<z.ZodString>;
81
+ type_name: z.ZodOptional<z.ZodString>;
82
+ typeRef: z.ZodOptional<z.ZodAny>;
83
+ duration: z.ZodOptional<z.ZodNumber>;
84
+ color: z.ZodOptional<z.ZodString>;
85
+ acronym: z.ZodOptional<z.ZodString>;
86
+ description: z.ZodOptional<z.ZodString>;
87
+ tuss: z.ZodOptional<z.ZodString>;
88
+ price: z.ZodOptional<z.ZodNumber>;
89
89
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  color: z.ZodOptional<z.ZodString>;
@@ -112,15 +112,7 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
112
112
  tenant: string;
113
113
  model_ver: number;
114
114
  status: "draft" | "active" | "inactive";
115
- type_code: string | null;
116
- type_name: string | null;
117
- acronym: string | null;
118
- description: string | null;
119
- color: string | null;
120
115
  technical_name: string;
121
- duration: number | null;
122
- tuss: string | null;
123
- price: number | null;
124
116
  ref?: any;
125
117
  created_at?: Date | null | undefined;
126
118
  updated_at?: Date | null | undefined;
@@ -132,7 +124,15 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
132
124
  color?: string | undefined;
133
125
  category?: string | null | undefined;
134
126
  }[] | null | undefined;
127
+ type_code?: string | undefined;
128
+ type_name?: string | undefined;
135
129
  typeRef?: any;
130
+ acronym?: string | undefined;
131
+ description?: string | undefined;
132
+ color?: string | undefined;
133
+ duration?: number | undefined;
134
+ tuss?: string | undefined;
135
+ price?: number | undefined;
136
136
  }, {
137
137
  code: string;
138
138
  name: string;
@@ -152,13 +152,13 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
152
152
  color?: string | undefined;
153
153
  category?: string | null | undefined;
154
154
  }[] | null | undefined;
155
- type_code?: string | null | undefined;
156
- type_name?: string | null | undefined;
155
+ type_code?: string | undefined;
156
+ type_name?: string | undefined;
157
157
  typeRef?: any;
158
- acronym?: string | null | undefined;
159
- description?: string | null | undefined;
160
- color?: string | null | undefined;
161
- duration?: number | null | undefined;
162
- tuss?: string | null | undefined;
163
- price?: number | null | undefined;
158
+ acronym?: string | undefined;
159
+ description?: string | undefined;
160
+ color?: string | undefined;
161
+ duration?: number | undefined;
162
+ tuss?: string | undefined;
163
+ price?: number | undefined;
164
164
  }>;
@@ -14,14 +14,14 @@ exports.ProcedureSchema = zod_schemas_1.zFireDocSchema.extend({
14
14
  name: zod_1.z.string().min(1).max(255),
15
15
  technical_name: zod_1.z.string(),
16
16
  status: zod_1.z.enum(["active", "inactive", "draft"]),
17
- type_code: zod_1.z.string().max(20).nullable().optional().default(""),
18
- type_name: zod_1.z.string().max(255).nullable().optional().default(""),
19
- typeRef: zod_1.z.any(),
20
- duration: zod_1.z.number().nullable().optional().default(0),
21
- color: zod_1.z.string().max(255).nullable().optional().default(""),
22
- acronym: zod_1.z.string().max(255).nullable().optional().default(""),
23
- description: zod_1.z.string().max(1024).nullable().optional().default(""),
24
- tuss: zod_1.z.string().max(255).nullable().optional().default(""),
25
- price: zod_1.z.number().nullable().optional().default(0),
17
+ type_code: zod_1.z.string().max(20).optional(),
18
+ type_name: zod_1.z.string().max(255).optional(),
19
+ typeRef: zod_1.z.any().optional(),
20
+ duration: zod_1.z.number().optional(),
21
+ color: zod_1.z.string().max(255).optional(),
22
+ acronym: zod_1.z.string().max(255).optional(),
23
+ description: zod_1.z.string().max(1024).optional(),
24
+ tuss: zod_1.z.string().max(255).optional(),
25
+ price: zod_1.z.number().optional(),
26
26
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
27
27
  });
@@ -14,14 +14,14 @@ export const ProcedureSchema = zFireDocSchema.extend({
14
14
  name: z.string().min(1).max(255),
15
15
  technical_name: z.string(),
16
16
  status: z.enum(["active", "inactive", "draft"]),
17
- type_code: z.string().max(20).nullable().optional().default(""),
18
- type_name: z.string().max(255).nullable().optional().default(""),
19
- typeRef: z.any(),
20
- duration: z.number().nullable().optional().default(0),
21
- color: z.string().max(255).nullable().optional().default(""),
22
- acronym: z.string().max(255).nullable().optional().default(""),
23
- description: z.string().max(1024).nullable().optional().default(""),
24
- tuss: z.string().max(255).nullable().optional().default(""),
25
- price: z.number().nullable().optional().default(0),
17
+ type_code: z.string().max(20).optional(),
18
+ type_name: z.string().max(255).optional(),
19
+ typeRef: z.any().optional(),
20
+ duration: z.number().optional(),
21
+ color: z.string().max(255).optional(),
22
+ acronym: z.string().max(255).optional(),
23
+ description: z.string().max(1024).optional(),
24
+ tuss: z.string().max(255).optional(),
25
+ price: z.number().optional(),
26
26
  tags: z.array(zTagSchema).nullable().optional(),
27
27
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.70",
3
+ "version": "1.3.72",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",