@3dverse/api 0.12.0 → 0.13.1

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
@@ -746,32 +746,16 @@ function listSourceFileAssets({
746
746
  }
747
747
  function createImport({
748
748
  folder_id,
749
- files,
750
- conversion_pipeline = "auto-detect",
751
- remote_files,
752
- options
753
- }, onUploadProgress, headers) {
749
+ body
750
+ }, headers) {
754
751
  return axiosInstance({
755
752
  method: "post",
756
753
  url: "/imports",
757
754
  params: {
758
755
  folder_id
759
756
  },
760
- data: multipartBody(
761
- {
762
- conversion_pipeline,
763
- remote_files,
764
- options
765
- },
766
- {
767
- files
768
- }
769
- ),
770
- onUploadProgress,
771
- headers: {
772
- "Content-Type": "multipart/form-data",
773
- ...plainHeaders(headers)
774
- }
757
+ data: body,
758
+ headers
775
759
  });
776
760
  }
777
761
  function listImports({