@3dverse/api 0.8.17 → 0.8.19

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../index.ts", "../_prebuild/wrapper.ts"],
4
- "sourcesContent": ["//--------------------------------------------------------------------------\nimport { AxiosError } from 'axios';\nimport axiosRetry, { isNetworkError, isIdempotentRequestError } from 'axios-retry';\n\n//--------------------------------------------------------------------------\nimport { axiosInstance } from './_prebuild/wrapper';\n\n//------------------------------------------------------------------------------\nexport function setApiKey(apiKey: string) {\n axiosInstance.defaults.headers.common['api_key'] = apiKey;\n delete axiosInstance.defaults.headers.common['user_token'];\n}\n\n//------------------------------------------------------------------------------\nexport function setUserToken(userToken: string) {\n axiosInstance.defaults.headers.common['user_token'] = userToken;\n delete axiosInstance.defaults.headers.common['api_key'];\n}\n\n//------------------------------------------------------------------------------\nabstract class ServiceError extends Error {\n errorCode: number;\n httpCode: number;\n message: string;\n\n //--------------------------------------------------------------------------\n constructor(errorCode: number, httpCode: number, message: string) {\n super();\n this.errorCode = errorCode;\n this.httpCode = httpCode;\n this.message = message;\n }\n}\n\n//------------------------------------------------------------------------------\nexport class ApiError extends ServiceError {\n serviceError: unknown;\n\n constructor(errorCode: number, status: number, message: string, serviceError: unknown) {\n super(errorCode, status, message);\n this.serviceError = serviceError;\n }\n}\n\n//------------------------------------------------------------------------------\nexport class UnexpectedServiceError extends ServiceError {\n unexpectedError: unknown;\n\n constructor(status: number, unexpectedError: unknown) {\n super(0, status, 'Unexpected service error error');\n this.unexpectedError = unexpectedError;\n }\n}\n\n//------------------------------------------------------------------------------\nfunction installInterceptors() {\n const CLIENT_ERROR = 400 as const;\n const INTERNAL_SERVER_ERROR = 500 as const;\n\n axiosRetry(axiosInstance, {\n retries: 5,\n retryDelay: axiosRetry.exponentialDelay,\n retryCondition: shouldRetryRequest,\n });\n\n axiosInstance.interceptors.response.use(\n successFulResponse => {\n if (successFulResponse.config.responseType === 'stream') {\n successFulResponse.data.pause();\n }\n\n return successFulResponse;\n },\n error => {\n if (!error.response) {\n return Promise.reject(error);\n }\n\n const axiosError = error as AxiosError;\n const status = axiosError.response?.status || INTERNAL_SERVER_ERROR;\n const errorData = axiosError.response?.data;\n\n if (\n !errorData &&\n axiosError.request.method === 'HEAD' &&\n status >= CLIENT_ERROR &&\n status < INTERNAL_SERVER_ERROR\n ) {\n return axiosError.response;\n }\n\n if (!errorData || typeof errorData !== 'object') {\n return Promise.reject(new UnexpectedServiceError(status, errorData));\n }\n\n const serviceError = errorData as ServiceError;\n return Promise.reject(new ApiError(serviceError.errorCode, status, serviceError.message, serviceError));\n },\n );\n}\n\n//------------------------------------------------------------------------------\nfunction shouldRetryRequest(error: AxiosError) {\n const status = error.response?.status;\n\n switch (status) {\n case 403:\n case 404:\n return true;\n\n default:\n return isNetworkError(error) || isIdempotentRequestError(error);\n }\n}\n\n//------------------------------------------------------------------------------\ninstallInterceptors();\n\n//------------------------------------------------------------------------------\nexport * from './_prebuild/wrapper';\n", "/**\n * Asset API v1.0\n * ## Getting Started\n *\n *This is the reference for the REST API endpoints.\n *\n *### NPM package\n *\n *We provide a TypeScript wrapper library to make typesafe API requests and get typed responses: [https://www.npmjs.com/package/@3dverse/api](https://www.npmjs.com/package/@3dverse/api).\n *\n *### Authentication\n *\n *To authenticate your API calls, you'll need to generate an API key via the [3dverse Console](https://console.3dverse.com) and send an `api_key` header with your API requests.\n *Alternatively, you can create a user, generate a token for the user and authenticate with a `user_token`.\n *\n *\n *---\n *\n *\n * Contact: 3dverse Support (support@3dverse.com)\n *\n * DO NOT EDIT THIS FILE MANUALLY.\n * This file has been generated automatically from its OpenAPI spec file.\n * See: https://gitlab.com/3dverse/platform/libs/js/openapi-client-library-generator\n */\n\n//--------------------------------------------------------------------------\nimport axios, { AxiosPromise, AxiosRequestHeaders, AxiosError, AxiosProgressEvent } from 'axios';\n\n//--------------------------------------------------------------------------\ntype UnionKeys<T> = T extends T ? keyof T : never;\ntype StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\n//--------------------------------------------------------------------------\nexport const axiosInstance = axios.create({\n baseURL: 'https://api.3dverse.com/app/v1',\n});\n\n//------------------------------------------------------------------------------\nexport function setBaseURL(baseURL: string) {\n axiosInstance.defaults.baseURL = baseURL;\n}\n\n//--------------------------------------------------------------------------\nexport type ListUsers_User_UserInfo = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Retrieve a list of all users in the current application.\n */\nexport function listUsers(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListUsers_User_UserInfo>> {\n return axiosInstance({\n method: 'get',\n url: '/users',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type RegisterUser_User_UserInfo = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Registers the target user in the current application.\n */\nexport function registerUser(\n {\n username,\n }: {\n username: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<RegisterUser_User_UserInfo> {\n return axiosInstance({\n method: 'post',\n url: '/users',\n data: {\n username: username,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetCurrentUser_User_UserInfo = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Retrieves details about the current user.\n */\nexport function getCurrentUser(headers?: AxiosRequestHeaders): AxiosPromise<GetCurrentUser_User_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/users/me',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUser_User_UserInfo = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Retrieves details about the target user.\n */\nexport function getUser(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetUser_User_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates the details of the target user.\n */\nexport function updateUser(\n {\n user_id,\n username,\n }: {\n user_id: string;\n username: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/users/' + user_id + '',\n data: {\n username: username,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type DeleteUser_Object = {\n deleted_assets?: DeleteUser_Object;\n};\n/**\n * Deletes the target user.\n */\nexport function deleteUser(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<DeleteUser_Object> {\n return axiosInstance({\n method: 'delete',\n url: '/users/' + user_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GenerateUserToken_Token = {\n user_token: string;\n expires_in: number;\n expires_on: number;\n};\n/**\n * Generates a user token. This user token identifies the user when making a request.\n */\nexport function generateUserToken(\n {\n user_id,\n scope,\n ttl = '1h',\n }: {\n user_id: string;\n scope: 'read' | 'write' | 'manage';\n ttl?: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GenerateUserToken_Token> {\n return axiosInstance({\n method: 'post',\n url: '/users/' + user_id + '/tokens',\n data: {\n scope: scope,\n ttl: ttl,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUserGroups_Group_GroupInfo = {\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<GetUserGroups_GroupMember_GroupAccess>;\n};\nexport type GetUserGroups_GroupMember_GroupAccess = {\n user_id: string;\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Lists all user groups.\n */\nexport function getUserGroups(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUserGroups_Group_GroupInfo>> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '/groups',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUserUploadTasks_UploadTask = {\n upload_task_id: string;\n folder_id: string;\n uploaded_at: string;\n uploaded_by: GetUserUploadTasks_Object;\n progress: number;\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUserUploadTasks_ConversionTask>;\n};\nexport type GetUserUploadTasks_Object = {\n user_id: string;\n username: string;\n};\nexport type GetUserUploadTasks_ConversionTask = {\n asset_id: string;\n source_file_id: string;\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Lists all upload tasks of the target user.\n */\nexport function getUserUploadTasks(\n {\n user_id,\n offset = 0,\n limit = 10,\n }: {\n user_id: string;\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUserUploadTasks_UploadTask>> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateGroup_GroupMember_GroupAccess = {\n user_id: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\nexport type CreateGroup_Group_GroupInfo = {\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<CreateGroup_GroupMember_GroupAccess_Writable>;\n};\nexport type CreateGroup_GroupMember_GroupAccess_Writable = {\n user_id: string;\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Creates a new user group.\n */\nexport function createGroup(\n {\n name,\n description,\n members,\n }: {\n name: string;\n description?: string;\n members: Array<CreateGroup_GroupMember_GroupAccess>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateGroup_Group_GroupInfo> {\n return axiosInstance({\n method: 'post',\n url: '/groups',\n data: {\n name: name,\n description: description,\n members: members,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetGroup_Group_GroupInfo = {\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<GetGroup_GroupMember_GroupAccess>;\n};\nexport type GetGroup_GroupMember_GroupAccess = {\n user_id: string;\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Gets a group details.\n */\nexport function getGroup(\n {\n group_id,\n }: {\n group_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetGroup_Group_GroupInfo> {\n return axiosInstance({\n method: 'get',\n url: '/groups/' + group_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates a group details.\n */\nexport function updateGroupDescription(\n {\n group_id,\n name,\n description,\n }: {\n group_id: string;\n name: string;\n description: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/groups/' + group_id + '',\n data: {\n name: name,\n description: description,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes a group and all its access rights.\n */\nexport function deleteGroup(\n {\n group_id,\n }: {\n group_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/groups/' + group_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Grants member access to the group.\n */\nexport function grantMemberAccessToGroup(\n {\n group_id,\n member_type,\n member_id,\n group_access,\n folder_access,\n }: {\n group_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/groups/' + group_id + '/members/' + member_type + '/' + member_id + '',\n data: {\n group_access: group_access,\n folder_access: folder_access,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Revoke requested user access to group.\n */\nexport function revokeMemberAccessToGroup(\n {\n group_id,\n member_type,\n member_id,\n }: {\n group_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/groups/' + group_id + '/members/' + member_type + '/' + member_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolders_Folder = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: ListFolders_Object;\n subfolders?: Array<ListFolders_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type ListFolders_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Lists all accessible folders.\n */\nexport function listFolders(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListFolders_Folder>> {\n return axiosInstance({\n method: 'get',\n url: '/folders',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateFolder_Folder = {\n name: string;\n subfolders?: Array<CreateFolder_Folder>;\n};\nexport type CreateFolder_Folder_Writable = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: CreateFolder_Object;\n subfolders?: Array<CreateFolder_Folder_Writable>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type CreateFolder_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Creates a folder.\n */\nexport function createFolder(\n {\n name,\n subfolders,\n }: {\n name: string;\n subfolders?: Array<CreateFolder_Folder>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateFolder_Folder_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/folders',\n data: {\n name: name,\n subfolders: subfolders,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetFolderInfo_Folder = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: GetFolderInfo_Object;\n subfolders?: Array<GetFolderInfo_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type GetFolderInfo_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Gets the requested folder details.\n */\nexport function getFolderInfo(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetFolderInfo_Folder> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move folders inside the specified folder.\n */\nexport function moveFolders(\n {\n folder_id,\n folder_ids,\n }: {\n folder_id: string;\n folder_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '',\n data: folder_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates the folder details.\n */\nexport function updateFolder(\n {\n folder_id,\n name,\n }: {\n folder_id: string;\n name?: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/folders/' + folder_id + '',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the requested folder. The target folder must be empty.\n */\nexport function deleteFolder(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/folders/' + folder_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolderAccesses_Object = {\n users?: Array<ListFolderAccesses_UserInfo_FolderAccess>;\n groups?: Array<ListFolderAccesses_GroupInfo_FolderAccess>;\n};\nexport type ListFolderAccesses_UserInfo_FolderAccess = {\n user_id: string;\n username: string;\n access: 'read' | 'write' | 'manage';\n};\nexport type ListFolderAccesses_GroupInfo_FolderAccess = {\n group_id: string;\n name: string;\n access: 'read' | 'write' | 'manage';\n};\n/**\n * List member access to the targeted folder.\n */\nexport function listFolderAccesses(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ListFolderAccesses_Object> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/access',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Grants member access to the targeted folder.\n */\nexport function grantMemberAccessToFolder(\n {\n folder_id,\n member_type,\n member_id,\n access,\n }: {\n folder_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n access: 'read' | 'write' | 'manage';\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/access/' + member_type + '/' + member_id + '',\n data: {\n access: access,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Revokes member access to a target folder.\n */\nexport function revokeMemberAccessToFolder(\n {\n folder_id,\n member_type,\n member_id,\n }: {\n folder_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/folders/' + folder_id + '/access/' + member_type + '/' + member_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateSubfolder_Folder = {\n name: string;\n subfolders?: Array<CreateSubfolder_Folder>;\n};\nexport type CreateSubfolder_Folder_Writable = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: CreateSubfolder_Object;\n subfolders?: Array<CreateSubfolder_Folder_Writable>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type CreateSubfolder_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Creates a subfolder.\n */\nexport function createSubfolder(\n {\n folder_id,\n name,\n subfolders,\n }: {\n folder_id: string;\n name: string;\n subfolders?: Array<CreateSubfolder_Folder>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateSubfolder_Folder_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/folders',\n data: {\n name: name,\n subfolders: subfolders,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolderSubFolders_Folder = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: ListFolderSubFolders_Object;\n subfolders?: Array<ListFolderSubFolders_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type ListFolderSubFolders_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Lists all subfolders of requested folder. This request can be recursive.\n */\nexport function listFolderSubFolders(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListFolderSubFolders_Folder>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/folders',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UploadSourceFiles_Object = {\n upload_task_id?: string;\n};\n/**\n * Uploads the specified source file(s).\n * The supported file formats are:\n * - Scene :\n * - Mesh : `fbx, obj/mtl, stl, ply, ifc, usd, usda, usdc, usdz, skp, ptf, 3ds, 3mf, ac, ac3d, acc, amj, ase, ask, b3d, blend, bvh, cms, cob, dae, dxf, gltf/bin, glb, enff, hmb, irr, irrmesh, lwo, lws, lxo, m3d, md2, md3, md5, mdc, mdl, xml, mot, ms3d, ndo, nff, off, ogex, pmx, prj, q3o, q3s, raw, scn, sib, smd, ter, uc, vta, wrl, x, x3d, xgl, zgl`\n * - Point cloud : `e57, ptx, xyz, las, laz`\n * - Volume : `dcm`\n * - Texture : `jpg, jpeg, png, tga, dds, tif, tiff, bmp, rgbe`\n * - Cubemap : `hdr`\n * - Sound : `wav, mp3, ogg, flac`.\n */\nexport function uploadSourceFiles(\n {\n folder_id,\n body,\n }: {\n folder_id: string;\n body: FormData;\n },\n onUploadProgress?: (progressEvent: AxiosProgressEvent) => void,\n headers?: AxiosRequestHeaders,\n): AxiosPromise<UploadSourceFiles_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/source-files',\n data: body,\n onUploadProgress: onUploadProgress,\n headers: {\n 'Content-Type': 'multipart/form-data',\n ...headers,\n },\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFilesInFolder_Filters = {\n source_file_name?: string;\n};\nexport type GetSourceFilesInFolder_SourceFile = {\n source_file_id: string;\n source_file_original_name: string;\n name: string;\n size: number;\n};\n/**\n * Lists all source files in a folder.\n */\nexport function getSourceFilesInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filters,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n filters?: GetSourceFilesInFolder_Filters;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/source-files',\n params: {\n offset: offset,\n limit: limit,\n filters: filters,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-source-files-count'] = JSON.parse(response.headers['x-source-files-count']) as number;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move source files inside the specified folder.\n */\nexport function moveSourceFiles(\n {\n folder_id,\n source_file_ids,\n }: {\n folder_id: string;\n source_file_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/source-files',\n data: source_file_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUploadTasksInFolder_UploadTask = {\n upload_task_id: string;\n folder_id: string;\n uploaded_at: string;\n uploaded_by: GetUploadTasksInFolder_Object;\n progress: number;\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUploadTasksInFolder_ConversionTask>;\n};\nexport type GetUploadTasksInFolder_Object = {\n user_id: string;\n username: string;\n};\nexport type GetUploadTasksInFolder_ConversionTask = {\n asset_id: string;\n source_file_id: string;\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Lists all upload tasks in a folder.\n */\nexport function getUploadTasksInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetFolderAssets_Filters = {\n asset_name?: string;\n asset_type?:\n | Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n source_file?: Array<string> | string | 'exclude';\n};\nexport type GetFolderAssets_AssetCount = {\n total: number;\n [asset_type: string]: number;\n};\nexport type GetFolderAssets__index_AssetList_AssetList = {\n action_maps?: Array<GetFolderAssets_Object>;\n animation_graphs?: Array<GetFolderAssets_Object>;\n animation_sequences?: Array<GetFolderAssets_Object>;\n animation_sets?: Array<GetFolderAssets_Object>;\n animations?: Array<GetFolderAssets_Object>;\n collision_geometries?: Array<GetFolderAssets_Object>;\n cubemaps?: Array<GetFolderAssets_Object>;\n event_maps?: Array<GetFolderAssets_Object>;\n materials?: Array<GetFolderAssets_Object>;\n meshes?: Array<GetFolderAssets_Object>;\n modules?: Array<GetFolderAssets_Object>;\n point_clouds?: Array<GetFolderAssets_Object>;\n render_graphs?: Array<GetFolderAssets_Object>;\n scenes?: Array<GetFolderAssets_Object>;\n scripts?: Array<GetFolderAssets_Object>;\n shaders?: Array<GetFolderAssets_Object>;\n skeletons?: Array<GetFolderAssets_Object>;\n sounds?: Array<GetFolderAssets_Object>;\n textures?: Array<GetFolderAssets_Object>;\n textures_1d?: Array<GetFolderAssets_Object>;\n textures_3d?: Array<GetFolderAssets_Object>;\n volume_materials?: Array<GetFolderAssets_Object>;\n};\nexport type GetFolderAssets_Object = {\n asset_id: string;\n name: string;\n};\n/**\n * Lists assets.\n */\nexport function getFolderAssets(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filter,\n recursive = false,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n filter?: GetFolderAssets_Filters;\n recursive?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetFolderAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/assets',\n params: {\n offset: offset,\n limit: limit,\n filter: filter,\n recursive: recursive,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-assets-count'] = JSON.parse(\n response.headers['x-assets-count'],\n ) as GetFolderAssets_AssetCount;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateAsset_NewAsset = {\n asset_type:\n | 'action_map'\n | 'animation_graph'\n | 'animation_sequence'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'module'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'volume_material';\n name: string;\n};\nexport type CreateAsset_AssetDuplication = {\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n copy_from_asset_id: string;\n new_asset_name?: string;\n options?: CreateAsset_DuplicationOptions;\n};\nexport type CreateAsset_DuplicationOptions = {\n asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n max_depth?: number;\n};\nexport type CreateAsset_AssetDuplicationResult = {\n asset_id: string;\n name: string;\n source_to_copy_asset_id_map?: CreateAsset_SourceToCopyAssetIdMap;\n};\nexport type CreateAsset_SourceToCopyAssetIdMap = {\n [source_asset_id: string]: string;\n};\n/**\n * Creates a new asset.\n */\nexport function createAsset(\n {\n folder_id,\n asset_creation_options,\n }: {\n folder_id: string;\n asset_creation_options: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateAsset_AssetDuplicationResult> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets',\n data: asset_creation_options,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move assets inside the specified folder.\n */\nexport function moveAssets(\n {\n folder_id,\n asset_ids,\n }: {\n folder_id: string;\n asset_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/assets',\n data: asset_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateMaterial_Object = {\n asset_id: string;\n};\n/**\n * Creates a material.\n */\nexport function createMaterial(\n {\n folder_id,\n dataJson,\n isDoubleSided,\n name,\n shaderRef,\n }: {\n folder_id: string;\n dataJson: object;\n isDoubleSided: boolean;\n name: string;\n shaderRef: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateMaterial_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets/materials',\n data: {\n dataJson: dataJson,\n isDoubleSided: isDoubleSided,\n name: name,\n shaderRef: shaderRef,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateCubemap_Object = {\n asset_id: string;\n};\n/**\n * Creates a cubemap.\n */\nexport function createCubemap(\n {\n folder_id,\n faces,\n name,\n }: {\n folder_id: string;\n faces: Array<string>;\n name: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateCubemap_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets/cubemaps',\n data: {\n faces: faces,\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse = {\n asset_ids: ImportAssets_AssetIds;\n skipped_files?: Array<string>;\n};\nexport type ImportAssets_AssetIds = {\n imported: Array<string>;\n overwritten: Array<string>;\n skipped: Array<string>;\n};\n/**\n * Imports or replaces multiple assets submitted as a package.\n * The package must be a zip archive containing the assets to import.\n * The package should contain the assets themselves at the root level of the archive with their descriptions in JSON format, and their payloads (e.g. textures, meshes, etc.)\n * and contain all the assets' dependencies if they do not already exist.\n * Supported assets are :\n * - scene\n * - mesh\n * - material\n * - animation\n * - animation_set\n * - animation_graph\n * - skeleton\n * - texture_1d\n * - texture\n * - texture_3d\n * - collision_geometry\n * - cubemap\n * - volume_material\n * - event_map\n * - action_map\n * - sound\n * - point_cloud\n * The packaged assets' files should be named according to the following pattern:\n * ``` json\n * - desc.[asset_type].{uuid}\n * - payload.[mesh|texture|animation|skeleton|texture_1d|texture_3d|collision_geometry|sound].{uuid}\n * - payload.[texture_1d|texture|texture_3d].mips[0-16].{uuid}\n * - payload.point_cloud.[position|color].{uuid}\n * - payload.texture_3d.histogram.{uuid}\n * ```\n * The package may also contain an overwrite.json file that describes which assets to overwrite.\n * The overwrite.json file is only used if the overwrite query parameter is set to only-specified.\n */\nexport function importAssets(\n {\n folder_id,\n overwrite = 'never',\n body,\n }: {\n folder_id: string;\n overwrite?: 'never' | 'only-specified' | 'always';\n body: ArrayBuffer | ReadableStream;\n },\n onUploadProgress?: (progressEvent: AxiosProgressEvent) => void,\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse> {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/packages',\n params: {\n overwrite: overwrite,\n },\n data: body,\n maxRedirects: 0,\n onUploadProgress: onUploadProgress,\n headers: {\n 'Content-Type': 'application/zip',\n ...headers,\n },\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSessionsInFolder_Session = {\n session_id: string;\n scene_id: string;\n scene_name: string;\n folder_id: string;\n max_users: number;\n creator_user_id: string;\n created_at: string;\n country_code: string;\n continent_code: string;\n is_transient_session: boolean;\n clients: Array<GetSessionsInFolder_Client_UserInfo>;\n};\nexport type GetSessionsInFolder_Client_UserInfo = {\n client_id?: string;\n client_type?: 'user' | 'guest';\n user_id: string;\n username: string;\n};\n/**\n * Lists all sessions running on scenes contained in a specified folder.\n */\nexport function getSessionsInFolder(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSessionsInFolder_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/sessions',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListSourceFiles_Filters = {\n source_file_name?: string;\n};\nexport type ListSourceFiles_SourceFile = {\n source_file_id: string;\n source_file_original_name: string;\n name: string;\n size: number;\n};\n/**\n * List source files.\n */\nexport function listSourceFiles(\n {\n offset = 0,\n limit = 10,\n filters,\n }: {\n offset?: number;\n limit?: number;\n filters?: ListSourceFiles_Filters;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListSourceFiles_SourceFile>> {\n return axiosInstance({\n method: 'get',\n url: '/source-files',\n params: {\n offset: offset,\n limit: limit,\n filters: filters,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-source-files-count'] = JSON.parse(response.headers['x-source-files-count']) as number;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the target source files. Deleting a source file is permanent.\n */\nexport function deleteSourceFiles(\n {\n source_file_ids,\n delete_assets = false,\n }: {\n source_file_ids: Array<string>;\n delete_assets?: boolean;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/source-files',\n data: {\n source_file_ids: source_file_ids,\n delete_assets: delete_assets,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Downloads the target source file.\n */\nexport function downloadSourceFile<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFileDetails_SourceFile = {\n source_file_id: string;\n source_file_original_name: string;\n name: string;\n size: number;\n};\n/**\n * Get source file details.\n */\nexport function getSourceFileDetails(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSourceFileDetails_SourceFile> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '/details',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates details for a specific source file.\n */\nexport function updateSourceFileDetails(\n {\n source_file_id,\n name,\n }: {\n source_file_id: string;\n name: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/source-files/' + source_file_id + '/details',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFileAssets__index_AssetList_AssetList = {\n action_maps?: Array<GetSourceFileAssets_Object>;\n animation_graphs?: Array<GetSourceFileAssets_Object>;\n animation_sequences?: Array<GetSourceFileAssets_Object>;\n animation_sets?: Array<GetSourceFileAssets_Object>;\n animations?: Array<GetSourceFileAssets_Object>;\n collision_geometries?: Array<GetSourceFileAssets_Object>;\n cubemaps?: Array<GetSourceFileAssets_Object>;\n event_maps?: Array<GetSourceFileAssets_Object>;\n materials?: Array<GetSourceFileAssets_Object>;\n meshes?: Array<GetSourceFileAssets_Object>;\n modules?: Array<GetSourceFileAssets_Object>;\n point_clouds?: Array<GetSourceFileAssets_Object>;\n render_graphs?: Array<GetSourceFileAssets_Object>;\n scenes?: Array<GetSourceFileAssets_Object>;\n scripts?: Array<GetSourceFileAssets_Object>;\n shaders?: Array<GetSourceFileAssets_Object>;\n skeletons?: Array<GetSourceFileAssets_Object>;\n sounds?: Array<GetSourceFileAssets_Object>;\n textures?: Array<GetSourceFileAssets_Object>;\n textures_1d?: Array<GetSourceFileAssets_Object>;\n textures_3d?: Array<GetSourceFileAssets_Object>;\n volume_materials?: Array<GetSourceFileAssets_Object>;\n};\nexport type GetSourceFileAssets_Object = {\n asset_id: string;\n name: string;\n};\n/**\n * Lists all assets generated from the requested source file.\n */\nexport function getSourceFileAssets(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '/assets',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Lists all upload tasks. These upload tasks relate to uploaded source files.\n */\nexport function getUploadTasks(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<any> {\n return axiosInstance({\n method: 'get',\n url: '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUploadTask_UploadTask = {\n upload_task_id: string;\n folder_id: string;\n uploaded_at: string;\n uploaded_by: GetUploadTask_Object;\n progress: number;\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUploadTask_ConversionTask>;\n};\nexport type GetUploadTask_Object = {\n user_id: string;\n username: string;\n};\nexport type GetUploadTask_ConversionTask = {\n asset_id: string;\n source_file_id: string;\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Gets information related to an upload task. This upload task relates to uploaded source files.\n */\nexport function getUploadTask(\n {\n upload_task_id,\n }: {\n upload_task_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetUploadTask_UploadTask> {\n return axiosInstance({\n method: 'get',\n url: '/upload-tasks/' + upload_task_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets metadata related to a conversion task. This metadata is produced by the conversion task.\n */\nexport function getConversionTaskMetadata<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n conversion_task_id,\n filename,\n }: {\n conversion_task_id: string;\n filename: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/conversion_tasks/' + conversion_task_id + '/metadata/' + filename + '',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type SchedulePipeline_Object = {\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n asset_id: string;\n};\nexport type SchedulePipeline_Object_Writable = {\n pipeline_id: string;\n};\n/**\n * Schedules a data pipeline to be run.\n */\nexport function schedulePipeline(\n {\n data_pipeline_id,\n pipeline_name,\n folder_id,\n inputs,\n asset_refs,\n }: {\n data_pipeline_id: string;\n pipeline_name?: string;\n folder_id: string;\n inputs?: object;\n asset_refs?: Array<SchedulePipeline_Object>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<SchedulePipeline_Object_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/pipelines',\n data: {\n data_pipeline_id: data_pipeline_id,\n pipeline_name: pipeline_name,\n folder_id: folder_id,\n inputs: inputs,\n asset_refs: asset_refs,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetPipeline_Pipeline = {\n data_pipeline_id: string;\n environment_id: string;\n finished_at?: string;\n folder_id: string;\n jobs: Array<GetPipeline_Job>;\n name: string;\n pipeline_id: string;\n progress: number;\n queued_at?: string;\n status:\n | 'created'\n | 'downloading'\n | 'extracting'\n | 'pending-approval'\n | 'queued'\n | 'running'\n | 'passed-with-errors'\n | 'failed'\n | 'rejected'\n | 'succeeded';\n triggered_at: string;\n user_id: string;\n};\nexport type GetPipeline_Job = {\n finished_at?: string;\n job_id: string;\n name: string;\n pipeline_id: string;\n progress: number;\n queued_at?: string;\n started_at?: string;\n status: 'created' | 'queued' | 'running' | 'timed-out' | 'failed' | 'succeeded';\n steps: Array<GetPipeline_Step>;\n};\nexport type GetPipeline_Step = {\n finished_at?: string;\n job_id: string;\n name: string;\n progress: number;\n started_at?: string;\n status: 'created' | 'skipped' | 'queued' | 'running' | 'timed-out' | 'failed' | 'succeeded';\n step_id: string;\n};\n/**\n * Retrieves a specific instantiated Data Pipeline by its ID.\n */\nexport function getPipeline(\n {\n pipeline_id,\n }: {\n pipeline_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetPipeline_Pipeline> {\n return axiosInstance({\n method: 'get',\n url: '/pipelines/' + pipeline_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListAssets_Filter = {\n asset_type?:\n | Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n asset_name?: string;\n include_public_assets?: boolean;\n};\nexport type ListAssets__index_AssetList_AssetList = {\n action_maps?: Array<ListAssets_Object>;\n animation_graphs?: Array<ListAssets_Object>;\n animation_sequences?: Array<ListAssets_Object>;\n animation_sets?: Array<ListAssets_Object>;\n animations?: Array<ListAssets_Object>;\n collision_geometries?: Array<ListAssets_Object>;\n cubemaps?: Array<ListAssets_Object>;\n event_maps?: Array<ListAssets_Object>;\n materials?: Array<ListAssets_Object>;\n meshes?: Array<ListAssets_Object>;\n modules?: Array<ListAssets_Object>;\n point_clouds?: Array<ListAssets_Object>;\n render_graphs?: Array<ListAssets_Object>;\n scenes?: Array<ListAssets_Object>;\n scripts?: Array<ListAssets_Object>;\n shaders?: Array<ListAssets_Object>;\n skeletons?: Array<ListAssets_Object>;\n sounds?: Array<ListAssets_Object>;\n textures?: Array<ListAssets_Object>;\n textures_1d?: Array<ListAssets_Object>;\n textures_3d?: Array<ListAssets_Object>;\n volume_materials?: Array<ListAssets_Object>;\n};\nexport type ListAssets_Object = {\n asset_id: string;\n name: string;\n};\n/**\n * Returns a list of all assets.\n */\nexport function listAssets(\n {\n offset = 0,\n limit = 10,\n filter,\n }: {\n offset?: number;\n limit?: number;\n filter?: ListAssets_Filter;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ListAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/assets',\n params: {\n offset: offset,\n limit: limit,\n filter: filter,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Batch delete assets. You **MUST NOT** reference assets.\n */\nexport function deleteAssets(\n {\n asset_ids,\n }: {\n asset_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets',\n data: asset_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the asset.\n */\nexport function deleteAsset(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets/' + asset_container + '/' + asset_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetSourceFile_SourceFile = {\n source_file_id: string;\n source_file_original_name: string;\n name: string;\n size: number;\n};\n/**\n * Gets the source file of the specified asset.\n */\nexport function getAssetSourceFile(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetSourceFile_SourceFile> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/source-file',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDetails__index_AssetDetails_AssetDetails = {\n asset_id: string;\n contributors?: Array<GetAssetDetails_Contributor>;\n created_at?: string;\n created_by?: GetAssetDetails_Object;\n last_edited_at?: string;\n last_edited_by?: GetAssetDetails_LastEditedBy;\n name: string;\n type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n};\nexport type GetAssetDetails_Contributor = {\n contribution_count: number;\n user: GetAssetDetails_Object;\n};\nexport type GetAssetDetails_Object = {\n registered_at: string;\n user_id: string;\n username: string;\n};\nexport type GetAssetDetails_LastEditedBy = {\n registered_at: string;\n user_id: string;\n username: string;\n};\n/**\n * Gets the asset details from the specified asset.\n */\nexport function getAssetDetails(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/details',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetFolder_Folder = {\n folder_id: string;\n parent_folder_id?: string;\n name: string;\n created_at?: string;\n created_by?: GetAssetFolder_Object;\n subfolders?: Array<GetAssetFolder_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type GetAssetFolder_Object = {\n user_id: string;\n username: string;\n registered_at: string;\n};\n/**\n * Gets the asset folder from the specified asset.\n */\nexport function getAssetFolder(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetFolder_Folder> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/folder',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDependencies_Filter = {\n with_asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n without_asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n public?: 'include' | 'exclude' | 'restrict-to';\n};\nexport type GetAssetDependencies_Asset = {\n asset_id: string;\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n properties?: GetAssetDependencies_Object;\n};\nexport type GetAssetDependencies_Object = {\n name?: string;\n direct_count?: number;\n indirect_count?: number;\n is_public?: boolean;\n is_accessible?: boolean;\n payload_info?: GetAssetDependencies_PayloadInfo;\n dependencies?: Array<GetAssetDependencies_Dependency>;\n};\nexport type GetAssetDependencies_PayloadInfo = {\n hash?: string;\n storage_id?: number;\n};\nexport type GetAssetDependencies_Dependency = {\n asset_id: string;\n count: number;\n};\n/**\n * Gets the asset dependencies from the specified asset.\n */\nexport function getAssetDependencies(\n {\n asset_container,\n asset_id,\n offset = 0,\n limit = 10,\n depth = 'all',\n filters,\n properties,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n offset?: number;\n limit?: number;\n depth?: 'all' | 'direct' | 'all-until-self-dependent' | number;\n filters?: GetAssetDependencies_Filter;\n properties?: Array<'name' | 'dependencies' | 'count' | 'public' | 'accessible' | 'payload_info'>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetAssetDependencies_Asset>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/dependencies',\n params: {\n offset: offset,\n limit: limit,\n depth: depth,\n filters: filters,\n properties: properties,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetReferences_Asset = {\n asset_id: string;\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n properties?: GetAssetReferences_Object;\n};\nexport type GetAssetReferences_Object = {\n name?: string;\n direct_count?: number;\n is_public?: boolean;\n};\n/**\n * Gets the asset references from the specified asset.\n */\nexport function getAssetReferences(\n {\n asset_container,\n asset_id,\n offset = 0,\n limit = 10,\n properties,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n offset?: number;\n limit?: number;\n properties?: Array<'name' | 'count' | 'public'>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetAssetReferences_Asset>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/references',\n params: {\n offset: offset,\n limit: limit,\n properties: properties,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDescription_ActionMap = {\n actions: GetAssetDescription_Object;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_Object = {\n [action_name: string]: object;\n};\nexport type GetAssetDescription_Animation = {\n animationEventTrack: GetAssetDescription_Object;\n durationInMs: number;\n name: string;\n payloadSize: number;\n skeletonRef?: string;\n uuid: string;\n};\nexport type GetAssetDescription_AnimationGraph = {\n inputDescriptor: Array<object>;\n name: string;\n stateMachines: Array<GetAssetDescription_Object>;\n uuid: string;\n};\nexport type GetAssetDescription_AnimationSequence = {\n durationInMs: number;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_AnimationSet = {\n animationGraphUUID: string;\n animationSet: Array<GetAssetDescription_Object>;\n boneMaskSet?: Array<GetAssetDescription_Object>;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_CollisionGeometry = {\n geometryType: StrictUnion<0 | 1>;\n name: string;\n payloadSize: number;\n uuid: string;\n};\nexport type GetAssetDescription_Cubemap = {\n faces: Array<string>;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_EventMap = {\n events: GetAssetDescription_Object;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_Material = {\n dataJson: object;\n isDoubleSided: boolean;\n name: string;\n shaderRef: string;\n uuid: string;\n};\nexport type GetAssetDescription_Mesh = {\n morphTargets?: Array<GetAssetDescription_MorphTargets>;\n name: string;\n payloadSize: number;\n submeshes: Array<GetAssetDescription_Submesh>;\n uuid: string;\n};\nexport type GetAssetDescription_MorphTargets = {\n batches: Array<GetAssetDescription_MorphTargetBatchDescription>;\n channels: Array<GetAssetDescription_Channel>;\n};\nexport type GetAssetDescription_MorphTargetBatchDescription = {\n indexChannelIndex: number;\n morphTargets: GetAssetDescription_Object;\n};\nexport type GetAssetDescription_Channel = {\n dataOffset: number;\n dataSize: number;\n elementCount: number;\n elementSize: number;\n elementType: StrictUnion<0 | 1 | 2> & number;\n semantic: StrictUnion<'index' | 'position' | 'normal' | 'uv' | 'color' | 'bone_id' | 'weight'>;\n};\nexport type GetAssetDescription_Submesh = {\n aabb: GetAssetDescription_BoundingBox;\n channels: Array<GetAssetDescription_Channel>;\n indexCount: number;\n morphTargetsIndex?: number;\n vertexCount: number;\n};\nexport type GetAssetDescription_BoundingBox = {\n max: Array<number>;\n min: Array<number>;\n};\nexport type GetAssetDescription_Module = {\n functions: GetAssetDescription_Object;\n name: string;\n uuid: string;\n};\nexport type GetAssetDescription_PointCloud = {\n format: StrictUnion<0 | 1 | 2>;\n name: string;\n payloadTotalSize: number;\n pointCount: number;\n scale?: Array<number>;\n translation?: Array<number>;\n uuid: string;\n};\nexport type GetAssetDescription_RenderGraph = {\n blendStateDescriptions?: Array<GetAssetDescription_Object>;\n conditions?: Array<string>;\n defaultRenderTargetIndex?: number;\n graphOrder: Array<Array<number>>;\n inputDescriptor: Array<GetAssetDescription_Object>;\n name: string;\n nodeDataDescriptions: Array<\n StrictUnion<\n | GetAssetDescription_Viewport\n | GetAssetDescription_DrawBatch\n | GetAssetDescription_DrawBatchWithMaterials\n | GetAssetDescription_DispatchCompute\n | GetAssetDescription_BlitImage\n | GetAssetDescription_CopyImage\n | GetAssetDescription_ResolveImage\n | GetAssetDescription_DrawFullscreen\n | GetAssetDescription_GenerateMipChain\n | GetAssetDescription_CopyToCubemapFace\n | GetAssetDescription_ClearImages\n | GetAssetDescription_FillBuffer\n | GetAssetDescription_DrawDebugLines\n | GetAssetDescription_DispatchDecalsCompute\n | GetAssetDescription_SetDepthBias\n | GetAssetDescription_DispatchRayTracing\n > &\n GetAssetDescription_Object\n >;\n occlusionInputDepthRenderTargetIndex?: number;\n renderPassDescriptions: Array<GetAssetDescription_Object>;\n renderTargetDescriptions: Array<GetAssetDescription_Object>;\n stencilOpStateDescriptions?: Array<GetAssetDescription_Object>;\n uuid: string;\n};\nexport type GetAssetDescription_Viewport = {\n type?: 0;\n};\nexport type GetAssetDescription_DrawBatch = {\n batchType?: number;\n dataJson?: object;\n pipelineDescription?: GetAssetDescription_Object;\n shaderRef?: string;\n type?: 1;\n};\nexport type GetAssetDescription_DrawBatchWithMaterials = {\n batchType?: number;\n dataJson?: object;\n pipelineDescription?: GetAssetDescription_Object;\n type?: 2;\n};\nexport type GetAssetDescription_DispatchCompute = {\n constDataType?: StrictUnion<\n 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24\n > &\n number;\n dataJson?: object;\n shaderRef?: string;\n type?: 3;\n};\nexport type GetAssetDescription_BlitImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 4;\n};\nexport type GetAssetDescription_CopyImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 6;\n};\nexport type GetAssetDescription_ResolveImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 7;\n};\nexport type GetAssetDescription_DrawFullscreen = {\n dataJson?: object;\n pipelineDescription?: GetAssetDescription_Object;\n shaderRef?: string;\n type?: 8;\n};\nexport type GetAssetDescription_GenerateMipChain = {\n inputRenderTargetIndices?: Array<number>;\n type?: 9;\n};\nexport type GetAssetDescription_CopyToCubemapFace = {\n inputRenderTargetIndices?: Array<number>;\n type?: 10;\n};\nexport type GetAssetDescription_ClearImages = {\n clearColors?: Array<Array<number>>;\n outputRenderTargetIndices?: Array<number>;\n type?: 13;\n};\nexport type GetAssetDescription_FillBuffer = {\n bufferName?: string;\n bufferOffset?: number;\n bufferSize?: number;\n bufferValue?: number;\n type?: 15;\n};\nexport type GetAssetDescription_DrawDebugLines = {\n dataJson?: object;\n pipelineDescription?: GetAssetDescription_Object;\n shaderRef?: string;\n type?: 16;\n};\nexport type GetAssetDescription_DispatchDecalsCompute = {\n dataJson?: object;\n type?: 17;\n};\nexport type GetAssetDescription_SetDepthBias = {\n depthBiasClamp?: number;\n depthBiasConstantFactor?: number;\n depthBiasSlopeFactor?: number;\n type?: 18;\n};\nexport type GetAssetDescription_DispatchRayTracing = {\n dataJson?: object;\n shaderRef?: string;\n type?: 19;\n};\nexport type GetAssetDescription_Scene = {\n aabb: GetAssetDescription_Aabb;\n entities: Array<object>;\n name: string;\n settings?: object;\n triangleCount?: number;\n uuid: string;\n};\nexport type GetAssetDescription_Aabb = {\n max: Array<number>;\n min: Array<number>;\n};\nexport type GetAssetDescription_Script = {\n eventNames: Array<string>;\n inputDescriptor?: Array<GetAssetDescription_Object>;\n name: string;\n subScripts?: Array<string>;\n uuid: string;\n};\nexport type GetAssetDescription_Shader = {\n blendMode?: StrictUnion<0 | 1 | 2 | 3>;\n materialDescriptor?: Array<GetAssetDescription_Object>;\n moduleDescriptions: Array<GetAssetDescription_Object>;\n name: string;\n nodeDataDescriptor?: Array<GetAssetDescription_Object>;\n optComputeSettings?: GetAssetDescription_Object;\n optVertexDescriptor?: Array<GetAssetDescription_Object>;\n payloadSize: number;\n shaderStages?: number;\n uuid: string;\n};\nexport type GetAssetDescription_Skeleton = {\n bones: Array<GetAssetDescription_Object>;\n name: string;\n payloadSize: number;\n uuid: string;\n};\nexport type GetAssetDescription_Sound = {\n bitDepth: number;\n channelCount: number;\n durationInMs: number;\n name: string;\n payloadSize: number;\n sampleCount: number;\n sampleFrequencyInHz: number;\n uuid: string;\n};\nexport type GetAssetDescription_Texture = {\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n mips: Array<GetAssetDescription_Object>;\n name: string;\n payloadTotalSize: number;\n uuid: string;\n};\nexport type GetAssetDescription_Texture_1D = {\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n mips: Array<GetAssetDescription_Object>;\n name: string;\n payloadTotalSize: number;\n uuid: string;\n};\nexport type GetAssetDescription_Texture_3D = {\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n mips: Array<GetAssetDescription_Object>;\n name: string;\n payloadTotalSize: number;\n uuid: string;\n voxelDimensions?: Array<number>;\n};\nexport type GetAssetDescription_VolumeMaterial = {\n albedoLUT?: Array<GetAssetDescription_Object>;\n metallicLUT?: Array<GetAssetDescription_Object>;\n name: string;\n opacityLUT?: Array<GetAssetDescription_Object>;\n rangeMax: number;\n rangeMin: number;\n roughnessLUT?: Array<GetAssetDescription_Object>;\n uuid: string;\n};\n/**\n * Gets the asset description from the specified asset.\n */\nexport function getAssetDescription(\n {\n asset_id,\n asset_container,\n }: {\n asset_id: string;\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<\n StrictUnion<\n | GetAssetDescription_ActionMap\n | GetAssetDescription_Animation\n | GetAssetDescription_AnimationGraph\n | GetAssetDescription_AnimationSequence\n | GetAssetDescription_AnimationSet\n | GetAssetDescription_CollisionGeometry\n | GetAssetDescription_Cubemap\n | GetAssetDescription_EventMap\n | GetAssetDescription_Material\n | GetAssetDescription_Mesh\n | GetAssetDescription_Module\n | GetAssetDescription_PointCloud\n | GetAssetDescription_RenderGraph\n | GetAssetDescription_Scene\n | GetAssetDescription_Script\n | GetAssetDescription_Shader\n | GetAssetDescription_Skeleton\n | GetAssetDescription_Sound\n | GetAssetDescription_Texture\n | GetAssetDescription_Texture_1D\n | GetAssetDescription_Texture_3D\n | GetAssetDescription_VolumeMaterial\n >\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateAssetDescription_Cubemap = {\n faces: Array<string>;\n name: string;\n};\nexport type UpdateAssetDescription_Material = {\n dataJson: object;\n isDoubleSided: boolean;\n name: string;\n shaderRef: string;\n};\nexport type UpdateAssetDescription_RenderGraph = {\n blendStateDescriptions?: Array<UpdateAssetDescription_Object>;\n conditions?: Array<string>;\n defaultRenderTargetIndex?: number;\n graphOrder: Array<Array<number>>;\n inputDescriptor: Array<UpdateAssetDescription_Object>;\n name: string;\n nodeDataDescriptions: Array<\n StrictUnion<\n | UpdateAssetDescription_Viewport\n | UpdateAssetDescription_DrawBatch\n | UpdateAssetDescription_DrawBatchWithMaterials\n | UpdateAssetDescription_DispatchCompute\n | UpdateAssetDescription_BlitImage\n | UpdateAssetDescription_CopyImage\n | UpdateAssetDescription_ResolveImage\n | UpdateAssetDescription_DrawFullscreen\n | UpdateAssetDescription_GenerateMipChain\n | UpdateAssetDescription_CopyToCubemapFace\n | UpdateAssetDescription_ClearImages\n | UpdateAssetDescription_FillBuffer\n | UpdateAssetDescription_DrawDebugLines\n | UpdateAssetDescription_DispatchDecalsCompute\n | UpdateAssetDescription_SetDepthBias\n | UpdateAssetDescription_DispatchRayTracing\n > &\n UpdateAssetDescription_Object\n >;\n occlusionInputDepthRenderTargetIndex?: number;\n renderPassDescriptions: Array<UpdateAssetDescription_Object>;\n renderTargetDescriptions: Array<UpdateAssetDescription_Object>;\n stencilOpStateDescriptions?: Array<UpdateAssetDescription_Object>;\n};\nexport type UpdateAssetDescription_Object = {\n alphaBlendOp?: number;\n blendEnable?: boolean;\n colorBlendOp?: number;\n colorWriteMask?: number;\n dstAlphaBlendFactor?: number;\n dstColorBlendFactor?: number;\n srcAlphaBlendFactor?: number;\n srcColorBlendFactor?: number;\n};\nexport type UpdateAssetDescription_Viewport = {\n type?: 0;\n};\nexport type UpdateAssetDescription_DrawBatch = {\n batchType?: number;\n dataJson?: object;\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 1;\n};\nexport type UpdateAssetDescription_DrawBatchWithMaterials = {\n batchType?: number;\n dataJson?: object;\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 2;\n};\nexport type UpdateAssetDescription_DispatchCompute = {\n constDataType?: StrictUnion<\n 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24\n > &\n number;\n dataJson?: object;\n type?: 3;\n};\nexport type UpdateAssetDescription_BlitImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 4;\n};\nexport type UpdateAssetDescription_CopyImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 6;\n};\nexport type UpdateAssetDescription_ResolveImage = {\n inputRenderTargetIndices?: Array<number>;\n outputRenderTargetIndices?: Array<number>;\n type?: 7;\n};\nexport type UpdateAssetDescription_DrawFullscreen = {\n dataJson?: object;\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 8;\n};\nexport type UpdateAssetDescription_GenerateMipChain = {\n inputRenderTargetIndices?: Array<number>;\n type?: 9;\n};\nexport type UpdateAssetDescription_CopyToCubemapFace = {\n inputRenderTargetIndices?: Array<number>;\n type?: 10;\n};\nexport type UpdateAssetDescription_ClearImages = {\n clearColors?: Array<Array<number>>;\n outputRenderTargetIndices?: Array<number>;\n type?: 13;\n};\nexport type UpdateAssetDescription_FillBuffer = {\n bufferName?: string;\n bufferOffset?: number;\n bufferSize?: number;\n bufferValue?: number;\n type?: 15;\n};\nexport type UpdateAssetDescription_DrawDebugLines = {\n dataJson?: object;\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 16;\n};\nexport type UpdateAssetDescription_DispatchDecalsCompute = {\n dataJson?: object;\n type?: 17;\n};\nexport type UpdateAssetDescription_SetDepthBias = {\n depthBiasClamp?: number;\n depthBiasConstantFactor?: number;\n depthBiasSlopeFactor?: number;\n type?: 18;\n};\nexport type UpdateAssetDescription_DispatchRayTracing = {\n dataJson?: object;\n type?: 19;\n};\n/**\n * Updates the description of the specified asset.\n */\nexport function updateAssetDescription(\n {\n asset_id,\n asset_container,\n asset_description,\n }: {\n asset_id: string;\n asset_container: 'materials' | 'cubemaps' | 'render_graphs';\n asset_description: StrictUnion<\n UpdateAssetDescription_Cubemap | UpdateAssetDescription_Material | UpdateAssetDescription_RenderGraph\n >;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n data: asset_description,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Renames the specified asset.\n */\nexport function renameAsset(\n {\n asset_id,\n asset_container,\n name,\n }: {\n asset_id: string;\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n name?: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset payload from the specified asset.\n */\nexport function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container_with_payload,\n asset_id,\n sub_resource,\n }: {\n asset_container_with_payload:\n | 'animations'\n | 'animation_sequences'\n | 'collision_geometries'\n | 'meshes'\n | 'point_clouds'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d';\n asset_id: string;\n sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_payload + '/' + asset_id + '/payload',\n params: {\n sub_resource: sub_resource,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetGraph_AssetGraph = {\n uuid: string;\n [_additionalproperties_: string]: any;\n};\n/**\n * Gets the asset graph from the specified asset.\n */\nexport function getAssetGraph(\n {\n asset_container_with_graph,\n asset_id,\n }: {\n asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetGraph_AssetGraph> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_graph + '/' + asset_id + '/graph',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Creates or replaces asset graph for the specified asset.\n */\nexport function updateAssetGraph(\n {\n asset_container_with_graph,\n asset_id,\n asset_graph,\n }: {\n asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';\n asset_id: string;\n asset_graph: object;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container_with_graph + '/' + asset_id + '/graph',\n data: asset_graph,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset history from the specified asset.\n */\nexport function getAssetHistory(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/history',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset metadata from the specified asset.\n */\nexport function getAssetMeta(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/meta',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the code of the specified asset.\n */\nexport function getAssetCode(\n {\n asset_container_with_code,\n asset_id,\n }: {\n asset_container_with_code: 'animation_sequences' | 'modules' | 'scripts' | 'shaders';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<string> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_code + '/' + asset_id + '/code',\n headers: headers,\n responseType: 'text',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset thumbnail from the specified asset.\n */\nexport function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container,\n asset_id,\n size,\n default_url,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n size: 'large' | 'medium' | 'small' | 'tiny';\n default_url?: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/thumbnail',\n params: {\n size: size,\n default_url: default_url,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Assigns a thumbnail to the specified asset.\n */\nexport function setAssetThumbnail(\n {\n asset_container,\n asset_id,\n body,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n body: ArrayBuffer | ReadableStream;\n },\n contentType: 'image/jpg' | 'image/png',\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container + '/' + asset_id + '/thumbnail',\n data: body,\n maxRedirects: 0,\n headers: {\n 'Content-Type': contentType,\n ...headers,\n },\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset custom types from the specified asset recursively.\n */\nexport function getAssetCustomTypes(\n {\n asset_container_with_custom_types,\n asset_id,\n }: {\n asset_container_with_custom_types: 'modules';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_custom_types + '/' + asset_id + '/custom-types',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Packages and downloads the target asset.\n */\nexport function packageAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/package',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Downloads an asset payload in a given format. Only mesh is supported for the moment. This endpoint requires special export permission.\n */\nexport function exportAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container_exportable,\n asset_id,\n format,\n scale = 1,\n sub_mesh_index,\n }: {\n asset_container_exportable: 'meshes' | 'sounds';\n asset_id: string;\n format: 'obj' | 'stl';\n scale?: number;\n sub_mesh_index?: number;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_exportable + '/' + asset_id + '/exports/' + format + '',\n params: {\n scale: scale,\n sub_mesh_index: sub_mesh_index,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneSessions_Session = {\n session_id: string;\n scene_id: string;\n scene_name: string;\n folder_id: string;\n max_users: number;\n creator_user_id: string;\n created_at: string;\n country_code: string;\n continent_code: string;\n is_transient_session: boolean;\n clients: Array<GetSceneSessions_Client_UserInfo>;\n};\nexport type GetSceneSessions_Client_UserInfo = {\n client_id?: string;\n client_type?: 'user' | 'guest';\n user_id: string;\n username: string;\n};\n/**\n * Lists all sessions running a specified scene.\n */\nexport function getSceneSessions(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSceneSessions_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/sessions',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneAabb_Object = {\n max: Array<number>;\n min: Array<number>;\n};\n/**\n * Get the axis aligned bounding box of the specified scene.\n */\nexport function getSceneAABB(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSceneAabb_Object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/aabb',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateEntity_animation_controller = {\n animation_controller: CreateEntity_AnimationController;\n};\nexport type CreateEntity_AnimationController = {\n animationGraphRef: string;\n animationSetRef: string;\n dataJSON: object;\n rootBoneEntityRef: CreateEntity_EntityReference;\n rootMotionEnabled: boolean;\n};\nexport type CreateEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type CreateEntity_bone = {\n bone: CreateEntity_Bone;\n};\nexport type CreateEntity_Bone = {\n boneIndex: number;\n};\nexport type CreateEntity_box_geometry = {\n box_geometry: CreateEntity_BoxGeometry;\n};\nexport type CreateEntity_BoxGeometry = {\n dimension?: Array<number>;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type CreateEntity_camera = {\n camera: CreateEntity_Camera;\n};\nexport type CreateEntity_Camera = {\n renderGraphRef: string;\n renderTargetIndex?: number;\n dataJSON: object;\n};\nexport type CreateEntity_capsule_geometry = {\n capsule_geometry: CreateEntity_CapsuleGeometry;\n};\nexport type CreateEntity_CapsuleGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type CreateEntity_character_controller = {\n character_controller: CreateEntity_CharacterController;\n};\nexport type CreateEntity_CharacterController = {\n stepOffset?: number;\n slopeLimit?: number;\n skinWidth?: number;\n velocity?: Array<number>;\n};\nexport type CreateEntity_collision_geometry_ref = {\n collision_geometry_ref: CreateEntity_CollisionGeometryRef;\n};\nexport type CreateEntity_CollisionGeometryRef = {\n collisionGeometryRef: string;\n};\nexport type CreateEntity_cylinder_geometry = {\n cylinder_geometry: CreateEntity_CylinderGeometry;\n};\nexport type CreateEntity_CylinderGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type CreateEntity_debug_name = {\n debug_name: CreateEntity_Name;\n};\nexport type CreateEntity_Name = {\n value: string;\n};\nexport type CreateEntity_decal_projector = {\n decal_projector: CreateEntity_DecalProjector;\n};\nexport type CreateEntity_DecalProjector = {\n zIndex?: number;\n};\nexport type CreateEntity_environment = {\n environment: CreateEntity_Environment;\n};\nexport type CreateEntity_Environment = {\n skyboxUUID: string;\n radianceUUID: string;\n irradianceUUID: string;\n};\nexport type CreateEntity_joint = {\n joint: CreateEntity_Joint;\n};\nexport type CreateEntity_Joint = {\n constrainee: CreateEntity_EntityReference;\n constrainer: CreateEntity_EntityReference;\n breakForce?: number;\n breakTorque?: number;\n};\nexport type CreateEntity_lineage = {\n lineage: CreateEntity_Lineage;\n};\nexport type CreateEntity_Lineage = {\n parentUUID: string;\n ordinal?: number;\n};\nexport type CreateEntity_local_aabb = {\n local_aabb: CreateEntity_LocalAxisAlignedBoundingBox;\n};\nexport type CreateEntity_LocalAxisAlignedBoundingBox = {\n min: Array<number>;\n max: Array<number>;\n};\nexport type CreateEntity_local_transform = {\n local_transform: CreateEntity_Transform;\n};\nexport type CreateEntity_Transform = {\n position?: Array<number>;\n orientation?: Array<number>;\n scale?: Array<number>;\n eulerOrientation?: Array<number>;\n globalEulerOrientation?: Array<number>;\n};\nexport type CreateEntity_material = {\n material: CreateEntity_Material;\n};\nexport type CreateEntity_Material = {\n shaderRef: string;\n transparencyMode: number;\n isDoubleSided: boolean;\n dataJSON: object;\n};\nexport type CreateEntity_material_ref = {\n material_ref: CreateEntity_MaterialReference;\n};\nexport type CreateEntity_MaterialReference = {\n value: string;\n faceCulling?: number;\n};\nexport type CreateEntity_mesh_ref = {\n mesh_ref: CreateEntity_MeshReference;\n};\nexport type CreateEntity_MeshReference = {\n value: string;\n submeshIndex?: number;\n};\nexport type CreateEntity_orthographic_lens = {\n orthographic_lens: CreateEntity_OrthographicLens;\n};\nexport type CreateEntity_OrthographicLens = {\n left?: number;\n right?: number;\n top?: number;\n bottom?: number;\n zNear?: number;\n zFar?: number;\n};\nexport type CreateEntity_overrider = {\n overrider: CreateEntity_Overrider;\n};\nexport type CreateEntity_Overrider = {\n deleter?: boolean;\n entityRef: CreateEntity_EntityReference;\n componentsToDetach: Array<number>;\n};\nexport type CreateEntity_perspective_lens = {\n perspective_lens: CreateEntity_PerspectiveLens;\n};\nexport type CreateEntity_PerspectiveLens = {\n aspectRatio?: number;\n fovy?: number;\n nearPlane?: number;\n farPlane?: number;\n};\nexport type CreateEntity_physics_material = {\n physics_material: CreateEntity_PhysicsMaterial;\n};\nexport type CreateEntity_PhysicsMaterial = {\n staticFriction?: number;\n dynamicFriction?: number;\n restitution?: number;\n isTrigger?: boolean;\n};\nexport type CreateEntity_plane_geometry = {\n plane_geometry: CreateEntity_PlaneGeometry;\n};\nexport type CreateEntity_PlaneGeometry = {\n distance?: number;\n normal?: Array<number>;\n};\nexport type CreateEntity_point_cloud_ref = {\n point_cloud_ref: CreateEntity_PointCloudReference;\n};\nexport type CreateEntity_PointCloudReference = {\n value: string;\n};\nexport type CreateEntity_point_light = {\n point_light: CreateEntity_Light;\n};\nexport type CreateEntity_Light = {\n color?: Array<number>;\n intensity?: number;\n range?: number;\n isDirectional?: boolean;\n isSun?: boolean;\n};\nexport type CreateEntity_reflection_probe = {\n reflection_probe: CreateEntity_ReflectionProbe;\n};\nexport type CreateEntity_ReflectionProbe = {\n offset?: Array<number>;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n};\nexport type CreateEntity_revolute_joint = {\n revolute_joint: CreateEntity_RevoluteJoint;\n};\nexport type CreateEntity_RevoluteJoint = {\n axis?: Array<number>;\n anchor?: Array<number>;\n};\nexport type CreateEntity_rigid_body = {\n rigid_body: CreateEntity_RigidBody;\n};\nexport type CreateEntity_RigidBody = {\n mass?: number;\n linearDamping?: number;\n angularDamping?: number;\n friction?: number;\n rollingFriction?: number;\n spinningFriction?: number;\n restitution?: number;\n linearSleepingThreshold?: number;\n angularSleepingThreshold?: number;\n isKinematic?: boolean;\n};\nexport type CreateEntity_scene_ref = {\n scene_ref: CreateEntity_SceneReference;\n};\nexport type CreateEntity_SceneReference = {\n value: string;\n maxRecursionCount?: number;\n};\nexport type CreateEntity_script_element = {\n script_element: CreateEntity_ScriptElement;\n};\nexport type CreateEntity_ScriptElement = {\n scriptRef: string;\n dataJSON: object;\n};\nexport type CreateEntity_script_map = {\n script_map: CreateEntity_ScriptMap;\n};\nexport type CreateEntity_ScriptMap = {\n elements: object;\n};\nexport type CreateEntity_shadow_caster = {\n shadow_caster: CreateEntity_ShadowCaster;\n};\nexport type CreateEntity_ShadowCaster = {\n bias?: number;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n cascadeSplitLambda?: number;\n cascadeMaxZ?: number;\n accumulateShadowCascades?: boolean;\n};\nexport type CreateEntity_skeleton_ref = {\n skeleton_ref: CreateEntity_SkeletonReference;\n};\nexport type CreateEntity_SkeletonReference = {\n value: string;\n};\nexport type CreateEntity_sound_ref = {\n sound_ref: CreateEntity_SoundReference;\n};\nexport type CreateEntity_SoundReference = {\n value: string;\n volume?: number;\n pan?: number;\n playSpeed?: number;\n looping?: boolean;\n};\nexport type CreateEntity_sphere_geometry = {\n sphere_geometry: CreateEntity_SphereGeometry;\n};\nexport type CreateEntity_SphereGeometry = {\n radius?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type CreateEntity_spot_light = {\n spot_light: CreateEntity_SpotLight;\n};\nexport type CreateEntity_SpotLight = {\n cutoff?: number;\n IESProfile: string;\n};\nexport type CreateEntity_stereoscopic_lens = {\n stereoscopic_lens: CreateEntity_StereoscopicPerspectiveLens;\n};\nexport type CreateEntity_StereoscopicPerspectiveLens = {\n angleLeft?: number;\n angleRight?: number;\n angleUp?: number;\n angleDown?: number;\n nearPlane?: number;\n farPlane?: number;\n aspectRatio?: number;\n};\nexport type CreateEntity_tags = {\n tags: CreateEntity_Tags;\n};\nexport type CreateEntity_Tags = {\n value: Array<string>;\n};\nexport type CreateEntity_volume_filter = {\n volume_filter: CreateEntity_VolumeFilter;\n};\nexport type CreateEntity_VolumeFilter = {\n range?: Array<number>;\n applyGaussianFiltering?: boolean;\n sampleUnfiltered?: boolean;\n enableMPR?: boolean;\n enable3D?: boolean;\n};\nexport type CreateEntity_volume_material_ref = {\n volume_material_ref: CreateEntity_VolumeMaterialReference;\n};\nexport type CreateEntity_VolumeMaterialReference = {\n value: string;\n};\nexport type CreateEntity_volume_ref = {\n volume_ref: CreateEntity_VolumeReference;\n};\nexport type CreateEntity_VolumeReference = {\n texture3dRef: string;\n};\nexport type CreateEntity_Object = {\n entity_id: string;\n};\n/**\n * Create a new entity in a scene.\n */\nexport function createEntity(\n {\n scene_id,\n entity_components,\n }: {\n scene_id: string;\n entity_components:\n | CreateEntity_animation_controller\n | CreateEntity_bone\n | CreateEntity_box_geometry\n | CreateEntity_camera\n | CreateEntity_capsule_geometry\n | CreateEntity_character_controller\n | CreateEntity_collision_geometry_ref\n | CreateEntity_cylinder_geometry\n | CreateEntity_debug_name\n | CreateEntity_decal_projector\n | CreateEntity_environment\n | CreateEntity_joint\n | CreateEntity_lineage\n | CreateEntity_local_aabb\n | CreateEntity_local_transform\n | CreateEntity_material\n | CreateEntity_material_ref\n | CreateEntity_mesh_ref\n | CreateEntity_orthographic_lens\n | CreateEntity_overrider\n | CreateEntity_perspective_lens\n | CreateEntity_physics_material\n | CreateEntity_plane_geometry\n | CreateEntity_point_cloud_ref\n | CreateEntity_point_light\n | CreateEntity_reflection_probe\n | CreateEntity_revolute_joint\n | CreateEntity_rigid_body\n | CreateEntity_scene_ref\n | CreateEntity_script_element\n | CreateEntity_script_map\n | CreateEntity_shadow_caster\n | CreateEntity_skeleton_ref\n | CreateEntity_sound_ref\n | CreateEntity_sphere_geometry\n | CreateEntity_spot_light\n | CreateEntity_stereoscopic_lens\n | CreateEntity_tags\n | CreateEntity_volume_filter\n | CreateEntity_volume_material_ref\n | CreateEntity_volume_ref;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateEntity_Object> {\n return axiosInstance({\n method: 'post',\n url: '/assets/scenes/' + scene_id + '/entities',\n data: entity_components,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetEntity_animation_controller = {\n animation_controller: GetEntity_AnimationController;\n};\nexport type GetEntity_AnimationController = {\n animationGraphRef: string;\n animationSetRef: string;\n dataJSON: object;\n rootBoneEntityRef: GetEntity_EntityReference;\n rootMotionEnabled: boolean;\n};\nexport type GetEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type GetEntity_bone = {\n bone: GetEntity_Bone;\n};\nexport type GetEntity_Bone = {\n boneIndex: number;\n};\nexport type GetEntity_box_geometry = {\n box_geometry: GetEntity_BoxGeometry;\n};\nexport type GetEntity_BoxGeometry = {\n dimension?: Array<number>;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type GetEntity_camera = {\n camera: GetEntity_Camera;\n};\nexport type GetEntity_Camera = {\n renderGraphRef: string;\n renderTargetIndex?: number;\n dataJSON: object;\n};\nexport type GetEntity_capsule_geometry = {\n capsule_geometry: GetEntity_CapsuleGeometry;\n};\nexport type GetEntity_CapsuleGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type GetEntity_character_controller = {\n character_controller: GetEntity_CharacterController;\n};\nexport type GetEntity_CharacterController = {\n stepOffset?: number;\n slopeLimit?: number;\n skinWidth?: number;\n velocity?: Array<number>;\n};\nexport type GetEntity_collision_geometry_ref = {\n collision_geometry_ref: GetEntity_CollisionGeometryRef;\n};\nexport type GetEntity_CollisionGeometryRef = {\n collisionGeometryRef: string;\n};\nexport type GetEntity_cylinder_geometry = {\n cylinder_geometry: GetEntity_CylinderGeometry;\n};\nexport type GetEntity_CylinderGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type GetEntity_debug_name = {\n debug_name: GetEntity_Name;\n};\nexport type GetEntity_Name = {\n value: string;\n};\nexport type GetEntity_decal_projector = {\n decal_projector: GetEntity_DecalProjector;\n};\nexport type GetEntity_DecalProjector = {\n zIndex?: number;\n};\nexport type GetEntity_environment = {\n environment: GetEntity_Environment;\n};\nexport type GetEntity_Environment = {\n skyboxUUID: string;\n radianceUUID: string;\n irradianceUUID: string;\n};\nexport type GetEntity_joint = {\n joint: GetEntity_Joint;\n};\nexport type GetEntity_Joint = {\n constrainee: GetEntity_EntityReference;\n constrainer: GetEntity_EntityReference;\n breakForce?: number;\n breakTorque?: number;\n};\nexport type GetEntity_lineage = {\n lineage: GetEntity_Lineage;\n};\nexport type GetEntity_Lineage = {\n parentUUID: string;\n ordinal?: number;\n};\nexport type GetEntity_local_aabb = {\n local_aabb: GetEntity_LocalAxisAlignedBoundingBox;\n};\nexport type GetEntity_LocalAxisAlignedBoundingBox = {\n min: Array<number>;\n max: Array<number>;\n};\nexport type GetEntity_local_transform = {\n local_transform: GetEntity_Transform;\n};\nexport type GetEntity_Transform = {\n position?: Array<number>;\n orientation?: Array<number>;\n scale?: Array<number>;\n eulerOrientation?: Array<number>;\n globalEulerOrientation?: Array<number>;\n};\nexport type GetEntity_material = {\n material: GetEntity_Material;\n};\nexport type GetEntity_Material = {\n shaderRef: string;\n transparencyMode: number;\n isDoubleSided: boolean;\n dataJSON: object;\n};\nexport type GetEntity_material_ref = {\n material_ref: GetEntity_MaterialReference;\n};\nexport type GetEntity_MaterialReference = {\n value: string;\n faceCulling?: number;\n};\nexport type GetEntity_mesh_ref = {\n mesh_ref: GetEntity_MeshReference;\n};\nexport type GetEntity_MeshReference = {\n value: string;\n submeshIndex?: number;\n};\nexport type GetEntity_orthographic_lens = {\n orthographic_lens: GetEntity_OrthographicLens;\n};\nexport type GetEntity_OrthographicLens = {\n left?: number;\n right?: number;\n top?: number;\n bottom?: number;\n zNear?: number;\n zFar?: number;\n};\nexport type GetEntity_overrider = {\n overrider: GetEntity_Overrider;\n};\nexport type GetEntity_Overrider = {\n deleter?: boolean;\n entityRef: GetEntity_EntityReference;\n componentsToDetach: Array<number>;\n};\nexport type GetEntity_perspective_lens = {\n perspective_lens: GetEntity_PerspectiveLens;\n};\nexport type GetEntity_PerspectiveLens = {\n aspectRatio?: number;\n fovy?: number;\n nearPlane?: number;\n farPlane?: number;\n};\nexport type GetEntity_physics_material = {\n physics_material: GetEntity_PhysicsMaterial;\n};\nexport type GetEntity_PhysicsMaterial = {\n staticFriction?: number;\n dynamicFriction?: number;\n restitution?: number;\n isTrigger?: boolean;\n};\nexport type GetEntity_plane_geometry = {\n plane_geometry: GetEntity_PlaneGeometry;\n};\nexport type GetEntity_PlaneGeometry = {\n distance?: number;\n normal?: Array<number>;\n};\nexport type GetEntity_point_cloud_ref = {\n point_cloud_ref: GetEntity_PointCloudReference;\n};\nexport type GetEntity_PointCloudReference = {\n value: string;\n};\nexport type GetEntity_point_light = {\n point_light: GetEntity_Light;\n};\nexport type GetEntity_Light = {\n color?: Array<number>;\n intensity?: number;\n range?: number;\n isDirectional?: boolean;\n isSun?: boolean;\n};\nexport type GetEntity_reflection_probe = {\n reflection_probe: GetEntity_ReflectionProbe;\n};\nexport type GetEntity_ReflectionProbe = {\n offset?: Array<number>;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n};\nexport type GetEntity_revolute_joint = {\n revolute_joint: GetEntity_RevoluteJoint;\n};\nexport type GetEntity_RevoluteJoint = {\n axis?: Array<number>;\n anchor?: Array<number>;\n};\nexport type GetEntity_rigid_body = {\n rigid_body: GetEntity_RigidBody;\n};\nexport type GetEntity_RigidBody = {\n mass?: number;\n linearDamping?: number;\n angularDamping?: number;\n friction?: number;\n rollingFriction?: number;\n spinningFriction?: number;\n restitution?: number;\n linearSleepingThreshold?: number;\n angularSleepingThreshold?: number;\n isKinematic?: boolean;\n};\nexport type GetEntity_scene_ref = {\n scene_ref: GetEntity_SceneReference;\n};\nexport type GetEntity_SceneReference = {\n value: string;\n maxRecursionCount?: number;\n};\nexport type GetEntity_script_element = {\n script_element: GetEntity_ScriptElement;\n};\nexport type GetEntity_ScriptElement = {\n scriptRef: string;\n dataJSON: object;\n};\nexport type GetEntity_script_map = {\n script_map: GetEntity_ScriptMap;\n};\nexport type GetEntity_ScriptMap = {\n elements: object;\n};\nexport type GetEntity_shadow_caster = {\n shadow_caster: GetEntity_ShadowCaster;\n};\nexport type GetEntity_ShadowCaster = {\n bias?: number;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n cascadeSplitLambda?: number;\n cascadeMaxZ?: number;\n accumulateShadowCascades?: boolean;\n};\nexport type GetEntity_skeleton_ref = {\n skeleton_ref: GetEntity_SkeletonReference;\n};\nexport type GetEntity_SkeletonReference = {\n value: string;\n};\nexport type GetEntity_sound_ref = {\n sound_ref: GetEntity_SoundReference;\n};\nexport type GetEntity_SoundReference = {\n value: string;\n volume?: number;\n pan?: number;\n playSpeed?: number;\n looping?: boolean;\n};\nexport type GetEntity_sphere_geometry = {\n sphere_geometry: GetEntity_SphereGeometry;\n};\nexport type GetEntity_SphereGeometry = {\n radius?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type GetEntity_spot_light = {\n spot_light: GetEntity_SpotLight;\n};\nexport type GetEntity_SpotLight = {\n cutoff?: number;\n IESProfile: string;\n};\nexport type GetEntity_stereoscopic_lens = {\n stereoscopic_lens: GetEntity_StereoscopicPerspectiveLens;\n};\nexport type GetEntity_StereoscopicPerspectiveLens = {\n angleLeft?: number;\n angleRight?: number;\n angleUp?: number;\n angleDown?: number;\n nearPlane?: number;\n farPlane?: number;\n aspectRatio?: number;\n};\nexport type GetEntity_tags = {\n tags: GetEntity_Tags;\n};\nexport type GetEntity_Tags = {\n value: Array<string>;\n};\nexport type GetEntity_volume_filter = {\n volume_filter: GetEntity_VolumeFilter;\n};\nexport type GetEntity_VolumeFilter = {\n range?: Array<number>;\n applyGaussianFiltering?: boolean;\n sampleUnfiltered?: boolean;\n enableMPR?: boolean;\n enable3D?: boolean;\n};\nexport type GetEntity_volume_material_ref = {\n volume_material_ref: GetEntity_VolumeMaterialReference;\n};\nexport type GetEntity_VolumeMaterialReference = {\n value: string;\n};\nexport type GetEntity_volume_ref = {\n volume_ref: GetEntity_VolumeReference;\n};\nexport type GetEntity_VolumeReference = {\n texture3dRef: string;\n};\nexport type GetEntity_Entity = {\n euid: GetEntity_EntityUid;\n};\nexport type GetEntity_EntityUid = {\n value: string;\n};\n/**\n * Get a specific entity from a scene.\n */\nexport function getEntity(\n {\n scene_id,\n entity_id,\n compute_global_transform = false,\n }: {\n scene_id: string;\n entity_id: string;\n compute_global_transform?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<\n (\n | GetEntity_animation_controller\n | GetEntity_bone\n | GetEntity_box_geometry\n | GetEntity_camera\n | GetEntity_capsule_geometry\n | GetEntity_character_controller\n | GetEntity_collision_geometry_ref\n | GetEntity_cylinder_geometry\n | GetEntity_debug_name\n | GetEntity_decal_projector\n | GetEntity_environment\n | GetEntity_joint\n | GetEntity_lineage\n | GetEntity_local_aabb\n | GetEntity_local_transform\n | GetEntity_material\n | GetEntity_material_ref\n | GetEntity_mesh_ref\n | GetEntity_orthographic_lens\n | GetEntity_overrider\n | GetEntity_perspective_lens\n | GetEntity_physics_material\n | GetEntity_plane_geometry\n | GetEntity_point_cloud_ref\n | GetEntity_point_light\n | GetEntity_reflection_probe\n | GetEntity_revolute_joint\n | GetEntity_rigid_body\n | GetEntity_scene_ref\n | GetEntity_script_element\n | GetEntity_script_map\n | GetEntity_shadow_caster\n | GetEntity_skeleton_ref\n | GetEntity_sound_ref\n | GetEntity_sphere_geometry\n | GetEntity_spot_light\n | GetEntity_stereoscopic_lens\n | GetEntity_tags\n | GetEntity_volume_filter\n | GetEntity_volume_material_ref\n | GetEntity_volume_ref\n ) &\n GetEntity_Entity\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n params: {\n compute_global_transform: compute_global_transform,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateEntity_animation_controller = {\n animation_controller: UpdateEntity_AnimationController;\n};\nexport type UpdateEntity_AnimationController = {\n animationGraphRef: string;\n animationSetRef: string;\n dataJSON: object;\n rootBoneEntityRef: UpdateEntity_EntityReference;\n rootMotionEnabled: boolean;\n};\nexport type UpdateEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type UpdateEntity_bone = {\n bone: UpdateEntity_Bone;\n};\nexport type UpdateEntity_Bone = {\n boneIndex: number;\n};\nexport type UpdateEntity_box_geometry = {\n box_geometry: UpdateEntity_BoxGeometry;\n};\nexport type UpdateEntity_BoxGeometry = {\n dimension?: Array<number>;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type UpdateEntity_camera = {\n camera: UpdateEntity_Camera;\n};\nexport type UpdateEntity_Camera = {\n renderGraphRef: string;\n renderTargetIndex?: number;\n dataJSON: object;\n};\nexport type UpdateEntity_capsule_geometry = {\n capsule_geometry: UpdateEntity_CapsuleGeometry;\n};\nexport type UpdateEntity_CapsuleGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type UpdateEntity_character_controller = {\n character_controller: UpdateEntity_CharacterController;\n};\nexport type UpdateEntity_CharacterController = {\n stepOffset?: number;\n slopeLimit?: number;\n skinWidth?: number;\n velocity?: Array<number>;\n};\nexport type UpdateEntity_collision_geometry_ref = {\n collision_geometry_ref: UpdateEntity_CollisionGeometryRef;\n};\nexport type UpdateEntity_CollisionGeometryRef = {\n collisionGeometryRef: string;\n};\nexport type UpdateEntity_cylinder_geometry = {\n cylinder_geometry: UpdateEntity_CylinderGeometry;\n};\nexport type UpdateEntity_CylinderGeometry = {\n radius?: number;\n height?: number;\n axis?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type UpdateEntity_debug_name = {\n debug_name: UpdateEntity_Name;\n};\nexport type UpdateEntity_Name = {\n value: string;\n};\nexport type UpdateEntity_decal_projector = {\n decal_projector: UpdateEntity_DecalProjector;\n};\nexport type UpdateEntity_DecalProjector = {\n zIndex?: number;\n};\nexport type UpdateEntity_environment = {\n environment: UpdateEntity_Environment;\n};\nexport type UpdateEntity_Environment = {\n skyboxUUID: string;\n radianceUUID: string;\n irradianceUUID: string;\n};\nexport type UpdateEntity_joint = {\n joint: UpdateEntity_Joint;\n};\nexport type UpdateEntity_Joint = {\n constrainee: UpdateEntity_EntityReference;\n constrainer: UpdateEntity_EntityReference;\n breakForce?: number;\n breakTorque?: number;\n};\nexport type UpdateEntity_lineage = {\n lineage: UpdateEntity_Lineage;\n};\nexport type UpdateEntity_Lineage = {\n parentUUID: string;\n ordinal?: number;\n};\nexport type UpdateEntity_local_aabb = {\n local_aabb: UpdateEntity_LocalAxisAlignedBoundingBox;\n};\nexport type UpdateEntity_LocalAxisAlignedBoundingBox = {\n min: Array<number>;\n max: Array<number>;\n};\nexport type UpdateEntity_local_transform = {\n local_transform: UpdateEntity_Transform;\n};\nexport type UpdateEntity_Transform = {\n position?: Array<number>;\n orientation?: Array<number>;\n scale?: Array<number>;\n eulerOrientation?: Array<number>;\n globalEulerOrientation?: Array<number>;\n};\nexport type UpdateEntity_material = {\n material: UpdateEntity_Material;\n};\nexport type UpdateEntity_Material = {\n shaderRef: string;\n transparencyMode: number;\n isDoubleSided: boolean;\n dataJSON: object;\n};\nexport type UpdateEntity_material_ref = {\n material_ref: UpdateEntity_MaterialReference;\n};\nexport type UpdateEntity_MaterialReference = {\n value: string;\n faceCulling?: number;\n};\nexport type UpdateEntity_mesh_ref = {\n mesh_ref: UpdateEntity_MeshReference;\n};\nexport type UpdateEntity_MeshReference = {\n value: string;\n submeshIndex?: number;\n};\nexport type UpdateEntity_orthographic_lens = {\n orthographic_lens: UpdateEntity_OrthographicLens;\n};\nexport type UpdateEntity_OrthographicLens = {\n left?: number;\n right?: number;\n top?: number;\n bottom?: number;\n zNear?: number;\n zFar?: number;\n};\nexport type UpdateEntity_overrider = {\n overrider: UpdateEntity_Overrider;\n};\nexport type UpdateEntity_Overrider = {\n deleter?: boolean;\n entityRef: UpdateEntity_EntityReference;\n componentsToDetach: Array<number>;\n};\nexport type UpdateEntity_perspective_lens = {\n perspective_lens: UpdateEntity_PerspectiveLens;\n};\nexport type UpdateEntity_PerspectiveLens = {\n aspectRatio?: number;\n fovy?: number;\n nearPlane?: number;\n farPlane?: number;\n};\nexport type UpdateEntity_physics_material = {\n physics_material: UpdateEntity_PhysicsMaterial;\n};\nexport type UpdateEntity_PhysicsMaterial = {\n staticFriction?: number;\n dynamicFriction?: number;\n restitution?: number;\n isTrigger?: boolean;\n};\nexport type UpdateEntity_plane_geometry = {\n plane_geometry: UpdateEntity_PlaneGeometry;\n};\nexport type UpdateEntity_PlaneGeometry = {\n distance?: number;\n normal?: Array<number>;\n};\nexport type UpdateEntity_point_cloud_ref = {\n point_cloud_ref: UpdateEntity_PointCloudReference;\n};\nexport type UpdateEntity_PointCloudReference = {\n value: string;\n};\nexport type UpdateEntity_point_light = {\n point_light: UpdateEntity_Light;\n};\nexport type UpdateEntity_Light = {\n color?: Array<number>;\n intensity?: number;\n range?: number;\n isDirectional?: boolean;\n isSun?: boolean;\n};\nexport type UpdateEntity_reflection_probe = {\n reflection_probe: UpdateEntity_ReflectionProbe;\n};\nexport type UpdateEntity_ReflectionProbe = {\n offset?: Array<number>;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n};\nexport type UpdateEntity_revolute_joint = {\n revolute_joint: UpdateEntity_RevoluteJoint;\n};\nexport type UpdateEntity_RevoluteJoint = {\n axis?: Array<number>;\n anchor?: Array<number>;\n};\nexport type UpdateEntity_rigid_body = {\n rigid_body: UpdateEntity_RigidBody;\n};\nexport type UpdateEntity_RigidBody = {\n mass?: number;\n linearDamping?: number;\n angularDamping?: number;\n friction?: number;\n rollingFriction?: number;\n spinningFriction?: number;\n restitution?: number;\n linearSleepingThreshold?: number;\n angularSleepingThreshold?: number;\n isKinematic?: boolean;\n};\nexport type UpdateEntity_scene_ref = {\n scene_ref: UpdateEntity_SceneReference;\n};\nexport type UpdateEntity_SceneReference = {\n value: string;\n maxRecursionCount?: number;\n};\nexport type UpdateEntity_script_element = {\n script_element: UpdateEntity_ScriptElement;\n};\nexport type UpdateEntity_ScriptElement = {\n scriptRef: string;\n dataJSON: object;\n};\nexport type UpdateEntity_script_map = {\n script_map: UpdateEntity_ScriptMap;\n};\nexport type UpdateEntity_ScriptMap = {\n elements: object;\n};\nexport type UpdateEntity_shadow_caster = {\n shadow_caster: UpdateEntity_ShadowCaster;\n};\nexport type UpdateEntity_ShadowCaster = {\n bias?: number;\n nearDist?: number;\n farDist?: number;\n quality?: number;\n cascadeSplitLambda?: number;\n cascadeMaxZ?: number;\n accumulateShadowCascades?: boolean;\n};\nexport type UpdateEntity_skeleton_ref = {\n skeleton_ref: UpdateEntity_SkeletonReference;\n};\nexport type UpdateEntity_SkeletonReference = {\n value: string;\n};\nexport type UpdateEntity_sound_ref = {\n sound_ref: UpdateEntity_SoundReference;\n};\nexport type UpdateEntity_SoundReference = {\n value: string;\n volume?: number;\n pan?: number;\n playSpeed?: number;\n looping?: boolean;\n};\nexport type UpdateEntity_sphere_geometry = {\n sphere_geometry: UpdateEntity_SphereGeometry;\n};\nexport type UpdateEntity_SphereGeometry = {\n radius?: number;\n isAdditive?: boolean;\n offset?: Array<number>;\n};\nexport type UpdateEntity_spot_light = {\n spot_light: UpdateEntity_SpotLight;\n};\nexport type UpdateEntity_SpotLight = {\n cutoff?: number;\n IESProfile: string;\n};\nexport type UpdateEntity_stereoscopic_lens = {\n stereoscopic_lens: UpdateEntity_StereoscopicPerspectiveLens;\n};\nexport type UpdateEntity_StereoscopicPerspectiveLens = {\n angleLeft?: number;\n angleRight?: number;\n angleUp?: number;\n angleDown?: number;\n nearPlane?: number;\n farPlane?: number;\n aspectRatio?: number;\n};\nexport type UpdateEntity_tags = {\n tags: UpdateEntity_Tags;\n};\nexport type UpdateEntity_Tags = {\n value: Array<string>;\n};\nexport type UpdateEntity_volume_filter = {\n volume_filter: UpdateEntity_VolumeFilter;\n};\nexport type UpdateEntity_VolumeFilter = {\n range?: Array<number>;\n applyGaussianFiltering?: boolean;\n sampleUnfiltered?: boolean;\n enableMPR?: boolean;\n enable3D?: boolean;\n};\nexport type UpdateEntity_volume_material_ref = {\n volume_material_ref: UpdateEntity_VolumeMaterialReference;\n};\nexport type UpdateEntity_VolumeMaterialReference = {\n value: string;\n};\nexport type UpdateEntity_volume_ref = {\n volume_ref: UpdateEntity_VolumeReference;\n};\nexport type UpdateEntity_VolumeReference = {\n texture3dRef: string;\n};\n/**\n * Update a specific entity from a scene.\n */\nexport function updateEntity(\n {\n scene_id,\n entity_id,\n entity_components,\n }: {\n scene_id: string;\n entity_id: string;\n entity_components:\n | UpdateEntity_animation_controller\n | UpdateEntity_bone\n | UpdateEntity_box_geometry\n | UpdateEntity_camera\n | UpdateEntity_capsule_geometry\n | UpdateEntity_character_controller\n | UpdateEntity_collision_geometry_ref\n | UpdateEntity_cylinder_geometry\n | UpdateEntity_debug_name\n | UpdateEntity_decal_projector\n | UpdateEntity_environment\n | UpdateEntity_joint\n | UpdateEntity_lineage\n | UpdateEntity_local_aabb\n | UpdateEntity_local_transform\n | UpdateEntity_material\n | UpdateEntity_material_ref\n | UpdateEntity_mesh_ref\n | UpdateEntity_orthographic_lens\n | UpdateEntity_overrider\n | UpdateEntity_perspective_lens\n | UpdateEntity_physics_material\n | UpdateEntity_plane_geometry\n | UpdateEntity_point_cloud_ref\n | UpdateEntity_point_light\n | UpdateEntity_reflection_probe\n | UpdateEntity_revolute_joint\n | UpdateEntity_rigid_body\n | UpdateEntity_scene_ref\n | UpdateEntity_script_element\n | UpdateEntity_script_map\n | UpdateEntity_shadow_caster\n | UpdateEntity_skeleton_ref\n | UpdateEntity_sound_ref\n | UpdateEntity_sphere_geometry\n | UpdateEntity_spot_light\n | UpdateEntity_stereoscopic_lens\n | UpdateEntity_tags\n | UpdateEntity_volume_filter\n | UpdateEntity_volume_material_ref\n | UpdateEntity_volume_ref;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n data: entity_components,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Delete a specific entity from a scene.\n */\nexport function deleteEntity(\n {\n scene_id,\n entity_id,\n }: {\n scene_id: string;\n entity_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneSettings__index_SceneSettings_SceneSettings = {\n debug_lines?: GetSceneSettings_DebugLines;\n default_camera_component?: GetSceneSettings_DefaultCameraComponent;\n default_camera_transform?: GetSceneSettings_DefaultCameraTransform;\n display?: GetSceneSettings_Display;\n encoder?: GetSceneSettings_Encoder;\n environment?: GetSceneSettings_Environment;\n misc?: GetSceneSettings_Miscellaneous;\n network?: GetSceneSettings_Network;\n physics?: GetSceneSettings_Physics;\n renderer?: GetSceneSettings_Renderer;\n simulation?: GetSceneSettings_Simulation;\n sound?: GetSceneSettings_Sound;\n streaming?: GetSceneSettings_Streaming;\n voxel?: GetSceneSettings_Voxel;\n};\nexport type GetSceneSettings_DebugLines = {\n drawBoundingBoxes?: boolean;\n drawCameraFrustums?: boolean;\n drawCenterOfMass?: boolean;\n drawContacts?: boolean;\n drawDebugLines?: boolean;\n drawIK?: boolean;\n drawJoints?: boolean;\n drawLights?: boolean;\n drawPhysicsBodies?: boolean;\n drawPhysicsBodyAxes?: boolean;\n drawReflectionProbes?: boolean;\n drawSkeletons?: boolean;\n};\nexport type GetSceneSettings_DefaultCameraComponent = {\n dataJSON?: object;\n renderGraphRef?: string;\n renderTargetIndex?: number;\n};\nexport type GetSceneSettings_DefaultCameraTransform = {\n orientation?: Array<number>;\n position?: Array<number>;\n};\nexport type GetSceneSettings_Display = {\n forceRedraw?: boolean;\n framePersistence?: number;\n maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;\n maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> &\n number;\n};\nexport type GetSceneSettings_Encoder = {\n encoderType?: string;\n};\nexport type GetSceneSettings_Environment = {\n ambientColorBottom?: Array<number>;\n ambientColorTop?: Array<number>;\n clearColor?: Array<number>;\n};\nexport type GetSceneSettings_Miscellaneous = {\n maxLinkersRecursionCount?: number;\n maxScriptExecutionTimeInMs?: number;\n plugins?: Array<string>;\n};\nexport type GetSceneSettings_Network = {\n clientConnectionTimeout?: number;\n sendSimulationUpdates?: boolean;\n timeToLiveWithInactiveUsersInSeconds?: number;\n waitForDefaultAssetsTimeoutInSeconds?: number;\n};\nexport type GetSceneSettings_Physics = {\n engine?: StrictUnion<'physx' | 'xde'>;\n epsilon?: number;\n gravity?: Array<number>;\n lmdMax?: number;\n timestepInS?: number;\n toleranceLength?: number;\n toleranceSpeed?: number;\n};\nexport type GetSceneSettings_Renderer = {\n cpuOcclusionCulling?: boolean;\n enableFrustumCulling?: boolean;\n enableGeometryCulling?: boolean;\n enableRayTracing?: boolean;\n enableTextureStreaming?: boolean;\n endFrameTimeoutInMilliseconds?: number;\n};\nexport type GetSceneSettings_Simulation = {\n clientScripts?: Array<GetSceneSettings_Object>;\n mainCamera?: GetSceneSettings_MainCamera;\n};\nexport type GetSceneSettings_Object = {\n linkage: Array<string>;\n originalEUID: string;\n};\nexport type GetSceneSettings_MainCamera = {\n linkage: Array<string>;\n originalEUID: string;\n};\nexport type GetSceneSettings_Sound = {\n enabled?: boolean;\n};\nexport type GetSceneSettings_Streaming = {\n streamingLoadingRadius?: number;\n streamingUnloadingRadius?: number;\n};\nexport type GetSceneSettings_Voxel = {\n maxNumberAlbedoValues?: number;\n};\n/**\n * Get the settings of a scene.\n */\nexport function getSceneSettings(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSceneSettings__index_SceneSettings_SceneSettings> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/settings',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateSceneSettings_SceneSettings = {\n debug_lines?: UpdateSceneSettings_DebugLines;\n default_camera_component?: UpdateSceneSettings_DefaultCameraComponent;\n default_camera_transform?: UpdateSceneSettings_DefaultCameraTransform;\n display?: UpdateSceneSettings_Display;\n encoder?: UpdateSceneSettings_Encoder;\n environment?: UpdateSceneSettings_Environment;\n misc?: UpdateSceneSettings_Miscellaneous;\n network?: UpdateSceneSettings_Network;\n physics?: UpdateSceneSettings_Physics;\n renderer?: UpdateSceneSettings_Renderer;\n simulation?: UpdateSceneSettings_Simulation;\n sound?: UpdateSceneSettings_Sound;\n streaming?: UpdateSceneSettings_Streaming;\n voxel?: UpdateSceneSettings_Voxel;\n};\nexport type UpdateSceneSettings_DebugLines = {\n drawBoundingBoxes?: boolean;\n drawCameraFrustums?: boolean;\n drawCenterOfMass?: boolean;\n drawContacts?: boolean;\n drawDebugLines?: boolean;\n drawIK?: boolean;\n drawJoints?: boolean;\n drawLights?: boolean;\n drawPhysicsBodies?: boolean;\n drawPhysicsBodyAxes?: boolean;\n drawReflectionProbes?: boolean;\n drawSkeletons?: boolean;\n};\nexport type UpdateSceneSettings_DefaultCameraComponent = {\n dataJSON?: object;\n renderGraphRef?: string;\n renderTargetIndex?: number;\n};\nexport type UpdateSceneSettings_DefaultCameraTransform = {\n orientation?: Array<number>;\n position?: Array<number>;\n};\nexport type UpdateSceneSettings_Display = {\n forceRedraw?: boolean;\n framePersistence?: number;\n maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;\n maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> &\n number;\n};\nexport type UpdateSceneSettings_Encoder = {\n encoderType?: string;\n};\nexport type UpdateSceneSettings_Environment = {\n ambientColorBottom?: Array<number>;\n ambientColorTop?: Array<number>;\n clearColor?: Array<number>;\n};\nexport type UpdateSceneSettings_Miscellaneous = {\n maxLinkersRecursionCount?: number;\n maxScriptExecutionTimeInMs?: number;\n plugins?: Array<string>;\n};\nexport type UpdateSceneSettings_Network = {\n clientConnectionTimeout?: number;\n sendSimulationUpdates?: boolean;\n timeToLiveWithInactiveUsersInSeconds?: number;\n waitForDefaultAssetsTimeoutInSeconds?: number;\n};\nexport type UpdateSceneSettings_Physics = {\n engine?: StrictUnion<'physx' | 'xde'>;\n epsilon?: number;\n gravity?: Array<number>;\n lmdMax?: number;\n timestepInS?: number;\n toleranceLength?: number;\n toleranceSpeed?: number;\n};\nexport type UpdateSceneSettings_Renderer = {\n cpuOcclusionCulling?: boolean;\n enableFrustumCulling?: boolean;\n enableGeometryCulling?: boolean;\n enableRayTracing?: boolean;\n enableTextureStreaming?: boolean;\n endFrameTimeoutInMilliseconds?: number;\n};\nexport type UpdateSceneSettings_Simulation = {\n clientScripts?: Array<UpdateSceneSettings_Object>;\n mainCamera?: UpdateSceneSettings_MainCamera;\n};\nexport type UpdateSceneSettings_Object = {\n linkage: Array<string>;\n originalEUID: string;\n};\nexport type UpdateSceneSettings_MainCamera = {\n linkage: Array<string>;\n originalEUID: string;\n};\nexport type UpdateSceneSettings_Sound = {\n enabled?: boolean;\n};\nexport type UpdateSceneSettings_Streaming = {\n streamingLoadingRadius?: number;\n streamingUnloadingRadius?: number;\n};\nexport type UpdateSceneSettings_Voxel = {\n maxNumberAlbedoValues?: number;\n};\n/**\n * Update the settings of a scene.\n */\nexport function updateSceneSettings(\n {\n scene_id,\n body,\n }: {\n scene_id: string;\n body: UpdateSceneSettings_SceneSettings;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/scenes/' + scene_id + '/settings',\n data: body,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetRunningSessions_Filter = {\n user_id?: string;\n scene_id?: string;\n folder_id?: string;\n};\nexport type GetRunningSessions_Session = {\n session_id: string;\n scene_id: string;\n scene_name: string;\n folder_id: string;\n max_users: number;\n creator_user_id: string;\n created_at: string;\n country_code: string;\n continent_code: string;\n is_transient_session: boolean;\n clients: Array<GetRunningSessions_Client_UserInfo>;\n};\nexport type GetRunningSessions_Client_UserInfo = {\n client_id?: string;\n client_type?: 'user' | 'guest';\n user_id: string;\n username: string;\n};\n/**\n * Lists all running rendering sessions.\n */\nexport function getRunningSessions(\n {\n filters,\n }: {\n filters?: GetRunningSessions_Filter;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetRunningSessions_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/sessions',\n params: {\n filters: filters,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateSession_Object = {\n session_id: string;\n};\n/**\n * Create a new rendering session.\n */\nexport function createSession(\n {\n scene_id,\n renderer_version,\n is_transient = false,\n options,\n }: {\n scene_id: string;\n renderer_version?: string;\n is_transient?: boolean;\n options?: object;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateSession_Object> {\n return axiosInstance({\n method: 'post',\n url: '/sessions',\n data: {\n scene_id: scene_id,\n renderer_version: renderer_version,\n is_transient: is_transient,\n options: options,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSession_Session = {\n session_id: string;\n scene_id: string;\n scene_name: string;\n folder_id: string;\n max_users: number;\n creator_user_id: string;\n created_at: string;\n country_code: string;\n continent_code: string;\n is_transient_session: boolean;\n clients: Array<GetSession_Client_UserInfo>;\n};\nexport type GetSession_Client_UserInfo = {\n client_id?: string;\n client_type?: 'user' | 'guest';\n user_id: string;\n username: string;\n};\n/**\n * Retrieves details about the target session.\n */\nexport function getSession(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSession_Session> {\n return axiosInstance({\n method: 'get',\n url: '/sessions/' + session_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Forcefully terminates a session.\n */\nexport function killSession(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/sessions/' + session_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type JoinSession_SessionToken = {\n session_token: string;\n endpoint_info: JoinSession_Object;\n};\nexport type JoinSession_Object = {\n ip: string;\n port: number;\n ssl_port: number;\n};\n/**\n * Creates a new client for the user and returns a token to join the session.\n */\nexport function joinSession(\n {\n session_id,\n is_headless = false,\n }: {\n session_id: string;\n is_headless?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<JoinSession_SessionToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/' + session_id + '/clients',\n data: {\n is_headless: is_headless,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetClient_Client_UserInfo = {\n client_id?: string;\n client_type?: 'user' | 'guest';\n user_id: string;\n username: string;\n};\n/**\n * Retrieves details about the target client.\n */\nexport function getClient(\n {\n session_id,\n client_id,\n }: {\n session_id: string;\n client_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetClient_Client_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/sessions/' + session_id + '/clients/' + client_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Kick a client from a running session.\n */\nexport function kickClientFromSession(\n {\n session_id,\n client_id,\n }: {\n session_id: string;\n client_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/sessions/' + session_id + '/clients/' + client_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type JoinSessionAsGuest_SessionToken = {\n session_token: string;\n endpoint_info: JoinSessionAsGuest_Object;\n};\nexport type JoinSessionAsGuest_Object = {\n ip: string;\n port: number;\n ssl_port: number;\n};\n/**\n * Join a session as guest.\n */\nexport function joinSessionAsGuest(headers?: AxiosRequestHeaders): AxiosPromise<JoinSessionAsGuest_SessionToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/guests',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GenerateGuestToken_GuestToken = {\n guest_token?: string;\n};\n/**\n * Generates a token to join the session as a guest.\n */\nexport function generateGuestToken(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GenerateGuestToken_GuestToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/' + session_id + '/guests',\n headers: headers,\n });\n}\n"],
5
- "mappings": ";AAEA,OAAO,cAAc,gBAAgB,gCAAgC;;;ACyBrE,OAAO,WAAkF;AAQlF,IAAM,gBAAgB,MAAM,OAAO;AAAA,EACtC,SAAS;AACb,CAAC;AAGM,SAAS,WAAW,SAAiB;AACxC,gBAAc,SAAS,UAAU;AACrC;AAWO,SAAS,UACZ;AAAA,EACI,SAAS;AAAA,EACT,QAAQ;AACZ,GAIA,SAC4C;AAC5C,SAAO,cAAc;AAAA,IACjB,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,QAAQ;AAAA,MACJ;AAAA,MACA;AAAA,IACJ;AAAA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QAAQ,WAAW,UAC9B,UAAU,gBACV,SAAS,uBACX;AACE,eAAO,WAAW;AAAA,MACtB;AAEA,UAAI,CAAC,aAAa,OAAO,cAAc,UAAU;AAC7C,eAAO,QAAQ,OAAO,IAAI,uBAAuB,QAAQ,SAAS,CAAC;AAAA,MACvE;AAEA,YAAM,eAAe;AACrB,aAAO,QAAQ,OAAO,IAAI,SAAS,aAAa,WAAW,QAAQ,aAAa,SAAS,YAAY,CAAC;AAAA,IAC1G;AAAA,EACJ;AACJ;AAGA,SAAS,mBAAmB,OAAmB;AAC3C,QAAM,SAAS,MAAM,UAAU;AAE/B,UAAQ,QAAQ;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AACD,aAAO;AAAA,IAEX;AACI,aAAO,eAAe,KAAK,KAAK,yBAAyB,KAAK;AAAA,EACtE;AACJ;AAGA,oBAAoB;",
4
+ "sourcesContent": ["//--------------------------------------------------------------------------\nimport { AxiosError } from 'axios';\nimport axiosRetry, { isNetworkError, isIdempotentRequestError } from 'axios-retry';\n\n//--------------------------------------------------------------------------\nimport { axiosInstance } from './_prebuild/wrapper';\n\n//------------------------------------------------------------------------------\nexport function setApiKey(apiKey: string) {\n axiosInstance.defaults.headers.common['api_key'] = apiKey;\n delete axiosInstance.defaults.headers.common['user_token'];\n}\n\n//------------------------------------------------------------------------------\nexport function setUserToken(userToken: string) {\n axiosInstance.defaults.headers.common['user_token'] = userToken;\n delete axiosInstance.defaults.headers.common['api_key'];\n}\n\n//------------------------------------------------------------------------------\nabstract class ServiceError extends Error {\n errorCode: number;\n httpCode: number;\n message: string;\n\n //--------------------------------------------------------------------------\n constructor(errorCode: number, httpCode: number, message: string) {\n super();\n this.errorCode = errorCode;\n this.httpCode = httpCode;\n this.message = message;\n }\n}\n\n//------------------------------------------------------------------------------\nexport class ApiError extends ServiceError {\n serviceError: unknown;\n\n constructor(errorCode: number, status: number, message: string, serviceError: unknown) {\n super(errorCode, status, message);\n this.serviceError = serviceError;\n }\n}\n\n//------------------------------------------------------------------------------\nexport class UnexpectedServiceError extends ServiceError {\n unexpectedError: unknown;\n\n constructor(status: number, unexpectedError: unknown) {\n super(0, status, 'Unexpected service error error');\n this.unexpectedError = unexpectedError;\n }\n}\n\n//------------------------------------------------------------------------------\nfunction installInterceptors() {\n const CLIENT_ERROR = 400 as const;\n const INTERNAL_SERVER_ERROR = 500 as const;\n\n axiosRetry(axiosInstance, {\n retries: 5,\n retryDelay: axiosRetry.exponentialDelay,\n retryCondition: shouldRetryRequest,\n });\n\n axiosInstance.interceptors.response.use(\n successFulResponse => {\n if (successFulResponse.config.responseType === 'stream') {\n successFulResponse.data.pause();\n }\n\n return successFulResponse;\n },\n error => {\n if (!error.response) {\n return Promise.reject(error);\n }\n\n const axiosError = error as AxiosError;\n const status = axiosError.response?.status || INTERNAL_SERVER_ERROR;\n const errorData = axiosError.response?.data;\n\n if (\n !errorData &&\n axiosError.request.method === 'HEAD' &&\n status >= CLIENT_ERROR &&\n status < INTERNAL_SERVER_ERROR\n ) {\n return axiosError.response;\n }\n\n if (!errorData || typeof errorData !== 'object') {\n return Promise.reject(new UnexpectedServiceError(status, errorData));\n }\n\n const serviceError = errorData as ServiceError;\n return Promise.reject(new ApiError(serviceError.errorCode, status, serviceError.message, serviceError));\n },\n );\n}\n\n//------------------------------------------------------------------------------\nfunction shouldRetryRequest(error: AxiosError) {\n const status = error.response?.status;\n\n switch (status) {\n case 403:\n case 404:\n return true;\n\n default:\n return isNetworkError(error) || isIdempotentRequestError(error);\n }\n}\n\n//------------------------------------------------------------------------------\ninstallInterceptors();\n\n//------------------------------------------------------------------------------\nexport * from './_prebuild/wrapper';\n", "/**\n * Asset API v1.0\n * ## Getting Started\n *\n *This is the reference for the REST API endpoints.\n *\n *### NPM package\n *\n *We provide a TypeScript wrapper library to make typesafe API requests and get typed responses: [https://www.npmjs.com/package/@3dverse/api](https://www.npmjs.com/package/@3dverse/api).\n *\n *### Authentication\n *\n *To authenticate your API calls, you'll need to generate an API key via the [3dverse Console](https://console.3dverse.com) and send an `api_key` header with your API requests.\n *Alternatively, you can create a user, generate a token for the user and authenticate with a `user_token`.\n *\n *\n *---\n *\n *\n * Contact: 3dverse Support (support@3dverse.com)\n *\n * DO NOT EDIT THIS FILE MANUALLY.\n * This file has been generated automatically from its OpenAPI spec file.\n * See: https://gitlab.com/3dverse/platform/libs/js/openapi-client-library-generator\n */\n\n//--------------------------------------------------------------------------\nimport axios, { AxiosPromise, AxiosRequestHeaders, AxiosError, AxiosProgressEvent } from 'axios';\n\n//--------------------------------------------------------------------------\ntype UnionKeys<T> = T extends T ? keyof T : never;\ntype StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\n//--------------------------------------------------------------------------\nexport const axiosInstance = axios.create({\n baseURL: 'https://api.3dverse.com/app/v1',\n});\n\n//------------------------------------------------------------------------------\nexport function setBaseURL(baseURL: string) {\n axiosInstance.defaults.baseURL = baseURL;\n}\n\n//--------------------------------------------------------------------------\nexport type ListUsers_User_UserInfo = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Retrieve a list of all users in the current application.\n */\nexport function listUsers(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListUsers_User_UserInfo>> {\n return axiosInstance({\n method: 'get',\n url: '/users',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type RegisterUser_User_UserInfo = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Registers the target user in the current application.\n */\nexport function registerUser(\n {\n username,\n }: {\n /** Used only for debug purposes */\n username: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<RegisterUser_User_UserInfo> {\n return axiosInstance({\n method: 'post',\n url: '/users',\n data: {\n username: username,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetCurrentUser_User_UserInfo = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Retrieves details about the current user.\n */\nexport function getCurrentUser(headers?: AxiosRequestHeaders): AxiosPromise<GetCurrentUser_User_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/users/me',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUser_User_UserInfo = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Retrieves details about the target user.\n */\nexport function getUser(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetUser_User_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates the details of the target user.\n */\nexport function updateUser(\n {\n user_id,\n username,\n }: {\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/users/' + user_id + '',\n data: {\n username: username,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type DeleteUser_Object = {\n deleted_assets?: DeleteUser_Object;\n};\n/**\n * Deletes the target user.\n */\nexport function deleteUser(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<DeleteUser_Object> {\n return axiosInstance({\n method: 'delete',\n url: '/users/' + user_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GenerateUserToken_Token = {\n user_token: string;\n expires_in: number;\n expires_on: number;\n};\n/**\n * Generates a user token. This user token identifies the user when making a request.\n */\nexport function generateUserToken(\n {\n user_id,\n scope,\n ttl = '1h',\n }: {\n user_id: string;\n /** Token permission scope */\n scope: 'read' | 'write' | 'manage';\n /** Time to live */\n ttl?: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GenerateUserToken_Token> {\n return axiosInstance({\n method: 'post',\n url: '/users/' + user_id + '/tokens',\n data: {\n scope: scope,\n ttl: ttl,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUserGroups_Group_GroupInfo = {\n /** Group unique identifier */\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<GetUserGroups_GroupMember_GroupAccess>;\n};\nexport type GetUserGroups_GroupMember_GroupAccess = {\n /** User unique identifier */\n user_id: string;\n /** Date user joined group */\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Lists all user groups.\n */\nexport function getUserGroups(\n {\n user_id,\n }: {\n user_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUserGroups_Group_GroupInfo>> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '/groups',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUserUploadTasks_UploadTask = {\n /** Upload task unique identifier */\n upload_task_id: string;\n /** Folder unique identifier */\n folder_id: string;\n /** Date of the upload */\n uploaded_at: string;\n /** User who uploaded the file */\n uploaded_by: GetUserUploadTasks_Object;\n /** The global progress of the conversion tasks */\n progress: number;\n /** The download progress of the source file if the Upload Task specified a URL for the source file.\nThis is only available if the source file is being downloaded.\n */\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUserUploadTasks_ConversionTask>;\n};\nexport type GetUserUploadTasks_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\nexport type GetUserUploadTasks_ConversionTask = {\n /** Asset unique identifier */\n asset_id: string;\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file */\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Lists all upload tasks of the target user.\n */\nexport function getUserUploadTasks(\n {\n user_id,\n offset = 0,\n limit = 10,\n }: {\n user_id: string;\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUserUploadTasks_UploadTask>> {\n return axiosInstance({\n method: 'get',\n url: '/users/' + user_id + '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateGroup_GroupMember_GroupAccess = {\n /** User unique identifier */\n user_id: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\nexport type CreateGroup_Group_GroupInfo = {\n /** Group unique identifier */\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<CreateGroup_GroupMember_GroupAccess_Writable>;\n};\nexport type CreateGroup_GroupMember_GroupAccess_Writable = {\n /** User unique identifier */\n user_id: string;\n /** Date user joined group */\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Creates a new user group.\n */\nexport function createGroup(\n {\n name,\n description,\n members,\n }: {\n name: string;\n description?: string;\n members: Array<CreateGroup_GroupMember_GroupAccess>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateGroup_Group_GroupInfo> {\n return axiosInstance({\n method: 'post',\n url: '/groups',\n data: {\n name: name,\n description: description,\n members: members,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetGroup_Group_GroupInfo = {\n /** Group unique identifier */\n group_id: string;\n name: string;\n description?: string;\n created_at: string;\n members: Array<GetGroup_GroupMember_GroupAccess>;\n};\nexport type GetGroup_GroupMember_GroupAccess = {\n /** User unique identifier */\n user_id: string;\n /** Date user joined group */\n joined_at?: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n};\n/**\n * Gets a group details.\n */\nexport function getGroup(\n {\n group_id,\n }: {\n group_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetGroup_Group_GroupInfo> {\n return axiosInstance({\n method: 'get',\n url: '/groups/' + group_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates a group details.\n */\nexport function updateGroupDescription(\n {\n group_id,\n name,\n description,\n }: {\n group_id: string;\n name: string;\n description: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/groups/' + group_id + '',\n data: {\n name: name,\n description: description,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes a group and all its access rights.\n */\nexport function deleteGroup(\n {\n group_id,\n }: {\n group_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/groups/' + group_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Grants member access to the group.\n */\nexport function grantMemberAccessToGroup(\n {\n group_id,\n member_type,\n member_id,\n group_access,\n folder_access,\n }: {\n group_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n group_access: 'read' | 'write' | 'manage';\n folder_access: 'read' | 'write' | 'manage';\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/groups/' + group_id + '/members/' + member_type + '/' + member_id + '',\n data: {\n group_access: group_access,\n folder_access: folder_access,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Revoke requested user access to group.\n */\nexport function revokeMemberAccessToGroup(\n {\n group_id,\n member_type,\n member_id,\n }: {\n group_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/groups/' + group_id + '/members/' + member_type + '/' + member_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolders_Folder = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: ListFolders_Object;\n subfolders?: Array<ListFolders_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type ListFolders_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Lists all accessible folders.\n */\nexport function listFolders(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListFolders_Folder>> {\n return axiosInstance({\n method: 'get',\n url: '/folders',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateFolder_Folder = {\n /** Folder name */\n name: string;\n subfolders?: Array<CreateFolder_Folder>;\n};\nexport type CreateFolder_Folder_Writable = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: CreateFolder_Object;\n subfolders?: Array<CreateFolder_Folder_Writable>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type CreateFolder_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Creates a folder.\n */\nexport function createFolder(\n {\n name,\n subfolders,\n }: {\n /** Folder name */\n name: string;\n subfolders?: Array<CreateFolder_Folder>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateFolder_Folder_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/folders',\n data: {\n name: name,\n subfolders: subfolders,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetFolderInfo_Folder = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: GetFolderInfo_Object;\n subfolders?: Array<GetFolderInfo_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type GetFolderInfo_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Gets the requested folder details.\n */\nexport function getFolderInfo(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetFolderInfo_Folder> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move folders inside the specified folder.\n */\nexport function moveFolders(\n {\n folder_id,\n folder_ids,\n }: {\n folder_id: string;\n folder_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '',\n data: folder_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates the folder details.\n */\nexport function updateFolder(\n {\n folder_id,\n name,\n }: {\n folder_id: string;\n /** Folder name */\n name?: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/folders/' + folder_id + '',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the requested folder. The target folder must be empty.\n */\nexport function deleteFolder(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/folders/' + folder_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolderAccesses_Object = {\n users?: Array<ListFolderAccesses_UserInfo_FolderAccess>;\n groups?: Array<ListFolderAccesses_GroupInfo_FolderAccess>;\n};\nexport type ListFolderAccesses_UserInfo_FolderAccess = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n access: 'read' | 'write' | 'manage';\n};\nexport type ListFolderAccesses_GroupInfo_FolderAccess = {\n /** Group unique identifier */\n group_id: string;\n name: string;\n access: 'read' | 'write' | 'manage';\n};\n/**\n * List member access to the targeted folder.\n */\nexport function listFolderAccesses(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ListFolderAccesses_Object> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/access',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Grants member access to the targeted folder.\n */\nexport function grantMemberAccessToFolder(\n {\n folder_id,\n member_type,\n member_id,\n access,\n }: {\n folder_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n access: 'read' | 'write' | 'manage';\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/access/' + member_type + '/' + member_id + '',\n data: {\n access: access,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Revokes member access to a target folder.\n */\nexport function revokeMemberAccessToFolder(\n {\n folder_id,\n member_type,\n member_id,\n }: {\n folder_id: string;\n member_type: 'users' | 'groups';\n member_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/folders/' + folder_id + '/access/' + member_type + '/' + member_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateSubfolder_Folder = {\n /** Folder name */\n name: string;\n subfolders?: Array<CreateSubfolder_Folder>;\n};\nexport type CreateSubfolder_Folder_Writable = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: CreateSubfolder_Object;\n subfolders?: Array<CreateSubfolder_Folder_Writable>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type CreateSubfolder_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Creates a subfolder.\n */\nexport function createSubfolder(\n {\n folder_id,\n name,\n subfolders,\n }: {\n folder_id: string;\n /** Folder name */\n name: string;\n subfolders?: Array<CreateSubfolder_Folder>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateSubfolder_Folder_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/folders',\n data: {\n name: name,\n subfolders: subfolders,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListFolderSubFolders_Folder = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: ListFolderSubFolders_Object;\n subfolders?: Array<ListFolderSubFolders_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type ListFolderSubFolders_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Lists all subfolders of requested folder. This request can be recursive.\n */\nexport function listFolderSubFolders(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListFolderSubFolders_Folder>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/folders',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UploadSourceFiles_Object = {\n /** Upload task unique identifier */\n upload_task_id?: string;\n};\n/**\n * Uploads the specified source file(s).\n * The supported file formats are:\n * - Scene :\n * - Mesh : `fbx, obj/mtl, stl, ply, ifc, usd, usda, usdc, usdz, skp, ptf, 3ds, 3mf, ac, ac3d, acc, amj, ase, ask, b3d, blend, bvh, cms, cob, dae, dxf, gltf/bin, glb, enff, hmb, irr, irrmesh, lwo, lws, lxo, m3d, md2, md3, md5, mdc, mdl, xml, mot, ms3d, ndo, nff, off, ogex, pmx, prj, q3o, q3s, raw, scn, sib, smd, ter, uc, vta, wrl, x, x3d, xgl, zgl`\n * - Point cloud : `e57, ptx, xyz, las, laz`\n * - Volume : `dcm`\n * - Texture : `jpg, jpeg, png, tga, dds, tif, tiff, bmp, rgbe`\n * - Cubemap : `hdr`\n * - Sound : `wav, mp3, ogg, flac`.\n */\nexport function uploadSourceFiles(\n {\n folder_id,\n body,\n }: {\n folder_id: string;\n body: FormData;\n },\n onUploadProgress?: (progressEvent: AxiosProgressEvent) => void,\n headers?: AxiosRequestHeaders,\n): AxiosPromise<UploadSourceFiles_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/source-files',\n data: body,\n onUploadProgress: onUploadProgress,\n headers: {\n 'Content-Type': 'multipart/form-data',\n ...headers?.toJSON(),\n },\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFilesInFolder_Filters = {\n source_file_name?: string;\n};\nexport type GetSourceFilesInFolder_SourceFile = {\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file when uploaded */\n source_file_original_name: string;\n /** Source file display name */\n name: string;\n /** Size in bytes */\n size: number;\n};\n/**\n * Lists all source files in a folder.\n */\nexport function getSourceFilesInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filters,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n filters?: GetSourceFilesInFolder_Filters;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/source-files',\n params: {\n offset: offset,\n limit: limit,\n filters: filters,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-source-files-count'] = JSON.parse(response.headers['x-source-files-count']) as number;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move source files inside the specified folder.\n */\nexport function moveSourceFiles(\n {\n folder_id,\n source_file_ids,\n }: {\n folder_id: string;\n source_file_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/source-files',\n data: source_file_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUploadTasksInFolder_UploadTask = {\n /** Upload task unique identifier */\n upload_task_id: string;\n /** Folder unique identifier */\n folder_id: string;\n /** Date of the upload */\n uploaded_at: string;\n /** User who uploaded the file */\n uploaded_by: GetUploadTasksInFolder_Object;\n /** The global progress of the conversion tasks */\n progress: number;\n /** The download progress of the source file if the Upload Task specified a URL for the source file.\nThis is only available if the source file is being downloaded.\n */\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUploadTasksInFolder_ConversionTask>;\n};\nexport type GetUploadTasksInFolder_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\nexport type GetUploadTasksInFolder_ConversionTask = {\n /** Asset unique identifier */\n asset_id: string;\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file */\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Lists all upload tasks in a folder.\n */\nexport function getUploadTasksInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetFolderAssets_Filters = {\n /** Look for assets containing the given name (case-insensitive) */\n asset_name?: string;\n /** @deprecated Deprecated. Use asset_types instead. Look for assets of the given type */\n asset_type?: (\n | Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n ) &\n any;\n /** Look for assets of the given types */\n asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n /** Look for assets associated with or without source files */\n source_file?: Array<string> | string | 'exclude';\n};\nexport type GetFolderAssets_AssetCount = {\n /** Total number of assets in target folder. */\n total: number;\n /** Total number of assets in target folder of specific type. */\n [asset_type: string]: number;\n};\nexport type GetFolderAssets__index_AssetList_AssetList = {\n action_maps?: Array<GetFolderAssets_Object>;\n animation_graphs?: Array<GetFolderAssets_Object>;\n animation_sequences?: Array<GetFolderAssets_Object>;\n animation_sets?: Array<GetFolderAssets_Object>;\n animations?: Array<GetFolderAssets_Object>;\n collision_geometries?: Array<GetFolderAssets_Object>;\n cubemaps?: Array<GetFolderAssets_Object>;\n event_maps?: Array<GetFolderAssets_Object>;\n materials?: Array<GetFolderAssets_Object>;\n meshes?: Array<GetFolderAssets_Object>;\n modules?: Array<GetFolderAssets_Object>;\n point_clouds?: Array<GetFolderAssets_Object>;\n render_graphs?: Array<GetFolderAssets_Object>;\n scenes?: Array<GetFolderAssets_Object>;\n scripts?: Array<GetFolderAssets_Object>;\n shaders?: Array<GetFolderAssets_Object>;\n skeletons?: Array<GetFolderAssets_Object>;\n sounds?: Array<GetFolderAssets_Object>;\n textures?: Array<GetFolderAssets_Object>;\n textures_1d?: Array<GetFolderAssets_Object>;\n textures_3d?: Array<GetFolderAssets_Object>;\n volume_materials?: Array<GetFolderAssets_Object>;\n};\nexport type GetFolderAssets_Object = {\n /** Asset unique identifier */\n asset_id: string;\n name: string;\n};\n/**\n * Lists assets.\n */\nexport function getFolderAssets(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filter,\n recursive = false,\n }: {\n folder_id: string;\n offset?: number;\n limit?: number;\n filter?: GetFolderAssets_Filters;\n recursive?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetFolderAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/assets',\n params: {\n offset: offset,\n limit: limit,\n filter: filter,\n recursive: recursive,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-assets-count'] = JSON.parse(\n response.headers['x-assets-count'],\n ) as GetFolderAssets_AssetCount;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateAsset_NewAsset = {\n asset_type:\n | 'action_map'\n | 'animation_graph'\n | 'animation_sequence'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'module'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'volume_material';\n name: string;\n};\nexport type CreateAsset_AssetDuplication = {\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n /** Asset unique identifier */\n copy_from_asset_id: string;\n new_asset_name?: string;\n /** Provide options to recursively duplicate asset dependencies. */\n options?: CreateAsset_DuplicationOptions;\n};\nexport type CreateAsset_DuplicationOptions = {\n /** Limits the duplication to the specified asset types */\n asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n /** Limits the depth level of the duplication process. */\n max_depth?: number;\n};\nexport type CreateAsset_AssetDuplicationResult = {\n /** Asset unique identifier */\n asset_id: string;\n name: string;\n /** Map of source asset ids to copied asset ids */\n source_to_copy_asset_id_map?: CreateAsset_SourceToCopyAssetIdMap;\n};\nexport type CreateAsset_SourceToCopyAssetIdMap = {\n [source_asset_id: string]: string;\n};\n/**\n * Creates a new asset.\n */\nexport function createAsset(\n {\n folder_id,\n asset_creation_options,\n }: {\n folder_id: string;\n asset_creation_options: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateAsset_AssetDuplicationResult> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets',\n data: asset_creation_options,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Move assets inside the specified folder.\n */\nexport function moveAssets(\n {\n folder_id,\n asset_ids,\n }: {\n folder_id: string;\n asset_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/assets',\n data: asset_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateMaterial_Object = {\n /** Asset unique identifier */\n asset_id: string;\n};\n/**\n * Creates a material.\n */\nexport function createMaterial(\n {\n folder_id,\n dataJson,\n isDoubleSided,\n name,\n shaderRef,\n }: {\n folder_id: string;\n /** Data object following the descriptor of the attached shader */\n dataJson: object;\n /** Whether the faces of the geometry are rendered from both sides or not */\n isDoubleSided: boolean;\n /** Name of the asset */\n name: string;\n /** The implemented shader */\n shaderRef: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateMaterial_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets/materials',\n data: {\n dataJson: dataJson,\n isDoubleSided: isDoubleSided,\n name: name,\n shaderRef: shaderRef,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateCubemap_Object = {\n /** Asset unique identifier */\n asset_id: string;\n};\n/**\n * Creates a cubemap.\n */\nexport function createCubemap(\n {\n folder_id,\n faces,\n name,\n }: {\n folder_id: string;\n /** The 6 images forming the cube faces */\n faces: Array<string>;\n /** Name of the asset */\n name: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateCubemap_Object> {\n return axiosInstance({\n method: 'post',\n url: '/folders/' + folder_id + '/assets/cubemaps',\n data: {\n faces: faces,\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse = {\n /** List of asset ids contained in the package */\n asset_ids: ImportAssets_AssetIds;\n /** List of skipped file names in the package */\n skipped_files?: Array<string>;\n};\nexport type ImportAssets_AssetIds = {\n /** List of asset ids that were created */\n imported: Array<string>;\n /** List of asset ids that were overwritten */\n overwritten: Array<string>;\n /** List of asset ids that were skipped because they already exist and were not specified in the overwrite.json file */\n skipped: Array<string>;\n};\n/**\n * Imports or replaces multiple assets submitted as a package.\n * The package must be a zip archive containing the assets to import.\n * The package should contain the assets themselves at the root level of the archive with their descriptions in JSON format, and their payloads (e.g. textures, meshes, etc.)\n * and contain all the assets' dependencies if they do not already exist.\n * Supported assets are :\n * - scene\n * - mesh\n * - material\n * - animation\n * - animation_set\n * - animation_graph\n * - skeleton\n * - texture_1d\n * - texture\n * - texture_3d\n * - collision_geometry\n * - cubemap\n * - volume_material\n * - event_map\n * - action_map\n * - sound\n * - point_cloud\n * The packaged assets' files should be named according to the following pattern:\n * ``` json\n * - desc.[asset_type].{uuid}\n * - payload.[mesh|texture|animation|skeleton|texture_1d|texture_3d|collision_geometry|sound].{uuid}\n * - payload.[texture_1d|texture|texture_3d].mips[0-16].{uuid}\n * - payload.point_cloud.[position|color].{uuid}\n * - payload.texture_3d.histogram.{uuid}\n * ```\n * The package may also contain an overwrite.json file that describes which assets to overwrite.\n * The overwrite.json file is only used if the overwrite query parameter is set to only-specified.\n */\nexport function importAssets(\n {\n folder_id,\n overwrite = 'never',\n body,\n }: {\n folder_id: string;\n overwrite?: 'never' | 'only-specified' | 'always';\n body: ArrayBuffer | ReadableStream;\n },\n onUploadProgress?: (progressEvent: AxiosProgressEvent) => void,\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse> {\n return axiosInstance({\n method: 'put',\n url: '/folders/' + folder_id + '/packages',\n params: {\n overwrite: overwrite,\n },\n data: body,\n maxRedirects: 0,\n onUploadProgress: onUploadProgress,\n headers: {\n 'Content-Type': 'application/zip',\n ...headers?.toJSON(),\n },\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSessionsInFolder_Session = {\n /** Session unique identifier */\n session_id: string;\n /** The main scene identifier of the session */\n scene_id: string;\n /** The main scene name of the session */\n scene_name: string;\n /** The folder identifier of the scene */\n folder_id: string;\n /** Maximum number of users allowed in this session at the same time */\n max_users: number;\n /** User identifier of the creator of the session */\n creator_user_id: string;\n /** Session creation date */\n created_at: string;\n /** Country code of the rendering server location */\n country_code: string;\n /** Continent code of the rendering server location */\n continent_code: string;\n /** Whether the session is transient or not */\n is_transient_session: boolean;\n /** Current clients in session */\n clients: Array<GetSessionsInFolder_Client_UserInfo>;\n};\nexport type GetSessionsInFolder_Client_UserInfo = {\n /** Client unique identifier */\n client_id?: string;\n client_type?: 'user' | 'guest';\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\n/**\n * Lists all sessions running on scenes contained in a specified folder.\n */\nexport function getSessionsInFolder(\n {\n folder_id,\n }: {\n folder_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSessionsInFolder_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/folders/' + folder_id + '/sessions',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListSourceFiles_Filters = {\n source_file_name?: string;\n};\nexport type ListSourceFiles_SourceFile = {\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file when uploaded */\n source_file_original_name: string;\n /** Source file display name */\n name: string;\n /** Size in bytes */\n size: number;\n};\n/**\n * List source files.\n */\nexport function listSourceFiles(\n {\n offset = 0,\n limit = 10,\n filters,\n }: {\n offset?: number;\n limit?: number;\n filters?: ListSourceFiles_Filters;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<ListSourceFiles_SourceFile>> {\n return axiosInstance({\n method: 'get',\n url: '/source-files',\n params: {\n offset: offset,\n limit: limit,\n filters: filters,\n },\n headers: headers,\n }).then(response => {\n response.headers['x-source-files-count'] = JSON.parse(response.headers['x-source-files-count']) as number;\n return response;\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the target source files. Deleting a source file is permanent.\n */\nexport function deleteSourceFiles(\n {\n source_file_ids,\n delete_assets = false,\n }: {\n /** List of source files to delete */\n source_file_ids: Array<string>;\n /** If true, delete the assets associated with the source files as well.\n */\n delete_assets?: boolean;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/source-files',\n data: {\n source_file_ids: source_file_ids,\n delete_assets: delete_assets,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Downloads the target source file.\n */\nexport function downloadSourceFile<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFileDetails_SourceFile = {\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file when uploaded */\n source_file_original_name: string;\n /** Source file display name */\n name: string;\n /** Size in bytes */\n size: number;\n};\n/**\n * Get source file details.\n */\nexport function getSourceFileDetails(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSourceFileDetails_SourceFile> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '/details',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Updates details for a specific source file.\n */\nexport function updateSourceFileDetails(\n {\n source_file_id,\n name,\n }: {\n source_file_id: string;\n /** Source file display name */\n name: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/source-files/' + source_file_id + '/details',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSourceFileAssets__index_AssetList_AssetList = {\n action_maps?: Array<GetSourceFileAssets_Object>;\n animation_graphs?: Array<GetSourceFileAssets_Object>;\n animation_sequences?: Array<GetSourceFileAssets_Object>;\n animation_sets?: Array<GetSourceFileAssets_Object>;\n animations?: Array<GetSourceFileAssets_Object>;\n collision_geometries?: Array<GetSourceFileAssets_Object>;\n cubemaps?: Array<GetSourceFileAssets_Object>;\n event_maps?: Array<GetSourceFileAssets_Object>;\n materials?: Array<GetSourceFileAssets_Object>;\n meshes?: Array<GetSourceFileAssets_Object>;\n modules?: Array<GetSourceFileAssets_Object>;\n point_clouds?: Array<GetSourceFileAssets_Object>;\n render_graphs?: Array<GetSourceFileAssets_Object>;\n scenes?: Array<GetSourceFileAssets_Object>;\n scripts?: Array<GetSourceFileAssets_Object>;\n shaders?: Array<GetSourceFileAssets_Object>;\n skeletons?: Array<GetSourceFileAssets_Object>;\n sounds?: Array<GetSourceFileAssets_Object>;\n textures?: Array<GetSourceFileAssets_Object>;\n textures_1d?: Array<GetSourceFileAssets_Object>;\n textures_3d?: Array<GetSourceFileAssets_Object>;\n volume_materials?: Array<GetSourceFileAssets_Object>;\n};\nexport type GetSourceFileAssets_Object = {\n /** Asset unique identifier */\n asset_id: string;\n name: string;\n};\n/**\n * Lists all assets generated from the requested source file.\n */\nexport function getSourceFileAssets(\n {\n source_file_id,\n }: {\n source_file_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/source-files/' + source_file_id + '/assets',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Lists all upload tasks. These upload tasks relate to uploaded source files.\n */\nexport function getUploadTasks(\n {\n offset = 0,\n limit = 10,\n }: {\n offset?: number;\n limit?: number;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<any> {\n return axiosInstance({\n method: 'get',\n url: '/upload-tasks',\n params: {\n offset: offset,\n limit: limit,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetUploadTask_UploadTask = {\n /** Upload task unique identifier */\n upload_task_id: string;\n /** Folder unique identifier */\n folder_id: string;\n /** Date of the upload */\n uploaded_at: string;\n /** User who uploaded the file */\n uploaded_by: GetUploadTask_Object;\n /** The global progress of the conversion tasks */\n progress: number;\n /** The download progress of the source file if the Upload Task specified a URL for the source file.\nThis is only available if the source file is being downloaded.\n */\n download_progress?: number;\n status: StrictUnion<'waiting' | 'downloading' | 'pending' | 'converting' | 'error' | 'success' | 'rejected'> &\n string;\n conversion_tasks: Array<GetUploadTask_ConversionTask>;\n};\nexport type GetUploadTask_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\nexport type GetUploadTask_ConversionTask = {\n /** Asset unique identifier */\n asset_id: string;\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file */\n source_file_name: string;\n conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation' | 'point-cloud';\n progress: number;\n status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;\n};\n/**\n * Gets information related to an upload task. This upload task relates to uploaded source files.\n */\nexport function getUploadTask(\n {\n upload_task_id,\n }: {\n upload_task_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetUploadTask_UploadTask> {\n return axiosInstance({\n method: 'get',\n url: '/upload-tasks/' + upload_task_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets metadata related to a conversion task. This metadata is produced by the conversion task.\n */\nexport function getConversionTaskMetadata<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n conversion_task_id,\n filename,\n }: {\n conversion_task_id: string;\n filename: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/conversion_tasks/' + conversion_task_id + '/metadata/' + filename + '',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type SchedulePipeline_Object = {\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n /** Asset unique identifier */\n asset_id: string;\n};\nexport type SchedulePipeline_Object_Writable = {\n /** Pipeline unique identifier. A pipeline is an instance of a Data Pipeline. */\n pipeline_id: string;\n};\n/**\n * Schedules a data pipeline to be run.\n */\nexport function schedulePipeline(\n {\n data_pipeline_id,\n pipeline_name,\n folder_id,\n inputs,\n asset_refs,\n }: {\n /** Identifier of the data pipeline to schedule. */\n data_pipeline_id: string;\n /** Optional name for the scheduled pipeline instance. */\n pipeline_name?: string;\n /** Identifier of the folder where the pipeline is scheduled. */\n folder_id: string;\n /** Input parameters for the data pipeline. */\n inputs?: object;\n /** List of assets required by the pipeline. */\n asset_refs?: Array<SchedulePipeline_Object>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<SchedulePipeline_Object_Writable> {\n return axiosInstance({\n method: 'post',\n url: '/pipelines',\n data: {\n data_pipeline_id: data_pipeline_id,\n pipeline_name: pipeline_name,\n folder_id: folder_id,\n inputs: inputs,\n asset_refs: asset_refs,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetPipeline_Pipeline = {\n /** Data Pipeline unique identifier. */\n data_pipeline_id: string;\n /** Unique identifier of an environment */\n environment_id: string;\n /** Date and time when the pipeline was completed, either successfully or with errors. */\n finished_at?: string;\n /** Folder unique identifier */\n folder_id: string;\n jobs: Array<GetPipeline_Job>;\n /** Name of the pipeline. */\n name: string;\n /** Pipeline unique identifier. A pipeline is an instance of a Data Pipeline. */\n pipeline_id: string;\n progress: number;\n /** Date and time when the pipeline was accepted by the system and queued for processing. */\n queued_at?: string;\n /** Possible status of a pipeline. */\n status:\n | 'created'\n | 'downloading'\n | 'extracting'\n | 'pending-approval'\n | 'queued'\n | 'running'\n | 'passed-with-errors'\n | 'failed'\n | 'rejected'\n | 'succeeded';\n /** Date and time when the pipeline was triggered. */\n triggered_at: string;\n /** User unique identifier */\n user_id: string;\n};\nexport type GetPipeline_Job = {\n /** Date and time when the job was completed, either successfully or with errors. */\n finished_at?: string;\n /** Data Pipeline job unique identifier. */\n job_id: string;\n /** Name of the job. */\n name: string;\n /** Pipeline unique identifier. A pipeline is an instance of a Data Pipeline. */\n pipeline_id: string;\n progress: number;\n /** Date and time when the job was queued for processing. */\n queued_at?: string;\n /** Date and time when the job was started. */\n started_at?: string;\n /** Possible status of a job. */\n status: 'created' | 'queued' | 'running' | 'timed-out' | 'failed' | 'succeeded';\n steps: Array<GetPipeline_Step>;\n};\nexport type GetPipeline_Step = {\n /** Date and time when the step was completed, either successfully or with errors. */\n finished_at?: string;\n /** Data Pipeline job unique identifier. */\n job_id: string;\n /** Name of the step. */\n name: string;\n progress: number;\n /** Date and time when the step was started. */\n started_at?: string;\n /** Possible status of a step. */\n status: 'created' | 'skipped' | 'queued' | 'running' | 'timed-out' | 'failed' | 'succeeded';\n /** Data Pipeline job step unique identifier. */\n step_id: string;\n};\n/**\n * Retrieves a specific instantiated Data Pipeline by its ID.\n */\nexport function getPipeline(\n {\n pipeline_id,\n }: {\n pipeline_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetPipeline_Pipeline> {\n return axiosInstance({\n method: 'get',\n url: '/pipelines/' + pipeline_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type ListAssets_Filter = {\n /** @deprecated Deprecated. Use asset_types instead. Look for assets of the given type */\n asset_type?: (\n | Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n ) &\n any;\n /** Look for assets of the given types */\n asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n /** Filter by asset name */\n asset_name?: string;\n /** Include assets coming from public libraries */\n include_public_assets?: boolean;\n};\nexport type ListAssets__index_AssetList_AssetList = {\n action_maps?: Array<ListAssets_Object>;\n animation_graphs?: Array<ListAssets_Object>;\n animation_sequences?: Array<ListAssets_Object>;\n animation_sets?: Array<ListAssets_Object>;\n animations?: Array<ListAssets_Object>;\n collision_geometries?: Array<ListAssets_Object>;\n cubemaps?: Array<ListAssets_Object>;\n event_maps?: Array<ListAssets_Object>;\n materials?: Array<ListAssets_Object>;\n meshes?: Array<ListAssets_Object>;\n modules?: Array<ListAssets_Object>;\n point_clouds?: Array<ListAssets_Object>;\n render_graphs?: Array<ListAssets_Object>;\n scenes?: Array<ListAssets_Object>;\n scripts?: Array<ListAssets_Object>;\n shaders?: Array<ListAssets_Object>;\n skeletons?: Array<ListAssets_Object>;\n sounds?: Array<ListAssets_Object>;\n textures?: Array<ListAssets_Object>;\n textures_1d?: Array<ListAssets_Object>;\n textures_3d?: Array<ListAssets_Object>;\n volume_materials?: Array<ListAssets_Object>;\n};\nexport type ListAssets_Object = {\n /** Asset unique identifier */\n asset_id: string;\n name: string;\n};\n/**\n * Returns a list of all assets.\n */\nexport function listAssets(\n {\n offset = 0,\n limit = 10,\n filter,\n }: {\n offset?: number;\n limit?: number;\n filter?: ListAssets_Filter;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<ListAssets__index_AssetList_AssetList> {\n return axiosInstance({\n method: 'get',\n url: '/assets',\n params: {\n offset: offset,\n limit: limit,\n filter: filter,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Batch delete assets. You **MUST NOT** reference assets.\n */\nexport function deleteAssets(\n {\n asset_ids,\n }: {\n asset_ids: Array<string>;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets',\n data: asset_ids,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Deletes the asset.\n */\nexport function deleteAsset(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets/' + asset_container + '/' + asset_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetSourceFile_SourceFile = {\n /** Source file unique identifier */\n source_file_id: string;\n /** The name of the source file when uploaded */\n source_file_original_name: string;\n /** Source file display name */\n name: string;\n /** Size in bytes */\n size: number;\n};\n/**\n * Gets the source file of the specified asset.\n */\nexport function getAssetSourceFile(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetSourceFile_SourceFile> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/source-file',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDetails__index_AssetDetails_AssetDetails = {\n asset_id: string;\n contributors?: Array<GetAssetDetails_Contributor>;\n created_at?: string;\n /** This object represents a user in a 3dverse project.\nThis object contains group and task information about the user.\nThe user object lets you create or update user tokens that identify the useron the 3dverse platform.\n */\n created_by?: GetAssetDetails_Object;\n last_edited_at?: string;\n /** This object represents a user in a 3dverse project.\nThis object contains group and task information about the user.\nThe user object lets you create or update user tokens that identify the useron the 3dverse platform.\n */\n last_edited_by?: GetAssetDetails_LastEditedBy;\n name: string;\n type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n};\nexport type GetAssetDetails_Contributor = {\n contribution_count: number;\n /** This object represents a user in a 3dverse project.\nThis object contains group and task information about the user.\nThe user object lets you create or update user tokens that identify the useron the 3dverse platform.\n */\n user: GetAssetDetails_Object;\n};\nexport type GetAssetDetails_Object = {\n /** The user registration date */\n registered_at: string;\n /** User unique identifier */\n user_id: string;\n /** The username that will be displayed in monitoring tools. */\n username: string;\n};\nexport type GetAssetDetails_LastEditedBy = {\n /** The user registration date */\n registered_at: string;\n /** User unique identifier */\n user_id: string;\n /** The username that will be displayed in monitoring tools. */\n username: string;\n};\n/**\n * Gets the asset details from the specified asset.\n */\nexport function getAssetDetails(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/details',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetFolder_Folder = {\n /** Folder unique identifier */\n folder_id: string;\n /** Folder unique identifier */\n parent_folder_id?: string;\n /** Folder name */\n name: string;\n created_at?: string;\n created_by?: GetAssetFolder_Object;\n subfolders?: Array<GetAssetFolder_Folder>;\n source_file_count?: number;\n asset_count?: number;\n};\nexport type GetAssetFolder_Object = {\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n /** The user registration date */\n registered_at: string;\n};\n/**\n * Gets the asset folder from the specified asset.\n */\nexport function getAssetFolder(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetFolder_Folder> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/folder',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDependencies_Filter = {\n /** Filter dependencies by types */\n with_asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n /** Exclude dependencies by types */\n without_asset_types?: Array<\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material'\n >;\n /** Filter assets by public status */\n public?: 'include' | 'exclude' | 'restrict-to';\n};\nexport type GetAssetDependencies_Asset = {\n /** Asset unique identifier */\n asset_id: string;\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n /** Additional properties of the asset */\n properties?: GetAssetDependencies_Object;\n};\nexport type GetAssetDependencies_Object = {\n name?: string;\n /** Number of time that the dependency is needed as direct dependency */\n direct_count?: number;\n /** Number of time that the dependency is needed as indirect dependency */\n indirect_count?: number;\n /** Whether the asset is public */\n is_public?: boolean;\n /** Whether the asset is accessible to the user */\n is_accessible?: boolean;\n /** Information about the asset payload */\n payload_info?: GetAssetDependencies_PayloadInfo;\n /** Direct dependencies of the asset */\n dependencies?: Array<GetAssetDependencies_Dependency>;\n};\nexport type GetAssetDependencies_PayloadInfo = {\n /** Hash of the asset payload if it exists */\n hash?: string;\n /** Storage id of the asset payload */\n storage_id?: number;\n};\nexport type GetAssetDependencies_Dependency = {\n /** Asset unique identifier */\n asset_id: string;\n /** Number of time that the dependency is needed */\n count: number;\n};\n/**\n * Gets the asset dependencies from the specified asset.\n */\nexport function getAssetDependencies(\n {\n asset_container,\n asset_id,\n offset = 0,\n limit = 10,\n depth = 'all',\n filters,\n properties,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n offset?: number;\n limit?: number;\n depth?: 'all' | 'direct' | 'all-until-self-dependent' | number;\n filters?: GetAssetDependencies_Filter;\n properties?: Array<'name' | 'dependencies' | 'count' | 'public' | 'accessible' | 'payload_info'>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetAssetDependencies_Asset>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/dependencies',\n params: {\n offset: offset,\n limit: limit,\n depth: depth,\n filters: filters,\n properties: properties,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetReferences_Asset = {\n /** Asset unique identifier */\n asset_id: string;\n asset_type:\n | 'action_map'\n | 'animation'\n | 'animation_graph'\n | 'animation_sequence'\n | 'animation_set'\n | 'collision_geometry'\n | 'cubemap'\n | 'event_map'\n | 'material'\n | 'mesh'\n | 'module'\n | 'point_cloud'\n | 'render_graph'\n | 'scene'\n | 'script'\n | 'shader'\n | 'skeleton'\n | 'sound'\n | 'texture'\n | 'texture_1d'\n | 'texture_3d'\n | 'volume_material';\n /** Additional properties of the asset */\n properties?: GetAssetReferences_Object;\n};\nexport type GetAssetReferences_Object = {\n name?: string;\n /** Number of time that the dependency is needed as direct dependency */\n direct_count?: number;\n /** Whether the asset is public */\n is_public?: boolean;\n};\n/**\n * Gets the asset references from the specified asset.\n */\nexport function getAssetReferences(\n {\n asset_container,\n asset_id,\n offset = 0,\n limit = 10,\n properties,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n offset?: number;\n limit?: number;\n properties?: Array<'name' | 'count' | 'public'>;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetAssetReferences_Asset>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/references',\n params: {\n offset: offset,\n limit: limit,\n properties: properties,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetDescription_ActionMap = {\n actions: GetAssetDescription_Object;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Object = {\n [action_name: string]: object;\n};\nexport type GetAssetDescription_Animation = {\n /** A track that represents events triggered by the animation */\n animationEventTrack: GetAssetDescription_Object;\n /** Duration of the animation in ms */\n durationInMs: number;\n /** Name of the asset */\n name: string;\n /** Payload size of all channels */\n payloadSize: number;\n /** A reference to the skeleton used by this animation */\n skeletonRef?: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_AnimationGraph = {\n /** Inputs used by the graph */\n inputDescriptor: Array<object>;\n /** Name of the asset */\n name: string;\n /** Animation state machines */\n stateMachines: Array<GetAssetDescription_Object>;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_AnimationSequence = {\n /** Duration of the animation in milliseconds */\n durationInMs: number;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_AnimationSet = {\n /** Parent animation graph */\n animationGraphUUID: string;\n /** The animation set */\n animationSet: Array<GetAssetDescription_Object>;\n /** The bone mask set */\n boneMaskSet?: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_CollisionGeometry = {\n geometryType: StrictUnion<0 | 1>;\n /** Name of the asset */\n name: string;\n /** Total size in byte of this mesh's payload. This has to be equal to the sum of each submesh payload size */\n payloadSize: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Cubemap = {\n /** The 6 images forming the cube faces */\n faces: Array<string>;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_EventMap = {\n /** A map of events and their parameters descriptors */\n events: GetAssetDescription_Object;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Material = {\n /** Data object following the descriptor of the attached shader */\n dataJson: object;\n /** Whether the faces of the geometry are rendered from both sides or not */\n isDoubleSided: boolean;\n /** Name of the asset */\n name: string;\n /** The implemented shader */\n shaderRef: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Mesh = {\n /** Morph targets which contain the deltas from the source submesh */\n morphTargets?: Array<GetAssetDescription_MorphTargets>;\n /** Name of the asset */\n name: string;\n /** Total size in byte of this mesh's payload. This has to be equal to the sum of each submesh payload size */\n payloadSize: number;\n /** A mesh is composed of one or more submeshes */\n submeshes: Array<GetAssetDescription_Submesh>;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_MorphTargets = {\n /** Batches of morph targets which share the same index channel */\n batches: Array<GetAssetDescription_MorphTargetBatchDescription>;\n /** Channels that make up the morph targets */\n channels: Array<GetAssetDescription_Channel>;\n};\nexport type GetAssetDescription_MorphTargetBatchDescription = {\n /** Index of the index channel in the channels array */\n indexChannelIndex: number;\n /** Morph targets in the batch */\n morphTargets: GetAssetDescription_Object;\n};\nexport type GetAssetDescription_Channel = {\n /** Offset in bytes from the beginning of the associated buffer where the first element of the first attribute can be found */\n dataOffset: number;\n /** Size of this channel in bytes */\n dataSize: number;\n /** Number of elements that make one attribute. 2 for vec2, 3 for vec3, 16 for mat4, etc. */\n elementCount: number;\n /** Size in bytes of a single element (1, 2, 4, 8) for integers, (4, 8) for floats */\n elementSize: number;\n /** Can be either (signed/unsigned) integer or float */\n elementType: StrictUnion<0 | 1 | 2> & number;\n /** Semantic of the attribute */\n semantic: StrictUnion<'index' | 'position' | 'normal' | 'uv' | 'color' | 'bone_id' | 'weight'>;\n};\nexport type GetAssetDescription_Submesh = {\n /** The axis aligned bounding box that encompasses all the vertices of the submesh */\n aabb: GetAssetDescription_BoundingBox;\n /** Description of the channels in the payload blob */\n channels: Array<GetAssetDescription_Channel>;\n /** Total number of indices, a vertex can be referenced multiple times using its index. Note that this number has to be divisible by 3 as we only deal with triangles. Also, note that if this mesh doesn't use indices, the count will be 0. */\n indexCount: number;\n /** Index of morph targets associated with this submesh */\n morphTargetsIndex?: number;\n /** Total number of vertices. Can't exceed UINT32_MAX because indices are restricted to a uint32 */\n vertexCount: number;\n};\nexport type GetAssetDescription_BoundingBox = {\n /** Maximum point of the box */\n max: Array<number>;\n /** Minimum point of the box */\n min: Array<number>;\n};\nexport type GetAssetDescription_Module = {\n functions: GetAssetDescription_Object;\n /** Name of the asset */\n name: string;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_PointCloud = {\n /** Axis aligned bounding box of the entire point cloud */\n bounds: GetAssetDescription_Aabb;\n /** Description of the per-point attributes (position, color, etc.) */\n channels: Array<GetAssetDescription_Channel>;\n /** Number of layers in the kd-tree. The root node is at layer 0 */\n layerCount: number;\n /** Name of the asset */\n name: string;\n /** Number of nodes in the kd-tree */\n nodeCount: number;\n /** Number of points in the original point cloud before any spatial partitioning or filtering was applied */\n originalPointCount: number;\n /** Page size in bytes used for sparse buffer alignment. Each node occupies a multiple of this size per attribute */\n pageSize: number;\n /** Total size in bytes of all attribute layer files. Sum of sizeof(payload.pointCloud.layer<N>-<attribute>.<uuid>) for all layers and attributes */\n payloadTotalSize: number;\n /** Total number of points across all nodes in the tree, including intermediary nodes. Greater than or equal to originalPointCount */\n totalPointCount: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Aabb = {\n /** Maximum point of the box */\n max: Array<number>;\n /** Minimum point of the box */\n min: Array<number>;\n};\nexport type GetAssetDescription_RenderGraph = {\n /** All blend states */\n blendStateDescriptions?: Array<GetAssetDescription_Object>;\n /** Conditions referenced by conditionIndex */\n conditions?: Array<string>;\n /** The index of the render target to blit into the canvas */\n defaultRenderTargetIndex?: number;\n /** The order in which to interpret the nodes */\n graphOrder: Array<Array<number>>;\n /** Input descriptor used to parse input data */\n inputDescriptor: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Descriptions of all nodes */\n nodeDataDescriptions: Array<\n StrictUnion<\n | GetAssetDescription_Viewport\n | GetAssetDescription_DrawBatch\n | GetAssetDescription_DrawBatchWithMaterials\n | GetAssetDescription_DispatchCompute\n | GetAssetDescription_BlitImage\n | GetAssetDescription_CopyImage\n | GetAssetDescription_ResolveImage\n | GetAssetDescription_DrawFullscreen\n | GetAssetDescription_GenerateMipChain\n | GetAssetDescription_CopyToCubemapFace\n | GetAssetDescription_ClearImages\n | GetAssetDescription_FillBuffer\n | GetAssetDescription_DrawDebugLines\n | GetAssetDescription_DispatchDecalsCompute\n | GetAssetDescription_SetDepthBias\n | GetAssetDescription_DispatchRayTracing\n > &\n GetAssetDescription_Object\n >;\n /** The index of the render target used for occlusion */\n occlusionInputDepthRenderTargetIndex?: number;\n /** Descriptions of all render passes */\n renderPassDescriptions: Array<GetAssetDescription_Object>;\n /** Descriptions of all render targets */\n renderTargetDescriptions: Array<GetAssetDescription_Object>;\n /** All stencil states */\n stencilOpStateDescriptions?: Array<GetAssetDescription_Object>;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Viewport = {\n type?: 0;\n};\nexport type GetAssetDescription_DrawBatch = {\n /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */\n batchType?: number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: GetAssetDescription_Object;\n /** Unique identifier for the asset */\n shaderRef?: string;\n type?: 1;\n};\nexport type GetAssetDescription_DrawBatchWithMaterials = {\n /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */\n batchType?: number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: GetAssetDescription_Object;\n type?: 2;\n};\nexport type GetAssetDescription_DispatchCompute = {\n /** @deprecated Const data type */\n constDataType?: StrictUnion<\n 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24\n > &\n number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Unique identifier for the asset */\n shaderRef?: string;\n type?: 3;\n};\nexport type GetAssetDescription_BlitImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 4;\n};\nexport type GetAssetDescription_CopyImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 6;\n};\nexport type GetAssetDescription_ResolveImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 7;\n};\nexport type GetAssetDescription_DrawFullscreen = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: GetAssetDescription_Object;\n /** Unique identifier for the asset */\n shaderRef?: string;\n type?: 8;\n};\nexport type GetAssetDescription_GenerateMipChain = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n type?: 9;\n};\nexport type GetAssetDescription_CopyToCubemapFace = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n type?: 10;\n};\nexport type GetAssetDescription_ClearImages = {\n /** Clear colors */\n clearColors?: Array<Array<number>>;\n /** Render targets to clear */\n outputRenderTargetIndices?: Array<number>;\n type?: 13;\n};\nexport type GetAssetDescription_FillBuffer = {\n /** Name of the buffer */\n bufferName?: string;\n /** Offset in the buffer */\n bufferOffset?: number;\n /** Size of the buffer; 0 for whole size */\n bufferSize?: number;\n /** Value to fill the buffer with */\n bufferValue?: number;\n type?: 15;\n};\nexport type GetAssetDescription_DrawDebugLines = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: GetAssetDescription_Object;\n /** Unique identifier for the asset */\n shaderRef?: string;\n type?: 16;\n};\nexport type GetAssetDescription_DispatchDecalsCompute = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n type?: 17;\n};\nexport type GetAssetDescription_SetDepthBias = {\n /** Depth bias clamp */\n depthBiasClamp?: number;\n /** Depth bias constant factor */\n depthBiasConstantFactor?: number;\n /** Depth bias slope factor */\n depthBiasSlopeFactor?: number;\n type?: 18;\n};\nexport type GetAssetDescription_DispatchRayTracing = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Unique identifier for the asset */\n shaderRef?: string;\n type?: 19;\n};\nexport type GetAssetDescription_Scene = {\n /** Bounding box in local space */\n aabb: GetAssetDescription_Aabb;\n /** Flat list of entities */\n entities: Array<object>;\n /** Name of the asset */\n name: string;\n /** Settings in json format */\n settings?: object;\n /** Total number of direct triangles in the scene */\n triangleCount?: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Script = {\n /** The events that the script listens to, referenced by name */\n eventNames: Array<string>;\n /** The description of the data object that the caller should provide to the script */\n inputDescriptor?: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** An optional list of references to other scripts that the current script might call */\n subScripts?: Array<string>;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Shader = {\n /** The blend mode for the shader, used for batching purposes. Only valid for material shaders */\n blendMode?: StrictUnion<0 | 1 | 2 | 3>;\n /** Data descriptor for material shaders */\n materialDescriptor?: Array<GetAssetDescription_Object>;\n /** Descriptions of all modules that compose this shader */\n moduleDescriptions: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Data descriptor for render graph node shaders */\n nodeDataDescriptor?: Array<GetAssetDescription_Object>;\n /** Compute shader settings. Only valid for compute shaders */\n optComputeSettings?: GetAssetDescription_Object;\n /** Vertex description. Only valid when a vertex shader module is present */\n optVertexDescriptor?: Array<GetAssetDescription_Object>;\n /** The size in byte of the compiled shader code (accumulated size of all modules) */\n payloadSize: number;\n /** Vulkan bit mask of all shader stages present in this shader */\n shaderStages?: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Skeleton = {\n /** Descriptions of all bones forming the skeleton */\n bones: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** The size in byte of skeleton data */\n payloadSize: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Sound = {\n /** The bit depth of the audio data */\n bitDepth: number;\n /** The of audio channels (1 = mono, 2 = stereo, etc.) */\n channelCount: number;\n /** Duration of the track in milliseconds */\n durationInMs: number;\n /** Name of the asset */\n name: string;\n /** The size in byte of the sound data */\n payloadSize: number;\n /** Total number of samples composing the audio track */\n sampleCount: number;\n /** Frequency in Hertz */\n sampleFrequencyInHz: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Texture = {\n /** The format of the texture */\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n /** Mip-maps */\n mips: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Total size in bytes of all mip-maps */\n payloadTotalSize: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Texture_1D = {\n /** The format of the texture */\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n /** Mip-maps */\n mips: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Total size in bytes of all mip-maps */\n payloadTotalSize: number;\n /** Unique identifier for the asset */\n uuid: string;\n};\nexport type GetAssetDescription_Texture_3D = {\n /** The format of the texture */\n format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;\n /** Mip-maps */\n mips: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Total size in bytes of all mip-maps */\n payloadTotalSize: number;\n /** Unique identifier for the asset */\n uuid: string;\n /** The voxel dimensions of the texture */\n voxelDimensions?: Array<number>;\n};\nexport type GetAssetDescription_VolumeMaterial = {\n /** The albedo look up table */\n albedoLUT?: Array<GetAssetDescription_Object>;\n /** The metallic look up table */\n metallicLUT?: Array<GetAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** The opacity look up table */\n opacityLUT?: Array<GetAssetDescription_Object>;\n /** The maximum voxel value handled by the material */\n rangeMax: number;\n /** The minimum voxel value handled material */\n rangeMin: number;\n /** The roughness look up table */\n roughnessLUT?: Array<GetAssetDescription_Object>;\n /** Unique identifier for the asset */\n uuid: string;\n};\n/**\n * Gets the asset description from the specified asset.\n */\nexport function getAssetDescription(\n {\n asset_id,\n asset_container,\n }: {\n asset_id: string;\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<\n StrictUnion<\n | GetAssetDescription_ActionMap\n | GetAssetDescription_Animation\n | GetAssetDescription_AnimationGraph\n | GetAssetDescription_AnimationSequence\n | GetAssetDescription_AnimationSet\n | GetAssetDescription_CollisionGeometry\n | GetAssetDescription_Cubemap\n | GetAssetDescription_EventMap\n | GetAssetDescription_Material\n | GetAssetDescription_Mesh\n | GetAssetDescription_Module\n | GetAssetDescription_PointCloud\n | GetAssetDescription_RenderGraph\n | GetAssetDescription_Scene\n | GetAssetDescription_Script\n | GetAssetDescription_Shader\n | GetAssetDescription_Skeleton\n | GetAssetDescription_Sound\n | GetAssetDescription_Texture\n | GetAssetDescription_Texture_1D\n | GetAssetDescription_Texture_3D\n | GetAssetDescription_VolumeMaterial\n >\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateAssetDescription_Cubemap = {\n /** The 6 images forming the cube faces */\n faces: Array<string>;\n /** Name of the asset */\n name: string;\n};\nexport type UpdateAssetDescription_Material = {\n /** Data object following the descriptor of the attached shader */\n dataJson: object;\n /** Whether the faces of the geometry are rendered from both sides or not */\n isDoubleSided: boolean;\n /** Name of the asset */\n name: string;\n /** The implemented shader */\n shaderRef: string;\n};\nexport type UpdateAssetDescription_RenderGraph = {\n /** All blend states */\n blendStateDescriptions?: Array<UpdateAssetDescription_Object>;\n /** Conditions referenced by conditionIndex */\n conditions?: Array<string>;\n /** The index of the render target to blit into the canvas */\n defaultRenderTargetIndex?: number;\n /** The order in which to interpret the nodes */\n graphOrder: Array<Array<number>>;\n /** Input descriptor used to parse input data */\n inputDescriptor: Array<UpdateAssetDescription_Object>;\n /** Name of the asset */\n name: string;\n /** Descriptions of all nodes */\n nodeDataDescriptions: Array<\n StrictUnion<\n | UpdateAssetDescription_Viewport\n | UpdateAssetDescription_DrawBatch\n | UpdateAssetDescription_DrawBatchWithMaterials\n | UpdateAssetDescription_DispatchCompute\n | UpdateAssetDescription_BlitImage\n | UpdateAssetDescription_CopyImage\n | UpdateAssetDescription_ResolveImage\n | UpdateAssetDescription_DrawFullscreen\n | UpdateAssetDescription_GenerateMipChain\n | UpdateAssetDescription_CopyToCubemapFace\n | UpdateAssetDescription_ClearImages\n | UpdateAssetDescription_FillBuffer\n | UpdateAssetDescription_DrawDebugLines\n | UpdateAssetDescription_DispatchDecalsCompute\n | UpdateAssetDescription_SetDepthBias\n | UpdateAssetDescription_DispatchRayTracing\n > &\n UpdateAssetDescription_Object\n >;\n /** The index of the render target used for occlusion */\n occlusionInputDepthRenderTargetIndex?: number;\n /** Descriptions of all render passes */\n renderPassDescriptions: Array<UpdateAssetDescription_Object>;\n /** Descriptions of all render targets */\n renderTargetDescriptions: Array<UpdateAssetDescription_Object>;\n /** All stencil states */\n stencilOpStateDescriptions?: Array<UpdateAssetDescription_Object>;\n};\nexport type UpdateAssetDescription_Object = {\n /** Alpha blend operator */\n alphaBlendOp?: number;\n /** Enable blending */\n blendEnable?: boolean;\n /** Color blend operator */\n colorBlendOp?: number;\n /** Color write mask */\n colorWriteMask?: number;\n /** Destination alpha blend factor */\n dstAlphaBlendFactor?: number;\n /** Destination color blend factor */\n dstColorBlendFactor?: number;\n /** Source alpha blend factor */\n srcAlphaBlendFactor?: number;\n /** Source color blend factor */\n srcColorBlendFactor?: number;\n};\nexport type UpdateAssetDescription_Viewport = {\n type?: 0;\n};\nexport type UpdateAssetDescription_DrawBatch = {\n /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */\n batchType?: number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 1;\n};\nexport type UpdateAssetDescription_DrawBatchWithMaterials = {\n /** Batch type bitmask (batch_flags). Combinable flags: opaque=1, transparent=2, static_meshes=4, static_textured_meshes=8, all_static_meshes=16, skinned=32, selected=64, do_not_use_material=128, double_sided=256, single_sided=512, pass_occlusion_test=1024, unselected=2048, cast_shadows=4096 */\n batchType?: number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 2;\n};\nexport type UpdateAssetDescription_DispatchCompute = {\n /** @deprecated Const data type */\n constDataType?: StrictUnion<\n 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24\n > &\n number;\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n type?: 3;\n};\nexport type UpdateAssetDescription_BlitImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 4;\n};\nexport type UpdateAssetDescription_CopyImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 6;\n};\nexport type UpdateAssetDescription_ResolveImage = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n /** Destination render target */\n outputRenderTargetIndices?: Array<number>;\n type?: 7;\n};\nexport type UpdateAssetDescription_DrawFullscreen = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 8;\n};\nexport type UpdateAssetDescription_GenerateMipChain = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n type?: 9;\n};\nexport type UpdateAssetDescription_CopyToCubemapFace = {\n /** Source render target */\n inputRenderTargetIndices?: Array<number>;\n type?: 10;\n};\nexport type UpdateAssetDescription_ClearImages = {\n /** Clear colors */\n clearColors?: Array<Array<number>>;\n /** Render targets to clear */\n outputRenderTargetIndices?: Array<number>;\n type?: 13;\n};\nexport type UpdateAssetDescription_FillBuffer = {\n /** Name of the buffer */\n bufferName?: string;\n /** Offset in the buffer */\n bufferOffset?: number;\n /** Size of the buffer; 0 for whole size */\n bufferSize?: number;\n /** Value to fill the buffer with */\n bufferValue?: number;\n type?: 15;\n};\nexport type UpdateAssetDescription_DrawDebugLines = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n /** Description of a shader pipeline */\n pipelineDescription?: UpdateAssetDescription_Object;\n type?: 16;\n};\nexport type UpdateAssetDescription_DispatchDecalsCompute = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n type?: 17;\n};\nexport type UpdateAssetDescription_SetDepthBias = {\n /** Depth bias clamp */\n depthBiasClamp?: number;\n /** Depth bias constant factor */\n depthBiasConstantFactor?: number;\n /** Depth bias slope factor */\n depthBiasSlopeFactor?: number;\n type?: 18;\n};\nexport type UpdateAssetDescription_DispatchRayTracing = {\n /** Data provided to the shader through the node data buffer */\n dataJson?: object;\n type?: 19;\n};\n/**\n * Updates the description of the specified asset.\n */\nexport function updateAssetDescription(\n {\n asset_id,\n asset_container,\n asset_description,\n }: {\n asset_id: string;\n asset_container: 'materials' | 'cubemaps' | 'render_graphs';\n asset_description: StrictUnion<\n UpdateAssetDescription_Cubemap | UpdateAssetDescription_Material | UpdateAssetDescription_RenderGraph\n >;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n data: asset_description,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Renames the specified asset.\n */\nexport function renameAsset(\n {\n asset_id,\n asset_container,\n name,\n }: {\n asset_id: string;\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n name?: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/' + asset_container + '/' + asset_id + '/description',\n data: {\n name: name,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset payload from the specified asset.\n */\nexport function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container_with_payload,\n asset_id,\n sub_resource,\n }: {\n asset_container_with_payload:\n | 'animations'\n | 'animation_sequences'\n | 'collision_geometries'\n | 'meshes'\n | 'point_clouds'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d';\n asset_id: string;\n sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_payload + '/' + asset_id + '/payload',\n params: {\n sub_resource: sub_resource,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetAssetGraph_AssetGraph = {\n /** Unique identifier for the asset graph. */\n uuid: string;\n [_additionalproperties_: string]: any;\n};\n/**\n * Gets the asset graph from the specified asset.\n */\nexport function getAssetGraph(\n {\n asset_container_with_graph,\n asset_id,\n }: {\n asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetAssetGraph_AssetGraph> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_graph + '/' + asset_id + '/graph',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Creates or replaces asset graph for the specified asset.\n */\nexport function updateAssetGraph(\n {\n asset_container_with_graph,\n asset_id,\n asset_graph,\n }: {\n asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';\n asset_id: string;\n asset_graph: object;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container_with_graph + '/' + asset_id + '/graph',\n data: asset_graph,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset history from the specified asset.\n */\nexport function getAssetHistory(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/history',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset metadata from the specified asset.\n */\nexport function getAssetMeta(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/meta',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the code of the specified asset.\n */\nexport function getAssetCode(\n {\n asset_container_with_code,\n asset_id,\n }: {\n asset_container_with_code: 'animation_sequences' | 'modules' | 'scripts' | 'shaders';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<string> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_code + '/' + asset_id + '/code',\n headers: headers,\n responseType: 'text',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset thumbnail from the specified asset.\n */\nexport function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container,\n asset_id,\n size,\n default_url,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n size: 'large' | 'medium' | 'small' | 'tiny';\n default_url?: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/thumbnail',\n params: {\n size: size,\n default_url: default_url,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Assigns a thumbnail to the specified asset.\n */\nexport function setAssetThumbnail(\n {\n asset_container,\n asset_id,\n body,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n body: ArrayBuffer | ReadableStream;\n },\n contentType: 'image/jpg' | 'image/png',\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'put',\n url: '/assets/' + asset_container + '/' + asset_id + '/thumbnail',\n data: body,\n maxRedirects: 0,\n headers: {\n 'Content-Type': contentType,\n ...headers?.toJSON(),\n },\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Gets the asset custom types from the specified asset recursively.\n */\nexport function getAssetCustomTypes(\n {\n asset_container_with_custom_types,\n asset_id,\n }: {\n asset_container_with_custom_types: 'modules';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_with_custom_types + '/' + asset_id + '/custom-types',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Packages and downloads the target asset.\n */\nexport function packageAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container,\n asset_id,\n }: {\n asset_container:\n | 'action_maps'\n | 'animations'\n | 'animation_graphs'\n | 'animation_sequences'\n | 'animation_sets'\n | 'collision_geometries'\n | 'cubemaps'\n | 'event_maps'\n | 'materials'\n | 'meshes'\n | 'modules'\n | 'point_clouds'\n | 'render_graphs'\n | 'scenes'\n | 'scripts'\n | 'shaders'\n | 'skeletons'\n | 'sounds'\n | 'textures'\n | 'textures_1d'\n | 'textures_3d'\n | 'volume_materials';\n asset_id: string;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container + '/' + asset_id + '/package',\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Downloads an asset payload in a given format. Only mesh is supported for the moment. This endpoint requires special export permission.\n */\nexport function exportAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>(\n {\n asset_container_exportable,\n asset_id,\n format,\n scale = 1,\n sub_mesh_index,\n }: {\n asset_container_exportable: 'meshes' | 'sounds';\n asset_id: string;\n format: 'obj' | 'stl';\n scale?: number;\n sub_mesh_index?: number;\n },\n headers?: AxiosRequestHeaders,\n responseType?: T,\n): AxiosPromise<\n T extends 'arraybuffer'\n ? ArrayBuffer\n : T extends 'json'\n ? object\n : T extends 'text'\n ? string\n : T extends 'stream'\n ? ReadableStream\n : never\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/' + asset_container_exportable + '/' + asset_id + '/exports/' + format + '',\n params: {\n scale: scale,\n sub_mesh_index: sub_mesh_index,\n },\n headers: headers,\n responseType: responseType || 'arraybuffer',\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneSessions_Session = {\n /** Session unique identifier */\n session_id: string;\n /** The main scene identifier of the session */\n scene_id: string;\n /** The main scene name of the session */\n scene_name: string;\n /** The folder identifier of the scene */\n folder_id: string;\n /** Maximum number of users allowed in this session at the same time */\n max_users: number;\n /** User identifier of the creator of the session */\n creator_user_id: string;\n /** Session creation date */\n created_at: string;\n /** Country code of the rendering server location */\n country_code: string;\n /** Continent code of the rendering server location */\n continent_code: string;\n /** Whether the session is transient or not */\n is_transient_session: boolean;\n /** Current clients in session */\n clients: Array<GetSceneSessions_Client_UserInfo>;\n};\nexport type GetSceneSessions_Client_UserInfo = {\n /** Client unique identifier */\n client_id?: string;\n client_type?: 'user' | 'guest';\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\n/**\n * Lists all sessions running a specified scene.\n */\nexport function getSceneSessions(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetSceneSessions_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/sessions',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneAabb_Object = {\n /** Vector3 representing the upper (x, y, z) boundary of the box. */\n max: Array<number>;\n /** Vector3 representing the lower (x, y, z) boundary of the box. */\n min: Array<number>;\n};\n/**\n * Get the axis aligned bounding box of the specified scene.\n */\nexport function getSceneAABB(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSceneAabb_Object> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/aabb',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateEntity_animation_controller = {\n animation_controller: CreateEntity_AnimationController;\n};\nexport type CreateEntity_AnimationController = {\n /** Animation Graph reference. */\n animationGraphRef: string;\n /** Animation Set reference. */\n animationSetRef: string;\n /** Input values as described in the referenced animation graph in their original JSON format. */\n dataJSON: object;\n /** Reference to the entity that is the root bone of the skeleton. */\n rootBoneEntityRef: CreateEntity_EntityReference;\n /** Whether or not root motion is enabled. */\n rootMotionEnabled: boolean;\n};\nexport type CreateEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type CreateEntity_bone = {\n bone: CreateEntity_Bone;\n};\nexport type CreateEntity_Bone = {\n /** Index of bone in skeleton. */\n boneIndex: number;\n};\nexport type CreateEntity_box_geometry = {\n box_geometry: CreateEntity_BoxGeometry;\n};\nexport type CreateEntity_BoxGeometry = {\n /** Width, height and depth of the box */\n dimension?: Array<number>;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type CreateEntity_camera = {\n camera: CreateEntity_Camera;\n};\nexport type CreateEntity_Camera = {\n /** Specifies which render graph this camera should use. */\n renderGraphRef: string;\n /** Index of the render target to blit. */\n renderTargetIndex?: number;\n /** Input values as described in the referenced render graph in their original JSON format. */\n dataJSON: object;\n};\nexport type CreateEntity_capsule_geometry = {\n capsule_geometry: CreateEntity_CapsuleGeometry;\n};\nexport type CreateEntity_CapsuleGeometry = {\n /** Radius of the spheres at each end of the capsule */\n radius?: number;\n /** Height of the cylindrical part of the capsule */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type CreateEntity_character_controller = {\n character_controller: CreateEntity_CharacterController;\n};\nexport type CreateEntity_CharacterController = {\n /** Step Offset in meters */\n stepOffset?: number;\n /** Slope Limit in degrees */\n slopeLimit?: number;\n /** The character's collision skin width */\n skinWidth?: number;\n /** Velocity vector for current frame */\n velocity?: Array<number>;\n};\nexport type CreateEntity_collision_geometry_ref = {\n collision_geometry_ref: CreateEntity_CollisionGeometryRef;\n};\nexport type CreateEntity_CollisionGeometryRef = {\n /** UUID of the referenced collision_geometry. */\n collisionGeometryRef: string;\n};\nexport type CreateEntity_cylinder_geometry = {\n cylinder_geometry: CreateEntity_CylinderGeometry;\n};\nexport type CreateEntity_CylinderGeometry = {\n /** Radius of the cylinder */\n radius?: number;\n /** Height of the cylinder */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type CreateEntity_debug_name = {\n debug_name: CreateEntity_Name;\n};\nexport type CreateEntity_Name = {\n /** Name of the entity that will be displayed in various debug tools. */\n value: string;\n};\nexport type CreateEntity_decal_projector = {\n decal_projector: CreateEntity_DecalProjector;\n};\nexport type CreateEntity_DecalProjector = {\n /** Z-Index order of the decal projection. The higher index will render on top of the lower ones. */\n zIndex?: number;\n};\nexport type CreateEntity_environment = {\n environment: CreateEntity_Environment;\n};\nexport type CreateEntity_Environment = {\n /** Reference to the skybox cubemap. */\n skyboxUUID: string;\n /** Reference to the radiance cubemap. */\n radianceUUID: string;\n /** Reference to the irradiance cubemap. */\n irradianceUUID: string;\n};\nexport type CreateEntity_joint = {\n joint: CreateEntity_Joint;\n};\nexport type CreateEntity_Joint = {\n /** An entity that is a dynamic physics body. */\n constrainee: CreateEntity_EntityReference;\n /** An entity that is a dynamic or static physics body, or simply null. */\n constrainer: CreateEntity_EntityReference;\n /** The force that needs to be applied for this joint to break. */\n breakForce?: number;\n /** The torque that needs to be applied for this joint to break. */\n breakTorque?: number;\n};\nexport type CreateEntity_lineage = {\n lineage: CreateEntity_Lineage;\n};\nexport type CreateEntity_Lineage = {\n /** UUID of the parent of this entity (default is root). */\n parentUUID: string;\n /** Ordinal number of this entity in respect of its siblings. */\n ordinal?: number;\n};\nexport type CreateEntity_local_aabb = {\n local_aabb: CreateEntity_LocalAxisAlignedBoundingBox;\n};\nexport type CreateEntity_LocalAxisAlignedBoundingBox = {\n /** Minimum point of the box. */\n min: Array<number>;\n /** Maximum point of the box. */\n max: Array<number>;\n};\nexport type CreateEntity_local_transform = {\n local_transform: CreateEntity_Transform;\n};\nexport type CreateEntity_Transform = {\n /** x, y, z position of the entity */\n position?: Array<number>;\n /** Orientation of the entity expressed as a quaternion */\n orientation?: Array<number>;\n /** x, y, z scale of the entity */\n scale?: Array<number>;\n /** Orientation of the entity expressed as euler angles */\n eulerOrientation?: Array<number>;\n /** Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked. */\n globalEulerOrientation?: Array<number>;\n};\nexport type CreateEntity_material = {\n material: CreateEntity_Material;\n};\nexport type CreateEntity_Material = {\n /** Reference to a shader graph. */\n shaderRef: string;\n /** Transparency mode */\n transparencyMode: number;\n /** Whether the material is double sided or not. */\n isDoubleSided: boolean;\n /** Input values as described in the referenced shader in their original JSON format. */\n dataJSON: object;\n};\nexport type CreateEntity_material_ref = {\n material_ref: CreateEntity_MaterialReference;\n};\nexport type CreateEntity_MaterialReference = {\n /** UUID of the referenced material. */\n value: string;\n /** Face culling mode */\n faceCulling?: number;\n};\nexport type CreateEntity_mesh_ref = {\n mesh_ref: CreateEntity_MeshReference;\n};\nexport type CreateEntity_MeshReference = {\n /** UUID of the referenced mesh. */\n value: string;\n /** Index of the submesh inside the submesh array. */\n submeshIndex?: number;\n};\nexport type CreateEntity_orthographic_lens = {\n orthographic_lens: CreateEntity_OrthographicLens;\n};\nexport type CreateEntity_OrthographicLens = {\n /** Left plane. */\n left?: number;\n /** Right plane. */\n right?: number;\n /** Top plane. */\n top?: number;\n /** Bottom plane. */\n bottom?: number;\n /** Near plane. */\n zNear?: number;\n /** Far plane. */\n zFar?: number;\n};\nexport type CreateEntity_overrider = {\n overrider: CreateEntity_Overrider;\n};\nexport type CreateEntity_Overrider = {\n /** Mark the overridden entity as deleted. */\n deleter?: boolean;\n /** Entity to override. */\n entityRef: CreateEntity_EntityReference;\n /** Hashes of the components to detach from the overridden entity. */\n componentsToDetach: Array<number>;\n};\nexport type CreateEntity_perspective_lens = {\n perspective_lens: CreateEntity_PerspectiveLens;\n};\nexport type CreateEntity_PerspectiveLens = {\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n /** Specifies the field of view angle in the y direction. */\n fovy?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n};\nexport type CreateEntity_physics_material = {\n physics_material: CreateEntity_PhysicsMaterial;\n};\nexport type CreateEntity_PhysicsMaterial = {\n /** The coefficient of static friction */\n staticFriction?: number;\n /** The coefficient of dynamic friction */\n dynamicFriction?: number;\n /** The coefficient of static restitution */\n restitution?: number;\n /** Whether to consider the collision shape associated to this material as a trigger or not */\n isTrigger?: boolean;\n};\nexport type CreateEntity_plane_geometry = {\n plane_geometry: CreateEntity_PlaneGeometry;\n};\nexport type CreateEntity_PlaneGeometry = {\n /** Distance from the origin in the plane's normal direction. */\n distance?: number;\n /** Normal of the plane. */\n normal?: Array<number>;\n};\nexport type CreateEntity_point_cloud_ref = {\n point_cloud_ref: CreateEntity_PointCloudReference;\n};\nexport type CreateEntity_PointCloudReference = {\n /** UUID of the referenced point cloud. */\n value: string;\n};\nexport type CreateEntity_point_light = {\n point_light: CreateEntity_Light;\n};\nexport type CreateEntity_Light = {\n /** Light color */\n color?: Array<number>;\n /** Light intensity. */\n intensity?: number;\n /** The range for the point light. If the range is 0, then physically correct point light attenuation function is used. */\n range?: number;\n /** Make this light directional, position is ignored in this case. */\n isDirectional?: boolean;\n /** Make this light direction control the atmosphere sun direction. If more than one light is marked to be a sun results are undefined. */\n isSun?: boolean;\n};\nexport type CreateEntity_reflection_probe = {\n reflection_probe: CreateEntity_ReflectionProbe;\n};\nexport type CreateEntity_ReflectionProbe = {\n /** x, y, z offset of the probe reflection origin. */\n offset?: Array<number>;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the reflection map. */\n quality?: number;\n};\nexport type CreateEntity_revolute_joint = {\n revolute_joint: CreateEntity_RevoluteJoint;\n};\nexport type CreateEntity_RevoluteJoint = {\n /** The direction of the axis around which the constrainee swings. The direction is defined in the constrainee's local space. */\n axis?: Array<number>;\n /** The position of the axis around which the constrainee swings. The position is defined in the constrainee's local space. */\n anchor?: Array<number>;\n};\nexport type CreateEntity_rigid_body = {\n rigid_body: CreateEntity_RigidBody;\n};\nexport type CreateEntity_RigidBody = {\n /** Mass */\n mass?: number;\n /** Linear damping */\n linearDamping?: number;\n /** Angular damping */\n angularDamping?: number;\n /** Friction */\n friction?: number;\n /** Rolling friction */\n rollingFriction?: number;\n /** Spinning friction */\n spinningFriction?: number;\n /** Restitution */\n restitution?: number;\n /** Linear sleeping threshold */\n linearSleepingThreshold?: number;\n /** Angular sleeping threshold */\n angularSleepingThreshold?: number;\n /** Whether the rigid body should use kinematic physics or not */\n isKinematic?: boolean;\n};\nexport type CreateEntity_scene_ref = {\n scene_ref: CreateEntity_SceneReference;\n};\nexport type CreateEntity_SceneReference = {\n /** Reference to a scene. */\n value: string;\n /** Maximum number of times a scene appears when it references itself. */\n maxRecursionCount?: number;\n};\nexport type CreateEntity_script_element = {\n script_element: CreateEntity_ScriptElement;\n};\nexport type CreateEntity_ScriptElement = {\n /** Reference to a script. */\n scriptRef: string;\n /** Input values as described in the referenced script in their original JSON format. */\n dataJSON: object;\n};\nexport type CreateEntity_script_map = {\n script_map: CreateEntity_ScriptMap;\n};\nexport type CreateEntity_ScriptMap = {\n /** List of scripts. */\n elements: object;\n};\nexport type CreateEntity_shadow_caster = {\n shadow_caster: CreateEntity_ShadowCaster;\n};\nexport type CreateEntity_ShadowCaster = {\n /** Bias to apply to avoid self shadowing artifacts. */\n bias?: number;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the shadow map. */\n quality?: number;\n /** Skews the ratio of cascade splits, value ranges from 0 to 1. */\n cascadeSplitLambda?: number;\n /** Distance to the end of the furthest cascade. */\n cascadeMaxZ?: number;\n /** For directional lights, accumulate all shadow cascades. */\n accumulateShadowCascades?: boolean;\n};\nexport type CreateEntity_skeleton_ref = {\n skeleton_ref: CreateEntity_SkeletonReference;\n};\nexport type CreateEntity_SkeletonReference = {\n /** UUID of the referenced skeleton. */\n value: string;\n};\nexport type CreateEntity_sound_ref = {\n sound_ref: CreateEntity_SoundReference;\n};\nexport type CreateEntity_SoundReference = {\n /** UUID of the referenced sound. */\n value: string;\n /** Volume from 0.0f to 1.0f. */\n volume?: number;\n /** Pan. -1.0f is left, 1.0f is right. */\n pan?: number;\n /** The speed at which the sound will play. 1.0f is normal. */\n playSpeed?: number;\n /** Does the sound loop? */\n looping?: boolean;\n};\nexport type CreateEntity_sphere_geometry = {\n sphere_geometry: CreateEntity_SphereGeometry;\n};\nexport type CreateEntity_SphereGeometry = {\n /** Radius of the sphere */\n radius?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type CreateEntity_spot_light = {\n spot_light: CreateEntity_SpotLight;\n};\nexport type CreateEntity_SpotLight = {\n /** Cutoff angle. */\n cutoff?: number;\n /** Reference to a IES 2d texture. */\n IESProfile: string;\n};\nexport type CreateEntity_stereoscopic_lens = {\n stereoscopic_lens: CreateEntity_StereoscopicPerspectiveLens;\n};\nexport type CreateEntity_StereoscopicPerspectiveLens = {\n /** Angle of the left side of the field of view (this value is negative). */\n angleLeft?: number;\n /** Angle of the right side of the field of view */\n angleRight?: number;\n /** Angle of the top part of the field of view */\n angleUp?: number;\n /** Angle of the bottom part of the field of view (this value is negative) */\n angleDown?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n};\nexport type CreateEntity_tags = {\n tags: CreateEntity_Tags;\n};\nexport type CreateEntity_Tags = {\n /** Tag list. */\n value: Array<string>;\n};\nexport type CreateEntity_volume_filter = {\n volume_filter: CreateEntity_VolumeFilter;\n};\nexport type CreateEntity_VolumeFilter = {\n /** Voxel intensity range displayed, not applicable if outside volume material range */\n range?: Array<number>;\n /** Apply gaussian filtering on voxels */\n applyGaussianFiltering?: boolean;\n /** Are texel values from the voxel texture sampled unfiltered. */\n sampleUnfiltered?: boolean;\n /** Whether or not this volume is visible in the MPR view */\n enableMPR?: boolean;\n /** Whether or not this volume is visible in the 3D view */\n enable3D?: boolean;\n};\nexport type CreateEntity_volume_material_ref = {\n volume_material_ref: CreateEntity_VolumeMaterialReference;\n};\nexport type CreateEntity_VolumeMaterialReference = {\n /** UUID of the volume_material. */\n value: string;\n};\nexport type CreateEntity_volume_ref = {\n volume_ref: CreateEntity_VolumeReference;\n};\nexport type CreateEntity_VolumeReference = {\n /** Reference to a 3d texture. */\n texture3dRef: string;\n};\nexport type CreateEntity_Object = {\n /** Entity unique identifier */\n entity_id: string;\n};\n/**\n * Create a new entity in a scene.\n */\nexport function createEntity(\n {\n scene_id,\n entity_components,\n }: {\n scene_id: string;\n entity_components:\n | CreateEntity_animation_controller\n | CreateEntity_bone\n | CreateEntity_box_geometry\n | CreateEntity_camera\n | CreateEntity_capsule_geometry\n | CreateEntity_character_controller\n | CreateEntity_collision_geometry_ref\n | CreateEntity_cylinder_geometry\n | CreateEntity_debug_name\n | CreateEntity_decal_projector\n | CreateEntity_environment\n | CreateEntity_joint\n | CreateEntity_lineage\n | CreateEntity_local_aabb\n | CreateEntity_local_transform\n | CreateEntity_material\n | CreateEntity_material_ref\n | CreateEntity_mesh_ref\n | CreateEntity_orthographic_lens\n | CreateEntity_overrider\n | CreateEntity_perspective_lens\n | CreateEntity_physics_material\n | CreateEntity_plane_geometry\n | CreateEntity_point_cloud_ref\n | CreateEntity_point_light\n | CreateEntity_reflection_probe\n | CreateEntity_revolute_joint\n | CreateEntity_rigid_body\n | CreateEntity_scene_ref\n | CreateEntity_script_element\n | CreateEntity_script_map\n | CreateEntity_shadow_caster\n | CreateEntity_skeleton_ref\n | CreateEntity_sound_ref\n | CreateEntity_sphere_geometry\n | CreateEntity_spot_light\n | CreateEntity_stereoscopic_lens\n | CreateEntity_tags\n | CreateEntity_volume_filter\n | CreateEntity_volume_material_ref\n | CreateEntity_volume_ref;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateEntity_Object> {\n return axiosInstance({\n method: 'post',\n url: '/assets/scenes/' + scene_id + '/entities',\n data: entity_components,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetEntity_animation_controller = {\n animation_controller: GetEntity_AnimationController;\n};\nexport type GetEntity_AnimationController = {\n /** Animation Graph reference. */\n animationGraphRef: string;\n /** Animation Set reference. */\n animationSetRef: string;\n /** Input values as described in the referenced animation graph in their original JSON format. */\n dataJSON: object;\n /** Reference to the entity that is the root bone of the skeleton. */\n rootBoneEntityRef: GetEntity_EntityReference;\n /** Whether or not root motion is enabled. */\n rootMotionEnabled: boolean;\n};\nexport type GetEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type GetEntity_bone = {\n bone: GetEntity_Bone;\n};\nexport type GetEntity_Bone = {\n /** Index of bone in skeleton. */\n boneIndex: number;\n};\nexport type GetEntity_box_geometry = {\n box_geometry: GetEntity_BoxGeometry;\n};\nexport type GetEntity_BoxGeometry = {\n /** Width, height and depth of the box */\n dimension?: Array<number>;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type GetEntity_camera = {\n camera: GetEntity_Camera;\n};\nexport type GetEntity_Camera = {\n /** Specifies which render graph this camera should use. */\n renderGraphRef: string;\n /** Index of the render target to blit. */\n renderTargetIndex?: number;\n /** Input values as described in the referenced render graph in their original JSON format. */\n dataJSON: object;\n};\nexport type GetEntity_capsule_geometry = {\n capsule_geometry: GetEntity_CapsuleGeometry;\n};\nexport type GetEntity_CapsuleGeometry = {\n /** Radius of the spheres at each end of the capsule */\n radius?: number;\n /** Height of the cylindrical part of the capsule */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type GetEntity_character_controller = {\n character_controller: GetEntity_CharacterController;\n};\nexport type GetEntity_CharacterController = {\n /** Step Offset in meters */\n stepOffset?: number;\n /** Slope Limit in degrees */\n slopeLimit?: number;\n /** The character's collision skin width */\n skinWidth?: number;\n /** Velocity vector for current frame */\n velocity?: Array<number>;\n};\nexport type GetEntity_collision_geometry_ref = {\n collision_geometry_ref: GetEntity_CollisionGeometryRef;\n};\nexport type GetEntity_CollisionGeometryRef = {\n /** UUID of the referenced collision_geometry. */\n collisionGeometryRef: string;\n};\nexport type GetEntity_cylinder_geometry = {\n cylinder_geometry: GetEntity_CylinderGeometry;\n};\nexport type GetEntity_CylinderGeometry = {\n /** Radius of the cylinder */\n radius?: number;\n /** Height of the cylinder */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type GetEntity_debug_name = {\n debug_name: GetEntity_Name;\n};\nexport type GetEntity_Name = {\n /** Name of the entity that will be displayed in various debug tools. */\n value: string;\n};\nexport type GetEntity_decal_projector = {\n decal_projector: GetEntity_DecalProjector;\n};\nexport type GetEntity_DecalProjector = {\n /** Z-Index order of the decal projection. The higher index will render on top of the lower ones. */\n zIndex?: number;\n};\nexport type GetEntity_environment = {\n environment: GetEntity_Environment;\n};\nexport type GetEntity_Environment = {\n /** Reference to the skybox cubemap. */\n skyboxUUID: string;\n /** Reference to the radiance cubemap. */\n radianceUUID: string;\n /** Reference to the irradiance cubemap. */\n irradianceUUID: string;\n};\nexport type GetEntity_joint = {\n joint: GetEntity_Joint;\n};\nexport type GetEntity_Joint = {\n /** An entity that is a dynamic physics body. */\n constrainee: GetEntity_EntityReference;\n /** An entity that is a dynamic or static physics body, or simply null. */\n constrainer: GetEntity_EntityReference;\n /** The force that needs to be applied for this joint to break. */\n breakForce?: number;\n /** The torque that needs to be applied for this joint to break. */\n breakTorque?: number;\n};\nexport type GetEntity_lineage = {\n lineage: GetEntity_Lineage;\n};\nexport type GetEntity_Lineage = {\n /** UUID of the parent of this entity (default is root). */\n parentUUID: string;\n /** Ordinal number of this entity in respect of its siblings. */\n ordinal?: number;\n};\nexport type GetEntity_local_aabb = {\n local_aabb: GetEntity_LocalAxisAlignedBoundingBox;\n};\nexport type GetEntity_LocalAxisAlignedBoundingBox = {\n /** Minimum point of the box. */\n min: Array<number>;\n /** Maximum point of the box. */\n max: Array<number>;\n};\nexport type GetEntity_local_transform = {\n local_transform: GetEntity_Transform;\n};\nexport type GetEntity_Transform = {\n /** x, y, z position of the entity */\n position?: Array<number>;\n /** Orientation of the entity expressed as a quaternion */\n orientation?: Array<number>;\n /** x, y, z scale of the entity */\n scale?: Array<number>;\n /** Orientation of the entity expressed as euler angles */\n eulerOrientation?: Array<number>;\n /** Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked. */\n globalEulerOrientation?: Array<number>;\n};\nexport type GetEntity_material = {\n material: GetEntity_Material;\n};\nexport type GetEntity_Material = {\n /** Reference to a shader graph. */\n shaderRef: string;\n /** Transparency mode */\n transparencyMode: number;\n /** Whether the material is double sided or not. */\n isDoubleSided: boolean;\n /** Input values as described in the referenced shader in their original JSON format. */\n dataJSON: object;\n};\nexport type GetEntity_material_ref = {\n material_ref: GetEntity_MaterialReference;\n};\nexport type GetEntity_MaterialReference = {\n /** UUID of the referenced material. */\n value: string;\n /** Face culling mode */\n faceCulling?: number;\n};\nexport type GetEntity_mesh_ref = {\n mesh_ref: GetEntity_MeshReference;\n};\nexport type GetEntity_MeshReference = {\n /** UUID of the referenced mesh. */\n value: string;\n /** Index of the submesh inside the submesh array. */\n submeshIndex?: number;\n};\nexport type GetEntity_orthographic_lens = {\n orthographic_lens: GetEntity_OrthographicLens;\n};\nexport type GetEntity_OrthographicLens = {\n /** Left plane. */\n left?: number;\n /** Right plane. */\n right?: number;\n /** Top plane. */\n top?: number;\n /** Bottom plane. */\n bottom?: number;\n /** Near plane. */\n zNear?: number;\n /** Far plane. */\n zFar?: number;\n};\nexport type GetEntity_overrider = {\n overrider: GetEntity_Overrider;\n};\nexport type GetEntity_Overrider = {\n /** Mark the overridden entity as deleted. */\n deleter?: boolean;\n /** Entity to override. */\n entityRef: GetEntity_EntityReference;\n /** Hashes of the components to detach from the overridden entity. */\n componentsToDetach: Array<number>;\n};\nexport type GetEntity_perspective_lens = {\n perspective_lens: GetEntity_PerspectiveLens;\n};\nexport type GetEntity_PerspectiveLens = {\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n /** Specifies the field of view angle in the y direction. */\n fovy?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n};\nexport type GetEntity_physics_material = {\n physics_material: GetEntity_PhysicsMaterial;\n};\nexport type GetEntity_PhysicsMaterial = {\n /** The coefficient of static friction */\n staticFriction?: number;\n /** The coefficient of dynamic friction */\n dynamicFriction?: number;\n /** The coefficient of static restitution */\n restitution?: number;\n /** Whether to consider the collision shape associated to this material as a trigger or not */\n isTrigger?: boolean;\n};\nexport type GetEntity_plane_geometry = {\n plane_geometry: GetEntity_PlaneGeometry;\n};\nexport type GetEntity_PlaneGeometry = {\n /** Distance from the origin in the plane's normal direction. */\n distance?: number;\n /** Normal of the plane. */\n normal?: Array<number>;\n};\nexport type GetEntity_point_cloud_ref = {\n point_cloud_ref: GetEntity_PointCloudReference;\n};\nexport type GetEntity_PointCloudReference = {\n /** UUID of the referenced point cloud. */\n value: string;\n};\nexport type GetEntity_point_light = {\n point_light: GetEntity_Light;\n};\nexport type GetEntity_Light = {\n /** Light color */\n color?: Array<number>;\n /** Light intensity. */\n intensity?: number;\n /** The range for the point light. If the range is 0, then physically correct point light attenuation function is used. */\n range?: number;\n /** Make this light directional, position is ignored in this case. */\n isDirectional?: boolean;\n /** Make this light direction control the atmosphere sun direction. If more than one light is marked to be a sun results are undefined. */\n isSun?: boolean;\n};\nexport type GetEntity_reflection_probe = {\n reflection_probe: GetEntity_ReflectionProbe;\n};\nexport type GetEntity_ReflectionProbe = {\n /** x, y, z offset of the probe reflection origin. */\n offset?: Array<number>;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the reflection map. */\n quality?: number;\n};\nexport type GetEntity_revolute_joint = {\n revolute_joint: GetEntity_RevoluteJoint;\n};\nexport type GetEntity_RevoluteJoint = {\n /** The direction of the axis around which the constrainee swings. The direction is defined in the constrainee's local space. */\n axis?: Array<number>;\n /** The position of the axis around which the constrainee swings. The position is defined in the constrainee's local space. */\n anchor?: Array<number>;\n};\nexport type GetEntity_rigid_body = {\n rigid_body: GetEntity_RigidBody;\n};\nexport type GetEntity_RigidBody = {\n /** Mass */\n mass?: number;\n /** Linear damping */\n linearDamping?: number;\n /** Angular damping */\n angularDamping?: number;\n /** Friction */\n friction?: number;\n /** Rolling friction */\n rollingFriction?: number;\n /** Spinning friction */\n spinningFriction?: number;\n /** Restitution */\n restitution?: number;\n /** Linear sleeping threshold */\n linearSleepingThreshold?: number;\n /** Angular sleeping threshold */\n angularSleepingThreshold?: number;\n /** Whether the rigid body should use kinematic physics or not */\n isKinematic?: boolean;\n};\nexport type GetEntity_scene_ref = {\n scene_ref: GetEntity_SceneReference;\n};\nexport type GetEntity_SceneReference = {\n /** Reference to a scene. */\n value: string;\n /** Maximum number of times a scene appears when it references itself. */\n maxRecursionCount?: number;\n};\nexport type GetEntity_script_element = {\n script_element: GetEntity_ScriptElement;\n};\nexport type GetEntity_ScriptElement = {\n /** Reference to a script. */\n scriptRef: string;\n /** Input values as described in the referenced script in their original JSON format. */\n dataJSON: object;\n};\nexport type GetEntity_script_map = {\n script_map: GetEntity_ScriptMap;\n};\nexport type GetEntity_ScriptMap = {\n /** List of scripts. */\n elements: object;\n};\nexport type GetEntity_shadow_caster = {\n shadow_caster: GetEntity_ShadowCaster;\n};\nexport type GetEntity_ShadowCaster = {\n /** Bias to apply to avoid self shadowing artifacts. */\n bias?: number;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the shadow map. */\n quality?: number;\n /** Skews the ratio of cascade splits, value ranges from 0 to 1. */\n cascadeSplitLambda?: number;\n /** Distance to the end of the furthest cascade. */\n cascadeMaxZ?: number;\n /** For directional lights, accumulate all shadow cascades. */\n accumulateShadowCascades?: boolean;\n};\nexport type GetEntity_skeleton_ref = {\n skeleton_ref: GetEntity_SkeletonReference;\n};\nexport type GetEntity_SkeletonReference = {\n /** UUID of the referenced skeleton. */\n value: string;\n};\nexport type GetEntity_sound_ref = {\n sound_ref: GetEntity_SoundReference;\n};\nexport type GetEntity_SoundReference = {\n /** UUID of the referenced sound. */\n value: string;\n /** Volume from 0.0f to 1.0f. */\n volume?: number;\n /** Pan. -1.0f is left, 1.0f is right. */\n pan?: number;\n /** The speed at which the sound will play. 1.0f is normal. */\n playSpeed?: number;\n /** Does the sound loop? */\n looping?: boolean;\n};\nexport type GetEntity_sphere_geometry = {\n sphere_geometry: GetEntity_SphereGeometry;\n};\nexport type GetEntity_SphereGeometry = {\n /** Radius of the sphere */\n radius?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type GetEntity_spot_light = {\n spot_light: GetEntity_SpotLight;\n};\nexport type GetEntity_SpotLight = {\n /** Cutoff angle. */\n cutoff?: number;\n /** Reference to a IES 2d texture. */\n IESProfile: string;\n};\nexport type GetEntity_stereoscopic_lens = {\n stereoscopic_lens: GetEntity_StereoscopicPerspectiveLens;\n};\nexport type GetEntity_StereoscopicPerspectiveLens = {\n /** Angle of the left side of the field of view (this value is negative). */\n angleLeft?: number;\n /** Angle of the right side of the field of view */\n angleRight?: number;\n /** Angle of the top part of the field of view */\n angleUp?: number;\n /** Angle of the bottom part of the field of view (this value is negative) */\n angleDown?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n};\nexport type GetEntity_tags = {\n tags: GetEntity_Tags;\n};\nexport type GetEntity_Tags = {\n /** Tag list. */\n value: Array<string>;\n};\nexport type GetEntity_volume_filter = {\n volume_filter: GetEntity_VolumeFilter;\n};\nexport type GetEntity_VolumeFilter = {\n /** Voxel intensity range displayed, not applicable if outside volume material range */\n range?: Array<number>;\n /** Apply gaussian filtering on voxels */\n applyGaussianFiltering?: boolean;\n /** Are texel values from the voxel texture sampled unfiltered. */\n sampleUnfiltered?: boolean;\n /** Whether or not this volume is visible in the MPR view */\n enableMPR?: boolean;\n /** Whether or not this volume is visible in the 3D view */\n enable3D?: boolean;\n};\nexport type GetEntity_volume_material_ref = {\n volume_material_ref: GetEntity_VolumeMaterialReference;\n};\nexport type GetEntity_VolumeMaterialReference = {\n /** UUID of the volume_material. */\n value: string;\n};\nexport type GetEntity_volume_ref = {\n volume_ref: GetEntity_VolumeReference;\n};\nexport type GetEntity_VolumeReference = {\n /** Reference to a 3d texture. */\n texture3dRef: string;\n};\nexport type GetEntity_Entity = {\n euid: GetEntity_EntityUid;\n};\nexport type GetEntity_EntityUid = {\n /** Unique identifier value. */\n value: string;\n};\n/**\n * Get a specific entity from a scene.\n */\nexport function getEntity(\n {\n scene_id,\n entity_id,\n compute_global_transform = false,\n }: {\n scene_id: string;\n entity_id: string;\n compute_global_transform?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<\n (\n | GetEntity_animation_controller\n | GetEntity_bone\n | GetEntity_box_geometry\n | GetEntity_camera\n | GetEntity_capsule_geometry\n | GetEntity_character_controller\n | GetEntity_collision_geometry_ref\n | GetEntity_cylinder_geometry\n | GetEntity_debug_name\n | GetEntity_decal_projector\n | GetEntity_environment\n | GetEntity_joint\n | GetEntity_lineage\n | GetEntity_local_aabb\n | GetEntity_local_transform\n | GetEntity_material\n | GetEntity_material_ref\n | GetEntity_mesh_ref\n | GetEntity_orthographic_lens\n | GetEntity_overrider\n | GetEntity_perspective_lens\n | GetEntity_physics_material\n | GetEntity_plane_geometry\n | GetEntity_point_cloud_ref\n | GetEntity_point_light\n | GetEntity_reflection_probe\n | GetEntity_revolute_joint\n | GetEntity_rigid_body\n | GetEntity_scene_ref\n | GetEntity_script_element\n | GetEntity_script_map\n | GetEntity_shadow_caster\n | GetEntity_skeleton_ref\n | GetEntity_sound_ref\n | GetEntity_sphere_geometry\n | GetEntity_spot_light\n | GetEntity_stereoscopic_lens\n | GetEntity_tags\n | GetEntity_volume_filter\n | GetEntity_volume_material_ref\n | GetEntity_volume_ref\n ) &\n GetEntity_Entity\n> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n params: {\n compute_global_transform: compute_global_transform,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateEntity_animation_controller = {\n animation_controller: UpdateEntity_AnimationController;\n};\nexport type UpdateEntity_AnimationController = {\n /** Animation Graph reference. */\n animationGraphRef: string;\n /** Animation Set reference. */\n animationSetRef: string;\n /** Input values as described in the referenced animation graph in their original JSON format. */\n dataJSON: object;\n /** Reference to the entity that is the root bone of the skeleton. */\n rootBoneEntityRef: UpdateEntity_EntityReference;\n /** Whether or not root motion is enabled. */\n rootMotionEnabled: boolean;\n};\nexport type UpdateEntity_EntityReference = {\n originalEUID: string;\n linkage: Array<string>;\n};\nexport type UpdateEntity_bone = {\n bone: UpdateEntity_Bone;\n};\nexport type UpdateEntity_Bone = {\n /** Index of bone in skeleton. */\n boneIndex: number;\n};\nexport type UpdateEntity_box_geometry = {\n box_geometry: UpdateEntity_BoxGeometry;\n};\nexport type UpdateEntity_BoxGeometry = {\n /** Width, height and depth of the box */\n dimension?: Array<number>;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type UpdateEntity_camera = {\n camera: UpdateEntity_Camera;\n};\nexport type UpdateEntity_Camera = {\n /** Specifies which render graph this camera should use. */\n renderGraphRef: string;\n /** Index of the render target to blit. */\n renderTargetIndex?: number;\n /** Input values as described in the referenced render graph in their original JSON format. */\n dataJSON: object;\n};\nexport type UpdateEntity_capsule_geometry = {\n capsule_geometry: UpdateEntity_CapsuleGeometry;\n};\nexport type UpdateEntity_CapsuleGeometry = {\n /** Radius of the spheres at each end of the capsule */\n radius?: number;\n /** Height of the cylindrical part of the capsule */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type UpdateEntity_character_controller = {\n character_controller: UpdateEntity_CharacterController;\n};\nexport type UpdateEntity_CharacterController = {\n /** Step Offset in meters */\n stepOffset?: number;\n /** Slope Limit in degrees */\n slopeLimit?: number;\n /** The character's collision skin width */\n skinWidth?: number;\n /** Velocity vector for current frame */\n velocity?: Array<number>;\n};\nexport type UpdateEntity_collision_geometry_ref = {\n collision_geometry_ref: UpdateEntity_CollisionGeometryRef;\n};\nexport type UpdateEntity_CollisionGeometryRef = {\n /** UUID of the referenced collision_geometry. */\n collisionGeometryRef: string;\n};\nexport type UpdateEntity_cylinder_geometry = {\n cylinder_geometry: UpdateEntity_CylinderGeometry;\n};\nexport type UpdateEntity_CylinderGeometry = {\n /** Radius of the cylinder */\n radius?: number;\n /** Height of the cylinder */\n height?: number;\n /** Alignment axis, 0 for X, 1 for Y, 2 for Z */\n axis?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type UpdateEntity_debug_name = {\n debug_name: UpdateEntity_Name;\n};\nexport type UpdateEntity_Name = {\n /** Name of the entity that will be displayed in various debug tools. */\n value: string;\n};\nexport type UpdateEntity_decal_projector = {\n decal_projector: UpdateEntity_DecalProjector;\n};\nexport type UpdateEntity_DecalProjector = {\n /** Z-Index order of the decal projection. The higher index will render on top of the lower ones. */\n zIndex?: number;\n};\nexport type UpdateEntity_environment = {\n environment: UpdateEntity_Environment;\n};\nexport type UpdateEntity_Environment = {\n /** Reference to the skybox cubemap. */\n skyboxUUID: string;\n /** Reference to the radiance cubemap. */\n radianceUUID: string;\n /** Reference to the irradiance cubemap. */\n irradianceUUID: string;\n};\nexport type UpdateEntity_joint = {\n joint: UpdateEntity_Joint;\n};\nexport type UpdateEntity_Joint = {\n /** An entity that is a dynamic physics body. */\n constrainee: UpdateEntity_EntityReference;\n /** An entity that is a dynamic or static physics body, or simply null. */\n constrainer: UpdateEntity_EntityReference;\n /** The force that needs to be applied for this joint to break. */\n breakForce?: number;\n /** The torque that needs to be applied for this joint to break. */\n breakTorque?: number;\n};\nexport type UpdateEntity_lineage = {\n lineage: UpdateEntity_Lineage;\n};\nexport type UpdateEntity_Lineage = {\n /** UUID of the parent of this entity (default is root). */\n parentUUID: string;\n /** Ordinal number of this entity in respect of its siblings. */\n ordinal?: number;\n};\nexport type UpdateEntity_local_aabb = {\n local_aabb: UpdateEntity_LocalAxisAlignedBoundingBox;\n};\nexport type UpdateEntity_LocalAxisAlignedBoundingBox = {\n /** Minimum point of the box. */\n min: Array<number>;\n /** Maximum point of the box. */\n max: Array<number>;\n};\nexport type UpdateEntity_local_transform = {\n local_transform: UpdateEntity_Transform;\n};\nexport type UpdateEntity_Transform = {\n /** x, y, z position of the entity */\n position?: Array<number>;\n /** Orientation of the entity expressed as a quaternion */\n orientation?: Array<number>;\n /** x, y, z scale of the entity */\n scale?: Array<number>;\n /** Orientation of the entity expressed as euler angles */\n eulerOrientation?: Array<number>;\n /** Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked. */\n globalEulerOrientation?: Array<number>;\n};\nexport type UpdateEntity_material = {\n material: UpdateEntity_Material;\n};\nexport type UpdateEntity_Material = {\n /** Reference to a shader graph. */\n shaderRef: string;\n /** Transparency mode */\n transparencyMode: number;\n /** Whether the material is double sided or not. */\n isDoubleSided: boolean;\n /** Input values as described in the referenced shader in their original JSON format. */\n dataJSON: object;\n};\nexport type UpdateEntity_material_ref = {\n material_ref: UpdateEntity_MaterialReference;\n};\nexport type UpdateEntity_MaterialReference = {\n /** UUID of the referenced material. */\n value: string;\n /** Face culling mode */\n faceCulling?: number;\n};\nexport type UpdateEntity_mesh_ref = {\n mesh_ref: UpdateEntity_MeshReference;\n};\nexport type UpdateEntity_MeshReference = {\n /** UUID of the referenced mesh. */\n value: string;\n /** Index of the submesh inside the submesh array. */\n submeshIndex?: number;\n};\nexport type UpdateEntity_orthographic_lens = {\n orthographic_lens: UpdateEntity_OrthographicLens;\n};\nexport type UpdateEntity_OrthographicLens = {\n /** Left plane. */\n left?: number;\n /** Right plane. */\n right?: number;\n /** Top plane. */\n top?: number;\n /** Bottom plane. */\n bottom?: number;\n /** Near plane. */\n zNear?: number;\n /** Far plane. */\n zFar?: number;\n};\nexport type UpdateEntity_overrider = {\n overrider: UpdateEntity_Overrider;\n};\nexport type UpdateEntity_Overrider = {\n /** Mark the overridden entity as deleted. */\n deleter?: boolean;\n /** Entity to override. */\n entityRef: UpdateEntity_EntityReference;\n /** Hashes of the components to detach from the overridden entity. */\n componentsToDetach: Array<number>;\n};\nexport type UpdateEntity_perspective_lens = {\n perspective_lens: UpdateEntity_PerspectiveLens;\n};\nexport type UpdateEntity_PerspectiveLens = {\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n /** Specifies the field of view angle in the y direction. */\n fovy?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n};\nexport type UpdateEntity_physics_material = {\n physics_material: UpdateEntity_PhysicsMaterial;\n};\nexport type UpdateEntity_PhysicsMaterial = {\n /** The coefficient of static friction */\n staticFriction?: number;\n /** The coefficient of dynamic friction */\n dynamicFriction?: number;\n /** The coefficient of static restitution */\n restitution?: number;\n /** Whether to consider the collision shape associated to this material as a trigger or not */\n isTrigger?: boolean;\n};\nexport type UpdateEntity_plane_geometry = {\n plane_geometry: UpdateEntity_PlaneGeometry;\n};\nexport type UpdateEntity_PlaneGeometry = {\n /** Distance from the origin in the plane's normal direction. */\n distance?: number;\n /** Normal of the plane. */\n normal?: Array<number>;\n};\nexport type UpdateEntity_point_cloud_ref = {\n point_cloud_ref: UpdateEntity_PointCloudReference;\n};\nexport type UpdateEntity_PointCloudReference = {\n /** UUID of the referenced point cloud. */\n value: string;\n};\nexport type UpdateEntity_point_light = {\n point_light: UpdateEntity_Light;\n};\nexport type UpdateEntity_Light = {\n /** Light color */\n color?: Array<number>;\n /** Light intensity. */\n intensity?: number;\n /** The range for the point light. If the range is 0, then physically correct point light attenuation function is used. */\n range?: number;\n /** Make this light directional, position is ignored in this case. */\n isDirectional?: boolean;\n /** Make this light direction control the atmosphere sun direction. If more than one light is marked to be a sun results are undefined. */\n isSun?: boolean;\n};\nexport type UpdateEntity_reflection_probe = {\n reflection_probe: UpdateEntity_ReflectionProbe;\n};\nexport type UpdateEntity_ReflectionProbe = {\n /** x, y, z offset of the probe reflection origin. */\n offset?: Array<number>;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the reflection map. */\n quality?: number;\n};\nexport type UpdateEntity_revolute_joint = {\n revolute_joint: UpdateEntity_RevoluteJoint;\n};\nexport type UpdateEntity_RevoluteJoint = {\n /** The direction of the axis around which the constrainee swings. The direction is defined in the constrainee's local space. */\n axis?: Array<number>;\n /** The position of the axis around which the constrainee swings. The position is defined in the constrainee's local space. */\n anchor?: Array<number>;\n};\nexport type UpdateEntity_rigid_body = {\n rigid_body: UpdateEntity_RigidBody;\n};\nexport type UpdateEntity_RigidBody = {\n /** Mass */\n mass?: number;\n /** Linear damping */\n linearDamping?: number;\n /** Angular damping */\n angularDamping?: number;\n /** Friction */\n friction?: number;\n /** Rolling friction */\n rollingFriction?: number;\n /** Spinning friction */\n spinningFriction?: number;\n /** Restitution */\n restitution?: number;\n /** Linear sleeping threshold */\n linearSleepingThreshold?: number;\n /** Angular sleeping threshold */\n angularSleepingThreshold?: number;\n /** Whether the rigid body should use kinematic physics or not */\n isKinematic?: boolean;\n};\nexport type UpdateEntity_scene_ref = {\n scene_ref: UpdateEntity_SceneReference;\n};\nexport type UpdateEntity_SceneReference = {\n /** Reference to a scene. */\n value: string;\n /** Maximum number of times a scene appears when it references itself. */\n maxRecursionCount?: number;\n};\nexport type UpdateEntity_script_element = {\n script_element: UpdateEntity_ScriptElement;\n};\nexport type UpdateEntity_ScriptElement = {\n /** Reference to a script. */\n scriptRef: string;\n /** Input values as described in the referenced script in their original JSON format. */\n dataJSON: object;\n};\nexport type UpdateEntity_script_map = {\n script_map: UpdateEntity_ScriptMap;\n};\nexport type UpdateEntity_ScriptMap = {\n /** List of scripts. */\n elements: object;\n};\nexport type UpdateEntity_shadow_caster = {\n shadow_caster: UpdateEntity_ShadowCaster;\n};\nexport type UpdateEntity_ShadowCaster = {\n /** Bias to apply to avoid self shadowing artifacts. */\n bias?: number;\n /** Distance to the near plane. */\n nearDist?: number;\n /** Distance to the far plane. */\n farDist?: number;\n /** Resolution of the shadow map. */\n quality?: number;\n /** Skews the ratio of cascade splits, value ranges from 0 to 1. */\n cascadeSplitLambda?: number;\n /** Distance to the end of the furthest cascade. */\n cascadeMaxZ?: number;\n /** For directional lights, accumulate all shadow cascades. */\n accumulateShadowCascades?: boolean;\n};\nexport type UpdateEntity_skeleton_ref = {\n skeleton_ref: UpdateEntity_SkeletonReference;\n};\nexport type UpdateEntity_SkeletonReference = {\n /** UUID of the referenced skeleton. */\n value: string;\n};\nexport type UpdateEntity_sound_ref = {\n sound_ref: UpdateEntity_SoundReference;\n};\nexport type UpdateEntity_SoundReference = {\n /** UUID of the referenced sound. */\n value: string;\n /** Volume from 0.0f to 1.0f. */\n volume?: number;\n /** Pan. -1.0f is left, 1.0f is right. */\n pan?: number;\n /** The speed at which the sound will play. 1.0f is normal. */\n playSpeed?: number;\n /** Does the sound loop? */\n looping?: boolean;\n};\nexport type UpdateEntity_sphere_geometry = {\n sphere_geometry: UpdateEntity_SphereGeometry;\n};\nexport type UpdateEntity_SphereGeometry = {\n /** Radius of the sphere */\n radius?: number;\n /** True for additive, false for subtractive */\n isAdditive?: boolean;\n /** Geometry offset */\n offset?: Array<number>;\n};\nexport type UpdateEntity_spot_light = {\n spot_light: UpdateEntity_SpotLight;\n};\nexport type UpdateEntity_SpotLight = {\n /** Cutoff angle. */\n cutoff?: number;\n /** Reference to a IES 2d texture. */\n IESProfile: string;\n};\nexport type UpdateEntity_stereoscopic_lens = {\n stereoscopic_lens: UpdateEntity_StereoscopicPerspectiveLens;\n};\nexport type UpdateEntity_StereoscopicPerspectiveLens = {\n /** Angle of the left side of the field of view (this value is negative). */\n angleLeft?: number;\n /** Angle of the right side of the field of view */\n angleRight?: number;\n /** Angle of the top part of the field of view */\n angleUp?: number;\n /** Angle of the bottom part of the field of view (this value is negative) */\n angleDown?: number;\n /** Specifies the distance from the viewer to the near clipping plane. */\n nearPlane?: number;\n /** Specifies the distance from the viewer to the far clipping plane. */\n farPlane?: number;\n /** Specifies the aspect ratio of the viewport, usually equals width/height. */\n aspectRatio?: number;\n};\nexport type UpdateEntity_tags = {\n tags: UpdateEntity_Tags;\n};\nexport type UpdateEntity_Tags = {\n /** Tag list. */\n value: Array<string>;\n};\nexport type UpdateEntity_volume_filter = {\n volume_filter: UpdateEntity_VolumeFilter;\n};\nexport type UpdateEntity_VolumeFilter = {\n /** Voxel intensity range displayed, not applicable if outside volume material range */\n range?: Array<number>;\n /** Apply gaussian filtering on voxels */\n applyGaussianFiltering?: boolean;\n /** Are texel values from the voxel texture sampled unfiltered. */\n sampleUnfiltered?: boolean;\n /** Whether or not this volume is visible in the MPR view */\n enableMPR?: boolean;\n /** Whether or not this volume is visible in the 3D view */\n enable3D?: boolean;\n};\nexport type UpdateEntity_volume_material_ref = {\n volume_material_ref: UpdateEntity_VolumeMaterialReference;\n};\nexport type UpdateEntity_VolumeMaterialReference = {\n /** UUID of the volume_material. */\n value: string;\n};\nexport type UpdateEntity_volume_ref = {\n volume_ref: UpdateEntity_VolumeReference;\n};\nexport type UpdateEntity_VolumeReference = {\n /** Reference to a 3d texture. */\n texture3dRef: string;\n};\n/**\n * Update a specific entity from a scene.\n */\nexport function updateEntity(\n {\n scene_id,\n entity_id,\n entity_components,\n }: {\n scene_id: string;\n entity_id: string;\n entity_components:\n | UpdateEntity_animation_controller\n | UpdateEntity_bone\n | UpdateEntity_box_geometry\n | UpdateEntity_camera\n | UpdateEntity_capsule_geometry\n | UpdateEntity_character_controller\n | UpdateEntity_collision_geometry_ref\n | UpdateEntity_cylinder_geometry\n | UpdateEntity_debug_name\n | UpdateEntity_decal_projector\n | UpdateEntity_environment\n | UpdateEntity_joint\n | UpdateEntity_lineage\n | UpdateEntity_local_aabb\n | UpdateEntity_local_transform\n | UpdateEntity_material\n | UpdateEntity_material_ref\n | UpdateEntity_mesh_ref\n | UpdateEntity_orthographic_lens\n | UpdateEntity_overrider\n | UpdateEntity_perspective_lens\n | UpdateEntity_physics_material\n | UpdateEntity_plane_geometry\n | UpdateEntity_point_cloud_ref\n | UpdateEntity_point_light\n | UpdateEntity_reflection_probe\n | UpdateEntity_revolute_joint\n | UpdateEntity_rigid_body\n | UpdateEntity_scene_ref\n | UpdateEntity_script_element\n | UpdateEntity_script_map\n | UpdateEntity_shadow_caster\n | UpdateEntity_skeleton_ref\n | UpdateEntity_sound_ref\n | UpdateEntity_sphere_geometry\n | UpdateEntity_spot_light\n | UpdateEntity_stereoscopic_lens\n | UpdateEntity_tags\n | UpdateEntity_volume_filter\n | UpdateEntity_volume_material_ref\n | UpdateEntity_volume_ref;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n data: entity_components,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Delete a specific entity from a scene.\n */\nexport function deleteEntity(\n {\n scene_id,\n entity_id,\n }: {\n scene_id: string;\n entity_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/assets/scenes/' + scene_id + '/entities/' + entity_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSceneSettings__index_SceneSettings_SceneSettings = {\n /** Settings for debug lines */\n debug_lines?: GetSceneSettings_DebugLines;\n /** Default camera component of the scene, used to create default cameras. */\n default_camera_component?: GetSceneSettings_DefaultCameraComponent;\n /** Default camera global transform of the scene, used to create default cameras. */\n default_camera_transform?: GetSceneSettings_DefaultCameraTransform;\n /** Settings for the display */\n display?: GetSceneSettings_Display;\n /** Settings for the encoder */\n encoder?: GetSceneSettings_Encoder;\n /** Settings for the environment */\n environment?: GetSceneSettings_Environment;\n /** Miscellaneous settings */\n misc?: GetSceneSettings_Miscellaneous;\n /** Settings for the network */\n network?: GetSceneSettings_Network;\n /** Settings for the physics engine. */\n physics?: GetSceneSettings_Physics;\n /** Renderer settings */\n renderer?: GetSceneSettings_Renderer;\n /** Settings to apply whenever simulation is active */\n simulation?: GetSceneSettings_Simulation;\n /** Sound settings */\n sound?: GetSceneSettings_Sound;\n /** Settings for the scene streaming */\n streaming?: GetSceneSettings_Streaming;\n /** Settings for voxel rendering */\n voxel?: GetSceneSettings_Voxel;\n};\nexport type GetSceneSettings_DebugLines = {\n /** Whether to draw the bouding boxes of entities */\n drawBoundingBoxes?: boolean;\n /** Whether to draw camera frustums */\n drawCameraFrustums?: boolean;\n /** Whether to draw the center of mass of physics bodies */\n drawCenterOfMass?: boolean;\n /** Whether to draw contacts between physics bodies */\n drawContacts?: boolean;\n /** Whether to draw debug lines */\n drawDebugLines?: boolean;\n /** Whether to draw certain IK parameters like the forward and up vector of an IK Aim node, or the pole vector of an IK Two Bone node */\n drawIK?: boolean;\n /** Whether to draw joint-related debug lines */\n drawJoints?: boolean;\n /** Whether to draw light-related debug lines */\n drawLights?: boolean;\n /** Whether to draw geometry of physics bodies */\n drawPhysicsBodies?: boolean;\n /** Whether to draw physics body axes */\n drawPhysicsBodyAxes?: boolean;\n /** Whether to draw reflection probes */\n drawReflectionProbes?: boolean;\n /** Whether to draw the skeletons of rigged characters */\n drawSkeletons?: boolean;\n};\nexport type GetSceneSettings_DefaultCameraComponent = {\n /** Input values as described in the referenced render graph in their original JSON format. */\n dataJSON?: object;\n /** Specifies which render graph this camera should use. */\n renderGraphRef?: string;\n /** Index of the render target to blit. */\n renderTargetIndex?: number;\n};\nexport type GetSceneSettings_DefaultCameraTransform = {\n /** Orientation of the camera expressed as a quaternion */\n orientation?: Array<number>;\n /** x, y, z position of the camera */\n position?: Array<number>;\n};\nexport type GetSceneSettings_Display = {\n /** Draw frame without input events */\n forceRedraw?: boolean;\n /** When 'Force Redraw' is off, this setting controls the number of frames the renderer will draw before going back to idle */\n framePersistence?: number;\n /** Maximum number of Frames Per Second the renderer is allowed to produce */\n maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;\n /** Maximum resolution of loaded textures */\n maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> &\n number;\n};\nexport type GetSceneSettings_Encoder = {\n /** Encoder type. */\n encoderType?: string;\n};\nexport type GetSceneSettings_Environment = {\n /** Color of the spherical gradient at the bottom of the sphere. */\n ambientColorBottom?: Array<number>;\n /** Color of the spherical gradient at the top of the sphere. */\n ambientColorTop?: Array<number>;\n /** Solid color used to clear the screen before drawing. */\n clearColor?: Array<number>;\n};\nexport type GetSceneSettings_Miscellaneous = {\n /** The maximum number of time a linker can reference itself. */\n maxLinkersRecursionCount?: number;\n /** The maximum time a script can run before getting aborted. */\n maxScriptExecutionTimeInMs?: number;\n /** Plugins to load at startup */\n plugins?: Array<string>;\n};\nexport type GetSceneSettings_Network = {\n /** Time to wait in seconds with no client before closing the session. */\n clientConnectionTimeout?: number;\n sendSimulationUpdates?: boolean;\n /** Time to maintain the session alive without any active client in seconds. */\n timeToLiveWithInactiveUsersInSeconds?: number;\n waitForDefaultAssetsTimeoutInSeconds?: number;\n};\nexport type GetSceneSettings_Physics = {\n /** The engine that is powering the physics of the scene. */\n engine?: StrictUnion<'physx' | 'xde'>;\n /** The epsilon used to mark whether the transform of an entity has changed and so whether to notify the physics engine. */\n epsilon?: number;\n /** Global gravity applied throughout the scene. */\n gravity?: Array<number>;\n /** The bigger LMD Max is, the greater the area that is searched for future contacts, and so the greater time taken per iteration. Note that XDE resolves contacts pre-collision, not once collision has taken place, like the majority of physics engines. Displacement of any object per iteration should not exceed LMD Max. */\n lmdMax?: number;\n /** A frame-rate-independent interval that dictates when physics calculations are performed. */\n timestepInS?: number;\n /** The approximate size of objects in the simulation. This is used to estimate certain length-related tolerances. */\n toleranceLength?: number;\n /** The typical magnitude of velocities of objects in simulation. This is used to estimate whether a contact should be treated as bouncing or resting based on its impact velocity, and a kinetic energy threshold below which the simulation may put objects to sleep. For normal physical environments, a good choice is the approximate speed of an object falling under gravity for one second. */\n toleranceSpeed?: number;\n};\nexport type GetSceneSettings_Renderer = {\n /** Enable occlusion culling. */\n cpuOcclusionCulling?: boolean;\n /** Toggle frustum culling */\n enableFrustumCulling?: boolean;\n /** Enables geometry culling. */\n enableGeometryCulling?: boolean;\n /** Enables ray tracing. */\n enableRayTracing?: boolean;\n /** Toggle texture streaming */\n enableTextureStreaming?: boolean;\n /** Time to wait for the GPU in milliseconds. */\n endFrameTimeoutInMilliseconds?: number;\n};\nexport type GetSceneSettings_Simulation = {\n /** Scripts which the client will be automatically attached */\n clientScripts?: Array<GetSceneSettings_Object>;\n /** Camera used when starting the simulation */\n mainCamera?: GetSceneSettings_MainCamera;\n};\nexport type GetSceneSettings_Object = {\n linkage: Array<string>;\n /** A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes. */\n originalEUID: string;\n};\nexport type GetSceneSettings_MainCamera = {\n linkage: Array<string>;\n /** A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes. */\n originalEUID: string;\n};\nexport type GetSceneSettings_Sound = {\n /** Enable 3dverse sound. */\n enabled?: boolean;\n};\nexport type GetSceneSettings_Streaming = {\n /** Scenes that enter this radius around the camera get loaded. */\n streamingLoadingRadius?: number;\n /** Scenes that exit this radius around the camera get unloaded. */\n streamingUnloadingRadius?: number;\n};\nexport type GetSceneSettings_Voxel = {\n /** Maximum number of color samples used to compute the color LUT. */\n maxNumberAlbedoValues?: number;\n};\n/**\n * Get the settings of a scene.\n */\nexport function getSceneSettings(\n {\n scene_id,\n }: {\n scene_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSceneSettings__index_SceneSettings_SceneSettings> {\n return axiosInstance({\n method: 'get',\n url: '/assets/scenes/' + scene_id + '/settings',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type UpdateSceneSettings_SceneSettings = {\n /** Settings for debug lines */\n debug_lines?: UpdateSceneSettings_DebugLines;\n /** Default camera component of the scene, used to create default cameras. */\n default_camera_component?: UpdateSceneSettings_DefaultCameraComponent;\n /** Default camera global transform of the scene, used to create default cameras. */\n default_camera_transform?: UpdateSceneSettings_DefaultCameraTransform;\n /** Settings for the display */\n display?: UpdateSceneSettings_Display;\n /** Settings for the encoder */\n encoder?: UpdateSceneSettings_Encoder;\n /** Settings for the environment */\n environment?: UpdateSceneSettings_Environment;\n /** Miscellaneous settings */\n misc?: UpdateSceneSettings_Miscellaneous;\n /** Settings for the network */\n network?: UpdateSceneSettings_Network;\n /** Settings for the physics engine. */\n physics?: UpdateSceneSettings_Physics;\n /** Renderer settings */\n renderer?: UpdateSceneSettings_Renderer;\n /** Settings to apply whenever simulation is active */\n simulation?: UpdateSceneSettings_Simulation;\n /** Sound settings */\n sound?: UpdateSceneSettings_Sound;\n /** Settings for the scene streaming */\n streaming?: UpdateSceneSettings_Streaming;\n /** Settings for voxel rendering */\n voxel?: UpdateSceneSettings_Voxel;\n};\nexport type UpdateSceneSettings_DebugLines = {\n /** Whether to draw the bouding boxes of entities */\n drawBoundingBoxes?: boolean;\n /** Whether to draw camera frustums */\n drawCameraFrustums?: boolean;\n /** Whether to draw the center of mass of physics bodies */\n drawCenterOfMass?: boolean;\n /** Whether to draw contacts between physics bodies */\n drawContacts?: boolean;\n /** Whether to draw debug lines */\n drawDebugLines?: boolean;\n /** Whether to draw certain IK parameters like the forward and up vector of an IK Aim node, or the pole vector of an IK Two Bone node */\n drawIK?: boolean;\n /** Whether to draw joint-related debug lines */\n drawJoints?: boolean;\n /** Whether to draw light-related debug lines */\n drawLights?: boolean;\n /** Whether to draw geometry of physics bodies */\n drawPhysicsBodies?: boolean;\n /** Whether to draw physics body axes */\n drawPhysicsBodyAxes?: boolean;\n /** Whether to draw reflection probes */\n drawReflectionProbes?: boolean;\n /** Whether to draw the skeletons of rigged characters */\n drawSkeletons?: boolean;\n};\nexport type UpdateSceneSettings_DefaultCameraComponent = {\n /** Input values as described in the referenced render graph in their original JSON format. */\n dataJSON?: object;\n /** Specifies which render graph this camera should use. */\n renderGraphRef?: string;\n /** Index of the render target to blit. */\n renderTargetIndex?: number;\n};\nexport type UpdateSceneSettings_DefaultCameraTransform = {\n /** Orientation of the camera expressed as a quaternion */\n orientation?: Array<number>;\n /** x, y, z position of the camera */\n position?: Array<number>;\n};\nexport type UpdateSceneSettings_Display = {\n /** Draw frame without input events */\n forceRedraw?: boolean;\n /** When 'Force Redraw' is off, this setting controls the number of frames the renderer will draw before going back to idle */\n framePersistence?: number;\n /** Maximum number of Frames Per Second the renderer is allowed to produce */\n maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;\n /** Maximum resolution of loaded textures */\n maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> &\n number;\n};\nexport type UpdateSceneSettings_Encoder = {\n /** Encoder type. */\n encoderType?: string;\n};\nexport type UpdateSceneSettings_Environment = {\n /** Color of the spherical gradient at the bottom of the sphere. */\n ambientColorBottom?: Array<number>;\n /** Color of the spherical gradient at the top of the sphere. */\n ambientColorTop?: Array<number>;\n /** Solid color used to clear the screen before drawing. */\n clearColor?: Array<number>;\n};\nexport type UpdateSceneSettings_Miscellaneous = {\n /** The maximum number of time a linker can reference itself. */\n maxLinkersRecursionCount?: number;\n /** The maximum time a script can run before getting aborted. */\n maxScriptExecutionTimeInMs?: number;\n /** Plugins to load at startup */\n plugins?: Array<string>;\n};\nexport type UpdateSceneSettings_Network = {\n /** Time to wait in seconds with no client before closing the session. */\n clientConnectionTimeout?: number;\n sendSimulationUpdates?: boolean;\n /** Time to maintain the session alive without any active client in seconds. */\n timeToLiveWithInactiveUsersInSeconds?: number;\n waitForDefaultAssetsTimeoutInSeconds?: number;\n};\nexport type UpdateSceneSettings_Physics = {\n /** The engine that is powering the physics of the scene. */\n engine?: StrictUnion<'physx' | 'xde'>;\n /** The epsilon used to mark whether the transform of an entity has changed and so whether to notify the physics engine. */\n epsilon?: number;\n /** Global gravity applied throughout the scene. */\n gravity?: Array<number>;\n /** The bigger LMD Max is, the greater the area that is searched for future contacts, and so the greater time taken per iteration. Note that XDE resolves contacts pre-collision, not once collision has taken place, like the majority of physics engines. Displacement of any object per iteration should not exceed LMD Max. */\n lmdMax?: number;\n /** A frame-rate-independent interval that dictates when physics calculations are performed. */\n timestepInS?: number;\n /** The approximate size of objects in the simulation. This is used to estimate certain length-related tolerances. */\n toleranceLength?: number;\n /** The typical magnitude of velocities of objects in simulation. This is used to estimate whether a contact should be treated as bouncing or resting based on its impact velocity, and a kinetic energy threshold below which the simulation may put objects to sleep. For normal physical environments, a good choice is the approximate speed of an object falling under gravity for one second. */\n toleranceSpeed?: number;\n};\nexport type UpdateSceneSettings_Renderer = {\n /** Enable occlusion culling. */\n cpuOcclusionCulling?: boolean;\n /** Toggle frustum culling */\n enableFrustumCulling?: boolean;\n /** Enables geometry culling. */\n enableGeometryCulling?: boolean;\n /** Enables ray tracing. */\n enableRayTracing?: boolean;\n /** Toggle texture streaming */\n enableTextureStreaming?: boolean;\n /** Time to wait for the GPU in milliseconds. */\n endFrameTimeoutInMilliseconds?: number;\n};\nexport type UpdateSceneSettings_Simulation = {\n /** Scripts which the client will be automatically attached */\n clientScripts?: Array<UpdateSceneSettings_Object>;\n /** Camera used when starting the simulation */\n mainCamera?: UpdateSceneSettings_MainCamera;\n};\nexport type UpdateSceneSettings_Object = {\n linkage: Array<string>;\n /** A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes. */\n originalEUID: string;\n};\nexport type UpdateSceneSettings_MainCamera = {\n linkage: Array<string>;\n /** A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes. */\n originalEUID: string;\n};\nexport type UpdateSceneSettings_Sound = {\n /** Enable 3dverse sound. */\n enabled?: boolean;\n};\nexport type UpdateSceneSettings_Streaming = {\n /** Scenes that enter this radius around the camera get loaded. */\n streamingLoadingRadius?: number;\n /** Scenes that exit this radius around the camera get unloaded. */\n streamingUnloadingRadius?: number;\n};\nexport type UpdateSceneSettings_Voxel = {\n /** Maximum number of color samples used to compute the color LUT. */\n maxNumberAlbedoValues?: number;\n};\n/**\n * Update the settings of a scene.\n */\nexport function updateSceneSettings(\n {\n scene_id,\n body,\n }: {\n scene_id: string;\n body: UpdateSceneSettings_SceneSettings;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'patch',\n url: '/assets/scenes/' + scene_id + '/settings',\n data: body,\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetRunningSessions_Filter = {\n /** Filter sessions created by the specified user. Only available while using an api key. */\n user_id?: string;\n /** Filter sessions running a specified scene. */\n scene_id?: string;\n /** Filter sessions running scenes located in the specified folder. */\n folder_id?: string;\n};\nexport type GetRunningSessions_Session = {\n /** Session unique identifier */\n session_id: string;\n /** The main scene identifier of the session */\n scene_id: string;\n /** The main scene name of the session */\n scene_name: string;\n /** The folder identifier of the scene */\n folder_id: string;\n /** Maximum number of users allowed in this session at the same time */\n max_users: number;\n /** User identifier of the creator of the session */\n creator_user_id: string;\n /** Session creation date */\n created_at: string;\n /** Country code of the rendering server location */\n country_code: string;\n /** Continent code of the rendering server location */\n continent_code: string;\n /** Whether the session is transient or not */\n is_transient_session: boolean;\n /** Current clients in session */\n clients: Array<GetRunningSessions_Client_UserInfo>;\n};\nexport type GetRunningSessions_Client_UserInfo = {\n /** Client unique identifier */\n client_id?: string;\n client_type?: 'user' | 'guest';\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\n/**\n * Lists all running rendering sessions.\n */\nexport function getRunningSessions(\n {\n filters,\n }: {\n filters?: GetRunningSessions_Filter;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<Array<GetRunningSessions_Session>> {\n return axiosInstance({\n method: 'get',\n url: '/sessions',\n params: {\n filters: filters,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type CreateSession_Object = {\n /** Session unique identifier */\n session_id: string;\n};\n/**\n * Create a new rendering session.\n */\nexport function createSession(\n {\n scene_id,\n renderer_version,\n is_transient = false,\n options,\n }: {\n /** Asset unique identifier */\n scene_id: string;\n /** The version of the renderer to use. */\n renderer_version?: string;\n /** Whether the session should be created as transient or not. */\n is_transient?: boolean;\n /** Additional options for the session. For internal use. */\n options?: object;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<CreateSession_Object> {\n return axiosInstance({\n method: 'post',\n url: '/sessions',\n data: {\n scene_id: scene_id,\n renderer_version: renderer_version,\n is_transient: is_transient,\n options: options,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetSession_Session = {\n /** Session unique identifier */\n session_id: string;\n /** The main scene identifier of the session */\n scene_id: string;\n /** The main scene name of the session */\n scene_name: string;\n /** The folder identifier of the scene */\n folder_id: string;\n /** Maximum number of users allowed in this session at the same time */\n max_users: number;\n /** User identifier of the creator of the session */\n creator_user_id: string;\n /** Session creation date */\n created_at: string;\n /** Country code of the rendering server location */\n country_code: string;\n /** Continent code of the rendering server location */\n continent_code: string;\n /** Whether the session is transient or not */\n is_transient_session: boolean;\n /** Current clients in session */\n clients: Array<GetSession_Client_UserInfo>;\n};\nexport type GetSession_Client_UserInfo = {\n /** Client unique identifier */\n client_id?: string;\n client_type?: 'user' | 'guest';\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\n/**\n * Retrieves details about the target session.\n */\nexport function getSession(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetSession_Session> {\n return axiosInstance({\n method: 'get',\n url: '/sessions/' + session_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Forcefully terminates a session.\n */\nexport function killSession(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/sessions/' + session_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type JoinSession_SessionToken = {\n /** The token used to join the requested session */\n session_token: string;\n /** The endpoint to connect to */\n endpoint_info: JoinSession_Object;\n};\nexport type JoinSession_Object = {\n ip: string;\n port: number;\n ssl_port: number;\n};\n/**\n * Creates a new client for the user and returns a token to join the session.\n */\nexport function joinSession(\n {\n session_id,\n is_headless = false,\n }: {\n session_id: string;\n /** Declare that the client is headless and will not receive any frames. Useful for clients running on servers or in the background.\n */\n is_headless?: boolean;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<JoinSession_SessionToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/' + session_id + '/clients',\n data: {\n is_headless: is_headless,\n },\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GetClient_Client_UserInfo = {\n /** Client unique identifier */\n client_id?: string;\n client_type?: 'user' | 'guest';\n /** User unique identifier */\n user_id: string;\n /** Used only for debug purposes */\n username: string;\n};\n/**\n * Retrieves details about the target client.\n */\nexport function getClient(\n {\n session_id,\n client_id,\n }: {\n session_id: string;\n client_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GetClient_Client_UserInfo> {\n return axiosInstance({\n method: 'get',\n url: '/sessions/' + session_id + '/clients/' + client_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\n/**\n * Kick a client from a running session.\n */\nexport function kickClientFromSession(\n {\n session_id,\n client_id,\n }: {\n session_id: string;\n client_id: string;\n },\n headers?: AxiosRequestHeaders,\n) {\n return axiosInstance({\n method: 'delete',\n url: '/sessions/' + session_id + '/clients/' + client_id + '',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type JoinSessionAsGuest_SessionToken = {\n /** The token used to join the requested session */\n session_token: string;\n /** The endpoint to connect to */\n endpoint_info: JoinSessionAsGuest_Object;\n};\nexport type JoinSessionAsGuest_Object = {\n ip: string;\n port: number;\n ssl_port: number;\n};\n/**\n * Join a session as guest.\n */\nexport function joinSessionAsGuest(headers?: AxiosRequestHeaders): AxiosPromise<JoinSessionAsGuest_SessionToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/guests',\n headers: headers,\n });\n}\n\n//--------------------------------------------------------------------------\nexport type GenerateGuestToken_GuestToken = {\n /** The token used to join the requested session as a guest */\n guest_token?: string;\n};\n/**\n * Generates a token to join the session as a guest.\n */\nexport function generateGuestToken(\n {\n session_id,\n }: {\n session_id: string;\n },\n headers?: AxiosRequestHeaders,\n): AxiosPromise<GenerateGuestToken_GuestToken> {\n return axiosInstance({\n method: 'post',\n url: '/sessions/' + session_id + '/guests',\n headers: headers,\n });\n}\n"],
5
+ "mappings": ";AAEA,OAAO,cAAc,gBAAgB,gCAAgC;;;ACyBrE,OAAO,WAAkF;AAQlF,IAAM,gBAAgB,MAAM,OAAO;AAAA,EACtC,SAAS;AACb,CAAC;AAGM,SAAS,WAAW,SAAiB;AACxC,gBAAc,SAAS,UAAU;AACrC;AAcO,SAAS,UACZ;AAAA,EACI,SAAS;AAAA,EACT,QAAQ;AACZ,GAIA,SAC4C;AAC5C,SAAO,cAAc;AAAA,IACjB,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,QAAQ;AAAA,MACJ;AAAA,MACA;AAAA,IACJ;AAAA,IACA;AAAA,EACJ,CAAC;AACL;AAcO,SAAS,aACZ;AAAA,EACI;AACJ,GAIA,SACwC;AACxC,SAAO,cAAc;AAAA,IACjB,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,MAAM;AAAA,MACF;AAAA,IACJ;AAAA,IACA;AAAA,EACJ,CAAC;AACL;AAcO,SAAS,eAAe,SAA2E;AACtG,SAAO,cAAc;AAAA,IACjB,QAAQ;AAAA,IACR,KAAK;AAAA,IACL;AAAA,EACJ,CAAC;AACL;AAcO,SAAS,QACZ;AAAA,EACI;AACJ,GAGA,SACmC;AACnC,SAAO,cAAc;AAAA,IACjB,QAAQ;AAAA,IACR,KAAK,YAAY;AAAA,IACjB;AAAA,EACJ,CAAC;AACL;AAMO,SAAS,WACZ;AAAA,EACI;AAAA,EACA;AACJ,GAKA,SACF;AACE,SAAO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