@solibo/home-api 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.
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "directory": "sdk/home-api"
17
17
  },
18
18
  "main": "solibo-sdk-sdk-home-api.mjs",
19
- "version": "1.10.5",
19
+ "version": "1.11.0",
20
20
  "name": "@solibo/home-api",
21
21
  "dependencies": {
22
22
  "ws": "8.18.3",
@@ -5666,6 +5666,142 @@ export declare namespace DeviceVerifySrpCommand {
5666
5666
  const constructor: abstract new () => DeviceVerifySrpCommand;
5667
5667
  }
5668
5668
  }
5669
+ export declare abstract class DirectSendInvoiceChannel {
5670
+ private constructor();
5671
+ static get DIGIPOST(): DirectSendInvoiceChannel & {
5672
+ get name(): "DIGIPOST";
5673
+ get ordinal(): 0;
5674
+ };
5675
+ static get PRINT(): DirectSendInvoiceChannel & {
5676
+ get name(): "PRINT";
5677
+ get ordinal(): 1;
5678
+ };
5679
+ static get EMAIL(): DirectSendInvoiceChannel & {
5680
+ get name(): "EMAIL";
5681
+ get ordinal(): 2;
5682
+ };
5683
+ static get Digipost(): DirectSendInvoiceChannel & {
5684
+ get name(): "DIGIPOST";
5685
+ get ordinal(): 0;
5686
+ };
5687
+ static get Print(): DirectSendInvoiceChannel & {
5688
+ get name(): "PRINT";
5689
+ get ordinal(): 1;
5690
+ };
5691
+ static get Email(): DirectSendInvoiceChannel & {
5692
+ get name(): "EMAIL";
5693
+ get ordinal(): 2;
5694
+ };
5695
+ static values(): [typeof DirectSendInvoiceChannel.DIGIPOST, typeof DirectSendInvoiceChannel.PRINT, typeof DirectSendInvoiceChannel.EMAIL];
5696
+ static valueOf(value: string): DirectSendInvoiceChannel;
5697
+ get name(): "DIGIPOST" | "PRINT" | "EMAIL";
5698
+ get ordinal(): 0 | 1 | 2;
5699
+ get value(): string;
5700
+ toString(): string;
5701
+ }
5702
+ export declare namespace DirectSendInvoiceChannel {
5703
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5704
+ namespace $metadata$ {
5705
+ const constructor: abstract new () => DirectSendInvoiceChannel;
5706
+ }
5707
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
5708
+ private constructor();
5709
+ }
5710
+ namespace Companion {
5711
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5712
+ namespace $metadata$ {
5713
+ abstract class constructor /* implements SerializerFactory */ {
5714
+ fromValue(value: string): Nullable<DirectSendInvoiceChannel>;
5715
+ private constructor();
5716
+ }
5717
+ }
5718
+ }
5719
+ }
5720
+ export declare class DirectSendInvoiceCommand {
5721
+ constructor(channel: DirectSendInvoiceChannel, document: DirectSendInvoiceDocument, email?: Nullable<string>, printRecipient?: Nullable<DirectSendPrintRecipient>);
5722
+ get channel(): DirectSendInvoiceChannel;
5723
+ get document(): DirectSendInvoiceDocument;
5724
+ get email(): Nullable<string>;
5725
+ get printRecipient(): Nullable<DirectSendPrintRecipient>;
5726
+ copy(channel?: DirectSendInvoiceChannel, document?: DirectSendInvoiceDocument, email?: Nullable<string>, printRecipient?: Nullable<DirectSendPrintRecipient>): DirectSendInvoiceCommand;
5727
+ toString(): string;
5728
+ hashCode(): number;
5729
+ equals(other: Nullable<any>): boolean;
5730
+ }
5731
+ export declare namespace DirectSendInvoiceCommand {
5732
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5733
+ namespace $metadata$ {
5734
+ const constructor: abstract new () => DirectSendInvoiceCommand;
5735
+ }
5736
+ }
5737
+ export declare abstract class DirectSendInvoiceDocument {
5738
+ private constructor();
5739
+ static get INVOICE(): DirectSendInvoiceDocument & {
5740
+ get name(): "INVOICE";
5741
+ get ordinal(): 0;
5742
+ };
5743
+ static get OVERDUE_ONE(): DirectSendInvoiceDocument & {
5744
+ get name(): "OVERDUE_ONE";
5745
+ get ordinal(): 1;
5746
+ };
5747
+ static get OVERDUE_TWO(): DirectSendInvoiceDocument & {
5748
+ get name(): "OVERDUE_TWO";
5749
+ get ordinal(): 2;
5750
+ };
5751
+ static get Invoice(): DirectSendInvoiceDocument & {
5752
+ get name(): "INVOICE";
5753
+ get ordinal(): 0;
5754
+ };
5755
+ static get OverdueOne(): DirectSendInvoiceDocument & {
5756
+ get name(): "OVERDUE_ONE";
5757
+ get ordinal(): 1;
5758
+ };
5759
+ static get OverdueTwo(): DirectSendInvoiceDocument & {
5760
+ get name(): "OVERDUE_TWO";
5761
+ get ordinal(): 2;
5762
+ };
5763
+ static values(): [typeof DirectSendInvoiceDocument.INVOICE, typeof DirectSendInvoiceDocument.OVERDUE_ONE, typeof DirectSendInvoiceDocument.OVERDUE_TWO];
5764
+ static valueOf(value: string): DirectSendInvoiceDocument;
5765
+ get name(): "INVOICE" | "OVERDUE_ONE" | "OVERDUE_TWO";
5766
+ get ordinal(): 0 | 1 | 2;
5767
+ get value(): string;
5768
+ toString(): string;
5769
+ }
5770
+ export declare namespace DirectSendInvoiceDocument {
5771
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5772
+ namespace $metadata$ {
5773
+ const constructor: abstract new () => DirectSendInvoiceDocument;
5774
+ }
5775
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
5776
+ private constructor();
5777
+ }
5778
+ namespace Companion {
5779
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5780
+ namespace $metadata$ {
5781
+ abstract class constructor /* implements SerializerFactory */ {
5782
+ fromValue(value: string): Nullable<DirectSendInvoiceDocument>;
5783
+ private constructor();
5784
+ }
5785
+ }
5786
+ }
5787
+ }
5788
+ export declare class DirectSendPrintRecipient {
5789
+ constructor(area: string, name: string, streetAddress: string, zipCode: string);
5790
+ get area(): string;
5791
+ get name(): string;
5792
+ get streetAddress(): string;
5793
+ get zipCode(): string;
5794
+ copy(area?: string, name?: string, streetAddress?: string, zipCode?: string): DirectSendPrintRecipient;
5795
+ toString(): string;
5796
+ hashCode(): number;
5797
+ equals(other: Nullable<any>): boolean;
5798
+ }
5799
+ export declare namespace DirectSendPrintRecipient {
5800
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5801
+ namespace $metadata$ {
5802
+ const constructor: abstract new () => DirectSendPrintRecipient;
5803
+ }
5804
+ }
5669
5805
  export declare class Document {
5670
5806
  constructor(belongsToId: Nullable<bigint> | undefined, children: Nullable<KtList<Document>> | undefined, companyId: bigint, createdAt: any/* Instant */, createdBy: Nullable<bigint> | undefined, createdByClientUserId: Nullable<bigint> | undefined, createdByClientUserName: Nullable<string> | undefined, createdByName: Nullable<string> | undefined, deletedAt: Nullable<any>/* Nullable<Instant> */ | undefined, deletedBy: Nullable<bigint> | undefined, deletedByClientUserId: Nullable<bigint> | undefined, deletedByClientUserName: Nullable<string> | undefined, deletedByName: Nullable<string> | undefined, fileName: string, historicPath: Nullable<string> | undefined, historicType: Nullable<DocumentType> | undefined, id: bigint, isDirectory: Nullable<boolean> | undefined, ownedByUser: Nullable<boolean> | undefined, parentId: Nullable<bigint> | undefined, sizeBytes: Nullable<bigint> | undefined, sourceDocumentId: Nullable<bigint> | undefined, type: DocumentType, updatedAt?: Nullable<any>/* Nullable<Instant> */, updatedBy?: Nullable<bigint>, updatedByClientUserId?: Nullable<bigint>, updatedByClientUserName?: Nullable<string>, updatedByName?: Nullable<string>);
5671
5807
  get belongsToId(): Nullable<bigint>;
@@ -6183,6 +6319,72 @@ export declare namespace EmployeeParticipant {
6183
6319
  const constructor: abstract new () => EmployeeParticipant;
6184
6320
  }
6185
6321
  }
