sigo-package 1.2.90 → 1.2.92

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
  }
@@ -15015,6 +15017,9 @@ var paisMap = {
15015
15017
  },
15016
15018
  "004": {
15017
15019
  CantidadMin: 0
15020
+ },
15021
+ "504": {
15022
+ CantidadMin: 0
15018
15023
  }
15019
15024
  };
15020
15025
 
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
  }
@@ -14862,6 +14864,9 @@ var paisMap = {
14862
14864
  },
14863
14865
  "004": {
14864
14866
  CantidadMin: 0
14867
+ },
14868
+ "504": {
14869
+ CantidadMin: 0
14865
14870
  }
14866
14871
  };
14867
14872
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.2.90",
3
+ "version": "1.2.92",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",