@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/index.js CHANGED
@@ -92,7 +92,6 @@ __export(index_exports, {
92
92
  getFolderAssets: () => getFolderAssets,
93
93
  getFolderInfo: () => getFolderInfo,
94
94
  getGroup: () => getGroup,
95
- getPipeline: () => getPipeline,
96
95
  getRunningSessions: () => getRunningSessions,
97
96
  getSceneAABB: () => getSceneAABB,
98
97
  getSceneSessions: () => getSceneSessions,
@@ -1022,15 +1021,6 @@ function schedulePipeline({
1022
1021
  headers
1023
1022
  });
1024
1023
  }
1025
- function getPipeline({
1026
- pipeline_id
1027
- }, headers) {
1028
- return axiosInstance({
1029
- method: "get",
1030
- url: "/pipelines/" + encodeURIComponent(pipeline_id),
1031
- headers
1032
- });
1033
- }
1034
1024
  function listAssets({
1035
1025
  offset = 0,
1036
1026
  limit = 10,
@@ -1599,7 +1589,8 @@ function createSession({
1599
1589
  scene_id,
1600
1590
  renderer_version,
1601
1591
  is_transient = false,
1602
- options
1592
+ options,
1593
+ metadata
1603
1594
  }, headers) {
1604
1595
  return axiosInstance({
1605
1596
  method: "post",
@@ -1608,7 +1599,8 @@ function createSession({
1608
1599
  scene_id,
1609
1600
  renderer_version,
1610
1601
  is_transient,
1611
- options
1602
+ options,
1603
+ metadata
1612
1604
  },
1613
1605
  headers
1614
1606
  });
@@ -1633,13 +1625,15 @@ function killSession({
1633
1625
  }
1634
1626
  function joinSession({
1635
1627
  session_id,
1636
- is_headless = false
1628
+ is_headless = false,
1629
+ metadata
1637
1630
  }, headers) {
1638
1631
  return axiosInstance({
1639
1632
  method: "post",
1640
1633
  url: "/sessions/" + encodeURIComponent(session_id) + "/clients",
1641
1634
  data: optionalBody({
1642
- is_headless
1635
+ is_headless,
1636
+ metadata
1643
1637
  }),
1644
1638
  headers
1645
1639
  });
@@ -1664,10 +1658,15 @@ function kickClientFromSession({
1664
1658
  headers
1665
1659
  });
1666
1660
  }
1667
- function joinSessionAsGuest(headers) {
1661
+ function joinSessionAsGuest({
1662
+ metadata
1663
+ }, headers) {
1668
1664
  return axiosInstance({
1669
1665
  method: "post",
1670
1666
  url: "/sessions/guests",
1667
+ data: optionalBody({
1668
+ metadata
1669
+ }),
1671
1670
  headers
1672
1671
  });
1673
1672
  }
@@ -1825,7 +1824,6 @@ installInterceptors();
1825
1824
  getFolderAssets,
1826
1825
  getFolderInfo,
1827
1826
  getGroup,
1828
- getPipeline,
1829
1827
  getRunningSessions,
1830
1828
  getSceneAABB,
1831
1829
  getSceneSessions,