@solibo/solibo-sdk 1.10.5 → 1.11.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.
Files changed (44) hide show
  1. package/KmLogging-logging.mjs +98 -98
  2. package/KotlinBigInteger-bignum.mjs +1127 -1127
  3. package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
  4. package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
  5. package/Stately-stately-concurrency.mjs +3 -3
  6. package/bitops-library-bits.mjs +33 -33
  7. package/bitops-library-endian.mjs +3 -3
  8. package/client.d.mts +183 -43
  9. package/client.mjs +434 -22
  10. package/core-library-digest.mjs +29 -29
  11. package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
  12. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  13. package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
  14. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
  15. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  16. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
  17. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +250 -250
  18. package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
  19. package/hash-library-md.mjs +30 -30
  20. package/index.mjs +6 -0
  21. package/kotlin-kotlin-stdlib.mjs +11 -11
  22. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  23. package/kotlinx-coroutines-core.mjs +7 -7
  24. package/kotlinx-coroutines-core.mjs.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1072 -1072
  26. package/ktor-ktor-client-auth.mjs +245 -245
  27. package/ktor-ktor-client-content-negotiation.mjs +125 -125
  28. package/ktor-ktor-client-core.mjs +2627 -2627
  29. package/ktor-ktor-client-encoding.mjs +120 -120
  30. package/ktor-ktor-client-logging.mjs +600 -600
  31. package/ktor-ktor-client-mock.mjs +48 -48
  32. package/ktor-ktor-http-cio.mjs +300 -300
  33. package/ktor-ktor-http.mjs +1077 -1027
  34. package/ktor-ktor-http.mjs.map +1 -1
  35. package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
  36. package/ktor-ktor-serialization-kotlinx.mjs +110 -110
  37. package/ktor-ktor-serialization.mjs +50 -50
  38. package/ktor-ktor-websockets.mjs +322 -322
  39. package/package.json +1 -1
  40. package/solibo-sdk-sdk-home-api.mjs +49641 -46771
  41. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  42. package/solibo-sdk-sdk.d.mts +346 -6
  43. package/solibo-sdk-sdk.mjs +7197 -5827
  44. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -6594,6 +6594,146 @@ export declare namespace DeviceVerifySrpCommand {
6594
6594
  const constructor: abstract new () => DeviceVerifySrpCommand;
6595
6595
  }
6596
6596
  }
