@3dverse/api 0.3.3 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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?: (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
416
  assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
413
- }): AxiosPromise<CreateAsset_asset_item>;
417
+ }): AxiosPromise<CreateAsset_AssetDuplicationResult>;
414
418
  export type GetSessionsInFolder_Session = {
415
419
  session_id: string;
416
420
  scene_id: string;