@beam3_dev/api_module 0.0.272 → 0.0.274
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 +30 -30
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +1 -1
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -258,7 +258,7 @@ function Ie(e, t, s) {
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Re(e, t = void 0, s = void 0) {
|
|
262
262
|
let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
263
263
|
m(n, {
|
|
264
264
|
onComplete(i, r, o) {
|
|
@@ -271,7 +271,7 @@ function Ue(e, t = void 0, s = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Ue(e, t, s = void 0, n = 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 Fe(e, t, s = void 0, n = void 0) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const F = {
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function Fe(e, t, s = void 0, n = 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 Re(e, t, s = void 0, n = void 0) {
|
|
|
305
305
|
};
|
|
306
306
|
m(a, {
|
|
307
307
|
method: "POST",
|
|
308
|
-
headers:
|
|
308
|
+
headers: F,
|
|
309
309
|
data: JSON.stringify(c),
|
|
310
310
|
onComplete(d) {
|
|
311
311
|
s && s(JSON.parse(d));
|
|
@@ -400,7 +400,7 @@ function ve(e, t, s, n = void 0, i = void 0) {
|
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
401
|
}, c = s, d = `${r}${a.URIUGr}/${t}`, u = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: F,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: u,
|
|
406
406
|
type: "json",
|
|
@@ -416,7 +416,7 @@ function xe(e, t, s, n = 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: F,
|
|
420
420
|
data: JSON.stringify(s),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
@@ -540,7 +540,7 @@ async function Pe(e, t = void 0, s = void 0, n = void 0) {
|
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function R(e, t = void 0, s = void 0) {
|
|
544
544
|
if (e.objID && e.objID !== "") {
|
|
545
545
|
let n = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
546
546
|
m(n, {
|
|
@@ -584,7 +584,7 @@ function b(e, t = void 0, s = void 0) {
|
|
|
584
584
|
}
|
|
585
585
|
function k(e, t = void 0, s = void 0) {
|
|
586
586
|
let n = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
587
|
-
|
|
587
|
+
R(
|
|
588
588
|
e,
|
|
589
589
|
(i) => {
|
|
590
590
|
m(n, {
|
|
@@ -639,7 +639,7 @@ function P(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
639
639
|
r,
|
|
640
640
|
o
|
|
641
641
|
);
|
|
642
|
-
e.token ? a() :
|
|
642
|
+
e.token ? a() : R(
|
|
643
643
|
e,
|
|
644
644
|
t,
|
|
645
645
|
(c) => {
|
|
@@ -879,7 +879,7 @@ function se(e, t, s, n = void 0, i = void 0, r = void 0) {
|
|
|
879
879
|
}
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function U(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1) {
|
|
883
883
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
884
884
|
m(a, {
|
|
885
885
|
method: "GET",
|
|
@@ -1114,7 +1114,7 @@ function Be(e, t, s = void 0, n = void 0) {
|
|
|
1114
1114
|
return new Promise((i) => {
|
|
1115
1115
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1116
1116
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1117
|
-
|
|
1117
|
+
U(
|
|
1118
1118
|
e.space,
|
|
1119
1119
|
"ESPACE COMMUN",
|
|
1120
1120
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1155,7 +1155,7 @@ function We(e, t, s = void 0, n = void 0) {
|
|
|
1155
1155
|
return new Promise((i) => {
|
|
1156
1156
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1157
1157
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1158
|
-
|
|
1158
|
+
U(
|
|
1159
1159
|
e.space,
|
|
1160
1160
|
"ESPACE COMMUN",
|
|
1161
1161
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1202,7 +1202,7 @@ function Xe(e, t, s, n = void 0, i = void 0) {
|
|
|
1202
1202
|
return new Promise((r) => {
|
|
1203
1203
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1204
1204
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1205
|
-
|
|
1205
|
+
U(
|
|
1206
1206
|
e.space,
|
|
1207
1207
|
"ESPACE COMMUN",
|
|
1208
1208
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1354,7 +1354,7 @@ async function ze(e, t, s = void 0, n = void 0) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
function Qe(e, t, s, n = void 0, i = void 0) {
|
|
1356
1356
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1357
|
-
|
|
1357
|
+
R(
|
|
1358
1358
|
e,
|
|
1359
1359
|
s,
|
|
1360
1360
|
(o) => {
|
|
@@ -1378,7 +1378,7 @@ function Qe(e, t, s, n = void 0, i = void 0) {
|
|
|
1378
1378
|
let M, J;
|
|
1379
1379
|
const j = [];
|
|
1380
1380
|
async function Ze(e, t = void 0, s = void 0) {
|
|
1381
|
-
e.objID && e.objID !== "" ?
|
|
1381
|
+
e.objID && e.objID !== "" ? R(
|
|
1382
1382
|
e,
|
|
1383
1383
|
(n) => {
|
|
1384
1384
|
t && t(n);
|
|
@@ -2321,8 +2321,8 @@ function yt(e, t = void 0, s = void 0) {
|
|
|
2321
2321
|
method: "GET",
|
|
2322
2322
|
onComplete(a, c, d) {
|
|
2323
2323
|
let u = {};
|
|
2324
|
-
const p = String(a)
|
|
2325
|
-
Object.keys(p).forEach((f) => {
|
|
2324
|
+
const p = new String(a);
|
|
2325
|
+
console.log("oResult", p), Object.keys(p).forEach((f) => {
|
|
2326
2326
|
p[f] === "firstName" && (u.first_name = p.firstName);
|
|
2327
2327
|
}), u.first_name = u.firstName, u.last_name = u.lastName, console.log("_3DSwym_get_currentUser | info", u), r = u, n(u);
|
|
2328
2328
|
},
|
|
@@ -2501,7 +2501,7 @@ async function It(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2501
2501
|
});
|
|
2502
2502
|
}
|
|
2503
2503
|
}
|
|
2504
|
-
async function
|
|
2504
|
+
async function Rt(e, t, s, n, i = void 0, r = void 0) {
|
|
2505
2505
|
if (e.tenant) {
|
|
2506
2506
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${s}?t=${t}&b=${encodeURIComponent(
|
|
2507
2507
|
n
|
|
@@ -2518,7 +2518,7 @@ async function Ut(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2518
2518
|
});
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
2521
|
-
async function
|
|
2521
|
+
async function Ut(e, t, s, n = void 0, i = void 0) {
|
|
2522
2522
|
if (e.tenant) {
|
|
2523
2523
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${t}&b=${encodeURIComponent(
|
|
2524
2524
|
s
|
|
@@ -2535,7 +2535,7 @@ async function Ft(e, t, s, n = void 0, i = void 0) {
|
|
|
2535
2535
|
});
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
|
-
async function
|
|
2538
|
+
async function Ft(e, t, s, n, i = void 0, r = void 0) {
|
|
2539
2539
|
if (e.tenant) {
|
|
2540
2540
|
const o = e.tenant.toLowerCase();
|
|
2541
2541
|
fetch(
|
|
@@ -2622,7 +2622,7 @@ function Dt(e, t = void 0, s = void 0) {
|
|
|
2622
2622
|
const o = q();
|
|
2623
2623
|
console.log("platformeInfo", o);
|
|
2624
2624
|
}
|
|
2625
|
-
|
|
2625
|
+
U(
|
|
2626
2626
|
e,
|
|
2627
2627
|
"Common space",
|
|
2628
2628
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2708,11 +2708,11 @@ export {
|
|
|
2708
2708
|
P as _3DSpace_file_update,
|
|
2709
2709
|
ee as _3DSpace_file_update_csr,
|
|
2710
2710
|
Le as _3DSpace_file_url_csr,
|
|
2711
|
-
|
|
2711
|
+
R as _3DSpace_get_csrf,
|
|
2712
2712
|
D as _3DSpace_get_docInfo,
|
|
2713
2713
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2714
2714
|
Pe as _3DSpace_get_multiDocInfo,
|
|
2715
|
-
|
|
2715
|
+
U as _3DSpace_get_securityContexts,
|
|
2716
2716
|
k as _3DSpace_get_ticket,
|
|
2717
2717
|
Xe as _3DSpace_lifecycle_changeRevision,
|
|
2718
2718
|
Ke as _3DSpace_lifecycle_changeState,
|
|
@@ -2739,8 +2739,8 @@ export {
|
|
|
2739
2739
|
pt as _3DSwym_postIdea,
|
|
2740
2740
|
ut as _3DSwym_postIdeaTemplate,
|
|
2741
2741
|
A as _3DSwym_sendMessageData,
|
|
2742
|
-
|
|
2743
|
-
|
|
2742
|
+
Ue as _AppMngt_get_info_user,
|
|
2743
|
+
Re as _AppMngt_get_users,
|
|
2744
2744
|
Nt as _Iterop_AddOrRemoveRows,
|
|
2745
2745
|
Ct as _Iterop_Auth_CAS,
|
|
2746
2746
|
kt as _Iterop_GetOneDependencyTable,
|
|
@@ -2748,13 +2748,13 @@ export {
|
|
|
2748
2748
|
jt as _Iterop_PatchDependencyTable,
|
|
2749
2749
|
At as _Iterop_PutDependencyTable,
|
|
2750
2750
|
It as _Iterop_businessTableSearchInRows,
|
|
2751
|
-
|
|
2751
|
+
Ut as _Iterop_createBusinessTable,
|
|
2752
2752
|
bt as _Iterop_getAllBusinessTables,
|
|
2753
2753
|
Ot as _Iterop_getOneBusinessTable,
|
|
2754
2754
|
$t as _Iterop_getOneBusinessTableRows,
|
|
2755
2755
|
Tt as _Iterop_jwtUser,
|
|
2756
|
-
|
|
2757
|
-
|
|
2756
|
+
Ft as _Iterop_runProcess,
|
|
2757
|
+
Rt as _Iterop_updateBusinessTable,
|
|
2758
2758
|
q as _getPlateformInfos,
|
|
2759
2759
|
$e as _getPlatformServices,
|
|
2760
2760
|
x as _getServiceUrl,
|
|
@@ -2768,7 +2768,7 @@ export {
|
|
|
2768
2768
|
X as chunkArray,
|
|
2769
2769
|
Ie as compass_getListAdditionalApps,
|
|
2770
2770
|
W as couleurs,
|
|
2771
|
-
|
|
2771
|
+
Fe as createUserGroups,
|
|
2772
2772
|
oe as dataMixing,
|
|
2773
2773
|
Ae as deleteUserGroups,
|
|
2774
2774
|
Se as findAdresse,
|