sigo-entities 1.0.21 → 1.0.23
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 +5 -4
- package/dist/index.mjs +111 -110
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6282,9 +6282,9 @@ __decorateClass([
|
|
|
6282
6282
|
(0, import_class_transformer123.Expose)()
|
|
6283
6283
|
], UbicacionDTO.prototype, "Direccion", 2);
|
|
6284
6284
|
__decorateClass([
|
|
6285
|
+
(0, import_class_transformer123.Transform)(({ value }) => value === null ? "" : value),
|
|
6285
6286
|
(0, import_class_validator124.IsString)({ message: "debe ser un texto" }),
|
|
6286
|
-
(0, import_class_validator124.
|
|
6287
|
-
(0, import_class_validator124.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
6287
|
+
(0, import_class_validator124.MinLength)(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
6288
6288
|
(0, import_class_transformer123.Expose)()
|
|
6289
6289
|
], UbicacionDTO.prototype, "Localidad_Descrip", 2);
|
|
6290
6290
|
__decorateClass([
|
|
@@ -6294,9 +6294,9 @@ __decorateClass([
|
|
|
6294
6294
|
(0, import_class_validator124.ValidateNested)()
|
|
6295
6295
|
], UbicacionDTO.prototype, "Coordenadas", 2);
|
|
6296
6296
|
__decorateClass([
|
|
6297
|
+
(0, import_class_transformer123.Transform)(({ value }) => value === null ? "" : value),
|
|
6297
6298
|
(0, import_class_validator124.IsString)({ message: "debe ser un texto" }),
|
|
6298
|
-
(0, import_class_validator124.
|
|
6299
|
-
(0, import_class_validator124.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
6299
|
+
(0, import_class_validator124.MinLength)(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
6300
6300
|
(0, import_class_transformer123.Expose)()
|
|
6301
6301
|
], UbicacionDTO.prototype, "Municipio", 2);
|
|
6302
6302
|
__decorateClass([
|
|
@@ -6790,6 +6790,7 @@ __decorateClass([
|
|
|
6790
6790
|
__decorateClass([
|
|
6791
6791
|
(0, import_class_validator129.IsDate)({ message: "debe ser una fecha" }),
|
|
6792
6792
|
(0, import_class_validator129.IsNotEmpty)({ message: "es requerido" }),
|
|
6793
|
+
(0, import_class_transformer128.Type)(() => Date),
|
|
6793
6794
|
(0, import_class_transformer128.Expose)()
|
|
6794
6795
|
], TrabajoENTITY.prototype, "FechaRegistro", 2);
|
|
6795
6796
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -5881,8 +5881,8 @@ __decorateClass([
|
|
|
5881
5881
|
], TurnoDTO.prototype, "Hora_Inicio", 2);
|
|
5882
5882
|
|
|
5883
5883
|
// src/programados/procesos/trabajo/shared/dto/ubicacion-dto.ts
|
|
5884
|
-
import { Expose as Expose121, Type as Type76 } from "class-transformer";
|
|
5885
|
-
import { IsNotEmpty as IsNotEmpty106, IsNumber as IsNumber85, IsString as IsString98, Length as Length80, ValidateNested as ValidateNested68 } from "class-validator";
|
|
5884
|
+
import { Expose as Expose121, Transform as Transform4, Type as Type76 } from "class-transformer";
|
|
5885
|
+
import { IsNotEmpty as IsNotEmpty106, IsNumber as IsNumber85, IsString as IsString98, Length as Length80, MinLength as MinLength10, ValidateNested as ValidateNested68 } from "class-validator";
|
|
5886
5886
|
var UbicacionDTO = class {
|
|
5887
5887
|
ID_Direccion = 0;
|
|
5888
5888
|
Direccion = "";
|
|
@@ -5904,9 +5904,9 @@ __decorateClass([
|
|
|
5904
5904
|
Expose121()
|
|
5905
5905
|
], UbicacionDTO.prototype, "Direccion", 2);
|
|
5906
5906
|
__decorateClass([
|
|
5907
|
+
Transform4(({ value }) => value === null ? "" : value),
|
|
5907
5908
|
IsString98({ message: "debe ser un texto" }),
|
|
5908
|
-
|
|
5909
|
-
Length80(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
5909
|
+
MinLength10(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5910
5910
|
Expose121()
|
|
5911
5911
|
], UbicacionDTO.prototype, "Localidad_Descrip", 2);
|
|
5912
5912
|
__decorateClass([
|
|
@@ -5916,9 +5916,9 @@ __decorateClass([
|
|
|
5916
5916
|
ValidateNested68()
|
|
5917
5917
|
], UbicacionDTO.prototype, "Coordenadas", 2);
|
|
5918
5918
|
__decorateClass([
|
|
5919
|
+
Transform4(({ value }) => value === null ? "" : value),
|
|
5919
5920
|
IsString98({ message: "debe ser un texto" }),
|
|
5920
|
-
|
|
5921
|
-
Length80(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
5921
|
+
MinLength10(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
5922
5922
|
Expose121()
|
|
5923
5923
|
], UbicacionDTO.prototype, "Municipio", 2);
|
|
5924
5924
|
__decorateClass([
|
|
@@ -6412,6 +6412,7 @@ __decorateClass([
|
|
|
6412
6412
|
__decorateClass([
|
|
6413
6413
|
IsDate33({ message: "debe ser una fecha" }),
|
|
6414
6414
|
IsNotEmpty111({ message: "es requerido" }),
|
|
6415
|
+
Type81(() => Date),
|
|
6415
6416
|
Expose126()
|
|
6416
6417
|
], TrabajoENTITY.prototype, "FechaRegistro", 2);
|
|
6417
6418
|
__decorateClass([
|
|
@@ -8529,11 +8530,11 @@ __decorateClass([
|
|
|
8529
8530
|
|
|
8530
8531
|
// src/programados/procesos/obra/shared/dto/detalle-chile-dto.ts
|
|
8531
8532
|
import { Expose as Expose156, Type as Type104 } from "class-transformer";
|
|
8532
|
-
import { IsArray as IsArray53, IsDate as IsDate47, IsNotEmpty as IsNotEmpty140, IsNumber as IsNumber110, IsString as IsString125, Length as Length107, Min as Min77, ValidateNested as ValidateNested95, MinLength as
|
|
8533
|
+
import { IsArray as IsArray53, IsDate as IsDate47, IsNotEmpty as IsNotEmpty140, IsNumber as IsNumber110, IsString as IsString125, Length as Length107, Min as Min77, ValidateNested as ValidateNested95, MinLength as MinLength12 } from "class-validator";
|
|
8533
8534
|
|
|
8534
8535
|
// src/programados/procesos/obra/shared/dto/historico-dto.ts
|
|
8535
8536
|
import { Expose as Expose155, Type as Type103 } from "class-transformer";
|
|
8536
|
-
import { IsDate as IsDate46, IsString as IsString124, Length as Length106, MinLength as
|
|
8537
|
+
import { IsDate as IsDate46, IsString as IsString124, Length as Length106, MinLength as MinLength11 } from "class-validator";
|
|
8537
8538
|
var HistoricoDTO = class {
|
|
8538
8539
|
Actividad = "";
|
|
8539
8540
|
Estado = "";
|
|
@@ -8564,12 +8565,12 @@ __decorateClass([
|
|
|
8564
8565
|
], HistoricoDTO.prototype, "Fin", 2);
|
|
8565
8566
|
__decorateClass([
|
|
8566
8567
|
IsString124({ message: "debe ser un texto" }),
|
|
8567
|
-
|
|
8568
|
+
MinLength11(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8568
8569
|
Expose155()
|
|
8569
8570
|
], HistoricoDTO.prototype, "Usuario", 2);
|
|
8570
8571
|
__decorateClass([
|
|
8571
8572
|
IsString124({ message: "debe ser un texto" }),
|
|
8572
|
-
|
|
8573
|
+
MinLength11(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8573
8574
|
Expose155()
|
|
8574
8575
|
], HistoricoDTO.prototype, "Comentario", 2);
|
|
8575
8576
|
|
|
@@ -8665,7 +8666,7 @@ __decorateClass([
|
|
|
8665
8666
|
], DetalleChileObraDTO.prototype, "PE", 2);
|
|
8666
8667
|
__decorateClass([
|
|
8667
8668
|
IsString125({ message: "debe ser un texto" }),
|
|
8668
|
-
|
|
8669
|
+
MinLength12(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
8669
8670
|
Expose156()
|
|
8670
8671
|
], DetalleChileObraDTO.prototype, "ITOCTC", 2);
|
|
8671
8672
|
__decorateClass([
|
|
@@ -8680,7 +8681,7 @@ __decorateClass([
|
|
|
8680
8681
|
], DetalleChileObraDTO.prototype, "cliente", 2);
|
|
8681
8682
|
__decorateClass([
|
|
8682
8683
|
IsString125({ message: "debe ser un texto" }),
|
|
8683
|
-
|
|
8684
|
+
MinLength12(1, { message: "debe tener al menos 1 caracter" }),
|
|
8684
8685
|
Expose156()
|
|
8685
8686
|
], DetalleChileObraDTO.prototype, "direccion", 2);
|
|
8686
8687
|
__decorateClass([
|
|
@@ -8695,12 +8696,12 @@ __decorateClass([
|
|
|
8695
8696
|
], DetalleChileObraDTO.prototype, "nombreproyecto", 2);
|
|
8696
8697
|
__decorateClass([
|
|
8697
8698
|
IsString125({ message: "debe ser un texto" }),
|
|
8698
|
-
|
|
8699
|
+
MinLength12(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8699
8700
|
Expose156()
|
|
8700
8701
|
], DetalleChileObraDTO.prototype, "ito", 2);
|
|
8701
8702
|
__decorateClass([
|
|
8702
8703
|
IsString125({ message: "debe ser un texto" }),
|
|
8703
|
-
|
|
8704
|
+
MinLength12(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8704
8705
|
Expose156()
|
|
8705
8706
|
], DetalleChileObraDTO.prototype, "red", 2);
|
|
8706
8707
|
__decorateClass([
|
|
@@ -8715,7 +8716,7 @@ __decorateClass([
|
|
|
8715
8716
|
], DetalleChileObraDTO.prototype, "PEP1", 2);
|
|
8716
8717
|
__decorateClass([
|
|
8717
8718
|
IsString125({ message: "debe ser un texto" }),
|
|
8718
|
-
|
|
8719
|
+
MinLength12(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8719
8720
|
Expose156()
|
|
8720
8721
|
], DetalleChileObraDTO.prototype, "GESTOR", 2);
|
|
8721
8722
|
__decorateClass([
|
|
@@ -8992,7 +8993,7 @@ __decorateClass([
|
|
|
8992
8993
|
], TotalGeneralObraDTO.prototype, "ValorizadoTotalObra", 2);
|
|
8993
8994
|
|
|
8994
8995
|
// src/programados/procesos/obra/shared/dto/ubicacion-dto.ts
|
|
8995
|
-
import { Expose as Expose164, Transform as
|
|
8996
|
+
import { Expose as Expose164, Transform as Transform5, Type as Type111 } from "class-transformer";
|
|
8996
8997
|
import { IsNotEmpty as IsNotEmpty148, IsString as IsString130, Length as Length111, ValidateNested as ValidateNested102 } from "class-validator";
|
|
8997
8998
|
var UbicacionObraDTO = class {
|
|
8998
8999
|
Direccion = "";
|
|
@@ -9009,7 +9010,7 @@ __decorateClass([
|
|
|
9009
9010
|
Expose164()
|
|
9010
9011
|
], UbicacionObraDTO.prototype, "Direccion", 2);
|
|
9011
9012
|
__decorateClass([
|
|
9012
|
-
|
|
9013
|
+
Transform5(({ value }) => value === null ? "" : value),
|
|
9013
9014
|
IsString130({ message: "debe ser un texto" }),
|
|
9014
9015
|
Length111(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
9015
9016
|
Expose164()
|
|
@@ -9021,7 +9022,7 @@ __decorateClass([
|
|
|
9021
9022
|
ValidateNested102()
|
|
9022
9023
|
], UbicacionObraDTO.prototype, "Coordenadas", 2);
|
|
9023
9024
|
__decorateClass([
|
|
9024
|
-
|
|
9025
|
+
Transform5(({ value }) => value === null ? "" : value),
|
|
9025
9026
|
IsString130({ message: "debe ser un texto" }),
|
|
9026
9027
|
Length111(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
9027
9028
|
Expose164()
|
|
@@ -9885,7 +9886,7 @@ __decorateClass([
|
|
|
9885
9886
|
], AddressListENTITY.prototype, "BusinessHPList", 2);
|
|
9886
9887
|
|
|
9887
9888
|
// src/programados/procesos/macroobra/shared/index.ts
|
|
9888
|
-
import { IsArray as IsArray65, IsDate as IsDate56, IsDefined as IsDefined15, IsNotEmpty as IsNotEmpty162, IsNumber as IsNumber127, IsString as IsString142, Min as Min94, MinLength as
|
|
9889
|
+
import { IsArray as IsArray65, IsDate as IsDate56, IsDefined as IsDefined15, IsNotEmpty as IsNotEmpty162, IsNumber as IsNumber127, IsString as IsString142, Min as Min94, MinLength as MinLength13, ValidateNested as ValidateNested110 } from "class-validator";
|
|
9889
9890
|
import { Expose as Expose178, Type as Type122 } from "class-transformer";
|
|
9890
9891
|
var MacroObraENTITY = class {
|
|
9891
9892
|
ID_MacroObra = 0;
|
|
@@ -9929,7 +9930,7 @@ __decorateClass([
|
|
|
9929
9930
|
__decorateClass([
|
|
9930
9931
|
IsDefined15(),
|
|
9931
9932
|
IsString142({ message: "debe ser un texto" }),
|
|
9932
|
-
|
|
9933
|
+
MinLength13(0, { message: "es requerido" }),
|
|
9933
9934
|
Expose178()
|
|
9934
9935
|
], MacroObraENTITY.prototype, "Observacion", 2);
|
|
9935
9936
|
__decorateClass([
|
|
@@ -10144,7 +10145,7 @@ import {
|
|
|
10144
10145
|
IsOptional as IsOptional4,
|
|
10145
10146
|
IsString as IsString149,
|
|
10146
10147
|
Min as Min101,
|
|
10147
|
-
MinLength as
|
|
10148
|
+
MinLength as MinLength15,
|
|
10148
10149
|
ValidateNested as ValidateNested113
|
|
10149
10150
|
} from "class-validator";
|
|
10150
10151
|
|
|
@@ -10294,7 +10295,7 @@ __decorateClass([
|
|
|
10294
10295
|
|
|
10295
10296
|
// src/programados/procesos/macroobra/chile/dto/data-gran-total/resumen-avance-data-gran-total-manoobra-chile-dto.ts
|
|
10296
10297
|
import { Expose as Expose185 } from "class-transformer";
|
|
10297
|
-
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as
|
|
10298
|
+
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as MinLength14 } from "class-validator";
|
|
10298
10299
|
var ResumenAvanceDataGranTotalManoObraCHILEDTO = class {
|
|
10299
10300
|
Total = 0;
|
|
10300
10301
|
TotalUsado = 0;
|
|
@@ -10321,19 +10322,19 @@ __decorateClass([
|
|
|
10321
10322
|
__decorateClass([
|
|
10322
10323
|
IsDefined16(),
|
|
10323
10324
|
IsString148(),
|
|
10324
|
-
|
|
10325
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10325
10326
|
Expose185()
|
|
10326
10327
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FPorcentajeUsado", 2);
|
|
10327
10328
|
__decorateClass([
|
|
10328
10329
|
IsDefined16(),
|
|
10329
10330
|
IsString148(),
|
|
10330
|
-
|
|
10331
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10331
10332
|
Expose185()
|
|
10332
10333
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotal", 2);
|
|
10333
10334
|
__decorateClass([
|
|
10334
10335
|
IsDefined16(),
|
|
10335
10336
|
IsString148(),
|
|
10336
|
-
|
|
10337
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10337
10338
|
Expose185()
|
|
10338
10339
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotalUsado", 2);
|
|
10339
10340
|
|
|
@@ -10379,19 +10380,19 @@ __decorateClass([
|
|
|
10379
10380
|
__decorateClass([
|
|
10380
10381
|
IsDefined17(),
|
|
10381
10382
|
IsString149(),
|
|
10382
|
-
|
|
10383
|
+
MinLength15(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10383
10384
|
Expose186()
|
|
10384
10385
|
], ResumenAvanceDataGranTotal.prototype, "FTotal", 2);
|
|
10385
10386
|
__decorateClass([
|
|
10386
10387
|
IsDefined17(),
|
|
10387
10388
|
IsString149(),
|
|
10388
|
-
|
|
10389
|
+
MinLength15(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10389
10390
|
Expose186()
|
|
10390
10391
|
], ResumenAvanceDataGranTotal.prototype, "FPorcentajeUsado", 2);
|
|
10391
10392
|
__decorateClass([
|
|
10392
10393
|
IsDefined17(),
|
|
10393
10394
|
IsString149(),
|
|
10394
|
-
|
|
10395
|
+
MinLength15(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10395
10396
|
Expose186()
|
|
10396
10397
|
], ResumenAvanceDataGranTotal.prototype, "FTotalUsado", 2);
|
|
10397
10398
|
__decorateClass([
|
|
@@ -10411,7 +10412,7 @@ __decorateClass([
|
|
|
10411
10412
|
__decorateClass([
|
|
10412
10413
|
IsDefined17(),
|
|
10413
10414
|
IsString149(),
|
|
10414
|
-
|
|
10415
|
+
MinLength15(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10415
10416
|
Expose186()
|
|
10416
10417
|
], ResumenAvanceDataGranTotal.prototype, "Simbolo", 2);
|
|
10417
10418
|
|
|
@@ -11197,7 +11198,7 @@ __decorateClass([
|
|
|
11197
11198
|
|
|
11198
11199
|
// src/programados/procesos/model obra sql/peru/index.ts
|
|
11199
11200
|
import { Expose as Expose202 } from "class-transformer";
|
|
11200
|
-
import { IsString as IsString160, Length as Length128, IsNumber as IsNumber144, Min as Min110, MinLength as
|
|
11201
|
+
import { IsString as IsString160, Length as Length128, IsNumber as IsNumber144, Min as Min110, MinLength as MinLength16, Matches as Matches2 } from "class-validator";
|
|
11201
11202
|
var ModelObraSQLPeruENTITY = class {
|
|
11202
11203
|
Idreg_ptr;
|
|
11203
11204
|
Anio;
|
|
@@ -11476,7 +11477,7 @@ __decorateClass([
|
|
|
11476
11477
|
], ModelObraSQLPeruENTITY.prototype, "Usuario", 2);
|
|
11477
11478
|
__decorateClass([
|
|
11478
11479
|
IsString160({ message: "debe ser un texto" }),
|
|
11479
|
-
|
|
11480
|
+
MinLength16(0, { message: "debe tener minimo 1" }),
|
|
11480
11481
|
Expose202()
|
|
11481
11482
|
], ModelObraSQLPeruENTITY.prototype, "Datos_Certificacion", 2);
|
|
11482
11483
|
|
|
@@ -12207,8 +12208,8 @@ __decorateClass([
|
|
|
12207
12208
|
], GomENTITY.prototype, "Anexos", 2);
|
|
12208
12209
|
|
|
12209
12210
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
12210
|
-
import { Expose as Expose211, Transform as
|
|
12211
|
-
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as
|
|
12211
|
+
import { Expose as Expose211, Transform as Transform6, Type as Type142 } from "class-transformer";
|
|
12212
|
+
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as MinLength17 } from "class-validator";
|
|
12212
12213
|
var CabeceraCubicajeDTO = class {
|
|
12213
12214
|
codigoCalc = "";
|
|
12214
12215
|
codigo = "";
|
|
@@ -12236,45 +12237,45 @@ var CabeceraCubicajeDTO = class {
|
|
|
12236
12237
|
};
|
|
12237
12238
|
__decorateClass([
|
|
12238
12239
|
IsString169({ message: "debe ser un texto" }),
|
|
12239
|
-
|
|
12240
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12240
12241
|
Expose211()
|
|
12241
12242
|
], CabeceraCubicajeDTO.prototype, "codigoCalc", 2);
|
|
12242
12243
|
__decorateClass([
|
|
12243
12244
|
IsString169({ message: "debe ser un texto" }),
|
|
12244
|
-
|
|
12245
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12245
12246
|
Expose211()
|
|
12246
12247
|
], CabeceraCubicajeDTO.prototype, "codigo", 2);
|
|
12247
12248
|
__decorateClass([
|
|
12248
12249
|
IsString169({ message: "debe ser un texto" }),
|
|
12249
|
-
|
|
12250
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12250
12251
|
Expose211()
|
|
12251
12252
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
12252
12253
|
__decorateClass([
|
|
12253
|
-
|
|
12254
|
+
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12254
12255
|
IsString169({ message: "debe ser un texto" }),
|
|
12255
|
-
|
|
12256
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12256
12257
|
Expose211()
|
|
12257
12258
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
12258
12259
|
__decorateClass([
|
|
12259
|
-
|
|
12260
|
+
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12260
12261
|
IsString169({ message: "debe ser un texto" }),
|
|
12261
|
-
|
|
12262
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12262
12263
|
Expose211()
|
|
12263
12264
|
], CabeceraCubicajeDTO.prototype, "agencia", 2);
|
|
12264
12265
|
__decorateClass([
|
|
12265
12266
|
IsString169({ message: "debe ser un texto" }),
|
|
12266
|
-
|
|
12267
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12267
12268
|
Expose211()
|
|
12268
12269
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
12269
12270
|
__decorateClass([
|
|
12270
|
-
|
|
12271
|
+
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12271
12272
|
IsString169({ message: "debe ser un texto" }),
|
|
12272
|
-
|
|
12273
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12273
12274
|
Expose211()
|
|
12274
12275
|
], CabeceraCubicajeDTO.prototype, "nombreoe", 2);
|
|
12275
12276
|
__decorateClass([
|
|
12276
12277
|
IsString169({ message: "debe ser un texto" }),
|
|
12277
|
-
|
|
12278
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12278
12279
|
Expose211()
|
|
12279
12280
|
], CabeceraCubicajeDTO.prototype, "tipooe", 2);
|
|
12280
12281
|
__decorateClass([
|
|
@@ -12289,62 +12290,62 @@ __decorateClass([
|
|
|
12289
12290
|
], CabeceraCubicajeDTO.prototype, "finoe", 2);
|
|
12290
12291
|
__decorateClass([
|
|
12291
12292
|
IsString169({ message: "debe ser un texto" }),
|
|
12292
|
-
|
|
12293
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12293
12294
|
Expose211()
|
|
12294
12295
|
], CabeceraCubicajeDTO.prototype, "PE", 2);
|
|
12295
12296
|
__decorateClass([
|
|
12296
12297
|
IsString169({ message: "debe ser un texto" }),
|
|
12297
|
-
|
|
12298
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12298
12299
|
Expose211()
|
|
12299
12300
|
], CabeceraCubicajeDTO.prototype, "ITOCTC", 2);
|
|
12300
12301
|
__decorateClass([
|
|
12301
12302
|
IsString169({ message: "debe ser un texto" }),
|
|
12302
|
-
|
|
12303
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12303
12304
|
Expose211()
|
|
12304
12305
|
], CabeceraCubicajeDTO.prototype, "central", 2);
|
|
12305
12306
|
__decorateClass([
|
|
12306
12307
|
IsString169({ message: "debe ser un texto" }),
|
|
12307
|
-
|
|
12308
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12308
12309
|
Expose211()
|
|
12309
12310
|
], CabeceraCubicajeDTO.prototype, "cliente", 2);
|
|
12310
12311
|
__decorateClass([
|
|
12311
12312
|
IsString169({ message: "debe ser un texto" }),
|
|
12312
|
-
|
|
12313
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12313
12314
|
Expose211()
|
|
12314
12315
|
], CabeceraCubicajeDTO.prototype, "direccion", 2);
|
|
12315
12316
|
__decorateClass([
|
|
12316
12317
|
IsString169({ message: "debe ser un texto" }),
|
|
12317
|
-
|
|
12318
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12318
12319
|
Expose211()
|
|
12319
12320
|
], CabeceraCubicajeDTO.prototype, "comuna", 2);
|
|
12320
12321
|
__decorateClass([
|
|
12321
12322
|
IsString169({ message: "debe ser un texto" }),
|
|
12322
|
-
|
|
12323
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12323
12324
|
Expose211()
|
|
12324
12325
|
], CabeceraCubicajeDTO.prototype, "nombreproyecto", 2);
|
|
12325
12326
|
__decorateClass([
|
|
12326
12327
|
IsString169({ message: "debe ser un texto" }),
|
|
12327
|
-
|
|
12328
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12328
12329
|
Expose211()
|
|
12329
12330
|
], CabeceraCubicajeDTO.prototype, "ito", 2);
|
|
12330
12331
|
__decorateClass([
|
|
12331
12332
|
IsString169({ message: "debe ser un texto" }),
|
|
12332
|
-
|
|
12333
|
+
MinLength17(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12333
12334
|
Expose211()
|
|
12334
12335
|
], CabeceraCubicajeDTO.prototype, "red", 2);
|
|
12335
12336
|
__decorateClass([
|
|
12336
12337
|
IsString169({ message: "debe ser un texto" }),
|
|
12337
|
-
|
|
12338
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12338
12339
|
Expose211()
|
|
12339
12340
|
], CabeceraCubicajeDTO.prototype, "PEP2", 2);
|
|
12340
12341
|
__decorateClass([
|
|
12341
12342
|
IsString169({ message: "debe ser un texto" }),
|
|
12342
|
-
|
|
12343
|
+
MinLength17(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12343
12344
|
Expose211()
|
|
12344
12345
|
], CabeceraCubicajeDTO.prototype, "PEP1", 2);
|
|
12345
12346
|
__decorateClass([
|
|
12346
12347
|
IsString169({ message: "debe ser un texto" }),
|
|
12347
|
-
|
|
12348
|
+
MinLength17(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12348
12349
|
Expose211()
|
|
12349
12350
|
], CabeceraCubicajeDTO.prototype, "GESTOR", 2);
|
|
12350
12351
|
__decorateClass([
|
|
@@ -12354,8 +12355,8 @@ __decorateClass([
|
|
|
12354
12355
|
], CabeceraCubicajeDTO.prototype, "CostoTotal", 2);
|
|
12355
12356
|
|
|
12356
12357
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
12357
|
-
import { Expose as Expose212, Transform as
|
|
12358
|
-
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as
|
|
12358
|
+
import { Expose as Expose212, Transform as Transform7 } from "class-transformer";
|
|
12359
|
+
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as MinLength18, Min as Min118 } from "class-validator";
|
|
12359
12360
|
var DetalleCubicajeDTO = class {
|
|
12360
12361
|
codigo = "";
|
|
12361
12362
|
linea = "";
|
|
@@ -12381,75 +12382,75 @@ var DetalleCubicajeDTO = class {
|
|
|
12381
12382
|
};
|
|
12382
12383
|
__decorateClass([
|
|
12383
12384
|
IsString170({ message: "debe ser un texto" }),
|
|
12384
|
-
|
|
12385
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12385
12386
|
Expose212()
|
|
12386
12387
|
], DetalleCubicajeDTO.prototype, "codigo", 2);
|
|
12387
12388
|
__decorateClass([
|
|
12388
12389
|
IsString170({ message: "debe ser un texto" }),
|
|
12389
|
-
|
|
12390
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12390
12391
|
Expose212(),
|
|
12391
12392
|
IsString170({ message: "debe ser un texto" }),
|
|
12392
|
-
|
|
12393
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12393
12394
|
Expose212()
|
|
12394
12395
|
], DetalleCubicajeDTO.prototype, "linea", 2);
|
|
12395
12396
|
__decorateClass([
|
|
12396
12397
|
IsString170({ message: "debe ser un texto" }),
|
|
12397
|
-
|
|
12398
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12398
12399
|
Expose212()
|
|
12399
12400
|
], DetalleCubicajeDTO.prototype, "dirdesde", 2);
|
|
12400
12401
|
__decorateClass([
|
|
12401
12402
|
IsString170({ message: "debe ser un texto" }),
|
|
12402
|
-
|
|
12403
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12403
12404
|
Expose212()
|
|
12404
12405
|
], DetalleCubicajeDTO.prototype, "altdesde", 2);
|
|
12405
12406
|
__decorateClass([
|
|
12406
12407
|
IsString170({ message: "debe ser un texto" }),
|
|
12407
|
-
|
|
12408
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12408
12409
|
Expose212()
|
|
12409
12410
|
], DetalleCubicajeDTO.prototype, "dirhasta", 2);
|
|
12410
12411
|
__decorateClass([
|
|
12411
12412
|
IsString170({ message: "debe ser un texto" }),
|
|
12412
|
-
|
|
12413
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12413
12414
|
Expose212()
|
|
12414
12415
|
], DetalleCubicajeDTO.prototype, "althasta", 2);
|
|
12415
12416
|
__decorateClass([
|
|
12416
12417
|
IsString170({ message: "debe ser un texto" }),
|
|
12417
|
-
|
|
12418
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12418
12419
|
Expose212()
|
|
12419
12420
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
12420
12421
|
__decorateClass([
|
|
12421
|
-
|
|
12422
|
+
Transform7(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12422
12423
|
IsString170({ message: "debe ser un texto" }),
|
|
12423
|
-
|
|
12424
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12424
12425
|
Expose212()
|
|
12425
12426
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
12426
12427
|
__decorateClass([
|
|
12427
|
-
|
|
12428
|
+
Transform7(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12428
12429
|
IsString170({ message: "debe ser un texto" }),
|
|
12429
|
-
|
|
12430
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12430
12431
|
Expose212()
|
|
12431
12432
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
12432
12433
|
__decorateClass([
|
|
12433
|
-
|
|
12434
|
+
Transform7(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12434
12435
|
IsString170({ message: "debe ser un texto" }),
|
|
12435
|
-
|
|
12436
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12436
12437
|
Expose212()
|
|
12437
12438
|
], DetalleCubicajeDTO.prototype, "codclave", 2);
|
|
12438
12439
|
__decorateClass([
|
|
12439
12440
|
IsString170({ message: "debe ser un texto" }),
|
|
12440
|
-
|
|
12441
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12441
12442
|
Expose212()
|
|
12442
12443
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
12443
12444
|
__decorateClass([
|
|
12444
|
-
|
|
12445
|
+
Transform7(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12445
12446
|
IsString170({ message: "debe ser un texto" }),
|
|
12446
|
-
|
|
12447
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12447
12448
|
Expose212()
|
|
12448
12449
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
12449
12450
|
__decorateClass([
|
|
12450
|
-
|
|
12451
|
+
Transform7(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12451
12452
|
IsString170({ message: "debe ser un texto" }),
|
|
12452
|
-
|
|
12453
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12453
12454
|
Expose212()
|
|
12454
12455
|
], DetalleCubicajeDTO.prototype, "coduo", 2);
|
|
12455
12456
|
__decorateClass([
|
|
@@ -12484,18 +12485,18 @@ __decorateClass([
|
|
|
12484
12485
|
], DetalleCubicajeDTO.prototype, "canuoapr", 2);
|
|
12485
12486
|
__decorateClass([
|
|
12486
12487
|
IsString170({ message: "debe ser un texto" }),
|
|
12487
|
-
|
|
12488
|
+
MinLength18(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12488
12489
|
Expose212()
|
|
12489
12490
|
], DetalleCubicajeDTO.prototype, "origen", 2);
|
|
12490
12491
|
__decorateClass([
|
|
12491
12492
|
IsString170({ message: "debe ser un texto" }),
|
|
12492
|
-
|
|
12493
|
+
MinLength18(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12493
12494
|
Expose212()
|
|
12494
12495
|
], DetalleCubicajeDTO.prototype, "codigobarra", 2);
|
|
12495
12496
|
|
|
12496
12497
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
12497
|
-
import { Expose as Expose213, Transform as
|
|
12498
|
-
import { IsArray as IsArray78, IsDate as IsDate63, IsEnum as IsEnum3, IsNumber as IsNumber154, IsString as IsString171, Min as Min119, MinLength as
|
|
12498
|
+
import { Expose as Expose213, Transform as Transform8, Type as Type143 } from "class-transformer";
|
|
12499
|
+
import { IsArray as IsArray78, IsDate as IsDate63, IsEnum as IsEnum3, IsNumber as IsNumber154, IsString as IsString171, Min as Min119, MinLength as MinLength19, ValidateNested as ValidateNested129 } from "class-validator";
|
|
12499
12500
|
var OrigenCUB = /* @__PURE__ */ ((OrigenCUB2) => {
|
|
12500
12501
|
OrigenCUB2["CREATE_MANUAL"] = "CREATE MANUAL";
|
|
12501
12502
|
OrigenCUB2["CREADO_POR_WORK_PROYECT"] = "CREADO POR WORK PROYECT";
|
|
@@ -12532,18 +12533,18 @@ __decorateClass([
|
|
|
12532
12533
|
], CubicacionENTITY.prototype, "detalle", 2);
|
|
12533
12534
|
__decorateClass([
|
|
12534
12535
|
IsString171({ message: "debe ser un texto" }),
|
|
12535
|
-
|
|
12536
|
+
MinLength19(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12536
12537
|
Expose213()
|
|
12537
12538
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
12538
12539
|
__decorateClass([
|
|
12539
|
-
|
|
12540
|
+
Transform8(({ value }) => typeof value === "string" ? value.replaceAll(" ", "") : value),
|
|
12540
12541
|
IsDate63({ message: "debe ser una fecha" }),
|
|
12541
12542
|
Type143(() => Date),
|
|
12542
12543
|
Expose213()
|
|
12543
12544
|
], CubicacionENTITY.prototype, "Fecha", 2);
|
|
12544
12545
|
__decorateClass([
|
|
12545
12546
|
IsString171({ message: "debe ser un texto" }),
|
|
12546
|
-
|
|
12547
|
+
MinLength19(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12547
12548
|
Expose213()
|
|
12548
12549
|
], CubicacionENTITY.prototype, "ZonaAsignada", 2);
|
|
12549
12550
|
__decorateClass([
|
|
@@ -12557,7 +12558,7 @@ __decorateClass([
|
|
|
12557
12558
|
], CubicacionENTITY.prototype, "OrigenCUB", 2);
|
|
12558
12559
|
__decorateClass([
|
|
12559
12560
|
IsString171({ message: "debe ser un texto" }),
|
|
12560
|
-
|
|
12561
|
+
MinLength19(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12561
12562
|
Expose213()
|
|
12562
12563
|
], CubicacionENTITY.prototype, "Actividad", 2);
|
|
12563
12564
|
|
|
@@ -12569,7 +12570,7 @@ import { Expose as Expose215, Type as Type145 } from "class-transformer";
|
|
|
12569
12570
|
|
|
12570
12571
|
// src/programados/procesos/cubicacion/chile/dto/historial-cubicacion-dto.ts
|
|
12571
12572
|
import { Expose as Expose214, Type as Type144 } from "class-transformer";
|
|
12572
|
-
import { IsDate as IsDate64, IsString as IsString172, MinLength as
|
|
12573
|
+
import { IsDate as IsDate64, IsString as IsString172, MinLength as MinLength20 } from "class-validator";
|
|
12573
12574
|
var HistorialCubicacionDTO = class {
|
|
12574
12575
|
Actividad = "";
|
|
12575
12576
|
Estado = "";
|
|
@@ -12580,12 +12581,12 @@ var HistorialCubicacionDTO = class {
|
|
|
12580
12581
|
};
|
|
12581
12582
|
__decorateClass([
|
|
12582
12583
|
IsString172({ message: "debe ser un texto" }),
|
|
12583
|
-
|
|
12584
|
+
MinLength20(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12584
12585
|
Expose214()
|
|
12585
12586
|
], HistorialCubicacionDTO.prototype, "Actividad", 2);
|
|
12586
12587
|
__decorateClass([
|
|
12587
12588
|
IsString172({ message: "debe ser un texto" }),
|
|
12588
|
-
|
|
12589
|
+
MinLength20(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12589
12590
|
Expose214()
|
|
12590
12591
|
], HistorialCubicacionDTO.prototype, "Estado", 2);
|
|
12591
12592
|
__decorateClass([
|
|
@@ -12600,12 +12601,12 @@ __decorateClass([
|
|
|
12600
12601
|
], HistorialCubicacionDTO.prototype, "Fin", 2);
|
|
12601
12602
|
__decorateClass([
|
|
12602
12603
|
IsString172({ message: "debe ser un texto" }),
|
|
12603
|
-
|
|
12604
|
+
MinLength20(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12604
12605
|
Expose214()
|
|
12605
12606
|
], HistorialCubicacionDTO.prototype, "Usuario", 2);
|
|
12606
12607
|
__decorateClass([
|
|
12607
12608
|
IsString172({ message: "debe ser un texto" }),
|
|
12608
|
-
|
|
12609
|
+
MinLength20(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12609
12610
|
Expose214()
|
|
12610
12611
|
], HistorialCubicacionDTO.prototype, "Comentario", 2);
|
|
12611
12612
|
|
|
@@ -12637,7 +12638,7 @@ import { Expose as Expose219, Type as Type148 } from "class-transformer";
|
|
|
12637
12638
|
|
|
12638
12639
|
// src/programados/procesos/cubicacion/alemania/dto/acta-final-cubicacion-dto.ts
|
|
12639
12640
|
import { Expose as Expose217 } from "class-transformer";
|
|
12640
|
-
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as
|
|
12641
|
+
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as MinLength21 } from "class-validator";
|
|
12641
12642
|
var ActaFinalCubicacionDTO = class {
|
|
12642
12643
|
DescripcionMO = "";
|
|
12643
12644
|
BaremoUnitario = 0;
|
|
@@ -12646,7 +12647,7 @@ var ActaFinalCubicacionDTO = class {
|
|
|
12646
12647
|
};
|
|
12647
12648
|
__decorateClass([
|
|
12648
12649
|
IsString173({ message: "debe ser un texto" }),
|
|
12649
|
-
|
|
12650
|
+
MinLength21(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12650
12651
|
Expose217()
|
|
12651
12652
|
], ActaFinalCubicacionDTO.prototype, "DescripcionMO", 2);
|
|
12652
12653
|
__decorateClass([
|
|
@@ -13986,7 +13987,7 @@ import { Expose as Expose253, Type as Type164 } from "class-transformer";
|
|
|
13986
13987
|
import { IsArray as IsArray90, IsBoolean as IsBoolean20, IsNotEmpty as IsNotEmpty215, IsNumber as IsNumber174, IsOptional as IsOptional8, IsString as IsString204, Min as Min134, ValidateNested as ValidateNested150 } from "class-validator";
|
|
13987
13988
|
|
|
13988
13989
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
|
|
13989
|
-
import { Expose as Expose245, Transform as
|
|
13990
|
+
import { Expose as Expose245, Transform as Transform9, Type as Type161 } from "class-transformer";
|
|
13990
13991
|
import { IsArray as IsArray88, IsDate as IsDate69, IsIn as IsIn4, IsNotEmpty as IsNotEmpty207, IsString as IsString196, Length as Length150, ValidateNested as ValidateNested147 } from "class-validator";
|
|
13991
13992
|
var CambiosEstadosPagosProduccionDTO = class {
|
|
13992
13993
|
NroDocumento = "";
|
|
@@ -14007,7 +14008,7 @@ __decorateClass([
|
|
|
14007
14008
|
ValidateNested147()
|
|
14008
14009
|
], CambiosEstadosPagosProduccionDTO.prototype, "UsuarioCambio", 2);
|
|
14009
14010
|
__decorateClass([
|
|
14010
|
-
|
|
14011
|
+
Transform9(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14011
14012
|
IsDate69({ message: "debe ser una fecha" }),
|
|
14012
14013
|
IsNotEmpty207({ message: "es requerido" }),
|
|
14013
14014
|
Expose245()
|
|
@@ -14106,7 +14107,7 @@ __decorateClass([
|
|
|
14106
14107
|
], ManoObraDTO3.prototype, "UnidadMedida", 2);
|
|
14107
14108
|
|
|
14108
14109
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/periodo-dto.ts
|
|
14109
|
-
import { Expose as Expose249, Transform as
|
|
14110
|
+
import { Expose as Expose249, Transform as Transform10 } from "class-transformer";
|
|
14110
14111
|
import { IsDate as IsDate70, IsNotEmpty as IsNotEmpty211, IsNumber as IsNumber171, IsString as IsString200, Length as Length154 } from "class-validator";
|
|
14111
14112
|
var PeriodoDTO5 = class {
|
|
14112
14113
|
FechaInicio = /* @__PURE__ */ new Date(0);
|
|
@@ -14117,19 +14118,19 @@ var PeriodoDTO5 = class {
|
|
|
14117
14118
|
Codigo = "";
|
|
14118
14119
|
};
|
|
14119
14120
|
__decorateClass([
|
|
14120
|
-
|
|
14121
|
+
Transform10(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14121
14122
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14122
14123
|
IsNotEmpty211({ message: "es requerido" }),
|
|
14123
14124
|
Expose249()
|
|
14124
14125
|
], PeriodoDTO5.prototype, "FechaInicio", 2);
|
|
14125
14126
|
__decorateClass([
|
|
14126
|
-
|
|
14127
|
+
Transform10(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14127
14128
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14128
14129
|
IsNotEmpty211({ message: "es requerido" }),
|
|
14129
14130
|
Expose249()
|
|
14130
14131
|
], PeriodoDTO5.prototype, "FechaFin", 2);
|
|
14131
14132
|
__decorateClass([
|
|
14132
|
-
|
|
14133
|
+
Transform10(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14133
14134
|
IsDate70({ message: "debe ser de tipo fecha" }),
|
|
14134
14135
|
IsNotEmpty211({ message: "es requerido" }),
|
|
14135
14136
|
Expose249()
|
|
@@ -14152,7 +14153,7 @@ __decorateClass([
|
|
|
14152
14153
|
], PeriodoDTO5.prototype, "Codigo", 2);
|
|
14153
14154
|
|
|
14154
14155
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_estado_interno-dto.ts
|
|
14155
|
-
import { Expose as Expose250, Transform as
|
|
14156
|
+
import { Expose as Expose250, Transform as Transform11, Type as Type162 } from "class-transformer";
|
|
14156
14157
|
import { IsDate as IsDate71, IsNotEmpty as IsNotEmpty212, IsNumber as IsNumber172, IsString as IsString201, Length as Length155, ValidateNested as ValidateNested148 } from "class-validator";
|
|
14157
14158
|
var Ultimo_Estado_InternoDTO = class {
|
|
14158
14159
|
ID_EstadoInterno = 0;
|
|
@@ -14179,7 +14180,7 @@ __decorateClass([
|
|
|
14179
14180
|
Expose250()
|
|
14180
14181
|
], Ultimo_Estado_InternoDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
14181
14182
|
__decorateClass([
|
|
14182
|
-
|
|
14183
|
+
Transform11(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14183
14184
|
IsDate71({ message: "debe ser una fecha" }),
|
|
14184
14185
|
IsNotEmpty212({ message: "es requerido" }),
|
|
14185
14186
|
Expose250()
|
|
@@ -14239,7 +14240,7 @@ __decorateClass([
|
|
|
14239
14240
|
], Ultimo_Estado_InternoDTO.prototype, "UsuarioEdicion", 2);
|
|
14240
14241
|
|
|
14241
14242
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_fase-dto.ts
|
|
14242
|
-
import { Expose as Expose251, Transform as
|
|
14243
|
+
import { Expose as Expose251, Transform as Transform12, Type as Type163 } from "class-transformer";
|
|
14243
14244
|
import { IsArray as IsArray89, IsDate as IsDate72, IsIn as IsIn5, Max as Max6, IsNotEmpty as IsNotEmpty213, IsNumber as IsNumber173, IsString as IsString202, Length as Length156, Min as Min133, ValidateNested as ValidateNested149 } from "class-validator";
|
|
14244
14245
|
var Ultima_FaseDTO = class {
|
|
14245
14246
|
ID_Fase = 0;
|
|
@@ -14286,7 +14287,7 @@ __decorateClass([
|
|
|
14286
14287
|
ValidateNested149()
|
|
14287
14288
|
], Ultima_FaseDTO.prototype, "UsuarioCambio", 2);
|
|
14288
14289
|
__decorateClass([
|
|
14289
|
-
|
|
14290
|
+
Transform12(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14290
14291
|
IsDate72({ message: "debe ser una fecha" }),
|
|
14291
14292
|
IsNotEmpty213({ message: "es requerido" }),
|
|
14292
14293
|
Expose251()
|
|
@@ -14314,7 +14315,7 @@ __decorateClass([
|
|
|
14314
14315
|
ValidateNested149()
|
|
14315
14316
|
], Ultima_FaseDTO.prototype, "UsuarioDocumento", 2);
|
|
14316
14317
|
__decorateClass([
|
|
14317
|
-
|
|
14318
|
+
Transform12(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
14318
14319
|
IsDate72({ message: "debe ser una fecha" }),
|
|
14319
14320
|
IsNotEmpty213({ message: "es requerido" }),
|
|
14320
14321
|
Expose251()
|
|
@@ -18313,7 +18314,7 @@ __decorateClass([
|
|
|
18313
18314
|
], BodegaENTITY.prototype, "Bitacora", 2);
|
|
18314
18315
|
|
|
18315
18316
|
// src/logistica/autoinventario/shared/index.ts
|
|
18316
|
-
import { Expose as Expose306, Transform as
|
|
18317
|
+
import { Expose as Expose306, Transform as Transform13, Type as Type199 } from "class-transformer";
|
|
18317
18318
|
|
|
18318
18319
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
18319
18320
|
import { Expose as Expose305 } from "class-transformer";
|
|
@@ -18418,7 +18419,7 @@ __decorateClass([
|
|
|
18418
18419
|
Expose306()
|
|
18419
18420
|
], AutoInventarioENTITY.prototype, "Observacion", 2);
|
|
18420
18421
|
__decorateClass([
|
|
18421
|
-
|
|
18422
|
+
Transform13(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
18422
18423
|
IsDate90({ message: "debe ser una fecha" }),
|
|
18423
18424
|
IsNotEmpty264({ message: "es requerido" }),
|
|
18424
18425
|
Expose306()
|
|
@@ -20150,7 +20151,7 @@ __decorateClass([
|
|
|
20150
20151
|
import { IsDate as IsDate99, IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty296, IsString as IsString284, Length as Length230, ValidateNested as ValidateNested202 } from "class-validator";
|
|
20151
20152
|
|
|
20152
20153
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
20153
|
-
import { Expose as Expose340, Transform as
|
|
20154
|
+
import { Expose as Expose340, Transform as Transform14 } from "class-transformer";
|
|
20154
20155
|
import { IsDate as IsDate98, IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty295, IsString as IsString283, Length as Length229 } from "class-validator";
|
|
20155
20156
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
20156
20157
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -20181,7 +20182,7 @@ __decorateClass([
|
|
|
20181
20182
|
Expose340()
|
|
20182
20183
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
20183
20184
|
__decorateClass([
|
|
20184
|
-
|
|
20185
|
+
Transform14(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20185
20186
|
IsDate98({ message: "debe ser una fecha" }),
|
|
20186
20187
|
IsNotEmpty295({ message: "es requerido" }),
|
|
20187
20188
|
Expose340()
|
|
@@ -20193,7 +20194,7 @@ __decorateClass([
|
|
|
20193
20194
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
20194
20195
|
|
|
20195
20196
|
// src/configuracion/notificaciones/shared/index.ts
|
|
20196
|
-
import { Expose as Expose341, Transform as
|
|
20197
|
+
import { Expose as Expose341, Transform as Transform15, Type as Type223 } from "class-transformer";
|
|
20197
20198
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
20198
20199
|
TipoNotificacion2["INFO"] = "info";
|
|
20199
20200
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -20257,13 +20258,13 @@ __decorateClass([
|
|
|
20257
20258
|
ValidateNested202()
|
|
20258
20259
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
20259
20260
|
__decorateClass([
|
|
20260
|
-
|
|
20261
|
+
Transform15(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20261
20262
|
IsDate99({ message: "debe ser una fecha" }),
|
|
20262
20263
|
IsNotEmpty296({ message: "es requerido" }),
|
|
20263
20264
|
Expose341()
|
|
20264
20265
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
20265
20266
|
__decorateClass([
|
|
20266
|
-
|
|
20267
|
+
Transform15(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
20267
20268
|
IsDate99({ message: "debe ser una fecha" }),
|
|
20268
20269
|
IsNotEmpty296({ message: "es requerido" }),
|
|
20269
20270
|
Expose341()
|