quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.15 to 0.0.1-alpha.16
@@ -266,2 +266,11 @@ import * as t from 'io-ts'; | ||
situation: t.UnionC<[t.NumberC, t.NullC]>; | ||
civilStatus: t.UnionC<[t.NumberC, t.NullC]>; | ||
educationLevel: t.UnionC<[t.NumberC, t.NullC]>; | ||
ctps: t.UnionC<[t.StringC, t.NullC]>; | ||
mothersName: t.UnionC<[t.StringC, t.NullC]>; | ||
state: t.UnionC<[t.StringC, t.NullC]>; | ||
rais: t.UnionC<[t.StringC, t.NullC]>; | ||
eSocialCategory: t.UnionC<[t.StringC, t.NullC]>; | ||
position: t.UnionC<[t.StringC, t.NullC]>; | ||
positionDescription: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
@@ -268,0 +277,0 @@ }>, t.TypeC<{ |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.15", | ||
"version": "0.0.1-alpha.16", | ||
"description": "A small library to expose the broker ttalk types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -323,2 +323,11 @@ import * as t from 'io-ts'; | ||
situation: t.NumberC; | ||
civilStatus: t.NumberC; | ||
educationLevel: t.NumberC; | ||
ctps: t.StringC; | ||
mothersName: t.StringC; | ||
state: t.StringC; | ||
rais: t.StringC; | ||
eSocialCategory: t.StringC; | ||
position: t.StringC; | ||
positionDescription: t.StringC; | ||
}>]>; | ||
@@ -373,1 +382,54 @@ export declare type Employee = t.TypeOf<typeof Employee>; | ||
export declare type TrainingHistory = t.TypeOf<typeof TrainingHistory>; | ||
export declare const AbsenceType: t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>, t.PartialC<{ | ||
eSocialCode: t.StringC; | ||
}>]>; | ||
export declare type AbsenceType = t.TypeOf<typeof AbsenceType>; | ||
export declare const AllowanceType: t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
export declare type AllowanceType = t.TypeOf<typeof AllowanceType>; | ||
export declare const CostCenter: t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
export declare type CostCenter = t.TypeOf<typeof CostCenter>; | ||
export declare const Occupation: t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>, t.PartialC<{ | ||
cbo: t.StringC; | ||
}>]>; | ||
export declare type Occupation = t.TypeOf<typeof Occupation>; | ||
export declare const StabilityType: t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
export declare type StabilityType = t.TypeOf<typeof StabilityType>; | ||
export declare const Training: t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>, t.PartialC<{ | ||
eSocialCode: t.StringC; | ||
}>]>; | ||
export declare type Training = t.TypeOf<typeof Training>; | ||
export declare const WorkingShift: t.IntersectionC<[t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>, t.PartialC<{ | ||
productiveHours: t.NumberC; | ||
}>]>; | ||
export declare type WorkingShift = t.TypeOf<typeof WorkingShift>; | ||
export declare const Department: t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
export declare type Department = t.TypeOf<typeof Department>; | ||
export declare const Position: t.TypeC<{ | ||
id: t.StringC; | ||
description: t.StringC; | ||
}>; | ||
export declare type Position = t.TypeOf<typeof Position>; |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TrainingHistory = exports.FunctionalHistory = exports.Dependant = exports.Employee = exports.Person = exports.TrainingNecessityInfo = exports.StabilityControlInfo = exports.LeaveOfAbsenceInfo = exports.AllowanceInfo = exports.AdditionalInfo = exports.WorkingShiftInfo = exports.ClassInfo = exports.StabilityTypeInfo = exports.PositionInfo = exports.AllowanceTypesInfo = exports.LeaveOfAbsenceTypeInfo = exports.PayRollCostCenterInfo = exports.PaginatedObject = exports.Object = void 0; | ||
exports.Position = exports.Department = exports.WorkingShift = exports.Training = exports.StabilityType = exports.Occupation = exports.CostCenter = exports.AllowanceType = exports.AbsenceType = exports.TrainingHistory = exports.FunctionalHistory = exports.Dependant = exports.Employee = exports.Person = exports.TrainingNecessityInfo = exports.StabilityControlInfo = exports.LeaveOfAbsenceInfo = exports.AllowanceInfo = exports.AdditionalInfo = exports.WorkingShiftInfo = exports.ClassInfo = exports.StabilityTypeInfo = exports.PositionInfo = exports.AllowanceTypesInfo = exports.LeaveOfAbsenceTypeInfo = exports.PayRollCostCenterInfo = exports.PaginatedObject = exports.Object = void 0; | ||
const t = __importStar(require("io-ts")); | ||
@@ -119,3 +119,12 @@ const Additional_1_000_1 = require("./schemas/Additional_1_000"); | ||
sefipCategory: t.string, | ||
situation: t.number | ||
situation: t.number, | ||
civilStatus: t.number, | ||
educationLevel: t.number, | ||
ctps: t.string, | ||
mothersName: t.string, | ||
state: t.string, | ||
rais: t.string, | ||
eSocialCategory: t.string, | ||
position: t.string, | ||
positionDescription: t.string | ||
}) | ||
@@ -176,1 +185,57 @@ ]); | ||
]); | ||
exports.AbsenceType = t.intersection([ | ||
t.type({ | ||
id: t.string, | ||
description: t.string | ||
}), | ||
t.partial({ | ||
eSocialCode: t.string | ||
}) | ||
]); | ||
exports.AllowanceType = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); | ||
exports.CostCenter = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); | ||
exports.Occupation = t.intersection([ | ||
t.type({ | ||
id: t.string, | ||
description: t.string | ||
}), | ||
t.partial({ | ||
cbo: t.string | ||
}) | ||
]); | ||
exports.StabilityType = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); | ||
exports.Training = t.intersection([ | ||
t.type({ | ||
id: t.string, | ||
description: t.string | ||
}), | ||
t.partial({ | ||
eSocialCode: t.string | ||
}) | ||
]); | ||
exports.WorkingShift = t.intersection([ | ||
t.type({ | ||
id: t.string, | ||
description: t.string | ||
}), | ||
t.partial({ | ||
productiveHours: t.number | ||
}) | ||
]); | ||
exports.Department = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); | ||
exports.Position = t.type({ | ||
id: t.string, | ||
description: t.string | ||
}); |
@@ -44,2 +44,11 @@ import * as t from 'io-ts'; | ||
situation: t.UnionC<[t.NumberC, t.NullC]>; | ||
civilStatus: t.UnionC<[t.NumberC, t.NullC]>; | ||
educationLevel: t.UnionC<[t.NumberC, t.NullC]>; | ||
ctps: t.UnionC<[t.StringC, t.NullC]>; | ||
mothersName: t.UnionC<[t.StringC, t.NullC]>; | ||
state: t.UnionC<[t.StringC, t.NullC]>; | ||
rais: t.UnionC<[t.StringC, t.NullC]>; | ||
eSocialCategory: t.UnionC<[t.StringC, t.NullC]>; | ||
position: t.UnionC<[t.StringC, t.NullC]>; | ||
positionDescription: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>; | ||
@@ -46,0 +55,0 @@ export declare type Employee = t.TypeOf<typeof Employee>; |
@@ -49,3 +49,12 @@ "use strict"; | ||
sefipCategory: custom_types_1.nullable(t.string), | ||
situation: custom_types_1.nullable(t.number) | ||
situation: custom_types_1.nullable(t.number), | ||
civilStatus: custom_types_1.nullable(t.number), | ||
educationLevel: custom_types_1.nullable(t.number), | ||
ctps: custom_types_1.nullable(t.string), | ||
mothersName: custom_types_1.nullable(t.string), | ||
state: custom_types_1.nullable(t.string), | ||
rais: custom_types_1.nullable(t.string), | ||
eSocialCategory: custom_types_1.nullable(t.string), | ||
position: custom_types_1.nullable(t.string), | ||
positionDescription: custom_types_1.nullable(t.string) | ||
}) | ||
@@ -87,7 +96,16 @@ ]); | ||
sefipCategory: data.sefipCategory, | ||
situation: data.situation | ||
situation: data.situation, | ||
civilStatus: data.civilStatus, | ||
educationLevel: data.educationLevel, | ||
ctps: data.ctps, | ||
mothersName: data.mothersName, | ||
state: data.state, | ||
rais: data.rais, | ||
eSocialCategory: data.eSocialCategory, | ||
position: data.position, | ||
positionDescription: data.positionDescription | ||
}; | ||
}, | ||
toTTalk(data) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4; | ||
return { | ||
@@ -122,5 +140,14 @@ id: data.erpId, | ||
sefipCategory: (_u = data.sefipCategory) !== null && _u !== void 0 ? _u : undefined, | ||
situation: (_v = data.situation) !== null && _v !== void 0 ? _v : undefined | ||
situation: (_v = data.situation) !== null && _v !== void 0 ? _v : undefined, | ||
civilStatus: (_w = data.civilStatus) !== null && _w !== void 0 ? _w : undefined, | ||
educationLevel: (_x = data.educationLevel) !== null && _x !== void 0 ? _x : undefined, | ||
ctps: (_y = data.ctps) !== null && _y !== void 0 ? _y : undefined, | ||
mothersName: (_z = data.mothersName) !== null && _z !== void 0 ? _z : undefined, | ||
state: (_0 = data.state) !== null && _0 !== void 0 ? _0 : undefined, | ||
rais: (_1 = data.rais) !== null && _1 !== void 0 ? _1 : undefined, | ||
eSocialCategory: (_2 = data.eSocialCategory) !== null && _2 !== void 0 ? _2 : undefined, | ||
position: (_3 = data.position) !== null && _3 !== void 0 ? _3 : undefined, | ||
positionDescription: (_4 = data.positionDescription) !== null && _4 !== void 0 ? _4 : undefined | ||
}; | ||
} | ||
}; |
@@ -230,2 +230,11 @@ import * as t from 'io-ts'; | ||
situation: t.UnionC<[t.NumberC, t.NullC]>; | ||
civilStatus: t.UnionC<[t.NumberC, t.NullC]>; | ||
educationLevel: t.UnionC<[t.NumberC, t.NullC]>; | ||
ctps: t.UnionC<[t.StringC, t.NullC]>; | ||
mothersName: t.UnionC<[t.StringC, t.NullC]>; | ||
state: t.UnionC<[t.StringC, t.NullC]>; | ||
rais: t.UnionC<[t.StringC, t.NullC]>; | ||
eSocialCategory: t.UnionC<[t.StringC, t.NullC]>; | ||
position: t.UnionC<[t.StringC, t.NullC]>; | ||
positionDescription: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
@@ -865,2 +874,11 @@ }>, t.TypeC<{ | ||
situation: t.UnionC<[t.NumberC, t.NullC]>; | ||
civilStatus: t.UnionC<[t.NumberC, t.NullC]>; | ||
educationLevel: t.UnionC<[t.NumberC, t.NullC]>; | ||
ctps: t.UnionC<[t.StringC, t.NullC]>; | ||
mothersName: t.UnionC<[t.StringC, t.NullC]>; | ||
state: t.UnionC<[t.StringC, t.NullC]>; | ||
rais: t.UnionC<[t.StringC, t.NullC]>; | ||
eSocialCategory: t.UnionC<[t.StringC, t.NullC]>; | ||
position: t.UnionC<[t.StringC, t.NullC]>; | ||
positionDescription: t.UnionC<[t.StringC, t.NullC]>; | ||
}>]>>; | ||
@@ -867,0 +885,0 @@ }>, t.TypeC<{ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
213064
5738
0