@komune-io/im-user-domain 0.19.0-alpha.ddb2e67 → 0.19.0-alpha.f340596

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.
@@ -1,72 +1,94 @@
1
+ type Nullable<T> = T | null | undefined
1
2
  export declare namespace f2.dsl.cqrs {
2
3
  interface Command extends f2.dsl.cqrs.Message {
3
-
4
+ readonly __doNotUseOrImplementIt: {
5
+ readonly "f2.dsl.cqrs.Command": unique symbol;
6
+ } & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
4
7
  }
5
8
  }
6
9
  export declare namespace f2.dsl.cqrs {
7
10
  interface Event extends f2.dsl.cqrs.Message {
8
-
11
+ readonly __doNotUseOrImplementIt: {
12
+ readonly "f2.dsl.cqrs.Event": unique symbol;
13
+ } & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
9
14
  }
10
15
  }
11
16
  export declare namespace f2.dsl.cqrs {
12
17
  interface Message {
13
-
18
+ readonly __doNotUseOrImplementIt: {
19
+ readonly "f2.dsl.cqrs.Message": unique symbol;
20
+ };
14
21
  }
15
22
  }
16
23
  export declare namespace f2.dsl.cqrs {
17
24
  interface Problem extends f2.dsl.cqrs.Message {
18
-
25
+ readonly __doNotUseOrImplementIt: {
26
+ readonly "f2.dsl.cqrs.Problem": unique symbol;
27
+ } & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
19
28
  }
20
29
  }
21
30
  export declare namespace f2.dsl.cqrs {
22
31
  interface Query extends f2.dsl.cqrs.Message {
23
-
32
+ readonly __doNotUseOrImplementIt: {
33
+ readonly "f2.dsl.cqrs.Query": unique symbol;
34
+ } & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
24
35
  }
25
36
  }
26
37
  export declare namespace f2.dsl.cqrs.envelope {
27
38
  interface EnvelopeDTO<T> /* extends f2.dsl.cqrs.envelope.WithEnvelopeId, f2.dsl.cqrs.envelope.WithEnvelopeData<T> */ {
28
39
  readonly type: string;
29
- readonly datacontenttype?: string;
30
- readonly specversion?: string;
31
- readonly source?: string;
32
- readonly time?: string;
33
-
40
+ readonly datacontenttype: Nullable<string>;
41
+ readonly specversion: Nullable<string>;
42
+ readonly source: Nullable<string>;
43
+ readonly time: Nullable<string>;
44
+ readonly __doNotUseOrImplementIt: {
45
+ readonly "f2.dsl.cqrs.envelope.EnvelopeDTO": unique symbol;
46
+ };
34
47
  }
35
48
  class Envelope<T> implements f2.dsl.cqrs.envelope.EnvelopeDTO<T> {
36
- constructor(id: string, data: T, type: string, datacontenttype?: string, specversion?: string, source?: string, time?: string);
49
+ constructor(id: string, data: T, type: string, datacontenttype?: Nullable<string>, specversion?: Nullable<string>, source?: Nullable<string>, time?: Nullable<string>);
37
50
  get type(): string;
38
51
  get datacontenttype(): Nullable<string>;
39
52
  get specversion(): Nullable<string>;
40
53
  get source(): Nullable<string>;
41
54
  get time(): Nullable<string>;
42
-
55
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.envelope.EnvelopeDTO<T>["__doNotUseOrImplementIt"];
56
+ static get Companion(): {
57
+ get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
58
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
43
59
  }
44
60
  }
45
61
  export declare namespace f2.dsl.cqrs.error {
46
62
  interface F2ErrorDTO extends f2.dsl.cqrs.Problem {
47
- readonly id?: string;
63
+ readonly id: Nullable<string>;
48
64
  readonly timestamp: string;
49
65
  readonly code: number;
50
- readonly requestId?: string;
66
+ readonly requestId: Nullable<string>;
51
67
  readonly message: string;
52
-
68
+ readonly __doNotUseOrImplementIt: {
69
+ readonly "f2.dsl.cqrs.error.F2ErrorDTO": unique symbol;
70
+ } & f2.dsl.cqrs.Problem["__doNotUseOrImplementIt"];
53
71
  }
54
72
  class F2Error implements f2.dsl.cqrs.error.F2ErrorDTO {
55
- constructor(message: string, id?: string, timestamp?: string, code?: number, requestId?: string);
73
+ constructor(message: string, id?: Nullable<string>, timestamp?: string, code?: number, requestId?: Nullable<string>);
56
74
  get message(): string;
57
75
  get id(): Nullable<string>;
58
76
  get timestamp(): string;
59
77
  get code(): number;
60
78
  get requestId(): Nullable<string>;
61
79
  toString(): string;
62
-
80
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.error.F2ErrorDTO["__doNotUseOrImplementIt"];
81
+ static get Companion(): {
82
+ };
63
83
  }
64
84
  }
65
85
  export declare namespace f2.dsl.cqrs.exception {
66
86
  class F2Exception /* extends kotlin.RuntimeException */ {
67
- constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?: Error);
87
+ constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?: Nullable<Error>);
68
88
  get error(): f2.dsl.cqrs.error.F2ErrorDTO;
69
-
89
+ static get Companion(): {
90
+ invoke(message: string, id?: string, requestId?: string, code?: number, cause?: Nullable<Error>): f2.dsl.cqrs.exception.F2Exception;
91
+ };
70
92
  }
71
93
  }
