@beam3_dev/api_module 0.0.180 → 0.0.182

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 E } from "uuid";
1
+ import { v4 as V } from "uuid";
2
2
  import { DateTime as I } from "luxon";
3
3
  import { requirejs as O, widget as R } from "@widget-lab/3ddashboard-utils";
4
4
  function D() {
5
- return E();
5
+ return V();
6
6
  }
7
- const K = {
7
+ const B = {
8
8
  b3M3Yellow: "#FFB300",
9
9
  b3AboutageBlue: "#42A5F5",
10
10
  b3UsinageGreen: "#689F38",
@@ -65,11 +65,11 @@ async function ge(e, t = void 0, n = void 0) {
65
65
  n && n(s), console.error("Erreur : " + s);
66
66
  });
67
67
  }
68
- async function he(e, t = K) {
68
+ async function he(e, t = B) {
69
69
  let n = I.now().year;
70
- const s = e, i = [], c = (a) => {
71
- for (let r in a)
72
- i.push({ date: r, comment: a[r] });
70
+ const s = e, i = [], r = (a) => {
71
+ for (let c in a)
72
+ i.push({ date: c, comment: a[c] });
73
73
  };
74
74
  for (let a = n; a <= n + 1; a++)
75
75
  await fetch(
@@ -80,20 +80,20 @@ async function he(e, t = K) {
80
80
  Accept: "application/json"
81
81
  }
82
82
  }
83
- ).then((r) => r.json()).then((r) => {
84
- c(r);
85
- }).catch((r) => console.error("Erreur : " + r));
83
+ ).then((c) => c.json()).then((c) => {
84
+ r(c);
85
+ }).catch((c) => console.error("Erreur : " + c));
86
86
  return (() => {
87
87
  const a = s.length === 0 ? {
88
88
  events: []
89
89
  } : s;
90
- for (let r of i)
90
+ for (let c of i)
91
91
  a.events.findIndex(
92
- (p) => p.start === I.fromISO(r.date).toISODate() && p.name === "Férié : " + r.comment
92
+ (p) => p.start === I.fromISO(c.date).toISODate() && p.name === "Férié : " + c.comment
93
93
  ) === -1 && a.events.push({
94
- name: "Férié : " + r.comment,
95
- start: I.fromISO(r.date).toISODate(),
96
- end: I.fromISO(r.date).toISODate(),
94
+ name: "Férié : " + c.comment,
95
+ start: I.fromISO(c.date).toISODate(),
96
+ end: I.fromISO(c.date).toISODate(),
97
97
  color: t.b3BusinnessDays,
98
98
  timed: !1
99
99
  });
@@ -102,7 +102,7 @@ async function he(e, t = K) {
102
102
  }
103
103
  async function Se(e, t, n = !0) {
104
104
  const s = e.events.findIndex((i) => i.uuid === t.uuid);
105
- return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, c) => i.start - c.start), e;
105
+ 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;
106
106
  }
107
107
  function m(e, t) {
108
108
  O(["DS/WAFData/WAFData"], (n) => {
@@ -147,17 +147,17 @@ async function Ce(e, t = void 0, n = void 0) {
147
147
  }
148
148
  );
149
149
  }
150
- function V() {
150
+ function W() {
151
151
  let e = {};
152
152
  return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
153
- const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.getApplicationConfiguration(
153
+ const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
154
154
  "com.3ds.wp.passport.cors"
155
155
  );
156
156
  e = {
157
157
  tenant: n,
158
158
  user: s,
159
159
  appsConfiguration: i,
160
- appConf: c
160
+ appConf: r
161
161
  };
162
162
  }), console.log("%cRETOUR API :", "color:blue", e), e;
163
163
  }
@@ -166,9 +166,9 @@ function C(e, t = void 0, n = void 0) {
166
166
  const s = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
167
167
  m(s, {
168
168
  onComplete(i) {
169
- const c = typeof i == "string" ? JSON.parse(i) : i;
170
- if (c && "platforms" in c) {
171
- const o = c.platforms.find(
169
+ const r = typeof i == "string" ? JSON.parse(i) : i;
170
+ if (r && "platforms" in r) {
171
+ const o = r.platforms.find(
172
172
  (a) => a.id === e.tenant.toUpperCase()
173
173
  );
174
174
  t && o ? t(o) : n && n("_getServiceUrl return listServiceUrl = undefined");
@@ -186,9 +186,9 @@ function Te(e, t = void 0, n = void 0) {
186
186
  const s = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
187
187
  m(s, {
188
188
  onComplete(i) {
189
- const c = JSON.parse(i);
190
- if (console.log("serviceId=3dpassport", c), Array.isArray(c) && c.length > 0) {
191
- const o = `${c[0].services[0].url}`;
189
+ const r = JSON.parse(i);
190
+ if (console.log("serviceId=3dpassport", r), Array.isArray(r) && r.length > 0) {
191
+ const o = `${r[0].services[0].url}`;
192
192
  t && t(o);
193
193
  }
194
194
  },
@@ -211,15 +211,15 @@ function be(e, t, n) {
211
211
  "Content-Type": "application/json",
212
212
  Accept: "application/json"
213
213
  },
214
- onComplete(c, o, a) {
215
- const r = JSON.parse(c), d = r.data.map((p) => {
214
+ onComplete(r, o, a) {
215
+ const c = JSON.parse(r), d = c.data.map((p) => {
216
216
  const l = p.attributes.name, f = p.id;
217
217
  return { name: l, id: f };
218
218
  });
219
- t && t(d, r);
219
+ t && t(d, c);
220
220
  },
221
- onFailure(c, o) {
222
- const a = c;
221
+ onFailure(r, o) {
222
+ const a = r;
223
223
  a.msg = o.errormsg, a.errCode = o.errorcode, n && n(a);
224
224
  }
225
225
  });
@@ -227,42 +227,42 @@ function be(e, t, n) {
227
227
  function Oe(e, t = void 0, n = void 0) {
228
228
  let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
229
229
  m(s, {
230
- onComplete(i, c, o) {
230
+ onComplete(i, r, o) {
231
231
  const a = JSON.parse(i);
232
232
  console.log("_AppMngt_get_users => ", a), t && t(a);
233
233
  },
234
- onFailure(i, c) {
234
+ onFailure(i, r) {
235
235
  const o = i;
236
- o.msg = c.errormsg, o.errCode = c.errorcode, n && n(o);
236
+ o.msg = r.errormsg, o.errCode = r.errorcode, n && n(o);
237
237
  }
238
238
  });
239
239
  }
240
240
  function $e(e, t, n = void 0, s = void 0) {
241
241
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
242
242
  m(i, {
243
- onComplete(c, o, a) {
244
- const r = JSON.parse(c);
245
- n && n(r);
243
+ onComplete(r, o, a) {
244
+ const c = JSON.parse(r);
245
+ n && n(c);
246
246
  },
247
- onFailure(c, o) {
248
- const a = c;
247
+ onFailure(r, o) {
248
+ const a = r;
249
249
  a.msg = o.errormsg, a.errCode = o.errorcode, s && s(a);
250
250
  }
251
251
  });
252
252
  }
253
- const k = {
253
+ const P = {
254
254
  "Content-Type": "application/json",
255
255
  Accept: "application/json,text/javascript,*/*"
256
256
  };
257
257
  function ve(e, t, n = void 0, s = void 0) {
258
- const { space: i, currentUser: c } = e, a = `${i}${{
258
+ const { space: i, currentUser: r } = e, a = `${i}${{
259
259
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
260
- }.URIUGr}`, r = {
260
+ }.URIUGr}`, c = {
261
261
  groups: [
262
262
  {
263
263
  title: t.title,
264
264
  description: t.description,
265
- members: t.members || [c.email, "samuel.mureau@beam3.fr"],
265
+ members: t.members || [r.email, "samuel.mureau@beam3.fr"],
266
266
  pending_members: [],
267
267
  sharing: t.sharing,
268
268
  visibility: t.visibility
@@ -271,8 +271,8 @@ function ve(e, t, n = void 0, s = void 0) {
271
271
  };
272
272
  m(a, {
273
273
  method: "POST",
274
- headers: k,
275
- data: JSON.stringify(r),
274
+ headers: P,
275
+ data: JSON.stringify(c),
276
276
  onComplete(d) {
277
277
  n && n(JSON.parse(d));
278
278
  },
@@ -284,7 +284,7 @@ function ve(e, t, n = void 0, s = void 0) {
284
284
  });
285
285
  }
286
286
  function Ne(e, t, n = void 0, s = void 0) {
287
- const { space: i, tenant: c } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, r = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${c}`, d = `${o}${a}${r}`;
287
+ 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}`;
288
288
  m(d, {
289
289
  opts: {
290
290
  method: "GET",
@@ -302,13 +302,13 @@ function Ne(e, t, n = void 0, s = void 0) {
302
302
  }
303
303
  });
304
304
  }
305
- function B(e, t = void 0, n = void 0) {
306
- const { space: s, tenant: i } = e, c = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, r = {
305
+ function X(e, t = void 0, n = void 0) {
306
+ const { space: s, tenant: i } = e, r = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
307
307
  method: "GET",
308
308
  Accept: "application/json,*/*,test/javascript"
309
- }, d = `${c}${o}${a}`;
309
+ }, d = `${r}${o}${a}`;
310
310
  m(d, {
311
- OPTsH: r,
311
+ OPTsH: c,
312
312
  onComplete(p) {
313
313
  t && t(JSON.parse(p));
314
314
  },
@@ -330,7 +330,7 @@ function Ie(e, t = void 0, n = void 0) {
330
330
  const l = JSON.parse(p), f = {}, u = l.groups.filter((g) => g.uri.startsWith("uuid:"));
331
331
  if (i && Object.keys(i).length > 0) {
332
332
  const g = u.filter((y) => y.owner === i.email), h = u.filter((y) => y.members.includes(i.email)), S = g.concat(h);
333
- f.iam = S, f.UG = u, f.iamMember = h, B(
333
+ f.iam = S, f.UG = u, f.iamMember = h, X(
334
334
  e,
335
335
  (y) => {
336
336
  f.rules = y, t && t(f);
@@ -355,8 +355,8 @@ function Ae(e, t) {
355
355
  method: "DELETE"
356
356
  });
357
357
  }
358
- function je(e, t, n, s = void 0, i = void 0) {
359
- const { space: c, tenant: o } = e, a = {
358
+ function ke(e, t, n, s = void 0, i = void 0) {
359
+ const { space: r, tenant: o } = e, a = {
360
360
  URITI: "/3drdfpersist/resources/v1/template-instances",
361
361
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
362
362
  nextURICh: "/characteristics",
@@ -364,9 +364,9 @@ function je(e, t, n, s = void 0, i = void 0) {
364
364
  nexURImem: "/members",
365
365
  OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
366
366
  OPTsTenant: `tenant=dstenant:${o}`
367
- }, r = n, d = `${c}${a.URIUGr}/${t}`, p = JSON.stringify(r);
367
+ }, c = n, d = `${r}${a.URIUGr}/${t}`, p = JSON.stringify(c);
368
368
  m(d, {
369
- headers: k,
369
+ headers: P,
370
370
  method: "PATCH",
371
371
  data: p,
372
372
  type: "json",
@@ -379,10 +379,10 @@ function je(e, t, n, s = void 0, i = void 0) {
379
379
  });
380
380
  }
381
381
  function Ue(e, t, n, s = void 0, i = void 0) {
382
- const { space: c } = e, a = `${c}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
382
+ const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
383
383
  m(a, {
384
384
  method: "PATCH",
385
- headers: k,
385
+ headers: P,
386
386
  data: JSON.stringify(n),
387
387
  type: "json",
388
388
  onComplete(d) {
@@ -393,7 +393,7 @@ function Ue(e, t, n, s = void 0, i = void 0) {
393
393
  }
394
394
  });
395
395
  }
396
- function ke(e, t, n = void 0, s = void 0) {
396
+ function Pe(e, t, n = void 0, s = void 0) {
397
397
  const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
398
398
  m(o, {
399
399
  opts: {
@@ -411,37 +411,37 @@ function ke(e, t, n = void 0, s = void 0) {
411
411
  }
412
412
  });
413
413
  }
414
- async function W(e, t, n) {
414
+ async function Y(e, t, n) {
415
415
  if (e.space) {
416
416
  const s = `${e.space}/resources/v1/application/CSRF`;
417
417
  m(s, {
418
418
  onComplete(i) {
419
419
  i = JSON.parse(i), t && t(i.csrf);
420
420
  },
421
- onFailure(i, c, o) {
422
- n && n({ error: i, headers: c, xhr: o });
421
+ onFailure(i, r, o) {
422
+ n && n({ error: i, headers: r, xhr: o });
423
423
  }
424
424
  });
425
425
  }
426
426
  }
427
427
  var A = {};
428
- function X(e, t) {
428
+ function z(e, t) {
429
429
  return Object.prototype.hasOwnProperty.call(e, t);
430
430
  }
431
- var Y = function(e, t, n, s) {
431
+ var H = function(e, t, n, s) {
432
432
  t = t || "&", n = n || "=";
433
433
  var i = {};
434
434
  if (typeof e != "string" || e.length === 0)
435
435
  return i;
436
- var c = /\+/g;
436
+ var r = /\+/g;
437
437
  e = e.split(t);
438
438
  var o = 1e3;
439
439
  s && typeof s.maxKeys == "number" && (o = s.maxKeys);
440
440
  var a = e.length;
441
441
  o > 0 && a > o && (a = o);
442
- for (var r = 0; r < a; ++r) {
443
- var d = e[r].replace(c, "%20"), p = d.indexOf(n), l, f, u, g;
444
- p >= 0 ? (l = d.substr(0, p), f = d.substr(p + 1)) : (l = d, f = ""), u = decodeURIComponent(l), g = decodeURIComponent(f), X(i, u) ? Array.isArray(i[u]) ? i[u].push(g) : i[u] = [i[u], g] : i[u] = g;
442
+ for (var c = 0; c < a; ++c) {
443
+ var d = e[c].replace(r, "%20"), p = d.indexOf(n), l, f, u, g;
444
+ p >= 0 ? (l = d.substr(0, p), f = d.substr(p + 1)) : (l = d, f = ""), u = decodeURIComponent(l), g = decodeURIComponent(f), z(i, u) ? Array.isArray(i[u]) ? i[u].push(g) : i[u] = [i[u], g] : i[u] = g;
445
445
  }
446
446
  return i;
447
447
  }, N = function(e) {
@@ -455,25 +455,25 @@ var Y = function(e, t, n, s) {
455
455
  default:
456
456
  return "";
457
457
  }
458
- }, H = function(e, t, n, s) {
458
+ }, q = function(e, t, n, s) {
459
459
  return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
460
- var c = encodeURIComponent(N(i)) + n;
460
+ var r = encodeURIComponent(N(i)) + n;
461
461
  return Array.isArray(e[i]) ? e[i].map(function(o) {
462
- return c + encodeURIComponent(N(o));
463
- }).join(t) : c + encodeURIComponent(N(e[i]));
462
+ return r + encodeURIComponent(N(o));
463
+ }).join(t) : r + encodeURIComponent(N(e[i]));
464
464
  }).filter(Boolean).join(t) : s ? encodeURIComponent(N(s)) + n + encodeURIComponent(N(e)) : "";
465
465
  };
466
- A.decode = A.parse = Y;
467
- A.encode = A.stringify = H;
468
- async function z(e, t = void 0, n = void 0, s = void 0) {
466
+ A.decode = A.parse = H;
467
+ A.encode = A.stringify = q;
468
+ async function L(e, t = void 0, n = void 0, s = void 0) {
469
469
  const i = e.space;
470
470
  if (t === void 0) {
471
471
  console.log("Le paramètre docid est obligatoire");
472
472
  return;
473
473
  }
474
- const c = i + `/resources/v1/modeler/documents/${t}`;
475
- m(c, {
476
- onComplete(o, a, r) {
474
+ const r = i + `/resources/v1/modeler/documents/${t}`;
475
+ m(r, {
476
+ onComplete(o, a, c) {
477
477
  const d = JSON.parse(o);
478
478
  n && n(d);
479
479
  },
@@ -482,22 +482,22 @@ async function z(e, t = void 0, n = void 0, s = void 0) {
482
482
  }
483
483
  });
484
484
  }
485
- async function Fe(e, t = void 0, n = void 0, s = void 0) {
485
+ async function je(e, t = void 0, n = void 0, s = void 0) {
486
486
  const i = e.space;
487
487
  if (t === void 0) {
488
488
  console.log("Le paramètre docids est obligatoire");
489
489
  return;
490
490
  }
491
- let c = `${i}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = A.stringify({
491
+ let r = `${i}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = A.stringify({
492
492
  $ids: t.toString().replace('"', "").replace("[", "").replace("]", "")
493
493
  });
494
- m(c, {
494
+ m(r, {
495
495
  method: "POST",
496
496
  headers: {
497
497
  "Content-Type": "application/x-www-form-urlencoded"
498
498
  },
499
499
  data: o,
500
- onComplete(a, r, d) {
500
+ onComplete(a, c, d) {
501
501
  const p = JSON.parse(a);
502
502
  n && n(p);
503
503
  },
@@ -506,11 +506,11 @@ async function Fe(e, t = void 0, n = void 0, s = void 0) {
506
506
  }
507
507
  });
508
508
  }
509
- function j(e, t = void 0, n = void 0) {
509
+ function k(e, t = void 0, n = void 0) {
510
510
  if (e.objID && e.objID !== "") {
511
511
  let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
512
512
  m(s, {
513
- onComplete(i, c, o) {
513
+ onComplete(i, r, o) {
514
514
  const a = JSON.parse(i);
515
515
  e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
516
516
  },
@@ -533,14 +533,14 @@ function b(e, t = void 0, n = void 0) {
533
533
  if (e.space) {
534
534
  const s = e.space + "/resources/v1/application/CSRF";
535
535
  m(s, {
536
- onComplete(i, c, o) {
536
+ onComplete(i, r, o) {
537
537
  const a = JSON.parse(i);
538
538
  t && t(a.csrf.value);
539
539
  },
540
- onFailure(i, c, o) {
540
+ onFailure(i, r, o) {
541
541
  n && n({
542
542
  response: i,
543
- headers: c,
543
+ headers: r,
544
544
  xhr: o
545
545
  });
546
546
  }
@@ -548,9 +548,9 @@ function b(e, t = void 0, n = void 0) {
548
548
  } else
549
549
  n && n("ERROR : url du 3DSpace non défini.");
550
550
  }
551
- function F(e, t = void 0, n = void 0) {
551
+ function j(e, t = void 0, n = void 0) {
552
552
  let s = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
553
- j(
553
+ k(
554
554
  e,
555
555
  (i) => {
556
556
  m(s, {
@@ -558,12 +558,12 @@ function F(e, t = void 0, n = void 0) {
558
558
  headers: {
559
559
  ENO_CSRF_TOKEN: e.token
560
560
  },
561
- onComplete(c, o) {
562
- const r = JSON.parse(c).data[0].dataelements.ticketURL;
563
- t && t(r, o);
561
+ onComplete(r, o) {
562
+ const c = JSON.parse(r).data[0].dataelements.ticketURL;
563
+ t && t(c, o);
564
564
  },
565
- onFailure(c, o) {
566
- console.warn("☠️ error => ", c, o), n && n(c, o);
565
+ onFailure(r, o) {
566
+ console.warn("☠️ error => ", r, o), n && n(r, o);
567
567
  }
568
568
  });
569
569
  },
@@ -572,9 +572,9 @@ function F(e, t = void 0, n = void 0) {
572
572
  }
573
573
  );
574
574
  }
575
- function xe(e, t, n, s = void 0, i = void 0) {
576
- const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
577
- n || (n = e.token), m(c, {
575
+ function Fe(e, t, n, s = void 0, i = void 0) {
576
+ const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
577
+ n || (n = e.token), m(r, {
578
578
  method: "PUT",
579
579
  headers: {
580
580
  ENO_CSRF_TOKEN: n
@@ -583,10 +583,10 @@ function xe(e, t, n, s = void 0, i = void 0) {
583
583
  let a = JSON.parse(o);
584
584
  if (console.log("☠️ info => ", a), a.success === !0)
585
585
  try {
586
- const r = a.data[0].dataelements.ticketURL;
587
- s && s(r);
588
- } catch (r) {
589
- i && i(r);
586
+ const c = a.data[0].dataelements.ticketURL;
587
+ s && s(c);
588
+ } catch (c) {
589
+ i && i(c);
590
590
  }
591
591
  },
592
592
  onFailure(o) {
@@ -594,7 +594,7 @@ function xe(e, t, n, s = void 0, i = void 0) {
594
594
  }
595
595
  });
596
596
  }
597
- function q(e, t, n, s, i, c = void 0, o = void 0) {
597
+ function M(e, t, n, s, i, r = void 0, o = void 0) {
598
598
  const a = () => Q(
599
599
  e,
600
600
  t,
@@ -602,20 +602,20 @@ function q(e, t, n, s, i, c = void 0, o = void 0) {
602
602
  s,
603
603
  i,
604
604
  e.token,
605
- c,
605
+ r,
606
606
  o
607
607
  );
608
- e.token ? a() : j(
608
+ e.token ? a() : k(
609
609
  e,
610
610
  t,
611
- (r) => {
612
- e.token = r.csrf.value, a();
611
+ (c) => {
612
+ e.token = c.csrf.value, a();
613
613
  }
614
614
  );
615
615
  }
616
- function Q(e, t, n, s, i, c, o = void 0, a = void 0) {
617
- const r = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
618
- m(r, {
616
+ function Q(e, t, n, s, i, r, o = void 0, a = void 0) {
617
+ const c = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
618
+ m(c, {
619
619
  method: "PUT",
620
620
  headers: {
621
621
  ENO_CSRF_TOKEN: e.token
@@ -649,6 +649,8 @@ function Q(e, t, n, s, i, c, o = void 0, a = void 0) {
649
649
  ]
650
650
  },
651
651
  id: t,
652
+ updateAction: "NONE",
653
+ id: t,
652
654
  updateAction: "NONE"
653
655
  }
654
656
  ]
@@ -671,8 +673,33 @@ function Q(e, t, n, s, i, c, o = void 0, a = void 0) {
671
673
  }
672
674
  });
673
675
  }
674
- async function Pe(e, t, n, s, i = void 0, c = void 0) {
675
- const o = e.space, a = e.token, r = e.ctx;
676
+ async function xe(e, t, n, s = void 0, i = void 0) {
677
+ e.space, e.token, e.ctx, L(
678
+ e,
679
+ t,
680
+ (r) => {
681
+ const o = r.data[0].relateddata.files[0].id, a = r.data[0].dataelements.secondaryTitle && r.data[0].dataelements.secondaryTitle !== "" ? r.data[0].dataelements.secondaryTitle : r.data[0].dataelements.title;
682
+ M(
683
+ e,
684
+ t,
685
+ o,
686
+ n,
687
+ a,
688
+ (c) => {
689
+ s && s(c);
690
+ },
691
+ (c) => {
692
+ i && i(c);
693
+ }
694
+ );
695
+ },
696
+ (r) => {
697
+ i && i(r);
698
+ }
699
+ );
700
+ }
701
+ async function Re(e, t, n, s, i = void 0, r = void 0) {
702
+ const o = e.space, a = e.token, c = e.ctx;
676
703
  if (o !== "") {
677
704
  let d = `${o}/resources/v1/modeler/documents/files/CheckinTicket`;
678
705
  m(d, {
@@ -725,16 +752,16 @@ async function Pe(e, t, n, s, i = void 0, c = void 0) {
725
752
  i && i(U);
726
753
  },
727
754
  onFailure(U) {
728
- c && c(U);
755
+ r && r(U);
729
756
  }
730
757
  };
731
758
  m(
732
- o + "/resources/v1/modeler/documents/?SecurityContext=ctx::" + r,
759
+ o + "/resources/v1/modeler/documents/?SecurityContext=ctx::" + c,
733
760
  v
734
761
  );
735
762
  },
736
763
  onFailure(_) {
737
- c && c(_);
764
+ r && r(_);
738
765
  },
739
766
  timeout: 0
740
767
  };
@@ -743,12 +770,12 @@ async function Pe(e, t, n, s, i = void 0, c = void 0) {
743
770
  });
744
771
  }
745
772
  }
746
- function $(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0, o = !1) {
773
+ function $(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
747
774
  const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
748
775
  m(a, {
749
776
  method: "GET",
750
- onComplete(r) {
751
- const d = JSON.parse(r);
777
+ onComplete(c) {
778
+ const d = JSON.parse(c);
752
779
  let p = "", l, f, u;
753
780
  if (t) {
754
781
  let g = d.collabspaces.find((h) => h.title === t);
@@ -767,7 +794,7 @@ function $(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0, o = !1
767
794
  let _ = h.filter(
768
795
  (T) => T.role.name === S
769
796
  );
770
- _.length === 1 ? (u = _[0].role.name, f = _[0].organization.title) : c(_);
797
+ _.length === 1 ? (u = _[0].role.name, f = _[0].organization.title) : r(_);
771
798
  }
772
799
  });
773
800
  }) : h.forEach((S) => {
@@ -777,29 +804,29 @@ function $(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0, o = !1
777
804
  let y = h.filter(
778
805
  (_) => _.role.name === n
779
806
  );
780
- y.length === 1 ? (u = y[0].role.name, f = y[0].organization.title) : c(y);
807
+ y.length === 1 ? (u = y[0].role.name, f = y[0].organization.title) : r(y);
781
808
  }
782
809
  }));
783
810
  }
784
811
  }
785
- l && f && u ? (p = u + "." + f + "." + l, i(p)) : d.preferredcredentials && o ? (p = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, i(p)) : c && (p = u + "." + f + "." + l, c(p));
812
+ l && f && u ? (p = u + "." + f + "." + l, i(p)) : d.preferredcredentials && o ? (p = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, i(p)) : r && (p = u + "." + f + "." + l, r(p));
786
813
  },
787
- onFailure(r, d) {
814
+ onFailure(c, d) {
788
815
  console.warn("Erreur de récupération du contexte de sécurité. => ", {
789
- err: r,
816
+ err: c,
790
817
  headers: d
791
818
  });
792
819
  }
793
820
  });
794
821
  }
795
- async function L(e, t = void 0, n = void 0) {
822
+ async function J(e, t = void 0, n = void 0) {
796
823
  return (!e.objID || e.objID === "") && (console.warn(
797
824
  "_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
798
825
  ), n && n(
799
826
  "_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
800
827
  )), (e.space === "" || !e.space) && (console.warn(
801
828
  "_3DSpace_download_doc() / Le paramètre space est obligatoire"
802
- ), n && n("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && W(
829
+ ), n && n("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && Y(
803
830
  e,
804
831
  (s) => {
805
832
  e.token = s;
@@ -808,14 +835,14 @@ async function L(e, t = void 0, n = void 0) {
808
835
  console.log("☠️ error => ", s);
809
836
  }
810
837
  ), new Promise((s, i) => {
811
- F(
838
+ j(
812
839
  e,
813
- (c) => {
814
- e?.returnType === "blob" ? (console.log("ticketURL blob", c), fetch(c).then((o) => o.blob()).then((o) => {
840
+ (r) => {
841
+ e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
815
842
  t && t(o);
816
843
  }).catch((o) => {
817
844
  n && n(o);
818
- })) : m(c, {
845
+ })) : m(r, {
819
846
  onComplete(o) {
820
847
  let a;
821
848
  try {
@@ -825,21 +852,21 @@ async function L(e, t = void 0, n = void 0) {
825
852
  }
826
853
  t && typeof t == "function" && t(a), s(a);
827
854
  },
828
- onFailure(o, a, r) {
855
+ onFailure(o, a, c) {
829
856
  n && (console.log("error http", o), n({
830
857
  msg: JSON.parse(o),
831
858
  headers: a,
832
- xhr: r
859
+ xhr: c
833
860
  }), i({
834
861
  msg: JSON.parse(o),
835
862
  headers: a,
836
- xhr: r
863
+ xhr: c
837
864
  }));
838
865
  }
839
866
  });
840
867
  },
841
- (c) => {
842
- n && n(c), console.log("*_3dspace_download_doc / error file URL *", c), i(c);
868
+ (r) => {
869
+ n && n(r), console.log("*_3dspace_download_doc / error file URL *", r), i(r);
843
870
  }
844
871
  );
845
872
  });
@@ -848,8 +875,8 @@ async function Z(e, t, n = void 0, s = void 0) {
848
875
  let i = [];
849
876
  if (typeof t < "u" && Array.isArray(t) && t?.length > 0) {
850
877
  for (let a = 0; a < t.length; a += 80) {
851
- const r = t.slice(a, a + 80);
852
- i.push(r);
878
+ const c = t.slice(a, a + 80);
879
+ i.push(c);
853
880
  }
854
881
  const o = (a) => {
855
882
  ee(
@@ -858,8 +885,8 @@ async function Z(e, t, n = void 0, s = void 0) {
858
885
  () => {
859
886
  a++, a < i.length && o(a);
860
887
  },
861
- (r) => {
862
- n && n(r);
888
+ (c) => {
889
+ n && n(c);
863
890
  }
864
891
  );
865
892
  };
@@ -872,10 +899,10 @@ async function Z(e, t, n = void 0, s = void 0) {
872
899
  );
873
900
  }
874
901
  function ee(e, t, n = void 0, s = void 0, i = void 0) {
875
- const c = [];
876
- t.forEach((r) => {
877
- c.push({
878
- id: r
902
+ const r = [];
903
+ t.forEach((c) => {
904
+ r.push({
905
+ id: c
879
906
  });
880
907
  });
881
908
  let o = JSON.stringify({
@@ -883,16 +910,16 @@ function ee(e, t, n = void 0, s = void 0, i = void 0) {
883
910
  name: "ENO_CSRF_TOKEN",
884
911
  value: e.token
885
912
  },
886
- data: c
913
+ data: r
887
914
  });
888
915
  const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
889
916
  m(a, {
890
917
  method: "PUT",
891
918
  data: o,
892
919
  type: "json",
893
- onComplete(r) {
894
- const d = r.data;
895
- r.success === !0 && (n && n(), d.forEach((p) => {
920
+ onComplete(c) {
921
+ const d = c.data;
922
+ c.success === !0 && (n && n(), d.forEach((p) => {
896
923
  try {
897
924
  const l = p.dataelements.fileName, f = p.dataelements.ticketURL;
898
925
  m(f, {
@@ -919,15 +946,15 @@ function ee(e, t, n = void 0, s = void 0, i = void 0) {
919
946
  }
920
947
  }));
921
948
  },
922
- onFailure(r) {
923
- console.log(r), i && i(r);
949
+ onFailure(c) {
950
+ console.log(c), i && i(c);
924
951
  }
925
952
  });
926
953
  }
927
- function Re(e, t, n = void 0, s = void 0) {
954
+ function De(e, t, n = void 0, s = void 0) {
928
955
  return new Promise((i) => {
929
956
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
930
- const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
957
+ const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
931
958
  $(
932
959
  e.space,
933
960
  "ESPACE COMMUN",
@@ -961,12 +988,12 @@ function Re(e, t, n = void 0, s = void 0) {
961
988
  s && s(a);
962
989
  }
963
990
  };
964
- m(c, o);
991
+ m(r, o);
965
992
  }
966
993
  });
967
994
  }
968
- function De(e, t, n, s = void 0, i = void 0) {
969
- return new Promise((c) => {
995
+ function Le(e, t, n, s = void 0, i = void 0) {
996
+ return new Promise((r) => {
970
997
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
971
998
  const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
972
999
  $(
@@ -974,9 +1001,9 @@ function De(e, t, n, s = void 0, i = void 0) {
974
1001
  "ESPACE COMMUN",
975
1002
  ["VPLMProjectLeader", "VPLMCreator"],
976
1003
  void 0,
977
- (r) => e.ctx = r,
978
- (r) => {
979
- console.log("onError =>", r);
1004
+ (c) => e.ctx = c,
1005
+ (c) => {
1006
+ console.log("onError =>", c);
980
1007
  }
981
1008
  );
982
1009
  let a = {
@@ -996,21 +1023,21 @@ function De(e, t, n, s = void 0, i = void 0) {
996
1023
  ]
997
1024
  }),
998
1025
  type: "json",
999
- onComplete(r) {
1000
- s && s(r);
1026
+ onComplete(c) {
1027
+ s && s(c);
1001
1028
  },
1002
- onFailure(r) {
1003
- i && i(r);
1029
+ onFailure(c) {
1030
+ i && i(c);
1004
1031
  }
1005
1032
  };
1006
1033
  m(o, a);
1007
1034
  }
1008
1035
  });
1009
1036
  }
1010
- function Le(e, t, n = void 0, s = void 0) {
1037
+ function Me(e, t, n = void 0, s = void 0) {
1011
1038
  return new Promise((i) => {
1012
1039
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1013
- const c = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1040
+ const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1014
1041
  $(
1015
1042
  e.space,
1016
1043
  "ESPACE COMMUN",
@@ -1044,14 +1071,14 @@ function Le(e, t, n = void 0, s = void 0) {
1044
1071
  s && s(a);
1045
1072
  }
1046
1073
  };
1047
- m(c, o);
1074
+ m(r, o);
1048
1075
  }
1049
1076
  });
1050
1077
  }
1051
- function Me(e, t, n = void 0, s = void 0) {
1078
+ function Je(e, t, n = void 0, s = void 0) {
1052
1079
  return new Promise((i) => {
1053
1080
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1054
- const c = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1081
+ const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1055
1082
  $(
1056
1083
  e.space,
1057
1084
  "ESPACE COMMUN",
@@ -1091,12 +1118,12 @@ function Me(e, t, n = void 0, s = void 0) {
1091
1118
  s && s(a);
1092
1119
  }
1093
1120
  };
1094
- m(c, o);
1121
+ m(r, o);
1095
1122
  }
1096
1123
  });
1097
1124
  }
1098
- function Je(e, t, n, s = void 0, i = void 0) {
1099
- return new Promise((c) => {
1125
+ function Ge(e, t, n, s = void 0, i = void 0) {
1126
+ return new Promise((r) => {
1100
1127
  if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
1101
1128
  const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1102
1129
  $(
@@ -1104,9 +1131,9 @@ function Je(e, t, n, s = void 0, i = void 0) {
1104
1131
  "ESPACE COMMUN",
1105
1132
  ["VPLMProjectLeader", "VPLMCreator"],
1106
1133
  void 0,
1107
- (r) => e.ctx = r,
1108
- (r) => {
1109
- console.log("onError =>", r);
1134
+ (c) => e.ctx = c,
1135
+ (c) => {
1136
+ console.log("onError =>", c);
1110
1137
  }
1111
1138
  );
1112
1139
  let a = {
@@ -1131,21 +1158,21 @@ function Je(e, t, n, s = void 0, i = void 0) {
1131
1158
  notificationTimeout: 600
1132
1159
  }),
1133
1160
  type: "json",
1134
- onComplete(r) {
1135
- s && s(r);
1161
+ onComplete(c) {
1162
+ s && s(c);
1136
1163
  },
1137
- onFailure(r) {
1138
- i && i(r);
1164
+ onFailure(c) {
1165
+ i && i(c);
1139
1166
  }
1140
1167
  };
1141
1168
  m(o, a);
1142
1169
  }
1143
1170
  });
1144
1171
  }
1145
- function Ge(e, t, n, s, i = void 0, c = void 0) {
1172
+ function Ee(e, t, n, s, i = void 0, r = void 0) {
1146
1173
  return new Promise((o) => {
1147
1174
  const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
1148
- let r = {
1175
+ let c = {
1149
1176
  attributes: {
1150
1177
  title: n,
1151
1178
  description: s,
@@ -1154,7 +1181,7 @@ function Ge(e, t, n, s, i = void 0, c = void 0) {
1154
1181
  }, d = {
1155
1182
  items: []
1156
1183
  };
1157
- t && (d.parentId = t), d.items.push(r);
1184
+ t && (d.parentId = t), d.items.push(c);
1158
1185
  let p = {
1159
1186
  method: "POST",
1160
1187
  headers: {
@@ -1169,13 +1196,13 @@ function Ge(e, t, n, s, i = void 0, c = void 0) {
1169
1196
  i && i(l);
1170
1197
  },
1171
1198
  onFailure(l) {
1172
- c && c(l);
1199
+ r && r(l);
1173
1200
  }
1174
1201
  };
1175
1202
  m(a, p);
1176
1203
  });
1177
1204
  }
1178
- function Ee(e, t, n, s, i = void 0, c = void 0) {
1205
+ function Ke(e, t, n, s, i = void 0, r = void 0) {
1179
1206
  return console.log("credentials", e), new Promise((o) => {
1180
1207
  `${e.space}`, JSON.stringify({
1181
1208
  csrf: {
@@ -1199,7 +1226,7 @@ function Ee(e, t, n, s, i = void 0, c = void 0) {
1199
1226
  });
1200
1227
  }
1201
1228
  //!SECTION
1202
- function Ke(e, t = void 0, n = void 0) {
1229
+ function Ve(e, t = void 0, n = void 0) {
1203
1230
  const s = {
1204
1231
  base: `${e.space}`,
1205
1232
  uri: "/resources/bps/cspaces",
@@ -1211,57 +1238,57 @@ function Ke(e, t = void 0, n = void 0) {
1211
1238
  Accept: "application/json,text/javascript,*/*",
1212
1239
  "Content-Type": "application/ds-json"
1213
1240
  },
1214
- onComplete(c, o) {
1215
- const a = JSON.parse(c);
1241
+ onComplete(r, o) {
1242
+ const a = JSON.parse(r);
1216
1243
  t && t(a, o);
1217
1244
  },
1218
- onFailure(c, o, a) {
1219
- n && n({ response: c, headers: o, xhr: a });
1245
+ onFailure(r, o, a) {
1246
+ n && n({ response: r, headers: o, xhr: a });
1220
1247
  }
1221
1248
  });
1222
1249
  }
1223
- function Ve(e, t, n, s) {
1224
- F(
1250
+ function Be(e, t, n, s) {
1251
+ j(
1225
1252
  e.space,
1226
1253
  t,
1227
1254
  (i) => {
1228
1255
  m(i, {
1229
1256
  header: { ENO_CSRF_TOKEN: e.token },
1230
- onComplete: (c) => {
1231
- n && n(c);
1257
+ onComplete: (r) => {
1258
+ n && n(r);
1232
1259
  },
1233
- onFailure: (c) => {
1234
- console.log("error http", c), s && s(c);
1260
+ onFailure: (r) => {
1261
+ console.log("error http", r), s && s(r);
1235
1262
  }
1236
1263
  });
1237
1264
  }
1238
1265
  );
1239
1266
  }
1240
- async function Be(e, t, n = void 0, s = void 0) {
1267
+ async function We(e, t, n = void 0, s = void 0) {
1241
1268
  return new Promise((i) => {
1242
- F(e, t, (c) => {
1243
- m(c, {
1244
- onComplete: (o, a, r) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, r), i),
1245
- onFailure: (o, a, r) => {
1246
- s && s(o, a, r), console.log(o, a?.errormsg);
1269
+ j(e, t, (r) => {
1270
+ m(r, {
1271
+ onComplete: (o, a, c) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, c), i),
1272
+ onFailure: (o, a, c) => {
1273
+ s && s(o, a, c), console.log(o, a?.errormsg);
1247
1274
  }
1248
1275
  });
1249
1276
  });
1250
1277
  });
1251
1278
  }
1252
- function We(e, t, n, s = void 0, i = void 0) {
1253
- const c = new Blob([JSON.stringify(t)], { type: "text/plain" });
1254
- j(
1279
+ function Xe(e, t, n, s = void 0, i = void 0) {
1280
+ const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1281
+ k(
1255
1282
  e,
1256
1283
  n,
1257
1284
  (o) => {
1258
- const a = o.data[0].relateddata.files[0].id, r = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
1259
- q(
1285
+ const a = o.data[0].relateddata.files[0].id, c = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
1286
+ M(
1260
1287
  e,
1261
1288
  n,
1262
1289
  a,
1263
- c,
1264
1290
  r,
1291
+ c,
1265
1292
  (d) => {
1266
1293
  s && s(d);
1267
1294
  },
@@ -1272,10 +1299,10 @@ function We(e, t, n, s = void 0, i = void 0) {
1272
1299
  }
1273
1300
  );
1274
1301
  }
1275
- let M, J;
1276
- const x = [];
1277
- async function Xe(e, t = void 0, n = void 0) {
1278
- e.objID && e.objID !== "" ? j(
1302
+ let G, E;
1303
+ const F = [];
1304
+ async function Ye(e, t = void 0, n = void 0) {
1305
+ e.objID && e.objID !== "" ? k(
1279
1306
  e,
1280
1307
  (s) => {
1281
1308
  t && t(s);
@@ -1293,8 +1320,8 @@ async function Xe(e, t = void 0, n = void 0) {
1293
1320
  }
1294
1321
  );
1295
1322
  }
1296
- async function Ye(e, t = void 0, n = void 0) {
1297
- console.log("getDatasByTenant (getDocuments)", e), await L(
1323
+ async function ze(e, t = void 0, n = void 0) {
1324
+ console.log("getDatasByTenant (getDocuments)", e), await J(
1298
1325
  e,
1299
1326
  (s) => {
1300
1327
  const i = {};
@@ -1311,12 +1338,12 @@ function He(e, t = void 0, n = void 0) {
1311
1338
  console.warn("la liste est vide ou n'est pas un tableau");
1312
1339
  return;
1313
1340
  }
1314
- e.objIds.forEach((i, c) => {
1315
- L(
1341
+ e.objIds.forEach((i, r) => {
1342
+ J(
1316
1343
  e,
1317
1344
  i.objID,
1318
1345
  (o) => {
1319
- s.push({ [i.name]: o }), i.name === "dbProjets" && (M = o.affaires.map((a) => a.objectID), te(e, J)), c === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
1346
+ s.push({ [i.name]: o }), i.name === "dbProjets" && (G = o.affaires.map((a) => a.objectID), te(e, E)), r === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
1320
1347
  }
1321
1348
  );
1322
1349
  });
@@ -1324,10 +1351,10 @@ function He(e, t = void 0, n = void 0) {
1324
1351
  function te(e, t, n = void 0, s = void 0) {
1325
1352
  Z(
1326
1353
  e,
1327
- M,
1354
+ G,
1328
1355
  (i) => {
1329
- const c = [...t];
1330
- c.find((o) => o.objectID === i.objectId).data = i.data, J = c, x.push(i.data), n && n(x);
1356
+ const r = [...t];
1357
+ r.find((o) => o.objectID === i.objectId).data = i.data, E = r, F.push(i.data), n && n(F);
1331
1358
  },
1332
1359
  (i) => {
1333
1360
  s && (s(i), console.log(i));
@@ -1341,7 +1368,7 @@ const ne = "FA35FB9B177A280065800EA0000F599C", se = [
1341
1368
  "usersgroup",
1342
1369
  "3dplan",
1343
1370
  "dashboard"
1344
- ], G = {
1371
+ ], K = {
1345
1372
  how: "ds6w:how",
1346
1373
  what: "ds6w:what",
1347
1374
  when: "ds6w:when",
@@ -1354,11 +1381,11 @@ const ne = "FA35FB9B177A280065800EA0000F599C", se = [
1354
1381
  order_by: "desc",
1355
1382
  tag: "testTag"
1356
1383
  };
1357
- function ze(e, t, n = void 0, s = void 0) {
1358
- const { space: i, tenant: c } = e, { objId: o, pred: a, tag: r } = t, d = {
1384
+ function qe(e, t, n = void 0, s = void 0) {
1385
+ const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
1359
1386
  uri: "/resources/6w/tags",
1360
1387
  otpCTX: "SecurityContext=preferred",
1361
- optTenant: `tenant=${c}`
1388
+ optTenant: `tenant=${r}`
1362
1389
  }, p = `${i}${d.uri}?${d.otpCTX}&${d.optTenant}`, l = {
1363
1390
  tag: [
1364
1391
  {
@@ -1367,9 +1394,9 @@ function ze(e, t, n = void 0, s = void 0) {
1367
1394
  uri: `pid://${o}`
1368
1395
  }
1369
1396
  ],
1370
- predicate: G[a],
1397
+ predicate: K[a],
1371
1398
  object: {
1372
- literal: r
1399
+ literal: c
1373
1400
  }
1374
1401
  }
1375
1402
  ]
@@ -1385,7 +1412,7 @@ function ze(e, t, n = void 0, s = void 0) {
1385
1412
  JSON.parse(f);
1386
1413
  const u = {};
1387
1414
  setTimeout(() => {
1388
- z(
1415
+ L(
1389
1416
  e,
1390
1417
  o,
1391
1418
  (g) => {
@@ -1416,17 +1443,17 @@ function ze(e, t, n = void 0, s = void 0) {
1416
1443
  }
1417
1444
  function ae(e, t, n = void 0, s = void 0) {
1418
1445
  console.log("obj ", t);
1419
- const i = t.info.name, c = {
1446
+ const i = t.info.name, r = {
1420
1447
  baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
1421
1448
  uri: "/federated/search"
1422
- }, o = `${c.baseUrl}${c.uri}`, a = {
1449
+ }, o = `${r.baseUrl}${r.uri}`, a = {
1423
1450
  "Content-Type": "application/json",
1424
1451
  Accept: "application/json,text/javascript,*/*"
1425
- }, r = D(), d = {
1452
+ }, c = D(), d = {
1426
1453
  with_indexing_date: !0,
1427
1454
  with_synthesis: !0,
1428
1455
  with_nls: !1,
1429
- label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${r}`,
1456
+ label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${c}`,
1430
1457
  locale: "fr",
1431
1458
  select_predicate: [
1432
1459
  "ds6w:label",
@@ -1497,12 +1524,12 @@ function ae(e, t, n = void 0, s = void 0) {
1497
1524
  }
1498
1525
  });
1499
1526
  }
1500
- function qe(e, t, n = void 0, s = void 0) {
1501
- const { objId: i, pred: c, tag: o } = t, a = {
1527
+ function Qe(e, t, n = void 0, s = void 0) {
1528
+ const { objId: i, pred: r, tag: o } = t, a = {
1502
1529
  uri: "/resources/6w/tags",
1503
1530
  otpCTX: "SecurityContext=preferred",
1504
1531
  optTenant: `tenant=${e.tenant}`
1505
- }, r = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
1532
+ }, c = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
1506
1533
  tag: [
1507
1534
  {
1508
1535
  subject: [
@@ -1510,14 +1537,14 @@ function qe(e, t, n = void 0, s = void 0) {
1510
1537
  uri: `pid://${i}`
1511
1538
  }
1512
1539
  ],
1513
- predicate: G[c],
1540
+ predicate: K[r],
1514
1541
  object: {
1515
1542
  literal: o
1516
1543
  }
1517
1544
  }
1518
1545
  ]
1519
1546
  };
1520
- m(r, {
1547
+ m(c, {
1521
1548
  method: "DELETE",
1522
1549
  data: JSON.stringify(d),
1523
1550
  headers: {
@@ -1533,20 +1560,20 @@ function qe(e, t, n = void 0, s = void 0) {
1533
1560
  }
1534
1561
  });
1535
1562
  }
1536
- function Qe(e, t = "", n = void 0, s = void 0) {
1563
+ function Ze(e, t = "", n = void 0, s = void 0) {
1537
1564
  const { space: i } = e;
1538
1565
  if (t === "")
1539
1566
  return;
1540
- const c = {
1567
+ const r = {
1541
1568
  uri: "/resources/v1/modeler/documents"
1542
1569
  }, o = {
1543
1570
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
1544
1571
  Accept: "application/json,text/javascript,*/*"
1545
- }, a = `${i}${c.uri}`, r = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
1572
+ }, a = `${i}${r.uri}`, c = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
1546
1573
  m(a, {
1547
1574
  method: "POST",
1548
1575
  headers: o,
1549
- data: r,
1576
+ data: c,
1550
1577
  onComplete(d) {
1551
1578
  n && n(JSON.parse(d));
1552
1579
  },
@@ -1557,9 +1584,9 @@ function Qe(e, t = "", n = void 0, s = void 0) {
1557
1584
  });
1558
1585
  }
1559
1586
  async function w(e, t = void 0, n = void 0) {
1560
- const s = e._3DSwym + "/api/index/tk";
1587
+ const s = e.space + "/api/index/tk";
1561
1588
  return m(s, {
1562
- onComplete(i, c, o) {
1589
+ onComplete(i, r, o) {
1563
1590
  const a = JSON.parse(i);
1564
1591
  if (t)
1565
1592
  return t(a), e.token = a?.result?.ServerToken;
@@ -1569,7 +1596,7 @@ async function w(e, t = void 0, n = void 0) {
1569
1596
  }
1570
1597
  });
1571
1598
  }
1572
- function Ze(e, t = void 0, n = void 0) {
1599
+ function et(e, t = void 0, n = void 0) {
1573
1600
  const s = `${e.space}/api/exalead/whatsnew`, i = {
1574
1601
  params: {
1575
1602
  community_id: null,
@@ -1580,11 +1607,11 @@ function Ze(e, t = void 0, n = void 0) {
1580
1607
  start: 0
1581
1608
  }
1582
1609
  };
1583
- w(e, (c) => {
1610
+ w(e, (r) => {
1584
1611
  m(s, {
1585
1612
  method: "POST",
1586
1613
  headers: {
1587
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1614
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1588
1615
  "Content-type": "application/json;charset=UTF-8",
1589
1616
  Accept: "application/json"
1590
1617
  },
@@ -1599,7 +1626,7 @@ function Ze(e, t = void 0, n = void 0) {
1599
1626
  });
1600
1627
  });
1601
1628
  }
1602
- function et(e, t = void 0, n = void 0) {
1629
+ function tt(e, t = void 0, n = void 0) {
1603
1630
  const s = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
1604
1631
  params: {
1605
1632
  idsToFilterArr: [],
@@ -1609,19 +1636,19 @@ function et(e, t = void 0, n = void 0) {
1609
1636
  maxNbOfCommonElements: "5"
1610
1637
  }
1611
1638
  };
1612
- w(e, (c) => {
1639
+ w(e, (r) => {
1613
1640
  m(s, {
1614
1641
  method: "POST",
1615
1642
  headers: {
1616
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1643
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1617
1644
  "Content-type": "application/json;charset=UTF-8",
1618
1645
  Accept: "application/json"
1619
1646
  },
1620
1647
  data: JSON.stringify(i),
1621
1648
  type: "json",
1622
1649
  onComplete(o, a) {
1623
- const r = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1624
- t && t(r, o);
1650
+ const c = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1651
+ t && t(c, o);
1625
1652
  },
1626
1653
  onFailure(o, a) {
1627
1654
  n && n(o, a);
@@ -1629,20 +1656,20 @@ function et(e, t = void 0, n = void 0) {
1629
1656
  });
1630
1657
  });
1631
1658
  }
1632
- function tt(e, t = void 0, n = void 0) {
1659
+ function nt(e, t = void 0, n = void 0) {
1633
1660
  const s = {
1634
1661
  base: e.space,
1635
1662
  uri: "/api/community/listmycommunities",
1636
1663
  limit: `/limit/${e.limit ? e.limit : 128}`,
1637
1664
  page: `/page/${e.page ? e.page : "1"}`
1638
- }, i = `${s.base}${s.uri}${s.limit}${s.page}`, c = [];
1665
+ }, i = `${s.base}${s.uri}${s.limit}${s.page}`, r = [];
1639
1666
  w(e, (o) => {
1640
1667
  m(i, {
1641
1668
  method: "GET",
1642
1669
  headers: {
1643
1670
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1644
1671
  },
1645
- onComplete(a, r, d) {
1672
+ onComplete(a, c, d) {
1646
1673
  const l = JSON.parse(a).result;
1647
1674
  let f = 0;
1648
1675
  l.forEach((u) => {
@@ -1658,21 +1685,21 @@ function tt(e, t = void 0, n = void 0) {
1658
1685
  e,
1659
1686
  u.id,
1660
1687
  (h) => {
1661
- f++, g.members = h, c.push(g), f === l.length && t && t(c);
1688
+ f++, g.members = h, r.push(g), f === l.length && t && t(r);
1662
1689
  },
1663
1690
  (h) => n(h)
1664
1691
  );
1665
1692
  });
1666
1693
  },
1667
- onFailure(a, r) {
1694
+ onFailure(a, c) {
1668
1695
  const d = a;
1669
- d.status = r.status, d.response = r.errormsg, n && n(d);
1696
+ d.status = c.status, d.response = c.errormsg, n && n(d);
1670
1697
  }
1671
1698
  });
1672
1699
  });
1673
1700
  }
1674
1701
  function oe(e, t, n, s) {
1675
- const i = `${e.space}/api/community/listmembers`, c = {
1702
+ const i = `${e.space}/api/community/listmembers`, r = {
1676
1703
  params: {
1677
1704
  page: e.page ? e.page : 1,
1678
1705
  limit: e.limit ? e.limit : 50,
@@ -1687,47 +1714,47 @@ function oe(e, t, n, s) {
1687
1714
  Accept: "application/json",
1688
1715
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1689
1716
  },
1690
- data: JSON.stringify(c),
1717
+ data: JSON.stringify(r),
1691
1718
  type: "json",
1692
- onComplete(a, r, d) {
1719
+ onComplete(a, c, d) {
1693
1720
  n && n(a);
1694
1721
  },
1695
- onFailure(a, r) {
1722
+ onFailure(a, c) {
1696
1723
  const d = a;
1697
- d.status = r.status, d.response = r.errormsg, s && s(d);
1724
+ d.status = c.status, d.response = c.errormsg, s && s(d);
1698
1725
  }
1699
1726
  });
1700
1727
  });
1701
1728
  }
1702
- function nt(e, t = void 0, n = void 0) {
1729
+ function st(e, t = void 0, n = void 0) {
1703
1730
  const s = "YXdA5x4DSUKtlAi2wmnyTA";
1704
1731
  e.commu_id || (e.commu_id = s);
1705
1732
  const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
1706
- w(e, (c) => {
1733
+ w(e, (r) => {
1707
1734
  m(i, {
1708
1735
  method: "GET",
1709
1736
  headers: {
1710
1737
  "Content-type": "application/json;charset=UTF-8",
1711
1738
  Accept: "application/json",
1712
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1739
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1713
1740
  },
1714
1741
  onComplete(o) {
1715
1742
  const a = JSON.parse(o);
1716
1743
  t && t(a);
1717
1744
  },
1718
1745
  onFailure(o, a) {
1719
- const r = o;
1720
- r.status = a.status, r.response = a.errormsg, n && n(r);
1746
+ const c = o;
1747
+ c.status = a.status, c.response = a.errormsg, n && n(c);
1721
1748
  }
1722
1749
  });
1723
1750
  });
1724
1751
  }
1725
- function st(e, t, n = void 0, s = void 0) {
1726
- const { listAllContacts: i, currentUser: c } = e;
1752
+ function it(e, t, n = void 0, s = void 0) {
1753
+ const { listAllContacts: i, currentUser: r } = e;
1727
1754
  console.log("__listAllContacts", i.hits);
1728
1755
  const o = `${e.space}/api/directmessages`, a = {
1729
- users: [c.login].concat(t.receipt)
1730
- }, r = {
1756
+ users: [r.login].concat(t.receipt)
1757
+ }, c = {
1731
1758
  id_msg: "",
1732
1759
  senderId: e.currentUser.login,
1733
1760
  senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
@@ -1737,10 +1764,10 @@ function st(e, t, n = void 0, s = void 0) {
1737
1764
  re(
1738
1765
  a.users,
1739
1766
  (p) => {
1740
- p !== void 0 && (r.id_msg = p.id, d = !0, P(e, r));
1767
+ p !== void 0 && (c.id_msg = p.id, d = !0, x(e, c));
1741
1768
  },
1742
1769
  (p) => {
1743
- d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), s && s(p), r.id_msg = "";
1770
+ d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), s && s(p), c.id_msg = "";
1744
1771
  }
1745
1772
  ), d === !1 && setTimeout(() => {
1746
1773
  d === !1 && w(e, (p) => {
@@ -1755,7 +1782,7 @@ function st(e, t, n = void 0, s = void 0) {
1755
1782
  type: "json",
1756
1783
  onComplete(l, f, u) {
1757
1784
  const g = l;
1758
- g.reponse = JSON.parse(u.response), g.status = u.status, n && n(g), r.id_msg = g.result.id, P(e, r);
1785
+ g.reponse = JSON.parse(u.response), g.status = u.status, n && n(g), c.id_msg = g.result.id, x(e, c);
1759
1786
  },
1760
1787
  onFailure(l, f, u) {
1761
1788
  const g = l;
@@ -1767,19 +1794,19 @@ function st(e, t, n = void 0, s = void 0) {
1767
1794
  }
1768
1795
  function re(e, t, n, s) {
1769
1796
  const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
1770
- w(e, (c) => {
1797
+ w(e, (r) => {
1771
1798
  m(i, {
1772
1799
  method: "GET",
1773
1800
  headers: {
1774
1801
  Accept: "application/json,text/javascript,*/*",
1775
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1802
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1776
1803
  },
1777
1804
  onComplete(o) {
1778
- const a = JSON.parse(o), r = [];
1805
+ const a = JSON.parse(o), c = [];
1779
1806
  a.result.forEach((l) => {
1780
- l.users = l.users.sort((f, u) => f.login.localeCompare(u.login)), l.users.length === t.length && r.push(l);
1807
+ l.users = l.users.sort((f, u) => f.login.localeCompare(u.login)), l.users.length === t.length && c.push(l);
1781
1808
  });
1782
- const d = t.sort(), p = r.find((l) => {
1809
+ const d = t.sort(), p = c.find((l) => {
1783
1810
  const f = [];
1784
1811
  return l.users.forEach((u) => {
1785
1812
  f.push(u.login);
@@ -1794,13 +1821,13 @@ function re(e, t, n, s) {
1794
1821
  });
1795
1822
  });
1796
1823
  }
1797
- function P(e, t, n = void 0, s = void 0) {
1824
+ function x(e, t, n = void 0, s = void 0) {
1798
1825
  const i = {
1799
1826
  base: e.space,
1800
1827
  uri: "/api/community",
1801
1828
  id_msg: `${t.id_msg}`,
1802
1829
  endUri: "/instantmessages"
1803
- }, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
1830
+ }, r = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
1804
1831
  author: { login: t.senderId, displayName: t.senderName },
1805
1832
  accessState: null,
1806
1833
  commentUri: null,
@@ -1810,8 +1837,8 @@ function P(e, t, n = void 0, s = void 0) {
1810
1837
  parentCommentUri: null,
1811
1838
  richMessage: t.msg
1812
1839
  };
1813
- console.log("_3dSwym_sendDirectMessageData url ", c), w(e, (a) => {
1814
- m(c, {
1840
+ console.log("_3dSwym_sendDirectMessageData url ", r), w(e, (a) => {
1841
+ m(r, {
1815
1842
  method: "POST",
1816
1843
  headers: {
1817
1844
  "Content-Type": "application/json",
@@ -1820,12 +1847,12 @@ function P(e, t, n = void 0, s = void 0) {
1820
1847
  },
1821
1848
  data: JSON.stringify(o),
1822
1849
  type: "json",
1823
- onComplete(r, d, p) {
1824
- const l = r;
1850
+ onComplete(c, d, p) {
1851
+ const l = c;
1825
1852
  l.status = p.status, l.response = JSON.parse(p.response), console.log("✅ _3dSwym_sendDirectMessageData => ", l), n && n(l);
1826
1853
  },
1827
- onFailure(r, d) {
1828
- const p = r;
1854
+ onFailure(c, d) {
1855
+ const p = c;
1829
1856
  p.msg = d.errormsg, p.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", p), s && s(p);
1830
1857
  }
1831
1858
  });
@@ -1848,16 +1875,16 @@ const de = {
1848
1875
  idee_id: "THhRI8rlQNWKRxpv3Xqqug"
1849
1876
  // id de l'idee qui est créer au post (_3dSwym_postIdea)
1850
1877
  };
1851
- function it(e, t, n = void 0, s = void 0) {
1852
- const i = `${e.space}/api/idea/add`, c = e.swymCommunities.find(
1853
- (r) => r.id === t.community_id
1878
+ function at(e, t, n = void 0, s = void 0) {
1879
+ const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
1880
+ (c) => c.id === t.community_id
1854
1881
  ), o = e.swymCommunities.find(
1855
- (r) => r.title.toLowerCase() === t.community_title.toLowerCase()
1882
+ (c) => c.title.toLowerCase() === t.community_title.toLowerCase()
1856
1883
  ), a = {
1857
1884
  params: {
1858
1885
  title: t.title,
1859
1886
  // String, le nom de l'affaire
1860
- community_id: c?.id !== void 0 ? c.id : o.id,
1887
+ community_id: r?.id !== void 0 ? r.id : o.id,
1861
1888
  // String, l'id de la communauté
1862
1889
  message: pe(t.text_html),
1863
1890
  // STRING => le contenue du message doit être au format HTML
@@ -1865,11 +1892,11 @@ function it(e, t, n = void 0, s = void 0) {
1865
1892
  // 1 publier, 0 non publier
1866
1893
  }
1867
1894
  };
1868
- w(e, (r) => {
1895
+ w(e, (c) => {
1869
1896
  const d = {
1870
1897
  "Content-type": "application/json;charset=UTF-8",
1871
1898
  Accept: "application/json",
1872
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1899
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1873
1900
  };
1874
1901
  m(i, {
1875
1902
  method: "POST",
@@ -1887,8 +1914,8 @@ function it(e, t, n = void 0, s = void 0) {
1887
1914
  });
1888
1915
  });
1889
1916
  }
1890
- function at(e, t, n = void 0, s = void 0) {
1891
- const i = `${e.space}/api/idea/delete`, c = {
1917
+ function ot(e, t, n = void 0, s = void 0) {
1918
+ const i = `${e.space}/api/idea/delete`, r = {
1892
1919
  params: {
1893
1920
  community_id: t.community_id,
1894
1921
  ideationIds: [t.idee_id]
@@ -1902,66 +1929,68 @@ function at(e, t, n = void 0, s = void 0) {
1902
1929
  Accept: "application/json",
1903
1930
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1904
1931
  },
1905
- data: JSON.stringify(c),
1932
+ data: JSON.stringify(r),
1906
1933
  type: "json",
1907
- onComplete(a, r, d) {
1934
+ onComplete(a, c, d) {
1908
1935
  n && n(a);
1909
1936
  },
1910
- onFailure(a, r, d) {
1937
+ onFailure(a, c, d) {
1911
1938
  const p = a;
1912
- p.status = r.status, p.response = r.errormsg, s && s(p);
1939
+ p.status = c.status, p.response = c.errormsg, s && s(p);
1913
1940
  }
1914
1941
  });
1915
1942
  });
1916
1943
  }
1917
- function ot(e, t = "", n = void 0, s = void 0) {
1918
- const i = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
1919
- t === "" && (t = i);
1920
- const c = `${e.space}/api/idea/get`, o = {
1944
+ function rt(e, t = void 0, n = void 0) {
1945
+ const s = `${e.space}/api/idea/get`;
1946
+ if (e.idPost === "") {
1947
+ const r = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
1948
+ throw new Error(`Erreur sur cette requête : ${s}`, { cause: r });
1949
+ }
1950
+ const i = {
1921
1951
  params: {
1922
- id: t
1952
+ id: e.idPost
1923
1953
  }
1924
1954
  };
1925
- w(e, (a) => {
1926
- m(c, {
1955
+ w(e, (r) => {
1956
+ m(s, {
1927
1957
  method: "POST",
1928
1958
  headers: {
1929
1959
  "Content-type": "application/json;charset=UTF-8",
1930
1960
  Accept: "application/json",
1931
- "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
1961
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1932
1962
  },
1933
- data: JSON.stringify(o),
1934
- type: "json",
1935
- onComplete(r) {
1936
- const d = r;
1937
- d.msg = d.result.message, n && n(d);
1963
+ data: JSON.stringify(i),
1964
+ onComplete(o) {
1965
+ const a = { response: o };
1966
+ a.msg = a.result.message, t && t(a);
1938
1967
  },
1939
- onFailure(r) {
1940
- const d = r;
1941
- d.status = headers.status, d.response = headers.errormsg, s && s(d);
1968
+ onFailure(o) {
1969
+ const a = o;
1970
+ a.status = headers.status, a.response = headers.errormsg, n && n(a);
1942
1971
  }
1943
1972
  });
1944
1973
  });
1945
1974
  }
1946
- function rt(e, t = de, n = void 0, s = void 0) {
1975
+ function ct(e, t = de, n = void 0, s = void 0) {
1947
1976
  const i = {
1948
1977
  uri: "/api/idea/list",
1949
1978
  comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
1950
1979
  limit: `/limit/${t.limit ? t.limit : 10}`
1951
- }, c = `${e.space}${i.uri}${i.comId}${i.limit}`;
1980
+ }, r = `${e.space}${i.uri}${i.comId}${i.limit}`;
1952
1981
  w(e, (o) => {
1953
- m(c, {
1982
+ m(r, {
1954
1983
  method: "GET",
1955
1984
  headers: {
1956
1985
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1957
1986
  },
1958
1987
  onComplete(a) {
1959
- const r = JSON.parse(a);
1960
- n && n(r);
1988
+ const c = JSON.parse(a);
1989
+ n && n(c);
1961
1990
  },
1962
- onFailure(a, r) {
1991
+ onFailure(a, c) {
1963
1992
  const d = a;
1964
- d.status = r.status, d.response = r.errormsg, s && s(d);
1993
+ d.status = c.status, d.response = c.errormsg, s && s(d);
1965
1994
  }
1966
1995
  });
1967
1996
  });
@@ -2041,7 +2070,7 @@ function pe(e) {
2041
2070
  <p>
2042
2071
  </p>` : e;
2043
2072
  }
2044
- function ct(e, t = void 0, n = void 0) {
2073
+ function dt(e, t = void 0, n = void 0) {
2045
2074
  const s = e.space + "/api/user/getcurrent/";
2046
2075
  w(e, (i) => {
2047
2076
  m(s, {
@@ -2049,26 +2078,26 @@ function ct(e, t = void 0, n = void 0) {
2049
2078
  headers: {
2050
2079
  "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken
2051
2080
  },
2052
- onComplete(c, o, a) {
2053
- const r = JSON.parse(c);
2054
- t && t(r.result);
2081
+ onComplete(r, o, a) {
2082
+ const c = JSON.parse(r);
2083
+ t && t(c.result);
2055
2084
  },
2056
- onFailure(c, o, a) {
2057
- const r = { erreur: JSON.parse(c), headers: o, xhr: a };
2058
- n && n(r);
2085
+ onFailure(r, o, a) {
2086
+ const c = { erreur: JSON.parse(r), headers: o, xhr: a };
2087
+ n && n(c);
2059
2088
  }
2060
2089
  });
2061
2090
  });
2062
2091
  }
2063
- function dt(e, t, n = void 0, s = void 0) {
2092
+ function pt(e, t, n = void 0, s = void 0) {
2064
2093
  const i = e.space + "/api/user/find/login/" + t;
2065
2094
  w(
2066
2095
  e,
2067
- (c) => {
2096
+ (r) => {
2068
2097
  m(i, {
2069
2098
  method: "GET",
2070
- headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
2071
- onComplete(o, a, r) {
2099
+ headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
2100
+ onComplete(o, a, c) {
2072
2101
  const d = JSON.parse(o);
2073
2102
  n && n(d);
2074
2103
  },
@@ -2080,22 +2109,22 @@ function dt(e, t, n = void 0, s = void 0) {
2080
2109
  s
2081
2110
  );
2082
2111
  }
2083
- function pt(e, t = void 0, n = void 0) {
2112
+ function lt(e, t = void 0, n = void 0) {
2084
2113
  e.tenant && C(e, (s) => {
2085
2114
  console.log("serviceUrls", s);
2086
- const i = s.services.find((c) => c.id === "businessprocess")?.url + "/api/v2";
2115
+ const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
2087
2116
  return t && t(i), i;
2088
2117
  });
2089
2118
  }
2090
- function lt(e, t = void 0, n = void 0) {
2119
+ function ut(e, t = void 0, n = void 0) {
2091
2120
  e.tenant && C(e, (s) => {
2092
2121
  console.log("serviceUrls", s);
2093
- const i = s.services.find((a) => a.id === "3dpassport")?.url, c = s.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${c}/auth/cas`;
2122
+ 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`;
2094
2123
  m(o, {
2095
2124
  async onComplete(a) {
2096
2125
  console.log("response", a);
2097
- const r = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url;
2098
- await fetch(r, {
2126
+ const c = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url;
2127
+ await fetch(c, {
2099
2128
  method: "POST"
2100
2129
  }).then((d) => d.json()).then(async (d) => {
2101
2130
  t && t(d?.token);
@@ -2107,7 +2136,7 @@ function lt(e, t = void 0, n = void 0) {
2107
2136
  });
2108
2137
  });
2109
2138
  }
2110
- function ut(e, t = void 0, n = void 0) {
2139
+ function ft(e, t = void 0, n = void 0) {
2111
2140
  if (e.tenant) {
2112
2141
  const s = e.tenant.toLowerCase();
2113
2142
  fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
@@ -2119,34 +2148,34 @@ function ut(e, t = void 0, n = void 0) {
2119
2148
  });
2120
2149
  }
2121
2150
  }
2122
- async function ft(e, t, n = void 0, s = void 0) {
2151
+ async function mt(e, t, n = void 0, s = void 0) {
2123
2152
  e.tenant && C(e, (i) => {
2124
- const o = `${i.services.find((r) => r.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
2153
+ const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
2125
2154
  fetch(`https://api.uixhome.fr/${a}/iterop/listusers?t=${t}&s=${o}`, {
2126
2155
  method: "POST"
2127
- }).then((r) => r.json()).then((r) => {
2128
- n && n(r);
2129
- }).catch((r) => {
2130
- s && s(r);
2156
+ }).then((c) => c.json()).then((c) => {
2157
+ n && n(c);
2158
+ }).catch((c) => {
2159
+ s && s(c);
2131
2160
  });
2132
2161
  });
2133
2162
  }
2134
- async function mt(e, t, n = void 0, s = void 0) {
2163
+ async function gt(e, t, n = void 0, s = void 0) {
2135
2164
  e.tenant && C(e, (i) => {
2136
- const o = `${i.services.find((r) => r.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, a = e.tenant.toLowerCase();
2165
+ const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, a = e.tenant.toLowerCase();
2137
2166
  fetch(`https://api.uixhome.fr/${a}/iterop/repository/data/tables?t=${t}&s=${o}`, {
2138
2167
  method: "GET"
2139
- }).then((r) => r.json()).then((r) => {
2140
- n && n(r);
2141
- }).catch((r) => {
2142
- s && s(r);
2168
+ }).then((c) => c.json()).then((c) => {
2169
+ n && n(c);
2170
+ }).catch((c) => {
2171
+ s && s(c);
2143
2172
  });
2144
2173
  });
2145
2174
  }
2146
- async function gt(e, t, n, s = void 0, i = void 0) {
2175
+ async function ht(e, t, n, s = void 0, i = void 0) {
2147
2176
  if (e.tenant) {
2148
- const c = e.tenant.toLowerCase();
2149
- fetch(`https://api.uixhome.fr/${c}/iterop//businesstable/${n}?t=${t}`, {
2177
+ const r = e.tenant.toLowerCase();
2178
+ fetch(`https://api.uixhome.fr/${r}/iterop//businesstable/${n}?t=${t}`, {
2150
2179
  method: "POST"
2151
2180
  }).then((o) => o.json()).then((o) => {
2152
2181
  s && s(o);
@@ -2155,10 +2184,10 @@ async function gt(e, t, n, s = void 0, i = void 0) {
2155
2184
  });
2156
2185
  }
2157
2186
  }
2158
- async function ht(e, t, n, s = void 0, i = void 0) {
2187
+ async function St(e, t, n, s = void 0, i = void 0) {
2159
2188
  if (e.tenant) {
2160
- const c = e.tenant.toLowerCase();
2161
- fetch(`https://api.uixhome.fr/${c}/iterop//businesstable/${n}/rows/?t=${t}`, {
2189
+ const r = e.tenant.toLowerCase();
2190
+ fetch(`https://api.uixhome.fr/${r}/iterop//businesstable/${n}/rows/?t=${t}`, {
2162
2191
  method: "POST"
2163
2192
  }).then((o) => o.json()).then((o) => {
2164
2193
  s && s(o);
@@ -2167,41 +2196,41 @@ async function ht(e, t, n, s = void 0, i = void 0) {
2167
2196
  });
2168
2197
  }
2169
2198
  }
2170
- async function St(e, t, n, s, i = void 0, c = void 0) {
2199
+ async function yt(e, t, n, s, i = void 0, r = void 0) {
2171
2200
  e.tenant && C(e, (o) => {
2172
- o.services.find((r) => r.id === "businessprocess")?.url + "";
2201
+ o.services.find((c) => c.id === "businessprocess")?.url + "";
2173
2202
  const a = e.tenant.toLowerCase();
2174
2203
  fetch(
2175
2204
  `https://api.uixhome.fr/${a}/iterop/runtime/processes/${n}?t=${t}&b=${s}`,
2176
2205
  {
2177
2206
  method: "POST"
2178
2207
  }
2179
- ).then((r) => r.json()).then((r) => {
2180
- i && i(r);
2181
- }).catch((r) => {
2182
- c && c(r);
2208
+ ).then((c) => c.json()).then((c) => {
2209
+ i && i(c);
2210
+ }).catch((c) => {
2211
+ r && r(c);
2183
2212
  });
2184
2213
  });
2185
2214
  }
2186
- async function yt(e, t, n, s, i, c = void 0, o = void 0) {
2215
+ async function _t(e, t, n, s, i, r = void 0, o = void 0) {
2187
2216
  e.tenant && C(e, (a) => {
2188
2217
  a.services.find((d) => d.id === "businessprocess")?.url + "";
2189
- const r = e.tenant.toLowerCase();
2218
+ const c = e.tenant.toLowerCase();
2190
2219
  fetch(
2191
- `https://api.uixhome.fr/${r}/iterop/businesstable/patch/${n}/rows?t=${t}&rowsToAdd=${s}&rowsToRemove=${i}`,
2220
+ `https://api.uixhome.fr/${c}/iterop/businesstable/patch/${n}/rows?t=${t}&rowsToAdd=${s}&rowsToRemove=${i}`,
2192
2221
  {
2193
2222
  method: "POST"
2194
2223
  }
2195
2224
  ).then((d) => d.json()).then((d) => {
2196
- c && c(d);
2225
+ r && r(d);
2197
2226
  }).catch((d) => {
2198
2227
  o && o(d);
2199
2228
  });
2200
2229
  });
2201
2230
  }
2202
- async function _t(e, t, n, s = void 0, i = void 0) {
2203
- e.tenant && C(e, (c) => {
2204
- c.services.find((a) => a.id === "businessprocess")?.url + "";
2231
+ async function wt(e, t, n, s = void 0, i = void 0) {
2232
+ e.tenant && C(e, (r) => {
2233
+ r.services.find((a) => a.id === "businessprocess")?.url + "";
2205
2234
  const o = e.tenant.toLowerCase();
2206
2235
  fetch(
2207
2236
  `https://api.uixhome.fr/${o}/iterop/dependencytable/one/${n}/?t=${t}`,
@@ -2215,46 +2244,46 @@ async function _t(e, t, n, s = void 0, i = void 0) {
2215
2244
  });
2216
2245
  });
2217
2246
  }
2218
- async function wt(e, t, n, s, i, c = void 0, o = void 0) {
2247
+ async function Ct(e, t, n, s, i, r = void 0, o = void 0) {
2219
2248
  e.tenant && C(e, (a) => {
2220
2249
  a.services.find((d) => d.id === "businessprocess")?.url + "";
2221
- const r = e.tenant.toLowerCase();
2250
+ const c = e.tenant.toLowerCase();
2222
2251
  fetch(
2223
- `https://api.uixhome.fr/${r}/iterop/dependencytable/patch/${n}/?t=${t}&cli=${s}&b=${i}`,
2252
+ `https://api.uixhome.fr/${c}/iterop/dependencytable/patch/${n}/?t=${t}&cli=${s}&b=${i}`,
2224
2253
  {
2225
2254
  method: "POST"
2226
2255
  }
2227
2256
  ).then((d) => d.json()).then((d) => {
2228
- c && c(d);
2257
+ r && r(d);
2229
2258
  }).catch((d) => {
2230
2259
  o && o(d);
2231
2260
  });
2232
2261
  });
2233
2262
  }
2234
- async function Ct(e, t, n, s, i = void 0, c = void 0) {
2263
+ async function Tt(e, t, n, s, i = void 0, r = void 0) {
2235
2264
  e.tenant && C(e, (o) => {
2236
- o.services.find((r) => r.id === "businessprocess")?.url + "";
2265
+ o.services.find((c) => c.id === "businessprocess")?.url + "";
2237
2266
  const a = e.tenant.toLowerCase();
2238
2267
  fetch(
2239
2268
  `https://api.uixhome.fr/${a}/iterop/dependencytable/put/${n}/?t=${t}&b=${s}`,
2240
2269
  {
2241
2270
  method: "POST"
2242
2271
  }
2243
- ).then((r) => r.json()).then((r) => {
2244
- i && i(r);
2245
- }).catch((r) => {
2246
- c && c(r);
2272
+ ).then((c) => c.json()).then((c) => {
2273
+ i && i(c);
2274
+ }).catch((c) => {
2275
+ r && r(c);
2247
2276
  });
2248
2277
  });
2249
2278
  }
2250
- function Tt(e) {
2279
+ function bt(e) {
2251
2280
  const t = "Hello " + e;
2252
2281
  return console.log(t), t;
2253
2282
  }
2254
- function bt(e, t = void 0, n = void 0) {
2283
+ function Ot(e, t = void 0, n = void 0) {
2255
2284
  return console.log("credentials", e), new Promise((s) => {
2256
2285
  if (e.token === "" && b(e), !e.space || e.space === "") {
2257
- const o = V();
2286
+ const o = W();
2258
2287
  console.log("platformeInfo", o);
2259
2288
  }
2260
2289
  $(
@@ -2268,14 +2297,14 @@ function bt(e, t = void 0, n = void 0) {
2268
2297
  },
2269
2298
  !0
2270
2299
  );
2271
- const i = I.now().ts, c = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
2272
- m(c, {
2300
+ const i = I.now().ts, r = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
2301
+ m(r, {
2273
2302
  onComplete(o) {
2274
2303
  if (Array.isArray(JSON.parse(o))) {
2275
2304
  const a = JSON.parse(o);
2276
2305
  console.log("serviceId=3dsearch", a);
2277
- const r = `${a[0].services[0].url}/search?xrequestedwith=xmlhttprequest`;
2278
- m(r, {
2306
+ const c = `${a[0].services[0].url}/search?xrequestedwith=xmlhttprequest`;
2307
+ m(c, {
2279
2308
  method: "POST",
2280
2309
  headers: {
2281
2310
  Accept: "application/json",
@@ -2332,90 +2361,91 @@ function bt(e, t = void 0, n = void 0) {
2332
2361
  }
2333
2362
  export {
2334
2363
  D as UUID,
2335
- bt as _3DSearch_usersGroup,
2336
- Pe as _3DSpace_Create_Doc,
2337
- Ee as _3DSpace_bookmark_addSubsciptions,
2338
- Ge as _3DSpace_bookmark_newWorkspace,
2364
+ Ot as _3DSearch_usersGroup,
2365
+ Re as _3DSpace_Create_Doc,
2366
+ xe as _3DSpace_Update_Doc,
2367
+ Ke as _3DSpace_bookmark_addSubsciptions,
2368
+ Ee as _3DSpace_bookmark_newWorkspace,
2339
2369
  b as _3DSpace_csrf,
2340
- L as _3DSpace_download_doc,
2370
+ J as _3DSpace_download_doc,
2341
2371
  Z as _3DSpace_download_multidoc,
2342
- q as _3DSpace_file_update,
2372
+ M as _3DSpace_file_update,
2343
2373
  Q as _3DSpace_file_update_csr,
2344
- xe as _3DSpace_file_url_csr,
2345
- j as _3DSpace_get_csrf,
2346
- z as _3DSpace_get_docInfo,
2374
+ Fe as _3DSpace_file_url_csr,
2375
+ k as _3DSpace_get_csrf,
2376
+ L as _3DSpace_get_docInfo,
2347
2377
  ee as _3DSpace_get_downloadTicket_multidoc,
2348
- Fe as _3DSpace_get_multiDocInfo,
2378
+ je as _3DSpace_get_multiDocInfo,
2349
2379
  $ as _3DSpace_get_securityContexts,
2350
- F as _3DSpace_get_ticket,
2351
- Je as _3DSpace_lifecycle_changeRevision,
2352
- De as _3DSpace_lifecycle_changeState,
2353
- Le as _3DSpace_lifecycle_getGraph,
2354
- Me as _3DSpace_lifecycle_getNextRevision,
2355
- Re as _3DSpace_lifecycle_getNextStates,
2356
- st as _3DSwym_buildDirectMessage,
2357
- at as _3DSwym_deleteIdea,
2380
+ j as _3DSpace_get_ticket,
2381
+ Ge as _3DSpace_lifecycle_changeRevision,
2382
+ Le as _3DSpace_lifecycle_changeState,
2383
+ Me as _3DSpace_lifecycle_getGraph,
2384
+ Je as _3DSpace_lifecycle_getNextRevision,
2385
+ De as _3DSpace_lifecycle_getNextStates,
2386
+ it as _3DSwym_buildDirectMessage,
2387
+ ot as _3DSwym_deleteIdea,
2358
2388
  re as _3DSwym_findCommunityToInstantMSG,
2359
- tt as _3DSwym_getAllCommunities,
2360
- Ze as _3DSwym_getAllNews,
2361
- et as _3DSwym_getFamiliarPeople,
2362
- nt as _3DSwym_getIdeaStatusMaturity,
2389
+ nt as _3DSwym_getAllCommunities,
2390
+ et as _3DSwym_getAllNews,
2391
+ tt as _3DSwym_getFamiliarPeople,
2392
+ st as _3DSwym_getIdeaStatusMaturity,
2363
2393
  oe as _3DSwym_getMembersCommunity,
2364
- ot as _3DSwym_getSWYMIdea,
2365
- rt as _3DSwym_get_AllSWYMIdeas,
2366
- ct as _3DSwym_get_currentUser,
2367
- dt as _3DSwym_get_findUser,
2368
- w as _3DSwym_get_version,
2369
- it as _3DSwym_postIdea,
2370
- P as _3DSwym_sendMessageData,
2394
+ rt as _3DSwym_getOneIdea,
2395
+ ct as _3DSwym_get_AllSWYMIdeas,
2396
+ w as _3DSwym_get_Token,
2397
+ dt as _3DSwym_get_currentUser,
2398
+ pt as _3DSwym_get_findUser,
2399
+ at as _3DSwym_postIdeaTemplate,
2400
+ x as _3DSwym_sendMessageData,
2371
2401
  $e as _AppMngt_get_info_user,
2372
2402
  Oe as _AppMngt_get_users,
2373
- yt as _Iterop_AddOrRemoveRows,
2374
- lt as _Iterop_Auth_CAS,
2375
- _t as _Iterop_GetOneDependencyTable,
2376
- ft as _Iterop_ListUsers,
2377
- wt as _Iterop_PatchDependencyTable,
2378
- Ct as _Iterop_PutDependencyTable,
2379
- mt as _Iterop_getAllBusinessTables,
2380
- gt as _Iterop_getOneBusinessTable,
2381
- ht as _Iterop_getOneBusinessTableRows,
2382
- ut as _Iterop_jwtUser,
2383
- St as _Iterop_runProcess,
2384
- V as _getPlateformInfos,
2403
+ _t as _Iterop_AddOrRemoveRows,
2404
+ ut as _Iterop_Auth_CAS,
2405
+ wt as _Iterop_GetOneDependencyTable,
2406
+ mt as _Iterop_ListUsers,
2407
+ Ct as _Iterop_PatchDependencyTable,
2408
+ Tt as _Iterop_PutDependencyTable,
2409
+ gt as _Iterop_getAllBusinessTables,
2410
+ ht as _Iterop_getOneBusinessTable,
2411
+ St as _Iterop_getOneBusinessTableRows,
2412
+ ft as _Iterop_jwtUser,
2413
+ yt as _Iterop_runProcess,
2414
+ W as _getPlateformInfos,
2385
2415
  Ce as _getPlatformServices,
2386
2416
  C as _getServiceUrl,
2387
2417
  Te as _getServiceUrl_3DPassport,
2388
- pt as _getServiceUrl_Iterop,
2418
+ lt as _getServiceUrl_Iterop,
2389
2419
  m as _httpCallAuthenticated,
2390
2420
  ye as _setDraggable,
2391
2421
  we as _setDroppable,
2392
2422
  _e as _setupTagger,
2393
- ze as addTagToDoc,
2423
+ qe as addTagToDoc,
2394
2424
  be as compass_getListAdditionalApps,
2395
- K as couleurs,
2425
+ B as couleurs,
2396
2426
  ve as createUserGroups,
2397
2427
  te as dataMixing,
2398
2428
  Ae as deleteUserGroups,
2399
2429
  ge as findAdresse,
2400
- Ke as getAllContextSecurity,
2401
- W as getCSRFToken,
2430
+ Ve as getAllContextSecurity,
2431
+ Y as getCSRFToken,
2402
2432
  me as getCommunes,
2403
2433
  Ne as getComplementUG,
2404
- Ve as getDataFrom3DSpace,
2434
+ Be as getDataFrom3DSpace,
2405
2435
  he as getDataFromGouvFr,
2406
- Ye as getDatasByTenant,
2436
+ ze as getDatasByTenant,
2407
2437
  He as getDatasFrom3DSpace,
2408
- Be as getDownloadDocument,
2409
- Qe as getInfoDocTags,
2438
+ We as getDownloadDocument,
2439
+ Ze as getInfoDocTags,
2410
2440
  Ie as getUserGroupsList,
2411
- B as getUsersGroupRules,
2412
- Xe as get_3DSpace_csrf,
2413
- je as patchUserGroups,
2441
+ X as getUsersGroupRules,
2442
+ Ye as get_3DSpace_csrf,
2443
+ ke as patchUserGroups,
2414
2444
  Ue as patchUserGroupsControl,
2415
- We as pushDataIn3DSpace,
2416
- ke as readUserGroupControl,
2417
- qe as removeTagToDoc,
2418
- Tt as sayHello,
2445
+ Xe as pushDataIn3DSpace,
2446
+ Pe as readUserGroupControl,
2447
+ Qe as removeTagToDoc,
2448
+ bt as sayHello,
2419
2449
  Se as updateEvent
2420
2450
  };
2421
2451
  //# sourceMappingURL=wb3Api.js.map