@eyepop.ai/eyepop 1.5.4 → 1.5.7

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.
@@ -10831,6 +10831,17 @@ var ModelStatus = /* @__PURE__ */ ((ModelStatus2) => {
10831
10831
  ModelStatus2["published"] = "published";
10832
10832
  return ModelStatus2;
10833
10833
  })(ModelStatus || {});
10834
+ var ModelExportStatus = /* @__PURE__ */ ((ModelExportStatus2) => {
10835
+ ModelExportStatus2["in_progress"] = "in_progress";
10836
+ ModelExportStatus2["finished"] = "finished";
10837
+ ModelExportStatus2["error"] = "error";
10838
+ return ModelExportStatus2;
10839
+ })(ModelExportStatus || {});
10840
+ var ExportedBy = /* @__PURE__ */ ((ExportedBy2) => {
10841
+ ExportedBy2["eyepop"] = "eyepop";
10842
+ ExportedBy2["qc_ai_hub"] = "qc_ai_hub";
10843
+ return ExportedBy2;
10844
+ })(ExportedBy || {});
10834
10845
  var ModelTrainingStage = /* @__PURE__ */ ((ModelTrainingStage2) => {
10835
10846
  ModelTrainingStage2["waiting"] = "waiting";
10836
10847
  ModelTrainingStage2["scheduling"] = "scheduling";
@@ -11263,6 +11274,15 @@ var DataEndpoint = class extends Endpoint {
11263
11274
  method: "POST"
11264
11275
  });
11265
11276
  }
11277
+ async exportModel(model_uuid, export_by, params) {
11278
+ if (export_by != "qc_ai_hub" /* qc_ai_hub */) {
11279
+ return Promise.reject(`Unexpected export_by ${export_by}, must be 'qc_ai_hub'`);
11280
+ }
11281
+ await this.request(`/models/${model_uuid}/exports/qc_ai_hub`, {
11282
+ method: "POST",
11283
+ body: JSON.stringify(params)
11284
+ });
11285
+ }
11266
11286
  addAccountEventHandler(eventHandler) {
11267
11287
  this._account_event_handlers.push(eventHandler);
11268
11288
  }
@@ -11503,11 +11523,13 @@ export {
11503
11523
  DataEndpoint,
11504
11524
  Endpoint,
11505
11525
  EndpointState,
11526
+ ExportedBy,
11506
11527
  EyePop,
11507
11528
  ForwardOperatorType,
11508
11529
  InferenceType,
11509
11530
  LoadFromJob,
11510
11531
  LoadLiveIngressJob,
11532
+ ModelExportStatus,
11511
11533
  ModelFormat,
11512
11534
  ModelPrecisionType,
11513
11535
  ModelStatus,