@beam3_dev/api_module 0.0.251 → 0.0.254
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 +94 -114
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v4 as E } from "uuid";
|
|
2
|
-
import { DateTime as
|
|
3
|
-
import { requirejs as
|
|
2
|
+
import { DateTime as O } from "luxon";
|
|
3
|
+
import { requirejs as $, widget as x } from "@widget-lab/3ddashboard-utils";
|
|
4
4
|
function B() {
|
|
5
5
|
return E();
|
|
6
6
|
}
|
|
@@ -66,7 +66,7 @@ async function _e(e, t = void 0, n = void 0) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
async function we(e, t = W) {
|
|
69
|
-
let n =
|
|
69
|
+
let n = O.now().year;
|
|
70
70
|
const s = e, i = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
72
72
|
i.push({ date: c, comment: a[c] });
|
|
@@ -89,11 +89,11 @@ async function we(e, t = W) {
|
|
|
89
89
|
} : s;
|
|
90
90
|
for (let c of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
|
-
(u) => u.start ===
|
|
92
|
+
(u) => u.start === O.fromISO(c.date).toISODate() && u.name === "Férié : " + c.comment
|
|
93
93
|
) === -1 && a.events.push({
|
|
94
94
|
name: "Férié : " + c.comment,
|
|
95
|
-
start:
|
|
96
|
-
end:
|
|
95
|
+
start: O.fromISO(c.date).toISODate(),
|
|
96
|
+
end: O.fromISO(c.date).toISODate(),
|
|
97
97
|
color: t.b3BusinnessDays,
|
|
98
98
|
timed: !1
|
|
99
99
|
});
|
|
@@ -139,12 +139,12 @@ async function Ce(e, t, n = !0) {
|
|
|
139
139
|
return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
|
|
140
140
|
}
|
|
141
141
|
function m(e, t) {
|
|
142
|
-
|
|
142
|
+
$(["DS/WAFData/WAFData"], (n) => {
|
|
143
143
|
n.authenticatedRequest(e, t);
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
function Te(e, t, n) {
|
|
147
|
-
|
|
147
|
+
$(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
148
148
|
s.draggable(e, {
|
|
149
149
|
data: t,
|
|
150
150
|
start: n
|
|
@@ -152,26 +152,26 @@ function Te(e, t, n) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
function be(e, t = void 0) {
|
|
155
|
-
|
|
155
|
+
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
|
|
156
156
|
let s;
|
|
157
157
|
s === void 0 && (s = n.createProxy({
|
|
158
|
-
widgetId:
|
|
158
|
+
widgetId: x.id,
|
|
159
159
|
filteringMode: "WithFilteringServices"
|
|
160
160
|
}), t !== void 0 && s.addEvent("onFilterSubjectsChange", t)), s.setSubjectsTags(e);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function Oe(e, t) {
|
|
164
|
-
|
|
164
|
+
$(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
165
165
|
n.droppable(e, {
|
|
166
166
|
drop: t
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
async function $e(e, t = void 0, n = void 0) {
|
|
171
|
-
await
|
|
171
|
+
await $(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
173
|
(s) => {
|
|
174
|
-
(!e || e === "") && (e =
|
|
174
|
+
(!e || e === "") && (e = x.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
175
175
|
s.getPlatformServices({
|
|
176
176
|
platformId: e,
|
|
177
177
|
onComplete: t,
|
|
@@ -183,7 +183,7 @@ async function $e(e, t = void 0, n = void 0) {
|
|
|
183
183
|
}
|
|
184
184
|
function Y() {
|
|
185
185
|
let e = {};
|
|
186
|
-
return
|
|
186
|
+
return $(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
187
187
|
const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
188
188
|
"com.3ds.wp.passport.cors"
|
|
189
189
|
);
|
|
@@ -195,7 +195,7 @@ function Y() {
|
|
|
195
195
|
};
|
|
196
196
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function P(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, {
|
|
@@ -258,7 +258,7 @@ function Ie(e, t, n) {
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Fe(e, t = void 0, n = void 0) {
|
|
262
262
|
let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
263
263
|
m(s, {
|
|
264
264
|
onComplete(i, r, o) {
|
|
@@ -271,7 +271,7 @@ function ve(e, t = void 0, n = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function je(e, t, n = void 0, s = 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) {
|
|
@@ -288,7 +288,7 @@ const k = {
|
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function ke(e, t, n = void 0, s = void 0) {
|
|
292
292
|
const { space: i, currentUser: r } = e, a = `${i}${{
|
|
293
293
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
294
294
|
}.URIUGr}`, c = {
|
|
@@ -317,7 +317,7 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ae(e, t, n = void 0, s = void 0) {
|
|
321
321
|
const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
|
|
322
322
|
m(d, {
|
|
323
323
|
opts: {
|
|
@@ -352,7 +352,7 @@ function q(e, t = void 0, n = void 0) {
|
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function ve(e, t = void 0, n = void 0) {
|
|
356
356
|
const { space: s, currentUser: i } = e, a = `${s}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
|
|
357
357
|
"Content-Type": "application/json",
|
|
358
358
|
Accept: "application/json,text/javascript,*/*"
|
|
@@ -458,7 +458,7 @@ async function H(e, t, n) {
|
|
|
458
458
|
});
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var I = {};
|
|
462
462
|
function z(e, t) {
|
|
463
463
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
464
464
|
}
|
|
@@ -478,7 +478,7 @@ var Q = function(e, t, n, s) {
|
|
|
478
478
|
u >= 0 ? (p = d.substr(0, u), f = d.substr(u + 1)) : (p = d, f = ""), l = decodeURIComponent(p), g = decodeURIComponent(f), z(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
|
|
479
479
|
}
|
|
480
480
|
return i;
|
|
481
|
-
},
|
|
481
|
+
}, N = function(e) {
|
|
482
482
|
switch (typeof e) {
|
|
483
483
|
case "string":
|
|
484
484
|
return e;
|
|
@@ -491,14 +491,14 @@ var Q = function(e, t, n, s) {
|
|
|
491
491
|
}
|
|
492
492
|
}, Z = function(e, t, n, s) {
|
|
493
493
|
return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
|
|
494
|
-
var r = encodeURIComponent(
|
|
494
|
+
var r = encodeURIComponent(N(i)) + n;
|
|
495
495
|
return Array.isArray(e[i]) ? e[i].map(function(o) {
|
|
496
|
-
return r + encodeURIComponent(
|
|
497
|
-
}).join(t) : r + encodeURIComponent(
|
|
498
|
-
}).filter(Boolean).join(t) : s ? encodeURIComponent(
|
|
496
|
+
return r + encodeURIComponent(N(o));
|
|
497
|
+
}).join(t) : r + encodeURIComponent(N(e[i]));
|
|
498
|
+
}).filter(Boolean).join(t) : s ? encodeURIComponent(N(s)) + n + encodeURIComponent(N(e)) : "";
|
|
499
499
|
};
|
|
500
|
-
|
|
501
|
-
|
|
500
|
+
I.decode = I.parse = Q;
|
|
501
|
+
I.encode = I.stringify = Z;
|
|
502
502
|
async function R(e, t = void 0, n = void 0, s = void 0) {
|
|
503
503
|
const i = e.space;
|
|
504
504
|
if (t === void 0) {
|
|
@@ -522,7 +522,7 @@ async function De(e, t = void 0, n = void 0, s = void 0) {
|
|
|
522
522
|
console.log("Le paramètre docids est obligatoire");
|
|
523
523
|
return;
|
|
524
524
|
}
|
|
525
|
-
let r = `${i}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o =
|
|
525
|
+
let r = `${i}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = I.stringify({
|
|
526
526
|
$ids: t.toString().replace('"', "").replace("[", "").replace("]", "")
|
|
527
527
|
});
|
|
528
528
|
m(r, {
|
|
@@ -806,7 +806,7 @@ function ne(e, t, n, s = void 0, i = void 0) {
|
|
|
806
806
|
function se(e, t, n, s = void 0, i = void 0, r = void 0) {
|
|
807
807
|
console.log("relatedDocAndFile", { credentials: e, receipt: t, filename: n });
|
|
808
808
|
const o = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
|
|
809
|
-
let a = "temp_" +
|
|
809
|
+
let a = "temp_" + O.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
|
|
810
810
|
m(c, {
|
|
811
811
|
method: "POST",
|
|
812
812
|
headers: {
|
|
@@ -1347,7 +1347,7 @@ function ze(e, t, n, s = void 0, i = void 0) {
|
|
|
1347
1347
|
);
|
|
1348
1348
|
}
|
|
1349
1349
|
let M, J;
|
|
1350
|
-
const
|
|
1350
|
+
const v = [];
|
|
1351
1351
|
async function Qe(e, t = void 0, n = void 0) {
|
|
1352
1352
|
e.objID && e.objID !== "" ? F(
|
|
1353
1353
|
e,
|
|
@@ -1401,7 +1401,7 @@ function oe(e, t, n = void 0, s = void 0) {
|
|
|
1401
1401
|
M,
|
|
1402
1402
|
(i) => {
|
|
1403
1403
|
const r = [...t];
|
|
1404
|
-
r.find((o) => o.objectID === i.objectId).data = i.data, J = r,
|
|
1404
|
+
r.find((o) => o.objectID === i.objectId).data = i.data, J = r, v.push(i.data), n && n(v);
|
|
1405
1405
|
},
|
|
1406
1406
|
(i) => {
|
|
1407
1407
|
s && (s(i), console.log(i));
|
|
@@ -1811,7 +1811,7 @@ function ct(e, t, n = void 0, s = void 0) {
|
|
|
1811
1811
|
le(
|
|
1812
1812
|
c.users,
|
|
1813
1813
|
(p) => {
|
|
1814
|
-
p !== void 0 && (d.id_msg = p.id, u = !0,
|
|
1814
|
+
p !== void 0 && (d.id_msg = p.id, u = !0, U(e, d));
|
|
1815
1815
|
},
|
|
1816
1816
|
(p) => {
|
|
1817
1817
|
u = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), s && s(p), d.id_msg = "";
|
|
@@ -1829,7 +1829,7 @@ function ct(e, t, n = void 0, s = void 0) {
|
|
|
1829
1829
|
type: "json",
|
|
1830
1830
|
onComplete(f, l, g) {
|
|
1831
1831
|
const h = f;
|
|
1832
|
-
h.reponse = JSON.parse(g.response), h.status = g.status, n && n(h), d.id_msg = h.result.id,
|
|
1832
|
+
h.reponse = JSON.parse(g.response), h.status = g.status, n && n(h), d.id_msg = h.result.id, U(e, d);
|
|
1833
1833
|
},
|
|
1834
1834
|
onFailure(f, l, g) {
|
|
1835
1835
|
const h = f;
|
|
@@ -1868,7 +1868,7 @@ function le(e, t, n, s) {
|
|
|
1868
1868
|
});
|
|
1869
1869
|
});
|
|
1870
1870
|
}
|
|
1871
|
-
function
|
|
1871
|
+
function U(e, t, n = void 0, s = void 0) {
|
|
1872
1872
|
const i = {
|
|
1873
1873
|
base: e._3DSwym,
|
|
1874
1874
|
uri: "/api/community",
|
|
@@ -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 && P(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 && P(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`;
|
|
@@ -2387,21 +2387,6 @@ function Ct(e, t = void 0, n = void 0) {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
2389
|
async function Tt(e, t, n = void 0, s = void 0) {
|
|
2390
|
-
e.tenant && O(e, (i) => {
|
|
2391
|
-
const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
|
|
2392
|
-
fetch(
|
|
2393
|
-
`https://api.uixhome.fr/${a}/iterop/listusers?t=${t}&s=${o}`,
|
|
2394
|
-
{
|
|
2395
|
-
method: "POST"
|
|
2396
|
-
}
|
|
2397
|
-
).then((c) => c.json()).then((c) => {
|
|
2398
|
-
n && n(c);
|
|
2399
|
-
}).catch((c) => {
|
|
2400
|
-
s && s(c);
|
|
2401
|
-
});
|
|
2402
|
-
});
|
|
2403
|
-
}
|
|
2404
|
-
async function bt(e, t, n = void 0, s = void 0) {
|
|
2405
2390
|
if (e.tenant) {
|
|
2406
2391
|
const i = e.tenant.toLowerCase();
|
|
2407
2392
|
fetch(
|
|
@@ -2416,7 +2401,7 @@ async function bt(e, t, n = void 0, s = void 0) {
|
|
|
2416
2401
|
});
|
|
2417
2402
|
}
|
|
2418
2403
|
}
|
|
2419
|
-
async function
|
|
2404
|
+
async function bt(e, t, n, s = void 0, i = void 0) {
|
|
2420
2405
|
if (e.tenant) {
|
|
2421
2406
|
const r = e.tenant.toLowerCase();
|
|
2422
2407
|
fetch(
|
|
@@ -2431,7 +2416,7 @@ async function Ot(e, t, n, s = void 0, i = void 0) {
|
|
|
2431
2416
|
});
|
|
2432
2417
|
}
|
|
2433
2418
|
}
|
|
2434
|
-
async function
|
|
2419
|
+
async function Ot(e, t, n, s = void 0, i = void 0) {
|
|
2435
2420
|
if (e.tenant) {
|
|
2436
2421
|
const r = e.tenant.toLowerCase();
|
|
2437
2422
|
fetch(
|
|
@@ -2446,7 +2431,7 @@ async function $t(e, t, n, s = void 0, i = void 0) {
|
|
|
2446
2431
|
});
|
|
2447
2432
|
}
|
|
2448
2433
|
}
|
|
2449
|
-
async function
|
|
2434
|
+
async function $t(e, t, n, s, i = void 0, r = void 0) {
|
|
2450
2435
|
if (e.tenant) {
|
|
2451
2436
|
const o = e.tenant.toLowerCase();
|
|
2452
2437
|
fetch(
|
|
@@ -2461,7 +2446,7 @@ async function Nt(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2461
2446
|
});
|
|
2462
2447
|
}
|
|
2463
2448
|
}
|
|
2464
|
-
async function
|
|
2449
|
+
async function Nt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2465
2450
|
if (e.tenant) {
|
|
2466
2451
|
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${n}?t=${t}&c=${encodeURIComponent(
|
|
2467
2452
|
s
|
|
@@ -2480,7 +2465,7 @@ async function It(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2480
2465
|
});
|
|
2481
2466
|
}
|
|
2482
2467
|
}
|
|
2483
|
-
async function
|
|
2468
|
+
async function It(e, t, n, s, i = void 0, r = void 0) {
|
|
2484
2469
|
if (e.tenant) {
|
|
2485
2470
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${n}?t=${t}&b=${encodeURIComponent(
|
|
2486
2471
|
s
|
|
@@ -2498,71 +2483,67 @@ async function vt(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2498
2483
|
}
|
|
2499
2484
|
}
|
|
2500
2485
|
async function Ft(e, t, n, s, i = void 0, r = void 0) {
|
|
2501
|
-
e.tenant
|
|
2502
|
-
o.
|
|
2503
|
-
const a = e.tenant.toLowerCase();
|
|
2486
|
+
if (e.tenant) {
|
|
2487
|
+
const o = e.tenant.toLowerCase();
|
|
2504
2488
|
fetch(
|
|
2505
|
-
`https://api.uixhome.fr/${
|
|
2489
|
+
`https://api.uixhome.fr/${o}/iterop/runtime/processes/${n}?t=${t}&b=${s}`,
|
|
2506
2490
|
{
|
|
2507
2491
|
method: "POST"
|
|
2508
2492
|
}
|
|
2509
|
-
).then((
|
|
2510
|
-
i && i(
|
|
2511
|
-
}).catch((
|
|
2512
|
-
r && r(
|
|
2493
|
+
).then((a) => a.json()).then((a) => {
|
|
2494
|
+
console.log("_Iterop_runProcess : OK"), i && i(a);
|
|
2495
|
+
}).catch((a) => {
|
|
2496
|
+
r && r(a);
|
|
2513
2497
|
});
|
|
2514
|
-
}
|
|
2498
|
+
}
|
|
2515
2499
|
}
|
|
2516
2500
|
async function jt(e, t, n, s = void 0, i = void 0) {
|
|
2517
|
-
e.tenant
|
|
2518
|
-
r.
|
|
2519
|
-
const o = e.tenant.toLowerCase();
|
|
2501
|
+
if (e.tenant) {
|
|
2502
|
+
const r = e.tenant.toLowerCase();
|
|
2520
2503
|
fetch(
|
|
2521
|
-
`https://api.uixhome.fr/${
|
|
2504
|
+
`https://api.uixhome.fr/${r}/iterop/dependencytable/one/${n}/?t=${t}`,
|
|
2522
2505
|
{
|
|
2523
2506
|
method: "POST"
|
|
2524
2507
|
}
|
|
2525
|
-
).then((
|
|
2526
|
-
s && s(
|
|
2527
|
-
}).catch((
|
|
2528
|
-
i && i(
|
|
2508
|
+
).then((o) => o.json()).then((o) => {
|
|
2509
|
+
s && s(o);
|
|
2510
|
+
}).catch((o) => {
|
|
2511
|
+
i && i(o);
|
|
2529
2512
|
});
|
|
2530
|
-
}
|
|
2513
|
+
}
|
|
2531
2514
|
}
|
|
2532
2515
|
async function kt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2533
|
-
e.tenant
|
|
2534
|
-
a.
|
|
2535
|
-
const c = e.tenant.toLowerCase();
|
|
2516
|
+
if (e.tenant) {
|
|
2517
|
+
const a = e.tenant.toLowerCase();
|
|
2536
2518
|
fetch(
|
|
2537
|
-
`https://api.uixhome.fr/${
|
|
2519
|
+
`https://api.uixhome.fr/${a}/iterop/dependencytable/patch/${n}/?t=${t}&cli=${s}&b=${i}`,
|
|
2538
2520
|
{
|
|
2539
2521
|
method: "POST"
|
|
2540
2522
|
}
|
|
2541
|
-
).then((
|
|
2542
|
-
r && r(
|
|
2543
|
-
}).catch((
|
|
2544
|
-
o && o(
|
|
2523
|
+
).then((c) => c.json()).then((c) => {
|
|
2524
|
+
r && r(c);
|
|
2525
|
+
}).catch((c) => {
|
|
2526
|
+
o && o(c);
|
|
2545
2527
|
});
|
|
2546
|
-
}
|
|
2528
|
+
}
|
|
2547
2529
|
}
|
|
2548
2530
|
async function At(e, t, n, s, i = void 0, r = void 0) {
|
|
2549
|
-
e.tenant
|
|
2550
|
-
o.
|
|
2551
|
-
const a = e.tenant.toLowerCase();
|
|
2531
|
+
if (e.tenant) {
|
|
2532
|
+
const o = e.tenant.toLowerCase();
|
|
2552
2533
|
fetch(
|
|
2553
|
-
`https://api.uixhome.fr/${
|
|
2534
|
+
`https://api.uixhome.fr/${o}/iterop/dependencytable/put/${n}/?t=${t}&b=${s}`,
|
|
2554
2535
|
{
|
|
2555
2536
|
method: "POST"
|
|
2556
2537
|
}
|
|
2557
|
-
).then((
|
|
2558
|
-
i && i(
|
|
2559
|
-
}).catch((
|
|
2560
|
-
r && r(
|
|
2538
|
+
).then((a) => a.json()).then((a) => {
|
|
2539
|
+
i && i(a);
|
|
2540
|
+
}).catch((a) => {
|
|
2541
|
+
r && r(a);
|
|
2561
2542
|
});
|
|
2562
|
-
}
|
|
2543
|
+
}
|
|
2563
2544
|
}
|
|
2564
2545
|
//!SECTION
|
|
2565
|
-
async function
|
|
2546
|
+
async function vt(e, t, n, s = void 0, i = void 0) {
|
|
2566
2547
|
if (e.tenant) {
|
|
2567
2548
|
const r = e.tenant.toLowerCase();
|
|
2568
2549
|
fetch(
|
|
@@ -2578,11 +2559,11 @@ async function Ut(e, t, n, s = void 0, i = void 0) {
|
|
|
2578
2559
|
}
|
|
2579
2560
|
}
|
|
2580
2561
|
//!SECTION
|
|
2581
|
-
function
|
|
2562
|
+
function Ut(e) {
|
|
2582
2563
|
const t = "Hello " + e;
|
|
2583
2564
|
return console.log(t), t;
|
|
2584
2565
|
}
|
|
2585
|
-
function
|
|
2566
|
+
function xt(e, t = void 0, n = void 0) {
|
|
2586
2567
|
return console.log("credentials", e), new Promise((s) => {
|
|
2587
2568
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2588
2569
|
const o = Y();
|
|
@@ -2599,7 +2580,7 @@ function Pt(e, t = void 0, n = void 0) {
|
|
|
2599
2580
|
},
|
|
2600
2581
|
!0
|
|
2601
2582
|
);
|
|
2602
|
-
const i =
|
|
2583
|
+
const i = O.now().ts, r = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
|
|
2603
2584
|
m(r, {
|
|
2604
2585
|
onComplete(o) {
|
|
2605
2586
|
if (Array.isArray(JSON.parse(o))) {
|
|
@@ -2663,7 +2644,7 @@ function Pt(e, t = void 0, n = void 0) {
|
|
|
2663
2644
|
}
|
|
2664
2645
|
export {
|
|
2665
2646
|
B as UUID,
|
|
2666
|
-
|
|
2647
|
+
xt as _3DSearch_usersGroup,
|
|
2667
2648
|
Je as _3DSpace_Create_Doc,
|
|
2668
2649
|
Me as _3DSpace_Update_Doc,
|
|
2669
2650
|
Ve as _3DSpace_bookmark_addSubsciptions,
|
|
@@ -2703,26 +2684,25 @@ export {
|
|
|
2703
2684
|
yt as _3DSwym_get_findUser,
|
|
2704
2685
|
ut as _3DSwym_postIdea,
|
|
2705
2686
|
dt as _3DSwym_postIdeaTemplate,
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2687
|
+
U as _3DSwym_sendMessageData,
|
|
2688
|
+
je as _AppMngt_get_info_user,
|
|
2689
|
+
Fe as _AppMngt_get_users,
|
|
2690
|
+
$t as _Iterop_AddOrRemoveRows,
|
|
2710
2691
|
wt as _Iterop_Auth_CAS,
|
|
2711
2692
|
jt as _Iterop_GetOneDependencyTable,
|
|
2712
|
-
|
|
2713
|
-
Tt as _Iterop_ListUsers,
|
|
2693
|
+
vt as _Iterop_GetOneList,
|
|
2714
2694
|
kt as _Iterop_PatchDependencyTable,
|
|
2715
2695
|
At as _Iterop_PutDependencyTable,
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2696
|
+
Nt as _Iterop_businessTableSearchInRows,
|
|
2697
|
+
Tt as _Iterop_getAllBusinessTables,
|
|
2698
|
+
bt as _Iterop_getOneBusinessTable,
|
|
2699
|
+
Ot as _Iterop_getOneBusinessTableRows,
|
|
2720
2700
|
Ct as _Iterop_jwtUser,
|
|
2721
2701
|
Ft as _Iterop_runProcess,
|
|
2722
|
-
|
|
2702
|
+
It as _Iterop_updateBusinessTable,
|
|
2723
2703
|
Y as _getPlateformInfos,
|
|
2724
2704
|
$e as _getPlatformServices,
|
|
2725
|
-
|
|
2705
|
+
P as _getServiceUrl,
|
|
2726
2706
|
Ne as _getServiceUrl_3DPassport,
|
|
2727
2707
|
_t as _getServiceUrl_Iterop,
|
|
2728
2708
|
m as _httpCallAuthenticated,
|
|
@@ -2733,21 +2713,21 @@ export {
|
|
|
2733
2713
|
X as chunkArray,
|
|
2734
2714
|
Ie as compass_getListAdditionalApps,
|
|
2735
2715
|
W as couleurs,
|
|
2736
|
-
|
|
2716
|
+
ke as createUserGroups,
|
|
2737
2717
|
oe as dataMixing,
|
|
2738
2718
|
Ue as deleteUserGroups,
|
|
2739
2719
|
_e as findAdresse,
|
|
2740
2720
|
Ye as getAllContextSecurity,
|
|
2741
2721
|
H as getCSRFToken,
|
|
2742
2722
|
Se as getCommunes,
|
|
2743
|
-
|
|
2723
|
+
Ae as getComplementUG,
|
|
2744
2724
|
qe as getDataFrom3DSpace,
|
|
2745
2725
|
we as getDataFromGouvFr,
|
|
2746
2726
|
Ze as getDatasByTenant,
|
|
2747
2727
|
et as getDatasFrom3DSpace,
|
|
2748
2728
|
He as getDownloadDocument,
|
|
2749
2729
|
st as getInfoDocTags,
|
|
2750
|
-
|
|
2730
|
+
ve as getUserGroupsList,
|
|
2751
2731
|
q as getUsersGroupRules,
|
|
2752
2732
|
Qe as get_3DSpace_csrf,
|
|
2753
2733
|
xe as patchUserGroups,
|
|
@@ -2755,7 +2735,7 @@ export {
|
|
|
2755
2735
|
ze as pushDataIn3DSpace,
|
|
2756
2736
|
Re as readUserGroupControl,
|
|
2757
2737
|
nt as removeTagToDoc,
|
|
2758
|
-
|
|
2738
|
+
Ut as sayHello,
|
|
2759
2739
|
Ce as updateEvent
|
|
2760
2740
|
};
|
|
2761
2741
|
//# sourceMappingURL=wb3Api.js.map
|