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