@komune-io/im-organization-domain 0.26.0 → 0.27.0-alpha.16005bb
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/{im-0.26.0-im-f2-organization-im-organization-domain.d.mts → connect-im-im-f2-organization-im-organization-domain.d.mts} +117 -338
- package/{im-0.26.0-im-f2-organization-im-organization-domain.mjs → connect-im-im-f2-organization-im-organization-domain.mjs} +7 -7
- package/connect-im-im-f2-organization-im-organization-domain.mjs.map +1 -0
- package/package.json +2 -2
- package/im-0.26.0-im-f2-organization-im-organization-domain.mjs.map +0 -1
|
@@ -1,70 +1,44 @@
|
|
|
1
|
-
type Nullable<T> = T | null | undefined
|
|
2
1
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
-
export declare interface
|
|
2
|
+
export declare interface out E[] /* extends Collection<E> */ {
|
|
4
3
|
asJsReadonlyArrayView(): ReadonlyArray<E>;
|
|
5
|
-
readonly __doNotUseOrImplementIt: {
|
|
6
|
-
readonly "kotlin.collections.KtList": unique symbol;
|
|
7
|
-
};
|
|
8
4
|
}
|
|
9
5
|
export declare namespace KtList {
|
|
10
|
-
function fromJsArray<E>(array: ReadonlyArray<E>):
|
|
6
|
+
function fromJsArray<E>(array: ReadonlyArray<E>): E[];
|
|
11
7
|
}
|
|
12
|
-
export declare interface
|
|
8
|
+
export declare interface Record<K, out V> {
|
|
13
9
|
asJsReadonlyMapView(): ReadonlyMap<K, V>;
|
|
14
|
-
readonly __doNotUseOrImplementIt: {
|
|
15
|
-
readonly "kotlin.collections.KtMap": unique symbol;
|
|
16
|
-
};
|
|
17
10
|
}
|
|
18
|
-
export declare namespace
|
|
19
|
-
function fromJsMap<K, V>(map: ReadonlyMap<K, V>):
|
|
11
|
+
export declare namespace Record {
|
|
12
|
+
function fromJsMap<K, V>(map: ReadonlyMap<K, V>): Record<K, V>;
|
|
20
13
|
}
|
|
21
14
|
export declare interface Command extends Message {
|
|
22
|
-
readonly __doNotUseOrImplementIt: {
|
|
23
|
-
readonly "f2.dsl.cqrs.Command": unique symbol;
|
|
24
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
25
15
|
}
|
|
26
16
|
export declare interface Event extends Message {
|
|
27
|
-
readonly __doNotUseOrImplementIt: {
|
|
28
|
-
readonly "f2.dsl.cqrs.Event": unique symbol;
|
|
29
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
30
17
|
}
|
|
31
18
|
export declare interface Message {
|
|
32
|
-
readonly __doNotUseOrImplementIt: {
|
|
33
|
-
readonly "f2.dsl.cqrs.Message": unique symbol;
|
|
34
|
-
};
|
|
35
19
|
}
|
|
36
20
|
export declare interface Problem extends Message {
|
|
37
|
-
readonly __doNotUseOrImplementIt: {
|
|
38
|
-
readonly "f2.dsl.cqrs.Problem": unique symbol;
|
|
39
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
40
21
|
}
|
|
41
22
|
export declare interface Query extends Message {
|
|
42
|
-
readonly __doNotUseOrImplementIt: {
|
|
43
|
-
readonly "f2.dsl.cqrs.Query": unique symbol;
|
|
44
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
45
23
|
}
|
|
46
24
|
export declare interface EnvelopeDTO<T> extends WithEnvelopeId, WithEnvelopeData<T>, Message {
|
|
47
25
|
readonly id: string;
|
|
48
26
|
readonly data: T;
|
|
49
27
|
readonly type: string;
|
|
50
|
-
readonly datacontenttype
|
|
51
|
-
readonly specversion
|
|
52
|
-
readonly source
|
|
53
|
-
readonly time
|
|
54
|
-
readonly __doNotUseOrImplementIt: {
|
|
55
|
-
readonly "f2.dsl.cqrs.envelope.EnvelopeDTO": unique symbol;
|
|
56
|
-
} & Message["__doNotUseOrImplementIt"] & WithEnvelopeData<any>["__doNotUseOrImplementIt"] & WithEnvelopeId["__doNotUseOrImplementIt"];
|
|
28
|
+
readonly datacontenttype?: string;
|
|
29
|
+
readonly specversion?: string;
|
|
30
|
+
readonly source?: string;
|
|
31
|
+
readonly time?: string;
|
|
57
32
|
}
|
|
58
33
|
export declare class Envelope<T> implements EnvelopeDTO<T> {
|
|
59
|
-
constructor(id: string, data: T, type: string, datacontenttype?:
|
|
34
|
+
constructor(id: string, data: T, type: string, datacontenttype?: string, specversion?: string, source?: string, time?: string);
|
|
60
35
|
get id(): string;
|
|
61
36
|
get data(): T;
|
|
62
37
|
get type(): string;
|
|
63
|
-
get datacontenttype():
|
|
64
|
-
get specversion():
|
|
65
|
-
get source():
|
|
66
|
-
get time():
|
|
67
|
-
readonly __doNotUseOrImplementIt: EnvelopeDTO<any>["__doNotUseOrImplementIt"];
|
|
38
|
+
get datacontenttype(): string | undefined;
|
|
39
|
+
get specversion(): string | undefined;
|
|
40
|
+
get source(): string | undefined;
|
|
41
|
+
get time(): string | undefined;
|
|
68
42
|
}
|
|
69
43
|
export declare namespace Envelope {
|
|
70
44
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -86,35 +60,25 @@ export declare namespace Envelope {
|
|
|
86
60
|
}
|
|
87
61
|
export declare interface WithEnvelopeData<T> {
|
|
88
62
|
readonly data: T;
|
|
89
|
-
readonly __doNotUseOrImplementIt: {
|
|
90
|
-
readonly "f2.dsl.cqrs.envelope.WithEnvelopeData": unique symbol;
|
|
91
|
-
};
|
|
92
63
|
}
|
|
93
64
|
export declare interface WithEnvelopeId {
|
|
94
65
|
readonly id: string;
|
|
95
|
-
readonly __doNotUseOrImplementIt: {
|
|
96
|
-
readonly "f2.dsl.cqrs.envelope.WithEnvelopeId": unique symbol;
|
|
97
|
-
};
|
|
98
66
|
}
|
|
99
67
|
export declare interface F2ErrorDTO extends Problem {
|
|
100
|
-
readonly id
|
|
68
|
+
readonly id?: string;
|
|
101
69
|
readonly timestamp: string;
|
|
102
70
|
readonly code: number;
|
|
103
|
-
readonly requestId
|
|
71
|
+
readonly requestId?: string;
|
|
104
72
|
readonly message: string;
|
|
105
|
-
readonly __doNotUseOrImplementIt: {
|
|
106
|
-
readonly "f2.dsl.cqrs.error.F2ErrorDTO": unique symbol;
|
|
107
|
-
} & Problem["__doNotUseOrImplementIt"];
|
|
108
73
|
}
|
|
109
74
|
export declare class F2Error implements F2ErrorDTO {
|
|
110
|
-
constructor(message: string, id?:
|
|
75
|
+
constructor(message: string, id?: string, timestamp?: string, code?: number, requestId?: string);
|
|
111
76
|
get message(): string;
|
|
112
|
-
get id():
|
|
77
|
+
get id(): string | undefined;
|
|
113
78
|
get timestamp(): string;
|
|
114
79
|
get code(): number;
|
|
115
|
-
get requestId():
|
|
80
|
+
get requestId(): string | undefined;
|
|
116
81
|
toString(): string;
|
|
117
|
-
readonly __doNotUseOrImplementIt: F2ErrorDTO["__doNotUseOrImplementIt"];
|
|
118
82
|
}
|
|
119
83
|
export declare namespace F2Error {
|
|
120
84
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -123,7 +87,7 @@ export declare namespace F2Error {
|
|
|
123
87
|
}
|
|
124
88
|
}
|
|
125
89
|
export declare class F2Exception extends /* RuntimeException */ Error {
|
|
126
|
-
constructor(error: F2ErrorDTO, cause?:
|
|
90
|
+
constructor(error: F2ErrorDTO, cause?: Error);
|
|
127
91
|
get error(): F2ErrorDTO;
|
|
128
92
|
}
|
|
129
93
|
export declare namespace F2Exception {
|
|
@@ -138,7 +102,7 @@ export declare namespace F2Exception {
|
|
|
138
102
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
139
103
|
namespace $metadata$ {
|
|
140
104
|
abstract class constructor {
|
|
141
|
-
invoke(message: string, id?: string, requestId?: string, code?: number, cause?:
|
|
105
|
+
invoke(message: string, id?: string, requestId?: string, code?: number, cause?: Error): F2Exception;
|
|
142
106
|
private constructor();
|
|
143
107
|
}
|
|
144
108
|
}
|
|
@@ -150,30 +114,20 @@ export declare interface Match<T> {
|
|
|
150
114
|
not(): Match<T>;
|
|
151
115
|
and(match: Match<T>): Match<T>;
|
|
152
116
|
or(match: Match<T>): Match<T>;
|
|
153
|
-
readonly __doNotUseOrImplementIt: {
|
|
154
|
-
readonly "f2.dsl.cqrs.filter.Match": unique symbol;
|
|
155
|
-
};
|
|
156
117
|
}
|
|
157
118
|
export declare interface SortDTO {
|
|
158
119
|
readonly property: string;
|
|
159
120
|
readonly ascending: boolean;
|
|
160
|
-
readonly nullsFirst
|
|
161
|
-
readonly __doNotUseOrImplementIt: {
|
|
162
|
-
readonly "f2.dsl.cqrs.filter.SortDTO": unique symbol;
|
|
163
|
-
};
|
|
121
|
+
readonly nullsFirst?: boolean;
|
|
164
122
|
}
|
|
165
123
|
export declare interface PageDTO<out OBJECT> {
|
|
166
124
|
readonly total: number;
|
|
167
|
-
readonly items:
|
|
168
|
-
readonly __doNotUseOrImplementIt: {
|
|
169
|
-
readonly "f2.dsl.cqrs.page.PageDTO": unique symbol;
|
|
170
|
-
};
|
|
125
|
+
readonly items: OBJECT[];
|
|
171
126
|
}
|
|
172
127
|
export declare class Page<out OBJECT> implements PageDTO<OBJECT> {
|
|
173
|
-
constructor(total: number, items:
|
|
128
|
+
constructor(total: number, items: OBJECT[]);
|
|
174
129
|
get total(): number;
|
|
175
|
-
get items():
|
|
176
|
-
readonly __doNotUseOrImplementIt: PageDTO<any>["__doNotUseOrImplementIt"];
|
|
130
|
+
get items(): OBJECT[];
|
|
177
131
|
}
|
|
178
132
|
export declare namespace Page {
|
|
179
133
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -182,23 +136,16 @@ export declare namespace Page {
|
|
|
182
136
|
}
|
|
183
137
|
}
|
|
184
138
|
export declare interface PageQueryDTO extends Query {
|
|
185
|
-
readonly pagination
|
|
186
|
-
readonly __doNotUseOrImplementIt: {
|
|
187
|
-
readonly "f2.dsl.cqrs.page.PageQueryDTO": unique symbol;
|
|
188
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
139
|
+
readonly pagination?: OffsetPaginationDTO;
|
|
189
140
|
}
|
|
190
141
|
export declare interface PageQueryResultDTO<out OBJECT> extends Event, PageDTO<OBJECT> {
|
|
191
142
|
readonly total: number;
|
|
192
|
-
readonly items:
|
|
193
|
-
readonly pagination
|
|
194
|
-
readonly __doNotUseOrImplementIt: {
|
|
195
|
-
readonly "f2.dsl.cqrs.page.PageQueryResultDTO": unique symbol;
|
|
196
|
-
} & PageDTO<any>["__doNotUseOrImplementIt"] & Event["__doNotUseOrImplementIt"];
|
|
143
|
+
readonly items: OBJECT[];
|
|
144
|
+
readonly pagination?: OffsetPaginationDTO;
|
|
197
145
|
}
|
|
198
146
|
export declare class PageQuery implements PageQueryDTO {
|
|
199
|
-
constructor(pagination
|
|
200
|
-
get pagination():
|
|
201
|
-
readonly __doNotUseOrImplementIt: PageQueryDTO["__doNotUseOrImplementIt"];
|
|
147
|
+
constructor(pagination?: OffsetPaginationDTO);
|
|
148
|
+
get pagination(): OffsetPaginationDTO | undefined;
|
|
202
149
|
}
|
|
203
150
|
export declare namespace PageQuery {
|
|
204
151
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -207,11 +154,10 @@ export declare namespace PageQuery {
|
|
|
207
154
|
}
|
|
208
155
|
}
|
|
209
156
|
export declare class PageQueryResult<out OBJECT> implements PageQueryResultDTO<OBJECT> {
|
|
210
|
-
constructor(pagination
|
|
211
|
-
get pagination():
|
|
157
|
+
constructor(pagination?: OffsetPagination, total: number, items: OBJECT[]);
|
|
158
|
+
get pagination(): OffsetPagination | undefined;
|
|
212
159
|
get total(): number;
|
|
213
|
-
get items():
|
|
214
|
-
readonly __doNotUseOrImplementIt: PageQueryResultDTO<any>["__doNotUseOrImplementIt"];
|
|
160
|
+
get items(): OBJECT[];
|
|
215
161
|
}
|
|
216
162
|
export declare namespace PageQueryResult {
|
|
217
163
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -220,29 +166,19 @@ export declare namespace PageQueryResult {
|
|
|
220
166
|
}
|
|
221
167
|
}
|
|
222
168
|
export declare interface Pagination {
|
|
223
|
-
readonly __doNotUseOrImplementIt: {
|
|
224
|
-
readonly "f2.dsl.cqrs.page.Pagination": unique symbol;
|
|
225
|
-
};
|
|
226
169
|
}
|
|
227
170
|
export declare interface OffsetPaginationDTO extends Pagination {
|
|
228
171
|
readonly offset: number;
|
|
229
172
|
readonly limit: number;
|
|
230
|
-
readonly __doNotUseOrImplementIt: {
|
|
231
|
-
readonly "f2.dsl.cqrs.page.OffsetPaginationDTO": unique symbol;
|
|
232
|
-
} & Pagination["__doNotUseOrImplementIt"];
|
|
233
173
|
}
|
|
234
174
|
export declare interface PagePaginationDTO extends Pagination {
|
|
235
|
-
readonly page
|
|
236
|
-
readonly size
|
|
237
|
-
readonly __doNotUseOrImplementIt: {
|
|
238
|
-
readonly "f2.dsl.cqrs.page.PagePaginationDTO": unique symbol;
|
|
239
|
-
} & Pagination["__doNotUseOrImplementIt"];
|
|
175
|
+
readonly page?: number;
|
|
176
|
+
readonly size?: number;
|
|
240
177
|
}
|
|
241
178
|
export declare class OffsetPagination implements OffsetPaginationDTO {
|
|
242
179
|
constructor(offset: number, limit: number);
|
|
243
180
|
get offset(): number;
|
|
244
181
|
get limit(): number;
|
|
245
|
-
readonly __doNotUseOrImplementIt: OffsetPaginationDTO["__doNotUseOrImplementIt"];
|
|
246
182
|
}
|
|
247
183
|
export declare namespace OffsetPagination {
|
|
248
184
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -251,10 +187,9 @@ export declare namespace OffsetPagination {
|
|
|
251
187
|
}
|
|
252
188
|
}
|
|
253
189
|
export declare class PagePagination implements PagePaginationDTO {
|
|
254
|
-
constructor(page
|
|
255
|
-
get page():
|
|
256
|
-
get size():
|
|
257
|
-
readonly __doNotUseOrImplementIt: PagePaginationDTO["__doNotUseOrImplementIt"];
|
|
190
|
+
constructor(page?: number, size?: number);
|
|
191
|
+
get page(): number | undefined;
|
|
192
|
+
get size(): number | undefined;
|
|
258
193
|
}
|
|
259
194
|
export declare namespace PagePagination {
|
|
260
195
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -264,25 +199,16 @@ export declare namespace PagePagination {
|
|
|
264
199
|
}
|
|
265
200
|
export declare interface OrganizationDeleteCommandDTO extends Command {
|
|
266
201
|
readonly id: string;
|
|
267
|
-
readonly __doNotUseOrImplementIt: {
|
|
268
|
-
readonly "io.komune.im.core.organization.domain.command.OrganizationDeleteCommandDTO": unique symbol;
|
|
269
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
270
202
|
}
|
|
271
203
|
export declare interface OrganizationDeletedEventDTO extends Event {
|
|
272
204
|
readonly id: string;
|
|
273
|
-
readonly __doNotUseOrImplementIt: {
|
|
274
|
-
readonly "io.komune.im.core.organization.domain.command.OrganizationDeletedEventDTO": unique symbol;
|
|
275
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
276
205
|
}
|
|
277
206
|
export declare interface AuthedUserDTO {
|
|
278
207
|
readonly id: string;
|
|
279
|
-
readonly identifier
|
|
280
|
-
readonly memberOf
|
|
281
|
-
readonly roles
|
|
282
|
-
readonly acr
|
|
283
|
-
readonly __doNotUseOrImplementIt: {
|
|
284
|
-
readonly "io.komune.im.commons.auth.AuthedUserDTO": unique symbol;
|
|
285
|
-
};
|
|
208
|
+
readonly identifier?: string;
|
|
209
|
+
readonly memberOf?: string;
|
|
210
|
+
readonly roles?: Array<string>;
|
|
211
|
+
readonly acr?: string;
|
|
286
212
|
}
|
|
287
213
|
export declare abstract class ImPermission {
|
|
288
214
|
private constructor();
|
|
@@ -378,9 +304,6 @@ export declare interface AddressDTO {
|
|
|
378
304
|
readonly street: string;
|
|
379
305
|
readonly postalCode: string;
|
|
380
306
|
readonly city: string;
|
|
381
|
-
readonly __doNotUseOrImplementIt: {
|
|
382
|
-
readonly "io.komune.im.commons.model.AddressDTO": unique symbol;
|
|
383
|
-
};
|
|
384
307
|
}
|
|
385
308
|
export declare abstract class PrivilegePolicies {
|
|
386
309
|
static readonly getInstance: () => typeof PrivilegePolicies.$metadata$.type;
|
|
@@ -403,133 +326,79 @@ export declare namespace PrivilegePolicies {
|
|
|
403
326
|
export declare interface FeatureDefineCommandDTO {
|
|
404
327
|
readonly identifier: string;
|
|
405
328
|
readonly description: string;
|
|
406
|
-
readonly __doNotUseOrImplementIt: {
|
|
407
|
-
readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefineCommandDTO": unique symbol;
|
|
408
|
-
};
|
|
409
329
|
}
|
|
410
330
|
export declare interface FeatureDefinedEventDTO extends Event {
|
|
411
331
|
readonly identifier: string;
|
|
412
|
-
readonly __doNotUseOrImplementIt: {
|
|
413
|
-
readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefinedEventDTO": unique symbol;
|
|
414
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
415
332
|
}
|
|
416
333
|
export declare interface FeatureDTO extends PrivilegeDTO {
|
|
417
334
|
readonly id: string;
|
|
418
335
|
readonly type: string;
|
|
419
336
|
readonly identifier: string;
|
|
420
337
|
readonly description: string;
|
|
421
|
-
readonly __doNotUseOrImplementIt: {
|
|
422
|
-
readonly "io.komune.im.f2.privilege.domain.feature.model.FeatureDTO": unique symbol;
|
|
423
|
-
} & PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
424
338
|
}
|
|
425
339
|
export declare interface FeatureGetQueryDTO {
|
|
426
340
|
readonly identifier: string;
|
|
427
|
-
readonly __doNotUseOrImplementIt: {
|
|
428
|
-
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetQueryDTO": unique symbol;
|
|
429
|
-
};
|
|
430
341
|
}
|
|
431
342
|
export declare interface FeatureGetResultDTO {
|
|
432
|
-
readonly item
|
|
433
|
-
readonly __doNotUseOrImplementIt: {
|
|
434
|
-
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetResultDTO": unique symbol;
|
|
435
|
-
};
|
|
343
|
+
readonly item?: FeatureDTO;
|
|
436
344
|
}
|
|
437
345
|
export declare interface FeatureListQueryDTO {
|
|
438
|
-
readonly __doNotUseOrImplementIt: {
|
|
439
|
-
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListQueryDTO": unique symbol;
|
|
440
|
-
};
|
|
441
346
|
}
|
|
442
347
|
export declare interface FeatureListResultDTO {
|
|
443
|
-
readonly items:
|
|
444
|
-
readonly __doNotUseOrImplementIt: {
|
|
445
|
-
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListResultDTO": unique symbol;
|
|
446
|
-
};
|
|
348
|
+
readonly items: FeatureDTO[];
|
|
447
349
|
}
|
|
448
350
|
export declare interface PrivilegeDTO {
|
|
449
351
|
readonly id: string;
|
|
450
352
|
readonly identifier: string;
|
|
451
353
|
readonly description: string;
|
|
452
354
|
readonly type: string;
|
|
453
|
-
readonly __doNotUseOrImplementIt: {
|
|
454
|
-
readonly "io.komune.im.f2.privilege.domain.model.PrivilegeDTO": unique symbol;
|
|
455
|
-
};
|
|
456
355
|
}
|
|
457
356
|
export declare interface PermissionDefineCommandDTO {
|
|
458
357
|
readonly identifier: string;
|
|
459
358
|
readonly description: string;
|
|
460
|
-
readonly features
|
|
461
|
-
readonly __doNotUseOrImplementIt: {
|
|
462
|
-
readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefineCommandDTO": unique symbol;
|
|
463
|
-
};
|
|
359
|
+
readonly features?: string[][];
|
|
464
360
|
}
|
|
465
361
|
export declare interface PermissionDefinedEventDTO extends Event {
|
|
466
362
|
readonly identifier: string;
|
|
467
|
-
readonly __doNotUseOrImplementIt: {
|
|
468
|
-
readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefinedEventDTO": unique symbol;
|
|
469
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
470
363
|
}
|
|
471
364
|
export declare interface PermissionDTO extends PrivilegeDTO {
|
|
472
365
|
readonly id: string;
|
|
473
366
|
readonly type: string;
|
|
474
367
|
readonly identifier: string;
|
|
475
368
|
readonly description: string;
|
|
476
|
-
readonly features
|
|
477
|
-
readonly __doNotUseOrImplementIt: {
|
|
478
|
-
readonly "io.komune.im.f2.privilege.domain.permission.model.PermissionDTO": unique symbol;
|
|
479
|
-
} & PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
369
|
+
readonly features?: string[][];
|
|
480
370
|
}
|
|
481
371
|
export declare interface PermissionGetQueryDTO {
|
|
482
372
|
readonly identifier: string;
|
|
483
|
-
readonly __doNotUseOrImplementIt: {
|
|
484
|
-
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetQueryDTO": unique symbol;
|
|
485
|
-
};
|
|
486
373
|
}
|
|
487
374
|
export declare interface PermissionGetResultDTO {
|
|
488
|
-
readonly item
|
|
489
|
-
readonly __doNotUseOrImplementIt: {
|
|
490
|
-
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetResultDTO": unique symbol;
|
|
491
|
-
};
|
|
375
|
+
readonly item?: PermissionDTO;
|
|
492
376
|
}
|
|
493
377
|
export declare interface PermissionListQueryDTO {
|
|
494
|
-
readonly __doNotUseOrImplementIt: {
|
|
495
|
-
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListQueryDTO": unique symbol;
|
|
496
|
-
};
|
|
497
378
|
}
|
|
498
379
|
export declare interface PermissionListResultDTO {
|
|
499
|
-
readonly items:
|
|
500
|
-
readonly __doNotUseOrImplementIt: {
|
|
501
|
-
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListResultDTO": unique symbol;
|
|
502
|
-
};
|
|
380
|
+
readonly items: PermissionDTO[];
|
|
503
381
|
}
|
|
504
382
|
export declare interface RoleDefineCommandDTO {
|
|
505
383
|
readonly identifier: string;
|
|
506
384
|
readonly description: string;
|
|
507
|
-
readonly targets:
|
|
508
|
-
readonly locale:
|
|
509
|
-
readonly bindings
|
|
510
|
-
readonly permissions
|
|
511
|
-
readonly __doNotUseOrImplementIt: {
|
|
512
|
-
readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefineCommandDTO": unique symbol;
|
|
513
|
-
};
|
|
385
|
+
readonly targets: string[];
|
|
386
|
+
readonly locale: Record<string, string>;
|
|
387
|
+
readonly bindings?: Record<string, string[]>;
|
|
388
|
+
readonly permissions?: string[];
|
|
514
389
|
}
|
|
515
390
|
export declare interface RoleDefinedEventDTO extends Event {
|
|
516
391
|
readonly identifier: string;
|
|
517
|
-
readonly __doNotUseOrImplementIt: {
|
|
518
|
-
readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefinedEventDTO": unique symbol;
|
|
519
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
520
392
|
}
|
|
521
393
|
export declare interface RoleDTO extends PrivilegeDTO {
|
|
522
394
|
readonly id: string;
|
|
523
395
|
readonly type: string;
|
|
524
396
|
readonly identifier: string;
|
|
525
397
|
readonly description: string;
|
|
526
|
-
readonly targets:
|
|
527
|
-
readonly locale:
|
|
528
|
-
readonly bindings:
|
|
529
|
-
readonly permissions:
|
|
530
|
-
readonly __doNotUseOrImplementIt: {
|
|
531
|
-
readonly "io.komune.im.f2.privilege.domain.role.model.RoleDTO": unique symbol;
|
|
532
|
-
} & PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
398
|
+
readonly targets: string[];
|
|
399
|
+
readonly locale: Record<string, string>;
|
|
400
|
+
readonly bindings: Record<string, RoleDTO[]>;
|
|
401
|
+
readonly permissions: string[];
|
|
533
402
|
}
|
|
534
403
|
export declare abstract class RoleTargetValues {
|
|
535
404
|
static readonly getInstance: () => typeof RoleTargetValues.$metadata$.type;
|
|
@@ -551,47 +420,23 @@ export declare namespace RoleTargetValues {
|
|
|
551
420
|
}
|
|
552
421
|
export declare interface RoleGetQueryDTO {
|
|
553
422
|
readonly identifier: string;
|
|
554
|
-
readonly __doNotUseOrImplementIt: {
|
|
555
|
-
readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetQueryDTO": unique symbol;
|
|
556
|
-
};
|
|
557
423
|
}
|
|
558
424
|
export declare interface RoleGetResultDTO {
|
|
559
|
-
readonly item
|
|
560
|
-
readonly __doNotUseOrImplementIt: {
|
|
561
|
-
readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetResultDTO": unique symbol;
|
|
562
|
-
};
|
|
425
|
+
readonly item?: RoleDTO;
|
|
563
426
|
}
|
|
564
427
|
export declare interface RoleListQueryDTO {
|
|
565
|
-
readonly target
|
|
566
|
-
readonly __doNotUseOrImplementIt: {
|
|
567
|
-
readonly "io.komune.im.f2.privilege.domain.role.query.RoleListQueryDTO": unique symbol;
|
|
568
|
-
};
|
|
428
|
+
readonly target?: string;
|
|
569
429
|
}
|
|
570
430
|
export declare interface RoleListResultDTO {
|
|
571
|
-
readonly items:
|
|
572
|
-
readonly __doNotUseOrImplementIt: {
|
|
573
|
-
readonly "io.komune.im.f2.privilege.domain.role.query.RoleListResultDTO": unique symbol;
|
|
574
|
-
};
|
|
431
|
+
readonly items: RoleDTO[];
|
|
575
432
|
}
|
|
576
433
|
export declare interface F2Consumer<T> {
|
|
577
|
-
readonly __doNotUseOrImplementIt: {
|
|
578
|
-
readonly "f2.dsl.fnc.F2Consumer": unique symbol;
|
|
579
|
-
};
|
|
580
434
|
}
|
|
581
435
|
export declare interface F2Function<in T, out R> {
|
|
582
|
-
readonly __doNotUseOrImplementIt: {
|
|
583
|
-
readonly "f2.dsl.fnc.F2Function": unique symbol;
|
|
584
|
-
};
|
|
585
436
|
}
|
|
586
437
|
export declare interface F2Supplier<R> {
|
|
587
|
-
readonly __doNotUseOrImplementIt: {
|
|
588
|
-
readonly "f2.dsl.fnc.F2Supplier": unique symbol;
|
|
589
|
-
};
|
|
590
438
|
}
|
|
591
439
|
export declare interface F2SupplierSingle<R> {
|
|
592
|
-
readonly __doNotUseOrImplementIt: {
|
|
593
|
-
readonly "f2.dsl.fnc.F2SupplierSingle": unique symbol;
|
|
594
|
-
};
|
|
595
440
|
}
|
|
596
441
|
export declare class Batch {
|
|
597
442
|
constructor(size?: number, concurrency?: number);
|
|
@@ -600,7 +445,7 @@ export declare class Batch {
|
|
|
600
445
|
copy(size?: number, concurrency?: number): Batch;
|
|
601
446
|
toString(): string;
|
|
602
447
|
hashCode(): number;
|
|
603
|
-
equals(other
|
|
448
|
+
equals(other?: any): boolean;
|
|
604
449
|
}
|
|
605
450
|
export declare namespace Batch {
|
|
606
451
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -613,7 +458,7 @@ export declare abstract class AuthRealm {
|
|
|
613
458
|
get serverUrl(): string;
|
|
614
459
|
get realmId(): string;
|
|
615
460
|
get clientId(): string;
|
|
616
|
-
get redirectUrl():
|
|
461
|
+
get redirectUrl(): string | undefined;
|
|
617
462
|
}
|
|
618
463
|
export declare namespace AuthRealm {
|
|
619
464
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -632,7 +477,7 @@ export declare class AuthRealmPassword extends AuthRealm.$metadata$.constructor
|
|
|
632
477
|
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): AuthRealmPassword;
|
|
633
478
|
toString(): string;
|
|
634
479
|
hashCode(): number;
|
|
635
|
-
equals(other
|
|
480
|
+
equals(other?: any): boolean;
|
|
636
481
|
}
|
|
637
482
|
export declare namespace AuthRealmPassword {
|
|
638
483
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -641,17 +486,17 @@ export declare namespace AuthRealmPassword {
|
|
|
641
486
|
}
|
|
642
487
|
}
|
|
643
488
|
export declare class AuthRealmClientSecret extends AuthRealm.$metadata$.constructor {
|
|
644
|
-
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
489
|
+
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string | undefined, clientSecret: string, isPublic?: boolean);
|
|
645
490
|
get serverUrl(): string;
|
|
646
491
|
get realmId(): string;
|
|
647
492
|
get clientId(): string;
|
|
648
|
-
get redirectUrl():
|
|
493
|
+
get redirectUrl(): string | undefined;
|
|
649
494
|
get clientSecret(): string;
|
|
650
495
|
get isPublic(): boolean;
|
|
651
|
-
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?:
|
|
496
|
+
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): AuthRealmClientSecret;
|
|
652
497
|
toString(): string;
|
|
653
498
|
hashCode(): number;
|
|
654
|
-
equals(other
|
|
499
|
+
equals(other?: any): boolean;
|
|
655
500
|
}
|
|
656
501
|
export declare namespace AuthRealmClientSecret {
|
|
657
502
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -660,18 +505,18 @@ export declare namespace AuthRealmClientSecret {
|
|
|
660
505
|
}
|
|
661
506
|
}
|
|
662
507
|
export declare class TokenInfo {
|
|
663
|
-
constructor(accessToken: string, expiresIn: number, refreshExpiresIn
|
|
508
|
+
constructor(accessToken: string, expiresIn: number, refreshExpiresIn?: number | undefined, tokenType: string, scope?: string, idToken?: string, refreshToken?: string);
|
|
664
509
|
get accessToken(): string;
|
|
665
510
|
get expiresIn(): number;
|
|
666
|
-
get refreshExpiresIn():
|
|
511
|
+
get refreshExpiresIn(): number | undefined;
|
|
667
512
|
get tokenType(): string;
|
|
668
|
-
get scope():
|
|
669
|
-
get idToken():
|
|
670
|
-
get refreshToken():
|
|
671
|
-
copy(accessToken?: string, expiresIn?: number, refreshExpiresIn?:
|
|
513
|
+
get scope(): string | undefined;
|
|
514
|
+
get idToken(): string | undefined;
|
|
515
|
+
get refreshToken(): string | undefined;
|
|
516
|
+
copy(accessToken?: string, expiresIn?: number, refreshExpiresIn?: number, tokenType?: string, scope?: string, idToken?: string, refreshToken?: string): TokenInfo;
|
|
672
517
|
toString(): string;
|
|
673
518
|
hashCode(): number;
|
|
674
|
-
equals(other
|
|
519
|
+
equals(other?: any): boolean;
|
|
675
520
|
}
|
|
676
521
|
export declare namespace TokenInfo {
|
|
677
522
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -680,111 +525,75 @@ export declare namespace TokenInfo {
|
|
|
680
525
|
}
|
|
681
526
|
}
|
|
682
527
|
export declare interface OrganizationCreateCommandDTO extends Command {
|
|
683
|
-
readonly siret
|
|
528
|
+
readonly siret?: string;
|
|
684
529
|
readonly name: string;
|
|
685
|
-
readonly description
|
|
686
|
-
readonly address
|
|
687
|
-
readonly website
|
|
688
|
-
readonly roles
|
|
689
|
-
readonly parentOrganizationId
|
|
690
|
-
readonly attributes
|
|
691
|
-
readonly status
|
|
692
|
-
readonly __doNotUseOrImplementIt: {
|
|
693
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationCreateCommandDTO": unique symbol;
|
|
694
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
530
|
+
readonly description?: string;
|
|
531
|
+
readonly address?: AddressDTO;
|
|
532
|
+
readonly website?: string;
|
|
533
|
+
readonly roles?: string[];
|
|
534
|
+
readonly parentOrganizationId?: string;
|
|
535
|
+
readonly attributes?: Record<string, string>;
|
|
536
|
+
readonly status?: string;
|
|
695
537
|
}
|
|
696
538
|
export declare interface OrganizationCreatedEventDTO extends Event {
|
|
697
539
|
readonly id: string;
|
|
698
|
-
readonly parentOrganization
|
|
699
|
-
readonly __doNotUseOrImplementIt: {
|
|
700
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationCreatedEventDTO": unique symbol;
|
|
701
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
540
|
+
readonly parentOrganization?: string;
|
|
702
541
|
}
|
|
703
542
|
export declare interface OrganizationDeleteCommandDTO extends OrganizationDeleteCommandDTO {
|
|
704
|
-
readonly __doNotUseOrImplementIt: {
|
|
705
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationDeleteCommandDTO": unique symbol;
|
|
706
|
-
} & OrganizationDeleteCommandDTO["__doNotUseOrImplementIt"];
|
|
707
543
|
}
|
|
708
544
|
export declare interface OrganizationDeletedEventDTO extends Event, OrganizationDeletedEventDTO {
|
|
709
|
-
readonly __doNotUseOrImplementIt: {
|
|
710
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationDeletedEventDTO": unique symbol;
|
|
711
|
-
} & OrganizationDeletedEventDTO["__doNotUseOrImplementIt"] & Event["__doNotUseOrImplementIt"];
|
|
712
545
|
}
|
|
713
546
|
export declare interface OrganizationDisableCommandDTO extends Command {
|
|
714
547
|
readonly id: string;
|
|
715
|
-
readonly disabledBy
|
|
548
|
+
readonly disabledBy?: string;
|
|
716
549
|
readonly anonymize: boolean;
|
|
717
|
-
readonly attributes
|
|
718
|
-
readonly userAttributes
|
|
719
|
-
readonly __doNotUseOrImplementIt: {
|
|
720
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationDisableCommandDTO": unique symbol;
|
|
721
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
550
|
+
readonly attributes?: Record<string, string>;
|
|
551
|
+
readonly userAttributes?: Record<string, string>;
|
|
722
552
|
}
|
|
723
553
|
export declare interface OrganizationDisabledEventDTO extends Event {
|
|
724
554
|
readonly id: string;
|
|
725
|
-
readonly userIds:
|
|
726
|
-
readonly __doNotUseOrImplementIt: {
|
|
727
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationDisabledEventDTO": unique symbol;
|
|
728
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
555
|
+
readonly userIds: string[];
|
|
729
556
|
}
|
|
730
557
|
export declare interface OrganizationUpdateCommandDTO extends Command {
|
|
731
558
|
readonly id: string;
|
|
732
559
|
readonly name: string;
|
|
733
|
-
readonly description
|
|
734
|
-
readonly address
|
|
735
|
-
readonly website
|
|
736
|
-
readonly roles
|
|
737
|
-
readonly attributes
|
|
738
|
-
readonly status
|
|
739
|
-
readonly __doNotUseOrImplementIt: {
|
|
740
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationUpdateCommandDTO": unique symbol;
|
|
741
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
560
|
+
readonly description?: string;
|
|
561
|
+
readonly address?: AddressDTO;
|
|
562
|
+
readonly website?: string;
|
|
563
|
+
readonly roles?: string[];
|
|
564
|
+
readonly attributes?: Record<string, string>;
|
|
565
|
+
readonly status?: string;
|
|
742
566
|
}
|
|
743
567
|
export declare interface OrganizationUpdatedResultDTO extends Event {
|
|
744
568
|
readonly id: string;
|
|
745
|
-
readonly __doNotUseOrImplementIt: {
|
|
746
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationUpdatedResultDTO": unique symbol;
|
|
747
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
748
569
|
}
|
|
749
570
|
export declare interface OrganizationUploadLogoCommandDTO extends Command {
|
|
750
571
|
readonly id: string;
|
|
751
|
-
readonly __doNotUseOrImplementIt: {
|
|
752
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationUploadLogoCommandDTO": unique symbol;
|
|
753
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
754
572
|
}
|
|
755
573
|
export declare interface OrganizationUploadedLogoEventDTO extends Event {
|
|
756
574
|
readonly id: string;
|
|
757
575
|
readonly url: string;
|
|
758
|
-
readonly __doNotUseOrImplementIt: {
|
|
759
|
-
readonly "io.komune.im.f2.organization.domain.command.OrganizationUploadedLogoEventDTO": unique symbol;
|
|
760
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
761
576
|
}
|
|
762
577
|
export declare interface OrganizationDTO {
|
|
763
578
|
readonly id: string;
|
|
764
|
-
readonly siret
|
|
579
|
+
readonly siret?: string;
|
|
765
580
|
readonly name: string;
|
|
766
|
-
readonly description
|
|
767
|
-
readonly address
|
|
768
|
-
readonly website
|
|
769
|
-
readonly attributes:
|
|
770
|
-
readonly roles:
|
|
771
|
-
readonly logo
|
|
581
|
+
readonly description?: string;
|
|
582
|
+
readonly address?: AddressDTO;
|
|
583
|
+
readonly website?: string;
|
|
584
|
+
readonly attributes: Record<string, string>;
|
|
585
|
+
readonly roles: RoleDTO[];
|
|
586
|
+
readonly logo?: string;
|
|
772
587
|
readonly enabled: boolean;
|
|
773
588
|
readonly status: string;
|
|
774
|
-
readonly disabledBy
|
|
775
|
-
readonly creationDate:
|
|
776
|
-
readonly disabledDate
|
|
777
|
-
readonly __doNotUseOrImplementIt: {
|
|
778
|
-
readonly "io.komune.im.f2.organization.domain.model.OrganizationDTO": unique symbol;
|
|
779
|
-
};
|
|
589
|
+
readonly disabledBy?: string;
|
|
590
|
+
readonly creationDate: number;
|
|
591
|
+
readonly disabledDate?: number;
|
|
780
592
|
}
|
|
781
593
|
export declare interface OrganizationRefDTO {
|
|
782
594
|
readonly id: string;
|
|
783
595
|
readonly name: string;
|
|
784
|
-
readonly roles:
|
|
785
|
-
readonly __doNotUseOrImplementIt: {
|
|
786
|
-
readonly "io.komune.im.f2.organization.domain.model.OrganizationRefDTO": unique symbol;
|
|
787
|
-
};
|
|
596
|
+
readonly roles: string[];
|
|
788
597
|
}
|
|
789
598
|
export declare abstract class OrganizationStatusValues {
|
|
790
599
|
static readonly getInstance: () => typeof OrganizationStatusValues.$metadata$.type;
|
|
@@ -817,7 +626,7 @@ export declare namespace OrganizationPolicies {
|
|
|
817
626
|
abstract class constructor {
|
|
818
627
|
canGet(authedUser: AuthedUserDTO, organizationId: string): boolean;
|
|
819
628
|
canList(authedUser: AuthedUserDTO): boolean;
|
|
820
|
-
checkRefList(authedUser
|
|
629
|
+
checkRefList(authedUser?: AuthedUserDTO): boolean;
|
|
821
630
|
canCreate(authedUser: AuthedUserDTO): boolean;
|
|
822
631
|
canUpdate(authedUser: AuthedUserDTO, organizationId: string): boolean;
|
|
823
632
|
canUpdateStatus(authedUser: AuthedUserDTO): boolean;
|
|
@@ -829,69 +638,39 @@ export declare namespace OrganizationPolicies {
|
|
|
829
638
|
}
|
|
830
639
|
export declare interface OrganizationGetFromInseeQueryDTO extends Query {
|
|
831
640
|
readonly siret: string;
|
|
832
|
-
readonly __doNotUseOrImplementIt: {
|
|
833
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationGetFromInseeQueryDTO": unique symbol;
|
|
834
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
835
641
|
}
|
|
836
642
|
export declare interface OrganizationGetFromInseeResultDTO extends Event {
|
|
837
|
-
readonly item
|
|
838
|
-
readonly __doNotUseOrImplementIt: {
|
|
839
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationGetFromInseeResultDTO": unique symbol;
|
|
840
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
643
|
+
readonly item?: OrganizationDTO;
|
|
841
644
|
}
|
|
842
645
|
export declare interface OrganizationGetQueryDTO extends Query {
|
|
843
646
|
readonly id: string;
|
|
844
|
-
readonly __doNotUseOrImplementIt: {
|
|
845
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationGetQueryDTO": unique symbol;
|
|
846
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
847
647
|
}
|
|
848
648
|
export declare interface OrganizationGetResultDTO extends Event {
|
|
849
|
-
readonly item
|
|
850
|
-
readonly __doNotUseOrImplementIt: {
|
|
851
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationGetResultDTO": unique symbol;
|
|
852
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
649
|
+
readonly item?: OrganizationDTO;
|
|
853
650
|
}
|
|
854
651
|
export declare interface OrganizationPageQueryDTO extends Query {
|
|
855
|
-
readonly name
|
|
856
|
-
readonly role
|
|
857
|
-
readonly roles
|
|
858
|
-
readonly attributes
|
|
859
|
-
readonly status
|
|
860
|
-
readonly withDisabled
|
|
861
|
-
readonly offset
|
|
862
|
-
readonly limit
|
|
863
|
-
readonly __doNotUseOrImplementIt: {
|
|
864
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationPageQueryDTO": unique symbol;
|
|
865
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
652
|
+
readonly name?: string;
|
|
653
|
+
readonly role?: string;
|
|
654
|
+
readonly roles?: string[];
|
|
655
|
+
readonly attributes?: Record<string, string>;
|
|
656
|
+
readonly status?: string[];
|
|
657
|
+
readonly withDisabled?: boolean;
|
|
658
|
+
readonly offset?: number;
|
|
659
|
+
readonly limit?: number;
|
|
866
660
|
}
|
|
867
661
|
export declare interface OrganizationPageResultDTO extends PageDTO<OrganizationDTO> {
|
|
868
|
-
readonly items:
|
|
662
|
+
readonly items: OrganizationDTO[];
|
|
869
663
|
readonly total: number;
|
|
870
|
-
readonly __doNotUseOrImplementIt: {
|
|
871
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationPageResultDTO": unique symbol;
|
|
872
|
-
} & PageDTO<any>["__doNotUseOrImplementIt"];
|
|
873
664
|
}
|
|
874
665
|
export declare interface OrganizationRefGetQueryDTO extends Query {
|
|
875
666
|
readonly id: string;
|
|
876
|
-
readonly __doNotUseOrImplementIt: {
|
|
877
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationRefGetQueryDTO": unique symbol;
|
|
878
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
879
667
|
}
|
|
880
668
|
export declare interface OrganizationRefGetResultDTO extends Event {
|
|
881
|
-
readonly item
|
|
882
|
-
readonly __doNotUseOrImplementIt: {
|
|
883
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationRefGetResultDTO": unique symbol;
|
|
884
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
669
|
+
readonly item?: OrganizationRefDTO;
|
|
885
670
|
}
|
|
886
671
|
export declare interface OrganizationRefListQueryDTO extends Query {
|
|
887
672
|
readonly withDisabled: boolean;
|
|
888
|
-
readonly __doNotUseOrImplementIt: {
|
|
889
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationRefListQueryDTO": unique symbol;
|
|
890
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
891
673
|
}
|
|
892
674
|
export declare interface OrganizationRefListResultDTO extends Event {
|
|
893
|
-
readonly items:
|
|
894
|
-
readonly __doNotUseOrImplementIt: {
|
|
895
|
-
readonly "io.komune.im.f2.organization.domain.query.OrganizationRefListResultDTO": unique symbol;
|
|
896
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
675
|
+
readonly items: OrganizationRefDTO[];
|
|
897
676
|
}
|