@beam3_dev/api_module 0.0.289 → 0.0.290

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
@@ -143,7 +143,7 @@ function m(e, t) {
143
143
  n.authenticatedRequest(e, t);
144
144
  });
145
145
  }
146
- function Re(e, t, n) {
146
+ function Ue(e, t, n) {
147
147
  $(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
148
148
  s.draggable(e, {
149
149
  data: t,
@@ -151,7 +151,7 @@ function Re(e, t, n) {
151
151
  });
152
152
  });
153
153
  }
154
- function Ue(e, t = void 0) {
154
+ function Re(e, t = void 0) {
155
155
  $(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
156
156
  let s;
157
157
  s === void 0 && (s = n.createProxy({
@@ -773,7 +773,7 @@ async function Ye(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0)
773
773
  p && m(d, {
774
774
  method: "GET",
775
775
  headers: {
776
- ENO_CSRF_TOKEN: e.token,
776
+ "x-ds-csrftoken": p,
777
777
  Accept: "application/json"
778
778
  },
779
779
  onComplete(l, h, g) {
@@ -785,11 +785,11 @@ async function Ye(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0)
785
785
  n,
786
786
  t,
787
787
  (w) => {
788
- const R = new DOMParser().parseFromString(
788
+ const U = new DOMParser().parseFromString(
789
789
  w,
790
790
  "text/html"
791
791
  ).body.firstChild.querySelector("input").getAttributeNode("value").value, E = `https://${a.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${o}/contents?receipt=${encodeURIComponent(
792
- R
792
+ U
793
793
  )}`;
794
794
  let X = /(?:\.([^.]+))?$/.exec(t)[1];
795
795
  const W = JSON.stringify({
@@ -817,13 +817,13 @@ async function Ye(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0)
817
817
  },
818
818
  data: W,
819
819
  type: "json",
820
- onComplete(U, Ce, Te) {
821
- s && s(U);
820
+ onComplete(R, Ce, Te) {
821
+ s && s(R);
822
822
  },
823
- onFailure(U) {
823
+ onFailure(R) {
824
824
  console.warn(
825
825
  "_3DSpace_Upload_Doc | pushFileInFcs | onFailure"
826
- ), i && i(U);
826
+ ), i && i(R);
827
827
  }
828
828
  });
829
829
  },
@@ -2347,7 +2347,7 @@ function Nt(e, t, n = void 0, s = void 0) {
2347
2347
  d.push(w.response.result);
2348
2348
  else {
2349
2349
  const T = w.response.result.find(
2350
- (R) => R.title.includes(c)
2350
+ (U) => U.title.includes(c)
2351
2351
  );
2352
2352
  if (T) {
2353
2353
  n(T);
@@ -2528,7 +2528,7 @@ function It(e, t, n = void 0, s = void 0) {
2528
2528
  s
2529
2529
  );
2530
2530
  }
2531
- function Rt(e, t = void 0, n = void 0) {
2531
+ function Ut(e, t = void 0, n = void 0) {
2532
2532
  const {
2533
2533
  _3DSwym: s,
2534
2534
  _3DSwym_token: i,
@@ -2555,7 +2555,7 @@ function Rt(e, t = void 0, n = void 0) {
2555
2555
  };
2556
2556
  m(o, d);
2557
2557
  }
2558
- function Ut(e, t = void 0, n = void 0) {
2558
+ function Rt(e, t = void 0, n = void 0) {
2559
2559
  e.tenant && P(e, (s) => {
2560
2560
  const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
2561
2561
  return t && t(i), i;
@@ -2894,7 +2894,7 @@ export {
2894
2894
  st as _3DSpace_lifecycle_getRevisions,
2895
2895
  Ve as _3DSpace_put_docInfo,
2896
2896
  xt as _3DSwym_ForwardIdea,
2897
- Rt as _3DSwym_addComment,
2897
+ Ut as _3DSwym_addComment,
2898
2898
  wt as _3DSwym_buildDirectMessage,
2899
2899
  bt as _3DSwym_deleteIdea,
2900
2900
  $t as _3DSwym_editIdea,
@@ -2933,11 +2933,11 @@ export {
2933
2933
  ke as _getPlatformServices,
2934
2934
  P as _getServiceUrl,
2935
2935
  De as _getServiceUrl_3DPassport,
2936
- Ut as _getServiceUrl_Iterop,
2936
+ Rt as _getServiceUrl_Iterop,
2937
2937
  m as _httpCallAuthenticated,
2938
- Re as _setDraggable,
2938
+ Ue as _setDraggable,
2939
2939
  je as _setDroppable,
2940
- Ue as _setupTagger,
2940
+ Re as _setupTagger,
2941
2941
  ft as addTagToDoc,
2942
2942
  z as chunkArray,
2943
2943
  Ae as compass_getListAdditionalApps,