@3dverse/api 0.5.1 → 0.5.2

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/index.mjs CHANGED
@@ -374,27 +374,26 @@ function getFolderAssets({
374
374
  }
375
375
  });
376
376
  }
377
- function moveAssets({
377
+ function createAsset({
378
378
  folder_id,
379
- assetIds
379
+ assetCreationOptions
380
380
  }) {
381
381
  return axiosInstance({
382
- operationId: "moveAssets",
383
- method: "put",
382
+ operationId: "createAsset",
383
+ method: "post",
384
384
  url: "/folders/" + folder_id + "/assets",
385
- data: assetIds
385
+ data: assetCreationOptions
386
386
  });
387
387
  }
388
- function createAsset({
388
+ function moveAssets({
389
389
  folder_id,
390
- asset_container_creatable,
391
- assetCreationOptions
390
+ assetIds
392
391
  }) {
393
392
  return axiosInstance({
394
- operationId: "createAsset",
395
- method: "post",
396
- url: "/folders/" + folder_id + "/assets/" + asset_container_creatable,
397
- data: assetCreationOptions
393
+ operationId: "moveAssets",
394
+ method: "put",
395
+ url: "/folders/" + folder_id + "/assets",
396
+ data: assetIds
398
397
  });
399
398
  }
400
399
  function getSessionsInFolder({