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