quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.47 to 0.0.1-alpha.48
@@ -522,2 +522,5 @@ import * as t from 'io-ts'; | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>; | ||
@@ -524,0 +527,0 @@ }>, t.TypeC<{ |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.47", | ||
"version": "0.0.1-alpha.48", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -91,2 +91,5 @@ import * as t from 'io-ts'; | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -274,2 +277,5 @@ companyId: t.StringC; | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -276,0 +282,0 @@ companyId: t.StringC; |
@@ -477,2 +477,5 @@ import * as t from 'io-ts'; | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>; | ||
@@ -611,2 +614,5 @@ }>, t.TypeC<{ | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>; | ||
@@ -1261,2 +1267,5 @@ }>, t.TypeC<{ | ||
accidentClassification: t.StringC; | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
processNumber: t.StringC; | ||
}>]>; | ||
@@ -1263,0 +1272,0 @@ }>, t.TypeC<{ |
@@ -34,2 +34,8 @@ import * as t from 'io-ts'; | ||
accidentClassification: t.StringC; | ||
/** Origem da retificação */ | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
/** Tipo de Processo */ | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
/** Número do Processo*/ | ||
processNumber: t.StringC; | ||
}>]>; | ||
@@ -72,4 +78,10 @@ export declare type LeaveOfAbsenceInfo = t.TypeOf<typeof LeaveOfAbsenceInfo>; | ||
accidentClassification: t.StringC; | ||
/** Origem da retificação */ | ||
rectificationOrigin: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
/** Tipo de Processo */ | ||
typeOfProcess: t.UnionC<[t.LiteralC<"1">, t.LiteralC<"2">, t.LiteralC<"3">]>; | ||
/** Número do Processo*/ | ||
processNumber: t.StringC; | ||
}>]>>; | ||
}>]>; | ||
export declare type PagedLeaveOfAbsence = t.TypeOf<typeof PagedLeaveOfAbsence>; |
@@ -60,3 +60,9 @@ "use strict"; | ||
/** Tipo de Acidente */ | ||
accidentClassification: t.string | ||
accidentClassification: t.string, | ||
/** Origem da retificação */ | ||
rectificationOrigin: t.union([t.literal('1'), t.literal('2'), t.literal('3')]), | ||
/** Tipo de Processo */ | ||
typeOfProcess: t.union([t.literal('1'), t.literal('2'), t.literal('3')]), | ||
/** Número do Processo*/ | ||
processNumber: t.string | ||
}) | ||
@@ -63,0 +69,0 @@ ]); |
654280
15653