@beam3_dev/api_module 0.0.256 → 0.0.257

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
@@ -317,7 +317,7 @@ function je(e, t, n = void 0, s = void 0) {
317
317
  }
318
318
  });
319
319
  }
320
- function Ae(e, t, n = void 0, s = void 0) {
320
+ function ve(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: {
@@ -352,7 +352,7 @@ function q(e, t = void 0, n = void 0) {
352
352
  }
353
353
  });
354
354
  }
355
- function ve(e, t = void 0, n = void 0) {
355
+ function Ae(e, t = void 0, n = void 0) {
356
356
  const { space: s, currentUser: i } = e, a = `${s}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
357
357
  "Content-Type": "application/json",
358
358
  Accept: "application/json,text/javascript,*/*"
@@ -582,7 +582,7 @@ function b(e, t = void 0, n = void 0) {
582
582
  } else
583
583
  n && n("ERROR : url du 3DSpace non défini.");
584
584
  }
585
- function A(e, t = void 0, n = void 0) {
585
+ function v(e, t = void 0, n = void 0) {
586
586
  let s = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
587
587
  F(
588
588
  e,
@@ -718,7 +718,7 @@ async function Me(e, t, n = void 0, s = void 0) {
718
718
  }
719
719
  ]
720
720
  });
721
- i && httpCallAuthenticated(r, {
721
+ i && m(r, {
722
722
  method: "PUT",
723
723
  headers: {
724
724
  ENO_CSRF_TOKEN: e.token
@@ -943,7 +943,7 @@ async function L(e, t = void 0, n = void 0) {
943
943
  console.log("☠️ error => ", s);
944
944
  }
945
945
  ), new Promise((s, i) => {
946
- A(
946
+ v(
947
947
  e,
948
948
  (r) => {
949
949
  e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
@@ -1323,7 +1323,7 @@ function qe(e, t = void 0, n = void 0) {
1323
1323
  });
1324
1324
  }
1325
1325
  function He(e, t, n, s) {
1326
- A(
1326
+ v(
1327
1327
  e.space,
1328
1328
  t,
1329
1329
  (i) => {
@@ -1341,7 +1341,7 @@ function He(e, t, n, s) {
1341
1341
  }
1342
1342
  async function ze(e, t, n = void 0, s = void 0) {
1343
1343
  return new Promise((i) => {
1344
- A(e, t, (r) => {
1344
+ v(e, t, (r) => {
1345
1345
  m(r, {
1346
1346
  onComplete: (o, a, c) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, c), i),
1347
1347
  onFailure: (o, a, c) => {
@@ -1375,7 +1375,7 @@ function Qe(e, t, n, s = void 0, i = void 0) {
1375
1375
  );
1376
1376
  }
1377
1377
  let M, J;
1378
- const v = [];
1378
+ const A = [];
1379
1379
  async function Ze(e, t = void 0, n = void 0) {
1380
1380
  e.objID && e.objID !== "" ? F(
1381
1381
  e,
@@ -1429,7 +1429,7 @@ function oe(e, t, n = void 0, s = void 0) {
1429
1429
  M,
1430
1430
  (i) => {
1431
1431
  const r = [...t];
1432
- r.find((o) => o.objectID === i.objectId).data = i.data, J = r, v.push(i.data), n && n(v);
1432
+ r.find((o) => o.objectID === i.objectId).data = i.data, J = r, A.push(i.data), n && n(A);
1433
1433
  },
1434
1434
  (i) => {
1435
1435
  s && (s(i), console.log(i));
@@ -2540,7 +2540,7 @@ async function jt(e, t, n, s = void 0, i = void 0) {
2540
2540
  });
2541
2541
  }
2542
2542
  }
2543
- async function At(e, t, n, s, i, r = void 0, o = void 0) {
2543
+ async function vt(e, t, n, s, i, r = void 0, o = void 0) {
2544
2544
  if (e.tenant) {
2545
2545
  const a = e.tenant.toLowerCase();
2546
2546
  fetch(
@@ -2555,7 +2555,7 @@ async function At(e, t, n, s, i, r = void 0, o = void 0) {
2555
2555
  });
2556
2556
  }
2557
2557
  }
2558
- async function vt(e, t, n, s, i = void 0, r = void 0) {
2558
+ async function At(e, t, n, s, i = void 0, r = void 0) {
2559
2559
  if (e.tenant) {
2560
2560
  const o = e.tenant.toLowerCase();
2561
2561
  fetch(
@@ -2688,7 +2688,7 @@ export {
2688
2688
  ae as _3DSpace_get_downloadTicket_multidoc,
2689
2689
  De as _3DSpace_get_multiDocInfo,
2690
2690
  k as _3DSpace_get_securityContexts,
2691
- A as _3DSpace_get_ticket,
2691
+ v as _3DSpace_get_ticket,
2692
2692
  Xe as _3DSpace_lifecycle_changeRevision,
2693
2693
  Ee as _3DSpace_lifecycle_changeState,
2694
2694
  Be as _3DSpace_lifecycle_getGraph,
@@ -2720,8 +2720,8 @@ export {
2720
2720
  Ct as _Iterop_Auth_CAS,
2721
2721
  jt as _Iterop_GetOneDependencyTable,
2722
2722
  Ut as _Iterop_GetOneList,
2723
- At as _Iterop_PatchDependencyTable,
2724
- vt as _Iterop_PutDependencyTable,
2723
+ vt as _Iterop_PatchDependencyTable,
2724
+ At as _Iterop_PutDependencyTable,
2725
2725
  It as _Iterop_businessTableSearchInRows,
2726
2726
  bt as _Iterop_getAllBusinessTables,
2727
2727
  Ot as _Iterop_getOneBusinessTable,
@@ -2749,14 +2749,14 @@ export {
2749
2749
  qe as getAllContextSecurity,
2750
2750
  H as getCSRFToken,
2751
2751
  Se as getCommunes,
2752
- Ae as getComplementUG,
2752
+ ve as getComplementUG,
2753
2753
  He as getDataFrom3DSpace,
2754
2754
  we as getDataFromGouvFr,
2755
2755
  et as getDatasByTenant,
2756
2756
  tt as getDatasFrom3DSpace,
2757
2757
  ze as getDownloadDocument,
2758
2758
  it as getInfoDocTags,
2759
- ve as getUserGroupsList,
2759
+ Ae as getUserGroupsList,
2760
2760
  q as getUsersGroupRules,
2761
2761
  Ze as get_3DSpace_csrf,
2762
2762
  xe as patchUserGroups,