evo360-types 1.2.7 → 1.2.8

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.
@@ -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">>;
@@ -122,8 +122,9 @@ exports.zMedicalCouncilSchema = zod_schemas_1.zFireDocSchema
122
122
  "DF",
123
123
  "BR", //nacional
124
124
  ])
125
+ .nullable()
125
126
  .optional()
126
127
  .default("SP"),
127
- country: zod_1.z.string().min(3).max(255).default("Brasil"),
128
+ country: zod_1.z.string().min(1).max(255).nullable().optional().default("Brasil"),
128
129
  })
129
130
  .passthrough();
@@ -130,8 +130,9 @@ export const zMedicalCouncilSchema = zFireDocSchema
130
130
  "DF",
131
131
  "BR", //nacional
132
132
  ])
133
+ .nullable()
133
134
  .optional()
134
135
  .default("SP"),
135
- country: z.string().min(3).max(255).default("Brasil"),
136
+ country: z.string().min(1).max(255).nullable().optional().default("Brasil"),
136
137
  })
137
138
  .passthrough();
@@ -109,5 +109,6 @@ export interface IMedicalCouncil extends IFireDoc {
109
109
  name: string;
110
110
  acronym: string;
111
111
  uf?: string;
112
- country: string;
112
+ country?: string;
113
+ [key: string]: unknown;
113
114
  }
@@ -148,5 +148,6 @@ 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
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")
151
+ country?: string; // 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.8",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",