@3dverse/api 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +16 -11
- package/dist/index.js.map +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
@@ -354,7 +354,7 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
|
|
354
354
|
limit?: number;
|
355
355
|
}): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
356
356
|
export type GetFolderAssets_Filter = {
|
357
|
-
asset_type?: StrictUnion<Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"> | "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"
|
357
|
+
asset_type?: StrictUnion<Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"> | "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial">;
|
358
358
|
asset_name?: string;
|
359
359
|
};
|
360
360
|
export type GetFolderAssets_asset_list = {
|
@@ -390,12 +390,17 @@ export declare function moveAssets({ folder_id, assetIds }: {
|
|
390
390
|
folder_id: string;
|
391
391
|
assetIds: Array<string>;
|
392
392
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
393
|
-
export type
|
393
|
+
export type CreateAsset_NewAsset = {
|
394
|
+
name: string;
|
395
|
+
};
|
396
|
+
export type CreateAsset_AssetDuplication = {
|
394
397
|
copy_from_asset_id: string;
|
395
398
|
new_asset_name?: string;
|
399
|
+
options?: CreateAsset_DuplicationOptions;
|
396
400
|
};
|
397
|
-
export type
|
398
|
-
|
401
|
+
export type CreateAsset_DuplicationOptions = {
|
402
|
+
asset_types?: Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial">;
|
403
|
+
max_depth?: number;
|
399
404
|
};
|
400
405
|
export type CreateAsset_asset_item = {
|
401
406
|
asset_id: string;
|
@@ -404,7 +409,7 @@ export type CreateAsset_asset_item = {
|
|
404
409
|
export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
|
405
410
|
folder_id: string;
|
406
411
|
asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
|
407
|
-
assetCreationOptions: StrictUnion<
|
412
|
+
assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
|
408
413
|
}): AxiosPromise<CreateAsset_asset_item>;
|
409
414
|
export type GetSessionsInFolder_Session = {
|
410
415
|
session_id: string;
|
@@ -620,8 +625,8 @@ export type GetAssetDependencies_asset_item = {
|
|
620
625
|
export declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
|
621
626
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
622
627
|
asset_id: string;
|
623
|
-
format?: StrictUnion<'flat' | 'graph'
|
624
|
-
depth?: StrictUnion<'all' | 'direct'
|
628
|
+
format?: StrictUnion<'flat' | 'graph'>;
|
629
|
+
depth?: StrictUnion<'all' | 'direct'>;
|
625
630
|
filter?: GetAssetDependencies_Filter;
|
626
631
|
}): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
|
627
632
|
export type GetAssetReferences_Object = {
|
@@ -662,7 +667,7 @@ export type GetAssetDescription_animation_state_description = {
|
|
662
667
|
export type GetAssetDescription_animation_node_description = {
|
663
668
|
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
664
669
|
inputs?: Array<number>;
|
665
|
-
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
|
670
|
+
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>;
|
666
671
|
};
|
667
672
|
export type GetAssetDescription_playback_settings_animation_settings = {
|
668
673
|
playbackSpeed?: number;
|
@@ -955,7 +960,7 @@ export type GetAssetDescription_VolumeMaterial = {
|
|
955
960
|
};
|
956
961
|
export type GetAssetDescription_control_point = {
|
957
962
|
key?: number;
|
958
|
-
value?: StrictUnion<Array<number> | number
|
963
|
+
value?: StrictUnion<Array<number> | number>;
|
959
964
|
};
|
960
965
|
export type GetAssetDescription_asset_description = {
|
961
966
|
uuid: string;
|
@@ -996,7 +1001,7 @@ export type UpdateAssetDescription_animation_state_description = {
|
|
996
1001
|
export type UpdateAssetDescription_animation_node_description = {
|
997
1002
|
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
998
1003
|
inputs?: Array<number>;
|
999
|
-
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
|
1004
|
+
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>;
|
1000
1005
|
};
|
1001
1006
|
export type UpdateAssetDescription_playback_settings_animation_settings = {
|
1002
1007
|
playbackSpeed?: number;
|
@@ -1289,7 +1294,7 @@ export type UpdateAssetDescription_VolumeMaterial = {
|
|
1289
1294
|
};
|
1290
1295
|
export type UpdateAssetDescription_control_point = {
|
1291
1296
|
key?: number;
|
1292
|
-
value?: StrictUnion<Array<number> | number
|
1297
|
+
value?: StrictUnion<Array<number> | number>;
|
1293
1298
|
};
|
1294
1299
|
export declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
|
1295
1300
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|