sigo-entities 1.2.51 → 1.2.53

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
@@ -6292,6 +6292,7 @@ declare enum StateServiceFibramas {
6292
6292
  declare class Peru9112FibramasENTITY {
6293
6293
  _id: string;
6294
6294
  numero_de_peticion: string;
6295
+ resource_id: string;
6295
6296
  tecnico: string;
6296
6297
  subtipo_de_actividad: string;
6297
6298
  tipo_orden: string;
package/dist/index.d.ts CHANGED
@@ -6292,6 +6292,7 @@ declare enum StateServiceFibramas {
6292
6292
  declare class Peru9112FibramasENTITY {
6293
6293
  _id: string;
6294
6294
  numero_de_peticion: string;
6295
+ resource_id: string;
6295
6296
  tecnico: string;
6296
6297
  subtipo_de_actividad: string;
6297
6298
  tipo_orden: string;
package/dist/index.js CHANGED
@@ -33402,6 +33402,7 @@ var StateServiceFibramas = /* @__PURE__ */ ((StateServiceFibramas2) => {
33402
33402
  var Peru9112FibramasENTITY = class {
33403
33403
  _id = "";
33404
33404
  numero_de_peticion = "";
33405
+ resource_id = "";
33405
33406
  tecnico = "";
33406
33407
  subtipo_de_actividad = "";
33407
33408
  tipo_orden = "";
@@ -33434,6 +33435,11 @@ __decorateClass([
33434
33435
  (0, import_class_validator549.IsDefined)({ message: "El campo NRO OS es obligatorio." }),
33435
33436
  (0, import_class_validator549.IsString)()
33436
33437
  ], Peru9112FibramasENTITY.prototype, "numero_de_peticion", 2);
33438
+ __decorateClass([
33439
+ (0, import_class_transformer548.Expose)({ name: "ID Recurso" }),
33440
+ (0, import_class_validator549.IsDefined)({ message: "El campo ID Recurso es obligatorio." }),
33441
+ (0, import_class_validator549.IsString)({ message: "El campo toa_resource_id debe ser una cadena de texto" })
33442
+ ], Peru9112FibramasENTITY.prototype, "resource_id", 2);
33437
33443
  __decorateClass([
33438
33444
  (0, import_class_transformer548.Expose)({ name: "NOMBRE TECNICO EJECUTOR" }),
33439
33445
  (0, import_class_validator549.IsDefined)({ message: "El campo NOMBRE TECNICO EJECUTOR es obligatorio." }),
@@ -33573,7 +33579,7 @@ __decorateClass([
33573
33579
  (0, import_class_validator550.MinLength)(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
33574
33580
  ], CodigoNombreMinLengthDto.prototype, "nombre", 2);
33575
33581
 
33576
- // src/v2/entities/delegacion.ts
33582
+ // src/v2/entities/Delegacion.ts
33577
33583
  var import_class_transformer551 = require("class-transformer");
33578
33584
  var import_class_validator552 = require("class-validator");
33579
33585
 
@@ -33595,7 +33601,7 @@ __decorateClass([
33595
33601
  (0, import_class_transformer550.Expose)()
33596
33602
  ], BaseEntity.prototype, "activo", 2);
33597
33603
 
33598
- // src/v2/entities/delegacion.ts
33604
+ // src/v2/entities/Delegacion.ts
33599
33605
  var DelegacionEntity = class extends BaseEntity {
33600
33606
  pais;
33601
33607
  codigo;
package/dist/index.mjs CHANGED
@@ -33021,6 +33021,7 @@ var StateServiceFibramas = /* @__PURE__ */ ((StateServiceFibramas2) => {
33021
33021
  var Peru9112FibramasENTITY = class {
33022
33022
  _id = "";
33023
33023
  numero_de_peticion = "";
33024
+ resource_id = "";
33024
33025
  tecnico = "";
33025
33026
  subtipo_de_actividad = "";
33026
33027
  tipo_orden = "";
@@ -33053,6 +33054,11 @@ __decorateClass([
33053
33054
  IsDefined154({ message: "El campo NRO OS es obligatorio." }),
33054
33055
  IsString446()
33055
33056
  ], Peru9112FibramasENTITY.prototype, "numero_de_peticion", 2);
33057
+ __decorateClass([
33058
+ Expose546({ name: "ID Recurso" }),
33059
+ IsDefined154({ message: "El campo ID Recurso es obligatorio." }),
33060
+ IsString446({ message: "El campo toa_resource_id debe ser una cadena de texto" })
33061
+ ], Peru9112FibramasENTITY.prototype, "resource_id", 2);
33056
33062
  __decorateClass([
33057
33063
  Expose546({ name: "NOMBRE TECNICO EJECUTOR" }),
33058
33064
  IsDefined154({ message: "El campo NOMBRE TECNICO EJECUTOR es obligatorio." }),
@@ -33192,7 +33198,7 @@ __decorateClass([
33192
33198
  MinLength46(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
33193
33199
  ], CodigoNombreMinLengthDto.prototype, "nombre", 2);
33194
33200
 
33195
- // src/v2/entities/delegacion.ts
33201
+ // src/v2/entities/Delegacion.ts
33196
33202
  import { Expose as Expose549, Type as Type357 } from "class-transformer";
33197
33203
  import { IsDefined as IsDefined157, IsObject as IsObject10, IsString as IsString448, MinLength as MinLength47, ValidateNested as ValidateNested317 } from "class-validator";
33198
33204
 
@@ -33214,7 +33220,7 @@ __decorateClass([
33214
33220
  Expose548()
33215
33221
  ], BaseEntity.prototype, "activo", 2);
33216
33222
 
33217
- // src/v2/entities/delegacion.ts
33223
+ // src/v2/entities/Delegacion.ts
33218
33224
  var DelegacionEntity = class extends BaseEntity {
33219
33225
  pais;
33220
33226
  codigo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.51",
3
+ "version": "1.2.53",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",