evo360-types 1.2.7 → 1.2.9

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.
@@ -519,7 +519,7 @@ export declare const zChronicConditionSchema: z.ZodObject<z.objectUtil.extendSha
519
519
  name: z.ZodString;
520
520
  diagnosis_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
521
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
522
- controlled: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
522
+ controlled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
523
523
  medications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
524
524
  name: z.ZodString;
525
525
  dosage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -541,7 +541,7 @@ export declare const zChronicConditionSchema: z.ZodObject<z.objectUtil.extendSha
541
541
  tenant: string;
542
542
  model_ver: number;
543
543
  severity: "Mild" | "Moderate" | "Severe" | "Unknown";
544
- controlled: boolean | null;
544
+ controlled: boolean;
545
545
  notes: string | null;
546
546
  ref?: any;
547
547
  created_at?: Date | null | undefined;
@@ -565,7 +565,7 @@ export declare const zChronicConditionSchema: z.ZodObject<z.objectUtil.extendSha
565
565
  deleted_at?: Date | null | undefined;
566
566
  diagnosis_date?: string | null | undefined;
567
567
  severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
568
- controlled?: boolean | null | undefined;
568
+ controlled?: boolean | undefined;
569
569
  medications?: {
570
570
  name: string;
571
571
  dosage?: string | null | undefined;
@@ -585,14 +585,14 @@ export declare const zAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
585
585
  code: z.ZodString;
586
586
  name: z.ZodString;
587
587
  kind: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Food", "Drug", "Insect", "Other"]>>>>;
588
- severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
588
+ severity: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>>;
589
589
  }>, "strip", z.ZodTypeAny, {
590
590
  code: string;
591
591
  name: string;
592
592
  id: string;
593
593
  tenant: string;
594
594
  model_ver: number;
595
- severity: "Mild" | "Moderate" | "Severe" | "Unknown";
595
+ severity: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
596
596
  kind: "Food" | "Drug" | "Insect" | "Other" | null;
597
597
  ref?: any;
598
598
  created_at?: Date | null | undefined;
@@ -608,7 +608,7 @@ export declare const zAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
608
608
  created_at?: Date | null | undefined;
609
609
  updated_at?: Date | null | undefined;
610
610
  deleted_at?: Date | null | undefined;
611
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
611
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null | undefined;
612
612
  kind?: "Food" | "Drug" | "Insect" | "Other" | null | undefined;
613
613
  }>;
614
614
  export declare const zMedicalCouncilSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -622,8 +622,8 @@ export declare const zMedicalCouncilSchema: z.ZodObject<z.objectUtil.extendShape
622
622
  }, {
623
623
  name: z.ZodString;
624
624
  acronym: z.ZodString;
625
- uf: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>;
626
- country: z.ZodDefault<z.ZodString>;
625
+ uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>>;
626
+ country: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
627
627
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
628
628
  id: z.ZodString;
629
629
  ref: z.ZodAny;
@@ -635,8 +635,8 @@ export declare const zMedicalCouncilSchema: z.ZodObject<z.objectUtil.extendShape
635
635
  }, {
636
636
  name: z.ZodString;
637
637
  acronym: z.ZodString;
638
- uf: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>;
639
- country: z.ZodDefault<z.ZodString>;
638
+ uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>>;
639
+ country: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
640
640
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
641
641
  id: z.ZodString;
642
642
  ref: z.ZodAny;
@@ -648,6 +648,6 @@ export declare const zMedicalCouncilSchema: z.ZodObject<z.objectUtil.extendShape
648
648
  }, {
649
649
  name: z.ZodString;
650
650
  acronym: z.ZodString;
651
- uf: z.ZodDefault<z.ZodOptional<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>;
652
- country: z.ZodDefault<z.ZodString>;
651
+ uf: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO", "DF", "BR"]>>>>;
652
+ country: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
653
653
  }>, z.ZodTypeAny, "passthrough">>;
