sigo-entities 1.2.109 → 1.2.110

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
@@ -692,6 +692,7 @@ declare class EstadoInternoObraDTO {
692
692
  Fecha: Date;
693
693
  Descripcion: string;
694
694
  Observacion: string;
695
+ Sistema: string;
695
696
  UsuarioEdicion: UsuarioEdicionDTO;
696
697
  UltimoSubEstado: SubEstadoInternoDTO;
697
698
  SubEstados: SubEstadoInternoDTO[];
package/dist/index.d.ts CHANGED
@@ -692,6 +692,7 @@ declare class EstadoInternoObraDTO {
692
692
  Fecha: Date;
693
693
  Descripcion: string;
694
694
  Observacion: string;
695
+ Sistema: string;
695
696
  UsuarioEdicion: UsuarioEdicionDTO;
696
697
  UltimoSubEstado: SubEstadoInternoDTO;
697
698
  SubEstados: SubEstadoInternoDTO[];
package/dist/index.js CHANGED
@@ -3910,6 +3910,7 @@ var EstadoInternoObraDTO = class {
3910
3910
  Fecha = /* @__PURE__ */ new Date();
3911
3911
  Descripcion = "";
3912
3912
  Observacion = "";
3913
+ Sistema = "";
3913
3914
  UsuarioEdicion = new UsuarioEdicionDTO();
3914
3915
  UltimoSubEstado = new SubEstadoInternoDTO();
3915
3916
  SubEstados = [];
@@ -3935,6 +3936,11 @@ __decorateClass([
3935
3936
  (0, import_class_validator88.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
3936
3937
  (0, import_class_transformer87.Expose)()
3937
3938
  ], EstadoInternoObraDTO.prototype, "Observacion", 2);
3939
+ __decorateClass([
3940
+ (0, import_class_validator88.IsString)({ message: "debe ser un texto" }),
3941
+ (0, import_class_validator88.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
3942
+ (0, import_class_transformer87.Expose)()
3943
+ ], EstadoInternoObraDTO.prototype, "Sistema", 2);
3938
3944
  __decorateClass([
3939
3945
  (0, import_class_transformer87.Type)(() => UsuarioEdicionDTO),
3940
3946
  (0, import_class_validator88.IsNotEmpty)({ message: "es requerido" }),
package/dist/index.mjs CHANGED
@@ -3323,6 +3323,7 @@ var EstadoInternoObraDTO = class {
3323
3323
  Fecha = /* @__PURE__ */ new Date();
3324
3324
  Descripcion = "";
3325
3325
  Observacion = "";
3326
+ Sistema = "";
3326
3327
  UsuarioEdicion = new UsuarioEdicionDTO();
3327
3328
  UltimoSubEstado = new SubEstadoInternoDTO();
3328
3329
  SubEstados = [];
@@ -3348,6 +3349,11 @@ __decorateClass([
3348
3349
  Length59(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
3349
3350
  Expose85()
3350
3351
  ], EstadoInternoObraDTO.prototype, "Observacion", 2);
3352
+ __decorateClass([
3353
+ IsString68({ message: "debe ser un texto" }),
3354
+ Length59(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
3355
+ Expose85()
3356
+ ], EstadoInternoObraDTO.prototype, "Sistema", 2);
3351
3357
  __decorateClass([
3352
3358
  Type45(() => UsuarioEdicionDTO),
3353
3359
  IsNotEmpty69({ message: "es requerido" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.109",
3
+ "version": "1.2.110",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",