aquasis-fe-components 1.2.9 → 1.2.10

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.
@@ -72853,17 +72853,17 @@ function CI(e, t, n) {
72853
72853
  }
72854
72854
  var Yt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(Yt || {}), If = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e))(If || {});
72855
72855
  const E$e = async () => {
72856
- const t = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: n } = await da.get(`${t}/getApps`);
72857
- return n;
72856
+ const e = window.globalAuthUrl, { data: t } = await da.get(`${e}/getApps`);
72857
+ return t;
72858
72858
  }, M$e = async (e) => {
72859
- const n = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: r } = await da.post(`${n}/ListReleases`, e);
72860
- return r;
72859
+ const t = window.globalAuthUrl, { data: n } = await da.post(`${t}/ListReleases`, e);
72860
+ return n;
72861
72861
  }, w$e = async (e) => {
72862
- const n = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: r } = await da.post(`${n}/MaintainReleases`, e);
72863
- return r;
72862
+ const t = window.globalAuthUrl, { data: n } = await da.post(`${t}/MaintainReleases`, e);
72863
+ return n;
72864
72864
  }, z$e = async (e, t) => {
72865
- const r = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: a } = await da.post(`${r}/ReadNotification`, { idRelease: e, userId: t });
72866
- return a;
72865
+ const n = window.globalAuthUrl, { data: r } = await da.post(`${n}/ReadNotification`, { idRelease: e, userId: t });
72866
+ return r;
72867
72867
  }, yI = () => CI([If.GetApps], async () => await E$e()), N$e = (e) => {
72868
72868
  const { idApp: t, userId: n, lastDeployed: r } = e;
72869
72869
  return CI(