@uug-ai/models 1.3.2 → 1.3.4
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 +146 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -900,6 +900,84 @@ export interface paths {
|
|
|
900
900
|
patch?: never;
|
|
901
901
|
trace?: never;
|
|
902
902
|
};
|
|
903
|
+
"/internal/classification": {
|
|
904
|
+
parameters: {
|
|
905
|
+
query?: never;
|
|
906
|
+
header?: never;
|
|
907
|
+
path?: never;
|
|
908
|
+
cookie?: never;
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* Get Classification (schema generation only)
|
|
912
|
+
* @description Internal endpoint used only to ensure Classification schema is generated in OpenAPI spec
|
|
913
|
+
*/
|
|
914
|
+
get: {
|
|
915
|
+
parameters: {
|
|
916
|
+
query?: never;
|
|
917
|
+
header?: never;
|
|
918
|
+
path?: never;
|
|
919
|
+
cookie?: never;
|
|
920
|
+
};
|
|
921
|
+
requestBody?: never;
|
|
922
|
+
responses: {
|
|
923
|
+
/** @description OK */
|
|
924
|
+
200: {
|
|
925
|
+
headers: {
|
|
926
|
+
[name: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
content: {
|
|
929
|
+
"application/json": components["schemas"]["models.Classification"];
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
put?: never;
|
|
935
|
+
post?: never;
|
|
936
|
+
delete?: never;
|
|
937
|
+
options?: never;
|
|
938
|
+
head?: never;
|
|
939
|
+
patch?: never;
|
|
940
|
+
trace?: never;
|
|
941
|
+
};
|
|
942
|
+
"/internal/classificationsummary": {
|
|
943
|
+
parameters: {
|
|
944
|
+
query?: never;
|
|
945
|
+
header?: never;
|
|
946
|
+
path?: never;
|
|
947
|
+
cookie?: never;
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* Get ClassificationSummary (schema generation only)
|
|
951
|
+
* @description Internal endpoint used only to ensure ClassificationSummary schema is generated in OpenAPI spec
|
|
952
|
+
*/
|
|
953
|
+
get: {
|
|
954
|
+
parameters: {
|
|
955
|
+
query?: never;
|
|
956
|
+
header?: never;
|
|
957
|
+
path?: never;
|
|
958
|
+
cookie?: never;
|
|
959
|
+
};
|
|
960
|
+
requestBody?: never;
|
|
961
|
+
responses: {
|
|
962
|
+
/** @description OK */
|
|
963
|
+
200: {
|
|
964
|
+
headers: {
|
|
965
|
+
[name: string]: unknown;
|
|
966
|
+
};
|
|
967
|
+
content: {
|
|
968
|
+
"application/json": components["schemas"]["models.ClassificationSummary"];
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
put?: never;
|
|
974
|
+
post?: never;
|
|
975
|
+
delete?: never;
|
|
976
|
+
options?: never;
|
|
977
|
+
head?: never;
|
|
978
|
+
patch?: never;
|
|
979
|
+
trace?: never;
|
|
980
|
+
};
|
|
903
981
|
"/internal/classify": {
|
|
904
982
|
parameters: {
|
|
905
983
|
query?: never;
|
|
@@ -1173,6 +1251,45 @@ export interface paths {
|
|
|
1173
1251
|
patch?: never;
|
|
1174
1252
|
trace?: never;
|
|
1175
1253
|
};
|
|
1254
|
+
"/internal/countingsummary": {
|
|
1255
|
+
parameters: {
|
|
1256
|
+
query?: never;
|
|
1257
|
+
header?: never;
|
|
1258
|
+
path?: never;
|
|
1259
|
+
cookie?: never;
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Get CountingSummary (schema generation only)
|
|
1263
|
+
* @description Internal endpoint used only to ensure CountingSummary schema is generated in OpenAPI spec
|
|
1264
|
+
*/
|
|
1265
|
+
get: {
|
|
1266
|
+
parameters: {
|
|
1267
|
+
query?: never;
|
|
1268
|
+
header?: never;
|
|
1269
|
+
path?: never;
|
|
1270
|
+
cookie?: never;
|
|
1271
|
+
};
|
|
1272
|
+
requestBody?: never;
|
|
1273
|
+
responses: {
|
|
1274
|
+
/** @description OK */
|
|
1275
|
+
200: {
|
|
1276
|
+
headers: {
|
|
1277
|
+
[name: string]: unknown;
|
|
1278
|
+
};
|
|
1279
|
+
content: {
|
|
1280
|
+
"application/json": components["schemas"]["models.CountingSummary"];
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
put?: never;
|
|
1286
|
+
post?: never;
|
|
1287
|
+
delete?: never;
|
|
1288
|
+
options?: never;
|
|
1289
|
+
head?: never;
|
|
1290
|
+
patch?: never;
|
|
1291
|
+
trace?: never;
|
|
1292
|
+
};
|
|
1176
1293
|
"/internal/cursorpagination": {
|
|
1177
1294
|
parameters: {
|
|
1178
1295
|
query?: never;
|
|
@@ -10572,6 +10689,15 @@ export interface components {
|
|
|
10572
10689
|
running?: boolean;
|
|
10573
10690
|
speed?: number;
|
|
10574
10691
|
};
|
|
10692
|
+
"models.Classification": {
|
|
10693
|
+
/** @description e.g., [[x1, y1], [x2, y2], ...] */
|
|
10694
|
+
centroids?: number[][];
|
|
10695
|
+
key?: string;
|
|
10696
|
+
};
|
|
10697
|
+
"models.ClassificationSummary": {
|
|
10698
|
+
count?: number;
|
|
10699
|
+
key?: string;
|
|
10700
|
+
};
|
|
10575
10701
|
"models.Classify": {
|
|
10576
10702
|
details?: components["schemas"]["models.ClassifyDetails"][];
|
|
10577
10703
|
properties?: string[];
|
|
@@ -10647,6 +10773,11 @@ export interface components {
|
|
|
10647
10773
|
type?: string;
|
|
10648
10774
|
username?: string;
|
|
10649
10775
|
};
|
|
10776
|
+
"models.CountingSummary": {
|
|
10777
|
+
count?: number;
|
|
10778
|
+
duration?: number;
|
|
10779
|
+
type?: string;
|
|
10780
|
+
};
|
|
10650
10781
|
"models.CustomAlert": {
|
|
10651
10782
|
alexa_token?: string;
|
|
10652
10783
|
channelsAll?: boolean;
|
|
@@ -11287,6 +11418,8 @@ export interface components {
|
|
|
11287
11418
|
atRuntimeMetadata?: components["schemas"]["models.MediaAtRuntimeMetadata"];
|
|
11288
11419
|
/** @description Audit information */
|
|
11289
11420
|
audit?: components["schemas"]["models.Audit"];
|
|
11421
|
+
classificationSummary?: components["schemas"]["models.ClassificationSummary"][];
|
|
11422
|
+
countingSummary?: components["schemas"]["models.CountingSummary"][];
|
|
11290
11423
|
/**
|
|
11291
11424
|
* @description RBAC information
|
|
11292
11425
|
* DeviceId is a unique identifier for the device, it can be used to identify the device in the system.
|
|
@@ -11304,8 +11437,10 @@ export interface components {
|
|
|
11304
11437
|
metadata?: components["schemas"]["models.MediaMetadata"];
|
|
11305
11438
|
organisationId?: string;
|
|
11306
11439
|
redactionFile?: string;
|
|
11440
|
+
redactionProvider?: string;
|
|
11307
11441
|
siteId?: string;
|
|
11308
11442
|
spriteFile?: string;
|
|
11443
|
+
spriteProvider?: string;
|
|
11309
11444
|
/** @description Time window of media file. */
|
|
11310
11445
|
startTimestamp?: number;
|
|
11311
11446
|
/**
|
|
@@ -11314,13 +11449,16 @@ export interface components {
|
|
|
11314
11449
|
*/
|
|
11315
11450
|
storageSolution?: string;
|
|
11316
11451
|
thumbnailFile?: string;
|
|
11452
|
+
thumbnailProvider?: string;
|
|
11317
11453
|
videoFile?: string;
|
|
11454
|
+
videoProvider?: string;
|
|
11318
11455
|
};
|
|
11319
11456
|
"models.MediaAtRuntimeMetadata": {
|
|
11320
11457
|
analysis?: components["schemas"]["models.AnalysisWrapper"];
|
|
11321
11458
|
/** @description Timestamp when the runtime metadata was cached. */
|
|
11322
11459
|
cachedTimestamp?: number;
|
|
11323
11460
|
device?: components["schemas"]["models.Device"];
|
|
11461
|
+
durationFormatted?: string;
|
|
11324
11462
|
redactionUrl?: string;
|
|
11325
11463
|
spriteUrl?: string;
|
|
11326
11464
|
thumbnailUrl?: string;
|
|
@@ -11331,7 +11469,7 @@ export interface components {
|
|
|
11331
11469
|
analysisId?: string;
|
|
11332
11470
|
/** @description in kbps */
|
|
11333
11471
|
bitrate?: number;
|
|
11334
|
-
classifications?:
|
|
11472
|
+
classifications?: components["schemas"]["models.Classification"][];
|
|
11335
11473
|
/** @description e.g., H.264, VP9 */
|
|
11336
11474
|
codec?: string;
|
|
11337
11475
|
/** @description Media containers related information */
|
|
@@ -11343,6 +11481,8 @@ export interface components {
|
|
|
11343
11481
|
embedding?: number[];
|
|
11344
11482
|
/** @description frames per second */
|
|
11345
11483
|
fps?: number;
|
|
11484
|
+
/** @description in pixels */
|
|
11485
|
+
height?: number;
|
|
11346
11486
|
motionPercentage?: number;
|
|
11347
11487
|
/** @description Motion information */
|
|
11348
11488
|
motionPixels?: number;
|
|
@@ -11352,6 +11492,8 @@ export interface components {
|
|
|
11352
11492
|
spriteInterval?: number;
|
|
11353
11493
|
/** @description Tags associated to give some context about the media file */
|
|
11354
11494
|
tags?: string[];
|
|
11495
|
+
/** @description in pixels */
|
|
11496
|
+
width?: number;
|
|
11355
11497
|
};
|
|
11356
11498
|
"models.Message": {
|
|
11357
11499
|
alert_id?: string;
|
|
@@ -11907,6 +12049,8 @@ export declare namespace models {
|
|
|
11907
12049
|
type CameraMetadata = components['schemas']['models.CameraMetadata'];
|
|
11908
12050
|
type CameraPreset = components['schemas']['models.CameraPreset'];
|
|
11909
12051
|
type CameraTour = components['schemas']['models.CameraTour'];
|
|
12052
|
+
type Classification = components['schemas']['models.Classification'];
|
|
12053
|
+
type ClassificationSummary = components['schemas']['models.ClassificationSummary'];
|
|
11910
12054
|
type Classify = components['schemas']['models.Classify'];
|
|
11911
12055
|
type ClassifyDetails = components['schemas']['models.ClassifyDetails'];
|
|
11912
12056
|
type Color = components['schemas']['models.Color'];
|
|
@@ -11914,6 +12058,7 @@ export declare namespace models {
|
|
|
11914
12058
|
type Counting = components['schemas']['models.Counting'];
|
|
11915
12059
|
type CountingDetail = components['schemas']['models.CountingDetail'];
|
|
11916
12060
|
type CountingRecord = components['schemas']['models.CountingRecord'];
|
|
12061
|
+
type CountingSummary = components['schemas']['models.CountingSummary'];
|
|
11917
12062
|
type CustomAlert = components['schemas']['models.CustomAlert'];
|
|
11918
12063
|
type Device = components['schemas']['models.Device'];
|
|
11919
12064
|
type DeviceAtRuntimeMetadata = components['schemas']['models.DeviceAtRuntimeMetadata'];
|