sigo-entities 0.0.230 → 0.0.232

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
@@ -1784,7 +1784,6 @@ declare class BaremosChileENTITY {
1784
1784
  UnidadObra: UnidadMedidaDTO$1;
1785
1785
  MaterialesUtilizados: Array<any>;
1786
1786
  MaterialesRetirados: Array<any>;
1787
- CoeficienteMaterial: number;
1788
1787
  Cantidad: number;
1789
1788
  PuntoBaremo: number;
1790
1789
  Precio: number;
package/dist/index.d.ts CHANGED
@@ -1784,7 +1784,6 @@ declare class BaremosChileENTITY {
1784
1784
  UnidadObra: UnidadMedidaDTO$1;
1785
1785
  MaterialesUtilizados: Array<any>;
1786
1786
  MaterialesRetirados: Array<any>;
1787
- CoeficienteMaterial: number;
1788
1787
  Cantidad: number;
1789
1788
  PuntoBaremo: number;
1790
1789
  Precio: number;
package/dist/index.js CHANGED
@@ -9227,9 +9227,8 @@ __decorateClass([
9227
9227
  (0, import_class_transformer159.Expose)()
9228
9228
  ], ManoObraDTO2.prototype, "Nombre", 2);
9229
9229
  __decorateClass([
9230
- (0, import_class_validator159.IsBoolean)({ message: "debe ser true o false" }),
9231
- (0, import_class_validator159.IsNotEmpty)({ message: "es requerido" }),
9232
- (0, import_class_validator159.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
9230
+ (0, import_class_validator159.IsString)({ message: "debe ser true o false" }),
9231
+ (0, import_class_validator159.Length)(0, 60, { message: "debe tener entre 0 y 60 caracteres" }),
9233
9232
  (0, import_class_transformer159.Expose)()
9234
9233
  ], ManoObraDTO2.prototype, "UnidadMedida", 2);
9235
9234
 
@@ -9255,8 +9254,7 @@ __decorateClass([
9255
9254
  ], UnidadMedidaDTO2.prototype, "Nombre", 2);
9256
9255
  __decorateClass([
9257
9256
  (0, import_class_validator160.IsString)({ message: "debe ser true o false" }),
9258
- (0, import_class_validator160.IsNotEmpty)({ message: "es requerido" }),
9259
- (0, import_class_validator160.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
9257
+ (0, import_class_validator160.Length)(0, 60, { message: "debe tener entre 0 y 60 caracteres" }),
9260
9258
  (0, import_class_transformer160.Expose)()
9261
9259
  ], UnidadMedidaDTO2.prototype, "UnidadMedida", 2);
9262
9260
 
@@ -9277,7 +9275,6 @@ var BaremosChileENTITY = class {
9277
9275
  UnidadObra = new UnidadMedidaDTO2();
9278
9276
  MaterialesUtilizados = [];
9279
9277
  MaterialesRetirados = [];
9280
- CoeficienteMaterial = 0;
9281
9278
  Cantidad = 0;
9282
9279
  PuntoBaremo = 0;
9283
9280
  Precio = 0;
@@ -9373,11 +9370,6 @@ __decorateClass([
9373
9370
  (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
9374
9371
  (0, import_class_transformer161.Expose)()
9375
9372
  ], BaremosChileENTITY.prototype, "MaterialesRetirados", 2);
9376
- __decorateClass([
9377
- (0, import_class_validator161.IsNumber)({}, { message: "debe ser un numero" }),
9378
- (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
9379
- (0, import_class_transformer161.Expose)()
9380
- ], BaremosChileENTITY.prototype, "CoeficienteMaterial", 2);
9381
9373
  __decorateClass([
9382
9374
  (0, import_class_validator161.IsNumber)({}, { message: "debe ser un numero" }),
9383
9375
  (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
package/dist/index.mjs CHANGED
@@ -8952,7 +8952,7 @@ __decorateClass([
8952
8952
 
8953
8953
  // src/programados/Reportes/ReporteProduccion/Chile/Baremos/dto/manoobra-dto.ts
8954
8954
  import { Expose as Expose158 } from "class-transformer";
8955
- import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty156, IsString as IsString133, Length as Length114 } from "class-validator";
8955
+ import { IsNotEmpty as IsNotEmpty156, IsString as IsString133, Length as Length114 } from "class-validator";
8956
8956
  var ManoObraDTO2 = class {
8957
8957
  Codigo = "";
8958
8958
  Nombre = "";
@@ -8971,9 +8971,8 @@ __decorateClass([
8971
8971
  Expose158()
8972
8972
  ], ManoObraDTO2.prototype, "Nombre", 2);
8973
8973
  __decorateClass([
8974
- IsBoolean16({ message: "debe ser true o false" }),
8975
- IsNotEmpty156({ message: "es requerido" }),
8976
- Length114(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
8974
+ IsString133({ message: "debe ser true o false" }),
8975
+ Length114(0, 60, { message: "debe tener entre 0 y 60 caracteres" }),
8977
8976
  Expose158()
8978
8977
  ], ManoObraDTO2.prototype, "UnidadMedida", 2);
8979
8978
 
@@ -8999,8 +8998,7 @@ __decorateClass([
8999
8998
  ], UnidadMedidaDTO2.prototype, "Nombre", 2);
9000
8999
  __decorateClass([
9001
9000
  IsString134({ message: "debe ser true o false" }),
9002
- IsNotEmpty157({ message: "es requerido" }),
9003
- Length115(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
9001
+ Length115(0, 60, { message: "debe tener entre 0 y 60 caracteres" }),
9004
9002
  Expose159()
9005
9003
  ], UnidadMedidaDTO2.prototype, "UnidadMedida", 2);
9006
9004
 
@@ -9021,7 +9019,6 @@ var BaremosChileENTITY = class {
9021
9019
  UnidadObra = new UnidadMedidaDTO2();
9022
9020
  MaterialesUtilizados = [];
9023
9021
  MaterialesRetirados = [];
9024
- CoeficienteMaterial = 0;
9025
9022
  Cantidad = 0;
9026
9023
  PuntoBaremo = 0;
9027
9024
  Precio = 0;
@@ -9117,11 +9114,6 @@ __decorateClass([
9117
9114
  IsNotEmpty158({ message: "es requerido" }),
9118
9115
  Expose160()
9119
9116
  ], BaremosChileENTITY.prototype, "MaterialesRetirados", 2);
9120
- __decorateClass([
9121
- IsNumber116({}, { message: "debe ser un numero" }),
9122
- IsNotEmpty158({ message: "es requerido" }),
9123
- Expose160()
9124
- ], BaremosChileENTITY.prototype, "CoeficienteMaterial", 2);
9125
9117
  __decorateClass([
9126
9118
  IsNumber116({}, { message: "debe ser un numero" }),
9127
9119
  IsNotEmpty158({ message: "es requerido" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.230",
3
+ "version": "0.0.232",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",