@uug-ai/models 1.4.0 → 1.4.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +179 -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;
@@ -13165,6 +13282,20 @@ export interface components {
13165
13282
  usage?: number;
13166
13283
  videos?: number;
13167
13284
  };
13285
+ "models.Address": {
13286
+ city?: string;
13287
+ /** @description ISO country code */
13288
+ country?: string;
13289
+ /** @description Full country name */
13290
+ country_name?: string;
13291
+ postal_code?: string;
13292
+ /** @description State/Province/Region */
13293
+ region?: string;
13294
+ street?: string;
13295
+ street_number?: string;
13296
+ /** @description Additional address line */
13297
+ street2?: string;
13298
+ };
13168
13299
  "models.AlertFeatures": {
13169
13300
  createMarker?: boolean;
13170
13301
  };
@@ -13374,6 +13505,35 @@ export interface components {
13374
13505
  /** @description Comment information */
13375
13506
  type?: string;
13376
13507
  };
13508
+ "models.CompanyDetails": {
13509
+ /** @description Main company email */
13510
+ email?: string;
13511
+ /** @description Industry/sector */
13512
+ industry?: string;
13513
+ /** @description Official registered company name */
13514
+ legal_name?: string;
13515
+ /** @description Company logo URL */
13516
+ logo?: string;
13517
+ /** @description Main company phone */
13518
+ phone?: string;
13519
+ /** @description Company registration number */
13520
+ registration_number?: string;
13521
+ /** @description Alternative tax identifier */
13522
+ tax_id?: string;
13523
+ /** @description Trading/DBA name if different */
13524
+ trading_name?: string;
13525
+ /** @description VAT/Tax ID number */
13526
+ vat_number?: string;
13527
+ /** @description Company website */
13528
+ website?: string;
13529
+ };
13530
+ "models.Contact": {
13531
+ email?: string;
13532
+ name?: string;
13533
+ phone?: string;
13534
+ /** @description Job title/role */
13535
+ role?: string;
13536
+ };
13377
13537
  "models.Counting": {
13378
13538
  detail?: components["schemas"]["models.CountingDetail"][];
13379
13539
  records?: components["schemas"]["models.CountingRecord"][];
@@ -14405,6 +14565,9 @@ export interface components {
14405
14565
  };
14406
14566
  "models.Organisation": {
14407
14567
  audit?: components["schemas"]["models.Audit"];
14568
+ billing_address?: components["schemas"]["models.Address"];
14569
+ /** @description Company Details */
14570
+ company?: components["schemas"]["models.CompanyDetails"];
14408
14571
  description?: string;
14409
14572
  domain?: string;
14410
14573
  id?: string;
@@ -14413,6 +14576,8 @@ export interface components {
14413
14576
  /** @description The user who owns this organisation */
14414
14577
  owner_id?: string;
14415
14578
  settings?: components["schemas"]["models.OrganisationSettings"];
14579
+ /** @description Billing & Subscription */
14580
+ subscription?: components["schemas"]["models.Subscription"];
14416
14581
  };
14417
14582
  "models.OrganisationInvitation": {
14418
14583
  audit?: components["schemas"]["models.Audit"];
@@ -14442,8 +14607,14 @@ export interface components {
14442
14607
  allowed_domains?: string[];
14443
14608
  /** @description Default role for new members */
14444
14609
  default_role_id?: string;
14610
+ /** @description Contacts for different purposes */
14611
+ financial_contact?: components["schemas"]["models.Contact"];
14445
14612
  force_mfa?: boolean;
14446
14613
  max_members?: number;
14614
+ /** @description Main point of contact */
14615
+ primary_contact?: components["schemas"]["models.Contact"];
14616
+ /** @description Technical/support contact */
14617
+ technical_contact?: components["schemas"]["models.Contact"];
14447
14618
  };
14448
14619
  /** @enum {integer} */
14449
14620
  "models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
@@ -14747,11 +14918,16 @@ export interface components {
14747
14918
  created_at?: string;
14748
14919
  ends_at?: string;
14749
14920
  id?: string;
14921
+ /** @description Organisation this subscription belongs to */
14922
+ organisation_id?: string;
14750
14923
  quantity?: number;
14924
+ /** @description active, cancelled, past_due, trialing, etc. */
14925
+ status?: string;
14751
14926
  stripe_id?: string;
14752
14927
  stripe_plan?: string;
14753
14928
  trial_ends_at?: string;
14754
14929
  updated_at?: string;
14930
+ /** @description Legacy: user who created/owns the subscription */
14755
14931
  user_id?: string;
14756
14932
  };
14757
14933
  "models.Synchronize": {
@@ -15151,6 +15327,7 @@ export declare namespace models {
15151
15327
  type Account = components['schemas']['models.Account'];
15152
15328
  type AccountBody = components['schemas']['models.AccountBody'];
15153
15329
  type Activity = components['schemas']['models.Activity'];
15330
+ type Address = components['schemas']['models.Address'];
15154
15331
  type AlertFeatures = components['schemas']['models.AlertFeatures'];
15155
15332
  type Alexa = components['schemas']['models.Alexa'];
15156
15333
  type Analysis = components['schemas']['models.Analysis'];
@@ -15176,6 +15353,8 @@ export declare namespace models {
15176
15353
  type ClassifyDetails = components['schemas']['models.ClassifyDetails'];
15177
15354
  type Color = components['schemas']['models.Color'];
15178
15355
  type Comment = components['schemas']['models.Comment'];
15356
+ type CompanyDetails = components['schemas']['models.CompanyDetails'];
15357
+ type Contact = components['schemas']['models.Contact'];
15179
15358
  type Counting = components['schemas']['models.Counting'];
15180
15359
  type CountingDetail = components['schemas']['models.CountingDetail'];
15181
15360
  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.1",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",