evo360-types 1.3.70 → 1.3.73

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.
@@ -29,41 +29,67 @@ export declare const ProcedureTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
29
29
  color?: string | undefined;
30
30
  category?: string | null | undefined;
31
31
  }>, "many">>>;
32
- }>, "strip", z.ZodTypeAny, {
33
- code: string;
34
- name: string;
35
- id: string;
36
- tenant: string;
37
- model_ver: number;
38
- ref?: any;
39
- created_at?: Date | null | undefined;
40
- updated_at?: Date | null | undefined;
41
- deleted_at?: Date | null | undefined;
42
- tags?: {
32
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
33
+ id: z.ZodString;
34
+ ref: z.ZodAny;
35
+ tenant: z.ZodString;
36
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
37
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
38
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
39
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
40
+ }, {
41
+ code: z.ZodString;
42
+ name: z.ZodString;
43
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ name: z.ZodString;
45
+ color: z.ZodOptional<z.ZodString>;
46
+ hidden: z.ZodBoolean;
47
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ base: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ name: string;
51
+ hidden: boolean;
52
+ base?: boolean | undefined;
53
+ color?: string | undefined;
54
+ category?: string | null | undefined;
55
+ }, {
43
56
  name: string;
44
57
  hidden: boolean;
45
58
  base?: boolean | undefined;
46
59
  color?: string | undefined;
47
60
  category?: string | null | undefined;
48
- }[] | null | undefined;
61
+ }>, "many">>>;
62
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
63
+ id: z.ZodString;
64
+ ref: z.ZodAny;
65
+ tenant: z.ZodString;
66
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
67
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
68
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
69
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
49
70
  }, {
50
- code: string;
51
- name: string;
52
- id: string;
53
- tenant: string;
54
- ref?: any;
55
- model_ver?: number | undefined;
56
- created_at?: Date | null | undefined;
57
- updated_at?: Date | null | undefined;
58
- deleted_at?: Date | null | undefined;
59
- tags?: {
71
+ code: z.ZodString;
72
+ name: z.ZodString;
73
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
74
+ name: z.ZodString;
75
+ color: z.ZodOptional<z.ZodString>;
76
+ hidden: z.ZodBoolean;
77
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ base: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ name: string;
81
+ hidden: boolean;
82
+ base?: boolean | undefined;
83
+ color?: string | undefined;
84
+ category?: string | null | undefined;
85
+ }, {
60
86
  name: string;
61
87
  hidden: boolean;
62
88
  base?: boolean | undefined;
63
89
  color?: string | undefined;
64
90
  category?: string | null | undefined;
65
- }[] | null | undefined;
66
- }>;
91
+ }>, "many">>>;
92
+ }>, z.ZodTypeAny, "passthrough">>;
67
93
  export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
68
94
  id: z.ZodString;
69
95
  ref: z.ZodAny;
@@ -77,15 +103,15 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
77
103
  name: z.ZodString;
78
104
  technical_name: z.ZodString;
79
105
  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>>>;
106
+ type_code: z.ZodOptional<z.ZodString>;
107
+ type_name: z.ZodOptional<z.ZodString>;
108
+ typeRef: z.ZodOptional<z.ZodAny>;
109
+ duration: z.ZodOptional<z.ZodNumber>;
110
+ color: z.ZodOptional<z.ZodString>;
111
+ acronym: z.ZodOptional<z.ZodString>;
112
+ description: z.ZodOptional<z.ZodString>;
113
+ tuss: z.ZodOptional<z.ZodString>;
114
+ price: z.ZodOptional<z.ZodNumber>;
89
115
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
90
116
  name: z.ZodString;
91
117
  color: z.ZodOptional<z.ZodString>;
@@ -105,60 +131,86 @@ export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
105
131
  color?: string | undefined;
106
132
  category?: string | null | undefined;
107
133
  }>, "many">>>;
