sigo-entities 1.1.64 → 1.1.65

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
@@ -924,8 +924,8 @@ declare class OTENTITY {
924
924
  ID_OT: number;
925
925
  Pais: CodigoNombreDTO;
926
926
  Delegacion: CodigoNombreDTO;
927
- Codigo: string;
928
- Nombre: string;
927
+ CodigoOT: string;
928
+ Especialidades: CodigoNombreDTO[];
929
929
  Estado: EstadoDTO;
930
930
  }
931
931
 
package/dist/index.d.ts CHANGED
@@ -924,8 +924,8 @@ declare class OTENTITY {
924
924
  ID_OT: number;
925
925
  Pais: CodigoNombreDTO;
926
926
  Delegacion: CodigoNombreDTO;
927
- Codigo: string;
928
- Nombre: string;
927
+ CodigoOT: string;
928
+ Especialidades: CodigoNombreDTO[];
929
929
  Estado: EstadoDTO;
930
930
  }
931
931
 
package/dist/index.js CHANGED
@@ -26,8 +26,8 @@ var __decorateClass = (decorators, target, key, kind) => {
26
26
  };
27
27
 
28
28
  // src/index.ts
29
- var index_exports = {};
30
- __export(index_exports, {
29
+ var src_exports = {};
30
+ __export(src_exports, {
31
31
  ADM_RM_ZonasActividadENTITY: () => ADM_RM_ZonasActividadENTITY,
32
32
  ActaFinalCubicacionDTO: () => ActaFinalCubicacionDTO,
33
33
  ActaFinalCubicacionSharedDTO: () => ActaFinalCubicacionSharedDTO,
@@ -488,7 +488,7 @@ __export(index_exports, {
488
488
  validateAndFormatData: () => validateAndFormatData,
489
489
  validateArrayBody: () => validateArrayBody
490
490
  });
491
- module.exports = __toCommonJS(index_exports);
491
+ module.exports = __toCommonJS(src_exports);
492
492
  var import_reflect_metadata = require("reflect-metadata");
493
493
 
494
494
  // src/administracion/mail structure/shared/dto/destinatario-dto.ts
@@ -5204,8 +5204,8 @@ var OTENTITY = class {
5204
5204
  ID_OT = 0;
5205
5205
  Pais = new CodigoNombreDTO();
5206
5206
  Delegacion = new CodigoNombreDTO();
5207
- Codigo = "";
5208
- Nombre = "";
5207
+ CodigoOT = "";
5208
+ Especialidades = [];
5209
5209
  Estado = new EstadoDTO();
5210
5210
  };
5211
5211
  __decorateClass([
@@ -5225,14 +5225,16 @@ __decorateClass([
5225
5225
  ], OTENTITY.prototype, "Delegacion", 2);
5226
5226
  __decorateClass([
5227
5227
  (0, import_class_validator106.IsString)({ message: "debe ser un texto" }),
5228
- (0, import_class_validator106.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
5228
+ (0, import_class_validator106.Length)(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
5229
5229
  (0, import_class_transformer105.Expose)()
5230
- ], OTENTITY.prototype, "Codigo", 2);
5230
+ ], OTENTITY.prototype, "CodigoOT", 2);
5231
5231
  __decorateClass([
5232
- (0, import_class_validator106.IsString)({ message: "debe ser un texto" }),
5233
- (0, import_class_validator106.Length)(1, 150, { message: "debe tener entre 1 y 150 caracteres" }),
5234
- (0, import_class_transformer105.Expose)()
5235
- ], OTENTITY.prototype, "Nombre", 2);
5232
+ (0, import_class_transformer105.Type)(() => CodigoNombreDTO),
5233
+ (0, import_class_validator106.IsNotEmpty)({ message: "es requerido" }),
5234
+ (0, import_class_transformer105.Expose)(),
5235
+ (0, import_class_validator106.IsArray)(),
5236
+ (0, import_class_validator106.ValidateNested)({ each: true })
5237
+ ], OTENTITY.prototype, "Especialidades", 2);
5236
5238
  __decorateClass([
5237
5239
  (0, import_class_transformer105.Type)(() => EstadoDTO),
5238
5240
  (0, import_class_transformer105.Expose)(),