sigo-entities 1.0.30 → 1.0.32
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 +3 -3
- package/dist/index.mjs +121 -121
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6032,9 +6032,9 @@ __decorateClass([
|
|
|
6032
6032
|
(0, import_class_transformer119.Expose)()
|
|
6033
6033
|
], MaterialesDTO.prototype, "Codigo", 2);
|
|
6034
6034
|
__decorateClass([
|
|
6035
|
+
(0, import_class_transformer119.Transform)(({ value }) => value === void 0 ? "" : value),
|
|
6035
6036
|
(0, import_class_validator120.IsString)({ message: "debe ser un texto" }),
|
|
6036
|
-
(0, import_class_validator120.
|
|
6037
|
-
(0, import_class_validator120.Length)(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
6037
|
+
(0, import_class_validator120.MinLength)(0, { message: "debe tener al menos 0 caracteres" }),
|
|
6038
6038
|
(0, import_class_transformer119.Expose)()
|
|
6039
6039
|
], MaterialesDTO.prototype, "CodigoLlave", 2);
|
|
6040
6040
|
__decorateClass([
|
|
@@ -6550,7 +6550,7 @@ __decorateClass([
|
|
|
6550
6550
|
(0, import_class_validator126.ValidateNested)({ each: true })
|
|
6551
6551
|
], Ultima_PreLiquidacionDTO.prototype, "Valorizacion", 2);
|
|
6552
6552
|
__decorateClass([
|
|
6553
|
-
(0, import_class_transformer125.Type)(() =>
|
|
6553
|
+
(0, import_class_transformer125.Type)(() => CodigoDescripcionDTO),
|
|
6554
6554
|
(0, import_class_validator126.IsNotEmpty)({ message: "es requerido" }),
|
|
6555
6555
|
(0, import_class_transformer125.Expose)(),
|
|
6556
6556
|
(0, import_class_validator126.ValidateNested)()
|
package/dist/index.mjs
CHANGED
|
@@ -5630,8 +5630,8 @@ __decorateClass([
|
|
|
5630
5630
|
], HomePassDTO.prototype, "HouseNumbreComplement", 2);
|
|
5631
5631
|
|
|
5632
5632
|
// src/programados/procesos/trabajo/shared/dto/materiales-dto.ts
|
|
5633
|
-
import { Expose as Expose117, Type as Type74 } from "class-transformer";
|
|
5634
|
-
import { IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber81, IsString as IsString94, Length as Length73, ValidateNested as ValidateNested65 } from "class-validator";
|
|
5633
|
+
import { Expose as Expose117, Transform as Transform6, Type as Type74 } from "class-transformer";
|
|
5634
|
+
import { IsNotEmpty as IsNotEmpty99, IsNumber as IsNumber81, IsString as IsString94, Length as Length73, MinLength as MinLength15, ValidateNested as ValidateNested65 } from "class-validator";
|
|
5635
5635
|
var MaterialesDTO = class {
|
|
5636
5636
|
Codigo = "";
|
|
5637
5637
|
CodigoLlave = "";
|
|
@@ -5654,9 +5654,9 @@ __decorateClass([
|
|
|
5654
5654
|
Expose117()
|
|
5655
5655
|
], MaterialesDTO.prototype, "Codigo", 2);
|
|
5656
5656
|
__decorateClass([
|
|
5657
|
+
Transform6(({ value }) => value === void 0 ? "" : value),
|
|
5657
5658
|
IsString94({ message: "debe ser un texto" }),
|
|
5658
|
-
|
|
5659
|
-
Length73(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
5659
|
+
MinLength15(0, { message: "debe tener al menos 0 caracteres" }),
|
|
5660
5660
|
Expose117()
|
|
5661
5661
|
], MaterialesDTO.prototype, "CodigoLlave", 2);
|
|
5662
5662
|
__decorateClass([
|
|
@@ -5852,7 +5852,7 @@ __decorateClass([
|
|
|
5852
5852
|
|
|
5853
5853
|
// src/programados/procesos/trabajo/shared/dto/turno-dto.ts
|
|
5854
5854
|
import { Expose as Expose120 } from "class-transformer";
|
|
5855
|
-
import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber84, IsString as IsString97, MinLength as
|
|
5855
|
+
import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber84, IsString as IsString97, MinLength as MinLength16 } from "class-validator";
|
|
5856
5856
|
var TurnoDTO = class {
|
|
5857
5857
|
Codigo = "";
|
|
5858
5858
|
Hora_Fin = 0;
|
|
@@ -5860,7 +5860,7 @@ var TurnoDTO = class {
|
|
|
5860
5860
|
};
|
|
5861
5861
|
__decorateClass([
|
|
5862
5862
|
IsString97({ message: "debe ser un texto" }),
|
|
5863
|
-
|
|
5863
|
+
MinLength16(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
5864
5864
|
Expose120()
|
|
5865
5865
|
], TurnoDTO.prototype, "Codigo", 2);
|
|
5866
5866
|
__decorateClass([
|
|
@@ -5875,8 +5875,8 @@ __decorateClass([
|
|
|
5875
5875
|
], TurnoDTO.prototype, "Hora_Inicio", 2);
|
|
5876
5876
|
|
|
5877
5877
|
// src/programados/procesos/trabajo/shared/dto/ubicacion-dto.ts
|
|
5878
|
-
import { Expose as Expose121, Transform as
|
|
5879
|
-
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber85, IsString as IsString98, Length as Length76, MinLength as
|
|
5878
|
+
import { Expose as Expose121, Transform as Transform7, Type as Type77 } from "class-transformer";
|
|
5879
|
+
import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber85, IsString as IsString98, Length as Length76, MinLength as MinLength17, ValidateNested as ValidateNested68 } from "class-validator";
|
|
5880
5880
|
var UbicacionDTO = class {
|
|
5881
5881
|
ID_Direccion = 0;
|
|
5882
5882
|
Direccion = "";
|
|
@@ -5898,9 +5898,9 @@ __decorateClass([
|
|
|
5898
5898
|
Expose121()
|
|
5899
5899
|
], UbicacionDTO.prototype, "Direccion", 2);
|
|
5900
5900
|
__decorateClass([
|
|
5901
|
-
|
|
5901
|
+
Transform7(({ value }) => value === null ? "" : value),
|
|
5902
5902
|
IsString98({ message: "debe ser un texto" }),
|
|
5903
|
-
|
|
5903
|
+
MinLength17(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5904
5904
|
Expose121()
|
|
5905
5905
|
], UbicacionDTO.prototype, "Localidad_Descrip", 2);
|
|
5906
5906
|
__decorateClass([
|
|
@@ -5910,9 +5910,9 @@ __decorateClass([
|
|
|
5910
5910
|
ValidateNested68()
|
|
5911
5911
|
], UbicacionDTO.prototype, "Coordenadas", 2);
|
|
5912
5912
|
__decorateClass([
|
|
5913
|
-
|
|
5913
|
+
Transform7(({ value }) => value === null ? "" : value),
|
|
5914
5914
|
IsString98({ message: "debe ser un texto" }),
|
|
5915
|
-
|
|
5915
|
+
MinLength17(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5916
5916
|
Expose121()
|
|
5917
5917
|
], UbicacionDTO.prototype, "Municipio", 2);
|
|
5918
5918
|
__decorateClass([
|
|
@@ -5933,7 +5933,7 @@ import { Expose as Expose123, Type as Type79 } from "class-transformer";
|
|
|
5933
5933
|
|
|
5934
5934
|
// src/programados/procesos/trabajo/shared/dto/valorizacion-dto.ts
|
|
5935
5935
|
import { Expose as Expose122, Type as Type78 } from "class-transformer";
|
|
5936
|
-
import { IsArray as IsArray37, IsDate as IsDate31, IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber86, IsString as IsString99, Length as Length77, MinLength as
|
|
5936
|
+
import { IsArray as IsArray37, IsDate as IsDate31, IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber86, IsString as IsString99, Length as Length77, MinLength as MinLength18, ValidateNested as ValidateNested69 } from "class-validator";
|
|
5937
5937
|
var ValorizacionDTO = class {
|
|
5938
5938
|
ID_Valorizacion = 0;
|
|
5939
5939
|
Amap = 0;
|
|
@@ -6037,12 +6037,12 @@ __decorateClass([
|
|
|
6037
6037
|
], ValorizacionDTO.prototype, "Semana", 2);
|
|
6038
6038
|
__decorateClass([
|
|
6039
6039
|
IsString99({ message: "debe ser un texto" }),
|
|
6040
|
-
|
|
6040
|
+
MinLength18(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6041
6041
|
Expose122()
|
|
6042
6042
|
], ValorizacionDTO.prototype, "Calle", 2);
|
|
6043
6043
|
__decorateClass([
|
|
6044
6044
|
IsString99({ message: "debe ser un texto" }),
|
|
6045
|
-
|
|
6045
|
+
MinLength18(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6046
6046
|
Expose122()
|
|
6047
6047
|
], ValorizacionDTO.prototype, "Numero", 2);
|
|
6048
6048
|
__decorateClass([
|
|
@@ -6079,7 +6079,7 @@ __decorateClass([
|
|
|
6079
6079
|
__decorateClass([
|
|
6080
6080
|
IsString99({ message: "debe ser un texto" }),
|
|
6081
6081
|
IsNotEmpty104({ message: "es requerido" }),
|
|
6082
|
-
|
|
6082
|
+
MinLength18(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
6083
6083
|
Expose122()
|
|
6084
6084
|
], ValorizacionDTO.prototype, "Observaciones", 2);
|
|
6085
6085
|
__decorateClass([
|
|
@@ -6172,7 +6172,7 @@ __decorateClass([
|
|
|
6172
6172
|
ValidateNested70({ each: true })
|
|
6173
6173
|
], Ultima_PreLiquidacionDTO.prototype, "Valorizacion", 2);
|
|
6174
6174
|
__decorateClass([
|
|
6175
|
-
Type79(() =>
|
|
6175
|
+
Type79(() => CodigoDescripcionDTO),
|
|
6176
6176
|
IsNotEmpty105({ message: "es requerido" }),
|
|
6177
6177
|
Expose123(),
|
|
6178
6178
|
ValidateNested70()
|
|
@@ -8524,11 +8524,11 @@ __decorateClass([
|
|
|
8524
8524
|
|
|
8525
8525
|
// src/programados/procesos/obra/shared/dto/detalle-chile-dto.ts
|
|
8526
8526
|
import { Expose as Expose156, Type as Type105 } from "class-transformer";
|
|
8527
|
-
import { IsArray as IsArray53, IsDate as IsDate47, IsNotEmpty as IsNotEmpty137, IsNumber as IsNumber110, IsString as IsString125, Length as Length103, Min as Min77, ValidateNested as ValidateNested95, MinLength as
|
|
8527
|
+
import { IsArray as IsArray53, IsDate as IsDate47, IsNotEmpty as IsNotEmpty137, IsNumber as IsNumber110, IsString as IsString125, Length as Length103, Min as Min77, ValidateNested as ValidateNested95, MinLength as MinLength20 } from "class-validator";
|
|
8528
8528
|
|
|
8529
8529
|
// src/programados/procesos/obra/shared/dto/historico-dto.ts
|
|
8530
8530
|
import { Expose as Expose155, Type as Type104 } from "class-transformer";
|
|
8531
|
-
import { IsDate as IsDate46, IsString as IsString124, Length as Length102, MinLength as
|
|
8531
|
+
import { IsDate as IsDate46, IsString as IsString124, Length as Length102, MinLength as MinLength19 } from "class-validator";
|
|
8532
8532
|
var HistoricoDTO = class {
|
|
8533
8533
|
Actividad = "";
|
|
8534
8534
|
Estado = "";
|
|
@@ -8559,12 +8559,12 @@ __decorateClass([
|
|
|
8559
8559
|
], HistoricoDTO.prototype, "Fin", 2);
|
|
8560
8560
|
__decorateClass([
|
|
8561
8561
|
IsString124({ message: "debe ser un texto" }),
|
|
8562
|
-
|
|
8562
|
+
MinLength19(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8563
8563
|
Expose155()
|
|
8564
8564
|
], HistoricoDTO.prototype, "Usuario", 2);
|
|
8565
8565
|
__decorateClass([
|
|
8566
8566
|
IsString124({ message: "debe ser un texto" }),
|
|
8567
|
-
|
|
8567
|
+
MinLength19(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8568
8568
|
Expose155()
|
|
8569
8569
|
], HistoricoDTO.prototype, "Comentario", 2);
|
|
8570
8570
|
|
|
@@ -8660,7 +8660,7 @@ __decorateClass([
|
|
|
8660
8660
|
], DetalleChileObraDTO.prototype, "PE", 2);
|
|
8661
8661
|
__decorateClass([
|
|
8662
8662
|
IsString125({ message: "debe ser un texto" }),
|
|
8663
|
-
|
|
8663
|
+
MinLength20(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
8664
8664
|
Expose156()
|
|
8665
8665
|
], DetalleChileObraDTO.prototype, "ITOCTC", 2);
|
|
8666
8666
|
__decorateClass([
|
|
@@ -8675,7 +8675,7 @@ __decorateClass([
|
|
|
8675
8675
|
], DetalleChileObraDTO.prototype, "cliente", 2);
|
|
8676
8676
|
__decorateClass([
|
|
8677
8677
|
IsString125({ message: "debe ser un texto" }),
|
|
8678
|
-
|
|
8678
|
+
MinLength20(1, { message: "debe tener al menos 1 caracter" }),
|
|
8679
8679
|
Expose156()
|
|
8680
8680
|
], DetalleChileObraDTO.prototype, "direccion", 2);
|
|
8681
8681
|
__decorateClass([
|
|
@@ -8690,12 +8690,12 @@ __decorateClass([
|
|
|
8690
8690
|
], DetalleChileObraDTO.prototype, "nombreproyecto", 2);
|
|
8691
8691
|
__decorateClass([
|
|
8692
8692
|
IsString125({ message: "debe ser un texto" }),
|
|
8693
|
-
|
|
8693
|
+
MinLength20(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8694
8694
|
Expose156()
|
|
8695
8695
|
], DetalleChileObraDTO.prototype, "ito", 2);
|
|
8696
8696
|
__decorateClass([
|
|
8697
8697
|
IsString125({ message: "debe ser un texto" }),
|
|
8698
|
-
|
|
8698
|
+
MinLength20(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8699
8699
|
Expose156()
|
|
8700
8700
|
], DetalleChileObraDTO.prototype, "red", 2);
|
|
8701
8701
|
__decorateClass([
|
|
@@ -8710,7 +8710,7 @@ __decorateClass([
|
|
|
8710
8710
|
], DetalleChileObraDTO.prototype, "PEP1", 2);
|
|
8711
8711
|
__decorateClass([
|
|
8712
8712
|
IsString125({ message: "debe ser un texto" }),
|
|
8713
|
-
|
|
8713
|
+
MinLength20(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8714
8714
|
Expose156()
|
|
8715
8715
|
], DetalleChileObraDTO.prototype, "GESTOR", 2);
|
|
8716
8716
|
__decorateClass([
|
|
@@ -8987,7 +8987,7 @@ __decorateClass([
|
|
|
8987
8987
|
], TotalGeneralObraDTO.prototype, "ValorizadoTotalObra", 2);
|
|
8988
8988
|
|
|
8989
8989
|
// src/programados/procesos/obra/shared/dto/ubicacion-dto.ts
|
|
8990
|
-
import { Expose as Expose164, Transform as
|
|
8990
|
+
import { Expose as Expose164, Transform as Transform8, Type as Type112 } from "class-transformer";
|
|
8991
8991
|
import { IsNotEmpty as IsNotEmpty145, IsString as IsString130, Length as Length107, ValidateNested as ValidateNested102 } from "class-validator";
|
|
8992
8992
|
var UbicacionObraDTO = class {
|
|
8993
8993
|
Direccion = "";
|
|
@@ -9004,7 +9004,7 @@ __decorateClass([
|
|
|
9004
9004
|
Expose164()
|
|
9005
9005
|
], UbicacionObraDTO.prototype, "Direccion", 2);
|
|
9006
9006
|
__decorateClass([
|
|
9007
|
-
|
|
9007
|
+
Transform8(({ value }) => value === null ? "" : value),
|
|
9008
9008
|
IsString130({ message: "debe ser un texto" }),
|
|
9009
9009
|
Length107(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
9010
9010
|
Expose164()
|
|
@@ -9016,7 +9016,7 @@ __decorateClass([
|
|
|
9016
9016
|
ValidateNested102()
|
|
9017
9017
|
], UbicacionObraDTO.prototype, "Coordenadas", 2);
|
|
9018
9018
|
__decorateClass([
|
|
9019
|
-
|
|
9019
|
+
Transform8(({ value }) => value === null ? "" : value),
|
|
9020
9020
|
IsString130({ message: "debe ser un texto" }),
|
|
9021
9021
|
Length107(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
9022
9022
|
Expose164()
|
|
@@ -9880,7 +9880,7 @@ __decorateClass([
|
|
|
9880
9880
|
], AddressListENTITY.prototype, "BusinessHPList", 2);
|
|
9881
9881
|
|
|
9882
9882
|
// src/programados/procesos/macroobra/shared/index.ts
|
|
9883
|
-
import { IsArray as IsArray65, IsDate as IsDate56, IsDefined as IsDefined15, IsNotEmpty as IsNotEmpty159, IsNumber as IsNumber127, IsString as IsString142, Min as Min94, MinLength as
|
|
9883
|
+
import { IsArray as IsArray65, IsDate as IsDate56, IsDefined as IsDefined15, IsNotEmpty as IsNotEmpty159, IsNumber as IsNumber127, IsString as IsString142, Min as Min94, MinLength as MinLength21, ValidateNested as ValidateNested110 } from "class-validator";
|
|
9884
9884
|
import { Expose as Expose178, Type as Type123 } from "class-transformer";
|
|
9885
9885
|
var MacroObraENTITY = class {
|
|
9886
9886
|
ID_MacroObra = 0;
|
|
@@ -9924,7 +9924,7 @@ __decorateClass([
|
|
|
9924
9924
|
__decorateClass([
|
|
9925
9925
|
IsDefined15(),
|
|
9926
9926
|
IsString142({ message: "debe ser un texto" }),
|
|
9927
|
-
|
|
9927
|
+
MinLength21(0, { message: "es requerido" }),
|
|
9928
9928
|
Expose178()
|
|
9929
9929
|
], MacroObraENTITY.prototype, "Observacion", 2);
|
|
9930
9930
|
__decorateClass([
|
|
@@ -10139,7 +10139,7 @@ import {
|
|
|
10139
10139
|
IsOptional as IsOptional3,
|
|
10140
10140
|
IsString as IsString149,
|
|
10141
10141
|
Min as Min101,
|
|
10142
|
-
MinLength as
|
|
10142
|
+
MinLength as MinLength23,
|
|
10143
10143
|
ValidateNested as ValidateNested113
|
|
10144
10144
|
} from "class-validator";
|
|
10145
10145
|
|
|
@@ -10289,7 +10289,7 @@ __decorateClass([
|
|
|
10289
10289
|
|
|
10290
10290
|
// src/programados/procesos/macroobra/chile/dto/data-gran-total/resumen-avance-data-gran-total-manoobra-chile-dto.ts
|
|
10291
10291
|
import { Expose as Expose185 } from "class-transformer";
|
|
10292
|
-
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as
|
|
10292
|
+
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as MinLength22 } from "class-validator";
|
|
10293
10293
|
var ResumenAvanceDataGranTotalManoObraCHILEDTO = class {
|
|
10294
10294
|
Total = 0;
|
|
10295
10295
|
TotalUsado = 0;
|
|
@@ -10316,19 +10316,19 @@ __decorateClass([
|
|
|
10316
10316
|
__decorateClass([
|
|
10317
10317
|
IsDefined16(),
|
|
10318
10318
|
IsString148(),
|
|
10319
|
-
|
|
10319
|
+
MinLength22(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10320
10320
|
Expose185()
|
|
10321
10321
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FPorcentajeUsado", 2);
|
|
10322
10322
|
__decorateClass([
|
|
10323
10323
|
IsDefined16(),
|
|
10324
10324
|
IsString148(),
|
|
10325
|
-
|
|
10325
|
+
MinLength22(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10326
10326
|
Expose185()
|
|
10327
10327
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotal", 2);
|
|
10328
10328
|
__decorateClass([
|
|
10329
10329
|
IsDefined16(),
|
|
10330
10330
|
IsString148(),
|
|
10331
|
-
|
|
10331
|
+
MinLength22(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10332
10332
|
Expose185()
|
|
10333
10333
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotalUsado", 2);
|
|
10334
10334
|
|
|
@@ -10374,19 +10374,19 @@ __decorateClass([
|
|
|
10374
10374
|
__decorateClass([
|
|
10375
10375
|
IsDefined17(),
|
|
10376
10376
|
IsString149(),
|
|
10377
|
-
|
|
10377
|
+
MinLength23(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10378
10378
|
Expose186()
|
|
10379
10379
|
], ResumenAvanceDataGranTotal.prototype, "FTotal", 2);
|
|
10380
10380
|
__decorateClass([
|
|
10381
10381
|
IsDefined17(),
|
|
10382
10382
|
IsString149(),
|
|
10383
|
-
|
|
10383
|
+
MinLength23(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10384
10384
|
Expose186()
|
|
10385
10385
|
], ResumenAvanceDataGranTotal.prototype, "FPorcentajeUsado", 2);
|
|
10386
10386
|
__decorateClass([
|
|
10387
10387
|
IsDefined17(),
|
|
10388
10388
|
IsString149(),
|
|
10389
|
-
|
|
10389
|
+
MinLength23(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10390
10390
|
Expose186()
|
|
10391
10391
|
], ResumenAvanceDataGranTotal.prototype, "FTotalUsado", 2);
|
|
10392
10392
|
__decorateClass([
|
|
@@ -10406,7 +10406,7 @@ __decorateClass([
|
|
|
10406
10406
|
__decorateClass([
|
|
10407
10407
|
IsDefined17(),
|
|
10408
10408
|
IsString149(),
|
|
10409
|
-
|
|
10409
|
+
MinLength23(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10410
10410
|
Expose186()
|
|
10411
10411
|
], ResumenAvanceDataGranTotal.prototype, "Simbolo", 2);
|
|
10412
10412
|
|
|
@@ -11192,7 +11192,7 @@ __decorateClass([
|
|
|
11192
11192
|
|
|
11193
11193
|
// src/programados/procesos/model obra sql/peru/index.ts
|
|
11194
11194
|
import { Expose as Expose202 } from "class-transformer";
|
|
11195
|
-
import { IsString as IsString160, Length as Length124, IsNumber as IsNumber144, Min as Min110, MinLength as
|
|
11195
|
+
import { IsString as IsString160, Length as Length124, IsNumber as IsNumber144, Min as Min110, MinLength as MinLength24, Matches as Matches2 } from "class-validator";
|
|
11196
11196
|
var ModelObraSQLPeruENTITY = class {
|
|
11197
11197
|
Idreg_ptr;
|
|
11198
11198
|
Anio;
|
|
@@ -11471,7 +11471,7 @@ __decorateClass([
|
|
|
11471
11471
|
], ModelObraSQLPeruENTITY.prototype, "Usuario", 2);
|
|
11472
11472
|
__decorateClass([
|
|
11473
11473
|
IsString160({ message: "debe ser un texto" }),
|
|
11474
|
-
|
|
11474
|
+
MinLength24(0, { message: "debe tener minimo 1" }),
|
|
11475
11475
|
Expose202()
|
|
11476
11476
|
], ModelObraSQLPeruENTITY.prototype, "Datos_Certificacion", 2);
|
|
11477
11477
|
|
|
@@ -12202,8 +12202,8 @@ __decorateClass([
|
|
|
12202
12202
|
], GomENTITY.prototype, "Anexos", 2);
|
|
12203
12203
|
|
|
12204
12204
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
12205
|
-
import { Expose as Expose211, Transform as
|
|
12206
|
-
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as
|
|
12205
|
+
import { Expose as Expose211, Transform as Transform9, Type as Type143 } from "class-transformer";
|
|
12206
|
+
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as MinLength25 } from "class-validator";
|
|
12207
12207
|
var CabeceraCubicajeDTO = class {
|
|
12208
12208
|
codigoCalc = "";
|
|
12209
12209
|
codigo = "";
|
|
@@ -12231,45 +12231,45 @@ var CabeceraCubicajeDTO = class {
|
|
|
12231
12231
|
};
|
|
12232
12232
|
__decorateClass([
|
|
12233
12233
|
IsString169({ message: "debe ser un texto" }),
|
|
12234
|
-
|
|
12234
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12235
12235
|
Expose211()
|
|
12236
12236
|
], CabeceraCubicajeDTO.prototype, "codigoCalc", 2);
|
|
12237
12237
|
__decorateClass([
|
|
12238
12238
|
IsString169({ message: "debe ser un texto" }),
|
|
12239
|
-
|
|
12239
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12240
12240
|
Expose211()
|
|
12241
12241
|
], CabeceraCubicajeDTO.prototype, "codigo", 2);
|
|
12242
12242
|
__decorateClass([
|
|
12243
12243
|
IsString169({ message: "debe ser un texto" }),
|
|
12244
|
-
|
|
12244
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12245
12245
|
Expose211()
|
|
12246
12246
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
12247
12247
|
__decorateClass([
|
|
12248
|
-
|
|
12248
|
+
Transform9(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12249
12249
|
IsString169({ message: "debe ser un texto" }),
|
|
12250
|
-
|
|
12250
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12251
12251
|
Expose211()
|
|
12252
12252
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
12253
12253
|
__decorateClass([
|
|
12254
|
-
|
|
12254
|
+
Transform9(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12255
12255
|
IsString169({ message: "debe ser un texto" }),
|
|
12256
|
-
|
|
12256
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12257
12257
|
Expose211()
|
|
12258
12258
|
], CabeceraCubicajeDTO.prototype, "agencia", 2);
|
|
12259
12259
|
__decorateClass([
|
|
12260
12260
|
IsString169({ message: "debe ser un texto" }),
|
|
12261
|
-
|
|
12261
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12262
12262
|
Expose211()
|
|
12263
12263
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
12264
12264
|
__decorateClass([
|
|
12265
|
-
|
|
12265
|
+
Transform9(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12266
12266
|
IsString169({ message: "debe ser un texto" }),
|
|
12267
|
-
|
|
12267
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12268
12268
|
Expose211()
|
|
12269
12269
|
], CabeceraCubicajeDTO.prototype, "nombreoe", 2);
|
|
12270
12270
|
__decorateClass([
|
|
12271
12271
|
IsString169({ message: "debe ser un texto" }),
|
|
12272
|
-
|
|
12272
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12273
12273
|
Expose211()
|
|
12274
12274
|
], CabeceraCubicajeDTO.prototype, "tipooe", 2);
|
|
12275
12275
|
__decorateClass([
|
|
@@ -12284,62 +12284,62 @@ __decorateClass([
|
|
|
12284
12284
|
], CabeceraCubicajeDTO.prototype, "finoe", 2);
|
|
12285
12285
|
__decorateClass([
|
|
12286
12286
|
IsString169({ message: "debe ser un texto" }),
|
|
12287
|
-
|
|
12287
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12288
12288
|
Expose211()
|
|
12289
12289
|
], CabeceraCubicajeDTO.prototype, "PE", 2);
|
|
12290
12290
|
__decorateClass([
|
|
12291
12291
|
IsString169({ message: "debe ser un texto" }),
|
|
12292
|
-
|
|
12292
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12293
12293
|
Expose211()
|
|
12294
12294
|
], CabeceraCubicajeDTO.prototype, "ITOCTC", 2);
|
|
12295
12295
|
__decorateClass([
|
|
12296
12296
|
IsString169({ message: "debe ser un texto" }),
|
|
12297
|
-
|
|
12297
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12298
12298
|
Expose211()
|
|
12299
12299
|
], CabeceraCubicajeDTO.prototype, "central", 2);
|
|
12300
12300
|
__decorateClass([
|
|
12301
12301
|
IsString169({ message: "debe ser un texto" }),
|
|
12302
|
-
|
|
12302
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12303
12303
|
Expose211()
|
|
12304
12304
|
], CabeceraCubicajeDTO.prototype, "cliente", 2);
|
|
12305
12305
|
__decorateClass([
|
|
12306
12306
|
IsString169({ message: "debe ser un texto" }),
|
|
12307
|
-
|
|
12307
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12308
12308
|
Expose211()
|
|
12309
12309
|
], CabeceraCubicajeDTO.prototype, "direccion", 2);
|
|
12310
12310
|
__decorateClass([
|
|
12311
12311
|
IsString169({ message: "debe ser un texto" }),
|
|
12312
|
-
|
|
12312
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12313
12313
|
Expose211()
|
|
12314
12314
|
], CabeceraCubicajeDTO.prototype, "comuna", 2);
|
|
12315
12315
|
__decorateClass([
|
|
12316
12316
|
IsString169({ message: "debe ser un texto" }),
|
|
12317
|
-
|
|
12317
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12318
12318
|
Expose211()
|
|
12319
12319
|
], CabeceraCubicajeDTO.prototype, "nombreproyecto", 2);
|
|
12320
12320
|
__decorateClass([
|
|
12321
12321
|
IsString169({ message: "debe ser un texto" }),
|
|
12322
|
-
|
|
12322
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12323
12323
|
Expose211()
|
|
12324
12324
|
], CabeceraCubicajeDTO.prototype, "ito", 2);
|
|
12325
12325
|
__decorateClass([
|
|
12326
12326
|
IsString169({ message: "debe ser un texto" }),
|
|
12327
|
-
|
|
12327
|
+
MinLength25(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12328
12328
|
Expose211()
|
|
12329
12329
|
], CabeceraCubicajeDTO.prototype, "red", 2);
|
|
12330
12330
|
__decorateClass([
|
|
12331
12331
|
IsString169({ message: "debe ser un texto" }),
|
|
12332
|
-
|
|
12332
|
+
MinLength25(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12333
12333
|
Expose211()
|
|
12334
12334
|
], CabeceraCubicajeDTO.prototype, "PEP2", 2);
|
|
12335
12335
|
__decorateClass([
|
|
12336
12336
|
IsString169({ message: "debe ser un texto" }),
|
|
12337
|
-
|
|
12337
|
+
MinLength25(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12338
12338
|
Expose211()
|
|
12339
12339
|
], CabeceraCubicajeDTO.prototype, "PEP1", 2);
|
|
12340
12340
|
__decorateClass([
|
|
12341
12341
|
IsString169({ message: "debe ser un texto" }),
|
|
12342
|
-
|
|
12342
|
+
MinLength25(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12343
12343
|
Expose211()
|
|
12344
12344
|
], CabeceraCubicajeDTO.prototype, "GESTOR", 2);
|
|
12345
12345
|
__decorateClass([
|
|
@@ -12349,8 +12349,8 @@ __decorateClass([
|
|
|
12349
12349
|
], CabeceraCubicajeDTO.prototype, "CostoTotal", 2);
|
|
12350
12350
|
|
|
12351
12351
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
12352
|
-
import { Expose as Expose212, Transform as
|
|
12353
|
-
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as
|
|
12352
|
+
import { Expose as Expose212, Transform as Transform10 } from "class-transformer";
|
|
12353
|
+
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as MinLength26, Min as Min118 } from "class-validator";
|
|
12354
12354
|
var DetalleCubicajeDTO = class {
|
|
12355
12355
|
codigo = "";
|
|
12356
12356
|
linea = "";
|
|
@@ -12376,75 +12376,75 @@ var DetalleCubicajeDTO = class {
|
|
|
12376
12376
|
};
|
|
12377
12377
|
__decorateClass([
|
|
12378
12378
|
IsString170({ message: "debe ser un texto" }),
|
|
12379
|
-
|
|
12379
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12380
12380
|
Expose212()
|
|
12381
12381
|
], DetalleCubicajeDTO.prototype, "codigo", 2);
|
|
12382
12382
|
__decorateClass([
|
|
12383
12383
|
IsString170({ message: "debe ser un texto" }),
|
|
12384
|
-
|
|
12384
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12385
12385
|
Expose212(),
|
|
12386
12386
|
IsString170({ message: "debe ser un texto" }),
|
|
12387
|
-
|
|
12387
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12388
12388
|
Expose212()
|
|
12389
12389
|
], DetalleCubicajeDTO.prototype, "linea", 2);
|
|
12390
12390
|
__decorateClass([
|
|
12391
12391
|
IsString170({ message: "debe ser un texto" }),
|
|
12392
|
-
|
|
12392
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12393
12393
|
Expose212()
|
|
12394
12394
|
], DetalleCubicajeDTO.prototype, "dirdesde", 2);
|
|
12395
12395
|
__decorateClass([
|
|
12396
12396
|
IsString170({ message: "debe ser un texto" }),
|
|
12397
|
-
|
|
12397
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12398
12398
|
Expose212()
|
|
12399
12399
|
], DetalleCubicajeDTO.prototype, "altdesde", 2);
|
|
12400
12400
|
__decorateClass([
|
|
12401
12401
|
IsString170({ message: "debe ser un texto" }),
|
|
12402
|
-
|
|
12402
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12403
12403
|
Expose212()
|
|
12404
12404
|
], DetalleCubicajeDTO.prototype, "dirhasta", 2);
|
|
12405
12405
|
__decorateClass([
|
|
12406
12406
|
IsString170({ message: "debe ser un texto" }),
|
|
12407
|
-
|
|
12407
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12408
12408
|
Expose212()
|
|
12409
12409
|
], DetalleCubicajeDTO.prototype, "althasta", 2);
|
|
12410
12410
|
__decorateClass([
|
|
12411
12411
|
IsString170({ message: "debe ser un texto" }),
|
|
12412
|
-
|
|
12412
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12413
12413
|
Expose212()
|
|
12414
12414
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
12415
12415
|
__decorateClass([
|
|
12416
|
-
|
|
12416
|
+
Transform10(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12417
12417
|
IsString170({ message: "debe ser un texto" }),
|
|
12418
|
-
|
|
12418
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12419
12419
|
Expose212()
|
|
12420
12420
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
12421
12421
|
__decorateClass([
|
|
12422
|
-
|
|
12422
|
+
Transform10(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12423
12423
|
IsString170({ message: "debe ser un texto" }),
|
|
12424
|
-
|
|
12424
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12425
12425
|
Expose212()
|
|
12426
12426
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
12427
12427
|
__decorateClass([
|
|
12428
|
-
|
|
12428
|
+
Transform10(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12429
12429
|
IsString170({ message: "debe ser un texto" }),
|
|
12430
|
-
|
|
12430
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12431
12431
|
Expose212()
|
|
12432
12432
|
], DetalleCubicajeDTO.prototype, "codclave", 2);
|
|
12433
12433
|
__decorateClass([
|
|
12434
12434
|
IsString170({ message: "debe ser un texto" }),
|
|
12435
|
-
|
|
12435
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12436
12436
|
Expose212()
|
|
12437
12437
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
12438
12438
|
__decorateClass([
|
|
12439
|
-
|
|
12439
|
+
Transform10(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12440
12440
|
IsString170({ message: "debe ser un texto" }),
|
|
12441
|
-
|
|
12441
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12442
12442
|
Expose212()
|
|
12443
12443
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
12444
12444
|
__decorateClass([
|
|
12445
|
-
|
|
12445
|
+
Transform10(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12446
12446
|
IsString170({ message: "debe ser un texto" }),
|
|
12447
|
-
|
|
12447
|
+
MinLength26(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12448
12448
|
Expose212()
|
|
12449
12449
|
], DetalleCubicajeDTO.prototype, "coduo", 2);
|
|
12450
12450
|
__decorateClass([
|
|
@@ -12479,18 +12479,18 @@ __decorateClass([
|
|
|
12479
12479
|
], DetalleCubicajeDTO.prototype, "canuoapr", 2);
|
|
12480
12480
|
__decorateClass([
|
|
12481
12481
|
IsString170({ message: "debe ser un texto" }),
|
|
12482
|
-
|
|
12482
|
+
MinLength26(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12483
12483
|
Expose212()
|
|
12484
12484
|
], DetalleCubicajeDTO.prototype, "origen", 2);
|
|
12485
12485
|
__decorateClass([
|
|
12486
12486
|
IsString170({ message: "debe ser un texto" }),
|
|
12487
|
-
|
|
12487
|
+
MinLength26(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12488
12488
|
Expose212()
|
|
12489
12489
|
], DetalleCubicajeDTO.prototype, "codigobarra", 2);
|
|
12490
12490
|
|
|
12491
12491
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
12492
|
-
import { Expose as Expose213, Transform as
|
|
12493
|
-
import { IsArray as IsArray78, IsDate as IsDate63, IsEnum as IsEnum3, IsNumber as IsNumber154, IsString as IsString171, Min as Min119, MinLength as
|
|
12492
|
+
import { Expose as Expose213, Transform as Transform11, Type as Type144 } from "class-transformer";
|
|
12493
|
+
import { IsArray as IsArray78, IsDate as IsDate63, IsEnum as IsEnum3, IsNumber as IsNumber154, IsString as IsString171, Min as Min119, MinLength as MinLength27, ValidateNested as ValidateNested129 } from "class-validator";
|
|
12494
12494
|
var OrigenCUB = /* @__PURE__ */ ((OrigenCUB2) => {
|
|
12495
12495
|
OrigenCUB2["CREATE_MANUAL"] = "CREATE MANUAL";
|
|
12496
12496
|
OrigenCUB2["CREADO_POR_WORK_PROYECT"] = "CREADO POR WORK PROYECT";
|
|
@@ -12527,18 +12527,18 @@ __decorateClass([
|
|
|
12527
12527
|
], CubicacionENTITY.prototype, "detalle", 2);
|
|
12528
12528
|
__decorateClass([
|
|
12529
12529
|
IsString171({ message: "debe ser un texto" }),
|
|
12530
|
-
|
|
12530
|
+
MinLength27(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12531
12531
|
Expose213()
|
|
12532
12532
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
12533
12533
|
__decorateClass([
|
|
12534
|
-
|
|
12534
|
+
Transform11(({ value }) => typeof value === "string" ? value.replaceAll(" ", "") : value),
|
|
12535
12535
|
IsDate63({ message: "debe ser una fecha" }),
|
|
12536
12536
|
Type144(() => Date),
|
|
12537
12537
|
Expose213()
|
|
12538
12538
|
], CubicacionENTITY.prototype, "Fecha", 2);
|
|
12539
12539
|
__decorateClass([
|
|
12540
12540
|
IsString171({ message: "debe ser un texto" }),
|
|
12541
|
-
|
|
12541
|
+
MinLength27(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12542
12542
|
Expose213()
|
|
12543
12543
|
], CubicacionENTITY.prototype, "ZonaAsignada", 2);
|
|
12544
12544
|
__decorateClass([
|
|
@@ -12552,7 +12552,7 @@ __decorateClass([
|
|
|
12552
12552
|
], CubicacionENTITY.prototype, "OrigenCUB", 2);
|
|
12553
12553
|
__decorateClass([
|
|
12554
12554
|
IsString171({ message: "debe ser un texto" }),
|
|
12555
|
-
|
|
12555
|
+
MinLength27(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12556
12556
|
Expose213()
|
|
12557
12557
|
], CubicacionENTITY.prototype, "Actividad", 2);
|
|
12558
12558
|
|
|
@@ -12564,7 +12564,7 @@ import { Expose as Expose215, Type as Type146 } from "class-transformer";
|
|
|
12564
12564
|
|
|
12565
12565
|
// src/programados/procesos/cubicacion/chile/dto/historial-cubicacion-dto.ts
|
|
12566
12566
|
import { Expose as Expose214, Type as Type145 } from "class-transformer";
|
|
12567
|
-
import { IsDate as IsDate64, IsString as IsString172, MinLength as
|
|
12567
|
+
import { IsDate as IsDate64, IsString as IsString172, MinLength as MinLength28 } from "class-validator";
|
|
12568
12568
|
var HistorialCubicacionDTO = class {
|
|
12569
12569
|
Actividad = "";
|
|
12570
12570
|
Estado = "";
|
|
@@ -12575,12 +12575,12 @@ var HistorialCubicacionDTO = class {
|
|
|
12575
12575
|
};
|
|
12576
12576
|
__decorateClass([
|
|
12577
12577
|
IsString172({ message: "debe ser un texto" }),
|
|
12578
|
-
|
|
12578
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12579
12579
|
Expose214()
|
|
12580
12580
|
], HistorialCubicacionDTO.prototype, "Actividad", 2);
|
|
12581
12581
|
__decorateClass([
|
|
12582
12582
|
IsString172({ message: "debe ser un texto" }),
|
|
12583
|
-
|
|
12583
|
+
MinLength28(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12584
12584
|
Expose214()
|
|
12585
12585
|
], HistorialCubicacionDTO.prototype, "Estado", 2);
|
|
12586
12586
|
__decorateClass([
|
|
@@ -12595,12 +12595,12 @@ __decorateClass([
|
|
|
12595
12595
|
], HistorialCubicacionDTO.prototype, "Fin", 2);
|
|
12596
12596
|
__decorateClass([
|
|
12597
12597
|
IsString172({ message: "debe ser un texto" }),
|
|
12598
|
-
|
|
12598
|
+
MinLength28(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12599
12599
|
Expose214()
|
|
12600
12600
|
], HistorialCubicacionDTO.prototype, "Usuario", 2);
|
|
12601
12601
|
__decorateClass([
|
|
12602
12602
|
IsString172({ message: "debe ser un texto" }),
|
|
12603
|
-
|
|
12603
|
+
MinLength28(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12604
12604
|
Expose214()
|
|
12605
12605
|
], HistorialCubicacionDTO.prototype, "Comentario", 2);
|
|
12606
12606
|
|
|
@@ -12632,7 +12632,7 @@ import { Expose as Expose219, Type as Type149 } from "class-transformer";
|
|
|
12632
12632
|
|
|
12633
12633
|
// src/programados/procesos/cubicacion/alemania/dto/acta-final-cubicacion-dto.ts
|
|
12634
12634
|
import { Expose as Expose217 } from "class-transformer";
|
|
12635
|
-
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as
|
|
12635
|
+
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as MinLength29 } from "class-validator";
|
|
12636
12636
|
var ActaFinalCubicacionDTO = class {
|
|
12637
12637
|
DescripcionMO = "";
|
|
12638
12638
|
BaremoUnitario = 0;
|
|
@@ -12641,7 +12641,7 @@ var ActaFinalCubicacionDTO = class {
|
|
|
12641
12641
|
};
|
|
12642
12642
|
__decorateClass([
|
|
12643
12643
|
IsString173({ message: "debe ser un texto" }),
|
|
12644
|
-
|
|
12644
|
+
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12645
12645
|
Expose217()
|
|
12646
12646
|
], ActaFinalCubicacionDTO.prototype, "DescripcionMO", 2);
|
|
12647
12647
|
__decorateClass([
|
|
@@ -13981,7 +13981,7 @@ import { Expose as Expose253, Type as Type165 } from "class-transformer";
|
|
|
13981
13981
|
import { IsArray as IsArray90, IsBoolean as IsBoolean20, IsNotEmpty as IsNotEmpty212, IsNumber as IsNumber174, IsOptional as IsOptional7, IsString as IsString204, Min as Min134, ValidateNested as ValidateNested150 } from "class-validator";
|
|
13982
13982
|
|
|
13983
13983
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
|
|
13984
|
-
import { Expose as Expose245, Transform as
|
|
13984
|
+
import { Expose as Expose245, Transform as Transform12, Type as Type162 } from "class-transformer";
|
|
13985
13985
|
import { IsArray as IsArray88, IsDate as IsDate69, IsIn as IsIn4, IsNotEmpty as IsNotEmpty204, IsString as IsString196, Length as Length146, ValidateNested as ValidateNested147 } from "class-validator";
|
|
13986
13986
|
var CambiosEstadosPagosProduccionDTO = class {
|
|
13987
13987
|
NroDocumento = "";
|
|
@@ -14002,7 +14002,7 @@ __decorateClass([
|
|
|
14002
14002
|
ValidateNested147()
|
|
14003
14003
|
], CambiosEstadosPagosProduccionDTO.prototype, "UsuarioCambio", 2);
|
|
14004
14004
|
__decorateClass([
|
|
14005
|
-
|
|
14005
|
+
Transform12(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14006
14006
|
IsDate69({ message: "debe ser una fecha" }),
|
|
14007
14007
|
IsNotEmpty204({ message: "es requerido" }),
|
|
14008
14008
|
Expose245()
|
|
@@ -14101,7 +14101,7 @@ __decorateClass([
|
|
|
14101
14101
|
], ManoObraDTO3.prototype, "UnidadMedida", 2);
|
|
14102
14102
|
|
|
14103
14103
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/periodo-dto.ts
|
|
14104
|
-
import { Expose as Expose249, Transform as
|
|
14104
|
+
import { Expose as Expose249, Transform as Transform13 } from "class-transformer";
|
|
14105
14105
|
import { IsDate as IsDate70, IsNotEmpty as IsNotEmpty208, IsNumber as IsNumber171, IsString as IsString200, Length as Length150 } from "class-validator";
|
|
14106
14106
|
var PeriodoDTO5 = class {
|
|
14107
14107
|
FechaInicio = /* @__PURE__ */ new Date(0);
|
|
@@ -14112,19 +14112,19 @@ var PeriodoDTO5 = class {
|
|
|
14112
14112
|
Codigo = "";
|
|
14113
14113
|
};
|
|
14114
14114
|
__decorateClass([
|
|
14115
|
-
|
|
14115
|
+
Transform13(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14116
14116
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14117
14117
|
IsNotEmpty208({ message: "es requerido" }),
|
|
14118
14118
|
Expose249()
|
|
14119
14119
|
], PeriodoDTO5.prototype, "FechaInicio", 2);
|
|
14120
14120
|
__decorateClass([
|
|
14121
|
-
|
|
14121
|
+
Transform13(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14122
14122
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14123
14123
|
IsNotEmpty208({ message: "es requerido" }),
|
|
14124
14124
|
Expose249()
|
|
14125
14125
|
], PeriodoDTO5.prototype, "FechaFin", 2);
|
|
14126
14126
|
__decorateClass([
|
|
14127
|
-
|
|
14127
|
+
Transform13(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14128
14128
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14129
14129
|
IsNotEmpty208({ message: "es requerido" }),
|
|
14130
14130
|
Expose249()
|
|
@@ -14147,7 +14147,7 @@ __decorateClass([
|
|
|
14147
14147
|
], PeriodoDTO5.prototype, "Codigo", 2);
|
|
14148
14148
|
|
|
14149
14149
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_estado_interno-dto.ts
|
|
14150
|
-
import { Expose as Expose250, Transform as
|
|
14150
|
+
import { Expose as Expose250, Transform as Transform14, Type as Type163 } from "class-transformer";
|
|
14151
14151
|
import { IsDate as IsDate71, IsNotEmpty as IsNotEmpty209, IsNumber as IsNumber172, IsString as IsString201, Length as Length151, ValidateNested as ValidateNested148 } from "class-validator";
|
|
14152
14152
|
var Ultimo_Estado_InternoDTO = class {
|
|
14153
14153
|
ID_EstadoInterno = 0;
|
|
@@ -14174,7 +14174,7 @@ __decorateClass([
|
|
|
14174
14174
|
Expose250()
|
|
14175
14175
|
], Ultimo_Estado_InternoDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
14176
14176
|
__decorateClass([
|
|
14177
|
-
|
|
14177
|
+
Transform14(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14178
14178
|
IsDate71({ message: "debe ser una fecha" }),
|
|
14179
14179
|
IsNotEmpty209({ message: "es requerido" }),
|
|
14180
14180
|
Expose250()
|
|
@@ -14234,7 +14234,7 @@ __decorateClass([
|
|
|
14234
14234
|
], Ultimo_Estado_InternoDTO.prototype, "UsuarioEdicion", 2);
|
|
14235
14235
|
|
|
14236
14236
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_fase-dto.ts
|
|
14237
|
-
import { Expose as Expose251, Transform as
|
|
14237
|
+
import { Expose as Expose251, Transform as Transform15, Type as Type164 } from "class-transformer";
|
|
14238
14238
|
import { IsArray as IsArray89, IsDate as IsDate72, IsIn as IsIn5, Max as Max6, IsNotEmpty as IsNotEmpty210, IsNumber as IsNumber173, IsString as IsString202, Length as Length152, Min as Min133, ValidateNested as ValidateNested149 } from "class-validator";
|
|
14239
14239
|
var Ultima_FaseDTO = class {
|
|
14240
14240
|
ID_Fase = 0;
|
|
@@ -14281,7 +14281,7 @@ __decorateClass([
|
|
|
14281
14281
|
ValidateNested149()
|
|
14282
14282
|
], Ultima_FaseDTO.prototype, "UsuarioCambio", 2);
|
|
14283
14283
|
__decorateClass([
|
|
14284
|
-
|
|
14284
|
+
Transform15(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14285
14285
|
IsDate72({ message: "debe ser una fecha" }),
|
|
14286
14286
|
IsNotEmpty210({ message: "es requerido" }),
|
|
14287
14287
|
Expose251()
|
|
@@ -14309,7 +14309,7 @@ __decorateClass([
|
|
|
14309
14309
|
ValidateNested149()
|
|
14310
14310
|
], Ultima_FaseDTO.prototype, "UsuarioDocumento", 2);
|
|
14311
14311
|
__decorateClass([
|
|
14312
|
-
|
|
14312
|
+
Transform15(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14313
14313
|
IsDate72({ message: "debe ser una fecha" }),
|
|
14314
14314
|
IsNotEmpty210({ message: "es requerido" }),
|
|
14315
14315
|
Expose251()
|
|
@@ -18308,7 +18308,7 @@ __decorateClass([
|
|
|
18308
18308
|
], BodegaENTITY.prototype, "Bitacora", 2);
|
|
18309
18309
|
|
|
18310
18310
|
// src/logistica/autoinventario/shared/index.ts
|
|
18311
|
-
import { Expose as Expose306, Transform as
|
|
18311
|
+
import { Expose as Expose306, Transform as Transform16, Type as Type200 } from "class-transformer";
|
|
18312
18312
|
|
|
18313
18313
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
18314
18314
|
import { Expose as Expose305 } from "class-transformer";
|
|
@@ -18413,7 +18413,7 @@ __decorateClass([
|
|
|
18413
18413
|
Expose306()
|
|
18414
18414
|
], AutoInventarioENTITY.prototype, "Observacion", 2);
|
|
18415
18415
|
__decorateClass([
|
|
18416
|
-
|
|
18416
|
+
Transform16(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
18417
18417
|
IsDate90({ message: "debe ser una fecha" }),
|
|
18418
18418
|
IsNotEmpty261({ message: "es requerido" }),
|
|
18419
18419
|
Expose306()
|
|
@@ -20145,7 +20145,7 @@ __decorateClass([
|
|
|
20145
20145
|
import { IsDate as IsDate99, IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty293, IsString as IsString284, Length as Length226, ValidateNested as ValidateNested202 } from "class-validator";
|
|
20146
20146
|
|
|
20147
20147
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
20148
|
-
import { Expose as Expose340, Transform as
|
|
20148
|
+
import { Expose as Expose340, Transform as Transform17 } from "class-transformer";
|
|
20149
20149
|
import { IsDate as IsDate98, IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty292, IsString as IsString283, Length as Length225 } from "class-validator";
|
|
20150
20150
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
20151
20151
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -20176,7 +20176,7 @@ __decorateClass([
|
|
|
20176
20176
|
Expose340()
|
|
20177
20177
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
20178
20178
|
__decorateClass([
|
|
20179
|
-
|
|
20179
|
+
Transform17(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20180
20180
|
IsDate98({ message: "debe ser una fecha" }),
|
|
20181
20181
|
IsNotEmpty292({ message: "es requerido" }),
|
|
20182
20182
|
Expose340()
|
|
@@ -20188,7 +20188,7 @@ __decorateClass([
|
|
|
20188
20188
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
20189
20189
|
|
|
20190
20190
|
// src/configuracion/notificaciones/shared/index.ts
|
|
20191
|
-
import { Expose as Expose341, Transform as
|
|
20191
|
+
import { Expose as Expose341, Transform as Transform18, Type as Type224 } from "class-transformer";
|
|
20192
20192
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
20193
20193
|
TipoNotificacion2["INFO"] = "info";
|
|
20194
20194
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -20252,13 +20252,13 @@ __decorateClass([
|
|
|
20252
20252
|
ValidateNested202()
|
|
20253
20253
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
20254
20254
|
__decorateClass([
|
|
20255
|
-
|
|
20255
|
+
Transform18(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20256
20256
|
IsDate99({ message: "debe ser una fecha" }),
|
|
20257
20257
|
IsNotEmpty293({ message: "es requerido" }),
|
|
20258
20258
|
Expose341()
|
|
20259
20259
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
20260
20260
|
__decorateClass([
|
|
20261
|
-
|
|
20261
|
+
Transform18(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20262
20262
|
IsDate99({ message: "debe ser una fecha" }),
|
|
20263
20263
|
IsNotEmpty293({ message: "es requerido" }),
|
|
20264
20264
|
Expose341()
|