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