@@ -70,7 +70,7 @@ exports.zChronicConditionSchema = zod_schemas_1.zFireDocSchema.extend({
70
70
  .enum(["Mild", "Moderate", "Severe", "Unknown"])
71
71
  .optional()
72
72
  .default("Unknown"),
73
- controlled: zod_1.z.boolean().nullable().optional().default(false),
73
+ controlled: zod_1.z.boolean().optional().default(false),
74
74
  medications: zod_1.z.array(exports.zMedicationSchema).nullable().optional(),
75
75
  notes: zod_1.z.string().max(1024).nullable().optional().default(""),
76
76
  });
@@ -84,6 +84,7 @@ exports.zAllergySchema = zod_schemas_1.zFireDocSchema.extend({
84
84
  .default("Other"),
85
85
  severity: zod_1.z
86
86
  .enum(["Mild", "Moderate", "Severe", "Unknown"])
87
+ .nullable()
87
88
  .optional()
88
89
  .default("Unknown"),
89
90
  });
@@ -122,8 +123,9 @@ exports.zMedicalCouncilSchema = zod_schemas_1.zFireDocSchema
122
123
  "DF",
123
124
  "BR", //nacional
124
125
  ])
126
+ .nullable()
125
127
  .optional()
126
128
  .default("SP"),
127
- country: zod_1.z.string().min(3).max(255).default("Brasil"),
129
+ country: zod_1.z.string().min(1).max(255).nullable().optional().default("Brasil"),
128
130
  })
129
131
  .passthrough();
@@ -76,7 +76,7 @@ export const zChronicConditionSchema = zFireDocSchema.extend({
76
76
  .enum(["Mild", "Moderate", "Severe", "Unknown"])
77
77
  .optional()
78
78
  .default("Unknown"),
79
- controlled: z.boolean().nullable().optional().default(false),
79
+ controlled: z.boolean().optional().default(false),
80
80
  medications: z.array(zMedicationSchema).nullable().optional(),
81
81
  notes: z.string().max(1024).nullable().optional().default(""),
82
82
  });
@@ -91,6 +91,7 @@ export const zAllergySchema = zFireDocSchema.extend({
91
91
  .default("Other"),
92
92
  severity: z
93
93
  .enum(["Mild", "Moderate", "Severe", "Unknown"])
94
+ .nullable()
94
95
  .optional()
95
96
  .default("Unknown"),
96
97
  });
@@ -130,8 +131,9 @@ export const zMedicalCouncilSchema = zFireDocSchema
130
131
  "DF",
131
132
  "BR", //nacional
132
133
  ])
134
+ .nullable()
133
135
  .optional()
134
136
  .default("SP"),
135
- country: z.string().min(3).max(255).default("Brasil"),
137
+ country: z.string().min(1).max(255).nullable().optional().default("Brasil"),
136
138
  })
137
139
  .passthrough();
@@ -402,14 +402,14 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
402
402
  code: z.ZodString;
403
403
  name: z.ZodString;
404
404
  kind: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Food", "Drug", "Insect", "Other"]>>>>;
405
- severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
405
+ severity: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>>;
406
406
  }>, "strip", z.ZodTypeAny, {
407
407
  code: string;
408
408
  name: string;
409
409
  id: string;
410
410
  tenant: string;
411
411
  model_ver: number;
412
- severity: "Mild" | "Moderate" | "Severe" | "Unknown";
412
+ severity: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
413
413
  kind: "Food" | "Drug" | "Insect" | "Other" | null;
414
414
  ref?: any;
415
415
  created_at?: Date | null | undefined;
@@ -425,7 +425,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
425
425
  created_at?: Date | null | undefined;
426
426
  updated_at?: Date | null | undefined;
427
427
  deleted_at?: Date | null | undefined;
428
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
428
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null | undefined;
429
429
  kind?: "Food" | "Drug" | "Insect" | "Other" | null | undefined;
430
430
  }>, "many">>;
431
431
  chronic_conditions: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
@@ -441,7 +441,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
441
441
  name: z.ZodString;
442
442
  diagnosis_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
443
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
444
- controlled: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
444
+ controlled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
445
445
  medications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
446
446
  name: z.ZodString;
447
447
  dosage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -463,7 +463,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
463
463
  tenant: string;
464
464
  model_ver: number;
465
465
  severity: "Mild" | "Moderate" | "Severe" | "Unknown";
466
- controlled: boolean | null;
466
+ controlled: boolean;
467
467
  notes: string | null;
