@solibo/solibo-sdk 1.29.3 → 1.31.0
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/client.d.mts +17 -5
- package/client.mjs +51 -2
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +15086 -14321
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +63 -6
- package/solibo-sdk-sdk.mjs +874 -812
- package/solibo-sdk-sdk.mjs.map +1 -1
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -10200,12 +10200,14 @@ export declare namespace HmsSettingsRefusalReason {
|
|
|
10200
10200
|
export interface HomepageProps {
|
|
10201
10201
|
company: CompanyProps;
|
|
10202
10202
|
image?: DocumentProps | null | undefined;
|
|
10203
|
+
settings: HomepageSettingsProps;
|
|
10203
10204
|
}
|
|
10204
10205
|
export declare class Homepage {
|
|
10205
10206
|
constructor(props: HomepageProps);
|
|
10206
|
-
constructor(company: Company, image
|
|
10207
|
+
constructor(company: Company, image: Document | null | undefined, settings: HomepageSettings);
|
|
10207
10208
|
get company(): Company;
|
|
10208
10209
|
get image(): Document | null | undefined;
|
|
10210
|
+
get settings(): HomepageSettings;
|
|
10209
10211
|
}
|
|
10210
10212
|
export declare namespace Homepage {
|
|
10211
10213
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -10213,6 +10215,24 @@ export declare namespace Homepage {
|
|
|
10213
10215
|
const constructor: abstract new () => Homepage;
|
|
10214
10216
|
}
|
|
10215
10217
|
}
|
|
10218
|
+
export interface HomepageSettingsProps {
|
|
10219
|
+
defaultPostCommentsEnabled: boolean;
|
|
10220
|
+
neighborhoodAppEnabled: boolean;
|
|
10221
|
+
neighborhoodEnabled: boolean;
|
|
10222
|
+
}
|
|
10223
|
+
export declare class HomepageSettings {
|
|
10224
|
+
constructor(props: HomepageSettingsProps);
|
|
10225
|
+
constructor(defaultPostCommentsEnabled: boolean, neighborhoodAppEnabled: boolean, neighborhoodEnabled: boolean);
|
|
10226
|
+
get defaultPostCommentsEnabled(): boolean;
|
|
10227
|
+
get neighborhoodAppEnabled(): boolean;
|
|
10228
|
+
get neighborhoodEnabled(): boolean;
|
|
10229
|
+
}
|
|
10230
|
+
export declare namespace HomepageSettings {
|
|
10231
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
10232
|
+
namespace $metadata$ {
|
|
10233
|
+
const constructor: abstract new () => HomepageSettings;
|
|
10234
|
+
}
|
|
10235
|
+
}
|
|
10216
10236
|
export declare abstract class IncomingEventBusMessage {
|
|
10217
10237
|
private constructor();
|
|
10218
10238
|
}
|
|
@@ -14928,6 +14948,22 @@ export declare namespace Office365ManagedDocumentCopyRequest {
|
|
|
14928
14948
|
const constructor: abstract new () => Office365ManagedDocumentCopyRequest;
|
|
14929
14949
|
}
|
|
14930
14950
|
}
|
|
14951
|
+
export interface OpenHomepageProps {
|
|
14952
|
+
company: CompanyProps;
|
|
14953
|
+
image?: DocumentProps | null | undefined;
|
|
14954
|
+
}
|
|
14955
|
+
export declare class OpenHomepage {
|
|
14956
|
+
constructor(props: OpenHomepageProps);
|
|
14957
|
+
constructor(company: Company, image?: Document | null | undefined);
|
|
14958
|
+
get company(): Company;
|
|
14959
|
+
get image(): Document | null | undefined;
|
|
14960
|
+
}
|
|
14961
|
+
export declare namespace OpenHomepage {
|
|
14962
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
14963
|
+
namespace $metadata$ {
|
|
14964
|
+
const constructor: abstract new () => OpenHomepage;
|
|
14965
|
+
}
|
|
14966
|
+
}
|
|
14931
14967
|
export interface OppgaveProps {
|
|
14932
14968
|
avvik?: AvvikProps[] | null | undefined;
|
|
14933
14969
|
oppgaveeier?: OppgaveeierProps | null | undefined;
|
|
@@ -25109,6 +25145,24 @@ export declare namespace UpdateHmsSettingsCommand {
|
|
|
25109
25145
|
const constructor: abstract new () => UpdateHmsSettingsCommand;
|
|
25110
25146
|
}
|
|
25111
25147
|
}
|
|
25148
|
+
export interface UpdateHomepageSettingsCommandProps {
|
|
25149
|
+
defaultPostCommentsEnabled?: boolean | null | undefined;
|
|
25150
|
+
neighborhoodAppEnabled?: boolean | null | undefined;
|
|
25151
|
+
neighborhoodEnabled?: boolean | null | undefined;
|
|
25152
|
+
}
|
|
25153
|
+
export declare class UpdateHomepageSettingsCommand {
|
|
25154
|
+
constructor(props: UpdateHomepageSettingsCommandProps);
|
|
25155
|
+
constructor(defaultPostCommentsEnabled?: boolean | null | undefined, neighborhoodAppEnabled?: boolean | null | undefined, neighborhoodEnabled?: boolean | null | undefined);
|
|
25156
|
+
get defaultPostCommentsEnabled(): boolean | null | undefined;
|
|
25157
|
+
get neighborhoodAppEnabled(): boolean | null | undefined;
|
|
25158
|
+
get neighborhoodEnabled(): boolean | null | undefined;
|
|
25159
|
+
}
|
|
25160
|
+
export declare namespace UpdateHomepageSettingsCommand {
|
|
25161
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
25162
|
+
namespace $metadata$ {
|
|
25163
|
+
const constructor: abstract new () => UpdateHomepageSettingsCommand;
|
|
25164
|
+
}
|
|
25165
|
+
}
|
|
25112
25166
|
export interface UpdateINAgreementCommandProps {
|
|
25113
25167
|
inAgreement: boolean;
|
|
25114
25168
|
}
|
|
@@ -26902,7 +26956,7 @@ export declare class CompanyApi extends ApiClient.$metadata$.constructor {
|
|
|
26902
26956
|
showImportDraftValidation(draftId: bigint): Promise<HttpResponse<void>>;
|
|
26903
26957
|
startImportOfDraft(draftId: bigint): Promise<HttpResponse<void>>;
|
|
26904
26958
|
updateActiveAdministrators(updateActiveManagement: UpdateActiveManagement): Promise<HttpResponse<SoliboContacts>>;
|
|
26905
|
-
updateAdministratorsForCompany(companyId: bigint, updateManagementCommand: UpdateManagementCommand): Promise<HttpResponse<
|
|
26959
|
+
updateAdministratorsForCompany(companyId: bigint, updateManagementCommand: UpdateManagementCommand): Promise<HttpResponse<SoliboContacts>>;
|
|
26906
26960
|
updateCompanyAddress(companyId: bigint, addressId: bigint, updateCompanyAddressCommand: UpdateCompanyAddressCommand): Promise<HttpResponse<CompanyAddress>>;
|
|
26907
26961
|
updateCompanyDetailed(companyId: bigint, updateCompanyDetailedCommand: UpdateCompanyDetailedCommand): Promise<HttpResponse<CompanyDetailed>>;
|
|
26908
26962
|
updateCompanyOrdinances(companyId: bigint, upsertOrdinancesCommand: UpsertOrdinancesCommand): Promise<HttpResponse<CompanyOrdinances>>;
|
|
@@ -27142,11 +27196,13 @@ export declare class HomepageApi extends ApiClient.$metadata$.constructor {
|
|
|
27142
27196
|
listOpenHomepageFeed(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPost>>;
|
|
27143
27197
|
listOpenHomepagePracticalInformation(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPost>>;
|
|
27144
27198
|
showHomepage(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Homepage>>;
|
|
27145
|
-
|
|
27146
|
-
|
|
27199
|
+
showHomepageSettings(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<HomepageSettings>>;
|
|
27200
|
+
showOpenHomepage(companySlug: string, fields?: string | null | undefined): Promise<HttpResponse<OpenHomepage>>;
|
|
27201
|
+
showOpenHomepageByDomain(domainName: string, fields?: string | null | undefined): Promise<HttpResponse<OpenHomepage>>;
|
|
27147
27202
|
showOpenHomepageDocument(companyId: bigint, postId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined, fit?: string | null | undefined, position?: string | null | undefined, format?: string | null | undefined, quality?: string | null | undefined, upscale?: string | null | undefined, background?: string | null | undefined): Promise<HttpResponse<UrlWrapper>>;
|
|
27148
27203
|
showOpenHomepageDocumentsByPost(companyId: bigint, postId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListDocument>>;
|
|
27149
27204
|
updateFeedWeighting(companyId: bigint, updateFeedWeightingCommand: UpdateFeedWeightingCommand): Promise<HttpResponse<void>>;
|
|
27205
|
+
updateHomepageSettings(companyId: bigint, updateHomepageSettingsCommand: UpdateHomepageSettingsCommand): Promise<HttpResponse<HomepageSettings>>;
|
|
27150
27206
|
updatePost(companyId: bigint, postId: bigint, updatePostCommand: UpdatePostCommand, purchaseBundleId?: bigint | null | undefined, publishChanges?: boolean | null | undefined): Promise<HttpResponse<Post>>;
|
|
27151
27207
|
updatePracticalInfo(companyId: bigint, practicalInformationId: bigint, updatePostCommand: UpdatePostCommand, purchaseBundleId?: bigint | null | undefined, publishChanges?: boolean | null | undefined): Promise<HttpResponse<Post>>;
|
|
27152
27208
|
}
|
|
@@ -27510,7 +27566,7 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
|
|
|
27510
27566
|
static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<any> */) => void | null | undefined, jsonSerializer?: any/* Json */): ResidentApi;
|
|
27511
27567
|
static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): ResidentApi;
|
|
27512
27568
|
createChangeRequestForResident(companyId: bigint, residentType: string, residentId: bigint, createChangeRequestCommand: CreateChangeRequestCommand): Promise<HttpResponse<void>>;
|
|
27513
|
-
createResident(companyId: bigint, residentType: ResidentType, createResidentCommand: CreateResidentCommand): Promise<HttpResponse<
|
|
27569
|
+
createResident(companyId: bigint, residentType: ResidentType, createResidentCommand: CreateResidentCommand): Promise<HttpResponse<Resident>>;
|
|
27514
27570
|
createResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, createAttendanceCommand: CreateAttendanceCommand): Promise<HttpResponse<void>>;
|
|
27515
27571
|
deleteResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint): Promise<HttpResponse<void>>;
|
|
27516
27572
|
exportResidents(companyId: bigint, includePnr?: boolean | null | undefined): Promise<HttpResponse<Base64ByteArray>>;
|
|
@@ -27527,7 +27583,7 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
|
|
|
27527
27583
|
showResidentByOrgNr(companyId: bigint, findResidentByOrgNrCommand: FindResidentByOrgNrCommand): Promise<HttpResponse<Organization>>;
|
|
27528
27584
|
showResidentByPersonnummer(companyId: bigint, findResidentByPersonalIdentityNumberCommand: FindResidentByPersonalIdentityNumberCommand): Promise<HttpResponse<FindResidentResult>>;
|
|
27529
27585
|
showResidentSensitive(companyId: bigint, residentType: string, residentId: bigint, fields?: string | null | undefined): Promise<HttpResponse<SensitiveData>>;
|
|
27530
|
-
updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<
|
|
27586
|
+
updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<Resident>>;
|
|
27531
27587
|
updateResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint, updateAttendanceCommand: UpdateAttendanceCommand): Promise<HttpResponse<void>>;
|
|
27532
27588
|
updateResidentNotat(companyId: bigint, residentType: string, residentId: bigint, updateNotatCommand: UpdateNotatCommand): Promise<HttpResponse<Resident>>;
|
|
27533
27589
|
}
|
|
@@ -28864,6 +28920,7 @@ export declare class MockBackend {
|
|
|
28864
28920
|
get globalSuppliers(): Map<bigint, Supplier>;
|
|
28865
28921
|
get suppliersPerCompany(): Map<bigint, SupplierForCompany[]>;
|
|
28866
28922
|
get expensesPerCompany(): Map<bigint, Expense[]>;
|
|
28923
|
+
get homepageSettingsPerCompany(): Map<bigint, HomepageSettings>;
|
|
28867
28924
|
get smsBroadcastsPerCompany(): Map<bigint, SMSBroadcast[]>;
|
|
28868
28925
|
get invoicesPerCompany(): Map<bigint, Invoice[]>;
|
|
28869
28926
|
get loansPerCompany(): Map<bigint, Loan[]>;
|