@beam3_dev/api_module 0.0.255 → 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
@@ -271,7 +271,7 @@ function Fe(e, t = void 0, n = void 0) {
271
271
  }
272
272
  });
273
273
  }
274
- function je(e, t, n = void 0, s = void 0) {
274
+ function ke(e, t, n = void 0, s = void 0) {
275
275
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
276
276
  m(i, {
277
277
  onComplete(r, o, a) {
@@ -284,11 +284,11 @@ function je(e, t, n = void 0, s = void 0) {
284
284
  }
285
285
  });
286
286
  }
287
- const k = {
287
+ const j = {
288
288
  "Content-Type": "application/json",
289
289
  Accept: "application/json,text/javascript,*/*"
290
290
  };
291
- function ke(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 ke(e, t, n = void 0, s = void 0) {
305
305
  };
306
306
  m(a, {
307
307
  method: "POST",
308
- headers: k,
308
+ headers: j,
309
309
  data: JSON.stringify(c),
310
310
  onComplete(d) {
311
311
  n && n(JSON.parse(d));
@@ -317,7 +317,7 @@ function ke(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,*/*"
@@ -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: k,
403
+ headers: j,
404
404
  method: "PATCH",
405
405
  data: u,
406
406
  type: "json",
@@ -416,7 +416,7 @@ function Re(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: k,
419
+ headers: j,
420
420
  data: JSON.stringify(n),
421
421
  type: "json",
422
422
  onComplete(d) {
@@ -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,
@@ -705,7 +705,35 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
705
705
  }
706
706
  });
707
707
  }
708
- async function Me(e, t, n, s = void 0, i = void 0) {
708
+ async function Me(e, t, n = void 0, s = void 0) {
709
+ e.space, e.token, e.ctx;
710
+ const i = e?.description;
711
+ let r = `${e.space}/resources/v1/modeler/documents/${t}`;
712
+ const o = JSON.stringify({
713
+ data: [
714
+ {
715
+ dataelements: {
716
+ description: i
717
+ }
718
+ }
719
+ ]
720
+ });
721
+ i && m(r, {
722
+ method: "PUT",
723
+ headers: {
724
+ ENO_CSRF_TOKEN: e.token
725
+ },
726
+ data: o,
727
+ type: "json",
728
+ onComplete(a) {
729
+ n && s(a);
730
+ },
731
+ onFailure(a) {
732
+ s && s(a);
733
+ }
734
+ });
735
+ }
736
+ async function Je(e, t, n, s = void 0, i = void 0) {
709
737
  e.space, e.token, e.ctx, P(
710
738
  e,
711
739
  t,
@@ -730,7 +758,7 @@ async function Me(e, t, n, s = void 0, i = void 0) {
730
758
  }
731
759
  );
732
760
  }
733
- async function Je(e, t, n, s, i = void 0, r = void 0) {
761
+ async function Ge(e, t, n, s, i = void 0, r = void 0) {
734
762
  te(
735
763
  e,
736
764
  (o) => {
@@ -850,7 +878,7 @@ function se(e, t, n, s = void 0, i = void 0, r = void 0) {
850
878
  }
851
879
  });
852
880
  }
853
- function j(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
881
+ function k(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
854
882
  const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
855
883
  m(a, {
856
884
  method: "GET",
@@ -915,7 +943,7 @@ async function L(e, t = void 0, n = void 0) {
915
943
  console.log("☠️ error => ", s);
916
944
  }
917
945
  ), new Promise((s, i) => {
918
- A(
946
+ v(
919
947
  e,
920
948
  (r) => {
921
949
  e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
@@ -1018,7 +1046,7 @@ function ae(e, t, n = void 0, s = void 0, i = void 0) {
1018
1046
  }
1019
1047
  });
1020
1048
  }
1021
- function Ge(e, t, n = void 0, s = void 0) {
1049
+ function Ke(e, t, n = void 0, s = void 0) {
1022
1050
  return new Promise((i) => {
1023
1051
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1024
1052
  const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
@@ -1049,7 +1077,7 @@ function Ge(e, t, n = void 0, s = void 0) {
1049
1077
  }
1050
1078
  });
1051
1079
  }
1052
- function Ke(e, t, n, s = void 0, i = void 0) {
1080
+ function Ee(e, t, n, s = void 0, i = void 0) {
1053
1081
  return new Promise((r) => {
1054
1082
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1055
1083
  const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
@@ -1081,11 +1109,11 @@ function Ke(e, t, n, s = void 0, i = void 0) {
1081
1109
  }
1082
1110
  });
1083
1111
  }
1084
- function Ee(e, t, n = void 0, s = void 0) {
1112
+ function Be(e, t, n = void 0, s = void 0) {
1085
1113
  return new Promise((i) => {
1086
1114
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1087
1115
  const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1088
- j(
1116
+ k(
1089
1117
  e.space,
1090
1118
  "ESPACE COMMUN",
1091
1119
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1122,11 +1150,11 @@ function Ee(e, t, n = void 0, s = void 0) {
1122
1150
  }
1123
1151
  });
1124
1152
  }
1125
- function Be(e, t, n = void 0, s = void 0) {
1153
+ function We(e, t, n = void 0, s = void 0) {
1126
1154
  return new Promise((i) => {
1127
1155
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1128
1156
  const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1129
- j(
1157
+ k(
1130
1158
  e.space,
1131
1159
  "ESPACE COMMUN",
1132
1160
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1169,11 +1197,11 @@ function Be(e, t, n = void 0, s = void 0) {
1169
1197
  }
1170
1198
  });
1171
1199
  }
1172
- function We(e, t, n, s = void 0, i = void 0) {
1200
+ function Xe(e, t, n, s = void 0, i = void 0) {
1173
1201
  return new Promise((r) => {
1174
1202
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1175
1203
  const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1176
- j(
1204
+ k(
1177
1205
  e.space,
1178
1206
  "ESPACE COMMUN",
1179
1207
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1216,7 +1244,7 @@ function We(e, t, n, s = void 0, i = void 0) {
1216
1244
  }
1217
1245
  });
1218
1246
  }
1219
- function Xe(e, t, n, s, i = void 0, r = void 0) {
1247
+ function Ve(e, t, n, s, i = void 0, r = void 0) {
1220
1248
  return new Promise((o) => {
1221
1249
  const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
1222
1250
  let c = {
@@ -1249,7 +1277,7 @@ function Xe(e, t, n, s, i = void 0, r = void 0) {
1249
1277
  m(a, u);
1250
1278
  });
1251
1279
  }
1252
- function Ve(e, t, n, s, i = void 0, r = void 0) {
1280
+ function Ye(e, t, n, s, i = void 0, r = void 0) {
1253
1281
  return console.log("credentials", e), new Promise((o) => {
1254
1282
  `${e.space}`, JSON.stringify({
1255
1283
  csrf: {
@@ -1273,7 +1301,7 @@ function Ve(e, t, n, s, i = void 0, r = void 0) {
1273
1301
  });
1274
1302
  }
1275
1303
  //!SECTION
1276
- function Ye(e, t = void 0, n = void 0) {
1304
+ function qe(e, t = void 0, n = void 0) {
1277
1305
  const s = {
1278
1306
  base: `${e.space}`,
1279
1307
  uri: "/resources/bps/cspaces",
@@ -1294,8 +1322,8 @@ function Ye(e, t = void 0, n = void 0) {
1294
1322
  }
1295
1323
  });
1296
1324
  }
1297
- function qe(e, t, n, s) {
1298
- A(
1325
+ function He(e, t, n, s) {
1326
+ v(
1299
1327
  e.space,
1300
1328
  t,
1301
1329
  (i) => {
@@ -1311,9 +1339,9 @@ function qe(e, t, n, s) {
1311
1339
  }
1312
1340
  );
1313
1341
  }
1314
- async function He(e, t, n = void 0, s = void 0) {
1342
+ async function ze(e, t, n = void 0, s = void 0) {
1315
1343
  return new Promise((i) => {
1316
- A(e, t, (r) => {
1344
+ v(e, t, (r) => {
1317
1345
  m(r, {
1318
1346
  onComplete: (o, a, c) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, c), i),
1319
1347
  onFailure: (o, a, c) => {
@@ -1323,7 +1351,7 @@ async function He(e, t, n = void 0, s = void 0) {
1323
1351
  });
1324
1352
  });
1325
1353
  }
1326
- function ze(e, t, n, s = void 0, i = void 0) {
1354
+ function Qe(e, t, n, s = void 0, i = void 0) {
1327
1355
  const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1328
1356
  F(
1329
1357
  e,
@@ -1347,8 +1375,8 @@ function ze(e, t, n, s = void 0, i = void 0) {
1347
1375
  );
1348
1376
  }
1349
1377
  let M, J;
1350
- const v = [];
1351
- async function Qe(e, t = void 0, n = void 0) {
1378
+ const A = [];
1379
+ async function Ze(e, t = void 0, n = void 0) {
1352
1380
  e.objID && e.objID !== "" ? F(
1353
1381
  e,
1354
1382
  (s) => {
@@ -1367,7 +1395,7 @@ async function Qe(e, t = void 0, n = void 0) {
1367
1395
  }
1368
1396
  );
1369
1397
  }
1370
- async function Ze(e, t = void 0, n = void 0) {
1398
+ async function et(e, t = void 0, n = void 0) {
1371
1399
  console.log("getDatasByTenant (getDocuments)", e), await L(
1372
1400
  e,
1373
1401
  (s) => {
@@ -1379,7 +1407,7 @@ async function Ze(e, t = void 0, n = void 0) {
1379
1407
  }
1380
1408
  );
1381
1409
  }
1382
- function et(e, t = void 0, n = void 0) {
1410
+ function tt(e, t = void 0, n = void 0) {
1383
1411
  const s = [];
1384
1412
  if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
1385
1413
  console.warn("la liste est vide ou n'est pas un tableau");
@@ -1401,7 +1429,7 @@ function oe(e, t, n = void 0, s = void 0) {
1401
1429
  M,
1402
1430
  (i) => {
1403
1431
  const r = [...t];
1404
- 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);
1405
1433
  },
1406
1434
  (i) => {
1407
1435
  s && (s(i), console.log(i));
@@ -1428,7 +1456,7 @@ const re = "FA35FB9B177A280065800EA0000F599C", ce = [
1428
1456
  order_by: "desc",
1429
1457
  tag: "testTag"
1430
1458
  };
1431
- function tt(e, t, n = void 0, s = void 0) {
1459
+ function nt(e, t, n = void 0, s = void 0) {
1432
1460
  const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
1433
1461
  uri: "/resources/6w/tags",
1434
1462
  otpCTX: "SecurityContext=preferred",
@@ -1571,7 +1599,7 @@ function ue(e, t, n = void 0, s = void 0) {
1571
1599
  }
1572
1600
  });
1573
1601
  }
1574
- function nt(e, t, n = void 0, s = void 0) {
1602
+ function st(e, t, n = void 0, s = void 0) {
1575
1603
  const { objId: i, pred: r, tag: o } = t, a = {
1576
1604
  uri: "/resources/6w/tags",
1577
1605
  otpCTX: "SecurityContext=preferred",
@@ -1607,7 +1635,7 @@ function nt(e, t, n = void 0, s = void 0) {
1607
1635
  }
1608
1636
  });
1609
1637
  }
1610
- function st(e, t = "", n = void 0, s = void 0) {
1638
+ function it(e, t = "", n = void 0, s = void 0) {
1611
1639
  const { space: i } = e;
1612
1640
  if (t === "")
1613
1641
  return;
@@ -1643,7 +1671,7 @@ async function w(e, t = void 0, n = void 0) {
1643
1671
  }
1644
1672
  });
1645
1673
  }
1646
- function it(e, t = void 0, n = void 0) {
1674
+ function at(e, t = void 0, n = void 0) {
1647
1675
  const s = `${e._3DSwym}/api/exalead/whatsnew`, i = {
1648
1676
  params: {
1649
1677
  community_id: null,
@@ -1673,7 +1701,7 @@ function it(e, t = void 0, n = void 0) {
1673
1701
  });
1674
1702
  });
1675
1703
  }
1676
- function at(e, t = void 0, n = void 0) {
1704
+ function ot(e, t = void 0, n = void 0) {
1677
1705
  const s = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
1678
1706
  params: {
1679
1707
  idsToFilterArr: [],
@@ -1703,7 +1731,7 @@ function at(e, t = void 0, n = void 0) {
1703
1731
  });
1704
1732
  });
1705
1733
  }
1706
- function ot(e, t = void 0, n = void 0) {
1734
+ function rt(e, t = void 0, n = void 0) {
1707
1735
  const s = {
1708
1736
  base: e._3DSwym,
1709
1737
  uri: "/api/community/listmycommunities",
@@ -1773,7 +1801,7 @@ function pe(e, t, n, s) {
1773
1801
  });
1774
1802
  });
1775
1803
  }
1776
- function rt(e, t = void 0, n = void 0) {
1804
+ function ct(e, t = void 0, n = void 0) {
1777
1805
  const s = "YXdA5x4DSUKtlAi2wmnyTA";
1778
1806
  e.commu_id || (e.commu_id = s);
1779
1807
  const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
@@ -1796,7 +1824,7 @@ function rt(e, t = void 0, n = void 0) {
1796
1824
  });
1797
1825
  });
1798
1826
  }
1799
- function ct(e, t, n = void 0, s = void 0) {
1827
+ function dt(e, t, n = void 0, s = void 0) {
1800
1828
  const { listAllContacts: i, currentUser: r, _3DSwym: o } = e;
1801
1829
  console.log("__listAllContacts", i.hits);
1802
1830
  const a = `${o}/api/directmessages`, c = {
@@ -1912,7 +1940,7 @@ function fe(e) {
1912
1940
  <hr/>
1913
1941
  <p><u>envoyer :</u>Le <b>${t} à ${n}</b></p>`;
1914
1942
  }
1915
- function dt(e, t, n = void 0, s = void 0) {
1943
+ function ut(e, t, n = void 0, s = void 0) {
1916
1944
  const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
1917
1945
  (c) => c.id === t.community_id
1918
1946
  ), o = e.swymCommunities.find(
@@ -1951,7 +1979,7 @@ function dt(e, t, n = void 0, s = void 0) {
1951
1979
  });
1952
1980
  });
1953
1981
  }
1954
- function ut(e, t = void 0, n = void 0) {
1982
+ function pt(e, t = void 0, n = void 0) {
1955
1983
  const s = { base: e.space, uri: "/api/idea/add" };
1956
1984
  if (!Array.isArray(e.swymCommunities)) {
1957
1985
  const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
@@ -2024,7 +2052,7 @@ function ut(e, t = void 0, n = void 0) {
2024
2052
  m(s.base + s.uri, a);
2025
2053
  });
2026
2054
  }
2027
- function pt(e, t, n = void 0, s = void 0) {
2055
+ function lt(e, t, n = void 0, s = void 0) {
2028
2056
  const i = `${e.space}/api/idea/delete`, r = {
2029
2057
  params: {
2030
2058
  community_id: t.community_id,
@@ -2051,7 +2079,7 @@ function pt(e, t, n = void 0, s = void 0) {
2051
2079
  });
2052
2080
  });
2053
2081
  }
2054
- function lt(e, t = void 0, n = void 0) {
2082
+ function ft(e, t = void 0, n = void 0) {
2055
2083
  const { _3DSwym: s, _3DSwym_token: i } = e, r = `${s}/api/idea/get`;
2056
2084
  if (e.idPost === "") {
2057
2085
  const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
@@ -2079,7 +2107,7 @@ function lt(e, t = void 0, n = void 0) {
2079
2107
  }
2080
2108
  });
2081
2109
  }
2082
- function ft(e, t, n) {
2110
+ function mt(e, t, n) {
2083
2111
  const {
2084
2112
  _3DSwym: s,
2085
2113
  _3DSwym_token: i,
@@ -2124,7 +2152,7 @@ function ft(e, t, n) {
2124
2152
  };
2125
2153
  m(p.base + p.uri, l);
2126
2154
  }
2127
- function mt(e, t, n = void 0, s = void 0) {
2155
+ function gt(e, t, n = void 0, s = void 0) {
2128
2156
  const { _3DSwym: i } = e;
2129
2157
  let { community_id: r, limit: o, page: a, search: c } = t;
2130
2158
  const d = [], u = 1;
@@ -2249,7 +2277,7 @@ function me(e) {
2249
2277
  <p>
2250
2278
  </p>` : e;
2251
2279
  }
2252
- function gt(e, t = void 0, n = void 0) {
2280
+ function ht(e, t = void 0, n = void 0) {
2253
2281
  const { tenant: s, _3DSwym: i, _3DSwym_token: r, community_id: o, idea_id: a } = e;
2254
2282
  if (s && i && r && o && a) {
2255
2283
  const c = `${i}/api/idea/forward`;
@@ -2282,7 +2310,7 @@ function gt(e, t = void 0, n = void 0) {
2282
2310
  credentials: e
2283
2311
  });
2284
2312
  }
2285
- function ht(e, t = void 0, n = void 0) {
2313
+ function yt(e, t = void 0, n = void 0) {
2286
2314
  const s = e._3DSwym + "/api/user/getcurrent/";
2287
2315
  w(e, (i) => {
2288
2316
  m(s, {
@@ -2301,7 +2329,7 @@ function ht(e, t = void 0, n = void 0) {
2301
2329
  });
2302
2330
  });
2303
2331
  }
2304
- function yt(e, t, n = void 0, s = void 0) {
2332
+ function St(e, t, n = void 0, s = void 0) {
2305
2333
  const i = e.space + "/api/user/find/login/" + t;
2306
2334
  w(
2307
2335
  e,
@@ -2321,7 +2349,7 @@ function yt(e, t, n = void 0, s = void 0) {
2321
2349
  s
2322
2350
  );
2323
2351
  }
2324
- function St(e, t = void 0, n = void 0) {
2352
+ function _t(e, t = void 0, n = void 0) {
2325
2353
  const {
2326
2354
  _3DSwym: s,
2327
2355
  _3DSwym_token: i,
@@ -2348,13 +2376,13 @@ function St(e, t = void 0, n = void 0) {
2348
2376
  };
2349
2377
  m(a, d);
2350
2378
  }
2351
- function _t(e, t = void 0, n = void 0) {
2379
+ function wt(e, t = void 0, n = void 0) {
2352
2380
  e.tenant && R(e, (s) => {
2353
2381
  const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
2354
2382
  return t && t(i), i;
2355
2383
  });
2356
2384
  }
2357
- function wt(e, t = void 0, n = void 0) {
2385
+ function Ct(e, t = void 0, n = void 0) {
2358
2386
  e.tenant && R(e, (s) => {
2359
2387
  const i = s.services.find(
2360
2388
  (a) => a.id === "3dpassport"
@@ -2374,7 +2402,7 @@ function wt(e, t = void 0, n = void 0) {
2374
2402
  });
2375
2403
  });
2376
2404
  }
2377
- function Ct(e, t = void 0, n = void 0) {
2405
+ function Tt(e, t = void 0, n = void 0) {
2378
2406
  if (e.tenant) {
2379
2407
  const s = e.tenant.toLowerCase();
2380
2408
  fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
@@ -2386,7 +2414,7 @@ function Ct(e, t = void 0, n = void 0) {
2386
2414
  });
2387
2415
  }
2388
2416
  }
2389
- async function Tt(e, t, n = void 0, s = void 0) {
2417
+ async function bt(e, t, n = void 0, s = void 0) {
2390
2418
  if (e.tenant) {
2391
2419
  const i = e.tenant.toLowerCase();
2392
2420
  fetch(
@@ -2401,7 +2429,7 @@ async function Tt(e, t, n = void 0, s = void 0) {
2401
2429
  });
2402
2430
  }
2403
2431
  }
2404
- async function bt(e, t, n, s = void 0, i = void 0) {
2432
+ async function Ot(e, t, n, s = void 0, i = void 0) {
2405
2433
  if (e.tenant) {
2406
2434
  const r = e.tenant.toLowerCase();
2407
2435
  fetch(
@@ -2416,7 +2444,7 @@ async function bt(e, t, n, s = void 0, i = void 0) {
2416
2444
  });
2417
2445
  }
2418
2446
  }
2419
- async function Ot(e, t, n, s = void 0, i = void 0) {
2447
+ async function $t(e, t, n, s = void 0, i = void 0) {
2420
2448
  if (e.tenant) {
2421
2449
  const r = e.tenant.toLowerCase();
2422
2450
  fetch(
@@ -2431,7 +2459,7 @@ async function Ot(e, t, n, s = void 0, i = void 0) {
2431
2459
  });
2432
2460
  }
2433
2461
  }
2434
- async function $t(e, t, n, s, i = void 0, r = void 0) {
2462
+ async function Nt(e, t, n, s, i = void 0, r = void 0) {
2435
2463
  if (e.tenant) {
2436
2464
  const o = e.tenant.toLowerCase();
2437
2465
  fetch(
@@ -2446,7 +2474,7 @@ async function $t(e, t, n, s, i = void 0, r = void 0) {
2446
2474
  });
2447
2475
  }
2448
2476
  }
2449
- async function Nt(e, t, n, s, i, r = void 0, o = void 0) {
2477
+ async function It(e, t, n, s, i, r = void 0, o = void 0) {
2450
2478
  if (e.tenant) {
2451
2479
  const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${n}?t=${t}&c=${encodeURIComponent(
2452
2480
  s
@@ -2465,7 +2493,7 @@ async function Nt(e, t, n, s, i, r = void 0, o = void 0) {
2465
2493
  });
2466
2494
  }
2467
2495
  }
2468
- async function It(e, t, n, s, i = void 0, r = void 0) {
2496
+ async function Ft(e, t, n, s, i = void 0, r = void 0) {
2469
2497
  if (e.tenant) {
2470
2498
  const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${n}?t=${t}&b=${encodeURIComponent(
2471
2499
  s
@@ -2482,7 +2510,7 @@ async function It(e, t, n, s, i = void 0, r = void 0) {
2482
2510
  });
2483
2511
  }
2484
2512
  }
2485
- async function Ft(e, t, n, s, i = void 0, r = void 0) {
2513
+ async function kt(e, t, n, s, i = void 0, r = void 0) {
2486
2514
  if (e.tenant) {
2487
2515
  const o = e.tenant.toLowerCase();
2488
2516
  fetch(
@@ -2512,7 +2540,7 @@ async function jt(e, t, n, s = void 0, i = void 0) {
2512
2540
  });
2513
2541
  }
2514
2542
  }
2515
- async function kt(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) {
2516
2544
  if (e.tenant) {
2517
2545
  const a = e.tenant.toLowerCase();
2518
2546
  fetch(
@@ -2543,7 +2571,7 @@ async function At(e, t, n, s, i = void 0, r = void 0) {
2543
2571
  }
2544
2572
  }
2545
2573
  //!SECTION
2546
- async function vt(e, t, n, s = void 0, i = void 0) {
2574
+ async function Ut(e, t, n, s = void 0, i = void 0) {
2547
2575
  if (e.tenant) {
2548
2576
  const r = e.tenant.toLowerCase();
2549
2577
  fetch(
@@ -2559,17 +2587,17 @@ async function vt(e, t, n, s = void 0, i = void 0) {
2559
2587
  }
2560
2588
  }
2561
2589
  //!SECTION
2562
- function Ut(e) {
2590
+ function xt(e) {
2563
2591
  const t = "Hello " + e;
2564
2592
  return console.log(t), t;
2565
2593
  }
2566
- function xt(e, t = void 0, n = void 0) {
2594
+ function Rt(e, t = void 0, n = void 0) {
2567
2595
  return console.log("credentials", e), new Promise((s) => {
2568
2596
  if (e.token === "" && b(e), !e.space || e.space === "") {
2569
2597
  const o = Y();
2570
2598
  console.log("platformeInfo", o);
2571
2599
  }
2572
- j(
2600
+ k(
2573
2601
  e,
2574
2602
  "Common space",
2575
2603
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -2644,11 +2672,11 @@ function xt(e, t = void 0, n = void 0) {
2644
2672
  }
2645
2673
  export {
2646
2674
  B as UUID,
2647
- xt as _3DSearch_usersGroup,
2648
- Je as _3DSpace_Create_Doc,
2649
- Me as _3DSpace_Update_Doc,
2650
- Ve as _3DSpace_bookmark_addSubsciptions,
2651
- Xe as _3DSpace_bookmark_newWorkspace,
2675
+ Rt as _3DSearch_usersGroup,
2676
+ Ge as _3DSpace_Create_Doc,
2677
+ Je as _3DSpace_Update_Doc,
2678
+ Ye as _3DSpace_bookmark_addSubsciptions,
2679
+ Ve as _3DSpace_bookmark_newWorkspace,
2652
2680
  b as _3DSpace_csrf,
2653
2681
  L as _3DSpace_download_doc,
2654
2682
  ie as _3DSpace_download_multidoc,
@@ -2659,83 +2687,84 @@ export {
2659
2687
  P as _3DSpace_get_docInfo,
2660
2688
  ae as _3DSpace_get_downloadTicket_multidoc,
2661
2689
  De as _3DSpace_get_multiDocInfo,
2662
- j as _3DSpace_get_securityContexts,
2663
- A as _3DSpace_get_ticket,
2664
- We as _3DSpace_lifecycle_changeRevision,
2665
- Ke as _3DSpace_lifecycle_changeState,
2666
- Ee as _3DSpace_lifecycle_getGraph,
2667
- Be as _3DSpace_lifecycle_getNextRevision,
2668
- Ge as _3DSpace_lifecycle_getNextStates,
2669
- gt as _3DSwym_ForwardIdea,
2670
- St as _3DSwym_addComment,
2671
- ct as _3DSwym_buildDirectMessage,
2672
- pt as _3DSwym_deleteIdea,
2673
- ft as _3DSwym_editIdea,
2690
+ k as _3DSpace_get_securityContexts,
2691
+ v as _3DSpace_get_ticket,
2692
+ Xe as _3DSpace_lifecycle_changeRevision,
2693
+ Ee as _3DSpace_lifecycle_changeState,
2694
+ Be as _3DSpace_lifecycle_getGraph,
2695
+ We as _3DSpace_lifecycle_getNextRevision,
2696
+ Ke as _3DSpace_lifecycle_getNextStates,
2697
+ Me as _3DSpace_put_docInfo,
2698
+ ht as _3DSwym_ForwardIdea,
2699
+ _t as _3DSwym_addComment,
2700
+ dt as _3DSwym_buildDirectMessage,
2701
+ lt as _3DSwym_deleteIdea,
2702
+ mt as _3DSwym_editIdea,
2674
2703
  le as _3DSwym_findCommunityToInstantMSG,
2675
- ot as _3DSwym_getAllCommunities,
2676
- mt as _3DSwym_getAllListIdeas,
2677
- it as _3DSwym_getAllNews,
2678
- at as _3DSwym_getFamiliarPeople,
2679
- rt as _3DSwym_getIdeaStatusMaturity,
2704
+ rt as _3DSwym_getAllCommunities,
2705
+ gt as _3DSwym_getAllListIdeas,
2706
+ at as _3DSwym_getAllNews,
2707
+ ot as _3DSwym_getFamiliarPeople,
2708
+ ct as _3DSwym_getIdeaStatusMaturity,
2680
2709
  pe as _3DSwym_getMembersCommunity,
2681
- lt as _3DSwym_getOneIdea,
2710
+ ft as _3DSwym_getOneIdea,
2682
2711
  w as _3DSwym_get_Token,
2683
- ht as _3DSwym_get_currentUser,
2684
- yt as _3DSwym_get_findUser,
2685
- ut as _3DSwym_postIdea,
2686
- dt as _3DSwym_postIdeaTemplate,
2712
+ yt as _3DSwym_get_currentUser,
2713
+ St as _3DSwym_get_findUser,
2714
+ pt as _3DSwym_postIdea,
2715
+ ut as _3DSwym_postIdeaTemplate,
2687
2716
  U as _3DSwym_sendMessageData,
2688
- je as _AppMngt_get_info_user,
2717
+ ke as _AppMngt_get_info_user,
2689
2718
  Fe as _AppMngt_get_users,
2690
- $t as _Iterop_AddOrRemoveRows,
2691
- wt as _Iterop_Auth_CAS,
2719
+ Nt as _Iterop_AddOrRemoveRows,
2720
+ Ct as _Iterop_Auth_CAS,
2692
2721
  jt as _Iterop_GetOneDependencyTable,
2693
- vt as _Iterop_GetOneList,
2694
- kt as _Iterop_PatchDependencyTable,
2722
+ Ut as _Iterop_GetOneList,
2723
+ vt as _Iterop_PatchDependencyTable,
2695
2724
  At as _Iterop_PutDependencyTable,
2696
- Nt as _Iterop_businessTableSearchInRows,
2697
- Tt as _Iterop_getAllBusinessTables,
2698
- bt as _Iterop_getOneBusinessTable,
2699
- Ot as _Iterop_getOneBusinessTableRows,
2700
- Ct as _Iterop_jwtUser,
2701
- Ft as _Iterop_runProcess,
2702
- It as _Iterop_updateBusinessTable,
2725
+ It as _Iterop_businessTableSearchInRows,
2726
+ bt as _Iterop_getAllBusinessTables,
2727
+ Ot as _Iterop_getOneBusinessTable,
2728
+ $t as _Iterop_getOneBusinessTableRows,
2729
+ Tt as _Iterop_jwtUser,
2730
+ kt as _Iterop_runProcess,
2731
+ Ft as _Iterop_updateBusinessTable,
2703
2732
  Y as _getPlateformInfos,
2704
2733
  $e as _getPlatformServices,
2705
2734
  R as _getServiceUrl,
2706
2735
  Ne as _getServiceUrl_3DPassport,
2707
- _t as _getServiceUrl_Iterop,
2736
+ wt as _getServiceUrl_Iterop,
2708
2737
  m as _httpCallAuthenticated,
2709
2738
  Te as _setDraggable,
2710
2739
  Oe as _setDroppable,
2711
2740
  be as _setupTagger,
2712
- tt as addTagToDoc,
2741
+ nt as addTagToDoc,
2713
2742
  X as chunkArray,
2714
2743
  Ie as compass_getListAdditionalApps,
2715
2744
  W as couleurs,
2716
- ke as createUserGroups,
2745
+ je as createUserGroups,
2717
2746
  oe as dataMixing,
2718
2747
  Ue as deleteUserGroups,
2719
2748
  _e as findAdresse,
2720
- Ye as getAllContextSecurity,
2749
+ qe as getAllContextSecurity,
2721
2750
  H as getCSRFToken,
2722
2751
  Se as getCommunes,
2723
- Ae as getComplementUG,
2724
- qe as getDataFrom3DSpace,
2752
+ ve as getComplementUG,
2753
+ He as getDataFrom3DSpace,
2725
2754
  we as getDataFromGouvFr,
2726
- Ze as getDatasByTenant,
2727
- et as getDatasFrom3DSpace,
2728
- He as getDownloadDocument,
2729
- st as getInfoDocTags,
2730
- ve as getUserGroupsList,
2755
+ et as getDatasByTenant,
2756
+ tt as getDatasFrom3DSpace,
2757
+ ze as getDownloadDocument,
2758
+ it as getInfoDocTags,
2759
+ Ae as getUserGroupsList,
2731
2760
  q as getUsersGroupRules,
2732
- Qe as get_3DSpace_csrf,
2761
+ Ze as get_3DSpace_csrf,
2733
2762
  xe as patchUserGroups,
2734
2763
  Re as patchUserGroupsControl,
2735
- ze as pushDataIn3DSpace,
2764
+ Qe as pushDataIn3DSpace,
2736
2765
  Pe as readUserGroupControl,
2737
- nt as removeTagToDoc,
2738
- Ut as sayHello,
2766
+ st as removeTagToDoc,
2767
+ xt as sayHello,
2739
2768
  Ce as updateEvent
2740
2769
  };
2741
2770
  //# sourceMappingURL=wb3Api.js.map