468
468
  ref?: any;
469
469
  created_at?: Date | null | undefined;
@@ -487,7 +487,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
487
487
  deleted_at?: Date | null | undefined;
488
488
  diagnosis_date?: string | null | undefined;
489
489
  severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
490
- controlled?: boolean | null | undefined;
490
+ controlled?: boolean | undefined;
491
491
  medications?: {
492
492
  name: string;
493
493
  dosage?: string | null | undefined;
@@ -587,14 +587,14 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
587
587
  code: z.ZodString;
588
588
  name: z.ZodString;
589
589
  kind: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Food", "Drug", "Insect", "Other"]>>>>;
590
- severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
590
+ severity: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>>;
591
591
  }>, "strip", z.ZodTypeAny, {
592
592
  code: string;
593
593
  name: string;
594
594
  id: string;
595
595
  tenant: string;
596
596
  model_ver: number;
597
- severity: "Mild" | "Moderate" | "Severe" | "Unknown";
597
+ severity: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
598
598
  kind: "Food" | "Drug" | "Insect" | "Other" | null;
599
599
  ref?: any;
600
600
  created_at?: Date | null | undefined;
@@ -610,7 +610,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
610
610
  created_at?: Date | null | undefined;
611
611
  updated_at?: Date | null | undefined;
612
612
  deleted_at?: Date | null | undefined;
613
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
613
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null | undefined;
614
614
  kind?: "Food" | "Drug" | "Insect" | "Other" | null | undefined;
615
615
  }>, "many">>;
616
616
  chronic_conditions: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
@@ -626,7 +626,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
626
626
  name: z.ZodString;
627
627
  diagnosis_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
628
628
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
629
- controlled: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
629
+ controlled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
630
630
  medications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
631
631
  name: z.ZodString;
632
632
  dosage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -648,7 +648,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
648
648
  tenant: string;
649
649
  model_ver: number;
650
650
  severity: "Mild" | "Moderate" | "Severe" | "Unknown";
651
- controlled: boolean | null;
651
+ controlled: boolean;
652
652
  notes: string | null;
653
653
  ref?: any;
654
654
  created_at?: Date | null | undefined;
@@ -672,7 +672,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
672
672
  deleted_at?: Date | null | undefined;
673
673
  diagnosis_date?: string | null | undefined;
674
674
  severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
675
- controlled?: boolean | null | undefined;
675
+ controlled?: boolean | undefined;
676
676
  medications?: {
677
677
  name: string;
678
678
  dosage?: string | null | undefined;
@@ -772,14 +772,14 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
772
772
  code: z.ZodString;
773
773
  name: z.ZodString;
774
774
  kind: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Food", "Drug", "Insect", "Other"]>>>>;
775
- severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
775
+ severity: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>>;
776
776
  }>, "strip", z.ZodTypeAny, {
777
777
  code: string;
778
778
  name: string;
779
779
  id: string;
780
780
  tenant: string;
781
781
  model_ver: number;
782
- severity: "Mild" | "Moderate" | "Severe" | "Unknown";
782
+ severity: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
783
783
  kind: "Food" | "Drug" | "Insect" | "Other" | null;
784
784
  ref?: any;
785
785
  created_at?: Date | null | undefined;
@@ -795,7 +795,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
795
795
  created_at?: Date | null | undefined;
796
796
  updated_at?: Date | null | undefined;
797
797
  deleted_at?: Date | null | undefined;
798
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
798
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null | undefined;
799
799
  kind?: "Food" | "Drug" | "Insect" | "Other" | null | undefined;
800
800
  }>, "many">>;
801
801
  chronic_conditions: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
@@ -811,7 +811,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
811
811
  name: z.ZodString;
812
812
  diagnosis_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
813
813
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Mild", "Moderate", "Severe", "Unknown"]>>>;
814
- controlled: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
814
+ controlled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
815
815
  medications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
816
816
  name: z.ZodString;
817
817
  dosage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -833,7 +833,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
833
833
  tenant: string;
834
834
  model_ver: number;
835
835
  severity: "Mild" | "Moderate" | "Severe" | "Unknown";
836
- controlled: boolean | null;
836
+ controlled: boolean;
837
837
  notes: string | null;
