sigo-entities 1.2.270 → 1.2.272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.mjs +78 -76
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29830,6 +29830,7 @@ __decorateClass([
|
|
|
29830
29830
|
(0, import_class_transformer526.Expose)()
|
|
29831
29831
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
29832
29832
|
__decorateClass([
|
|
29833
|
+
(0, import_class_validator519.IsOptional)(),
|
|
29833
29834
|
(0, import_class_validator519.IsArray)({ message: "debe ser un array" }),
|
|
29834
29835
|
(0, import_class_transformer527.Type)(() => RecepcionDto),
|
|
29835
29836
|
(0, import_class_validator519.ValidateNested)({ each: true }),
|
|
@@ -30167,6 +30168,7 @@ __decorateClass([
|
|
|
30167
30168
|
(0, import_class_transformer544.Expose)()
|
|
30168
30169
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
30169
30170
|
__decorateClass([
|
|
30171
|
+
(0, import_class_validator532.IsOptional)(),
|
|
30170
30172
|
(0, import_class_validator532.IsBoolean)({ message: "debe ser true o false" }),
|
|
30171
30173
|
(0, import_class_transformer544.Expose)()
|
|
30172
30174
|
], StatuDto.prototype, "PreOrden", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -29247,6 +29247,7 @@ __decorateClass([
|
|
|
29247
29247
|
Expose516()
|
|
29248
29248
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
29249
29249
|
__decorateClass([
|
|
29250
|
+
IsOptional21(),
|
|
29250
29251
|
IsArray178({ message: "debe ser un array" }),
|
|
29251
29252
|
Type340(() => RecepcionDto),
|
|
29252
29253
|
ValidateNested302({ each: true }),
|
|
@@ -29481,7 +29482,7 @@ __decorateClass([
|
|
|
29481
29482
|
], IconoDto.prototype, "Status", 2);
|
|
29482
29483
|
|
|
29483
29484
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
29484
|
-
import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308 } from "class-validator";
|
|
29485
|
+
import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308, IsOptional as IsOptional23 } from "class-validator";
|
|
29485
29486
|
|
|
29486
29487
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
29487
29488
|
import { Expose as Expose526 } from "class-transformer";
|
|
@@ -29584,6 +29585,7 @@ __decorateClass([
|
|
|
29584
29585
|
Expose529()
|
|
29585
29586
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
29586
29587
|
__decorateClass([
|
|
29588
|
+
IsOptional23(),
|
|
29587
29589
|
IsBoolean47({ message: "debe ser true o false" }),
|
|
29588
29590
|
Expose529()
|
|
29589
29591
|
], StatuDto.prototype, "PreOrden", 2);
|
|
@@ -30741,7 +30743,7 @@ import {
|
|
|
30741
30743
|
IsDefined as IsDefined153,
|
|
30742
30744
|
IsNotEmpty as IsNotEmpty394,
|
|
30743
30745
|
IsNumber as IsNumber345,
|
|
30744
|
-
IsOptional as
|
|
30746
|
+
IsOptional as IsOptional24,
|
|
30745
30747
|
IsString as IsString437,
|
|
30746
30748
|
Length as Length267,
|
|
30747
30749
|
Min as Min271,
|
|
@@ -30820,7 +30822,7 @@ __decorateClass([
|
|
|
30820
30822
|
IsString437({ message: "debe ser un texto" }),
|
|
30821
30823
|
Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
30822
30824
|
Expose549(),
|
|
30823
|
-
|
|
30825
|
+
IsOptional24()
|
|
30824
30826
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
30825
30827
|
__decorateClass([
|
|
30826
30828
|
IsString437({ message: "debe ser un texto" }),
|
|
@@ -31303,7 +31305,7 @@ __decorateClass([
|
|
|
31303
31305
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
31304
31306
|
|
|
31305
31307
|
// src/configuracion/empresa/shared/index.ts
|
|
31306
|
-
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as
|
|
31308
|
+
import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as IsOptional25, IsString as IsString448, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
|
|
31307
31309
|
var EmpresaENTITY = class {
|
|
31308
31310
|
ID_Empresa = 0;
|
|
31309
31311
|
Pais = new CodigoNombreDTO();
|
|
@@ -31416,7 +31418,7 @@ __decorateClass([
|
|
|
31416
31418
|
Type367(() => DatosGIADTO),
|
|
31417
31419
|
IsNotEmpty403({ message: "es requerido" }),
|
|
31418
31420
|
Expose560(),
|
|
31419
|
-
|
|
31421
|
+
IsOptional25(),
|
|
31420
31422
|
ValidateNested328()
|
|
31421
31423
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
31422
31424
|
__decorateClass([
|
|
@@ -32757,7 +32759,7 @@ import {
|
|
|
32757
32759
|
ValidateNested as ValidateNested341,
|
|
32758
32760
|
IsDate as IsDate139,
|
|
32759
32761
|
Length as Length302,
|
|
32760
|
-
IsOptional as
|
|
32762
|
+
IsOptional as IsOptional28,
|
|
32761
32763
|
IsArray as IsArray200
|
|
32762
32764
|
} from "class-validator";
|
|
32763
32765
|
|
|
@@ -32829,7 +32831,7 @@ __decorateClass([
|
|
|
32829
32831
|
|
|
32830
32832
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
32831
32833
|
import { Expose as Expose586, Transform as Transform66 } from "class-transformer";
|
|
32832
|
-
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as
|
|
32834
|
+
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as IsOptional27, IsString as IsString473, Length as Length299, Min as Min293 } from "class-validator";
|
|
32833
32835
|
var InventarioValDTO = class {
|
|
32834
32836
|
Descripcion = "";
|
|
32835
32837
|
LoteSAP = "";
|
|
@@ -32843,13 +32845,13 @@ var InventarioValDTO = class {
|
|
|
32843
32845
|
};
|
|
32844
32846
|
__decorateClass([
|
|
32845
32847
|
IsString473({ message: "debe ser un texto" }),
|
|
32846
|
-
|
|
32848
|
+
IsOptional27(),
|
|
32847
32849
|
Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
32848
32850
|
Expose586()
|
|
32849
32851
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
32850
32852
|
__decorateClass([
|
|
32851
32853
|
IsString473({ message: "debe ser un texto" }),
|
|
32852
|
-
|
|
32854
|
+
IsOptional27(),
|
|
32853
32855
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
32854
32856
|
Expose586()
|
|
32855
32857
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -32861,7 +32863,7 @@ __decorateClass([
|
|
|
32861
32863
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
32862
32864
|
__decorateClass([
|
|
32863
32865
|
IsString473({ message: "debe ser un texto" }),
|
|
32864
|
-
|
|
32866
|
+
IsOptional27(),
|
|
32865
32867
|
Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
32866
32868
|
Expose586()
|
|
32867
32869
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -32870,7 +32872,7 @@ __decorateClass([
|
|
|
32870
32872
|
Transform66(({ value }) => value ? String(value) : value),
|
|
32871
32873
|
Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
32872
32874
|
Expose586(),
|
|
32873
|
-
|
|
32875
|
+
IsOptional27()
|
|
32874
32876
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
32875
32877
|
__decorateClass([
|
|
32876
32878
|
IsNumber369({}, { message: "debe ser un numero" }),
|
|
@@ -32889,7 +32891,7 @@ __decorateClass([
|
|
|
32889
32891
|
__decorateClass([
|
|
32890
32892
|
IsString473({ message: "debe ser un texto" }),
|
|
32891
32893
|
Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
32892
|
-
|
|
32894
|
+
IsOptional27(),
|
|
32893
32895
|
Expose586()
|
|
32894
32896
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
32895
32897
|
|
|
@@ -33020,14 +33022,14 @@ __decorateClass([
|
|
|
33020
33022
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
33021
33023
|
__decorateClass([
|
|
33022
33024
|
IsString476({ message: "debe ser un texto" }),
|
|
33023
|
-
|
|
33025
|
+
IsOptional28(),
|
|
33024
33026
|
Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33025
33027
|
Expose589()
|
|
33026
33028
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
33027
33029
|
__decorateClass([
|
|
33028
33030
|
IsString476({ message: "debe ser un texto" }),
|
|
33029
33031
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33030
|
-
|
|
33032
|
+
IsOptional28(),
|
|
33031
33033
|
Expose589()
|
|
33032
33034
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
33033
33035
|
__decorateClass([
|
|
@@ -33052,7 +33054,7 @@ __decorateClass([
|
|
|
33052
33054
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
33053
33055
|
__decorateClass([
|
|
33054
33056
|
IsString476({ message: "debe ser un texto" }),
|
|
33055
|
-
|
|
33057
|
+
IsOptional28(),
|
|
33056
33058
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33057
33059
|
Expose589()
|
|
33058
33060
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -33070,12 +33072,12 @@ __decorateClass([
|
|
|
33070
33072
|
IsString476({ message: "debe ser un texto" }),
|
|
33071
33073
|
Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
33072
33074
|
Expose589(),
|
|
33073
|
-
|
|
33075
|
+
IsOptional28()
|
|
33074
33076
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
33075
33077
|
__decorateClass([
|
|
33076
33078
|
IsString476({ message: "debe ser un texto" }),
|
|
33077
33079
|
Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
33078
|
-
|
|
33080
|
+
IsOptional28(),
|
|
33079
33081
|
Expose589()
|
|
33080
33082
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
33081
33083
|
__decorateClass([
|
|
@@ -33191,7 +33193,7 @@ __decorateClass([
|
|
|
33191
33193
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
33192
33194
|
__decorateClass([
|
|
33193
33195
|
IsString476({ message: "debe ser un texto" }),
|
|
33194
|
-
|
|
33196
|
+
IsOptional28(),
|
|
33195
33197
|
Expose589()
|
|
33196
33198
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
33197
33199
|
__decorateClass([
|
|
@@ -33266,7 +33268,7 @@ __decorateClass([
|
|
|
33266
33268
|
|
|
33267
33269
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
33268
33270
|
import { Expose as Expose594, Type as Type386 } from "class-transformer";
|
|
33269
|
-
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
|
|
33271
|
+
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 IsOptional29 } from "class-validator";
|
|
33270
33272
|
|
|
33271
33273
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
33272
33274
|
import { Expose as Expose590 } from "class-transformer";
|
|
@@ -33524,7 +33526,7 @@ __decorateClass([
|
|
|
33524
33526
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
33525
33527
|
__decorateClass([
|
|
33526
33528
|
IsString481({ message: "debe ser un texto" }),
|
|
33527
|
-
|
|
33529
|
+
IsOptional29(),
|
|
33528
33530
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
33529
33531
|
Expose594()
|
|
33530
33532
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -36266,7 +36268,7 @@ __decorateClass([
|
|
|
36266
36268
|
|
|
36267
36269
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
36268
36270
|
import { Expose as Expose629 } from "class-transformer";
|
|
36269
|
-
import { IsNumber as IsNumber394, IsOptional as
|
|
36271
|
+
import { IsNumber as IsNumber394, IsOptional as IsOptional30, IsString as IsString512 } from "class-validator";
|
|
36270
36272
|
import "reflect-metadata";
|
|
36271
36273
|
var ValorizacionPeruTOADTO = class {
|
|
36272
36274
|
pbBase = 0;
|
|
@@ -36280,35 +36282,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
36280
36282
|
__decorateClass([
|
|
36281
36283
|
Expose629(),
|
|
36282
36284
|
IsNumber394(),
|
|
36283
|
-
|
|
36285
|
+
IsOptional30()
|
|
36284
36286
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
36285
36287
|
__decorateClass([
|
|
36286
36288
|
Expose629(),
|
|
36287
36289
|
IsNumber394(),
|
|
36288
|
-
|
|
36290
|
+
IsOptional30()
|
|
36289
36291
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
36290
36292
|
__decorateClass([
|
|
36291
36293
|
Expose629(),
|
|
36292
|
-
|
|
36294
|
+
IsOptional30()
|
|
36293
36295
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
36294
36296
|
__decorateClass([
|
|
36295
36297
|
Expose629(),
|
|
36296
|
-
|
|
36298
|
+
IsOptional30()
|
|
36297
36299
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
36298
36300
|
__decorateClass([
|
|
36299
36301
|
Expose629(),
|
|
36300
36302
|
IsString512(),
|
|
36301
|
-
|
|
36303
|
+
IsOptional30()
|
|
36302
36304
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
36303
36305
|
__decorateClass([
|
|
36304
36306
|
Expose629(),
|
|
36305
36307
|
IsString512(),
|
|
36306
|
-
|
|
36308
|
+
IsOptional30()
|
|
36307
36309
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
36308
36310
|
__decorateClass([
|
|
36309
36311
|
Expose629(),
|
|
36310
36312
|
IsString512(),
|
|
36311
|
-
|
|
36313
|
+
IsOptional30()
|
|
36312
36314
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
36313
36315
|
|
|
36314
36316
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -36354,7 +36356,7 @@ import "reflect-metadata";
|
|
|
36354
36356
|
|
|
36355
36357
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
36356
36358
|
import { Expose as Expose631, Type as Type400 } from "class-transformer";
|
|
36357
|
-
import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as
|
|
36359
|
+
import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional31, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
|
|
36358
36360
|
var AjusteReprocesoDTO = class {
|
|
36359
36361
|
PB;
|
|
36360
36362
|
MO;
|
|
@@ -36370,58 +36372,58 @@ var AjusteReprocesoDTO = class {
|
|
|
36370
36372
|
};
|
|
36371
36373
|
__decorateClass([
|
|
36372
36374
|
Expose631(),
|
|
36373
|
-
|
|
36375
|
+
IsOptional31(),
|
|
36374
36376
|
IsNumber395()
|
|
36375
36377
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
36376
36378
|
__decorateClass([
|
|
36377
36379
|
Expose631(),
|
|
36378
|
-
|
|
36380
|
+
IsOptional31(),
|
|
36379
36381
|
IsNumber395()
|
|
36380
36382
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
36381
36383
|
__decorateClass([
|
|
36382
36384
|
Expose631(),
|
|
36383
|
-
|
|
36385
|
+
IsOptional31(),
|
|
36384
36386
|
IsNumber395()
|
|
36385
36387
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
36386
36388
|
__decorateClass([
|
|
36387
36389
|
Expose631(),
|
|
36388
|
-
|
|
36390
|
+
IsOptional31(),
|
|
36389
36391
|
IsString514()
|
|
36390
36392
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
36391
36393
|
__decorateClass([
|
|
36392
36394
|
Expose631(),
|
|
36393
|
-
|
|
36395
|
+
IsOptional31(),
|
|
36394
36396
|
IsString514()
|
|
36395
36397
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
36396
36398
|
__decorateClass([
|
|
36397
36399
|
Expose631(),
|
|
36398
|
-
|
|
36400
|
+
IsOptional31(),
|
|
36399
36401
|
ValidateNested351(),
|
|
36400
36402
|
Type400(() => EECCDBTOADTO)
|
|
36401
36403
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
36402
36404
|
__decorateClass([
|
|
36403
36405
|
Expose631(),
|
|
36404
|
-
|
|
36406
|
+
IsOptional31(),
|
|
36405
36407
|
IsNumber395()
|
|
36406
36408
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
36407
36409
|
__decorateClass([
|
|
36408
36410
|
Expose631(),
|
|
36409
|
-
|
|
36411
|
+
IsOptional31(),
|
|
36410
36412
|
IsString514()
|
|
36411
36413
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
36412
36414
|
__decorateClass([
|
|
36413
36415
|
Expose631(),
|
|
36414
|
-
|
|
36416
|
+
IsOptional31(),
|
|
36415
36417
|
IsString514()
|
|
36416
36418
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
36417
36419
|
__decorateClass([
|
|
36418
36420
|
Expose631(),
|
|
36419
|
-
|
|
36421
|
+
IsOptional31(),
|
|
36420
36422
|
IsNumber395()
|
|
36421
36423
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
36422
36424
|
__decorateClass([
|
|
36423
36425
|
Expose631(),
|
|
36424
|
-
|
|
36426
|
+
IsOptional31(),
|
|
36425
36427
|
IsDate148(),
|
|
36426
36428
|
Type400(() => Date)
|
|
36427
36429
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -37519,7 +37521,7 @@ import { Expose as Expose648, Transform as Transform77, Type as Type405 } from "
|
|
|
37519
37521
|
|
|
37520
37522
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
37521
37523
|
import { Expose as Expose640, Transform as Transform73 } from "class-transformer";
|
|
37522
|
-
import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as
|
|
37524
|
+
import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional33, IsString as IsString523 } from "class-validator";
|
|
37523
37525
|
|
|
37524
37526
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
37525
37527
|
function formatDateOnnetFibra(date) {
|
|
@@ -37585,13 +37587,13 @@ __decorateClass([
|
|
|
37585
37587
|
Expose640()
|
|
37586
37588
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
37587
37589
|
__decorateClass([
|
|
37588
|
-
|
|
37590
|
+
IsOptional33(),
|
|
37589
37591
|
Transform73(({ value }) => value ? String(value) : ""),
|
|
37590
37592
|
IsString523({ message: "El campo lt debe ser una cadena de texto" }),
|
|
37591
37593
|
Expose640()
|
|
37592
37594
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
37593
37595
|
__decorateClass([
|
|
37594
|
-
|
|
37596
|
+
IsOptional33(),
|
|
37595
37597
|
IsNumber401({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
37596
37598
|
Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37597
37599
|
Expose640()
|
|
@@ -37602,7 +37604,7 @@ __decorateClass([
|
|
|
37602
37604
|
Expose640()
|
|
37603
37605
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
37604
37606
|
__decorateClass([
|
|
37605
|
-
|
|
37607
|
+
IsOptional33(),
|
|
37606
37608
|
IsNumber401({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
37607
37609
|
Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37608
37610
|
Expose640()
|
|
@@ -37638,13 +37640,13 @@ __decorateClass([
|
|
|
37638
37640
|
Expose640()
|
|
37639
37641
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
37640
37642
|
__decorateClass([
|
|
37641
|
-
|
|
37643
|
+
IsOptional33(),
|
|
37642
37644
|
IsString523({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
37643
37645
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37644
37646
|
Expose640()
|
|
37645
37647
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
37646
37648
|
__decorateClass([
|
|
37647
|
-
|
|
37649
|
+
IsOptional33(),
|
|
37648
37650
|
IsString523({ message: "El campo olt debe ser una cadena de texto" }),
|
|
37649
37651
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37650
37652
|
Expose640()
|
|
@@ -37700,7 +37702,7 @@ __decorateClass([
|
|
|
37700
37702
|
Expose640()
|
|
37701
37703
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
37702
37704
|
__decorateClass([
|
|
37703
|
-
|
|
37705
|
+
IsOptional33(),
|
|
37704
37706
|
Transform73(({ value }) => formatDateOnnetFibra(value)),
|
|
37705
37707
|
IsDate151({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
37706
37708
|
Expose640()
|
|
@@ -37721,30 +37723,30 @@ __decorateClass([
|
|
|
37721
37723
|
Expose640()
|
|
37722
37724
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
37723
37725
|
__decorateClass([
|
|
37724
|
-
|
|
37726
|
+
IsOptional33(),
|
|
37725
37727
|
IsString523({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
37726
37728
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37727
37729
|
Expose640()
|
|
37728
37730
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
37729
37731
|
__decorateClass([
|
|
37730
|
-
|
|
37732
|
+
IsOptional33(),
|
|
37731
37733
|
IsString523({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
37732
37734
|
Expose640()
|
|
37733
37735
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
37734
37736
|
__decorateClass([
|
|
37735
|
-
|
|
37737
|
+
IsOptional33({ message: "El campo cliente es opcional" }),
|
|
37736
37738
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37737
37739
|
IsString523({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
37738
37740
|
Expose640()
|
|
37739
37741
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
37740
37742
|
__decorateClass([
|
|
37741
|
-
|
|
37743
|
+
IsOptional33({ message: "El campo comuna es opcional" }),
|
|
37742
37744
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37743
37745
|
IsString523({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
37744
37746
|
Expose640()
|
|
37745
37747
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
37746
37748
|
__decorateClass([
|
|
37747
|
-
|
|
37749
|
+
IsOptional33({ message: "El campo pep es opcional" }),
|
|
37748
37750
|
IsString523({ message: "El campo pep debe ser una cadena de texto" }),
|
|
37749
37751
|
Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37750
37752
|
Expose640()
|
|
@@ -37754,38 +37756,38 @@ __decorateClass([
|
|
|
37754
37756
|
Expose640()
|
|
37755
37757
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
37756
37758
|
__decorateClass([
|
|
37757
|
-
|
|
37759
|
+
IsOptional33({ message: "El campo proyecto es opcional" }),
|
|
37758
37760
|
IsString523({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
37759
37761
|
Expose640()
|
|
37760
37762
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
37761
37763
|
__decorateClass([
|
|
37762
|
-
|
|
37764
|
+
IsOptional33({ message: "El campo producto es opcional" }),
|
|
37763
37765
|
IsString523({ message: "El campo producto debe ser una cadena de texto" }),
|
|
37764
37766
|
Expose640()
|
|
37765
37767
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
37766
37768
|
__decorateClass([
|
|
37767
|
-
|
|
37769
|
+
IsOptional33({ message: "El campo sub_tipo_orden es opcional" }),
|
|
37768
37770
|
IsString523({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
37769
37771
|
Expose640()
|
|
37770
37772
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
37771
37773
|
__decorateClass([
|
|
37772
|
-
|
|
37774
|
+
IsOptional33({ message: "El campo nombre_tecnico es opcional" }),
|
|
37773
37775
|
IsString523({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
37774
37776
|
Expose640()
|
|
37775
37777
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
37776
37778
|
__decorateClass([
|
|
37777
|
-
|
|
37779
|
+
IsOptional33(),
|
|
37778
37780
|
IsNumber401({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
37779
37781
|
Transform73(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
37780
37782
|
Expose640()
|
|
37781
37783
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
37782
37784
|
__decorateClass([
|
|
37783
|
-
|
|
37785
|
+
IsOptional33({ message: "El campo sintoma es opcional" }),
|
|
37784
37786
|
IsNumber401({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
37785
37787
|
Expose640()
|
|
37786
37788
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
37787
37789
|
__decorateClass([
|
|
37788
|
-
|
|
37790
|
+
IsOptional33({ message: "El campo mensaje_contingencia es opcional" }),
|
|
37789
37791
|
IsString523({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
37790
37792
|
Expose640()
|
|
37791
37793
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -37940,7 +37942,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
|
|
|
37940
37942
|
|
|
37941
37943
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
37942
37944
|
import { Expose as Expose643, Transform as Transform75, Type as Type403 } from "class-transformer";
|
|
37943
|
-
import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as
|
|
37945
|
+
import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional34, IsString as IsString526 } from "class-validator";
|
|
37944
37946
|
var DetalleOrdenRealDTO = class {
|
|
37945
37947
|
descripcion = "";
|
|
37946
37948
|
tipo = "";
|
|
@@ -37987,7 +37989,7 @@ __decorateClass([
|
|
|
37987
37989
|
Expose643()
|
|
37988
37990
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
37989
37991
|
__decorateClass([
|
|
37990
|
-
|
|
37992
|
+
IsOptional34({ message: "El campo tecnico es requerido" }),
|
|
37991
37993
|
IsString526({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
37992
37994
|
Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37993
37995
|
Expose643()
|
|
@@ -38002,14 +38004,14 @@ __decorateClass([
|
|
|
38002
38004
|
Expose643()
|
|
38003
38005
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
38004
38006
|
__decorateClass([
|
|
38005
|
-
|
|
38007
|
+
IsOptional34({ message: "El campo contrato es opcional" }),
|
|
38006
38008
|
IsString526({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
38007
38009
|
Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38008
38010
|
Expose643()
|
|
38009
38011
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
38010
38012
|
__decorateClass([
|
|
38011
38013
|
Type403(() => CodigoNombreDTO),
|
|
38012
|
-
|
|
38014
|
+
IsOptional34(),
|
|
38013
38015
|
Transform75(({ value }) => value ?? new CodigoNombreDTO()),
|
|
38014
38016
|
Expose643()
|
|
38015
38017
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -41492,7 +41494,7 @@ __decorateClass([
|
|
|
41492
41494
|
|
|
41493
41495
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
41494
41496
|
import { Expose as Expose669, Type as Type421 } from "class-transformer";
|
|
41495
|
-
import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as
|
|
41497
|
+
import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional36, IsString as IsString552 } from "class-validator";
|
|
41496
41498
|
var OrdenesInstalacionDTO = class {
|
|
41497
41499
|
EMPRESA = "";
|
|
41498
41500
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -41681,25 +41683,25 @@ __decorateClass([
|
|
|
41681
41683
|
__decorateClass([
|
|
41682
41684
|
Expose669(),
|
|
41683
41685
|
ForceString(),
|
|
41684
|
-
|
|
41686
|
+
IsOptional36(),
|
|
41685
41687
|
IsString552()
|
|
41686
41688
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
41687
41689
|
__decorateClass([
|
|
41688
41690
|
Expose669(),
|
|
41689
41691
|
ForceString(),
|
|
41690
|
-
|
|
41692
|
+
IsOptional36(),
|
|
41691
41693
|
IsString552()
|
|
41692
41694
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
41693
41695
|
__decorateClass([
|
|
41694
41696
|
Expose669(),
|
|
41695
41697
|
ForceString(),
|
|
41696
|
-
|
|
41698
|
+
IsOptional36(),
|
|
41697
41699
|
IsString552()
|
|
41698
41700
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
41699
41701
|
|
|
41700
41702
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
41701
41703
|
import { Expose as Expose670 } from "class-transformer";
|
|
41702
|
-
import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as
|
|
41704
|
+
import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional37, IsString as IsString553 } from "class-validator";
|
|
41703
41705
|
var ReclamosDistribuidorDTO = class {
|
|
41704
41706
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
41705
41707
|
PERMISOR = 0;
|
|
@@ -41857,7 +41859,7 @@ __decorateClass([
|
|
|
41857
41859
|
__decorateClass([
|
|
41858
41860
|
Expose670(),
|
|
41859
41861
|
ForceString(),
|
|
41860
|
-
|
|
41862
|
+
IsOptional37(),
|
|
41861
41863
|
IsString553()
|
|
41862
41864
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
41863
41865
|
__decorateClass([
|
|
@@ -42318,7 +42320,7 @@ __decorateClass([
|
|
|
42318
42320
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
42319
42321
|
|
|
42320
42322
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
42321
|
-
import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as
|
|
42323
|
+
import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional38, IsString as IsString556 } from "class-validator";
|
|
42322
42324
|
import { Expose as Expose673, Type as Type422 } from "class-transformer";
|
|
42323
42325
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
42324
42326
|
EMPRESA = "";
|
|
@@ -42508,19 +42510,19 @@ __decorateClass([
|
|
|
42508
42510
|
__decorateClass([
|
|
42509
42511
|
Expose673(),
|
|
42510
42512
|
ForceString(),
|
|
42511
|
-
|
|
42513
|
+
IsOptional38(),
|
|
42512
42514
|
IsString556()
|
|
42513
42515
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
42514
42516
|
__decorateClass([
|
|
42515
42517
|
Expose673(),
|
|
42516
42518
|
ForceString(),
|
|
42517
|
-
|
|
42519
|
+
IsOptional38(),
|
|
42518
42520
|
IsString556()
|
|
42519
42521
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
42520
42522
|
__decorateClass([
|
|
42521
42523
|
Expose673(),
|
|
42522
42524
|
ForceString(),
|
|
42523
|
-
|
|
42525
|
+
IsOptional38(),
|
|
42524
42526
|
IsString556()
|
|
42525
42527
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
42526
42528
|
|
|
@@ -43439,7 +43441,7 @@ __decorateClass([
|
|
|
43439
43441
|
|
|
43440
43442
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
43441
43443
|
import { Expose as Expose682 } from "class-transformer";
|
|
43442
|
-
import { IsNumber as IsNumber440, IsOptional as
|
|
43444
|
+
import { IsNumber as IsNumber440, IsOptional as IsOptional39 } from "class-validator";
|
|
43443
43445
|
import "reflect-metadata";
|
|
43444
43446
|
var ValorizacionSomacylDTO = class {
|
|
43445
43447
|
pbBase = 0;
|
|
@@ -43448,12 +43450,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
43448
43450
|
__decorateClass([
|
|
43449
43451
|
Expose682(),
|
|
43450
43452
|
IsNumber440(),
|
|
43451
|
-
|
|
43453
|
+
IsOptional39()
|
|
43452
43454
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
43453
43455
|
__decorateClass([
|
|
43454
43456
|
Expose682(),
|
|
43455
43457
|
IsNumber440(),
|
|
43456
|
-
|
|
43458
|
+
IsOptional39()
|
|
43457
43459
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
43458
43460
|
|
|
43459
43461
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|