sigo-entities 1.2.66 → 1.2.67

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
@@ -1286,7 +1286,7 @@ declare class ReservaManoObraRegularizacionENTITY {
1286
1286
 
1287
1287
  declare class CentroCostosDTO {
1288
1288
  ID_CentroCostos: number;
1289
- Codigo_SIGO: number;
1289
+ Codigo_SIGO: string;
1290
1290
  Codigo: string;
1291
1291
  Descripcion: string;
1292
1292
  OT: string;
package/dist/index.d.ts CHANGED
@@ -1286,7 +1286,7 @@ declare class ReservaManoObraRegularizacionENTITY {
1286
1286
 
1287
1287
  declare class CentroCostosDTO {
1288
1288
  ID_CentroCostos: number;
1289
- Codigo_SIGO: number;
1289
+ Codigo_SIGO: string;
1290
1290
  Codigo: string;
1291
1291
  Descripcion: string;
1292
1292
  OT: string;
package/dist/index.js CHANGED
@@ -7225,7 +7225,7 @@ var import_class_transformer137 = require("class-transformer");
7225
7225
  var import_class_validator138 = require("class-validator");
7226
7226
  var CentroCostosDTO = class {
7227
7227
  ID_CentroCostos = 0;
7228
- Codigo_SIGO = 0;
7228
+ Codigo_SIGO = "";
7229
7229
  Codigo = "";
7230
7230
  Descripcion = "";
7231
7231
  OT = "";
@@ -7238,7 +7238,7 @@ __decorateClass([
7238
7238
  ], CentroCostosDTO.prototype, "ID_CentroCostos", 2);
7239
7239
  __decorateClass([
7240
7240
  (0, import_class_validator138.IsDefined)({ message: "es requerido" }),
7241
- (0, import_class_validator138.IsNumber)({}, { message: "debe ser un numero" }),
7241
+ (0, import_class_validator138.IsString)({ message: "debe ser un texto" }),
7242
7242
  (0, import_class_transformer137.Expose)()
7243
7243
  ], CentroCostosDTO.prototype, "Codigo_SIGO", 2);
7244
7244
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -6663,7 +6663,7 @@ import { Expose as Expose135, Type as Type88 } from "class-transformer";
6663
6663
  import { IsDefined as IsDefined32, IsNumber as IsNumber97, IsString as IsString109, ValidateNested as ValidateNested79 } from "class-validator";
6664
6664
  var CentroCostosDTO = class {
6665
6665
  ID_CentroCostos = 0;
6666
- Codigo_SIGO = 0;
6666
+ Codigo_SIGO = "";
6667
6667
  Codigo = "";
6668
6668
  Descripcion = "";
6669
6669
  OT = "";
@@ -6676,7 +6676,7 @@ __decorateClass([
6676
6676
  ], CentroCostosDTO.prototype, "ID_CentroCostos", 2);
6677
6677
  __decorateClass([
6678
6678
  IsDefined32({ message: "es requerido" }),
6679
- IsNumber97({}, { message: "debe ser un numero" }),
6679
+ IsString109({ message: "debe ser un texto" }),
6680
6680
  Expose135()
6681
6681
  ], CentroCostosDTO.prototype, "Codigo_SIGO", 2);
6682
6682
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.66",
3
+ "version": "1.2.67",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",