@3dverse/api 0.3.2 → 0.3.4

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.
@@ -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"> & any;
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 = {
@@ -402,15 +402,19 @@ export type CreateAsset_DuplicationOptions = {
402
402
  asset_types?: Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial">;
403
403
  max_depth?: number;
404
404
  };
405
- export type CreateAsset_asset_item = {
405
+ export type CreateAsset_AssetDuplicationResult = {
406
406
  asset_id: string;
407
407
  name: string;
408
+ source_to_copy_asset_id_map?: CreateAsset_SourceToCopyAssetIdMap;
409
+ };
410
+ export type CreateAsset_SourceToCopyAssetIdMap = {
411
+ [source_asset_id: string]: string;
408
412
  };
409
413
  export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
410
414
  folder_id: string;
411
415
  asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
412
- assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication> & any;
413
- }): AxiosPromise<CreateAsset_asset_item>;
416
+ assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
417
+ }): AxiosPromise<CreateAsset_AssetDuplicationResult>;
414
418
  export type GetSessionsInFolder_Session = {
415
419
  session_id: string;
416
420
  scene_id: string;
@@ -625,8 +629,8 @@ export type GetAssetDependencies_asset_item = {
625
629
  export declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
626
630
  asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
627
631
  asset_id: string;
628
- format?: StrictUnion<'flat' | 'graph'> & string;
629
- depth?: StrictUnion<'all' | 'direct'> & string;
632
+ format?: StrictUnion<'flat' | 'graph'>;
633
+ depth?: StrictUnion<'all' | 'direct'>;
630
634
  filter?: GetAssetDependencies_Filter;
631
635
  }): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
632
636
  export type GetAssetReferences_Object = {
@@ -667,7 +671,7 @@ export type GetAssetDescription_animation_state_description = {
667
671
  export type GetAssetDescription_animation_node_description = {
668
672
  nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
669
673
  inputs?: Array<number>;
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> & any;
674
+ 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>;
671
675
  };
672
676
  export type GetAssetDescription_playback_settings_animation_settings = {
673
677
  playbackSpeed?: number;
@@ -960,7 +964,7 @@ export type GetAssetDescription_VolumeMaterial = {
960
964
  };
961
965
  export type GetAssetDescription_control_point = {
962
966
  key?: number;
963
- value?: StrictUnion<Array<number> | number> & any;
967
+ value?: StrictUnion<Array<number> | number>;
964
968
  };
965
969
  export type GetAssetDescription_asset_description = {
966
970
  uuid: string;
@@ -1001,7 +1005,7 @@ export type UpdateAssetDescription_animation_state_description = {
1001
1005
  export type UpdateAssetDescription_animation_node_description = {
1002
1006
  nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
1003
1007
  inputs?: Array<number>;
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> & any;
1008
+ 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>;
1005
1009
  };
1006
1010
  export type UpdateAssetDescription_playback_settings_animation_settings = {
1007
1011
  playbackSpeed?: number;
@@ -1294,7 +1298,7 @@ export type UpdateAssetDescription_VolumeMaterial = {
1294
1298
  };
1295
1299
  export type UpdateAssetDescription_control_point = {
1296
1300
  key?: number;
1297
- value?: StrictUnion<Array<number> | number> & any;
1301
+ value?: StrictUnion<Array<number> | number>;
1298
1302
  };
1299
1303
  export declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
1300
1304
  asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";