6322
+ export declare class ErrorJson {
6323
+ constructor(error: Nullable<Errors> | undefined, message: string);
6324
+ get error(): Nullable<Errors>;
6325
+ get message(): string;
6326
+ copy(error?: Nullable<Errors>, message?: string): ErrorJson;
6327
+ toString(): string;
6328
+ hashCode(): number;
6329
+ equals(other: Nullable<any>): boolean;
6330
+ }
6331
+ export declare namespace ErrorJson {
6332
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6333
+ namespace $metadata$ {
6334
+ const constructor: abstract new () => ErrorJson;
6335
+ }
6336
+ }
6337
+ export declare abstract class Errors {
6338
+ private constructor();
6339
+ static get VALIDATION(): Errors & {
6340
+ get name(): "VALIDATION";
6341
+ get ordinal(): 0;
6342
+ };
6343
+ static get AUTH(): Errors & {
6344
+ get name(): "AUTH";
6345
+ get ordinal(): 1;
6346
+ };
6347
+ static get GENERIC(): Errors & {
6348
+ get name(): "GENERIC";
6349
+ get ordinal(): 2;
6350
+ };
6351
+ static get Validation(): Errors & {
6352
+ get name(): "VALIDATION";
6353
+ get ordinal(): 0;
6354
+ };
6355
+ static get Auth(): Errors & {
6356
+ get name(): "AUTH";
6357
+ get ordinal(): 1;
6358
+ };
6359
+ static get Generic(): Errors & {
6360
+ get name(): "GENERIC";
6361
+ get ordinal(): 2;
6362
+ };
6363
+ static values(): [typeof Errors.VALIDATION, typeof Errors.AUTH, typeof Errors.GENERIC];
6364
+ static valueOf(value: string): Errors;
6365
+ get name(): "VALIDATION" | "AUTH" | "GENERIC";
6366
+ get ordinal(): 0 | 1 | 2;
6367
+ get value(): string;
6368
+ toString(): string;
6369
+ }
6370
+ export declare namespace Errors {
6371
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6372
+ namespace $metadata$ {
6373
+ const constructor: abstract new () => Errors;
6374
+ }
6375
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
6376
+ private constructor();
6377
+ }
6378
+ namespace Companion {
6379
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6380
+ namespace $metadata$ {
6381
+ abstract class constructor /* implements SerializerFactory */ {
6382
+ fromValue(value: string): Nullable<Errors>;
6383
+ private constructor();
6384
+ }
6385
+ }
6386
+ }
6387
+ }
6186
6388
  export declare class Expense {
6187
6389
  constructor(account: string, amount: number, createdAt: any/* Instant */, createdBy: Nullable<bigint> | undefined, createdByClientUserId: Nullable<bigint> | undefined, createdByClientUserName: Nullable<string> | undefined, dateOfPurchase: any/* LocalDate */, description: Nullable<string> | undefined, expenseProcessing: Nullable<KtList<ExpenseProcessing>> | undefined, expenseType: string, id: bigint, payableTo: Nullable<Person> | undefined, status: ExpenseStatus);
6188
6390
  get account(): string;
@@ -6405,6 +6607,22 @@ export declare namespace ExpiredType {
6405
6607
  }
6406
6608
  }
