sigo-entities 1.2.444 → 1.2.445

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
@@ -9421,10 +9421,6 @@ declare class AltasNVTEntregablesDTO {
9421
9421
  num_precinto: string;
9422
9422
  latitud: number;
9423
9423
  longitud: number;
9424
- foto_antes: FilesDocDTO;
9425
- foto_despues: FilesDocDTO;
9426
- conjunto_medida_antes: FilesDocDTO;
9427
- conjunto_medida_despues: FilesDocDTO;
9428
9424
  observaciones: string;
9429
9425
  }
9430
9426
 
@@ -9478,6 +9474,7 @@ declare class AltasNVTOrderENTITY {
9478
9474
  EstadoProceso: EstadoProcesoValAltasNVTDTO;
9479
9475
  Bitacora: BitacoraAltasNVTDTO[];
9480
9476
  classification: AddressClassification;
9477
+ documentation: FilesDocDTO[];
9481
9478
  }
9482
9479
 
9483
9480
  declare class UbicacionMifibraDBDTO {
package/dist/index.d.ts CHANGED
@@ -9421,10 +9421,6 @@ declare class AltasNVTEntregablesDTO {
9421
9421
  num_precinto: string;
9422
9422
  latitud: number;
9423
9423
  longitud: number;
9424
- foto_antes: FilesDocDTO;
9425
- foto_despues: FilesDocDTO;
9426
- conjunto_medida_antes: FilesDocDTO;
9427
- conjunto_medida_despues: FilesDocDTO;
9428
9424
  observaciones: string;
9429
9425
  }
9430
9426
 
@@ -9478,6 +9474,7 @@ declare class AltasNVTOrderENTITY {
9478
9474
  EstadoProceso: EstadoProcesoValAltasNVTDTO;
9479
9475
  Bitacora: BitacoraAltasNVTDTO[];
9480
9476
  classification: AddressClassification;
9477
+ documentation: FilesDocDTO[];
9481
9478
  }
9482
9479
 
9483
9480
  declare class UbicacionMifibraDBDTO {
package/dist/index.js CHANGED
@@ -49391,10 +49391,6 @@ var AltasNVTEntregablesDTO = class {
49391
49391
  num_precinto = "";
49392
49392
  latitud = 0;
49393
49393
  longitud = 0;
49394
- foto_antes = new FilesDocDTO();
49395
- foto_despues = new FilesDocDTO();
49396
- conjunto_medida_antes = new FilesDocDTO();
49397
- conjunto_medida_despues = new FilesDocDTO();
49398
49394
  observaciones = "";
49399
49395
  };
49400
49396
  __decorateClass([
@@ -49463,30 +49459,6 @@ __decorateClass([
49463
49459
  (0, import_class_validator772.IsDefined)(),
49464
49460
  (0, import_class_validator772.IsNumber)()
49465
49461
  ], AltasNVTEntregablesDTO.prototype, "longitud", 2);
49466
- __decorateClass([
49467
- (0, import_class_transformer795.Expose)(),
49468
- (0, import_class_validator772.IsDefined)(),
49469
- (0, import_class_validator772.ValidateNested)(),
49470
- (0, import_class_transformer795.Type)(() => FilesDocDTO)
49471
- ], AltasNVTEntregablesDTO.prototype, "foto_antes", 2);
49472
- __decorateClass([
49473
- (0, import_class_transformer795.Expose)(),
49474
- (0, import_class_validator772.IsDefined)(),
49475
- (0, import_class_validator772.ValidateNested)(),
49476
- (0, import_class_transformer795.Type)(() => FilesDocDTO)
49477
- ], AltasNVTEntregablesDTO.prototype, "foto_despues", 2);
49478
- __decorateClass([
49479
- (0, import_class_transformer795.Expose)(),
49480
- (0, import_class_validator772.IsDefined)(),
49481
- (0, import_class_validator772.ValidateNested)(),
49482
- (0, import_class_transformer795.Type)(() => FilesDocDTO)
49483
- ], AltasNVTEntregablesDTO.prototype, "conjunto_medida_antes", 2);
49484
- __decorateClass([
49485
- (0, import_class_transformer795.Expose)(),
49486
- (0, import_class_validator772.IsDefined)(),
49487
- (0, import_class_validator772.ValidateNested)(),
49488
- (0, import_class_transformer795.Type)(() => FilesDocDTO)
49489
- ], AltasNVTEntregablesDTO.prototype, "conjunto_medida_despues", 2);
49490
49462
  __decorateClass([
49491
49463
  (0, import_class_transformer795.Expose)(),
49492
49464
  (0, import_class_validator772.IsDefined)(),
@@ -49604,6 +49576,7 @@ var AltasNVTOrderENTITY = class {
49604
49576
  EstadoProceso = new EstadoProcesoValAltasNVTDTO();
49605
49577
  Bitacora = [];
49606
49578
  classification = "UNIFAMILIAR" /* UNIFAMILIAR */;
49579
+ documentation = [];
49607
49580
  };
49608
49581
  __decorateClass([
49609
49582
  (0, import_class_validator775.IsDefined)(),
@@ -49780,6 +49753,13 @@ __decorateClass([
49780
49753
  (0, import_class_validator775.IsDefined)(),
49781
49754
  (0, import_class_validator775.IsEnum)(AddressClassification, { message: `El campo classification debe ser uno de: ${Object.values(AddressClassification).join(", ")}.` })
49782
49755
  ], AltasNVTOrderENTITY.prototype, "classification", 2);
49756
+ __decorateClass([
49757
+ (0, import_class_transformer798.Expose)(),
49758
+ (0, import_class_validator775.IsDefined)(),
49759
+ (0, import_class_validator775.IsArray)(),
49760
+ (0, import_class_validator775.ValidateNested)({ each: true }),
49761
+ (0, import_class_transformer798.Type)(() => FilesDocDTO)
49762
+ ], AltasNVTOrderENTITY.prototype, "documentation", 2);
49783
49763
 
49784
49764
  // src/operativa/procesos/mifibra_db/shared/index.ts
49785
49765
  var import_class_transformer802 = require("class-transformer");
package/dist/index.mjs CHANGED
@@ -48553,7 +48553,7 @@ import {
48553
48553
  IsDefined as IsDefined268,
48554
48554
  IsString as IsString637,
48555
48555
  IsNumber as IsNumber508,
48556
- ValidateNested as ValidateNested418,
48556
+ ValidateNested as ValidateNested417,
48557
48557
  IsArray as IsArray245,
48558
48558
  IsDate as IsDate182,
48559
48559
  IsEnum as IsEnum38
@@ -48835,7 +48835,7 @@ __decorateClass([
48835
48835
 
48836
48836
  // src/operativa/procesos/altas_nvt_order/shared/dto/altas-nvt-entregables-dto.ts
48837
48837
  import { Expose as Expose768, Type as Type475 } from "class-transformer";
48838
- import { IsDate as IsDate180, IsDefined as IsDefined265, IsNumber as IsNumber507, IsString as IsString634, ValidateNested as ValidateNested416 } from "class-validator";
48838
+ import { IsDate as IsDate180, IsDefined as IsDefined265, IsNumber as IsNumber507, IsString as IsString634 } from "class-validator";
48839
48839
  import "reflect-metadata";
48840
48840
  var AltasNVTEntregablesDTO = class {
48841
48841
  descripcion = "";
@@ -48851,10 +48851,6 @@ var AltasNVTEntregablesDTO = class {
48851
48851
  num_precinto = "";
48852
48852
  latitud = 0;
48853
48853
  longitud = 0;
48854
- foto_antes = new FilesDocDTO();
48855
- foto_despues = new FilesDocDTO();
48856
- conjunto_medida_antes = new FilesDocDTO();
48857
- conjunto_medida_despues = new FilesDocDTO();
48858
48854
  observaciones = "";
48859
48855
  };
48860
48856
  __decorateClass([
@@ -48923,30 +48919,6 @@ __decorateClass([
48923
48919
  IsDefined265(),
48924
48920
  IsNumber507()
48925
48921
  ], AltasNVTEntregablesDTO.prototype, "longitud", 2);
48926
- __decorateClass([
48927
- Expose768(),
48928
- IsDefined265(),
48929
- ValidateNested416(),
48930
- Type475(() => FilesDocDTO)
48931
- ], AltasNVTEntregablesDTO.prototype, "foto_antes", 2);
48932
- __decorateClass([
48933
- Expose768(),
48934
- IsDefined265(),
48935
- ValidateNested416(),
48936
- Type475(() => FilesDocDTO)
48937
- ], AltasNVTEntregablesDTO.prototype, "foto_despues", 2);
48938
- __decorateClass([
48939
- Expose768(),
48940
- IsDefined265(),
48941
- ValidateNested416(),
48942
- Type475(() => FilesDocDTO)
48943
- ], AltasNVTEntregablesDTO.prototype, "conjunto_medida_antes", 2);
48944
- __decorateClass([
48945
- Expose768(),
48946
- IsDefined265(),
48947
- ValidateNested416(),
48948
- Type475(() => FilesDocDTO)
48949
- ], AltasNVTEntregablesDTO.prototype, "conjunto_medida_despues", 2);
48950
48922
  __decorateClass([
48951
48923
  Expose768(),
48952
48924
  IsDefined265(),
@@ -49004,7 +48976,7 @@ __decorateClass([
49004
48976
 
49005
48977
  // src/operativa/procesos/altas_nvt_order/shared/dto/bitacora-altas-nvt-dto.ts
49006
48978
  import { Expose as Expose770, Type as Type476 } from "class-transformer";
49007
- import { IsDate as IsDate181, IsDefined as IsDefined267, IsString as IsString636, ValidateNested as ValidateNested417 } from "class-validator";
48979
+ import { IsDate as IsDate181, IsDefined as IsDefined267, IsString as IsString636, ValidateNested as ValidateNested416 } from "class-validator";
49008
48980
  import "reflect-metadata";
49009
48981
  var BitacoraAltasNVTDTO = class {
49010
48982
  accion = "";
@@ -49025,7 +48997,7 @@ __decorateClass([
49025
48997
  __decorateClass([
49026
48998
  Expose770(),
49027
48999
  IsDefined267(),
49028
- ValidateNested417(),
49000
+ ValidateNested416(),
49029
49001
  Type476(() => UsuarioDTO)
49030
49002
  ], BitacoraAltasNVTDTO.prototype, "usuario", 2);
49031
49003
 
@@ -49064,6 +49036,7 @@ var AltasNVTOrderENTITY = class {
49064
49036
  EstadoProceso = new EstadoProcesoValAltasNVTDTO();
49065
49037
  Bitacora = [];
49066
49038
  classification = "UNIFAMILIAR" /* UNIFAMILIAR */;
49039
+ documentation = [];
49067
49040
  };
49068
49041
  __decorateClass([
49069
49042
  IsDefined268(),
@@ -49108,7 +49081,7 @@ __decorateClass([
49108
49081
  __decorateClass([
49109
49082
  Expose771(),
49110
49083
  IsDefined268(),
49111
- ValidateNested418(),
49084
+ ValidateNested417(),
49112
49085
  Type477(() => UbicacionAltasNVTDTO)
49113
49086
  ], AltasNVTOrderENTITY.prototype, "ubicacion", 2);
49114
49087
  __decorateClass([
@@ -49144,7 +49117,7 @@ __decorateClass([
49144
49117
  __decorateClass([
49145
49118
  Expose771(),
49146
49119
  IsDefined268(),
49147
- ValidateNested418(),
49120
+ ValidateNested417(),
49148
49121
  Type477(() => PlantaAltasNVTDTO)
49149
49122
  ], AltasNVTOrderENTITY.prototype, "planta", 2);
49150
49123
  __decorateClass([
@@ -49172,7 +49145,7 @@ __decorateClass([
49172
49145
  Expose771(),
49173
49146
  IsDefined268(),
49174
49147
  IsArray245(),
49175
- ValidateNested418({ each: true }),
49148
+ ValidateNested417({ each: true }),
49176
49149
  Type477(() => MaterialesAltasNVTDTO)
49177
49150
  ], AltasNVTOrderENTITY.prototype, "inventory", 2);
49178
49151
  __decorateClass([
@@ -49203,7 +49176,7 @@ __decorateClass([
49203
49176
  __decorateClass([
49204
49177
  Expose771(),
49205
49178
  IsDefined268(),
49206
- ValidateNested418(),
49179
+ ValidateNested417(),
49207
49180
  Type477(() => EECCDBTOADTO)
49208
49181
  ], AltasNVTOrderENTITY.prototype, "EECC", 2);
49209
49182
  __decorateClass([
@@ -49213,26 +49186,26 @@ __decorateClass([
49213
49186
  __decorateClass([
49214
49187
  Expose771(),
49215
49188
  IsDefined268(),
49216
- ValidateNested418(),
49189
+ ValidateNested417(),
49217
49190
  Type477(() => InventarioExistenteAltasNVTDTO)
49218
49191
  ], AltasNVTOrderENTITY.prototype, "inventario_existente", 2);
49219
49192
  __decorateClass([
49220
49193
  Expose771(),
49221
49194
  IsDefined268(),
49222
- ValidateNested418(),
49195
+ ValidateNested417(),
49223
49196
  Type477(() => AltasNVTEntregablesDTO)
49224
49197
  ], AltasNVTOrderENTITY.prototype, "entregables", 2);
49225
49198
  __decorateClass([
49226
49199
  Expose771(),
49227
49200
  IsDefined268(),
49228
- ValidateNested418(),
49201
+ ValidateNested417(),
49229
49202
  Type477(() => EstadoProcesoValAltasNVTDTO)
49230
49203
  ], AltasNVTOrderENTITY.prototype, "EstadoProceso", 2);
49231
49204
  __decorateClass([
49232
49205
  Expose771(),
49233
49206
  IsDefined268(),
49234
49207
  IsArray245(),
49235
- ValidateNested418({ each: true }),
49208
+ ValidateNested417({ each: true }),
49236
49209
  Type477(() => BitacoraAltasNVTDTO)
49237
49210
  ], AltasNVTOrderENTITY.prototype, "Bitacora", 2);
49238
49211
  __decorateClass([
@@ -49240,13 +49213,20 @@ __decorateClass([
49240
49213
  IsDefined268(),
49241
49214
  IsEnum38(AddressClassification, { message: `El campo classification debe ser uno de: ${Object.values(AddressClassification).join(", ")}.` })
49242
49215
  ], AltasNVTOrderENTITY.prototype, "classification", 2);
49216
+ __decorateClass([
49217
+ Expose771(),
49218
+ IsDefined268(),
49219
+ IsArray245(),
49220
+ ValidateNested417({ each: true }),
49221
+ Type477(() => FilesDocDTO)
49222
+ ], AltasNVTOrderENTITY.prototype, "documentation", 2);
49243
49223
 
49244
49224
  // src/operativa/procesos/mifibra_db/shared/index.ts
49245
49225
  import { Expose as Expose775, Type as Type479 } from "class-transformer";
49246
49226
  import {
49247
49227
  IsDefined as IsDefined270,
49248
49228
  IsString as IsString641,
49249
- ValidateNested as ValidateNested419,
49229
+ ValidateNested as ValidateNested418,
49250
49230
  IsArray as IsArray246,
49251
49231
  IsDate as IsDate184,
49252
49232
  IsEnum as IsEnum39,
@@ -50113,7 +50093,7 @@ __decorateClass([
50113
50093
  __decorateClass([
50114
50094
  Expose775(),
50115
50095
  IsDefined270({ message: "El campo direccion_cliente es obligatorio." }),
50116
- ValidateNested419(),
50096
+ ValidateNested418(),
50117
50097
  Type479(() => UbicacionMifibraDBDTO)
50118
50098
  ], MiFibraENTITYDB.prototype, "direccion_cliente", 2);
50119
50099
  __decorateClass([
@@ -50184,21 +50164,21 @@ __decorateClass([
50184
50164
  __decorateClass([
50185
50165
  Expose775(),
50186
50166
  IsDefined270({ message: "El campo accesorios es obligatorio." }),
50187
- ValidateNested419(),
50167
+ ValidateNested418(),
50188
50168
  Type479(() => AccesortiosMifibraDBDTO)
50189
50169
  ], MiFibraENTITYDB.prototype, "accesorios", 2);
50190
50170
  __decorateClass([
50191
50171
  Expose775(),
50192
50172
  IsDefined270({ message: "El campo historial_estados es obligatorio." }),
50193
50173
  IsArray246(),
50194
- ValidateNested419({ each: true }),
50174
+ ValidateNested418({ each: true }),
50195
50175
  Type479(() => HistorialEstadosMifibraDBDTO)
50196
50176
  ], MiFibraENTITYDB.prototype, "historial_estados", 2);
50197
50177
  __decorateClass([
50198
50178
  Expose775(),
50199
50179
  IsDefined270({ message: "El campo inventory es obligatorio." }),
50200
50180
  IsArray246(),
50201
- ValidateNested419({ each: true }),
50181
+ ValidateNested418({ each: true }),
50202
50182
  Type479(() => MaterialesMifibraDBDTO)
50203
50183
  ], MiFibraENTITYDB.prototype, "inventory", 2);
50204
50184
  __decorateClass([
@@ -50219,13 +50199,13 @@ __decorateClass([
50219
50199
  __decorateClass([
50220
50200
  Expose775(),
50221
50201
  IsDefined270({ message: "El campo EECC es obligatorio." }),
50222
- ValidateNested419(),
50202
+ ValidateNested418(),
50223
50203
  Type479(() => EECCDBMIFIBRADTO)
50224
50204
  ], MiFibraENTITYDB.prototype, "EECC", 2);
50225
50205
  __decorateClass([
50226
50206
  Expose775(),
50227
50207
  IsDefined270(),
50228
- ValidateNested419(),
50208
+ ValidateNested418(),
50229
50209
  Type479(() => FilesDocDTO)
50230
50210
  ], MiFibraENTITYDB.prototype, "boletin", 2);
50231
50211
  __decorateClass([
@@ -50254,7 +50234,7 @@ import { Expose as Expose779, Type as Type481 } from "class-transformer";
50254
50234
  import {
50255
50235
  IsDefined as IsDefined272,
50256
50236
  IsString as IsString645,
50257
- ValidateNested as ValidateNested420,
50237
+ ValidateNested as ValidateNested419,
50258
50238
  IsArray as IsArray247,
50259
50239
  IsDate as IsDate186,
50260
50240
  IsEnum as IsEnum41,
@@ -51113,7 +51093,7 @@ __decorateClass([
51113
51093
  __decorateClass([
51114
51094
  Expose779(),
51115
51095
  IsDefined272({ message: "El campo direccion_cliente es obligatorio." }),
51116
- ValidateNested420(),
51096
+ ValidateNested419(),
51117
51097
  Type481(() => UbicacionBantelDTO)
51118
51098
  ], BantelENTITY.prototype, "direccion_cliente", 2);
51119
51099
  __decorateClass([
@@ -51184,21 +51164,21 @@ __decorateClass([
51184
51164
  __decorateClass([
51185
51165
  Expose779(),
51186
51166
  IsDefined272({ message: "El campo accesorios es obligatorio." }),
51187
- ValidateNested420(),
51167
+ ValidateNested419(),
51188
51168
  Type481(() => AccesortiosBantelDTO)
51189
51169
  ], BantelENTITY.prototype, "accesorios", 2);
51190
51170
  __decorateClass([
51191
51171
  Expose779(),
51192
51172
  IsDefined272({ message: "El campo historial_estados es obligatorio." }),
51193
51173
  IsArray247(),
51194
- ValidateNested420({ each: true }),
51174
+ ValidateNested419({ each: true }),
51195
51175
  Type481(() => HistorialEstadosBantelDTO)
51196
51176
  ], BantelENTITY.prototype, "historial_estados", 2);
51197
51177
  __decorateClass([
51198
51178
  Expose779(),
51199
51179
  IsDefined272({ message: "El campo inventory es obligatorio." }),
51200
51180
  IsArray247(),
51201
- ValidateNested420({ each: true }),
51181
+ ValidateNested419({ each: true }),
51202
51182
  Type481(() => MaterialesBantelDTO)
51203
51183
  ], BantelENTITY.prototype, "inventory", 2);
51204
51184
  __decorateClass([
@@ -51219,13 +51199,13 @@ __decorateClass([
51219
51199
  __decorateClass([
51220
51200
  Expose779(),
51221
51201
  IsDefined272({ message: "El campo EECC es obligatorio." }),
51222
- ValidateNested420(),
51202
+ ValidateNested419(),
51223
51203
  Type481(() => EECCBantelDTO)
51224
51204
  ], BantelENTITY.prototype, "EECC", 2);
51225
51205
  __decorateClass([
51226
51206
  Expose779(),
51227
51207
  IsDefined272(),
51228
- ValidateNested420(),
51208
+ ValidateNested419(),
51229
51209
  Type481(() => FilesDocDTO)
51230
51210
  ], BantelENTITY.prototype, "boletin", 2);
51231
51211
  __decorateClass([
@@ -51251,7 +51231,7 @@ __decorateClass([
51251
51231
 
51252
51232
  // src/operativa/procesos/Tdc order stock/shared/index.ts
51253
51233
  import { Expose as Expose780, Type as Type482 } from "class-transformer";
51254
- import { IsArray as IsArray248, IsDefined as IsDefined273, IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty460, IsNumber as IsNumber513, IsString as IsString646, IsUUID as IsUUID21, MaxLength as MaxLength8, ValidateNested as ValidateNested421 } from "class-validator";
51234
+ import { IsArray as IsArray248, IsDefined as IsDefined273, IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty460, IsNumber as IsNumber513, IsString as IsString646, IsUUID as IsUUID21, MaxLength as MaxLength8, ValidateNested as ValidateNested420 } from "class-validator";
51255
51235
  var TdcOrderStockENTITY = class {
51256
51236
  _id;
51257
51237
  id_recurso;
@@ -51304,7 +51284,7 @@ __decorateClass([
51304
51284
  __decorateClass([
51305
51285
  IsDefined273({ message: "El campo stock_quantity_employee es obligatorio" }),
51306
51286
  IsArray248({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
51307
- ValidateNested421({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
51287
+ ValidateNested420({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
51308
51288
  Type482(() => StockQuantityEmployeeDTO),
51309
51289
  Expose780()
51310
51290
  ], TdcOrderStockENTITY.prototype, "stock_quantity_employee", 2);
@@ -51325,7 +51305,7 @@ import {
51325
51305
  IsDefined as IsDefined280,
51326
51306
  IsString as IsString654,
51327
51307
  IsNumber as IsNumber519,
51328
- ValidateNested as ValidateNested422,
51308
+ ValidateNested as ValidateNested421,
51329
51309
  IsArray as IsArray249,
51330
51310
  IsObject as IsObject14,
51331
51311
  IsDate as IsDate188,
@@ -51772,7 +51752,7 @@ __decorateClass([
51772
51752
  __decorateClass([
51773
51753
  Expose789(),
51774
51754
  IsDefined280({ message: "El campo Ubicacion es obligatorio." }),
51775
- ValidateNested422(),
51755
+ ValidateNested421(),
51776
51756
  Type484(() => UbicacionPeru9112ClaroDTO)
51777
51757
  ], Peru9112ClaroENTITY.prototype, "ubicacion", 2);
51778
51758
  __decorateClass([
@@ -51861,7 +51841,7 @@ __decorateClass([
51861
51841
  __decorateClass([
51862
51842
  Expose789(),
51863
51843
  IsDefined280({ message: "El campo Planta es obligatorio." }),
51864
- ValidateNested422(),
51844
+ ValidateNested421(),
51865
51845
  Type484(() => PlantaPeru9112ClaroDTO)
51866
51846
  ], Peru9112ClaroENTITY.prototype, "planta", 2);
51867
51847
  __decorateClass([
@@ -51874,7 +51854,7 @@ __decorateClass([
51874
51854
  Expose789(),
51875
51855
  IsDefined280({ message: "El campo Segmento es obligatorio." }),
51876
51856
  IsObject14(),
51877
- ValidateNested422(),
51857
+ ValidateNested421(),
51878
51858
  Type484(() => SegmentoPeru9112ClaroDTO)
51879
51859
  ], Peru9112ClaroENTITY.prototype, "segmento", 2);
51880
51860
  __decorateClass([
@@ -52007,7 +51987,7 @@ __decorateClass([
52007
51987
  Expose789(),
52008
51988
  IsDefined280({ message: "El campo Inventory es obligatorio." }),
52009
51989
  IsArray249(),
52010
- ValidateNested422({ each: true }),
51990
+ ValidateNested421({ each: true }),
52011
51991
  Type484(() => MaterialesPeru9112ClaroDTO)
52012
51992
  ], Peru9112ClaroENTITY.prototype, "inventory", 2);
52013
51993
  __decorateClass([
@@ -52016,7 +51996,7 @@ __decorateClass([
52016
51996
  message: "El campo ProductsServicesContracted es obligatorio."
52017
51997
  }),
52018
51998
  IsArray249(),
52019
- ValidateNested422({ each: true }),
51999
+ ValidateNested421({ each: true }),
52020
52000
  Type484(() => ProductosServiciosContratadoPeru9112ClaroDTO)
52021
52001
  ], Peru9112ClaroENTITY.prototype, "productos_servicios_contratado", 2);
52022
52002
  __decorateClass([
@@ -52037,13 +52017,13 @@ __decorateClass([
52037
52017
  __decorateClass([
52038
52018
  Expose789(),
52039
52019
  IsDefined280({ message: "El campo EECC es obligatorio." }),
52040
- ValidateNested422(),
52020
+ ValidateNested421(),
52041
52021
  Type484(() => EECCDBTOADTO)
52042
52022
  ], Peru9112ClaroENTITY.prototype, "EECC", 2);
52043
52023
  __decorateClass([
52044
52024
  Expose789(),
52045
52025
  IsDefined280(),
52046
- ValidateNested422(),
52026
+ ValidateNested421(),
52047
52027
  Type484(() => FilesDocDTO)
52048
52028
  ], Peru9112ClaroENTITY.prototype, "boletin", 2);
52049
52029
  __decorateClass([
@@ -52077,7 +52057,7 @@ __decorateClass([
52077
52057
  __decorateClass([
52078
52058
  Expose789(),
52079
52059
  IsDefined280({ message: "El campo EstadoProceso es obligatorio." }),
52080
- ValidateNested422(),
52060
+ ValidateNested421(),
52081
52061
  Type484(() => EstadoProcesoValPeru9112ClaroDTO)
52082
52062
  ], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
52083
52063
  __decorateClass([
@@ -52135,7 +52115,7 @@ __decorateClass([
52135
52115
  ], LoginDto.prototype, "password", 2);
52136
52116
 
52137
52117
  // src/v2/dtos/PayloadToken.ts
52138
- import { IsDefined as IsDefined285, IsEnum as IsEnum46, IsObject as IsObject15, ValidateNested as ValidateNested424 } from "class-validator";
52118
+ import { IsDefined as IsDefined285, IsEnum as IsEnum46, IsObject as IsObject15, ValidateNested as ValidateNested423 } from "class-validator";
52139
52119
  import { Expose as Expose794, Type as Type486 } from "class-transformer";
52140
52120
 
52141
52121
  // src/v2/dtos/AuthUser.ts
@@ -52231,32 +52211,32 @@ var PayloadTokenDto = class {
52231
52211
  employmentType;
52232
52212
  };
52233
52213
  __decorateClass([
52234
- ValidateNested424(),
52214
+ ValidateNested423(),
52235
52215
  Type486(() => AuthUserDto),
52236
52216
  Expose794()
52237
52217
  ], PayloadTokenDto.prototype, "user", 2);
52238
52218
  __decorateClass([
52239
- ValidateNested424(),
52219
+ ValidateNested423(),
52240
52220
  Type486(() => ProfileDto),
52241
52221
  Expose794()
52242
52222
  ], PayloadTokenDto.prototype, "profile", 2);
52243
52223
  __decorateClass([
52244
52224
  IsDefined285({ message: "La empresa es requerida" }),
52245
52225
  Type486(() => CodeNameDto),
52246
- ValidateNested424(),
52226
+ ValidateNested423(),
52247
52227
  IsObject15(),
52248
52228
  Expose794()
52249
52229
  ], PayloadTokenDto.prototype, "company", 2);
52250
52230
  __decorateClass([
52251
52231
  IsDefined285({ message: "debe proporcionar el pa\xEDs" }),
52252
- ValidateNested424(),
52232
+ ValidateNested423(),
52253
52233
  Type486(() => CodeNameMinLengthDto),
52254
52234
  IsObject15(),
52255
52235
  Expose794()
52256
52236
  ], PayloadTokenDto.prototype, "country", 2);
52257
52237
  __decorateClass([
52258
52238
  IsDefined285({ message: "debe proporcionar la delegaci\xF3n" }),
52259
- ValidateNested424(),
52239
+ ValidateNested423(),
52260
52240
  Type486(() => CodeNameMinLengthDto),
52261
52241
  IsObject15(),
52262
52242
  Expose794()
@@ -52268,7 +52248,7 @@ __decorateClass([
52268
52248
  ], PayloadTokenDto.prototype, "employmentType", 2);
52269
52249
 
52270
52250
  // src/v2/dtos/ResponseSignIn.ts
52271
- import { IsArray as IsArray252, IsDefined as IsDefined287, IsObject as IsObject16, IsString as IsString659, MinLength as MinLength58, ValidateNested as ValidateNested425 } from "class-validator";
52251
+ import { IsArray as IsArray252, IsDefined as IsDefined287, IsObject as IsObject16, IsString as IsString659, MinLength as MinLength58, ValidateNested as ValidateNested424 } from "class-validator";
52272
52252
  import { Expose as Expose796, Type as Type487 } from "class-transformer";
52273
52253
 
52274
52254
  // src/v2/entities/SystemOption.ts
@@ -52329,13 +52309,13 @@ var ResponseSignInDto = class {
52329
52309
  __decorateClass([
52330
52310
  IsDefined287({ message: "El usuario es requerido" }),
52331
52311
  IsObject16({ message: "El usuario debe ser un objeto" }),
52332
- ValidateNested425(),
52312
+ ValidateNested424(),
52333
52313
  Type487(() => PayloadTokenDto),
52334
52314
  Expose796()
52335
52315
  ], ResponseSignInDto.prototype, "auth", 2);
52336
52316
  __decorateClass([
52337
52317
  IsArray252({ message: "La propiedad debe ser un arreglo" }),
52338
- ValidateNested425({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
52318
+ ValidateNested424({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
52339
52319
  Type487(() => SystemOptionEntity),
52340
52320
  Expose796()
52341
52321
  ], ResponseSignInDto.prototype, "dataSystemOptions", 2);
@@ -52503,7 +52483,7 @@ import {
52503
52483
  IsNumber as IsNumber520,
52504
52484
  IsString as IsString665,
52505
52485
  Min as Min343,
52506
- ValidateNested as ValidateNested427
52486
+ ValidateNested as ValidateNested426
52507
52487
  } from "class-validator";
52508
52488
 
52509
52489
  // src/v2/enums/FileExtension.ts
@@ -52551,7 +52531,7 @@ __decorateClass([
52551
52531
  IsDefined293({ message: "Los hijos son requeridos" }),
52552
52532
  IsArray257({ message: "Los hijos deben ser un arreglo" }),
52553
52533
  Type489(() => _DocumentRequirementDto),
52554
- ValidateNested427({ each: true }),
52534
+ ValidateNested426({ each: true }),
52555
52535
  Expose803()
52556
52536
  ], _DocumentRequirementDto.prototype, "children", 2);
52557
52537
  __decorateClass([
@@ -52626,7 +52606,7 @@ __decorateClass([
52626
52606
  ], DelegationEntity.prototype, "name", 2);
52627
52607
 
52628
52608
  // src/v2/entities/User.ts
52629
- import { IsArray as IsArray258, IsBoolean as IsBoolean77, IsDefined as IsDefined297, IsEmail as IsEmail10, IsString as IsString668, IsUUID as IsUUID32, ValidateIf as ValidateIf9, ValidateNested as ValidateNested428 } from "class-validator";
52609
+ import { IsArray as IsArray258, IsBoolean as IsBoolean77, IsDefined as IsDefined297, IsEmail as IsEmail10, IsString as IsString668, IsUUID as IsUUID32, ValidateIf as ValidateIf9, ValidateNested as ValidateNested427 } from "class-validator";
52630
52610
  import { Expose as Expose807, Transform as Transform120, Type as Type491 } from "class-transformer";
52631
52611
 
52632
52612
  // src/v2/dtos/ResourceSystemDto.ts
@@ -52728,7 +52708,7 @@ __decorateClass([
52728
52708
  IsDefined297({ message: "El campo empresas es requerido" }),
52729
52709
  IsArray258({ message: "El campo empresas debe ser un array" }),
52730
52710
  Type491(() => CompanyDto),
52731
- ValidateNested428({ each: true }),
52711
+ ValidateNested427({ each: true }),
52732
52712
  Expose807()
52733
52713
  ], UserEntity.prototype, "companies", 2);
52734
52714
  __decorateClass([
@@ -52751,7 +52731,7 @@ __decorateClass([
52751
52731
  __decorateClass([
52752
52732
  IsDefined297({ message: "Resurso sistema es obligatoria" }),
52753
52733
  Type491(() => ResourceSystemDto),
52754
- ValidateNested428({ each: true }),
52734
+ ValidateNested427({ each: true }),
52755
52735
  IsArray258({ message: "Recurso sistema debe ser un array" }),
52756
52736
  Expose807()
52757
52737
  ], UserEntity.prototype, "resourceSystem", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.444",
3
+ "version": "1.2.445",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",