@uug-ai/models 1.4.0 → 1.4.2

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 +186 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -471,6 +471,45 @@ export interface paths {
471
471
  patch?: never;
472
472
  trace?: never;
473
473
  };
474
+ "/internal/address": {
475
+ parameters: {
476
+ query?: never;
477
+ header?: never;
478
+ path?: never;
479
+ cookie?: never;
480
+ };
481
+ /**
482
+ * Get Address (schema generation only)
483
+ * @description Internal endpoint used only to ensure Address schema is generated in OpenAPI spec
484
+ */
485
+ get: {
486
+ parameters: {
487
+ query?: never;
488
+ header?: never;
489
+ path?: never;
490
+ cookie?: never;
491
+ };
492
+ requestBody?: never;
493
+ responses: {
494
+ /** @description OK */
495
+ 200: {
496
+ headers: {
497
+ [name: string]: unknown;
498
+ };
499
+ content: {
500
+ "application/json": components["schemas"]["models.Address"];
501
+ };
502
+ };
503
+ };
504
+ };
505
+ put?: never;
506
+ post?: never;
507
+ delete?: never;
508
+ options?: never;
509
+ head?: never;
510
+ patch?: never;
511
+ trace?: never;
512
+ };
474
513
  "/internal/alertfeatures": {
475
514
  parameters: {
476
515
  query?: never;
@@ -1485,6 +1524,84 @@ export interface paths {
1485
1524
  patch?: never;
1486
1525
  trace?: never;
1487
1526
  };
1527
+ "/internal/companydetails": {
1528
+ parameters: {
1529
+ query?: never;
1530
+ header?: never;
1531
+ path?: never;
1532
+ cookie?: never;
1533
+ };
1534
+ /**
1535
+ * Get CompanyDetails (schema generation only)
1536
+ * @description Internal endpoint used only to ensure CompanyDetails schema is generated in OpenAPI spec
1537
+ */
1538
+ get: {
1539
+ parameters: {
1540
+ query?: never;
1541
+ header?: never;
1542
+ path?: never;
1543
+ cookie?: never;
1544
+ };
1545
+ requestBody?: never;
1546
+ responses: {
1547
+ /** @description OK */
1548
+ 200: {
1549
+ headers: {
1550
+ [name: string]: unknown;
1551
+ };
1552
+ content: {
1553
+ "application/json": components["schemas"]["models.CompanyDetails"];
1554
+ };
1555
+ };
1556
+ };
1557
+ };
1558
+ put?: never;
1559
+ post?: never;
1560
+ delete?: never;
1561
+ options?: never;
1562
+ head?: never;
1563
+ patch?: never;
1564
+ trace?: never;
1565
+ };
1566
+ "/internal/contact": {
1567
+ parameters: {
1568
+ query?: never;
1569
+ header?: never;
1570
+ path?: never;
1571
+ cookie?: never;
1572
+ };
1573
+ /**
1574
+ * Get Contact (schema generation only)
1575
+ * @description Internal endpoint used only to ensure Contact schema is generated in OpenAPI spec
1576
+ */
1577
+ get: {
1578
+ parameters: {
1579
+ query?: never;
1580
+ header?: never;
1581
+ path?: never;
1582
+ cookie?: never;
1583
+ };
1584
+ requestBody?: never;
1585
+ responses: {
1586
+ /** @description OK */
1587
+ 200: {
1588
+ headers: {
1589
+ [name: string]: unknown;
1590
+ };
1591
+ content: {
1592
+ "application/json": components["schemas"]["models.Contact"];
1593
+ };
1594
+ };
1595
+ };
1596
+ };
1597
+ put?: never;
1598
+ post?: never;
1599
+ delete?: never;
1600
+ options?: never;
1601
+ head?: never;
1602
+ patch?: never;
1603
+ trace?: never;
1604
+ };
1488
1605
  "/internal/counting": {
1489
1606
  parameters: {
1490
1607
  query?: never;
@@ -12043,6 +12160,7 @@ export interface components {
12043
12160
  markers?: string[];
12044
12161
  name?: string;
12045
12162
  sites?: string[];
12163
+ sort?: string;
12046
12164
  };
12047
12165
  "api.ErrorResponse": {
12048
12166
  /** @description Application-specific error code */
@@ -12750,16 +12868,19 @@ export interface components {
12750
12868
  "api.GroupFilter": {
12751
12869
  groupIds?: string[];
12752
12870
  name?: string;
12871
+ sort?: string;
12753
12872
  };
12754
12873
  "api.MarkerCategoryFilter": {
12755
12874
  name?: string;
12756
12875
  names?: string[];
12876
+ sort?: string;
12757
12877
  };
12758
12878
  "api.MarkerEventFilter": {
12759
12879
  deviceKeys?: string[];
12760
12880
  markerEventIds?: string[];
12761
12881
  name?: string;
12762
12882
  names?: string[];
12883
+ sort?: string;
12763
12884
  timeRanges?: components["schemas"]["models.TimeRange"][];
12764
12885
  };
12765
12886
  "api.MarkerFilter": {
@@ -12768,12 +12889,14 @@ export interface components {
12768
12889
  markerIds?: string[];
12769
12890
  name?: string;
12770
12891
  names?: string[];
12892
+ sort?: string;
12771
12893
  timeRanges?: components["schemas"]["models.TimeRange"][];
12772
12894
  };
12773
12895
  "api.MarkerTagFilter": {
12774
12896
  deviceKeys?: string[];
12775
12897
  name?: string;
12776
12898
  names?: string[];
12899
+ sort?: string;
12777
12900
  timeRanges?: components["schemas"]["models.TimeRange"][];
12778
12901
  };
12779
12902
  "api.Media2Filter": {
@@ -12911,6 +13034,7 @@ export interface components {
12911
13034
  deviceKeys?: string[];
12912
13035
  name?: string;
12913
13036
  siteIds?: string[];
13037
+ sort?: string;
12914
13038
  };
12915
13039
  "api.SiteFlags": {
12916
13040
  includeMetadata?: boolean;
@@ -13165,6 +13289,20 @@ export interface components {
13165
13289
  usage?: number;
13166
13290
  videos?: number;
13167
13291
  };
13292
+ "models.Address": {
13293
+ city?: string;
13294
+ /** @description ISO country code */
13295
+ country?: string;
13296
+ /** @description Full country name */
13297
+ country_name?: string;
13298
+ postal_code?: string;
13299
+ /** @description State/Province/Region */
13300
+ region?: string;
13301
+ street?: string;
13302
+ street_number?: string;
13303
+ /** @description Additional address line */
13304
+ street2?: string;
13305
+ };
13168
13306
  "models.AlertFeatures": {
13169
13307
  createMarker?: boolean;
13170
13308
  };
@@ -13374,6 +13512,35 @@ export interface components {
13374
13512
  /** @description Comment information */
13375
13513
  type?: string;
13376
13514
  };
13515
+ "models.CompanyDetails": {
13516
+ /** @description Main company email */
13517
+ email?: string;
13518
+ /** @description Industry/sector */
13519
+ industry?: string;
13520
+ /** @description Official registered company name */
13521
+ legal_name?: string;
13522
+ /** @description Company logo URL */
13523
+ logo?: string;
13524
+ /** @description Main company phone */
13525
+ phone?: string;
13526
+ /** @description Company registration number */
13527
+ registration_number?: string;
13528
+ /** @description Alternative tax identifier */
13529
+ tax_id?: string;
13530
+ /** @description Trading/DBA name if different */
13531
+ trading_name?: string;
13532
+ /** @description VAT/Tax ID number */
13533
+ vat_number?: string;
13534
+ /** @description Company website */
13535
+ website?: string;
13536
+ };
13537
+ "models.Contact": {
13538
+ email?: string;
13539
+ name?: string;
13540
+ phone?: string;
13541
+ /** @description Job title/role */
13542
+ role?: string;
13543
+ };
13377
13544
  "models.Counting": {
13378
13545
  detail?: components["schemas"]["models.CountingDetail"][];
13379
13546
  records?: components["schemas"]["models.CountingRecord"][];
@@ -14405,6 +14572,9 @@ export interface components {
14405
14572
  };
14406
14573
  "models.Organisation": {
14407
14574
  audit?: components["schemas"]["models.Audit"];
14575
+ billing_address?: components["schemas"]["models.Address"];
14576
+ /** @description Company Details */
14577
+ company?: components["schemas"]["models.CompanyDetails"];
14408
14578
  description?: string;
14409
14579
  domain?: string;
14410
14580
  id?: string;
@@ -14413,6 +14583,8 @@ export interface components {
14413
14583
  /** @description The user who owns this organisation */
14414
14584
  owner_id?: string;
14415
14585
  settings?: components["schemas"]["models.OrganisationSettings"];
14586
+ /** @description Billing & Subscription */
14587
+ subscription?: components["schemas"]["models.Subscription"];
14416
14588
  };
14417
14589
  "models.OrganisationInvitation": {
14418
14590
  audit?: components["schemas"]["models.Audit"];
@@ -14442,8 +14614,14 @@ export interface components {
14442
14614
  allowed_domains?: string[];
14443
14615
  /** @description Default role for new members */
14444
14616
  default_role_id?: string;
14617
+ /** @description Contacts for different purposes */
14618
+ financial_contact?: components["schemas"]["models.Contact"];
14445
14619
  force_mfa?: boolean;
14446
14620
  max_members?: number;
14621
+ /** @description Main point of contact */
14622
+ primary_contact?: components["schemas"]["models.Contact"];
14623
+ /** @description Technical/support contact */
14624
+ technical_contact?: components["schemas"]["models.Contact"];
14447
14625
  };
14448
14626
  /** @enum {integer} */
14449
14627
  "models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
@@ -14747,11 +14925,16 @@ export interface components {
14747
14925
  created_at?: string;
14748
14926
  ends_at?: string;
14749
14927
  id?: string;
14928
+ /** @description Organisation this subscription belongs to */
14929
+ organisation_id?: string;
14750
14930
  quantity?: number;
14931
+ /** @description active, cancelled, past_due, trialing, etc. */
14932
+ status?: string;
14751
14933
  stripe_id?: string;
14752
14934
  stripe_plan?: string;
14753
14935
  trial_ends_at?: string;
14754
14936
  updated_at?: string;
14937
+ /** @description Legacy: user who created/owns the subscription */
14755
14938
  user_id?: string;
14756
14939
  };
14757
14940
  "models.Synchronize": {
@@ -15151,6 +15334,7 @@ export declare namespace models {
15151
15334
  type Account = components['schemas']['models.Account'];
15152
15335
  type AccountBody = components['schemas']['models.AccountBody'];
15153
15336
  type Activity = components['schemas']['models.Activity'];
15337
+ type Address = components['schemas']['models.Address'];
15154
15338
  type AlertFeatures = components['schemas']['models.AlertFeatures'];
15155
15339
  type Alexa = components['schemas']['models.Alexa'];
15156
15340
  type Analysis = components['schemas']['models.Analysis'];
@@ -15176,6 +15360,8 @@ export declare namespace models {
15176
15360
  type ClassifyDetails = components['schemas']['models.ClassifyDetails'];
15177
15361
  type Color = components['schemas']['models.Color'];
15178
15362
  type Comment = components['schemas']['models.Comment'];
15363
+ type CompanyDetails = components['schemas']['models.CompanyDetails'];
15364
+ type Contact = components['schemas']['models.Contact'];
15179
15365
  type Counting = components['schemas']['models.Counting'];
15180
15366
  type CountingDetail = components['schemas']['models.CountingDetail'];
15181
15367
  type CountingRecord = components['schemas']['models.CountingRecord'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",