108
- }>, "strip", z.ZodTypeAny, {
109
- code: string;
110
- name: string;
111
- id: string;
112
- tenant: string;
113
- model_ver: number;
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
- technical_name: string;
121
- duration: number | null;
122
- tuss: string | null;
123
- price: number | null;
124
- ref?: any;
125
- created_at?: Date | null | undefined;
126
- updated_at?: Date | null | undefined;
127
- deleted_at?: Date | null | undefined;
128
- tags?: {
134
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
135
+ id: z.ZodString;
136
+ ref: z.ZodAny;
137
+ tenant: z.ZodString;
138
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
139
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
140
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
141
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
142
+ }, {
143
+ code: z.ZodString;
144
+ name: z.ZodString;
145
+ technical_name: z.ZodString;
146
+ status: z.ZodEnum<["active", "inactive", "draft"]>;
147
+ type_code: z.ZodOptional<z.ZodString>;
148
+ type_name: z.ZodOptional<z.ZodString>;
149
+ typeRef: z.ZodOptional<z.ZodAny>;
150
+ duration: z.ZodOptional<z.ZodNumber>;
151
+ color: z.ZodOptional<z.ZodString>;
152
+ acronym: z.ZodOptional<z.ZodString>;
153
+ description: z.ZodOptional<z.ZodString>;
154
+ tuss: z.ZodOptional<z.ZodString>;
155
+ price: z.ZodOptional<z.ZodNumber>;
156
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
157
+ name: z.ZodString;
158
+ color: z.ZodOptional<z.ZodString>;
159
+ hidden: z.ZodBoolean;
160
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ base: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ name: string;
164
+ hidden: boolean;
165
+ base?: boolean | undefined;
166
+ color?: string | undefined;
167
+ category?: string | null | undefined;
168
+ }, {
129
169
  name: string;
130
170
  hidden: boolean;
131
171
  base?: boolean | undefined;
132
172
  color?: string | undefined;
133
173
  category?: string | null | undefined;
134
- }[] | null | undefined;
135
- typeRef?: any;
174
+ }>, "many">>>;
175
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
176
+ id: z.ZodString;
177
+ ref: z.ZodAny;
178
+ tenant: z.ZodString;
179
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
180
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
181
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
182
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
136
183
  }, {
137
- code: string;
138
- name: string;
139
- id: string;
140
- tenant: string;
141
- status: "draft" | "active" | "inactive";
142
- technical_name: string;
143
- ref?: any;
144
- model_ver?: number | undefined;
145
- created_at?: Date | null | undefined;
146
- updated_at?: Date | null | undefined;
147
- deleted_at?: Date | null | undefined;
148
- tags?: {
184
+ code: z.ZodString;
185
+ name: z.ZodString;
186
+ technical_name: z.ZodString;
187
+ status: z.ZodEnum<["active", "inactive", "draft"]>;
188
+ type_code: z.ZodOptional<z.ZodString>;
189
+ type_name: z.ZodOptional<z.ZodString>;
190
+ typeRef: z.ZodOptional<z.ZodAny>;
191
+ duration: z.ZodOptional<z.ZodNumber>;
192
+ color: z.ZodOptional<z.ZodString>;
193
+ acronym: z.ZodOptional<z.ZodString>;
194
+ description: z.ZodOptional<z.ZodString>;
195
+ tuss: z.ZodOptional<z.ZodString>;
196
+ price: z.ZodOptional<z.ZodNumber>;
197
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
198
+ name: z.ZodString;
199
+ color: z.ZodOptional<z.ZodString>;
200
+ hidden: z.ZodBoolean;
201
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ base: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ name: string;
205
+ hidden: boolean;
206
+ base?: boolean | undefined;
207
+ color?: string | undefined;
208
+ category?: string | null | undefined;
209
+ }, {
149
210
  name: string;
150
211
  hidden: boolean;
151
212
  base?: boolean | undefined;
152
213
  color?: string | undefined;
153
214
  category?: string | null | undefined;
154
- }[] | null | undefined;
155
- type_code?: string | null | undefined;
156
- type_name?: string | null | undefined;
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;
164
- }>;
215
+ }>, "many">>>;
216
+ }>, z.ZodTypeAny, "passthrough">>;
@@ -4,24 +4,28 @@ exports.ProcedureSchema = exports.ProcedureTypeSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../../shared/zod-schemas");
6
6
  // Define Zod schemas for IProcedureType and IProcedure
7
- exports.ProcedureTypeSchema = zod_schemas_1.zFireDocSchema.extend({
7
+ exports.ProcedureTypeSchema = zod_schemas_1.zFireDocSchema
8
+ .extend({
8
9
  code: zod_1.z.string().min(1).max(20),
9
10
  name: zod_1.z.string().min(1).max(255),
10
11
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
11
- });
12
- exports.ProcedureSchema = zod_schemas_1.zFireDocSchema.extend({
12
+ })
13
+ .passthrough();
14
+ exports.ProcedureSchema = zod_schemas_1.zFireDocSchema
15
+ .extend({
13
16
  code: zod_1.z.string().min(1).max(20),
14
17
  name: zod_1.z.string().min(1).max(255),
15
18
  technical_name: zod_1.z.string(),
16
19
  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),
20
+ type_code: zod_1.z.string().max(20).optional(),
21
+ type_name: zod_1.z.string().max(255).optional(),
22
+ typeRef: zod_1.z.any().optional(),
23
+ duration: zod_1.z.number().optional(),
24
+ color: zod_1.z.string().max(255).optional(),
25
+ acronym: zod_1.z.string().max(255).optional(),
26
+ description: zod_1.z.string().max(1024).optional(),
27
+ tuss: zod_1.z.string().max(255).optional(),
28
+ price: zod_1.z.number().optional(),
26
29
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
27
- });
30
+ })
31
+ .passthrough();
@@ -3,25 +3,29 @@ import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
3
3
 
4
4
  // Define Zod schemas for IProcedureType and IProcedure
5
5
 
6
- export const ProcedureTypeSchema = zFireDocSchema.extend({
7
- code: z.string().min(1).max(20),
8
- name: z.string().min(1).max(255),
9
- tags: z.array(zTagSchema).nullable().optional(),
10
- });
6
+ export const ProcedureTypeSchema = zFireDocSchema
7
+ .extend({
8
+ code: z.string().min(1).max(20),
9
+ name: z.string().min(1).max(255),
10
+ tags: z.array(zTagSchema).nullable().optional(),
11
+ })
12
+ .passthrough();
11
13
 
12
- export const ProcedureSchema = zFireDocSchema.extend({
13
- code: z.string().min(1).max(20),
14
- name: z.string().min(1).max(255),
15
- technical_name: z.string(),
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),
26
- tags: z.array(zTagSchema).nullable().optional(),
27
- });
14
+ export const ProcedureSchema = zFireDocSchema
15
+ .extend({
16
+ code: z.string().min(1).max(20),
17
+ name: z.string().min(1).max(255),
18
+ technical_name: z.string(),
19
+ status: z.enum(["active", "inactive", "draft"]),
20
+ type_code: z.string().max(20).optional(),
21
+ type_name: z.string().max(255).optional(),
22
+ typeRef: z.any().optional(),
23
+ duration: z.number().optional(),
24
+ color: z.string().max(255).optional(),
25
+ acronym: z.string().max(255).optional(),
26
+ description: z.string().max(1024).optional(),
27
+ tuss: z.string().max(255).optional(),
28
+ price: z.number().optional(),
29
+ tags: z.array(zTagSchema).nullable().optional(),
30
+ })
31
+ .passthrough();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.70",
3
+ "version": "1.3.73",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",