sigo-entities 1.2.420 → 1.2.421

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
@@ -9066,6 +9066,8 @@ declare class SomacylEntregablesDTO {
9066
9066
  longitud: number;
9067
9067
  foto_antes: FilesDocDTO;
9068
9068
  foto_despues: FilesDocDTO;
9069
+ conjunto_medida_antes: FilesDocDTO;
9070
+ conjunto_medida_despues: FilesDocDTO;
9069
9071
  observaciones: string;
9070
9072
  }
9071
9073
 
@@ -9537,7 +9539,7 @@ declare class MaterialesPeru9112ClaroDTO {
9537
9539
  descripcion: string;
9538
9540
  cantidad: number;
9539
9541
  invsn: string;
9540
- invpool: string;
9542
+ invpool: InvPoolAction;
9541
9543
  ID_StockPersonal: number;
9542
9544
  }
9543
9545
 
@@ -9733,7 +9735,8 @@ declare enum SystemResource {
9733
9735
  FIBRAMAS = "FIBRAMAS",
9734
9736
  TUVES = "TUVES",
9735
9737
  SOMACYL = "SOMACYL",
9736
- MI_FIBRA = "MI_FIBRA"
9738
+ MI_FIBRA = "MI_FIBRA",
9739
+ CLARO = "CLARO"
9737
9740
  }
9738
9741
 