6597
+ export declare abstract class DirectSendInvoiceChannel {
6598
+ private constructor();
6599
+ static get DIGIPOST(): DirectSendInvoiceChannel & {
6600
+ get name(): "DIGIPOST";
6601
+ get ordinal(): 0;
6602
+ };
6603
+ static get PRINT(): DirectSendInvoiceChannel & {
6604
+ get name(): "PRINT";
6605
+ get ordinal(): 1;
6606
+ };
6607
+ static get EMAIL(): DirectSendInvoiceChannel & {
6608
+ get name(): "EMAIL";
6609
+ get ordinal(): 2;
6610
+ };
6611
+ static get Digipost(): DirectSendInvoiceChannel & {
6612
+ get name(): "DIGIPOST";
6613
+ get ordinal(): 0;
6614
+ };
6615
+ static get Print(): DirectSendInvoiceChannel & {
6616
+ get name(): "PRINT";
6617
+ get ordinal(): 1;
6618
+ };
6619
+ static get Email(): DirectSendInvoiceChannel & {
6620
+ get name(): "EMAIL";
6621
+ get ordinal(): 2;
6622
+ };
6623
+ static values(): [typeof DirectSendInvoiceChannel.DIGIPOST, typeof DirectSendInvoiceChannel.PRINT, typeof DirectSendInvoiceChannel.EMAIL];
6624
+ static valueOf(value: string): DirectSendInvoiceChannel;
6625
+ get name(): "DIGIPOST" | "PRINT" | "EMAIL";
6626
+ get ordinal(): 0 | 1 | 2;
6627
+ get value(): string;
6628
+ }
6629
+ export declare namespace DirectSendInvoiceChannel {
6630
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6631
+ namespace $metadata$ {
6632
+ const constructor: abstract new () => DirectSendInvoiceChannel;
6633
+ }
6634
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
6635
+ private constructor();
6636
+ }
6637
+ namespace Companion {
6638
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6639
+ namespace $metadata$ {
6640
+ abstract class constructor /* implements SerializerFactory */ {
6641
+ fromValue(value: string): DirectSendInvoiceChannel | null | undefined;
6642
+ private constructor();
6643
+ }
6644
+ }
6645
+ }
6646
+ }
6647
+ export interface DirectSendInvoiceCommandProps {
6648
+ channel: DirectSendInvoiceChannel;
6649
+ document: DirectSendInvoiceDocument;
6650
+ email?: string | null | undefined;
6651
+ printRecipient?: DirectSendPrintRecipientProps | null | undefined;
6652
+ }
6653
+ export declare class DirectSendInvoiceCommand {
6654
+ constructor(props: DirectSendInvoiceCommandProps);
6655
+ constructor(channel: DirectSendInvoiceChannel, document: DirectSendInvoiceDocument, email?: string | null | undefined, printRecipient?: DirectSendPrintRecipient | null | undefined);
6656
+ get channel(): DirectSendInvoiceChannel;
6657
+ get document(): DirectSendInvoiceDocument;
6658
+ get email(): string | null | undefined;
6659
+ get printRecipient(): DirectSendPrintRecipient | null | undefined;
6660
+ }
6661
+ export declare namespace DirectSendInvoiceCommand {
6662
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6663
+ namespace $metadata$ {
6664
+ const constructor: abstract new () => DirectSendInvoiceCommand;
6665
+ }
6666
+ }
6667
+ export declare abstract class DirectSendInvoiceDocument {
6668
+ private constructor();
6669
+ static get INVOICE(): DirectSendInvoiceDocument & {
6670
+ get name(): "INVOICE";
6671
+ get ordinal(): 0;
6672
+ };
6673
+ static get OVERDUE_ONE(): DirectSendInvoiceDocument & {
6674
+ get name(): "OVERDUE_ONE";
6675
+ get ordinal(): 1;
6676
+ };
6677
+ static get OVERDUE_TWO(): DirectSendInvoiceDocument & {
6678
+ get name(): "OVERDUE_TWO";
6679
+ get ordinal(): 2;
6680
+ };
6681
+ static get Invoice(): DirectSendInvoiceDocument & {
6682
+ get name(): "INVOICE";
6683
+ get ordinal(): 0;
6684
+ };
6685
+ static get OverdueOne(): DirectSendInvoiceDocument & {
6686
+ get name(): "OVERDUE_ONE";
6687
+ get ordinal(): 1;
6688
+ };
6689
+ static get OverdueTwo(): DirectSendInvoiceDocument & {
6690
+ get name(): "OVERDUE_TWO";
6691
+ get ordinal(): 2;
6692
+ };
6693
+ static values(): [typeof DirectSendInvoiceDocument.INVOICE, typeof DirectSendInvoiceDocument.OVERDUE_ONE, typeof DirectSendInvoiceDocument.OVERDUE_TWO];
6694
+ static valueOf(value: string): DirectSendInvoiceDocument;
6695
+ get name(): "INVOICE" | "OVERDUE_ONE" | "OVERDUE_TWO";
6696
+ get ordinal(): 0 | 1 | 2;
6697
+ get value(): string;
6698
+ }
6699
+ export declare namespace DirectSendInvoiceDocument {
6700
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6701
+ namespace $metadata$ {
6702
+ const constructor: abstract new () => DirectSendInvoiceDocument;
6703
+ }
6704
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
6705
+ private constructor();
6706
+ }
6707
+ namespace Companion {
6708
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6709
+ namespace $metadata$ {
6710
+ abstract class constructor /* implements SerializerFactory */ {
6711
+ fromValue(value: string): DirectSendInvoiceDocument | null | undefined;
6712
+ private constructor();
6713
+ }
6714
+ }
6715
+ }
6716
+ }
6717
+ export interface DirectSendPrintRecipientProps {
6718
+ area: string;
6719
+ name: string;
6720
+ streetAddress: string;
6721
+ zipCode: string;
6722
+ }
6723
+ export declare class DirectSendPrintRecipient {
6724
+ constructor(props: DirectSendPrintRecipientProps);
6725
+ constructor(area: string, name: string, streetAddress: string, zipCode: string);
6726
+ get area(): string;
6727
+ get name(): string;
6728
+ get streetAddress(): string;
6729
+ get zipCode(): string;
6730
+ }
6731
+ export declare namespace DirectSendPrintRecipient {
6732
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6733
+ namespace $metadata$ {
6734
+ const constructor: abstract new () => DirectSendPrintRecipient;
6735
+ }
6736
+ }
6597
6737
  export interface DocumentProps {
6598
6738
  belongsToId?: bigint | null | undefined;
6599
6739
  children?: DocumentProps[] | null | undefined;
@@ -7168,6 +7308,72 @@ export declare namespace EmployeeParticipant {
7168
7308
  const constructor: abstract new () => EmployeeParticipant;
7169
7309
  }
7170
7310
  }
