@solibo/solibo-sdk 1.43.1 → 1.44.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 (37) hide show
  1. package/client/companies.d.mts +1 -1
  2. package/client-core.mjs +29 -0
  3. package/core.d.mts +1 -1
  4. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequence.mjs +2 -0
  5. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +6 -5
  6. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  7. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +9 -9
  8. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerialFormat.mjs +10 -10
  9. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +1 -4
  10. package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
  11. package/operations/companies.d.mts +1 -1
  12. package/package.json +1 -1
  13. package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +214 -200
  14. package/solibo-cycles/kotlin-kotlin-stdlib-12.mjs +3 -2
  15. package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
  16. package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
  17. package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +20 -43
  18. package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +1 -1
  19. package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.export.d.mts +3 -2
  20. package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.mjs +283 -246
  21. package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.d.mts +26 -0
  22. package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.mjs +12 -0
  23. package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.mjs +489 -0
  24. package/solibo-sdk-sdk-api-company.mjs +1 -0
  25. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/SdkJson.mjs +34 -0
  26. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.mjs +138 -0
  27. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.web.mjs +22 -0
  28. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/ApiClient.mjs +5 -12
  29. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.export.d.mts +3 -2
  30. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.mjs +291 -254
  31. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.d.mts +27 -0
  32. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.mjs +12 -0
  33. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.mjs +512 -0
  34. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
  35. package/solibo-sdk-sdk-core.mjs +1 -0
  36. package/solibo-sdk-sdk.d.mts +76 -2
  37. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +0 -43
@@ -2725,6 +2725,7 @@ export declare namespace CreateAddress {
2725
2725
  }
2726
2726
  }
