evo360-types 1.3.81 → 1.3.84

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.
@@ -44,9 +44,9 @@ export declare const zSpecialtySchema: z.ZodObject<z.objectUtil.extendShape<{
44
44
  }, {
45
45
  code: z.ZodString;
46
46
  name: z.ZodString;
47
- order: z.ZodDefault<z.ZodNumber>;
47
+ order: z.ZodNumber;
48
48
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- tiss: z.ZodDefault<z.ZodOptional<z.ZodString>>;
49
+ tiss: z.ZodOptional<z.ZodString>;
50
50
  type_code: z.ZodString;
51
51
  type_name: z.ZodString;
52
52
  typeRef: z.ZodAny;
@@ -80,9 +80,9 @@ export declare const zSpecialtySchema: z.ZodObject<z.objectUtil.extendShape<{
80
80
  }, {
81
81
  code: z.ZodString;
82
82
  name: z.ZodString;
83
- order: z.ZodDefault<z.ZodNumber>;
83
+ order: z.ZodNumber;
84
84
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
- tiss: z.ZodDefault<z.ZodOptional<z.ZodString>>;
85
+ tiss: z.ZodOptional<z.ZodString>;
86
86
  type_code: z.ZodString;
87
87
  type_name: z.ZodString;
88
88
  typeRef: z.ZodAny;
@@ -116,9 +116,9 @@ export declare const zSpecialtySchema: z.ZodObject<z.objectUtil.extendShape<{
116
116
  }, {
117
117
  code: z.ZodString;
118
118
  name: z.ZodString;
119
- order: z.ZodDefault<z.ZodNumber>;
119
+ order: z.ZodNumber;
120
120
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
- tiss: z.ZodDefault<z.ZodOptional<z.ZodString>>;
121
+ tiss: z.ZodOptional<z.ZodString>;
122
122
  type_code: z.ZodString;
123
123
  type_name: z.ZodString;
124
124
  typeRef: z.ZodAny;
@@ -13,9 +13,9 @@ exports.zSpecialtySchema = zod_schemas_1.zFireDocSchema
13
13
  .extend({
14
14
  code: zod_1.z.string().min(1).max(20),
15
15
  name: zod_1.z.string().min(1).max(255),
16
- order: zod_1.z.number().min(0).max(100).default(0),
16
+ order: zod_1.z.number().min(0).max(100),
17
17
  external_id: zod_1.z.string().nullable().optional(),
18
- tiss: zod_1.z.string().max(255).optional().default(""),
18
+ tiss: zod_1.z.string().max(255).optional(),
19
19
  type_code: zod_1.z.string().min(1).max(20),
20
20
  type_name: zod_1.z.string().min(1).max(255),
21
21
  typeRef: zod_1.z.any(),
@@ -12,9 +12,9 @@ export const zSpecialtySchema = zFireDocSchema
12
12
  .extend({
13
13
  code: z.string().min(1).max(20),
14
14
  name: z.string().min(1).max(255),
15
- order: z.number().min(0).max(100).default(0),
15
+ order: z.number().min(0).max(100),
16
16
  external_id: z.string().nullable().optional(),
17
- tiss: z.string().max(255).optional().default(""),
17
+ tiss: z.string().max(255).optional(),
18
18
  type_code: z.string().min(1).max(20),
19
19
  type_name: z.string().min(1).max(255),
20
20
  typeRef: z.any(),
@@ -1,65 +1,65 @@
1
1
  import { z } from "zod";
2
2
  export declare const zTissContractSchema: z.ZodObject<{
3
3
  type: z.ZodEnum<["PJ", "PF"]>;
4
- operatorcode: z.ZodString;
4
+ operator_code: z.ZodString;
5
5
  taxId: z.ZodString;
6
6
  name: z.ZodString;
7
7
  cnes: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  name: string;
10
10
  type: "PJ" | "PF";
11
- operatorcode: string;
11
+ operator_code: string;
12
12
  taxId: string;
13
13
  cnes: string;
14
14
  }, {
15
15
  name: string;
16
16
  type: "PJ" | "PF";
17
- operatorcode: string;
17
+ operator_code: string;
18
18
  taxId: string;
19
19
  cnes: string;
20
20
  }>;
21
21
  export declare const zTissConfigSchema: z.ZodObject<{
22
22
  active: z.ZodBoolean;
23
23
  version: z.ZodString;
24
- currentBatch: z.ZodNumber;
24
+ current_batch: z.ZodNumber;
25
25
  contract: z.ZodObject<{
26
26
  type: z.ZodEnum<["PJ", "PF"]>;
27
- operatorcode: z.ZodString;
27
+ operator_code: z.ZodString;
28
28
  taxId: z.ZodString;
29
29
  name: z.ZodString;
30
30
  cnes: z.ZodString;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  name: string;
33
33
  type: "PJ" | "PF";
34
- operatorcode: string;
34
+ operator_code: string;
35
35
  taxId: string;
36
36
  cnes: string;
37
37
  }, {
38
38
  name: string;
39
39
  type: "PJ" | "PF";
40
- operatorcode: string;
40
+ operator_code: string;
41
41
  taxId: string;
42
42
  cnes: string;
43
43
  }>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  version: string;
46
46
  active: boolean;
47
- currentBatch: number;
47
+ current_batch: number;
48
48
  contract: {
49
49
  name: string;
50
50
  type: "PJ" | "PF";
51
- operatorcode: string;
51
+ operator_code: string;
52
52
  taxId: string;
53
53
  cnes: string;
54
54
  };
55
55
  }, {
56
56
  version: string;
57
57
  active: boolean;
58
- currentBatch: number;
58
+ current_batch: number;
59
59
  contract: {
60
60
  name: string;
61
61
  type: "PJ" | "PF";
62
- operatorcode: string;
62
+ operator_code: string;
63
63
  taxId: string;
64
64
  cnes: string;
65
65
  };
@@ -77,50 +77,50 @@ export declare const zInsuranceCompanySchema: z.ZodObject<z.objectUtil.extendSha
77
77
  name: z.ZodString;
78
78
  corporate_name: z.ZodOptional<z.ZodString>;
79
79
  tax_id: z.ZodOptional<z.ZodString>;
80
- active: z.ZodBoolean;
80
+ active: z.ZodDefault<z.ZodBoolean>;
81
81
  ans: z.ZodOptional<z.ZodString>;
82
82
  tiss: z.ZodOptional<z.ZodObject<{
83
83
  active: z.ZodBoolean;
84
84
  version: z.ZodString;
85
- currentBatch: z.ZodNumber;
85
+ current_batch: z.ZodNumber;
86
86
  contract: z.ZodObject<{
87
87
  type: z.ZodEnum<["PJ", "PF"]>;
88
- operatorcode: z.ZodString;
88
+ operator_code: z.ZodString;
89
89
  taxId: z.ZodString;
90
90
  name: z.ZodString;
91
91
  cnes: z.ZodString;
92
92
  }, "strip", z.ZodTypeAny, {
93
93
  name: string;
94
94
  type: "PJ" | "PF";
95
- operatorcode: string;
95
+ operator_code: string;
96
96
  taxId: string;
97
97
  cnes: string;
98
98
  }, {
99
99
  name: string;
100
100
  type: "PJ" | "PF";
101
- operatorcode: string;
101
+ operator_code: string;
102
102
  taxId: string;
103
103
  cnes: string;
104
104
  }>;
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  version: string;
107
107
  active: boolean;
108
- currentBatch: number;
108
+ current_batch: number;
109
109
  contract: {
110
110
  name: string;
111
111
  type: "PJ" | "PF";
112
- operatorcode: string;
112
+ operator_code: string;
113
113
  taxId: string;
114
114
  cnes: string;
115
115
  };
116
116
  }, {
117
117
  version: string;
118
118
  active: boolean;
119
- currentBatch: number;
119
+ current_batch: number;
120
120
  contract: {
121
121
  name: string;
122
122
  type: "PJ" | "PF";
123
- operatorcode: string;
123
+ operator_code: string;
124
124
  taxId: string;
125
125
  cnes: string;
126
126
  };
@@ -201,50 +201,50 @@ export declare const zInsuranceCompanySchema: z.ZodObject<z.objectUtil.extendSha
201
201
  name: z.ZodString;
202
202
  corporate_name: z.ZodOptional<z.ZodString>;
203
203
  tax_id: z.ZodOptional<z.ZodString>;
204
- active: z.ZodBoolean;
204
+ active: z.ZodDefault<z.ZodBoolean>;
205
205
  ans: z.ZodOptional<z.ZodString>;
206
206
  tiss: z.ZodOptional<z.ZodObject<{
207
207
  active: z.ZodBoolean;
208
208
  version: z.ZodString;
209
- currentBatch: z.ZodNumber;
209
+ current_batch: z.ZodNumber;
210
210
  contract: z.ZodObject<{
211
211
  type: z.ZodEnum<["PJ", "PF"]>;
212
- operatorcode: z.ZodString;
212
+ operator_code: z.ZodString;
213
213
  taxId: z.ZodString;
214
214
  name: z.ZodString;
215
215
  cnes: z.ZodString;
216
216
  }, "strip", z.ZodTypeAny, {
217
217
  name: string;
218
218
  type: "PJ" | "PF";
219
- operatorcode: string;
219
+ operator_code: string;
220
220
  taxId: string;
221
221
  cnes: string;
222
222
  }, {
223
223
  name: string;
224
224
  type: "PJ" | "PF";
225
- operatorcode: string;
225
+ operator_code: string;
226
226
  taxId: string;
227
227
  cnes: string;
228
228
  }>;
229
229
  }, "strip", z.ZodTypeAny, {
230
230
  version: string;
231
231
  active: boolean;
232
- currentBatch: number;
232
+ current_batch: number;
233
233
  contract: {
234
234
  name: string;
235
235
  type: "PJ" | "PF";
236
- operatorcode: string;
236
+ operator_code: string;
237
237
  taxId: string;
238
238
  cnes: string;
239
239
  };
240
240
  }, {
241
241
  version: string;
242
242
  active: boolean;
243
- currentBatch: number;
243
+ current_batch: number;
244
244
  contract: {
245
245
  name: string;
246
246
  type: "PJ" | "PF";
247
- operatorcode: string;
247
+ operator_code: string;
248
248
  taxId: string;
249
249
  cnes: string;
250
250
  };
@@ -325,50 +325,50 @@ export declare const zInsuranceCompanySchema: z.ZodObject<z.objectUtil.extendSha
325
325
  name: z.ZodString;
326
326
  corporate_name: z.ZodOptional<z.ZodString>;
327
327
  tax_id: z.ZodOptional<z.ZodString>;
328
- active: z.ZodBoolean;
328
+ active: z.ZodDefault<z.ZodBoolean>;
329
329
  ans: z.ZodOptional<z.ZodString>;
330
330
  tiss: z.ZodOptional<z.ZodObject<{
331
331
  active: z.ZodBoolean;
332
332
  version: z.ZodString;
333
- currentBatch: z.ZodNumber;
333
+ current_batch: z.ZodNumber;
334
334
  contract: z.ZodObject<{
335
335
  type: z.ZodEnum<["PJ", "PF"]>;
336
- operatorcode: z.ZodString;
336
+ operator_code: z.ZodString;
337
337
  taxId: z.ZodString;
338
338
  name: z.ZodString;
339
339
  cnes: z.ZodString;
340
340
  }, "strip", z.ZodTypeAny, {
341
341
  name: string;
342
342
  type: "PJ" | "PF";
343
- operatorcode: string;
343
+ operator_code: string;
344
344
  taxId: string;
345
345
  cnes: string;
346
346
  }, {
347
347
  name: string;
348
348
  type: "PJ" | "PF";
349
- operatorcode: string;
349
+ operator_code: string;
350
350
  taxId: string;
351
351
  cnes: string;
352
352
  }>;
353
353
  }, "strip", z.ZodTypeAny, {
354
354
  version: string;
355
355
  active: boolean;
356
- currentBatch: number;
356
+ current_batch: number;
357
357
  contract: {
358
358
  name: string;
359
359
  type: "PJ" | "PF";
360
- operatorcode: string;
360
+ operator_code: string;
361
361
  taxId: string;
362
362
  cnes: string;
363
363
  };
364
364
  }, {
365
365
  version: string;
366
366
  active: boolean;
367
- currentBatch: number;
367
+ current_batch: number;
368
368
  contract: {
369
369
  name: string;
370
370
  type: "PJ" | "PF";
371
- operatorcode: string;
371
+ operator_code: string;
372
372
  taxId: string;
373
373
  cnes: string;
374
374
  };
@@ -6,15 +6,15 @@ const zod_schemas_1 = require("../../shared/zod-schemas");
6
6
  // Define Zod schemas for each interface
7
7
  exports.zTissContractSchema = zod_1.z.object({
8
8
  type: zod_1.z.enum(["PJ", "PF"]),
9
- operatorcode: zod_1.z.string().min(1).max(20),
10
- taxId: zod_1.z.string().min(1).max(255),
11
- name: zod_1.z.string().min(1).max(255),
12
- cnes: zod_1.z.string().min(1).max(255),
9
+ operator_code: zod_1.z.string().max(20),
10
+ taxId: zod_1.z.string().max(255),
11
+ name: zod_1.z.string().max(255),
12
+ cnes: zod_1.z.string().max(255),
13
13
  });
14
14
  exports.zTissConfigSchema = zod_1.z.object({
15
15
  active: zod_1.z.boolean(),
16
- version: zod_1.z.string().min(1).max(20),
17
- currentBatch: zod_1.z.number(),
16
+ version: zod_1.z.string().max(20),
17
+ current_batch: zod_1.z.number(),
18
18
  contract: exports.zTissContractSchema,
19
19
  });
20
20
  exports.zInsuranceCompanySchema = zod_schemas_1.zFireDocSchema
@@ -22,9 +22,9 @@ exports.zInsuranceCompanySchema = zod_schemas_1.zFireDocSchema
22
22
  code: zod_1.z.string().min(1).max(20),
23
23
  name: zod_1.z.string().min(1).max(255),
24
24
  corporate_name: zod_1.z.string().optional(),
25
- tax_id: zod_1.z.string().optional(),
26
- active: zod_1.z.boolean(),
27
- ans: zod_1.z.string().min(1).max(255).optional(),
25
+ tax_id: zod_1.z.string().max(60).optional(),
26
+ active: zod_1.z.boolean().default(true),
27
+ ans: zod_1.z.string().max(255).optional(),
28
28
  tiss: exports.zTissConfigSchema.optional(),
29
29
  address: zod_schemas_1.zAddressSchema,
30
30
  contact: zod_schemas_1.zContactSchema,
@@ -10,16 +10,16 @@ import {
10
10
 
11
11
  export const zTissContractSchema = z.object({
12
12
  type: z.enum(["PJ", "PF"]),
13
- operatorcode: z.string().min(1).max(20),
14
- taxId: z.string().min(1).max(255),
15
- name: z.string().min(1).max(255),
16
- cnes: z.string().min(1).max(255),
13
+ operator_code: z.string().max(20),
14
+ taxId: z.string().max(255),
15
+ name: z.string().max(255),
16
+ cnes: z.string().max(255),
17
17
  });
18
18
 
19
19
  export const zTissConfigSchema = z.object({
20
20
  active: z.boolean(),
21
- version: z.string().min(1).max(20),
22
- currentBatch: z.number(),
21
+ version: z.string().max(20),
22
+ current_batch: z.number(),
23
23
  contract: zTissContractSchema,
24
24
  });
25
25
 
@@ -28,9 +28,9 @@ export const zInsuranceCompanySchema = zFireDocSchema
28
28
  code: z.string().min(1).max(20),
29
29
  name: z.string().min(1).max(255),
30
30
  corporate_name: z.string().optional(),
31
- tax_id: z.string().optional(),
32
- active: z.boolean(),
33
- ans: z.string().min(1).max(255).optional(),
31
+ tax_id: z.string().max(60).optional(),
32
+ active: z.boolean().default(true),
33
+ ans: z.string().max(255).optional(),
34
34
  tiss: zTissConfigSchema.optional(),
35
35
  address: zAddressSchema,
36
36
  contact: zContactSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.81",
3
+ "version": "1.3.84",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",