@komune-io/im-organization-domain 0.15.0 → 0.16.0-alpha.5987f90

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.
@@ -165,6 +165,10 @@ export declare namespace f2.client.ktor.http.plugin.model {
165
165
  get clientId(): string;
166
166
  get username(): string;
167
167
  get password(): string;
168
+ copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): f2.client.ktor.http.plugin.model.AuthRealmPassword;
169
+ toString(): string;
170
+ hashCode(): number;
171
+ equals(other?: any): boolean;
168
172
  }
169
173
  class AuthRealmClientSecret extends f2.client.ktor.http.plugin.model.AuthRealm {
170
174
  constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, clientSecret: string, isPublic?: boolean);
@@ -174,12 +178,16 @@ export declare namespace f2.client.ktor.http.plugin.model {
174
178
  get redirectUrl(): Nullable<string>;
175
179
  get clientSecret(): string;
176
180
  get isPublic(): boolean;
181
+ copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): f2.client.ktor.http.plugin.model.AuthRealmClientSecret;
182
+ toString(): string;
183
+ hashCode(): number;
184
+ equals(other?: any): boolean;
177
185
  }
178
186
  }
179
187
  export declare namespace f2.client.ktor.http {
180
188
  class HttpClientBuilder {
181
189
  constructor(json?: kotlinx.serialization.json.Json);
182
- build(urlBase: string): Promise<f2.client.F2Client/* f2.client.ktor.http.HttpF2Client */>;
190
+ build(urlBase: string): f2.client.F2Client/* f2.client.ktor.http.HttpF2Client */;
183
191
  static httpClient$default($this: f2.client.ktor.http.HttpClientBuilder, json?: kotlinx.serialization.json.Json): io.ktor.client.HttpClient;
184
192
  }
185
193
  }
@@ -232,49 +240,6 @@ export declare namespace io.komune.im.commons.model {
232
240
 
233
241
  }
234
242
  }
235
- export declare namespace io.komune.im.commons.model {
236
- abstract class AuthRealm {
237
- protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, space: string);
238
- get serverUrl(): string;
239
- get realmId(): string;
240
- get clientId(): string;
241
- get redirectUrl(): Nullable<string>;
242
- get space(): string;
243
- }
244
- class AuthRealmPassword extends io.komune.im.commons.model.AuthRealm {
245
- constructor(serverUrl: string, realmId: string, redirectUrl: string, clientId: string, username: string, password: string, space: string);
246
- get serverUrl(): string;
247
- get realmId(): string;
248
- get redirectUrl(): string;
249
- get clientId(): string;
250
- get username(): string;
251
- get password(): string;
252
- get space(): string;
253
- copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string, space?: string): io.komune.im.commons.model.AuthRealmPassword;
254
- toString(): string;
255
- hashCode(): number;
256
- equals(other?: any): boolean;
257
- }
258
- class AuthRealmClientSecret extends io.komune.im.commons.model.AuthRealm {
259
- constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, clientSecret: string, space: string);
260
- get serverUrl(): string;
261
- get realmId(): string;
262
- get clientId(): string;
263
- get redirectUrl(): Nullable<string>;
264
- get clientSecret(): string;
265
- get space(): string;
266
- copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, space?: string): io.komune.im.commons.model.AuthRealmClientSecret;
267
- toString(): string;
268
- hashCode(): number;
269
- equals(other?: any): boolean;
270
- }
271
- }
272
- export declare namespace io.komune.im.commons.http {
273
- class ClientJs {
274
- constructor();
275
- protected doCall<T>(fnc: any /*Suspend functions are not supported*/): Promise<T>;
276
- }
277
- }
278
243
  export declare namespace io.komune.im.core.organization.domain.command {
279
244
  interface OrganizationDeleteCommandDTO extends f2.dsl.cqrs.Command {
280
245
  readonly id: string;
@@ -346,8 +311,8 @@ export declare namespace io.komune.im.f2.privilege.domain.role.command {
346
311
  readonly description: string;
347
312
  readonly targets: string[];
348
313
  readonly locale: Record<string, string>;
349
- readonly bindings?: any/* Nullable<Record<string, string[]>> */;
350
- readonly permissions?: any/* Nullable<string>[] */;
314
+ readonly bindings?: Record<string, string[]>;
315
+ readonly permissions?: string[];
351
316
 
352
317
  }
353
318
  interface RoleDefinedEventDTO extends f2.dsl.cqrs.Event {
@@ -402,9 +367,9 @@ export declare namespace io.komune.im.f2.organization.domain.command {
402
367
  readonly description?: string;
403
368
  readonly address?: io.komune.im.commons.model.AddressDTO;
404
369
  readonly website?: string;
405
- readonly roles?: any/* Nullable<string>[] */;
370
+ readonly roles?: string[];
406
371
  readonly parentOrganizationId?: string;
407
- readonly attributes?: any/* Nullable<Record<string, string>> */;
372
+ readonly attributes?: Record<string, string>;
408
373
  readonly status?: string;
409
374
 
410
375
  }
@@ -429,8 +394,8 @@ export declare namespace io.komune.im.f2.organization.domain.command {
429
394
  readonly id: string;
430
395
  readonly disabledBy?: string;
431
396
  readonly anonymize: boolean;
432
- readonly attributes?: any/* Nullable<Record<string, string>> */;
433
- readonly userAttributes?: any/* Nullable<Record<string, string>> */;
397
+ readonly attributes?: Record<string, string>;
398
+ readonly userAttributes?: Record<string, string>;
434
399
 
435
400
  }
436
401
  interface OrganizationDisabledEventDTO extends f2.dsl.cqrs.Event {
@@ -446,8 +411,8 @@ export declare namespace io.komune.im.f2.organization.domain.command {
446
411
  readonly description?: string;
447
412
  readonly address?: io.komune.im.commons.model.AddressDTO;
448
413
  readonly website?: string;
449
- readonly roles?: any/* Nullable<string>[] */;
450
- readonly attributes?: any/* Nullable<Record<string, string>> */;
414
+ readonly roles?: string[];
415
+ readonly attributes?: Record<string, string>;
451
416
  readonly status?: string;
452
417
 
453
418
  }
@@ -482,7 +447,7 @@ export declare namespace io.komune.im.f2.organization.domain.model {
482
447
  readonly status: string;
483
448
  readonly disabledBy?: string;
484
449
  readonly creationDate: number;
485
- readonly disabledDate?: any/* Nullable<number> */;
450
+ readonly disabledDate?: number;
486
451
 
487
452
  }
488
453
  }
@@ -537,9 +502,9 @@ export declare namespace io.komune.im.f2.organization.domain.query {
537
502
  interface OrganizationPageQueryDTO extends f2.dsl.cqrs.Query {
538
503
  readonly name?: string;
539
504
  readonly role?: string;
540
- readonly roles?: any/* Nullable<string>[] */;
541
- readonly attributes?: any/* Nullable<Record<string, string>> */;
542
- readonly status?: any/* Nullable<string>[] */;
505
+ readonly roles?: string[];
506
+ readonly attributes?: Record<string, string>;
507
+ readonly status?: string[];
543
508
  readonly withDisabled?: boolean;
544
509
  readonly offset?: number;
545
510
  readonly limit?: number;