@uug-ai/models 1.0.36 → 1.0.38
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 +218 -6
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2148,6 +2148,162 @@ export interface paths {
|
|
|
2148
2148
|
patch?: never;
|
|
2149
2149
|
trace?: never;
|
|
2150
2150
|
};
|
|
2151
|
+
"/internal/getmediaerrorresponse": {
|
|
2152
|
+
parameters: {
|
|
2153
|
+
query?: never;
|
|
2154
|
+
header?: never;
|
|
2155
|
+
path?: never;
|
|
2156
|
+
cookie?: never;
|
|
2157
|
+
};
|
|
2158
|
+
/**
|
|
2159
|
+
* Get GetMediaErrorResponse (schema generation only)
|
|
2160
|
+
* @description Internal endpoint used only to ensure GetMediaErrorResponse schema is generated in OpenAPI spec
|
|
2161
|
+
*/
|
|
2162
|
+
get: {
|
|
2163
|
+
parameters: {
|
|
2164
|
+
query?: never;
|
|
2165
|
+
header?: never;
|
|
2166
|
+
path?: never;
|
|
2167
|
+
cookie?: never;
|
|
2168
|
+
};
|
|
2169
|
+
requestBody?: never;
|
|
2170
|
+
responses: {
|
|
2171
|
+
/** @description OK */
|
|
2172
|
+
200: {
|
|
2173
|
+
headers: {
|
|
2174
|
+
[name: string]: unknown;
|
|
2175
|
+
};
|
|
2176
|
+
content: {
|
|
2177
|
+
"application/json": components["schemas"]["api.GetMediaErrorResponse"];
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
put?: never;
|
|
2183
|
+
post?: never;
|
|
2184
|
+
delete?: never;
|
|
2185
|
+
options?: never;
|
|
2186
|
+
head?: never;
|
|
2187
|
+
patch?: never;
|
|
2188
|
+
trace?: never;
|
|
2189
|
+
};
|
|
2190
|
+
"/internal/getmediarequest": {
|
|
2191
|
+
parameters: {
|
|
2192
|
+
query?: never;
|
|
2193
|
+
header?: never;
|
|
2194
|
+
path?: never;
|
|
2195
|
+
cookie?: never;
|
|
2196
|
+
};
|
|
2197
|
+
/**
|
|
2198
|
+
* Get GetMediaRequest (schema generation only)
|
|
2199
|
+
* @description Internal endpoint used only to ensure GetMediaRequest schema is generated in OpenAPI spec
|
|
2200
|
+
*/
|
|
2201
|
+
get: {
|
|
2202
|
+
parameters: {
|
|
2203
|
+
query?: never;
|
|
2204
|
+
header?: never;
|
|
2205
|
+
path?: never;
|
|
2206
|
+
cookie?: never;
|
|
2207
|
+
};
|
|
2208
|
+
requestBody?: never;
|
|
2209
|
+
responses: {
|
|
2210
|
+
/** @description OK */
|
|
2211
|
+
200: {
|
|
2212
|
+
headers: {
|
|
2213
|
+
[name: string]: unknown;
|
|
2214
|
+
};
|
|
2215
|
+
content: {
|
|
2216
|
+
"application/json": components["schemas"]["api.GetMediaRequest"];
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
put?: never;
|
|
2222
|
+
post?: never;
|
|
2223
|
+
delete?: never;
|
|
2224
|
+
options?: never;
|
|
2225
|
+
head?: never;
|
|
2226
|
+
patch?: never;
|
|
2227
|
+
trace?: never;
|
|
2228
|
+
};
|
|
2229
|
+
"/internal/getmediaresponse": {
|
|
2230
|
+
parameters: {
|
|
2231
|
+
query?: never;
|
|
2232
|
+
header?: never;
|
|
2233
|
+
path?: never;
|
|
2234
|
+
cookie?: never;
|
|
2235
|
+
};
|
|
2236
|
+
/**
|
|
2237
|
+
* Get GetMediaResponse (schema generation only)
|
|
2238
|
+
* @description Internal endpoint used only to ensure GetMediaResponse schema is generated in OpenAPI spec
|
|
2239
|
+
*/
|
|
2240
|
+
get: {
|
|
2241
|
+
parameters: {
|
|
2242
|
+
query?: never;
|
|
2243
|
+
header?: never;
|
|
2244
|
+
path?: never;
|
|
2245
|
+
cookie?: never;
|
|
2246
|
+
};
|
|
2247
|
+
requestBody?: never;
|
|
2248
|
+
responses: {
|
|
2249
|
+
/** @description OK */
|
|
2250
|
+
200: {
|
|
2251
|
+
headers: {
|
|
2252
|
+
[name: string]: unknown;
|
|
2253
|
+
};
|
|
2254
|
+
content: {
|
|
2255
|
+
"application/json": components["schemas"]["api.GetMediaResponse"];
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
put?: never;
|
|
2261
|
+
post?: never;
|
|
2262
|
+
delete?: never;
|
|
2263
|
+
options?: never;
|
|
2264
|
+
head?: never;
|
|
2265
|
+
patch?: never;
|
|
2266
|
+
trace?: never;
|
|
2267
|
+
};
|
|
2268
|
+
"/internal/getmediasuccessresponse": {
|
|
2269
|
+
parameters: {
|
|
2270
|
+
query?: never;
|
|
2271
|
+
header?: never;
|
|
2272
|
+
path?: never;
|
|
2273
|
+
cookie?: never;
|
|
2274
|
+
};
|
|
2275
|
+
/**
|
|
2276
|
+
* Get GetMediaSuccessResponse (schema generation only)
|
|
2277
|
+
* @description Internal endpoint used only to ensure GetMediaSuccessResponse schema is generated in OpenAPI spec
|
|
2278
|
+
*/
|
|
2279
|
+
get: {
|
|
2280
|
+
parameters: {
|
|
2281
|
+
query?: never;
|
|
2282
|
+
header?: never;
|
|
2283
|
+
path?: never;
|
|
2284
|
+
cookie?: never;
|
|
2285
|
+
};
|
|
2286
|
+
requestBody?: never;
|
|
2287
|
+
responses: {
|
|
2288
|
+
/** @description OK */
|
|
2289
|
+
200: {
|
|
2290
|
+
headers: {
|
|
2291
|
+
[name: string]: unknown;
|
|
2292
|
+
};
|
|
2293
|
+
content: {
|
|
2294
|
+
"application/json": components["schemas"]["api.GetMediaSuccessResponse"];
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
put?: never;
|
|
2300
|
+
post?: never;
|
|
2301
|
+
delete?: never;
|
|
2302
|
+
options?: never;
|
|
2303
|
+
head?: never;
|
|
2304
|
+
patch?: never;
|
|
2305
|
+
trace?: never;
|
|
2306
|
+
};
|
|
2151
2307
|
"/internal/gettimelineerrorresponse": {
|
|
2152
2308
|
parameters: {
|
|
2153
2309
|
query?: never;
|
|
@@ -4756,6 +4912,37 @@ export interface components {
|
|
|
4756
4912
|
/** @description Additional metadata about the response, such as timestamps and request IDs */
|
|
4757
4913
|
metaData?: components["schemas"]["api.Metadata"];
|
|
4758
4914
|
};
|
|
4915
|
+
"api.GetMediaErrorResponse": {
|
|
4916
|
+
/** @description Application-specific error code */
|
|
4917
|
+
applicationStatusCode?: string;
|
|
4918
|
+
/** @description Entity-specific error code */
|
|
4919
|
+
entityStatusCode?: string;
|
|
4920
|
+
/** @description HTTP status code for the error */
|
|
4921
|
+
httpStatusCode?: number;
|
|
4922
|
+
/** @description Error message describing the issue */
|
|
4923
|
+
message?: string;
|
|
4924
|
+
/** @description Additional metadata about the error, such as timestamps and request IDs */
|
|
4925
|
+
metaData?: components["schemas"]["api.Metadata"];
|
|
4926
|
+
};
|
|
4927
|
+
"api.GetMediaRequest": {
|
|
4928
|
+
filter?: components["schemas"]["api.MediaFilter"];
|
|
4929
|
+
};
|
|
4930
|
+
"api.GetMediaResponse": {
|
|
4931
|
+
media?: components["schemas"]["models.Media"][];
|
|
4932
|
+
};
|
|
4933
|
+
"api.GetMediaSuccessResponse": {
|
|
4934
|
+
/** @description Application-specific status code */
|
|
4935
|
+
applicationStatusCode?: string;
|
|
4936
|
+
data?: components["schemas"]["api.GetMediaResponse"];
|
|
4937
|
+
/** @description Entity-specific status code */
|
|
4938
|
+
entityStatusCode?: string;
|
|
4939
|
+
/** @description HTTP status code for the response */
|
|
4940
|
+
httpStatusCode?: number;
|
|
4941
|
+
/** @description Success message describing the operation */
|
|
4942
|
+
message?: string;
|
|
4943
|
+
/** @description Additional metadata about the response, such as timestamps and request IDs */
|
|
4944
|
+
metaData?: components["schemas"]["api.Metadata"];
|
|
4945
|
+
};
|
|
4759
4946
|
"api.GetTimelineErrorResponse": {
|
|
4760
4947
|
/** @description Application-specific error code */
|
|
4761
4948
|
applicationStatusCode?: string;
|
|
@@ -5463,13 +5650,15 @@ export interface components {
|
|
|
5463
5650
|
deviceId?: string;
|
|
5464
5651
|
duration?: number;
|
|
5465
5652
|
endTimestamp?: number;
|
|
5653
|
+
groupId?: string;
|
|
5654
|
+
/** @description Unique identifier for the media file */
|
|
5466
5655
|
id?: string;
|
|
5467
5656
|
/** @description Metadata */
|
|
5468
5657
|
metadata?: components["schemas"]["models.MediaMetadata"];
|
|
5469
5658
|
organisationId?: string;
|
|
5659
|
+
redactionFile?: string;
|
|
5660
|
+
siteId?: string;
|
|
5470
5661
|
spriteFile?: string;
|
|
5471
|
-
spriteInterval?: number;
|
|
5472
|
-
spriteProvider?: string;
|
|
5473
5662
|
/** @description Time window of media file. */
|
|
5474
5663
|
startTimestamp?: number;
|
|
5475
5664
|
/**
|
|
@@ -5478,19 +5667,38 @@ export interface components {
|
|
|
5478
5667
|
*/
|
|
5479
5668
|
storageSolution?: string;
|
|
5480
5669
|
thumbnailFile?: string;
|
|
5481
|
-
thumbnailProvider?: string;
|
|
5482
|
-
/** @description Media file information */
|
|
5483
5670
|
videoFile?: string;
|
|
5484
|
-
/** @description Vault provider information (contains where the media is stored on which underlaying cloud storage) */
|
|
5485
|
-
videoProvider?: string;
|
|
5486
5671
|
};
|
|
5487
5672
|
"models.MediaAtRuntimeMetadata": {
|
|
5673
|
+
/** @description Timestamp when the runtime metadata was cached. */
|
|
5674
|
+
cacheTimestamp?: number;
|
|
5675
|
+
redactionUrl?: string;
|
|
5488
5676
|
spriteUrl?: string;
|
|
5489
5677
|
thumbnailUrl?: string;
|
|
5490
5678
|
videoUrl?: string;
|
|
5491
5679
|
};
|
|
5492
5680
|
"models.MediaMetadata": {
|
|
5681
|
+
/** @description Analysis data (we keep a reference to the original analysis, and cache some data here) */
|
|
5682
|
+
analysisId?: string;
|
|
5683
|
+
/** @description in kbps */
|
|
5684
|
+
bitrate?: number;
|
|
5493
5685
|
classifications?: string[];
|
|
5686
|
+
/** @description e.g., H.264, VP9 */
|
|
5687
|
+
codec?: string;
|
|
5688
|
+
/** @description Media containers related information */
|
|
5689
|
+
containerType?: string;
|
|
5690
|
+
count?: number;
|
|
5691
|
+
description?: string;
|
|
5692
|
+
detections?: string[];
|
|
5693
|
+
dominantColors?: string[];
|
|
5694
|
+
embedding?: number[];
|
|
5695
|
+
/** @description frames per second */
|
|
5696
|
+
fps?: number;
|
|
5697
|
+
/** @description e.g., 1920x1080 */
|
|
5698
|
+
resolution?: string;
|
|
5699
|
+
/** @description Sprite interval in seconds */
|
|
5700
|
+
spriteInterval?: number;
|
|
5701
|
+
/** @description Tags associated to give some context about the media file */
|
|
5494
5702
|
tags?: string[];
|
|
5495
5703
|
};
|
|
5496
5704
|
"models.MonitorStage": {
|
|
@@ -5929,6 +6137,10 @@ export declare namespace api {
|
|
|
5929
6137
|
type GetMarkersErrorResponse = components['schemas']['api.GetMarkersErrorResponse'];
|
|
5930
6138
|
type GetMarkersResponse = components['schemas']['api.GetMarkersResponse'];
|
|
5931
6139
|
type GetMarkersSuccessResponse = components['schemas']['api.GetMarkersSuccessResponse'];
|
|
6140
|
+
type GetMediaErrorResponse = components['schemas']['api.GetMediaErrorResponse'];
|
|
6141
|
+
type GetMediaRequest = components['schemas']['api.GetMediaRequest'];
|
|
6142
|
+
type GetMediaResponse = components['schemas']['api.GetMediaResponse'];
|
|
6143
|
+
type GetMediaSuccessResponse = components['schemas']['api.GetMediaSuccessResponse'];
|
|
5932
6144
|
type GetTimelineErrorResponse = components['schemas']['api.GetTimelineErrorResponse'];
|
|
5933
6145
|
type GetTimelineRequest = components['schemas']['api.GetTimelineRequest'];
|
|
5934
6146
|
type GetTimelineResponse = components['schemas']['api.GetTimelineResponse'];
|