@uug-ai/models 1.3.8 → 1.3.10

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +86 -4
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -7179,6 +7179,45 @@ export interface paths {
7179
7179
  patch?: never;
7180
7180
  trace?: never;
7181
7181
  };
7182
+ "/internal/plan": {
7183
+ parameters: {
7184
+ query?: never;
7185
+ header?: never;
7186
+ path?: never;
7187
+ cookie?: never;
7188
+ };
7189
+ /**
7190
+ * Get Plan (schema generation only)
7191
+ * @description Internal endpoint used only to ensure Plan schema is generated in OpenAPI spec
7192
+ */
7193
+ get: {
7194
+ parameters: {
7195
+ query?: never;
7196
+ header?: never;
7197
+ path?: never;
7198
+ cookie?: never;
7199
+ };
7200
+ requestBody?: never;
7201
+ responses: {
7202
+ /** @description OK */
7203
+ 200: {
7204
+ headers: {
7205
+ [name: string]: unknown;
7206
+ };
7207
+ content: {
7208
+ "application/json": components["schemas"]["models.Plan"];
7209
+ };
7210
+ };
7211
+ };
7212
+ };
7213
+ put?: never;
7214
+ post?: never;
7215
+ delete?: never;
7216
+ options?: never;
7217
+ head?: never;
7218
+ patch?: never;
7219
+ trace?: never;
7220
+ };
7182
7221
  "/internal/point": {
7183
7222
  parameters: {
7184
7223
  query?: never;
@@ -10875,7 +10914,7 @@ export interface components {
10875
10914
  cameraMetadata?: components["schemas"]["models.CameraMetadata"];
10876
10915
  /**
10877
10916
  * @description Device status
10878
- * Note: Status is used to identify the status of the device, such as online, offline, maintenance, etc.
10917
+ * Note: Status is used to identify the status of the device, such as online, offline, maintenance, etc."
10879
10918
  * LastSeenTimestamp is used to identify the last time the device was seen online.
10880
10919
  */
10881
10920
  connectionStart?: number;
@@ -10907,6 +10946,10 @@ export interface components {
10907
10946
  * DeviceType is used to identify the type of device, such as camera, sensor, access control, etc.
10908
10947
  */
10909
10948
  key?: string;
10949
+ /** @description Latest Media information */
10950
+ latestMedia?: string;
10951
+ /** @description Timestamp of the latest media captured by the device (milliseconds since epoch) */
10952
+ latestMediaTimestamp?: number;
10910
10953
  lightSensorMetadata?: components["schemas"]["models.LightSensorMetadata"];
10911
10954
  /** @description Location of the device, not real time postion. e.g. "Office 1st Floor", "Lobby", "Kilian's Car", etc. */
10912
10955
  location?: components["schemas"]["models.Location"];
@@ -10932,6 +10975,8 @@ export interface components {
10932
10975
  siteIds?: string[];
10933
10976
  /** @description Type of device e.g. "camera", "sensor", "access_control" */
10934
10977
  type?: string;
10978
+ /** @description @LEGACY FIELDS - to be removed in future versions */
10979
+ user_id?: string;
10935
10980
  /** @description Version of the agent, injected on build. Reflects the release tag of the agent. */
10936
10981
  version?: string;
10937
10982
  };
@@ -11519,19 +11564,36 @@ export interface components {
11519
11564
  detections?: string[];
11520
11565
  dominantColors?: string[];
11521
11566
  embedding?: number[];
11567
+ /** @description in bytes */
11568
+ fileSize?: number;
11522
11569
  /** @description frames per second */
11523
11570
  fps?: number;
11524
11571
  /** @description in pixels */
11525
11572
  height?: number;
11573
+ /** @description Percentage of frame with motion detected */
11526
11574
  motionPercentage?: number;
11527
11575
  /** @description Motion information */
11528
11576
  motionPixels?: number;
11529
11577
  /** @description e.g., 1920x1080 */
11530
11578
  resolution?: string;
11531
- /** @description Sprite interval in seconds */
11579
+ /** @description Number of thumbnails in the sprite */
11580
+ spriteCount?: number;
11581
+ /** @description in bytes */
11582
+ spriteFileSize?: number;
11583
+ /** @description in pixels */
11584
+ spriteHeight?: number;
11585
+ /** @description Sprite information */
11532
11586
  spriteInterval?: number;
11587
+ /** @description in pixels */
11588
+ spriteWidth?: number;
11533
11589
  /** @description Tags associated to give some context about the media file */
11534
11590
  tags?: string[];
11591
+ /** @description in bytes */
11592
+ thumbnailFileSize?: number;
11593
+ /** @description in pixels */
11594
+ thumbnailHeight?: number;
11595
+ /** @description Thumbnail information */
11596
+ thumbnailWidth?: number;
11535
11597
  /** @description in pixels */
11536
11598
  width?: number;
11537
11599
  };
@@ -11613,7 +11675,7 @@ export interface components {
11613
11675
  monitorData?: string;
11614
11676
  name?: string;
11615
11677
  plans?: {
11616
- [key: string]: unknown;
11678
+ [key: string]: components["schemas"]["models.Plan"];
11617
11679
  };
11618
11680
  subscription?: components["schemas"]["models.Subscription"];
11619
11681
  /** @description Add more fields as needed */
@@ -11687,6 +11749,20 @@ export interface components {
11687
11749
  signedUrl?: string;
11688
11750
  timestamp?: number;
11689
11751
  };
11752
+ "models.Plan": {
11753
+ /** @description AnalysisLimit is the maximum number of analysis operations allowed */
11754
+ analysisLimit?: number;
11755
+ /** @description DayLimit is the retention period in days */
11756
+ dayLimit?: number;
11757
+ /** @description Level indicates the tier of the plan (1-5, higher is better) */
11758
+ level?: number;
11759
+ /** @description UploadLimit is the maximum number of uploads allowed */
11760
+ uploadLimit?: number;
11761
+ /** @description Usage is the storage limit in MB */
11762
+ usage?: number;
11763
+ /** @description VideoLimit is the maximum number of videos allowed */
11764
+ videoLimit?: number;
11765
+ };
11690
11766
  "models.Point": {
11691
11767
  x?: number;
11692
11768
  y?: number;
@@ -11715,6 +11791,7 @@ export interface components {
11715
11791
  sequenceId?: number;
11716
11792
  };
11717
11793
  "models.Settings": {
11794
+ id?: string;
11718
11795
  key?: string;
11719
11796
  /** @description @TODO replace this */
11720
11797
  map?: {
@@ -11843,10 +11920,14 @@ export interface components {
11843
11920
  uri?: string;
11844
11921
  };
11845
11922
  "models.Subscription": {
11923
+ created_at?: string;
11846
11924
  ends_at?: string;
11847
11925
  id?: string;
11848
- name?: string;
11926
+ quantity?: number;
11927
+ stripe_id?: string;
11849
11928
  stripe_plan?: string;
11929
+ trial_ends_at?: string;
11930
+ updated_at?: string;
11850
11931
  user_id?: string;
11851
11932
  };
11852
11933
  "models.Synchronize": {
@@ -12158,6 +12239,7 @@ export declare namespace models {
12158
12239
  type PipelineMetadata = components['schemas']['models.PipelineMetadata'];
12159
12240
  type PipelineMetrics = components['schemas']['models.PipelineMetrics'];
12160
12241
  type PipelinePayload = components['schemas']['models.PipelinePayload'];
12242
+ type Plan = components['schemas']['models.Plan'];
12161
12243
  type Point = components['schemas']['models.Point'];
12162
12244
  type Region = components['schemas']['models.Region'];
12163
12245
  type Role = components['schemas']['models.Role'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",