@3dverse/api 0.8.10 → 0.8.11
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 +25 -34
- package/dist/index.js.map +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -467,7 +467,7 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit, }: {
|
|
|
467
467
|
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
|
468
468
|
export type GetFolderAssets_Filters = {
|
|
469
469
|
asset_name?: string;
|
|
470
|
-
asset_type?: Array<'action_map' | '
|
|
470
|
+
asset_type?: Array<'action_map' | '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' | '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';
|
|
471
471
|
source_file?: Array<string> | string | 'exclude';
|
|
472
472
|
};
|
|
473
473
|
export type GetFolderAssets_AssetCount = {
|
|
@@ -476,7 +476,6 @@ export type GetFolderAssets_AssetCount = {
|
|
|
476
476
|
};
|
|
477
477
|
export type GetFolderAssets__index_AssetList_AssetList = {
|
|
478
478
|
action_maps?: Array<GetFolderAssets_Object>;
|
|
479
|
-
algorithms?: Array<GetFolderAssets_Object>;
|
|
480
479
|
animation_graphs?: Array<GetFolderAssets_Object>;
|
|
481
480
|
animation_sequences?: Array<GetFolderAssets_Object>;
|
|
482
481
|
animation_sets?: Array<GetFolderAssets_Object>;
|
|
@@ -514,17 +513,17 @@ export declare function getFolderAssets({ folder_id, offset, limit, filter, recu
|
|
|
514
513
|
recursive?: boolean;
|
|
515
514
|
}, headers?: AxiosRequestHeaders): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
|
|
516
515
|
export type CreateAsset_NewAsset = {
|
|
517
|
-
asset_type: 'action_map' | '
|
|
516
|
+
asset_type: 'action_map' | 'animation_graph' | 'animation_sequence' | 'cubemap' | 'event_map' | 'material' | 'module' | 'render_graph' | 'scene' | 'script' | 'shader' | 'volume_material';
|
|
518
517
|
name: string;
|
|
519
518
|
};
|
|
520
519
|
export type CreateAsset_AssetDuplication = {
|
|
521
|
-
asset_type: 'action_map' | '
|
|
520
|
+
asset_type: 'action_map' | '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';
|
|
522
521
|
copy_from_asset_id: string;
|
|
523
522
|
new_asset_name?: string;
|
|
524
523
|
options?: CreateAsset_DuplicationOptions;
|
|
525
524
|
};
|
|
526
525
|
export type CreateAsset_DuplicationOptions = {
|
|
527
|
-
asset_types?: Array<'action_map' | '
|
|
526
|
+
asset_types?: Array<'action_map' | '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'>;
|
|
528
527
|
max_depth?: number;
|
|
529
528
|
};
|
|
530
529
|
export type CreateAsset_AssetDuplicationResult = {
|
|
@@ -697,7 +696,6 @@ export declare function updateSourceFileDetails({ source_file_id, name, }: {
|
|
|
697
696
|
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
698
697
|
export type GetSourceFileAssets__index_AssetList_AssetList = {
|
|
699
698
|
action_maps?: Array<GetSourceFileAssets_Object>;
|
|
700
|
-
algorithms?: Array<GetSourceFileAssets_Object>;
|
|
701
699
|
animation_graphs?: Array<GetSourceFileAssets_Object>;
|
|
702
700
|
animation_sequences?: Array<GetSourceFileAssets_Object>;
|
|
703
701
|
animation_sets?: Array<GetSourceFileAssets_Object>;
|
|
@@ -773,13 +771,12 @@ export declare function getConversionTaskMetadata<T extends 'arraybuffer' | 'str
|
|
|
773
771
|
filename: string;
|
|
774
772
|
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
|
775
773
|
export type ListAssets_Filter = {
|
|
776
|
-
asset_type?: Array<'action_map' | '
|
|
774
|
+
asset_type?: Array<'action_map' | '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' | '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';
|
|
777
775
|
asset_name?: string;
|
|
778
776
|
include_public_assets?: boolean;
|
|
779
777
|
};
|
|
780
778
|
export type ListAssets__index_AssetList_AssetList = {
|
|
781
779
|
action_maps?: Array<ListAssets_Object>;
|
|
782
|
-
algorithms?: Array<ListAssets_Object>;
|
|
783
780
|
animation_graphs?: Array<ListAssets_Object>;
|
|
784
781
|
animation_sequences?: Array<ListAssets_Object>;
|
|
785
782
|
animation_sets?: Array<ListAssets_Object>;
|
|
@@ -824,7 +821,7 @@ export declare function deleteAssets({ asset_ids, }: {
|
|
|
824
821
|
* Deletes the asset.
|
|
825
822
|
*/
|
|
826
823
|
export declare function deleteAsset({ asset_container, asset_id, }: {
|
|
827
|
-
asset_container: 'action_maps' | '
|
|
824
|
+
asset_container: 'action_maps' | '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';
|
|
828
825
|
asset_id: string;
|
|
829
826
|
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
830
827
|
export type GetAssetSourceFile_SourceFile = {
|
|
@@ -837,7 +834,7 @@ export type GetAssetSourceFile_SourceFile = {
|
|
|
837
834
|
* Gets the source file of the specified asset.
|
|
838
835
|
*/
|
|
839
836
|
export declare function getAssetSourceFile({ asset_container, asset_id, }: {
|
|
840
|
-
asset_container: 'action_maps' | '
|
|
837
|
+
asset_container: 'action_maps' | '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';
|
|
841
838
|
asset_id: string;
|
|
842
839
|
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetSourceFile_SourceFile>;
|
|
843
840
|
export type GetAssetDetails__index_AssetDetails_AssetDetails = {
|
|
@@ -848,7 +845,7 @@ export type GetAssetDetails__index_AssetDetails_AssetDetails = {
|
|
|
848
845
|
last_edited_at?: string;
|
|
849
846
|
last_edited_by?: GetAssetDetails_LastEditedBy;
|
|
850
847
|
name: string;
|
|
851
|
-
type: 'action_map' | '
|
|
848
|
+
type: 'action_map' | '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';
|
|
852
849
|
};
|
|
853
850
|
export type GetAssetDetails_Contributor = {
|
|
854
851
|
contribution_count: number;
|
|
@@ -868,7 +865,7 @@ export type GetAssetDetails_LastEditedBy = {
|
|
|
868
865
|
* Gets the asset details from the specified asset.
|
|
869
866
|
*/
|
|
870
867
|
export declare function getAssetDetails({ asset_container, asset_id, }: {
|
|
871
|
-
asset_container: 'action_maps' | '
|
|
868
|
+
asset_container: 'action_maps' | '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';
|
|
872
869
|
asset_id: string;
|
|
873
870
|
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails>;
|
|
874
871
|
export type GetAssetFolder_Folder = {
|
|
@@ -890,17 +887,17 @@ export type GetAssetFolder_Object = {
|
|
|
890
887
|
* Gets the asset folder from the specified asset.
|
|
891
888
|
*/
|
|
892
889
|
export declare function getAssetFolder({ asset_container, asset_id, }: {
|
|
893
|
-
asset_container: 'action_maps' | '
|
|
890
|
+
asset_container: 'action_maps' | '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';
|
|
894
891
|
asset_id: string;
|
|
895
892
|
}, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetFolder_Folder>;
|
|
896
893
|
export type GetAssetDependencies_Filter = {
|
|
897
|
-
with_asset_types?: Array<'action_map' | '
|
|
898
|
-
without_asset_types?: Array<'action_map' | '
|
|
894
|
+
with_asset_types?: Array<'action_map' | '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'>;
|
|
895
|
+
without_asset_types?: Array<'action_map' | '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'>;
|
|
899
896
|
public?: 'include' | 'exclude' | 'restrict-to';
|
|
900
897
|
};
|
|
901
898
|
export type GetAssetDependencies_Asset = {
|
|
902
899
|
asset_id: string;
|
|
903
|
-
asset_type: 'action_map' | '
|
|
900
|
+
asset_type: 'action_map' | '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';
|
|
904
901
|
properties?: GetAssetDependencies_Object;
|
|
905
902
|
};
|
|
906
903
|
export type GetAssetDependencies_Object = {
|
|
@@ -924,7 +921,7 @@ export type GetAssetDependencies_Dependency = {
|
|
|
924
921
|
* Gets the asset dependencies from the specified asset.
|
|
925
922
|
*/
|
|
926
923
|
export declare function getAssetDependencies({ asset_container, asset_id, offset, limit, depth, filters, properties, }: {
|
|
927
|
-
asset_container: 'action_maps' | '
|
|
924
|
+
asset_container: 'action_maps' | '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';
|
|
928
925
|
asset_id: string;
|
|
929
926
|
offset?: number;
|
|
930
927
|
limit?: number;
|
|
@@ -934,7 +931,7 @@ export declare function getAssetDependencies({ asset_container, asset_id, offset
|
|
|
934
931
|
}, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetAssetDependencies_Asset>>;
|
|
935
932
|
export type GetAssetReferences_Asset = {
|
|
936
933
|
asset_id: string;
|
|
937
|
-
asset_type: 'action_map' | '
|
|
934
|
+
asset_type: 'action_map' | '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';
|
|
938
935
|
properties?: GetAssetReferences_Object;
|
|
939
936
|
};
|
|
940
937
|
export type GetAssetReferences_Object = {
|
|
@@ -946,7 +943,7 @@ export type GetAssetReferences_Object = {
|
|
|
946
943
|
* Gets the asset references from the specified asset.
|
|
947
944
|
*/
|
|
948
945
|
export declare function getAssetReferences({ asset_container, asset_id, offset, limit, properties, }: {
|
|
949
|
-
asset_container: 'action_maps' | '
|
|
946
|
+
asset_container: 'action_maps' | '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';
|
|
950
947
|
asset_id: string;
|
|
951
948
|
offset?: number;
|
|
952
949
|
limit?: number;
|
|
@@ -960,12 +957,6 @@ export type GetAssetDescription_ActionMap = {
|
|
|
960
957
|
export type GetAssetDescription_Object = {
|
|
961
958
|
[action_name: string]: object;
|
|
962
959
|
};
|
|
963
|
-
export type GetAssetDescription_Algorithm = {
|
|
964
|
-
inputDescriptor: Array<object>;
|
|
965
|
-
name: string;
|
|
966
|
-
outputDescriptor: Array<object>;
|
|
967
|
-
uuid: string;
|
|
968
|
-
};
|
|
969
960
|
export type GetAssetDescription_Animation = {
|
|
970
961
|
animationEventTrack: GetAssetDescription_Object;
|
|
971
962
|
durationInMs: number;
|
|
@@ -1156,14 +1147,14 @@ export type GetAssetDescription_VolumeMaterial = {
|
|
|
1156
1147
|
* Gets the asset description from the specified asset.
|
|
1157
1148
|
*/
|
|
1158
1149
|
export declare function getAssetDescription({ asset_container, asset_id, }: {
|
|
1159
|
-
asset_container: 'action_maps' | '
|
|
1150
|
+
asset_container: 'action_maps' | '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';
|
|
1160
1151
|
asset_id: string;
|
|
1161
|
-
}, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap |
|
|
1152
|
+
}, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | 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>>;
|
|
1162
1153
|
/**
|
|
1163
1154
|
* Updates asset description. Supports only updating name.
|
|
1164
1155
|
*/
|
|
1165
1156
|
export declare function renameAsset({ asset_container, asset_id, name, }: {
|
|
1166
|
-
asset_container: 'action_maps' | '
|
|
1157
|
+
asset_container: 'action_maps' | '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';
|
|
1167
1158
|
asset_id: string;
|
|
1168
1159
|
name?: string;
|
|
1169
1160
|
}, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -1179,28 +1170,28 @@ export declare function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'js
|
|
|
1179
1170
|
* Gets the asset history from the specified asset.
|
|
1180
1171
|
*/
|
|
1181
1172
|
export declare function getAssetHistory({ asset_container, asset_id, }: {
|
|
1182
|
-
asset_container: 'action_maps' | '
|
|
1173
|
+
asset_container: 'action_maps' | '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';
|
|
1183
1174
|
asset_id: string;
|
|
1184
1175
|
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
|
1185
1176
|
/**
|
|
1186
1177
|
* Gets the asset metadata from the specified asset.
|
|
1187
1178
|
*/
|
|
1188
1179
|
export declare function getAssetMeta({ asset_container, asset_id, }: {
|
|
1189
|
-
asset_container: 'action_maps' | '
|
|
1180
|
+
asset_container: 'action_maps' | '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';
|
|
1190
1181
|
asset_id: string;
|
|
1191
1182
|
}, headers?: AxiosRequestHeaders): AxiosPromise<object>;
|
|
1192
1183
|
/**
|
|
1193
1184
|
* Gets the code of the specified asset.
|
|
1194
1185
|
*/
|
|
1195
1186
|
export declare function getAssetCode({ asset_container_with_code, asset_id, }: {
|
|
1196
|
-
asset_container_with_code: '
|
|
1187
|
+
asset_container_with_code: 'animation_sequences' | 'modules' | 'scripts' | 'shaders';
|
|
1197
1188
|
asset_id: string;
|
|
1198
1189
|
}, headers?: AxiosRequestHeaders): AxiosPromise<string>;
|
|
1199
1190
|
/**
|
|
1200
1191
|
* Gets the asset thumbnail from the specified asset.
|
|
1201
1192
|
*/
|
|
1202
1193
|
export declare function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ asset_container, asset_id, size, default_url, }: {
|
|
1203
|
-
asset_container: 'action_maps' | '
|
|
1194
|
+
asset_container: 'action_maps' | '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';
|
|
1204
1195
|
asset_id: string;
|
|
1205
1196
|
size: 'large' | 'medium' | 'small' | 'tiny';
|
|
1206
1197
|
default_url?: string;
|
|
@@ -1209,7 +1200,7 @@ export declare function getAssetThumbnail<T extends 'arraybuffer' | 'stream' | '
|
|
|
1209
1200
|
* Assigns a thumbnail to the specified asset.
|
|
1210
1201
|
*/
|
|
1211
1202
|
export declare function setAssetThumbnail({ asset_container, asset_id, body, }: {
|
|
1212
|
-
asset_container: 'action_maps' | '
|
|
1203
|
+
asset_container: 'action_maps' | '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';
|
|
1213
1204
|
asset_id: string;
|
|
1214
1205
|
body: ArrayBuffer | ReadableStream;
|
|
1215
1206
|
}, contentType: 'image/jpg' | 'image/png', headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -1224,7 +1215,7 @@ export declare function getAssetCustomTypes({ asset_container_with_custom_types,
|
|
|
1224
1215
|
* Packages and downloads the target asset.
|
|
1225
1216
|
*/
|
|
1226
1217
|
export declare function packageAsset<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ asset_container, asset_id, }: {
|
|
1227
|
-
asset_container: 'action_maps' | '
|
|
1218
|
+
asset_container: 'action_maps' | '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';
|
|
1228
1219
|
asset_id: string;
|
|
1229
1220
|
}, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
|
1230
1221
|
/**
|