@beam3_dev/api_module 0.0.318 → 0.0.319
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 +25 -25
- 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
|
@@ -406,7 +406,7 @@ function Ge(e, t = void 0, n = void 0) {
|
|
|
406
406
|
n(l);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Ke(e, t, n) {
|
|
410
410
|
const { base_url: s, lists_uri: i, currentUser: r } = e, o = {
|
|
411
411
|
"Content-Type": "application/json",
|
|
412
412
|
"Accept-Language": "fr"
|
|
@@ -426,14 +426,14 @@ function Ee(e, t, n) {
|
|
|
426
426
|
},
|
|
427
427
|
onFailure(u, p) {
|
|
428
428
|
const f = {
|
|
429
|
-
|
|
429
|
+
error: u,
|
|
430
430
|
msg: p,
|
|
431
431
|
fonction: "getUserGroupsByURIList()",
|
|
432
432
|
catch: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
|
|
433
433
|
cause: u
|
|
434
434
|
})
|
|
435
435
|
};
|
|
436
|
-
n(f);
|
|
436
|
+
n && n(f);
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
439
|
} catch (u) {
|
|
@@ -446,16 +446,16 @@ function Ee(e, t, n) {
|
|
|
446
446
|
cause: u
|
|
447
447
|
})
|
|
448
448
|
};
|
|
449
|
-
n(p);
|
|
449
|
+
n && n(p);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Be(e, t) {
|
|
453
453
|
const { space: n } = e, i = `${n}/3drdfpersist/resources/v1/usersgroup/${t}`;
|
|
454
454
|
m(i, {
|
|
455
455
|
method: "DELETE"
|
|
456
456
|
});
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Ee(e, t, n, s = void 0, i = void 0) {
|
|
459
459
|
const { space: r, tenant: o } = e, a = {
|
|
460
460
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
461
461
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -847,7 +847,7 @@ async function ze(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0)
|
|
|
847
847
|
try {
|
|
848
848
|
if (l = JSON.parse(l), l?.ticket) {
|
|
849
849
|
const { ticket: y, actionurl: S, jobticket: w } = l;
|
|
850
|
-
|
|
850
|
+
K(
|
|
851
851
|
{ dataelements: { ticket: y, ticketURL: S } },
|
|
852
852
|
n,
|
|
853
853
|
t,
|
|
@@ -949,7 +949,7 @@ async function Qe(e, t, n, s, i = void 0, r = void 0) {
|
|
|
949
949
|
e,
|
|
950
950
|
(o) => {
|
|
951
951
|
o?.items >= 1 && o.data.forEach((a) => {
|
|
952
|
-
|
|
952
|
+
K(
|
|
953
953
|
a,
|
|
954
954
|
t,
|
|
955
955
|
n,
|
|
@@ -1000,7 +1000,7 @@ function ae(e, t = void 0, n = void 0) {
|
|
|
1000
1000
|
} else
|
|
1001
1001
|
console.log("Error de credentials", e);
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function K(e, t, n, s = void 0, i = void 0, r = void 0) {
|
|
1004
1004
|
console.log("pushFileInFcs", { fcs__jobTicket: e, fileData: t, fileName: n });
|
|
1005
1005
|
let o = new FormData();
|
|
1006
1006
|
t instanceof Blob || (t = new Blob([t], {
|
|
@@ -1115,7 +1115,7 @@ function R(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
|
-
async function
|
|
1118
|
+
async function B(e, t = void 0, n = void 0) {
|
|
1119
1119
|
return (!e.objID || e.objID === "") && (console.warn(
|
|
1120
1120
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
1121
1121
|
), n && n(
|
|
@@ -1614,7 +1614,7 @@ function ut(e, t, n, s = void 0, i = void 0) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
);
|
|
1616
1616
|
}
|
|
1617
|
-
let
|
|
1617
|
+
let E, q;
|
|
1618
1618
|
const A = [];
|
|
1619
1619
|
async function pt(e, t = void 0, n = void 0) {
|
|
1620
1620
|
e.objID && e.objID !== "" ? N(
|
|
@@ -1636,7 +1636,7 @@ async function pt(e, t = void 0, n = void 0) {
|
|
|
1636
1636
|
);
|
|
1637
1637
|
}
|
|
1638
1638
|
async function lt(e, t = void 0, n = void 0) {
|
|
1639
|
-
console.log("getDatasByTenant (getDocuments)", e), await
|
|
1639
|
+
console.log("getDatasByTenant (getDocuments)", e), await B(
|
|
1640
1640
|
e,
|
|
1641
1641
|
(s) => {
|
|
1642
1642
|
const i = {};
|
|
@@ -1654,11 +1654,11 @@ function ft(e, t = void 0, n = void 0) {
|
|
|
1654
1654
|
return;
|
|
1655
1655
|
}
|
|
1656
1656
|
e.objIds.forEach((i, r) => {
|
|
1657
|
-
|
|
1657
|
+
B(
|
|
1658
1658
|
e,
|
|
1659
1659
|
i.objID,
|
|
1660
1660
|
(o) => {
|
|
1661
|
-
s.push({ [i.name]: o }), i.name === "dbProjets" && (
|
|
1661
|
+
s.push({ [i.name]: o }), i.name === "dbProjets" && (E = o.affaires.map((a) => a.objectID), pe(e, q)), r === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
|
|
1662
1662
|
}
|
|
1663
1663
|
);
|
|
1664
1664
|
});
|
|
@@ -1666,7 +1666,7 @@ function ft(e, t = void 0, n = void 0) {
|
|
|
1666
1666
|
function pe(e, t, n = void 0, s = void 0) {
|
|
1667
1667
|
ce(
|
|
1668
1668
|
e,
|
|
1669
|
-
|
|
1669
|
+
E,
|
|
1670
1670
|
(i) => {
|
|
1671
1671
|
const r = [...t];
|
|
1672
1672
|
r.find((o) => o.objectID === i.objectId).data = i.data, q = r, A.push(i.data), n && n(A);
|
|
@@ -2780,7 +2780,7 @@ async function Gt(e, t, n, s = void 0, i = void 0) {
|
|
|
2780
2780
|
});
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
|
-
async function
|
|
2783
|
+
async function Kt(e, t, n, s, i = void 0, r = void 0) {
|
|
2784
2784
|
if (e.tenant) {
|
|
2785
2785
|
const o = e.tenant.toLowerCase();
|
|
2786
2786
|
fetch(
|
|
@@ -2795,7 +2795,7 @@ async function Et(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2795
2795
|
});
|
|
2796
2796
|
}
|
|
2797
2797
|
}
|
|
2798
|
-
async function
|
|
2798
|
+
async function Bt(e, t, n, s = void 0, i = void 0) {
|
|
2799
2799
|
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
2800
2800
|
const r = e.tenant.toLowerCase();
|
|
2801
2801
|
fetch(
|
|
@@ -2810,7 +2810,7 @@ async function Kt(e, t, n, s = void 0, i = void 0) {
|
|
|
2810
2810
|
});
|
|
2811
2811
|
}
|
|
2812
2812
|
}
|
|
2813
|
-
async function
|
|
2813
|
+
async function Et(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2814
2814
|
if (e.tenant) {
|
|
2815
2815
|
const a = e.tenant.toLowerCase();
|
|
2816
2816
|
fetch(
|
|
@@ -2949,7 +2949,7 @@ export {
|
|
|
2949
2949
|
at as _3DSpace_bookmark_addSubsciptions,
|
|
2950
2950
|
ot as _3DSpace_bookmark_newWorkspace,
|
|
2951
2951
|
b as _3DSpace_csrf,
|
|
2952
|
-
|
|
2952
|
+
B as _3DSpace_download_doc,
|
|
2953
2953
|
ce as _3DSpace_download_multidoc,
|
|
2954
2954
|
G as _3DSpace_file_update,
|
|
2955
2955
|
oe as _3DSpace_file_update_csr,
|
|
@@ -2990,9 +2990,9 @@ export {
|
|
|
2990
2990
|
Pe as _AppMngt_get_users,
|
|
2991
2991
|
Lt as _Iterop_AddOrRemoveRows,
|
|
2992
2992
|
kt as _Iterop_Auth_CAS,
|
|
2993
|
-
|
|
2993
|
+
Bt as _Iterop_GetOneDependencyTable,
|
|
2994
2994
|
Xt as _Iterop_GetOneList,
|
|
2995
|
-
|
|
2995
|
+
Et as _Iterop_PatchDependencyTable,
|
|
2996
2996
|
qt as _Iterop_PutDependencyTable,
|
|
2997
2997
|
Mt as _Iterop_businessTableSearchInRows,
|
|
2998
2998
|
Gt as _Iterop_createBusinessTable,
|
|
@@ -3000,7 +3000,7 @@ export {
|
|
|
3000
3000
|
At as _Iterop_getOneBusinessTable,
|
|
3001
3001
|
Pt as _Iterop_getOneBusinessTableRows,
|
|
3002
3002
|
Dt as _Iterop_jwtUser,
|
|
3003
|
-
|
|
3003
|
+
Kt as _Iterop_runProcess,
|
|
3004
3004
|
Jt as _Iterop_updateBusinessTable,
|
|
3005
3005
|
De as _getMe,
|
|
3006
3006
|
Z as _getPlateformInfos,
|
|
@@ -3018,7 +3018,7 @@ export {
|
|
|
3018
3018
|
z as couleurs,
|
|
3019
3019
|
Me as createUserGroups,
|
|
3020
3020
|
pe as dataMixing,
|
|
3021
|
-
|
|
3021
|
+
Be as deleteUserGroups,
|
|
3022
3022
|
xe as findAdresse,
|
|
3023
3023
|
rt as getAllContextSecurity,
|
|
3024
3024
|
te as getCSRFToken,
|
|
@@ -3030,11 +3030,11 @@ export {
|
|
|
3030
3030
|
ft as getDatasFrom3DSpace,
|
|
3031
3031
|
dt as getDownloadDocument,
|
|
3032
3032
|
ht as getInfoDocTags,
|
|
3033
|
-
|
|
3033
|
+
Ke as getUserGroupsByURIList,
|
|
3034
3034
|
Ge as getUserGroupsList,
|
|
3035
3035
|
ee as getUsersGroupRules,
|
|
3036
3036
|
pt as get_3DSpace_csrf,
|
|
3037
|
-
|
|
3037
|
+
Ee as patchUserGroups,
|
|
3038
3038
|
qe as patchUserGroupsControl,
|
|
3039
3039
|
ut as pushDataIn3DSpace,
|
|
3040
3040
|
Xe as readUserGroupControl,
|