6407
6609
  }
6610
+ export declare class ExportResidentsCommand {
6611
+ constructor(filter?: Nullable<ResidentExportFilter>, includePnr?: Nullable<boolean>, selection?: Nullable<KtList<ResidentIdentity>>);
6612
+ get filter(): Nullable<ResidentExportFilter>;
6613
+ get includePnr(): Nullable<boolean>;
6614
+ get selection(): Nullable<KtList<ResidentIdentity>>;
6615
+ copy(filter?: Nullable<ResidentExportFilter>, includePnr?: Nullable<boolean>, selection?: Nullable<KtList<ResidentIdentity>>): ExportResidentsCommand;
6616
+ toString(): string;
6617
+ hashCode(): number;
6618
+ equals(other: Nullable<any>): boolean;
6619
+ }
6620
+ export declare namespace ExportResidentsCommand {
6621
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6622
+ namespace $metadata$ {
6623
+ const constructor: abstract new () => ExportResidentsCommand;
6624
+ }
6625
+ }
6408
6626
  export declare class ExternalConversationParticipant {
6409
6627
  constructor(email: string);
6410
6628
  get email(): string;
@@ -11313,7 +11531,7 @@ export declare namespace OrganizationReservations {
11313
11531
  }
11314
11532
  }
11315
11533
  export declare class OrganizationResident extends Resident.$metadata$.constructor {
11316
- constructor(accountNumber: Nullable<string> | undefined, attendances: Nullable<KtList<Attendance>> | undefined, country: string, historicRoles: Nullable<KtList<Role>> | undefined, id: bigint, nationality: bigint, note: Nullable<string> | undefined, parkingSpaces: Nullable<KtList<ParkingSpaceOwnership>> | undefined, profileUrl: Nullable<string> | undefined, reservedEmail: Nullable<boolean> | undefined, reservedSMS: Nullable<boolean> | undefined, roles: Nullable<KtList<Role>> | undefined, storageRooms: Nullable<KtList<StorageRoomOwnership>> | undefined, businessAddress: Nullable<BusinessAddress> | undefined, businessContact: Nullable<BusinessContact> | undefined, employees: Nullable<KtList<OrganizationEmployee>> | undefined, name: string, orgNr?: Nullable<string>, reservations?: Nullable<KtMap<string, Nullable<OrganizationReservations>>>);
11534
+ constructor(accountNumber: Nullable<string> | undefined, attendances: Nullable<KtList<Attendance>> | undefined, country: string, historicRoles: Nullable<KtList<Role>> | undefined, id: bigint, nationality: bigint, note: Nullable<string> | undefined, parkingSpaces: Nullable<KtList<ParkingSpaceOwnership>> | undefined, profileUrl: Nullable<string> | undefined, reservedEmail: Nullable<boolean> | undefined, reservedSMS: Nullable<boolean> | undefined, roles: Nullable<KtList<Role>> | undefined, storageRooms: Nullable<KtList<StorageRoomOwnership>> | undefined, businessAddress: Nullable<BusinessAddress> | undefined, businessContact: Nullable<BusinessContact> | undefined, employees: Nullable<KtList<OrganizationEmployee>> | undefined, name: string, orgNr?: Nullable<string>, relationships?: Nullable<ResidentRelationshipAggregate>, reservations?: Nullable<KtMap<string, Nullable<OrganizationReservations>>>);
11317
11535
  get accountNumber(): Nullable<string>;
11318
11536
  get attendances(): Nullable<KtList<Attendance>>;
11319
11537
  get country(): string;
@@ -11332,8 +11550,9 @@ export declare class OrganizationResident extends Resident.$metadata$.constructo
11332
11550
  get employees(): Nullable<KtList<OrganizationEmployee>>;
11333
11551
  get name(): string;
11334
11552
  get orgNr(): Nullable<string>;
11553
+ get relationships(): Nullable<ResidentRelationshipAggregate>;
11335
11554
  get reservations(): Nullable<KtMap<string, Nullable<OrganizationReservations>>>;
11336
- copy(accountNumber?: Nullable<string>, attendances?: Nullable<KtList<Attendance>>, country?: string, historicRoles?: Nullable<KtList<Role>>, id?: bigint, nationality?: bigint, note?: Nullable<string>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, profileUrl?: Nullable<string>, reservedEmail?: Nullable<boolean>, reservedSMS?: Nullable<boolean>, roles?: Nullable<KtList<Role>>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, businessAddress?: Nullable<BusinessAddress>, businessContact?: Nullable<BusinessContact>, employees?: Nullable<KtList<OrganizationEmployee>>, name?: string, orgNr?: Nullable<string>, reservations?: Nullable<KtMap<string, Nullable<OrganizationReservations>>>): OrganizationResident;
11555
+ copy(accountNumber?: Nullable<string>, attendances?: Nullable<KtList<Attendance>>, country?: string, historicRoles?: Nullable<KtList<Role>>, id?: bigint, nationality?: bigint, note?: Nullable<string>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, profileUrl?: Nullable<string>, reservedEmail?: Nullable<boolean>, reservedSMS?: Nullable<boolean>, roles?: Nullable<KtList<Role>>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, businessAddress?: Nullable<BusinessAddress>, businessContact?: Nullable<BusinessContact>, employees?: Nullable<KtList<OrganizationEmployee>>, name?: string, orgNr?: Nullable<string>, relationships?: Nullable<ResidentRelationshipAggregate>, reservations?: Nullable<KtMap<string, Nullable<OrganizationReservations>>>): OrganizationResident;
11337
11556
  toString(): string;
11338
11557
  hashCode(): number;
11339
11558
  equals(other: Nullable<any>): boolean;
@@ -13891,7 +14110,7 @@ export declare namespace PersonPostalArea {
13891
14110
  }
13892
14111
  }
