@3dverse/api 0.10.1 → 0.10.2
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/_prebuild/wrapper.d.ts +813 -293
- package/dist/index.js +14 -16
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +14 -15
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -876,15 +876,6 @@ function schedulePipeline({
|
|
|
876
876
|
headers
|
|
877
877
|
});
|
|
878
878
|
}
|
|
879
|
-
function getPipeline({
|
|
880
|
-
pipeline_id
|
|
881
|
-
}, headers) {
|
|
882
|
-
return axiosInstance({
|
|
883
|
-
method: "get",
|
|
884
|
-
url: "/pipelines/" + encodeURIComponent(pipeline_id),
|
|
885
|
-
headers
|
|
886
|
-
});
|
|
887
|
-
}
|
|
888
879
|
function listAssets({
|
|
889
880
|
offset = 0,
|
|
890
881
|
limit = 10,
|
|
@@ -1453,7 +1444,8 @@ function createSession({
|
|
|
1453
1444
|
scene_id,
|
|
1454
1445
|
renderer_version,
|
|
1455
1446
|
is_transient = false,
|
|
1456
|
-
options
|
|
1447
|
+
options,
|
|
1448
|
+
metadata
|
|
1457
1449
|
}, headers) {
|
|
1458
1450
|
return axiosInstance({
|
|
1459
1451
|
method: "post",
|
|
@@ -1462,7 +1454,8 @@ function createSession({
|
|
|
1462
1454
|
scene_id,
|
|
1463
1455
|
renderer_version,
|
|
1464
1456
|
is_transient,
|
|
1465
|
-
options
|
|
1457
|
+
options,
|
|
1458
|
+
metadata
|
|
1466
1459
|
},
|
|
1467
1460
|
headers
|
|
1468
1461
|
});
|
|
@@ -1487,13 +1480,15 @@ function killSession({
|
|
|
1487
1480
|
}
|
|
1488
1481
|
function joinSession({
|
|
1489
1482
|
session_id,
|
|
1490
|
-
is_headless = false
|
|
1483
|
+
is_headless = false,
|
|
1484
|
+
metadata
|
|
1491
1485
|
}, headers) {
|
|
1492
1486
|
return axiosInstance({
|
|
1493
1487
|
method: "post",
|
|
1494
1488
|
url: "/sessions/" + encodeURIComponent(session_id) + "/clients",
|
|
1495
1489
|
data: optionalBody({
|
|
1496
|
-
is_headless
|
|
1490
|
+
is_headless,
|
|
1491
|
+
metadata
|
|
1497
1492
|
}),
|
|
1498
1493
|
headers
|
|
1499
1494
|
});
|
|
@@ -1518,10 +1513,15 @@ function kickClientFromSession({
|
|
|
1518
1513
|
headers
|
|
1519
1514
|
});
|
|
1520
1515
|
}
|
|
1521
|
-
function joinSessionAsGuest(
|
|
1516
|
+
function joinSessionAsGuest({
|
|
1517
|
+
metadata
|
|
1518
|
+
}, headers) {
|
|
1522
1519
|
return axiosInstance({
|
|
1523
1520
|
method: "post",
|
|
1524
1521
|
url: "/sessions/guests",
|
|
1522
|
+
data: optionalBody({
|
|
1523
|
+
metadata
|
|
1524
|
+
}),
|
|
1525
1525
|
headers
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
@@ -1678,7 +1678,6 @@ export {
|
|
|
1678
1678
|
getFolderAssets,
|
|
1679
1679
|
getFolderInfo,
|
|
1680
1680
|
getGroup,
|
|
1681
|
-
getPipeline,
|
|
1682
1681
|
getRunningSessions,
|
|
1683
1682
|
getSceneAABB,
|
|
1684
1683
|
getSceneSessions,
|