@beam3_dev/api_module 0.0.350 → 0.0.352
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 +164 -129
- 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
|
@@ -151,7 +151,7 @@ function Ne(e, n, t) {
|
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Ie(e, n = void 0) {
|
|
155
155
|
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (t) => {
|
|
156
156
|
let i;
|
|
157
157
|
i === void 0 && (i = t.createProxy({
|
|
@@ -160,7 +160,7 @@ function ke(e, n = void 0) {
|
|
|
160
160
|
}), n !== void 0 && i.addEvent("onFilterSubjectsChange", n)), i.setSubjectsTags(e);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function ke(e, n) {
|
|
164
164
|
$(["DS/DataDragAndDrop/DataDragAndDrop"], (t) => {
|
|
165
165
|
t.droppable(e, {
|
|
166
166
|
drop: n
|
|
@@ -698,6 +698,31 @@ function N(e, n = void 0, t = void 0) {
|
|
|
698
698
|
}
|
|
699
699
|
);
|
|
700
700
|
}
|
|
701
|
+
function ze(e, n = void 0, t = void 0) {
|
|
702
|
+
return new Promise((i, s) => {
|
|
703
|
+
if (e.objID && e.objID !== "") {
|
|
704
|
+
let r = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
705
|
+
m(r, {
|
|
706
|
+
onComplete(o, a, c) {
|
|
707
|
+
const d = JSON.parse(o);
|
|
708
|
+
e.success = !0, e.csrf = d?.csrf?.value, e.datas = d?.data[0], i(e);
|
|
709
|
+
},
|
|
710
|
+
onFailure(o) {
|
|
711
|
+
s({ success: !1, credentials: e, error: o });
|
|
712
|
+
}
|
|
713
|
+
});
|
|
714
|
+
} else
|
|
715
|
+
b(
|
|
716
|
+
e,
|
|
717
|
+
(r) => {
|
|
718
|
+
e.success = !0, e.csrf = r, i(e);
|
|
719
|
+
},
|
|
720
|
+
(r) => {
|
|
721
|
+
s({ success: !1, credentials: e, error: r });
|
|
722
|
+
}
|
|
723
|
+
);
|
|
724
|
+
});
|
|
725
|
+
}
|
|
701
726
|
function b(e, n = void 0, t = void 0) {
|
|
702
727
|
if (e.space) {
|
|
703
728
|
const i = e.space + "/resources/v1/application/CSRF";
|
|
@@ -741,7 +766,7 @@ function j(e, n = void 0, t = void 0) {
|
|
|
741
766
|
}
|
|
742
767
|
);
|
|
743
768
|
}
|
|
744
|
-
function
|
|
769
|
+
function He(e, n, t = void 0, i = void 0, s = void 0) {
|
|
745
770
|
const r = `${e.space}/resources/v1/modeler/documents/${n}/files/DownloadTicket`;
|
|
746
771
|
t || (t = e.token), m(r, {
|
|
747
772
|
method: "PUT",
|
|
@@ -851,7 +876,7 @@ function oe(e, n, t, i, s, r, o = void 0, a = void 0) {
|
|
|
851
876
|
}
|
|
852
877
|
});
|
|
853
878
|
}
|
|
854
|
-
async function
|
|
879
|
+
async function Qe(e, n, t = void 0, i = void 0) {
|
|
855
880
|
e.space, e.token, e.ctx;
|
|
856
881
|
const s = e?.description, r = e?.title;
|
|
857
882
|
if (!n) {
|
|
@@ -884,7 +909,7 @@ async function He(e, n, t = void 0, i = void 0) {
|
|
|
884
909
|
}
|
|
885
910
|
});
|
|
886
911
|
}
|
|
887
|
-
async function
|
|
912
|
+
async function Ze(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0) {
|
|
888
913
|
let { tenant: o, cs_name: a } = e;
|
|
889
914
|
if (!o && !a) {
|
|
890
915
|
s && s("Credentials undefined");
|
|
@@ -921,12 +946,12 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
921
946
|
t,
|
|
922
947
|
n,
|
|
923
948
|
(_) => {
|
|
924
|
-
const
|
|
949
|
+
const k = new DOMParser().parseFromString(
|
|
925
950
|
_,
|
|
926
951
|
"text/html"
|
|
927
952
|
).body.firstChild.querySelector("input").getAttributeNode("value").value, v = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
|
|
928
953
|
a
|
|
929
|
-
)}/contents?receipt=${encodeURIComponent(
|
|
954
|
+
)}/contents?receipt=${encodeURIComponent(k)}`;
|
|
930
955
|
let W = /(?:\.([^.]+))?$/.exec(n)[1];
|
|
931
956
|
const D = JSON.stringify({
|
|
932
957
|
actions: [],
|
|
@@ -990,7 +1015,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
990
1015
|
}
|
|
991
1016
|
);
|
|
992
1017
|
}
|
|
993
|
-
async function
|
|
1018
|
+
async function et(e, n, t, i = void 0, s = void 0) {
|
|
994
1019
|
e.space, e.token, e.ctx, M(
|
|
995
1020
|
e,
|
|
996
1021
|
n,
|
|
@@ -1015,7 +1040,7 @@ async function Ze(e, n, t, i = void 0, s = void 0) {
|
|
|
1015
1040
|
}
|
|
1016
1041
|
);
|
|
1017
1042
|
}
|
|
1018
|
-
async function
|
|
1043
|
+
async function tt(e, n, t, i, s = void 0, r = void 0) {
|
|
1019
1044
|
ae(
|
|
1020
1045
|
e,
|
|
1021
1046
|
(o) => {
|
|
@@ -1137,7 +1162,7 @@ function re(e, n, t, i = void 0, s = void 0, r = void 0) {
|
|
|
1137
1162
|
}
|
|
1138
1163
|
});
|
|
1139
1164
|
}
|
|
1140
|
-
function
|
|
1165
|
+
function I(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0, o = !1) {
|
|
1141
1166
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
1142
1167
|
m(a, {
|
|
1143
1168
|
method: "GET",
|
|
@@ -1305,7 +1330,7 @@ function de(e, n, t = void 0, i = void 0, s = void 0) {
|
|
|
1305
1330
|
}
|
|
1306
1331
|
});
|
|
1307
1332
|
}
|
|
1308
|
-
function
|
|
1333
|
+
function nt(e, n, t = void 0, i = void 0) {
|
|
1309
1334
|
return new Promise((s) => {
|
|
1310
1335
|
if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
|
|
1311
1336
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -1336,7 +1361,7 @@ function tt(e, n, t = void 0, i = void 0) {
|
|
|
1336
1361
|
}
|
|
1337
1362
|
});
|
|
1338
1363
|
}
|
|
1339
|
-
function
|
|
1364
|
+
function st(e, n, t, i = void 0, s = void 0) {
|
|
1340
1365
|
return new Promise((r) => {
|
|
1341
1366
|
if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
|
|
1342
1367
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -1368,11 +1393,11 @@ function nt(e, n, t, i = void 0, s = void 0) {
|
|
|
1368
1393
|
}
|
|
1369
1394
|
});
|
|
1370
1395
|
}
|
|
1371
|
-
function
|
|
1396
|
+
function it(e, n, t = void 0, i = void 0) {
|
|
1372
1397
|
return new Promise((s) => {
|
|
1373
1398
|
if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
|
|
1374
1399
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1375
|
-
|
|
1400
|
+
I(
|
|
1376
1401
|
e.space,
|
|
1377
1402
|
"ESPACE COMMUN",
|
|
1378
1403
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1409,11 +1434,11 @@ function st(e, n, t = void 0, i = void 0) {
|
|
|
1409
1434
|
}
|
|
1410
1435
|
});
|
|
1411
1436
|
}
|
|
1412
|
-
function
|
|
1437
|
+
function ot(e, n, t = void 0, i = void 0) {
|
|
1413
1438
|
return new Promise((s) => {
|
|
1414
1439
|
if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
|
|
1415
1440
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1416
|
-
|
|
1441
|
+
I(
|
|
1417
1442
|
e.space,
|
|
1418
1443
|
"ESPACE COMMUN",
|
|
1419
1444
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1456,11 +1481,11 @@ function it(e, n, t = void 0, i = void 0) {
|
|
|
1456
1481
|
}
|
|
1457
1482
|
});
|
|
1458
1483
|
}
|
|
1459
|
-
function
|
|
1484
|
+
function at(e, n, t, i = void 0, s = void 0) {
|
|
1460
1485
|
return new Promise((r) => {
|
|
1461
1486
|
if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
|
|
1462
1487
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1463
|
-
|
|
1488
|
+
I(
|
|
1464
1489
|
e.space,
|
|
1465
1490
|
"ESPACE COMMUN",
|
|
1466
1491
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1517,7 +1542,7 @@ function ue(e) {
|
|
|
1517
1542
|
});
|
|
1518
1543
|
});
|
|
1519
1544
|
}
|
|
1520
|
-
function
|
|
1545
|
+
function rt(e, n, t = void 0, i = void 0) {
|
|
1521
1546
|
return new Promise(async (s, r) => {
|
|
1522
1547
|
const { tenant: o, ctx: a, space: c } = e;
|
|
1523
1548
|
(!o || !a || !c) && r({ error: "Erreur de credentials", tenant: o, ctx: a, space: c });
|
|
@@ -1552,13 +1577,22 @@ function at(e, n, t = void 0, i = void 0) {
|
|
|
1552
1577
|
m(d, p);
|
|
1553
1578
|
});
|
|
1554
1579
|
}
|
|
1555
|
-
function
|
|
1580
|
+
function ct(e) {
|
|
1556
1581
|
return new Promise((n, t) => {
|
|
1557
1582
|
const { _fedSearch: i, currentTenant: s, ctx: r } = e;
|
|
1558
|
-
r || t({
|
|
1583
|
+
r || t({
|
|
1584
|
+
success: !1,
|
|
1585
|
+
msg: "getBookmarksRoot: ctx is missing in credentials"
|
|
1586
|
+
}), i || t({
|
|
1587
|
+
success: !1,
|
|
1588
|
+
msg: "getBookmarksRoot: _fedSearch is missing in credentials"
|
|
1589
|
+
}), s || t({
|
|
1590
|
+
success: !1,
|
|
1591
|
+
msg: "getBookmarksRoot: currentTenant is missing in credentials"
|
|
1592
|
+
});
|
|
1559
1593
|
const o = {
|
|
1560
1594
|
base: i,
|
|
1561
|
-
uri: "/
|
|
1595
|
+
uri: "/search",
|
|
1562
1596
|
opt: `?tenant=${s}`
|
|
1563
1597
|
}, a = {
|
|
1564
1598
|
select_predicate: [
|
|
@@ -1628,7 +1662,7 @@ function rt(e) {
|
|
|
1628
1662
|
});
|
|
1629
1663
|
});
|
|
1630
1664
|
}
|
|
1631
|
-
function
|
|
1665
|
+
function dt(e, n) {
|
|
1632
1666
|
return new Promise((t, i) => {
|
|
1633
1667
|
const s = `${e.space}/resources/v1/FolderManagement/Folder/${n}/folderTree?tenant=${e.tenant.toUpperCase()}`, r = {
|
|
1634
1668
|
expandList: "",
|
|
@@ -1662,7 +1696,7 @@ function ct(e, n) {
|
|
|
1662
1696
|
});
|
|
1663
1697
|
});
|
|
1664
1698
|
}
|
|
1665
|
-
function
|
|
1699
|
+
function ut(e, n) {
|
|
1666
1700
|
return new Promise((t, i) => {
|
|
1667
1701
|
const s = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark/${n}?$mask=dsbks:BksMask.Items`;
|
|
1668
1702
|
m(s, {
|
|
@@ -1684,7 +1718,7 @@ function dt(e, n) {
|
|
|
1684
1718
|
});
|
|
1685
1719
|
});
|
|
1686
1720
|
}
|
|
1687
|
-
function
|
|
1721
|
+
function pt(e, n, t, i, s = void 0, r = void 0) {
|
|
1688
1722
|
return new Promise((o) => {
|
|
1689
1723
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1690
1724
|
let c = {
|
|
@@ -1717,7 +1751,7 @@ function ut(e, n, t, i, s = void 0, r = void 0) {
|
|
|
1717
1751
|
m(a, u);
|
|
1718
1752
|
});
|
|
1719
1753
|
}
|
|
1720
|
-
function
|
|
1754
|
+
function lt(e, n, t, i, s = void 0, r = void 0) {
|
|
1721
1755
|
return console.log("credentials", e), new Promise((o) => {
|
|
1722
1756
|
`${e.space}`, JSON.stringify({
|
|
1723
1757
|
csrf: {
|
|
@@ -1741,7 +1775,7 @@ function pt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
1741
1775
|
});
|
|
1742
1776
|
}
|
|
1743
1777
|
//!SECTION
|
|
1744
|
-
function
|
|
1778
|
+
function ft(e, n = void 0, t = void 0) {
|
|
1745
1779
|
const i = {
|
|
1746
1780
|
base: `${e.space}`,
|
|
1747
1781
|
uri: "/resources/bps/cspaces",
|
|
@@ -1762,7 +1796,7 @@ function lt(e, n = void 0, t = void 0) {
|
|
|
1762
1796
|
}
|
|
1763
1797
|
});
|
|
1764
1798
|
}
|
|
1765
|
-
function
|
|
1799
|
+
function mt(e, n, t, i) {
|
|
1766
1800
|
j(
|
|
1767
1801
|
e.space,
|
|
1768
1802
|
n,
|
|
@@ -1779,7 +1813,7 @@ function ft(e, n, t, i) {
|
|
|
1779
1813
|
}
|
|
1780
1814
|
);
|
|
1781
1815
|
}
|
|
1782
|
-
async function
|
|
1816
|
+
async function gt(e, n, t = void 0, i = void 0) {
|
|
1783
1817
|
return new Promise((s) => {
|
|
1784
1818
|
j(e, n, (r) => {
|
|
1785
1819
|
m(r, {
|
|
@@ -1791,7 +1825,7 @@ async function mt(e, n, t = void 0, i = void 0) {
|
|
|
1791
1825
|
});
|
|
1792
1826
|
});
|
|
1793
1827
|
}
|
|
1794
|
-
function
|
|
1828
|
+
function ht(e, n, t, i = void 0, s = void 0) {
|
|
1795
1829
|
const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
|
|
1796
1830
|
e = { ...e, objID: t }, N(
|
|
1797
1831
|
e,
|
|
@@ -1819,7 +1853,7 @@ function gt(e, n, t, i = void 0, s = void 0) {
|
|
|
1819
1853
|
}
|
|
1820
1854
|
let K, q;
|
|
1821
1855
|
const A = [];
|
|
1822
|
-
async function
|
|
1856
|
+
async function yt(e, n = void 0, t = void 0) {
|
|
1823
1857
|
e.objID && e.objID !== "" ? N(
|
|
1824
1858
|
e,
|
|
1825
1859
|
(i) => {
|
|
@@ -1838,7 +1872,7 @@ async function ht(e, n = void 0, t = void 0) {
|
|
|
1838
1872
|
}
|
|
1839
1873
|
);
|
|
1840
1874
|
}
|
|
1841
|
-
async function
|
|
1875
|
+
async function _t(e, n = void 0, t = void 0) {
|
|
1842
1876
|
console.log("getDatasByTenant (getDocuments)", e), await E(
|
|
1843
1877
|
e,
|
|
1844
1878
|
(i) => {
|
|
@@ -1850,7 +1884,7 @@ async function yt(e, n = void 0, t = void 0) {
|
|
|
1850
1884
|
}
|
|
1851
1885
|
);
|
|
1852
1886
|
}
|
|
1853
|
-
function
|
|
1887
|
+
function St(e, n = void 0, t = void 0) {
|
|
1854
1888
|
const i = [];
|
|
1855
1889
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1856
1890
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
@@ -1899,7 +1933,7 @@ const le = "FA35FB9B177A280065800EA0000F599C", fe = [
|
|
|
1899
1933
|
order_by: "desc",
|
|
1900
1934
|
tag: "testTag"
|
|
1901
1935
|
};
|
|
1902
|
-
function
|
|
1936
|
+
function wt(e, n, t = void 0, i = void 0) {
|
|
1903
1937
|
const { space: s, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
|
|
1904
1938
|
uri: "/resources/6w/tags",
|
|
1905
1939
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -2042,7 +2076,7 @@ function ge(e, n, t = void 0, i = void 0) {
|
|
|
2042
2076
|
}
|
|
2043
2077
|
});
|
|
2044
2078
|
}
|
|
2045
|
-
function
|
|
2079
|
+
function Ct(e, n, t = void 0, i = void 0) {
|
|
2046
2080
|
const { objId: s, pred: r, tag: o } = n, a = {
|
|
2047
2081
|
uri: "/resources/6w/tags",
|
|
2048
2082
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -2078,7 +2112,7 @@ function wt(e, n, t = void 0, i = void 0) {
|
|
|
2078
2112
|
}
|
|
2079
2113
|
});
|
|
2080
2114
|
}
|
|
2081
|
-
function
|
|
2115
|
+
function bt(e, n = "", t = void 0, i = void 0) {
|
|
2082
2116
|
const { space: s } = e;
|
|
2083
2117
|
if (n === "")
|
|
2084
2118
|
return;
|
|
@@ -2114,7 +2148,7 @@ async function C(e, n = void 0, t = void 0) {
|
|
|
2114
2148
|
}
|
|
2115
2149
|
});
|
|
2116
2150
|
}
|
|
2117
|
-
function
|
|
2151
|
+
function Ot(e, n = void 0, t = void 0) {
|
|
2118
2152
|
const i = `${e._3DSwym}/api/exalead/whatsnew`, s = {
|
|
2119
2153
|
params: {
|
|
2120
2154
|
community_id: null,
|
|
@@ -2144,7 +2178,7 @@ function bt(e, n = void 0, t = void 0) {
|
|
|
2144
2178
|
});
|
|
2145
2179
|
});
|
|
2146
2180
|
}
|
|
2147
|
-
function
|
|
2181
|
+
function Tt(e, n = void 0, t = void 0) {
|
|
2148
2182
|
const i = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, s = {
|
|
2149
2183
|
params: {
|
|
2150
2184
|
idsToFilterArr: [],
|
|
@@ -2174,7 +2208,7 @@ function Ot(e, n = void 0, t = void 0) {
|
|
|
2174
2208
|
});
|
|
2175
2209
|
});
|
|
2176
2210
|
}
|
|
2177
|
-
function
|
|
2211
|
+
function $t(e, n = void 0, t = void 0) {
|
|
2178
2212
|
const i = {
|
|
2179
2213
|
base: e._3DSwym,
|
|
2180
2214
|
uri: "/api/community/listmycommunities",
|
|
@@ -2244,7 +2278,7 @@ function he(e, n, t, i) {
|
|
|
2244
2278
|
});
|
|
2245
2279
|
});
|
|
2246
2280
|
}
|
|
2247
|
-
function
|
|
2281
|
+
function xt(e, n = void 0, t = void 0) {
|
|
2248
2282
|
const i = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
2249
2283
|
e.commu_id || (e.commu_id = i);
|
|
2250
2284
|
const s = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -2267,7 +2301,7 @@ function $t(e, n = void 0, t = void 0) {
|
|
|
2267
2301
|
});
|
|
2268
2302
|
});
|
|
2269
2303
|
}
|
|
2270
|
-
function
|
|
2304
|
+
function Ut(e, n, t = void 0, i = void 0) {
|
|
2271
2305
|
const { listAllContacts: s, currentUser: r, _3DSwym: o } = e;
|
|
2272
2306
|
console.log("__listAllContacts", s.hits);
|
|
2273
2307
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -2383,7 +2417,7 @@ function _e(e) {
|
|
|
2383
2417
|
<hr/>
|
|
2384
2418
|
<p><u>envoyer :</u>Le <b>${n} à ${t}</b></p>`;
|
|
2385
2419
|
}
|
|
2386
|
-
function
|
|
2420
|
+
function Rt(e, n, t = void 0, i = void 0) {
|
|
2387
2421
|
const s = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
2388
2422
|
(c) => c.id === n.community_id
|
|
2389
2423
|
), o = e.swymCommunities.find(
|
|
@@ -2422,7 +2456,7 @@ function Ut(e, n, t = void 0, i = void 0) {
|
|
|
2422
2456
|
});
|
|
2423
2457
|
});
|
|
2424
2458
|
}
|
|
2425
|
-
function
|
|
2459
|
+
function Ft(e, n = void 0, t = void 0) {
|
|
2426
2460
|
const i = { base: e.space, uri: "/api/idea/add" };
|
|
2427
2461
|
if (!Array.isArray(e.swymCommunities)) {
|
|
2428
2462
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
@@ -2495,7 +2529,7 @@ function Rt(e, n = void 0, t = void 0) {
|
|
|
2495
2529
|
m(i.base + i.uri, a);
|
|
2496
2530
|
});
|
|
2497
2531
|
}
|
|
2498
|
-
function
|
|
2532
|
+
function Nt(e, n, t = void 0, i = void 0) {
|
|
2499
2533
|
const s = `${e.space}/api/idea/delete`, r = {
|
|
2500
2534
|
params: {
|
|
2501
2535
|
community_id: n.community_id,
|
|
@@ -2522,7 +2556,7 @@ function Ft(e, n, t = void 0, i = void 0) {
|
|
|
2522
2556
|
});
|
|
2523
2557
|
});
|
|
2524
2558
|
}
|
|
2525
|
-
function
|
|
2559
|
+
function It(e, n = void 0, t = void 0) {
|
|
2526
2560
|
const { _3DSwym: i, _3DSwym_token: s } = e, r = `${i}/api/idea/get`;
|
|
2527
2561
|
if (e.idPost === "") {
|
|
2528
2562
|
const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
@@ -2595,7 +2629,7 @@ function kt(e, n, t) {
|
|
|
2595
2629
|
};
|
|
2596
2630
|
m(p.base + p.uri, l);
|
|
2597
2631
|
}
|
|
2598
|
-
function
|
|
2632
|
+
function jt(e, n, t = void 0, i = void 0) {
|
|
2599
2633
|
const { _3DSwym: s } = e;
|
|
2600
2634
|
let { community_id: r, limit: o, page: a, search: c } = n;
|
|
2601
2635
|
const d = [], u = 1;
|
|
@@ -2622,7 +2656,7 @@ function It(e, n, t = void 0, i = void 0) {
|
|
|
2622
2656
|
d.push(_.response.result);
|
|
2623
2657
|
else {
|
|
2624
2658
|
const O = _.response.result.find(
|
|
2625
|
-
(
|
|
2659
|
+
(k) => k.title.includes(c)
|
|
2626
2660
|
);
|
|
2627
2661
|
if (O) {
|
|
2628
2662
|
t(O);
|
|
@@ -2720,7 +2754,7 @@ function Se(e) {
|
|
|
2720
2754
|
<p>
|
|
2721
2755
|
</p>` : e;
|
|
2722
2756
|
}
|
|
2723
|
-
function
|
|
2757
|
+
function vt(e, n = void 0, t = void 0) {
|
|
2724
2758
|
const { tenant: i, _3DSwym: s, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2725
2759
|
if (i && s && r && o && a) {
|
|
2726
2760
|
const c = `${s}/api/idea/forward`;
|
|
@@ -2753,7 +2787,7 @@ function jt(e, n = void 0, t = void 0) {
|
|
|
2753
2787
|
credentials: e
|
|
2754
2788
|
});
|
|
2755
2789
|
}
|
|
2756
|
-
function
|
|
2790
|
+
function Dt(e, n = void 0, t = void 0) {
|
|
2757
2791
|
return new Promise((i, s) => {
|
|
2758
2792
|
try {
|
|
2759
2793
|
let r;
|
|
@@ -2783,7 +2817,7 @@ function vt(e, n = void 0, t = void 0) {
|
|
|
2783
2817
|
}
|
|
2784
2818
|
});
|
|
2785
2819
|
}
|
|
2786
|
-
function
|
|
2820
|
+
function At(e, n, t = void 0, i = void 0) {
|
|
2787
2821
|
const s = e.space + "/api/user/find/login/" + n;
|
|
2788
2822
|
C(
|
|
2789
2823
|
e,
|
|
@@ -2803,7 +2837,7 @@ function Dt(e, n, t = void 0, i = void 0) {
|
|
|
2803
2837
|
i
|
|
2804
2838
|
);
|
|
2805
2839
|
}
|
|
2806
|
-
function
|
|
2840
|
+
function Pt(e, n = void 0, t = void 0) {
|
|
2807
2841
|
const {
|
|
2808
2842
|
_3DSwym: i,
|
|
2809
2843
|
_3DSwym_token: s,
|
|
@@ -2830,13 +2864,13 @@ function At(e, n = void 0, t = void 0) {
|
|
|
2830
2864
|
};
|
|
2831
2865
|
m(a, d);
|
|
2832
2866
|
}
|
|
2833
|
-
function
|
|
2867
|
+
function Lt(e, n = void 0, t = void 0) {
|
|
2834
2868
|
e.tenant && J(e, (i) => {
|
|
2835
2869
|
const s = i.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2836
2870
|
return n && n(s), s;
|
|
2837
2871
|
});
|
|
2838
2872
|
}
|
|
2839
|
-
function
|
|
2873
|
+
function Jt(e, n = void 0, t = void 0) {
|
|
2840
2874
|
e.tenant ? J(e, (i) => {
|
|
2841
2875
|
const s = i.services.find(
|
|
2842
2876
|
(a) => a.id === "3dpassport"
|
|
@@ -2856,7 +2890,7 @@ function Lt(e, n = void 0, t = void 0) {
|
|
|
2856
2890
|
});
|
|
2857
2891
|
}) : t && t("No tenant");
|
|
2858
2892
|
}
|
|
2859
|
-
function
|
|
2893
|
+
function Mt(e, n = void 0, t = void 0) {
|
|
2860
2894
|
if (e.tenant) {
|
|
2861
2895
|
const i = e.tenant.toLowerCase();
|
|
2862
2896
|
fetch(`https://api.uixhome.fr/${i}/iterop/jwtuser`, {
|
|
@@ -2868,7 +2902,7 @@ function Jt(e, n = void 0, t = void 0) {
|
|
|
2868
2902
|
});
|
|
2869
2903
|
}
|
|
2870
2904
|
}
|
|
2871
|
-
async function
|
|
2905
|
+
async function Gt(e, n, t = void 0, i = void 0) {
|
|
2872
2906
|
if (e.tenant) {
|
|
2873
2907
|
const s = e.tenant.toLowerCase();
|
|
2874
2908
|
fetch(
|
|
@@ -2883,7 +2917,7 @@ async function Mt(e, n, t = void 0, i = void 0) {
|
|
|
2883
2917
|
});
|
|
2884
2918
|
}
|
|
2885
2919
|
}
|
|
2886
|
-
function
|
|
2920
|
+
function Bt(e, n, t, i = void 0, s = void 0) {
|
|
2887
2921
|
if (e.tenant) {
|
|
2888
2922
|
const r = e.tenant.toLowerCase();
|
|
2889
2923
|
fetch(
|
|
@@ -2898,7 +2932,7 @@ function Gt(e, n, t, i = void 0, s = void 0) {
|
|
|
2898
2932
|
});
|
|
2899
2933
|
}
|
|
2900
2934
|
}
|
|
2901
|
-
async function
|
|
2935
|
+
async function Et(e, n, t, i = void 0, s = void 0) {
|
|
2902
2936
|
if (e.tenant) {
|
|
2903
2937
|
const r = e.tenant.toLowerCase();
|
|
2904
2938
|
fetch(
|
|
@@ -2916,7 +2950,7 @@ async function Bt(e, n, t, i = void 0, s = void 0) {
|
|
|
2916
2950
|
});
|
|
2917
2951
|
}
|
|
2918
2952
|
}
|
|
2919
|
-
async function
|
|
2953
|
+
async function Kt(e, n, t, i, s = void 0, r = void 0) {
|
|
2920
2954
|
if (e.tenant) {
|
|
2921
2955
|
const o = e.tenant.toLowerCase();
|
|
2922
2956
|
fetch(
|
|
@@ -2931,7 +2965,7 @@ async function Et(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2931
2965
|
});
|
|
2932
2966
|
}
|
|
2933
2967
|
}
|
|
2934
|
-
async function
|
|
2968
|
+
async function qt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
2935
2969
|
if (e.tenant) {
|
|
2936
2970
|
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${t}?t=${n}&c=${encodeURIComponent(
|
|
2937
2971
|
i
|
|
@@ -2950,7 +2984,7 @@ async function Kt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
|
2950
2984
|
});
|
|
2951
2985
|
}
|
|
2952
2986
|
}
|
|
2953
|
-
async function
|
|
2987
|
+
async function Xt(e, n, t, i, s = void 0, r = void 0) {
|
|
2954
2988
|
if (e.tenant) {
|
|
2955
2989
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
|
|
2956
2990
|
i
|
|
@@ -2967,7 +3001,7 @@ async function qt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2967
3001
|
});
|
|
2968
3002
|
}
|
|
2969
3003
|
}
|
|
2970
|
-
async function
|
|
3004
|
+
async function Wt(e, n, t, i = void 0, s = void 0) {
|
|
2971
3005
|
if (e.tenant) {
|
|
2972
3006
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${n}&b=${encodeURIComponent(
|
|
2973
3007
|
t
|
|
@@ -2984,7 +3018,7 @@ async function Xt(e, n, t, i = void 0, s = void 0) {
|
|
|
2984
3018
|
});
|
|
2985
3019
|
}
|
|
2986
3020
|
}
|
|
2987
|
-
async function
|
|
3021
|
+
async function Vt(e, n, t, i, s = void 0, r = void 0) {
|
|
2988
3022
|
if (e.tenant) {
|
|
2989
3023
|
const o = e.tenant.toLowerCase();
|
|
2990
3024
|
fetch(
|
|
@@ -2999,7 +3033,7 @@ async function Wt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2999
3033
|
});
|
|
3000
3034
|
}
|
|
3001
3035
|
}
|
|
3002
|
-
async function
|
|
3036
|
+
async function Yt(e, n, t, i = void 0, s = void 0) {
|
|
3003
3037
|
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
3004
3038
|
const r = e.tenant.toLowerCase();
|
|
3005
3039
|
fetch(
|
|
@@ -3014,7 +3048,7 @@ async function Vt(e, n, t, i = void 0, s = void 0) {
|
|
|
3014
3048
|
});
|
|
3015
3049
|
}
|
|
3016
3050
|
}
|
|
3017
|
-
async function
|
|
3051
|
+
async function zt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
3018
3052
|
if (e.tenant) {
|
|
3019
3053
|
const a = e.tenant.toLowerCase();
|
|
3020
3054
|
fetch(
|
|
@@ -3029,7 +3063,7 @@ async function Yt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
|
3029
3063
|
});
|
|
3030
3064
|
}
|
|
3031
3065
|
}
|
|
3032
|
-
async function
|
|
3066
|
+
async function Ht(e, n, t, i, s = void 0, r = void 0) {
|
|
3033
3067
|
if (e.tenant) {
|
|
3034
3068
|
const o = e.tenant.toLowerCase();
|
|
3035
3069
|
fetch(
|
|
@@ -3045,7 +3079,7 @@ async function zt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
3045
3079
|
}
|
|
3046
3080
|
}
|
|
3047
3081
|
//!SECTION
|
|
3048
|
-
async function
|
|
3082
|
+
async function Qt(e, n, t, i = void 0, s = void 0) {
|
|
3049
3083
|
if (e.tenant) {
|
|
3050
3084
|
const r = e.tenant.toLowerCase();
|
|
3051
3085
|
fetch(
|
|
@@ -3061,17 +3095,17 @@ async function Ht(e, n, t, i = void 0, s = void 0) {
|
|
|
3061
3095
|
}
|
|
3062
3096
|
}
|
|
3063
3097
|
//!SECTION
|
|
3064
|
-
function
|
|
3098
|
+
function Zt(e) {
|
|
3065
3099
|
const n = "Hello " + e;
|
|
3066
3100
|
return console.log(n), n;
|
|
3067
3101
|
}
|
|
3068
|
-
function
|
|
3102
|
+
function en(e, n = void 0, t = void 0) {
|
|
3069
3103
|
return console.log("credentials", e), new Promise((i) => {
|
|
3070
3104
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
3071
3105
|
const o = Z();
|
|
3072
3106
|
console.log("platformeInfo", o);
|
|
3073
3107
|
}
|
|
3074
|
-
|
|
3108
|
+
I(
|
|
3075
3109
|
e,
|
|
3076
3110
|
"Common space",
|
|
3077
3111
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -3146,81 +3180,82 @@ function Zt(e, n = void 0, t = void 0) {
|
|
|
3146
3180
|
}
|
|
3147
3181
|
export {
|
|
3148
3182
|
Y as UUID,
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3183
|
+
en as _3DSearch_usersGroup,
|
|
3184
|
+
tt as _3DSpace_Create_Doc,
|
|
3185
|
+
et as _3DSpace_Update_Doc,
|
|
3186
|
+
Ze as _3DSpace_Upload_File,
|
|
3187
|
+
lt as _3DSpace_bookmark_addSubsciptions,
|
|
3188
|
+
ut as _3DSpace_bookmark_getItems,
|
|
3189
|
+
dt as _3DSpace_bookmark_getSubSignets,
|
|
3190
|
+
pt as _3DSpace_bookmark_newWorkspace,
|
|
3157
3191
|
b as _3DSpace_csrf,
|
|
3158
3192
|
E as _3DSpace_download_doc,
|
|
3159
3193
|
ce as _3DSpace_download_multidoc,
|
|
3160
3194
|
G as _3DSpace_file_update,
|
|
3161
3195
|
oe as _3DSpace_file_update_csr,
|
|
3162
|
-
|
|
3163
|
-
|
|
3196
|
+
He as _3DSpace_file_url_csr,
|
|
3197
|
+
ct as _3DSpace_getBookmarksRoot,
|
|
3198
|
+
ze as _3DSpace_get_CSRF,
|
|
3164
3199
|
N as _3DSpace_get_csrf,
|
|
3165
3200
|
M as _3DSpace_get_docInfo,
|
|
3166
3201
|
de as _3DSpace_get_downloadTicket_multidoc,
|
|
3167
3202
|
Ye as _3DSpace_get_multiDocInfo,
|
|
3168
|
-
|
|
3203
|
+
I as _3DSpace_get_securityContexts,
|
|
3169
3204
|
j as _3DSpace_get_ticket,
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3205
|
+
at as _3DSpace_lifecycle_changeRevision,
|
|
3206
|
+
st as _3DSpace_lifecycle_changeState,
|
|
3207
|
+
it as _3DSpace_lifecycle_getGraph,
|
|
3208
|
+
ot as _3DSpace_lifecycle_getNextRevision,
|
|
3209
|
+
nt as _3DSpace_lifecycle_getNextStates,
|
|
3210
|
+
rt as _3DSpace_lifecycle_getRevisions,
|
|
3211
|
+
Qe as _3DSpace_put_docInfo,
|
|
3212
|
+
vt as _3DSwym_ForwardIdea,
|
|
3213
|
+
Pt as _3DSwym_addComment,
|
|
3214
|
+
Ut as _3DSwym_buildDirectMessage,
|
|
3215
|
+
Nt as _3DSwym_deleteIdea,
|
|
3181
3216
|
kt as _3DSwym_editIdea,
|
|
3182
3217
|
ye as _3DSwym_findCommunityToInstantMSG,
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3218
|
+
$t as _3DSwym_getAllCommunities,
|
|
3219
|
+
jt as _3DSwym_getAllListIdeas,
|
|
3220
|
+
Ot as _3DSwym_getAllNews,
|
|
3221
|
+
Tt as _3DSwym_getFamiliarPeople,
|
|
3222
|
+
xt as _3DSwym_getIdeaStatusMaturity,
|
|
3188
3223
|
he as _3DSwym_getMembersCommunity,
|
|
3189
|
-
|
|
3224
|
+
It as _3DSwym_getOneIdea,
|
|
3190
3225
|
C as _3DSwym_get_Token,
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3226
|
+
Dt as _3DSwym_get_currentUser,
|
|
3227
|
+
At as _3DSwym_get_findUser,
|
|
3228
|
+
Ft as _3DSwym_postIdea,
|
|
3229
|
+
Rt as _3DSwym_postIdeaTemplate,
|
|
3195
3230
|
P as _3DSwym_sendMessageData,
|
|
3196
3231
|
Je as _AppMngt_get_info_user,
|
|
3197
3232
|
Le as _AppMngt_get_users,
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3233
|
+
Kt as _Iterop_AddOrRemoveRows,
|
|
3234
|
+
Jt as _Iterop_Auth_CAS,
|
|
3235
|
+
Yt as _Iterop_GetOneDependencyTable,
|
|
3236
|
+
Qt as _Iterop_GetOneList,
|
|
3237
|
+
zt as _Iterop_PatchDependencyTable,
|
|
3238
|
+
Ht as _Iterop_PutDependencyTable,
|
|
3239
|
+
qt as _Iterop_businessTableSearchInRows,
|
|
3240
|
+
Wt as _Iterop_createBusinessTable,
|
|
3241
|
+
Gt as _Iterop_getAllBusinessTables,
|
|
3242
|
+
Bt as _Iterop_getOneBusinessTable,
|
|
3243
|
+
Et as _Iterop_getOneBusinessTableRows,
|
|
3244
|
+
Mt as _Iterop_jwtUser,
|
|
3245
|
+
Vt as _Iterop_runProcess,
|
|
3246
|
+
Xt as _Iterop_updateBusinessTable,
|
|
3212
3247
|
Ae as _Registry_getServicesUrl,
|
|
3213
3248
|
ve as _getMe,
|
|
3214
3249
|
Z as _getPlateformInfos,
|
|
3215
3250
|
je as _getPlatformServices,
|
|
3216
3251
|
J as _getServiceUrl,
|
|
3217
3252
|
De as _getServiceUrl_3DPassport,
|
|
3218
|
-
|
|
3253
|
+
Lt as _getServiceUrl_Iterop,
|
|
3219
3254
|
m as _httpCallAuthenticated,
|
|
3220
3255
|
Ne as _setDraggable,
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3256
|
+
ke as _setDroppable,
|
|
3257
|
+
Ie as _setupTagger,
|
|
3258
|
+
wt as addTagToDoc,
|
|
3224
3259
|
H as chunkArray,
|
|
3225
3260
|
Pe as compass_getListAdditionalApps,
|
|
3226
3261
|
z as couleurs,
|
|
@@ -3228,27 +3263,27 @@ export {
|
|
|
3228
3263
|
pe as dataMixing,
|
|
3229
3264
|
qe as deleteUserGroups,
|
|
3230
3265
|
Ue as findAdresse,
|
|
3231
|
-
|
|
3266
|
+
ft as getAllContextSecurity,
|
|
3232
3267
|
te as getCSRFToken,
|
|
3233
3268
|
xe as getCommunes,
|
|
3234
3269
|
Ge as getComplementUG,
|
|
3235
|
-
|
|
3270
|
+
mt as getDataFrom3DSpace,
|
|
3236
3271
|
Re as getDataFromGouvFr,
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3272
|
+
_t as getDatasByTenant,
|
|
3273
|
+
St as getDatasFrom3DSpace,
|
|
3274
|
+
gt as getDownloadDocument,
|
|
3275
|
+
bt as getInfoDocTags,
|
|
3241
3276
|
Ke as getUserGroupsByEmailList,
|
|
3242
3277
|
Ee as getUserGroupsByURIList,
|
|
3243
3278
|
Be as getUserGroupsList,
|
|
3244
3279
|
ee as getUsersGroupRules,
|
|
3245
|
-
|
|
3280
|
+
yt as get_3DSpace_csrf,
|
|
3246
3281
|
Xe as patchUserGroups,
|
|
3247
3282
|
We as patchUserGroupsControl,
|
|
3248
|
-
|
|
3283
|
+
ht as pushDataIn3DSpace,
|
|
3249
3284
|
Ve as readUserGroupControl,
|
|
3250
|
-
|
|
3251
|
-
|
|
3285
|
+
Ct as removeTagToDoc,
|
|
3286
|
+
Zt as sayHello,
|
|
3252
3287
|
Fe as updateEvent
|
|
3253
3288
|
};
|
|
3254
3289
|
//# sourceMappingURL=wb3Api.js.map
|