sigo-entities 1.2.113 → 1.2.115

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 CHANGED
@@ -6442,7 +6442,6 @@ declare class UbicacionwinDTO {
6442
6442
  ubicacion: string;
6443
6443
  }
6444
6444
  declare class MaterialeswinDTO {
6445
- key: string;
6446
6445
  codigo: string;
6447
6446
  descripcion: string;
6448
6447
  cantidad: number;
@@ -6566,7 +6565,6 @@ declare class Peru9112WinENTITY {
6566
6565
  }
6567
6566
 
6568
6567
  declare class MaterialesFibramasDTO {
6569
- key: string;
6570
6568
  codigo: string;
6571
6569
  descripcion: string;
6572
6570
  cantidad: number;
@@ -6674,6 +6672,7 @@ declare class OrderStockENTITY {
6674
6672
  stock_quantity_employee: StockQuantityEmployeeDTO[];
6675
6673
  state_consumption: StateInventory;
6676
6674
  state_replacement: StateInventory;
6675
+ ID_StockPersonal: number;
6677
6676
  }
6678
6677
 
6679
6678
  declare class TOAOrdenLiquidacionENTITY {
package/dist/index.d.ts CHANGED
@@ -6442,7 +6442,6 @@ declare class UbicacionwinDTO {
6442
6442
  ubicacion: string;
6443
6443
  }
6444
6444
  declare class MaterialeswinDTO {
6445
- key: string;
6446
6445
  codigo: string;
6447
6446
  descripcion: string;
6448
6447
  cantidad: number;
@@ -6566,7 +6565,6 @@ declare class Peru9112WinENTITY {
6566
6565
  }
6567
6566
 
6568
6567
  declare class MaterialesFibramasDTO {
6569
- key: string;
6570
6568
  codigo: string;
6571
6569
  descripcion: string;
6572
6570
  cantidad: number;
@@ -6674,6 +6672,7 @@ declare class OrderStockENTITY {
6674
6672
  stock_quantity_employee: StockQuantityEmployeeDTO[];
6675
6673
  state_consumption: StateInventory;
6676
6674
  state_replacement: StateInventory;
6675
+ ID_StockPersonal: number;
6677
6676
  }
6678
6677
 
6679
6678
  declare class TOAOrdenLiquidacionENTITY {
package/dist/index.js CHANGED
@@ -34245,7 +34245,6 @@ __decorateClass([
34245
34245
  (0, import_class_validator558.IsString)()
34246
34246
  ], UbicacionwinDTO.prototype, "ubicacion", 2);
34247
34247
  var MaterialeswinDTO = class {
34248
- key = "";
34249
34248
  codigo = "";
34250
34249
  descripcion = "";
34251
34250
  cantidad = 0;
@@ -34253,12 +34252,6 @@ var MaterialeswinDTO = class {
34253
34252
  invpool = "";
34254
34253
  ID_StockPersonal = 0;
34255
34254
  };
34256
- __decorateClass([
34257
- (0, import_class_transformer557.Expose)(),
34258
- (0, import_class_validator558.IsDefined)({ message: "El campo key es obligatorio." }),
34259
- (0, import_class_transformer557.Transform)(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34260
- (0, import_class_validator558.IsString)()
34261
- ], MaterialeswinDTO.prototype, "key", 2);
34262
34255
  __decorateClass([
34263
34256
  (0, import_class_transformer557.Expose)(),
34264
34257
  (0, import_class_validator558.IsDefined)({ message: "El campo codigo es obligatorio." }),
@@ -34877,7 +34870,6 @@ var import_class_transformer561 = require("class-transformer");
34877
34870
  var import_class_validator562 = require("class-validator");
34878
34871
  var import_reflect_metadata12 = require("reflect-metadata");
34879
34872
  var MaterialesFibramasDTO = class {
34880
- key = "";
34881
34873
  codigo = "";
34882
34874
  descripcion = "";
34883
34875
  cantidad = 0;
@@ -34885,12 +34877,6 @@ var MaterialesFibramasDTO = class {
34885
34877
  invpool = "";
34886
34878
  ID_StockPersonal = 0;
34887
34879
  };
34888
- __decorateClass([
34889
- (0, import_class_transformer561.Expose)(),
34890
- (0, import_class_validator562.IsDefined)({ message: "El campo key es obligatorio." }),
34891
- (0, import_class_transformer561.Transform)(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34892
- (0, import_class_validator562.IsString)()
34893
- ], MaterialesFibramasDTO.prototype, "key", 2);
34894
34880
  __decorateClass([
34895
34881
  (0, import_class_transformer561.Expose)(),
34896
34882
  (0, import_class_validator562.IsDefined)({ message: "El campo codigo es obligatorio." }),
@@ -35387,6 +35373,7 @@ var OrderStockENTITY = class {
35387
35373
  stock_quantity_employee = [];
35388
35374
  state_consumption;
35389
35375
  state_replacement;
35376
+ ID_StockPersonal = 0;
35390
35377
  };
35391
35378
  __decorateClass([
35392
35379
  (0, import_class_validator566.IsDefined)({ message: "El campo _id es obligatorio." }),
@@ -35442,6 +35429,11 @@ __decorateClass([
35442
35429
  (0, import_class_transformer565.Expose)(),
35443
35430
  (0, import_class_validator566.IsEnum)(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35444
35431
  ], OrderStockENTITY.prototype, "state_replacement", 2);
35432
+ __decorateClass([
35433
+ (0, import_class_transformer565.Expose)(),
35434
+ (0, import_class_validator566.IsDefined)({ message: "El campo ID_StockPersonal es obligatorio." }),
35435
+ (0, import_class_validator566.IsNumber)()
35436
+ ], OrderStockENTITY.prototype, "ID_StockPersonal", 2);
35445
35437
 
35446
35438
  // src/operativa/procesos/TOA orden liquidacion/shared/index.ts
35447
35439
  var import_class_transformer566 = require("class-transformer");
package/dist/index.mjs CHANGED
@@ -33751,21 +33751,21 @@ __decorateClass([
33751
33751
  ], RequestNumberTTLENTITY.prototype, "createdAt", 2);
33752
33752
 
33753
33753
  // src/operativa/procesos/win_order/shared/index.ts
33754
- import { Expose as Expose558, Transform as Transform74, Type as Type363 } from "class-transformer";
33754
+ import { Expose as Expose558, Transform as Transform73, Type as Type362 } from "class-transformer";
33755
33755
  import {
33756
33756
  IsDefined as IsDefined163,
33757
33757
  IsString as IsString454,
33758
- ValidateNested as ValidateNested322,
33759
- IsArray as IsArray190,
33758
+ ValidateNested as ValidateNested321,
33759
+ IsArray as IsArray189,
33760
33760
  IsDate as IsDate137,
33761
- IsEnum as IsEnum23,
33761
+ IsEnum as IsEnum22,
33762
33762
  IsNumber as IsNumber367,
33763
33763
  IsUUID as IsUUID6
33764
33764
  } from "class-validator";
33765
33765
  import "reflect-metadata";
33766
33766
 
33767
33767
  // src/operativa/procesos/win_order/shared/dto/index.ts
33768
- import { Expose as Expose555, Transform as Transform72 } from "class-transformer";
33768
+ import { Expose as Expose555 } from "class-transformer";
33769
33769
  import {
33770
33770
  IsDefined as IsDefined160,
33771
33771
  IsString as IsString451,
@@ -33848,7 +33848,6 @@ __decorateClass([
33848
33848
  IsString451()
33849
33849
  ], UbicacionwinDTO.prototype, "ubicacion", 2);
33850
33850
  var MaterialeswinDTO = class {
33851
- key = "";
33852
33851
  codigo = "";
33853
33852
  descripcion = "";
33854
33853
  cantidad = 0;
@@ -33856,12 +33855,6 @@ var MaterialeswinDTO = class {
33856
33855
  invpool = "";
33857
33856
  ID_StockPersonal = 0;
33858
33857
  };
33859
- __decorateClass([
33860
- Expose555(),
33861
- IsDefined160({ message: "El campo key es obligatorio." }),
33862
- Transform72(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
33863
- IsString451()
33864
- ], MaterialeswinDTO.prototype, "key", 2);
33865
33858
  __decorateClass([
33866
33859
  Expose555(),
33867
33860
  IsDefined160({ message: "El campo codigo es obligatorio." }),
@@ -33930,20 +33923,20 @@ var StateWin = /* @__PURE__ */ ((StateWin2) => {
33930
33923
  })(StateWin || {});
33931
33924
 
33932
33925
  // src/operativa/procesos/win_order_db/shared/index.ts
33933
- import { Expose as Expose557, Type as Type362 } from "class-transformer";
33926
+ import { Expose as Expose557, Type as Type361 } from "class-transformer";
33934
33927
  import {
33935
33928
  IsDefined as IsDefined162,
33936
33929
  IsString as IsString453,
33937
- ValidateNested as ValidateNested321,
33938
- IsArray as IsArray189,
33930
+ ValidateNested as ValidateNested320,
33931
+ IsArray as IsArray188,
33939
33932
  IsDate as IsDate136,
33940
- IsEnum as IsEnum22,
33933
+ IsEnum as IsEnum21,
33941
33934
  IsNumber as IsNumber366
33942
33935
  } from "class-validator";
33943
33936
  import "reflect-metadata";
33944
33937
 
33945
33938
  // src/operativa/procesos/win_order_db/shared/dto/index.ts
33946
- import { Expose as Expose556, Transform as Transform73 } from "class-transformer";
33939
+ import { Expose as Expose556, Transform as Transform72 } from "class-transformer";
33947
33940
  import {
33948
33941
  IsDefined as IsDefined161,
33949
33942
  IsString as IsString452,
@@ -34037,7 +34030,7 @@ var MaterialeswinDBDTO = class {
34037
34030
  __decorateClass([
34038
34031
  Expose556(),
34039
34032
  IsDefined161({ message: "El campo key es obligatorio." }),
34040
- Transform73(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34033
+ Transform72(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34041
34034
  IsString452()
34042
34035
  ], MaterialeswinDBDTO.prototype, "key", 2);
34043
34036
  __decorateClass([
@@ -34193,8 +34186,8 @@ __decorateClass([
34193
34186
  __decorateClass([
34194
34187
  Expose557(),
34195
34188
  IsDefined162({ message: "El campo direccion_cliente es obligatorio." }),
34196
- ValidateNested321(),
34197
- Type362(() => UbicacionwinDBDTO)
34189
+ ValidateNested320(),
34190
+ Type361(() => UbicacionwinDBDTO)
34198
34191
  ], Peru9112WinENTITYDB.prototype, "direccion_cliente", 2);
34199
34192
  __decorateClass([
34200
34193
  Expose557(),
@@ -34214,7 +34207,7 @@ __decorateClass([
34214
34207
  __decorateClass([
34215
34208
  Expose557(),
34216
34209
  IsDefined162({ message: "El campo estado es obligatorio." }),
34217
- IsEnum22(StateWin, { message: "El campo Estado no es v\xE1lido" })
34210
+ IsEnum21(StateWin, { message: "El campo Estado no es v\xE1lido" })
34218
34211
  ], Peru9112WinENTITYDB.prototype, "estado", 2);
34219
34212
  __decorateClass([
34220
34213
  Expose557(),
@@ -34259,16 +34252,16 @@ __decorateClass([
34259
34252
  __decorateClass([
34260
34253
  Expose557(),
34261
34254
  IsDefined162({ message: "El campo historial_estados es obligatorio." }),
34262
- IsArray189(),
34263
- ValidateNested321({ each: true }),
34264
- Type362(() => HistorialEstadoswinDBDTO)
34255
+ IsArray188(),
34256
+ ValidateNested320({ each: true }),
34257
+ Type361(() => HistorialEstadoswinDBDTO)
34265
34258
  ], Peru9112WinENTITYDB.prototype, "historial_estados", 2);
34266
34259
  __decorateClass([
34267
34260
  Expose557(),
34268
34261
  IsDefined162({ message: "El campo inventory es obligatorio." }),
34269
- IsArray189(),
34270
- ValidateNested321({ each: true }),
34271
- Type362(() => MaterialeswinDBDTO)
34262
+ IsArray188(),
34263
+ ValidateNested320({ each: true }),
34264
+ Type361(() => MaterialeswinDBDTO)
34272
34265
  ], Peru9112WinENTITYDB.prototype, "inventory", 2);
34273
34266
  __decorateClass([
34274
34267
  Expose557(),
@@ -34288,8 +34281,8 @@ __decorateClass([
34288
34281
  __decorateClass([
34289
34282
  Expose557(),
34290
34283
  IsDefined162({ message: "El campo EECC es obligatorio." }),
34291
- ValidateNested321(),
34292
- Type362(() => EECCDBWINDTO)
34284
+ ValidateNested320(),
34285
+ Type361(() => EECCDBWINDTO)
34293
34286
  ], Peru9112WinENTITYDB.prototype, "EECC", 2);
34294
34287
 
34295
34288
  // src/operativa/procesos/win_order/shared/index.ts
@@ -34378,8 +34371,8 @@ __decorateClass([
34378
34371
  __decorateClass([
34379
34372
  Expose558({ name: "Direcci\xF3n Cliente" }),
34380
34373
  IsDefined163({ message: "El campo direccion_cliente es obligatorio." }),
34381
- ValidateNested322(),
34382
- Type363(() => UbicacionwinDTO)
34374
+ ValidateNested321(),
34375
+ Type362(() => UbicacionwinDTO)
34383
34376
  ], Peru9112WinENTITY.prototype, "direccion_cliente", 2);
34384
34377
  __decorateClass([
34385
34378
  Expose558({ name: "Motivo Regesti\xF3n" }),
@@ -34399,13 +34392,13 @@ __decorateClass([
34399
34392
  __decorateClass([
34400
34393
  Expose558({ name: "Estado" }),
34401
34394
  IsDefined163({ message: "El campo Estado actividad es obligatorio." }),
34402
- IsEnum23(StateWin, { message: "El campo Estado no es v\xE1lido" })
34395
+ IsEnum22(StateWin, { message: "El campo Estado no es v\xE1lido" })
34403
34396
  ], Peru9112WinENTITY.prototype, "estado", 2);
34404
34397
  __decorateClass([
34405
34398
  Expose558({ name: "Estado Interno" }),
34406
- Transform74(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
34399
+ Transform73(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
34407
34400
  IsDefined163({ message: "El campo estado interno es obligatorio." }),
34408
- IsEnum23(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
34401
+ IsEnum22(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
34409
34402
  ], Peru9112WinENTITY.prototype, "estado_interno", 2);
34410
34403
  __decorateClass([
34411
34404
  Expose558({ name: "Fecha Estado" }),
@@ -34450,16 +34443,16 @@ __decorateClass([
34450
34443
  __decorateClass([
34451
34444
  Expose558({ name: "Historial de Estados" }),
34452
34445
  IsDefined163({ message: "El campo Historial de Estados es obligatorio." }),
34453
- IsArray190(),
34454
- ValidateNested322({ each: true }),
34455
- Type363(() => HistorialEstadoswinDTO)
34446
+ IsArray189(),
34447
+ ValidateNested321({ each: true }),
34448
+ Type362(() => HistorialEstadoswinDTO)
34456
34449
  ], Peru9112WinENTITY.prototype, "historial_estados", 2);
34457
34450
  __decorateClass([
34458
34451
  Expose558({ name: "Inventory" }),
34459
34452
  IsDefined163({ message: "El campo Inventory es obligatorio." }),
34460
- IsArray190(),
34461
- ValidateNested322({ each: true }),
34462
- Type363(() => MaterialeswinDTO)
34453
+ IsArray189(),
34454
+ ValidateNested321({ each: true }),
34455
+ Type362(() => MaterialeswinDTO)
34463
34456
  ], Peru9112WinENTITY.prototype, "inventory", 2);
34464
34457
  __decorateClass([
34465
34458
  Expose558({ name: "PB" }),
@@ -34479,26 +34472,26 @@ __decorateClass([
34479
34472
  __decorateClass([
34480
34473
  Expose558({ name: "EECC" }),
34481
34474
  IsDefined163({ message: "El campo EECC es obligatorio." }),
34482
- ValidateNested322(),
34483
- Type363(() => EECCDBWINDTO)
34475
+ ValidateNested321(),
34476
+ Type362(() => EECCDBWINDTO)
34484
34477
  ], Peru9112WinENTITY.prototype, "EECC", 2);
34485
34478
 
34486
34479
  // src/operativa/procesos/fibramas_order/shared/index.ts
34487
- import { Expose as Expose562, Transform as Transform77, Type as Type367 } from "class-transformer";
34480
+ import { Expose as Expose562, Transform as Transform75, Type as Type365 } from "class-transformer";
34488
34481
  import {
34489
34482
  IsDefined as IsDefined167,
34490
34483
  IsString as IsString458,
34491
34484
  IsNumber as IsNumber371,
34492
- ValidateNested as ValidateNested325,
34493
- IsArray as IsArray193,
34494
- IsDate as IsDate140,
34495
- IsEnum as IsEnum26,
34485
+ ValidateNested as ValidateNested323,
34486
+ IsArray as IsArray191,
34487
+ IsDate as IsDate139,
34488
+ IsEnum as IsEnum24,
34496
34489
  IsUUID as IsUUID7
34497
34490
  } from "class-validator";
34498
34491
  import "reflect-metadata";
34499
34492
 
34500
34493
  // src/operativa/procesos/fibramas_order/shared/dto/index.ts
34501
- import { Expose as Expose559, Transform as Transform75 } from "class-transformer";
34494
+ import { Expose as Expose559 } from "class-transformer";
34502
34495
  import {
34503
34496
  IsDefined as IsDefined164,
34504
34497
  IsString as IsString455,
@@ -34506,7 +34499,6 @@ import {
34506
34499
  } from "class-validator";
34507
34500
  import "reflect-metadata";
34508
34501
  var MaterialesFibramasDTO = class {
34509
- key = "";
34510
34502
  codigo = "";
34511
34503
  descripcion = "";
34512
34504
  cantidad = 0;
@@ -34514,12 +34506,6 @@ var MaterialesFibramasDTO = class {
34514
34506
  invpool = "";
34515
34507
  ID_StockPersonal = 0;
34516
34508
  };
34517
- __decorateClass([
34518
- Expose559(),
34519
- IsDefined164({ message: "El campo key es obligatorio." }),
34520
- Transform75(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34521
- IsString455()
34522
- ], MaterialesFibramasDTO.prototype, "key", 2);
34523
34509
  __decorateClass([
34524
34510
  Expose559(),
34525
34511
  IsDefined164({ message: "El campo codigo es obligatorio." }),
@@ -34562,20 +34548,20 @@ var StateServiceFibramas = /* @__PURE__ */ ((StateServiceFibramas2) => {
34562
34548
  })(StateServiceFibramas || {});
34563
34549
 
34564
34550
  // src/operativa/procesos/fibramas_order_db/shared/index.ts
34565
- import { Expose as Expose561, Type as Type366 } from "class-transformer";
34551
+ import { Expose as Expose561, Type as Type364 } from "class-transformer";
34566
34552
  import {
34567
34553
  IsDefined as IsDefined166,
34568
34554
  IsString as IsString457,
34569
34555
  IsNumber as IsNumber370,
34570
- ValidateNested as ValidateNested324,
34571
- IsArray as IsArray192,
34572
- IsDate as IsDate139,
34573
- IsEnum as IsEnum25
34556
+ ValidateNested as ValidateNested322,
34557
+ IsArray as IsArray190,
34558
+ IsDate as IsDate138,
34559
+ IsEnum as IsEnum23
34574
34560
  } from "class-validator";
34575
34561
  import "reflect-metadata";
34576
34562
 
34577
34563
  // src/operativa/procesos/fibramas_order_db/shared/dto/index.ts
34578
- import { Expose as Expose560, Transform as Transform76 } from "class-transformer";
34564
+ import { Expose as Expose560, Transform as Transform74 } from "class-transformer";
34579
34565
  import {
34580
34566
  IsDefined as IsDefined165,
34581
34567
  IsString as IsString456,
@@ -34595,7 +34581,7 @@ var MaterialesFibramasDBDTO = class {
34595
34581
  __decorateClass([
34596
34582
  Expose560(),
34597
34583
  IsDefined165({ message: "El campo key es obligatorio." }),
34598
- Transform76(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34584
+ Transform74(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
34599
34585
  IsString456()
34600
34586
  ], MaterialesFibramasDBDTO.prototype, "key", 2);
34601
34587
  __decorateClass([
@@ -34715,7 +34701,7 @@ __decorateClass([
34715
34701
  __decorateClass([
34716
34702
  Expose561(),
34717
34703
  IsDefined166({ message: "El campo estado_del_servicio es obligatorio." }),
34718
- IsEnum25(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
34704
+ IsEnum23(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
34719
34705
  ], Peru9112FibramasENTITYDB.prototype, "estado_del_servicio", 2);
34720
34706
  __decorateClass([
34721
34707
  Expose561(),
@@ -34770,7 +34756,7 @@ __decorateClass([
34770
34756
  __decorateClass([
34771
34757
  Expose561(),
34772
34758
  IsDefined166({ message: "El campo fecha_recepcion es obligatorio." }),
34773
- IsDate139({ message: "debe ser una fecha" })
34759
+ IsDate138({ message: "debe ser una fecha" })
34774
34760
  ], Peru9112FibramasENTITYDB.prototype, "fecha_recepcion", 2);
34775
34761
  __decorateClass([
34776
34762
  Expose561(),
@@ -34780,7 +34766,7 @@ __decorateClass([
34780
34766
  __decorateClass([
34781
34767
  Expose561(),
34782
34768
  IsDefined166({ message: "El campo fecha_atencion es obligatorio." }),
34783
- IsDate139({ message: "debe ser una fecha" })
34769
+ IsDate138({ message: "debe ser una fecha" })
34784
34770
  ], Peru9112FibramasENTITYDB.prototype, "fecha_atencion", 2);
34785
34771
  __decorateClass([
34786
34772
  Expose561(),
@@ -34795,14 +34781,14 @@ __decorateClass([
34795
34781
  __decorateClass([
34796
34782
  Expose561(),
34797
34783
  IsDefined166({ message: "El campo estado es obligatorio." }),
34798
- IsEnum25(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
34784
+ IsEnum23(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
34799
34785
  ], Peru9112FibramasENTITYDB.prototype, "estado", 2);
34800
34786
  __decorateClass([
34801
34787
  Expose561(),
34802
34788
  IsDefined166({ message: "El campo Inventory es obligatorio." }),
34803
- IsArray192(),
34804
- ValidateNested324({ each: true }),
34805
- Type366(() => MaterialesFibramasDBDTO)
34789
+ IsArray190(),
34790
+ ValidateNested322({ each: true }),
34791
+ Type364(() => MaterialesFibramasDBDTO)
34806
34792
  ], Peru9112FibramasENTITYDB.prototype, "inventory", 2);
34807
34793
  __decorateClass([
34808
34794
  Expose561(),
@@ -34822,8 +34808,8 @@ __decorateClass([
34822
34808
  __decorateClass([
34823
34809
  Expose561(),
34824
34810
  IsDefined166({ message: "El campo EECC es obligatorio." }),
34825
- ValidateNested324(),
34826
- Type366(() => EECCFibramasDBDTO)
34811
+ ValidateNested322(),
34812
+ Type364(() => EECCFibramasDBDTO)
34827
34813
  ], Peru9112FibramasENTITYDB.prototype, "EECC", 2);
34828
34814
 
34829
34815
  // src/operativa/procesos/fibramas_order/shared/index.ts
@@ -34897,13 +34883,13 @@ __decorateClass([
34897
34883
  __decorateClass([
34898
34884
  Expose562({ name: "ESTADO DEL SERVICIO" }),
34899
34885
  IsDefined167({ message: "El campo ESTADO DEL SERVICIO es obligatorio." }),
34900
- IsEnum26(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
34886
+ IsEnum24(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
34901
34887
  ], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
34902
34888
  __decorateClass([
34903
34889
  Expose562({ name: "Estado Interno" }),
34904
- Transform77(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
34890
+ Transform75(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
34905
34891
  IsDefined167({ message: "El campo estado interno es obligatorio." }),
34906
- IsEnum26(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
34892
+ IsEnum24(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
34907
34893
  ], Peru9112FibramasENTITY.prototype, "estado_interno", 2);
34908
34894
  __decorateClass([
34909
34895
  Expose562({ name: "TARIFA DE SERVICIO" }),
@@ -34958,7 +34944,7 @@ __decorateClass([
34958
34944
  __decorateClass([
34959
34945
  Expose562({ name: "F. RECEP." }),
34960
34946
  IsDefined167({ message: "El campo F. RECEP. es obligatorio." }),
34961
- IsDate140({ message: "debe ser una fecha" })
34947
+ IsDate139({ message: "debe ser una fecha" })
34962
34948
  ], Peru9112FibramasENTITY.prototype, "fecha_recepcion", 2);
34963
34949
  __decorateClass([
34964
34950
  Expose562({ name: "H. RECEP." }),
@@ -34968,7 +34954,7 @@ __decorateClass([
34968
34954
  __decorateClass([
34969
34955
  Expose562({ name: "F. ATENC." }),
34970
34956
  IsDefined167({ message: "El campo F. ATENC. es obligatorio." }),
34971
- IsDate140({ message: "debe ser una fecha" })
34957
+ IsDate139({ message: "debe ser una fecha" })
34972
34958
  ], Peru9112FibramasENTITY.prototype, "fecha_atencion", 2);
34973
34959
  __decorateClass([
34974
34960
  Expose562({ name: "H. INI" }),
@@ -34983,14 +34969,14 @@ __decorateClass([
34983
34969
  __decorateClass([
34984
34970
  Expose562({ name: "ESTADO OS" }),
34985
34971
  IsDefined167({ message: "El campo ESTADO OS es obligatorio." }),
34986
- IsEnum26(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
34972
+ IsEnum24(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
34987
34973
  ], Peru9112FibramasENTITY.prototype, "estado", 2);
34988
34974
  __decorateClass([
34989
34975
  Expose562({ name: "Inventory" }),
34990
34976
  IsDefined167({ message: "El campo Inventory es obligatorio." }),
34991
- IsArray193(),
34992
- ValidateNested325({ each: true }),
34993
- Type367(() => MaterialesFibramasDTO)
34977
+ IsArray191(),
34978
+ ValidateNested323({ each: true }),
34979
+ Type365(() => MaterialesFibramasDTO)
34994
34980
  ], Peru9112FibramasENTITY.prototype, "inventory", 2);
34995
34981
  __decorateClass([
34996
34982
  Expose562({ name: "PB" }),
@@ -35010,22 +34996,22 @@ __decorateClass([
35010
34996
  __decorateClass([
35011
34997
  Expose562({ name: "EECC" }),
35012
34998
  IsDefined167({ message: "El campo EECC es obligatorio." }),
35013
- ValidateNested325(),
35014
- Type367(() => EECCFibramasDBDTO)
34999
+ ValidateNested323(),
35000
+ Type365(() => EECCFibramasDBDTO)
35015
35001
  ], Peru9112FibramasENTITY.prototype, "EECC", 2);
35016
35002
 
35017
35003
  // src/operativa/procesos/order stock/shared/index.ts
35018
- import { Expose as Expose563, Type as Type368 } from "class-transformer";
35004
+ import { Expose as Expose563, Type as Type366 } from "class-transformer";
35019
35005
  import {
35020
- IsArray as IsArray194,
35006
+ IsArray as IsArray192,
35021
35007
  IsDefined as IsDefined168,
35022
- IsEnum as IsEnum27,
35008
+ IsEnum as IsEnum25,
35023
35009
  IsNotEmpty as IsNotEmpty378,
35024
35010
  IsNumber as IsNumber372,
35025
35011
  IsString as IsString459,
35026
35012
  IsUUID as IsUUID8,
35027
35013
  MaxLength as MaxLength3,
35028
- ValidateNested as ValidateNested326
35014
+ ValidateNested as ValidateNested324
35029
35015
  } from "class-validator";
35030
35016
  var OrderStockENTITY = class {
35031
35017
  _id;
@@ -35038,6 +35024,7 @@ var OrderStockENTITY = class {
35038
35024
  stock_quantity_employee = [];
35039
35025
  state_consumption;
35040
35026
  state_replacement;
35027
+ ID_StockPersonal = 0;
35041
35028
  };
35042
35029
  __decorateClass([
35043
35030
  IsDefined168({ message: "El campo _id es obligatorio." }),
@@ -35078,25 +35065,30 @@ __decorateClass([
35078
35065
  ], OrderStockENTITY.prototype, "numero_de_peticion", 2);
35079
35066
  __decorateClass([
35080
35067
  IsDefined168({ message: "El campo stock_quantity_employee es obligatorio" }),
35081
- IsArray194({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
35082
- ValidateNested326({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
35083
- Type368(() => StockQuantityEmployeeDTO),
35068
+ IsArray192({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
35069
+ ValidateNested324({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
35070
+ Type366(() => StockQuantityEmployeeDTO),
35084
35071
  Expose563()
35085
35072
  ], OrderStockENTITY.prototype, "stock_quantity_employee", 2);
35086
35073
  __decorateClass([
35087
35074
  IsDefined168({ message: "El campo estado consumo es obligatorio." }),
35088
35075
  Expose563(),
35089
- IsEnum27(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35076
+ IsEnum25(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35090
35077
  ], OrderStockENTITY.prototype, "state_consumption", 2);
35091
35078
  __decorateClass([
35092
35079
  IsDefined168({ message: "El campo estado reposicion es obligatorio." }),
35093
35080
  Expose563(),
35094
- IsEnum27(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35081
+ IsEnum25(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35095
35082
  ], OrderStockENTITY.prototype, "state_replacement", 2);
35083
+ __decorateClass([
35084
+ Expose563(),
35085
+ IsDefined168({ message: "El campo ID_StockPersonal es obligatorio." }),
35086
+ IsNumber372()
35087
+ ], OrderStockENTITY.prototype, "ID_StockPersonal", 2);
35096
35088
 
35097
35089
  // src/operativa/procesos/TOA orden liquidacion/shared/index.ts
35098
- import { Expose as Expose564, Type as Type369 } from "class-transformer";
35099
- import { IsArray as IsArray195, IsDefined as IsDefined169, IsEnum as IsEnum28, IsNumber as IsNumber373, IsObject as IsObject12, IsString as IsString460, IsUUID as IsUUID9, ValidateNested as ValidateNested327 } from "class-validator";
35090
+ import { Expose as Expose564, Type as Type367 } from "class-transformer";
35091
+ import { IsArray as IsArray193, IsDefined as IsDefined169, IsEnum as IsEnum26, IsNumber as IsNumber373, IsObject as IsObject10, IsString as IsString460, IsUUID as IsUUID9, ValidateNested as ValidateNested325 } from "class-validator";
35100
35092
  var TOAOrdenLiquidacionENTITY = class {
35101
35093
  _id;
35102
35094
  tecnico;
@@ -35127,129 +35119,129 @@ __decorateClass([
35127
35119
  ], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
35128
35120
  __decorateClass([
35129
35121
  Expose564({ name: "T\xE9cnico" }),
35130
- Type369(() => String),
35122
+ Type367(() => String),
35131
35123
  IsDefined169({ message: "El campo T\xE9cnico es obligatorio." }),
35132
35124
  IsString460()
35133
35125
  ], TOAOrdenLiquidacionENTITY.prototype, "tecnico", 2);
35134
35126
  __decorateClass([
35135
35127
  Expose564({ name: "ID Recurso" }),
35136
- Type369(() => String),
35128
+ Type367(() => String),
35137
35129
  IsDefined169({ message: "El campo ID Recurso es obligatorio." }),
35138
35130
  IsString460()
35139
35131
  ], TOAOrdenLiquidacionENTITY.prototype, "id_recurso", 2);
35140
35132
  __decorateClass([
35141
35133
  Expose564({ name: "N\xFAmero OT" }),
35142
- Type369(() => Number),
35134
+ Type367(() => Number),
35143
35135
  IsDefined169({ message: "El campo N\xFAmero OT es obligatorio." }),
35144
35136
  IsNumber373()
35145
35137
  ], TOAOrdenLiquidacionENTITY.prototype, "numero_ot", 2);
35146
35138
  __decorateClass([
35147
35139
  Expose564({ name: "Subtipo de Actividad" }),
35148
- Type369(() => String),
35140
+ Type367(() => String),
35149
35141
  IsDefined169({ message: "El campo Subtipo de Actividad es obligatorio." }),
35150
35142
  IsString460()
35151
35143
  ], TOAOrdenLiquidacionENTITY.prototype, "subtipo_de_actividad", 2);
35152
35144
  __decorateClass([
35153
35145
  Expose564({ name: "N\xFAmero de Petici\xF3n" }),
35154
- Type369(() => String),
35146
+ Type367(() => String),
35155
35147
  IsDefined169({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
35156
35148
  IsString460()
35157
35149
  ], TOAOrdenLiquidacionENTITY.prototype, "numero_de_peticion", 2);
35158
35150
  __decorateClass([
35159
35151
  Expose564({ name: "Localidad" }),
35160
- Type369(() => String),
35152
+ Type367(() => String),
35161
35153
  IsDefined169({ message: "El campo Localidad es obligatorio." }),
35162
35154
  IsString460()
35163
35155
  ], TOAOrdenLiquidacionENTITY.prototype, "localidad", 2);
35164
35156
  __decorateClass([
35165
35157
  Expose564({ name: "Direcci\xF3n" }),
35166
- Type369(() => String),
35158
+ Type367(() => String),
35167
35159
  IsDefined169({ message: "El campo Direcci\xF3n es obligatorio." }),
35168
35160
  IsString460()
35169
35161
  ], TOAOrdenLiquidacionENTITY.prototype, "direccion", 2);
35170
35162
  __decorateClass([
35171
35163
  Expose564({ name: "Zona de Trabajo" }),
35172
- Type369(() => String),
35164
+ Type367(() => String),
35173
35165
  IsDefined169({ message: "El campo Zona de Trabajo es obligatorio." }),
35174
35166
  IsString460()
35175
35167
  ], TOAOrdenLiquidacionENTITY.prototype, "zona_de_trabajo", 2);
35176
35168
  __decorateClass([
35177
35169
  Expose564({ name: "Nombre Cliente" }),
35178
- Type369(() => String),
35170
+ Type367(() => String),
35179
35171
  IsDefined169({ message: "El campo Nombre Cliente es obligatorio." }),
35180
35172
  IsString460()
35181
35173
  ], TOAOrdenLiquidacionENTITY.prototype, "nombre_cliente", 2);
35182
35174
  __decorateClass([
35183
35175
  Expose564({ name: "Estado actividad" }),
35184
- Type369(() => String),
35176
+ Type367(() => String),
35185
35177
  IsDefined169({ message: "El campo Estado actividad es obligatorio." }),
35186
35178
  IsString460()
35187
35179
  ], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
35188
35180
  __decorateClass([
35189
35181
  Expose564({ name: "Estado Interno" }),
35190
35182
  IsDefined169({ message: "El campo estado interno es obligatorio." }),
35191
- IsEnum28(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
35183
+ IsEnum26(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
35192
35184
  ], TOAOrdenLiquidacionENTITY.prototype, "estado_interno", 2);
35193
35185
  __decorateClass([
35194
35186
  Expose564({ name: "C\xF3digo de Cliente" }),
35195
- Type369(() => Number),
35187
+ Type367(() => Number),
35196
35188
  IsDefined169({ message: "El campo C\xF3digo de Cliente es obligatorio." }),
35197
35189
  IsNumber373()
35198
35190
  ], TOAOrdenLiquidacionENTITY.prototype, "codigo_de_cliente", 2);
35199
35191
  __decorateClass([
35200
35192
  Expose564({ name: "Actividad Gpon" }),
35201
- Type369(() => String),
35193
+ Type367(() => String),
35202
35194
  IsDefined169({ message: "El campo Actividad Gpon es obligatorio." }),
35203
35195
  IsString460()
35204
35196
  ], TOAOrdenLiquidacionENTITY.prototype, "actividad_gpon", 2);
35205
35197
  __decorateClass([
35206
35198
  Expose564({ name: "Nombre Distrito" }),
35207
- Type369(() => String),
35199
+ Type367(() => String),
35208
35200
  IsDefined169({ message: "El campo Nombre Distrito es obligatorio." }),
35209
35201
  IsString460()
35210
35202
  ], TOAOrdenLiquidacionENTITY.prototype, "nombre_distrito", 2);
35211
35203
  __decorateClass([
35212
35204
  Expose564({ name: "N\xFAmero Tel\xE9fono" }),
35213
- Type369(() => String),
35205
+ Type367(() => String),
35214
35206
  IsDefined169({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
35215
35207
  IsString460()
35216
35208
  ], TOAOrdenLiquidacionENTITY.prototype, "numero_telefono", 2);
35217
35209
  __decorateClass([
35218
35210
  Expose564({ name: "Segmento" }),
35219
35211
  IsDefined169({ message: "El campo Segmento es obligatorio." }),
35220
- IsObject12(),
35221
- ValidateNested327(),
35222
- Type369(() => ToaSegmentoDTO)
35212
+ IsObject10(),
35213
+ ValidateNested325(),
35214
+ Type367(() => ToaSegmentoDTO)
35223
35215
  ], TOAOrdenLiquidacionENTITY.prototype, "segmento", 2);
35224
35216
  __decorateClass([
35225
35217
  Expose564({ name: "Nombre de Provincia" }),
35226
- Type369(() => String),
35218
+ Type367(() => String),
35227
35219
  IsDefined169({ message: "El campo Nombre de Provincia es obligatorio." }),
35228
35220
  IsString460()
35229
35221
  ], TOAOrdenLiquidacionENTITY.prototype, "nombre_de_provincia", 2);
35230
35222
  __decorateClass([
35231
35223
  Expose564({ name: "Departamento" }),
35232
- Type369(() => String),
35224
+ Type367(() => String),
35233
35225
  IsDefined169({ message: "El campo Departamento es obligatorio." }),
35234
35226
  IsString460()
35235
35227
  ], TOAOrdenLiquidacionENTITY.prototype, "departamento", 2);
35236
35228
  __decorateClass([
35237
35229
  Expose564({ name: "Reiterada TDI" }),
35238
- Type369(() => String),
35230
+ Type367(() => String),
35239
35231
  IsDefined169({ message: "El campo Reiterada TDI es obligatorio." }),
35240
35232
  IsString460()
35241
35233
  ], TOAOrdenLiquidacionENTITY.prototype, "reiterada_tdi", 2);
35242
35234
  __decorateClass([
35243
35235
  Expose564({ name: "Inventario" }),
35244
35236
  IsDefined169({ message: "El campo inventario es obligatorio." }),
35245
- IsArray195(),
35246
- ValidateNested327({ each: true }),
35247
- Type369(() => MaterialestoaDTO)
35237
+ IsArray193(),
35238
+ ValidateNested325({ each: true }),
35239
+ Type367(() => MaterialestoaDTO)
35248
35240
  ], TOAOrdenLiquidacionENTITY.prototype, "inventario", 2);
35249
35241
 
35250
35242
  // src/operativa/procesos/TOA orden liquidacion_db/shared/index.ts
35251
- import { Expose as Expose565, Type as Type370 } from "class-transformer";
35252
- import { IsArray as IsArray196, IsDefined as IsDefined170, IsEnum as IsEnum29, IsNumber as IsNumber374, IsObject as IsObject13, IsString as IsString461, IsUUID as IsUUID10, ValidateNested as ValidateNested328 } from "class-validator";
35243
+ import { Expose as Expose565, Type as Type368 } from "class-transformer";
35244
+ import { IsArray as IsArray194, IsDefined as IsDefined170, IsEnum as IsEnum27, IsNumber as IsNumber374, IsObject as IsObject11, IsString as IsString461, IsUUID as IsUUID10, ValidateNested as ValidateNested326 } from "class-validator";
35253
35245
  var TOAOrdenLiquidacionENTITYDB = class {
35254
35246
  _id = "";
35255
35247
  tecnico = "";
@@ -35331,7 +35323,7 @@ __decorateClass([
35331
35323
  __decorateClass([
35332
35324
  Expose565(),
35333
35325
  IsDefined170({ message: "El campo estado interno es obligatorio." }),
35334
- IsEnum29(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
35326
+ IsEnum27(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
35335
35327
  ], TOAOrdenLiquidacionENTITYDB.prototype, "estado_interno", 2);
35336
35328
  __decorateClass([
35337
35329
  Expose565(),
@@ -35351,15 +35343,15 @@ __decorateClass([
35351
35343
  __decorateClass([
35352
35344
  Expose565(),
35353
35345
  IsDefined170({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
35354
- Type370(() => String),
35346
+ Type368(() => String),
35355
35347
  IsString461()
35356
35348
  ], TOAOrdenLiquidacionENTITYDB.prototype, "numero_telefono", 2);
35357
35349
  __decorateClass([
35358
35350
  Expose565(),
35359
35351
  IsDefined170({ message: "El campo Segmento es obligatorio." }),
35360
- IsObject13(),
35361
- ValidateNested328(),
35362
- Type370(() => ToaSegmentoDBDTO)
35352
+ IsObject11(),
35353
+ ValidateNested326(),
35354
+ Type368(() => ToaSegmentoDBDTO)
35363
35355
  ], TOAOrdenLiquidacionENTITYDB.prototype, "segmento", 2);
35364
35356
  __decorateClass([
35365
35357
  Expose565(),
@@ -35379,14 +35371,14 @@ __decorateClass([
35379
35371
  __decorateClass([
35380
35372
  Expose565(),
35381
35373
  IsDefined170({ message: "El campo inventario es obligatorio." }),
35382
- IsArray196(),
35383
- ValidateNested328({ each: true }),
35384
- Type370(() => MaterialestoaDBDTO)
35374
+ IsArray194(),
35375
+ ValidateNested326({ each: true }),
35376
+ Type368(() => MaterialestoaDBDTO)
35385
35377
  ], TOAOrdenLiquidacionENTITYDB.prototype, "inventario", 2);
35386
35378
 
35387
35379
  // src/operativa/procesos/TOA Claro order stock/shared/index.ts
35388
- import { Expose as Expose566, Type as Type371 } from "class-transformer";
35389
- import { IsArray as IsArray197, IsDefined as IsDefined171, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty379, IsNumber as IsNumber375, IsString as IsString462, IsUUID as IsUUID11, MaxLength as MaxLength4, ValidateNested as ValidateNested329 } from "class-validator";
35380
+ import { Expose as Expose566, Type as Type369 } from "class-transformer";
35381
+ import { IsArray as IsArray195, IsDefined as IsDefined171, IsEnum as IsEnum28, IsNotEmpty as IsNotEmpty379, IsNumber as IsNumber375, IsString as IsString462, IsUUID as IsUUID11, MaxLength as MaxLength4, ValidateNested as ValidateNested327 } from "class-validator";
35390
35382
  var TOAClaroOrderStockENTITY = class {
35391
35383
  _id;
35392
35384
  id_recurso;
@@ -35438,20 +35430,20 @@ __decorateClass([
35438
35430
  ], TOAClaroOrderStockENTITY.prototype, "numero_de_peticion", 2);
35439
35431
  __decorateClass([
35440
35432
  IsDefined171({ message: "El campo stock_quantity_employee es obligatorio" }),
35441
- IsArray197({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
35442
- ValidateNested329({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
35443
- Type371(() => StockQuantityEmployeeDTO),
35433
+ IsArray195({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
35434
+ ValidateNested327({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
35435
+ Type369(() => StockQuantityEmployeeDTO),
35444
35436
  Expose566()
35445
35437
  ], TOAClaroOrderStockENTITY.prototype, "stock_quantity_employee", 2);
35446
35438
  __decorateClass([
35447
35439
  IsDefined171({ message: "El campo estado consumo es obligatorio." }),
35448
35440
  Expose566(),
35449
- IsEnum30(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35441
+ IsEnum28(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35450
35442
  ], TOAClaroOrderStockENTITY.prototype, "state_consumption", 2);
35451
35443
  __decorateClass([
35452
35444
  IsDefined171({ message: "El campo estado reposicion es obligatorio." }),
35453
35445
  Expose566(),
35454
- IsEnum30(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35446
+ IsEnum28(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
35455
35447
  ], TOAClaroOrderStockENTITY.prototype, "state_replacement", 2);
35456
35448
 
35457
35449
  // src/v2/dtos/CodigoNombre.ts
@@ -35481,8 +35473,8 @@ __decorateClass([
35481
35473
  ], CodigoNombreMinLengthDto.prototype, "nombre", 2);
35482
35474
 
35483
35475
  // src/v2/entities/Delegacion.ts
35484
- import { Expose as Expose569, Type as Type372 } from "class-transformer";
35485
- import { IsDefined as IsDefined174, IsObject as IsObject14, IsString as IsString464, MinLength as MinLength48, ValidateNested as ValidateNested330 } from "class-validator";
35476
+ import { Expose as Expose569, Type as Type370 } from "class-transformer";
35477
+ import { IsDefined as IsDefined174, IsObject as IsObject12, IsString as IsString464, MinLength as MinLength48, ValidateNested as ValidateNested328 } from "class-validator";
35486
35478
 
35487
35479
  // src/v2/entities/Base.ts
35488
35480
  import { Expose as Expose568 } from "class-transformer";
@@ -35510,9 +35502,9 @@ var DelegacionEntity = class extends BaseEntity {
35510
35502
  };
35511
35503
  __decorateClass([
35512
35504
  IsDefined174({ message: 'La propiedad "pais" es obligatoria.' }),
35513
- Type372(() => CodigoNombreMinLengthDto),
35514
- IsObject14({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
35515
- ValidateNested330({ message: 'La propiedad "pais" no es v\xE1lida.' }),
35505
+ Type370(() => CodigoNombreMinLengthDto),
35506
+ IsObject12({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
35507
+ ValidateNested328({ message: 'La propiedad "pais" no es v\xE1lida.' }),
35516
35508
  Expose569()
35517
35509
  ], DelegacionEntity.prototype, "pais", 2);
35518
35510
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.113",
3
+ "version": "1.2.115",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",