@beam3_dev/api_module 0.0.110 → 0.0.111
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 +15 -15
- 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
|
@@ -393,7 +393,7 @@ function Ne(e, t, n, s = void 0, i = void 0) {
|
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function ve(e, t, n = void 0, s = void 0) {
|
|
397
397
|
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
398
398
|
f(o, {
|
|
399
399
|
opts: {
|
|
@@ -441,7 +441,7 @@ async function X(e, t = void 0, n = void 0, s = void 0) {
|
|
|
441
441
|
}
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function v(e, t = void 0, n = void 0) {
|
|
445
445
|
if (e.objID && e.objID !== "") {
|
|
446
446
|
let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
447
447
|
f(s, {
|
|
@@ -485,7 +485,7 @@ function T(e, t = void 0, n = void 0) {
|
|
|
485
485
|
}
|
|
486
486
|
function A(e, t = void 0, n = void 0) {
|
|
487
487
|
let s = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
488
|
-
|
|
488
|
+
v(
|
|
489
489
|
e,
|
|
490
490
|
(i) => {
|
|
491
491
|
f(s, {
|
|
@@ -507,7 +507,7 @@ function A(e, t = void 0, n = void 0) {
|
|
|
507
507
|
}
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function ke(e, t, n, s = void 0, i = void 0) {
|
|
511
511
|
const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
512
512
|
n || (n = e.token), f(r, {
|
|
513
513
|
method: "PUT",
|
|
@@ -530,7 +530,7 @@ function ve(e, t, n, s = void 0, i = void 0) {
|
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
532
|
function V(e, t, n, s, i, r = void 0, o = void 0) {
|
|
533
|
-
|
|
533
|
+
v(
|
|
534
534
|
e,
|
|
535
535
|
t,
|
|
536
536
|
(a) => {
|
|
@@ -622,7 +622,7 @@ async function Fe(e, t, n, s, i = void 0, r = void 0) {
|
|
|
622
622
|
data: d,
|
|
623
623
|
onComplete(C) {
|
|
624
624
|
if (c !== "" && a !== "") {
|
|
625
|
-
const
|
|
625
|
+
const k = {
|
|
626
626
|
method: "POST",
|
|
627
627
|
headers: {
|
|
628
628
|
ENO_CSRF_TOKEN: a,
|
|
@@ -653,7 +653,7 @@ async function Fe(e, t, n, s, i = void 0, r = void 0) {
|
|
|
653
653
|
onComplete: _,
|
|
654
654
|
onFailure: y
|
|
655
655
|
};
|
|
656
|
-
c !== "" && f(p.url_Post,
|
|
656
|
+
c !== "" && f(p.url_Post, k);
|
|
657
657
|
} else
|
|
658
658
|
console.warn("le store est vide");
|
|
659
659
|
},
|
|
@@ -662,9 +662,9 @@ async function Fe(e, t, n, s, i = void 0, r = void 0) {
|
|
|
662
662
|
function _(C) {
|
|
663
663
|
console.log("Success -- response ", C.data[0]), i && i(C);
|
|
664
664
|
}
|
|
665
|
-
function y(C,
|
|
665
|
+
function y(C, k) {
|
|
666
666
|
console.log("Erreur -- response ", C, `
|
|
667
|
-
headers `,
|
|
667
|
+
headers `, k), r && r(C);
|
|
668
668
|
}
|
|
669
669
|
f(h.ticketURL, S);
|
|
670
670
|
}
|
|
@@ -1122,7 +1122,7 @@ async function xe(e, t, n = void 0, s = void 0) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
function Me(e, t, n, s = void 0, i = void 0) {
|
|
1124
1124
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1125
|
-
|
|
1125
|
+
v(
|
|
1126
1126
|
e,
|
|
1127
1127
|
n,
|
|
1128
1128
|
(o) => {
|
|
@@ -1146,7 +1146,7 @@ function Me(e, t, n, s = void 0, i = void 0) {
|
|
|
1146
1146
|
let R, P;
|
|
1147
1147
|
const $ = [];
|
|
1148
1148
|
async function Le(e, t = void 0, n = void 0) {
|
|
1149
|
-
e.objID && e.objID !== "" ?
|
|
1149
|
+
e.objID && e.objID !== "" ? v(
|
|
1150
1150
|
e,
|
|
1151
1151
|
(s) => {
|
|
1152
1152
|
t && t(s);
|
|
@@ -1954,7 +1954,7 @@ function tt(e, t, n = void 0, s = void 0) {
|
|
|
1954
1954
|
function nt(e, t = void 0, n = void 0) {
|
|
1955
1955
|
e.tenant && E(e, (s) => {
|
|
1956
1956
|
console.log("serviceUrls", s);
|
|
1957
|
-
const i = s.find((a) => a.id === "3dpassport")?.url, r = s.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
1957
|
+
const i = s.services.find((a) => a.id === "3dpassport")?.url, r = s.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
1958
1958
|
f(o, {
|
|
1959
1959
|
onComplete(a, c) {
|
|
1960
1960
|
console.log("response", a), console.log("headers", c), t && t(c);
|
|
@@ -2058,8 +2058,8 @@ export {
|
|
|
2058
2058
|
B as _3DSpace_download_multidoc,
|
|
2059
2059
|
V as _3DSpace_file_update,
|
|
2060
2060
|
W as _3DSpace_file_update_csr,
|
|
2061
|
-
|
|
2062
|
-
|
|
2061
|
+
ke as _3DSpace_file_url_csr,
|
|
2062
|
+
v as _3DSpace_get_csrf,
|
|
2063
2063
|
X as _3DSpace_get_docInfo,
|
|
2064
2064
|
Y as _3DSpace_get_downloadTicket_multidoc,
|
|
2065
2065
|
b as _3DSpace_get_securityContexts,
|
|
@@ -2118,7 +2118,7 @@ export {
|
|
|
2118
2118
|
be as patchUserGroups,
|
|
2119
2119
|
Ne as patchUserGroupsControl,
|
|
2120
2120
|
Me as pushDataIn3DSpace,
|
|
2121
|
-
|
|
2121
|
+
ve as readUserGroupControl,
|
|
2122
2122
|
Ke as removeTagToDoc,
|
|
2123
2123
|
st as sayHello,
|
|
2124
2124
|
pe as updateEvent
|