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