@eyepop.ai/eyepop 1.2.1 → 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.
@@ -11034,6 +11034,13 @@ var DataEndpoint = class extends Endpoint {
11034
11034
  body: JSON.stringify(prediction)
11035
11035
  });
11036
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
+ }
11037
11044
  async updateAutoAnnotationStatus(asset_uuid, auto_annotate, user_review, approved_threshold) {
11038
11045
  const validStatuses = ["approved", "rejected", "unknown"];
11039
11046
  if (!validStatuses.includes(user_review)) {