@uug-ai/models 1.3.9 → 1.3.11
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 +237 -7
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2889,6 +2889,123 @@ export interface paths {
|
|
|
2889
2889
|
patch?: never;
|
|
2890
2890
|
trace?: never;
|
|
2891
2891
|
};
|
|
2892
|
+
"/internal/getdeviceserrorresponse": {
|
|
2893
|
+
parameters: {
|
|
2894
|
+
query?: never;
|
|
2895
|
+
header?: never;
|
|
2896
|
+
path?: never;
|
|
2897
|
+
cookie?: never;
|
|
2898
|
+
};
|
|
2899
|
+
/**
|
|
2900
|
+
* Get GetDevicesErrorResponse (schema generation only)
|
|
2901
|
+
* @description Internal endpoint used only to ensure GetDevicesErrorResponse schema is generated in OpenAPI spec
|
|
2902
|
+
*/
|
|
2903
|
+
get: {
|
|
2904
|
+
parameters: {
|
|
2905
|
+
query?: never;
|
|
2906
|
+
header?: never;
|
|
2907
|
+
path?: never;
|
|
2908
|
+
cookie?: never;
|
|
2909
|
+
};
|
|
2910
|
+
requestBody?: never;
|
|
2911
|
+
responses: {
|
|
2912
|
+
/** @description OK */
|
|
2913
|
+
200: {
|
|
2914
|
+
headers: {
|
|
2915
|
+
[name: string]: unknown;
|
|
2916
|
+
};
|
|
2917
|
+
content: {
|
|
2918
|
+
"application/json": components["schemas"]["api.GetDevicesErrorResponse"];
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
};
|
|
2923
|
+
put?: never;
|
|
2924
|
+
post?: never;
|
|
2925
|
+
delete?: never;
|
|
2926
|
+
options?: never;
|
|
2927
|
+
head?: never;
|
|
2928
|
+
patch?: never;
|
|
2929
|
+
trace?: never;
|
|
2930
|
+
};
|
|
2931
|
+
"/internal/getdevicesresponse": {
|
|
2932
|
+
parameters: {
|
|
2933
|
+
query?: never;
|
|
2934
|
+
header?: never;
|
|
2935
|
+
path?: never;
|
|
2936
|
+
cookie?: never;
|
|
2937
|
+
};
|
|
2938
|
+
/**
|
|
2939
|
+
* Get GetDevicesResponse (schema generation only)
|
|
2940
|
+
* @description Internal endpoint used only to ensure GetDevicesResponse schema is generated in OpenAPI spec
|
|
2941
|
+
*/
|
|
2942
|
+
get: {
|
|
2943
|
+
parameters: {
|
|
2944
|
+
query?: never;
|
|
2945
|
+
header?: never;
|
|
2946
|
+
path?: never;
|
|
2947
|
+
cookie?: never;
|
|
2948
|
+
};
|
|
2949
|
+
requestBody?: never;
|
|
2950
|
+
responses: {
|
|
2951
|
+
/** @description OK */
|
|
2952
|
+
200: {
|
|
2953
|
+
headers: {
|
|
2954
|
+
[name: string]: unknown;
|
|
2955
|
+
};
|
|
2956
|
+
content: {
|
|
2957
|
+
"application/json": components["schemas"]["api.GetDevicesResponse"];
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
};
|
|
2961
|
+
};
|
|
2962
|
+
put?: never;
|
|
2963
|
+
post?: never;
|
|
2964
|
+
delete?: never;
|
|
2965
|
+
options?: never;
|
|
2966
|
+
head?: never;
|
|
2967
|
+
patch?: never;
|
|
2968
|
+
trace?: never;
|
|
2969
|
+
};
|
|
2970
|
+
"/internal/getdevicessuccessresponse": {
|
|
2971
|
+
parameters: {
|
|
2972
|
+
query?: never;
|
|
2973
|
+
header?: never;
|
|
2974
|
+
path?: never;
|
|
2975
|
+
cookie?: never;
|
|
2976
|
+
};
|
|
2977
|
+
/**
|
|
2978
|
+
* Get GetDevicesSuccessResponse (schema generation only)
|
|
2979
|
+
* @description Internal endpoint used only to ensure GetDevicesSuccessResponse schema is generated in OpenAPI spec
|
|
2980
|
+
*/
|
|
2981
|
+
get: {
|
|
2982
|
+
parameters: {
|
|
2983
|
+
query?: never;
|
|
2984
|
+
header?: never;
|
|
2985
|
+
path?: never;
|
|
2986
|
+
cookie?: never;
|
|
2987
|
+
};
|
|
2988
|
+
requestBody?: never;
|
|
2989
|
+
responses: {
|
|
2990
|
+
/** @description OK */
|
|
2991
|
+
200: {
|
|
2992
|
+
headers: {
|
|
2993
|
+
[name: string]: unknown;
|
|
2994
|
+
};
|
|
2995
|
+
content: {
|
|
2996
|
+
"application/json": components["schemas"]["api.GetDevicesSuccessResponse"];
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
};
|
|
3000
|
+
};
|
|
3001
|
+
put?: never;
|
|
3002
|
+
post?: never;
|
|
3003
|
+
delete?: never;
|
|
3004
|
+
options?: never;
|
|
3005
|
+
head?: never;
|
|
3006
|
+
patch?: never;
|
|
3007
|
+
trace?: never;
|
|
3008
|
+
};
|
|
2892
3009
|
"/internal/getgroupoptionserrorresponse": {
|
|
2893
3010
|
parameters: {
|
|
2894
3011
|
query?: never;
|
|
@@ -7179,6 +7296,45 @@ export interface paths {
|
|
|
7179
7296
|
patch?: never;
|
|
7180
7297
|
trace?: never;
|
|
7181
7298
|
};
|
|
7299
|
+
"/internal/plan": {
|
|
7300
|
+
parameters: {
|
|
7301
|
+
query?: never;
|
|
7302
|
+
header?: never;
|
|
7303
|
+
path?: never;
|
|
7304
|
+
cookie?: never;
|
|
7305
|
+
};
|
|
7306
|
+
/**
|
|
7307
|
+
* Get Plan (schema generation only)
|
|
7308
|
+
* @description Internal endpoint used only to ensure Plan schema is generated in OpenAPI spec
|
|
7309
|
+
*/
|
|
7310
|
+
get: {
|
|
7311
|
+
parameters: {
|
|
7312
|
+
query?: never;
|
|
7313
|
+
header?: never;
|
|
7314
|
+
path?: never;
|
|
7315
|
+
cookie?: never;
|
|
7316
|
+
};
|
|
7317
|
+
requestBody?: never;
|
|
7318
|
+
responses: {
|
|
7319
|
+
/** @description OK */
|
|
7320
|
+
200: {
|
|
7321
|
+
headers: {
|
|
7322
|
+
[name: string]: unknown;
|
|
7323
|
+
};
|
|
7324
|
+
content: {
|
|
7325
|
+
"application/json": components["schemas"]["models.Plan"];
|
|
7326
|
+
};
|
|
7327
|
+
};
|
|
7328
|
+
};
|
|
7329
|
+
};
|
|
7330
|
+
put?: never;
|
|
7331
|
+
post?: never;
|
|
7332
|
+
delete?: never;
|
|
7333
|
+
options?: never;
|
|
7334
|
+
head?: never;
|
|
7335
|
+
patch?: never;
|
|
7336
|
+
trace?: never;
|
|
7337
|
+
};
|
|
7182
7338
|
"/internal/point": {
|
|
7183
7339
|
parameters: {
|
|
7184
7340
|
query?: never;
|
|
@@ -9749,6 +9905,34 @@ export interface components {
|
|
|
9749
9905
|
/** @description Additional metadata about the response, such as timestamps and request IDs */
|
|
9750
9906
|
metadata?: components["schemas"]["api.Metadata"];
|
|
9751
9907
|
};
|
|
9908
|
+
"api.GetDevicesErrorResponse": {
|
|
9909
|
+
/** @description Application-specific error code */
|
|
9910
|
+
applicationStatusCode?: string;
|
|
9911
|
+
/** @description Entity-specific error code */
|
|
9912
|
+
entityStatusCode?: string;
|
|
9913
|
+
/** @description HTTP status code for the error */
|
|
9914
|
+
httpStatusCode?: number;
|
|
9915
|
+
/** @description Error message describing the issue */
|
|
9916
|
+
message?: string;
|
|
9917
|
+
/** @description Additional metadata about the error, such as timestamps and request IDs */
|
|
9918
|
+
metadata?: components["schemas"]["api.Metadata"];
|
|
9919
|
+
};
|
|
9920
|
+
"api.GetDevicesResponse": {
|
|
9921
|
+
devices?: components["schemas"]["models.Device"][];
|
|
9922
|
+
};
|
|
9923
|
+
"api.GetDevicesSuccessResponse": {
|
|
9924
|
+
/** @description Application-specific status code */
|
|
9925
|
+
applicationStatusCode?: string;
|
|
9926
|
+
data?: components["schemas"]["api.GetDevicesResponse"];
|
|
9927
|
+
/** @description Entity-specific status code */
|
|
9928
|
+
entityStatusCode?: string;
|
|
9929
|
+
/** @description HTTP status code for the response */
|
|
9930
|
+
httpStatusCode?: number;
|
|
9931
|
+
/** @description Success message describing the operation */
|
|
9932
|
+
message?: string;
|
|
9933
|
+
/** @description Additional metadata about the response, such as timestamps and request IDs */
|
|
9934
|
+
metadata?: components["schemas"]["api.Metadata"];
|
|
9935
|
+
};
|
|
9752
9936
|
"api.GetGroupOptionsErrorResponse": {
|
|
9753
9937
|
/** @description Application-specific error code */
|
|
9754
9938
|
applicationStatusCode?: string;
|
|
@@ -10875,7 +11059,7 @@ export interface components {
|
|
|
10875
11059
|
cameraMetadata?: components["schemas"]["models.CameraMetadata"];
|
|
10876
11060
|
/**
|
|
10877
11061
|
* @description Device status
|
|
10878
|
-
* Note: Status is used to identify the status of the device, such as online, offline, maintenance, etc.
|
|
11062
|
+
* Note: Status is used to identify the status of the device, such as online, offline, maintenance, etc."
|
|
10879
11063
|
* LastSeenTimestamp is used to identify the last time the device was seen online.
|
|
10880
11064
|
*/
|
|
10881
11065
|
connectionStart?: number;
|
|
@@ -10907,6 +11091,10 @@ export interface components {
|
|
|
10907
11091
|
* DeviceType is used to identify the type of device, such as camera, sensor, access control, etc.
|
|
10908
11092
|
*/
|
|
10909
11093
|
key?: string;
|
|
11094
|
+
/** @description Latest Media information */
|
|
11095
|
+
latestMedia?: components["schemas"]["models.Media"];
|
|
11096
|
+
/** @description Timestamp of the latest media captured by the device (milliseconds since epoch) */
|
|
11097
|
+
latestMediaTimestamp?: number;
|
|
10910
11098
|
lightSensorMetadata?: components["schemas"]["models.LightSensorMetadata"];
|
|
10911
11099
|
/** @description Location of the device, not real time postion. e.g. "Office 1st Floor", "Lobby", "Kilian's Car", etc. */
|
|
10912
11100
|
location?: components["schemas"]["models.Location"];
|
|
@@ -10932,6 +11120,8 @@ export interface components {
|
|
|
10932
11120
|
siteIds?: string[];
|
|
10933
11121
|
/** @description Type of device e.g. "camera", "sensor", "access_control" */
|
|
10934
11122
|
type?: string;
|
|
11123
|
+
/** @description @LEGACY FIELDS - to be removed in future versions */
|
|
11124
|
+
user_id?: string;
|
|
10935
11125
|
/** @description Version of the agent, injected on build. Reflects the release tag of the agent. */
|
|
10936
11126
|
version?: string;
|
|
10937
11127
|
};
|
|
@@ -11497,6 +11687,8 @@ export interface components {
|
|
|
11497
11687
|
analysis?: components["schemas"]["models.AnalysisWrapper"];
|
|
11498
11688
|
/** @description Timestamp when the runtime metadata was cached. */
|
|
11499
11689
|
cachedTimestamp?: number;
|
|
11690
|
+
/** @description Human-readable date and time of the media. */
|
|
11691
|
+
dateTime?: string;
|
|
11500
11692
|
device?: components["schemas"]["models.Device"];
|
|
11501
11693
|
durationFormatted?: string;
|
|
11502
11694
|
redactionUrl?: string;
|
|
@@ -11519,19 +11711,36 @@ export interface components {
|
|
|
11519
11711
|
detections?: string[];
|
|
11520
11712
|
dominantColors?: string[];
|
|
11521
11713
|
embedding?: number[];
|
|
11714
|
+
/** @description in bytes */
|
|
11715
|
+
fileSize?: number;
|
|
11522
11716
|
/** @description frames per second */
|
|
11523
11717
|
fps?: number;
|
|
11524
11718
|
/** @description in pixels */
|
|
11525
11719
|
height?: number;
|
|
11720
|
+
/** @description Percentage of frame with motion detected */
|
|
11526
11721
|
motionPercentage?: number;
|
|
11527
11722
|
/** @description Motion information */
|
|
11528
11723
|
motionPixels?: number;
|
|
11529
11724
|
/** @description e.g., 1920x1080 */
|
|
11530
11725
|
resolution?: string;
|
|
11531
|
-
/** @description
|
|
11726
|
+
/** @description Number of thumbnails in the sprite */
|
|
11727
|
+
spriteCount?: number;
|
|
11728
|
+
/** @description in bytes */
|
|
11729
|
+
spriteFileSize?: number;
|
|
11730
|
+
/** @description in pixels */
|
|
11731
|
+
spriteHeight?: number;
|
|
11732
|
+
/** @description Sprite information */
|
|
11532
11733
|
spriteInterval?: number;
|
|
11734
|
+
/** @description in pixels */
|
|
11735
|
+
spriteWidth?: number;
|
|
11533
11736
|
/** @description Tags associated to give some context about the media file */
|
|
11534
11737
|
tags?: string[];
|
|
11738
|
+
/** @description in bytes */
|
|
11739
|
+
thumbnailFileSize?: number;
|
|
11740
|
+
/** @description in pixels */
|
|
11741
|
+
thumbnailHeight?: number;
|
|
11742
|
+
/** @description Thumbnail information */
|
|
11743
|
+
thumbnailWidth?: number;
|
|
11535
11744
|
/** @description in pixels */
|
|
11536
11745
|
width?: number;
|
|
11537
11746
|
};
|
|
@@ -11613,7 +11822,7 @@ export interface components {
|
|
|
11613
11822
|
monitorData?: string;
|
|
11614
11823
|
name?: string;
|
|
11615
11824
|
plans?: {
|
|
11616
|
-
[key: string]:
|
|
11825
|
+
[key: string]: components["schemas"]["models.Plan"];
|
|
11617
11826
|
};
|
|
11618
11827
|
subscription?: components["schemas"]["models.Subscription"];
|
|
11619
11828
|
/** @description Add more fields as needed */
|
|
@@ -11687,6 +11896,20 @@ export interface components {
|
|
|
11687
11896
|
signedUrl?: string;
|
|
11688
11897
|
timestamp?: number;
|
|
11689
11898
|
};
|
|
11899
|
+
"models.Plan": {
|
|
11900
|
+
/** @description AnalysisLimit is the maximum number of analysis operations allowed */
|
|
11901
|
+
analysisLimit?: number;
|
|
11902
|
+
/** @description DayLimit is the retention period in days */
|
|
11903
|
+
dayLimit?: number;
|
|
11904
|
+
/** @description Level indicates the tier of the plan (1-5, higher is better) */
|
|
11905
|
+
level?: number;
|
|
11906
|
+
/** @description UploadLimit is the maximum number of uploads allowed */
|
|
11907
|
+
uploadLimit?: number;
|
|
11908
|
+
/** @description Usage is the storage limit in MB */
|
|
11909
|
+
usage?: number;
|
|
11910
|
+
/** @description VideoLimit is the maximum number of videos allowed */
|
|
11911
|
+
videoLimit?: number;
|
|
11912
|
+
};
|
|
11690
11913
|
"models.Point": {
|
|
11691
11914
|
x?: number;
|
|
11692
11915
|
y?: number;
|
|
@@ -11715,6 +11938,7 @@ export interface components {
|
|
|
11715
11938
|
sequenceId?: number;
|
|
11716
11939
|
};
|
|
11717
11940
|
"models.Settings": {
|
|
11941
|
+
id?: string;
|
|
11718
11942
|
key?: string;
|
|
11719
11943
|
/** @description @TODO replace this */
|
|
11720
11944
|
map?: {
|
|
@@ -11843,10 +12067,14 @@ export interface components {
|
|
|
11843
12067
|
uri?: string;
|
|
11844
12068
|
};
|
|
11845
12069
|
"models.Subscription": {
|
|
12070
|
+
created_at?: string;
|
|
11846
12071
|
ends_at?: string;
|
|
11847
12072
|
id?: string;
|
|
11848
|
-
|
|
12073
|
+
quantity?: number;
|
|
12074
|
+
stripe_id?: string;
|
|
11849
12075
|
stripe_plan?: string;
|
|
12076
|
+
trial_ends_at?: string;
|
|
12077
|
+
updated_at?: string;
|
|
11850
12078
|
user_id?: string;
|
|
11851
12079
|
};
|
|
11852
12080
|
"models.Synchronize": {
|
|
@@ -11984,9 +12212,7 @@ export interface components {
|
|
|
11984
12212
|
y2?: number;
|
|
11985
12213
|
};
|
|
11986
12214
|
"models.User": {
|
|
11987
|
-
activity?:
|
|
11988
|
-
[key: string]: unknown;
|
|
11989
|
-
}[];
|
|
12215
|
+
activity?: components["schemas"]["models.Activity"][];
|
|
11990
12216
|
amazon_access_key_id?: string;
|
|
11991
12217
|
amazon_secret_access_key?: string;
|
|
11992
12218
|
channels?: {
|
|
@@ -12158,6 +12384,7 @@ export declare namespace models {
|
|
|
12158
12384
|
type PipelineMetadata = components['schemas']['models.PipelineMetadata'];
|
|
12159
12385
|
type PipelineMetrics = components['schemas']['models.PipelineMetrics'];
|
|
12160
12386
|
type PipelinePayload = components['schemas']['models.PipelinePayload'];
|
|
12387
|
+
type Plan = components['schemas']['models.Plan'];
|
|
12161
12388
|
type Point = components['schemas']['models.Point'];
|
|
12162
12389
|
type Region = components['schemas']['models.Region'];
|
|
12163
12390
|
type Role = components['schemas']['models.Role'];
|
|
@@ -12216,6 +12443,9 @@ export declare namespace api {
|
|
|
12216
12443
|
type GetDeviceOptionsRequest = components['schemas']['api.GetDeviceOptionsRequest'];
|
|
12217
12444
|
type GetDeviceOptionsResponse = components['schemas']['api.GetDeviceOptionsResponse'];
|
|
12218
12445
|
type GetDeviceOptionsSuccessResponse = components['schemas']['api.GetDeviceOptionsSuccessResponse'];
|
|
12446
|
+
type GetDevicesErrorResponse = components['schemas']['api.GetDevicesErrorResponse'];
|
|
12447
|
+
type GetDevicesResponse = components['schemas']['api.GetDevicesResponse'];
|
|
12448
|
+
type GetDevicesSuccessResponse = components['schemas']['api.GetDevicesSuccessResponse'];
|
|
12219
12449
|
type GetGroupOptionsErrorResponse = components['schemas']['api.GetGroupOptionsErrorResponse'];
|
|
12220
12450
|
type GetGroupOptionsRequest = components['schemas']['api.GetGroupOptionsRequest'];
|
|
12221
12451
|
type GetGroupOptionsResponse = components['schemas']['api.GetGroupOptionsResponse'];
|