@uug-ai/models 1.7.73 → 1.7.75
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 +478 -19
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -7608,6 +7608,45 @@ export interface paths {
|
|
|
7608
7608
|
patch?: never;
|
|
7609
7609
|
trace?: never;
|
|
7610
7610
|
};
|
|
7611
|
+
"/internal/deviceheartbeat": {
|
|
7612
|
+
parameters: {
|
|
7613
|
+
query?: never;
|
|
7614
|
+
header?: never;
|
|
7615
|
+
path?: never;
|
|
7616
|
+
cookie?: never;
|
|
7617
|
+
};
|
|
7618
|
+
/**
|
|
7619
|
+
* Get DeviceHeartbeat (schema generation only)
|
|
7620
|
+
* @description Internal endpoint used only to ensure DeviceHeartbeat schema is generated in OpenAPI spec
|
|
7621
|
+
*/
|
|
7622
|
+
get: {
|
|
7623
|
+
parameters: {
|
|
7624
|
+
query?: never;
|
|
7625
|
+
header?: never;
|
|
7626
|
+
path?: never;
|
|
7627
|
+
cookie?: never;
|
|
7628
|
+
};
|
|
7629
|
+
requestBody?: never;
|
|
7630
|
+
responses: {
|
|
7631
|
+
/** @description OK */
|
|
7632
|
+
200: {
|
|
7633
|
+
headers: {
|
|
7634
|
+
[name: string]: unknown;
|
|
7635
|
+
};
|
|
7636
|
+
content: {
|
|
7637
|
+
"application/json": components["schemas"]["models.DeviceHeartbeat"];
|
|
7638
|
+
};
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
put?: never;
|
|
7643
|
+
post?: never;
|
|
7644
|
+
delete?: never;
|
|
7645
|
+
options?: never;
|
|
7646
|
+
head?: never;
|
|
7647
|
+
patch?: never;
|
|
7648
|
+
trace?: never;
|
|
7649
|
+
};
|
|
7611
7650
|
"/internal/devicekey": {
|
|
7612
7651
|
parameters: {
|
|
7613
7652
|
query?: never;
|
|
@@ -7725,6 +7764,45 @@ export interface paths {
|
|
|
7725
7764
|
patch?: never;
|
|
7726
7765
|
trace?: never;
|
|
7727
7766
|
};
|
|
7767
|
+
"/internal/devicemonitor": {
|
|
7768
|
+
parameters: {
|
|
7769
|
+
query?: never;
|
|
7770
|
+
header?: never;
|
|
7771
|
+
path?: never;
|
|
7772
|
+
cookie?: never;
|
|
7773
|
+
};
|
|
7774
|
+
/**
|
|
7775
|
+
* Get DeviceMonitor (schema generation only)
|
|
7776
|
+
* @description Internal endpoint used only to ensure DeviceMonitor schema is generated in OpenAPI spec
|
|
7777
|
+
*/
|
|
7778
|
+
get: {
|
|
7779
|
+
parameters: {
|
|
7780
|
+
query?: never;
|
|
7781
|
+
header?: never;
|
|
7782
|
+
path?: never;
|
|
7783
|
+
cookie?: never;
|
|
7784
|
+
};
|
|
7785
|
+
requestBody?: never;
|
|
7786
|
+
responses: {
|
|
7787
|
+
/** @description OK */
|
|
7788
|
+
200: {
|
|
7789
|
+
headers: {
|
|
7790
|
+
[name: string]: unknown;
|
|
7791
|
+
};
|
|
7792
|
+
content: {
|
|
7793
|
+
"application/json": components["schemas"]["models.DeviceMonitor"];
|
|
7794
|
+
};
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
7797
|
+
};
|
|
7798
|
+
put?: never;
|
|
7799
|
+
post?: never;
|
|
7800
|
+
delete?: never;
|
|
7801
|
+
options?: never;
|
|
7802
|
+
head?: never;
|
|
7803
|
+
patch?: never;
|
|
7804
|
+
trace?: never;
|
|
7805
|
+
};
|
|
7728
7806
|
"/internal/deviceoption": {
|
|
7729
7807
|
parameters: {
|
|
7730
7808
|
query?: never;
|
|
@@ -22701,6 +22779,279 @@ export interface paths {
|
|
|
22701
22779
|
patch?: never;
|
|
22702
22780
|
trace?: never;
|
|
22703
22781
|
};
|
|
22782
|
+
"/internal/processingartifactmetadata": {
|
|
22783
|
+
parameters: {
|
|
22784
|
+
query?: never;
|
|
22785
|
+
header?: never;
|
|
22786
|
+
path?: never;
|
|
22787
|
+
cookie?: never;
|
|
22788
|
+
};
|
|
22789
|
+
/**
|
|
22790
|
+
* Get ProcessingArtifactMetadata (schema generation only)
|
|
22791
|
+
* @description Internal endpoint used only to ensure ProcessingArtifactMetadata schema is generated in OpenAPI spec
|
|
22792
|
+
*/
|
|
22793
|
+
get: {
|
|
22794
|
+
parameters: {
|
|
22795
|
+
query?: never;
|
|
22796
|
+
header?: never;
|
|
22797
|
+
path?: never;
|
|
22798
|
+
cookie?: never;
|
|
22799
|
+
};
|
|
22800
|
+
requestBody?: never;
|
|
22801
|
+
responses: {
|
|
22802
|
+
/** @description OK */
|
|
22803
|
+
200: {
|
|
22804
|
+
headers: {
|
|
22805
|
+
[name: string]: unknown;
|
|
22806
|
+
};
|
|
22807
|
+
content: {
|
|
22808
|
+
"application/json": components["schemas"]["models.ProcessingArtifactMetadata"];
|
|
22809
|
+
};
|
|
22810
|
+
};
|
|
22811
|
+
};
|
|
22812
|
+
};
|
|
22813
|
+
put?: never;
|
|
22814
|
+
post?: never;
|
|
22815
|
+
delete?: never;
|
|
22816
|
+
options?: never;
|
|
22817
|
+
head?: never;
|
|
22818
|
+
patch?: never;
|
|
22819
|
+
trace?: never;
|
|
22820
|
+
};
|
|
22821
|
+
"/internal/processingcompletion": {
|
|
22822
|
+
parameters: {
|
|
22823
|
+
query?: never;
|
|
22824
|
+
header?: never;
|
|
22825
|
+
path?: never;
|
|
22826
|
+
cookie?: never;
|
|
22827
|
+
};
|
|
22828
|
+
/**
|
|
22829
|
+
* Get ProcessingCompletion (schema generation only)
|
|
22830
|
+
* @description Internal endpoint used only to ensure ProcessingCompletion schema is generated in OpenAPI spec
|
|
22831
|
+
*/
|
|
22832
|
+
get: {
|
|
22833
|
+
parameters: {
|
|
22834
|
+
query?: never;
|
|
22835
|
+
header?: never;
|
|
22836
|
+
path?: never;
|
|
22837
|
+
cookie?: never;
|
|
22838
|
+
};
|
|
22839
|
+
requestBody?: never;
|
|
22840
|
+
responses: {
|
|
22841
|
+
/** @description OK */
|
|
22842
|
+
200: {
|
|
22843
|
+
headers: {
|
|
22844
|
+
[name: string]: unknown;
|
|
22845
|
+
};
|
|
22846
|
+
content: {
|
|
22847
|
+
"application/json": components["schemas"]["models.ProcessingCompletion"];
|
|
22848
|
+
};
|
|
22849
|
+
};
|
|
22850
|
+
};
|
|
22851
|
+
};
|
|
22852
|
+
put?: never;
|
|
22853
|
+
post?: never;
|
|
22854
|
+
delete?: never;
|
|
22855
|
+
options?: never;
|
|
22856
|
+
head?: never;
|
|
22857
|
+
patch?: never;
|
|
22858
|
+
trace?: never;
|
|
22859
|
+
};
|
|
22860
|
+
"/internal/processingcompletiontarget": {
|
|
22861
|
+
parameters: {
|
|
22862
|
+
query?: never;
|
|
22863
|
+
header?: never;
|
|
22864
|
+
path?: never;
|
|
22865
|
+
cookie?: never;
|
|
22866
|
+
};
|
|
22867
|
+
/**
|
|
22868
|
+
* Get ProcessingCompletionTarget (schema generation only)
|
|
22869
|
+
* @description Internal endpoint used only to ensure ProcessingCompletionTarget schema is generated in OpenAPI spec
|
|
22870
|
+
*/
|
|
22871
|
+
get: {
|
|
22872
|
+
parameters: {
|
|
22873
|
+
query?: never;
|
|
22874
|
+
header?: never;
|
|
22875
|
+
path?: never;
|
|
22876
|
+
cookie?: never;
|
|
22877
|
+
};
|
|
22878
|
+
requestBody?: never;
|
|
22879
|
+
responses: {
|
|
22880
|
+
/** @description OK */
|
|
22881
|
+
200: {
|
|
22882
|
+
headers: {
|
|
22883
|
+
[name: string]: unknown;
|
|
22884
|
+
};
|
|
22885
|
+
content: {
|
|
22886
|
+
"application/json": components["schemas"]["models.ProcessingCompletionTarget"];
|
|
22887
|
+
};
|
|
22888
|
+
};
|
|
22889
|
+
};
|
|
22890
|
+
};
|
|
22891
|
+
put?: never;
|
|
22892
|
+
post?: never;
|
|
22893
|
+
delete?: never;
|
|
22894
|
+
options?: never;
|
|
22895
|
+
head?: never;
|
|
22896
|
+
patch?: never;
|
|
22897
|
+
trace?: never;
|
|
22898
|
+
};
|
|
22899
|
+
"/internal/processingjob": {
|
|
22900
|
+
parameters: {
|
|
22901
|
+
query?: never;
|
|
22902
|
+
header?: never;
|
|
22903
|
+
path?: never;
|
|
22904
|
+
cookie?: never;
|
|
22905
|
+
};
|
|
22906
|
+
/**
|
|
22907
|
+
* Get ProcessingJob (schema generation only)
|
|
22908
|
+
* @description Internal endpoint used only to ensure ProcessingJob schema is generated in OpenAPI spec
|
|
22909
|
+
*/
|
|
22910
|
+
get: {
|
|
22911
|
+
parameters: {
|
|
22912
|
+
query?: never;
|
|
22913
|
+
header?: never;
|
|
22914
|
+
path?: never;
|
|
22915
|
+
cookie?: never;
|
|
22916
|
+
};
|
|
22917
|
+
requestBody?: never;
|
|
22918
|
+
responses: {
|
|
22919
|
+
/** @description OK */
|
|
22920
|
+
200: {
|
|
22921
|
+
headers: {
|
|
22922
|
+
[name: string]: unknown;
|
|
22923
|
+
};
|
|
22924
|
+
content: {
|
|
22925
|
+
"application/json": components["schemas"]["models.ProcessingJob"];
|
|
22926
|
+
};
|
|
22927
|
+
};
|
|
22928
|
+
};
|
|
22929
|
+
};
|
|
22930
|
+
put?: never;
|
|
22931
|
+
post?: never;
|
|
22932
|
+
delete?: never;
|
|
22933
|
+
options?: never;
|
|
22934
|
+
head?: never;
|
|
22935
|
+
patch?: never;
|
|
22936
|
+
trace?: never;
|
|
22937
|
+
};
|
|
22938
|
+
"/internal/processingobject": {
|
|
22939
|
+
parameters: {
|
|
22940
|
+
query?: never;
|
|
22941
|
+
header?: never;
|
|
22942
|
+
path?: never;
|
|
22943
|
+
cookie?: never;
|
|
22944
|
+
};
|
|
22945
|
+
/**
|
|
22946
|
+
* Get ProcessingObject (schema generation only)
|
|
22947
|
+
* @description Internal endpoint used only to ensure ProcessingObject schema is generated in OpenAPI spec
|
|
22948
|
+
*/
|
|
22949
|
+
get: {
|
|
22950
|
+
parameters: {
|
|
22951
|
+
query?: never;
|
|
22952
|
+
header?: never;
|
|
22953
|
+
path?: never;
|
|
22954
|
+
cookie?: never;
|
|
22955
|
+
};
|
|
22956
|
+
requestBody?: never;
|
|
22957
|
+
responses: {
|
|
22958
|
+
/** @description OK */
|
|
22959
|
+
200: {
|
|
22960
|
+
headers: {
|
|
22961
|
+
[name: string]: unknown;
|
|
22962
|
+
};
|
|
22963
|
+
content: {
|
|
22964
|
+
"application/json": components["schemas"]["models.ProcessingObject"];
|
|
22965
|
+
};
|
|
22966
|
+
};
|
|
22967
|
+
};
|
|
22968
|
+
};
|
|
22969
|
+
put?: never;
|
|
22970
|
+
post?: never;
|
|
22971
|
+
delete?: never;
|
|
22972
|
+
options?: never;
|
|
22973
|
+
head?: never;
|
|
22974
|
+
patch?: never;
|
|
22975
|
+
trace?: never;
|
|
22976
|
+
};
|
|
22977
|
+
"/internal/processingregistration": {
|
|
22978
|
+
parameters: {
|
|
22979
|
+
query?: never;
|
|
22980
|
+
header?: never;
|
|
22981
|
+
path?: never;
|
|
22982
|
+
cookie?: never;
|
|
22983
|
+
};
|
|
22984
|
+
/**
|
|
22985
|
+
* Get ProcessingRegistration (schema generation only)
|
|
22986
|
+
* @description Internal endpoint used only to ensure ProcessingRegistration schema is generated in OpenAPI spec
|
|
22987
|
+
*/
|
|
22988
|
+
get: {
|
|
22989
|
+
parameters: {
|
|
22990
|
+
query?: never;
|
|
22991
|
+
header?: never;
|
|
22992
|
+
path?: never;
|
|
22993
|
+
cookie?: never;
|
|
22994
|
+
};
|
|
22995
|
+
requestBody?: never;
|
|
22996
|
+
responses: {
|
|
22997
|
+
/** @description OK */
|
|
22998
|
+
200: {
|
|
22999
|
+
headers: {
|
|
23000
|
+
[name: string]: unknown;
|
|
23001
|
+
};
|
|
23002
|
+
content: {
|
|
23003
|
+
"application/json": components["schemas"]["models.ProcessingRegistration"];
|
|
23004
|
+
};
|
|
23005
|
+
};
|
|
23006
|
+
};
|
|
23007
|
+
};
|
|
23008
|
+
put?: never;
|
|
23009
|
+
post?: never;
|
|
23010
|
+
delete?: never;
|
|
23011
|
+
options?: never;
|
|
23012
|
+
head?: never;
|
|
23013
|
+
patch?: never;
|
|
23014
|
+
trace?: never;
|
|
23015
|
+
};
|
|
23016
|
+
"/internal/processingresult": {
|
|
23017
|
+
parameters: {
|
|
23018
|
+
query?: never;
|
|
23019
|
+
header?: never;
|
|
23020
|
+
path?: never;
|
|
23021
|
+
cookie?: never;
|
|
23022
|
+
};
|
|
23023
|
+
/**
|
|
23024
|
+
* Get ProcessingResult (schema generation only)
|
|
23025
|
+
* @description Internal endpoint used only to ensure ProcessingResult schema is generated in OpenAPI spec
|
|
23026
|
+
*/
|
|
23027
|
+
get: {
|
|
23028
|
+
parameters: {
|
|
23029
|
+
query?: never;
|
|
23030
|
+
header?: never;
|
|
23031
|
+
path?: never;
|
|
23032
|
+
cookie?: never;
|
|
23033
|
+
};
|
|
23034
|
+
requestBody?: never;
|
|
23035
|
+
responses: {
|
|
23036
|
+
/** @description OK */
|
|
23037
|
+
200: {
|
|
23038
|
+
headers: {
|
|
23039
|
+
[name: string]: unknown;
|
|
23040
|
+
};
|
|
23041
|
+
content: {
|
|
23042
|
+
"application/json": components["schemas"]["models.ProcessingResult"];
|
|
23043
|
+
};
|
|
23044
|
+
};
|
|
23045
|
+
};
|
|
23046
|
+
};
|
|
23047
|
+
put?: never;
|
|
23048
|
+
post?: never;
|
|
23049
|
+
delete?: never;
|
|
23050
|
+
options?: never;
|
|
23051
|
+
head?: never;
|
|
23052
|
+
patch?: never;
|
|
23053
|
+
trace?: never;
|
|
23054
|
+
};
|
|
22704
23055
|
"/internal/profilesettings": {
|
|
22705
23056
|
parameters: {
|
|
22706
23057
|
query?: never;
|
|
@@ -37050,7 +37401,7 @@ export interface components {
|
|
|
37050
37401
|
userId?: string;
|
|
37051
37402
|
};
|
|
37052
37403
|
/** @enum {string} */
|
|
37053
|
-
"models.AccessTokenScope": "
|
|
37404
|
+
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update";
|
|
37054
37405
|
"models.Account": {
|
|
37055
37406
|
account?: components["schemas"]["models.AccountBody"];
|
|
37056
37407
|
};
|
|
@@ -38108,23 +38459,22 @@ export interface components {
|
|
|
38108
38459
|
};
|
|
38109
38460
|
"models.Device": {
|
|
38110
38461
|
agent?: components["schemas"]["models.DeviceAgent"];
|
|
38111
|
-
/** @description
|
|
38462
|
+
/** @description Liveness: the inputs the connection status is derived from, kept together.
|
|
38463
|
+
* Timestamps are points in time on the hub's clock (milliseconds since
|
|
38464
|
+
* epoch), written by every heartbeat; readers derive durations and status. */
|
|
38112
38465
|
agentLastSeen?: number;
|
|
38113
38466
|
analytics?: components["schemas"]["models.DeprecatedHeartbeat"][];
|
|
38114
38467
|
/** @description AtRuntimeMetadata is computed when the device is read and never stored. */
|
|
38115
38468
|
atRuntimeMetadata?: components["schemas"]["models.DeviceAtRuntimeMetadata"];
|
|
38469
|
+
/** @description Provisioning sets CreatedAt (first heartbeat) */
|
|
38116
38470
|
audit?: components["schemas"]["models.Audit"];
|
|
38117
38471
|
/** @description Capabilities. Each is optional and any combination is valid, e.g. a camera
|
|
38118
38472
|
* with a built-in humidity sensor sets both Camera and HumiditySensor.
|
|
38119
38473
|
* Capability sub-documents hold capabilities and configuration only; live
|
|
38120
38474
|
* readings go to a time-series collection. */
|
|
38121
38475
|
camera?: components["schemas"]["models.CameraMetadata"];
|
|
38122
|
-
/** @description
|
|
38123
|
-
connectionStart?: number;
|
|
38124
|
-
/** @description Last time the agent could reach the device itself */
|
|
38476
|
+
/** @description Last heartbeat in which the agent could reach the device itself */
|
|
38125
38477
|
deviceLastSeen?: number;
|
|
38126
|
-
/** @description Licence concept; moves to the organisation */
|
|
38127
|
-
enterprise?: boolean;
|
|
38128
38478
|
featurePermissions?: components["schemas"]["models.DeviceFeaturePermissions"];
|
|
38129
38479
|
gps?: components["schemas"]["models.GPSMetadata"];
|
|
38130
38480
|
groupIds?: string[];
|
|
@@ -38137,16 +38487,19 @@ export interface components {
|
|
|
38137
38487
|
latestMedia?: components["schemas"]["models.DeviceMediaRef"];
|
|
38138
38488
|
/** @description Latest media uploaded by the device, from any capability. Kept at the top
|
|
38139
38489
|
* level: device lists sort on LatestMediaTimestamp. LatestMedia is a value,
|
|
38140
|
-
* not a pointer, so readers never need a nil check; an empty
|
|
38141
|
-
* device has no media yet. */
|
|
38490
|
+
* not a pointer, so readers never need a nil check; an empty VideoFile means
|
|
38491
|
+
* the device has no media yet (the media pipeline does not store the Id). */
|
|
38142
38492
|
latestMediaTimestamp?: number;
|
|
38143
38493
|
lightSensor?: components["schemas"]["models.LightSensorMetadata"];
|
|
38144
|
-
/** @description
|
|
38494
|
+
/** @description Location is the fixed placement owners set (DevicePatch), e.g. an
|
|
38495
|
+
* address picked on a map. It is not a real-time position. */
|
|
38145
38496
|
location?: components["schemas"]["models.Location"];
|
|
38146
38497
|
metadata?: components["schemas"]["models.DeviceMetadata"];
|
|
38498
|
+
/** @description Last notified state, owned by hub-monitor-device */
|
|
38499
|
+
monitor?: components["schemas"]["models.DeviceMonitor"];
|
|
38147
38500
|
/** @description Lifecycle */
|
|
38148
38501
|
mute?: number;
|
|
38149
|
-
/** @description
|
|
38502
|
+
/** @description Set by users or at provisioning; display falls back to Agent.CameraName */
|
|
38150
38503
|
name?: string;
|
|
38151
38504
|
/** @description Tenancy. Heartbeat credentials live on the project: the cloud key resolves
|
|
38152
38505
|
* to an organisation and project, which must match these fields. */
|
|
@@ -38155,17 +38508,25 @@ export interface components {
|
|
|
38155
38508
|
projectId?: string;
|
|
38156
38509
|
schemaVersion?: number;
|
|
38157
38510
|
siteIds?: string[];
|
|
38158
|
-
/** @description Optional override; nil uses project defaults */
|
|
38159
|
-
thresholds?: components["schemas"]["models.DeviceThresholds"];
|
|
38160
38511
|
type?: components["schemas"]["models.DeviceType"];
|
|
38161
38512
|
/** @description @LEGACY - removed once all readers use the fields above. */
|
|
38162
38513
|
user_id?: string;
|
|
38163
38514
|
};
|
|
38164
38515
|
"models.DeviceAgent": {
|
|
38165
38516
|
architecture?: string;
|
|
38166
|
-
/** @description milliseconds since epoch */
|
|
38167
38517
|
bootTime?: number;
|
|
38168
|
-
/** @description
|
|
38518
|
+
/** @description Name configured on the agent */
|
|
38519
|
+
cameraName?: string;
|
|
38520
|
+
/** @description CloudPublicKey is the public key the agent presented in its last
|
|
38521
|
+
* heartbeat. Agents within a project can be on different keys (e.g. a
|
|
38522
|
+
* legacy user key after the project credentials were regenerated), so it
|
|
38523
|
+
* is recorded per device for routing and key status. Authentication still
|
|
38524
|
+
* resolves key -> project; private and symmetric keys never live on the
|
|
38525
|
+
* device. */
|
|
38526
|
+
cloudPublicKey?: string;
|
|
38527
|
+
/** @description Deployment is how the agent runs: "factory", "kubernetes", "docker",
|
|
38528
|
+
* "kios" or "raspberrypi". It replaces the agent's legacy enterprise flag,
|
|
38529
|
+
* which only meant running under Kerberos Factory or Kubernetes. */
|
|
38169
38530
|
deployment?: string;
|
|
38170
38531
|
e2eEncryption?: boolean;
|
|
38171
38532
|
hostname?: string;
|
|
@@ -38183,7 +38544,13 @@ export interface components {
|
|
|
38183
38544
|
/** @description Build hash of the agent */
|
|
38184
38545
|
releaseHash?: string;
|
|
38185
38546
|
repository?: string;
|
|
38186
|
-
|
|
38547
|
+
/** @description StartedAt (agent process start) and BootTime (host boot) are points in
|
|
38548
|
+
* time on the hub's clock (milliseconds since epoch), displayed as agent and
|
|
38549
|
+
* host uptime (now - StartedAt, now - BootTime). Durations are never
|
|
38550
|
+
* stored: they are stale as soon as they are written. Agents report both as
|
|
38551
|
+
* human-readable durations ("10 hours"), so the hub derives them on a
|
|
38552
|
+
* detected restart or reboot; they are approximate until the next one. */
|
|
38553
|
+
startedAt?: number;
|
|
38187
38554
|
/** @description Release tag of the agent */
|
|
38188
38555
|
version?: string;
|
|
38189
38556
|
};
|
|
@@ -38196,18 +38563,35 @@ export interface components {
|
|
|
38196
38563
|
/** @enum {string} */
|
|
38197
38564
|
"models.DeviceCapability": "camera" | "lightSensor" | "humiditySensor" | "gps";
|
|
38198
38565
|
/** @enum {string} */
|
|
38199
|
-
"models.DeviceConnectionStatus": "connected" | "
|
|
38566
|
+
"models.DeviceConnectionStatus": "connected" | "idle" | "disconnected";
|
|
38200
38567
|
"models.DeviceData": {
|
|
38201
38568
|
activeDevices?: number;
|
|
38202
38569
|
totalDevices?: number;
|
|
38203
38570
|
};
|
|
38204
38571
|
"models.DeviceFeaturePermissions": {
|
|
38572
|
+
downloadRecordings?: components["schemas"]["models.PermissionLevel"];
|
|
38205
38573
|
floorPlans?: components["schemas"]["models.PermissionLevel"];
|
|
38206
38574
|
io?: components["schemas"]["models.PermissionLevel"];
|
|
38207
38575
|
liveview?: components["schemas"]["models.PermissionLevel"];
|
|
38208
38576
|
ptz?: components["schemas"]["models.PermissionLevel"];
|
|
38209
38577
|
remoteConfig?: components["schemas"]["models.PermissionLevel"];
|
|
38210
38578
|
};
|
|
38579
|
+
"models.DeviceHeartbeat": {
|
|
38580
|
+
/** @description Agent holds the agent-reported fields. StartedAt and BootTime are only
|
|
38581
|
+
* set when the receiver detected a restart or reboot; 0 keeps the stored
|
|
38582
|
+
* value. */
|
|
38583
|
+
agent?: components["schemas"]["models.DeviceAgent"];
|
|
38584
|
+
/** @description Camera holds the agent-reported camera fields; the user-owned ones
|
|
38585
|
+
* (FieldOfView, Presets, Tours) are ignored. Nil for devices without the
|
|
38586
|
+
* camera capability. */
|
|
38587
|
+
camera?: components["schemas"]["models.CameraMetadata"];
|
|
38588
|
+
/** @description ReceivedAt is when the hub received the heartbeat, on the hub's clock
|
|
38589
|
+
* (milliseconds since epoch). Agent clocks are not trusted. */
|
|
38590
|
+
receivedAt?: number;
|
|
38591
|
+
/** @description Type is the device's primary kind as known to the agent; empty keeps the
|
|
38592
|
+
* stored type. */
|
|
38593
|
+
type?: components["schemas"]["models.DeviceType"];
|
|
38594
|
+
};
|
|
38211
38595
|
"models.DeviceKey": {
|
|
38212
38596
|
key?: string;
|
|
38213
38597
|
name?: string;
|
|
@@ -38241,6 +38625,12 @@ export interface components {
|
|
|
38241
38625
|
/** @description VLM holds the stable ("normal") scenes used as context for VLM analysis. */
|
|
38242
38626
|
vlm?: components["schemas"]["models.DeviceVLMMetadata"];
|
|
38243
38627
|
};
|
|
38628
|
+
"models.DeviceMonitor": {
|
|
38629
|
+
/** @description milliseconds since epoch */
|
|
38630
|
+
changedAt?: number;
|
|
38631
|
+
/** @description "active" or "inactive" */
|
|
38632
|
+
status?: string;
|
|
38633
|
+
};
|
|
38244
38634
|
"models.DeviceOption": {
|
|
38245
38635
|
id?: string;
|
|
38246
38636
|
text?: string;
|
|
@@ -38255,6 +38645,8 @@ export interface components {
|
|
|
38255
38645
|
hidden?: boolean;
|
|
38256
38646
|
installationDate?: string;
|
|
38257
38647
|
lastMaintenance?: string;
|
|
38648
|
+
/** @description Replaces the whole location */
|
|
38649
|
+
location?: components["schemas"]["models.Location"];
|
|
38258
38650
|
model?: string;
|
|
38259
38651
|
name?: string;
|
|
38260
38652
|
onFloorPlans?: string[];
|
|
@@ -38291,7 +38683,6 @@ export interface components {
|
|
|
38291
38683
|
};
|
|
38292
38684
|
"models.DeviceThresholds": {
|
|
38293
38685
|
disconnected?: number;
|
|
38294
|
-
healthy?: number;
|
|
38295
38686
|
idle?: number;
|
|
38296
38687
|
};
|
|
38297
38688
|
/** @enum {string} */
|
|
@@ -39502,7 +39893,7 @@ export interface components {
|
|
|
39502
39893
|
videowall?: components["schemas"]["models.Videowall"];
|
|
39503
39894
|
};
|
|
39504
39895
|
/** @enum {string} */
|
|
39505
|
-
"models.Permission": "
|
|
39896
|
+
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update";
|
|
39506
39897
|
/** @enum {integer} */
|
|
39507
39898
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
39508
39899
|
"models.Permissions": {
|
|
@@ -39511,6 +39902,7 @@ export interface components {
|
|
|
39511
39902
|
};
|
|
39512
39903
|
"models.PipelineEvent": {
|
|
39513
39904
|
analysisStage?: components["schemas"]["models.AnalysisStage"];
|
|
39905
|
+
completion?: components["schemas"]["models.ProcessingCompletionTarget"];
|
|
39514
39906
|
/** @description We should get rid of this and use the stage map */
|
|
39515
39907
|
data?: {
|
|
39516
39908
|
[key: string]: unknown;
|
|
@@ -39536,6 +39928,8 @@ export interface components {
|
|
|
39536
39928
|
throttlerStage?: components["schemas"]["models.ThrottlerStage"];
|
|
39537
39929
|
/** @description We are using OpenTelemetry, so we can observe the pipeline more easily. */
|
|
39538
39930
|
traceId?: string;
|
|
39931
|
+
vaultJob?: components["schemas"]["models.ProcessingJob"];
|
|
39932
|
+
vaultProcessing?: components["schemas"]["models.ProcessingRegistration"];
|
|
39539
39933
|
};
|
|
39540
39934
|
"models.PipelineMetadata": {
|
|
39541
39935
|
duration?: string;
|
|
@@ -39605,6 +39999,62 @@ export interface components {
|
|
|
39605
39999
|
x?: number;
|
|
39606
40000
|
y?: number;
|
|
39607
40001
|
};
|
|
40002
|
+
"models.ProcessingArtifactMetadata": {
|
|
40003
|
+
columns?: number;
|
|
40004
|
+
count?: number;
|
|
40005
|
+
height?: number;
|
|
40006
|
+
interval?: number;
|
|
40007
|
+
rows?: number;
|
|
40008
|
+
tileHeight?: number;
|
|
40009
|
+
tileWidth?: number;
|
|
40010
|
+
width?: number;
|
|
40011
|
+
};
|
|
40012
|
+
"models.ProcessingCompletion": {
|
|
40013
|
+
artifactId?: string;
|
|
40014
|
+
error?: string;
|
|
40015
|
+
metadata?: components["schemas"]["models.ProcessingArtifactMetadata"];
|
|
40016
|
+
revision?: number;
|
|
40017
|
+
status?: string;
|
|
40018
|
+
version?: number;
|
|
40019
|
+
};
|
|
40020
|
+
"models.ProcessingCompletionTarget": {
|
|
40021
|
+
artifactUrl?: string;
|
|
40022
|
+
callbackIntegration?: string;
|
|
40023
|
+
completionUrl?: string;
|
|
40024
|
+
expiresAt?: number;
|
|
40025
|
+
jobUrl?: string;
|
|
40026
|
+
token?: string;
|
|
40027
|
+
};
|
|
40028
|
+
"models.ProcessingJob": {
|
|
40029
|
+
artifact?: components["schemas"]["models.ProcessingObject"];
|
|
40030
|
+
device?: string;
|
|
40031
|
+
jobId?: string;
|
|
40032
|
+
operation?: string;
|
|
40033
|
+
revision?: number;
|
|
40034
|
+
source?: components["schemas"]["models.ProcessingObject"];
|
|
40035
|
+
sourceVaultId?: string;
|
|
40036
|
+
traceId?: string;
|
|
40037
|
+
version?: number;
|
|
40038
|
+
};
|
|
40039
|
+
"models.ProcessingObject": {
|
|
40040
|
+
filename?: string;
|
|
40041
|
+
mediaId?: string;
|
|
40042
|
+
provider?: string;
|
|
40043
|
+
};
|
|
40044
|
+
"models.ProcessingRegistration": {
|
|
40045
|
+
operations?: string[];
|
|
40046
|
+
revision?: number;
|
|
40047
|
+
version?: number;
|
|
40048
|
+
};
|
|
40049
|
+
"models.ProcessingResult": {
|
|
40050
|
+
artifact?: components["schemas"]["models.ProcessingObject"];
|
|
40051
|
+
fileSize?: number;
|
|
40052
|
+
jobId?: string;
|
|
40053
|
+
metadata?: components["schemas"]["models.ProcessingArtifactMetadata"];
|
|
40054
|
+
revision?: number;
|
|
40055
|
+
sourceMediaId?: string;
|
|
40056
|
+
version?: number;
|
|
40057
|
+
};
|
|
39608
40058
|
"models.ProfileSettings": {
|
|
39609
40059
|
defaultFloorPlanLabelsHidden?: boolean;
|
|
39610
40060
|
};
|
|
@@ -41540,9 +41990,11 @@ export declare namespace models {
|
|
|
41540
41990
|
type DeviceAtRuntimeMetadata = components['schemas']['models.DeviceAtRuntimeMetadata'];
|
|
41541
41991
|
type DeviceData = components['schemas']['models.DeviceData'];
|
|
41542
41992
|
type DeviceFeaturePermissions = components['schemas']['models.DeviceFeaturePermissions'];
|
|
41993
|
+
type DeviceHeartbeat = components['schemas']['models.DeviceHeartbeat'];
|
|
41543
41994
|
type DeviceKey = components['schemas']['models.DeviceKey'];
|
|
41544
41995
|
type DeviceMediaRef = components['schemas']['models.DeviceMediaRef'];
|
|
41545
41996
|
type DeviceMetadata = components['schemas']['models.DeviceMetadata'];
|
|
41997
|
+
type DeviceMonitor = components['schemas']['models.DeviceMonitor'];
|
|
41546
41998
|
type DeviceOption = components['schemas']['models.DeviceOption'];
|
|
41547
41999
|
type DevicePatch = components['schemas']['models.DevicePatch'];
|
|
41548
42000
|
type DevicePlacement = components['schemas']['models.DevicePlacement'];
|
|
@@ -41664,6 +42116,13 @@ export declare namespace models {
|
|
|
41664
42116
|
type PipelineSourceDevice = components['schemas']['models.PipelineSourceDevice'];
|
|
41665
42117
|
type Plan = components['schemas']['models.Plan'];
|
|
41666
42118
|
type Point = components['schemas']['models.Point'];
|
|
42119
|
+
type ProcessingArtifactMetadata = components['schemas']['models.ProcessingArtifactMetadata'];
|
|
42120
|
+
type ProcessingCompletion = components['schemas']['models.ProcessingCompletion'];
|
|
42121
|
+
type ProcessingCompletionTarget = components['schemas']['models.ProcessingCompletionTarget'];
|
|
42122
|
+
type ProcessingJob = components['schemas']['models.ProcessingJob'];
|
|
42123
|
+
type ProcessingObject = components['schemas']['models.ProcessingObject'];
|
|
42124
|
+
type ProcessingRegistration = components['schemas']['models.ProcessingRegistration'];
|
|
42125
|
+
type ProcessingResult = components['schemas']['models.ProcessingResult'];
|
|
41667
42126
|
type ProfileSettings = components['schemas']['models.ProfileSettings'];
|
|
41668
42127
|
type Project = components['schemas']['models.Project'];
|
|
41669
42128
|
type ProjectUpdate = components['schemas']['models.ProjectUpdate'];
|