7311
+ export interface ErrorJsonProps {
7312
+ error?: Errors | null | undefined;
7313
+ message: string;
7314
+ }
7315
+ export declare class ErrorJson {
7316
+ constructor(props: ErrorJsonProps);
7317
+ constructor(error: Errors | null | undefined, message: string);
7318
+ get error(): Errors | null | undefined;
7319
+ get message(): string;
7320
+ }
7321
+ export declare namespace ErrorJson {
7322
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
7323
+ namespace $metadata$ {
7324
+ const constructor: abstract new () => ErrorJson;
7325
+ }
7326
+ }
7327
+ export declare abstract class Errors {
7328
+ private constructor();
7329
+ static get VALIDATION(): Errors & {
7330
+ get name(): "VALIDATION";
7331
+ get ordinal(): 0;
7332
+ };
7333
+ static get AUTH(): Errors & {
7334
+ get name(): "AUTH";
7335
+ get ordinal(): 1;
7336
+ };
7337
+ static get GENERIC(): Errors & {
7338
+ get name(): "GENERIC";
7339
+ get ordinal(): 2;
7340
+ };
7341
+ static get Validation(): Errors & {
7342
+ get name(): "VALIDATION";
7343
+ get ordinal(): 0;
7344
+ };
7345
+ static get Auth(): Errors & {
7346
+ get name(): "AUTH";
7347
+ get ordinal(): 1;
7348
+ };
7349
+ static get Generic(): Errors & {
7350
+ get name(): "GENERIC";
7351
+ get ordinal(): 2;
7352
+ };
7353
+ static values(): [typeof Errors.VALIDATION, typeof Errors.AUTH, typeof Errors.GENERIC];
7354
+ static valueOf(value: string): Errors;
7355
+ get name(): "VALIDATION" | "AUTH" | "GENERIC";
7356
+ get ordinal(): 0 | 1 | 2;
7357
+ get value(): string;
7358
+ }
7359
+ export declare namespace Errors {
7360
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
7361
+ namespace $metadata$ {
7362
+ const constructor: abstract new () => Errors;
7363
+ }
7364
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
7365
+ private constructor();
7366
+ }
7367
+ namespace Companion {
7368
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
7369
+ namespace $metadata$ {
7370
+ abstract class constructor /* implements SerializerFactory */ {
7371
+ fromValue(value: string): Errors | null | undefined;
7372
+ private constructor();
7373
+ }
7374
+ }
7375
+ }
7376
+ }
7171
7377
  export interface ExpenseProps {
7172
7378
  account: string;
7173
7379
  amount: number;
@@ -7408,6 +7614,24 @@ export declare namespace ExpiredType {
7408
7614
  }
7409
7615
  }
7410
7616
  }
7617
+ export interface ExportResidentsCommandProps {
7618
+ filter?: ResidentExportFilterProps | null | undefined;
7619
+ includePnr?: boolean | null | undefined;
7620
+ selection?: ResidentIdentityProps[] | null | undefined;
7621
+ }
7622
+ export declare class ExportResidentsCommand {
7623
+ constructor(props: ExportResidentsCommandProps);
7624
+ constructor(filter?: ResidentExportFilter | null | undefined, includePnr?: boolean | null | undefined, selection?: ResidentIdentity[] | null | undefined);
7625
+ get filter(): ResidentExportFilter | null | undefined;
7626
+ get includePnr(): boolean | null | undefined;
7627
+ get selection(): ResidentIdentity[] | null | undefined;
7628
+ }
7629
+ export declare namespace ExportResidentsCommand {
7630
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
7631
+ namespace $metadata$ {
7632
+ const constructor: abstract new () => ExportResidentsCommand;
7633
+ }
7634
+ }
7411
7635
  export interface ExternalConversationParticipantProps {
7412
7636
  email: string;
7413
7637
  }
@@ -13048,11 +13272,12 @@ export interface OrganizationResidentProps {
13048
13272
  employees?: OrganizationEmployeeProps[] | null | undefined;
13049
13273
  name: string;
13050
13274
  orgNr?: string | null | undefined;
13275
+ relationships?: ResidentRelationshipAggregateProps | null | undefined;
13051
13276
  reservations?: Map<string, OrganizationReservationsProps | null | undefined> | null | undefined;
13052
13277
  }
