sigo-entities 1.2.548 → 1.2.549
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/.claude/scheduled_tasks.lock +1 -0
- package/dist/index.d.mts +49 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.js +408 -255
- package/dist/index.mjs +912 -751
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9124,11 +9124,12 @@ __decorateClass([
|
|
|
9124
9124
|
|
|
9125
9125
|
// src/programados/procesos/trabajo/shared/dto/update-anexos-request-body.ts
|
|
9126
9126
|
import { Expose as Expose172, Type as Type113 } from "class-transformer";
|
|
9127
|
-
import { IsArray as IsArray53, IsDefined as IsDefined56, IsNumber as IsNumber122, Min as Min98, ArrayNotEmpty, ValidateNested as ValidateNested102 } from "class-validator";
|
|
9127
|
+
import { IsArray as IsArray53, IsBoolean as IsBoolean12, IsDefined as IsDefined56, IsNumber as IsNumber122, IsOptional as IsOptional11, Min as Min98, ArrayNotEmpty, ValidateNested as ValidateNested102 } from "class-validator";
|
|
9128
9128
|
var SEUpdateAnexosTrabajoRequestBody = class {
|
|
9129
9129
|
ID_Valorizacion;
|
|
9130
9130
|
ID_Trabajo;
|
|
9131
9131
|
Anexos;
|
|
9132
|
+
SubsanarDocumentacion;
|
|
9132
9133
|
};
|
|
9133
9134
|
__decorateClass([
|
|
9134
9135
|
IsDefined56({ message: "es requerido" }),
|
|
@@ -9150,6 +9151,11 @@ __decorateClass([
|
|
|
9150
9151
|
ValidateNested102({ each: true }),
|
|
9151
9152
|
Expose172()
|
|
9152
9153
|
], SEUpdateAnexosTrabajoRequestBody.prototype, "Anexos", 2);
|
|
9154
|
+
__decorateClass([
|
|
9155
|
+
IsOptional11(),
|
|
9156
|
+
IsBoolean12({ message: "debe ser un booleano" }),
|
|
9157
|
+
Expose172()
|
|
9158
|
+
], SEUpdateAnexosTrabajoRequestBody.prototype, "SubsanarDocumentacion", 2);
|
|
9153
9159
|
|
|
9154
9160
|
// src/programados/procesos/trabajo/shared/dto/reject-valuation-request-body.ts
|
|
9155
9161
|
import { Expose as Expose173 } from "class-transformer";
|
|
@@ -9309,7 +9315,7 @@ import { IsArray as IsArray56, IsNotEmpty as IsNotEmpty122, ValidateNested as Va
|
|
|
9309
9315
|
|
|
9310
9316
|
// src/programados/procesos/trabajo/alemania/dto/valorizacion-dto.ts
|
|
9311
9317
|
import { Expose as Expose176, Type as Type115 } from "class-transformer";
|
|
9312
|
-
import { IsArray as IsArray55, IsDate as IsDate40, IsNotEmpty as IsNotEmpty121, IsNumber as IsNumber126, IsOptional as
|
|
9318
|
+
import { IsArray as IsArray55, IsDate as IsDate40, IsNotEmpty as IsNotEmpty121, IsNumber as IsNumber126, IsOptional as IsOptional12, IsString as IsString141, Length as Length103, MinLength as MinLength24, ValidateNested as ValidateNested104 } from "class-validator";
|
|
9313
9319
|
var ValorizacionAlemaniaDTO = class {
|
|
9314
9320
|
ID_Valorizacion = 0;
|
|
9315
9321
|
Amap = 0;
|
|
@@ -9529,7 +9535,7 @@ __decorateClass([
|
|
|
9529
9535
|
Expose176()
|
|
9530
9536
|
], ValorizacionAlemaniaDTO.prototype, "CodigoOT", 2);
|
|
9531
9537
|
__decorateClass([
|
|
9532
|
-
|
|
9538
|
+
IsOptional12(),
|
|
9533
9539
|
IsString141({ message: "debe ser un texto" }),
|
|
9534
9540
|
Expose176()
|
|
9535
9541
|
], ValorizacionAlemaniaDTO.prototype, "ID_Operacion", 2);
|
|
@@ -9910,7 +9916,7 @@ import { IsDate as IsDate45, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber13
|
|
|
9910
9916
|
|
|
9911
9917
|
// src/programados/procesos/trabajoMacroObra/shared/periodo-dto.ts
|
|
9912
9918
|
import { Expose as Expose182 } from "class-transformer";
|
|
9913
|
-
import { IsDate as IsDate44, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber129, IsOptional as
|
|
9919
|
+
import { IsDate as IsDate44, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber129, IsOptional as IsOptional13, IsString as IsString144, Length as Length106, ValidateIf as ValidateIf2 } from "class-validator";
|
|
9914
9920
|
var PeriodoDTO2 = class {
|
|
9915
9921
|
ID_Periodo = 0;
|
|
9916
9922
|
Codigo = "";
|
|
@@ -9936,12 +9942,12 @@ __decorateClass([
|
|
|
9936
9942
|
Expose182()
|
|
9937
9943
|
], PeriodoDTO2.prototype, "FechaInicio", 2);
|
|
9938
9944
|
__decorateClass([
|
|
9939
|
-
|
|
9945
|
+
IsOptional13(),
|
|
9940
9946
|
ValidateIf2((o) => o.FechaFin !== null && o.FechaFin !== "" && o.FechaFin !== void 0),
|
|
9941
9947
|
Expose182()
|
|
9942
9948
|
], PeriodoDTO2.prototype, "FechaFin", 2);
|
|
9943
9949
|
__decorateClass([
|
|
9944
|
-
|
|
9950
|
+
IsOptional13(),
|
|
9945
9951
|
ValidateIf2((o) => o.FechaMaxima !== null && o.FechaMaxima !== "" && o.FechaMaxima !== void 0),
|
|
9946
9952
|
Expose182()
|
|
9947
9953
|
], PeriodoDTO2.prototype, "FechaMaxima", 2);
|
|
@@ -11067,13 +11073,13 @@ import { IsArray as IsArray66, IsNotEmpty as IsNotEmpty141, ValidateNested as Va
|
|
|
11067
11073
|
|
|
11068
11074
|
// src/programados/procesos/trabajoMacroObra/shared/dto/estado-HPList-dto.ts
|
|
11069
11075
|
import { Expose as Expose195 } from "class-transformer";
|
|
11070
|
-
import { IsBoolean as
|
|
11076
|
+
import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty140, IsString as IsString154, Length as Length116 } from "class-validator";
|
|
11071
11077
|
var EstadoHPListDTO2 = class {
|
|
11072
11078
|
Estado = true;
|
|
11073
11079
|
Especialidad = "";
|
|
11074
11080
|
};
|
|
11075
11081
|
__decorateClass([
|
|
11076
|
-
|
|
11082
|
+
IsBoolean13({ message: "debe ser un booleano" }),
|
|
11077
11083
|
IsNotEmpty140({ message: "es requerido" }),
|
|
11078
11084
|
Expose195()
|
|
11079
11085
|
], EstadoHPListDTO2.prototype, "Estado", 2);
|
|
@@ -12023,7 +12029,7 @@ import {
|
|
|
12023
12029
|
IsArray as IsArray76,
|
|
12024
12030
|
IsDefined as IsDefined67,
|
|
12025
12031
|
IsNumber as IsNumber158,
|
|
12026
|
-
IsOptional as
|
|
12032
|
+
IsOptional as IsOptional14,
|
|
12027
12033
|
IsString as IsString173,
|
|
12028
12034
|
MinLength as MinLength31,
|
|
12029
12035
|
ValidateNested as ValidateNested132
|
|
@@ -12259,14 +12265,14 @@ __decorateClass([
|
|
|
12259
12265
|
Type147(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO),
|
|
12260
12266
|
IsArray76(),
|
|
12261
12267
|
Expose219(),
|
|
12262
|
-
|
|
12268
|
+
IsOptional14(),
|
|
12263
12269
|
ValidateNested132({ each: true })
|
|
12264
12270
|
], ResumenAvanceDataGranTotal.prototype, "ValorizacionesByPeriodos", 2);
|
|
12265
12271
|
__decorateClass([
|
|
12266
12272
|
Type147(() => ResumenAvanceDataGranTotalEmpresasChileDTO),
|
|
12267
12273
|
IsArray76(),
|
|
12268
12274
|
Expose219(),
|
|
12269
|
-
|
|
12275
|
+
IsOptional14(),
|
|
12270
12276
|
ValidateNested132({ each: true })
|
|
12271
12277
|
], ResumenAvanceDataGranTotal.prototype, "Empresas", 2);
|
|
12272
12278
|
__decorateClass([
|
|
@@ -12574,17 +12580,17 @@ __decorateClass([
|
|
|
12574
12580
|
|
|
12575
12581
|
// src/programados/procesos/macroobra/chile/dto/data-documentacion/resumen-avance-data-documentacion-dto.ts
|
|
12576
12582
|
import { Expose as Expose232, Type as Type158 } from "class-transformer";
|
|
12577
|
-
import { IsArray as IsArray84, IsBoolean as
|
|
12583
|
+
import { IsArray as IsArray84, IsBoolean as IsBoolean17, IsString as IsString180, ValidateNested as ValidateNested143 } from "class-validator";
|
|
12578
12584
|
|
|
12579
12585
|
// src/programados/procesos/macroobra/chile/dto/data-documentacion/resumen-avance-data-documentacion-datawithpercents-chile-dto.ts
|
|
12580
|
-
import { IsString as IsString178, IsBoolean as
|
|
12586
|
+
import { IsString as IsString178, IsBoolean as IsBoolean15, IsNumber as IsNumber164, ValidateNested as ValidateNested141, IsArray as IsArray82, IsNotEmpty as IsNotEmpty165, Length as Length130, Min as Min128 } from "class-validator";
|
|
12581
12587
|
import { Expose as Expose230, Type as Type156 } from "class-transformer";
|
|
12582
12588
|
|
|
12583
12589
|
// src/programados/procesos/macroobra/chile/dto/data-documentacion/resumen-avance-data-documentacion-data-with-percents-by-fases-chile-dto.ts
|
|
12584
12590
|
import { Expose as Expose229, Type as Type155 } from "class-transformer";
|
|
12585
12591
|
import {
|
|
12586
12592
|
IsArray as IsArray81,
|
|
12587
|
-
IsBoolean as
|
|
12593
|
+
IsBoolean as IsBoolean14,
|
|
12588
12594
|
IsNotEmpty as IsNotEmpty164,
|
|
12589
12595
|
IsNumber as IsNumber163,
|
|
12590
12596
|
IsString as IsString177,
|
|
@@ -12625,12 +12631,12 @@ __decorateClass([
|
|
|
12625
12631
|
Expose229()
|
|
12626
12632
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO.prototype, "Titulo", 2);
|
|
12627
12633
|
__decorateClass([
|
|
12628
|
-
|
|
12634
|
+
IsBoolean14({ message: "debe ser un booleano" }),
|
|
12629
12635
|
IsNotEmpty164({ message: "es requerido" }),
|
|
12630
12636
|
Expose229()
|
|
12631
12637
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO.prototype, "FileExist", 2);
|
|
12632
12638
|
__decorateClass([
|
|
12633
|
-
|
|
12639
|
+
IsBoolean14({ message: "debe ser un booleano" }),
|
|
12634
12640
|
IsNotEmpty164({ message: "es requerido" }),
|
|
12635
12641
|
Expose229()
|
|
12636
12642
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO.prototype, "isProgress", 2);
|
|
@@ -12741,12 +12747,12 @@ __decorateClass([
|
|
|
12741
12747
|
Expose230()
|
|
12742
12748
|
], ResumenAvanceDataDocumentacionDataWithPercentsChile.prototype, "Titulo", 2);
|
|
12743
12749
|
__decorateClass([
|
|
12744
|
-
|
|
12750
|
+
IsBoolean15({ message: "debe ser un booleano" }),
|
|
12745
12751
|
IsNotEmpty165({ message: "es requerido" }),
|
|
12746
12752
|
Expose230()
|
|
12747
12753
|
], ResumenAvanceDataDocumentacionDataWithPercentsChile.prototype, "FileExist", 2);
|
|
12748
12754
|
__decorateClass([
|
|
12749
|
-
|
|
12755
|
+
IsBoolean15({ message: "debe ser un booleano" }),
|
|
12750
12756
|
IsNotEmpty165({ message: "es requerido" }),
|
|
12751
12757
|
Expose230()
|
|
12752
12758
|
], ResumenAvanceDataDocumentacionDataWithPercentsChile.prototype, "isProgress", 2);
|
|
@@ -12837,7 +12843,7 @@ __decorateClass([
|
|
|
12837
12843
|
import { Expose as Expose231, Type as Type157 } from "class-transformer";
|
|
12838
12844
|
import {
|
|
12839
12845
|
IsArray as IsArray83,
|
|
12840
|
-
IsBoolean as
|
|
12846
|
+
IsBoolean as IsBoolean16,
|
|
12841
12847
|
IsNumber as IsNumber165,
|
|
12842
12848
|
IsString as IsString179,
|
|
12843
12849
|
ValidateNested as ValidateNested142
|
|
@@ -12860,7 +12866,7 @@ var ResumenAvanceDataDocumentacionDataGroupToDrawDTO = class {
|
|
|
12860
12866
|
ProgressPercent = [];
|
|
12861
12867
|
};
|
|
12862
12868
|
__decorateClass([
|
|
12863
|
-
|
|
12869
|
+
IsBoolean16(),
|
|
12864
12870
|
Expose231()
|
|
12865
12871
|
], ResumenAvanceDataDocumentacionDataGroupToDrawDTO.prototype, "IsDebug", 2);
|
|
12866
12872
|
__decorateClass([
|
|
@@ -12876,7 +12882,7 @@ __decorateClass([
|
|
|
12876
12882
|
__decorateClass([
|
|
12877
12883
|
IsArray83(),
|
|
12878
12884
|
Expose231(),
|
|
12879
|
-
|
|
12885
|
+
IsBoolean16({ each: true })
|
|
12880
12886
|
], ResumenAvanceDataDocumentacionDataGroupToDrawDTO.prototype, "FileExist", 2);
|
|
12881
12887
|
__decorateClass([
|
|
12882
12888
|
Type157(() => ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO),
|
|
@@ -12944,7 +12950,7 @@ var ResumenAvanceDataDocumentacionDTO = class {
|
|
|
12944
12950
|
Estado = "";
|
|
12945
12951
|
};
|
|
12946
12952
|
__decorateClass([
|
|
12947
|
-
|
|
12953
|
+
IsBoolean17(),
|
|
12948
12954
|
Expose232()
|
|
12949
12955
|
], ResumenAvanceDataDocumentacionDTO.prototype, "IsDebug", 2);
|
|
12950
12956
|
__decorateClass([
|
|
@@ -13064,17 +13070,17 @@ __decorateClass([
|
|
|
13064
13070
|
|
|
13065
13071
|
// src/programados/procesos/macroobra/peru/dto/data-documentacion/resumen-avance-data-documentacion-peru-dto.ts
|
|
13066
13072
|
import { Expose as Expose241, Type as Type165 } from "class-transformer";
|
|
13067
|
-
import { IsArray as IsArray89, IsBoolean as
|
|
13073
|
+
import { IsArray as IsArray89, IsBoolean as IsBoolean21, IsString as IsString187, ValidateNested as ValidateNested150 } from "class-validator";
|
|
13068
13074
|
|
|
13069
13075
|
// src/programados/procesos/macroobra/peru/dto/data-documentacion/resumen-avance-data-documentacion-datawithpercents-peru-dto.ts
|
|
13070
|
-
import { IsString as IsString185, IsBoolean as
|
|
13076
|
+
import { IsString as IsString185, IsBoolean as IsBoolean19, IsNumber as IsNumber169, ValidateNested as ValidateNested148, IsArray as IsArray87, IsNotEmpty as IsNotEmpty171, Length as Length134, Min as Min132 } from "class-validator";
|
|
13071
13077
|
import { Expose as Expose239, Type as Type163 } from "class-transformer";
|
|
13072
13078
|
|
|
13073
13079
|
// src/programados/procesos/macroobra/peru/dto/data-documentacion/resumen-avance-data-documentacion-data-with-percents-by-fases-peru-dto.ts
|
|
13074
13080
|
import { Expose as Expose238, Type as Type162 } from "class-transformer";
|
|
13075
13081
|
import {
|
|
13076
13082
|
IsArray as IsArray86,
|
|
13077
|
-
IsBoolean as
|
|
13083
|
+
IsBoolean as IsBoolean18,
|
|
13078
13084
|
IsNotEmpty as IsNotEmpty170,
|
|
13079
13085
|
IsNumber as IsNumber168,
|
|
13080
13086
|
IsString as IsString184,
|
|
@@ -13115,12 +13121,12 @@ __decorateClass([
|
|
|
13115
13121
|
Expose238()
|
|
13116
13122
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO.prototype, "Titulo", 2);
|
|
13117
13123
|
__decorateClass([
|
|
13118
|
-
|
|
13124
|
+
IsBoolean18({ message: "debe ser un booleano" }),
|
|
13119
13125
|
IsNotEmpty170({ message: "es requerido" }),
|
|
13120
13126
|
Expose238()
|
|
13121
13127
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO.prototype, "FileExist", 2);
|
|
13122
13128
|
__decorateClass([
|
|
13123
|
-
|
|
13129
|
+
IsBoolean18({ message: "debe ser un booleano" }),
|
|
13124
13130
|
IsNotEmpty170({ message: "es requerido" }),
|
|
13125
13131
|
Expose238()
|
|
13126
13132
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO.prototype, "isProgress", 2);
|
|
@@ -13231,12 +13237,12 @@ __decorateClass([
|
|
|
13231
13237
|
Expose239()
|
|
13232
13238
|
], ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO.prototype, "Titulo", 2);
|
|
13233
13239
|
__decorateClass([
|
|
13234
|
-
|
|
13240
|
+
IsBoolean19({ message: "debe ser un booleano" }),
|
|
13235
13241
|
IsNotEmpty171({ message: "es requerido" }),
|
|
13236
13242
|
Expose239()
|
|
13237
13243
|
], ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO.prototype, "FileExist", 2);
|
|
13238
13244
|
__decorateClass([
|
|
13239
|
-
|
|
13245
|
+
IsBoolean19({ message: "debe ser un booleano" }),
|
|
13240
13246
|
IsNotEmpty171({ message: "es requerido" }),
|
|
13241
13247
|
Expose239()
|
|
13242
13248
|
], ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO.prototype, "isProgress", 2);
|
|
@@ -13327,7 +13333,7 @@ __decorateClass([
|
|
|
13327
13333
|
import { Expose as Expose240, Type as Type164 } from "class-transformer";
|
|
13328
13334
|
import {
|
|
13329
13335
|
IsArray as IsArray88,
|
|
13330
|
-
IsBoolean as
|
|
13336
|
+
IsBoolean as IsBoolean20,
|
|
13331
13337
|
IsNumber as IsNumber170,
|
|
13332
13338
|
IsString as IsString186,
|
|
13333
13339
|
ValidateNested as ValidateNested149
|
|
@@ -13350,7 +13356,7 @@ var ResumenAvanceDataDocumentacionDataGroupToDrawPeruDTO = class {
|
|
|
13350
13356
|
ProgressPercent = [];
|
|
13351
13357
|
};
|
|
13352
13358
|
__decorateClass([
|
|
13353
|
-
|
|
13359
|
+
IsBoolean20(),
|
|
13354
13360
|
Expose240()
|
|
13355
13361
|
], ResumenAvanceDataDocumentacionDataGroupToDrawPeruDTO.prototype, "IsDebug", 2);
|
|
13356
13362
|
__decorateClass([
|
|
@@ -13366,7 +13372,7 @@ __decorateClass([
|
|
|
13366
13372
|
__decorateClass([
|
|
13367
13373
|
IsArray88(),
|
|
13368
13374
|
Expose240(),
|
|
13369
|
-
|
|
13375
|
+
IsBoolean20({ each: true })
|
|
13370
13376
|
], ResumenAvanceDataDocumentacionDataGroupToDrawPeruDTO.prototype, "FileExist", 2);
|
|
13371
13377
|
__decorateClass([
|
|
13372
13378
|
Type164(() => ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO),
|
|
@@ -13434,7 +13440,7 @@ var ResumenAvanceDataDocumentacionPeruDTO = class {
|
|
|
13434
13440
|
Estado = "";
|
|
13435
13441
|
};
|
|
13436
13442
|
__decorateClass([
|
|
13437
|
-
|
|
13443
|
+
IsBoolean21(),
|
|
13438
13444
|
Expose241()
|
|
13439
13445
|
], ResumenAvanceDataDocumentacionPeruDTO.prototype, "IsDebug", 2);
|
|
13440
13446
|
__decorateClass([
|
|
@@ -13643,7 +13649,7 @@ import {
|
|
|
13643
13649
|
IsArray as IsArray90,
|
|
13644
13650
|
IsDefined as IsDefined73,
|
|
13645
13651
|
IsNumber as IsNumber174,
|
|
13646
|
-
IsOptional as
|
|
13652
|
+
IsOptional as IsOptional18,
|
|
13647
13653
|
IsString as IsString191,
|
|
13648
13654
|
Min as Min135,
|
|
13649
13655
|
MinLength as MinLength33,
|
|
@@ -13709,14 +13715,14 @@ __decorateClass([
|
|
|
13709
13715
|
Type166(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO),
|
|
13710
13716
|
IsArray90(),
|
|
13711
13717
|
Expose245(),
|
|
13712
|
-
|
|
13718
|
+
IsOptional18(),
|
|
13713
13719
|
ValidateNested151({ each: true })
|
|
13714
13720
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
13715
13721
|
__decorateClass([
|
|
13716
13722
|
Type166(() => ResumenAvanceDataGranTotalEmpresasPeruDTO),
|
|
13717
13723
|
IsArray90(),
|
|
13718
13724
|
Expose245(),
|
|
13719
|
-
|
|
13725
|
+
IsOptional18(),
|
|
13720
13726
|
ValidateNested151({ each: true })
|
|
13721
13727
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "Empresas", 2);
|
|
13722
13728
|
__decorateClass([
|
|
@@ -14287,7 +14293,7 @@ import {
|
|
|
14287
14293
|
IsArray as IsArray98,
|
|
14288
14294
|
IsDefined as IsDefined79,
|
|
14289
14295
|
IsNumber as IsNumber190,
|
|
14290
|
-
IsOptional as
|
|
14296
|
+
IsOptional as IsOptional22,
|
|
14291
14297
|
IsString as IsString204,
|
|
14292
14298
|
Min as Min148,
|
|
14293
14299
|
MinLength as MinLength35,
|
|
@@ -14534,14 +14540,14 @@ __decorateClass([
|
|
|
14534
14540
|
Type178(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO),
|
|
14535
14541
|
IsArray98(),
|
|
14536
14542
|
Expose264(),
|
|
14537
|
-
|
|
14543
|
+
IsOptional22(),
|
|
14538
14544
|
ValidateNested161({ each: true })
|
|
14539
14545
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
14540
14546
|
__decorateClass([
|
|
14541
14547
|
Type178(() => ResumenAvanceDataGranTotalEmpresasAlemaniaDTO),
|
|
14542
14548
|
IsArray98(),
|
|
14543
14549
|
Expose264(),
|
|
14544
|
-
|
|
14550
|
+
IsOptional22(),
|
|
14545
14551
|
ValidateNested161({ each: true })
|
|
14546
14552
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "Empresas", 2);
|
|
14547
14553
|
__decorateClass([
|
|
@@ -14795,17 +14801,17 @@ __decorateClass([
|
|
|
14795
14801
|
|
|
14796
14802
|
// src/programados/procesos/macroobra/alemania/dto/data-documentacion/resumen-avance-data-documentacion-alemania-dto.ts
|
|
14797
14803
|
import { Expose as Expose273, Type as Type186 } from "class-transformer";
|
|
14798
|
-
import { IsArray as IsArray104, IsBoolean as
|
|
14804
|
+
import { IsArray as IsArray104, IsBoolean as IsBoolean25, IsString as IsString212, ValidateNested as ValidateNested169 } from "class-validator";
|
|
14799
14805
|
|
|
14800
14806
|
// src/programados/procesos/macroobra/alemania/dto/data-documentacion/resumen-avance-data-documentacion-datawithpercents-alemania-dto.ts
|
|
14801
|
-
import { IsString as IsString210, IsBoolean as
|
|
14807
|
+
import { IsString as IsString210, IsBoolean as IsBoolean23, IsNumber as IsNumber193, ValidateNested as ValidateNested167, IsArray as IsArray102, IsNotEmpty as IsNotEmpty185, Length as Length146, Min as Min151 } from "class-validator";
|
|
14802
14808
|
import { Expose as Expose271, Type as Type184 } from "class-transformer";
|
|
14803
14809
|
|
|
14804
14810
|
// src/programados/procesos/macroobra/alemania/dto/data-documentacion/resumen-avance-data-documentacion-data-with-percents-by-fases-alemania-dto.ts
|
|
14805
14811
|
import { Expose as Expose270, Type as Type183 } from "class-transformer";
|
|
14806
14812
|
import {
|
|
14807
14813
|
IsArray as IsArray101,
|
|
14808
|
-
IsBoolean as
|
|
14814
|
+
IsBoolean as IsBoolean22,
|
|
14809
14815
|
IsNotEmpty as IsNotEmpty184,
|
|
14810
14816
|
IsNumber as IsNumber192,
|
|
14811
14817
|
IsString as IsString209,
|
|
@@ -14846,12 +14852,12 @@ __decorateClass([
|
|
|
14846
14852
|
Expose270()
|
|
14847
14853
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO.prototype, "Titulo", 2);
|
|
14848
14854
|
__decorateClass([
|
|
14849
|
-
|
|
14855
|
+
IsBoolean22({ message: "debe ser un booleano" }),
|
|
14850
14856
|
IsNotEmpty184({ message: "es requerido" }),
|
|
14851
14857
|
Expose270()
|
|
14852
14858
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO.prototype, "FileExist", 2);
|
|
14853
14859
|
__decorateClass([
|
|
14854
|
-
|
|
14860
|
+
IsBoolean22({ message: "debe ser un booleano" }),
|
|
14855
14861
|
IsNotEmpty184({ message: "es requerido" }),
|
|
14856
14862
|
Expose270()
|
|
14857
14863
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO.prototype, "isProgress", 2);
|
|
@@ -14962,12 +14968,12 @@ __decorateClass([
|
|
|
14962
14968
|
Expose271()
|
|
14963
14969
|
], ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO.prototype, "Titulo", 2);
|
|
14964
14970
|
__decorateClass([
|
|
14965
|
-
|
|
14971
|
+
IsBoolean23({ message: "debe ser un booleano" }),
|
|
14966
14972
|
IsNotEmpty185({ message: "es requerido" }),
|
|
14967
14973
|
Expose271()
|
|
14968
14974
|
], ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO.prototype, "FileExist", 2);
|
|
14969
14975
|
__decorateClass([
|
|
14970
|
-
|
|
14976
|
+
IsBoolean23({ message: "debe ser un booleano" }),
|
|
14971
14977
|
IsNotEmpty185({ message: "es requerido" }),
|
|
14972
14978
|
Expose271()
|
|
14973
14979
|
], ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO.prototype, "isProgress", 2);
|
|
@@ -15058,7 +15064,7 @@ __decorateClass([
|
|
|
15058
15064
|
import { Expose as Expose272, Type as Type185 } from "class-transformer";
|
|
15059
15065
|
import {
|
|
15060
15066
|
IsArray as IsArray103,
|
|
15061
|
-
IsBoolean as
|
|
15067
|
+
IsBoolean as IsBoolean24,
|
|
15062
15068
|
IsNumber as IsNumber194,
|
|
15063
15069
|
IsString as IsString211,
|
|
15064
15070
|
ValidateNested as ValidateNested168
|
|
@@ -15081,7 +15087,7 @@ var ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO = class {
|
|
|
15081
15087
|
ProgressPercent = [];
|
|
15082
15088
|
};
|
|
15083
15089
|
__decorateClass([
|
|
15084
|
-
|
|
15090
|
+
IsBoolean24(),
|
|
15085
15091
|
Expose272()
|
|
15086
15092
|
], ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO.prototype, "IsDebug", 2);
|
|
15087
15093
|
__decorateClass([
|
|
@@ -15097,7 +15103,7 @@ __decorateClass([
|
|
|
15097
15103
|
__decorateClass([
|
|
15098
15104
|
IsArray103(),
|
|
15099
15105
|
Expose272(),
|
|
15100
|
-
|
|
15106
|
+
IsBoolean24({ each: true })
|
|
15101
15107
|
], ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO.prototype, "FileExist", 2);
|
|
15102
15108
|
__decorateClass([
|
|
15103
15109
|
Type185(() => ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO),
|
|
@@ -15165,7 +15171,7 @@ var ResumenAvanceDataDocumentacionAlemaniaDTO = class {
|
|
|
15165
15171
|
Estado = "";
|
|
15166
15172
|
};
|
|
15167
15173
|
__decorateClass([
|
|
15168
|
-
|
|
15174
|
+
IsBoolean25(),
|
|
15169
15175
|
Expose273()
|
|
15170
15176
|
], ResumenAvanceDataDocumentacionAlemaniaDTO.prototype, "IsDebug", 2);
|
|
15171
15177
|
__decorateClass([
|
|
@@ -15507,7 +15513,7 @@ import { ValidateNested as ValidateNested186 } from "class-validator";
|
|
|
15507
15513
|
|
|
15508
15514
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance_data-gran-total-colombia-dto.ts
|
|
15509
15515
|
import { Expose as Expose286, Type as Type195 } from "class-transformer";
|
|
15510
|
-
import { IsArray as IsArray109, IsDefined as IsDefined85, IsNumber as IsNumber204, IsOptional as
|
|
15516
|
+
import { IsArray as IsArray109, IsDefined as IsDefined85, IsNumber as IsNumber204, IsOptional as IsOptional23, IsString as IsString220, Min as Min156, MinLength as MinLength37, ValidateNested as ValidateNested177 } from "class-validator";
|
|
15511
15517
|
|
|
15512
15518
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance-data-gran-total-empresas-colombia-dto.ts
|
|
15513
15519
|
import { Expose as Expose283 } from "class-transformer";
|
|
@@ -15749,14 +15755,14 @@ __decorateClass([
|
|
|
15749
15755
|
Type195(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO),
|
|
15750
15756
|
IsArray109(),
|
|
15751
15757
|
Expose286(),
|
|
15752
|
-
|
|
15758
|
+
IsOptional23(),
|
|
15753
15759
|
ValidateNested177({ each: true })
|
|
15754
15760
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
15755
15761
|
__decorateClass([
|
|
15756
15762
|
Type195(() => ResumenAvanceDataGranTotalEmpresasColombiaDTO),
|
|
15757
15763
|
IsArray109(),
|
|
15758
15764
|
Expose286(),
|
|
15759
|
-
|
|
15765
|
+
IsOptional23(),
|
|
15760
15766
|
ValidateNested177({ each: true })
|
|
15761
15767
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "Empresas", 2);
|
|
15762
15768
|
__decorateClass([
|
|
@@ -16010,15 +16016,15 @@ __decorateClass([
|
|
|
16010
16016
|
|
|
16011
16017
|
// src/programados/procesos/macroobra/colombia/dto/data-documentacion/resumen-avance-data-documentacion-colombia-dto.ts
|
|
16012
16018
|
import { Expose as Expose295, Type as Type203 } from "class-transformer";
|
|
16013
|
-
import { IsArray as IsArray115, IsBoolean as
|
|
16019
|
+
import { IsArray as IsArray115, IsBoolean as IsBoolean29, IsString as IsString228, ValidateNested as ValidateNested185 } from "class-validator";
|
|
16014
16020
|
|
|
16015
16021
|
// src/programados/procesos/macroobra/colombia/dto/data-documentacion/resumen-avance-data-documentacion-datawithpercents-colombia-dto.ts
|
|
16016
|
-
import { IsString as IsString226, IsBoolean as
|
|
16022
|
+
import { IsString as IsString226, IsBoolean as IsBoolean27, IsNumber as IsNumber207, ValidateNested as ValidateNested183, IsArray as IsArray113, IsNotEmpty as IsNotEmpty196, Length as Length153, Min as Min159 } from "class-validator";
|
|
16017
16023
|
import { Expose as Expose293, Type as Type201 } from "class-transformer";
|
|
16018
16024
|
|
|
16019
16025
|
// src/programados/procesos/macroobra/colombia/dto/data-documentacion/resumen-avance-data-documentacion-data-with-percents-by-fases-colombia-dto.ts
|
|
16020
16026
|
import { Expose as Expose292, Type as Type200 } from "class-transformer";
|
|
16021
|
-
import { IsArray as IsArray112, IsBoolean as
|
|
16027
|
+
import { IsArray as IsArray112, IsBoolean as IsBoolean26, IsNotEmpty as IsNotEmpty195, IsNumber as IsNumber206, IsString as IsString225, Length as Length152, Min as Min158, ValidateNested as ValidateNested182 } from "class-validator";
|
|
16022
16028
|
var _ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO = class _ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO {
|
|
16023
16029
|
Codigo = "";
|
|
16024
16030
|
Titulo = "";
|
|
@@ -16052,12 +16058,12 @@ __decorateClass([
|
|
|
16052
16058
|
Expose292()
|
|
16053
16059
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO.prototype, "Titulo", 2);
|
|
16054
16060
|
__decorateClass([
|
|
16055
|
-
|
|
16061
|
+
IsBoolean26({ message: "debe ser un booleano" }),
|
|
16056
16062
|
IsNotEmpty195({ message: "es requerido" }),
|
|
16057
16063
|
Expose292()
|
|
16058
16064
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO.prototype, "FileExist", 2);
|
|
16059
16065
|
__decorateClass([
|
|
16060
|
-
|
|
16066
|
+
IsBoolean26({ message: "debe ser un booleano" }),
|
|
16061
16067
|
IsNotEmpty195({ message: "es requerido" }),
|
|
16062
16068
|
Expose292()
|
|
16063
16069
|
], _ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO.prototype, "isProgress", 2);
|
|
@@ -16168,12 +16174,12 @@ __decorateClass([
|
|
|
16168
16174
|
Expose293()
|
|
16169
16175
|
], ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO.prototype, "Titulo", 2);
|
|
16170
16176
|
__decorateClass([
|
|
16171
|
-
|
|
16177
|
+
IsBoolean27({ message: "debe ser un booleano" }),
|
|
16172
16178
|
IsNotEmpty196({ message: "es requerido" }),
|
|
16173
16179
|
Expose293()
|
|
16174
16180
|
], ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO.prototype, "FileExist", 2);
|
|
16175
16181
|
__decorateClass([
|
|
16176
|
-
|
|
16182
|
+
IsBoolean27({ message: "debe ser un booleano" }),
|
|
16177
16183
|
IsNotEmpty196({ message: "es requerido" }),
|
|
16178
16184
|
Expose293()
|
|
16179
16185
|
], ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO.prototype, "isProgress", 2);
|
|
@@ -16262,7 +16268,7 @@ __decorateClass([
|
|
|
16262
16268
|
|
|
16263
16269
|
// src/programados/procesos/macroobra/colombia/dto/data-documentacion/resumen-avance-data-documentacion-datagrouptodraw-colombia-dto.ts
|
|
16264
16270
|
import { Expose as Expose294, Type as Type202 } from "class-transformer";
|
|
16265
|
-
import { IsArray as IsArray114, IsBoolean as
|
|
16271
|
+
import { IsArray as IsArray114, IsBoolean as IsBoolean28, IsNumber as IsNumber208, IsString as IsString227, ValidateNested as ValidateNested184 } from "class-validator";
|
|
16266
16272
|
var ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO = class {
|
|
16267
16273
|
IsDebug = false;
|
|
16268
16274
|
Codigo = [];
|
|
@@ -16281,7 +16287,7 @@ var ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO = class {
|
|
|
16281
16287
|
ProgressPercent = [];
|
|
16282
16288
|
};
|
|
16283
16289
|
__decorateClass([
|
|
16284
|
-
|
|
16290
|
+
IsBoolean28(),
|
|
16285
16291
|
Expose294()
|
|
16286
16292
|
], ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO.prototype, "IsDebug", 2);
|
|
16287
16293
|
__decorateClass([
|
|
@@ -16297,7 +16303,7 @@ __decorateClass([
|
|
|
16297
16303
|
__decorateClass([
|
|
16298
16304
|
IsArray114(),
|
|
16299
16305
|
Expose294(),
|
|
16300
|
-
|
|
16306
|
+
IsBoolean28({ each: true })
|
|
16301
16307
|
], ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO.prototype, "FileExist", 2);
|
|
16302
16308
|
__decorateClass([
|
|
16303
16309
|
Type202(() => ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO),
|
|
@@ -16365,7 +16371,7 @@ var ResumenAvanceDataDocumentacionColombiaDTO = class {
|
|
|
16365
16371
|
Estado = "";
|
|
16366
16372
|
};
|
|
16367
16373
|
__decorateClass([
|
|
16368
|
-
|
|
16374
|
+
IsBoolean29(),
|
|
16369
16375
|
Expose295()
|
|
16370
16376
|
], ResumenAvanceDataDocumentacionColombiaDTO.prototype, "IsDebug", 2);
|
|
16371
16377
|
__decorateClass([
|
|
@@ -16777,7 +16783,7 @@ __decorateClass([
|
|
|
16777
16783
|
|
|
16778
16784
|
// src/programados/procesos/obra/shared/requestDto/update-estado-interno-obra-request-dto.ts
|
|
16779
16785
|
import { Expose as Expose305 } from "class-transformer";
|
|
16780
|
-
import { IsNotEmpty as IsNotEmpty203, IsNumber as IsNumber213, IsOptional as
|
|
16786
|
+
import { IsNotEmpty as IsNotEmpty203, IsNumber as IsNumber213, IsOptional as IsOptional24, IsString as IsString233 } from "class-validator";
|
|
16781
16787
|
var UpdateEstadoInternoObraRequestDTO = class {
|
|
16782
16788
|
ID_Obra = "";
|
|
16783
16789
|
ID_EstadoInternoPadre = 0;
|
|
@@ -16796,12 +16802,12 @@ __decorateClass([
|
|
|
16796
16802
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
16797
16803
|
__decorateClass([
|
|
16798
16804
|
IsNumber213({}, { message: "debe ser un n\xFAmero" }),
|
|
16799
|
-
|
|
16805
|
+
IsOptional24(),
|
|
16800
16806
|
Expose305()
|
|
16801
16807
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_SubEstadoInterno", 2);
|
|
16802
16808
|
__decorateClass([
|
|
16803
16809
|
IsString233({ message: "debe ser un texto" }),
|
|
16804
|
-
|
|
16810
|
+
IsOptional24(),
|
|
16805
16811
|
Expose305()
|
|
16806
16812
|
], UpdateEstadoInternoObraRequestDTO.prototype, "Observacion", 2);
|
|
16807
16813
|
|
|
@@ -17970,14 +17976,14 @@ __decorateClass([
|
|
|
17970
17976
|
], HPListAsignacionDTO.prototype, "Anexos", 2);
|
|
17971
17977
|
|
|
17972
17978
|
// src/programados/procesos/addressList_AL04/shared/dto/estadoHPList-dto.ts
|
|
17973
|
-
import { IsBoolean as
|
|
17979
|
+
import { IsBoolean as IsBoolean30, IsNotEmpty as IsNotEmpty231, IsString as IsString243 } from "class-validator";
|
|
17974
17980
|
import { Expose as Expose335 } from "class-transformer";
|
|
17975
17981
|
var EstadoHPListDTO3 = class {
|
|
17976
17982
|
Estado = true;
|
|
17977
17983
|
Especialidad = "";
|
|
17978
17984
|
};
|
|
17979
17985
|
__decorateClass([
|
|
17980
|
-
|
|
17986
|
+
IsBoolean30({ message: "debe ser true o false" }),
|
|
17981
17987
|
IsNotEmpty231({ message: "es requerido" }),
|
|
17982
17988
|
Expose335()
|
|
17983
17989
|
], EstadoHPListDTO3.prototype, "Estado", 2);
|
|
@@ -19464,7 +19470,7 @@ import { IsArray as IsArray140, IsDefined as IsDefined103, ValidateNested as Val
|
|
|
19464
19470
|
|
|
19465
19471
|
// src/programados/procesos/cubicacion/alemania/dto/material-cubicacion-alemania-dto.ts
|
|
19466
19472
|
import { Expose as Expose352, Type as Type247 } from "class-transformer";
|
|
19467
|
-
import { IsDefined as IsDefined102, IsNumber as IsNumber242, IsOptional as
|
|
19473
|
+
import { IsDefined as IsDefined102, IsNumber as IsNumber242, IsOptional as IsOptional25, IsString as IsString257, Min as Min190, ValidateNested as ValidateNested225 } from "class-validator";
|
|
19468
19474
|
var MaterialCubicacionAlemaniaDTO = class {
|
|
19469
19475
|
codigo = "";
|
|
19470
19476
|
descripcion = "";
|
|
@@ -19491,7 +19497,7 @@ __decorateClass([
|
|
|
19491
19497
|
Type247(() => UnidadMedidaDTO),
|
|
19492
19498
|
ValidateNested225(),
|
|
19493
19499
|
Expose352(),
|
|
19494
|
-
|
|
19500
|
+
IsOptional25()
|
|
19495
19501
|
], MaterialCubicacionAlemaniaDTO.prototype, "unidad", 2);
|
|
19496
19502
|
|
|
19497
19503
|
// src/programados/procesos/cubicacion/alemania/dto/detalle-cubicacion-alemania-dto.ts
|
|
@@ -19507,7 +19513,7 @@ __decorateClass([
|
|
|
19507
19513
|
], DetalleCubicacionAlemaniaDTO.prototype, "materiales", 2);
|
|
19508
19514
|
|
|
19509
19515
|
// src/programados/procesos/cubicacion/alemania/index.ts
|
|
19510
|
-
import { IsOptional as
|
|
19516
|
+
import { IsOptional as IsOptional26, ValidateNested as ValidateNested229 } from "class-validator";
|
|
19511
19517
|
|
|
19512
19518
|
// src/programados/procesos/cubicacion/alemania/AL04/index.ts
|
|
19513
19519
|
import { Expose as Expose357, Type as Type250 } from "class-transformer";
|
|
@@ -19596,7 +19602,7 @@ __decorateClass([
|
|
|
19596
19602
|
Type251(() => DetalleCubicacionAlemaniaDTO),
|
|
19597
19603
|
ValidateNested229(),
|
|
19598
19604
|
Expose358(),
|
|
19599
|
-
|
|
19605
|
+
IsOptional26()
|
|
19600
19606
|
], CubicacionAlemaniaAL02ENTITY.prototype, "DetalleAlemania", 2);
|
|
19601
19607
|
|
|
19602
19608
|
// src/programados/procesos/cubicacion/peru/index.ts
|
|
@@ -19822,7 +19828,7 @@ __decorateClass([
|
|
|
19822
19828
|
], DetalleAtipicaPeruDTO.prototype, "Material", 2);
|
|
19823
19829
|
|
|
19824
19830
|
// src/programados/procesos/cubicacion/peru/index.ts
|
|
19825
|
-
import { IsDefined as IsDefined111, IsOptional as
|
|
19831
|
+
import { IsDefined as IsDefined111, IsOptional as IsOptional27, ValidateNested as ValidateNested232 } from "class-validator";
|
|
19826
19832
|
var CubicacionPeru9112ENTITY = class extends CubicacionENTITY {
|
|
19827
19833
|
cabecera = new CabeceraCubicajePeruDTO();
|
|
19828
19834
|
DetallePeru = new DetallePeruDTO();
|
|
@@ -19843,7 +19849,7 @@ __decorateClass([
|
|
|
19843
19849
|
Type254(() => DetalleAtipicaPeruDTO),
|
|
19844
19850
|
ValidateNested232(),
|
|
19845
19851
|
Expose363(),
|
|
19846
|
-
|
|
19852
|
+
IsOptional27()
|
|
19847
19853
|
], CubicacionPeru9112ENTITY.prototype, "DetalleAtipica", 2);
|
|
19848
19854
|
|
|
19849
19855
|
// src/programados/procesos/cubicacion/colombia/index.ts
|
|
@@ -20212,7 +20218,7 @@ __decorateClass([
|
|
|
20212
20218
|
|
|
20213
20219
|
// src/programados/procesos/precioContratistaMaterial/shared/dto/material-precio-contratista-dto.ts
|
|
20214
20220
|
import { Expose as Expose373, Transform as Transform38, Type as Type261 } from "class-transformer";
|
|
20215
|
-
import { IsArray as IsArray147, IsNumber as IsNumber252, IsString as IsString265, Length as Length167, Min as Min194, ValidateNested as ValidateNested238, IsBoolean as
|
|
20221
|
+
import { IsArray as IsArray147, IsNumber as IsNumber252, IsString as IsString265, Length as Length167, Min as Min194, ValidateNested as ValidateNested238, IsBoolean as IsBoolean31, IsDate as IsDate75, IsDefined as IsDefined121 } from "class-validator";
|
|
20216
20222
|
var MaterialPrecioContratistaDTO = class {
|
|
20217
20223
|
ID_Item = 0;
|
|
20218
20224
|
Propio = true;
|
|
@@ -20240,7 +20246,7 @@ __decorateClass([
|
|
|
20240
20246
|
], MaterialPrecioContratistaDTO.prototype, "ID_Item", 2);
|
|
20241
20247
|
__decorateClass([
|
|
20242
20248
|
IsDefined121({ message: "El campo Propio es obligatorio" }),
|
|
20243
|
-
|
|
20249
|
+
IsBoolean31({ message: "debe ser un booleano" }),
|
|
20244
20250
|
Expose373()
|
|
20245
20251
|
], MaterialPrecioContratistaDTO.prototype, "Propio", 2);
|
|
20246
20252
|
__decorateClass([
|
|
@@ -20448,7 +20454,7 @@ import { Expose as Expose378, Type as Type265 } from "class-transformer";
|
|
|
20448
20454
|
// src/programados/procesos/Issue/shared/dto/datos-issue-produccion-dto.ts
|
|
20449
20455
|
import { Expose as Expose376, Type as Type263 } from "class-transformer";
|
|
20450
20456
|
import {
|
|
20451
|
-
IsBoolean as
|
|
20457
|
+
IsBoolean as IsBoolean32,
|
|
20452
20458
|
IsDate as IsDate76,
|
|
20453
20459
|
IsDefined as IsDefined123,
|
|
20454
20460
|
IsNumber as IsNumber254,
|
|
@@ -20596,7 +20602,7 @@ __decorateClass([
|
|
|
20596
20602
|
Expose376()
|
|
20597
20603
|
], DatosIssueProduccionEmpresaDTO.prototype, "RazonSocial", 2);
|
|
20598
20604
|
__decorateClass([
|
|
20599
|
-
|
|
20605
|
+
IsBoolean32({ message: "debe ser un booleano" }),
|
|
20600
20606
|
Expose376()
|
|
20601
20607
|
], DatosIssueProduccionEmpresaDTO.prototype, "Propia", 2);
|
|
20602
20608
|
|
|
@@ -21066,7 +21072,7 @@ __decorateClass([
|
|
|
21066
21072
|
|
|
21067
21073
|
// src/programados/procesos/replanteo/shared/index.ts
|
|
21068
21074
|
import { Expose as Expose388, Type as Type274 } from "class-transformer";
|
|
21069
|
-
import { IsDefined as IsDefined129, IsIn as IsIn4, IsNumber as IsNumber263, IsOptional as
|
|
21075
|
+
import { IsDefined as IsDefined129, IsIn as IsIn4, IsNumber as IsNumber263, IsOptional as IsOptional28, IsString as IsString275, Min as Min205, ValidateNested as ValidateNested249 } from "class-validator";
|
|
21070
21076
|
|
|
21071
21077
|
// src/programados/procesos/replanteo/shared/dto/replanteo-reservas-dto.ts
|
|
21072
21078
|
import { Expose as Expose385, Type as Type271 } from "class-transformer";
|
|
@@ -21224,19 +21230,19 @@ __decorateClass([
|
|
|
21224
21230
|
Expose388()
|
|
21225
21231
|
], ReplanteoENTITY.prototype, "Cambios", 2);
|
|
21226
21232
|
__decorateClass([
|
|
21227
|
-
|
|
21233
|
+
IsOptional28(),
|
|
21228
21234
|
Type274(() => FilesDocDTO),
|
|
21229
21235
|
ValidateNested249(),
|
|
21230
21236
|
Expose388()
|
|
21231
21237
|
], ReplanteoENTITY.prototype, "Adjunto", 2);
|
|
21232
21238
|
__decorateClass([
|
|
21233
|
-
|
|
21239
|
+
IsOptional28(),
|
|
21234
21240
|
Type274(() => FilesDocDTO),
|
|
21235
21241
|
ValidateNested249(),
|
|
21236
21242
|
Expose388()
|
|
21237
21243
|
], ReplanteoENTITY.prototype, "PDF", 2);
|
|
21238
21244
|
__decorateClass([
|
|
21239
|
-
|
|
21245
|
+
IsOptional28(),
|
|
21240
21246
|
Type274(() => UsuarioDTO),
|
|
21241
21247
|
ValidateNested249(),
|
|
21242
21248
|
Expose388()
|
|
@@ -21694,7 +21700,7 @@ __decorateClass([
|
|
|
21694
21700
|
|
|
21695
21701
|
// src/programados/mantenimientos/mano obra global/shared/dto/add-mo-pcontrata-mo.ts
|
|
21696
21702
|
import { Expose as Expose395, Transform as Transform42 } from "class-transformer";
|
|
21697
|
-
import { IsBoolean as
|
|
21703
|
+
import { IsBoolean as IsBoolean33, IsDefined as IsDefined132, IsNumber as IsNumber269, IsString as IsString279, Length as Length178 } from "class-validator";
|
|
21698
21704
|
var AddMOPContrataMODTO = class {
|
|
21699
21705
|
CodigoMO = "";
|
|
21700
21706
|
NewPrecio = 0;
|
|
@@ -21715,12 +21721,12 @@ __decorateClass([
|
|
|
21715
21721
|
], AddMOPContrataMODTO.prototype, "NewPrecio", 2);
|
|
21716
21722
|
__decorateClass([
|
|
21717
21723
|
IsDefined132({ message: "El campo isCobra es obligatorio" }),
|
|
21718
|
-
|
|
21724
|
+
IsBoolean33({ message: "debe ser true o false" }),
|
|
21719
21725
|
Expose395()
|
|
21720
21726
|
], AddMOPContrataMODTO.prototype, "IsCobra", 2);
|
|
21721
21727
|
__decorateClass([
|
|
21722
21728
|
IsDefined132({ message: "El campo vigenciaActual es obligatorio" }),
|
|
21723
|
-
|
|
21729
|
+
IsBoolean33({ message: "debe ser true o false" }),
|
|
21724
21730
|
Expose395()
|
|
21725
21731
|
], AddMOPContrataMODTO.prototype, "VigenciaActual", 2);
|
|
21726
21732
|
|
|
@@ -22370,7 +22376,7 @@ import { Expose as Expose408, Type as Type289 } from "class-transformer";
|
|
|
22370
22376
|
import {
|
|
22371
22377
|
IsArray as IsArray160,
|
|
22372
22378
|
IsNotEmpty as IsNotEmpty260,
|
|
22373
|
-
IsOptional as
|
|
22379
|
+
IsOptional as IsOptional29,
|
|
22374
22380
|
IsNumber as IsNumber280,
|
|
22375
22381
|
IsString as IsString292,
|
|
22376
22382
|
Length as Length191,
|
|
@@ -22464,7 +22470,7 @@ __decorateClass([
|
|
|
22464
22470
|
], CuadrillaENTITY.prototype, "Personal", 2);
|
|
22465
22471
|
__decorateClass([
|
|
22466
22472
|
Type289(() => CuadrillaParejaDTO),
|
|
22467
|
-
|
|
22473
|
+
IsOptional29(),
|
|
22468
22474
|
Expose408(),
|
|
22469
22475
|
ValidateNested263()
|
|
22470
22476
|
], CuadrillaENTITY.prototype, "CuadrillaPareja", 2);
|
|
@@ -23308,7 +23314,7 @@ __decorateClass([
|
|
|
23308
23314
|
|
|
23309
23315
|
// src/programados/Reportes/ReporteProduccion/Alemania/BaremoFase/dto/manoobra-dto.ts
|
|
23310
23316
|
import { Expose as Expose423 } from "class-transformer";
|
|
23311
|
-
import { IsBoolean as
|
|
23317
|
+
import { IsBoolean as IsBoolean34, IsNotEmpty as IsNotEmpty268, IsString as IsString307, Length as Length205 } from "class-validator";
|
|
23312
23318
|
var ManoObraDTO = class {
|
|
23313
23319
|
Codigo = "";
|
|
23314
23320
|
Nombre = "";
|
|
@@ -23327,7 +23333,7 @@ __decorateClass([
|
|
|
23327
23333
|
Expose423()
|
|
23328
23334
|
], ManoObraDTO.prototype, "Nombre", 2);
|
|
23329
23335
|
__decorateClass([
|
|
23330
|
-
|
|
23336
|
+
IsBoolean34({ message: "debe ser true o false" }),
|
|
23331
23337
|
IsNotEmpty268({ message: "es requerido" }),
|
|
23332
23338
|
Length205(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
23333
23339
|
Expose423()
|
|
@@ -23566,7 +23572,7 @@ __decorateClass([
|
|
|
23566
23572
|
|
|
23567
23573
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/empresa-baremo-dto.ts
|
|
23568
23574
|
import { Expose as Expose427 } from "class-transformer";
|
|
23569
|
-
import { IsBoolean as
|
|
23575
|
+
import { IsBoolean as IsBoolean35, IsNotEmpty as IsNotEmpty272, IsString as IsString311, Length as Length208 } from "class-validator";
|
|
23570
23576
|
var EmpresaBaremoDTO = class {
|
|
23571
23577
|
Codigo = "";
|
|
23572
23578
|
RazonSocial = "";
|
|
@@ -23585,7 +23591,7 @@ __decorateClass([
|
|
|
23585
23591
|
Expose427()
|
|
23586
23592
|
], EmpresaBaremoDTO.prototype, "RazonSocial", 2);
|
|
23587
23593
|
__decorateClass([
|
|
23588
|
-
|
|
23594
|
+
IsBoolean35({ message: "debe ser true o false" }),
|
|
23589
23595
|
IsNotEmpty272({ message: "es requerido" }),
|
|
23590
23596
|
Expose427()
|
|
23591
23597
|
], EmpresaBaremoDTO.prototype, "Propia", 2);
|
|
@@ -23919,11 +23925,11 @@ __decorateClass([
|
|
|
23919
23925
|
import { Expose as Expose436, Type as Type306 } from "class-transformer";
|
|
23920
23926
|
import {
|
|
23921
23927
|
IsArray as IsArray165,
|
|
23922
|
-
IsBoolean as
|
|
23928
|
+
IsBoolean as IsBoolean36,
|
|
23923
23929
|
IsDefined as IsDefined151,
|
|
23924
23930
|
IsNotEmpty as IsNotEmpty279,
|
|
23925
23931
|
IsNumber as IsNumber299,
|
|
23926
|
-
IsOptional as
|
|
23932
|
+
IsOptional as IsOptional30,
|
|
23927
23933
|
IsString as IsString319,
|
|
23928
23934
|
Min as Min236,
|
|
23929
23935
|
MinLength as MinLength47,
|
|
@@ -23969,7 +23975,7 @@ var BaremoAlemaniaENTITY = class {
|
|
|
23969
23975
|
UOMateriales = new UOMaterialesBaremoDTO();
|
|
23970
23976
|
};
|
|
23971
23977
|
__decorateClass([
|
|
23972
|
-
|
|
23978
|
+
IsOptional30(),
|
|
23973
23979
|
Expose436()
|
|
23974
23980
|
], BaremoAlemaniaENTITY.prototype, "_id", 2);
|
|
23975
23981
|
__decorateClass([
|
|
@@ -24151,7 +24157,7 @@ __decorateClass([
|
|
|
24151
24157
|
ValidateNested278({ each: true })
|
|
24152
24158
|
], BaremoAlemaniaENTITY.prototype, "PagosEC", 2);
|
|
24153
24159
|
__decorateClass([
|
|
24154
|
-
|
|
24160
|
+
IsBoolean36({ message: "debe ser true o false" }),
|
|
24155
24161
|
IsNotEmpty279({ message: "es requerido" }),
|
|
24156
24162
|
Expose436()
|
|
24157
24163
|
], BaremoAlemaniaENTITY.prototype, "Cancelado", 2);
|
|
@@ -24883,7 +24889,7 @@ __decorateClass([
|
|
|
24883
24889
|
|
|
24884
24890
|
// src/programados/Reportes/ReporteProduccion/Chile/ResumenProcess/dto/resumen_process_reserva_material.ts
|
|
24885
24891
|
import { Expose as Expose448 } from "class-transformer";
|
|
24886
|
-
import { IsBoolean as
|
|
24892
|
+
import { IsBoolean as IsBoolean38, IsDefined as IsDefined163, IsNumber as IsNumber305, IsString as IsString330 } from "class-validator";
|
|
24887
24893
|
var ResumenProcessReservaMaterial = class {
|
|
24888
24894
|
CodigoSIMMA = "";
|
|
24889
24895
|
CodigoCOBRA = "";
|
|
@@ -24968,7 +24974,7 @@ __decorateClass([
|
|
|
24968
24974
|
__decorateClass([
|
|
24969
24975
|
Expose448(),
|
|
24970
24976
|
IsDefined163({ message: "El campo Propio es obligatorio." }),
|
|
24971
|
-
|
|
24977
|
+
IsBoolean38()
|
|
24972
24978
|
], ResumenProcessReservaMaterial.prototype, "Propio", 2);
|
|
24973
24979
|
|
|
24974
24980
|
// src/programados/Reportes/ReporteProduccion/Chile/ResumenProcess/dto/resumen_process_fotos_sst-dto.ts
|
|
@@ -25383,7 +25389,7 @@ __decorateClass([
|
|
|
25383
25389
|
|
|
25384
25390
|
// src/programados/Reportes/ReporteProduccion/Chile/Baremos/index.ts
|
|
25385
25391
|
import { Expose as Expose464, Type as Type322 } from "class-transformer";
|
|
25386
|
-
import { IsArray as IsArray172, IsBoolean as
|
|
25392
|
+
import { IsArray as IsArray172, IsBoolean as IsBoolean40, IsDefined as IsDefined178, IsNotEmpty as IsNotEmpty282, IsNumber as IsNumber311, IsOptional as IsOptional32, IsString as IsString346, ValidateNested as ValidateNested291 } from "class-validator";
|
|
25387
25393
|
|
|
25388
25394
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/dto/baremo_process_fechas-dto.ts
|
|
25389
25395
|
import { Expose as Expose454, Transform as Transform53 } from "class-transformer";
|
|
@@ -25447,7 +25453,7 @@ __decorateClass([
|
|
|
25447
25453
|
|
|
25448
25454
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/dto/baremo_process_empresa-dto.ts
|
|
25449
25455
|
import { Expose as Expose456 } from "class-transformer";
|
|
25450
|
-
import { IsBoolean as
|
|
25456
|
+
import { IsBoolean as IsBoolean39, IsDefined as IsDefined170, IsString as IsString338 } from "class-validator";
|
|
25451
25457
|
var BaremoProcessEmpresaDTO = class {
|
|
25452
25458
|
Codigo = "";
|
|
25453
25459
|
RazonSocial = "";
|
|
@@ -25467,7 +25473,7 @@ __decorateClass([
|
|
|
25467
25473
|
__decorateClass([
|
|
25468
25474
|
Expose456(),
|
|
25469
25475
|
IsDefined170({ message: "El campo Propia es obligatorio." }),
|
|
25470
|
-
|
|
25476
|
+
IsBoolean39()
|
|
25471
25477
|
], BaremoProcessEmpresaDTO.prototype, "Propia", 2);
|
|
25472
25478
|
__decorateClass([
|
|
25473
25479
|
Expose456(),
|
|
@@ -25776,7 +25782,7 @@ var BaremosChileENTITY = class {
|
|
|
25776
25782
|
};
|
|
25777
25783
|
__decorateClass([
|
|
25778
25784
|
Expose464(),
|
|
25779
|
-
|
|
25785
|
+
IsOptional32()
|
|
25780
25786
|
], BaremosChileENTITY.prototype, "_id", 2);
|
|
25781
25787
|
__decorateClass([
|
|
25782
25788
|
Expose464(),
|
|
@@ -25977,7 +25983,7 @@ __decorateClass([
|
|
|
25977
25983
|
IsArray172()
|
|
25978
25984
|
], BaremosChileENTITY.prototype, "PagosEC", 2);
|
|
25979
25985
|
__decorateClass([
|
|
25980
|
-
|
|
25986
|
+
IsBoolean40({ message: "debe ser true o false" }),
|
|
25981
25987
|
IsNotEmpty282({ message: "es requerido" }),
|
|
25982
25988
|
Expose464()
|
|
25983
25989
|
], BaremosChileENTITY.prototype, "Cancelado", 2);
|
|
@@ -26024,7 +26030,7 @@ __decorateClass([
|
|
|
26024
26030
|
|
|
26025
26031
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/index.ts
|
|
26026
26032
|
import { Expose as Expose465, Type as Type323 } from "class-transformer";
|
|
26027
|
-
import { IsArray as IsArray173, IsBoolean as
|
|
26033
|
+
import { IsArray as IsArray173, IsBoolean as IsBoolean41, IsDefined as IsDefined179, IsNotEmpty as IsNotEmpty283, IsNumber as IsNumber312, IsString as IsString347, ValidateNested as ValidateNested292 } from "class-validator";
|
|
26028
26034
|
var BaremoProcessENTITY = class {
|
|
26029
26035
|
ID_Valorizacion = 0;
|
|
26030
26036
|
Cluster = "";
|
|
@@ -26272,7 +26278,7 @@ __decorateClass([
|
|
|
26272
26278
|
IsArray173()
|
|
26273
26279
|
], BaremoProcessENTITY.prototype, "PagosEC", 2);
|
|
26274
26280
|
__decorateClass([
|
|
26275
|
-
|
|
26281
|
+
IsBoolean41({ message: "debe ser true o false" }),
|
|
26276
26282
|
IsNotEmpty283({ message: "es requerido" }),
|
|
26277
26283
|
Expose465()
|
|
26278
26284
|
], BaremoProcessENTITY.prototype, "Cancelado", 2);
|
|
@@ -26357,7 +26363,7 @@ __decorateClass([
|
|
|
26357
26363
|
|
|
26358
26364
|
// src/programados/Reportes/ReporteProduccion/Chile/ResumenProcess/dto/resumen_process_empresa-dto.ts
|
|
26359
26365
|
import { Expose as Expose467 } from "class-transformer";
|
|
26360
|
-
import { IsBoolean as
|
|
26366
|
+
import { IsBoolean as IsBoolean42, IsDefined as IsDefined181, IsString as IsString349 } from "class-validator";
|
|
26361
26367
|
var ResumenProcessEmpresaDTO = class {
|
|
26362
26368
|
Codigo = "";
|
|
26363
26369
|
RazonSocial = "";
|
|
@@ -26377,7 +26383,7 @@ __decorateClass([
|
|
|
26377
26383
|
__decorateClass([
|
|
26378
26384
|
Expose467(),
|
|
26379
26385
|
IsDefined181({ message: "El campo Propia es obligatorio." }),
|
|
26380
|
-
|
|
26386
|
+
IsBoolean42()
|
|
26381
26387
|
], ResumenProcessEmpresaDTO.prototype, "Propia", 2);
|
|
26382
26388
|
__decorateClass([
|
|
26383
26389
|
Expose467(),
|
|
@@ -26615,11 +26621,11 @@ __decorateClass([
|
|
|
26615
26621
|
import { Expose as Expose470, Type as Type326 } from "class-transformer";
|
|
26616
26622
|
import {
|
|
26617
26623
|
IsArray as IsArray176,
|
|
26618
|
-
IsBoolean as
|
|
26624
|
+
IsBoolean as IsBoolean43,
|
|
26619
26625
|
IsDefined as IsDefined184,
|
|
26620
26626
|
IsNotEmpty as IsNotEmpty284,
|
|
26621
26627
|
IsNumber as IsNumber315,
|
|
26622
|
-
IsOptional as
|
|
26628
|
+
IsOptional as IsOptional33,
|
|
26623
26629
|
IsString as IsString352,
|
|
26624
26630
|
ValidateNested as ValidateNested295
|
|
26625
26631
|
} from "class-validator";
|
|
@@ -26674,7 +26680,7 @@ var BaremosColombiaENTITY = class {
|
|
|
26674
26680
|
};
|
|
26675
26681
|
__decorateClass([
|
|
26676
26682
|
Expose470(),
|
|
26677
|
-
|
|
26683
|
+
IsOptional33()
|
|
26678
26684
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
26679
26685
|
__decorateClass([
|
|
26680
26686
|
Expose470(),
|
|
@@ -26875,7 +26881,7 @@ __decorateClass([
|
|
|
26875
26881
|
IsArray176()
|
|
26876
26882
|
], BaremosColombiaENTITY.prototype, "PagosEC", 2);
|
|
26877
26883
|
__decorateClass([
|
|
26878
|
-
|
|
26884
|
+
IsBoolean43({ message: "debe ser true o false" }),
|
|
26879
26885
|
IsNotEmpty284({ message: "es requerido" }),
|
|
26880
26886
|
Expose470()
|
|
26881
26887
|
], BaremosColombiaENTITY.prototype, "Cancelado", 2);
|
|
@@ -26922,7 +26928,7 @@ __decorateClass([
|
|
|
26922
26928
|
|
|
26923
26929
|
// src/programados/Reportes/LiberacionDePagos/shared/index.ts
|
|
26924
26930
|
import { Expose as Expose479, Type as Type331 } from "class-transformer";
|
|
26925
|
-
import { IsArray as IsArray179, IsBoolean as
|
|
26931
|
+
import { IsArray as IsArray179, IsBoolean as IsBoolean46, IsDate as IsDate105, IsIn as IsIn7, IsNotEmpty as IsNotEmpty293, IsNumber as IsNumber319, IsString as IsString361, Min as Min244, ValidateNested as ValidateNested299 } from "class-validator";
|
|
26926
26932
|
|
|
26927
26933
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/periodo-liberacion-pagos-dto.ts
|
|
26928
26934
|
import { Expose as Expose471 } from "class-transformer";
|
|
@@ -27008,7 +27014,7 @@ __decorateClass([
|
|
|
27008
27014
|
|
|
27009
27015
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/empresa-liberacion-pagos-dto.ts
|
|
27010
27016
|
import { Expose as Expose473 } from "class-transformer";
|
|
27011
|
-
import { IsBoolean as
|
|
27017
|
+
import { IsBoolean as IsBoolean44, IsNotEmpty as IsNotEmpty287, IsString as IsString355, Length as Length222 } from "class-validator";
|
|
27012
27018
|
var EmpresaLiberacionPagosDTO = class {
|
|
27013
27019
|
Codigo = "";
|
|
27014
27020
|
RazonSocial = "";
|
|
@@ -27027,14 +27033,14 @@ __decorateClass([
|
|
|
27027
27033
|
Expose473()
|
|
27028
27034
|
], EmpresaLiberacionPagosDTO.prototype, "RazonSocial", 2);
|
|
27029
27035
|
__decorateClass([
|
|
27030
|
-
|
|
27036
|
+
IsBoolean44({ message: "debe ser true o false" }),
|
|
27031
27037
|
IsNotEmpty287({ message: "es requerido" }),
|
|
27032
27038
|
Expose473()
|
|
27033
27039
|
], EmpresaLiberacionPagosDTO.prototype, "Propia", 2);
|
|
27034
27040
|
|
|
27035
27041
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/manoobra-liberacion_pagos-dto.ts
|
|
27036
27042
|
import { Expose as Expose474 } from "class-transformer";
|
|
27037
|
-
import { IsBoolean as
|
|
27043
|
+
import { IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty288, IsString as IsString356, Length as Length223 } from "class-validator";
|
|
27038
27044
|
var ManoObraLiberacionPagosDTO = class {
|
|
27039
27045
|
Codigo = "";
|
|
27040
27046
|
Nombre = "";
|
|
@@ -27053,7 +27059,7 @@ __decorateClass([
|
|
|
27053
27059
|
Expose474()
|
|
27054
27060
|
], ManoObraLiberacionPagosDTO.prototype, "Nombre", 2);
|
|
27055
27061
|
__decorateClass([
|
|
27056
|
-
|
|
27062
|
+
IsBoolean45({ message: "debe ser true o false" }),
|
|
27057
27063
|
IsNotEmpty288({ message: "es requerido" }),
|
|
27058
27064
|
Length223(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
27059
27065
|
Expose474()
|
|
@@ -27532,7 +27538,7 @@ __decorateClass([
|
|
|
27532
27538
|
Min244(1)
|
|
27533
27539
|
], LiberacionDePagosAlemaniaENTITY.prototype, "Decimales", 2);
|
|
27534
27540
|
__decorateClass([
|
|
27535
|
-
|
|
27541
|
+
IsBoolean46({ message: "debe ser true o false" }),
|
|
27536
27542
|
IsNotEmpty293({ message: "es requerido" }),
|
|
27537
27543
|
Expose479()
|
|
27538
27544
|
], LiberacionDePagosAlemaniaENTITY.prototype, "isContratista", 2);
|
|
@@ -27613,12 +27619,12 @@ __decorateClass([
|
|
|
27613
27619
|
], CambioEstadoFacturadoRequest.prototype, "CambiosEstadosFase", 2);
|
|
27614
27620
|
|
|
27615
27621
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/index.ts
|
|
27616
|
-
import { IsArray as IsArray183, IsBoolean as
|
|
27622
|
+
import { IsArray as IsArray183, IsBoolean as IsBoolean49, IsDate as IsDate109, IsNotEmpty as IsNotEmpty301, IsNumber as IsNumber323, IsString as IsString369, Min as Min245, ValidateNested as ValidateNested304 } from "class-validator";
|
|
27617
27623
|
import { Expose as Expose487, Type as Type336 } from "class-transformer";
|
|
27618
27624
|
|
|
27619
27625
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/dto/prod-curso-baremo-fases-ultimo-estado-interno-dto.ts
|
|
27620
27626
|
import { Expose as Expose482, Type as Type334 } from "class-transformer";
|
|
27621
|
-
import { IsArray as IsArray181, IsBoolean as
|
|
27627
|
+
import { IsArray as IsArray181, IsBoolean as IsBoolean47, IsDate as IsDate106, IsNotEmpty as IsNotEmpty296, IsNumber as IsNumber320, IsOptional as IsOptional34, IsString as IsString364, ValidateNested as ValidateNested302 } from "class-validator";
|
|
27622
27628
|
var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
27623
27629
|
IsDebug = false;
|
|
27624
27630
|
ID_EstadoInterno = 0;
|
|
@@ -27639,8 +27645,8 @@ var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
|
27639
27645
|
Bitacora = [];
|
|
27640
27646
|
};
|
|
27641
27647
|
__decorateClass([
|
|
27642
|
-
|
|
27643
|
-
|
|
27648
|
+
IsBoolean47({ message: "IsDebug debe ser un valor booleano" }),
|
|
27649
|
+
IsOptional34(),
|
|
27644
27650
|
Expose482()
|
|
27645
27651
|
], ProdCursoBaremoFasesUltimoEstadoInternoDTO.prototype, "IsDebug", 2);
|
|
27646
27652
|
__decorateClass([
|
|
@@ -27884,7 +27890,7 @@ __decorateClass([
|
|
|
27884
27890
|
|
|
27885
27891
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/dto/prod-curso-baremo-fases-mano-obra-dto.ts
|
|
27886
27892
|
import { Expose as Expose486 } from "class-transformer";
|
|
27887
|
-
import { IsBoolean as
|
|
27893
|
+
import { IsBoolean as IsBoolean48, IsNotEmpty as IsNotEmpty300, IsString as IsString368, Length as Length231 } from "class-validator";
|
|
27888
27894
|
var ProdCursoBaremoFasesManoObraDTO = class {
|
|
27889
27895
|
Codigo = "";
|
|
27890
27896
|
Nombre = "";
|
|
@@ -27903,7 +27909,7 @@ __decorateClass([
|
|
|
27903
27909
|
Expose486()
|
|
27904
27910
|
], ProdCursoBaremoFasesManoObraDTO.prototype, "Nombre", 2);
|
|
27905
27911
|
__decorateClass([
|
|
27906
|
-
|
|
27912
|
+
IsBoolean48({ message: "debe ser true o false" }),
|
|
27907
27913
|
IsNotEmpty300({ message: "es requerido" }),
|
|
27908
27914
|
Length231(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
27909
27915
|
Expose486()
|
|
@@ -28143,7 +28149,7 @@ __decorateClass([
|
|
|
28143
28149
|
Expose487()
|
|
28144
28150
|
], RptProduccionCurso_Baremos_FasesENTITY.prototype, "Decimales", 2);
|
|
28145
28151
|
__decorateClass([
|
|
28146
|
-
|
|
28152
|
+
IsBoolean49({ message: "isContratista debe ser un valor booleano" }),
|
|
28147
28153
|
IsNotEmpty301({ message: "isContratista es requerido" }),
|
|
28148
28154
|
Expose487()
|
|
28149
28155
|
], RptProduccionCurso_Baremos_FasesENTITY.prototype, "isContratista", 2);
|
|
@@ -29646,7 +29652,7 @@ import {
|
|
|
29646
29652
|
IsDefined as IsDefined190,
|
|
29647
29653
|
IsNotEmpty as IsNotEmpty314,
|
|
29648
29654
|
IsNumber as IsNumber336,
|
|
29649
|
-
IsOptional as
|
|
29655
|
+
IsOptional as IsOptional35,
|
|
29650
29656
|
IsString as IsString383,
|
|
29651
29657
|
IsUUID as IsUUID3,
|
|
29652
29658
|
Length as Length243,
|
|
@@ -29884,14 +29890,14 @@ __decorateClass([
|
|
|
29884
29890
|
], DevolucionTRENTITY.prototype, "UsuarioAprobacion", 2);
|
|
29885
29891
|
__decorateClass([
|
|
29886
29892
|
Expose504(),
|
|
29887
|
-
|
|
29893
|
+
IsOptional35(),
|
|
29888
29894
|
Type349(() => Date),
|
|
29889
29895
|
IsDate113({ message: "debe ser una fecha" })
|
|
29890
29896
|
], DevolucionTRENTITY.prototype, "FechaAprobacion", 2);
|
|
29891
29897
|
|
|
29892
29898
|
// src/logistica/items/shared/index.ts
|
|
29893
29899
|
import { Expose as Expose510, Transform as Transform59, Type as Type353 } from "class-transformer";
|
|
29894
|
-
import { IsArray as IsArray193, IsNotEmpty as IsNotEmpty319, IsNumber as IsNumber340, IsString as IsString389, Length as Length249, Min as Min262, ValidateNested as ValidateNested321, IsBoolean as
|
|
29900
|
+
import { IsArray as IsArray193, IsNotEmpty as IsNotEmpty319, IsNumber as IsNumber340, IsString as IsString389, Length as Length249, Min as Min262, ValidateNested as ValidateNested321, IsBoolean as IsBoolean51, IsIn as IsIn8 } from "class-validator";
|
|
29895
29901
|
|
|
29896
29902
|
// src/logistica/items/shared/dto/cliente-dto.ts
|
|
29897
29903
|
import { Expose as Expose507, Type as Type351 } from "class-transformer";
|
|
@@ -30110,7 +30116,7 @@ __decorateClass([
|
|
|
30110
30116
|
Min262(0, { message: "el valor m\xEDnimo es 0" })
|
|
30111
30117
|
], ItemENTITY.prototype, "ID_Item", 2);
|
|
30112
30118
|
__decorateClass([
|
|
30113
|
-
|
|
30119
|
+
IsBoolean51({ message: "debe ser un booleano" }),
|
|
30114
30120
|
IsNotEmpty319({ message: "es requerido" }),
|
|
30115
30121
|
Expose510()
|
|
30116
30122
|
], ItemENTITY.prototype, "Propio", 2);
|
|
@@ -30190,12 +30196,12 @@ __decorateClass([
|
|
|
30190
30196
|
Expose510()
|
|
30191
30197
|
], ItemENTITY.prototype, "Ind_SB", 2);
|
|
30192
30198
|
__decorateClass([
|
|
30193
|
-
|
|
30199
|
+
IsBoolean51({ message: "debe ser un booleano" }),
|
|
30194
30200
|
IsNotEmpty319({ message: "es requerido" }),
|
|
30195
30201
|
Expose510()
|
|
30196
30202
|
], ItemENTITY.prototype, "Merma", 2);
|
|
30197
30203
|
__decorateClass([
|
|
30198
|
-
|
|
30204
|
+
IsBoolean51({ message: "debe ser un booleano" }),
|
|
30199
30205
|
IsNotEmpty319({ message: "es requerido" }),
|
|
30200
30206
|
Expose510()
|
|
30201
30207
|
], ItemENTITY.prototype, "Decimales", 2);
|
|
@@ -30280,7 +30286,7 @@ import { IsArray as IsArray195, IsNotEmpty as IsNotEmpty323, IsNumber as IsNumbe
|
|
|
30280
30286
|
|
|
30281
30287
|
// src/logistica/ingreso almacen/shared/dto/empresa-dto.ts
|
|
30282
30288
|
import { Expose as Expose512 } from "class-transformer";
|
|
30283
|
-
import { IsBoolean as
|
|
30289
|
+
import { IsBoolean as IsBoolean52, IsNotEmpty as IsNotEmpty320, IsString as IsString391, Length as Length250 } from "class-validator";
|
|
30284
30290
|
var EmpresaDTO3 = class {
|
|
30285
30291
|
Codigo = "";
|
|
30286
30292
|
RazonSocial = "";
|
|
@@ -30297,7 +30303,7 @@ __decorateClass([
|
|
|
30297
30303
|
Expose512()
|
|
30298
30304
|
], EmpresaDTO3.prototype, "RazonSocial", 2);
|
|
30299
30305
|
__decorateClass([
|
|
30300
|
-
|
|
30306
|
+
IsBoolean52({ message: "debe ser un booleano" }),
|
|
30301
30307
|
IsNotEmpty320({ message: "es requerido" }),
|
|
30302
30308
|
Expose512()
|
|
30303
30309
|
], EmpresaDTO3.prototype, "Propia", 2);
|
|
@@ -31061,7 +31067,7 @@ import { Expose as Expose527, Transform as Transform64, Type as Type363 } from "
|
|
|
31061
31067
|
|
|
31062
31068
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
31063
31069
|
import { Expose as Expose526 } from "class-transformer";
|
|
31064
|
-
import { IsBoolean as
|
|
31070
|
+
import { IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty332, IsString as IsString402, Length as Length260 } from "class-validator";
|
|
31065
31071
|
var EquiposAIDTO = class {
|
|
31066
31072
|
Serie = "";
|
|
31067
31073
|
Estado = false;
|
|
@@ -31073,7 +31079,7 @@ __decorateClass([
|
|
|
31073
31079
|
Expose526()
|
|
31074
31080
|
], EquiposAIDTO.prototype, "Serie", 2);
|
|
31075
31081
|
__decorateClass([
|
|
31076
|
-
|
|
31082
|
+
IsBoolean53({ message: "debe ser un booleano" }),
|
|
31077
31083
|
IsNotEmpty332({ message: "es requerido" }),
|
|
31078
31084
|
Expose526()
|
|
31079
31085
|
], EquiposAIDTO.prototype, "Estado", 2);
|
|
@@ -31830,7 +31836,7 @@ __decorateClass([
|
|
|
31830
31836
|
|
|
31831
31837
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
31832
31838
|
import { Expose as Expose539, Type as Type372, Transform as Transform70 } from "class-transformer";
|
|
31833
|
-
import { IsDate as IsDate122, IsNumber as IsNumber363, IsOptional as
|
|
31839
|
+
import { IsDate as IsDate122, IsNumber as IsNumber363, IsOptional as IsOptional36, IsString as IsString414, Min as Min283 } from "class-validator";
|
|
31834
31840
|
var AcceptedDto = class {
|
|
31835
31841
|
IdDate = 0;
|
|
31836
31842
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31842,88 +31848,88 @@ var AcceptedDto = class {
|
|
|
31842
31848
|
FullName = "";
|
|
31843
31849
|
};
|
|
31844
31850
|
__decorateClass([
|
|
31845
|
-
|
|
31851
|
+
IsOptional36(),
|
|
31846
31852
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31847
31853
|
Min283(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31848
31854
|
Expose539()
|
|
31849
31855
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
31850
31856
|
__decorateClass([
|
|
31851
|
-
|
|
31857
|
+
IsOptional36(),
|
|
31852
31858
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31853
31859
|
IsDate122({ message: "debe ser una fecha" }),
|
|
31854
31860
|
Type372(() => Date),
|
|
31855
31861
|
Expose539()
|
|
31856
31862
|
], AcceptedDto.prototype, "Date", 2);
|
|
31857
31863
|
__decorateClass([
|
|
31858
|
-
|
|
31864
|
+
IsOptional36(),
|
|
31859
31865
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31860
31866
|
Type372(() => Number),
|
|
31861
31867
|
Expose539()
|
|
31862
31868
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
31863
31869
|
__decorateClass([
|
|
31864
|
-
|
|
31870
|
+
IsOptional36(),
|
|
31865
31871
|
IsString414({ message: "debe ser texto" }),
|
|
31866
31872
|
Expose539()
|
|
31867
31873
|
], AcceptedDto.prototype, "User", 2);
|
|
31868
31874
|
__decorateClass([
|
|
31869
|
-
|
|
31875
|
+
IsOptional36(),
|
|
31870
31876
|
IsString414({ message: "debe ser texto" }),
|
|
31871
31877
|
Expose539()
|
|
31872
31878
|
], AcceptedDto.prototype, "LastName", 2);
|
|
31873
31879
|
__decorateClass([
|
|
31874
|
-
|
|
31880
|
+
IsOptional36(),
|
|
31875
31881
|
IsString414({ message: "debe ser texto" }),
|
|
31876
31882
|
Expose539()
|
|
31877
31883
|
], AcceptedDto.prototype, "Name", 2);
|
|
31878
31884
|
__decorateClass([
|
|
31879
|
-
|
|
31885
|
+
IsOptional36(),
|
|
31880
31886
|
IsString414({ message: "debe ser texto" }),
|
|
31881
31887
|
Expose539()
|
|
31882
31888
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
31883
31889
|
__decorateClass([
|
|
31884
|
-
|
|
31890
|
+
IsOptional36(),
|
|
31885
31891
|
IsString414({ message: "debe ser texto" }),
|
|
31886
31892
|
Expose539()
|
|
31887
31893
|
], AcceptedDto.prototype, "FullName", 2);
|
|
31888
31894
|
|
|
31889
31895
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
31890
31896
|
import { Expose as Expose544, Transform as Transform73, Type as Type374 } from "class-transformer";
|
|
31891
|
-
import { IsNumber as IsNumber366, IsOptional as
|
|
31897
|
+
import { IsNumber as IsNumber366, IsOptional as IsOptional41, IsString as IsString419, IsArray as IsArray204, ValidateNested as ValidateNested340 } from "class-validator";
|
|
31892
31898
|
|
|
31893
31899
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-albaran-dto.ts
|
|
31894
31900
|
import { Expose as Expose540, Transform as Transform71 } from "class-transformer";
|
|
31895
|
-
import { IsOptional as
|
|
31901
|
+
import { IsOptional as IsOptional37, IsString as IsString415 } from "class-validator";
|
|
31896
31902
|
var DetalleAlbaranDTO = class {
|
|
31897
31903
|
Field = "";
|
|
31898
31904
|
Code = "";
|
|
31899
31905
|
};
|
|
31900
31906
|
__decorateClass([
|
|
31901
|
-
|
|
31907
|
+
IsOptional37(),
|
|
31902
31908
|
IsString415({ message: "debe ser texto" }),
|
|
31903
31909
|
Transform71(({ value }) => value?.toUpperCase().trim()),
|
|
31904
31910
|
Expose540()
|
|
31905
31911
|
], DetalleAlbaranDTO.prototype, "Field", 2);
|
|
31906
31912
|
__decorateClass([
|
|
31907
|
-
|
|
31913
|
+
IsOptional37(),
|
|
31908
31914
|
IsString415({ message: "debe ser texto" }),
|
|
31909
31915
|
Expose540()
|
|
31910
31916
|
], DetalleAlbaranDTO.prototype, "Code", 2);
|
|
31911
31917
|
|
|
31912
31918
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-date-registry-dto.ts
|
|
31913
31919
|
import { Expose as Expose541, Transform as Transform72 } from "class-transformer";
|
|
31914
|
-
import { IsOptional as
|
|
31920
|
+
import { IsOptional as IsOptional38, IsString as IsString416, IsNumber as IsNumber364 } from "class-validator";
|
|
31915
31921
|
var dateToISOStringOrEmpty = (value) => value instanceof Date ? value.toISOString() : "";
|
|
31916
31922
|
var NavisionDateRegistryDto = class {
|
|
31917
31923
|
IdDate = 0;
|
|
31918
31924
|
Date = "";
|
|
31919
31925
|
};
|
|
31920
31926
|
__decorateClass([
|
|
31921
|
-
|
|
31927
|
+
IsOptional38(),
|
|
31922
31928
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31923
31929
|
Expose541()
|
|
31924
31930
|
], NavisionDateRegistryDto.prototype, "IdDate", 2);
|
|
31925
31931
|
__decorateClass([
|
|
31926
|
-
|
|
31932
|
+
IsOptional38(),
|
|
31927
31933
|
IsString416({ message: "debe ser texto" }),
|
|
31928
31934
|
Transform72(({ value }) => dateToISOStringOrEmpty(value)),
|
|
31929
31935
|
Expose541()
|
|
@@ -31933,7 +31939,7 @@ var NavisionRegistryDateDto = class extends NavisionDateRegistryDto {
|
|
|
31933
31939
|
|
|
31934
31940
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-user-registry-dto.ts
|
|
31935
31941
|
import { Expose as Expose542 } from "class-transformer";
|
|
31936
|
-
import { IsOptional as
|
|
31942
|
+
import { IsOptional as IsOptional39, IsString as IsString417, IsNumber as IsNumber365 } from "class-validator";
|
|
31937
31943
|
var NavisionUserRegistryDto = class {
|
|
31938
31944
|
IdUser = 0;
|
|
31939
31945
|
User = "";
|
|
@@ -31942,34 +31948,34 @@ var NavisionUserRegistryDto = class {
|
|
|
31942
31948
|
Perfil = "";
|
|
31943
31949
|
};
|
|
31944
31950
|
__decorateClass([
|
|
31945
|
-
|
|
31951
|
+
IsOptional39(),
|
|
31946
31952
|
IsNumber365({}, { message: "debe ser un n\xFAmero" }),
|
|
31947
31953
|
Expose542()
|
|
31948
31954
|
], NavisionUserRegistryDto.prototype, "IdUser", 2);
|
|
31949
31955
|
__decorateClass([
|
|
31950
|
-
|
|
31956
|
+
IsOptional39(),
|
|
31951
31957
|
IsString417({ message: "debe ser texto" }),
|
|
31952
31958
|
Expose542()
|
|
31953
31959
|
], NavisionUserRegistryDto.prototype, "User", 2);
|
|
31954
31960
|
__decorateClass([
|
|
31955
|
-
|
|
31961
|
+
IsOptional39(),
|
|
31956
31962
|
IsString417({ message: "debe ser texto" }),
|
|
31957
31963
|
Expose542()
|
|
31958
31964
|
], NavisionUserRegistryDto.prototype, "LastName", 2);
|
|
31959
31965
|
__decorateClass([
|
|
31960
|
-
|
|
31966
|
+
IsOptional39(),
|
|
31961
31967
|
IsString417({ message: "debe ser texto" }),
|
|
31962
31968
|
Expose542()
|
|
31963
31969
|
], NavisionUserRegistryDto.prototype, "Name", 2);
|
|
31964
31970
|
__decorateClass([
|
|
31965
|
-
|
|
31971
|
+
IsOptional39(),
|
|
31966
31972
|
IsString417({ message: "debe ser texto" }),
|
|
31967
31973
|
Expose542()
|
|
31968
31974
|
], NavisionUserRegistryDto.prototype, "Perfil", 2);
|
|
31969
31975
|
|
|
31970
31976
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-bitacora-file-dto.ts
|
|
31971
31977
|
import { Expose as Expose543, Type as Type373 } from "class-transformer";
|
|
31972
|
-
import { IsOptional as
|
|
31978
|
+
import { IsOptional as IsOptional40, IsString as IsString418, ValidateNested as ValidateNested339 } from "class-validator";
|
|
31973
31979
|
var NavisionBitacoraFileDto = class {
|
|
31974
31980
|
Action = "";
|
|
31975
31981
|
Date = new NavisionDateRegistryDto();
|
|
@@ -31977,24 +31983,24 @@ var NavisionBitacoraFileDto = class {
|
|
|
31977
31983
|
Description = "";
|
|
31978
31984
|
};
|
|
31979
31985
|
__decorateClass([
|
|
31980
|
-
|
|
31986
|
+
IsOptional40(),
|
|
31981
31987
|
IsString418({ message: "debe ser texto" }),
|
|
31982
31988
|
Expose543()
|
|
31983
31989
|
], NavisionBitacoraFileDto.prototype, "Action", 2);
|
|
31984
31990
|
__decorateClass([
|
|
31985
|
-
|
|
31991
|
+
IsOptional40(),
|
|
31986
31992
|
Type373(() => NavisionDateRegistryDto),
|
|
31987
31993
|
ValidateNested339(),
|
|
31988
31994
|
Expose543()
|
|
31989
31995
|
], NavisionBitacoraFileDto.prototype, "Date", 2);
|
|
31990
31996
|
__decorateClass([
|
|
31991
|
-
|
|
31997
|
+
IsOptional40(),
|
|
31992
31998
|
Type373(() => NavisionUserRegistryDto),
|
|
31993
31999
|
ValidateNested339(),
|
|
31994
32000
|
Expose543()
|
|
31995
32001
|
], NavisionBitacoraFileDto.prototype, "User", 2);
|
|
31996
32002
|
__decorateClass([
|
|
31997
|
-
|
|
32003
|
+
IsOptional40(),
|
|
31998
32004
|
IsString418({ message: "debe ser texto" }),
|
|
31999
32005
|
Expose543()
|
|
32000
32006
|
], NavisionBitacoraFileDto.prototype, "Description", 2);
|
|
@@ -32013,58 +32019,58 @@ var AlbaranDto = class {
|
|
|
32013
32019
|
Bitacora = [];
|
|
32014
32020
|
};
|
|
32015
32021
|
__decorateClass([
|
|
32016
|
-
|
|
32022
|
+
IsOptional41(),
|
|
32017
32023
|
IsString419({ message: "debe ser texto" }),
|
|
32018
32024
|
Expose544()
|
|
32019
32025
|
], AlbaranDto.prototype, "Code", 2);
|
|
32020
32026
|
__decorateClass([
|
|
32021
|
-
|
|
32027
|
+
IsOptional41(),
|
|
32022
32028
|
IsString419({ message: "debe ser texto" }),
|
|
32023
32029
|
Transform73(({ value }) => value?.toUpperCase().trim()),
|
|
32024
32030
|
Expose544()
|
|
32025
32031
|
], AlbaranDto.prototype, "Name", 2);
|
|
32026
32032
|
__decorateClass([
|
|
32027
|
-
|
|
32033
|
+
IsOptional41(),
|
|
32028
32034
|
IsString419({ message: "debe ser texto" }),
|
|
32029
32035
|
Expose544()
|
|
32030
32036
|
], AlbaranDto.prototype, "FileName", 2);
|
|
32031
32037
|
__decorateClass([
|
|
32032
|
-
|
|
32038
|
+
IsOptional41(),
|
|
32033
32039
|
IsString419({ message: "debe ser texto" }),
|
|
32034
32040
|
Transform73(({ value }) => value?.toUpperCase().trim()),
|
|
32035
32041
|
Expose544()
|
|
32036
32042
|
], AlbaranDto.prototype, "Extension", 2);
|
|
32037
32043
|
__decorateClass([
|
|
32038
|
-
|
|
32044
|
+
IsOptional41(),
|
|
32039
32045
|
IsString419({ message: "debe ser texto" }),
|
|
32040
32046
|
Expose544()
|
|
32041
32047
|
], AlbaranDto.prototype, "LoadName", 2);
|
|
32042
32048
|
__decorateClass([
|
|
32043
|
-
|
|
32049
|
+
IsOptional41(),
|
|
32044
32050
|
IsNumber366({}, { message: "debe ser un n\xFAmero" }),
|
|
32045
32051
|
Transform73(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
32046
32052
|
Expose544()
|
|
32047
32053
|
], AlbaranDto.prototype, "Status", 2);
|
|
32048
32054
|
__decorateClass([
|
|
32049
|
-
|
|
32055
|
+
IsOptional41(),
|
|
32050
32056
|
Type374(() => DetalleAlbaranDTO),
|
|
32051
32057
|
ValidateNested340(),
|
|
32052
32058
|
Expose544()
|
|
32053
32059
|
], AlbaranDto.prototype, "Detalle", 2);
|
|
32054
32060
|
__decorateClass([
|
|
32055
|
-
|
|
32061
|
+
IsOptional41(),
|
|
32056
32062
|
Type374(() => NavisionDateRegistryDto),
|
|
32057
32063
|
ValidateNested340(),
|
|
32058
32064
|
Expose544()
|
|
32059
32065
|
], AlbaranDto.prototype, "Dates", 2);
|
|
32060
32066
|
__decorateClass([
|
|
32061
|
-
|
|
32067
|
+
IsOptional41(),
|
|
32062
32068
|
Type374(() => NavisionUserRegistryDto),
|
|
32063
32069
|
ValidateNested340(),
|
|
32064
32070
|
Expose544()
|
|
32065
32071
|
], AlbaranDto.prototype, "Users", 2);
|
|
32066
32072
|
__decorateClass([
|
|
32067
|
-
|
|
32073
|
+
IsOptional41(),
|
|
32068
32074
|
IsArray204({ message: "debe ser un array" }),
|
|
32069
32075
|
Type374(() => NavisionBitacoraFileDto),
|
|
32070
32076
|
ValidateNested340({ each: true }),
|
|
@@ -32073,7 +32079,7 @@ __decorateClass([
|
|
|
32073
32079
|
|
|
32074
32080
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
32075
32081
|
import { Expose as Expose545, Type as Type375, Transform as Transform74 } from "class-transformer";
|
|
32076
|
-
import { IsDate as IsDate123, IsNumber as IsNumber367, IsOptional as
|
|
32082
|
+
import { IsDate as IsDate123, IsNumber as IsNumber367, IsOptional as IsOptional42, IsString as IsString420, Min as Min285 } from "class-validator";
|
|
32077
32083
|
var ClosedDto = class {
|
|
32078
32084
|
IdDate = 0;
|
|
32079
32085
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32085,53 +32091,53 @@ var ClosedDto = class {
|
|
|
32085
32091
|
FullName = "";
|
|
32086
32092
|
};
|
|
32087
32093
|
__decorateClass([
|
|
32088
|
-
|
|
32094
|
+
IsOptional42(),
|
|
32089
32095
|
IsNumber367({}, { message: "debe ser un n\xFAmero" }),
|
|
32090
32096
|
Min285(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32091
32097
|
Expose545()
|
|
32092
32098
|
], ClosedDto.prototype, "IdDate", 2);
|
|
32093
32099
|
__decorateClass([
|
|
32094
|
-
|
|
32100
|
+
IsOptional42(),
|
|
32095
32101
|
Transform74(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32096
32102
|
IsDate123({ message: "debe ser una fecha" }),
|
|
32097
32103
|
Type375(() => Date),
|
|
32098
32104
|
Expose545()
|
|
32099
32105
|
], ClosedDto.prototype, "Date", 2);
|
|
32100
32106
|
__decorateClass([
|
|
32101
|
-
|
|
32107
|
+
IsOptional42(),
|
|
32102
32108
|
IsNumber367({}, { message: "debe ser un n\xFAmero" }),
|
|
32103
32109
|
Type375(() => Number),
|
|
32104
32110
|
Expose545()
|
|
32105
32111
|
], ClosedDto.prototype, "IdUser", 2);
|
|
32106
32112
|
__decorateClass([
|
|
32107
|
-
|
|
32113
|
+
IsOptional42(),
|
|
32108
32114
|
IsString420({ message: "debe ser texto" }),
|
|
32109
32115
|
Expose545()
|
|
32110
32116
|
], ClosedDto.prototype, "User", 2);
|
|
32111
32117
|
__decorateClass([
|
|
32112
|
-
|
|
32118
|
+
IsOptional42(),
|
|
32113
32119
|
IsString420({ message: "debe ser texto" }),
|
|
32114
32120
|
Expose545()
|
|
32115
32121
|
], ClosedDto.prototype, "LastName", 2);
|
|
32116
32122
|
__decorateClass([
|
|
32117
|
-
|
|
32123
|
+
IsOptional42(),
|
|
32118
32124
|
IsString420({ message: "debe ser texto" }),
|
|
32119
32125
|
Expose545()
|
|
32120
32126
|
], ClosedDto.prototype, "Name", 2);
|
|
32121
32127
|
__decorateClass([
|
|
32122
|
-
|
|
32128
|
+
IsOptional42(),
|
|
32123
32129
|
IsString420({ message: "debe ser texto" }),
|
|
32124
32130
|
Expose545()
|
|
32125
32131
|
], ClosedDto.prototype, "Perfil", 2);
|
|
32126
32132
|
__decorateClass([
|
|
32127
|
-
|
|
32133
|
+
IsOptional42(),
|
|
32128
32134
|
IsString420({ message: "debe ser texto" }),
|
|
32129
32135
|
Expose545()
|
|
32130
32136
|
], ClosedDto.prototype, "FullName", 2);
|
|
32131
32137
|
|
|
32132
32138
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
32133
32139
|
import { Expose as Expose546, Type as Type376, Transform as Transform75 } from "class-transformer";
|
|
32134
|
-
import { IsDate as IsDate124, IsNumber as IsNumber368, IsOptional as
|
|
32140
|
+
import { IsDate as IsDate124, IsNumber as IsNumber368, IsOptional as IsOptional43, IsString as IsString421, Min as Min286 } from "class-validator";
|
|
32135
32141
|
var EmisionDto = class {
|
|
32136
32142
|
IdDate = 0;
|
|
32137
32143
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32143,46 +32149,46 @@ var EmisionDto = class {
|
|
|
32143
32149
|
FullName = "";
|
|
32144
32150
|
};
|
|
32145
32151
|
__decorateClass([
|
|
32146
|
-
|
|
32152
|
+
IsOptional43(),
|
|
32147
32153
|
IsNumber368({}, { message: "debe ser un n\xFAmero" }),
|
|
32148
32154
|
Min286(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32149
32155
|
Expose546()
|
|
32150
32156
|
], EmisionDto.prototype, "IdDate", 2);
|
|
32151
32157
|
__decorateClass([
|
|
32152
|
-
|
|
32158
|
+
IsOptional43(),
|
|
32153
32159
|
Transform75(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32154
32160
|
IsDate124({ message: "debe ser una fecha" }),
|
|
32155
32161
|
Type376(() => Date),
|
|
32156
32162
|
Expose546()
|
|
32157
32163
|
], EmisionDto.prototype, "Date", 2);
|
|
32158
32164
|
__decorateClass([
|
|
32159
|
-
|
|
32165
|
+
IsOptional43(),
|
|
32160
32166
|
IsNumber368({}, { message: "debe ser un n\xFAmero" }),
|
|
32161
32167
|
Type376(() => Number),
|
|
32162
32168
|
Expose546()
|
|
32163
32169
|
], EmisionDto.prototype, "IdUser", 2);
|
|
32164
32170
|
__decorateClass([
|
|
32165
|
-
|
|
32171
|
+
IsOptional43(),
|
|
32166
32172
|
IsString421({ message: "debe ser texto" }),
|
|
32167
32173
|
Expose546()
|
|
32168
32174
|
], EmisionDto.prototype, "User", 2);
|
|
32169
32175
|
__decorateClass([
|
|
32170
|
-
|
|
32176
|
+
IsOptional43(),
|
|
32171
32177
|
IsString421({ message: "debe ser texto" }),
|
|
32172
32178
|
Expose546()
|
|
32173
32179
|
], EmisionDto.prototype, "LastName", 2);
|
|
32174
32180
|
__decorateClass([
|
|
32175
|
-
|
|
32181
|
+
IsOptional43(),
|
|
32176
32182
|
IsString421({ message: "debe ser texto" }),
|
|
32177
32183
|
Expose546()
|
|
32178
32184
|
], EmisionDto.prototype, "Name", 2);
|
|
32179
32185
|
__decorateClass([
|
|
32180
|
-
|
|
32186
|
+
IsOptional43(),
|
|
32181
32187
|
IsString421({ message: "debe ser texto" }),
|
|
32182
32188
|
Expose546()
|
|
32183
32189
|
], EmisionDto.prototype, "Perfil", 2);
|
|
32184
32190
|
__decorateClass([
|
|
32185
|
-
|
|
32191
|
+
IsOptional43(),
|
|
32186
32192
|
IsString421({ message: "debe ser texto" }),
|
|
32187
32193
|
Expose546()
|
|
32188
32194
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -32192,7 +32198,7 @@ import { Expose as Expose552 } from "class-transformer";
|
|
|
32192
32198
|
|
|
32193
32199
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
32194
32200
|
import { Expose as Expose547, Type as Type377, Transform as Transform76 } from "class-transformer";
|
|
32195
|
-
import { IsDate as IsDate125, IsNumber as IsNumber369, IsOptional as
|
|
32201
|
+
import { IsDate as IsDate125, IsNumber as IsNumber369, IsOptional as IsOptional44, IsString as IsString422, Min as Min287 } from "class-validator";
|
|
32196
32202
|
var FacturaDto = class {
|
|
32197
32203
|
IdDate = 0;
|
|
32198
32204
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32204,46 +32210,46 @@ var FacturaDto = class {
|
|
|
32204
32210
|
FullName = "";
|
|
32205
32211
|
};
|
|
32206
32212
|
__decorateClass([
|
|
32207
|
-
|
|
32213
|
+
IsOptional44(),
|
|
32208
32214
|
IsNumber369({}, { message: "debe ser un n\xFAmero" }),
|
|
32209
32215
|
Min287(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32210
32216
|
Expose547()
|
|
32211
32217
|
], FacturaDto.prototype, "IdDate", 2);
|
|
32212
32218
|
__decorateClass([
|
|
32213
|
-
|
|
32219
|
+
IsOptional44(),
|
|
32214
32220
|
Transform76(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32215
32221
|
IsDate125({ message: "debe ser una fecha" }),
|
|
32216
32222
|
Type377(() => Date),
|
|
32217
32223
|
Expose547()
|
|
32218
32224
|
], FacturaDto.prototype, "Date", 2);
|
|
32219
32225
|
__decorateClass([
|
|
32220
|
-
|
|
32226
|
+
IsOptional44(),
|
|
32221
32227
|
IsNumber369({}, { message: "debe ser un n\xFAmero" }),
|
|
32222
32228
|
Type377(() => Number),
|
|
32223
32229
|
Expose547()
|
|
32224
32230
|
], FacturaDto.prototype, "IdUser", 2);
|
|
32225
32231
|
__decorateClass([
|
|
32226
|
-
|
|
32232
|
+
IsOptional44(),
|
|
32227
32233
|
IsString422({ message: "debe ser texto" }),
|
|
32228
32234
|
Expose547()
|
|
32229
32235
|
], FacturaDto.prototype, "User", 2);
|
|
32230
32236
|
__decorateClass([
|
|
32231
|
-
|
|
32237
|
+
IsOptional44(),
|
|
32232
32238
|
IsString422({ message: "debe ser texto" }),
|
|
32233
32239
|
Expose547()
|
|
32234
32240
|
], FacturaDto.prototype, "LastName", 2);
|
|
32235
32241
|
__decorateClass([
|
|
32236
|
-
|
|
32242
|
+
IsOptional44(),
|
|
32237
32243
|
IsString422({ message: "debe ser texto" }),
|
|
32238
32244
|
Expose547()
|
|
32239
32245
|
], FacturaDto.prototype, "Name", 2);
|
|
32240
32246
|
__decorateClass([
|
|
32241
|
-
|
|
32247
|
+
IsOptional44(),
|
|
32242
32248
|
IsString422({ message: "debe ser texto" }),
|
|
32243
32249
|
Expose547()
|
|
32244
32250
|
], FacturaDto.prototype, "Perfil", 2);
|
|
32245
32251
|
__decorateClass([
|
|
32246
|
-
|
|
32252
|
+
IsOptional44(),
|
|
32247
32253
|
IsString422({ message: "debe ser texto" }),
|
|
32248
32254
|
Expose547()
|
|
32249
32255
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -32253,7 +32259,7 @@ import { ValidateNested as ValidateNested341 } from "class-validator";
|
|
|
32253
32259
|
|
|
32254
32260
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
32255
32261
|
import { Expose as Expose548, Type as Type378, Transform as Transform77 } from "class-transformer";
|
|
32256
|
-
import { IsDate as IsDate126, IsNumber as IsNumber370, IsOptional as
|
|
32262
|
+
import { IsDate as IsDate126, IsNumber as IsNumber370, IsOptional as IsOptional45, IsString as IsString423, Min as Min288 } from "class-validator";
|
|
32257
32263
|
var OrdenDto = class {
|
|
32258
32264
|
IdDate = 0;
|
|
32259
32265
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32265,53 +32271,53 @@ var OrdenDto = class {
|
|
|
32265
32271
|
FullName = "";
|
|
32266
32272
|
};
|
|
32267
32273
|
__decorateClass([
|
|
32268
|
-
|
|
32274
|
+
IsOptional45(),
|
|
32269
32275
|
IsNumber370({}, { message: "debe ser un n\xFAmero" }),
|
|
32270
32276
|
Min288(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32271
32277
|
Expose548()
|
|
32272
32278
|
], OrdenDto.prototype, "IdDate", 2);
|
|
32273
32279
|
__decorateClass([
|
|
32274
|
-
|
|
32280
|
+
IsOptional45(),
|
|
32275
32281
|
Transform77(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32276
32282
|
IsDate126({ message: "debe ser una fecha" }),
|
|
32277
32283
|
Type378(() => Date),
|
|
32278
32284
|
Expose548()
|
|
32279
32285
|
], OrdenDto.prototype, "Date", 2);
|
|
32280
32286
|
__decorateClass([
|
|
32281
|
-
|
|
32287
|
+
IsOptional45(),
|
|
32282
32288
|
IsNumber370({}, { message: "debe ser un n\xFAmero" }),
|
|
32283
32289
|
Type378(() => Number),
|
|
32284
32290
|
Expose548()
|
|
32285
32291
|
], OrdenDto.prototype, "IdUser", 2);
|
|
32286
32292
|
__decorateClass([
|
|
32287
|
-
|
|
32293
|
+
IsOptional45(),
|
|
32288
32294
|
IsString423({ message: "debe ser texto" }),
|
|
32289
32295
|
Expose548()
|
|
32290
32296
|
], OrdenDto.prototype, "User", 2);
|
|
32291
32297
|
__decorateClass([
|
|
32292
|
-
|
|
32298
|
+
IsOptional45(),
|
|
32293
32299
|
IsString423({ message: "debe ser texto" }),
|
|
32294
32300
|
Expose548()
|
|
32295
32301
|
], OrdenDto.prototype, "LastName", 2);
|
|
32296
32302
|
__decorateClass([
|
|
32297
|
-
|
|
32303
|
+
IsOptional45(),
|
|
32298
32304
|
IsString423({ message: "debe ser texto" }),
|
|
32299
32305
|
Expose548()
|
|
32300
32306
|
], OrdenDto.prototype, "Name", 2);
|
|
32301
32307
|
__decorateClass([
|
|
32302
|
-
|
|
32308
|
+
IsOptional45(),
|
|
32303
32309
|
IsString423({ message: "debe ser texto" }),
|
|
32304
32310
|
Expose548()
|
|
32305
32311
|
], OrdenDto.prototype, "Perfil", 2);
|
|
32306
32312
|
__decorateClass([
|
|
32307
|
-
|
|
32313
|
+
IsOptional45(),
|
|
32308
32314
|
IsString423({ message: "debe ser texto" }),
|
|
32309
32315
|
Expose548()
|
|
32310
32316
|
], OrdenDto.prototype, "FullName", 2);
|
|
32311
32317
|
|
|
32312
32318
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
32313
32319
|
import { Expose as Expose549, Type as Type379, Transform as Transform78 } from "class-transformer";
|
|
32314
|
-
import { IsDate as IsDate127, IsNumber as IsNumber371, IsOptional as
|
|
32320
|
+
import { IsDate as IsDate127, IsNumber as IsNumber371, IsOptional as IsOptional46, IsString as IsString424, Min as Min289 } from "class-validator";
|
|
32315
32321
|
var PreAcceptedDto = class {
|
|
32316
32322
|
IdDate = 0;
|
|
32317
32323
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32323,53 +32329,53 @@ var PreAcceptedDto = class {
|
|
|
32323
32329
|
FullName = "";
|
|
32324
32330
|
};
|
|
32325
32331
|
__decorateClass([
|
|
32326
|
-
|
|
32332
|
+
IsOptional46(),
|
|
32327
32333
|
IsNumber371({}, { message: "debe ser un n\xFAmero" }),
|
|
32328
32334
|
Min289(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32329
32335
|
Expose549()
|
|
32330
32336
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
32331
32337
|
__decorateClass([
|
|
32332
|
-
|
|
32338
|
+
IsOptional46(),
|
|
32333
32339
|
Transform78(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32334
32340
|
IsDate127({ message: "debe ser una fecha" }),
|
|
32335
32341
|
Type379(() => Date),
|
|
32336
32342
|
Expose549()
|
|
32337
32343
|
], PreAcceptedDto.prototype, "Date", 2);
|
|
32338
32344
|
__decorateClass([
|
|
32339
|
-
|
|
32345
|
+
IsOptional46(),
|
|
32340
32346
|
IsNumber371({}, { message: "debe ser un n\xFAmero" }),
|
|
32341
32347
|
Type379(() => Number),
|
|
32342
32348
|
Expose549()
|
|
32343
32349
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
32344
32350
|
__decorateClass([
|
|
32345
|
-
|
|
32351
|
+
IsOptional46(),
|
|
32346
32352
|
IsString424({ message: "debe ser texto" }),
|
|
32347
32353
|
Expose549()
|
|
32348
32354
|
], PreAcceptedDto.prototype, "User", 2);
|
|
32349
32355
|
__decorateClass([
|
|
32350
|
-
|
|
32356
|
+
IsOptional46(),
|
|
32351
32357
|
IsString424({ message: "debe ser texto" }),
|
|
32352
32358
|
Expose549()
|
|
32353
32359
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
32354
32360
|
__decorateClass([
|
|
32355
|
-
|
|
32361
|
+
IsOptional46(),
|
|
32356
32362
|
IsString424({ message: "debe ser texto" }),
|
|
32357
32363
|
Expose549()
|
|
32358
32364
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
32359
32365
|
__decorateClass([
|
|
32360
|
-
|
|
32366
|
+
IsOptional46(),
|
|
32361
32367
|
IsString424({ message: "debe ser texto" }),
|
|
32362
32368
|
Expose549()
|
|
32363
32369
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
32364
32370
|
__decorateClass([
|
|
32365
|
-
|
|
32371
|
+
IsOptional46(),
|
|
32366
32372
|
IsString424({ message: "debe ser texto" }),
|
|
32367
32373
|
Expose549()
|
|
32368
32374
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
32369
32375
|
|
|
32370
32376
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
32371
32377
|
import { Expose as Expose550, Type as Type380, Transform as Transform79 } from "class-transformer";
|
|
32372
|
-
import { IsDate as IsDate128, IsNumber as IsNumber372, IsOptional as
|
|
32378
|
+
import { IsDate as IsDate128, IsNumber as IsNumber372, IsOptional as IsOptional47, IsString as IsString425, Min as Min290 } from "class-validator";
|
|
32373
32379
|
var RegistryDto = class {
|
|
32374
32380
|
IdDate = 0;
|
|
32375
32381
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32381,46 +32387,46 @@ var RegistryDto = class {
|
|
|
32381
32387
|
FullName = "";
|
|
32382
32388
|
};
|
|
32383
32389
|
__decorateClass([
|
|
32384
|
-
|
|
32390
|
+
IsOptional47(),
|
|
32385
32391
|
IsNumber372({}, { message: "debe ser un n\xFAmero" }),
|
|
32386
32392
|
Min290(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32387
32393
|
Expose550()
|
|
32388
32394
|
], RegistryDto.prototype, "IdDate", 2);
|
|
32389
32395
|
__decorateClass([
|
|
32390
|
-
|
|
32396
|
+
IsOptional47(),
|
|
32391
32397
|
Transform79(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32392
32398
|
IsDate128({ message: "debe ser una fecha" }),
|
|
32393
32399
|
Type380(() => Date),
|
|
32394
32400
|
Expose550()
|
|
32395
32401
|
], RegistryDto.prototype, "Date", 2);
|
|
32396
32402
|
__decorateClass([
|
|
32397
|
-
|
|
32403
|
+
IsOptional47(),
|
|
32398
32404
|
IsNumber372({}, { message: "debe ser un n\xFAmero" }),
|
|
32399
32405
|
Type380(() => Number),
|
|
32400
32406
|
Expose550()
|
|
32401
32407
|
], RegistryDto.prototype, "IdUser", 2);
|
|
32402
32408
|
__decorateClass([
|
|
32403
|
-
|
|
32409
|
+
IsOptional47(),
|
|
32404
32410
|
IsString425({ message: "debe ser texto" }),
|
|
32405
32411
|
Expose550()
|
|
32406
32412
|
], RegistryDto.prototype, "User", 2);
|
|
32407
32413
|
__decorateClass([
|
|
32408
|
-
|
|
32414
|
+
IsOptional47(),
|
|
32409
32415
|
IsString425({ message: "debe ser texto" }),
|
|
32410
32416
|
Expose550()
|
|
32411
32417
|
], RegistryDto.prototype, "LastName", 2);
|
|
32412
32418
|
__decorateClass([
|
|
32413
|
-
|
|
32419
|
+
IsOptional47(),
|
|
32414
32420
|
IsString425({ message: "debe ser texto" }),
|
|
32415
32421
|
Expose550()
|
|
32416
32422
|
], RegistryDto.prototype, "Name", 2);
|
|
32417
32423
|
__decorateClass([
|
|
32418
|
-
|
|
32424
|
+
IsOptional47(),
|
|
32419
32425
|
IsString425({ message: "debe ser texto" }),
|
|
32420
32426
|
Expose550()
|
|
32421
32427
|
], RegistryDto.prototype, "Perfil", 2);
|
|
32422
32428
|
__decorateClass([
|
|
32423
|
-
|
|
32429
|
+
IsOptional47(),
|
|
32424
32430
|
IsString425({ message: "debe ser texto" }),
|
|
32425
32431
|
Expose550()
|
|
32426
32432
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -32430,7 +32436,7 @@ import { Type as Type382 } from "class-transformer";
|
|
|
32430
32436
|
|
|
32431
32437
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
32432
32438
|
import { Expose as Expose551, Type as Type381, Transform as Transform80 } from "class-transformer";
|
|
32433
|
-
import { IsDate as IsDate129, IsNumber as IsNumber373, IsOptional as
|
|
32439
|
+
import { IsDate as IsDate129, IsNumber as IsNumber373, IsOptional as IsOptional48, IsString as IsString426, Min as Min291 } from "class-validator";
|
|
32434
32440
|
var UpdateDto = class {
|
|
32435
32441
|
IdDate = 0;
|
|
32436
32442
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32442,46 +32448,46 @@ var UpdateDto = class {
|
|
|
32442
32448
|
FullName = "";
|
|
32443
32449
|
};
|
|
32444
32450
|
__decorateClass([
|
|
32445
|
-
|
|
32451
|
+
IsOptional48(),
|
|
32446
32452
|
IsNumber373({}, { message: "debe ser un n\xFAmero" }),
|
|
32447
32453
|
Min291(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32448
32454
|
Expose551()
|
|
32449
32455
|
], UpdateDto.prototype, "IdDate", 2);
|
|
32450
32456
|
__decorateClass([
|
|
32451
|
-
|
|
32457
|
+
IsOptional48(),
|
|
32452
32458
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32453
32459
|
IsDate129({ message: "debe ser una fecha" }),
|
|
32454
32460
|
Type381(() => Date),
|
|
32455
32461
|
Expose551()
|
|
32456
32462
|
], UpdateDto.prototype, "Date", 2);
|
|
32457
32463
|
__decorateClass([
|
|
32458
|
-
|
|
32464
|
+
IsOptional48(),
|
|
32459
32465
|
IsNumber373({}, { message: "debe ser un n\xFAmero" }),
|
|
32460
32466
|
Type381(() => Number),
|
|
32461
32467
|
Expose551()
|
|
32462
32468
|
], UpdateDto.prototype, "IdUser", 2);
|
|
32463
32469
|
__decorateClass([
|
|
32464
|
-
|
|
32470
|
+
IsOptional48(),
|
|
32465
32471
|
IsString426({ message: "debe ser texto" }),
|
|
32466
32472
|
Expose551()
|
|
32467
32473
|
], UpdateDto.prototype, "User", 2);
|
|
32468
32474
|
__decorateClass([
|
|
32469
|
-
|
|
32475
|
+
IsOptional48(),
|
|
32470
32476
|
IsString426({ message: "debe ser texto" }),
|
|
32471
32477
|
Expose551()
|
|
32472
32478
|
], UpdateDto.prototype, "LastName", 2);
|
|
32473
32479
|
__decorateClass([
|
|
32474
|
-
|
|
32480
|
+
IsOptional48(),
|
|
32475
32481
|
IsString426({ message: "debe ser texto" }),
|
|
32476
32482
|
Expose551()
|
|
32477
32483
|
], UpdateDto.prototype, "Name", 2);
|
|
32478
32484
|
__decorateClass([
|
|
32479
|
-
|
|
32485
|
+
IsOptional48(),
|
|
32480
32486
|
IsString426({ message: "debe ser texto" }),
|
|
32481
32487
|
Expose551()
|
|
32482
32488
|
], UpdateDto.prototype, "Perfil", 2);
|
|
32483
32489
|
__decorateClass([
|
|
32484
|
-
|
|
32490
|
+
IsOptional48(),
|
|
32485
32491
|
IsString426({ message: "debe ser texto" }),
|
|
32486
32492
|
Expose551()
|
|
32487
32493
|
], UpdateDto.prototype, "FullName", 2);
|
|
@@ -32901,7 +32907,7 @@ __decorateClass([
|
|
|
32901
32907
|
|
|
32902
32908
|
// src/logistica/procesos/navisionpreorden/shared/dto/almacen-dto.ts
|
|
32903
32909
|
import { Expose as Expose565 } from "class-transformer";
|
|
32904
|
-
import { IsNumber as IsNumber376, IsOptional as
|
|
32910
|
+
import { IsNumber as IsNumber376, IsOptional as IsOptional50, IsString as IsString438 } from "class-validator";
|
|
32905
32911
|
var AlmacenDto = class {
|
|
32906
32912
|
Codigo = "";
|
|
32907
32913
|
Almacen = "";
|
|
@@ -32913,17 +32919,17 @@ __decorateClass([
|
|
|
32913
32919
|
Expose565()
|
|
32914
32920
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
32915
32921
|
__decorateClass([
|
|
32916
|
-
|
|
32922
|
+
IsOptional50(),
|
|
32917
32923
|
IsString438({ message: "debe ser texto" }),
|
|
32918
32924
|
Expose565()
|
|
32919
32925
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
32920
32926
|
__decorateClass([
|
|
32921
|
-
|
|
32927
|
+
IsOptional50(),
|
|
32922
32928
|
IsString438({ message: "debe ser texto" }),
|
|
32923
32929
|
Expose565()
|
|
32924
32930
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
32925
32931
|
__decorateClass([
|
|
32926
|
-
|
|
32932
|
+
IsOptional50(),
|
|
32927
32933
|
IsNumber376({}, { message: "debe ser un n\xFAmero" }),
|
|
32928
32934
|
Expose565()
|
|
32929
32935
|
], AlmacenDto.prototype, "ID_Almacen", 2);
|
|
@@ -32979,7 +32985,7 @@ import { Type as Type388 } from "class-transformer";
|
|
|
32979
32985
|
|
|
32980
32986
|
// src/logistica/procesos/navisionpreorden/shared/dto/empresa-personal-datos-trabajo-dto.ts
|
|
32981
32987
|
import { Expose as Expose568 } from "class-transformer";
|
|
32982
|
-
import { IsBoolean as
|
|
32988
|
+
import { IsBoolean as IsBoolean54, IsString as IsString441 } from "class-validator";
|
|
32983
32989
|
var EmpresaPersonalDatosTrabajoDTO = class {
|
|
32984
32990
|
Codigo = "";
|
|
32985
32991
|
RazonSocial = "";
|
|
@@ -32994,7 +33000,7 @@ __decorateClass([
|
|
|
32994
33000
|
Expose568()
|
|
32995
33001
|
], EmpresaPersonalDatosTrabajoDTO.prototype, "RazonSocial", 2);
|
|
32996
33002
|
__decorateClass([
|
|
32997
|
-
|
|
33003
|
+
IsBoolean54({ message: "debe ser un booleano" }),
|
|
32998
33004
|
Expose568()
|
|
32999
33005
|
], EmpresaPersonalDatosTrabajoDTO.prototype, "Propia", 2);
|
|
33000
33006
|
|
|
@@ -33205,11 +33211,11 @@ __decorateClass([
|
|
|
33205
33211
|
|
|
33206
33212
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
33207
33213
|
import { Expose as Expose593, Type as Type396 } from "class-transformer";
|
|
33208
|
-
import { IsOptional as
|
|
33214
|
+
import { IsOptional as IsOptional57, ValidateNested as ValidateNested354 } from "class-validator";
|
|
33209
33215
|
|
|
33210
33216
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
33211
33217
|
import { Expose as Expose576 } from "class-transformer";
|
|
33212
|
-
import { IsBoolean as
|
|
33218
|
+
import { IsBoolean as IsBoolean55, ValidateNested as ValidateNested348 } from "class-validator";
|
|
33213
33219
|
|
|
33214
33220
|
// src/logistica/procesos/navisionpreorden/shared/dto/tipo-item-dto.ts
|
|
33215
33221
|
import { Expose as Expose575 } from "class-transformer";
|
|
@@ -33240,11 +33246,11 @@ var DetalleDto = class {
|
|
|
33240
33246
|
TipoItem = new TipoItemDto();
|
|
33241
33247
|
};
|
|
33242
33248
|
__decorateClass([
|
|
33243
|
-
|
|
33249
|
+
IsBoolean55({ message: "debe ser true o false" }),
|
|
33244
33250
|
Expose576()
|
|
33245
33251
|
], DetalleDto.prototype, "Activo", 2);
|
|
33246
33252
|
__decorateClass([
|
|
33247
|
-
|
|
33253
|
+
IsBoolean55({ message: "debe ser true o false" }),
|
|
33248
33254
|
Expose576()
|
|
33249
33255
|
], DetalleDto.prototype, "Mostrar", 2);
|
|
33250
33256
|
__decorateClass([
|
|
@@ -33255,33 +33261,33 @@ __decorateClass([
|
|
|
33255
33261
|
|
|
33256
33262
|
// src/logistica/procesos/navisionpreorden/shared/dto/equipo-serie-dto.ts
|
|
33257
33263
|
import { Expose as Expose580, Type as Type391 } from "class-transformer";
|
|
33258
|
-
import { IsOptional as
|
|
33264
|
+
import { IsOptional as IsOptional55, IsString as IsString452, IsNumber as IsNumber384, IsNotEmpty as IsNotEmpty371, ValidateNested as ValidateNested350 } from "class-validator";
|
|
33259
33265
|
|
|
33260
33266
|
// src/logistica/procesos/navisionpreorden/shared/dto/estado-serie-dto.ts
|
|
33261
33267
|
import { Expose as Expose577 } from "class-transformer";
|
|
33262
|
-
import { IsOptional as
|
|
33268
|
+
import { IsOptional as IsOptional52, IsString as IsString449, IsNumber as IsNumber382 } from "class-validator";
|
|
33263
33269
|
var EstadoSerieDto = class {
|
|
33264
33270
|
ID_Estado = 0;
|
|
33265
33271
|
Nombre = "";
|
|
33266
33272
|
};
|
|
33267
33273
|
__decorateClass([
|
|
33268
|
-
|
|
33274
|
+
IsOptional52(),
|
|
33269
33275
|
IsNumber382({}, { message: "debe ser un n\xFAmero" }),
|
|
33270
33276
|
Expose577()
|
|
33271
33277
|
], EstadoSerieDto.prototype, "ID_Estado", 2);
|
|
33272
33278
|
__decorateClass([
|
|
33273
|
-
|
|
33279
|
+
IsOptional52(),
|
|
33274
33280
|
IsString449({ message: "debe ser texto" }),
|
|
33275
33281
|
Expose577()
|
|
33276
33282
|
], EstadoSerieDto.prototype, "Nombre", 2);
|
|
33277
33283
|
|
|
33278
33284
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-serie-dto.ts
|
|
33279
33285
|
import { Expose as Expose579, Type as Type390 } from "class-transformer";
|
|
33280
|
-
import { IsOptional as
|
|
33286
|
+
import { IsOptional as IsOptional54, ValidateNested as ValidateNested349, IsDate as IsDate130 } from "class-validator";
|
|
33281
33287
|
|
|
33282
33288
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-usuario-serie-dto.ts
|
|
33283
33289
|
import { Expose as Expose578 } from "class-transformer";
|
|
33284
|
-
import { IsOptional as
|
|
33290
|
+
import { IsOptional as IsOptional53, IsString as IsString450, IsNumber as IsNumber383 } from "class-validator";
|
|
33285
33291
|
var ValidadoUsuarioSerieDto = class {
|
|
33286
33292
|
ID_Usuario = 0;
|
|
33287
33293
|
NumeroDocumentoIdentidad = "";
|
|
@@ -33290,27 +33296,27 @@ var ValidadoUsuarioSerieDto = class {
|
|
|
33290
33296
|
Nombres = "";
|
|
33291
33297
|
};
|
|
33292
33298
|
__decorateClass([
|
|
33293
|
-
|
|
33299
|
+
IsOptional53(),
|
|
33294
33300
|
IsNumber383({}, { message: "debe ser un n\xFAmero" }),
|
|
33295
33301
|
Expose578()
|
|
33296
33302
|
], ValidadoUsuarioSerieDto.prototype, "ID_Usuario", 2);
|
|
33297
33303
|
__decorateClass([
|
|
33298
|
-
|
|
33304
|
+
IsOptional53(),
|
|
33299
33305
|
IsString450({ message: "debe ser texto" }),
|
|
33300
33306
|
Expose578()
|
|
33301
33307
|
], ValidadoUsuarioSerieDto.prototype, "NumeroDocumentoIdentidad", 2);
|
|
33302
33308
|
__decorateClass([
|
|
33303
|
-
|
|
33309
|
+
IsOptional53(),
|
|
33304
33310
|
IsString450({ message: "debe ser texto" }),
|
|
33305
33311
|
Expose578()
|
|
33306
33312
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoPaterno", 2);
|
|
33307
33313
|
__decorateClass([
|
|
33308
|
-
|
|
33314
|
+
IsOptional53(),
|
|
33309
33315
|
IsString450({ message: "debe ser texto" }),
|
|
33310
33316
|
Expose578()
|
|
33311
33317
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoMaterno", 2);
|
|
33312
33318
|
__decorateClass([
|
|
33313
|
-
|
|
33319
|
+
IsOptional53(),
|
|
33314
33320
|
IsString450({ message: "debe ser texto" }),
|
|
33315
33321
|
Expose578()
|
|
33316
33322
|
], ValidadoUsuarioSerieDto.prototype, "Nombres", 2);
|
|
@@ -33321,13 +33327,13 @@ var ValidadoSerieDto = class {
|
|
|
33321
33327
|
Usuario = new ValidadoUsuarioSerieDto();
|
|
33322
33328
|
};
|
|
33323
33329
|
__decorateClass([
|
|
33324
|
-
|
|
33330
|
+
IsOptional54(),
|
|
33325
33331
|
IsDate130({ message: "debe ser una fecha" }),
|
|
33326
33332
|
Type390(() => Date),
|
|
33327
33333
|
Expose579()
|
|
33328
33334
|
], ValidadoSerieDto.prototype, "Fecha", 2);
|
|
33329
33335
|
__decorateClass([
|
|
33330
|
-
|
|
33336
|
+
IsOptional54(),
|
|
33331
33337
|
ValidateNested349(),
|
|
33332
33338
|
Type390(() => ValidadoUsuarioSerieDto),
|
|
33333
33339
|
Expose579()
|
|
@@ -33348,7 +33354,7 @@ var EquipoSerieDto = class {
|
|
|
33348
33354
|
Estado;
|
|
33349
33355
|
};
|
|
33350
33356
|
__decorateClass([
|
|
33351
|
-
|
|
33357
|
+
IsOptional55(),
|
|
33352
33358
|
IsNumber384({}, { message: "debe ser un n\xFAmero" }),
|
|
33353
33359
|
Expose580()
|
|
33354
33360
|
], EquipoSerieDto.prototype, "Posicion", 2);
|
|
@@ -33358,17 +33364,17 @@ __decorateClass([
|
|
|
33358
33364
|
Expose580()
|
|
33359
33365
|
], EquipoSerieDto.prototype, "Collection", 2);
|
|
33360
33366
|
__decorateClass([
|
|
33361
|
-
|
|
33367
|
+
IsOptional55(),
|
|
33362
33368
|
IsString452({ message: "debe ser texto" }),
|
|
33363
33369
|
Expose580()
|
|
33364
33370
|
], EquipoSerieDto.prototype, "NroDocumento", 2);
|
|
33365
33371
|
__decorateClass([
|
|
33366
|
-
|
|
33372
|
+
IsOptional55(),
|
|
33367
33373
|
IsString452({ message: "debe ser texto" }),
|
|
33368
33374
|
Expose580()
|
|
33369
33375
|
], EquipoSerieDto.prototype, "Orden", 2);
|
|
33370
33376
|
__decorateClass([
|
|
33371
|
-
|
|
33377
|
+
IsOptional55(),
|
|
33372
33378
|
IsString452({ message: "debe ser texto" }),
|
|
33373
33379
|
Expose580()
|
|
33374
33380
|
], EquipoSerieDto.prototype, "NroContable", 2);
|
|
@@ -33378,28 +33384,28 @@ __decorateClass([
|
|
|
33378
33384
|
Expose580()
|
|
33379
33385
|
], EquipoSerieDto.prototype, "Serie", 2);
|
|
33380
33386
|
__decorateClass([
|
|
33381
|
-
|
|
33387
|
+
IsOptional55(),
|
|
33382
33388
|
IsString452({ message: "debe ser texto" }),
|
|
33383
33389
|
Expose580()
|
|
33384
33390
|
], EquipoSerieDto.prototype, "MAC", 2);
|
|
33385
33391
|
__decorateClass([
|
|
33386
|
-
|
|
33392
|
+
IsOptional55(),
|
|
33387
33393
|
IsString452({ message: "debe ser texto" }),
|
|
33388
33394
|
Expose580()
|
|
33389
33395
|
], EquipoSerieDto.prototype, "Marca", 2);
|
|
33390
33396
|
__decorateClass([
|
|
33391
|
-
|
|
33397
|
+
IsOptional55(),
|
|
33392
33398
|
IsString452({ message: "debe ser texto" }),
|
|
33393
33399
|
Expose580()
|
|
33394
33400
|
], EquipoSerieDto.prototype, "Modelo", 2);
|
|
33395
33401
|
__decorateClass([
|
|
33396
|
-
|
|
33402
|
+
IsOptional55(),
|
|
33397
33403
|
ValidateNested350(),
|
|
33398
33404
|
Type391(() => ValidadoSerieDto),
|
|
33399
33405
|
Expose580()
|
|
33400
33406
|
], EquipoSerieDto.prototype, "Validado", 2);
|
|
33401
33407
|
__decorateClass([
|
|
33402
|
-
|
|
33408
|
+
IsOptional55(),
|
|
33403
33409
|
ValidateNested350(),
|
|
33404
33410
|
Type391(() => EstadoSerieDto),
|
|
33405
33411
|
Expose580()
|
|
@@ -33432,7 +33438,7 @@ __decorateClass([
|
|
|
33432
33438
|
], FechaEntregaDto.prototype, "Date", 2);
|
|
33433
33439
|
|
|
33434
33440
|
// src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
|
|
33435
|
-
import { IsArray as IsArray205, IsBoolean as
|
|
33441
|
+
import { IsArray as IsArray205, IsBoolean as IsBoolean56, IsNumber as IsNumber387, IsOptional as IsOptional56, IsString as IsString460, ValidateNested as ValidateNested351 } from "class-validator";
|
|
33436
33442
|
|
|
33437
33443
|
// src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
|
|
33438
33444
|
import { Expose as Expose582 } from "class-transformer";
|
|
@@ -33640,12 +33646,12 @@ __decorateClass([
|
|
|
33640
33646
|
Expose588()
|
|
33641
33647
|
], ProductoDto.prototype, "IGV", 2);
|
|
33642
33648
|
__decorateClass([
|
|
33643
|
-
|
|
33644
|
-
|
|
33649
|
+
IsOptional56(),
|
|
33650
|
+
IsBoolean56({ message: "debe ser true o false" }),
|
|
33645
33651
|
Expose588()
|
|
33646
33652
|
], ProductoDto.prototype, "esFraccion", 2);
|
|
33647
33653
|
__decorateClass([
|
|
33648
|
-
|
|
33654
|
+
IsOptional56(),
|
|
33649
33655
|
IsNumber387({}, { message: "debe ser un n\xFAmero" }),
|
|
33650
33656
|
Expose588()
|
|
33651
33657
|
], ProductoDto.prototype, "CantidadComparativo", 2);
|
|
@@ -33670,19 +33676,19 @@ __decorateClass([
|
|
|
33670
33676
|
Expose588()
|
|
33671
33677
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
33672
33678
|
__decorateClass([
|
|
33673
|
-
|
|
33679
|
+
IsOptional56(),
|
|
33674
33680
|
IsArray205({ message: "debe ser un array" }),
|
|
33675
33681
|
Type393(() => RecepcionDto),
|
|
33676
33682
|
ValidateNested351({ each: true }),
|
|
33677
33683
|
Expose588()
|
|
33678
33684
|
], ProductoDto.prototype, "Recepcion", 2);
|
|
33679
33685
|
__decorateClass([
|
|
33680
|
-
|
|
33686
|
+
IsOptional56(),
|
|
33681
33687
|
IsString460({ message: "debe ser texto" }),
|
|
33682
33688
|
Expose588()
|
|
33683
33689
|
], ProductoDto.prototype, "Ind_SB", 2);
|
|
33684
33690
|
__decorateClass([
|
|
33685
|
-
|
|
33691
|
+
IsOptional56(),
|
|
33686
33692
|
IsArray205({ message: "debe ser un array" }),
|
|
33687
33693
|
Type393(() => EquipoSerieDto),
|
|
33688
33694
|
ValidateNested351({ each: true }),
|
|
@@ -33831,7 +33837,7 @@ var DetalleProductoDto = class {
|
|
|
33831
33837
|
Producto = new ProductoDto();
|
|
33832
33838
|
};
|
|
33833
33839
|
__decorateClass([
|
|
33834
|
-
|
|
33840
|
+
IsOptional57(),
|
|
33835
33841
|
Type396(() => RequerimientoDto),
|
|
33836
33842
|
ValidateNested354(),
|
|
33837
33843
|
Expose593()
|
|
@@ -33889,7 +33895,7 @@ __decorateClass([
|
|
|
33889
33895
|
|
|
33890
33896
|
// src/logistica/procesos/navisionpreorden/shared/dto/enviar-nav-dto.ts
|
|
33891
33897
|
import { Expose as Expose596 } from "class-transformer";
|
|
33892
|
-
import { IsBoolean as
|
|
33898
|
+
import { IsBoolean as IsBoolean57, IsString as IsString467, ValidateNested as ValidateNested356 } from "class-validator";
|
|
33893
33899
|
import { Type as Type398 } from "class-transformer";
|
|
33894
33900
|
var EnviarNavDto = class {
|
|
33895
33901
|
result = "";
|
|
@@ -33901,7 +33907,7 @@ __decorateClass([
|
|
|
33901
33907
|
Expose596()
|
|
33902
33908
|
], EnviarNavDto.prototype, "result", 2);
|
|
33903
33909
|
__decorateClass([
|
|
33904
|
-
|
|
33910
|
+
IsBoolean57({ message: "debe ser true o false" }),
|
|
33905
33911
|
Expose596()
|
|
33906
33912
|
], EnviarNavDto.prototype, "error", 2);
|
|
33907
33913
|
__decorateClass([
|
|
@@ -33938,7 +33944,7 @@ __decorateClass([
|
|
|
33938
33944
|
], IconoDto.prototype, "Status", 2);
|
|
33939
33945
|
|
|
33940
33946
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
33941
|
-
import { IsBoolean as
|
|
33947
|
+
import { IsBoolean as IsBoolean58, ValidateNested as ValidateNested357, IsOptional as IsOptional59, IsNumber as IsNumber392, IsString as IsString472 } from "class-validator";
|
|
33942
33948
|
|
|
33943
33949
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
33944
33950
|
import { Expose as Expose598 } from "class-transformer";
|
|
@@ -33980,7 +33986,7 @@ __decorateClass([
|
|
|
33980
33986
|
|
|
33981
33987
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
33982
33988
|
import { Expose as Expose600 } from "class-transformer";
|
|
33983
|
-
import { IsNumber as IsNumber391, IsOptional as
|
|
33989
|
+
import { IsNumber as IsNumber391, IsOptional as IsOptional58, IsString as IsString471, Min as Min298 } from "class-validator";
|
|
33984
33990
|
var SolicitudDto = class {
|
|
33985
33991
|
IdStatus = 0;
|
|
33986
33992
|
Status = "";
|
|
@@ -33991,7 +33997,7 @@ __decorateClass([
|
|
|
33991
33997
|
Expose600()
|
|
33992
33998
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
33993
33999
|
__decorateClass([
|
|
33994
|
-
|
|
34000
|
+
IsOptional58(),
|
|
33995
34001
|
IsString471({ message: "debe ser texto" }),
|
|
33996
34002
|
Expose600()
|
|
33997
34003
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -34011,56 +34017,56 @@ var StatuDto = class {
|
|
|
34011
34017
|
Status = "";
|
|
34012
34018
|
};
|
|
34013
34019
|
__decorateClass([
|
|
34014
|
-
|
|
34020
|
+
IsOptional59(),
|
|
34015
34021
|
Type399(() => NavDto),
|
|
34016
34022
|
ValidateNested357(),
|
|
34017
34023
|
Expose601()
|
|
34018
34024
|
], StatuDto.prototype, "Nav", 2);
|
|
34019
34025
|
__decorateClass([
|
|
34020
|
-
|
|
34026
|
+
IsOptional59(),
|
|
34021
34027
|
Type399(() => SolicitudDto),
|
|
34022
34028
|
ValidateNested357(),
|
|
34023
34029
|
Expose601()
|
|
34024
34030
|
], StatuDto.prototype, "Solicitud", 2);
|
|
34025
34031
|
__decorateClass([
|
|
34026
|
-
|
|
34032
|
+
IsOptional59(),
|
|
34027
34033
|
Type399(() => IconoDto),
|
|
34028
34034
|
ValidateNested357(),
|
|
34029
34035
|
Expose601()
|
|
34030
34036
|
], StatuDto.prototype, "Icono", 2);
|
|
34031
34037
|
__decorateClass([
|
|
34032
|
-
|
|
34033
|
-
|
|
34038
|
+
IsOptional59(),
|
|
34039
|
+
IsBoolean58({ message: "debe ser true o false" }),
|
|
34034
34040
|
Expose601()
|
|
34035
34041
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
34036
34042
|
__decorateClass([
|
|
34037
|
-
|
|
34038
|
-
|
|
34043
|
+
IsOptional59(),
|
|
34044
|
+
IsBoolean58({ message: "debe ser true o false" }),
|
|
34039
34045
|
Expose601()
|
|
34040
34046
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
34041
34047
|
__decorateClass([
|
|
34042
|
-
|
|
34043
|
-
|
|
34048
|
+
IsOptional59(),
|
|
34049
|
+
IsBoolean58({ message: "debe ser true o false" }),
|
|
34044
34050
|
Expose601()
|
|
34045
34051
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
34046
34052
|
__decorateClass([
|
|
34047
|
-
|
|
34048
|
-
|
|
34053
|
+
IsOptional59(),
|
|
34054
|
+
IsBoolean58({ message: "debe ser true o false" }),
|
|
34049
34055
|
Expose601()
|
|
34050
34056
|
], StatuDto.prototype, "PreOrden", 2);
|
|
34051
34057
|
__decorateClass([
|
|
34052
|
-
|
|
34058
|
+
IsOptional59(),
|
|
34053
34059
|
Type399(() => ProcedenciaDto),
|
|
34054
34060
|
ValidateNested357(),
|
|
34055
34061
|
Expose601()
|
|
34056
34062
|
], StatuDto.prototype, "Procedencia", 2);
|
|
34057
34063
|
__decorateClass([
|
|
34058
|
-
|
|
34064
|
+
IsOptional59(),
|
|
34059
34065
|
IsNumber392({}, { message: "debe ser un n\xFAmero" }),
|
|
34060
34066
|
Expose601()
|
|
34061
34067
|
], StatuDto.prototype, "IdStatus", 2);
|
|
34062
34068
|
__decorateClass([
|
|
34063
|
-
|
|
34069
|
+
IsOptional59(),
|
|
34064
34070
|
IsString472({ message: "debe ser texto" }),
|
|
34065
34071
|
Expose601()
|
|
34066
34072
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -34236,7 +34242,7 @@ __decorateClass([
|
|
|
34236
34242
|
|
|
34237
34243
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
34238
34244
|
import { Expose as Expose606, Type as Type404 } from "class-transformer";
|
|
34239
|
-
import { IsArray as IsArray210, IsOptional as
|
|
34245
|
+
import { IsArray as IsArray210, IsOptional as IsOptional60, ValidateNested as ValidateNested362 } from "class-validator";
|
|
34240
34246
|
|
|
34241
34247
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
34242
34248
|
import { Expose as Expose605 } from "class-transformer";
|
|
@@ -34305,42 +34311,42 @@ var FileDto = class {
|
|
|
34305
34311
|
AnexosAlbaran = [];
|
|
34306
34312
|
};
|
|
34307
34313
|
__decorateClass([
|
|
34308
|
-
|
|
34314
|
+
IsOptional60(),
|
|
34309
34315
|
IsArray210({ message: "debe ser un array" }),
|
|
34310
34316
|
Type404(() => AnexoPreOrdenDto),
|
|
34311
34317
|
ValidateNested362({ each: true }),
|
|
34312
34318
|
Expose606()
|
|
34313
34319
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
34314
34320
|
__decorateClass([
|
|
34315
|
-
|
|
34321
|
+
IsOptional60(),
|
|
34316
34322
|
IsArray210({ message: "debe ser un array" }),
|
|
34317
34323
|
Type404(() => ComparativoDto),
|
|
34318
34324
|
ValidateNested362({ each: true }),
|
|
34319
34325
|
Expose606()
|
|
34320
34326
|
], FileDto.prototype, "Comparativo", 2);
|
|
34321
34327
|
__decorateClass([
|
|
34322
|
-
|
|
34328
|
+
IsOptional60(),
|
|
34323
34329
|
IsArray210({ message: "debe ser un array" }),
|
|
34324
34330
|
Type404(() => CotizacionDto),
|
|
34325
34331
|
ValidateNested362({ each: true }),
|
|
34326
34332
|
Expose606()
|
|
34327
34333
|
], FileDto.prototype, "Cotizacion", 2);
|
|
34328
34334
|
__decorateClass([
|
|
34329
|
-
|
|
34335
|
+
IsOptional60(),
|
|
34330
34336
|
IsArray210({ message: "debe ser un array" }),
|
|
34331
34337
|
Type404(() => PedidoCompraDto),
|
|
34332
34338
|
ValidateNested362({ each: true }),
|
|
34333
34339
|
Expose606()
|
|
34334
34340
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
34335
34341
|
__decorateClass([
|
|
34336
|
-
|
|
34342
|
+
IsOptional60(),
|
|
34337
34343
|
IsArray210({ message: "debe ser un array" }),
|
|
34338
34344
|
Type404(() => AlbaranDto),
|
|
34339
34345
|
ValidateNested362({ each: true }),
|
|
34340
34346
|
Expose606()
|
|
34341
34347
|
], FileDto.prototype, "Albaran", 2);
|
|
34342
34348
|
__decorateClass([
|
|
34343
|
-
|
|
34349
|
+
IsOptional60(),
|
|
34344
34350
|
IsArray210({ message: "debe ser un array" }),
|
|
34345
34351
|
Type404(() => AlbaranDto),
|
|
34346
34352
|
ValidateNested362({ each: true }),
|
|
@@ -34382,7 +34388,7 @@ __decorateClass([
|
|
|
34382
34388
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
34383
34389
|
|
|
34384
34390
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
34385
|
-
import { IsArray as IsArray214, IsBoolean as
|
|
34391
|
+
import { IsArray as IsArray214, IsBoolean as IsBoolean60, IsDate as IsDate132, IsNotEmpty as IsNotEmpty398, IsNumber as IsNumber397, IsOptional as IsOptional61, IsString as IsString483, Min as Min302, ValidateNested as ValidateNested366 } from "class-validator";
|
|
34386
34392
|
|
|
34387
34393
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
34388
34394
|
import { Expose as Expose608 } from "class-transformer";
|
|
@@ -34403,7 +34409,7 @@ __decorateClass([
|
|
|
34403
34409
|
|
|
34404
34410
|
// src/logistica/procesos/navisionpreorden/shared/dto/movimientos-recepcion-dto.ts
|
|
34405
34411
|
import { Expose as Expose610 } from "class-transformer";
|
|
34406
|
-
import { IsArray as IsArray213, IsBoolean as
|
|
34412
|
+
import { IsArray as IsArray213, IsBoolean as IsBoolean59, IsNumber as IsNumber395, IsString as IsString480, ValidateNested as ValidateNested365 } from "class-validator";
|
|
34407
34413
|
|
|
34408
34414
|
// src/logistica/procesos/navisionpreorden/shared/dto/movimiento-dto.ts
|
|
34409
34415
|
import { Expose as Expose609 } from "class-transformer";
|
|
@@ -34613,7 +34619,7 @@ __decorateClass([
|
|
|
34613
34619
|
Expose610()
|
|
34614
34620
|
], MovimientosRecepcionDto.prototype, "User", 2);
|
|
34615
34621
|
__decorateClass([
|
|
34616
|
-
|
|
34622
|
+
IsBoolean59({ message: "debe ser true o false" }),
|
|
34617
34623
|
Expose610()
|
|
34618
34624
|
], MovimientosRecepcionDto.prototype, "TieneWorkflow", 2);
|
|
34619
34625
|
__decorateClass([
|
|
@@ -34804,24 +34810,24 @@ __decorateClass([
|
|
|
34804
34810
|
Type408(() => AprobacionDto),
|
|
34805
34811
|
ValidateNested366(),
|
|
34806
34812
|
Expose613(),
|
|
34807
|
-
|
|
34813
|
+
IsOptional61()
|
|
34808
34814
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
34809
34815
|
__decorateClass([
|
|
34810
|
-
|
|
34816
|
+
IsOptional61(),
|
|
34811
34817
|
IsString483({ message: "debe ser texto" }),
|
|
34812
34818
|
Expose613()
|
|
34813
34819
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
34814
34820
|
__decorateClass([
|
|
34815
|
-
|
|
34821
|
+
IsBoolean60({ message: "debe ser true o false" }),
|
|
34816
34822
|
Expose613()
|
|
34817
34823
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
34818
34824
|
__decorateClass([
|
|
34819
|
-
|
|
34825
|
+
IsOptional61(),
|
|
34820
34826
|
IsString483({ message: "debe ser texto" }),
|
|
34821
34827
|
Expose613()
|
|
34822
34828
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
34823
34829
|
__decorateClass([
|
|
34824
|
-
|
|
34830
|
+
IsOptional61(),
|
|
34825
34831
|
IsString483({ message: "debe ser texto" }),
|
|
34826
34832
|
Expose613()
|
|
34827
34833
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -34850,18 +34856,18 @@ __decorateClass([
|
|
|
34850
34856
|
Expose613()
|
|
34851
34857
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
34852
34858
|
__decorateClass([
|
|
34853
|
-
|
|
34859
|
+
IsOptional61(),
|
|
34854
34860
|
Type408(() => TipoCompraDto),
|
|
34855
34861
|
ValidateNested366(),
|
|
34856
34862
|
Expose613()
|
|
34857
34863
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
34858
34864
|
__decorateClass([
|
|
34859
|
-
|
|
34865
|
+
IsOptional61(),
|
|
34860
34866
|
Expose613()
|
|
34861
34867
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
34862
34868
|
__decorateClass([
|
|
34863
|
-
|
|
34864
|
-
|
|
34869
|
+
IsOptional61(),
|
|
34870
|
+
IsBoolean60({ message: "debe ser true o false" }),
|
|
34865
34871
|
Expose613()
|
|
34866
34872
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
34867
34873
|
__decorateClass([
|
|
@@ -34870,85 +34876,85 @@ __decorateClass([
|
|
|
34870
34876
|
Expose613()
|
|
34871
34877
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
34872
34878
|
__decorateClass([
|
|
34873
|
-
|
|
34879
|
+
IsOptional61(),
|
|
34874
34880
|
Type408(() => FlujoDto),
|
|
34875
34881
|
ValidateNested366(),
|
|
34876
34882
|
Expose613()
|
|
34877
34883
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
34878
34884
|
__decorateClass([
|
|
34879
|
-
|
|
34885
|
+
IsOptional61(),
|
|
34880
34886
|
Type408(() => DatosNavDto),
|
|
34881
34887
|
ValidateNested366(),
|
|
34882
34888
|
Expose613()
|
|
34883
34889
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
34884
34890
|
__decorateClass([
|
|
34885
|
-
|
|
34891
|
+
IsOptional61(),
|
|
34886
34892
|
IsArray214({ message: "debe ser un array" }),
|
|
34887
34893
|
Expose613()
|
|
34888
34894
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
34889
34895
|
__decorateClass([
|
|
34890
|
-
|
|
34896
|
+
IsOptional61(),
|
|
34891
34897
|
Expose613()
|
|
34892
34898
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
34893
34899
|
__decorateClass([
|
|
34894
|
-
|
|
34900
|
+
IsOptional61(),
|
|
34895
34901
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34896
34902
|
Expose613()
|
|
34897
34903
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
34898
34904
|
__decorateClass([
|
|
34899
|
-
|
|
34905
|
+
IsOptional61(),
|
|
34900
34906
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34901
34907
|
Expose613()
|
|
34902
34908
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
34903
34909
|
__decorateClass([
|
|
34904
|
-
|
|
34910
|
+
IsOptional61(),
|
|
34905
34911
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34906
34912
|
Expose613()
|
|
34907
34913
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
34908
34914
|
__decorateClass([
|
|
34909
|
-
|
|
34915
|
+
IsOptional61(),
|
|
34910
34916
|
Transform85(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34911
34917
|
IsDate132({ message: "debe ser una fecha" }),
|
|
34912
34918
|
Type408(() => Date),
|
|
34913
34919
|
Expose613()
|
|
34914
34920
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
34915
34921
|
__decorateClass([
|
|
34916
|
-
|
|
34922
|
+
IsOptional61(),
|
|
34917
34923
|
IsString483({ message: "debe ser texto" }),
|
|
34918
34924
|
Expose613()
|
|
34919
34925
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
34920
34926
|
__decorateClass([
|
|
34921
|
-
|
|
34927
|
+
IsOptional61(),
|
|
34922
34928
|
Transform85(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34923
34929
|
IsDate132({ message: "debe ser una fecha" }),
|
|
34924
34930
|
Type408(() => Date),
|
|
34925
34931
|
Expose613()
|
|
34926
34932
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
34927
34933
|
__decorateClass([
|
|
34928
|
-
|
|
34934
|
+
IsOptional61(),
|
|
34929
34935
|
IsString483({ message: "debe ser texto" }),
|
|
34930
34936
|
Expose613()
|
|
34931
34937
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
34932
34938
|
__decorateClass([
|
|
34933
|
-
|
|
34939
|
+
IsOptional61(),
|
|
34934
34940
|
Expose613()
|
|
34935
34941
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
34936
34942
|
__decorateClass([
|
|
34937
|
-
|
|
34943
|
+
IsOptional61(),
|
|
34938
34944
|
Type408(() => EnviarNavDto),
|
|
34939
34945
|
ValidateNested366(),
|
|
34940
34946
|
Expose613()
|
|
34941
34947
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
34942
34948
|
__decorateClass([
|
|
34943
|
-
|
|
34949
|
+
IsOptional61(),
|
|
34944
34950
|
IsArray214({ message: "debe ser un array" }),
|
|
34945
34951
|
Type408(() => MovimientosRecepcionDto),
|
|
34946
34952
|
ValidateNested366({ each: true }),
|
|
34947
34953
|
Expose613()
|
|
34948
34954
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
34949
34955
|
__decorateClass([
|
|
34950
|
-
|
|
34951
|
-
|
|
34956
|
+
IsOptional61(),
|
|
34957
|
+
IsBoolean60({ message: "debe ser true o false" }),
|
|
34952
34958
|
Expose613()
|
|
34953
34959
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
34954
34960
|
|
|
@@ -34958,7 +34964,7 @@ var DatosPersonalDto = class {
|
|
|
34958
34964
|
|
|
34959
34965
|
// src/logistica/procesos/navisionpreorden/shared/requestDto/crear-navisionpreorden.request-dto.ts
|
|
34960
34966
|
import { Expose as Expose614 } from "class-transformer";
|
|
34961
|
-
import { IsArray as IsArray215, IsBoolean as
|
|
34967
|
+
import { IsArray as IsArray215, IsBoolean as IsBoolean61, IsNotEmpty as IsNotEmpty399, IsNumber as IsNumber398, IsString as IsString484, Min as Min303, ValidateNested as ValidateNested367 } from "class-validator";
|
|
34962
34968
|
import { Type as Type409 } from "class-transformer";
|
|
34963
34969
|
var CrearNavisionpreordenEntityRequestDto = class {
|
|
34964
34970
|
IdPreOrden = 0;
|
|
@@ -35061,7 +35067,7 @@ __decorateClass([
|
|
|
35061
35067
|
Expose614()
|
|
35062
35068
|
], CrearNavisionpreordenEntityRequestDto.prototype, "Aprobacion", 2);
|
|
35063
35069
|
__decorateClass([
|
|
35064
|
-
|
|
35070
|
+
IsBoolean61({ message: "debe ser true o false" }),
|
|
35065
35071
|
Expose614()
|
|
35066
35072
|
], CrearNavisionpreordenEntityRequestDto.prototype, "isSinRq", 2);
|
|
35067
35073
|
__decorateClass([
|
|
@@ -35132,7 +35138,7 @@ __decorateClass([
|
|
|
35132
35138
|
Expose614()
|
|
35133
35139
|
], CrearNavisionpreordenEntityRequestDto.prototype, "MovimientosRecepcion", 2);
|
|
35134
35140
|
__decorateClass([
|
|
35135
|
-
|
|
35141
|
+
IsBoolean61({ message: "debe ser true o false" }),
|
|
35136
35142
|
IsNotEmpty399({ message: "es requerido" }),
|
|
35137
35143
|
Expose614()
|
|
35138
35144
|
], CrearNavisionpreordenEntityRequestDto.prototype, "isModelSIGO", 2);
|
|
@@ -35304,12 +35310,12 @@ import { Expose as Expose621, Transform as Transform86, Type as Type414 } from "
|
|
|
35304
35310
|
import {
|
|
35305
35311
|
ArrayNotEmpty as ArrayNotEmpty5,
|
|
35306
35312
|
IsArray as IsArray217,
|
|
35307
|
-
IsBoolean as
|
|
35313
|
+
IsBoolean as IsBoolean62,
|
|
35308
35314
|
IsDate as IsDate135,
|
|
35309
35315
|
IsDefined as IsDefined199,
|
|
35310
35316
|
IsNotEmpty as IsNotEmpty404,
|
|
35311
35317
|
IsNumber as IsNumber400,
|
|
35312
|
-
IsOptional as
|
|
35318
|
+
IsOptional as IsOptional62,
|
|
35313
35319
|
IsString as IsString490,
|
|
35314
35320
|
Length as Length276,
|
|
35315
35321
|
Min as Min304,
|
|
@@ -35388,7 +35394,7 @@ __decorateClass([
|
|
|
35388
35394
|
IsString490({ message: "debe ser un texto" }),
|
|
35389
35395
|
Length276(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
35390
35396
|
Expose621(),
|
|
35391
|
-
|
|
35397
|
+
IsOptional62()
|
|
35392
35398
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
35393
35399
|
__decorateClass([
|
|
35394
35400
|
IsString490({ message: "debe ser un texto" }),
|
|
@@ -35464,7 +35470,7 @@ __decorateClass([
|
|
|
35464
35470
|
ValidateNested371()
|
|
35465
35471
|
], PersonalENTITY.prototype, "Sincronizacion", 2);
|
|
35466
35472
|
__decorateClass([
|
|
35467
|
-
|
|
35473
|
+
IsBoolean62({ message: "debe ser un booleano" }),
|
|
35468
35474
|
IsNotEmpty404({ message: "es requerido" }),
|
|
35469
35475
|
Expose621()
|
|
35470
35476
|
], PersonalENTITY.prototype, "Administrativo", 2);
|
|
@@ -35739,7 +35745,7 @@ import { IsNotEmpty as IsNotEmpty410, IsNumber as IsNumber406, IsString as IsStr
|
|
|
35739
35745
|
|
|
35740
35746
|
// src/configuracion/empresa/shared/dto/tipo-miembro-grupo-empresa-dto.ts
|
|
35741
35747
|
import { Expose as Expose628 } from "class-transformer";
|
|
35742
|
-
import { IsBoolean as
|
|
35748
|
+
import { IsBoolean as IsBoolean63, IsNotEmpty as IsNotEmpty409, IsNumber as IsNumber405, IsString as IsString497, Length as Length282, Min as Min309 } from "class-validator";
|
|
35743
35749
|
var TipoMiembroGrupoEmpresaDTO = class {
|
|
35744
35750
|
ID_TipoMiembroGrupoEmpresa = 0;
|
|
35745
35751
|
Nombre = "";
|
|
@@ -35757,7 +35763,7 @@ __decorateClass([
|
|
|
35757
35763
|
Expose628()
|
|
35758
35764
|
], TipoMiembroGrupoEmpresaDTO.prototype, "Nombre", 2);
|
|
35759
35765
|
__decorateClass([
|
|
35760
|
-
|
|
35766
|
+
IsBoolean63({ message: "debe ser un booleano" }),
|
|
35761
35767
|
IsNotEmpty409({ message: "es requerido" }),
|
|
35762
35768
|
Expose628()
|
|
35763
35769
|
], TipoMiembroGrupoEmpresaDTO.prototype, "PermiteOtroGrupo", 2);
|
|
@@ -35871,7 +35877,7 @@ __decorateClass([
|
|
|
35871
35877
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
35872
35878
|
|
|
35873
35879
|
// src/configuracion/empresa/shared/index.ts
|
|
35874
|
-
import { IsArray as IsArray222, IsBoolean as
|
|
35880
|
+
import { IsArray as IsArray222, IsBoolean as IsBoolean64, IsNotEmpty as IsNotEmpty413, IsNumber as IsNumber409, IsOptional as IsOptional63, IsString as IsString501, Length as Length286, Min as Min313, ValidateNested as ValidateNested377 } from "class-validator";
|
|
35875
35881
|
var EmpresaENTITY = class {
|
|
35876
35882
|
ID_Empresa = 0;
|
|
35877
35883
|
Pais = new CodigoNombreDTO();
|
|
@@ -35952,7 +35958,7 @@ __decorateClass([
|
|
|
35952
35958
|
Expose632()
|
|
35953
35959
|
], EmpresaENTITY.prototype, "NombreComercial", 2);
|
|
35954
35960
|
__decorateClass([
|
|
35955
|
-
|
|
35961
|
+
IsBoolean64({ message: "debe ser un booleano" }),
|
|
35956
35962
|
IsNotEmpty413({ message: "es requerido" }),
|
|
35957
35963
|
Expose632()
|
|
35958
35964
|
], EmpresaENTITY.prototype, "Propia", 2);
|
|
@@ -35984,7 +35990,7 @@ __decorateClass([
|
|
|
35984
35990
|
Type420(() => DatosGIADTO),
|
|
35985
35991
|
IsNotEmpty413({ message: "es requerido" }),
|
|
35986
35992
|
Expose632(),
|
|
35987
|
-
|
|
35993
|
+
IsOptional63(),
|
|
35988
35994
|
ValidateNested377()
|
|
35989
35995
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
35990
35996
|
__decorateClass([
|
|
@@ -36456,7 +36462,7 @@ __decorateClass([
|
|
|
36456
36462
|
|
|
36457
36463
|
// src/configuracion/usuarios/shared/index.ts
|
|
36458
36464
|
import { Expose as Expose643, Transform as Transform87, Type as Type429 } from "class-transformer";
|
|
36459
|
-
import { IsArray as IsArray224, IsBoolean as
|
|
36465
|
+
import { IsArray as IsArray224, IsBoolean as IsBoolean65, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber416, IsString as IsString511, Length as Length296, Min as Min319, ValidateNested as ValidateNested381, IsEmail as IsEmail4, IsEnum as IsEnum13 } from "class-validator";
|
|
36460
36466
|
var UsuarioENTITY = class {
|
|
36461
36467
|
IdUsuario = 0;
|
|
36462
36468
|
User = "";
|
|
@@ -36631,12 +36637,12 @@ __decorateClass([
|
|
|
36631
36637
|
ValidateNested381({ each: true })
|
|
36632
36638
|
], UsuarioENTITY.prototype, "Bitacora", 2);
|
|
36633
36639
|
__decorateClass([
|
|
36634
|
-
|
|
36640
|
+
IsBoolean65({ message: "debe ser un booleano" }),
|
|
36635
36641
|
IsNotEmpty423({ message: "es requerido" }),
|
|
36636
36642
|
Expose643()
|
|
36637
36643
|
], UsuarioENTITY.prototype, "isCreate", 2);
|
|
36638
36644
|
__decorateClass([
|
|
36639
|
-
|
|
36645
|
+
IsBoolean65({ message: "debe ser un booleano" }),
|
|
36640
36646
|
IsNotEmpty423({ message: "es requerido" }),
|
|
36641
36647
|
Expose643()
|
|
36642
36648
|
], UsuarioENTITY.prototype, "SuperUsuario", 2);
|
|
@@ -36943,7 +36949,7 @@ __decorateClass([
|
|
|
36943
36949
|
|
|
36944
36950
|
// src/configuracion/usuarios autoinventario/shared/index.ts
|
|
36945
36951
|
import { Expose as Expose649 } from "class-transformer";
|
|
36946
|
-
import { IsBoolean as
|
|
36952
|
+
import { IsBoolean as IsBoolean66, IsNotEmpty as IsNotEmpty428, IsString as IsString517, Length as Length302 } from "class-validator";
|
|
36947
36953
|
var UsuariosAutoinventarioENTITY = class {
|
|
36948
36954
|
KeyFecha = "";
|
|
36949
36955
|
Identificacion = "";
|
|
@@ -36960,7 +36966,7 @@ __decorateClass([
|
|
|
36960
36966
|
Expose649()
|
|
36961
36967
|
], UsuariosAutoinventarioENTITY.prototype, "Identificacion", 2);
|
|
36962
36968
|
__decorateClass([
|
|
36963
|
-
|
|
36969
|
+
IsBoolean66({ message: "debe ser un booleano" }),
|
|
36964
36970
|
IsNotEmpty428({ message: "es requerido" }),
|
|
36965
36971
|
Expose649()
|
|
36966
36972
|
], UsuariosAutoinventarioENTITY.prototype, "Reportado", 2);
|
|
@@ -37015,7 +37021,7 @@ __decorateClass([
|
|
|
37015
37021
|
|
|
37016
37022
|
// src/configuracion/contrato ot/shared/index.ts
|
|
37017
37023
|
import { Expose as Expose651, Type as Type434 } from "class-transformer";
|
|
37018
|
-
import { IsBoolean as
|
|
37024
|
+
import { IsBoolean as IsBoolean67, IsDefined as IsDefined202, IsNumber as IsNumber421, IsString as IsString519, Length as Length304, Min as Min324, ValidateNested as ValidateNested386 } from "class-validator";
|
|
37019
37025
|
var ContratoOTENTITY = class {
|
|
37020
37026
|
ID_ContratoOT = 0;
|
|
37021
37027
|
Codigo = "";
|
|
@@ -37084,7 +37090,7 @@ __decorateClass([
|
|
|
37084
37090
|
], ContratoOTENTITY.prototype, "Estado", 2);
|
|
37085
37091
|
__decorateClass([
|
|
37086
37092
|
IsDefined202({ message: "El campo CheckPrecioMO es obligatorio" }),
|
|
37087
|
-
|
|
37093
|
+
IsBoolean67({ message: "debe ser un booleano" }),
|
|
37088
37094
|
Expose651()
|
|
37089
37095
|
], ContratoOTENTITY.prototype, "CheckPrecioMO", 2);
|
|
37090
37096
|
|
|
@@ -37138,7 +37144,7 @@ __decorateClass([
|
|
|
37138
37144
|
|
|
37139
37145
|
// src/configuracion/scraping credential/shared/index.ts
|
|
37140
37146
|
import { Expose as Expose653, Type as Type436 } from "class-transformer";
|
|
37141
|
-
import { IsBoolean as
|
|
37147
|
+
import { IsBoolean as IsBoolean68, IsDefined as IsDefined204, IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty429, IsObject as IsObject5, IsString as IsString521, IsUrl, IsUUID as IsUUID4, MinLength as MinLength53, ValidateNested as ValidateNested388 } from "class-validator";
|
|
37142
37148
|
var ScrapingCredentialENTITY = class {
|
|
37143
37149
|
_id = "";
|
|
37144
37150
|
url = "";
|
|
@@ -37204,7 +37210,7 @@ __decorateClass([
|
|
|
37204
37210
|
], ScrapingCredentialENTITY.prototype, "Delegacion", 2);
|
|
37205
37211
|
__decorateClass([
|
|
37206
37212
|
IsDefined204(),
|
|
37207
|
-
|
|
37213
|
+
IsBoolean68(),
|
|
37208
37214
|
Expose653({ name: "toScrape" })
|
|
37209
37215
|
], ScrapingCredentialENTITY.prototype, "toScrape", 2);
|
|
37210
37216
|
|
|
@@ -37316,11 +37322,11 @@ __decorateClass([
|
|
|
37316
37322
|
|
|
37317
37323
|
// src/configuracion/theme-config-user/shared/theme-config-user-entity.ts
|
|
37318
37324
|
import { Expose as Expose658, Type as Type439 } from "class-transformer";
|
|
37319
|
-
import { IsNumber as IsNumber425, IsString as IsString526, IsOptional as
|
|
37325
|
+
import { IsNumber as IsNumber425, IsString as IsString526, IsOptional as IsOptional65, ValidateNested as ValidateNested391, IsArray as IsArray227 } from "class-validator";
|
|
37320
37326
|
|
|
37321
37327
|
// src/configuracion/theme-config-user/shared/dto/favorito-dto.ts
|
|
37322
37328
|
import { Expose as Expose657 } from "class-transformer";
|
|
37323
|
-
import { IsString as IsString525, IsNumber as IsNumber424, IsOptional as
|
|
37329
|
+
import { IsString as IsString525, IsNumber as IsNumber424, IsOptional as IsOptional64 } from "class-validator";
|
|
37324
37330
|
var FavoritoDTO = class {
|
|
37325
37331
|
id = "";
|
|
37326
37332
|
titulo = "";
|
|
@@ -37341,7 +37347,7 @@ __decorateClass([
|
|
|
37341
37347
|
Expose657()
|
|
37342
37348
|
], FavoritoDTO.prototype, "ruta", 2);
|
|
37343
37349
|
__decorateClass([
|
|
37344
|
-
|
|
37350
|
+
IsOptional64(),
|
|
37345
37351
|
IsString525(),
|
|
37346
37352
|
Expose657()
|
|
37347
37353
|
], FavoritoDTO.prototype, "icono", 2);
|
|
@@ -37372,7 +37378,7 @@ __decorateClass([
|
|
|
37372
37378
|
Expose658()
|
|
37373
37379
|
], ThemeConfigUserENTITY.prototype, "Color", 2);
|
|
37374
37380
|
__decorateClass([
|
|
37375
|
-
|
|
37381
|
+
IsOptional65(),
|
|
37376
37382
|
IsString526(),
|
|
37377
37383
|
Expose658()
|
|
37378
37384
|
], ThemeConfigUserENTITY.prototype, "Language", 2);
|
|
@@ -37382,7 +37388,7 @@ __decorateClass([
|
|
|
37382
37388
|
Expose658()
|
|
37383
37389
|
], ThemeConfigUserENTITY.prototype, "Estado", 2);
|
|
37384
37390
|
__decorateClass([
|
|
37385
|
-
|
|
37391
|
+
IsOptional65(),
|
|
37386
37392
|
IsArray227(),
|
|
37387
37393
|
ValidateNested391({ each: true }),
|
|
37388
37394
|
Type439(() => FavoritoDTO),
|
|
@@ -37719,7 +37725,7 @@ import {
|
|
|
37719
37725
|
ValidateNested as ValidateNested395,
|
|
37720
37726
|
IsDate as IsDate144,
|
|
37721
37727
|
Length as Length312,
|
|
37722
|
-
IsOptional as
|
|
37728
|
+
IsOptional as IsOptional67,
|
|
37723
37729
|
IsArray as IsArray228
|
|
37724
37730
|
} from "class-validator";
|
|
37725
37731
|
|
|
@@ -37791,7 +37797,7 @@ __decorateClass([
|
|
|
37791
37797
|
|
|
37792
37798
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
37793
37799
|
import { Expose as Expose671, Transform as Transform91 } from "class-transformer";
|
|
37794
|
-
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty434, IsNumber as IsNumber433, IsOptional as
|
|
37800
|
+
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty434, IsNumber as IsNumber433, IsOptional as IsOptional66, IsString as IsString539, Length as Length309, Min as Min327 } from "class-validator";
|
|
37795
37801
|
var InventarioValDTO = class {
|
|
37796
37802
|
Descripcion = "";
|
|
37797
37803
|
LoteSAP = "";
|
|
@@ -37805,13 +37811,13 @@ var InventarioValDTO = class {
|
|
|
37805
37811
|
};
|
|
37806
37812
|
__decorateClass([
|
|
37807
37813
|
IsString539({ message: "debe ser un texto" }),
|
|
37808
|
-
|
|
37814
|
+
IsOptional66(),
|
|
37809
37815
|
Length309(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
37810
37816
|
Expose671()
|
|
37811
37817
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
37812
37818
|
__decorateClass([
|
|
37813
37819
|
IsString539({ message: "debe ser un texto" }),
|
|
37814
|
-
|
|
37820
|
+
IsOptional66(),
|
|
37815
37821
|
Length309(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37816
37822
|
Expose671()
|
|
37817
37823
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -37823,7 +37829,7 @@ __decorateClass([
|
|
|
37823
37829
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
37824
37830
|
__decorateClass([
|
|
37825
37831
|
IsString539({ message: "debe ser un texto" }),
|
|
37826
|
-
|
|
37832
|
+
IsOptional66(),
|
|
37827
37833
|
Length309(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37828
37834
|
Expose671()
|
|
37829
37835
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -37832,7 +37838,7 @@ __decorateClass([
|
|
|
37832
37838
|
Transform91(({ value }) => value ? String(value) : value),
|
|
37833
37839
|
Length309(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
37834
37840
|
Expose671(),
|
|
37835
|
-
|
|
37841
|
+
IsOptional66()
|
|
37836
37842
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
37837
37843
|
__decorateClass([
|
|
37838
37844
|
IsNumber433({}, { message: "debe ser un numero" }),
|
|
@@ -37851,7 +37857,7 @@ __decorateClass([
|
|
|
37851
37857
|
__decorateClass([
|
|
37852
37858
|
IsString539({ message: "debe ser un texto" }),
|
|
37853
37859
|
Length309(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37854
|
-
|
|
37860
|
+
IsOptional66(),
|
|
37855
37861
|
Expose671()
|
|
37856
37862
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
37857
37863
|
|
|
@@ -37982,14 +37988,14 @@ __decorateClass([
|
|
|
37982
37988
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
37983
37989
|
__decorateClass([
|
|
37984
37990
|
IsString542({ message: "debe ser un texto" }),
|
|
37985
|
-
|
|
37991
|
+
IsOptional67(),
|
|
37986
37992
|
Length312(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37987
37993
|
Expose674()
|
|
37988
37994
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
37989
37995
|
__decorateClass([
|
|
37990
37996
|
IsString542({ message: "debe ser un texto" }),
|
|
37991
37997
|
Length312(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
37992
|
-
|
|
37998
|
+
IsOptional67(),
|
|
37993
37999
|
Expose674()
|
|
37994
38000
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
37995
38001
|
__decorateClass([
|
|
@@ -38014,7 +38020,7 @@ __decorateClass([
|
|
|
38014
38020
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
38015
38021
|
__decorateClass([
|
|
38016
38022
|
IsString542({ message: "debe ser un texto" }),
|
|
38017
|
-
|
|
38023
|
+
IsOptional67(),
|
|
38018
38024
|
Length312(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
38019
38025
|
Expose674()
|
|
38020
38026
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -38032,12 +38038,12 @@ __decorateClass([
|
|
|
38032
38038
|
IsString542({ message: "debe ser un texto" }),
|
|
38033
38039
|
Length312(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
38034
38040
|
Expose674(),
|
|
38035
|
-
|
|
38041
|
+
IsOptional67()
|
|
38036
38042
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
38037
38043
|
__decorateClass([
|
|
38038
38044
|
IsString542({ message: "debe ser un texto" }),
|
|
38039
38045
|
Length312(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
38040
|
-
|
|
38046
|
+
IsOptional67(),
|
|
38041
38047
|
Expose674()
|
|
38042
38048
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
38043
38049
|
__decorateClass([
|
|
@@ -38153,7 +38159,7 @@ __decorateClass([
|
|
|
38153
38159
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
38154
38160
|
__decorateClass([
|
|
38155
38161
|
IsString542({ message: "debe ser un texto" }),
|
|
38156
|
-
|
|
38162
|
+
IsOptional67(),
|
|
38157
38163
|
Expose674()
|
|
38158
38164
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
38159
38165
|
__decorateClass([
|
|
@@ -38228,7 +38234,7 @@ __decorateClass([
|
|
|
38228
38234
|
|
|
38229
38235
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
38230
38236
|
import { Expose as Expose679, Type as Type445 } from "class-transformer";
|
|
38231
|
-
import { IsArray as IsArray229, IsNotEmpty as IsNotEmpty442, IsNumber as IsNumber441, IsString as IsString547, Length as Length317, Min as Min335, ValidateNested as ValidateNested396, IsDate as IsDate146, IsOptional as
|
|
38237
|
+
import { IsArray as IsArray229, IsNotEmpty as IsNotEmpty442, IsNumber as IsNumber441, IsString as IsString547, Length as Length317, Min as Min335, ValidateNested as ValidateNested396, IsDate as IsDate146, IsOptional as IsOptional68 } from "class-validator";
|
|
38232
38238
|
|
|
38233
38239
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
38234
38240
|
import { Expose as Expose675 } from "class-transformer";
|
|
@@ -38486,7 +38492,7 @@ __decorateClass([
|
|
|
38486
38492
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
38487
38493
|
__decorateClass([
|
|
38488
38494
|
IsString547({ message: "debe ser un texto" }),
|
|
38489
|
-
|
|
38495
|
+
IsOptional68(),
|
|
38490
38496
|
Length317(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
38491
38497
|
Expose679()
|
|
38492
38498
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -39038,7 +39044,7 @@ import { Expose as Expose687, Type as Type449 } from "class-transformer";
|
|
|
39038
39044
|
|
|
39039
39045
|
// src/operativa/procesos/tdc/chile/dto/empresa-tdc-dto.ts
|
|
39040
39046
|
import { Expose as Expose686 } from "class-transformer";
|
|
39041
|
-
import { IsBoolean as
|
|
39047
|
+
import { IsBoolean as IsBoolean69, IsNotEmpty as IsNotEmpty447, IsString as IsString553, Length as Length323 } from "class-validator";
|
|
39042
39048
|
var EmpresaTdCDTO = class {
|
|
39043
39049
|
Codigo = "";
|
|
39044
39050
|
Propia = false;
|
|
@@ -39050,7 +39056,7 @@ __decorateClass([
|
|
|
39050
39056
|
Expose686()
|
|
39051
39057
|
], EmpresaTdCDTO.prototype, "Codigo", 2);
|
|
39052
39058
|
__decorateClass([
|
|
39053
|
-
|
|
39059
|
+
IsBoolean69({ message: "debe ser un booleano" }),
|
|
39054
39060
|
IsNotEmpty447({ message: "es requerido" }),
|
|
39055
39061
|
Expose686()
|
|
39056
39062
|
], EmpresaTdCDTO.prototype, "Propia", 2);
|
|
@@ -41360,7 +41366,7 @@ __decorateClass([
|
|
|
41360
41366
|
|
|
41361
41367
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
41362
41368
|
import { Expose as Expose716 } from "class-transformer";
|
|
41363
|
-
import { IsNumber as IsNumber459, IsOptional as
|
|
41369
|
+
import { IsNumber as IsNumber459, IsOptional as IsOptional69, IsString as IsString580 } from "class-validator";
|
|
41364
41370
|
import "reflect-metadata";
|
|
41365
41371
|
var ValorizacionPeruTOADTO = class {
|
|
41366
41372
|
pbBase = 0;
|
|
@@ -41374,35 +41380,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
41374
41380
|
__decorateClass([
|
|
41375
41381
|
Expose716(),
|
|
41376
41382
|
IsNumber459(),
|
|
41377
|
-
|
|
41383
|
+
IsOptional69()
|
|
41378
41384
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
41379
41385
|
__decorateClass([
|
|
41380
41386
|
Expose716(),
|
|
41381
41387
|
IsNumber459(),
|
|
41382
|
-
|
|
41388
|
+
IsOptional69()
|
|
41383
41389
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
41384
41390
|
__decorateClass([
|
|
41385
41391
|
Expose716(),
|
|
41386
|
-
|
|
41392
|
+
IsOptional69()
|
|
41387
41393
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
41388
41394
|
__decorateClass([
|
|
41389
41395
|
Expose716(),
|
|
41390
|
-
|
|
41396
|
+
IsOptional69()
|
|
41391
41397
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
41392
41398
|
__decorateClass([
|
|
41393
41399
|
Expose716(),
|
|
41394
41400
|
IsString580(),
|
|
41395
|
-
|
|
41401
|
+
IsOptional69()
|
|
41396
41402
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
41397
41403
|
__decorateClass([
|
|
41398
41404
|
Expose716(),
|
|
41399
41405
|
IsString580(),
|
|
41400
|
-
|
|
41406
|
+
IsOptional69()
|
|
41401
41407
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
41402
41408
|
__decorateClass([
|
|
41403
41409
|
Expose716(),
|
|
41404
41410
|
IsString580(),
|
|
41405
|
-
|
|
41411
|
+
IsOptional69()
|
|
41406
41412
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
41407
41413
|
|
|
41408
41414
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -41448,7 +41454,7 @@ import "reflect-metadata";
|
|
|
41448
41454
|
|
|
41449
41455
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
41450
41456
|
import { Expose as Expose718, Type as Type459 } from "class-transformer";
|
|
41451
|
-
import { IsDate as IsDate153, IsNumber as IsNumber460, IsOptional as
|
|
41457
|
+
import { IsDate as IsDate153, IsNumber as IsNumber460, IsOptional as IsOptional70, IsString as IsString582, ValidateNested as ValidateNested405 } from "class-validator";
|
|
41452
41458
|
var AjusteReprocesoDTO = class {
|
|
41453
41459
|
PB;
|
|
41454
41460
|
MO;
|
|
@@ -41464,58 +41470,58 @@ var AjusteReprocesoDTO = class {
|
|
|
41464
41470
|
};
|
|
41465
41471
|
__decorateClass([
|
|
41466
41472
|
Expose718(),
|
|
41467
|
-
|
|
41473
|
+
IsOptional70(),
|
|
41468
41474
|
IsNumber460()
|
|
41469
41475
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
41470
41476
|
__decorateClass([
|
|
41471
41477
|
Expose718(),
|
|
41472
|
-
|
|
41478
|
+
IsOptional70(),
|
|
41473
41479
|
IsNumber460()
|
|
41474
41480
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
41475
41481
|
__decorateClass([
|
|
41476
41482
|
Expose718(),
|
|
41477
|
-
|
|
41483
|
+
IsOptional70(),
|
|
41478
41484
|
IsNumber460()
|
|
41479
41485
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
41480
41486
|
__decorateClass([
|
|
41481
41487
|
Expose718(),
|
|
41482
|
-
|
|
41488
|
+
IsOptional70(),
|
|
41483
41489
|
IsString582()
|
|
41484
41490
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
41485
41491
|
__decorateClass([
|
|
41486
41492
|
Expose718(),
|
|
41487
|
-
|
|
41493
|
+
IsOptional70(),
|
|
41488
41494
|
IsString582()
|
|
41489
41495
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
41490
41496
|
__decorateClass([
|
|
41491
41497
|
Expose718(),
|
|
41492
|
-
|
|
41498
|
+
IsOptional70(),
|
|
41493
41499
|
ValidateNested405(),
|
|
41494
41500
|
Type459(() => EECCDBTOADTO)
|
|
41495
41501
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
41496
41502
|
__decorateClass([
|
|
41497
41503
|
Expose718(),
|
|
41498
|
-
|
|
41504
|
+
IsOptional70(),
|
|
41499
41505
|
IsNumber460()
|
|
41500
41506
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
41501
41507
|
__decorateClass([
|
|
41502
41508
|
Expose718(),
|
|
41503
|
-
|
|
41509
|
+
IsOptional70(),
|
|
41504
41510
|
IsString582()
|
|
41505
41511
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
41506
41512
|
__decorateClass([
|
|
41507
41513
|
Expose718(),
|
|
41508
|
-
|
|
41514
|
+
IsOptional70(),
|
|
41509
41515
|
IsString582()
|
|
41510
41516
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
41511
41517
|
__decorateClass([
|
|
41512
41518
|
Expose718(),
|
|
41513
|
-
|
|
41519
|
+
IsOptional70(),
|
|
41514
41520
|
IsNumber460()
|
|
41515
41521
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
41516
41522
|
__decorateClass([
|
|
41517
41523
|
Expose718(),
|
|
41518
|
-
|
|
41524
|
+
IsOptional70(),
|
|
41519
41525
|
IsDate153(),
|
|
41520
41526
|
Type459(() => Date)
|
|
41521
41527
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -43178,7 +43184,7 @@ import { Expose as Expose740, Transform as Transform102, Type as Type466 } from
|
|
|
43178
43184
|
|
|
43179
43185
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
43180
43186
|
import { Expose as Expose732, Transform as Transform98 } from "class-transformer";
|
|
43181
|
-
import { IsDate as IsDate158, IsDefined as IsDefined229, IsNumber as IsNumber470, IsOptional as
|
|
43187
|
+
import { IsDate as IsDate158, IsDefined as IsDefined229, IsNumber as IsNumber470, IsOptional as IsOptional72, IsString as IsString595 } from "class-validator";
|
|
43182
43188
|
|
|
43183
43189
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
43184
43190
|
function formatDateOnnetFibra(date) {
|
|
@@ -43244,13 +43250,13 @@ __decorateClass([
|
|
|
43244
43250
|
Expose732()
|
|
43245
43251
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
43246
43252
|
__decorateClass([
|
|
43247
|
-
|
|
43253
|
+
IsOptional72(),
|
|
43248
43254
|
Transform98(({ value }) => value ? String(value) : ""),
|
|
43249
43255
|
IsString595({ message: "El campo lt debe ser una cadena de texto" }),
|
|
43250
43256
|
Expose732()
|
|
43251
43257
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
43252
43258
|
__decorateClass([
|
|
43253
|
-
|
|
43259
|
+
IsOptional72(),
|
|
43254
43260
|
IsNumber470({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
43255
43261
|
Transform98(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
43256
43262
|
Expose732()
|
|
@@ -43261,7 +43267,7 @@ __decorateClass([
|
|
|
43261
43267
|
Expose732()
|
|
43262
43268
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
43263
43269
|
__decorateClass([
|
|
43264
|
-
|
|
43270
|
+
IsOptional72(),
|
|
43265
43271
|
IsNumber470({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
43266
43272
|
Transform98(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
43267
43273
|
Expose732()
|
|
@@ -43297,13 +43303,13 @@ __decorateClass([
|
|
|
43297
43303
|
Expose732()
|
|
43298
43304
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
43299
43305
|
__decorateClass([
|
|
43300
|
-
|
|
43306
|
+
IsOptional72(),
|
|
43301
43307
|
IsString595({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
43302
43308
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43303
43309
|
Expose732()
|
|
43304
43310
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
43305
43311
|
__decorateClass([
|
|
43306
|
-
|
|
43312
|
+
IsOptional72(),
|
|
43307
43313
|
IsString595({ message: "El campo olt debe ser una cadena de texto" }),
|
|
43308
43314
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43309
43315
|
Expose732()
|
|
@@ -43359,7 +43365,7 @@ __decorateClass([
|
|
|
43359
43365
|
Expose732()
|
|
43360
43366
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
43361
43367
|
__decorateClass([
|
|
43362
|
-
|
|
43368
|
+
IsOptional72(),
|
|
43363
43369
|
Transform98(({ value }) => formatDateOnnetFibra(value)),
|
|
43364
43370
|
IsDate158({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
43365
43371
|
Expose732()
|
|
@@ -43380,30 +43386,30 @@ __decorateClass([
|
|
|
43380
43386
|
Expose732()
|
|
43381
43387
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
43382
43388
|
__decorateClass([
|
|
43383
|
-
|
|
43389
|
+
IsOptional72(),
|
|
43384
43390
|
IsString595({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
43385
43391
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43386
43392
|
Expose732()
|
|
43387
43393
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
43388
43394
|
__decorateClass([
|
|
43389
|
-
|
|
43395
|
+
IsOptional72(),
|
|
43390
43396
|
IsString595({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
43391
43397
|
Expose732()
|
|
43392
43398
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
43393
43399
|
__decorateClass([
|
|
43394
|
-
|
|
43400
|
+
IsOptional72({ message: "El campo cliente es opcional" }),
|
|
43395
43401
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43396
43402
|
IsString595({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
43397
43403
|
Expose732()
|
|
43398
43404
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
43399
43405
|
__decorateClass([
|
|
43400
|
-
|
|
43406
|
+
IsOptional72({ message: "El campo comuna es opcional" }),
|
|
43401
43407
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43402
43408
|
IsString595({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
43403
43409
|
Expose732()
|
|
43404
43410
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
43405
43411
|
__decorateClass([
|
|
43406
|
-
|
|
43412
|
+
IsOptional72({ message: "El campo pep es opcional" }),
|
|
43407
43413
|
IsString595({ message: "El campo pep debe ser una cadena de texto" }),
|
|
43408
43414
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43409
43415
|
Expose732()
|
|
@@ -43413,38 +43419,38 @@ __decorateClass([
|
|
|
43413
43419
|
Expose732()
|
|
43414
43420
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
43415
43421
|
__decorateClass([
|
|
43416
|
-
|
|
43422
|
+
IsOptional72({ message: "El campo proyecto es opcional" }),
|
|
43417
43423
|
IsString595({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
43418
43424
|
Expose732()
|
|
43419
43425
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
43420
43426
|
__decorateClass([
|
|
43421
|
-
|
|
43427
|
+
IsOptional72({ message: "El campo producto es opcional" }),
|
|
43422
43428
|
IsString595({ message: "El campo producto debe ser una cadena de texto" }),
|
|
43423
43429
|
Expose732()
|
|
43424
43430
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
43425
43431
|
__decorateClass([
|
|
43426
|
-
|
|
43432
|
+
IsOptional72({ message: "El campo sub_tipo_orden es opcional" }),
|
|
43427
43433
|
IsString595({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
43428
43434
|
Expose732()
|
|
43429
43435
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
43430
43436
|
__decorateClass([
|
|
43431
|
-
|
|
43437
|
+
IsOptional72({ message: "El campo nombre_tecnico es opcional" }),
|
|
43432
43438
|
IsString595({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
43433
43439
|
Expose732()
|
|
43434
43440
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
43435
43441
|
__decorateClass([
|
|
43436
|
-
|
|
43442
|
+
IsOptional72(),
|
|
43437
43443
|
IsNumber470({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
43438
43444
|
Transform98(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
43439
43445
|
Expose732()
|
|
43440
43446
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
43441
43447
|
__decorateClass([
|
|
43442
|
-
|
|
43448
|
+
IsOptional72({ message: "El campo sintoma es opcional" }),
|
|
43443
43449
|
IsNumber470({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
43444
43450
|
Expose732()
|
|
43445
43451
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
43446
43452
|
__decorateClass([
|
|
43447
|
-
|
|
43453
|
+
IsOptional72({ message: "El campo mensaje_contingencia es opcional" }),
|
|
43448
43454
|
IsString595({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
43449
43455
|
Expose732()
|
|
43450
43456
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -43599,7 +43605,7 @@ import { IsArray as IsArray237, IsDefined as IsDefined235, IsString as IsString6
|
|
|
43599
43605
|
|
|
43600
43606
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
43601
43607
|
import { Expose as Expose735, Transform as Transform100, Type as Type464 } from "class-transformer";
|
|
43602
|
-
import { IsDefined as IsDefined232, IsNumber as IsNumber473, IsOptional as
|
|
43608
|
+
import { IsDefined as IsDefined232, IsNumber as IsNumber473, IsOptional as IsOptional73, IsString as IsString598 } from "class-validator";
|
|
43603
43609
|
var DetalleOrdenRealDTO = class {
|
|
43604
43610
|
descripcion = "";
|
|
43605
43611
|
tipo = "";
|
|
@@ -43646,7 +43652,7 @@ __decorateClass([
|
|
|
43646
43652
|
Expose735()
|
|
43647
43653
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
43648
43654
|
__decorateClass([
|
|
43649
|
-
|
|
43655
|
+
IsOptional73({ message: "El campo tecnico es requerido" }),
|
|
43650
43656
|
IsString598({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
43651
43657
|
Transform100(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43652
43658
|
Expose735()
|
|
@@ -43661,14 +43667,14 @@ __decorateClass([
|
|
|
43661
43667
|
Expose735()
|
|
43662
43668
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
43663
43669
|
__decorateClass([
|
|
43664
|
-
|
|
43670
|
+
IsOptional73({ message: "El campo contrato es opcional" }),
|
|
43665
43671
|
IsString598({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
43666
43672
|
Transform100(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43667
43673
|
Expose735()
|
|
43668
43674
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
43669
43675
|
__decorateClass([
|
|
43670
43676
|
Type464(() => CodigoNombreDTO),
|
|
43671
|
-
|
|
43677
|
+
IsOptional73(),
|
|
43672
43678
|
Transform100(({ value }) => value ?? new CodigoNombreDTO()),
|
|
43673
43679
|
Expose735()
|
|
43674
43680
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -47296,7 +47302,7 @@ __decorateClass([
|
|
|
47296
47302
|
|
|
47297
47303
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
47298
47304
|
import { Expose as Expose762, Type as Type484 } from "class-transformer";
|
|
47299
|
-
import { IsDate as IsDate172, IsDefined as IsDefined259, IsNumber as IsNumber498, IsOptional as
|
|
47305
|
+
import { IsDate as IsDate172, IsDefined as IsDefined259, IsNumber as IsNumber498, IsOptional as IsOptional75, IsString as IsString625 } from "class-validator";
|
|
47300
47306
|
var OrdenesInstalacionDTO = class {
|
|
47301
47307
|
EMPRESA = "";
|
|
47302
47308
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -47485,25 +47491,25 @@ __decorateClass([
|
|
|
47485
47491
|
__decorateClass([
|
|
47486
47492
|
Expose762(),
|
|
47487
47493
|
ForceString(),
|
|
47488
|
-
|
|
47494
|
+
IsOptional75(),
|
|
47489
47495
|
IsString625()
|
|
47490
47496
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
47491
47497
|
__decorateClass([
|
|
47492
47498
|
Expose762(),
|
|
47493
47499
|
ForceString(),
|
|
47494
|
-
|
|
47500
|
+
IsOptional75(),
|
|
47495
47501
|
IsString625()
|
|
47496
47502
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
47497
47503
|
__decorateClass([
|
|
47498
47504
|
Expose762(),
|
|
47499
47505
|
ForceString(),
|
|
47500
|
-
|
|
47506
|
+
IsOptional75(),
|
|
47501
47507
|
IsString625()
|
|
47502
47508
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
47503
47509
|
|
|
47504
47510
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
47505
47511
|
import { Expose as Expose763 } from "class-transformer";
|
|
47506
|
-
import { IsDefined as IsDefined260, IsNumber as IsNumber499, IsOptional as
|
|
47512
|
+
import { IsDefined as IsDefined260, IsNumber as IsNumber499, IsOptional as IsOptional76, IsString as IsString626 } from "class-validator";
|
|
47507
47513
|
var ReclamosDistribuidorDTO = class {
|
|
47508
47514
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
47509
47515
|
PERMISOR = 0;
|
|
@@ -47661,7 +47667,7 @@ __decorateClass([
|
|
|
47661
47667
|
__decorateClass([
|
|
47662
47668
|
Expose763(),
|
|
47663
47669
|
ForceString(),
|
|
47664
|
-
|
|
47670
|
+
IsOptional76(),
|
|
47665
47671
|
IsString626()
|
|
47666
47672
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
47667
47673
|
__decorateClass([
|
|
@@ -48122,7 +48128,7 @@ __decorateClass([
|
|
|
48122
48128
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
48123
48129
|
|
|
48124
48130
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
48125
|
-
import { IsDate as IsDate175, IsDefined as IsDefined263, IsNumber as IsNumber502, IsOptional as
|
|
48131
|
+
import { IsDate as IsDate175, IsDefined as IsDefined263, IsNumber as IsNumber502, IsOptional as IsOptional77, IsString as IsString629 } from "class-validator";
|
|
48126
48132
|
import { Expose as Expose766, Type as Type485 } from "class-transformer";
|
|
48127
48133
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
48128
48134
|
EMPRESA = "";
|
|
@@ -48312,19 +48318,19 @@ __decorateClass([
|
|
|
48312
48318
|
__decorateClass([
|
|
48313
48319
|
Expose766(),
|
|
48314
48320
|
ForceString(),
|
|
48315
|
-
|
|
48321
|
+
IsOptional77(),
|
|
48316
48322
|
IsString629()
|
|
48317
48323
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
48318
48324
|
__decorateClass([
|
|
48319
48325
|
Expose766(),
|
|
48320
48326
|
ForceString(),
|
|
48321
|
-
|
|
48327
|
+
IsOptional77(),
|
|
48322
48328
|
IsString629()
|
|
48323
48329
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
48324
48330
|
__decorateClass([
|
|
48325
48331
|
Expose766(),
|
|
48326
48332
|
ForceString(),
|
|
48327
|
-
|
|
48333
|
+
IsOptional77(),
|
|
48328
48334
|
IsString629()
|
|
48329
48335
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
48330
48336
|
|
|
@@ -49243,7 +49249,7 @@ __decorateClass([
|
|
|
49243
49249
|
|
|
49244
49250
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
49245
49251
|
import { Expose as Expose775 } from "class-transformer";
|
|
49246
|
-
import { IsNumber as IsNumber510, IsOptional as
|
|
49252
|
+
import { IsNumber as IsNumber510, IsOptional as IsOptional78 } from "class-validator";
|
|
49247
49253
|
import "reflect-metadata";
|
|
49248
49254
|
var ValorizacionSomacylDTO = class {
|
|
49249
49255
|
pbBase = 0;
|
|
@@ -49252,12 +49258,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
49252
49258
|
__decorateClass([
|
|
49253
49259
|
Expose775(),
|
|
49254
49260
|
IsNumber510(),
|
|
49255
|
-
|
|
49261
|
+
IsOptional78()
|
|
49256
49262
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
49257
49263
|
__decorateClass([
|
|
49258
49264
|
Expose775(),
|
|
49259
49265
|
IsNumber510(),
|
|
49260
|
-
|
|
49266
|
+
IsOptional78()
|
|
49261
49267
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
49262
49268
|
|
|
49263
49269
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|
|
@@ -49485,7 +49491,7 @@ __decorateClass([
|
|
|
49485
49491
|
|
|
49486
49492
|
// src/operativa/procesos/somacyl_order/shared/dto/eecc-somacyl-dto.ts
|
|
49487
49493
|
import { Expose as Expose780 } from "class-transformer";
|
|
49488
|
-
import { IsBoolean as
|
|
49494
|
+
import { IsBoolean as IsBoolean70, IsDefined as IsDefined275, IsString as IsString641 } from "class-validator";
|
|
49489
49495
|
import "reflect-metadata";
|
|
49490
49496
|
var EECCSomacylDTO = class {
|
|
49491
49497
|
RUC = "";
|
|
@@ -49505,7 +49511,7 @@ __decorateClass([
|
|
|
49505
49511
|
__decorateClass([
|
|
49506
49512
|
Expose780(),
|
|
49507
49513
|
IsDefined275(),
|
|
49508
|
-
|
|
49514
|
+
IsBoolean70()
|
|
49509
49515
|
], EECCSomacylDTO.prototype, "Propio", 2);
|
|
49510
49516
|
|
|
49511
49517
|
// src/operativa/procesos/somacyl_order/shared/index.ts
|
|
@@ -50242,7 +50248,7 @@ __decorateClass([
|
|
|
50242
50248
|
|
|
50243
50249
|
// src/operativa/procesos/altas_nvt_order/shared/dto/eecc-altas-nvt-dto.ts
|
|
50244
50250
|
import { Expose as Expose793 } from "class-transformer";
|
|
50245
|
-
import { IsBoolean as
|
|
50251
|
+
import { IsBoolean as IsBoolean71, IsDefined as IsDefined287, IsString as IsString652 } from "class-validator";
|
|
50246
50252
|
import "reflect-metadata";
|
|
50247
50253
|
var EECCAltasNVTDTO = class {
|
|
50248
50254
|
RUC = "";
|
|
@@ -50262,7 +50268,7 @@ __decorateClass([
|
|
|
50262
50268
|
__decorateClass([
|
|
50263
50269
|
Expose793(),
|
|
50264
50270
|
IsDefined287(),
|
|
50265
|
-
|
|
50271
|
+
IsBoolean71()
|
|
50266
50272
|
], EECCAltasNVTDTO.prototype, "Propio", 2);
|
|
50267
50273
|
|
|
50268
50274
|
// src/operativa/procesos/altas_nvt_order/shared/index.ts
|
|
@@ -52836,7 +52842,7 @@ __decorateClass([
|
|
|
52836
52842
|
|
|
52837
52843
|
// src/operativa/procesos/claro_peru9112/shared/dto/valorizacion-peru9112-claro-dto.ts
|
|
52838
52844
|
import { Expose as Expose810 } from "class-transformer";
|
|
52839
|
-
import { IsNumber as IsNumber530, IsOptional as
|
|
52845
|
+
import { IsNumber as IsNumber530, IsOptional as IsOptional79, IsString as IsString668 } from "class-validator";
|
|
52840
52846
|
import "reflect-metadata";
|
|
52841
52847
|
var ValorizacionPeru9112ClaroDTO = class {
|
|
52842
52848
|
pbBase = 0;
|
|
@@ -52850,35 +52856,35 @@ var ValorizacionPeru9112ClaroDTO = class {
|
|
|
52850
52856
|
__decorateClass([
|
|
52851
52857
|
Expose810(),
|
|
52852
52858
|
IsNumber530(),
|
|
52853
|
-
|
|
52859
|
+
IsOptional79()
|
|
52854
52860
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbBase", 2);
|
|
52855
52861
|
__decorateClass([
|
|
52856
52862
|
Expose810(),
|
|
52857
52863
|
IsNumber530(),
|
|
52858
|
-
|
|
52864
|
+
IsOptional79()
|
|
52859
52865
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbAdicional", 2);
|
|
52860
52866
|
__decorateClass([
|
|
52861
52867
|
Expose810(),
|
|
52862
|
-
|
|
52868
|
+
IsOptional79()
|
|
52863
52869
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbByMaterial", 2);
|
|
52864
52870
|
__decorateClass([
|
|
52865
52871
|
Expose810(),
|
|
52866
|
-
|
|
52872
|
+
IsOptional79()
|
|
52867
52873
|
], ValorizacionPeru9112ClaroDTO.prototype, "quantities", 2);
|
|
52868
52874
|
__decorateClass([
|
|
52869
52875
|
Expose810(),
|
|
52870
52876
|
IsString668(),
|
|
52871
|
-
|
|
52877
|
+
IsOptional79()
|
|
52872
52878
|
], ValorizacionPeru9112ClaroDTO.prototype, "TABLA", 2);
|
|
52873
52879
|
__decorateClass([
|
|
52874
52880
|
Expose810(),
|
|
52875
52881
|
IsString668(),
|
|
52876
|
-
|
|
52882
|
+
IsOptional79()
|
|
52877
52883
|
], ValorizacionPeru9112ClaroDTO.prototype, "Actividad", 2);
|
|
52878
52884
|
__decorateClass([
|
|
52879
52885
|
Expose810(),
|
|
52880
52886
|
IsString668(),
|
|
52881
|
-
|
|
52887
|
+
IsOptional79()
|
|
52882
52888
|
], ValorizacionPeru9112ClaroDTO.prototype, "PAQUETE", 2);
|
|
52883
52889
|
|
|
52884
52890
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro.ts
|
|
@@ -53334,7 +53340,7 @@ __decorateClass([
|
|
|
53334
53340
|
|
|
53335
53341
|
// src/operativa/procesos/btalppluzpendiente_order/shared/index.ts
|
|
53336
53342
|
import { Expose as Expose813 } from "class-transformer";
|
|
53337
|
-
import { IsBoolean as
|
|
53343
|
+
import { IsBoolean as IsBoolean72, IsDate as IsDate192, IsDefined as IsDefined301, IsString as IsString671 } from "class-validator";
|
|
53338
53344
|
import "reflect-metadata";
|
|
53339
53345
|
var BtAlpPluzPendienteOrderENTITY = class {
|
|
53340
53346
|
_id = "";
|
|
@@ -53566,7 +53572,7 @@ __decorateClass([
|
|
|
53566
53572
|
__decorateClass([
|
|
53567
53573
|
Expose813(),
|
|
53568
53574
|
IsDefined301(),
|
|
53569
|
-
|
|
53575
|
+
IsBoolean72()
|
|
53570
53576
|
], BtAlpPluzPendienteOrderENTITY.prototype, "en_fsm", 2);
|
|
53571
53577
|
__decorateClass([
|
|
53572
53578
|
Expose813(),
|
|
@@ -53611,7 +53617,7 @@ __decorateClass([
|
|
|
53611
53617
|
|
|
53612
53618
|
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
53613
53619
|
import { Expose as Expose817, Type as Type502 } from "class-transformer";
|
|
53614
|
-
import { IsDefined as IsDefined305, IsString as IsString675, IsNumber as IsNumber534, IsDate as IsDate194, IsEnum as IsEnum58, IsArray as IsArray256, IsOptional as
|
|
53620
|
+
import { IsDefined as IsDefined305, IsString as IsString675, IsNumber as IsNumber534, IsDate as IsDate194, IsEnum as IsEnum58, IsArray as IsArray256, IsOptional as IsOptional81, ValidateNested as ValidateNested433 } from "class-validator";
|
|
53615
53621
|
import "reflect-metadata";
|
|
53616
53622
|
|
|
53617
53623
|
// src/operativa/procesos/btalppluz_order2/shared/dto/liquidacion-bt-alp-pluz-order2-dto.ts
|
|
@@ -53923,7 +53929,7 @@ __decorateClass([
|
|
|
53923
53929
|
|
|
53924
53930
|
// src/operativa/procesos/btalppluz_order2/shared/dto/cuadrilla-bt-alp-pluz-order2-dto.ts
|
|
53925
53931
|
import { Expose as Expose815 } from "class-transformer";
|
|
53926
|
-
import { IsBoolean as
|
|
53932
|
+
import { IsBoolean as IsBoolean73, IsDefined as IsDefined303, IsEnum as IsEnum57, IsNumber as IsNumber533, IsOptional as IsOptional80, IsString as IsString673 } from "class-validator";
|
|
53927
53933
|
import "reflect-metadata";
|
|
53928
53934
|
var CuadrillaBtAlpPluzOrder2DTO = class {
|
|
53929
53935
|
Codigo = "";
|
|
@@ -53970,33 +53976,33 @@ __decorateClass([
|
|
|
53970
53976
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "PesoPersonal", 2);
|
|
53971
53977
|
__decorateClass([
|
|
53972
53978
|
Expose815(),
|
|
53973
|
-
|
|
53974
|
-
|
|
53979
|
+
IsOptional80(),
|
|
53980
|
+
IsBoolean73()
|
|
53975
53981
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefe", 2);
|
|
53976
53982
|
__decorateClass([
|
|
53977
53983
|
Expose815(),
|
|
53978
|
-
|
|
53979
|
-
|
|
53984
|
+
IsOptional80(),
|
|
53985
|
+
IsBoolean73()
|
|
53980
53986
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefeSuplente", 2);
|
|
53981
53987
|
__decorateClass([
|
|
53982
53988
|
Expose815(),
|
|
53983
|
-
|
|
53989
|
+
IsOptional80(),
|
|
53984
53990
|
IsEnum57(OrigenIntegrante)
|
|
53985
53991
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "Origen", 2);
|
|
53986
53992
|
__decorateClass([
|
|
53987
53993
|
Expose815(),
|
|
53988
|
-
|
|
53994
|
+
IsOptional80(),
|
|
53989
53995
|
IsString673()
|
|
53990
53996
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "CodigoCuadrillaOrigen", 2);
|
|
53991
53997
|
__decorateClass([
|
|
53992
53998
|
Expose815(),
|
|
53993
|
-
|
|
53999
|
+
IsOptional80(),
|
|
53994
54000
|
IsString673()
|
|
53995
54001
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "IdRecurso", 2);
|
|
53996
54002
|
|
|
53997
54003
|
// src/operativa/procesos/btalppluz_order2/shared/dto/eecc-bt-alp-pluz-dto.ts
|
|
53998
54004
|
import { Expose as Expose816 } from "class-transformer";
|
|
53999
|
-
import { IsBoolean as
|
|
54005
|
+
import { IsBoolean as IsBoolean74, IsDefined as IsDefined304, IsString as IsString674 } from "class-validator";
|
|
54000
54006
|
import "reflect-metadata";
|
|
54001
54007
|
var EECCBtAlpPluzDTO = class {
|
|
54002
54008
|
RUC = "";
|
|
@@ -54016,7 +54022,7 @@ __decorateClass([
|
|
|
54016
54022
|
__decorateClass([
|
|
54017
54023
|
Expose816(),
|
|
54018
54024
|
IsDefined304(),
|
|
54019
|
-
|
|
54025
|
+
IsBoolean74()
|
|
54020
54026
|
], EECCBtAlpPluzDTO.prototype, "Propio", 2);
|
|
54021
54027
|
|
|
54022
54028
|
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
@@ -54709,12 +54715,12 @@ __decorateClass([
|
|
|
54709
54715
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla", 2);
|
|
54710
54716
|
__decorateClass([
|
|
54711
54717
|
Expose817(),
|
|
54712
|
-
|
|
54718
|
+
IsOptional81(),
|
|
54713
54719
|
IsString675()
|
|
54714
54720
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_fecha_key", 2);
|
|
54715
54721
|
__decorateClass([
|
|
54716
54722
|
Expose817(),
|
|
54717
|
-
|
|
54723
|
+
IsOptional81(),
|
|
54718
54724
|
IsNumber534()
|
|
54719
54725
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_id_asistencia", 2);
|
|
54720
54726
|
|
|
@@ -54796,12 +54802,12 @@ __decorateClass([
|
|
|
54796
54802
|
|
|
54797
54803
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/index.ts
|
|
54798
54804
|
import { Expose as Expose825, Type as Type510 } from "class-transformer";
|
|
54799
|
-
import { IsArray as IsArray261, IsBoolean as
|
|
54805
|
+
import { IsArray as IsArray261, IsBoolean as IsBoolean77, IsDate as IsDate198, IsDefined as IsDefined313, IsNotEmpty as IsNotEmpty467, IsOptional as IsOptional84, IsString as IsString682, ValidateNested as ValidateNested440 } from "class-validator";
|
|
54800
54806
|
import "reflect-metadata";
|
|
54801
54807
|
|
|
54802
54808
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/pendiente-vereda-dto.ts
|
|
54803
54809
|
import { Expose as Expose819, Type as Type504 } from "class-transformer";
|
|
54804
|
-
import { IsBoolean as
|
|
54810
|
+
import { IsBoolean as IsBoolean75, IsDate as IsDate195, IsDefined as IsDefined307, IsOptional as IsOptional82, IsString as IsString677 } from "class-validator";
|
|
54805
54811
|
import "reflect-metadata";
|
|
54806
54812
|
var PendienteVeredaDTO = class {
|
|
54807
54813
|
asunto_orden_mantenimiento = "";
|
|
@@ -54852,13 +54858,13 @@ __decorateClass([
|
|
|
54852
54858
|
], PendienteVeredaDTO.prototype, "status_de_usuario", 2);
|
|
54853
54859
|
__decorateClass([
|
|
54854
54860
|
Expose819(),
|
|
54855
|
-
|
|
54861
|
+
IsOptional82(),
|
|
54856
54862
|
IsDate195(),
|
|
54857
54863
|
Type504(() => Date)
|
|
54858
54864
|
], PendienteVeredaDTO.prototype, "fecha_de_creacion", 2);
|
|
54859
54865
|
__decorateClass([
|
|
54860
54866
|
Expose819(),
|
|
54861
|
-
|
|
54867
|
+
IsOptional82(),
|
|
54862
54868
|
IsDate195(),
|
|
54863
54869
|
Type504(() => Date)
|
|
54864
54870
|
], PendienteVeredaDTO.prototype, "plazo_legal_fecha_hora", 2);
|
|
@@ -54905,7 +54911,7 @@ __decorateClass([
|
|
|
54905
54911
|
__decorateClass([
|
|
54906
54912
|
Expose819(),
|
|
54907
54913
|
IsDefined307(),
|
|
54908
|
-
|
|
54914
|
+
IsBoolean75()
|
|
54909
54915
|
], PendienteVeredaDTO.prototype, "en_fsm", 2);
|
|
54910
54916
|
__decorateClass([
|
|
54911
54917
|
Expose819(),
|
|
@@ -54934,7 +54940,7 @@ __decorateClass([
|
|
|
54934
54940
|
], PendienteVeredaDTO.prototype, "sed", 2);
|
|
54935
54941
|
__decorateClass([
|
|
54936
54942
|
Expose819(),
|
|
54937
|
-
|
|
54943
|
+
IsOptional82(),
|
|
54938
54944
|
IsDate195(),
|
|
54939
54945
|
Type504(() => Date)
|
|
54940
54946
|
], PendienteVeredaDTO.prototype, "fecha_vencimiento", 2);
|
|
@@ -55156,7 +55162,7 @@ __decorateClass([
|
|
|
55156
55162
|
|
|
55157
55163
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55158
55164
|
import { Expose as Expose822, Type as Type507 } from "class-transformer";
|
|
55159
|
-
import { IsArray as IsArray260, IsDate as IsDate196, IsDefined as IsDefined310, IsIn as IsIn9, IsInt, IsNumber as IsNumber538, IsOptional as
|
|
55165
|
+
import { IsArray as IsArray260, IsDate as IsDate196, IsDefined as IsDefined310, IsIn as IsIn9, IsInt, IsNumber as IsNumber538, IsOptional as IsOptional83, IsString as IsString680, Max as Max17, MaxLength as MaxLength10, Min as Min355, ValidateNested as ValidateNested437 } from "class-validator";
|
|
55160
55166
|
import "reflect-metadata";
|
|
55161
55167
|
var PASOS_WORKFLOW_VEREDA = {
|
|
55162
55168
|
TOMADO_EN_CARGA: { paso: "TOMADO_EN_CARGA", orden: 1 },
|
|
@@ -55343,7 +55349,7 @@ __decorateClass([
|
|
|
55343
55349
|
], FormularioCivilVeredaDTO.prototype, "workflow", 2);
|
|
55344
55350
|
__decorateClass([
|
|
55345
55351
|
Expose822(),
|
|
55346
|
-
|
|
55352
|
+
IsOptional83(),
|
|
55347
55353
|
ValidateNested437(),
|
|
55348
55354
|
Type507(() => MetradosVeredaDTO)
|
|
55349
55355
|
], FormularioCivilVeredaDTO.prototype, "metrados", 2);
|
|
@@ -55354,13 +55360,13 @@ __decorateClass([
|
|
|
55354
55360
|
], FormularioCivilVeredaDTO.prototype, "observaciones", 2);
|
|
55355
55361
|
__decorateClass([
|
|
55356
55362
|
Expose822(),
|
|
55357
|
-
|
|
55363
|
+
IsOptional83(),
|
|
55358
55364
|
ValidateNested437(),
|
|
55359
55365
|
Type507(() => PendienteOriginalVeredaDTO)
|
|
55360
55366
|
], FormularioCivilVeredaDTO.prototype, "pendiente_original", 2);
|
|
55361
55367
|
__decorateClass([
|
|
55362
55368
|
Expose822(),
|
|
55363
|
-
|
|
55369
|
+
IsOptional83(),
|
|
55364
55370
|
IsDate196(),
|
|
55365
55371
|
Type507(() => Date)
|
|
55366
55372
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
@@ -55491,7 +55497,7 @@ __decorateClass([
|
|
|
55491
55497
|
|
|
55492
55498
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
55493
55499
|
import { Expose as Expose824, Type as Type509 } from "class-transformer";
|
|
55494
|
-
import { IsBoolean as
|
|
55500
|
+
import { IsBoolean as IsBoolean76, IsDefined as IsDefined312, ValidateIf as ValidateIf8, ValidateNested as ValidateNested439 } from "class-validator";
|
|
55495
55501
|
import "reflect-metadata";
|
|
55496
55502
|
var DesmonteVeredaDTO = class {
|
|
55497
55503
|
tiene_desmonte = false;
|
|
@@ -55500,7 +55506,7 @@ var DesmonteVeredaDTO = class {
|
|
|
55500
55506
|
__decorateClass([
|
|
55501
55507
|
Expose824(),
|
|
55502
55508
|
IsDefined312({ message: "es requerido" }),
|
|
55503
|
-
|
|
55509
|
+
IsBoolean76({ message: "es requerido" })
|
|
55504
55510
|
], DesmonteVeredaDTO.prototype, "tiene_desmonte", 2);
|
|
55505
55511
|
__decorateClass([
|
|
55506
55512
|
Expose824(),
|
|
@@ -55606,7 +55612,7 @@ __decorateClass([
|
|
|
55606
55612
|
__decorateClass([
|
|
55607
55613
|
Expose825(),
|
|
55608
55614
|
IsDefined313(),
|
|
55609
|
-
|
|
55615
|
+
IsBoolean77()
|
|
55610
55616
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "activa", 2);
|
|
55611
55617
|
__decorateClass([
|
|
55612
55618
|
Expose825(),
|
|
@@ -55645,31 +55651,31 @@ __decorateClass([
|
|
|
55645
55651
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "documentacion", 2);
|
|
55646
55652
|
__decorateClass([
|
|
55647
55653
|
Expose825(),
|
|
55648
|
-
|
|
55654
|
+
IsOptional84(),
|
|
55649
55655
|
ValidateNested440(),
|
|
55650
55656
|
Type510(() => DesmonteVeredaDTO)
|
|
55651
55657
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "desmonte", 2);
|
|
55652
55658
|
__decorateClass([
|
|
55653
55659
|
Expose825(),
|
|
55654
|
-
|
|
55660
|
+
IsOptional84(),
|
|
55655
55661
|
IsDate198(),
|
|
55656
55662
|
Type510(() => Date)
|
|
55657
55663
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "fecha_envio", 2);
|
|
55658
55664
|
__decorateClass([
|
|
55659
55665
|
Expose825(),
|
|
55660
|
-
|
|
55666
|
+
IsOptional84(),
|
|
55661
55667
|
ValidateNested440(),
|
|
55662
55668
|
Type510(() => UsuarioDTO)
|
|
55663
55669
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "usuario_envio", 2);
|
|
55664
55670
|
__decorateClass([
|
|
55665
55671
|
Expose825(),
|
|
55666
|
-
|
|
55672
|
+
IsOptional84(),
|
|
55667
55673
|
ValidateNested440(),
|
|
55668
55674
|
Type510(() => RevisionVeredaDTO)
|
|
55669
55675
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "revision", 2);
|
|
55670
55676
|
__decorateClass([
|
|
55671
55677
|
Expose825(),
|
|
55672
|
-
|
|
55678
|
+
IsOptional84(),
|
|
55673
55679
|
ValidateNested440(),
|
|
55674
55680
|
Type510(() => CierreSsamVeredaDTO)
|
|
55675
55681
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "cierre_ssam", 2);
|
|
@@ -55730,11 +55736,11 @@ __decorateClass([
|
|
|
55730
55736
|
], LoginDto.prototype, "password", 2);
|
|
55731
55737
|
|
|
55732
55738
|
// src/v2/dtos/PayloadToken.ts
|
|
55733
|
-
import { IsDefined as IsDefined318, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as
|
|
55739
|
+
import { IsDefined as IsDefined318, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as IsOptional85, ValidateNested as ValidateNested442 } from "class-validator";
|
|
55734
55740
|
import { Expose as Expose830, Type as Type512 } from "class-transformer";
|
|
55735
55741
|
|
|
55736
55742
|
// src/v2/dtos/AuthUser.ts
|
|
55737
|
-
import { IsBoolean as
|
|
55743
|
+
import { IsBoolean as IsBoolean78, IsDefined as IsDefined316, IsEmail as IsEmail7, IsString as IsString684, IsUUID as IsUUID25, ValidateIf as ValidateIf9 } from "class-validator";
|
|
55738
55744
|
import { Expose as Expose828, Transform as Transform119 } from "class-transformer";
|
|
55739
55745
|
var AuthUserDto = class {
|
|
55740
55746
|
email;
|
|
@@ -55777,7 +55783,7 @@ __decorateClass([
|
|
|
55777
55783
|
], AuthUserDto.prototype, "identification", 2);
|
|
55778
55784
|
__decorateClass([
|
|
55779
55785
|
IsDefined316({ message: 'La propiedad "root" es obligatoria.' }),
|
|
55780
|
-
|
|
55786
|
+
IsBoolean78({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
55781
55787
|
Expose828()
|
|
55782
55788
|
], AuthUserDto.prototype, "root", 2);
|
|
55783
55789
|
__decorateClass([
|
|
@@ -55834,7 +55840,7 @@ __decorateClass([
|
|
|
55834
55840
|
Expose830()
|
|
55835
55841
|
], PayloadTokenDto.prototype, "user", 2);
|
|
55836
55842
|
__decorateClass([
|
|
55837
|
-
|
|
55843
|
+
IsOptional85(),
|
|
55838
55844
|
ValidateNested442(),
|
|
55839
55845
|
Type512(() => AuthUserDto),
|
|
55840
55846
|
Expose830()
|
|
@@ -55905,7 +55911,7 @@ import { Expose as Expose833, Type as Type513 } from "class-transformer";
|
|
|
55905
55911
|
|
|
55906
55912
|
// src/v2/entities/SystemOption.ts
|
|
55907
55913
|
import { Expose as Expose832 } from "class-transformer";
|
|
55908
|
-
import { IsBoolean as
|
|
55914
|
+
import { IsBoolean as IsBoolean80, IsDefined as IsDefined320, IsNotEmpty as IsNotEmpty469, IsString as IsString687, IsUUID as IsUUID27 } from "class-validator";
|
|
55909
55915
|
var SystemOptionEntity = class {
|
|
55910
55916
|
_id;
|
|
55911
55917
|
key;
|
|
@@ -55948,7 +55954,7 @@ __decorateClass([
|
|
|
55948
55954
|
Expose832()
|
|
55949
55955
|
], SystemOptionEntity.prototype, "route", 2);
|
|
55950
55956
|
__decorateClass([
|
|
55951
|
-
|
|
55957
|
+
IsBoolean80({ message: "Root debe ser booleano" }),
|
|
55952
55958
|
Expose832()
|
|
55953
55959
|
], SystemOptionEntity.prototype, "root", 2);
|
|
55954
55960
|
|
|
@@ -56059,7 +56065,7 @@ __decorateClass([
|
|
|
56059
56065
|
|
|
56060
56066
|
// src/v2/dtos/UpdateProfile.ts
|
|
56061
56067
|
import { Expose as Expose837, Transform as Transform124 } from "class-transformer";
|
|
56062
|
-
import { IsArray as IsArray266, IsDefined as IsDefined324, IsString as IsString691, Length as Length349, MinLength as MinLength61, IsBoolean as
|
|
56068
|
+
import { IsArray as IsArray266, IsDefined as IsDefined324, IsString as IsString691, Length as Length349, MinLength as MinLength61, IsBoolean as IsBoolean82 } from "class-validator";
|
|
56063
56069
|
var UpdateProfileDto = class {
|
|
56064
56070
|
active;
|
|
56065
56071
|
name;
|
|
@@ -56068,7 +56074,7 @@ var UpdateProfileDto = class {
|
|
|
56068
56074
|
};
|
|
56069
56075
|
__decorateClass([
|
|
56070
56076
|
IsDefined324({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
56071
|
-
|
|
56077
|
+
IsBoolean82({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
56072
56078
|
Expose837()
|
|
56073
56079
|
], UpdateProfileDto.prototype, "active", 2);
|
|
56074
56080
|
__decorateClass([
|
|
@@ -56128,7 +56134,7 @@ __decorateClass([
|
|
|
56128
56134
|
import { Expose as Expose840, Type as Type515 } from "class-transformer";
|
|
56129
56135
|
import {
|
|
56130
56136
|
IsArray as IsArray269,
|
|
56131
|
-
IsBoolean as
|
|
56137
|
+
IsBoolean as IsBoolean85,
|
|
56132
56138
|
IsDefined as IsDefined327,
|
|
56133
56139
|
IsEnum as IsEnum62,
|
|
56134
56140
|
IsNotEmpty as IsNotEmpty471,
|
|
@@ -56200,7 +56206,7 @@ __decorateClass([
|
|
|
56200
56206
|
], _DocumentRequirementDto.prototype, "maxFiles", 2);
|
|
56201
56207
|
__decorateClass([
|
|
56202
56208
|
IsDefined327({ message: "La propiedad de requiere metadatos es requerida" }),
|
|
56203
|
-
|
|
56209
|
+
IsBoolean85({ message: "La propiedad de requiere metadatos debe ser un booleano" }),
|
|
56204
56210
|
Expose840()
|
|
56205
56211
|
], _DocumentRequirementDto.prototype, "requiresMetadata", 2);
|
|
56206
56212
|
__decorateClass([
|
|
@@ -56336,7 +56342,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
56336
56342
|
|
|
56337
56343
|
// src/v2/dtos/CreateCompany.ts
|
|
56338
56344
|
import { Expose as Expose845 } from "class-transformer";
|
|
56339
|
-
import { IsArray as IsArray270, IsBoolean as
|
|
56345
|
+
import { IsArray as IsArray270, IsBoolean as IsBoolean86, IsDefined as IsDefined332, IsEmail as IsEmail11, IsEnum as IsEnum63, IsNotEmpty as IsNotEmpty476, IsString as IsString699, IsUUID as IsUUID36 } from "class-validator";
|
|
56340
56346
|
var CreateCompanyDto = class {
|
|
56341
56347
|
_id;
|
|
56342
56348
|
companyType;
|
|
@@ -56386,7 +56392,7 @@ __decorateClass([
|
|
|
56386
56392
|
], CreateCompanyDto.prototype, "tradeName", 2);
|
|
56387
56393
|
__decorateClass([
|
|
56388
56394
|
IsDefined332({ message: "La propiedad es propia es requerida" }),
|
|
56389
|
-
|
|
56395
|
+
IsBoolean86({ message: "La propiedad es propia debe ser un booleano" }),
|
|
56390
56396
|
Expose845()
|
|
56391
56397
|
], CreateCompanyDto.prototype, "isOwn", 2);
|
|
56392
56398
|
__decorateClass([
|
|
@@ -56416,7 +56422,7 @@ __decorateClass([
|
|
|
56416
56422
|
|
|
56417
56423
|
// src/v2/dtos/UpdateCompany.ts
|
|
56418
56424
|
import { Expose as Expose846 } from "class-transformer";
|
|
56419
|
-
import { IsArray as IsArray271, IsBoolean as
|
|
56425
|
+
import { IsArray as IsArray271, IsBoolean as IsBoolean87, IsDefined as IsDefined333, IsEmail as IsEmail12, IsEnum as IsEnum64, IsNotEmpty as IsNotEmpty477, IsString as IsString700, IsUUID as IsUUID37 } from "class-validator";
|
|
56420
56426
|
var UpdateCompanyDto = class {
|
|
56421
56427
|
_id;
|
|
56422
56428
|
companyType;
|
|
@@ -56466,7 +56472,7 @@ __decorateClass([
|
|
|
56466
56472
|
], UpdateCompanyDto.prototype, "tradeName", 2);
|
|
56467
56473
|
__decorateClass([
|
|
56468
56474
|
IsDefined333({ message: "La propiedad es propia es requerida" }),
|
|
56469
|
-
|
|
56475
|
+
IsBoolean87({ message: "La propiedad es propia debe ser un booleano" }),
|
|
56470
56476
|
Expose846()
|
|
56471
56477
|
], UpdateCompanyDto.prototype, "isOwn", 2);
|
|
56472
56478
|
__decorateClass([
|
|
@@ -56495,7 +56501,7 @@ __decorateClass([
|
|
|
56495
56501
|
], UpdateCompanyDto.prototype, "countryId", 2);
|
|
56496
56502
|
|
|
56497
56503
|
// src/v2/dtos/CreateUser.ts
|
|
56498
|
-
import { IsArray as IsArray272, IsBoolean as
|
|
56504
|
+
import { IsArray as IsArray272, IsBoolean as IsBoolean88, IsDefined as IsDefined335, IsEmail as IsEmail13, IsString as IsString702, IsUUID as IsUUID38, ValidateIf as ValidateIf11, ValidateNested as ValidateNested446 } from "class-validator";
|
|
56499
56505
|
import { Expose as Expose848, Transform as Transform128, Type as Type517 } from "class-transformer";
|
|
56500
56506
|
|
|
56501
56507
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
@@ -56615,7 +56621,7 @@ __decorateClass([
|
|
|
56615
56621
|
], CreateUserDto.prototype, "delegationIds", 2);
|
|
56616
56622
|
__decorateClass([
|
|
56617
56623
|
IsDefined335({ message: 'La propiedad "root" es obligatoria.' }),
|
|
56618
|
-
|
|
56624
|
+
IsBoolean88({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
56619
56625
|
Expose848()
|
|
56620
56626
|
], CreateUserDto.prototype, "root", 2);
|
|
56621
56627
|
__decorateClass([
|
|
@@ -56850,11 +56856,11 @@ __decorateClass([
|
|
|
56850
56856
|
|
|
56851
56857
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
56852
56858
|
import { Expose as Expose856, Type as Type521 } from "class-transformer";
|
|
56853
|
-
import { IsArray as IsArray273, IsDefined as IsDefined338, IsNumber as IsNumber544, IsOptional as
|
|
56859
|
+
import { IsArray as IsArray273, IsDefined as IsDefined338, IsNumber as IsNumber544, IsOptional as IsOptional87, IsString as IsString710, ValidateNested as ValidateNested450 } from "class-validator";
|
|
56854
56860
|
|
|
56855
56861
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
56856
56862
|
import { Expose as Expose855 } from "class-transformer";
|
|
56857
|
-
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as
|
|
56863
|
+
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as IsOptional86 } from "class-validator";
|
|
56858
56864
|
var FavoritoDTO2 = class {
|
|
56859
56865
|
id = "";
|
|
56860
56866
|
titulo = "";
|
|
@@ -56875,7 +56881,7 @@ __decorateClass([
|
|
|
56875
56881
|
Expose855()
|
|
56876
56882
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
56877
56883
|
__decorateClass([
|
|
56878
|
-
|
|
56884
|
+
IsOptional86(),
|
|
56879
56885
|
IsString709(),
|
|
56880
56886
|
Expose855()
|
|
56881
56887
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
@@ -56909,7 +56915,7 @@ __decorateClass([
|
|
|
56909
56915
|
Expose856()
|
|
56910
56916
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
56911
56917
|
__decorateClass([
|
|
56912
|
-
|
|
56918
|
+
IsOptional87(),
|
|
56913
56919
|
IsString710({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56914
56920
|
Expose856()
|
|
56915
56921
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56920,7 +56926,7 @@ __decorateClass([
|
|
|
56920
56926
|
Expose856()
|
|
56921
56927
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
56922
56928
|
__decorateClass([
|
|
56923
|
-
|
|
56929
|
+
IsOptional87(),
|
|
56924
56930
|
IsArray273({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
56925
56931
|
ValidateNested450({ each: true }),
|
|
56926
56932
|
Type521(() => FavoritoDTO2),
|
|
@@ -56929,7 +56935,7 @@ __decorateClass([
|
|
|
56929
56935
|
|
|
56930
56936
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
56931
56937
|
import { Expose as Expose857, Type as Type522 } from "class-transformer";
|
|
56932
|
-
import { IsArray as IsArray274, IsDefined as IsDefined339, IsNumber as IsNumber545, IsOptional as
|
|
56938
|
+
import { IsArray as IsArray274, IsDefined as IsDefined339, IsNumber as IsNumber545, IsOptional as IsOptional88, IsString as IsString711, ValidateNested as ValidateNested451 } from "class-validator";
|
|
56933
56939
|
var UpdateThemeConfigUserDto = class {
|
|
56934
56940
|
ID_Theme;
|
|
56935
56941
|
Identificacion;
|
|
@@ -56954,7 +56960,7 @@ __decorateClass([
|
|
|
56954
56960
|
Expose857()
|
|
56955
56961
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
56956
56962
|
__decorateClass([
|
|
56957
|
-
|
|
56963
|
+
IsOptional88(),
|
|
56958
56964
|
IsString711({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56959
56965
|
Expose857()
|
|
56960
56966
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56965,7 +56971,7 @@ __decorateClass([
|
|
|
56965
56971
|
Expose857()
|
|
56966
56972
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
56967
56973
|
__decorateClass([
|
|
56968
|
-
|
|
56974
|
+
IsOptional88(),
|
|
56969
56975
|
IsArray274({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
56970
56976
|
ValidateNested451({ each: true }),
|
|
56971
56977
|
Type522(() => FavoritoDTO2),
|
|
@@ -56974,7 +56980,7 @@ __decorateClass([
|
|
|
56974
56980
|
|
|
56975
56981
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
56976
56982
|
import { Expose as Expose858, Transform as Transform129 } from "class-transformer";
|
|
56977
|
-
import { IsDefined as IsDefined340, IsNotEmpty as IsNotEmpty479, IsOptional as
|
|
56983
|
+
import { IsDefined as IsDefined340, IsNotEmpty as IsNotEmpty479, IsOptional as IsOptional89, IsString as IsString712, MaxLength as MaxLength11 } from "class-validator";
|
|
56978
56984
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
56979
56985
|
var CreateWarehouseExitATCDto = class {
|
|
56980
56986
|
personalIdentification;
|
|
@@ -57009,14 +57015,14 @@ __decorateClass([
|
|
|
57009
57015
|
Expose858()
|
|
57010
57016
|
], CreateWarehouseExitATCDto.prototype, "movementCode", 2);
|
|
57011
57017
|
__decorateClass([
|
|
57012
|
-
|
|
57018
|
+
IsOptional89(),
|
|
57013
57019
|
IsString712({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
57014
57020
|
MaxLength11(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
57015
57021
|
Transform129(trimUpper),
|
|
57016
57022
|
Expose858()
|
|
57017
57023
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
57018
57024
|
__decorateClass([
|
|
57019
|
-
|
|
57025
|
+
IsOptional89(),
|
|
57020
57026
|
IsString712({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
57021
57027
|
MaxLength11(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
57022
57028
|
Transform129(trimUpper),
|
|
@@ -57025,7 +57031,7 @@ __decorateClass([
|
|
|
57025
57031
|
|
|
57026
57032
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
57027
57033
|
import { Expose as Expose859, Transform as Transform130, Type as Type523 } from "class-transformer";
|
|
57028
|
-
import { IsDefined as IsDefined341, IsNotEmpty as IsNotEmpty480, IsNumber as IsNumber546, IsOptional as
|
|
57034
|
+
import { IsDefined as IsDefined341, IsNotEmpty as IsNotEmpty480, IsNumber as IsNumber546, IsOptional as IsOptional90, IsString as IsString713, MaxLength as MaxLength12, Min as Min357 } from "class-validator";
|
|
57029
57035
|
var AddDetailWarehouseExitATCDto = class {
|
|
57030
57036
|
keyCode;
|
|
57031
57037
|
searchCode;
|
|
@@ -57052,7 +57058,7 @@ __decorateClass([
|
|
|
57052
57058
|
Expose859()
|
|
57053
57059
|
], AddDetailWarehouseExitATCDto.prototype, "quantity", 2);
|
|
57054
57060
|
__decorateClass([
|
|
57055
|
-
|
|
57061
|
+
IsOptional90(),
|
|
57056
57062
|
IsString713({ message: "Las notas deben ser una cadena de texto" }),
|
|
57057
57063
|
MaxLength12(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
57058
57064
|
Transform130(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
@@ -57067,7 +57073,7 @@ import {
|
|
|
57067
57073
|
IsDefined as IsDefined342,
|
|
57068
57074
|
IsNotEmpty as IsNotEmpty481,
|
|
57069
57075
|
IsNumber as IsNumber547,
|
|
57070
|
-
IsOptional as
|
|
57076
|
+
IsOptional as IsOptional91,
|
|
57071
57077
|
IsString as IsString714,
|
|
57072
57078
|
MaxLength as MaxLength13,
|
|
57073
57079
|
Min as Min358,
|
|
@@ -57116,7 +57122,7 @@ __decorateClass([
|
|
|
57116
57122
|
Expose860()
|
|
57117
57123
|
], ShiftTransferLineDto.prototype, "quantity", 2);
|
|
57118
57124
|
__decorateClass([
|
|
57119
|
-
|
|
57125
|
+
IsOptional91(),
|
|
57120
57126
|
IsArray275({ message: "Las series deben ser una lista" }),
|
|
57121
57127
|
IsString714({ each: true, message: "Cada serie debe ser una cadena de texto" }),
|
|
57122
57128
|
Expose860()
|
|
@@ -57135,7 +57141,7 @@ __decorateClass([
|
|
|
57135
57141
|
Expose860()
|
|
57136
57142
|
], CreateShiftTransferDto.prototype, "lines", 2);
|
|
57137
57143
|
__decorateClass([
|
|
57138
|
-
|
|
57144
|
+
IsOptional91(),
|
|
57139
57145
|
IsString714({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57140
57146
|
MaxLength13(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57141
57147
|
Transform131(trimUpper2),
|
|
@@ -57148,7 +57154,7 @@ import {
|
|
|
57148
57154
|
IsDefined as IsDefined343,
|
|
57149
57155
|
IsInt as IsInt2,
|
|
57150
57156
|
IsNumber as IsNumber548,
|
|
57151
|
-
IsOptional as
|
|
57157
|
+
IsOptional as IsOptional92,
|
|
57152
57158
|
IsString as IsString715,
|
|
57153
57159
|
MaxLength as MaxLength14,
|
|
57154
57160
|
Min as Min359
|
|
@@ -57167,7 +57173,7 @@ __decorateClass([
|
|
|
57167
57173
|
Expose861()
|
|
57168
57174
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57169
57175
|
__decorateClass([
|
|
57170
|
-
|
|
57176
|
+
IsOptional92(),
|
|
57171
57177
|
IsString715({ message: "La serie debe ser una cadena de texto" }),
|
|
57172
57178
|
Transform132(trim),
|
|
57173
57179
|
Expose861()
|
|
@@ -57180,7 +57186,7 @@ __decorateClass([
|
|
|
57180
57186
|
Expose861()
|
|
57181
57187
|
], AddInventorySomacylOrderDto.prototype, "cantidad", 2);
|
|
57182
57188
|
__decorateClass([
|
|
57183
|
-
|
|
57189
|
+
IsOptional92(),
|
|
57184
57190
|
IsString715({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
57185
57191
|
MaxLength14(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
57186
57192
|
Transform132(trim),
|
|
@@ -57214,7 +57220,7 @@ __decorateClass([
|
|
|
57214
57220
|
|
|
57215
57221
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
57216
57222
|
import { Expose as Expose863, Transform as Transform133, Type as Type526 } from "class-transformer";
|
|
57217
|
-
import { IsDefined as IsDefined345, IsInt as IsInt3, IsOptional as
|
|
57223
|
+
import { IsDefined as IsDefined345, IsInt as IsInt3, IsOptional as IsOptional93, IsString as IsString716 } from "class-validator";
|
|
57218
57224
|
var DeleteInventorySomacylOrderDto = class {
|
|
57219
57225
|
ID_Stock;
|
|
57220
57226
|
invsn;
|
|
@@ -57226,7 +57232,7 @@ __decorateClass([
|
|
|
57226
57232
|
Expose863()
|
|
57227
57233
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57228
57234
|
__decorateClass([
|
|
57229
|
-
|
|
57235
|
+
IsOptional93(),
|
|
57230
57236
|
IsString716({ message: "La serie debe ser una cadena de texto" }),
|
|
57231
57237
|
Transform133(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57232
57238
|
Expose863()
|
|
@@ -57234,7 +57240,7 @@ __decorateClass([
|
|
|
57234
57240
|
|
|
57235
57241
|
// src/v2/dtos/FinalizeSomacylOrder.ts
|
|
57236
57242
|
import { Expose as Expose864, Transform as Transform134 } from "class-transformer";
|
|
57237
|
-
import { IsDefined as IsDefined346, IsIn as IsIn11, IsNotEmpty as IsNotEmpty482, IsOptional as
|
|
57243
|
+
import { IsDefined as IsDefined346, IsIn as IsIn11, IsNotEmpty as IsNotEmpty482, IsOptional as IsOptional94, IsString as IsString717, MaxLength as MaxLength15, ValidateIf as ValidateIf12 } from "class-validator";
|
|
57238
57244
|
var estadosFinalizacion = ["Finalizada" /* FINALIZADA */, "No Finalizada" /* NO_FINALIZADA */];
|
|
57239
57245
|
var motivosNoFinalizado = Object.values(ReasonNoFinalizedSomacyl).filter((e) => e !== "" /* INICIAL */);
|
|
57240
57246
|
var trim2 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
@@ -57304,7 +57310,7 @@ __decorateClass([
|
|
|
57304
57310
|
Expose864()
|
|
57305
57311
|
], FinalizeSomacylOrderDto.prototype, "observaciones", 2);
|
|
57306
57312
|
__decorateClass([
|
|
57307
|
-
|
|
57313
|
+
IsOptional94(),
|
|
57308
57314
|
IsString717({ message: "El n\xFAmero de precinto debe ser una cadena de texto" }),
|
|
57309
57315
|
MaxLength15(50, { message: "El n\xFAmero de precinto no debe superar los 50 caracteres" }),
|
|
57310
57316
|
Transform134(trim2),
|
|
@@ -57313,7 +57319,7 @@ __decorateClass([
|
|
|
57313
57319
|
|
|
57314
57320
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
57315
57321
|
import { Expose as Expose865, Transform as Transform135 } from "class-transformer";
|
|
57316
|
-
import { IsDefined as IsDefined347, IsEnum as IsEnum67, IsOptional as
|
|
57322
|
+
import { IsDefined as IsDefined347, IsEnum as IsEnum67, IsOptional as IsOptional95, IsString as IsString718, MaxLength as MaxLength16 } from "class-validator";
|
|
57317
57323
|
var UploadFileSomacylOrderDto = class {
|
|
57318
57324
|
posicion;
|
|
57319
57325
|
observacion;
|
|
@@ -57326,7 +57332,7 @@ __decorateClass([
|
|
|
57326
57332
|
Expose865()
|
|
57327
57333
|
], UploadFileSomacylOrderDto.prototype, "posicion", 2);
|
|
57328
57334
|
__decorateClass([
|
|
57329
|
-
|
|
57335
|
+
IsOptional95(),
|
|
57330
57336
|
IsString718({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57331
57337
|
MaxLength16(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57332
57338
|
Transform135(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
@@ -57397,7 +57403,7 @@ __decorateClass([
|
|
|
57397
57403
|
|
|
57398
57404
|
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
57399
57405
|
import { Expose as Expose869, Type as Type528 } from "class-transformer";
|
|
57400
|
-
import { IsArray as IsArray277, IsDefined as IsDefined351, IsInt as IsInt6, IsOptional as
|
|
57406
|
+
import { IsArray as IsArray277, IsDefined as IsDefined351, IsInt as IsInt6, IsOptional as IsOptional96, Min as Min362, ValidateNested as ValidateNested454 } from "class-validator";
|
|
57401
57407
|
var CorrectRejectedValuationDto = class {
|
|
57402
57408
|
ID_Valorizacion = 0;
|
|
57403
57409
|
Anexos;
|
|
@@ -57409,7 +57415,7 @@ __decorateClass([
|
|
|
57409
57415
|
Expose869()
|
|
57410
57416
|
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
57411
57417
|
__decorateClass([
|
|
57412
|
-
|
|
57418
|
+
IsOptional96(),
|
|
57413
57419
|
IsArray277({ message: "Los anexos deben ser un arreglo" }),
|
|
57414
57420
|
Type528(() => FilesDocDTO),
|
|
57415
57421
|
ValidateNested454({ each: true }),
|
|
@@ -57426,7 +57432,7 @@ import {
|
|
|
57426
57432
|
IsInt as IsInt7,
|
|
57427
57433
|
IsNotEmpty as IsNotEmpty484,
|
|
57428
57434
|
IsNumber as IsNumber549,
|
|
57429
|
-
IsOptional as
|
|
57435
|
+
IsOptional as IsOptional97,
|
|
57430
57436
|
IsString as IsString720,
|
|
57431
57437
|
Length as Length353,
|
|
57432
57438
|
Min as Min363,
|
|
@@ -57480,12 +57486,12 @@ __decorateClass([
|
|
|
57480
57486
|
Expose870()
|
|
57481
57487
|
], PreLiquidateMaterialDto.prototype, "Cantidad", 2);
|
|
57482
57488
|
__decorateClass([
|
|
57483
|
-
|
|
57489
|
+
IsOptional97(),
|
|
57484
57490
|
IsNumber549({}, { message: "La cantidad informada debe ser un n\xFAmero" }),
|
|
57485
57491
|
Expose870()
|
|
57486
57492
|
], PreLiquidateMaterialDto.prototype, "CantidadInformada", 2);
|
|
57487
57493
|
__decorateClass([
|
|
57488
|
-
|
|
57494
|
+
IsOptional97(),
|
|
57489
57495
|
IsNumber549({}, { message: "El ID del stock personal debe ser un n\xFAmero" }),
|
|
57490
57496
|
Expose870()
|
|
57491
57497
|
], PreLiquidateMaterialDto.prototype, "ID_StockPersonal", 2);
|
|
@@ -57496,7 +57502,7 @@ __decorateClass([
|
|
|
57496
57502
|
Expose870()
|
|
57497
57503
|
], PreLiquidateMaterialDto.prototype, "UnidadMedida", 2);
|
|
57498
57504
|
__decorateClass([
|
|
57499
|
-
|
|
57505
|
+
IsOptional97(),
|
|
57500
57506
|
Type529(() => CodigoDescripcionDTO),
|
|
57501
57507
|
ValidateNested455(),
|
|
57502
57508
|
Expose870()
|
|
@@ -57524,7 +57530,7 @@ __decorateClass([
|
|
|
57524
57530
|
Expose870()
|
|
57525
57531
|
], PreLiquidateLineDto.prototype, "Cantidad", 2);
|
|
57526
57532
|
__decorateClass([
|
|
57527
|
-
|
|
57533
|
+
IsOptional97(),
|
|
57528
57534
|
IsIn14(BAREMO_SUBCONTRATA_TYPES, { message: `El tipo de baremo debe ser uno de: ${BAREMO_SUBCONTRATA_TYPES.join(", ")}` }),
|
|
57529
57535
|
Expose870()
|
|
57530
57536
|
], PreLiquidateLineDto.prototype, "TipoBaremoSubcontrata", 2);
|
|
@@ -57597,7 +57603,7 @@ __decorateClass([
|
|
|
57597
57603
|
Expose870()
|
|
57598
57604
|
], PreLiquidateValuationDto.prototype, "Tipo", 2);
|
|
57599
57605
|
__decorateClass([
|
|
57600
|
-
|
|
57606
|
+
IsOptional97(),
|
|
57601
57607
|
IsInt7({ message: "El ID de la valorizaci\xF3n rechazada debe ser un n\xFAmero entero" }),
|
|
57602
57608
|
Min363(1, { message: "El ID de la valorizaci\xF3n rechazada no es v\xE1lido" }),
|
|
57603
57609
|
Expose870()
|
|
@@ -57624,7 +57630,7 @@ import {
|
|
|
57624
57630
|
IsDefined as IsDefined353,
|
|
57625
57631
|
IsNotEmpty as IsNotEmpty485,
|
|
57626
57632
|
IsNumber as IsNumber550,
|
|
57627
|
-
IsOptional as
|
|
57633
|
+
IsOptional as IsOptional98,
|
|
57628
57634
|
IsString as IsString721,
|
|
57629
57635
|
Matches as Matches6,
|
|
57630
57636
|
Min as Min364,
|
|
@@ -57677,7 +57683,7 @@ __decorateClass([
|
|
|
57677
57683
|
Expose871()
|
|
57678
57684
|
], PreLiquidateValuationCHILE9512Dto.prototype, "ID_Operacion", 2);
|
|
57679
57685
|
__decorateClass([
|
|
57680
|
-
|
|
57686
|
+
IsOptional98(),
|
|
57681
57687
|
IsString721({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57682
57688
|
Matches6(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57683
57689
|
Expose871()
|
|
@@ -57690,31 +57696,181 @@ __decorateClass([
|
|
|
57690
57696
|
Expose871()
|
|
57691
57697
|
], PreLiquidateValuationCHILE9512Dto.prototype, "Lineas", 2);
|
|
57692
57698
|
|
|
57699
|
+
// src/v2/dtos/PreLiquidateValuationCOLOMBIA9612.ts
|
|
57700
|
+
import { Expose as Expose872, Transform as Transform139, Type as Type531 } from "class-transformer";
|
|
57701
|
+
import {
|
|
57702
|
+
ArrayMinSize as ArrayMinSize7,
|
|
57703
|
+
IsArray as IsArray280,
|
|
57704
|
+
IsDefined as IsDefined354,
|
|
57705
|
+
IsInt as IsInt8,
|
|
57706
|
+
IsNotEmpty as IsNotEmpty486,
|
|
57707
|
+
IsNumber as IsNumber551,
|
|
57708
|
+
IsOptional as IsOptional99,
|
|
57709
|
+
IsPositive,
|
|
57710
|
+
IsString as IsString722,
|
|
57711
|
+
Matches as Matches7,
|
|
57712
|
+
Min as Min365,
|
|
57713
|
+
ValidateNested as ValidateNested457
|
|
57714
|
+
} from "class-validator";
|
|
57715
|
+
var trim5 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
57716
|
+
var PreLiquidateSubMOCOLOMBIA9612Dto = class {
|
|
57717
|
+
Codigo = "";
|
|
57718
|
+
Cantidad = 0;
|
|
57719
|
+
};
|
|
57720
|
+
__decorateClass([
|
|
57721
|
+
Transform139(trim5),
|
|
57722
|
+
IsDefined354({ message: "Seleccione una Sub MO" }),
|
|
57723
|
+
IsString722({ message: "Seleccione una Sub MO" }),
|
|
57724
|
+
IsNotEmpty486({ message: "Seleccione una Sub MO" }),
|
|
57725
|
+
Expose872()
|
|
57726
|
+
], PreLiquidateSubMOCOLOMBIA9612Dto.prototype, "Codigo", 2);
|
|
57727
|
+
__decorateClass([
|
|
57728
|
+
Type531(() => Number),
|
|
57729
|
+
IsDefined354({ message: "Ingrese la cantidad de la Sub MO" }),
|
|
57730
|
+
IsInt8({ message: "La cantidad de la Sub MO debe ser un n\xFAmero entero" }),
|
|
57731
|
+
IsPositive({ message: "La cantidad de la Sub MO debe ser mayor a 0" }),
|
|
57732
|
+
Expose872()
|
|
57733
|
+
], PreLiquidateSubMOCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57734
|
+
var PreLiquidateInstalledMaterialCOLOMBIA9612Dto = class {
|
|
57735
|
+
ID_StockPersonal = 0;
|
|
57736
|
+
Cantidad = 0;
|
|
57737
|
+
};
|
|
57738
|
+
__decorateClass([
|
|
57739
|
+
Type531(() => Number),
|
|
57740
|
+
IsDefined354({ message: "Seleccione un material" }),
|
|
57741
|
+
IsNumber551({}, { message: "Seleccione un material" }),
|
|
57742
|
+
Min365(1, { message: "Seleccione un material" }),
|
|
57743
|
+
Expose872()
|
|
57744
|
+
], PreLiquidateInstalledMaterialCOLOMBIA9612Dto.prototype, "ID_StockPersonal", 2);
|
|
57745
|
+
__decorateClass([
|
|
57746
|
+
Type531(() => Number),
|
|
57747
|
+
IsDefined354({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57748
|
+
IsNumber551({}, { message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57749
|
+
IsPositive({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57750
|
+
Expose872()
|
|
57751
|
+
], PreLiquidateInstalledMaterialCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57752
|
+
var PreLiquidateRemovedMaterialCOLOMBIA9612Dto = class {
|
|
57753
|
+
Codigo = "";
|
|
57754
|
+
Cantidad = 0;
|
|
57755
|
+
};
|
|
57756
|
+
__decorateClass([
|
|
57757
|
+
Transform139(trim5),
|
|
57758
|
+
IsDefined354({ message: "Seleccione un material" }),
|
|
57759
|
+
IsString722({ message: "Seleccione un material" }),
|
|
57760
|
+
IsNotEmpty486({ message: "Seleccione un material" }),
|
|
57761
|
+
Expose872()
|
|
57762
|
+
], PreLiquidateRemovedMaterialCOLOMBIA9612Dto.prototype, "Codigo", 2);
|
|
57763
|
+
__decorateClass([
|
|
57764
|
+
Type531(() => Number),
|
|
57765
|
+
IsDefined354({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57766
|
+
IsNumber551({}, { message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57767
|
+
IsPositive({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57768
|
+
Expose872()
|
|
57769
|
+
], PreLiquidateRemovedMaterialCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57770
|
+
var PreLiquidateLineCOLOMBIA9612Dto = class {
|
|
57771
|
+
LineaCodigoCub = "";
|
|
57772
|
+
CantidadMO = 0;
|
|
57773
|
+
SubManoObra = [];
|
|
57774
|
+
MaterialesInstalados = [];
|
|
57775
|
+
MaterialesRetirados = [];
|
|
57776
|
+
Anexos = [];
|
|
57777
|
+
};
|
|
57778
|
+
__decorateClass([
|
|
57779
|
+
Transform139(trim5),
|
|
57780
|
+
IsDefined354({ message: "Seleccione una Valorizacion" }),
|
|
57781
|
+
IsString722({ message: "Seleccione una Valorizacion" }),
|
|
57782
|
+
IsNotEmpty486({ message: "Seleccione una Valorizacion" }),
|
|
57783
|
+
Expose872()
|
|
57784
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "LineaCodigoCub", 2);
|
|
57785
|
+
__decorateClass([
|
|
57786
|
+
Type531(() => Number),
|
|
57787
|
+
IsDefined354({ message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57788
|
+
IsNumber551({}, { message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57789
|
+
Min365(0, { message: "Ingrese una cantidad MO a Preliquidar mayor o igual a 0" }),
|
|
57790
|
+
Expose872()
|
|
57791
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "CantidadMO", 2);
|
|
57792
|
+
__decorateClass([
|
|
57793
|
+
IsArray280({ message: "La Sub MO debe ser un arreglo" }),
|
|
57794
|
+
Type531(() => PreLiquidateSubMOCOLOMBIA9612Dto),
|
|
57795
|
+
ValidateNested457({ each: true }),
|
|
57796
|
+
Expose872()
|
|
57797
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "SubManoObra", 2);
|
|
57798
|
+
__decorateClass([
|
|
57799
|
+
IsArray280({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
57800
|
+
Type531(() => PreLiquidateInstalledMaterialCOLOMBIA9612Dto),
|
|
57801
|
+
ValidateNested457({ each: true }),
|
|
57802
|
+
Expose872()
|
|
57803
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesInstalados", 2);
|
|
57804
|
+
__decorateClass([
|
|
57805
|
+
IsArray280({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
57806
|
+
Type531(() => PreLiquidateRemovedMaterialCOLOMBIA9612Dto),
|
|
57807
|
+
ValidateNested457({ each: true }),
|
|
57808
|
+
Expose872()
|
|
57809
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesRetirados", 2);
|
|
57810
|
+
__decorateClass([
|
|
57811
|
+
IsArray280({ message: "Los anexos deben ser un arreglo" }),
|
|
57812
|
+
Type531(() => FilesDocDTO),
|
|
57813
|
+
ValidateNested457({ each: true }),
|
|
57814
|
+
Expose872()
|
|
57815
|
+
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "Anexos", 2);
|
|
57816
|
+
var PreLiquidateValuationCOLOMBIA9612Dto = class {
|
|
57817
|
+
ID_Operacion = "";
|
|
57818
|
+
CodigoParteDiario;
|
|
57819
|
+
ID_ValorizacionRechazadaMetraje;
|
|
57820
|
+
Lineas = [];
|
|
57821
|
+
};
|
|
57822
|
+
__decorateClass([
|
|
57823
|
+
Transform139(trim5),
|
|
57824
|
+
IsDefined354({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57825
|
+
IsString722({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
57826
|
+
IsNotEmpty486({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57827
|
+
Expose872()
|
|
57828
|
+
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_Operacion", 2);
|
|
57829
|
+
__decorateClass([
|
|
57830
|
+
IsOptional99(),
|
|
57831
|
+
IsString722({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57832
|
+
Matches7(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57833
|
+
Expose872()
|
|
57834
|
+
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "CodigoParteDiario", 2);
|
|
57835
|
+
__decorateClass([
|
|
57836
|
+
IsOptional99(),
|
|
57837
|
+
Type531(() => Number),
|
|
57838
|
+
IsNumber551({}, { message: "La valorizaci\xF3n rechazada debe ser un n\xFAmero" }),
|
|
57839
|
+
Expose872()
|
|
57840
|
+
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
57841
|
+
__decorateClass([
|
|
57842
|
+
IsArray280({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57843
|
+
ArrayMinSize7(1, { message: "No ha agregado ninguna Valorizaci\xF3n." }),
|
|
57844
|
+
Type531(() => PreLiquidateLineCOLOMBIA9612Dto),
|
|
57845
|
+
ValidateNested457({ each: true }),
|
|
57846
|
+
Expose872()
|
|
57847
|
+
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "Lineas", 2);
|
|
57848
|
+
|
|
57693
57849
|
// src/v2/dtos/ChangeJobState.ts
|
|
57694
|
-
import { Expose as
|
|
57695
|
-
import { IsDefined as
|
|
57850
|
+
import { Expose as Expose873 } from "class-transformer";
|
|
57851
|
+
import { IsDefined as IsDefined355, IsIn as IsIn15 } from "class-validator";
|
|
57696
57852
|
var ChangeJobStateDto = class {
|
|
57697
57853
|
type = "OC";
|
|
57698
57854
|
};
|
|
57699
57855
|
__decorateClass([
|
|
57700
|
-
|
|
57856
|
+
IsDefined355({ message: "El tipo de cierre es requerido" }),
|
|
57701
57857
|
IsIn15(HOME_PASS_STATE_TYPES, { message: `El tipo de cierre debe ser uno de: ${HOME_PASS_STATE_TYPES.join(", ")}` }),
|
|
57702
|
-
|
|
57858
|
+
Expose873()
|
|
57703
57859
|
], ChangeJobStateDto.prototype, "type", 2);
|
|
57704
57860
|
|
|
57705
57861
|
// src/v2/dtos/SaveDailyReport.ts
|
|
57706
|
-
import { Expose as
|
|
57862
|
+
import { Expose as Expose874, Type as Type532 } from "class-transformer";
|
|
57707
57863
|
import {
|
|
57708
|
-
ArrayMinSize as
|
|
57709
|
-
IsArray as
|
|
57864
|
+
ArrayMinSize as ArrayMinSize8,
|
|
57865
|
+
IsArray as IsArray281,
|
|
57710
57866
|
IsDate as IsDate200,
|
|
57711
|
-
IsDefined as
|
|
57712
|
-
IsString as
|
|
57867
|
+
IsDefined as IsDefined356,
|
|
57868
|
+
IsString as IsString723,
|
|
57713
57869
|
Length as Length354,
|
|
57714
|
-
Matches as
|
|
57870
|
+
Matches as Matches8,
|
|
57715
57871
|
MaxLength as MaxLength17,
|
|
57716
57872
|
MinLength as MinLength63,
|
|
57717
|
-
ValidateNested as
|
|
57873
|
+
ValidateNested as ValidateNested458
|
|
57718
57874
|
} from "class-validator";
|
|
57719
57875
|
var SaveDailyReportPhotoDto = class {
|
|
57720
57876
|
Ruta = "";
|
|
@@ -57723,26 +57879,26 @@ var SaveDailyReportPhotoDto = class {
|
|
|
57723
57879
|
Fecha = /* @__PURE__ */ new Date();
|
|
57724
57880
|
};
|
|
57725
57881
|
__decorateClass([
|
|
57726
|
-
|
|
57727
|
-
|
|
57882
|
+
IsDefined356({ message: "La ruta de la foto es requerida" }),
|
|
57883
|
+
IsString723({ message: "La ruta de la foto debe ser un texto" }),
|
|
57728
57884
|
Length354(1, 500, { message: "La ruta de la foto debe tener entre 1 y 500 caracteres" }),
|
|
57729
|
-
|
|
57885
|
+
Expose874()
|
|
57730
57886
|
], SaveDailyReportPhotoDto.prototype, "Ruta", 2);
|
|
57731
57887
|
__decorateClass([
|
|
57732
|
-
|
|
57733
|
-
|
|
57888
|
+
IsDefined356({ message: "El nombre de la foto es requerido" }),
|
|
57889
|
+
IsString723({ message: "El nombre de la foto debe ser un texto" }),
|
|
57734
57890
|
Length354(1, 500, { message: "El nombre de la foto debe tener entre 1 y 500 caracteres" }),
|
|
57735
|
-
|
|
57891
|
+
Expose874()
|
|
57736
57892
|
], SaveDailyReportPhotoDto.prototype, "img", 2);
|
|
57737
57893
|
__decorateClass([
|
|
57738
|
-
|
|
57739
|
-
|
|
57740
|
-
|
|
57894
|
+
Type532(() => CoordenadasDTO),
|
|
57895
|
+
ValidateNested458(),
|
|
57896
|
+
Expose874()
|
|
57741
57897
|
], SaveDailyReportPhotoDto.prototype, "Coordenadas", 2);
|
|
57742
57898
|
__decorateClass([
|
|
57743
|
-
|
|
57899
|
+
Type532(() => Date),
|
|
57744
57900
|
IsDate200({ message: "La fecha de la foto no es v\xE1lida" }),
|
|
57745
|
-
|
|
57901
|
+
Expose874()
|
|
57746
57902
|
], SaveDailyReportPhotoDto.prototype, "Fecha", 2);
|
|
57747
57903
|
var SaveDailyReportDto = class {
|
|
57748
57904
|
Codigo = "";
|
|
@@ -57751,49 +57907,49 @@ var SaveDailyReportDto = class {
|
|
|
57751
57907
|
Fotos = [];
|
|
57752
57908
|
};
|
|
57753
57909
|
__decorateClass([
|
|
57754
|
-
|
|
57755
|
-
|
|
57756
|
-
|
|
57910
|
+
IsDefined356({ message: "El c\xF3digo del parte diario es requerido" }),
|
|
57911
|
+
Matches8(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57912
|
+
Expose874()
|
|
57757
57913
|
], SaveDailyReportDto.prototype, "Codigo", 2);
|
|
57758
57914
|
__decorateClass([
|
|
57759
|
-
|
|
57760
|
-
|
|
57915
|
+
IsDefined356({ message: "Ingrese una Novedad (al menos 5 caracteres)" }),
|
|
57916
|
+
IsString723({ message: "La novedad debe ser un texto" }),
|
|
57761
57917
|
MinLength63(5, { message: "Debe tener al menos 5 caracteres" }),
|
|
57762
57918
|
MaxLength17(300, { message: "La novedad debe tener como m\xE1ximo 300 caracteres" }),
|
|
57763
|
-
|
|
57764
|
-
|
|
57919
|
+
Matches8(/^[a-zA-Z0-9 ñÑ.]*$/, { message: "S\xF3lo se permiten letras, n\xFAmeros, espacios y puntos" }),
|
|
57920
|
+
Expose874()
|
|
57765
57921
|
], SaveDailyReportDto.prototype, "Novedad", 2);
|
|
57766
57922
|
__decorateClass([
|
|
57767
|
-
|
|
57768
|
-
|
|
57769
|
-
|
|
57923
|
+
IsArray281({ message: "El personal debe ser un arreglo" }),
|
|
57924
|
+
IsString723({ each: true, message: "Cada personal debe ser una identificaci\xF3n" }),
|
|
57925
|
+
Expose874()
|
|
57770
57926
|
], SaveDailyReportDto.prototype, "Personal", 2);
|
|
57771
57927
|
__decorateClass([
|
|
57772
|
-
|
|
57773
|
-
|
|
57774
|
-
|
|
57775
|
-
|
|
57776
|
-
|
|
57928
|
+
IsArray281({ message: "Las fotos deben ser un arreglo" }),
|
|
57929
|
+
ArrayMinSize8(2, { message: "Fotos es requerido. Al menos debe adjuntar dos fotos." }),
|
|
57930
|
+
Type532(() => SaveDailyReportPhotoDto),
|
|
57931
|
+
ValidateNested458({ each: true }),
|
|
57932
|
+
Expose874()
|
|
57777
57933
|
], SaveDailyReportDto.prototype, "Fotos", 2);
|
|
57778
57934
|
|
|
57779
57935
|
// src/v2/dtos/SearchJobWorkOrder.ts
|
|
57780
|
-
import { Expose as
|
|
57781
|
-
import { IsDefined as
|
|
57936
|
+
import { Expose as Expose875, Transform as Transform140 } from "class-transformer";
|
|
57937
|
+
import { IsDefined as IsDefined357, IsString as IsString724, Matches as Matches9, MinLength as MinLength64 } from "class-validator";
|
|
57782
57938
|
var SearchJobWorkOrderDto = class {
|
|
57783
57939
|
OrdenTrabajo = "";
|
|
57784
57940
|
};
|
|
57785
57941
|
__decorateClass([
|
|
57786
|
-
|
|
57787
|
-
|
|
57788
|
-
|
|
57942
|
+
Transform140(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57943
|
+
IsDefined357({ message: "Ingrese una Orden de Trabajo" }),
|
|
57944
|
+
IsString724({ message: "Ingrese una Orden de Trabajo" }),
|
|
57789
57945
|
MinLength64(5, { message: "Orden de Trabajo debe tener al menos 5 caracteres" }),
|
|
57790
|
-
|
|
57791
|
-
|
|
57946
|
+
Matches9(/^[a-zA-Z0-9\s-]+$/, { message: "Orden de Trabajo solo puede contener letras, n\xFAmeros, guiones y espacios" }),
|
|
57947
|
+
Expose875()
|
|
57792
57948
|
], SearchJobWorkOrderDto.prototype, "OrdenTrabajo", 2);
|
|
57793
57949
|
|
|
57794
57950
|
// src/v2/dtos/SearchDateRange.ts
|
|
57795
|
-
import { Expose as
|
|
57796
|
-
import { IsDateString, IsNotEmpty as
|
|
57951
|
+
import { Expose as Expose876 } from "class-transformer";
|
|
57952
|
+
import { IsDateString, IsNotEmpty as IsNotEmpty487, registerDecorator as registerDecorator3 } from "class-validator";
|
|
57797
57953
|
function IsNotAfter(property, validationOptions) {
|
|
57798
57954
|
return function(object, propertyName) {
|
|
57799
57955
|
registerDecorator3({
|
|
@@ -57836,38 +57992,38 @@ var SearchDateRangeDto = class {
|
|
|
57836
57992
|
to;
|
|
57837
57993
|
};
|
|
57838
57994
|
__decorateClass([
|
|
57839
|
-
|
|
57995
|
+
IsNotEmpty487({ message: "La fecha desde es requerida" }),
|
|
57840
57996
|
IsDateString({}, { message: "La fecha desde no es v\xE1lida" }),
|
|
57841
57997
|
IsNotAfter("to", { message: "La fecha desde no puede ser mayor a la fecha hasta" }),
|
|
57842
|
-
|
|
57998
|
+
Expose876()
|
|
57843
57999
|
], SearchDateRangeDto.prototype, "from", 2);
|
|
57844
58000
|
__decorateClass([
|
|
57845
|
-
|
|
58001
|
+
IsNotEmpty487({ message: "La fecha hasta es requerida" }),
|
|
57846
58002
|
IsDateString({}, { message: "La fecha hasta no es v\xE1lida" }),
|
|
57847
58003
|
MaxDaysFrom("from", MAX_SEARCH_RANGE_DAYS, { message: `El rango no puede superar las 2 semanas (${MAX_SEARCH_RANGE_DAYS} d\xEDas)` }),
|
|
57848
|
-
|
|
58004
|
+
Expose876()
|
|
57849
58005
|
], SearchDateRangeDto.prototype, "to", 2);
|
|
57850
58006
|
|
|
57851
58007
|
// src/v2/entities/Delegation.ts
|
|
57852
|
-
import { Expose as
|
|
57853
|
-
import { IsDefined as
|
|
58008
|
+
import { Expose as Expose878 } from "class-transformer";
|
|
58009
|
+
import { IsDefined as IsDefined359, IsNotEmpty as IsNotEmpty488, IsString as IsString725, IsUUID as IsUUID42 } from "class-validator";
|
|
57854
58010
|
|
|
57855
58011
|
// src/v2/entities/Base.ts
|
|
57856
|
-
import { Expose as
|
|
57857
|
-
import { IsBoolean as
|
|
58012
|
+
import { Expose as Expose877 } from "class-transformer";
|
|
58013
|
+
import { IsBoolean as IsBoolean89, IsDefined as IsDefined358, IsUUID as IsUUID41 } from "class-validator";
|
|
57858
58014
|
var BaseEntity = class {
|
|
57859
58015
|
_id;
|
|
57860
58016
|
active;
|
|
57861
58017
|
};
|
|
57862
58018
|
__decorateClass([
|
|
57863
|
-
|
|
58019
|
+
IsDefined358({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
57864
58020
|
IsUUID41("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
57865
|
-
|
|
58021
|
+
Expose877()
|
|
57866
58022
|
], BaseEntity.prototype, "_id", 2);
|
|
57867
58023
|
__decorateClass([
|
|
57868
|
-
|
|
57869
|
-
|
|
57870
|
-
|
|
58024
|
+
IsDefined358({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58025
|
+
IsBoolean89({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58026
|
+
Expose877()
|
|
57871
58027
|
], BaseEntity.prototype, "active", 2);
|
|
57872
58028
|
|
|
57873
58029
|
// src/v2/entities/Delegation.ts
|
|
@@ -57877,26 +58033,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
57877
58033
|
name;
|
|
57878
58034
|
};
|
|
57879
58035
|
__decorateClass([
|
|
57880
|
-
|
|
58036
|
+
IsDefined359({ message: "El campo pais es obligatorio" }),
|
|
57881
58037
|
IsUUID42("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
57882
|
-
|
|
58038
|
+
Expose878()
|
|
57883
58039
|
], DelegationEntity.prototype, "countryId", 2);
|
|
57884
58040
|
__decorateClass([
|
|
57885
|
-
|
|
57886
|
-
|
|
57887
|
-
|
|
57888
|
-
|
|
58041
|
+
IsDefined359({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58042
|
+
IsString725({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58043
|
+
IsNotEmpty488({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58044
|
+
Expose878()
|
|
57889
58045
|
], DelegationEntity.prototype, "code", 2);
|
|
57890
58046
|
__decorateClass([
|
|
57891
|
-
|
|
57892
|
-
|
|
57893
|
-
|
|
57894
|
-
|
|
58047
|
+
IsDefined359({ message: "El campo nombre es obligatorio." }),
|
|
58048
|
+
IsString725({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58049
|
+
IsNotEmpty488({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58050
|
+
Expose878()
|
|
57895
58051
|
], DelegationEntity.prototype, "name", 2);
|
|
57896
58052
|
|
|
57897
58053
|
// src/v2/entities/User.ts
|
|
57898
|
-
import { IsArray as
|
|
57899
|
-
import { Expose as
|
|
58054
|
+
import { IsArray as IsArray282, IsBoolean as IsBoolean90, IsDefined as IsDefined360, IsEmail as IsEmail14, IsString as IsString726, IsUUID as IsUUID43, ValidateIf as ValidateIf13, ValidateNested as ValidateNested459 } from "class-validator";
|
|
58055
|
+
import { Expose as Expose879, Transform as Transform141, Type as Type533 } from "class-transformer";
|
|
57900
58056
|
var UserEntity = class extends BaseEntity {
|
|
57901
58057
|
email;
|
|
57902
58058
|
password;
|
|
@@ -57911,126 +58067,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
57911
58067
|
resourceSystem;
|
|
57912
58068
|
};
|
|
57913
58069
|
__decorateClass([
|
|
57914
|
-
|
|
58070
|
+
IsDefined360({ message: "El correo es requerido" }),
|
|
57915
58071
|
IsEmail14({}, { message: "El correo es invalido" }),
|
|
57916
|
-
|
|
57917
|
-
|
|
58072
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
58073
|
+
Expose879()
|
|
57918
58074
|
], UserEntity.prototype, "email", 2);
|
|
57919
58075
|
__decorateClass([
|
|
57920
|
-
|
|
57921
|
-
|
|
57922
|
-
|
|
57923
|
-
|
|
58076
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58077
|
+
IsDefined360({ message: "La contrase\xF1a es requerida" }),
|
|
58078
|
+
IsString726({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
58079
|
+
Expose879()
|
|
57924
58080
|
], UserEntity.prototype, "password", 2);
|
|
57925
58081
|
__decorateClass([
|
|
57926
|
-
|
|
57927
|
-
|
|
57928
|
-
|
|
57929
|
-
|
|
58082
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58083
|
+
IsDefined360({ message: "El apellido paterno es requerido" }),
|
|
58084
|
+
IsString726({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
58085
|
+
Expose879()
|
|
57930
58086
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
57931
58087
|
__decorateClass([
|
|
57932
|
-
|
|
57933
|
-
|
|
57934
|
-
|
|
57935
|
-
|
|
58088
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58089
|
+
IsDefined360({ message: "El apellido materno es requerido" }),
|
|
58090
|
+
IsString726({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
58091
|
+
Expose879()
|
|
57936
58092
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
57937
58093
|
__decorateClass([
|
|
57938
|
-
|
|
57939
|
-
|
|
57940
|
-
|
|
57941
|
-
|
|
58094
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58095
|
+
IsDefined360({ message: "El nombre es requerido" }),
|
|
58096
|
+
IsString726({ message: "El nombre debe ser una cadena de texto" }),
|
|
58097
|
+
Expose879()
|
|
57942
58098
|
], UserEntity.prototype, "firstNames", 2);
|
|
57943
58099
|
__decorateClass([
|
|
57944
|
-
|
|
57945
|
-
|
|
57946
|
-
|
|
57947
|
-
|
|
58100
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58101
|
+
IsDefined360({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
58102
|
+
IsString726({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
58103
|
+
Expose879()
|
|
57948
58104
|
], UserEntity.prototype, "identification", 2);
|
|
57949
58105
|
__decorateClass([
|
|
57950
|
-
|
|
57951
|
-
|
|
57952
|
-
|
|
57953
|
-
|
|
57954
|
-
|
|
58106
|
+
IsDefined360({ message: "El campo empresas es requerido" }),
|
|
58107
|
+
IsArray282({ message: "El campo empresas debe ser un array" }),
|
|
58108
|
+
Type533(() => CompanyDto),
|
|
58109
|
+
ValidateNested459({ each: true }),
|
|
58110
|
+
Expose879()
|
|
57955
58111
|
], UserEntity.prototype, "companies", 2);
|
|
57956
58112
|
__decorateClass([
|
|
57957
|
-
|
|
57958
|
-
|
|
58113
|
+
IsDefined360({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58114
|
+
IsArray282({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
57959
58115
|
IsUUID43("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
57960
|
-
|
|
58116
|
+
Expose879()
|
|
57961
58117
|
], UserEntity.prototype, "delegationIds", 2);
|
|
57962
58118
|
__decorateClass([
|
|
57963
|
-
|
|
57964
|
-
|
|
57965
|
-
|
|
58119
|
+
IsDefined360({ message: 'La propiedad "root" es obligatoria.' }),
|
|
58120
|
+
IsBoolean90({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
58121
|
+
Expose879()
|
|
57966
58122
|
], UserEntity.prototype, "root", 2);
|
|
57967
58123
|
__decorateClass([
|
|
57968
|
-
|
|
58124
|
+
IsDefined360({ message: "El campo Perfil es obligatorio" }),
|
|
57969
58125
|
ValidateIf13((_, value) => value !== ""),
|
|
57970
58126
|
IsUUID43("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
57971
|
-
|
|
58127
|
+
Expose879()
|
|
57972
58128
|
], UserEntity.prototype, "profileId", 2);
|
|
57973
58129
|
__decorateClass([
|
|
57974
|
-
|
|
57975
|
-
|
|
57976
|
-
|
|
57977
|
-
|
|
57978
|
-
|
|
58130
|
+
IsDefined360({ message: "Resurso sistema es obligatoria" }),
|
|
58131
|
+
Type533(() => ResourceSystemDto),
|
|
58132
|
+
ValidateNested459({ each: true }),
|
|
58133
|
+
IsArray282({ message: "Recurso sistema debe ser un array" }),
|
|
58134
|
+
Expose879()
|
|
57979
58135
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
57980
58136
|
|
|
57981
58137
|
// src/v2/entities/Profile.ts
|
|
57982
|
-
import { Expose as
|
|
57983
|
-
import { IsArray as
|
|
58138
|
+
import { Expose as Expose880, Transform as Transform142 } from "class-transformer";
|
|
58139
|
+
import { IsArray as IsArray283, IsDefined as IsDefined361, IsString as IsString727, Length as Length355, MinLength as MinLength65 } from "class-validator";
|
|
57984
58140
|
var ProfileEntity = class extends BaseEntity {
|
|
57985
58141
|
name;
|
|
57986
58142
|
description;
|
|
57987
58143
|
systemOptions;
|
|
57988
58144
|
};
|
|
57989
58145
|
__decorateClass([
|
|
57990
|
-
|
|
57991
|
-
|
|
57992
|
-
|
|
58146
|
+
IsDefined361({ message: "El campo nombre es requerido" }),
|
|
58147
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58148
|
+
IsString727({ message: "debe ser una cadena de texto" }),
|
|
57993
58149
|
Length355(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
57994
|
-
|
|
58150
|
+
Expose880()
|
|
57995
58151
|
], ProfileEntity.prototype, "name", 2);
|
|
57996
58152
|
__decorateClass([
|
|
57997
|
-
|
|
57998
|
-
|
|
57999
|
-
|
|
58153
|
+
IsDefined361({ message: "El campo descripci\xF3n es requerido" }),
|
|
58154
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58155
|
+
IsString727({ message: "debe ser una cadena de texto" }),
|
|
58000
58156
|
Length355(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
58001
|
-
|
|
58157
|
+
Expose880()
|
|
58002
58158
|
], ProfileEntity.prototype, "description", 2);
|
|
58003
58159
|
__decorateClass([
|
|
58004
|
-
|
|
58005
|
-
|
|
58006
|
-
|
|
58160
|
+
IsDefined361({ message: "El campo opciones de sistema es requerido" }),
|
|
58161
|
+
IsArray283({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
58162
|
+
IsString727({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
58007
58163
|
MinLength65(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
58008
|
-
|
|
58164
|
+
Expose880()
|
|
58009
58165
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
58010
58166
|
|
|
58011
58167
|
// src/v2/entities/Country.ts
|
|
58012
|
-
import { Expose as
|
|
58013
|
-
import { IsDefined as
|
|
58168
|
+
import { Expose as Expose881 } from "class-transformer";
|
|
58169
|
+
import { IsDefined as IsDefined362, IsNotEmpty as IsNotEmpty489, IsString as IsString728 } from "class-validator";
|
|
58014
58170
|
var CountryEntity = class extends BaseEntity {
|
|
58015
58171
|
code;
|
|
58016
58172
|
name;
|
|
58017
58173
|
};
|
|
58018
58174
|
__decorateClass([
|
|
58019
|
-
|
|
58020
|
-
|
|
58021
|
-
|
|
58022
|
-
|
|
58175
|
+
IsDefined362({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58176
|
+
IsString728({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58177
|
+
IsNotEmpty489({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58178
|
+
Expose881()
|
|
58023
58179
|
], CountryEntity.prototype, "code", 2);
|
|
58024
58180
|
__decorateClass([
|
|
58025
|
-
|
|
58026
|
-
|
|
58027
|
-
|
|
58028
|
-
|
|
58181
|
+
IsDefined362({ message: "El campo nombre es obligatorio." }),
|
|
58182
|
+
IsString728({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58183
|
+
IsNotEmpty489({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58184
|
+
Expose881()
|
|
58029
58185
|
], CountryEntity.prototype, "name", 2);
|
|
58030
58186
|
|
|
58031
58187
|
// src/v2/entities/Company.ts
|
|
58032
|
-
import { Expose as
|
|
58033
|
-
import { IsArray as
|
|
58188
|
+
import { Expose as Expose882 } from "class-transformer";
|
|
58189
|
+
import { IsArray as IsArray284, IsBoolean as IsBoolean91, IsDefined as IsDefined363, IsEmail as IsEmail15, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty490, IsString as IsString729, IsUUID as IsUUID44 } from "class-validator";
|
|
58034
58190
|
var CompanyEntity = class extends BaseEntity {
|
|
58035
58191
|
companyType;
|
|
58036
58192
|
identification;
|
|
@@ -58044,87 +58200,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
58044
58200
|
countryId;
|
|
58045
58201
|
};
|
|
58046
58202
|
__decorateClass([
|
|
58047
|
-
|
|
58203
|
+
IsDefined363({ message: "El tipo de empresa es requerido" }),
|
|
58048
58204
|
IsEnum68(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
58049
|
-
|
|
58205
|
+
Expose882()
|
|
58050
58206
|
], CompanyEntity.prototype, "companyType", 2);
|
|
58051
58207
|
__decorateClass([
|
|
58052
|
-
|
|
58053
|
-
|
|
58054
|
-
|
|
58055
|
-
|
|
58208
|
+
IsDefined363({ message: "La identificaci\xF3n es requerida" }),
|
|
58209
|
+
IsString729({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
58210
|
+
IsNotEmpty490({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
58211
|
+
Expose882()
|
|
58056
58212
|
], CompanyEntity.prototype, "identification", 2);
|
|
58057
58213
|
__decorateClass([
|
|
58058
|
-
|
|
58059
|
-
|
|
58060
|
-
|
|
58061
|
-
|
|
58214
|
+
IsDefined363({ message: "El c\xF3digo es requerido" }),
|
|
58215
|
+
IsString729({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
58216
|
+
IsNotEmpty490({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
58217
|
+
Expose882()
|
|
58062
58218
|
], CompanyEntity.prototype, "code", 2);
|
|
58063
58219
|
__decorateClass([
|
|
58064
|
-
|
|
58065
|
-
|
|
58066
|
-
|
|
58067
|
-
|
|
58220
|
+
IsDefined363({ message: "El nombre legal es requerido" }),
|
|
58221
|
+
IsString729({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
58222
|
+
IsNotEmpty490({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
58223
|
+
Expose882()
|
|
58068
58224
|
], CompanyEntity.prototype, "legalName", 2);
|
|
58069
58225
|
__decorateClass([
|
|
58070
|
-
|
|
58071
|
-
|
|
58072
|
-
|
|
58073
|
-
|
|
58226
|
+
IsDefined363({ message: "El nombre comercial es requerido" }),
|
|
58227
|
+
IsString729({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
58228
|
+
IsNotEmpty490({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
58229
|
+
Expose882()
|
|
58074
58230
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
58075
58231
|
__decorateClass([
|
|
58076
|
-
|
|
58077
|
-
|
|
58078
|
-
|
|
58232
|
+
IsDefined363({ message: "La propiedad es propia es requerida" }),
|
|
58233
|
+
IsBoolean91({ message: "La propiedad es propia debe ser un booleano" }),
|
|
58234
|
+
Expose882()
|
|
58079
58235
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
58080
58236
|
__decorateClass([
|
|
58081
|
-
|
|
58082
|
-
|
|
58083
|
-
|
|
58084
|
-
|
|
58237
|
+
IsDefined363({ message: "La direcci\xF3n es requerida" }),
|
|
58238
|
+
IsString729({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
58239
|
+
IsNotEmpty490({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
58240
|
+
Expose882()
|
|
58085
58241
|
], CompanyEntity.prototype, "address", 2);
|
|
58086
58242
|
__decorateClass([
|
|
58087
|
-
|
|
58088
|
-
|
|
58243
|
+
IsDefined363({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
58244
|
+
IsArray284({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
58089
58245
|
IsEmail15({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
58090
|
-
|
|
58246
|
+
Expose882()
|
|
58091
58247
|
], CompanyEntity.prototype, "emails", 2);
|
|
58092
58248
|
__decorateClass([
|
|
58093
|
-
|
|
58094
|
-
|
|
58095
|
-
|
|
58096
|
-
|
|
58097
|
-
|
|
58249
|
+
IsDefined363({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
58250
|
+
IsArray284({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
58251
|
+
IsString729({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
58252
|
+
IsNotEmpty490({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
58253
|
+
Expose882()
|
|
58098
58254
|
], CompanyEntity.prototype, "phones", 2);
|
|
58099
58255
|
__decorateClass([
|
|
58100
|
-
|
|
58256
|
+
IsDefined363({ message: "El campo pa\xEDs es requerido" }),
|
|
58101
58257
|
IsUUID44("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
58102
|
-
|
|
58258
|
+
Expose882()
|
|
58103
58259
|
], CompanyEntity.prototype, "countryId", 2);
|
|
58104
58260
|
|
|
58105
58261
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
58106
|
-
import { Expose as
|
|
58107
|
-
import { IsNumber as
|
|
58262
|
+
import { Expose as Expose884, Type as Type534 } from "class-transformer";
|
|
58263
|
+
import { IsNumber as IsNumber552, IsString as IsString731, ValidateNested as ValidateNested460, IsArray as IsArray285 } from "class-validator";
|
|
58108
58264
|
|
|
58109
58265
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
58110
|
-
import { Expose as
|
|
58111
|
-
import { IsString as
|
|
58266
|
+
import { Expose as Expose883 } from "class-transformer";
|
|
58267
|
+
import { IsString as IsString730 } from "class-validator";
|
|
58112
58268
|
var ThemeCountryManualDTO2 = class {
|
|
58113
58269
|
Codigo = "";
|
|
58114
58270
|
Delegacion = "";
|
|
58115
58271
|
Ruta = "";
|
|
58116
58272
|
};
|
|
58117
58273
|
__decorateClass([
|
|
58118
|
-
|
|
58119
|
-
|
|
58274
|
+
IsString730(),
|
|
58275
|
+
Expose883()
|
|
58120
58276
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
58121
58277
|
__decorateClass([
|
|
58122
|
-
|
|
58123
|
-
|
|
58278
|
+
IsString730(),
|
|
58279
|
+
Expose883()
|
|
58124
58280
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
58125
58281
|
__decorateClass([
|
|
58126
|
-
|
|
58127
|
-
|
|
58282
|
+
IsString730(),
|
|
58283
|
+
Expose883()
|
|
58128
58284
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
58129
58285
|
|
|
58130
58286
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -58139,46 +58295,46 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
58139
58295
|
Pais = new CodigoNombreDTO4();
|
|
58140
58296
|
};
|
|
58141
58297
|
__decorateClass([
|
|
58142
|
-
|
|
58143
|
-
|
|
58298
|
+
IsNumber552(),
|
|
58299
|
+
Expose884()
|
|
58144
58300
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
58145
58301
|
__decorateClass([
|
|
58146
|
-
|
|
58147
|
-
|
|
58302
|
+
IsString731(),
|
|
58303
|
+
Expose884()
|
|
58148
58304
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
58149
58305
|
__decorateClass([
|
|
58150
|
-
|
|
58151
|
-
|
|
58306
|
+
IsString731(),
|
|
58307
|
+
Expose884()
|
|
58152
58308
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
58153
58309
|
__decorateClass([
|
|
58154
|
-
|
|
58155
|
-
|
|
58310
|
+
IsString731(),
|
|
58311
|
+
Expose884()
|
|
58156
58312
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
58157
58313
|
__decorateClass([
|
|
58158
|
-
|
|
58159
|
-
|
|
58160
|
-
|
|
58314
|
+
ValidateNested460(),
|
|
58315
|
+
Type534(() => ImgLogoNavBarDTO2),
|
|
58316
|
+
Expose884()
|
|
58161
58317
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
58162
58318
|
__decorateClass([
|
|
58163
|
-
|
|
58164
|
-
|
|
58165
|
-
|
|
58166
|
-
|
|
58319
|
+
IsArray285(),
|
|
58320
|
+
Type534(() => ThemeCountryManualDTO2),
|
|
58321
|
+
ValidateNested460({ each: true }),
|
|
58322
|
+
Expose884()
|
|
58167
58323
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
58168
58324
|
__decorateClass([
|
|
58169
|
-
|
|
58170
|
-
|
|
58171
|
-
|
|
58325
|
+
ValidateNested460(),
|
|
58326
|
+
Type534(() => EstadoDTO2),
|
|
58327
|
+
Expose884()
|
|
58172
58328
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
58173
58329
|
__decorateClass([
|
|
58174
|
-
|
|
58175
|
-
|
|
58176
|
-
|
|
58330
|
+
ValidateNested460(),
|
|
58331
|
+
Type534(() => CodigoNombreDTO4),
|
|
58332
|
+
Expose884()
|
|
58177
58333
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
58178
58334
|
|
|
58179
58335
|
// src/v2/entities/ThemeConfigUser.ts
|
|
58180
|
-
import { Expose as
|
|
58181
|
-
import { IsNumber as
|
|
58336
|
+
import { Expose as Expose885, Type as Type535 } from "class-transformer";
|
|
58337
|
+
import { IsNumber as IsNumber553, IsString as IsString732, ValidateNested as ValidateNested461, IsArray as IsArray286, IsOptional as IsOptional100, IsDefined as IsDefined364, IsBoolean as IsBoolean92 } from "class-validator";
|
|
58182
58338
|
var ThemeConfigUserEntity = class {
|
|
58183
58339
|
_id;
|
|
58184
58340
|
active = true;
|
|
@@ -58190,42 +58346,42 @@ var ThemeConfigUserEntity = class {
|
|
|
58190
58346
|
Favoritos = [];
|
|
58191
58347
|
};
|
|
58192
58348
|
__decorateClass([
|
|
58193
|
-
|
|
58194
|
-
|
|
58349
|
+
IsOptional100(),
|
|
58350
|
+
Expose885()
|
|
58195
58351
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
58196
58352
|
__decorateClass([
|
|
58197
|
-
|
|
58198
|
-
|
|
58199
|
-
|
|
58353
|
+
IsDefined364({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58354
|
+
IsBoolean92({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58355
|
+
Expose885()
|
|
58200
58356
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
58201
58357
|
__decorateClass([
|
|
58202
|
-
|
|
58203
|
-
|
|
58358
|
+
IsNumber553(),
|
|
58359
|
+
Expose885()
|
|
58204
58360
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
58205
58361
|
__decorateClass([
|
|
58206
|
-
|
|
58207
|
-
|
|
58362
|
+
IsString732(),
|
|
58363
|
+
Expose885()
|
|
58208
58364
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
58209
58365
|
__decorateClass([
|
|
58210
|
-
|
|
58211
|
-
|
|
58366
|
+
IsString732(),
|
|
58367
|
+
Expose885()
|
|
58212
58368
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
58213
58369
|
__decorateClass([
|
|
58214
|
-
|
|
58215
|
-
|
|
58216
|
-
|
|
58370
|
+
IsOptional100(),
|
|
58371
|
+
IsString732(),
|
|
58372
|
+
Expose885()
|
|
58217
58373
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
58218
58374
|
__decorateClass([
|
|
58219
|
-
|
|
58220
|
-
|
|
58221
|
-
|
|
58375
|
+
ValidateNested461(),
|
|
58376
|
+
Type535(() => EstadoDTO2),
|
|
58377
|
+
Expose885()
|
|
58222
58378
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
58223
58379
|
__decorateClass([
|
|
58224
|
-
|
|
58225
|
-
|
|
58226
|
-
|
|
58227
|
-
|
|
58228
|
-
|
|
58380
|
+
IsOptional100(),
|
|
58381
|
+
IsArray286(),
|
|
58382
|
+
ValidateNested461({ each: true }),
|
|
58383
|
+
Type535(() => FavoritoDTO2),
|
|
58384
|
+
Expose885()
|
|
58229
58385
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
58230
58386
|
|
|
58231
58387
|
// src/v2/utils/validateCustom.ts
|
|
@@ -58919,12 +59075,17 @@ export {
|
|
|
58919
59075
|
PlantaPeru9112ClaroDTO,
|
|
58920
59076
|
PlantaSomacylDTO,
|
|
58921
59077
|
PreAcceptedDto,
|
|
59078
|
+
PreLiquidateInstalledMaterialCOLOMBIA9612Dto,
|
|
58922
59079
|
PreLiquidateLineCHILE9512Dto,
|
|
59080
|
+
PreLiquidateLineCOLOMBIA9612Dto,
|
|
58923
59081
|
PreLiquidateLineDto,
|
|
58924
59082
|
PreLiquidateMaterialDto,
|
|
58925
59083
|
PreLiquidateNewLaborDto,
|
|
59084
|
+
PreLiquidateRemovedMaterialCOLOMBIA9612Dto,
|
|
59085
|
+
PreLiquidateSubMOCOLOMBIA9612Dto,
|
|
58926
59086
|
PreLiquidateUnitDto,
|
|
58927
59087
|
PreLiquidateValuationCHILE9512Dto,
|
|
59088
|
+
PreLiquidateValuationCOLOMBIA9612Dto,
|
|
58928
59089
|
PreLiquidateValuationDto,
|
|
58929
59090
|
PrecioActualDTO,
|
|
58930
59091
|
PrecioAgencia_mam_onnetENTITY,
|