sigo-entities 1.2.521 → 1.2.523
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.d.mts +70 -1
- package/dist/index.d.ts +70 -1
- package/dist/index.js +423 -204
- package/dist/index.mjs +732 -508
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8148,7 +8148,7 @@ __decorateClass([
|
|
|
8148
8148
|
], HomePassDTO.prototype, "StreetName", 2);
|
|
8149
8149
|
__decorateClass([
|
|
8150
8150
|
IsString131({ message: "debe ser un texto" }),
|
|
8151
|
-
Length94(0,
|
|
8151
|
+
Length94(0, 200, { message: "debe tener entre $constraint1 y $constraint2 caracteres" }),
|
|
8152
8152
|
Expose161()
|
|
8153
8153
|
], HomePassDTO.prototype, "HouseNumber", 2);
|
|
8154
8154
|
__decorateClass([
|
|
@@ -9094,7 +9094,7 @@ import { IsArray as IsArray56, IsNotEmpty as IsNotEmpty122, ValidateNested as Va
|
|
|
9094
9094
|
|
|
9095
9095
|
// src/programados/procesos/trabajo/alemania/dto/valorizacion-dto.ts
|
|
9096
9096
|
import { Expose as Expose176, Type as Type115 } from "class-transformer";
|
|
9097
|
-
import { IsArray as IsArray55, IsDate as IsDate40, IsNotEmpty as IsNotEmpty121, IsNumber as IsNumber126, IsString as IsString141, Length as Length103, MinLength as MinLength24, ValidateNested as ValidateNested104 } from "class-validator";
|
|
9097
|
+
import { IsArray as IsArray55, IsDate as IsDate40, IsNotEmpty as IsNotEmpty121, IsNumber as IsNumber126, IsOptional as IsOptional10, IsString as IsString141, Length as Length103, MinLength as MinLength24, ValidateNested as ValidateNested104 } from "class-validator";
|
|
9098
9098
|
var ValorizacionAlemaniaDTO = class {
|
|
9099
9099
|
ID_Valorizacion = 0;
|
|
9100
9100
|
Amap = 0;
|
|
@@ -9128,6 +9128,7 @@ var ValorizacionAlemaniaDTO = class {
|
|
|
9128
9128
|
PrecioContrata = 0;
|
|
9129
9129
|
TotalContrata = 0;
|
|
9130
9130
|
CodigoOT = "";
|
|
9131
|
+
ID_Operacion;
|
|
9131
9132
|
};
|
|
9132
9133
|
__decorateClass([
|
|
9133
9134
|
IsNumber126({}, { message: "debe ser un numero" }),
|
|
@@ -9312,6 +9313,11 @@ __decorateClass([
|
|
|
9312
9313
|
MinLength24(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
9313
9314
|
Expose176()
|
|
9314
9315
|
], ValorizacionAlemaniaDTO.prototype, "CodigoOT", 2);
|
|
9316
|
+
__decorateClass([
|
|
9317
|
+
IsOptional10(),
|
|
9318
|
+
IsString141({ message: "debe ser un texto" }),
|
|
9319
|
+
Expose176()
|
|
9320
|
+
], ValorizacionAlemaniaDTO.prototype, "ID_Operacion", 2);
|
|
9315
9321
|
|
|
9316
9322
|
// src/programados/procesos/trabajo/alemania/dto/ultima_PreLiquidacion-dto.ts
|
|
9317
9323
|
var Ultima_PreLiquidacionAlemaniaDTO = class {
|
|
@@ -9689,7 +9695,7 @@ import { IsDate as IsDate45, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber13
|
|
|
9689
9695
|
|
|
9690
9696
|
// src/programados/procesos/trabajoMacroObra/shared/periodo-dto.ts
|
|
9691
9697
|
import { Expose as Expose182 } from "class-transformer";
|
|
9692
|
-
import { IsDate as IsDate44, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber129, IsOptional as
|
|
9698
|
+
import { IsDate as IsDate44, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber129, IsOptional as IsOptional11, IsString as IsString144, Length as Length106, ValidateIf as ValidateIf2 } from "class-validator";
|
|
9693
9699
|
var PeriodoDTO2 = class {
|
|
9694
9700
|
ID_Periodo = 0;
|
|
9695
9701
|
Codigo = "";
|
|
@@ -9715,12 +9721,12 @@ __decorateClass([
|
|
|
9715
9721
|
Expose182()
|
|
9716
9722
|
], PeriodoDTO2.prototype, "FechaInicio", 2);
|
|
9717
9723
|
__decorateClass([
|
|
9718
|
-
|
|
9724
|
+
IsOptional11(),
|
|
9719
9725
|
ValidateIf2((o) => o.FechaFin !== null && o.FechaFin !== "" && o.FechaFin !== void 0),
|
|
9720
9726
|
Expose182()
|
|
9721
9727
|
], PeriodoDTO2.prototype, "FechaFin", 2);
|
|
9722
9728
|
__decorateClass([
|
|
9723
|
-
|
|
9729
|
+
IsOptional11(),
|
|
9724
9730
|
ValidateIf2((o) => o.FechaMaxima !== null && o.FechaMaxima !== "" && o.FechaMaxima !== void 0),
|
|
9725
9731
|
Expose182()
|
|
9726
9732
|
], PeriodoDTO2.prototype, "FechaMaxima", 2);
|
|
@@ -10558,14 +10564,12 @@ __decorateClass([
|
|
|
10558
10564
|
], HomePassDTO2.prototype, "StreetName", 2);
|
|
10559
10565
|
__decorateClass([
|
|
10560
10566
|
IsString151({ message: "debe ser un texto" }),
|
|
10561
|
-
|
|
10562
|
-
Length113(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
10567
|
+
Length113(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
10563
10568
|
Expose192()
|
|
10564
10569
|
], HomePassDTO2.prototype, "HouseNumber", 2);
|
|
10565
10570
|
__decorateClass([
|
|
10566
10571
|
IsString151({ message: "debe ser un texto" }),
|
|
10567
|
-
|
|
10568
|
-
Length113(1, 10, { message: "debe tener entre 1 y 10 caracteres" }),
|
|
10572
|
+
Length113(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
10569
10573
|
Expose192()
|
|
10570
10574
|
], HomePassDTO2.prototype, "HouseNumbreComplement", 2);
|
|
10571
10575
|
|
|
@@ -11804,7 +11808,7 @@ import {
|
|
|
11804
11808
|
IsArray as IsArray76,
|
|
11805
11809
|
IsDefined as IsDefined67,
|
|
11806
11810
|
IsNumber as IsNumber158,
|
|
11807
|
-
IsOptional as
|
|
11811
|
+
IsOptional as IsOptional12,
|
|
11808
11812
|
IsString as IsString173,
|
|
11809
11813
|
MinLength as MinLength31,
|
|
11810
11814
|
ValidateNested as ValidateNested132
|
|
@@ -12040,14 +12044,14 @@ __decorateClass([
|
|
|
12040
12044
|
Type147(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO),
|
|
12041
12045
|
IsArray76(),
|
|
12042
12046
|
Expose219(),
|
|
12043
|
-
|
|
12047
|
+
IsOptional12(),
|
|
12044
12048
|
ValidateNested132({ each: true })
|
|
12045
12049
|
], ResumenAvanceDataGranTotal.prototype, "ValorizacionesByPeriodos", 2);
|
|
12046
12050
|
__decorateClass([
|
|
12047
12051
|
Type147(() => ResumenAvanceDataGranTotalEmpresasChileDTO),
|
|
12048
12052
|
IsArray76(),
|
|
12049
12053
|
Expose219(),
|
|
12050
|
-
|
|
12054
|
+
IsOptional12(),
|
|
12051
12055
|
ValidateNested132({ each: true })
|
|
12052
12056
|
], ResumenAvanceDataGranTotal.prototype, "Empresas", 2);
|
|
12053
12057
|
__decorateClass([
|
|
@@ -13424,7 +13428,7 @@ import {
|
|
|
13424
13428
|
IsArray as IsArray90,
|
|
13425
13429
|
IsDefined as IsDefined73,
|
|
13426
13430
|
IsNumber as IsNumber174,
|
|
13427
|
-
IsOptional as
|
|
13431
|
+
IsOptional as IsOptional16,
|
|
13428
13432
|
IsString as IsString191,
|
|
13429
13433
|
Min as Min135,
|
|
13430
13434
|
MinLength as MinLength33,
|
|
@@ -13490,14 +13494,14 @@ __decorateClass([
|
|
|
13490
13494
|
Type166(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO),
|
|
13491
13495
|
IsArray90(),
|
|
13492
13496
|
Expose245(),
|
|
13493
|
-
|
|
13497
|
+
IsOptional16(),
|
|
13494
13498
|
ValidateNested151({ each: true })
|
|
13495
13499
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
13496
13500
|
__decorateClass([
|
|
13497
13501
|
Type166(() => ResumenAvanceDataGranTotalEmpresasPeruDTO),
|
|
13498
13502
|
IsArray90(),
|
|
13499
13503
|
Expose245(),
|
|
13500
|
-
|
|
13504
|
+
IsOptional16(),
|
|
13501
13505
|
ValidateNested151({ each: true })
|
|
13502
13506
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "Empresas", 2);
|
|
13503
13507
|
__decorateClass([
|
|
@@ -14068,7 +14072,7 @@ import {
|
|
|
14068
14072
|
IsArray as IsArray98,
|
|
14069
14073
|
IsDefined as IsDefined79,
|
|
14070
14074
|
IsNumber as IsNumber190,
|
|
14071
|
-
IsOptional as
|
|
14075
|
+
IsOptional as IsOptional20,
|
|
14072
14076
|
IsString as IsString204,
|
|
14073
14077
|
Min as Min148,
|
|
14074
14078
|
MinLength as MinLength35,
|
|
@@ -14315,14 +14319,14 @@ __decorateClass([
|
|
|
14315
14319
|
Type178(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO),
|
|
14316
14320
|
IsArray98(),
|
|
14317
14321
|
Expose264(),
|
|
14318
|
-
|
|
14322
|
+
IsOptional20(),
|
|
14319
14323
|
ValidateNested161({ each: true })
|
|
14320
14324
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
14321
14325
|
__decorateClass([
|
|
14322
14326
|
Type178(() => ResumenAvanceDataGranTotalEmpresasAlemaniaDTO),
|
|
14323
14327
|
IsArray98(),
|
|
14324
14328
|
Expose264(),
|
|
14325
|
-
|
|
14329
|
+
IsOptional20(),
|
|
14326
14330
|
ValidateNested161({ each: true })
|
|
14327
14331
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "Empresas", 2);
|
|
14328
14332
|
__decorateClass([
|
|
@@ -15288,7 +15292,7 @@ import { ValidateNested as ValidateNested186 } from "class-validator";
|
|
|
15288
15292
|
|
|
15289
15293
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance_data-gran-total-colombia-dto.ts
|
|
15290
15294
|
import { Expose as Expose286, Type as Type195 } from "class-transformer";
|
|
15291
|
-
import { IsArray as IsArray109, IsDefined as IsDefined85, IsNumber as IsNumber204, IsOptional as
|
|
15295
|
+
import { IsArray as IsArray109, IsDefined as IsDefined85, IsNumber as IsNumber204, IsOptional as IsOptional21, IsString as IsString220, Min as Min156, MinLength as MinLength37, ValidateNested as ValidateNested177 } from "class-validator";
|
|
15292
15296
|
|
|
15293
15297
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance-data-gran-total-empresas-colombia-dto.ts
|
|
15294
15298
|
import { Expose as Expose283 } from "class-transformer";
|
|
@@ -15530,14 +15534,14 @@ __decorateClass([
|
|
|
15530
15534
|
Type195(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO),
|
|
15531
15535
|
IsArray109(),
|
|
15532
15536
|
Expose286(),
|
|
15533
|
-
|
|
15537
|
+
IsOptional21(),
|
|
15534
15538
|
ValidateNested177({ each: true })
|
|
15535
15539
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
15536
15540
|
__decorateClass([
|
|
15537
15541
|
Type195(() => ResumenAvanceDataGranTotalEmpresasColombiaDTO),
|
|
15538
15542
|
IsArray109(),
|
|
15539
15543
|
Expose286(),
|
|
15540
|
-
|
|
15544
|
+
IsOptional21(),
|
|
15541
15545
|
ValidateNested177({ each: true })
|
|
15542
15546
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "Empresas", 2);
|
|
15543
15547
|
__decorateClass([
|
|
@@ -16558,7 +16562,7 @@ __decorateClass([
|
|
|
16558
16562
|
|
|
16559
16563
|
// src/programados/procesos/obra/shared/requestDto/update-estado-interno-obra-request-dto.ts
|
|
16560
16564
|
import { Expose as Expose305 } from "class-transformer";
|
|
16561
|
-
import { IsNotEmpty as IsNotEmpty203, IsNumber as IsNumber213, IsOptional as
|
|
16565
|
+
import { IsNotEmpty as IsNotEmpty203, IsNumber as IsNumber213, IsOptional as IsOptional22, IsString as IsString233 } from "class-validator";
|
|
16562
16566
|
var UpdateEstadoInternoObraRequestDTO = class {
|
|
16563
16567
|
ID_Obra = "";
|
|
16564
16568
|
ID_EstadoInternoPadre = 0;
|
|
@@ -16577,12 +16581,12 @@ __decorateClass([
|
|
|
16577
16581
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
16578
16582
|
__decorateClass([
|
|
16579
16583
|
IsNumber213({}, { message: "debe ser un n\xFAmero" }),
|
|
16580
|
-
|
|
16584
|
+
IsOptional22(),
|
|
16581
16585
|
Expose305()
|
|
16582
16586
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_SubEstadoInterno", 2);
|
|
16583
16587
|
__decorateClass([
|
|
16584
16588
|
IsString233({ message: "debe ser un texto" }),
|
|
16585
|
-
|
|
16589
|
+
IsOptional22(),
|
|
16586
16590
|
Expose305()
|
|
16587
16591
|
], UpdateEstadoInternoObraRequestDTO.prototype, "Observacion", 2);
|
|
16588
16592
|
|
|
@@ -19486,7 +19490,7 @@ __decorateClass([
|
|
|
19486
19490
|
], DetalleAtipicaPeruDTO.prototype, "Material", 2);
|
|
19487
19491
|
|
|
19488
19492
|
// src/programados/procesos/cubicacion/peru/index.ts
|
|
19489
|
-
import { IsDefined as IsDefined106, IsOptional as
|
|
19493
|
+
import { IsDefined as IsDefined106, IsOptional as IsOptional23, ValidateNested as ValidateNested228 } from "class-validator";
|
|
19490
19494
|
var CubicacionPeru9112ENTITY = class extends CubicacionENTITY {
|
|
19491
19495
|
cabecera = new CabeceraCubicajePeruDTO();
|
|
19492
19496
|
DetallePeru = new DetallePeruDTO();
|
|
@@ -19507,7 +19511,7 @@ __decorateClass([
|
|
|
19507
19511
|
Type250(() => DetalleAtipicaPeruDTO),
|
|
19508
19512
|
ValidateNested228(),
|
|
19509
19513
|
Expose357(),
|
|
19510
|
-
|
|
19514
|
+
IsOptional23()
|
|
19511
19515
|
], CubicacionPeru9112ENTITY.prototype, "DetalleAtipica", 2);
|
|
19512
19516
|
|
|
19513
19517
|
// src/programados/procesos/cubicacion/colombia/index.ts
|
|
@@ -23363,7 +23367,7 @@ import {
|
|
|
23363
23367
|
IsDefined as IsDefined142,
|
|
23364
23368
|
IsNotEmpty as IsNotEmpty278,
|
|
23365
23369
|
IsNumber as IsNumber293,
|
|
23366
|
-
IsOptional as
|
|
23370
|
+
IsOptional as IsOptional24,
|
|
23367
23371
|
IsString as IsString315,
|
|
23368
23372
|
Min as Min230,
|
|
23369
23373
|
MinLength as MinLength47,
|
|
@@ -23409,7 +23413,7 @@ var BaremoAlemaniaENTITY = class {
|
|
|
23409
23413
|
UOMateriales = new UOMaterialesBaremoDTO();
|
|
23410
23414
|
};
|
|
23411
23415
|
__decorateClass([
|
|
23412
|
-
|
|
23416
|
+
IsOptional24(),
|
|
23413
23417
|
Expose425()
|
|
23414
23418
|
], BaremoAlemaniaENTITY.prototype, "_id", 2);
|
|
23415
23419
|
__decorateClass([
|
|
@@ -24823,7 +24827,7 @@ __decorateClass([
|
|
|
24823
24827
|
|
|
24824
24828
|
// src/programados/Reportes/ReporteProduccion/Chile/Baremos/index.ts
|
|
24825
24829
|
import { Expose as Expose453, Type as Type314 } from "class-transformer";
|
|
24826
|
-
import { IsArray as IsArray168, IsBoolean as IsBoolean39, IsDefined as IsDefined169, IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber305, IsOptional as
|
|
24830
|
+
import { IsArray as IsArray168, IsBoolean as IsBoolean39, IsDefined as IsDefined169, IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber305, IsOptional as IsOptional26, IsString as IsString342, ValidateNested as ValidateNested284 } from "class-validator";
|
|
24827
24831
|
|
|
24828
24832
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/dto/baremo_process_fechas-dto.ts
|
|
24829
24833
|
import { Expose as Expose443, Transform as Transform48 } from "class-transformer";
|
|
@@ -25216,7 +25220,7 @@ var BaremosChileENTITY = class {
|
|
|
25216
25220
|
};
|
|
25217
25221
|
__decorateClass([
|
|
25218
25222
|
Expose453(),
|
|
25219
|
-
|
|
25223
|
+
IsOptional26()
|
|
25220
25224
|
], BaremosChileENTITY.prototype, "_id", 2);
|
|
25221
25225
|
__decorateClass([
|
|
25222
25226
|
Expose453(),
|
|
@@ -26059,7 +26063,7 @@ import {
|
|
|
26059
26063
|
IsDefined as IsDefined175,
|
|
26060
26064
|
IsNotEmpty as IsNotEmpty283,
|
|
26061
26065
|
IsNumber as IsNumber309,
|
|
26062
|
-
IsOptional as
|
|
26066
|
+
IsOptional as IsOptional27,
|
|
26063
26067
|
IsString as IsString348,
|
|
26064
26068
|
ValidateNested as ValidateNested288
|
|
26065
26069
|
} from "class-validator";
|
|
@@ -26114,7 +26118,7 @@ var BaremosColombiaENTITY = class {
|
|
|
26114
26118
|
};
|
|
26115
26119
|
__decorateClass([
|
|
26116
26120
|
Expose459(),
|
|
26117
|
-
|
|
26121
|
+
IsOptional27()
|
|
26118
26122
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
26119
26123
|
__decorateClass([
|
|
26120
26124
|
Expose459(),
|
|
@@ -27058,7 +27062,7 @@ import { Expose as Expose476, Type as Type328 } from "class-transformer";
|
|
|
27058
27062
|
|
|
27059
27063
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/dto/prod-curso-baremo-fases-ultimo-estado-interno-dto.ts
|
|
27060
27064
|
import { Expose as Expose471, Type as Type326 } from "class-transformer";
|
|
27061
|
-
import { IsArray as IsArray177, IsBoolean as IsBoolean46, IsDate as IsDate105, IsNotEmpty as IsNotEmpty295, IsNumber as IsNumber314, IsOptional as
|
|
27065
|
+
import { IsArray as IsArray177, IsBoolean as IsBoolean46, IsDate as IsDate105, IsNotEmpty as IsNotEmpty295, IsNumber as IsNumber314, IsOptional as IsOptional28, IsString as IsString360, ValidateNested as ValidateNested295 } from "class-validator";
|
|
27062
27066
|
var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
27063
27067
|
IsDebug = false;
|
|
27064
27068
|
ID_EstadoInterno = 0;
|
|
@@ -27080,7 +27084,7 @@ var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
|
27080
27084
|
};
|
|
27081
27085
|
__decorateClass([
|
|
27082
27086
|
IsBoolean46({ message: "IsDebug debe ser un valor booleano" }),
|
|
27083
|
-
|
|
27087
|
+
IsOptional28(),
|
|
27084
27088
|
Expose471()
|
|
27085
27089
|
], ProdCursoBaremoFasesUltimoEstadoInternoDTO.prototype, "IsDebug", 2);
|
|
27086
27090
|
__decorateClass([
|
|
@@ -31019,7 +31023,7 @@ __decorateClass([
|
|
|
31019
31023
|
|
|
31020
31024
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
31021
31025
|
import { Expose as Expose527, Type as Type363, Transform as Transform65 } from "class-transformer";
|
|
31022
|
-
import { IsDate as IsDate120, IsNumber as IsNumber356, IsOptional as
|
|
31026
|
+
import { IsDate as IsDate120, IsNumber as IsNumber356, IsOptional as IsOptional29, IsString as IsString409, Min as Min276 } from "class-validator";
|
|
31023
31027
|
var AcceptedDto = class {
|
|
31024
31028
|
IdDate = 0;
|
|
31025
31029
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31031,88 +31035,88 @@ var AcceptedDto = class {
|
|
|
31031
31035
|
FullName = "";
|
|
31032
31036
|
};
|
|
31033
31037
|
__decorateClass([
|
|
31034
|
-
|
|
31038
|
+
IsOptional29(),
|
|
31035
31039
|
IsNumber356({}, { message: "debe ser un n\xFAmero" }),
|
|
31036
31040
|
Min276(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31037
31041
|
Expose527()
|
|
31038
31042
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
31039
31043
|
__decorateClass([
|
|
31040
|
-
|
|
31044
|
+
IsOptional29(),
|
|
31041
31045
|
Transform65(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31042
31046
|
IsDate120({ message: "debe ser una fecha" }),
|
|
31043
31047
|
Type363(() => Date),
|
|
31044
31048
|
Expose527()
|
|
31045
31049
|
], AcceptedDto.prototype, "Date", 2);
|
|
31046
31050
|
__decorateClass([
|
|
31047
|
-
|
|
31051
|
+
IsOptional29(),
|
|
31048
31052
|
IsNumber356({}, { message: "debe ser un n\xFAmero" }),
|
|
31049
31053
|
Type363(() => Number),
|
|
31050
31054
|
Expose527()
|
|
31051
31055
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
31052
31056
|
__decorateClass([
|
|
31053
|
-
|
|
31057
|
+
IsOptional29(),
|
|
31054
31058
|
IsString409({ message: "debe ser texto" }),
|
|
31055
31059
|
Expose527()
|
|
31056
31060
|
], AcceptedDto.prototype, "User", 2);
|
|
31057
31061
|
__decorateClass([
|
|
31058
|
-
|
|
31062
|
+
IsOptional29(),
|
|
31059
31063
|
IsString409({ message: "debe ser texto" }),
|
|
31060
31064
|
Expose527()
|
|
31061
31065
|
], AcceptedDto.prototype, "LastName", 2);
|
|
31062
31066
|
__decorateClass([
|
|
31063
|
-
|
|
31067
|
+
IsOptional29(),
|
|
31064
31068
|
IsString409({ message: "debe ser texto" }),
|
|
31065
31069
|
Expose527()
|
|
31066
31070
|
], AcceptedDto.prototype, "Name", 2);
|
|
31067
31071
|
__decorateClass([
|
|
31068
|
-
|
|
31072
|
+
IsOptional29(),
|
|
31069
31073
|
IsString409({ message: "debe ser texto" }),
|
|
31070
31074
|
Expose527()
|
|
31071
31075
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
31072
31076
|
__decorateClass([
|
|
31073
|
-
|
|
31077
|
+
IsOptional29(),
|
|
31074
31078
|
IsString409({ message: "debe ser texto" }),
|
|
31075
31079
|
Expose527()
|
|
31076
31080
|
], AcceptedDto.prototype, "FullName", 2);
|
|
31077
31081
|
|
|
31078
31082
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
31079
31083
|
import { Expose as Expose532, Transform as Transform68, Type as Type365 } from "class-transformer";
|
|
31080
|
-
import { IsNumber as IsNumber359, IsOptional as
|
|
31084
|
+
import { IsNumber as IsNumber359, IsOptional as IsOptional34, IsString as IsString414, IsArray as IsArray199, ValidateNested as ValidateNested332 } from "class-validator";
|
|
31081
31085
|
|
|
31082
31086
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-albaran-dto.ts
|
|
31083
31087
|
import { Expose as Expose528, Transform as Transform66 } from "class-transformer";
|
|
31084
|
-
import { IsOptional as
|
|
31088
|
+
import { IsOptional as IsOptional30, IsString as IsString410 } from "class-validator";
|
|
31085
31089
|
var DetalleAlbaranDTO = class {
|
|
31086
31090
|
Field = "";
|
|
31087
31091
|
Code = "";
|
|
31088
31092
|
};
|
|
31089
31093
|
__decorateClass([
|
|
31090
|
-
|
|
31094
|
+
IsOptional30(),
|
|
31091
31095
|
IsString410({ message: "debe ser texto" }),
|
|
31092
31096
|
Transform66(({ value }) => value?.toUpperCase().trim()),
|
|
31093
31097
|
Expose528()
|
|
31094
31098
|
], DetalleAlbaranDTO.prototype, "Field", 2);
|
|
31095
31099
|
__decorateClass([
|
|
31096
|
-
|
|
31100
|
+
IsOptional30(),
|
|
31097
31101
|
IsString410({ message: "debe ser texto" }),
|
|
31098
31102
|
Expose528()
|
|
31099
31103
|
], DetalleAlbaranDTO.prototype, "Code", 2);
|
|
31100
31104
|
|
|
31101
31105
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-date-registry-dto.ts
|
|
31102
31106
|
import { Expose as Expose529, Transform as Transform67 } from "class-transformer";
|
|
31103
|
-
import { IsOptional as
|
|
31107
|
+
import { IsOptional as IsOptional31, IsString as IsString411, IsNumber as IsNumber357 } from "class-validator";
|
|
31104
31108
|
var dateToISOStringOrEmpty = (value) => value instanceof Date ? value.toISOString() : "";
|
|
31105
31109
|
var NavisionDateRegistryDto = class {
|
|
31106
31110
|
IdDate = 0;
|
|
31107
31111
|
Date = "";
|
|
31108
31112
|
};
|
|
31109
31113
|
__decorateClass([
|
|
31110
|
-
|
|
31114
|
+
IsOptional31(),
|
|
31111
31115
|
IsNumber357({}, { message: "debe ser un n\xFAmero" }),
|
|
31112
31116
|
Expose529()
|
|
31113
31117
|
], NavisionDateRegistryDto.prototype, "IdDate", 2);
|
|
31114
31118
|
__decorateClass([
|
|
31115
|
-
|
|
31119
|
+
IsOptional31(),
|
|
31116
31120
|
IsString411({ message: "debe ser texto" }),
|
|
31117
31121
|
Transform67(({ value }) => dateToISOStringOrEmpty(value)),
|
|
31118
31122
|
Expose529()
|
|
@@ -31122,7 +31126,7 @@ var NavisionRegistryDateDto = class extends NavisionDateRegistryDto {
|
|
|
31122
31126
|
|
|
31123
31127
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-user-registry-dto.ts
|
|
31124
31128
|
import { Expose as Expose530 } from "class-transformer";
|
|
31125
|
-
import { IsOptional as
|
|
31129
|
+
import { IsOptional as IsOptional32, IsString as IsString412, IsNumber as IsNumber358 } from "class-validator";
|
|
31126
31130
|
var NavisionUserRegistryDto = class {
|
|
31127
31131
|
IdUser = 0;
|
|
31128
31132
|
User = "";
|
|
@@ -31131,34 +31135,34 @@ var NavisionUserRegistryDto = class {
|
|
|
31131
31135
|
Perfil = "";
|
|
31132
31136
|
};
|
|
31133
31137
|
__decorateClass([
|
|
31134
|
-
|
|
31138
|
+
IsOptional32(),
|
|
31135
31139
|
IsNumber358({}, { message: "debe ser un n\xFAmero" }),
|
|
31136
31140
|
Expose530()
|
|
31137
31141
|
], NavisionUserRegistryDto.prototype, "IdUser", 2);
|
|
31138
31142
|
__decorateClass([
|
|
31139
|
-
|
|
31143
|
+
IsOptional32(),
|
|
31140
31144
|
IsString412({ message: "debe ser texto" }),
|
|
31141
31145
|
Expose530()
|
|
31142
31146
|
], NavisionUserRegistryDto.prototype, "User", 2);
|
|
31143
31147
|
__decorateClass([
|
|
31144
|
-
|
|
31148
|
+
IsOptional32(),
|
|
31145
31149
|
IsString412({ message: "debe ser texto" }),
|
|
31146
31150
|
Expose530()
|
|
31147
31151
|
], NavisionUserRegistryDto.prototype, "LastName", 2);
|
|
31148
31152
|
__decorateClass([
|
|
31149
|
-
|
|
31153
|
+
IsOptional32(),
|
|
31150
31154
|
IsString412({ message: "debe ser texto" }),
|
|
31151
31155
|
Expose530()
|
|
31152
31156
|
], NavisionUserRegistryDto.prototype, "Name", 2);
|
|
31153
31157
|
__decorateClass([
|
|
31154
|
-
|
|
31158
|
+
IsOptional32(),
|
|
31155
31159
|
IsString412({ message: "debe ser texto" }),
|
|
31156
31160
|
Expose530()
|
|
31157
31161
|
], NavisionUserRegistryDto.prototype, "Perfil", 2);
|
|
31158
31162
|
|
|
31159
31163
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-bitacora-file-dto.ts
|
|
31160
31164
|
import { Expose as Expose531, Type as Type364 } from "class-transformer";
|
|
31161
|
-
import { IsOptional as
|
|
31165
|
+
import { IsOptional as IsOptional33, IsString as IsString413, ValidateNested as ValidateNested331 } from "class-validator";
|
|
31162
31166
|
var NavisionBitacoraFileDto = class {
|
|
31163
31167
|
Action = "";
|
|
31164
31168
|
Date = new NavisionDateRegistryDto();
|
|
@@ -31166,24 +31170,24 @@ var NavisionBitacoraFileDto = class {
|
|
|
31166
31170
|
Description = "";
|
|
31167
31171
|
};
|
|
31168
31172
|
__decorateClass([
|
|
31169
|
-
|
|
31173
|
+
IsOptional33(),
|
|
31170
31174
|
IsString413({ message: "debe ser texto" }),
|
|
31171
31175
|
Expose531()
|
|
31172
31176
|
], NavisionBitacoraFileDto.prototype, "Action", 2);
|
|
31173
31177
|
__decorateClass([
|
|
31174
|
-
|
|
31178
|
+
IsOptional33(),
|
|
31175
31179
|
Type364(() => NavisionDateRegistryDto),
|
|
31176
31180
|
ValidateNested331(),
|
|
31177
31181
|
Expose531()
|
|
31178
31182
|
], NavisionBitacoraFileDto.prototype, "Date", 2);
|
|
31179
31183
|
__decorateClass([
|
|
31180
|
-
|
|
31184
|
+
IsOptional33(),
|
|
31181
31185
|
Type364(() => NavisionUserRegistryDto),
|
|
31182
31186
|
ValidateNested331(),
|
|
31183
31187
|
Expose531()
|
|
31184
31188
|
], NavisionBitacoraFileDto.prototype, "User", 2);
|
|
31185
31189
|
__decorateClass([
|
|
31186
|
-
|
|
31190
|
+
IsOptional33(),
|
|
31187
31191
|
IsString413({ message: "debe ser texto" }),
|
|
31188
31192
|
Expose531()
|
|
31189
31193
|
], NavisionBitacoraFileDto.prototype, "Description", 2);
|
|
@@ -31202,58 +31206,58 @@ var AlbaranDto = class {
|
|
|
31202
31206
|
Bitacora = [];
|
|
31203
31207
|
};
|
|
31204
31208
|
__decorateClass([
|
|
31205
|
-
|
|
31209
|
+
IsOptional34(),
|
|
31206
31210
|
IsString414({ message: "debe ser texto" }),
|
|
31207
31211
|
Expose532()
|
|
31208
31212
|
], AlbaranDto.prototype, "Code", 2);
|
|
31209
31213
|
__decorateClass([
|
|
31210
|
-
|
|
31214
|
+
IsOptional34(),
|
|
31211
31215
|
IsString414({ message: "debe ser texto" }),
|
|
31212
31216
|
Transform68(({ value }) => value?.toUpperCase().trim()),
|
|
31213
31217
|
Expose532()
|
|
31214
31218
|
], AlbaranDto.prototype, "Name", 2);
|
|
31215
31219
|
__decorateClass([
|
|
31216
|
-
|
|
31220
|
+
IsOptional34(),
|
|
31217
31221
|
IsString414({ message: "debe ser texto" }),
|
|
31218
31222
|
Expose532()
|
|
31219
31223
|
], AlbaranDto.prototype, "FileName", 2);
|
|
31220
31224
|
__decorateClass([
|
|
31221
|
-
|
|
31225
|
+
IsOptional34(),
|
|
31222
31226
|
IsString414({ message: "debe ser texto" }),
|
|
31223
31227
|
Transform68(({ value }) => value?.toUpperCase().trim()),
|
|
31224
31228
|
Expose532()
|
|
31225
31229
|
], AlbaranDto.prototype, "Extension", 2);
|
|
31226
31230
|
__decorateClass([
|
|
31227
|
-
|
|
31231
|
+
IsOptional34(),
|
|
31228
31232
|
IsString414({ message: "debe ser texto" }),
|
|
31229
31233
|
Expose532()
|
|
31230
31234
|
], AlbaranDto.prototype, "LoadName", 2);
|
|
31231
31235
|
__decorateClass([
|
|
31232
|
-
|
|
31236
|
+
IsOptional34(),
|
|
31233
31237
|
IsNumber359({}, { message: "debe ser un n\xFAmero" }),
|
|
31234
31238
|
Transform68(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
31235
31239
|
Expose532()
|
|
31236
31240
|
], AlbaranDto.prototype, "Status", 2);
|
|
31237
31241
|
__decorateClass([
|
|
31238
|
-
|
|
31242
|
+
IsOptional34(),
|
|
31239
31243
|
Type365(() => DetalleAlbaranDTO),
|
|
31240
31244
|
ValidateNested332(),
|
|
31241
31245
|
Expose532()
|
|
31242
31246
|
], AlbaranDto.prototype, "Detalle", 2);
|
|
31243
31247
|
__decorateClass([
|
|
31244
|
-
|
|
31248
|
+
IsOptional34(),
|
|
31245
31249
|
Type365(() => NavisionDateRegistryDto),
|
|
31246
31250
|
ValidateNested332(),
|
|
31247
31251
|
Expose532()
|
|
31248
31252
|
], AlbaranDto.prototype, "Dates", 2);
|
|
31249
31253
|
__decorateClass([
|
|
31250
|
-
|
|
31254
|
+
IsOptional34(),
|
|
31251
31255
|
Type365(() => NavisionUserRegistryDto),
|
|
31252
31256
|
ValidateNested332(),
|
|
31253
31257
|
Expose532()
|
|
31254
31258
|
], AlbaranDto.prototype, "Users", 2);
|
|
31255
31259
|
__decorateClass([
|
|
31256
|
-
|
|
31260
|
+
IsOptional34(),
|
|
31257
31261
|
IsArray199({ message: "debe ser un array" }),
|
|
31258
31262
|
Type365(() => NavisionBitacoraFileDto),
|
|
31259
31263
|
ValidateNested332({ each: true }),
|
|
@@ -31262,7 +31266,7 @@ __decorateClass([
|
|
|
31262
31266
|
|
|
31263
31267
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
31264
31268
|
import { Expose as Expose533, Type as Type366, Transform as Transform69 } from "class-transformer";
|
|
31265
|
-
import { IsDate as IsDate121, IsNumber as IsNumber360, IsOptional as
|
|
31269
|
+
import { IsDate as IsDate121, IsNumber as IsNumber360, IsOptional as IsOptional35, IsString as IsString415, Min as Min278 } from "class-validator";
|
|
31266
31270
|
var ClosedDto = class {
|
|
31267
31271
|
IdDate = 0;
|
|
31268
31272
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31274,53 +31278,53 @@ var ClosedDto = class {
|
|
|
31274
31278
|
FullName = "";
|
|
31275
31279
|
};
|
|
31276
31280
|
__decorateClass([
|
|
31277
|
-
|
|
31281
|
+
IsOptional35(),
|
|
31278
31282
|
IsNumber360({}, { message: "debe ser un n\xFAmero" }),
|
|
31279
31283
|
Min278(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31280
31284
|
Expose533()
|
|
31281
31285
|
], ClosedDto.prototype, "IdDate", 2);
|
|
31282
31286
|
__decorateClass([
|
|
31283
|
-
|
|
31287
|
+
IsOptional35(),
|
|
31284
31288
|
Transform69(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31285
31289
|
IsDate121({ message: "debe ser una fecha" }),
|
|
31286
31290
|
Type366(() => Date),
|
|
31287
31291
|
Expose533()
|
|
31288
31292
|
], ClosedDto.prototype, "Date", 2);
|
|
31289
31293
|
__decorateClass([
|
|
31290
|
-
|
|
31294
|
+
IsOptional35(),
|
|
31291
31295
|
IsNumber360({}, { message: "debe ser un n\xFAmero" }),
|
|
31292
31296
|
Type366(() => Number),
|
|
31293
31297
|
Expose533()
|
|
31294
31298
|
], ClosedDto.prototype, "IdUser", 2);
|
|
31295
31299
|
__decorateClass([
|
|
31296
|
-
|
|
31300
|
+
IsOptional35(),
|
|
31297
31301
|
IsString415({ message: "debe ser texto" }),
|
|
31298
31302
|
Expose533()
|
|
31299
31303
|
], ClosedDto.prototype, "User", 2);
|
|
31300
31304
|
__decorateClass([
|
|
31301
|
-
|
|
31305
|
+
IsOptional35(),
|
|
31302
31306
|
IsString415({ message: "debe ser texto" }),
|
|
31303
31307
|
Expose533()
|
|
31304
31308
|
], ClosedDto.prototype, "LastName", 2);
|
|
31305
31309
|
__decorateClass([
|
|
31306
|
-
|
|
31310
|
+
IsOptional35(),
|
|
31307
31311
|
IsString415({ message: "debe ser texto" }),
|
|
31308
31312
|
Expose533()
|
|
31309
31313
|
], ClosedDto.prototype, "Name", 2);
|
|
31310
31314
|
__decorateClass([
|
|
31311
|
-
|
|
31315
|
+
IsOptional35(),
|
|
31312
31316
|
IsString415({ message: "debe ser texto" }),
|
|
31313
31317
|
Expose533()
|
|
31314
31318
|
], ClosedDto.prototype, "Perfil", 2);
|
|
31315
31319
|
__decorateClass([
|
|
31316
|
-
|
|
31320
|
+
IsOptional35(),
|
|
31317
31321
|
IsString415({ message: "debe ser texto" }),
|
|
31318
31322
|
Expose533()
|
|
31319
31323
|
], ClosedDto.prototype, "FullName", 2);
|
|
31320
31324
|
|
|
31321
31325
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
31322
31326
|
import { Expose as Expose534, Type as Type367, Transform as Transform70 } from "class-transformer";
|
|
31323
|
-
import { IsDate as IsDate122, IsNumber as IsNumber361, IsOptional as
|
|
31327
|
+
import { IsDate as IsDate122, IsNumber as IsNumber361, IsOptional as IsOptional36, IsString as IsString416, Min as Min279 } from "class-validator";
|
|
31324
31328
|
var EmisionDto = class {
|
|
31325
31329
|
IdDate = 0;
|
|
31326
31330
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31332,46 +31336,46 @@ var EmisionDto = class {
|
|
|
31332
31336
|
FullName = "";
|
|
31333
31337
|
};
|
|
31334
31338
|
__decorateClass([
|
|
31335
|
-
|
|
31339
|
+
IsOptional36(),
|
|
31336
31340
|
IsNumber361({}, { message: "debe ser un n\xFAmero" }),
|
|
31337
31341
|
Min279(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31338
31342
|
Expose534()
|
|
31339
31343
|
], EmisionDto.prototype, "IdDate", 2);
|
|
31340
31344
|
__decorateClass([
|
|
31341
|
-
|
|
31345
|
+
IsOptional36(),
|
|
31342
31346
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31343
31347
|
IsDate122({ message: "debe ser una fecha" }),
|
|
31344
31348
|
Type367(() => Date),
|
|
31345
31349
|
Expose534()
|
|
31346
31350
|
], EmisionDto.prototype, "Date", 2);
|
|
31347
31351
|
__decorateClass([
|
|
31348
|
-
|
|
31352
|
+
IsOptional36(),
|
|
31349
31353
|
IsNumber361({}, { message: "debe ser un n\xFAmero" }),
|
|
31350
31354
|
Type367(() => Number),
|
|
31351
31355
|
Expose534()
|
|
31352
31356
|
], EmisionDto.prototype, "IdUser", 2);
|
|
31353
31357
|
__decorateClass([
|
|
31354
|
-
|
|
31358
|
+
IsOptional36(),
|
|
31355
31359
|
IsString416({ message: "debe ser texto" }),
|
|
31356
31360
|
Expose534()
|
|
31357
31361
|
], EmisionDto.prototype, "User", 2);
|
|
31358
31362
|
__decorateClass([
|
|
31359
|
-
|
|
31363
|
+
IsOptional36(),
|
|
31360
31364
|
IsString416({ message: "debe ser texto" }),
|
|
31361
31365
|
Expose534()
|
|
31362
31366
|
], EmisionDto.prototype, "LastName", 2);
|
|
31363
31367
|
__decorateClass([
|
|
31364
|
-
|
|
31368
|
+
IsOptional36(),
|
|
31365
31369
|
IsString416({ message: "debe ser texto" }),
|
|
31366
31370
|
Expose534()
|
|
31367
31371
|
], EmisionDto.prototype, "Name", 2);
|
|
31368
31372
|
__decorateClass([
|
|
31369
|
-
|
|
31373
|
+
IsOptional36(),
|
|
31370
31374
|
IsString416({ message: "debe ser texto" }),
|
|
31371
31375
|
Expose534()
|
|
31372
31376
|
], EmisionDto.prototype, "Perfil", 2);
|
|
31373
31377
|
__decorateClass([
|
|
31374
|
-
|
|
31378
|
+
IsOptional36(),
|
|
31375
31379
|
IsString416({ message: "debe ser texto" }),
|
|
31376
31380
|
Expose534()
|
|
31377
31381
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -31381,7 +31385,7 @@ import { Expose as Expose540 } from "class-transformer";
|
|
|
31381
31385
|
|
|
31382
31386
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
31383
31387
|
import { Expose as Expose535, Type as Type368, Transform as Transform71 } from "class-transformer";
|
|
31384
|
-
import { IsDate as IsDate123, IsNumber as IsNumber362, IsOptional as
|
|
31388
|
+
import { IsDate as IsDate123, IsNumber as IsNumber362, IsOptional as IsOptional37, IsString as IsString417, Min as Min280 } from "class-validator";
|
|
31385
31389
|
var FacturaDto = class {
|
|
31386
31390
|
IdDate = 0;
|
|
31387
31391
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31393,46 +31397,46 @@ var FacturaDto = class {
|
|
|
31393
31397
|
FullName = "";
|
|
31394
31398
|
};
|
|
31395
31399
|
__decorateClass([
|
|
31396
|
-
|
|
31400
|
+
IsOptional37(),
|
|
31397
31401
|
IsNumber362({}, { message: "debe ser un n\xFAmero" }),
|
|
31398
31402
|
Min280(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31399
31403
|
Expose535()
|
|
31400
31404
|
], FacturaDto.prototype, "IdDate", 2);
|
|
31401
31405
|
__decorateClass([
|
|
31402
|
-
|
|
31406
|
+
IsOptional37(),
|
|
31403
31407
|
Transform71(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31404
31408
|
IsDate123({ message: "debe ser una fecha" }),
|
|
31405
31409
|
Type368(() => Date),
|
|
31406
31410
|
Expose535()
|
|
31407
31411
|
], FacturaDto.prototype, "Date", 2);
|
|
31408
31412
|
__decorateClass([
|
|
31409
|
-
|
|
31413
|
+
IsOptional37(),
|
|
31410
31414
|
IsNumber362({}, { message: "debe ser un n\xFAmero" }),
|
|
31411
31415
|
Type368(() => Number),
|
|
31412
31416
|
Expose535()
|
|
31413
31417
|
], FacturaDto.prototype, "IdUser", 2);
|
|
31414
31418
|
__decorateClass([
|
|
31415
|
-
|
|
31419
|
+
IsOptional37(),
|
|
31416
31420
|
IsString417({ message: "debe ser texto" }),
|
|
31417
31421
|
Expose535()
|
|
31418
31422
|
], FacturaDto.prototype, "User", 2);
|
|
31419
31423
|
__decorateClass([
|
|
31420
|
-
|
|
31424
|
+
IsOptional37(),
|
|
31421
31425
|
IsString417({ message: "debe ser texto" }),
|
|
31422
31426
|
Expose535()
|
|
31423
31427
|
], FacturaDto.prototype, "LastName", 2);
|
|
31424
31428
|
__decorateClass([
|
|
31425
|
-
|
|
31429
|
+
IsOptional37(),
|
|
31426
31430
|
IsString417({ message: "debe ser texto" }),
|
|
31427
31431
|
Expose535()
|
|
31428
31432
|
], FacturaDto.prototype, "Name", 2);
|
|
31429
31433
|
__decorateClass([
|
|
31430
|
-
|
|
31434
|
+
IsOptional37(),
|
|
31431
31435
|
IsString417({ message: "debe ser texto" }),
|
|
31432
31436
|
Expose535()
|
|
31433
31437
|
], FacturaDto.prototype, "Perfil", 2);
|
|
31434
31438
|
__decorateClass([
|
|
31435
|
-
|
|
31439
|
+
IsOptional37(),
|
|
31436
31440
|
IsString417({ message: "debe ser texto" }),
|
|
31437
31441
|
Expose535()
|
|
31438
31442
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -31442,7 +31446,7 @@ import { ValidateNested as ValidateNested333 } from "class-validator";
|
|
|
31442
31446
|
|
|
31443
31447
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
31444
31448
|
import { Expose as Expose536, Type as Type369, Transform as Transform72 } from "class-transformer";
|
|
31445
|
-
import { IsDate as IsDate124, IsNumber as IsNumber363, IsOptional as
|
|
31449
|
+
import { IsDate as IsDate124, IsNumber as IsNumber363, IsOptional as IsOptional38, IsString as IsString418, Min as Min281 } from "class-validator";
|
|
31446
31450
|
var OrdenDto = class {
|
|
31447
31451
|
IdDate = 0;
|
|
31448
31452
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31454,53 +31458,53 @@ var OrdenDto = class {
|
|
|
31454
31458
|
FullName = "";
|
|
31455
31459
|
};
|
|
31456
31460
|
__decorateClass([
|
|
31457
|
-
|
|
31461
|
+
IsOptional38(),
|
|
31458
31462
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31459
31463
|
Min281(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31460
31464
|
Expose536()
|
|
31461
31465
|
], OrdenDto.prototype, "IdDate", 2);
|
|
31462
31466
|
__decorateClass([
|
|
31463
|
-
|
|
31467
|
+
IsOptional38(),
|
|
31464
31468
|
Transform72(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31465
31469
|
IsDate124({ message: "debe ser una fecha" }),
|
|
31466
31470
|
Type369(() => Date),
|
|
31467
31471
|
Expose536()
|
|
31468
31472
|
], OrdenDto.prototype, "Date", 2);
|
|
31469
31473
|
__decorateClass([
|
|
31470
|
-
|
|
31474
|
+
IsOptional38(),
|
|
31471
31475
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31472
31476
|
Type369(() => Number),
|
|
31473
31477
|
Expose536()
|
|
31474
31478
|
], OrdenDto.prototype, "IdUser", 2);
|
|
31475
31479
|
__decorateClass([
|
|
31476
|
-
|
|
31480
|
+
IsOptional38(),
|
|
31477
31481
|
IsString418({ message: "debe ser texto" }),
|
|
31478
31482
|
Expose536()
|
|
31479
31483
|
], OrdenDto.prototype, "User", 2);
|
|
31480
31484
|
__decorateClass([
|
|
31481
|
-
|
|
31485
|
+
IsOptional38(),
|
|
31482
31486
|
IsString418({ message: "debe ser texto" }),
|
|
31483
31487
|
Expose536()
|
|
31484
31488
|
], OrdenDto.prototype, "LastName", 2);
|
|
31485
31489
|
__decorateClass([
|
|
31486
|
-
|
|
31490
|
+
IsOptional38(),
|
|
31487
31491
|
IsString418({ message: "debe ser texto" }),
|
|
31488
31492
|
Expose536()
|
|
31489
31493
|
], OrdenDto.prototype, "Name", 2);
|
|
31490
31494
|
__decorateClass([
|
|
31491
|
-
|
|
31495
|
+
IsOptional38(),
|
|
31492
31496
|
IsString418({ message: "debe ser texto" }),
|
|
31493
31497
|
Expose536()
|
|
31494
31498
|
], OrdenDto.prototype, "Perfil", 2);
|
|
31495
31499
|
__decorateClass([
|
|
31496
|
-
|
|
31500
|
+
IsOptional38(),
|
|
31497
31501
|
IsString418({ message: "debe ser texto" }),
|
|
31498
31502
|
Expose536()
|
|
31499
31503
|
], OrdenDto.prototype, "FullName", 2);
|
|
31500
31504
|
|
|
31501
31505
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
31502
31506
|
import { Expose as Expose537, Type as Type370, Transform as Transform73 } from "class-transformer";
|
|
31503
|
-
import { IsDate as IsDate125, IsNumber as IsNumber364, IsOptional as
|
|
31507
|
+
import { IsDate as IsDate125, IsNumber as IsNumber364, IsOptional as IsOptional39, IsString as IsString419, Min as Min282 } from "class-validator";
|
|
31504
31508
|
var PreAcceptedDto = class {
|
|
31505
31509
|
IdDate = 0;
|
|
31506
31510
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31512,53 +31516,53 @@ var PreAcceptedDto = class {
|
|
|
31512
31516
|
FullName = "";
|
|
31513
31517
|
};
|
|
31514
31518
|
__decorateClass([
|
|
31515
|
-
|
|
31519
|
+
IsOptional39(),
|
|
31516
31520
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31517
31521
|
Min282(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31518
31522
|
Expose537()
|
|
31519
31523
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
31520
31524
|
__decorateClass([
|
|
31521
|
-
|
|
31525
|
+
IsOptional39(),
|
|
31522
31526
|
Transform73(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31523
31527
|
IsDate125({ message: "debe ser una fecha" }),
|
|
31524
31528
|
Type370(() => Date),
|
|
31525
31529
|
Expose537()
|
|
31526
31530
|
], PreAcceptedDto.prototype, "Date", 2);
|
|
31527
31531
|
__decorateClass([
|
|
31528
|
-
|
|
31532
|
+
IsOptional39(),
|
|
31529
31533
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31530
31534
|
Type370(() => Number),
|
|
31531
31535
|
Expose537()
|
|
31532
31536
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
31533
31537
|
__decorateClass([
|
|
31534
|
-
|
|
31538
|
+
IsOptional39(),
|
|
31535
31539
|
IsString419({ message: "debe ser texto" }),
|
|
31536
31540
|
Expose537()
|
|
31537
31541
|
], PreAcceptedDto.prototype, "User", 2);
|
|
31538
31542
|
__decorateClass([
|
|
31539
|
-
|
|
31543
|
+
IsOptional39(),
|
|
31540
31544
|
IsString419({ message: "debe ser texto" }),
|
|
31541
31545
|
Expose537()
|
|
31542
31546
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
31543
31547
|
__decorateClass([
|
|
31544
|
-
|
|
31548
|
+
IsOptional39(),
|
|
31545
31549
|
IsString419({ message: "debe ser texto" }),
|
|
31546
31550
|
Expose537()
|
|
31547
31551
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
31548
31552
|
__decorateClass([
|
|
31549
|
-
|
|
31553
|
+
IsOptional39(),
|
|
31550
31554
|
IsString419({ message: "debe ser texto" }),
|
|
31551
31555
|
Expose537()
|
|
31552
31556
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
31553
31557
|
__decorateClass([
|
|
31554
|
-
|
|
31558
|
+
IsOptional39(),
|
|
31555
31559
|
IsString419({ message: "debe ser texto" }),
|
|
31556
31560
|
Expose537()
|
|
31557
31561
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
31558
31562
|
|
|
31559
31563
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
31560
31564
|
import { Expose as Expose538, Type as Type371, Transform as Transform74 } from "class-transformer";
|
|
31561
|
-
import { IsDate as IsDate126, IsNumber as IsNumber365, IsOptional as
|
|
31565
|
+
import { IsDate as IsDate126, IsNumber as IsNumber365, IsOptional as IsOptional40, IsString as IsString420, Min as Min283 } from "class-validator";
|
|
31562
31566
|
var RegistryDto = class {
|
|
31563
31567
|
IdDate = 0;
|
|
31564
31568
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31570,46 +31574,46 @@ var RegistryDto = class {
|
|
|
31570
31574
|
FullName = "";
|
|
31571
31575
|
};
|
|
31572
31576
|
__decorateClass([
|
|
31573
|
-
|
|
31577
|
+
IsOptional40(),
|
|
31574
31578
|
IsNumber365({}, { message: "debe ser un n\xFAmero" }),
|
|
31575
31579
|
Min283(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31576
31580
|
Expose538()
|
|
31577
31581
|
], RegistryDto.prototype, "IdDate", 2);
|
|
31578
31582
|
__decorateClass([
|
|
31579
|
-
|
|
31583
|
+
IsOptional40(),
|
|
31580
31584
|
Transform74(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31581
31585
|
IsDate126({ message: "debe ser una fecha" }),
|
|
31582
31586
|
Type371(() => Date),
|
|
31583
31587
|
Expose538()
|
|
31584
31588
|
], RegistryDto.prototype, "Date", 2);
|
|
31585
31589
|
__decorateClass([
|
|
31586
|
-
|
|
31590
|
+
IsOptional40(),
|
|
31587
31591
|
IsNumber365({}, { message: "debe ser un n\xFAmero" }),
|
|
31588
31592
|
Type371(() => Number),
|
|
31589
31593
|
Expose538()
|
|
31590
31594
|
], RegistryDto.prototype, "IdUser", 2);
|
|
31591
31595
|
__decorateClass([
|
|
31592
|
-
|
|
31596
|
+
IsOptional40(),
|
|
31593
31597
|
IsString420({ message: "debe ser texto" }),
|
|
31594
31598
|
Expose538()
|
|
31595
31599
|
], RegistryDto.prototype, "User", 2);
|
|
31596
31600
|
__decorateClass([
|
|
31597
|
-
|
|
31601
|
+
IsOptional40(),
|
|
31598
31602
|
IsString420({ message: "debe ser texto" }),
|
|
31599
31603
|
Expose538()
|
|
31600
31604
|
], RegistryDto.prototype, "LastName", 2);
|
|
31601
31605
|
__decorateClass([
|
|
31602
|
-
|
|
31606
|
+
IsOptional40(),
|
|
31603
31607
|
IsString420({ message: "debe ser texto" }),
|
|
31604
31608
|
Expose538()
|
|
31605
31609
|
], RegistryDto.prototype, "Name", 2);
|
|
31606
31610
|
__decorateClass([
|
|
31607
|
-
|
|
31611
|
+
IsOptional40(),
|
|
31608
31612
|
IsString420({ message: "debe ser texto" }),
|
|
31609
31613
|
Expose538()
|
|
31610
31614
|
], RegistryDto.prototype, "Perfil", 2);
|
|
31611
31615
|
__decorateClass([
|
|
31612
|
-
|
|
31616
|
+
IsOptional40(),
|
|
31613
31617
|
IsString420({ message: "debe ser texto" }),
|
|
31614
31618
|
Expose538()
|
|
31615
31619
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -31619,7 +31623,7 @@ import { Type as Type373 } from "class-transformer";
|
|
|
31619
31623
|
|
|
31620
31624
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
31621
31625
|
import { Expose as Expose539, Type as Type372, Transform as Transform75 } from "class-transformer";
|
|
31622
|
-
import { IsDate as IsDate127, IsNumber as IsNumber366, IsOptional as
|
|
31626
|
+
import { IsDate as IsDate127, IsNumber as IsNumber366, IsOptional as IsOptional41, IsString as IsString421, Min as Min284 } from "class-validator";
|
|
31623
31627
|
var UpdateDto = class {
|
|
31624
31628
|
IdDate = 0;
|
|
31625
31629
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31631,46 +31635,46 @@ var UpdateDto = class {
|
|
|
31631
31635
|
FullName = "";
|
|
31632
31636
|
};
|
|
31633
31637
|
__decorateClass([
|
|
31634
|
-
|
|
31638
|
+
IsOptional41(),
|
|
31635
31639
|
IsNumber366({}, { message: "debe ser un n\xFAmero" }),
|
|
31636
31640
|
Min284(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31637
31641
|
Expose539()
|
|
31638
31642
|
], UpdateDto.prototype, "IdDate", 2);
|
|
31639
31643
|
__decorateClass([
|
|
31640
|
-
|
|
31644
|
+
IsOptional41(),
|
|
31641
31645
|
Transform75(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31642
31646
|
IsDate127({ message: "debe ser una fecha" }),
|
|
31643
31647
|
Type372(() => Date),
|
|
31644
31648
|
Expose539()
|
|
31645
31649
|
], UpdateDto.prototype, "Date", 2);
|
|
31646
31650
|
__decorateClass([
|
|
31647
|
-
|
|
31651
|
+
IsOptional41(),
|
|
31648
31652
|
IsNumber366({}, { message: "debe ser un n\xFAmero" }),
|
|
31649
31653
|
Type372(() => Number),
|
|
31650
31654
|
Expose539()
|
|
31651
31655
|
], UpdateDto.prototype, "IdUser", 2);
|
|
31652
31656
|
__decorateClass([
|
|
31653
|
-
|
|
31657
|
+
IsOptional41(),
|
|
31654
31658
|
IsString421({ message: "debe ser texto" }),
|
|
31655
31659
|
Expose539()
|
|
31656
31660
|
], UpdateDto.prototype, "User", 2);
|
|
31657
31661
|
__decorateClass([
|
|
31658
|
-
|
|
31662
|
+
IsOptional41(),
|
|
31659
31663
|
IsString421({ message: "debe ser texto" }),
|
|
31660
31664
|
Expose539()
|
|
31661
31665
|
], UpdateDto.prototype, "LastName", 2);
|
|
31662
31666
|
__decorateClass([
|
|
31663
|
-
|
|
31667
|
+
IsOptional41(),
|
|
31664
31668
|
IsString421({ message: "debe ser texto" }),
|
|
31665
31669
|
Expose539()
|
|
31666
31670
|
], UpdateDto.prototype, "Name", 2);
|
|
31667
31671
|
__decorateClass([
|
|
31668
|
-
|
|
31672
|
+
IsOptional41(),
|
|
31669
31673
|
IsString421({ message: "debe ser texto" }),
|
|
31670
31674
|
Expose539()
|
|
31671
31675
|
], UpdateDto.prototype, "Perfil", 2);
|
|
31672
31676
|
__decorateClass([
|
|
31673
|
-
|
|
31677
|
+
IsOptional41(),
|
|
31674
31678
|
IsString421({ message: "debe ser texto" }),
|
|
31675
31679
|
Expose539()
|
|
31676
31680
|
], UpdateDto.prototype, "FullName", 2);
|
|
@@ -32090,7 +32094,7 @@ __decorateClass([
|
|
|
32090
32094
|
|
|
32091
32095
|
// src/logistica/procesos/navisionpreorden/shared/dto/almacen-dto.ts
|
|
32092
32096
|
import { Expose as Expose553 } from "class-transformer";
|
|
32093
|
-
import { IsNumber as IsNumber369, IsOptional as
|
|
32097
|
+
import { IsNumber as IsNumber369, IsOptional as IsOptional43, IsString as IsString433 } from "class-validator";
|
|
32094
32098
|
var AlmacenDto = class {
|
|
32095
32099
|
Codigo = "";
|
|
32096
32100
|
Almacen = "";
|
|
@@ -32102,17 +32106,17 @@ __decorateClass([
|
|
|
32102
32106
|
Expose553()
|
|
32103
32107
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
32104
32108
|
__decorateClass([
|
|
32105
|
-
|
|
32109
|
+
IsOptional43(),
|
|
32106
32110
|
IsString433({ message: "debe ser texto" }),
|
|
32107
32111
|
Expose553()
|
|
32108
32112
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
32109
32113
|
__decorateClass([
|
|
32110
|
-
|
|
32114
|
+
IsOptional43(),
|
|
32111
32115
|
IsString433({ message: "debe ser texto" }),
|
|
32112
32116
|
Expose553()
|
|
32113
32117
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
32114
32118
|
__decorateClass([
|
|
32115
|
-
|
|
32119
|
+
IsOptional43(),
|
|
32116
32120
|
IsNumber369({}, { message: "debe ser un n\xFAmero" }),
|
|
32117
32121
|
Expose553()
|
|
32118
32122
|
], AlmacenDto.prototype, "ID_Almacen", 2);
|
|
@@ -32394,7 +32398,7 @@ __decorateClass([
|
|
|
32394
32398
|
|
|
32395
32399
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
32396
32400
|
import { Expose as Expose581, Type as Type387 } from "class-transformer";
|
|
32397
|
-
import { IsOptional as
|
|
32401
|
+
import { IsOptional as IsOptional50, ValidateNested as ValidateNested346 } from "class-validator";
|
|
32398
32402
|
|
|
32399
32403
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
32400
32404
|
import { Expose as Expose564 } from "class-transformer";
|
|
@@ -32444,33 +32448,33 @@ __decorateClass([
|
|
|
32444
32448
|
|
|
32445
32449
|
// src/logistica/procesos/navisionpreorden/shared/dto/equipo-serie-dto.ts
|
|
32446
32450
|
import { Expose as Expose568, Type as Type382 } from "class-transformer";
|
|
32447
|
-
import { IsOptional as
|
|
32451
|
+
import { IsOptional as IsOptional48, IsString as IsString447, IsNumber as IsNumber377, IsNotEmpty as IsNotEmpty369, ValidateNested as ValidateNested342 } from "class-validator";
|
|
32448
32452
|
|
|
32449
32453
|
// src/logistica/procesos/navisionpreorden/shared/dto/estado-serie-dto.ts
|
|
32450
32454
|
import { Expose as Expose565 } from "class-transformer";
|
|
32451
|
-
import { IsOptional as
|
|
32455
|
+
import { IsOptional as IsOptional45, IsString as IsString444, IsNumber as IsNumber375 } from "class-validator";
|
|
32452
32456
|
var EstadoSerieDto = class {
|
|
32453
32457
|
ID_Estado = 0;
|
|
32454
32458
|
Nombre = "";
|
|
32455
32459
|
};
|
|
32456
32460
|
__decorateClass([
|
|
32457
|
-
|
|
32461
|
+
IsOptional45(),
|
|
32458
32462
|
IsNumber375({}, { message: "debe ser un n\xFAmero" }),
|
|
32459
32463
|
Expose565()
|
|
32460
32464
|
], EstadoSerieDto.prototype, "ID_Estado", 2);
|
|
32461
32465
|
__decorateClass([
|
|
32462
|
-
|
|
32466
|
+
IsOptional45(),
|
|
32463
32467
|
IsString444({ message: "debe ser texto" }),
|
|
32464
32468
|
Expose565()
|
|
32465
32469
|
], EstadoSerieDto.prototype, "Nombre", 2);
|
|
32466
32470
|
|
|
32467
32471
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-serie-dto.ts
|
|
32468
32472
|
import { Expose as Expose567, Type as Type381 } from "class-transformer";
|
|
32469
|
-
import { IsOptional as
|
|
32473
|
+
import { IsOptional as IsOptional47, ValidateNested as ValidateNested341, IsDate as IsDate128 } from "class-validator";
|
|
32470
32474
|
|
|
32471
32475
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-usuario-serie-dto.ts
|
|
32472
32476
|
import { Expose as Expose566 } from "class-transformer";
|
|
32473
|
-
import { IsOptional as
|
|
32477
|
+
import { IsOptional as IsOptional46, IsString as IsString445, IsNumber as IsNumber376 } from "class-validator";
|
|
32474
32478
|
var ValidadoUsuarioSerieDto = class {
|
|
32475
32479
|
ID_Usuario = 0;
|
|
32476
32480
|
NumeroDocumentoIdentidad = "";
|
|
@@ -32479,27 +32483,27 @@ var ValidadoUsuarioSerieDto = class {
|
|
|
32479
32483
|
Nombres = "";
|
|
32480
32484
|
};
|
|
32481
32485
|
__decorateClass([
|
|
32482
|
-
|
|
32486
|
+
IsOptional46(),
|
|
32483
32487
|
IsNumber376({}, { message: "debe ser un n\xFAmero" }),
|
|
32484
32488
|
Expose566()
|
|
32485
32489
|
], ValidadoUsuarioSerieDto.prototype, "ID_Usuario", 2);
|
|
32486
32490
|
__decorateClass([
|
|
32487
|
-
|
|
32491
|
+
IsOptional46(),
|
|
32488
32492
|
IsString445({ message: "debe ser texto" }),
|
|
32489
32493
|
Expose566()
|
|
32490
32494
|
], ValidadoUsuarioSerieDto.prototype, "NumeroDocumentoIdentidad", 2);
|
|
32491
32495
|
__decorateClass([
|
|
32492
|
-
|
|
32496
|
+
IsOptional46(),
|
|
32493
32497
|
IsString445({ message: "debe ser texto" }),
|
|
32494
32498
|
Expose566()
|
|
32495
32499
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoPaterno", 2);
|
|
32496
32500
|
__decorateClass([
|
|
32497
|
-
|
|
32501
|
+
IsOptional46(),
|
|
32498
32502
|
IsString445({ message: "debe ser texto" }),
|
|
32499
32503
|
Expose566()
|
|
32500
32504
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoMaterno", 2);
|
|
32501
32505
|
__decorateClass([
|
|
32502
|
-
|
|
32506
|
+
IsOptional46(),
|
|
32503
32507
|
IsString445({ message: "debe ser texto" }),
|
|
32504
32508
|
Expose566()
|
|
32505
32509
|
], ValidadoUsuarioSerieDto.prototype, "Nombres", 2);
|
|
@@ -32510,13 +32514,13 @@ var ValidadoSerieDto = class {
|
|
|
32510
32514
|
Usuario = new ValidadoUsuarioSerieDto();
|
|
32511
32515
|
};
|
|
32512
32516
|
__decorateClass([
|
|
32513
|
-
|
|
32517
|
+
IsOptional47(),
|
|
32514
32518
|
IsDate128({ message: "debe ser una fecha" }),
|
|
32515
32519
|
Type381(() => Date),
|
|
32516
32520
|
Expose567()
|
|
32517
32521
|
], ValidadoSerieDto.prototype, "Fecha", 2);
|
|
32518
32522
|
__decorateClass([
|
|
32519
|
-
|
|
32523
|
+
IsOptional47(),
|
|
32520
32524
|
ValidateNested341(),
|
|
32521
32525
|
Type381(() => ValidadoUsuarioSerieDto),
|
|
32522
32526
|
Expose567()
|
|
@@ -32537,7 +32541,7 @@ var EquipoSerieDto = class {
|
|
|
32537
32541
|
Estado;
|
|
32538
32542
|
};
|
|
32539
32543
|
__decorateClass([
|
|
32540
|
-
|
|
32544
|
+
IsOptional48(),
|
|
32541
32545
|
IsNumber377({}, { message: "debe ser un n\xFAmero" }),
|
|
32542
32546
|
Expose568()
|
|
32543
32547
|
], EquipoSerieDto.prototype, "Posicion", 2);
|
|
@@ -32547,17 +32551,17 @@ __decorateClass([
|
|
|
32547
32551
|
Expose568()
|
|
32548
32552
|
], EquipoSerieDto.prototype, "Collection", 2);
|
|
32549
32553
|
__decorateClass([
|
|
32550
|
-
|
|
32554
|
+
IsOptional48(),
|
|
32551
32555
|
IsString447({ message: "debe ser texto" }),
|
|
32552
32556
|
Expose568()
|
|
32553
32557
|
], EquipoSerieDto.prototype, "NroDocumento", 2);
|
|
32554
32558
|
__decorateClass([
|
|
32555
|
-
|
|
32559
|
+
IsOptional48(),
|
|
32556
32560
|
IsString447({ message: "debe ser texto" }),
|
|
32557
32561
|
Expose568()
|
|
32558
32562
|
], EquipoSerieDto.prototype, "Orden", 2);
|
|
32559
32563
|
__decorateClass([
|
|
32560
|
-
|
|
32564
|
+
IsOptional48(),
|
|
32561
32565
|
IsString447({ message: "debe ser texto" }),
|
|
32562
32566
|
Expose568()
|
|
32563
32567
|
], EquipoSerieDto.prototype, "NroContable", 2);
|
|
@@ -32567,28 +32571,28 @@ __decorateClass([
|
|
|
32567
32571
|
Expose568()
|
|
32568
32572
|
], EquipoSerieDto.prototype, "Serie", 2);
|
|
32569
32573
|
__decorateClass([
|
|
32570
|
-
|
|
32574
|
+
IsOptional48(),
|
|
32571
32575
|
IsString447({ message: "debe ser texto" }),
|
|
32572
32576
|
Expose568()
|
|
32573
32577
|
], EquipoSerieDto.prototype, "MAC", 2);
|
|
32574
32578
|
__decorateClass([
|
|
32575
|
-
|
|
32579
|
+
IsOptional48(),
|
|
32576
32580
|
IsString447({ message: "debe ser texto" }),
|
|
32577
32581
|
Expose568()
|
|
32578
32582
|
], EquipoSerieDto.prototype, "Marca", 2);
|
|
32579
32583
|
__decorateClass([
|
|
32580
|
-
|
|
32584
|
+
IsOptional48(),
|
|
32581
32585
|
IsString447({ message: "debe ser texto" }),
|
|
32582
32586
|
Expose568()
|
|
32583
32587
|
], EquipoSerieDto.prototype, "Modelo", 2);
|
|
32584
32588
|
__decorateClass([
|
|
32585
|
-
|
|
32589
|
+
IsOptional48(),
|
|
32586
32590
|
ValidateNested342(),
|
|
32587
32591
|
Type382(() => ValidadoSerieDto),
|
|
32588
32592
|
Expose568()
|
|
32589
32593
|
], EquipoSerieDto.prototype, "Validado", 2);
|
|
32590
32594
|
__decorateClass([
|
|
32591
|
-
|
|
32595
|
+
IsOptional48(),
|
|
32592
32596
|
ValidateNested342(),
|
|
32593
32597
|
Type382(() => EstadoSerieDto),
|
|
32594
32598
|
Expose568()
|
|
@@ -32621,7 +32625,7 @@ __decorateClass([
|
|
|
32621
32625
|
], FechaEntregaDto.prototype, "Date", 2);
|
|
32622
32626
|
|
|
32623
32627
|
// src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
|
|
32624
|
-
import { IsArray as IsArray200, IsBoolean as IsBoolean55, IsNumber as IsNumber380, IsOptional as
|
|
32628
|
+
import { IsArray as IsArray200, IsBoolean as IsBoolean55, IsNumber as IsNumber380, IsOptional as IsOptional49, IsString as IsString455, ValidateNested as ValidateNested343 } from "class-validator";
|
|
32625
32629
|
|
|
32626
32630
|
// src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
|
|
32627
32631
|
import { Expose as Expose570 } from "class-transformer";
|
|
@@ -32829,12 +32833,12 @@ __decorateClass([
|
|
|
32829
32833
|
Expose576()
|
|
32830
32834
|
], ProductoDto.prototype, "IGV", 2);
|
|
32831
32835
|
__decorateClass([
|
|
32832
|
-
|
|
32836
|
+
IsOptional49(),
|
|
32833
32837
|
IsBoolean55({ message: "debe ser true o false" }),
|
|
32834
32838
|
Expose576()
|
|
32835
32839
|
], ProductoDto.prototype, "esFraccion", 2);
|
|
32836
32840
|
__decorateClass([
|
|
32837
|
-
|
|
32841
|
+
IsOptional49(),
|
|
32838
32842
|
IsNumber380({}, { message: "debe ser un n\xFAmero" }),
|
|
32839
32843
|
Expose576()
|
|
32840
32844
|
], ProductoDto.prototype, "CantidadComparativo", 2);
|
|
@@ -32859,19 +32863,19 @@ __decorateClass([
|
|
|
32859
32863
|
Expose576()
|
|
32860
32864
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
32861
32865
|
__decorateClass([
|
|
32862
|
-
|
|
32866
|
+
IsOptional49(),
|
|
32863
32867
|
IsArray200({ message: "debe ser un array" }),
|
|
32864
32868
|
Type384(() => RecepcionDto),
|
|
32865
32869
|
ValidateNested343({ each: true }),
|
|
32866
32870
|
Expose576()
|
|
32867
32871
|
], ProductoDto.prototype, "Recepcion", 2);
|
|
32868
32872
|
__decorateClass([
|
|
32869
|
-
|
|
32873
|
+
IsOptional49(),
|
|
32870
32874
|
IsString455({ message: "debe ser texto" }),
|
|
32871
32875
|
Expose576()
|
|
32872
32876
|
], ProductoDto.prototype, "Ind_SB", 2);
|
|
32873
32877
|
__decorateClass([
|
|
32874
|
-
|
|
32878
|
+
IsOptional49(),
|
|
32875
32879
|
IsArray200({ message: "debe ser un array" }),
|
|
32876
32880
|
Type384(() => EquipoSerieDto),
|
|
32877
32881
|
ValidateNested343({ each: true }),
|
|
@@ -33020,7 +33024,7 @@ var DetalleProductoDto = class {
|
|
|
33020
33024
|
Producto = new ProductoDto();
|
|
33021
33025
|
};
|
|
33022
33026
|
__decorateClass([
|
|
33023
|
-
|
|
33027
|
+
IsOptional50(),
|
|
33024
33028
|
Type387(() => RequerimientoDto),
|
|
33025
33029
|
ValidateNested346(),
|
|
33026
33030
|
Expose581()
|
|
@@ -33127,7 +33131,7 @@ __decorateClass([
|
|
|
33127
33131
|
], IconoDto.prototype, "Status", 2);
|
|
33128
33132
|
|
|
33129
33133
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
33130
|
-
import { IsBoolean as IsBoolean57, ValidateNested as ValidateNested349, IsOptional as
|
|
33134
|
+
import { IsBoolean as IsBoolean57, ValidateNested as ValidateNested349, IsOptional as IsOptional52, IsNumber as IsNumber385, IsString as IsString467 } from "class-validator";
|
|
33131
33135
|
|
|
33132
33136
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
33133
33137
|
import { Expose as Expose586 } from "class-transformer";
|
|
@@ -33169,7 +33173,7 @@ __decorateClass([
|
|
|
33169
33173
|
|
|
33170
33174
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
33171
33175
|
import { Expose as Expose588 } from "class-transformer";
|
|
33172
|
-
import { IsNumber as IsNumber384, IsOptional as
|
|
33176
|
+
import { IsNumber as IsNumber384, IsOptional as IsOptional51, IsString as IsString466, Min as Min291 } from "class-validator";
|
|
33173
33177
|
var SolicitudDto = class {
|
|
33174
33178
|
IdStatus = 0;
|
|
33175
33179
|
Status = "";
|
|
@@ -33180,7 +33184,7 @@ __decorateClass([
|
|
|
33180
33184
|
Expose588()
|
|
33181
33185
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
33182
33186
|
__decorateClass([
|
|
33183
|
-
|
|
33187
|
+
IsOptional51(),
|
|
33184
33188
|
IsString466({ message: "debe ser texto" }),
|
|
33185
33189
|
Expose588()
|
|
33186
33190
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -33200,56 +33204,56 @@ var StatuDto = class {
|
|
|
33200
33204
|
Status = "";
|
|
33201
33205
|
};
|
|
33202
33206
|
__decorateClass([
|
|
33203
|
-
|
|
33207
|
+
IsOptional52(),
|
|
33204
33208
|
Type390(() => NavDto),
|
|
33205
33209
|
ValidateNested349(),
|
|
33206
33210
|
Expose589()
|
|
33207
33211
|
], StatuDto.prototype, "Nav", 2);
|
|
33208
33212
|
__decorateClass([
|
|
33209
|
-
|
|
33213
|
+
IsOptional52(),
|
|
33210
33214
|
Type390(() => SolicitudDto),
|
|
33211
33215
|
ValidateNested349(),
|
|
33212
33216
|
Expose589()
|
|
33213
33217
|
], StatuDto.prototype, "Solicitud", 2);
|
|
33214
33218
|
__decorateClass([
|
|
33215
|
-
|
|
33219
|
+
IsOptional52(),
|
|
33216
33220
|
Type390(() => IconoDto),
|
|
33217
33221
|
ValidateNested349(),
|
|
33218
33222
|
Expose589()
|
|
33219
33223
|
], StatuDto.prototype, "Icono", 2);
|
|
33220
33224
|
__decorateClass([
|
|
33221
|
-
|
|
33225
|
+
IsOptional52(),
|
|
33222
33226
|
IsBoolean57({ message: "debe ser true o false" }),
|
|
33223
33227
|
Expose589()
|
|
33224
33228
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
33225
33229
|
__decorateClass([
|
|
33226
|
-
|
|
33230
|
+
IsOptional52(),
|
|
33227
33231
|
IsBoolean57({ message: "debe ser true o false" }),
|
|
33228
33232
|
Expose589()
|
|
33229
33233
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
33230
33234
|
__decorateClass([
|
|
33231
|
-
|
|
33235
|
+
IsOptional52(),
|
|
33232
33236
|
IsBoolean57({ message: "debe ser true o false" }),
|
|
33233
33237
|
Expose589()
|
|
33234
33238
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
33235
33239
|
__decorateClass([
|
|
33236
|
-
|
|
33240
|
+
IsOptional52(),
|
|
33237
33241
|
IsBoolean57({ message: "debe ser true o false" }),
|
|
33238
33242
|
Expose589()
|
|
33239
33243
|
], StatuDto.prototype, "PreOrden", 2);
|
|
33240
33244
|
__decorateClass([
|
|
33241
|
-
|
|
33245
|
+
IsOptional52(),
|
|
33242
33246
|
Type390(() => ProcedenciaDto),
|
|
33243
33247
|
ValidateNested349(),
|
|
33244
33248
|
Expose589()
|
|
33245
33249
|
], StatuDto.prototype, "Procedencia", 2);
|
|
33246
33250
|
__decorateClass([
|
|
33247
|
-
|
|
33251
|
+
IsOptional52(),
|
|
33248
33252
|
IsNumber385({}, { message: "debe ser un n\xFAmero" }),
|
|
33249
33253
|
Expose589()
|
|
33250
33254
|
], StatuDto.prototype, "IdStatus", 2);
|
|
33251
33255
|
__decorateClass([
|
|
33252
|
-
|
|
33256
|
+
IsOptional52(),
|
|
33253
33257
|
IsString467({ message: "debe ser texto" }),
|
|
33254
33258
|
Expose589()
|
|
33255
33259
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -33425,7 +33429,7 @@ __decorateClass([
|
|
|
33425
33429
|
|
|
33426
33430
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
33427
33431
|
import { Expose as Expose594, Type as Type395 } from "class-transformer";
|
|
33428
|
-
import { IsArray as IsArray205, IsOptional as
|
|
33432
|
+
import { IsArray as IsArray205, IsOptional as IsOptional53, ValidateNested as ValidateNested354 } from "class-validator";
|
|
33429
33433
|
|
|
33430
33434
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
33431
33435
|
import { Expose as Expose593 } from "class-transformer";
|
|
@@ -33494,42 +33498,42 @@ var FileDto = class {
|
|
|
33494
33498
|
AnexosAlbaran = [];
|
|
33495
33499
|
};
|
|
33496
33500
|
__decorateClass([
|
|
33497
|
-
|
|
33501
|
+
IsOptional53(),
|
|
33498
33502
|
IsArray205({ message: "debe ser un array" }),
|
|
33499
33503
|
Type395(() => AnexoPreOrdenDto),
|
|
33500
33504
|
ValidateNested354({ each: true }),
|
|
33501
33505
|
Expose594()
|
|
33502
33506
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
33503
33507
|
__decorateClass([
|
|
33504
|
-
|
|
33508
|
+
IsOptional53(),
|
|
33505
33509
|
IsArray205({ message: "debe ser un array" }),
|
|
33506
33510
|
Type395(() => ComparativoDto),
|
|
33507
33511
|
ValidateNested354({ each: true }),
|
|
33508
33512
|
Expose594()
|
|
33509
33513
|
], FileDto.prototype, "Comparativo", 2);
|
|
33510
33514
|
__decorateClass([
|
|
33511
|
-
|
|
33515
|
+
IsOptional53(),
|
|
33512
33516
|
IsArray205({ message: "debe ser un array" }),
|
|
33513
33517
|
Type395(() => CotizacionDto),
|
|
33514
33518
|
ValidateNested354({ each: true }),
|
|
33515
33519
|
Expose594()
|
|
33516
33520
|
], FileDto.prototype, "Cotizacion", 2);
|
|
33517
33521
|
__decorateClass([
|
|
33518
|
-
|
|
33522
|
+
IsOptional53(),
|
|
33519
33523
|
IsArray205({ message: "debe ser un array" }),
|
|
33520
33524
|
Type395(() => PedidoCompraDto),
|
|
33521
33525
|
ValidateNested354({ each: true }),
|
|
33522
33526
|
Expose594()
|
|
33523
33527
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
33524
33528
|
__decorateClass([
|
|
33525
|
-
|
|
33529
|
+
IsOptional53(),
|
|
33526
33530
|
IsArray205({ message: "debe ser un array" }),
|
|
33527
33531
|
Type395(() => AlbaranDto),
|
|
33528
33532
|
ValidateNested354({ each: true }),
|
|
33529
33533
|
Expose594()
|
|
33530
33534
|
], FileDto.prototype, "Albaran", 2);
|
|
33531
33535
|
__decorateClass([
|
|
33532
|
-
|
|
33536
|
+
IsOptional53(),
|
|
33533
33537
|
IsArray205({ message: "debe ser un array" }),
|
|
33534
33538
|
Type395(() => AlbaranDto),
|
|
33535
33539
|
ValidateNested354({ each: true }),
|
|
@@ -33571,7 +33575,7 @@ __decorateClass([
|
|
|
33571
33575
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
33572
33576
|
|
|
33573
33577
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
33574
|
-
import { IsArray as IsArray209, IsBoolean as IsBoolean59, IsDate as IsDate130, IsNotEmpty as IsNotEmpty396, IsNumber as IsNumber390, IsOptional as
|
|
33578
|
+
import { IsArray as IsArray209, IsBoolean as IsBoolean59, IsDate as IsDate130, IsNotEmpty as IsNotEmpty396, IsNumber as IsNumber390, IsOptional as IsOptional54, IsString as IsString478, Min as Min295, ValidateNested as ValidateNested358 } from "class-validator";
|
|
33575
33579
|
|
|
33576
33580
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
33577
33581
|
import { Expose as Expose596 } from "class-transformer";
|
|
@@ -33993,10 +33997,10 @@ __decorateClass([
|
|
|
33993
33997
|
Type399(() => AprobacionDto),
|
|
33994
33998
|
ValidateNested358(),
|
|
33995
33999
|
Expose601(),
|
|
33996
|
-
|
|
34000
|
+
IsOptional54()
|
|
33997
34001
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
33998
34002
|
__decorateClass([
|
|
33999
|
-
|
|
34003
|
+
IsOptional54(),
|
|
34000
34004
|
IsString478({ message: "debe ser texto" }),
|
|
34001
34005
|
Expose601()
|
|
34002
34006
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
@@ -34005,12 +34009,12 @@ __decorateClass([
|
|
|
34005
34009
|
Expose601()
|
|
34006
34010
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
34007
34011
|
__decorateClass([
|
|
34008
|
-
|
|
34012
|
+
IsOptional54(),
|
|
34009
34013
|
IsString478({ message: "debe ser texto" }),
|
|
34010
34014
|
Expose601()
|
|
34011
34015
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
34012
34016
|
__decorateClass([
|
|
34013
|
-
|
|
34017
|
+
IsOptional54(),
|
|
34014
34018
|
IsString478({ message: "debe ser texto" }),
|
|
34015
34019
|
Expose601()
|
|
34016
34020
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -34039,17 +34043,17 @@ __decorateClass([
|
|
|
34039
34043
|
Expose601()
|
|
34040
34044
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
34041
34045
|
__decorateClass([
|
|
34042
|
-
|
|
34046
|
+
IsOptional54(),
|
|
34043
34047
|
Type399(() => TipoCompraDto),
|
|
34044
34048
|
ValidateNested358(),
|
|
34045
34049
|
Expose601()
|
|
34046
34050
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
34047
34051
|
__decorateClass([
|
|
34048
|
-
|
|
34052
|
+
IsOptional54(),
|
|
34049
34053
|
Expose601()
|
|
34050
34054
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
34051
34055
|
__decorateClass([
|
|
34052
|
-
|
|
34056
|
+
IsOptional54(),
|
|
34053
34057
|
IsBoolean59({ message: "debe ser true o false" }),
|
|
34054
34058
|
Expose601()
|
|
34055
34059
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
@@ -34059,84 +34063,84 @@ __decorateClass([
|
|
|
34059
34063
|
Expose601()
|
|
34060
34064
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
34061
34065
|
__decorateClass([
|
|
34062
|
-
|
|
34066
|
+
IsOptional54(),
|
|
34063
34067
|
Type399(() => FlujoDto),
|
|
34064
34068
|
ValidateNested358(),
|
|
34065
34069
|
Expose601()
|
|
34066
34070
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
34067
34071
|
__decorateClass([
|
|
34068
|
-
|
|
34072
|
+
IsOptional54(),
|
|
34069
34073
|
Type399(() => DatosNavDto),
|
|
34070
34074
|
ValidateNested358(),
|
|
34071
34075
|
Expose601()
|
|
34072
34076
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
34073
34077
|
__decorateClass([
|
|
34074
|
-
|
|
34078
|
+
IsOptional54(),
|
|
34075
34079
|
IsArray209({ message: "debe ser un array" }),
|
|
34076
34080
|
Expose601()
|
|
34077
34081
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
34078
34082
|
__decorateClass([
|
|
34079
|
-
|
|
34083
|
+
IsOptional54(),
|
|
34080
34084
|
Expose601()
|
|
34081
34085
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
34082
34086
|
__decorateClass([
|
|
34083
|
-
|
|
34087
|
+
IsOptional54(),
|
|
34084
34088
|
IsNumber390({}, { message: "debe ser un n\xFAmero" }),
|
|
34085
34089
|
Expose601()
|
|
34086
34090
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
34087
34091
|
__decorateClass([
|
|
34088
|
-
|
|
34092
|
+
IsOptional54(),
|
|
34089
34093
|
IsNumber390({}, { message: "debe ser un n\xFAmero" }),
|
|
34090
34094
|
Expose601()
|
|
34091
34095
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
34092
34096
|
__decorateClass([
|
|
34093
|
-
|
|
34097
|
+
IsOptional54(),
|
|
34094
34098
|
IsNumber390({}, { message: "debe ser un n\xFAmero" }),
|
|
34095
34099
|
Expose601()
|
|
34096
34100
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
34097
34101
|
__decorateClass([
|
|
34098
|
-
|
|
34102
|
+
IsOptional54(),
|
|
34099
34103
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34100
34104
|
IsDate130({ message: "debe ser una fecha" }),
|
|
34101
34105
|
Type399(() => Date),
|
|
34102
34106
|
Expose601()
|
|
34103
34107
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
34104
34108
|
__decorateClass([
|
|
34105
|
-
|
|
34109
|
+
IsOptional54(),
|
|
34106
34110
|
IsString478({ message: "debe ser texto" }),
|
|
34107
34111
|
Expose601()
|
|
34108
34112
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
34109
34113
|
__decorateClass([
|
|
34110
|
-
|
|
34114
|
+
IsOptional54(),
|
|
34111
34115
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34112
34116
|
IsDate130({ message: "debe ser una fecha" }),
|
|
34113
34117
|
Type399(() => Date),
|
|
34114
34118
|
Expose601()
|
|
34115
34119
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
34116
34120
|
__decorateClass([
|
|
34117
|
-
|
|
34121
|
+
IsOptional54(),
|
|
34118
34122
|
IsString478({ message: "debe ser texto" }),
|
|
34119
34123
|
Expose601()
|
|
34120
34124
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
34121
34125
|
__decorateClass([
|
|
34122
|
-
|
|
34126
|
+
IsOptional54(),
|
|
34123
34127
|
Expose601()
|
|
34124
34128
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
34125
34129
|
__decorateClass([
|
|
34126
|
-
|
|
34130
|
+
IsOptional54(),
|
|
34127
34131
|
Type399(() => EnviarNavDto),
|
|
34128
34132
|
ValidateNested358(),
|
|
34129
34133
|
Expose601()
|
|
34130
34134
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
34131
34135
|
__decorateClass([
|
|
34132
|
-
|
|
34136
|
+
IsOptional54(),
|
|
34133
34137
|
IsArray209({ message: "debe ser un array" }),
|
|
34134
34138
|
Type399(() => MovimientosRecepcionDto),
|
|
34135
34139
|
ValidateNested358({ each: true }),
|
|
34136
34140
|
Expose601()
|
|
34137
34141
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
34138
34142
|
__decorateClass([
|
|
34139
|
-
|
|
34143
|
+
IsOptional54(),
|
|
34140
34144
|
IsBoolean59({ message: "debe ser true o false" }),
|
|
34141
34145
|
Expose601()
|
|
34142
34146
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
@@ -34496,7 +34500,7 @@ import {
|
|
|
34496
34500
|
IsDefined as IsDefined189,
|
|
34497
34501
|
IsNotEmpty as IsNotEmpty402,
|
|
34498
34502
|
IsNumber as IsNumber393,
|
|
34499
|
-
IsOptional as
|
|
34503
|
+
IsOptional as IsOptional55,
|
|
34500
34504
|
IsString as IsString485,
|
|
34501
34505
|
Length as Length274,
|
|
34502
34506
|
Min as Min297,
|
|
@@ -34575,7 +34579,7 @@ __decorateClass([
|
|
|
34575
34579
|
IsString485({ message: "debe ser un texto" }),
|
|
34576
34580
|
Length274(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
34577
34581
|
Expose609(),
|
|
34578
|
-
|
|
34582
|
+
IsOptional55()
|
|
34579
34583
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
34580
34584
|
__decorateClass([
|
|
34581
34585
|
IsString485({ message: "debe ser un texto" }),
|
|
@@ -35058,7 +35062,7 @@ __decorateClass([
|
|
|
35058
35062
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
35059
35063
|
|
|
35060
35064
|
// src/configuracion/empresa/shared/index.ts
|
|
35061
|
-
import { IsArray as IsArray217, IsBoolean as IsBoolean63, IsNotEmpty as IsNotEmpty411, IsNumber as IsNumber402, IsOptional as
|
|
35065
|
+
import { IsArray as IsArray217, IsBoolean as IsBoolean63, IsNotEmpty as IsNotEmpty411, IsNumber as IsNumber402, IsOptional as IsOptional56, IsString as IsString496, Length as Length284, Min as Min306, ValidateNested as ValidateNested369 } from "class-validator";
|
|
35062
35066
|
var EmpresaENTITY = class {
|
|
35063
35067
|
ID_Empresa = 0;
|
|
35064
35068
|
Pais = new CodigoNombreDTO();
|
|
@@ -35171,7 +35175,7 @@ __decorateClass([
|
|
|
35171
35175
|
Type411(() => DatosGIADTO),
|
|
35172
35176
|
IsNotEmpty411({ message: "es requerido" }),
|
|
35173
35177
|
Expose620(),
|
|
35174
|
-
|
|
35178
|
+
IsOptional56(),
|
|
35175
35179
|
ValidateNested369()
|
|
35176
35180
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
35177
35181
|
__decorateClass([
|
|
@@ -36503,11 +36507,11 @@ __decorateClass([
|
|
|
36503
36507
|
|
|
36504
36508
|
// src/configuracion/theme-config-user/shared/theme-config-user-entity.ts
|
|
36505
36509
|
import { Expose as Expose646, Type as Type430 } from "class-transformer";
|
|
36506
|
-
import { IsNumber as IsNumber418, IsString as IsString521, IsOptional as
|
|
36510
|
+
import { IsNumber as IsNumber418, IsString as IsString521, IsOptional as IsOptional58, ValidateNested as ValidateNested383, IsArray as IsArray222 } from "class-validator";
|
|
36507
36511
|
|
|
36508
36512
|
// src/configuracion/theme-config-user/shared/dto/favorito-dto.ts
|
|
36509
36513
|
import { Expose as Expose645 } from "class-transformer";
|
|
36510
|
-
import { IsString as IsString520, IsNumber as IsNumber417, IsOptional as
|
|
36514
|
+
import { IsString as IsString520, IsNumber as IsNumber417, IsOptional as IsOptional57 } from "class-validator";
|
|
36511
36515
|
var FavoritoDTO = class {
|
|
36512
36516
|
id = "";
|
|
36513
36517
|
titulo = "";
|
|
@@ -36528,7 +36532,7 @@ __decorateClass([
|
|
|
36528
36532
|
Expose645()
|
|
36529
36533
|
], FavoritoDTO.prototype, "ruta", 2);
|
|
36530
36534
|
__decorateClass([
|
|
36531
|
-
|
|
36535
|
+
IsOptional57(),
|
|
36532
36536
|
IsString520(),
|
|
36533
36537
|
Expose645()
|
|
36534
36538
|
], FavoritoDTO.prototype, "icono", 2);
|
|
@@ -36559,7 +36563,7 @@ __decorateClass([
|
|
|
36559
36563
|
Expose646()
|
|
36560
36564
|
], ThemeConfigUserENTITY.prototype, "Color", 2);
|
|
36561
36565
|
__decorateClass([
|
|
36562
|
-
|
|
36566
|
+
IsOptional58(),
|
|
36563
36567
|
IsString521(),
|
|
36564
36568
|
Expose646()
|
|
36565
36569
|
], ThemeConfigUserENTITY.prototype, "Language", 2);
|
|
@@ -36569,7 +36573,7 @@ __decorateClass([
|
|
|
36569
36573
|
Expose646()
|
|
36570
36574
|
], ThemeConfigUserENTITY.prototype, "Estado", 2);
|
|
36571
36575
|
__decorateClass([
|
|
36572
|
-
|
|
36576
|
+
IsOptional58(),
|
|
36573
36577
|
IsArray222(),
|
|
36574
36578
|
ValidateNested383({ each: true }),
|
|
36575
36579
|
Type430(() => FavoritoDTO),
|
|
@@ -36906,7 +36910,7 @@ import {
|
|
|
36906
36910
|
ValidateNested as ValidateNested387,
|
|
36907
36911
|
IsDate as IsDate142,
|
|
36908
36912
|
Length as Length310,
|
|
36909
|
-
IsOptional as
|
|
36913
|
+
IsOptional as IsOptional60,
|
|
36910
36914
|
IsArray as IsArray223
|
|
36911
36915
|
} from "class-validator";
|
|
36912
36916
|
|
|
@@ -36978,7 +36982,7 @@ __decorateClass([
|
|
|
36978
36982
|
|
|
36979
36983
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
36980
36984
|
import { Expose as Expose659, Transform as Transform86 } from "class-transformer";
|
|
36981
|
-
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty432, IsNumber as IsNumber426, IsOptional as
|
|
36985
|
+
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty432, IsNumber as IsNumber426, IsOptional as IsOptional59, IsString as IsString534, Length as Length307, Min as Min320 } from "class-validator";
|
|
36982
36986
|
var InventarioValDTO = class {
|
|
36983
36987
|
Descripcion = "";
|
|
36984
36988
|
LoteSAP = "";
|
|
@@ -36992,13 +36996,13 @@ var InventarioValDTO = class {
|
|
|
36992
36996
|
};
|
|
36993
36997
|
__decorateClass([
|
|
36994
36998
|
IsString534({ message: "debe ser un texto" }),
|
|
36995
|
-
|
|
36999
|
+
IsOptional59(),
|
|
36996
37000
|
Length307(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
36997
37001
|
Expose659()
|
|
36998
37002
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
36999
37003
|
__decorateClass([
|
|
37000
37004
|
IsString534({ message: "debe ser un texto" }),
|
|
37001
|
-
|
|
37005
|
+
IsOptional59(),
|
|
37002
37006
|
Length307(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37003
37007
|
Expose659()
|
|
37004
37008
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -37010,7 +37014,7 @@ __decorateClass([
|
|
|
37010
37014
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
37011
37015
|
__decorateClass([
|
|
37012
37016
|
IsString534({ message: "debe ser un texto" }),
|
|
37013
|
-
|
|
37017
|
+
IsOptional59(),
|
|
37014
37018
|
Length307(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37015
37019
|
Expose659()
|
|
37016
37020
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -37019,7 +37023,7 @@ __decorateClass([
|
|
|
37019
37023
|
Transform86(({ value }) => value ? String(value) : value),
|
|
37020
37024
|
Length307(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
37021
37025
|
Expose659(),
|
|
37022
|
-
|
|
37026
|
+
IsOptional59()
|
|
37023
37027
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
37024
37028
|
__decorateClass([
|
|
37025
37029
|
IsNumber426({}, { message: "debe ser un numero" }),
|
|
@@ -37038,7 +37042,7 @@ __decorateClass([
|
|
|
37038
37042
|
__decorateClass([
|
|
37039
37043
|
IsString534({ message: "debe ser un texto" }),
|
|
37040
37044
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37041
|
-
|
|
37045
|
+
IsOptional59(),
|
|
37042
37046
|
Expose659()
|
|
37043
37047
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
37044
37048
|
|
|
@@ -37169,14 +37173,14 @@ __decorateClass([
|
|
|
37169
37173
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
37170
37174
|
__decorateClass([
|
|
37171
37175
|
IsString537({ message: "debe ser un texto" }),
|
|
37172
|
-
|
|
37176
|
+
IsOptional60(),
|
|
37173
37177
|
Length310(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37174
37178
|
Expose662()
|
|
37175
37179
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
37176
37180
|
__decorateClass([
|
|
37177
37181
|
IsString537({ message: "debe ser un texto" }),
|
|
37178
37182
|
Length310(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
37179
|
-
|
|
37183
|
+
IsOptional60(),
|
|
37180
37184
|
Expose662()
|
|
37181
37185
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
37182
37186
|
__decorateClass([
|
|
@@ -37201,7 +37205,7 @@ __decorateClass([
|
|
|
37201
37205
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
37202
37206
|
__decorateClass([
|
|
37203
37207
|
IsString537({ message: "debe ser un texto" }),
|
|
37204
|
-
|
|
37208
|
+
IsOptional60(),
|
|
37205
37209
|
Length310(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
37206
37210
|
Expose662()
|
|
37207
37211
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -37219,12 +37223,12 @@ __decorateClass([
|
|
|
37219
37223
|
IsString537({ message: "debe ser un texto" }),
|
|
37220
37224
|
Length310(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
37221
37225
|
Expose662(),
|
|
37222
|
-
|
|
37226
|
+
IsOptional60()
|
|
37223
37227
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
37224
37228
|
__decorateClass([
|
|
37225
37229
|
IsString537({ message: "debe ser un texto" }),
|
|
37226
37230
|
Length310(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
37227
|
-
|
|
37231
|
+
IsOptional60(),
|
|
37228
37232
|
Expose662()
|
|
37229
37233
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
37230
37234
|
__decorateClass([
|
|
@@ -37340,7 +37344,7 @@ __decorateClass([
|
|
|
37340
37344
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
37341
37345
|
__decorateClass([
|
|
37342
37346
|
IsString537({ message: "debe ser un texto" }),
|
|
37343
|
-
|
|
37347
|
+
IsOptional60(),
|
|
37344
37348
|
Expose662()
|
|
37345
37349
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
37346
37350
|
__decorateClass([
|
|
@@ -37415,7 +37419,7 @@ __decorateClass([
|
|
|
37415
37419
|
|
|
37416
37420
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
37417
37421
|
import { Expose as Expose667, Type as Type436 } from "class-transformer";
|
|
37418
|
-
import { IsArray as IsArray224, IsNotEmpty as IsNotEmpty440, IsNumber as IsNumber434, IsString as IsString542, Length as Length315, Min as Min328, ValidateNested as ValidateNested388, IsDate as IsDate144, IsOptional as
|
|
37422
|
+
import { IsArray as IsArray224, IsNotEmpty as IsNotEmpty440, IsNumber as IsNumber434, IsString as IsString542, Length as Length315, Min as Min328, ValidateNested as ValidateNested388, IsDate as IsDate144, IsOptional as IsOptional61 } from "class-validator";
|
|
37419
37423
|
|
|
37420
37424
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
37421
37425
|
import { Expose as Expose663 } from "class-transformer";
|
|
@@ -37673,7 +37677,7 @@ __decorateClass([
|
|
|
37673
37677
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
37674
37678
|
__decorateClass([
|
|
37675
37679
|
IsString542({ message: "debe ser un texto" }),
|
|
37676
|
-
|
|
37680
|
+
IsOptional61(),
|
|
37677
37681
|
Length315(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37678
37682
|
Expose667()
|
|
37679
37683
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -40547,7 +40551,7 @@ __decorateClass([
|
|
|
40547
40551
|
|
|
40548
40552
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
40549
40553
|
import { Expose as Expose704 } from "class-transformer";
|
|
40550
|
-
import { IsNumber as IsNumber452, IsOptional as
|
|
40554
|
+
import { IsNumber as IsNumber452, IsOptional as IsOptional62, IsString as IsString575 } from "class-validator";
|
|
40551
40555
|
import "reflect-metadata";
|
|
40552
40556
|
var ValorizacionPeruTOADTO = class {
|
|
40553
40557
|
pbBase = 0;
|
|
@@ -40561,35 +40565,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
40561
40565
|
__decorateClass([
|
|
40562
40566
|
Expose704(),
|
|
40563
40567
|
IsNumber452(),
|
|
40564
|
-
|
|
40568
|
+
IsOptional62()
|
|
40565
40569
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
40566
40570
|
__decorateClass([
|
|
40567
40571
|
Expose704(),
|
|
40568
40572
|
IsNumber452(),
|
|
40569
|
-
|
|
40573
|
+
IsOptional62()
|
|
40570
40574
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
40571
40575
|
__decorateClass([
|
|
40572
40576
|
Expose704(),
|
|
40573
|
-
|
|
40577
|
+
IsOptional62()
|
|
40574
40578
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
40575
40579
|
__decorateClass([
|
|
40576
40580
|
Expose704(),
|
|
40577
|
-
|
|
40581
|
+
IsOptional62()
|
|
40578
40582
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
40579
40583
|
__decorateClass([
|
|
40580
40584
|
Expose704(),
|
|
40581
40585
|
IsString575(),
|
|
40582
|
-
|
|
40586
|
+
IsOptional62()
|
|
40583
40587
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
40584
40588
|
__decorateClass([
|
|
40585
40589
|
Expose704(),
|
|
40586
40590
|
IsString575(),
|
|
40587
|
-
|
|
40591
|
+
IsOptional62()
|
|
40588
40592
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
40589
40593
|
__decorateClass([
|
|
40590
40594
|
Expose704(),
|
|
40591
40595
|
IsString575(),
|
|
40592
|
-
|
|
40596
|
+
IsOptional62()
|
|
40593
40597
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
40594
40598
|
|
|
40595
40599
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -40635,7 +40639,7 @@ import "reflect-metadata";
|
|
|
40635
40639
|
|
|
40636
40640
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
40637
40641
|
import { Expose as Expose706, Type as Type450 } from "class-transformer";
|
|
40638
|
-
import { IsDate as IsDate151, IsNumber as IsNumber453, IsOptional as
|
|
40642
|
+
import { IsDate as IsDate151, IsNumber as IsNumber453, IsOptional as IsOptional63, IsString as IsString577, ValidateNested as ValidateNested397 } from "class-validator";
|
|
40639
40643
|
var AjusteReprocesoDTO = class {
|
|
40640
40644
|
PB;
|
|
40641
40645
|
MO;
|
|
@@ -40651,58 +40655,58 @@ var AjusteReprocesoDTO = class {
|
|
|
40651
40655
|
};
|
|
40652
40656
|
__decorateClass([
|
|
40653
40657
|
Expose706(),
|
|
40654
|
-
|
|
40658
|
+
IsOptional63(),
|
|
40655
40659
|
IsNumber453()
|
|
40656
40660
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
40657
40661
|
__decorateClass([
|
|
40658
40662
|
Expose706(),
|
|
40659
|
-
|
|
40663
|
+
IsOptional63(),
|
|
40660
40664
|
IsNumber453()
|
|
40661
40665
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
40662
40666
|
__decorateClass([
|
|
40663
40667
|
Expose706(),
|
|
40664
|
-
|
|
40668
|
+
IsOptional63(),
|
|
40665
40669
|
IsNumber453()
|
|
40666
40670
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
40667
40671
|
__decorateClass([
|
|
40668
40672
|
Expose706(),
|
|
40669
|
-
|
|
40673
|
+
IsOptional63(),
|
|
40670
40674
|
IsString577()
|
|
40671
40675
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
40672
40676
|
__decorateClass([
|
|
40673
40677
|
Expose706(),
|
|
40674
|
-
|
|
40678
|
+
IsOptional63(),
|
|
40675
40679
|
IsString577()
|
|
40676
40680
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
40677
40681
|
__decorateClass([
|
|
40678
40682
|
Expose706(),
|
|
40679
|
-
|
|
40683
|
+
IsOptional63(),
|
|
40680
40684
|
ValidateNested397(),
|
|
40681
40685
|
Type450(() => EECCDBTOADTO)
|
|
40682
40686
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
40683
40687
|
__decorateClass([
|
|
40684
40688
|
Expose706(),
|
|
40685
|
-
|
|
40689
|
+
IsOptional63(),
|
|
40686
40690
|
IsNumber453()
|
|
40687
40691
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
40688
40692
|
__decorateClass([
|
|
40689
40693
|
Expose706(),
|
|
40690
|
-
|
|
40694
|
+
IsOptional63(),
|
|
40691
40695
|
IsString577()
|
|
40692
40696
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
40693
40697
|
__decorateClass([
|
|
40694
40698
|
Expose706(),
|
|
40695
|
-
|
|
40699
|
+
IsOptional63(),
|
|
40696
40700
|
IsString577()
|
|
40697
40701
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
40698
40702
|
__decorateClass([
|
|
40699
40703
|
Expose706(),
|
|
40700
|
-
|
|
40704
|
+
IsOptional63(),
|
|
40701
40705
|
IsNumber453()
|
|
40702
40706
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
40703
40707
|
__decorateClass([
|
|
40704
40708
|
Expose706(),
|
|
40705
|
-
|
|
40709
|
+
IsOptional63(),
|
|
40706
40710
|
IsDate151(),
|
|
40707
40711
|
Type450(() => Date)
|
|
40708
40712
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -42365,7 +42369,7 @@ import { Expose as Expose728, Transform as Transform97, Type as Type457 } from "
|
|
|
42365
42369
|
|
|
42366
42370
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
42367
42371
|
import { Expose as Expose720, Transform as Transform93 } from "class-transformer";
|
|
42368
|
-
import { IsDate as IsDate156, IsDefined as IsDefined219, IsNumber as IsNumber463, IsOptional as
|
|
42372
|
+
import { IsDate as IsDate156, IsDefined as IsDefined219, IsNumber as IsNumber463, IsOptional as IsOptional65, IsString as IsString590 } from "class-validator";
|
|
42369
42373
|
|
|
42370
42374
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
42371
42375
|
function formatDateOnnetFibra(date) {
|
|
@@ -42431,13 +42435,13 @@ __decorateClass([
|
|
|
42431
42435
|
Expose720()
|
|
42432
42436
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
42433
42437
|
__decorateClass([
|
|
42434
|
-
|
|
42438
|
+
IsOptional65(),
|
|
42435
42439
|
Transform93(({ value }) => value ? String(value) : ""),
|
|
42436
42440
|
IsString590({ message: "El campo lt debe ser una cadena de texto" }),
|
|
42437
42441
|
Expose720()
|
|
42438
42442
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
42439
42443
|
__decorateClass([
|
|
42440
|
-
|
|
42444
|
+
IsOptional65(),
|
|
42441
42445
|
IsNumber463({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
42442
42446
|
Transform93(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42443
42447
|
Expose720()
|
|
@@ -42448,7 +42452,7 @@ __decorateClass([
|
|
|
42448
42452
|
Expose720()
|
|
42449
42453
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
42450
42454
|
__decorateClass([
|
|
42451
|
-
|
|
42455
|
+
IsOptional65(),
|
|
42452
42456
|
IsNumber463({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
42453
42457
|
Transform93(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42454
42458
|
Expose720()
|
|
@@ -42484,13 +42488,13 @@ __decorateClass([
|
|
|
42484
42488
|
Expose720()
|
|
42485
42489
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
42486
42490
|
__decorateClass([
|
|
42487
|
-
|
|
42491
|
+
IsOptional65(),
|
|
42488
42492
|
IsString590({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
42489
42493
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42490
42494
|
Expose720()
|
|
42491
42495
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
42492
42496
|
__decorateClass([
|
|
42493
|
-
|
|
42497
|
+
IsOptional65(),
|
|
42494
42498
|
IsString590({ message: "El campo olt debe ser una cadena de texto" }),
|
|
42495
42499
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42496
42500
|
Expose720()
|
|
@@ -42546,7 +42550,7 @@ __decorateClass([
|
|
|
42546
42550
|
Expose720()
|
|
42547
42551
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
42548
42552
|
__decorateClass([
|
|
42549
|
-
|
|
42553
|
+
IsOptional65(),
|
|
42550
42554
|
Transform93(({ value }) => formatDateOnnetFibra(value)),
|
|
42551
42555
|
IsDate156({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
42552
42556
|
Expose720()
|
|
@@ -42567,30 +42571,30 @@ __decorateClass([
|
|
|
42567
42571
|
Expose720()
|
|
42568
42572
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
42569
42573
|
__decorateClass([
|
|
42570
|
-
|
|
42574
|
+
IsOptional65(),
|
|
42571
42575
|
IsString590({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
42572
42576
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42573
42577
|
Expose720()
|
|
42574
42578
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
42575
42579
|
__decorateClass([
|
|
42576
|
-
|
|
42580
|
+
IsOptional65(),
|
|
42577
42581
|
IsString590({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
42578
42582
|
Expose720()
|
|
42579
42583
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
42580
42584
|
__decorateClass([
|
|
42581
|
-
|
|
42585
|
+
IsOptional65({ message: "El campo cliente es opcional" }),
|
|
42582
42586
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42583
42587
|
IsString590({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
42584
42588
|
Expose720()
|
|
42585
42589
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
42586
42590
|
__decorateClass([
|
|
42587
|
-
|
|
42591
|
+
IsOptional65({ message: "El campo comuna es opcional" }),
|
|
42588
42592
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42589
42593
|
IsString590({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
42590
42594
|
Expose720()
|
|
42591
42595
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
42592
42596
|
__decorateClass([
|
|
42593
|
-
|
|
42597
|
+
IsOptional65({ message: "El campo pep es opcional" }),
|
|
42594
42598
|
IsString590({ message: "El campo pep debe ser una cadena de texto" }),
|
|
42595
42599
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42596
42600
|
Expose720()
|
|
@@ -42600,38 +42604,38 @@ __decorateClass([
|
|
|
42600
42604
|
Expose720()
|
|
42601
42605
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
42602
42606
|
__decorateClass([
|
|
42603
|
-
|
|
42607
|
+
IsOptional65({ message: "El campo proyecto es opcional" }),
|
|
42604
42608
|
IsString590({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
42605
42609
|
Expose720()
|
|
42606
42610
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
42607
42611
|
__decorateClass([
|
|
42608
|
-
|
|
42612
|
+
IsOptional65({ message: "El campo producto es opcional" }),
|
|
42609
42613
|
IsString590({ message: "El campo producto debe ser una cadena de texto" }),
|
|
42610
42614
|
Expose720()
|
|
42611
42615
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
42612
42616
|
__decorateClass([
|
|
42613
|
-
|
|
42617
|
+
IsOptional65({ message: "El campo sub_tipo_orden es opcional" }),
|
|
42614
42618
|
IsString590({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
42615
42619
|
Expose720()
|
|
42616
42620
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
42617
42621
|
__decorateClass([
|
|
42618
|
-
|
|
42622
|
+
IsOptional65({ message: "El campo nombre_tecnico es opcional" }),
|
|
42619
42623
|
IsString590({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
42620
42624
|
Expose720()
|
|
42621
42625
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
42622
42626
|
__decorateClass([
|
|
42623
|
-
|
|
42627
|
+
IsOptional65(),
|
|
42624
42628
|
IsNumber463({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
42625
42629
|
Transform93(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
42626
42630
|
Expose720()
|
|
42627
42631
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
42628
42632
|
__decorateClass([
|
|
42629
|
-
|
|
42633
|
+
IsOptional65({ message: "El campo sintoma es opcional" }),
|
|
42630
42634
|
IsNumber463({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
42631
42635
|
Expose720()
|
|
42632
42636
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
42633
42637
|
__decorateClass([
|
|
42634
|
-
|
|
42638
|
+
IsOptional65({ message: "El campo mensaje_contingencia es opcional" }),
|
|
42635
42639
|
IsString590({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
42636
42640
|
Expose720()
|
|
42637
42641
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -42786,7 +42790,7 @@ import { IsArray as IsArray232, IsDefined as IsDefined225, IsString as IsString5
|
|
|
42786
42790
|
|
|
42787
42791
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
42788
42792
|
import { Expose as Expose723, Transform as Transform95, Type as Type455 } from "class-transformer";
|
|
42789
|
-
import { IsDefined as IsDefined222, IsNumber as IsNumber466, IsOptional as
|
|
42793
|
+
import { IsDefined as IsDefined222, IsNumber as IsNumber466, IsOptional as IsOptional66, IsString as IsString593 } from "class-validator";
|
|
42790
42794
|
var DetalleOrdenRealDTO = class {
|
|
42791
42795
|
descripcion = "";
|
|
42792
42796
|
tipo = "";
|
|
@@ -42833,7 +42837,7 @@ __decorateClass([
|
|
|
42833
42837
|
Expose723()
|
|
42834
42838
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
42835
42839
|
__decorateClass([
|
|
42836
|
-
|
|
42840
|
+
IsOptional66({ message: "El campo tecnico es requerido" }),
|
|
42837
42841
|
IsString593({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
42838
42842
|
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42839
42843
|
Expose723()
|
|
@@ -42848,14 +42852,14 @@ __decorateClass([
|
|
|
42848
42852
|
Expose723()
|
|
42849
42853
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
42850
42854
|
__decorateClass([
|
|
42851
|
-
|
|
42855
|
+
IsOptional66({ message: "El campo contrato es opcional" }),
|
|
42852
42856
|
IsString593({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
42853
42857
|
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42854
42858
|
Expose723()
|
|
42855
42859
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
42856
42860
|
__decorateClass([
|
|
42857
42861
|
Type455(() => CodigoNombreDTO),
|
|
42858
|
-
|
|
42862
|
+
IsOptional66(),
|
|
42859
42863
|
Transform95(({ value }) => value ?? new CodigoNombreDTO()),
|
|
42860
42864
|
Expose723()
|
|
42861
42865
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -46483,7 +46487,7 @@ __decorateClass([
|
|
|
46483
46487
|
|
|
46484
46488
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
46485
46489
|
import { Expose as Expose750, Type as Type475 } from "class-transformer";
|
|
46486
|
-
import { IsDate as IsDate170, IsDefined as IsDefined249, IsNumber as IsNumber491, IsOptional as
|
|
46490
|
+
import { IsDate as IsDate170, IsDefined as IsDefined249, IsNumber as IsNumber491, IsOptional as IsOptional68, IsString as IsString620 } from "class-validator";
|
|
46487
46491
|
var OrdenesInstalacionDTO = class {
|
|
46488
46492
|
EMPRESA = "";
|
|
46489
46493
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -46672,25 +46676,25 @@ __decorateClass([
|
|
|
46672
46676
|
__decorateClass([
|
|
46673
46677
|
Expose750(),
|
|
46674
46678
|
ForceString(),
|
|
46675
|
-
|
|
46679
|
+
IsOptional68(),
|
|
46676
46680
|
IsString620()
|
|
46677
46681
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
46678
46682
|
__decorateClass([
|
|
46679
46683
|
Expose750(),
|
|
46680
46684
|
ForceString(),
|
|
46681
|
-
|
|
46685
|
+
IsOptional68(),
|
|
46682
46686
|
IsString620()
|
|
46683
46687
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
46684
46688
|
__decorateClass([
|
|
46685
46689
|
Expose750(),
|
|
46686
46690
|
ForceString(),
|
|
46687
|
-
|
|
46691
|
+
IsOptional68(),
|
|
46688
46692
|
IsString620()
|
|
46689
46693
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
46690
46694
|
|
|
46691
46695
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
46692
46696
|
import { Expose as Expose751 } from "class-transformer";
|
|
46693
|
-
import { IsDefined as IsDefined250, IsNumber as IsNumber492, IsOptional as
|
|
46697
|
+
import { IsDefined as IsDefined250, IsNumber as IsNumber492, IsOptional as IsOptional69, IsString as IsString621 } from "class-validator";
|
|
46694
46698
|
var ReclamosDistribuidorDTO = class {
|
|
46695
46699
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
46696
46700
|
PERMISOR = 0;
|
|
@@ -46848,7 +46852,7 @@ __decorateClass([
|
|
|
46848
46852
|
__decorateClass([
|
|
46849
46853
|
Expose751(),
|
|
46850
46854
|
ForceString(),
|
|
46851
|
-
|
|
46855
|
+
IsOptional69(),
|
|
46852
46856
|
IsString621()
|
|
46853
46857
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
46854
46858
|
__decorateClass([
|
|
@@ -47309,7 +47313,7 @@ __decorateClass([
|
|
|
47309
47313
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
47310
47314
|
|
|
47311
47315
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
47312
|
-
import { IsDate as IsDate173, IsDefined as IsDefined253, IsNumber as IsNumber495, IsOptional as
|
|
47316
|
+
import { IsDate as IsDate173, IsDefined as IsDefined253, IsNumber as IsNumber495, IsOptional as IsOptional70, IsString as IsString624 } from "class-validator";
|
|
47313
47317
|
import { Expose as Expose754, Type as Type476 } from "class-transformer";
|
|
47314
47318
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
47315
47319
|
EMPRESA = "";
|
|
@@ -47499,19 +47503,19 @@ __decorateClass([
|
|
|
47499
47503
|
__decorateClass([
|
|
47500
47504
|
Expose754(),
|
|
47501
47505
|
ForceString(),
|
|
47502
|
-
|
|
47506
|
+
IsOptional70(),
|
|
47503
47507
|
IsString624()
|
|
47504
47508
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
47505
47509
|
__decorateClass([
|
|
47506
47510
|
Expose754(),
|
|
47507
47511
|
ForceString(),
|
|
47508
|
-
|
|
47512
|
+
IsOptional70(),
|
|
47509
47513
|
IsString624()
|
|
47510
47514
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
47511
47515
|
__decorateClass([
|
|
47512
47516
|
Expose754(),
|
|
47513
47517
|
ForceString(),
|
|
47514
|
-
|
|
47518
|
+
IsOptional70(),
|
|
47515
47519
|
IsString624()
|
|
47516
47520
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
47517
47521
|
|
|
@@ -48430,7 +48434,7 @@ __decorateClass([
|
|
|
48430
48434
|
|
|
48431
48435
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
48432
48436
|
import { Expose as Expose763 } from "class-transformer";
|
|
48433
|
-
import { IsNumber as IsNumber503, IsOptional as
|
|
48437
|
+
import { IsNumber as IsNumber503, IsOptional as IsOptional71 } from "class-validator";
|
|
48434
48438
|
import "reflect-metadata";
|
|
48435
48439
|
var ValorizacionSomacylDTO = class {
|
|
48436
48440
|
pbBase = 0;
|
|
@@ -48439,12 +48443,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
48439
48443
|
__decorateClass([
|
|
48440
48444
|
Expose763(),
|
|
48441
48445
|
IsNumber503(),
|
|
48442
|
-
|
|
48446
|
+
IsOptional71()
|
|
48443
48447
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
48444
48448
|
__decorateClass([
|
|
48445
48449
|
Expose763(),
|
|
48446
48450
|
IsNumber503(),
|
|
48447
|
-
|
|
48451
|
+
IsOptional71()
|
|
48448
48452
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
48449
48453
|
|
|
48450
48454
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|
|
@@ -52023,7 +52027,7 @@ __decorateClass([
|
|
|
52023
52027
|
|
|
52024
52028
|
// src/operativa/procesos/claro_peru9112/shared/dto/valorizacion-peru9112-claro-dto.ts
|
|
52025
52029
|
import { Expose as Expose798 } from "class-transformer";
|
|
52026
|
-
import { IsNumber as IsNumber523, IsOptional as
|
|
52030
|
+
import { IsNumber as IsNumber523, IsOptional as IsOptional72, IsString as IsString663 } from "class-validator";
|
|
52027
52031
|
import "reflect-metadata";
|
|
52028
52032
|
var ValorizacionPeru9112ClaroDTO = class {
|
|
52029
52033
|
pbBase = 0;
|
|
@@ -52037,35 +52041,35 @@ var ValorizacionPeru9112ClaroDTO = class {
|
|
|
52037
52041
|
__decorateClass([
|
|
52038
52042
|
Expose798(),
|
|
52039
52043
|
IsNumber523(),
|
|
52040
|
-
|
|
52044
|
+
IsOptional72()
|
|
52041
52045
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbBase", 2);
|
|
52042
52046
|
__decorateClass([
|
|
52043
52047
|
Expose798(),
|
|
52044
52048
|
IsNumber523(),
|
|
52045
|
-
|
|
52049
|
+
IsOptional72()
|
|
52046
52050
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbAdicional", 2);
|
|
52047
52051
|
__decorateClass([
|
|
52048
52052
|
Expose798(),
|
|
52049
|
-
|
|
52053
|
+
IsOptional72()
|
|
52050
52054
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbByMaterial", 2);
|
|
52051
52055
|
__decorateClass([
|
|
52052
52056
|
Expose798(),
|
|
52053
|
-
|
|
52057
|
+
IsOptional72()
|
|
52054
52058
|
], ValorizacionPeru9112ClaroDTO.prototype, "quantities", 2);
|
|
52055
52059
|
__decorateClass([
|
|
52056
52060
|
Expose798(),
|
|
52057
52061
|
IsString663(),
|
|
52058
|
-
|
|
52062
|
+
IsOptional72()
|
|
52059
52063
|
], ValorizacionPeru9112ClaroDTO.prototype, "TABLA", 2);
|
|
52060
52064
|
__decorateClass([
|
|
52061
52065
|
Expose798(),
|
|
52062
52066
|
IsString663(),
|
|
52063
|
-
|
|
52067
|
+
IsOptional72()
|
|
52064
52068
|
], ValorizacionPeru9112ClaroDTO.prototype, "Actividad", 2);
|
|
52065
52069
|
__decorateClass([
|
|
52066
52070
|
Expose798(),
|
|
52067
52071
|
IsString663(),
|
|
52068
|
-
|
|
52072
|
+
IsOptional72()
|
|
52069
52073
|
], ValorizacionPeru9112ClaroDTO.prototype, "PAQUETE", 2);
|
|
52070
52074
|
|
|
52071
52075
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro.ts
|
|
@@ -52744,7 +52748,7 @@ __decorateClass([
|
|
|
52744
52748
|
|
|
52745
52749
|
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
52746
52750
|
import { Expose as Expose805, Type as Type493 } from "class-transformer";
|
|
52747
|
-
import { IsDefined as IsDefined295, IsString as IsString670, IsNumber as IsNumber527, IsDate as IsDate192, IsEnum as IsEnum58, IsArray as IsArray251, IsOptional as
|
|
52751
|
+
import { IsDefined as IsDefined295, IsString as IsString670, IsNumber as IsNumber527, IsDate as IsDate192, IsEnum as IsEnum58, IsArray as IsArray251, IsOptional as IsOptional74, ValidateNested as ValidateNested425 } from "class-validator";
|
|
52748
52752
|
import "reflect-metadata";
|
|
52749
52753
|
|
|
52750
52754
|
// src/operativa/procesos/btalppluz_order2/shared/dto/liquidacion-bt-alp-pluz-order2-dto.ts
|
|
@@ -53056,7 +53060,7 @@ __decorateClass([
|
|
|
53056
53060
|
|
|
53057
53061
|
// src/operativa/procesos/btalppluz_order2/shared/dto/cuadrilla-bt-alp-pluz-order2-dto.ts
|
|
53058
53062
|
import { Expose as Expose803 } from "class-transformer";
|
|
53059
|
-
import { IsBoolean as IsBoolean71, IsDefined as IsDefined293, IsEnum as IsEnum57, IsNumber as IsNumber526, IsOptional as
|
|
53063
|
+
import { IsBoolean as IsBoolean71, IsDefined as IsDefined293, IsEnum as IsEnum57, IsNumber as IsNumber526, IsOptional as IsOptional73, IsString as IsString668 } from "class-validator";
|
|
53060
53064
|
import "reflect-metadata";
|
|
53061
53065
|
var CuadrillaBtAlpPluzOrder2DTO = class {
|
|
53062
53066
|
Codigo = "";
|
|
@@ -53103,27 +53107,27 @@ __decorateClass([
|
|
|
53103
53107
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "PesoPersonal", 2);
|
|
53104
53108
|
__decorateClass([
|
|
53105
53109
|
Expose803(),
|
|
53106
|
-
|
|
53110
|
+
IsOptional73(),
|
|
53107
53111
|
IsBoolean71()
|
|
53108
53112
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefe", 2);
|
|
53109
53113
|
__decorateClass([
|
|
53110
53114
|
Expose803(),
|
|
53111
|
-
|
|
53115
|
+
IsOptional73(),
|
|
53112
53116
|
IsBoolean71()
|
|
53113
53117
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefeSuplente", 2);
|
|
53114
53118
|
__decorateClass([
|
|
53115
53119
|
Expose803(),
|
|
53116
|
-
|
|
53120
|
+
IsOptional73(),
|
|
53117
53121
|
IsEnum57(OrigenIntegrante)
|
|
53118
53122
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "Origen", 2);
|
|
53119
53123
|
__decorateClass([
|
|
53120
53124
|
Expose803(),
|
|
53121
|
-
|
|
53125
|
+
IsOptional73(),
|
|
53122
53126
|
IsString668()
|
|
53123
53127
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "CodigoCuadrillaOrigen", 2);
|
|
53124
53128
|
__decorateClass([
|
|
53125
53129
|
Expose803(),
|
|
53126
|
-
|
|
53130
|
+
IsOptional73(),
|
|
53127
53131
|
IsString668()
|
|
53128
53132
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "IdRecurso", 2);
|
|
53129
53133
|
|
|
@@ -53842,12 +53846,12 @@ __decorateClass([
|
|
|
53842
53846
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla", 2);
|
|
53843
53847
|
__decorateClass([
|
|
53844
53848
|
Expose805(),
|
|
53845
|
-
|
|
53849
|
+
IsOptional74(),
|
|
53846
53850
|
IsString670()
|
|
53847
53851
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_fecha_key", 2);
|
|
53848
53852
|
__decorateClass([
|
|
53849
53853
|
Expose805(),
|
|
53850
|
-
|
|
53854
|
+
IsOptional74(),
|
|
53851
53855
|
IsNumber527()
|
|
53852
53856
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_id_asistencia", 2);
|
|
53853
53857
|
|
|
@@ -53976,7 +53980,7 @@ __decorateClass([
|
|
|
53976
53980
|
], LoginDto.prototype, "password", 2);
|
|
53977
53981
|
|
|
53978
53982
|
// src/v2/dtos/PayloadToken.ts
|
|
53979
|
-
import { IsDefined as IsDefined301, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as
|
|
53983
|
+
import { IsDefined as IsDefined301, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as IsOptional75, ValidateNested as ValidateNested428 } from "class-validator";
|
|
53980
53984
|
import { Expose as Expose811, Type as Type496 } from "class-transformer";
|
|
53981
53985
|
|
|
53982
53986
|
// src/v2/dtos/AuthUser.ts
|
|
@@ -54080,7 +54084,7 @@ __decorateClass([
|
|
|
54080
54084
|
Expose811()
|
|
54081
54085
|
], PayloadTokenDto.prototype, "user", 2);
|
|
54082
54086
|
__decorateClass([
|
|
54083
|
-
|
|
54087
|
+
IsOptional75(),
|
|
54084
54088
|
ValidateNested428(),
|
|
54085
54089
|
Type496(() => AuthUserDto),
|
|
54086
54090
|
Expose811()
|
|
@@ -55096,11 +55100,11 @@ __decorateClass([
|
|
|
55096
55100
|
|
|
55097
55101
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
55098
55102
|
import { Expose as Expose837, Type as Type505 } from "class-transformer";
|
|
55099
|
-
import { IsArray as IsArray264, IsDefined as IsDefined321, IsNumber as IsNumber534, IsOptional as
|
|
55103
|
+
import { IsArray as IsArray264, IsDefined as IsDefined321, IsNumber as IsNumber534, IsOptional as IsOptional77, IsString as IsString699, ValidateNested as ValidateNested436 } from "class-validator";
|
|
55100
55104
|
|
|
55101
55105
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
55102
55106
|
import { Expose as Expose836 } from "class-transformer";
|
|
55103
|
-
import { IsString as IsString698, IsNumber as IsNumber533, IsOptional as
|
|
55107
|
+
import { IsString as IsString698, IsNumber as IsNumber533, IsOptional as IsOptional76 } from "class-validator";
|
|
55104
55108
|
var FavoritoDTO2 = class {
|
|
55105
55109
|
id = "";
|
|
55106
55110
|
titulo = "";
|
|
@@ -55121,7 +55125,7 @@ __decorateClass([
|
|
|
55121
55125
|
Expose836()
|
|
55122
55126
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
55123
55127
|
__decorateClass([
|
|
55124
|
-
|
|
55128
|
+
IsOptional76(),
|
|
55125
55129
|
IsString698(),
|
|
55126
55130
|
Expose836()
|
|
55127
55131
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
@@ -55155,7 +55159,7 @@ __decorateClass([
|
|
|
55155
55159
|
Expose837()
|
|
55156
55160
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
55157
55161
|
__decorateClass([
|
|
55158
|
-
|
|
55162
|
+
IsOptional77(),
|
|
55159
55163
|
IsString699({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
55160
55164
|
Expose837()
|
|
55161
55165
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -55166,7 +55170,7 @@ __decorateClass([
|
|
|
55166
55170
|
Expose837()
|
|
55167
55171
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
55168
55172
|
__decorateClass([
|
|
55169
|
-
|
|
55173
|
+
IsOptional77(),
|
|
55170
55174
|
IsArray264({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
55171
55175
|
ValidateNested436({ each: true }),
|
|
55172
55176
|
Type505(() => FavoritoDTO2),
|
|
@@ -55175,7 +55179,7 @@ __decorateClass([
|
|
|
55175
55179
|
|
|
55176
55180
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
55177
55181
|
import { Expose as Expose838, Type as Type506 } from "class-transformer";
|
|
55178
|
-
import { IsArray as IsArray265, IsDefined as IsDefined322, IsNumber as IsNumber535, IsOptional as
|
|
55182
|
+
import { IsArray as IsArray265, IsDefined as IsDefined322, IsNumber as IsNumber535, IsOptional as IsOptional78, IsString as IsString700, ValidateNested as ValidateNested437 } from "class-validator";
|
|
55179
55183
|
var UpdateThemeConfigUserDto = class {
|
|
55180
55184
|
ID_Theme;
|
|
55181
55185
|
Identificacion;
|
|
@@ -55200,7 +55204,7 @@ __decorateClass([
|
|
|
55200
55204
|
Expose838()
|
|
55201
55205
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
55202
55206
|
__decorateClass([
|
|
55203
|
-
|
|
55207
|
+
IsOptional78(),
|
|
55204
55208
|
IsString700({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
55205
55209
|
Expose838()
|
|
55206
55210
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -55211,7 +55215,7 @@ __decorateClass([
|
|
|
55211
55215
|
Expose838()
|
|
55212
55216
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
55213
55217
|
__decorateClass([
|
|
55214
|
-
|
|
55218
|
+
IsOptional78(),
|
|
55215
55219
|
IsArray265({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
55216
55220
|
ValidateNested437({ each: true }),
|
|
55217
55221
|
Type506(() => FavoritoDTO2),
|
|
@@ -55220,7 +55224,7 @@ __decorateClass([
|
|
|
55220
55224
|
|
|
55221
55225
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
55222
55226
|
import { Expose as Expose839, Transform as Transform124 } from "class-transformer";
|
|
55223
|
-
import { IsDefined as IsDefined323, IsNotEmpty as IsNotEmpty475, IsOptional as
|
|
55227
|
+
import { IsDefined as IsDefined323, IsNotEmpty as IsNotEmpty475, IsOptional as IsOptional79, IsString as IsString701, MaxLength as MaxLength10 } from "class-validator";
|
|
55224
55228
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
55225
55229
|
var CreateWarehouseExitATCDto = class {
|
|
55226
55230
|
personalIdentification;
|
|
@@ -55255,14 +55259,14 @@ __decorateClass([
|
|
|
55255
55259
|
Expose839()
|
|
55256
55260
|
], CreateWarehouseExitATCDto.prototype, "movementCode", 2);
|
|
55257
55261
|
__decorateClass([
|
|
55258
|
-
|
|
55262
|
+
IsOptional79(),
|
|
55259
55263
|
IsString701({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
55260
55264
|
MaxLength10(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
55261
55265
|
Transform124(trimUpper),
|
|
55262
55266
|
Expose839()
|
|
55263
55267
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
55264
55268
|
__decorateClass([
|
|
55265
|
-
|
|
55269
|
+
IsOptional79(),
|
|
55266
55270
|
IsString701({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
55267
55271
|
MaxLength10(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
55268
55272
|
Transform124(trimUpper),
|
|
@@ -55271,7 +55275,7 @@ __decorateClass([
|
|
|
55271
55275
|
|
|
55272
55276
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
55273
55277
|
import { Expose as Expose840, Transform as Transform125, Type as Type507 } from "class-transformer";
|
|
55274
|
-
import { IsDefined as IsDefined324, IsNotEmpty as IsNotEmpty476, IsNumber as IsNumber536, IsOptional as
|
|
55278
|
+
import { IsDefined as IsDefined324, IsNotEmpty as IsNotEmpty476, IsNumber as IsNumber536, IsOptional as IsOptional80, IsString as IsString702, MaxLength as MaxLength11, Min as Min349 } from "class-validator";
|
|
55275
55279
|
var AddDetailWarehouseExitATCDto = class {
|
|
55276
55280
|
keyCode;
|
|
55277
55281
|
searchCode;
|
|
@@ -55298,7 +55302,7 @@ __decorateClass([
|
|
|
55298
55302
|
Expose840()
|
|
55299
55303
|
], AddDetailWarehouseExitATCDto.prototype, "quantity", 2);
|
|
55300
55304
|
__decorateClass([
|
|
55301
|
-
|
|
55305
|
+
IsOptional80(),
|
|
55302
55306
|
IsString702({ message: "Las notas deben ser una cadena de texto" }),
|
|
55303
55307
|
MaxLength11(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
55304
55308
|
Transform125(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
@@ -55311,7 +55315,7 @@ import {
|
|
|
55311
55315
|
IsDefined as IsDefined325,
|
|
55312
55316
|
IsInt,
|
|
55313
55317
|
IsNumber as IsNumber537,
|
|
55314
|
-
IsOptional as
|
|
55318
|
+
IsOptional as IsOptional81,
|
|
55315
55319
|
IsString as IsString703,
|
|
55316
55320
|
MaxLength as MaxLength12,
|
|
55317
55321
|
Min as Min350
|
|
@@ -55330,7 +55334,7 @@ __decorateClass([
|
|
|
55330
55334
|
Expose841()
|
|
55331
55335
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
55332
55336
|
__decorateClass([
|
|
55333
|
-
|
|
55337
|
+
IsOptional81(),
|
|
55334
55338
|
IsString703({ message: "La serie debe ser una cadena de texto" }),
|
|
55335
55339
|
Transform126(trim),
|
|
55336
55340
|
Expose841()
|
|
@@ -55343,7 +55347,7 @@ __decorateClass([
|
|
|
55343
55347
|
Expose841()
|
|
55344
55348
|
], AddInventorySomacylOrderDto.prototype, "cantidad", 2);
|
|
55345
55349
|
__decorateClass([
|
|
55346
|
-
|
|
55350
|
+
IsOptional81(),
|
|
55347
55351
|
IsString703({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
55348
55352
|
MaxLength12(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
55349
55353
|
Transform126(trim),
|
|
@@ -55377,7 +55381,7 @@ __decorateClass([
|
|
|
55377
55381
|
|
|
55378
55382
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
55379
55383
|
import { Expose as Expose843, Transform as Transform127, Type as Type509 } from "class-transformer";
|
|
55380
|
-
import { IsDefined as IsDefined327, IsInt as IsInt2, IsOptional as
|
|
55384
|
+
import { IsDefined as IsDefined327, IsInt as IsInt2, IsOptional as IsOptional82, IsString as IsString704 } from "class-validator";
|
|
55381
55385
|
var DeleteInventorySomacylOrderDto = class {
|
|
55382
55386
|
ID_Stock;
|
|
55383
55387
|
invsn;
|
|
@@ -55389,7 +55393,7 @@ __decorateClass([
|
|
|
55389
55393
|
Expose843()
|
|
55390
55394
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
55391
55395
|
__decorateClass([
|
|
55392
|
-
|
|
55396
|
+
IsOptional82(),
|
|
55393
55397
|
IsString704({ message: "La serie debe ser una cadena de texto" }),
|
|
55394
55398
|
Transform127(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55395
55399
|
Expose843()
|
|
@@ -55468,7 +55472,7 @@ __decorateClass([
|
|
|
55468
55472
|
|
|
55469
55473
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
55470
55474
|
import { Expose as Expose845, Transform as Transform129 } from "class-transformer";
|
|
55471
|
-
import { IsDefined as IsDefined329, IsEnum as IsEnum67, IsOptional as
|
|
55475
|
+
import { IsDefined as IsDefined329, IsEnum as IsEnum67, IsOptional as IsOptional83, IsString as IsString706, MaxLength as MaxLength14 } from "class-validator";
|
|
55472
55476
|
var UploadFileSomacylOrderDto = class {
|
|
55473
55477
|
posicion;
|
|
55474
55478
|
observacion;
|
|
@@ -55481,7 +55485,7 @@ __decorateClass([
|
|
|
55481
55485
|
Expose845()
|
|
55482
55486
|
], UploadFileSomacylOrderDto.prototype, "posicion", 2);
|
|
55483
55487
|
__decorateClass([
|
|
55484
|
-
|
|
55488
|
+
IsOptional83(),
|
|
55485
55489
|
IsString706({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
55486
55490
|
MaxLength14(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
55487
55491
|
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
@@ -55552,7 +55556,7 @@ __decorateClass([
|
|
|
55552
55556
|
|
|
55553
55557
|
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
55554
55558
|
import { Expose as Expose849, Type as Type511 } from "class-transformer";
|
|
55555
|
-
import { IsArray as IsArray267, IsDefined as IsDefined333, IsInt as IsInt5, IsOptional as
|
|
55559
|
+
import { IsArray as IsArray267, IsDefined as IsDefined333, IsInt as IsInt5, IsOptional as IsOptional84, Min as Min353, ValidateNested as ValidateNested439 } from "class-validator";
|
|
55556
55560
|
var CorrectRejectedValuationDto = class {
|
|
55557
55561
|
ID_Valorizacion = 0;
|
|
55558
55562
|
Anexos;
|
|
@@ -55564,33 +55568,245 @@ __decorateClass([
|
|
|
55564
55568
|
Expose849()
|
|
55565
55569
|
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
55566
55570
|
__decorateClass([
|
|
55567
|
-
|
|
55571
|
+
IsOptional84(),
|
|
55568
55572
|
IsArray267({ message: "Los anexos deben ser un arreglo" }),
|
|
55569
55573
|
Type511(() => FilesDocDTO),
|
|
55570
55574
|
ValidateNested439({ each: true }),
|
|
55571
55575
|
Expose849()
|
|
55572
55576
|
], CorrectRejectedValuationDto.prototype, "Anexos", 2);
|
|
55573
55577
|
|
|
55574
|
-
// src/v2/
|
|
55578
|
+
// src/v2/dtos/PreLiquidateValuation.ts
|
|
55579
|
+
import { Expose as Expose850, Transform as Transform131, Type as Type512 } from "class-transformer";
|
|
55580
|
+
import {
|
|
55581
|
+
ArrayMinSize as ArrayMinSize3,
|
|
55582
|
+
IsArray as IsArray268,
|
|
55583
|
+
IsDefined as IsDefined334,
|
|
55584
|
+
IsIn as IsIn11,
|
|
55585
|
+
IsInt as IsInt6,
|
|
55586
|
+
IsNotEmpty as IsNotEmpty479,
|
|
55587
|
+
IsNumber as IsNumber538,
|
|
55588
|
+
IsOptional as IsOptional85,
|
|
55589
|
+
IsString as IsString708,
|
|
55590
|
+
Length as Length349,
|
|
55591
|
+
Min as Min354,
|
|
55592
|
+
ValidateNested as ValidateNested440
|
|
55593
|
+
} from "class-validator";
|
|
55594
|
+
var PRE_LIQUIDATE_TYPES = ["Troncal", "Residential", "Business"];
|
|
55595
|
+
var BAREMO_SUBCONTRATA_TYPES = ["", "Asphalt", "Trenching"];
|
|
55596
|
+
var trim3 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
55597
|
+
var PreLiquidateUnitDto = class {
|
|
55598
|
+
ID_UnidadMedida = 0;
|
|
55599
|
+
Nombre = "";
|
|
55600
|
+
};
|
|
55601
|
+
__decorateClass([
|
|
55602
|
+
IsNumber538({}, { message: "El ID de la unidad de medida debe ser un n\xFAmero" }),
|
|
55603
|
+
Expose850()
|
|
55604
|
+
], PreLiquidateUnitDto.prototype, "ID_UnidadMedida", 2);
|
|
55605
|
+
__decorateClass([
|
|
55606
|
+
IsString708({ message: "La unidad de medida debe ser una cadena de texto" }),
|
|
55607
|
+
Length349(0, 50, { message: "La unidad de medida debe tener como m\xE1ximo 50 caracteres" }),
|
|
55608
|
+
Expose850()
|
|
55609
|
+
], PreLiquidateUnitDto.prototype, "Nombre", 2);
|
|
55610
|
+
var PreLiquidateMaterialDto = class {
|
|
55611
|
+
Codigo = "";
|
|
55612
|
+
CodigoLlave = "";
|
|
55613
|
+
Descripcion = "";
|
|
55614
|
+
Cantidad = 0;
|
|
55615
|
+
CantidadInformada;
|
|
55616
|
+
ID_StockPersonal;
|
|
55617
|
+
UnidadMedida = new PreLiquidateUnitDto();
|
|
55618
|
+
Motivo;
|
|
55619
|
+
};
|
|
55620
|
+
__decorateClass([
|
|
55621
|
+
Transform131(trim3),
|
|
55622
|
+
IsDefined334({ message: "El c\xF3digo del material es requerido" }),
|
|
55623
|
+
IsString708({ message: "El c\xF3digo del material debe ser una cadena de texto" }),
|
|
55624
|
+
IsNotEmpty479({ message: "El c\xF3digo del material es requerido" }),
|
|
55625
|
+
Expose850()
|
|
55626
|
+
], PreLiquidateMaterialDto.prototype, "Codigo", 2);
|
|
55627
|
+
__decorateClass([
|
|
55628
|
+
IsString708({ message: "El c\xF3digo llave del material debe ser una cadena de texto" }),
|
|
55629
|
+
Expose850()
|
|
55630
|
+
], PreLiquidateMaterialDto.prototype, "CodigoLlave", 2);
|
|
55631
|
+
__decorateClass([
|
|
55632
|
+
IsString708({ message: "La descripci\xF3n del material debe ser una cadena de texto" }),
|
|
55633
|
+
Expose850()
|
|
55634
|
+
], PreLiquidateMaterialDto.prototype, "Descripcion", 2);
|
|
55635
|
+
__decorateClass([
|
|
55636
|
+
IsDefined334({ message: "La cantidad del material es requerida" }),
|
|
55637
|
+
IsNumber538({}, { message: "La cantidad del material debe ser un n\xFAmero" }),
|
|
55638
|
+
Min354(0, { message: "La cantidad del material no puede ser negativa" }),
|
|
55639
|
+
Expose850()
|
|
55640
|
+
], PreLiquidateMaterialDto.prototype, "Cantidad", 2);
|
|
55641
|
+
__decorateClass([
|
|
55642
|
+
IsOptional85(),
|
|
55643
|
+
IsNumber538({}, { message: "La cantidad informada debe ser un n\xFAmero" }),
|
|
55644
|
+
Expose850()
|
|
55645
|
+
], PreLiquidateMaterialDto.prototype, "CantidadInformada", 2);
|
|
55646
|
+
__decorateClass([
|
|
55647
|
+
IsOptional85(),
|
|
55648
|
+
IsNumber538({}, { message: "El ID del stock personal debe ser un n\xFAmero" }),
|
|
55649
|
+
Expose850()
|
|
55650
|
+
], PreLiquidateMaterialDto.prototype, "ID_StockPersonal", 2);
|
|
55651
|
+
__decorateClass([
|
|
55652
|
+
IsDefined334({ message: "La unidad de medida del material es requerida" }),
|
|
55653
|
+
Type512(() => PreLiquidateUnitDto),
|
|
55654
|
+
ValidateNested440(),
|
|
55655
|
+
Expose850()
|
|
55656
|
+
], PreLiquidateMaterialDto.prototype, "UnidadMedida", 2);
|
|
55657
|
+
__decorateClass([
|
|
55658
|
+
IsOptional85(),
|
|
55659
|
+
Type512(() => CodigoDescripcionDTO),
|
|
55660
|
+
ValidateNested440(),
|
|
55661
|
+
Expose850()
|
|
55662
|
+
], PreLiquidateMaterialDto.prototype, "Motivo", 2);
|
|
55663
|
+
var PreLiquidateLineDto = class {
|
|
55664
|
+
LineaCodigoCub = "";
|
|
55665
|
+
Cantidad = 0;
|
|
55666
|
+
TipoBaremoSubcontrata = "";
|
|
55667
|
+
HomePass = new HomePassDTO();
|
|
55668
|
+
MaterialesInstalados = [];
|
|
55669
|
+
MaterialesRetirados = [];
|
|
55670
|
+
Anexos = [];
|
|
55671
|
+
};
|
|
55672
|
+
__decorateClass([
|
|
55673
|
+
Transform131(trim3),
|
|
55674
|
+
IsDefined334({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55675
|
+
IsString708({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
55676
|
+
IsNotEmpty479({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55677
|
+
Expose850()
|
|
55678
|
+
], PreLiquidateLineDto.prototype, "LineaCodigoCub", 2);
|
|
55679
|
+
__decorateClass([
|
|
55680
|
+
IsDefined334({ message: "La cantidad es requerida" }),
|
|
55681
|
+
IsNumber538({}, { message: "La cantidad debe ser un n\xFAmero" }),
|
|
55682
|
+
Min354(0.1, { message: "Ingrese una cantidad mayor a 0" }),
|
|
55683
|
+
Expose850()
|
|
55684
|
+
], PreLiquidateLineDto.prototype, "Cantidad", 2);
|
|
55685
|
+
__decorateClass([
|
|
55686
|
+
IsOptional85(),
|
|
55687
|
+
IsIn11(BAREMO_SUBCONTRATA_TYPES, { message: `El tipo de baremo debe ser uno de: ${BAREMO_SUBCONTRATA_TYPES.join(", ")}` }),
|
|
55688
|
+
Expose850()
|
|
55689
|
+
], PreLiquidateLineDto.prototype, "TipoBaremoSubcontrata", 2);
|
|
55690
|
+
__decorateClass([
|
|
55691
|
+
IsDefined334({ message: "El HomePass es requerido" }),
|
|
55692
|
+
Type512(() => HomePassDTO),
|
|
55693
|
+
ValidateNested440(),
|
|
55694
|
+
Expose850()
|
|
55695
|
+
], PreLiquidateLineDto.prototype, "HomePass", 2);
|
|
55696
|
+
__decorateClass([
|
|
55697
|
+
IsArray268({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
55698
|
+
Type512(() => PreLiquidateMaterialDto),
|
|
55699
|
+
ValidateNested440({ each: true }),
|
|
55700
|
+
Expose850()
|
|
55701
|
+
], PreLiquidateLineDto.prototype, "MaterialesInstalados", 2);
|
|
55702
|
+
__decorateClass([
|
|
55703
|
+
IsArray268({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
55704
|
+
Type512(() => PreLiquidateMaterialDto),
|
|
55705
|
+
ValidateNested440({ each: true }),
|
|
55706
|
+
Expose850()
|
|
55707
|
+
], PreLiquidateLineDto.prototype, "MaterialesRetirados", 2);
|
|
55708
|
+
__decorateClass([
|
|
55709
|
+
IsArray268({ message: "Los anexos deben ser un arreglo" }),
|
|
55710
|
+
Type512(() => FilesDocDTO),
|
|
55711
|
+
ValidateNested440({ each: true }),
|
|
55712
|
+
Expose850()
|
|
55713
|
+
], PreLiquidateLineDto.prototype, "Anexos", 2);
|
|
55714
|
+
var PreLiquidateNewLaborDto = class {
|
|
55715
|
+
LineaCodigoCub = "";
|
|
55716
|
+
EspecialidadCodigo = "";
|
|
55717
|
+
Cantidad = 0;
|
|
55718
|
+
};
|
|
55719
|
+
__decorateClass([
|
|
55720
|
+
Transform131(trim3),
|
|
55721
|
+
IsDefined334({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55722
|
+
IsString708({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
55723
|
+
IsNotEmpty479({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55724
|
+
Expose850()
|
|
55725
|
+
], PreLiquidateNewLaborDto.prototype, "LineaCodigoCub", 2);
|
|
55726
|
+
__decorateClass([
|
|
55727
|
+
Transform131(trim3),
|
|
55728
|
+
IsDefined334({ message: "La especialidad es requerida" }),
|
|
55729
|
+
IsString708({ message: "La especialidad debe ser una cadena de texto" }),
|
|
55730
|
+
IsNotEmpty479({ message: "La especialidad es requerida" }),
|
|
55731
|
+
Expose850()
|
|
55732
|
+
], PreLiquidateNewLaborDto.prototype, "EspecialidadCodigo", 2);
|
|
55733
|
+
__decorateClass([
|
|
55734
|
+
IsDefined334({ message: "La cantidad es requerida" }),
|
|
55735
|
+
IsNumber538({}, { message: "La cantidad debe ser un n\xFAmero" }),
|
|
55736
|
+
Min354(0.1, { message: "Ingrese una cantidad mayor a 0" }),
|
|
55737
|
+
Expose850()
|
|
55738
|
+
], PreLiquidateNewLaborDto.prototype, "Cantidad", 2);
|
|
55739
|
+
var PreLiquidateValuationDto = class {
|
|
55740
|
+
ID_Operacion = "";
|
|
55741
|
+
Tipo = "Troncal";
|
|
55742
|
+
ID_ValorizacionRechazadaMetraje;
|
|
55743
|
+
NuevasMO = [];
|
|
55744
|
+
Lineas = [];
|
|
55745
|
+
};
|
|
55746
|
+
__decorateClass([
|
|
55747
|
+
Transform131(trim3),
|
|
55748
|
+
IsDefined334({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
55749
|
+
IsString708({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
55750
|
+
IsNotEmpty479({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
55751
|
+
Expose850()
|
|
55752
|
+
], PreLiquidateValuationDto.prototype, "ID_Operacion", 2);
|
|
55753
|
+
__decorateClass([
|
|
55754
|
+
IsDefined334({ message: "El tipo de preliquidaci\xF3n es requerido" }),
|
|
55755
|
+
IsIn11(PRE_LIQUIDATE_TYPES, { message: `El tipo de preliquidaci\xF3n debe ser uno de: ${PRE_LIQUIDATE_TYPES.join(", ")}` }),
|
|
55756
|
+
Expose850()
|
|
55757
|
+
], PreLiquidateValuationDto.prototype, "Tipo", 2);
|
|
55758
|
+
__decorateClass([
|
|
55759
|
+
IsOptional85(),
|
|
55760
|
+
IsInt6({ message: "El ID de la valorizaci\xF3n rechazada debe ser un n\xFAmero entero" }),
|
|
55761
|
+
Min354(1, { message: "El ID de la valorizaci\xF3n rechazada no es v\xE1lido" }),
|
|
55762
|
+
Expose850()
|
|
55763
|
+
], PreLiquidateValuationDto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
55764
|
+
__decorateClass([
|
|
55765
|
+
IsArray268({ message: "La MO no reservada debe ser un arreglo" }),
|
|
55766
|
+
Type512(() => PreLiquidateNewLaborDto),
|
|
55767
|
+
ValidateNested440({ each: true }),
|
|
55768
|
+
Expose850()
|
|
55769
|
+
], PreLiquidateValuationDto.prototype, "NuevasMO", 2);
|
|
55770
|
+
__decorateClass([
|
|
55771
|
+
IsArray268({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
55772
|
+
ArrayMinSize3(1, { message: "\xA1No se agreg\xF3 asignaciones!" }),
|
|
55773
|
+
Type512(() => PreLiquidateLineDto),
|
|
55774
|
+
ValidateNested440({ each: true }),
|
|
55775
|
+
Expose850()
|
|
55776
|
+
], PreLiquidateValuationDto.prototype, "Lineas", 2);
|
|
55777
|
+
|
|
55778
|
+
// src/v2/dtos/ChangeJobState.ts
|
|
55575
55779
|
import { Expose as Expose851 } from "class-transformer";
|
|
55576
|
-
import { IsDefined as IsDefined335,
|
|
55780
|
+
import { IsDefined as IsDefined335, IsIn as IsIn12 } from "class-validator";
|
|
55781
|
+
var ChangeJobStateDto = class {
|
|
55782
|
+
type = "OC";
|
|
55783
|
+
};
|
|
55784
|
+
__decorateClass([
|
|
55785
|
+
IsDefined335({ message: "El tipo de cierre es requerido" }),
|
|
55786
|
+
IsIn12(HOME_PASS_STATE_TYPES, { message: `El tipo de cierre debe ser uno de: ${HOME_PASS_STATE_TYPES.join(", ")}` }),
|
|
55787
|
+
Expose851()
|
|
55788
|
+
], ChangeJobStateDto.prototype, "type", 2);
|
|
55789
|
+
|
|
55790
|
+
// src/v2/entities/Delegation.ts
|
|
55791
|
+
import { Expose as Expose853 } from "class-transformer";
|
|
55792
|
+
import { IsDefined as IsDefined337, IsNotEmpty as IsNotEmpty480, IsString as IsString709, IsUUID as IsUUID41 } from "class-validator";
|
|
55577
55793
|
|
|
55578
55794
|
// src/v2/entities/Base.ts
|
|
55579
|
-
import { Expose as
|
|
55580
|
-
import { IsBoolean as IsBoolean84, IsDefined as
|
|
55795
|
+
import { Expose as Expose852 } from "class-transformer";
|
|
55796
|
+
import { IsBoolean as IsBoolean84, IsDefined as IsDefined336, IsUUID as IsUUID40 } from "class-validator";
|
|
55581
55797
|
var BaseEntity = class {
|
|
55582
55798
|
_id;
|
|
55583
55799
|
active;
|
|
55584
55800
|
};
|
|
55585
55801
|
__decorateClass([
|
|
55586
|
-
|
|
55802
|
+
IsDefined336({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
55587
55803
|
IsUUID40("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
55588
|
-
|
|
55804
|
+
Expose852()
|
|
55589
55805
|
], BaseEntity.prototype, "_id", 2);
|
|
55590
55806
|
__decorateClass([
|
|
55591
|
-
|
|
55807
|
+
IsDefined336({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
55592
55808
|
IsBoolean84({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
55593
|
-
|
|
55809
|
+
Expose852()
|
|
55594
55810
|
], BaseEntity.prototype, "active", 2);
|
|
55595
55811
|
|
|
55596
55812
|
// src/v2/entities/Delegation.ts
|
|
@@ -55600,26 +55816,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
55600
55816
|
name;
|
|
55601
55817
|
};
|
|
55602
55818
|
__decorateClass([
|
|
55603
|
-
|
|
55819
|
+
IsDefined337({ message: "El campo pais es obligatorio" }),
|
|
55604
55820
|
IsUUID41("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
55605
|
-
|
|
55821
|
+
Expose853()
|
|
55606
55822
|
], DelegationEntity.prototype, "countryId", 2);
|
|
55607
55823
|
__decorateClass([
|
|
55608
|
-
|
|
55609
|
-
|
|
55610
|
-
|
|
55611
|
-
|
|
55824
|
+
IsDefined337({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55825
|
+
IsString709({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
55826
|
+
IsNotEmpty480({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
55827
|
+
Expose853()
|
|
55612
55828
|
], DelegationEntity.prototype, "code", 2);
|
|
55613
55829
|
__decorateClass([
|
|
55614
|
-
|
|
55615
|
-
|
|
55616
|
-
|
|
55617
|
-
|
|
55830
|
+
IsDefined337({ message: "El campo nombre es obligatorio." }),
|
|
55831
|
+
IsString709({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
55832
|
+
IsNotEmpty480({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
55833
|
+
Expose853()
|
|
55618
55834
|
], DelegationEntity.prototype, "name", 2);
|
|
55619
55835
|
|
|
55620
55836
|
// src/v2/entities/User.ts
|
|
55621
|
-
import { IsArray as
|
|
55622
|
-
import { Expose as
|
|
55837
|
+
import { IsArray as IsArray269, IsBoolean as IsBoolean85, IsDefined as IsDefined338, IsEmail as IsEmail13, IsString as IsString710, IsUUID as IsUUID42, ValidateIf as ValidateIf11, ValidateNested as ValidateNested441 } from "class-validator";
|
|
55838
|
+
import { Expose as Expose854, Transform as Transform132, Type as Type513 } from "class-transformer";
|
|
55623
55839
|
var UserEntity = class extends BaseEntity {
|
|
55624
55840
|
email;
|
|
55625
55841
|
password;
|
|
@@ -55634,126 +55850,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
55634
55850
|
resourceSystem;
|
|
55635
55851
|
};
|
|
55636
55852
|
__decorateClass([
|
|
55637
|
-
|
|
55853
|
+
IsDefined338({ message: "El correo es requerido" }),
|
|
55638
55854
|
IsEmail13({}, { message: "El correo es invalido" }),
|
|
55639
|
-
|
|
55640
|
-
|
|
55855
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
55856
|
+
Expose854()
|
|
55641
55857
|
], UserEntity.prototype, "email", 2);
|
|
55642
55858
|
__decorateClass([
|
|
55643
|
-
|
|
55644
|
-
|
|
55645
|
-
|
|
55646
|
-
|
|
55859
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55860
|
+
IsDefined338({ message: "La contrase\xF1a es requerida" }),
|
|
55861
|
+
IsString710({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
55862
|
+
Expose854()
|
|
55647
55863
|
], UserEntity.prototype, "password", 2);
|
|
55648
55864
|
__decorateClass([
|
|
55649
|
-
|
|
55650
|
-
|
|
55651
|
-
|
|
55652
|
-
|
|
55865
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55866
|
+
IsDefined338({ message: "El apellido paterno es requerido" }),
|
|
55867
|
+
IsString710({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
55868
|
+
Expose854()
|
|
55653
55869
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
55654
55870
|
__decorateClass([
|
|
55655
|
-
|
|
55656
|
-
|
|
55657
|
-
|
|
55658
|
-
|
|
55871
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55872
|
+
IsDefined338({ message: "El apellido materno es requerido" }),
|
|
55873
|
+
IsString710({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
55874
|
+
Expose854()
|
|
55659
55875
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
55660
55876
|
__decorateClass([
|
|
55661
|
-
|
|
55662
|
-
|
|
55663
|
-
|
|
55664
|
-
|
|
55877
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55878
|
+
IsDefined338({ message: "El nombre es requerido" }),
|
|
55879
|
+
IsString710({ message: "El nombre debe ser una cadena de texto" }),
|
|
55880
|
+
Expose854()
|
|
55665
55881
|
], UserEntity.prototype, "firstNames", 2);
|
|
55666
55882
|
__decorateClass([
|
|
55667
|
-
|
|
55668
|
-
|
|
55669
|
-
|
|
55670
|
-
|
|
55883
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55884
|
+
IsDefined338({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
55885
|
+
IsString710({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
55886
|
+
Expose854()
|
|
55671
55887
|
], UserEntity.prototype, "identification", 2);
|
|
55672
55888
|
__decorateClass([
|
|
55673
|
-
|
|
55674
|
-
|
|
55675
|
-
|
|
55676
|
-
|
|
55677
|
-
|
|
55889
|
+
IsDefined338({ message: "El campo empresas es requerido" }),
|
|
55890
|
+
IsArray269({ message: "El campo empresas debe ser un array" }),
|
|
55891
|
+
Type513(() => CompanyDto),
|
|
55892
|
+
ValidateNested441({ each: true }),
|
|
55893
|
+
Expose854()
|
|
55678
55894
|
], UserEntity.prototype, "companies", 2);
|
|
55679
55895
|
__decorateClass([
|
|
55680
|
-
|
|
55681
|
-
|
|
55896
|
+
IsDefined338({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55897
|
+
IsArray269({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
55682
55898
|
IsUUID42("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
55683
|
-
|
|
55899
|
+
Expose854()
|
|
55684
55900
|
], UserEntity.prototype, "delegationIds", 2);
|
|
55685
55901
|
__decorateClass([
|
|
55686
|
-
|
|
55902
|
+
IsDefined338({ message: 'La propiedad "root" es obligatoria.' }),
|
|
55687
55903
|
IsBoolean85({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
55688
|
-
|
|
55904
|
+
Expose854()
|
|
55689
55905
|
], UserEntity.prototype, "root", 2);
|
|
55690
55906
|
__decorateClass([
|
|
55691
|
-
|
|
55907
|
+
IsDefined338({ message: "El campo Perfil es obligatorio" }),
|
|
55692
55908
|
ValidateIf11((_, value) => value !== ""),
|
|
55693
55909
|
IsUUID42("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
55694
|
-
|
|
55910
|
+
Expose854()
|
|
55695
55911
|
], UserEntity.prototype, "profileId", 2);
|
|
55696
55912
|
__decorateClass([
|
|
55697
|
-
|
|
55698
|
-
|
|
55699
|
-
|
|
55700
|
-
|
|
55701
|
-
|
|
55913
|
+
IsDefined338({ message: "Resurso sistema es obligatoria" }),
|
|
55914
|
+
Type513(() => ResourceSystemDto),
|
|
55915
|
+
ValidateNested441({ each: true }),
|
|
55916
|
+
IsArray269({ message: "Recurso sistema debe ser un array" }),
|
|
55917
|
+
Expose854()
|
|
55702
55918
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
55703
55919
|
|
|
55704
55920
|
// src/v2/entities/Profile.ts
|
|
55705
|
-
import { Expose as
|
|
55706
|
-
import { IsArray as
|
|
55921
|
+
import { Expose as Expose855, Transform as Transform133 } from "class-transformer";
|
|
55922
|
+
import { IsArray as IsArray270, IsDefined as IsDefined339, IsString as IsString711, Length as Length350, MinLength as MinLength63 } from "class-validator";
|
|
55707
55923
|
var ProfileEntity = class extends BaseEntity {
|
|
55708
55924
|
name;
|
|
55709
55925
|
description;
|
|
55710
55926
|
systemOptions;
|
|
55711
55927
|
};
|
|
55712
55928
|
__decorateClass([
|
|
55713
|
-
|
|
55714
|
-
|
|
55715
|
-
|
|
55716
|
-
|
|
55717
|
-
|
|
55929
|
+
IsDefined339({ message: "El campo nombre es requerido" }),
|
|
55930
|
+
Transform133(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55931
|
+
IsString711({ message: "debe ser una cadena de texto" }),
|
|
55932
|
+
Length350(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55933
|
+
Expose855()
|
|
55718
55934
|
], ProfileEntity.prototype, "name", 2);
|
|
55719
55935
|
__decorateClass([
|
|
55720
|
-
|
|
55721
|
-
|
|
55722
|
-
|
|
55723
|
-
|
|
55724
|
-
|
|
55936
|
+
IsDefined339({ message: "El campo descripci\xF3n es requerido" }),
|
|
55937
|
+
Transform133(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55938
|
+
IsString711({ message: "debe ser una cadena de texto" }),
|
|
55939
|
+
Length350(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55940
|
+
Expose855()
|
|
55725
55941
|
], ProfileEntity.prototype, "description", 2);
|
|
55726
55942
|
__decorateClass([
|
|
55727
|
-
|
|
55728
|
-
|
|
55729
|
-
|
|
55943
|
+
IsDefined339({ message: "El campo opciones de sistema es requerido" }),
|
|
55944
|
+
IsArray270({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
55945
|
+
IsString711({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
55730
55946
|
MinLength63(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
55731
|
-
|
|
55947
|
+
Expose855()
|
|
55732
55948
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
55733
55949
|
|
|
55734
55950
|
// src/v2/entities/Country.ts
|
|
55735
|
-
import { Expose as
|
|
55736
|
-
import { IsDefined as
|
|
55951
|
+
import { Expose as Expose856 } from "class-transformer";
|
|
55952
|
+
import { IsDefined as IsDefined340, IsNotEmpty as IsNotEmpty481, IsString as IsString712 } from "class-validator";
|
|
55737
55953
|
var CountryEntity = class extends BaseEntity {
|
|
55738
55954
|
code;
|
|
55739
55955
|
name;
|
|
55740
55956
|
};
|
|
55741
55957
|
__decorateClass([
|
|
55742
|
-
|
|
55743
|
-
|
|
55744
|
-
|
|
55745
|
-
|
|
55958
|
+
IsDefined340({ message: "El campo c\xF3digo es obligatorio." }),
|
|
55959
|
+
IsString712({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
55960
|
+
IsNotEmpty481({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
55961
|
+
Expose856()
|
|
55746
55962
|
], CountryEntity.prototype, "code", 2);
|
|
55747
55963
|
__decorateClass([
|
|
55748
|
-
|
|
55749
|
-
|
|
55750
|
-
|
|
55751
|
-
|
|
55964
|
+
IsDefined340({ message: "El campo nombre es obligatorio." }),
|
|
55965
|
+
IsString712({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
55966
|
+
IsNotEmpty481({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
55967
|
+
Expose856()
|
|
55752
55968
|
], CountryEntity.prototype, "name", 2);
|
|
55753
55969
|
|
|
55754
55970
|
// src/v2/entities/Company.ts
|
|
55755
|
-
import { Expose as
|
|
55756
|
-
import { IsArray as
|
|
55971
|
+
import { Expose as Expose857 } from "class-transformer";
|
|
55972
|
+
import { IsArray as IsArray271, IsBoolean as IsBoolean86, IsDefined as IsDefined341, IsEmail as IsEmail14, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty482, IsString as IsString713, IsUUID as IsUUID43 } from "class-validator";
|
|
55757
55973
|
var CompanyEntity = class extends BaseEntity {
|
|
55758
55974
|
companyType;
|
|
55759
55975
|
identification;
|
|
@@ -55767,87 +55983,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
55767
55983
|
countryId;
|
|
55768
55984
|
};
|
|
55769
55985
|
__decorateClass([
|
|
55770
|
-
|
|
55986
|
+
IsDefined341({ message: "El tipo de empresa es requerido" }),
|
|
55771
55987
|
IsEnum68(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
55772
|
-
|
|
55988
|
+
Expose857()
|
|
55773
55989
|
], CompanyEntity.prototype, "companyType", 2);
|
|
55774
55990
|
__decorateClass([
|
|
55775
|
-
|
|
55776
|
-
|
|
55777
|
-
|
|
55778
|
-
|
|
55991
|
+
IsDefined341({ message: "La identificaci\xF3n es requerida" }),
|
|
55992
|
+
IsString713({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
55993
|
+
IsNotEmpty482({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
55994
|
+
Expose857()
|
|
55779
55995
|
], CompanyEntity.prototype, "identification", 2);
|
|
55780
55996
|
__decorateClass([
|
|
55781
|
-
|
|
55782
|
-
|
|
55783
|
-
|
|
55784
|
-
|
|
55997
|
+
IsDefined341({ message: "El c\xF3digo es requerido" }),
|
|
55998
|
+
IsString713({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
55999
|
+
IsNotEmpty482({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
56000
|
+
Expose857()
|
|
55785
56001
|
], CompanyEntity.prototype, "code", 2);
|
|
55786
56002
|
__decorateClass([
|
|
55787
|
-
|
|
55788
|
-
|
|
55789
|
-
|
|
55790
|
-
|
|
56003
|
+
IsDefined341({ message: "El nombre legal es requerido" }),
|
|
56004
|
+
IsString713({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
56005
|
+
IsNotEmpty482({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
56006
|
+
Expose857()
|
|
55791
56007
|
], CompanyEntity.prototype, "legalName", 2);
|
|
55792
56008
|
__decorateClass([
|
|
55793
|
-
|
|
55794
|
-
|
|
55795
|
-
|
|
55796
|
-
|
|
56009
|
+
IsDefined341({ message: "El nombre comercial es requerido" }),
|
|
56010
|
+
IsString713({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
56011
|
+
IsNotEmpty482({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
56012
|
+
Expose857()
|
|
55797
56013
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
55798
56014
|
__decorateClass([
|
|
55799
|
-
|
|
56015
|
+
IsDefined341({ message: "La propiedad es propia es requerida" }),
|
|
55800
56016
|
IsBoolean86({ message: "La propiedad es propia debe ser un booleano" }),
|
|
55801
|
-
|
|
56017
|
+
Expose857()
|
|
55802
56018
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
55803
56019
|
__decorateClass([
|
|
55804
|
-
|
|
55805
|
-
|
|
55806
|
-
|
|
55807
|
-
|
|
56020
|
+
IsDefined341({ message: "La direcci\xF3n es requerida" }),
|
|
56021
|
+
IsString713({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
56022
|
+
IsNotEmpty482({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
56023
|
+
Expose857()
|
|
55808
56024
|
], CompanyEntity.prototype, "address", 2);
|
|
55809
56025
|
__decorateClass([
|
|
55810
|
-
|
|
55811
|
-
|
|
56026
|
+
IsDefined341({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
56027
|
+
IsArray271({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
55812
56028
|
IsEmail14({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
55813
|
-
|
|
56029
|
+
Expose857()
|
|
55814
56030
|
], CompanyEntity.prototype, "emails", 2);
|
|
55815
56031
|
__decorateClass([
|
|
55816
|
-
|
|
55817
|
-
|
|
55818
|
-
|
|
55819
|
-
|
|
55820
|
-
|
|
56032
|
+
IsDefined341({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
56033
|
+
IsArray271({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
56034
|
+
IsString713({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
56035
|
+
IsNotEmpty482({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
56036
|
+
Expose857()
|
|
55821
56037
|
], CompanyEntity.prototype, "phones", 2);
|
|
55822
56038
|
__decorateClass([
|
|
55823
|
-
|
|
56039
|
+
IsDefined341({ message: "El campo pa\xEDs es requerido" }),
|
|
55824
56040
|
IsUUID43("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
55825
|
-
|
|
56041
|
+
Expose857()
|
|
55826
56042
|
], CompanyEntity.prototype, "countryId", 2);
|
|
55827
56043
|
|
|
55828
56044
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
55829
|
-
import { Expose as
|
|
55830
|
-
import { IsNumber as
|
|
56045
|
+
import { Expose as Expose859, Type as Type514 } from "class-transformer";
|
|
56046
|
+
import { IsNumber as IsNumber539, IsString as IsString715, ValidateNested as ValidateNested442, IsArray as IsArray272 } from "class-validator";
|
|
55831
56047
|
|
|
55832
56048
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
55833
|
-
import { Expose as
|
|
55834
|
-
import { IsString as
|
|
56049
|
+
import { Expose as Expose858 } from "class-transformer";
|
|
56050
|
+
import { IsString as IsString714 } from "class-validator";
|
|
55835
56051
|
var ThemeCountryManualDTO2 = class {
|
|
55836
56052
|
Codigo = "";
|
|
55837
56053
|
Delegacion = "";
|
|
55838
56054
|
Ruta = "";
|
|
55839
56055
|
};
|
|
55840
56056
|
__decorateClass([
|
|
55841
|
-
|
|
55842
|
-
|
|
56057
|
+
IsString714(),
|
|
56058
|
+
Expose858()
|
|
55843
56059
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
55844
56060
|
__decorateClass([
|
|
55845
|
-
|
|
55846
|
-
|
|
56061
|
+
IsString714(),
|
|
56062
|
+
Expose858()
|
|
55847
56063
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
55848
56064
|
__decorateClass([
|
|
55849
|
-
|
|
55850
|
-
|
|
56065
|
+
IsString714(),
|
|
56066
|
+
Expose858()
|
|
55851
56067
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
55852
56068
|
|
|
55853
56069
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -55862,46 +56078,46 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
55862
56078
|
Pais = new CodigoNombreDTO4();
|
|
55863
56079
|
};
|
|
55864
56080
|
__decorateClass([
|
|
55865
|
-
|
|
55866
|
-
|
|
56081
|
+
IsNumber539(),
|
|
56082
|
+
Expose859()
|
|
55867
56083
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
55868
56084
|
__decorateClass([
|
|
55869
|
-
|
|
55870
|
-
|
|
56085
|
+
IsString715(),
|
|
56086
|
+
Expose859()
|
|
55871
56087
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
55872
56088
|
__decorateClass([
|
|
55873
|
-
|
|
55874
|
-
|
|
56089
|
+
IsString715(),
|
|
56090
|
+
Expose859()
|
|
55875
56091
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
55876
56092
|
__decorateClass([
|
|
55877
|
-
|
|
55878
|
-
|
|
56093
|
+
IsString715(),
|
|
56094
|
+
Expose859()
|
|
55879
56095
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
55880
56096
|
__decorateClass([
|
|
55881
|
-
|
|
55882
|
-
|
|
55883
|
-
|
|
56097
|
+
ValidateNested442(),
|
|
56098
|
+
Type514(() => ImgLogoNavBarDTO2),
|
|
56099
|
+
Expose859()
|
|
55884
56100
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
55885
56101
|
__decorateClass([
|
|
55886
|
-
|
|
55887
|
-
|
|
55888
|
-
|
|
55889
|
-
|
|
56102
|
+
IsArray272(),
|
|
56103
|
+
Type514(() => ThemeCountryManualDTO2),
|
|
56104
|
+
ValidateNested442({ each: true }),
|
|
56105
|
+
Expose859()
|
|
55890
56106
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
55891
56107
|
__decorateClass([
|
|
55892
|
-
|
|
55893
|
-
|
|
55894
|
-
|
|
56108
|
+
ValidateNested442(),
|
|
56109
|
+
Type514(() => EstadoDTO2),
|
|
56110
|
+
Expose859()
|
|
55895
56111
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
55896
56112
|
__decorateClass([
|
|
55897
|
-
|
|
55898
|
-
|
|
55899
|
-
|
|
56113
|
+
ValidateNested442(),
|
|
56114
|
+
Type514(() => CodigoNombreDTO4),
|
|
56115
|
+
Expose859()
|
|
55900
56116
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
55901
56117
|
|
|
55902
56118
|
// src/v2/entities/ThemeConfigUser.ts
|
|
55903
|
-
import { Expose as
|
|
55904
|
-
import { IsNumber as
|
|
56119
|
+
import { Expose as Expose860, Type as Type515 } from "class-transformer";
|
|
56120
|
+
import { IsNumber as IsNumber540, IsString as IsString716, ValidateNested as ValidateNested443, IsArray as IsArray273, IsOptional as IsOptional86, IsDefined as IsDefined342, IsBoolean as IsBoolean87 } from "class-validator";
|
|
55905
56121
|
var ThemeConfigUserEntity = class {
|
|
55906
56122
|
_id;
|
|
55907
56123
|
active = true;
|
|
@@ -55913,42 +56129,42 @@ var ThemeConfigUserEntity = class {
|
|
|
55913
56129
|
Favoritos = [];
|
|
55914
56130
|
};
|
|
55915
56131
|
__decorateClass([
|
|
55916
|
-
|
|
55917
|
-
|
|
56132
|
+
IsOptional86(),
|
|
56133
|
+
Expose860()
|
|
55918
56134
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
55919
56135
|
__decorateClass([
|
|
55920
|
-
|
|
56136
|
+
IsDefined342({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
55921
56137
|
IsBoolean87({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
55922
|
-
|
|
56138
|
+
Expose860()
|
|
55923
56139
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
55924
56140
|
__decorateClass([
|
|
55925
|
-
|
|
55926
|
-
|
|
56141
|
+
IsNumber540(),
|
|
56142
|
+
Expose860()
|
|
55927
56143
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
55928
56144
|
__decorateClass([
|
|
55929
|
-
|
|
55930
|
-
|
|
56145
|
+
IsString716(),
|
|
56146
|
+
Expose860()
|
|
55931
56147
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
55932
56148
|
__decorateClass([
|
|
55933
|
-
|
|
55934
|
-
|
|
56149
|
+
IsString716(),
|
|
56150
|
+
Expose860()
|
|
55935
56151
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
55936
56152
|
__decorateClass([
|
|
55937
|
-
|
|
55938
|
-
|
|
55939
|
-
|
|
56153
|
+
IsOptional86(),
|
|
56154
|
+
IsString716(),
|
|
56155
|
+
Expose860()
|
|
55940
56156
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
55941
56157
|
__decorateClass([
|
|
55942
|
-
|
|
55943
|
-
|
|
55944
|
-
|
|
56158
|
+
ValidateNested443(),
|
|
56159
|
+
Type515(() => EstadoDTO2),
|
|
56160
|
+
Expose860()
|
|
55945
56161
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
55946
56162
|
__decorateClass([
|
|
55947
|
-
|
|
55948
|
-
|
|
55949
|
-
|
|
55950
|
-
|
|
55951
|
-
|
|
56163
|
+
IsOptional86(),
|
|
56164
|
+
IsArray273(),
|
|
56165
|
+
ValidateNested443({ each: true }),
|
|
56166
|
+
Type515(() => FavoritoDTO2),
|
|
56167
|
+
Expose860()
|
|
55952
56168
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
55953
56169
|
|
|
55954
56170
|
// src/v2/utils/validateCustom.ts
|
|
@@ -56083,6 +56299,7 @@ export {
|
|
|
56083
56299
|
AttendanceStatus,
|
|
56084
56300
|
AuthUserDto,
|
|
56085
56301
|
AutoInventarioENTITY,
|
|
56302
|
+
BAREMO_SUBCONTRATA_TYPES,
|
|
56086
56303
|
BankVendorDto,
|
|
56087
56304
|
BantelENTITY,
|
|
56088
56305
|
BaremoAlemaniaENTITY,
|
|
@@ -56129,6 +56346,7 @@ export {
|
|
|
56129
56346
|
CentroCostosENTITY,
|
|
56130
56347
|
CertificacionDTO,
|
|
56131
56348
|
ChangeHomePassStateDto,
|
|
56349
|
+
ChangeJobStateDto,
|
|
56132
56350
|
ChangeStateBaremosDTO,
|
|
56133
56351
|
Chile9512TOAENTITY,
|
|
56134
56352
|
ChileTdCENTITY,
|
|
@@ -56565,6 +56783,7 @@ export {
|
|
|
56565
56783
|
PBbyMaterialQuantitiesDTO,
|
|
56566
56784
|
PBbyMaterialQuantitiesPeru9112ClaroDTO,
|
|
56567
56785
|
PBbyMaterialQuantitiesSomacylDTO,
|
|
56786
|
+
PRE_LIQUIDATE_TYPES,
|
|
56568
56787
|
PagosECBaremoDTO,
|
|
56569
56788
|
PagosECDTO,
|
|
56570
56789
|
PaisENTITY,
|
|
@@ -56600,6 +56819,11 @@ export {
|
|
|
56600
56819
|
PlantaPeru9112ClaroDTO,
|
|
56601
56820
|
PlantaSomacylDTO,
|
|
56602
56821
|
PreAcceptedDto,
|
|
56822
|
+
PreLiquidateLineDto,
|
|
56823
|
+
PreLiquidateMaterialDto,
|
|
56824
|
+
PreLiquidateNewLaborDto,
|
|
56825
|
+
PreLiquidateUnitDto,
|
|
56826
|
+
PreLiquidateValuationDto,
|
|
56603
56827
|
PrecioActualDTO,
|
|
56604
56828
|
PrecioAgencia_mam_onnetENTITY,
|
|
56605
56829
|
PrecioContratistaIssueAL02ENTITY,
|