sigo-entities 1.2.67 → 1.2.69
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.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +660 -645
- package/dist/index.mjs +467 -453
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7487,7 +7487,6 @@ __decorateClass([
|
|
|
7487
7487
|
], ValorizacionDTO.prototype, "Decimales", 2);
|
|
7488
7488
|
__decorateClass([
|
|
7489
7489
|
IsString118({ message: "debe ser un texto" }),
|
|
7490
|
-
IsNotEmpty110({ message: "es requerido" }),
|
|
7491
7490
|
MinLength19(0, { message: "debe tener m\xEDnimo 0 caracteres" }),
|
|
7492
7491
|
Expose147()
|
|
7493
7492
|
], ValorizacionDTO.prototype, "Observaciones", 2);
|
|
@@ -33292,9 +33291,13 @@ __decorateClass([
|
|
|
33292
33291
|
], OnnetFibraENTITY.prototype, "DetailMaintenanceOrder", 2);
|
|
33293
33292
|
|
|
33294
33293
|
// src/operativa/procesos/TOA order stock/shared/index.ts
|
|
33294
|
+
import { Expose as Expose548 } from "class-transformer";
|
|
33295
|
+
import { IsDefined as IsDefined156, IsNumber as IsNumber362 } from "class-validator";
|
|
33296
|
+
|
|
33297
|
+
// src/operativa/procesos/order stock/shared/index.ts
|
|
33295
33298
|
import { Expose as Expose547, Type as Type355 } from "class-transformer";
|
|
33296
33299
|
import { IsArray as IsArray181, IsDefined as IsDefined155, IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty374, IsNumber as IsNumber361, IsString as IsString444, IsUUID as IsUUID2, MaxLength as MaxLength2, ValidateNested as ValidateNested316 } from "class-validator";
|
|
33297
|
-
var
|
|
33300
|
+
var OrderStockENTITY = class {
|
|
33298
33301
|
_id;
|
|
33299
33302
|
id_recurso;
|
|
33300
33303
|
itemCode;
|
|
@@ -33310,62 +33313,72 @@ __decorateClass([
|
|
|
33310
33313
|
IsDefined155({ message: "El campo _id es obligatorio." }),
|
|
33311
33314
|
IsUUID2("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
33312
33315
|
Expose547({ name: "_id" })
|
|
33313
|
-
],
|
|
33316
|
+
], OrderStockENTITY.prototype, "_id", 2);
|
|
33314
33317
|
__decorateClass([
|
|
33315
33318
|
Expose547({ name: "id_recurso" }),
|
|
33316
33319
|
IsDefined155({ message: "El campo ID Recurso es obligatorio." }),
|
|
33317
33320
|
IsString444()
|
|
33318
|
-
],
|
|
33321
|
+
], OrderStockENTITY.prototype, "id_recurso", 2);
|
|
33319
33322
|
__decorateClass([
|
|
33320
33323
|
IsDefined155({ message: "El campo itemCode es obligatorio" }),
|
|
33321
33324
|
IsString444({ message: "El campo itemCode debe ser una cadena de texto v\xE1lida" }),
|
|
33322
33325
|
MaxLength2(50, { message: "El campo itemCode no puede superar los 50 caracteres" }),
|
|
33323
33326
|
IsNotEmpty374({ message: "El campo itemCode no puede estar vac\xEDo" }),
|
|
33324
33327
|
Expose547({ name: "codigo" })
|
|
33325
|
-
],
|
|
33328
|
+
], OrderStockENTITY.prototype, "itemCode", 2);
|
|
33326
33329
|
__decorateClass([
|
|
33327
33330
|
IsString444({ message: "El campo lot debe ser una cadena de texto v\xE1lida" }),
|
|
33328
33331
|
MaxLength2(100, { message: "El campo lot no puede superar los 100 caracteres" }),
|
|
33329
33332
|
Expose547({ name: "lote" })
|
|
33330
|
-
],
|
|
33333
|
+
], OrderStockENTITY.prototype, "lot", 2);
|
|
33331
33334
|
__decorateClass([
|
|
33332
33335
|
IsDefined155({ message: "El campo serial es obligatorio." }),
|
|
33333
33336
|
IsString444({ message: "El campo serial debe ser una cadena de texto" }),
|
|
33334
33337
|
Expose547({ name: "invsn" })
|
|
33335
|
-
],
|
|
33338
|
+
], OrderStockENTITY.prototype, "serial", 2);
|
|
33336
33339
|
__decorateClass([
|
|
33337
33340
|
Expose547({ name: "cantidad" }),
|
|
33338
33341
|
IsDefined155({ message: "El campo quantity es obligatorio." }),
|
|
33339
33342
|
IsNumber361()
|
|
33340
|
-
],
|
|
33343
|
+
], OrderStockENTITY.prototype, "quantity", 2);
|
|
33341
33344
|
__decorateClass([
|
|
33342
33345
|
Expose547({ name: "numero_de_peticion" }),
|
|
33343
33346
|
IsDefined155({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
33344
33347
|
IsString444()
|
|
33345
|
-
],
|
|
33348
|
+
], OrderStockENTITY.prototype, "numero_de_peticion", 2);
|
|
33346
33349
|
__decorateClass([
|
|
33347
33350
|
IsDefined155({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
33348
33351
|
IsArray181({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
33349
33352
|
ValidateNested316({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
33350
33353
|
Type355(() => StockQuantityEmployeeDTO),
|
|
33351
33354
|
Expose547({ name: "stock_quantity_employee" })
|
|
33352
|
-
],
|
|
33355
|
+
], OrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
33353
33356
|
__decorateClass([
|
|
33354
33357
|
IsDefined155({ message: "El campo estado consumo es obligatorio." }),
|
|
33355
33358
|
Expose547({ name: "state_consumption" }),
|
|
33356
33359
|
IsEnum20(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
33357
|
-
],
|
|
33360
|
+
], OrderStockENTITY.prototype, "state_consumption", 2);
|
|
33358
33361
|
__decorateClass([
|
|
33359
33362
|
IsDefined155({ message: "El campo estado reposicion es obligatorio." }),
|
|
33360
33363
|
Expose547({ name: "state_replacement" }),
|
|
33361
33364
|
IsEnum20(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
33362
|
-
],
|
|
33365
|
+
], OrderStockENTITY.prototype, "state_replacement", 2);
|
|
33366
|
+
|
|
33367
|
+
// src/operativa/procesos/TOA order stock/shared/index.ts
|
|
33368
|
+
var TOAOrderStockENTITY = class extends OrderStockENTITY {
|
|
33369
|
+
quantity_consume;
|
|
33370
|
+
};
|
|
33371
|
+
__decorateClass([
|
|
33372
|
+
Expose548({ name: "quantity_consume" }),
|
|
33373
|
+
IsDefined156({ message: "El campo quantity consume es obligatorio." }),
|
|
33374
|
+
IsNumber362()
|
|
33375
|
+
], TOAOrderStockENTITY.prototype, "quantity_consume", 2);
|
|
33363
33376
|
|
|
33364
33377
|
// src/operativa/procesos/request number TTL/shared/index.ts
|
|
33365
|
-
import { Expose as
|
|
33378
|
+
import { Expose as Expose549, Type as Type356 } from "class-transformer";
|
|
33366
33379
|
import {
|
|
33367
33380
|
IsString as IsString445,
|
|
33368
|
-
IsDefined as
|
|
33381
|
+
IsDefined as IsDefined157,
|
|
33369
33382
|
MinLength as MinLength45,
|
|
33370
33383
|
IsUUID as IsUUID3,
|
|
33371
33384
|
IsDate as IsDate132
|
|
@@ -33376,42 +33389,42 @@ var RequestNumberTTLENTITY = class {
|
|
|
33376
33389
|
createdAt = /* @__PURE__ */ new Date();
|
|
33377
33390
|
};
|
|
33378
33391
|
__decorateClass([
|
|
33379
|
-
|
|
33392
|
+
IsDefined157({ message: "El campo _id es obligatorio." }),
|
|
33380
33393
|
IsUUID3("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
33381
|
-
|
|
33394
|
+
Expose549({ name: "_id" })
|
|
33382
33395
|
], RequestNumberTTLENTITY.prototype, "_id", 2);
|
|
33383
33396
|
__decorateClass([
|
|
33384
|
-
|
|
33397
|
+
IsDefined157({ message: "numero_de_peticion es obligatorio" }),
|
|
33385
33398
|
IsString445({ message: "numero_de_peticion debe ser una cadena de texto v\xE1lida" }),
|
|
33386
33399
|
MinLength45(1, { message: "numero_de_peticion no puede estar vacio" }),
|
|
33387
|
-
|
|
33400
|
+
Expose549({ name: "numero_de_peticion" })
|
|
33388
33401
|
], RequestNumberTTLENTITY.prototype, "numero_de_peticion", 2);
|
|
33389
33402
|
__decorateClass([
|
|
33390
|
-
|
|
33403
|
+
IsDefined157({ message: "createdAt es obligatoria" }),
|
|
33391
33404
|
IsDate132({ message: "createdAt debe ser una fecha v\xE1lida" }),
|
|
33392
33405
|
Type356(() => Date),
|
|
33393
|
-
|
|
33406
|
+
Expose549({ name: "createdAt" })
|
|
33394
33407
|
], RequestNumberTTLENTITY.prototype, "createdAt", 2);
|
|
33395
33408
|
|
|
33396
33409
|
// src/operativa/procesos/win_order/shared/index.ts
|
|
33397
|
-
import { Expose as
|
|
33410
|
+
import { Expose as Expose553, Type as Type360 } from "class-transformer";
|
|
33398
33411
|
import {
|
|
33399
|
-
IsDefined as
|
|
33412
|
+
IsDefined as IsDefined161,
|
|
33400
33413
|
IsString as IsString449,
|
|
33401
33414
|
ValidateNested as ValidateNested319,
|
|
33402
33415
|
IsArray as IsArray184,
|
|
33403
33416
|
IsDate as IsDate136,
|
|
33404
33417
|
IsEnum as IsEnum23,
|
|
33405
|
-
IsNumber as
|
|
33418
|
+
IsNumber as IsNumber366
|
|
33406
33419
|
} from "class-validator";
|
|
33407
33420
|
import "reflect-metadata";
|
|
33408
33421
|
|
|
33409
33422
|
// src/operativa/procesos/win_order/shared/dto/index.ts
|
|
33410
|
-
import { Expose as
|
|
33423
|
+
import { Expose as Expose550 } from "class-transformer";
|
|
33411
33424
|
import {
|
|
33412
|
-
IsDefined as
|
|
33425
|
+
IsDefined as IsDefined158,
|
|
33413
33426
|
IsString as IsString446,
|
|
33414
|
-
IsNumber as
|
|
33427
|
+
IsNumber as IsNumber363,
|
|
33415
33428
|
IsDate as IsDate133
|
|
33416
33429
|
} from "class-validator";
|
|
33417
33430
|
import "reflect-metadata";
|
|
@@ -33430,63 +33443,63 @@ var UbicacionwinDTO = class {
|
|
|
33430
33443
|
ubicacion = "";
|
|
33431
33444
|
};
|
|
33432
33445
|
__decorateClass([
|
|
33433
|
-
|
|
33434
|
-
|
|
33446
|
+
Expose550({ name: "Direcci\xF3n" }),
|
|
33447
|
+
IsDefined158({ message: "El campo Direcci\xF3n es obligatorio." }),
|
|
33435
33448
|
IsString446()
|
|
33436
33449
|
], UbicacionwinDTO.prototype, "direccion", 2);
|
|
33437
33450
|
__decorateClass([
|
|
33438
|
-
|
|
33439
|
-
|
|
33451
|
+
Expose550({ name: "C\xF3digo Postal" }),
|
|
33452
|
+
IsDefined158({ message: "El campo C\xF3digo Postal es obligatorio." }),
|
|
33440
33453
|
IsString446()
|
|
33441
33454
|
], UbicacionwinDTO.prototype, "codigo_postal", 2);
|
|
33442
33455
|
__decorateClass([
|
|
33443
|
-
|
|
33444
|
-
|
|
33456
|
+
Expose550({ name: "Georeferencia" }),
|
|
33457
|
+
IsDefined158({ message: "El campo Georeferencia es obligatorio." }),
|
|
33445
33458
|
IsString446()
|
|
33446
33459
|
], UbicacionwinDTO.prototype, "georeferencia", 2);
|
|
33447
33460
|
__decorateClass([
|
|
33448
|
-
|
|
33449
|
-
|
|
33461
|
+
Expose550({ name: "Sector Operativo" }),
|
|
33462
|
+
IsDefined158({ message: "El campo Sector Operativo es obligatorio." }),
|
|
33450
33463
|
IsString446()
|
|
33451
33464
|
], UbicacionwinDTO.prototype, "sector_operativo", 2);
|
|
33452
33465
|
__decorateClass([
|
|
33453
|
-
|
|
33454
|
-
|
|
33466
|
+
Expose550({ name: "Region" }),
|
|
33467
|
+
IsDefined158({ message: "El campo Region es obligatorio." }),
|
|
33455
33468
|
IsString446()
|
|
33456
33469
|
], UbicacionwinDTO.prototype, "region", 2);
|
|
33457
33470
|
__decorateClass([
|
|
33458
|
-
|
|
33459
|
-
|
|
33471
|
+
Expose550({ name: "Zona" }),
|
|
33472
|
+
IsDefined158({ message: "El campo Zona es obligatorio." }),
|
|
33460
33473
|
IsString446()
|
|
33461
33474
|
], UbicacionwinDTO.prototype, "zona", 2);
|
|
33462
33475
|
__decorateClass([
|
|
33463
|
-
|
|
33464
|
-
|
|
33476
|
+
Expose550({ name: "Localidad_1" }),
|
|
33477
|
+
IsDefined158({ message: "El campo Localidad_1 es obligatorio." }),
|
|
33465
33478
|
IsString446()
|
|
33466
33479
|
], UbicacionwinDTO.prototype, "localidad_1", 2);
|
|
33467
33480
|
__decorateClass([
|
|
33468
|
-
|
|
33469
|
-
|
|
33481
|
+
Expose550({ name: "Localidad_2" }),
|
|
33482
|
+
IsDefined158({ message: "El campo Localidad_2 es obligatorio." }),
|
|
33470
33483
|
IsString446()
|
|
33471
33484
|
], UbicacionwinDTO.prototype, "localidad_2", 2);
|
|
33472
33485
|
__decorateClass([
|
|
33473
|
-
|
|
33474
|
-
|
|
33486
|
+
Expose550({ name: "Pais" }),
|
|
33487
|
+
IsDefined158({ message: "El campo Pais es obligatorio." }),
|
|
33475
33488
|
IsString446()
|
|
33476
33489
|
], UbicacionwinDTO.prototype, "pais", 2);
|
|
33477
33490
|
__decorateClass([
|
|
33478
|
-
|
|
33479
|
-
|
|
33491
|
+
Expose550({ name: "Empresa" }),
|
|
33492
|
+
IsDefined158({ message: "El campo Empresa es obligatorio." }),
|
|
33480
33493
|
IsString446()
|
|
33481
33494
|
], UbicacionwinDTO.prototype, "empresa", 2);
|
|
33482
33495
|
__decorateClass([
|
|
33483
|
-
|
|
33484
|
-
|
|
33496
|
+
Expose550({ name: "Tipo Ubicaci\xF3n" }),
|
|
33497
|
+
IsDefined158({ message: "El campo Tipo Ubicaci\xF3n es obligatorio." }),
|
|
33485
33498
|
IsString446()
|
|
33486
33499
|
], UbicacionwinDTO.prototype, "tipo_de_vivienda", 2);
|
|
33487
33500
|
__decorateClass([
|
|
33488
|
-
|
|
33489
|
-
|
|
33501
|
+
Expose550({ name: "Ubicaci\xF3n" }),
|
|
33502
|
+
IsDefined158({ message: "El campo Ubicaci\xF3n es obligatorio." }),
|
|
33490
33503
|
IsString446()
|
|
33491
33504
|
], UbicacionwinDTO.prototype, "ubicacion", 2);
|
|
33492
33505
|
var MaterialeswinDTO = class {
|
|
@@ -33497,28 +33510,28 @@ var MaterialeswinDTO = class {
|
|
|
33497
33510
|
invpool = "";
|
|
33498
33511
|
};
|
|
33499
33512
|
__decorateClass([
|
|
33500
|
-
|
|
33501
|
-
|
|
33513
|
+
Expose550({ name: "code" }),
|
|
33514
|
+
IsDefined158({ message: "El campo code es obligatorio." }),
|
|
33502
33515
|
IsString446()
|
|
33503
33516
|
], MaterialeswinDTO.prototype, "codigo", 2);
|
|
33504
33517
|
__decorateClass([
|
|
33505
|
-
|
|
33506
|
-
|
|
33518
|
+
Expose550({ name: "description" }),
|
|
33519
|
+
IsDefined158({ message: "El campo description es obligatorio." }),
|
|
33507
33520
|
IsString446()
|
|
33508
33521
|
], MaterialeswinDTO.prototype, "descripcion", 2);
|
|
33509
33522
|
__decorateClass([
|
|
33510
|
-
|
|
33511
|
-
|
|
33512
|
-
|
|
33523
|
+
Expose550({ name: "quantity" }),
|
|
33524
|
+
IsDefined158({ message: "El campo quantity es obligatorio." }),
|
|
33525
|
+
IsNumber363()
|
|
33513
33526
|
], MaterialeswinDTO.prototype, "cantidad", 2);
|
|
33514
33527
|
__decorateClass([
|
|
33515
|
-
|
|
33516
|
-
|
|
33528
|
+
Expose550({ name: "invsn" }),
|
|
33529
|
+
IsDefined158({ message: "El campo invsn es obligatorio." }),
|
|
33517
33530
|
IsString446()
|
|
33518
33531
|
], MaterialeswinDTO.prototype, "invsn", 2);
|
|
33519
33532
|
__decorateClass([
|
|
33520
|
-
|
|
33521
|
-
|
|
33533
|
+
Expose550({ name: "invpool" }),
|
|
33534
|
+
IsDefined158({ message: "El campo invpool es obligatorio." }),
|
|
33522
33535
|
IsString446()
|
|
33523
33536
|
], MaterialeswinDTO.prototype, "invpool", 2);
|
|
33524
33537
|
var HistorialEstadoswinDTO = class {
|
|
@@ -33528,23 +33541,23 @@ var HistorialEstadoswinDTO = class {
|
|
|
33528
33541
|
fecha = /* @__PURE__ */ new Date();
|
|
33529
33542
|
};
|
|
33530
33543
|
__decorateClass([
|
|
33531
|
-
|
|
33532
|
-
|
|
33544
|
+
Expose550({ name: "Estado" }),
|
|
33545
|
+
IsDefined158({ message: "El campo Estado es obligatorio." }),
|
|
33533
33546
|
IsString446()
|
|
33534
33547
|
], HistorialEstadoswinDTO.prototype, "estado", 2);
|
|
33535
33548
|
__decorateClass([
|
|
33536
|
-
|
|
33537
|
-
|
|
33549
|
+
Expose550({ name: "Usuario" }),
|
|
33550
|
+
IsDefined158({ message: "El campo Usuario es obligatorio." }),
|
|
33538
33551
|
IsString446()
|
|
33539
33552
|
], HistorialEstadoswinDTO.prototype, "usuario", 2);
|
|
33540
33553
|
__decorateClass([
|
|
33541
|
-
|
|
33542
|
-
|
|
33554
|
+
Expose550({ name: "Observacion" }),
|
|
33555
|
+
IsDefined158({ message: "El campo Observacion es obligatorio." }),
|
|
33543
33556
|
IsString446()
|
|
33544
33557
|
], HistorialEstadoswinDTO.prototype, "observacion", 2);
|
|
33545
33558
|
__decorateClass([
|
|
33546
|
-
|
|
33547
|
-
|
|
33559
|
+
Expose550({ name: "Fecha" }),
|
|
33560
|
+
IsDefined158({ message: "El campo Fecha es obligatorio." }),
|
|
33548
33561
|
IsDate133({ message: "debe ser una fecha" })
|
|
33549
33562
|
], HistorialEstadoswinDTO.prototype, "fecha", 2);
|
|
33550
33563
|
var StateWin = /* @__PURE__ */ ((StateWin2) => {
|
|
@@ -33559,24 +33572,24 @@ var StateWin = /* @__PURE__ */ ((StateWin2) => {
|
|
|
33559
33572
|
})(StateWin || {});
|
|
33560
33573
|
|
|
33561
33574
|
// src/operativa/procesos/win_order_db/shared/index.ts
|
|
33562
|
-
import { Expose as
|
|
33575
|
+
import { Expose as Expose552, Type as Type359 } from "class-transformer";
|
|
33563
33576
|
import {
|
|
33564
|
-
IsDefined as
|
|
33577
|
+
IsDefined as IsDefined160,
|
|
33565
33578
|
IsString as IsString448,
|
|
33566
33579
|
ValidateNested as ValidateNested318,
|
|
33567
33580
|
IsArray as IsArray183,
|
|
33568
33581
|
IsDate as IsDate135,
|
|
33569
33582
|
IsEnum as IsEnum22,
|
|
33570
|
-
IsNumber as
|
|
33583
|
+
IsNumber as IsNumber365
|
|
33571
33584
|
} from "class-validator";
|
|
33572
33585
|
import "reflect-metadata";
|
|
33573
33586
|
|
|
33574
33587
|
// src/operativa/procesos/win_order_db/shared/dto/index.ts
|
|
33575
|
-
import { Expose as
|
|
33588
|
+
import { Expose as Expose551 } from "class-transformer";
|
|
33576
33589
|
import {
|
|
33577
|
-
IsDefined as
|
|
33590
|
+
IsDefined as IsDefined159,
|
|
33578
33591
|
IsString as IsString447,
|
|
33579
|
-
IsNumber as
|
|
33592
|
+
IsNumber as IsNumber364,
|
|
33580
33593
|
IsDate as IsDate134
|
|
33581
33594
|
} from "class-validator";
|
|
33582
33595
|
import "reflect-metadata";
|
|
@@ -33595,63 +33608,63 @@ var UbicacionwinDBDTO = class {
|
|
|
33595
33608
|
ubicacion = "";
|
|
33596
33609
|
};
|
|
33597
33610
|
__decorateClass([
|
|
33598
|
-
|
|
33599
|
-
|
|
33611
|
+
Expose551(),
|
|
33612
|
+
IsDefined159({ message: "El campo direccion es obligatorio." }),
|
|
33600
33613
|
IsString447()
|
|
33601
33614
|
], UbicacionwinDBDTO.prototype, "direccion", 2);
|
|
33602
33615
|
__decorateClass([
|
|
33603
|
-
|
|
33604
|
-
|
|
33616
|
+
Expose551(),
|
|
33617
|
+
IsDefined159({ message: "El campo codigo_postal es obligatorio." }),
|
|
33605
33618
|
IsString447()
|
|
33606
33619
|
], UbicacionwinDBDTO.prototype, "codigo_postal", 2);
|
|
33607
33620
|
__decorateClass([
|
|
33608
|
-
|
|
33609
|
-
|
|
33621
|
+
Expose551(),
|
|
33622
|
+
IsDefined159({ message: "El campo georeferencia es obligatorio." }),
|
|
33610
33623
|
IsString447()
|
|
33611
33624
|
], UbicacionwinDBDTO.prototype, "georeferencia", 2);
|
|
33612
33625
|
__decorateClass([
|
|
33613
|
-
|
|
33614
|
-
|
|
33626
|
+
Expose551(),
|
|
33627
|
+
IsDefined159({ message: "El campo sector_operativo es obligatorio." }),
|
|
33615
33628
|
IsString447()
|
|
33616
33629
|
], UbicacionwinDBDTO.prototype, "sector_operativo", 2);
|
|
33617
33630
|
__decorateClass([
|
|
33618
|
-
|
|
33619
|
-
|
|
33631
|
+
Expose551(),
|
|
33632
|
+
IsDefined159({ message: "El campo region es obligatorio." }),
|
|
33620
33633
|
IsString447()
|
|
33621
33634
|
], UbicacionwinDBDTO.prototype, "region", 2);
|
|
33622
33635
|
__decorateClass([
|
|
33623
|
-
|
|
33624
|
-
|
|
33636
|
+
Expose551(),
|
|
33637
|
+
IsDefined159({ message: "El campo zona es obligatorio." }),
|
|
33625
33638
|
IsString447()
|
|
33626
33639
|
], UbicacionwinDBDTO.prototype, "zona", 2);
|
|
33627
33640
|
__decorateClass([
|
|
33628
|
-
|
|
33629
|
-
|
|
33641
|
+
Expose551(),
|
|
33642
|
+
IsDefined159({ message: "El campo localidad_1 es obligatorio." }),
|
|
33630
33643
|
IsString447()
|
|
33631
33644
|
], UbicacionwinDBDTO.prototype, "localidad_1", 2);
|
|
33632
33645
|
__decorateClass([
|
|
33633
|
-
|
|
33634
|
-
|
|
33646
|
+
Expose551(),
|
|
33647
|
+
IsDefined159({ message: "El campo localidad_2 es obligatorio." }),
|
|
33635
33648
|
IsString447()
|
|
33636
33649
|
], UbicacionwinDBDTO.prototype, "localidad_2", 2);
|
|
33637
33650
|
__decorateClass([
|
|
33638
|
-
|
|
33639
|
-
|
|
33651
|
+
Expose551(),
|
|
33652
|
+
IsDefined159({ message: "El campo pais es obligatorio." }),
|
|
33640
33653
|
IsString447()
|
|
33641
33654
|
], UbicacionwinDBDTO.prototype, "pais", 2);
|
|
33642
33655
|
__decorateClass([
|
|
33643
|
-
|
|
33644
|
-
|
|
33656
|
+
Expose551(),
|
|
33657
|
+
IsDefined159({ message: "El campo empresa es obligatorio." }),
|
|
33645
33658
|
IsString447()
|
|
33646
33659
|
], UbicacionwinDBDTO.prototype, "empresa", 2);
|
|
33647
33660
|
__decorateClass([
|
|
33648
|
-
|
|
33649
|
-
|
|
33661
|
+
Expose551(),
|
|
33662
|
+
IsDefined159({ message: "El campo tipo_de_vivienda es obligatorio." }),
|
|
33650
33663
|
IsString447()
|
|
33651
33664
|
], UbicacionwinDBDTO.prototype, "tipo_de_vivienda", 2);
|
|
33652
33665
|
__decorateClass([
|
|
33653
|
-
|
|
33654
|
-
|
|
33666
|
+
Expose551(),
|
|
33667
|
+
IsDefined159({ message: "El campo ubicacion es obligatorio." }),
|
|
33655
33668
|
IsString447()
|
|
33656
33669
|
], UbicacionwinDBDTO.prototype, "ubicacion", 2);
|
|
33657
33670
|
var MaterialeswinDBDTO = class {
|
|
@@ -33662,28 +33675,28 @@ var MaterialeswinDBDTO = class {
|
|
|
33662
33675
|
invpool = "";
|
|
33663
33676
|
};
|
|
33664
33677
|
__decorateClass([
|
|
33665
|
-
|
|
33666
|
-
|
|
33678
|
+
Expose551(),
|
|
33679
|
+
IsDefined159({ message: "El campo codigo es obligatorio." }),
|
|
33667
33680
|
IsString447()
|
|
33668
33681
|
], MaterialeswinDBDTO.prototype, "codigo", 2);
|
|
33669
33682
|
__decorateClass([
|
|
33670
|
-
|
|
33671
|
-
|
|
33683
|
+
Expose551(),
|
|
33684
|
+
IsDefined159({ message: "El campo descripcion es obligatorio." }),
|
|
33672
33685
|
IsString447()
|
|
33673
33686
|
], MaterialeswinDBDTO.prototype, "descripcion", 2);
|
|
33674
33687
|
__decorateClass([
|
|
33675
|
-
|
|
33676
|
-
|
|
33677
|
-
|
|
33688
|
+
Expose551(),
|
|
33689
|
+
IsDefined159({ message: "El campo cantidad es obligatorio." }),
|
|
33690
|
+
IsNumber364()
|
|
33678
33691
|
], MaterialeswinDBDTO.prototype, "cantidad", 2);
|
|
33679
33692
|
__decorateClass([
|
|
33680
|
-
|
|
33681
|
-
|
|
33693
|
+
Expose551(),
|
|
33694
|
+
IsDefined159({ message: "El campo invsn es obligatorio." }),
|
|
33682
33695
|
IsString447()
|
|
33683
33696
|
], MaterialeswinDBDTO.prototype, "invsn", 2);
|
|
33684
33697
|
__decorateClass([
|
|
33685
|
-
|
|
33686
|
-
|
|
33698
|
+
Expose551(),
|
|
33699
|
+
IsDefined159({ message: "El campo invpool es obligatorio." }),
|
|
33687
33700
|
IsString447()
|
|
33688
33701
|
], MaterialeswinDBDTO.prototype, "invpool", 2);
|
|
33689
33702
|
var HistorialEstadoswinDBDTO = class {
|
|
@@ -33693,23 +33706,23 @@ var HistorialEstadoswinDBDTO = class {
|
|
|
33693
33706
|
fecha = /* @__PURE__ */ new Date();
|
|
33694
33707
|
};
|
|
33695
33708
|
__decorateClass([
|
|
33696
|
-
|
|
33697
|
-
|
|
33709
|
+
Expose551(),
|
|
33710
|
+
IsDefined159({ message: "El campo estado es obligatorio." }),
|
|
33698
33711
|
IsString447()
|
|
33699
33712
|
], HistorialEstadoswinDBDTO.prototype, "estado", 2);
|
|
33700
33713
|
__decorateClass([
|
|
33701
|
-
|
|
33702
|
-
|
|
33714
|
+
Expose551(),
|
|
33715
|
+
IsDefined159({ message: "El campo usuario es obligatorio." }),
|
|
33703
33716
|
IsString447()
|
|
33704
33717
|
], HistorialEstadoswinDBDTO.prototype, "usuario", 2);
|
|
33705
33718
|
__decorateClass([
|
|
33706
|
-
|
|
33707
|
-
|
|
33719
|
+
Expose551(),
|
|
33720
|
+
IsDefined159({ message: "El campo observacion es obligatorio." }),
|
|
33708
33721
|
IsString447()
|
|
33709
33722
|
], HistorialEstadoswinDBDTO.prototype, "observacion", 2);
|
|
33710
33723
|
__decorateClass([
|
|
33711
|
-
|
|
33712
|
-
|
|
33724
|
+
Expose551(),
|
|
33725
|
+
IsDefined159({ message: "El campo fecha es obligatorio." }),
|
|
33713
33726
|
IsDate134({ message: "debe ser una fecha" })
|
|
33714
33727
|
], HistorialEstadoswinDBDTO.prototype, "fecha", 2);
|
|
33715
33728
|
var EECCDBWINDTO = class {
|
|
@@ -33717,11 +33730,11 @@ var EECCDBWINDTO = class {
|
|
|
33717
33730
|
RazonSocial = "";
|
|
33718
33731
|
};
|
|
33719
33732
|
__decorateClass([
|
|
33720
|
-
|
|
33733
|
+
Expose551(),
|
|
33721
33734
|
IsString447()
|
|
33722
33735
|
], EECCDBWINDTO.prototype, "RUC", 2);
|
|
33723
33736
|
__decorateClass([
|
|
33724
|
-
|
|
33737
|
+
Expose551(),
|
|
33725
33738
|
IsString447()
|
|
33726
33739
|
], EECCDBWINDTO.prototype, "RazonSocial", 2);
|
|
33727
33740
|
|
|
@@ -33758,152 +33771,152 @@ var Peru9112WinENTITYDB = class {
|
|
|
33758
33771
|
EECC = new EECCDBWINDTO();
|
|
33759
33772
|
};
|
|
33760
33773
|
__decorateClass([
|
|
33761
|
-
|
|
33762
|
-
|
|
33774
|
+
IsDefined160({ message: "El campo _id es obligatorio." }),
|
|
33775
|
+
Expose552({ name: "_id" })
|
|
33763
33776
|
], Peru9112WinENTITYDB.prototype, "_id", 2);
|
|
33764
33777
|
__decorateClass([
|
|
33765
|
-
|
|
33766
|
-
|
|
33778
|
+
Expose552(),
|
|
33779
|
+
IsDefined160({ message: "El campo ID Recurso es obligatorio." }),
|
|
33767
33780
|
IsString448({ message: "El campo toa_resource_id debe ser una cadena de texto" })
|
|
33768
33781
|
], Peru9112WinENTITYDB.prototype, "resource_id", 2);
|
|
33769
33782
|
__decorateClass([
|
|
33770
|
-
|
|
33771
|
-
|
|
33783
|
+
Expose552(),
|
|
33784
|
+
IsDefined160({ message: "El campo tecnico es obligatorio." }),
|
|
33772
33785
|
IsString448()
|
|
33773
33786
|
], Peru9112WinENTITYDB.prototype, "tecnico", 2);
|
|
33774
33787
|
__decorateClass([
|
|
33775
|
-
|
|
33776
|
-
|
|
33788
|
+
Expose552(),
|
|
33789
|
+
IsDefined160({ message: "El campo subtipo_de_actividad es obligatorio." }),
|
|
33777
33790
|
IsString448()
|
|
33778
33791
|
], Peru9112WinENTITYDB.prototype, "subtipo_de_actividad", 2);
|
|
33779
33792
|
__decorateClass([
|
|
33780
|
-
|
|
33781
|
-
|
|
33793
|
+
Expose552(),
|
|
33794
|
+
IsDefined160({ message: "El campo tipo_orden es obligatorio." }),
|
|
33782
33795
|
IsString448()
|
|
33783
33796
|
], Peru9112WinENTITYDB.prototype, "tipo_orden", 2);
|
|
33784
33797
|
__decorateClass([
|
|
33785
|
-
|
|
33786
|
-
|
|
33798
|
+
Expose552(),
|
|
33799
|
+
IsDefined160({ message: "El campo numero_de_peticion es obligatorio." }),
|
|
33787
33800
|
IsString448()
|
|
33788
33801
|
], Peru9112WinENTITYDB.prototype, "numero_de_peticion", 2);
|
|
33789
33802
|
__decorateClass([
|
|
33790
|
-
|
|
33791
|
-
|
|
33803
|
+
Expose552(),
|
|
33804
|
+
IsDefined160({ message: "El campo fecha_visita es obligatorio." }),
|
|
33792
33805
|
IsDate135({ message: "debe ser una fecha" })
|
|
33793
33806
|
], Peru9112WinENTITYDB.prototype, "fecha_visita", 2);
|
|
33794
33807
|
__decorateClass([
|
|
33795
|
-
|
|
33796
|
-
|
|
33808
|
+
Expose552(),
|
|
33809
|
+
IsDefined160({ message: "El campo inicio_visita es obligatorio." }),
|
|
33797
33810
|
IsDate135({ message: "debe ser una fecha" })
|
|
33798
33811
|
], Peru9112WinENTITYDB.prototype, "inicio_visita", 2);
|
|
33799
33812
|
__decorateClass([
|
|
33800
|
-
|
|
33801
|
-
|
|
33813
|
+
Expose552(),
|
|
33814
|
+
IsDefined160({ message: "El campo fin_visita es obligatorio." }),
|
|
33802
33815
|
IsDate135({ message: "debe ser una fecha" })
|
|
33803
33816
|
], Peru9112WinENTITYDB.prototype, "fin_visita", 2);
|
|
33804
33817
|
__decorateClass([
|
|
33805
|
-
|
|
33806
|
-
|
|
33818
|
+
Expose552(),
|
|
33819
|
+
IsDefined160({ message: "El campo cliente es obligatorio." }),
|
|
33807
33820
|
IsString448()
|
|
33808
33821
|
], Peru9112WinENTITYDB.prototype, "cliente", 2);
|
|
33809
33822
|
__decorateClass([
|
|
33810
|
-
|
|
33811
|
-
|
|
33823
|
+
Expose552(),
|
|
33824
|
+
IsDefined160({ message: "El campo direccion_cliente es obligatorio." }),
|
|
33812
33825
|
ValidateNested318(),
|
|
33813
33826
|
Type359(() => UbicacionwinDBDTO)
|
|
33814
33827
|
], Peru9112WinENTITYDB.prototype, "direccion_cliente", 2);
|
|
33815
33828
|
__decorateClass([
|
|
33816
|
-
|
|
33817
|
-
|
|
33829
|
+
Expose552(),
|
|
33830
|
+
IsDefined160({ message: "El campo motivo_regestion es obligatorio." }),
|
|
33818
33831
|
IsString448()
|
|
33819
33832
|
], Peru9112WinENTITYDB.prototype, "motivo_regestion", 2);
|
|
33820
33833
|
__decorateClass([
|
|
33821
|
-
|
|
33822
|
-
|
|
33834
|
+
Expose552(),
|
|
33835
|
+
IsDefined160({ message: "El campo motivo_cancelacion es obligatorio." }),
|
|
33823
33836
|
IsString448()
|
|
33824
33837
|
], Peru9112WinENTITYDB.prototype, "motivo_cancelacion", 2);
|
|
33825
33838
|
__decorateClass([
|
|
33826
|
-
|
|
33827
|
-
|
|
33839
|
+
Expose552(),
|
|
33840
|
+
IsDefined160({ message: "El campo motivo_suspension es obligatorio." }),
|
|
33828
33841
|
IsString448()
|
|
33829
33842
|
], Peru9112WinENTITYDB.prototype, "motivo_suspension", 2);
|
|
33830
33843
|
__decorateClass([
|
|
33831
|
-
|
|
33832
|
-
|
|
33844
|
+
Expose552(),
|
|
33845
|
+
IsDefined160({ message: "El campo estado es obligatorio." }),
|
|
33833
33846
|
IsEnum22(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
33834
33847
|
], Peru9112WinENTITYDB.prototype, "estado", 2);
|
|
33835
33848
|
__decorateClass([
|
|
33836
|
-
|
|
33837
|
-
|
|
33849
|
+
Expose552(),
|
|
33850
|
+
IsDefined160({ message: "El campo fecha_estado es obligatorio." }),
|
|
33838
33851
|
IsDate135({ message: "debe ser una fecha" })
|
|
33839
33852
|
], Peru9112WinENTITYDB.prototype, "fecha_estado", 2);
|
|
33840
33853
|
__decorateClass([
|
|
33841
|
-
|
|
33842
|
-
|
|
33854
|
+
Expose552(),
|
|
33855
|
+
IsDefined160({ message: "El campo fecha_solicitud es obligatorio." }),
|
|
33843
33856
|
IsDate135({ message: "debe ser una fecha" })
|
|
33844
33857
|
], Peru9112WinENTITYDB.prototype, "fecha_solicitud", 2);
|
|
33845
33858
|
__decorateClass([
|
|
33846
|
-
|
|
33847
|
-
|
|
33859
|
+
Expose552(),
|
|
33860
|
+
IsDefined160({ message: "El campo tipo_de_orden es obligatorio." }),
|
|
33848
33861
|
IsString448()
|
|
33849
33862
|
], Peru9112WinENTITYDB.prototype, "tipo_de_orden", 2);
|
|
33850
33863
|
__decorateClass([
|
|
33851
|
-
|
|
33852
|
-
|
|
33864
|
+
Expose552(),
|
|
33865
|
+
IsDefined160({ message: "El campo datos_tecnicos es obligatorio." }),
|
|
33853
33866
|
IsString448()
|
|
33854
33867
|
], Peru9112WinENTITYDB.prototype, "datos_tecnicos", 2);
|
|
33855
33868
|
__decorateClass([
|
|
33856
|
-
|
|
33857
|
-
|
|
33869
|
+
Expose552(),
|
|
33870
|
+
IsDefined160({ message: "El campo movil es obligatorio." }),
|
|
33858
33871
|
IsString448()
|
|
33859
33872
|
], Peru9112WinENTITYDB.prototype, "movil", 2);
|
|
33860
33873
|
__decorateClass([
|
|
33861
|
-
|
|
33862
|
-
|
|
33874
|
+
Expose552(),
|
|
33875
|
+
IsDefined160({ message: "El campo prioridad es obligatorio." }),
|
|
33863
33876
|
IsString448()
|
|
33864
33877
|
], Peru9112WinENTITYDB.prototype, "prioridad", 2);
|
|
33865
33878
|
__decorateClass([
|
|
33866
|
-
|
|
33867
|
-
|
|
33879
|
+
Expose552(),
|
|
33880
|
+
IsDefined160({ message: "El campo suscripci\xF3n es obligatorio." }),
|
|
33868
33881
|
IsString448()
|
|
33869
33882
|
], Peru9112WinENTITYDB.prototype, "suscripci\xF3n", 2);
|
|
33870
33883
|
__decorateClass([
|
|
33871
|
-
|
|
33872
|
-
|
|
33884
|
+
Expose552(),
|
|
33885
|
+
IsDefined160({ message: "El campo proveedor es obligatorio." }),
|
|
33873
33886
|
IsString448()
|
|
33874
33887
|
], Peru9112WinENTITYDB.prototype, "proveedor", 2);
|
|
33875
33888
|
__decorateClass([
|
|
33876
|
-
|
|
33877
|
-
|
|
33889
|
+
Expose552(),
|
|
33890
|
+
IsDefined160({ message: "El campo historial_estados es obligatorio." }),
|
|
33878
33891
|
IsArray183(),
|
|
33879
33892
|
ValidateNested318({ each: true }),
|
|
33880
33893
|
Type359(() => HistorialEstadoswinDBDTO)
|
|
33881
33894
|
], Peru9112WinENTITYDB.prototype, "historial_estados", 2);
|
|
33882
33895
|
__decorateClass([
|
|
33883
|
-
|
|
33884
|
-
|
|
33896
|
+
Expose552(),
|
|
33897
|
+
IsDefined160({ message: "El campo inventory es obligatorio." }),
|
|
33885
33898
|
IsArray183(),
|
|
33886
33899
|
ValidateNested318({ each: true }),
|
|
33887
33900
|
Type359(() => MaterialeswinDBDTO)
|
|
33888
33901
|
], Peru9112WinENTITYDB.prototype, "inventory", 2);
|
|
33889
33902
|
__decorateClass([
|
|
33890
|
-
|
|
33891
|
-
|
|
33892
|
-
|
|
33903
|
+
Expose552(),
|
|
33904
|
+
IsDefined160({ message: "El campo PB es obligatorio." }),
|
|
33905
|
+
IsNumber365()
|
|
33893
33906
|
], Peru9112WinENTITYDB.prototype, "PB", 2);
|
|
33894
33907
|
__decorateClass([
|
|
33895
|
-
|
|
33896
|
-
|
|
33897
|
-
|
|
33908
|
+
Expose552(),
|
|
33909
|
+
IsDefined160({ message: "El campo MO es obligatorio." }),
|
|
33910
|
+
IsNumber365()
|
|
33898
33911
|
], Peru9112WinENTITYDB.prototype, "MO", 2);
|
|
33899
33912
|
__decorateClass([
|
|
33900
|
-
|
|
33901
|
-
|
|
33902
|
-
|
|
33913
|
+
Expose552(),
|
|
33914
|
+
IsDefined160({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
33915
|
+
IsNumber365()
|
|
33903
33916
|
], Peru9112WinENTITYDB.prototype, "Gasto_EECC", 2);
|
|
33904
33917
|
__decorateClass([
|
|
33905
|
-
|
|
33906
|
-
|
|
33918
|
+
Expose552(),
|
|
33919
|
+
IsDefined160({ message: "El campo EECC es obligatorio." }),
|
|
33907
33920
|
ValidateNested318(),
|
|
33908
33921
|
Type359(() => EECCDBWINDTO)
|
|
33909
33922
|
], Peru9112WinENTITYDB.prototype, "EECC", 2);
|
|
@@ -33941,159 +33954,159 @@ var Peru9112WinENTITY = class {
|
|
|
33941
33954
|
EECC = new EECCDBWINDTO();
|
|
33942
33955
|
};
|
|
33943
33956
|
__decorateClass([
|
|
33944
|
-
|
|
33945
|
-
|
|
33957
|
+
IsDefined161({ message: "El campo _id es obligatorio." }),
|
|
33958
|
+
Expose553({ name: "_id" })
|
|
33946
33959
|
], Peru9112WinENTITY.prototype, "_id", 2);
|
|
33947
33960
|
__decorateClass([
|
|
33948
|
-
|
|
33949
|
-
|
|
33961
|
+
Expose553({ name: "ID Recurso" }),
|
|
33962
|
+
IsDefined161({ message: "El campo ID Recurso es obligatorio." }),
|
|
33950
33963
|
IsString449({ message: "El campo toa_resource_id debe ser una cadena de texto" })
|
|
33951
33964
|
], Peru9112WinENTITY.prototype, "resource_id", 2);
|
|
33952
33965
|
__decorateClass([
|
|
33953
|
-
|
|
33954
|
-
|
|
33966
|
+
Expose553({ name: "Cuadrilla" }),
|
|
33967
|
+
IsDefined161({ message: "El campo T\xE9cnico es obligatorio." }),
|
|
33955
33968
|
IsString449()
|
|
33956
33969
|
], Peru9112WinENTITY.prototype, "tecnico", 2);
|
|
33957
33970
|
__decorateClass([
|
|
33958
|
-
|
|
33959
|
-
|
|
33971
|
+
Expose553({ name: "Tipo Trabajo" }),
|
|
33972
|
+
IsDefined161({ message: "El campo Tipo Trabajo es obligatorio." }),
|
|
33960
33973
|
IsString449()
|
|
33961
33974
|
], Peru9112WinENTITY.prototype, "subtipo_de_actividad", 2);
|
|
33962
33975
|
__decorateClass([
|
|
33963
|
-
|
|
33964
|
-
|
|
33976
|
+
Expose553({ name: "Tipo Orden" }),
|
|
33977
|
+
IsDefined161({ message: "El campo Tipo Orden es obligatorio." }),
|
|
33965
33978
|
IsString449()
|
|
33966
33979
|
], Peru9112WinENTITY.prototype, "tipo_orden", 2);
|
|
33967
33980
|
__decorateClass([
|
|
33968
|
-
|
|
33969
|
-
|
|
33981
|
+
Expose553({ name: "Cod Seguimiento Cliente" }),
|
|
33982
|
+
IsDefined161({ message: "El campo Cod Seguimiento Cliente es obligatorio." }),
|
|
33970
33983
|
IsString449()
|
|
33971
33984
|
], Peru9112WinENTITY.prototype, "numero_de_peticion", 2);
|
|
33972
33985
|
__decorateClass([
|
|
33973
|
-
|
|
33974
|
-
|
|
33986
|
+
Expose553({ name: "Fecha Visita" }),
|
|
33987
|
+
IsDefined161({ message: "El campo Fecha Visita es obligatorio." }),
|
|
33975
33988
|
IsDate136({ message: "debe ser una fecha" })
|
|
33976
33989
|
], Peru9112WinENTITY.prototype, "fecha_visita", 2);
|
|
33977
33990
|
__decorateClass([
|
|
33978
|
-
|
|
33979
|
-
|
|
33991
|
+
Expose553({ name: "Inicio de Visita" }),
|
|
33992
|
+
IsDefined161({ message: "El campo Inicio de Visita es obligatorio." }),
|
|
33980
33993
|
IsDate136({ message: "debe ser una fecha" })
|
|
33981
33994
|
], Peru9112WinENTITY.prototype, "inicio_visita", 2);
|
|
33982
33995
|
__decorateClass([
|
|
33983
|
-
|
|
33984
|
-
|
|
33996
|
+
Expose553({ name: "Fin de Visita" }),
|
|
33997
|
+
IsDefined161({ message: "El campo Fin de Visita es obligatorio." }),
|
|
33985
33998
|
IsDate136({ message: "debe ser una fecha" })
|
|
33986
33999
|
], Peru9112WinENTITY.prototype, "fin_visita", 2);
|
|
33987
34000
|
__decorateClass([
|
|
33988
|
-
|
|
33989
|
-
|
|
34001
|
+
Expose553({ name: "Cliente" }),
|
|
34002
|
+
IsDefined161({ message: "El campo Nombre Cliente es obligatorio." }),
|
|
33990
34003
|
IsString449()
|
|
33991
34004
|
], Peru9112WinENTITY.prototype, "cliente", 2);
|
|
33992
34005
|
__decorateClass([
|
|
33993
|
-
|
|
33994
|
-
|
|
34006
|
+
Expose553({ name: "Direcci\xF3n Cliente" }),
|
|
34007
|
+
IsDefined161({ message: "El campo direccion_cliente es obligatorio." }),
|
|
33995
34008
|
ValidateNested319(),
|
|
33996
34009
|
Type360(() => UbicacionwinDTO)
|
|
33997
34010
|
], Peru9112WinENTITY.prototype, "direccion_cliente", 2);
|
|
33998
34011
|
__decorateClass([
|
|
33999
|
-
|
|
34000
|
-
|
|
34012
|
+
Expose553({ name: "Motivo Regesti\xF3n" }),
|
|
34013
|
+
IsDefined161({ message: "El campo Motivo Regesti\xF3n es obligatorio." }),
|
|
34001
34014
|
IsString449()
|
|
34002
34015
|
], Peru9112WinENTITY.prototype, "motivo_regestion", 2);
|
|
34003
34016
|
__decorateClass([
|
|
34004
|
-
|
|
34005
|
-
|
|
34017
|
+
Expose553({ name: "Motivo de Cancelaci\xF3n" }),
|
|
34018
|
+
IsDefined161({ message: "El campo Motivo de Cancelaci\xF3n es obligatorio." }),
|
|
34006
34019
|
IsString449()
|
|
34007
34020
|
], Peru9112WinENTITY.prototype, "motivo_cancelacion", 2);
|
|
34008
34021
|
__decorateClass([
|
|
34009
|
-
|
|
34010
|
-
|
|
34022
|
+
Expose553({ name: "Motivo de Suspensi\xF3n" }),
|
|
34023
|
+
IsDefined161({ message: "El campo Motivo de Suspensi\xF3n es obligatorio." }),
|
|
34011
34024
|
IsString449()
|
|
34012
34025
|
], Peru9112WinENTITY.prototype, "motivo_suspension", 2);
|
|
34013
34026
|
__decorateClass([
|
|
34014
|
-
|
|
34015
|
-
|
|
34027
|
+
Expose553({ name: "Estado" }),
|
|
34028
|
+
IsDefined161({ message: "El campo Estado actividad es obligatorio." }),
|
|
34016
34029
|
IsEnum23(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
34017
34030
|
], Peru9112WinENTITY.prototype, "estado", 2);
|
|
34018
34031
|
__decorateClass([
|
|
34019
|
-
|
|
34020
|
-
|
|
34032
|
+
Expose553({ name: "Fecha Estado" }),
|
|
34033
|
+
IsDefined161({ message: "El campo Fecha Estado es obligatorio." }),
|
|
34021
34034
|
IsDate136({ message: "debe ser una fecha" })
|
|
34022
34035
|
], Peru9112WinENTITY.prototype, "fecha_estado", 2);
|
|
34023
34036
|
__decorateClass([
|
|
34024
|
-
|
|
34025
|
-
|
|
34037
|
+
Expose553({ name: "Fecha Solicitud" }),
|
|
34038
|
+
IsDefined161({ message: "El campo Fecha Solicitud es obligatorio." }),
|
|
34026
34039
|
IsDate136({ message: "debe ser una fecha" })
|
|
34027
34040
|
], Peru9112WinENTITY.prototype, "fecha_solicitud", 2);
|
|
34028
34041
|
__decorateClass([
|
|
34029
|
-
|
|
34030
|
-
|
|
34042
|
+
Expose553({ name: "Tipo Orden" }),
|
|
34043
|
+
IsDefined161({ message: "El campo Tipo Orden es obligatorio." }),
|
|
34031
34044
|
IsString449()
|
|
34032
34045
|
], Peru9112WinENTITY.prototype, "tipo_de_orden", 2);
|
|
34033
34046
|
__decorateClass([
|
|
34034
|
-
|
|
34035
|
-
|
|
34047
|
+
Expose553({ name: "Datos T\xE9cnicos" }),
|
|
34048
|
+
IsDefined161({ message: "El campo Datos T\xE9cnicos es obligatorio." }),
|
|
34036
34049
|
IsString449()
|
|
34037
34050
|
], Peru9112WinENTITY.prototype, "datos_tecnicos", 2);
|
|
34038
34051
|
__decorateClass([
|
|
34039
|
-
|
|
34040
|
-
|
|
34052
|
+
Expose553({ name: "M\xF3vil" }),
|
|
34053
|
+
IsDefined161({ message: "El campo M\xF3vil es obligatorio." }),
|
|
34041
34054
|
IsString449()
|
|
34042
34055
|
], Peru9112WinENTITY.prototype, "movil", 2);
|
|
34043
34056
|
__decorateClass([
|
|
34044
|
-
|
|
34045
|
-
|
|
34057
|
+
Expose553({ name: "Prioridad" }),
|
|
34058
|
+
IsDefined161({ message: "El campo Prioridad es obligatorio." }),
|
|
34046
34059
|
IsString449()
|
|
34047
34060
|
], Peru9112WinENTITY.prototype, "prioridad", 2);
|
|
34048
34061
|
__decorateClass([
|
|
34049
|
-
|
|
34050
|
-
|
|
34062
|
+
Expose553({ name: "Suscripci\xF3n" }),
|
|
34063
|
+
IsDefined161({ message: "El campo Suscripci\xF3n es obligatorio." }),
|
|
34051
34064
|
IsString449()
|
|
34052
34065
|
], Peru9112WinENTITY.prototype, "suscripci\xF3n", 2);
|
|
34053
34066
|
__decorateClass([
|
|
34054
|
-
|
|
34055
|
-
|
|
34067
|
+
Expose553({ name: "Proveedeor" }),
|
|
34068
|
+
IsDefined161({ message: "El campo proveedor es obligatorio." }),
|
|
34056
34069
|
IsString449()
|
|
34057
34070
|
], Peru9112WinENTITY.prototype, "proveedor", 2);
|
|
34058
34071
|
__decorateClass([
|
|
34059
|
-
|
|
34060
|
-
|
|
34072
|
+
Expose553({ name: "Historial de Estados" }),
|
|
34073
|
+
IsDefined161({ message: "El campo Historial de Estados es obligatorio." }),
|
|
34061
34074
|
IsArray184(),
|
|
34062
34075
|
ValidateNested319({ each: true }),
|
|
34063
34076
|
Type360(() => HistorialEstadoswinDTO)
|
|
34064
34077
|
], Peru9112WinENTITY.prototype, "historial_estados", 2);
|
|
34065
34078
|
__decorateClass([
|
|
34066
|
-
|
|
34067
|
-
|
|
34079
|
+
Expose553({ name: "Inventory" }),
|
|
34080
|
+
IsDefined161({ message: "El campo Inventory es obligatorio." }),
|
|
34068
34081
|
IsArray184(),
|
|
34069
34082
|
ValidateNested319({ each: true }),
|
|
34070
34083
|
Type360(() => MaterialeswinDTO)
|
|
34071
34084
|
], Peru9112WinENTITY.prototype, "inventory", 2);
|
|
34072
34085
|
__decorateClass([
|
|
34073
|
-
|
|
34074
|
-
|
|
34075
|
-
|
|
34086
|
+
Expose553({ name: "PB" }),
|
|
34087
|
+
IsDefined161({ message: "El campo PB es obligatorio." }),
|
|
34088
|
+
IsNumber366()
|
|
34076
34089
|
], Peru9112WinENTITY.prototype, "PB", 2);
|
|
34077
34090
|
__decorateClass([
|
|
34078
|
-
|
|
34079
|
-
|
|
34080
|
-
|
|
34091
|
+
Expose553({ name: "MO" }),
|
|
34092
|
+
IsDefined161({ message: "El campo MO es obligatorio." }),
|
|
34093
|
+
IsNumber366()
|
|
34081
34094
|
], Peru9112WinENTITY.prototype, "MO", 2);
|
|
34082
34095
|
__decorateClass([
|
|
34083
|
-
|
|
34084
|
-
|
|
34085
|
-
|
|
34096
|
+
Expose553({ name: "Gasto_EECC" }),
|
|
34097
|
+
IsDefined161({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
34098
|
+
IsNumber366()
|
|
34086
34099
|
], Peru9112WinENTITY.prototype, "Gasto_EECC", 2);
|
|
34087
34100
|
__decorateClass([
|
|
34088
|
-
|
|
34089
|
-
|
|
34101
|
+
Expose553({ name: "EECC" }),
|
|
34102
|
+
IsDefined161({ message: "El campo EECC es obligatorio." }),
|
|
34090
34103
|
ValidateNested319(),
|
|
34091
34104
|
Type360(() => EECCDBWINDTO)
|
|
34092
34105
|
], Peru9112WinENTITY.prototype, "EECC", 2);
|
|
34093
34106
|
|
|
34094
34107
|
// src/operativa/procesos/WIN order stock/shared/index.ts
|
|
34095
|
-
import { Expose as
|
|
34096
|
-
import { IsArray as IsArray185, IsDefined as
|
|
34108
|
+
import { Expose as Expose554, Type as Type361 } from "class-transformer";
|
|
34109
|
+
import { IsArray as IsArray185, IsDefined as IsDefined162, IsEnum as IsEnum24, IsNotEmpty as IsNotEmpty375, IsNumber as IsNumber367, IsString as IsString450, IsUUID as IsUUID4, MaxLength as MaxLength3, ValidateNested as ValidateNested320 } from "class-validator";
|
|
34097
34110
|
var WINOrderStockENTITY = class {
|
|
34098
34111
|
_id;
|
|
34099
34112
|
id_recurso;
|
|
@@ -34106,61 +34119,61 @@ var WINOrderStockENTITY = class {
|
|
|
34106
34119
|
state_replacement;
|
|
34107
34120
|
};
|
|
34108
34121
|
__decorateClass([
|
|
34109
|
-
|
|
34122
|
+
IsDefined162({ message: "El campo _id es obligatorio." }),
|
|
34110
34123
|
IsUUID4("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
34111
|
-
|
|
34124
|
+
Expose554({ name: "_id" })
|
|
34112
34125
|
], WINOrderStockENTITY.prototype, "_id", 2);
|
|
34113
34126
|
__decorateClass([
|
|
34114
|
-
|
|
34115
|
-
|
|
34127
|
+
Expose554({ name: "id_recurso" }),
|
|
34128
|
+
IsDefined162({ message: "El campo ID Recurso es obligatorio." }),
|
|
34116
34129
|
IsString450()
|
|
34117
34130
|
], WINOrderStockENTITY.prototype, "id_recurso", 2);
|
|
34118
34131
|
__decorateClass([
|
|
34119
|
-
|
|
34132
|
+
IsDefined162({ message: "El campo itemCode es obligatorio" }),
|
|
34120
34133
|
IsString450({ message: "El campo itemCode debe ser una cadena de texto v\xE1lida" }),
|
|
34121
34134
|
MaxLength3(50, { message: "El campo itemCode no puede superar los 50 caracteres" }),
|
|
34122
34135
|
IsNotEmpty375({ message: "El campo itemCode no puede estar vac\xEDo" }),
|
|
34123
|
-
|
|
34136
|
+
Expose554({ name: "codigo" })
|
|
34124
34137
|
], WINOrderStockENTITY.prototype, "itemCode", 2);
|
|
34125
34138
|
__decorateClass([
|
|
34126
|
-
|
|
34139
|
+
IsDefined162({ message: "El campo serial es obligatorio." }),
|
|
34127
34140
|
IsString450({ message: "El campo serial debe ser una cadena de texto" }),
|
|
34128
|
-
|
|
34141
|
+
Expose554({ name: "invsn" })
|
|
34129
34142
|
], WINOrderStockENTITY.prototype, "serial", 2);
|
|
34130
34143
|
__decorateClass([
|
|
34131
|
-
|
|
34132
|
-
|
|
34133
|
-
|
|
34144
|
+
Expose554({ name: "cantidad" }),
|
|
34145
|
+
IsDefined162({ message: "El campo quantity es obligatorio." }),
|
|
34146
|
+
IsNumber367()
|
|
34134
34147
|
], WINOrderStockENTITY.prototype, "quantity", 2);
|
|
34135
34148
|
__decorateClass([
|
|
34136
|
-
|
|
34137
|
-
|
|
34149
|
+
Expose554({ name: "numero_de_peticion" }),
|
|
34150
|
+
IsDefined162({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
34138
34151
|
IsString450()
|
|
34139
34152
|
], WINOrderStockENTITY.prototype, "numero_de_peticion", 2);
|
|
34140
34153
|
__decorateClass([
|
|
34141
|
-
|
|
34154
|
+
IsDefined162({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
34142
34155
|
IsArray185({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
34143
34156
|
ValidateNested320({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
34144
34157
|
Type361(() => StockQuantityEmployeeDTO),
|
|
34145
|
-
|
|
34158
|
+
Expose554({ name: "stock_quantity_employee" })
|
|
34146
34159
|
], WINOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
34147
34160
|
__decorateClass([
|
|
34148
|
-
|
|
34149
|
-
|
|
34161
|
+
IsDefined162({ message: "El campo estado consumo es obligatorio." }),
|
|
34162
|
+
Expose554({ name: "state_consumption" }),
|
|
34150
34163
|
IsEnum24(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
34151
34164
|
], WINOrderStockENTITY.prototype, "state_consumption", 2);
|
|
34152
34165
|
__decorateClass([
|
|
34153
|
-
|
|
34154
|
-
|
|
34166
|
+
IsDefined162({ message: "El campo estado reposicion es obligatorio." }),
|
|
34167
|
+
Expose554({ name: "state_replacement" }),
|
|
34155
34168
|
IsEnum24(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
34156
34169
|
], WINOrderStockENTITY.prototype, "state_replacement", 2);
|
|
34157
34170
|
|
|
34158
34171
|
// src/operativa/procesos/fibramas_order/shared/index.ts
|
|
34159
|
-
import { Expose as
|
|
34172
|
+
import { Expose as Expose558, Type as Type365 } from "class-transformer";
|
|
34160
34173
|
import {
|
|
34161
|
-
IsDefined as
|
|
34174
|
+
IsDefined as IsDefined166,
|
|
34162
34175
|
IsString as IsString454,
|
|
34163
|
-
IsNumber as
|
|
34176
|
+
IsNumber as IsNumber371,
|
|
34164
34177
|
ValidateNested as ValidateNested323,
|
|
34165
34178
|
IsArray as IsArray188,
|
|
34166
34179
|
IsDate as IsDate139,
|
|
@@ -34169,11 +34182,11 @@ import {
|
|
|
34169
34182
|
import "reflect-metadata";
|
|
34170
34183
|
|
|
34171
34184
|
// src/operativa/procesos/fibramas_order/shared/dto/index.ts
|
|
34172
|
-
import { Expose as
|
|
34185
|
+
import { Expose as Expose555 } from "class-transformer";
|
|
34173
34186
|
import {
|
|
34174
|
-
IsDefined as
|
|
34187
|
+
IsDefined as IsDefined163,
|
|
34175
34188
|
IsString as IsString451,
|
|
34176
|
-
IsNumber as
|
|
34189
|
+
IsNumber as IsNumber368
|
|
34177
34190
|
} from "class-validator";
|
|
34178
34191
|
import "reflect-metadata";
|
|
34179
34192
|
var MaterialesFibramasDTO = class {
|
|
@@ -34186,38 +34199,38 @@ var MaterialesFibramasDTO = class {
|
|
|
34186
34199
|
invpool = "";
|
|
34187
34200
|
};
|
|
34188
34201
|
__decorateClass([
|
|
34189
|
-
|
|
34190
|
-
|
|
34202
|
+
Expose555({ name: "code" }),
|
|
34203
|
+
IsDefined163({ message: "El campo code es obligatorio." }),
|
|
34191
34204
|
IsString451()
|
|
34192
34205
|
], MaterialesFibramasDTO.prototype, "codigo", 2);
|
|
34193
34206
|
__decorateClass([
|
|
34194
|
-
|
|
34195
|
-
|
|
34207
|
+
Expose555({ name: "description" }),
|
|
34208
|
+
IsDefined163({ message: "El campo description es obligatorio." }),
|
|
34196
34209
|
IsString451()
|
|
34197
34210
|
], MaterialesFibramasDTO.prototype, "descripcion", 2);
|
|
34198
34211
|
__decorateClass([
|
|
34199
|
-
|
|
34200
|
-
|
|
34212
|
+
Expose555({ name: "lot" }),
|
|
34213
|
+
IsDefined163({ message: "El campo lot es obligatorio." }),
|
|
34201
34214
|
IsString451()
|
|
34202
34215
|
], MaterialesFibramasDTO.prototype, "lote", 2);
|
|
34203
34216
|
__decorateClass([
|
|
34204
|
-
|
|
34205
|
-
|
|
34206
|
-
|
|
34217
|
+
Expose555({ name: "quantity" }),
|
|
34218
|
+
IsDefined163({ message: "El campo quantity es obligatorio." }),
|
|
34219
|
+
IsNumber368()
|
|
34207
34220
|
], MaterialesFibramasDTO.prototype, "cantidad", 2);
|
|
34208
34221
|
__decorateClass([
|
|
34209
|
-
|
|
34210
|
-
|
|
34222
|
+
Expose555({ name: "invsn" }),
|
|
34223
|
+
IsDefined163({ message: "El campo invsn es obligatorio." }),
|
|
34211
34224
|
IsString451()
|
|
34212
34225
|
], MaterialesFibramasDTO.prototype, "invsn", 2);
|
|
34213
34226
|
__decorateClass([
|
|
34214
|
-
|
|
34215
|
-
|
|
34227
|
+
Expose555({ name: "invtype" }),
|
|
34228
|
+
IsDefined163({ message: "El campo invtype es obligatorio." }),
|
|
34216
34229
|
IsString451()
|
|
34217
34230
|
], MaterialesFibramasDTO.prototype, "invtype", 2);
|
|
34218
34231
|
__decorateClass([
|
|
34219
|
-
|
|
34220
|
-
|
|
34232
|
+
Expose555({ name: "invpool" }),
|
|
34233
|
+
IsDefined163({ message: "El campo invpool es obligatorio." }),
|
|
34221
34234
|
IsString451()
|
|
34222
34235
|
], MaterialesFibramasDTO.prototype, "invpool", 2);
|
|
34223
34236
|
var StateFibramas = /* @__PURE__ */ ((StateFibramas2) => {
|
|
@@ -34232,11 +34245,11 @@ var StateServiceFibramas = /* @__PURE__ */ ((StateServiceFibramas2) => {
|
|
|
34232
34245
|
})(StateServiceFibramas || {});
|
|
34233
34246
|
|
|
34234
34247
|
// src/operativa/procesos/fibramas_order_db/shared/index.ts
|
|
34235
|
-
import { Expose as
|
|
34248
|
+
import { Expose as Expose557, Type as Type364 } from "class-transformer";
|
|
34236
34249
|
import {
|
|
34237
|
-
IsDefined as
|
|
34250
|
+
IsDefined as IsDefined165,
|
|
34238
34251
|
IsString as IsString453,
|
|
34239
|
-
IsNumber as
|
|
34252
|
+
IsNumber as IsNumber370,
|
|
34240
34253
|
ValidateNested as ValidateNested322,
|
|
34241
34254
|
IsArray as IsArray187,
|
|
34242
34255
|
IsDate as IsDate138,
|
|
@@ -34245,11 +34258,11 @@ import {
|
|
|
34245
34258
|
import "reflect-metadata";
|
|
34246
34259
|
|
|
34247
34260
|
// src/operativa/procesos/fibramas_order_db/shared/dto/index.ts
|
|
34248
|
-
import { Expose as
|
|
34261
|
+
import { Expose as Expose556 } from "class-transformer";
|
|
34249
34262
|
import {
|
|
34250
|
-
IsDefined as
|
|
34263
|
+
IsDefined as IsDefined164,
|
|
34251
34264
|
IsString as IsString452,
|
|
34252
|
-
IsNumber as
|
|
34265
|
+
IsNumber as IsNumber369
|
|
34253
34266
|
} from "class-validator";
|
|
34254
34267
|
import "reflect-metadata";
|
|
34255
34268
|
var MaterialesFibramasDBDTO = class {
|
|
@@ -34262,38 +34275,38 @@ var MaterialesFibramasDBDTO = class {
|
|
|
34262
34275
|
invpool = "";
|
|
34263
34276
|
};
|
|
34264
34277
|
__decorateClass([
|
|
34265
|
-
|
|
34266
|
-
|
|
34278
|
+
Expose556(),
|
|
34279
|
+
IsDefined164({ message: "El campo code es obligatorio." }),
|
|
34267
34280
|
IsString452()
|
|
34268
34281
|
], MaterialesFibramasDBDTO.prototype, "codigo", 2);
|
|
34269
34282
|
__decorateClass([
|
|
34270
|
-
|
|
34271
|
-
|
|
34283
|
+
Expose556(),
|
|
34284
|
+
IsDefined164({ message: "El campo description es obligatorio." }),
|
|
34272
34285
|
IsString452()
|
|
34273
34286
|
], MaterialesFibramasDBDTO.prototype, "descripcion", 2);
|
|
34274
34287
|
__decorateClass([
|
|
34275
|
-
|
|
34276
|
-
|
|
34288
|
+
Expose556(),
|
|
34289
|
+
IsDefined164({ message: "El campo lot es obligatorio." }),
|
|
34277
34290
|
IsString452()
|
|
34278
34291
|
], MaterialesFibramasDBDTO.prototype, "lote", 2);
|
|
34279
34292
|
__decorateClass([
|
|
34280
|
-
|
|
34281
|
-
|
|
34282
|
-
|
|
34293
|
+
Expose556(),
|
|
34294
|
+
IsDefined164({ message: "El campo quantity es obligatorio." }),
|
|
34295
|
+
IsNumber369()
|
|
34283
34296
|
], MaterialesFibramasDBDTO.prototype, "cantidad", 2);
|
|
34284
34297
|
__decorateClass([
|
|
34285
|
-
|
|
34286
|
-
|
|
34298
|
+
Expose556(),
|
|
34299
|
+
IsDefined164({ message: "El campo invsn es obligatorio." }),
|
|
34287
34300
|
IsString452()
|
|
34288
34301
|
], MaterialesFibramasDBDTO.prototype, "invsn", 2);
|
|
34289
34302
|
__decorateClass([
|
|
34290
|
-
|
|
34291
|
-
|
|
34303
|
+
Expose556(),
|
|
34304
|
+
IsDefined164({ message: "El campo invtype es obligatorio." }),
|
|
34292
34305
|
IsString452()
|
|
34293
34306
|
], MaterialesFibramasDBDTO.prototype, "invtype", 2);
|
|
34294
34307
|
__decorateClass([
|
|
34295
|
-
|
|
34296
|
-
|
|
34308
|
+
Expose556(),
|
|
34309
|
+
IsDefined164({ message: "El campo invpool es obligatorio." }),
|
|
34297
34310
|
IsString452()
|
|
34298
34311
|
], MaterialesFibramasDBDTO.prototype, "invpool", 2);
|
|
34299
34312
|
var EECCFibramasDBDTO = class {
|
|
@@ -34301,11 +34314,11 @@ var EECCFibramasDBDTO = class {
|
|
|
34301
34314
|
RazonSocial = "";
|
|
34302
34315
|
};
|
|
34303
34316
|
__decorateClass([
|
|
34304
|
-
|
|
34317
|
+
Expose556(),
|
|
34305
34318
|
IsString452()
|
|
34306
34319
|
], EECCFibramasDBDTO.prototype, "RUC", 2);
|
|
34307
34320
|
__decorateClass([
|
|
34308
|
-
|
|
34321
|
+
Expose556(),
|
|
34309
34322
|
IsString452()
|
|
34310
34323
|
], EECCFibramasDBDTO.prototype, "RazonSocial", 2);
|
|
34311
34324
|
|
|
@@ -34342,149 +34355,149 @@ var Peru9112FibramasENTITYDB = class {
|
|
|
34342
34355
|
EECC = new EECCFibramasDBDTO();
|
|
34343
34356
|
};
|
|
34344
34357
|
__decorateClass([
|
|
34345
|
-
|
|
34346
|
-
|
|
34358
|
+
IsDefined165({ message: "El campo _id es obligatorio." }),
|
|
34359
|
+
Expose557()
|
|
34347
34360
|
], Peru9112FibramasENTITYDB.prototype, "_id", 2);
|
|
34348
34361
|
__decorateClass([
|
|
34349
|
-
|
|
34350
|
-
|
|
34362
|
+
Expose557(),
|
|
34363
|
+
IsDefined165({ message: "El campo numero_de_peticion es obligatorio." }),
|
|
34351
34364
|
IsString453()
|
|
34352
34365
|
], Peru9112FibramasENTITYDB.prototype, "numero_de_peticion", 2);
|
|
34353
34366
|
__decorateClass([
|
|
34354
|
-
|
|
34355
|
-
|
|
34367
|
+
Expose557(),
|
|
34368
|
+
IsDefined165({ message: "El campo resource_id es obligatorio." }),
|
|
34356
34369
|
IsString453({ message: "El campo resource_id debe ser una cadena de texto" })
|
|
34357
34370
|
], Peru9112FibramasENTITYDB.prototype, "resource_id", 2);
|
|
34358
34371
|
__decorateClass([
|
|
34359
|
-
|
|
34360
|
-
|
|
34372
|
+
Expose557(),
|
|
34373
|
+
IsDefined165({ message: "El campo tecnico es obligatorio." }),
|
|
34361
34374
|
IsString453()
|
|
34362
34375
|
], Peru9112FibramasENTITYDB.prototype, "tecnico", 2);
|
|
34363
34376
|
__decorateClass([
|
|
34364
|
-
|
|
34365
|
-
|
|
34377
|
+
Expose557(),
|
|
34378
|
+
IsDefined165({ message: "El campo subtipo_de_actividad es obligatorio." }),
|
|
34366
34379
|
IsString453()
|
|
34367
34380
|
], Peru9112FibramasENTITYDB.prototype, "subtipo_de_actividad", 2);
|
|
34368
34381
|
__decorateClass([
|
|
34369
|
-
|
|
34370
|
-
|
|
34382
|
+
Expose557(),
|
|
34383
|
+
IsDefined165({ message: "El campo tipo_orden es obligatorio." }),
|
|
34371
34384
|
IsString453()
|
|
34372
34385
|
], Peru9112FibramasENTITYDB.prototype, "tipo_orden", 2);
|
|
34373
34386
|
__decorateClass([
|
|
34374
|
-
|
|
34375
|
-
|
|
34387
|
+
Expose557(),
|
|
34388
|
+
IsDefined165({ message: "El campo servicio es obligatorio." }),
|
|
34376
34389
|
IsString453()
|
|
34377
34390
|
], Peru9112FibramasENTITYDB.prototype, "servicio", 2);
|
|
34378
34391
|
__decorateClass([
|
|
34379
|
-
|
|
34380
|
-
|
|
34392
|
+
Expose557(),
|
|
34393
|
+
IsDefined165({ message: "El campo estado_del_servicio es obligatorio." }),
|
|
34381
34394
|
IsEnum26(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
34382
34395
|
], Peru9112FibramasENTITYDB.prototype, "estado_del_servicio", 2);
|
|
34383
34396
|
__decorateClass([
|
|
34384
|
-
|
|
34385
|
-
|
|
34397
|
+
Expose557(),
|
|
34398
|
+
IsDefined165({ message: "El campo tarifa_de_servicio es obligatorio." }),
|
|
34386
34399
|
IsString453()
|
|
34387
34400
|
], Peru9112FibramasENTITYDB.prototype, "tarifa_de_servicio", 2);
|
|
34388
34401
|
__decorateClass([
|
|
34389
|
-
|
|
34390
|
-
|
|
34391
|
-
|
|
34402
|
+
Expose557(),
|
|
34403
|
+
IsDefined165({ message: "El campo puntos_principal_instalacion es obligatorio." }),
|
|
34404
|
+
IsNumber370()
|
|
34392
34405
|
], Peru9112FibramasENTITYDB.prototype, "puntos_principal_instalacion", 2);
|
|
34393
34406
|
__decorateClass([
|
|
34394
|
-
|
|
34395
|
-
|
|
34396
|
-
|
|
34407
|
+
Expose557(),
|
|
34408
|
+
IsDefined165({ message: "El campo puntos_adicional_instalacion es obligatorio." }),
|
|
34409
|
+
IsNumber370()
|
|
34397
34410
|
], Peru9112FibramasENTITYDB.prototype, "puntos_adicional_instalacion", 2);
|
|
34398
34411
|
__decorateClass([
|
|
34399
|
-
|
|
34400
|
-
|
|
34412
|
+
Expose557(),
|
|
34413
|
+
IsDefined165({ message: "El campo abonado es obligatorio." }),
|
|
34401
34414
|
IsString453()
|
|
34402
34415
|
], Peru9112FibramasENTITYDB.prototype, "abonado", 2);
|
|
34403
34416
|
__decorateClass([
|
|
34404
|
-
|
|
34405
|
-
|
|
34417
|
+
Expose557(),
|
|
34418
|
+
IsDefined165({ message: "El campo cliente es obligatorio." }),
|
|
34406
34419
|
IsString453()
|
|
34407
34420
|
], Peru9112FibramasENTITYDB.prototype, "cliente", 2);
|
|
34408
34421
|
__decorateClass([
|
|
34409
|
-
|
|
34410
|
-
|
|
34422
|
+
Expose557(),
|
|
34423
|
+
IsDefined165({ message: "El campo direccion es obligatorio." }),
|
|
34411
34424
|
IsString453()
|
|
34412
34425
|
], Peru9112FibramasENTITYDB.prototype, "direccion", 2);
|
|
34413
34426
|
__decorateClass([
|
|
34414
|
-
|
|
34415
|
-
|
|
34427
|
+
Expose557(),
|
|
34428
|
+
IsDefined165({ message: "El campo sector_operativo es obligatorio." }),
|
|
34416
34429
|
IsString453()
|
|
34417
34430
|
], Peru9112FibramasENTITYDB.prototype, "sector_operativo", 2);
|
|
34418
34431
|
__decorateClass([
|
|
34419
|
-
|
|
34420
|
-
|
|
34432
|
+
Expose557(),
|
|
34433
|
+
IsDefined165({ message: "El campo contacto es obligatorio." }),
|
|
34421
34434
|
IsString453()
|
|
34422
34435
|
], Peru9112FibramasENTITYDB.prototype, "contacto", 2);
|
|
34423
34436
|
__decorateClass([
|
|
34424
|
-
|
|
34425
|
-
|
|
34437
|
+
Expose557(),
|
|
34438
|
+
IsDefined165({ message: "El campo contacto_2 es obligatorio." }),
|
|
34426
34439
|
IsString453()
|
|
34427
34440
|
], Peru9112FibramasENTITYDB.prototype, "contacto_2", 2);
|
|
34428
34441
|
__decorateClass([
|
|
34429
|
-
|
|
34430
|
-
|
|
34442
|
+
Expose557(),
|
|
34443
|
+
IsDefined165({ message: "El campo observaciones es obligatorio." }),
|
|
34431
34444
|
IsString453()
|
|
34432
34445
|
], Peru9112FibramasENTITYDB.prototype, "observaciones", 2);
|
|
34433
34446
|
__decorateClass([
|
|
34434
|
-
|
|
34435
|
-
|
|
34447
|
+
Expose557(),
|
|
34448
|
+
IsDefined165({ message: "El campo fecha_recepcion es obligatorio." }),
|
|
34436
34449
|
IsDate138({ message: "debe ser una fecha" })
|
|
34437
34450
|
], Peru9112FibramasENTITYDB.prototype, "fecha_recepcion", 2);
|
|
34438
34451
|
__decorateClass([
|
|
34439
|
-
|
|
34440
|
-
|
|
34452
|
+
Expose557(),
|
|
34453
|
+
IsDefined165({ message: "El campo hora_recepcion es obligatorio." }),
|
|
34441
34454
|
IsString453()
|
|
34442
34455
|
], Peru9112FibramasENTITYDB.prototype, "hora_recepcion", 2);
|
|
34443
34456
|
__decorateClass([
|
|
34444
|
-
|
|
34445
|
-
|
|
34457
|
+
Expose557(),
|
|
34458
|
+
IsDefined165({ message: "El campo fecha_atencion es obligatorio." }),
|
|
34446
34459
|
IsDate138({ message: "debe ser una fecha" })
|
|
34447
34460
|
], Peru9112FibramasENTITYDB.prototype, "fecha_atencion", 2);
|
|
34448
34461
|
__decorateClass([
|
|
34449
|
-
|
|
34450
|
-
|
|
34462
|
+
Expose557(),
|
|
34463
|
+
IsDefined165({ message: "El campo hora_ini_atencion es obligatorio." }),
|
|
34451
34464
|
IsString453()
|
|
34452
34465
|
], Peru9112FibramasENTITYDB.prototype, "hora_ini_atencion", 2);
|
|
34453
34466
|
__decorateClass([
|
|
34454
|
-
|
|
34455
|
-
|
|
34467
|
+
Expose557(),
|
|
34468
|
+
IsDefined165({ message: "El campo hora_fin_atencion es obligatorio." }),
|
|
34456
34469
|
IsString453()
|
|
34457
34470
|
], Peru9112FibramasENTITYDB.prototype, "hora_fin_atencion", 2);
|
|
34458
34471
|
__decorateClass([
|
|
34459
|
-
|
|
34460
|
-
|
|
34472
|
+
Expose557(),
|
|
34473
|
+
IsDefined165({ message: "El campo estado es obligatorio." }),
|
|
34461
34474
|
IsEnum26(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
34462
34475
|
], Peru9112FibramasENTITYDB.prototype, "estado", 2);
|
|
34463
34476
|
__decorateClass([
|
|
34464
|
-
|
|
34465
|
-
|
|
34477
|
+
Expose557(),
|
|
34478
|
+
IsDefined165({ message: "El campo Inventory es obligatorio." }),
|
|
34466
34479
|
IsArray187(),
|
|
34467
34480
|
ValidateNested322({ each: true }),
|
|
34468
34481
|
Type364(() => MaterialesFibramasDBDTO)
|
|
34469
34482
|
], Peru9112FibramasENTITYDB.prototype, "inventory", 2);
|
|
34470
34483
|
__decorateClass([
|
|
34471
|
-
|
|
34472
|
-
|
|
34473
|
-
|
|
34484
|
+
Expose557(),
|
|
34485
|
+
IsDefined165({ message: "El campo PB es obligatorio." }),
|
|
34486
|
+
IsNumber370()
|
|
34474
34487
|
], Peru9112FibramasENTITYDB.prototype, "PB", 2);
|
|
34475
34488
|
__decorateClass([
|
|
34476
|
-
|
|
34477
|
-
|
|
34478
|
-
|
|
34489
|
+
Expose557(),
|
|
34490
|
+
IsDefined165({ message: "El campo MO es obligatorio." }),
|
|
34491
|
+
IsNumber370()
|
|
34479
34492
|
], Peru9112FibramasENTITYDB.prototype, "MO", 2);
|
|
34480
34493
|
__decorateClass([
|
|
34481
|
-
|
|
34482
|
-
|
|
34483
|
-
|
|
34494
|
+
Expose557(),
|
|
34495
|
+
IsDefined165({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
34496
|
+
IsNumber370()
|
|
34484
34497
|
], Peru9112FibramasENTITYDB.prototype, "Gasto_EECC", 2);
|
|
34485
34498
|
__decorateClass([
|
|
34486
|
-
|
|
34487
|
-
|
|
34499
|
+
Expose557(),
|
|
34500
|
+
IsDefined165({ message: "El campo EECC es obligatorio." }),
|
|
34488
34501
|
ValidateNested322(),
|
|
34489
34502
|
Type364(() => EECCFibramasDBDTO)
|
|
34490
34503
|
], Peru9112FibramasENTITYDB.prototype, "EECC", 2);
|
|
@@ -34522,169 +34535,169 @@ var Peru9112FibramasENTITY = class {
|
|
|
34522
34535
|
EECC = new EECCFibramasDBDTO();
|
|
34523
34536
|
};
|
|
34524
34537
|
__decorateClass([
|
|
34525
|
-
|
|
34526
|
-
|
|
34538
|
+
IsDefined166({ message: "El campo _id es obligatorio." }),
|
|
34539
|
+
Expose558({ name: "_id" })
|
|
34527
34540
|
], Peru9112FibramasENTITY.prototype, "_id", 2);
|
|
34528
34541
|
__decorateClass([
|
|
34529
|
-
|
|
34530
|
-
|
|
34542
|
+
Expose558({ name: "NRO OS" }),
|
|
34543
|
+
IsDefined166({ message: "El campo NRO OS es obligatorio." }),
|
|
34531
34544
|
IsString454()
|
|
34532
34545
|
], Peru9112FibramasENTITY.prototype, "numero_de_peticion", 2);
|
|
34533
34546
|
__decorateClass([
|
|
34534
|
-
|
|
34535
|
-
|
|
34547
|
+
Expose558({ name: "ID Recurso" }),
|
|
34548
|
+
IsDefined166({ message: "El campo ID Recurso es obligatorio." }),
|
|
34536
34549
|
IsString454({ message: "El campo toa_resource_id debe ser una cadena de texto" })
|
|
34537
34550
|
], Peru9112FibramasENTITY.prototype, "resource_id", 2);
|
|
34538
34551
|
__decorateClass([
|
|
34539
|
-
|
|
34540
|
-
|
|
34552
|
+
Expose558({ name: "NOMBRE TECNICO EJECUTOR" }),
|
|
34553
|
+
IsDefined166({ message: "El campo NOMBRE TECNICO EJECUTOR es obligatorio." }),
|
|
34541
34554
|
IsString454()
|
|
34542
34555
|
], Peru9112FibramasENTITY.prototype, "tecnico", 2);
|
|
34543
34556
|
__decorateClass([
|
|
34544
|
-
|
|
34545
|
-
|
|
34557
|
+
Expose558({ name: "TIPO OS" }),
|
|
34558
|
+
IsDefined166({ message: "El campo TIPO OS es obligatorio." }),
|
|
34546
34559
|
IsString454()
|
|
34547
34560
|
], Peru9112FibramasENTITY.prototype, "subtipo_de_actividad", 2);
|
|
34548
34561
|
__decorateClass([
|
|
34549
|
-
|
|
34550
|
-
|
|
34562
|
+
Expose558({ name: "TipoOS" }),
|
|
34563
|
+
IsDefined166({ message: "El campo TipoOS es obligatorio." }),
|
|
34551
34564
|
IsString454()
|
|
34552
34565
|
], Peru9112FibramasENTITY.prototype, "tipo_orden", 2);
|
|
34553
34566
|
__decorateClass([
|
|
34554
|
-
|
|
34555
|
-
|
|
34567
|
+
Expose558({ name: "SERVICIO" }),
|
|
34568
|
+
IsDefined166({ message: "El campo SERVICIO es obligatorio." }),
|
|
34556
34569
|
IsString454()
|
|
34557
34570
|
], Peru9112FibramasENTITY.prototype, "servicio", 2);
|
|
34558
34571
|
__decorateClass([
|
|
34559
|
-
|
|
34560
|
-
|
|
34572
|
+
Expose558({ name: "ESTADO DEL SERVICIO" }),
|
|
34573
|
+
IsDefined166({ message: "El campo ESTADO DEL SERVICIO es obligatorio." }),
|
|
34561
34574
|
IsEnum27(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
34562
34575
|
], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
|
|
34563
34576
|
__decorateClass([
|
|
34564
|
-
|
|
34565
|
-
|
|
34577
|
+
Expose558({ name: "TARIFA DE SERVICIO" }),
|
|
34578
|
+
IsDefined166({ message: "El campo TARIFA DE SERVICIO es obligatorio." }),
|
|
34566
34579
|
IsString454()
|
|
34567
34580
|
], Peru9112FibramasENTITY.prototype, "tarifa_de_servicio", 2);
|
|
34568
34581
|
__decorateClass([
|
|
34569
|
-
|
|
34570
|
-
|
|
34571
|
-
|
|
34582
|
+
Expose558({ name: "PUNTOS PRINC. INSTAL" }),
|
|
34583
|
+
IsDefined166({ message: "El campo PUNTOS PRINC. INSTAL es obligatorio." }),
|
|
34584
|
+
IsNumber371()
|
|
34572
34585
|
], Peru9112FibramasENTITY.prototype, "puntos_principal_instalacion", 2);
|
|
34573
34586
|
__decorateClass([
|
|
34574
|
-
|
|
34575
|
-
|
|
34576
|
-
|
|
34587
|
+
Expose558({ name: "PUNTOS ADD. INSTAL" }),
|
|
34588
|
+
IsDefined166({ message: "El campo PUNTOS ADD. INSTAL es obligatorio." }),
|
|
34589
|
+
IsNumber371()
|
|
34577
34590
|
], Peru9112FibramasENTITY.prototype, "puntos_adicional_instalacion", 2);
|
|
34578
34591
|
__decorateClass([
|
|
34579
|
-
|
|
34580
|
-
|
|
34592
|
+
Expose558({ name: "ABONADO" }),
|
|
34593
|
+
IsDefined166({ message: "El campo ABONADO es obligatorio." }),
|
|
34581
34594
|
IsString454()
|
|
34582
34595
|
], Peru9112FibramasENTITY.prototype, "abonado", 2);
|
|
34583
34596
|
__decorateClass([
|
|
34584
|
-
|
|
34585
|
-
|
|
34597
|
+
Expose558({ name: "NOMBRES/RAZON SOCIAL" }),
|
|
34598
|
+
IsDefined166({ message: "El campo NOMBRES/RAZON SOCIAL es obligatorio." }),
|
|
34586
34599
|
IsString454()
|
|
34587
34600
|
], Peru9112FibramasENTITY.prototype, "cliente", 2);
|
|
34588
34601
|
__decorateClass([
|
|
34589
|
-
|
|
34590
|
-
|
|
34602
|
+
Expose558({ name: "RUTA" }),
|
|
34603
|
+
IsDefined166({ message: "El campo RUTA es obligatorio." }),
|
|
34591
34604
|
IsString454()
|
|
34592
34605
|
], Peru9112FibramasENTITY.prototype, "direccion", 2);
|
|
34593
34606
|
__decorateClass([
|
|
34594
|
-
|
|
34595
|
-
|
|
34607
|
+
Expose558({ name: "SECTOR" }),
|
|
34608
|
+
IsDefined166({ message: "El campo SECTOR es obligatorio." }),
|
|
34596
34609
|
IsString454()
|
|
34597
34610
|
], Peru9112FibramasENTITY.prototype, "sector_operativo", 2);
|
|
34598
34611
|
__decorateClass([
|
|
34599
|
-
|
|
34600
|
-
|
|
34612
|
+
Expose558({ name: "CELULAR" }),
|
|
34613
|
+
IsDefined166({ message: "El campo CELULAR es obligatorio." }),
|
|
34601
34614
|
IsString454()
|
|
34602
34615
|
], Peru9112FibramasENTITY.prototype, "contacto", 2);
|
|
34603
34616
|
__decorateClass([
|
|
34604
|
-
|
|
34605
|
-
|
|
34617
|
+
Expose558({ name: "CELULAR DOS" }),
|
|
34618
|
+
IsDefined166({ message: "El campo CELULAR DOS es obligatorio." }),
|
|
34606
34619
|
IsString454()
|
|
34607
34620
|
], Peru9112FibramasENTITY.prototype, "contacto_2", 2);
|
|
34608
34621
|
__decorateClass([
|
|
34609
|
-
|
|
34610
|
-
|
|
34622
|
+
Expose558({ name: "OBSERVACIONES" }),
|
|
34623
|
+
IsDefined166({ message: "El campo OBSERVACIONES es obligatorio." }),
|
|
34611
34624
|
IsString454()
|
|
34612
34625
|
], Peru9112FibramasENTITY.prototype, "observaciones", 2);
|
|
34613
34626
|
__decorateClass([
|
|
34614
|
-
|
|
34615
|
-
|
|
34627
|
+
Expose558({ name: "F. RECEP." }),
|
|
34628
|
+
IsDefined166({ message: "El campo F. RECEP. es obligatorio." }),
|
|
34616
34629
|
IsDate139({ message: "debe ser una fecha" })
|
|
34617
34630
|
], Peru9112FibramasENTITY.prototype, "fecha_recepcion", 2);
|
|
34618
34631
|
__decorateClass([
|
|
34619
|
-
|
|
34620
|
-
|
|
34632
|
+
Expose558({ name: "H. RECEP." }),
|
|
34633
|
+
IsDefined166({ message: "El campo H. RECEP. es obligatorio." }),
|
|
34621
34634
|
IsString454()
|
|
34622
34635
|
], Peru9112FibramasENTITY.prototype, "hora_recepcion", 2);
|
|
34623
34636
|
__decorateClass([
|
|
34624
|
-
|
|
34625
|
-
|
|
34637
|
+
Expose558({ name: "F. ATENC." }),
|
|
34638
|
+
IsDefined166({ message: "El campo F. ATENC. es obligatorio." }),
|
|
34626
34639
|
IsDate139({ message: "debe ser una fecha" })
|
|
34627
34640
|
], Peru9112FibramasENTITY.prototype, "fecha_atencion", 2);
|
|
34628
34641
|
__decorateClass([
|
|
34629
|
-
|
|
34630
|
-
|
|
34642
|
+
Expose558({ name: "H. INI" }),
|
|
34643
|
+
IsDefined166({ message: "El campo H. INI es obligatorio." }),
|
|
34631
34644
|
IsString454()
|
|
34632
34645
|
], Peru9112FibramasENTITY.prototype, "hora_ini_atencion", 2);
|
|
34633
34646
|
__decorateClass([
|
|
34634
|
-
|
|
34635
|
-
|
|
34647
|
+
Expose558({ name: "H. FIN" }),
|
|
34648
|
+
IsDefined166({ message: "El campo H. FIN es obligatorio." }),
|
|
34636
34649
|
IsString454()
|
|
34637
34650
|
], Peru9112FibramasENTITY.prototype, "hora_fin_atencion", 2);
|
|
34638
34651
|
__decorateClass([
|
|
34639
|
-
|
|
34640
|
-
|
|
34652
|
+
Expose558({ name: "ESTADO OS" }),
|
|
34653
|
+
IsDefined166({ message: "El campo ESTADO OS es obligatorio." }),
|
|
34641
34654
|
IsEnum27(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
34642
34655
|
], Peru9112FibramasENTITY.prototype, "estado", 2);
|
|
34643
34656
|
__decorateClass([
|
|
34644
|
-
|
|
34645
|
-
|
|
34657
|
+
Expose558({ name: "Inventory" }),
|
|
34658
|
+
IsDefined166({ message: "El campo Inventory es obligatorio." }),
|
|
34646
34659
|
IsArray188(),
|
|
34647
34660
|
ValidateNested323({ each: true }),
|
|
34648
34661
|
Type365(() => MaterialesFibramasDTO)
|
|
34649
34662
|
], Peru9112FibramasENTITY.prototype, "inventory", 2);
|
|
34650
34663
|
__decorateClass([
|
|
34651
|
-
|
|
34652
|
-
|
|
34653
|
-
|
|
34664
|
+
Expose558({ name: "PB" }),
|
|
34665
|
+
IsDefined166({ message: "El campo PB es obligatorio." }),
|
|
34666
|
+
IsNumber371()
|
|
34654
34667
|
], Peru9112FibramasENTITY.prototype, "PB", 2);
|
|
34655
34668
|
__decorateClass([
|
|
34656
|
-
|
|
34657
|
-
|
|
34658
|
-
|
|
34669
|
+
Expose558({ name: "MO" }),
|
|
34670
|
+
IsDefined166({ message: "El campo MO es obligatorio." }),
|
|
34671
|
+
IsNumber371()
|
|
34659
34672
|
], Peru9112FibramasENTITY.prototype, "MO", 2);
|
|
34660
34673
|
__decorateClass([
|
|
34661
|
-
|
|
34662
|
-
|
|
34663
|
-
|
|
34674
|
+
Expose558({ name: "Gasto_EECC" }),
|
|
34675
|
+
IsDefined166({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
34676
|
+
IsNumber371()
|
|
34664
34677
|
], Peru9112FibramasENTITY.prototype, "Gasto_EECC", 2);
|
|
34665
34678
|
__decorateClass([
|
|
34666
|
-
|
|
34667
|
-
|
|
34679
|
+
Expose558({ name: "EECC" }),
|
|
34680
|
+
IsDefined166({ message: "El campo EECC es obligatorio." }),
|
|
34668
34681
|
ValidateNested323(),
|
|
34669
34682
|
Type365(() => EECCFibramasDBDTO)
|
|
34670
34683
|
], Peru9112FibramasENTITY.prototype, "EECC", 2);
|
|
34671
34684
|
|
|
34672
34685
|
// src/v2/dtos/CodigoNombre.ts
|
|
34673
|
-
import { Expose as
|
|
34674
|
-
import { IsDefined as
|
|
34686
|
+
import { Expose as Expose559 } from "class-transformer";
|
|
34687
|
+
import { IsDefined as IsDefined167, IsString as IsString455, MinLength as MinLength46 } from "class-validator";
|
|
34675
34688
|
var CodigoNombreDto = class {
|
|
34676
34689
|
codigo;
|
|
34677
34690
|
nombre;
|
|
34678
34691
|
};
|
|
34679
34692
|
__decorateClass([
|
|
34680
|
-
|
|
34693
|
+
IsDefined167({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
34681
34694
|
IsString455({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
34682
|
-
|
|
34695
|
+
Expose559()
|
|
34683
34696
|
], CodigoNombreDto.prototype, "codigo", 2);
|
|
34684
34697
|
__decorateClass([
|
|
34685
|
-
|
|
34698
|
+
IsDefined167({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
34686
34699
|
IsString455({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
34687
|
-
|
|
34700
|
+
Expose559()
|
|
34688
34701
|
], CodigoNombreDto.prototype, "nombre", 2);
|
|
34689
34702
|
var CodigoNombreMinLengthDto = class extends CodigoNombreDto {
|
|
34690
34703
|
};
|
|
@@ -34696,25 +34709,25 @@ __decorateClass([
|
|
|
34696
34709
|
], CodigoNombreMinLengthDto.prototype, "nombre", 2);
|
|
34697
34710
|
|
|
34698
34711
|
// src/v2/entities/Delegacion.ts
|
|
34699
|
-
import { Expose as
|
|
34700
|
-
import { IsDefined as
|
|
34712
|
+
import { Expose as Expose561, Type as Type366 } from "class-transformer";
|
|
34713
|
+
import { IsDefined as IsDefined169, IsObject as IsObject13, IsString as IsString456, MinLength as MinLength47, ValidateNested as ValidateNested324 } from "class-validator";
|
|
34701
34714
|
|
|
34702
34715
|
// src/v2/entities/Base.ts
|
|
34703
|
-
import { Expose as
|
|
34704
|
-
import { IsBoolean as IsBoolean50, IsDefined as
|
|
34716
|
+
import { Expose as Expose560 } from "class-transformer";
|
|
34717
|
+
import { IsBoolean as IsBoolean50, IsDefined as IsDefined168, IsUUID as IsUUID5 } from "class-validator";
|
|
34705
34718
|
var BaseEntity = class {
|
|
34706
34719
|
_id;
|
|
34707
34720
|
activo;
|
|
34708
34721
|
};
|
|
34709
34722
|
__decorateClass([
|
|
34710
|
-
|
|
34723
|
+
IsDefined168({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
34711
34724
|
IsUUID5("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
34712
|
-
|
|
34725
|
+
Expose560()
|
|
34713
34726
|
], BaseEntity.prototype, "_id", 2);
|
|
34714
34727
|
__decorateClass([
|
|
34715
|
-
|
|
34728
|
+
IsDefined168({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
34716
34729
|
IsBoolean50({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
34717
|
-
|
|
34730
|
+
Expose560()
|
|
34718
34731
|
], BaseEntity.prototype, "activo", 2);
|
|
34719
34732
|
|
|
34720
34733
|
// src/v2/entities/Delegacion.ts
|
|
@@ -34724,23 +34737,23 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
34724
34737
|
nombre;
|
|
34725
34738
|
};
|
|
34726
34739
|
__decorateClass([
|
|
34727
|
-
|
|
34740
|
+
IsDefined169({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
34728
34741
|
Type366(() => CodigoNombreMinLengthDto),
|
|
34729
34742
|
IsObject13({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
34730
34743
|
ValidateNested324({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
34731
|
-
|
|
34744
|
+
Expose561()
|
|
34732
34745
|
], DelegacionEntity.prototype, "pais", 2);
|
|
34733
34746
|
__decorateClass([
|
|
34734
|
-
|
|
34747
|
+
IsDefined169({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
34735
34748
|
IsString456({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
34736
34749
|
MinLength47(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
34737
|
-
|
|
34750
|
+
Expose561()
|
|
34738
34751
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
34739
34752
|
__decorateClass([
|
|
34740
|
-
|
|
34753
|
+
IsDefined169({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
34741
34754
|
IsString456({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
34742
34755
|
MinLength47(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
34743
|
-
|
|
34756
|
+
Expose561()
|
|
34744
34757
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
34745
34758
|
export {
|
|
34746
34759
|
ADM_RM_ZonasActividadENTITY,
|
|
@@ -35076,6 +35089,7 @@ export {
|
|
|
35076
35089
|
OperacionDataAdicional,
|
|
35077
35090
|
OptionCatalogoDTO,
|
|
35078
35091
|
OrdenDetailMaintenanceDTO,
|
|
35092
|
+
OrderStockENTITY,
|
|
35079
35093
|
OrigenCUB,
|
|
35080
35094
|
PagosECBaremoDTO,
|
|
35081
35095
|
PagosECDTO,
|