@3dverse/api 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../_prebuild/wrapper.ts", "../index.ts"],
4
- "sourcesContent": ["/**\n * 3dverse v1.0\n * # 3dverse API\n * \n * Welcome to the 3dverse API. The 3dverse API scopes to an API key. Each development environment of an application requires a separate API key.\n * Through the API key, you can manage ownership, access, and permissions for each environment.\n * Each environment has its own set of users, groups, folders, and assets.\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, AxiosError } from 'axios';\n\n//--------------------------------------------------------------------------\ntype UnionKeys<T> = T extends T ? keyof T : never;\ntype StrictUnionHelper<T, TAll> =\n T extends any\n ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\n//--------------------------------------------------------------------------\ndeclare module 'axios' {\n export interface AxiosRequestConfig<D = any, T = any> {\n operationId: string;\n }\n}\n\n//--------------------------------------------------------------------------\nexport const axiosInstance = axios.create({\n baseURL: \"https://api.3dverse.com/app/v1\",\n operationId: \"3dverse\"\n});\n\n//------------------------------------------------------------------------------\nexport function setBaseURL(baseURL: string) {\n axiosInstance.defaults.baseURL = baseURL;\n}\n\n\n//--------------------------------------------------------------------------\n// Retrieve a list of all users in the current application.\nexport type ListUsers_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function listUsers(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListUsers_User_UserInfo>>\n{\n return axiosInstance({\n operationId: \"listUsers\",\n method: \"get\",\n url: \"/users\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Registers the target user in the current application.\nexport type RegisterUser_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function registerUser(\n {\n username\n } : {\n username : string;\n }\n) : AxiosPromise<RegisterUser_User_UserInfo>\n{\n return axiosInstance({\n operationId: \"registerUser\",\n method: \"post\",\n url: \"/users\",\n data: {\n username: username\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Retrieves details about the target user.\nexport type GetUser_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function getUser(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<GetUser_User_UserInfo>\n{\n return axiosInstance({\n operationId: \"getUser\",\n method: \"get\",\n url: \"/users/\" + user_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates the details of the target user.\nexport function updateUser(\n {\n user_id,\n username\n } : {\n user_id : string;\n username : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateUser\",\n method: \"patch\",\n url: \"/users/\" + user_id + \"\",\n data: {\n username: username\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the target user.\nexport type DeleteUser_Object = {\n deleted_assets ?: DeleteUser_Object\n};\nexport function deleteUser(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<DeleteUser_Object>\n{\n return axiosInstance({\n operationId: \"deleteUser\",\n method: \"delete\",\n url: \"/users/\" + user_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Generates a user token. This user token identifies the user when making a request.\nexport type GenerateUserToken_Token = {\n user_token ?: string,\n expires_in ?: number,\n expires_on ?: number\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) : AxiosPromise<GenerateUserToken_Token>\n{\n return axiosInstance({\n operationId: \"generateUserToken\",\n method: \"post\",\n url: \"/users/\" + user_id + \"/tokens\",\n data: {\n scope: scope,\n ttl: ttl\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all user groups.\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};\nexport function getUserGroups(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<Array<GetUserGroups_Group_GroupInfo>>\n{\n return axiosInstance({\n operationId: \"getUserGroups\",\n method: \"get\",\n url: \"/users/\" + user_id + \"/groups\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all upload tasks of the target user.\nexport type GetUserUploadTasks_UploadTask = {\n upload_task_id ?: string,\n folder_id ?: string,\n uploaded_at ?: string,\n uploaded_by ?: string,\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks ?: Array<GetUserUploadTasks_ConversionTask>\n};\nexport type GetUserUploadTasks_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\"\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) : AxiosPromise<Array<GetUserUploadTasks_UploadTask>>\n{\n return axiosInstance({\n operationId: \"getUserUploadTasks\",\n method: \"get\",\n url: \"/users/\" + user_id + \"/upload-tasks\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new user group.\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};\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) : AxiosPromise<CreateGroup_Group_GroupInfo>\n{\n return axiosInstance({\n operationId: \"createGroup\",\n method: \"post\",\n url: \"/groups\",\n data: {\n name: name,\n description: description,\n members: members\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets a group details.\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};\nexport function getGroup(\n {\n group_id\n } : {\n group_id : string;\n }\n) : AxiosPromise<GetGroup_Group_GroupInfo>\n{\n return axiosInstance({\n operationId: \"getGroup\",\n method: \"get\",\n url: \"/groups/\" + group_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates a group details.\nexport function updateGroupDescription(\n {\n group_id,\n name,\n description\n } : {\n group_id : string;\n name : string;\n description : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateGroupDescription\",\n method: \"patch\",\n url: \"/groups/\" + group_id + \"\",\n data: {\n name: name,\n description: description\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes a group and all its access rights.\nexport function deleteGroup(\n {\n group_id\n } : {\n group_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteGroup\",\n method: \"delete\",\n url: \"/groups/\" + group_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Grants member access to the group.\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)\n{\n return axiosInstance({\n operationId: \"grantMemberAccessToGroup\",\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 });\n}\n\n//--------------------------------------------------------------------------\n// Revoke requested user access to group.\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)\n{\n return axiosInstance({\n operationId: \"revokeMemberAccessToGroup\",\n method: \"delete\",\n url: \"/groups/\" + group_id + \"/members/\" + member_type + \"/\" + member_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all folders\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};\nexport function listFolders(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListFolders_Folder>>\n{\n return axiosInstance({\n operationId: \"listFolders\",\n method: \"get\",\n url: \"/folders\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a folder.\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};\nexport function createFolder(\n {\n name,\n subfolders\n } : {\n name : string;\n subfolders ?: Array<CreateFolder_Folder>;\n }\n) : AxiosPromise<CreateFolder_Folder_Writable>\n{\n return axiosInstance({\n operationId: \"createFolder\",\n method: \"post\",\n url: \"/folders\",\n data: {\n name: name,\n subfolders: subfolders\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the requested folder details.\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};\nexport function getFolderInfo(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<GetFolderInfo_Folder>\n{\n return axiosInstance({\n operationId: \"getFolderInfo\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Move folders inside the specified folder.\nexport function moveFolders(\n {\n folder_id,\n folderIds\n } : {\n folder_id : string;\n folderIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveFolders\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"\",\n data: folderIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates the folder details.\nexport function updateFolder(\n {\n folder_id,\n name\n } : {\n folder_id : string;\n name ?: string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateFolder\",\n method: \"patch\",\n url: \"/folders/\" + folder_id + \"\",\n data: {\n name: name\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the requested folder. The target folder must be empty.\nexport function deleteFolder(\n {\n folder_id\n } : {\n folder_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteFolder\",\n method: \"delete\",\n url: \"/folders/\" + folder_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// List member access to the targeted folder.\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};\nexport function listFolderAccesses(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<ListFolderAccesses_Object>\n{\n return axiosInstance({\n operationId: \"listFolderAccesses\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/access\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Grants member access to the targeted folder.\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)\n{\n return axiosInstance({\n operationId: \"grantMemberAccessToFolder\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/access/\" + member_type + \"/\" + member_id + \"\",\n data: {\n access: access\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Revokes member access to a target folder.\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)\n{\n return axiosInstance({\n operationId: \"revokeMemberAccessToFolder\",\n method: \"delete\",\n url: \"/folders/\" + folder_id + \"/access/\" + member_type + \"/\" + member_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a subfolder.\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};\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) : AxiosPromise<CreateSubfolder_Folder_Writable>\n{\n return axiosInstance({\n operationId: \"createSubfolder\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/folders\",\n data: {\n name: name,\n subfolders: subfolders\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all subfolders of requested folder. This request can be recursive.\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};\nexport function listFolderSubFolders(\n {\n folder_id,\n depth = 0\n } : {\n folder_id : string;\n depth ?: number;\n }\n) : AxiosPromise<Array<ListFolderSubFolders_Folder>>\n{\n return axiosInstance({\n operationId: \"listFolderSubFolders\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/folders\",\n params: {\n depth: depth\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Uploads the specified source file(s).\nexport type UploadSourceFiles_Object = {\n upload_task_id ?: string\n};\nexport function uploadSourceFiles(\n {\n folder_id,\n body\n } : {\n folder_id : string;\n body : FormData;\n }\n) : AxiosPromise<UploadSourceFiles_Object>\n{\n return axiosInstance({\n operationId: \"uploadSourceFiles\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n data: body\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all source files in a folder.\nexport type GetSourceFilesInFolder_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getSourceFilesInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10\n } : {\n folder_id : string;\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>\n{\n return axiosInstance({\n operationId: \"getSourceFilesInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Move source files inside the specified folder.\nexport function moveSourceFiles(\n {\n folder_id,\n sourceFileIds\n } : {\n folder_id : string;\n sourceFileIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveSourceFiles\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n data: sourceFileIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all upload tasks in a folder.\nexport type GetUploadTasksInFolder_UploadTask = {\n upload_task_id ?: string,\n folder_id ?: string,\n uploaded_at ?: string,\n uploaded_by ?: string,\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks ?: Array<GetUploadTasksInFolder_ConversionTask>\n};\nexport type GetUploadTasksInFolder_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\"\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) : AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>\n{\n return axiosInstance({\n operationId: \"getUploadTasksInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/upload-tasks\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists assets.\nexport type GetFolderAssets_Filter = {\n asset_type ?: StrictUnion<Array<\"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"> | \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"> & any,\n asset_name ?: string\n};\nexport type GetFolderAssets_asset_list = {\n animations ?: Array<GetFolderAssets_asset_item>,\n animationGraphs ?: Array<GetFolderAssets_asset_item>,\n animationSequences ?: Array<GetFolderAssets_asset_item>,\n animationSets ?: Array<GetFolderAssets_asset_item>,\n cubemaps ?: Array<GetFolderAssets_asset_item>,\n eventMaps ?: Array<GetFolderAssets_asset_item>,\n materials ?: Array<GetFolderAssets_asset_item>,\n meshes ?: Array<GetFolderAssets_asset_item>,\n pointClouds ?: Array<GetFolderAssets_asset_item>,\n renderGraphs ?: Array<GetFolderAssets_asset_item>,\n scenes ?: Array<GetFolderAssets_asset_item>,\n scripts ?: Array<GetFolderAssets_asset_item>,\n shaders ?: Array<GetFolderAssets_asset_item>,\n skeletons ?: Array<GetFolderAssets_asset_item>,\n sounds ?: Array<GetFolderAssets_asset_item>,\n textures ?: Array<GetFolderAssets_asset_item>,\n volumeMaterials ?: Array<GetFolderAssets_asset_item>\n};\nexport type GetFolderAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getFolderAssets(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filter\n } : {\n folder_id : string;\n offset ?: number;\n limit ?: number;\n filter ?: GetFolderAssets_Filter;\n }\n) : AxiosPromise<GetFolderAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"getFolderAssets\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/assets\",\n params: {\n offset: offset,\n limit: limit,\n filter: filter\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Move assets inside the specified folder.\nexport function moveAssets(\n {\n folder_id,\n assetIds\n } : {\n folder_id : string;\n assetIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveAssets\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/assets\",\n data: assetIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new asset.\nexport type CreateAsset_Object = {\n copy_from_asset_id : string,\n new_asset_name ?: string\n};\nexport type CreateAsset_AssetDescription = {\n name : string\n};\nexport type CreateAsset_asset_item = {\n asset_id : string,\n name : string\n};\nexport function createAsset(\n {\n folder_id,\n asset_container_creatable,\n assetCreationOptions\n } : {\n folder_id : string;\n asset_container_creatable : \"animationGraphs\" | \"animationSequences\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"volumeMaterials\";\n assetCreationOptions : StrictUnion<CreateAsset_Object | CreateAsset_AssetDescription> & any;\n }\n) : AxiosPromise<CreateAsset_asset_item>\n{\n return axiosInstance({\n operationId: \"createAsset\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/assets/\" + asset_container_creatable + \"\",\n data: assetCreationOptions\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all sessions running on scenes contained in a specified folder.\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 clients : Array<GetSessionsInFolder_UserInfo>\n};\nexport type GetSessionsInFolder_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSessionsInFolder(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<Array<GetSessionsInFolder_Session>>\n{\n return axiosInstance({\n operationId: \"getSessionsInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/sessions\"\n });\n}\n\n//--------------------------------------------------------------------------\n// List source files.\nexport type ListSourceFiles_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function listSourceFiles(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListSourceFiles_SourceFile>>\n{\n return axiosInstance({\n operationId: \"listSourceFiles\",\n method: \"get\",\n url: \"/source-files\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the target source files. Deleting a source file is permanent.\nexport function deleteSourceFiles(\n {\n sourceFileIds\n } : {\n sourceFileIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteSourceFiles\",\n method: \"delete\",\n url: \"/source-files\",\n data: sourceFileIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Downloads the target source file.\nexport function downloadSourceFile(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"downloadSourceFile\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"\",\n responseType: \"arraybuffer\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get source file details.\nexport type GetSourceFileDetails_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getSourceFileDetails(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<GetSourceFileDetails_SourceFile>\n{\n return axiosInstance({\n operationId: \"getSourceFileDetails\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"/details\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates details for a specific source file.\nexport function updateSourceFileDetails(\n {\n source_file_id,\n name\n } : {\n source_file_id : string;\n name ?: string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateSourceFileDetails\",\n method: \"patch\",\n url: \"/source-files/\" + source_file_id + \"/details\",\n data: {\n name: name\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all assets generated from the requested source file.\nexport type GetSourceFileAssets_asset_list = {\n animations ?: Array<GetSourceFileAssets_asset_item>,\n animationGraphs ?: Array<GetSourceFileAssets_asset_item>,\n animationSequences ?: Array<GetSourceFileAssets_asset_item>,\n animationSets ?: Array<GetSourceFileAssets_asset_item>,\n cubemaps ?: Array<GetSourceFileAssets_asset_item>,\n eventMaps ?: Array<GetSourceFileAssets_asset_item>,\n materials ?: Array<GetSourceFileAssets_asset_item>,\n meshes ?: Array<GetSourceFileAssets_asset_item>,\n pointClouds ?: Array<GetSourceFileAssets_asset_item>,\n renderGraphs ?: Array<GetSourceFileAssets_asset_item>,\n scenes ?: Array<GetSourceFileAssets_asset_item>,\n scripts ?: Array<GetSourceFileAssets_asset_item>,\n shaders ?: Array<GetSourceFileAssets_asset_item>,\n skeletons ?: Array<GetSourceFileAssets_asset_item>,\n sounds ?: Array<GetSourceFileAssets_asset_item>,\n textures ?: Array<GetSourceFileAssets_asset_item>,\n volumeMaterials ?: Array<GetSourceFileAssets_asset_item>\n};\nexport type GetSourceFileAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getSourceFileAssets(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<GetSourceFileAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"getSourceFileAssets\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"/assets\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets information related to an upload task. This upload task relates to uploaded source files.\nexport type GetUploadTask_UploadTask = {\n upload_task_id ?: string,\n folder_id ?: string,\n uploaded_at ?: string,\n uploaded_by ?: string,\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks ?: Array<GetUploadTask_ConversionTask>\n};\nexport type GetUploadTask_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"pending\" | \"converting\" | \"error\"\n};\nexport function getUploadTask(\n {\n upload_task_id\n } : {\n upload_task_id : string;\n }\n) : AxiosPromise<GetUploadTask_UploadTask>\n{\n return axiosInstance({\n operationId: \"getUploadTask\",\n method: \"get\",\n url: \"/upload-tasks/\" + upload_task_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Returns a list of all assets.\nexport type ListAssets_asset_list = {\n animations ?: Array<ListAssets_asset_item>,\n animationGraphs ?: Array<ListAssets_asset_item>,\n animationSequences ?: Array<ListAssets_asset_item>,\n animationSets ?: Array<ListAssets_asset_item>,\n cubemaps ?: Array<ListAssets_asset_item>,\n eventMaps ?: Array<ListAssets_asset_item>,\n materials ?: Array<ListAssets_asset_item>,\n meshes ?: Array<ListAssets_asset_item>,\n pointClouds ?: Array<ListAssets_asset_item>,\n renderGraphs ?: Array<ListAssets_asset_item>,\n scenes ?: Array<ListAssets_asset_item>,\n scripts ?: Array<ListAssets_asset_item>,\n shaders ?: Array<ListAssets_asset_item>,\n skeletons ?: Array<ListAssets_asset_item>,\n sounds ?: Array<ListAssets_asset_item>,\n textures ?: Array<ListAssets_asset_item>,\n volumeMaterials ?: Array<ListAssets_asset_item>\n};\nexport type ListAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function listAssets(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<ListAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"listAssets\",\n method: \"get\",\n url: \"/assets\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Batch delete assets. You **MUST NOT** reference assets.\nexport function deleteAssets(\n {\n assetIds\n } : {\n assetIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteAssets\",\n method: \"delete\",\n url: \"/assets\",\n data: assetIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the asset.\nexport function deleteAsset(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteAsset\",\n method: \"delete\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the source file of the specified asset.\nexport type GetAssetSourceFile_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getAssetSourceFile(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetSourceFile_SourceFile>\n{\n return axiosInstance({\n operationId: \"getAssetSourceFile\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/source-file\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset details from the specified asset.\nexport type GetAssetDetails_asset_details = {\n type : \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\",\n asset_id : string,\n name : string,\n created_at ?: string,\n created_by ?: GetAssetDetails_Object,\n last_edited_at ?: string,\n last_edited_by ?: GetAssetDetails_Object,\n contributors ?: Array<GetAssetDetails_UserContribution>\n};\nexport type GetAssetDetails_Object = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport type GetAssetDetails_UserContribution = {\n user : GetAssetDetails_Object,\n contribution_count : number\n};\nexport function getAssetDetails(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetDetails_asset_details>\n{\n return axiosInstance({\n operationId: \"getAssetDetails\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/details\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset folder from the specified asset.\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};\nexport function getAssetFolder(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetFolder_Folder>\n{\n return axiosInstance({\n operationId: \"getAssetFolder\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/folder\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset dependencies from the specified asset.\nexport type GetAssetDependencies_Filter = {\n asset_type ?: \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"\n};\nexport type GetAssetDependencies_Flat = {\n animations ?: Array<GetAssetDependencies_asset_item>,\n animationGraphs ?: Array<GetAssetDependencies_asset_item>,\n animationSequences ?: Array<GetAssetDependencies_asset_item>,\n animationSets ?: Array<GetAssetDependencies_asset_item>,\n cubemaps ?: Array<GetAssetDependencies_asset_item>,\n eventMaps ?: Array<GetAssetDependencies_asset_item>,\n materials ?: Array<GetAssetDependencies_asset_item>,\n meshes ?: Array<GetAssetDependencies_asset_item>,\n pointClouds ?: Array<GetAssetDependencies_asset_item>,\n renderGraphs ?: Array<GetAssetDependencies_asset_item>,\n scenes ?: Array<GetAssetDependencies_asset_item>,\n scripts ?: Array<GetAssetDependencies_asset_item>,\n shaders ?: Array<GetAssetDependencies_asset_item>,\n skeletons ?: Array<GetAssetDependencies_asset_item>,\n sounds ?: Array<GetAssetDependencies_asset_item>,\n textures ?: Array<GetAssetDependencies_asset_item>,\n volumeMaterials ?: Array<GetAssetDependencies_asset_item>\n};\nexport type GetAssetDependencies_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getAssetDependencies(\n {\n asset_container,\n asset_id,\n format = 'flat',\n depth = 'all',\n filter\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n format ?: StrictUnion<'flat' | 'graph'> & string;\n depth ?: StrictUnion<'all' | 'direct'> & string;\n filter ?: GetAssetDependencies_Filter;\n }\n) : AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>\n{\n return axiosInstance({\n operationId: \"getAssetDependencies\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/dependencies\",\n params: {\n format: format,\n depth: depth,\n filter: filter\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset references from the specified asset.\nexport type GetAssetReferences_Object = {\n body : GetAssetReferences_Object\n};\nexport function getAssetReferences(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetReferences_Object>\n{\n return axiosInstance({\n operationId: \"getAssetReferences\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/references\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset description from the specified asset.\nexport type GetAssetDescription_Animation = {\n durationInMs : number,\n payloadSize : number,\n animationEventTrack : GetAssetDescription_Object,\n skeletonRef ?: string\n};\nexport type GetAssetDescription_Object = {\n eventNames ?: Array<string>,\n eventTimeline ?: Array<GetAssetDescription_animation_event>\n};\nexport type GetAssetDescription_animation_event = {\n eventIndex ?: number,\n triggerTime ?: number,\n triggerGlobally ?: boolean\n};\nexport type GetAssetDescription_AnimationGraph = {\n stateMachines ?: Array<GetAssetDescription_animation_state_machine_description>,\n inputDescriptor ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_animation_state_machine_description = {\n states ?: Array<GetAssetDescription_animation_state_description>,\n transitions ?: Array<GetAssetDescription_transition_description>\n};\nexport type GetAssetDescription_animation_state_description = {\n name ?: string,\n nodes ?: Array<GetAssetDescription_animation_node_description>,\n transitionIndices ?: Array<number>\n};\nexport type GetAssetDescription_animation_node_description = {\n nodeType ?: \"state_machine\" | \"playback\" | \"blendspace_1d\" | \"blendspace_2d\" | \"blend\" | \"random\" | \"ik_aim\" | \"ik_two_bone\",\n inputs ?: Array<number>,\n settings ?: StrictUnion<GetAssetDescription_playback_settings_animation_settings | GetAssetDescription_blendspace_1d_settings_animation_settings | GetAssetDescription_blendspace_2d_settings_animation_settings | GetAssetDescription_blend_settings | GetAssetDescription_random_settings | GetAssetDescription_animation_state_machine_settings | GetAssetDescription_ik_two_bone_settings | GetAssetDescription_ik_aim_settings> & any\n};\nexport type GetAssetDescription_playback_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n animationKey ?: number\n};\nexport type GetAssetDescription_blendspace_1d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<GetAssetDescription_blend_axis>,\n horizontalAxis ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_blend_axis = {\n name ?: string,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type GetAssetDescription_blendspace_2d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<GetAssetDescription_blend_axis>,\n horizontalAxis ?: GetAssetDescription_Object,\n verticalAxis ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_blend_settings = {\n weights ?: Array<number>,\n boneIndices ?: Array<number>\n};\nexport type GetAssetDescription_random_settings = {\n probabilities ?: Array<number>\n};\nexport type GetAssetDescription_animation_state_machine_settings = {\n stateMachineIndex ?: number\n};\nexport type GetAssetDescription_ik_two_bone_settings = {\n ws_poleVector ?: Array<number>,\n targetId ?: string,\n startJoint ?: number,\n midJoint ?: number,\n endJoint ?: number,\n soften ?: number,\n twistAngle ?: number,\n weight ?: number\n};\nexport type GetAssetDescription_ik_aim_settings = {\n targetNameId ?: string,\n aimingBoneId ?: string,\n chainLength ?: number,\n eyesOffset ?: Array<number>,\n chainWeight ?: number,\n boneWeight ?: number\n};\nexport type GetAssetDescription_transition_description = {\n durationInMs ?: number,\n exitTime ?: number,\n nextStateIndex ?: number,\n condition ?: string\n};\nexport type GetAssetDescription_AnimationSequence = {\n inputDescriptor : GetAssetDescription_Object\n};\nexport type GetAssetDescription_AnimationSet = {\n animationSet : Array<GetAssetDescription_Object>,\n animationGraphUUID : string\n};\nexport type GetAssetDescription_Cubemap = {\n faces : Array<string>\n};\nexport type GetAssetDescription_EventMap = {\n eventDescriptors : Array<GetAssetDescription_Object>\n};\nexport type GetAssetDescription_Material = {\n shaderRef : string,\n skinnedShaderRef : string,\n dataJson : GetAssetDescription_Object,\n isDoubleSided : boolean\n};\nexport type GetAssetDescription_Mesh = {\n submeshes : Array<GetAssetDescription_submesh_description>,\n payloadSize : number\n};\nexport type GetAssetDescription_submesh_description = {\n boundingBox : GetAssetDescription_Object,\n channels : Array<GetAssetDescription_channel_description>,\n payloadSize : number,\n indexCount : number,\n vertexCount ?: number\n};\nexport type GetAssetDescription_channel_description = {\n semantic ?: \"invalid\" | \"index\" | \"position\" | \"normal\" | \"uv\" | \"color\" | \"bone_id\" | \"weight\",\n elementCount ?: number,\n elementType ?: \"dt_signed\" | \"dt_unsigned\" | \"dt_float\",\n elementSize ?: number,\n dataOffset ?: number,\n dataSize ?: number\n};\nexport type GetAssetDescription_PointCloud = {\n format : \"invalid\" | \"xyz32\" | \"xyz32_rgb8\",\n payloadTotalSize : number,\n pointCount : number,\n translation ?: Array<number>,\n scale ?: Array<number>\n};\nexport type GetAssetDescription_RenderGraph = {\n renderTargetDescriptions ?: Array<GetAssetDescription_render_target_description>,\n nodeDataDescriptions ?: Array<GetAssetDescription_node_data_description>,\n renderPassDescriptions ?: Array<GetAssetDescription_render_pass_description>,\n graphOrder ?: Array<GetAssetDescription_pair_int16_int16>,\n inputDescriptor ?: GetAssetDescription_Object,\n stencilStates ?: Array<GetAssetDescription_VkStencilOpState>,\n blendStates ?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>,\n defaultRenderTargetIndex ?: number,\n occlusionInputDepthRenderTargetIndex ?: number\n};\nexport type GetAssetDescription_render_target_description = {\n name ?: string,\n format ?: GetAssetDescription_Object,\n sampleCount ?: GetAssetDescription_Object,\n usage ?: GetAssetDescription_Object,\n aspect ?: GetAssetDescription_Object,\n samplerType ?: number,\n mipLevels ?: number,\n extent ?: GetAssetDescription_Object,\n flags ?: GetAssetDescription_Object,\n tiling ?: GetAssetDescription_Object,\n memoryUsage ?: GetAssetDescription_Object,\n memoryType ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_node_data_description = {\n name ?: string,\n frameNodeType ?: \"viewport\" | \"draw_batch\" | \"draw_batch_with_materials\" | \"dispatch_compute\" | \"blit_image\" | \"blit_image_pointer_to_dst\" | \"copy_image\" | \"resolve_image\" | \"node_draw_quad\" | \"generate_mip_chain\" | \"copy_to_cubemap\" | \"copy_to_light_cubemap\" | \"copy_to_reflection_cubemap\" | \"clear_images\" | \"timestamp\" | \"clear_point_cloud_buffer\" | \"draw_debug_lines\" | \"draw_skybox\" | \"draw_xr\",\n inputDepthRenderTargetIndices ?: Array<number>,\n outputDepthRenderTargetIndices ?: Array<number>,\n inputRenderTargetIndices ?: Array<number>,\n outputRenderTargetIndices ?: Array<number>,\n shaderRef ?: GetAssetDescription_Object,\n dataJson ?: GetAssetDescription_Object,\n aliases ?: Array<any>,\n batchType ?: \"opaque = 1 << 0\" | \"transparent = 1 << 1\" | \"static_meshes = 1 << 2\" | \"static_textured_meshes = 1 << 3\" | \"all_static_meshes = 1 << 4\" | \"skinned = 1 << 5\" | \"selected = 1 << 6\" | \"do_not_use_material = 1 << 7\" | \"double_sided = 1 << 8\" | \"single_sided = 1 << 9\" | \"pass_occlusion_test = 1 << 10\",\n pipelineDescription ?: GetAssetDescription_Object,\n copyToFaceIndex ?: number,\n drawIndirect ?: boolean,\n conditions ?: Array<string>,\n clearColors ?: Array<GetAssetDescription_vec4>,\n constDataType ?: \"none\" | \"material\" | \"skybox [[deprecated]]\" | \"debug\" | \"clear_ssao [[deprecated]]\" | \"ssao [[deprecated]]\" | \"blur [[deprecated]]\" | \"voxel\" | \"temporal_denoise [[deprecated]]\" | \"spatial_denoise [[deprecated]]\" | \"outline [[deprecated]]\" | \"bloom [[deprecated]]\" | \"atmosphere [[deprecated]]\" | \"ssr [[deprecated]]\" | \"compose_reflections [[deprecated]]\" | \"compose_outlines [[deprecated]]\" | \"compose_transparent [[deprecated]]\" | \"grid_quad [[deprecated]]\" | \"timestamp [[deprecated]]\" | \"volumetric_lighting [[deprecated]]\" | \"color_grading [[deprecated]]\" | \"exposure [[deprecated]]\" | \"minmip [[deprecated]]\" | \"gpu_occlusion_culling\" | \"cpu_occlusion_culling\" | \"edge_outline [[deprecated]]\" | \"point_cloud [[deprecated]]\" | \"downsample [[deprecated]]\" | \"upsample_combine [[deprecated]]\"\n};\nexport type GetAssetDescription_vec4 = {\n body : GetAssetDescription_Object\n};\nexport type GetAssetDescription_render_pass_description = {\n name ?: string,\n sampleCount ?: number,\n nodeIndices ?: Array<number>,\n colorAttachmentIndices ?: Array<number>,\n depthAttachmentIndex ?: number,\n resolveAttachmentIndices ?: Array<number>,\n colorAttachmentReferences ?: Array<GetAssetDescription_VkAttachmentReference>,\n depthAttachmentReference ?: GetAssetDescription_Object,\n resolveAttachmentReferences ?: Array<GetAssetDescription_VkAttachmentReference>,\n attachmentDescriptions ?: Array<GetAssetDescription_VkAttachmentDescription>,\n attachmentClearColors ?: Array<GetAssetDescription_vec4>\n};\nexport type GetAssetDescription_VkAttachmentReference = {\n attachment ?: number,\n layout ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_VkAttachmentDescription = {\n flags ?: GetAssetDescription_Object,\n format ?: GetAssetDescription_Object,\n samples ?: GetAssetDescription_Object,\n loadOp ?: GetAssetDescription_Object,\n storeOp ?: GetAssetDescription_Object,\n stencilLoadOp ?: GetAssetDescription_Object,\n stencilStoreOp ?: GetAssetDescription_Object,\n initialLayout ?: GetAssetDescription_Object,\n finalLayout ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_pair_int16_int16 = {\n body : GetAssetDescription_Object\n};\nexport type GetAssetDescription_VkStencilOpState = {\n failOp ?: GetAssetDescription_Object,\n passOp ?: GetAssetDescription_Object,\n depthFailOp ?: GetAssetDescription_Object,\n compareOp ?: GetAssetDescription_Object,\n compareMask ?: number,\n writeMask ?: number,\n reference ?: number\n};\nexport type GetAssetDescription_VkPipelineColorBlendAttachmentState = {\n blendEnable ?: boolean,\n srcColorBlendFactor ?: GetAssetDescription_Object,\n dstColorBlendFactor ?: GetAssetDescription_Object,\n colorBlendOp ?: GetAssetDescription_Object,\n srcAlphaBlendFactor ?: GetAssetDescription_Object,\n dstAlphaBlendFactor ?: GetAssetDescription_Object,\n alphaBlendOp ?: GetAssetDescription_Object,\n colorWriteMask ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_Scene = {\n boundingBox ?: GetAssetDescription_Object,\n entities ?: Array<GetAssetDescription_Object>,\n triangleCount ?: number,\n settings ?: GetAssetDescription_Object,\n animationSequenceInstances ?: Array<GetAssetDescription_animation_sequence_instance>\n};\nexport type GetAssetDescription_animation_sequence_instance = {\n ref ?: string,\n entities ?: Array<string>,\n dataJSON ?: GetAssetDescription_Object,\n durationInMs ?: number,\n loop ?: boolean\n};\nexport type GetAssetDescription_Script = {\n inputDescriptor ?: GetAssetDescription_Object,\n eventNames : Array<string>,\n subScripts ?: Array<string>\n};\nexport type GetAssetDescription_Shader = {\n payloadSize : number,\n shaderStages ?: number,\n moduleDescriptions ?: Array<GetAssetDescription_shader_module_description>,\n materialDescriptor ?: GetAssetDescription_Object,\n nodeDataDescriptor ?: GetAssetDescription_Object,\n vertexDescriptor ?: Array<GetAssetDescription_vertex_attribute_descriptor>,\n blendMode ?: \"invalid\" | \"opaque\" | \"alpha_blended\" | \"masked\",\n localGroupCount ?: Array<number>,\n optGlobalGroupMultiplier ?: Array<number>,\n optGlobalGroupReference ?: \"render_target_automatic_split\" | \"render_target_exact\" | \"output_render_target_exact\" | \"instances_buffer\" | \"point_cloud_input_buffer\"\n};\nexport type GetAssetDescription_shader_module_description = {\n shaderStage ?: GetAssetDescription_Object,\n payloadOffset ?: number,\n payloadSize ?: number,\n usedBindings ?: number\n};\nexport type GetAssetDescription_vertex_attribute_descriptor = {\n semantic ?: \"position = 1 << 0\" | \"normal = 1 << 1\" | \"tex_coord = 1 << 2\" | \"skin_bone_ids = 1 << 3\" | \"skin_weights = 1 << 4\" | \"custom = 1 << 5\",\n binding ?: number,\n location ?: number,\n stride ?: number,\n format ?: GetAssetDescription_Object,\n offset ?: number\n};\nexport type GetAssetDescription_Skeleton = {\n payloadSize : number,\n bones : Array<GetAssetDescription_bone_description>\n};\nexport type GetAssetDescription_bone_description = {\n name ?: string,\n childrenCount ?: number,\n firstChildIndex ?: number,\n parentIndex ?: number,\n offsetMatrix ?: Array<number>\n};\nexport type GetAssetDescription_Sound = {\n payloadSize : number,\n sampleCount : number,\n durationInMs : number,\n sampleFrequencyInHz : number,\n bitDepth : number,\n channelCount : number\n};\nexport type GetAssetDescription_Texture = {\n format : \"invalid\" | \"r8s\" | \"r8u\" | \"r16s\" | \"r16u\" | \"bc1\" | \"bc1a\" | \"bc2\" | \"bc3\" | \"bc3n\" | \"bc4\" | \"bc5\" | \"bc6\" | \"bc7\" | \"rgba8\",\n payloadTotalSize : number,\n mips : Array<GetAssetDescription_mip_description>\n};\nexport type GetAssetDescription_mip_description = {\n dimension ?: Array<number>,\n payloadSize ?: number\n};\nexport type GetAssetDescription_VolumeMaterial = {\n albedoLUT ?: Array<GetAssetDescription_control_point>,\n opacityLUT ?: Array<GetAssetDescription_control_point>,\n metallicLUT ?: Array<GetAssetDescription_control_point>,\n roughnessLUT ?: Array<GetAssetDescription_control_point>,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type GetAssetDescription_control_point = {\n key ?: number,\n value ?: StrictUnion<Array<number> | number> & any\n};\nexport type GetAssetDescription_asset_description = {\n uuid : string,\n name : string\n};\nexport function getAssetDescription(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_VolumeMaterial> & GetAssetDescription_asset_description>\n{\n return axiosInstance({\n operationId: \"getAssetDescription\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/description\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates asset description. Supports only updating name.\nexport type UpdateAssetDescription_Animation = {\n durationInMs : number,\n payloadSize : number,\n animationEventTrack : UpdateAssetDescription_Object,\n skeletonRef ?: string\n};\nexport type UpdateAssetDescription_Object = {\n eventNames ?: Array<string>,\n eventTimeline ?: Array<UpdateAssetDescription_animation_event>\n};\nexport type UpdateAssetDescription_animation_event = {\n eventIndex ?: number,\n triggerTime ?: number,\n triggerGlobally ?: boolean\n};\nexport type UpdateAssetDescription_AnimationGraph = {\n stateMachines ?: Array<UpdateAssetDescription_animation_state_machine_description>,\n inputDescriptor ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_animation_state_machine_description = {\n states ?: Array<UpdateAssetDescription_animation_state_description>,\n transitions ?: Array<UpdateAssetDescription_transition_description>\n};\nexport type UpdateAssetDescription_animation_state_description = {\n name ?: string,\n nodes ?: Array<UpdateAssetDescription_animation_node_description>,\n transitionIndices ?: Array<number>\n};\nexport type UpdateAssetDescription_animation_node_description = {\n nodeType ?: \"state_machine\" | \"playback\" | \"blendspace_1d\" | \"blendspace_2d\" | \"blend\" | \"random\" | \"ik_aim\" | \"ik_two_bone\",\n inputs ?: Array<number>,\n settings ?: StrictUnion<UpdateAssetDescription_playback_settings_animation_settings | UpdateAssetDescription_blendspace_1d_settings_animation_settings | UpdateAssetDescription_blendspace_2d_settings_animation_settings | UpdateAssetDescription_blend_settings | UpdateAssetDescription_random_settings | UpdateAssetDescription_animation_state_machine_settings | UpdateAssetDescription_ik_two_bone_settings | UpdateAssetDescription_ik_aim_settings> & any\n};\nexport type UpdateAssetDescription_playback_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n animationKey ?: number\n};\nexport type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<UpdateAssetDescription_blend_axis>,\n horizontalAxis ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_blend_axis = {\n name ?: string,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<UpdateAssetDescription_blend_axis>,\n horizontalAxis ?: UpdateAssetDescription_Object,\n verticalAxis ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_blend_settings = {\n weights ?: Array<number>,\n boneIndices ?: Array<number>\n};\nexport type UpdateAssetDescription_random_settings = {\n probabilities ?: Array<number>\n};\nexport type UpdateAssetDescription_animation_state_machine_settings = {\n stateMachineIndex ?: number\n};\nexport type UpdateAssetDescription_ik_two_bone_settings = {\n ws_poleVector ?: Array<number>,\n targetId ?: string,\n startJoint ?: number,\n midJoint ?: number,\n endJoint ?: number,\n soften ?: number,\n twistAngle ?: number,\n weight ?: number\n};\nexport type UpdateAssetDescription_ik_aim_settings = {\n targetNameId ?: string,\n aimingBoneId ?: string,\n chainLength ?: number,\n eyesOffset ?: Array<number>,\n chainWeight ?: number,\n boneWeight ?: number\n};\nexport type UpdateAssetDescription_transition_description = {\n durationInMs ?: number,\n exitTime ?: number,\n nextStateIndex ?: number,\n condition ?: string\n};\nexport type UpdateAssetDescription_AnimationSequence = {\n inputDescriptor : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_AnimationSet = {\n animationSet : Array<UpdateAssetDescription_Object>,\n animationGraphUUID : string\n};\nexport type UpdateAssetDescription_Cubemap = {\n faces : Array<string>\n};\nexport type UpdateAssetDescription_EventMap = {\n eventDescriptors : Array<UpdateAssetDescription_Object>\n};\nexport type UpdateAssetDescription_Material = {\n shaderRef : string,\n skinnedShaderRef : string,\n dataJson : UpdateAssetDescription_Object,\n isDoubleSided : boolean\n};\nexport type UpdateAssetDescription_Mesh = {\n submeshes : Array<UpdateAssetDescription_submesh_description>,\n payloadSize : number\n};\nexport type UpdateAssetDescription_submesh_description = {\n boundingBox : UpdateAssetDescription_Object,\n channels : Array<UpdateAssetDescription_channel_description>,\n payloadSize : number,\n indexCount : number,\n vertexCount ?: number\n};\nexport type UpdateAssetDescription_channel_description = {\n semantic ?: \"invalid\" | \"index\" | \"position\" | \"normal\" | \"uv\" | \"color\" | \"bone_id\" | \"weight\",\n elementCount ?: number,\n elementType ?: \"dt_signed\" | \"dt_unsigned\" | \"dt_float\",\n elementSize ?: number,\n dataOffset ?: number,\n dataSize ?: number\n};\nexport type UpdateAssetDescription_PointCloud = {\n format : \"invalid\" | \"xyz32\" | \"xyz32_rgb8\",\n payloadTotalSize : number,\n pointCount : number,\n translation ?: Array<number>,\n scale ?: Array<number>\n};\nexport type UpdateAssetDescription_RenderGraph = {\n renderTargetDescriptions ?: Array<UpdateAssetDescription_render_target_description>,\n nodeDataDescriptions ?: Array<UpdateAssetDescription_node_data_description>,\n renderPassDescriptions ?: Array<UpdateAssetDescription_render_pass_description>,\n graphOrder ?: Array<UpdateAssetDescription_pair_int16_int16>,\n inputDescriptor ?: UpdateAssetDescription_Object,\n stencilStates ?: Array<UpdateAssetDescription_VkStencilOpState>,\n blendStates ?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>,\n defaultRenderTargetIndex ?: number,\n occlusionInputDepthRenderTargetIndex ?: number\n};\nexport type UpdateAssetDescription_render_target_description = {\n name ?: string,\n format ?: UpdateAssetDescription_Object,\n sampleCount ?: UpdateAssetDescription_Object,\n usage ?: UpdateAssetDescription_Object,\n aspect ?: UpdateAssetDescription_Object,\n samplerType ?: number,\n mipLevels ?: number,\n extent ?: UpdateAssetDescription_Object,\n flags ?: UpdateAssetDescription_Object,\n tiling ?: UpdateAssetDescription_Object,\n memoryUsage ?: UpdateAssetDescription_Object,\n memoryType ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_node_data_description = {\n name ?: string,\n frameNodeType ?: \"viewport\" | \"draw_batch\" | \"draw_batch_with_materials\" | \"dispatch_compute\" | \"blit_image\" | \"blit_image_pointer_to_dst\" | \"copy_image\" | \"resolve_image\" | \"node_draw_quad\" | \"generate_mip_chain\" | \"copy_to_cubemap\" | \"copy_to_light_cubemap\" | \"copy_to_reflection_cubemap\" | \"clear_images\" | \"timestamp\" | \"clear_point_cloud_buffer\" | \"draw_debug_lines\" | \"draw_skybox\" | \"draw_xr\",\n inputDepthRenderTargetIndices ?: Array<number>,\n outputDepthRenderTargetIndices ?: Array<number>,\n inputRenderTargetIndices ?: Array<number>,\n outputRenderTargetIndices ?: Array<number>,\n shaderRef ?: UpdateAssetDescription_Object,\n dataJson ?: UpdateAssetDescription_Object,\n aliases ?: Array<any>,\n batchType ?: \"opaque = 1 << 0\" | \"transparent = 1 << 1\" | \"static_meshes = 1 << 2\" | \"static_textured_meshes = 1 << 3\" | \"all_static_meshes = 1 << 4\" | \"skinned = 1 << 5\" | \"selected = 1 << 6\" | \"do_not_use_material = 1 << 7\" | \"double_sided = 1 << 8\" | \"single_sided = 1 << 9\" | \"pass_occlusion_test = 1 << 10\",\n pipelineDescription ?: UpdateAssetDescription_Object,\n copyToFaceIndex ?: number,\n drawIndirect ?: boolean,\n conditions ?: Array<string>,\n clearColors ?: Array<UpdateAssetDescription_vec4>,\n constDataType ?: \"none\" | \"material\" | \"skybox [[deprecated]]\" | \"debug\" | \"clear_ssao [[deprecated]]\" | \"ssao [[deprecated]]\" | \"blur [[deprecated]]\" | \"voxel\" | \"temporal_denoise [[deprecated]]\" | \"spatial_denoise [[deprecated]]\" | \"outline [[deprecated]]\" | \"bloom [[deprecated]]\" | \"atmosphere [[deprecated]]\" | \"ssr [[deprecated]]\" | \"compose_reflections [[deprecated]]\" | \"compose_outlines [[deprecated]]\" | \"compose_transparent [[deprecated]]\" | \"grid_quad [[deprecated]]\" | \"timestamp [[deprecated]]\" | \"volumetric_lighting [[deprecated]]\" | \"color_grading [[deprecated]]\" | \"exposure [[deprecated]]\" | \"minmip [[deprecated]]\" | \"gpu_occlusion_culling\" | \"cpu_occlusion_culling\" | \"edge_outline [[deprecated]]\" | \"point_cloud [[deprecated]]\" | \"downsample [[deprecated]]\" | \"upsample_combine [[deprecated]]\"\n};\nexport type UpdateAssetDescription_vec4 = {\n body : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_render_pass_description = {\n name ?: string,\n sampleCount ?: number,\n nodeIndices ?: Array<number>,\n colorAttachmentIndices ?: Array<number>,\n depthAttachmentIndex ?: number,\n resolveAttachmentIndices ?: Array<number>,\n colorAttachmentReferences ?: Array<UpdateAssetDescription_VkAttachmentReference>,\n depthAttachmentReference ?: UpdateAssetDescription_Object,\n resolveAttachmentReferences ?: Array<UpdateAssetDescription_VkAttachmentReference>,\n attachmentDescriptions ?: Array<UpdateAssetDescription_VkAttachmentDescription>,\n attachmentClearColors ?: Array<UpdateAssetDescription_vec4>\n};\nexport type UpdateAssetDescription_VkAttachmentReference = {\n attachment ?: number,\n layout ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_VkAttachmentDescription = {\n flags ?: UpdateAssetDescription_Object,\n format ?: UpdateAssetDescription_Object,\n samples ?: UpdateAssetDescription_Object,\n loadOp ?: UpdateAssetDescription_Object,\n storeOp ?: UpdateAssetDescription_Object,\n stencilLoadOp ?: UpdateAssetDescription_Object,\n stencilStoreOp ?: UpdateAssetDescription_Object,\n initialLayout ?: UpdateAssetDescription_Object,\n finalLayout ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_pair_int16_int16 = {\n body : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_VkStencilOpState = {\n failOp ?: UpdateAssetDescription_Object,\n passOp ?: UpdateAssetDescription_Object,\n depthFailOp ?: UpdateAssetDescription_Object,\n compareOp ?: UpdateAssetDescription_Object,\n compareMask ?: number,\n writeMask ?: number,\n reference ?: number\n};\nexport type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {\n blendEnable ?: boolean,\n srcColorBlendFactor ?: UpdateAssetDescription_Object,\n dstColorBlendFactor ?: UpdateAssetDescription_Object,\n colorBlendOp ?: UpdateAssetDescription_Object,\n srcAlphaBlendFactor ?: UpdateAssetDescription_Object,\n dstAlphaBlendFactor ?: UpdateAssetDescription_Object,\n alphaBlendOp ?: UpdateAssetDescription_Object,\n colorWriteMask ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_Scene = {\n boundingBox ?: UpdateAssetDescription_Object,\n entities ?: Array<UpdateAssetDescription_Object>,\n triangleCount ?: number,\n settings ?: UpdateAssetDescription_Object,\n animationSequenceInstances ?: Array<UpdateAssetDescription_animation_sequence_instance>\n};\nexport type UpdateAssetDescription_animation_sequence_instance = {\n ref ?: string,\n entities ?: Array<string>,\n dataJSON ?: UpdateAssetDescription_Object,\n durationInMs ?: number,\n loop ?: boolean\n};\nexport type UpdateAssetDescription_Script = {\n inputDescriptor ?: UpdateAssetDescription_Object,\n eventNames : Array<string>,\n subScripts ?: Array<string>\n};\nexport type UpdateAssetDescription_Shader = {\n payloadSize : number,\n shaderStages ?: number,\n moduleDescriptions ?: Array<UpdateAssetDescription_shader_module_description>,\n materialDescriptor ?: UpdateAssetDescription_Object,\n nodeDataDescriptor ?: UpdateAssetDescription_Object,\n vertexDescriptor ?: Array<UpdateAssetDescription_vertex_attribute_descriptor>,\n blendMode ?: \"invalid\" | \"opaque\" | \"alpha_blended\" | \"masked\",\n localGroupCount ?: Array<number>,\n optGlobalGroupMultiplier ?: Array<number>,\n optGlobalGroupReference ?: \"render_target_automatic_split\" | \"render_target_exact\" | \"output_render_target_exact\" | \"instances_buffer\" | \"point_cloud_input_buffer\"\n};\nexport type UpdateAssetDescription_shader_module_description = {\n shaderStage ?: UpdateAssetDescription_Object,\n payloadOffset ?: number,\n payloadSize ?: number,\n usedBindings ?: number\n};\nexport type UpdateAssetDescription_vertex_attribute_descriptor = {\n semantic ?: \"position = 1 << 0\" | \"normal = 1 << 1\" | \"tex_coord = 1 << 2\" | \"skin_bone_ids = 1 << 3\" | \"skin_weights = 1 << 4\" | \"custom = 1 << 5\",\n binding ?: number,\n location ?: number,\n stride ?: number,\n format ?: UpdateAssetDescription_Object,\n offset ?: number\n};\nexport type UpdateAssetDescription_Skeleton = {\n payloadSize : number,\n bones : Array<UpdateAssetDescription_bone_description>\n};\nexport type UpdateAssetDescription_bone_description = {\n name ?: string,\n childrenCount ?: number,\n firstChildIndex ?: number,\n parentIndex ?: number,\n offsetMatrix ?: Array<number>\n};\nexport type UpdateAssetDescription_Sound = {\n payloadSize : number,\n sampleCount : number,\n durationInMs : number,\n sampleFrequencyInHz : number,\n bitDepth : number,\n channelCount : number\n};\nexport type UpdateAssetDescription_Texture = {\n format : \"invalid\" | \"r8s\" | \"r8u\" | \"r16s\" | \"r16u\" | \"bc1\" | \"bc1a\" | \"bc2\" | \"bc3\" | \"bc3n\" | \"bc4\" | \"bc5\" | \"bc6\" | \"bc7\" | \"rgba8\",\n payloadTotalSize : number,\n mips : Array<UpdateAssetDescription_mip_description>\n};\nexport type UpdateAssetDescription_mip_description = {\n dimension ?: Array<number>,\n payloadSize ?: number\n};\nexport type UpdateAssetDescription_VolumeMaterial = {\n albedoLUT ?: Array<UpdateAssetDescription_control_point>,\n opacityLUT ?: Array<UpdateAssetDescription_control_point>,\n metallicLUT ?: Array<UpdateAssetDescription_control_point>,\n roughnessLUT ?: Array<UpdateAssetDescription_control_point>,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type UpdateAssetDescription_control_point = {\n key ?: number,\n value ?: StrictUnion<Array<number> | number> & any\n};\nexport function updateAssetDescription(\n {\n asset_container,\n asset_id,\n assetDescription\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n assetDescription : StrictUnion<UpdateAssetDescription_Animation | UpdateAssetDescription_AnimationGraph | UpdateAssetDescription_AnimationSequence | UpdateAssetDescription_AnimationSet | UpdateAssetDescription_Cubemap | UpdateAssetDescription_EventMap | UpdateAssetDescription_Material | UpdateAssetDescription_Mesh | UpdateAssetDescription_PointCloud | UpdateAssetDescription_RenderGraph | UpdateAssetDescription_Scene | UpdateAssetDescription_Script | UpdateAssetDescription_Shader | UpdateAssetDescription_Skeleton | UpdateAssetDescription_Sound | UpdateAssetDescription_Texture | UpdateAssetDescription_VolumeMaterial> & UpdateAssetDescription_Object;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateAssetDescription\",\n method: \"patch\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/description\",\n data: assetDescription\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset payload from the specified asset.\nexport function getAssetPayload(\n {\n asset_container_with_payload,\n asset_id\n } : {\n asset_container_with_payload : \"animations\" | \"animationSequences\" | \"meshes\" | \"pointClouds\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\";\n asset_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"getAssetPayload\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_payload + \"/\" + asset_id + \"/payload\",\n responseType: \"arraybuffer\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset history from the specified asset.\nexport type GetAssetHistory_Object = {\n body : GetAssetHistory_Object\n};\nexport function getAssetHistory(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetHistory_Object>\n{\n return axiosInstance({\n operationId: \"getAssetHistory\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/history\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset metadata from the specified asset.\nexport type GetAssetMeta_Object = {\n body : GetAssetMeta_Object\n};\nexport function getAssetMeta(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetMeta_Object>\n{\n return axiosInstance({\n operationId: \"getAssetMeta\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/meta\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the code of the specified asset.\nexport function getAssetCode(\n {\n asset_container_with_code,\n asset_id\n } : {\n asset_container_with_code : \"animationSequences\" | \"scripts\" | \"shaders\";\n asset_id : string;\n }\n) : AxiosPromise<string>\n{\n return axiosInstance({\n operationId: \"getAssetCode\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_code + \"/\" + asset_id + \"/code\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset thumbnail from the specified asset.\nexport function getAssetThumbnail(\n {\n asset_container,\n asset_id,\n size,\n default_url\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n size : \"large\" | \"medium\" | \"small\" | \"tiny\";\n default_url ?: string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"getAssetThumbnail\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/thumbnail\",\n responseType: \"arraybuffer\",\n params: {\n size: size,\n default_url: default_url\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Assigns a thumbnail to the specified asset.\nexport function setAssetThumbnail(\n {\n asset_container,\n asset_id,\n body\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n body : ArrayBuffer;\n },\n contentType : 'image/jpg' | 'image/png'\n)\n{\n return axiosInstance({\n operationId: \"setAssetThumbnail\",\n method: \"put\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/thumbnail\",\n headers: {\n \"Content-Type\": contentType\n },\n data: body\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset custom types from the specified asset recursively.\nexport type GetAssetCustomTypes_Object = {\n body : GetAssetCustomTypes_Object\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) : AxiosPromise<GetAssetCustomTypes_Object>\n{\n return axiosInstance({\n operationId: \"getAssetCustomTypes\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_custom_types + \"/\" + asset_id + \"/custom-types\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Packages and downloads the target asset.\nexport function packageAsset(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"packageAsset\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/package\",\n responseType: \"arraybuffer\"\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.\nexport function exportAsset(\n {\n asset_container_exportable,\n asset_id,\n format,\n scale = 1\n } : {\n asset_container_exportable : \"meshes\" | \"sounds\";\n asset_id : string;\n format : \"obj\" | \"stl\";\n scale ?: number;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"exportAsset\",\n method: \"get\",\n url: \"/assets/\" + asset_container_exportable + \"/\" + asset_id + \"/exports/\" + format + \"\",\n responseType: \"arraybuffer\",\n params: {\n scale: scale\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all sessions running a specified scene.\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 clients : Array<GetSceneSessions_UserInfo>\n};\nexport type GetSceneSessions_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSceneSessions(\n {\n scene_id\n } : {\n scene_id : string;\n }\n) : AxiosPromise<Array<GetSceneSessions_Session>>\n{\n return axiosInstance({\n operationId: \"getSceneSessions\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/sessions\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get the axis aligned bounding box of the specified scene.\nexport type GetSceneAabb_Object = {\n max : Array<number>,\n min : Array<number>\n};\nexport function getSceneAABB(\n {\n scene_id\n } : {\n scene_id : string;\n }\n) : AxiosPromise<GetSceneAabb_Object>\n{\n return axiosInstance({\n operationId: \"getSceneAABB\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/aabb\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get a specific entity from a scene\nexport type GetEntity_animation_controller = {\n animation_controller : GetEntity_AnimationController\n};\nexport type GetEntity_AnimationController = {\n animationGraphRef : string,\n animationSetRef : string,\n dataJSON : GetEntity_Json,\n rootBoneEntityRef : GetEntity_EntityReference,\n rootMotionEnabled : boolean\n};\nexport type GetEntity_Json = {\n json : GetEntity_Json\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 : GetEntity_Json\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 : GetEntity_Json\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 : GetEntity_Json\n};\nexport type GetEntity_script_map = {\n script_map : GetEntity_ScriptMap\n};\nexport type GetEntity_ScriptMap = {\n elements : GetEntity_MapScriptElement\n};\nexport type GetEntity_MapScriptElement = {\n mapScriptElement : GetEntity_MapScriptElement\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_entity_components_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};\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) : AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_entity_components_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>\n{\n return axiosInstance({\n operationId: \"getEntity\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\",\n params: {\n compute_global_transform: compute_global_transform\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Update a specific entity from a scene\nexport type UpdateEntity_animation_controller = {\n animation_controller : UpdateEntity_AnimationController\n};\nexport type UpdateEntity_AnimationController = {\n animationGraphRef : string,\n animationSetRef : string,\n dataJSON : UpdateEntity_Json,\n rootBoneEntityRef : UpdateEntity_EntityReference,\n rootMotionEnabled : boolean\n};\nexport type UpdateEntity_Json = {\n json : UpdateEntity_Json\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 : UpdateEntity_Json\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 : UpdateEntity_Json\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 : UpdateEntity_Json\n};\nexport type UpdateEntity_script_map = {\n script_map : UpdateEntity_ScriptMap\n};\nexport type UpdateEntity_ScriptMap = {\n elements : UpdateEntity_MapScriptElement\n};\nexport type UpdateEntity_MapScriptElement = {\n mapScriptElement : UpdateEntity_MapScriptElement\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_entity_components_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};\nexport function updateEntity(\n {\n scene_id,\n entity_id,\n entityComponents\n } : {\n scene_id : string;\n entity_id : string;\n entityComponents : (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_entity_components_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref);\n }\n)\n{\n return axiosInstance({\n operationId: \"updateEntity\",\n method: \"patch\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\",\n data: entityComponents\n });\n}\n\n//--------------------------------------------------------------------------\n// Delete a specific entity from a scene\nexport function deleteEntity(\n {\n scene_id,\n entity_id\n } : {\n scene_id : string;\n entity_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteEntity\",\n method: \"delete\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Create a new rendering session\nexport type CreateSession_Object = {\n session_id ?: string\n};\nexport function createSession(\n {\n scene_id\n } : {\n scene_id ?: string;\n }\n) : AxiosPromise<CreateSession_Object>\n{\n return axiosInstance({\n operationId: \"createSession\",\n method: \"post\",\n url: \"/sessions\",\n data: {\n scene_id: scene_id\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Retrieves details about the target session.\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 clients : Array<GetSession_UserInfo>\n};\nexport type GetSession_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSession(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<GetSession_Session>\n{\n return axiosInstance({\n operationId: \"getSession\",\n method: \"get\",\n url: \"/sessions/\" + session_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Forcefully terminates a session.\nexport function killSession(\n {\n session_id\n } : {\n session_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"killSession\",\n method: \"delete\",\n url: \"/sessions/\" + session_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new client for the user and returns a token to join the session.\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};\nexport function joinSession(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<JoinSession_SessionToken>\n{\n return axiosInstance({\n operationId: \"joinSession\",\n method: \"post\",\n url: \"/sessions/\" + session_id + \"/clients\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Kick a client from a running session.\nexport function kickClientFromSession(\n {\n session_id,\n client_id\n } : {\n session_id : string;\n client_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"kickClientFromSession\",\n method: \"delete\",\n url: \"/sessions/\" + session_id + \"/clients/\" + client_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Join a session as guest. The guest token is required in the `guest_token` header.\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};\nexport function joinSessionAsGuest(\n\n) : AxiosPromise<JoinSessionAsGuest_SessionToken>\n{\n return axiosInstance({\n operationId: \"joinSessionAsGuest\",\n method: \"post\",\n url: \"/sessions/guests\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Generates a token to join the session as a guest.\nexport type GenerateGuestToken_GuestToken = {\n guest_token ?: string\n};\nexport function generateGuestToken(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<GenerateGuestToken_GuestToken>\n{\n return axiosInstance({\n operationId: \"generateGuestToken\",\n method: \"post\",\n url: \"/sessions/\" + session_id + \"/guests\"\n });\n}", "//--------------------------------------------------------------------------\nimport { AxiosError } from 'axios';\nimport { axiosInstance } from './_prebuild/wrapper';\nimport axiosRetry, { isNetworkError, isIdempotentRequestError } from 'axios-retry';\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 as object;\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"],
5
- "mappings": ";AAiBA,OAAO,WAAyC;AAiBzC,IAAM,gBAAgB,MAAM,OAAO;AAAA,EACtC,SAAS;AAAA,EACT,aAAa;AACjB,CAAC;AAGM,SAAS,WAAW,SAAiB;AACxC,gBAAc,SAAS,UAAU;AACrC;AAUO,SAAS,UACZ;AAAA,EACI,SAAS;AAAA,EACT,QAAQ;AACZ,GAKJ;AACI,SAAO,cAAc;AAAA,IACjB,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,QAAQ;AAAA,MACJ;AAAA,MACA;AAAA,IACJ;AAAA,EACJ,CAAC;AACL;AASO,SAAS,aACZ;AAAA,EACI;AACJ,GAIJ;AAC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,oBAAoB;",
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 * 3dverse v1.0\n * # 3dverse API\n * \n * Welcome to the 3dverse API. The 3dverse API scopes to an API key. Each development environment of an application requires a separate API key.\n * Through the API key, you can manage ownership, access, and permissions for each environment.\n * Each environment has its own set of users, groups, folders, and assets.\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, AxiosError } from 'axios';\n\n//--------------------------------------------------------------------------\ntype UnionKeys<T> = T extends T ? keyof T : never;\ntype StrictUnionHelper<T, TAll> =\n T extends any\n ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;\ntype StrictUnion<T> = StrictUnionHelper<T, T>;\n\n//--------------------------------------------------------------------------\ndeclare module 'axios' {\n export interface AxiosRequestConfig<D = any, T = any> {\n operationId: string;\n }\n}\n\n//--------------------------------------------------------------------------\nexport const axiosInstance = axios.create({\n baseURL: \"https://api.3dverse.com/app/v1\",\n operationId: \"3dverse\"\n});\n\n//------------------------------------------------------------------------------\nexport function setBaseURL(baseURL: string) {\n axiosInstance.defaults.baseURL = baseURL;\n}\n\n\n//--------------------------------------------------------------------------\n// Retrieve a list of all users in the current application.\nexport type ListUsers_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function listUsers(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListUsers_User_UserInfo>>\n{\n return axiosInstance({\n operationId: \"listUsers\",\n method: \"get\",\n url: \"/users\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Registers the target user in the current application.\nexport type RegisterUser_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function registerUser(\n {\n username\n } : {\n username : string;\n }\n) : AxiosPromise<RegisterUser_User_UserInfo>\n{\n return axiosInstance({\n operationId: \"registerUser\",\n method: \"post\",\n url: \"/users\",\n data: {\n username: username\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Retrieves details about the target user.\nexport type GetUser_User_UserInfo = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport function getUser(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<GetUser_User_UserInfo>\n{\n return axiosInstance({\n operationId: \"getUser\",\n method: \"get\",\n url: \"/users/\" + user_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates the details of the target user.\nexport function updateUser(\n {\n user_id,\n username\n } : {\n user_id : string;\n username : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateUser\",\n method: \"patch\",\n url: \"/users/\" + user_id + \"\",\n data: {\n username: username\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the target user.\nexport type DeleteUser_Object = {\n deleted_assets ?: DeleteUser_Object\n};\nexport function deleteUser(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<DeleteUser_Object>\n{\n return axiosInstance({\n operationId: \"deleteUser\",\n method: \"delete\",\n url: \"/users/\" + user_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Generates a user token. This user token identifies the user when making a request.\nexport type GenerateUserToken_Token = {\n user_token ?: string,\n expires_in ?: number,\n expires_on ?: number\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) : AxiosPromise<GenerateUserToken_Token>\n{\n return axiosInstance({\n operationId: \"generateUserToken\",\n method: \"post\",\n url: \"/users/\" + user_id + \"/tokens\",\n data: {\n scope: scope,\n ttl: ttl\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all user groups.\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};\nexport function getUserGroups(\n {\n user_id\n } : {\n user_id : string;\n }\n) : AxiosPromise<Array<GetUserGroups_Group_GroupInfo>>\n{\n return axiosInstance({\n operationId: \"getUserGroups\",\n method: \"get\",\n url: \"/users/\" + user_id + \"/groups\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all upload tasks of the target user.\nexport type GetUserUploadTasks_UploadTask = {\n upload_task_id : string,\n folder_id : string,\n uploaded_at : string,\n uploaded_by : string,\n progress : number,\n downloadProgress ?: number,\n status : \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks : Array<GetUserUploadTasks_ConversionTask>\n};\nexport type GetUserUploadTasks_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\"\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) : AxiosPromise<Array<GetUserUploadTasks_UploadTask>>\n{\n return axiosInstance({\n operationId: \"getUserUploadTasks\",\n method: \"get\",\n url: \"/users/\" + user_id + \"/upload-tasks\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new user group.\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};\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) : AxiosPromise<CreateGroup_Group_GroupInfo>\n{\n return axiosInstance({\n operationId: \"createGroup\",\n method: \"post\",\n url: \"/groups\",\n data: {\n name: name,\n description: description,\n members: members\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets a group details.\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};\nexport function getGroup(\n {\n group_id\n } : {\n group_id : string;\n }\n) : AxiosPromise<GetGroup_Group_GroupInfo>\n{\n return axiosInstance({\n operationId: \"getGroup\",\n method: \"get\",\n url: \"/groups/\" + group_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates a group details.\nexport function updateGroupDescription(\n {\n group_id,\n name,\n description\n } : {\n group_id : string;\n name : string;\n description : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateGroupDescription\",\n method: \"patch\",\n url: \"/groups/\" + group_id + \"\",\n data: {\n name: name,\n description: description\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes a group and all its access rights.\nexport function deleteGroup(\n {\n group_id\n } : {\n group_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteGroup\",\n method: \"delete\",\n url: \"/groups/\" + group_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Grants member access to the group.\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)\n{\n return axiosInstance({\n operationId: \"grantMemberAccessToGroup\",\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 });\n}\n\n//--------------------------------------------------------------------------\n// Revoke requested user access to group.\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)\n{\n return axiosInstance({\n operationId: \"revokeMemberAccessToGroup\",\n method: \"delete\",\n url: \"/groups/\" + group_id + \"/members/\" + member_type + \"/\" + member_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all folders\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};\nexport function listFolders(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListFolders_Folder>>\n{\n return axiosInstance({\n operationId: \"listFolders\",\n method: \"get\",\n url: \"/folders\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a folder.\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};\nexport function createFolder(\n {\n name,\n subfolders\n } : {\n name : string;\n subfolders ?: Array<CreateFolder_Folder>;\n }\n) : AxiosPromise<CreateFolder_Folder_Writable>\n{\n return axiosInstance({\n operationId: \"createFolder\",\n method: \"post\",\n url: \"/folders\",\n data: {\n name: name,\n subfolders: subfolders\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the requested folder details.\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};\nexport function getFolderInfo(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<GetFolderInfo_Folder>\n{\n return axiosInstance({\n operationId: \"getFolderInfo\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Move folders inside the specified folder.\nexport function moveFolders(\n {\n folder_id,\n folderIds\n } : {\n folder_id : string;\n folderIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveFolders\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"\",\n data: folderIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates the folder details.\nexport function updateFolder(\n {\n folder_id,\n name\n } : {\n folder_id : string;\n name ?: string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateFolder\",\n method: \"patch\",\n url: \"/folders/\" + folder_id + \"\",\n data: {\n name: name\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the requested folder. The target folder must be empty.\nexport function deleteFolder(\n {\n folder_id\n } : {\n folder_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteFolder\",\n method: \"delete\",\n url: \"/folders/\" + folder_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// List member access to the targeted folder.\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};\nexport function listFolderAccesses(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<ListFolderAccesses_Object>\n{\n return axiosInstance({\n operationId: \"listFolderAccesses\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/access\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Grants member access to the targeted folder.\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)\n{\n return axiosInstance({\n operationId: \"grantMemberAccessToFolder\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/access/\" + member_type + \"/\" + member_id + \"\",\n data: {\n access: access\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Revokes member access to a target folder.\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)\n{\n return axiosInstance({\n operationId: \"revokeMemberAccessToFolder\",\n method: \"delete\",\n url: \"/folders/\" + folder_id + \"/access/\" + member_type + \"/\" + member_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a subfolder.\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};\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) : AxiosPromise<CreateSubfolder_Folder_Writable>\n{\n return axiosInstance({\n operationId: \"createSubfolder\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/folders\",\n data: {\n name: name,\n subfolders: subfolders\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all subfolders of requested folder. This request can be recursive.\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};\nexport function listFolderSubFolders(\n {\n folder_id,\n depth = 0\n } : {\n folder_id : string;\n depth ?: number;\n }\n) : AxiosPromise<Array<ListFolderSubFolders_Folder>>\n{\n return axiosInstance({\n operationId: \"listFolderSubFolders\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/folders\",\n params: {\n depth: depth\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Uploads the specified source file(s).\nexport type UploadSourceFiles_Object = {\n upload_task_id ?: string\n};\nexport function uploadSourceFiles(\n {\n folder_id,\n body\n } : {\n folder_id : string;\n body : FormData;\n }\n) : AxiosPromise<UploadSourceFiles_Object>\n{\n return axiosInstance({\n operationId: \"uploadSourceFiles\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n data: body\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all source files in a folder.\nexport type GetSourceFilesInFolder_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getSourceFilesInFolder(\n {\n folder_id,\n offset = 0,\n limit = 10\n } : {\n folder_id : string;\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>\n{\n return axiosInstance({\n operationId: \"getSourceFilesInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Move source files inside the specified folder.\nexport function moveSourceFiles(\n {\n folder_id,\n sourceFileIds\n } : {\n folder_id : string;\n sourceFileIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveSourceFiles\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/source-files\",\n data: sourceFileIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all upload tasks in a folder.\nexport type GetUploadTasksInFolder_UploadTask = {\n upload_task_id : string,\n folder_id : string,\n uploaded_at : string,\n uploaded_by : string,\n progress : number,\n downloadProgress ?: number,\n status : \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks : Array<GetUploadTasksInFolder_ConversionTask>\n};\nexport type GetUploadTasksInFolder_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\"\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) : AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>\n{\n return axiosInstance({\n operationId: \"getUploadTasksInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/upload-tasks\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists assets.\nexport type GetFolderAssets_Filter = {\n asset_type ?: StrictUnion<Array<\"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"> | \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"> & any,\n asset_name ?: string\n};\nexport type GetFolderAssets_asset_list = {\n animations ?: Array<GetFolderAssets_asset_item>,\n animationGraphs ?: Array<GetFolderAssets_asset_item>,\n animationSequences ?: Array<GetFolderAssets_asset_item>,\n animationSets ?: Array<GetFolderAssets_asset_item>,\n cubemaps ?: Array<GetFolderAssets_asset_item>,\n eventMaps ?: Array<GetFolderAssets_asset_item>,\n materials ?: Array<GetFolderAssets_asset_item>,\n meshes ?: Array<GetFolderAssets_asset_item>,\n pointClouds ?: Array<GetFolderAssets_asset_item>,\n renderGraphs ?: Array<GetFolderAssets_asset_item>,\n scenes ?: Array<GetFolderAssets_asset_item>,\n scripts ?: Array<GetFolderAssets_asset_item>,\n shaders ?: Array<GetFolderAssets_asset_item>,\n skeletons ?: Array<GetFolderAssets_asset_item>,\n sounds ?: Array<GetFolderAssets_asset_item>,\n textures ?: Array<GetFolderAssets_asset_item>,\n volumeMaterials ?: Array<GetFolderAssets_asset_item>\n};\nexport type GetFolderAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getFolderAssets(\n {\n folder_id,\n offset = 0,\n limit = 10,\n filter\n } : {\n folder_id : string;\n offset ?: number;\n limit ?: number;\n filter ?: GetFolderAssets_Filter;\n }\n) : AxiosPromise<GetFolderAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"getFolderAssets\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/assets\",\n params: {\n offset: offset,\n limit: limit,\n filter: filter\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Move assets inside the specified folder.\nexport function moveAssets(\n {\n folder_id,\n assetIds\n } : {\n folder_id : string;\n assetIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"moveAssets\",\n method: \"put\",\n url: \"/folders/\" + folder_id + \"/assets\",\n data: assetIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new asset.\nexport type CreateAsset_Object = {\n copy_from_asset_id : string,\n new_asset_name ?: string\n};\nexport type CreateAsset_AssetDescription = {\n name : string\n};\nexport type CreateAsset_asset_item = {\n asset_id : string,\n name : string\n};\nexport function createAsset(\n {\n folder_id,\n asset_container_creatable,\n assetCreationOptions\n } : {\n folder_id : string;\n asset_container_creatable : \"animationGraphs\" | \"animationSequences\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"volumeMaterials\";\n assetCreationOptions : StrictUnion<CreateAsset_Object | CreateAsset_AssetDescription> & any;\n }\n) : AxiosPromise<CreateAsset_asset_item>\n{\n return axiosInstance({\n operationId: \"createAsset\",\n method: \"post\",\n url: \"/folders/\" + folder_id + \"/assets/\" + asset_container_creatable + \"\",\n data: assetCreationOptions\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all sessions running on scenes contained in a specified folder.\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 clients : Array<GetSessionsInFolder_UserInfo>\n};\nexport type GetSessionsInFolder_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSessionsInFolder(\n {\n folder_id\n } : {\n folder_id : string;\n }\n) : AxiosPromise<Array<GetSessionsInFolder_Session>>\n{\n return axiosInstance({\n operationId: \"getSessionsInFolder\",\n method: \"get\",\n url: \"/folders/\" + folder_id + \"/sessions\"\n });\n}\n\n//--------------------------------------------------------------------------\n// List source files.\nexport type ListSourceFiles_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function listSourceFiles(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<Array<ListSourceFiles_SourceFile>>\n{\n return axiosInstance({\n operationId: \"listSourceFiles\",\n method: \"get\",\n url: \"/source-files\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the target source files. Deleting a source file is permanent.\nexport function deleteSourceFiles(\n {\n sourceFileIds\n } : {\n sourceFileIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteSourceFiles\",\n method: \"delete\",\n url: \"/source-files\",\n data: sourceFileIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Downloads the target source file.\nexport function downloadSourceFile(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"downloadSourceFile\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"\",\n responseType: \"arraybuffer\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get source file details.\nexport type GetSourceFileDetails_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getSourceFileDetails(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<GetSourceFileDetails_SourceFile>\n{\n return axiosInstance({\n operationId: \"getSourceFileDetails\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"/details\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates details for a specific source file.\nexport function updateSourceFileDetails(\n {\n source_file_id,\n name\n } : {\n source_file_id : string;\n name ?: string;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateSourceFileDetails\",\n method: \"patch\",\n url: \"/source-files/\" + source_file_id + \"/details\",\n data: {\n name: name\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all assets generated from the requested source file.\nexport type GetSourceFileAssets_asset_list = {\n animations ?: Array<GetSourceFileAssets_asset_item>,\n animationGraphs ?: Array<GetSourceFileAssets_asset_item>,\n animationSequences ?: Array<GetSourceFileAssets_asset_item>,\n animationSets ?: Array<GetSourceFileAssets_asset_item>,\n cubemaps ?: Array<GetSourceFileAssets_asset_item>,\n eventMaps ?: Array<GetSourceFileAssets_asset_item>,\n materials ?: Array<GetSourceFileAssets_asset_item>,\n meshes ?: Array<GetSourceFileAssets_asset_item>,\n pointClouds ?: Array<GetSourceFileAssets_asset_item>,\n renderGraphs ?: Array<GetSourceFileAssets_asset_item>,\n scenes ?: Array<GetSourceFileAssets_asset_item>,\n scripts ?: Array<GetSourceFileAssets_asset_item>,\n shaders ?: Array<GetSourceFileAssets_asset_item>,\n skeletons ?: Array<GetSourceFileAssets_asset_item>,\n sounds ?: Array<GetSourceFileAssets_asset_item>,\n textures ?: Array<GetSourceFileAssets_asset_item>,\n volumeMaterials ?: Array<GetSourceFileAssets_asset_item>\n};\nexport type GetSourceFileAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getSourceFileAssets(\n {\n source_file_id\n } : {\n source_file_id : string;\n }\n) : AxiosPromise<GetSourceFileAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"getSourceFileAssets\",\n method: \"get\",\n url: \"/source-files/\" + source_file_id + \"/assets\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets information related to an upload task. This upload task relates to uploaded source files.\nexport type GetUploadTask_UploadTask = {\n upload_task_id : string,\n folder_id : string,\n uploaded_at : string,\n uploaded_by : string,\n progress : number,\n downloadProgress ?: number,\n status : \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\",\n conversion_tasks : Array<GetUploadTask_ConversionTask>\n};\nexport type GetUploadTask_ConversionTask = {\n asset_id ?: string,\n source_file_id ?: string,\n conversion_pipeline ?: \"auto-detect\" | \"volume\" | \"scene\" | \"texture\" | \"animation\",\n progress ?: number,\n status ?: \"waiting\" | \"downloading\" | \"pending\" | \"converting\" | \"error\"\n};\nexport function getUploadTask(\n {\n upload_task_id\n } : {\n upload_task_id : string;\n }\n) : AxiosPromise<GetUploadTask_UploadTask>\n{\n return axiosInstance({\n operationId: \"getUploadTask\",\n method: \"get\",\n url: \"/upload-tasks/\" + upload_task_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Returns a list of all assets.\nexport type ListAssets_asset_list = {\n animations ?: Array<ListAssets_asset_item>,\n animationGraphs ?: Array<ListAssets_asset_item>,\n animationSequences ?: Array<ListAssets_asset_item>,\n animationSets ?: Array<ListAssets_asset_item>,\n cubemaps ?: Array<ListAssets_asset_item>,\n eventMaps ?: Array<ListAssets_asset_item>,\n materials ?: Array<ListAssets_asset_item>,\n meshes ?: Array<ListAssets_asset_item>,\n pointClouds ?: Array<ListAssets_asset_item>,\n renderGraphs ?: Array<ListAssets_asset_item>,\n scenes ?: Array<ListAssets_asset_item>,\n scripts ?: Array<ListAssets_asset_item>,\n shaders ?: Array<ListAssets_asset_item>,\n skeletons ?: Array<ListAssets_asset_item>,\n sounds ?: Array<ListAssets_asset_item>,\n textures ?: Array<ListAssets_asset_item>,\n volumeMaterials ?: Array<ListAssets_asset_item>\n};\nexport type ListAssets_asset_item = {\n asset_id : string,\n name : string\n};\nexport function listAssets(\n {\n offset = 0,\n limit = 10\n } : {\n offset ?: number;\n limit ?: number;\n }\n) : AxiosPromise<ListAssets_asset_list>\n{\n return axiosInstance({\n operationId: \"listAssets\",\n method: \"get\",\n url: \"/assets\",\n params: {\n offset: offset,\n limit: limit\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Batch delete assets. You **MUST NOT** reference assets.\nexport function deleteAssets(\n {\n assetIds\n } : {\n assetIds : Array<string>;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteAssets\",\n method: \"delete\",\n url: \"/assets\",\n data: assetIds\n });\n}\n\n//--------------------------------------------------------------------------\n// Deletes the asset.\nexport function deleteAsset(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteAsset\",\n method: \"delete\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the source file of the specified asset.\nexport type GetAssetSourceFile_SourceFile = {\n source_file_id ?: string,\n upload_task_id ?: string,\n source_file_original_name ?: string,\n name ?: string,\n size ?: number\n};\nexport function getAssetSourceFile(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetSourceFile_SourceFile>\n{\n return axiosInstance({\n operationId: \"getAssetSourceFile\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/source-file\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset details from the specified asset.\nexport type GetAssetDetails_asset_details = {\n type : \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\",\n asset_id : string,\n name : string,\n created_at ?: string,\n created_by ?: GetAssetDetails_Object,\n last_edited_at ?: string,\n last_edited_by ?: GetAssetDetails_Object,\n contributors ?: Array<GetAssetDetails_UserContribution>\n};\nexport type GetAssetDetails_Object = {\n user_id : string,\n username : string,\n registered_at ?: string\n};\nexport type GetAssetDetails_UserContribution = {\n user : GetAssetDetails_Object,\n contribution_count : number\n};\nexport function getAssetDetails(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetDetails_asset_details>\n{\n return axiosInstance({\n operationId: \"getAssetDetails\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/details\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset folder from the specified asset.\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};\nexport function getAssetFolder(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetFolder_Folder>\n{\n return axiosInstance({\n operationId: \"getAssetFolder\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/folder\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset dependencies from the specified asset.\nexport type GetAssetDependencies_Filter = {\n asset_type ?: \"animation\" | \"animationGraph\" | \"animationSequence\" | \"animationSet\" | \"cubemap\" | \"eventMap\" | \"material\" | \"mesh\" | \"pointCloud\" | \"renderGraph\" | \"scene\" | \"script\" | \"shader\" | \"skeleton\" | \"sound\" | \"texture\" | \"volumeMaterial\"\n};\nexport type GetAssetDependencies_Flat = {\n animations ?: Array<GetAssetDependencies_asset_item>,\n animationGraphs ?: Array<GetAssetDependencies_asset_item>,\n animationSequences ?: Array<GetAssetDependencies_asset_item>,\n animationSets ?: Array<GetAssetDependencies_asset_item>,\n cubemaps ?: Array<GetAssetDependencies_asset_item>,\n eventMaps ?: Array<GetAssetDependencies_asset_item>,\n materials ?: Array<GetAssetDependencies_asset_item>,\n meshes ?: Array<GetAssetDependencies_asset_item>,\n pointClouds ?: Array<GetAssetDependencies_asset_item>,\n renderGraphs ?: Array<GetAssetDependencies_asset_item>,\n scenes ?: Array<GetAssetDependencies_asset_item>,\n scripts ?: Array<GetAssetDependencies_asset_item>,\n shaders ?: Array<GetAssetDependencies_asset_item>,\n skeletons ?: Array<GetAssetDependencies_asset_item>,\n sounds ?: Array<GetAssetDependencies_asset_item>,\n textures ?: Array<GetAssetDependencies_asset_item>,\n volumeMaterials ?: Array<GetAssetDependencies_asset_item>\n};\nexport type GetAssetDependencies_asset_item = {\n asset_id : string,\n name : string\n};\nexport function getAssetDependencies(\n {\n asset_container,\n asset_id,\n format = 'flat',\n depth = 'all',\n filter\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n format ?: StrictUnion<'flat' | 'graph'> & string;\n depth ?: StrictUnion<'all' | 'direct'> & string;\n filter ?: GetAssetDependencies_Filter;\n }\n) : AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>\n{\n return axiosInstance({\n operationId: \"getAssetDependencies\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/dependencies\",\n params: {\n format: format,\n depth: depth,\n filter: filter\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset references from the specified asset.\nexport type GetAssetReferences_Object = {\n body : GetAssetReferences_Object\n};\nexport function getAssetReferences(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetReferences_Object>\n{\n return axiosInstance({\n operationId: \"getAssetReferences\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/references\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset description from the specified asset.\nexport type GetAssetDescription_Animation = {\n durationInMs : number,\n payloadSize : number,\n animationEventTrack : GetAssetDescription_Object,\n skeletonRef ?: string\n};\nexport type GetAssetDescription_Object = {\n eventNames ?: Array<string>,\n eventTimeline ?: Array<GetAssetDescription_animation_event>\n};\nexport type GetAssetDescription_animation_event = {\n eventIndex ?: number,\n triggerTime ?: number,\n triggerGlobally ?: boolean\n};\nexport type GetAssetDescription_AnimationGraph = {\n stateMachines ?: Array<GetAssetDescription_animation_state_machine_description>,\n inputDescriptor ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_animation_state_machine_description = {\n states ?: Array<GetAssetDescription_animation_state_description>,\n transitions ?: Array<GetAssetDescription_transition_description>\n};\nexport type GetAssetDescription_animation_state_description = {\n name ?: string,\n nodes ?: Array<GetAssetDescription_animation_node_description>,\n transitionIndices ?: Array<number>\n};\nexport type GetAssetDescription_animation_node_description = {\n nodeType ?: \"state_machine\" | \"playback\" | \"blendspace_1d\" | \"blendspace_2d\" | \"blend\" | \"random\" | \"ik_aim\" | \"ik_two_bone\",\n inputs ?: Array<number>,\n settings ?: StrictUnion<GetAssetDescription_playback_settings_animation_settings | GetAssetDescription_blendspace_1d_settings_animation_settings | GetAssetDescription_blendspace_2d_settings_animation_settings | GetAssetDescription_blend_settings | GetAssetDescription_random_settings | GetAssetDescription_animation_state_machine_settings | GetAssetDescription_ik_two_bone_settings | GetAssetDescription_ik_aim_settings> & any\n};\nexport type GetAssetDescription_playback_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n animationKey ?: number\n};\nexport type GetAssetDescription_blendspace_1d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<GetAssetDescription_blend_axis>,\n horizontalAxis ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_blend_axis = {\n name ?: string,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type GetAssetDescription_blendspace_2d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<GetAssetDescription_blend_axis>,\n horizontalAxis ?: GetAssetDescription_Object,\n verticalAxis ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_blend_settings = {\n weights ?: Array<number>,\n boneIndices ?: Array<number>\n};\nexport type GetAssetDescription_random_settings = {\n probabilities ?: Array<number>\n};\nexport type GetAssetDescription_animation_state_machine_settings = {\n stateMachineIndex ?: number\n};\nexport type GetAssetDescription_ik_two_bone_settings = {\n ws_poleVector ?: Array<number>,\n targetId ?: string,\n startJoint ?: number,\n midJoint ?: number,\n endJoint ?: number,\n soften ?: number,\n twistAngle ?: number,\n weight ?: number\n};\nexport type GetAssetDescription_ik_aim_settings = {\n targetNameId ?: string,\n aimingBoneId ?: string,\n chainLength ?: number,\n eyesOffset ?: Array<number>,\n chainWeight ?: number,\n boneWeight ?: number\n};\nexport type GetAssetDescription_transition_description = {\n durationInMs ?: number,\n exitTime ?: number,\n nextStateIndex ?: number,\n condition ?: string\n};\nexport type GetAssetDescription_AnimationSequence = {\n inputDescriptor : GetAssetDescription_Object\n};\nexport type GetAssetDescription_AnimationSet = {\n animationSet : Array<GetAssetDescription_Object>,\n animationGraphUUID : string\n};\nexport type GetAssetDescription_Cubemap = {\n faces : Array<string>\n};\nexport type GetAssetDescription_EventMap = {\n eventDescriptors : Array<GetAssetDescription_Object>\n};\nexport type GetAssetDescription_Material = {\n shaderRef : string,\n skinnedShaderRef : string,\n dataJson : GetAssetDescription_Object,\n isDoubleSided : boolean\n};\nexport type GetAssetDescription_Mesh = {\n submeshes : Array<GetAssetDescription_submesh_description>,\n payloadSize : number\n};\nexport type GetAssetDescription_submesh_description = {\n boundingBox : GetAssetDescription_Object,\n channels : Array<GetAssetDescription_channel_description>,\n payloadSize : number,\n indexCount : number,\n vertexCount ?: number\n};\nexport type GetAssetDescription_channel_description = {\n semantic ?: \"invalid\" | \"index\" | \"position\" | \"normal\" | \"uv\" | \"color\" | \"bone_id\" | \"weight\",\n elementCount ?: number,\n elementType ?: \"dt_signed\" | \"dt_unsigned\" | \"dt_float\",\n elementSize ?: number,\n dataOffset ?: number,\n dataSize ?: number\n};\nexport type GetAssetDescription_PointCloud = {\n format : \"invalid\" | \"xyz32\" | \"xyz32_rgb8\",\n payloadTotalSize : number,\n pointCount : number,\n translation ?: Array<number>,\n scale ?: Array<number>\n};\nexport type GetAssetDescription_RenderGraph = {\n renderTargetDescriptions ?: Array<GetAssetDescription_render_target_description>,\n nodeDataDescriptions ?: Array<GetAssetDescription_node_data_description>,\n renderPassDescriptions ?: Array<GetAssetDescription_render_pass_description>,\n graphOrder ?: Array<GetAssetDescription_pair_int16_int16>,\n inputDescriptor ?: GetAssetDescription_Object,\n stencilStates ?: Array<GetAssetDescription_VkStencilOpState>,\n blendStates ?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>,\n defaultRenderTargetIndex ?: number,\n occlusionInputDepthRenderTargetIndex ?: number\n};\nexport type GetAssetDescription_render_target_description = {\n name ?: string,\n format ?: GetAssetDescription_Object,\n sampleCount ?: GetAssetDescription_Object,\n usage ?: GetAssetDescription_Object,\n aspect ?: GetAssetDescription_Object,\n samplerType ?: number,\n mipLevels ?: number,\n extent ?: GetAssetDescription_Object,\n flags ?: GetAssetDescription_Object,\n tiling ?: GetAssetDescription_Object,\n memoryUsage ?: GetAssetDescription_Object,\n memoryType ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_node_data_description = {\n name ?: string,\n frameNodeType ?: \"viewport\" | \"draw_batch\" | \"draw_batch_with_materials\" | \"dispatch_compute\" | \"blit_image\" | \"blit_image_pointer_to_dst\" | \"copy_image\" | \"resolve_image\" | \"node_draw_quad\" | \"generate_mip_chain\" | \"copy_to_cubemap\" | \"copy_to_light_cubemap\" | \"copy_to_reflection_cubemap\" | \"clear_images\" | \"timestamp\" | \"clear_point_cloud_buffer\" | \"draw_debug_lines\" | \"draw_skybox\" | \"draw_xr\",\n inputDepthRenderTargetIndices ?: Array<number>,\n outputDepthRenderTargetIndices ?: Array<number>,\n inputRenderTargetIndices ?: Array<number>,\n outputRenderTargetIndices ?: Array<number>,\n shaderRef ?: GetAssetDescription_Object,\n dataJson ?: GetAssetDescription_Object,\n aliases ?: Array<any>,\n batchType ?: \"opaque = 1 << 0\" | \"transparent = 1 << 1\" | \"static_meshes = 1 << 2\" | \"static_textured_meshes = 1 << 3\" | \"all_static_meshes = 1 << 4\" | \"skinned = 1 << 5\" | \"selected = 1 << 6\" | \"do_not_use_material = 1 << 7\" | \"double_sided = 1 << 8\" | \"single_sided = 1 << 9\" | \"pass_occlusion_test = 1 << 10\",\n pipelineDescription ?: GetAssetDescription_Object,\n copyToFaceIndex ?: number,\n drawIndirect ?: boolean,\n conditions ?: Array<string>,\n clearColors ?: Array<GetAssetDescription_vec4>,\n constDataType ?: \"none\" | \"material\" | \"skybox [[deprecated]]\" | \"debug\" | \"clear_ssao [[deprecated]]\" | \"ssao [[deprecated]]\" | \"blur [[deprecated]]\" | \"voxel\" | \"temporal_denoise [[deprecated]]\" | \"spatial_denoise [[deprecated]]\" | \"outline [[deprecated]]\" | \"bloom [[deprecated]]\" | \"atmosphere [[deprecated]]\" | \"ssr [[deprecated]]\" | \"compose_reflections [[deprecated]]\" | \"compose_outlines [[deprecated]]\" | \"compose_transparent [[deprecated]]\" | \"grid_quad [[deprecated]]\" | \"timestamp [[deprecated]]\" | \"volumetric_lighting [[deprecated]]\" | \"color_grading [[deprecated]]\" | \"exposure [[deprecated]]\" | \"minmip [[deprecated]]\" | \"gpu_occlusion_culling\" | \"cpu_occlusion_culling\" | \"edge_outline [[deprecated]]\" | \"point_cloud [[deprecated]]\" | \"downsample [[deprecated]]\" | \"upsample_combine [[deprecated]]\"\n};\nexport type GetAssetDescription_vec4 = {\n body : GetAssetDescription_Object\n};\nexport type GetAssetDescription_render_pass_description = {\n name ?: string,\n sampleCount ?: number,\n nodeIndices ?: Array<number>,\n colorAttachmentIndices ?: Array<number>,\n depthAttachmentIndex ?: number,\n resolveAttachmentIndices ?: Array<number>,\n colorAttachmentReferences ?: Array<GetAssetDescription_VkAttachmentReference>,\n depthAttachmentReference ?: GetAssetDescription_Object,\n resolveAttachmentReferences ?: Array<GetAssetDescription_VkAttachmentReference>,\n attachmentDescriptions ?: Array<GetAssetDescription_VkAttachmentDescription>,\n attachmentClearColors ?: Array<GetAssetDescription_vec4>\n};\nexport type GetAssetDescription_VkAttachmentReference = {\n attachment ?: number,\n layout ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_VkAttachmentDescription = {\n flags ?: GetAssetDescription_Object,\n format ?: GetAssetDescription_Object,\n samples ?: GetAssetDescription_Object,\n loadOp ?: GetAssetDescription_Object,\n storeOp ?: GetAssetDescription_Object,\n stencilLoadOp ?: GetAssetDescription_Object,\n stencilStoreOp ?: GetAssetDescription_Object,\n initialLayout ?: GetAssetDescription_Object,\n finalLayout ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_pair_int16_int16 = {\n body : GetAssetDescription_Object\n};\nexport type GetAssetDescription_VkStencilOpState = {\n failOp ?: GetAssetDescription_Object,\n passOp ?: GetAssetDescription_Object,\n depthFailOp ?: GetAssetDescription_Object,\n compareOp ?: GetAssetDescription_Object,\n compareMask ?: number,\n writeMask ?: number,\n reference ?: number\n};\nexport type GetAssetDescription_VkPipelineColorBlendAttachmentState = {\n blendEnable ?: boolean,\n srcColorBlendFactor ?: GetAssetDescription_Object,\n dstColorBlendFactor ?: GetAssetDescription_Object,\n colorBlendOp ?: GetAssetDescription_Object,\n srcAlphaBlendFactor ?: GetAssetDescription_Object,\n dstAlphaBlendFactor ?: GetAssetDescription_Object,\n alphaBlendOp ?: GetAssetDescription_Object,\n colorWriteMask ?: GetAssetDescription_Object\n};\nexport type GetAssetDescription_Scene = {\n aabb : GetAssetDescription_Aabb,\n entities : Array<GetAssetDescription_Entity>,\n triangleCount : number,\n settings ?: GetAssetDescription_Object,\n animationSequenceInstances ?: Array<GetAssetDescription_animation_sequence_instance>\n};\nexport type GetAssetDescription_Aabb = {\n min : Array<number>,\n max : Array<number>\n};\nexport type GetAssetDescription_Entity = {\n entity : GetAssetDescription_Entity\n};\nexport type GetAssetDescription_animation_sequence_instance = {\n ref ?: string,\n entities ?: Array<string>,\n dataJSON ?: GetAssetDescription_Object,\n durationInMs ?: number,\n loop ?: boolean\n};\nexport type GetAssetDescription_Script = {\n inputDescriptor ?: GetAssetDescription_Object,\n eventNames : Array<string>,\n subScripts ?: Array<string>\n};\nexport type GetAssetDescription_Shader = {\n payloadSize : number,\n shaderStages ?: number,\n moduleDescriptions ?: Array<GetAssetDescription_shader_module_description>,\n materialDescriptor ?: GetAssetDescription_Object,\n nodeDataDescriptor ?: GetAssetDescription_Object,\n vertexDescriptor ?: Array<GetAssetDescription_vertex_attribute_descriptor>,\n blendMode ?: \"invalid\" | \"opaque\" | \"alpha_blended\" | \"masked\",\n localGroupCount ?: Array<number>,\n optGlobalGroupMultiplier ?: Array<number>,\n optGlobalGroupReference ?: \"render_target_automatic_split\" | \"render_target_exact\" | \"output_render_target_exact\" | \"instances_buffer\" | \"point_cloud_input_buffer\"\n};\nexport type GetAssetDescription_shader_module_description = {\n shaderStage ?: GetAssetDescription_Object,\n payloadOffset ?: number,\n payloadSize ?: number,\n usedBindings ?: number\n};\nexport type GetAssetDescription_vertex_attribute_descriptor = {\n semantic ?: \"position = 1 << 0\" | \"normal = 1 << 1\" | \"tex_coord = 1 << 2\" | \"skin_bone_ids = 1 << 3\" | \"skin_weights = 1 << 4\" | \"custom = 1 << 5\",\n binding ?: number,\n location ?: number,\n stride ?: number,\n format ?: GetAssetDescription_Object,\n offset ?: number\n};\nexport type GetAssetDescription_Skeleton = {\n payloadSize : number,\n bones : Array<GetAssetDescription_bone_description>\n};\nexport type GetAssetDescription_bone_description = {\n name ?: string,\n childrenCount ?: number,\n firstChildIndex ?: number,\n parentIndex ?: number,\n offsetMatrix ?: Array<number>\n};\nexport type GetAssetDescription_Sound = {\n payloadSize : number,\n sampleCount : number,\n durationInMs : number,\n sampleFrequencyInHz : number,\n bitDepth : number,\n channelCount : number\n};\nexport type GetAssetDescription_Texture = {\n format : \"invalid\" | \"r8s\" | \"r8u\" | \"r16s\" | \"r16u\" | \"bc1\" | \"bc1a\" | \"bc2\" | \"bc3\" | \"bc3n\" | \"bc4\" | \"bc5\" | \"bc6\" | \"bc7\" | \"rgba8\",\n payloadTotalSize : number,\n mips : Array<GetAssetDescription_mip_description>\n};\nexport type GetAssetDescription_mip_description = {\n dimension ?: Array<number>,\n payloadSize ?: number\n};\nexport type GetAssetDescription_VolumeMaterial = {\n albedoLUT ?: Array<GetAssetDescription_control_point>,\n opacityLUT ?: Array<GetAssetDescription_control_point>,\n metallicLUT ?: Array<GetAssetDescription_control_point>,\n roughnessLUT ?: Array<GetAssetDescription_control_point>,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type GetAssetDescription_control_point = {\n key ?: number,\n value ?: StrictUnion<Array<number> | number> & any\n};\nexport type GetAssetDescription_asset_description = {\n uuid : string,\n name : string\n};\nexport function getAssetDescription(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_VolumeMaterial> & GetAssetDescription_asset_description>\n{\n return axiosInstance({\n operationId: \"getAssetDescription\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/description\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Updates asset description. Supports only updating name.\nexport type UpdateAssetDescription_Animation = {\n durationInMs : number,\n payloadSize : number,\n animationEventTrack : UpdateAssetDescription_Object,\n skeletonRef ?: string\n};\nexport type UpdateAssetDescription_Object = {\n eventNames ?: Array<string>,\n eventTimeline ?: Array<UpdateAssetDescription_animation_event>\n};\nexport type UpdateAssetDescription_animation_event = {\n eventIndex ?: number,\n triggerTime ?: number,\n triggerGlobally ?: boolean\n};\nexport type UpdateAssetDescription_AnimationGraph = {\n stateMachines ?: Array<UpdateAssetDescription_animation_state_machine_description>,\n inputDescriptor ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_animation_state_machine_description = {\n states ?: Array<UpdateAssetDescription_animation_state_description>,\n transitions ?: Array<UpdateAssetDescription_transition_description>\n};\nexport type UpdateAssetDescription_animation_state_description = {\n name ?: string,\n nodes ?: Array<UpdateAssetDescription_animation_node_description>,\n transitionIndices ?: Array<number>\n};\nexport type UpdateAssetDescription_animation_node_description = {\n nodeType ?: \"state_machine\" | \"playback\" | \"blendspace_1d\" | \"blendspace_2d\" | \"blend\" | \"random\" | \"ik_aim\" | \"ik_two_bone\",\n inputs ?: Array<number>,\n settings ?: StrictUnion<UpdateAssetDescription_playback_settings_animation_settings | UpdateAssetDescription_blendspace_1d_settings_animation_settings | UpdateAssetDescription_blendspace_2d_settings_animation_settings | UpdateAssetDescription_blend_settings | UpdateAssetDescription_random_settings | UpdateAssetDescription_animation_state_machine_settings | UpdateAssetDescription_ik_two_bone_settings | UpdateAssetDescription_ik_aim_settings> & any\n};\nexport type UpdateAssetDescription_playback_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n animationKey ?: number\n};\nexport type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<UpdateAssetDescription_blend_axis>,\n horizontalAxis ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_blend_axis = {\n name ?: string,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {\n playbackSpeed ?: number,\n startOffset ?: number,\n loop ?: boolean,\n controlPoints ?: Array<UpdateAssetDescription_blend_axis>,\n horizontalAxis ?: UpdateAssetDescription_Object,\n verticalAxis ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_blend_settings = {\n weights ?: Array<number>,\n boneIndices ?: Array<number>\n};\nexport type UpdateAssetDescription_random_settings = {\n probabilities ?: Array<number>\n};\nexport type UpdateAssetDescription_animation_state_machine_settings = {\n stateMachineIndex ?: number\n};\nexport type UpdateAssetDescription_ik_two_bone_settings = {\n ws_poleVector ?: Array<number>,\n targetId ?: string,\n startJoint ?: number,\n midJoint ?: number,\n endJoint ?: number,\n soften ?: number,\n twistAngle ?: number,\n weight ?: number\n};\nexport type UpdateAssetDescription_ik_aim_settings = {\n targetNameId ?: string,\n aimingBoneId ?: string,\n chainLength ?: number,\n eyesOffset ?: Array<number>,\n chainWeight ?: number,\n boneWeight ?: number\n};\nexport type UpdateAssetDescription_transition_description = {\n durationInMs ?: number,\n exitTime ?: number,\n nextStateIndex ?: number,\n condition ?: string\n};\nexport type UpdateAssetDescription_AnimationSequence = {\n inputDescriptor : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_AnimationSet = {\n animationSet : Array<UpdateAssetDescription_Object>,\n animationGraphUUID : string\n};\nexport type UpdateAssetDescription_Cubemap = {\n faces : Array<string>\n};\nexport type UpdateAssetDescription_EventMap = {\n eventDescriptors : Array<UpdateAssetDescription_Object>\n};\nexport type UpdateAssetDescription_Material = {\n shaderRef : string,\n skinnedShaderRef : string,\n dataJson : UpdateAssetDescription_Object,\n isDoubleSided : boolean\n};\nexport type UpdateAssetDescription_Mesh = {\n submeshes : Array<UpdateAssetDescription_submesh_description>,\n payloadSize : number\n};\nexport type UpdateAssetDescription_submesh_description = {\n boundingBox : UpdateAssetDescription_Object,\n channels : Array<UpdateAssetDescription_channel_description>,\n payloadSize : number,\n indexCount : number,\n vertexCount ?: number\n};\nexport type UpdateAssetDescription_channel_description = {\n semantic ?: \"invalid\" | \"index\" | \"position\" | \"normal\" | \"uv\" | \"color\" | \"bone_id\" | \"weight\",\n elementCount ?: number,\n elementType ?: \"dt_signed\" | \"dt_unsigned\" | \"dt_float\",\n elementSize ?: number,\n dataOffset ?: number,\n dataSize ?: number\n};\nexport type UpdateAssetDescription_PointCloud = {\n format : \"invalid\" | \"xyz32\" | \"xyz32_rgb8\",\n payloadTotalSize : number,\n pointCount : number,\n translation ?: Array<number>,\n scale ?: Array<number>\n};\nexport type UpdateAssetDescription_RenderGraph = {\n renderTargetDescriptions ?: Array<UpdateAssetDescription_render_target_description>,\n nodeDataDescriptions ?: Array<UpdateAssetDescription_node_data_description>,\n renderPassDescriptions ?: Array<UpdateAssetDescription_render_pass_description>,\n graphOrder ?: Array<UpdateAssetDescription_pair_int16_int16>,\n inputDescriptor ?: UpdateAssetDescription_Object,\n stencilStates ?: Array<UpdateAssetDescription_VkStencilOpState>,\n blendStates ?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>,\n defaultRenderTargetIndex ?: number,\n occlusionInputDepthRenderTargetIndex ?: number\n};\nexport type UpdateAssetDescription_render_target_description = {\n name ?: string,\n format ?: UpdateAssetDescription_Object,\n sampleCount ?: UpdateAssetDescription_Object,\n usage ?: UpdateAssetDescription_Object,\n aspect ?: UpdateAssetDescription_Object,\n samplerType ?: number,\n mipLevels ?: number,\n extent ?: UpdateAssetDescription_Object,\n flags ?: UpdateAssetDescription_Object,\n tiling ?: UpdateAssetDescription_Object,\n memoryUsage ?: UpdateAssetDescription_Object,\n memoryType ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_node_data_description = {\n name ?: string,\n frameNodeType ?: \"viewport\" | \"draw_batch\" | \"draw_batch_with_materials\" | \"dispatch_compute\" | \"blit_image\" | \"blit_image_pointer_to_dst\" | \"copy_image\" | \"resolve_image\" | \"node_draw_quad\" | \"generate_mip_chain\" | \"copy_to_cubemap\" | \"copy_to_light_cubemap\" | \"copy_to_reflection_cubemap\" | \"clear_images\" | \"timestamp\" | \"clear_point_cloud_buffer\" | \"draw_debug_lines\" | \"draw_skybox\" | \"draw_xr\",\n inputDepthRenderTargetIndices ?: Array<number>,\n outputDepthRenderTargetIndices ?: Array<number>,\n inputRenderTargetIndices ?: Array<number>,\n outputRenderTargetIndices ?: Array<number>,\n shaderRef ?: UpdateAssetDescription_Object,\n dataJson ?: UpdateAssetDescription_Object,\n aliases ?: Array<any>,\n batchType ?: \"opaque = 1 << 0\" | \"transparent = 1 << 1\" | \"static_meshes = 1 << 2\" | \"static_textured_meshes = 1 << 3\" | \"all_static_meshes = 1 << 4\" | \"skinned = 1 << 5\" | \"selected = 1 << 6\" | \"do_not_use_material = 1 << 7\" | \"double_sided = 1 << 8\" | \"single_sided = 1 << 9\" | \"pass_occlusion_test = 1 << 10\",\n pipelineDescription ?: UpdateAssetDescription_Object,\n copyToFaceIndex ?: number,\n drawIndirect ?: boolean,\n conditions ?: Array<string>,\n clearColors ?: Array<UpdateAssetDescription_vec4>,\n constDataType ?: \"none\" | \"material\" | \"skybox [[deprecated]]\" | \"debug\" | \"clear_ssao [[deprecated]]\" | \"ssao [[deprecated]]\" | \"blur [[deprecated]]\" | \"voxel\" | \"temporal_denoise [[deprecated]]\" | \"spatial_denoise [[deprecated]]\" | \"outline [[deprecated]]\" | \"bloom [[deprecated]]\" | \"atmosphere [[deprecated]]\" | \"ssr [[deprecated]]\" | \"compose_reflections [[deprecated]]\" | \"compose_outlines [[deprecated]]\" | \"compose_transparent [[deprecated]]\" | \"grid_quad [[deprecated]]\" | \"timestamp [[deprecated]]\" | \"volumetric_lighting [[deprecated]]\" | \"color_grading [[deprecated]]\" | \"exposure [[deprecated]]\" | \"minmip [[deprecated]]\" | \"gpu_occlusion_culling\" | \"cpu_occlusion_culling\" | \"edge_outline [[deprecated]]\" | \"point_cloud [[deprecated]]\" | \"downsample [[deprecated]]\" | \"upsample_combine [[deprecated]]\"\n};\nexport type UpdateAssetDescription_vec4 = {\n body : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_render_pass_description = {\n name ?: string,\n sampleCount ?: number,\n nodeIndices ?: Array<number>,\n colorAttachmentIndices ?: Array<number>,\n depthAttachmentIndex ?: number,\n resolveAttachmentIndices ?: Array<number>,\n colorAttachmentReferences ?: Array<UpdateAssetDescription_VkAttachmentReference>,\n depthAttachmentReference ?: UpdateAssetDescription_Object,\n resolveAttachmentReferences ?: Array<UpdateAssetDescription_VkAttachmentReference>,\n attachmentDescriptions ?: Array<UpdateAssetDescription_VkAttachmentDescription>,\n attachmentClearColors ?: Array<UpdateAssetDescription_vec4>\n};\nexport type UpdateAssetDescription_VkAttachmentReference = {\n attachment ?: number,\n layout ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_VkAttachmentDescription = {\n flags ?: UpdateAssetDescription_Object,\n format ?: UpdateAssetDescription_Object,\n samples ?: UpdateAssetDescription_Object,\n loadOp ?: UpdateAssetDescription_Object,\n storeOp ?: UpdateAssetDescription_Object,\n stencilLoadOp ?: UpdateAssetDescription_Object,\n stencilStoreOp ?: UpdateAssetDescription_Object,\n initialLayout ?: UpdateAssetDescription_Object,\n finalLayout ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_pair_int16_int16 = {\n body : UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_VkStencilOpState = {\n failOp ?: UpdateAssetDescription_Object,\n passOp ?: UpdateAssetDescription_Object,\n depthFailOp ?: UpdateAssetDescription_Object,\n compareOp ?: UpdateAssetDescription_Object,\n compareMask ?: number,\n writeMask ?: number,\n reference ?: number\n};\nexport type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {\n blendEnable ?: boolean,\n srcColorBlendFactor ?: UpdateAssetDescription_Object,\n dstColorBlendFactor ?: UpdateAssetDescription_Object,\n colorBlendOp ?: UpdateAssetDescription_Object,\n srcAlphaBlendFactor ?: UpdateAssetDescription_Object,\n dstAlphaBlendFactor ?: UpdateAssetDescription_Object,\n alphaBlendOp ?: UpdateAssetDescription_Object,\n colorWriteMask ?: UpdateAssetDescription_Object\n};\nexport type UpdateAssetDescription_Scene = {\n aabb : UpdateAssetDescription_Aabb,\n entities : Array<UpdateAssetDescription_Entity>,\n triangleCount : number,\n settings ?: UpdateAssetDescription_Object,\n animationSequenceInstances ?: Array<UpdateAssetDescription_animation_sequence_instance>\n};\nexport type UpdateAssetDescription_Aabb = {\n min : Array<number>,\n max : Array<number>\n};\nexport type UpdateAssetDescription_Entity = {\n entity : UpdateAssetDescription_Entity\n};\nexport type UpdateAssetDescription_animation_sequence_instance = {\n ref ?: string,\n entities ?: Array<string>,\n dataJSON ?: UpdateAssetDescription_Object,\n durationInMs ?: number,\n loop ?: boolean\n};\nexport type UpdateAssetDescription_Script = {\n inputDescriptor ?: UpdateAssetDescription_Object,\n eventNames : Array<string>,\n subScripts ?: Array<string>\n};\nexport type UpdateAssetDescription_Shader = {\n payloadSize : number,\n shaderStages ?: number,\n moduleDescriptions ?: Array<UpdateAssetDescription_shader_module_description>,\n materialDescriptor ?: UpdateAssetDescription_Object,\n nodeDataDescriptor ?: UpdateAssetDescription_Object,\n vertexDescriptor ?: Array<UpdateAssetDescription_vertex_attribute_descriptor>,\n blendMode ?: \"invalid\" | \"opaque\" | \"alpha_blended\" | \"masked\",\n localGroupCount ?: Array<number>,\n optGlobalGroupMultiplier ?: Array<number>,\n optGlobalGroupReference ?: \"render_target_automatic_split\" | \"render_target_exact\" | \"output_render_target_exact\" | \"instances_buffer\" | \"point_cloud_input_buffer\"\n};\nexport type UpdateAssetDescription_shader_module_description = {\n shaderStage ?: UpdateAssetDescription_Object,\n payloadOffset ?: number,\n payloadSize ?: number,\n usedBindings ?: number\n};\nexport type UpdateAssetDescription_vertex_attribute_descriptor = {\n semantic ?: \"position = 1 << 0\" | \"normal = 1 << 1\" | \"tex_coord = 1 << 2\" | \"skin_bone_ids = 1 << 3\" | \"skin_weights = 1 << 4\" | \"custom = 1 << 5\",\n binding ?: number,\n location ?: number,\n stride ?: number,\n format ?: UpdateAssetDescription_Object,\n offset ?: number\n};\nexport type UpdateAssetDescription_Skeleton = {\n payloadSize : number,\n bones : Array<UpdateAssetDescription_bone_description>\n};\nexport type UpdateAssetDescription_bone_description = {\n name ?: string,\n childrenCount ?: number,\n firstChildIndex ?: number,\n parentIndex ?: number,\n offsetMatrix ?: Array<number>\n};\nexport type UpdateAssetDescription_Sound = {\n payloadSize : number,\n sampleCount : number,\n durationInMs : number,\n sampleFrequencyInHz : number,\n bitDepth : number,\n channelCount : number\n};\nexport type UpdateAssetDescription_Texture = {\n format : \"invalid\" | \"r8s\" | \"r8u\" | \"r16s\" | \"r16u\" | \"bc1\" | \"bc1a\" | \"bc2\" | \"bc3\" | \"bc3n\" | \"bc4\" | \"bc5\" | \"bc6\" | \"bc7\" | \"rgba8\",\n payloadTotalSize : number,\n mips : Array<UpdateAssetDescription_mip_description>\n};\nexport type UpdateAssetDescription_mip_description = {\n dimension ?: Array<number>,\n payloadSize ?: number\n};\nexport type UpdateAssetDescription_VolumeMaterial = {\n albedoLUT ?: Array<UpdateAssetDescription_control_point>,\n opacityLUT ?: Array<UpdateAssetDescription_control_point>,\n metallicLUT ?: Array<UpdateAssetDescription_control_point>,\n roughnessLUT ?: Array<UpdateAssetDescription_control_point>,\n rangeMin ?: number,\n rangeMax ?: number\n};\nexport type UpdateAssetDescription_control_point = {\n key ?: number,\n value ?: StrictUnion<Array<number> | number> & any\n};\nexport function updateAssetDescription(\n {\n asset_container,\n asset_id,\n assetDescription\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n assetDescription : StrictUnion<UpdateAssetDescription_Animation | UpdateAssetDescription_AnimationGraph | UpdateAssetDescription_AnimationSequence | UpdateAssetDescription_AnimationSet | UpdateAssetDescription_Cubemap | UpdateAssetDescription_EventMap | UpdateAssetDescription_Material | UpdateAssetDescription_Mesh | UpdateAssetDescription_PointCloud | UpdateAssetDescription_RenderGraph | UpdateAssetDescription_Scene | UpdateAssetDescription_Script | UpdateAssetDescription_Shader | UpdateAssetDescription_Skeleton | UpdateAssetDescription_Sound | UpdateAssetDescription_Texture | UpdateAssetDescription_VolumeMaterial> & UpdateAssetDescription_Object;\n }\n)\n{\n return axiosInstance({\n operationId: \"updateAssetDescription\",\n method: \"patch\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/description\",\n data: assetDescription\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset payload from the specified asset.\nexport function getAssetPayload(\n {\n asset_container_with_payload,\n asset_id\n } : {\n asset_container_with_payload : \"animations\" | \"animationSequences\" | \"meshes\" | \"pointClouds\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\";\n asset_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"getAssetPayload\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_payload + \"/\" + asset_id + \"/payload\",\n responseType: \"arraybuffer\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset history from the specified asset.\nexport type GetAssetHistory_Object = {\n body : GetAssetHistory_Object\n};\nexport function getAssetHistory(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetHistory_Object>\n{\n return axiosInstance({\n operationId: \"getAssetHistory\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/history\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset metadata from the specified asset.\nexport type GetAssetMeta_Object = {\n body : GetAssetMeta_Object\n};\nexport function getAssetMeta(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<GetAssetMeta_Object>\n{\n return axiosInstance({\n operationId: \"getAssetMeta\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/meta\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the code of the specified asset.\nexport function getAssetCode(\n {\n asset_container_with_code,\n asset_id\n } : {\n asset_container_with_code : \"animationSequences\" | \"scripts\" | \"shaders\";\n asset_id : string;\n }\n) : AxiosPromise<string>\n{\n return axiosInstance({\n operationId: \"getAssetCode\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_code + \"/\" + asset_id + \"/code\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset thumbnail from the specified asset.\nexport function getAssetThumbnail(\n {\n asset_container,\n asset_id,\n size,\n default_url\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n size : \"large\" | \"medium\" | \"small\" | \"tiny\";\n default_url ?: string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"getAssetThumbnail\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/thumbnail\",\n responseType: \"arraybuffer\",\n params: {\n size: size,\n default_url: default_url\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Assigns a thumbnail to the specified asset.\nexport function setAssetThumbnail(\n {\n asset_container,\n asset_id,\n body\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n body : ArrayBuffer;\n },\n contentType : 'image/jpg' | 'image/png'\n)\n{\n return axiosInstance({\n operationId: \"setAssetThumbnail\",\n method: \"put\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/thumbnail\",\n headers: {\n \"Content-Type\": contentType\n },\n data: body\n });\n}\n\n//--------------------------------------------------------------------------\n// Gets the asset custom types from the specified asset recursively.\nexport type GetAssetCustomTypes_Object = {\n body : GetAssetCustomTypes_Object\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) : AxiosPromise<GetAssetCustomTypes_Object>\n{\n return axiosInstance({\n operationId: \"getAssetCustomTypes\",\n method: \"get\",\n url: \"/assets/\" + asset_container_with_custom_types + \"/\" + asset_id + \"/custom-types\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Packages and downloads the target asset.\nexport function packageAsset(\n {\n asset_container,\n asset_id\n } : {\n asset_container : \"animations\" | \"animationGraphs\" | \"animationSequences\" | \"animationSets\" | \"cubemaps\" | \"eventMaps\" | \"materials\" | \"meshes\" | \"pointClouds\" | \"renderGraphs\" | \"scenes\" | \"scripts\" | \"shaders\" | \"skeletons\" | \"sounds\" | \"textures\" | \"volumeMaterials\";\n asset_id : string;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"packageAsset\",\n method: \"get\",\n url: \"/assets/\" + asset_container + \"/\" + asset_id + \"/package\",\n responseType: \"arraybuffer\"\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.\nexport function exportAsset(\n {\n asset_container_exportable,\n asset_id,\n format,\n scale = 1\n } : {\n asset_container_exportable : \"meshes\" | \"sounds\";\n asset_id : string;\n format : \"obj\" | \"stl\";\n scale ?: number;\n }\n) : AxiosPromise<ArrayBuffer>\n{\n return axiosInstance({\n operationId: \"exportAsset\",\n method: \"get\",\n url: \"/assets/\" + asset_container_exportable + \"/\" + asset_id + \"/exports/\" + format + \"\",\n responseType: \"arraybuffer\",\n params: {\n scale: scale\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Lists all sessions running a specified scene.\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 clients : Array<GetSceneSessions_UserInfo>\n};\nexport type GetSceneSessions_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSceneSessions(\n {\n scene_id\n } : {\n scene_id : string;\n }\n) : AxiosPromise<Array<GetSceneSessions_Session>>\n{\n return axiosInstance({\n operationId: \"getSceneSessions\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/sessions\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get the axis aligned bounding box of the specified scene.\nexport type GetSceneAabb_Object = {\n max : Array<number>,\n min : Array<number>\n};\nexport function getSceneAABB(\n {\n scene_id\n } : {\n scene_id : string;\n }\n) : AxiosPromise<GetSceneAabb_Object>\n{\n return axiosInstance({\n operationId: \"getSceneAABB\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/aabb\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Get a specific entity from a scene\nexport type GetEntity_animation_controller = {\n animation_controller : GetEntity_AnimationController\n};\nexport type GetEntity_AnimationController = {\n animationGraphRef : string,\n animationSetRef : string,\n dataJSON : GetEntity_Json,\n rootBoneEntityRef : GetEntity_EntityReference,\n rootMotionEnabled : boolean\n};\nexport type GetEntity_Json = {\n json : GetEntity_Json\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 : GetEntity_Json\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 : GetEntity_Json\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 : GetEntity_Json\n};\nexport type GetEntity_script_map = {\n script_map : GetEntity_ScriptMap\n};\nexport type GetEntity_ScriptMap = {\n elements : GetEntity_MapScriptElement\n};\nexport type GetEntity_MapScriptElement = {\n mapScriptElement : GetEntity_MapScriptElement\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_entity_components_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};\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) : AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_entity_components_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>\n{\n return axiosInstance({\n operationId: \"getEntity\",\n method: \"get\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\",\n params: {\n compute_global_transform: compute_global_transform\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Update a specific entity from a scene\nexport type UpdateEntity_animation_controller = {\n animation_controller : UpdateEntity_AnimationController\n};\nexport type UpdateEntity_AnimationController = {\n animationGraphRef : string,\n animationSetRef : string,\n dataJSON : UpdateEntity_Json,\n rootBoneEntityRef : UpdateEntity_EntityReference,\n rootMotionEnabled : boolean\n};\nexport type UpdateEntity_Json = {\n json : UpdateEntity_Json\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 : UpdateEntity_Json\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 : UpdateEntity_Json\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 : UpdateEntity_Json\n};\nexport type UpdateEntity_script_map = {\n script_map : UpdateEntity_ScriptMap\n};\nexport type UpdateEntity_ScriptMap = {\n elements : UpdateEntity_MapScriptElement\n};\nexport type UpdateEntity_MapScriptElement = {\n mapScriptElement : UpdateEntity_MapScriptElement\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_entity_components_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};\nexport function updateEntity(\n {\n scene_id,\n entity_id,\n entityComponents\n } : {\n scene_id : string;\n entity_id : string;\n entityComponents : (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_entity_components_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref);\n }\n)\n{\n return axiosInstance({\n operationId: \"updateEntity\",\n method: \"patch\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\",\n data: entityComponents\n });\n}\n\n//--------------------------------------------------------------------------\n// Delete a specific entity from a scene\nexport function deleteEntity(\n {\n scene_id,\n entity_id\n } : {\n scene_id : string;\n entity_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"deleteEntity\",\n method: \"delete\",\n url: \"/assets/scenes/\" + scene_id + \"/entities/\" + entity_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Create a new rendering session\nexport type CreateSession_Object = {\n session_id ?: string\n};\nexport function createSession(\n {\n scene_id\n } : {\n scene_id ?: string;\n }\n) : AxiosPromise<CreateSession_Object>\n{\n return axiosInstance({\n operationId: \"createSession\",\n method: \"post\",\n url: \"/sessions\",\n data: {\n scene_id: scene_id\n }\n });\n}\n\n//--------------------------------------------------------------------------\n// Retrieves details about the target session.\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 clients : Array<GetSession_UserInfo>\n};\nexport type GetSession_UserInfo = {\n client_id ?: string,\n client_type ?: StrictUnion<'user' | 'guest'>,\n user_id : string,\n username : string\n};\nexport function getSession(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<GetSession_Session>\n{\n return axiosInstance({\n operationId: \"getSession\",\n method: \"get\",\n url: \"/sessions/\" + session_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Forcefully terminates a session.\nexport function killSession(\n {\n session_id\n } : {\n session_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"killSession\",\n method: \"delete\",\n url: \"/sessions/\" + session_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Creates a new client for the user and returns a token to join the session.\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};\nexport function joinSession(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<JoinSession_SessionToken>\n{\n return axiosInstance({\n operationId: \"joinSession\",\n method: \"post\",\n url: \"/sessions/\" + session_id + \"/clients\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Kick a client from a running session.\nexport function kickClientFromSession(\n {\n session_id,\n client_id\n } : {\n session_id : string;\n client_id : string;\n }\n)\n{\n return axiosInstance({\n operationId: \"kickClientFromSession\",\n method: \"delete\",\n url: \"/sessions/\" + session_id + \"/clients/\" + client_id + \"\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Join a session as guest. The guest token is required in the `guest_token` header.\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};\nexport function joinSessionAsGuest(\n\n) : AxiosPromise<JoinSessionAsGuest_SessionToken>\n{\n return axiosInstance({\n operationId: \"joinSessionAsGuest\",\n method: \"post\",\n url: \"/sessions/guests\"\n });\n}\n\n//--------------------------------------------------------------------------\n// Generates a token to join the session as a guest.\nexport type GenerateGuestToken_GuestToken = {\n guest_token ?: string\n};\nexport function generateGuestToken(\n {\n session_id\n } : {\n session_id : string;\n }\n) : AxiosPromise<GenerateGuestToken_GuestToken>\n{\n return axiosInstance({\n operationId: \"generateGuestToken\",\n method: \"post\",\n url: \"/sessions/\" + session_id + \"/guests\"\n });\n}"],
5
+ "mappings": ";AAEA,OAAO,cAAc,gBAAgB,gCAAgC;;;ACerE,OAAO,WAAyC;AAiBzC,IAAM,gBAAgB,MAAM,OAAO;AAAA,EACtC,SAAS;AAAA,EACT,aAAa;AACjB,CAAC;AAGM,SAAS,WAAW,SAAiB;AACxC,gBAAc,SAAS,UAAU;AACrC;AAUO,SAAS,UACZ;AAAA,EACI,SAAS;A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