@lilaquadrat/interfaces 1.51.1 → 1.53.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,23 @@
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.53.1](https://github.com/lilaquadrat/interfaces/compare/v1.53.0...v1.53.1) (2026-10-04)
6
+
7
+ ## [1.53.0](https://github.com/lilaquadrat/interfaces/compare/v1.52.0...v1.53.0) (2026-10-02)
8
+
9
+
10
+ ### Features
11
+
12
+ * **List:** add opt-in participants.selfService flag ([84cfc4b](https://github.com/lilaquadrat/interfaces/commit/84cfc4b764c80f27712649d80b53eb5c223b205d))
13
+
14
+ ## [1.52.0](https://github.com/lilaquadrat/interfaces/compare/v1.51.1...v1.52.0) (2026-10-02)
15
+
16
+
17
+ ### Features
18
+
19
+ * **customers:** add member profile update type and history origin ([7b4cae2](https://github.com/lilaquadrat/interfaces/commit/7b4cae203862369a8a1a7a53ba105bc6ab74af42))
20
+ * **ListParticipants:** add canceled state for member withdrawals ([a684c8f](https://github.com/lilaquadrat/interfaces/commit/a684c8fde6d30b02242de50be74221d577f24e2a))
21
+
5
22
  ### [1.51.1](https://github.com/lilaquadrat/interfaces/compare/v1.51.0...v1.51.1) (2026-10-01)
6
23
 
7
24
 
@@ -1 +1 @@
1
- export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal' | 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal' | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode';
1
+ export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal' | 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal' | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode' | 'changeMemberProfile';
@@ -9,6 +9,7 @@ export interface History {
9
9
  app: string;
10
10
  date: Date;
11
11
  source: string;
12
+ origin?: 'member';
12
13
  update?: Date;
13
14
  branchVersion?: number;
14
15
  copySource?: ObjectId;
package/lib/cjs/List.d.ts CHANGED
@@ -21,6 +21,11 @@ export interface List {
21
21
  unique?: boolean;
22
22
  addressRequired?: boolean;
23
23
  totalPaid?: number;
24
+ /**
25
+ * opt-in: when true a member may edit the structure answers of, and cancel,
26
+ * their own list entry. absent/false means disabled.
27
+ */
28
+ selfService?: boolean;
24
29
  };
25
30
  state: 'open' | 'closed' | 'waiting';
26
31
  agreements: Agreement[];
@@ -53,8 +53,12 @@ export interface ListParticipants extends WithStructures {
53
53
  ```paid```
54
54
 
55
55
  payment webhook confirmed
56
+
57
+ ```canceled```
58
+
59
+ customer withdrew their own entry; the slot is freed and no email is sent
56
60
  */
57
- state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized';
61
+ state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized' | 'canceled';
58
62
  agreements: AgreementResponse[];
59
63
  /**
60
64
  * if the participants came from a payment webhook paid will have the amount of the whole payment
@@ -0,0 +1,2 @@
1
+ import type { CustomerPerson } from './CustomerPerson';
2
+ export type MemberProfileUpdate = Partial<Pick<CustomerPerson, 'prename' | 'name' | 'addressAddition' | 'street' | 'streetNumber' | 'zipcode' | 'city' | 'country' | 'osm_id' | 'phone'>>;
@@ -156,6 +156,7 @@ export * from './MediaContentFiles';
156
156
  export * from './MediaMetadata';
157
157
  export * from './MediaStats';
158
158
  export * from './MediaViewInfo';
159
+ export * from './MemberProfileUpdate';
159
160
  export * from './MenuCategoryElement';
160
161
  export * from './MenuItemElement';
161
162
  export * from './MenuModule';
@@ -1 +1 @@
1
- export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal' | 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal' | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode';
1
+ export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal' | 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal' | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode' | 'changeMemberProfile';
@@ -9,6 +9,7 @@ export interface History {
9
9
  app: string;
10
10
  date: Date;
11
11
  source: string;
12
+ origin?: 'member';
12
13
  update?: Date;
13
14
  branchVersion?: number;
14
15
  copySource?: ObjectId;
package/lib/esm/List.d.ts CHANGED
@@ -21,6 +21,11 @@ export interface List {
21
21
  unique?: boolean;
22
22
  addressRequired?: boolean;
23
23
  totalPaid?: number;
24
+ /**
25
+ * opt-in: when true a member may edit the structure answers of, and cancel,
26
+ * their own list entry. absent/false means disabled.
27
+ */
28
+ selfService?: boolean;
24
29
  };
25
30
  state: 'open' | 'closed' | 'waiting';
26
31
  agreements: Agreement[];
@@ -53,8 +53,12 @@ export interface ListParticipants extends WithStructures {
53
53
  ```paid```
54
54
 
55
55
  payment webhook confirmed
56
+
57
+ ```canceled```
58
+
59
+ customer withdrew their own entry; the slot is freed and no email is sent
56
60
  */
57
- state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized';
61
+ state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized' | 'canceled';
58
62
  agreements: AgreementResponse[];
59
63
  /**
60
64
  * if the participants came from a payment webhook paid will have the amount of the whole payment
@@ -0,0 +1,2 @@
1
+ import type { CustomerPerson } from './CustomerPerson';
2
+ export type MemberProfileUpdate = Partial<Pick<CustomerPerson, 'prename' | 'name' | 'addressAddition' | 'street' | 'streetNumber' | 'zipcode' | 'city' | 'country' | 'osm_id' | 'phone'>>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MemberProfileUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MemberProfileUpdate.js","sourceRoot":"","sources":["../../src/MemberProfileUpdate.ts"],"names":[],"mappings":""}
@@ -156,6 +156,7 @@ export * from './MediaContentFiles';
156
156
  export * from './MediaMetadata';
157
157
  export * from './MediaStats';
158
158
  export * from './MediaViewInfo';
159
+ export * from './MemberProfileUpdate';
159
160
  export * from './MenuCategoryElement';
160
161
  export * from './MenuItemElement';
161
162
  export * from './MenuModule';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.51.1",
3
+ "version": "1.53.1",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -1,3 +1,4 @@
1
1
  export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal'
2
2
  | 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal'
3
- | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode'
3
+ | 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode'
4
+ | 'changeMemberProfile'
package/src/History.ts CHANGED
@@ -11,6 +11,7 @@ export interface History {
11
11
  app: string
12
12
  date: Date
13
13
  source: string
14
+ origin?: 'member'
14
15
  update?: Date
15
16
  branchVersion?: number
16
17
  copySource?: ObjectId
@@ -19,4 +20,4 @@ export interface History {
19
20
 
20
21
  [key: string]: any;
21
22
 
22
- }
23
+ }
package/src/List.ts CHANGED
@@ -27,6 +27,11 @@ export interface List {
27
27
  unique?: boolean
28
28
  addressRequired?: boolean
29
29
  totalPaid?: number
30
+ /**
31
+ * opt-in: when true a member may edit the structure answers of, and cancel,
32
+ * their own list entry. absent/false means disabled.
33
+ */
34
+ selfService?: boolean
30
35
  }
31
36
 
32
37
  state: 'open' | 'closed' | 'waiting'
@@ -61,8 +61,12 @@ export interface ListParticipants extends WithStructures {
61
61
  ```paid```
62
62
 
63
63
  payment webhook confirmed
64
+
65
+ ```canceled```
66
+
67
+ customer withdrew their own entry; the slot is freed and no email is sent
64
68
  */
65
- state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized'
69
+ state: 'unchecked' | 'paid' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized' | 'canceled'
66
70
  agreements: AgreementResponse[]
67
71
  /**
68
72
  * if the participants came from a payment webhook paid will have the amount of the whole payment
@@ -0,0 +1,6 @@
1
+ import type { CustomerPerson } from './CustomerPerson';
2
+
3
+ export type MemberProfileUpdate = Partial<Pick<CustomerPerson,
4
+ 'prename' | 'name' | 'addressAddition' | 'street' | 'streetNumber'
5
+ | 'zipcode' | 'city' | 'country' | 'osm_id' | 'phone'
6
+ >>;