@beam3_dev/api_module 0.0.338 → 0.0.339
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 +17 -14
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +5 -5
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -227,7 +227,7 @@ function J(e, n = void 0, t = void 0) {
|
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ae(e, n = void 0, t = void 0) {
|
|
231
231
|
if (e.tenant) {
|
|
232
232
|
const i = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
233
233
|
m(i, {
|
|
@@ -244,7 +244,7 @@ function De(e, n = void 0, t = void 0) {
|
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function De(e, n = void 0, t = void 0) {
|
|
248
248
|
if (e.tenant) {
|
|
249
249
|
const i = `https://eu1-registry.3dexperience.3ds.com/api/v1/platform/instance?id=${e.tenant.toLowerCase()}`;
|
|
250
250
|
m(i, {
|
|
@@ -926,7 +926,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
926
926
|
"text/html"
|
|
927
927
|
).body.firstChild.querySelector("input").getAttributeNode("value").value, k = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(a)}/contents?receipt=${encodeURIComponent(j)}`;
|
|
928
928
|
let W = /(?:\.([^.]+))?$/.exec(n)[1];
|
|
929
|
-
const
|
|
929
|
+
const A = JSON.stringify({
|
|
930
930
|
actions: [],
|
|
931
931
|
businessobj: {
|
|
932
932
|
description: e?.description ? e?.description : "",
|
|
@@ -949,7 +949,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
949
949
|
"Content-Type": "application/json;charset=UTF-8",
|
|
950
950
|
"X-DS-CSRFTOKEN": p
|
|
951
951
|
},
|
|
952
|
-
data:
|
|
952
|
+
data: A,
|
|
953
953
|
type: "json",
|
|
954
954
|
onComplete(I, Ce, Oe) {
|
|
955
955
|
i && i(I);
|
|
@@ -957,7 +957,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
|
|
|
957
957
|
onFailure(I) {
|
|
958
958
|
console.warn(
|
|
959
959
|
"_3DSpace_Upload_Doc | pushFileInFcs | onFailure",
|
|
960
|
-
{ url: k, bodyRequest:
|
|
960
|
+
{ url: k, bodyRequest: A, err: I }
|
|
961
961
|
), s && s(I);
|
|
962
962
|
}
|
|
963
963
|
});
|
|
@@ -1684,7 +1684,7 @@ function lt(e, n, t, i = void 0, s = void 0) {
|
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
1686
|
let K, q;
|
|
1687
|
-
const
|
|
1687
|
+
const D = [];
|
|
1688
1688
|
async function ft(e, n = void 0, t = void 0) {
|
|
1689
1689
|
e.objID && e.objID !== "" ? R(
|
|
1690
1690
|
e,
|
|
@@ -1738,7 +1738,7 @@ function pe(e, n, t = void 0, i = void 0) {
|
|
|
1738
1738
|
K,
|
|
1739
1739
|
(s) => {
|
|
1740
1740
|
const r = [...n];
|
|
1741
|
-
r.find((o) => o.objectID === s.objectId).data = s.data, q = r,
|
|
1741
|
+
r.find((o) => o.objectID === s.objectId).data = s.data, q = r, D.push(s.data), t && t(D);
|
|
1742
1742
|
},
|
|
1743
1743
|
(s) => {
|
|
1744
1744
|
i && (i(s), console.log(s));
|
|
@@ -2702,7 +2702,7 @@ function kt(e, n = void 0, t = void 0) {
|
|
|
2702
2702
|
return n && n(s), s;
|
|
2703
2703
|
});
|
|
2704
2704
|
}
|
|
2705
|
-
function
|
|
2705
|
+
function At(e, n = void 0, t = void 0) {
|
|
2706
2706
|
e.tenant ? J(e, (i) => {
|
|
2707
2707
|
const s = i.services.find(
|
|
2708
2708
|
(a) => a.id === "3dpassport"
|
|
@@ -2722,7 +2722,7 @@ function Dt(e, n = void 0, t = void 0) {
|
|
|
2722
2722
|
});
|
|
2723
2723
|
}) : t && t("No tenant");
|
|
2724
2724
|
}
|
|
2725
|
-
function
|
|
2725
|
+
function Dt(e, n = void 0, t = void 0) {
|
|
2726
2726
|
if (e.tenant) {
|
|
2727
2727
|
const i = e.tenant.toLowerCase();
|
|
2728
2728
|
fetch(`https://api.uixhome.fr/${i}/iterop/jwtuser`, {
|
|
@@ -2770,7 +2770,10 @@ async function Jt(e, n, t, i = void 0, s = void 0) {
|
|
|
2770
2770
|
fetch(
|
|
2771
2771
|
`https://api.uixhome.fr/${r}/iterop/businesstable/rows/${t}/?t=${n}`,
|
|
2772
2772
|
{
|
|
2773
|
-
method: "POST"
|
|
2773
|
+
method: "POST",
|
|
2774
|
+
headers: {
|
|
2775
|
+
"Access-Control-Allow-Origin": "*"
|
|
2776
|
+
}
|
|
2774
2777
|
}
|
|
2775
2778
|
).then((o) => o.json()).then((o) => {
|
|
2776
2779
|
i && i(o);
|
|
@@ -3056,7 +3059,7 @@ export {
|
|
|
3056
3059
|
Je as _AppMngt_get_info_user,
|
|
3057
3060
|
Le as _AppMngt_get_users,
|
|
3058
3061
|
Mt as _Iterop_AddOrRemoveRows,
|
|
3059
|
-
|
|
3062
|
+
At as _Iterop_Auth_CAS,
|
|
3060
3063
|
qt as _Iterop_GetOneDependencyTable,
|
|
3061
3064
|
Vt as _Iterop_GetOneList,
|
|
3062
3065
|
Xt as _Iterop_PatchDependencyTable,
|
|
@@ -3066,15 +3069,15 @@ export {
|
|
|
3066
3069
|
Pt as _Iterop_getAllBusinessTables,
|
|
3067
3070
|
Lt as _Iterop_getOneBusinessTable,
|
|
3068
3071
|
Jt as _Iterop_getOneBusinessTableRows,
|
|
3069
|
-
|
|
3072
|
+
Dt as _Iterop_jwtUser,
|
|
3070
3073
|
Kt as _Iterop_runProcess,
|
|
3071
3074
|
Bt as _Iterop_updateBusinessTable,
|
|
3072
|
-
|
|
3075
|
+
De as _Registry_getServicesUrl,
|
|
3073
3076
|
ke as _getMe,
|
|
3074
3077
|
Z as _getPlateformInfos,
|
|
3075
3078
|
ve as _getPlatformServices,
|
|
3076
3079
|
J as _getServiceUrl,
|
|
3077
|
-
|
|
3080
|
+
Ae as _getServiceUrl_3DPassport,
|
|
3078
3081
|
kt as _getServiceUrl_Iterop,
|
|
3079
3082
|
m as _httpCallAuthenticated,
|
|
3080
3083
|
Re as _setDraggable,
|