@3dverse/api 0.1.2 → 0.2.0
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/_prebuild/wrapper.d.ts +38 -38
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -104,8 +104,8 @@ function getUserUploadTasks({
|
|
104
104
|
});
|
105
105
|
}
|
106
106
|
function createGroup({
|
107
|
-
|
108
|
-
|
107
|
+
name,
|
108
|
+
description,
|
109
109
|
members
|
110
110
|
}) {
|
111
111
|
return axiosInstance({
|
@@ -113,8 +113,8 @@ function createGroup({
|
|
113
113
|
method: "post",
|
114
114
|
url: "/groups",
|
115
115
|
data: {
|
116
|
-
|
117
|
-
|
116
|
+
name,
|
117
|
+
description,
|
118
118
|
members
|
119
119
|
}
|
120
120
|
});
|
@@ -130,16 +130,16 @@ function getGroup({
|
|
130
130
|
}
|
131
131
|
function updateGroupDescription({
|
132
132
|
group_id,
|
133
|
-
|
134
|
-
|
133
|
+
name,
|
134
|
+
description
|
135
135
|
}) {
|
136
136
|
return axiosInstance({
|
137
137
|
operationId: "updateGroupDescription",
|
138
138
|
method: "patch",
|
139
139
|
url: "/groups/" + group_id,
|
140
140
|
data: {
|
141
|
-
|
142
|
-
|
141
|
+
name,
|
142
|
+
description
|
143
143
|
}
|
144
144
|
});
|
145
145
|
}
|
@@ -195,7 +195,7 @@ function listFolders({
|
|
195
195
|
});
|
196
196
|
}
|
197
197
|
function createFolder({
|
198
|
-
|
198
|
+
name,
|
199
199
|
subfolders
|
200
200
|
}) {
|
201
201
|
return axiosInstance({
|
@@ -203,7 +203,7 @@ function createFolder({
|
|
203
203
|
method: "post",
|
204
204
|
url: "/folders",
|
205
205
|
data: {
|
206
|
-
|
206
|
+
name,
|
207
207
|
subfolders
|
208
208
|
}
|
209
209
|
});
|
@@ -230,14 +230,14 @@ function moveFolders({
|
|
230
230
|
}
|
231
231
|
function updateFolder({
|
232
232
|
folder_id,
|
233
|
-
|
233
|
+
name
|
234
234
|
}) {
|
235
235
|
return axiosInstance({
|
236
236
|
operationId: "updateFolder",
|
237
237
|
method: "patch",
|
238
238
|
url: "/folders/" + folder_id,
|
239
239
|
data: {
|
240
|
-
|
240
|
+
name
|
241
241
|
}
|
242
242
|
});
|
243
243
|
}
|
@@ -287,7 +287,7 @@ function revokeMemberAccessToFolder({
|
|
287
287
|
}
|
288
288
|
function createSubfolder({
|
289
289
|
folder_id,
|
290
|
-
|
290
|
+
name,
|
291
291
|
subfolders
|
292
292
|
}) {
|
293
293
|
return axiosInstance({
|
@@ -295,7 +295,7 @@ function createSubfolder({
|
|
295
295
|
method: "post",
|
296
296
|
url: "/folders/" + folder_id + "/folders",
|
297
297
|
data: {
|
298
|
-
|
298
|
+
name,
|
299
299
|
subfolders
|
300
300
|
}
|
301
301
|
});
|
@@ -460,14 +460,14 @@ function getSourceFileDetails({
|
|
460
460
|
}
|
461
461
|
function updateSourceFileDetails({
|
462
462
|
source_file_id,
|
463
|
-
|
463
|
+
name
|
464
464
|
}) {
|
465
465
|
return axiosInstance({
|
466
466
|
operationId: "updateSourceFileDetails",
|
467
467
|
method: "patch",
|
468
468
|
url: "/source-files/" + source_file_id + "/details",
|
469
469
|
data: {
|
470
|
-
|
470
|
+
name
|
471
471
|
}
|
472
472
|
});
|
473
473
|
}
|