@3dverse/api 0.8.11 → 0.8.13

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
@@ -589,6 +589,35 @@ function getConversionTaskMetadata({
589
589
  responseType: responseType || "arraybuffer"
590
590
  });
591
591
  }
592
+ function schedulePipeline({
593
+ data_pipeline_id,
594
+ pipeline_name,
595
+ folder_id,
596
+ inputs,
597
+ asset_refs
598
+ }, headers) {
599
+ return axiosInstance({
600
+ method: "post",
601
+ url: "/pipelines",
602
+ data: {
603
+ data_pipeline_id,
604
+ pipeline_name,
605
+ folder_id,
606
+ inputs,
607
+ asset_refs
608
+ },
609
+ headers
610
+ });
611
+ }
612
+ function getPipeline({
613
+ pipeline_id
614
+ }, headers) {
615
+ return axiosInstance({
616
+ method: "get",
617
+ url: "/pipelines/" + pipeline_id,
618
+ headers
619
+ });
620
+ }
592
621
  function listAssets({
593
622
  offset = 0,
594
623
  limit = 10,
@@ -1129,6 +1158,7 @@ export {
1129
1158
  getFolderAssets,
1130
1159
  getFolderInfo,
1131
1160
  getGroup,
1161
+ getPipeline,
1132
1162
  getRunningSessions,
1133
1163
  getSceneAABB,
1134
1164
  getSceneSessions,
@@ -1165,6 +1195,7 @@ export {
1165
1195
  renameAsset,
1166
1196
  revokeMemberAccessToFolder,
1167
1197
  revokeMemberAccessToGroup,
1198
+ schedulePipeline,
1168
1199
  setApiKey,
1169
1200
  setAssetThumbnail,
1170
1201
  setBaseURL,