@beam3_dev/api_module 0.0.328 → 0.0.330
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 +239 -185
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +7 -7
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v4 as V } from "uuid";
|
|
2
|
-
import { DateTime as
|
|
2
|
+
import { DateTime as T } from "luxon";
|
|
3
3
|
import { requirejs as $, widget as L } from "@widget-lab/3ddashboard-utils";
|
|
4
4
|
function Y() {
|
|
5
5
|
return V();
|
|
@@ -66,7 +66,7 @@ async function xe(e, n = void 0, t = void 0) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
async function Ie(e, n = z) {
|
|
69
|
-
let t =
|
|
69
|
+
let t = T.now().year;
|
|
70
70
|
const s = e, i = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
72
72
|
i.push({ date: c, comment: a[c] });
|
|
@@ -89,11 +89,11 @@ async function Ie(e, n = z) {
|
|
|
89
89
|
} : s;
|
|
90
90
|
for (let c of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
|
-
(u) => u.start ===
|
|
92
|
+
(u) => u.start === T.fromISO(c.date).toISODate() && u.name === "Férié : " + c.comment
|
|
93
93
|
) === -1 && a.events.push({
|
|
94
94
|
name: "Férié : " + c.comment,
|
|
95
|
-
start:
|
|
96
|
-
end:
|
|
95
|
+
start: T.fromISO(c.date).toISODate(),
|
|
96
|
+
end: T.fromISO(c.date).toISODate(),
|
|
97
97
|
color: n.b3BusinnessDays,
|
|
98
98
|
timed: !1
|
|
99
99
|
});
|
|
@@ -209,7 +209,7 @@ function ve(e, n = void 0, t = void 0) {
|
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function J(e, n = void 0, t = void 0) {
|
|
213
213
|
if (console.log("_getServiceUrl"), e.tenant) {
|
|
214
214
|
const s = `https://${e.tenant.toLowerCase()}-eu1-compass.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?platform=${e.tenant.toUpperCase()}&cors=true&xrequestedwith=xmlhttprequest`;
|
|
215
215
|
m(s, {
|
|
@@ -296,11 +296,11 @@ function Le(e, n, t = void 0, s = void 0) {
|
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
const
|
|
299
|
+
const I = {
|
|
300
300
|
"Content-Type": "application/json",
|
|
301
301
|
Accept: "application/json,text/javascript,*/*"
|
|
302
302
|
};
|
|
303
|
-
function
|
|
303
|
+
function Je(e, n, t = void 0, s = void 0) {
|
|
304
304
|
const { space: i, currentUser: r } = e, a = `${i}${{
|
|
305
305
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
306
306
|
}.URIUGr}`, c = {
|
|
@@ -317,7 +317,7 @@ function Me(e, n, t = void 0, s = void 0) {
|
|
|
317
317
|
};
|
|
318
318
|
m(a, {
|
|
319
319
|
method: "POST",
|
|
320
|
-
headers:
|
|
320
|
+
headers: I,
|
|
321
321
|
data: JSON.stringify(c),
|
|
322
322
|
onComplete(d) {
|
|
323
323
|
t && t(JSON.parse(d));
|
|
@@ -329,7 +329,7 @@ function Me(e, n, t = void 0, s = void 0) {
|
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function Me(e, n, t = void 0, s = void 0) {
|
|
333
333
|
const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${n}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
|
|
334
334
|
m(d, {
|
|
335
335
|
opts: {
|
|
@@ -406,49 +406,102 @@ function Ge(e, n = void 0, t = void 0) {
|
|
|
406
406
|
t(l);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
const { _usersgroup: s, list_uris: i
|
|
409
|
+
function Ee(e, n, t) {
|
|
410
|
+
const { _usersgroup: s, list_uris: i } = e;
|
|
411
411
|
if (!i || i.length === 0) {
|
|
412
412
|
t({ msg: "getUserGroupsByURIList: lists_uri is empty or undefined" });
|
|
413
413
|
return;
|
|
414
414
|
}
|
|
415
|
-
const
|
|
415
|
+
const r = {
|
|
416
416
|
baseUrl: s,
|
|
417
417
|
uri: "/3drdfpersist/resources/v1/usersgroup/groups",
|
|
418
|
-
opt: "?select=uri,
|
|
419
|
-
},
|
|
418
|
+
opt: "?select=uri,title,owner,members"
|
|
419
|
+
}, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
|
|
420
420
|
method: "POST",
|
|
421
|
-
headers:
|
|
421
|
+
headers: I,
|
|
422
422
|
data: JSON.stringify({ groups: i })
|
|
423
423
|
};
|
|
424
424
|
try {
|
|
425
|
-
m(
|
|
426
|
-
...
|
|
427
|
-
onComplete(
|
|
428
|
-
n && n(JSON.parse(
|
|
425
|
+
m(o, {
|
|
426
|
+
...a,
|
|
427
|
+
onComplete(c) {
|
|
428
|
+
n && n(JSON.parse(c));
|
|
429
429
|
},
|
|
430
|
-
onFailure(
|
|
431
|
-
const
|
|
432
|
-
sendOptions:
|
|
430
|
+
onFailure(c, d) {
|
|
431
|
+
const u = {
|
|
432
|
+
sendOptions: a,
|
|
433
433
|
error: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
|
|
434
|
-
cause:
|
|
434
|
+
cause: c
|
|
435
435
|
}),
|
|
436
|
-
msg:
|
|
436
|
+
msg: d,
|
|
437
437
|
fonction: "getUserGroupsByURIList()"
|
|
438
438
|
};
|
|
439
|
-
t && t(
|
|
439
|
+
t && t(u);
|
|
440
440
|
}
|
|
441
441
|
});
|
|
442
|
-
} catch (
|
|
443
|
-
const
|
|
444
|
-
sendOptions:
|
|
445
|
-
infoError:
|
|
442
|
+
} catch (c) {
|
|
443
|
+
const d = {
|
|
444
|
+
sendOptions: a,
|
|
445
|
+
infoError: c,
|
|
446
446
|
fonction: "getUserGroupsByURIList()",
|
|
447
447
|
error: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
|
|
448
|
-
cause:
|
|
448
|
+
cause: c
|
|
449
|
+
})
|
|
450
|
+
};
|
|
451
|
+
t && t(d);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
function Be(e, n, t) {
|
|
455
|
+
const { _usersgroup: s, list_emails: i } = e;
|
|
456
|
+
if (!i || i.length === 0) {
|
|
457
|
+
t({
|
|
458
|
+
msg: "getUserGroupsByEmailList: lists_email is empty or undefined"
|
|
459
|
+
});
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
const r = {
|
|
463
|
+
baseUrl: s,
|
|
464
|
+
uri: "/3drdfpersist/resources/v1/usersgroup/users/locate",
|
|
465
|
+
opt: "?person_ident=email"
|
|
466
|
+
}, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
|
|
467
|
+
method: "POST",
|
|
468
|
+
headers: I,
|
|
469
|
+
data: JSON.stringify({ users: i })
|
|
470
|
+
};
|
|
471
|
+
try {
|
|
472
|
+
m(o, {
|
|
473
|
+
...a,
|
|
474
|
+
onComplete(c) {
|
|
475
|
+
if (n) {
|
|
476
|
+
const d = JSON.parse(c);
|
|
477
|
+
n({ groupes: d[0].groups, reponse: d });
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
onFailure(c, d) {
|
|
481
|
+
const u = {
|
|
482
|
+
sendOptions: a,
|
|
483
|
+
error: new Error(
|
|
484
|
+
"Erreur sur la fonction getUserGroupsByEmailList()",
|
|
485
|
+
{
|
|
486
|
+
cause: c
|
|
487
|
+
}
|
|
488
|
+
),
|
|
489
|
+
msg: d,
|
|
490
|
+
fonction: "getUserGroupsByEmailList()"
|
|
491
|
+
};
|
|
492
|
+
t && t(u);
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
} catch (c) {
|
|
496
|
+
const d = {
|
|
497
|
+
sendOptions: a,
|
|
498
|
+
infoError: c,
|
|
499
|
+
fonction: "getUserGroupsByEmailList()",
|
|
500
|
+
error: new Error("Erreur sur la fonction getUserGroupsByEmailList()", {
|
|
501
|
+
cause: c
|
|
449
502
|
})
|
|
450
503
|
};
|
|
451
|
-
t && t(
|
|
504
|
+
t && t(d);
|
|
452
505
|
}
|
|
453
506
|
}
|
|
454
507
|
function Ke(e, n) {
|
|
@@ -457,7 +510,7 @@ function Ke(e, n) {
|
|
|
457
510
|
method: "DELETE"
|
|
458
511
|
});
|
|
459
512
|
}
|
|
460
|
-
function
|
|
513
|
+
function qe(e, n, t, s = void 0, i = void 0) {
|
|
461
514
|
const { space: r, tenant: o } = e, a = {
|
|
462
515
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
463
516
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -468,7 +521,7 @@ function Ee(e, n, t, s = void 0, i = void 0) {
|
|
|
468
521
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
469
522
|
}, c = t, d = `${r}${a.URIUGr}/${n}`, u = JSON.stringify(c);
|
|
470
523
|
m(d, {
|
|
471
|
-
headers:
|
|
524
|
+
headers: I,
|
|
472
525
|
method: "PATCH",
|
|
473
526
|
data: u,
|
|
474
527
|
type: "json",
|
|
@@ -480,11 +533,11 @@ function Ee(e, n, t, s = void 0, i = void 0) {
|
|
|
480
533
|
}
|
|
481
534
|
});
|
|
482
535
|
}
|
|
483
|
-
function
|
|
536
|
+
function Xe(e, n, t, s = void 0, i = void 0) {
|
|
484
537
|
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
485
538
|
m(a, {
|
|
486
539
|
method: "PATCH",
|
|
487
|
-
headers:
|
|
540
|
+
headers: I,
|
|
488
541
|
data: JSON.stringify(t),
|
|
489
542
|
type: "json",
|
|
490
543
|
onComplete(d) {
|
|
@@ -495,7 +548,7 @@ function qe(e, n, t, s = void 0, i = void 0) {
|
|
|
495
548
|
}
|
|
496
549
|
});
|
|
497
550
|
}
|
|
498
|
-
function
|
|
551
|
+
function We(e, n, t = void 0, s = void 0) {
|
|
499
552
|
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
500
553
|
m(o, {
|
|
501
554
|
opts: {
|
|
@@ -567,7 +620,7 @@ var se = function(e, n, t, s) {
|
|
|
567
620
|
};
|
|
568
621
|
x.decode = x.parse = se;
|
|
569
622
|
x.encode = x.stringify = ie;
|
|
570
|
-
async function
|
|
623
|
+
async function M(e, n = void 0, t = void 0, s = void 0) {
|
|
571
624
|
const i = e.space;
|
|
572
625
|
if (n === void 0) {
|
|
573
626
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -584,7 +637,7 @@ async function J(e, n = void 0, t = void 0, s = void 0) {
|
|
|
584
637
|
}
|
|
585
638
|
});
|
|
586
639
|
}
|
|
587
|
-
async function
|
|
640
|
+
async function Ve(e, n = void 0, t = void 0, s = void 0) {
|
|
588
641
|
const i = e.space;
|
|
589
642
|
if (n === void 0) {
|
|
590
643
|
console.log("Le paramètre docids est obligatoire");
|
|
@@ -621,7 +674,7 @@ function R(e, n = void 0, t = void 0) {
|
|
|
621
674
|
}
|
|
622
675
|
});
|
|
623
676
|
} else
|
|
624
|
-
|
|
677
|
+
O(
|
|
625
678
|
e,
|
|
626
679
|
(s) => {
|
|
627
680
|
console.log("_3DSpace_get_csrf / _3DSpace_csrf", s), e.token = s, n && n(e);
|
|
@@ -631,7 +684,7 @@ function R(e, n = void 0, t = void 0) {
|
|
|
631
684
|
}
|
|
632
685
|
);
|
|
633
686
|
}
|
|
634
|
-
function
|
|
687
|
+
function O(e, n = void 0, t = void 0) {
|
|
635
688
|
if (e.space) {
|
|
636
689
|
const s = e.space + "/resources/v1/application/CSRF";
|
|
637
690
|
m(s, {
|
|
@@ -674,7 +727,7 @@ function k(e, n = void 0, t = void 0) {
|
|
|
674
727
|
}
|
|
675
728
|
);
|
|
676
729
|
}
|
|
677
|
-
function
|
|
730
|
+
function Ye(e, n, t = void 0, s = void 0, i = void 0) {
|
|
678
731
|
const r = `${e.space}/resources/v1/modeler/documents/${n}/files/DownloadTicket`;
|
|
679
732
|
t || (t = e.token), m(r, {
|
|
680
733
|
method: "PUT",
|
|
@@ -784,7 +837,7 @@ function oe(e, n, t, s, i, r, o = void 0, a = void 0) {
|
|
|
784
837
|
}
|
|
785
838
|
});
|
|
786
839
|
}
|
|
787
|
-
async function
|
|
840
|
+
async function ze(e, n, t = void 0, s = void 0) {
|
|
788
841
|
e.space, e.token, e.ctx;
|
|
789
842
|
const i = e?.description, r = e?.title;
|
|
790
843
|
if (!n) {
|
|
@@ -817,7 +870,7 @@ async function Ye(e, n, t = void 0, s = void 0) {
|
|
|
817
870
|
}
|
|
818
871
|
});
|
|
819
872
|
}
|
|
820
|
-
async function
|
|
873
|
+
async function He(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0) {
|
|
821
874
|
let { tenant: o, cs_name: a } = e;
|
|
822
875
|
if (!o && !a) {
|
|
823
876
|
i && i("Credentials undefined");
|
|
@@ -827,7 +880,7 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
827
880
|
i && i("Définition du fichier undefined");
|
|
828
881
|
return;
|
|
829
882
|
}
|
|
830
|
-
const c =
|
|
883
|
+
const c = T.now().ts;
|
|
831
884
|
let d = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
|
|
832
885
|
a
|
|
833
886
|
)}/ticket?id=${c}&tenant=${o.toUpperCase()}&xrequestedwith=xmlhttprequest`;
|
|
@@ -849,7 +902,7 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
849
902
|
try {
|
|
850
903
|
if (l = JSON.parse(l), l?.ticket) {
|
|
851
904
|
const { ticket: y, actionurl: S, jobticket: w } = l;
|
|
852
|
-
|
|
905
|
+
E(
|
|
853
906
|
{ dataelements: { ticket: y, ticketURL: S } },
|
|
854
907
|
t,
|
|
855
908
|
n,
|
|
@@ -884,14 +937,14 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
884
937
|
},
|
|
885
938
|
data: D,
|
|
886
939
|
type: "json",
|
|
887
|
-
onComplete(
|
|
888
|
-
s && s(
|
|
940
|
+
onComplete(N, Ce, Oe) {
|
|
941
|
+
s && s(N);
|
|
889
942
|
},
|
|
890
|
-
onFailure(
|
|
943
|
+
onFailure(N) {
|
|
891
944
|
console.warn(
|
|
892
945
|
"_3DSpace_Upload_Doc | pushFileInFcs | onFailure",
|
|
893
|
-
{ url: v, bodyRequest: D, err:
|
|
894
|
-
), i && i(
|
|
946
|
+
{ url: v, bodyRequest: D, err: N }
|
|
947
|
+
), i && i(N);
|
|
895
948
|
}
|
|
896
949
|
});
|
|
897
950
|
},
|
|
@@ -921,8 +974,8 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
921
974
|
}
|
|
922
975
|
);
|
|
923
976
|
}
|
|
924
|
-
async function
|
|
925
|
-
e.space, e.token, e.ctx,
|
|
977
|
+
async function Qe(e, n, t, s = void 0, i = void 0) {
|
|
978
|
+
e.space, e.token, e.ctx, M(
|
|
926
979
|
e,
|
|
927
980
|
n,
|
|
928
981
|
(r) => {
|
|
@@ -946,12 +999,12 @@ async function He(e, n, t, s = void 0, i = void 0) {
|
|
|
946
999
|
}
|
|
947
1000
|
);
|
|
948
1001
|
}
|
|
949
|
-
async function
|
|
1002
|
+
async function Ze(e, n, t, s, i = void 0, r = void 0) {
|
|
950
1003
|
ae(
|
|
951
1004
|
e,
|
|
952
1005
|
(o) => {
|
|
953
1006
|
o?.items >= 1 && o.data.forEach((a) => {
|
|
954
|
-
|
|
1007
|
+
E(
|
|
955
1008
|
a,
|
|
956
1009
|
n,
|
|
957
1010
|
t,
|
|
@@ -1002,7 +1055,7 @@ function ae(e, n = void 0, t = void 0) {
|
|
|
1002
1055
|
} else
|
|
1003
1056
|
console.log("Error de credentials", e);
|
|
1004
1057
|
}
|
|
1005
|
-
function
|
|
1058
|
+
function E(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
1006
1059
|
console.log("pushFileInFcs", { fcs__jobTicket: e, fileData: n, fileName: t });
|
|
1007
1060
|
let o = new FormData();
|
|
1008
1061
|
n instanceof Blob || (n = new Blob([n], {
|
|
@@ -1024,7 +1077,7 @@ function B(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
|
1024
1077
|
function re(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
1025
1078
|
console.log("relatedDocAndFile", { credentials: e, receipt: n, filename: t });
|
|
1026
1079
|
const o = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
|
|
1027
|
-
let a = "temp_" +
|
|
1080
|
+
let a = "temp_" + T.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
|
|
1028
1081
|
m(c, {
|
|
1029
1082
|
method: "POST",
|
|
1030
1083
|
headers: {
|
|
@@ -1117,7 +1170,7 @@ function F(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
1117
1170
|
}
|
|
1118
1171
|
});
|
|
1119
1172
|
}
|
|
1120
|
-
async function
|
|
1173
|
+
async function B(e, n = void 0, t = void 0) {
|
|
1121
1174
|
return (!e.objID || e.objID === "") && (console.warn(
|
|
1122
1175
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
1123
1176
|
), t && t(
|
|
@@ -1236,9 +1289,9 @@ function de(e, n, t = void 0, s = void 0, i = void 0) {
|
|
|
1236
1289
|
}
|
|
1237
1290
|
});
|
|
1238
1291
|
}
|
|
1239
|
-
function
|
|
1292
|
+
function et(e, n, t = void 0, s = void 0) {
|
|
1240
1293
|
return new Promise((i) => {
|
|
1241
|
-
if (e.token === "" &&
|
|
1294
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1242
1295
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
1243
1296
|
let o = {
|
|
1244
1297
|
method: "POST",
|
|
@@ -1267,9 +1320,9 @@ function Ze(e, n, t = void 0, s = void 0) {
|
|
|
1267
1320
|
}
|
|
1268
1321
|
});
|
|
1269
1322
|
}
|
|
1270
|
-
function
|
|
1323
|
+
function tt(e, n, t, s = void 0, i = void 0) {
|
|
1271
1324
|
return new Promise((r) => {
|
|
1272
|
-
if (e.token === "" &&
|
|
1325
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1273
1326
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
1274
1327
|
let a = {
|
|
1275
1328
|
method: "POST",
|
|
@@ -1299,9 +1352,9 @@ function et(e, n, t, s = void 0, i = void 0) {
|
|
|
1299
1352
|
}
|
|
1300
1353
|
});
|
|
1301
1354
|
}
|
|
1302
|
-
function
|
|
1355
|
+
function nt(e, n, t = void 0, s = void 0) {
|
|
1303
1356
|
return new Promise((i) => {
|
|
1304
|
-
if (e.token === "" &&
|
|
1357
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1305
1358
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1306
1359
|
F(
|
|
1307
1360
|
e.space,
|
|
@@ -1340,9 +1393,9 @@ function tt(e, n, t = void 0, s = void 0) {
|
|
|
1340
1393
|
}
|
|
1341
1394
|
});
|
|
1342
1395
|
}
|
|
1343
|
-
function
|
|
1396
|
+
function st(e, n, t = void 0, s = void 0) {
|
|
1344
1397
|
return new Promise((i) => {
|
|
1345
|
-
if (e.token === "" &&
|
|
1398
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1346
1399
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1347
1400
|
F(
|
|
1348
1401
|
e.space,
|
|
@@ -1387,9 +1440,9 @@ function nt(e, n, t = void 0, s = void 0) {
|
|
|
1387
1440
|
}
|
|
1388
1441
|
});
|
|
1389
1442
|
}
|
|
1390
|
-
function
|
|
1443
|
+
function it(e, n, t, s = void 0, i = void 0) {
|
|
1391
1444
|
return new Promise((r) => {
|
|
1392
|
-
if (e.token === "" &&
|
|
1445
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1393
1446
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1394
1447
|
F(
|
|
1395
1448
|
e.space,
|
|
@@ -1448,7 +1501,7 @@ function ue(e) {
|
|
|
1448
1501
|
});
|
|
1449
1502
|
});
|
|
1450
1503
|
}
|
|
1451
|
-
function
|
|
1504
|
+
function ot(e, n, t = void 0, s = void 0) {
|
|
1452
1505
|
return new Promise(async (i, r) => {
|
|
1453
1506
|
const { tenant: o, ctx: a, space: c } = e;
|
|
1454
1507
|
(!o || !a || !c) && r({ error: "Erreur de credentials", tenant: o, ctx: a, space: c });
|
|
@@ -1483,7 +1536,7 @@ function it(e, n, t = void 0, s = void 0) {
|
|
|
1483
1536
|
m(d, p);
|
|
1484
1537
|
});
|
|
1485
1538
|
}
|
|
1486
|
-
function
|
|
1539
|
+
function at(e, n, t, s, i = void 0, r = void 0) {
|
|
1487
1540
|
return new Promise((o) => {
|
|
1488
1541
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1489
1542
|
let c = {
|
|
@@ -1516,7 +1569,7 @@ function ot(e, n, t, s, i = void 0, r = void 0) {
|
|
|
1516
1569
|
m(a, u);
|
|
1517
1570
|
});
|
|
1518
1571
|
}
|
|
1519
|
-
function
|
|
1572
|
+
function rt(e, n, t, s, i = void 0, r = void 0) {
|
|
1520
1573
|
return console.log("credentials", e), new Promise((o) => {
|
|
1521
1574
|
`${e.space}`, JSON.stringify({
|
|
1522
1575
|
csrf: {
|
|
@@ -1540,7 +1593,7 @@ function at(e, n, t, s, i = void 0, r = void 0) {
|
|
|
1540
1593
|
});
|
|
1541
1594
|
}
|
|
1542
1595
|
//!SECTION
|
|
1543
|
-
function
|
|
1596
|
+
function ct(e, n = void 0, t = void 0) {
|
|
1544
1597
|
const s = {
|
|
1545
1598
|
base: `${e.space}`,
|
|
1546
1599
|
uri: "/resources/bps/cspaces",
|
|
@@ -1561,7 +1614,7 @@ function rt(e, n = void 0, t = void 0) {
|
|
|
1561
1614
|
}
|
|
1562
1615
|
});
|
|
1563
1616
|
}
|
|
1564
|
-
function
|
|
1617
|
+
function dt(e, n, t, s) {
|
|
1565
1618
|
k(
|
|
1566
1619
|
e.space,
|
|
1567
1620
|
n,
|
|
@@ -1578,7 +1631,7 @@ function ct(e, n, t, s) {
|
|
|
1578
1631
|
}
|
|
1579
1632
|
);
|
|
1580
1633
|
}
|
|
1581
|
-
async function
|
|
1634
|
+
async function ut(e, n, t = void 0, s = void 0) {
|
|
1582
1635
|
return new Promise((i) => {
|
|
1583
1636
|
k(e, n, (r) => {
|
|
1584
1637
|
m(r, {
|
|
@@ -1590,7 +1643,7 @@ async function dt(e, n, t = void 0, s = void 0) {
|
|
|
1590
1643
|
});
|
|
1591
1644
|
});
|
|
1592
1645
|
}
|
|
1593
|
-
function
|
|
1646
|
+
function pt(e, n, t, s = void 0, i = void 0) {
|
|
1594
1647
|
const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
|
|
1595
1648
|
e = { ...e, objID: t }, R(
|
|
1596
1649
|
e,
|
|
@@ -1616,9 +1669,9 @@ function ut(e, n, t, s = void 0, i = void 0) {
|
|
|
1616
1669
|
}
|
|
1617
1670
|
);
|
|
1618
1671
|
}
|
|
1619
|
-
let
|
|
1672
|
+
let K, q;
|
|
1620
1673
|
const A = [];
|
|
1621
|
-
async function
|
|
1674
|
+
async function lt(e, n = void 0, t = void 0) {
|
|
1622
1675
|
e.objID && e.objID !== "" ? R(
|
|
1623
1676
|
e,
|
|
1624
1677
|
(s) => {
|
|
@@ -1627,7 +1680,7 @@ async function pt(e, n = void 0, t = void 0) {
|
|
|
1627
1680
|
(s) => {
|
|
1628
1681
|
t && t(s);
|
|
1629
1682
|
}
|
|
1630
|
-
) : (e.objID === null || e.objID === "") &&
|
|
1683
|
+
) : (e.objID === null || e.objID === "") && O(
|
|
1631
1684
|
e,
|
|
1632
1685
|
(s) => {
|
|
1633
1686
|
n && n({ rep: s, msg: "Pas d'objID, ou invalide" });
|
|
@@ -1637,8 +1690,8 @@ async function pt(e, n = void 0, t = void 0) {
|
|
|
1637
1690
|
}
|
|
1638
1691
|
);
|
|
1639
1692
|
}
|
|
1640
|
-
async function
|
|
1641
|
-
console.log("getDatasByTenant (getDocuments)", e), await
|
|
1693
|
+
async function ft(e, n = void 0, t = void 0) {
|
|
1694
|
+
console.log("getDatasByTenant (getDocuments)", e), await B(
|
|
1642
1695
|
e,
|
|
1643
1696
|
(s) => {
|
|
1644
1697
|
const i = {};
|
|
@@ -1649,18 +1702,18 @@ async function lt(e, n = void 0, t = void 0) {
|
|
|
1649
1702
|
}
|
|
1650
1703
|
);
|
|
1651
1704
|
}
|
|
1652
|
-
function
|
|
1705
|
+
function mt(e, n = void 0, t = void 0) {
|
|
1653
1706
|
const s = [];
|
|
1654
1707
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1655
1708
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
1656
1709
|
return;
|
|
1657
1710
|
}
|
|
1658
1711
|
e.objIds.forEach((i, r) => {
|
|
1659
|
-
|
|
1712
|
+
B(
|
|
1660
1713
|
e,
|
|
1661
1714
|
i.objID,
|
|
1662
1715
|
(o) => {
|
|
1663
|
-
s.push({ [i.name]: o }), i.name === "dbProjets" && (
|
|
1716
|
+
s.push({ [i.name]: o }), i.name === "dbProjets" && (K = o.affaires.map((a) => a.objectID), pe(e, q)), r === e.objIds.length - 1 && (n && n(s), delete e.objIds, delete e.datas);
|
|
1664
1717
|
}
|
|
1665
1718
|
);
|
|
1666
1719
|
});
|
|
@@ -1668,7 +1721,7 @@ function ft(e, n = void 0, t = void 0) {
|
|
|
1668
1721
|
function pe(e, n, t = void 0, s = void 0) {
|
|
1669
1722
|
ce(
|
|
1670
1723
|
e,
|
|
1671
|
-
|
|
1724
|
+
K,
|
|
1672
1725
|
(i) => {
|
|
1673
1726
|
const r = [...n];
|
|
1674
1727
|
r.find((o) => o.objectID === i.objectId).data = i.data, q = r, A.push(i.data), t && t(A);
|
|
@@ -1698,7 +1751,7 @@ const le = "FA35FB9B177A280065800EA0000F599C", fe = [
|
|
|
1698
1751
|
order_by: "desc",
|
|
1699
1752
|
tag: "testTag"
|
|
1700
1753
|
};
|
|
1701
|
-
function
|
|
1754
|
+
function gt(e, n, t = void 0, s = void 0) {
|
|
1702
1755
|
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
|
|
1703
1756
|
uri: "/resources/6w/tags",
|
|
1704
1757
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1729,7 +1782,7 @@ function mt(e, n, t = void 0, s = void 0) {
|
|
|
1729
1782
|
JSON.parse(f);
|
|
1730
1783
|
const l = {};
|
|
1731
1784
|
setTimeout(() => {
|
|
1732
|
-
|
|
1785
|
+
M(
|
|
1733
1786
|
e,
|
|
1734
1787
|
o,
|
|
1735
1788
|
(g) => {
|
|
@@ -1841,7 +1894,7 @@ function ge(e, n, t = void 0, s = void 0) {
|
|
|
1841
1894
|
}
|
|
1842
1895
|
});
|
|
1843
1896
|
}
|
|
1844
|
-
function
|
|
1897
|
+
function ht(e, n, t = void 0, s = void 0) {
|
|
1845
1898
|
const { objId: i, pred: r, tag: o } = n, a = {
|
|
1846
1899
|
uri: "/resources/6w/tags",
|
|
1847
1900
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1877,7 +1930,7 @@ function gt(e, n, t = void 0, s = void 0) {
|
|
|
1877
1930
|
}
|
|
1878
1931
|
});
|
|
1879
1932
|
}
|
|
1880
|
-
function
|
|
1933
|
+
function yt(e, n = "", t = void 0, s = void 0) {
|
|
1881
1934
|
const { space: i } = e;
|
|
1882
1935
|
if (n === "")
|
|
1883
1936
|
return;
|
|
@@ -1913,7 +1966,7 @@ async function C(e, n = void 0, t = void 0) {
|
|
|
1913
1966
|
}
|
|
1914
1967
|
});
|
|
1915
1968
|
}
|
|
1916
|
-
function
|
|
1969
|
+
function _t(e, n = void 0, t = void 0) {
|
|
1917
1970
|
const s = `${e._3DSwym}/api/exalead/whatsnew`, i = {
|
|
1918
1971
|
params: {
|
|
1919
1972
|
community_id: null,
|
|
@@ -1943,7 +1996,7 @@ function yt(e, n = void 0, t = void 0) {
|
|
|
1943
1996
|
});
|
|
1944
1997
|
});
|
|
1945
1998
|
}
|
|
1946
|
-
function
|
|
1999
|
+
function St(e, n = void 0, t = void 0) {
|
|
1947
2000
|
const s = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1948
2001
|
params: {
|
|
1949
2002
|
idsToFilterArr: [],
|
|
@@ -1973,7 +2026,7 @@ function _t(e, n = void 0, t = void 0) {
|
|
|
1973
2026
|
});
|
|
1974
2027
|
});
|
|
1975
2028
|
}
|
|
1976
|
-
function
|
|
2029
|
+
function wt(e, n = void 0, t = void 0) {
|
|
1977
2030
|
const s = {
|
|
1978
2031
|
base: e._3DSwym,
|
|
1979
2032
|
uri: "/api/community/listmycommunities",
|
|
@@ -2043,7 +2096,7 @@ function he(e, n, t, s) {
|
|
|
2043
2096
|
});
|
|
2044
2097
|
});
|
|
2045
2098
|
}
|
|
2046
|
-
function
|
|
2099
|
+
function Ct(e, n = void 0, t = void 0) {
|
|
2047
2100
|
const s = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
2048
2101
|
e.commu_id || (e.commu_id = s);
|
|
2049
2102
|
const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -2066,7 +2119,7 @@ function wt(e, n = void 0, t = void 0) {
|
|
|
2066
2119
|
});
|
|
2067
2120
|
});
|
|
2068
2121
|
}
|
|
2069
|
-
function
|
|
2122
|
+
function Ot(e, n, t = void 0, s = void 0) {
|
|
2070
2123
|
const { listAllContacts: i, currentUser: r, _3DSwym: o } = e;
|
|
2071
2124
|
console.log("__listAllContacts", i.hits);
|
|
2072
2125
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -2294,7 +2347,7 @@ function Tt(e, n = void 0, t = void 0) {
|
|
|
2294
2347
|
m(s.base + s.uri, a);
|
|
2295
2348
|
});
|
|
2296
2349
|
}
|
|
2297
|
-
function
|
|
2350
|
+
function $t(e, n, t = void 0, s = void 0) {
|
|
2298
2351
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
2299
2352
|
params: {
|
|
2300
2353
|
community_id: n.community_id,
|
|
@@ -2321,7 +2374,7 @@ function Ot(e, n, t = void 0, s = void 0) {
|
|
|
2321
2374
|
});
|
|
2322
2375
|
});
|
|
2323
2376
|
}
|
|
2324
|
-
function
|
|
2377
|
+
function Ut(e, n = void 0, t = void 0) {
|
|
2325
2378
|
const { _3DSwym: s, _3DSwym_token: i } = e, r = `${s}/api/idea/get`;
|
|
2326
2379
|
if (e.idPost === "") {
|
|
2327
2380
|
const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
@@ -2349,7 +2402,7 @@ function $t(e, n = void 0, t = void 0) {
|
|
|
2349
2402
|
}
|
|
2350
2403
|
});
|
|
2351
2404
|
}
|
|
2352
|
-
function
|
|
2405
|
+
function xt(e, n, t) {
|
|
2353
2406
|
const {
|
|
2354
2407
|
_3DSwym: s,
|
|
2355
2408
|
_3DSwym_token: i,
|
|
@@ -2394,7 +2447,7 @@ function Ut(e, n, t) {
|
|
|
2394
2447
|
};
|
|
2395
2448
|
m(p.base + p.uri, l);
|
|
2396
2449
|
}
|
|
2397
|
-
function
|
|
2450
|
+
function It(e, n, t = void 0, s = void 0) {
|
|
2398
2451
|
const { _3DSwym: i } = e;
|
|
2399
2452
|
let { community_id: r, limit: o, page: a, search: c } = n;
|
|
2400
2453
|
const d = [], u = 1;
|
|
@@ -2420,11 +2473,11 @@ function xt(e, n, t = void 0, s = void 0) {
|
|
|
2420
2473
|
if (a++, l.page = `/page/${a}`, S = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
|
|
2421
2474
|
d.push(_.response.result);
|
|
2422
2475
|
else {
|
|
2423
|
-
const
|
|
2476
|
+
const b = _.response.result.find(
|
|
2424
2477
|
(j) => j.title.includes(c)
|
|
2425
2478
|
);
|
|
2426
|
-
if (
|
|
2427
|
-
t(
|
|
2479
|
+
if (b) {
|
|
2480
|
+
t(b);
|
|
2428
2481
|
return;
|
|
2429
2482
|
}
|
|
2430
2483
|
}
|
|
@@ -2436,8 +2489,8 @@ function xt(e, n, t = void 0, s = void 0) {
|
|
|
2436
2489
|
}
|
|
2437
2490
|
},
|
|
2438
2491
|
onFailure(w, _) {
|
|
2439
|
-
const
|
|
2440
|
-
|
|
2492
|
+
const b = w;
|
|
2493
|
+
b.status = _.status, b.response = _.errormsg, s && s(b);
|
|
2441
2494
|
}
|
|
2442
2495
|
});
|
|
2443
2496
|
};
|
|
@@ -2519,7 +2572,7 @@ function Se(e) {
|
|
|
2519
2572
|
<p>
|
|
2520
2573
|
</p>` : e;
|
|
2521
2574
|
}
|
|
2522
|
-
function
|
|
2575
|
+
function Nt(e, n = void 0, t = void 0) {
|
|
2523
2576
|
const { tenant: s, _3DSwym: i, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2524
2577
|
if (s && i && r && o && a) {
|
|
2525
2578
|
const c = `${i}/api/idea/forward`;
|
|
@@ -2552,7 +2605,7 @@ function It(e, n = void 0, t = void 0) {
|
|
|
2552
2605
|
credentials: e
|
|
2553
2606
|
});
|
|
2554
2607
|
}
|
|
2555
|
-
function
|
|
2608
|
+
function Rt(e, n = void 0, t = void 0) {
|
|
2556
2609
|
return new Promise((s, i) => {
|
|
2557
2610
|
try {
|
|
2558
2611
|
let r;
|
|
@@ -2582,7 +2635,7 @@ function Nt(e, n = void 0, t = void 0) {
|
|
|
2582
2635
|
}
|
|
2583
2636
|
});
|
|
2584
2637
|
}
|
|
2585
|
-
function
|
|
2638
|
+
function Ft(e, n, t = void 0, s = void 0) {
|
|
2586
2639
|
const i = e.space + "/api/user/find/login/" + n;
|
|
2587
2640
|
C(
|
|
2588
2641
|
e,
|
|
@@ -2602,7 +2655,7 @@ function Rt(e, n, t = void 0, s = void 0) {
|
|
|
2602
2655
|
s
|
|
2603
2656
|
);
|
|
2604
2657
|
}
|
|
2605
|
-
function
|
|
2658
|
+
function jt(e, n = void 0, t = void 0) {
|
|
2606
2659
|
const {
|
|
2607
2660
|
_3DSwym: s,
|
|
2608
2661
|
_3DSwym_token: i,
|
|
@@ -2629,14 +2682,14 @@ function Ft(e, n = void 0, t = void 0) {
|
|
|
2629
2682
|
};
|
|
2630
2683
|
m(a, d);
|
|
2631
2684
|
}
|
|
2632
|
-
function
|
|
2633
|
-
e.tenant &&
|
|
2685
|
+
function kt(e, n = void 0, t = void 0) {
|
|
2686
|
+
e.tenant && J(e, (s) => {
|
|
2634
2687
|
const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2635
2688
|
return n && n(i), i;
|
|
2636
2689
|
});
|
|
2637
2690
|
}
|
|
2638
|
-
function
|
|
2639
|
-
console.log("_Iterop_Auth_CAS"), e.tenant &&
|
|
2691
|
+
function vt(e, n = void 0, t = void 0) {
|
|
2692
|
+
console.log("_Iterop_Auth_CAS"), e.tenant && J(e, (s) => {
|
|
2640
2693
|
console.log("serviceUrls", s);
|
|
2641
2694
|
const i = s.services.find(
|
|
2642
2695
|
(a) => a.id === "3dpassport"
|
|
@@ -2657,7 +2710,7 @@ function kt(e, n = void 0, t = void 0) {
|
|
|
2657
2710
|
});
|
|
2658
2711
|
});
|
|
2659
2712
|
}
|
|
2660
|
-
function
|
|
2713
|
+
function Dt(e, n = void 0, t = void 0) {
|
|
2661
2714
|
if (e.tenant) {
|
|
2662
2715
|
const s = e.tenant.toLowerCase();
|
|
2663
2716
|
fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
|
|
@@ -2669,7 +2722,7 @@ function vt(e, n = void 0, t = void 0) {
|
|
|
2669
2722
|
});
|
|
2670
2723
|
}
|
|
2671
2724
|
}
|
|
2672
|
-
async function
|
|
2725
|
+
async function At(e, n, t = void 0, s = void 0) {
|
|
2673
2726
|
if (e.tenant) {
|
|
2674
2727
|
const i = e.tenant.toLowerCase();
|
|
2675
2728
|
fetch(
|
|
@@ -2684,7 +2737,7 @@ async function Dt(e, n, t = void 0, s = void 0) {
|
|
|
2684
2737
|
});
|
|
2685
2738
|
}
|
|
2686
2739
|
}
|
|
2687
|
-
function
|
|
2740
|
+
function Pt(e, n, t, s = void 0, i = void 0) {
|
|
2688
2741
|
if (e.tenant) {
|
|
2689
2742
|
const r = e.tenant.toLowerCase();
|
|
2690
2743
|
fetch(
|
|
@@ -2699,7 +2752,7 @@ function At(e, n, t, s = void 0, i = void 0) {
|
|
|
2699
2752
|
});
|
|
2700
2753
|
}
|
|
2701
2754
|
}
|
|
2702
|
-
async function
|
|
2755
|
+
async function Lt(e, n, t, s = void 0, i = void 0) {
|
|
2703
2756
|
if (e.tenant) {
|
|
2704
2757
|
const r = e.tenant.toLowerCase();
|
|
2705
2758
|
fetch(
|
|
@@ -2714,7 +2767,7 @@ async function Pt(e, n, t, s = void 0, i = void 0) {
|
|
|
2714
2767
|
});
|
|
2715
2768
|
}
|
|
2716
2769
|
}
|
|
2717
|
-
async function
|
|
2770
|
+
async function Jt(e, n, t, s, i = void 0, r = void 0) {
|
|
2718
2771
|
if (e.tenant) {
|
|
2719
2772
|
const o = e.tenant.toLowerCase();
|
|
2720
2773
|
fetch(
|
|
@@ -2748,7 +2801,7 @@ async function Mt(e, n, t, s, i, r = void 0, o = void 0) {
|
|
|
2748
2801
|
});
|
|
2749
2802
|
}
|
|
2750
2803
|
}
|
|
2751
|
-
async function
|
|
2804
|
+
async function Gt(e, n, t, s, i = void 0, r = void 0) {
|
|
2752
2805
|
if (e.tenant) {
|
|
2753
2806
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
|
|
2754
2807
|
s
|
|
@@ -2765,7 +2818,7 @@ async function Jt(e, n, t, s, i = void 0, r = void 0) {
|
|
|
2765
2818
|
});
|
|
2766
2819
|
}
|
|
2767
2820
|
}
|
|
2768
|
-
async function
|
|
2821
|
+
async function Et(e, n, t, s = void 0, i = void 0) {
|
|
2769
2822
|
if (e.tenant) {
|
|
2770
2823
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${n}&b=${encodeURIComponent(
|
|
2771
2824
|
t
|
|
@@ -2812,7 +2865,7 @@ async function Kt(e, n, t, s = void 0, i = void 0) {
|
|
|
2812
2865
|
});
|
|
2813
2866
|
}
|
|
2814
2867
|
}
|
|
2815
|
-
async function
|
|
2868
|
+
async function qt(e, n, t, s, i, r = void 0, o = void 0) {
|
|
2816
2869
|
if (e.tenant) {
|
|
2817
2870
|
const a = e.tenant.toLowerCase();
|
|
2818
2871
|
fetch(
|
|
@@ -2827,7 +2880,7 @@ async function Et(e, n, t, s, i, r = void 0, o = void 0) {
|
|
|
2827
2880
|
});
|
|
2828
2881
|
}
|
|
2829
2882
|
}
|
|
2830
|
-
async function
|
|
2883
|
+
async function Xt(e, n, t, s, i = void 0, r = void 0) {
|
|
2831
2884
|
if (e.tenant) {
|
|
2832
2885
|
const o = e.tenant.toLowerCase();
|
|
2833
2886
|
fetch(
|
|
@@ -2843,7 +2896,7 @@ async function qt(e, n, t, s, i = void 0, r = void 0) {
|
|
|
2843
2896
|
}
|
|
2844
2897
|
}
|
|
2845
2898
|
//!SECTION
|
|
2846
|
-
async function
|
|
2899
|
+
async function Wt(e, n, t, s = void 0, i = void 0) {
|
|
2847
2900
|
if (e.tenant) {
|
|
2848
2901
|
const r = e.tenant.toLowerCase();
|
|
2849
2902
|
fetch(
|
|
@@ -2859,13 +2912,13 @@ async function Xt(e, n, t, s = void 0, i = void 0) {
|
|
|
2859
2912
|
}
|
|
2860
2913
|
}
|
|
2861
2914
|
//!SECTION
|
|
2862
|
-
function
|
|
2915
|
+
function Vt(e) {
|
|
2863
2916
|
const n = "Hello " + e;
|
|
2864
2917
|
return console.log(n), n;
|
|
2865
2918
|
}
|
|
2866
|
-
function
|
|
2919
|
+
function Yt(e, n = void 0, t = void 0) {
|
|
2867
2920
|
return console.log("credentials", e), new Promise((s) => {
|
|
2868
|
-
if (e.token === "" &&
|
|
2921
|
+
if (e.token === "" && O(e), !e.space || e.space === "") {
|
|
2869
2922
|
const o = Z();
|
|
2870
2923
|
console.log("platformeInfo", o);
|
|
2871
2924
|
}
|
|
@@ -2880,7 +2933,7 @@ function Vt(e, n = void 0, t = void 0) {
|
|
|
2880
2933
|
},
|
|
2881
2934
|
!0
|
|
2882
2935
|
);
|
|
2883
|
-
const i =
|
|
2936
|
+
const i = T.now().ts, r = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
|
|
2884
2937
|
m(r, {
|
|
2885
2938
|
onComplete(o) {
|
|
2886
2939
|
if (Array.isArray(JSON.parse(o))) {
|
|
@@ -2944,104 +2997,105 @@ function Vt(e, n = void 0, t = void 0) {
|
|
|
2944
2997
|
}
|
|
2945
2998
|
export {
|
|
2946
2999
|
Y as UUID,
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
3000
|
+
Yt as _3DSearch_usersGroup,
|
|
3001
|
+
Ze as _3DSpace_Create_Doc,
|
|
3002
|
+
Qe as _3DSpace_Update_Doc,
|
|
3003
|
+
He as _3DSpace_Upload_File,
|
|
3004
|
+
rt as _3DSpace_bookmark_addSubsciptions,
|
|
3005
|
+
at as _3DSpace_bookmark_newWorkspace,
|
|
3006
|
+
O as _3DSpace_csrf,
|
|
3007
|
+
B as _3DSpace_download_doc,
|
|
2955
3008
|
ce as _3DSpace_download_multidoc,
|
|
2956
3009
|
G as _3DSpace_file_update,
|
|
2957
3010
|
oe as _3DSpace_file_update_csr,
|
|
2958
|
-
|
|
3011
|
+
Ye as _3DSpace_file_url_csr,
|
|
2959
3012
|
R as _3DSpace_get_csrf,
|
|
2960
|
-
|
|
3013
|
+
M as _3DSpace_get_docInfo,
|
|
2961
3014
|
de as _3DSpace_get_downloadTicket_multidoc,
|
|
2962
|
-
|
|
3015
|
+
Ve as _3DSpace_get_multiDocInfo,
|
|
2963
3016
|
F as _3DSpace_get_securityContexts,
|
|
2964
3017
|
k as _3DSpace_get_ticket,
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
3018
|
+
it as _3DSpace_lifecycle_changeRevision,
|
|
3019
|
+
tt as _3DSpace_lifecycle_changeState,
|
|
3020
|
+
nt as _3DSpace_lifecycle_getGraph,
|
|
3021
|
+
st as _3DSpace_lifecycle_getNextRevision,
|
|
3022
|
+
et as _3DSpace_lifecycle_getNextStates,
|
|
3023
|
+
ot as _3DSpace_lifecycle_getRevisions,
|
|
3024
|
+
ze as _3DSpace_put_docInfo,
|
|
3025
|
+
Nt as _3DSwym_ForwardIdea,
|
|
3026
|
+
jt as _3DSwym_addComment,
|
|
3027
|
+
Ot as _3DSwym_buildDirectMessage,
|
|
3028
|
+
$t as _3DSwym_deleteIdea,
|
|
3029
|
+
xt as _3DSwym_editIdea,
|
|
2977
3030
|
ye as _3DSwym_findCommunityToInstantMSG,
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
3031
|
+
wt as _3DSwym_getAllCommunities,
|
|
3032
|
+
It as _3DSwym_getAllListIdeas,
|
|
3033
|
+
_t as _3DSwym_getAllNews,
|
|
3034
|
+
St as _3DSwym_getFamiliarPeople,
|
|
3035
|
+
Ct as _3DSwym_getIdeaStatusMaturity,
|
|
2983
3036
|
he as _3DSwym_getMembersCommunity,
|
|
2984
|
-
|
|
3037
|
+
Ut as _3DSwym_getOneIdea,
|
|
2985
3038
|
C as _3DSwym_get_Token,
|
|
2986
|
-
|
|
2987
|
-
|
|
3039
|
+
Rt as _3DSwym_get_currentUser,
|
|
3040
|
+
Ft as _3DSwym_get_findUser,
|
|
2988
3041
|
Tt as _3DSwym_postIdea,
|
|
2989
3042
|
bt as _3DSwym_postIdeaTemplate,
|
|
2990
3043
|
P as _3DSwym_sendMessageData,
|
|
2991
3044
|
Le as _AppMngt_get_info_user,
|
|
2992
3045
|
Pe as _AppMngt_get_users,
|
|
2993
|
-
|
|
2994
|
-
|
|
3046
|
+
Jt as _Iterop_AddOrRemoveRows,
|
|
3047
|
+
vt as _Iterop_Auth_CAS,
|
|
2995
3048
|
Kt as _Iterop_GetOneDependencyTable,
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
3049
|
+
Wt as _Iterop_GetOneList,
|
|
3050
|
+
qt as _Iterop_PatchDependencyTable,
|
|
3051
|
+
Xt as _Iterop_PutDependencyTable,
|
|
2999
3052
|
Mt as _Iterop_businessTableSearchInRows,
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3053
|
+
Et as _Iterop_createBusinessTable,
|
|
3054
|
+
At as _Iterop_getAllBusinessTables,
|
|
3055
|
+
Pt as _Iterop_getOneBusinessTable,
|
|
3056
|
+
Lt as _Iterop_getOneBusinessTableRows,
|
|
3057
|
+
Dt as _Iterop_jwtUser,
|
|
3005
3058
|
Bt as _Iterop_runProcess,
|
|
3006
|
-
|
|
3059
|
+
Gt as _Iterop_updateBusinessTable,
|
|
3007
3060
|
ve as _getMe,
|
|
3008
3061
|
Z as _getPlateformInfos,
|
|
3009
3062
|
ke as _getPlatformServices,
|
|
3010
|
-
|
|
3063
|
+
J as _getServiceUrl,
|
|
3011
3064
|
De as _getServiceUrl_3DPassport,
|
|
3012
|
-
|
|
3065
|
+
kt as _getServiceUrl_Iterop,
|
|
3013
3066
|
m as _httpCallAuthenticated,
|
|
3014
3067
|
Re as _setDraggable,
|
|
3015
3068
|
je as _setDroppable,
|
|
3016
3069
|
Fe as _setupTagger,
|
|
3017
|
-
|
|
3070
|
+
gt as addTagToDoc,
|
|
3018
3071
|
H as chunkArray,
|
|
3019
3072
|
Ae as compass_getListAdditionalApps,
|
|
3020
3073
|
z as couleurs,
|
|
3021
|
-
|
|
3074
|
+
Je as createUserGroups,
|
|
3022
3075
|
pe as dataMixing,
|
|
3023
3076
|
Ke as deleteUserGroups,
|
|
3024
3077
|
xe as findAdresse,
|
|
3025
|
-
|
|
3078
|
+
ct as getAllContextSecurity,
|
|
3026
3079
|
te as getCSRFToken,
|
|
3027
3080
|
Ue as getCommunes,
|
|
3028
|
-
|
|
3029
|
-
|
|
3081
|
+
Me as getComplementUG,
|
|
3082
|
+
dt as getDataFrom3DSpace,
|
|
3030
3083
|
Ie as getDataFromGouvFr,
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
Be as
|
|
3084
|
+
ft as getDatasByTenant,
|
|
3085
|
+
mt as getDatasFrom3DSpace,
|
|
3086
|
+
ut as getDownloadDocument,
|
|
3087
|
+
yt as getInfoDocTags,
|
|
3088
|
+
Be as getUserGroupsByEmailList,
|
|
3089
|
+
Ee as getUserGroupsByURIList,
|
|
3036
3090
|
Ge as getUserGroupsList,
|
|
3037
3091
|
ee as getUsersGroupRules,
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3092
|
+
lt as get_3DSpace_csrf,
|
|
3093
|
+
qe as patchUserGroups,
|
|
3094
|
+
Xe as patchUserGroupsControl,
|
|
3095
|
+
pt as pushDataIn3DSpace,
|
|
3096
|
+
We as readUserGroupControl,
|
|
3097
|
+
ht as removeTagToDoc,
|
|
3098
|
+
Vt as sayHello,
|
|
3045
3099
|
Ne as updateEvent
|
|
3046
3100
|
};
|
|
3047
3101
|
//# sourceMappingURL=wb3Api.js.map
|