@uug-ai/models 1.1.0 → 1.1.1
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 +224 -46
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -627,6 +627,84 @@ export interface paths {
|
|
|
627
627
|
patch?: never;
|
|
628
628
|
trace?: never;
|
|
629
629
|
};
|
|
630
|
+
"/internal/auditcreate": {
|
|
631
|
+
parameters: {
|
|
632
|
+
query?: never;
|
|
633
|
+
header?: never;
|
|
634
|
+
path?: never;
|
|
635
|
+
cookie?: never;
|
|
636
|
+
};
|
|
637
|
+
/**
|
|
638
|
+
* Get AuditCreate (schema generation only)
|
|
639
|
+
* @description Internal endpoint used only to ensure AuditCreate schema is generated in OpenAPI spec
|
|
640
|
+
*/
|
|
641
|
+
get: {
|
|
642
|
+
parameters: {
|
|
643
|
+
query?: never;
|
|
644
|
+
header?: never;
|
|
645
|
+
path?: never;
|
|
646
|
+
cookie?: never;
|
|
647
|
+
};
|
|
648
|
+
requestBody?: never;
|
|
649
|
+
responses: {
|
|
650
|
+
/** @description OK */
|
|
651
|
+
200: {
|
|
652
|
+
headers: {
|
|
653
|
+
[name: string]: unknown;
|
|
654
|
+
};
|
|
655
|
+
content: {
|
|
656
|
+
"application/json": components["schemas"]["models.AuditCreate"];
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
put?: never;
|
|
662
|
+
post?: never;
|
|
663
|
+
delete?: never;
|
|
664
|
+
options?: never;
|
|
665
|
+
head?: never;
|
|
666
|
+
patch?: never;
|
|
667
|
+
trace?: never;
|
|
668
|
+
};
|
|
669
|
+
"/internal/auditupdate": {
|
|
670
|
+
parameters: {
|
|
671
|
+
query?: never;
|
|
672
|
+
header?: never;
|
|
673
|
+
path?: never;
|
|
674
|
+
cookie?: never;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* Get AuditUpdate (schema generation only)
|
|
678
|
+
* @description Internal endpoint used only to ensure AuditUpdate schema is generated in OpenAPI spec
|
|
679
|
+
*/
|
|
680
|
+
get: {
|
|
681
|
+
parameters: {
|
|
682
|
+
query?: never;
|
|
683
|
+
header?: never;
|
|
684
|
+
path?: never;
|
|
685
|
+
cookie?: never;
|
|
686
|
+
};
|
|
687
|
+
requestBody?: never;
|
|
688
|
+
responses: {
|
|
689
|
+
/** @description OK */
|
|
690
|
+
200: {
|
|
691
|
+
headers: {
|
|
692
|
+
[name: string]: unknown;
|
|
693
|
+
};
|
|
694
|
+
content: {
|
|
695
|
+
"application/json": components["schemas"]["models.AuditUpdate"];
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
put?: never;
|
|
701
|
+
post?: never;
|
|
702
|
+
delete?: never;
|
|
703
|
+
options?: never;
|
|
704
|
+
head?: never;
|
|
705
|
+
patch?: never;
|
|
706
|
+
trace?: never;
|
|
707
|
+
};
|
|
630
708
|
"/internal/classify": {
|
|
631
709
|
parameters: {
|
|
632
710
|
query?: never;
|
|
@@ -2655,6 +2733,45 @@ export interface paths {
|
|
|
2655
2733
|
patch?: never;
|
|
2656
2734
|
trace?: never;
|
|
2657
2735
|
};
|
|
2736
|
+
"/internal/markerevent": {
|
|
2737
|
+
parameters: {
|
|
2738
|
+
query?: never;
|
|
2739
|
+
header?: never;
|
|
2740
|
+
path?: never;
|
|
2741
|
+
cookie?: never;
|
|
2742
|
+
};
|
|
2743
|
+
/**
|
|
2744
|
+
* Get MarkerEvent (schema generation only)
|
|
2745
|
+
* @description Internal endpoint used only to ensure MarkerEvent schema is generated in OpenAPI spec
|
|
2746
|
+
*/
|
|
2747
|
+
get: {
|
|
2748
|
+
parameters: {
|
|
2749
|
+
query?: never;
|
|
2750
|
+
header?: never;
|
|
2751
|
+
path?: never;
|
|
2752
|
+
cookie?: never;
|
|
2753
|
+
};
|
|
2754
|
+
requestBody?: never;
|
|
2755
|
+
responses: {
|
|
2756
|
+
/** @description OK */
|
|
2757
|
+
200: {
|
|
2758
|
+
headers: {
|
|
2759
|
+
[name: string]: unknown;
|
|
2760
|
+
};
|
|
2761
|
+
content: {
|
|
2762
|
+
"application/json": components["schemas"]["models.MarkerEvent"];
|
|
2763
|
+
};
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
};
|
|
2767
|
+
put?: never;
|
|
2768
|
+
post?: never;
|
|
2769
|
+
delete?: never;
|
|
2770
|
+
options?: never;
|
|
2771
|
+
head?: never;
|
|
2772
|
+
patch?: never;
|
|
2773
|
+
trace?: never;
|
|
2774
|
+
};
|
|
2658
2775
|
"/internal/markermetadata": {
|
|
2659
2776
|
parameters: {
|
|
2660
2777
|
query?: never;
|
|
@@ -2928,6 +3045,45 @@ export interface paths {
|
|
|
2928
3045
|
patch?: never;
|
|
2929
3046
|
trace?: never;
|
|
2930
3047
|
};
|
|
3048
|
+
"/internal/model": {
|
|
3049
|
+
parameters: {
|
|
3050
|
+
query?: never;
|
|
3051
|
+
header?: never;
|
|
3052
|
+
path?: never;
|
|
3053
|
+
cookie?: never;
|
|
3054
|
+
};
|
|
3055
|
+
/**
|
|
3056
|
+
* Get Model (schema generation only)
|
|
3057
|
+
* @description Internal endpoint used only to ensure Model schema is generated in OpenAPI spec
|
|
3058
|
+
*/
|
|
3059
|
+
get: {
|
|
3060
|
+
parameters: {
|
|
3061
|
+
query?: never;
|
|
3062
|
+
header?: never;
|
|
3063
|
+
path?: never;
|
|
3064
|
+
cookie?: never;
|
|
3065
|
+
};
|
|
3066
|
+
requestBody?: never;
|
|
3067
|
+
responses: {
|
|
3068
|
+
/** @description OK */
|
|
3069
|
+
200: {
|
|
3070
|
+
headers: {
|
|
3071
|
+
[name: string]: unknown;
|
|
3072
|
+
};
|
|
3073
|
+
content: {
|
|
3074
|
+
"application/json": components["schemas"]["models.Model"];
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
};
|
|
3079
|
+
put?: never;
|
|
3080
|
+
post?: never;
|
|
3081
|
+
delete?: never;
|
|
3082
|
+
options?: never;
|
|
3083
|
+
head?: never;
|
|
3084
|
+
patch?: never;
|
|
3085
|
+
trace?: never;
|
|
3086
|
+
};
|
|
2931
3087
|
"/internal/monitorstage": {
|
|
2932
3088
|
parameters: {
|
|
2933
3089
|
query?: never;
|
|
@@ -3552,45 +3708,6 @@ export interface paths {
|
|
|
3552
3708
|
patch?: never;
|
|
3553
3709
|
trace?: never;
|
|
3554
3710
|
};
|
|
3555
|
-
"/internal/sitelocationmetadata": {
|
|
3556
|
-
parameters: {
|
|
3557
|
-
query?: never;
|
|
3558
|
-
header?: never;
|
|
3559
|
-
path?: never;
|
|
3560
|
-
cookie?: never;
|
|
3561
|
-
};
|
|
3562
|
-
/**
|
|
3563
|
-
* Get SiteLocationMetadata (schema generation only)
|
|
3564
|
-
* @description Internal endpoint used only to ensure SiteLocationMetadata schema is generated in OpenAPI spec
|
|
3565
|
-
*/
|
|
3566
|
-
get: {
|
|
3567
|
-
parameters: {
|
|
3568
|
-
query?: never;
|
|
3569
|
-
header?: never;
|
|
3570
|
-
path?: never;
|
|
3571
|
-
cookie?: never;
|
|
3572
|
-
};
|
|
3573
|
-
requestBody?: never;
|
|
3574
|
-
responses: {
|
|
3575
|
-
/** @description OK */
|
|
3576
|
-
200: {
|
|
3577
|
-
headers: {
|
|
3578
|
-
[name: string]: unknown;
|
|
3579
|
-
};
|
|
3580
|
-
content: {
|
|
3581
|
-
"application/json": components["schemas"]["models.SiteLocationMetadata"];
|
|
3582
|
-
};
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
};
|
|
3586
|
-
put?: never;
|
|
3587
|
-
post?: never;
|
|
3588
|
-
delete?: never;
|
|
3589
|
-
options?: never;
|
|
3590
|
-
head?: never;
|
|
3591
|
-
patch?: never;
|
|
3592
|
-
trace?: never;
|
|
3593
|
-
};
|
|
3594
3711
|
"/internal/sitemetadata": {
|
|
3595
3712
|
parameters: {
|
|
3596
3713
|
query?: never;
|
|
@@ -5233,8 +5350,15 @@ export interface components {
|
|
|
5233
5350
|
user_id?: string;
|
|
5234
5351
|
};
|
|
5235
5352
|
"models.Audit": {
|
|
5353
|
+
create?: components["schemas"]["models.AuditCreate"];
|
|
5354
|
+
/** @description UpdateHistory is a chronological list of updates, ordered by UpdatedAt. */
|
|
5355
|
+
updateHistory?: components["schemas"]["models.AuditUpdate"][];
|
|
5356
|
+
};
|
|
5357
|
+
"models.AuditCreate": {
|
|
5236
5358
|
createdAt?: number;
|
|
5237
5359
|
createdBy?: string;
|
|
5360
|
+
};
|
|
5361
|
+
"models.AuditUpdate": {
|
|
5238
5362
|
updatedAt?: number;
|
|
5239
5363
|
updatedBy?: string;
|
|
5240
5364
|
};
|
|
@@ -5572,6 +5696,8 @@ export interface components {
|
|
|
5572
5696
|
* @example 1752482079
|
|
5573
5697
|
*/
|
|
5574
5698
|
endTimestamp?: number;
|
|
5699
|
+
/** @description Events associated with the marker, such as motion detected, sound detected, etc. */
|
|
5700
|
+
events?: components["schemas"]["models.MarkerEvent"][];
|
|
5575
5701
|
/**
|
|
5576
5702
|
* @description GroupId is used to identify the group of markers
|
|
5577
5703
|
* @example 686a906345c1df594pmt41w4
|
|
@@ -5620,6 +5746,31 @@ export interface components {
|
|
|
5620
5746
|
*/
|
|
5621
5747
|
type?: string;
|
|
5622
5748
|
};
|
|
5749
|
+
"models.MarkerEvent": {
|
|
5750
|
+
/**
|
|
5751
|
+
* @description Description of the event
|
|
5752
|
+
* @example Motion detected in the lobby area
|
|
5753
|
+
*/
|
|
5754
|
+
description?: string;
|
|
5755
|
+
/**
|
|
5756
|
+
* @description Name or identifier for the event e.g., "Motion Detected", "Sound Detected", etc.
|
|
5757
|
+
* @example Motion Detected
|
|
5758
|
+
*/
|
|
5759
|
+
name?: string;
|
|
5760
|
+
/**
|
|
5761
|
+
* @description Tags associated with the event for categorization
|
|
5762
|
+
* @example [
|
|
5763
|
+
* "[\"urgent\"",
|
|
5764
|
+
* "\"review-needed\"]"
|
|
5765
|
+
* ]
|
|
5766
|
+
*/
|
|
5767
|
+
tags?: string[];
|
|
5768
|
+
/**
|
|
5769
|
+
* @description Timestamp of the event in seconds since epoch
|
|
5770
|
+
* @example 1752482070
|
|
5771
|
+
*/
|
|
5772
|
+
timestamp?: number;
|
|
5773
|
+
};
|
|
5623
5774
|
"models.MarkerMetadata": {
|
|
5624
5775
|
/** @description Additional comments or description of the marker */
|
|
5625
5776
|
comments?: components["schemas"]["models.Comment"];
|
|
@@ -5671,7 +5822,7 @@ export interface components {
|
|
|
5671
5822
|
};
|
|
5672
5823
|
"models.MediaAtRuntimeMetadata": {
|
|
5673
5824
|
/** @description Timestamp when the runtime metadata was cached. */
|
|
5674
|
-
|
|
5825
|
+
cachedTimestamp?: number;
|
|
5675
5826
|
redactionUrl?: string;
|
|
5676
5827
|
spriteUrl?: string;
|
|
5677
5828
|
thumbnailUrl?: string;
|
|
@@ -5701,6 +5852,34 @@ export interface components {
|
|
|
5701
5852
|
/** @description Tags associated to give some context about the media file */
|
|
5702
5853
|
tags?: string[];
|
|
5703
5854
|
};
|
|
5855
|
+
"models.Model": {
|
|
5856
|
+
/**
|
|
5857
|
+
* @description AtRuntimeMetadata are computed or dynamic information about the model that is relevant during its usage or processing.
|
|
5858
|
+
* This information is generated at run time and is not stored into the database. All other information of the model is persisted into the database.
|
|
5859
|
+
* and is not altered during runtime.
|
|
5860
|
+
* e.g.
|
|
5861
|
+
* Media model -> signed URLS for accessing the media, processing status, etc.
|
|
5862
|
+
* Device model -> current status (active, inactive), etc.
|
|
5863
|
+
*/
|
|
5864
|
+
atRuntimeMetadata?: components["schemas"]["models.MediaAtRuntimeMetadata"];
|
|
5865
|
+
/**
|
|
5866
|
+
* @description Audit information: every model should have audit information to track its creation and modification history.
|
|
5867
|
+
* This is important for maintaining data integrity and accountability.
|
|
5868
|
+
*/
|
|
5869
|
+
audit?: components["schemas"]["models.Audit"];
|
|
5870
|
+
/** @description Unique identifier for the model, this is used to retrieve the model from the database by its unique ID. */
|
|
5871
|
+
id?: string;
|
|
5872
|
+
/**
|
|
5873
|
+
* @description Metadata is additional information about the model that is not critical for its primary function,
|
|
5874
|
+
* but can provide useful context or details.
|
|
5875
|
+
* e.g.
|
|
5876
|
+
* User model -> profile information, preferences, etc.
|
|
5877
|
+
* Device model -> location, installation date, etc.
|
|
5878
|
+
* Media model -> tags, description, etc.
|
|
5879
|
+
* Marker model -> comments, tags, etc.
|
|
5880
|
+
*/
|
|
5881
|
+
metadata?: components["schemas"]["models.MediaMetadata"];
|
|
5882
|
+
};
|
|
5704
5883
|
"models.MonitorStage": {
|
|
5705
5884
|
activity?: components["schemas"]["models.Activity"];
|
|
5706
5885
|
highUpload?: components["schemas"]["models.HighUpload"];
|
|
@@ -5818,8 +5997,6 @@ export interface components {
|
|
|
5818
5997
|
devices?: string[];
|
|
5819
5998
|
groups?: string[];
|
|
5820
5999
|
id?: string;
|
|
5821
|
-
/** @description Location metadata */
|
|
5822
|
-
locationMetadata?: components["schemas"]["models.SiteLocationMetadata"];
|
|
5823
6000
|
/** @description Metadata */
|
|
5824
6001
|
metadata?: components["schemas"]["models.SiteMetadata"];
|
|
5825
6002
|
name?: string;
|
|
@@ -5834,14 +6011,12 @@ export interface components {
|
|
|
5834
6011
|
vaultSecretKey?: string;
|
|
5835
6012
|
vaultUri?: string;
|
|
5836
6013
|
};
|
|
5837
|
-
"models.SiteLocationMetadata": {
|
|
5838
|
-
location?: components["schemas"]["models.Location"];
|
|
5839
|
-
};
|
|
5840
6014
|
"models.SiteMetadata": {
|
|
5841
6015
|
color?: string;
|
|
5842
6016
|
/** @description List of floor plans associated with the site */
|
|
5843
6017
|
floorPlans?: components["schemas"]["models.FloorPlan"][];
|
|
5844
6018
|
initials?: string;
|
|
6019
|
+
location?: components["schemas"]["models.Location"];
|
|
5845
6020
|
numberOfFloorPlans?: number;
|
|
5846
6021
|
};
|
|
5847
6022
|
"models.Sprite": {
|
|
@@ -6055,6 +6230,8 @@ export declare namespace models {
|
|
|
6055
6230
|
type AnalysisStage = components['schemas']['models.AnalysisStage'];
|
|
6056
6231
|
type AnalysisWrapper = components['schemas']['models.AnalysisWrapper'];
|
|
6057
6232
|
type Audit = components['schemas']['models.Audit'];
|
|
6233
|
+
type AuditCreate = components['schemas']['models.AuditCreate'];
|
|
6234
|
+
type AuditUpdate = components['schemas']['models.AuditUpdate'];
|
|
6058
6235
|
type Classify = components['schemas']['models.Classify'];
|
|
6059
6236
|
type ClassifyDetails = components['schemas']['models.ClassifyDetails'];
|
|
6060
6237
|
type Color = components['schemas']['models.Color'];
|
|
@@ -6080,10 +6257,12 @@ export declare namespace models {
|
|
|
6080
6257
|
type IO = components['schemas']['models.IO'];
|
|
6081
6258
|
type Location = components['schemas']['models.Location'];
|
|
6082
6259
|
type Marker = components['schemas']['models.Marker'];
|
|
6260
|
+
type MarkerEvent = components['schemas']['models.MarkerEvent'];
|
|
6083
6261
|
type MarkerMetadata = components['schemas']['models.MarkerMetadata'];
|
|
6084
6262
|
type Media = components['schemas']['models.Media'];
|
|
6085
6263
|
type MediaAtRuntimeMetadata = components['schemas']['models.MediaAtRuntimeMetadata'];
|
|
6086
6264
|
type MediaMetadata = components['schemas']['models.MediaMetadata'];
|
|
6265
|
+
type Model = components['schemas']['models.Model'];
|
|
6087
6266
|
type MonitorStage = components['schemas']['models.MonitorStage'];
|
|
6088
6267
|
type NotificationStage = components['schemas']['models.NotificationStage'];
|
|
6089
6268
|
type PipelineEvent = components['schemas']['models.PipelineEvent'];
|
|
@@ -6095,7 +6274,6 @@ export declare namespace models {
|
|
|
6095
6274
|
type Role = components['schemas']['models.Role'];
|
|
6096
6275
|
type SequenceStage = components['schemas']['models.SequenceStage'];
|
|
6097
6276
|
type Site = components['schemas']['models.Site'];
|
|
6098
|
-
type SiteLocationMetadata = components['schemas']['models.SiteLocationMetadata'];
|
|
6099
6277
|
type SiteMetadata = components['schemas']['models.SiteMetadata'];
|
|
6100
6278
|
type Sprite = components['schemas']['models.Sprite'];
|
|
6101
6279
|
type Storage = components['schemas']['models.Storage'];
|