@uug-ai/models 1.6.4 → 1.6.6

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 +103 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -16773,6 +16773,45 @@ export interface paths {
16773
16773
  patch?: never;
16774
16774
  trace?: never;
16775
16775
  };
16776
+ "/internal/markerbox": {
16777
+ parameters: {
16778
+ query?: never;
16779
+ header?: never;
16780
+ path?: never;
16781
+ cookie?: never;
16782
+ };
16783
+ /**
16784
+ * Get MarkerBox (schema generation only)
16785
+ * @description Internal endpoint used only to ensure MarkerBox schema is generated in OpenAPI spec
16786
+ */
16787
+ get: {
16788
+ parameters: {
16789
+ query?: never;
16790
+ header?: never;
16791
+ path?: never;
16792
+ cookie?: never;
16793
+ };
16794
+ requestBody?: never;
16795
+ responses: {
16796
+ /** @description OK */
16797
+ 200: {
16798
+ headers: {
16799
+ [name: string]: unknown;
16800
+ };
16801
+ content: {
16802
+ "application/json": components["schemas"]["models.MarkerBox"];
16803
+ };
16804
+ };
16805
+ };
16806
+ };
16807
+ put?: never;
16808
+ post?: never;
16809
+ delete?: never;
16810
+ options?: never;
16811
+ head?: never;
16812
+ patch?: never;
16813
+ trace?: never;
16814
+ };
16776
16815
  "/internal/markercategory": {
16777
16816
  parameters: {
16778
16817
  query?: never;
@@ -31078,6 +31117,28 @@ export interface components {
31078
31117
  markerRanges?: components["schemas"]["models.MarkerOptionTimeRange"][];
31079
31118
  tagRanges?: components["schemas"]["models.MarkerTagTimeRange"][];
31080
31119
  };
31120
+ "models.MarkerBox": {
31121
+ /**
31122
+ * @description Box height, fraction of frame height
31123
+ * @example 0.1
31124
+ */
31125
+ height?: number;
31126
+ /**
31127
+ * @description Box width, fraction of frame width
31128
+ * @example 0.2
31129
+ */
31130
+ width?: number;
31131
+ /**
31132
+ * @description Left edge, fraction of frame width
31133
+ * @example 0.12
31134
+ */
31135
+ x?: number;
31136
+ /**
31137
+ * @description Top edge, fraction of frame height
31138
+ * @example 0.34
31139
+ */
31140
+ y?: number;
31141
+ };
31081
31142
  "models.MarkerCategory": {
31082
31143
  /** @example security */
31083
31144
  name?: string;
@@ -31175,8 +31236,48 @@ export interface components {
31175
31236
  startTimestamp?: number;
31176
31237
  };
31177
31238
  "models.MarkerMetadata": {
31239
+ /**
31240
+ * @description BoundingBox is the normalized [0,1] region of the detection within the frame,
31241
+ * suitable for drawing overlays. Nil when no spatial information is available.
31242
+ */
31243
+ boundingBox?: components["schemas"]["models.MarkerBox"];
31178
31244
  /** @description Additional comments or description of the marker */
31179
31245
  comments?: components["schemas"]["models.Comment"];
31246
+ /**
31247
+ * @description Confidence is the certainty of the detection that produced this marker, in the
31248
+ * range [0,1] (e.g. an ANPR plate-read or object-detection score). A nil pointer
31249
+ * means no confidence was reported; this keeps the value optional and lets a
31250
+ * genuine 0 be distinguished from "unset".
31251
+ * @example 0.92
31252
+ */
31253
+ confidence?: number;
31254
+ /**
31255
+ * @description Engine identifies the concrete backend used within the pipeline
31256
+ * (e.g. "fast-onnx", "tesseract", "http").
31257
+ * @example fast-onnx
31258
+ */
31259
+ engine?: string;
31260
+ /**
31261
+ * @description ModelVersion records the version of the model that produced the detection,
31262
+ * so detections can be correlated with model changes after the fact.
31263
+ * @example v1.4.0
31264
+ */
31265
+ modelVersion?: string;
31266
+ /**
31267
+ * @description Raw is an escape hatch for pipeline-specific metadata that does not warrant a
31268
+ * first-class field. Values here are not indexed or validated; promote anything
31269
+ * you need to query into a typed field instead.
31270
+ */
31271
+ raw?: {
31272
+ [key: string]: unknown;
31273
+ };
31274
+ /**
31275
+ * @description Source identifies the pipeline that produced this marker (e.g. "anpr",
31276
+ * "loitering", "dominantcolors"). This is provenance, distinct from the
31277
+ * user-facing Categories on the marker.
31278
+ * @example anpr
31279
+ */
31280
+ source?: string;
31180
31281
  };
31181
31282
  "models.MarkerOption": {
31182
31283
  categories?: string[];
@@ -32815,7 +32916,7 @@ export interface components {
32815
32916
  * Storage block used to resolve a per-recording vault override. Copied (and
32816
32917
  * scrubbed) from the analysis monitor stage — credential/secret fields and the
32817
32918
  * individual user id never cross the boundary. Wire-only; the persisted scope
32818
- * is UserId (which holds the organisation id).
32919
+ * is OrganisationId.
32819
32920
  */
32820
32921
  user?: components["schemas"]["models.WorkflowUser"];
32821
32922
  /**
@@ -33090,6 +33191,7 @@ export declare namespace models {
33090
33191
  type Location = components['schemas']['models.Location'];
33091
33192
  type Marker = components['schemas']['models.Marker'];
33092
33193
  type MarkerAtRuntimeMetadata = components['schemas']['models.MarkerAtRuntimeMetadata'];
33194
+ type MarkerBox = components['schemas']['models.MarkerBox'];
33093
33195
  type MarkerCategory = components['schemas']['models.MarkerCategory'];
33094
33196
  type MarkerCategoryOption = components['schemas']['models.MarkerCategoryOption'];
33095
33197
  type MarkerEvent = components['schemas']['models.MarkerEvent'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",