sigo-entities 1.2.397 → 1.2.398
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.js +0 -13
- package/dist/index.mjs +1 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38381,68 +38381,55 @@ __decorateClass([
|
|
|
38381
38381
|
], InventarioDTO.prototype, "Codigo", 2);
|
|
38382
38382
|
__decorateClass([
|
|
38383
38383
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38384
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38385
38384
|
(0, import_class_transformer690.Expose)()
|
|
38386
38385
|
], InventarioDTO.prototype, "Descripcion", 2);
|
|
38387
38386
|
__decorateClass([
|
|
38388
38387
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38389
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38390
38388
|
(0, import_class_transformer690.Expose)()
|
|
38391
38389
|
], InventarioDTO.prototype, "UM", 2);
|
|
38392
38390
|
__decorateClass([
|
|
38393
38391
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38394
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38395
38392
|
(0, import_class_transformer690.Expose)()
|
|
38396
38393
|
], InventarioDTO.prototype, "Tipo_Material", 2);
|
|
38397
38394
|
__decorateClass([
|
|
38398
38395
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38399
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38400
38396
|
(0, import_class_transformer690.Expose)()
|
|
38401
38397
|
], InventarioDTO.prototype, "Acci\xF3n", 2);
|
|
38402
38398
|
__decorateClass([
|
|
38403
38399
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38404
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38405
38400
|
(0, import_class_transformer690.Expose)()
|
|
38406
38401
|
], InventarioDTO.prototype, "Serie", 2);
|
|
38407
38402
|
__decorateClass([
|
|
38408
38403
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38409
|
-
(0, import_class_validator667.Length)(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
38410
38404
|
(0, import_class_transformer690.Expose)()
|
|
38411
38405
|
], InventarioDTO.prototype, "Numero_Medidor", 2);
|
|
38412
38406
|
__decorateClass([
|
|
38413
38407
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38414
|
-
(0, import_class_validator667.Length)(0, 16, { message: "debe tener entre 0 y 16 caracteres" }),
|
|
38415
38408
|
(0, import_class_transformer690.Expose)()
|
|
38416
38409
|
], InventarioDTO.prototype, "Tipo_Registrador", 2);
|
|
38417
38410
|
__decorateClass([
|
|
38418
38411
|
(0, import_class_transformer690.Type)(() => MarcaDTO),
|
|
38419
|
-
(0, import_class_validator667.IsNotEmpty)({ message: "es requerido" }),
|
|
38420
38412
|
(0, import_class_transformer690.Expose)(),
|
|
38421
38413
|
(0, import_class_validator667.ValidateNested)()
|
|
38422
38414
|
], InventarioDTO.prototype, "Marca", 2);
|
|
38423
38415
|
__decorateClass([
|
|
38424
38416
|
(0, import_class_transformer690.Type)(() => ModeloDTO),
|
|
38425
|
-
(0, import_class_validator667.IsNotEmpty)({ message: "es requerido" }),
|
|
38426
38417
|
(0, import_class_transformer690.Expose)(),
|
|
38427
38418
|
(0, import_class_validator667.ValidateNested)()
|
|
38428
38419
|
], InventarioDTO.prototype, "Modelo", 2);
|
|
38429
38420
|
__decorateClass([
|
|
38430
38421
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38431
|
-
(0, import_class_validator667.Length)(0, 11, { message: "debe tener entre 0 y 11 caracteres" }),
|
|
38432
38422
|
(0, import_class_transformer690.Expose)()
|
|
38433
38423
|
], InventarioDTO.prototype, "Tipo_Tecnologia", 2);
|
|
38434
38424
|
__decorateClass([
|
|
38435
38425
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38436
|
-
(0, import_class_validator667.Length)(0, 14, { message: "debe tener entre 0 y 14 caracteres" }),
|
|
38437
38426
|
(0, import_class_transformer690.Expose)()
|
|
38438
38427
|
], InventarioDTO.prototype, "Ubicacion", 2);
|
|
38439
38428
|
__decorateClass([
|
|
38440
38429
|
(0, import_class_validator667.IsString)({ message: "debe ser un texto" }),
|
|
38441
|
-
(0, import_class_validator667.Length)(0, 18, { message: "debe tener entre 0 y 18 caracteres" }),
|
|
38442
38430
|
(0, import_class_transformer690.Expose)()
|
|
38443
38431
|
], InventarioDTO.prototype, "Propiedad", 2);
|
|
38444
38432
|
__decorateClass([
|
|
38445
|
-
(0, import_class_validator667.IsNotEmpty)({ message: "es requerido" }),
|
|
38446
38433
|
(0, import_class_transformer690.Type)(() => Date),
|
|
38447
38434
|
(0, import_class_validator667.IsDate)({ message: "debe ser una fecha" }),
|
|
38448
38435
|
(0, import_class_transformer690.Expose)()
|
package/dist/index.mjs
CHANGED
|
@@ -37677,7 +37677,7 @@ __decorateClass([
|
|
|
37677
37677
|
], FechasDTO.prototype, "Fin_Previsto", 2);
|
|
37678
37678
|
|
|
37679
37679
|
// src/operativa/procesos/tdc/chile/dto/inventario-dto.ts
|
|
37680
|
-
import { IsDate as IsDate147,
|
|
37680
|
+
import { IsDate as IsDate147, IsString as IsString538, Length as Length327, ValidateNested as ValidateNested386 } from "class-validator";
|
|
37681
37681
|
|
|
37682
37682
|
// src/operativa/procesos/tdc/chile/dto/marca-dto.ts
|
|
37683
37683
|
import { Expose as Expose662 } from "class-transformer";
|
|
@@ -37740,68 +37740,55 @@ __decorateClass([
|
|
|
37740
37740
|
], InventarioDTO.prototype, "Codigo", 2);
|
|
37741
37741
|
__decorateClass([
|
|
37742
37742
|
IsString538({ message: "debe ser un texto" }),
|
|
37743
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37744
37743
|
Expose664()
|
|
37745
37744
|
], InventarioDTO.prototype, "Descripcion", 2);
|
|
37746
37745
|
__decorateClass([
|
|
37747
37746
|
IsString538({ message: "debe ser un texto" }),
|
|
37748
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37749
37747
|
Expose664()
|
|
37750
37748
|
], InventarioDTO.prototype, "UM", 2);
|
|
37751
37749
|
__decorateClass([
|
|
37752
37750
|
IsString538({ message: "debe ser un texto" }),
|
|
37753
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37754
37751
|
Expose664()
|
|
37755
37752
|
], InventarioDTO.prototype, "Tipo_Material", 2);
|
|
37756
37753
|
__decorateClass([
|
|
37757
37754
|
IsString538({ message: "debe ser un texto" }),
|
|
37758
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37759
37755
|
Expose664()
|
|
37760
37756
|
], InventarioDTO.prototype, "Acci\xF3n", 2);
|
|
37761
37757
|
__decorateClass([
|
|
37762
37758
|
IsString538({ message: "debe ser un texto" }),
|
|
37763
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37764
37759
|
Expose664()
|
|
37765
37760
|
], InventarioDTO.prototype, "Serie", 2);
|
|
37766
37761
|
__decorateClass([
|
|
37767
37762
|
IsString538({ message: "debe ser un texto" }),
|
|
37768
|
-
Length327(1, 32, { message: "debe tener entre 1 y 32 caracteres" }),
|
|
37769
37763
|
Expose664()
|
|
37770
37764
|
], InventarioDTO.prototype, "Numero_Medidor", 2);
|
|
37771
37765
|
__decorateClass([
|
|
37772
37766
|
IsString538({ message: "debe ser un texto" }),
|
|
37773
|
-
Length327(0, 16, { message: "debe tener entre 0 y 16 caracteres" }),
|
|
37774
37767
|
Expose664()
|
|
37775
37768
|
], InventarioDTO.prototype, "Tipo_Registrador", 2);
|
|
37776
37769
|
__decorateClass([
|
|
37777
37770
|
Type435(() => MarcaDTO),
|
|
37778
|
-
IsNotEmpty448({ message: "es requerido" }),
|
|
37779
37771
|
Expose664(),
|
|
37780
37772
|
ValidateNested386()
|
|
37781
37773
|
], InventarioDTO.prototype, "Marca", 2);
|
|
37782
37774
|
__decorateClass([
|
|
37783
37775
|
Type435(() => ModeloDTO),
|
|
37784
|
-
IsNotEmpty448({ message: "es requerido" }),
|
|
37785
37776
|
Expose664(),
|
|
37786
37777
|
ValidateNested386()
|
|
37787
37778
|
], InventarioDTO.prototype, "Modelo", 2);
|
|
37788
37779
|
__decorateClass([
|
|
37789
37780
|
IsString538({ message: "debe ser un texto" }),
|
|
37790
|
-
Length327(0, 11, { message: "debe tener entre 0 y 11 caracteres" }),
|
|
37791
37781
|
Expose664()
|
|
37792
37782
|
], InventarioDTO.prototype, "Tipo_Tecnologia", 2);
|
|
37793
37783
|
__decorateClass([
|
|
37794
37784
|
IsString538({ message: "debe ser un texto" }),
|
|
37795
|
-
Length327(0, 14, { message: "debe tener entre 0 y 14 caracteres" }),
|
|
37796
37785
|
Expose664()
|
|
37797
37786
|
], InventarioDTO.prototype, "Ubicacion", 2);
|
|
37798
37787
|
__decorateClass([
|
|
37799
37788
|
IsString538({ message: "debe ser un texto" }),
|
|
37800
|
-
Length327(0, 18, { message: "debe tener entre 0 y 18 caracteres" }),
|
|
37801
37789
|
Expose664()
|
|
37802
37790
|
], InventarioDTO.prototype, "Propiedad", 2);
|
|
37803
37791
|
__decorateClass([
|
|
37804
|
-
IsNotEmpty448({ message: "es requerido" }),
|
|
37805
37792
|
Type435(() => Date),
|
|
37806
37793
|
IsDate147({ message: "debe ser una fecha" }),
|
|
37807
37794
|
Expose664()
|