72
94
  export declare namespace f2.dsl.cqrs.filter {
@@ -76,84 +98,112 @@ export declare namespace f2.dsl.cqrs.filter {
76
98
  not(): f2.dsl.cqrs.filter.Match<T>;
77
99
  and(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
78
100
  or(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
79
-
101
+ readonly __doNotUseOrImplementIt: {
102
+ readonly "f2.dsl.cqrs.filter.Match": unique symbol;
103
+ };
80
104
  }
81
105
  }
82
106
  export declare namespace f2.dsl.cqrs.filter {
83
107
  interface SortDTO {
84
108
  readonly property: string;
85
109
  readonly ascending: boolean;
86
- readonly nullsFirst?: boolean;
87
-
110
+ readonly nullsFirst: Nullable<boolean>;
111
+ readonly __doNotUseOrImplementIt: {
112
+ readonly "f2.dsl.cqrs.filter.SortDTO": unique symbol;
113
+ };
88
114
  }
89
115
  }
90
116
  export declare namespace f2.dsl.cqrs.page {
91
117
  interface PageDTO<OBJECT> {
92
118
  readonly total: number;
93
- readonly items: OBJECT[];
94
-
119
+ readonly items: any/* kotlin.collections.List<OBJECT> */;
120
+ readonly __doNotUseOrImplementIt: {
121
+ readonly "f2.dsl.cqrs.page.PageDTO": unique symbol;
122
+ };
95
123
  }
96
124
  class Page<OBJECT> implements f2.dsl.cqrs.page.PageDTO<OBJECT> {
97
- constructor(total: number, items: OBJECT[]);
125
+ constructor(total: number, items: any/* kotlin.collections.List<OBJECT> */);
98
126
  get total(): number;
99
- get items(): OBJECT[];
100
-
127
+ get items(): any/* kotlin.collections.List<OBJECT> */;
128
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageDTO<OBJECT>["__doNotUseOrImplementIt"];
129
+ static get Companion(): {
130
+ get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
131
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
101
132
  }
102
133
  }
103
134
  export declare namespace f2.dsl.cqrs.page {
104
135
  interface PageQueryDTO extends f2.dsl.cqrs.Query {
105
- readonly pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO;
106
-
136
+ readonly pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
137
+ readonly __doNotUseOrImplementIt: {
138
+ readonly "f2.dsl.cqrs.page.PageQueryDTO": unique symbol;
139
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
107
140
  }
108
141
  interface PageQueryResultDTO<OBJECT> extends f2.dsl.cqrs.Event, f2.dsl.cqrs.page.PageDTO<OBJECT> {
109
142
  readonly total: number;
110
- readonly items: OBJECT[];
111
- readonly pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO;
112
-
143
+ readonly items: any/* kotlin.collections.List<OBJECT> */;
144
+ readonly pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
145
+ readonly __doNotUseOrImplementIt: {
146
+ readonly "f2.dsl.cqrs.page.PageQueryResultDTO": unique symbol;
147
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"] & f2.dsl.cqrs.page.PageDTO<OBJECT>["__doNotUseOrImplementIt"];
113
148
  }
114
149
  class PageQuery implements f2.dsl.cqrs.page.PageQueryDTO {
115
- constructor(pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO);
150
+ constructor(pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>);
116
151
  get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
117
-
152
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageQueryDTO["__doNotUseOrImplementIt"];
153
+ static get Companion(): {
154
+ };
118
155
  }
119
156
  class PageQueryResult<OBJECT> implements f2.dsl.cqrs.page.PageQueryResultDTO<OBJECT> {
120
- constructor(pagination?: f2.dsl.cqrs.page.OffsetPagination, total: number, items: OBJECT[]);
157
+ constructor(pagination: Nullable<f2.dsl.cqrs.page.OffsetPagination>, total: number, items: any/* kotlin.collections.List<OBJECT> */);
121
158
  get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPagination>;
122
159
  get total(): number;
123
- get items(): OBJECT[];
124
-
160
+ get items(): any/* kotlin.collections.List<OBJECT> */;
161
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageQueryResultDTO<OBJECT>["__doNotUseOrImplementIt"];
162
+ static get Companion(): {
163
+ get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
164
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
125
165
  }
126
166
  }
127
167
  export declare namespace f2.dsl.cqrs.page {
128
168
  interface Pagination {
129
-
169
+ readonly __doNotUseOrImplementIt: {
170
+ readonly "f2.dsl.cqrs.page.Pagination": unique symbol;
171
+ };
130
172
  }
131
173
  interface OffsetPaginationDTO extends f2.dsl.cqrs.page.Pagination {
132
174
  readonly offset: number;
133
175
  readonly limit: number;
134
-
176
+ readonly __doNotUseOrImplementIt: {
177
+ readonly "f2.dsl.cqrs.page.OffsetPaginationDTO": unique symbol;
178
+ } & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
135
179
  }
136
180
  interface PagePaginationDTO extends f2.dsl.cqrs.page.Pagination {
137
- readonly page?: number;
138
- readonly size?: number;
139
-
181
+ readonly page: Nullable<number>;
182
+ readonly size: Nullable<number>;
183
+ readonly __doNotUseOrImplementIt: {
184
+ readonly "f2.dsl.cqrs.page.PagePaginationDTO": unique symbol;
185
+ } & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
140
186
  }
141
187
  class OffsetPagination implements f2.dsl.cqrs.page.OffsetPaginationDTO {
142
188
  constructor(offset: number, limit: number);
143
189
  get offset(): number;
144
190
  get limit(): number;
145
-
191
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.OffsetPaginationDTO["__doNotUseOrImplementIt"];
192
+ static get Companion(): {
193
+ };
146
194
  }
147
195
  class PagePagination implements f2.dsl.cqrs.page.PagePaginationDTO {
148
- constructor(page?: number, size?: number);
196
+ constructor(page: Nullable<number>, size: Nullable<number>);
149
197
  get page(): Nullable<number>;
150
198
  get size(): Nullable<number>;
151
-
199
+ readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PagePaginationDTO["__doNotUseOrImplementIt"];
200
+ static get Companion(): {
201
+ };
152
202
  }
153
203
  }
154
204
  export declare namespace f2.client.domain {
155
205
  abstract class AuthRealm {
156
- protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string);
206
+ protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl: Nullable<string>);
157
207
  get serverUrl(): string;
158
208
  get realmId(): string;
159
209
  get clientId(): string;
@@ -170,33 +220,98 @@ export declare namespace f2.client.domain {
170
220
  copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): f2.client.domain.AuthRealmPassword;
171
221
  toString(): string;
172
222
  hashCode(): number;
173
- equals(other?: any): boolean;
223
+ equals(other: Nullable<any>): boolean;
174
224
  }
175
225
  class AuthRealmClientSecret extends f2.client.domain.AuthRealm {
176
- constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string | undefined, clientSecret: string, isPublic?: boolean);
226
+ constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl: Nullable<string> | undefined, clientSecret: string, isPublic?: boolean);
177
227
  get serverUrl(): string;
178
228
  get realmId(): string;
179
229
  get clientId(): string;
180
230
  get redirectUrl(): Nullable<string>;
181
231
  get clientSecret(): string;
182
232
  get isPublic(): boolean;
183
- copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): f2.client.domain.AuthRealmClientSecret;
233
+ copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: Nullable<string>, clientSecret?: string, isPublic?: boolean): f2.client.domain.AuthRealmClientSecret;
184
234
  toString(): string;
185
235
  hashCode(): number;
186
- equals(other?: any): boolean;
236
+ equals(other: Nullable<any>): boolean;
187
237
  }
188
238
  }
189
239
  export declare namespace io.komune.im.commons.auth {
190
240
  interface AuthedUserDTO {
191
241
  readonly id: string;
192
- readonly identifier?: string;
193
- readonly memberOf?: string;
242
+ readonly identifier: Nullable<string>;
243
+ readonly memberOf: Nullable<string>;
194
244
  readonly roles: Array<string>;
195
-
245
+ readonly __doNotUseOrImplementIt: {
246
+ readonly "io.komune.im.commons.auth.AuthedUserDTO": unique symbol;
247
+ };
196
248
  }
197
249
  }
