@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.
- package/client/companies.d.mts +1 -1
- package/client-core.mjs +29 -0
- package/core.d.mts +1 -1
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequence.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +6 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerialFormat.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +1 -4
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/operations/companies.d.mts +1 -1
- package/package.json +1 -1
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +214 -200
- package/solibo-cycles/kotlin-kotlin-stdlib-12.mjs +3 -2
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +20 -43
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +1 -1
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.export.d.mts +3 -2
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.mjs +283 -246
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.d.mts +26 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.export.mjs +12 -0
- package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuildingAlteration.mjs +489 -0
- package/solibo-sdk-sdk-api-company.mjs +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/SdkJson.mjs +34 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.mjs +138 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.web.mjs +22 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/ApiClient.mjs +5 -12
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.mjs +291 -254
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.d.mts +27 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.mjs +12 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.mjs +512 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk-core.mjs +1 -0
- package/solibo-sdk-sdk.d.mts +76 -2
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +0 -43
|
@@ -619,6 +619,7 @@ import {
|
|
|
619
619
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass2
|
|
620
620
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
621
621
|
import { IntRange1cx8zvxgibbj2 as IntRange } from "../kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs";
|
|
622
|
+
import { Sequence1quqbxersk0bb as Sequence } from "../kotlin-kotlin-stdlib/kotlin/sequences/Sequence.mjs";
|
|
622
623
|
import { single3ds7xj9roxi5z as single_0 } from "../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs";
|
|
623
624
|
import { to2cs3ny02qtbcb as to } from "../kotlin-kotlin-stdlib/kotlin/Tuples.mjs";
|
|
624
625
|
import { CharIterator2h6gbyxoj1es2 as CharIterator } from "../kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs";
|
|
@@ -1338,7 +1339,7 @@ function DelimitedRangesSequence() {
|
|
|
1338
1339
|
this.limit_1 = limit;
|
|
1339
1340
|
this.getNextMatch_1 = getNextMatch;
|
|
1340
1341
|
};
|
|
1341
|
-
initMetadataForClass2($, "DelimitedRangesSequence");
|
|
1342
|
+
initMetadataForClass2($, "DelimitedRangesSequence", VOID3, VOID3, [Sequence()]);
|
|
1342
1343
|
protoOf2($).iterator_jk1svi_k$ = function() {
|
|
1343
1344
|
return new (DelimitedRangesSequence$iterator$1())(this);
|
|
1344
1345
|
};
|
|
@@ -1434,7 +1435,7 @@ function lineSequence$$inlined$Sequence$1() {
|
|
|
1434
1435
|
let $ = function($this_lineSequence) {
|
|
1435
1436
|
this.$this_lineSequence_1 = $this_lineSequence;
|
|
1436
1437
|
};
|
|
1437
|
-
initMetadataForClass2(
|
|
1438
|
+
initMetadataForClass2($, VOID3, VOID3, VOID3, [Sequence()]);
|
|
1438
1439
|
protoOf2($).iterator_jk1svi_k$ = function() {
|
|
1439
1440
|
return new (LinesIterator())(this.$this_lineSequence_1);
|
|
1440
1441
|
};
|
|
@@ -2749,7 +2749,7 @@ function ClauseData() {
|
|
|
2749
2749
|
this.indexInSegment_1 = -1;
|
|
2750
2750
|
};
|
|
2751
2751
|
initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
|
|
2752
|
-
protoOf17($).
|
|
2752
|
+
protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
|
|
2753
2753
|
this.regFunc_1(this.clauseObject_1, select, this.param_1);
|
|
2754
2754
|
return select.internalResult_1 === get_NO_RESULT();
|
|
2755
2755
|
};
|
|
@@ -3033,7 +3033,7 @@ function SelectImplementation() {
|
|
|
3033
3033
|
this.indexInSegment_1 = -1;
|
|
3034
3034
|
this.internalResult_1 = get_NO_RESULT();
|
|
3035
3035
|
};
|
|
3036
|
-
initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(),
|
|
3036
|
+
initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
|
|
3037
3037
|
protoOf17($).get_context_h02k06_k$ = function() {
|
|
3038
3038
|
return this.context_1;
|
|
3039
3039
|
};
|
|
@@ -3044,7 +3044,7 @@ function SelectImplementation() {
|
|
|
3044
3044
|
return tmp.doResume_5yljmg_k$();
|
|
3045
3045
|
};
|
|
3046
3046
|
protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
|
|
3047
|
-
return this.register$
|
|
3047
|
+
return this.register$default_acgh9r_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
|
|
3050
3050
|
if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
|
|
@@ -3052,7 +3052,7 @@ function SelectImplementation() {
|
|
|
3052
3052
|
if (!reregister) {
|
|
3053
3053
|
checkClauseObject(this, _this__u8e3s4.clauseObject_1);
|
|
3054
3054
|
}
|
|
3055
|
-
if (_this__u8e3s4.
|
|
3055
|
+
if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
|
|
3056
3056
|
if (!reregister) {
|
|
3057
3057
|
ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
|
|
3058
3058
|
}
|
|
@@ -3064,7 +3064,7 @@ function SelectImplementation() {
|
|
|
3064
3064
|
this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
|
|
3065
3065
|
}
|
|
3066
3066
|
};
|
|
3067
|
-
protoOf17($).register$
|
|
3067
|
+
protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
|
|
3068
3068
|
reregister = reregister === VOID18 ? false : reregister;
|
|
3069
3069
|
var tmp;
|
|
3070
3070
|
if ($super === VOID18) {
|
|
@@ -2474,7 +2474,7 @@ function BufferedChannel() {
|
|
|
2474
2474
|
this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
|
|
2475
2475
|
this.closeHandler_1 = atomic$ref$1(null);
|
|
2476
2476
|
};
|
|
2477
|
-
initMetadataForClass($, "BufferedChannel", VOID, VOID, [
|
|
2477
|
+
initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
|
|
2478
2478
|
protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
|
|
2479
2479
|
return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
|
|
2480
2480
|
};
|
|
@@ -148,11 +148,8 @@ import {
|
|
|
148
148
|
} from "../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs";
|
|
149
149
|
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from "../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs";
|
|
150
150
|
import { get_ContentNegotiationcp59ye9rorjc as get_ContentNegotiation } from "../ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs";
|
|
151
|
-
import {
|
|
152
|
-
|
|
153
|
-
Default_getInstancevb13yk0g3h3e as Default_getInstance
|
|
154
|
-
} from "../kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs";
|
|
155
|
-
import { jsonu6qnfo3b405p as json } from "../ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs";
|
|
151
|
+
import { get_sdkJsonn3cnvlthwtjo as get_sdkJson } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/SdkJson.mjs";
|
|
152
|
+
import { streamingJson1bcvc4ysdxzdg as streamingJson } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/StreamingJsonConverter.mjs";
|
|
156
153
|
import { HttpClient3584jcajl7sef as HttpClient } from "../ktor-ktor-client-core/io/ktor/client/HttpClient.web.mjs";
|
|
157
154
|
import { HttpClienthpouyso1j6ge as HttpClient_0 } from "../ktor-ktor-client-core/io/ktor/client/HttpClient.mjs";
|
|
158
155
|
import {
|
|
@@ -194,6 +191,7 @@ import { isCacheIssue1gjd9j9vgkhdx as isCacheIssue } from "../solibo-sdk-sdk-cor
|
|
|
194
191
|
import { Companion_getInstanceu2wrlss616lb as Companion_getInstance_0 } from "../ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs";
|
|
195
192
|
import { Application_getInstance3vhi2qmce4cj0 as Application_getInstance } from "../ktor-ktor-http/io/ktor/http/ContentTypes.mjs";
|
|
196
193
|
import { TextContent1rb6ftlpvl1d2 as TextContent } from "../ktor-ktor-http/io/ktor/http/content/TextContent.mjs";
|
|
194
|
+
import { Default_getInstancevb13yk0g3h3e as Default_getInstance } from "../kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs";
|
|
197
195
|
import {
|
|
198
196
|
JsonElementf07o4p6p57al as JsonElement,
|
|
199
197
|
get_jsonObject2u4z2ch1uuca9 as get_jsonObject,
|
|
@@ -790,14 +788,7 @@ function HomeApiBase$m2mClient$delegate$lambda$lambda($this$HttpClient) {
|
|
|
790
788
|
return Unit_instance;
|
|
791
789
|
}
|
|
792
790
|
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda($this$install) {
|
|
793
|
-
|
|
794
|
-
return Unit_instance;
|
|
795
|
-
}
|
|
796
|
-
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda$lambda($this$Json) {
|
|
797
|
-
$this$Json.ignoreUnknownKeys_1 = true;
|
|
798
|
-
$this$Json.encodeDefaults_1 = false;
|
|
799
|
-
$this$Json.explicitNulls_1 = false;
|
|
800
|
-
$this$Json.coerceInputValues_1 = true;
|
|
791
|
+
streamingJson($this$install, get_sdkJson());
|
|
801
792
|
return Unit_instance;
|
|
802
793
|
}
|
|
803
794
|
function HomeApiBase$m2mClient$delegate$lambda$lambda_0($this$HttpClient) {
|
|
@@ -806,14 +797,7 @@ function HomeApiBase$m2mClient$delegate$lambda$lambda_0($this$HttpClient) {
|
|
|
806
797
|
return Unit_instance;
|
|
807
798
|
}
|
|
808
799
|
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda_0($this$install) {
|
|
809
|
-
|
|
810
|
-
return Unit_instance;
|
|
811
|
-
}
|
|
812
|
-
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda$lambda_0($this$Json) {
|
|
813
|
-
$this$Json.ignoreUnknownKeys_1 = true;
|
|
814
|
-
$this$Json.encodeDefaults_1 = false;
|
|
815
|
-
$this$Json.explicitNulls_1 = false;
|
|
816
|
-
$this$Json.coerceInputValues_1 = true;
|
|
800
|
+
streamingJson($this$install, get_sdkJson());
|
|
817
801
|
return Unit_instance;
|
|
818
802
|
}
|
|
819
803
|
function HomeApiBase$m2mClient$delegate$lambda(this$0) {
|
|
@@ -850,14 +834,7 @@ function HomeApiBase$_get_authM2M_$ref_69s5d4() {
|
|
|
850
834
|
}, 1, 0, 107);
|
|
851
835
|
}
|
|
852
836
|
function HomeApiBase$clientConfigurator$lambda$lambda($this$install) {
|
|
853
|
-
|
|
854
|
-
return Unit_instance;
|
|
855
|
-
}
|
|
856
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$lambda($this$Json) {
|
|
857
|
-
$this$Json.ignoreUnknownKeys_1 = true;
|
|
858
|
-
$this$Json.encodeDefaults_1 = false;
|
|
859
|
-
$this$Json.explicitNulls_1 = false;
|
|
860
|
-
$this$Json.coerceInputValues_1 = true;
|
|
837
|
+
streamingJson($this$install, get_sdkJson());
|
|
861
838
|
return Unit_instance;
|
|
862
839
|
}
|
|
863
840
|
function HomeApiBase$clientConfigurator$lambda$lambda_0(this$0) {
|
|
@@ -998,7 +975,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_0(resultContinuati
|
|
|
998
975
|
return i.invoke_nc6r0k_k$($this$on, request, $completion);
|
|
999
976
|
}, 2);
|
|
1000
977
|
}
|
|
1001
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$
|
|
978
|
+
function HomeApiBase$clientConfigurator$lambda$lambda$lambda($this$retryOnExceptionIf, request, cause) {
|
|
1002
979
|
var tmp;
|
|
1003
980
|
var tmp_0;
|
|
1004
981
|
var tmp_1;
|
|
@@ -1058,7 +1035,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_0($this$retryOnExce
|
|
|
1058
1035
|
}
|
|
1059
1036
|
return tmp;
|
|
1060
1037
|
}
|
|
1061
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1038
|
+
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_0(this$0) {
|
|
1062
1039
|
return function($this$modifyRequest, request) {
|
|
1063
1040
|
var tmp;
|
|
1064
1041
|
var tmp_0;
|
|
@@ -1089,7 +1066,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_1(this$0) {
|
|
|
1089
1066
|
return Unit_instance;
|
|
1090
1067
|
};
|
|
1091
1068
|
}
|
|
1092
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1069
|
+
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_1($this$retryIf, request, response) {
|
|
1093
1070
|
var tmp;
|
|
1094
1071
|
var tmp_0;
|
|
1095
1072
|
var containsArg = response.get_status_jnf6d7_k$().value_1;
|
|
@@ -1108,9 +1085,9 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_2($this$retryIf, re
|
|
|
1108
1085
|
function HomeApiBase$clientConfigurator$lambda$lambda_3(this$0) {
|
|
1109
1086
|
return function($this$install) {
|
|
1110
1087
|
$this$install.maxRetries_1 = 5;
|
|
1111
|
-
$this$install.retryOnExceptionIf$default_s26x3m_k$(VOID2, HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1112
|
-
$this$install.modifyRequest_6qlpaw_k$(HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1113
|
-
$this$install.retryIf_sig7v0_k$(5, HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1088
|
+
$this$install.retryOnExceptionIf$default_s26x3m_k$(VOID2, HomeApiBase$clientConfigurator$lambda$lambda$lambda);
|
|
1089
|
+
$this$install.modifyRequest_6qlpaw_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda_0(this$0));
|
|
1090
|
+
$this$install.retryIf_sig7v0_k$(5, HomeApiBase$clientConfigurator$lambda$lambda$lambda_1);
|
|
1114
1091
|
$this$install.exponentialDelay$default_gkwfsg_k$();
|
|
1115
1092
|
return Unit_instance;
|
|
1116
1093
|
};
|
|
@@ -1251,10 +1228,10 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_2(resultContinuati
|
|
|
1251
1228
|
}
|
|
1252
1229
|
function HomeApiBase$clientConfigurator$lambda$lambda_6($this$install) {
|
|
1253
1230
|
$this$install.level_1 = LogLevel_NONE_getInstance();
|
|
1254
|
-
$this$install.sanitizeHeader$default_8x7pzj_k$(VOID2, HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1231
|
+
$this$install.sanitizeHeader$default_8x7pzj_k$(VOID2, HomeApiBase$clientConfigurator$lambda$lambda$lambda_2);
|
|
1255
1232
|
return Unit_instance;
|
|
1256
1233
|
}
|
|
1257
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1234
|
+
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_2(header2) {
|
|
1258
1235
|
return header2 === "Authorization";
|
|
1259
1236
|
}
|
|
1260
1237
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_1;
|
|
@@ -1731,7 +1708,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_2(this$0, r
|
|
|
1731
1708
|
return i.invoke_5ffmyk_k$($this$refreshTokens, $completion);
|
|
1732
1709
|
}, 1);
|
|
1733
1710
|
}
|
|
1734
|
-
function HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1711
|
+
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_3(this$0) {
|
|
1735
1712
|
return function($this$bearer) {
|
|
1736
1713
|
$this$bearer.loadTokens_z0xglj_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_0(this$0, null));
|
|
1737
1714
|
$this$bearer.refreshTokens_l9342v_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_2(this$0, null));
|
|
@@ -1740,7 +1717,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_4(this$0) {
|
|
|
1740
1717
|
}
|
|
1741
1718
|
function HomeApiBase$clientConfigurator$lambda$lambda_10(this$0) {
|
|
1742
1719
|
return function($this$install) {
|
|
1743
|
-
bearer($this$install, HomeApiBase$clientConfigurator$lambda$lambda$
|
|
1720
|
+
bearer($this$install, HomeApiBase$clientConfigurator$lambda$lambda$lambda_3(this$0));
|
|
1744
1721
|
return Unit_instance;
|
|
1745
1722
|
};
|
|
1746
1723
|
}
|
|
@@ -1855,8 +1832,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_12(this$0, $platformName)
|
|
|
1855
1832
|
}
|
|
1856
1833
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
1857
1834
|
header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
|
|
1858
|
-
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.
|
|
1859
|
-
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.
|
|
1835
|
+
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.44.0 (" + $platformName + ")");
|
|
1836
|
+
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.44.0");
|
|
1860
1837
|
return Unit_instance;
|
|
1861
1838
|
};
|
|
1862
1839
|
}
|
|
@@ -3303,8 +3280,8 @@ function HomeApiBase() {
|
|
|
3303
3280
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3304
3281
|
}
|
|
3305
3282
|
var payload = decodeToString(Default_getInstance_0().UrlSafe_1.decode$default_mne14l_k$(parts.get_c1px32_k$(1)));
|
|
3306
|
-
var
|
|
3307
|
-
var tmp0_safe_receiver = get_jsonObject(
|
|
3283
|
+
var json = Default_getInstance().parseToJsonElement_rqvr2k_k$(payload);
|
|
3284
|
+
var tmp0_safe_receiver = get_jsonObject(json).get_6bo4tg_k$("sub");
|
|
3308
3285
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3309
3286
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_content_h02jrk_k$();
|
|
3310
3287
|
var tmp_0;
|
|
@@ -1649,7 +1649,7 @@ function createMockBuildingFloor($this, id) {
|
|
|
1649
1649
|
return new (BuildingFloor())(2n, 'H', id, 'floor-' + id.toString());
|
|
1650
1650
|
}
|
|
1651
1651
|
function createMockBuilding($this, id) {
|
|
1652
|
-
return new (Building())(VOID, VOID, VOID, 'ACTIVE', 'ACTIVE', 'Apartment building', 'APT', 180.5, VOID, VOID, id, 1999n, VOID, VOID, listOf_0(createMockBuildingFloor($this, id)), VOID, true, VOID, VOID, VOID, VOID, VOID, 6n, id, VOID, 'building-' + id.toString(), 'Oslo', '0301', 'Mock Building ' + id.toString(), VOID, VOID, VOID, 160.0, VOID, VOID, 'Public', 'PUB');
|
|
1652
|
+
return new (Building())(VOID, VOID, VOID, VOID, 'ACTIVE', 'ACTIVE', 'Apartment building', 'APT', 180.5, VOID, VOID, id, 1999n, VOID, VOID, listOf_0(createMockBuildingFloor($this, id)), VOID, true, VOID, VOID, VOID, VOID, VOID, 6n, id, VOID, 'building-' + id.toString(), 'Oslo', '0301', 'Mock Building ' + id.toString(), VOID, VOID, VOID, 160.0, VOID, VOID, 'Public', 'PUB');
|
|
1653
1653
|
}
|
|
1654
1654
|
function createMockCompanyDetailed($this, company) {
|
|
1655
1655
|
var tmp0_id = company.id;
|
package/solibo-sdk-sdk-api-company/no/solibo/oss/sdk/api/gen/models/CreateBuilding.export.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class CreateBuilding {
|
|
4
|
-
constructor(buildingChange?: Nullable<string>, buildingChangeCode?: Nullable<string>, buildingChangeCount?: Nullable<bigint>, buildingStatus?: Nullable<string>, buildingStatusCode?: Nullable<string>, buildingType?: Nullable<string>, buildingTypeCode?: Nullable<string>, builtUpAreaSqm?: Nullable<number>, businessGroup?: Nullable<string>, businessGroupCode?: Nullable<string>, bygningsNr?: Nullable<bigint>, constructionYear?: Nullable<bigint>, energySourceCodes?: Nullable<KtList<string>>, energySources?: Nullable<KtList<string>>, floors?: Nullable<KtList<CreateBuildingFloor>>, hasCulturalMemory?: Nullable<boolean>, hasElevator?: Nullable<boolean>, hasIncompleteArea?: Nullable<boolean>, hasSEFRAK?: Nullable<boolean>, heatingSourceCodes?: Nullable<KtList<string>>, heatingSources?: Nullable<KtList<string>>, historicId?: Nullable<bigint>, housingUnitCount?: Nullable<bigint>, isProtected?: Nullable<boolean>, kartverketId?: Nullable<string>, municipalityName?: Nullable<string>, municipalityNumber?: Nullable<string>, name?: Nullable<string>, nonResidentialSqm?: Nullable<number>, origin?: Nullable<string>, originCode?: Nullable<string>, residentialSqm?: Nullable<number>, sewer?: Nullable<string>, sewerCode?: Nullable<string>, waterSupply?: Nullable<string>, waterSupplyCode?: Nullable<string>);
|
|
4
|
+
constructor(alterations?: Nullable<KtList<CreateBuildingAlteration>>, buildingChange?: Nullable<string>, buildingChangeCode?: Nullable<string>, buildingChangeCount?: Nullable<bigint>, buildingStatus?: Nullable<string>, buildingStatusCode?: Nullable<string>, buildingType?: Nullable<string>, buildingTypeCode?: Nullable<string>, builtUpAreaSqm?: Nullable<number>, businessGroup?: Nullable<string>, businessGroupCode?: Nullable<string>, bygningsNr?: Nullable<bigint>, constructionYear?: Nullable<bigint>, energySourceCodes?: Nullable<KtList<string>>, energySources?: Nullable<KtList<string>>, floors?: Nullable<KtList<CreateBuildingFloor>>, hasCulturalMemory?: Nullable<boolean>, hasElevator?: Nullable<boolean>, hasIncompleteArea?: Nullable<boolean>, hasSEFRAK?: Nullable<boolean>, heatingSourceCodes?: Nullable<KtList<string>>, heatingSources?: Nullable<KtList<string>>, historicId?: Nullable<bigint>, housingUnitCount?: Nullable<bigint>, isProtected?: Nullable<boolean>, kartverketId?: Nullable<string>, municipalityName?: Nullable<string>, municipalityNumber?: Nullable<string>, name?: Nullable<string>, nonResidentialSqm?: Nullable<number>, origin?: Nullable<string>, originCode?: Nullable<string>, residentialSqm?: Nullable<number>, sewer?: Nullable<string>, sewerCode?: Nullable<string>, waterSupply?: Nullable<string>, waterSupplyCode?: Nullable<string>);
|
|
5
|
+
get alterations(): Nullable<KtList<CreateBuildingAlteration>>;
|
|
5
6
|
get buildingChange(): Nullable<string>;
|
|
6
7
|
get buildingChangeCode(): Nullable<string>;
|
|
7
8
|
get buildingChangeCount(): Nullable<bigint>;
|
|
@@ -38,7 +39,7 @@ export declare class CreateBuilding {
|
|
|
38
39
|
get sewerCode(): Nullable<string>;
|
|
39
40
|
get waterSupply(): Nullable<string>;
|
|
40
41
|
get waterSupplyCode(): Nullable<string>;
|
|
41
|
-
copy(buildingChange?: Nullable<string>, buildingChangeCode?: Nullable<string>, buildingChangeCount?: Nullable<bigint>, buildingStatus?: Nullable<string>, buildingStatusCode?: Nullable<string>, buildingType?: Nullable<string>, buildingTypeCode?: Nullable<string>, builtUpAreaSqm?: Nullable<number>, businessGroup?: Nullable<string>, businessGroupCode?: Nullable<string>, bygningsNr?: Nullable<bigint>, constructionYear?: Nullable<bigint>, energySourceCodes?: Nullable<KtList<string>>, energySources?: Nullable<KtList<string>>, floors?: Nullable<KtList<CreateBuildingFloor>>, hasCulturalMemory?: Nullable<boolean>, hasElevator?: Nullable<boolean>, hasIncompleteArea?: Nullable<boolean>, hasSEFRAK?: Nullable<boolean>, heatingSourceCodes?: Nullable<KtList<string>>, heatingSources?: Nullable<KtList<string>>, historicId?: Nullable<bigint>, housingUnitCount?: Nullable<bigint>, isProtected?: Nullable<boolean>, kartverketId?: Nullable<string>, municipalityName?: Nullable<string>, municipalityNumber?: Nullable<string>, name?: Nullable<string>, nonResidentialSqm?: Nullable<number>, origin?: Nullable<string>, originCode?: Nullable<string>, residentialSqm?: Nullable<number>, sewer?: Nullable<string>, sewerCode?: Nullable<string>, waterSupply?: Nullable<string>, waterSupplyCode?: Nullable<string>): CreateBuilding;
|
|
42
|
+
copy(alterations?: Nullable<KtList<CreateBuildingAlteration>>, buildingChange?: Nullable<string>, buildingChangeCode?: Nullable<string>, buildingChangeCount?: Nullable<bigint>, buildingStatus?: Nullable<string>, buildingStatusCode?: Nullable<string>, buildingType?: Nullable<string>, buildingTypeCode?: Nullable<string>, builtUpAreaSqm?: Nullable<number>, businessGroup?: Nullable<string>, businessGroupCode?: Nullable<string>, bygningsNr?: Nullable<bigint>, constructionYear?: Nullable<bigint>, energySourceCodes?: Nullable<KtList<string>>, energySources?: Nullable<KtList<string>>, floors?: Nullable<KtList<CreateBuildingFloor>>, hasCulturalMemory?: Nullable<boolean>, hasElevator?: Nullable<boolean>, hasIncompleteArea?: Nullable<boolean>, hasSEFRAK?: Nullable<boolean>, heatingSourceCodes?: Nullable<KtList<string>>, heatingSources?: Nullable<KtList<string>>, historicId?: Nullable<bigint>, housingUnitCount?: Nullable<bigint>, isProtected?: Nullable<boolean>, kartverketId?: Nullable<string>, municipalityName?: Nullable<string>, municipalityNumber?: Nullable<string>, name?: Nullable<string>, nonResidentialSqm?: Nullable<number>, origin?: Nullable<string>, originCode?: Nullable<string>, residentialSqm?: Nullable<number>, sewer?: Nullable<string>, sewerCode?: Nullable<string>, waterSupply?: Nullable<string>, waterSupplyCode?: Nullable<string>): CreateBuilding;
|
|
42
43
|
toString(): string;
|
|
43
44
|
hashCode(): number;
|
|
44
45
|
equals(other: Nullable<any>): boolean;
|