13053
13278
  export declare class OrganizationResident extends Resident.$metadata$.constructor {
13054
13279
  constructor(props: OrganizationResidentProps);
13055
- constructor(accountNumber: string | null | undefined, attendances: Attendance[] | null | undefined, country: string, historicRoles: Role[] | null | undefined, id: bigint, nationality: bigint, note: string | null | undefined, parkingSpaces: ParkingSpaceOwnership[] | null | undefined, profileUrl: string | null | undefined, reservedEmail: boolean | null | undefined, reservedSMS: boolean | null | undefined, roles: Role[] | null | undefined, storageRooms: StorageRoomOwnership[] | null | undefined, businessAddress: BusinessAddress | null | undefined, businessContact: BusinessContact | null | undefined, employees: OrganizationEmployee[] | null | undefined, name: string, orgNr?: string | null | undefined, reservations?: Map<string, OrganizationReservations | null | undefined> | null | undefined);
13280
+ constructor(accountNumber: string | null | undefined, attendances: Attendance[] | null | undefined, country: string, historicRoles: Role[] | null | undefined, id: bigint, nationality: bigint, note: string | null | undefined, parkingSpaces: ParkingSpaceOwnership[] | null | undefined, profileUrl: string | null | undefined, reservedEmail: boolean | null | undefined, reservedSMS: boolean | null | undefined, roles: Role[] | null | undefined, storageRooms: StorageRoomOwnership[] | null | undefined, businessAddress: BusinessAddress | null | undefined, businessContact: BusinessContact | null | undefined, employees: OrganizationEmployee[] | null | undefined, name: string, orgNr?: string | null | undefined, relationships?: ResidentRelationshipAggregate | null | undefined, reservations?: Map<string, OrganizationReservations | null | undefined> | null | undefined);
13056
13281
  get accountNumber(): string | null | undefined;
13057
13282
  get attendances(): Attendance[] | null | undefined;
13058
13283
  get country(): string;
@@ -13071,6 +13296,7 @@ export declare class OrganizationResident extends Resident.$metadata$.constructo
13071
13296
  get employees(): OrganizationEmployee[] | null | undefined;
13072
13297
  get name(): string;
13073
13298
  get orgNr(): string | null | undefined;
13299
+ get relationships(): ResidentRelationshipAggregate | null | undefined;
13074
13300
  get reservations(): Map<string, OrganizationReservations | null | undefined> | null | undefined;
13075
13301
  }
