@beam3_dev/api_module 0.0.342 → 0.0.344
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 +153 -118
- 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
|
@@ -65,7 +65,7 @@ async function xe(e, n = void 0, t = void 0) {
|
|
|
65
65
|
t && t(i), console.error("Erreur : " + i);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
68
|
+
async function Fe(e, n = z) {
|
|
69
69
|
let t = T.now().year;
|
|
70
70
|
const i = e, s = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
@@ -134,7 +134,7 @@ function Q(e, n, t) {
|
|
|
134
134
|
};
|
|
135
135
|
a(r);
|
|
136
136
|
}
|
|
137
|
-
async function
|
|
137
|
+
async function Ne(e, n, t = !0) {
|
|
138
138
|
const i = e.events.findIndex((s) => s.uuid === n.uuid);
|
|
139
139
|
return i === -1 ? e.events.push(n) : t ? e.events[i] = n : e.events.splice(i, 1), e.length > 0 && e.sort((s, r) => s.start - r.start), e;
|
|
140
140
|
}
|
|
@@ -143,7 +143,7 @@ function m(e, n) {
|
|
|
143
143
|
t.authenticatedRequest(e, n);
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Ie(e, n, t) {
|
|
147
147
|
$(["DS/DataDragAndDrop/DataDragAndDrop"], (i) => {
|
|
148
148
|
i.draggable(e, {
|
|
149
149
|
data: n,
|
|
@@ -209,7 +209,7 @@ function ve(e, n = void 0, t = void 0) {
|
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function M(e, n = void 0, t = void 0) {
|
|
213
213
|
if (e.tenant) {
|
|
214
214
|
const i = `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(i, {
|
|
@@ -297,7 +297,7 @@ function Le(e, n = void 0, t = void 0) {
|
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Me(e, n, t = void 0, i = void 0) {
|
|
301
301
|
let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${n}`;
|
|
302
302
|
m(s, {
|
|
303
303
|
onComplete(r, o, a) {
|
|
@@ -310,11 +310,11 @@ function Je(e, n, t = void 0, i = void 0) {
|
|
|
310
310
|
}
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
const
|
|
313
|
+
const F = {
|
|
314
314
|
"Content-Type": "application/json",
|
|
315
315
|
Accept: "application/json,text/javascript,*/*"
|
|
316
316
|
};
|
|
317
|
-
function
|
|
317
|
+
function Je(e, n, t = void 0, i = void 0) {
|
|
318
318
|
const { space: s, currentUser: r } = e, a = `${s}${{
|
|
319
319
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
320
320
|
}.URIUGr}`, c = {
|
|
@@ -331,7 +331,7 @@ function Me(e, n, t = void 0, i = void 0) {
|
|
|
331
331
|
};
|
|
332
332
|
m(a, {
|
|
333
333
|
method: "POST",
|
|
334
|
-
headers:
|
|
334
|
+
headers: F,
|
|
335
335
|
data: JSON.stringify(c),
|
|
336
336
|
onComplete(d) {
|
|
337
337
|
t && t(JSON.parse(d));
|
|
@@ -432,7 +432,7 @@ function Ee(e, n, t) {
|
|
|
432
432
|
opt: "?select=uri,title,owner,members"
|
|
433
433
|
}, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
|
|
434
434
|
method: "POST",
|
|
435
|
-
headers:
|
|
435
|
+
headers: F,
|
|
436
436
|
data: JSON.stringify({ groups: s })
|
|
437
437
|
};
|
|
438
438
|
try {
|
|
@@ -479,7 +479,7 @@ function Ke(e, n, t) {
|
|
|
479
479
|
opt: "?person_ident=email"
|
|
480
480
|
}, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
|
|
481
481
|
method: "POST",
|
|
482
|
-
headers:
|
|
482
|
+
headers: F,
|
|
483
483
|
data: JSON.stringify({ users: s })
|
|
484
484
|
};
|
|
485
485
|
try {
|
|
@@ -535,7 +535,7 @@ function Xe(e, n, t, i = void 0, s = void 0) {
|
|
|
535
535
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
536
536
|
}, c = t, d = `${r}${a.URIUGr}/${n}`, u = JSON.stringify(c);
|
|
537
537
|
m(d, {
|
|
538
|
-
headers:
|
|
538
|
+
headers: F,
|
|
539
539
|
method: "PATCH",
|
|
540
540
|
data: u,
|
|
541
541
|
type: "json",
|
|
@@ -551,7 +551,7 @@ function We(e, n, t, i = void 0, s = void 0) {
|
|
|
551
551
|
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
552
552
|
m(a, {
|
|
553
553
|
method: "PATCH",
|
|
554
|
-
headers:
|
|
554
|
+
headers: F,
|
|
555
555
|
data: JSON.stringify(t),
|
|
556
556
|
type: "json",
|
|
557
557
|
onComplete(d) {
|
|
@@ -634,7 +634,7 @@ var se = function(e, n, t, i) {
|
|
|
634
634
|
};
|
|
635
635
|
x.decode = x.parse = se;
|
|
636
636
|
x.encode = x.stringify = ie;
|
|
637
|
-
async function
|
|
637
|
+
async function J(e, n = void 0, t = void 0, i = void 0) {
|
|
638
638
|
const s = e.space;
|
|
639
639
|
if (n === void 0) {
|
|
640
640
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -675,7 +675,7 @@ async function Ye(e, n = void 0, t = void 0, i = void 0) {
|
|
|
675
675
|
}
|
|
676
676
|
});
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function I(e, n = void 0, t = void 0) {
|
|
679
679
|
if (e.objID && e.objID !== "") {
|
|
680
680
|
let i = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
681
681
|
m(i, {
|
|
@@ -719,7 +719,7 @@ function b(e, n = void 0, t = void 0) {
|
|
|
719
719
|
}
|
|
720
720
|
function j(e, n = void 0, t = void 0) {
|
|
721
721
|
let i = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
722
|
-
|
|
722
|
+
I(
|
|
723
723
|
e,
|
|
724
724
|
(s) => {
|
|
725
725
|
m(i, {
|
|
@@ -774,7 +774,7 @@ function G(e, n, t, i, s, r = void 0, o = void 0) {
|
|
|
774
774
|
r,
|
|
775
775
|
o
|
|
776
776
|
);
|
|
777
|
-
e.token ? a() :
|
|
777
|
+
e.token ? a() : I(
|
|
778
778
|
e,
|
|
779
779
|
n,
|
|
780
780
|
(c) => {
|
|
@@ -953,14 +953,14 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
953
953
|
},
|
|
954
954
|
data: D,
|
|
955
955
|
type: "json",
|
|
956
|
-
onComplete(
|
|
957
|
-
i && i(
|
|
956
|
+
onComplete(N, Ce, be) {
|
|
957
|
+
i && i(N);
|
|
958
958
|
},
|
|
959
|
-
onFailure(
|
|
959
|
+
onFailure(N) {
|
|
960
960
|
console.warn(
|
|
961
961
|
"_3DSpace_Upload_Doc | pushFileInFcs | onFailure",
|
|
962
|
-
{ url: v, bodyRequest: D, err:
|
|
963
|
-
), s && s(
|
|
962
|
+
{ url: v, bodyRequest: D, err: N }
|
|
963
|
+
), s && s(N);
|
|
964
964
|
}
|
|
965
965
|
});
|
|
966
966
|
},
|
|
@@ -991,7 +991,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
991
991
|
);
|
|
992
992
|
}
|
|
993
993
|
async function Ze(e, n, t, i = void 0, s = void 0) {
|
|
994
|
-
e.space, e.token, e.ctx,
|
|
994
|
+
e.space, e.token, e.ctx, J(
|
|
995
995
|
e,
|
|
996
996
|
n,
|
|
997
997
|
(r) => {
|
|
@@ -1553,6 +1553,40 @@ function at(e, n, t = void 0, i = void 0) {
|
|
|
1553
1553
|
});
|
|
1554
1554
|
}
|
|
1555
1555
|
function rt(e, n) {
|
|
1556
|
+
return new Promise((t, i) => {
|
|
1557
|
+
const s = `${e.space}/resources/v1/FolderManagement/Folder/${n}/folderTree?tenant=${e.tenant.toUpperCase()}`, r = {
|
|
1558
|
+
expandList: "",
|
|
1559
|
+
isRoot: "",
|
|
1560
|
+
isPersonalFolder: !1,
|
|
1561
|
+
Read: !0,
|
|
1562
|
+
nresults: 200,
|
|
1563
|
+
sortOrder: "asc",
|
|
1564
|
+
sortMode: "ds6w:label",
|
|
1565
|
+
nextStart: 0,
|
|
1566
|
+
refine: ""
|
|
1567
|
+
};
|
|
1568
|
+
m(s, {
|
|
1569
|
+
method: "POST",
|
|
1570
|
+
headers: {
|
|
1571
|
+
Accept: "application/json",
|
|
1572
|
+
"content-Type": "application/json",
|
|
1573
|
+
SecurityContext: `ctx::${e.ctx}`
|
|
1574
|
+
},
|
|
1575
|
+
data: JSON.stringify(r),
|
|
1576
|
+
type: "json",
|
|
1577
|
+
onComplete(o, a, c) {
|
|
1578
|
+
const d = o;
|
|
1579
|
+
console.log("getListBkEnfant | réponse => ", d), t(d);
|
|
1580
|
+
},
|
|
1581
|
+
onFailure(o, a, c) {
|
|
1582
|
+
const d = {};
|
|
1583
|
+
if (d.error = o, d.headers = a, d.xhr = c, onError)
|
|
1584
|
+
throw onError(d), console.log("Coucou dans enfant"), new Error("Coucou dans enfant", { cause: o });
|
|
1585
|
+
}
|
|
1586
|
+
});
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
function ct(e, n) {
|
|
1556
1590
|
return new Promise((t, i) => {
|
|
1557
1591
|
const s = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark/${n}?$mask=dsbks:BksMask.Items`;
|
|
1558
1592
|
m(s, {
|
|
@@ -1574,7 +1608,7 @@ function rt(e, n) {
|
|
|
1574
1608
|
});
|
|
1575
1609
|
});
|
|
1576
1610
|
}
|
|
1577
|
-
function
|
|
1611
|
+
function dt(e, n, t, i, s = void 0, r = void 0) {
|
|
1578
1612
|
return new Promise((o) => {
|
|
1579
1613
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1580
1614
|
let c = {
|
|
@@ -1607,7 +1641,7 @@ function ct(e, n, t, i, s = void 0, r = void 0) {
|
|
|
1607
1641
|
m(a, u);
|
|
1608
1642
|
});
|
|
1609
1643
|
}
|
|
1610
|
-
function
|
|
1644
|
+
function ut(e, n, t, i, s = void 0, r = void 0) {
|
|
1611
1645
|
return console.log("credentials", e), new Promise((o) => {
|
|
1612
1646
|
`${e.space}`, JSON.stringify({
|
|
1613
1647
|
csrf: {
|
|
@@ -1631,7 +1665,7 @@ function dt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
1631
1665
|
});
|
|
1632
1666
|
}
|
|
1633
1667
|
//!SECTION
|
|
1634
|
-
function
|
|
1668
|
+
function pt(e, n = void 0, t = void 0) {
|
|
1635
1669
|
const i = {
|
|
1636
1670
|
base: `${e.space}`,
|
|
1637
1671
|
uri: "/resources/bps/cspaces",
|
|
@@ -1652,7 +1686,7 @@ function ut(e, n = void 0, t = void 0) {
|
|
|
1652
1686
|
}
|
|
1653
1687
|
});
|
|
1654
1688
|
}
|
|
1655
|
-
function
|
|
1689
|
+
function lt(e, n, t, i) {
|
|
1656
1690
|
j(
|
|
1657
1691
|
e.space,
|
|
1658
1692
|
n,
|
|
@@ -1669,7 +1703,7 @@ function pt(e, n, t, i) {
|
|
|
1669
1703
|
}
|
|
1670
1704
|
);
|
|
1671
1705
|
}
|
|
1672
|
-
async function
|
|
1706
|
+
async function ft(e, n, t = void 0, i = void 0) {
|
|
1673
1707
|
return new Promise((s) => {
|
|
1674
1708
|
j(e, n, (r) => {
|
|
1675
1709
|
m(r, {
|
|
@@ -1681,9 +1715,9 @@ async function lt(e, n, t = void 0, i = void 0) {
|
|
|
1681
1715
|
});
|
|
1682
1716
|
});
|
|
1683
1717
|
}
|
|
1684
|
-
function
|
|
1718
|
+
function mt(e, n, t, i = void 0, s = void 0) {
|
|
1685
1719
|
const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
|
|
1686
|
-
e = { ...e, objID: t },
|
|
1720
|
+
e = { ...e, objID: t }, I(
|
|
1687
1721
|
e,
|
|
1688
1722
|
(o) => {
|
|
1689
1723
|
console.log("_3DSpace_get_csrf | onDone | data", o);
|
|
@@ -1709,8 +1743,8 @@ function ft(e, n, t, i = void 0, s = void 0) {
|
|
|
1709
1743
|
}
|
|
1710
1744
|
let K, q;
|
|
1711
1745
|
const A = [];
|
|
1712
|
-
async function
|
|
1713
|
-
e.objID && e.objID !== "" ?
|
|
1746
|
+
async function gt(e, n = void 0, t = void 0) {
|
|
1747
|
+
e.objID && e.objID !== "" ? I(
|
|
1714
1748
|
e,
|
|
1715
1749
|
(i) => {
|
|
1716
1750
|
n && n(i);
|
|
@@ -1728,7 +1762,7 @@ async function mt(e, n = void 0, t = void 0) {
|
|
|
1728
1762
|
}
|
|
1729
1763
|
);
|
|
1730
1764
|
}
|
|
1731
|
-
async function
|
|
1765
|
+
async function ht(e, n = void 0, t = void 0) {
|
|
1732
1766
|
console.log("getDatasByTenant (getDocuments)", e), await E(
|
|
1733
1767
|
e,
|
|
1734
1768
|
(i) => {
|
|
@@ -1740,7 +1774,7 @@ async function gt(e, n = void 0, t = void 0) {
|
|
|
1740
1774
|
}
|
|
1741
1775
|
);
|
|
1742
1776
|
}
|
|
1743
|
-
function
|
|
1777
|
+
function yt(e, n = void 0, t = void 0) {
|
|
1744
1778
|
const i = [];
|
|
1745
1779
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1746
1780
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
@@ -1789,7 +1823,7 @@ const le = "FA35FB9B177A280065800EA0000F599C", fe = [
|
|
|
1789
1823
|
order_by: "desc",
|
|
1790
1824
|
tag: "testTag"
|
|
1791
1825
|
};
|
|
1792
|
-
function
|
|
1826
|
+
function _t(e, n, t = void 0, i = void 0) {
|
|
1793
1827
|
const { space: s, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
|
|
1794
1828
|
uri: "/resources/6w/tags",
|
|
1795
1829
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1820,7 +1854,7 @@ function yt(e, n, t = void 0, i = void 0) {
|
|
|
1820
1854
|
JSON.parse(f);
|
|
1821
1855
|
const l = {};
|
|
1822
1856
|
setTimeout(() => {
|
|
1823
|
-
|
|
1857
|
+
J(
|
|
1824
1858
|
e,
|
|
1825
1859
|
o,
|
|
1826
1860
|
(g) => {
|
|
@@ -1932,7 +1966,7 @@ function ge(e, n, t = void 0, i = void 0) {
|
|
|
1932
1966
|
}
|
|
1933
1967
|
});
|
|
1934
1968
|
}
|
|
1935
|
-
function
|
|
1969
|
+
function St(e, n, t = void 0, i = void 0) {
|
|
1936
1970
|
const { objId: s, pred: r, tag: o } = n, a = {
|
|
1937
1971
|
uri: "/resources/6w/tags",
|
|
1938
1972
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1968,7 +2002,7 @@ function _t(e, n, t = void 0, i = void 0) {
|
|
|
1968
2002
|
}
|
|
1969
2003
|
});
|
|
1970
2004
|
}
|
|
1971
|
-
function
|
|
2005
|
+
function wt(e, n = "", t = void 0, i = void 0) {
|
|
1972
2006
|
const { space: s } = e;
|
|
1973
2007
|
if (n === "")
|
|
1974
2008
|
return;
|
|
@@ -2004,7 +2038,7 @@ async function C(e, n = void 0, t = void 0) {
|
|
|
2004
2038
|
}
|
|
2005
2039
|
});
|
|
2006
2040
|
}
|
|
2007
|
-
function
|
|
2041
|
+
function Ct(e, n = void 0, t = void 0) {
|
|
2008
2042
|
const i = `${e._3DSwym}/api/exalead/whatsnew`, s = {
|
|
2009
2043
|
params: {
|
|
2010
2044
|
community_id: null,
|
|
@@ -2034,7 +2068,7 @@ function wt(e, n = void 0, t = void 0) {
|
|
|
2034
2068
|
});
|
|
2035
2069
|
});
|
|
2036
2070
|
}
|
|
2037
|
-
function
|
|
2071
|
+
function bt(e, n = void 0, t = void 0) {
|
|
2038
2072
|
const i = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, s = {
|
|
2039
2073
|
params: {
|
|
2040
2074
|
idsToFilterArr: [],
|
|
@@ -2064,7 +2098,7 @@ function Ct(e, n = void 0, t = void 0) {
|
|
|
2064
2098
|
});
|
|
2065
2099
|
});
|
|
2066
2100
|
}
|
|
2067
|
-
function
|
|
2101
|
+
function Ot(e, n = void 0, t = void 0) {
|
|
2068
2102
|
const i = {
|
|
2069
2103
|
base: e._3DSwym,
|
|
2070
2104
|
uri: "/api/community/listmycommunities",
|
|
@@ -2134,7 +2168,7 @@ function he(e, n, t, i) {
|
|
|
2134
2168
|
});
|
|
2135
2169
|
});
|
|
2136
2170
|
}
|
|
2137
|
-
function
|
|
2171
|
+
function Tt(e, n = void 0, t = void 0) {
|
|
2138
2172
|
const i = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
2139
2173
|
e.commu_id || (e.commu_id = i);
|
|
2140
2174
|
const s = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -2157,7 +2191,7 @@ function Ot(e, n = void 0, t = void 0) {
|
|
|
2157
2191
|
});
|
|
2158
2192
|
});
|
|
2159
2193
|
}
|
|
2160
|
-
function
|
|
2194
|
+
function $t(e, n, t = void 0, i = void 0) {
|
|
2161
2195
|
const { listAllContacts: s, currentUser: r, _3DSwym: o } = e;
|
|
2162
2196
|
console.log("__listAllContacts", s.hits);
|
|
2163
2197
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -2273,7 +2307,7 @@ function _e(e) {
|
|
|
2273
2307
|
<hr/>
|
|
2274
2308
|
<p><u>envoyer :</u>Le <b>${n} à ${t}</b></p>`;
|
|
2275
2309
|
}
|
|
2276
|
-
function
|
|
2310
|
+
function Ut(e, n, t = void 0, i = void 0) {
|
|
2277
2311
|
const s = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
2278
2312
|
(c) => c.id === n.community_id
|
|
2279
2313
|
), o = e.swymCommunities.find(
|
|
@@ -2312,7 +2346,7 @@ function $t(e, n, t = void 0, i = void 0) {
|
|
|
2312
2346
|
});
|
|
2313
2347
|
});
|
|
2314
2348
|
}
|
|
2315
|
-
function
|
|
2349
|
+
function xt(e, n = void 0, t = void 0) {
|
|
2316
2350
|
const i = { base: e.space, uri: "/api/idea/add" };
|
|
2317
2351
|
if (!Array.isArray(e.swymCommunities)) {
|
|
2318
2352
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
@@ -2385,7 +2419,7 @@ function Ut(e, n = void 0, t = void 0) {
|
|
|
2385
2419
|
m(i.base + i.uri, a);
|
|
2386
2420
|
});
|
|
2387
2421
|
}
|
|
2388
|
-
function
|
|
2422
|
+
function Ft(e, n, t = void 0, i = void 0) {
|
|
2389
2423
|
const s = `${e.space}/api/idea/delete`, r = {
|
|
2390
2424
|
params: {
|
|
2391
2425
|
community_id: n.community_id,
|
|
@@ -2485,7 +2519,7 @@ function It(e, n, t) {
|
|
|
2485
2519
|
};
|
|
2486
2520
|
m(p.base + p.uri, l);
|
|
2487
2521
|
}
|
|
2488
|
-
function
|
|
2522
|
+
function Rt(e, n, t = void 0, i = void 0) {
|
|
2489
2523
|
const { _3DSwym: s } = e;
|
|
2490
2524
|
let { community_id: r, limit: o, page: a, search: c } = n;
|
|
2491
2525
|
const d = [], u = 1;
|
|
@@ -2610,7 +2644,7 @@ function Se(e) {
|
|
|
2610
2644
|
<p>
|
|
2611
2645
|
</p>` : e;
|
|
2612
2646
|
}
|
|
2613
|
-
function
|
|
2647
|
+
function kt(e, n = void 0, t = void 0) {
|
|
2614
2648
|
const { tenant: i, _3DSwym: s, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2615
2649
|
if (i && s && r && o && a) {
|
|
2616
2650
|
const c = `${s}/api/idea/forward`;
|
|
@@ -2643,7 +2677,7 @@ function Rt(e, n = void 0, t = void 0) {
|
|
|
2643
2677
|
credentials: e
|
|
2644
2678
|
});
|
|
2645
2679
|
}
|
|
2646
|
-
function
|
|
2680
|
+
function jt(e, n = void 0, t = void 0) {
|
|
2647
2681
|
return new Promise((i, s) => {
|
|
2648
2682
|
try {
|
|
2649
2683
|
let r;
|
|
@@ -2673,7 +2707,7 @@ function kt(e, n = void 0, t = void 0) {
|
|
|
2673
2707
|
}
|
|
2674
2708
|
});
|
|
2675
2709
|
}
|
|
2676
|
-
function
|
|
2710
|
+
function vt(e, n, t = void 0, i = void 0) {
|
|
2677
2711
|
const s = e.space + "/api/user/find/login/" + n;
|
|
2678
2712
|
C(
|
|
2679
2713
|
e,
|
|
@@ -2693,7 +2727,7 @@ function jt(e, n, t = void 0, i = void 0) {
|
|
|
2693
2727
|
i
|
|
2694
2728
|
);
|
|
2695
2729
|
}
|
|
2696
|
-
function
|
|
2730
|
+
function Dt(e, n = void 0, t = void 0) {
|
|
2697
2731
|
const {
|
|
2698
2732
|
_3DSwym: i,
|
|
2699
2733
|
_3DSwym_token: s,
|
|
@@ -2720,14 +2754,14 @@ function vt(e, n = void 0, t = void 0) {
|
|
|
2720
2754
|
};
|
|
2721
2755
|
m(a, d);
|
|
2722
2756
|
}
|
|
2723
|
-
function
|
|
2724
|
-
e.tenant &&
|
|
2757
|
+
function At(e, n = void 0, t = void 0) {
|
|
2758
|
+
e.tenant && M(e, (i) => {
|
|
2725
2759
|
const s = i.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2726
2760
|
return n && n(s), s;
|
|
2727
2761
|
});
|
|
2728
2762
|
}
|
|
2729
|
-
function
|
|
2730
|
-
e.tenant ?
|
|
2763
|
+
function Pt(e, n = void 0, t = void 0) {
|
|
2764
|
+
e.tenant ? M(e, (i) => {
|
|
2731
2765
|
const s = i.services.find(
|
|
2732
2766
|
(a) => a.id === "3dpassport"
|
|
2733
2767
|
)?.url, r = i.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${s}/login/?cors=false&service=${r}/auth/cas`;
|
|
@@ -2746,7 +2780,7 @@ function At(e, n = void 0, t = void 0) {
|
|
|
2746
2780
|
});
|
|
2747
2781
|
}) : t && t("No tenant");
|
|
2748
2782
|
}
|
|
2749
|
-
function
|
|
2783
|
+
function Lt(e, n = void 0, t = void 0) {
|
|
2750
2784
|
if (e.tenant) {
|
|
2751
2785
|
const i = e.tenant.toLowerCase();
|
|
2752
2786
|
fetch(`https://api.uixhome.fr/${i}/iterop/jwtuser`, {
|
|
@@ -2758,7 +2792,7 @@ function Pt(e, n = void 0, t = void 0) {
|
|
|
2758
2792
|
});
|
|
2759
2793
|
}
|
|
2760
2794
|
}
|
|
2761
|
-
async function
|
|
2795
|
+
async function Mt(e, n, t = void 0, i = void 0) {
|
|
2762
2796
|
if (e.tenant) {
|
|
2763
2797
|
const s = e.tenant.toLowerCase();
|
|
2764
2798
|
fetch(
|
|
@@ -2788,7 +2822,7 @@ function Jt(e, n, t, i = void 0, s = void 0) {
|
|
|
2788
2822
|
});
|
|
2789
2823
|
}
|
|
2790
2824
|
}
|
|
2791
|
-
async function
|
|
2825
|
+
async function Gt(e, n, t, i = void 0, s = void 0) {
|
|
2792
2826
|
if (e.tenant) {
|
|
2793
2827
|
const r = e.tenant.toLowerCase();
|
|
2794
2828
|
fetch(
|
|
@@ -2806,7 +2840,7 @@ async function Mt(e, n, t, i = void 0, s = void 0) {
|
|
|
2806
2840
|
});
|
|
2807
2841
|
}
|
|
2808
2842
|
}
|
|
2809
|
-
async function
|
|
2843
|
+
async function Bt(e, n, t, i, s = void 0, r = void 0) {
|
|
2810
2844
|
if (e.tenant) {
|
|
2811
2845
|
const o = e.tenant.toLowerCase();
|
|
2812
2846
|
fetch(
|
|
@@ -2821,7 +2855,7 @@ async function Gt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2821
2855
|
});
|
|
2822
2856
|
}
|
|
2823
2857
|
}
|
|
2824
|
-
async function
|
|
2858
|
+
async function Et(e, n, t, i, s, r = void 0, o = void 0) {
|
|
2825
2859
|
if (e.tenant) {
|
|
2826
2860
|
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${t}?t=${n}&c=${encodeURIComponent(
|
|
2827
2861
|
i
|
|
@@ -2840,7 +2874,7 @@ async function Bt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
|
2840
2874
|
});
|
|
2841
2875
|
}
|
|
2842
2876
|
}
|
|
2843
|
-
async function
|
|
2877
|
+
async function Kt(e, n, t, i, s = void 0, r = void 0) {
|
|
2844
2878
|
if (e.tenant) {
|
|
2845
2879
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
|
|
2846
2880
|
i
|
|
@@ -2857,7 +2891,7 @@ async function Et(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2857
2891
|
});
|
|
2858
2892
|
}
|
|
2859
2893
|
}
|
|
2860
|
-
async function
|
|
2894
|
+
async function qt(e, n, t, i = void 0, s = void 0) {
|
|
2861
2895
|
if (e.tenant) {
|
|
2862
2896
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${n}&b=${encodeURIComponent(
|
|
2863
2897
|
t
|
|
@@ -2874,7 +2908,7 @@ async function Kt(e, n, t, i = void 0, s = void 0) {
|
|
|
2874
2908
|
});
|
|
2875
2909
|
}
|
|
2876
2910
|
}
|
|
2877
|
-
async function
|
|
2911
|
+
async function Xt(e, n, t, i, s = void 0, r = void 0) {
|
|
2878
2912
|
if (e.tenant) {
|
|
2879
2913
|
const o = e.tenant.toLowerCase();
|
|
2880
2914
|
fetch(
|
|
@@ -2889,7 +2923,7 @@ async function qt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2889
2923
|
});
|
|
2890
2924
|
}
|
|
2891
2925
|
}
|
|
2892
|
-
async function
|
|
2926
|
+
async function Wt(e, n, t, i = void 0, s = void 0) {
|
|
2893
2927
|
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
2894
2928
|
const r = e.tenant.toLowerCase();
|
|
2895
2929
|
fetch(
|
|
@@ -2904,7 +2938,7 @@ async function Xt(e, n, t, i = void 0, s = void 0) {
|
|
|
2904
2938
|
});
|
|
2905
2939
|
}
|
|
2906
2940
|
}
|
|
2907
|
-
async function
|
|
2941
|
+
async function Vt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
2908
2942
|
if (e.tenant) {
|
|
2909
2943
|
const a = e.tenant.toLowerCase();
|
|
2910
2944
|
fetch(
|
|
@@ -2919,7 +2953,7 @@ async function Wt(e, n, t, i, s, r = void 0, o = void 0) {
|
|
|
2919
2953
|
});
|
|
2920
2954
|
}
|
|
2921
2955
|
}
|
|
2922
|
-
async function
|
|
2956
|
+
async function Yt(e, n, t, i, s = void 0, r = void 0) {
|
|
2923
2957
|
if (e.tenant) {
|
|
2924
2958
|
const o = e.tenant.toLowerCase();
|
|
2925
2959
|
fetch(
|
|
@@ -2935,7 +2969,7 @@ async function Vt(e, n, t, i, s = void 0, r = void 0) {
|
|
|
2935
2969
|
}
|
|
2936
2970
|
}
|
|
2937
2971
|
//!SECTION
|
|
2938
|
-
async function
|
|
2972
|
+
async function zt(e, n, t, i = void 0, s = void 0) {
|
|
2939
2973
|
if (e.tenant) {
|
|
2940
2974
|
const r = e.tenant.toLowerCase();
|
|
2941
2975
|
fetch(
|
|
@@ -2951,11 +2985,11 @@ async function Yt(e, n, t, i = void 0, s = void 0) {
|
|
|
2951
2985
|
}
|
|
2952
2986
|
}
|
|
2953
2987
|
//!SECTION
|
|
2954
|
-
function
|
|
2988
|
+
function Ht(e) {
|
|
2955
2989
|
const n = "Hello " + e;
|
|
2956
2990
|
return console.log(n), n;
|
|
2957
2991
|
}
|
|
2958
|
-
function
|
|
2992
|
+
function Qt(e, n = void 0, t = void 0) {
|
|
2959
2993
|
return console.log("credentials", e), new Promise((i) => {
|
|
2960
2994
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2961
2995
|
const o = Z();
|
|
@@ -3036,21 +3070,22 @@ function Ht(e, n = void 0, t = void 0) {
|
|
|
3036
3070
|
}
|
|
3037
3071
|
export {
|
|
3038
3072
|
Y as UUID,
|
|
3039
|
-
|
|
3073
|
+
Qt as _3DSearch_usersGroup,
|
|
3040
3074
|
et as _3DSpace_Create_Doc,
|
|
3041
3075
|
Ze as _3DSpace_Update_Doc,
|
|
3042
3076
|
Qe as _3DSpace_Upload_File,
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3077
|
+
ut as _3DSpace_bookmark_addSubsciptions,
|
|
3078
|
+
ct as _3DSpace_bookmark_getItems,
|
|
3079
|
+
rt as _3DSpace_bookmark_getSubSignets,
|
|
3080
|
+
dt as _3DSpace_bookmark_newWorkspace,
|
|
3046
3081
|
b as _3DSpace_csrf,
|
|
3047
3082
|
E as _3DSpace_download_doc,
|
|
3048
3083
|
ce as _3DSpace_download_multidoc,
|
|
3049
3084
|
G as _3DSpace_file_update,
|
|
3050
3085
|
oe as _3DSpace_file_update_csr,
|
|
3051
3086
|
ze as _3DSpace_file_url_csr,
|
|
3052
|
-
|
|
3053
|
-
|
|
3087
|
+
I as _3DSpace_get_csrf,
|
|
3088
|
+
J as _3DSpace_get_docInfo,
|
|
3054
3089
|
de as _3DSpace_get_downloadTicket_multidoc,
|
|
3055
3090
|
Ye as _3DSpace_get_multiDocInfo,
|
|
3056
3091
|
R as _3DSpace_get_securityContexts,
|
|
@@ -3062,81 +3097,81 @@ export {
|
|
|
3062
3097
|
tt as _3DSpace_lifecycle_getNextStates,
|
|
3063
3098
|
at as _3DSpace_lifecycle_getRevisions,
|
|
3064
3099
|
He as _3DSpace_put_docInfo,
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3100
|
+
kt as _3DSwym_ForwardIdea,
|
|
3101
|
+
Dt as _3DSwym_addComment,
|
|
3102
|
+
$t as _3DSwym_buildDirectMessage,
|
|
3103
|
+
Ft as _3DSwym_deleteIdea,
|
|
3069
3104
|
It as _3DSwym_editIdea,
|
|
3070
3105
|
ye as _3DSwym_findCommunityToInstantMSG,
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3106
|
+
Ot as _3DSwym_getAllCommunities,
|
|
3107
|
+
Rt as _3DSwym_getAllListIdeas,
|
|
3108
|
+
Ct as _3DSwym_getAllNews,
|
|
3109
|
+
bt as _3DSwym_getFamiliarPeople,
|
|
3110
|
+
Tt as _3DSwym_getIdeaStatusMaturity,
|
|
3076
3111
|
he as _3DSwym_getMembersCommunity,
|
|
3077
3112
|
Nt as _3DSwym_getOneIdea,
|
|
3078
3113
|
C as _3DSwym_get_Token,
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3114
|
+
jt as _3DSwym_get_currentUser,
|
|
3115
|
+
vt as _3DSwym_get_findUser,
|
|
3116
|
+
xt as _3DSwym_postIdea,
|
|
3117
|
+
Ut as _3DSwym_postIdeaTemplate,
|
|
3083
3118
|
P as _3DSwym_sendMessageData,
|
|
3084
|
-
|
|
3119
|
+
Me as _AppMngt_get_info_user,
|
|
3085
3120
|
Le as _AppMngt_get_users,
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3121
|
+
Bt as _Iterop_AddOrRemoveRows,
|
|
3122
|
+
Pt as _Iterop_Auth_CAS,
|
|
3123
|
+
Wt as _Iterop_GetOneDependencyTable,
|
|
3124
|
+
zt as _Iterop_GetOneList,
|
|
3125
|
+
Vt as _Iterop_PatchDependencyTable,
|
|
3126
|
+
Yt as _Iterop_PutDependencyTable,
|
|
3127
|
+
Et as _Iterop_businessTableSearchInRows,
|
|
3128
|
+
qt as _Iterop_createBusinessTable,
|
|
3129
|
+
Mt as _Iterop_getAllBusinessTables,
|
|
3095
3130
|
Jt as _Iterop_getOneBusinessTable,
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3131
|
+
Gt as _Iterop_getOneBusinessTableRows,
|
|
3132
|
+
Lt as _Iterop_jwtUser,
|
|
3133
|
+
Xt as _Iterop_runProcess,
|
|
3134
|
+
Kt as _Iterop_updateBusinessTable,
|
|
3100
3135
|
Ae as _Registry_getServicesUrl,
|
|
3101
3136
|
ve as _getMe,
|
|
3102
3137
|
Z as _getPlateformInfos,
|
|
3103
3138
|
je as _getPlatformServices,
|
|
3104
|
-
|
|
3139
|
+
M as _getServiceUrl,
|
|
3105
3140
|
De as _getServiceUrl_3DPassport,
|
|
3106
|
-
|
|
3141
|
+
At as _getServiceUrl_Iterop,
|
|
3107
3142
|
m as _httpCallAuthenticated,
|
|
3108
|
-
|
|
3143
|
+
Ie as _setDraggable,
|
|
3109
3144
|
ke as _setDroppable,
|
|
3110
3145
|
Re as _setupTagger,
|
|
3111
|
-
|
|
3146
|
+
_t as addTagToDoc,
|
|
3112
3147
|
H as chunkArray,
|
|
3113
3148
|
Pe as compass_getListAdditionalApps,
|
|
3114
3149
|
z as couleurs,
|
|
3115
|
-
|
|
3150
|
+
Je as createUserGroups,
|
|
3116
3151
|
pe as dataMixing,
|
|
3117
3152
|
qe as deleteUserGroups,
|
|
3118
3153
|
xe as findAdresse,
|
|
3119
|
-
|
|
3154
|
+
pt as getAllContextSecurity,
|
|
3120
3155
|
te as getCSRFToken,
|
|
3121
3156
|
Ue as getCommunes,
|
|
3122
3157
|
Ge as getComplementUG,
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3158
|
+
lt as getDataFrom3DSpace,
|
|
3159
|
+
Fe as getDataFromGouvFr,
|
|
3160
|
+
ht as getDatasByTenant,
|
|
3161
|
+
yt as getDatasFrom3DSpace,
|
|
3162
|
+
ft as getDownloadDocument,
|
|
3163
|
+
wt as getInfoDocTags,
|
|
3129
3164
|
Ke as getUserGroupsByEmailList,
|
|
3130
3165
|
Ee as getUserGroupsByURIList,
|
|
3131
3166
|
Be as getUserGroupsList,
|
|
3132
3167
|
ee as getUsersGroupRules,
|
|
3133
|
-
|
|
3168
|
+
gt as get_3DSpace_csrf,
|
|
3134
3169
|
Xe as patchUserGroups,
|
|
3135
3170
|
We as patchUserGroupsControl,
|
|
3136
|
-
|
|
3171
|
+
mt as pushDataIn3DSpace,
|
|
3137
3172
|
Ve as readUserGroupControl,
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3173
|
+
St as removeTagToDoc,
|
|
3174
|
+
Ht as sayHello,
|
|
3175
|
+
Ne as updateEvent
|
|
3141
3176
|
};
|
|
3142
3177
|
//# sourceMappingURL=wb3Api.js.map
|