@komune-io/im-space-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-space-im-space-domain.d.mts → connect-im-im-f2-space-im-space-domain.d.mts} +76 -189
- package/{im-0.26.0-im-f2-space-im-space-domain.mjs → connect-im-im-f2-space-im-space-domain.mjs} +1 -1
- package/connect-im-im-f2-space-im-space-domain.mjs.map +1 -0
- package/package.json +2 -2
- package/im-0.26.0-im-f2-space-im-space-domain.mjs.map +0 -1
package/{im-0.26.0-im-f2-space-im-space-domain.d.mts → connect-im-im-f2-space-im-space-domain.d.mts}
RENAMED
|
@@ -1,32 +1,22 @@
|
|
|
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 AuthedUserDTO {
|
|
22
15
|
readonly id: string;
|
|
23
|
-
readonly identifier
|
|
24
|
-
readonly memberOf
|
|
25
|
-
readonly roles
|
|
26
|
-
readonly acr
|
|
27
|
-
readonly __doNotUseOrImplementIt: {
|
|
28
|
-
readonly "io.komune.im.commons.auth.AuthedUserDTO": unique symbol;
|
|
29
|
-
};
|
|
16
|
+
readonly identifier?: string;
|
|
17
|
+
readonly memberOf?: string;
|
|
18
|
+
readonly roles?: Array<string>;
|
|
19
|
+
readonly acr?: string;
|
|
30
20
|
}
|
|
31
21
|
export declare abstract class ImPermission {
|
|
32
22
|
private constructor();
|
|
@@ -122,29 +112,14 @@ export declare interface AddressDTO {
|
|
|
122
112
|
readonly street: string;
|
|
123
113
|
readonly postalCode: string;
|
|
124
114
|
readonly city: string;
|
|
125
|
-
readonly __doNotUseOrImplementIt: {
|
|
126
|
-
readonly "io.komune.im.commons.model.AddressDTO": unique symbol;
|
|
127
|
-
};
|
|
128
115
|
}
|
|
129
116
|
export declare interface F2Consumer<T> {
|
|
130
|
-
readonly __doNotUseOrImplementIt: {
|
|
131
|
-
readonly "f2.dsl.fnc.F2Consumer": unique symbol;
|
|
132
|
-
};
|
|
133
117
|
}
|
|
134
118
|
export declare interface F2Function<in T, out R> {
|
|
135
|
-
readonly __doNotUseOrImplementIt: {
|
|
136
|
-
readonly "f2.dsl.fnc.F2Function": unique symbol;
|
|
137
|
-
};
|
|
138
119
|
}
|
|
139
120
|
export declare interface F2Supplier<R> {
|
|
140
|
-
readonly __doNotUseOrImplementIt: {
|
|
141
|
-
readonly "f2.dsl.fnc.F2Supplier": unique symbol;
|
|
142
|
-
};
|
|
143
121
|
}
|
|
144
122
|
export declare interface F2SupplierSingle<R> {
|
|
145
|
-
readonly __doNotUseOrImplementIt: {
|
|
146
|
-
readonly "f2.dsl.fnc.F2SupplierSingle": unique symbol;
|
|
147
|
-
};
|
|
148
123
|
}
|
|
149
124
|
export declare class Batch {
|
|
150
125
|
constructor(size?: number, concurrency?: number);
|
|
@@ -153,7 +128,7 @@ export declare class Batch {
|
|
|
153
128
|
copy(size?: number, concurrency?: number): Batch;
|
|
154
129
|
toString(): string;
|
|
155
130
|
hashCode(): number;
|
|
156
|
-
equals(other
|
|
131
|
+
equals(other?: any): boolean;
|
|
157
132
|
}
|
|
158
133
|
export declare namespace Batch {
|
|
159
134
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -162,52 +137,33 @@ export declare namespace Batch {
|
|
|
162
137
|
}
|
|
163
138
|
}
|
|
164
139
|
export declare interface Command extends Message {
|
|
165
|
-
readonly __doNotUseOrImplementIt: {
|
|
166
|
-
readonly "f2.dsl.cqrs.Command": unique symbol;
|
|
167
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
168
140
|
}
|
|
169
141
|
export declare interface Event extends Message {
|
|
170
|
-
readonly __doNotUseOrImplementIt: {
|
|
171
|
-
readonly "f2.dsl.cqrs.Event": unique symbol;
|
|
172
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
173
142
|
}
|
|
174
143
|
export declare interface Message {
|
|
175
|
-
readonly __doNotUseOrImplementIt: {
|
|
176
|
-
readonly "f2.dsl.cqrs.Message": unique symbol;
|
|
177
|
-
};
|
|
178
144
|
}
|
|
179
145
|
export declare interface Problem extends Message {
|
|
180
|
-
readonly __doNotUseOrImplementIt: {
|
|
181
|
-
readonly "f2.dsl.cqrs.Problem": unique symbol;
|
|
182
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
183
146
|
}
|
|
184
147
|
export declare interface Query extends Message {
|
|
185
|
-
readonly __doNotUseOrImplementIt: {
|
|
186
|
-
readonly "f2.dsl.cqrs.Query": unique symbol;
|
|
187
|
-
} & Message["__doNotUseOrImplementIt"];
|
|
188
148
|
}
|
|
189
149
|
export declare interface EnvelopeDTO<T> extends WithEnvelopeId, WithEnvelopeData<T>, Message {
|
|
190
150
|
readonly id: string;
|
|
191
151
|
readonly data: T;
|
|
192
152
|
readonly type: string;
|
|
193
|
-
readonly datacontenttype
|
|
194
|
-
readonly specversion
|
|
195
|
-
readonly source
|
|
196
|
-
readonly time
|
|
197
|
-
readonly __doNotUseOrImplementIt: {
|
|
198
|
-
readonly "f2.dsl.cqrs.envelope.EnvelopeDTO": unique symbol;
|
|
199
|
-
} & Message["__doNotUseOrImplementIt"] & WithEnvelopeData<any>["__doNotUseOrImplementIt"] & WithEnvelopeId["__doNotUseOrImplementIt"];
|
|
153
|
+
readonly datacontenttype?: string;
|
|
154
|
+
readonly specversion?: string;
|
|
155
|
+
readonly source?: string;
|
|
156
|
+
readonly time?: string;
|
|
200
157
|
}
|
|
201
158
|
export declare class Envelope<T> implements EnvelopeDTO<T> {
|
|
202
|
-
constructor(id: string, data: T, type: string, datacontenttype?:
|
|
159
|
+
constructor(id: string, data: T, type: string, datacontenttype?: string, specversion?: string, source?: string, time?: string);
|
|
203
160
|
get id(): string;
|
|
204
161
|
get data(): T;
|
|
205
162
|
get type(): string;
|
|
206
|
-
get datacontenttype():
|
|
207
|
-
get specversion():
|
|
208
|
-
get source():
|
|
209
|
-
get time():
|
|
210
|
-
readonly __doNotUseOrImplementIt: EnvelopeDTO<any>["__doNotUseOrImplementIt"];
|
|
163
|
+
get datacontenttype(): string | undefined;
|
|
164
|
+
get specversion(): string | undefined;
|
|
165
|
+
get source(): string | undefined;
|
|
166
|
+
get time(): string | undefined;
|
|
211
167
|
}
|
|
212
168
|
export declare namespace Envelope {
|
|
213
169
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -229,35 +185,25 @@ export declare namespace Envelope {
|
|
|
229
185
|
}
|
|
230
186
|
export declare interface WithEnvelopeData<T> {
|
|
231
187
|
readonly data: T;
|
|
232
|
-
readonly __doNotUseOrImplementIt: {
|
|
233
|
-
readonly "f2.dsl.cqrs.envelope.WithEnvelopeData": unique symbol;
|
|
234
|
-
};
|
|
235
188
|
}
|
|
236
189
|
export declare interface WithEnvelopeId {
|
|
237
190
|
readonly id: string;
|
|
238
|
-
readonly __doNotUseOrImplementIt: {
|
|
239
|
-
readonly "f2.dsl.cqrs.envelope.WithEnvelopeId": unique symbol;
|
|
240
|
-
};
|
|
241
191
|
}
|
|
242
192
|
export declare interface F2ErrorDTO extends Problem {
|
|
243
|
-
readonly id
|
|
193
|
+
readonly id?: string;
|
|
244
194
|
readonly timestamp: string;
|
|
245
195
|
readonly code: number;
|
|
246
|
-
readonly requestId
|
|
196
|
+
readonly requestId?: string;
|
|
247
197
|
readonly message: string;
|
|
248
|
-
readonly __doNotUseOrImplementIt: {
|
|
249
|
-
readonly "f2.dsl.cqrs.error.F2ErrorDTO": unique symbol;
|
|
250
|
-
} & Problem["__doNotUseOrImplementIt"];
|
|
251
198
|
}
|
|
252
199
|
export declare class F2Error implements F2ErrorDTO {
|
|
253
|
-
constructor(message: string, id?:
|
|
200
|
+
constructor(message: string, id?: string, timestamp?: string, code?: number, requestId?: string);
|
|
254
201
|
get message(): string;
|
|
255
|
-
get id():
|
|
202
|
+
get id(): string | undefined;
|
|
256
203
|
get timestamp(): string;
|
|
257
204
|
get code(): number;
|
|
258
|
-
get requestId():
|
|
205
|
+
get requestId(): string | undefined;
|
|
259
206
|
toString(): string;
|
|
260
|
-
readonly __doNotUseOrImplementIt: F2ErrorDTO["__doNotUseOrImplementIt"];
|
|
261
207
|
}
|
|
262
208
|
export declare namespace F2Error {
|
|
263
209
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -266,7 +212,7 @@ export declare namespace F2Error {
|
|
|
266
212
|
}
|
|
267
213
|
}
|
|
268
214
|
export declare class F2Exception extends /* RuntimeException */ Error {
|
|
269
|
-
constructor(error: F2ErrorDTO, cause?:
|
|
215
|
+
constructor(error: F2ErrorDTO, cause?: Error);
|
|
270
216
|
get error(): F2ErrorDTO;
|
|
271
217
|
}
|
|
272
218
|
export declare namespace F2Exception {
|
|
@@ -281,7 +227,7 @@ export declare namespace F2Exception {
|
|
|
281
227
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
282
228
|
namespace $metadata$ {
|
|
283
229
|
abstract class constructor {
|
|
284
|
-
invoke(message: string, id?: string, requestId?: string, code?: number, cause?:
|
|
230
|
+
invoke(message: string, id?: string, requestId?: string, code?: number, cause?: Error): F2Exception;
|
|
285
231
|
private constructor();
|
|
286
232
|
}
|
|
287
233
|
}
|
|
@@ -293,30 +239,20 @@ export declare interface Match<T> {
|
|
|
293
239
|
not(): Match<T>;
|
|
294
240
|
and(match: Match<T>): Match<T>;
|
|
295
241
|
or(match: Match<T>): Match<T>;
|
|
296
|
-
readonly __doNotUseOrImplementIt: {
|
|
297
|
-
readonly "f2.dsl.cqrs.filter.Match": unique symbol;
|
|
298
|
-
};
|
|
299
242
|
}
|
|
300
243
|
export declare interface SortDTO {
|
|
301
244
|
readonly property: string;
|
|
302
245
|
readonly ascending: boolean;
|
|
303
|
-
readonly nullsFirst
|
|
304
|
-
readonly __doNotUseOrImplementIt: {
|
|
305
|
-
readonly "f2.dsl.cqrs.filter.SortDTO": unique symbol;
|
|
306
|
-
};
|
|
246
|
+
readonly nullsFirst?: boolean;
|
|
307
247
|
}
|
|
308
248
|
export declare interface PageDTO<out OBJECT> {
|
|
309
249
|
readonly total: number;
|
|
310
|
-
readonly items:
|
|
311
|
-
readonly __doNotUseOrImplementIt: {
|
|
312
|
-
readonly "f2.dsl.cqrs.page.PageDTO": unique symbol;
|
|
313
|
-
};
|
|
250
|
+
readonly items: OBJECT[];
|
|
314
251
|
}
|
|
315
252
|
export declare class Page<out OBJECT> implements PageDTO<OBJECT> {
|
|
316
|
-
constructor(total: number, items:
|
|
253
|
+
constructor(total: number, items: OBJECT[]);
|
|
317
254
|
get total(): number;
|
|
318
|
-
get items():
|
|
319
|
-
readonly __doNotUseOrImplementIt: PageDTO<any>["__doNotUseOrImplementIt"];
|
|
255
|
+
get items(): OBJECT[];
|
|
320
256
|
}
|
|
321
257
|
export declare namespace Page {
|
|
322
258
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -325,23 +261,16 @@ export declare namespace Page {
|
|
|
325
261
|
}
|
|
326
262
|
}
|
|
327
263
|
export declare interface PageQueryDTO extends Query {
|
|
328
|
-
readonly pagination
|
|
329
|
-
readonly __doNotUseOrImplementIt: {
|
|
330
|
-
readonly "f2.dsl.cqrs.page.PageQueryDTO": unique symbol;
|
|
331
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
264
|
+
readonly pagination?: OffsetPaginationDTO;
|
|
332
265
|
}
|
|
333
266
|
export declare interface PageQueryResultDTO<out OBJECT> extends Event, PageDTO<OBJECT> {
|
|
334
267
|
readonly total: number;
|
|
335
|
-
readonly items:
|
|
336
|
-
readonly pagination
|
|
337
|
-
readonly __doNotUseOrImplementIt: {
|
|
338
|
-
readonly "f2.dsl.cqrs.page.PageQueryResultDTO": unique symbol;
|
|
339
|
-
} & PageDTO<any>["__doNotUseOrImplementIt"] & Event["__doNotUseOrImplementIt"];
|
|
268
|
+
readonly items: OBJECT[];
|
|
269
|
+
readonly pagination?: OffsetPaginationDTO;
|
|
340
270
|
}
|
|
341
271
|
export declare class PageQuery implements PageQueryDTO {
|
|
342
|
-
constructor(pagination
|
|
343
|
-
get pagination():
|
|
344
|
-
readonly __doNotUseOrImplementIt: PageQueryDTO["__doNotUseOrImplementIt"];
|
|
272
|
+
constructor(pagination?: OffsetPaginationDTO);
|
|
273
|
+
get pagination(): OffsetPaginationDTO | undefined;
|
|
345
274
|
}
|
|
346
275
|
export declare namespace PageQuery {
|
|
347
276
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -350,11 +279,10 @@ export declare namespace PageQuery {
|
|
|
350
279
|
}
|
|
351
280
|
}
|
|
352
281
|
export declare class PageQueryResult<out OBJECT> implements PageQueryResultDTO<OBJECT> {
|
|
353
|
-
constructor(pagination
|
|
354
|
-
get pagination():
|
|
282
|
+
constructor(pagination?: OffsetPagination, total: number, items: OBJECT[]);
|
|
283
|
+
get pagination(): OffsetPagination | undefined;
|
|
355
284
|
get total(): number;
|
|
356
|
-
get items():
|
|
357
|
-
readonly __doNotUseOrImplementIt: PageQueryResultDTO<any>["__doNotUseOrImplementIt"];
|
|
285
|
+
get items(): OBJECT[];
|
|
358
286
|
}
|
|
359
287
|
export declare namespace PageQueryResult {
|
|
360
288
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -363,29 +291,19 @@ export declare namespace PageQueryResult {
|
|
|
363
291
|
}
|
|
364
292
|
}
|
|
365
293
|
export declare interface Pagination {
|
|
366
|
-
readonly __doNotUseOrImplementIt: {
|
|
367
|
-
readonly "f2.dsl.cqrs.page.Pagination": unique symbol;
|
|
368
|
-
};
|
|
369
294
|
}
|
|
370
295
|
export declare interface OffsetPaginationDTO extends Pagination {
|
|
371
296
|
readonly offset: number;
|
|
372
297
|
readonly limit: number;
|
|
373
|
-
readonly __doNotUseOrImplementIt: {
|
|
374
|
-
readonly "f2.dsl.cqrs.page.OffsetPaginationDTO": unique symbol;
|
|
375
|
-
} & Pagination["__doNotUseOrImplementIt"];
|
|
376
298
|
}
|
|
377
299
|
export declare interface PagePaginationDTO extends Pagination {
|
|
378
|
-
readonly page
|
|
379
|
-
readonly size
|
|
380
|
-
readonly __doNotUseOrImplementIt: {
|
|
381
|
-
readonly "f2.dsl.cqrs.page.PagePaginationDTO": unique symbol;
|
|
382
|
-
} & Pagination["__doNotUseOrImplementIt"];
|
|
300
|
+
readonly page?: number;
|
|
301
|
+
readonly size?: number;
|
|
383
302
|
}
|
|
384
303
|
export declare class OffsetPagination implements OffsetPaginationDTO {
|
|
385
304
|
constructor(offset: number, limit: number);
|
|
386
305
|
get offset(): number;
|
|
387
306
|
get limit(): number;
|
|
388
|
-
readonly __doNotUseOrImplementIt: OffsetPaginationDTO["__doNotUseOrImplementIt"];
|
|
389
307
|
}
|
|
390
308
|
export declare namespace OffsetPagination {
|
|
391
309
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -394,10 +312,9 @@ export declare namespace OffsetPagination {
|
|
|
394
312
|
}
|
|
395
313
|
}
|
|
396
314
|
export declare class PagePagination implements PagePaginationDTO {
|
|
397
|
-
constructor(page
|
|
398
|
-
get page():
|
|
399
|
-
get size():
|
|
400
|
-
readonly __doNotUseOrImplementIt: PagePaginationDTO["__doNotUseOrImplementIt"];
|
|
315
|
+
constructor(page?: number, size?: number);
|
|
316
|
+
get page(): number | undefined;
|
|
317
|
+
get size(): number | undefined;
|
|
401
318
|
}
|
|
402
319
|
export declare namespace PagePagination {
|
|
403
320
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -410,7 +327,7 @@ export declare abstract class AuthRealm {
|
|
|
410
327
|
get serverUrl(): string;
|
|
411
328
|
get realmId(): string;
|
|
412
329
|
get clientId(): string;
|
|
413
|
-
get redirectUrl():
|
|
330
|
+
get redirectUrl(): string | undefined;
|
|
414
331
|
}
|
|
415
332
|
export declare namespace AuthRealm {
|
|
416
333
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -429,7 +346,7 @@ export declare class AuthRealmPassword extends AuthRealm.$metadata$.constructor
|
|
|
429
346
|
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): AuthRealmPassword;
|
|
430
347
|
toString(): string;
|
|
431
348
|
hashCode(): number;
|
|
432
|
-
equals(other
|
|
349
|
+
equals(other?: any): boolean;
|
|
433
350
|
}
|
|
434
351
|
export declare namespace AuthRealmPassword {
|
|
435
352
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -438,17 +355,17 @@ export declare namespace AuthRealmPassword {
|
|
|
438
355
|
}
|
|
439
356
|
}
|
|
440
357
|
export declare class AuthRealmClientSecret extends AuthRealm.$metadata$.constructor {
|
|
441
|
-
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
358
|
+
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string | undefined, clientSecret: string, isPublic?: boolean);
|
|
442
359
|
get serverUrl(): string;
|
|
443
360
|
get realmId(): string;
|
|
444
361
|
get clientId(): string;
|
|
445
|
-
get redirectUrl():
|
|
362
|
+
get redirectUrl(): string | undefined;
|
|
446
363
|
get clientSecret(): string;
|
|
447
364
|
get isPublic(): boolean;
|
|
448
|
-
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?:
|
|
365
|
+
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): AuthRealmClientSecret;
|
|
449
366
|
toString(): string;
|
|
450
367
|
hashCode(): number;
|
|
451
|
-
equals(other
|
|
368
|
+
equals(other?: any): boolean;
|
|
452
369
|
}
|
|
453
370
|
export declare namespace AuthRealmClientSecret {
|
|
454
371
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -457,18 +374,18 @@ export declare namespace AuthRealmClientSecret {
|
|
|
457
374
|
}
|
|
458
375
|
}
|
|
459
376
|
export declare class TokenInfo {
|
|
460
|
-
constructor(accessToken: string, expiresIn: number, refreshExpiresIn
|
|
377
|
+
constructor(accessToken: string, expiresIn: number, refreshExpiresIn?: number | undefined, tokenType: string, scope?: string, idToken?: string, refreshToken?: string);
|
|
461
378
|
get accessToken(): string;
|
|
462
379
|
get expiresIn(): number;
|
|
463
|
-
get refreshExpiresIn():
|
|
380
|
+
get refreshExpiresIn(): number | undefined;
|
|
464
381
|
get tokenType(): string;
|
|
465
|
-
get scope():
|
|
466
|
-
get idToken():
|
|
467
|
-
get refreshToken():
|
|
468
|
-
copy(accessToken?: string, expiresIn?: number, refreshExpiresIn?:
|
|
382
|
+
get scope(): string | undefined;
|
|
383
|
+
get idToken(): string | undefined;
|
|
384
|
+
get refreshToken(): string | undefined;
|
|
385
|
+
copy(accessToken?: string, expiresIn?: number, refreshExpiresIn?: number, tokenType?: string, scope?: string, idToken?: string, refreshToken?: string): TokenInfo;
|
|
469
386
|
toString(): string;
|
|
470
387
|
hashCode(): number;
|
|
471
|
-
equals(other
|
|
388
|
+
equals(other?: any): boolean;
|
|
472
389
|
}
|
|
473
390
|
export declare namespace TokenInfo {
|
|
474
391
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -478,53 +395,35 @@ export declare namespace TokenInfo {
|
|
|
478
395
|
}
|
|
479
396
|
export declare interface SpaceDefineCommandDTO extends Command {
|
|
480
397
|
readonly identifier: string;
|
|
481
|
-
readonly displayName
|
|
482
|
-
readonly theme
|
|
483
|
-
readonly smtp
|
|
484
|
-
readonly locales
|
|
485
|
-
readonly settings
|
|
486
|
-
readonly mfa
|
|
487
|
-
readonly sslRequired
|
|
488
|
-
readonly __doNotUseOrImplementIt: {
|
|
489
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDefineCommandDTO": unique symbol;
|
|
490
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
398
|
+
readonly displayName?: string;
|
|
399
|
+
readonly theme?: string;
|
|
400
|
+
readonly smtp?: Record<string, string>;
|
|
401
|
+
readonly locales?: string[];
|
|
402
|
+
readonly settings?: SpaceSettingsDTO;
|
|
403
|
+
readonly mfa?: string[];
|
|
404
|
+
readonly sslRequired?: string;
|
|
491
405
|
}
|
|
492
406
|
export declare interface SpaceSettingsDTO {
|
|
493
|
-
readonly registrationAllowed
|
|
494
|
-
readonly rememberMe
|
|
495
|
-
readonly resetPasswordAllowed
|
|
496
|
-
readonly registrationEmailAsUsername
|
|
497
|
-
readonly __doNotUseOrImplementIt: {
|
|
498
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceSettingsDTO": unique symbol;
|
|
499
|
-
};
|
|
407
|
+
readonly registrationAllowed?: boolean;
|
|
408
|
+
readonly rememberMe?: boolean;
|
|
409
|
+
readonly resetPasswordAllowed?: boolean;
|
|
410
|
+
readonly registrationEmailAsUsername?: boolean;
|
|
500
411
|
}
|
|
501
412
|
export declare interface SpaceDefinedEventDTO extends Event {
|
|
502
413
|
readonly identifier: string;
|
|
503
|
-
readonly __doNotUseOrImplementIt: {
|
|
504
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDefinedEventDTO": unique symbol;
|
|
505
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
506
414
|
}
|
|
507
415
|
export declare interface SpaceDeleteCommandDTO extends Command {
|
|
508
416
|
readonly id: string;
|
|
509
|
-
readonly __doNotUseOrImplementIt: {
|
|
510
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDeleteCommandDTO": unique symbol;
|
|
511
|
-
} & Command["__doNotUseOrImplementIt"];
|
|
512
417
|
}
|
|
513
418
|
export declare interface SpaceDeletedEventDTO extends Event {
|
|
514
419
|
readonly id: string;
|
|
515
|
-
readonly __doNotUseOrImplementIt: {
|
|
516
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDeletedEventDTO": unique symbol;
|
|
517
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
518
420
|
}
|
|
519
421
|
export declare interface SpaceDTO {
|
|
520
|
-
readonly identifier
|
|
521
|
-
readonly displayName
|
|
522
|
-
readonly smtp
|
|
523
|
-
readonly theme
|
|
524
|
-
readonly locales
|
|
525
|
-
readonly __doNotUseOrImplementIt: {
|
|
526
|
-
readonly "io.komune.im.f2.space.domain.model.SpaceDTO": unique symbol;
|
|
527
|
-
};
|
|
422
|
+
readonly identifier?: string;
|
|
423
|
+
readonly displayName?: string;
|
|
424
|
+
readonly smtp?: Record<string, string>;
|
|
425
|
+
readonly theme?: string;
|
|
426
|
+
readonly locales?: string[];
|
|
528
427
|
}
|
|
529
428
|
export declare abstract class SpacePolicies {
|
|
530
429
|
static readonly getInstance: () => typeof SpacePolicies.$metadata$.type;
|
|
@@ -547,26 +446,14 @@ export declare namespace SpacePolicies {
|
|
|
547
446
|
}
|
|
548
447
|
export declare interface SpaceGetQueryDTO extends Query {
|
|
549
448
|
readonly id: string;
|
|
550
|
-
readonly __doNotUseOrImplementIt: {
|
|
551
|
-
readonly "io.komune.im.f2.space.domain.query.SpaceGetQueryDTO": unique symbol;
|
|
552
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
553
449
|
}
|
|
554
450
|
export declare interface SpaceGetResultDTO extends Event {
|
|
555
|
-
readonly item
|
|
556
|
-
readonly __doNotUseOrImplementIt: {
|
|
557
|
-
readonly "io.komune.im.f2.space.domain.query.SpaceGetResultDTO": unique symbol;
|
|
558
|
-
} & Event["__doNotUseOrImplementIt"];
|
|
451
|
+
readonly item?: SpaceDTO;
|
|
559
452
|
}
|
|
560
453
|
export declare interface SpacePageQueryDTO extends Query {
|
|
561
|
-
readonly search
|
|
562
|
-
readonly page
|
|
563
|
-
readonly size
|
|
564
|
-
readonly __doNotUseOrImplementIt: {
|
|
565
|
-
readonly "io.komune.im.f2.space.domain.query.SpacePageQueryDTO": unique symbol;
|
|
566
|
-
} & Query["__doNotUseOrImplementIt"];
|
|
454
|
+
readonly search?: string;
|
|
455
|
+
readonly page?: number;
|
|
456
|
+
readonly size?: number;
|
|
567
457
|
}
|
|
568
458
|
export declare interface SpacePageResultDTO extends PageDTO<SpaceDTO> {
|
|
569
|
-
readonly __doNotUseOrImplementIt: {
|
|
570
|
-
readonly "io.komune.im.f2.space.domain.query.SpacePageResultDTO": unique symbol;
|
|
571
|
-
} & PageDTO<any>["__doNotUseOrImplementIt"];
|
|
572
459
|
}
|