@uug-ai/models 1.4.2 → 1.4.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 +213 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1875,6 +1875,84 @@ export interface paths {
|
|
|
1875
1875
|
patch?: never;
|
|
1876
1876
|
trace?: never;
|
|
1877
1877
|
};
|
|
1878
|
+
"/internal/daterangeschedule": {
|
|
1879
|
+
parameters: {
|
|
1880
|
+
query?: never;
|
|
1881
|
+
header?: never;
|
|
1882
|
+
path?: never;
|
|
1883
|
+
cookie?: never;
|
|
1884
|
+
};
|
|
1885
|
+
/**
|
|
1886
|
+
* Get DateRangeSchedule (schema generation only)
|
|
1887
|
+
* @description Internal endpoint used only to ensure DateRangeSchedule schema is generated in OpenAPI spec
|
|
1888
|
+
*/
|
|
1889
|
+
get: {
|
|
1890
|
+
parameters: {
|
|
1891
|
+
query?: never;
|
|
1892
|
+
header?: never;
|
|
1893
|
+
path?: never;
|
|
1894
|
+
cookie?: never;
|
|
1895
|
+
};
|
|
1896
|
+
requestBody?: never;
|
|
1897
|
+
responses: {
|
|
1898
|
+
/** @description OK */
|
|
1899
|
+
200: {
|
|
1900
|
+
headers: {
|
|
1901
|
+
[name: string]: unknown;
|
|
1902
|
+
};
|
|
1903
|
+
content: {
|
|
1904
|
+
"application/json": components["schemas"]["models.DateRangeSchedule"];
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
};
|
|
1909
|
+
put?: never;
|
|
1910
|
+
post?: never;
|
|
1911
|
+
delete?: never;
|
|
1912
|
+
options?: never;
|
|
1913
|
+
head?: never;
|
|
1914
|
+
patch?: never;
|
|
1915
|
+
trace?: never;
|
|
1916
|
+
};
|
|
1917
|
+
"/internal/daytimerange": {
|
|
1918
|
+
parameters: {
|
|
1919
|
+
query?: never;
|
|
1920
|
+
header?: never;
|
|
1921
|
+
path?: never;
|
|
1922
|
+
cookie?: never;
|
|
1923
|
+
};
|
|
1924
|
+
/**
|
|
1925
|
+
* Get DayTimeRange (schema generation only)
|
|
1926
|
+
* @description Internal endpoint used only to ensure DayTimeRange schema is generated in OpenAPI spec
|
|
1927
|
+
*/
|
|
1928
|
+
get: {
|
|
1929
|
+
parameters: {
|
|
1930
|
+
query?: never;
|
|
1931
|
+
header?: never;
|
|
1932
|
+
path?: never;
|
|
1933
|
+
cookie?: never;
|
|
1934
|
+
};
|
|
1935
|
+
requestBody?: never;
|
|
1936
|
+
responses: {
|
|
1937
|
+
/** @description OK */
|
|
1938
|
+
200: {
|
|
1939
|
+
headers: {
|
|
1940
|
+
[name: string]: unknown;
|
|
1941
|
+
};
|
|
1942
|
+
content: {
|
|
1943
|
+
"application/json": components["schemas"]["models.DayTimeRange"];
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
put?: never;
|
|
1949
|
+
post?: never;
|
|
1950
|
+
delete?: never;
|
|
1951
|
+
options?: never;
|
|
1952
|
+
head?: never;
|
|
1953
|
+
patch?: never;
|
|
1954
|
+
trace?: never;
|
|
1955
|
+
};
|
|
1878
1956
|
"/internal/debugresponse": {
|
|
1879
1957
|
parameters: {
|
|
1880
1958
|
query?: never;
|
|
@@ -9402,6 +9480,45 @@ export interface paths {
|
|
|
9402
9480
|
patch?: never;
|
|
9403
9481
|
trace?: never;
|
|
9404
9482
|
};
|
|
9483
|
+
"/internal/sequence": {
|
|
9484
|
+
parameters: {
|
|
9485
|
+
query?: never;
|
|
9486
|
+
header?: never;
|
|
9487
|
+
path?: never;
|
|
9488
|
+
cookie?: never;
|
|
9489
|
+
};
|
|
9490
|
+
/**
|
|
9491
|
+
* Get Sequence (schema generation only)
|
|
9492
|
+
* @description Internal endpoint used only to ensure Sequence schema is generated in OpenAPI spec
|
|
9493
|
+
*/
|
|
9494
|
+
get: {
|
|
9495
|
+
parameters: {
|
|
9496
|
+
query?: never;
|
|
9497
|
+
header?: never;
|
|
9498
|
+
path?: never;
|
|
9499
|
+
cookie?: never;
|
|
9500
|
+
};
|
|
9501
|
+
requestBody?: never;
|
|
9502
|
+
responses: {
|
|
9503
|
+
/** @description OK */
|
|
9504
|
+
200: {
|
|
9505
|
+
headers: {
|
|
9506
|
+
[name: string]: unknown;
|
|
9507
|
+
};
|
|
9508
|
+
content: {
|
|
9509
|
+
"application/json": components["schemas"]["models.Sequence"];
|
|
9510
|
+
};
|
|
9511
|
+
};
|
|
9512
|
+
};
|
|
9513
|
+
};
|
|
9514
|
+
put?: never;
|
|
9515
|
+
post?: never;
|
|
9516
|
+
delete?: never;
|
|
9517
|
+
options?: never;
|
|
9518
|
+
head?: never;
|
|
9519
|
+
patch?: never;
|
|
9520
|
+
trace?: never;
|
|
9521
|
+
};
|
|
9405
9522
|
"/internal/sequencestage": {
|
|
9406
9523
|
parameters: {
|
|
9407
9524
|
query?: never;
|
|
@@ -11898,6 +12015,45 @@ export interface paths {
|
|
|
11898
12015
|
patch?: never;
|
|
11899
12016
|
trace?: never;
|
|
11900
12017
|
};
|
|
12018
|
+
"/internal/weeklyschedule": {
|
|
12019
|
+
parameters: {
|
|
12020
|
+
query?: never;
|
|
12021
|
+
header?: never;
|
|
12022
|
+
path?: never;
|
|
12023
|
+
cookie?: never;
|
|
12024
|
+
};
|
|
12025
|
+
/**
|
|
12026
|
+
* Get WeeklySchedule (schema generation only)
|
|
12027
|
+
* @description Internal endpoint used only to ensure WeeklySchedule schema is generated in OpenAPI spec
|
|
12028
|
+
*/
|
|
12029
|
+
get: {
|
|
12030
|
+
parameters: {
|
|
12031
|
+
query?: never;
|
|
12032
|
+
header?: never;
|
|
12033
|
+
path?: never;
|
|
12034
|
+
cookie?: never;
|
|
12035
|
+
};
|
|
12036
|
+
requestBody?: never;
|
|
12037
|
+
responses: {
|
|
12038
|
+
/** @description OK */
|
|
12039
|
+
200: {
|
|
12040
|
+
headers: {
|
|
12041
|
+
[name: string]: unknown;
|
|
12042
|
+
};
|
|
12043
|
+
content: {
|
|
12044
|
+
"application/json": components["schemas"]["models.WeeklySchedule"];
|
|
12045
|
+
};
|
|
12046
|
+
};
|
|
12047
|
+
};
|
|
12048
|
+
};
|
|
12049
|
+
put?: never;
|
|
12050
|
+
post?: never;
|
|
12051
|
+
delete?: never;
|
|
12052
|
+
options?: never;
|
|
12053
|
+
head?: never;
|
|
12054
|
+
patch?: never;
|
|
12055
|
+
trace?: never;
|
|
12056
|
+
};
|
|
11901
12057
|
"/media": {
|
|
11902
12058
|
parameters: {
|
|
11903
12059
|
query?: never;
|
|
@@ -13587,6 +13743,7 @@ export interface components {
|
|
|
13587
13743
|
countingDevicesAll?: boolean;
|
|
13588
13744
|
countingDevicesList?: components["schemas"]["models.DeviceKey"][];
|
|
13589
13745
|
countingLines?: components["schemas"]["models.Region"][];
|
|
13746
|
+
dateRangeSchedule?: components["schemas"]["models.DateRangeSchedule"][];
|
|
13590
13747
|
description?: string;
|
|
13591
13748
|
devicesAll?: boolean;
|
|
13592
13749
|
devicesList?: components["schemas"]["models.DeviceKey"][];
|
|
@@ -13599,6 +13756,7 @@ export interface components {
|
|
|
13599
13756
|
inputsAND?: boolean;
|
|
13600
13757
|
master_user_id?: string;
|
|
13601
13758
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
13759
|
+
organisationId?: string;
|
|
13602
13760
|
outputList?: string[];
|
|
13603
13761
|
pushbullet_apikey?: string;
|
|
13604
13762
|
pushover_apikey?: string;
|
|
@@ -13612,6 +13770,7 @@ export interface components {
|
|
|
13612
13770
|
telegram_channel?: string;
|
|
13613
13771
|
telegram_token?: string;
|
|
13614
13772
|
timeAdvanced?: boolean;
|
|
13773
|
+
/** @description Deprecated: legacy time range fields. Use WeeklySchedule/DateRangeSchedule instead. */
|
|
13615
13774
|
timeRange1Max?: number;
|
|
13616
13775
|
timeRange1Min?: number;
|
|
13617
13776
|
timeRange2Max?: number;
|
|
@@ -13619,6 +13778,20 @@ export interface components {
|
|
|
13619
13778
|
title?: string;
|
|
13620
13779
|
user_id?: string;
|
|
13621
13780
|
webhook_url?: string;
|
|
13781
|
+
weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
|
|
13782
|
+
};
|
|
13783
|
+
"models.DateRangeSchedule": {
|
|
13784
|
+
enabled?: boolean;
|
|
13785
|
+
endDate?: number;
|
|
13786
|
+
segments?: components["schemas"]["models.DayTimeRange"][];
|
|
13787
|
+
/** @description StartDate is inclusive; EndDate is exclusive. Both are unix seconds for local midnight in Timezone. */
|
|
13788
|
+
startDate?: number;
|
|
13789
|
+
timezone?: string;
|
|
13790
|
+
};
|
|
13791
|
+
"models.DayTimeRange": {
|
|
13792
|
+
end?: number;
|
|
13793
|
+
/** @description seconds since midnight, 0..86400 */
|
|
13794
|
+
start?: number;
|
|
13622
13795
|
};
|
|
13623
13796
|
"models.DeprecatedHeartbeat": {
|
|
13624
13797
|
architecture?: string;
|
|
@@ -13976,14 +14149,17 @@ export interface components {
|
|
|
13976
14149
|
timestamp?: number;
|
|
13977
14150
|
};
|
|
13978
14151
|
"models.Group": {
|
|
14152
|
+
address?: components["schemas"]["models.Location"];
|
|
13979
14153
|
/** @description Audit information */
|
|
13980
14154
|
audit?: components["schemas"]["models.Audit"];
|
|
14155
|
+
color?: string;
|
|
13981
14156
|
description?: string;
|
|
13982
14157
|
devices?: string[];
|
|
13983
14158
|
group_type?: string;
|
|
13984
14159
|
/** @description Nested groups */
|
|
13985
14160
|
groups?: string[];
|
|
13986
14161
|
id?: string;
|
|
14162
|
+
initials?: string;
|
|
13987
14163
|
/** @description Metadata */
|
|
13988
14164
|
metadata?: components["schemas"]["models.GroupMetadata"];
|
|
13989
14165
|
name?: string;
|
|
@@ -13996,6 +14172,8 @@ export interface components {
|
|
|
13996
14172
|
* in the future (integration with other storage solutions, next to Vault).
|
|
13997
14173
|
*/
|
|
13998
14174
|
storageSolution?: string;
|
|
14175
|
+
/** @description Deprecated */
|
|
14176
|
+
user_id?: string;
|
|
13999
14177
|
vaultAccessKey?: string;
|
|
14000
14178
|
vaultSecretKey?: string;
|
|
14001
14179
|
vaultUri?: string;
|
|
@@ -14771,6 +14949,18 @@ export interface components {
|
|
|
14771
14949
|
/** @description e.g., "global", "site", "group", "device" */
|
|
14772
14950
|
type?: string;
|
|
14773
14951
|
};
|
|
14952
|
+
"models.Sequence": {
|
|
14953
|
+
analysis?: {
|
|
14954
|
+
[key: string]: unknown;
|
|
14955
|
+
};
|
|
14956
|
+
devices?: string[];
|
|
14957
|
+
end?: number;
|
|
14958
|
+
id?: string;
|
|
14959
|
+
images?: components["schemas"]["models.Media"][];
|
|
14960
|
+
notified?: boolean;
|
|
14961
|
+
start?: number;
|
|
14962
|
+
user_id?: string;
|
|
14963
|
+
};
|
|
14774
14964
|
"models.SequenceStage": {
|
|
14775
14965
|
name?: string;
|
|
14776
14966
|
/** @description Add fields relevant to sequence stage */
|
|
@@ -14785,22 +14975,31 @@ export interface components {
|
|
|
14785
14975
|
};
|
|
14786
14976
|
};
|
|
14787
14977
|
"models.Site": {
|
|
14978
|
+
access_key?: string;
|
|
14979
|
+
address?: components["schemas"]["models.Location"];
|
|
14980
|
+
all_devices?: string[];
|
|
14788
14981
|
/** @description Audit information */
|
|
14789
14982
|
audit?: components["schemas"]["models.Audit"];
|
|
14983
|
+
color?: string;
|
|
14790
14984
|
description?: string;
|
|
14791
14985
|
devices?: string[];
|
|
14792
14986
|
groups?: string[];
|
|
14793
14987
|
id?: string;
|
|
14988
|
+
initials?: string;
|
|
14794
14989
|
/** @description Metadata */
|
|
14795
14990
|
metadata?: components["schemas"]["models.SiteMetadata"];
|
|
14796
14991
|
name?: string;
|
|
14797
14992
|
/** @description RBAC information */
|
|
14798
14993
|
organisationId?: string;
|
|
14994
|
+
secret_key?: string;
|
|
14995
|
+
storage_uri?: string;
|
|
14799
14996
|
/**
|
|
14800
14997
|
* @description Media file information (by default "vault", however might change
|
|
14801
14998
|
* in the future (integration with other storage solutions, next to Vault).
|
|
14802
14999
|
*/
|
|
14803
15000
|
storageSolution?: string;
|
|
15001
|
+
/** @description Deprecated */
|
|
15002
|
+
user_id?: string;
|
|
14804
15003
|
vaultAccessKey?: string;
|
|
14805
15004
|
vaultSecretKey?: string;
|
|
14806
15005
|
vaultUri?: string;
|
|
@@ -15121,6 +15320,7 @@ export interface components {
|
|
|
15121
15320
|
google2fa_enabled?: boolean;
|
|
15122
15321
|
google2fa_secret?: string;
|
|
15123
15322
|
groups?: string[];
|
|
15323
|
+
highupload?: components["schemas"]["models.HighUpload"];
|
|
15124
15324
|
/** @description Settings HLS (hacky should be included in here). */
|
|
15125
15325
|
hls_callback_url?: string;
|
|
15126
15326
|
id?: string;
|
|
@@ -15151,6 +15351,9 @@ export interface components {
|
|
|
15151
15351
|
registerToken?: string;
|
|
15152
15352
|
role?: string;
|
|
15153
15353
|
role_level?: number;
|
|
15354
|
+
settings?: {
|
|
15355
|
+
[key: string]: unknown;
|
|
15356
|
+
};
|
|
15154
15357
|
sites?: string[];
|
|
15155
15358
|
storage?: components["schemas"]["models.Storage"];
|
|
15156
15359
|
/** @description Should go away into Card struct */
|
|
@@ -15320,6 +15523,12 @@ export interface components {
|
|
|
15320
15523
|
url?: string;
|
|
15321
15524
|
valid?: boolean;
|
|
15322
15525
|
};
|
|
15526
|
+
"models.WeeklySchedule": {
|
|
15527
|
+
day?: number;
|
|
15528
|
+
enabled?: boolean;
|
|
15529
|
+
segments?: components["schemas"]["models.DayTimeRange"][];
|
|
15530
|
+
timezone?: string;
|
|
15531
|
+
};
|
|
15323
15532
|
};
|
|
15324
15533
|
responses: never;
|
|
15325
15534
|
parameters: never;
|
|
@@ -15368,6 +15577,8 @@ export declare namespace models {
|
|
|
15368
15577
|
type CountingSummary = components['schemas']['models.CountingSummary'];
|
|
15369
15578
|
type Credentials = components['schemas']['models.Credentials'];
|
|
15370
15579
|
type CustomAlert = components['schemas']['models.CustomAlert'];
|
|
15580
|
+
type DateRangeSchedule = components['schemas']['models.DateRangeSchedule'];
|
|
15581
|
+
type DayTimeRange = components['schemas']['models.DayTimeRange'];
|
|
15371
15582
|
type DeprecatedHeartbeat = components['schemas']['models.DeprecatedHeartbeat'];
|
|
15372
15583
|
type DeprecatedONVIFEvents = components['schemas']['models.DeprecatedONVIFEvents'];
|
|
15373
15584
|
type DeprecatedPreset = components['schemas']['models.DeprecatedPreset'];
|
|
@@ -15450,6 +15661,7 @@ export declare namespace models {
|
|
|
15450
15661
|
type Role = components['schemas']['models.Role'];
|
|
15451
15662
|
type RoleAssignment = components['schemas']['models.RoleAssignment'];
|
|
15452
15663
|
type RoleScope = components['schemas']['models.RoleScope'];
|
|
15664
|
+
type Sequence = components['schemas']['models.Sequence'];
|
|
15453
15665
|
type SequenceStage = components['schemas']['models.SequenceStage'];
|
|
15454
15666
|
type Settings = components['schemas']['models.Settings'];
|
|
15455
15667
|
type Site = components['schemas']['models.Site'];
|
|
@@ -15486,6 +15698,7 @@ export declare namespace models {
|
|
|
15486
15698
|
type VaultMediaFragmentCollection = components['schemas']['models.VaultMediaFragmentCollection'];
|
|
15487
15699
|
type VaultMediaMetadata = components['schemas']['models.VaultMediaMetadata'];
|
|
15488
15700
|
type Webhook = components['schemas']['models.Webhook'];
|
|
15701
|
+
type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
|
|
15489
15702
|
}
|
|
15490
15703
|
export declare namespace api {
|
|
15491
15704
|
type AddAccessTokenErrorResponse = components['schemas']['api.AddAccessTokenErrorResponse'];
|