@beam3_dev/api_module 0.0.51 → 0.0.52
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 +259 -247
- 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
|
@@ -34,7 +34,7 @@ const L = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function
|
|
37
|
+
async function ie(e, t = void 0, n = void 0) {
|
|
38
38
|
const s = parseInt(e);
|
|
39
39
|
await fetch(
|
|
40
40
|
"https://apicarto.ign.fr/api/codes-postaux/communes/" + s,
|
|
@@ -44,13 +44,13 @@ async function oe(e, t = void 0, n = void 0) {
|
|
|
44
44
|
Accept: "application/json"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
).then((
|
|
48
|
-
t && t(
|
|
49
|
-
}).catch((
|
|
50
|
-
n && n(
|
|
47
|
+
).then((i) => i.json()).then((i) => {
|
|
48
|
+
t && t(i);
|
|
49
|
+
}).catch((i) => {
|
|
50
|
+
n && n(i), console.error("Erreur : " + i);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function
|
|
53
|
+
async function oe(e, t = void 0, n = void 0) {
|
|
54
54
|
e = encodeURIComponent(e), await fetch(
|
|
55
55
|
"https://api-adresse.data.gouv.fr/search/?q=" + e + "&limit=15",
|
|
56
56
|
{
|
|
@@ -67,9 +67,9 @@ async function ie(e, t = void 0, n = void 0) {
|
|
|
67
67
|
}
|
|
68
68
|
async function re(e, t = L) {
|
|
69
69
|
let n = b.now().year;
|
|
70
|
-
const s = e,
|
|
70
|
+
const s = e, i = [], c = (a) => {
|
|
71
71
|
for (let r in a)
|
|
72
|
-
|
|
72
|
+
i.push({ date: r, comment: a[r] });
|
|
73
73
|
};
|
|
74
74
|
for (let a = n; a <= n + 1; a++)
|
|
75
75
|
await fetch(
|
|
@@ -87,7 +87,7 @@ async function re(e, t = L) {
|
|
|
87
87
|
const a = s.length === 0 ? {
|
|
88
88
|
events: []
|
|
89
89
|
} : s;
|
|
90
|
-
for (let r of
|
|
90
|
+
for (let r of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
92
|
(l) => l.start === b.fromISO(r.date).toISODate() && l.name === "Férié : " + r.comment
|
|
93
93
|
) === -1 && a.events.push({
|
|
@@ -101,8 +101,8 @@ async function re(e, t = L) {
|
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
103
|
async function ce(e, t, n = !0) {
|
|
104
|
-
const s = e.events.findIndex((
|
|
105
|
-
return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((
|
|
104
|
+
const s = e.events.findIndex((i) => i.uuid === t.uuid);
|
|
105
|
+
return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, c) => i.start - c.start), e;
|
|
106
106
|
}
|
|
107
107
|
function f(e, t) {
|
|
108
108
|
O(["DS/WAFData/WAFData"], (n) => {
|
|
@@ -145,13 +145,13 @@ async function ue(e, t = void 0, n = void 0) {
|
|
|
145
145
|
function fe() {
|
|
146
146
|
let e = {};
|
|
147
147
|
return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
148
|
-
const n = t.getTenant(), s = t.getUser(),
|
|
148
|
+
const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.getApplicationConfiguration(
|
|
149
149
|
"com.3ds.wp.passport.cors"
|
|
150
150
|
);
|
|
151
151
|
e = {
|
|
152
152
|
tenant: n,
|
|
153
153
|
user: s,
|
|
154
|
-
appsConfiguration:
|
|
154
|
+
appsConfiguration: i,
|
|
155
155
|
appConf: c
|
|
156
156
|
};
|
|
157
157
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
@@ -162,49 +162,49 @@ function me(e, t, n) {
|
|
|
162
162
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
163
163
|
option: `?filter=${e.tenant}`
|
|
164
164
|
// facultatif
|
|
165
|
-
},
|
|
166
|
-
f(
|
|
165
|
+
}, i = `${s.base}${s.uri}${s.option}`;
|
|
166
|
+
f(i, {
|
|
167
167
|
method: "GET",
|
|
168
168
|
headers: {
|
|
169
169
|
"Content-Type": "application/json",
|
|
170
170
|
Accept: "application/json"
|
|
171
171
|
},
|
|
172
|
-
onComplete(c,
|
|
172
|
+
onComplete(c, o, a) {
|
|
173
173
|
const r = JSON.parse(c), d = r.data.map((l) => {
|
|
174
174
|
const p = l.attributes.name, u = l.id;
|
|
175
175
|
return { name: p, id: u };
|
|
176
176
|
});
|
|
177
177
|
t && t(d, r);
|
|
178
178
|
},
|
|
179
|
-
onFailure(c,
|
|
179
|
+
onFailure(c, o) {
|
|
180
180
|
const a = c;
|
|
181
|
-
a.msg =
|
|
181
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, n && n(a);
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
function ge(e, t = void 0, n = void 0) {
|
|
186
186
|
let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
187
187
|
f(s, {
|
|
188
|
-
onComplete(
|
|
189
|
-
const a = JSON.parse(
|
|
188
|
+
onComplete(i, c, o) {
|
|
189
|
+
const a = JSON.parse(i);
|
|
190
190
|
console.log("_AppMngt_get_users => ", a), t && t(a);
|
|
191
191
|
},
|
|
192
|
-
onFailure(
|
|
193
|
-
const
|
|
194
|
-
|
|
192
|
+
onFailure(i, c) {
|
|
193
|
+
const o = i;
|
|
194
|
+
o.msg = c.errormsg, o.errCode = c.errorcode, n && n(o);
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
function he(e, t, n = void 0, s = void 0) {
|
|
199
|
-
let
|
|
200
|
-
f(
|
|
201
|
-
onComplete(c,
|
|
199
|
+
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
|
|
200
|
+
f(i, {
|
|
201
|
+
onComplete(c, o, a) {
|
|
202
202
|
const r = JSON.parse(c);
|
|
203
203
|
n && n(r);
|
|
204
204
|
},
|
|
205
|
-
onFailure(c,
|
|
205
|
+
onFailure(c, o) {
|
|
206
206
|
const a = c;
|
|
207
|
-
a.msg =
|
|
207
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, s && s(a);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
210
|
}
|
|
@@ -213,7 +213,7 @@ const F = {
|
|
|
213
213
|
Accept: "application/json,text/javascript,*/*"
|
|
214
214
|
};
|
|
215
215
|
function Se(e, t, n = void 0, s = void 0) {
|
|
216
|
-
const { space:
|
|
216
|
+
const { space: i, currentUser: c } = e, a = `${i}${{
|
|
217
217
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
218
218
|
}.URIUGr}`, r = {
|
|
219
219
|
groups: [
|
|
@@ -242,7 +242,7 @@ function Se(e, t, n = void 0, s = void 0) {
|
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
function _e(e, t, n = void 0, s = void 0) {
|
|
245
|
-
const { space:
|
|
245
|
+
const { space: i, tenant: c } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, r = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${c}`, d = `${o}${a}${r}`;
|
|
246
246
|
f(d, {
|
|
247
247
|
opts: {
|
|
248
248
|
method: "GET",
|
|
@@ -261,10 +261,10 @@ function _e(e, t, n = void 0, s = void 0) {
|
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
function E(e, t = void 0, n = void 0) {
|
|
264
|
-
const { space: s, tenant:
|
|
264
|
+
const { space: s, tenant: i } = e, c = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, r = {
|
|
265
265
|
method: "GET",
|
|
266
266
|
Accept: "application/json,*/*,test/javascript"
|
|
267
|
-
}, d = `${c}${
|
|
267
|
+
}, d = `${c}${o}${a}`;
|
|
268
268
|
f(d, {
|
|
269
269
|
OPTsH: r,
|
|
270
270
|
onComplete(l) {
|
|
@@ -277,7 +277,7 @@ function E(e, t = void 0, n = void 0) {
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
function ye(e, t = void 0, n = void 0) {
|
|
280
|
-
const { space: s, currentUser:
|
|
280
|
+
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: {
|
|
281
281
|
"Content-Type": "application/json",
|
|
282
282
|
Accept: "application/json,text/javascript,*/*"
|
|
283
283
|
} };
|
|
@@ -286,8 +286,8 @@ function ye(e, t = void 0, n = void 0) {
|
|
|
286
286
|
opts: d,
|
|
287
287
|
onComplete(l) {
|
|
288
288
|
const p = JSON.parse(l), u = {}, m = p.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
289
|
-
if (
|
|
290
|
-
const g = m.filter((_) => _.owner ===
|
|
289
|
+
if (i && Object.keys(i).length > 0) {
|
|
290
|
+
const g = m.filter((_) => _.owner === i.email), h = m.filter((_) => _.members.includes(i.email)), S = g.concat(h);
|
|
291
291
|
u.iam = S, u.UG = m, u.iamMember = h, E(
|
|
292
292
|
e,
|
|
293
293
|
(_) => {
|
|
@@ -308,20 +308,20 @@ function ye(e, t = void 0, n = void 0) {
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
function we(e, t) {
|
|
311
|
-
const { space: n } = e,
|
|
312
|
-
f(
|
|
311
|
+
const { space: n } = e, i = `${n}/3drdfpersist/resources/v1/usersgroup/${t}`;
|
|
312
|
+
f(i, {
|
|
313
313
|
method: "DELETE"
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
|
-
function Te(e, t, n, s = void 0,
|
|
317
|
-
const { space: c, tenant:
|
|
316
|
+
function Te(e, t, n, s = void 0, i = void 0) {
|
|
317
|
+
const { space: c, tenant: o } = e, a = {
|
|
318
318
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
319
319
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
320
320
|
nextURICh: "/characteristics",
|
|
321
321
|
nextURIGr: "/group",
|
|
322
322
|
nexURImem: "/members",
|
|
323
323
|
OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
|
|
324
|
-
OPTsTenant: `tenant=dstenant:${
|
|
324
|
+
OPTsTenant: `tenant=dstenant:${o}`
|
|
325
325
|
}, r = n, d = `${c}${a.URIUGr}/${t}`, l = JSON.stringify(r);
|
|
326
326
|
f(d, {
|
|
327
327
|
headers: F,
|
|
@@ -332,11 +332,11 @@ function Te(e, t, n, s = void 0, o = void 0) {
|
|
|
332
332
|
s && s(p);
|
|
333
333
|
},
|
|
334
334
|
onFailure(p) {
|
|
335
|
-
|
|
335
|
+
i && i(p);
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
function Ce(e, t, n, s = void 0,
|
|
339
|
+
function Ce(e, t, n, s = void 0, i = void 0) {
|
|
340
340
|
const { space: c } = e, a = `${c}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
341
341
|
f(a, {
|
|
342
342
|
method: "PATCH",
|
|
@@ -347,13 +347,13 @@ function Ce(e, t, n, s = void 0, o = void 0) {
|
|
|
347
347
|
s && s(d);
|
|
348
348
|
},
|
|
349
349
|
onFailure(d) {
|
|
350
|
-
|
|
350
|
+
i && i(d);
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
function Oe(e, t, n = void 0, s = void 0) {
|
|
355
|
-
const { space:
|
|
356
|
-
f(
|
|
355
|
+
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
356
|
+
f(o, {
|
|
357
357
|
opts: {
|
|
358
358
|
method: "GET",
|
|
359
359
|
headers: {
|
|
@@ -370,19 +370,19 @@ function Oe(e, t, n = void 0, s = void 0) {
|
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
372
|
async function J(e, t = void 0, n = void 0, s = void 0) {
|
|
373
|
-
const
|
|
373
|
+
const i = e.space;
|
|
374
374
|
if (t === void 0) {
|
|
375
375
|
console.log("Le paramètre docid est obligatoire");
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
|
-
const c =
|
|
378
|
+
const c = i + `/resources/v1/modeler/documents/${t}`;
|
|
379
379
|
f(c, {
|
|
380
|
-
onComplete(
|
|
381
|
-
const d = JSON.parse(
|
|
380
|
+
onComplete(o, a, r) {
|
|
381
|
+
const d = JSON.parse(o);
|
|
382
382
|
n && n(d);
|
|
383
383
|
},
|
|
384
|
-
onFailure(
|
|
385
|
-
s && s(
|
|
384
|
+
onFailure(o) {
|
|
385
|
+
s && s(o);
|
|
386
386
|
}
|
|
387
387
|
});
|
|
388
388
|
}
|
|
@@ -390,27 +390,35 @@ function k(e, t = void 0, n = void 0) {
|
|
|
390
390
|
if (e.objID && e.objID !== "") {
|
|
391
391
|
let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
392
392
|
f(s, {
|
|
393
|
-
onComplete(
|
|
394
|
-
const a = JSON.parse(
|
|
393
|
+
onComplete(i, c, o) {
|
|
394
|
+
const a = JSON.parse(i);
|
|
395
395
|
e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
|
|
396
396
|
},
|
|
397
|
-
onFailure(
|
|
398
|
-
n && n(
|
|
397
|
+
onFailure(i) {
|
|
398
|
+
n && n(i);
|
|
399
399
|
}
|
|
400
400
|
});
|
|
401
401
|
} else
|
|
402
|
-
C(
|
|
402
|
+
C(
|
|
403
|
+
e,
|
|
404
|
+
(s) => {
|
|
405
|
+
console.log("_3DSpace_get_csrf / _3DSpace_csrf", s), t && t(s);
|
|
406
|
+
},
|
|
407
|
+
(s) => {
|
|
408
|
+
n && n(s);
|
|
409
|
+
}
|
|
410
|
+
);
|
|
403
411
|
}
|
|
404
412
|
function C(e, t = void 0, n = void 0) {
|
|
405
413
|
if (e.space) {
|
|
406
414
|
const s = e.space + "/resources/v1/application/CSRF";
|
|
407
415
|
f(s, {
|
|
408
|
-
onComplete(
|
|
409
|
-
const a = JSON.parse(
|
|
416
|
+
onComplete(i, c, o) {
|
|
417
|
+
const a = JSON.parse(i);
|
|
410
418
|
console.log("_3DSpace_csrf() / info => ", a), t && t(a.csrf.value);
|
|
411
419
|
},
|
|
412
|
-
onFailure(
|
|
413
|
-
n && n({ response:
|
|
420
|
+
onFailure(i, c, o) {
|
|
421
|
+
n && n({ response: i, headers: c, xhr: o });
|
|
414
422
|
}
|
|
415
423
|
});
|
|
416
424
|
} else
|
|
@@ -420,51 +428,55 @@ function U(e, t = void 0, n = void 0) {
|
|
|
420
428
|
let s = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
421
429
|
k(
|
|
422
430
|
e,
|
|
423
|
-
(
|
|
424
|
-
console.log(
|
|
431
|
+
(i) => {
|
|
432
|
+
console.log(
|
|
433
|
+
"_3DSpace_file_url / onComplete / ☠️ info => ",
|
|
434
|
+
i,
|
|
435
|
+
e.token
|
|
436
|
+
), f(s, {
|
|
425
437
|
method: "PUT",
|
|
426
438
|
headers: {
|
|
427
|
-
ENO_CSRF_TOKEN:
|
|
439
|
+
ENO_CSRF_TOKEN: e.token
|
|
428
440
|
},
|
|
429
441
|
onComplete(c) {
|
|
430
|
-
let
|
|
431
|
-
console.log("_3DSpace_file_url() / ☠️ info => ",
|
|
432
|
-
const a =
|
|
442
|
+
let o = JSON.parse(c);
|
|
443
|
+
console.log("_3DSpace_file_url() / ☠️ info => ", o);
|
|
444
|
+
const a = o.data[0].dataelements.ticketURL;
|
|
433
445
|
e.ticket = a, t && t(a);
|
|
434
446
|
},
|
|
435
|
-
onFailure(c,
|
|
436
|
-
console.warn("☠️ error => ", c,
|
|
447
|
+
onFailure(c, o) {
|
|
448
|
+
console.warn("☠️ error => ", c, o), n && n(c, o);
|
|
437
449
|
}
|
|
438
450
|
});
|
|
439
451
|
},
|
|
440
|
-
(
|
|
441
|
-
console.warn("_3DSpace_file_url / error => ",
|
|
452
|
+
(i) => {
|
|
453
|
+
console.warn("_3DSpace_file_url / error => ", i), n && n(i);
|
|
442
454
|
}
|
|
443
455
|
);
|
|
444
456
|
}
|
|
445
|
-
function Ne(e, t, n, s = void 0,
|
|
457
|
+
function Ne(e, t, n, s = void 0, i = void 0) {
|
|
446
458
|
const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
447
459
|
n || (n = e.token), f(c, {
|
|
448
460
|
method: "PUT",
|
|
449
461
|
headers: {
|
|
450
462
|
ENO_CSRF_TOKEN: n
|
|
451
463
|
},
|
|
452
|
-
onComplete(
|
|
453
|
-
let a = JSON.parse(
|
|
464
|
+
onComplete(o) {
|
|
465
|
+
let a = JSON.parse(o);
|
|
454
466
|
if (console.log("☠️ info => ", a), a.success === !0)
|
|
455
467
|
try {
|
|
456
468
|
const r = a.data[0].dataelements.ticketURL;
|
|
457
469
|
s && s(r);
|
|
458
470
|
} catch (r) {
|
|
459
|
-
|
|
471
|
+
i && i(r);
|
|
460
472
|
}
|
|
461
473
|
},
|
|
462
|
-
onFailure(
|
|
463
|
-
|
|
474
|
+
onFailure(o) {
|
|
475
|
+
i && i(o);
|
|
464
476
|
}
|
|
465
477
|
});
|
|
466
478
|
}
|
|
467
|
-
function G(e, t, n, s,
|
|
479
|
+
function G(e, t, n, s, i, c = void 0, o = void 0) {
|
|
468
480
|
k(
|
|
469
481
|
e,
|
|
470
482
|
t,
|
|
@@ -474,15 +486,15 @@ function G(e, t, n, s, o, c = void 0, i = void 0) {
|
|
|
474
486
|
t,
|
|
475
487
|
n,
|
|
476
488
|
s,
|
|
477
|
-
|
|
489
|
+
i,
|
|
478
490
|
a.csrf.value,
|
|
479
491
|
c,
|
|
480
|
-
|
|
492
|
+
o
|
|
481
493
|
);
|
|
482
494
|
}
|
|
483
495
|
);
|
|
484
496
|
}
|
|
485
|
-
function K(e, t, n, s,
|
|
497
|
+
function K(e, t, n, s, i, c, o = void 0, a = void 0) {
|
|
486
498
|
const r = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
|
|
487
499
|
f(r, {
|
|
488
500
|
method: "PUT",
|
|
@@ -491,7 +503,7 @@ function K(e, t, n, s, o, c, i = void 0, a = void 0) {
|
|
|
491
503
|
},
|
|
492
504
|
onComplete(d, l, p) {
|
|
493
505
|
const u = JSON.parse(d).data[0].dataelements, m = new FormData();
|
|
494
|
-
m.append("__fcs__jobTicket", u.ticket), m.append("file_0", s,
|
|
506
|
+
m.append("__fcs__jobTicket", u.ticket), m.append("file_0", s, i);
|
|
495
507
|
const g = {};
|
|
496
508
|
g.method = "POST", g.data = m, g.onComplete = function(h) {
|
|
497
509
|
let S = "temp_" + Date.now(), _ = {
|
|
@@ -508,7 +520,7 @@ function K(e, t, n, s, o, c, i = void 0, a = void 0) {
|
|
|
508
520
|
{
|
|
509
521
|
id: n,
|
|
510
522
|
dataelements: {
|
|
511
|
-
title:
|
|
523
|
+
title: i,
|
|
512
524
|
receipt: h
|
|
513
525
|
},
|
|
514
526
|
updateAction: "REVISE"
|
|
@@ -521,7 +533,7 @@ function K(e, t, n, s, o, c, i = void 0, a = void 0) {
|
|
|
521
533
|
}),
|
|
522
534
|
type: "json",
|
|
523
535
|
onComplete(y) {
|
|
524
|
-
|
|
536
|
+
o && o(y);
|
|
525
537
|
},
|
|
526
538
|
onFailure(y) {
|
|
527
539
|
a && a(y);
|
|
@@ -537,14 +549,14 @@ function K(e, t, n, s, o, c, i = void 0, a = void 0) {
|
|
|
537
549
|
}
|
|
538
550
|
});
|
|
539
551
|
}
|
|
540
|
-
async function be(e, t, n, s,
|
|
541
|
-
const
|
|
552
|
+
async function be(e, t, n, s, i = void 0, c = void 0) {
|
|
553
|
+
const o = e.space, a = e.token, r = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
|
|
542
554
|
type: "text/plain"
|
|
543
555
|
}), p = {
|
|
544
|
-
url_Ticket: `${
|
|
545
|
-
url_Post: `${
|
|
556
|
+
url_Ticket: `${o}/resources/v1/modeler/documents/files/CheckinTicket`,
|
|
557
|
+
url_Post: `${o}/resources/v1/modeler/documents/?SecurityContext=ctx::${r}`
|
|
546
558
|
};
|
|
547
|
-
if (!
|
|
559
|
+
if (!o && o !== "") {
|
|
548
560
|
console.log("le store._3DSpace est vide");
|
|
549
561
|
return;
|
|
550
562
|
}
|
|
@@ -603,7 +615,7 @@ async function be(e, t, n, s, o = void 0, c = void 0) {
|
|
|
603
615
|
onFailure: y
|
|
604
616
|
};
|
|
605
617
|
function _(T) {
|
|
606
|
-
console.log("Success -- response ", T.data[0]),
|
|
618
|
+
console.log("Success -- response ", T.data[0]), i && i(T);
|
|
607
619
|
}
|
|
608
620
|
function y(T, D) {
|
|
609
621
|
console.log("Erreur -- response ", T, `
|
|
@@ -613,9 +625,9 @@ async function be(e, t, n, s, o = void 0, c = void 0) {
|
|
|
613
625
|
}
|
|
614
626
|
});
|
|
615
627
|
}
|
|
616
|
-
function N(e, t = void 0, n = void 0, s = void 0,
|
|
617
|
-
const
|
|
618
|
-
f(
|
|
628
|
+
function N(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0) {
|
|
629
|
+
const o = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
630
|
+
f(o, {
|
|
619
631
|
method: "GET",
|
|
620
632
|
onComplete(a) {
|
|
621
633
|
const r = JSON.parse(a);
|
|
@@ -652,7 +664,7 @@ function N(e, t = void 0, n = void 0, s = void 0, o = void 0, c = void 0) {
|
|
|
652
664
|
}));
|
|
653
665
|
}
|
|
654
666
|
}
|
|
655
|
-
l && p && u ? (d = u + "." + p + "." + l,
|
|
667
|
+
l && p && u ? (d = u + "." + p + "." + l, i(d)) : r.preferredcredentials ? (d = r.preferredcredentials.role.name + "." + r.preferredcredentials.organization.title + "." + r.preferredcredentials.collabspace.title, i(d)) : c && (d = u + "." + p + "." + l, c(d));
|
|
656
668
|
},
|
|
657
669
|
onFailure(a) {
|
|
658
670
|
console.log("Erreur de récupération du contexte de sécurité. => ", a);
|
|
@@ -660,8 +672,8 @@ function N(e, t = void 0, n = void 0, s = void 0, o = void 0, c = void 0) {
|
|
|
660
672
|
});
|
|
661
673
|
}
|
|
662
674
|
async function I(e, t = void 0, n = void 0, s = void 0) {
|
|
663
|
-
const
|
|
664
|
-
(
|
|
675
|
+
const i = e.objID;
|
|
676
|
+
(i === void 0 || i === "") && console.warn(
|
|
665
677
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
666
678
|
), (e.space === "" || !e.space) && console.warn(
|
|
667
679
|
"_3DSpace_download_doc() / Le paramètre space est obligatoire"
|
|
@@ -674,12 +686,12 @@ async function I(e, t = void 0, n = void 0, s = void 0) {
|
|
|
674
686
|
headers: {
|
|
675
687
|
ENO_CSRF_TOKEN: e.token
|
|
676
688
|
},
|
|
677
|
-
onComplete(
|
|
678
|
-
const a = JSON.parse(
|
|
689
|
+
onComplete(o) {
|
|
690
|
+
const a = JSON.parse(o);
|
|
679
691
|
t && t(a);
|
|
680
692
|
},
|
|
681
|
-
onFailure(
|
|
682
|
-
n && (console.log("error http",
|
|
693
|
+
onFailure(o, a, r) {
|
|
694
|
+
n && (console.log("error http", o), n({ error: o, headers: a, xhr: r }));
|
|
683
695
|
}
|
|
684
696
|
});
|
|
685
697
|
},
|
|
@@ -692,33 +704,33 @@ async function I(e, t = void 0, n = void 0, s = void 0) {
|
|
|
692
704
|
}
|
|
693
705
|
}
|
|
694
706
|
async function W(e, t, n = void 0, s = void 0) {
|
|
695
|
-
let
|
|
707
|
+
let i = [];
|
|
696
708
|
for (let a = 0; a < t.length; a += 80) {
|
|
697
709
|
const r = t.slice(a, a + 80);
|
|
698
|
-
|
|
710
|
+
i.push(r);
|
|
699
711
|
}
|
|
700
|
-
const
|
|
712
|
+
const o = (a) => {
|
|
701
713
|
X(
|
|
702
714
|
e,
|
|
703
|
-
|
|
715
|
+
i[a],
|
|
704
716
|
() => {
|
|
705
|
-
a++, a <
|
|
717
|
+
a++, a < i.length && o(a);
|
|
706
718
|
},
|
|
707
719
|
(r) => {
|
|
708
720
|
n && n(r);
|
|
709
721
|
}
|
|
710
722
|
);
|
|
711
723
|
};
|
|
712
|
-
|
|
724
|
+
o(0);
|
|
713
725
|
}
|
|
714
|
-
function X(e, t, n = void 0, s = void 0,
|
|
726
|
+
function X(e, t, n = void 0, s = void 0, i = void 0) {
|
|
715
727
|
const c = [];
|
|
716
728
|
t.forEach((r) => {
|
|
717
729
|
c.push({
|
|
718
730
|
id: r
|
|
719
731
|
});
|
|
720
732
|
});
|
|
721
|
-
let
|
|
733
|
+
let o = JSON.stringify({
|
|
722
734
|
csrf: {
|
|
723
735
|
name: "ENO_CSRF_TOKEN",
|
|
724
736
|
value: e.token
|
|
@@ -728,7 +740,7 @@ function X(e, t, n = void 0, s = void 0, o = void 0) {
|
|
|
728
740
|
const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
|
|
729
741
|
f(a, {
|
|
730
742
|
method: "PUT",
|
|
731
|
-
data:
|
|
743
|
+
data: o,
|
|
732
744
|
type: "json",
|
|
733
745
|
onComplete(r) {
|
|
734
746
|
const d = r.data;
|
|
@@ -748,17 +760,17 @@ function X(e, t, n = void 0, s = void 0, o = void 0) {
|
|
|
748
760
|
}
|
|
749
761
|
});
|
|
750
762
|
} catch (p) {
|
|
751
|
-
console.log(p),
|
|
763
|
+
console.log(p), i && i(p);
|
|
752
764
|
}
|
|
753
765
|
}));
|
|
754
766
|
},
|
|
755
767
|
onFailure(r) {
|
|
756
|
-
console.log(r),
|
|
768
|
+
console.log(r), i && i(r);
|
|
757
769
|
}
|
|
758
770
|
});
|
|
759
771
|
}
|
|
760
772
|
function ke(e, t, n = void 0, s = void 0) {
|
|
761
|
-
return new Promise((
|
|
773
|
+
return new Promise((i) => {
|
|
762
774
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
763
775
|
const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
764
776
|
N(
|
|
@@ -771,7 +783,7 @@ function ke(e, t, n = void 0, s = void 0) {
|
|
|
771
783
|
console.log("onError =>", a);
|
|
772
784
|
}
|
|
773
785
|
);
|
|
774
|
-
let
|
|
786
|
+
let o = {
|
|
775
787
|
method: "POST",
|
|
776
788
|
headers: {
|
|
777
789
|
SecurityContext: "ctx::" + e.ctx,
|
|
@@ -794,14 +806,14 @@ function ke(e, t, n = void 0, s = void 0) {
|
|
|
794
806
|
s && s(a);
|
|
795
807
|
}
|
|
796
808
|
};
|
|
797
|
-
f(c,
|
|
809
|
+
f(c, o);
|
|
798
810
|
}
|
|
799
811
|
});
|
|
800
812
|
}
|
|
801
|
-
function De(e, t, n, s = void 0,
|
|
813
|
+
function De(e, t, n, s = void 0, i = void 0) {
|
|
802
814
|
return new Promise((c) => {
|
|
803
815
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
804
|
-
const
|
|
816
|
+
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
805
817
|
N(
|
|
806
818
|
e.space,
|
|
807
819
|
"ESPACE COMMUN",
|
|
@@ -833,15 +845,15 @@ function De(e, t, n, s = void 0, o = void 0) {
|
|
|
833
845
|
s && s(r);
|
|
834
846
|
},
|
|
835
847
|
onFailure(r) {
|
|
836
|
-
|
|
848
|
+
i && i(r);
|
|
837
849
|
}
|
|
838
850
|
};
|
|
839
|
-
f(
|
|
851
|
+
f(o, a);
|
|
840
852
|
}
|
|
841
853
|
});
|
|
842
854
|
}
|
|
843
855
|
function Fe(e, t, n = void 0, s = void 0) {
|
|
844
|
-
return new Promise((
|
|
856
|
+
return new Promise((i) => {
|
|
845
857
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
846
858
|
const c = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
847
859
|
N(
|
|
@@ -854,7 +866,7 @@ function Fe(e, t, n = void 0, s = void 0) {
|
|
|
854
866
|
console.log("onError =>", a);
|
|
855
867
|
}
|
|
856
868
|
);
|
|
857
|
-
let
|
|
869
|
+
let o = {
|
|
858
870
|
method: "POST",
|
|
859
871
|
headers: {
|
|
860
872
|
securitycontext: "ctx::" + e.ctx,
|
|
@@ -877,12 +889,12 @@ function Fe(e, t, n = void 0, s = void 0) {
|
|
|
877
889
|
s && s(a);
|
|
878
890
|
}
|
|
879
891
|
};
|
|
880
|
-
f(c,
|
|
892
|
+
f(c, o);
|
|
881
893
|
}
|
|
882
894
|
});
|
|
883
895
|
}
|
|
884
896
|
function Ue(e, t, n = void 0, s = void 0) {
|
|
885
|
-
return new Promise((
|
|
897
|
+
return new Promise((i) => {
|
|
886
898
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
887
899
|
const c = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
888
900
|
N(
|
|
@@ -895,7 +907,7 @@ function Ue(e, t, n = void 0, s = void 0) {
|
|
|
895
907
|
console.log("onError =>", a);
|
|
896
908
|
}
|
|
897
909
|
);
|
|
898
|
-
let
|
|
910
|
+
let o = {
|
|
899
911
|
method: "POST",
|
|
900
912
|
headers: {
|
|
901
913
|
SecurityContext: "ctx::" + e.ctx,
|
|
@@ -924,14 +936,14 @@ function Ue(e, t, n = void 0, s = void 0) {
|
|
|
924
936
|
s && s(a);
|
|
925
937
|
}
|
|
926
938
|
};
|
|
927
|
-
f(c,
|
|
939
|
+
f(c, o);
|
|
928
940
|
}
|
|
929
941
|
});
|
|
930
942
|
}
|
|
931
|
-
function $e(e, t, n, s = void 0,
|
|
943
|
+
function $e(e, t, n, s = void 0, i = void 0) {
|
|
932
944
|
return new Promise((c) => {
|
|
933
945
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
934
|
-
const
|
|
946
|
+
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
935
947
|
N(
|
|
936
948
|
e.space,
|
|
937
949
|
"ESPACE COMMUN",
|
|
@@ -968,10 +980,10 @@ function $e(e, t, n, s = void 0, o = void 0) {
|
|
|
968
980
|
s && s(r);
|
|
969
981
|
},
|
|
970
982
|
onFailure(r) {
|
|
971
|
-
|
|
983
|
+
i && i(r);
|
|
972
984
|
}
|
|
973
985
|
};
|
|
974
|
-
f(
|
|
986
|
+
f(o, a);
|
|
975
987
|
}
|
|
976
988
|
});
|
|
977
989
|
}
|
|
@@ -979,11 +991,11 @@ function $e(e, t, n, s = void 0, o = void 0) {
|
|
|
979
991
|
async function je(e, t, n) {
|
|
980
992
|
const s = `${e.space}/resources/v1/application/CSRF`;
|
|
981
993
|
f(s, {
|
|
982
|
-
onComplete(
|
|
983
|
-
|
|
994
|
+
onComplete(i) {
|
|
995
|
+
i = JSON.parse(i), t && t(i.csrf);
|
|
984
996
|
},
|
|
985
|
-
onFailure(
|
|
986
|
-
n && n({ error:
|
|
997
|
+
onFailure(i, c, o) {
|
|
998
|
+
n && n({ error: i, headers: c, xhr: o });
|
|
987
999
|
}
|
|
988
1000
|
});
|
|
989
1001
|
}
|
|
@@ -992,19 +1004,19 @@ function Ae(e, t = void 0, n = void 0) {
|
|
|
992
1004
|
base: `${e.space}`,
|
|
993
1005
|
uri: "/resources/bps/cspaces",
|
|
994
1006
|
optTenant: `tenant=${e.tenant}`
|
|
995
|
-
},
|
|
996
|
-
f(
|
|
1007
|
+
}, i = `${s.base}${s.uri}?${s.optTenant}`;
|
|
1008
|
+
f(i, {
|
|
997
1009
|
method: "GET",
|
|
998
1010
|
headers: {
|
|
999
1011
|
Accept: "application/json,text/javascript,*/*",
|
|
1000
1012
|
"Content-Type": "application/ds-json"
|
|
1001
1013
|
},
|
|
1002
|
-
onComplete(c,
|
|
1014
|
+
onComplete(c, o) {
|
|
1003
1015
|
const a = JSON.parse(c);
|
|
1004
|
-
t && t(a,
|
|
1016
|
+
t && t(a, o);
|
|
1005
1017
|
},
|
|
1006
|
-
onFailure(c,
|
|
1007
|
-
n && n({ response: c, headers:
|
|
1018
|
+
onFailure(c, o, a) {
|
|
1019
|
+
n && n({ response: c, headers: o, xhr: a });
|
|
1008
1020
|
}
|
|
1009
1021
|
});
|
|
1010
1022
|
}
|
|
@@ -1012,8 +1024,8 @@ function Re(e, t, n, s) {
|
|
|
1012
1024
|
U(
|
|
1013
1025
|
e.space,
|
|
1014
1026
|
t,
|
|
1015
|
-
(
|
|
1016
|
-
f(
|
|
1027
|
+
(i) => {
|
|
1028
|
+
f(i, {
|
|
1017
1029
|
header: { ENO_CSRF_TOKEN: e.token },
|
|
1018
1030
|
onComplete: (c) => {
|
|
1019
1031
|
n && n(c);
|
|
@@ -1026,24 +1038,24 @@ function Re(e, t, n, s) {
|
|
|
1026
1038
|
);
|
|
1027
1039
|
}
|
|
1028
1040
|
async function Ie(e, t, n = void 0, s = void 0) {
|
|
1029
|
-
return new Promise((
|
|
1041
|
+
return new Promise((i) => {
|
|
1030
1042
|
U(e.space, t, (c) => {
|
|
1031
1043
|
f(c, {
|
|
1032
|
-
onComplete: (
|
|
1033
|
-
onFailure: (
|
|
1034
|
-
s && s(
|
|
1044
|
+
onComplete: (o, a, r) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, r), i),
|
|
1045
|
+
onFailure: (o, a, r) => {
|
|
1046
|
+
s && s(o, a, r), console.log(o, a?.errormsg);
|
|
1035
1047
|
}
|
|
1036
1048
|
});
|
|
1037
1049
|
});
|
|
1038
1050
|
});
|
|
1039
1051
|
}
|
|
1040
|
-
function ve(e, t, n, s = void 0,
|
|
1052
|
+
function ve(e, t, n, s = void 0, i = void 0) {
|
|
1041
1053
|
const c = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1042
1054
|
k(
|
|
1043
1055
|
e,
|
|
1044
1056
|
n,
|
|
1045
|
-
(
|
|
1046
|
-
const a =
|
|
1057
|
+
(o) => {
|
|
1058
|
+
const a = o.data[0].relateddata.files[0].id, r = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
|
|
1047
1059
|
G(
|
|
1048
1060
|
e,
|
|
1049
1061
|
n,
|
|
@@ -1054,7 +1066,7 @@ function ve(e, t, n, s = void 0, o = void 0) {
|
|
|
1054
1066
|
s && s(d);
|
|
1055
1067
|
},
|
|
1056
1068
|
(d) => {
|
|
1057
|
-
|
|
1069
|
+
i && i(d);
|
|
1058
1070
|
}
|
|
1059
1071
|
);
|
|
1060
1072
|
}
|
|
@@ -1085,8 +1097,8 @@ async function Pe(e, t = void 0, n = void 0) {
|
|
|
1085
1097
|
console.log("getDatasByTenant (getDocuments)", e), await I(
|
|
1086
1098
|
e,
|
|
1087
1099
|
(s) => {
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1100
|
+
const i = {};
|
|
1101
|
+
i.obj = s, console.log("getDatasByTenant (getDocuments) _datas", i), t && t(i);
|
|
1090
1102
|
},
|
|
1091
1103
|
(s) => {
|
|
1092
1104
|
n && n(s);
|
|
@@ -1095,15 +1107,15 @@ async function Pe(e, t = void 0, n = void 0) {
|
|
|
1095
1107
|
}
|
|
1096
1108
|
function Me(e, t = void 0, n = void 0) {
|
|
1097
1109
|
const s = [];
|
|
1098
|
-
e.objIds.forEach((
|
|
1110
|
+
e.objIds.forEach((i, c) => {
|
|
1099
1111
|
I(
|
|
1100
1112
|
e,
|
|
1101
|
-
|
|
1102
|
-
(
|
|
1103
|
-
s.push({ [
|
|
1113
|
+
i.objId,
|
|
1114
|
+
(o) => {
|
|
1115
|
+
s.push({ [i.name]: o }), i.name === "dbProjets" && (v = o.affaires.map((a) => a.objectID), V(e, x)), c === e.objIds.length - 1 && t && t(s);
|
|
1104
1116
|
},
|
|
1105
|
-
(
|
|
1106
|
-
n && n(
|
|
1117
|
+
(o) => {
|
|
1118
|
+
n && n(o);
|
|
1107
1119
|
}
|
|
1108
1120
|
);
|
|
1109
1121
|
});
|
|
@@ -1112,12 +1124,12 @@ function V(e, t, n = void 0, s = void 0) {
|
|
|
1112
1124
|
W(
|
|
1113
1125
|
e,
|
|
1114
1126
|
v,
|
|
1115
|
-
(
|
|
1127
|
+
(i) => {
|
|
1116
1128
|
const c = [...t];
|
|
1117
|
-
c.find((
|
|
1129
|
+
c.find((o) => o.objectID === i.objectId).data = i.data, x = c, $.push(i.data), n && n($);
|
|
1118
1130
|
},
|
|
1119
|
-
(
|
|
1120
|
-
s && (s(
|
|
1131
|
+
(i) => {
|
|
1132
|
+
s && (s(i), console.log(i));
|
|
1121
1133
|
}
|
|
1122
1134
|
);
|
|
1123
1135
|
}
|
|
@@ -1142,16 +1154,16 @@ const B = "FA35FB9B177A280065800EA0000F599C", Y = [
|
|
|
1142
1154
|
tag: "testTag"
|
|
1143
1155
|
};
|
|
1144
1156
|
function Le(e, t, n = void 0, s = void 0) {
|
|
1145
|
-
const { space:
|
|
1157
|
+
const { space: i, tenant: c } = e, { objId: o, pred: a, tag: r } = t, d = {
|
|
1146
1158
|
uri: "/resources/6w/tags",
|
|
1147
1159
|
otpCTX: "SecurityContext=preferred",
|
|
1148
1160
|
optTenant: `tenant=${c}`
|
|
1149
|
-
}, l = `${
|
|
1161
|
+
}, l = `${i}${d.uri}?${d.otpCTX}&${d.optTenant}`, p = {
|
|
1150
1162
|
tag: [
|
|
1151
1163
|
{
|
|
1152
1164
|
subject: [
|
|
1153
1165
|
{
|
|
1154
|
-
uri: `pid://${
|
|
1166
|
+
uri: `pid://${o}`
|
|
1155
1167
|
}
|
|
1156
1168
|
],
|
|
1157
1169
|
predicate: P[a],
|
|
@@ -1174,7 +1186,7 @@ function Le(e, t, n = void 0, s = void 0) {
|
|
|
1174
1186
|
setTimeout(() => {
|
|
1175
1187
|
J(
|
|
1176
1188
|
e,
|
|
1177
|
-
|
|
1189
|
+
o,
|
|
1178
1190
|
(g) => {
|
|
1179
1191
|
const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", _ = g.data[0].relateddata.ownerInfo[0].dataelements.name;
|
|
1180
1192
|
m.name = h, m.ext = S, m.createBy = _, t.info = { ...m }, z(
|
|
@@ -1203,10 +1215,10 @@ function Le(e, t, n = void 0, s = void 0) {
|
|
|
1203
1215
|
}
|
|
1204
1216
|
function z(e, t, n = void 0, s = void 0) {
|
|
1205
1217
|
console.log("obj ", t);
|
|
1206
|
-
const
|
|
1218
|
+
const i = t.info.name, c = {
|
|
1207
1219
|
baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
|
|
1208
1220
|
uri: "/federated/search"
|
|
1209
|
-
},
|
|
1221
|
+
}, o = `${c.baseUrl}${c.uri}`, a = {
|
|
1210
1222
|
"Content-Type": "application/json",
|
|
1211
1223
|
Accept: "application/json,text/javascript,*/*"
|
|
1212
1224
|
}, r = R(), d = {
|
|
@@ -1241,7 +1253,7 @@ function z(e, t, n = void 0, s = void 0) {
|
|
|
1241
1253
|
],
|
|
1242
1254
|
with_synthesis_hierarchical: !0,
|
|
1243
1255
|
select_file: ["icon", "thumbnail_2d"],
|
|
1244
|
-
query:
|
|
1256
|
+
query: i,
|
|
1245
1257
|
specific_source_parameter: {
|
|
1246
1258
|
"3dspace": {
|
|
1247
1259
|
additional_query: ' AND NOT (owner:"ENOVIA_CLOUD" OR owner:"Service Creator" OR owner:"Corporate" OR owner:"User Agent" OR owner:"SLMInstallerAdmin" OR owner:"Creator" OR owner:"VPLMAdminUser") AND (ds6w_58_islastrevisionperstate:true OR NOT listoffields:ds6w_58_islastrevisionperstate)'
|
|
@@ -1270,7 +1282,7 @@ function z(e, t, n = void 0, s = void 0) {
|
|
|
1270
1282
|
}
|
|
1271
1283
|
}
|
|
1272
1284
|
};
|
|
1273
|
-
console.log("dataPattern => ", d), f(
|
|
1285
|
+
console.log("dataPattern => ", d), f(o, {
|
|
1274
1286
|
method: "POST",
|
|
1275
1287
|
headers: a,
|
|
1276
1288
|
data: JSON.stringify(d),
|
|
@@ -1285,7 +1297,7 @@ function z(e, t, n = void 0, s = void 0) {
|
|
|
1285
1297
|
});
|
|
1286
1298
|
}
|
|
1287
1299
|
function Ee(e, t, n = void 0, s = void 0) {
|
|
1288
|
-
const { objId:
|
|
1300
|
+
const { objId: i, pred: c, tag: o } = t, a = {
|
|
1289
1301
|
uri: "/resources/6w/tags",
|
|
1290
1302
|
otpCTX: "SecurityContext=preferred",
|
|
1291
1303
|
optTenant: `tenant=${e.tenant}`
|
|
@@ -1294,12 +1306,12 @@ function Ee(e, t, n = void 0, s = void 0) {
|
|
|
1294
1306
|
{
|
|
1295
1307
|
subject: [
|
|
1296
1308
|
{
|
|
1297
|
-
uri: `pid://${
|
|
1309
|
+
uri: `pid://${i}`
|
|
1298
1310
|
}
|
|
1299
1311
|
],
|
|
1300
1312
|
predicate: P[c],
|
|
1301
1313
|
object: {
|
|
1302
|
-
literal:
|
|
1314
|
+
literal: o
|
|
1303
1315
|
}
|
|
1304
1316
|
}
|
|
1305
1317
|
]
|
|
@@ -1321,18 +1333,18 @@ function Ee(e, t, n = void 0, s = void 0) {
|
|
|
1321
1333
|
});
|
|
1322
1334
|
}
|
|
1323
1335
|
function Je(e, t = "", n = void 0, s = void 0) {
|
|
1324
|
-
const { space:
|
|
1336
|
+
const { space: i } = e;
|
|
1325
1337
|
if (t === "")
|
|
1326
1338
|
return;
|
|
1327
1339
|
const c = {
|
|
1328
1340
|
uri: "/enovia/resources/v1/modeler/documents"
|
|
1329
|
-
},
|
|
1341
|
+
}, o = {
|
|
1330
1342
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
|
1331
1343
|
Accept: "application/json,text/javascript,*/*"
|
|
1332
|
-
}, a = `${
|
|
1344
|
+
}, a = `${i}${c.uri}`, r = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
|
|
1333
1345
|
f(a, {
|
|
1334
1346
|
method: "POST",
|
|
1335
|
-
headers:
|
|
1347
|
+
headers: o,
|
|
1336
1348
|
data: r,
|
|
1337
1349
|
onComplete(d) {
|
|
1338
1350
|
n && n(JSON.parse(d));
|
|
@@ -1346,18 +1358,18 @@ function Je(e, t = "", n = void 0, s = void 0) {
|
|
|
1346
1358
|
async function w(e, t = void 0, n = void 0) {
|
|
1347
1359
|
const s = e.space + "/api/index/tk";
|
|
1348
1360
|
return f(s, {
|
|
1349
|
-
onComplete(
|
|
1350
|
-
const a = JSON.parse(
|
|
1361
|
+
onComplete(i, c, o) {
|
|
1362
|
+
const a = JSON.parse(i);
|
|
1351
1363
|
if (t)
|
|
1352
1364
|
return t(a), e.token = a?.result?.ServerToken;
|
|
1353
1365
|
},
|
|
1354
|
-
onFailure(
|
|
1355
|
-
n && n(
|
|
1366
|
+
onFailure(i) {
|
|
1367
|
+
n && n(i);
|
|
1356
1368
|
}
|
|
1357
1369
|
});
|
|
1358
1370
|
}
|
|
1359
1371
|
function Ge(e, t = void 0, n = void 0) {
|
|
1360
|
-
const s = `${e.space}/api/exalead/whatsnew`,
|
|
1372
|
+
const s = `${e.space}/api/exalead/whatsnew`, i = {
|
|
1361
1373
|
params: {
|
|
1362
1374
|
community_id: null,
|
|
1363
1375
|
hash_key: null,
|
|
@@ -1375,19 +1387,19 @@ function Ge(e, t = void 0, n = void 0) {
|
|
|
1375
1387
|
"Content-type": "application/json;charset=UTF-8",
|
|
1376
1388
|
Accept: "application/json"
|
|
1377
1389
|
},
|
|
1378
|
-
data: JSON.stringify(
|
|
1390
|
+
data: JSON.stringify(i),
|
|
1379
1391
|
type: "json",
|
|
1380
|
-
onComplete(
|
|
1381
|
-
t && t(
|
|
1392
|
+
onComplete(o, a) {
|
|
1393
|
+
t && t(o, a);
|
|
1382
1394
|
},
|
|
1383
|
-
onFailure(
|
|
1384
|
-
n && n(
|
|
1395
|
+
onFailure(o, a) {
|
|
1396
|
+
n && n(o, a);
|
|
1385
1397
|
}
|
|
1386
1398
|
});
|
|
1387
1399
|
});
|
|
1388
1400
|
}
|
|
1389
1401
|
function Ke(e, t = void 0, n = void 0) {
|
|
1390
|
-
const s = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`,
|
|
1402
|
+
const s = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1391
1403
|
params: {
|
|
1392
1404
|
idsToFilterArr: [],
|
|
1393
1405
|
mode: "offline",
|
|
@@ -1404,14 +1416,14 @@ function Ke(e, t = void 0, n = void 0) {
|
|
|
1404
1416
|
"Content-type": "application/json;charset=UTF-8",
|
|
1405
1417
|
Accept: "application/json"
|
|
1406
1418
|
},
|
|
1407
|
-
data: JSON.stringify(
|
|
1419
|
+
data: JSON.stringify(i),
|
|
1408
1420
|
type: "json",
|
|
1409
|
-
onComplete(
|
|
1410
|
-
const r =
|
|
1411
|
-
t && t(r,
|
|
1421
|
+
onComplete(o, a) {
|
|
1422
|
+
const r = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
|
|
1423
|
+
t && t(r, o);
|
|
1412
1424
|
},
|
|
1413
|
-
onFailure(
|
|
1414
|
-
n && n(
|
|
1425
|
+
onFailure(o, a) {
|
|
1426
|
+
n && n(o, a);
|
|
1415
1427
|
}
|
|
1416
1428
|
});
|
|
1417
1429
|
});
|
|
@@ -1422,12 +1434,12 @@ function We(e, t = void 0, n = void 0) {
|
|
|
1422
1434
|
uri: "/api/community/listmycommunities",
|
|
1423
1435
|
limit: `/limit/${e.limit ? e.limit : 128}`,
|
|
1424
1436
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1425
|
-
},
|
|
1426
|
-
w(e, (
|
|
1427
|
-
f(
|
|
1437
|
+
}, i = `${s.base}${s.uri}${s.limit}${s.page}`, c = [];
|
|
1438
|
+
w(e, (o) => {
|
|
1439
|
+
f(i, {
|
|
1428
1440
|
method: "GET",
|
|
1429
1441
|
headers: {
|
|
1430
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1442
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1431
1443
|
},
|
|
1432
1444
|
onComplete(a, r, d) {
|
|
1433
1445
|
const p = JSON.parse(a).result;
|
|
@@ -1459,20 +1471,20 @@ function We(e, t = void 0, n = void 0) {
|
|
|
1459
1471
|
});
|
|
1460
1472
|
}
|
|
1461
1473
|
function q(e, t, n, s) {
|
|
1462
|
-
const
|
|
1474
|
+
const i = `${e.space}/api/community/listmembers`, c = {
|
|
1463
1475
|
params: {
|
|
1464
1476
|
page: e.page ? e.page : 1,
|
|
1465
1477
|
limit: e.limit ? e.limit : 50,
|
|
1466
1478
|
community_id: t
|
|
1467
1479
|
}
|
|
1468
1480
|
};
|
|
1469
|
-
w(e, (
|
|
1470
|
-
f(
|
|
1481
|
+
w(e, (o) => {
|
|
1482
|
+
f(i, {
|
|
1471
1483
|
method: "POST",
|
|
1472
1484
|
headers: {
|
|
1473
1485
|
"Content-type": "application/json;charset=UTF-8",
|
|
1474
1486
|
Accept: "application/json",
|
|
1475
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1487
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1476
1488
|
},
|
|
1477
1489
|
data: JSON.stringify(c),
|
|
1478
1490
|
type: "json",
|
|
@@ -1489,30 +1501,30 @@ function q(e, t, n, s) {
|
|
|
1489
1501
|
function Xe(e, t = void 0, n = void 0) {
|
|
1490
1502
|
const s = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1491
1503
|
e.commu_id || (e.commu_id = s);
|
|
1492
|
-
const
|
|
1504
|
+
const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1493
1505
|
w(e, (c) => {
|
|
1494
|
-
f(
|
|
1506
|
+
f(i, {
|
|
1495
1507
|
method: "GET",
|
|
1496
1508
|
headers: {
|
|
1497
1509
|
"Content-type": "application/json;charset=UTF-8",
|
|
1498
1510
|
Accept: "application/json",
|
|
1499
1511
|
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
|
|
1500
1512
|
},
|
|
1501
|
-
onComplete(
|
|
1502
|
-
const a = JSON.parse(
|
|
1513
|
+
onComplete(o) {
|
|
1514
|
+
const a = JSON.parse(o);
|
|
1503
1515
|
t && t(a);
|
|
1504
1516
|
},
|
|
1505
|
-
onFailure(
|
|
1506
|
-
const r =
|
|
1517
|
+
onFailure(o, a) {
|
|
1518
|
+
const r = o;
|
|
1507
1519
|
r.status = a.status, r.response = a.errormsg, n && n(r);
|
|
1508
1520
|
}
|
|
1509
1521
|
});
|
|
1510
1522
|
});
|
|
1511
1523
|
}
|
|
1512
1524
|
function Ve(e, t, n = void 0, s = void 0) {
|
|
1513
|
-
const { listAllContacts:
|
|
1514
|
-
console.log("__listAllContacts",
|
|
1515
|
-
const
|
|
1525
|
+
const { listAllContacts: i, currentUser: c } = e;
|
|
1526
|
+
console.log("__listAllContacts", i.hits);
|
|
1527
|
+
const o = `${e.space}/api/directmessages`, a = {
|
|
1516
1528
|
users: [c.login].concat(t.receipt)
|
|
1517
1529
|
}, r = {
|
|
1518
1530
|
id_msg: "",
|
|
@@ -1531,7 +1543,7 @@ function Ve(e, t, n = void 0, s = void 0) {
|
|
|
1531
1543
|
}
|
|
1532
1544
|
), d === !1 && setTimeout(() => {
|
|
1533
1545
|
d === !1 && w(e, (l) => {
|
|
1534
|
-
f(
|
|
1546
|
+
f(o, {
|
|
1535
1547
|
method: "POST",
|
|
1536
1548
|
headers: {
|
|
1537
1549
|
"Content-Type": "application/json",
|
|
@@ -1553,16 +1565,16 @@ function Ve(e, t, n = void 0, s = void 0) {
|
|
|
1553
1565
|
}, 500);
|
|
1554
1566
|
}
|
|
1555
1567
|
function Q(e, t, n, s) {
|
|
1556
|
-
const
|
|
1568
|
+
const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
|
|
1557
1569
|
w(e, (c) => {
|
|
1558
|
-
f(
|
|
1570
|
+
f(i, {
|
|
1559
1571
|
method: "GET",
|
|
1560
1572
|
headers: {
|
|
1561
1573
|
Accept: "application/json,text/javascript,*/*",
|
|
1562
1574
|
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
|
|
1563
1575
|
},
|
|
1564
|
-
onComplete(
|
|
1565
|
-
const a = JSON.parse(
|
|
1576
|
+
onComplete(o) {
|
|
1577
|
+
const a = JSON.parse(o), r = [];
|
|
1566
1578
|
a.result.forEach((p) => {
|
|
1567
1579
|
p.users = p.users.sort((u, m) => u.login.localeCompare(m.login)), p.users.length === t.length && r.push(p);
|
|
1568
1580
|
});
|
|
@@ -1574,20 +1586,20 @@ function Q(e, t, n, s) {
|
|
|
1574
1586
|
});
|
|
1575
1587
|
n && l !== void 0 ? n(l) : (s || l === void 0) && s(l);
|
|
1576
1588
|
},
|
|
1577
|
-
onFailure(
|
|
1578
|
-
const a =
|
|
1589
|
+
onFailure(o) {
|
|
1590
|
+
const a = o;
|
|
1579
1591
|
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), s && s(a);
|
|
1580
1592
|
}
|
|
1581
1593
|
});
|
|
1582
1594
|
});
|
|
1583
1595
|
}
|
|
1584
1596
|
function j(e, t, n = void 0, s = void 0) {
|
|
1585
|
-
const
|
|
1597
|
+
const i = {
|
|
1586
1598
|
base: e.space,
|
|
1587
1599
|
uri: "/api/community",
|
|
1588
1600
|
id_msg: `${t.id_msg}`,
|
|
1589
1601
|
endUri: "/instantmessages"
|
|
1590
|
-
}, c = `${
|
|
1602
|
+
}, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
|
|
1591
1603
|
author: { login: t.senderId, displayName: t.senderName },
|
|
1592
1604
|
accessState: null,
|
|
1593
1605
|
commentUri: null,
|
|
@@ -1605,7 +1617,7 @@ function j(e, t, n = void 0, s = void 0) {
|
|
|
1605
1617
|
Accept: "application/json",
|
|
1606
1618
|
"X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
|
|
1607
1619
|
},
|
|
1608
|
-
data: JSON.stringify(
|
|
1620
|
+
data: JSON.stringify(o),
|
|
1609
1621
|
type: "json",
|
|
1610
1622
|
onComplete(r, d, l) {
|
|
1611
1623
|
const p = r;
|
|
@@ -1636,15 +1648,15 @@ const ee = {
|
|
|
1636
1648
|
// id de l'idee qui est créer au post (_3dSwym_postIdea)
|
|
1637
1649
|
};
|
|
1638
1650
|
function Be(e, t, n = void 0, s = void 0) {
|
|
1639
|
-
const
|
|
1651
|
+
const i = `${e.space}/api/idea/add`, c = e.swymCommunities.find(
|
|
1640
1652
|
(r) => r.id === t.community_id
|
|
1641
|
-
),
|
|
1653
|
+
), o = e.swymCommunities.find(
|
|
1642
1654
|
(r) => r.title.toLowerCase() === t.community_title.toLowerCase()
|
|
1643
1655
|
), a = {
|
|
1644
1656
|
params: {
|
|
1645
1657
|
title: t.title,
|
|
1646
1658
|
// String, le nom de l'affaire
|
|
1647
|
-
community_id: c?.id !== void 0 ? c.id :
|
|
1659
|
+
community_id: c?.id !== void 0 ? c.id : o.id,
|
|
1648
1660
|
// String, l'id de la communauté
|
|
1649
1661
|
message: te(t.text_html),
|
|
1650
1662
|
// STRING => le contenue du message doit être au format HTML
|
|
@@ -1658,7 +1670,7 @@ function Be(e, t, n = void 0, s = void 0) {
|
|
|
1658
1670
|
Accept: "application/json",
|
|
1659
1671
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
|
|
1660
1672
|
};
|
|
1661
|
-
f(
|
|
1673
|
+
f(i, {
|
|
1662
1674
|
method: "POST",
|
|
1663
1675
|
headers: d,
|
|
1664
1676
|
data: JSON.stringify(a),
|
|
@@ -1675,19 +1687,19 @@ function Be(e, t, n = void 0, s = void 0) {
|
|
|
1675
1687
|
});
|
|
1676
1688
|
}
|
|
1677
1689
|
function Ye(e, t, n = void 0, s = void 0) {
|
|
1678
|
-
const
|
|
1690
|
+
const i = `${e.space}/api/idea/delete`, c = {
|
|
1679
1691
|
params: {
|
|
1680
1692
|
community_id: t.community_id,
|
|
1681
1693
|
ideationIds: [t.idee_id]
|
|
1682
1694
|
}
|
|
1683
1695
|
};
|
|
1684
|
-
w(e, (
|
|
1685
|
-
f(
|
|
1696
|
+
w(e, (o) => {
|
|
1697
|
+
f(i, {
|
|
1686
1698
|
method: "POST",
|
|
1687
1699
|
headers: {
|
|
1688
1700
|
"Content-type": "application/json;charset=UTF-8",
|
|
1689
1701
|
Accept: "application/json",
|
|
1690
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1702
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1691
1703
|
},
|
|
1692
1704
|
data: JSON.stringify(c),
|
|
1693
1705
|
type: "json",
|
|
@@ -1702,9 +1714,9 @@ function Ye(e, t, n = void 0, s = void 0) {
|
|
|
1702
1714
|
});
|
|
1703
1715
|
}
|
|
1704
1716
|
function He(e, t = "", n = void 0, s = void 0) {
|
|
1705
|
-
const
|
|
1706
|
-
t === "" && (t =
|
|
1707
|
-
const c = `${e.space}/api/idea/get`,
|
|
1717
|
+
const i = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
|
|
1718
|
+
t === "" && (t = i);
|
|
1719
|
+
const c = `${e.space}/api/idea/get`, o = {
|
|
1708
1720
|
params: {
|
|
1709
1721
|
id: t
|
|
1710
1722
|
}
|
|
@@ -1717,7 +1729,7 @@ function He(e, t = "", n = void 0, s = void 0) {
|
|
|
1717
1729
|
Accept: "application/json",
|
|
1718
1730
|
"X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
|
|
1719
1731
|
},
|
|
1720
|
-
data: JSON.stringify(
|
|
1732
|
+
data: JSON.stringify(o),
|
|
1721
1733
|
type: "json",
|
|
1722
1734
|
onComplete(r) {
|
|
1723
1735
|
const d = r;
|
|
@@ -1731,16 +1743,16 @@ function He(e, t = "", n = void 0, s = void 0) {
|
|
|
1731
1743
|
});
|
|
1732
1744
|
}
|
|
1733
1745
|
function ze(e, t = ee, n = void 0, s = void 0) {
|
|
1734
|
-
const
|
|
1746
|
+
const i = {
|
|
1735
1747
|
uri: "/api/idea/list",
|
|
1736
1748
|
comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
|
|
1737
1749
|
limit: `/limit/${t.limit ? t.limit : 10}`
|
|
1738
|
-
}, c = `${e.space}${
|
|
1739
|
-
w(e, (
|
|
1750
|
+
}, c = `${e.space}${i.uri}${i.comId}${i.limit}`;
|
|
1751
|
+
w(e, (o) => {
|
|
1740
1752
|
f(c, {
|
|
1741
1753
|
method: "GET",
|
|
1742
1754
|
headers: {
|
|
1743
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1755
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1744
1756
|
},
|
|
1745
1757
|
onComplete(a) {
|
|
1746
1758
|
const r = JSON.parse(a);
|
|
@@ -1832,16 +1844,16 @@ function qe(e, t = void 0, n = void 0) {
|
|
|
1832
1844
|
const s = e.space + "/api/user/getcurrent/";
|
|
1833
1845
|
w(
|
|
1834
1846
|
e,
|
|
1835
|
-
(
|
|
1847
|
+
(i) => {
|
|
1836
1848
|
f(s, {
|
|
1837
1849
|
method: "GET",
|
|
1838
|
-
headers: { "X-DS-SWYM-CSRFTOKEN":
|
|
1839
|
-
onComplete(c,
|
|
1850
|
+
headers: { "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken },
|
|
1851
|
+
onComplete(c, o, a) {
|
|
1840
1852
|
const r = JSON.parse(c);
|
|
1841
1853
|
t && t(r.result);
|
|
1842
1854
|
},
|
|
1843
|
-
onFailure(c,
|
|
1844
|
-
n && n({ response: c, headers:
|
|
1855
|
+
onFailure(c, o, a) {
|
|
1856
|
+
n && n({ response: c, headers: o, xhr: a });
|
|
1845
1857
|
}
|
|
1846
1858
|
});
|
|
1847
1859
|
},
|
|
@@ -1849,19 +1861,19 @@ function qe(e, t = void 0, n = void 0) {
|
|
|
1849
1861
|
);
|
|
1850
1862
|
}
|
|
1851
1863
|
function Qe(e, t, n = void 0, s = void 0) {
|
|
1852
|
-
const
|
|
1864
|
+
const i = e.space + "/api/user/find/login/" + t;
|
|
1853
1865
|
w(
|
|
1854
1866
|
e,
|
|
1855
1867
|
(c) => {
|
|
1856
|
-
f(
|
|
1868
|
+
f(i, {
|
|
1857
1869
|
method: "GET",
|
|
1858
1870
|
headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
|
|
1859
|
-
onComplete(
|
|
1860
|
-
const d = JSON.parse(
|
|
1871
|
+
onComplete(o, a, r) {
|
|
1872
|
+
const d = JSON.parse(o);
|
|
1861
1873
|
n && n(d);
|
|
1862
1874
|
},
|
|
1863
|
-
onFailure(
|
|
1864
|
-
s && s(
|
|
1875
|
+
onFailure(o) {
|
|
1876
|
+
s && s(o);
|
|
1865
1877
|
}
|
|
1866
1878
|
});
|
|
1867
1879
|
},
|
|
@@ -1920,10 +1932,10 @@ export {
|
|
|
1920
1932
|
Se as createUserGroups,
|
|
1921
1933
|
V as dataMixing,
|
|
1922
1934
|
we as deleteUserGroups,
|
|
1923
|
-
|
|
1935
|
+
oe as findAdresse,
|
|
1924
1936
|
Ae as getAllContextSecurity,
|
|
1925
1937
|
je as getCSRFToken,
|
|
1926
|
-
|
|
1938
|
+
ie as getCommunes,
|
|
1927
1939
|
_e as getComplementUG,
|
|
1928
1940
|
Re as getDataFrom3DSpace,
|
|
1929
1941
|
re as getDataFromGouvFr,
|