2727
2727
  export interface CreateBuildingProps {
2728
+ alterations?: CreateBuildingAlterationProps[] | null | undefined;
2728
2729
  buildingChange?: string | null | undefined;
2729
2730
  buildingChangeCode?: string | null | undefined;
2730
2731
  buildingChangeCount?: bigint | null | undefined;
@@ -2764,7 +2765,8 @@ export interface CreateBuildingProps {
2764
2765
  }
2765
2766
  export declare class CreateBuilding {
2766
2767
  constructor(props: CreateBuildingProps);
2767
- constructor(buildingChange?: string | null | undefined, buildingChangeCode?: string | null | undefined, buildingChangeCount?: bigint | null | undefined, buildingStatus?: string | null | undefined, buildingStatusCode?: string | null | undefined, buildingType?: string | null | undefined, buildingTypeCode?: string | null | undefined, builtUpAreaSqm?: number | null | undefined, businessGroup?: string | null | undefined, businessGroupCode?: string | null | undefined, bygningsNr?: bigint | null | undefined, constructionYear?: bigint | null | undefined, energySourceCodes?: string[] | null | undefined, energySources?: string[] | null | undefined, floors?: CreateBuildingFloor[] | null | undefined, hasCulturalMemory?: boolean | null | undefined, hasElevator?: boolean | null | undefined, hasIncompleteArea?: boolean | null | undefined, hasSEFRAK?: boolean | null | undefined, heatingSourceCodes?: string[] | null | undefined, heatingSources?: string[] | null | undefined, historicId?: bigint | null | undefined, housingUnitCount?: bigint | null | undefined, isProtected?: boolean | null | undefined, kartverketId?: string | null | undefined, municipalityName?: string | null | undefined, municipalityNumber?: string | null | undefined, name?: string | null | undefined, nonResidentialSqm?: number | null | undefined, origin?: string | null | undefined, originCode?: string | null | undefined, residentialSqm?: number | null | undefined, sewer?: string | null | undefined, sewerCode?: string | null | undefined, waterSupply?: string | null | undefined, waterSupplyCode?: string | null | undefined);
2768
+ constructor(alterations?: CreateBuildingAlteration[] | null | undefined, buildingChange?: string | null | undefined, buildingChangeCode?: string | null | undefined, buildingChangeCount?: bigint | null | undefined, buildingStatus?: string | null | undefined, buildingStatusCode?: string | null | undefined, buildingType?: string | null | undefined, buildingTypeCode?: string | null | undefined, builtUpAreaSqm?: number | null | undefined, businessGroup?: string | null | undefined, businessGroupCode?: string | null | undefined, bygningsNr?: bigint | null | undefined, constructionYear?: bigint | null | undefined, energySourceCodes?: string[] | null | undefined, energySources?: string[] | null | undefined, floors?: CreateBuildingFloor[] | null | undefined, hasCulturalMemory?: boolean | null | undefined, hasElevator?: boolean | null | undefined, hasIncompleteArea?: boolean | null | undefined, hasSEFRAK?: boolean | null | undefined, heatingSourceCodes?: string[] | null | undefined, heatingSources?: string[] | null | undefined, historicId?: bigint | null | undefined, housingUnitCount?: bigint | null | undefined, isProtected?: boolean | null | undefined, kartverketId?: string | null | undefined, municipalityName?: string | null | undefined, municipalityNumber?: string | null | undefined, name?: string | null | undefined, nonResidentialSqm?: number | null | undefined, origin?: string | null | undefined, originCode?: string | null | undefined, residentialSqm?: number | null | undefined, sewer?: string | null | undefined, sewerCode?: string | null | undefined, waterSupply?: string | null | undefined, waterSupplyCode?: string | null | undefined);
2769
+ get alterations(): CreateBuildingAlteration[] | null | undefined;
2768
2770
  get buildingChange(): string | null | undefined;
2769
2771
  get buildingChangeCode(): string | null | undefined;
2770
2772
  get buildingChangeCount(): bigint | null | undefined;
@@ -2808,6 +2810,40 @@ export declare namespace CreateBuilding {
2808
2810
  const constructor: abstract new () => CreateBuilding;
2809
2811
  }
2810
2812
  }
2813
+ export interface CreateBuildingAlterationProps {
2814
+ alteration?: string | null | undefined;
2815
+ alterationCode?: string | null | undefined;
2816
+ buildingStatus?: string | null | undefined;
2817
+ buildingStatusCode?: string | null | undefined;
2818
+ builtUpAreaSqm?: number | null | undefined;
2819
+ constructionYear?: bigint | null | undefined;
2820
+ floorIdentities?: string[] | null | undefined;
2821
+ kartverketId: string;
2822
+ nonResidentialSqm?: number | null | undefined;
2823
+ residentialSqm?: number | null | undefined;
2824
+ sequenceNumber?: bigint | null | undefined;
2825
+ }
2826
+ export declare class CreateBuildingAlteration {
2827
+ constructor(props: CreateBuildingAlterationProps);
2828
+ constructor(alteration: string | null | undefined, alterationCode: string | null | undefined, buildingStatus: string | null | undefined, buildingStatusCode: string | null | undefined, builtUpAreaSqm: number | null | undefined, constructionYear: bigint | null | undefined, floorIdentities: string[] | null | undefined, kartverketId: string, nonResidentialSqm?: number | null | undefined, residentialSqm?: number | null | undefined, sequenceNumber?: bigint | null | undefined);
2829
+ get alteration(): string | null | undefined;
2830
+ get alterationCode(): string | null | undefined;
2831
+ get buildingStatus(): string | null | undefined;
2832
+ get buildingStatusCode(): string | null | undefined;
2833
+ get builtUpAreaSqm(): number | null | undefined;
2834
+ get constructionYear(): bigint | null | undefined;
2835
+ get floorIdentities(): string[] | null | undefined;
2836
+ get kartverketId(): string;
2837
+ get nonResidentialSqm(): number | null | undefined;
2838
+ get residentialSqm(): number | null | undefined;
2839
+ get sequenceNumber(): bigint | null | undefined;
2840
+ }
2841
+ export declare namespace CreateBuildingAlteration {
2842
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
2843
+ namespace $metadata$ {
2844
+ const constructor: abstract new () => CreateBuildingAlteration;
2845
+ }
2846
+ }
2811
2847
  export interface CreateBuildingFloorProps {
2812
2848
  floorNumber?: bigint | null | undefined;
2813
2849
  floorTypeCode?: string | null | undefined;
@@ -23423,6 +23459,7 @@ export declare namespace BoardParticipant {
23423
23459
  }
23424
23460
  }
23425
23461
  export interface BuildingProps {
23462
+ alterations?: BuildingAlterationProps[] | null | undefined;
23426
23463
  buildingChange?: string | null | undefined;
23427
23464
  buildingChangeCode?: string | null | undefined;
23428
23465
  buildingChangeCount?: bigint | null | undefined;
@@ -23463,7 +23500,8 @@ export interface BuildingProps {
23463
23500
  }
23464
23501
  export declare class Building {
23465
23502
  constructor(props: BuildingProps);
23466
- constructor(buildingChange: string | null | undefined, buildingChangeCode: string | null | undefined, buildingChangeCount: bigint | null | undefined, buildingStatus: string | null | undefined, buildingStatusCode: string | null | undefined, buildingType: string | null | undefined, buildingTypeCode: string | null | undefined, builtUpAreaSqm: number | null | undefined, businessGroup: string | null | undefined, businessGroupCode: string | null | undefined, bygningsNr: bigint | null | undefined, constructionYear: bigint | null | undefined, energySourceCodes: string[] | null | undefined, energySources: string[] | null | undefined, floors: BuildingFloor[] | null | undefined, hasCulturalMemory: boolean | null | undefined, hasElevator: boolean | null | undefined, hasIncompleteArea: boolean | null | undefined, hasSEFRAK: boolean | null | undefined, heatingSourceCodes: string[] | null | undefined, heatingSources: string[] | null | undefined, historicId: bigint | null | undefined, housingUnitCount: bigint | null | undefined, id: bigint, isProtected?: boolean | null | undefined, kartverketId?: string | null | undefined, municipalityName?: string | null | undefined, municipalityNumber?: string | null | undefined, name?: string | null | undefined, nonResidentialSqm?: number | null | undefined, origin?: string | null | undefined, originCode?: string | null | undefined, residentialSqm?: number | null | undefined, sewer?: string | null | undefined, sewerCode?: string | null | undefined, waterSupply?: string | null | undefined, waterSupplyCode?: string | null | undefined);
23503
+ constructor(alterations: BuildingAlteration[] | null | undefined, buildingChange: string | null | undefined, buildingChangeCode: string | null | undefined, buildingChangeCount: bigint | null | undefined, buildingStatus: string | null | undefined, buildingStatusCode: string | null | undefined, buildingType: string | null | undefined, buildingTypeCode: string | null | undefined, builtUpAreaSqm: number | null | undefined, businessGroup: string | null | undefined, businessGroupCode: string | null | undefined, bygningsNr: bigint | null | undefined, constructionYear: bigint | null | undefined, energySourceCodes: string[] | null | undefined, energySources: string[] | null | undefined, floors: BuildingFloor[] | null | undefined, hasCulturalMemory: boolean | null | undefined, hasElevator: boolean | null | undefined, hasIncompleteArea: boolean | null | undefined, hasSEFRAK: boolean | null | undefined, heatingSourceCodes: string[] | null | undefined, heatingSources: string[] | null | undefined, historicId: bigint | null | undefined, housingUnitCount: bigint | null | undefined, id: bigint, isProtected?: boolean | null | undefined, kartverketId?: string | null | undefined, municipalityName?: string | null | undefined, municipalityNumber?: string | null | undefined, name?: string | null | undefined, nonResidentialSqm?: number | null | undefined, origin?: string | null | undefined, originCode?: string | null | undefined, residentialSqm?: number | null | undefined, sewer?: string | null | undefined, sewerCode?: string | null | undefined, waterSupply?: string | null | undefined, waterSupplyCode?: string | null | undefined);
23504
+ get alterations(): BuildingAlteration[] | null | undefined;
23467
23505
  get buildingChange(): string | null | undefined;
23468
23506
  get buildingChangeCode(): string | null | undefined;
23469
23507
  get buildingChangeCount(): bigint | null | undefined;
@@ -23508,6 +23546,42 @@ export declare namespace Building {
23508
23546
  const constructor: abstract new () => Building;
23509
23547
  }
23510
23548
  }
23549
+ export interface BuildingAlterationProps {
23550
+ alteration?: string | null | undefined;
23551
+ alterationCode?: string | null | undefined;
23552
+ buildingStatus?: string | null | undefined;
23553
+ buildingStatusCode?: string | null | undefined;
23554
+ builtUpAreaSqm?: number | null | undefined;
23555
+ constructionYear?: bigint | null | undefined;
23556
+ floorIdentities?: string[] | null | undefined;
23557
+ id: bigint;
23558
+ kartverketId: string;
23559
+ nonResidentialSqm?: number | null | undefined;
23560
+ residentialSqm?: number | null | undefined;
23561
+ sequenceNumber?: bigint | null | undefined;
23562
+ }
23563
+ export declare class BuildingAlteration {
23564
+ constructor(props: BuildingAlterationProps);
23565
+ constructor(alteration: string | null | undefined, alterationCode: string | null | undefined, buildingStatus: string | null | undefined, buildingStatusCode: string | null | undefined, builtUpAreaSqm: number | null | undefined, constructionYear: bigint | null | undefined, floorIdentities: string[] | null | undefined, id: bigint, kartverketId: string, nonResidentialSqm?: number | null | undefined, residentialSqm?: number | null | undefined, sequenceNumber?: bigint | null | undefined);
23566
+ get alteration(): string | null | undefined;
23567
+ get alterationCode(): string | null | undefined;
23568
+ get buildingStatus(): string | null | undefined;
23569
+ get buildingStatusCode(): string | null | undefined;
23570
+ get builtUpAreaSqm(): number | null | undefined;
23571
+ get constructionYear(): bigint | null | undefined;
23572
+ get floorIdentities(): string[] | null | undefined;
23573
+ get id(): bigint;
23574
+ get kartverketId(): string;
23575
+ get nonResidentialSqm(): number | null | undefined;
23576
+ get residentialSqm(): number | null | undefined;
23577
+ get sequenceNumber(): bigint | null | undefined;
23578
+ }
23579
+ export declare namespace BuildingAlteration {
23580
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
23581
+ namespace $metadata$ {
23582
+ const constructor: abstract new () => BuildingAlteration;
23583
+ }
23584
+ }
23511
23585
  export interface BuildingFloorProps {
23512
23586
  floorNumber?: bigint | null | undefined;
23513
23587
  floorTypeCode?: string | null | undefined;
@@ -1,43 +0,0 @@
1
- import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
2
- import { Application_getInstance3vhi2qmce4cj0 as Application_getInstance } from '../../../../../../ktor-ktor-http/io/ktor/http/ContentTypes.mjs';
3
- import { serialization1fpeds7cruos4 as serialization } from '../../../../../../ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs';
4
- import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
5
- import { Jsonsmkyu9xjl7fv as Json } from '../../../../../../kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs';
6
- //region block: imports
7
- //endregion
8
- //region block: pre-declaration
9
- //endregion
10
- function get_DefaultJson() {
11
- _init_properties_JsonSupport_kt__yf438r();
12
- return DefaultJson;
13
- }
14
- var DefaultJson;
15
- function json(_this__u8e3s4, json, contentType) {
16
- json = json === VOID ? get_DefaultJson() : json;
17
- contentType = contentType === VOID ? Application_getInstance().Json_1 : contentType;
18
- _init_properties_JsonSupport_kt__yf438r();
19
- serialization(_this__u8e3s4, contentType, json);
20
- }
21
- function DefaultJson$lambda($this$Json) {
22
- _init_properties_JsonSupport_kt__yf438r();
23
- $this$Json.encodeDefaults_1 = true;
24
- $this$Json.isLenient_1 = true;
25
- $this$Json.allowSpecialFloatingPointValues_1 = true;
26
- $this$Json.allowStructuredMapKeys_1 = true;
27
- $this$Json.prettyPrint_1 = false;
28
- $this$Json.useArrayPolymorphism_1 = false;
29
- return Unit_instance;
30
- }
31
- var properties_initialized_JsonSupport_kt_9cgd93;
32
- function _init_properties_JsonSupport_kt__yf438r() {
33
- if (!properties_initialized_JsonSupport_kt_9cgd93) {
34
- properties_initialized_JsonSupport_kt_9cgd93 = true;
35
- DefaultJson = Json(VOID, DefaultJson$lambda);
36
- }
37
- }
38
- //region block: exports
39
- export {
40
- json as jsonu6qnfo3b405p,
41
- };
42
- //endregion
43
-