13076
13302
  export declare namespace OrganizationResident {
@@ -16026,11 +16252,12 @@ export interface PersonResidentProps {
16026
16252
  passportNumberId?: string | null | undefined;
16027
16253
  personnummerId?: string | null | undefined;
16028
16254
  personnummerTwoId?: string | null | undefined;
16255
+ relationships?: ResidentRelationshipAggregateProps | null | undefined;
16029
16256
  title?: string | null | undefined;
16030
16257
  }
16031
16258
  export declare class PersonResident extends Resident.$metadata$.constructor {
16032
16259
  constructor(props: PersonResidentProps);
16033
- constructor(accountNumber: string | null | undefined, attendances: Attendance[] | null | undefined, country: string, historicRoles: Role[] | null | undefined, id: bigint, nationality: bigint, note: string | null | undefined, parkingSpaces: ParkingSpaceOwnership[] | null | undefined, profileUrl: string | null | undefined, reservedEmail: boolean | null | undefined, reservedSMS: boolean | null | undefined, roles: Role[] | null | undefined, storageRooms: StorageRoomOwnership[] | null | undefined, address: AddressSpecifics | null | undefined, birthDay: string | null | undefined, completeMobile: string | null | undefined, email: string | null | undefined, folkeregisteret: Folkeregisteret | null | undefined, invoicingEmail: string | null | undefined, isUser: boolean | null | undefined, mobile: string | null | undefined, mobileCountryCode: string | null | undefined, name: Name, passportExpiration?: SoliboInstant /* Instant */ | null | undefined, passportNumberId?: string | null | undefined, personnummerId?: string | null | undefined, personnummerTwoId?: string | null | undefined, title?: string | null | undefined);
16260
+ constructor(accountNumber: string | null | undefined, attendances: Attendance[] | null | undefined, country: string, historicRoles: Role[] | null | undefined, id: bigint, nationality: bigint, note: string | null | undefined, parkingSpaces: ParkingSpaceOwnership[] | null | undefined, profileUrl: string | null | undefined, reservedEmail: boolean | null | undefined, reservedSMS: boolean | null | undefined, roles: Role[] | null | undefined, storageRooms: StorageRoomOwnership[] | null | undefined, address: AddressSpecifics | null | undefined, birthDay: string | null | undefined, completeMobile: string | null | undefined, email: string | null | undefined, folkeregisteret: Folkeregisteret | null | undefined, invoicingEmail: string | null | undefined, isUser: boolean | null | undefined, mobile: string | null | undefined, mobileCountryCode: string | null | undefined, name: Name, passportExpiration?: SoliboInstant /* Instant */ | null | undefined, passportNumberId?: string | null | undefined, personnummerId?: string | null | undefined, personnummerTwoId?: string | null | undefined, relationships?: ResidentRelationshipAggregate | null | undefined, title?: string | null | undefined);
16034
16261
  get accountNumber(): string | null | undefined;
16035
16262
  get attendances(): Attendance[] | null | undefined;
16036
16263
  get country(): string;
@@ -16058,6 +16285,7 @@ export declare class PersonResident extends Resident.$metadata$.constructor {
16058
16285
  get passportNumberId(): string | null | undefined;
16059
16286
  get personnummerId(): string | null | undefined;
16060
16287
  get personnummerTwoId(): string | null | undefined;
16288
+ get relationships(): ResidentRelationshipAggregate | null | undefined;
16061
16289
  get title(): string | null | undefined;
16062
16290
  }
16063
16291
  export declare namespace PersonResident {
@@ -16956,6 +17184,72 @@ export declare namespace Resident {
16956
17184
  const constructor: abstract new () => Resident;
16957
17185
  }
16958
17186
  }
17187
+ export interface ResidentExportFilterProps {
17188
+ query?: string | null | undefined;
17189
+ residentTypes?: ResidentType[] | null | undefined;
17190
+ }
17191
+ export declare class ResidentExportFilter {
17192
+ constructor(props: ResidentExportFilterProps);
17193
+ constructor(query?: string | null | undefined, residentTypes?: ResidentType[] | null | undefined);
17194
+ get query(): string | null | undefined;
17195
+ get residentTypes(): ResidentType[] | null | undefined;
17196
+ }
17197
+ export declare namespace ResidentExportFilter {
17198
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
17199
+ namespace $metadata$ {
17200
+ const constructor: abstract new () => ResidentExportFilter;
17201
+ }
17202
+ }
17203
+ export interface ResidentIdentityProps {
17204
+ residentId: bigint;
17205
+ residentType: ResidentType;
17206
+ }
17207
+ export declare class ResidentIdentity {
17208
+ constructor(props: ResidentIdentityProps);
17209
+ constructor(residentId: bigint, residentType: ResidentType);
17210
+ get residentId(): bigint;
17211
+ get residentType(): ResidentType;
17212
+ }
17213
+ export declare namespace ResidentIdentity {
17214
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
17215
+ namespace $metadata$ {
17216
+ const constructor: abstract new () => ResidentIdentity;
17217
+ }
17218
+ }
17219
+ export interface ResidentRelationshipAggregateProps {
17220
+ current: ResidentRelationshipPeriodProps;
17221
+ future: ResidentRelationshipPeriodProps;
17222
+ historic: ResidentRelationshipPeriodProps;
17223
+ }
17224
+ export declare class ResidentRelationshipAggregate {
17225
+ constructor(props: ResidentRelationshipAggregateProps);
17226
+ constructor(current: ResidentRelationshipPeriod, future: ResidentRelationshipPeriod, historic: ResidentRelationshipPeriod);
17227
+ get current(): ResidentRelationshipPeriod;
17228
+ get future(): ResidentRelationshipPeriod;
17229
+ get historic(): ResidentRelationshipPeriod;
17230
+ }
17231
+ export declare namespace ResidentRelationshipAggregate {
17232
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
17233
+ namespace $metadata$ {
17234
+ const constructor: abstract new () => ResidentRelationshipAggregate;
17235
+ }
17236
+ }
17237
+ export interface ResidentRelationshipPeriodProps {
17238
+ occupancies: AttendanceProps[];
17239
+ roles: RoleProps[];
17240
+ }
17241
+ export declare class ResidentRelationshipPeriod {
17242
+ constructor(props: ResidentRelationshipPeriodProps);
17243
+ constructor(occupancies: Attendance[], roles: Role[]);
17244
+ get occupancies(): Attendance[];
17245
+ get roles(): Role[];
17246
+ }
17247
+ export declare namespace ResidentRelationshipPeriod {
17248
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
17249
+ namespace $metadata$ {
17250
+ const constructor: abstract new () => ResidentRelationshipPeriod;
17251
+ }
17252
+ }
16959
17253
  export interface ResidentRoleProps {
16960
17254
  companyId?: bigint | null | undefined;
16961
17255
  id: bigint;
@@ -18040,6 +18334,8 @@ export interface SectionProps {
18040
18334
  classification: SectionType;
18041
18335
  companyClassification?: string | null | undefined;
18042
18336
  companyId: bigint;
18337
+ currentOccupancies?: AttendanceProps[] | null | undefined;
18338
+ currentResidentRoles?: ResidentRoleProps[] | null | undefined;
18043
18339
  deletedAt?: SoliboInstant /* Instant */ | null | undefined;
18044
18340
  deletionReason?: SectionDeletionReason | null | undefined;
18045
18341
  floor?: BuildingFloorProps | null | undefined;
@@ -18083,7 +18379,7 @@ export interface SectionProps {
18083
18379
  }
18084
18380
  export declare class Section {
18085
18381
  constructor(props: SectionProps);
18086
- constructor(anr: string | null | undefined, apartmentNr: string | null | undefined, area: string | null | undefined, areaSqm: number | null | undefined, bathroomCount: bigint | null | undefined, bnr: string | null | undefined, building: Building | null | undefined, buildingId: bigint | null | undefined, capabilities: string[] | null | undefined, children: Section[] | null | undefined, classification: SectionType, companyClassification: string | null | undefined, companyId: bigint, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletionReason: SectionDeletionReason | null | undefined, floor: BuildingFloor | null | undefined, floorId: bigint | null | undefined, fnr: string | null | undefined, gnr: string | null | undefined, hNr: string | null | undefined, id: bigint, identifier: string | null | undefined, inFourFraction: string | null | undefined, inOneFraction: string | null | undefined, inThreeFraction: string | null | undefined, inTwoFraction: string | null | undefined, isBusiness: boolean, isProtected?: boolean | null | undefined, isRentalArea?: boolean | null | undefined, kitchenAccess?: string | null | undefined, kitchenAccessCode?: string | null | undefined, knr?: string | null | undefined, kostraFunction?: string | null | undefined, kostraFunctionCode?: string | null | undefined, markedForRemoval?: boolean | null | undefined, note?: string | null | undefined, ownerFraction?: string | null | undefined, parentId?: bigint | null | undefined, parkingSpaces?: ParkingSpaceOwnership[] | null | undefined, residenceNr?: bigint | null | undefined, roomCount?: bigint | null | undefined, sectionAddressId?: bigint | null | undefined, sectioningFraction?: string | null | undefined, shareNumbers?: string[] | null | undefined, snr?: string | null | undefined, storageRooms?: StorageRoomOwnership[] | null | undefined, streetAddress?: string | null | undefined, toiletCount?: bigint | null | undefined, unitKartverketId?: string | null | undefined, unitType?: string | null | undefined, unitTypeCode?: string | null | undefined, wealthFraction?: string | null | undefined, zipCode?: string | null | undefined);
18382
+ constructor(anr: string | null | undefined, apartmentNr: string | null | undefined, area: string | null | undefined, areaSqm: number | null | undefined, bathroomCount: bigint | null | undefined, bnr: string | null | undefined, building: Building | null | undefined, buildingId: bigint | null | undefined, capabilities: string[] | null | undefined, children: Section[] | null | undefined, classification: SectionType, companyClassification: string | null | undefined, companyId: bigint, currentOccupancies: Attendance[] | null | undefined, currentResidentRoles: ResidentRole[] | null | undefined, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletionReason: SectionDeletionReason | null | undefined, floor: BuildingFloor | null | undefined, floorId: bigint | null | undefined, fnr: string | null | undefined, gnr: string | null | undefined, hNr: string | null | undefined, id: bigint, identifier: string | null | undefined, inFourFraction: string | null | undefined, inOneFraction: string | null | undefined, inThreeFraction: string | null | undefined, inTwoFraction: string | null | undefined, isBusiness: boolean, isProtected?: boolean | null | undefined, isRentalArea?: boolean | null | undefined, kitchenAccess?: string | null | undefined, kitchenAccessCode?: string | null | undefined, knr?: string | null | undefined, kostraFunction?: string | null | undefined, kostraFunctionCode?: string | null | undefined, markedForRemoval?: boolean | null | undefined, note?: string | null | undefined, ownerFraction?: string | null | undefined, parentId?: bigint | null | undefined, parkingSpaces?: ParkingSpaceOwnership[] | null | undefined, residenceNr?: bigint | null | undefined, roomCount?: bigint | null | undefined, sectionAddressId?: bigint | null | undefined, sectioningFraction?: string | null | undefined, shareNumbers?: string[] | null | undefined, snr?: string | null | undefined, storageRooms?: StorageRoomOwnership[] | null | undefined, streetAddress?: string | null | undefined, toiletCount?: bigint | null | undefined, unitKartverketId?: string | null | undefined, unitType?: string | null | undefined, unitTypeCode?: string | null | undefined, wealthFraction?: string | null | undefined, zipCode?: string | null | undefined);
18087
18383
  get anr(): string | null | undefined;
18088
18384
  get apartmentNr(): string | null | undefined;
18089
18385
  get area(): string | null | undefined;
@@ -18097,6 +18393,8 @@ export declare class Section {
18097
18393
  get classification(): SectionType;
18098
18394
  get companyClassification(): string | null | undefined;
18099
18395
  get companyId(): bigint;
18396
+ get currentOccupancies(): Attendance[] | null | undefined;
18397
+ get currentResidentRoles(): ResidentRole[] | null | undefined;
18100
18398
  get deletedAt(): SoliboInstant /* Instant */ | null | undefined;
18101
18399
  get deletionReason(): SectionDeletionReason | null | undefined;
18102
18400
  get floor(): BuildingFloor | null | undefined;
@@ -23402,6 +23700,7 @@ export declare class InvoicingApi extends ApiClient.$metadata$.constructor {
23402
23700
  indexQueuedInvoicingForCompanies(companyIds?: KtList<bigint> | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListQueuedInvoice>>;
23403
23701
  indexUpcomingInvoicing(fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListGlobalPreview>>;
23404
23702
  lossInvoice(companyId: bigint, customerType: string, customerId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
23703
+ postCompanyInvoiceDirectSend(companyId: bigint, invoiceId: string, directSendInvoiceCommand: DirectSendInvoiceCommand, idempotencyKey?: string | null | undefined): Promise<HttpResponse<void>>;
23405
23704
  putCompanyInvoiceClose(companyId: bigint, invoiceId: string, closeInvoiceCommand: CloseInvoiceCommand): Promise<HttpResponse<void>>;
23406
23705
  putCompanyInvoiceDisableOverdueNotices(companyId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
23407
23706
  putCompanyInvoiceEnableOverdueNotices(companyId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
@@ -23661,16 +23960,20 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
23661
23960
  createResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, createAttendanceCommand: CreateAttendanceCommand): Promise<HttpResponse<void>>;
23662
23961
  deleteResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint): Promise<HttpResponse<void>>;
23663
23962
  exportResidents(companyId: bigint, includePnr?: boolean | null | undefined): Promise<HttpResponse<Base64ByteArray>>;
23963
+ exportSelectedResidents(companyId: bigint, exportResidentsCommand: ExportResidentsCommand): Promise<HttpResponse<Base64ByteArray>>;
23664
23964
  importResidentsForOnboardingCompany(companyId: bigint, body: string): Promise<HttpResponse<void>>;
23965
+ indexFutureResidents(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListResident>>;
23966
+ indexHistoricResidents(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListResident>>;
23665
23967
  indexResident(companyId: bigint, query?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListResident>>;
23666
23968
  indexResidentTypes(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListResidentType>>;
23667
23969
  inviteResidentToSoliboApp(companyId: bigint, residentType: string, residentId: bigint): Promise<HttpResponse<void>>;
23668
23970
  inviteResidentsToSoliboApp(companyId: bigint): Promise<HttpResponse<void>>;
23669
23971
  listResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, at?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListAttendance>>;
23972
+ showResident(companyId: bigint, residentType: string, residentId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Resident>>;
23670
23973
  showResidentByOrgNr(companyId: bigint, findResidentByOrgNrCommand: FindResidentByOrgNrCommand): Promise<HttpResponse<Organization>>;
23671
23974
  showResidentByPersonnummer(companyId: bigint, findResidentByPersonalIdentityNumberCommand: FindResidentByPersonalIdentityNumberCommand): Promise<HttpResponse<FindResidentResult>>;
23672
23975
  showResidentSensitive(companyId: bigint, residentType: string, residentId: bigint, fields?: string | null | undefined): Promise<HttpResponse<SensitiveData>>;
23673
- updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand, removeBods?: boolean | null | undefined, removeParkeringsplass?: boolean | null | undefined): Promise<HttpResponse<Person>>;
23976
+ updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<Person>>;
23674
23977
  updateResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint, updateAttendanceCommand: UpdateAttendanceCommand): Promise<HttpResponse<void>>;
23675
23978
  updateResidentNotat(companyId: bigint, residentType: string, residentId: bigint, updateNotatCommand: UpdateNotatCommand): Promise<HttpResponse<Resident>>;
23676
23979
  }
@@ -23780,9 +24083,9 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
23780
24083
  static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<UnknownType *> */) => void | null | undefined, jsonSerializer?: any/* Json */): SectionApi;
23781
24084
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): SectionApi;
23782
24085
  createOwnershipChange(companyId: bigint, sectionId: bigint, ownerChangeSectionCommand: OwnerChangeSectionCommand): Promise<HttpResponse<void>>;
23783
- createSection(companyId: bigint, createSectionCommand: CreateSectionCommand, status?: SectionState | null | undefined): Promise<HttpResponse<void>>;
24086
+ createSection(companyId: bigint, createSectionCommand: CreateSectionCommand, status?: SectionState | null | undefined): Promise<HttpResponse<Section>>;
23784
24087
  createSectionStatus(companyId: bigint, sectionId: bigint, createStatusCommand: CreateStatusCommand, statusType?: SectionState | null | undefined): Promise<HttpResponse<void>>;
23785
- createSubSection(companyId: bigint, sectionId: bigint, createSectionCommand: CreateSectionCommand): Promise<HttpResponse<void>>;
24088
+ createSubSection(companyId: bigint, sectionId: bigint, createSectionCommand: CreateSectionCommand): Promise<HttpResponse<Section>>;
23786
24089
  createTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
23787
24090
  deleteOwnershipChange(companyId: bigint, sectionId: bigint, ownerChangeId: bigint): Promise<HttpResponse<void>>;
23788
24091
  deleteSection(companyId: bigint, sectionId: bigint): Promise<HttpResponse<void>>;
@@ -23805,6 +24108,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
23805
24108
  massUpdateSectionFractions(companyId: bigint, massUpdateFractionsCommand: MassUpdateFractionsCommand, fractionType?: FractionType | null | undefined, sectionIds?: KtList<bigint> | null | undefined, validFrom?: bigint | null | undefined): Promise<HttpResponse<void>>;
23806
24109
  mergeSections(companyId: bigint, mergeSectionsCommand: MergeSectionsCommand): Promise<HttpResponse<Section>>;
23807
24110
  multiCreateTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: KtList<SectionTagCommand>): Promise<HttpResponse<void>>;
24111
+ showSection(companyId: bigint, sectionId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Section>>;
23808
24112
  showSectionResidentHistory(companyId: bigint, sectionId: bigint, fields?: string | null | undefined): Promise<HttpResponse<ResidentRoleHistory>>;
23809
24113
  showSectionStatus(companyId: bigint, sectionId: bigint, statusType?: SectionState | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<KtMap<string, KtList<SectionStatusSectionStatusMapValue>>>>;
23810
24114
  splitSection(companyId: bigint, splitSectionCommand: SplitSectionCommand): Promise<HttpResponse<KtList<Section>>>;
@@ -24674,6 +24978,7 @@ export declare class HomeApi {
24674
24978
  get invoicing(): InvoicingApi;
24675
24979
  get thirdParty(): ThirdPartyInformationApi;
24676
24980
  get residents(): ResidentApi;
24981
+ get residentContracts(): ResidentsApi;
24677
24982
  get person(): PersonApi;
24678
24983
  get auth(): AuthApi;
24679
24984
  get organization(): OrganizationApi;
@@ -25005,6 +25310,41 @@ export declare namespace MockHomeApi {
25005
25310
  const constructor: abstract new () => MockHomeApi;
25006
25311
  }
25007
25312
  }
25313
+ export interface ResidentExportFileProps {
25314
+ bytes: Int8Array;
25315
+ contentType?: string | null | undefined;
25316
+ fileName?: string | null | undefined;
25317
+ }
25318
+ export declare class ResidentExportFile {
25319
+ constructor(props: ResidentExportFileProps);
25320
+ constructor(bytes: Int8Array, contentType: string | null | undefined, fileName: string | null | undefined);
25321
+ get bytes(): Int8Array;
25322
+ get contentType(): string | null | undefined;
25323
+ get fileName(): string | null | undefined;
25324
+ }
25325
+ export declare namespace ResidentExportFile {
25326
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
25327
+ namespace $metadata$ {
25328
+ const constructor: abstract new () => ResidentExportFile;
25329
+ }
25330
+ }
25331
+ export declare class ResidentsApi extends ResidentApi.$metadata$.constructor {
25332
+ private constructor();
25333
+ static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<UnknownType *> */) => void | null | undefined, jsonSerializer?: any/* Json */): ResidentsApi;
25334
+ static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): ResidentsApi;
25335
+ createPersonResident(companyId: bigint, input: CreatePersonResidentCommand): Promise<Person | null | undefined>;
25336
+ createOrganizationResident(companyId: bigint, input: CreateOrganizationResidentCommand): Promise<Organization | null | undefined>;
25337
+ updatePersonResident(companyId: bigint, residentId: bigint, input: UpdatePersonResidentCommand): Promise<Person>;
25338
+ updateOrganizationResident(companyId: bigint, residentId: bigint, input: UpdateOrganizationResidentCommand): Promise<Organization>;
25339
+ exportResidentsFile(companyId: bigint, includePnr?: boolean): Promise<ResidentExportFile>;
25340
+ exportSelectedResidentsFile(companyId: bigint, input: ExportResidentsCommand): Promise<ResidentExportFile>;
25341
+ }
25342
+ export declare namespace ResidentsApi {
25343
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
25344
+ namespace $metadata$ {
25345
+ const constructor: abstract new () => ResidentsApi;
25346
+ }
25347
+ }
25008
25348
  export declare abstract class LoginType {
25009
25349
  private constructor();
25010
25350
  static get EMAIL(): LoginType & {