@3dverse/api 0.8.7 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_prebuild/wrapper.d.ts +89 -89
- package/dist/index.d.ts +0 -6
- package/dist/index.js +17 -16
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +17 -16
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
@@ -23,7 +23,7 @@
|
|
23
23
|
* This file has been generated automatically from its OpenAPI spec file.
|
24
24
|
* See: https://gitlab.com/3dverse/platform/libs/js/openapi-client-library-generator
|
25
25
|
*/
|
26
|
-
import { AxiosPromise,
|
26
|
+
import { AxiosPromise, AxiosRequestHeaders, AxiosProgressEvent } from 'axios';
|
27
27
|
type UnionKeys<T> = T extends T ? keyof T : never;
|
28
28
|
type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
29
29
|
type StrictUnion<T> = StrictUnionHelper<T, T>;
|
@@ -40,7 +40,7 @@ export type ListUsers_User_UserInfo = {
|
|
40
40
|
export declare function listUsers({ offset, limit, }: {
|
41
41
|
offset?: number;
|
42
42
|
limit?: number;
|
43
|
-
}, headers?:
|
43
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<ListUsers_User_UserInfo>>;
|
44
44
|
export type RegisterUser_User_UserInfo = {
|
45
45
|
user_id: string;
|
46
46
|
username: string;
|
@@ -51,7 +51,7 @@ export type RegisterUser_User_UserInfo = {
|
|
51
51
|
*/
|
52
52
|
export declare function registerUser({ username, }: {
|
53
53
|
username: string;
|
54
|
-
}, headers?:
|
54
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<RegisterUser_User_UserInfo>;
|
55
55
|
export type GetUser_User_UserInfo = {
|
56
56
|
user_id: string;
|
57
57
|
username: string;
|
@@ -62,14 +62,14 @@ export type GetUser_User_UserInfo = {
|
|
62
62
|
*/
|
63
63
|
export declare function getUser({ user_id, }: {
|
64
64
|
user_id: string;
|
65
|
-
}, headers?:
|
65
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetUser_User_UserInfo>;
|
66
66
|
/**
|
67
67
|
* Updates the details of the target user.
|
68
68
|
*/
|
69
69
|
export declare function updateUser({ user_id, username, }: {
|
70
70
|
user_id: string;
|
71
71
|
username: string;
|
72
|
-
}, headers?:
|
72
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
73
73
|
export type DeleteUser_Object = {
|
74
74
|
deleted_assets?: DeleteUser_Object;
|
75
75
|
};
|
@@ -78,11 +78,11 @@ export type DeleteUser_Object = {
|
|
78
78
|
*/
|
79
79
|
export declare function deleteUser({ user_id, }: {
|
80
80
|
user_id: string;
|
81
|
-
}, headers?:
|
81
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<DeleteUser_Object>;
|
82
82
|
export type GenerateUserToken_Token = {
|
83
|
-
user_token
|
84
|
-
expires_in
|
85
|
-
expires_on
|
83
|
+
user_token: string;
|
84
|
+
expires_in: number;
|
85
|
+
expires_on: number;
|
86
86
|
};
|
87
87
|
/**
|
88
88
|
* Generates a user token. This user token identifies the user when making a request.
|
@@ -91,7 +91,7 @@ export declare function generateUserToken({ user_id, scope, ttl, }: {
|
|
91
91
|
user_id: string;
|
92
92
|
scope: 'read' | 'write' | 'manage';
|
93
93
|
ttl?: string;
|
94
|
-
}, headers?:
|
94
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GenerateUserToken_Token>;
|
95
95
|
export type GetUserGroups_Group_GroupInfo = {
|
96
96
|
group_id: string;
|
97
97
|
name: string;
|
@@ -110,7 +110,7 @@ export type GetUserGroups_GroupMember_GroupAccess = {
|
|
110
110
|
*/
|
111
111
|
export declare function getUserGroups({ user_id, }: {
|
112
112
|
user_id: string;
|
113
|
-
}, headers?:
|
113
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetUserGroups_Group_GroupInfo>>;
|
114
114
|
export type GetUserUploadTasks_UploadTask = {
|
115
115
|
upload_task_id: string;
|
116
116
|
folder_id: string;
|
@@ -129,7 +129,7 @@ export type GetUserUploadTasks_ConversionTask = {
|
|
129
129
|
asset_id: string;
|
130
130
|
source_file_id: string;
|
131
131
|
source_file_name: string;
|
132
|
-
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation'
|
132
|
+
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation';
|
133
133
|
progress: number;
|
134
134
|
status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;
|
135
135
|
};
|
@@ -140,7 +140,7 @@ export declare function getUserUploadTasks({ user_id, offset, limit, }: {
|
|
140
140
|
user_id: string;
|
141
141
|
offset?: number;
|
142
142
|
limit?: number;
|
143
|
-
}, headers?:
|
143
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetUserUploadTasks_UploadTask>>;
|
144
144
|
export type CreateGroup_GroupMember_GroupAccess = {
|
145
145
|
user_id: string;
|
146
146
|
group_access: 'read' | 'write' | 'manage';
|
@@ -166,7 +166,7 @@ export declare function createGroup({ name, description, members, }: {
|
|
166
166
|
name: string;
|
167
167
|
description?: string;
|
168
168
|
members: Array<CreateGroup_GroupMember_GroupAccess>;
|
169
|
-
}, headers?:
|
169
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateGroup_Group_GroupInfo>;
|
170
170
|
export type GetGroup_Group_GroupInfo = {
|
171
171
|
group_id: string;
|
172
172
|
name: string;
|
@@ -185,7 +185,7 @@ export type GetGroup_GroupMember_GroupAccess = {
|
|
185
185
|
*/
|
186
186
|
export declare function getGroup({ group_id, }: {
|
187
187
|
group_id: string;
|
188
|
-
}, headers?:
|
188
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetGroup_Group_GroupInfo>;
|
189
189
|
/**
|
190
190
|
* Updates a group details.
|
191
191
|
*/
|
@@ -193,13 +193,13 @@ export declare function updateGroupDescription({ group_id, name, description, }:
|
|
193
193
|
group_id: string;
|
194
194
|
name: string;
|
195
195
|
description: string;
|
196
|
-
}, headers?:
|
196
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
197
197
|
/**
|
198
198
|
* Deletes a group and all its access rights.
|
199
199
|
*/
|
200
200
|
export declare function deleteGroup({ group_id, }: {
|
201
201
|
group_id: string;
|
202
|
-
}, headers?:
|
202
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
203
203
|
/**
|
204
204
|
* Grants member access to the group.
|
205
205
|
*/
|
@@ -209,7 +209,7 @@ export declare function grantMemberAccessToGroup({ group_id, member_type, member
|
|
209
209
|
member_id: string;
|
210
210
|
group_access: 'read' | 'write' | 'manage';
|
211
211
|
folder_access: 'read' | 'write' | 'manage';
|
212
|
-
}, headers?:
|
212
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
213
213
|
/**
|
214
214
|
* Revoke requested user access to group.
|
215
215
|
*/
|
@@ -217,7 +217,7 @@ export declare function revokeMemberAccessToGroup({ group_id, member_type, membe
|
|
217
217
|
group_id: string;
|
218
218
|
member_type: 'users' | 'groups';
|
219
219
|
member_id: string;
|
220
|
-
}, headers?:
|
220
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
221
221
|
export type ListFolders_Folder = {
|
222
222
|
folder_id: string;
|
223
223
|
parent_folder_id?: string;
|
@@ -239,7 +239,7 @@ export type ListFolders_Object = {
|
|
239
239
|
export declare function listFolders({ offset, limit, }: {
|
240
240
|
offset?: number;
|
241
241
|
limit?: number;
|
242
|
-
}, headers?:
|
242
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<ListFolders_Folder>>;
|
243
243
|
export type CreateFolder_Folder = {
|
244
244
|
name: string;
|
245
245
|
subfolders?: Array<CreateFolder_Folder>;
|
@@ -265,7 +265,7 @@ export type CreateFolder_Object = {
|
|
265
265
|
export declare function createFolder({ name, subfolders, }: {
|
266
266
|
name: string;
|
267
267
|
subfolders?: Array<CreateFolder_Folder>;
|
268
|
-
}, headers?:
|
268
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateFolder_Folder_Writable>;
|
269
269
|
export type GetFolderInfo_Folder = {
|
270
270
|
folder_id: string;
|
271
271
|
parent_folder_id?: string;
|
@@ -286,27 +286,27 @@ export type GetFolderInfo_Object = {
|
|
286
286
|
*/
|
287
287
|
export declare function getFolderInfo({ folder_id, }: {
|
288
288
|
folder_id: string;
|
289
|
-
}, headers?:
|
289
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetFolderInfo_Folder>;
|
290
290
|
/**
|
291
291
|
* Move folders inside the specified folder.
|
292
292
|
*/
|
293
293
|
export declare function moveFolders({ folder_id, folder_ids, }: {
|
294
294
|
folder_id: string;
|
295
295
|
folder_ids: Array<string>;
|
296
|
-
}, headers?:
|
296
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
297
297
|
/**
|
298
298
|
* Updates the folder details.
|
299
299
|
*/
|
300
300
|
export declare function updateFolder({ folder_id, name, }: {
|
301
301
|
folder_id: string;
|
302
302
|
name?: string;
|
303
|
-
}, headers?:
|
303
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
304
304
|
/**
|
305
305
|
* Deletes the requested folder. The target folder must be empty.
|
306
306
|
*/
|
307
307
|
export declare function deleteFolder({ folder_id, }: {
|
308
308
|
folder_id: string;
|
309
|
-
}, headers?:
|
309
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
310
310
|
export type ListFolderAccesses_Object = {
|
311
311
|
users?: Array<ListFolderAccesses_UserInfo_FolderAccess>;
|
312
312
|
groups?: Array<ListFolderAccesses_GroupInfo_FolderAccess>;
|
@@ -326,7 +326,7 @@ export type ListFolderAccesses_GroupInfo_FolderAccess = {
|
|
326
326
|
*/
|
327
327
|
export declare function listFolderAccesses({ folder_id, }: {
|
328
328
|
folder_id: string;
|
329
|
-
}, headers?:
|
329
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<ListFolderAccesses_Object>;
|
330
330
|
/**
|
331
331
|
* Grants member access to the targeted folder.
|
332
332
|
*/
|
@@ -335,7 +335,7 @@ export declare function grantMemberAccessToFolder({ folder_id, member_type, memb
|
|
335
335
|
member_type: 'users' | 'groups';
|
336
336
|
member_id: string;
|
337
337
|
access: 'read' | 'write' | 'manage';
|
338
|
-
}, headers?:
|
338
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
339
339
|
/**
|
340
340
|
* Revokes member access to a target folder.
|
341
341
|
*/
|
@@ -343,7 +343,7 @@ export declare function revokeMemberAccessToFolder({ folder_id, member_type, mem
|
|
343
343
|
folder_id: string;
|
344
344
|
member_type: 'users' | 'groups';
|
345
345
|
member_id: string;
|
346
|
-
}, headers?:
|
346
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
347
347
|
export type CreateSubfolder_Folder = {
|
348
348
|
name: string;
|
349
349
|
subfolders?: Array<CreateSubfolder_Folder>;
|
@@ -370,7 +370,7 @@ export declare function createSubfolder({ folder_id, name, subfolders, }: {
|
|
370
370
|
folder_id: string;
|
371
371
|
name: string;
|
372
372
|
subfolders?: Array<CreateSubfolder_Folder>;
|
373
|
-
}, headers?:
|
373
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateSubfolder_Folder_Writable>;
|
374
374
|
export type ListFolderSubFolders_Folder = {
|
375
375
|
folder_id: string;
|
376
376
|
parent_folder_id?: string;
|
@@ -391,7 +391,7 @@ export type ListFolderSubFolders_Object = {
|
|
391
391
|
*/
|
392
392
|
export declare function listFolderSubFolders({ folder_id, }: {
|
393
393
|
folder_id: string;
|
394
|
-
}, headers?:
|
394
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<ListFolderSubFolders_Folder>>;
|
395
395
|
export type UploadSourceFiles_Object = {
|
396
396
|
upload_task_id?: string;
|
397
397
|
};
|
@@ -401,7 +401,7 @@ export type UploadSourceFiles_Object = {
|
|
401
401
|
export declare function uploadSourceFiles({ folder_id, body, }: {
|
402
402
|
folder_id: string;
|
403
403
|
body: FormData;
|
404
|
-
}, headers?:
|
404
|
+
}, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void, headers?: AxiosRequestHeaders): AxiosPromise<UploadSourceFiles_Object>;
|
405
405
|
export type GetSourceFilesInFolder_Filters = {
|
406
406
|
source_file_name?: string;
|
407
407
|
};
|
@@ -419,14 +419,14 @@ export declare function getSourceFilesInFolder({ folder_id, offset, limit, filte
|
|
419
419
|
offset?: number;
|
420
420
|
limit?: number;
|
421
421
|
filters?: GetSourceFilesInFolder_Filters;
|
422
|
-
}, headers?:
|
422
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>;
|
423
423
|
/**
|
424
424
|
* Move source files inside the specified folder.
|
425
425
|
*/
|
426
426
|
export declare function moveSourceFiles({ folder_id, source_file_ids, }: {
|
427
427
|
folder_id: string;
|
428
428
|
source_file_ids: Array<string>;
|
429
|
-
}, headers?:
|
429
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
430
430
|
export type GetUploadTasksInFolder_UploadTask = {
|
431
431
|
upload_task_id: string;
|
432
432
|
folder_id: string;
|
@@ -445,7 +445,7 @@ export type GetUploadTasksInFolder_ConversionTask = {
|
|
445
445
|
asset_id: string;
|
446
446
|
source_file_id: string;
|
447
447
|
source_file_name: string;
|
448
|
-
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation'
|
448
|
+
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation';
|
449
449
|
progress: number;
|
450
450
|
status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;
|
451
451
|
};
|
@@ -456,7 +456,7 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit, }: {
|
|
456
456
|
folder_id: string;
|
457
457
|
offset?: number;
|
458
458
|
limit?: number;
|
459
|
-
}, headers?:
|
459
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
460
460
|
export type GetFolderAssets_Filters = {
|
461
461
|
asset_name?: string;
|
462
462
|
asset_type?: Array<'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
|
@@ -504,7 +504,7 @@ export declare function getFolderAssets({ folder_id, offset, limit, filter, recu
|
|
504
504
|
limit?: number;
|
505
505
|
filter?: GetFolderAssets_Filters;
|
506
506
|
recursive?: boolean;
|
507
|
-
}, headers?:
|
507
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
|
508
508
|
export type CreateAsset_NewAsset = {
|
509
509
|
asset_type: 'action_map' | 'algorithm' | 'animation_graph' | 'animation_sequence' | 'cubemap' | 'event_map' | 'material' | 'module' | 'render_graph' | 'scene' | 'script' | 'shader' | 'volume_material';
|
510
510
|
name: string;
|
@@ -533,14 +533,14 @@ export type CreateAsset_SourceToCopyAssetIdMap = {
|
|
533
533
|
export declare function createAsset({ folder_id, asset_creation_options, }: {
|
534
534
|
folder_id: string;
|
535
535
|
asset_creation_options: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
|
536
|
-
}, headers?:
|
536
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateAsset_AssetDuplicationResult>;
|
537
537
|
/**
|
538
538
|
* Move assets inside the specified folder.
|
539
539
|
*/
|
540
540
|
export declare function moveAssets({ folder_id, asset_ids, }: {
|
541
541
|
folder_id: string;
|
542
542
|
asset_ids: Array<string>;
|
543
|
-
}, headers?:
|
543
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
544
544
|
export type CreateMaterial_Object = {
|
545
545
|
asset_id: string;
|
546
546
|
};
|
@@ -553,7 +553,7 @@ export declare function createMaterial({ folder_id, dataJson, isDoubleSided, nam
|
|
553
553
|
isDoubleSided: boolean;
|
554
554
|
name: string;
|
555
555
|
shaderRef: string;
|
556
|
-
}, headers?:
|
556
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateMaterial_Object>;
|
557
557
|
export type CreateCubemap_Object = {
|
558
558
|
asset_id: string;
|
559
559
|
};
|
@@ -564,7 +564,7 @@ export declare function createCubemap({ folder_id, faces, name, }: {
|
|
564
564
|
folder_id: string;
|
565
565
|
faces: Array<string>;
|
566
566
|
name: string;
|
567
|
-
}, headers?:
|
567
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateCubemap_Object>;
|
568
568
|
export type ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse = {
|
569
569
|
asset_ids: ImportAssets_AssetIds;
|
570
570
|
skipped_files?: Array<string>;
|
@@ -612,7 +612,7 @@ export declare function importAssets({ folder_id, overwrite, body, }: {
|
|
612
612
|
folder_id: string;
|
613
613
|
overwrite?: StrictUnion<'never' | 'only-specified' | 'always'>;
|
614
614
|
body: ArrayBuffer | ReadableStream;
|
615
|
-
}, headers?:
|
615
|
+
}, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void, headers?: AxiosRequestHeaders): AxiosPromise<ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse>;
|
616
616
|
export type GetSessionsInFolder_Session = {
|
617
617
|
session_id: string;
|
618
618
|
scene_id: string;
|
@@ -637,7 +637,7 @@ export type GetSessionsInFolder_Client_UserInfo = {
|
|
637
637
|
*/
|
638
638
|
export declare function getSessionsInFolder({ folder_id, }: {
|
639
639
|
folder_id: string;
|
640
|
-
}, headers?:
|
640
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetSessionsInFolder_Session>>;
|
641
641
|
export type ListSourceFiles_Filters = {
|
642
642
|
source_file_name?: string;
|
643
643
|
};
|
@@ -654,20 +654,20 @@ export declare function listSourceFiles({ offset, limit, filters, }: {
|
|
654
654
|
offset?: number;
|
655
655
|
limit?: number;
|
656
656
|
filters?: ListSourceFiles_Filters;
|
657
|
-
}, headers?:
|
657
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<ListSourceFiles_SourceFile>>;
|
658
658
|
/**
|
659
659
|
* Deletes the target source files. Deleting a source file is permanent.
|
660
660
|
*/
|
661
661
|
export declare function deleteSourceFiles({ source_file_ids, delete_assets, }: {
|
662
662
|
source_file_ids: Array<string>;
|
663
663
|
delete_assets?: boolean;
|
664
|
-
}, headers?:
|
664
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
665
665
|
/**
|
666
666
|
* Downloads the target source file.
|
667
667
|
*/
|
668
668
|
export declare function downloadSourceFile<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ source_file_id, }: {
|
669
669
|
source_file_id: string;
|
670
|
-
}, headers?:
|
670
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
671
671
|
export type GetSourceFileDetails_SourceFile = {
|
672
672
|
source_file_id: string;
|
673
673
|
source_file_original_name: string;
|
@@ -679,14 +679,14 @@ export type GetSourceFileDetails_SourceFile = {
|
|
679
679
|
*/
|
680
680
|
export declare function getSourceFileDetails({ source_file_id, }: {
|
681
681
|
source_file_id: string;
|
682
|
-
}, headers?:
|
682
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetSourceFileDetails_SourceFile>;
|
683
683
|
/**
|
684
684
|
* Updates details for a specific source file.
|
685
685
|
*/
|
686
686
|
export declare function updateSourceFileDetails({ source_file_id, name, }: {
|
687
687
|
source_file_id: string;
|
688
688
|
name: string;
|
689
|
-
}, headers?:
|
689
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
690
690
|
export type GetSourceFileAssets__index_AssetList_AssetList = {
|
691
691
|
action_maps?: Array<GetSourceFileAssets_Object>;
|
692
692
|
algorithms?: Array<GetSourceFileAssets_Object>;
|
@@ -721,14 +721,14 @@ export type GetSourceFileAssets_Object = {
|
|
721
721
|
*/
|
722
722
|
export declare function getSourceFileAssets({ source_file_id, }: {
|
723
723
|
source_file_id: string;
|
724
|
-
}, headers?:
|
724
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList>;
|
725
725
|
/**
|
726
726
|
* Lists all upload tasks. These upload tasks relate to uploaded source files.
|
727
727
|
*/
|
728
728
|
export declare function getUploadTasks({ offset, limit, }: {
|
729
729
|
offset?: number;
|
730
730
|
limit?: number;
|
731
|
-
}, headers?:
|
731
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<any>;
|
732
732
|
export type GetUploadTask_UploadTask = {
|
733
733
|
upload_task_id: string;
|
734
734
|
folder_id: string;
|
@@ -747,7 +747,7 @@ export type GetUploadTask_ConversionTask = {
|
|
747
747
|
asset_id: string;
|
748
748
|
source_file_id: string;
|
749
749
|
source_file_name: string;
|
750
|
-
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation'
|
750
|
+
conversion_pipeline: 'auto-detect' | 'volume' | 'scene' | 'texture' | 'animation';
|
751
751
|
progress: number;
|
752
752
|
status: StrictUnion<'pending' | 'converting' | 'error' | 'success'> & string;
|
753
753
|
};
|
@@ -756,14 +756,14 @@ export type GetUploadTask_ConversionTask = {
|
|
756
756
|
*/
|
757
757
|
export declare function getUploadTask({ upload_task_id, }: {
|
758
758
|
upload_task_id: string;
|
759
|
-
}, headers?:
|
759
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetUploadTask_UploadTask>;
|
760
760
|
/**
|
761
761
|
* Gets metadata related to a conversion task. This metadata is produced by the conversion task.
|
762
762
|
*/
|
763
763
|
export declare function getConversionTaskMetadata<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ conversion_task_id, filename, }: {
|
764
764
|
conversion_task_id: string;
|
765
765
|
filename: string;
|
766
|
-
}, headers?:
|
766
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
767
767
|
export type ListAssets_Filter = {
|
768
768
|
asset_type?: Array<'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'> | 'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
|
769
769
|
asset_name?: string;
|
@@ -805,20 +805,20 @@ export declare function listAssets({ offset, limit, filter, }: {
|
|
805
805
|
offset?: number;
|
806
806
|
limit?: number;
|
807
807
|
filter?: ListAssets_Filter;
|
808
|
-
}, headers?:
|
808
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<ListAssets__index_AssetList_AssetList>;
|
809
809
|
/**
|
810
810
|
* Batch delete assets. You **MUST NOT** reference assets.
|
811
811
|
*/
|
812
812
|
export declare function deleteAssets({ asset_ids, }: {
|
813
813
|
asset_ids: Array<string>;
|
814
|
-
}, headers?:
|
814
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
815
815
|
/**
|
816
816
|
* Deletes the asset.
|
817
817
|
*/
|
818
818
|
export declare function deleteAsset({ asset_container, asset_id, }: {
|
819
819
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
820
820
|
asset_id: string;
|
821
|
-
}, headers?:
|
821
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
822
822
|
export type GetAssetSourceFile_SourceFile = {
|
823
823
|
source_file_id: string;
|
824
824
|
source_file_original_name: string;
|
@@ -831,7 +831,7 @@ export type GetAssetSourceFile_SourceFile = {
|
|
831
831
|
export declare function getAssetSourceFile({ asset_container, asset_id, }: {
|
832
832
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
833
833
|
asset_id: string;
|
834
|
-
}, headers?:
|
834
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetSourceFile_SourceFile>;
|
835
835
|
export type GetAssetDetails__index_AssetDetails_AssetDetails = {
|
836
836
|
asset_id: string;
|
837
837
|
contributors?: Array<GetAssetDetails_Contributor>;
|
@@ -862,7 +862,7 @@ export type GetAssetDetails_LastEditedBy = {
|
|
862
862
|
export declare function getAssetDetails({ asset_container, asset_id, }: {
|
863
863
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
864
864
|
asset_id: string;
|
865
|
-
}, headers?:
|
865
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails>;
|
866
866
|
export type GetAssetFolder_Folder = {
|
867
867
|
folder_id: string;
|
868
868
|
parent_folder_id?: string;
|
@@ -884,7 +884,7 @@ export type GetAssetFolder_Object = {
|
|
884
884
|
export declare function getAssetFolder({ asset_container, asset_id, }: {
|
885
885
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
886
886
|
asset_id: string;
|
887
|
-
}, headers?:
|
887
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetFolder_Folder>;
|
888
888
|
export type GetAssetDependencies_Filter = {
|
889
889
|
with_asset_types?: Array<'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
|
890
890
|
without_asset_types?: Array<'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material'>;
|
@@ -922,7 +922,7 @@ export declare function getAssetDependencies({ asset_container, asset_id, offset
|
|
922
922
|
depth?: 'all' | 'direct' | number;
|
923
923
|
filters?: GetAssetDependencies_Filter;
|
924
924
|
properties?: Array<StrictUnion<'name' | 'dependencies' | 'count' | 'public' | 'payload_info'>>;
|
925
|
-
}, headers?:
|
925
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetAssetDependencies_Asset>>;
|
926
926
|
export type GetAssetReferences_Asset = {
|
927
927
|
asset_id: string;
|
928
928
|
asset_type: 'action_map' | 'algorithm' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'skeleton' | 'sound' | 'texture' | 'texture_1d' | 'texture_3d' | 'volume_material';
|
@@ -942,7 +942,7 @@ export declare function getAssetReferences({ asset_container, asset_id, offset,
|
|
942
942
|
offset?: number;
|
943
943
|
limit?: number;
|
944
944
|
properties?: Array<StrictUnion<'name' | 'count' | 'public'>>;
|
945
|
-
}, headers?:
|
945
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetAssetReferences_Asset>>;
|
946
946
|
export type GetAssetDescription_ActionMap = {
|
947
947
|
actions: GetAssetDescription_Object;
|
948
948
|
name: string;
|
@@ -979,7 +979,7 @@ export type GetAssetDescription_AnimationSequence = {
|
|
979
979
|
export type GetAssetDescription_AnimationSet = {
|
980
980
|
animationGraphUUID: string;
|
981
981
|
animationSet: Array<GetAssetDescription_Object>;
|
982
|
-
boneMaskSet
|
982
|
+
boneMaskSet?: Array<GetAssetDescription_Object>;
|
983
983
|
name: string;
|
984
984
|
uuid: string;
|
985
985
|
};
|
@@ -1144,7 +1144,7 @@ export type GetAssetDescription_VolumeMaterial = {
|
|
1144
1144
|
export declare function getAssetDescription({ asset_container, asset_id, }: {
|
1145
1145
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1146
1146
|
asset_id: string;
|
1147
|
-
}, headers?:
|
1147
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Algorithm | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial>>;
|
1148
1148
|
/**
|
1149
1149
|
* Updates asset description. Supports only updating name.
|
1150
1150
|
*/
|
@@ -1152,7 +1152,7 @@ export declare function renameAsset({ asset_container, asset_id, name, }: {
|
|
1152
1152
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1153
1153
|
asset_id: string;
|
1154
1154
|
name?: string;
|
1155
|
-
}, headers?:
|
1155
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
1156
1156
|
/**
|
1157
1157
|
* Gets the asset payload from the specified asset.
|
1158
1158
|
*/
|
@@ -1160,28 +1160,28 @@ export declare function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'js
|
|
1160
1160
|
asset_container_with_payload: 'animations' | 'animation_sequences' | 'collision_geometries' | 'meshes' | 'point_clouds' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d';
|
1161
1161
|
asset_id: string;
|
1162
1162
|
sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;
|
1163
|
-
}, headers?:
|
1163
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
1164
1164
|
/**
|
1165
1165
|
* Gets the asset history from the specified asset.
|
1166
1166
|
*/
|
1167
1167
|
export declare function getAssetHistory({ asset_container, asset_id, }: {
|
1168
1168
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1169
1169
|
asset_id: string;
|
1170
|
-
}, headers?:
|
1170
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
1171
1171
|
/**
|
1172
1172
|
* Gets the asset metadata from the specified asset.
|
1173
1173
|
*/
|
1174
1174
|
export declare function getAssetMeta({ asset_container, asset_id, }: {
|
1175
1175
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1176
1176
|
asset_id: string;
|
1177
|
-
}, headers?:
|
1177
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
1178
1178
|
/**
|
1179
1179
|
* Gets the code of the specified asset.
|
1180
1180
|
*/
|
1181
1181
|
export declare function getAssetCode({ asset_container_with_code, asset_id, }: {
|
1182
1182
|
asset_container_with_code: 'algorithms' | 'animation_sequences' | 'modules' | 'scripts' | 'shaders';
|
1183
1183
|
asset_id: string;
|
1184
|
-
}, headers?:
|
1184
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<string>;
|
1185
1185
|
/**
|
1186
1186
|
* Gets the asset thumbnail from the specified asset.
|
1187
1187
|
*/
|
@@ -1190,7 +1190,7 @@ export declare function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | '
|
|
1190
1190
|
asset_id: string;
|
1191
1191
|
size: 'large' | 'medium' | 'small' | 'tiny';
|
1192
1192
|
default_url?: string;
|
1193
|
-
}, headers?:
|
1193
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
1194
1194
|
/**
|
1195
1195
|
* Assigns a thumbnail to the specified asset.
|
1196
1196
|
*/
|
@@ -1198,21 +1198,21 @@ export declare function setAssetThumbnail({ asset_container, asset_id, body, }:
|
|
1198
1198
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1199
1199
|
asset_id: string;
|
1200
1200
|
body: ArrayBuffer | ReadableStream;
|
1201
|
-
}, contentType: 'image/jpg' | 'image/png', headers?:
|
1201
|
+
}, contentType: 'image/jpg' | 'image/png', headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
1202
1202
|
/**
|
1203
1203
|
* Gets the asset custom types from the specified asset recursively.
|
1204
1204
|
*/
|
1205
1205
|
export declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id, }: {
|
1206
1206
|
asset_container_with_custom_types: 'modules';
|
1207
1207
|
asset_id: string;
|
1208
|
-
}, headers?:
|
1208
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
1209
1209
|
/**
|
1210
1210
|
* Packages and downloads the target asset.
|
1211
1211
|
*/
|
1212
1212
|
export declare function packageAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ asset_container, asset_id, }: {
|
1213
1213
|
asset_container: 'action_maps' | 'algorithms' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
|
1214
1214
|
asset_id: string;
|
1215
|
-
}, headers?:
|
1215
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
1216
1216
|
/**
|
1217
1217
|
* Downloads an asset payload in a given format. Only mesh is supported for the moment. This endpoint requires special export permission.
|
1218
1218
|
*/
|
@@ -1222,7 +1222,7 @@ export declare function exportAsset<T extends 'arraybuffer' | 'stream' | 'json'
|
|
1222
1222
|
format: 'obj' | 'stl';
|
1223
1223
|
scale?: number;
|
1224
1224
|
sub_mesh_index?: number;
|
1225
|
-
}, headers?:
|
1225
|
+
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
1226
1226
|
export type GetSceneSessions_Session = {
|
1227
1227
|
session_id: string;
|
1228
1228
|
scene_id: string;
|
@@ -1247,7 +1247,7 @@ export type GetSceneSessions_Client_UserInfo = {
|
|
1247
1247
|
*/
|
1248
1248
|
export declare function getSceneSessions({ scene_id, }: {
|
1249
1249
|
scene_id: string;
|
1250
|
-
}, headers?:
|
1250
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetSceneSessions_Session>>;
|
1251
1251
|
export type GetSceneAabb_Object = {
|
1252
1252
|
max: Array<number>;
|
1253
1253
|
min: Array<number>;
|
@@ -1257,7 +1257,7 @@ export type GetSceneAabb_Object = {
|
|
1257
1257
|
*/
|
1258
1258
|
export declare function getSceneAABB({ scene_id, }: {
|
1259
1259
|
scene_id: string;
|
1260
|
-
}, headers?:
|
1260
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetSceneAabb_Object>;
|
1261
1261
|
export type CreateEntity_animation_controller = {
|
1262
1262
|
animation_controller: CreateEntity_AnimationController;
|
1263
1263
|
};
|
@@ -1653,7 +1653,7 @@ export type CreateEntity_Object = {
|
|
1653
1653
|
export declare function createEntity({ scene_id, entity_components, }: {
|
1654
1654
|
scene_id: string;
|
1655
1655
|
entity_components: CreateEntity_animation_controller | CreateEntity_animation_sequence_controller | CreateEntity_bone | CreateEntity_box_geometry | CreateEntity_camera | CreateEntity_capsule_geometry | CreateEntity_character_controller | CreateEntity_collision_geometry_ref | CreateEntity_constraint | CreateEntity_culling_geometry | CreateEntity_cylinder_geometry | CreateEntity_debug_name | CreateEntity_decal_projector | CreateEntity_environment | CreateEntity_joint | CreateEntity_lineage | CreateEntity_local_aabb | CreateEntity_local_transform | CreateEntity_material | CreateEntity_material_ref | CreateEntity_mesh_ref | CreateEntity_orthographic_lens | CreateEntity_overrider | CreateEntity_perspective_lens | CreateEntity_physics_material | CreateEntity_plane_geometry | CreateEntity_point_cloud_ref | CreateEntity_point_light | CreateEntity_reflection_probe | CreateEntity_rigid_body | CreateEntity_scene_ref | CreateEntity_script_element | CreateEntity_script_map | CreateEntity_shadow_caster | CreateEntity_skeleton_ref | CreateEntity_sound_ref | CreateEntity_sphere_geometry | CreateEntity_spot_light | CreateEntity_stereoscopic_lens | CreateEntity_tags | CreateEntity_vehicle_controller | CreateEntity_volume_filter | CreateEntity_volume_material_ref | CreateEntity_volume_ref;
|
1656
|
-
}, headers?:
|
1656
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateEntity_Object>;
|
1657
1657
|
export type GetEntity_animation_controller = {
|
1658
1658
|
animation_controller: GetEntity_AnimationController;
|
1659
1659
|
};
|
@@ -2053,7 +2053,7 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
|
|
2053
2053
|
scene_id: string;
|
2054
2054
|
entity_id: string;
|
2055
2055
|
compute_global_transform?: boolean;
|
2056
|
-
}, headers?:
|
2056
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<(GetEntity_animation_controller | GetEntity_animation_sequence_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_constraint | GetEntity_culling_geometry | 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_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_vehicle_controller | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>;
|
2057
2057
|
export type UpdateEntity_animation_controller = {
|
2058
2058
|
animation_controller: UpdateEntity_AnimationController;
|
2059
2059
|
};
|
@@ -2447,20 +2447,20 @@ export declare function updateEntity({ scene_id, entity_id, entity_components, }
|
|
2447
2447
|
scene_id: string;
|
2448
2448
|
entity_id: string;
|
2449
2449
|
entity_components: UpdateEntity_animation_controller | UpdateEntity_animation_sequence_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_constraint | UpdateEntity_culling_geometry | 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_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_vehicle_controller | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref;
|
2450
|
-
}, headers?:
|
2450
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
2451
2451
|
/**
|
2452
2452
|
* Delete a specific entity from a scene.
|
2453
2453
|
*/
|
2454
2454
|
export declare function deleteEntity({ scene_id, entity_id, }: {
|
2455
2455
|
scene_id: string;
|
2456
2456
|
entity_id: string;
|
2457
|
-
}, headers?:
|
2457
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
2458
2458
|
/**
|
2459
2459
|
* Get the settings of a scene.
|
2460
2460
|
*/
|
2461
2461
|
export declare function getSceneSettings({ scene_id, }: {
|
2462
2462
|
scene_id: string;
|
2463
|
-
}, headers?:
|
2463
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
2464
2464
|
export type GetRunningSessions_Filter = {
|
2465
2465
|
user_id?: string;
|
2466
2466
|
scene_id?: string;
|
@@ -2490,7 +2490,7 @@ export type GetRunningSessions_Client_UserInfo = {
|
|
2490
2490
|
*/
|
2491
2491
|
export declare function getRunningSessions({ filters, }: {
|
2492
2492
|
filters?: GetRunningSessions_Filter;
|
2493
|
-
}, headers?:
|
2493
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetRunningSessions_Session>>;
|
2494
2494
|
export type CreateSession_Object = {
|
2495
2495
|
session_id: string;
|
2496
2496
|
};
|
@@ -2502,7 +2502,7 @@ export declare function createSession({ scene_id, renderer_version, is_transient
|
|
2502
2502
|
renderer_version?: string;
|
2503
2503
|
is_transient?: boolean;
|
2504
2504
|
options?: object;
|
2505
|
-
}, headers?:
|
2505
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<CreateSession_Object>;
|
2506
2506
|
export type GetSession_Session = {
|
2507
2507
|
session_id: string;
|
2508
2508
|
scene_id: string;
|
@@ -2527,13 +2527,13 @@ export type GetSession_Client_UserInfo = {
|
|
2527
2527
|
*/
|
2528
2528
|
export declare function getSession({ session_id, }: {
|
2529
2529
|
session_id: string;
|
2530
|
-
}, headers?:
|
2530
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetSession_Session>;
|
2531
2531
|
/**
|
2532
2532
|
* Forcefully terminates a session.
|
2533
2533
|
*/
|
2534
2534
|
export declare function killSession({ session_id, }: {
|
2535
2535
|
session_id: string;
|
2536
|
-
}, headers?:
|
2536
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
2537
2537
|
export type JoinSession_SessionToken = {
|
2538
2538
|
session_token: string;
|
2539
2539
|
endpoint_info: JoinSession_Object;
|
@@ -2548,7 +2548,7 @@ export type JoinSession_Object = {
|
|
2548
2548
|
*/
|
2549
2549
|
export declare function joinSession({ session_id, }: {
|
2550
2550
|
session_id: string;
|
2551
|
-
}, headers?:
|
2551
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<JoinSession_SessionToken>;
|
2552
2552
|
export type GetClient_Client_UserInfo = {
|
2553
2553
|
client_id?: string;
|
2554
2554
|
client_type?: StrictUnion<'user' | 'guest'>;
|
@@ -2561,14 +2561,14 @@ export type GetClient_Client_UserInfo = {
|
|
2561
2561
|
export declare function getClient({ session_id, client_id, }: {
|
2562
2562
|
session_id: string;
|
2563
2563
|
client_id: string;
|
2564
|
-
}, headers?:
|
2564
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GetClient_Client_UserInfo>;
|
2565
2565
|
/**
|
2566
2566
|
* Kick a client from a running session.
|
2567
2567
|
*/
|
2568
2568
|
export declare function kickClientFromSession({ session_id, client_id, }: {
|
2569
2569
|
session_id: string;
|
2570
2570
|
client_id: string;
|
2571
|
-
}, headers?:
|
2571
|
+
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any>>;
|
2572
2572
|
export type JoinSessionAsGuest_SessionToken = {
|
2573
2573
|
session_token: string;
|
2574
2574
|
endpoint_info: JoinSessionAsGuest_Object;
|
@@ -2579,9 +2579,9 @@ export type JoinSessionAsGuest_Object = {
|
|
2579
2579
|
ssl_port: number;
|
2580
2580
|
};
|
2581
2581
|
/**
|
2582
|
-
* Join a session as guest.
|
2582
|
+
* Join a session as guest.
|
2583
2583
|
*/
|
2584
|
-
export declare function joinSessionAsGuest(headers?:
|
2584
|
+
export declare function joinSessionAsGuest(headers?: AxiosRequestHeaders): AxiosPromise<JoinSessionAsGuest_SessionToken>;
|
2585
2585
|
export type GenerateGuestToken_GuestToken = {
|
2586
2586
|
guest_token?: string;
|
2587
2587
|
};
|
@@ -2590,5 +2590,5 @@ export type GenerateGuestToken_GuestToken = {
|
|
2590
2590
|
*/
|
2591
2591
|
export declare function generateGuestToken({ session_id, }: {
|
2592
2592
|
session_id: string;
|
2593
|
-
}, headers?:
|
2593
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<GenerateGuestToken_GuestToken>;
|
2594
2594
|
export {};
|