@beam3_dev/api_module 0.0.254 → 0.0.256
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 +154 -125
- 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
|
@@ -195,7 +195,7 @@ function Y() {
|
|
|
195
195
|
};
|
|
196
196
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function R(e, t = void 0, n = void 0) {
|
|
199
199
|
if (e.tenant) {
|
|
200
200
|
const s = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
|
|
201
201
|
m(s, {
|
|
@@ -271,7 +271,7 @@ function Fe(e, t = void 0, n = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ke(e, t, n = void 0, s = void 0) {
|
|
275
275
|
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
|
|
276
276
|
m(i, {
|
|
277
277
|
onComplete(r, o, a) {
|
|
@@ -284,11 +284,11 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const j = {
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function je(e, t, n = void 0, s = void 0) {
|
|
292
292
|
const { space: i, currentUser: r } = e, a = `${i}${{
|
|
293
293
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
294
294
|
}.URIUGr}`, c = {
|
|
@@ -305,7 +305,7 @@ function ke(e, t, n = void 0, s = void 0) {
|
|
|
305
305
|
};
|
|
306
306
|
m(a, {
|
|
307
307
|
method: "POST",
|
|
308
|
-
headers:
|
|
308
|
+
headers: j,
|
|
309
309
|
data: JSON.stringify(c),
|
|
310
310
|
onComplete(d) {
|
|
311
311
|
n && n(JSON.parse(d));
|
|
@@ -400,7 +400,7 @@ function xe(e, t, n, s = void 0, i = void 0) {
|
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
401
|
}, c = n, d = `${r}${a.URIUGr}/${t}`, u = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: j,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: u,
|
|
406
406
|
type: "json",
|
|
@@ -412,11 +412,11 @@ function xe(e, t, n, s = void 0, i = void 0) {
|
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Re(e, t, n, s = void 0, i = void 0) {
|
|
416
416
|
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
417
417
|
m(a, {
|
|
418
418
|
method: "PATCH",
|
|
419
|
-
headers:
|
|
419
|
+
headers: j,
|
|
420
420
|
data: JSON.stringify(n),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
@@ -427,7 +427,7 @@ function Pe(e, t, n, s = void 0, i = void 0) {
|
|
|
427
427
|
}
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function Pe(e, t, n = void 0, s = void 0) {
|
|
431
431
|
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
432
432
|
m(o, {
|
|
433
433
|
opts: {
|
|
@@ -499,7 +499,7 @@ var Q = function(e, t, n, s) {
|
|
|
499
499
|
};
|
|
500
500
|
I.decode = I.parse = Q;
|
|
501
501
|
I.encode = I.stringify = Z;
|
|
502
|
-
async function
|
|
502
|
+
async function P(e, t = void 0, n = void 0, s = void 0) {
|
|
503
503
|
const i = e.space;
|
|
504
504
|
if (t === void 0) {
|
|
505
505
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -705,8 +705,36 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
|
|
|
705
705
|
}
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
|
-
async function Me(e, t, n
|
|
709
|
-
e.space, e.token, e.ctx
|
|
708
|
+
async function Me(e, t, n = void 0, s = void 0) {
|
|
709
|
+
e.space, e.token, e.ctx;
|
|
710
|
+
const i = e?.description;
|
|
711
|
+
let r = `${e.space}/resources/v1/modeler/documents/${t}`;
|
|
712
|
+
const o = JSON.stringify({
|
|
713
|
+
data: [
|
|
714
|
+
{
|
|
715
|
+
dataelements: {
|
|
716
|
+
description: i
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
]
|
|
720
|
+
});
|
|
721
|
+
i && httpCallAuthenticated(r, {
|
|
722
|
+
method: "PUT",
|
|
723
|
+
headers: {
|
|
724
|
+
ENO_CSRF_TOKEN: e.token
|
|
725
|
+
},
|
|
726
|
+
data: o,
|
|
727
|
+
type: "json",
|
|
728
|
+
onComplete(a) {
|
|
729
|
+
n && s(a);
|
|
730
|
+
},
|
|
731
|
+
onFailure(a) {
|
|
732
|
+
s && s(a);
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
async function Je(e, t, n, s = void 0, i = void 0) {
|
|
737
|
+
e.space, e.token, e.ctx, P(
|
|
710
738
|
e,
|
|
711
739
|
t,
|
|
712
740
|
(r) => {
|
|
@@ -730,7 +758,7 @@ async function Me(e, t, n, s = void 0, i = void 0) {
|
|
|
730
758
|
}
|
|
731
759
|
);
|
|
732
760
|
}
|
|
733
|
-
async function
|
|
761
|
+
async function Ge(e, t, n, s, i = void 0, r = void 0) {
|
|
734
762
|
te(
|
|
735
763
|
e,
|
|
736
764
|
(o) => {
|
|
@@ -850,7 +878,7 @@ function se(e, t, n, s = void 0, i = void 0, r = void 0) {
|
|
|
850
878
|
}
|
|
851
879
|
});
|
|
852
880
|
}
|
|
853
|
-
function
|
|
881
|
+
function k(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1) {
|
|
854
882
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
855
883
|
m(a, {
|
|
856
884
|
method: "GET",
|
|
@@ -1018,7 +1046,7 @@ function ae(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
1018
1046
|
}
|
|
1019
1047
|
});
|
|
1020
1048
|
}
|
|
1021
|
-
function
|
|
1049
|
+
function Ke(e, t, n = void 0, s = void 0) {
|
|
1022
1050
|
return new Promise((i) => {
|
|
1023
1051
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1024
1052
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -1049,7 +1077,7 @@ function Ge(e, t, n = void 0, s = void 0) {
|
|
|
1049
1077
|
}
|
|
1050
1078
|
});
|
|
1051
1079
|
}
|
|
1052
|
-
function
|
|
1080
|
+
function Ee(e, t, n, s = void 0, i = void 0) {
|
|
1053
1081
|
return new Promise((r) => {
|
|
1054
1082
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1055
1083
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -1081,11 +1109,11 @@ function Ke(e, t, n, s = void 0, i = void 0) {
|
|
|
1081
1109
|
}
|
|
1082
1110
|
});
|
|
1083
1111
|
}
|
|
1084
|
-
function
|
|
1112
|
+
function Be(e, t, n = void 0, s = void 0) {
|
|
1085
1113
|
return new Promise((i) => {
|
|
1086
1114
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1087
1115
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1088
|
-
|
|
1116
|
+
k(
|
|
1089
1117
|
e.space,
|
|
1090
1118
|
"ESPACE COMMUN",
|
|
1091
1119
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1122,11 +1150,11 @@ function Ee(e, t, n = void 0, s = void 0) {
|
|
|
1122
1150
|
}
|
|
1123
1151
|
});
|
|
1124
1152
|
}
|
|
1125
|
-
function
|
|
1153
|
+
function We(e, t, n = void 0, s = void 0) {
|
|
1126
1154
|
return new Promise((i) => {
|
|
1127
1155
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1128
1156
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1129
|
-
|
|
1157
|
+
k(
|
|
1130
1158
|
e.space,
|
|
1131
1159
|
"ESPACE COMMUN",
|
|
1132
1160
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1169,11 +1197,11 @@ function Be(e, t, n = void 0, s = void 0) {
|
|
|
1169
1197
|
}
|
|
1170
1198
|
});
|
|
1171
1199
|
}
|
|
1172
|
-
function
|
|
1200
|
+
function Xe(e, t, n, s = void 0, i = void 0) {
|
|
1173
1201
|
return new Promise((r) => {
|
|
1174
1202
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1175
1203
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1176
|
-
|
|
1204
|
+
k(
|
|
1177
1205
|
e.space,
|
|
1178
1206
|
"ESPACE COMMUN",
|
|
1179
1207
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1216,7 +1244,7 @@ function We(e, t, n, s = void 0, i = void 0) {
|
|
|
1216
1244
|
}
|
|
1217
1245
|
});
|
|
1218
1246
|
}
|
|
1219
|
-
function
|
|
1247
|
+
function Ve(e, t, n, s, i = void 0, r = void 0) {
|
|
1220
1248
|
return new Promise((o) => {
|
|
1221
1249
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1222
1250
|
let c = {
|
|
@@ -1249,7 +1277,7 @@ function Xe(e, t, n, s, i = void 0, r = void 0) {
|
|
|
1249
1277
|
m(a, u);
|
|
1250
1278
|
});
|
|
1251
1279
|
}
|
|
1252
|
-
function
|
|
1280
|
+
function Ye(e, t, n, s, i = void 0, r = void 0) {
|
|
1253
1281
|
return console.log("credentials", e), new Promise((o) => {
|
|
1254
1282
|
`${e.space}`, JSON.stringify({
|
|
1255
1283
|
csrf: {
|
|
@@ -1273,7 +1301,7 @@ function Ve(e, t, n, s, i = void 0, r = void 0) {
|
|
|
1273
1301
|
});
|
|
1274
1302
|
}
|
|
1275
1303
|
//!SECTION
|
|
1276
|
-
function
|
|
1304
|
+
function qe(e, t = void 0, n = void 0) {
|
|
1277
1305
|
const s = {
|
|
1278
1306
|
base: `${e.space}`,
|
|
1279
1307
|
uri: "/resources/bps/cspaces",
|
|
@@ -1294,7 +1322,7 @@ function Ye(e, t = void 0, n = void 0) {
|
|
|
1294
1322
|
}
|
|
1295
1323
|
});
|
|
1296
1324
|
}
|
|
1297
|
-
function
|
|
1325
|
+
function He(e, t, n, s) {
|
|
1298
1326
|
A(
|
|
1299
1327
|
e.space,
|
|
1300
1328
|
t,
|
|
@@ -1311,7 +1339,7 @@ function qe(e, t, n, s) {
|
|
|
1311
1339
|
}
|
|
1312
1340
|
);
|
|
1313
1341
|
}
|
|
1314
|
-
async function
|
|
1342
|
+
async function ze(e, t, n = void 0, s = void 0) {
|
|
1315
1343
|
return new Promise((i) => {
|
|
1316
1344
|
A(e, t, (r) => {
|
|
1317
1345
|
m(r, {
|
|
@@ -1323,7 +1351,7 @@ async function He(e, t, n = void 0, s = void 0) {
|
|
|
1323
1351
|
});
|
|
1324
1352
|
});
|
|
1325
1353
|
}
|
|
1326
|
-
function
|
|
1354
|
+
function Qe(e, t, n, s = void 0, i = void 0) {
|
|
1327
1355
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1328
1356
|
F(
|
|
1329
1357
|
e,
|
|
@@ -1348,7 +1376,7 @@ function ze(e, t, n, s = void 0, i = void 0) {
|
|
|
1348
1376
|
}
|
|
1349
1377
|
let M, J;
|
|
1350
1378
|
const v = [];
|
|
1351
|
-
async function
|
|
1379
|
+
async function Ze(e, t = void 0, n = void 0) {
|
|
1352
1380
|
e.objID && e.objID !== "" ? F(
|
|
1353
1381
|
e,
|
|
1354
1382
|
(s) => {
|
|
@@ -1367,7 +1395,7 @@ async function Qe(e, t = void 0, n = void 0) {
|
|
|
1367
1395
|
}
|
|
1368
1396
|
);
|
|
1369
1397
|
}
|
|
1370
|
-
async function
|
|
1398
|
+
async function et(e, t = void 0, n = void 0) {
|
|
1371
1399
|
console.log("getDatasByTenant (getDocuments)", e), await L(
|
|
1372
1400
|
e,
|
|
1373
1401
|
(s) => {
|
|
@@ -1379,7 +1407,7 @@ async function Ze(e, t = void 0, n = void 0) {
|
|
|
1379
1407
|
}
|
|
1380
1408
|
);
|
|
1381
1409
|
}
|
|
1382
|
-
function
|
|
1410
|
+
function tt(e, t = void 0, n = void 0) {
|
|
1383
1411
|
const s = [];
|
|
1384
1412
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1385
1413
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
@@ -1428,7 +1456,7 @@ const re = "FA35FB9B177A280065800EA0000F599C", ce = [
|
|
|
1428
1456
|
order_by: "desc",
|
|
1429
1457
|
tag: "testTag"
|
|
1430
1458
|
};
|
|
1431
|
-
function
|
|
1459
|
+
function nt(e, t, n = void 0, s = void 0) {
|
|
1432
1460
|
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
|
|
1433
1461
|
uri: "/resources/6w/tags",
|
|
1434
1462
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1459,7 +1487,7 @@ function tt(e, t, n = void 0, s = void 0) {
|
|
|
1459
1487
|
JSON.parse(f);
|
|
1460
1488
|
const l = {};
|
|
1461
1489
|
setTimeout(() => {
|
|
1462
|
-
|
|
1490
|
+
P(
|
|
1463
1491
|
e,
|
|
1464
1492
|
o,
|
|
1465
1493
|
(g) => {
|
|
@@ -1571,7 +1599,7 @@ function ue(e, t, n = void 0, s = void 0) {
|
|
|
1571
1599
|
}
|
|
1572
1600
|
});
|
|
1573
1601
|
}
|
|
1574
|
-
function
|
|
1602
|
+
function st(e, t, n = void 0, s = void 0) {
|
|
1575
1603
|
const { objId: i, pred: r, tag: o } = t, a = {
|
|
1576
1604
|
uri: "/resources/6w/tags",
|
|
1577
1605
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1607,7 +1635,7 @@ function nt(e, t, n = void 0, s = void 0) {
|
|
|
1607
1635
|
}
|
|
1608
1636
|
});
|
|
1609
1637
|
}
|
|
1610
|
-
function
|
|
1638
|
+
function it(e, t = "", n = void 0, s = void 0) {
|
|
1611
1639
|
const { space: i } = e;
|
|
1612
1640
|
if (t === "")
|
|
1613
1641
|
return;
|
|
@@ -1643,7 +1671,7 @@ async function w(e, t = void 0, n = void 0) {
|
|
|
1643
1671
|
}
|
|
1644
1672
|
});
|
|
1645
1673
|
}
|
|
1646
|
-
function
|
|
1674
|
+
function at(e, t = void 0, n = void 0) {
|
|
1647
1675
|
const s = `${e._3DSwym}/api/exalead/whatsnew`, i = {
|
|
1648
1676
|
params: {
|
|
1649
1677
|
community_id: null,
|
|
@@ -1673,7 +1701,7 @@ function it(e, t = void 0, n = void 0) {
|
|
|
1673
1701
|
});
|
|
1674
1702
|
});
|
|
1675
1703
|
}
|
|
1676
|
-
function
|
|
1704
|
+
function ot(e, t = void 0, n = void 0) {
|
|
1677
1705
|
const s = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1678
1706
|
params: {
|
|
1679
1707
|
idsToFilterArr: [],
|
|
@@ -1703,7 +1731,7 @@ function at(e, t = void 0, n = void 0) {
|
|
|
1703
1731
|
});
|
|
1704
1732
|
});
|
|
1705
1733
|
}
|
|
1706
|
-
function
|
|
1734
|
+
function rt(e, t = void 0, n = void 0) {
|
|
1707
1735
|
const s = {
|
|
1708
1736
|
base: e._3DSwym,
|
|
1709
1737
|
uri: "/api/community/listmycommunities",
|
|
@@ -1773,7 +1801,7 @@ function pe(e, t, n, s) {
|
|
|
1773
1801
|
});
|
|
1774
1802
|
});
|
|
1775
1803
|
}
|
|
1776
|
-
function
|
|
1804
|
+
function ct(e, t = void 0, n = void 0) {
|
|
1777
1805
|
const s = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1778
1806
|
e.commu_id || (e.commu_id = s);
|
|
1779
1807
|
const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -1796,7 +1824,7 @@ function rt(e, t = void 0, n = void 0) {
|
|
|
1796
1824
|
});
|
|
1797
1825
|
});
|
|
1798
1826
|
}
|
|
1799
|
-
function
|
|
1827
|
+
function dt(e, t, n = void 0, s = void 0) {
|
|
1800
1828
|
const { listAllContacts: i, currentUser: r, _3DSwym: o } = e;
|
|
1801
1829
|
console.log("__listAllContacts", i.hits);
|
|
1802
1830
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -1912,7 +1940,7 @@ function fe(e) {
|
|
|
1912
1940
|
<hr/>
|
|
1913
1941
|
<p><u>envoyer :</u>Le <b>${t} à ${n}</b></p>`;
|
|
1914
1942
|
}
|
|
1915
|
-
function
|
|
1943
|
+
function ut(e, t, n = void 0, s = void 0) {
|
|
1916
1944
|
const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
1917
1945
|
(c) => c.id === t.community_id
|
|
1918
1946
|
), o = e.swymCommunities.find(
|
|
@@ -1951,7 +1979,7 @@ function dt(e, t, n = void 0, s = void 0) {
|
|
|
1951
1979
|
});
|
|
1952
1980
|
});
|
|
1953
1981
|
}
|
|
1954
|
-
function
|
|
1982
|
+
function pt(e, t = void 0, n = void 0) {
|
|
1955
1983
|
const s = { base: e.space, uri: "/api/idea/add" };
|
|
1956
1984
|
if (!Array.isArray(e.swymCommunities)) {
|
|
1957
1985
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
@@ -2024,7 +2052,7 @@ function ut(e, t = void 0, n = void 0) {
|
|
|
2024
2052
|
m(s.base + s.uri, a);
|
|
2025
2053
|
});
|
|
2026
2054
|
}
|
|
2027
|
-
function
|
|
2055
|
+
function lt(e, t, n = void 0, s = void 0) {
|
|
2028
2056
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
2029
2057
|
params: {
|
|
2030
2058
|
community_id: t.community_id,
|
|
@@ -2051,7 +2079,7 @@ function pt(e, t, n = void 0, s = void 0) {
|
|
|
2051
2079
|
});
|
|
2052
2080
|
});
|
|
2053
2081
|
}
|
|
2054
|
-
function
|
|
2082
|
+
function ft(e, t = void 0, n = void 0) {
|
|
2055
2083
|
const { _3DSwym: s, _3DSwym_token: i } = e, r = `${s}/api/idea/get`;
|
|
2056
2084
|
if (e.idPost === "") {
|
|
2057
2085
|
const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
@@ -2079,7 +2107,7 @@ function lt(e, t = void 0, n = void 0) {
|
|
|
2079
2107
|
}
|
|
2080
2108
|
});
|
|
2081
2109
|
}
|
|
2082
|
-
function
|
|
2110
|
+
function mt(e, t, n) {
|
|
2083
2111
|
const {
|
|
2084
2112
|
_3DSwym: s,
|
|
2085
2113
|
_3DSwym_token: i,
|
|
@@ -2124,7 +2152,7 @@ function ft(e, t, n) {
|
|
|
2124
2152
|
};
|
|
2125
2153
|
m(p.base + p.uri, l);
|
|
2126
2154
|
}
|
|
2127
|
-
function
|
|
2155
|
+
function gt(e, t, n = void 0, s = void 0) {
|
|
2128
2156
|
const { _3DSwym: i } = e;
|
|
2129
2157
|
let { community_id: r, limit: o, page: a, search: c } = t;
|
|
2130
2158
|
const d = [], u = 1;
|
|
@@ -2249,7 +2277,7 @@ function me(e) {
|
|
|
2249
2277
|
<p>
|
|
2250
2278
|
</p>` : e;
|
|
2251
2279
|
}
|
|
2252
|
-
function
|
|
2280
|
+
function ht(e, t = void 0, n = void 0) {
|
|
2253
2281
|
const { tenant: s, _3DSwym: i, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2254
2282
|
if (s && i && r && o && a) {
|
|
2255
2283
|
const c = `${i}/api/idea/forward`;
|
|
@@ -2282,7 +2310,7 @@ function gt(e, t = void 0, n = void 0) {
|
|
|
2282
2310
|
credentials: e
|
|
2283
2311
|
});
|
|
2284
2312
|
}
|
|
2285
|
-
function
|
|
2313
|
+
function yt(e, t = void 0, n = void 0) {
|
|
2286
2314
|
const s = e._3DSwym + "/api/user/getcurrent/";
|
|
2287
2315
|
w(e, (i) => {
|
|
2288
2316
|
m(s, {
|
|
@@ -2301,7 +2329,7 @@ function ht(e, t = void 0, n = void 0) {
|
|
|
2301
2329
|
});
|
|
2302
2330
|
});
|
|
2303
2331
|
}
|
|
2304
|
-
function
|
|
2332
|
+
function St(e, t, n = void 0, s = void 0) {
|
|
2305
2333
|
const i = e.space + "/api/user/find/login/" + t;
|
|
2306
2334
|
w(
|
|
2307
2335
|
e,
|
|
@@ -2321,7 +2349,7 @@ function yt(e, t, n = void 0, s = void 0) {
|
|
|
2321
2349
|
s
|
|
2322
2350
|
);
|
|
2323
2351
|
}
|
|
2324
|
-
function
|
|
2352
|
+
function _t(e, t = void 0, n = void 0) {
|
|
2325
2353
|
const {
|
|
2326
2354
|
_3DSwym: s,
|
|
2327
2355
|
_3DSwym_token: i,
|
|
@@ -2348,14 +2376,14 @@ function St(e, t = void 0, n = void 0) {
|
|
|
2348
2376
|
};
|
|
2349
2377
|
m(a, d);
|
|
2350
2378
|
}
|
|
2351
|
-
function
|
|
2352
|
-
e.tenant &&
|
|
2379
|
+
function wt(e, t = void 0, n = void 0) {
|
|
2380
|
+
e.tenant && R(e, (s) => {
|
|
2353
2381
|
const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2354
2382
|
return t && t(i), i;
|
|
2355
2383
|
});
|
|
2356
2384
|
}
|
|
2357
|
-
function
|
|
2358
|
-
e.tenant &&
|
|
2385
|
+
function Ct(e, t = void 0, n = void 0) {
|
|
2386
|
+
e.tenant && R(e, (s) => {
|
|
2359
2387
|
const i = s.services.find(
|
|
2360
2388
|
(a) => a.id === "3dpassport"
|
|
2361
2389
|
)?.url, r = s.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
@@ -2374,7 +2402,7 @@ function wt(e, t = void 0, n = void 0) {
|
|
|
2374
2402
|
});
|
|
2375
2403
|
});
|
|
2376
2404
|
}
|
|
2377
|
-
function
|
|
2405
|
+
function Tt(e, t = void 0, n = void 0) {
|
|
2378
2406
|
if (e.tenant) {
|
|
2379
2407
|
const s = e.tenant.toLowerCase();
|
|
2380
2408
|
fetch(`https://api.uixhome.fr/${s}/iterop/jwtuser`, {
|
|
@@ -2386,7 +2414,7 @@ function Ct(e, t = void 0, n = void 0) {
|
|
|
2386
2414
|
});
|
|
2387
2415
|
}
|
|
2388
2416
|
}
|
|
2389
|
-
async function
|
|
2417
|
+
async function bt(e, t, n = void 0, s = void 0) {
|
|
2390
2418
|
if (e.tenant) {
|
|
2391
2419
|
const i = e.tenant.toLowerCase();
|
|
2392
2420
|
fetch(
|
|
@@ -2401,7 +2429,7 @@ async function Tt(e, t, n = void 0, s = void 0) {
|
|
|
2401
2429
|
});
|
|
2402
2430
|
}
|
|
2403
2431
|
}
|
|
2404
|
-
async function
|
|
2432
|
+
async function Ot(e, t, n, s = void 0, i = void 0) {
|
|
2405
2433
|
if (e.tenant) {
|
|
2406
2434
|
const r = e.tenant.toLowerCase();
|
|
2407
2435
|
fetch(
|
|
@@ -2416,7 +2444,7 @@ async function bt(e, t, n, s = void 0, i = void 0) {
|
|
|
2416
2444
|
});
|
|
2417
2445
|
}
|
|
2418
2446
|
}
|
|
2419
|
-
async function
|
|
2447
|
+
async function $t(e, t, n, s = void 0, i = void 0) {
|
|
2420
2448
|
if (e.tenant) {
|
|
2421
2449
|
const r = e.tenant.toLowerCase();
|
|
2422
2450
|
fetch(
|
|
@@ -2431,7 +2459,7 @@ async function Ot(e, t, n, s = void 0, i = void 0) {
|
|
|
2431
2459
|
});
|
|
2432
2460
|
}
|
|
2433
2461
|
}
|
|
2434
|
-
async function
|
|
2462
|
+
async function Nt(e, t, n, s, i = void 0, r = void 0) {
|
|
2435
2463
|
if (e.tenant) {
|
|
2436
2464
|
const o = e.tenant.toLowerCase();
|
|
2437
2465
|
fetch(
|
|
@@ -2446,7 +2474,7 @@ async function $t(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2446
2474
|
});
|
|
2447
2475
|
}
|
|
2448
2476
|
}
|
|
2449
|
-
async function
|
|
2477
|
+
async function It(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2450
2478
|
if (e.tenant) {
|
|
2451
2479
|
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${n}?t=${t}&c=${encodeURIComponent(
|
|
2452
2480
|
s
|
|
@@ -2465,7 +2493,7 @@ async function Nt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2465
2493
|
});
|
|
2466
2494
|
}
|
|
2467
2495
|
}
|
|
2468
|
-
async function
|
|
2496
|
+
async function Ft(e, t, n, s, i = void 0, r = void 0) {
|
|
2469
2497
|
if (e.tenant) {
|
|
2470
2498
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${n}?t=${t}&b=${encodeURIComponent(
|
|
2471
2499
|
s
|
|
@@ -2482,7 +2510,7 @@ async function It(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2482
2510
|
});
|
|
2483
2511
|
}
|
|
2484
2512
|
}
|
|
2485
|
-
async function
|
|
2513
|
+
async function kt(e, t, n, s, i = void 0, r = void 0) {
|
|
2486
2514
|
if (e.tenant) {
|
|
2487
2515
|
const o = e.tenant.toLowerCase();
|
|
2488
2516
|
fetch(
|
|
@@ -2498,7 +2526,7 @@ async function Ft(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2498
2526
|
}
|
|
2499
2527
|
}
|
|
2500
2528
|
async function jt(e, t, n, s = void 0, i = void 0) {
|
|
2501
|
-
if (e.tenant) {
|
|
2529
|
+
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
2502
2530
|
const r = e.tenant.toLowerCase();
|
|
2503
2531
|
fetch(
|
|
2504
2532
|
`https://api.uixhome.fr/${r}/iterop/dependencytable/one/${n}/?t=${t}`,
|
|
@@ -2512,7 +2540,7 @@ async function jt(e, t, n, s = void 0, i = void 0) {
|
|
|
2512
2540
|
});
|
|
2513
2541
|
}
|
|
2514
2542
|
}
|
|
2515
|
-
async function
|
|
2543
|
+
async function At(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2516
2544
|
if (e.tenant) {
|
|
2517
2545
|
const a = e.tenant.toLowerCase();
|
|
2518
2546
|
fetch(
|
|
@@ -2527,7 +2555,7 @@ async function kt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2527
2555
|
});
|
|
2528
2556
|
}
|
|
2529
2557
|
}
|
|
2530
|
-
async function
|
|
2558
|
+
async function vt(e, t, n, s, i = void 0, r = void 0) {
|
|
2531
2559
|
if (e.tenant) {
|
|
2532
2560
|
const o = e.tenant.toLowerCase();
|
|
2533
2561
|
fetch(
|
|
@@ -2543,7 +2571,7 @@ async function At(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2543
2571
|
}
|
|
2544
2572
|
}
|
|
2545
2573
|
//!SECTION
|
|
2546
|
-
async function
|
|
2574
|
+
async function Ut(e, t, n, s = void 0, i = void 0) {
|
|
2547
2575
|
if (e.tenant) {
|
|
2548
2576
|
const r = e.tenant.toLowerCase();
|
|
2549
2577
|
fetch(
|
|
@@ -2559,17 +2587,17 @@ async function vt(e, t, n, s = void 0, i = void 0) {
|
|
|
2559
2587
|
}
|
|
2560
2588
|
}
|
|
2561
2589
|
//!SECTION
|
|
2562
|
-
function
|
|
2590
|
+
function xt(e) {
|
|
2563
2591
|
const t = "Hello " + e;
|
|
2564
2592
|
return console.log(t), t;
|
|
2565
2593
|
}
|
|
2566
|
-
function
|
|
2594
|
+
function Rt(e, t = void 0, n = void 0) {
|
|
2567
2595
|
return console.log("credentials", e), new Promise((s) => {
|
|
2568
2596
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2569
2597
|
const o = Y();
|
|
2570
2598
|
console.log("platformeInfo", o);
|
|
2571
2599
|
}
|
|
2572
|
-
|
|
2600
|
+
k(
|
|
2573
2601
|
e,
|
|
2574
2602
|
"Common space",
|
|
2575
2603
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2644,11 +2672,11 @@ function xt(e, t = void 0, n = void 0) {
|
|
|
2644
2672
|
}
|
|
2645
2673
|
export {
|
|
2646
2674
|
B as UUID,
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2675
|
+
Rt as _3DSearch_usersGroup,
|
|
2676
|
+
Ge as _3DSpace_Create_Doc,
|
|
2677
|
+
Je as _3DSpace_Update_Doc,
|
|
2678
|
+
Ye as _3DSpace_bookmark_addSubsciptions,
|
|
2679
|
+
Ve as _3DSpace_bookmark_newWorkspace,
|
|
2652
2680
|
b as _3DSpace_csrf,
|
|
2653
2681
|
L as _3DSpace_download_doc,
|
|
2654
2682
|
ie as _3DSpace_download_multidoc,
|
|
@@ -2656,86 +2684,87 @@ export {
|
|
|
2656
2684
|
ee as _3DSpace_file_update_csr,
|
|
2657
2685
|
Le as _3DSpace_file_url_csr,
|
|
2658
2686
|
F as _3DSpace_get_csrf,
|
|
2659
|
-
|
|
2687
|
+
P as _3DSpace_get_docInfo,
|
|
2660
2688
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2661
2689
|
De as _3DSpace_get_multiDocInfo,
|
|
2662
|
-
|
|
2690
|
+
k as _3DSpace_get_securityContexts,
|
|
2663
2691
|
A as _3DSpace_get_ticket,
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2692
|
+
Xe as _3DSpace_lifecycle_changeRevision,
|
|
2693
|
+
Ee as _3DSpace_lifecycle_changeState,
|
|
2694
|
+
Be as _3DSpace_lifecycle_getGraph,
|
|
2695
|
+
We as _3DSpace_lifecycle_getNextRevision,
|
|
2696
|
+
Ke as _3DSpace_lifecycle_getNextStates,
|
|
2697
|
+
Me as _3DSpace_put_docInfo,
|
|
2698
|
+
ht as _3DSwym_ForwardIdea,
|
|
2699
|
+
_t as _3DSwym_addComment,
|
|
2700
|
+
dt as _3DSwym_buildDirectMessage,
|
|
2701
|
+
lt as _3DSwym_deleteIdea,
|
|
2702
|
+
mt as _3DSwym_editIdea,
|
|
2674
2703
|
le as _3DSwym_findCommunityToInstantMSG,
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2704
|
+
rt as _3DSwym_getAllCommunities,
|
|
2705
|
+
gt as _3DSwym_getAllListIdeas,
|
|
2706
|
+
at as _3DSwym_getAllNews,
|
|
2707
|
+
ot as _3DSwym_getFamiliarPeople,
|
|
2708
|
+
ct as _3DSwym_getIdeaStatusMaturity,
|
|
2680
2709
|
pe as _3DSwym_getMembersCommunity,
|
|
2681
|
-
|
|
2710
|
+
ft as _3DSwym_getOneIdea,
|
|
2682
2711
|
w as _3DSwym_get_Token,
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2712
|
+
yt as _3DSwym_get_currentUser,
|
|
2713
|
+
St as _3DSwym_get_findUser,
|
|
2714
|
+
pt as _3DSwym_postIdea,
|
|
2715
|
+
ut as _3DSwym_postIdeaTemplate,
|
|
2687
2716
|
U as _3DSwym_sendMessageData,
|
|
2688
|
-
|
|
2717
|
+
ke as _AppMngt_get_info_user,
|
|
2689
2718
|
Fe as _AppMngt_get_users,
|
|
2690
|
-
|
|
2691
|
-
|
|
2719
|
+
Nt as _Iterop_AddOrRemoveRows,
|
|
2720
|
+
Ct as _Iterop_Auth_CAS,
|
|
2692
2721
|
jt as _Iterop_GetOneDependencyTable,
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2722
|
+
Ut as _Iterop_GetOneList,
|
|
2723
|
+
At as _Iterop_PatchDependencyTable,
|
|
2724
|
+
vt as _Iterop_PutDependencyTable,
|
|
2725
|
+
It as _Iterop_businessTableSearchInRows,
|
|
2726
|
+
bt as _Iterop_getAllBusinessTables,
|
|
2727
|
+
Ot as _Iterop_getOneBusinessTable,
|
|
2728
|
+
$t as _Iterop_getOneBusinessTableRows,
|
|
2729
|
+
Tt as _Iterop_jwtUser,
|
|
2730
|
+
kt as _Iterop_runProcess,
|
|
2731
|
+
Ft as _Iterop_updateBusinessTable,
|
|
2703
2732
|
Y as _getPlateformInfos,
|
|
2704
2733
|
$e as _getPlatformServices,
|
|
2705
|
-
|
|
2734
|
+
R as _getServiceUrl,
|
|
2706
2735
|
Ne as _getServiceUrl_3DPassport,
|
|
2707
|
-
|
|
2736
|
+
wt as _getServiceUrl_Iterop,
|
|
2708
2737
|
m as _httpCallAuthenticated,
|
|
2709
2738
|
Te as _setDraggable,
|
|
2710
2739
|
Oe as _setDroppable,
|
|
2711
2740
|
be as _setupTagger,
|
|
2712
|
-
|
|
2741
|
+
nt as addTagToDoc,
|
|
2713
2742
|
X as chunkArray,
|
|
2714
2743
|
Ie as compass_getListAdditionalApps,
|
|
2715
2744
|
W as couleurs,
|
|
2716
|
-
|
|
2745
|
+
je as createUserGroups,
|
|
2717
2746
|
oe as dataMixing,
|
|
2718
2747
|
Ue as deleteUserGroups,
|
|
2719
2748
|
_e as findAdresse,
|
|
2720
|
-
|
|
2749
|
+
qe as getAllContextSecurity,
|
|
2721
2750
|
H as getCSRFToken,
|
|
2722
2751
|
Se as getCommunes,
|
|
2723
2752
|
Ae as getComplementUG,
|
|
2724
|
-
|
|
2753
|
+
He as getDataFrom3DSpace,
|
|
2725
2754
|
we as getDataFromGouvFr,
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2755
|
+
et as getDatasByTenant,
|
|
2756
|
+
tt as getDatasFrom3DSpace,
|
|
2757
|
+
ze as getDownloadDocument,
|
|
2758
|
+
it as getInfoDocTags,
|
|
2730
2759
|
ve as getUserGroupsList,
|
|
2731
2760
|
q as getUsersGroupRules,
|
|
2732
|
-
|
|
2761
|
+
Ze as get_3DSpace_csrf,
|
|
2733
2762
|
xe as patchUserGroups,
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2763
|
+
Re as patchUserGroupsControl,
|
|
2764
|
+
Qe as pushDataIn3DSpace,
|
|
2765
|
+
Pe as readUserGroupControl,
|
|
2766
|
+
st as removeTagToDoc,
|
|
2767
|
+
xt as sayHello,
|
|
2739
2768
|
Ce as updateEvent
|
|
2740
2769
|
};
|
|
2741
2770
|
//# sourceMappingURL=wb3Api.js.map
|