sigo-package 1.2.90 → 1.2.91

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
@@ -14853,7 +14853,8 @@ function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad, Obra, Zon
14853
14853
  const zonaSearchMapping = {
14854
14854
  "512": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Descripcion.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "512"),
14855
14855
  "004": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Descripcion.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "004"),
14856
- "480": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "480")
14856
+ "480": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "480"),
14857
+ "504": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "504")
14857
14858
  };
14858
14859
  return zonaSearchMapping[Obra.Pais.Codigo]();
14859
14860
  }
@@ -14999,7 +15000,8 @@ function ObtenerZonaAsignada(Obra) {
14999
15000
  const zonaMapping = {
15000
15001
  "512": Obra.ZonaAsignada,
15001
15002
  "004": Obra.ZonaAsignada,
15002
- "480": Obra.Ubicacion.Municipio
15003
+ "480": Obra.Ubicacion.Municipio,
15004
+ "504": Obra.ZonaAsignada
15003
15005
  };
15004
15006
  return zonaMapping[Obra.Pais.Codigo] ? zonaMapping[Obra.Pais.Codigo] : Obra.ZonaAsignada;
15005
15007
  }
package/dist/index.mjs CHANGED
@@ -14700,7 +14700,8 @@ function BuscarZonaContratista(EmpresaContratistaEnPrecioEspecialidad, Obra, Zon
14700
14700
  const zonaSearchMapping = {
14701
14701
  "512": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Descripcion.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "512"),
14702
14702
  "004": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Descripcion.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "004"),
14703
- "480": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "480")
14703
+ "480": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "480"),
14704
+ "504": /* @__PURE__ */ __name(() => EmpresaContratistaEnPrecioEspecialidad.Zonas.find((e) => e.Codigo.toUpperCase() === ZonaAsignada.toUpperCase() && e.Estado.ID_Estado === 1), "504")
14704
14705
  };
14705
14706
  return zonaSearchMapping[Obra.Pais.Codigo]();
14706
14707
  }
@@ -14846,7 +14847,8 @@ function ObtenerZonaAsignada(Obra) {
14846
14847
  const zonaMapping = {
14847
14848
  "512": Obra.ZonaAsignada,
14848
14849
  "004": Obra.ZonaAsignada,
14849
- "480": Obra.Ubicacion.Municipio
14850
+ "480": Obra.Ubicacion.Municipio,
14851
+ "504": Obra.ZonaAsignada
14850
14852
  };
14851
14853
  return zonaMapping[Obra.Pais.Codigo] ? zonaMapping[Obra.Pais.Codigo] : Obra.ZonaAsignada;
14852
14854
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.2.90",
3
+ "version": "1.2.91",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",