sigo-entities 1.2.284 → 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 +4 -2
- package/dist/index.mjs +127 -125
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29478,10 +29478,12 @@ __decorateClass([
|
|
|
29478
29478
|
(0, import_class_transformer510.Expose)()
|
|
29479
29479
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
29480
29480
|
__decorateClass([
|
|
29481
|
+
(0, import_class_validator505.IsOptional)(),
|
|
29481
29482
|
(0, import_class_validator505.IsString)({ message: "debe ser texto" }),
|
|
29482
29483
|
(0, import_class_transformer510.Expose)()
|
|
29483
29484
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
29484
29485
|
__decorateClass([
|
|
29486
|
+
(0, import_class_validator505.IsOptional)(),
|
|
29485
29487
|
(0, import_class_validator505.IsString)({ message: "debe ser texto" }),
|
|
29486
29488
|
(0, import_class_transformer510.Expose)()
|
|
29487
29489
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
@@ -30211,13 +30213,13 @@ var SolicitudDto = class {
|
|
|
30211
30213
|
Status = "";
|
|
30212
30214
|
};
|
|
30213
30215
|
__decorateClass([
|
|
30214
|
-
(0, import_class_validator531.
|
|
30216
|
+
(0, import_class_validator531.IsOptional)(),
|
|
30215
30217
|
(0, import_class_validator531.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
|
|
30216
30218
|
(0, import_class_validator531.Min)(0, { message: "el valor m\xEDnimo es 0" }),
|
|
30217
30219
|
(0, import_class_transformer543.Expose)()
|
|
30218
30220
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
30219
30221
|
__decorateClass([
|
|
30220
|
-
(0, import_class_validator531.
|
|
30222
|
+
(0, import_class_validator531.IsOptional)(),
|
|
30221
30223
|
(0, import_class_validator531.IsString)({ message: "debe ser texto" }),
|
|
30222
30224
|
(0, import_class_transformer543.Expose)()
|
|
30223
30225
|
], SolicitudDto.prototype, "Status", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -28884,7 +28884,7 @@ __decorateClass([
|
|
|
28884
28884
|
|
|
28885
28885
|
// src/logistica/procesos/navisionpreorden/shared/dto/almacen-dto.ts
|
|
28886
28886
|
import { Expose as Expose502 } from "class-transformer";
|
|
28887
|
-
import { IsString as IsString395 } from "class-validator";
|
|
28887
|
+
import { IsOptional as IsOptional30, IsString as IsString395 } from "class-validator";
|
|
28888
28888
|
var AlmacenDto = class {
|
|
28889
28889
|
Codigo = "";
|
|
28890
28890
|
Almacen = "";
|
|
@@ -28895,10 +28895,12 @@ __decorateClass([
|
|
|
28895
28895
|
Expose502()
|
|
28896
28896
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
28897
28897
|
__decorateClass([
|
|
28898
|
+
IsOptional30(),
|
|
28898
28899
|
IsString395({ message: "debe ser texto" }),
|
|
28899
28900
|
Expose502()
|
|
28900
28901
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
28901
28902
|
__decorateClass([
|
|
28903
|
+
IsOptional30(),
|
|
28902
28904
|
IsString395({ message: "debe ser texto" }),
|
|
28903
28905
|
Expose502()
|
|
28904
28906
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
@@ -29012,7 +29014,7 @@ __decorateClass([
|
|
|
29012
29014
|
|
|
29013
29015
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
29014
29016
|
import { Expose as Expose521, Type as Type343 } from "class-transformer";
|
|
29015
|
-
import { IsNotEmpty as IsNotEmpty368, IsOptional as
|
|
29017
|
+
import { IsNotEmpty as IsNotEmpty368, IsOptional as IsOptional32, ValidateNested as ValidateNested305 } from "class-validator";
|
|
29016
29018
|
|
|
29017
29019
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
29018
29020
|
import { Expose as Expose508 } from "class-transformer";
|
|
@@ -29091,7 +29093,7 @@ __decorateClass([
|
|
|
29091
29093
|
], FechaEntregaDto.prototype, "Date", 2);
|
|
29092
29094
|
|
|
29093
29095
|
// src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
|
|
29094
|
-
import { IsArray as IsArray178, IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty365, IsNumber as IsNumber333, IsOptional as
|
|
29096
|
+
import { IsArray as IsArray178, IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty365, IsNumber as IsNumber333, IsOptional as IsOptional31, IsString as IsString408, ValidateNested as ValidateNested302 } from "class-validator";
|
|
29095
29097
|
|
|
29096
29098
|
// src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
|
|
29097
29099
|
import { Expose as Expose510 } from "class-transformer";
|
|
@@ -29310,12 +29312,12 @@ __decorateClass([
|
|
|
29310
29312
|
Expose516()
|
|
29311
29313
|
], ProductoDto.prototype, "IGV", 2);
|
|
29312
29314
|
__decorateClass([
|
|
29313
|
-
|
|
29315
|
+
IsOptional31(),
|
|
29314
29316
|
IsBoolean45({ message: "debe ser true o false" }),
|
|
29315
29317
|
Expose516()
|
|
29316
29318
|
], ProductoDto.prototype, "esFraccion", 2);
|
|
29317
29319
|
__decorateClass([
|
|
29318
|
-
|
|
29320
|
+
IsOptional31(),
|
|
29319
29321
|
IsNumber333({}, { message: "debe ser un n\xFAmero" }),
|
|
29320
29322
|
Expose516()
|
|
29321
29323
|
], ProductoDto.prototype, "CantidadComparativo", 2);
|
|
@@ -29341,7 +29343,7 @@ __decorateClass([
|
|
|
29341
29343
|
Expose516()
|
|
29342
29344
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
29343
29345
|
__decorateClass([
|
|
29344
|
-
|
|
29346
|
+
IsOptional31(),
|
|
29345
29347
|
IsArray178({ message: "debe ser un array" }),
|
|
29346
29348
|
Type340(() => RecepcionDto),
|
|
29347
29349
|
ValidateNested302({ each: true }),
|
|
@@ -29466,7 +29468,7 @@ var DetalleProductoDto = class {
|
|
|
29466
29468
|
Producto = new ProductoDto();
|
|
29467
29469
|
};
|
|
29468
29470
|
__decorateClass([
|
|
29469
|
-
|
|
29471
|
+
IsOptional32(),
|
|
29470
29472
|
Type343(() => RequerimientoDto),
|
|
29471
29473
|
ValidateNested305(),
|
|
29472
29474
|
Expose521()
|
|
@@ -29576,7 +29578,7 @@ __decorateClass([
|
|
|
29576
29578
|
], IconoDto.prototype, "Status", 2);
|
|
29577
29579
|
|
|
29578
29580
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
29579
|
-
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";
|
|
29580
29582
|
|
|
29581
29583
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
29582
29584
|
import { Expose as Expose526 } from "class-transformer";
|
|
@@ -29622,19 +29624,19 @@ __decorateClass([
|
|
|
29622
29624
|
|
|
29623
29625
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
29624
29626
|
import { Expose as Expose528 } from "class-transformer";
|
|
29625
|
-
import {
|
|
29627
|
+
import { IsNumber as IsNumber337, IsOptional as IsOptional33, IsString as IsString419, Min as Min265 } from "class-validator";
|
|
29626
29628
|
var SolicitudDto = class {
|
|
29627
29629
|
IdStatus = 0;
|
|
29628
29630
|
Status = "";
|
|
29629
29631
|
};
|
|
29630
29632
|
__decorateClass([
|
|
29631
|
-
|
|
29633
|
+
IsOptional33(),
|
|
29632
29634
|
IsNumber337({}, { message: "debe ser un n\xFAmero" }),
|
|
29633
29635
|
Min265(0, { message: "el valor m\xEDnimo es 0" }),
|
|
29634
29636
|
Expose528()
|
|
29635
29637
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
29636
29638
|
__decorateClass([
|
|
29637
|
-
|
|
29639
|
+
IsOptional33(),
|
|
29638
29640
|
IsString419({ message: "debe ser texto" }),
|
|
29639
29641
|
Expose528()
|
|
29640
29642
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -29654,56 +29656,56 @@ var StatuDto = class {
|
|
|
29654
29656
|
Status = "";
|
|
29655
29657
|
};
|
|
29656
29658
|
__decorateClass([
|
|
29657
|
-
|
|
29659
|
+
IsOptional34(),
|
|
29658
29660
|
Type346(() => NavDto),
|
|
29659
29661
|
ValidateNested308(),
|
|
29660
29662
|
Expose529()
|
|
29661
29663
|
], StatuDto.prototype, "Nav", 2);
|
|
29662
29664
|
__decorateClass([
|
|
29663
|
-
|
|
29665
|
+
IsOptional34(),
|
|
29664
29666
|
Type346(() => SolicitudDto),
|
|
29665
29667
|
ValidateNested308(),
|
|
29666
29668
|
Expose529()
|
|
29667
29669
|
], StatuDto.prototype, "Solicitud", 2);
|
|
29668
29670
|
__decorateClass([
|
|
29669
|
-
|
|
29671
|
+
IsOptional34(),
|
|
29670
29672
|
Type346(() => IconoDto),
|
|
29671
29673
|
ValidateNested308(),
|
|
29672
29674
|
Expose529()
|
|
29673
29675
|
], StatuDto.prototype, "Icono", 2);
|
|
29674
29676
|
__decorateClass([
|
|
29675
|
-
|
|
29677
|
+
IsOptional34(),
|
|
29676
29678
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29677
29679
|
Expose529()
|
|
29678
29680
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
29679
29681
|
__decorateClass([
|
|
29680
|
-
|
|
29682
|
+
IsOptional34(),
|
|
29681
29683
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29682
29684
|
Expose529()
|
|
29683
29685
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
29684
29686
|
__decorateClass([
|
|
29685
|
-
|
|
29687
|
+
IsOptional34(),
|
|
29686
29688
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29687
29689
|
Expose529()
|
|
29688
29690
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
29689
29691
|
__decorateClass([
|
|
29690
|
-
|
|
29692
|
+
IsOptional34(),
|
|
29691
29693
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29692
29694
|
Expose529()
|
|
29693
29695
|
], StatuDto.prototype, "PreOrden", 2);
|
|
29694
29696
|
__decorateClass([
|
|
29695
|
-
|
|
29697
|
+
IsOptional34(),
|
|
29696
29698
|
Type346(() => ProcedenciaDto),
|
|
29697
29699
|
ValidateNested308(),
|
|
29698
29700
|
Expose529()
|
|
29699
29701
|
], StatuDto.prototype, "Procedencia", 2);
|
|
29700
29702
|
__decorateClass([
|
|
29701
|
-
|
|
29703
|
+
IsOptional34(),
|
|
29702
29704
|
IsNumber338({}, { message: "debe ser un n\xFAmero" }),
|
|
29703
29705
|
Expose529()
|
|
29704
29706
|
], StatuDto.prototype, "IdStatus", 2);
|
|
29705
29707
|
__decorateClass([
|
|
29706
|
-
|
|
29708
|
+
IsOptional34(),
|
|
29707
29709
|
IsString420({ message: "debe ser texto" }),
|
|
29708
29710
|
Expose529()
|
|
29709
29711
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -29879,7 +29881,7 @@ __decorateClass([
|
|
|
29879
29881
|
|
|
29880
29882
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
29881
29883
|
import { Expose as Expose534, Type as Type351 } from "class-transformer";
|
|
29882
|
-
import { IsArray as IsArray183, IsOptional as
|
|
29884
|
+
import { IsArray as IsArray183, IsOptional as IsOptional35, ValidateNested as ValidateNested313 } from "class-validator";
|
|
29883
29885
|
|
|
29884
29886
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
29885
29887
|
import { Expose as Expose533 } from "class-transformer";
|
|
@@ -29947,35 +29949,35 @@ var FileDto = class {
|
|
|
29947
29949
|
Albaran = [];
|
|
29948
29950
|
};
|
|
29949
29951
|
__decorateClass([
|
|
29950
|
-
|
|
29952
|
+
IsOptional35(),
|
|
29951
29953
|
IsArray183({ message: "debe ser un array" }),
|
|
29952
29954
|
Type351(() => AnexoPreOrdenDto),
|
|
29953
29955
|
ValidateNested313({ each: true }),
|
|
29954
29956
|
Expose534()
|
|
29955
29957
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
29956
29958
|
__decorateClass([
|
|
29957
|
-
|
|
29959
|
+
IsOptional35(),
|
|
29958
29960
|
IsArray183({ message: "debe ser un array" }),
|
|
29959
29961
|
Type351(() => ComparativoDto),
|
|
29960
29962
|
ValidateNested313({ each: true }),
|
|
29961
29963
|
Expose534()
|
|
29962
29964
|
], FileDto.prototype, "Comparativo", 2);
|
|
29963
29965
|
__decorateClass([
|
|
29964
|
-
|
|
29966
|
+
IsOptional35(),
|
|
29965
29967
|
IsArray183({ message: "debe ser un array" }),
|
|
29966
29968
|
Type351(() => CotizacionDto),
|
|
29967
29969
|
ValidateNested313({ each: true }),
|
|
29968
29970
|
Expose534()
|
|
29969
29971
|
], FileDto.prototype, "Cotizacion", 2);
|
|
29970
29972
|
__decorateClass([
|
|
29971
|
-
|
|
29973
|
+
IsOptional35(),
|
|
29972
29974
|
IsArray183({ message: "debe ser un array" }),
|
|
29973
29975
|
Type351(() => PedidoCompraDto),
|
|
29974
29976
|
ValidateNested313({ each: true }),
|
|
29975
29977
|
Expose534()
|
|
29976
29978
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
29977
29979
|
__decorateClass([
|
|
29978
|
-
|
|
29980
|
+
IsOptional35(),
|
|
29979
29981
|
IsArray183({ message: "debe ser un array" }),
|
|
29980
29982
|
Type351(() => AlbaranDto),
|
|
29981
29983
|
ValidateNested313({ each: true }),
|
|
@@ -30017,7 +30019,7 @@ __decorateClass([
|
|
|
30017
30019
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
30018
30020
|
|
|
30019
30021
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
30020
|
-
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";
|
|
30021
30023
|
|
|
30022
30024
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
30023
30025
|
import { Expose as Expose536 } from "class-transformer";
|
|
@@ -30439,10 +30441,10 @@ __decorateClass([
|
|
|
30439
30441
|
Type355(() => AprobacionDto),
|
|
30440
30442
|
ValidateNested317(),
|
|
30441
30443
|
Expose541(),
|
|
30442
|
-
|
|
30444
|
+
IsOptional36()
|
|
30443
30445
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
30444
30446
|
__decorateClass([
|
|
30445
|
-
|
|
30447
|
+
IsOptional36(),
|
|
30446
30448
|
IsString431({ message: "debe ser texto" }),
|
|
30447
30449
|
Expose541()
|
|
30448
30450
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
@@ -30451,12 +30453,12 @@ __decorateClass([
|
|
|
30451
30453
|
Expose541()
|
|
30452
30454
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
30453
30455
|
__decorateClass([
|
|
30454
|
-
|
|
30456
|
+
IsOptional36(),
|
|
30455
30457
|
IsString431({ message: "debe ser texto" }),
|
|
30456
30458
|
Expose541()
|
|
30457
30459
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
30458
30460
|
__decorateClass([
|
|
30459
|
-
|
|
30461
|
+
IsOptional36(),
|
|
30460
30462
|
IsString431({ message: "debe ser texto" }),
|
|
30461
30463
|
Expose541()
|
|
30462
30464
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -30485,17 +30487,17 @@ __decorateClass([
|
|
|
30485
30487
|
Expose541()
|
|
30486
30488
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
30487
30489
|
__decorateClass([
|
|
30488
|
-
|
|
30490
|
+
IsOptional36(),
|
|
30489
30491
|
Type355(() => TipoCompraDto),
|
|
30490
30492
|
ValidateNested317(),
|
|
30491
30493
|
Expose541()
|
|
30492
30494
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
30493
30495
|
__decorateClass([
|
|
30494
|
-
|
|
30496
|
+
IsOptional36(),
|
|
30495
30497
|
Expose541()
|
|
30496
30498
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
30497
30499
|
__decorateClass([
|
|
30498
|
-
|
|
30500
|
+
IsOptional36(),
|
|
30499
30501
|
IsBoolean49({ message: "debe ser true o false" }),
|
|
30500
30502
|
Expose541()
|
|
30501
30503
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
@@ -30505,84 +30507,84 @@ __decorateClass([
|
|
|
30505
30507
|
Expose541()
|
|
30506
30508
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
30507
30509
|
__decorateClass([
|
|
30508
|
-
|
|
30510
|
+
IsOptional36(),
|
|
30509
30511
|
Type355(() => FlujoDto),
|
|
30510
30512
|
ValidateNested317(),
|
|
30511
30513
|
Expose541()
|
|
30512
30514
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
30513
30515
|
__decorateClass([
|
|
30514
|
-
|
|
30516
|
+
IsOptional36(),
|
|
30515
30517
|
Type355(() => DatosNavDto),
|
|
30516
30518
|
ValidateNested317(),
|
|
30517
30519
|
Expose541()
|
|
30518
30520
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
30519
30521
|
__decorateClass([
|
|
30520
|
-
|
|
30522
|
+
IsOptional36(),
|
|
30521
30523
|
IsArray187({ message: "debe ser un array" }),
|
|
30522
30524
|
Expose541()
|
|
30523
30525
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
30524
30526
|
__decorateClass([
|
|
30525
|
-
|
|
30527
|
+
IsOptional36(),
|
|
30526
30528
|
Expose541()
|
|
30527
30529
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
30528
30530
|
__decorateClass([
|
|
30529
|
-
|
|
30531
|
+
IsOptional36(),
|
|
30530
30532
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30531
30533
|
Expose541()
|
|
30532
30534
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
30533
30535
|
__decorateClass([
|
|
30534
|
-
|
|
30536
|
+
IsOptional36(),
|
|
30535
30537
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30536
30538
|
Expose541()
|
|
30537
30539
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
30538
30540
|
__decorateClass([
|
|
30539
|
-
|
|
30541
|
+
IsOptional36(),
|
|
30540
30542
|
IsNumber343({}, { message: "debe ser un n\xFAmero" }),
|
|
30541
30543
|
Expose541()
|
|
30542
30544
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
30543
30545
|
__decorateClass([
|
|
30544
|
-
|
|
30546
|
+
IsOptional36(),
|
|
30545
30547
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
30546
30548
|
IsDate129({ message: "debe ser una fecha" }),
|
|
30547
30549
|
Type355(() => Date),
|
|
30548
30550
|
Expose541()
|
|
30549
30551
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
30550
30552
|
__decorateClass([
|
|
30551
|
-
|
|
30553
|
+
IsOptional36(),
|
|
30552
30554
|
IsString431({ message: "debe ser texto" }),
|
|
30553
30555
|
Expose541()
|
|
30554
30556
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
30555
30557
|
__decorateClass([
|
|
30556
|
-
|
|
30558
|
+
IsOptional36(),
|
|
30557
30559
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
30558
30560
|
IsDate129({ message: "debe ser una fecha" }),
|
|
30559
30561
|
Type355(() => Date),
|
|
30560
30562
|
Expose541()
|
|
30561
30563
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
30562
30564
|
__decorateClass([
|
|
30563
|
-
|
|
30565
|
+
IsOptional36(),
|
|
30564
30566
|
IsString431({ message: "debe ser texto" }),
|
|
30565
30567
|
Expose541()
|
|
30566
30568
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
30567
30569
|
__decorateClass([
|
|
30568
|
-
|
|
30570
|
+
IsOptional36(),
|
|
30569
30571
|
Expose541()
|
|
30570
30572
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
30571
30573
|
__decorateClass([
|
|
30572
|
-
|
|
30574
|
+
IsOptional36(),
|
|
30573
30575
|
Type355(() => EnviarNavDto),
|
|
30574
30576
|
ValidateNested317(),
|
|
30575
30577
|
Expose541()
|
|
30576
30578
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
30577
30579
|
__decorateClass([
|
|
30578
|
-
|
|
30580
|
+
IsOptional36(),
|
|
30579
30581
|
IsArray187({ message: "debe ser un array" }),
|
|
30580
30582
|
Type355(() => MovimientosRecepcionDto),
|
|
30581
30583
|
ValidateNested317({ each: true }),
|
|
30582
30584
|
Expose541()
|
|
30583
30585
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
30584
30586
|
__decorateClass([
|
|
30585
|
-
|
|
30587
|
+
IsOptional36(),
|
|
30586
30588
|
IsBoolean49({ message: "debe ser true o false" }),
|
|
30587
30589
|
Expose541()
|
|
30588
30590
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
@@ -30942,7 +30944,7 @@ import {
|
|
|
30942
30944
|
IsDefined as IsDefined153,
|
|
30943
30945
|
IsNotEmpty as IsNotEmpty393,
|
|
30944
30946
|
IsNumber as IsNumber346,
|
|
30945
|
-
IsOptional as
|
|
30947
|
+
IsOptional as IsOptional37,
|
|
30946
30948
|
IsString as IsString438,
|
|
30947
30949
|
Length as Length267,
|
|
30948
30950
|
Min as Min271,
|
|
@@ -31021,7 +31023,7 @@ __decorateClass([
|
|
|
31021
31023
|
IsString438({ message: "debe ser un texto" }),
|
|
31022
31024
|
Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
31023
31025
|
Expose549(),
|
|
31024
|
-
|
|
31026
|
+
IsOptional37()
|
|
31025
31027
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
31026
31028
|
__decorateClass([
|
|
31027
31029
|
IsString438({ message: "debe ser un texto" }),
|
|
@@ -31504,7 +31506,7 @@ __decorateClass([
|
|
|
31504
31506
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
31505
31507
|
|
|
31506
31508
|
// src/configuracion/empresa/shared/index.ts
|
|
31507
|
-
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";
|
|
31508
31510
|
var EmpresaENTITY = class {
|
|
31509
31511
|
ID_Empresa = 0;
|
|
31510
31512
|
Pais = new CodigoNombreDTO();
|
|
@@ -31617,7 +31619,7 @@ __decorateClass([
|
|
|
31617
31619
|
Type367(() => DatosGIADTO),
|
|
31618
31620
|
IsNotEmpty402({ message: "es requerido" }),
|
|
31619
31621
|
Expose560(),
|
|
31620
|
-
|
|
31622
|
+
IsOptional38(),
|
|
31621
31623
|
ValidateNested328()
|
|
31622
31624
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
31623
31625
|
__decorateClass([
|
|
@@ -32958,7 +32960,7 @@ import {
|
|
|
32958
32960
|
ValidateNested as ValidateNested341,
|
|
32959
32961
|
IsDate as IsDate140,
|
|
32960
32962
|
Length as Length302,
|
|
32961
|
-
IsOptional as
|
|
32963
|
+
IsOptional as IsOptional41,
|
|
32962
32964
|
IsArray as IsArray200
|
|
32963
32965
|
} from "class-validator";
|
|
32964
32966
|
|
|
@@ -33030,7 +33032,7 @@ __decorateClass([
|
|
|
33030
33032
|
|
|
33031
33033
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
33032
33034
|
import { Expose as Expose586, Transform as Transform76 } from "class-transformer";
|
|
33033
|
-
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";
|
|
33034
33036
|
var InventarioValDTO = class {
|
|
33035
33037
|
Descripcion = "";
|
|
33036
33038
|
LoteSAP = "";
|
|
@@ -33044,13 +33046,13 @@ var InventarioValDTO = class {
|
|
|
33044
33046
|
};
|
|
33045
33047
|
__decorateClass([
|
|
33046
33048
|
IsString474({ message: "debe ser un texto" }),
|
|
33047
|
-
|
|
33049
|
+
IsOptional40(),
|
|
33048
33050
|
Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
33049
33051
|
Expose586()
|
|
33050
33052
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
33051
33053
|
__decorateClass([
|
|
33052
33054
|
IsString474({ message: "debe ser un texto" }),
|
|
33053
|
-
|
|
33055
|
+
IsOptional40(),
|
|
33054
33056
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
33055
33057
|
Expose586()
|
|
33056
33058
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -33062,7 +33064,7 @@ __decorateClass([
|
|
|
33062
33064
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
33063
33065
|
__decorateClass([
|
|
33064
33066
|
IsString474({ message: "debe ser un texto" }),
|
|
33065
|
-
|
|
33067
|
+
IsOptional40(),
|
|
33066
33068
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
33067
33069
|
Expose586()
|
|
33068
33070
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -33071,7 +33073,7 @@ __decorateClass([
|
|
|
33071
33073
|
Transform76(({ value }) => value ? String(value) : value),
|
|
33072
33074
|
Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
33073
33075
|
Expose586(),
|
|
33074
|
-
|
|
33076
|
+
IsOptional40()
|
|
33075
33077
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
33076
33078
|
__decorateClass([
|
|
33077
33079
|
IsNumber370({}, { message: "debe ser un numero" }),
|
|
@@ -33090,7 +33092,7 @@ __decorateClass([
|
|
|
33090
33092
|
__decorateClass([
|
|
33091
33093
|
IsString474({ message: "debe ser un texto" }),
|
|
33092
33094
|
Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33093
|
-
|
|
33095
|
+
IsOptional40(),
|
|
33094
33096
|
Expose586()
|
|
33095
33097
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
33096
33098
|
|
|
@@ -33221,14 +33223,14 @@ __decorateClass([
|
|
|
33221
33223
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
33222
33224
|
__decorateClass([
|
|
33223
33225
|
IsString477({ message: "debe ser un texto" }),
|
|
33224
|
-
|
|
33226
|
+
IsOptional41(),
|
|
33225
33227
|
Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33226
33228
|
Expose589()
|
|
33227
33229
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
33228
33230
|
__decorateClass([
|
|
33229
33231
|
IsString477({ message: "debe ser un texto" }),
|
|
33230
33232
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33231
|
-
|
|
33233
|
+
IsOptional41(),
|
|
33232
33234
|
Expose589()
|
|
33233
33235
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
33234
33236
|
__decorateClass([
|
|
@@ -33253,7 +33255,7 @@ __decorateClass([
|
|
|
33253
33255
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
33254
33256
|
__decorateClass([
|
|
33255
33257
|
IsString477({ message: "debe ser un texto" }),
|
|
33256
|
-
|
|
33258
|
+
IsOptional41(),
|
|
33257
33259
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33258
33260
|
Expose589()
|
|
33259
33261
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -33271,12 +33273,12 @@ __decorateClass([
|
|
|
33271
33273
|
IsString477({ message: "debe ser un texto" }),
|
|
33272
33274
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33273
33275
|
Expose589(),
|
|
33274
|
-
|
|
33276
|
+
IsOptional41()
|
|
33275
33277
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
33276
33278
|
__decorateClass([
|
|
33277
33279
|
IsString477({ message: "debe ser un texto" }),
|
|
33278
33280
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33279
|
-
|
|
33281
|
+
IsOptional41(),
|
|
33280
33282
|
Expose589()
|
|
33281
33283
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
33282
33284
|
__decorateClass([
|
|
@@ -33392,7 +33394,7 @@ __decorateClass([
|
|
|
33392
33394
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
33393
33395
|
__decorateClass([
|
|
33394
33396
|
IsString477({ message: "debe ser un texto" }),
|
|
33395
|
-
|
|
33397
|
+
IsOptional41(),
|
|
33396
33398
|
Expose589()
|
|
33397
33399
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
33398
33400
|
__decorateClass([
|
|
@@ -33467,7 +33469,7 @@ __decorateClass([
|
|
|
33467
33469
|
|
|
33468
33470
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
33469
33471
|
import { Expose as Expose594, Type as Type386 } from "class-transformer";
|
|
33470
|
-
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";
|
|
33471
33473
|
|
|
33472
33474
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
33473
33475
|
import { Expose as Expose590 } from "class-transformer";
|
|
@@ -33725,7 +33727,7 @@ __decorateClass([
|
|
|
33725
33727
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
33726
33728
|
__decorateClass([
|
|
33727
33729
|
IsString482({ message: "debe ser un texto" }),
|
|
33728
|
-
|
|
33730
|
+
IsOptional42(),
|
|
33729
33731
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33730
33732
|
Expose594()
|
|
33731
33733
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -36467,7 +36469,7 @@ __decorateClass([
|
|
|
36467
36469
|
|
|
36468
36470
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
36469
36471
|
import { Expose as Expose629 } from "class-transformer";
|
|
36470
|
-
import { IsNumber as IsNumber395, IsOptional as
|
|
36472
|
+
import { IsNumber as IsNumber395, IsOptional as IsOptional43, IsString as IsString513 } from "class-validator";
|
|
36471
36473
|
import "reflect-metadata";
|
|
36472
36474
|
var ValorizacionPeruTOADTO = class {
|
|
36473
36475
|
pbBase = 0;
|
|
@@ -36481,35 +36483,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
36481
36483
|
__decorateClass([
|
|
36482
36484
|
Expose629(),
|
|
36483
36485
|
IsNumber395(),
|
|
36484
|
-
|
|
36486
|
+
IsOptional43()
|
|
36485
36487
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
36486
36488
|
__decorateClass([
|
|
36487
36489
|
Expose629(),
|
|
36488
36490
|
IsNumber395(),
|
|
36489
|
-
|
|
36491
|
+
IsOptional43()
|
|
36490
36492
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
36491
36493
|
__decorateClass([
|
|
36492
36494
|
Expose629(),
|
|
36493
|
-
|
|
36495
|
+
IsOptional43()
|
|
36494
36496
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
36495
36497
|
__decorateClass([
|
|
36496
36498
|
Expose629(),
|
|
36497
|
-
|
|
36499
|
+
IsOptional43()
|
|
36498
36500
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
36499
36501
|
__decorateClass([
|
|
36500
36502
|
Expose629(),
|
|
36501
36503
|
IsString513(),
|
|
36502
|
-
|
|
36504
|
+
IsOptional43()
|
|
36503
36505
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
36504
36506
|
__decorateClass([
|
|
36505
36507
|
Expose629(),
|
|
36506
36508
|
IsString513(),
|
|
36507
|
-
|
|
36509
|
+
IsOptional43()
|
|
36508
36510
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
36509
36511
|
__decorateClass([
|
|
36510
36512
|
Expose629(),
|
|
36511
36513
|
IsString513(),
|
|
36512
|
-
|
|
36514
|
+
IsOptional43()
|
|
36513
36515
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
36514
36516
|
|
|
36515
36517
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -36555,7 +36557,7 @@ import "reflect-metadata";
|
|
|
36555
36557
|
|
|
36556
36558
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
36557
36559
|
import { Expose as Expose631, Type as Type400 } from "class-transformer";
|
|
36558
|
-
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";
|
|
36559
36561
|
var AjusteReprocesoDTO = class {
|
|
36560
36562
|
PB;
|
|
36561
36563
|
MO;
|
|
@@ -36571,58 +36573,58 @@ var AjusteReprocesoDTO = class {
|
|
|
36571
36573
|
};
|
|
36572
36574
|
__decorateClass([
|
|
36573
36575
|
Expose631(),
|
|
36574
|
-
|
|
36576
|
+
IsOptional44(),
|
|
36575
36577
|
IsNumber396()
|
|
36576
36578
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
36577
36579
|
__decorateClass([
|
|
36578
36580
|
Expose631(),
|
|
36579
|
-
|
|
36581
|
+
IsOptional44(),
|
|
36580
36582
|
IsNumber396()
|
|
36581
36583
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
36582
36584
|
__decorateClass([
|
|
36583
36585
|
Expose631(),
|
|
36584
|
-
|
|
36586
|
+
IsOptional44(),
|
|
36585
36587
|
IsNumber396()
|
|
36586
36588
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
36587
36589
|
__decorateClass([
|
|
36588
36590
|
Expose631(),
|
|
36589
|
-
|
|
36591
|
+
IsOptional44(),
|
|
36590
36592
|
IsString515()
|
|
36591
36593
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
36592
36594
|
__decorateClass([
|
|
36593
36595
|
Expose631(),
|
|
36594
|
-
|
|
36596
|
+
IsOptional44(),
|
|
36595
36597
|
IsString515()
|
|
36596
36598
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
36597
36599
|
__decorateClass([
|
|
36598
36600
|
Expose631(),
|
|
36599
|
-
|
|
36601
|
+
IsOptional44(),
|
|
36600
36602
|
ValidateNested351(),
|
|
36601
36603
|
Type400(() => EECCDBTOADTO)
|
|
36602
36604
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
36603
36605
|
__decorateClass([
|
|
36604
36606
|
Expose631(),
|
|
36605
|
-
|
|
36607
|
+
IsOptional44(),
|
|
36606
36608
|
IsNumber396()
|
|
36607
36609
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
36608
36610
|
__decorateClass([
|
|
36609
36611
|
Expose631(),
|
|
36610
|
-
|
|
36612
|
+
IsOptional44(),
|
|
36611
36613
|
IsString515()
|
|
36612
36614
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
36613
36615
|
__decorateClass([
|
|
36614
36616
|
Expose631(),
|
|
36615
|
-
|
|
36617
|
+
IsOptional44(),
|
|
36616
36618
|
IsString515()
|
|
36617
36619
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
36618
36620
|
__decorateClass([
|
|
36619
36621
|
Expose631(),
|
|
36620
|
-
|
|
36622
|
+
IsOptional44(),
|
|
36621
36623
|
IsNumber396()
|
|
36622
36624
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
36623
36625
|
__decorateClass([
|
|
36624
36626
|
Expose631(),
|
|
36625
|
-
|
|
36627
|
+
IsOptional44(),
|
|
36626
36628
|
IsDate149(),
|
|
36627
36629
|
Type400(() => Date)
|
|
36628
36630
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -37720,7 +37722,7 @@ import { Expose as Expose648, Transform as Transform87, Type as Type405 } from "
|
|
|
37720
37722
|
|
|
37721
37723
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
37722
37724
|
import { Expose as Expose640, Transform as Transform83 } from "class-transformer";
|
|
37723
|
-
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";
|
|
37724
37726
|
|
|
37725
37727
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
37726
37728
|
function formatDateOnnetFibra(date) {
|
|
@@ -37786,13 +37788,13 @@ __decorateClass([
|
|
|
37786
37788
|
Expose640()
|
|
37787
37789
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
37788
37790
|
__decorateClass([
|
|
37789
|
-
|
|
37791
|
+
IsOptional46(),
|
|
37790
37792
|
Transform83(({ value }) => value ? String(value) : ""),
|
|
37791
37793
|
IsString524({ message: "El campo lt debe ser una cadena de texto" }),
|
|
37792
37794
|
Expose640()
|
|
37793
37795
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
37794
37796
|
__decorateClass([
|
|
37795
|
-
|
|
37797
|
+
IsOptional46(),
|
|
37796
37798
|
IsNumber402({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
37797
37799
|
Transform83(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37798
37800
|
Expose640()
|
|
@@ -37803,7 +37805,7 @@ __decorateClass([
|
|
|
37803
37805
|
Expose640()
|
|
37804
37806
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
37805
37807
|
__decorateClass([
|
|
37806
|
-
|
|
37808
|
+
IsOptional46(),
|
|
37807
37809
|
IsNumber402({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
37808
37810
|
Transform83(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37809
37811
|
Expose640()
|
|
@@ -37839,13 +37841,13 @@ __decorateClass([
|
|
|
37839
37841
|
Expose640()
|
|
37840
37842
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
37841
37843
|
__decorateClass([
|
|
37842
|
-
|
|
37844
|
+
IsOptional46(),
|
|
37843
37845
|
IsString524({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
37844
37846
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37845
37847
|
Expose640()
|
|
37846
37848
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
37847
37849
|
__decorateClass([
|
|
37848
|
-
|
|
37850
|
+
IsOptional46(),
|
|
37849
37851
|
IsString524({ message: "El campo olt debe ser una cadena de texto" }),
|
|
37850
37852
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37851
37853
|
Expose640()
|
|
@@ -37901,7 +37903,7 @@ __decorateClass([
|
|
|
37901
37903
|
Expose640()
|
|
37902
37904
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
37903
37905
|
__decorateClass([
|
|
37904
|
-
|
|
37906
|
+
IsOptional46(),
|
|
37905
37907
|
Transform83(({ value }) => formatDateOnnetFibra(value)),
|
|
37906
37908
|
IsDate152({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
37907
37909
|
Expose640()
|
|
@@ -37922,30 +37924,30 @@ __decorateClass([
|
|
|
37922
37924
|
Expose640()
|
|
37923
37925
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
37924
37926
|
__decorateClass([
|
|
37925
|
-
|
|
37927
|
+
IsOptional46(),
|
|
37926
37928
|
IsString524({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
37927
37929
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37928
37930
|
Expose640()
|
|
37929
37931
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
37930
37932
|
__decorateClass([
|
|
37931
|
-
|
|
37933
|
+
IsOptional46(),
|
|
37932
37934
|
IsString524({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
37933
37935
|
Expose640()
|
|
37934
37936
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
37935
37937
|
__decorateClass([
|
|
37936
|
-
|
|
37938
|
+
IsOptional46({ message: "El campo cliente es opcional" }),
|
|
37937
37939
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37938
37940
|
IsString524({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
37939
37941
|
Expose640()
|
|
37940
37942
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
37941
37943
|
__decorateClass([
|
|
37942
|
-
|
|
37944
|
+
IsOptional46({ message: "El campo comuna es opcional" }),
|
|
37943
37945
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37944
37946
|
IsString524({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
37945
37947
|
Expose640()
|
|
37946
37948
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
37947
37949
|
__decorateClass([
|
|
37948
|
-
|
|
37950
|
+
IsOptional46({ message: "El campo pep es opcional" }),
|
|
37949
37951
|
IsString524({ message: "El campo pep debe ser una cadena de texto" }),
|
|
37950
37952
|
Transform83(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37951
37953
|
Expose640()
|
|
@@ -37955,38 +37957,38 @@ __decorateClass([
|
|
|
37955
37957
|
Expose640()
|
|
37956
37958
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
37957
37959
|
__decorateClass([
|
|
37958
|
-
|
|
37960
|
+
IsOptional46({ message: "El campo proyecto es opcional" }),
|
|
37959
37961
|
IsString524({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
37960
37962
|
Expose640()
|
|
37961
37963
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
37962
37964
|
__decorateClass([
|
|
37963
|
-
|
|
37965
|
+
IsOptional46({ message: "El campo producto es opcional" }),
|
|
37964
37966
|
IsString524({ message: "El campo producto debe ser una cadena de texto" }),
|
|
37965
37967
|
Expose640()
|
|
37966
37968
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
37967
37969
|
__decorateClass([
|
|
37968
|
-
|
|
37970
|
+
IsOptional46({ message: "El campo sub_tipo_orden es opcional" }),
|
|
37969
37971
|
IsString524({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
37970
37972
|
Expose640()
|
|
37971
37973
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
37972
37974
|
__decorateClass([
|
|
37973
|
-
|
|
37975
|
+
IsOptional46({ message: "El campo nombre_tecnico es opcional" }),
|
|
37974
37976
|
IsString524({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
37975
37977
|
Expose640()
|
|
37976
37978
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
37977
37979
|
__decorateClass([
|
|
37978
|
-
|
|
37980
|
+
IsOptional46(),
|
|
37979
37981
|
IsNumber402({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
37980
37982
|
Transform83(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
37981
37983
|
Expose640()
|
|
37982
37984
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
37983
37985
|
__decorateClass([
|
|
37984
|
-
|
|
37986
|
+
IsOptional46({ message: "El campo sintoma es opcional" }),
|
|
37985
37987
|
IsNumber402({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
37986
37988
|
Expose640()
|
|
37987
37989
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
37988
37990
|
__decorateClass([
|
|
37989
|
-
|
|
37991
|
+
IsOptional46({ message: "El campo mensaje_contingencia es opcional" }),
|
|
37990
37992
|
IsString524({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
37991
37993
|
Expose640()
|
|
37992
37994
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -38141,7 +38143,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
|
|
|
38141
38143
|
|
|
38142
38144
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
38143
38145
|
import { Expose as Expose643, Transform as Transform85, Type as Type403 } from "class-transformer";
|
|
38144
|
-
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";
|
|
38145
38147
|
var DetalleOrdenRealDTO = class {
|
|
38146
38148
|
descripcion = "";
|
|
38147
38149
|
tipo = "";
|
|
@@ -38188,7 +38190,7 @@ __decorateClass([
|
|
|
38188
38190
|
Expose643()
|
|
38189
38191
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
38190
38192
|
__decorateClass([
|
|
38191
|
-
|
|
38193
|
+
IsOptional47({ message: "El campo tecnico es requerido" }),
|
|
38192
38194
|
IsString527({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
38193
38195
|
Transform85(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38194
38196
|
Expose643()
|
|
@@ -38203,14 +38205,14 @@ __decorateClass([
|
|
|
38203
38205
|
Expose643()
|
|
38204
38206
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
38205
38207
|
__decorateClass([
|
|
38206
|
-
|
|
38208
|
+
IsOptional47({ message: "El campo contrato es opcional" }),
|
|
38207
38209
|
IsString527({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
38208
38210
|
Transform85(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38209
38211
|
Expose643()
|
|
38210
38212
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
38211
38213
|
__decorateClass([
|
|
38212
38214
|
Type403(() => CodigoNombreDTO),
|
|
38213
|
-
|
|
38215
|
+
IsOptional47(),
|
|
38214
38216
|
Transform85(({ value }) => value ?? new CodigoNombreDTO()),
|
|
38215
38217
|
Expose643()
|
|
38216
38218
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -41693,7 +41695,7 @@ __decorateClass([
|
|
|
41693
41695
|
|
|
41694
41696
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
41695
41697
|
import { Expose as Expose669, Type as Type421 } from "class-transformer";
|
|
41696
|
-
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";
|
|
41697
41699
|
var OrdenesInstalacionDTO = class {
|
|
41698
41700
|
EMPRESA = "";
|
|
41699
41701
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -41882,25 +41884,25 @@ __decorateClass([
|
|
|
41882
41884
|
__decorateClass([
|
|
41883
41885
|
Expose669(),
|
|
41884
41886
|
ForceString(),
|
|
41885
|
-
|
|
41887
|
+
IsOptional49(),
|
|
41886
41888
|
IsString553()
|
|
41887
41889
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
41888
41890
|
__decorateClass([
|
|
41889
41891
|
Expose669(),
|
|
41890
41892
|
ForceString(),
|
|
41891
|
-
|
|
41893
|
+
IsOptional49(),
|
|
41892
41894
|
IsString553()
|
|
41893
41895
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
41894
41896
|
__decorateClass([
|
|
41895
41897
|
Expose669(),
|
|
41896
41898
|
ForceString(),
|
|
41897
|
-
|
|
41899
|
+
IsOptional49(),
|
|
41898
41900
|
IsString553()
|
|
41899
41901
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
41900
41902
|
|
|
41901
41903
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
41902
41904
|
import { Expose as Expose670 } from "class-transformer";
|
|
41903
|
-
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";
|
|
41904
41906
|
var ReclamosDistribuidorDTO = class {
|
|
41905
41907
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
41906
41908
|
PERMISOR = 0;
|
|
@@ -42058,7 +42060,7 @@ __decorateClass([
|
|
|
42058
42060
|
__decorateClass([
|
|
42059
42061
|
Expose670(),
|
|
42060
42062
|
ForceString(),
|
|
42061
|
-
|
|
42063
|
+
IsOptional50(),
|
|
42062
42064
|
IsString554()
|
|
42063
42065
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
42064
42066
|
__decorateClass([
|
|
@@ -42519,7 +42521,7 @@ __decorateClass([
|
|
|
42519
42521
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
42520
42522
|
|
|
42521
42523
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
42522
|
-
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";
|
|
42523
42525
|
import { Expose as Expose673, Type as Type422 } from "class-transformer";
|
|
42524
42526
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
42525
42527
|
EMPRESA = "";
|
|
@@ -42709,19 +42711,19 @@ __decorateClass([
|
|
|
42709
42711
|
__decorateClass([
|
|
42710
42712
|
Expose673(),
|
|
42711
42713
|
ForceString(),
|
|
42712
|
-
|
|
42714
|
+
IsOptional51(),
|
|
42713
42715
|
IsString557()
|
|
42714
42716
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
42715
42717
|
__decorateClass([
|
|
42716
42718
|
Expose673(),
|
|
42717
42719
|
ForceString(),
|
|
42718
|
-
|
|
42720
|
+
IsOptional51(),
|
|
42719
42721
|
IsString557()
|
|
42720
42722
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
42721
42723
|
__decorateClass([
|
|
42722
42724
|
Expose673(),
|
|
42723
42725
|
ForceString(),
|
|
42724
|
-
|
|
42726
|
+
IsOptional51(),
|
|
42725
42727
|
IsString557()
|
|
42726
42728
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
42727
42729
|
|
|
@@ -43640,7 +43642,7 @@ __decorateClass([
|
|
|
43640
43642
|
|
|
43641
43643
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
43642
43644
|
import { Expose as Expose682 } from "class-transformer";
|
|
43643
|
-
import { IsNumber as IsNumber441, IsOptional as
|
|
43645
|
+
import { IsNumber as IsNumber441, IsOptional as IsOptional52 } from "class-validator";
|
|
43644
43646
|
import "reflect-metadata";
|
|
43645
43647
|
var ValorizacionSomacylDTO = class {
|
|
43646
43648
|
pbBase = 0;
|
|
@@ -43649,12 +43651,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
43649
43651
|
__decorateClass([
|
|
43650
43652
|
Expose682(),
|
|
43651
43653
|
IsNumber441(),
|
|
43652
|
-
|
|
43654
|
+
IsOptional52()
|
|
43653
43655
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
43654
43656
|
__decorateClass([
|
|
43655
43657
|
Expose682(),
|
|
43656
43658
|
IsNumber441(),
|
|
43657
|
-
|
|
43659
|
+
IsOptional52()
|
|
43658
43660
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
43659
43661
|
|
|
43660
43662
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|