@3dverse/api 0.8.21 → 0.9.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/index.mjs CHANGED
@@ -459,26 +459,6 @@ function createCubemap({
459
459
  headers
460
460
  });
461
461
  }
462
- function importAssets({
463
- folder_id,
464
- overwrite = "never",
465
- body
466
- }, onUploadProgress, headers) {
467
- return axiosInstance({
468
- method: "put",
469
- url: "/folders/" + folder_id + "/packages",
470
- params: {
471
- overwrite
472
- },
473
- data: body,
474
- maxRedirects: 0,
475
- onUploadProgress,
476
- headers: {
477
- "Content-Type": "application/zip",
478
- ...headers?.toJSON()
479
- }
480
- });
481
- }
482
462
  function getSessionsInFolder({
483
463
  folder_id
484
464
  }, headers) {
@@ -521,6 +501,13 @@ function deleteSourceFiles({
521
501
  headers
522
502
  });
523
503
  }
504
+ function getSupportedSourceFileFormats(headers) {
505
+ return axiosInstance({
506
+ method: "get",
507
+ url: "/source-files/supported-formats",
508
+ headers
509
+ });
510
+ }
524
511
  function downloadSourceFile({
525
512
  source_file_id
526
513
  }, headers, responseType) {
@@ -1222,6 +1209,7 @@ export {
1222
1209
  getSourceFileAssets,
1223
1210
  getSourceFileDetails,
1224
1211
  getSourceFilesInFolder,
1212
+ getSupportedSourceFileFormats,
1225
1213
  getUploadTask,
1226
1214
  getUploadTasks,
1227
1215
  getUploadTasksInFolder,
@@ -1230,7 +1218,6 @@ export {
1230
1218
  getUserUploadTasks,
1231
1219
  grantMemberAccessToFolder,
1232
1220
  grantMemberAccessToGroup,
1233
- importAssets,
1234
1221
  joinSession,
1235
1222
  joinSessionAsGuest,
1236
1223
  kickClientFromSession,