@solibo/solibo-sdk 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.
- package/KmLogging-logging.mjs +99 -99
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +240 -240
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +227 -227
- package/ktor-ktor-client-auth.mjs.map +1 -1
- package/ktor-ktor-client-core.mjs +5 -0
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-logging.mjs +516 -516
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +32065 -31093
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +153 -45
- package/solibo-sdk-sdk.mjs +2863 -2310
- package/solibo-sdk-sdk.mjs.map +1 -1
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -512,6 +512,11 @@ export declare namespace AuthChallengeType {
|
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
+
export declare interface AuthUser {
|
|
516
|
+
readonly __doNotUseOrImplementIt: {
|
|
517
|
+
readonly "no.solibo.oss.sdk.api.gen.models.AuthUser": unique symbol;
|
|
518
|
+
};
|
|
519
|
+
}
|
|
515
520
|
export interface AuthorizationSupportRequestCommandProps {
|
|
516
521
|
companyName: string;
|
|
517
522
|
email: string;
|
|
@@ -756,6 +761,29 @@ export declare namespace ChangeResponsibleCommand {
|
|
|
756
761
|
const constructor: abstract new () => ChangeResponsibleCommand;
|
|
757
762
|
}
|
|
758
763
|
}
|
|
764
|
+
export interface ClientUserProps {
|
|
765
|
+
clientId: string;
|
|
766
|
+
id: bigint;
|
|
767
|
+
organizationId?: bigint | null | undefined;
|
|
768
|
+
personId?: bigint | null | undefined;
|
|
769
|
+
scopes: KtList<string>;
|
|
770
|
+
}
|
|
771
|
+
export declare class ClientUser implements AuthUser {
|
|
772
|
+
constructor(props: ClientUserProps);
|
|
773
|
+
constructor(clientId: string, id: bigint, organizationId: bigint | null | undefined, personId: bigint | null | undefined, scopes: KtList<string>);
|
|
774
|
+
get clientId(): string;
|
|
775
|
+
get id(): bigint;
|
|
776
|
+
get organizationId(): bigint | null | undefined;
|
|
777
|
+
get personId(): bigint | null | undefined;
|
|
778
|
+
get scopes(): KtList<string>;
|
|
779
|
+
readonly __doNotUseOrImplementIt: AuthUser["__doNotUseOrImplementIt"];
|
|
780
|
+
}
|
|
781
|
+
export declare namespace ClientUser {
|
|
782
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
783
|
+
namespace $metadata$ {
|
|
784
|
+
const constructor: abstract new () => ClientUser;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
759
787
|
export interface CloseInsuranceCommandProps {
|
|
760
788
|
endDate: any/* Instant */;
|
|
761
789
|
}
|
|
@@ -2595,6 +2623,24 @@ export declare namespace CreateLoanCommand {
|
|
|
2595
2623
|
const constructor: abstract new () => CreateLoanCommand;
|
|
2596
2624
|
}
|
|
2597
2625
|
}
|
|
2626
|
+
export interface CreateM2MTokensCommandProps {
|
|
2627
|
+
clientId: string;
|
|
2628
|
+
clientSecret: string;
|
|
2629
|
+
scopes: KtList<string>;
|
|
2630
|
+
}
|
|
2631
|
+
export declare class CreateM2MTokensCommand {
|
|
2632
|
+
constructor(props: CreateM2MTokensCommandProps);
|
|
2633
|
+
constructor(clientId: string, clientSecret: string, scopes: KtList<string>);
|
|
2634
|
+
get clientId(): string;
|
|
2635
|
+
get clientSecret(): string;
|
|
2636
|
+
get scopes(): KtList<string>;
|
|
2637
|
+
}
|
|
2638
|
+
export declare namespace CreateM2MTokensCommand {
|
|
2639
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2640
|
+
namespace $metadata$ {
|
|
2641
|
+
const constructor: abstract new () => CreateM2MTokensCommand;
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2598
2644
|
export interface CreateMeetingCommandProps {
|
|
2599
2645
|
location?: string | null | undefined;
|
|
2600
2646
|
plannedEndAt: any/* Instant */;
|
|
@@ -6858,16 +6904,16 @@ export declare namespace Issue {
|
|
|
6858
6904
|
export interface IssueCommentProps {
|
|
6859
6905
|
content: string;
|
|
6860
6906
|
createdAt: any/* Instant */;
|
|
6861
|
-
createdBy:
|
|
6907
|
+
createdBy: PersonUserProps;
|
|
6862
6908
|
emoticon?: string | null | undefined;
|
|
6863
6909
|
id: bigint;
|
|
6864
6910
|
}
|
|
6865
6911
|
export declare class IssueComment {
|
|
6866
6912
|
constructor(props: IssueCommentProps);
|
|
6867
|
-
constructor(content: string, createdAt: any/* Instant */, createdBy:
|
|
6913
|
+
constructor(content: string, createdAt: any/* Instant */, createdBy: PersonUser, emoticon: string | null | undefined, id: bigint);
|
|
6868
6914
|
get content(): string;
|
|
6869
6915
|
get createdAt(): any/* Instant */;
|
|
6870
|
-
get createdBy():
|
|
6916
|
+
get createdBy(): PersonUser;
|
|
6871
6917
|
get emoticon(): string | null | undefined;
|
|
6872
6918
|
get id(): bigint;
|
|
6873
6919
|
}
|
|
@@ -6939,7 +6985,7 @@ export declare namespace IssueInConversation {
|
|
|
6939
6985
|
}
|
|
6940
6986
|
export interface IssueInMeetingProps {
|
|
6941
6987
|
attachedToMeetingAt: any/* Instant */;
|
|
6942
|
-
attachedToMeetingBy:
|
|
6988
|
+
attachedToMeetingBy: IssueInMeetingAttachedToMeetingByProps;
|
|
6943
6989
|
comments?: KtList<IssueCommentProps> | null | undefined;
|
|
6944
6990
|
createdAt: any/* Instant */;
|
|
6945
6991
|
createdById?: bigint | null | undefined;
|
|
@@ -6962,9 +7008,9 @@ export interface IssueInMeetingProps {
|
|
|
6962
7008
|
}
|
|
6963
7009
|
export declare class IssueInMeeting {
|
|
6964
7010
|
constructor(props: IssueInMeetingProps);
|
|
6965
|
-
constructor(attachedToMeetingAt: any/* Instant */, attachedToMeetingBy:
|
|
7011
|
+
constructor(attachedToMeetingAt: any/* Instant */, attachedToMeetingBy: IssueInMeetingAttachedToMeetingBy, comments: KtList<IssueComment> | null | undefined, createdAt: any/* Instant */, createdById: bigint | null | undefined, description: string | null | undefined, documents: KtList<Document> | null | undefined, followUp: boolean, issueId: bigint, issueStatus: IssueStatus, meetingId: bigint, proposedResolution: string | null | undefined, report: string | null | undefined, resolution: string | null | undefined, resolved: boolean, responsibleId: bigint | null | undefined, sequence: number, status: MeetingStatus | null | undefined, title: string, updatedAt: any/* Instant */, updatedById?: bigint | null | undefined);
|
|
6966
7012
|
get attachedToMeetingAt(): any/* Instant */;
|
|
6967
|
-
get attachedToMeetingBy():
|
|
7013
|
+
get attachedToMeetingBy(): IssueInMeetingAttachedToMeetingBy;
|
|
6968
7014
|
get comments(): KtList<IssueComment> | null | undefined;
|
|
6969
7015
|
get createdAt(): any/* Instant */;
|
|
6970
7016
|
get createdById(): bigint | null | undefined;
|
|
@@ -6991,6 +7037,40 @@ export declare namespace IssueInMeeting {
|
|
|
6991
7037
|
const constructor: abstract new () => IssueInMeeting;
|
|
6992
7038
|
}
|
|
6993
7039
|
}
|
|
7040
|
+
export interface IssueInMeetingAttachedToMeetingByProps {
|
|
7041
|
+
country?: string | null | undefined;
|
|
7042
|
+
email?: string | null | undefined;
|
|
7043
|
+
id: string;
|
|
7044
|
+
mobile?: string | null | undefined;
|
|
7045
|
+
name?: NameProps | null | undefined;
|
|
7046
|
+
nationality?: bigint | null | undefined;
|
|
7047
|
+
personId: bigint;
|
|
7048
|
+
preferredLanguage?: bigint | null | undefined;
|
|
7049
|
+
profileUrl?: string | null | undefined;
|
|
7050
|
+
roles?: KtList<RoleProps> | null | undefined;
|
|
7051
|
+
username: string;
|
|
7052
|
+
}
|
|
7053
|
+
export declare class IssueInMeetingAttachedToMeetingBy {
|
|
7054
|
+
constructor(props: IssueInMeetingAttachedToMeetingByProps);
|
|
7055
|
+
constructor(country: string | null | undefined, email: string | null | undefined, id: string, mobile: string | null | undefined, name: Name | null | undefined, nationality: bigint | null | undefined, personId: bigint, preferredLanguage: bigint | null | undefined, profileUrl: string | null | undefined, roles: KtList<Role> | null | undefined, username: string);
|
|
7056
|
+
get country(): string | null | undefined;
|
|
7057
|
+
get email(): string | null | undefined;
|
|
7058
|
+
get id(): string;
|
|
7059
|
+
get mobile(): string | null | undefined;
|
|
7060
|
+
get name(): Name | null | undefined;
|
|
7061
|
+
get nationality(): bigint | null | undefined;
|
|
7062
|
+
get personId(): bigint;
|
|
7063
|
+
get preferredLanguage(): bigint | null | undefined;
|
|
7064
|
+
get profileUrl(): string | null | undefined;
|
|
7065
|
+
get roles(): KtList<Role> | null | undefined;
|
|
7066
|
+
get username(): string;
|
|
7067
|
+
}
|
|
7068
|
+
export declare namespace IssueInMeetingAttachedToMeetingBy {
|
|
7069
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
7070
|
+
namespace $metadata$ {
|
|
7071
|
+
const constructor: abstract new () => IssueInMeetingAttachedToMeetingBy;
|
|
7072
|
+
}
|
|
7073
|
+
}
|
|
6994
7074
|
export interface IssueProcessingProps {
|
|
6995
7075
|
description?: string | null | undefined;
|
|
6996
7076
|
meetingEndedAt: any/* Instant */;
|
|
@@ -9814,6 +9894,41 @@ export declare namespace PersonStatus {
|
|
|
9814
9894
|
}
|
|
9815
9895
|
}
|
|
9816
9896
|
}
|
|
9897
|
+
export interface PersonUserProps {
|
|
9898
|
+
country?: string | null | undefined;
|
|
9899
|
+
email?: string | null | undefined;
|
|
9900
|
+
id: string;
|
|
9901
|
+
mobile?: string | null | undefined;
|
|
9902
|
+
name?: NameProps | null | undefined;
|
|
9903
|
+
nationality?: bigint | null | undefined;
|
|
9904
|
+
personId: bigint;
|
|
9905
|
+
preferredLanguage?: bigint | null | undefined;
|
|
9906
|
+
profileUrl?: string | null | undefined;
|
|
9907
|
+
roles?: KtList<RoleProps> | null | undefined;
|
|
9908
|
+
username: string;
|
|
9909
|
+
}
|
|
9910
|
+
export declare class PersonUser implements AuthUser {
|
|
9911
|
+
constructor(props: PersonUserProps);
|
|
9912
|
+
constructor(country: string | null | undefined, email: string | null | undefined, id: string, mobile: string | null | undefined, name: Name | null | undefined, nationality: bigint | null | undefined, personId: bigint, preferredLanguage: bigint | null | undefined, profileUrl: string | null | undefined, roles: KtList<Role> | null | undefined, username: string);
|
|
9913
|
+
get country(): string | null | undefined;
|
|
9914
|
+
get email(): string | null | undefined;
|
|
9915
|
+
get id(): string;
|
|
9916
|
+
get mobile(): string | null | undefined;
|
|
9917
|
+
get name(): Name | null | undefined;
|
|
9918
|
+
get nationality(): bigint | null | undefined;
|
|
9919
|
+
get personId(): bigint;
|
|
9920
|
+
get preferredLanguage(): bigint | null | undefined;
|
|
9921
|
+
get profileUrl(): string | null | undefined;
|
|
9922
|
+
get roles(): KtList<Role> | null | undefined;
|
|
9923
|
+
get username(): string;
|
|
9924
|
+
readonly __doNotUseOrImplementIt: AuthUser["__doNotUseOrImplementIt"];
|
|
9925
|
+
}
|
|
9926
|
+
export declare namespace PersonUser {
|
|
9927
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
9928
|
+
namespace $metadata$ {
|
|
9929
|
+
const constructor: abstract new () => PersonUser;
|
|
9930
|
+
}
|
|
9931
|
+
}
|
|
9817
9932
|
export interface PersonnummerDeathProps {
|
|
9818
9933
|
active: boolean;
|
|
9819
9934
|
dateOfIncident?: any | null | undefined/* Instant | null | undefined */;
|
|
@@ -14625,40 +14740,6 @@ export declare namespace UrlWrapper {
|
|
|
14625
14740
|
const constructor: abstract new () => UrlWrapper;
|
|
14626
14741
|
}
|
|
14627
14742
|
}
|
|
14628
|
-
export interface UserProps {
|
|
14629
|
-
country?: string | null | undefined;
|
|
14630
|
-
email?: string | null | undefined;
|
|
14631
|
-
id: string;
|
|
14632
|
-
mobile?: string | null | undefined;
|
|
14633
|
-
name?: NameProps | null | undefined;
|
|
14634
|
-
nationality?: bigint | null | undefined;
|
|
14635
|
-
personId: bigint;
|
|
14636
|
-
preferredLanguage?: bigint | null | undefined;
|
|
14637
|
-
profileUrl?: string | null | undefined;
|
|
14638
|
-
roles?: KtList<RoleProps> | null | undefined;
|
|
14639
|
-
username: string;
|
|
14640
|
-
}
|
|
14641
|
-
export declare class User {
|
|
14642
|
-
constructor(props: UserProps);
|
|
14643
|
-
constructor(country: string | null | undefined, email: string | null | undefined, id: string, mobile: string | null | undefined, name: Name | null | undefined, nationality: bigint | null | undefined, personId: bigint, preferredLanguage: bigint | null | undefined, profileUrl: string | null | undefined, roles: KtList<Role> | null | undefined, username: string);
|
|
14644
|
-
get country(): string | null | undefined;
|
|
14645
|
-
get email(): string | null | undefined;
|
|
14646
|
-
get id(): string;
|
|
14647
|
-
get mobile(): string | null | undefined;
|
|
14648
|
-
get name(): Name | null | undefined;
|
|
14649
|
-
get nationality(): bigint | null | undefined;
|
|
14650
|
-
get personId(): bigint;
|
|
14651
|
-
get preferredLanguage(): bigint | null | undefined;
|
|
14652
|
-
get profileUrl(): string | null | undefined;
|
|
14653
|
-
get roles(): KtList<Role> | null | undefined;
|
|
14654
|
-
get username(): string;
|
|
14655
|
-
}
|
|
14656
|
-
export declare namespace User {
|
|
14657
|
-
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
14658
|
-
namespace $metadata$ {
|
|
14659
|
-
const constructor: abstract new () => User;
|
|
14660
|
-
}
|
|
14661
|
-
}
|
|
14662
14743
|
export interface UserConversationsProps {
|
|
14663
14744
|
company: CompanyProps;
|
|
14664
14745
|
conversations: KtList<ConversationProps>;
|
|
@@ -14832,6 +14913,7 @@ export declare class AuthApi extends ApiClient.$metadata$.constructor {
|
|
|
14832
14913
|
createAuthSupportRequest(authorizationSupportRequestCommand: AuthorizationSupportRequestCommand): Promise<HttpResponse<void>>;
|
|
14833
14914
|
createDeviceSrp(deviceSrpCommand: DeviceSrpCommand): Promise<HttpResponse<SoliboAuthentication>>;
|
|
14834
14915
|
createDeviceSrpVerification(deviceVerifySrpCommand: DeviceVerifySrpCommand): Promise<HttpResponse<SoliboAuthentication>>;
|
|
14916
|
+
createM2MTokens(createM2MTokensCommand: CreateM2MTokensCommand): Promise<HttpResponse<SoliboAuthentication>>;
|
|
14835
14917
|
createMfaPreference(mfaPreferenceCommand: MfaPreferenceCommand): Promise<HttpResponse<void>>;
|
|
14836
14918
|
createMfaSelection(mfaSelectionCommand: MfaSelectionCommand): Promise<HttpResponse<void>>;
|
|
14837
14919
|
createMfaSelectionConfirmation(mfaConfirmationCommand: MfaConfirmationCommand): Promise<HttpResponse<void>>;
|
|
@@ -15631,8 +15713,8 @@ export declare class UserApi extends ApiClient.$metadata$.constructor {
|
|
|
15631
15713
|
static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): UserApi;
|
|
15632
15714
|
deleteUserImage(): Promise<HttpResponse<void>>;
|
|
15633
15715
|
indexUserConversations(unread?: boolean | null | undefined): Promise<HttpResponse<KtList<UserConversations>>>;
|
|
15634
|
-
showAuthedUser(): Promise<HttpResponse<
|
|
15635
|
-
showUser(): Promise<HttpResponse<
|
|
15716
|
+
showAuthedUser(): Promise<HttpResponse<AuthUser>>;
|
|
15717
|
+
showUser(): Promise<HttpResponse<PersonUser>>;
|
|
15636
15718
|
showUserActions(companyId?: bigint | null | undefined): Promise<HttpResponse<KtList<string>>>;
|
|
15637
15719
|
showUserImage(personId: bigint, fileName: string, size?: string | null | undefined): Promise<HttpResponse<void>>;
|
|
15638
15720
|
updateUser(updateProfileCommand: UpdateProfileCommand): Promise<HttpResponse<void>>;
|
|
@@ -16017,8 +16099,12 @@ export declare abstract class AuthMode {
|
|
|
16017
16099
|
get name(): "COOKIE";
|
|
16018
16100
|
get ordinal(): 1;
|
|
16019
16101
|
};
|
|
16020
|
-
get
|
|
16021
|
-
|
|
16102
|
+
static get M2M(): AuthMode & {
|
|
16103
|
+
get name(): "M2M";
|
|
16104
|
+
get ordinal(): 2;
|
|
16105
|
+
};
|
|
16106
|
+
get name(): "TOKEN" | "COOKIE" | "M2M";
|
|
16107
|
+
get ordinal(): 0 | 1 | 2;
|
|
16022
16108
|
static values(): Array<AuthMode>;
|
|
16023
16109
|
static valueOf(value: string): AuthMode;
|
|
16024
16110
|
}
|
|
@@ -16055,11 +16141,33 @@ export declare namespace UnknownRefreshErrorException {
|
|
|
16055
16141
|
const constructor: abstract new () => UnknownRefreshErrorException;
|
|
16056
16142
|
}
|
|
16057
16143
|
}
|
|
16144
|
+
export interface CreateM2MTokensCommandProps {
|
|
16145
|
+
clientId: string;
|
|
16146
|
+
clientSecret: string;
|
|
16147
|
+
scopes?: KtList<string> | null | undefined;
|
|
16148
|
+
}
|
|
16149
|
+
export declare class CreateM2MTokensCommand {
|
|
16150
|
+
constructor(props: CreateM2MTokensCommandProps);
|
|
16151
|
+
constructor(clientId: string, clientSecret: string, scopes?: KtList<string> | null | undefined);
|
|
16152
|
+
get clientId(): string;
|
|
16153
|
+
get clientSecret(): string;
|
|
16154
|
+
get scopes(): KtList<string> | null | undefined;
|
|
16155
|
+
}
|
|
16156
|
+
export declare namespace CreateM2MTokensCommand {
|
|
16157
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
16158
|
+
namespace $metadata$ {
|
|
16159
|
+
const constructor: abstract new () => CreateM2MTokensCommand;
|
|
16160
|
+
}
|
|
16161
|
+
}
|
|
16058
16162
|
export declare class HomeApi {
|
|
16059
16163
|
constructor(fingerprinter: Fingerprinter, device: DeviceManager, httpClientEngine: any | null | undefined/* HttpClientEngine | null | undefined */ | undefined, settings: any/* Settings */, configurator?: (p0: any/* HttpClientConfig<UnknownType *> */) => void, refreshFailure?: any /*Suspend functions are not supported*/);
|
|
16060
16164
|
get authMode(): AuthMode;
|
|
16061
16165
|
get clientId(): string | null | undefined;
|
|
16062
16166
|
set clientId(value: string | null | undefined);
|
|
16167
|
+
get clientSecret(): string | null | undefined;
|
|
16168
|
+
set clientSecret(value: string | null | undefined);
|
|
16169
|
+
get scopes(): KtList<string> | null | undefined;
|
|
16170
|
+
set scopes(value: KtList<string> | null | undefined);
|
|
16063
16171
|
get userId(): string | null | undefined;
|
|
16064
16172
|
set userId(value: string | null | undefined);
|
|
16065
16173
|
get userLanguage(): string;
|
|
@@ -16115,7 +16223,7 @@ export interface MockBackendProps {
|
|
|
16115
16223
|
export declare class MockBackend {
|
|
16116
16224
|
constructor(props: MockBackendProps);
|
|
16117
16225
|
constructor(userIdProvider?: () => string | null | undefined, prefill?: boolean);
|
|
16118
|
-
get users(): KtMutableMap<string,
|
|
16226
|
+
get users(): KtMutableMap<string, AuthUser>;
|
|
16119
16227
|
get companies(): KtMutableMap<bigint, Company>;
|
|
16120
16228
|
get tasks(): KtMutableMap<bigint, Task>;
|
|
16121
16229
|
get issues(): KtMutableMap<bigint, Issue>;
|