sigo-entities 1.0.18 → 1.0.19
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 +1 -2
- package/dist/index.mjs +112 -113
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1157,8 +1157,7 @@ __decorateClass([
|
|
|
1157
1157
|
], CodigoNombreUMDTO.prototype, "Nombre", 2);
|
|
1158
1158
|
__decorateClass([
|
|
1159
1159
|
(0, import_class_validator24.IsString)({ message: "debe ser un texto" }),
|
|
1160
|
-
(0, import_class_validator24.
|
|
1161
|
-
(0, import_class_validator24.Length)(1, 20, { message: "debe tener entre 1 y 20 caracteres" }),
|
|
1160
|
+
(0, import_class_validator24.MinLength)(0, { message: "debe tener como m\xEDnimo 0 caracteres" }),
|
|
1162
1161
|
(0, import_class_transformer24.Expose)()
|
|
1163
1162
|
], CodigoNombreUMDTO.prototype, "UnidadMedida", 2);
|
|
1164
1163
|
|
package/dist/index.mjs
CHANGED
|
@@ -759,7 +759,7 @@ __decorateClass([
|
|
|
759
759
|
|
|
760
760
|
// src/shared/dto/codigo-nombre-um-dto.ts
|
|
761
761
|
import { Expose as Expose22 } from "class-transformer";
|
|
762
|
-
import { IsNotEmpty as IsNotEmpty19, IsString as IsString17, Length as Length15 } from "class-validator";
|
|
762
|
+
import { IsNotEmpty as IsNotEmpty19, IsString as IsString17, Length as Length15, MinLength as MinLength2 } from "class-validator";
|
|
763
763
|
var CodigoNombreUMDTO = class {
|
|
764
764
|
Codigo = "";
|
|
765
765
|
Nombre = "";
|
|
@@ -779,8 +779,7 @@ __decorateClass([
|
|
|
779
779
|
], CodigoNombreUMDTO.prototype, "Nombre", 2);
|
|
780
780
|
__decorateClass([
|
|
781
781
|
IsString17({ message: "debe ser un texto" }),
|
|
782
|
-
|
|
783
|
-
Length15(1, 20, { message: "debe tener entre 1 y 20 caracteres" }),
|
|
782
|
+
MinLength2(0, { message: "debe tener como m\xEDnimo 0 caracteres" }),
|
|
784
783
|
Expose22()
|
|
785
784
|
], CodigoNombreUMDTO.prototype, "UnidadMedida", 2);
|
|
786
785
|
|
|
@@ -4130,7 +4129,7 @@ __decorateClass([
|
|
|
4130
4129
|
|
|
4131
4130
|
// src/administracion/documentacion-pex/shared/index.ts
|
|
4132
4131
|
import { Expose as Expose94, Type as Type55 } from "class-transformer";
|
|
4133
|
-
import { IsArray as IsArray27, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber63, IsString as IsString78, Min as Min53, MinLength as
|
|
4132
|
+
import { IsArray as IsArray27, IsNotEmpty as IsNotEmpty84, IsNumber as IsNumber63, IsString as IsString78, Min as Min53, MinLength as MinLength3, ValidateNested as ValidateNested51 } from "class-validator";
|
|
4134
4133
|
var DocumentacionPEXENTITY = class {
|
|
4135
4134
|
ID_DocumentacionPEX = 0;
|
|
4136
4135
|
TipoObra = "";
|
|
@@ -4149,22 +4148,22 @@ __decorateClass([
|
|
|
4149
4148
|
], DocumentacionPEXENTITY.prototype, "ID_DocumentacionPEX", 2);
|
|
4150
4149
|
__decorateClass([
|
|
4151
4150
|
IsString78({ message: "debe ser un texto" }),
|
|
4152
|
-
|
|
4151
|
+
MinLength3(1, { message: "debe tener al menos 1 caracter" }),
|
|
4153
4152
|
Expose94()
|
|
4154
4153
|
], DocumentacionPEXENTITY.prototype, "TipoObra", 2);
|
|
4155
4154
|
__decorateClass([
|
|
4156
4155
|
IsString78({ message: "debe ser un texto" }),
|
|
4157
|
-
|
|
4156
|
+
MinLength3(1, { message: "debe tener al menos 1 caracter" }),
|
|
4158
4157
|
Expose94()
|
|
4159
4158
|
], DocumentacionPEXENTITY.prototype, "Sistema", 2);
|
|
4160
4159
|
__decorateClass([
|
|
4161
4160
|
IsString78({ message: "debe ser un texto" }),
|
|
4162
|
-
|
|
4161
|
+
MinLength3(1, { message: "debe tener al menos 1 caracter" }),
|
|
4163
4162
|
Expose94()
|
|
4164
4163
|
], DocumentacionPEXENTITY.prototype, "Codigo", 2);
|
|
4165
4164
|
__decorateClass([
|
|
4166
4165
|
IsString78({ message: "debe ser un texto" }),
|
|
4167
|
-
|
|
4166
|
+
MinLength3(1, { message: "debe tener al menos 1 caracter" }),
|
|
4168
4167
|
Expose94()
|
|
4169
4168
|
], DocumentacionPEXENTITY.prototype, "Nombre", 2);
|
|
4170
4169
|
__decorateClass([
|
|
@@ -4231,7 +4230,7 @@ import { IsNotEmpty as IsNotEmpty86, ValidateNested as ValidateNested52 } from "
|
|
|
4231
4230
|
|
|
4232
4231
|
// src/programados/procesos/reservaMaterial/shared/dto/datos-catalogo-item-dto.ts
|
|
4233
4232
|
import { Expose as Expose96 } from "class-transformer";
|
|
4234
|
-
import { IsBoolean as IsBoolean6, IsDefined as IsDefined7, IsNumber as IsNumber65, IsString as IsString80, Min as Min55, MinLength as
|
|
4233
|
+
import { IsBoolean as IsBoolean6, IsDefined as IsDefined7, IsNumber as IsNumber65, IsString as IsString80, Min as Min55, MinLength as MinLength4 } from "class-validator";
|
|
4235
4234
|
var DatosCatalogoItemDTO = class {
|
|
4236
4235
|
Tipo = "";
|
|
4237
4236
|
Valor = 0;
|
|
@@ -4241,7 +4240,7 @@ var DatosCatalogoItemDTO = class {
|
|
|
4241
4240
|
__decorateClass([
|
|
4242
4241
|
IsDefined7({ message: "es requerido" }),
|
|
4243
4242
|
IsString80({ message: "debe ser un texto" }),
|
|
4244
|
-
|
|
4243
|
+
MinLength4(0, { message: "debe tener al menos 0 caracteres" }),
|
|
4245
4244
|
Expose96()
|
|
4246
4245
|
], DatosCatalogoItemDTO.prototype, "Tipo", 2);
|
|
4247
4246
|
__decorateClass([
|
|
@@ -4253,7 +4252,7 @@ __decorateClass([
|
|
|
4253
4252
|
__decorateClass([
|
|
4254
4253
|
IsDefined7({ message: "es requerido" }),
|
|
4255
4254
|
IsString80({ message: "debe ser un texto" }),
|
|
4256
|
-
|
|
4255
|
+
MinLength4(0, { message: "debe tener al menos 0 caracteres" }),
|
|
4257
4256
|
Expose96()
|
|
4258
4257
|
], DatosCatalogoItemDTO.prototype, "Ind_SB", 2);
|
|
4259
4258
|
__decorateClass([
|
|
@@ -4302,7 +4301,7 @@ __decorateClass([
|
|
|
4302
4301
|
|
|
4303
4302
|
// src/programados/procesos/reservaMaterial/shared/dto/item-dto.ts
|
|
4304
4303
|
import { Expose as Expose99, Type as Type58 } from "class-transformer";
|
|
4305
|
-
import { IsArray as IsArray28, IsDefined as IsDefined8, IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber67, IsString as IsString81, Min as Min57, MinLength as
|
|
4304
|
+
import { IsArray as IsArray28, IsDefined as IsDefined8, IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber67, IsString as IsString81, Min as Min57, MinLength as MinLength5, ValidateNested as ValidateNested53 } from "class-validator";
|
|
4306
4305
|
var ItemDTO = class {
|
|
4307
4306
|
ID_Item = 0;
|
|
4308
4307
|
Codigo = "";
|
|
@@ -4336,19 +4335,19 @@ __decorateClass([
|
|
|
4336
4335
|
__decorateClass([
|
|
4337
4336
|
IsDefined8({ message: "es requerido" }),
|
|
4338
4337
|
IsString81({ message: "debe ser un texto" }),
|
|
4339
|
-
|
|
4338
|
+
MinLength5(1, { message: "debe tener al menos 1 caracter" }),
|
|
4340
4339
|
Expose99()
|
|
4341
4340
|
], ItemDTO.prototype, "Codigo", 2);
|
|
4342
4341
|
__decorateClass([
|
|
4343
4342
|
IsDefined8({ message: "es requerido" }),
|
|
4344
4343
|
IsString81({ message: "debe ser un texto" }),
|
|
4345
|
-
|
|
4344
|
+
MinLength5(1, { message: "debe tener al menos 1 caracter" }),
|
|
4346
4345
|
Expose99()
|
|
4347
4346
|
], ItemDTO.prototype, "Nombre", 2);
|
|
4348
4347
|
__decorateClass([
|
|
4349
4348
|
IsDefined8({ message: "es requerido" }),
|
|
4350
4349
|
IsString81({ message: "debe ser un texto" }),
|
|
4351
|
-
|
|
4350
|
+
MinLength5(1, { message: "debe tener al menos 1 caracter" }),
|
|
4352
4351
|
Expose99()
|
|
4353
4352
|
], ItemDTO.prototype, "Descripcion", 2);
|
|
4354
4353
|
__decorateClass([
|
|
@@ -4366,13 +4365,13 @@ __decorateClass([
|
|
|
4366
4365
|
__decorateClass([
|
|
4367
4366
|
IsDefined8({ message: "es requerido" }),
|
|
4368
4367
|
IsString81({ message: "debe ser un texto" }),
|
|
4369
|
-
|
|
4368
|
+
MinLength5(0, { message: "debe tener al menos 0 caracter" }),
|
|
4370
4369
|
Expose99()
|
|
4371
4370
|
], ItemDTO.prototype, "Ind_SB", 2);
|
|
4372
4371
|
__decorateClass([
|
|
4373
4372
|
IsDefined8({ message: "es requerido" }),
|
|
4374
4373
|
IsString81({ message: "debe ser un texto" }),
|
|
4375
|
-
|
|
4374
|
+
MinLength5(0, { message: "debe tener al menos 0 caracter" }),
|
|
4376
4375
|
Expose99()
|
|
4377
4376
|
], ItemDTO.prototype, "Lote", 2);
|
|
4378
4377
|
__decorateClass([
|
|
@@ -4432,13 +4431,13 @@ __decorateClass([
|
|
|
4432
4431
|
__decorateClass([
|
|
4433
4432
|
IsDefined8({ message: "es requerido" }),
|
|
4434
4433
|
IsString81({ message: "debe ser un texto" }),
|
|
4435
|
-
|
|
4434
|
+
MinLength5(1, { message: "debe tener al menos 1 caracter" }),
|
|
4436
4435
|
Expose99()
|
|
4437
4436
|
], ItemDTO.prototype, "Moneda", 2);
|
|
4438
4437
|
__decorateClass([
|
|
4439
4438
|
IsDefined8({ message: "es requerido" }),
|
|
4440
4439
|
IsString81({ message: "debe ser un texto" }),
|
|
4441
|
-
|
|
4440
|
+
MinLength5(1, { message: "debe tener al menos 1 caracter" }),
|
|
4442
4441
|
Expose99()
|
|
4443
4442
|
], ItemDTO.prototype, "Simbolo", 2);
|
|
4444
4443
|
__decorateClass([
|
|
@@ -4463,7 +4462,7 @@ __decorateClass([
|
|
|
4463
4462
|
|
|
4464
4463
|
// src/programados/procesos/reservaMaterial/shared/index.ts
|
|
4465
4464
|
import { Expose as Expose100, Type as Type59 } from "class-transformer";
|
|
4466
|
-
import { IsArray as IsArray29, IsNumber as IsNumber68, IsString as IsString82, IsDate as IsDate24, Min as Min58, ValidateNested as ValidateNested54, MinLength as
|
|
4465
|
+
import { IsArray as IsArray29, IsNumber as IsNumber68, IsString as IsString82, IsDate as IsDate24, Min as Min58, ValidateNested as ValidateNested54, MinLength as MinLength6, IsDefined as IsDefined9 } from "class-validator";
|
|
4467
4466
|
var ReservaENTITY = class {
|
|
4468
4467
|
ID_Reserva = 0;
|
|
4469
4468
|
ID_GOM = 0;
|
|
@@ -4488,7 +4487,7 @@ __decorateClass([
|
|
|
4488
4487
|
__decorateClass([
|
|
4489
4488
|
IsDefined9({ message: "es requerido" }),
|
|
4490
4489
|
IsString82({ message: "debe ser un texto" }),
|
|
4491
|
-
|
|
4490
|
+
MinLength6(1, { message: "debe tener al menos 1 caracteres" }),
|
|
4492
4491
|
Expose100()
|
|
4493
4492
|
], ReservaENTITY.prototype, "GOM", 2);
|
|
4494
4493
|
__decorateClass([
|
|
@@ -4518,15 +4517,15 @@ __decorateClass([
|
|
|
4518
4517
|
], ReservaENTITY.prototype, "Fecha", 2);
|
|
4519
4518
|
|
|
4520
4519
|
// src/programados/procesos/reservaManoObra/shared/index.ts
|
|
4521
|
-
import { IsArray as IsArray31, IsDate as IsDate26, IsDefined as IsDefined14, IsNumber as IsNumber72, IsString as IsString85, Min as Min62, MinLength as
|
|
4520
|
+
import { IsArray as IsArray31, IsDate as IsDate26, IsDefined as IsDefined14, IsNumber as IsNumber72, IsString as IsString85, Min as Min62, MinLength as MinLength9, ValidateNested as ValidateNested58 } from "class-validator";
|
|
4522
4521
|
import { Expose as Expose105, Type as Type64 } from "class-transformer";
|
|
4523
4522
|
|
|
4524
4523
|
// src/programados/procesos/reservaManoObra/shared/dto/valorizacion-dto.ts
|
|
4525
|
-
import { IsArray as IsArray30, IsDefined as IsDefined13, IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber71, IsString as IsString84, Min as Min61, MinLength as
|
|
4524
|
+
import { IsArray as IsArray30, IsDefined as IsDefined13, IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber71, IsString as IsString84, Min as Min61, MinLength as MinLength8, ValidateNested as ValidateNested57 } from "class-validator";
|
|
4526
4525
|
import { Expose as Expose104, Type as Type63 } from "class-transformer";
|
|
4527
4526
|
|
|
4528
4527
|
// src/programados/procesos/reservaManoObra/shared/dto/detalle-chile-dto.ts
|
|
4529
|
-
import { IsDefined as IsDefined10, IsNumber as IsNumber69, IsString as IsString83, Min as Min59, MinLength as
|
|
4528
|
+
import { IsDefined as IsDefined10, IsNumber as IsNumber69, IsString as IsString83, Min as Min59, MinLength as MinLength7, ValidateNested as ValidateNested55 } from "class-validator";
|
|
4530
4529
|
import { Expose as Expose101, Type as Type60 } from "class-transformer";
|
|
4531
4530
|
var DetalleChileValorizacionMODTO = class {
|
|
4532
4531
|
Codigo = "";
|
|
@@ -4559,43 +4558,43 @@ var DetalleChileValorizacionMODTO = class {
|
|
|
4559
4558
|
__decorateClass([
|
|
4560
4559
|
IsDefined10({ message: "es requerido" }),
|
|
4561
4560
|
IsString83({ message: "debe ser un texto" }),
|
|
4562
|
-
|
|
4561
|
+
MinLength7(1, { message: "debe tener al menos 1 caracter" }),
|
|
4563
4562
|
Expose101()
|
|
4564
4563
|
], DetalleChileValorizacionMODTO.prototype, "Codigo", 2);
|
|
4565
4564
|
__decorateClass([
|
|
4566
4565
|
IsDefined10({ message: "es requerido" }),
|
|
4567
4566
|
IsString83({ message: "debe ser un texto" }),
|
|
4568
|
-
|
|
4567
|
+
MinLength7(1, { message: "debe tener al menos 1 caracter" }),
|
|
4569
4568
|
Expose101()
|
|
4570
4569
|
], DetalleChileValorizacionMODTO.prototype, "Linea", 2);
|
|
4571
4570
|
__decorateClass([
|
|
4572
4571
|
IsDefined10({ message: "es requerido" }),
|
|
4573
4572
|
IsString83({ message: "debe ser un texto" }),
|
|
4574
|
-
|
|
4573
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4575
4574
|
Expose101()
|
|
4576
4575
|
], DetalleChileValorizacionMODTO.prototype, "DirDesde", 2);
|
|
4577
4576
|
__decorateClass([
|
|
4578
4577
|
IsDefined10({ message: "es requerido" }),
|
|
4579
4578
|
IsString83({ message: "debe ser un texto" }),
|
|
4580
|
-
|
|
4579
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4581
4580
|
Expose101()
|
|
4582
4581
|
], DetalleChileValorizacionMODTO.prototype, "AltDesde", 2);
|
|
4583
4582
|
__decorateClass([
|
|
4584
4583
|
IsDefined10({ message: "es requerido" }),
|
|
4585
4584
|
IsString83({ message: "debe ser un texto" }),
|
|
4586
|
-
|
|
4585
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4587
4586
|
Expose101()
|
|
4588
4587
|
], DetalleChileValorizacionMODTO.prototype, "DirHasta", 2);
|
|
4589
4588
|
__decorateClass([
|
|
4590
4589
|
IsDefined10({ message: "es requerido" }),
|
|
4591
4590
|
IsString83({ message: "debe ser un texto" }),
|
|
4592
|
-
|
|
4591
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4593
4592
|
Expose101()
|
|
4594
4593
|
], DetalleChileValorizacionMODTO.prototype, "AltHasta", 2);
|
|
4595
4594
|
__decorateClass([
|
|
4596
4595
|
IsDefined10({ message: "es requerido" }),
|
|
4597
4596
|
IsString83({ message: "debe ser un texto" }),
|
|
4598
|
-
|
|
4597
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4599
4598
|
Expose101()
|
|
4600
4599
|
], DetalleChileValorizacionMODTO.prototype, "Plano", 2);
|
|
4601
4600
|
__decorateClass([
|
|
@@ -4619,7 +4618,7 @@ __decorateClass([
|
|
|
4619
4618
|
__decorateClass([
|
|
4620
4619
|
IsDefined10({ message: "es requerido" }),
|
|
4621
4620
|
IsString83({ message: "debe ser un texto" }),
|
|
4622
|
-
|
|
4621
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4623
4622
|
Expose101()
|
|
4624
4623
|
], DetalleChileValorizacionMODTO.prototype, "Tarea", 2);
|
|
4625
4624
|
__decorateClass([
|
|
@@ -4643,13 +4642,13 @@ __decorateClass([
|
|
|
4643
4642
|
__decorateClass([
|
|
4644
4643
|
IsDefined10({ message: "es requerido" }),
|
|
4645
4644
|
IsString83({ message: "debe ser un texto" }),
|
|
4646
|
-
|
|
4645
|
+
MinLength7(1, { message: "debe tener al menos 1 caracter" }),
|
|
4647
4646
|
Expose101()
|
|
4648
4647
|
], DetalleChileValorizacionMODTO.prototype, "LineaCodigoCub", 2);
|
|
4649
4648
|
__decorateClass([
|
|
4650
4649
|
IsDefined10({ message: "es requerido" }),
|
|
4651
4650
|
IsString83({ message: "debe ser un texto" }),
|
|
4652
|
-
|
|
4651
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4653
4652
|
Expose101()
|
|
4654
4653
|
], DetalleChileValorizacionMODTO.prototype, "CodigoCub", 2);
|
|
4655
4654
|
__decorateClass([
|
|
@@ -4697,13 +4696,13 @@ __decorateClass([
|
|
|
4697
4696
|
__decorateClass([
|
|
4698
4697
|
IsDefined10({ message: "es requerido" }),
|
|
4699
4698
|
IsString83({ message: "debe ser un texto" }),
|
|
4700
|
-
|
|
4699
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4701
4700
|
Expose101()
|
|
4702
4701
|
], DetalleChileValorizacionMODTO.prototype, "Origen", 2);
|
|
4703
4702
|
__decorateClass([
|
|
4704
4703
|
IsDefined10({ message: "es requerido" }),
|
|
4705
4704
|
IsString83({ message: "debe ser un texto" }),
|
|
4706
|
-
|
|
4705
|
+
MinLength7(0, { message: "debe tener al menos 0 caracter" }),
|
|
4707
4706
|
Expose101()
|
|
4708
4707
|
], DetalleChileValorizacionMODTO.prototype, "CodigoBarra", 2);
|
|
4709
4708
|
__decorateClass([
|
|
@@ -4825,13 +4824,13 @@ __decorateClass([
|
|
|
4825
4824
|
__decorateClass([
|
|
4826
4825
|
IsDefined13({ message: "es requerido" }),
|
|
4827
4826
|
IsString84({ message: "debe ser un texto" }),
|
|
4828
|
-
|
|
4827
|
+
MinLength8(1, { message: "debe tener al menos 1 caracter" }),
|
|
4829
4828
|
Expose104()
|
|
4830
4829
|
], ValorizacionManoObraDTO.prototype, "Codigo", 2);
|
|
4831
4830
|
__decorateClass([
|
|
4832
4831
|
IsDefined13({ message: "es requerido" }),
|
|
4833
4832
|
IsString84({ message: "debe ser un texto" }),
|
|
4834
|
-
|
|
4833
|
+
MinLength8(1, { message: "debe tener al menos 1 caracter" }),
|
|
4835
4834
|
Expose104()
|
|
4836
4835
|
], ValorizacionManoObraDTO.prototype, "Descripcion", 2);
|
|
4837
4836
|
__decorateClass([
|
|
@@ -4856,19 +4855,19 @@ __decorateClass([
|
|
|
4856
4855
|
__decorateClass([
|
|
4857
4856
|
IsDefined13({ message: "es requerido" }),
|
|
4858
4857
|
IsString84({ message: "debe ser un texto" }),
|
|
4859
|
-
|
|
4858
|
+
MinLength8(0, { message: "debe tener al menos 0 caracter" }),
|
|
4860
4859
|
Expose104()
|
|
4861
4860
|
], ValorizacionManoObraDTO.prototype, "Unidad", 2);
|
|
4862
4861
|
__decorateClass([
|
|
4863
4862
|
IsDefined13({ message: "es requerido" }),
|
|
4864
4863
|
IsString84({ message: "debe ser un texto" }),
|
|
4865
|
-
|
|
4864
|
+
MinLength8(0, { message: "debe tener al menos 0 caracter" }),
|
|
4866
4865
|
Expose104()
|
|
4867
4866
|
], ValorizacionManoObraDTO.prototype, "Moneda", 2);
|
|
4868
4867
|
__decorateClass([
|
|
4869
4868
|
IsDefined13({ message: "es requerido" }),
|
|
4870
4869
|
IsString84({ message: "debe ser un texto" }),
|
|
4871
|
-
|
|
4870
|
+
MinLength8(0, { message: "debe tener al menos 0 caracter" }),
|
|
4872
4871
|
Expose104()
|
|
4873
4872
|
], ValorizacionManoObraDTO.prototype, "Simbolo", 2);
|
|
4874
4873
|
__decorateClass([
|
|
@@ -4952,7 +4951,7 @@ __decorateClass([
|
|
|
4952
4951
|
__decorateClass([
|
|
4953
4952
|
IsDefined14({ message: "es requerido" }),
|
|
4954
4953
|
IsString85({ message: "debe ser un texto" }),
|
|
4955
|
-
|
|
4954
|
+
MinLength9(1, { message: "debe tener al menos 1 caracteres" }),
|
|
4956
4955
|
Expose105()
|
|
4957
4956
|
], ManoObraENTITY.prototype, "GOM", 2);
|
|
4958
4957
|
__decorateClass([
|
|
@@ -8530,11 +8529,11 @@ __decorateClass([
|
|
|
8530
8529
|
|
|
8531
8530
|
// src/programados/procesos/obra/shared/dto/detalle-chile-dto.ts
|
|
8532
8531
|
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
|
|
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 MinLength11 } from "class-validator";
|
|
8534
8533
|
|
|
8535
8534
|
// src/programados/procesos/obra/shared/dto/historico-dto.ts
|
|
8536
8535
|
import { Expose as Expose155, Type as Type103 } from "class-transformer";
|
|
8537
|
-
import { IsDate as IsDate46, IsString as IsString124, Length as Length106, MinLength as
|
|
8536
|
+
import { IsDate as IsDate46, IsString as IsString124, Length as Length106, MinLength as MinLength10 } from "class-validator";
|
|
8538
8537
|
var HistoricoDTO = class {
|
|
8539
8538
|
Actividad = "";
|
|
8540
8539
|
Estado = "";
|
|
@@ -8565,12 +8564,12 @@ __decorateClass([
|
|
|
8565
8564
|
], HistoricoDTO.prototype, "Fin", 2);
|
|
8566
8565
|
__decorateClass([
|
|
8567
8566
|
IsString124({ message: "debe ser un texto" }),
|
|
8568
|
-
|
|
8567
|
+
MinLength10(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8569
8568
|
Expose155()
|
|
8570
8569
|
], HistoricoDTO.prototype, "Usuario", 2);
|
|
8571
8570
|
__decorateClass([
|
|
8572
8571
|
IsString124({ message: "debe ser un texto" }),
|
|
8573
|
-
|
|
8572
|
+
MinLength10(0, { message: "debe tener al menos 0 caracteres" }),
|
|
8574
8573
|
Expose155()
|
|
8575
8574
|
], HistoricoDTO.prototype, "Comentario", 2);
|
|
8576
8575
|
|
|
@@ -8666,7 +8665,7 @@ __decorateClass([
|
|
|
8666
8665
|
], DetalleChileObraDTO.prototype, "PE", 2);
|
|
8667
8666
|
__decorateClass([
|
|
8668
8667
|
IsString125({ message: "debe ser un texto" }),
|
|
8669
|
-
|
|
8668
|
+
MinLength11(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
8670
8669
|
Expose156()
|
|
8671
8670
|
], DetalleChileObraDTO.prototype, "ITOCTC", 2);
|
|
8672
8671
|
__decorateClass([
|
|
@@ -8681,7 +8680,7 @@ __decorateClass([
|
|
|
8681
8680
|
], DetalleChileObraDTO.prototype, "cliente", 2);
|
|
8682
8681
|
__decorateClass([
|
|
8683
8682
|
IsString125({ message: "debe ser un texto" }),
|
|
8684
|
-
|
|
8683
|
+
MinLength11(1, { message: "debe tener al menos 1 caracter" }),
|
|
8685
8684
|
Expose156()
|
|
8686
8685
|
], DetalleChileObraDTO.prototype, "direccion", 2);
|
|
8687
8686
|
__decorateClass([
|
|
@@ -8696,12 +8695,12 @@ __decorateClass([
|
|
|
8696
8695
|
], DetalleChileObraDTO.prototype, "nombreproyecto", 2);
|
|
8697
8696
|
__decorateClass([
|
|
8698
8697
|
IsString125({ message: "debe ser un texto" }),
|
|
8699
|
-
|
|
8698
|
+
MinLength11(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8700
8699
|
Expose156()
|
|
8701
8700
|
], DetalleChileObraDTO.prototype, "ito", 2);
|
|
8702
8701
|
__decorateClass([
|
|
8703
8702
|
IsString125({ message: "debe ser un texto" }),
|
|
8704
|
-
|
|
8703
|
+
MinLength11(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8705
8704
|
Expose156()
|
|
8706
8705
|
], DetalleChileObraDTO.prototype, "red", 2);
|
|
8707
8706
|
__decorateClass([
|
|
@@ -8716,7 +8715,7 @@ __decorateClass([
|
|
|
8716
8715
|
], DetalleChileObraDTO.prototype, "PEP1", 2);
|
|
8717
8716
|
__decorateClass([
|
|
8718
8717
|
IsString125({ message: "debe ser un texto" }),
|
|
8719
|
-
|
|
8718
|
+
MinLength11(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
8720
8719
|
Expose156()
|
|
8721
8720
|
], DetalleChileObraDTO.prototype, "GESTOR", 2);
|
|
8722
8721
|
__decorateClass([
|
|
@@ -9886,7 +9885,7 @@ __decorateClass([
|
|
|
9886
9885
|
], AddressListENTITY.prototype, "BusinessHPList", 2);
|
|
9887
9886
|
|
|
9888
9887
|
// 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
|
|
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 MinLength12, ValidateNested as ValidateNested110 } from "class-validator";
|
|
9890
9889
|
import { Expose as Expose178, Type as Type122 } from "class-transformer";
|
|
9891
9890
|
var MacroObraENTITY = class {
|
|
9892
9891
|
ID_MacroObra = 0;
|
|
@@ -9930,7 +9929,7 @@ __decorateClass([
|
|
|
9930
9929
|
__decorateClass([
|
|
9931
9930
|
IsDefined15(),
|
|
9932
9931
|
IsString142({ message: "debe ser un texto" }),
|
|
9933
|
-
|
|
9932
|
+
MinLength12(0, { message: "es requerido" }),
|
|
9934
9933
|
Expose178()
|
|
9935
9934
|
], MacroObraENTITY.prototype, "Observacion", 2);
|
|
9936
9935
|
__decorateClass([
|
|
@@ -10145,7 +10144,7 @@ import {
|
|
|
10145
10144
|
IsOptional as IsOptional4,
|
|
10146
10145
|
IsString as IsString149,
|
|
10147
10146
|
Min as Min101,
|
|
10148
|
-
MinLength as
|
|
10147
|
+
MinLength as MinLength14,
|
|
10149
10148
|
ValidateNested as ValidateNested113
|
|
10150
10149
|
} from "class-validator";
|
|
10151
10150
|
|
|
@@ -10295,7 +10294,7 @@ __decorateClass([
|
|
|
10295
10294
|
|
|
10296
10295
|
// src/programados/procesos/macroobra/chile/dto/data-gran-total/resumen-avance-data-gran-total-manoobra-chile-dto.ts
|
|
10297
10296
|
import { Expose as Expose185 } from "class-transformer";
|
|
10298
|
-
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as
|
|
10297
|
+
import { IsDefined as IsDefined16, IsNumber as IsNumber133, IsString as IsString148, Min as Min100, MinLength as MinLength13 } from "class-validator";
|
|
10299
10298
|
var ResumenAvanceDataGranTotalManoObraCHILEDTO = class {
|
|
10300
10299
|
Total = 0;
|
|
10301
10300
|
TotalUsado = 0;
|
|
@@ -10322,19 +10321,19 @@ __decorateClass([
|
|
|
10322
10321
|
__decorateClass([
|
|
10323
10322
|
IsDefined16(),
|
|
10324
10323
|
IsString148(),
|
|
10325
|
-
|
|
10324
|
+
MinLength13(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10326
10325
|
Expose185()
|
|
10327
10326
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FPorcentajeUsado", 2);
|
|
10328
10327
|
__decorateClass([
|
|
10329
10328
|
IsDefined16(),
|
|
10330
10329
|
IsString148(),
|
|
10331
|
-
|
|
10330
|
+
MinLength13(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10332
10331
|
Expose185()
|
|
10333
10332
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotal", 2);
|
|
10334
10333
|
__decorateClass([
|
|
10335
10334
|
IsDefined16(),
|
|
10336
10335
|
IsString148(),
|
|
10337
|
-
|
|
10336
|
+
MinLength13(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10338
10337
|
Expose185()
|
|
10339
10338
|
], ResumenAvanceDataGranTotalManoObraCHILEDTO.prototype, "FTotalUsado", 2);
|
|
10340
10339
|
|
|
@@ -10380,19 +10379,19 @@ __decorateClass([
|
|
|
10380
10379
|
__decorateClass([
|
|
10381
10380
|
IsDefined17(),
|
|
10382
10381
|
IsString149(),
|
|
10383
|
-
|
|
10382
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10384
10383
|
Expose186()
|
|
10385
10384
|
], ResumenAvanceDataGranTotal.prototype, "FTotal", 2);
|
|
10386
10385
|
__decorateClass([
|
|
10387
10386
|
IsDefined17(),
|
|
10388
10387
|
IsString149(),
|
|
10389
|
-
|
|
10388
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10390
10389
|
Expose186()
|
|
10391
10390
|
], ResumenAvanceDataGranTotal.prototype, "FPorcentajeUsado", 2);
|
|
10392
10391
|
__decorateClass([
|
|
10393
10392
|
IsDefined17(),
|
|
10394
10393
|
IsString149(),
|
|
10395
|
-
|
|
10394
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10396
10395
|
Expose186()
|
|
10397
10396
|
], ResumenAvanceDataGranTotal.prototype, "FTotalUsado", 2);
|
|
10398
10397
|
__decorateClass([
|
|
@@ -10412,7 +10411,7 @@ __decorateClass([
|
|
|
10412
10411
|
__decorateClass([
|
|
10413
10412
|
IsDefined17(),
|
|
10414
10413
|
IsString149(),
|
|
10415
|
-
|
|
10414
|
+
MinLength14(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
10416
10415
|
Expose186()
|
|
10417
10416
|
], ResumenAvanceDataGranTotal.prototype, "Simbolo", 2);
|
|
10418
10417
|
|
|
@@ -11198,7 +11197,7 @@ __decorateClass([
|
|
|
11198
11197
|
|
|
11199
11198
|
// src/programados/procesos/model obra sql/peru/index.ts
|
|
11200
11199
|
import { Expose as Expose202 } from "class-transformer";
|
|
11201
|
-
import { IsString as IsString160, Length as Length128, IsNumber as IsNumber144, Min as Min110, MinLength as
|
|
11200
|
+
import { IsString as IsString160, Length as Length128, IsNumber as IsNumber144, Min as Min110, MinLength as MinLength15, Matches as Matches2 } from "class-validator";
|
|
11202
11201
|
var ModelObraSQLPeruENTITY = class {
|
|
11203
11202
|
Idreg_ptr;
|
|
11204
11203
|
Anio;
|
|
@@ -11477,7 +11476,7 @@ __decorateClass([
|
|
|
11477
11476
|
], ModelObraSQLPeruENTITY.prototype, "Usuario", 2);
|
|
11478
11477
|
__decorateClass([
|
|
11479
11478
|
IsString160({ message: "debe ser un texto" }),
|
|
11480
|
-
|
|
11479
|
+
MinLength15(0, { message: "debe tener minimo 1" }),
|
|
11481
11480
|
Expose202()
|
|
11482
11481
|
], ModelObraSQLPeruENTITY.prototype, "Datos_Certificacion", 2);
|
|
11483
11482
|
|
|
@@ -12209,7 +12208,7 @@ __decorateClass([
|
|
|
12209
12208
|
|
|
12210
12209
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
12211
12210
|
import { Expose as Expose211, Transform as Transform5, Type as Type142 } from "class-transformer";
|
|
12212
|
-
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as
|
|
12211
|
+
import { IsDate as IsDate62, IsNumber as IsNumber152, IsString as IsString169, Min as Min117, MinLength as MinLength16 } from "class-validator";
|
|
12213
12212
|
var CabeceraCubicajeDTO = class {
|
|
12214
12213
|
codigoCalc = "";
|
|
12215
12214
|
codigo = "";
|
|
@@ -12237,45 +12236,45 @@ var CabeceraCubicajeDTO = class {
|
|
|
12237
12236
|
};
|
|
12238
12237
|
__decorateClass([
|
|
12239
12238
|
IsString169({ message: "debe ser un texto" }),
|
|
12240
|
-
|
|
12239
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12241
12240
|
Expose211()
|
|
12242
12241
|
], CabeceraCubicajeDTO.prototype, "codigoCalc", 2);
|
|
12243
12242
|
__decorateClass([
|
|
12244
12243
|
IsString169({ message: "debe ser un texto" }),
|
|
12245
|
-
|
|
12244
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12246
12245
|
Expose211()
|
|
12247
12246
|
], CabeceraCubicajeDTO.prototype, "codigo", 2);
|
|
12248
12247
|
__decorateClass([
|
|
12249
12248
|
IsString169({ message: "debe ser un texto" }),
|
|
12250
|
-
|
|
12249
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12251
12250
|
Expose211()
|
|
12252
12251
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
12253
12252
|
__decorateClass([
|
|
12254
12253
|
Transform5(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12255
12254
|
IsString169({ message: "debe ser un texto" }),
|
|
12256
|
-
|
|
12255
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12257
12256
|
Expose211()
|
|
12258
12257
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
12259
12258
|
__decorateClass([
|
|
12260
12259
|
Transform5(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12261
12260
|
IsString169({ message: "debe ser un texto" }),
|
|
12262
|
-
|
|
12261
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12263
12262
|
Expose211()
|
|
12264
12263
|
], CabeceraCubicajeDTO.prototype, "agencia", 2);
|
|
12265
12264
|
__decorateClass([
|
|
12266
12265
|
IsString169({ message: "debe ser un texto" }),
|
|
12267
|
-
|
|
12266
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12268
12267
|
Expose211()
|
|
12269
12268
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
12270
12269
|
__decorateClass([
|
|
12271
12270
|
Transform5(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12272
12271
|
IsString169({ message: "debe ser un texto" }),
|
|
12273
|
-
|
|
12272
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12274
12273
|
Expose211()
|
|
12275
12274
|
], CabeceraCubicajeDTO.prototype, "nombreoe", 2);
|
|
12276
12275
|
__decorateClass([
|
|
12277
12276
|
IsString169({ message: "debe ser un texto" }),
|
|
12278
|
-
|
|
12277
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12279
12278
|
Expose211()
|
|
12280
12279
|
], CabeceraCubicajeDTO.prototype, "tipooe", 2);
|
|
12281
12280
|
__decorateClass([
|
|
@@ -12290,62 +12289,62 @@ __decorateClass([
|
|
|
12290
12289
|
], CabeceraCubicajeDTO.prototype, "finoe", 2);
|
|
12291
12290
|
__decorateClass([
|
|
12292
12291
|
IsString169({ message: "debe ser un texto" }),
|
|
12293
|
-
|
|
12292
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12294
12293
|
Expose211()
|
|
12295
12294
|
], CabeceraCubicajeDTO.prototype, "PE", 2);
|
|
12296
12295
|
__decorateClass([
|
|
12297
12296
|
IsString169({ message: "debe ser un texto" }),
|
|
12298
|
-
|
|
12297
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12299
12298
|
Expose211()
|
|
12300
12299
|
], CabeceraCubicajeDTO.prototype, "ITOCTC", 2);
|
|
12301
12300
|
__decorateClass([
|
|
12302
12301
|
IsString169({ message: "debe ser un texto" }),
|
|
12303
|
-
|
|
12302
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12304
12303
|
Expose211()
|
|
12305
12304
|
], CabeceraCubicajeDTO.prototype, "central", 2);
|
|
12306
12305
|
__decorateClass([
|
|
12307
12306
|
IsString169({ message: "debe ser un texto" }),
|
|
12308
|
-
|
|
12307
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12309
12308
|
Expose211()
|
|
12310
12309
|
], CabeceraCubicajeDTO.prototype, "cliente", 2);
|
|
12311
12310
|
__decorateClass([
|
|
12312
12311
|
IsString169({ message: "debe ser un texto" }),
|
|
12313
|
-
|
|
12312
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12314
12313
|
Expose211()
|
|
12315
12314
|
], CabeceraCubicajeDTO.prototype, "direccion", 2);
|
|
12316
12315
|
__decorateClass([
|
|
12317
12316
|
IsString169({ message: "debe ser un texto" }),
|
|
12318
|
-
|
|
12317
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12319
12318
|
Expose211()
|
|
12320
12319
|
], CabeceraCubicajeDTO.prototype, "comuna", 2);
|
|
12321
12320
|
__decorateClass([
|
|
12322
12321
|
IsString169({ message: "debe ser un texto" }),
|
|
12323
|
-
|
|
12322
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12324
12323
|
Expose211()
|
|
12325
12324
|
], CabeceraCubicajeDTO.prototype, "nombreproyecto", 2);
|
|
12326
12325
|
__decorateClass([
|
|
12327
12326
|
IsString169({ message: "debe ser un texto" }),
|
|
12328
|
-
|
|
12327
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12329
12328
|
Expose211()
|
|
12330
12329
|
], CabeceraCubicajeDTO.prototype, "ito", 2);
|
|
12331
12330
|
__decorateClass([
|
|
12332
12331
|
IsString169({ message: "debe ser un texto" }),
|
|
12333
|
-
|
|
12332
|
+
MinLength16(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12334
12333
|
Expose211()
|
|
12335
12334
|
], CabeceraCubicajeDTO.prototype, "red", 2);
|
|
12336
12335
|
__decorateClass([
|
|
12337
12336
|
IsString169({ message: "debe ser un texto" }),
|
|
12338
|
-
|
|
12337
|
+
MinLength16(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12339
12338
|
Expose211()
|
|
12340
12339
|
], CabeceraCubicajeDTO.prototype, "PEP2", 2);
|
|
12341
12340
|
__decorateClass([
|
|
12342
12341
|
IsString169({ message: "debe ser un texto" }),
|
|
12343
|
-
|
|
12342
|
+
MinLength16(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12344
12343
|
Expose211()
|
|
12345
12344
|
], CabeceraCubicajeDTO.prototype, "PEP1", 2);
|
|
12346
12345
|
__decorateClass([
|
|
12347
12346
|
IsString169({ message: "debe ser un texto" }),
|
|
12348
|
-
|
|
12347
|
+
MinLength16(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12349
12348
|
Expose211()
|
|
12350
12349
|
], CabeceraCubicajeDTO.prototype, "GESTOR", 2);
|
|
12351
12350
|
__decorateClass([
|
|
@@ -12356,7 +12355,7 @@ __decorateClass([
|
|
|
12356
12355
|
|
|
12357
12356
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
12358
12357
|
import { Expose as Expose212, Transform as Transform6 } from "class-transformer";
|
|
12359
|
-
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as
|
|
12358
|
+
import { IsNumber as IsNumber153, IsString as IsString170, MinLength as MinLength17, Min as Min118 } from "class-validator";
|
|
12360
12359
|
var DetalleCubicajeDTO = class {
|
|
12361
12360
|
codigo = "";
|
|
12362
12361
|
linea = "";
|
|
@@ -12382,75 +12381,75 @@ var DetalleCubicajeDTO = class {
|
|
|
12382
12381
|
};
|
|
12383
12382
|
__decorateClass([
|
|
12384
12383
|
IsString170({ message: "debe ser un texto" }),
|
|
12385
|
-
|
|
12384
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12386
12385
|
Expose212()
|
|
12387
12386
|
], DetalleCubicajeDTO.prototype, "codigo", 2);
|
|
12388
12387
|
__decorateClass([
|
|
12389
12388
|
IsString170({ message: "debe ser un texto" }),
|
|
12390
|
-
|
|
12389
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12391
12390
|
Expose212(),
|
|
12392
12391
|
IsString170({ message: "debe ser un texto" }),
|
|
12393
|
-
|
|
12392
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12394
12393
|
Expose212()
|
|
12395
12394
|
], DetalleCubicajeDTO.prototype, "linea", 2);
|
|
12396
12395
|
__decorateClass([
|
|
12397
12396
|
IsString170({ message: "debe ser un texto" }),
|
|
12398
|
-
|
|
12397
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12399
12398
|
Expose212()
|
|
12400
12399
|
], DetalleCubicajeDTO.prototype, "dirdesde", 2);
|
|
12401
12400
|
__decorateClass([
|
|
12402
12401
|
IsString170({ message: "debe ser un texto" }),
|
|
12403
|
-
|
|
12402
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12404
12403
|
Expose212()
|
|
12405
12404
|
], DetalleCubicajeDTO.prototype, "altdesde", 2);
|
|
12406
12405
|
__decorateClass([
|
|
12407
12406
|
IsString170({ message: "debe ser un texto" }),
|
|
12408
|
-
|
|
12407
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12409
12408
|
Expose212()
|
|
12410
12409
|
], DetalleCubicajeDTO.prototype, "dirhasta", 2);
|
|
12411
12410
|
__decorateClass([
|
|
12412
12411
|
IsString170({ message: "debe ser un texto" }),
|
|
12413
|
-
|
|
12412
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12414
12413
|
Expose212()
|
|
12415
12414
|
], DetalleCubicajeDTO.prototype, "althasta", 2);
|
|
12416
12415
|
__decorateClass([
|
|
12417
12416
|
IsString170({ message: "debe ser un texto" }),
|
|
12418
|
-
|
|
12417
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12419
12418
|
Expose212()
|
|
12420
12419
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
12421
12420
|
__decorateClass([
|
|
12422
12421
|
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12423
12422
|
IsString170({ message: "debe ser un texto" }),
|
|
12424
|
-
|
|
12423
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12425
12424
|
Expose212()
|
|
12426
12425
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
12427
12426
|
__decorateClass([
|
|
12428
12427
|
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12429
12428
|
IsString170({ message: "debe ser un texto" }),
|
|
12430
|
-
|
|
12429
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12431
12430
|
Expose212()
|
|
12432
12431
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
12433
12432
|
__decorateClass([
|
|
12434
12433
|
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12435
12434
|
IsString170({ message: "debe ser un texto" }),
|
|
12436
|
-
|
|
12435
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12437
12436
|
Expose212()
|
|
12438
12437
|
], DetalleCubicajeDTO.prototype, "codclave", 2);
|
|
12439
12438
|
__decorateClass([
|
|
12440
12439
|
IsString170({ message: "debe ser un texto" }),
|
|
12441
|
-
|
|
12440
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12442
12441
|
Expose212()
|
|
12443
12442
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
12444
12443
|
__decorateClass([
|
|
12445
12444
|
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12446
12445
|
IsString170({ message: "debe ser un texto" }),
|
|
12447
|
-
|
|
12446
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12448
12447
|
Expose212()
|
|
12449
12448
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
12450
12449
|
__decorateClass([
|
|
12451
12450
|
Transform6(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
12452
12451
|
IsString170({ message: "debe ser un texto" }),
|
|
12453
|
-
|
|
12452
|
+
MinLength17(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12454
12453
|
Expose212()
|
|
12455
12454
|
], DetalleCubicajeDTO.prototype, "coduo", 2);
|
|
12456
12455
|
__decorateClass([
|
|
@@ -12485,18 +12484,18 @@ __decorateClass([
|
|
|
12485
12484
|
], DetalleCubicajeDTO.prototype, "canuoapr", 2);
|
|
12486
12485
|
__decorateClass([
|
|
12487
12486
|
IsString170({ message: "debe ser un texto" }),
|
|
12488
|
-
|
|
12487
|
+
MinLength17(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12489
12488
|
Expose212()
|
|
12490
12489
|
], DetalleCubicajeDTO.prototype, "origen", 2);
|
|
12491
12490
|
__decorateClass([
|
|
12492
12491
|
IsString170({ message: "debe ser un texto" }),
|
|
12493
|
-
|
|
12492
|
+
MinLength17(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12494
12493
|
Expose212()
|
|
12495
12494
|
], DetalleCubicajeDTO.prototype, "codigobarra", 2);
|
|
12496
12495
|
|
|
12497
12496
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
12498
12497
|
import { Expose as Expose213, Transform as Transform7, 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
|
|
12498
|
+
import { IsArray as IsArray78, IsDate as IsDate63, IsEnum as IsEnum3, IsNumber as IsNumber154, IsString as IsString171, Min as Min119, MinLength as MinLength18, ValidateNested as ValidateNested129 } from "class-validator";
|
|
12500
12499
|
var OrigenCUB = /* @__PURE__ */ ((OrigenCUB2) => {
|
|
12501
12500
|
OrigenCUB2["CREATE_MANUAL"] = "CREATE MANUAL";
|
|
12502
12501
|
OrigenCUB2["CREADO_POR_WORK_PROYECT"] = "CREADO POR WORK PROYECT";
|
|
@@ -12533,7 +12532,7 @@ __decorateClass([
|
|
|
12533
12532
|
], CubicacionENTITY.prototype, "detalle", 2);
|
|
12534
12533
|
__decorateClass([
|
|
12535
12534
|
IsString171({ message: "debe ser un texto" }),
|
|
12536
|
-
|
|
12535
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12537
12536
|
Expose213()
|
|
12538
12537
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
12539
12538
|
__decorateClass([
|
|
@@ -12544,7 +12543,7 @@ __decorateClass([
|
|
|
12544
12543
|
], CubicacionENTITY.prototype, "Fecha", 2);
|
|
12545
12544
|
__decorateClass([
|
|
12546
12545
|
IsString171({ message: "debe ser un texto" }),
|
|
12547
|
-
|
|
12546
|
+
MinLength18(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12548
12547
|
Expose213()
|
|
12549
12548
|
], CubicacionENTITY.prototype, "ZonaAsignada", 2);
|
|
12550
12549
|
__decorateClass([
|
|
@@ -12558,7 +12557,7 @@ __decorateClass([
|
|
|
12558
12557
|
], CubicacionENTITY.prototype, "OrigenCUB", 2);
|
|
12559
12558
|
__decorateClass([
|
|
12560
12559
|
IsString171({ message: "debe ser un texto" }),
|
|
12561
|
-
|
|
12560
|
+
MinLength18(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12562
12561
|
Expose213()
|
|
12563
12562
|
], CubicacionENTITY.prototype, "Actividad", 2);
|
|
12564
12563
|
|
|
@@ -12570,7 +12569,7 @@ import { Expose as Expose215, Type as Type145 } from "class-transformer";
|
|
|
12570
12569
|
|
|
12571
12570
|
// src/programados/procesos/cubicacion/chile/dto/historial-cubicacion-dto.ts
|
|
12572
12571
|
import { Expose as Expose214, Type as Type144 } from "class-transformer";
|
|
12573
|
-
import { IsDate as IsDate64, IsString as IsString172, MinLength as
|
|
12572
|
+
import { IsDate as IsDate64, IsString as IsString172, MinLength as MinLength19 } from "class-validator";
|
|
12574
12573
|
var HistorialCubicacionDTO = class {
|
|
12575
12574
|
Actividad = "";
|
|
12576
12575
|
Estado = "";
|
|
@@ -12581,12 +12580,12 @@ var HistorialCubicacionDTO = class {
|
|
|
12581
12580
|
};
|
|
12582
12581
|
__decorateClass([
|
|
12583
12582
|
IsString172({ message: "debe ser un texto" }),
|
|
12584
|
-
|
|
12583
|
+
MinLength19(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12585
12584
|
Expose214()
|
|
12586
12585
|
], HistorialCubicacionDTO.prototype, "Actividad", 2);
|
|
12587
12586
|
__decorateClass([
|
|
12588
12587
|
IsString172({ message: "debe ser un texto" }),
|
|
12589
|
-
|
|
12588
|
+
MinLength19(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12590
12589
|
Expose214()
|
|
12591
12590
|
], HistorialCubicacionDTO.prototype, "Estado", 2);
|
|
12592
12591
|
__decorateClass([
|
|
@@ -12601,12 +12600,12 @@ __decorateClass([
|
|
|
12601
12600
|
], HistorialCubicacionDTO.prototype, "Fin", 2);
|
|
12602
12601
|
__decorateClass([
|
|
12603
12602
|
IsString172({ message: "debe ser un texto" }),
|
|
12604
|
-
|
|
12603
|
+
MinLength19(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12605
12604
|
Expose214()
|
|
12606
12605
|
], HistorialCubicacionDTO.prototype, "Usuario", 2);
|
|
12607
12606
|
__decorateClass([
|
|
12608
12607
|
IsString172({ message: "debe ser un texto" }),
|
|
12609
|
-
|
|
12608
|
+
MinLength19(0, { message: "debe tener al menos 0 car\xE1cter" }),
|
|
12610
12609
|
Expose214()
|
|
12611
12610
|
], HistorialCubicacionDTO.prototype, "Comentario", 2);
|
|
12612
12611
|
|
|
@@ -12638,7 +12637,7 @@ import { Expose as Expose219, Type as Type148 } from "class-transformer";
|
|
|
12638
12637
|
|
|
12639
12638
|
// src/programados/procesos/cubicacion/alemania/dto/acta-final-cubicacion-dto.ts
|
|
12640
12639
|
import { Expose as Expose217 } from "class-transformer";
|
|
12641
|
-
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as
|
|
12640
|
+
import { IsNumber as IsNumber155, IsString as IsString173, Min as Min120, MinLength as MinLength20 } from "class-validator";
|
|
12642
12641
|
var ActaFinalCubicacionDTO = class {
|
|
12643
12642
|
DescripcionMO = "";
|
|
12644
12643
|
BaremoUnitario = 0;
|
|
@@ -12647,7 +12646,7 @@ var ActaFinalCubicacionDTO = class {
|
|
|
12647
12646
|
};
|
|
12648
12647
|
__decorateClass([
|
|
12649
12648
|
IsString173({ message: "debe ser un texto" }),
|
|
12650
|
-
|
|
12649
|
+
MinLength20(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
12651
12650
|
Expose217()
|
|
12652
12651
|
], ActaFinalCubicacionDTO.prototype, "DescripcionMO", 2);
|
|
12653
12652
|
__decorateClass([
|