@beam3_dev/api_module 0.0.337 → 0.0.338

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/wb3Api.js CHANGED
@@ -227,7 +227,7 @@ function J(e, n = void 0, t = void 0) {
227
227
  });
228
228
  }
229
229
  }
230
- function Ae(e, n = void 0, t = void 0) {
230
+ function De(e, n = void 0, t = void 0) {
231
231
  if (e.tenant) {
232
232
  const i = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
233
233
  m(i, {
@@ -244,7 +244,7 @@ function Ae(e, n = void 0, t = void 0) {
244
244
  });
245
245
  }
246
246
  }
247
- function De(e, n = void 0, t = void 0) {
247
+ function Ae(e, n = void 0, t = void 0) {
248
248
  if (e.tenant) {
249
249
  const i = `https://eu1-registry.3dexperience.3ds.com/api/v1/platform/instance?id=${e.tenant.toLowerCase()}`;
250
250
  m(i, {
@@ -926,7 +926,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
926
926
  "text/html"
927
927
  ).body.firstChild.querySelector("input").getAttributeNode("value").value, k = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(a)}/contents?receipt=${encodeURIComponent(j)}`;
928
928
  let W = /(?:\.([^.]+))?$/.exec(n)[1];
929
- const A = JSON.stringify({
929
+ const D = JSON.stringify({
930
930
  actions: [],
931
931
  businessobj: {
932
932
  description: e?.description ? e?.description : "",
@@ -949,7 +949,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
949
949
  "Content-Type": "application/json;charset=UTF-8",
950
950
  "X-DS-CSRFTOKEN": p
951
951
  },
952
- data: A,
952
+ data: D,
953
953
  type: "json",
954
954
  onComplete(I, Ce, Oe) {
955
955
  i && i(I);
@@ -957,7 +957,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
957
957
  onFailure(I) {
958
958
  console.warn(
959
959
  "_3DSpace_Upload_Doc | pushFileInFcs | onFailure",
960
- { url: k, bodyRequest: A, err: I }
960
+ { url: k, bodyRequest: D, err: I }
961
961
  ), s && s(I);
962
962
  }
963
963
  });
@@ -1684,7 +1684,7 @@ function lt(e, n, t, i = void 0, s = void 0) {
1684
1684
  );
1685
1685
  }
1686
1686
  let K, q;
1687
- const D = [];
1687
+ const A = [];
1688
1688
  async function ft(e, n = void 0, t = void 0) {
1689
1689
  e.objID && e.objID !== "" ? R(
1690
1690
  e,
@@ -1738,7 +1738,7 @@ function pe(e, n, t = void 0, i = void 0) {
1738
1738
  K,
1739
1739
  (s) => {
1740
1740
  const r = [...n];
1741
- r.find((o) => o.objectID === s.objectId).data = s.data, q = r, D.push(s.data), t && t(D);
1741
+ r.find((o) => o.objectID === s.objectId).data = s.data, q = r, A.push(s.data), t && t(A);
1742
1742
  },
1743
1743
  (s) => {
1744
1744
  i && (i(s), console.log(s));
@@ -2702,7 +2702,7 @@ function kt(e, n = void 0, t = void 0) {
2702
2702
  return n && n(s), s;
2703
2703
  });
2704
2704
  }
2705
- function At(e, n = void 0, t = void 0) {
2705
+ function Dt(e, n = void 0, t = void 0) {
2706
2706
  e.tenant ? J(e, (i) => {
2707
2707
  const s = i.services.find(
2708
2708
  (a) => a.id === "3dpassport"
@@ -2722,14 +2722,11 @@ function At(e, n = void 0, t = void 0) {
2722
2722
  });
2723
2723
  }) : t && t("No tenant");
2724
2724
  }
2725
- function Dt(e, n = void 0, t = void 0) {
2725
+ function At(e, n = void 0, t = void 0) {
2726
2726
  if (e.tenant) {
2727
2727
  const i = e.tenant.toLowerCase();
2728
2728
  fetch(`https://api.uixhome.fr/${i}/iterop/jwtuser`, {
2729
- method: "POST",
2730
- headers: {
2731
- "Access-Control-Allow-Origin": "*"
2732
- }
2729
+ method: "POST"
2733
2730
  }).then((s) => s.json()).then((s) => {
2734
2731
  n && n(s);
2735
2732
  }).catch((s) => {
@@ -3059,7 +3056,7 @@ export {
3059
3056
  Je as _AppMngt_get_info_user,
3060
3057
  Le as _AppMngt_get_users,
3061
3058
  Mt as _Iterop_AddOrRemoveRows,
3062
- At as _Iterop_Auth_CAS,
3059
+ Dt as _Iterop_Auth_CAS,
3063
3060
  qt as _Iterop_GetOneDependencyTable,
3064
3061
  Vt as _Iterop_GetOneList,
3065
3062
  Xt as _Iterop_PatchDependencyTable,
@@ -3069,15 +3066,15 @@ export {
3069
3066
  Pt as _Iterop_getAllBusinessTables,
3070
3067
  Lt as _Iterop_getOneBusinessTable,
3071
3068
  Jt as _Iterop_getOneBusinessTableRows,
3072
- Dt as _Iterop_jwtUser,
3069
+ At as _Iterop_jwtUser,
3073
3070
  Kt as _Iterop_runProcess,
3074
3071
  Bt as _Iterop_updateBusinessTable,
3075
- De as _Registry_getServicesUrl,
3072
+ Ae as _Registry_getServicesUrl,
3076
3073
  ke as _getMe,
3077
3074
  Z as _getPlateformInfos,
3078
3075
  ve as _getPlatformServices,
3079
3076
  J as _getServiceUrl,
3080
- Ae as _getServiceUrl_3DPassport,
3077
+ De as _getServiceUrl_3DPassport,
3081
3078
  kt as _getServiceUrl_Iterop,
3082
3079
  m as _httpCallAuthenticated,
3083
3080
  Re as _setDraggable,