@uug-ai/models 1.5.5 → 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.
Files changed (2) hide show
  1. package/dist/types.d.ts +8 -5
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -27589,8 +27589,8 @@ export interface components {
27589
27589
  };
27590
27590
  "api.PostDetectionsRequest": {
27591
27591
  /**
27592
- * @description AnalysisId targets the recording via its analysis document id, as an
27593
- * alternative to MediaId.
27592
+ * @description AnalysisId targets the recording via its analysis document _id (an
27593
+ * ObjectID hex), as an alternative to MediaKey.
27594
27594
  */
27595
27595
  analysisId?: string;
27596
27596
  categories?: components["schemas"]["models.DetectionCategory"][];
@@ -27598,10 +27598,12 @@ export interface components {
27598
27598
  coordinateSpace?: string;
27599
27599
  media?: components["schemas"]["models.DetectionMedia"];
27600
27600
  /**
27601
- * @description MediaId is the recording/media key the run belongs to. Provide this or
27602
- * AnalysisId (MediaId wins when both are present).
27601
+ * @description MediaKey is the recording KEY the run belongs to - the stable string that
27602
+ * is stored as media.videoFile and analysis.key (NOT the media document's
27603
+ * _id). The server resolves it against analysis.key. Provide this or
27604
+ * AnalysisId (MediaKey wins when both are present).
27603
27605
  */
27604
- mediaId?: string;
27606
+ mediaKey?: string;
27605
27607
  schemaVersion?: string;
27606
27608
  source?: components["schemas"]["models.DetectionSource"];
27607
27609
  /** @description Task is an optional run discriminator; defaults to "detection". */
@@ -30532,6 +30534,7 @@ export interface components {
30532
30534
  "event-numberofchanges"?: string;
30533
30535
  "event-regioncoordinates"?: string;
30534
30536
  "event-timestamp"?: string;
30537
+ fps?: string;
30535
30538
  productid?: string;
30536
30539
  uploadtime?: string;
30537
30540
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",