sigo-entities 1.2.267 → 1.2.268
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.mjs +77 -77
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -28918,7 +28918,7 @@ __decorateClass([
|
|
|
28918
28918
|
|
|
28919
28919
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
28920
28920
|
import { Expose as Expose521, Type as Type343 } from "class-transformer";
|
|
28921
|
-
import { IsNotEmpty as IsNotEmpty368, IsOptional as
|
|
28921
|
+
import { IsNotEmpty as IsNotEmpty368, IsOptional as IsOptional22, ValidateNested as ValidateNested305 } from "class-validator";
|
|
28922
28922
|
|
|
28923
28923
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
28924
28924
|
import { Expose as Expose508 } from "class-transformer";
|
|
@@ -29369,7 +29369,7 @@ var DetalleProductoDto = class {
|
|
|
29369
29369
|
Producto = new ProductoDto();
|
|
29370
29370
|
};
|
|
29371
29371
|
__decorateClass([
|
|
29372
|
-
|
|
29372
|
+
IsOptional22(),
|
|
29373
29373
|
Type343(() => RequerimientoDto),
|
|
29374
29374
|
ValidateNested305(),
|
|
29375
29375
|
Expose521()
|
|
@@ -30739,7 +30739,7 @@ import {
|
|
|
30739
30739
|
IsDefined as IsDefined153,
|
|
30740
30740
|
IsNotEmpty as IsNotEmpty394,
|
|
30741
30741
|
IsNumber as IsNumber345,
|
|
30742
|
-
IsOptional as
|
|
30742
|
+
IsOptional as IsOptional23,
|
|
30743
30743
|
IsString as IsString437,
|
|
30744
30744
|
Length as Length267,
|
|
30745
30745
|
Min as Min271,
|
|
@@ -30818,7 +30818,7 @@ __decorateClass([
|
|
|
30818
30818
|
IsString437({ message: "debe ser un texto" }),
|
|
30819
30819
|
Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
30820
30820
|
Expose549(),
|
|
30821
|
-
|
|
30821
|
+
IsOptional23()
|
|
30822
30822
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
30823
30823
|
__decorateClass([
|
|
30824
30824
|
IsString437({ message: "debe ser un texto" }),
|
|
@@ -31301,7 +31301,7 @@ __decorateClass([
|
|
|
31301
31301
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
31302
31302
|
|
|
31303
31303
|
// src/configuracion/empresa/shared/index.ts
|
|
31304
|
-
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as
|
|
31304
|
+
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as IsOptional24, IsString as IsString448, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
|
|
31305
31305
|
var EmpresaENTITY = class {
|
|
31306
31306
|
ID_Empresa = 0;
|
|
31307
31307
|
Pais = new CodigoNombreDTO();
|
|
@@ -31414,7 +31414,7 @@ __decorateClass([
|
|
|
31414
31414
|
Type367(() => DatosGIADTO),
|
|
31415
31415
|
IsNotEmpty403({ message: "es requerido" }),
|
|
31416
31416
|
Expose560(),
|
|
31417
|
-
|
|
31417
|
+
IsOptional24(),
|
|
31418
31418
|
ValidateNested328()
|
|
31419
31419
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
31420
31420
|
__decorateClass([
|
|
@@ -32755,7 +32755,7 @@ import {
|
|
|
32755
32755
|
ValidateNested as ValidateNested341,
|
|
32756
32756
|
IsDate as IsDate139,
|
|
32757
32757
|
Length as Length302,
|
|
32758
|
-
IsOptional as
|
|
32758
|
+
IsOptional as IsOptional27,
|
|
32759
32759
|
IsArray as IsArray200
|
|
32760
32760
|
} from "class-validator";
|
|
32761
32761
|
|
|
@@ -32827,7 +32827,7 @@ __decorateClass([
|
|
|
32827
32827
|
|
|
32828
32828
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
32829
32829
|
import { Expose as Expose586, Transform as Transform66 } from "class-transformer";
|
|
32830
|
-
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as
|
|
32830
|
+
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as IsOptional26, IsString as IsString473, Length as Length299, Min as Min293 } from "class-validator";
|
|
32831
32831
|
var InventarioValDTO = class {
|
|
32832
32832
|
Descripcion = "";
|
|
32833
32833
|
LoteSAP = "";
|
|
@@ -32841,13 +32841,13 @@ var InventarioValDTO = class {
|
|
|
32841
32841
|
};
|
|
32842
32842
|
__decorateClass([
|
|
32843
32843
|
IsString473({ message: "debe ser un texto" }),
|
|
32844
|
-
|
|
32844
|
+
IsOptional26(),
|
|
32845
32845
|
Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
32846
32846
|
Expose586()
|
|
32847
32847
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
32848
32848
|
__decorateClass([
|
|
32849
32849
|
IsString473({ message: "debe ser un texto" }),
|
|
32850
|
-
|
|
32850
|
+
IsOptional26(),
|
|
32851
32851
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
32852
32852
|
Expose586()
|
|
32853
32853
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -32859,7 +32859,7 @@ __decorateClass([
|
|
|
32859
32859
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
32860
32860
|
__decorateClass([
|
|
32861
32861
|
IsString473({ message: "debe ser un texto" }),
|
|
32862
|
-
|
|
32862
|
+
IsOptional26(),
|
|
32863
32863
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
32864
32864
|
Expose586()
|
|
32865
32865
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -32868,7 +32868,7 @@ __decorateClass([
|
|
|
32868
32868
|
Transform66(({ value }) => value ? String(value) : value),
|
|
32869
32869
|
Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
32870
32870
|
Expose586(),
|
|
32871
|
-
|
|
32871
|
+
IsOptional26()
|
|
32872
32872
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
32873
32873
|
__decorateClass([
|
|
32874
32874
|
IsNumber369({}, { message: "debe ser un numero" }),
|
|
@@ -32887,7 +32887,7 @@ __decorateClass([
|
|
|
32887
32887
|
__decorateClass([
|
|
32888
32888
|
IsString473({ message: "debe ser un texto" }),
|
|
32889
32889
|
Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
32890
|
-
|
|
32890
|
+
IsOptional26(),
|
|
32891
32891
|
Expose586()
|
|
32892
32892
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
32893
32893
|
|
|
@@ -33018,14 +33018,14 @@ __decorateClass([
|
|
|
33018
33018
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
33019
33019
|
__decorateClass([
|
|
33020
33020
|
IsString476({ message: "debe ser un texto" }),
|
|
33021
|
-
|
|
33021
|
+
IsOptional27(),
|
|
33022
33022
|
Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33023
33023
|
Expose589()
|
|
33024
33024
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
33025
33025
|
__decorateClass([
|
|
33026
33026
|
IsString476({ message: "debe ser un texto" }),
|
|
33027
33027
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33028
|
-
|
|
33028
|
+
IsOptional27(),
|
|
33029
33029
|
Expose589()
|
|
33030
33030
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
33031
33031
|
__decorateClass([
|
|
@@ -33050,7 +33050,7 @@ __decorateClass([
|
|
|
33050
33050
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
33051
33051
|
__decorateClass([
|
|
33052
33052
|
IsString476({ message: "debe ser un texto" }),
|
|
33053
|
-
|
|
33053
|
+
IsOptional27(),
|
|
33054
33054
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33055
33055
|
Expose589()
|
|
33056
33056
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -33068,12 +33068,12 @@ __decorateClass([
|
|
|
33068
33068
|
IsString476({ message: "debe ser un texto" }),
|
|
33069
33069
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33070
33070
|
Expose589(),
|
|
33071
|
-
|
|
33071
|
+
IsOptional27()
|
|
33072
33072
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
33073
33073
|
__decorateClass([
|
|
33074
33074
|
IsString476({ message: "debe ser un texto" }),
|
|
33075
33075
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33076
|
-
|
|
33076
|
+
IsOptional27(),
|
|
33077
33077
|
Expose589()
|
|
33078
33078
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
33079
33079
|
__decorateClass([
|
|
@@ -33189,7 +33189,7 @@ __decorateClass([
|
|
|
33189
33189
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
33190
33190
|
__decorateClass([
|
|
33191
33191
|
IsString476({ message: "debe ser un texto" }),
|
|
33192
|
-
|
|
33192
|
+
IsOptional27(),
|
|
33193
33193
|
Expose589()
|
|
33194
33194
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
33195
33195
|
__decorateClass([
|
|
@@ -33264,7 +33264,7 @@ __decorateClass([
|
|
|
33264
33264
|
|
|
33265
33265
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
33266
33266
|
import { Expose as Expose594, Type as Type386 } from "class-transformer";
|
|
33267
|
-
import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty431, IsNumber as IsNumber377, IsString as IsString481, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate141, IsOptional as
|
|
33267
|
+
import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty431, IsNumber as IsNumber377, IsString as IsString481, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate141, IsOptional as IsOptional28 } from "class-validator";
|
|
33268
33268
|
|
|
33269
33269
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
33270
33270
|
import { Expose as Expose590 } from "class-transformer";
|
|
@@ -33522,7 +33522,7 @@ __decorateClass([
|
|
|
33522
33522
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
33523
33523
|
__decorateClass([
|
|
33524
33524
|
IsString481({ message: "debe ser un texto" }),
|
|
33525
|
-
|
|
33525
|
+
IsOptional28(),
|
|
33526
33526
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33527
33527
|
Expose594()
|
|
33528
33528
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -36264,7 +36264,7 @@ __decorateClass([
|
|
|
36264
36264
|
|
|
36265
36265
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
36266
36266
|
import { Expose as Expose629 } from "class-transformer";
|
|
36267
|
-
import { IsNumber as IsNumber394, IsOptional as
|
|
36267
|
+
import { IsNumber as IsNumber394, IsOptional as IsOptional29, IsString as IsString512 } from "class-validator";
|
|
36268
36268
|
import "reflect-metadata";
|
|
36269
36269
|
var ValorizacionPeruTOADTO = class {
|
|
36270
36270
|
pbBase = 0;
|
|
@@ -36278,35 +36278,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
36278
36278
|
__decorateClass([
|
|
36279
36279
|
Expose629(),
|
|
36280
36280
|
IsNumber394(),
|
|
36281
|
-
|
|
36281
|
+
IsOptional29()
|
|
36282
36282
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
36283
36283
|
__decorateClass([
|
|
36284
36284
|
Expose629(),
|
|
36285
36285
|
IsNumber394(),
|
|
36286
|
-
|
|
36286
|
+
IsOptional29()
|
|
36287
36287
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
36288
36288
|
__decorateClass([
|
|
36289
36289
|
Expose629(),
|
|
36290
|
-
|
|
36290
|
+
IsOptional29()
|
|
36291
36291
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
36292
36292
|
__decorateClass([
|
|
36293
36293
|
Expose629(),
|
|
36294
|
-
|
|
36294
|
+
IsOptional29()
|
|
36295
36295
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
36296
36296
|
__decorateClass([
|
|
36297
36297
|
Expose629(),
|
|
36298
36298
|
IsString512(),
|
|
36299
|
-
|
|
36299
|
+
IsOptional29()
|
|
36300
36300
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
36301
36301
|
__decorateClass([
|
|
36302
36302
|
Expose629(),
|
|
36303
36303
|
IsString512(),
|
|
36304
|
-
|
|
36304
|
+
IsOptional29()
|
|
36305
36305
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
36306
36306
|
__decorateClass([
|
|
36307
36307
|
Expose629(),
|
|
36308
36308
|
IsString512(),
|
|
36309
|
-
|
|
36309
|
+
IsOptional29()
|
|
36310
36310
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
36311
36311
|
|
|
36312
36312
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -36352,7 +36352,7 @@ import "reflect-metadata";
|
|
|
36352
36352
|
|
|
36353
36353
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
36354
36354
|
import { Expose as Expose631, Type as Type400 } from "class-transformer";
|
|
36355
|
-
import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as
|
|
36355
|
+
import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional30, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
|
|
36356
36356
|
var AjusteReprocesoDTO = class {
|
|
36357
36357
|
PB;
|
|
36358
36358
|
MO;
|
|
@@ -36368,58 +36368,58 @@ var AjusteReprocesoDTO = class {
|
|
|
36368
36368
|
};
|
|
36369
36369
|
__decorateClass([
|
|
36370
36370
|
Expose631(),
|
|
36371
|
-
|
|
36371
|
+
IsOptional30(),
|
|
36372
36372
|
IsNumber395()
|
|
36373
36373
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
36374
36374
|
__decorateClass([
|
|
36375
36375
|
Expose631(),
|
|
36376
|
-
|
|
36376
|
+
IsOptional30(),
|
|
36377
36377
|
IsNumber395()
|
|
36378
36378
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
36379
36379
|
__decorateClass([
|
|
36380
36380
|
Expose631(),
|
|
36381
|
-
|
|
36381
|
+
IsOptional30(),
|
|
36382
36382
|
IsNumber395()
|
|
36383
36383
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
36384
36384
|
__decorateClass([
|
|
36385
36385
|
Expose631(),
|
|
36386
|
-
|
|
36386
|
+
IsOptional30(),
|
|
36387
36387
|
IsString514()
|
|
36388
36388
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
36389
36389
|
__decorateClass([
|
|
36390
36390
|
Expose631(),
|
|
36391
|
-
|
|
36391
|
+
IsOptional30(),
|
|
36392
36392
|
IsString514()
|
|
36393
36393
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
36394
36394
|
__decorateClass([
|
|
36395
36395
|
Expose631(),
|
|
36396
|
-
|
|
36396
|
+
IsOptional30(),
|
|
36397
36397
|
ValidateNested351(),
|
|
36398
36398
|
Type400(() => EECCDBTOADTO)
|
|
36399
36399
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
36400
36400
|
__decorateClass([
|
|
36401
36401
|
Expose631(),
|
|
36402
|
-
|
|
36402
|
+
IsOptional30(),
|
|
36403
36403
|
IsNumber395()
|
|
36404
36404
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
36405
36405
|
__decorateClass([
|
|
36406
36406
|
Expose631(),
|
|
36407
|
-
|
|
36407
|
+
IsOptional30(),
|
|
36408
36408
|
IsString514()
|
|
36409
36409
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
36410
36410
|
__decorateClass([
|
|
36411
36411
|
Expose631(),
|
|
36412
|
-
|
|
36412
|
+
IsOptional30(),
|
|
36413
36413
|
IsString514()
|
|
36414
36414
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
36415
36415
|
__decorateClass([
|
|
36416
36416
|
Expose631(),
|
|
36417
|
-
|
|
36417
|
+
IsOptional30(),
|
|
36418
36418
|
IsNumber395()
|
|
36419
36419
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
36420
36420
|
__decorateClass([
|
|
36421
36421
|
Expose631(),
|
|
36422
|
-
|
|
36422
|
+
IsOptional30(),
|
|
36423
36423
|
IsDate148(),
|
|
36424
36424
|
Type400(() => Date)
|
|
36425
36425
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -37517,7 +37517,7 @@ import { Expose as Expose648, Transform as Transform77, Type as Type405 } from "
|
|
|
37517
37517
|
|
|
37518
37518
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
37519
37519
|
import { Expose as Expose640, Transform as Transform73 } from "class-transformer";
|
|
37520
|
-
import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as
|
|
37520
|
+
import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional32, IsString as IsString523 } from "class-validator";
|
|
37521
37521
|
|
|
37522
37522
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
37523
37523
|
function formatDateOnnetFibra(date) {
|
|
@@ -37583,13 +37583,13 @@ __decorateClass([
|
|
|
37583
37583
|
Expose640()
|
|
37584
37584
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
37585
37585
|
__decorateClass([
|
|
37586
|
-
|
|
37586
|
+
IsOptional32(),
|
|
37587
37587
|
Transform73(({ value }) => value ? String(value) : ""),
|
|
37588
37588
|
IsString523({ message: "El campo lt debe ser una cadena de texto" }),
|
|
37589
37589
|
Expose640()
|
|
37590
37590
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
37591
37591
|
__decorateClass([
|
|
37592
|
-
|
|
37592
|
+
IsOptional32(),
|
|
37593
37593
|
IsNumber401({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
37594
37594
|
Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37595
37595
|
Expose640()
|
|
@@ -37600,7 +37600,7 @@ __decorateClass([
|
|
|
37600
37600
|
Expose640()
|
|
37601
37601
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
37602
37602
|
__decorateClass([
|
|
37603
|
-
|
|
37603
|
+
IsOptional32(),
|
|
37604
37604
|
IsNumber401({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
37605
37605
|
Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37606
37606
|
Expose640()
|
|
@@ -37636,13 +37636,13 @@ __decorateClass([
|
|
|
37636
37636
|
Expose640()
|
|
37637
37637
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
37638
37638
|
__decorateClass([
|
|
37639
|
-
|
|
37639
|
+
IsOptional32(),
|
|
37640
37640
|
IsString523({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
37641
37641
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37642
37642
|
Expose640()
|
|
37643
37643
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
37644
37644
|
__decorateClass([
|
|
37645
|
-
|
|
37645
|
+
IsOptional32(),
|
|
37646
37646
|
IsString523({ message: "El campo olt debe ser una cadena de texto" }),
|
|
37647
37647
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37648
37648
|
Expose640()
|
|
@@ -37698,7 +37698,7 @@ __decorateClass([
|
|
|
37698
37698
|
Expose640()
|
|
37699
37699
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
37700
37700
|
__decorateClass([
|
|
37701
|
-
|
|
37701
|
+
IsOptional32(),
|
|
37702
37702
|
Transform73(({ value }) => formatDateOnnetFibra(value)),
|
|
37703
37703
|
IsDate151({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
37704
37704
|
Expose640()
|
|
@@ -37719,30 +37719,30 @@ __decorateClass([
|
|
|
37719
37719
|
Expose640()
|
|
37720
37720
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
37721
37721
|
__decorateClass([
|
|
37722
|
-
|
|
37722
|
+
IsOptional32(),
|
|
37723
37723
|
IsString523({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
37724
37724
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37725
37725
|
Expose640()
|
|
37726
37726
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
37727
37727
|
__decorateClass([
|
|
37728
|
-
|
|
37728
|
+
IsOptional32(),
|
|
37729
37729
|
IsString523({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
37730
37730
|
Expose640()
|
|
37731
37731
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
37732
37732
|
__decorateClass([
|
|
37733
|
-
|
|
37733
|
+
IsOptional32({ message: "El campo cliente es opcional" }),
|
|
37734
37734
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37735
37735
|
IsString523({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
37736
37736
|
Expose640()
|
|
37737
37737
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
37738
37738
|
__decorateClass([
|
|
37739
|
-
|
|
37739
|
+
IsOptional32({ message: "El campo comuna es opcional" }),
|
|
37740
37740
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37741
37741
|
IsString523({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
37742
37742
|
Expose640()
|
|
37743
37743
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
37744
37744
|
__decorateClass([
|
|
37745
|
-
|
|
37745
|
+
IsOptional32({ message: "El campo pep es opcional" }),
|
|
37746
37746
|
IsString523({ message: "El campo pep debe ser una cadena de texto" }),
|
|
37747
37747
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37748
37748
|
Expose640()
|
|
@@ -37752,38 +37752,38 @@ __decorateClass([
|
|
|
37752
37752
|
Expose640()
|
|
37753
37753
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
37754
37754
|
__decorateClass([
|
|
37755
|
-
|
|
37755
|
+
IsOptional32({ message: "El campo proyecto es opcional" }),
|
|
37756
37756
|
IsString523({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
37757
37757
|
Expose640()
|
|
37758
37758
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
37759
37759
|
__decorateClass([
|
|
37760
|
-
|
|
37760
|
+
IsOptional32({ message: "El campo producto es opcional" }),
|
|
37761
37761
|
IsString523({ message: "El campo producto debe ser una cadena de texto" }),
|
|
37762
37762
|
Expose640()
|
|
37763
37763
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
37764
37764
|
__decorateClass([
|
|
37765
|
-
|
|
37765
|
+
IsOptional32({ message: "El campo sub_tipo_orden es opcional" }),
|
|
37766
37766
|
IsString523({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
37767
37767
|
Expose640()
|
|
37768
37768
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
37769
37769
|
__decorateClass([
|
|
37770
|
-
|
|
37770
|
+
IsOptional32({ message: "El campo nombre_tecnico es opcional" }),
|
|
37771
37771
|
IsString523({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
37772
37772
|
Expose640()
|
|
37773
37773
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
37774
37774
|
__decorateClass([
|
|
37775
|
-
|
|
37775
|
+
IsOptional32(),
|
|
37776
37776
|
IsNumber401({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
37777
37777
|
Transform73(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
37778
37778
|
Expose640()
|
|
37779
37779
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
37780
37780
|
__decorateClass([
|
|
37781
|
-
|
|
37781
|
+
IsOptional32({ message: "El campo sintoma es opcional" }),
|
|
37782
37782
|
IsNumber401({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
37783
37783
|
Expose640()
|
|
37784
37784
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
37785
37785
|
__decorateClass([
|
|
37786
|
-
|
|
37786
|
+
IsOptional32({ message: "El campo mensaje_contingencia es opcional" }),
|
|
37787
37787
|
IsString523({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
37788
37788
|
Expose640()
|
|
37789
37789
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -37938,7 +37938,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
|
|
|
37938
37938
|
|
|
37939
37939
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
37940
37940
|
import { Expose as Expose643, Transform as Transform75, Type as Type403 } from "class-transformer";
|
|
37941
|
-
import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as
|
|
37941
|
+
import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional33, IsString as IsString526 } from "class-validator";
|
|
37942
37942
|
var DetalleOrdenRealDTO = class {
|
|
37943
37943
|
descripcion = "";
|
|
37944
37944
|
tipo = "";
|
|
@@ -37985,7 +37985,7 @@ __decorateClass([
|
|
|
37985
37985
|
Expose643()
|
|
37986
37986
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
37987
37987
|
__decorateClass([
|
|
37988
|
-
|
|
37988
|
+
IsOptional33({ message: "El campo tecnico es requerido" }),
|
|
37989
37989
|
IsString526({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
37990
37990
|
Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37991
37991
|
Expose643()
|
|
@@ -38000,14 +38000,14 @@ __decorateClass([
|
|
|
38000
38000
|
Expose643()
|
|
38001
38001
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
38002
38002
|
__decorateClass([
|
|
38003
|
-
|
|
38003
|
+
IsOptional33({ message: "El campo contrato es opcional" }),
|
|
38004
38004
|
IsString526({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
38005
38005
|
Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38006
38006
|
Expose643()
|
|
38007
38007
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
38008
38008
|
__decorateClass([
|
|
38009
38009
|
Type403(() => CodigoNombreDTO),
|
|
38010
|
-
|
|
38010
|
+
IsOptional33(),
|
|
38011
38011
|
Transform75(({ value }) => value ?? new CodigoNombreDTO()),
|
|
38012
38012
|
Expose643()
|
|
38013
38013
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -41490,7 +41490,7 @@ __decorateClass([
|
|
|
41490
41490
|
|
|
41491
41491
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
41492
41492
|
import { Expose as Expose669, Type as Type421 } from "class-transformer";
|
|
41493
|
-
import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as
|
|
41493
|
+
import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional35, IsString as IsString552 } from "class-validator";
|
|
41494
41494
|
var OrdenesInstalacionDTO = class {
|
|
41495
41495
|
EMPRESA = "";
|
|
41496
41496
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -41679,25 +41679,25 @@ __decorateClass([
|
|
|
41679
41679
|
__decorateClass([
|
|
41680
41680
|
Expose669(),
|
|
41681
41681
|
ForceString(),
|
|
41682
|
-
|
|
41682
|
+
IsOptional35(),
|
|
41683
41683
|
IsString552()
|
|
41684
41684
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
41685
41685
|
__decorateClass([
|
|
41686
41686
|
Expose669(),
|
|
41687
41687
|
ForceString(),
|
|
41688
|
-
|
|
41688
|
+
IsOptional35(),
|
|
41689
41689
|
IsString552()
|
|
41690
41690
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
41691
41691
|
__decorateClass([
|
|
41692
41692
|
Expose669(),
|
|
41693
41693
|
ForceString(),
|
|
41694
|
-
|
|
41694
|
+
IsOptional35(),
|
|
41695
41695
|
IsString552()
|
|
41696
41696
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
41697
41697
|
|
|
41698
41698
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
41699
41699
|
import { Expose as Expose670 } from "class-transformer";
|
|
41700
|
-
import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as
|
|
41700
|
+
import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional36, IsString as IsString553 } from "class-validator";
|
|
41701
41701
|
var ReclamosDistribuidorDTO = class {
|
|
41702
41702
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
41703
41703
|
PERMISOR = 0;
|
|
@@ -41855,7 +41855,7 @@ __decorateClass([
|
|
|
41855
41855
|
__decorateClass([
|
|
41856
41856
|
Expose670(),
|
|
41857
41857
|
ForceString(),
|
|
41858
|
-
|
|
41858
|
+
IsOptional36(),
|
|
41859
41859
|
IsString553()
|
|
41860
41860
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
41861
41861
|
__decorateClass([
|
|
@@ -42316,7 +42316,7 @@ __decorateClass([
|
|
|
42316
42316
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
42317
42317
|
|
|
42318
42318
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
42319
|
-
import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as
|
|
42319
|
+
import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional37, IsString as IsString556 } from "class-validator";
|
|
42320
42320
|
import { Expose as Expose673, Type as Type422 } from "class-transformer";
|
|
42321
42321
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
42322
42322
|
EMPRESA = "";
|
|
@@ -42506,19 +42506,19 @@ __decorateClass([
|
|
|
42506
42506
|
__decorateClass([
|
|
42507
42507
|
Expose673(),
|
|
42508
42508
|
ForceString(),
|
|
42509
|
-
|
|
42509
|
+
IsOptional37(),
|
|
42510
42510
|
IsString556()
|
|
42511
42511
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
42512
42512
|
__decorateClass([
|
|
42513
42513
|
Expose673(),
|
|
42514
42514
|
ForceString(),
|
|
42515
|
-
|
|
42515
|
+
IsOptional37(),
|
|
42516
42516
|
IsString556()
|
|
42517
42517
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
42518
42518
|
__decorateClass([
|
|
42519
42519
|
Expose673(),
|
|
42520
42520
|
ForceString(),
|
|
42521
|
-
|
|
42521
|
+
IsOptional37(),
|
|
42522
42522
|
IsString556()
|
|
42523
42523
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
42524
42524
|
|
|
@@ -43437,7 +43437,7 @@ __decorateClass([
|
|
|
43437
43437
|
|
|
43438
43438
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
43439
43439
|
import { Expose as Expose682 } from "class-transformer";
|
|
43440
|
-
import { IsNumber as IsNumber440, IsOptional as
|
|
43440
|
+
import { IsNumber as IsNumber440, IsOptional as IsOptional38 } from "class-validator";
|
|
43441
43441
|
import "reflect-metadata";
|
|
43442
43442
|
var ValorizacionSomacylDTO = class {
|
|
43443
43443
|
pbBase = 0;
|
|
@@ -43446,12 +43446,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
43446
43446
|
__decorateClass([
|
|
43447
43447
|
Expose682(),
|
|
43448
43448
|
IsNumber440(),
|
|
43449
|
-
|
|
43449
|
+
IsOptional38()
|
|
43450
43450
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
43451
43451
|
__decorateClass([
|
|
43452
43452
|
Expose682(),
|
|
43453
43453
|
IsNumber440(),
|
|
43454
|
-
|
|
43454
|
+
IsOptional38()
|
|
43455
43455
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
43456
43456
|
|
|
43457
43457
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|