@solibo/home-api 1.1.14 → 1.1.15

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.
@@ -262,7 +262,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
262
262
  initMetadataForClass(Symbol, 'Symbol');
263
263
  initMetadataForInterface(SelectInstance, 'SelectInstance');
264
264
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
265
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
265
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
266
266
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
267
267
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
268
268
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -427,6 +427,11 @@ export declare namespace AuthChallengeType {
427
427
  }
428
428
  }
429
429
  }
430
+ export declare interface AuthUser {
431
+ readonly __doNotUseOrImplementIt: {
432
+ readonly "no.solibo.oss.sdk.api.gen.models.AuthUser": unique symbol;
433
+ };
434
+ }
430
435
  export declare class AuthorizationSupportRequestCommand {
431
436
  constructor(companyName: string, email: string);
432
437
  get companyName(): string;
@@ -645,6 +650,25 @@ export declare namespace ChangeResponsibleCommand {
645
650
  const constructor: abstract new () => ChangeResponsibleCommand;
646
651
  }
647
652
  }
653
+ export declare class ClientUser implements AuthUser {
654
+ constructor(clientId: string, id: bigint, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, scopes: KtList<string>);
655
+ get clientId(): string;
656
+ get id(): bigint;
657
+ get organizationId(): Nullable<bigint>;
658
+ get personId(): Nullable<bigint>;
659
+ get scopes(): KtList<string>;
660
+ copy(clientId?: string, id?: bigint, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<string>): ClientUser;
661
+ toString(): string;
662
+ hashCode(): number;
663
+ equals(other: Nullable<any>): boolean;
664
+ readonly __doNotUseOrImplementIt: AuthUser["__doNotUseOrImplementIt"];
665
+ }
666
+ export declare namespace ClientUser {
667
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
668
+ namespace $metadata$ {
669
+ const constructor: abstract new () => ClientUser;
670
+ }
671
+ }
648
672
  export declare class CloseInsuranceCommand {
649
673
  constructor(endDate: any/* Instant */);
650
674
  get endDate(): any/* Instant */;
@@ -2201,6 +2225,22 @@ export declare namespace CreateLoanCommand {
2201
2225
  const constructor: abstract new () => CreateLoanCommand;
2202
2226
  }
2203
2227
  }
2228
+ export declare class CreateM2MTokensCommand {
2229
+ constructor(clientId: string, clientSecret: string, scopes: KtList<string>);
2230
+ get clientId(): string;
2231
+ get clientSecret(): string;
2232
+ get scopes(): KtList<string>;
2233
+ copy(clientId?: string, clientSecret?: string, scopes?: KtList<string>): CreateM2MTokensCommand;
2234
+ toString(): string;
2235
+ hashCode(): number;
2236
+ equals(other: Nullable<any>): boolean;
2237
+ }
2238
+ export declare namespace CreateM2MTokensCommand {
2239
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
2240
+ namespace $metadata$ {
2241
+ const constructor: abstract new () => CreateM2MTokensCommand;
2242
+ }
2243
+ }
2204
2244
  export declare class CreateMeetingCommand {
2205
2245
  constructor(location: Nullable<string> | undefined, plannedEndAt: any/* Instant */, plannedStartAt: any/* Instant */, title?: Nullable<string>);
2206
2246
  get location(): Nullable<string>;
@@ -5866,13 +5906,13 @@ export declare namespace Issue {
5866
5906
  }
5867
5907
  }
5868
5908
  export declare class IssueComment {
5869
- constructor(content: string, createdAt: any/* Instant */, createdBy: User, emoticon: Nullable<string> | undefined, id: bigint);
5909
+ constructor(content: string, createdAt: any/* Instant */, createdBy: PersonUser, emoticon: Nullable<string> | undefined, id: bigint);
5870
5910
  get content(): string;
5871
5911
  get createdAt(): any/* Instant */;
5872
- get createdBy(): User;
5912
+ get createdBy(): PersonUser;
5873
5913
  get emoticon(): Nullable<string>;
5874
5914
  get id(): bigint;
5875
- copy(content?: string, createdAt?: any/* Instant */, createdBy?: User, emoticon?: Nullable<string>, id?: bigint): IssueComment;
5915
+ copy(content?: string, createdAt?: any/* Instant */, createdBy?: PersonUser, emoticon?: Nullable<string>, id?: bigint): IssueComment;
5876
5916
  toString(): string;
5877
5917
  hashCode(): number;
5878
5918
  equals(other: Nullable<any>): boolean;
@@ -5928,9 +5968,9 @@ export declare namespace IssueInConversation {
5928
5968
  }
5929
5969
  }
