sigo-entities 1.2.17 → 1.2.19
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 +12 -8
- package/dist/index.mjs +398 -394
- 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
|
@@ -25720,12 +25720,10 @@ __decorateClass([
|
|
|
25720
25720
|
], TipoAlmacenENTITY.prototype, "ID_TipoAlmacen", 2);
|
|
25721
25721
|
__decorateClass([
|
|
25722
25722
|
(0, import_class_validator445.IsString)({ message: "debe ser un texto" }),
|
|
25723
|
-
(0, import_class_validator445.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
25724
25723
|
(0, import_class_transformer444.Expose)()
|
|
25725
25724
|
], TipoAlmacenENTITY.prototype, "Nombre", 2);
|
|
25726
25725
|
__decorateClass([
|
|
25727
25726
|
(0, import_class_validator445.IsString)({ message: "debe ser un texto" }),
|
|
25728
|
-
(0, import_class_validator445.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
25729
25727
|
(0, import_class_transformer444.Expose)()
|
|
25730
25728
|
], TipoAlmacenENTITY.prototype, "Descripcion", 2);
|
|
25731
25729
|
__decorateClass([
|
|
@@ -27978,7 +27976,7 @@ var ScrapingCredentialENTITY = class {
|
|
|
27978
27976
|
system = "TOA_MOVISTAR" /* TOA_MOVISTAR */;
|
|
27979
27977
|
Pais = new CodigoNombreDTO();
|
|
27980
27978
|
Delegacion = new CodigoNombreDTO();
|
|
27981
|
-
toScrape =
|
|
27979
|
+
toScrape = true;
|
|
27982
27980
|
};
|
|
27983
27981
|
__decorateClass([
|
|
27984
27982
|
(0, import_class_validator488.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
@@ -31292,7 +31290,8 @@ var TOAOrderStockENTITY = class {
|
|
|
31292
31290
|
quantity;
|
|
31293
31291
|
numero_de_peticion;
|
|
31294
31292
|
stock_quantity_employee = [];
|
|
31295
|
-
|
|
31293
|
+
state_consumption;
|
|
31294
|
+
state_replacement;
|
|
31296
31295
|
};
|
|
31297
31296
|
__decorateClass([
|
|
31298
31297
|
(0, import_class_validator530.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
@@ -31339,10 +31338,15 @@ __decorateClass([
|
|
|
31339
31338
|
(0, import_class_transformer529.Expose)({ name: "stock_quantity_employee" })
|
|
31340
31339
|
], TOAOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
31341
31340
|
__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, "
|
|
31341
|
+
(0, import_class_validator530.IsDefined)({ message: "El campo estado consumo es obligatorio." }),
|
|
31342
|
+
(0, import_class_transformer529.Expose)({ name: "state_consumption" }),
|
|
31343
|
+
(0, import_class_validator530.IsEnum)(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
31344
|
+
], TOAOrderStockENTITY.prototype, "state_consumption", 2);
|
|
31345
|
+
__decorateClass([
|
|
31346
|
+
(0, import_class_validator530.IsDefined)({ message: "El campo estado reposicion es obligatorio." }),
|
|
31347
|
+
(0, import_class_transformer529.Expose)({ name: "state_replacement" }),
|
|
31348
|
+
(0, import_class_validator530.IsEnum)(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
31349
|
+
], TOAOrderStockENTITY.prototype, "state_replacement", 2);
|
|
31346
31350
|
|
|
31347
31351
|
// src/operativa/procesos/toa_movistar/shared/dto/index.ts
|
|
31348
31352
|
var SegmentoDTO = class {
|