@beam3_dev/api_module 0.0.328 → 0.0.329
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 +236 -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,99 @@ 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
449
|
})
|
|
450
450
|
};
|
|
451
|
-
t && t(
|
|
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
|
+
n && n(JSON.parse(c));
|
|
476
|
+
},
|
|
477
|
+
onFailure(c, d) {
|
|
478
|
+
const u = {
|
|
479
|
+
sendOptions: a,
|
|
480
|
+
error: new Error(
|
|
481
|
+
"Erreur sur la fonction getUserGroupsByEmailList()",
|
|
482
|
+
{
|
|
483
|
+
cause: c
|
|
484
|
+
}
|
|
485
|
+
),
|
|
486
|
+
msg: d,
|
|
487
|
+
fonction: "getUserGroupsByEmailList()"
|
|
488
|
+
};
|
|
489
|
+
t && t(u);
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
} catch (c) {
|
|
493
|
+
const d = {
|
|
494
|
+
sendOptions: a,
|
|
495
|
+
infoError: c,
|
|
496
|
+
fonction: "getUserGroupsByEmailList()",
|
|
497
|
+
error: new Error("Erreur sur la fonction getUserGroupsByEmailList()", {
|
|
498
|
+
cause: c
|
|
499
|
+
})
|
|
500
|
+
};
|
|
501
|
+
t && t(d);
|
|
452
502
|
}
|
|
453
503
|
}
|
|
454
504
|
function Ke(e, n) {
|
|
@@ -457,7 +507,7 @@ function Ke(e, n) {
|
|
|
457
507
|
method: "DELETE"
|
|
458
508
|
});
|
|
459
509
|
}
|
|
460
|
-
function
|
|
510
|
+
function qe(e, n, t, s = void 0, i = void 0) {
|
|
461
511
|
const { space: r, tenant: o } = e, a = {
|
|
462
512
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
463
513
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -468,7 +518,7 @@ function Ee(e, n, t, s = void 0, i = void 0) {
|
|
|
468
518
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
469
519
|
}, c = t, d = `${r}${a.URIUGr}/${n}`, u = JSON.stringify(c);
|
|
470
520
|
m(d, {
|
|
471
|
-
headers:
|
|
521
|
+
headers: I,
|
|
472
522
|
method: "PATCH",
|
|
473
523
|
data: u,
|
|
474
524
|
type: "json",
|
|
@@ -480,11 +530,11 @@ function Ee(e, n, t, s = void 0, i = void 0) {
|
|
|
480
530
|
}
|
|
481
531
|
});
|
|
482
532
|
}
|
|
483
|
-
function
|
|
533
|
+
function Xe(e, n, t, s = void 0, i = void 0) {
|
|
484
534
|
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
485
535
|
m(a, {
|
|
486
536
|
method: "PATCH",
|
|
487
|
-
headers:
|
|
537
|
+
headers: I,
|
|
488
538
|
data: JSON.stringify(t),
|
|
489
539
|
type: "json",
|
|
490
540
|
onComplete(d) {
|
|
@@ -495,7 +545,7 @@ function qe(e, n, t, s = void 0, i = void 0) {
|
|
|
495
545
|
}
|
|
496
546
|
});
|
|
497
547
|
}
|
|
498
|
-
function
|
|
548
|
+
function We(e, n, t = void 0, s = void 0) {
|
|
499
549
|
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
500
550
|
m(o, {
|
|
501
551
|
opts: {
|
|
@@ -567,7 +617,7 @@ var se = function(e, n, t, s) {
|
|
|
567
617
|
};
|
|
568
618
|
x.decode = x.parse = se;
|
|
569
619
|
x.encode = x.stringify = ie;
|
|
570
|
-
async function
|
|
620
|
+
async function M(e, n = void 0, t = void 0, s = void 0) {
|
|
571
621
|
const i = e.space;
|
|
572
622
|
if (n === void 0) {
|
|
573
623
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -584,7 +634,7 @@ async function J(e, n = void 0, t = void 0, s = void 0) {
|
|
|
584
634
|
}
|
|
585
635
|
});
|
|
586
636
|
}
|
|
587
|
-
async function
|
|
637
|
+
async function Ve(e, n = void 0, t = void 0, s = void 0) {
|
|
588
638
|
const i = e.space;
|
|
589
639
|
if (n === void 0) {
|
|
590
640
|
console.log("Le paramètre docids est obligatoire");
|
|
@@ -621,7 +671,7 @@ function R(e, n = void 0, t = void 0) {
|
|
|
621
671
|
}
|
|
622
672
|
});
|
|
623
673
|
} else
|
|
624
|
-
|
|
674
|
+
O(
|
|
625
675
|
e,
|
|
626
676
|
(s) => {
|
|
627
677
|
console.log("_3DSpace_get_csrf / _3DSpace_csrf", s), e.token = s, n && n(e);
|
|
@@ -631,7 +681,7 @@ function R(e, n = void 0, t = void 0) {
|
|
|
631
681
|
}
|
|
632
682
|
);
|
|
633
683
|
}
|
|
634
|
-
function
|
|
684
|
+
function O(e, n = void 0, t = void 0) {
|
|
635
685
|
if (e.space) {
|
|
636
686
|
const s = e.space + "/resources/v1/application/CSRF";
|
|
637
687
|
m(s, {
|
|
@@ -674,7 +724,7 @@ function k(e, n = void 0, t = void 0) {
|
|
|
674
724
|
}
|
|
675
725
|
);
|
|
676
726
|
}
|
|
677
|
-
function
|
|
727
|
+
function Ye(e, n, t = void 0, s = void 0, i = void 0) {
|
|
678
728
|
const r = `${e.space}/resources/v1/modeler/documents/${n}/files/DownloadTicket`;
|
|
679
729
|
t || (t = e.token), m(r, {
|
|
680
730
|
method: "PUT",
|
|
@@ -784,7 +834,7 @@ function oe(e, n, t, s, i, r, o = void 0, a = void 0) {
|
|
|
784
834
|
}
|
|
785
835
|
});
|
|
786
836
|
}
|
|
787
|
-
async function
|
|
837
|
+
async function ze(e, n, t = void 0, s = void 0) {
|
|
788
838
|
e.space, e.token, e.ctx;
|
|
789
839
|
const i = e?.description, r = e?.title;
|
|
790
840
|
if (!n) {
|
|
@@ -817,7 +867,7 @@ async function Ye(e, n, t = void 0, s = void 0) {
|
|
|
817
867
|
}
|
|
818
868
|
});
|
|
819
869
|
}
|
|
820
|
-
async function
|
|
870
|
+
async function He(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0) {
|
|
821
871
|
let { tenant: o, cs_name: a } = e;
|
|
822
872
|
if (!o && !a) {
|
|
823
873
|
i && i("Credentials undefined");
|
|
@@ -827,7 +877,7 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
827
877
|
i && i("Définition du fichier undefined");
|
|
828
878
|
return;
|
|
829
879
|
}
|
|
830
|
-
const c =
|
|
880
|
+
const c = T.now().ts;
|
|
831
881
|
let d = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
|
|
832
882
|
a
|
|
833
883
|
)}/ticket?id=${c}&tenant=${o.toUpperCase()}&xrequestedwith=xmlhttprequest`;
|
|
@@ -849,7 +899,7 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
849
899
|
try {
|
|
850
900
|
if (l = JSON.parse(l), l?.ticket) {
|
|
851
901
|
const { ticket: y, actionurl: S, jobticket: w } = l;
|
|
852
|
-
|
|
902
|
+
E(
|
|
853
903
|
{ dataelements: { ticket: y, ticketURL: S } },
|
|
854
904
|
t,
|
|
855
905
|
n,
|
|
@@ -884,14 +934,14 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
884
934
|
},
|
|
885
935
|
data: D,
|
|
886
936
|
type: "json",
|
|
887
|
-
onComplete(
|
|
888
|
-
s && s(
|
|
937
|
+
onComplete(N, Ce, Oe) {
|
|
938
|
+
s && s(N);
|
|
889
939
|
},
|
|
890
|
-
onFailure(
|
|
940
|
+
onFailure(N) {
|
|
891
941
|
console.warn(
|
|
892
942
|
"_3DSpace_Upload_Doc | pushFileInFcs | onFailure",
|
|
893
|
-
{ url: v, bodyRequest: D, err:
|
|
894
|
-
), i && i(
|
|
943
|
+
{ url: v, bodyRequest: D, err: N }
|
|
944
|
+
), i && i(N);
|
|
895
945
|
}
|
|
896
946
|
});
|
|
897
947
|
},
|
|
@@ -921,8 +971,8 @@ async function ze(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
921
971
|
}
|
|
922
972
|
);
|
|
923
973
|
}
|
|
924
|
-
async function
|
|
925
|
-
e.space, e.token, e.ctx,
|
|
974
|
+
async function Qe(e, n, t, s = void 0, i = void 0) {
|
|
975
|
+
e.space, e.token, e.ctx, M(
|
|
926
976
|
e,
|
|
927
977
|
n,
|
|
928
978
|
(r) => {
|
|
@@ -946,12 +996,12 @@ async function He(e, n, t, s = void 0, i = void 0) {
|
|
|
946
996
|
}
|
|
947
997
|
);
|
|
948
998
|
}
|
|
949
|
-
async function
|
|
999
|
+
async function Ze(e, n, t, s, i = void 0, r = void 0) {
|
|
950
1000
|
ae(
|
|
951
1001
|
e,
|
|
952
1002
|
(o) => {
|
|
953
1003
|
o?.items >= 1 && o.data.forEach((a) => {
|
|
954
|
-
|
|
1004
|
+
E(
|
|
955
1005
|
a,
|
|
956
1006
|
n,
|
|
957
1007
|
t,
|
|
@@ -1002,7 +1052,7 @@ function ae(e, n = void 0, t = void 0) {
|
|
|
1002
1052
|
} else
|
|
1003
1053
|
console.log("Error de credentials", e);
|
|
1004
1054
|
}
|
|
1005
|
-
function
|
|
1055
|
+
function E(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
1006
1056
|
console.log("pushFileInFcs", { fcs__jobTicket: e, fileData: n, fileName: t });
|
|
1007
1057
|
let o = new FormData();
|
|
1008
1058
|
n instanceof Blob || (n = new Blob([n], {
|
|
@@ -1024,7 +1074,7 @@ function B(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
|
1024
1074
|
function re(e, n, t, s = void 0, i = void 0, r = void 0) {
|
|
1025
1075
|
console.log("relatedDocAndFile", { credentials: e, receipt: n, filename: t });
|
|
1026
1076
|
const o = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
|
|
1027
|
-
let a = "temp_" +
|
|
1077
|
+
let a = "temp_" + T.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
|
|
1028
1078
|
m(c, {
|
|
1029
1079
|
method: "POST",
|
|
1030
1080
|
headers: {
|
|
@@ -1117,7 +1167,7 @@ function F(e, n = void 0, t = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
1117
1167
|
}
|
|
1118
1168
|
});
|
|
1119
1169
|
}
|
|
1120
|
-
async function
|
|
1170
|
+
async function B(e, n = void 0, t = void 0) {
|
|
1121
1171
|
return (!e.objID || e.objID === "") && (console.warn(
|
|
1122
1172
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
1123
1173
|
), t && t(
|
|
@@ -1236,9 +1286,9 @@ function de(e, n, t = void 0, s = void 0, i = void 0) {
|
|
|
1236
1286
|
}
|
|
1237
1287
|
});
|
|
1238
1288
|
}
|
|
1239
|
-
function
|
|
1289
|
+
function et(e, n, t = void 0, s = void 0) {
|
|
1240
1290
|
return new Promise((i) => {
|
|
1241
|
-
if (e.token === "" &&
|
|
1291
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1242
1292
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
1243
1293
|
let o = {
|
|
1244
1294
|
method: "POST",
|
|
@@ -1267,9 +1317,9 @@ function Ze(e, n, t = void 0, s = void 0) {
|
|
|
1267
1317
|
}
|
|
1268
1318
|
});
|
|
1269
1319
|
}
|
|
1270
|
-
function
|
|
1320
|
+
function tt(e, n, t, s = void 0, i = void 0) {
|
|
1271
1321
|
return new Promise((r) => {
|
|
1272
|
-
if (e.token === "" &&
|
|
1322
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1273
1323
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
1274
1324
|
let a = {
|
|
1275
1325
|
method: "POST",
|
|
@@ -1299,9 +1349,9 @@ function et(e, n, t, s = void 0, i = void 0) {
|
|
|
1299
1349
|
}
|
|
1300
1350
|
});
|
|
1301
1351
|
}
|
|
1302
|
-
function
|
|
1352
|
+
function nt(e, n, t = void 0, s = void 0) {
|
|
1303
1353
|
return new Promise((i) => {
|
|
1304
|
-
if (e.token === "" &&
|
|
1354
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1305
1355
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1306
1356
|
F(
|
|
1307
1357
|
e.space,
|
|
@@ -1340,9 +1390,9 @@ function tt(e, n, t = void 0, s = void 0) {
|
|
|
1340
1390
|
}
|
|
1341
1391
|
});
|
|
1342
1392
|
}
|
|
1343
|
-
function
|
|
1393
|
+
function st(e, n, t = void 0, s = void 0) {
|
|
1344
1394
|
return new Promise((i) => {
|
|
1345
|
-
if (e.token === "" &&
|
|
1395
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1346
1396
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1347
1397
|
F(
|
|
1348
1398
|
e.space,
|
|
@@ -1387,9 +1437,9 @@ function nt(e, n, t = void 0, s = void 0) {
|
|
|
1387
1437
|
}
|
|
1388
1438
|
});
|
|
1389
1439
|
}
|
|
1390
|
-
function
|
|
1440
|
+
function it(e, n, t, s = void 0, i = void 0) {
|
|
1391
1441
|
return new Promise((r) => {
|
|
1392
|
-
if (e.token === "" &&
|
|
1442
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1393
1443
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1394
1444
|
F(
|
|
1395
1445
|
e.space,
|
|
@@ -1448,7 +1498,7 @@ function ue(e) {
|
|
|
1448
1498
|
});
|
|
1449
1499
|
});
|
|
1450
1500
|
}
|
|
1451
|
-
function
|
|
1501
|
+
function ot(e, n, t = void 0, s = void 0) {
|
|
1452
1502
|
return new Promise(async (i, r) => {
|
|
1453
1503
|
const { tenant: o, ctx: a, space: c } = e;
|
|
1454
1504
|
(!o || !a || !c) && r({ error: "Erreur de credentials", tenant: o, ctx: a, space: c });
|
|
@@ -1483,7 +1533,7 @@ function it(e, n, t = void 0, s = void 0) {
|
|
|
1483
1533
|
m(d, p);
|
|
1484
1534
|
});
|
|
1485
1535
|
}
|
|
1486
|
-
function
|
|
1536
|
+
function at(e, n, t, s, i = void 0, r = void 0) {
|
|
1487
1537
|
return new Promise((o) => {
|
|
1488
1538
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1489
1539
|
let c = {
|
|
@@ -1516,7 +1566,7 @@ function ot(e, n, t, s, i = void 0, r = void 0) {
|
|
|
1516
1566
|
m(a, u);
|
|
1517
1567
|
});
|
|
1518
1568
|
}
|
|
1519
|
-
function
|
|
1569
|
+
function rt(e, n, t, s, i = void 0, r = void 0) {
|
|
1520
1570
|
return console.log("credentials", e), new Promise((o) => {
|
|
1521
1571
|
`${e.space}`, JSON.stringify({
|
|
1522
1572
|
csrf: {
|
|
@@ -1540,7 +1590,7 @@ function at(e, n, t, s, i = void 0, r = void 0) {
|
|
|
1540
1590
|
});
|
|
1541
1591
|
}
|
|
1542
1592
|
//!SECTION
|
|
1543
|
-
function
|
|
1593
|
+
function ct(e, n = void 0, t = void 0) {
|
|
1544
1594
|
const s = {
|
|
1545
1595
|
base: `${e.space}`,
|
|
1546
1596
|
uri: "/resources/bps/cspaces",
|
|
@@ -1561,7 +1611,7 @@ function rt(e, n = void 0, t = void 0) {
|
|
|
1561
1611
|
}
|
|
1562
1612
|
});
|
|
1563
1613
|
}
|
|
1564
|
-
function
|
|
1614
|
+
function dt(e, n, t, s) {
|
|
1565
1615
|
k(
|
|
1566
1616
|
e.space,
|
|
1567
1617
|
n,
|
|
@@ -1578,7 +1628,7 @@ function ct(e, n, t, s) {
|
|
|
1578
1628
|
}
|
|
1579
1629
|
);
|
|
1580
1630
|
}
|
|
1581
|
-
async function
|
|
1631
|
+
async function ut(e, n, t = void 0, s = void 0) {
|
|
1582
1632
|
return new Promise((i) => {
|
|
1583
1633
|
k(e, n, (r) => {
|
|
1584
1634
|
m(r, {
|
|
@@ -1590,7 +1640,7 @@ async function dt(e, n, t = void 0, s = void 0) {
|
|
|
1590
1640
|
});
|
|
1591
1641
|
});
|
|
1592
1642
|
}
|
|
1593
|
-
function
|
|
1643
|
+
function pt(e, n, t, s = void 0, i = void 0) {
|
|
1594
1644
|
const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
|
|
1595
1645
|
e = { ...e, objID: t }, R(
|
|
1596
1646
|
e,
|
|
@@ -1616,9 +1666,9 @@ function ut(e, n, t, s = void 0, i = void 0) {
|
|
|
1616
1666
|
}
|
|
1617
1667
|
);
|
|
1618
1668
|
}
|
|
1619
|
-
let
|
|
1669
|
+
let K, q;
|
|
1620
1670
|
const A = [];
|
|
1621
|
-
async function
|
|
1671
|
+
async function lt(e, n = void 0, t = void 0) {
|
|
1622
1672
|
e.objID && e.objID !== "" ? R(
|
|
1623
1673
|
e,
|
|
1624
1674
|
(s) => {
|
|
@@ -1627,7 +1677,7 @@ async function pt(e, n = void 0, t = void 0) {
|
|
|
1627
1677
|
(s) => {
|
|
1628
1678
|
t && t(s);
|
|
1629
1679
|
}
|
|
1630
|
-
) : (e.objID === null || e.objID === "") &&
|
|
1680
|
+
) : (e.objID === null || e.objID === "") && O(
|
|
1631
1681
|
e,
|
|
1632
1682
|
(s) => {
|
|
1633
1683
|
n && n({ rep: s, msg: "Pas d'objID, ou invalide" });
|
|
@@ -1637,8 +1687,8 @@ async function pt(e, n = void 0, t = void 0) {
|
|
|
1637
1687
|
}
|
|
1638
1688
|
);
|
|
1639
1689
|
}
|
|
1640
|
-
async function
|
|
1641
|
-
console.log("getDatasByTenant (getDocuments)", e), await
|
|
1690
|
+
async function ft(e, n = void 0, t = void 0) {
|
|
1691
|
+
console.log("getDatasByTenant (getDocuments)", e), await B(
|
|
1642
1692
|
e,
|
|
1643
1693
|
(s) => {
|
|
1644
1694
|
const i = {};
|
|
@@ -1649,18 +1699,18 @@ async function lt(e, n = void 0, t = void 0) {
|
|
|
1649
1699
|
}
|
|
1650
1700
|
);
|
|
1651
1701
|
}
|
|
1652
|
-
function
|
|
1702
|
+
function mt(e, n = void 0, t = void 0) {
|
|
1653
1703
|
const s = [];
|
|
1654
1704
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1655
1705
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
1656
1706
|
return;
|
|
1657
1707
|
}
|
|
1658
1708
|
e.objIds.forEach((i, r) => {
|
|
1659
|
-
|
|
1709
|
+
B(
|
|
1660
1710
|
e,
|
|
1661
1711
|
i.objID,
|
|
1662
1712
|
(o) => {
|
|
1663
|
-
s.push({ [i.name]: o }), i.name === "dbProjets" && (
|
|
1713
|
+
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
1714
|
}
|
|
1665
1715
|
);
|
|
1666
1716
|
});
|
|
@@ -1668,7 +1718,7 @@ function ft(e, n = void 0, t = void 0) {
|
|
|
1668
1718
|
function pe(e, n, t = void 0, s = void 0) {
|
|
1669
1719
|
ce(
|
|
1670
1720
|
e,
|
|
1671
|
-
|
|
1721
|
+
K,
|
|
1672
1722
|
(i) => {
|
|
1673
1723
|
const r = [...n];
|
|
1674
1724
|
r.find((o) => o.objectID === i.objectId).data = i.data, q = r, A.push(i.data), t && t(A);
|
|
@@ -1698,7 +1748,7 @@ const le = "FA35FB9B177A280065800EA0000F599C", fe = [
|
|
|
1698
1748
|
order_by: "desc",
|
|
1699
1749
|
tag: "testTag"
|
|
1700
1750
|
};
|
|
1701
|
-
function
|
|
1751
|
+
function gt(e, n, t = void 0, s = void 0) {
|
|
1702
1752
|
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
|
|
1703
1753
|
uri: "/resources/6w/tags",
|
|
1704
1754
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1729,7 +1779,7 @@ function mt(e, n, t = void 0, s = void 0) {
|
|
|
1729
1779
|
JSON.parse(f);
|
|
1730
1780
|
const l = {};
|
|
1731
1781
|
setTimeout(() => {
|
|
1732
|
-
|
|
1782
|
+
M(
|
|
1733
1783
|
e,
|
|
1734
1784
|
o,
|
|
1735
1785
|
(g) => {
|
|
@@ -1841,7 +1891,7 @@ function ge(e, n, t = void 0, s = void 0) {
|
|
|
1841
1891
|
}
|
|
1842
1892
|
});
|
|
1843
1893
|
}
|
|
1844
|
-
function
|
|
1894
|
+
function ht(e, n, t = void 0, s = void 0) {
|
|
1845
1895
|
const { objId: i, pred: r, tag: o } = n, a = {
|
|
1846
1896
|
uri: "/resources/6w/tags",
|
|
1847
1897
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1877,7 +1927,7 @@ function gt(e, n, t = void 0, s = void 0) {
|
|
|
1877
1927
|
}
|
|
1878
1928
|
});
|
|
1879
1929
|
}
|
|
1880
|
-
function
|
|
1930
|
+
function yt(e, n = "", t = void 0, s = void 0) {
|
|
1881
1931
|
const { space: i } = e;
|
|
1882
1932
|
if (n === "")
|
|
1883
1933
|
return;
|
|
@@ -1913,7 +1963,7 @@ async function C(e, n = void 0, t = void 0) {
|
|
|
1913
1963
|
}
|
|
1914
1964
|
});
|
|
1915
1965
|
}
|
|
1916
|
-
function
|
|
1966
|
+
function _t(e, n = void 0, t = void 0) {
|
|
1917
1967
|
const s = `${e._3DSwym}/api/exalead/whatsnew`, i = {
|
|
1918
1968
|
params: {
|
|
1919
1969
|
community_id: null,
|
|
@@ -1943,7 +1993,7 @@ function yt(e, n = void 0, t = void 0) {
|
|
|
1943
1993
|
});
|
|
1944
1994
|
});
|
|
1945
1995
|
}
|
|
1946
|
-
function
|
|
1996
|
+
function St(e, n = void 0, t = void 0) {
|
|
1947
1997
|
const s = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1948
1998
|
params: {
|
|
1949
1999
|
idsToFilterArr: [],
|
|
@@ -1973,7 +2023,7 @@ function _t(e, n = void 0, t = void 0) {
|
|
|
1973
2023
|
});
|
|
1974
2024
|
});
|
|
1975
2025
|
}
|
|
1976
|
-
function
|
|
2026
|
+
function wt(e, n = void 0, t = void 0) {
|
|
1977
2027
|
const s = {
|
|
1978
2028
|
base: e._3DSwym,
|
|
1979
2029
|
uri: "/api/community/listmycommunities",
|
|
@@ -2043,7 +2093,7 @@ function he(e, n, t, s) {
|
|
|
2043
2093
|
});
|
|
2044
2094
|
});
|
|
2045
2095
|
}
|
|
2046
|
-
function
|
|
2096
|
+
function Ct(e, n = void 0, t = void 0) {
|
|
2047
2097
|
const s = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
2048
2098
|
e.commu_id || (e.commu_id = s);
|
|
2049
2099
|
const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -2066,7 +2116,7 @@ function wt(e, n = void 0, t = void 0) {
|
|
|
2066
2116
|
});
|
|
2067
2117
|
});
|
|
2068
2118
|
}
|
|
2069
|
-
function
|
|
2119
|
+
function Ot(e, n, t = void 0, s = void 0) {
|
|
2070
2120
|
const { listAllContacts: i, currentUser: r, _3DSwym: o } = e;
|
|
2071
2121
|
console.log("__listAllContacts", i.hits);
|
|
2072
2122
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -2294,7 +2344,7 @@ function Tt(e, n = void 0, t = void 0) {
|
|
|
2294
2344
|
m(s.base + s.uri, a);
|
|
2295
2345
|
});
|
|
2296
2346
|
}
|
|
2297
|
-
function
|
|
2347
|
+
function $t(e, n, t = void 0, s = void 0) {
|
|
2298
2348
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
2299
2349
|
params: {
|
|
2300
2350
|
community_id: n.community_id,
|
|
@@ -2321,7 +2371,7 @@ function Ot(e, n, t = void 0, s = void 0) {
|
|
|
2321
2371
|
});
|
|
2322
2372
|
});
|
|
2323
2373
|
}
|
|
2324
|
-
function
|
|
2374
|
+
function Ut(e, n = void 0, t = void 0) {
|
|
2325
2375
|
const { _3DSwym: s, _3DSwym_token: i } = e, r = `${s}/api/idea/get`;
|
|
2326
2376
|
if (e.idPost === "") {
|
|
2327
2377
|
const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
@@ -2349,7 +2399,7 @@ function $t(e, n = void 0, t = void 0) {
|
|
|
2349
2399
|
}
|
|
2350
2400
|
});
|
|
2351
2401
|
}
|
|
2352
|
-
function
|
|
2402
|
+
function xt(e, n, t) {
|
|
2353
2403
|
const {
|
|
2354
2404
|
_3DSwym: s,
|
|
2355
2405
|
_3DSwym_token: i,
|
|
@@ -2394,7 +2444,7 @@ function Ut(e, n, t) {
|
|
|
2394
2444
|
};
|
|
2395
2445
|
m(p.base + p.uri, l);
|
|
2396
2446
|
}
|
|
2397
|
-
function
|
|
2447
|
+
function It(e, n, t = void 0, s = void 0) {
|
|
2398
2448
|
const { _3DSwym: i } = e;
|
|
2399
2449
|
let { community_id: r, limit: o, page: a, search: c } = n;
|
|
2400
2450
|
const d = [], u = 1;
|
|
@@ -2420,11 +2470,11 @@ function xt(e, n, t = void 0, s = void 0) {
|
|
|
2420
2470
|
if (a++, l.page = `/page/${a}`, S = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
|
|
2421
2471
|
d.push(_.response.result);
|
|
2422
2472
|
else {
|
|
2423
|
-
const
|
|
2473
|
+
const b = _.response.result.find(
|
|
2424
2474
|
(j) => j.title.includes(c)
|
|
2425
2475
|
);
|
|
2426
|
-
if (
|
|
2427
|
-
t(
|
|
2476
|
+
if (b) {
|
|
2477
|
+
t(b);
|
|
2428
2478
|
return;
|
|
2429
2479
|
}
|
|
2430
2480
|
}
|
|
@@ -2436,8 +2486,8 @@ function xt(e, n, t = void 0, s = void 0) {
|
|
|
2436
2486
|
}
|
|
2437
2487
|
},
|
|
2438
2488
|
onFailure(w, _) {
|
|
2439
|
-
const
|
|
2440
|
-
|
|
2489
|
+
const b = w;
|
|
2490
|
+
b.status = _.status, b.response = _.errormsg, s && s(b);
|
|
2441
2491
|
}
|
|
2442
2492
|
});
|
|
2443
2493
|
};
|
|
@@ -2519,7 +2569,7 @@ function Se(e) {
|
|
|
2519
2569
|
<p>
|
|
2520
2570
|
</p>` : e;
|
|
2521
2571
|
}
|
|
2522
|
-
function
|
|
2572
|
+
function Nt(e, n = void 0, t = void 0) {
|
|
2523
2573
|
const { tenant: s, _3DSwym: i, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2524
2574
|
if (s && i && r && o && a) {
|
|
2525
2575
|
const c = `${i}/api/idea/forward`;
|
|
@@ -2552,7 +2602,7 @@ function It(e, n = void 0, t = void 0) {
|
|
|
2552
2602
|
credentials: e
|
|
2553
2603
|
});
|
|
2554
2604
|
}
|
|
2555
|
-
function
|
|
2605
|
+
function Rt(e, n = void 0, t = void 0) {
|
|
2556
2606
|
return new Promise((s, i) => {
|
|
2557
2607
|
try {
|
|
2558
2608
|
let r;
|
|
@@ -2582,7 +2632,7 @@ function Nt(e, n = void 0, t = void 0) {
|
|
|
2582
2632
|
}
|
|
2583
2633
|
});
|
|
2584
2634
|
}
|
|
2585
|
-
function
|
|
2635
|
+
function Ft(e, n, t = void 0, s = void 0) {
|
|
2586
2636
|
const i = e.space + "/api/user/find/login/" + n;
|
|
2587
2637
|
C(
|
|
2588
2638
|
e,
|
|
@@ -2602,7 +2652,7 @@ function Rt(e, n, t = void 0, s = void 0) {
|
|
|
2602
2652
|
s
|
|
2603
2653
|
);
|
|
2604
2654
|
}
|
|
2605
|
-
function
|
|
2655
|
+
function jt(e, n = void 0, t = void 0) {
|
|
2606
2656
|
const {
|
|
2607
2657
|
_3DSwym: s,
|
|
2608
2658
|
_3DSwym_token: i,
|
|
@@ -2629,14 +2679,14 @@ function Ft(e, n = void 0, t = void 0) {
|
|
|
2629
2679
|
};
|
|
2630
2680
|
m(a, d);
|
|
2631
2681
|
}
|
|
2632
|
-
function
|
|
2633
|
-
e.tenant &&
|
|
2682
|
+
function kt(e, n = void 0, t = void 0) {
|
|
2683
|
+
e.tenant && J(e, (s) => {
|
|
2634
2684
|
const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2635
2685
|
return n && n(i), i;
|
|
2636
2686
|
});
|
|
2637
2687
|
}
|
|
2638
|
-
function
|
|
2639
|
-
console.log("_Iterop_Auth_CAS"), e.tenant &&
|
|
2688
|
+
function vt(e, n = void 0, t = void 0) {
|
|
2689
|
+
console.log("_Iterop_Auth_CAS"), e.tenant && J(e, (s) => {
|
|
2640
2690
|
console.log("serviceUrls", s);
|
|
2641
2691
|
const i = s.services.find(
|
|
2642
2692
|
(a) => a.id === "3dpassport"
|
|
@@ -2657,7 +2707,7 @@ function kt(e, n = void 0, t = void 0) {
|
|
|
2657
2707
|
});
|
|
2658
2708
|
});
|
|
2659
2709
|
}
|
|
2660
|
-
function
|
|
2710
|
+
function Dt(e, n = void 0, t = void 0) {
|
|
2661
2711
|
if (e.tenant) {
|
|
2662
2712
|
const s = e.tenant.toLowerCase();
|
|
2663
2713
|
fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
|
|
@@ -2669,7 +2719,7 @@ function vt(e, n = void 0, t = void 0) {
|
|
|
2669
2719
|
});
|
|
2670
2720
|
}
|
|
2671
2721
|
}
|
|
2672
|
-
async function
|
|
2722
|
+
async function At(e, n, t = void 0, s = void 0) {
|
|
2673
2723
|
if (e.tenant) {
|
|
2674
2724
|
const i = e.tenant.toLowerCase();
|
|
2675
2725
|
fetch(
|
|
@@ -2684,7 +2734,7 @@ async function Dt(e, n, t = void 0, s = void 0) {
|
|
|
2684
2734
|
});
|
|
2685
2735
|
}
|
|
2686
2736
|
}
|
|
2687
|
-
function
|
|
2737
|
+
function Pt(e, n, t, s = void 0, i = void 0) {
|
|
2688
2738
|
if (e.tenant) {
|
|
2689
2739
|
const r = e.tenant.toLowerCase();
|
|
2690
2740
|
fetch(
|
|
@@ -2699,7 +2749,7 @@ function At(e, n, t, s = void 0, i = void 0) {
|
|
|
2699
2749
|
});
|
|
2700
2750
|
}
|
|
2701
2751
|
}
|
|
2702
|
-
async function
|
|
2752
|
+
async function Lt(e, n, t, s = void 0, i = void 0) {
|
|
2703
2753
|
if (e.tenant) {
|
|
2704
2754
|
const r = e.tenant.toLowerCase();
|
|
2705
2755
|
fetch(
|
|
@@ -2714,7 +2764,7 @@ async function Pt(e, n, t, s = void 0, i = void 0) {
|
|
|
2714
2764
|
});
|
|
2715
2765
|
}
|
|
2716
2766
|
}
|
|
2717
|
-
async function
|
|
2767
|
+
async function Jt(e, n, t, s, i = void 0, r = void 0) {
|
|
2718
2768
|
if (e.tenant) {
|
|
2719
2769
|
const o = e.tenant.toLowerCase();
|
|
2720
2770
|
fetch(
|
|
@@ -2748,7 +2798,7 @@ async function Mt(e, n, t, s, i, r = void 0, o = void 0) {
|
|
|
2748
2798
|
});
|
|
2749
2799
|
}
|
|
2750
2800
|
}
|
|
2751
|
-
async function
|
|
2801
|
+
async function Gt(e, n, t, s, i = void 0, r = void 0) {
|
|
2752
2802
|
if (e.tenant) {
|
|
2753
2803
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
|
|
2754
2804
|
s
|
|
@@ -2765,7 +2815,7 @@ async function Jt(e, n, t, s, i = void 0, r = void 0) {
|
|
|
2765
2815
|
});
|
|
2766
2816
|
}
|
|
2767
2817
|
}
|
|
2768
|
-
async function
|
|
2818
|
+
async function Et(e, n, t, s = void 0, i = void 0) {
|
|
2769
2819
|
if (e.tenant) {
|
|
2770
2820
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${n}&b=${encodeURIComponent(
|
|
2771
2821
|
t
|
|
@@ -2812,7 +2862,7 @@ async function Kt(e, n, t, s = void 0, i = void 0) {
|
|
|
2812
2862
|
});
|
|
2813
2863
|
}
|
|
2814
2864
|
}
|
|
2815
|
-
async function
|
|
2865
|
+
async function qt(e, n, t, s, i, r = void 0, o = void 0) {
|
|
2816
2866
|
if (e.tenant) {
|
|
2817
2867
|
const a = e.tenant.toLowerCase();
|
|
2818
2868
|
fetch(
|
|
@@ -2827,7 +2877,7 @@ async function Et(e, n, t, s, i, r = void 0, o = void 0) {
|
|
|
2827
2877
|
});
|
|
2828
2878
|
}
|
|
2829
2879
|
}
|
|
2830
|
-
async function
|
|
2880
|
+
async function Xt(e, n, t, s, i = void 0, r = void 0) {
|
|
2831
2881
|
if (e.tenant) {
|
|
2832
2882
|
const o = e.tenant.toLowerCase();
|
|
2833
2883
|
fetch(
|
|
@@ -2843,7 +2893,7 @@ async function qt(e, n, t, s, i = void 0, r = void 0) {
|
|
|
2843
2893
|
}
|
|
2844
2894
|
}
|
|
2845
2895
|
//!SECTION
|
|
2846
|
-
async function
|
|
2896
|
+
async function Wt(e, n, t, s = void 0, i = void 0) {
|
|
2847
2897
|
if (e.tenant) {
|
|
2848
2898
|
const r = e.tenant.toLowerCase();
|
|
2849
2899
|
fetch(
|
|
@@ -2859,13 +2909,13 @@ async function Xt(e, n, t, s = void 0, i = void 0) {
|
|
|
2859
2909
|
}
|
|
2860
2910
|
}
|
|
2861
2911
|
//!SECTION
|
|
2862
|
-
function
|
|
2912
|
+
function Vt(e) {
|
|
2863
2913
|
const n = "Hello " + e;
|
|
2864
2914
|
return console.log(n), n;
|
|
2865
2915
|
}
|
|
2866
|
-
function
|
|
2916
|
+
function Yt(e, n = void 0, t = void 0) {
|
|
2867
2917
|
return console.log("credentials", e), new Promise((s) => {
|
|
2868
|
-
if (e.token === "" &&
|
|
2918
|
+
if (e.token === "" && O(e), !e.space || e.space === "") {
|
|
2869
2919
|
const o = Z();
|
|
2870
2920
|
console.log("platformeInfo", o);
|
|
2871
2921
|
}
|
|
@@ -2880,7 +2930,7 @@ function Vt(e, n = void 0, t = void 0) {
|
|
|
2880
2930
|
},
|
|
2881
2931
|
!0
|
|
2882
2932
|
);
|
|
2883
|
-
const i =
|
|
2933
|
+
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
2934
|
m(r, {
|
|
2885
2935
|
onComplete(o) {
|
|
2886
2936
|
if (Array.isArray(JSON.parse(o))) {
|
|
@@ -2944,104 +2994,105 @@ function Vt(e, n = void 0, t = void 0) {
|
|
|
2944
2994
|
}
|
|
2945
2995
|
export {
|
|
2946
2996
|
Y as UUID,
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2997
|
+
Yt as _3DSearch_usersGroup,
|
|
2998
|
+
Ze as _3DSpace_Create_Doc,
|
|
2999
|
+
Qe as _3DSpace_Update_Doc,
|
|
3000
|
+
He as _3DSpace_Upload_File,
|
|
3001
|
+
rt as _3DSpace_bookmark_addSubsciptions,
|
|
3002
|
+
at as _3DSpace_bookmark_newWorkspace,
|
|
3003
|
+
O as _3DSpace_csrf,
|
|
3004
|
+
B as _3DSpace_download_doc,
|
|
2955
3005
|
ce as _3DSpace_download_multidoc,
|
|
2956
3006
|
G as _3DSpace_file_update,
|
|
2957
3007
|
oe as _3DSpace_file_update_csr,
|
|
2958
|
-
|
|
3008
|
+
Ye as _3DSpace_file_url_csr,
|
|
2959
3009
|
R as _3DSpace_get_csrf,
|
|
2960
|
-
|
|
3010
|
+
M as _3DSpace_get_docInfo,
|
|
2961
3011
|
de as _3DSpace_get_downloadTicket_multidoc,
|
|
2962
|
-
|
|
3012
|
+
Ve as _3DSpace_get_multiDocInfo,
|
|
2963
3013
|
F as _3DSpace_get_securityContexts,
|
|
2964
3014
|
k as _3DSpace_get_ticket,
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
3015
|
+
it as _3DSpace_lifecycle_changeRevision,
|
|
3016
|
+
tt as _3DSpace_lifecycle_changeState,
|
|
3017
|
+
nt as _3DSpace_lifecycle_getGraph,
|
|
3018
|
+
st as _3DSpace_lifecycle_getNextRevision,
|
|
3019
|
+
et as _3DSpace_lifecycle_getNextStates,
|
|
3020
|
+
ot as _3DSpace_lifecycle_getRevisions,
|
|
3021
|
+
ze as _3DSpace_put_docInfo,
|
|
3022
|
+
Nt as _3DSwym_ForwardIdea,
|
|
3023
|
+
jt as _3DSwym_addComment,
|
|
3024
|
+
Ot as _3DSwym_buildDirectMessage,
|
|
3025
|
+
$t as _3DSwym_deleteIdea,
|
|
3026
|
+
xt as _3DSwym_editIdea,
|
|
2977
3027
|
ye as _3DSwym_findCommunityToInstantMSG,
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
3028
|
+
wt as _3DSwym_getAllCommunities,
|
|
3029
|
+
It as _3DSwym_getAllListIdeas,
|
|
3030
|
+
_t as _3DSwym_getAllNews,
|
|
3031
|
+
St as _3DSwym_getFamiliarPeople,
|
|
3032
|
+
Ct as _3DSwym_getIdeaStatusMaturity,
|
|
2983
3033
|
he as _3DSwym_getMembersCommunity,
|
|
2984
|
-
|
|
3034
|
+
Ut as _3DSwym_getOneIdea,
|
|
2985
3035
|
C as _3DSwym_get_Token,
|
|
2986
|
-
|
|
2987
|
-
|
|
3036
|
+
Rt as _3DSwym_get_currentUser,
|
|
3037
|
+
Ft as _3DSwym_get_findUser,
|
|
2988
3038
|
Tt as _3DSwym_postIdea,
|
|
2989
3039
|
bt as _3DSwym_postIdeaTemplate,
|
|
2990
3040
|
P as _3DSwym_sendMessageData,
|
|
2991
3041
|
Le as _AppMngt_get_info_user,
|
|
2992
3042
|
Pe as _AppMngt_get_users,
|
|
2993
|
-
|
|
2994
|
-
|
|
3043
|
+
Jt as _Iterop_AddOrRemoveRows,
|
|
3044
|
+
vt as _Iterop_Auth_CAS,
|
|
2995
3045
|
Kt as _Iterop_GetOneDependencyTable,
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
3046
|
+
Wt as _Iterop_GetOneList,
|
|
3047
|
+
qt as _Iterop_PatchDependencyTable,
|
|
3048
|
+
Xt as _Iterop_PutDependencyTable,
|
|
2999
3049
|
Mt as _Iterop_businessTableSearchInRows,
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3050
|
+
Et as _Iterop_createBusinessTable,
|
|
3051
|
+
At as _Iterop_getAllBusinessTables,
|
|
3052
|
+
Pt as _Iterop_getOneBusinessTable,
|
|
3053
|
+
Lt as _Iterop_getOneBusinessTableRows,
|
|
3054
|
+
Dt as _Iterop_jwtUser,
|
|
3005
3055
|
Bt as _Iterop_runProcess,
|
|
3006
|
-
|
|
3056
|
+
Gt as _Iterop_updateBusinessTable,
|
|
3007
3057
|
ve as _getMe,
|
|
3008
3058
|
Z as _getPlateformInfos,
|
|
3009
3059
|
ke as _getPlatformServices,
|
|
3010
|
-
|
|
3060
|
+
J as _getServiceUrl,
|
|
3011
3061
|
De as _getServiceUrl_3DPassport,
|
|
3012
|
-
|
|
3062
|
+
kt as _getServiceUrl_Iterop,
|
|
3013
3063
|
m as _httpCallAuthenticated,
|
|
3014
3064
|
Re as _setDraggable,
|
|
3015
3065
|
je as _setDroppable,
|
|
3016
3066
|
Fe as _setupTagger,
|
|
3017
|
-
|
|
3067
|
+
gt as addTagToDoc,
|
|
3018
3068
|
H as chunkArray,
|
|
3019
3069
|
Ae as compass_getListAdditionalApps,
|
|
3020
3070
|
z as couleurs,
|
|
3021
|
-
|
|
3071
|
+
Je as createUserGroups,
|
|
3022
3072
|
pe as dataMixing,
|
|
3023
3073
|
Ke as deleteUserGroups,
|
|
3024
3074
|
xe as findAdresse,
|
|
3025
|
-
|
|
3075
|
+
ct as getAllContextSecurity,
|
|
3026
3076
|
te as getCSRFToken,
|
|
3027
3077
|
Ue as getCommunes,
|
|
3028
|
-
|
|
3029
|
-
|
|
3078
|
+
Me as getComplementUG,
|
|
3079
|
+
dt as getDataFrom3DSpace,
|
|
3030
3080
|
Ie as getDataFromGouvFr,
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
Be as
|
|
3081
|
+
ft as getDatasByTenant,
|
|
3082
|
+
mt as getDatasFrom3DSpace,
|
|
3083
|
+
ut as getDownloadDocument,
|
|
3084
|
+
yt as getInfoDocTags,
|
|
3085
|
+
Be as getUserGroupsByEmailList,
|
|
3086
|
+
Ee as getUserGroupsByURIList,
|
|
3036
3087
|
Ge as getUserGroupsList,
|
|
3037
3088
|
ee as getUsersGroupRules,
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3089
|
+
lt as get_3DSpace_csrf,
|
|
3090
|
+
qe as patchUserGroups,
|
|
3091
|
+
Xe as patchUserGroupsControl,
|
|
3092
|
+
pt as pushDataIn3DSpace,
|
|
3093
|
+
We as readUserGroupControl,
|
|
3094
|
+
ht as removeTagToDoc,
|
|
3095
|
+
Vt as sayHello,
|
|
3045
3096
|
Ne as updateEvent
|
|
3046
3097
|
};
|
|
3047
3098
|
//# sourceMappingURL=wb3Api.js.map
|