5930
5970
  export declare class IssueInMeeting {
5931
- constructor(attachedToMeetingAt: any/* Instant */, attachedToMeetingBy: User, comments: Nullable<KtList<IssueComment>> | undefined, createdAt: any/* Instant */, createdById: Nullable<bigint> | undefined, description: Nullable<string> | undefined, documents: Nullable<KtList<Document>> | undefined, followUp: boolean, issueId: bigint, issueStatus: IssueStatus, meetingId: bigint, proposedResolution: Nullable<string> | undefined, report: Nullable<string> | undefined, resolution: Nullable<string> | undefined, resolved: boolean, responsibleId: Nullable<bigint> | undefined, sequence: number, status: Nullable<MeetingStatus> | undefined, title: string, updatedAt: any/* Instant */, updatedById?: Nullable<bigint>);
5971
+ constructor(attachedToMeetingAt: any/* Instant */, attachedToMeetingBy: IssueInMeetingAttachedToMeetingBy, comments: Nullable<KtList<IssueComment>> | undefined, createdAt: any/* Instant */, createdById: Nullable<bigint> | undefined, description: Nullable<string> | undefined, documents: Nullable<KtList<Document>> | undefined, followUp: boolean, issueId: bigint, issueStatus: IssueStatus, meetingId: bigint, proposedResolution: Nullable<string> | undefined, report: Nullable<string> | undefined, resolution: Nullable<string> | undefined, resolved: boolean, responsibleId: Nullable<bigint> | undefined, sequence: number, status: Nullable<MeetingStatus> | undefined, title: string, updatedAt: any/* Instant */, updatedById?: Nullable<bigint>);
5932
5972
  get attachedToMeetingAt(): any/* Instant */;
5933
- get attachedToMeetingBy(): User;
5973
+ get attachedToMeetingBy(): IssueInMeetingAttachedToMeetingBy;
5934
5974
  get comments(): Nullable<KtList<IssueComment>>;
5935
5975
  get createdAt(): any/* Instant */;
5936
5976
  get createdById(): Nullable<bigint>;
@@ -5950,7 +5990,7 @@ export declare class IssueInMeeting {
5950
5990
  get title(): string;
5951
5991
  get updatedAt(): any/* Instant */;
5952
5992
  get updatedById(): Nullable<bigint>;
5953
- copy(attachedToMeetingAt?: any/* Instant */, attachedToMeetingBy?: User, comments?: Nullable<KtList<IssueComment>>, createdAt?: any/* Instant */, createdById?: Nullable<bigint>, description?: Nullable<string>, documents?: Nullable<KtList<Document>>, followUp?: boolean, issueId?: bigint, issueStatus?: IssueStatus, meetingId?: bigint, proposedResolution?: Nullable<string>, report?: Nullable<string>, resolution?: Nullable<string>, resolved?: boolean, responsibleId?: Nullable<bigint>, sequence?: number, status?: Nullable<MeetingStatus>, title?: string, updatedAt?: any/* Instant */, updatedById?: Nullable<bigint>): IssueInMeeting;
5993
+ copy(attachedToMeetingAt?: any/* Instant */, attachedToMeetingBy?: IssueInMeetingAttachedToMeetingBy, comments?: Nullable<KtList<IssueComment>>, createdAt?: any/* Instant */, createdById?: Nullable<bigint>, description?: Nullable<string>, documents?: Nullable<KtList<Document>>, followUp?: boolean, issueId?: bigint, issueStatus?: IssueStatus, meetingId?: bigint, proposedResolution?: Nullable<string>, report?: Nullable<string>, resolution?: Nullable<string>, resolved?: boolean, responsibleId?: Nullable<bigint>, sequence?: number, status?: Nullable<MeetingStatus>, title?: string, updatedAt?: any/* Instant */, updatedById?: Nullable<bigint>): IssueInMeeting;
5954
5994
  toString(): string;
5955
5995
  hashCode(): number;
5956
5996
  equals(other: Nullable<any>): boolean;
@@ -5961,6 +6001,30 @@ export declare namespace IssueInMeeting {
5961
6001
  const constructor: abstract new () => IssueInMeeting;
5962
6002
  }
5963
6003
  }
6004
+ export declare class IssueInMeetingAttachedToMeetingBy {
6005
+ constructor(country: Nullable<string> | undefined, email: Nullable<string> | undefined, id: string, mobile: Nullable<string> | undefined, name: Nullable<Name> | undefined, nationality: Nullable<bigint> | undefined, personId: bigint, preferredLanguage: Nullable<bigint> | undefined, profileUrl: Nullable<string> | undefined, roles: Nullable<KtList<Role>> | undefined, username: string);
6006
+ get country(): Nullable<string>;
6007
+ get email(): Nullable<string>;
6008
+ get id(): string;
6009
+ get mobile(): Nullable<string>;
6010
+ get name(): Nullable<Name>;
6011
+ get nationality(): Nullable<bigint>;
6012
+ get personId(): bigint;
6013
+ get preferredLanguage(): Nullable<bigint>;
6014
+ get profileUrl(): Nullable<string>;
6015
+ get roles(): Nullable<KtList<Role>>;
6016
+ get username(): string;
6017
+ copy(country?: Nullable<string>, email?: Nullable<string>, id?: string, mobile?: Nullable<string>, name?: Nullable<Name>, nationality?: Nullable<bigint>, personId?: bigint, preferredLanguage?: Nullable<bigint>, profileUrl?: Nullable<string>, roles?: Nullable<KtList<Role>>, username?: string): IssueInMeetingAttachedToMeetingBy;
6018
+ toString(): string;
6019
+ hashCode(): number;
6020
+ equals(other: Nullable<any>): boolean;
6021
+ }
6022
+ export declare namespace IssueInMeetingAttachedToMeetingBy {
6023
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6024
+ namespace $metadata$ {
6025
+ const constructor: abstract new () => IssueInMeetingAttachedToMeetingBy;
6026
+ }
6027
+ }
5964
6028
  export declare class IssueProcessing {
5965
6029
  constructor(description: Nullable<string> | undefined, meetingEndedAt: any/* Instant */, meetingId: bigint, meetingStartedAt: any/* Instant */, meetingTitle?: Nullable<string>, proposedResolution?: Nullable<string>, report?: Nullable<string>, resolution?: Nullable<string>);
5966
6030
  get description(): Nullable<string>;
@@ -8338,6 +8402,31 @@ export declare namespace PersonStatus {
8338
8402
  }
8339
8403
  }
8340
8404
  }
