sigo-entities 1.2.156 → 1.2.158

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
@@ -745,6 +745,7 @@ declare enum SistemaRecurso {
745
745
  TOA_CLARO = "TOA_CLARO",
746
746
  ONNET_FIBRA_MAM = "ONNET_FIBRA_MAM",
747
747
  WIN = "WIN",
748
+ WAOO = "WAOO",
748
749
  FIBRAMAS = "FIBRAMAS"
749
750
  }
750
751
 
package/dist/index.d.ts CHANGED
@@ -745,6 +745,7 @@ declare enum SistemaRecurso {
745
745
  TOA_CLARO = "TOA_CLARO",
746
746
  ONNET_FIBRA_MAM = "ONNET_FIBRA_MAM",
747
747
  WIN = "WIN",
748
+ WAOO = "WAOO",
748
749
  FIBRAMAS = "FIBRAMAS"
749
750
  }
750
751
 
package/dist/index.js CHANGED
@@ -4209,6 +4209,7 @@ var SistemaRecurso = /* @__PURE__ */ ((SistemaRecurso2) => {
4209
4209
  SistemaRecurso2["TOA_CLARO"] = "TOA_CLARO";
4210
4210
  SistemaRecurso2["ONNET_FIBRA_MAM"] = "ONNET_FIBRA_MAM";
4211
4211
  SistemaRecurso2["WIN"] = "WIN";
4212
+ SistemaRecurso2["WAOO"] = "WAOO";
4212
4213
  SistemaRecurso2["FIBRAMAS"] = "FIBRAMAS";
4213
4214
  return SistemaRecurso2;
4214
4215
  })(SistemaRecurso || {});
@@ -34162,7 +34163,7 @@ var Peru9112TOAENTITY = class {
34162
34163
  MO = 0;
34163
34164
  Gasto_EECC = 0;
34164
34165
  EECC = new EECCDBTOADTO();
34165
- AjusteReproceso;
34166
+ AjusteReproceso = {};
34166
34167
  };
34167
34168
  __decorateClass([
34168
34169
  (0, import_class_validator555.IsDefined)({ message: "El campo _id es obligatorio." }),
@@ -34477,17 +34478,7 @@ __decorateClass([
34477
34478
  ], Peru9112TOAENTITY.prototype, "EECC", 2);
34478
34479
  __decorateClass([
34479
34480
  (0, import_class_transformer554.Expose)(),
34480
- (0, import_class_transformer554.Transform)(({ value }) => {
34481
- if (!value || Object.keys(value).length === 0) {
34482
- return {};
34483
- }
34484
- return value;
34485
- }),
34486
- (0, import_class_validator555.ValidateIf)(
34487
- (o) => o.AjusteReproceso && Object.keys(o.AjusteReproceso).length > 0
34488
- ),
34489
- (0, import_class_validator555.ValidateNested)(),
34490
- (0, import_class_transformer554.Type)(() => AjusteReprocesoDTO)
34481
+ (0, import_class_validator555.IsDefined)({ message: "El campo AjusteReproceso es obligatorio." })
34491
34482
  ], Peru9112TOAENTITY.prototype, "AjusteReproceso", 2);
34492
34483
 
34493
34484
  // src/operativa/procesos/onnet_fibra/shared/index.ts
package/dist/index.mjs CHANGED
@@ -3596,6 +3596,7 @@ var SistemaRecurso = /* @__PURE__ */ ((SistemaRecurso2) => {
3596
3596
  SistemaRecurso2["TOA_CLARO"] = "TOA_CLARO";
3597
3597
  SistemaRecurso2["ONNET_FIBRA_MAM"] = "ONNET_FIBRA_MAM";
3598
3598
  SistemaRecurso2["WIN"] = "WIN";
3599
+ SistemaRecurso2["WAOO"] = "WAOO";
3599
3600
  SistemaRecurso2["FIBRAMAS"] = "FIBRAMAS";
3600
3601
  return SistemaRecurso2;
3601
3602
  })(SistemaRecurso || {});
@@ -32784,7 +32785,7 @@ __decorateClass([
32784
32785
  ], DataScraperClaroVTRENTITY.prototype, "Inventory", 2);
32785
32786
 
32786
32787
  // src/operativa/procesos/toa_movistar/shared/index.ts
32787
- import { Expose as Expose552, Transform as Transform67, Type as Type363 } from "class-transformer";
32788
+ import { Expose as Expose552, Type as Type363 } from "class-transformer";
32788
32789
  import {
32789
32790
  IsDefined as IsDefined155,
32790
32791
  IsString as IsString448,
@@ -32793,8 +32794,7 @@ import {
32793
32794
  IsArray as IsArray191,
32794
32795
  IsObject as IsObject6,
32795
32796
  IsDate as IsDate134,
32796
- IsUUID as IsUUID3,
32797
- ValidateIf as ValidateIf6
32797
+ IsUUID as IsUUID3
32798
32798
  } from "class-validator";
32799
32799
  import "reflect-metadata";
32800
32800
 
@@ -33740,7 +33740,7 @@ var Peru9112TOAENTITY = class {
33740
33740
  MO = 0;
33741
33741
  Gasto_EECC = 0;
33742
33742
  EECC = new EECCDBTOADTO();
33743
- AjusteReproceso;
33743
+ AjusteReproceso = {};
33744
33744
  };
33745
33745
  __decorateClass([
33746
33746
  IsDefined155({ message: "El campo _id es obligatorio." }),
@@ -34055,17 +34055,7 @@ __decorateClass([
34055
34055
  ], Peru9112TOAENTITY.prototype, "EECC", 2);
34056
34056
  __decorateClass([
34057
34057
  Expose552(),
34058
- Transform67(({ value }) => {
34059
- if (!value || Object.keys(value).length === 0) {
34060
- return {};
34061
- }
34062
- return value;
34063
- }),
34064
- ValidateIf6(
34065
- (o) => o.AjusteReproceso && Object.keys(o.AjusteReproceso).length > 0
34066
- ),
34067
- ValidateNested324(),
34068
- Type363(() => AjusteReprocesoDTO)
34058
+ IsDefined155({ message: "El campo AjusteReproceso es obligatorio." })
34069
34059
  ], Peru9112TOAENTITY.prototype, "AjusteReproceso", 2);
34070
34060
 
34071
34061
  // src/operativa/procesos/onnet_fibra/shared/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.156",
3
+ "version": "1.2.158",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",