sigo-entities 0.0.233 → 0.0.235

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.js CHANGED
@@ -2754,6 +2754,7 @@ __decorateClass([
2754
2754
  (0, import_class_transformer63.Expose)()
2755
2755
  ], EstadoInternoENTITY.prototype, "Color", 2);
2756
2756
  __decorateClass([
2757
+ (0, import_class_validator63.IsNumber)({}, { message: "debe ser un numero" }),
2757
2758
  (0, import_class_validator63.IsNotEmpty)({ message: "es requerido" }),
2758
2759
  (0, import_class_transformer63.Expose)(),
2759
2760
  (0, import_class_validator63.Min)(1)
@@ -15045,18 +15046,21 @@ __decorateClass([
15045
15046
  (0, import_class_transformer250.Type)(() => ProductosServiciosValDTO),
15046
15047
  (0, import_class_validator250.IsNotEmpty)({ message: "es requerido" }),
15047
15048
  (0, import_class_transformer250.Expose)(),
15049
+ (0, import_class_validator250.IsArray)(),
15048
15050
  (0, import_class_validator250.ValidateNested)()
15049
15051
  ], ValorizadaTOAENTITY.prototype, "ProductosServicios_Actuales", 2);
15050
15052
  __decorateClass([
15051
15053
  (0, import_class_transformer250.Type)(() => ProductosServiciosValDTO),
15052
15054
  (0, import_class_validator250.IsNotEmpty)({ message: "es requerido" }),
15053
15055
  (0, import_class_transformer250.Expose)(),
15056
+ (0, import_class_validator250.IsArray)(),
15054
15057
  (0, import_class_validator250.ValidateNested)()
15055
15058
  ], ValorizadaTOAENTITY.prototype, "ProductosServicios_Contratados", 2);
15056
15059
  __decorateClass([
15057
15060
  (0, import_class_transformer250.Type)(() => InventarioValDTO),
15058
15061
  (0, import_class_validator250.IsNotEmpty)({ message: "es requerido" }),
15059
15062
  (0, import_class_transformer250.Expose)(),
15063
+ (0, import_class_validator250.IsArray)(),
15060
15064
  (0, import_class_validator250.ValidateNested)()
15061
15065
  ], ValorizadaTOAENTITY.prototype, "Inventario", 2);
15062
15066
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -2498,6 +2498,7 @@ __decorateClass([
2498
2498
  Expose62()
2499
2499
  ], EstadoInternoENTITY.prototype, "Color", 2);
2500
2500
  __decorateClass([
2501
+ IsNumber38({}, { message: "debe ser un numero" }),
2501
2502
  IsNotEmpty61({ message: "es requerido" }),
2502
2503
  Expose62(),
2503
2504
  Min32(1)
@@ -14381,7 +14382,8 @@ import {
14381
14382
  ValidateNested as ValidateNested152,
14382
14383
  IsDate as IsDate91,
14383
14384
  Length as Length190,
14384
- IsOptional as IsOptional6
14385
+ IsOptional as IsOptional6,
14386
+ IsArray as IsArray108
14385
14387
  } from "class-validator";
14386
14388
 
14387
14389
  // src/operativa/procesos/valorizadas_toa/shared/dto/cliente-contratista-dto.ts
@@ -14820,18 +14822,21 @@ __decorateClass([
14820
14822
  Type172(() => ProductosServiciosValDTO),
14821
14823
  IsNotEmpty241({ message: "es requerido" }),
14822
14824
  Expose249(),
14825
+ IsArray108(),
14823
14826
  ValidateNested152()
14824
14827
  ], ValorizadaTOAENTITY.prototype, "ProductosServicios_Actuales", 2);
14825
14828
  __decorateClass([
14826
14829
  Type172(() => ProductosServiciosValDTO),
14827
14830
  IsNotEmpty241({ message: "es requerido" }),
14828
14831
  Expose249(),
14832
+ IsArray108(),
14829
14833
  ValidateNested152()
14830
14834
  ], ValorizadaTOAENTITY.prototype, "ProductosServicios_Contratados", 2);
14831
14835
  __decorateClass([
14832
14836
  Type172(() => InventarioValDTO),
14833
14837
  IsNotEmpty241({ message: "es requerido" }),
14834
14838
  Expose249(),
14839
+ IsArray108(),
14835
14840
  ValidateNested152()
14836
14841
  ], ValorizadaTOAENTITY.prototype, "Inventario", 2);
14837
14842
  __decorateClass([
@@ -14885,7 +14890,7 @@ __decorateClass([
14885
14890
 
14886
14891
  // src/operativa/procesos/liquidadas_toa/shared/index.ts
14887
14892
  import { Expose as Expose254, Type as Type173 } from "class-transformer";
14888
- import { IsArray as IsArray108, IsNotEmpty as IsNotEmpty246, IsNumber as IsNumber183, IsString as IsString221, Length as Length195, Min as Min149, ValidateNested as ValidateNested153, IsDate as IsDate93, IsOptional as IsOptional7 } from "class-validator";
14893
+ import { IsArray as IsArray109, IsNotEmpty as IsNotEmpty246, IsNumber as IsNumber183, IsString as IsString221, Length as Length195, Min as Min149, ValidateNested as ValidateNested153, IsDate as IsDate93, IsOptional as IsOptional7 } from "class-validator";
14889
14894
 
14890
14895
  // src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
14891
14896
  import { Expose as Expose250 } from "class-transformer";
@@ -14929,7 +14934,7 @@ __decorateClass([
14929
14934
 
14930
14935
  // src/operativa/procesos/liquidadas_toa/shared/dto/inventario-liq-dto.ts
14931
14936
  import { Expose as Expose251 } from "class-transformer";
14932
- import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty243, IsNumber as IsNumber180, IsString as IsString218, Length as Length192, Min as Min146 } from "class-validator";
14937
+ import { IsEnum as IsEnum7, IsNotEmpty as IsNotEmpty243, IsNumber as IsNumber180, IsString as IsString218, Length as Length192, Min as Min146 } from "class-validator";
14933
14938
  var InventarioLiqDTO = class {
14934
14939
  Descripcion = "";
14935
14940
  LoteSAP = "";
@@ -14975,11 +14980,11 @@ __decorateClass([
14975
14980
  Min146(0)
14976
14981
  ], InventarioLiqDTO.prototype, "Cantidad", 2);
14977
14982
  __decorateClass([
14978
- IsEnum8({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
14983
+ IsEnum7({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
14979
14984
  Expose251()
14980
14985
  ], InventarioLiqDTO.prototype, "Estado", 2);
14981
14986
  __decorateClass([
14982
- IsEnum8({ NUEVO: "NUEVO", RETIRADO: "RETIRADO" }, { message: "El tipo debe ser NUEVO o RETIRADO" }),
14987
+ IsEnum7({ NUEVO: "NUEVO", RETIRADO: "RETIRADO" }, { message: "El tipo debe ser NUEVO o RETIRADO" }),
14983
14988
  Expose251()
14984
14989
  ], InventarioLiqDTO.prototype, "Tipo", 2);
14985
14990
  __decorateClass([
@@ -15202,7 +15207,7 @@ __decorateClass([
15202
15207
  Expose254()
15203
15208
  ], LiquidadaTOAENTITY.prototype, "Telefono", 2);
15204
15209
  __decorateClass([
15205
- IsArray108(),
15210
+ IsArray109(),
15206
15211
  IsString221({ each: true }),
15207
15212
  IsNotEmpty246({ each: true, message: "cada tag es requerido" }),
15208
15213
  Expose254()
@@ -15401,21 +15406,21 @@ __decorateClass([
15401
15406
  Type173(() => ProductosServiciosLiqDTO),
15402
15407
  IsNotEmpty246({ message: "es requerido" }),
15403
15408
  Expose254(),
15404
- IsArray108(),
15409
+ IsArray109(),
15405
15410
  ValidateNested153({ each: true })
15406
15411
  ], LiquidadaTOAENTITY.prototype, "ProductosServicios_Actuales", 2);
15407
15412
  __decorateClass([
15408
15413
  Type173(() => ProductosServiciosLiqDTO),
15409
15414
  IsNotEmpty246({ message: "es requerido" }),
15410
15415
  Expose254(),
15411
- IsArray108(),
15416
+ IsArray109(),
15412
15417
  ValidateNested153({ each: true })
15413
15418
  ], LiquidadaTOAENTITY.prototype, "ProductosServicios_Contratados", 2);
15414
15419
  __decorateClass([
15415
15420
  Type173(() => InventarioLiqDTO),
15416
15421
  IsNotEmpty246({ message: "es requerido" }),
15417
15422
  Expose254(),
15418
- IsArray108(),
15423
+ IsArray109(),
15419
15424
  ValidateNested153({ each: true })
15420
15425
  ], LiquidadaTOAENTITY.prototype, "Inventario", 2);
15421
15426
  __decorateClass([
@@ -15438,7 +15443,7 @@ __decorateClass([
15438
15443
  Type173(() => BitacoraLiqDTO),
15439
15444
  IsNotEmpty246({ message: "es requerido" }),
15440
15445
  Expose254(),
15441
- IsArray108(),
15446
+ IsArray109(),
15442
15447
  ValidateNested153({ each: true })
15443
15448
  ], LiquidadaTOAENTITY.prototype, "Bitacora", 2);
15444
15449
 
@@ -15448,7 +15453,7 @@ var BaremosTOAENTITY = class {
15448
15453
 
15449
15454
  // src/operativa/procesos/baremos_toa/chile/index.ts
15450
15455
  import { Expose as Expose257, Type as Type175 } from "class-transformer";
15451
- import { IsArray as IsArray109, IsNotEmpty as IsNotEmpty249, IsNumber as IsNumber186, IsString as IsString223, Length as Length197, Min as Min152, ValidateNested as ValidateNested155 } from "class-validator";
15456
+ import { IsArray as IsArray110, IsNotEmpty as IsNotEmpty249, IsNumber as IsNumber186, IsString as IsString223, Length as Length197, Min as Min152, ValidateNested as ValidateNested155 } from "class-validator";
15452
15457
 
15453
15458
  // src/operativa/procesos/baremos_toa/chile/dto/vigencia-dto.ts
15454
15459
  import { Expose as Expose256, Type as Type174 } from "class-transformer";
@@ -15592,7 +15597,7 @@ __decorateClass([
15592
15597
  Type175(() => VigenciaBaremosDTO),
15593
15598
  IsNotEmpty249({ message: "es requerido" }),
15594
15599
  Expose257(),
15595
- IsArray109(),
15600
+ IsArray110(),
15596
15601
  ValidateNested155({ each: true })
15597
15602
  ], BaremosTOAChileENTITY.prototype, "Vigencia", 2);
15598
15603
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.233",
3
+ "version": "0.0.235",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",