quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.92 to 0.0.1-alpha.93
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.92", | ||
"version": "0.0.1-alpha.93", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -96,2 +96,3 @@ import * as t from 'io-ts'; | ||
processNumber: t.StringC; | ||
sequence: t.StringC; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -284,2 +285,3 @@ companyId: t.StringC; | ||
processNumber: t.StringC; | ||
sequence: t.StringC; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -591,6 +593,8 @@ companyId: t.StringC; | ||
export declare type Department = t.TypeOf<typeof Department>; | ||
export declare const Position: t.TypeC<{ | ||
export declare const Position: t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
}>, t.PartialC<{ | ||
observation: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>; | ||
export declare type Position = t.TypeOf<typeof Position>; | ||
@@ -597,0 +601,0 @@ export declare const SickNote: t.IntersectionC<[t.TypeC<{ |
@@ -262,7 +262,12 @@ "use strict"; | ||
}); | ||
exports.Position = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); | ||
exports.Position = t.intersection([ | ||
t.type({ | ||
id: t.string, | ||
description: t.string | ||
}), | ||
t.partial({ | ||
observation: custom_types_1.nullable(t.string) | ||
}) | ||
]); | ||
exports.SickNote = SickNote_1.SickNoteInfo; | ||
exports.MedicalConsultation = MedicalConsultation_1.MedicalConsultationInfo; |
@@ -335,6 +335,8 @@ import * as t from 'io-ts'; | ||
}>; | ||
content: t.ArrayC<t.TypeC<{ | ||
content: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
observation: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>, t.TypeC<{ | ||
@@ -492,2 +494,3 @@ kind: t.LiteralC<"sicknote">; | ||
processNumber: t.StringC; | ||
sequence: t.StringC; | ||
}>]>; | ||
@@ -629,2 +632,3 @@ }>, t.TypeC<{ | ||
processNumber: t.StringC; | ||
sequence: t.StringC; | ||
}>]>; | ||
@@ -1133,6 +1137,8 @@ }>, t.TypeC<{ | ||
}>; | ||
content: t.ArrayC<t.TypeC<{ | ||
content: t.ArrayC<t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>>; | ||
}>, t.PartialC<{ | ||
observation: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
}>, t.TypeC<{ | ||
@@ -1294,2 +1300,3 @@ kind: t.LiteralC<"sicknote">; | ||
processNumber: t.StringC; | ||
sequence: t.StringC; | ||
}>]>; | ||
@@ -1296,0 +1303,0 @@ }>, t.TypeC<{ |
@@ -40,2 +40,4 @@ import * as t from 'io-ts'; | ||
processNumber: t.StringC; | ||
/** Sequência de Outro Atestado*/ | ||
sequence: t.StringC; | ||
}>]>; | ||
@@ -84,4 +86,6 @@ export declare type LeaveOfAbsenceInfo = t.TypeOf<typeof LeaveOfAbsenceInfo>; | ||
processNumber: t.StringC; | ||
/** Sequência de Outro Atestado*/ | ||
sequence: t.StringC; | ||
}>]>>; | ||
}>]>; | ||
export declare type PagedLeaveOfAbsence = t.TypeOf<typeof PagedLeaveOfAbsence>; |
@@ -66,3 +66,5 @@ "use strict"; | ||
/** Número do Processo*/ | ||
processNumber: t.string | ||
processNumber: t.string, | ||
/** Sequência de Outro Atestado*/ | ||
sequence: t.string | ||
}) | ||
@@ -69,0 +71,0 @@ ]); |
Sorry, the diff of this file is too big to display
988343
23042