@beam3_dev/api_module 0.0.241 → 0.0.243

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
@@ -284,11 +284,11 @@ function Fe(e, t, n = void 0, s = void 0) {
284
284
  }
285
285
  });
286
286
  }
287
- const j = {
287
+ const A = {
288
288
  "Content-Type": "application/json",
289
289
  Accept: "application/json,text/javascript,*/*"
290
290
  };
291
- function Ae(e, t, n = void 0, s = void 0) {
291
+ function je(e, t, n = void 0, s = void 0) {
292
292
  const { space: i, currentUser: r } = e, a = `${i}${{
293
293
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
294
294
  }.URIUGr}`, c = {
@@ -305,7 +305,7 @@ function Ae(e, t, n = void 0, s = void 0) {
305
305
  };
306
306
  m(a, {
307
307
  method: "POST",
308
- headers: j,
308
+ headers: A,
309
309
  data: JSON.stringify(c),
310
310
  onComplete(d) {
311
311
  n && n(JSON.parse(d));
@@ -317,7 +317,7 @@ function Ae(e, t, n = void 0, s = void 0) {
317
317
  }
318
318
  });
319
319
  }
320
- function je(e, t, n = void 0, s = void 0) {
320
+ function Ae(e, t, n = void 0, s = void 0) {
321
321
  const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
322
322
  m(d, {
323
323
  opts: {
@@ -400,7 +400,7 @@ function xe(e, t, n, s = void 0, i = void 0) {
400
400
  OPTsTenant: `tenant=dstenant:${o}`
401
401
  }, c = n, d = `${r}${a.URIUGr}/${t}`, u = JSON.stringify(c);
402
402
  m(d, {
403
- headers: j,
403
+ headers: A,
404
404
  method: "PATCH",
405
405
  data: u,
406
406
  type: "json",
@@ -416,7 +416,7 @@ function Pe(e, t, n, s = void 0, i = void 0) {
416
416
  const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
417
417
  m(a, {
418
418
  method: "PATCH",
419
- headers: j,
419
+ headers: A,
420
420
  data: JSON.stringify(n),
421
421
  type: "json",
422
422
  onComplete(d) {
@@ -847,7 +847,7 @@ function se(e, t, n, s = void 0, i = void 0, r = void 0) {
847
847
  }
848
848
  });
849
849
  }
850
- function A(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
850
+ function j(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
851
851
  const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
852
852
  m(a, {
853
853
  method: "GET",
@@ -1082,7 +1082,7 @@ function Ee(e, t, n = void 0, s = void 0) {
1082
1082
  return new Promise((i) => {
1083
1083
  if (e.token === "" && O(e), t !== void 0 && t !== "" && t !== null) {
1084
1084
  const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1085
- A(
1085
+ j(
1086
1086
  e.space,
1087
1087
  "ESPACE COMMUN",
1088
1088
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1123,7 +1123,7 @@ function Be(e, t, n = void 0, s = void 0) {
1123
1123
  return new Promise((i) => {
1124
1124
  if (e.token === "" && O(e), t !== void 0 && t !== "" && t !== null) {
1125
1125
  const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1126
- A(
1126
+ j(
1127
1127
  e.space,
1128
1128
  "ESPACE COMMUN",
1129
1129
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1170,7 +1170,7 @@ function We(e, t, n, s = void 0, i = void 0) {
1170
1170
  return new Promise((r) => {
1171
1171
  if (e.token === "" && O(e), t !== void 0 && t !== "" && t !== null) {
1172
1172
  const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1173
- A(
1173
+ j(
1174
1174
  e.space,
1175
1175
  "ESPACE COMMUN",
1176
1176
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -2343,7 +2343,7 @@ function St(e, t = void 0, n = void 0) {
2343
2343
  n && n(u);
2344
2344
  }
2345
2345
  };
2346
- _httpCallAuthenticated(a, d);
2346
+ m(a, d);
2347
2347
  }
2348
2348
  function _t(e, t = void 0, n = void 0) {
2349
2349
  e.tenant && b(e, (s) => {
@@ -2408,7 +2408,7 @@ async function bt(e, t, n = void 0, s = void 0) {
2408
2408
  async function Ot(e, t, n, s = void 0, i = void 0) {
2409
2409
  if (e.tenant) {
2410
2410
  const r = e.tenant.toLowerCase();
2411
- fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/${n}?t=${t}`, {
2411
+ fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/one/${n}?t=${t}`, {
2412
2412
  method: "POST"
2413
2413
  }).then((o) => o.json()).then((o) => {
2414
2414
  s && s(o);
@@ -2494,7 +2494,7 @@ async function Ft(e, t, n, s, i = void 0, r = void 0) {
2494
2494
  });
2495
2495
  });
2496
2496
  }
2497
- async function At(e, t, n, s = void 0, i = void 0) {
2497
+ async function jt(e, t, n, s = void 0, i = void 0) {
2498
2498
  e.tenant && b(e, (r) => {
2499
2499
  r.services.find((a) => a.id === "businessprocess")?.url + "";
2500
2500
  const o = e.tenant.toLowerCase();
@@ -2510,7 +2510,7 @@ async function At(e, t, n, s = void 0, i = void 0) {
2510
2510
  });
2511
2511
  });
2512
2512
  }
2513
- async function jt(e, t, n, s, i, r = void 0, o = void 0) {
2513
+ async function At(e, t, n, s, i, r = void 0, o = void 0) {
2514
2514
  e.tenant && b(e, (a) => {
2515
2515
  a.services.find((d) => d.id === "businessprocess")?.url + "";
2516
2516
  const c = e.tenant.toLowerCase();
@@ -2569,7 +2569,7 @@ function Pt(e, t = void 0, n = void 0) {
2569
2569
  const o = Y();
2570
2570
  console.log("platformeInfo", o);
2571
2571
  }
2572
- A(
2572
+ j(
2573
2573
  e,
2574
2574
  "Common space",
2575
2575
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -2659,7 +2659,7 @@ export {
2659
2659
  R as _3DSpace_get_docInfo,
2660
2660
  ae as _3DSpace_get_downloadTicket_multidoc,
2661
2661
  De as _3DSpace_get_multiDocInfo,
2662
- A as _3DSpace_get_securityContexts,
2662
+ j as _3DSpace_get_securityContexts,
2663
2663
  k as _3DSpace_get_ticket,
2664
2664
  We as _3DSpace_lifecycle_changeRevision,
2665
2665
  Ke as _3DSpace_lifecycle_changeState,
@@ -2689,10 +2689,10 @@ export {
2689
2689
  ve as _AppMngt_get_users,
2690
2690
  Nt as _Iterop_AddOrRemoveRows,
2691
2691
  wt as _Iterop_Auth_CAS,
2692
- At as _Iterop_GetOneDependencyTable,
2692
+ jt as _Iterop_GetOneDependencyTable,
2693
2693
  Ut as _Iterop_GetOneList,
2694
2694
  Tt as _Iterop_ListUsers,
2695
- jt as _Iterop_PatchDependencyTable,
2695
+ At as _Iterop_PatchDependencyTable,
2696
2696
  kt as _Iterop_PutDependencyTable,
2697
2697
  It as _Iterop_businessTableSearchInRows,
2698
2698
  bt as _Iterop_getAllBusinessTables,
@@ -2714,14 +2714,14 @@ export {
2714
2714
  X as chunkArray,
2715
2715
  Ie as compass_getListAdditionalApps,
2716
2716
  W as couleurs,
2717
- Ae as createUserGroups,
2717
+ je as createUserGroups,
2718
2718
  oe as dataMixing,
2719
2719
  Ue as deleteUserGroups,
2720
2720
  _e as findAdresse,
2721
2721
  Ye as getAllContextSecurity,
2722
2722
  H as getCSRFToken,
2723
2723
  Se as getCommunes,
2724
- je as getComplementUG,
2724
+ Ae as getComplementUG,
2725
2725
  qe as getDataFrom3DSpace,
2726
2726
  we as getDataFromGouvFr,
2727
2727
  Ze as getDatasByTenant,