@3dverse/api 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -505,6 +505,10 @@ export type GetSourceFileAssets_Object = {
505
505
  export declare function getSourceFileAssets({ source_file_id }: {
506
506
  source_file_id: string;
507
507
  }): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList>;
508
+ export declare function getUploadTasks({ offset, limit }: {
509
+ offset?: number;
510
+ limit?: number;
511
+ }): AxiosPromise<any>;
508
512
  export type GetUploadTask_UploadTask = {
509
513
  upload_task_id: string;
510
514
  folder_id: string;
package/dist/index.js CHANGED
@@ -72,6 +72,7 @@ __export(library_exports, {
72
72
  getSourceFileDetails: () => getSourceFileDetails,
73
73
  getSourceFilesInFolder: () => getSourceFilesInFolder,
74
74
  getUploadTask: () => getUploadTask,
75
+ getUploadTasks: () => getUploadTasks,
75
76
  getUploadTasksInFolder: () => getUploadTasksInFolder,
76
77
  getUser: () => getUser,
77
78
  getUserGroups: () => getUserGroups,
@@ -594,6 +595,20 @@ function getSourceFileAssets({
594
595
  url: "/source-files/" + source_file_id + "/assets"
595
596
  });
596
597
  }
598
+ function getUploadTasks({
599
+ offset = 0,
600
+ limit = 10
601
+ }) {
602
+ return axiosInstance({
603
+ operationId: "getUploadTasks",
604
+ method: "get",
605
+ url: "/upload-tasks",
606
+ params: {
607
+ offset,
608
+ limit
609
+ }
610
+ });
611
+ }
597
612
  function getUploadTask({
598
613
  upload_task_id
599
614
  }) {
@@ -1075,6 +1090,7 @@ installInterceptors();
1075
1090
  getSourceFileDetails,
1076
1091
  getSourceFilesInFolder,
1077
1092
  getUploadTask,
1093
+ getUploadTasks,
1078
1094
  getUploadTasksInFolder,
1079
1095
  getUser,
1080
1096
  getUserGroups,