diff --git a/package.json b/package.json index b87be8d..ddce8d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quirons-broker", - "version": "0.0.1-alpha.143", + "version": "0.0.1-alpha.144", "description": "A small library to expose the broker types", "typings": "index.d.ts", "types": "index.d.ts", diff --git a/src/ttalk/schemas/SickNote.ts b/src/ttalk/schemas/SickNote.ts index eb5413e..574c74a 100644 --- a/src/ttalk/schemas/SickNote.ts +++ b/src/ttalk/schemas/SickNote.ts @@ -29,11 +29,11 @@ export const SickNoteInfo = t.intersection([ /** Nome do Médico */ doctorName: t.string, /** Código do CRM */ - classEntityRegistrationCode: t.string, + classEntityRegistrationCode: t.union([t.string, t.null]), /** Estado do CRM */ - classEntityState: t.string, + classEntityState: t.union([t.string, t.null]), /** Código CID */ - internationalDiseaseClassification: t.string, + internationalDiseaseClassification: t.union([t.string, t.null]), /** Acidente */ accident: t.string, /** Observações */