@3dverse/api 0.3.3 → 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.
@@ -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;