8405
+ export declare class PersonUser implements AuthUser {
8406
+ constructor(country: Nullable<string> | undefined, email: Nullable<string> | undefined, id: string, mobile: Nullable<string> | undefined, name: Nullable<Name> | undefined, nationality: Nullable<bigint> | undefined, personId: bigint, preferredLanguage: Nullable<bigint> | undefined, profileUrl: Nullable<string> | undefined, roles: Nullable<KtList<Role>> | undefined, username: string);
8407
+ get country(): Nullable<string>;
8408
+ get email(): Nullable<string>;
8409
+ get id(): string;
8410
+ get mobile(): Nullable<string>;
8411
+ get name(): Nullable<Name>;
8412
+ get nationality(): Nullable<bigint>;
8413
+ get personId(): bigint;
8414
+ get preferredLanguage(): Nullable<bigint>;
8415
+ get profileUrl(): Nullable<string>;
8416
+ get roles(): Nullable<KtList<Role>>;
8417
+ get username(): string;
8418
+ copy(country?: Nullable<string>, email?: Nullable<string>, id?: string, mobile?: Nullable<string>, name?: Nullable<Name>, nationality?: Nullable<bigint>, personId?: bigint, preferredLanguage?: Nullable<bigint>, profileUrl?: Nullable<string>, roles?: Nullable<KtList<Role>>, username?: string): PersonUser;
8419
+ toString(): string;
8420
+ hashCode(): number;
8421
+ equals(other: Nullable<any>): boolean;
8422
+ readonly __doNotUseOrImplementIt: AuthUser["__doNotUseOrImplementIt"];
8423
+ }
8424
+ export declare namespace PersonUser {
8425
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
8426
+ namespace $metadata$ {
8427
+ const constructor: abstract new () => PersonUser;
8428
+ }
8429
+ }
8341
8430
  export declare class PersonnummerDeath {
8342
8431
  constructor(active: boolean, dateOfIncident?: Nullable<any>/* Nullable<Instant> */, reason?: Nullable<string>, source?: Nullable<string>);
8343
8432
  get active(): boolean;
@@ -12368,30 +12457,6 @@ export declare namespace UrlWrapper {
12368
12457
  const constructor: abstract new () => UrlWrapper;
12369
12458
  }
12370
12459
  }
