@3dverse/api 0.6.2 → 0.6.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.
- package/README.md +4 -5
- package/dist/_prebuild/wrapper.d.ts +27 -11
- package/dist/index.js +14 -4
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +14 -4
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -293,15 +293,20 @@ function listFolderSubFolders({
|
|
|
293
293
|
function getSourceFilesInFolder({
|
|
294
294
|
folder_id,
|
|
295
295
|
offset = 0,
|
|
296
|
-
limit = 10
|
|
296
|
+
limit = 10,
|
|
297
|
+
filters
|
|
297
298
|
}) {
|
|
298
299
|
return axiosInstance({
|
|
299
300
|
method: "get",
|
|
300
301
|
url: "/folders/" + folder_id + "/source-files",
|
|
301
302
|
params: {
|
|
302
303
|
offset,
|
|
303
|
-
limit
|
|
304
|
+
limit,
|
|
305
|
+
filters
|
|
304
306
|
}
|
|
307
|
+
}).then((response) => {
|
|
308
|
+
response.headers["x-source-files-count"] = JSON.parse(response.headers["x-source-files-count"]);
|
|
309
|
+
return response;
|
|
305
310
|
});
|
|
306
311
|
}
|
|
307
312
|
function moveSourceFiles({
|
|
@@ -374,15 +379,20 @@ function getSessionsInFolder({
|
|
|
374
379
|
}
|
|
375
380
|
function listSourceFiles({
|
|
376
381
|
offset = 0,
|
|
377
|
-
limit = 10
|
|
382
|
+
limit = 10,
|
|
383
|
+
filters
|
|
378
384
|
}) {
|
|
379
385
|
return axiosInstance({
|
|
380
386
|
method: "get",
|
|
381
387
|
url: "/source-files",
|
|
382
388
|
params: {
|
|
383
389
|
offset,
|
|
384
|
-
limit
|
|
390
|
+
limit,
|
|
391
|
+
filters
|
|
385
392
|
}
|
|
393
|
+
}).then((response) => {
|
|
394
|
+
response.headers["x-source-files-count"] = JSON.parse(response.headers["x-source-files-count"]);
|
|
395
|
+
return response;
|
|
386
396
|
});
|
|
387
397
|
}
|
|
388
398
|
function deleteSourceFiles({
|