sigo-entities 1.2.149 → 1.2.151

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
@@ -546,7 +546,7 @@ __export(index_exports, {
546
546
  TotalGeneralObraChileDTO: () => TotalGeneralObraChileDTO,
547
547
  TotalGeneralObraColombia9612DTO: () => TotalGeneralObraColombia9612DTO,
548
548
  TotalGeneralObraDTO: () => TotalGeneralObraDTO,
549
- TotalGeneralObraPeru9112DTO: () => TotalGeneralObraPeru9112DTO2,
549
+ TotalGeneralObraPeru9112DTO: () => TotalGeneralObraPeru9112DTO,
550
550
  TotalGeneralObraPeruDTO: () => TotalGeneralObraPeruDTO,
551
551
  TrabajoAlemaniaENTITY: () => TrabajoAlemaniaENTITY,
552
552
  TrabajoENTITY: () => TrabajoENTITY,
@@ -12584,10 +12584,9 @@ var import_class_transformer224 = require("class-transformer");
12584
12584
  // src/programados/procesos/macroobra/peru/dto/incidencias-peru-dto.ts
12585
12585
  var import_class_transformer223 = require("class-transformer");
12586
12586
  var import_class_validator224 = require("class-validator");
12587
- var import_obra2 = require("src/programados/procesos/obra");
12588
12587
  var IncidenciasPeruDTO = class extends IncidenciasDTO {
12589
12588
  Estado = new EstadoDTO();
12590
- TotalesGeneralObra = new import_obra2.TotalGeneralObraPeru9112DTO();
12589
+ TotalesGeneralObra = new TotalGeneralObraPeru9112DTO();
12591
12590
  };
12592
12591
  __decorateClass([
12593
12592
  (0, import_class_transformer223.Type)(() => EstadoDTO),
@@ -12595,7 +12594,7 @@ __decorateClass([
12595
12594
  (0, import_class_transformer223.Expose)()
12596
12595
  ], IncidenciasPeruDTO.prototype, "Estado", 2);
12597
12596
  __decorateClass([
12598
- (0, import_class_transformer223.Type)(() => import_obra2.TotalGeneralObraPeru9112DTO),
12597
+ (0, import_class_transformer223.Type)(() => TotalGeneralObraPeru9112DTO),
12599
12598
  (0, import_class_validator224.IsNotEmpty)({ message: "es requerido" }),
12600
12599
  (0, import_class_transformer223.Expose)(),
12601
12600
  (0, import_class_validator224.ValidateNested)()
@@ -14680,7 +14679,7 @@ __decorateClass([
14680
14679
  ], ValorizadoTotalObraPeruDTO.prototype, "Preliquidada", 2);
14681
14680
 
14682
14681
  // src/programados/procesos/obra/peru/9112/dto/totales-general-obra-dto.ts
14683
- var TotalGeneralObraPeru9112DTO2 = class {
14682
+ var TotalGeneralObraPeru9112DTO = class {
14684
14683
  PresupuestadoTotalObra = new PresupuestadoTotalObraDTO();
14685
14684
  ValorizadoTotalObra = new ValorizadoTotalObraPeruDTO();
14686
14685
  };
@@ -14689,13 +14688,13 @@ __decorateClass([
14689
14688
  (0, import_class_validator267.IsNotEmpty)({ message: "es requerido" }),
14690
14689
  (0, import_class_transformer266.Expose)(),
14691
14690
  (0, import_class_validator267.ValidateNested)()
14692
- ], TotalGeneralObraPeru9112DTO2.prototype, "PresupuestadoTotalObra", 2);
14691
+ ], TotalGeneralObraPeru9112DTO.prototype, "PresupuestadoTotalObra", 2);
14693
14692
  __decorateClass([
14694
14693
  (0, import_class_transformer266.Type)(() => ValorizadoTotalObraPeruDTO),
14695
14694
  (0, import_class_validator267.IsNotEmpty)({ message: "es requerido" }),
14696
14695
  (0, import_class_transformer266.Expose)(),
14697
14696
  (0, import_class_validator267.ValidateNested)()
14698
- ], TotalGeneralObraPeru9112DTO2.prototype, "ValorizadoTotalObra", 2);
14697
+ ], TotalGeneralObraPeru9112DTO.prototype, "ValorizadoTotalObra", 2);
14699
14698
 
14700
14699
  // src/programados/procesos/obra/peru/9112/index.ts
14701
14700
  var ObraPeru9112ENTITY = class extends ObraENTITY {
@@ -14703,7 +14702,7 @@ var ObraPeru9112ENTITY = class extends ObraENTITY {
14703
14702
  Estados_Internos = [];
14704
14703
  DocumentosIniciales = [];
14705
14704
  DetalleChile = new DetalleChilePeruObraDTO();
14706
- TotalesGeneralObra = new TotalGeneralObraPeru9112DTO2();
14705
+ TotalesGeneralObra = new TotalGeneralObraPeru9112DTO();
14707
14706
  };
14708
14707
  __decorateClass([
14709
14708
  (0, import_class_transformer267.Type)(() => EstadoInternoWithoutSubstateDTO),
@@ -14732,7 +14731,7 @@ __decorateClass([
14732
14731
  (0, import_class_validator268.ValidateNested)()
14733
14732
  ], ObraPeru9112ENTITY.prototype, "DetalleChile", 2);
14734
14733
  __decorateClass([
14735
- (0, import_class_transformer267.Type)(() => TotalGeneralObraPeru9112DTO2),
14734
+ (0, import_class_transformer267.Type)(() => TotalGeneralObraPeru9112DTO),
14736
14735
  (0, import_class_validator268.IsNotEmpty)({ message: "es requerido" }),
14737
14736
  (0, import_class_transformer267.Expose)(),
14738
14737
  (0, import_class_validator268.ValidateNested)()
@@ -34094,7 +34093,7 @@ __decorateClass([
34094
34093
  ], Peru9112TOAENTITYDB.prototype, "EECC", 2);
34095
34094
  __decorateClass([
34096
34095
  (0, import_class_transformer553.Expose)(),
34097
- (0, import_class_validator554.IsDefined)({ message: "El campo ajuste_reproceso es obligatorio." }),
34096
+ (0, import_class_validator554.IsObject)({ message: "AjusteReproceso debe ser un objeto." }),
34098
34097
  (0, import_class_validator554.ValidateIf)((obj, value) => value && Object.keys(value).length > 0),
34099
34098
  (0, import_class_validator554.ValidateNested)(),
34100
34099
  (0, import_class_transformer553.Type)(() => AjusteReprocesoDTO)
@@ -34446,7 +34445,7 @@ __decorateClass([
34446
34445
  ], Peru9112TOAENTITY.prototype, "EECC", 2);
34447
34446
  __decorateClass([
34448
34447
  (0, import_class_transformer554.Expose)(),
34449
- (0, import_class_validator555.IsDefined)({ message: "El campo ajuste_reproceso es obligatorio." }),
34448
+ (0, import_class_validator555.IsObject)({ message: "AjusteReproceso debe ser un objeto." }),
34450
34449
  (0, import_class_validator555.ValidateIf)((obj, value) => value && Object.keys(value).length > 0),
34451
34450
  (0, import_class_validator555.ValidateNested)(),
34452
34451
  (0, import_class_transformer554.Type)(() => AjusteReprocesoDTO)
package/dist/index.mjs CHANGED
@@ -12010,7 +12010,6 @@ import { Expose as Expose222, Type as Type154 } from "class-transformer";
12010
12010
  // src/programados/procesos/macroobra/peru/dto/incidencias-peru-dto.ts
12011
12011
  import { Expose as Expose221, Type as Type153 } from "class-transformer";
12012
12012
  import { IsNotEmpty as IsNotEmpty167, ValidateNested as ValidateNested140 } from "class-validator";
12013
- import { TotalGeneralObraPeru9112DTO } from "src/programados/procesos/obra";
12014
12013
  var IncidenciasPeruDTO = class extends IncidenciasDTO {
12015
12014
  Estado = new EstadoDTO();
12016
12015
  TotalesGeneralObra = new TotalGeneralObraPeru9112DTO();
@@ -14133,7 +14132,7 @@ __decorateClass([
14133
14132
  ], ValorizadoTotalObraPeruDTO.prototype, "Preliquidada", 2);
14134
14133
 
14135
14134
  // src/programados/procesos/obra/peru/9112/dto/totales-general-obra-dto.ts
14136
- var TotalGeneralObraPeru9112DTO2 = class {
14135
+ var TotalGeneralObraPeru9112DTO = class {
14137
14136
  PresupuestadoTotalObra = new PresupuestadoTotalObraDTO();
14138
14137
  ValorizadoTotalObra = new ValorizadoTotalObraPeruDTO();
14139
14138
  };
@@ -14142,13 +14141,13 @@ __decorateClass([
14142
14141
  IsNotEmpty196({ message: "es requerido" }),
14143
14142
  Expose264(),
14144
14143
  ValidateNested171()
14145
- ], TotalGeneralObraPeru9112DTO2.prototype, "PresupuestadoTotalObra", 2);
14144
+ ], TotalGeneralObraPeru9112DTO.prototype, "PresupuestadoTotalObra", 2);
14146
14145
  __decorateClass([
14147
14146
  Type185(() => ValorizadoTotalObraPeruDTO),
14148
14147
  IsNotEmpty196({ message: "es requerido" }),
14149
14148
  Expose264(),
14150
14149
  ValidateNested171()
14151
- ], TotalGeneralObraPeru9112DTO2.prototype, "ValorizadoTotalObra", 2);
14150
+ ], TotalGeneralObraPeru9112DTO.prototype, "ValorizadoTotalObra", 2);
14152
14151
 
14153
14152
  // src/programados/procesos/obra/peru/9112/index.ts
14154
14153
  var ObraPeru9112ENTITY = class extends ObraENTITY {
@@ -14156,7 +14155,7 @@ var ObraPeru9112ENTITY = class extends ObraENTITY {
14156
14155
  Estados_Internos = [];
14157
14156
  DocumentosIniciales = [];
14158
14157
  DetalleChile = new DetalleChilePeruObraDTO();
14159
- TotalesGeneralObra = new TotalGeneralObraPeru9112DTO2();
14158
+ TotalesGeneralObra = new TotalGeneralObraPeru9112DTO();
14160
14159
  };
14161
14160
  __decorateClass([
14162
14161
  Type186(() => EstadoInternoWithoutSubstateDTO),
@@ -14185,7 +14184,7 @@ __decorateClass([
14185
14184
  ValidateNested172()
14186
14185
  ], ObraPeru9112ENTITY.prototype, "DetalleChile", 2);
14187
14186
  __decorateClass([
14188
- Type186(() => TotalGeneralObraPeru9112DTO2),
14187
+ Type186(() => TotalGeneralObraPeru9112DTO),
14189
14188
  IsNotEmpty197({ message: "es requerido" }),
14190
14189
  Expose265(),
14191
14190
  ValidateNested172()
@@ -33678,7 +33677,7 @@ __decorateClass([
33678
33677
  ], Peru9112TOAENTITYDB.prototype, "EECC", 2);
33679
33678
  __decorateClass([
33680
33679
  Expose551(),
33681
- IsDefined155({ message: "El campo ajuste_reproceso es obligatorio." }),
33680
+ IsObject5({ message: "AjusteReproceso debe ser un objeto." }),
33682
33681
  ValidateIf5((obj, value) => value && Object.keys(value).length > 0),
33683
33682
  ValidateNested323(),
33684
33683
  Type362(() => AjusteReprocesoDTO)
@@ -34030,7 +34029,7 @@ __decorateClass([
34030
34029
  ], Peru9112TOAENTITY.prototype, "EECC", 2);
34031
34030
  __decorateClass([
34032
34031
  Expose552(),
34033
- IsDefined156({ message: "El campo ajuste_reproceso es obligatorio." }),
34032
+ IsObject6({ message: "AjusteReproceso debe ser un objeto." }),
34034
34033
  ValidateIf6((obj, value) => value && Object.keys(value).length > 0),
34035
34034
  ValidateNested324(),
34036
34035
  Type363(() => AjusteReprocesoDTO)
@@ -38385,7 +38384,7 @@ export {
38385
38384
  TotalGeneralObraChileDTO,
38386
38385
  TotalGeneralObraColombia9612DTO,
38387
38386
  TotalGeneralObraDTO,
38388
- TotalGeneralObraPeru9112DTO2 as TotalGeneralObraPeru9112DTO,
38387
+ TotalGeneralObraPeru9112DTO,
38389
38388
  TotalGeneralObraPeruDTO,
38390
38389
  TrabajoAlemaniaENTITY,
38391
38390
  TrabajoENTITY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.149",
3
+ "version": "1.2.151",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",