@uug-ai/models 1.4.1 → 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 +220 -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;
|
|
@@ -12160,6 +12316,7 @@ export interface components {
|
|
|
12160
12316
|
markers?: string[];
|
|
12161
12317
|
name?: string;
|
|
12162
12318
|
sites?: string[];
|
|
12319
|
+
sort?: string;
|
|
12163
12320
|
};
|
|
12164
12321
|
"api.ErrorResponse": {
|
|
12165
12322
|
/** @description Application-specific error code */
|
|
@@ -12867,16 +13024,19 @@ export interface components {
|
|
|
12867
13024
|
"api.GroupFilter": {
|
|
12868
13025
|
groupIds?: string[];
|
|
12869
13026
|
name?: string;
|
|
13027
|
+
sort?: string;
|
|
12870
13028
|
};
|
|
12871
13029
|
"api.MarkerCategoryFilter": {
|
|
12872
13030
|
name?: string;
|
|
12873
13031
|
names?: string[];
|
|
13032
|
+
sort?: string;
|
|
12874
13033
|
};
|
|
12875
13034
|
"api.MarkerEventFilter": {
|
|
12876
13035
|
deviceKeys?: string[];
|
|
12877
13036
|
markerEventIds?: string[];
|
|
12878
13037
|
name?: string;
|
|
12879
13038
|
names?: string[];
|
|
13039
|
+
sort?: string;
|
|
12880
13040
|
timeRanges?: components["schemas"]["models.TimeRange"][];
|
|
12881
13041
|
};
|
|
12882
13042
|
"api.MarkerFilter": {
|
|
@@ -12885,12 +13045,14 @@ export interface components {
|
|
|
12885
13045
|
markerIds?: string[];
|
|
12886
13046
|
name?: string;
|
|
12887
13047
|
names?: string[];
|
|
13048
|
+
sort?: string;
|
|
12888
13049
|
timeRanges?: components["schemas"]["models.TimeRange"][];
|
|
12889
13050
|
};
|
|
12890
13051
|
"api.MarkerTagFilter": {
|
|
12891
13052
|
deviceKeys?: string[];
|
|
12892
13053
|
name?: string;
|
|
12893
13054
|
names?: string[];
|
|
13055
|
+
sort?: string;
|
|
12894
13056
|
timeRanges?: components["schemas"]["models.TimeRange"][];
|
|
12895
13057
|
};
|
|
12896
13058
|
"api.Media2Filter": {
|
|
@@ -13028,6 +13190,7 @@ export interface components {
|
|
|
13028
13190
|
deviceKeys?: string[];
|
|
13029
13191
|
name?: string;
|
|
13030
13192
|
siteIds?: string[];
|
|
13193
|
+
sort?: string;
|
|
13031
13194
|
};
|
|
13032
13195
|
"api.SiteFlags": {
|
|
13033
13196
|
includeMetadata?: boolean;
|
|
@@ -13580,6 +13743,7 @@ export interface components {
|
|
|
13580
13743
|
countingDevicesAll?: boolean;
|
|
13581
13744
|
countingDevicesList?: components["schemas"]["models.DeviceKey"][];
|
|
13582
13745
|
countingLines?: components["schemas"]["models.Region"][];
|
|
13746
|
+
dateRangeSchedule?: components["schemas"]["models.DateRangeSchedule"][];
|
|
13583
13747
|
description?: string;
|
|
13584
13748
|
devicesAll?: boolean;
|
|
13585
13749
|
devicesList?: components["schemas"]["models.DeviceKey"][];
|
|
@@ -13592,6 +13756,7 @@ export interface components {
|
|
|
13592
13756
|
inputsAND?: boolean;
|
|
13593
13757
|
master_user_id?: string;
|
|
13594
13758
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
13759
|
+
organisationId?: string;
|
|
13595
13760
|
outputList?: string[];
|
|
13596
13761
|
pushbullet_apikey?: string;
|
|
13597
13762
|
pushover_apikey?: string;
|
|
@@ -13605,6 +13770,7 @@ export interface components {
|
|
|
13605
13770
|
telegram_channel?: string;
|
|
13606
13771
|
telegram_token?: string;
|
|
13607
13772
|
timeAdvanced?: boolean;
|
|
13773
|
+
/** @description Deprecated: legacy time range fields. Use WeeklySchedule/DateRangeSchedule instead. */
|
|
13608
13774
|
timeRange1Max?: number;
|
|
13609
13775
|
timeRange1Min?: number;
|
|
13610
13776
|
timeRange2Max?: number;
|
|
@@ -13612,6 +13778,20 @@ export interface components {
|
|
|
13612
13778
|
title?: string;
|
|
13613
13779
|
user_id?: string;
|
|
13614
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;
|
|
13615
13795
|
};
|
|
13616
13796
|
"models.DeprecatedHeartbeat": {
|
|
13617
13797
|
architecture?: string;
|
|
@@ -13969,14 +14149,17 @@ export interface components {
|
|
|
13969
14149
|
timestamp?: number;
|
|
13970
14150
|
};
|
|
13971
14151
|
"models.Group": {
|
|
14152
|
+
address?: components["schemas"]["models.Location"];
|
|
13972
14153
|
/** @description Audit information */
|
|
13973
14154
|
audit?: components["schemas"]["models.Audit"];
|
|
14155
|
+
color?: string;
|
|
13974
14156
|
description?: string;
|
|
13975
14157
|
devices?: string[];
|
|
13976
14158
|
group_type?: string;
|
|
13977
14159
|
/** @description Nested groups */
|
|
13978
14160
|
groups?: string[];
|
|
13979
14161
|
id?: string;
|
|
14162
|
+
initials?: string;
|
|
13980
14163
|
/** @description Metadata */
|
|
13981
14164
|
metadata?: components["schemas"]["models.GroupMetadata"];
|
|
13982
14165
|
name?: string;
|
|
@@ -13989,6 +14172,8 @@ export interface components {
|
|
|
13989
14172
|
* in the future (integration with other storage solutions, next to Vault).
|
|
13990
14173
|
*/
|
|
13991
14174
|
storageSolution?: string;
|
|
14175
|
+
/** @description Deprecated */
|
|
14176
|
+
user_id?: string;
|
|
13992
14177
|
vaultAccessKey?: string;
|
|
13993
14178
|
vaultSecretKey?: string;
|
|
13994
14179
|
vaultUri?: string;
|
|
@@ -14764,6 +14949,18 @@ export interface components {
|
|
|
14764
14949
|
/** @description e.g., "global", "site", "group", "device" */
|
|
14765
14950
|
type?: string;
|
|
14766
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
|
+
};
|
|
14767
14964
|
"models.SequenceStage": {
|
|
14768
14965
|
name?: string;
|
|
14769
14966
|
/** @description Add fields relevant to sequence stage */
|
|
@@ -14778,22 +14975,31 @@ export interface components {
|
|
|
14778
14975
|
};
|
|
14779
14976
|
};
|
|
14780
14977
|
"models.Site": {
|
|
14978
|
+
access_key?: string;
|
|
14979
|
+
address?: components["schemas"]["models.Location"];
|
|
14980
|
+
all_devices?: string[];
|
|
14781
14981
|
/** @description Audit information */
|
|
14782
14982
|
audit?: components["schemas"]["models.Audit"];
|
|
14983
|
+
color?: string;
|
|
14783
14984
|
description?: string;
|
|
14784
14985
|
devices?: string[];
|
|
14785
14986
|
groups?: string[];
|
|
14786
14987
|
id?: string;
|
|
14988
|
+
initials?: string;
|
|
14787
14989
|
/** @description Metadata */
|
|
14788
14990
|
metadata?: components["schemas"]["models.SiteMetadata"];
|
|
14789
14991
|
name?: string;
|
|
14790
14992
|
/** @description RBAC information */
|
|
14791
14993
|
organisationId?: string;
|
|
14994
|
+
secret_key?: string;
|
|
14995
|
+
storage_uri?: string;
|
|
14792
14996
|
/**
|
|
14793
14997
|
* @description Media file information (by default "vault", however might change
|
|
14794
14998
|
* in the future (integration with other storage solutions, next to Vault).
|
|
14795
14999
|
*/
|
|
14796
15000
|
storageSolution?: string;
|
|
15001
|
+
/** @description Deprecated */
|
|
15002
|
+
user_id?: string;
|
|
14797
15003
|
vaultAccessKey?: string;
|
|
14798
15004
|
vaultSecretKey?: string;
|
|
14799
15005
|
vaultUri?: string;
|
|
@@ -15114,6 +15320,7 @@ export interface components {
|
|
|
15114
15320
|
google2fa_enabled?: boolean;
|
|
15115
15321
|
google2fa_secret?: string;
|
|
15116
15322
|
groups?: string[];
|
|
15323
|
+
highupload?: components["schemas"]["models.HighUpload"];
|
|
15117
15324
|
/** @description Settings HLS (hacky should be included in here). */
|
|
15118
15325
|
hls_callback_url?: string;
|
|
15119
15326
|
id?: string;
|
|
@@ -15144,6 +15351,9 @@ export interface components {
|
|
|
15144
15351
|
registerToken?: string;
|
|
15145
15352
|
role?: string;
|
|
15146
15353
|
role_level?: number;
|
|
15354
|
+
settings?: {
|
|
15355
|
+
[key: string]: unknown;
|
|
15356
|
+
};
|
|
15147
15357
|
sites?: string[];
|
|
15148
15358
|
storage?: components["schemas"]["models.Storage"];
|
|
15149
15359
|
/** @description Should go away into Card struct */
|
|
@@ -15313,6 +15523,12 @@ export interface components {
|
|
|
15313
15523
|
url?: string;
|
|
15314
15524
|
valid?: boolean;
|
|
15315
15525
|
};
|
|
15526
|
+
"models.WeeklySchedule": {
|
|
15527
|
+
day?: number;
|
|
15528
|
+
enabled?: boolean;
|
|
15529
|
+
segments?: components["schemas"]["models.DayTimeRange"][];
|
|
15530
|
+
timezone?: string;
|
|
15531
|
+
};
|
|
15316
15532
|
};
|
|
15317
15533
|
responses: never;
|
|
15318
15534
|
parameters: never;
|
|
@@ -15361,6 +15577,8 @@ export declare namespace models {
|
|
|
15361
15577
|
type CountingSummary = components['schemas']['models.CountingSummary'];
|
|
15362
15578
|
type Credentials = components['schemas']['models.Credentials'];
|
|
15363
15579
|
type CustomAlert = components['schemas']['models.CustomAlert'];
|
|
15580
|
+
type DateRangeSchedule = components['schemas']['models.DateRangeSchedule'];
|
|
15581
|
+
type DayTimeRange = components['schemas']['models.DayTimeRange'];
|
|
15364
15582
|
type DeprecatedHeartbeat = components['schemas']['models.DeprecatedHeartbeat'];
|
|
15365
15583
|
type DeprecatedONVIFEvents = components['schemas']['models.DeprecatedONVIFEvents'];
|
|
15366
15584
|
type DeprecatedPreset = components['schemas']['models.DeprecatedPreset'];
|
|
@@ -15443,6 +15661,7 @@ export declare namespace models {
|
|
|
15443
15661
|
type Role = components['schemas']['models.Role'];
|
|
15444
15662
|
type RoleAssignment = components['schemas']['models.RoleAssignment'];
|
|
15445
15663
|
type RoleScope = components['schemas']['models.RoleScope'];
|
|
15664
|
+
type Sequence = components['schemas']['models.Sequence'];
|
|
15446
15665
|
type SequenceStage = components['schemas']['models.SequenceStage'];
|
|
15447
15666
|
type Settings = components['schemas']['models.Settings'];
|
|
15448
15667
|
type Site = components['schemas']['models.Site'];
|
|
@@ -15479,6 +15698,7 @@ export declare namespace models {
|
|
|
15479
15698
|
type VaultMediaFragmentCollection = components['schemas']['models.VaultMediaFragmentCollection'];
|
|
15480
15699
|
type VaultMediaMetadata = components['schemas']['models.VaultMediaMetadata'];
|
|
15481
15700
|
type Webhook = components['schemas']['models.Webhook'];
|
|
15701
|
+
type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
|
|
15482
15702
|
}
|
|
15483
15703
|
export declare namespace api {
|
|
15484
15704
|
type AddAccessTokenErrorResponse = components['schemas']['api.AddAccessTokenErrorResponse'];
|