evo360-types 1.3.221 → 1.3.223

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.
@@ -353,8 +353,8 @@ exports.zServiceSchema = zod_schemas_1.zFireDocSchema
353
353
  .extend({
354
354
  municipalServiceCode: zod_1.z
355
355
  .string()
356
- .min(1)
357
- .regex(/^\d{2}\.\d{2}\.\d{2}$/, "Código municipal deve estar no formato XX.XX.XX (ex: 01.01.01)"),
356
+ .min(3, "Código municipal deve ter entre 3 e 20 caracteres")
357
+ .max(20, "Código municipal deve ter entre 3 e 20 caracteres"),
358
358
  name: zod_1.z.string().min(1),
359
359
  municipalServiceDescription: zod_1.z.string().optional(),
360
360
  defaultProduct: zod_1.z.boolean().optional(),
@@ -381,8 +381,8 @@ export const zServiceSchema = zFireDocSchema
381
381
  .extend({
382
382
  municipalServiceCode: z
383
383
  .string()
384
- .min(1)
385
- .regex(/^\d{2}\.\d{2}\.\d{2}$/, "Código municipal deve estar no formato XX.XX.XX (ex: 01.01.01)"),
384
+ .min(3, "Código municipal deve ter entre 3 e 20 caracteres")
385
+ .max(20, "Código municipal deve ter entre 3 e 20 caracteres"),
386
386
  name: z.string().min(1),
387
387
  municipalServiceDescription: z.string().optional(),
388
388
  defaultProduct: z.boolean().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.221",
3
+ "version": "1.3.223",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",