sigo-entities 1.0.78 → 1.0.79
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 +8 -8
- package/dist/index.mjs +168 -168
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5977,9 +5977,9 @@ __decorateClass([
|
|
|
5977
5977
|
(0, import_class_transformer117.Expose)()
|
|
5978
5978
|
], HomePassDTO.prototype, "ID_HPListMO", 2);
|
|
5979
5979
|
__decorateClass([
|
|
5980
|
+
(0, import_class_validator118.IsDefined)({ message: "es requerido" }),
|
|
5980
5981
|
(0, import_class_validator118.IsString)({ message: "debe ser un texto" }),
|
|
5981
|
-
(0, import_class_validator118.
|
|
5982
|
-
(0, import_class_validator118.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
5982
|
+
(0, import_class_validator118.MinLength)(0, { message: "debe tener entre al menos 0 caracter" }),
|
|
5983
5983
|
(0, import_class_transformer117.Expose)()
|
|
5984
5984
|
], HomePassDTO.prototype, "Type", 2);
|
|
5985
5985
|
__decorateClass([
|
|
@@ -5993,15 +5993,15 @@ __decorateClass([
|
|
|
5993
5993
|
(0, import_class_transformer117.Expose)()
|
|
5994
5994
|
], HomePassDTO.prototype, "ID_AddressList", 2);
|
|
5995
5995
|
__decorateClass([
|
|
5996
|
+
(0, import_class_validator118.IsDefined)({ message: "es requerido" }),
|
|
5996
5997
|
(0, import_class_validator118.IsString)({ message: "debe ser un texto" }),
|
|
5997
|
-
(0, import_class_validator118.
|
|
5998
|
-
(0, import_class_validator118.Length)(1, 40, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
5998
|
+
(0, import_class_validator118.MinLength)(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
5999
5999
|
(0, import_class_transformer117.Expose)()
|
|
6000
6000
|
], HomePassDTO.prototype, "AddressID", 2);
|
|
6001
6001
|
__decorateClass([
|
|
6002
|
+
(0, import_class_validator118.IsDefined)({ message: "es requerido" }),
|
|
6002
6003
|
(0, import_class_validator118.IsString)({ message: "debe ser un texto" }),
|
|
6003
|
-
(0, import_class_validator118.
|
|
6004
|
-
(0, import_class_validator118.Length)(1, 40, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
6004
|
+
(0, import_class_validator118.MinLength)(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
6005
6005
|
(0, import_class_transformer117.Expose)()
|
|
6006
6006
|
], HomePassDTO.prototype, "Home_ID", 2);
|
|
6007
6007
|
__decorateClass([
|
|
@@ -6023,9 +6023,9 @@ __decorateClass([
|
|
|
6023
6023
|
(0, import_class_transformer117.Expose)()
|
|
6024
6024
|
], HomePassDTO.prototype, "HouseNumber", 2);
|
|
6025
6025
|
__decorateClass([
|
|
6026
|
+
(0, import_class_validator118.IsDefined)({ message: "es requerido" }),
|
|
6026
6027
|
(0, import_class_validator118.IsString)({ message: "debe ser un texto" }),
|
|
6027
|
-
(0, import_class_validator118.
|
|
6028
|
-
(0, import_class_validator118.Length)(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
6028
|
+
(0, import_class_validator118.MinLength)(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
6029
6029
|
(0, import_class_transformer117.Expose)()
|
|
6030
6030
|
], HomePassDTO.prototype, "HouseNumbreComplement", 2);
|
|
6031
6031
|
|
package/dist/index.mjs
CHANGED
|
@@ -5549,7 +5549,7 @@ __decorateClass([
|
|
|
5549
5549
|
|
|
5550
5550
|
// src/programados/procesos/trabajo/shared/dto/home-pass-dto.ts
|
|
5551
5551
|
import { Expose as Expose115 } from "class-transformer";
|
|
5552
|
-
import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber79, IsString as IsString93, Length as Length72 } from "class-validator";
|
|
5552
|
+
import { IsDefined as IsDefined15, IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber79, IsString as IsString93, Length as Length72, MinLength as MinLength16 } from "class-validator";
|
|
5553
5553
|
var HomePassDTO = class {
|
|
5554
5554
|
ID_HPListMO = 0;
|
|
5555
5555
|
Type = "";
|
|
@@ -5568,9 +5568,9 @@ __decorateClass([
|
|
|
5568
5568
|
Expose115()
|
|
5569
5569
|
], HomePassDTO.prototype, "ID_HPListMO", 2);
|
|
5570
5570
|
__decorateClass([
|
|
5571
|
+
IsDefined15({ message: "es requerido" }),
|
|
5571
5572
|
IsString93({ message: "debe ser un texto" }),
|
|
5572
|
-
|
|
5573
|
-
Length72(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
5573
|
+
MinLength16(0, { message: "debe tener entre al menos 0 caracter" }),
|
|
5574
5574
|
Expose115()
|
|
5575
5575
|
], HomePassDTO.prototype, "Type", 2);
|
|
5576
5576
|
__decorateClass([
|
|
@@ -5584,15 +5584,15 @@ __decorateClass([
|
|
|
5584
5584
|
Expose115()
|
|
5585
5585
|
], HomePassDTO.prototype, "ID_AddressList", 2);
|
|
5586
5586
|
__decorateClass([
|
|
5587
|
+
IsDefined15({ message: "es requerido" }),
|
|
5587
5588
|
IsString93({ message: "debe ser un texto" }),
|
|
5588
|
-
|
|
5589
|
-
Length72(1, 40, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
5589
|
+
MinLength16(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
5590
5590
|
Expose115()
|
|
5591
5591
|
], HomePassDTO.prototype, "AddressID", 2);
|
|
5592
5592
|
__decorateClass([
|
|
5593
|
+
IsDefined15({ message: "es requerido" }),
|
|
5593
5594
|
IsString93({ message: "debe ser un texto" }),
|
|
5594
|
-
|
|
5595
|
-
Length72(1, 40, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
5595
|
+
MinLength16(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
5596
5596
|
Expose115()
|
|
5597
5597
|
], HomePassDTO.prototype, "Home_ID", 2);
|
|
5598
5598
|
__decorateClass([
|
|
@@ -5614,15 +5614,15 @@ __decorateClass([
|
|
|
5614
5614
|
Expose115()
|
|
5615
5615
|
], HomePassDTO.prototype, "HouseNumber", 2);
|
|
5616
5616
|
__decorateClass([
|
|
5617
|
+
IsDefined15({ message: "es requerido" }),
|
|
5617
5618
|
IsString93({ message: "debe ser un texto" }),
|
|
5618
|
-
|
|
5619
|
-
Length72(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
5619
|
+
MinLength16(0, { message: "debe tener entre al menos 0 caracteres" }),
|
|
5620
5620
|
Expose115()
|
|
5621
5621
|
], HomePassDTO.prototype, "HouseNumbreComplement", 2);
|
|
5622
5622
|
|
|
5623
5623
|
// src/programados/procesos/trabajo/shared/dto/materiales-dto.ts
|
|
5624
5624
|
import { Expose as Expose116, Transform as Transform12, Type as Type73 } from "class-transformer";
|
|
5625
|
-
import { IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber80, IsString as IsString94, Length as Length73, MinLength as
|
|
5625
|
+
import { IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber80, IsString as IsString94, Length as Length73, MinLength as MinLength17, ValidateNested as ValidateNested65 } from "class-validator";
|
|
5626
5626
|
var MaterialesDTO = class {
|
|
5627
5627
|
Codigo = "";
|
|
5628
5628
|
CodigoLlave = "";
|
|
@@ -5647,7 +5647,7 @@ __decorateClass([
|
|
|
5647
5647
|
__decorateClass([
|
|
5648
5648
|
Transform12(({ value }) => value === void 0 ? "" : value),
|
|
5649
5649
|
IsString94({ message: "debe ser un texto" }),
|
|
5650
|
-
|
|
5650
|
+
MinLength17(0, { message: "debe tener al menos 0 caracteres" }),
|
|
5651
5651
|
Expose116()
|
|
5652
5652
|
], MaterialesDTO.prototype, "CodigoLlave", 2);
|
|
5653
5653
|
__decorateClass([
|
|
@@ -5798,19 +5798,19 @@ __decorateClass([
|
|
|
5798
5798
|
|
|
5799
5799
|
// src/programados/procesos/trabajo/shared/dto/precio-trabajo.dto.ts
|
|
5800
5800
|
import { Expose as Expose118 } from "class-transformer";
|
|
5801
|
-
import { IsDefined as
|
|
5801
|
+
import { IsDefined as IsDefined16, IsNumber as IsNumber82, Min as Min66 } from "class-validator";
|
|
5802
5802
|
var PrecioTrabajoDTO = class {
|
|
5803
5803
|
ID_PrecioContratistaMO = 0;
|
|
5804
5804
|
ID_PrecioContratistaMaterial = 0;
|
|
5805
5805
|
};
|
|
5806
5806
|
__decorateClass([
|
|
5807
|
-
|
|
5807
|
+
IsDefined16({ message: "es requerido" }),
|
|
5808
5808
|
IsNumber82({}, { message: "debe ser un numero" }),
|
|
5809
5809
|
Min66(0, { message: "debe ser m\xEDnimo 0" }),
|
|
5810
5810
|
Expose118()
|
|
5811
5811
|
], PrecioTrabajoDTO.prototype, "ID_PrecioContratistaMO", 2);
|
|
5812
5812
|
__decorateClass([
|
|
5813
|
-
|
|
5813
|
+
IsDefined16({ message: "es requerido" }),
|
|
5814
5814
|
IsNumber82({}, { message: "debe ser un numero" }),
|
|
5815
5815
|
Min66(0, { message: "debe ser m\xEDnimo 0" }),
|
|
5816
5816
|
Expose118()
|
|
@@ -5863,7 +5863,7 @@ __decorateClass([
|
|
|
5863
5863
|
|
|
5864
5864
|
// src/programados/procesos/trabajo/shared/dto/turno-dto.ts
|
|
5865
5865
|
import { Expose as Expose120 } from "class-transformer";
|
|
5866
|
-
import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber84, IsString as IsString97, MinLength as
|
|
5866
|
+
import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber84, IsString as IsString97, MinLength as MinLength18 } from "class-validator";
|
|
5867
5867
|
var TurnoDTO = class {
|
|
5868
5868
|
Codigo = "";
|
|
5869
5869
|
Hora_Fin = 0;
|
|
@@ -5871,7 +5871,7 @@ var TurnoDTO = class {
|
|
|
5871
5871
|
};
|
|
5872
5872
|
__decorateClass([
|
|
5873
5873
|
IsString97({ message: "debe ser un texto" }),
|
|
5874
|
-
|
|
5874
|
+
MinLength18(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
5875
5875
|
Expose120()
|
|
5876
5876
|
], TurnoDTO.prototype, "Codigo", 2);
|
|
5877
5877
|
__decorateClass([
|
|
@@ -5887,7 +5887,7 @@ __decorateClass([
|
|
|
5887
5887
|
|
|
5888
5888
|
// src/programados/procesos/trabajo/shared/dto/ubicacion-dto.ts
|
|
5889
5889
|
import { Expose as Expose121, Transform as Transform13, Type as Type76 } from "class-transformer";
|
|
5890
|
-
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber85, IsString as IsString98, Length as Length76, MinLength as
|
|
5890
|
+
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber85, IsString as IsString98, Length as Length76, MinLength as MinLength19, ValidateNested as ValidateNested68 } from "class-validator";
|
|
5891
5891
|
var UbicacionDTO = class {
|
|
5892
5892
|
ID_Direccion = 0;
|
|
5893
5893
|
Direccion = "";
|
|
@@ -5911,7 +5911,7 @@ __decorateClass([
|
|
|
5911
5911
|
__decorateClass([
|
|
5912
5912
|
Transform13(({ value }) => value === null ? "" : value),
|
|
5913
5913
|
IsString98({ message: "debe ser un texto" }),
|
|
5914
|
-
|
|
5914
|
+
MinLength19(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5915
5915
|
Expose121()
|
|
5916
5916
|
], UbicacionDTO.prototype, "Localidad_Descrip", 2);
|
|
5917
5917
|
__decorateClass([
|
|
@@ -5923,7 +5923,7 @@ __decorateClass([
|
|
|
5923
5923
|
__decorateClass([
|
|
5924
5924
|
Transform13(({ value }) => value === null ? "" : value),
|
|
5925
5925
|
IsString98({ message: "debe ser un texto" }),
|
|
5926
|
-
|
|
5926
|
+
MinLength19(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5927
5927
|
Expose121()
|
|
5928
5928
|
], UbicacionDTO.prototype, "Municipio", 2);
|
|
5929
5929
|
__decorateClass([
|
|
@@ -5944,7 +5944,7 @@ import { Expose as Expose123, Type as Type78 } from "class-transformer";
|
|
|
5944
5944
|
|
|
5945
5945
|
// src/programados/procesos/trabajo/shared/dto/valorizacion-dto.ts
|
|
5946
5946
|
import { Expose as Expose122, Type as Type77 } from "class-transformer";
|
|
5947
|
-
import { IsArray as IsArray36, IsDate as IsDate30, IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber86, IsString as IsString99, Length as Length77, MinLength as
|
|
5947
|
+
import { IsArray as IsArray36, IsDate as IsDate30, IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber86, IsString as IsString99, Length as Length77, MinLength as MinLength20, ValidateNested as ValidateNested69 } from "class-validator";
|
|
5948
5948
|
var ValorizacionDTO = class {
|
|
5949
5949
|
ID_Valorizacion = 0;
|
|
5950
5950
|
Amap = 0;
|
|
@@ -6048,12 +6048,12 @@ __decorateClass([
|
|
|
6048
6048
|
], ValorizacionDTO.prototype, "Semana", 2);
|
|
6049
6049
|
__decorateClass([
|
|
6050
6050
|
IsString99({ message: "debe ser un texto" }),
|
|
6051
|
-
|
|
6051
|
+
MinLength20(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6052
6052
|
Expose122()
|
|
6053
6053
|
], ValorizacionDTO.prototype, "Calle", 2);
|
|
6054
6054
|
__decorateClass([
|
|
6055
6055
|
IsString99({ message: "debe ser un texto" }),
|
|
6056
|
-
|
|
6056
|
+
MinLength20(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6057
6057
|
Expose122()
|
|
6058
6058
|
], ValorizacionDTO.prototype, "Numero", 2);
|
|
6059
6059
|
__decorateClass([
|
|
@@ -6090,7 +6090,7 @@ __decorateClass([
|
|
|
6090
6090
|
__decorateClass([
|
|
6091
6091
|
IsString99({ message: "debe ser un texto" }),
|
|
6092
6092
|
IsNotEmpty104({ message: "es requerido" }),
|
|
6093
|
-
|
|
6093
|
+
MinLength20(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6094
6094
|
Expose122()
|
|
6095
6095
|
], ValorizacionDTO.prototype, "Observaciones", 2);
|
|
6096
6096
|
__decorateClass([
|
|
@@ -8482,11 +8482,11 @@ __decorateClass([
|
|
|
8482
8482
|
|
|
8483
8483
|
// src/programados/procesos/obra/shared/dto/detalle-chile-dto.ts
|
|
8484
8484
|
import { Expose as Expose155, Type as Type104 } from "class-transformer";
|
|
8485
|
-
import { IsArray as IsArray52, IsDate as IsDate45, IsNotEmpty as IsNotEmpty136, IsNumber as IsNumber109, IsString as IsString124, Length as Length102, Min as Min76, ValidateNested as ValidateNested95, MinLength as
|
|
8485
|
+
import { IsArray as IsArray52, IsDate as IsDate45, IsNotEmpty as IsNotEmpty136, IsNumber as IsNumber109, IsString as IsString124, Length as Length102, Min as Min76, ValidateNested as ValidateNested95, MinLength as MinLength22 } from "class-validator";
|
|
8486
8486
|
|
|
8487
8487
|
// src/programados/procesos/obra/shared/dto/historico-dto.ts
|
|
8488
8488
|
import { Expose as Expose154, Type as Type103 } from "class-transformer";
|
|
8489
|
-
import { IsDate as IsDate44, IsString as IsString123, Length as Length101, MinLength as
|
|
8489
|
+
import { IsDate as IsDate44, IsString as IsString123, Length as Length101, MinLength as MinLength21 } from "class-validator";
|
|
8490
8490
|
var HistoricoDTO = class {
|
|
8491
8491
|
Actividad = "";
|
|
8492
8492
|
Estado = "";
|
|
@@ -8517,12 +8517,12 @@ __decorateClass([
|
|
|
8517
8517
|
], HistoricoDTO.prototype, "Fin", 2);
|
|
8518
8518
|
__decorateClass([
|
|
8519
8519
|
IsString123({ message: "debe ser un texto" }),
|
|
8520
|
-
|
|
8520
|
+
MinLength21(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8521
8521
|
Expose154()
|
|
8522
8522
|
], HistoricoDTO.prototype, "Usuario", 2);
|
|
8523
8523
|
__decorateClass([
|
|
8524
8524
|
IsString123({ message: "debe ser un texto" }),
|
|
8525
|
-
|
|
8525
|
+
MinLength21(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8526
8526
|
Expose154()
|
|
8527
8527
|
], HistoricoDTO.prototype, "Comentario", 2);
|
|
8528
8528
|
|
|
@@ -8626,7 +8626,7 @@ __decorateClass([
|
|
|
8626
8626
|
], DetalleChileObraDTO.prototype, "cliente", 2);
|
|
8627
8627
|
__decorateClass([
|
|
8628
8628
|
IsString124({ message: "debe ser un texto" }),
|
|
8629
|
-
|
|
8629
|
+
MinLength22(1, { message: "debe tener al menos 1 caracter" }),
|
|
8630
8630
|
Expose155()
|
|
8631
8631
|
], DetalleChileObraDTO.prototype, "direccion", 2);
|
|
8632
8632
|
__decorateClass([
|
|
@@ -8641,12 +8641,12 @@ __decorateClass([
|
|
|
8641
8641
|
], DetalleChileObraDTO.prototype, "nombreproyecto", 2);
|
|
8642
8642
|
__decorateClass([
|
|
8643
8643
|
IsString124({ message: "debe ser un texto" }),
|
|
8644
|
-
|
|
8644
|
+
MinLength22(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8645
8645
|
Expose155()
|
|
8646
8646
|
], DetalleChileObraDTO.prototype, "ito", 2);
|
|
8647
8647
|
__decorateClass([
|
|
8648
8648
|
IsString124({ message: "debe ser un texto" }),
|
|
8649
|
-
|
|
8649
|
+
MinLength22(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8650
8650
|
Expose155()
|
|
8651
8651
|
], DetalleChileObraDTO.prototype, "red", 2);
|
|
8652
8652
|
__decorateClass([
|
|
@@ -8661,7 +8661,7 @@ __decorateClass([
|
|
|
8661
8661
|
], DetalleChileObraDTO.prototype, "PEP1", 2);
|
|
8662
8662
|
__decorateClass([
|
|
8663
8663
|
IsString124({ message: "debe ser un texto" }),
|
|
8664
|
-
|
|
8664
|
+
MinLength22(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8665
8665
|
Expose155()
|
|
8666
8666
|
], DetalleChileObraDTO.prototype, "GESTOR", 2);
|
|
8667
8667
|
__decorateClass([
|
|
@@ -8992,7 +8992,7 @@ __decorateClass([
|
|
|
8992
8992
|
], UbicacionObraDTO.prototype, "Tipo_Zona", 2);
|
|
8993
8993
|
|
|
8994
8994
|
// src/programados/procesos/obra/shared/dto/change-state-baremos-dto.ts
|
|
8995
|
-
import { IsString as IsString130, MinLength as
|
|
8995
|
+
import { IsString as IsString130, MinLength as MinLength23 } from "class-validator";
|
|
8996
8996
|
import { Expose as Expose164 } from "class-transformer";
|
|
8997
8997
|
var ChangeStateBaremosDTO = class {
|
|
8998
8998
|
OrdenTrabajo = "";
|
|
@@ -9000,12 +9000,12 @@ var ChangeStateBaremosDTO = class {
|
|
|
9000
9000
|
};
|
|
9001
9001
|
__decorateClass([
|
|
9002
9002
|
IsString130({ message: "debe ser un texto" }),
|
|
9003
|
-
|
|
9003
|
+
MinLength23(5, { message: "debe tener al menos 5 caracteres" }),
|
|
9004
9004
|
Expose164()
|
|
9005
9005
|
], ChangeStateBaremosDTO.prototype, "OrdenTrabajo", 2);
|
|
9006
9006
|
__decorateClass([
|
|
9007
9007
|
IsString130({ message: "debe ser un texto" }),
|
|
9008
|
-
|
|
9008
|
+
MinLength23(5, { message: "debe tener al menos 5 caracteres" }),
|
|
9009
9009
|
Expose164()
|
|
9010
9010
|
], ChangeStateBaremosDTO.prototype, "EstadoInternoDescription", 2);
|
|
9011
9011
|
|
|
@@ -10001,7 +10001,7 @@ __decorateClass([
|
|
|
10001
10001
|
], AddressListENTITY.prototype, "BusinessHPList", 2);
|
|
10002
10002
|
|
|
10003
10003
|
// src/programados/procesos/macroobra/shared/index.ts
|
|
10004
|
-
import { IsArray as IsArray66, IsDate as IsDate55, IsDefined as
|
|
10004
|
+
import { IsArray as IsArray66, IsDate as IsDate55, IsDefined as IsDefined17, IsNotEmpty as IsNotEmpty164, IsNumber as IsNumber128, IsString as IsString143, Min as Min95, MinLength as MinLength24, ValidateNested as ValidateNested114 } from "class-validator";
|
|
10005
10005
|
import { Expose as Expose184, Type as Type127 } from "class-transformer";
|
|
10006
10006
|
var MacroObraENTITY = class {
|
|
10007
10007
|
ID_MacroObra = 0;
|
|
@@ -10043,9 +10043,9 @@ __decorateClass([
|
|
|
10043
10043
|
Expose184()
|
|
10044
10044
|
], MacroObraENTITY.prototype, "Contrato", 2);
|
|
10045
10045
|
__decorateClass([
|
|
10046
|
-
|
|
10046
|
+
IsDefined17(),
|
|
10047
10047
|
IsString143({ message: "debe ser un texto" }),
|
|
10048
|
-
|
|
10048
|
+
MinLength24(0, { message: "es requerido" }),
|
|
10049
10049
|
Expose184()
|
|
10050
10050
|
], MacroObraENTITY.prototype, "Observacion", 2);
|
|
10051
10051
|
__decorateClass([
|
|
@@ -10255,12 +10255,12 @@ import { ValidateNested as ValidateNested126 } from "class-validator";
|
|
|
10255
10255
|
import { Expose as Expose192, Type as Type131 } from "class-transformer";
|
|
10256
10256
|
import {
|
|
10257
10257
|
IsArray as IsArray69,
|
|
10258
|
-
IsDefined as
|
|
10258
|
+
IsDefined as IsDefined19,
|
|
10259
10259
|
IsNumber as IsNumber135,
|
|
10260
10260
|
IsOptional as IsOptional3,
|
|
10261
10261
|
IsString as IsString150,
|
|
10262
10262
|
Min as Min102,
|
|
10263
|
-
MinLength as
|
|
10263
|
+
MinLength as MinLength26,
|
|
10264
10264
|
ValidateNested as ValidateNested117
|
|
10265
10265
|
} from "class-validator";
|
|
10266
10266
|
|
|
@@ -10410,7 +10410,7 @@ __decorateClass([
|
|
|
10410
10410
|
|
|
10411
10411
|
// src/programados/procesos/macroobra/chile/dto/data-gran-total/resumen-avance-data-gran-total-manoobra-chile-dto.ts
|
|
10412
10412
|
import { Expose as Expose191 } from "class-transformer";
|
|
10413
|
-
import { IsDefined as
|
|
10413
|
+
import { IsDefined as IsDefined18, IsNumber as IsNumber134, IsString as IsString149, Min as Min101, MinLength as MinLength25 } from "class-validator";
|
|
10414
10414
|
var ResumenAvanceDataGranTotalManoObraCHILEDTO = class {
|
|
10415
10415
|
Total = 0;
|
|
10416
10416
|
TotalUsado = 0;
|
|
@@ -10435,21 +10435,21 @@ __decorateClass([
|
|
|
10435
10435
|
Expose191()
|
|
10436
10436
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "PorcentajeUsado", 2);
|
|
10437
10437
|
__decorateClass([
|
|
10438
|
-
|
|
10438
|
+
IsDefined18(),
|
|
10439
10439
|
IsString149(),
|
|
10440
|
-
|
|
10440
|
+
MinLength25(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10441
10441
|
Expose191()
|
|
10442
10442
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FPorcentajeUsado", 2);
|
|
10443
10443
|
__decorateClass([
|
|
10444
|
-
|
|
10444
|
+
IsDefined18(),
|
|
10445
10445
|
IsString149(),
|
|
10446
|
-
|
|
10446
|
+
MinLength25(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10447
10447
|
Expose191()
|
|
10448
10448
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotal", 2);
|
|
10449
10449
|
__decorateClass([
|
|
10450
|
-
|
|
10450
|
+
IsDefined18(),
|
|
10451
10451
|
IsString149(),
|
|
10452
|
-
|
|
10452
|
+
MinLength25(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10453
10453
|
Expose191()
|
|
10454
10454
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotalUsado", 2);
|
|
10455
10455
|
|
|
@@ -10493,21 +10493,21 @@ __decorateClass([
|
|
|
10493
10493
|
Expose192()
|
|
10494
10494
|
], ResumenAvanceDataGranTotal.prototype, "Reserva", 2);
|
|
10495
10495
|
__decorateClass([
|
|
10496
|
-
|
|
10496
|
+
IsDefined19(),
|
|
10497
10497
|
IsString150(),
|
|
10498
|
-
|
|
10498
|
+
MinLength26(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10499
10499
|
Expose192()
|
|
10500
10500
|
], ResumenAvanceDataGranTotal.prototype, "FTotal", 2);
|
|
10501
10501
|
__decorateClass([
|
|
10502
|
-
|
|
10502
|
+
IsDefined19(),
|
|
10503
10503
|
IsString150(),
|
|
10504
|
-
|
|
10504
|
+
MinLength26(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10505
10505
|
Expose192()
|
|
10506
10506
|
], ResumenAvanceDataGranTotal.prototype, "FPorcentajeUsado", 2);
|
|
10507
10507
|
__decorateClass([
|
|
10508
|
-
|
|
10508
|
+
IsDefined19(),
|
|
10509
10509
|
IsString150(),
|
|
10510
|
-
|
|
10510
|
+
MinLength26(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10511
10511
|
Expose192()
|
|
10512
10512
|
], ResumenAvanceDataGranTotal.prototype, "FTotalUsado", 2);
|
|
10513
10513
|
__decorateClass([
|
|
@@ -10525,9 +10525,9 @@ __decorateClass([
|
|
|
10525
10525
|
ValidateNested117({ each: true })
|
|
10526
10526
|
], ResumenAvanceDataGranTotal.prototype, "Empresas", 2);
|
|
10527
10527
|
__decorateClass([
|
|
10528
|
-
|
|
10528
|
+
IsDefined19(),
|
|
10529
10529
|
IsString150(),
|
|
10530
|
-
|
|
10530
|
+
MinLength26(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10531
10531
|
Expose192()
|
|
10532
10532
|
], ResumenAvanceDataGranTotal.prototype, "Simbolo", 2);
|
|
10533
10533
|
|
|
@@ -11344,7 +11344,7 @@ __decorateClass([
|
|
|
11344
11344
|
|
|
11345
11345
|
// src/programados/procesos/model obra sql/peru/index.ts
|
|
11346
11346
|
import { Expose as Expose210 } from "class-transformer";
|
|
11347
|
-
import { IsString as IsString163, Length as Length124, IsNumber as IsNumber145, Min as Min111, MinLength as
|
|
11347
|
+
import { IsString as IsString163, Length as Length124, IsNumber as IsNumber145, Min as Min111, MinLength as MinLength27, Matches as Matches2 } from "class-validator";
|
|
11348
11348
|
var ModelObraSQLPeruENTITY = class {
|
|
11349
11349
|
Idreg_ptr;
|
|
11350
11350
|
Anio;
|
|
@@ -11623,7 +11623,7 @@ __decorateClass([
|
|
|
11623
11623
|
], ModelObraSQLPeruENTITY.prototype, "Usuario", 2);
|
|
11624
11624
|
__decorateClass([
|
|
11625
11625
|
IsString163({ message: "debe ser un texto" }),
|
|
11626
|
-
|
|
11626
|
+
MinLength27(0, { message: "debe tener minimo 1" }),
|
|
11627
11627
|
Expose210()
|
|
11628
11628
|
], ModelObraSQLPeruENTITY.prototype, "Datos_Certificacion", 2);
|
|
11629
11629
|
|
|
@@ -11806,7 +11806,7 @@ __decorateClass([
|
|
|
11806
11806
|
|
|
11807
11807
|
// src/programados/procesos/gom/shared/index.ts
|
|
11808
11808
|
import { Expose as Expose214, Type as Type145 } from "class-transformer";
|
|
11809
|
-
import { IsArray as IsArray78, IsDate as IsDate57, IsDefined as
|
|
11809
|
+
import { IsArray as IsArray78, IsDate as IsDate57, IsDefined as IsDefined20, IsNotEmpty as IsNotEmpty183, IsNumber as IsNumber149, IsString as IsString167, Min as Min115, ValidateNested as ValidateNested131 } from "class-validator";
|
|
11810
11810
|
|
|
11811
11811
|
// src/programados/procesos/gom/shared/dto/gom-novedades-dto.ts
|
|
11812
11812
|
import { Expose as Expose213, Type as Type144 } from "class-transformer";
|
|
@@ -11917,13 +11917,13 @@ __decorateClass([
|
|
|
11917
11917
|
IsNotEmpty183({ message: "no puede estar vac\xEDo." })
|
|
11918
11918
|
], GomENTITY.prototype, "AreaGOM", 2);
|
|
11919
11919
|
__decorateClass([
|
|
11920
|
-
|
|
11920
|
+
IsDefined20({ message: "es requerido" }),
|
|
11921
11921
|
Type145(() => CodigoNombreDTO),
|
|
11922
11922
|
Expose214(),
|
|
11923
11923
|
ValidateNested131()
|
|
11924
11924
|
], GomENTITY.prototype, "Pais", 2);
|
|
11925
11925
|
__decorateClass([
|
|
11926
|
-
|
|
11926
|
+
IsDefined20({ message: "es requerido" }),
|
|
11927
11927
|
Type145(() => CodigoNombreDTO),
|
|
11928
11928
|
Expose214(),
|
|
11929
11929
|
ValidateNested131()
|
|
@@ -11966,11 +11966,11 @@ __decorateClass([
|
|
|
11966
11966
|
|
|
11967
11967
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
11968
11968
|
import { Expose as Expose217, Transform as Transform17, Type as Type147 } from "class-transformer";
|
|
11969
|
-
import { IsArray as IsArray79, IsDate as IsDate59, IsEnum as IsEnum3, IsNumber as IsNumber152, IsString as IsString170, Min as Min118, MinLength as
|
|
11969
|
+
import { IsArray as IsArray79, IsDate as IsDate59, IsEnum as IsEnum3, IsNumber as IsNumber152, IsString as IsString170, Min as Min118, MinLength as MinLength30, ValidateNested as ValidateNested132 } from "class-validator";
|
|
11970
11970
|
|
|
11971
11971
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
11972
11972
|
import { Expose as Expose215, Transform as Transform15, Type as Type146 } from "class-transformer";
|
|
11973
|
-
import { IsDate as IsDate58, IsNumber as IsNumber150, IsString as IsString168, Min as Min116, MinLength as
|
|
11973
|
+
import { IsDate as IsDate58, IsNumber as IsNumber150, IsString as IsString168, Min as Min116, MinLength as MinLength28 } from "class-validator";
|
|
11974
11974
|
var CabeceraCubicajeDTO = class {
|
|
11975
11975
|
codigoCalc = "";
|
|
11976
11976
|
codigo = "";
|
|
@@ -11998,45 +11998,45 @@ var CabeceraCubicajeDTO = class {
|
|
|
11998
11998
|
};
|
|
11999
11999
|
__decorateClass([
|
|
12000
12000
|
IsString168({ message: "debe ser un texto" }),
|
|
12001
|
-
|
|
12001
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12002
12002
|
Expose215()
|
|
12003
12003
|
], CabeceraCubicajeDTO.prototype, "codigoCalc", 2);
|
|
12004
12004
|
__decorateClass([
|
|
12005
12005
|
IsString168({ message: "debe ser un texto" }),
|
|
12006
|
-
|
|
12006
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12007
12007
|
Expose215()
|
|
12008
12008
|
], CabeceraCubicajeDTO.prototype, "codigo", 2);
|
|
12009
12009
|
__decorateClass([
|
|
12010
12010
|
IsString168({ message: "debe ser un texto" }),
|
|
12011
|
-
|
|
12011
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12012
12012
|
Expose215()
|
|
12013
12013
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
12014
12014
|
__decorateClass([
|
|
12015
12015
|
Transform15(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12016
12016
|
IsString168({ message: "debe ser un texto" }),
|
|
12017
|
-
|
|
12017
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12018
12018
|
Expose215()
|
|
12019
12019
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
12020
12020
|
__decorateClass([
|
|
12021
12021
|
Transform15(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12022
12022
|
IsString168({ message: "debe ser un texto" }),
|
|
12023
|
-
|
|
12023
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12024
12024
|
Expose215()
|
|
12025
12025
|
], CabeceraCubicajeDTO.prototype, "agencia", 2);
|
|
12026
12026
|
__decorateClass([
|
|
12027
12027
|
IsString168({ message: "debe ser un texto" }),
|
|
12028
|
-
|
|
12028
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12029
12029
|
Expose215()
|
|
12030
12030
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
12031
12031
|
__decorateClass([
|
|
12032
12032
|
Transform15(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12033
12033
|
IsString168({ message: "debe ser un texto" }),
|
|
12034
|
-
|
|
12034
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12035
12035
|
Expose215()
|
|
12036
12036
|
], CabeceraCubicajeDTO.prototype, "nombreoe", 2);
|
|
12037
12037
|
__decorateClass([
|
|
12038
12038
|
IsString168({ message: "debe ser un texto" }),
|
|
12039
|
-
|
|
12039
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12040
12040
|
Expose215()
|
|
12041
12041
|
], CabeceraCubicajeDTO.prototype, "tipooe", 2);
|
|
12042
12042
|
__decorateClass([
|
|
@@ -12051,62 +12051,62 @@ __decorateClass([
|
|
|
12051
12051
|
], CabeceraCubicajeDTO.prototype, "finoe", 2);
|
|
12052
12052
|
__decorateClass([
|
|
12053
12053
|
IsString168({ message: "debe ser un texto" }),
|
|
12054
|
-
|
|
12054
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12055
12055
|
Expose215()
|
|
12056
12056
|
], CabeceraCubicajeDTO.prototype, "PE", 2);
|
|
12057
12057
|
__decorateClass([
|
|
12058
12058
|
IsString168({ message: "debe ser un texto" }),
|
|
12059
|
-
|
|
12059
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12060
12060
|
Expose215()
|
|
12061
12061
|
], CabeceraCubicajeDTO.prototype, "ITOCTC", 2);
|
|
12062
12062
|
__decorateClass([
|
|
12063
12063
|
IsString168({ message: "debe ser un texto" }),
|
|
12064
|
-
|
|
12064
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12065
12065
|
Expose215()
|
|
12066
12066
|
], CabeceraCubicajeDTO.prototype, "central", 2);
|
|
12067
12067
|
__decorateClass([
|
|
12068
12068
|
IsString168({ message: "debe ser un texto" }),
|
|
12069
|
-
|
|
12069
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12070
12070
|
Expose215()
|
|
12071
12071
|
], CabeceraCubicajeDTO.prototype, "cliente", 2);
|
|
12072
12072
|
__decorateClass([
|
|
12073
12073
|
IsString168({ message: "debe ser un texto" }),
|
|
12074
|
-
|
|
12074
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12075
12075
|
Expose215()
|
|
12076
12076
|
], CabeceraCubicajeDTO.prototype, "direccion", 2);
|
|
12077
12077
|
__decorateClass([
|
|
12078
12078
|
IsString168({ message: "debe ser un texto" }),
|
|
12079
|
-
|
|
12079
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12080
12080
|
Expose215()
|
|
12081
12081
|
], CabeceraCubicajeDTO.prototype, "comuna", 2);
|
|
12082
12082
|
__decorateClass([
|
|
12083
12083
|
IsString168({ message: "debe ser un texto" }),
|
|
12084
|
-
|
|
12084
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12085
12085
|
Expose215()
|
|
12086
12086
|
], CabeceraCubicajeDTO.prototype, "nombreproyecto", 2);
|
|
12087
12087
|
__decorateClass([
|
|
12088
12088
|
IsString168({ message: "debe ser un texto" }),
|
|
12089
|
-
|
|
12089
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12090
12090
|
Expose215()
|
|
12091
12091
|
], CabeceraCubicajeDTO.prototype, "ito", 2);
|
|
12092
12092
|
__decorateClass([
|
|
12093
12093
|
IsString168({ message: "debe ser un texto" }),
|
|
12094
|
-
|
|
12094
|
+
MinLength28(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12095
12095
|
Expose215()
|
|
12096
12096
|
], CabeceraCubicajeDTO.prototype, "red", 2);
|
|
12097
12097
|
__decorateClass([
|
|
12098
12098
|
IsString168({ message: "debe ser un texto" }),
|
|
12099
|
-
|
|
12099
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12100
12100
|
Expose215()
|
|
12101
12101
|
], CabeceraCubicajeDTO.prototype, "PEP2", 2);
|
|
12102
12102
|
__decorateClass([
|
|
12103
12103
|
IsString168({ message: "debe ser un texto" }),
|
|
12104
|
-
|
|
12104
|
+
MinLength28(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12105
12105
|
Expose215()
|
|
12106
12106
|
], CabeceraCubicajeDTO.prototype, "PEP1", 2);
|
|
12107
12107
|
__decorateClass([
|
|
12108
12108
|
IsString168({ message: "debe ser un texto" }),
|
|
12109
|
-
|
|
12109
|
+
MinLength28(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12110
12110
|
Expose215()
|
|
12111
12111
|
], CabeceraCubicajeDTO.prototype, "GESTOR", 2);
|
|
12112
12112
|
__decorateClass([
|
|
@@ -12117,7 +12117,7 @@ __decorateClass([
|
|
|
12117
12117
|
|
|
12118
12118
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
12119
12119
|
import { Expose as Expose216, Transform as Transform16 } from "class-transformer";
|
|
12120
|
-
import { IsNumber as IsNumber151, IsString as IsString169, MinLength as
|
|
12120
|
+
import { IsNumber as IsNumber151, IsString as IsString169, MinLength as MinLength29, Min as Min117 } from "class-validator";
|
|
12121
12121
|
var DetalleCubicajeDTO = class {
|
|
12122
12122
|
codigo = "";
|
|
12123
12123
|
linea = "";
|
|
@@ -12143,75 +12143,75 @@ var DetalleCubicajeDTO = class {
|
|
|
12143
12143
|
};
|
|
12144
12144
|
__decorateClass([
|
|
12145
12145
|
IsString169({ message: "debe ser un texto" }),
|
|
12146
|
-
|
|
12146
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12147
12147
|
Expose216()
|
|
12148
12148
|
], DetalleCubicajeDTO.prototype, "codigo", 2);
|
|
12149
12149
|
__decorateClass([
|
|
12150
12150
|
IsString169({ message: "debe ser un texto" }),
|
|
12151
|
-
|
|
12151
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12152
12152
|
Expose216(),
|
|
12153
12153
|
IsString169({ message: "debe ser un texto" }),
|
|
12154
|
-
|
|
12154
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12155
12155
|
Expose216()
|
|
12156
12156
|
], DetalleCubicajeDTO.prototype, "linea", 2);
|
|
12157
12157
|
__decorateClass([
|
|
12158
12158
|
IsString169({ message: "debe ser un texto" }),
|
|
12159
|
-
|
|
12159
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12160
12160
|
Expose216()
|
|
12161
12161
|
], DetalleCubicajeDTO.prototype, "dirdesde", 2);
|
|
12162
12162
|
__decorateClass([
|
|
12163
12163
|
IsString169({ message: "debe ser un texto" }),
|
|
12164
|
-
|
|
12164
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12165
12165
|
Expose216()
|
|
12166
12166
|
], DetalleCubicajeDTO.prototype, "altdesde", 2);
|
|
12167
12167
|
__decorateClass([
|
|
12168
12168
|
IsString169({ message: "debe ser un texto" }),
|
|
12169
|
-
|
|
12169
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12170
12170
|
Expose216()
|
|
12171
12171
|
], DetalleCubicajeDTO.prototype, "dirhasta", 2);
|
|
12172
12172
|
__decorateClass([
|
|
12173
12173
|
IsString169({ message: "debe ser un texto" }),
|
|
12174
|
-
|
|
12174
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12175
12175
|
Expose216()
|
|
12176
12176
|
], DetalleCubicajeDTO.prototype, "althasta", 2);
|
|
12177
12177
|
__decorateClass([
|
|
12178
12178
|
IsString169({ message: "debe ser un texto" }),
|
|
12179
|
-
|
|
12179
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12180
12180
|
Expose216()
|
|
12181
12181
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
12182
12182
|
__decorateClass([
|
|
12183
12183
|
Transform16(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12184
12184
|
IsString169({ message: "debe ser un texto" }),
|
|
12185
|
-
|
|
12185
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12186
12186
|
Expose216()
|
|
12187
12187
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
12188
12188
|
__decorateClass([
|
|
12189
12189
|
Transform16(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12190
12190
|
IsString169({ message: "debe ser un texto" }),
|
|
12191
|
-
|
|
12191
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12192
12192
|
Expose216()
|
|
12193
12193
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
12194
12194
|
__decorateClass([
|
|
12195
12195
|
Transform16(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12196
12196
|
IsString169({ message: "debe ser un texto" }),
|
|
12197
|
-
|
|
12197
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12198
12198
|
Expose216()
|
|
12199
12199
|
], DetalleCubicajeDTO.prototype, "codclave", 2);
|
|
12200
12200
|
__decorateClass([
|
|
12201
12201
|
IsString169({ message: "debe ser un texto" }),
|
|
12202
|
-
|
|
12202
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12203
12203
|
Expose216()
|
|
12204
12204
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
12205
12205
|
__decorateClass([
|
|
12206
12206
|
Transform16(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12207
12207
|
IsString169({ message: "debe ser un texto" }),
|
|
12208
|
-
|
|
12208
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12209
12209
|
Expose216()
|
|
12210
12210
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
12211
12211
|
__decorateClass([
|
|
12212
12212
|
Transform16(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12213
12213
|
IsString169({ message: "debe ser un texto" }),
|
|
12214
|
-
|
|
12214
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12215
12215
|
Expose216()
|
|
12216
12216
|
], DetalleCubicajeDTO.prototype, "coduo", 2);
|
|
12217
12217
|
__decorateClass([
|
|
@@ -12246,12 +12246,12 @@ __decorateClass([
|
|
|
12246
12246
|
], DetalleCubicajeDTO.prototype, "canuoapr", 2);
|
|
12247
12247
|
__decorateClass([
|
|
12248
12248
|
IsString169({ message: "debe ser un texto" }),
|
|
12249
|
-
|
|
12249
|
+
MinLength29(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12250
12250
|
Expose216()
|
|
12251
12251
|
], DetalleCubicajeDTO.prototype, "origen", 2);
|
|
12252
12252
|
__decorateClass([
|
|
12253
12253
|
IsString169({ message: "debe ser un texto" }),
|
|
12254
|
-
|
|
12254
|
+
MinLength29(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12255
12255
|
Expose216()
|
|
12256
12256
|
], DetalleCubicajeDTO.prototype, "codigobarra", 2);
|
|
12257
12257
|
|
|
@@ -12293,7 +12293,7 @@ __decorateClass([
|
|
|
12293
12293
|
], CubicacionENTITY.prototype, "detalle", 2);
|
|
12294
12294
|
__decorateClass([
|
|
12295
12295
|
IsString170({ message: "debe ser un texto" }),
|
|
12296
|
-
|
|
12296
|
+
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12297
12297
|
Expose217()
|
|
12298
12298
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
12299
12299
|
__decorateClass([
|
|
@@ -12304,7 +12304,7 @@ __decorateClass([
|
|
|
12304
12304
|
], CubicacionENTITY.prototype, "Fecha", 2);
|
|
12305
12305
|
__decorateClass([
|
|
12306
12306
|
IsString170({ message: "debe ser un texto" }),
|
|
12307
|
-
|
|
12307
|
+
MinLength30(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12308
12308
|
Expose217()
|
|
12309
12309
|
], CubicacionENTITY.prototype, "ZonaAsignada", 2);
|
|
12310
12310
|
__decorateClass([
|
|
@@ -12318,7 +12318,7 @@ __decorateClass([
|
|
|
12318
12318
|
], CubicacionENTITY.prototype, "OrigenCUB", 2);
|
|
12319
12319
|
__decorateClass([
|
|
12320
12320
|
IsString170({ message: "debe ser un texto" }),
|
|
12321
|
-
|
|
12321
|
+
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12322
12322
|
Expose217()
|
|
12323
12323
|
], CubicacionENTITY.prototype, "Actividad", 2);
|
|
12324
12324
|
|
|
@@ -12330,7 +12330,7 @@ import { Expose as Expose219, Type as Type149 } from "class-transformer";
|
|
|
12330
12330
|
|
|
12331
12331
|
// src/programados/procesos/cubicacion/chile/dto/historial-cubicacion-dto.ts
|
|
12332
12332
|
import { Expose as Expose218, Type as Type148 } from "class-transformer";
|
|
12333
|
-
import { IsDate as IsDate60, IsString as IsString171, MinLength as
|
|
12333
|
+
import { IsDate as IsDate60, IsString as IsString171, MinLength as MinLength31 } from "class-validator";
|
|
12334
12334
|
var HistorialCubicacionDTO = class {
|
|
12335
12335
|
Actividad = "";
|
|
12336
12336
|
Estado = "";
|
|
@@ -12341,12 +12341,12 @@ var HistorialCubicacionDTO = class {
|
|
|
12341
12341
|
};
|
|
12342
12342
|
__decorateClass([
|
|
12343
12343
|
IsString171({ message: "debe ser un texto" }),
|
|
12344
|
-
|
|
12344
|
+
MinLength31(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12345
12345
|
Expose218()
|
|
12346
12346
|
], HistorialCubicacionDTO.prototype, "Actividad", 2);
|
|
12347
12347
|
__decorateClass([
|
|
12348
12348
|
IsString171({ message: "debe ser un texto" }),
|
|
12349
|
-
|
|
12349
|
+
MinLength31(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12350
12350
|
Expose218()
|
|
12351
12351
|
], HistorialCubicacionDTO.prototype, "Estado", 2);
|
|
12352
12352
|
__decorateClass([
|
|
@@ -12361,12 +12361,12 @@ __decorateClass([
|
|
|
12361
12361
|
], HistorialCubicacionDTO.prototype, "Fin", 2);
|
|
12362
12362
|
__decorateClass([
|
|
12363
12363
|
IsString171({ message: "debe ser un texto" }),
|
|
12364
|
-
|
|
12364
|
+
MinLength31(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12365
12365
|
Expose218()
|
|
12366
12366
|
], HistorialCubicacionDTO.prototype, "Usuario", 2);
|
|
12367
12367
|
__decorateClass([
|
|
12368
12368
|
IsString171({ message: "debe ser un texto" }),
|
|
12369
|
-
|
|
12369
|
+
MinLength31(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12370
12370
|
Expose218()
|
|
12371
12371
|
], HistorialCubicacionDTO.prototype, "Comentario", 2);
|
|
12372
12372
|
|
|
@@ -12398,7 +12398,7 @@ import { Expose as Expose223, Type as Type152 } from "class-transformer";
|
|
|
12398
12398
|
|
|
12399
12399
|
// src/programados/procesos/cubicacion/alemania/dto/acta-final-cubicacion-dto.ts
|
|
12400
12400
|
import { Expose as Expose221 } from "class-transformer";
|
|
12401
|
-
import { IsNumber as IsNumber153, IsString as IsString172, Min as Min119, MinLength as
|
|
12401
|
+
import { IsNumber as IsNumber153, IsString as IsString172, Min as Min119, MinLength as MinLength32 } from "class-validator";
|
|
12402
12402
|
var ActaFinalCubicacionDTO = class {
|
|
12403
12403
|
DescripcionMO = "";
|
|
12404
12404
|
BaremoUnitario = 0;
|
|
@@ -12407,7 +12407,7 @@ var ActaFinalCubicacionDTO = class {
|
|
|
12407
12407
|
};
|
|
12408
12408
|
__decorateClass([
|
|
12409
12409
|
IsString172({ message: "debe ser un texto" }),
|
|
12410
|
-
|
|
12410
|
+
MinLength32(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12411
12411
|
Expose221()
|
|
12412
12412
|
], ActaFinalCubicacionDTO.prototype, "DescripcionMO", 2);
|
|
12413
12413
|
__decorateClass([
|
|
@@ -12458,7 +12458,7 @@ var CabeceraCubicajePeruDTO = class extends CabeceraCubicajeDTO {
|
|
|
12458
12458
|
|
|
12459
12459
|
// src/programados/procesos/cubicacion/peru/dto/material-peru-dto.ts
|
|
12460
12460
|
import { Expose as Expose224 } from "class-transformer";
|
|
12461
|
-
import { IsNumber as IsNumber154, IsString as IsString173, Min as Min120, MinLength as
|
|
12461
|
+
import { IsNumber as IsNumber154, IsString as IsString173, Min as Min120, MinLength as MinLength33 } from "class-validator";
|
|
12462
12462
|
var MaterialCubicacionPeruDTO = class {
|
|
12463
12463
|
Codigo = "";
|
|
12464
12464
|
Descripcion = "";
|
|
@@ -12468,12 +12468,12 @@ var MaterialCubicacionPeruDTO = class {
|
|
|
12468
12468
|
};
|
|
12469
12469
|
__decorateClass([
|
|
12470
12470
|
IsString173({ message: "debe ser un texto" }),
|
|
12471
|
-
|
|
12471
|
+
MinLength33(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12472
12472
|
Expose224()
|
|
12473
12473
|
], MaterialCubicacionPeruDTO.prototype, "Codigo", 2);
|
|
12474
12474
|
__decorateClass([
|
|
12475
12475
|
IsString173({ message: "debe ser un texto" }),
|
|
12476
|
-
|
|
12476
|
+
MinLength33(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12477
12477
|
Expose224()
|
|
12478
12478
|
], MaterialCubicacionPeruDTO.prototype, "Descripcion", 2);
|
|
12479
12479
|
__decorateClass([
|
|
@@ -13610,7 +13610,7 @@ __decorateClass([
|
|
|
13610
13610
|
|
|
13611
13611
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/manoobra-baremo-dto.ts
|
|
13612
13612
|
import { Expose as Expose250 } from "class-transformer";
|
|
13613
|
-
import { IsNotEmpty as IsNotEmpty205, IsString as IsString193, Length as Length144, MinLength as
|
|
13613
|
+
import { IsNotEmpty as IsNotEmpty205, IsString as IsString193, Length as Length144, MinLength as MinLength34 } from "class-validator";
|
|
13614
13614
|
var ManoObraBaremoProduccionDTO = class {
|
|
13615
13615
|
Codigo = "";
|
|
13616
13616
|
Nombre = "";
|
|
@@ -13630,13 +13630,13 @@ __decorateClass([
|
|
|
13630
13630
|
], ManoObraBaremoProduccionDTO.prototype, "Nombre", 2);
|
|
13631
13631
|
__decorateClass([
|
|
13632
13632
|
IsString193({ message: "debe ser un texto" }),
|
|
13633
|
-
|
|
13633
|
+
MinLength34(0, { message: "debe tener al menos 0 caracter" }),
|
|
13634
13634
|
Expose250()
|
|
13635
13635
|
], ManoObraBaremoProduccionDTO.prototype, "UnidadMedida", 2);
|
|
13636
13636
|
|
|
13637
13637
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/material-utilizado-retirado-baremo-dto.ts
|
|
13638
13638
|
import { Expose as Expose251, Type as Type167 } from "class-transformer";
|
|
13639
|
-
import { IsDefined as
|
|
13639
|
+
import { IsDefined as IsDefined21, IsNotEmpty as IsNotEmpty206, IsNumber as IsNumber169, IsString as IsString194, Length as Length145, Min as Min133, ValidateNested as ValidateNested152 } from "class-validator";
|
|
13640
13640
|
var MaterialUtilizadoRetiradoBaremoDTO = class {
|
|
13641
13641
|
Codigo = "";
|
|
13642
13642
|
Descripcion = "";
|
|
@@ -13660,39 +13660,39 @@ __decorateClass([
|
|
|
13660
13660
|
Expose251()
|
|
13661
13661
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "Descripcion", 2);
|
|
13662
13662
|
__decorateClass([
|
|
13663
|
-
|
|
13663
|
+
IsDefined21({ message: "es requerido" }),
|
|
13664
13664
|
Type167(() => EstadoDTO),
|
|
13665
13665
|
IsNotEmpty206({ message: "es requerido" }),
|
|
13666
13666
|
Expose251(),
|
|
13667
13667
|
ValidateNested152()
|
|
13668
13668
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "Estado", 2);
|
|
13669
13669
|
__decorateClass([
|
|
13670
|
-
|
|
13670
|
+
IsDefined21({ message: "es requerido" }),
|
|
13671
13671
|
Type167(() => UnidadMedidaDTO),
|
|
13672
13672
|
IsNotEmpty206({ message: "es requerido" }),
|
|
13673
13673
|
Expose251(),
|
|
13674
13674
|
ValidateNested152()
|
|
13675
13675
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "UnidadMedida", 2);
|
|
13676
13676
|
__decorateClass([
|
|
13677
|
-
|
|
13677
|
+
IsDefined21({ message: "es requerido" }),
|
|
13678
13678
|
IsNumber169({}, { message: "debe ser un numero" }),
|
|
13679
13679
|
Min133(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13680
13680
|
Expose251()
|
|
13681
13681
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "Cantidad", 2);
|
|
13682
13682
|
__decorateClass([
|
|
13683
|
-
|
|
13683
|
+
IsDefined21({ message: "es requerido" }),
|
|
13684
13684
|
IsNumber169({}, { message: "debe ser un numero" }),
|
|
13685
13685
|
Min133(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13686
13686
|
Expose251()
|
|
13687
13687
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "CantidadInformada", 2);
|
|
13688
13688
|
__decorateClass([
|
|
13689
|
-
|
|
13689
|
+
IsDefined21({ message: "es requerido" }),
|
|
13690
13690
|
IsNumber169({}, { message: "debe ser un numero" }),
|
|
13691
13691
|
Min133(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13692
13692
|
Expose251()
|
|
13693
13693
|
], MaterialUtilizadoRetiradoBaremoDTO.prototype, "Precio", 2);
|
|
13694
13694
|
__decorateClass([
|
|
13695
|
-
|
|
13695
|
+
IsDefined21({ message: "es requerido" }),
|
|
13696
13696
|
IsNumber169({}, { message: "debe ser un numero" }),
|
|
13697
13697
|
Min133(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13698
13698
|
Expose251()
|
|
@@ -13700,20 +13700,20 @@ __decorateClass([
|
|
|
13700
13700
|
|
|
13701
13701
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/periodo-baremo-dto.ts
|
|
13702
13702
|
import { Expose as Expose252 } from "class-transformer";
|
|
13703
|
-
import { IsDefined as
|
|
13703
|
+
import { IsDefined as IsDefined22, IsNotEmpty as IsNotEmpty207, IsNumber as IsNumber170, IsString as IsString195, Length as Length146, Min as Min134 } from "class-validator";
|
|
13704
13704
|
var PeriodoBaremoDTO = class {
|
|
13705
13705
|
Anio = 0;
|
|
13706
13706
|
Mes = 0;
|
|
13707
13707
|
Codigo = "";
|
|
13708
13708
|
};
|
|
13709
13709
|
__decorateClass([
|
|
13710
|
-
|
|
13710
|
+
IsDefined22({ message: "es requerido" }),
|
|
13711
13711
|
IsNumber170({}, { message: "debe ser un numero" }),
|
|
13712
13712
|
Min134(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13713
13713
|
Expose252()
|
|
13714
13714
|
], PeriodoBaremoDTO.prototype, "Anio", 2);
|
|
13715
13715
|
__decorateClass([
|
|
13716
|
-
|
|
13716
|
+
IsDefined22({ message: "es requerido" }),
|
|
13717
13717
|
IsNumber170({}, { message: "debe ser un numero" }),
|
|
13718
13718
|
Min134(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13719
13719
|
Expose252()
|
|
@@ -13727,7 +13727,7 @@ __decorateClass([
|
|
|
13727
13727
|
|
|
13728
13728
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/fases-obra-baremo-dto.ts
|
|
13729
13729
|
import { Expose as Expose254, Type as Type169 } from "class-transformer";
|
|
13730
|
-
import { IsArray as IsArray90, IsDate as IsDate66, IsDefined as
|
|
13730
|
+
import { IsArray as IsArray90, IsDate as IsDate66, IsDefined as IsDefined23, IsEnum as IsEnum4, IsNotEmpty as IsNotEmpty209, IsNumber as IsNumber171, IsString as IsString197, Length as Length148, Min as Min135, ValidateNested as ValidateNested153 } from "class-validator";
|
|
13731
13731
|
|
|
13732
13732
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/usuario-baremo-dto.ts
|
|
13733
13733
|
import { Expose as Expose253 } from "class-transformer";
|
|
@@ -13785,7 +13785,7 @@ __decorateClass([
|
|
|
13785
13785
|
Expose254()
|
|
13786
13786
|
], FasesObraBaremoDTO.prototype, "Fase", 2);
|
|
13787
13787
|
__decorateClass([
|
|
13788
|
-
|
|
13788
|
+
IsDefined23({ message: "es requerido" }),
|
|
13789
13789
|
IsNumber171({}, { message: "debe ser un numero" }),
|
|
13790
13790
|
Min135(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13791
13791
|
Expose254()
|
|
@@ -13815,14 +13815,14 @@ __decorateClass([
|
|
|
13815
13815
|
ValidateNested153({ each: true })
|
|
13816
13816
|
], FasesObraBaremoDTO.prototype, "Anexos", 2);
|
|
13817
13817
|
__decorateClass([
|
|
13818
|
-
|
|
13818
|
+
IsDefined23({ message: "es requerido" }),
|
|
13819
13819
|
IsEnum4(EstadoFaseObraBaremo, { message: "debe ser un texto" }),
|
|
13820
13820
|
Expose254()
|
|
13821
13821
|
], FasesObraBaremoDTO.prototype, "Estado", 2);
|
|
13822
13822
|
|
|
13823
13823
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/pagos-ec-baremo-dto.ts
|
|
13824
13824
|
import { Expose as Expose255, Type as Type170 } from "class-transformer";
|
|
13825
|
-
import { IsDate as IsDate67, IsDefined as
|
|
13825
|
+
import { IsDate as IsDate67, IsDefined as IsDefined24, IsNotEmpty as IsNotEmpty210, IsNumber as IsNumber172, IsString as IsString198, Length as Length149, Min as Min136, ValidateNested as ValidateNested154 } from "class-validator";
|
|
13826
13826
|
var PagosECBaremoDTO = class {
|
|
13827
13827
|
Fase = "";
|
|
13828
13828
|
Porcentaje = 0;
|
|
@@ -13839,7 +13839,7 @@ __decorateClass([
|
|
|
13839
13839
|
Expose255()
|
|
13840
13840
|
], PagosECBaremoDTO.prototype, "Fase", 2);
|
|
13841
13841
|
__decorateClass([
|
|
13842
|
-
|
|
13842
|
+
IsDefined24({ message: "es requerido" }),
|
|
13843
13843
|
IsNumber172({}, { message: "debe ser un numero" }),
|
|
13844
13844
|
Min136(0, { message: "el valor m\xEDnimo es 0" }),
|
|
13845
13845
|
Expose255()
|
|
@@ -13902,13 +13902,13 @@ import { Expose as Expose257, Type as Type171 } from "class-transformer";
|
|
|
13902
13902
|
import {
|
|
13903
13903
|
IsArray as IsArray91,
|
|
13904
13904
|
IsBoolean as IsBoolean18,
|
|
13905
|
-
IsDefined as
|
|
13905
|
+
IsDefined as IsDefined25,
|
|
13906
13906
|
IsNotEmpty as IsNotEmpty211,
|
|
13907
13907
|
IsNumber as IsNumber173,
|
|
13908
13908
|
IsOptional as IsOptional7,
|
|
13909
13909
|
IsString as IsString200,
|
|
13910
13910
|
Min as Min137,
|
|
13911
|
-
MinLength as
|
|
13911
|
+
MinLength as MinLength35,
|
|
13912
13912
|
ValidateNested as ValidateNested155
|
|
13913
13913
|
} from "class-validator";
|
|
13914
13914
|
var BaremoAlemaniaENTITY = class {
|
|
@@ -13961,9 +13961,9 @@ __decorateClass([
|
|
|
13961
13961
|
Expose257()
|
|
13962
13962
|
], BaremoAlemaniaENTITY.prototype, "Obra", 2);
|
|
13963
13963
|
__decorateClass([
|
|
13964
|
-
|
|
13964
|
+
IsDefined25({ message: "es requerido" }),
|
|
13965
13965
|
IsString200({ message: "debe ser un texto" }),
|
|
13966
|
-
|
|
13966
|
+
MinLength35(0, { message: "debe tener al menos 0 caracter" }),
|
|
13967
13967
|
Expose257()
|
|
13968
13968
|
], BaremoAlemaniaENTITY.prototype, "Cluster", 2);
|
|
13969
13969
|
__decorateClass([
|
|
@@ -13972,15 +13972,15 @@ __decorateClass([
|
|
|
13972
13972
|
Expose257()
|
|
13973
13973
|
], BaremoAlemaniaENTITY.prototype, "Gemainde", 2);
|
|
13974
13974
|
__decorateClass([
|
|
13975
|
-
|
|
13975
|
+
IsDefined25({ message: "es requerido" }),
|
|
13976
13976
|
IsString200({ message: "debe ser un texto" }),
|
|
13977
|
-
|
|
13977
|
+
MinLength35(0, { message: "debe tener al menos 0 caracter" }),
|
|
13978
13978
|
Expose257()
|
|
13979
13979
|
], BaremoAlemaniaENTITY.prototype, "WorkProject", 2);
|
|
13980
13980
|
__decorateClass([
|
|
13981
|
-
|
|
13981
|
+
IsDefined25({ message: "es requerido" }),
|
|
13982
13982
|
IsString200({ message: "debe ser un texto" }),
|
|
13983
|
-
|
|
13983
|
+
MinLength35(0, { message: "debe tener al menos 0 caracter" }),
|
|
13984
13984
|
Expose257()
|
|
13985
13985
|
], BaremoAlemaniaENTITY.prototype, "AddressID", 2);
|
|
13986
13986
|
__decorateClass([
|
|
@@ -14024,14 +14024,14 @@ __decorateClass([
|
|
|
14024
14024
|
ValidateNested155()
|
|
14025
14025
|
], BaremoAlemaniaENTITY.prototype, "ManoObra", 2);
|
|
14026
14026
|
__decorateClass([
|
|
14027
|
-
|
|
14027
|
+
IsDefined25({ message: "es requerido" }),
|
|
14028
14028
|
Type171(() => MaterialUtilizadoRetiradoBaremoDTO),
|
|
14029
14029
|
IsArray91({ message: "debe ser un arreglo" }),
|
|
14030
14030
|
Expose257(),
|
|
14031
14031
|
ValidateNested155({ each: true })
|
|
14032
14032
|
], BaremoAlemaniaENTITY.prototype, "MaterialesUtilizados", 2);
|
|
14033
14033
|
__decorateClass([
|
|
14034
|
-
|
|
14034
|
+
IsDefined25({ message: "es requerido" }),
|
|
14035
14035
|
Type171(() => MaterialUtilizadoRetiradoBaremoDTO),
|
|
14036
14036
|
IsArray91({ message: "debe ser un arreglo" }),
|
|
14037
14037
|
Expose257(),
|
|
@@ -14049,30 +14049,30 @@ __decorateClass([
|
|
|
14049
14049
|
Expose257()
|
|
14050
14050
|
], BaremoAlemaniaENTITY.prototype, "ZonaAsignada", 2);
|
|
14051
14051
|
__decorateClass([
|
|
14052
|
-
|
|
14052
|
+
IsDefined25({ message: "es requerido" }),
|
|
14053
14053
|
IsString200({ message: "debe ser un texto" }),
|
|
14054
|
-
|
|
14054
|
+
MinLength35(0, { message: "debe tener al menos 0 caracter" }),
|
|
14055
14055
|
Expose257()
|
|
14056
14056
|
], BaremoAlemaniaENTITY.prototype, "Agencia", 2);
|
|
14057
14057
|
__decorateClass([
|
|
14058
|
-
|
|
14058
|
+
IsDefined25({ message: "es requerido" }),
|
|
14059
14059
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14060
14060
|
Expose257()
|
|
14061
14061
|
], BaremoAlemaniaENTITY.prototype, "Cantidad", 2);
|
|
14062
14062
|
__decorateClass([
|
|
14063
|
-
|
|
14063
|
+
IsDefined25({ message: "es requerido" }),
|
|
14064
14064
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14065
14065
|
Min137(0, { message: "el valor m\xEDnimo es 0" }),
|
|
14066
14066
|
Expose257()
|
|
14067
14067
|
], BaremoAlemaniaENTITY.prototype, "PuntoBaremo", 2);
|
|
14068
14068
|
__decorateClass([
|
|
14069
|
-
|
|
14069
|
+
IsDefined25({ message: "es requerido" }),
|
|
14070
14070
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14071
14071
|
Min137(0, { message: "el valor m\xEDnimo es 0" }),
|
|
14072
14072
|
Expose257()
|
|
14073
14073
|
], BaremoAlemaniaENTITY.prototype, "Precio", 2);
|
|
14074
14074
|
__decorateClass([
|
|
14075
|
-
|
|
14075
|
+
IsDefined25({ message: "es requerido" }),
|
|
14076
14076
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14077
14077
|
Min137(0, { message: "el valor m\xEDnimo es 0" }),
|
|
14078
14078
|
Expose257()
|
|
@@ -14088,41 +14088,41 @@ __decorateClass([
|
|
|
14088
14088
|
Expose257()
|
|
14089
14089
|
], BaremoAlemaniaENTITY.prototype, "Moneda", 2);
|
|
14090
14090
|
__decorateClass([
|
|
14091
|
-
|
|
14091
|
+
IsDefined25({ message: "es requerido" }),
|
|
14092
14092
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14093
14093
|
Min137(0, { message: "el valor m\xEDnimo es 0" }),
|
|
14094
14094
|
Expose257()
|
|
14095
14095
|
], BaremoAlemaniaENTITY.prototype, "Mes", 2);
|
|
14096
14096
|
__decorateClass([
|
|
14097
|
-
|
|
14097
|
+
IsDefined25({ message: "es requerido" }),
|
|
14098
14098
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14099
14099
|
Min137(0, { message: "el valor m\xEDnimo es 0" }),
|
|
14100
14100
|
Expose257()
|
|
14101
14101
|
], BaremoAlemaniaENTITY.prototype, "Anio", 2);
|
|
14102
14102
|
__decorateClass([
|
|
14103
|
-
|
|
14103
|
+
IsDefined25({ message: "es requerido" }),
|
|
14104
14104
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14105
14105
|
Expose257()
|
|
14106
14106
|
], BaremoAlemaniaENTITY.prototype, "PB_Total", 2);
|
|
14107
14107
|
__decorateClass([
|
|
14108
|
-
|
|
14108
|
+
IsDefined25({ message: "es requerido" }),
|
|
14109
14109
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14110
14110
|
Expose257()
|
|
14111
14111
|
], BaremoAlemaniaENTITY.prototype, "MO_Total_COBRA", 2);
|
|
14112
14112
|
__decorateClass([
|
|
14113
|
-
|
|
14113
|
+
IsDefined25({ message: "es requerido" }),
|
|
14114
14114
|
IsNumber173({}, { message: "debe ser un numero" }),
|
|
14115
14115
|
Expose257()
|
|
14116
14116
|
], BaremoAlemaniaENTITY.prototype, "MO_Total_EC", 2);
|
|
14117
14117
|
__decorateClass([
|
|
14118
|
-
|
|
14118
|
+
IsDefined25({ message: "es requerido" }),
|
|
14119
14119
|
Type171(() => FasesObraBaremoDTO),
|
|
14120
14120
|
IsArray91({ message: "debe ser un arreglo" }),
|
|
14121
14121
|
Expose257(),
|
|
14122
14122
|
ValidateNested155({ each: true })
|
|
14123
14123
|
], BaremoAlemaniaENTITY.prototype, "FasesObra", 2);
|
|
14124
14124
|
__decorateClass([
|
|
14125
|
-
|
|
14125
|
+
IsDefined25({ message: "es requerido" }),
|
|
14126
14126
|
Type171(() => PagosECBaremoDTO),
|
|
14127
14127
|
IsArray91({ message: "debe ser un arreglo" }),
|
|
14128
14128
|
Expose257(),
|
|
@@ -16387,11 +16387,11 @@ __decorateClass([
|
|
|
16387
16387
|
|
|
16388
16388
|
// src/logistica/consumo material/alemania/index.ts
|
|
16389
16389
|
import { Expose as Expose292, Type as Type188 } from "class-transformer";
|
|
16390
|
-
import { IsDefined as
|
|
16390
|
+
import { IsDefined as IsDefined27, IsNumber as IsNumber190, IsString as IsString235, Min as Min146, MinLength as MinLength37, ValidateNested as ValidateNested171 } from "class-validator";
|
|
16391
16391
|
|
|
16392
16392
|
// src/logistica/consumo material/alemania/dto/cosumo-material-alemania-dto.ts
|
|
16393
16393
|
import { Expose as Expose291 } from "class-transformer";
|
|
16394
|
-
import { IsDefined as
|
|
16394
|
+
import { IsDefined as IsDefined26, IsEnum as IsEnum6, IsNumber as IsNumber189, IsString as IsString234, Min as Min145, MinLength as MinLength36 } from "class-validator";
|
|
16395
16395
|
var TipoConsumoMaterial = /* @__PURE__ */ ((TipoConsumoMaterial2) => {
|
|
16396
16396
|
TipoConsumoMaterial2["Instalado"] = "Instalado";
|
|
16397
16397
|
return TipoConsumoMaterial2;
|
|
@@ -16404,31 +16404,31 @@ var CosumoMaterialAlemaniaDTO = class {
|
|
|
16404
16404
|
Tipo = "Instalado" /* Instalado */;
|
|
16405
16405
|
};
|
|
16406
16406
|
__decorateClass([
|
|
16407
|
-
|
|
16407
|
+
IsDefined26({ message: "El campo ID_Consumo es obligatorio" }),
|
|
16408
16408
|
IsNumber189({}, { message: "El campo ID_Consumo debe ser un numero" }),
|
|
16409
16409
|
Min145(1, { message: "El campo ID_Consumo debe ser mayor o igual a 1" }),
|
|
16410
16410
|
Expose291()
|
|
16411
16411
|
], CosumoMaterialAlemaniaDTO.prototype, "ID_Consumo", 2);
|
|
16412
16412
|
__decorateClass([
|
|
16413
|
-
|
|
16413
|
+
IsDefined26({ message: "El campo CodigoItem es obligatorio" }),
|
|
16414
16414
|
IsString234({ message: "El campo CodigoItem debe ser un texto" }),
|
|
16415
|
-
|
|
16415
|
+
MinLength36(1, { message: "El campo CodigoItem debe tener al menos 1 caracter" }),
|
|
16416
16416
|
Expose291()
|
|
16417
16417
|
], CosumoMaterialAlemaniaDTO.prototype, "CodigoItem", 2);
|
|
16418
16418
|
__decorateClass([
|
|
16419
|
-
|
|
16419
|
+
IsDefined26({ message: "El campo CodigoLlave es obligatorio" }),
|
|
16420
16420
|
IsString234({ message: "El campo CodigoLlave debe ser un texto" }),
|
|
16421
|
-
|
|
16421
|
+
MinLength36(1, { message: "El campo CodigoLlave debe tener al menos 1 caracter" }),
|
|
16422
16422
|
Expose291()
|
|
16423
16423
|
], CosumoMaterialAlemaniaDTO.prototype, "CodigoLlave", 2);
|
|
16424
16424
|
__decorateClass([
|
|
16425
|
-
|
|
16425
|
+
IsDefined26({ message: "El campo Cantidad es obligatorio" }),
|
|
16426
16426
|
IsNumber189({}, { message: "El campo Cantidad debe ser un numero" }),
|
|
16427
16427
|
Min145(1, { message: "El campo Cantidad debe ser mayor o igual a 1" }),
|
|
16428
16428
|
Expose291()
|
|
16429
16429
|
], CosumoMaterialAlemaniaDTO.prototype, "Cantidad", 2);
|
|
16430
16430
|
__decorateClass([
|
|
16431
|
-
|
|
16431
|
+
IsDefined26({ message: "El campo Tipo es obligatorio" }),
|
|
16432
16432
|
IsEnum6(TipoConsumoMaterial, { message: "El campo Tipo debe ser un valor valido" }),
|
|
16433
16433
|
Expose291()
|
|
16434
16434
|
], CosumoMaterialAlemaniaDTO.prototype, "Tipo", 2);
|
|
@@ -16444,43 +16444,43 @@ var ConsumoMaterialAlemaniaENTITY = class {
|
|
|
16444
16444
|
Estado = new EstadoDTO();
|
|
16445
16445
|
};
|
|
16446
16446
|
__decorateClass([
|
|
16447
|
-
|
|
16447
|
+
IsDefined27({ message: "El campo ID_ConsumoMaterial es obligatorio" }),
|
|
16448
16448
|
IsNumber190({}, { message: "El campo ID_ConsumoMaterial debe ser un numero" }),
|
|
16449
16449
|
Min146(0, { message: "El campo ID_ConsumoMaterial debe ser mayor o igual a 0" }),
|
|
16450
16450
|
Expose292()
|
|
16451
16451
|
], ConsumoMaterialAlemaniaENTITY.prototype, "ID_ConsumoMaterial", 2);
|
|
16452
16452
|
__decorateClass([
|
|
16453
|
-
|
|
16453
|
+
IsDefined27({ message: "El campo Obra es obligatorio" }),
|
|
16454
16454
|
IsString235({ message: "El campo Obra debe ser un texto" }),
|
|
16455
|
-
|
|
16455
|
+
MinLength37(1, { message: "El campo Obra debe tener al menos 1 caracter" }),
|
|
16456
16456
|
Expose292()
|
|
16457
16457
|
], ConsumoMaterialAlemaniaENTITY.prototype, "Obra", 2);
|
|
16458
16458
|
__decorateClass([
|
|
16459
|
-
|
|
16459
|
+
IsDefined27({ message: "El campo ID_Trabajo es obligatorio" }),
|
|
16460
16460
|
IsNumber190({}, { message: "El campo ID_Trabajo debe ser un numero" }),
|
|
16461
16461
|
Min146(1, { message: "El campo ID_Trabajo debe ser mayor o igual a 1" }),
|
|
16462
16462
|
Expose292()
|
|
16463
16463
|
], ConsumoMaterialAlemaniaENTITY.prototype, "ID_Trabajo", 2);
|
|
16464
16464
|
__decorateClass([
|
|
16465
|
-
|
|
16465
|
+
IsDefined27({ message: "El campo Almacen es obligatorio" }),
|
|
16466
16466
|
Type188(() => AlmacenLogisticaDTO),
|
|
16467
16467
|
ValidateNested171(),
|
|
16468
16468
|
Expose292()
|
|
16469
16469
|
], ConsumoMaterialAlemaniaENTITY.prototype, "Almacen", 2);
|
|
16470
16470
|
__decorateClass([
|
|
16471
|
-
|
|
16471
|
+
IsDefined27({ message: "El campo Empresa es obligatorio" }),
|
|
16472
16472
|
Type188(() => CodigoNombreDTO),
|
|
16473
16473
|
ValidateNested171(),
|
|
16474
16474
|
Expose292()
|
|
16475
16475
|
], ConsumoMaterialAlemaniaENTITY.prototype, "Empresa", 2);
|
|
16476
16476
|
__decorateClass([
|
|
16477
|
-
|
|
16477
|
+
IsDefined27({ message: "El campo CosumoMaterial es obligatorio" }),
|
|
16478
16478
|
Type188(() => CosumoMaterialAlemaniaDTO),
|
|
16479
16479
|
ValidateNested171({ each: true }),
|
|
16480
16480
|
Expose292()
|
|
16481
16481
|
], ConsumoMaterialAlemaniaENTITY.prototype, "CosumoMaterial", 2);
|
|
16482
16482
|
__decorateClass([
|
|
16483
|
-
|
|
16483
|
+
IsDefined27({ message: "El campo Estado es obligatorio" }),
|
|
16484
16484
|
Type188(() => EstadoDTO),
|
|
16485
16485
|
ValidateNested171(),
|
|
16486
16486
|
Expose292()
|