@3dverse/api 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +7 -6
- package/dist/index.js +11 -12
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +11 -12
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -374,27 +374,26 @@ function getFolderAssets({
|
|
374
374
|
}
|
375
375
|
});
|
376
376
|
}
|
377
|
-
function
|
377
|
+
function createAsset({
|
378
378
|
folder_id,
|
379
|
-
|
379
|
+
assetCreationOptions
|
380
380
|
}) {
|
381
381
|
return axiosInstance({
|
382
|
-
operationId: "
|
383
|
-
method: "
|
382
|
+
operationId: "createAsset",
|
383
|
+
method: "post",
|
384
384
|
url: "/folders/" + folder_id + "/assets",
|
385
|
-
data:
|
385
|
+
data: assetCreationOptions
|
386
386
|
});
|
387
387
|
}
|
388
|
-
function
|
388
|
+
function moveAssets({
|
389
389
|
folder_id,
|
390
|
-
|
391
|
-
assetCreationOptions
|
390
|
+
assetIds
|
392
391
|
}) {
|
393
392
|
return axiosInstance({
|
394
|
-
operationId: "
|
395
|
-
method: "
|
396
|
-
url: "/folders/" + folder_id + "/assets
|
397
|
-
data:
|
393
|
+
operationId: "moveAssets",
|
394
|
+
method: "put",
|
395
|
+
url: "/folders/" + folder_id + "/assets",
|
396
|
+
data: assetIds
|
398
397
|
});
|
399
398
|
}
|
400
399
|
function getSessionsInFolder({
|