@uug-ai/models 1.6.3 → 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.
- package/dist/types.d.ts +115 -1
- 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[];
|
|
@@ -32786,6 +32887,18 @@ export interface components {
|
|
|
32786
32887
|
* identity is Id, so RunId itself is wire-only.
|
|
32787
32888
|
*/
|
|
32788
32889
|
runId?: string;
|
|
32890
|
+
/**
|
|
32891
|
+
* @description SignedURL is a vault-signed, short-lived URL (HMAC signature + TTL) a
|
|
32892
|
+
* dispatched stage worker can use to fetch the run's media directly, instead
|
|
32893
|
+
* of constructing the request from the raw Storage credentials. It is the
|
|
32894
|
+
* signed URL the upstream pipeline already holds for the recording (the same
|
|
32895
|
+
* one carried on PipelinePayload.SignedURL), copied onto the run at the
|
|
32896
|
+
* analysis hand-off and carried on the engine→worker dispatch alongside
|
|
32897
|
+
* Storage. `bson:"-"` is load-bearing: a signed URL is credential-equivalent
|
|
32898
|
+
* and short-lived, so — like Storage — it is wire-only and never lands in the
|
|
32899
|
+
* run's persisted state; a stage dispatched after a reload fetches via Storage.
|
|
32900
|
+
*/
|
|
32901
|
+
signedUrl?: string;
|
|
32789
32902
|
/**
|
|
32790
32903
|
* @description Storage carries the credentials a dispatched stage worker needs to fetch
|
|
32791
32904
|
* the media (global Kerberos Storage plus any resolved per-recording vault
|
|
@@ -32803,7 +32916,7 @@ export interface components {
|
|
|
32803
32916
|
* Storage block used to resolve a per-recording vault override. Copied (and
|
|
32804
32917
|
* scrubbed) from the analysis monitor stage — credential/secret fields and the
|
|
32805
32918
|
* individual user id never cross the boundary. Wire-only; the persisted scope
|
|
32806
|
-
* is
|
|
32919
|
+
* is OrganisationId.
|
|
32807
32920
|
*/
|
|
32808
32921
|
user?: components["schemas"]["models.WorkflowUser"];
|
|
32809
32922
|
/**
|
|
@@ -33078,6 +33191,7 @@ export declare namespace models {
|
|
|
33078
33191
|
type Location = components['schemas']['models.Location'];
|
|
33079
33192
|
type Marker = components['schemas']['models.Marker'];
|
|
33080
33193
|
type MarkerAtRuntimeMetadata = components['schemas']['models.MarkerAtRuntimeMetadata'];
|
|
33194
|
+
type MarkerBox = components['schemas']['models.MarkerBox'];
|
|
33081
33195
|
type MarkerCategory = components['schemas']['models.MarkerCategory'];
|
|
33082
33196
|
type MarkerCategoryOption = components['schemas']['models.MarkerCategoryOption'];
|
|
33083
33197
|
type MarkerEvent = components['schemas']['models.MarkerEvent'];
|