quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.12 to 0.0.1-alpha.13
@@ -106,2 +106,6 @@ import * as t from 'io-ts'; | ||
hazardTechnicalResponsible: t.StringC; | ||
/** | ||
* An object as returned by TOTVS' TTalk API. | ||
*/ | ||
date: t.Type<Date, string, unknown>; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -224,2 +228,6 @@ companyId: t.StringC; | ||
hazardTechnicalResponsible: t.StringC; | ||
/** | ||
* An object as returned by TOTVS' TTalk API. | ||
*/ | ||
date: t.Type<Date, string, unknown>; | ||
}>]>, t.IntersectionC<[t.TypeC<{ | ||
@@ -226,0 +234,0 @@ companyId: t.StringC; |
@@ -437,2 +437,3 @@ import * as t from 'io-ts'; | ||
hazardTechnicalResponsible: t.StringC; | ||
date: t.Type<Date, string, unknown>; | ||
}>]>; | ||
@@ -550,2 +551,3 @@ }>]>; | ||
hazardTechnicalResponsible: t.StringC; | ||
date: t.Type<Date, string, unknown>; | ||
}>]>; | ||
@@ -1111,2 +1113,3 @@ }>]>; | ||
hazardTechnicalResponsible: t.StringC; | ||
date: t.Type<Date, string, unknown>; | ||
}>]>; | ||
@@ -1113,0 +1116,0 @@ }>]>; |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.12", | ||
"version": "0.0.1-alpha.13", | ||
"description": "A small library to expose the broker ttalk types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -20,2 +20,4 @@ import * as t from 'io-ts'; | ||
hazardTechnicalResponsible: t.StringC; | ||
/** Data no qual deve ser realizado o treinamento */ | ||
date: t.Type<Date, string, unknown>; | ||
}>]>; | ||
@@ -44,4 +46,6 @@ export declare type TrainingNecessityInfo = t.TypeOf<typeof TrainingNecessityInfo>; | ||
hazardTechnicalResponsible: t.StringC; | ||
/** Data no qual deve ser realizado o treinamento */ | ||
date: t.Type<Date, string, unknown>; | ||
}>]>>; | ||
}>]>; | ||
export declare type PagedTrainingNecessity = t.TypeOf<typeof PagedTrainingNecessity>; |
@@ -26,2 +26,3 @@ "use strict"; | ||
const totvsApiTypesBase_1 = require("../apis/types/totvsApiTypesBase"); | ||
const custom_types_1 = require("../custom-types"); | ||
exports.TrainingNecessityInfo = t.intersection([ | ||
@@ -46,3 +47,5 @@ t.type({ | ||
/** Responsável pelo PPRA */ | ||
hazardTechnicalResponsible: t.string | ||
hazardTechnicalResponsible: t.string, | ||
/** Data no qual deve ser realizado o treinamento */ | ||
date: custom_types_1.datetime | ||
}) | ||
@@ -49,0 +52,0 @@ ]); |
174336
4705