838
838
  ref?: any;
839
839
  created_at?: Date | null | undefined;
@@ -857,7 +857,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
857
857
  deleted_at?: Date | null | undefined;
858
858
  diagnosis_date?: string | null | undefined;
859
859
  severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | undefined;
860
- controlled?: boolean | null | undefined;
860
+ controlled?: boolean | undefined;
861
861
  medications?: {
862
862
  name: string;
863
863
  dosage?: string | null | undefined;
@@ -87,27 +87,28 @@ export interface IAppointmentStatus extends IFireDoc {
87
87
  }
88
88
  export interface IMedication {
89
89
  name: string;
90
- dosage?: string;
91
- frequency?: string;
90
+ dosage?: string | null;
91
+ frequency?: string | null;
92
92
  }
93
93
  export interface IChronicCondition extends IFireDoc {
94
94
  code: string;
95
95
  name: string;
96
- diagnosis_date?: string;
96
+ diagnosis_date?: string | null;
97
97
  severity?: "Mild" | "Moderate" | "Severe";
98
98
  controlled?: boolean;
99
- medications?: IMedication[];
100
- notes?: string;
99
+ medications?: IMedication[] | null;
100
+ notes?: string | null;
101
101
  }
102
102
  export interface IAllergy extends IFireDoc {
103
103
  code: string;
104
104
  name: string;
105
- kind?: "Food" | "Drug" | "Insect" | "Other";
106
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown";
105
+ kind?: "Food" | "Drug" | "Insect" | "Other" | null;
106
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
107
107
  }
108
108
  export interface IMedicalCouncil extends IFireDoc {
109
109
  name: string;
110
110
  acronym: string;
111
- uf?: string;
112
- country: string;
111
+ uf?: string | null;
112
+ country?: string | null;
113
+ [key: string]: unknown;
113
114
  }
@@ -123,30 +123,31 @@ export interface IAppointmentStatus extends IFireDoc {
123
123
 
124
124
  export interface IMedication {
125
125
  name: string;
126
- dosage?: string;
127
- frequency?: string;
126
+ dosage?: string | null;
127
+ frequency?: string | null;
128
128
  }
129
129
 
130
130
  export interface IChronicCondition extends IFireDoc {
131
131
  code: string; // Identificador único da condição
132
132
  name: string; // Nome da doença crônica, ex: "Diabetes Tipo 2"
133
- diagnosis_date?: string; // Data do diagnóstico (ISO 8601)
133
+ diagnosis_date?: string | null; // Data do diagnóstico (ISO 8601)
134
134
  severity?: "Mild" | "Moderate" | "Severe"; // Nível de gravidade
135
135
  controlled?: boolean; // Indica se a condição está sob controle
136
- medications?: IMedication[]; // Lista de medicamentos utilizados para tratar a condição
137
- notes?: string; // Observações adicionais
136
+ medications?: IMedication[] | null; // Lista de medicamentos utilizados para tratar a condição
137
+ notes?: string | null; // Observações adicionais
138
138
  }
139
139
 
140
140
  export interface IAllergy extends IFireDoc {
141
141
  code: string;
142
142
  name: string;
143
- kind?: "Food" | "Drug" | "Insect" | "Other";
144
- severity?: "Mild" | "Moderate" | "Severe" | "Unknown";
143
+ kind?: "Food" | "Drug" | "Insect" | "Other" | null;
144
+ severity?: "Mild" | "Moderate" | "Severe" | "Unknown" | null;
145
145
  }
146
146
 
147
147
  export interface IMedicalCouncil extends IFireDoc {
148
148
  name: string; // Nome do conselho (ex: "Conselho Regional de Medicina de São Paulo")
149
149
  acronym: string; // Sigla do conselho
150
- uf?: string; // Estado de atuação (ex: "SP", "RJ") - Opcional, pois alguns são nacionais
151
- country: string; // País onde o conselho atua (ex: "Brasil")
150
+ uf?: string | null; // Estado de atuação (ex: "SP", "RJ") - Opcional, pois alguns são nacionais
151
+ country?: string | null; // País onde o conselho atua (ex: "Brasil")
152
+ [key: string]: unknown; // index signature
152
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",