quirons-broker
Advanced tools
Comparing version
@@ -36,3 +36,3 @@ import * as t from 'io-ts'; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -45,3 +45,3 @@ cat: t.IntersectionC<[t.TypeC<{ | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -58,3 +58,3 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -69,11 +69,11 @@ pais: t.StringC; | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
}>, t.PartialC<{ | ||
hrAcid: t.NumberC; | ||
hrsTrabAntesAcid: t.NumberC; | ||
hrAcid: t.StringC; | ||
hrsTrabAntesAcid: t.StringC; | ||
dtObito: t.StringC; | ||
@@ -83,7 +83,7 @@ obsCAT: t.StringC; | ||
dtAtendimento: t.StringC; | ||
hrAtendimento: t.NumberC; | ||
hrAtendimento: t.StringC; | ||
indInternacao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
durTrat: t.NumberC; | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -130,3 +130,3 @@ emitente: t.TypeC<{ | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -138,5 +138,5 @@ exMedOcup: t.IntersectionC<[t.TypeC<{ | ||
resAso: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
exame: t.IntersectionC<[t.TypeC<{ | ||
exame: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
ordExame: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
@@ -146,3 +146,3 @@ }>, t.PartialC<{ | ||
indResult: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.LiteralC<4>]>; | ||
}>]>; | ||
}>]>>; | ||
medico: t.TypeC<{ | ||
@@ -188,3 +188,3 @@ nmMed: t.StringC; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -202,3 +202,3 @@ infoExpRisco: t.IntersectionC<[t.TypeC<{ | ||
}>; | ||
agNoc: t.IntersectionC<[t.TypeC<{ | ||
agNoc: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
codAgNoc: t.StringC; | ||
@@ -211,3 +211,3 @@ tpAval: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
eficEpc: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
epi: t.IntersectionC<[t.TypeC<{ | ||
epi: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
eficEpi: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
@@ -217,3 +217,3 @@ }>, t.PartialC<{ | ||
dscEPI: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
epiCompl: t.TypeC<{ | ||
@@ -234,4 +234,4 @@ medProtecao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
tecMedicao: t.StringC; | ||
}>]>; | ||
respReg: t.IntersectionC<[t.TypeC<{ | ||
}>]>>; | ||
respReg: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
cpfResp: t.StringC; | ||
@@ -243,3 +243,3 @@ ideOC: t.UnionC<[t.LiteralC<1>, t.LiteralC<4>, t.LiteralC<9>]>; | ||
dscOC: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
}>, t.PartialC<{ | ||
@@ -293,3 +293,3 @@ obs: t.TypeC<{ | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -302,3 +302,3 @@ cat: t.IntersectionC<[t.TypeC<{ | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -315,3 +315,3 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -326,11 +326,11 @@ pais: t.StringC; | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
}>, t.PartialC<{ | ||
hrAcid: t.NumberC; | ||
hrsTrabAntesAcid: t.NumberC; | ||
hrAcid: t.StringC; | ||
hrsTrabAntesAcid: t.StringC; | ||
dtObito: t.StringC; | ||
@@ -340,7 +340,7 @@ obsCAT: t.StringC; | ||
dtAtendimento: t.StringC; | ||
hrAtendimento: t.NumberC; | ||
hrAtendimento: t.StringC; | ||
indInternacao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
durTrat: t.NumberC; | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -387,3 +387,3 @@ emitente: t.TypeC<{ | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -395,5 +395,5 @@ exMedOcup: t.IntersectionC<[t.TypeC<{ | ||
resAso: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
exame: t.IntersectionC<[t.TypeC<{ | ||
exame: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
ordExame: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
@@ -403,3 +403,3 @@ }>, t.PartialC<{ | ||
indResult: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.LiteralC<4>]>; | ||
}>]>; | ||
}>]>>; | ||
medico: t.TypeC<{ | ||
@@ -445,3 +445,3 @@ nmMed: t.StringC; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -459,3 +459,3 @@ infoExpRisco: t.IntersectionC<[t.TypeC<{ | ||
}>; | ||
agNoc: t.IntersectionC<[t.TypeC<{ | ||
agNoc: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
codAgNoc: t.StringC; | ||
@@ -468,3 +468,3 @@ tpAval: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
eficEpc: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
epi: t.IntersectionC<[t.TypeC<{ | ||
epi: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
eficEpi: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
@@ -474,3 +474,3 @@ }>, t.PartialC<{ | ||
dscEPI: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
epiCompl: t.TypeC<{ | ||
@@ -491,4 +491,4 @@ medProtecao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
tecMedicao: t.StringC; | ||
}>]>; | ||
respReg: t.IntersectionC<[t.TypeC<{ | ||
}>]>>; | ||
respReg: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
cpfResp: t.StringC; | ||
@@ -500,3 +500,3 @@ ideOC: t.UnionC<[t.LiteralC<1>, t.LiteralC<4>, t.LiteralC<9>]>; | ||
dscOC: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
}>, t.PartialC<{ | ||
@@ -503,0 +503,0 @@ obs: t.TypeC<{ |
@@ -23,3 +23,3 @@ import * as t from 'io-ts'; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -32,3 +32,3 @@ cat: t.IntersectionC<[t.TypeC<{ | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -45,3 +45,3 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -56,11 +56,11 @@ pais: t.StringC; | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
}>, t.PartialC<{ | ||
hrAcid: t.NumberC; | ||
hrsTrabAntesAcid: t.NumberC; | ||
hrAcid: t.StringC; | ||
hrsTrabAntesAcid: t.StringC; | ||
dtObito: t.StringC; | ||
@@ -70,7 +70,7 @@ obsCAT: t.StringC; | ||
dtAtendimento: t.StringC; | ||
hrAtendimento: t.NumberC; | ||
hrAtendimento: t.StringC; | ||
indInternacao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
durTrat: t.NumberC; | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -77,0 +77,0 @@ emitente: t.TypeC<{ |
@@ -91,3 +91,3 @@ "use strict"; | ||
/// Validação: Deve ser um código válido e existente na Tabela 15 ou na Tabela 16. | ||
codSitGeradora: t.number, | ||
codSitGeradora: t.string, | ||
/// Iniciativa da CAT. | ||
@@ -167,3 +167,3 @@ iniciatCAT: t.union([ | ||
/// Validação: Deve ser um código válido e existente na Tabela 13. | ||
codParteAting: t.number, | ||
codParteAting: t.string, | ||
/// Lateralidade da(s) parte(s) atingida(s). | ||
@@ -187,3 +187,3 @@ /// Nos casos de órgãos bilaterais, ou seja, que se situam dos lados do corpo, assinalar o lado (direito ou esquerdo). Ex.: Caso o órgão atingido seja perna, apontar qual foi a atingida (perna direita, perna esquerda ou ambas). Se o órgão atingido é único (como, por exemplo, a cabeça), assinalar este campo como não aplicável. | ||
/// Validação: Deve ser um código válido e existente na Tabela 14 ou na Tabela 15. | ||
codAgntCausador: t.number | ||
codAgntCausador: t.string | ||
}) | ||
@@ -198,3 +198,3 @@ }), | ||
/// Validação: Preenchimento obrigatório e exclusivo se {tpAcid}(./tpAcid) = [1]. Se informada, deve estar no intervalo entre [0000] e [9959], criticando inclusive a segunda parte do número, que indica os minutos, que deve ser menor ou igual a 59. | ||
hrsTrabAntesAcid: t.number, | ||
hrsTrabAntesAcid: t.string, | ||
/// Data do óbito. | ||
@@ -225,3 +225,3 @@ /// Validação: Deve ser uma data válida, igual ou posterior a {dtAcid}(./dtAcid) e igual ou anterior à data atual. | ||
/// Validação: Deve ser um código válido e existente na Tabela 17. | ||
dscLesao: t.number, | ||
dscLesao: t.string, | ||
/// Informar o código da tabela de Classificação Internacional de Doenças - CID. | ||
@@ -228,0 +228,0 @@ /// Validação: Deve ser preenchido com caracteres alfanuméricos, conforme opções constantes na tabela CID. |
@@ -23,3 +23,3 @@ import * as t from 'io-ts'; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -37,3 +37,3 @@ infoExpRisco: t.IntersectionC<[t.TypeC<{ | ||
}>; | ||
agNoc: t.IntersectionC<[t.TypeC<{ | ||
agNoc: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
codAgNoc: t.StringC; | ||
@@ -46,3 +46,3 @@ tpAval: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
eficEpc: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
epi: t.IntersectionC<[t.TypeC<{ | ||
epi: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
eficEpi: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
@@ -52,3 +52,3 @@ }>, t.PartialC<{ | ||
dscEPI: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
epiCompl: t.TypeC<{ | ||
@@ -69,4 +69,4 @@ medProtecao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
tecMedicao: t.StringC; | ||
}>]>; | ||
respReg: t.IntersectionC<[t.TypeC<{ | ||
}>]>>; | ||
respReg: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
cpfResp: t.StringC; | ||
@@ -78,3 +78,3 @@ ideOC: t.UnionC<[t.LiteralC<1>, t.LiteralC<4>, t.LiteralC<9>]>; | ||
dscOC: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
}>, t.PartialC<{ | ||
@@ -81,0 +81,0 @@ obs: t.TypeC<{ |
@@ -85,3 +85,3 @@ "use strict"; | ||
/// CHAVE_GRUPO: {codAgNoc}, {dscAgNoc} | ||
agNoc: t.intersection([ | ||
agNoc: t.array(t.intersection([ | ||
t.type({ | ||
@@ -128,3 +128,3 @@ /// Informar o código do agente nocivo ao qual o trabalhador está exposto. Preencher com números e pontos. Caso não haja exposição, informar o código [09.01.001] (Ausência de agente nocivo ou de atividades previstas no Anexo IV do Decreto 3.048/1999). | ||
/// CHAVE_GRUPO: {docAval}, {dscEPI} | ||
epi: t.intersection([ | ||
epi: t.array(t.intersection([ | ||
t.type({ | ||
@@ -141,3 +141,3 @@ /// O EPI é eficaz na neutralização do risco ao trabalhador? | ||
}) | ||
]), | ||
])), | ||
/// Requisitos das NR-06 e NR-09 pelo(s) EPI(s) informado(s) | ||
@@ -241,6 +241,6 @@ /// DESCRICAO_COMPLETA:Requisitos da Norma Regulamentadora 06 - NR-06 e da Norma Regulamentadora 09 - NR-09 pelo(s) EPI(s) informado(s). | ||
}) | ||
]), | ||
])), | ||
/// Responsável pelos registros ambientais | ||
/// DESCRICAO_COMPLETA:Informações relativas ao responsável pelos registros ambientais. | ||
respReg: t.intersection([ | ||
respReg: t.array(t.intersection([ | ||
t.type({ | ||
@@ -269,3 +269,3 @@ /// Preencher com o CPF do responsável pelos registros ambientais. | ||
}) | ||
]) | ||
])) | ||
}), | ||
@@ -272,0 +272,0 @@ t.partial({ |
@@ -23,3 +23,3 @@ import * as t from 'io-ts'; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -31,5 +31,5 @@ exMedOcup: t.IntersectionC<[t.TypeC<{ | ||
resAso: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
exame: t.IntersectionC<[t.TypeC<{ | ||
exame: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
ordExame: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
@@ -39,3 +39,3 @@ }>, t.PartialC<{ | ||
indResult: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.LiteralC<4>]>; | ||
}>]>; | ||
}>]>>; | ||
medico: t.TypeC<{ | ||
@@ -42,0 +42,0 @@ nmMed: t.StringC; |
@@ -88,3 +88,3 @@ "use strict"; | ||
/// CHAVE_GRUPO: {dtExm}, {procRealizado} | ||
exame: t.intersection([ | ||
exame: t.array(t.intersection([ | ||
t.type({ | ||
@@ -96,3 +96,3 @@ /// Data do exame realizado. | ||
/// Validação: Deve ser um código válido e existente na Tabela 27. | ||
procRealizado: t.number, | ||
procRealizado: t.string, | ||
/// Ordem do exame. | ||
@@ -121,3 +121,3 @@ ordExame: t.union([ | ||
}) | ||
]), | ||
])), | ||
/// Informações sobre o médico emitente do ASO. | ||
@@ -124,0 +124,0 @@ medico: t.type({ |
@@ -39,3 +39,3 @@ import * as t from 'io-ts'; | ||
export declare const TS_uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
export declare const TS_codMunic: t.NumberC; | ||
export declare const TS_codMunic: t.StringC; | ||
export declare const TS_indApuracao: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
@@ -52,3 +52,3 @@ export declare const TS_perApur: t.StringC; | ||
export declare const TS_dia: t.NumberC; | ||
export declare const TS_codCateg: t.NumberC; | ||
export declare const TS_codCateg: t.StringC; | ||
export declare const TS_tpInsc_EstabLot: t.UnionC<[t.LiteralC<1>, t.LiteralC<3>, t.LiteralC<4>]>; | ||
@@ -115,3 +115,3 @@ export declare const TS_tpInsc_EstabLot_1_4: t.UnionC<[t.LiteralC<1>, t.LiteralC<4>]>; | ||
export declare const TS_pais: t.StringC; | ||
export declare const TS_hora: t.NumberC; | ||
export declare const TS_hora: t.StringC; | ||
export declare const TS_iniValid: t.StringC; | ||
@@ -128,3 +128,3 @@ export declare const TS_fimValid: t.StringC; | ||
export declare const TS_cpfRetorno: t.StringC; | ||
export declare const TS_codCategOE: t.NumberC; | ||
export declare const TS_codCategOE: t.StringC; | ||
export declare const TS_vlrRemunOE: t.NumberC; | ||
@@ -184,3 +184,3 @@ export declare const TS_nmTrab: t.StringC; | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -203,3 +203,3 @@ }>; | ||
nrInsc: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
vlrRemunOE: t.NumberC; | ||
@@ -215,3 +215,3 @@ }>; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -222,3 +222,3 @@ export declare const T_ideVinculo_sst: t.IntersectionC<[t.TypeC<{ | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -277,3 +277,3 @@ export declare const T_ideVinculo: t.TypeC<{ | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -280,0 +280,0 @@ }>, t.PartialC<{ |
@@ -219,3 +219,3 @@ "use strict"; | ||
/// Validação: Deve ser um código válido e existente na tabela do IBGE. | ||
exports.TS_codMunic = t.number; | ||
exports.TS_codMunic = t.string; | ||
/// Indicativo de período de apuração. | ||
@@ -263,3 +263,3 @@ exports.TS_indApuracao = t.union([ | ||
/// Validação: Deve ser um código válido e existente na Tabela 01. | ||
exports.TS_codCateg = t.number; | ||
exports.TS_codCateg = t.string; | ||
/// Preencher com o código correspondente ao tipo de inscrição do estabelecimento, de acordo com as opções da Tabela 05. | ||
@@ -638,3 +638,3 @@ /// Validação: Se {classTrib}(1000_infoEmpregador_inclusao_infoCadastro_classTrib) em S-1000 = [21], deve ser igual a [3, 4]. | ||
exports.TS_pais = t.string; | ||
exports.TS_hora = t.number; | ||
exports.TS_hora = t.string; | ||
/// Preencher com o mês e ano de início da validade das informações prestadas no evento, no formato AAAA-MM. | ||
@@ -641,0 +641,0 @@ /// Validação: Deve ser uma data válida, igual ou posterior à data de início de obrigatoriedade deste evento para o empregador no eSocial, no formato AAAA-MM. |
@@ -522,3 +522,3 @@ import * as t from 'io-ts'; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -531,3 +531,3 @@ cat: t.IntersectionC<[t.TypeC<{ | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -544,3 +544,3 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
cep: t.StringC; | ||
codMunic: t.NumberC; | ||
codMunic: t.StringC; | ||
uf: t.UnionC<[t.LiteralC<"AC">, t.LiteralC<"AL">, t.LiteralC<"AP">, t.LiteralC<"AM">, t.LiteralC<"BA">, t.LiteralC<"CE">, t.LiteralC<"DF">, t.LiteralC<"ES">, t.LiteralC<"GO">, t.LiteralC<"MA">, t.LiteralC<"MT">, t.LiteralC<"MS">, t.LiteralC<"MG">, t.LiteralC<"PA">, t.LiteralC<"PB">, t.LiteralC<"PR">, t.LiteralC<"PE">, t.LiteralC<"PI">, t.LiteralC<"RJ">, t.LiteralC<"RN">, t.LiteralC<"RS">, t.LiteralC<"RO">, t.LiteralC<"RR">, t.LiteralC<"SC">, t.LiteralC<"SP">, t.LiteralC<"SE">, t.LiteralC<"TO">]>; | ||
@@ -555,11 +555,11 @@ pais: t.StringC; | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
}>, t.PartialC<{ | ||
hrAcid: t.NumberC; | ||
hrsTrabAntesAcid: t.NumberC; | ||
hrAcid: t.StringC; | ||
hrsTrabAntesAcid: t.StringC; | ||
dtObito: t.StringC; | ||
@@ -569,7 +569,7 @@ obsCAT: t.StringC; | ||
dtAtendimento: t.StringC; | ||
hrAtendimento: t.NumberC; | ||
hrAtendimento: t.StringC; | ||
indInternacao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
durTrat: t.NumberC; | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -616,3 +616,3 @@ emitente: t.TypeC<{ | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -624,5 +624,5 @@ exMedOcup: t.IntersectionC<[t.TypeC<{ | ||
resAso: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
exame: t.IntersectionC<[t.TypeC<{ | ||
exame: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
ordExame: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
@@ -632,3 +632,3 @@ }>, t.PartialC<{ | ||
indResult: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.LiteralC<4>]>; | ||
}>]>; | ||
}>]>>; | ||
medico: t.TypeC<{ | ||
@@ -674,3 +674,3 @@ nmMed: t.StringC; | ||
matricula: t.StringC; | ||
codCateg: t.NumberC; | ||
codCateg: t.StringC; | ||
}>]>; | ||
@@ -688,3 +688,3 @@ infoExpRisco: t.IntersectionC<[t.TypeC<{ | ||
}>; | ||
agNoc: t.IntersectionC<[t.TypeC<{ | ||
agNoc: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
codAgNoc: t.StringC; | ||
@@ -697,3 +697,3 @@ tpAval: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>]>; | ||
eficEpc: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
epi: t.IntersectionC<[t.TypeC<{ | ||
epi: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
eficEpi: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
@@ -703,3 +703,3 @@ }>, t.PartialC<{ | ||
dscEPI: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
epiCompl: t.TypeC<{ | ||
@@ -720,4 +720,4 @@ medProtecao: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
tecMedicao: t.StringC; | ||
}>]>; | ||
respReg: t.IntersectionC<[t.TypeC<{ | ||
}>]>>; | ||
respReg: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
cpfResp: t.StringC; | ||
@@ -729,3 +729,3 @@ ideOC: t.UnionC<[t.LiteralC<1>, t.LiteralC<4>, t.LiteralC<9>]>; | ||
dscOC: t.StringC; | ||
}>]>; | ||
}>]>>; | ||
}>, t.PartialC<{ | ||
@@ -732,0 +732,0 @@ obs: t.TypeC<{ |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.21", | ||
"version": "0.0.1-alpha.22", | ||
"description": "A small library to expose the broker ttalk types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
402027
0.05%