@3dverse/api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2131 @@
1
+ /**
2
+ * 3dverse v1.0
3
+ * # 3dverse API
4
+ *
5
+ * Welcome to the 3dverse API. The 3dverse API scopes to an API key. Each development environment of an application requires a separate API key.
6
+ * Through the API key, you can manage ownership, access, and permissions for each environment.
7
+ * Each environment has its own set of users, groups, folders, and assets.
8
+ *
9
+ *
10
+ * Contact: 3dverse Support (support@3dverse.com)
11
+ *
12
+ * NOTE: This file is auto generated by library-generator (https://gitlab.com/3dverse/libs/library-generator).
13
+ * Do not edit this file class manually.
14
+ */
15
+ import { AxiosPromise } from 'axios';
16
+ type UnionKeys<T> = T extends T ? keyof T : never;
17
+ type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
18
+ type StrictUnion<T> = StrictUnionHelper<T, T>;
19
+ declare module 'axios' {
20
+ interface AxiosRequestConfig<D = any, T = any> {
21
+ operationId: string;
22
+ }
23
+ }
24
+ export declare const axiosInstance: import("axios").AxiosInstance;
25
+ export declare function setBaseURL(baseURL: string): void;
26
+ export type ListUsers_User_UserInfo = {
27
+ user_id: string;
28
+ username: string;
29
+ registered_at?: string;
30
+ };
31
+ export declare function listUsers({ offset, limit }: {
32
+ offset?: number;
33
+ limit?: number;
34
+ }): AxiosPromise<Array<ListUsers_User_UserInfo>>;
35
+ export type RegisterUser_User_UserInfo = {
36
+ user_id: string;
37
+ username: string;
38
+ registered_at?: string;
39
+ };
40
+ export declare function registerUser({ username }: {
41
+ username: string;
42
+ }): AxiosPromise<RegisterUser_User_UserInfo>;
43
+ export type GetUser_User_UserInfo = {
44
+ user_id: string;
45
+ username: string;
46
+ registered_at?: string;
47
+ };
48
+ export declare function getUser({ user_id }: {
49
+ user_id: string;
50
+ }): AxiosPromise<GetUser_User_UserInfo>;
51
+ export declare function updateUser({ user_id, username }: {
52
+ user_id: string;
53
+ username: string;
54
+ }): Promise<import("axios").AxiosResponse<any, any>>;
55
+ export type DeleteUser_Object = {
56
+ deleted_assets?: DeleteUser_Object;
57
+ };
58
+ export declare function deleteUser({ user_id }: {
59
+ user_id: string;
60
+ }): AxiosPromise<DeleteUser_Object>;
61
+ export type GenerateUserToken_Token = {
62
+ user_token?: string;
63
+ expires_in?: number;
64
+ expires_on?: number;
65
+ };
66
+ export declare function generateUserToken({ user_id, scope, ttl }: {
67
+ user_id: string;
68
+ scope: "read" | "write" | "manage";
69
+ ttl?: string;
70
+ }): AxiosPromise<GenerateUserToken_Token>;
71
+ export type GetUserGroups_Group_GroupInfo = {
72
+ group_id: string;
73
+ group_name: string;
74
+ group_description?: string;
75
+ created_at: string;
76
+ members: Array<GetUserGroups_GroupMember_GroupAccess>;
77
+ };
78
+ export type GetUserGroups_GroupMember_GroupAccess = {
79
+ user_id: string;
80
+ joined_at?: string;
81
+ group_access: "read" | "write" | "manage";
82
+ folder_access: "read" | "write" | "manage";
83
+ };
84
+ export declare function getUserGroups({ user_id }: {
85
+ user_id: string;
86
+ }): AxiosPromise<Array<GetUserGroups_Group_GroupInfo>>;
87
+ export type GetUserUploadTasks_UploadTask = {
88
+ upload_task_id?: string;
89
+ folder_id?: string;
90
+ uploaded_at?: string;
91
+ uploaded_by?: string;
92
+ progress?: number;
93
+ status?: "waiting" | "pending" | "converting" | "error";
94
+ conversion_tasks?: Array<GetUserUploadTasks_ConversionTask>;
95
+ };
96
+ export type GetUserUploadTasks_ConversionTask = {
97
+ asset_id?: string;
98
+ source_file_id?: string;
99
+ conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
100
+ progress?: number;
101
+ status?: "waiting" | "pending" | "converting" | "error";
102
+ };
103
+ export declare function getUserUploadTasks({ user_id, offset, limit }: {
104
+ user_id: string;
105
+ offset?: number;
106
+ limit?: number;
107
+ }): AxiosPromise<Array<GetUserUploadTasks_UploadTask>>;
108
+ export type CreateGroup_GroupMember_GroupAccess = {
109
+ user_id: string;
110
+ group_access: "read" | "write" | "manage";
111
+ folder_access: "read" | "write" | "manage";
112
+ };
113
+ export type CreateGroup_Group_GroupInfo = {
114
+ group_id: string;
115
+ group_name: string;
116
+ group_description?: string;
117
+ created_at: string;
118
+ members: Array<CreateGroup_GroupMember_GroupAccess_Writable>;
119
+ };
120
+ export type CreateGroup_GroupMember_GroupAccess_Writable = {
121
+ user_id: string;
122
+ joined_at?: string;
123
+ group_access: "read" | "write" | "manage";
124
+ folder_access: "read" | "write" | "manage";
125
+ };
126
+ export declare function createGroup({ group_name, group_description, members }: {
127
+ group_name: string;
128
+ group_description?: string;
129
+ members: Array<CreateGroup_GroupMember_GroupAccess>;
130
+ }): AxiosPromise<CreateGroup_Group_GroupInfo>;
131
+ export type GetGroup_Group_GroupInfo = {
132
+ group_id: string;
133
+ group_name: string;
134
+ group_description?: string;
135
+ created_at: string;
136
+ members: Array<GetGroup_GroupMember_GroupAccess>;
137
+ };
138
+ export type GetGroup_GroupMember_GroupAccess = {
139
+ user_id: string;
140
+ joined_at?: string;
141
+ group_access: "read" | "write" | "manage";
142
+ folder_access: "read" | "write" | "manage";
143
+ };
144
+ export declare function getGroup({ group_id }: {
145
+ group_id: string;
146
+ }): AxiosPromise<GetGroup_Group_GroupInfo>;
147
+ export declare function updateGroupDescription({ group_id, group_name, group_description }: {
148
+ group_id: string;
149
+ group_name: string;
150
+ group_description: string;
151
+ }): Promise<import("axios").AxiosResponse<any, any>>;
152
+ export declare function deleteGroup({ group_id }: {
153
+ group_id: string;
154
+ }): Promise<import("axios").AxiosResponse<any, any>>;
155
+ export declare function grantMemberAccessToGroup({ group_id, member_type, member_id, group_access, folder_access }: {
156
+ group_id: string;
157
+ member_type: "users" | "groups";
158
+ member_id: string;
159
+ group_access: "read" | "write" | "manage";
160
+ folder_access: "read" | "write" | "manage";
161
+ }): Promise<import("axios").AxiosResponse<any, any>>;
162
+ export declare function revokeMemberAccessToGroup({ group_id, member_type, member_id }: {
163
+ group_id: string;
164
+ member_type: "users" | "groups";
165
+ member_id: string;
166
+ }): Promise<import("axios").AxiosResponse<any, any>>;
167
+ export type ListFolders_Folder = {
168
+ folder_id: string;
169
+ parent_folder_id?: string;
170
+ folder_name: string;
171
+ created_at?: string;
172
+ created_by?: ListFolders_Object;
173
+ subfolders?: Array<ListFolders_Folder>;
174
+ source_file_count?: number;
175
+ asset_count?: number;
176
+ };
177
+ export type ListFolders_Object = {
178
+ user_id: string;
179
+ username: string;
180
+ registered_at?: string;
181
+ };
182
+ export declare function listFolders({ offset, limit }: {
183
+ offset?: number;
184
+ limit?: number;
185
+ }): AxiosPromise<Array<ListFolders_Folder>>;
186
+ export type CreateFolder_Folder = {
187
+ folder_name: string;
188
+ subfolders?: Array<CreateFolder_Folder>;
189
+ };
190
+ export type CreateFolder_Folder_Writable = {
191
+ folder_id: string;
192
+ parent_folder_id?: string;
193
+ folder_name: string;
194
+ created_at?: string;
195
+ created_by?: CreateFolder_Object;
196
+ subfolders?: Array<CreateFolder_Folder_Writable>;
197
+ source_file_count?: number;
198
+ asset_count?: number;
199
+ };
200
+ export type CreateFolder_Object = {
201
+ user_id: string;
202
+ username: string;
203
+ registered_at?: string;
204
+ };
205
+ export declare function createFolder({ folder_name, subfolders }: {
206
+ folder_name: string;
207
+ subfolders?: Array<CreateFolder_Folder>;
208
+ }): AxiosPromise<CreateFolder_Folder_Writable>;
209
+ export type GetFolderInfo_Folder = {
210
+ folder_id: string;
211
+ parent_folder_id?: string;
212
+ folder_name: string;
213
+ created_at?: string;
214
+ created_by?: GetFolderInfo_Object;
215
+ subfolders?: Array<GetFolderInfo_Folder>;
216
+ source_file_count?: number;
217
+ asset_count?: number;
218
+ };
219
+ export type GetFolderInfo_Object = {
220
+ user_id: string;
221
+ username: string;
222
+ registered_at?: string;
223
+ };
224
+ export declare function getFolderInfo({ folder_id }: {
225
+ folder_id: string;
226
+ }): AxiosPromise<GetFolderInfo_Folder>;
227
+ export declare function moveFolders({ folder_id, folderIds }: {
228
+ folder_id: string;
229
+ folderIds: Array<string>;
230
+ }): Promise<import("axios").AxiosResponse<any, any>>;
231
+ export declare function updateFolder({ folder_id, folder_name }: {
232
+ folder_id: string;
233
+ folder_name?: string;
234
+ }): Promise<import("axios").AxiosResponse<any, any>>;
235
+ export declare function deleteFolder({ folder_id }: {
236
+ folder_id: string;
237
+ }): Promise<import("axios").AxiosResponse<any, any>>;
238
+ export type ListFolderAccesses_Object = {
239
+ users?: Array<ListFolderAccesses_UserInfo_FolderAccess>;
240
+ groups?: Array<ListFolderAccesses_GroupInfo_FolderAccess>;
241
+ };
242
+ export type ListFolderAccesses_UserInfo_FolderAccess = {
243
+ user_id: string;
244
+ username: string;
245
+ access: "read" | "write" | "manage";
246
+ };
247
+ export type ListFolderAccesses_GroupInfo_FolderAccess = {
248
+ group_id: string;
249
+ group_name: string;
250
+ access: "read" | "write" | "manage";
251
+ };
252
+ export declare function listFolderAccesses({ folder_id }: {
253
+ folder_id: string;
254
+ }): AxiosPromise<ListFolderAccesses_Object>;
255
+ export declare function grantMemberAccessToFolder({ folder_id, member_type, member_id, access }: {
256
+ folder_id: string;
257
+ member_type: "users" | "groups";
258
+ member_id: string;
259
+ access: "read" | "write" | "manage";
260
+ }): Promise<import("axios").AxiosResponse<any, any>>;
261
+ export declare function revokeMemberAccessToFolder({ folder_id, member_type, member_id }: {
262
+ folder_id: string;
263
+ member_type: "users" | "groups";
264
+ member_id: string;
265
+ }): Promise<import("axios").AxiosResponse<any, any>>;
266
+ export type CreateSubfolder_Folder = {
267
+ folder_name: string;
268
+ subfolders?: Array<CreateSubfolder_Folder>;
269
+ };
270
+ export type CreateSubfolder_Folder_Writable = {
271
+ folder_id: string;
272
+ parent_folder_id?: string;
273
+ folder_name: string;
274
+ created_at?: string;
275
+ created_by?: CreateSubfolder_Object;
276
+ subfolders?: Array<CreateSubfolder_Folder_Writable>;
277
+ source_file_count?: number;
278
+ asset_count?: number;
279
+ };
280
+ export type CreateSubfolder_Object = {
281
+ user_id: string;
282
+ username: string;
283
+ registered_at?: string;
284
+ };
285
+ export declare function createSubfolder({ folder_id, folder_name, subfolders }: {
286
+ folder_id: string;
287
+ folder_name: string;
288
+ subfolders?: Array<CreateSubfolder_Folder>;
289
+ }): AxiosPromise<CreateSubfolder_Folder_Writable>;
290
+ export type ListFolderSubFolders_Folder = {
291
+ folder_id: string;
292
+ parent_folder_id?: string;
293
+ folder_name: string;
294
+ created_at?: string;
295
+ created_by?: ListFolderSubFolders_Object;
296
+ subfolders?: Array<ListFolderSubFolders_Folder>;
297
+ source_file_count?: number;
298
+ asset_count?: number;
299
+ };
300
+ export type ListFolderSubFolders_Object = {
301
+ user_id: string;
302
+ username: string;
303
+ registered_at?: string;
304
+ };
305
+ export declare function listFolderSubFolders({ folder_id, depth }: {
306
+ folder_id: string;
307
+ depth?: number;
308
+ }): AxiosPromise<Array<ListFolderSubFolders_Folder>>;
309
+ export type UploadSourceFiles_Object = {
310
+ upload_task_id?: string;
311
+ };
312
+ export declare function uploadSourceFiles({ folder_id, body }: {
313
+ folder_id: string;
314
+ body: FormData;
315
+ }): AxiosPromise<UploadSourceFiles_Object>;
316
+ export type GetSourceFilesInFolder_SourceFile = {
317
+ source_file_id?: string;
318
+ upload_task_id?: string;
319
+ source_file_original_name?: string;
320
+ source_file_name?: string;
321
+ size?: number;
322
+ };
323
+ export declare function getSourceFilesInFolder({ folder_id, offset, limit }: {
324
+ folder_id: string;
325
+ offset?: number;
326
+ limit?: number;
327
+ }): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>;
328
+ export declare function moveSourceFiles({ folder_id, sourceFileIds }: {
329
+ folder_id: string;
330
+ sourceFileIds: Array<string>;
331
+ }): Promise<import("axios").AxiosResponse<any, any>>;
332
+ export type GetUploadTasksInFolder_UploadTask = {
333
+ upload_task_id?: string;
334
+ folder_id?: string;
335
+ uploaded_at?: string;
336
+ uploaded_by?: string;
337
+ progress?: number;
338
+ status?: "waiting" | "pending" | "converting" | "error";
339
+ conversion_tasks?: Array<GetUploadTasksInFolder_ConversionTask>;
340
+ };
341
+ export type GetUploadTasksInFolder_ConversionTask = {
342
+ asset_id?: string;
343
+ source_file_id?: string;
344
+ conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
345
+ progress?: number;
346
+ status?: "waiting" | "pending" | "converting" | "error";
347
+ };
348
+ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
349
+ folder_id: string;
350
+ offset?: number;
351
+ limit?: number;
352
+ }): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
353
+ export type GetFolderAssets_asset_list = {
354
+ animations?: Array<GetFolderAssets_asset_item>;
355
+ animationGraphs?: Array<GetFolderAssets_asset_item>;
356
+ animationSequences?: Array<GetFolderAssets_asset_item>;
357
+ animationSets?: Array<GetFolderAssets_asset_item>;
358
+ cubemaps?: Array<GetFolderAssets_asset_item>;
359
+ eventMaps?: Array<GetFolderAssets_asset_item>;
360
+ materials?: Array<GetFolderAssets_asset_item>;
361
+ meshes?: Array<GetFolderAssets_asset_item>;
362
+ pointClouds?: Array<GetFolderAssets_asset_item>;
363
+ renderGraphs?: Array<GetFolderAssets_asset_item>;
364
+ scenes?: Array<GetFolderAssets_asset_item>;
365
+ scripts?: Array<GetFolderAssets_asset_item>;
366
+ shaders?: Array<GetFolderAssets_asset_item>;
367
+ skeletons?: Array<GetFolderAssets_asset_item>;
368
+ sounds?: Array<GetFolderAssets_asset_item>;
369
+ textures?: Array<GetFolderAssets_asset_item>;
370
+ volumeMaterials?: Array<GetFolderAssets_asset_item>;
371
+ };
372
+ export type GetFolderAssets_asset_item = {
373
+ asset_id: string;
374
+ asset_name: string;
375
+ };
376
+ export declare function getFolderAssets({ folder_id, offset, limit }: {
377
+ folder_id: string;
378
+ offset?: number;
379
+ limit?: number;
380
+ }): AxiosPromise<GetFolderAssets_asset_list>;
381
+ export declare function moveAssets({ folder_id, assetIds }: {
382
+ folder_id: string;
383
+ assetIds: Array<string>;
384
+ }): Promise<import("axios").AxiosResponse<any, any>>;
385
+ export type CreateAsset_Object = {
386
+ copy_from_asset_id: string;
387
+ };
388
+ export type CreateAsset_AssetDescription = {
389
+ name: string;
390
+ };
391
+ export type CreateAsset_asset_item = {
392
+ asset_id: string;
393
+ asset_name: string;
394
+ };
395
+ export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
396
+ folder_id: string;
397
+ asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
398
+ assetCreationOptions: StrictUnion<CreateAsset_Object | CreateAsset_AssetDescription> & any;
399
+ }): AxiosPromise<CreateAsset_asset_item>;
400
+ export type GetSessionsInFolder_Session = {
401
+ session_id: string;
402
+ scene_id: string;
403
+ scene_name: string;
404
+ folder_id: string;
405
+ max_users: number;
406
+ creator_user_id: string;
407
+ created_at: string;
408
+ country_code: string;
409
+ continent_code: string;
410
+ clients: Array<GetSessionsInFolder_UserInfo>;
411
+ };
412
+ export type GetSessionsInFolder_UserInfo = {
413
+ client_id?: string;
414
+ client_type?: StrictUnion<'user' | 'guest'>;
415
+ user_id: string;
416
+ username: string;
417
+ };
418
+ export declare function getSessionsInFolder({ folder_id }: {
419
+ folder_id: string;
420
+ }): AxiosPromise<Array<GetSessionsInFolder_Session>>;
421
+ export type ListSourceFiles_SourceFile = {
422
+ source_file_id?: string;
423
+ upload_task_id?: string;
424
+ source_file_original_name?: string;
425
+ source_file_name?: string;
426
+ size?: number;
427
+ };
428
+ export declare function listSourceFiles({ offset, limit }: {
429
+ offset?: number;
430
+ limit?: number;
431
+ }): AxiosPromise<Array<ListSourceFiles_SourceFile>>;
432
+ export declare function deleteSourceFiles({ sourceFileIds }: {
433
+ sourceFileIds: Array<string>;
434
+ }): Promise<import("axios").AxiosResponse<any, any>>;
435
+ export declare function downloadSourceFile({ source_file_id }: {
436
+ source_file_id: string;
437
+ }): AxiosPromise<ArrayBuffer>;
438
+ export type GetSourceFileDetails_SourceFile = {
439
+ source_file_id?: string;
440
+ upload_task_id?: string;
441
+ source_file_original_name?: string;
442
+ source_file_name?: string;
443
+ size?: number;
444
+ };
445
+ export declare function getSourceFileDetails({ source_file_id }: {
446
+ source_file_id: string;
447
+ }): AxiosPromise<GetSourceFileDetails_SourceFile>;
448
+ export declare function updateSourceFileDetails({ source_file_id, source_file_name }: {
449
+ source_file_id: string;
450
+ source_file_name?: string;
451
+ }): Promise<import("axios").AxiosResponse<any, any>>;
452
+ export type GetSourceFileAssets_asset_list = {
453
+ animations?: Array<GetSourceFileAssets_asset_item>;
454
+ animationGraphs?: Array<GetSourceFileAssets_asset_item>;
455
+ animationSequences?: Array<GetSourceFileAssets_asset_item>;
456
+ animationSets?: Array<GetSourceFileAssets_asset_item>;
457
+ cubemaps?: Array<GetSourceFileAssets_asset_item>;
458
+ eventMaps?: Array<GetSourceFileAssets_asset_item>;
459
+ materials?: Array<GetSourceFileAssets_asset_item>;
460
+ meshes?: Array<GetSourceFileAssets_asset_item>;
461
+ pointClouds?: Array<GetSourceFileAssets_asset_item>;
462
+ renderGraphs?: Array<GetSourceFileAssets_asset_item>;
463
+ scenes?: Array<GetSourceFileAssets_asset_item>;
464
+ scripts?: Array<GetSourceFileAssets_asset_item>;
465
+ shaders?: Array<GetSourceFileAssets_asset_item>;
466
+ skeletons?: Array<GetSourceFileAssets_asset_item>;
467
+ sounds?: Array<GetSourceFileAssets_asset_item>;
468
+ textures?: Array<GetSourceFileAssets_asset_item>;
469
+ volumeMaterials?: Array<GetSourceFileAssets_asset_item>;
470
+ };
471
+ export type GetSourceFileAssets_asset_item = {
472
+ asset_id: string;
473
+ asset_name: string;
474
+ };
475
+ export declare function getSourceFileAssets({ source_file_id }: {
476
+ source_file_id: string;
477
+ }): AxiosPromise<GetSourceFileAssets_asset_list>;
478
+ export type GetUploadTask_UploadTask = {
479
+ upload_task_id?: string;
480
+ folder_id?: string;
481
+ uploaded_at?: string;
482
+ uploaded_by?: string;
483
+ progress?: number;
484
+ status?: "waiting" | "pending" | "converting" | "error";
485
+ conversion_tasks?: Array<GetUploadTask_ConversionTask>;
486
+ };
487
+ export type GetUploadTask_ConversionTask = {
488
+ asset_id?: string;
489
+ source_file_id?: string;
490
+ conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
491
+ progress?: number;
492
+ status?: "waiting" | "pending" | "converting" | "error";
493
+ };
494
+ export declare function getUploadTask({ upload_task_id }: {
495
+ upload_task_id: string;
496
+ }): AxiosPromise<GetUploadTask_UploadTask>;
497
+ export type ListAssets_asset_list = {
498
+ animations?: Array<ListAssets_asset_item>;
499
+ animationGraphs?: Array<ListAssets_asset_item>;
500
+ animationSequences?: Array<ListAssets_asset_item>;
501
+ animationSets?: Array<ListAssets_asset_item>;
502
+ cubemaps?: Array<ListAssets_asset_item>;
503
+ eventMaps?: Array<ListAssets_asset_item>;
504
+ materials?: Array<ListAssets_asset_item>;
505
+ meshes?: Array<ListAssets_asset_item>;
506
+ pointClouds?: Array<ListAssets_asset_item>;
507
+ renderGraphs?: Array<ListAssets_asset_item>;
508
+ scenes?: Array<ListAssets_asset_item>;
509
+ scripts?: Array<ListAssets_asset_item>;
510
+ shaders?: Array<ListAssets_asset_item>;
511
+ skeletons?: Array<ListAssets_asset_item>;
512
+ sounds?: Array<ListAssets_asset_item>;
513
+ textures?: Array<ListAssets_asset_item>;
514
+ volumeMaterials?: Array<ListAssets_asset_item>;
515
+ };
516
+ export type ListAssets_asset_item = {
517
+ asset_id: string;
518
+ asset_name: string;
519
+ };
520
+ export declare function listAssets({ offset, limit }: {
521
+ offset?: number;
522
+ limit?: number;
523
+ }): AxiosPromise<ListAssets_asset_list>;
524
+ export declare function deleteAssets({ assetIds }: {
525
+ assetIds: Array<string>;
526
+ }): Promise<import("axios").AxiosResponse<any, any>>;
527
+ export declare function deleteAsset({ asset_container, asset_id }: {
528
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
529
+ asset_id: string;
530
+ }): Promise<import("axios").AxiosResponse<any, any>>;
531
+ export type GetAssetSourceFile_SourceFile = {
532
+ source_file_id?: string;
533
+ upload_task_id?: string;
534
+ source_file_original_name?: string;
535
+ source_file_name?: string;
536
+ size?: number;
537
+ };
538
+ export declare function getAssetSourceFile({ asset_container, asset_id }: {
539
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
540
+ asset_id: string;
541
+ }): AxiosPromise<GetAssetSourceFile_SourceFile>;
542
+ export type GetAssetDetails_asset_details = {
543
+ type: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
544
+ asset_id: string;
545
+ name: string;
546
+ created_at?: string;
547
+ created_by?: GetAssetDetails_Object;
548
+ last_edited_at?: string;
549
+ last_edited_by?: GetAssetDetails_Object;
550
+ contributors?: Array<GetAssetDetails_UserContribution>;
551
+ };
552
+ export type GetAssetDetails_Object = {
553
+ user_id: string;
554
+ username: string;
555
+ registered_at?: string;
556
+ };
557
+ export type GetAssetDetails_UserContribution = {
558
+ user: GetAssetDetails_Object;
559
+ contribution_count: number;
560
+ };
561
+ export declare function getAssetDetails({ asset_container, asset_id }: {
562
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
563
+ asset_id: string;
564
+ }): AxiosPromise<GetAssetDetails_asset_details>;
565
+ export type GetAssetFolder_Folder = {
566
+ folder_id: string;
567
+ parent_folder_id?: string;
568
+ folder_name: string;
569
+ created_at?: string;
570
+ created_by?: GetAssetFolder_Object;
571
+ subfolders?: Array<GetAssetFolder_Folder>;
572
+ source_file_count?: number;
573
+ asset_count?: number;
574
+ };
575
+ export type GetAssetFolder_Object = {
576
+ user_id: string;
577
+ username: string;
578
+ registered_at?: string;
579
+ };
580
+ export declare function getAssetFolder({ asset_container, asset_id }: {
581
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
582
+ asset_id: string;
583
+ }): AxiosPromise<GetAssetFolder_Folder>;
584
+ export type GetAssetDependencies_Filter = {
585
+ type?: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
586
+ };
587
+ export type GetAssetDependencies_Flat = {
588
+ animations?: Array<GetAssetDependencies_asset_item>;
589
+ animationGraphs?: Array<GetAssetDependencies_asset_item>;
590
+ animationSequences?: Array<GetAssetDependencies_asset_item>;
591
+ animationSets?: Array<GetAssetDependencies_asset_item>;
592
+ cubemaps?: Array<GetAssetDependencies_asset_item>;
593
+ eventMaps?: Array<GetAssetDependencies_asset_item>;
594
+ materials?: Array<GetAssetDependencies_asset_item>;
595
+ meshes?: Array<GetAssetDependencies_asset_item>;
596
+ pointClouds?: Array<GetAssetDependencies_asset_item>;
597
+ renderGraphs?: Array<GetAssetDependencies_asset_item>;
598
+ scenes?: Array<GetAssetDependencies_asset_item>;
599
+ scripts?: Array<GetAssetDependencies_asset_item>;
600
+ shaders?: Array<GetAssetDependencies_asset_item>;
601
+ skeletons?: Array<GetAssetDependencies_asset_item>;
602
+ sounds?: Array<GetAssetDependencies_asset_item>;
603
+ textures?: Array<GetAssetDependencies_asset_item>;
604
+ volumeMaterials?: Array<GetAssetDependencies_asset_item>;
605
+ };
606
+ export type GetAssetDependencies_asset_item = {
607
+ asset_id: string;
608
+ asset_name: string;
609
+ };
610
+ export declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
611
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
612
+ asset_id: string;
613
+ format?: StrictUnion<'flat' | 'graph'> & string;
614
+ depth?: StrictUnion<'all' | 'direct'> & string;
615
+ filter?: GetAssetDependencies_Filter;
616
+ }): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
617
+ export type GetAssetReferences_Object = {
618
+ body: GetAssetReferences_Object;
619
+ };
620
+ export declare function getAssetReferences({ asset_container, asset_id }: {
621
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
622
+ asset_id: string;
623
+ }): AxiosPromise<GetAssetReferences_Object>;
624
+ export type GetAssetDescription_Animation = {
625
+ durationInMs: number;
626
+ payloadSize: number;
627
+ animationEventTrack: GetAssetDescription_Object;
628
+ skeletonRef?: string;
629
+ };
630
+ export type GetAssetDescription_Object = {
631
+ eventNames?: Array<string>;
632
+ eventTimeline?: Array<GetAssetDescription_animation_event>;
633
+ };
634
+ export type GetAssetDescription_animation_event = {
635
+ eventIndex?: number;
636
+ triggerTime?: number;
637
+ triggerGlobally?: boolean;
638
+ };
639
+ export type GetAssetDescription_AnimationGraph = {
640
+ stateMachines?: Array<GetAssetDescription_animation_state_machine_description>;
641
+ inputDescriptor?: GetAssetDescription_Object;
642
+ };
643
+ export type GetAssetDescription_animation_state_machine_description = {
644
+ states?: Array<GetAssetDescription_animation_state_description>;
645
+ transitions?: Array<GetAssetDescription_transition_description>;
646
+ };
647
+ export type GetAssetDescription_animation_state_description = {
648
+ name?: string;
649
+ nodes?: Array<GetAssetDescription_animation_node_description>;
650
+ transitionIndices?: Array<number>;
651
+ };
652
+ export type GetAssetDescription_animation_node_description = {
653
+ nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
654
+ inputs?: Array<number>;
655
+ 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;
656
+ };
657
+ export type GetAssetDescription_playback_settings_animation_settings = {
658
+ playbackSpeed?: number;
659
+ startOffset?: number;
660
+ loop?: boolean;
661
+ animationKey?: number;
662
+ };
663
+ export type GetAssetDescription_blendspace_1d_settings_animation_settings = {
664
+ playbackSpeed?: number;
665
+ startOffset?: number;
666
+ loop?: boolean;
667
+ controlPoints?: Array<GetAssetDescription_blend_axis>;
668
+ horizontalAxis?: GetAssetDescription_Object;
669
+ };
670
+ export type GetAssetDescription_blend_axis = {
671
+ name?: string;
672
+ rangeMin?: number;
673
+ rangeMax?: number;
674
+ };
675
+ export type GetAssetDescription_blendspace_2d_settings_animation_settings = {
676
+ playbackSpeed?: number;
677
+ startOffset?: number;
678
+ loop?: boolean;
679
+ controlPoints?: Array<GetAssetDescription_blend_axis>;
680
+ horizontalAxis?: GetAssetDescription_Object;
681
+ verticalAxis?: GetAssetDescription_Object;
682
+ };
683
+ export type GetAssetDescription_blend_settings = {
684
+ weights?: Array<number>;
685
+ boneIndices?: Array<number>;
686
+ };
687
+ export type GetAssetDescription_random_settings = {
688
+ probabilities?: Array<number>;
689
+ };
690
+ export type GetAssetDescription_animation_state_machine_settings = {
691
+ stateMachineIndex?: number;
692
+ };
693
+ export type GetAssetDescription_ik_two_bone_settings = {
694
+ ws_poleVector?: Array<number>;
695
+ targetId?: string;
696
+ startJoint?: number;
697
+ midJoint?: number;
698
+ endJoint?: number;
699
+ soften?: number;
700
+ twistAngle?: number;
701
+ weight?: number;
702
+ };
703
+ export type GetAssetDescription_ik_aim_settings = {
704
+ targetNameId?: string;
705
+ aimingBoneId?: string;
706
+ chainLength?: number;
707
+ eyesOffset?: Array<number>;
708
+ chainWeight?: number;
709
+ boneWeight?: number;
710
+ };
711
+ export type GetAssetDescription_transition_description = {
712
+ durationInMs?: number;
713
+ exitTime?: number;
714
+ nextStateIndex?: number;
715
+ condition?: string;
716
+ };
717
+ export type GetAssetDescription_AnimationSequence = {
718
+ inputDescriptor: GetAssetDescription_Object;
719
+ };
720
+ export type GetAssetDescription_AnimationSet = {
721
+ animationSet: Array<GetAssetDescription_Object>;
722
+ animationGraphUUID: string;
723
+ };
724
+ export type GetAssetDescription_Cubemap = {
725
+ faces: Array<string>;
726
+ };
727
+ export type GetAssetDescription_EventMap = {
728
+ eventDescriptors: Array<GetAssetDescription_Object>;
729
+ };
730
+ export type GetAssetDescription_Material = {
731
+ shaderRef: string;
732
+ skinnedShaderRef: string;
733
+ dataJson: GetAssetDescription_Object;
734
+ isDoubleSided: boolean;
735
+ };
736
+ export type GetAssetDescription_Mesh = {
737
+ submeshes: Array<GetAssetDescription_submesh_description>;
738
+ payloadSize: number;
739
+ };
740
+ export type GetAssetDescription_submesh_description = {
741
+ boundingBox: GetAssetDescription_Object;
742
+ channels: Array<GetAssetDescription_channel_description>;
743
+ payloadSize: number;
744
+ indexCount: number;
745
+ vertexCount?: number;
746
+ };
747
+ export type GetAssetDescription_channel_description = {
748
+ semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
749
+ elementCount?: number;
750
+ elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
751
+ elementSize?: number;
752
+ dataOffset?: number;
753
+ dataSize?: number;
754
+ };
755
+ export type GetAssetDescription_PointCloud = {
756
+ format: "invalid" | "xyz32" | "xyz32_rgb8";
757
+ payloadTotalSize: number;
758
+ pointCount: number;
759
+ translation?: Array<number>;
760
+ scale?: Array<number>;
761
+ };
762
+ export type GetAssetDescription_RenderGraph = {
763
+ renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
764
+ nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
765
+ renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
766
+ graphOrder?: Array<GetAssetDescription_pair_int16_int16>;
767
+ inputDescriptor?: GetAssetDescription_Object;
768
+ stencilStates?: Array<GetAssetDescription_VkStencilOpState>;
769
+ blendStates?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>;
770
+ defaultRenderTargetIndex?: number;
771
+ occlusionInputDepthRenderTargetIndex?: number;
772
+ };
773
+ export type GetAssetDescription_render_target_description = {
774
+ name?: string;
775
+ format?: GetAssetDescription_Object;
776
+ sampleCount?: GetAssetDescription_Object;
777
+ usage?: GetAssetDescription_Object;
778
+ aspect?: GetAssetDescription_Object;
779
+ samplerType?: number;
780
+ mipLevels?: number;
781
+ extent?: GetAssetDescription_Object;
782
+ flags?: GetAssetDescription_Object;
783
+ tiling?: GetAssetDescription_Object;
784
+ memoryUsage?: GetAssetDescription_Object;
785
+ memoryType?: GetAssetDescription_Object;
786
+ };
787
+ export type GetAssetDescription_node_data_description = {
788
+ name?: string;
789
+ 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";
790
+ inputDepthRenderTargetIndices?: Array<number>;
791
+ outputDepthRenderTargetIndices?: Array<number>;
792
+ inputRenderTargetIndices?: Array<number>;
793
+ outputRenderTargetIndices?: Array<number>;
794
+ shaderRef?: GetAssetDescription_Object;
795
+ dataJson?: GetAssetDescription_Object;
796
+ aliases?: Array<any>;
797
+ 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";
798
+ pipelineDescription?: GetAssetDescription_Object;
799
+ copyToFaceIndex?: number;
800
+ drawIndirect?: boolean;
801
+ conditions?: Array<string>;
802
+ clearColors?: Array<GetAssetDescription_vec4>;
803
+ 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]]";
804
+ };
805
+ export type GetAssetDescription_vec4 = {
806
+ body: GetAssetDescription_Object;
807
+ };
808
+ export type GetAssetDescription_render_pass_description = {
809
+ name?: string;
810
+ sampleCount?: number;
811
+ nodeIndices?: Array<number>;
812
+ colorAttachmentIndices?: Array<number>;
813
+ depthAttachmentIndex?: number;
814
+ resolveAttachmentIndices?: Array<number>;
815
+ colorAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
816
+ depthAttachmentReference?: GetAssetDescription_Object;
817
+ resolveAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
818
+ attachmentDescriptions?: Array<GetAssetDescription_VkAttachmentDescription>;
819
+ attachmentClearColors?: Array<GetAssetDescription_vec4>;
820
+ };
821
+ export type GetAssetDescription_VkAttachmentReference = {
822
+ attachment?: number;
823
+ layout?: GetAssetDescription_Object;
824
+ };
825
+ export type GetAssetDescription_VkAttachmentDescription = {
826
+ flags?: GetAssetDescription_Object;
827
+ format?: GetAssetDescription_Object;
828
+ samples?: GetAssetDescription_Object;
829
+ loadOp?: GetAssetDescription_Object;
830
+ storeOp?: GetAssetDescription_Object;
831
+ stencilLoadOp?: GetAssetDescription_Object;
832
+ stencilStoreOp?: GetAssetDescription_Object;
833
+ initialLayout?: GetAssetDescription_Object;
834
+ finalLayout?: GetAssetDescription_Object;
835
+ };
836
+ export type GetAssetDescription_pair_int16_int16 = {
837
+ body: GetAssetDescription_Object;
838
+ };
839
+ export type GetAssetDescription_VkStencilOpState = {
840
+ failOp?: GetAssetDescription_Object;
841
+ passOp?: GetAssetDescription_Object;
842
+ depthFailOp?: GetAssetDescription_Object;
843
+ compareOp?: GetAssetDescription_Object;
844
+ compareMask?: number;
845
+ writeMask?: number;
846
+ reference?: number;
847
+ };
848
+ export type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
849
+ blendEnable?: boolean;
850
+ srcColorBlendFactor?: GetAssetDescription_Object;
851
+ dstColorBlendFactor?: GetAssetDescription_Object;
852
+ colorBlendOp?: GetAssetDescription_Object;
853
+ srcAlphaBlendFactor?: GetAssetDescription_Object;
854
+ dstAlphaBlendFactor?: GetAssetDescription_Object;
855
+ alphaBlendOp?: GetAssetDescription_Object;
856
+ colorWriteMask?: GetAssetDescription_Object;
857
+ };
858
+ export type GetAssetDescription_Scene = {
859
+ boundingBox?: GetAssetDescription_Object;
860
+ entities?: Array<GetAssetDescription_Object>;
861
+ triangleCount?: number;
862
+ settings?: GetAssetDescription_Object;
863
+ animationSequenceInstances?: Array<GetAssetDescription_animation_sequence_instance>;
864
+ };
865
+ export type GetAssetDescription_animation_sequence_instance = {
866
+ ref?: string;
867
+ entities?: Array<string>;
868
+ dataJSON?: GetAssetDescription_Object;
869
+ durationInMs?: number;
870
+ loop?: boolean;
871
+ };
872
+ export type GetAssetDescription_Script = {
873
+ inputDescriptor?: GetAssetDescription_Object;
874
+ eventNames: Array<string>;
875
+ subScripts?: Array<string>;
876
+ };
877
+ export type GetAssetDescription_Shader = {
878
+ payloadSize: number;
879
+ shaderStages?: number;
880
+ moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
881
+ materialDescriptor?: GetAssetDescription_Object;
882
+ nodeDataDescriptor?: GetAssetDescription_Object;
883
+ vertexDescriptor?: Array<GetAssetDescription_vertex_attribute_descriptor>;
884
+ blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
885
+ localGroupCount?: Array<number>;
886
+ optGlobalGroupMultiplier?: Array<number>;
887
+ optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
888
+ };
889
+ export type GetAssetDescription_shader_module_description = {
890
+ shaderStage?: GetAssetDescription_Object;
891
+ payloadOffset?: number;
892
+ payloadSize?: number;
893
+ usedBindings?: number;
894
+ };
895
+ export type GetAssetDescription_vertex_attribute_descriptor = {
896
+ semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
897
+ binding?: number;
898
+ location?: number;
899
+ stride?: number;
900
+ format?: GetAssetDescription_Object;
901
+ offset?: number;
902
+ };
903
+ export type GetAssetDescription_Skeleton = {
904
+ payloadSize: number;
905
+ bones: Array<GetAssetDescription_bone_description>;
906
+ };
907
+ export type GetAssetDescription_bone_description = {
908
+ name?: string;
909
+ childrenCount?: number;
910
+ firstChildIndex?: number;
911
+ parentIndex?: number;
912
+ offsetMatrix?: Array<number>;
913
+ };
914
+ export type GetAssetDescription_Sound = {
915
+ payloadSize: number;
916
+ sampleCount: number;
917
+ durationInMs: number;
918
+ sampleFrequencyInHz: number;
919
+ bitDepth: number;
920
+ channelCount: number;
921
+ };
922
+ export type GetAssetDescription_Texture = {
923
+ format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
924
+ payloadTotalSize: number;
925
+ mips: Array<GetAssetDescription_mip_description>;
926
+ };
927
+ export type GetAssetDescription_mip_description = {
928
+ dimension?: Array<number>;
929
+ payloadSize?: number;
930
+ };
931
+ export type GetAssetDescription_VolumeMaterial = {
932
+ albedoLUT?: Array<GetAssetDescription_control_point>;
933
+ opacityLUT?: Array<GetAssetDescription_control_point>;
934
+ metallicLUT?: Array<GetAssetDescription_control_point>;
935
+ roughnessLUT?: Array<GetAssetDescription_control_point>;
936
+ rangeMin?: number;
937
+ rangeMax?: number;
938
+ };
939
+ export type GetAssetDescription_control_point = {
940
+ key?: number;
941
+ value?: StrictUnion<Array<number> | number> & any;
942
+ };
943
+ export type GetAssetDescription_asset_description = {
944
+ uuid: string;
945
+ name: string;
946
+ };
947
+ export declare function getAssetDescription({ asset_container, asset_id }: {
948
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
949
+ asset_id: string;
950
+ }): 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>;
951
+ export type UpdateAssetDescription_Animation = {
952
+ durationInMs: number;
953
+ payloadSize: number;
954
+ animationEventTrack: UpdateAssetDescription_Object;
955
+ skeletonRef?: string;
956
+ };
957
+ export type UpdateAssetDescription_Object = {
958
+ eventNames?: Array<string>;
959
+ eventTimeline?: Array<UpdateAssetDescription_animation_event>;
960
+ };
961
+ export type UpdateAssetDescription_animation_event = {
962
+ eventIndex?: number;
963
+ triggerTime?: number;
964
+ triggerGlobally?: boolean;
965
+ };
966
+ export type UpdateAssetDescription_AnimationGraph = {
967
+ stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
968
+ inputDescriptor?: UpdateAssetDescription_Object;
969
+ };
970
+ export type UpdateAssetDescription_animation_state_machine_description = {
971
+ states?: Array<UpdateAssetDescription_animation_state_description>;
972
+ transitions?: Array<UpdateAssetDescription_transition_description>;
973
+ };
974
+ export type UpdateAssetDescription_animation_state_description = {
975
+ name?: string;
976
+ nodes?: Array<UpdateAssetDescription_animation_node_description>;
977
+ transitionIndices?: Array<number>;
978
+ };
979
+ export type UpdateAssetDescription_animation_node_description = {
980
+ nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
981
+ inputs?: Array<number>;
982
+ 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;
983
+ };
984
+ export type UpdateAssetDescription_playback_settings_animation_settings = {
985
+ playbackSpeed?: number;
986
+ startOffset?: number;
987
+ loop?: boolean;
988
+ animationKey?: number;
989
+ };
990
+ export type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {
991
+ playbackSpeed?: number;
992
+ startOffset?: number;
993
+ loop?: boolean;
994
+ controlPoints?: Array<UpdateAssetDescription_blend_axis>;
995
+ horizontalAxis?: UpdateAssetDescription_Object;
996
+ };
997
+ export type UpdateAssetDescription_blend_axis = {
998
+ name?: string;
999
+ rangeMin?: number;
1000
+ rangeMax?: number;
1001
+ };
1002
+ export type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {
1003
+ playbackSpeed?: number;
1004
+ startOffset?: number;
1005
+ loop?: boolean;
1006
+ controlPoints?: Array<UpdateAssetDescription_blend_axis>;
1007
+ horizontalAxis?: UpdateAssetDescription_Object;
1008
+ verticalAxis?: UpdateAssetDescription_Object;
1009
+ };
1010
+ export type UpdateAssetDescription_blend_settings = {
1011
+ weights?: Array<number>;
1012
+ boneIndices?: Array<number>;
1013
+ };
1014
+ export type UpdateAssetDescription_random_settings = {
1015
+ probabilities?: Array<number>;
1016
+ };
1017
+ export type UpdateAssetDescription_animation_state_machine_settings = {
1018
+ stateMachineIndex?: number;
1019
+ };
1020
+ export type UpdateAssetDescription_ik_two_bone_settings = {
1021
+ ws_poleVector?: Array<number>;
1022
+ targetId?: string;
1023
+ startJoint?: number;
1024
+ midJoint?: number;
1025
+ endJoint?: number;
1026
+ soften?: number;
1027
+ twistAngle?: number;
1028
+ weight?: number;
1029
+ };
1030
+ export type UpdateAssetDescription_ik_aim_settings = {
1031
+ targetNameId?: string;
1032
+ aimingBoneId?: string;
1033
+ chainLength?: number;
1034
+ eyesOffset?: Array<number>;
1035
+ chainWeight?: number;
1036
+ boneWeight?: number;
1037
+ };
1038
+ export type UpdateAssetDescription_transition_description = {
1039
+ durationInMs?: number;
1040
+ exitTime?: number;
1041
+ nextStateIndex?: number;
1042
+ condition?: string;
1043
+ };
1044
+ export type UpdateAssetDescription_AnimationSequence = {
1045
+ inputDescriptor: UpdateAssetDescription_Object;
1046
+ };
1047
+ export type UpdateAssetDescription_AnimationSet = {
1048
+ animationSet: Array<UpdateAssetDescription_Object>;
1049
+ animationGraphUUID: string;
1050
+ };
1051
+ export type UpdateAssetDescription_Cubemap = {
1052
+ faces: Array<string>;
1053
+ };
1054
+ export type UpdateAssetDescription_EventMap = {
1055
+ eventDescriptors: Array<UpdateAssetDescription_Object>;
1056
+ };
1057
+ export type UpdateAssetDescription_Material = {
1058
+ shaderRef: string;
1059
+ skinnedShaderRef: string;
1060
+ dataJson: UpdateAssetDescription_Object;
1061
+ isDoubleSided: boolean;
1062
+ };
1063
+ export type UpdateAssetDescription_Mesh = {
1064
+ submeshes: Array<UpdateAssetDescription_submesh_description>;
1065
+ payloadSize: number;
1066
+ };
1067
+ export type UpdateAssetDescription_submesh_description = {
1068
+ boundingBox: UpdateAssetDescription_Object;
1069
+ channels: Array<UpdateAssetDescription_channel_description>;
1070
+ payloadSize: number;
1071
+ indexCount: number;
1072
+ vertexCount?: number;
1073
+ };
1074
+ export type UpdateAssetDescription_channel_description = {
1075
+ semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
1076
+ elementCount?: number;
1077
+ elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
1078
+ elementSize?: number;
1079
+ dataOffset?: number;
1080
+ dataSize?: number;
1081
+ };
1082
+ export type UpdateAssetDescription_PointCloud = {
1083
+ format: "invalid" | "xyz32" | "xyz32_rgb8";
1084
+ payloadTotalSize: number;
1085
+ pointCount: number;
1086
+ translation?: Array<number>;
1087
+ scale?: Array<number>;
1088
+ };
1089
+ export type UpdateAssetDescription_RenderGraph = {
1090
+ renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
1091
+ nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
1092
+ renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
1093
+ graphOrder?: Array<UpdateAssetDescription_pair_int16_int16>;
1094
+ inputDescriptor?: UpdateAssetDescription_Object;
1095
+ stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
1096
+ blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
1097
+ defaultRenderTargetIndex?: number;
1098
+ occlusionInputDepthRenderTargetIndex?: number;
1099
+ };
1100
+ export type UpdateAssetDescription_render_target_description = {
1101
+ name?: string;
1102
+ format?: UpdateAssetDescription_Object;
1103
+ sampleCount?: UpdateAssetDescription_Object;
1104
+ usage?: UpdateAssetDescription_Object;
1105
+ aspect?: UpdateAssetDescription_Object;
1106
+ samplerType?: number;
1107
+ mipLevels?: number;
1108
+ extent?: UpdateAssetDescription_Object;
1109
+ flags?: UpdateAssetDescription_Object;
1110
+ tiling?: UpdateAssetDescription_Object;
1111
+ memoryUsage?: UpdateAssetDescription_Object;
1112
+ memoryType?: UpdateAssetDescription_Object;
1113
+ };
1114
+ export type UpdateAssetDescription_node_data_description = {
1115
+ name?: string;
1116
+ 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";
1117
+ inputDepthRenderTargetIndices?: Array<number>;
1118
+ outputDepthRenderTargetIndices?: Array<number>;
1119
+ inputRenderTargetIndices?: Array<number>;
1120
+ outputRenderTargetIndices?: Array<number>;
1121
+ shaderRef?: UpdateAssetDescription_Object;
1122
+ dataJson?: UpdateAssetDescription_Object;
1123
+ aliases?: Array<any>;
1124
+ 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";
1125
+ pipelineDescription?: UpdateAssetDescription_Object;
1126
+ copyToFaceIndex?: number;
1127
+ drawIndirect?: boolean;
1128
+ conditions?: Array<string>;
1129
+ clearColors?: Array<UpdateAssetDescription_vec4>;
1130
+ 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]]";
1131
+ };
1132
+ export type UpdateAssetDescription_vec4 = {
1133
+ body: UpdateAssetDescription_Object;
1134
+ };
1135
+ export type UpdateAssetDescription_render_pass_description = {
1136
+ name?: string;
1137
+ sampleCount?: number;
1138
+ nodeIndices?: Array<number>;
1139
+ colorAttachmentIndices?: Array<number>;
1140
+ depthAttachmentIndex?: number;
1141
+ resolveAttachmentIndices?: Array<number>;
1142
+ colorAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
1143
+ depthAttachmentReference?: UpdateAssetDescription_Object;
1144
+ resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
1145
+ attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
1146
+ attachmentClearColors?: Array<UpdateAssetDescription_vec4>;
1147
+ };
1148
+ export type UpdateAssetDescription_VkAttachmentReference = {
1149
+ attachment?: number;
1150
+ layout?: UpdateAssetDescription_Object;
1151
+ };
1152
+ export type UpdateAssetDescription_VkAttachmentDescription = {
1153
+ flags?: UpdateAssetDescription_Object;
1154
+ format?: UpdateAssetDescription_Object;
1155
+ samples?: UpdateAssetDescription_Object;
1156
+ loadOp?: UpdateAssetDescription_Object;
1157
+ storeOp?: UpdateAssetDescription_Object;
1158
+ stencilLoadOp?: UpdateAssetDescription_Object;
1159
+ stencilStoreOp?: UpdateAssetDescription_Object;
1160
+ initialLayout?: UpdateAssetDescription_Object;
1161
+ finalLayout?: UpdateAssetDescription_Object;
1162
+ };
1163
+ export type UpdateAssetDescription_pair_int16_int16 = {
1164
+ body: UpdateAssetDescription_Object;
1165
+ };
1166
+ export type UpdateAssetDescription_VkStencilOpState = {
1167
+ failOp?: UpdateAssetDescription_Object;
1168
+ passOp?: UpdateAssetDescription_Object;
1169
+ depthFailOp?: UpdateAssetDescription_Object;
1170
+ compareOp?: UpdateAssetDescription_Object;
1171
+ compareMask?: number;
1172
+ writeMask?: number;
1173
+ reference?: number;
1174
+ };
1175
+ export type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
1176
+ blendEnable?: boolean;
1177
+ srcColorBlendFactor?: UpdateAssetDescription_Object;
1178
+ dstColorBlendFactor?: UpdateAssetDescription_Object;
1179
+ colorBlendOp?: UpdateAssetDescription_Object;
1180
+ srcAlphaBlendFactor?: UpdateAssetDescription_Object;
1181
+ dstAlphaBlendFactor?: UpdateAssetDescription_Object;
1182
+ alphaBlendOp?: UpdateAssetDescription_Object;
1183
+ colorWriteMask?: UpdateAssetDescription_Object;
1184
+ };
1185
+ export type UpdateAssetDescription_Scene = {
1186
+ boundingBox?: UpdateAssetDescription_Object;
1187
+ entities?: Array<UpdateAssetDescription_Object>;
1188
+ triangleCount?: number;
1189
+ settings?: UpdateAssetDescription_Object;
1190
+ animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
1191
+ };
1192
+ export type UpdateAssetDescription_animation_sequence_instance = {
1193
+ ref?: string;
1194
+ entities?: Array<string>;
1195
+ dataJSON?: UpdateAssetDescription_Object;
1196
+ durationInMs?: number;
1197
+ loop?: boolean;
1198
+ };
1199
+ export type UpdateAssetDescription_Script = {
1200
+ inputDescriptor?: UpdateAssetDescription_Object;
1201
+ eventNames: Array<string>;
1202
+ subScripts?: Array<string>;
1203
+ };
1204
+ export type UpdateAssetDescription_Shader = {
1205
+ payloadSize: number;
1206
+ shaderStages?: number;
1207
+ moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
1208
+ materialDescriptor?: UpdateAssetDescription_Object;
1209
+ nodeDataDescriptor?: UpdateAssetDescription_Object;
1210
+ vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
1211
+ blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
1212
+ localGroupCount?: Array<number>;
1213
+ optGlobalGroupMultiplier?: Array<number>;
1214
+ optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
1215
+ };
1216
+ export type UpdateAssetDescription_shader_module_description = {
1217
+ shaderStage?: UpdateAssetDescription_Object;
1218
+ payloadOffset?: number;
1219
+ payloadSize?: number;
1220
+ usedBindings?: number;
1221
+ };
1222
+ export type UpdateAssetDescription_vertex_attribute_descriptor = {
1223
+ semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
1224
+ binding?: number;
1225
+ location?: number;
1226
+ stride?: number;
1227
+ format?: UpdateAssetDescription_Object;
1228
+ offset?: number;
1229
+ };
1230
+ export type UpdateAssetDescription_Skeleton = {
1231
+ payloadSize: number;
1232
+ bones: Array<UpdateAssetDescription_bone_description>;
1233
+ };
1234
+ export type UpdateAssetDescription_bone_description = {
1235
+ name?: string;
1236
+ childrenCount?: number;
1237
+ firstChildIndex?: number;
1238
+ parentIndex?: number;
1239
+ offsetMatrix?: Array<number>;
1240
+ };
1241
+ export type UpdateAssetDescription_Sound = {
1242
+ payloadSize: number;
1243
+ sampleCount: number;
1244
+ durationInMs: number;
1245
+ sampleFrequencyInHz: number;
1246
+ bitDepth: number;
1247
+ channelCount: number;
1248
+ };
1249
+ export type UpdateAssetDescription_Texture = {
1250
+ format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
1251
+ payloadTotalSize: number;
1252
+ mips: Array<UpdateAssetDescription_mip_description>;
1253
+ };
1254
+ export type UpdateAssetDescription_mip_description = {
1255
+ dimension?: Array<number>;
1256
+ payloadSize?: number;
1257
+ };
1258
+ export type UpdateAssetDescription_VolumeMaterial = {
1259
+ albedoLUT?: Array<UpdateAssetDescription_control_point>;
1260
+ opacityLUT?: Array<UpdateAssetDescription_control_point>;
1261
+ metallicLUT?: Array<UpdateAssetDescription_control_point>;
1262
+ roughnessLUT?: Array<UpdateAssetDescription_control_point>;
1263
+ rangeMin?: number;
1264
+ rangeMax?: number;
1265
+ };
1266
+ export type UpdateAssetDescription_control_point = {
1267
+ key?: number;
1268
+ value?: StrictUnion<Array<number> | number> & any;
1269
+ };
1270
+ export declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
1271
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1272
+ asset_id: string;
1273
+ 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;
1274
+ }): Promise<import("axios").AxiosResponse<any, any>>;
1275
+ export declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
1276
+ asset_container_with_payload: "animations" | "animationSequences" | "meshes" | "pointClouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures";
1277
+ asset_id: string;
1278
+ }): AxiosPromise<ArrayBuffer>;
1279
+ export type GetAssetHistory_Object = {
1280
+ body: GetAssetHistory_Object;
1281
+ };
1282
+ export declare function getAssetHistory({ asset_container, asset_id }: {
1283
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1284
+ asset_id: string;
1285
+ }): AxiosPromise<GetAssetHistory_Object>;
1286
+ export type GetAssetMeta_Object = {
1287
+ body: GetAssetMeta_Object;
1288
+ };
1289
+ export declare function getAssetMeta({ asset_container, asset_id }: {
1290
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1291
+ asset_id: string;
1292
+ }): AxiosPromise<GetAssetMeta_Object>;
1293
+ export declare function getAssetCode({ asset_container_with_code, asset_id }: {
1294
+ asset_container_with_code: "animationSequences" | "scripts" | "shaders";
1295
+ asset_id: string;
1296
+ }): AxiosPromise<string>;
1297
+ export declare function getAssetThumbnail({ asset_container, asset_id, size, default_url }: {
1298
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1299
+ asset_id: string;
1300
+ size: "large" | "medium" | "small" | "tiny";
1301
+ default_url?: string;
1302
+ }): Promise<import("axios").AxiosResponse<any, any>>;
1303
+ export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
1304
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1305
+ asset_id: string;
1306
+ body: ArrayBuffer;
1307
+ }, contentType: 'image/jpg' | 'image/png'): Promise<import("axios").AxiosResponse<any, any>>;
1308
+ export type GetAssetCustomTypes_Object = {
1309
+ body: GetAssetCustomTypes_Object;
1310
+ };
1311
+ export declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id }: {
1312
+ asset_container_with_custom_types: "modules";
1313
+ asset_id: string;
1314
+ }): AxiosPromise<GetAssetCustomTypes_Object>;
1315
+ export declare function packageAsset({ asset_container, asset_id }: {
1316
+ asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1317
+ asset_id: string;
1318
+ }): AxiosPromise<ArrayBuffer>;
1319
+ export declare function exportAsset({ asset_container_exportable, asset_id, format, scale }: {
1320
+ asset_container_exportable: "meshes" | "sounds";
1321
+ asset_id: string;
1322
+ format: "obj" | "stl";
1323
+ scale?: number;
1324
+ }): AxiosPromise<ArrayBuffer>;
1325
+ export type GetSceneSessions_Session = {
1326
+ session_id: string;
1327
+ scene_id: string;
1328
+ scene_name: string;
1329
+ folder_id: string;
1330
+ max_users: number;
1331
+ creator_user_id: string;
1332
+ created_at: string;
1333
+ country_code: string;
1334
+ continent_code: string;
1335
+ clients: Array<GetSceneSessions_UserInfo>;
1336
+ };
1337
+ export type GetSceneSessions_UserInfo = {
1338
+ client_id?: string;
1339
+ client_type?: StrictUnion<'user' | 'guest'>;
1340
+ user_id: string;
1341
+ username: string;
1342
+ };
1343
+ export declare function getSceneSessions({ scene_id }: {
1344
+ scene_id: string;
1345
+ }): AxiosPromise<Array<GetSceneSessions_Session>>;
1346
+ export type GetSceneAabb_Object = {
1347
+ max: Array<number>;
1348
+ min: Array<number>;
1349
+ };
1350
+ export declare function getSceneAABB({ scene_id }: {
1351
+ scene_id: string;
1352
+ }): AxiosPromise<GetSceneAabb_Object>;
1353
+ export type GetEntity_animation_controller = {
1354
+ animation_controller: GetEntity_AnimationController;
1355
+ };
1356
+ export type GetEntity_AnimationController = {
1357
+ animationGraphRef: string;
1358
+ animationSetRef: string;
1359
+ dataJSON: GetEntity_Json;
1360
+ rootBoneEntityRef: GetEntity_EntityReference;
1361
+ rootMotionEnabled: boolean;
1362
+ };
1363
+ export type GetEntity_Json = {
1364
+ json: GetEntity_Json;
1365
+ };
1366
+ export type GetEntity_EntityReference = {
1367
+ originalEUID: string;
1368
+ linkage: Array<string>;
1369
+ };
1370
+ export type GetEntity_bone = {
1371
+ bone: GetEntity_Bone;
1372
+ };
1373
+ export type GetEntity_Bone = {
1374
+ boneIndex: number;
1375
+ };
1376
+ export type GetEntity_box_geometry = {
1377
+ box_geometry: GetEntity_BoxGeometry;
1378
+ };
1379
+ export type GetEntity_BoxGeometry = {
1380
+ dimension?: Array<number>;
1381
+ isAdditive?: boolean;
1382
+ offset?: Array<number>;
1383
+ };
1384
+ export type GetEntity_camera = {
1385
+ camera: GetEntity_Camera;
1386
+ };
1387
+ export type GetEntity_Camera = {
1388
+ renderGraphRef: string;
1389
+ renderTargetIndex?: number;
1390
+ dataJSON: GetEntity_Json;
1391
+ };
1392
+ export type GetEntity_capsule_geometry = {
1393
+ capsule_geometry: GetEntity_CapsuleGeometry;
1394
+ };
1395
+ export type GetEntity_CapsuleGeometry = {
1396
+ radius?: number;
1397
+ height?: number;
1398
+ axis?: number;
1399
+ isAdditive?: boolean;
1400
+ offset?: Array<number>;
1401
+ };
1402
+ export type GetEntity_character_controller = {
1403
+ character_controller: GetEntity_CharacterController;
1404
+ };
1405
+ export type GetEntity_CharacterController = {
1406
+ stepOffset?: number;
1407
+ slopeLimit?: number;
1408
+ skinWidth?: number;
1409
+ velocity?: Array<number>;
1410
+ };
1411
+ export type GetEntity_collision_geometry_ref = {
1412
+ collision_geometry_ref: GetEntity_CollisionGeometryRef;
1413
+ };
1414
+ export type GetEntity_CollisionGeometryRef = {
1415
+ collisionGeometryRef: string;
1416
+ };
1417
+ export type GetEntity_cylinder_geometry = {
1418
+ cylinder_geometry: GetEntity_CylinderGeometry;
1419
+ };
1420
+ export type GetEntity_CylinderGeometry = {
1421
+ radius?: number;
1422
+ height?: number;
1423
+ axis?: number;
1424
+ isAdditive?: boolean;
1425
+ offset?: Array<number>;
1426
+ };
1427
+ export type GetEntity_debug_name = {
1428
+ debug_name: GetEntity_Name;
1429
+ };
1430
+ export type GetEntity_Name = {
1431
+ value: string;
1432
+ };
1433
+ export type GetEntity_decal_projector = {
1434
+ decal_projector: GetEntity_DecalProjector;
1435
+ };
1436
+ export type GetEntity_DecalProjector = {
1437
+ zIndex?: number;
1438
+ };
1439
+ export type GetEntity_environment = {
1440
+ environment: GetEntity_Environment;
1441
+ };
1442
+ export type GetEntity_Environment = {
1443
+ skyboxUUID: string;
1444
+ radianceUUID: string;
1445
+ irradianceUUID: string;
1446
+ };
1447
+ export type GetEntity_joint = {
1448
+ joint: GetEntity_Joint;
1449
+ };
1450
+ export type GetEntity_Joint = {
1451
+ constrainee: GetEntity_EntityReference;
1452
+ constrainer: GetEntity_EntityReference;
1453
+ breakForce?: number;
1454
+ breakTorque?: number;
1455
+ };
1456
+ export type GetEntity_lineage = {
1457
+ lineage: GetEntity_Lineage;
1458
+ };
1459
+ export type GetEntity_Lineage = {
1460
+ parentUUID: string;
1461
+ ordinal?: number;
1462
+ };
1463
+ export type GetEntity_local_aabb = {
1464
+ local_aabb: GetEntity_LocalAxisAlignedBoundingBox;
1465
+ };
1466
+ export type GetEntity_LocalAxisAlignedBoundingBox = {
1467
+ min: Array<number>;
1468
+ max: Array<number>;
1469
+ };
1470
+ export type GetEntity_local_transform = {
1471
+ local_transform: GetEntity_Transform;
1472
+ };
1473
+ export type GetEntity_Transform = {
1474
+ position?: Array<number>;
1475
+ orientation?: Array<number>;
1476
+ scale?: Array<number>;
1477
+ eulerOrientation?: Array<number>;
1478
+ globalEulerOrientation?: Array<number>;
1479
+ };
1480
+ export type GetEntity_material = {
1481
+ material: GetEntity_Material;
1482
+ };
1483
+ export type GetEntity_Material = {
1484
+ shaderRef: string;
1485
+ transparencyMode: number;
1486
+ isDoubleSided: boolean;
1487
+ dataJSON: GetEntity_Json;
1488
+ };
1489
+ export type GetEntity_material_ref = {
1490
+ material_ref: GetEntity_MaterialReference;
1491
+ };
1492
+ export type GetEntity_MaterialReference = {
1493
+ value: string;
1494
+ faceCulling?: number;
1495
+ };
1496
+ export type GetEntity_mesh_ref = {
1497
+ mesh_ref: GetEntity_MeshReference;
1498
+ };
1499
+ export type GetEntity_MeshReference = {
1500
+ value: string;
1501
+ submeshIndex?: number;
1502
+ };
1503
+ export type GetEntity_orthographic_lens = {
1504
+ orthographic_lens: GetEntity_OrthographicLens;
1505
+ };
1506
+ export type GetEntity_OrthographicLens = {
1507
+ left?: number;
1508
+ right?: number;
1509
+ top?: number;
1510
+ bottom?: number;
1511
+ zNear?: number;
1512
+ zFar?: number;
1513
+ };
1514
+ export type GetEntity_overrider = {
1515
+ overrider: GetEntity_Overrider;
1516
+ };
1517
+ export type GetEntity_Overrider = {
1518
+ deleter?: boolean;
1519
+ entityRef: GetEntity_EntityReference;
1520
+ componentsToDetach: Array<number>;
1521
+ };
1522
+ export type GetEntity_perspective_lens = {
1523
+ perspective_lens: GetEntity_PerspectiveLens;
1524
+ };
1525
+ export type GetEntity_PerspectiveLens = {
1526
+ aspectRatio?: number;
1527
+ fovy?: number;
1528
+ nearPlane?: number;
1529
+ farPlane?: number;
1530
+ };
1531
+ export type GetEntity_physics_material = {
1532
+ physics_material: GetEntity_PhysicsMaterial;
1533
+ };
1534
+ export type GetEntity_PhysicsMaterial = {
1535
+ staticFriction?: number;
1536
+ dynamicFriction?: number;
1537
+ restitution?: number;
1538
+ isTrigger?: boolean;
1539
+ };
1540
+ export type GetEntity_plane_geometry = {
1541
+ plane_geometry: GetEntity_PlaneGeometry;
1542
+ };
1543
+ export type GetEntity_PlaneGeometry = {
1544
+ distance?: number;
1545
+ normal?: Array<number>;
1546
+ };
1547
+ export type GetEntity_point_cloud_ref = {
1548
+ point_cloud_ref: GetEntity_PointCloudReference;
1549
+ };
1550
+ export type GetEntity_PointCloudReference = {
1551
+ value: string;
1552
+ };
1553
+ export type GetEntity_point_light = {
1554
+ point_light: GetEntity_Light;
1555
+ };
1556
+ export type GetEntity_Light = {
1557
+ color?: Array<number>;
1558
+ intensity?: number;
1559
+ range?: number;
1560
+ isDirectional?: boolean;
1561
+ isSun?: boolean;
1562
+ };
1563
+ export type GetEntity_reflection_probe = {
1564
+ reflection_probe: GetEntity_ReflectionProbe;
1565
+ };
1566
+ export type GetEntity_ReflectionProbe = {
1567
+ offset?: Array<number>;
1568
+ nearDist?: number;
1569
+ farDist?: number;
1570
+ quality?: number;
1571
+ };
1572
+ export type GetEntity_revolute_joint = {
1573
+ revolute_joint: GetEntity_RevoluteJoint;
1574
+ };
1575
+ export type GetEntity_RevoluteJoint = {
1576
+ axis?: Array<number>;
1577
+ anchor?: Array<number>;
1578
+ };
1579
+ export type GetEntity_rigid_body = {
1580
+ rigid_body: GetEntity_RigidBody;
1581
+ };
1582
+ export type GetEntity_RigidBody = {
1583
+ mass?: number;
1584
+ linearDamping?: number;
1585
+ angularDamping?: number;
1586
+ friction?: number;
1587
+ rollingFriction?: number;
1588
+ spinningFriction?: number;
1589
+ restitution?: number;
1590
+ linearSleepingThreshold?: number;
1591
+ angularSleepingThreshold?: number;
1592
+ isKinematic?: boolean;
1593
+ };
1594
+ export type GetEntity_scene_ref = {
1595
+ scene_ref: GetEntity_SceneReference;
1596
+ };
1597
+ export type GetEntity_SceneReference = {
1598
+ value: string;
1599
+ maxRecursionCount?: number;
1600
+ };
1601
+ export type GetEntity_script_element = {
1602
+ script_element: GetEntity_ScriptElement;
1603
+ };
1604
+ export type GetEntity_ScriptElement = {
1605
+ scriptRef: string;
1606
+ dataJSON: GetEntity_Json;
1607
+ };
1608
+ export type GetEntity_script_map = {
1609
+ script_map: GetEntity_ScriptMap;
1610
+ };
1611
+ export type GetEntity_ScriptMap = {
1612
+ elements: GetEntity_MapScriptElement;
1613
+ };
1614
+ export type GetEntity_MapScriptElement = {
1615
+ mapScriptElement: GetEntity_MapScriptElement;
1616
+ };
1617
+ export type GetEntity_shadow_caster = {
1618
+ shadow_caster: GetEntity_ShadowCaster;
1619
+ };
1620
+ export type GetEntity_ShadowCaster = {
1621
+ bias?: number;
1622
+ nearDist?: number;
1623
+ farDist?: number;
1624
+ quality?: number;
1625
+ accumulateShadowCascades?: boolean;
1626
+ };
1627
+ export type GetEntity_entity_components_skeleton_ref = {
1628
+ skeleton_ref: GetEntity_SkeletonReference;
1629
+ };
1630
+ export type GetEntity_SkeletonReference = {
1631
+ value: string;
1632
+ };
1633
+ export type GetEntity_sound_ref = {
1634
+ sound_ref: GetEntity_SoundReference;
1635
+ };
1636
+ export type GetEntity_SoundReference = {
1637
+ value: string;
1638
+ volume?: number;
1639
+ pan?: number;
1640
+ playSpeed?: number;
1641
+ looping?: boolean;
1642
+ };
1643
+ export type GetEntity_sphere_geometry = {
1644
+ sphere_geometry: GetEntity_SphereGeometry;
1645
+ };
1646
+ export type GetEntity_SphereGeometry = {
1647
+ radius?: number;
1648
+ isAdditive?: boolean;
1649
+ offset?: Array<number>;
1650
+ };
1651
+ export type GetEntity_spot_light = {
1652
+ spot_light: GetEntity_SpotLight;
1653
+ };
1654
+ export type GetEntity_SpotLight = {
1655
+ cutoff?: number;
1656
+ IESProfile: string;
1657
+ };
1658
+ export type GetEntity_stereoscopic_lens = {
1659
+ stereoscopic_lens: GetEntity_StereoscopicPerspectiveLens;
1660
+ };
1661
+ export type GetEntity_StereoscopicPerspectiveLens = {
1662
+ angleLeft?: number;
1663
+ angleRight?: number;
1664
+ angleUp?: number;
1665
+ angleDown?: number;
1666
+ nearPlane?: number;
1667
+ farPlane?: number;
1668
+ aspectRatio?: number;
1669
+ };
1670
+ export type GetEntity_tags = {
1671
+ tags: GetEntity_Tags;
1672
+ };
1673
+ export type GetEntity_Tags = {
1674
+ value: Array<string>;
1675
+ };
1676
+ export type GetEntity_volume_filter = {
1677
+ volume_filter: GetEntity_VolumeFilter;
1678
+ };
1679
+ export type GetEntity_VolumeFilter = {
1680
+ range?: Array<number>;
1681
+ applyGaussianFiltering?: boolean;
1682
+ sampleUnfiltered?: boolean;
1683
+ enableMPR?: boolean;
1684
+ enable3D?: boolean;
1685
+ };
1686
+ export type GetEntity_volume_material_ref = {
1687
+ volume_material_ref: GetEntity_VolumeMaterialReference;
1688
+ };
1689
+ export type GetEntity_VolumeMaterialReference = {
1690
+ value: string;
1691
+ };
1692
+ export type GetEntity_volume_ref = {
1693
+ volume_ref: GetEntity_VolumeReference;
1694
+ };
1695
+ export type GetEntity_VolumeReference = {
1696
+ texture3dRef: string;
1697
+ };
1698
+ export type GetEntity_Entity = {
1699
+ euid: GetEntity_EntityUid;
1700
+ };
1701
+ export type GetEntity_EntityUid = {
1702
+ value: string;
1703
+ };
1704
+ export declare function getEntity({ scene_id, entity_id, compute_global_transform }: {
1705
+ scene_id: string;
1706
+ entity_id: string;
1707
+ compute_global_transform?: boolean;
1708
+ }): 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>;
1709
+ export type UpdateEntity_animation_controller = {
1710
+ animation_controller: UpdateEntity_AnimationController;
1711
+ };
1712
+ export type UpdateEntity_AnimationController = {
1713
+ animationGraphRef: string;
1714
+ animationSetRef: string;
1715
+ dataJSON: UpdateEntity_Json;
1716
+ rootBoneEntityRef: UpdateEntity_EntityReference;
1717
+ rootMotionEnabled: boolean;
1718
+ };
1719
+ export type UpdateEntity_Json = {
1720
+ json: UpdateEntity_Json;
1721
+ };
1722
+ export type UpdateEntity_EntityReference = {
1723
+ originalEUID: string;
1724
+ linkage: Array<string>;
1725
+ };
1726
+ export type UpdateEntity_bone = {
1727
+ bone: UpdateEntity_Bone;
1728
+ };
1729
+ export type UpdateEntity_Bone = {
1730
+ boneIndex: number;
1731
+ };
1732
+ export type UpdateEntity_box_geometry = {
1733
+ box_geometry: UpdateEntity_BoxGeometry;
1734
+ };
1735
+ export type UpdateEntity_BoxGeometry = {
1736
+ dimension?: Array<number>;
1737
+ isAdditive?: boolean;
1738
+ offset?: Array<number>;
1739
+ };
1740
+ export type UpdateEntity_camera = {
1741
+ camera: UpdateEntity_Camera;
1742
+ };
1743
+ export type UpdateEntity_Camera = {
1744
+ renderGraphRef: string;
1745
+ renderTargetIndex?: number;
1746
+ dataJSON: UpdateEntity_Json;
1747
+ };
1748
+ export type UpdateEntity_capsule_geometry = {
1749
+ capsule_geometry: UpdateEntity_CapsuleGeometry;
1750
+ };
1751
+ export type UpdateEntity_CapsuleGeometry = {
1752
+ radius?: number;
1753
+ height?: number;
1754
+ axis?: number;
1755
+ isAdditive?: boolean;
1756
+ offset?: Array<number>;
1757
+ };
1758
+ export type UpdateEntity_character_controller = {
1759
+ character_controller: UpdateEntity_CharacterController;
1760
+ };
1761
+ export type UpdateEntity_CharacterController = {
1762
+ stepOffset?: number;
1763
+ slopeLimit?: number;
1764
+ skinWidth?: number;
1765
+ velocity?: Array<number>;
1766
+ };
1767
+ export type UpdateEntity_collision_geometry_ref = {
1768
+ collision_geometry_ref: UpdateEntity_CollisionGeometryRef;
1769
+ };
1770
+ export type UpdateEntity_CollisionGeometryRef = {
1771
+ collisionGeometryRef: string;
1772
+ };
1773
+ export type UpdateEntity_cylinder_geometry = {
1774
+ cylinder_geometry: UpdateEntity_CylinderGeometry;
1775
+ };
1776
+ export type UpdateEntity_CylinderGeometry = {
1777
+ radius?: number;
1778
+ height?: number;
1779
+ axis?: number;
1780
+ isAdditive?: boolean;
1781
+ offset?: Array<number>;
1782
+ };
1783
+ export type UpdateEntity_debug_name = {
1784
+ debug_name: UpdateEntity_Name;
1785
+ };
1786
+ export type UpdateEntity_Name = {
1787
+ value: string;
1788
+ };
1789
+ export type UpdateEntity_decal_projector = {
1790
+ decal_projector: UpdateEntity_DecalProjector;
1791
+ };
1792
+ export type UpdateEntity_DecalProjector = {
1793
+ zIndex?: number;
1794
+ };
1795
+ export type UpdateEntity_environment = {
1796
+ environment: UpdateEntity_Environment;
1797
+ };
1798
+ export type UpdateEntity_Environment = {
1799
+ skyboxUUID: string;
1800
+ radianceUUID: string;
1801
+ irradianceUUID: string;
1802
+ };
1803
+ export type UpdateEntity_joint = {
1804
+ joint: UpdateEntity_Joint;
1805
+ };
1806
+ export type UpdateEntity_Joint = {
1807
+ constrainee: UpdateEntity_EntityReference;
1808
+ constrainer: UpdateEntity_EntityReference;
1809
+ breakForce?: number;
1810
+ breakTorque?: number;
1811
+ };
1812
+ export type UpdateEntity_lineage = {
1813
+ lineage: UpdateEntity_Lineage;
1814
+ };
1815
+ export type UpdateEntity_Lineage = {
1816
+ parentUUID: string;
1817
+ ordinal?: number;
1818
+ };
1819
+ export type UpdateEntity_local_aabb = {
1820
+ local_aabb: UpdateEntity_LocalAxisAlignedBoundingBox;
1821
+ };
1822
+ export type UpdateEntity_LocalAxisAlignedBoundingBox = {
1823
+ min: Array<number>;
1824
+ max: Array<number>;
1825
+ };
1826
+ export type UpdateEntity_local_transform = {
1827
+ local_transform: UpdateEntity_Transform;
1828
+ };
1829
+ export type UpdateEntity_Transform = {
1830
+ position?: Array<number>;
1831
+ orientation?: Array<number>;
1832
+ scale?: Array<number>;
1833
+ eulerOrientation?: Array<number>;
1834
+ globalEulerOrientation?: Array<number>;
1835
+ };
1836
+ export type UpdateEntity_material = {
1837
+ material: UpdateEntity_Material;
1838
+ };
1839
+ export type UpdateEntity_Material = {
1840
+ shaderRef: string;
1841
+ transparencyMode: number;
1842
+ isDoubleSided: boolean;
1843
+ dataJSON: UpdateEntity_Json;
1844
+ };
1845
+ export type UpdateEntity_material_ref = {
1846
+ material_ref: UpdateEntity_MaterialReference;
1847
+ };
1848
+ export type UpdateEntity_MaterialReference = {
1849
+ value: string;
1850
+ faceCulling?: number;
1851
+ };
1852
+ export type UpdateEntity_mesh_ref = {
1853
+ mesh_ref: UpdateEntity_MeshReference;
1854
+ };
1855
+ export type UpdateEntity_MeshReference = {
1856
+ value: string;
1857
+ submeshIndex?: number;
1858
+ };
1859
+ export type UpdateEntity_orthographic_lens = {
1860
+ orthographic_lens: UpdateEntity_OrthographicLens;
1861
+ };
1862
+ export type UpdateEntity_OrthographicLens = {
1863
+ left?: number;
1864
+ right?: number;
1865
+ top?: number;
1866
+ bottom?: number;
1867
+ zNear?: number;
1868
+ zFar?: number;
1869
+ };
1870
+ export type UpdateEntity_overrider = {
1871
+ overrider: UpdateEntity_Overrider;
1872
+ };
1873
+ export type UpdateEntity_Overrider = {
1874
+ deleter?: boolean;
1875
+ entityRef: UpdateEntity_EntityReference;
1876
+ componentsToDetach: Array<number>;
1877
+ };
1878
+ export type UpdateEntity_perspective_lens = {
1879
+ perspective_lens: UpdateEntity_PerspectiveLens;
1880
+ };
1881
+ export type UpdateEntity_PerspectiveLens = {
1882
+ aspectRatio?: number;
1883
+ fovy?: number;
1884
+ nearPlane?: number;
1885
+ farPlane?: number;
1886
+ };
1887
+ export type UpdateEntity_physics_material = {
1888
+ physics_material: UpdateEntity_PhysicsMaterial;
1889
+ };
1890
+ export type UpdateEntity_PhysicsMaterial = {
1891
+ staticFriction?: number;
1892
+ dynamicFriction?: number;
1893
+ restitution?: number;
1894
+ isTrigger?: boolean;
1895
+ };
1896
+ export type UpdateEntity_plane_geometry = {
1897
+ plane_geometry: UpdateEntity_PlaneGeometry;
1898
+ };
1899
+ export type UpdateEntity_PlaneGeometry = {
1900
+ distance?: number;
1901
+ normal?: Array<number>;
1902
+ };
1903
+ export type UpdateEntity_point_cloud_ref = {
1904
+ point_cloud_ref: UpdateEntity_PointCloudReference;
1905
+ };
1906
+ export type UpdateEntity_PointCloudReference = {
1907
+ value: string;
1908
+ };
1909
+ export type UpdateEntity_point_light = {
1910
+ point_light: UpdateEntity_Light;
1911
+ };
1912
+ export type UpdateEntity_Light = {
1913
+ color?: Array<number>;
1914
+ intensity?: number;
1915
+ range?: number;
1916
+ isDirectional?: boolean;
1917
+ isSun?: boolean;
1918
+ };
1919
+ export type UpdateEntity_reflection_probe = {
1920
+ reflection_probe: UpdateEntity_ReflectionProbe;
1921
+ };
1922
+ export type UpdateEntity_ReflectionProbe = {
1923
+ offset?: Array<number>;
1924
+ nearDist?: number;
1925
+ farDist?: number;
1926
+ quality?: number;
1927
+ };
1928
+ export type UpdateEntity_revolute_joint = {
1929
+ revolute_joint: UpdateEntity_RevoluteJoint;
1930
+ };
1931
+ export type UpdateEntity_RevoluteJoint = {
1932
+ axis?: Array<number>;
1933
+ anchor?: Array<number>;
1934
+ };
1935
+ export type UpdateEntity_rigid_body = {
1936
+ rigid_body: UpdateEntity_RigidBody;
1937
+ };
1938
+ export type UpdateEntity_RigidBody = {
1939
+ mass?: number;
1940
+ linearDamping?: number;
1941
+ angularDamping?: number;
1942
+ friction?: number;
1943
+ rollingFriction?: number;
1944
+ spinningFriction?: number;
1945
+ restitution?: number;
1946
+ linearSleepingThreshold?: number;
1947
+ angularSleepingThreshold?: number;
1948
+ isKinematic?: boolean;
1949
+ };
1950
+ export type UpdateEntity_scene_ref = {
1951
+ scene_ref: UpdateEntity_SceneReference;
1952
+ };
1953
+ export type UpdateEntity_SceneReference = {
1954
+ value: string;
1955
+ maxRecursionCount?: number;
1956
+ };
1957
+ export type UpdateEntity_script_element = {
1958
+ script_element: UpdateEntity_ScriptElement;
1959
+ };
1960
+ export type UpdateEntity_ScriptElement = {
1961
+ scriptRef: string;
1962
+ dataJSON: UpdateEntity_Json;
1963
+ };
1964
+ export type UpdateEntity_script_map = {
1965
+ script_map: UpdateEntity_ScriptMap;
1966
+ };
1967
+ export type UpdateEntity_ScriptMap = {
1968
+ elements: UpdateEntity_MapScriptElement;
1969
+ };
1970
+ export type UpdateEntity_MapScriptElement = {
1971
+ mapScriptElement: UpdateEntity_MapScriptElement;
1972
+ };
1973
+ export type UpdateEntity_shadow_caster = {
1974
+ shadow_caster: UpdateEntity_ShadowCaster;
1975
+ };
1976
+ export type UpdateEntity_ShadowCaster = {
1977
+ bias?: number;
1978
+ nearDist?: number;
1979
+ farDist?: number;
1980
+ quality?: number;
1981
+ accumulateShadowCascades?: boolean;
1982
+ };
1983
+ export type UpdateEntity_entity_components_skeleton_ref = {
1984
+ skeleton_ref: UpdateEntity_SkeletonReference;
1985
+ };
1986
+ export type UpdateEntity_SkeletonReference = {
1987
+ value: string;
1988
+ };
1989
+ export type UpdateEntity_sound_ref = {
1990
+ sound_ref: UpdateEntity_SoundReference;
1991
+ };
1992
+ export type UpdateEntity_SoundReference = {
1993
+ value: string;
1994
+ volume?: number;
1995
+ pan?: number;
1996
+ playSpeed?: number;
1997
+ looping?: boolean;
1998
+ };
1999
+ export type UpdateEntity_sphere_geometry = {
2000
+ sphere_geometry: UpdateEntity_SphereGeometry;
2001
+ };
2002
+ export type UpdateEntity_SphereGeometry = {
2003
+ radius?: number;
2004
+ isAdditive?: boolean;
2005
+ offset?: Array<number>;
2006
+ };
2007
+ export type UpdateEntity_spot_light = {
2008
+ spot_light: UpdateEntity_SpotLight;
2009
+ };
2010
+ export type UpdateEntity_SpotLight = {
2011
+ cutoff?: number;
2012
+ IESProfile: string;
2013
+ };
2014
+ export type UpdateEntity_stereoscopic_lens = {
2015
+ stereoscopic_lens: UpdateEntity_StereoscopicPerspectiveLens;
2016
+ };
2017
+ export type UpdateEntity_StereoscopicPerspectiveLens = {
2018
+ angleLeft?: number;
2019
+ angleRight?: number;
2020
+ angleUp?: number;
2021
+ angleDown?: number;
2022
+ nearPlane?: number;
2023
+ farPlane?: number;
2024
+ aspectRatio?: number;
2025
+ };
2026
+ export type UpdateEntity_tags = {
2027
+ tags: UpdateEntity_Tags;
2028
+ };
2029
+ export type UpdateEntity_Tags = {
2030
+ value: Array<string>;
2031
+ };
2032
+ export type UpdateEntity_volume_filter = {
2033
+ volume_filter: UpdateEntity_VolumeFilter;
2034
+ };
2035
+ export type UpdateEntity_VolumeFilter = {
2036
+ range?: Array<number>;
2037
+ applyGaussianFiltering?: boolean;
2038
+ sampleUnfiltered?: boolean;
2039
+ enableMPR?: boolean;
2040
+ enable3D?: boolean;
2041
+ };
2042
+ export type UpdateEntity_volume_material_ref = {
2043
+ volume_material_ref: UpdateEntity_VolumeMaterialReference;
2044
+ };
2045
+ export type UpdateEntity_VolumeMaterialReference = {
2046
+ value: string;
2047
+ };
2048
+ export type UpdateEntity_volume_ref = {
2049
+ volume_ref: UpdateEntity_VolumeReference;
2050
+ };
2051
+ export type UpdateEntity_VolumeReference = {
2052
+ texture3dRef: string;
2053
+ };
2054
+ export type UpdateEntity_Entity = {
2055
+ euid: UpdateEntity_EntityUid;
2056
+ };
2057
+ export type UpdateEntity_EntityUid = {
2058
+ value: string;
2059
+ };
2060
+ export declare function updateEntity({ scene_id, entity_id, entity }: {
2061
+ scene_id: string;
2062
+ entity_id: string;
2063
+ entity: (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) & UpdateEntity_Entity;
2064
+ }): Promise<import("axios").AxiosResponse<any, any>>;
2065
+ export declare function deleteEntity({ scene_id, entity_id }: {
2066
+ scene_id: string;
2067
+ entity_id: string;
2068
+ }): Promise<import("axios").AxiosResponse<any, any>>;
2069
+ export type CreateSession_Object = {
2070
+ session_id?: string;
2071
+ };
2072
+ export declare function createSession({ scene_id }: {
2073
+ scene_id?: string;
2074
+ }): AxiosPromise<CreateSession_Object>;
2075
+ export type GetSession_Session = {
2076
+ session_id: string;
2077
+ scene_id: string;
2078
+ scene_name: string;
2079
+ folder_id: string;
2080
+ max_users: number;
2081
+ creator_user_id: string;
2082
+ created_at: string;
2083
+ country_code: string;
2084
+ continent_code: string;
2085
+ clients: Array<GetSession_UserInfo>;
2086
+ };
2087
+ export type GetSession_UserInfo = {
2088
+ client_id?: string;
2089
+ client_type?: StrictUnion<'user' | 'guest'>;
2090
+ user_id: string;
2091
+ username: string;
2092
+ };
2093
+ export declare function getSession({ session_id }: {
2094
+ session_id: string;
2095
+ }): AxiosPromise<GetSession_Session>;
2096
+ export declare function killSession({ session_id }: {
2097
+ session_id: string;
2098
+ }): Promise<import("axios").AxiosResponse<any, any>>;
2099
+ export type JoinSession_SessionToken = {
2100
+ session_token?: string;
2101
+ endpoint_info?: JoinSession_Object;
2102
+ };
2103
+ export type JoinSession_Object = {
2104
+ ip?: string;
2105
+ port?: number;
2106
+ ssl_port?: number;
2107
+ };
2108
+ export declare function joinSession({ session_id }: {
2109
+ session_id: string;
2110
+ }): AxiosPromise<JoinSession_SessionToken>;
2111
+ export declare function kickClientFromSession({ session_id, client_id }: {
2112
+ session_id: string;
2113
+ client_id: string;
2114
+ }): Promise<import("axios").AxiosResponse<any, any>>;
2115
+ export type JoinSessionAsGuest_SessionToken = {
2116
+ session_token?: string;
2117
+ endpoint_info?: JoinSessionAsGuest_Object;
2118
+ };
2119
+ export type JoinSessionAsGuest_Object = {
2120
+ ip?: string;
2121
+ port?: number;
2122
+ ssl_port?: number;
2123
+ };
2124
+ export declare function joinSessionAsGuest(): AxiosPromise<JoinSessionAsGuest_SessionToken>;
2125
+ export type GenerateGuestToken_GuestToken = {
2126
+ guest_token?: string;
2127
+ };
2128
+ export declare function generateGuestToken({ session_id }: {
2129
+ session_id: string;
2130
+ }): AxiosPromise<GenerateGuestToken_GuestToken>;
2131
+ export {};