13893
14112
  export declare class PersonResident extends Resident.$metadata$.constructor {
13894
- constructor(accountNumber: Nullable<string> | undefined, attendances: Nullable<KtList<Attendance>> | undefined, country: string, historicRoles: Nullable<KtList<Role>> | undefined, id: bigint, nationality: bigint, note: Nullable<string> | undefined, parkingSpaces: Nullable<KtList<ParkingSpaceOwnership>> | undefined, profileUrl: Nullable<string> | undefined, reservedEmail: Nullable<boolean> | undefined, reservedSMS: Nullable<boolean> | undefined, roles: Nullable<KtList<Role>> | undefined, storageRooms: Nullable<KtList<StorageRoomOwnership>> | undefined, address: Nullable<AddressSpecifics> | undefined, birthDay: Nullable<string> | undefined, completeMobile: Nullable<string> | undefined, email: Nullable<string> | undefined, folkeregisteret: Nullable<Folkeregisteret> | undefined, invoicingEmail: Nullable<string> | undefined, isUser: Nullable<boolean> | undefined, mobile: Nullable<string> | undefined, mobileCountryCode: Nullable<string> | undefined, name: Name, passportExpiration?: Nullable<any>/* Nullable<Instant> */, passportNumberId?: Nullable<string>, personnummerId?: Nullable<string>, personnummerTwoId?: Nullable<string>, title?: Nullable<string>);
14113
+ constructor(accountNumber: Nullable<string> | undefined, attendances: Nullable<KtList<Attendance>> | undefined, country: string, historicRoles: Nullable<KtList<Role>> | undefined, id: bigint, nationality: bigint, note: Nullable<string> | undefined, parkingSpaces: Nullable<KtList<ParkingSpaceOwnership>> | undefined, profileUrl: Nullable<string> | undefined, reservedEmail: Nullable<boolean> | undefined, reservedSMS: Nullable<boolean> | undefined, roles: Nullable<KtList<Role>> | undefined, storageRooms: Nullable<KtList<StorageRoomOwnership>> | undefined, address: Nullable<AddressSpecifics> | undefined, birthDay: Nullable<string> | undefined, completeMobile: Nullable<string> | undefined, email: Nullable<string> | undefined, folkeregisteret: Nullable<Folkeregisteret> | undefined, invoicingEmail: Nullable<string> | undefined, isUser: Nullable<boolean> | undefined, mobile: Nullable<string> | undefined, mobileCountryCode: Nullable<string> | undefined, name: Name, passportExpiration?: Nullable<any>/* Nullable<Instant> */, passportNumberId?: Nullable<string>, personnummerId?: Nullable<string>, personnummerTwoId?: Nullable<string>, relationships?: Nullable<ResidentRelationshipAggregate>, title?: Nullable<string>);
13895
14114
  get accountNumber(): Nullable<string>;
13896
14115
  get attendances(): Nullable<KtList<Attendance>>;
13897
14116
  get country(): string;
@@ -13919,8 +14138,9 @@ export declare class PersonResident extends Resident.$metadata$.constructor {
13919
14138
  get passportNumberId(): Nullable<string>;
13920
14139
  get personnummerId(): Nullable<string>;
13921
14140
  get personnummerTwoId(): Nullable<string>;
14141
+ get relationships(): Nullable<ResidentRelationshipAggregate>;
13922
14142
  get title(): Nullable<string>;
13923
- copy(accountNumber?: Nullable<string>, attendances?: Nullable<KtList<Attendance>>, country?: string, historicRoles?: Nullable<KtList<Role>>, id?: bigint, nationality?: bigint, note?: Nullable<string>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, profileUrl?: Nullable<string>, reservedEmail?: Nullable<boolean>, reservedSMS?: Nullable<boolean>, roles?: Nullable<KtList<Role>>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, address?: Nullable<AddressSpecifics>, birthDay?: Nullable<string>, completeMobile?: Nullable<string>, email?: Nullable<string>, folkeregisteret?: Nullable<Folkeregisteret>, invoicingEmail?: Nullable<string>, isUser?: Nullable<boolean>, mobile?: Nullable<string>, mobileCountryCode?: Nullable<string>, name?: Name, passportExpiration?: Nullable<any>/* Nullable<Instant> */, passportNumberId?: Nullable<string>, personnummerId?: Nullable<string>, personnummerTwoId?: Nullable<string>, title?: Nullable<string>): PersonResident;
14143
+ copy(accountNumber?: Nullable<string>, attendances?: Nullable<KtList<Attendance>>, country?: string, historicRoles?: Nullable<KtList<Role>>, id?: bigint, nationality?: bigint, note?: Nullable<string>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, profileUrl?: Nullable<string>, reservedEmail?: Nullable<boolean>, reservedSMS?: Nullable<boolean>, roles?: Nullable<KtList<Role>>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, address?: Nullable<AddressSpecifics>, birthDay?: Nullable<string>, completeMobile?: Nullable<string>, email?: Nullable<string>, folkeregisteret?: Nullable<Folkeregisteret>, invoicingEmail?: Nullable<string>, isUser?: Nullable<boolean>, mobile?: Nullable<string>, mobileCountryCode?: Nullable<string>, name?: Name, passportExpiration?: Nullable<any>/* Nullable<Instant> */, passportNumberId?: Nullable<string>, personnummerId?: Nullable<string>, personnummerTwoId?: Nullable<string>, relationships?: Nullable<ResidentRelationshipAggregate>, title?: Nullable<string>): PersonResident;
13924
14144
  toString(): string;
13925
14145
  hashCode(): number;
13926
14146
  equals(other: Nullable<any>): boolean;
@@ -14702,6 +14922,67 @@ export declare namespace Resident {
14702
14922
  const constructor: abstract new () => Resident;
14703
14923
  }
14704
14924
  }
14925
+ export declare class ResidentExportFilter {
14926
+ constructor(query?: Nullable<string>, residentTypes?: Nullable<KtList<ResidentType>>);
14927
+ get query(): Nullable<string>;
14928
+ get residentTypes(): Nullable<KtList<ResidentType>>;
14929
+ copy(query?: Nullable<string>, residentTypes?: Nullable<KtList<ResidentType>>): ResidentExportFilter;
14930
+ toString(): string;
14931
+ hashCode(): number;
14932
+ equals(other: Nullable<any>): boolean;
14933
+ }
14934
+ export declare namespace ResidentExportFilter {
14935
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14936
+ namespace $metadata$ {
14937
+ const constructor: abstract new () => ResidentExportFilter;
14938
+ }
14939
+ }
14940
+ export declare class ResidentIdentity {
14941
+ constructor(residentId: bigint, residentType: ResidentType);
14942
+ get residentId(): bigint;
14943
+ get residentType(): ResidentType;
14944
+ copy(residentId?: bigint, residentType?: ResidentType): ResidentIdentity;
14945
+ toString(): string;
14946
+ hashCode(): number;
14947
+ equals(other: Nullable<any>): boolean;
14948
+ }
14949
+ export declare namespace ResidentIdentity {
14950
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14951
+ namespace $metadata$ {
14952
+ const constructor: abstract new () => ResidentIdentity;
14953
+ }
14954
+ }
14955
+ export declare class ResidentRelationshipAggregate {
14956
+ constructor(current: ResidentRelationshipPeriod, future: ResidentRelationshipPeriod, historic: ResidentRelationshipPeriod);
14957
+ get current(): ResidentRelationshipPeriod;
14958
+ get future(): ResidentRelationshipPeriod;
14959
+ get historic(): ResidentRelationshipPeriod;
14960
+ copy(current?: ResidentRelationshipPeriod, future?: ResidentRelationshipPeriod, historic?: ResidentRelationshipPeriod): ResidentRelationshipAggregate;
14961
+ toString(): string;
14962
+ hashCode(): number;
14963
+ equals(other: Nullable<any>): boolean;
14964
+ }
14965
+ export declare namespace ResidentRelationshipAggregate {
14966
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14967
+ namespace $metadata$ {
14968
+ const constructor: abstract new () => ResidentRelationshipAggregate;
14969
+ }
14970
+ }
14971
+ export declare class ResidentRelationshipPeriod {
14972
+ constructor(occupancies: KtList<Attendance>, roles: KtList<Role>);
14973
+ get occupancies(): KtList<Attendance>;
14974
+ get roles(): KtList<Role>;
14975
+ copy(occupancies?: KtList<Attendance>, roles?: KtList<Role>): ResidentRelationshipPeriod;
14976
+ toString(): string;
14977
+ hashCode(): number;
14978
+ equals(other: Nullable<any>): boolean;
14979
+ }
14980
+ export declare namespace ResidentRelationshipPeriod {
14981
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14982
+ namespace $metadata$ {
14983
+ const constructor: abstract new () => ResidentRelationshipPeriod;
14984
+ }
14985
+ }
14705
14986
  export declare class ResidentRole {
14706
14987
  constructor(companyId: Nullable<bigint> | undefined, id: bigint, organization: Nullable<Organization> | undefined, organizationId: Nullable<bigint> | undefined, person: Nullable<Person> | undefined, personId: Nullable<bigint> | undefined, role: RoleType, sectionId: Nullable<bigint> | undefined, supplierId: Nullable<bigint> | undefined, validFrom: any/* Instant */, validTo?: Nullable<any>/* Nullable<Instant> */);
14707
14988
  get companyId(): Nullable<bigint>;
@@ -15657,7 +15938,7 @@ export declare namespace SecondaryActions {
15657
15938
  }
15658
15939
  }
15659
15940
  export declare class Section {
15660
- constructor(anr: Nullable<string> | undefined, apartmentNr: Nullable<string> | undefined, area: Nullable<string> | undefined, areaSqm: Nullable<number> | undefined, bathroomCount: Nullable<bigint> | undefined, bnr: Nullable<string> | undefined, building: Nullable<Building> | undefined, buildingId: Nullable<bigint> | undefined, capabilities: Nullable<KtList<string>> | undefined, children: Nullable<KtList<Section>> | undefined, classification: SectionType, companyClassification: Nullable<string> | undefined, companyId: bigint, deletedAt: Nullable<any>/* Nullable<Instant> */ | undefined, deletionReason: Nullable<SectionDeletionReason> | undefined, floor: Nullable<BuildingFloor> | undefined, floorId: Nullable<bigint> | undefined, fnr: Nullable<string> | undefined, gnr: Nullable<string> | undefined, hNr: Nullable<string> | undefined, id: bigint, identifier: Nullable<string> | undefined, inFourFraction: Nullable<string> | undefined, inOneFraction: Nullable<string> | undefined, inThreeFraction: Nullable<string> | undefined, inTwoFraction: Nullable<string> | undefined, isBusiness: boolean, isProtected?: Nullable<boolean>, isRentalArea?: Nullable<boolean>, kitchenAccess?: Nullable<string>, kitchenAccessCode?: Nullable<string>, knr?: Nullable<string>, kostraFunction?: Nullable<string>, kostraFunctionCode?: Nullable<string>, markedForRemoval?: Nullable<boolean>, note?: Nullable<string>, ownerFraction?: Nullable<string>, parentId?: Nullable<bigint>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, residenceNr?: Nullable<bigint>, roomCount?: Nullable<bigint>, sectionAddressId?: Nullable<bigint>, sectioningFraction?: Nullable<string>, shareNumbers?: Nullable<KtList<string>>, snr?: Nullable<string>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, streetAddress?: Nullable<string>, toiletCount?: Nullable<bigint>, unitKartverketId?: Nullable<string>, unitType?: Nullable<string>, unitTypeCode?: Nullable<string>, wealthFraction?: Nullable<string>, zipCode?: Nullable<string>);
15941
+ constructor(anr: Nullable<string> | undefined, apartmentNr: Nullable<string> | undefined, area: Nullable<string> | undefined, areaSqm: Nullable<number> | undefined, bathroomCount: Nullable<bigint> | undefined, bnr: Nullable<string> | undefined, building: Nullable<Building> | undefined, buildingId: Nullable<bigint> | undefined, capabilities: Nullable<KtList<string>> | undefined, children: Nullable<KtList<Section>> | undefined, classification: SectionType, companyClassification: Nullable<string> | undefined, companyId: bigint, currentOccupancies: Nullable<KtList<Attendance>> | undefined, currentResidentRoles: Nullable<KtList<ResidentRole>> | undefined, deletedAt: Nullable<any>/* Nullable<Instant> */ | undefined, deletionReason: Nullable<SectionDeletionReason> | undefined, floor: Nullable<BuildingFloor> | undefined, floorId: Nullable<bigint> | undefined, fnr: Nullable<string> | undefined, gnr: Nullable<string> | undefined, hNr: Nullable<string> | undefined, id: bigint, identifier: Nullable<string> | undefined, inFourFraction: Nullable<string> | undefined, inOneFraction: Nullable<string> | undefined, inThreeFraction: Nullable<string> | undefined, inTwoFraction: Nullable<string> | undefined, isBusiness: boolean, isProtected?: Nullable<boolean>, isRentalArea?: Nullable<boolean>, kitchenAccess?: Nullable<string>, kitchenAccessCode?: Nullable<string>, knr?: Nullable<string>, kostraFunction?: Nullable<string>, kostraFunctionCode?: Nullable<string>, markedForRemoval?: Nullable<boolean>, note?: Nullable<string>, ownerFraction?: Nullable<string>, parentId?: Nullable<bigint>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, residenceNr?: Nullable<bigint>, roomCount?: Nullable<bigint>, sectionAddressId?: Nullable<bigint>, sectioningFraction?: Nullable<string>, shareNumbers?: Nullable<KtList<string>>, snr?: Nullable<string>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, streetAddress?: Nullable<string>, toiletCount?: Nullable<bigint>, unitKartverketId?: Nullable<string>, unitType?: Nullable<string>, unitTypeCode?: Nullable<string>, wealthFraction?: Nullable<string>, zipCode?: Nullable<string>);
15661
15942
  get anr(): Nullable<string>;
15662
15943
  get apartmentNr(): Nullable<string>;
15663
15944
  get area(): Nullable<string>;
@@ -15671,6 +15952,8 @@ export declare class Section {
15671
15952
  get classification(): SectionType;
15672
15953
  get companyClassification(): Nullable<string>;
15673
15954
  get companyId(): bigint;
15955
+ get currentOccupancies(): Nullable<KtList<Attendance>>;
15956
+ get currentResidentRoles(): Nullable<KtList<ResidentRole>>;
15674
15957
  get deletedAt(): Nullable<any>/* Nullable<Instant> */;
15675
15958
  get deletionReason(): Nullable<SectionDeletionReason>;
15676
15959
  get floor(): Nullable<BuildingFloor>;
@@ -15711,7 +15994,7 @@ export declare class Section {
15711
15994
  get unitTypeCode(): Nullable<string>;
15712
15995
  get wealthFraction(): Nullable<string>;
15713
15996
  get zipCode(): Nullable<string>;
15714
- copy(anr?: Nullable<string>, apartmentNr?: Nullable<string>, area?: Nullable<string>, areaSqm?: Nullable<number>, bathroomCount?: Nullable<bigint>, bnr?: Nullable<string>, building?: Nullable<Building>, buildingId?: Nullable<bigint>, capabilities?: Nullable<KtList<string>>, children?: Nullable<KtList<Section>>, classification?: SectionType, companyClassification?: Nullable<string>, companyId?: bigint, deletedAt?: Nullable<any>/* Nullable<Instant> */, deletionReason?: Nullable<SectionDeletionReason>, floor?: Nullable<BuildingFloor>, floorId?: Nullable<bigint>, fnr?: Nullable<string>, gnr?: Nullable<string>, hNr?: Nullable<string>, id?: bigint, identifier?: Nullable<string>, inFourFraction?: Nullable<string>, inOneFraction?: Nullable<string>, inThreeFraction?: Nullable<string>, inTwoFraction?: Nullable<string>, isBusiness?: boolean, isProtected?: Nullable<boolean>, isRentalArea?: Nullable<boolean>, kitchenAccess?: Nullable<string>, kitchenAccessCode?: Nullable<string>, knr?: Nullable<string>, kostraFunction?: Nullable<string>, kostraFunctionCode?: Nullable<string>, markedForRemoval?: Nullable<boolean>, note?: Nullable<string>, ownerFraction?: Nullable<string>, parentId?: Nullable<bigint>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, residenceNr?: Nullable<bigint>, roomCount?: Nullable<bigint>, sectionAddressId?: Nullable<bigint>, sectioningFraction?: Nullable<string>, shareNumbers?: Nullable<KtList<string>>, snr?: Nullable<string>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, streetAddress?: Nullable<string>, toiletCount?: Nullable<bigint>, unitKartverketId?: Nullable<string>, unitType?: Nullable<string>, unitTypeCode?: Nullable<string>, wealthFraction?: Nullable<string>, zipCode?: Nullable<string>): Section;
15997
+ copy(anr?: Nullable<string>, apartmentNr?: Nullable<string>, area?: Nullable<string>, areaSqm?: Nullable<number>, bathroomCount?: Nullable<bigint>, bnr?: Nullable<string>, building?: Nullable<Building>, buildingId?: Nullable<bigint>, capabilities?: Nullable<KtList<string>>, children?: Nullable<KtList<Section>>, classification?: SectionType, companyClassification?: Nullable<string>, companyId?: bigint, currentOccupancies?: Nullable<KtList<Attendance>>, currentResidentRoles?: Nullable<KtList<ResidentRole>>, deletedAt?: Nullable<any>/* Nullable<Instant> */, deletionReason?: Nullable<SectionDeletionReason>, floor?: Nullable<BuildingFloor>, floorId?: Nullable<bigint>, fnr?: Nullable<string>, gnr?: Nullable<string>, hNr?: Nullable<string>, id?: bigint, identifier?: Nullable<string>, inFourFraction?: Nullable<string>, inOneFraction?: Nullable<string>, inThreeFraction?: Nullable<string>, inTwoFraction?: Nullable<string>, isBusiness?: boolean, isProtected?: Nullable<boolean>, isRentalArea?: Nullable<boolean>, kitchenAccess?: Nullable<string>, kitchenAccessCode?: Nullable<string>, knr?: Nullable<string>, kostraFunction?: Nullable<string>, kostraFunctionCode?: Nullable<string>, markedForRemoval?: Nullable<boolean>, note?: Nullable<string>, ownerFraction?: Nullable<string>, parentId?: Nullable<bigint>, parkingSpaces?: Nullable<KtList<ParkingSpaceOwnership>>, residenceNr?: Nullable<bigint>, roomCount?: Nullable<bigint>, sectionAddressId?: Nullable<bigint>, sectioningFraction?: Nullable<string>, shareNumbers?: Nullable<KtList<string>>, snr?: Nullable<string>, storageRooms?: Nullable<KtList<StorageRoomOwnership>>, streetAddress?: Nullable<string>, toiletCount?: Nullable<bigint>, unitKartverketId?: Nullable<string>, unitType?: Nullable<string>, unitTypeCode?: Nullable<string>, wealthFraction?: Nullable<string>, zipCode?: Nullable<string>): Section;
15715
15998
  toString(): string;
15716
15999
  hashCode(): number;
15717
16000
  equals(other: Nullable<any>): boolean;
@@ -20291,6 +20574,7 @@ export declare class InvoicingApi extends ApiClient.$metadata$.constructor {
20291
20574
  indexQueuedInvoicingForCompanies(companyIds?: Nullable<KtList<bigint>>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListQueuedInvoice>>;
20292
20575
  indexUpcomingInvoicing(fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListGlobalPreview>>;
20293
20576
  lossInvoice(companyId: bigint, customerType: string, customerId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
20577
+ postCompanyInvoiceDirectSend(companyId: bigint, invoiceId: string, directSendInvoiceCommand: DirectSendInvoiceCommand, idempotencyKey?: Nullable<string>): Promise<HttpResponse<void>>;
20294
20578
  putCompanyInvoiceClose(companyId: bigint, invoiceId: string, closeInvoiceCommand: CloseInvoiceCommand): Promise<HttpResponse<void>>;
20295
20579
  putCompanyInvoiceDisableOverdueNotices(companyId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
20296
20580
  putCompanyInvoiceEnableOverdueNotices(companyId: bigint, invoiceId: string): Promise<HttpResponse<void>>;
@@ -20550,16 +20834,20 @@ export declare class ResidentApi extends ApiClient.$metadata$.constructor {
20550
20834
  createResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, createAttendanceCommand: CreateAttendanceCommand): Promise<HttpResponse<void>>;
20551
20835
  deleteResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint): Promise<HttpResponse<void>>;
20552
20836
  exportResidents(companyId: bigint, includePnr?: Nullable<boolean>): Promise<HttpResponse<Base64ByteArray>>;
20837
+ exportSelectedResidents(companyId: bigint, exportResidentsCommand: ExportResidentsCommand): Promise<HttpResponse<Base64ByteArray>>;
20553
20838
  importResidentsForOnboardingCompany(companyId: bigint, body: string): Promise<HttpResponse<void>>;
20839
+ indexFutureResidents(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListResident>>;
20840
+ indexHistoricResidents(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListResident>>;
20554
20841
  indexResident(companyId: bigint, query?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListResident>>;
20555
20842
  indexResidentTypes(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListResidentType>>;
20556
20843
  inviteResidentToSoliboApp(companyId: bigint, residentType: string, residentId: bigint): Promise<HttpResponse<void>>;
20557
20844
  inviteResidentsToSoliboApp(companyId: bigint): Promise<HttpResponse<void>>;
20558
20845
  listResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, at?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListAttendance>>;
20846
+ showResident(companyId: bigint, residentType: string, residentId: bigint, fields?: Nullable<string>): Promise<HttpResponse<Resident>>;
20559
20847
  showResidentByOrgNr(companyId: bigint, findResidentByOrgNrCommand: FindResidentByOrgNrCommand): Promise<HttpResponse<Organization>>;
20560
20848
  showResidentByPersonnummer(companyId: bigint, findResidentByPersonalIdentityNumberCommand: FindResidentByPersonalIdentityNumberCommand): Promise<HttpResponse<FindResidentResult>>;
20561
20849
  showResidentSensitive(companyId: bigint, residentType: string, residentId: bigint, fields?: Nullable<string>): Promise<HttpResponse<SensitiveData>>;
20562
- updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand, removeBods?: Nullable<boolean>, removeParkeringsplass?: Nullable<boolean>): Promise<HttpResponse<Person>>;
20850
+ updateResident(companyId: bigint, residentType: string, residentId: bigint, updateResidentCommand: UpdateResidentCommand): Promise<HttpResponse<Person>>;
20563
20851
  updateResidentAttendance(companyId: bigint, residentType: string, residentId: bigint, sectionId: bigint, attendanceId: bigint, updateAttendanceCommand: UpdateAttendanceCommand): Promise<HttpResponse<void>>;
20564
20852
  updateResidentNotat(companyId: bigint, residentType: string, residentId: bigint, updateNotatCommand: UpdateNotatCommand): Promise<HttpResponse<Resident>>;
20565
20853
  }
@@ -20669,9 +20957,9 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
20669
20957
  static create(baseUrl?: string, httpClientEngine?: Nullable<any>/* Nullable<HttpClientEngine> */, httpClientConfig?: Nullable<(p0: any/* HttpClientConfig<UnknownType *> */) => void>, jsonSerializer?: any/* Json */): SectionApi;
20670
20958
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): SectionApi;
20671
20959
  createOwnershipChange(companyId: bigint, sectionId: bigint, ownerChangeSectionCommand: OwnerChangeSectionCommand): Promise<HttpResponse<void>>;
20672
- createSection(companyId: bigint, createSectionCommand: CreateSectionCommand, status?: Nullable<SectionState>): Promise<HttpResponse<void>>;
20960
+ createSection(companyId: bigint, createSectionCommand: CreateSectionCommand, status?: Nullable<SectionState>): Promise<HttpResponse<Section>>;
20673
20961
  createSectionStatus(companyId: bigint, sectionId: bigint, createStatusCommand: CreateStatusCommand, statusType?: Nullable<SectionState>): Promise<HttpResponse<void>>;
20674
- createSubSection(companyId: bigint, sectionId: bigint, createSectionCommand: CreateSectionCommand): Promise<HttpResponse<void>>;
20962
+ createSubSection(companyId: bigint, sectionId: bigint, createSectionCommand: CreateSectionCommand): Promise<HttpResponse<Section>>;
20675
20963
  createTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: SectionTagCommand): Promise<HttpResponse<void>>;
20676
20964
  deleteOwnershipChange(companyId: bigint, sectionId: bigint, ownerChangeId: bigint): Promise<HttpResponse<void>>;
20677
20965
  deleteSection(companyId: bigint, sectionId: bigint): Promise<HttpResponse<void>>;
@@ -20694,6 +20982,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
20694
20982
  massUpdateSectionFractions(companyId: bigint, massUpdateFractionsCommand: MassUpdateFractionsCommand, fractionType?: Nullable<FractionType>, sectionIds?: Nullable<KtList<bigint>>, validFrom?: Nullable<bigint>): Promise<HttpResponse<void>>;
20695
20983
  mergeSections(companyId: bigint, mergeSectionsCommand: MergeSectionsCommand): Promise<HttpResponse<Section>>;
20696
20984
  multiCreateTagOnSection(companyId: bigint, sectionId: bigint, sectionTagCommand: KtList<SectionTagCommand>): Promise<HttpResponse<void>>;
20985
+ showSection(companyId: bigint, sectionId: bigint, fields?: Nullable<string>): Promise<HttpResponse<Section>>;
20697
20986
  showSectionResidentHistory(companyId: bigint, sectionId: bigint, fields?: Nullable<string>): Promise<HttpResponse<ResidentRoleHistory>>;
20698
20987
  showSectionStatus(companyId: bigint, sectionId: bigint, statusType?: Nullable<SectionState>, fields?: Nullable<string>): Promise<HttpResponse<KtMap<string, KtList<SectionStatusSectionStatusMapValue>>>>;
20699
20988
  splitSection(companyId: bigint, splitSectionCommand: SplitSectionCommand): Promise<HttpResponse<KtList<Section>>>;