@3dverse/api 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -451,6 +451,7 @@ export type GetSessionsInFolder_Session = {
451
451
  created_at: string;
452
452
  country_code: string;
453
453
  continent_code: string;
454
+ is_transient_session: boolean;
454
455
  clients: Array<GetSessionsInFolder_UserInfo>;
455
456
  };
456
457
  export type GetSessionsInFolder_UserInfo = {
@@ -935,6 +936,7 @@ export type GetSceneSessions_Session = {
935
936
  created_at: string;
936
937
  country_code: string;
937
938
  continent_code: string;
939
+ is_transient_session: boolean;
938
940
  clients: Array<GetSceneSessions_UserInfo>;
939
941
  };
940
942
  export type GetSceneSessions_UserInfo = {
@@ -1658,9 +1660,10 @@ export declare function deleteEntity({ scene_id, entity_id }: {
1658
1660
  export type CreateSession_Object = {
1659
1661
  session_id: string;
1660
1662
  };
1661
- export declare function createSession({ scene_id, renderer_version }: {
1663
+ export declare function createSession({ scene_id, renderer_version, is_transient }: {
1662
1664
  scene_id: string;
1663
1665
  renderer_version?: string;
1666
+ is_transient?: boolean;
1664
1667
  }): AxiosPromise<CreateSession_Object>;
1665
1668
  export type GetSession_Session = {
1666
1669
  session_id: string;
@@ -1672,6 +1675,7 @@ export type GetSession_Session = {
1672
1675
  created_at: string;
1673
1676
  country_code: string;
1674
1677
  continent_code: string;
1678
+ is_transient_session: boolean;
1675
1679
  clients: Array<GetSession_UserInfo>;
1676
1680
  };
1677
1681
  export type GetSession_UserInfo = {
package/dist/index.js CHANGED
@@ -832,14 +832,16 @@ function deleteEntity({
832
832
  }
833
833
  function createSession({
834
834
  scene_id,
835
- renderer_version
835
+ renderer_version,
836
+ is_transient = false
836
837
  }) {
837
838
  return axiosInstance({
838
839
  method: "post",
839
840
  url: "/sessions",
840
841
  data: {
841
842
  scene_id,
842
- renderer_version
843
+ renderer_version,
844
+ is_transient
843
845
  }
844
846
  });
845
847
  }