198
250
  export declare namespace io.komune.im.commons.auth {
199
- type ImRole = "ORCHESTRATOR" | "ORCHESTRATOR_ADMIN" | "ORCHESTRATOR_USER" | "IM_USER_READ" | "IM_USER_WRITE" | "IM_ORGANIZATION_READ" | "IM_ORGANIZATION_WRITE" | "IM_MY_ORGANIZATION_WRITE" | "IM_APIKEY_READ" | "IM_APIKEY_WRITE" | "IM_SPACE_READ" | "IM_SPACE_WRITE" | "IM_ROLE_READ" | "IM_ROLE_WRITE";
251
+ abstract class ImRole {
252
+ private constructor();
253
+ get identifier(): string;
254
+ static get ORCHESTRATOR(): io.komune.im.commons.auth.ImRole & {
255
+ get name(): "ORCHESTRATOR";
256
+ get ordinal(): 0;
257
+ };
258
+ static get ORCHESTRATOR_ADMIN(): io.komune.im.commons.auth.ImRole & {
259
+ get name(): "ORCHESTRATOR_ADMIN";
260
+ get ordinal(): 1;
261
+ };
262
+ static get ORCHESTRATOR_USER(): io.komune.im.commons.auth.ImRole & {
263
+ get name(): "ORCHESTRATOR_USER";
264
+ get ordinal(): 2;
265
+ };
266
+ static get IM_USER_READ(): io.komune.im.commons.auth.ImRole & {
267
+ get name(): "IM_USER_READ";
268
+ get ordinal(): 3;
269
+ };
270
+ static get IM_USER_WRITE(): io.komune.im.commons.auth.ImRole & {
271
+ get name(): "IM_USER_WRITE";
272
+ get ordinal(): 4;
273
+ };
274
+ static get IM_ORGANIZATION_READ(): io.komune.im.commons.auth.ImRole & {
275
+ get name(): "IM_ORGANIZATION_READ";
276
+ get ordinal(): 5;
277
+ };
278
+ static get IM_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
279
+ get name(): "IM_ORGANIZATION_WRITE";
280
+ get ordinal(): 6;
281
+ };
282
+ static get IM_MY_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
283
+ get name(): "IM_MY_ORGANIZATION_WRITE";
284
+ get ordinal(): 7;
285
+ };
286
+ static get IM_APIKEY_READ(): io.komune.im.commons.auth.ImRole & {
287
+ get name(): "IM_APIKEY_READ";
288
+ get ordinal(): 8;
289
+ };
290
+ static get IM_APIKEY_WRITE(): io.komune.im.commons.auth.ImRole & {
291
+ get name(): "IM_APIKEY_WRITE";
292
+ get ordinal(): 9;
293
+ };
294
+ static get IM_SPACE_READ(): io.komune.im.commons.auth.ImRole & {
295
+ get name(): "IM_SPACE_READ";
296
+ get ordinal(): 10;
297
+ };
298
+ static get IM_SPACE_WRITE(): io.komune.im.commons.auth.ImRole & {
299
+ get name(): "IM_SPACE_WRITE";
300
+ get ordinal(): 11;
301
+ };
302
+ static get IM_ROLE_READ(): io.komune.im.commons.auth.ImRole & {
303
+ get name(): "IM_ROLE_READ";
304
+ get ordinal(): 12;
305
+ };
306
+ static get IM_ROLE_WRITE(): io.komune.im.commons.auth.ImRole & {
307
+ get name(): "IM_ROLE_WRITE";
308
+ get ordinal(): 13;
309
+ };
310
+ static values(): Array<io.komune.im.commons.auth.ImRole>;
311
+ static valueOf(value: string): io.komune.im.commons.auth.ImRole;
312
+ get name(): "ORCHESTRATOR" | "ORCHESTRATOR_ADMIN" | "ORCHESTRATOR_USER" | "IM_USER_READ" | "IM_USER_WRITE" | "IM_ORGANIZATION_READ" | "IM_ORGANIZATION_WRITE" | "IM_MY_ORGANIZATION_WRITE" | "IM_APIKEY_READ" | "IM_APIKEY_WRITE" | "IM_SPACE_READ" | "IM_SPACE_WRITE" | "IM_ROLE_READ" | "IM_ROLE_WRITE";
313
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
314
+ }
200
315
  }
