@beam3_dev/api_module 0.0.254 → 0.0.255
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 +13 -13
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +6 -6
- 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, {
|
|
@@ -412,7 +412,7 @@ 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",
|
|
@@ -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");
|
|
@@ -706,7 +706,7 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
|
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
async function Me(e, t, n, s = void 0, i = void 0) {
|
|
709
|
-
e.space, e.token, e.ctx,
|
|
709
|
+
e.space, e.token, e.ctx, P(
|
|
710
710
|
e,
|
|
711
711
|
t,
|
|
712
712
|
(r) => {
|
|
@@ -1459,7 +1459,7 @@ function tt(e, t, n = void 0, s = void 0) {
|
|
|
1459
1459
|
JSON.parse(f);
|
|
1460
1460
|
const l = {};
|
|
1461
1461
|
setTimeout(() => {
|
|
1462
|
-
|
|
1462
|
+
P(
|
|
1463
1463
|
e,
|
|
1464
1464
|
o,
|
|
1465
1465
|
(g) => {
|
|
@@ -2349,13 +2349,13 @@ function St(e, t = void 0, n = void 0) {
|
|
|
2349
2349
|
m(a, d);
|
|
2350
2350
|
}
|
|
2351
2351
|
function _t(e, t = void 0, n = void 0) {
|
|
2352
|
-
e.tenant &&
|
|
2352
|
+
e.tenant && R(e, (s) => {
|
|
2353
2353
|
const i = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2354
2354
|
return t && t(i), i;
|
|
2355
2355
|
});
|
|
2356
2356
|
}
|
|
2357
2357
|
function wt(e, t = void 0, n = void 0) {
|
|
2358
|
-
e.tenant &&
|
|
2358
|
+
e.tenant && R(e, (s) => {
|
|
2359
2359
|
const i = s.services.find(
|
|
2360
2360
|
(a) => a.id === "3dpassport"
|
|
2361
2361
|
)?.url, r = s.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
@@ -2498,7 +2498,7 @@ async function Ft(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2498
2498
|
}
|
|
2499
2499
|
}
|
|
2500
2500
|
async function jt(e, t, n, s = void 0, i = void 0) {
|
|
2501
|
-
if (e.tenant) {
|
|
2501
|
+
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
2502
2502
|
const r = e.tenant.toLowerCase();
|
|
2503
2503
|
fetch(
|
|
2504
2504
|
`https://api.uixhome.fr/${r}/iterop/dependencytable/one/${n}/?t=${t}`,
|
|
@@ -2656,7 +2656,7 @@ export {
|
|
|
2656
2656
|
ee as _3DSpace_file_update_csr,
|
|
2657
2657
|
Le as _3DSpace_file_url_csr,
|
|
2658
2658
|
F as _3DSpace_get_csrf,
|
|
2659
|
-
|
|
2659
|
+
P as _3DSpace_get_docInfo,
|
|
2660
2660
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2661
2661
|
De as _3DSpace_get_multiDocInfo,
|
|
2662
2662
|
j as _3DSpace_get_securityContexts,
|
|
@@ -2702,7 +2702,7 @@ export {
|
|
|
2702
2702
|
It as _Iterop_updateBusinessTable,
|
|
2703
2703
|
Y as _getPlateformInfos,
|
|
2704
2704
|
$e as _getPlatformServices,
|
|
2705
|
-
|
|
2705
|
+
R as _getServiceUrl,
|
|
2706
2706
|
Ne as _getServiceUrl_3DPassport,
|
|
2707
2707
|
_t as _getServiceUrl_Iterop,
|
|
2708
2708
|
m as _httpCallAuthenticated,
|
|
@@ -2731,9 +2731,9 @@ export {
|
|
|
2731
2731
|
q as getUsersGroupRules,
|
|
2732
2732
|
Qe as get_3DSpace_csrf,
|
|
2733
2733
|
xe as patchUserGroups,
|
|
2734
|
-
|
|
2734
|
+
Re as patchUserGroupsControl,
|
|
2735
2735
|
ze as pushDataIn3DSpace,
|
|
2736
|
-
|
|
2736
|
+
Pe as readUserGroupControl,
|
|
2737
2737
|
nt as removeTagToDoc,
|
|
2738
2738
|
Ut as sayHello,
|
|
2739
2739
|
Ce as updateEvent
|