evo360-types 1.2.16 → 1.2.18
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.
|
@@ -4,12 +4,12 @@ export declare const zProfessionalCouncilSchema: z.ZodObject<{
|
|
|
4
4
|
doc: z.ZodString;
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
acronym: z.ZodString;
|
|
7
|
-
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.
|
|
7
|
+
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8
8
|
ref: z.ZodAny;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
name: string;
|
|
11
11
|
acronym: string;
|
|
12
|
-
uf:
|
|
12
|
+
uf: string | null;
|
|
13
13
|
doc: string;
|
|
14
14
|
ref?: any;
|
|
15
15
|
}, {
|
|
@@ -17,7 +17,7 @@ export declare const zProfessionalCouncilSchema: z.ZodObject<{
|
|
|
17
17
|
acronym: string;
|
|
18
18
|
doc: string;
|
|
19
19
|
ref?: any;
|
|
20
|
-
uf?:
|
|
20
|
+
uf?: string | null | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const zProfessionalSpecialtySchema: z.ZodObject<{
|
|
23
23
|
code: z.ZodString;
|
|
@@ -58,12 +58,12 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
58
58
|
doc: z.ZodString;
|
|
59
59
|
name: z.ZodString;
|
|
60
60
|
acronym: z.ZodString;
|
|
61
|
-
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.
|
|
61
|
+
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
62
62
|
ref: z.ZodAny;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
name: string;
|
|
65
65
|
acronym: string;
|
|
66
|
-
uf:
|
|
66
|
+
uf: string | null;
|
|
67
67
|
doc: string;
|
|
68
68
|
ref?: any;
|
|
69
69
|
}, {
|
|
@@ -71,7 +71,7 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
71
71
|
acronym: string;
|
|
72
72
|
doc: string;
|
|
73
73
|
ref?: any;
|
|
74
|
-
uf?:
|
|
74
|
+
uf?: string | null | undefined;
|
|
75
75
|
}>, "many">>>;
|
|
76
76
|
specialties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
77
77
|
code: z.ZodString;
|
|
@@ -175,12 +175,12 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
175
175
|
doc: z.ZodString;
|
|
176
176
|
name: z.ZodString;
|
|
177
177
|
acronym: z.ZodString;
|
|
178
|
-
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.
|
|
178
|
+
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
179
179
|
ref: z.ZodAny;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
name: string;
|
|
182
182
|
acronym: string;
|
|
183
|
-
uf:
|
|
183
|
+
uf: string | null;
|
|
184
184
|
doc: string;
|
|
185
185
|
ref?: any;
|
|
186
186
|
}, {
|
|
@@ -188,7 +188,7 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
188
188
|
acronym: string;
|
|
189
189
|
doc: string;
|
|
190
190
|
ref?: any;
|
|
191
|
-
uf?:
|
|
191
|
+
uf?: string | null | undefined;
|
|
192
192
|
}>, "many">>>;
|
|
193
193
|
specialties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
194
194
|
code: z.ZodString;
|
|
@@ -292,12 +292,12 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
292
292
|
doc: z.ZodString;
|
|
293
293
|
name: z.ZodString;
|
|
294
294
|
acronym: z.ZodString;
|
|
295
|
-
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.
|
|
295
|
+
uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
296
296
|
ref: z.ZodAny;
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
298
|
name: string;
|
|
299
299
|
acronym: string;
|
|
300
|
-
uf:
|
|
300
|
+
uf: string | null;
|
|
301
301
|
doc: string;
|
|
302
302
|
ref?: any;
|
|
303
303
|
}, {
|
|
@@ -305,7 +305,7 @@ export declare const zProfessionalSchema: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
305
305
|
acronym: string;
|
|
306
306
|
doc: string;
|
|
307
307
|
ref?: any;
|
|
308
|
-
uf?:
|
|
308
|
+
uf?: string | null | undefined;
|
|
309
309
|
}>, "many">>>;
|
|
310
310
|
specialties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
311
311
|
code: z.ZodString;
|
|
@@ -15,40 +15,7 @@ exports.zProfessionalCouncilSchema = zod_1.z.object({
|
|
|
15
15
|
doc: zod_1.z.string().min(1).max(255),
|
|
16
16
|
name: zod_1.z.string().min(1).max(255),
|
|
17
17
|
acronym: zod_1.z.string().min(1).max(60),
|
|
18
|
-
uf: zod_1.z
|
|
19
|
-
.enum([
|
|
20
|
-
"AC",
|
|
21
|
-
"AL",
|
|
22
|
-
"AP",
|
|
23
|
-
"AM",
|
|
24
|
-
"BA",
|
|
25
|
-
"CE",
|
|
26
|
-
"ES",
|
|
27
|
-
"GO",
|
|
28
|
-
"MA",
|
|
29
|
-
"MT",
|
|
30
|
-
"MS",
|
|
31
|
-
"MG",
|
|
32
|
-
"PA",
|
|
33
|
-
"PB",
|
|
34
|
-
"PR",
|
|
35
|
-
"PE",
|
|
36
|
-
"PI",
|
|
37
|
-
"RJ",
|
|
38
|
-
"RN",
|
|
39
|
-
"RS",
|
|
40
|
-
"RO",
|
|
41
|
-
"RR",
|
|
42
|
-
"SC",
|
|
43
|
-
"SP",
|
|
44
|
-
"SE",
|
|
45
|
-
"TO",
|
|
46
|
-
"DF",
|
|
47
|
-
"BR", //nacional
|
|
48
|
-
])
|
|
49
|
-
.nullable()
|
|
50
|
-
.optional()
|
|
51
|
-
.default("SP"),
|
|
18
|
+
uf: zod_1.z.string().min(2).max(2).nullable().optional().default("SP"),
|
|
52
19
|
ref: zod_1.z.any(),
|
|
53
20
|
});
|
|
54
21
|
exports.zProfessionalSpecialtySchema = zod_1.z.object({
|
|
@@ -19,40 +19,7 @@ export const zProfessionalCouncilSchema = z.object({
|
|
|
19
19
|
doc: z.string().min(1).max(255),
|
|
20
20
|
name: z.string().min(1).max(255),
|
|
21
21
|
acronym: z.string().min(1).max(60),
|
|
22
|
-
uf: z
|
|
23
|
-
.enum([
|
|
24
|
-
"AC",
|
|
25
|
-
"AL",
|
|
26
|
-
"AP",
|
|
27
|
-
"AM",
|
|
28
|
-
"BA",
|
|
29
|
-
"CE",
|
|
30
|
-
"ES",
|
|
31
|
-
"GO",
|
|
32
|
-
"MA",
|
|
33
|
-
"MT",
|
|
34
|
-
"MS",
|
|
35
|
-
"MG",
|
|
36
|
-
"PA",
|
|
37
|
-
"PB",
|
|
38
|
-
"PR",
|
|
39
|
-
"PE",
|
|
40
|
-
"PI",
|
|
41
|
-
"RJ",
|
|
42
|
-
"RN",
|
|
43
|
-
"RS",
|
|
44
|
-
"RO",
|
|
45
|
-
"RR",
|
|
46
|
-
"SC",
|
|
47
|
-
"SP",
|
|
48
|
-
"SE",
|
|
49
|
-
"TO",
|
|
50
|
-
"DF",
|
|
51
|
-
"BR", //nacional
|
|
52
|
-
])
|
|
53
|
-
.nullable()
|
|
54
|
-
.optional()
|
|
55
|
-
.default("SP"),
|
|
22
|
+
uf: z.string().min(2).max(2).nullable().optional().default("SP"),
|
|
56
23
|
ref: z.any(),
|
|
57
24
|
});
|
|
58
25
|
|
|
@@ -42,14 +42,6 @@ export enum IMedPeopleAction {
|
|
|
42
42
|
Update_professional_status = "UPDATE_PROFESSIONAL_STATUS",
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// Professional status
|
|
46
|
-
export type ProfessionalStatus = "active" | "inactive" | "draft";
|
|
47
|
-
export enum IProfessionalStatus {
|
|
48
|
-
Active = "active",
|
|
49
|
-
Inactive = "inactive",
|
|
50
|
-
Draft = "draft",
|
|
51
|
-
}
|
|
52
|
-
|
|
53
45
|
// export interface IProfessionalCounters {
|
|
54
46
|
// active: number;
|
|
55
47
|
// inactive: number;
|
|
@@ -58,11 +50,19 @@ export enum IProfessionalStatus {
|
|
|
58
50
|
// total: number;
|
|
59
51
|
// }
|
|
60
52
|
|
|
53
|
+
// Professional status
|
|
54
|
+
export type ProfessionalStatus = "active" | "inactive" | "draft";
|
|
55
|
+
export enum IProfessionalStatus {
|
|
56
|
+
Active = "active",
|
|
57
|
+
Inactive = "inactive",
|
|
58
|
+
Draft = "draft",
|
|
59
|
+
}
|
|
60
|
+
|
|
61
61
|
export interface IProfessionalCouncil {
|
|
62
62
|
doc: string;
|
|
63
63
|
name: string;
|
|
64
64
|
acronym: string;
|
|
65
|
-
uf?: string;
|
|
65
|
+
uf?: string | null;
|
|
66
66
|
ref?: FirestoreDocumentReference;
|
|
67
67
|
}
|
|
68
68
|
|