sigo-entities 1.2.285 → 1.2.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +118 -118
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30213,13 +30213,13 @@ var SolicitudDto = class {
|
|
|
30213
30213
|
Status = "";
|
|
30214
30214
|
};
|
|
30215
30215
|
__decorateClass([
|
|
30216
|
-
(0, import_class_validator531.
|
|
30216
|
+
(0, import_class_validator531.IsOptional)(),
|
|
30217
30217
|
(0, import_class_validator531.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
|
|
30218
30218
|
(0, import_class_validator531.Min)(0, { message: "el valor m\xEDnimo es 0" }),
|
|
30219
30219
|
(0, import_class_transformer543.Expose)()
|
|
30220
30220
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
30221
30221
|
__decorateClass([
|
|
30222
|
-
(0, import_class_validator531.
|
|
30222
|
+
(0, import_class_validator531.IsOptional)(),
|
|
30223
30223
|
(0, import_class_validator531.IsString)({ message: "debe ser texto" }),
|
|
30224
30224
|
(0, import_class_transformer543.Expose)()
|
|
30225
30225
|
], SolicitudDto.prototype, "Status", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -29578,7 +29578,7 @@ __decorateClass([
|
|
|
29578
29578
|
], IconoDto.prototype, "Status", 2);
|
|
29579
29579
|
|
|
29580
29580
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
29581
|
-
import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308, IsOptional as
|
|
29581
|
+
import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308, IsOptional as IsOptional34, IsNumber as IsNumber338, IsString as IsString420 } from "class-validator";
|
|
29582
29582
|
|
|
29583
29583
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
29584
29584
|
import { Expose as Expose526 } from "class-transformer";
|
|
@@ -29624,19 +29624,19 @@ __decorateClass([
|
|
|
29624
29624
|
|
|
29625
29625
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
29626
29626
|
import { Expose as Expose528 } from "class-transformer";
|
|
29627
|
-
import {
|
|
29627
|
+
import { IsNumber as IsNumber337, IsOptional as IsOptional33, IsString as IsString419, Min as Min265 } from "class-validator";
|
|
29628
29628
|
var SolicitudDto = class {
|
|
29629
29629
|
IdStatus = 0;
|
|
29630
29630
|
Status = "";
|
|
29631
29631
|
};
|
|
29632
29632
|
__decorateClass([
|
|
29633
|
-
|
|
29633
|
+
IsOptional33(),
|
|
29634
29634
|
IsNumber337({}, { message: "debe ser un n\xFAmero" }),
|
|
29635
29635
|
Min265(0, { message: "el valor m\xEDnimo es 0" }),
|
|
29636
29636
|
Expose528()
|
|
29637
29637
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
29638
29638
|
__decorateClass([
|
|
29639
|
-
|
|
29639
|
+
IsOptional33(),
|
|
29640
29640
|
IsString419({ message: "debe ser texto" }),
|
|
29641
29641
|
Expose528()
|
|
29642
29642
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -29656,56 +29656,56 @@ var StatuDto = class {
|
|
|
29656
29656
|
Status = "";
|
|
29657
29657
|
};
|
|
29658
29658
|
__decorateClass([
|
|
29659
|
-
|
|
29659
|
+
IsOptional34(),
|
|
29660
29660
|
Type346(() => NavDto),
|
|
29661
29661
|
ValidateNested308(),
|
|
29662
29662
|
Expose529()
|
|
29663
29663
|
], StatuDto.prototype, "Nav", 2);
|
|
29664
29664
|
__decorateClass([
|
|
29665
|
-
|
|
29665
|
+
IsOptional34(),
|
|
29666
29666
|
Type346(() => SolicitudDto),
|
|
29667
29667
|
ValidateNested308(),
|
|
29668
29668
|
Expose529()
|
|
29669
29669
|
], StatuDto.prototype, "Solicitud", 2);
|
|
29670
29670
|
__decorateClass([
|
|
29671
|
-
|
|
29671
|
+
IsOptional34(),
|
|
29672
29672
|
Type346(() => IconoDto),
|
|
29673
29673
|
ValidateNested308(),
|
|
29674
29674
|
Expose529()
|
|
29675
29675
|
], StatuDto.prototype, "Icono", 2);
|
|
29676
29676
|
__decorateClass([
|
|
29677
|
-
|
|
29677
|
+
IsOptional34(),
|
|
29678
29678
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29679
29679
|
Expose529()
|
|
29680
29680
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
29681
29681
|
__decorateClass([
|
|
29682
|
-
|
|
29682
|
+
IsOptional34(),
|
|
29683
29683
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29684
29684
|
Expose529()
|
|
29685
29685
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
29686
29686
|
__decorateClass([
|
|
29687
|
-
|
|
29687
|
+
IsOptional34(),
|
|
29688
29688
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29689
29689
|
Expose529()
|
|
29690
29690
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
29691
29691
|
__decorateClass([
|
|
29692
|
-
|
|
29692
|
+
IsOptional34(),
|
|
29693
29693
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29694
29694
|
Expose529()
|
|
29695
29695
|
], StatuDto.prototype, "PreOrden", 2);
|
|
29696
29696
|
__decorateClass([
|
|
29697
|
-
|
|
29697
|
+
IsOptional34(),
|
|
29698
29698
|
Type346(() => ProcedenciaDto),
|
|
29699
29699
|
ValidateNested308(),
|
|
29700
29700
|
Expose529()
|
|
29701
29701
|
], StatuDto.prototype, "Procedencia", 2);
|
|
29702
29702
|
__decorateClass([
|
|
29703
|
-
|
|
29703
|
+
IsOptional34(),
|
|
29704
29704
|
IsNumber338({}, { message: "debe ser un n\xFAmero" }),
|
|
29705
29705
|
Expose529()
|
|
29706
29706
|
], StatuDto.prototype, "IdStatus", 2);
|
|
29707
29707
|
__decorateClass([
|
|
29708
|
-
|
|
29708
|
+
IsOptional34(),
|
|
29709
29709
|
IsString420({ message: "debe ser texto" }),
|
|
29710
29710
|
Expose529()
|
|
29711
29711
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -29881,7 +29881,7 @@ __decorateClass([
|
|
|
29881
29881
|
|
|
29882
29882
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
29883
29883
|
import { Expose as Expose534, Type as Type351 } from "class-transformer";
|
|
29884
|
-
import { IsArray as IsArray183, IsOptional as
|
|
29884
|
+
import { IsArray as IsArray183, IsOptional as IsOptional35, ValidateNested as ValidateNested313 } from "class-validator";
|
|
29885
29885
|
|
|
29886
29886
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
29887
29887
|
import { Expose as Expose533 } from "class-transformer";
|
|
@@ -29949,35 +29949,35 @@ var FileDto = class {
|
|
|
29949
29949
|
Albaran = [];
|
|
29950
29950
|
};
|
|
29951
29951
|
__decorateClass([
|
|
29952
|
-
|
|
29952
|
+
IsOptional35(),
|
|
29953
29953
|
IsArray183({ message: "debe ser un array" }),
|
|
29954
29954
|
Type351(() => AnexoPreOrdenDto),
|
|
29955
29955
|
ValidateNested313({ each: true }),
|
|
29956
29956
|
Expose534()
|
|
29957
29957
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
29958
29958
|
__decorateClass([
|
|
29959
|
-
|
|
29959
|
+
IsOptional35(),
|
|
29960
29960
|
IsArray183({ message: "debe ser un array" }),
|
|
29961
29961
|
Type351(() => ComparativoDto),
|
|
29962
29962
|
ValidateNested313({ each: true }),
|
|
29963
29963
|
Expose534()
|
|
29964
29964
|
], FileDto.prototype, "Comparativo", 2);
|
|
29965
29965
|
__decorateClass([
|
|
29966
|
-
|
|
29966
|
+
IsOptional35(),
|
|
29967
29967
|
IsArray183({ message: "debe ser un array" }),
|
|
29968
29968
|
Type351(() => CotizacionDto),
|
|
29969
29969
|
ValidateNested313({ each: true }),
|
|
29970
29970
|
Expose534()
|
|
29971
29971
|
], FileDto.prototype, "Cotizacion", 2);
|
|
29972
29972
|
__decorateClass([
|
|
29973
|
-
|
|
29973
|
+
IsOptional35(),
|
|
29974
29974
|
IsArray183({ message: "debe ser un array" }),
|
|
29975
29975
|
Type351(() => PedidoCompraDto),
|
|
29976
29976
|
ValidateNested313({ each: true }),
|
|
29977
29977
|
Expose534()
|
|
29978
29978
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
29979
29979
|
__decorateClass([
|
|
29980
|
-
|
|
29980
|
+
IsOptional35(),
|
|
29981
29981
|
IsArray183({ message: "debe ser un array" }),
|
|
29982
29982
|
Type351(() => AlbaranDto),
|
|
29983
29983
|
ValidateNested313({ each: true }),
|
|
@@ -30019,7 +30019,7 @@ __decorateClass([
|
|
|
30019
30019
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
30020
30020
|
|
|
30021
30021
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
30022
|
-
import { IsArray as IsArray187, IsBoolean as IsBoolean49, IsDate as IsDate129, IsNotEmpty as IsNotEmpty387, IsNumber as IsNumber343, IsOptional as
|
|
30022
|
+
import { IsArray as IsArray187, IsBoolean as IsBoolean49, IsDate as IsDate129, IsNotEmpty as IsNotEmpty387, IsNumber as IsNumber343, IsOptional as IsOptional36, IsString as IsString431, Min as Min269, ValidateNested as ValidateNested317 } from "class-validator";
|
|
30023
30023
|
|
|
30024
30024
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
30025
30025
|
import { Expose as Expose536 } from "class-transformer";
|
|
@@ -30441,10 +30441,10 @@ __decorateClass([
|
|
|
30441
30441
|
Type355(() => AprobacionDto),
|
|
30442
30442
|
ValidateNested317(),
|
|
30443
30443
|
Expose541(),
|
|
30444
|
-
|
|
30444
|
+
IsOptional36()
|
|
30445
30445
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
30446
30446
|
__decorateClass([
|
|
30447
|
-
|
|
30447
|
+
IsOptional36(),
|
|
30448
30448
|
IsString431({ message: "debe ser texto" }),
|
|
30449
30449
|
Expose541()
|
|
30450
30450
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
@@ -30453,12 +30453,12 @@ __decorateClass([
|
|
|
30453
30453
|
Expose541()
|
|
30454
30454
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
30455
30455
|
__decorateClass([
|
|
30456
|
-
|
|
30456
|
+
IsOptional36(),
|
|
30457
30457
|
IsString431({ message: "debe ser texto" }),
|
|
30458
30458
|
Expose541()
|
|
30459
30459
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
30460
30460
|
__decorateClass([
|
|
30461
|
-
|
|
30461
|
+
IsOptional36(),
|
|
30462
30462
|
IsString431({ message: "debe ser texto" }),
|
|
30463
30463
|
Expose541()
|
|
30464
30464
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -30487,17 +30487,17 @@ __decorateClass([
|
|
|
30487
30487
|
Expose541()
|
|
30488
30488
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
30489
30489
|
__decorateClass([
|
|
30490
|
-
|
|
30490
|
+
IsOptional36(),
|
|
30491
30491
|
Type355(() => TipoCompraDto),
|
|
30492
30492
|
ValidateNested317(),
|
|
30493
30493
|
Expose541()
|
|
30494
30494
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
30495
30495
|
__decorateClass([
|
|
30496
|
-
|
|
30496
|
+
IsOptional36(),
|
|
30497
30497
|
Expose541()
|
|
30498
30498
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
30499
30499
|
__decorateClass([
|
|
30500
|
-
|
|
30500
|
+
IsOptional36(),
|
|
30501
30501
|
IsBoolean49({ message: "debe ser true o false" }),
|
|
30502
30502
|
Expose541()
|
|
30503
30503
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
@@ -30507,84 +30507,84 @@ __decorateClass([
|
|
|
30507
30507
|
Expose541()
|
|
30508
30508
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
30509
30509
|
__decorateClass([
|
|
30510
|
-
|
|
30510
|
+
IsOptional36(),
|
|
30511
30511
|
Type355(() => FlujoDto),
|
|
30512
30512
|
ValidateNested317(),
|
|
30513
30513
|
Expose541()
|
|
30514
30514
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
30515
30515
|
__decorateClass([
|
|
30516
|
-
|
|
30516
|
+
IsOptional36(),
|
|
30517
30517
|
Type355(() => DatosNavDto),
|
|
30518
30518
|
ValidateNested317(),
|
|
30519
30519
|
Expose541()
|
|
30520
30520
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
30521
30521
|
__decorateClass([
|
|
30522
|
-
|
|
30522
|
+
IsOptional36(),
|
|
30523
30523
|
IsArray187({ message: "debe ser un array" }),
|
|
30524
30524
|
Expose541()
|
|
30525
30525
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
30526
30526
|
__decorateClass([
|
|
30527
|
-
|
|
30527
|
+
IsOptional36(),
|
|
30528
30528
|
Expose541()
|
|
30529
30529
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
30530
30530
|
__decorateClass([
|
|
30531
|
-
|
|
30531
|
+
IsOptional36(),
|
|
30532
30532
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30533
30533
|
Expose541()
|
|
30534
30534
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
30535
30535
|
__decorateClass([
|
|
30536
|
-
|
|
30536
|
+
IsOptional36(),
|
|
30537
30537
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30538
30538
|
Expose541()
|
|
30539
30539
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
30540
30540
|
__decorateClass([
|
|
30541
|
-
|
|
30541
|
+
IsOptional36(),
|
|
30542
30542
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30543
30543
|
Expose541()
|
|
30544
30544
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
30545
30545
|
__decorateClass([
|
|
30546
|
-
|
|
30546
|
+
IsOptional36(),
|
|
30547
30547
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
30548
30548
|
IsDate129({ message: "debe ser una fecha" }),
|
|
30549
30549
|
Type355(() => Date),
|
|
30550
30550
|
Expose541()
|
|
30551
30551
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
30552
30552
|
__decorateClass([
|
|
30553
|
-
|
|
30553
|
+
IsOptional36(),
|
|
30554
30554
|
IsString431({ message: "debe ser texto" }),
|
|
30555
30555
|
Expose541()
|
|
30556
30556
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
30557
30557
|
__decorateClass([
|
|
30558
|
-
|
|
30558
|
+
IsOptional36(),
|
|
30559
30559
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
30560
30560
|
IsDate129({ message: "debe ser una fecha" }),
|
|
30561
30561
|
Type355(() => Date),
|
|
30562
30562
|
Expose541()
|
|
30563
30563
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
30564
30564
|
__decorateClass([
|
|
30565
|
-
|
|
30565
|
+
IsOptional36(),
|
|
30566
30566
|
IsString431({ message: "debe ser texto" }),
|
|
30567
30567
|
Expose541()
|
|
30568
30568
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
30569
30569
|
__decorateClass([
|
|
30570
|
-
|
|
30570
|
+
IsOptional36(),
|
|
30571
30571
|
Expose541()
|
|
30572
30572
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
30573
30573
|
__decorateClass([
|
|
30574
|
-
|
|
30574
|
+
IsOptional36(),
|
|
30575
30575
|
Type355(() => EnviarNavDto),
|
|
30576
30576
|
ValidateNested317(),
|
|
30577
30577
|
Expose541()
|
|
30578
30578
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
30579
30579
|
__decorateClass([
|
|
30580
|
-
|
|
30580
|
+
IsOptional36(),
|
|
30581
30581
|
IsArray187({ message: "debe ser un array" }),
|
|
30582
30582
|
Type355(() => MovimientosRecepcionDto),
|
|
30583
30583
|
ValidateNested317({ each: true }),
|
|
30584
30584
|
Expose541()
|
|
30585
30585
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
30586
30586
|
__decorateClass([
|
|
30587
|
-
|
|
30587
|
+
IsOptional36(),
|
|
30588
30588
|
IsBoolean49({ message: "debe ser true o false" }),
|
|
30589
30589
|
Expose541()
|
|
30590
30590
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
@@ -30944,7 +30944,7 @@ import {
|
|
|
30944
30944
|
IsDefined as IsDefined153,
|
|
30945
30945
|
IsNotEmpty as IsNotEmpty393,
|
|
30946
30946
|
IsNumber as IsNumber346,
|
|
30947
|
-
IsOptional as
|
|
30947
|
+
IsOptional as IsOptional37,
|
|
30948
30948
|
IsString as IsString438,
|
|
30949
30949
|
Length as Length267,
|
|
30950
30950
|
Min as Min271,
|
|
@@ -31023,7 +31023,7 @@ __decorateClass([
|
|
|
31023
31023
|
IsString438({ message: "debe ser un texto" }),
|
|
31024
31024
|
Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
31025
31025
|
Expose549(),
|
|
31026
|
-
|
|
31026
|
+
IsOptional37()
|
|
31027
31027
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
31028
31028
|
__decorateClass([
|
|
31029
31029
|
IsString438({ message: "debe ser un texto" }),
|
|
@@ -31506,7 +31506,7 @@ __decorateClass([
|
|
|
31506
31506
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
31507
31507
|
|
|
31508
31508
|
// src/configuracion/empresa/shared/index.ts
|
|
31509
|
-
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty402, IsNumber as IsNumber355, IsOptional as
|
|
31509
|
+
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty402, IsNumber as IsNumber355, IsOptional as IsOptional38, IsString as IsString449, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
|
|
31510
31510
|
var EmpresaENTITY = class {
|
|
31511
31511
|
ID_Empresa = 0;
|
|
31512
31512
|
Pais = new CodigoNombreDTO();
|
|
@@ -31619,7 +31619,7 @@ __decorateClass([
|
|
|
31619
31619
|
Type367(() => DatosGIADTO),
|
|
31620
31620
|
IsNotEmpty402({ message: "es requerido" }),
|
|
31621
31621
|
Expose560(),
|
|
31622
|
-
|
|
31622
|
+
IsOptional38(),
|
|
31623
31623
|
ValidateNested328()
|
|
31624
31624
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
31625
31625
|
__decorateClass([
|
|
@@ -32960,7 +32960,7 @@ import {
|
|
|
32960
32960
|
ValidateNested as ValidateNested341,
|
|
32961
32961
|
IsDate as IsDate140,
|
|
32962
32962
|
Length as Length302,
|
|
32963
|
-
IsOptional as
|
|
32963
|
+
IsOptional as IsOptional41,
|
|
32964
32964
|
IsArray as IsArray200
|
|
32965
32965
|
} from "class-validator";
|
|
32966
32966
|
|
|
@@ -33032,7 +33032,7 @@ __decorateClass([
|
|
|
33032
33032
|
|
|
33033
33033
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
33034
33034
|
import { Expose as Expose586, Transform as Transform76 } from "class-transformer";
|
|
33035
|
-
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty422, IsNumber as IsNumber370, IsOptional as
|
|
33035
|
+
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty422, IsNumber as IsNumber370, IsOptional as IsOptional40, IsString as IsString474, Length as Length299, Min as Min293 } from "class-validator";
|
|
33036
33036
|
var InventarioValDTO = class {
|
|
33037
33037
|
Descripcion = "";
|
|
33038
33038
|
LoteSAP = "";
|
|
@@ -33046,13 +33046,13 @@ var InventarioValDTO = class {
|
|
|
33046
33046
|
};
|
|
33047
33047
|
__decorateClass([
|
|
33048
33048
|
IsString474({ message: "debe ser un texto" }),
|
|
33049
|
-
|
|
33049
|
+
IsOptional40(),
|
|
33050
33050
|
Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
33051
33051
|
Expose586()
|
|
33052
33052
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
33053
33053
|
__decorateClass([
|
|
33054
33054
|
IsString474({ message: "debe ser un texto" }),
|
|
33055
|
-
|
|
33055
|
+
IsOptional40(),
|
|
33056
33056
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
33057
33057
|
Expose586()
|
|
33058
33058
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -33064,7 +33064,7 @@ __decorateClass([
|
|
|
33064
33064
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
33065
33065
|
__decorateClass([
|
|
33066
33066
|
IsString474({ message: "debe ser un texto" }),
|
|
33067
|
-
|
|
33067
|
+
IsOptional40(),
|
|
33068
33068
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
33069
33069
|
Expose586()
|
|
33070
33070
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -33073,7 +33073,7 @@ __decorateClass([
|
|
|
33073
33073
|
Transform76(({ value }) => value ? String(value) : value),
|
|
33074
33074
|
Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
33075
33075
|
Expose586(),
|
|
33076
|
-
|
|
33076
|
+
IsOptional40()
|
|
33077
33077
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
33078
33078
|
__decorateClass([
|
|
33079
33079
|
IsNumber370({}, { message: "debe ser un numero" }),
|
|
@@ -33092,7 +33092,7 @@ __decorateClass([
|
|
|
33092
33092
|
__decorateClass([
|
|
33093
33093
|
IsString474({ message: "debe ser un texto" }),
|
|
33094
33094
|
Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33095
|
-
|
|
33095
|
+
IsOptional40(),
|
|
33096
33096
|
Expose586()
|
|
33097
33097
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
33098
33098
|
|
|
@@ -33223,14 +33223,14 @@ __decorateClass([
|
|
|
33223
33223
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
33224
33224
|
__decorateClass([
|
|
33225
33225
|
IsString477({ message: "debe ser un texto" }),
|
|
33226
|
-
|
|
33226
|
+
IsOptional41(),
|
|
33227
33227
|
Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33228
33228
|
Expose589()
|
|
33229
33229
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
33230
33230
|
__decorateClass([
|
|
33231
33231
|
IsString477({ message: "debe ser un texto" }),
|
|
33232
33232
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33233
|
-
|
|
33233
|
+
IsOptional41(),
|
|
33234
33234
|
Expose589()
|
|
33235
33235
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
33236
33236
|
__decorateClass([
|
|
@@ -33255,7 +33255,7 @@ __decorateClass([
|
|
|
33255
33255
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
33256
33256
|
__decorateClass([
|
|
33257
33257
|
IsString477({ message: "debe ser un texto" }),
|
|
33258
|
-
|
|
33258
|
+
IsOptional41(),
|
|
33259
33259
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33260
33260
|
Expose589()
|
|
33261
33261
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -33273,12 +33273,12 @@ __decorateClass([
|
|
|
33273
33273
|
IsString477({ message: "debe ser un texto" }),
|
|
33274
33274
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33275
33275
|
Expose589(),
|
|
33276
|
-
|
|
33276
|
+
IsOptional41()
|
|
33277
33277
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
33278
33278
|
__decorateClass([
|
|
33279
33279
|
IsString477({ message: "debe ser un texto" }),
|
|
33280
33280
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33281
|
-
|
|
33281
|
+
IsOptional41(),
|
|
33282
33282
|
Expose589()
|
|
33283
33283
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
33284
33284
|
__decorateClass([
|
|
@@ -33394,7 +33394,7 @@ __decorateClass([
|
|
|
33394
33394
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
33395
33395
|
__decorateClass([
|
|
33396
33396
|
IsString477({ message: "debe ser un texto" }),
|
|
33397
|
-
|
|
33397
|
+
IsOptional41(),
|
|
33398
33398
|
Expose589()
|
|
33399
33399
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
33400
33400
|
__decorateClass([
|
|
@@ -33469,7 +33469,7 @@ __decorateClass([
|
|
|
33469
33469
|
|
|
33470
33470
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
33471
33471
|
import { Expose as Expose594, Type as Type386 } from "class-transformer";
|
|
33472
|
-
import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty430, IsNumber as IsNumber378, IsString as IsString482, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate142, IsOptional as
|
|
33472
|
+
import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty430, IsNumber as IsNumber378, IsString as IsString482, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate142, IsOptional as IsOptional42 } from "class-validator";
|
|
33473
33473
|
|
|
33474
33474
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
33475
33475
|
import { Expose as Expose590 } from "class-transformer";
|
|
@@ -33727,7 +33727,7 @@ __decorateClass([
|
|
|
33727
33727
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
33728
33728
|
__decorateClass([
|
|
33729
33729
|
IsString482({ message: "debe ser un texto" }),
|
|
33730
|
-
|
|
33730
|
+
IsOptional42(),
|
|
33731
33731
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33732
33732
|
Expose594()
|
|
33733
33733
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -36469,7 +36469,7 @@ __decorateClass([
|
|
|
36469
36469
|
|
|
36470
36470
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
36471
36471
|
import { Expose as Expose629 } from "class-transformer";
|
|
36472
|
-
import { IsNumber as IsNumber395, IsOptional as
|
|
36472
|
+
import { IsNumber as IsNumber395, IsOptional as IsOptional43, IsString as IsString513 } from "class-validator";
|
|
36473
36473
|
import "reflect-metadata";
|
|
36474
36474
|
var ValorizacionPeruTOADTO = class {
|
|
36475
36475
|
pbBase = 0;
|
|
@@ -36483,35 +36483,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
36483
36483
|
__decorateClass([
|
|
36484
36484
|
Expose629(),
|
|
36485
36485
|
IsNumber395(),
|
|
36486
|
-
|
|
36486
|
+
IsOptional43()
|
|
36487
36487
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
36488
36488
|
__decorateClass([
|
|
36489
36489
|
Expose629(),
|
|
36490
36490
|
IsNumber395(),
|
|
36491
|
-
|
|
36491
|
+
IsOptional43()
|
|
36492
36492
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
36493
36493
|
__decorateClass([
|
|
36494
36494
|
Expose629(),
|
|
36495
|
-
|
|
36495
|
+
IsOptional43()
|
|
36496
36496
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
36497
36497
|
__decorateClass([
|
|
36498
36498
|
Expose629(),
|
|
36499
|
-
|
|
36499
|
+
IsOptional43()
|
|
36500
36500
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
36501
36501
|
__decorateClass([
|
|
36502
36502
|
Expose629(),
|
|
36503
36503
|
IsString513(),
|
|
36504
|
-
|
|
36504
|
+
IsOptional43()
|
|
36505
36505
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
36506
36506
|
__decorateClass([
|
|
36507
36507
|
Expose629(),
|
|
36508
36508
|
IsString513(),
|
|
36509
|
-
|
|
36509
|
+
IsOptional43()
|
|
36510
36510
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
36511
36511
|
__decorateClass([
|
|
36512
36512
|
Expose629(),
|
|
36513
36513
|
IsString513(),
|
|
36514
|
-
|
|
36514
|
+
IsOptional43()
|
|
36515
36515
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
36516
36516
|
|
|
36517
36517
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -36557,7 +36557,7 @@ import "reflect-metadata";
|
|
|
36557
36557
|
|
|
36558
36558
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
36559
36559
|
import { Expose as Expose631, Type as Type400 } from "class-transformer";
|
|
36560
|
-
import { IsDate as IsDate149, IsNumber as IsNumber396, IsOptional as
|
|
36560
|
+
import { IsDate as IsDate149, IsNumber as IsNumber396, IsOptional as IsOptional44, IsString as IsString515, ValidateNested as ValidateNested351 } from "class-validator";
|
|
36561
36561
|
var AjusteReprocesoDTO = class {
|
|
36562
36562
|
PB;
|
|
36563
36563
|
MO;
|
|
@@ -36573,58 +36573,58 @@ var AjusteReprocesoDTO = class {
|
|
|
36573
36573
|
};
|
|
36574
36574
|
__decorateClass([
|
|
36575
36575
|
Expose631(),
|
|
36576
|
-
|
|
36576
|
+
IsOptional44(),
|
|
36577
36577
|
IsNumber396()
|
|
36578
36578
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
36579
36579
|
__decorateClass([
|
|
36580
36580
|
Expose631(),
|
|
36581
|
-
|
|
36581
|
+
IsOptional44(),
|
|
36582
36582
|
IsNumber396()
|
|
36583
36583
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
36584
36584
|
__decorateClass([
|
|
36585
36585
|
Expose631(),
|
|
36586
|
-
|
|
36586
|
+
IsOptional44(),
|
|
36587
36587
|
IsNumber396()
|
|
36588
36588
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
36589
36589
|
__decorateClass([
|
|
36590
36590
|
Expose631(),
|
|
36591
|
-
|
|
36591
|
+
IsOptional44(),
|
|
36592
36592
|
IsString515()
|
|
36593
36593
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
36594
36594
|
__decorateClass([
|
|
36595
36595
|
Expose631(),
|
|
36596
|
-
|
|
36596
|
+
IsOptional44(),
|
|
36597
36597
|
IsString515()
|
|
36598
36598
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
36599
36599
|
__decorateClass([
|
|
36600
36600
|
Expose631(),
|
|
36601
|
-
|
|
36601
|
+
IsOptional44(),
|
|
36602
36602
|
ValidateNested351(),
|
|
36603
36603
|
Type400(() => EECCDBTOADTO)
|
|
36604
36604
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
36605
36605
|
__decorateClass([
|
|
36606
36606
|
Expose631(),
|
|
36607
|
-
|
|
36607
|
+
IsOptional44(),
|
|
36608
36608
|
IsNumber396()
|
|
36609
36609
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
36610
36610
|
__decorateClass([
|
|
36611
36611
|
Expose631(),
|
|
36612
|
-
|
|
36612
|
+
IsOptional44(),
|
|
36613
36613
|
IsString515()
|
|
36614
36614
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
36615
36615
|
__decorateClass([
|
|
36616
36616
|
Expose631(),
|
|
36617
|
-
|
|
36617
|
+
IsOptional44(),
|
|
36618
36618
|
IsString515()
|
|
36619
36619
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
36620
36620
|
__decorateClass([
|
|
36621
36621
|
Expose631(),
|
|
36622
|
-
|
|
36622
|
+
IsOptional44(),
|
|
36623
36623
|
IsNumber396()
|
|
36624
36624
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
36625
36625
|
__decorateClass([
|
|
36626
36626
|
Expose631(),
|
|
36627
|
-
|
|
36627
|
+
IsOptional44(),
|
|
36628
36628
|
IsDate149(),
|
|
36629
36629
|
Type400(() => Date)
|
|
36630
36630
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -37722,7 +37722,7 @@ import { Expose as Expose648, Transform as Transform87, Type as Type405 } from "
|
|
|
37722
37722
|
|
|
37723
37723
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
37724
37724
|
import { Expose as Expose640, Transform as Transform83 } from "class-transformer";
|
|
37725
|
-
import { IsDate as IsDate152, IsDefined as IsDefined176, IsNumber as IsNumber402, IsOptional as
|
|
37725
|
+
import { IsDate as IsDate152, IsDefined as IsDefined176, IsNumber as IsNumber402, IsOptional as IsOptional46, IsString as IsString524 } from "class-validator";
|
|
37726
37726
|
|
|
37727
37727
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
37728
37728
|
function formatDateOnnetFibra(date) {
|
|
@@ -37788,13 +37788,13 @@ __decorateClass([
|
|
|
37788
37788
|
Expose640()
|
|
37789
37789
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
37790
37790
|
__decorateClass([
|
|
37791
|
-
|
|
37791
|
+
IsOptional46(),
|
|
37792
37792
|
Transform83(({ value }) => value ? String(value) : ""),
|
|
37793
37793
|
IsString524({ message: "El campo lt debe ser una cadena de texto" }),
|
|
37794
37794
|
Expose640()
|
|
37795
37795
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
37796
37796
|
__decorateClass([
|
|
37797
|
-
|
|
37797
|
+
IsOptional46(),
|
|
37798
37798
|
IsNumber402({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
37799
37799
|
Transform83(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37800
37800
|
Expose640()
|
|
@@ -37805,7 +37805,7 @@ __decorateClass([
|
|
|
37805
37805
|
Expose640()
|
|
37806
37806
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
37807
37807
|
__decorateClass([
|
|
37808
|
-
|
|
37808
|
+
IsOptional46(),
|
|
37809
37809
|
IsNumber402({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
37810
37810
|
Transform83(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37811
37811
|
Expose640()
|
|
@@ -37841,13 +37841,13 @@ __decorateClass([
|
|
|
37841
37841
|
Expose640()
|
|
37842
37842
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
37843
37843
|
__decorateClass([
|
|
37844
|
-
|
|
37844
|
+
IsOptional46(),
|
|
37845
37845
|
IsString524({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
37846
37846
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37847
37847
|
Expose640()
|
|
37848
37848
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
37849
37849
|
__decorateClass([
|
|
37850
|
-
|
|
37850
|
+
IsOptional46(),
|
|
37851
37851
|
IsString524({ message: "El campo olt debe ser una cadena de texto" }),
|
|
37852
37852
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37853
37853
|
Expose640()
|
|
@@ -37903,7 +37903,7 @@ __decorateClass([
|
|
|
37903
37903
|
Expose640()
|
|
37904
37904
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
37905
37905
|
__decorateClass([
|
|
37906
|
-
|
|
37906
|
+
IsOptional46(),
|
|
37907
37907
|
Transform83(({ value }) => formatDateOnnetFibra(value)),
|
|
37908
37908
|
IsDate152({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
37909
37909
|
Expose640()
|
|
@@ -37924,30 +37924,30 @@ __decorateClass([
|
|
|
37924
37924
|
Expose640()
|
|
37925
37925
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
37926
37926
|
__decorateClass([
|
|
37927
|
-
|
|
37927
|
+
IsOptional46(),
|
|
37928
37928
|
IsString524({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
37929
37929
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37930
37930
|
Expose640()
|
|
37931
37931
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
37932
37932
|
__decorateClass([
|
|
37933
|
-
|
|
37933
|
+
IsOptional46(),
|
|
37934
37934
|
IsString524({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
37935
37935
|
Expose640()
|
|
37936
37936
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
37937
37937
|
__decorateClass([
|
|
37938
|
-
|
|
37938
|
+
IsOptional46({ message: "El campo cliente es opcional" }),
|
|
37939
37939
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37940
37940
|
IsString524({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
37941
37941
|
Expose640()
|
|
37942
37942
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
37943
37943
|
__decorateClass([
|
|
37944
|
-
|
|
37944
|
+
IsOptional46({ message: "El campo comuna es opcional" }),
|
|
37945
37945
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37946
37946
|
IsString524({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
37947
37947
|
Expose640()
|
|
37948
37948
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
37949
37949
|
__decorateClass([
|
|
37950
|
-
|
|
37950
|
+
IsOptional46({ message: "El campo pep es opcional" }),
|
|
37951
37951
|
IsString524({ message: "El campo pep debe ser una cadena de texto" }),
|
|
37952
37952
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37953
37953
|
Expose640()
|
|
@@ -37957,38 +37957,38 @@ __decorateClass([
|
|
|
37957
37957
|
Expose640()
|
|
37958
37958
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
37959
37959
|
__decorateClass([
|
|
37960
|
-
|
|
37960
|
+
IsOptional46({ message: "El campo proyecto es opcional" }),
|
|
37961
37961
|
IsString524({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
37962
37962
|
Expose640()
|
|
37963
37963
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
37964
37964
|
__decorateClass([
|
|
37965
|
-
|
|
37965
|
+
IsOptional46({ message: "El campo producto es opcional" }),
|
|
37966
37966
|
IsString524({ message: "El campo producto debe ser una cadena de texto" }),
|
|
37967
37967
|
Expose640()
|
|
37968
37968
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
37969
37969
|
__decorateClass([
|
|
37970
|
-
|
|
37970
|
+
IsOptional46({ message: "El campo sub_tipo_orden es opcional" }),
|
|
37971
37971
|
IsString524({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
37972
37972
|
Expose640()
|
|
37973
37973
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
37974
37974
|
__decorateClass([
|
|
37975
|
-
|
|
37975
|
+
IsOptional46({ message: "El campo nombre_tecnico es opcional" }),
|
|
37976
37976
|
IsString524({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
37977
37977
|
Expose640()
|
|
37978
37978
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
37979
37979
|
__decorateClass([
|
|
37980
|
-
|
|
37980
|
+
IsOptional46(),
|
|
37981
37981
|
IsNumber402({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
37982
37982
|
Transform83(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
37983
37983
|
Expose640()
|
|
37984
37984
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
37985
37985
|
__decorateClass([
|
|
37986
|
-
|
|
37986
|
+
IsOptional46({ message: "El campo sintoma es opcional" }),
|
|
37987
37987
|
IsNumber402({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
37988
37988
|
Expose640()
|
|
37989
37989
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
37990
37990
|
__decorateClass([
|
|
37991
|
-
|
|
37991
|
+
IsOptional46({ message: "El campo mensaje_contingencia es opcional" }),
|
|
37992
37992
|
IsString524({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
37993
37993
|
Expose640()
|
|
37994
37994
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -38143,7 +38143,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
|
|
|
38143
38143
|
|
|
38144
38144
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
38145
38145
|
import { Expose as Expose643, Transform as Transform85, Type as Type403 } from "class-transformer";
|
|
38146
|
-
import { IsDefined as IsDefined179, IsNumber as IsNumber405, IsOptional as
|
|
38146
|
+
import { IsDefined as IsDefined179, IsNumber as IsNumber405, IsOptional as IsOptional47, IsString as IsString527 } from "class-validator";
|
|
38147
38147
|
var DetalleOrdenRealDTO = class {
|
|
38148
38148
|
descripcion = "";
|
|
38149
38149
|
tipo = "";
|
|
@@ -38190,7 +38190,7 @@ __decorateClass([
|
|
|
38190
38190
|
Expose643()
|
|
38191
38191
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
38192
38192
|
__decorateClass([
|
|
38193
|
-
|
|
38193
|
+
IsOptional47({ message: "El campo tecnico es requerido" }),
|
|
38194
38194
|
IsString527({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
38195
38195
|
Transform85(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38196
38196
|
Expose643()
|
|
@@ -38205,14 +38205,14 @@ __decorateClass([
|
|
|
38205
38205
|
Expose643()
|
|
38206
38206
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
38207
38207
|
__decorateClass([
|
|
38208
|
-
|
|
38208
|
+
IsOptional47({ message: "El campo contrato es opcional" }),
|
|
38209
38209
|
IsString527({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
38210
38210
|
Transform85(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38211
38211
|
Expose643()
|
|
38212
38212
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
38213
38213
|
__decorateClass([
|
|
38214
38214
|
Type403(() => CodigoNombreDTO),
|
|
38215
|
-
|
|
38215
|
+
IsOptional47(),
|
|
38216
38216
|
Transform85(({ value }) => value ?? new CodigoNombreDTO()),
|
|
38217
38217
|
Expose643()
|
|
38218
38218
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -41695,7 +41695,7 @@ __decorateClass([
|
|
|
41695
41695
|
|
|
41696
41696
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
41697
41697
|
import { Expose as Expose669, Type as Type421 } from "class-transformer";
|
|
41698
|
-
import { IsDate as IsDate166, IsDefined as IsDefined204, IsNumber as IsNumber429, IsOptional as
|
|
41698
|
+
import { IsDate as IsDate166, IsDefined as IsDefined204, IsNumber as IsNumber429, IsOptional as IsOptional49, IsString as IsString553 } from "class-validator";
|
|
41699
41699
|
var OrdenesInstalacionDTO = class {
|
|
41700
41700
|
EMPRESA = "";
|
|
41701
41701
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -41884,25 +41884,25 @@ __decorateClass([
|
|
|
41884
41884
|
__decorateClass([
|
|
41885
41885
|
Expose669(),
|
|
41886
41886
|
ForceString(),
|
|
41887
|
-
|
|
41887
|
+
IsOptional49(),
|
|
41888
41888
|
IsString553()
|
|
41889
41889
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
41890
41890
|
__decorateClass([
|
|
41891
41891
|
Expose669(),
|
|
41892
41892
|
ForceString(),
|
|
41893
|
-
|
|
41893
|
+
IsOptional49(),
|
|
41894
41894
|
IsString553()
|
|
41895
41895
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
41896
41896
|
__decorateClass([
|
|
41897
41897
|
Expose669(),
|
|
41898
41898
|
ForceString(),
|
|
41899
|
-
|
|
41899
|
+
IsOptional49(),
|
|
41900
41900
|
IsString553()
|
|
41901
41901
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
41902
41902
|
|
|
41903
41903
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
41904
41904
|
import { Expose as Expose670 } from "class-transformer";
|
|
41905
|
-
import { IsDefined as IsDefined205, IsNumber as IsNumber430, IsOptional as
|
|
41905
|
+
import { IsDefined as IsDefined205, IsNumber as IsNumber430, IsOptional as IsOptional50, IsString as IsString554 } from "class-validator";
|
|
41906
41906
|
var ReclamosDistribuidorDTO = class {
|
|
41907
41907
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
41908
41908
|
PERMISOR = 0;
|
|
@@ -42060,7 +42060,7 @@ __decorateClass([
|
|
|
42060
42060
|
__decorateClass([
|
|
42061
42061
|
Expose670(),
|
|
42062
42062
|
ForceString(),
|
|
42063
|
-
|
|
42063
|
+
IsOptional50(),
|
|
42064
42064
|
IsString554()
|
|
42065
42065
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
42066
42066
|
__decorateClass([
|
|
@@ -42521,7 +42521,7 @@ __decorateClass([
|
|
|
42521
42521
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
42522
42522
|
|
|
42523
42523
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
42524
|
-
import { IsDate as IsDate169, IsDefined as IsDefined208, IsNumber as IsNumber433, IsOptional as
|
|
42524
|
+
import { IsDate as IsDate169, IsDefined as IsDefined208, IsNumber as IsNumber433, IsOptional as IsOptional51, IsString as IsString557 } from "class-validator";
|
|
42525
42525
|
import { Expose as Expose673, Type as Type422 } from "class-transformer";
|
|
42526
42526
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
42527
42527
|
EMPRESA = "";
|
|
@@ -42711,19 +42711,19 @@ __decorateClass([
|
|
|
42711
42711
|
__decorateClass([
|
|
42712
42712
|
Expose673(),
|
|
42713
42713
|
ForceString(),
|
|
42714
|
-
|
|
42714
|
+
IsOptional51(),
|
|
42715
42715
|
IsString557()
|
|
42716
42716
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
42717
42717
|
__decorateClass([
|
|
42718
42718
|
Expose673(),
|
|
42719
42719
|
ForceString(),
|
|
42720
|
-
|
|
42720
|
+
IsOptional51(),
|
|
42721
42721
|
IsString557()
|
|
42722
42722
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
42723
42723
|
__decorateClass([
|
|
42724
42724
|
Expose673(),
|
|
42725
42725
|
ForceString(),
|
|
42726
|
-
|
|
42726
|
+
IsOptional51(),
|
|
42727
42727
|
IsString557()
|
|
42728
42728
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
42729
42729
|
|
|
@@ -43642,7 +43642,7 @@ __decorateClass([
|
|
|
43642
43642
|
|
|
43643
43643
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
43644
43644
|
import { Expose as Expose682 } from "class-transformer";
|
|
43645
|
-
import { IsNumber as IsNumber441, IsOptional as
|
|
43645
|
+
import { IsNumber as IsNumber441, IsOptional as IsOptional52 } from "class-validator";
|
|
43646
43646
|
import "reflect-metadata";
|
|
43647
43647
|
var ValorizacionSomacylDTO = class {
|
|
43648
43648
|
pbBase = 0;
|
|
@@ -43651,12 +43651,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
43651
43651
|
__decorateClass([
|
|
43652
43652
|
Expose682(),
|
|
43653
43653
|
IsNumber441(),
|
|
43654
|
-
|
|
43654
|
+
IsOptional52()
|
|
43655
43655
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
43656
43656
|
__decorateClass([
|
|
43657
43657
|
Expose682(),
|
|
43658
43658
|
IsNumber441(),
|
|
43659
|
-
|
|
43659
|
+
IsOptional52()
|
|
43660
43660
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
43661
43661
|
|
|
43662
43662
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|