9739
9742
  declare class ResourceSystemDto {
package/dist/index.d.ts CHANGED
@@ -9066,6 +9066,8 @@ declare class SomacylEntregablesDTO {
9066
9066
  longitud: number;
9067
9067
  foto_antes: FilesDocDTO;
9068
9068
  foto_despues: FilesDocDTO;
9069
+ conjunto_medida_antes: FilesDocDTO;
9070
+ conjunto_medida_despues: FilesDocDTO;
9069
9071
  observaciones: string;
9070
9072
  }
9071
9073
 
@@ -9537,7 +9539,7 @@ declare class MaterialesPeru9112ClaroDTO {
9537
9539
  descripcion: string;
9538
9540
  cantidad: number;
9539
9541
  invsn: string;
9540
- invpool: string;
9542
+ invpool: InvPoolAction;
9541
9543
  ID_StockPersonal: number;
9542
9544
  }
9543
9545
 
@@ -9733,7 +9735,8 @@ declare enum SystemResource {
9733
9735
  FIBRAMAS = "FIBRAMAS",
9734
9736
  TUVES = "TUVES",
9735
9737
  SOMACYL = "SOMACYL",
9736
- MI_FIBRA = "MI_FIBRA"
9738
+ MI_FIBRA = "MI_FIBRA",
9739
+ CLARO = "CLARO"
9737
9740
  }
9738
9741
 
9739
9742
  declare class ResourceSystemDto {
package/dist/index.js CHANGED
@@ -47752,6 +47752,8 @@ var SomacylEntregablesDTO = class {
47752
47752
  longitud = 0;
47753
47753
  foto_antes = new FilesDocDTO();
47754
47754
  foto_despues = new FilesDocDTO();
47755
+ conjunto_medida_antes = new FilesDocDTO();
47756
+ conjunto_medida_despues = new FilesDocDTO();
47755
47757
  observaciones = "";
47756
47758
  };
47757
47759
  __decorateClass([
@@ -47832,6 +47834,18 @@ __decorateClass([
47832
47834
  (0, import_class_validator747.ValidateNested)(),
47833
47835
  (0, import_class_transformer770.Type)(() => FilesDocDTO)
47834
47836
  ], SomacylEntregablesDTO.prototype, "foto_despues", 2);
47837
+ __decorateClass([
47838
+ (0, import_class_transformer770.Expose)(),
47839
+ (0, import_class_validator747.IsDefined)(),
47840
+ (0, import_class_validator747.ValidateNested)(),
47841
+ (0, import_class_transformer770.Type)(() => FilesDocDTO)
47842
+ ], SomacylEntregablesDTO.prototype, "conjunto_medida_antes", 2);
47843
+ __decorateClass([
47844
+ (0, import_class_transformer770.Expose)(),
47845
+ (0, import_class_validator747.IsDefined)(),
47846
+ (0, import_class_validator747.ValidateNested)(),
47847
+ (0, import_class_transformer770.Type)(() => FilesDocDTO)
47848
+ ], SomacylEntregablesDTO.prototype, "conjunto_medida_despues", 2);
47835
47849
  __decorateClass([
47836
47850
  (0, import_class_transformer770.Expose)(),
47837
47851
  (0, import_class_validator747.IsDefined)(),
@@ -50327,7 +50341,7 @@ var MaterialesPeru9112ClaroDTO = class {
50327
50341
  descripcion = "";
50328
50342
  cantidad = 0;
50329
50343
  invsn = "";
50330
- invpool = "";
50344
+ invpool = "install" /* INSTALL */;
50331
50345
  ID_StockPersonal = 0;
50332
50346
  };
50333
50347
  __decorateClass([
@@ -50342,8 +50356,10 @@ __decorateClass([
50342
50356
  ], MaterialesPeru9112ClaroDTO.prototype, "descripcion", 2);
50343
50357
  __decorateClass([
50344
50358
  (0, import_class_transformer786.Expose)(),
50345
- (0, import_class_validator763.IsDefined)({ message: "El campo quantity es obligatorio." }),
50346
- (0, import_class_validator763.IsNumber)()
50359
+ (0, import_class_validator763.IsDefined)({ message: "El campo quantity es obligatorio" }),
50360
+ (0, import_class_transformer786.Type)(() => Number),
50361
+ (0, import_class_validator763.IsNumber)(),
50362
+ (0, import_class_validator763.Min)(1, { message: "La cantidad minima es $constraint1" })
50347
50363
  ], MaterialesPeru9112ClaroDTO.prototype, "cantidad", 2);
50348
50364
  __decorateClass([
50349
50365
  (0, import_class_transformer786.Expose)(),
@@ -50352,8 +50368,8 @@ __decorateClass([
50352
50368
  ], MaterialesPeru9112ClaroDTO.prototype, "invsn", 2);
50353
50369
  __decorateClass([
50354
50370
  (0, import_class_transformer786.Expose)(),
50355
- (0, import_class_validator763.IsDefined)({ message: "El campo invpool es obligatorio." }),
50356
- (0, import_class_validator763.IsString)()
50371
+ (0, import_class_validator763.IsDefined)({ message: "El campo invpool es obligatorio" }),
50372
+ (0, import_class_validator763.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
50357
50373
  ], MaterialesPeru9112ClaroDTO.prototype, "invpool", 2);
50358
50374
  __decorateClass([
50359
50375
  (0, import_class_transformer786.Expose)(),
@@ -51457,6 +51473,7 @@ var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
51457
51473
  SystemResource2["TUVES"] = "TUVES";
51458
51474
  SystemResource2["SOMACYL"] = "SOMACYL";
51459
51475
  SystemResource2["MI_FIBRA"] = "MI_FIBRA";
51476
+ SystemResource2["CLARO"] = "CLARO";
51460
51477
  return SystemResource2;
51461
51478
  })(SystemResource || {});
51462
51479
 
package/dist/index.mjs CHANGED
@@ -47215,6 +47215,8 @@ var SomacylEntregablesDTO = class {
47215
47215
  longitud = 0;
47216
47216
  foto_antes = new FilesDocDTO();
47217
47217
  foto_despues = new FilesDocDTO();
47218
+ conjunto_medida_antes = new FilesDocDTO();
47219
+ conjunto_medida_despues = new FilesDocDTO();
47218
47220
  observaciones = "";
47219
47221
  };
47220
47222
  __decorateClass([
@@ -47295,6 +47297,18 @@ __decorateClass([
47295
47297
  ValidateNested409(),
47296
47298
  Type467(() => FilesDocDTO)
47297
47299
  ], SomacylEntregablesDTO.prototype, "foto_despues", 2);
47300
+ __decorateClass([
47301
+ Expose743(),
47302
+ IsDefined250(),
47303
+ ValidateNested409(),
47304
+ Type467(() => FilesDocDTO)
47305
+ ], SomacylEntregablesDTO.prototype, "conjunto_medida_antes", 2);
47306
+ __decorateClass([
47307
+ Expose743(),
47308
+ IsDefined250(),
47309
+ ValidateNested409(),
47310
+ Type467(() => FilesDocDTO)
47311
+ ], SomacylEntregablesDTO.prototype, "conjunto_medida_despues", 2);
47298
47312
  __decorateClass([
47299
47313
  Expose743(),
47300
47314
  IsDefined250(),
@@ -49662,7 +49676,7 @@ __decorateClass([
49662
49676
  ], TdcOrderStockENTITY.prototype, "state_replacement", 2);
49663
49677
 
49664
49678
  // src/operativa/procesos/claro_peru9112/shared/index.ts
49665
- import { Expose as Expose764, Type as Type475 } from "class-transformer";
49679
+ import { Expose as Expose764, Type as Type476 } from "class-transformer";
49666
49680
  import {
49667
49681
  IsDefined as IsDefined265,
49668
49682
  IsString as IsString633,
@@ -49672,7 +49686,7 @@ import {
49672
49686
  IsObject as IsObject14,
49673
49687
  IsDate as IsDate182,
49674
49688
  IsUUID as IsUUID21,
49675
- IsEnum as IsEnum42
49689
+ IsEnum as IsEnum43
49676
49690
  } from "class-validator";
49677
49691
  import "reflect-metadata";
49678
49692
 
@@ -49820,15 +49834,15 @@ __decorateClass([
49820
49834
  ], PlantaPeru9112ClaroDTO.prototype, "datos_borne", 2);
49821
49835
 
49822
49836
  // src/operativa/procesos/claro_peru9112/shared/dto/materiales-peru9112-claro-dto.ts
49823
- import { Expose as Expose759 } from "class-transformer";
49824
- import { IsDefined as IsDefined262, IsString as IsString629, IsNumber as IsNumber497 } from "class-validator";
49837
+ import { Expose as Expose759, Type as Type475 } from "class-transformer";
49838
+ import { IsDefined as IsDefined262, IsString as IsString629, IsNumber as IsNumber497, Min as Min337, IsEnum as IsEnum41 } from "class-validator";
49825
49839
  import "reflect-metadata";
49826
49840
  var MaterialesPeru9112ClaroDTO = class {
49827
49841
  codigo = "";
49828
49842
  descripcion = "";
49829
49843
  cantidad = 0;
49830
49844
  invsn = "";
49831
- invpool = "";
49845
+ invpool = "install" /* INSTALL */;
49832
49846
  ID_StockPersonal = 0;
49833
49847
  };
49834
49848
  __decorateClass([
@@ -49843,8 +49857,10 @@ __decorateClass([
49843
49857
  ], MaterialesPeru9112ClaroDTO.prototype, "descripcion", 2);
49844
49858
  __decorateClass([
49845
49859
  Expose759(),
49846
- IsDefined262({ message: "El campo quantity es obligatorio." }),
49847
- IsNumber497()
49860
+ IsDefined262({ message: "El campo quantity es obligatorio" }),
49861
+ Type475(() => Number),
49862
+ IsNumber497(),
49863
+ Min337(1, { message: "La cantidad minima es $constraint1" })
49848
49864
  ], MaterialesPeru9112ClaroDTO.prototype, "cantidad", 2);
49849
49865
  __decorateClass([
49850
49866
  Expose759(),
@@ -49853,8 +49869,8 @@ __decorateClass([
49853
49869
  ], MaterialesPeru9112ClaroDTO.prototype, "invsn", 2);
49854
49870
  __decorateClass([
49855
49871
  Expose759(),
49856
- IsDefined262({ message: "El campo invpool es obligatorio." }),
49857
- IsString629()
49872
+ IsDefined262({ message: "El campo invpool es obligatorio" }),
49873
+ IsEnum41(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
49858
49874
  ], MaterialesPeru9112ClaroDTO.prototype, "invpool", 2);
49859
49875
  __decorateClass([
49860
49876
  Expose759(),
@@ -49984,7 +50000,7 @@ var EstadoProcesoValPeru9112Claro = /* @__PURE__ */ ((EstadoProcesoValPeru9112Cl
49984
50000
 
49985
50001
  // src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro-dto.ts
49986
50002
  import { Expose as Expose763 } from "class-transformer";
49987
- import { IsDefined as IsDefined264, IsString as IsString632, IsDate as IsDate181, IsEnum as IsEnum41 } from "class-validator";
50003
+ import { IsDefined as IsDefined264, IsString as IsString632, IsDate as IsDate181, IsEnum as IsEnum42 } from "class-validator";
49988
50004
  import "reflect-metadata";
49989
50005
  var EstadoProcesoValPeru9112ClaroDTO = class {
49990
50006
  Estado = "REGISTRADO" /* REGISTRADO */;
@@ -49994,7 +50010,7 @@ __decorateClass([
49994
50010
  Expose763(),
49995
50011
  IsString632(),
49996
50012
  IsDefined264({ message: "El campo Estado es obligatorio." }),
49997
- IsEnum41(EstadoProcesoValPeru9112Claro)
50013
+ IsEnum42(EstadoProcesoValPeru9112Claro)
49998
50014
  ], EstadoProcesoValPeru9112ClaroDTO.prototype, "Estado", 2);
49999
50015
  __decorateClass([
50000
50016
  Expose763(),
@@ -50113,7 +50129,7 @@ __decorateClass([
50113
50129
  Expose764(),
50114
50130
  IsDefined265({ message: "El campo Ubicacion es obligatorio." }),
50115
50131
  ValidateNested415(),
50116
- Type475(() => UbicacionPeru9112ClaroDTO)
50132
+ Type476(() => UbicacionPeru9112ClaroDTO)
50117
50133
  ], Peru9112ClaroENTITY.prototype, "ubicacion", 2);
50118
50134
  __decorateClass([
50119
50135
  Expose764(),
@@ -50133,7 +50149,7 @@ __decorateClass([
50133
50149
  __decorateClass([
50134
50150
  Expose764(),
50135
50151
  IsDefined265({ message: "El campo Estado actividad es obligatorio." }),
50136
- IsEnum42(EstadoActividad, { message: `El campo Estado actividad debe ser uno de: ${Object.values(EstadoActividad).join(", ")}.` })
50152
+ IsEnum43(EstadoActividad, { message: `El campo Estado actividad debe ser uno de: ${Object.values(EstadoActividad).join(", ")}.` })
50137
50153
  ], Peru9112ClaroENTITY.prototype, "estado_actividad", 2);
50138
50154
  __decorateClass([
50139
50155
  Expose764(),
@@ -50202,12 +50218,12 @@ __decorateClass([
50202
50218
  Expose764(),
50203
50219
  IsDefined265({ message: "El campo Planta es obligatorio." }),
50204
50220
  ValidateNested415(),
50205
- Type475(() => PlantaPeru9112ClaroDTO)
50221
+ Type476(() => PlantaPeru9112ClaroDTO)
50206
50222
  ], Peru9112ClaroENTITY.prototype, "planta", 2);
50207
50223
  __decorateClass([
50208
50224
  Expose764(),
50209
50225
  IsDefined265({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
50210
- Type475(() => String),
50226
+ Type476(() => String),
50211
50227
  IsString633()
50212
50228
  ], Peru9112ClaroENTITY.prototype, "numero_telefono", 2);
50213
50229
  __decorateClass([
@@ -50215,7 +50231,7 @@ __decorateClass([
50215
50231
  IsDefined265({ message: "El campo Segmento es obligatorio." }),
50216
50232
  IsObject14(),
50217
50233
  ValidateNested415(),
50218
- Type475(() => SegmentoPeru9112ClaroDTO)
50234
+ Type476(() => SegmentoPeru9112ClaroDTO)
50219
50235
  ], Peru9112ClaroENTITY.prototype, "segmento", 2);
50220
50236
  __decorateClass([
50221
50237
  Expose764(),
@@ -50348,7 +50364,7 @@ __decorateClass([
50348
50364
  IsDefined265({ message: "El campo Inventory es obligatorio." }),
50349
50365
  IsArray246(),
50350
50366
  ValidateNested415({ each: true }),
50351
- Type475(() => MaterialesPeru9112ClaroDTO)
50367
+ Type476(() => MaterialesPeru9112ClaroDTO)
50352
50368
  ], Peru9112ClaroENTITY.prototype, "inventory", 2);
50353
50369
  __decorateClass([
50354
50370
  Expose764(),
@@ -50357,7 +50373,7 @@ __decorateClass([
50357
50373
  }),
50358
50374
  IsArray246(),
50359
50375
  ValidateNested415({ each: true }),
50360
- Type475(() => ProductosServiciosContratadoPeru9112ClaroDTO)
50376
+ Type476(() => ProductosServiciosContratadoPeru9112ClaroDTO)
50361
50377
  ], Peru9112ClaroENTITY.prototype, "productos_servicios_contratado", 2);
50362
50378
  __decorateClass([
50363
50379
  Expose764(),
@@ -50378,13 +50394,13 @@ __decorateClass([
50378
50394
  Expose764(),
50379
50395
  IsDefined265({ message: "El campo EECC es obligatorio." }),
50380
50396
  ValidateNested415(),
50381
- Type475(() => EECCDBTOADTO)
50397
+ Type476(() => EECCDBTOADTO)
50382
50398
  ], Peru9112ClaroENTITY.prototype, "EECC", 2);
50383
50399
  __decorateClass([
50384
50400
  Expose764(),
50385
50401
  IsDefined265(),
50386
50402
  ValidateNested415(),
50387
- Type475(() => FilesDocDTO)
50403
+ Type476(() => FilesDocDTO)
50388
50404
  ], Peru9112ClaroENTITY.prototype, "boletin", 2);
50389
50405
  __decorateClass([
50390
50406
  Expose764(),
@@ -50418,12 +50434,12 @@ __decorateClass([
50418
50434
  Expose764(),
50419
50435
  IsDefined265({ message: "El campo EstadoProceso es obligatorio." }),
50420
50436
  ValidateNested415(),
50421
- Type475(() => EstadoProcesoValPeru9112ClaroDTO)
50437
+ Type476(() => EstadoProcesoValPeru9112ClaroDTO)
50422
50438
  ], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
50423
50439
  __decorateClass([
50424
50440
  Expose764(),
50425
50441
  IsDefined265({ message: "El campo estado_interno es obligatorio." }),
50426
- IsEnum42(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
50442
+ IsEnum43(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
50427
50443
  ], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
50428
50444
 
50429
50445
  // src/v2/dtos/CodeName.ts
@@ -50476,7 +50492,7 @@ __decorateClass([
50476
50492
 
50477
50493
  // src/v2/dtos/PayloadToken.ts
50478
50494
  import { IsDefined as IsDefined270, IsObject as IsObject15, ValidateNested as ValidateNested417 } from "class-validator";
50479
- import { Expose as Expose769, Type as Type477 } from "class-transformer";
50495
+ import { Expose as Expose769, Type as Type478 } from "class-transformer";
50480
50496
 
50481
50497
  // src/v2/dtos/AuthUser.ts
50482
50498
  import { IsBoolean as IsBoolean68, IsDefined as IsDefined268, IsEmail as IsEmail5, IsString as IsString635, IsUUID as IsUUID22, ValidateIf as ValidateIf6 } from "class-validator";
@@ -50564,17 +50580,17 @@ var PayloadTokenDto = class {
50564
50580
  };
50565
50581
  __decorateClass([
50566
50582
  ValidateNested417(),
50567
- Type477(() => AuthUserDto),
50583
+ Type478(() => AuthUserDto),
50568
50584
  Expose769()
50569
50585
  ], PayloadTokenDto.prototype, "user", 2);
50570
50586
  __decorateClass([
50571
50587
  ValidateNested417(),
50572
- Type477(() => ProfileDto),
50588
+ Type478(() => ProfileDto),
50573
50589
  Expose769()
50574
50590
  ], PayloadTokenDto.prototype, "profile", 2);
50575
50591
  __decorateClass([
50576
50592
  IsDefined270({ message: "La empresa es requerida" }),
50577
- Type477(() => CodeNameDto),
50593
+ Type478(() => CodeNameDto),
50578
50594
  ValidateNested417(),
50579
50595
  IsObject15(),
50580
50596
  Expose769()
@@ -50582,21 +50598,21 @@ __decorateClass([
50582
50598
  __decorateClass([
50583
50599
  IsDefined270({ message: "debe proporcionar el pa\xEDs" }),
50584
50600
  ValidateNested417(),
50585
- Type477(() => CodeNameMinLengthDto),
50601
+ Type478(() => CodeNameMinLengthDto),
50586
50602
  IsObject15(),
50587
50603
  Expose769()
50588
50604
  ], PayloadTokenDto.prototype, "country", 2);
50589
50605
  __decorateClass([
50590
50606
  IsDefined270({ message: "debe proporcionar la delegaci\xF3n" }),
50591
50607
  ValidateNested417(),
50592
- Type477(() => CodeNameMinLengthDto),
50608
+ Type478(() => CodeNameMinLengthDto),
50593
50609
  IsObject15(),
50594
50610
  Expose769()
50595
50611
  ], PayloadTokenDto.prototype, "delegation", 2);
50596
50612
 
50597
50613
  // src/v2/dtos/ResponseSignIn.ts
50598
50614
  import { IsArray as IsArray249, IsDefined as IsDefined272, IsObject as IsObject16, IsString as IsString638, MinLength as MinLength58, ValidateNested as ValidateNested418 } from "class-validator";
50599
- import { Expose as Expose771, Type as Type478 } from "class-transformer";
50615
+ import { Expose as Expose771, Type as Type479 } from "class-transformer";
50600
50616
 
50601
50617
  // src/v2/entities/SystemOption.ts
50602
50618
  import { Expose as Expose770 } from "class-transformer";
@@ -50657,13 +50673,13 @@ __decorateClass([
50657
50673
  IsDefined272({ message: "El usuario es requerido" }),
50658
50674
  IsObject16({ message: "El usuario debe ser un objeto" }),
50659
50675
  ValidateNested418(),
50660
- Type478(() => PayloadTokenDto),
50676
+ Type479(() => PayloadTokenDto),
50661
50677
  Expose771()
50662
50678
  ], ResponseSignInDto.prototype, "auth", 2);
50663
50679
  __decorateClass([
50664
50680
  IsArray249({ message: "La propiedad debe ser un arreglo" }),
50665
50681
  ValidateNested418({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
50666
- Type478(() => SystemOptionEntity),
50682
+ Type479(() => SystemOptionEntity),
50667
50683
  Expose771()
50668
50684
  ], ResponseSignInDto.prototype, "dataSystemOptions", 2);
50669
50685
  __decorateClass([
@@ -50820,16 +50836,16 @@ __decorateClass([
50820
50836
  ], UpdateUserDto.prototype, "profileId", 2);
50821
50837
 
50822
50838
  // src/v2/dtos/DocumentRequirement.ts
50823
- import { Expose as Expose778, Type as Type480 } from "class-transformer";
50839
+ import { Expose as Expose778, Type as Type481 } from "class-transformer";
50824
50840
  import {
50825
50841
  IsArray as IsArray254,
50826
50842
  IsBoolean as IsBoolean75,
50827
50843
  IsDefined as IsDefined278,
50828
- IsEnum as IsEnum44,
50844
+ IsEnum as IsEnum45,
50829
50845
  IsNotEmpty as IsNotEmpty463,
50830
50846
  IsNumber as IsNumber501,
50831
50847
  IsString as IsString644,
50832
- Min as Min337,
50848
+ Min as Min338,
50833
50849
  ValidateNested as ValidateNested420
50834
50850
  } from "class-validator";
50835
50851
 
@@ -50868,7 +50884,7 @@ __decorateClass([
50868
50884
  __decorateClass([
50869
50885
  IsDefined278({ message: "Las extensiones de archivo aceptadas son requeridas" }),
50870
50886
  IsArray254({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
50871
- IsEnum44(FileExtension, {
50887
+ IsEnum45(FileExtension, {
50872
50888
  each: true,
50873
50889
  message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
50874
50890
  }),
@@ -50877,20 +50893,20 @@ __decorateClass([
50877
50893
  __decorateClass([
50878
50894
  IsDefined278({ message: "Los hijos son requeridos" }),
50879
50895
  IsArray254({ message: "Los hijos deben ser un arreglo" }),
50880
- Type480(() => _DocumentRequirementDto),
50896
+ Type481(() => _DocumentRequirementDto),
50881
50897
  ValidateNested420({ each: true }),
50882
50898
  Expose778()
50883
50899
  ], _DocumentRequirementDto.prototype, "children", 2);
50884
50900
  __decorateClass([
50885
50901
  IsDefined278({ message: "El n\xFAmero m\xEDnimo de archivos es requerido" }),
50886
50902
  IsNumber501({}, { message: "El n\xFAmero m\xEDnimo de archivos debe ser un n\xFAmero" }),
50887
- Min337(0, { message: "El n\xFAmero m\xEDnimo de archivos debe ser mayor o igual a $constraint1" }),
50903
+ Min338(0, { message: "El n\xFAmero m\xEDnimo de archivos debe ser mayor o igual a $constraint1" }),
50888
50904
  Expose778()
50889
50905
  ], _DocumentRequirementDto.prototype, "minFiles", 2);
50890
50906
  __decorateClass([
50891
50907
  IsDefined278({ message: "El n\xFAmero m\xE1ximo de archivos es requerido" }),
50892
50908
  IsNumber501({}, { message: "El n\xFAmero m\xE1ximo de archivos debe ser un n\xFAmero" }),
50893
- Min337(1, { message: "El n\xFAmero m\xE1ximo de archivos debe ser mayor o igual a $constraint1" }),
50909
+ Min338(1, { message: "El n\xFAmero m\xE1ximo de archivos debe ser mayor o igual a $constraint1" }),
50894
50910
  Expose778()
50895
50911
  ], _DocumentRequirementDto.prototype, "maxFiles", 2);
50896
50912
  __decorateClass([
@@ -50901,7 +50917,7 @@ __decorateClass([
50901
50917
  __decorateClass([
50902
50918
  IsDefined278({ message: "El tama\xF1o m\xE1ximo de archivo es requerido" }),
50903
50919
  IsNumber501({}, { message: "El tama\xF1o m\xE1ximo de archivo debe ser un n\xFAmero" }),
50904
- Min337(0, { message: "El tama\xF1o m\xE1ximo de archivo debe ser mayor o igual a $constraint1" }),
50920
+ Min338(0, { message: "El tama\xF1o m\xE1ximo de archivo debe ser mayor o igual a $constraint1" }),
50905
50921
  Expose778()
50906
50922
  ], _DocumentRequirementDto.prototype, "maxFileSize", 2);
50907
50923
  var DocumentRequirementDto = _DocumentRequirementDto;
@@ -50954,11 +50970,11 @@ __decorateClass([
50954
50970
 
50955
50971
  // src/v2/entities/User.ts
50956
50972
  import { IsArray as IsArray255, IsBoolean as IsBoolean77, IsDefined as IsDefined282, IsEmail as IsEmail9, IsString as IsString647, IsUUID as IsUUID31, ValidateIf as ValidateIf8, ValidateNested as ValidateNested421 } from "class-validator";
50957
- import { Expose as Expose782, Transform as Transform119, Type as Type482 } from "class-transformer";
50973
+ import { Expose as Expose782, Transform as Transform119, Type as Type483 } from "class-transformer";
50958
50974
 
50959
50975
  // src/v2/dtos/ResourceSystemDto.ts
50960
- import { Expose as Expose781, Type as Type481 } from "class-transformer";
50961
- import { IsDate as IsDate183, IsDefined as IsDefined281, IsEnum as IsEnum45, IsString as IsString646, MinLength as MinLength62 } from "class-validator";
50976
+ import { Expose as Expose781, Type as Type482 } from "class-transformer";
50977
+ import { IsDate as IsDate183, IsDefined as IsDefined281, IsEnum as IsEnum46, IsString as IsString646, MinLength as MinLength62 } from "class-validator";
50962
50978
 
50963
50979
  // src/v2/enums/SystemResource.ts
50964
50980
  var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
@@ -50972,6 +50988,7 @@ var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
50972
50988
  SystemResource2["TUVES"] = "TUVES";
50973
50989
  SystemResource2["SOMACYL"] = "SOMACYL";
50974
50990
  SystemResource2["MI_FIBRA"] = "MI_FIBRA";
50991
+ SystemResource2["CLARO"] = "CLARO";
50975
50992
  return SystemResource2;
50976
50993
  })(SystemResource || {});
50977
50994
 
@@ -50989,13 +51006,13 @@ __decorateClass([
50989
51006
  ], ResourceSystemDto.prototype, "resource_id", 2);
50990
51007
  __decorateClass([
50991
51008
  IsDefined281({ message: "Sistema es obligatoria" }),
50992
- IsEnum45(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
51009
+ IsEnum46(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
50993
51010
  Expose781()
50994
51011
  ], ResourceSystemDto.prototype, "system", 2);
50995
51012
  __decorateClass([
50996
51013
  IsDefined281({ message: "Fecha inicio actividad es obligatoria" }),
50997
51014
  IsDate183({ message: "Fecha inicio actividad debe ser una fecha" }),
50998
- Type481(() => Date),
51015
+ Type482(() => Date),
50999
51016
  Expose781()
51000
51017
  ], ResourceSystemDto.prototype, "startDateActivity", 2);
51001
51018
 
@@ -51052,7 +51069,7 @@ __decorateClass([
51052
51069
  __decorateClass([
51053
51070
  IsDefined282({ message: "El campo empresas es requerido" }),
51054
51071
  IsArray255({ message: "El campo empresas debe ser un array" }),
51055
- Type482(() => CompanyDto),
51072
+ Type483(() => CompanyDto),
51056
51073
  ValidateNested421({ each: true }),
51057
51074
  Expose782()
51058
51075
  ], UserEntity.prototype, "companies", 2);
@@ -51075,7 +51092,7 @@ __decorateClass([
51075
51092
  ], UserEntity.prototype, "profileId", 2);
51076
51093
  __decorateClass([
51077
51094
  IsDefined282({ message: "Resurso sistema es obligatoria" }),
51078
- Type482(() => ResourceSystemDto),
51095
+ Type483(() => ResourceSystemDto),
51079
51096
  ValidateNested421({ each: true }),
51080
51097
  IsArray255({ message: "Recurso sistema debe ser un array" }),
51081
51098
  Expose782()
@@ -51140,7 +51157,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
51140
51157
 
51141
51158
  // src/v2/entities/Company.ts
51142
51159
  import { Expose as Expose785 } from "class-transformer";
51143
- import { IsArray as IsArray257, IsBoolean as IsBoolean78, IsDefined as IsDefined285, IsEmail as IsEmail10, IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty466, IsString as IsString650, IsUUID as IsUUID32 } from "class-validator";
51160
+ import { IsArray as IsArray257, IsBoolean as IsBoolean78, IsDefined as IsDefined285, IsEmail as IsEmail10, IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty466, IsString as IsString650, IsUUID as IsUUID32 } from "class-validator";
51144
51161
  var CompanyEntity = class extends BaseEntity {
51145
51162
  companyType;
51146
51163
  identification;
@@ -51155,7 +51172,7 @@ var CompanyEntity = class extends BaseEntity {
51155
51172
  };
51156
51173
  __decorateClass([
51157
51174
  IsDefined285({ message: "El tipo de empresa es requerido" }),
51158
- IsEnum46(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
51175
+ IsEnum47(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
51159
51176
  Expose785()
51160
51177
  ], CompanyEntity.prototype, "companyType", 2);
51161
51178
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.420",
3
+ "version": "1.2.421",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",