@beam3_dev/api_module 0.0.269 → 0.0.270
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 +22 -21
- 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 Ue(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 Fe(e, t = void 0, s = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Fe(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) {
|
|
@@ -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 U(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
|
+
U(
|
|
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() : U(
|
|
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 F(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
|
+
F(
|
|
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
|
+
F(
|
|
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
|
+
F(
|
|
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
|
+
U(
|
|
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 !== "" ? U(
|
|
1382
1382
|
e,
|
|
1383
1383
|
(n) => {
|
|
1384
1384
|
t && t(n);
|
|
@@ -2321,8 +2321,9 @@ function yt(e, t = void 0, s = void 0) {
|
|
|
2321
2321
|
m(c, {
|
|
2322
2322
|
method: "GET",
|
|
2323
2323
|
onComplete(d, u, p) {
|
|
2324
|
+
console.log("_3DSwym_get_currentUser | response", d);
|
|
2324
2325
|
const f = JSON.parse(d);
|
|
2325
|
-
f.first_name = f.firstName, f.last_name = f.lastName, a = f;
|
|
2326
|
+
f.first_name = f.firstName, f.last_name = f.lastName, a = f, n(f);
|
|
2326
2327
|
},
|
|
2327
2328
|
onFailure(d) {
|
|
2328
2329
|
i("ERROR | _3DSwym_get_currentUser => _3DDashboard + /api/users/current", d);
|
|
@@ -2499,7 +2500,7 @@ async function It(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2499
2500
|
});
|
|
2500
2501
|
}
|
|
2501
2502
|
}
|
|
2502
|
-
async function
|
|
2503
|
+
async function Ut(e, t, s, n, i = void 0, r = void 0) {
|
|
2503
2504
|
if (e.tenant) {
|
|
2504
2505
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${s}?t=${t}&b=${encodeURIComponent(
|
|
2505
2506
|
n
|
|
@@ -2516,7 +2517,7 @@ async function Ft(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2516
2517
|
});
|
|
2517
2518
|
}
|
|
2518
2519
|
}
|
|
2519
|
-
async function
|
|
2520
|
+
async function Ft(e, t, s, n = void 0, i = void 0) {
|
|
2520
2521
|
if (e.tenant) {
|
|
2521
2522
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${t}&b=${encodeURIComponent(
|
|
2522
2523
|
s
|
|
@@ -2620,7 +2621,7 @@ function Dt(e, t = void 0, s = void 0) {
|
|
|
2620
2621
|
const o = q();
|
|
2621
2622
|
console.log("platformeInfo", o);
|
|
2622
2623
|
}
|
|
2623
|
-
|
|
2624
|
+
F(
|
|
2624
2625
|
e,
|
|
2625
2626
|
"Common space",
|
|
2626
2627
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2706,11 +2707,11 @@ export {
|
|
|
2706
2707
|
P as _3DSpace_file_update,
|
|
2707
2708
|
ee as _3DSpace_file_update_csr,
|
|
2708
2709
|
Le as _3DSpace_file_url_csr,
|
|
2709
|
-
|
|
2710
|
+
U as _3DSpace_get_csrf,
|
|
2710
2711
|
D as _3DSpace_get_docInfo,
|
|
2711
2712
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2712
2713
|
Pe as _3DSpace_get_multiDocInfo,
|
|
2713
|
-
|
|
2714
|
+
F as _3DSpace_get_securityContexts,
|
|
2714
2715
|
k as _3DSpace_get_ticket,
|
|
2715
2716
|
Xe as _3DSpace_lifecycle_changeRevision,
|
|
2716
2717
|
Ke as _3DSpace_lifecycle_changeState,
|
|
@@ -2737,8 +2738,8 @@ export {
|
|
|
2737
2738
|
pt as _3DSwym_postIdea,
|
|
2738
2739
|
ut as _3DSwym_postIdeaTemplate,
|
|
2739
2740
|
A as _3DSwym_sendMessageData,
|
|
2740
|
-
|
|
2741
|
-
|
|
2741
|
+
Fe as _AppMngt_get_info_user,
|
|
2742
|
+
Ue as _AppMngt_get_users,
|
|
2742
2743
|
Nt as _Iterop_AddOrRemoveRows,
|
|
2743
2744
|
Ct as _Iterop_Auth_CAS,
|
|
2744
2745
|
kt as _Iterop_GetOneDependencyTable,
|
|
@@ -2746,13 +2747,13 @@ export {
|
|
|
2746
2747
|
jt as _Iterop_PatchDependencyTable,
|
|
2747
2748
|
At as _Iterop_PutDependencyTable,
|
|
2748
2749
|
It as _Iterop_businessTableSearchInRows,
|
|
2749
|
-
|
|
2750
|
+
Ft as _Iterop_createBusinessTable,
|
|
2750
2751
|
bt as _Iterop_getAllBusinessTables,
|
|
2751
2752
|
Ot as _Iterop_getOneBusinessTable,
|
|
2752
2753
|
$t as _Iterop_getOneBusinessTableRows,
|
|
2753
2754
|
Tt as _Iterop_jwtUser,
|
|
2754
2755
|
Rt as _Iterop_runProcess,
|
|
2755
|
-
|
|
2756
|
+
Ut as _Iterop_updateBusinessTable,
|
|
2756
2757
|
q as _getPlateformInfos,
|
|
2757
2758
|
$e as _getPlatformServices,
|
|
2758
2759
|
x as _getServiceUrl,
|