Skip to content

Commit

Permalink
Merge pull request #136 from nginformatica/fex/indRetif-optional
Browse files Browse the repository at this point in the history
Fex/ind retif optional
  • Loading branch information
juliakon authored Dec 19, 2024
2 parents cf11ef6 + 6e56157 commit fa8bf00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quirons-broker",
"version": "0.0.1-alpha.147",
"version": "0.0.1-alpha.148",
"description": "A small library to expose the broker types",
"typings": "index.d.ts",
"types": "index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/esocial/schemas/tipos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,13 +1306,16 @@ export const T_ideEvento_trab_indGuia = t.intersection([
/// Informações de identificação do evento.
export const T_ideEvento_trab = t.intersection([
t.type({
indRetif: TS_indRetif,
tpAmb: TS_tpAmb,
procEmi: TS_procEmi,
verProc: TS_verProc
}),
t.partial({
nrRecibo: TS_nrRecibo
nrRecibo: TS_nrRecibo,
indRetif: TS_indRetif
/* The 'indRetif' field is marked as optional because it will not be included
when the event is sent to TAF. TAF handles rectifications independently,
and including this field in such cases could result in incorrect records. */
})
])

Expand Down

0 comments on commit fa8bf00

Please sign in to comment.