@3dverse/api 0.6.3 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +15 -7
- package/dist/index.js +18 -6
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +18 -6
- 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({
|
@@ -712,14 +722,16 @@ function deleteEntity({
|
|
712
722
|
}
|
713
723
|
function createSession({
|
714
724
|
scene_id,
|
715
|
-
renderer_version
|
725
|
+
renderer_version,
|
726
|
+
is_transient = false
|
716
727
|
}) {
|
717
728
|
return axiosInstance({
|
718
729
|
method: "post",
|
719
730
|
url: "/sessions",
|
720
731
|
data: {
|
721
732
|
scene_id,
|
722
|
-
renderer_version
|
733
|
+
renderer_version,
|
734
|
+
is_transient
|
723
735
|
}
|
724
736
|
});
|
725
737
|
}
|