@3dverse/api 0.0.4 → 0.1.0

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