@lilaquadrat/interfaces 1.50.1 → 1.51.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/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.51.1](https://github.com/lilaquadrat/interfaces/compare/v1.51.0...v1.51.1) (2026-10-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **License:** mark fields optional to match persisted contract ([27f6a55](https://github.com/lilaquadrat/interfaces/commit/27f6a55e4b77278826f8e8c4a2f38cf75491a7d4))
11
+ * **license:** renamed active to available ([23dd7b0](https://github.com/lilaquadrat/interfaces/commit/23dd7b02cda7c8b43d8ba47833d2444ecca69863))
12
+
13
+ ## [1.51.0](https://github.com/lilaquadrat/interfaces/compare/v1.50.1...v1.51.0) (2026-09-30)
14
+
15
+
16
+ ### Features
17
+
18
+ * **conversations:** add original support customer identity ([48caec1](https://github.com/lilaquadrat/interfaces/commit/48caec1a86469dbbd8227551fec585acb765e39e))
19
+
5
20
  ### [1.50.1](https://github.com/lilaquadrat/interfaces/compare/v1.50.0...v1.50.1) (2026-09-25)
6
21
 
7
22
 
@@ -7,6 +7,8 @@ export interface Conversation {
7
7
  name?: string;
8
8
  participantsHash?: string;
9
9
  participants?: string[];
10
+ /** Original support customer; remains fixed even when participants change. */
11
+ supportCustomer?: string;
10
12
  blocked?: string[];
11
13
  messagesCount?: number;
12
14
  messagesCountSystem?: number;
@@ -2,16 +2,17 @@ export interface License {
2
2
  id: string;
3
3
  name: string;
4
4
  description?: string;
5
- monthlyCost: number;
5
+ monthlyCost?: number;
6
6
  oneTimeCost?: number;
7
- minimumContractMonths: number;
8
- cancellationPeriodDays: number;
9
- includesSupport: boolean;
7
+ minimumContractMonths?: number;
8
+ cancellationPeriodDays?: number;
9
+ includesSupport?: boolean;
10
10
  supportSla?: string;
11
- active: boolean;
12
- autoExtend: boolean;
11
+ /** bookable: whether this license can be assigned to a new project */
12
+ available?: boolean;
13
+ autoExtend?: boolean;
13
14
  /** app ids that are included in this license */
14
- includedApps: string[];
15
+ includedApps?: string[];
15
16
  /** per-app usage limits, e.g. { editor: { pages: 10 }, media: { storageMb: 500 } } */
16
17
  limits?: Record<string, Record<string, number>>;
17
18
  }
@@ -7,6 +7,8 @@ export interface Conversation {
7
7
  name?: string;
8
8
  participantsHash?: string;
9
9
  participants?: string[];
10
+ /** Original support customer; remains fixed even when participants change. */
11
+ supportCustomer?: string;
10
12
  blocked?: string[];
11
13
  messagesCount?: number;
12
14
  messagesCountSystem?: number;
@@ -2,16 +2,17 @@ export interface License {
2
2
  id: string;
3
3
  name: string;
4
4
  description?: string;
5
- monthlyCost: number;
5
+ monthlyCost?: number;
6
6
  oneTimeCost?: number;
7
- minimumContractMonths: number;
8
- cancellationPeriodDays: number;
9
- includesSupport: boolean;
7
+ minimumContractMonths?: number;
8
+ cancellationPeriodDays?: number;
9
+ includesSupport?: boolean;
10
10
  supportSla?: string;
11
- active: boolean;
12
- autoExtend: boolean;
11
+ /** bookable: whether this license can be assigned to a new project */
12
+ available?: boolean;
13
+ autoExtend?: boolean;
13
14
  /** app ids that are included in this license */
14
- includedApps: string[];
15
+ includedApps?: string[];
15
16
  /** per-app usage limits, e.g. { editor: { pages: 10 }, media: { storageMb: 500 } } */
16
17
  limits?: Record<string, Record<string, number>>;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.50.1",
3
+ "version": "1.51.1",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -9,6 +9,8 @@ export interface Conversation {
9
9
  name?: string;
10
10
  participantsHash?: string;
11
11
  participants?: string[];
12
+ /** Original support customer; remains fixed even when participants change. */
13
+ supportCustomer?: string;
12
14
  blocked?: string[];
13
15
  messagesCount?: number;
14
16
  messagesCountSystem?: number;
package/src/License.ts CHANGED
@@ -5,20 +5,21 @@ export interface License {
5
5
 
6
6
  description?: string;
7
7
 
8
- monthlyCost: number;
8
+ monthlyCost?: number;
9
9
  oneTimeCost?: number;
10
10
 
11
- minimumContractMonths: number;
12
- cancellationPeriodDays: number;
11
+ minimumContractMonths?: number;
12
+ cancellationPeriodDays?: number;
13
13
 
14
- includesSupport: boolean;
14
+ includesSupport?: boolean;
15
15
  supportSla?: string;
16
16
 
17
- active: boolean;
18
- autoExtend: boolean;
17
+ /** bookable: whether this license can be assigned to a new project */
18
+ available?: boolean;
19
+ autoExtend?: boolean;
19
20
 
20
21
  /** app ids that are included in this license */
21
- includedApps: string[];
22
+ includedApps?: string[];
22
23
 
23
24
  /** per-app usage limits, e.g. { editor: { pages: 10 }, media: { storageMb: 500 } } */
24
25
  limits?: Record<string, Record<string, number>>;