12371
- export declare class User {
12372
- constructor(country: Nullable<string> | undefined, email: Nullable<string> | undefined, id: string, mobile: Nullable<string> | undefined, name: Nullable<Name> | undefined, nationality: Nullable<bigint> | undefined, personId: bigint, preferredLanguage: Nullable<bigint> | undefined, profileUrl: Nullable<string> | undefined, roles: Nullable<KtList<Role>> | undefined, username: string);
12373
- get country(): Nullable<string>;
12374
- get email(): Nullable<string>;
12375
- get id(): string;
12376
- get mobile(): Nullable<string>;
12377
- get name(): Nullable<Name>;
12378
- get nationality(): Nullable<bigint>;
12379
- get personId(): bigint;
12380
- get preferredLanguage(): Nullable<bigint>;
12381
- get profileUrl(): Nullable<string>;
12382
- get roles(): Nullable<KtList<Role>>;
12383
- get username(): string;
12384
- copy(country?: Nullable<string>, email?: Nullable<string>, id?: string, mobile?: Nullable<string>, name?: Nullable<Name>, nationality?: Nullable<bigint>, personId?: bigint, preferredLanguage?: Nullable<bigint>, profileUrl?: Nullable<string>, roles?: Nullable<KtList<Role>>, username?: string): User;
12385
- toString(): string;
12386
- hashCode(): number;
12387
- equals(other: Nullable<any>): boolean;
12388
- }
12389
- export declare namespace User {
12390
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12391
- namespace $metadata$ {
12392
- const constructor: abstract new () => User;
12393
- }
12394
- }
12395
12460
  export declare class UserConversations {
12396
12461
  constructor(company: Company, conversations: KtList<Conversation>);
12397
12462
  get company(): Company;
@@ -12540,6 +12605,7 @@ export declare class AuthApi extends ApiClient.$metadata$.constructor {
12540
12605
  createAuthSupportRequest(authorizationSupportRequestCommand: AuthorizationSupportRequestCommand): Promise<HttpResponse<void>>;
12541
12606
  createDeviceSrp(deviceSrpCommand: DeviceSrpCommand): Promise<HttpResponse<SoliboAuthentication>>;
12542
12607
  createDeviceSrpVerification(deviceVerifySrpCommand: DeviceVerifySrpCommand): Promise<HttpResponse<SoliboAuthentication>>;
12608
+ createM2MTokens(createM2MTokensCommand: CreateM2MTokensCommand): Promise<HttpResponse<SoliboAuthentication>>;
12543
12609
  createMfaPreference(mfaPreferenceCommand: MfaPreferenceCommand): Promise<HttpResponse<void>>;
12544
12610
  createMfaSelection(mfaSelectionCommand: MfaSelectionCommand): Promise<HttpResponse<void>>;
12545
12611
  createMfaSelectionConfirmation(mfaConfirmationCommand: MfaConfirmationCommand): Promise<HttpResponse<void>>;
@@ -13339,8 +13405,8 @@ export declare class UserApi extends ApiClient.$metadata$.constructor {
13339
13405
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): UserApi;
13340
13406
  deleteUserImage(): Promise<HttpResponse<void>>;
13341
13407
  indexUserConversations(unread?: Nullable<boolean>): Promise<HttpResponse<KtList<UserConversations>>>;
13342
- showAuthedUser(): Promise<HttpResponse<User>>;
13343
- showUser(): Promise<HttpResponse<User>>;
13408
+ showAuthedUser(): Promise<HttpResponse<AuthUser>>;
13409
+ showUser(): Promise<HttpResponse<PersonUser>>;
13344
13410
  showUserActions(companyId?: Nullable<bigint>): Promise<HttpResponse<KtList<string>>>;
13345
13411
  showUserImage(personId: bigint, fileName: string, size?: Nullable<string>): Promise<HttpResponse<void>>;
13346
13412
  updateUser(updateProfileCommand: UpdateProfileCommand): Promise<HttpResponse<void>>;