201
316
  export declare namespace io.komune.im.commons.exception {
202
317
  const ExceptionCodes: {
@@ -208,45 +323,63 @@ export declare namespace io.komune.im.commons.model {
208
323
  readonly street: string;
209
324
  readonly postalCode: string;
210
325
  readonly city: string;
211
-
326
+ readonly __doNotUseOrImplementIt: {
327
+ readonly "io.komune.im.commons.model.AddressDTO": unique symbol;
328
+ };
212
329
  }
213
330
  }
214
331
  export declare namespace f2.dsl.fnc {
215
332
  interface F2Function<T, R> {
216
333
  invokePromise(cmds: Array<T>): Promise<Array<R>>;
217
-
334
+ readonly __doNotUseOrImplementIt: {
335
+ readonly "f2.dsl.fnc.F2Function": unique symbol;
336
+ };
218
337
  }
219
338
  interface F2Consumer<T> {
220
339
  invokePromise(cmds: Array<T>): Promise<void>;
221
-
340
+ readonly __doNotUseOrImplementIt: {
341
+ readonly "f2.dsl.fnc.F2Consumer": unique symbol;
342
+ };
222
343
  }
223
344
  interface F2Supplier<R> {
224
345
  invokePromise(): Promise<Array<R>>;
225
-
346
+ readonly __doNotUseOrImplementIt: {
347
+ readonly "f2.dsl.fnc.F2Supplier": unique symbol;
348
+ };
226
349
  }
227
350
  interface F2SupplierSingle<R> {
228
351
  invokePromise(): Promise<R>;
229
-
352
+ readonly __doNotUseOrImplementIt: {
353
+ readonly "f2.dsl.fnc.F2SupplierSingle": unique symbol;
354
+ };
230
355
  }
231
356
  }
232
357
  export declare namespace io.komune.im.core.user.domain.command {
233
358
  interface UserDeleteCommandDTO {
234
359
  readonly id: string;
235
-
360
+ readonly __doNotUseOrImplementIt: {
361
+ readonly "io.komune.im.core.user.domain.command.UserDeleteCommandDTO": unique symbol;
362
+ };
236
363
  }
237
364
  interface UserDeletedEventDTO {
238
365
  readonly id: string;
239
-
366
+ readonly __doNotUseOrImplementIt: {
367
+ readonly "io.komune.im.core.user.domain.command.UserDeletedEventDTO": unique symbol;
368
+ };
240
369
  }
241
370
  }
242
371
  export declare namespace io.komune.im.core.organization.domain.command {
243
372
  interface OrganizationDeleteCommandDTO extends f2.dsl.cqrs.Command {
244
373
  readonly id: string;
245
-
374
+ readonly __doNotUseOrImplementIt: {
375
+ readonly "io.komune.im.core.organization.domain.command.OrganizationDeleteCommandDTO": unique symbol;
376
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
246
377
  }
247
378
  interface OrganizationDeletedEventDTO extends f2.dsl.cqrs.Event {
248
379
  readonly id: string;
249
-
380
+ readonly __doNotUseOrImplementIt: {
381
+ readonly "io.komune.im.core.organization.domain.command.OrganizationDeletedEventDTO": unique symbol;
382
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
250
383
  }
251
384
  }
252
385
  export declare namespace io.komune.im.f2.privilege.domain {
@@ -260,11 +393,15 @@ export declare namespace io.komune.im.f2.privilege.domain.feature.command {
260
393
  interface FeatureDefineCommandDTO {
261
394
  readonly identifier: string;
262
395
  readonly description: string;
263
-
396
+ readonly __doNotUseOrImplementIt: {
397
+ readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefineCommandDTO": unique symbol;
398
+ };
264
399
  }
265
400
  interface FeatureDefinedEventDTO extends f2.dsl.cqrs.Event {
266
401
  readonly identifier: string;
267
-
402
+ readonly __doNotUseOrImplementIt: {
403
+ readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefinedEventDTO": unique symbol;
404
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
268
405
  }
269
406
  }
270
407
  export declare namespace io.komune.im.f2.privilege.domain.feature.model {
@@ -273,26 +410,36 @@ export declare namespace io.komune.im.f2.privilege.domain.feature.model {
273
410
  readonly type: string;
274
411
  readonly identifier: string;
275
412
  readonly description: string;
276
-
413
+ readonly __doNotUseOrImplementIt: {
414
+ readonly "io.komune.im.f2.privilege.domain.feature.model.FeatureDTO": unique symbol;
415
+ } & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
277
416
  }
278
417
  }
279
418
  export declare namespace io.komune.im.f2.privilege.domain.feature.query {
280
419
  interface FeatureGetQueryDTO {
281
420
  readonly identifier: string;
282
-
421
+ readonly __doNotUseOrImplementIt: {
422
+ readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetQueryDTO": unique symbol;
423
+ };
283
424
  }
284
425
  interface FeatureGetResultDTO {
285
- readonly item?: io.komune.im.f2.privilege.domain.feature.model.FeatureDTO;
286
-
426
+ readonly item: Nullable<io.komune.im.f2.privilege.domain.feature.model.FeatureDTO>;
427
+ readonly __doNotUseOrImplementIt: {
428
+ readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetResultDTO": unique symbol;
429
+ };
287
430
  }
288
431
  }
289
432
  export declare namespace io.komune.im.f2.privilege.domain.feature.query {
290
433
  interface FeatureListQueryDTO {
291
-
434
+ readonly __doNotUseOrImplementIt: {
435
+ readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListQueryDTO": unique symbol;
436
+ };
292
437
  }
293
438
  interface FeatureListResultDTO {
294
- readonly items: io.komune.im.f2.privilege.domain.feature.model.FeatureDTO[];
295
-
439
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.feature.model.FeatureDTO> */;
440
+ readonly __doNotUseOrImplementIt: {
441
+ readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListResultDTO": unique symbol;
442
+ };
296
443
  }
297
444
  }
298
445
  export declare namespace io.komune.im.f2.privilege.domain.model {
@@ -301,19 +448,25 @@ export declare namespace io.komune.im.f2.privilege.domain.model {
301
448
  readonly identifier: string;
302
449
  readonly description: string;
303
450
  readonly type: string;
304
-
451
+ readonly __doNotUseOrImplementIt: {
452
+ readonly "io.komune.im.f2.privilege.domain.model.PrivilegeDTO": unique symbol;
453
+ };
305
454
  }
306
455
  }
307
456
  export declare namespace io.komune.im.f2.privilege.domain.permission.command {
308
457
  interface PermissionDefineCommandDTO {
309
458
  readonly identifier: string;
310
459
  readonly description: string;
311
- readonly features?: string[][];
312
-
460
+ readonly features: Nullable<any>/* Nullable<kotlin.collections.List<kotlin.collections.List<string>>> */;
461
+ readonly __doNotUseOrImplementIt: {
462
+ readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefineCommandDTO": unique symbol;
463
+ };
313
464
  }
314
465
  interface PermissionDefinedEventDTO extends f2.dsl.cqrs.Event {
315
466
  readonly identifier: string;
316
-
467
+ readonly __doNotUseOrImplementIt: {
468
+ readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefinedEventDTO": unique symbol;
469
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
317
470
  }
318
471
  }
319
472
  export declare namespace io.komune.im.f2.privilege.domain.permission.model {
@@ -322,42 +475,56 @@ export declare namespace io.komune.im.f2.privilege.domain.permission.model {
322
475
  readonly type: string;
323
476
  readonly identifier: string;
324
477
  readonly description: string;
325
- readonly features?: string[][];
326
-
478
+ readonly features: Nullable<any>/* Nullable<kotlin.collections.List<kotlin.collections.List<string>>> */;
479
+ readonly __doNotUseOrImplementIt: {
480
+ readonly "io.komune.im.f2.privilege.domain.permission.model.PermissionDTO": unique symbol;
481
+ } & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
327
482
  }
328
483
  }
329
484
  export declare namespace io.komune.im.f2.privilege.domain.permission.query {
330
485
  interface PermissionGetQueryDTO {
331
486
  readonly identifier: string;
332
-
487
+ readonly __doNotUseOrImplementIt: {
488
+ readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetQueryDTO": unique symbol;
489
+ };
333
490
  }
334
491
  interface PermissionGetResultDTO {
335
- readonly item?: io.komune.im.f2.privilege.domain.permission.model.PermissionDTO;
336
-
492
+ readonly item: Nullable<io.komune.im.f2.privilege.domain.permission.model.PermissionDTO>;
493
+ readonly __doNotUseOrImplementIt: {
494
+ readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetResultDTO": unique symbol;
495
+ };
337
496
  }
338
497
  }
339
498
  export declare namespace io.komune.im.f2.privilege.domain.permission.query {
340
499
  interface PermissionListQueryDTO {
341
-
500
+ readonly __doNotUseOrImplementIt: {
501
+ readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListQueryDTO": unique symbol;
502
+ };
342
503
  }
343
504
  interface PermissionListResultDTO {
344
- readonly items: io.komune.im.f2.privilege.domain.permission.model.PermissionDTO[];
345
-
505
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.permission.model.PermissionDTO> */;
506
+ readonly __doNotUseOrImplementIt: {
507
+ readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListResultDTO": unique symbol;
508
+ };
346
509
  }
347
510
  }
348
511
  export declare namespace io.komune.im.f2.privilege.domain.role.command {
349
512
  interface RoleDefineCommandDTO {
350
513
  readonly identifier: string;
351
514
  readonly description: string;
352
- readonly targets: string[];
353
- readonly locale: Record<string, string>;
354
- readonly bindings?: Record<string, string[]>;
355
- readonly permissions?: string[];
356
-
515
+ readonly targets: any/* kotlin.collections.List<string> */;
516
+ readonly locale: any/* kotlin.collections.Map<string, string> */;
517
+ readonly bindings: Nullable<any>/* Nullable<kotlin.collections.Map<string, kotlin.collections.List<string>>> */;
518
+ readonly permissions: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
519
+ readonly __doNotUseOrImplementIt: {
520
+ readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefineCommandDTO": unique symbol;
521
+ };
357
522
  }
358
523
  interface RoleDefinedEventDTO extends f2.dsl.cqrs.Event {
359
524
  readonly identifier: string;
360
-
525
+ readonly __doNotUseOrImplementIt: {
526
+ readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefinedEventDTO": unique symbol;
527
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
361
528
  }
362
529
  }
363
530
  export declare namespace io.komune.im.f2.privilege.domain.role.model {
@@ -366,11 +533,13 @@ export declare namespace io.komune.im.f2.privilege.domain.role.model {
366
533
  readonly type: string;
367
534
  readonly identifier: string;
368
535
  readonly description: string;
369
- readonly targets: string[];
370
- readonly locale: Record<string, string>;
371
- readonly bindings: Record<string, io.komune.im.f2.privilege.domain.role.model.RoleDTO[]>;
372
- readonly permissions: string[];
373
-
536
+ readonly targets: any/* kotlin.collections.List<string> */;
537
+ readonly locale: any/* kotlin.collections.Map<string, string> */;
538
+ readonly bindings: any/* kotlin.collections.Map<string, kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO>> */;
539
+ readonly permissions: any/* kotlin.collections.List<string> */;
540
+ readonly __doNotUseOrImplementIt: {
541
+ readonly "io.komune.im.f2.privilege.domain.role.model.RoleDTO": unique symbol;
542
+ } & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
374
543
  }
375
544
  }
376
545
  export declare namespace io.komune.im.f2.privilege.domain.role.model {
@@ -383,120 +552,152 @@ export declare namespace io.komune.im.f2.privilege.domain.role.model {
383
552
  export declare namespace io.komune.im.f2.privilege.domain.role.query {
384
553
  interface RoleGetQueryDTO {
385
554
  readonly identifier: string;
386
-
555
+ readonly __doNotUseOrImplementIt: {
556
+ readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetQueryDTO": unique symbol;
557
+ };
387
558
  }
388
559
  interface RoleGetResultDTO {
389
- readonly item?: io.komune.im.f2.privilege.domain.role.model.RoleDTO;
390
-
560
+ readonly item: Nullable<io.komune.im.f2.privilege.domain.role.model.RoleDTO>;
561
+ readonly __doNotUseOrImplementIt: {
562
+ readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetResultDTO": unique symbol;
563
+ };
391
564
  }
392
565
  }
393
566
  export declare namespace io.komune.im.f2.privilege.domain.role.query {
394
567
  interface RoleListQueryDTO {
395
- readonly target?: string;
396
-
568
+ readonly target: Nullable<string>;
569
+ readonly __doNotUseOrImplementIt: {
570
+ readonly "io.komune.im.f2.privilege.domain.role.query.RoleListQueryDTO": unique symbol;
571
+ };
397
572
  }
398
573
  interface RoleListResultDTO {
399
- readonly items: io.komune.im.f2.privilege.domain.role.model.RoleDTO[];
400
-
574
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO> */;
575
+ readonly __doNotUseOrImplementIt: {
576
+ readonly "io.komune.im.f2.privilege.domain.role.query.RoleListResultDTO": unique symbol;
577
+ };
401
578
  }
402
579
  }
403
580
  export declare namespace io.komune.im.f2.organization.domain.command {
404
581
  interface OrganizationCreateCommandDTO extends f2.dsl.cqrs.Command {
405
- readonly siret?: string;
582
+ readonly siret: Nullable<string>;
406
583
  readonly name: string;
407
- readonly description?: string;
408
- readonly address?: io.komune.im.commons.model.AddressDTO;
409
- readonly website?: string;
410
- readonly roles?: string[];
411
- readonly parentOrganizationId?: string;
412
- readonly attributes?: Record<string, string>;
413
- readonly status?: string;
414
-
584
+ readonly description: Nullable<string>;
585
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>;
586
+ readonly website: Nullable<string>;
587
+ readonly roles: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
588
+ readonly parentOrganizationId: Nullable<string>;
589
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
590
+ readonly status: Nullable<string>;
591
+ readonly __doNotUseOrImplementIt: {
592
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationCreateCommandDTO": unique symbol;
593
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
415
594
  }
416
595
  interface OrganizationCreatedEventDTO extends f2.dsl.cqrs.Event {
417
596
  readonly id: string;
418
- readonly parentOrganization?: string;
419
-
597
+ readonly parentOrganization: Nullable<string>;
598
+ readonly __doNotUseOrImplementIt: {
599
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationCreatedEventDTO": unique symbol;
600
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
420
601
  }
421
602
  }
422
603
  export declare namespace io.komune.im.f2.organization.domain.command {
423
604
  interface OrganizationDeleteCommandDTO extends io.komune.im.core.organization.domain.command.OrganizationDeleteCommandDTO {
424
605
  readonly id: string;
425
-
606
+ readonly __doNotUseOrImplementIt: {
607
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationDeleteCommandDTO": unique symbol;
608
+ } & io.komune.im.core.organization.domain.command.OrganizationDeleteCommandDTO["__doNotUseOrImplementIt"];
426
609
  }
427
610
  interface OrganizationDeletedEventDTO extends f2.dsl.cqrs.Event, io.komune.im.core.organization.domain.command.OrganizationDeletedEventDTO {
428
611
  readonly id: string;
429
-
612
+ readonly __doNotUseOrImplementIt: {
613
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationDeletedEventDTO": unique symbol;
614
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"] & io.komune.im.core.organization.domain.command.OrganizationDeletedEventDTO["__doNotUseOrImplementIt"];
430
615
  }
431
616
  }
432
617
  export declare namespace io.komune.im.f2.organization.domain.command {
433
618
  interface OrganizationDisableCommandDTO extends f2.dsl.cqrs.Command {
434
619
  readonly id: string;
435
- readonly disabledBy?: string;
620
+ readonly disabledBy: Nullable<string>;
436
621
  readonly anonymize: boolean;
437
- readonly attributes?: Record<string, string>;
438
- readonly userAttributes?: Record<string, string>;
439
-
622
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
623
+ readonly userAttributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
624
+ readonly __doNotUseOrImplementIt: {
625
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationDisableCommandDTO": unique symbol;
626
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
440
627
  }
441
628
  interface OrganizationDisabledEventDTO extends f2.dsl.cqrs.Event {
442
629
  readonly id: string;
443
- readonly userIds: string[];
444
-
630
+ readonly userIds: any/* kotlin.collections.List<string> */;
631
+ readonly __doNotUseOrImplementIt: {
632
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationDisabledEventDTO": unique symbol;
633
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
445
634
  }
446
635
  }
447
636
  export declare namespace io.komune.im.f2.organization.domain.command {
448
637
  interface OrganizationUpdateCommandDTO extends f2.dsl.cqrs.Command {
449
638
  readonly id: string;
450
639
  readonly name: string;
451
- readonly description?: string;
452
- readonly address?: io.komune.im.commons.model.AddressDTO;
453
- readonly website?: string;
454
- readonly roles?: string[];
455
- readonly attributes?: Record<string, string>;
456
- readonly status?: string;
457
-
640
+ readonly description: Nullable<string>;
641
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>;
642
+ readonly website: Nullable<string>;
643
+ readonly roles: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
644
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
645
+ readonly status: Nullable<string>;
646
+ readonly __doNotUseOrImplementIt: {
647
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationUpdateCommandDTO": unique symbol;
648
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
458
649
  }
459
650
  interface OrganizationUpdatedResultDTO extends f2.dsl.cqrs.Event {
460
651
  readonly id: string;
461
-
652
+ readonly __doNotUseOrImplementIt: {
653
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationUpdatedResultDTO": unique symbol;
654
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
462
655
  }
463
656
  }
464
657
  export declare namespace io.komune.im.f2.organization.domain.command {
465
658
  interface OrganizationUploadLogoCommandDTO extends f2.dsl.cqrs.Command {
466
659
  readonly id: string;
467
-
660
+ readonly __doNotUseOrImplementIt: {
661
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationUploadLogoCommandDTO": unique symbol;
662
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
468
663
  }
469
664
  interface OrganizationUploadedLogoEventDTO extends f2.dsl.cqrs.Event {
470
665
  readonly id: string;
471
666
  readonly url: string;
472
-
667
+ readonly __doNotUseOrImplementIt: {
668
+ readonly "io.komune.im.f2.organization.domain.command.OrganizationUploadedLogoEventDTO": unique symbol;
669
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
473
670
  }
474
671
  }
475
672
  export declare namespace io.komune.im.f2.organization.domain.model {
476
673
  interface OrganizationDTO {
477
674
  readonly id: string;
478
- readonly siret?: string;
675
+ readonly siret: Nullable<string>;
479
676
  readonly name: string;
480
- readonly description?: string;
481
- readonly address?: io.komune.im.commons.model.AddressDTO;
482
- readonly website?: string;
483
- readonly attributes: Record<string, string>;
484
- readonly roles: io.komune.im.f2.privilege.domain.role.model.RoleDTO[];
485
- readonly logo?: string;
677
+ readonly description: Nullable<string>;
678
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>;
679
+ readonly website: Nullable<string>;
680
+ readonly attributes: any/* kotlin.collections.Map<string, string> */;
681
+ readonly roles: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO> */;
682
+ readonly logo: Nullable<string>;
486
683
  readonly enabled: boolean;
487
684
  readonly status: string;
488
- readonly disabledBy?: string;
489
- readonly creationDate: number;
490
- readonly disabledDate?: number;
491
-
685
+ readonly disabledBy: Nullable<string>;
686
+ readonly creationDate: any/* kotlin.Long */;
687
+ readonly disabledDate: Nullable<any>/* Nullable<kotlin.Long> */;
688
+ readonly __doNotUseOrImplementIt: {
689
+ readonly "io.komune.im.f2.organization.domain.model.OrganizationDTO": unique symbol;
690
+ };
492
691
  }
493
692
  }
494
693
  export declare namespace io.komune.im.f2.organization.domain.model {
495
694
  interface OrganizationRefDTO {
496
695
  readonly id: string;
497
696
  readonly name: string;
498
- readonly roles: string[];
499
-
697
+ readonly roles: any/* kotlin.collections.List<string> */;
698
+ readonly __doNotUseOrImplementIt: {
699
+ readonly "io.komune.im.f2.organization.domain.model.OrganizationRefDTO": unique symbol;
700
+ };
500
701
  }
501
702
  }
502
703
  export declare namespace io.komune.im.f2.organization.domain.model {
@@ -510,7 +711,7 @@ export declare namespace io.komune.im.f2.organization.domain.policies {
510
711
  const OrganizationPolicies: {
511
712
  canGet(authedUser: io.komune.im.commons.auth.AuthedUserDTO, organizationId: string): boolean;
512
713
  canList(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
513
- checkRefList(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
714
+ checkRefList(authedUser: Nullable<io.komune.im.commons.auth.AuthedUserDTO>): boolean;
514
715
  canCreate(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
515
716
  canUpdate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, organizationId: string): boolean;
516
717
  canUpdateStatus(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
@@ -521,114 +722,150 @@ export declare namespace io.komune.im.f2.organization.domain.policies {
521
722
  export declare namespace io.komune.im.f2.organization.domain.query {
522
723
  interface OrganizationGetFromInseeQueryDTO extends f2.dsl.cqrs.Query {
523
724
  readonly siret: string;
524
-
725
+ readonly __doNotUseOrImplementIt: {
726
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationGetFromInseeQueryDTO": unique symbol;
727
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
525
728
  }
526
729
  interface OrganizationGetFromInseeResultDTO extends f2.dsl.cqrs.Event {
527
- readonly item?: io.komune.im.f2.organization.domain.model.OrganizationDTO;
528
-
730
+ readonly item: Nullable<io.komune.im.f2.organization.domain.model.OrganizationDTO>;
731
+ readonly __doNotUseOrImplementIt: {
732
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationGetFromInseeResultDTO": unique symbol;
733
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
529
734
  }
530
735
  }
531
736
  export declare namespace io.komune.im.f2.organization.domain.query {
532
737
  interface OrganizationGetQueryDTO extends f2.dsl.cqrs.Query {
533
738
  readonly id: string;
534
-
739
+ readonly __doNotUseOrImplementIt: {
740
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationGetQueryDTO": unique symbol;
741
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
535
742
  }
536
743
  interface OrganizationGetResultDTO extends f2.dsl.cqrs.Event {
537
- readonly item?: io.komune.im.f2.organization.domain.model.OrganizationDTO;
538
-
744
+ readonly item: Nullable<io.komune.im.f2.organization.domain.model.OrganizationDTO>;
745
+ readonly __doNotUseOrImplementIt: {
746
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationGetResultDTO": unique symbol;
747
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
539
748
  }
540
749
  }
541
750
  export declare namespace io.komune.im.f2.organization.domain.query {
542
751
  interface OrganizationPageQueryDTO extends f2.dsl.cqrs.Query {
543
- readonly name?: string;
544
- readonly role?: string;
545
- readonly roles?: string[];
546
- readonly attributes?: Record<string, string>;
547
- readonly status?: string[];
548
- readonly withDisabled?: boolean;
549
- readonly offset?: number;
550
- readonly limit?: number;
551
-
752
+ readonly name: Nullable<string>;
753
+ readonly role: Nullable<string>;
754
+ readonly roles: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
755
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
756
+ readonly status: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
757
+ readonly withDisabled: Nullable<boolean>;
758
+ readonly offset: Nullable<number>;
759
+ readonly limit: Nullable<number>;
760
+ readonly __doNotUseOrImplementIt: {
761
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationPageQueryDTO": unique symbol;
762
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
552
763
  }
553
764
  interface OrganizationPageResultDTO extends f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.organization.domain.model.OrganizationDTO> {
554
- readonly items: io.komune.im.f2.organization.domain.model.OrganizationDTO[];
765
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.organization.domain.model.OrganizationDTO> */;
555
766
  readonly total: number;
556
-
767
+ readonly __doNotUseOrImplementIt: {
768
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationPageResultDTO": unique symbol;
769
+ } & f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.organization.domain.model.OrganizationDTO>["__doNotUseOrImplementIt"];
557
770
  }
558
771
  }
559
772
  export declare namespace io.komune.im.f2.organization.domain.query {
560
773
  interface OrganizationRefGetQueryDTO extends f2.dsl.cqrs.Query {
561
774
  readonly id: string;
562
-
775
+ readonly __doNotUseOrImplementIt: {
776
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationRefGetQueryDTO": unique symbol;
777
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
563
778
  }
564
779
  interface OrganizationRefGetResultDTO extends f2.dsl.cqrs.Event {
565
- readonly item?: io.komune.im.f2.organization.domain.model.OrganizationRefDTO;
566
-
780
+ readonly item: Nullable<io.komune.im.f2.organization.domain.model.OrganizationRefDTO>;
781
+ readonly __doNotUseOrImplementIt: {
782
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationRefGetResultDTO": unique symbol;
783
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
567
784
  }
568
785
  }
569
786
  export declare namespace io.komune.im.f2.organization.domain.query {
570
787
  interface OrganizationRefListQueryDTO extends f2.dsl.cqrs.Query {
571
788
  readonly withDisabled: boolean;
572
-
789
+ readonly __doNotUseOrImplementIt: {
790
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationRefListQueryDTO": unique symbol;
791
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
573
792
  }
574
793
  interface OrganizationRefListResultDTO extends f2.dsl.cqrs.Event {
575
- readonly items: io.komune.im.f2.organization.domain.model.OrganizationRefDTO[];
576
-
794
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.organization.domain.model.OrganizationRefDTO> */;
795
+ readonly __doNotUseOrImplementIt: {
796
+ readonly "io.komune.im.f2.organization.domain.query.OrganizationRefListResultDTO": unique symbol;
797
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
577
798
  }
578
799
  }
579
800
  export declare namespace io.komune.im.f2.user.domain.command {
580
801
  interface UserCreateCommandDTO extends f2.dsl.cqrs.Command {
581
802
  readonly email: string;
582
- readonly password?: string;
803
+ readonly password: Nullable<string>;
583
804
  readonly givenName: string;
584
805
  readonly familyName: string;
585
- readonly address?: io.komune.im.commons.model.AddressDTO/* Nullable<io.komune.im.commons.model.Address> */;
586
- readonly phone?: string;
587
- readonly roles: string[];
588
- readonly memberOf?: string;
589
- readonly attributes?: Record<string, string>;
806
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>/* Nullable<io.komune.im.commons.model.Address> */;
807
+ readonly phone: Nullable<string>;
808
+ readonly roles: any/* kotlin.collections.List<string> */;
809
+ readonly memberOf: Nullable<string>;
810
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
590
811
  readonly isEmailVerified: boolean;
591
812
  readonly isPasswordTemporary: boolean;
592
813
  readonly sendResetPassword: boolean;
593
814
  readonly sendVerifyEmail: boolean;
594
-
815
+ readonly __doNotUseOrImplementIt: {
816
+ readonly "io.komune.im.f2.user.domain.command.UserCreateCommandDTO": unique symbol;
817
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
595
818
  }
596
819
  interface UserCreatedEventDTO extends f2.dsl.cqrs.Event {
597
820
  readonly id: string;
598
-
821
+ readonly __doNotUseOrImplementIt: {
822
+ readonly "io.komune.im.f2.user.domain.command.UserCreatedEventDTO": unique symbol;
823
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
599
824
  }
600
825
  }
601
826
  export declare namespace io.komune.im.f2.user.domain.command {
602
827
  interface UserDeleteCommandDTO extends io.komune.im.core.user.domain.command.UserDeleteCommandDTO, f2.dsl.cqrs.Command {
603
828
  readonly id: string;
604
-
829
+ readonly __doNotUseOrImplementIt: {
830
+ readonly "io.komune.im.f2.user.domain.command.UserDeleteCommandDTO": unique symbol;
831
+ } & io.komune.im.core.user.domain.command.UserDeleteCommandDTO["__doNotUseOrImplementIt"] & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
605
832
  }
606
833
  interface UserDeletedEventDTO extends io.komune.im.core.user.domain.command.UserDeletedEventDTO, f2.dsl.cqrs.Event {
607
834
  readonly id: string;
608
-
835
+ readonly __doNotUseOrImplementIt: {
836
+ readonly "io.komune.im.f2.user.domain.command.UserDeletedEventDTO": unique symbol;
837
+ } & io.komune.im.core.user.domain.command.UserDeletedEventDTO["__doNotUseOrImplementIt"] & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
609
838
  }
610
839
  }
611
840
  export declare namespace io.komune.im.f2.user.domain.command {
612
841
  interface UserDisableCommandDTO extends f2.dsl.cqrs.Command {
613
842
  readonly id: string;
614
- readonly disabledBy?: string;
843
+ readonly disabledBy: Nullable<string>;
615
844
  readonly anonymize: boolean;
616
- readonly attributes?: Record<string, string>;
617
-
845
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
846
+ readonly __doNotUseOrImplementIt: {
847
+ readonly "io.komune.im.f2.user.domain.command.UserDisableCommandDTO": unique symbol;
848
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
618
849
  }
619
850
  interface UserDisabledEventDTO extends f2.dsl.cqrs.Event {
620
851
  readonly id: string;
621
-
852
+ readonly __doNotUseOrImplementIt: {
853
+ readonly "io.komune.im.f2.user.domain.command.UserDisabledEventDTO": unique symbol;
854
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
622
855
  }
623
856
  }
624
857
  export declare namespace io.komune.im.f2.user.domain.command {
625
858
  interface UserResetPasswordCommandDTO extends f2.dsl.cqrs.Command {
626
859
  readonly id: string;
627
-
860
+ readonly __doNotUseOrImplementIt: {
861
+ readonly "io.komune.im.f2.user.domain.command.UserResetPasswordCommandDTO": unique symbol;
862
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
628
863
  }
629
864
  interface UserResetPasswordEventDTO extends f2.dsl.cqrs.Event {
630
865
  readonly id: string;
631
-
866
+ readonly __doNotUseOrImplementIt: {
867
+ readonly "io.komune.im.f2.user.domain.command.UserResetPasswordEventDTO": unique symbol;
868
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
632
869
  }
633
870
  }
634
871
  export declare namespace io.komune.im.f2.user.domain.command {
@@ -636,16 +873,20 @@ export declare namespace io.komune.im.f2.user.domain.command {
636
873
  readonly id: string;
637
874
  readonly givenName: string;
638
875
  readonly familyName: string;
639
- readonly address?: io.komune.im.commons.model.AddressDTO;
640
- readonly phone?: string;
641
- readonly roles: string[];
642
- readonly memberOf?: string;
643
- readonly attributes?: Record<string, string>;
644
-
876
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>;
877
+ readonly phone: Nullable<string>;
878
+ readonly roles: any/* kotlin.collections.List<string> */;
879
+ readonly memberOf: Nullable<string>;
880
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
881
+ readonly __doNotUseOrImplementIt: {
882
+ readonly "io.komune.im.f2.user.domain.command.UserUpdateCommandDTO": unique symbol;
883
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
645
884
  }
646
885
  interface UserUpdatedEventDTO extends f2.dsl.cqrs.Event {
647
886
  readonly id: string;
648
-
887
+ readonly __doNotUseOrImplementIt: {
888
+ readonly "io.komune.im.f2.user.domain.command.UserUpdatedEventDTO": unique symbol;
889
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
649
890
  }
650
891
  }
651
892
  export declare namespace io.komune.im.f2.user.domain.command {
@@ -653,48 +894,58 @@ export declare namespace io.komune.im.f2.user.domain.command {
653
894
  readonly id: string;
654
895
  readonly email: string;
655
896
  readonly sendVerificationEmail: boolean;
656
-
897
+ readonly __doNotUseOrImplementIt: {
898
+ readonly "io.komune.im.f2.user.domain.command.UserUpdateEmailCommandDTO": unique symbol;
899
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
657
900
  }
658
901
  interface UserUpdatedEmailEventDTO extends f2.dsl.cqrs.Event {
659
902
  readonly id: string;
660
-
903
+ readonly __doNotUseOrImplementIt: {
904
+ readonly "io.komune.im.f2.user.domain.command.UserUpdatedEmailEventDTO": unique symbol;
905
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
661
906
  }
662
907
  }
663
908
  export declare namespace io.komune.im.f2.user.domain.command {
664
909
  interface UserUpdatePasswordCommandDTO extends f2.dsl.cqrs.Command {
665
910
  readonly id: string;
666
911
  readonly password: string;
667
-
912
+ readonly __doNotUseOrImplementIt: {
913
+ readonly "io.komune.im.f2.user.domain.command.UserUpdatePasswordCommandDTO": unique symbol;
914
+ } & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
668
915
  }
669
916
  interface UserUpdatedPasswordEventDTO extends f2.dsl.cqrs.Event {
670
917
  readonly id: string;
671
-
918
+ readonly __doNotUseOrImplementIt: {
919
+ readonly "io.komune.im.f2.user.domain.command.UserUpdatedPasswordEventDTO": unique symbol;
920
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
672
921
  }
673
922
  }
674
923
  export declare namespace io.komune.im.f2.user.domain.model {
675
924
  interface UserDTO {
676
925
  readonly id: string;
677
- readonly memberOf?: io.komune.im.f2.organization.domain.model.OrganizationRefDTO;
926
+ readonly memberOf: Nullable<io.komune.im.f2.organization.domain.model.OrganizationRefDTO>;
678
927
  readonly email: string;
679
928
  readonly givenName: string;
680
929
  readonly familyName: string;
681
- readonly address?: io.komune.im.commons.model.AddressDTO;
682
- readonly phone?: string;
683
- readonly roles: io.komune.im.f2.privilege.domain.role.model.RoleDTO[];
684
- readonly attributes: Record<string, string>;
930
+ readonly address: Nullable<io.komune.im.commons.model.AddressDTO>;
931
+ readonly phone: Nullable<string>;
932
+ readonly roles: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO> */;
933
+ readonly attributes: any/* kotlin.collections.Map<string, string> */;
685
934
  readonly enabled: boolean;
686
- readonly disabledBy?: string;
687
- readonly creationDate: number;
688
- readonly disabledDate?: number;
689
-
935
+ readonly disabledBy: Nullable<string>;
936
+ readonly creationDate: any/* kotlin.Long */;
937
+ readonly disabledDate: Nullable<any>/* Nullable<kotlin.Long> */;
938
+ readonly __doNotUseOrImplementIt: {
939
+ readonly "io.komune.im.f2.user.domain.model.UserDTO": unique symbol;
940
+ };
690
941
  }
691
942
  }
692
943
  export declare namespace io.komune.im.f2.user.domain.policies {
693
944
  const UserPolicies: {
694
- canGet(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user?: io.komune.im.f2.user.domain.model.UserDTO): boolean;
945
+ canGet(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: Nullable<io.komune.im.f2.user.domain.model.UserDTO>): boolean;
695
946
  canPage(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
696
947
  checkRefList(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
697
- canCreate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, organizationId?: string): boolean;
948
+ canCreate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, organizationId: Nullable<string>): boolean;
698
949
  canUpdate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: io.komune.im.f2.user.domain.model.UserDTO): boolean;
699
950
  canUpdateMemberOf(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
700
951
  canDisable(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: io.komune.im.f2.user.domain.model.UserDTO): boolean;
@@ -704,51 +955,67 @@ export declare namespace io.komune.im.f2.user.domain.policies {
704
955
  export declare namespace io.komune.im.f2.user.domain.query {
705
956
  interface UserExistsByEmailQueryDTO extends f2.dsl.cqrs.Query {
706
957
  readonly email: string;
707
-
958
+ readonly __doNotUseOrImplementIt: {
959
+ readonly "io.komune.im.f2.user.domain.query.UserExistsByEmailQueryDTO": unique symbol;
960
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
708
961
  }
709
962
  interface UserExistsByEmailResultDTO extends f2.dsl.cqrs.Event {
710
963
  readonly item: boolean;
711
-
964
+ readonly __doNotUseOrImplementIt: {
965
+ readonly "io.komune.im.f2.user.domain.query.UserExistsByEmailResultDTO": unique symbol;
966
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
712
967
  }
713
968
  }
714
969
  export declare namespace io.komune.im.f2.user.domain.query {
715
970
  interface UserGetByEmailQueryDTO extends f2.dsl.cqrs.Query {
716
971
  readonly email: string;
717
-
972
+ readonly __doNotUseOrImplementIt: {
973
+ readonly "io.komune.im.f2.user.domain.query.UserGetByEmailQueryDTO": unique symbol;
974
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
718
975
  }
719
976
  interface UserGetByEmailResultDTO extends f2.dsl.cqrs.Event {
720
- readonly item?: io.komune.im.f2.user.domain.model.UserDTO;
721
-
977
+ readonly item: Nullable<io.komune.im.f2.user.domain.model.UserDTO>;
978
+ readonly __doNotUseOrImplementIt: {
979
+ readonly "io.komune.im.f2.user.domain.query.UserGetByEmailResultDTO": unique symbol;
980
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
722
981
  }
723
982
  }
724
983
  export declare namespace io.komune.im.f2.user.domain.query {
725
984
  interface UserGetQueryDTO extends f2.dsl.cqrs.Query {
726
985
  readonly id: string;
727
-
986
+ readonly __doNotUseOrImplementIt: {
987
+ readonly "io.komune.im.f2.user.domain.query.UserGetQueryDTO": unique symbol;
988
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
728
989
  }
729
990
  interface UserGetResultDTO extends f2.dsl.cqrs.Event {
730
- readonly item?: io.komune.im.f2.user.domain.model.UserDTO;
731
-
991
+ readonly item: Nullable<io.komune.im.f2.user.domain.model.UserDTO>;
992
+ readonly __doNotUseOrImplementIt: {
993
+ readonly "io.komune.im.f2.user.domain.query.UserGetResultDTO": unique symbol;
994
+ } & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
732
995
  }
733
996
  }
734
997
  export declare namespace io.komune.im.f2.user.domain.query {
735
998
  interface UserPageQueryDTO extends f2.dsl.cqrs.Query {
736
- readonly organizationId?: string;
737
- readonly organizationName?: string;
738
- readonly name?: string;
739
- readonly email?: string;
740
- readonly role?: string;
741
- readonly roles?: string[];
742
- readonly attributes?: Record<string, string>;
999
+ readonly organizationId: Nullable<string>;
1000
+ readonly organizationName: Nullable<string>;
1001
+ readonly name: Nullable<string>;
1002
+ readonly email: Nullable<string>;
1003
+ readonly role: Nullable<string>;
1004
+ readonly roles: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
1005
+ readonly attributes: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */;
743
1006
  readonly withDisabled: boolean;
744
- readonly offset?: number;
745
- readonly limit?: number;
746
-
1007
+ readonly offset: Nullable<number>;
1008
+ readonly limit: Nullable<number>;
1009
+ readonly __doNotUseOrImplementIt: {
1010
+ readonly "io.komune.im.f2.user.domain.query.UserPageQueryDTO": unique symbol;
1011
+ } & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
747
1012
  }
748
1013
  interface UserPageResultDTO extends f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.user.domain.model.UserDTO> {
749
- readonly items: io.komune.im.f2.user.domain.model.UserDTO[];
1014
+ readonly items: any/* kotlin.collections.List<io.komune.im.f2.user.domain.model.UserDTO> */;
750
1015
  readonly total: number;
751
-
1016
+ readonly __doNotUseOrImplementIt: {
1017
+ readonly "io.komune.im.f2.user.domain.query.UserPageResultDTO": unique symbol;
1018
+ } & f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.user.domain.model.UserDTO>["__doNotUseOrImplementIt"];
752
1019
  }
753
1020
  }
754
1021
  export as namespace io_komune_im_im_user_domain;