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