@eyepop.ai/eyepop 0.21.2 → 0.22.0

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.
@@ -413,7 +413,7 @@ declare enum AssetStatus {
413
413
  accepted = "accepted"
414
414
  }
415
415
  declare enum AnnotationType {
416
- manual = "manual",
416
+ ground_truth = "ground_truth",
417
417
  prediction = "prediction",
418
418
  auto = "auto"
419
419
  }
@@ -531,7 +531,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
531
531
  getAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, include_annotations?: boolean): Promise<Asset>;
532
532
  deleteAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number): Promise<void>;
533
533
  resurrectAsset(asset_uuid: string, dataset_uuid: string, from_dataset_version: number, into_dataset_version?: number): Promise<void>;
534
- updateAssetManualAnnotation(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, prediction?: Prediction$1): Promise<void>;
534
+ updateAssetGroundTruth(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, prediction?: Prediction$1): Promise<void>;
535
535
  updateAutoAnnotationStatus(asset_uuid: string, auto_annotate: string, user_review: UserReview): Promise<void>;
536
536
  downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
537
537
  listModels(): Promise<Model[]>;
@@ -413,7 +413,7 @@ declare enum AssetStatus {
413
413
  accepted = "accepted"
414
414
  }
415
415
  declare enum AnnotationType {
416
- manual = "manual",
416
+ ground_truth = "ground_truth",
417
417
  prediction = "prediction",
418
418
  auto = "auto"
419
419
  }
@@ -531,7 +531,7 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
531
531
  getAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, include_annotations?: boolean): Promise<Asset>;
532
532
  deleteAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number): Promise<void>;
533
533
  resurrectAsset(asset_uuid: string, dataset_uuid: string, from_dataset_version: number, into_dataset_version?: number): Promise<void>;
534
- updateAssetManualAnnotation(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, prediction?: Prediction$1): Promise<void>;
534
+ updateAssetGroundTruth(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, prediction?: Prediction$1): Promise<void>;
535
535
  updateAutoAnnotationStatus(asset_uuid: string, auto_annotate: string, user_review: UserReview): Promise<void>;
536
536
  downloadAsset(asset_uuid: string, dataset_uuid?: string, dataset_version?: number, transcode_mode?: TranscodeMode): Promise<Blob>;
537
537
  listModels(): Promise<Model[]>;
@@ -10774,7 +10774,7 @@ var AssetStatus = /* @__PURE__ */ ((AssetStatus2) => {
10774
10774
  return AssetStatus2;
10775
10775
  })(AssetStatus || {});
10776
10776
  var AnnotationType = /* @__PURE__ */ ((AnnotationType2) => {
10777
- AnnotationType2["manual"] = "manual";
10777
+ AnnotationType2["ground_truth"] = "ground_truth";
10778
10778
  AnnotationType2["prediction"] = "prediction";
10779
10779
  AnnotationType2["auto"] = "auto";
10780
10780
  return AnnotationType2;
@@ -11091,10 +11091,10 @@ var DataEndpoint = class extends Endpoint {
11091
11091
  method: "POST"
11092
11092
  });
11093
11093
  }
11094
- async updateAssetManualAnnotation(asset_uuid, dataset_uuid, dataset_version, prediction) {
11094
+ async updateAssetGroundTruth(asset_uuid, dataset_uuid, dataset_version, prediction) {
11095
11095
  const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11096
11096
  const datasetQuery = dataset_uuid ? `&dataset_uuid=${dataset_uuid}` : "";
11097
- return this.request(`/assets/${asset_uuid}/manual_annotate?${datasetQuery}${versionQuery}`, {
11097
+ return this.request(`/assets/${asset_uuid}/ground_truth?${datasetQuery}${versionQuery}`, {
11098
11098
  method: "PATCH",
11099
11099
  body: JSON.stringify(prediction)
11100
11100
  });