@uug-ai/models 1.7.90 → 1.7.92
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 +434 -23
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3,6 +3,45 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
"/internal/access": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Get Access (schema generation only)
|
|
15
|
+
* @description Internal endpoint used only to ensure Access schema is generated in OpenAPI spec
|
|
16
|
+
*/
|
|
17
|
+
get: {
|
|
18
|
+
parameters: {
|
|
19
|
+
query?: never;
|
|
20
|
+
header?: never;
|
|
21
|
+
path?: never;
|
|
22
|
+
cookie?: never;
|
|
23
|
+
};
|
|
24
|
+
requestBody?: never;
|
|
25
|
+
responses: {
|
|
26
|
+
/** @description OK */
|
|
27
|
+
200: {
|
|
28
|
+
headers: {
|
|
29
|
+
[name: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
content: {
|
|
32
|
+
"application/json": components["schemas"]["models.Access"];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
put?: never;
|
|
38
|
+
post?: never;
|
|
39
|
+
delete?: never;
|
|
40
|
+
options?: never;
|
|
41
|
+
head?: never;
|
|
42
|
+
patch?: never;
|
|
43
|
+
trace?: never;
|
|
44
|
+
};
|
|
6
45
|
"/internal/accesstoken": {
|
|
7
46
|
parameters: {
|
|
8
47
|
query?: never;
|
|
@@ -8661,6 +8700,45 @@ export interface paths {
|
|
|
8661
8700
|
patch?: never;
|
|
8662
8701
|
trace?: never;
|
|
8663
8702
|
};
|
|
8703
|
+
"/internal/deviceref": {
|
|
8704
|
+
parameters: {
|
|
8705
|
+
query?: never;
|
|
8706
|
+
header?: never;
|
|
8707
|
+
path?: never;
|
|
8708
|
+
cookie?: never;
|
|
8709
|
+
};
|
|
8710
|
+
/**
|
|
8711
|
+
* Get DeviceRef (schema generation only)
|
|
8712
|
+
* @description Internal endpoint used only to ensure DeviceRef schema is generated in OpenAPI spec
|
|
8713
|
+
*/
|
|
8714
|
+
get: {
|
|
8715
|
+
parameters: {
|
|
8716
|
+
query?: never;
|
|
8717
|
+
header?: never;
|
|
8718
|
+
path?: never;
|
|
8719
|
+
cookie?: never;
|
|
8720
|
+
};
|
|
8721
|
+
requestBody?: never;
|
|
8722
|
+
responses: {
|
|
8723
|
+
/** @description OK */
|
|
8724
|
+
200: {
|
|
8725
|
+
headers: {
|
|
8726
|
+
[name: string]: unknown;
|
|
8727
|
+
};
|
|
8728
|
+
content: {
|
|
8729
|
+
"application/json": components["schemas"]["models.DeviceRef"];
|
|
8730
|
+
};
|
|
8731
|
+
};
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8734
|
+
put?: never;
|
|
8735
|
+
post?: never;
|
|
8736
|
+
delete?: never;
|
|
8737
|
+
options?: never;
|
|
8738
|
+
head?: never;
|
|
8739
|
+
patch?: never;
|
|
8740
|
+
trace?: never;
|
|
8741
|
+
};
|
|
8664
8742
|
"/internal/devices": {
|
|
8665
8743
|
parameters: {
|
|
8666
8744
|
query?: never;
|
|
@@ -8700,6 +8778,45 @@ export interface paths {
|
|
|
8700
8778
|
patch?: never;
|
|
8701
8779
|
trace?: never;
|
|
8702
8780
|
};
|
|
8781
|
+
"/internal/deviceselection": {
|
|
8782
|
+
parameters: {
|
|
8783
|
+
query?: never;
|
|
8784
|
+
header?: never;
|
|
8785
|
+
path?: never;
|
|
8786
|
+
cookie?: never;
|
|
8787
|
+
};
|
|
8788
|
+
/**
|
|
8789
|
+
* Get DeviceSelection (schema generation only)
|
|
8790
|
+
* @description Internal endpoint used only to ensure DeviceSelection schema is generated in OpenAPI spec
|
|
8791
|
+
*/
|
|
8792
|
+
get: {
|
|
8793
|
+
parameters: {
|
|
8794
|
+
query?: never;
|
|
8795
|
+
header?: never;
|
|
8796
|
+
path?: never;
|
|
8797
|
+
cookie?: never;
|
|
8798
|
+
};
|
|
8799
|
+
requestBody?: never;
|
|
8800
|
+
responses: {
|
|
8801
|
+
/** @description OK */
|
|
8802
|
+
200: {
|
|
8803
|
+
headers: {
|
|
8804
|
+
[name: string]: unknown;
|
|
8805
|
+
};
|
|
8806
|
+
content: {
|
|
8807
|
+
"application/json": components["schemas"]["models.DeviceSelection"];
|
|
8808
|
+
};
|
|
8809
|
+
};
|
|
8810
|
+
};
|
|
8811
|
+
};
|
|
8812
|
+
put?: never;
|
|
8813
|
+
post?: never;
|
|
8814
|
+
delete?: never;
|
|
8815
|
+
options?: never;
|
|
8816
|
+
head?: never;
|
|
8817
|
+
patch?: never;
|
|
8818
|
+
trace?: never;
|
|
8819
|
+
};
|
|
8703
8820
|
"/internal/devicetags": {
|
|
8704
8821
|
parameters: {
|
|
8705
8822
|
query?: never;
|
|
@@ -20829,6 +20946,201 @@ export interface paths {
|
|
|
20829
20946
|
patch?: never;
|
|
20830
20947
|
trace?: never;
|
|
20831
20948
|
};
|
|
20949
|
+
"/internal/legacyaccess": {
|
|
20950
|
+
parameters: {
|
|
20951
|
+
query?: never;
|
|
20952
|
+
header?: never;
|
|
20953
|
+
path?: never;
|
|
20954
|
+
cookie?: never;
|
|
20955
|
+
};
|
|
20956
|
+
/**
|
|
20957
|
+
* Get LegacyAccess (schema generation only)
|
|
20958
|
+
* @description Internal endpoint used only to ensure LegacyAccess schema is generated in OpenAPI spec
|
|
20959
|
+
*/
|
|
20960
|
+
get: {
|
|
20961
|
+
parameters: {
|
|
20962
|
+
query?: never;
|
|
20963
|
+
header?: never;
|
|
20964
|
+
path?: never;
|
|
20965
|
+
cookie?: never;
|
|
20966
|
+
};
|
|
20967
|
+
requestBody?: never;
|
|
20968
|
+
responses: {
|
|
20969
|
+
/** @description OK */
|
|
20970
|
+
200: {
|
|
20971
|
+
headers: {
|
|
20972
|
+
[name: string]: unknown;
|
|
20973
|
+
};
|
|
20974
|
+
content: {
|
|
20975
|
+
"application/json": components["schemas"]["models.LegacyAccess"];
|
|
20976
|
+
};
|
|
20977
|
+
};
|
|
20978
|
+
};
|
|
20979
|
+
};
|
|
20980
|
+
put?: never;
|
|
20981
|
+
post?: never;
|
|
20982
|
+
delete?: never;
|
|
20983
|
+
options?: never;
|
|
20984
|
+
head?: never;
|
|
20985
|
+
patch?: never;
|
|
20986
|
+
trace?: never;
|
|
20987
|
+
};
|
|
20988
|
+
"/internal/legacyfeaturelevels": {
|
|
20989
|
+
parameters: {
|
|
20990
|
+
query?: never;
|
|
20991
|
+
header?: never;
|
|
20992
|
+
path?: never;
|
|
20993
|
+
cookie?: never;
|
|
20994
|
+
};
|
|
20995
|
+
/**
|
|
20996
|
+
* Get LegacyFeatureLevels (schema generation only)
|
|
20997
|
+
* @description Internal endpoint used only to ensure LegacyFeatureLevels schema is generated in OpenAPI spec
|
|
20998
|
+
*/
|
|
20999
|
+
get: {
|
|
21000
|
+
parameters: {
|
|
21001
|
+
query?: never;
|
|
21002
|
+
header?: never;
|
|
21003
|
+
path?: never;
|
|
21004
|
+
cookie?: never;
|
|
21005
|
+
};
|
|
21006
|
+
requestBody?: never;
|
|
21007
|
+
responses: {
|
|
21008
|
+
/** @description OK */
|
|
21009
|
+
200: {
|
|
21010
|
+
headers: {
|
|
21011
|
+
[name: string]: unknown;
|
|
21012
|
+
};
|
|
21013
|
+
content: {
|
|
21014
|
+
"application/json": components["schemas"]["models.LegacyFeatureLevels"];
|
|
21015
|
+
};
|
|
21016
|
+
};
|
|
21017
|
+
};
|
|
21018
|
+
};
|
|
21019
|
+
put?: never;
|
|
21020
|
+
post?: never;
|
|
21021
|
+
delete?: never;
|
|
21022
|
+
options?: never;
|
|
21023
|
+
head?: never;
|
|
21024
|
+
patch?: never;
|
|
21025
|
+
trace?: never;
|
|
21026
|
+
};
|
|
21027
|
+
"/internal/legacyrole": {
|
|
21028
|
+
parameters: {
|
|
21029
|
+
query?: never;
|
|
21030
|
+
header?: never;
|
|
21031
|
+
path?: never;
|
|
21032
|
+
cookie?: never;
|
|
21033
|
+
};
|
|
21034
|
+
/**
|
|
21035
|
+
* Get LegacyRole (schema generation only)
|
|
21036
|
+
* @description Internal endpoint used only to ensure LegacyRole schema is generated in OpenAPI spec
|
|
21037
|
+
*/
|
|
21038
|
+
get: {
|
|
21039
|
+
parameters: {
|
|
21040
|
+
query?: never;
|
|
21041
|
+
header?: never;
|
|
21042
|
+
path?: never;
|
|
21043
|
+
cookie?: never;
|
|
21044
|
+
};
|
|
21045
|
+
requestBody?: never;
|
|
21046
|
+
responses: {
|
|
21047
|
+
/** @description OK */
|
|
21048
|
+
200: {
|
|
21049
|
+
headers: {
|
|
21050
|
+
[name: string]: unknown;
|
|
21051
|
+
};
|
|
21052
|
+
content: {
|
|
21053
|
+
"application/json": components["schemas"]["models.LegacyRole"];
|
|
21054
|
+
};
|
|
21055
|
+
};
|
|
21056
|
+
};
|
|
21057
|
+
};
|
|
21058
|
+
put?: never;
|
|
21059
|
+
post?: never;
|
|
21060
|
+
delete?: never;
|
|
21061
|
+
options?: never;
|
|
21062
|
+
head?: never;
|
|
21063
|
+
patch?: never;
|
|
21064
|
+
trace?: never;
|
|
21065
|
+
};
|
|
21066
|
+
"/internal/legacytimewindow": {
|
|
21067
|
+
parameters: {
|
|
21068
|
+
query?: never;
|
|
21069
|
+
header?: never;
|
|
21070
|
+
path?: never;
|
|
21071
|
+
cookie?: never;
|
|
21072
|
+
};
|
|
21073
|
+
/**
|
|
21074
|
+
* Get LegacyTimeWindow (schema generation only)
|
|
21075
|
+
* @description Internal endpoint used only to ensure LegacyTimeWindow schema is generated in OpenAPI spec
|
|
21076
|
+
*/
|
|
21077
|
+
get: {
|
|
21078
|
+
parameters: {
|
|
21079
|
+
query?: never;
|
|
21080
|
+
header?: never;
|
|
21081
|
+
path?: never;
|
|
21082
|
+
cookie?: never;
|
|
21083
|
+
};
|
|
21084
|
+
requestBody?: never;
|
|
21085
|
+
responses: {
|
|
21086
|
+
/** @description OK */
|
|
21087
|
+
200: {
|
|
21088
|
+
headers: {
|
|
21089
|
+
[name: string]: unknown;
|
|
21090
|
+
};
|
|
21091
|
+
content: {
|
|
21092
|
+
"application/json": components["schemas"]["models.LegacyTimeWindow"];
|
|
21093
|
+
};
|
|
21094
|
+
};
|
|
21095
|
+
};
|
|
21096
|
+
};
|
|
21097
|
+
put?: never;
|
|
21098
|
+
post?: never;
|
|
21099
|
+
delete?: never;
|
|
21100
|
+
options?: never;
|
|
21101
|
+
head?: never;
|
|
21102
|
+
patch?: never;
|
|
21103
|
+
trace?: never;
|
|
21104
|
+
};
|
|
21105
|
+
"/internal/legacyuseraccess": {
|
|
21106
|
+
parameters: {
|
|
21107
|
+
query?: never;
|
|
21108
|
+
header?: never;
|
|
21109
|
+
path?: never;
|
|
21110
|
+
cookie?: never;
|
|
21111
|
+
};
|
|
21112
|
+
/**
|
|
21113
|
+
* Get LegacyUserAccess (schema generation only)
|
|
21114
|
+
* @description Internal endpoint used only to ensure LegacyUserAccess schema is generated in OpenAPI spec
|
|
21115
|
+
*/
|
|
21116
|
+
get: {
|
|
21117
|
+
parameters: {
|
|
21118
|
+
query?: never;
|
|
21119
|
+
header?: never;
|
|
21120
|
+
path?: never;
|
|
21121
|
+
cookie?: never;
|
|
21122
|
+
};
|
|
21123
|
+
requestBody?: never;
|
|
21124
|
+
responses: {
|
|
21125
|
+
/** @description OK */
|
|
21126
|
+
200: {
|
|
21127
|
+
headers: {
|
|
21128
|
+
[name: string]: unknown;
|
|
21129
|
+
};
|
|
21130
|
+
content: {
|
|
21131
|
+
"application/json": components["schemas"]["models.LegacyUserAccess"];
|
|
21132
|
+
};
|
|
21133
|
+
};
|
|
21134
|
+
};
|
|
21135
|
+
};
|
|
21136
|
+
put?: never;
|
|
21137
|
+
post?: never;
|
|
21138
|
+
delete?: never;
|
|
21139
|
+
options?: never;
|
|
21140
|
+
head?: never;
|
|
21141
|
+
patch?: never;
|
|
21142
|
+
trace?: never;
|
|
21143
|
+
};
|
|
20832
21144
|
"/internal/lightsensormetadata": {
|
|
20833
21145
|
parameters: {
|
|
20834
21146
|
query?: never;
|
|
@@ -34960,7 +35272,7 @@ export interface components {
|
|
|
34960
35272
|
notify_assignees?: boolean;
|
|
34961
35273
|
organisationId?: string;
|
|
34962
35274
|
/** @description ProjectId optionally places the case/task in a project within its organisation.
|
|
34963
|
-
* A nil value
|
|
35275
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
34964
35276
|
projectId?: string;
|
|
34965
35277
|
reporter_email?: string;
|
|
34966
35278
|
reporter_id?: string;
|
|
@@ -39358,6 +39670,7 @@ export interface components {
|
|
|
39358
39670
|
running?: number;
|
|
39359
39671
|
total?: number;
|
|
39360
39672
|
};
|
|
39673
|
+
"models.Access": Record<string, never>;
|
|
39361
39674
|
/** @enum {integer} */
|
|
39362
39675
|
"models.AccessLevel": 0 | 1 | 2 | 3;
|
|
39363
39676
|
"models.AccessToken": {
|
|
@@ -39380,7 +39693,7 @@ export interface components {
|
|
|
39380
39693
|
userId?: string;
|
|
39381
39694
|
};
|
|
39382
39695
|
/** @enum {string} */
|
|
39383
|
-
"models.AccessTokenScope": "
|
|
39696
|
+
"models.AccessTokenScope": "detections.read" | "detections.create" | "detections.delete" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "markers.read" | "markers.write" | "markers.all" | "analytics.read" | "application" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "storage.read" | "storage.update" | "audit.read" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "notifications.read" | "notifications.update" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "billing.read" | "billing.manage" | "devices.read" | "devices.update" | "devices.delete" | "devices.configure" | "devices.managePermissions" | "devices.manageRecording" | "devices.readLogs" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "floor-plans.read" | "floor-plans.create" | "floor-plans.update" | "floor-plans.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "days.read" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove";
|
|
39384
39697
|
"models.Account": {
|
|
39385
39698
|
account?: components["schemas"]["models.AccountBody"];
|
|
39386
39699
|
};
|
|
@@ -39521,7 +39834,7 @@ export interface components {
|
|
|
39521
39834
|
key?: string;
|
|
39522
39835
|
organisationId?: string;
|
|
39523
39836
|
/** @description ProjectId optionally places the analysis in a project within its organisation.
|
|
39524
|
-
* A nil value
|
|
39837
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
39525
39838
|
projectId?: string;
|
|
39526
39839
|
provider?: string;
|
|
39527
39840
|
requiredOperations?: string[];
|
|
@@ -39774,7 +40087,7 @@ export interface components {
|
|
|
39774
40087
|
name?: string;
|
|
39775
40088
|
organisationId?: string;
|
|
39776
40089
|
/** @description ProjectId optionally places the attachment in a project within its organisation.
|
|
39777
|
-
* A nil value
|
|
40090
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
39778
40091
|
projectId?: string;
|
|
39779
40092
|
provider?: string;
|
|
39780
40093
|
/** @description RelatedCaseMediaId optionally links the attachment to a specific
|
|
@@ -39891,7 +40204,7 @@ export interface components {
|
|
|
39891
40204
|
* source — the individual operations are described in Params. */
|
|
39892
40205
|
parentId?: string;
|
|
39893
40206
|
/** @description ProjectId optionally places the case media in a project within its organisation.
|
|
39894
|
-
* A nil value
|
|
40207
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
39895
40208
|
projectId?: string;
|
|
39896
40209
|
provider?: string;
|
|
39897
40210
|
/** @description Role describes whether this entry represents a source attached to
|
|
@@ -39966,7 +40279,7 @@ export interface components {
|
|
|
39966
40279
|
/** @description e.g. ["view"] */
|
|
39967
40280
|
permissions?: string[];
|
|
39968
40281
|
/** @description ProjectId optionally places the case share in a project within its organisation.
|
|
39969
|
-
* A nil value
|
|
40282
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
39970
40283
|
projectId?: string;
|
|
39971
40284
|
/** @description Selection is the per-share snapshot of the case_media ids the
|
|
39972
40285
|
* recipient is allowed to browse, captured at CreateShare time.
|
|
@@ -40153,7 +40466,7 @@ export interface components {
|
|
|
40153
40466
|
/** @description ID of the parent comment, if this is a reply */
|
|
40154
40467
|
parentId?: string;
|
|
40155
40468
|
/** @description ProjectId optionally places the comment in a project within its organisation.
|
|
40156
|
-
* A nil value
|
|
40469
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
40157
40470
|
projectId?: string;
|
|
40158
40471
|
timestamps?: number[];
|
|
40159
40472
|
/** @description Comment information */
|
|
@@ -40322,7 +40635,7 @@ export interface components {
|
|
|
40322
40635
|
* Missing or false preserves the existing shared visibility. */
|
|
40323
40636
|
private?: boolean;
|
|
40324
40637
|
/** @description ProjectId optionally places the alert in a project within its organisation.
|
|
40325
|
-
* A nil value
|
|
40638
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
40326
40639
|
projectId?: string;
|
|
40327
40640
|
/** @description Deprecated: use ChannelIds. */
|
|
40328
40641
|
pushbullet_apikey?: string;
|
|
@@ -40773,6 +41086,21 @@ export interface components {
|
|
|
40773
41086
|
/** @description Absolute Y coordinate */
|
|
40774
41087
|
y?: number;
|
|
40775
41088
|
};
|
|
41089
|
+
"models.DeviceRef": {
|
|
41090
|
+
/** @description GroupIds are the camera groups containing the device and the site
|
|
41091
|
+
* groups containing one of its sites. */
|
|
41092
|
+
groupIds?: string[];
|
|
41093
|
+
id?: string;
|
|
41094
|
+
/** @description SiteIds are the sites containing the device, directly or through a
|
|
41095
|
+
* camera group inside the site. */
|
|
41096
|
+
siteIds?: string[];
|
|
41097
|
+
};
|
|
41098
|
+
"models.DeviceSelection": {
|
|
41099
|
+
all?: boolean;
|
|
41100
|
+
deviceIds?: string[];
|
|
41101
|
+
groupIds?: string[];
|
|
41102
|
+
siteIds?: string[];
|
|
41103
|
+
};
|
|
40776
41104
|
"models.DeviceTags": {
|
|
40777
41105
|
/** @description System tags come from the deployment's catalog (Helm) and are set by
|
|
40778
41106
|
* owners (DevicePatch.SystemTags). Workflow triggers select devices by
|
|
@@ -41068,7 +41396,7 @@ export interface components {
|
|
|
41068
41396
|
/** @description RBAC information */
|
|
41069
41397
|
organisationId?: string;
|
|
41070
41398
|
/** @description ProjectId optionally places the group in a project within its organisation.
|
|
41071
|
-
* A nil value
|
|
41399
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41072
41400
|
projectId?: string;
|
|
41073
41401
|
/** @description Nested sites */
|
|
41074
41402
|
sites?: string[];
|
|
@@ -41172,7 +41500,7 @@ export interface components {
|
|
|
41172
41500
|
lastSeenTimestamp?: number;
|
|
41173
41501
|
organisationId?: string;
|
|
41174
41502
|
/** @description ProjectId optionally places the IO in a project within its organisation.
|
|
41175
|
-
* A nil value
|
|
41503
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41176
41504
|
projectId?: string;
|
|
41177
41505
|
/** @description input or output */
|
|
41178
41506
|
type?: string;
|
|
@@ -41206,7 +41534,7 @@ export interface components {
|
|
|
41206
41534
|
organisationId?: string;
|
|
41207
41535
|
owner_id?: string;
|
|
41208
41536
|
/** @description ProjectId optionally places the label in a project within its organisation.
|
|
41209
|
-
* A nil value
|
|
41537
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41210
41538
|
projectId?: string;
|
|
41211
41539
|
type?: string[];
|
|
41212
41540
|
user_id?: string;
|
|
@@ -41214,6 +41542,81 @@ export interface components {
|
|
|
41214
41542
|
"models.LabelWrapper": {
|
|
41215
41543
|
label?: components["schemas"]["models.Label"];
|
|
41216
41544
|
};
|
|
41545
|
+
"models.LegacyAccess": {
|
|
41546
|
+
assignments?: components["schemas"]["models.RoleAssignment"][];
|
|
41547
|
+
membership?: components["schemas"]["models.OrganisationUser"];
|
|
41548
|
+
roles?: components["schemas"]["models.Role"][];
|
|
41549
|
+
};
|
|
41550
|
+
"models.LegacyFeatureLevels": {
|
|
41551
|
+
/** @description 2 allowed */
|
|
41552
|
+
download_recordings?: number;
|
|
41553
|
+
/** @description Never read; ignored */
|
|
41554
|
+
floorPlans?: number;
|
|
41555
|
+
/** @description Not editable; ignored */
|
|
41556
|
+
io?: number;
|
|
41557
|
+
/** @description 2 preview, 3 live */
|
|
41558
|
+
liveview?: number;
|
|
41559
|
+
/** @description 2 zoom, 3 pan/tilt, 4 both, 5 presets */
|
|
41560
|
+
ptz?: number;
|
|
41561
|
+
/** @description 2 allowed */
|
|
41562
|
+
remote_config?: number;
|
|
41563
|
+
};
|
|
41564
|
+
"models.LegacyRole": {
|
|
41565
|
+
featurePermissions?: components["schemas"]["models.LegacyFeatureLevels"];
|
|
41566
|
+
id?: string;
|
|
41567
|
+
isActive?: number;
|
|
41568
|
+
pages?: string[];
|
|
41569
|
+
role?: string;
|
|
41570
|
+
roleName?: string;
|
|
41571
|
+
timeWindow?: components["schemas"]["models.LegacyTimeWindow"];
|
|
41572
|
+
timeWindowActive?: number;
|
|
41573
|
+
/** @description The organisation's main account */
|
|
41574
|
+
user_id?: string;
|
|
41575
|
+
};
|
|
41576
|
+
"models.LegacyTimeWindow": {
|
|
41577
|
+
timeRange1MaxFriday?: number;
|
|
41578
|
+
timeRange1MaxMonday?: number;
|
|
41579
|
+
timeRange1MaxSaturday?: number;
|
|
41580
|
+
timeRange1MaxSunday?: number;
|
|
41581
|
+
timeRange1MaxThursday?: number;
|
|
41582
|
+
timeRange1MaxTuesday?: number;
|
|
41583
|
+
timeRange1MaxWednesday?: number;
|
|
41584
|
+
timeRange1MinFriday?: number;
|
|
41585
|
+
timeRange1MinMonday?: number;
|
|
41586
|
+
timeRange1MinSaturday?: number;
|
|
41587
|
+
timeRange1MinSunday?: number;
|
|
41588
|
+
timeRange1MinThursday?: number;
|
|
41589
|
+
timeRange1MinTuesday?: number;
|
|
41590
|
+
timeRange1MinWednesday?: number;
|
|
41591
|
+
timeRange2MaxFriday?: number;
|
|
41592
|
+
timeRange2MaxMonday?: number;
|
|
41593
|
+
timeRange2MaxSaturday?: number;
|
|
41594
|
+
timeRange2MaxSunday?: number;
|
|
41595
|
+
timeRange2MaxThursday?: number;
|
|
41596
|
+
timeRange2MaxTuesday?: number;
|
|
41597
|
+
timeRange2MaxWednesday?: number;
|
|
41598
|
+
timeRange2MinFriday?: number;
|
|
41599
|
+
timeRange2MinMonday?: number;
|
|
41600
|
+
timeRange2MinSaturday?: number;
|
|
41601
|
+
timeRange2MinSunday?: number;
|
|
41602
|
+
timeRange2MinThursday?: number;
|
|
41603
|
+
timeRange2MinTuesday?: number;
|
|
41604
|
+
timeRange2MinWednesday?: number;
|
|
41605
|
+
};
|
|
41606
|
+
"models.LegacyUserAccess": {
|
|
41607
|
+
customRole?: components["schemas"]["models.LegacyRole"];
|
|
41608
|
+
deviceIds?: string[];
|
|
41609
|
+
groupIds?: string[];
|
|
41610
|
+
organisationId?: string;
|
|
41611
|
+
/** @description Role is the user's legacy role: a tier name, or the name of the custom
|
|
41612
|
+
* role in CustomRole. Tier names win, as they do today. */
|
|
41613
|
+
role?: string;
|
|
41614
|
+
siteIds?: string[];
|
|
41615
|
+
/** @description Timezone is the organisation owner's IANA timezone, which custom role
|
|
41616
|
+
* time windows are evaluated in. Only needed when a window is active. */
|
|
41617
|
+
timezone?: string;
|
|
41618
|
+
userId?: string;
|
|
41619
|
+
};
|
|
41217
41620
|
/** @enum {string} */
|
|
41218
41621
|
"models.Level": "organisation" | "project";
|
|
41219
41622
|
"models.LightSensorMetadata": {
|
|
@@ -41306,7 +41709,7 @@ export interface components {
|
|
|
41306
41709
|
*/
|
|
41307
41710
|
organisationId?: string;
|
|
41308
41711
|
/** @description ProjectId optionally places the marker in a project within its organisation.
|
|
41309
|
-
* A nil value
|
|
41712
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41310
41713
|
projectId?: string;
|
|
41311
41714
|
/**
|
|
41312
41715
|
* @description SiteId is used to identify the site where the marker is located
|
|
@@ -41614,7 +42017,7 @@ export interface components {
|
|
|
41614
42017
|
metadata?: components["schemas"]["models.MediaMetadata"];
|
|
41615
42018
|
organisationId?: string;
|
|
41616
42019
|
/** @description ProjectId optionally places the media in a project within its organisation.
|
|
41617
|
-
* A nil value
|
|
42020
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41618
42021
|
projectId?: string;
|
|
41619
42022
|
siteId?: string;
|
|
41620
42023
|
sourceMediaId?: string;
|
|
@@ -41762,7 +42165,7 @@ export interface components {
|
|
|
41762
42165
|
number_of_media?: string;
|
|
41763
42166
|
organisationId?: string;
|
|
41764
42167
|
/** @description ProjectId optionally places the message in a project within its organisation.
|
|
41765
|
-
* A nil value
|
|
42168
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41766
42169
|
projectId?: string;
|
|
41767
42170
|
sequence_id?: string;
|
|
41768
42171
|
sites?: components["schemas"]["models.Site"][];
|
|
@@ -41850,7 +42253,7 @@ export interface components {
|
|
|
41850
42253
|
number_of_media?: string;
|
|
41851
42254
|
organisationId?: string;
|
|
41852
42255
|
/** @description ProjectId optionally places the message in a project within its organisation.
|
|
41853
|
-
* A nil value
|
|
42256
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
41854
42257
|
projectId?: string;
|
|
41855
42258
|
sequence_id?: string;
|
|
41856
42259
|
sites?: components["schemas"]["models.Site"][];
|
|
@@ -42008,7 +42411,7 @@ export interface components {
|
|
|
42008
42411
|
videowall?: components["schemas"]["models.Videowall"];
|
|
42009
42412
|
};
|
|
42010
42413
|
/** @enum {string} */
|
|
42011
|
-
"models.Permission": "
|
|
42414
|
+
"models.Permission": "detections.read" | "detections.create" | "detections.delete" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "markers.read" | "markers.write" | "markers.all" | "analytics.read" | "application" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "storage.read" | "storage.update" | "audit.read" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "notifications.read" | "notifications.update" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "billing.read" | "billing.manage" | "devices.read" | "devices.update" | "devices.delete" | "devices.configure" | "devices.managePermissions" | "devices.manageRecording" | "devices.readLogs" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "floor-plans.read" | "floor-plans.create" | "floor-plans.update" | "floor-plans.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "days.read" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove";
|
|
42012
42415
|
"models.PermissionDefinition": {
|
|
42013
42416
|
/** @description Implies lists the permissions that holding this one also grants, e.g. a
|
|
42014
42417
|
* graded capability implies its lower grades. Implied permissions always
|
|
@@ -42297,7 +42700,7 @@ export interface components {
|
|
|
42297
42700
|
siteIds?: string[];
|
|
42298
42701
|
};
|
|
42299
42702
|
/** @enum {string} */
|
|
42300
|
-
"models.RoleKey": "owner" | "organisation-manager" | "billing-admin" | "project-admin" | "editor" | "viewer" | "legacy-guest" | "legacy-editor" | "legacy-admin" | "legacy-admin-organisation";
|
|
42703
|
+
"models.RoleKey": "owner" | "organisation-manager" | "billing-admin" | "project-admin" | "editor" | "viewer" | "legacy-guest" | "legacy-editor" | "legacy-admin" | "legacy-member-organisation" | "legacy-admin-organisation";
|
|
42301
42704
|
/** @enum {string} */
|
|
42302
42705
|
"models.RoleKind": "system" | "legacy" | "custom";
|
|
42303
42706
|
"models.RoleOrigin": {
|
|
@@ -42325,7 +42728,7 @@ export interface components {
|
|
|
42325
42728
|
notified?: boolean;
|
|
42326
42729
|
organisationId?: string;
|
|
42327
42730
|
/** @description ProjectId optionally places the sequence in a project within its organisation.
|
|
42328
|
-
* A nil value
|
|
42731
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
42329
42732
|
projectId?: string;
|
|
42330
42733
|
start?: number;
|
|
42331
42734
|
user_id?: string;
|
|
@@ -42375,7 +42778,7 @@ export interface components {
|
|
|
42375
42778
|
/** @description RBAC information */
|
|
42376
42779
|
organisationId?: string;
|
|
42377
42780
|
/** @description ProjectId optionally places the site in a project within its organisation.
|
|
42378
|
-
* A nil value
|
|
42781
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
42379
42782
|
projectId?: string;
|
|
42380
42783
|
secret_key?: string;
|
|
42381
42784
|
storage_uri?: string;
|
|
@@ -42561,7 +42964,7 @@ export interface components {
|
|
|
42561
42964
|
* @example 686a906345c1df594pad69f0
|
|
42562
42965
|
*/
|
|
42563
42966
|
organisationId?: string;
|
|
42564
|
-
/** @description ProjectId optionally places the state in a project within its organisation; nil
|
|
42967
|
+
/** @description ProjectId optionally places the state in a project within its organisation; nil places it in the default project. */
|
|
42565
42968
|
projectId?: string;
|
|
42566
42969
|
/**
|
|
42567
42970
|
* @description SiteId is used to identify the site for which the state is relevant
|
|
@@ -42699,7 +43102,7 @@ export interface components {
|
|
|
42699
43102
|
notify_assignees?: boolean;
|
|
42700
43103
|
organisationId?: string;
|
|
42701
43104
|
/** @description ProjectId optionally places the case/task in a project within its organisation.
|
|
42702
|
-
* A nil value
|
|
43105
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
42703
43106
|
projectId?: string;
|
|
42704
43107
|
reporter_email?: string;
|
|
42705
43108
|
reporter_id?: string;
|
|
@@ -43237,7 +43640,8 @@ export interface components {
|
|
|
43237
43640
|
organisationId?: string;
|
|
43238
43641
|
pass_code?: string;
|
|
43239
43642
|
/** @description ProjectId optionally places the videowall in a project within its
|
|
43240
|
-
* organisation. A nil value
|
|
43643
|
+
* organisation. A nil value places it in the organisation's default
|
|
43644
|
+
* project (see ResolveProjectId). */
|
|
43241
43645
|
projectId?: string;
|
|
43242
43646
|
/** @description ForceMFA int `json:"force_mfa" bson:"force_mfa"` */
|
|
43243
43647
|
ptz?: number;
|
|
@@ -43293,7 +43697,7 @@ export interface components {
|
|
|
43293
43697
|
* contract while readers may retain a legacy `organisation_id` fallback. */
|
|
43294
43698
|
organisationId?: string;
|
|
43295
43699
|
/** @description ProjectId optionally places the workflow in a project within its organisation.
|
|
43296
|
-
* A nil value
|
|
43700
|
+
* A nil value places it in the organisation's default project (see ResolveProjectId). */
|
|
43297
43701
|
projectId?: string;
|
|
43298
43702
|
/** @description Source is the workflow's provenance and availability (see WorkflowSource).
|
|
43299
43703
|
* Empty means WorkflowSourceUser: an ordinary user workflow scoped to its
|
|
@@ -44164,6 +44568,8 @@ export declare namespace models {
|
|
|
44164
44568
|
type DeviceOption = components['schemas']['models.DeviceOption'];
|
|
44165
44569
|
type DevicePatch = components['schemas']['models.DevicePatch'];
|
|
44166
44570
|
type DevicePlacement = components['schemas']['models.DevicePlacement'];
|
|
44571
|
+
type DeviceRef = components['schemas']['models.DeviceRef'];
|
|
44572
|
+
type DeviceSelection = components['schemas']['models.DeviceSelection'];
|
|
44167
44573
|
type DeviceTags = components['schemas']['models.DeviceTags'];
|
|
44168
44574
|
type DeviceThresholds = components['schemas']['models.DeviceThresholds'];
|
|
44169
44575
|
type DeviceVLMMetadata = components['schemas']['models.DeviceVLMMetadata'];
|
|
@@ -44228,6 +44634,11 @@ export declare namespace models {
|
|
|
44228
44634
|
type KeyPair = components['schemas']['models.KeyPair'];
|
|
44229
44635
|
type Label = components['schemas']['models.Label'];
|
|
44230
44636
|
type LabelWrapper = components['schemas']['models.LabelWrapper'];
|
|
44637
|
+
type LegacyAccess = components['schemas']['models.LegacyAccess'];
|
|
44638
|
+
type LegacyFeatureLevels = components['schemas']['models.LegacyFeatureLevels'];
|
|
44639
|
+
type LegacyRole = components['schemas']['models.LegacyRole'];
|
|
44640
|
+
type LegacyTimeWindow = components['schemas']['models.LegacyTimeWindow'];
|
|
44641
|
+
type LegacyUserAccess = components['schemas']['models.LegacyUserAccess'];
|
|
44231
44642
|
type LightSensorMetadata = components['schemas']['models.LightSensorMetadata'];
|
|
44232
44643
|
type Livestream = components['schemas']['models.Livestream'];
|
|
44233
44644
|
type Location = components['schemas']['models.Location'];
|