@eyepop.ai/eyepop 1.2.0 → 1.2.2

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.
@@ -10741,6 +10741,7 @@ var ChangeType = /* @__PURE__ */ ((ChangeType2) => {
10741
10741
  ChangeType2["model_removed"] = "model_removed";
10742
10742
  ChangeType2["model_modified"] = "model_modified";
10743
10743
  ChangeType2["model_status_modified"] = "model_status_modified";
10744
+ ChangeType2["model_progress"] = "model_progress";
10744
10745
  return ChangeType2;
10745
10746
  })(ChangeType || {});
10746
10747
 
@@ -11033,6 +11034,13 @@ var DataEndpoint = class extends Endpoint {
11033
11034
  body: JSON.stringify(prediction)
11034
11035
  });
11035
11036
  }
11037
+ async deleteAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version) {
11038
+ const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11039
+ const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
11040
+ return this.request(`/assets/${asset_uuid}/ground_truth?${datasetQuery}${versionQuery}`, {
11041
+ method: "DELETE"
11042
+ });
11043
+ }
11036
11044
  async updateAutoAnnotationStatus(asset_uuid, auto_annotate, user_review, approved_threshold) {
11037
11045
  const validStatuses = ["approved", "rejected", "unknown"];
11038
11046
  if (!validStatuses.includes(user_review)) {
@@ -11164,6 +11172,7 @@ var DataEndpoint = class extends Endpoint {
11164
11172
  case "model_modified" /* model_modified */:
11165
11173
  case "model_removed" /* model_removed */:
11166
11174
  case "model_status_modified" /* model_status_modified */:
11175
+ case "model_progress" /* model_progress */:
11167
11176
  const event_handlers = this._dataset_uuid_to_event_handlers.get(change_event.dataset_uuid);
11168
11177
  this._logger.debug("dispatchChangeEvent event_handlers=%s", event_handlers);
11169
11178
  if (event_handlers !== void 0) {