sigo-entities 1.2.17 → 1.2.18
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -5
- package/dist/index.mjs +11 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5892,7 +5892,8 @@ declare class TOAOrderStockENTITY {
|
|
|
5892
5892
|
quantity: number;
|
|
5893
5893
|
numero_de_peticion: string;
|
|
5894
5894
|
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
5895
|
-
|
|
5895
|
+
state_consumption: StateInventory;
|
|
5896
|
+
state_replacement: StateInventory;
|
|
5896
5897
|
}
|
|
5897
5898
|
|
|
5898
5899
|
declare class SegmentoDTO {
|
package/dist/index.d.ts
CHANGED
|
@@ -5892,7 +5892,8 @@ declare class TOAOrderStockENTITY {
|
|
|
5892
5892
|
quantity: number;
|
|
5893
5893
|
numero_de_peticion: string;
|
|
5894
5894
|
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
5895
|
-
|
|
5895
|
+
state_consumption: StateInventory;
|
|
5896
|
+
state_replacement: StateInventory;
|
|
5896
5897
|
}
|
|
5897
5898
|
|
|
5898
5899
|
declare class SegmentoDTO {
|
package/dist/index.js
CHANGED
|
@@ -31292,7 +31292,8 @@ var TOAOrderStockENTITY = class {
|
|
|
31292
31292
|
quantity;
|
|
31293
31293
|
numero_de_peticion;
|
|
31294
31294
|
stock_quantity_employee = [];
|
|
31295
|
-
|
|
31295
|
+
state_consumption;
|
|
31296
|
+
state_replacement;
|
|
31296
31297
|
};
|
|
31297
31298
|
__decorateClass([
|
|
31298
31299
|
(0, import_class_validator530.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
@@ -31339,10 +31340,15 @@ __decorateClass([
|
|
|
31339
31340
|
(0, import_class_transformer529.Expose)({ name: "stock_quantity_employee" })
|
|
31340
31341
|
], TOAOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
31341
31342
|
__decorateClass([
|
|
31342
|
-
(0, import_class_validator530.IsDefined)({ message: "El campo
|
|
31343
|
-
(0, import_class_transformer529.Expose)({ name: "
|
|
31344
|
-
(0, import_class_validator530.IsEnum)(StateInventory, { message: `El campo
|
|
31345
|
-
], TOAOrderStockENTITY.prototype, "
|
|
31343
|
+
(0, import_class_validator530.IsDefined)({ message: "El campo estado consumo es obligatorio." }),
|
|
31344
|
+
(0, import_class_transformer529.Expose)({ name: "state_consumption" }),
|
|
31345
|
+
(0, import_class_validator530.IsEnum)(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
31346
|
+
], TOAOrderStockENTITY.prototype, "state_consumption", 2);
|
|
31347
|
+
__decorateClass([
|
|
31348
|
+
(0, import_class_validator530.IsDefined)({ message: "El campo estado reposicion es obligatorio." }),
|
|
31349
|
+
(0, import_class_transformer529.Expose)({ name: "state_replacement" }),
|
|
31350
|
+
(0, import_class_validator530.IsEnum)(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
31351
|
+
], TOAOrderStockENTITY.prototype, "state_replacement", 2);
|
|
31346
31352
|
|
|
31347
31353
|
// src/operativa/procesos/toa_movistar/shared/dto/index.ts
|
|
31348
31354
|
var SegmentoDTO = class {
|
package/dist/index.mjs
CHANGED
|
@@ -30893,7 +30893,8 @@ var TOAOrderStockENTITY = class {
|
|
|
30893
30893
|
quantity;
|
|
30894
30894
|
numero_de_peticion;
|
|
30895
30895
|
stock_quantity_employee = [];
|
|
30896
|
-
|
|
30896
|
+
state_consumption;
|
|
30897
|
+
state_replacement;
|
|
30897
30898
|
};
|
|
30898
30899
|
__decorateClass([
|
|
30899
30900
|
IsDefined134({ message: "El campo _id es obligatorio." }),
|
|
@@ -30940,10 +30941,15 @@ __decorateClass([
|
|
|
30940
30941
|
Expose527({ name: "stock_quantity_employee" })
|
|
30941
30942
|
], TOAOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
30942
30943
|
__decorateClass([
|
|
30943
|
-
IsDefined134({ message: "El campo
|
|
30944
|
-
Expose527({ name: "
|
|
30945
|
-
IsEnum18(StateInventory, { message: `El campo
|
|
30946
|
-
], TOAOrderStockENTITY.prototype, "
|
|
30944
|
+
IsDefined134({ message: "El campo estado consumo es obligatorio." }),
|
|
30945
|
+
Expose527({ name: "state_consumption" }),
|
|
30946
|
+
IsEnum18(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
30947
|
+
], TOAOrderStockENTITY.prototype, "state_consumption", 2);
|
|
30948
|
+
__decorateClass([
|
|
30949
|
+
IsDefined134({ message: "El campo estado reposicion es obligatorio." }),
|
|
30950
|
+
Expose527({ name: "state_replacement" }),
|
|
30951
|
+
IsEnum18(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
30952
|
+
], TOAOrderStockENTITY.prototype, "state_replacement", 2);
|
|
30947
30953
|
|
|
30948
30954
|
// src/operativa/procesos/toa_movistar/shared/dto/index.ts
|
|
30949
30955
|
var SegmentoDTO = class {
|