quirons-broker
Advanced tools
Comparing version
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.139", | ||
"version": "0.0.1-alpha.140", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
@@ -195,5 +195,2 @@ import * as t from 'io-ts'; | ||
expectedDate: t.Type<Date, string, unknown>; | ||
/** | ||
* An object as returned by TOTVS' TTalk API. | ||
*/ | ||
doctor: t.StringC; | ||
@@ -211,3 +208,3 @@ crm: t.StringC; | ||
examDescription: t.StringC; | ||
referentialExam: t.StringC; | ||
referentialExam: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
doctor: t.StringC; | ||
@@ -220,8 +217,11 @@ crm: t.StringC; | ||
examObservation: t.StringC; | ||
result: t.StringC; | ||
result: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
alterationType: t.StringC; | ||
occupationalActivity: t.StringC; | ||
occupationalActivity: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
accredited: t.StringC; | ||
}>]>>, t.NullC]>; | ||
erpId: t.StringC; | ||
/** | ||
* A converter interface, meant to convert between TOTVS' models and ours. | ||
*/ | ||
accredited: t.StringC; | ||
@@ -654,5 +654,2 @@ reason: t.StringC; | ||
expectedDate: t.Type<Date, string, unknown>; | ||
/** | ||
* An object as returned by TOTVS' TTalk API. | ||
*/ | ||
doctor: t.StringC; | ||
@@ -670,3 +667,3 @@ crm: t.StringC; | ||
examDescription: t.StringC; | ||
referentialExam: t.StringC; | ||
referentialExam: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
doctor: t.StringC; | ||
@@ -679,8 +676,11 @@ crm: t.StringC; | ||
examObservation: t.StringC; | ||
result: t.StringC; | ||
result: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
alterationType: t.StringC; | ||
occupationalActivity: t.StringC; | ||
occupationalActivity: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
accredited: t.StringC; | ||
}>]>>, t.NullC]>; | ||
erpId: t.StringC; | ||
/** | ||
* A converter interface, meant to convert between TOTVS' models and ours. | ||
*/ | ||
accredited: t.StringC; | ||
@@ -1188,5 +1188,2 @@ reason: t.StringC; | ||
expectedDate: t.Type<Date, string, unknown>; | ||
/** | ||
* An object as returned by TOTVS' TTalk API. | ||
*/ | ||
doctor: t.StringC; | ||
@@ -1204,3 +1201,3 @@ crm: t.StringC; | ||
examDescription: t.StringC; | ||
referentialExam: t.StringC; | ||
referentialExam: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
doctor: t.StringC; | ||
@@ -1213,8 +1210,11 @@ crm: t.StringC; | ||
examObservation: t.StringC; | ||
result: t.StringC; | ||
result: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
alterationType: t.StringC; | ||
occupationalActivity: t.StringC; | ||
occupationalActivity: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
accredited: t.StringC; | ||
}>]>>, t.NullC]>; | ||
erpId: t.StringC; | ||
/** | ||
* A converter interface, meant to convert between TOTVS' models and ours. | ||
*/ | ||
accredited: t.StringC; | ||
@@ -1221,0 +1221,0 @@ reason: t.StringC; |
@@ -37,3 +37,3 @@ import * as t from 'io-ts'; | ||
/** Indicativo de Referência */ | ||
referentialExam: t.StringC; | ||
referentialExam: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Nome do Médico */ | ||
@@ -53,7 +53,7 @@ doctor: t.StringC; | ||
/** Resultado */ | ||
result: t.StringC; | ||
result: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Tivo de Alteração */ | ||
alterationType: t.StringC; | ||
/** Alteração Ocupacioanl */ | ||
occupationalActivity: t.StringC; | ||
occupationalActivity: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Credenciado */ | ||
@@ -73,3 +73,3 @@ accredited: t.StringC; | ||
}>, t.PartialC<{ | ||
totalAmount: t.NumberC; | ||
totalAmount: t.NumberC; /** Alteração Ocupacioanl */ | ||
amount: t.NumberC; | ||
@@ -112,3 +112,3 @@ }>]>, t.TypeC<{ | ||
/** Indicativo de Referência */ | ||
referentialExam: t.StringC; | ||
referentialExam: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Nome do Médico */ | ||
@@ -128,7 +128,7 @@ doctor: t.StringC; | ||
/** Resultado */ | ||
result: t.StringC; | ||
result: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Tivo de Alteração */ | ||
alterationType: t.StringC; | ||
/** Alteração Ocupacioanl */ | ||
occupationalActivity: t.StringC; | ||
occupationalActivity: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>]>; | ||
/** Credenciado */ | ||
@@ -135,0 +135,0 @@ accredited: t.StringC; |
@@ -34,3 +34,6 @@ "use strict"; | ||
/** Indicativo de Referência */ | ||
referentialExam: t.string, | ||
referentialExam: t.union([ | ||
t.literal(0), | ||
t.literal(1), | ||
]), | ||
/** Nome do Médico */ | ||
@@ -51,7 +54,13 @@ doctor: t.string, | ||
/** Resultado */ | ||
result: t.string, | ||
result: t.union([ | ||
t.literal(0), | ||
t.literal(1), | ||
]), | ||
/** Tivo de Alteração */ | ||
alterationType: t.string, | ||
/** Alteração Ocupacioanl */ | ||
occupationalActivity: t.string, | ||
occupationalActivity: t.union([ | ||
t.literal(0), | ||
t.literal(1), | ||
]), | ||
/** Credenciado */ | ||
@@ -58,0 +67,0 @@ accredited: t.string, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1186326
0.09%27927
0.03%