@3dverse/api 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +210 -694
- package/dist/index.js +8 -6
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
@@ -596,16 +596,18 @@ function getAssetDescription({
|
|
596
596
|
url: "/assets/" + asset_container + "/" + asset_id + "/description"
|
597
597
|
});
|
598
598
|
}
|
599
|
-
function
|
599
|
+
function renameAsset({
|
600
600
|
asset_container,
|
601
601
|
asset_id,
|
602
|
-
|
602
|
+
name
|
603
603
|
}) {
|
604
604
|
return axiosInstance({
|
605
|
-
operationId: "
|
605
|
+
operationId: "renameAsset",
|
606
606
|
method: "patch",
|
607
607
|
url: "/assets/" + asset_container + "/" + asset_id + "/description",
|
608
|
-
data:
|
608
|
+
data: {
|
609
|
+
name
|
610
|
+
}
|
609
611
|
});
|
610
612
|
}
|
611
613
|
function getAssetPayload({
|
@@ -982,13 +984,13 @@ export {
|
|
982
984
|
moveSourceFiles,
|
983
985
|
packageAsset,
|
984
986
|
registerUser,
|
987
|
+
renameAsset,
|
985
988
|
revokeMemberAccessToFolder,
|
986
989
|
revokeMemberAccessToGroup,
|
987
990
|
setApiKey,
|
988
991
|
setAssetThumbnail,
|
989
992
|
setBaseURL,
|
990
993
|
setUserToken,
|
991
|
-
updateAssetDescription,
|
992
994
|
updateEntity,
|
993
995
|
updateFolder,
|
994
996
|
updateGroupDescription,
|