@beam3_dev/api_module 0.0.322 → 0.0.323

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 Fe(e, t, n) {
146
+ function Re(e, t, n) {
147
147
  $(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
148
148
  s.draggable(e, {
149
149
  data: t,
@@ -151,7 +151,7 @@ function Fe(e, t, n) {
151
151
  });
152
152
  });
153
153
  }
154
- function Re(e, t = void 0) {
154
+ function Fe(e, t = void 0) {
155
155
  $(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
156
156
  let s;
157
157
  s === void 0 && (s = n.createProxy({
@@ -427,7 +427,7 @@ function Ke(e, t, n) {
427
427
  onFailure(u, f) {
428
428
  const l = {
429
429
  sendOptions: p,
430
- error: new Error(`Erreur sur la fonction ${l.fonction}`, {
430
+ error: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
431
431
  cause: u
432
432
  }),
433
433
  msg: f,
@@ -448,13 +448,13 @@ function Ke(e, t, n) {
448
448
  n && n(f);
449
449
  }
450
450
  }
451
- function Ee(e, t) {
451
+ function Be(e, t) {
452
452
  const { space: n } = e, i = `${n}/3drdfpersist/resources/v1/usersgroup/${t}`;
453
453
  m(i, {
454
454
  method: "DELETE"
455
455
  });
456
456
  }
457
- function Be(e, t, n, s = void 0, i = void 0) {
457
+ function Ee(e, t, n, s = void 0, i = void 0) {
458
458
  const { space: r, tenant: o } = e, a = {
459
459
  URITI: "/3drdfpersist/resources/v1/template-instances",
460
460
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
@@ -851,10 +851,10 @@ async function ze(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0)
851
851
  n,
852
852
  t,
853
853
  (_) => {
854
- const R = new DOMParser().parseFromString(
854
+ const F = new DOMParser().parseFromString(
855
855
  _,
856
856
  "text/html"
857
- ).body.firstChild.querySelector("input").getAttributeNode("value").value, D = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(a)}/contents?receipt=${encodeURIComponent(R)}`;
857
+ ).body.firstChild.querySelector("input").getAttributeNode("value").value, D = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(a)}/contents?receipt=${encodeURIComponent(F)}`;
858
858
  let W = /(?:\.([^.]+))?$/.exec(t)[1];
859
859
  const v = JSON.stringify({
860
860
  actions: [],
@@ -1065,7 +1065,7 @@ function re(e, t, n, s = void 0, i = void 0, r = void 0) {
1065
1065
  }
1066
1066
  });
1067
1067
  }
1068
- function F(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
1068
+ function R(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
1069
1069
  const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
1070
1070
  m(a, {
1071
1071
  method: "GET",
@@ -1114,7 +1114,7 @@ function F(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1
1114
1114
  }
1115
1115
  });
1116
1116
  }
1117
- async function E(e, t = void 0, n = void 0) {
1117
+ async function B(e, t = void 0, n = void 0) {
1118
1118
  return (!e.objID || e.objID === "") && (console.warn(
1119
1119
  "_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
1120
1120
  ), n && n(
@@ -1300,7 +1300,7 @@ function tt(e, t, n = void 0, s = void 0) {
1300
1300
  return new Promise((i) => {
1301
1301
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1302
1302
  const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1303
- F(
1303
+ R(
1304
1304
  e.space,
1305
1305
  "ESPACE COMMUN",
1306
1306
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1341,7 +1341,7 @@ function nt(e, t, n = void 0, s = void 0) {
1341
1341
  return new Promise((i) => {
1342
1342
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1343
1343
  const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1344
- F(
1344
+ R(
1345
1345
  e.space,
1346
1346
  "ESPACE COMMUN",
1347
1347
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1388,7 +1388,7 @@ function st(e, t, n, s = void 0, i = void 0) {
1388
1388
  return new Promise((r) => {
1389
1389
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1390
1390
  const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1391
- F(
1391
+ R(
1392
1392
  e.space,
1393
1393
  "ESPACE COMMUN",
1394
1394
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1613,7 +1613,7 @@ function ut(e, t, n, s = void 0, i = void 0) {
1613
1613
  }
1614
1614
  );
1615
1615
  }
1616
- let B, q;
1616
+ let E, q;
1617
1617
  const A = [];
1618
1618
  async function pt(e, t = void 0, n = void 0) {
1619
1619
  e.objID && e.objID !== "" ? N(
@@ -1635,7 +1635,7 @@ async function pt(e, t = void 0, n = void 0) {
1635
1635
  );
1636
1636
  }
1637
1637
  async function lt(e, t = void 0, n = void 0) {
1638
- console.log("getDatasByTenant (getDocuments)", e), await E(
1638
+ console.log("getDatasByTenant (getDocuments)", e), await B(
1639
1639
  e,
1640
1640
  (s) => {
1641
1641
  const i = {};
@@ -1653,11 +1653,11 @@ function ft(e, t = void 0, n = void 0) {
1653
1653
  return;
1654
1654
  }
1655
1655
  e.objIds.forEach((i, r) => {
1656
- E(
1656
+ B(
1657
1657
  e,
1658
1658
  i.objID,
1659
1659
  (o) => {
1660
- s.push({ [i.name]: o }), i.name === "dbProjets" && (B = o.affaires.map((a) => a.objectID), pe(e, q)), r === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
1660
+ s.push({ [i.name]: o }), i.name === "dbProjets" && (E = o.affaires.map((a) => a.objectID), pe(e, q)), r === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
1661
1661
  }
1662
1662
  );
1663
1663
  });
@@ -1665,7 +1665,7 @@ function ft(e, t = void 0, n = void 0) {
1665
1665
  function pe(e, t, n = void 0, s = void 0) {
1666
1666
  ce(
1667
1667
  e,
1668
- B,
1668
+ E,
1669
1669
  (i) => {
1670
1670
  const r = [...t];
1671
1671
  r.find((o) => o.objectID === i.objectId).data = i.data, q = r, A.push(i.data), n && n(A);
@@ -2418,7 +2418,7 @@ function xt(e, t, n = void 0, s = void 0) {
2418
2418
  d.push(_.response.result);
2419
2419
  else {
2420
2420
  const T = _.response.result.find(
2421
- (R) => R.title.includes(c)
2421
+ (F) => F.title.includes(c)
2422
2422
  );
2423
2423
  if (T) {
2424
2424
  n(T);
@@ -2579,7 +2579,7 @@ function Nt(e, t = void 0, n = void 0) {
2579
2579
  }
2580
2580
  });
2581
2581
  }
2582
- function Ft(e, t, n = void 0, s = void 0) {
2582
+ function Rt(e, t, n = void 0, s = void 0) {
2583
2583
  const i = e.space + "/api/user/find/login/" + t;
2584
2584
  C(
2585
2585
  e,
@@ -2599,7 +2599,7 @@ function Ft(e, t, n = void 0, s = void 0) {
2599
2599
  s
2600
2600
  );
2601
2601
  }
2602
- function Rt(e, t = void 0, n = void 0) {
2602
+ function Ft(e, t = void 0, n = void 0) {
2603
2603
  const {
2604
2604
  _3DSwym: s,
2605
2605
  _3DSwym_token: i,
@@ -2794,7 +2794,7 @@ async function Kt(e, t, n, s, i = void 0, r = void 0) {
2794
2794
  });
2795
2795
  }
2796
2796
  }
2797
- async function Et(e, t, n, s = void 0, i = void 0) {
2797
+ async function Bt(e, t, n, s = void 0, i = void 0) {
2798
2798
  if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
2799
2799
  const r = e.tenant.toLowerCase();
2800
2800
  fetch(
@@ -2809,7 +2809,7 @@ async function Et(e, t, n, s = void 0, i = void 0) {
2809
2809
  });
2810
2810
  }
2811
2811
  }
2812
- async function Bt(e, t, n, s, i, r = void 0, o = void 0) {
2812
+ async function Et(e, t, n, s, i, r = void 0, o = void 0) {
2813
2813
  if (e.tenant) {
2814
2814
  const a = e.tenant.toLowerCase();
2815
2815
  fetch(
@@ -2866,7 +2866,7 @@ function Vt(e, t = void 0, n = void 0) {
2866
2866
  const o = Z();
2867
2867
  console.log("platformeInfo", o);
2868
2868
  }
2869
- F(
2869
+ R(
2870
2870
  e,
2871
2871
  "Common space",
2872
2872
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -2948,7 +2948,7 @@ export {
2948
2948
  at as _3DSpace_bookmark_addSubsciptions,
2949
2949
  ot as _3DSpace_bookmark_newWorkspace,
2950
2950
  b as _3DSpace_csrf,
2951
- E as _3DSpace_download_doc,
2951
+ B as _3DSpace_download_doc,
2952
2952
  ce as _3DSpace_download_multidoc,
2953
2953
  G as _3DSpace_file_update,
2954
2954
  oe as _3DSpace_file_update_csr,
@@ -2957,7 +2957,7 @@ export {
2957
2957
  J as _3DSpace_get_docInfo,
2958
2958
  de as _3DSpace_get_downloadTicket_multidoc,
2959
2959
  We as _3DSpace_get_multiDocInfo,
2960
- F as _3DSpace_get_securityContexts,
2960
+ R as _3DSpace_get_securityContexts,
2961
2961
  k as _3DSpace_get_ticket,
2962
2962
  st as _3DSpace_lifecycle_changeRevision,
2963
2963
  et as _3DSpace_lifecycle_changeState,
@@ -2967,7 +2967,7 @@ export {
2967
2967
  it as _3DSpace_lifecycle_getRevisions,
2968
2968
  Ye as _3DSpace_put_docInfo,
2969
2969
  It as _3DSwym_ForwardIdea,
2970
- Rt as _3DSwym_addComment,
2970
+ Ft as _3DSwym_addComment,
2971
2971
  Ct as _3DSwym_buildDirectMessage,
2972
2972
  Ot as _3DSwym_deleteIdea,
2973
2973
  Ut as _3DSwym_editIdea,
@@ -2981,7 +2981,7 @@ export {
2981
2981
  $t as _3DSwym_getOneIdea,
2982
2982
  C as _3DSwym_get_Token,
2983
2983
  Nt as _3DSwym_get_currentUser,
2984
- Ft as _3DSwym_get_findUser,
2984
+ Rt as _3DSwym_get_findUser,
2985
2985
  Tt as _3DSwym_postIdea,
2986
2986
  bt as _3DSwym_postIdeaTemplate,
2987
2987
  P as _3DSwym_sendMessageData,
@@ -2989,9 +2989,9 @@ export {
2989
2989
  Pe as _AppMngt_get_users,
2990
2990
  Lt as _Iterop_AddOrRemoveRows,
2991
2991
  kt as _Iterop_Auth_CAS,
2992
- Et as _Iterop_GetOneDependencyTable,
2992
+ Bt as _Iterop_GetOneDependencyTable,
2993
2993
  Xt as _Iterop_GetOneList,
2994
- Bt as _Iterop_PatchDependencyTable,
2994
+ Et as _Iterop_PatchDependencyTable,
2995
2995
  qt as _Iterop_PutDependencyTable,
2996
2996
  Mt as _Iterop_businessTableSearchInRows,
2997
2997
  Gt as _Iterop_createBusinessTable,
@@ -3008,16 +3008,16 @@ export {
3008
3008
  ve as _getServiceUrl_3DPassport,
3009
3009
  jt as _getServiceUrl_Iterop,
3010
3010
  m as _httpCallAuthenticated,
3011
- Fe as _setDraggable,
3011
+ Re as _setDraggable,
3012
3012
  je as _setDroppable,
3013
- Re as _setupTagger,
3013
+ Fe as _setupTagger,
3014
3014
  mt as addTagToDoc,
3015
3015
  H as chunkArray,
3016
3016
  Ae as compass_getListAdditionalApps,
3017
3017
  z as couleurs,
3018
3018
  Me as createUserGroups,
3019
3019
  pe as dataMixing,
3020
- Ee as deleteUserGroups,
3020
+ Be as deleteUserGroups,
3021
3021
  xe as findAdresse,
3022
3022
  rt as getAllContextSecurity,
3023
3023
  te as getCSRFToken,
@@ -3033,7 +3033,7 @@ export {
3033
3033
  Ge as getUserGroupsList,
3034
3034
  ee as getUsersGroupRules,
3035
3035
  pt as get_3DSpace_csrf,
3036
- Be as patchUserGroups,
3036
+ Ee as patchUserGroups,
3037
3037
  qe as patchUserGroupsControl,
3038
3038
  ut as pushDataIn3DSpace,
3039
3039
  Xe as readUserGroupControl,