sigo-entities 1.2.467 → 1.2.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +4 -20
- package/dist/index.mjs +228 -243
- package/package.json +1 -1
- package/.claude/CLAUDE.md +0 -70
- package/.claude/settings.json +0 -21
- package/.claude/skills/mdl-administracion/SKILL.md +0 -60
- package/.claude/skills/mdl-configuracion/SKILL.md +0 -49
- package/.claude/skills/ope-im/SKILL.md +0 -71
- package/.claude/skills/ope-logistica/SKILL.md +0 -60
- package/.claude/skills/ope-pex/SKILL.md +0 -106
- package/.claude/skills/shared-dtos/SKILL.md +0 -76
package/dist/index.d.mts
CHANGED
|
@@ -9515,10 +9515,8 @@ declare class UbicacionMifibraDBDTO {
|
|
|
9515
9515
|
declare class MaterialesMifibraDBDTO {
|
|
9516
9516
|
codigo: string;
|
|
9517
9517
|
descripcion: string;
|
|
9518
|
-
lote: string;
|
|
9519
9518
|
cantidad: number;
|
|
9520
9519
|
invsn: string;
|
|
9521
|
-
invtype: string;
|
|
9522
9520
|
invpool: InvPoolAction;
|
|
9523
9521
|
ID_StockPersonal: number;
|
|
9524
9522
|
}
|
|
@@ -10252,7 +10250,6 @@ declare class UpdateProfileDto {
|
|
|
10252
10250
|
}
|
|
10253
10251
|
|
|
10254
10252
|
declare class UpdateUserDto {
|
|
10255
|
-
_id: string;
|
|
10256
10253
|
profileId: string;
|
|
10257
10254
|
}
|
|
10258
10255
|
|
package/dist/index.d.ts
CHANGED
|
@@ -9515,10 +9515,8 @@ declare class UbicacionMifibraDBDTO {
|
|
|
9515
9515
|
declare class MaterialesMifibraDBDTO {
|
|
9516
9516
|
codigo: string;
|
|
9517
9517
|
descripcion: string;
|
|
9518
|
-
lote: string;
|
|
9519
9518
|
cantidad: number;
|
|
9520
9519
|
invsn: string;
|
|
9521
|
-
invtype: string;
|
|
9522
9520
|
invpool: InvPoolAction;
|
|
9523
9521
|
ID_StockPersonal: number;
|
|
9524
9522
|
}
|
|
@@ -10252,7 +10250,6 @@ declare class UpdateProfileDto {
|
|
|
10252
10250
|
}
|
|
10253
10251
|
|
|
10254
10252
|
declare class UpdateUserDto {
|
|
10255
|
-
_id: string;
|
|
10256
10253
|
profileId: string;
|
|
10257
10254
|
}
|
|
10258
10255
|
|
package/dist/index.js
CHANGED
|
@@ -49982,10 +49982,8 @@ __decorateClass([
|
|
|
49982
49982
|
var MaterialesMifibraDBDTO = class {
|
|
49983
49983
|
codigo = "";
|
|
49984
49984
|
descripcion = "";
|
|
49985
|
-
lote = "";
|
|
49986
49985
|
cantidad = 0;
|
|
49987
49986
|
invsn = "";
|
|
49988
|
-
invtype = "";
|
|
49989
49987
|
invpool = "install" /* INSTALL */;
|
|
49990
49988
|
ID_StockPersonal = 0;
|
|
49991
49989
|
};
|
|
@@ -49999,26 +49997,18 @@ __decorateClass([
|
|
|
49999
49997
|
(0, import_class_validator782.IsDefined)({ message: "El campo description es obligatorio." }),
|
|
50000
49998
|
(0, import_class_validator782.IsString)()
|
|
50001
49999
|
], MaterialesMifibraDBDTO.prototype, "descripcion", 2);
|
|
50002
|
-
__decorateClass([
|
|
50003
|
-
(0, import_class_transformer805.Expose)(),
|
|
50004
|
-
(0, import_class_validator782.IsDefined)({ message: "El campo lot es obligatorio." }),
|
|
50005
|
-
(0, import_class_validator782.IsString)()
|
|
50006
|
-
], MaterialesMifibraDBDTO.prototype, "lote", 2);
|
|
50007
50000
|
__decorateClass([
|
|
50008
50001
|
(0, import_class_transformer805.Expose)(),
|
|
50009
50002
|
(0, import_class_validator782.IsDefined)({ message: "El campo quantity es obligatorio." }),
|
|
50010
|
-
(0,
|
|
50003
|
+
(0, import_class_transformer805.Type)(() => Number),
|
|
50004
|
+
(0, import_class_validator782.IsNumber)(),
|
|
50005
|
+
(0, import_class_validator782.Min)(1, { message: "La cantidad minima es $constraint1" })
|
|
50011
50006
|
], MaterialesMifibraDBDTO.prototype, "cantidad", 2);
|
|
50012
50007
|
__decorateClass([
|
|
50013
50008
|
(0, import_class_transformer805.Expose)(),
|
|
50014
|
-
(0, import_class_validator782.IsDefined)({ message: "El campo
|
|
50009
|
+
(0, import_class_validator782.IsDefined)({ message: "El campo serie es obligatorio." }),
|
|
50015
50010
|
(0, import_class_validator782.IsString)()
|
|
50016
50011
|
], MaterialesMifibraDBDTO.prototype, "invsn", 2);
|
|
50017
|
-
__decorateClass([
|
|
50018
|
-
(0, import_class_transformer805.Expose)(),
|
|
50019
|
-
(0, import_class_validator782.IsDefined)({ message: "El campo invtype es obligatorio." }),
|
|
50020
|
-
(0, import_class_validator782.IsString)()
|
|
50021
|
-
], MaterialesMifibraDBDTO.prototype, "invtype", 2);
|
|
50022
50012
|
__decorateClass([
|
|
50023
50013
|
(0, import_class_transformer805.Expose)(),
|
|
50024
50014
|
(0, import_class_validator782.IsDefined)({ message: "El campo invpool es obligatorio." }),
|
|
@@ -53096,14 +53086,8 @@ __decorateClass([
|
|
|
53096
53086
|
var import_class_validator812 = require("class-validator");
|
|
53097
53087
|
var import_class_transformer835 = require("class-transformer");
|
|
53098
53088
|
var UpdateUserDto = class {
|
|
53099
|
-
_id;
|
|
53100
53089
|
profileId;
|
|
53101
53090
|
};
|
|
53102
|
-
__decorateClass([
|
|
53103
|
-
(0, import_class_validator812.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
53104
|
-
(0, import_class_validator812.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
53105
|
-
(0, import_class_transformer835.Expose)()
|
|
53106
|
-
], UpdateUserDto.prototype, "_id", 2);
|
|
53107
53091
|
__decorateClass([
|
|
53108
53092
|
(0, import_class_validator812.IsDefined)({ message: "El campo Perfil es obligatorio" }),
|
|
53109
53093
|
(0, import_class_validator812.ValidateIf)((_, value) => value !== ""),
|