@beam3_dev/api_module 0.0.239 → 0.0.241

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
@@ -1,10 +1,10 @@
1
- import { v4 as K } from "uuid";
1
+ import { v4 as E } from "uuid";
2
2
  import { DateTime as $ } from "luxon";
3
- import { requirejs as I, widget as P } from "@widget-lab/3ddashboard-utils";
3
+ import { requirejs as N, widget as P } from "@widget-lab/3ddashboard-utils";
4
4
  function B() {
5
- return K();
5
+ return E();
6
6
  }
7
- const V = {
7
+ const W = {
8
8
  b3M3Yellow: "#FFB300",
9
9
  b3AboutageBlue: "#42A5F5",
10
10
  b3UsinageGreen: "#689F38",
@@ -65,7 +65,7 @@ async function _e(e, t = void 0, n = void 0) {
65
65
  n && n(s), console.error("Erreur : " + s);
66
66
  });
67
67
  }
68
- async function we(e, t = V) {
68
+ async function we(e, t = W) {
69
69
  let n = $.now().year;
70
70
  const s = e, i = [], r = (a) => {
71
71
  for (let c in a)
@@ -100,13 +100,13 @@ async function we(e, t = V) {
100
100
  return a;
101
101
  })();
102
102
  }
103
- function W(e, t, n) {
103
+ function X(e, t, n) {
104
104
  const { credentials: s, myArray: i, chunk: r, fn_to_call: o } = e, a = [];
105
105
  for (let c = 0; c < i.length; c += r) {
106
106
  const d = i.slice(c, c + r);
107
107
  a.push(d);
108
108
  }
109
- X(
109
+ V(
110
110
  { credentials: s, chunks: a, initLoop: 0, fn: o },
111
111
  (c) => {
112
112
  t && t(c);
@@ -116,7 +116,7 @@ function W(e, t, n) {
116
116
  }
117
117
  );
118
118
  }
119
- function X(e, t, n) {
119
+ function V(e, t, n) {
120
120
  const { credentials: s, chunks: i, initLoop: r, fn: o } = e, a = (c) => {
121
121
  o(
122
122
  s,
@@ -139,12 +139,12 @@ async function Ce(e, t, n = !0) {
139
139
  return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
140
140
  }
141
141
  function m(e, t) {
142
- I(["DS/WAFData/WAFData"], (n) => {
142
+ N(["DS/WAFData/WAFData"], (n) => {
143
143
  n.authenticatedRequest(e, t);
144
144
  });
145
145
  }
146
146
  function Te(e, t, n) {
147
- I(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
147
+ N(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
148
148
  s.draggable(e, {
149
149
  data: t,
150
150
  start: n
@@ -152,7 +152,7 @@ function Te(e, t, n) {
152
152
  });
153
153
  }
154
154
  function be(e, t = void 0) {
155
- I(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
155
+ N(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
156
156
  let s;
157
157
  s === void 0 && (s = n.createProxy({
158
158
  widgetId: P.id,
@@ -161,14 +161,14 @@ function be(e, t = void 0) {
161
161
  });
162
162
  }
163
163
  function Oe(e, t) {
164
- I(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
164
+ N(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
165
165
  n.droppable(e, {
166
166
  drop: t
167
167
  });
168
168
  });
169
169
  }
170
170
  async function $e(e, t = void 0, n = void 0) {
171
- await I(
171
+ await N(
172
172
  ["DS/i3DXCompassServices/i3DXCompassServices"],
173
173
  (s) => {
174
174
  (!e || e === "") && (e = P.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
@@ -181,9 +181,9 @@ async function $e(e, t = void 0, n = void 0) {
181
181
  }
182
182
  );
183
183
  }
184
- function q() {
184
+ function Y() {
185
185
  let e = {};
186
- return I(["DS/PlatformAPI/PlatformAPI"], (t) => {
186
+ return N(["DS/PlatformAPI/PlatformAPI"], (t) => {
187
187
  const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
188
188
  "com.3ds.wp.passport.cors"
189
189
  );
@@ -215,7 +215,7 @@ function b(e, t = void 0, n = void 0) {
215
215
  });
216
216
  }
217
217
  }
218
- function Ie(e, t = void 0, n = void 0) {
218
+ function Ne(e, t = void 0, n = void 0) {
219
219
  if (e.tenant) {
220
220
  const s = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
221
221
  m(s, {
@@ -232,7 +232,7 @@ function Ie(e, t = void 0, n = void 0) {
232
232
  });
233
233
  }
234
234
  }
235
- function Ne(e, t, n) {
235
+ function Ie(e, t, n) {
236
236
  const s = {
237
237
  base: `${e.space}`,
238
238
  uri: "/resources/AppsMngt/api/custom/applications",
@@ -284,7 +284,7 @@ function Fe(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
  };
@@ -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: 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 Ae(e, t, n = void 0, s = void 0) {
317
317
  }
318
318
  });
319
319
  }
320
- function ke(e, t, n = void 0, s = void 0) {
320
+ function je(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: {
@@ -336,7 +336,7 @@ function ke(e, t, n = void 0, s = void 0) {
336
336
  }
337
337
  });
338
338
  }
339
- function Y(e, t = void 0, n = void 0) {
339
+ function q(e, t = void 0, n = void 0) {
340
340
  const { space: s, tenant: i } = e, r = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
341
341
  method: "GET",
342
342
  Accept: "application/json,*/*,test/javascript"
@@ -352,7 +352,7 @@ function Y(e, t = void 0, n = void 0) {
352
352
  }
353
353
  });
354
354
  }
355
- function je(e, t = void 0, n = void 0) {
355
+ function ke(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,*/*"
@@ -364,7 +364,7 @@ function je(e, t = void 0, n = void 0) {
364
364
  const p = JSON.parse(u), f = {}, l = p.groups.filter((g) => g.uri.startsWith("uuid:"));
365
365
  if (i && Object.keys(i).length > 0) {
366
366
  const g = l.filter((S) => S.owner === i.email), h = l.filter((S) => S.members.includes(i.email)), y = g.concat(h);
367
- f.iam = y, f.UG = l, f.iamMember = h, Y(
367
+ f.iam = y, f.UG = l, f.iamMember = h, q(
368
368
  e,
369
369
  (S) => {
370
370
  f.rules = S, t && t(f);
@@ -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 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: k,
419
+ headers: j,
420
420
  data: JSON.stringify(n),
421
421
  type: "json",
422
422
  onComplete(d) {
@@ -478,7 +478,7 @@ var Q = function(e, t, n, s) {
478
478
  u >= 0 ? (p = d.substr(0, u), f = d.substr(u + 1)) : (p = d, f = ""), l = decodeURIComponent(p), g = decodeURIComponent(f), z(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
479
479
  }
480
480
  return i;
481
- }, N = function(e) {
481
+ }, I = function(e) {
482
482
  switch (typeof e) {
483
483
  case "string":
484
484
  return e;
@@ -491,11 +491,11 @@ var Q = function(e, t, n, s) {
491
491
  }
492
492
  }, Z = function(e, t, n, s) {
493
493
  return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
494
- var r = encodeURIComponent(N(i)) + n;
494
+ var r = encodeURIComponent(I(i)) + n;
495
495
  return Array.isArray(e[i]) ? e[i].map(function(o) {
496
- return r + encodeURIComponent(N(o));
497
- }).join(t) : r + encodeURIComponent(N(e[i]));
498
- }).filter(Boolean).join(t) : s ? encodeURIComponent(N(s)) + n + encodeURIComponent(N(e)) : "";
496
+ return r + encodeURIComponent(I(o));
497
+ }).join(t) : r + encodeURIComponent(I(e[i]));
498
+ }).filter(Boolean).join(t) : s ? encodeURIComponent(I(s)) + n + encodeURIComponent(I(e)) : "";
499
499
  };
500
500
  v.decode = v.parse = Q;
501
501
  v.encode = v.stringify = Z;
@@ -582,7 +582,7 @@ function O(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 j(e, t = void 0, n = void 0) {
585
+ function k(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,
@@ -912,7 +912,7 @@ async function L(e, t = void 0, n = void 0) {
912
912
  console.log("☠️ error => ", s);
913
913
  }
914
914
  ), new Promise((s, i) => {
915
- j(
915
+ k(
916
916
  e,
917
917
  (r) => {
918
918
  e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
@@ -949,7 +949,7 @@ async function L(e, t = void 0, n = void 0) {
949
949
  });
950
950
  }
951
951
  async function ie(e, t, n = void 0, s = void 0) {
952
- typeof t < "u" && Array.isArray(t) && t?.length > 0 ? W({
952
+ typeof t < "u" && Array.isArray(t) && t?.length > 0 ? X({
953
953
  credentials: e,
954
954
  myArray: t,
955
955
  chunk: 80,
@@ -1046,7 +1046,7 @@ function Ge(e, t, n = void 0, s = void 0) {
1046
1046
  }
1047
1047
  });
1048
1048
  }
1049
- function Ee(e, t, n, s = void 0, i = void 0) {
1049
+ function Ke(e, t, n, s = void 0, i = void 0) {
1050
1050
  return new Promise((r) => {
1051
1051
  if (e.token === "" && O(e), t !== void 0 && t !== "" && t !== null) {
1052
1052
  const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
@@ -1078,7 +1078,7 @@ function Ee(e, t, n, s = void 0, i = void 0) {
1078
1078
  }
1079
1079
  });
1080
1080
  }
1081
- function Ke(e, t, n = void 0, s = void 0) {
1081
+ 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}`;
@@ -1166,7 +1166,7 @@ function Be(e, t, n = void 0, s = void 0) {
1166
1166
  }
1167
1167
  });
1168
1168
  }
1169
- function Ve(e, t, n, s = void 0, i = void 0) {
1169
+ 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}`;
@@ -1213,7 +1213,7 @@ function Ve(e, t, n, s = void 0, i = void 0) {
1213
1213
  }
1214
1214
  });
1215
1215
  }
1216
- function We(e, t, n, s, i = void 0, r = void 0) {
1216
+ function Xe(e, t, n, s, i = void 0, r = void 0) {
1217
1217
  return new Promise((o) => {
1218
1218
  const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
1219
1219
  let c = {
@@ -1246,7 +1246,7 @@ function We(e, t, n, s, i = void 0, r = void 0) {
1246
1246
  m(a, u);
1247
1247
  });
1248
1248
  }
1249
- function Xe(e, t, n, s, i = void 0, r = void 0) {
1249
+ function Ve(e, t, n, s, i = void 0, r = void 0) {
1250
1250
  return console.log("credentials", e), new Promise((o) => {
1251
1251
  `${e.space}`, JSON.stringify({
1252
1252
  csrf: {
@@ -1270,7 +1270,7 @@ function Xe(e, t, n, s, i = void 0, r = void 0) {
1270
1270
  });
1271
1271
  }
1272
1272
  //!SECTION
1273
- function qe(e, t = void 0, n = void 0) {
1273
+ function Ye(e, t = void 0, n = void 0) {
1274
1274
  const s = {
1275
1275
  base: `${e.space}`,
1276
1276
  uri: "/resources/bps/cspaces",
@@ -1291,8 +1291,8 @@ function qe(e, t = void 0, n = void 0) {
1291
1291
  }
1292
1292
  });
1293
1293
  }
1294
- function Ye(e, t, n, s) {
1295
- j(
1294
+ function qe(e, t, n, s) {
1295
+ k(
1296
1296
  e.space,
1297
1297
  t,
1298
1298
  (i) => {
@@ -1310,7 +1310,7 @@ function Ye(e, t, n, s) {
1310
1310
  }
1311
1311
  async function He(e, t, n = void 0, s = void 0) {
1312
1312
  return new Promise((i) => {
1313
- j(e, t, (r) => {
1313
+ k(e, t, (r) => {
1314
1314
  m(r, {
1315
1315
  onComplete: (o, a, c) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, c), i),
1316
1316
  onFailure: (o, a, c) => {
@@ -2068,7 +2068,7 @@ function lt(e, t = void 0, n = void 0) {
2068
2068
  },
2069
2069
  data: JSON.stringify(o),
2070
2070
  onComplete(a) {
2071
- t && t({ response: a });
2071
+ a = typeof a == "string" ? JSON.parse(a) : a, t && t({ response: a });
2072
2072
  },
2073
2073
  onFailure(a) {
2074
2074
  const c = a;
@@ -2148,7 +2148,7 @@ function mt(e, t, n = void 0, s = void 0) {
2148
2148
  d.push(C.response.result);
2149
2149
  else {
2150
2150
  const T = C.response.result.find(
2151
- (E) => E.title.includes(c)
2151
+ (K) => K.title.includes(c)
2152
2152
  );
2153
2153
  if (T) {
2154
2154
  n(T);
@@ -2319,12 +2319,39 @@ function yt(e, t, n = void 0, s = void 0) {
2319
2319
  );
2320
2320
  }
2321
2321
  function St(e, t = void 0, n = void 0) {
2322
+ const {
2323
+ _3DSwym: s,
2324
+ _3DSwym_token: i,
2325
+ subjectUri: r,
2326
+ richMessage: o
2327
+ } = e, a = `${s}/commentproxy/subjects/${r}/comments`, d = {
2328
+ method: "POST",
2329
+ headers: {
2330
+ "Content-type": "application/json;charset=UTF-8",
2331
+ Accept: "application/json",
2332
+ "X-DS-SWYM-CSRFTOKEN": i
2333
+ },
2334
+ data: JSON.stringify({ richMessage: o }),
2335
+ type: "json",
2336
+ onComplete(u, p, f) {
2337
+ const l = {
2338
+ response: typeof u == "string" ? JSON.parse(u) : u
2339
+ };
2340
+ l.status = f.status, t && t(l);
2341
+ },
2342
+ onFailure(u) {
2343
+ n && n(u);
2344
+ }
2345
+ };
2346
+ _httpCallAuthenticated(a, d);
2347
+ }
2348
+ function _t(e, t = void 0, n = void 0) {
2322
2349
  e.tenant && b(e, (s) => {
2323
2350
  const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
2324
2351
  return t && t(i), i;
2325
2352
  });
2326
2353
  }
2327
- function _t(e, t = void 0, n = void 0) {
2354
+ function wt(e, t = void 0, n = void 0) {
2328
2355
  e.tenant && b(e, (s) => {
2329
2356
  const i = s.services.find((a) => a.id === "3dpassport")?.url, r = s.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
2330
2357
  m(o, {
@@ -2342,7 +2369,7 @@ function _t(e, t = void 0, n = void 0) {
2342
2369
  });
2343
2370
  });
2344
2371
  }
2345
- function wt(e, t = void 0, n = void 0) {
2372
+ function Ct(e, t = void 0, n = void 0) {
2346
2373
  if (e.tenant) {
2347
2374
  const s = e.tenant.toLowerCase();
2348
2375
  fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
@@ -2354,7 +2381,7 @@ function wt(e, t = void 0, n = void 0) {
2354
2381
  });
2355
2382
  }
2356
2383
  }
2357
- async function Ct(e, t, n = void 0, s = void 0) {
2384
+ async function Tt(e, t, n = void 0, s = void 0) {
2358
2385
  e.tenant && b(e, (i) => {
2359
2386
  const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
2360
2387
  fetch(`https://api.uixhome.fr/${a}/iterop/listusers?t=${t}&s=${o}`, {
@@ -2366,7 +2393,7 @@ async function Ct(e, t, n = void 0, s = void 0) {
2366
2393
  });
2367
2394
  });
2368
2395
  }
2369
- async function Tt(e, t, n = void 0, s = void 0) {
2396
+ async function bt(e, t, n = void 0, s = void 0) {
2370
2397
  e.tenant && b(e, (i) => {
2371
2398
  const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, a = e.tenant.toLowerCase();
2372
2399
  fetch(`https://api.uixhome.fr/${a}/iterop/repository/data/tables?t=${t}&s=${o}`, {
@@ -2378,7 +2405,7 @@ async function Tt(e, t, n = void 0, s = void 0) {
2378
2405
  });
2379
2406
  });
2380
2407
  }
2381
- async function bt(e, t, n, s = void 0, i = void 0) {
2408
+ async function Ot(e, t, n, s = void 0, i = void 0) {
2382
2409
  if (e.tenant) {
2383
2410
  const r = e.tenant.toLowerCase();
2384
2411
  fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/${n}?t=${t}`, {
@@ -2390,7 +2417,7 @@ async function bt(e, t, n, s = void 0, i = void 0) {
2390
2417
  });
2391
2418
  }
2392
2419
  }
2393
- async function Ot(e, t, n, s = void 0, i = void 0) {
2420
+ async function $t(e, t, n, s = void 0, i = void 0) {
2394
2421
  if (e.tenant) {
2395
2422
  const r = e.tenant.toLowerCase();
2396
2423
  fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/rows/${n}/?t=${t}`, {
@@ -2402,7 +2429,7 @@ async function Ot(e, t, n, s = void 0, i = void 0) {
2402
2429
  });
2403
2430
  }
2404
2431
  }
2405
- async function $t(e, t, n, s, i = void 0, r = void 0) {
2432
+ async function Nt(e, t, n, s, i = void 0, r = void 0) {
2406
2433
  e.tenant && b(e, (o) => {
2407
2434
  o.services.find((c) => c.id === "businessprocess")?.url + "";
2408
2435
  const a = e.tenant.toLowerCase();
@@ -2434,7 +2461,7 @@ async function It(e, t, n, s, i, r = void 0, o = void 0) {
2434
2461
  });
2435
2462
  }
2436
2463
  }
2437
- async function Nt(e, t, n, s, i = void 0, r = void 0) {
2464
+ async function vt(e, t, n, s, i = void 0, r = void 0) {
2438
2465
  if (e.tenant) {
2439
2466
  const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${n}?t=${t}&b=${encodeURIComponent(
2440
2467
  s
@@ -2451,7 +2478,7 @@ async function Nt(e, t, n, s, i = void 0, r = void 0) {
2451
2478
  });
2452
2479
  }
2453
2480
  }
2454
- async function vt(e, t, n, s, i = void 0, r = void 0) {
2481
+ async function Ft(e, t, n, s, i = void 0, r = void 0) {
2455
2482
  e.tenant && b(e, (o) => {
2456
2483
  o.services.find((c) => c.id === "businessprocess")?.url + "";
2457
2484
  const a = e.tenant.toLowerCase();
@@ -2467,7 +2494,7 @@ async function vt(e, t, n, s, i = void 0, r = void 0) {
2467
2494
  });
2468
2495
  });
2469
2496
  }
2470
- async function Ft(e, t, n, s = void 0, i = void 0) {
2497
+ async function At(e, t, n, s = void 0, i = void 0) {
2471
2498
  e.tenant && b(e, (r) => {
2472
2499
  r.services.find((a) => a.id === "businessprocess")?.url + "";
2473
2500
  const o = e.tenant.toLowerCase();
@@ -2483,7 +2510,7 @@ async function Ft(e, t, n, s = void 0, i = void 0) {
2483
2510
  });
2484
2511
  });
2485
2512
  }
2486
- async function At(e, t, n, s, i, r = void 0, o = void 0) {
2513
+ async function jt(e, t, n, s, i, r = void 0, o = void 0) {
2487
2514
  e.tenant && b(e, (a) => {
2488
2515
  a.services.find((d) => d.id === "businessprocess")?.url + "";
2489
2516
  const c = e.tenant.toLowerCase();
@@ -2516,7 +2543,7 @@ async function kt(e, t, n, s, i = void 0, r = void 0) {
2516
2543
  });
2517
2544
  }
2518
2545
  //!SECTION
2519
- async function jt(e, t, n, s = void 0, i = void 0) {
2546
+ async function Ut(e, t, n, s = void 0, i = void 0) {
2520
2547
  if (e.tenant) {
2521
2548
  const r = e.tenant.toLowerCase();
2522
2549
  fetch(
@@ -2532,14 +2559,14 @@ async function jt(e, t, n, s = void 0, i = void 0) {
2532
2559
  }
2533
2560
  }
2534
2561
  //!SECTION
2535
- function Ut(e) {
2562
+ function xt(e) {
2536
2563
  const t = "Hello " + e;
2537
2564
  return console.log(t), t;
2538
2565
  }
2539
- function xt(e, t = void 0, n = void 0) {
2566
+ function Pt(e, t = void 0, n = void 0) {
2540
2567
  return console.log("credentials", e), new Promise((s) => {
2541
2568
  if (e.token === "" && O(e), !e.space || e.space === "") {
2542
- const o = q();
2569
+ const o = Y();
2543
2570
  console.log("platformeInfo", o);
2544
2571
  }
2545
2572
  A(
@@ -2617,11 +2644,11 @@ function xt(e, t = void 0, n = void 0) {
2617
2644
  }
2618
2645
  export {
2619
2646
  B as UUID,
2620
- xt as _3DSearch_usersGroup,
2647
+ Pt as _3DSearch_usersGroup,
2621
2648
  Je as _3DSpace_Create_Doc,
2622
2649
  Me as _3DSpace_Update_Doc,
2623
- Xe as _3DSpace_bookmark_addSubsciptions,
2624
- We as _3DSpace_bookmark_newWorkspace,
2650
+ Ve as _3DSpace_bookmark_addSubsciptions,
2651
+ Xe as _3DSpace_bookmark_newWorkspace,
2625
2652
  O as _3DSpace_csrf,
2626
2653
  L as _3DSpace_download_doc,
2627
2654
  ie as _3DSpace_download_multidoc,
@@ -2633,13 +2660,14 @@ export {
2633
2660
  ae as _3DSpace_get_downloadTicket_multidoc,
2634
2661
  De as _3DSpace_get_multiDocInfo,
2635
2662
  A as _3DSpace_get_securityContexts,
2636
- j as _3DSpace_get_ticket,
2637
- Ve as _3DSpace_lifecycle_changeRevision,
2638
- Ee as _3DSpace_lifecycle_changeState,
2639
- Ke as _3DSpace_lifecycle_getGraph,
2663
+ k as _3DSpace_get_ticket,
2664
+ We as _3DSpace_lifecycle_changeRevision,
2665
+ Ke as _3DSpace_lifecycle_changeState,
2666
+ Ee as _3DSpace_lifecycle_getGraph,
2640
2667
  Be as _3DSpace_lifecycle_getNextRevision,
2641
2668
  Ge as _3DSpace_lifecycle_getNextStates,
2642
2669
  gt as _3DSwym_ForwardIdea,
2670
+ St as _3DSwym_addComment,
2643
2671
  ct as _3DSwym_buildDirectMessage,
2644
2672
  pt as _3DSwym_deleteIdea,
2645
2673
  ft as _3DSwym_editIdea,
@@ -2659,56 +2687,56 @@ export {
2659
2687
  x as _3DSwym_sendMessageData,
2660
2688
  Fe as _AppMngt_get_info_user,
2661
2689
  ve as _AppMngt_get_users,
2662
- $t as _Iterop_AddOrRemoveRows,
2663
- _t as _Iterop_Auth_CAS,
2664
- Ft as _Iterop_GetOneDependencyTable,
2665
- jt as _Iterop_GetOneList,
2666
- Ct as _Iterop_ListUsers,
2667
- At as _Iterop_PatchDependencyTable,
2690
+ Nt as _Iterop_AddOrRemoveRows,
2691
+ wt as _Iterop_Auth_CAS,
2692
+ At as _Iterop_GetOneDependencyTable,
2693
+ Ut as _Iterop_GetOneList,
2694
+ Tt as _Iterop_ListUsers,
2695
+ jt as _Iterop_PatchDependencyTable,
2668
2696
  kt as _Iterop_PutDependencyTable,
2669
2697
  It as _Iterop_businessTableSearchInRows,
2670
- Tt as _Iterop_getAllBusinessTables,
2671
- bt as _Iterop_getOneBusinessTable,
2672
- Ot as _Iterop_getOneBusinessTableRows,
2673
- wt as _Iterop_jwtUser,
2674
- vt as _Iterop_runProcess,
2675
- Nt as _Iterop_updateBusinessTable,
2676
- q as _getPlateformInfos,
2698
+ bt as _Iterop_getAllBusinessTables,
2699
+ Ot as _Iterop_getOneBusinessTable,
2700
+ $t as _Iterop_getOneBusinessTableRows,
2701
+ Ct as _Iterop_jwtUser,
2702
+ Ft as _Iterop_runProcess,
2703
+ vt as _Iterop_updateBusinessTable,
2704
+ Y as _getPlateformInfos,
2677
2705
  $e as _getPlatformServices,
2678
2706
  b as _getServiceUrl,
2679
- Ie as _getServiceUrl_3DPassport,
2680
- St as _getServiceUrl_Iterop,
2707
+ Ne as _getServiceUrl_3DPassport,
2708
+ _t as _getServiceUrl_Iterop,
2681
2709
  m as _httpCallAuthenticated,
2682
2710
  Te as _setDraggable,
2683
2711
  Oe as _setDroppable,
2684
2712
  be as _setupTagger,
2685
2713
  tt as addTagToDoc,
2686
- W as chunkArray,
2687
- Ne as compass_getListAdditionalApps,
2688
- V as couleurs,
2714
+ X as chunkArray,
2715
+ Ie as compass_getListAdditionalApps,
2716
+ W as couleurs,
2689
2717
  Ae as createUserGroups,
2690
2718
  oe as dataMixing,
2691
2719
  Ue as deleteUserGroups,
2692
2720
  _e as findAdresse,
2693
- qe as getAllContextSecurity,
2721
+ Ye as getAllContextSecurity,
2694
2722
  H as getCSRFToken,
2695
2723
  Se as getCommunes,
2696
- ke as getComplementUG,
2697
- Ye as getDataFrom3DSpace,
2724
+ je as getComplementUG,
2725
+ qe as getDataFrom3DSpace,
2698
2726
  we as getDataFromGouvFr,
2699
2727
  Ze as getDatasByTenant,
2700
2728
  et as getDatasFrom3DSpace,
2701
2729
  He as getDownloadDocument,
2702
2730
  st as getInfoDocTags,
2703
- je as getUserGroupsList,
2704
- Y as getUsersGroupRules,
2731
+ ke as getUserGroupsList,
2732
+ q as getUsersGroupRules,
2705
2733
  Qe as get_3DSpace_csrf,
2706
2734
  xe as patchUserGroups,
2707
2735
  Pe as patchUserGroupsControl,
2708
2736
  ze as pushDataIn3DSpace,
2709
2737
  Re as readUserGroupControl,
2710
2738
  nt as removeTagToDoc,
2711
- Ut as sayHello,
2739
+ xt as sayHello,
2712
2740
  Ce as updateEvent
2713
2741
  };
2714
2742
  //# sourceMappingURL=wb3Api.js.map