@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
@@ -0,0 +1,27 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare class BuildingAlteration {
4
+ constructor(alteration: Nullable<string> | undefined, alterationCode: Nullable<string> | undefined, buildingStatus: Nullable<string> | undefined, buildingStatusCode: Nullable<string> | undefined, builtUpAreaSqm: Nullable<number> | undefined, constructionYear: Nullable<bigint> | undefined, floorIdentities: Nullable<KtList<string>> | undefined, id: bigint, kartverketId: string, nonResidentialSqm?: Nullable<number>, residentialSqm?: Nullable<number>, sequenceNumber?: Nullable<bigint>);
5
+ get alteration(): Nullable<string>;
6
+ get alterationCode(): Nullable<string>;
7
+ get buildingStatus(): Nullable<string>;
8
+ get buildingStatusCode(): Nullable<string>;
9
+ get builtUpAreaSqm(): Nullable<number>;
10
+ get constructionYear(): Nullable<bigint>;
11
+ get floorIdentities(): Nullable<KtList<string>>;
12
+ get id(): bigint;
13
+ get kartverketId(): string;
14
+ get nonResidentialSqm(): Nullable<number>;
15
+ get residentialSqm(): Nullable<number>;
16
+ get sequenceNumber(): Nullable<bigint>;
17
+ copy(alteration?: Nullable<string>, alterationCode?: Nullable<string>, buildingStatus?: Nullable<string>, buildingStatusCode?: Nullable<string>, builtUpAreaSqm?: Nullable<number>, constructionYear?: Nullable<bigint>, floorIdentities?: Nullable<KtList<string>>, id?: bigint, kartverketId?: string, nonResidentialSqm?: Nullable<number>, residentialSqm?: Nullable<number>, sequenceNumber?: Nullable<bigint>): BuildingAlteration;
18
+ toString(): string;
19
+ hashCode(): number;
20
+ equals(other: Nullable<any>): boolean;
21
+ }
22
+ export declare namespace BuildingAlteration {
23
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
24
+ namespace $metadata$ {
25
+ const constructor: abstract new () => BuildingAlteration;
26
+ }
27
+ }
@@ -0,0 +1,12 @@
1
+ import { BuildingAlteration1xv9k4h1p59kc as BuildingAlteration } from './BuildingAlteration.mjs';
2
+ //region block: imports
3
+ //endregion
4
+ //region block: pre-declaration
5
+ //endregion
6
+ //region block: exports
7
+ var BuildingAlteration_0 = BuildingAlteration();
8
+ export {
9
+ BuildingAlteration_0 as BuildingAlteration,
10
+ };
11
+ //endregion
12
+
@@ -0,0 +1,512 @@
1
+ import {
2
+ StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
3
+ DoubleSerializer_getInstance1tuvibnyg07o1 as DoubleSerializer_getInstance,
4
+ LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
5
+ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
6
+ import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs';
7
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
8
+ import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
9
+ import {
10
+ protoOf180f3jzyo7rfj as protoOf,
11
+ objectCreate1ve4bgxiu4x98 as objectCreate,
12
+ getStringHashCode26igk1bx568vk as getStringHashCode,
13
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
14
+ hashCodeq5arwsb9dgti as hashCode,
15
+ equals2au1ep9vhcato as equals,
16
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
17
+ import {
18
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
19
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
20
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
21
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
22
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
23
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
24
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
25
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
26
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
27
+ import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
28
+ import {
29
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
30
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
31
+ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
32
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
33
+ import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
34
+ import { getNumberHashCode2l4nbdcihl25f as getNumberHashCode } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs';
35
+ import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
36
+ import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
37
+ //region block: imports
38
+ var imul = Math.imul;
39
+ //endregion
40
+ //region block: pre-declaration
41
+ //endregion
42
+ function BuildingAlteration$Companion$$childSerializers$_anonymous__2eioqf() {
43
+ return new (ArrayListSerializer())(StringSerializer_getInstance());
44
+ }
45
+ var CompanionClass;
46
+ function Companion() {
47
+ if (CompanionClass === VOID) {
48
+ initMetadataForCompanion($);
49
+ function $() {
50
+ Companion_instance = this;
51
+ var tmp = this;
52
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
53
+ // Inline function 'kotlin.arrayOf' call
54
+ // Inline function 'kotlin.js.unsafeCast' call
55
+ // Inline function 'kotlin.js.asDynamic' call
56
+ tmp.$childSerializers_1 = [null, null, null, null, null, null, lazy(tmp_0, BuildingAlteration$Companion$$childSerializers$_anonymous__2eioqf), null, null, null, null, null];
57
+ }
58
+ CompanionClass = $;
59
+ }
60
+ return CompanionClass;
61
+ }
62
+ var Companion_instance;
63
+ function Companion_getInstance() {
64
+ if (Companion_instance == null)
65
+ new (Companion())();
66
+ return Companion_instance;
67
+ }
68
+ var $serializerClass;
69
+ function $serializer() {
70
+ if ($serializerClass === VOID) {
71
+ initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
72
+ function $() {
73
+ $serializer_instance = this;
74
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.BuildingAlteration', this, 12);
75
+ tmp0_serialDesc.addElement_5pzumi_k$('alteration', true);
76
+ tmp0_serialDesc.addElement_5pzumi_k$('alterationCode', true);
77
+ tmp0_serialDesc.addElement_5pzumi_k$('buildingStatus', true);
78
+ tmp0_serialDesc.addElement_5pzumi_k$('buildingStatusCode', true);
79
+ tmp0_serialDesc.addElement_5pzumi_k$('builtUpAreaSqm', true);
80
+ tmp0_serialDesc.addElement_5pzumi_k$('constructionYear', true);
81
+ tmp0_serialDesc.addElement_5pzumi_k$('floorIdentities', true);
82
+ tmp0_serialDesc.addElement_5pzumi_k$('id', false);
83
+ tmp0_serialDesc.addElement_5pzumi_k$('kartverketId', false);
84
+ tmp0_serialDesc.addElement_5pzumi_k$('nonResidentialSqm', true);
85
+ tmp0_serialDesc.addElement_5pzumi_k$('residentialSqm', true);
86
+ tmp0_serialDesc.addElement_5pzumi_k$('sequenceNumber', true);
87
+ this.descriptor_1 = tmp0_serialDesc;
88
+ }
89
+ protoOf($).serialize_4av6cx_k$ = function (encoder, value) {
90
+ var tmp0_desc = this.descriptor_1;
91
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
92
+ var tmp2_cached = Companion_getInstance().$childSerializers_1;
93
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.alteration == null)) {
94
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance(), value.alteration);
95
+ }
96
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.alterationCode == null)) {
97
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.alterationCode);
98
+ }
99
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.buildingStatus == null)) {
100
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.buildingStatus);
101
+ }
102
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.buildingStatusCode == null)) {
103
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.buildingStatusCode);
104
+ }
105
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.builtUpAreaSqm == null)) {
106
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, DoubleSerializer_getInstance(), value.builtUpAreaSqm);
107
+ }
108
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.constructionYear == null)) {
109
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.constructionYear);
110
+ }
111
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.floorIdentities == null)) {
112
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.floorIdentities);
113
+ }
114
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 7, value.id);
115
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.kartverketId);
116
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.nonResidentialSqm == null)) {
117
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, DoubleSerializer_getInstance(), value.nonResidentialSqm);
118
+ }
119
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.residentialSqm == null)) {
120
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, DoubleSerializer_getInstance(), value.residentialSqm);
121
+ }
122
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.sequenceNumber == null)) {
123
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, LongSerializer_getInstance(), value.sequenceNumber);
124
+ }
125
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
126
+ };
127
+ protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
128
+ return this.serialize_4av6cx_k$(encoder, value instanceof BuildingAlteration() ? value : THROW_CCE());
129
+ };
130
+ protoOf($).deserialize_sy6x50_k$ = function (decoder) {
131
+ var tmp0_desc = this.descriptor_1;
132
+ var tmp1_flag = true;
133
+ var tmp2_index = 0;
134
+ var tmp3_bitMask0 = 0;
135
+ var tmp4_local0 = null;
136
+ var tmp5_local1 = null;
137
+ var tmp6_local2 = null;
138
+ var tmp7_local3 = null;
139
+ var tmp8_local4 = null;
140
+ var tmp9_local5 = null;
141
+ var tmp10_local6 = null;
142
+ var tmp11_local7 = 0n;
143
+ var tmp12_local8 = null;
144
+ var tmp13_local9 = null;
145
+ var tmp14_local10 = null;
146
+ var tmp15_local11 = null;
147
+ var tmp16_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
148
+ var tmp17_cached = Companion_getInstance().$childSerializers_1;
149
+ if (tmp16_input.decodeSequentially_xlblqy_k$()) {
150
+ tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
151
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
152
+ tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
153
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
154
+ tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
155
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
156
+ tmp7_local3 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
157
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
158
+ tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, DoubleSerializer_getInstance(), tmp8_local4);
159
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
160
+ tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
161
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
162
+ tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp17_cached[6].get_value_j01efc_k$(), tmp10_local6);
163
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
164
+ tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
165
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
166
+ tmp12_local8 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
167
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
168
+ tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, DoubleSerializer_getInstance(), tmp13_local9);
169
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
170
+ tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, DoubleSerializer_getInstance(), tmp14_local10);
171
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
172
+ tmp15_local11 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp15_local11);
173
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
174
+ } else
175
+ while (tmp1_flag) {
176
+ tmp2_index = tmp16_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
177
+ switch (tmp2_index) {
178
+ case -1:
179
+ tmp1_flag = false;
180
+ break;
181
+ case 0:
182
+ tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
183
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
184
+ break;
185
+ case 1:
186
+ tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
187
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
188
+ break;
189
+ case 2:
190
+ tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
191
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
192
+ break;
193
+ case 3:
194
+ tmp7_local3 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
195
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
196
+ break;
197
+ case 4:
198
+ tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, DoubleSerializer_getInstance(), tmp8_local4);
199
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
200
+ break;
201
+ case 5:
202
+ tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
203
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
204
+ break;
205
+ case 6:
206
+ tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp17_cached[6].get_value_j01efc_k$(), tmp10_local6);
207
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
208
+ break;
209
+ case 7:
210
+ tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
211
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
212
+ break;
213
+ case 8:
214
+ tmp12_local8 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
215
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
216
+ break;
217
+ case 9:
218
+ tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, DoubleSerializer_getInstance(), tmp13_local9);
219
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
220
+ break;
221
+ case 10:
222
+ tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, DoubleSerializer_getInstance(), tmp14_local10);
223
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
224
+ break;
225
+ case 11:
226
+ tmp15_local11 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp15_local11);
227
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
228
+ break;
229
+ default:
230
+ throw UnknownFieldException_init_$Create$(tmp2_index);
231
+ }
232
+ }
233
+ tmp16_input.endStructure_1xqz0n_k$(tmp0_desc);
234
+ return BuildingAlteration_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, null);
235
+ };
236
+ protoOf($).get_descriptor_wjt6a0_k$ = function () {
237
+ return this.descriptor_1;
238
+ };
239
+ protoOf($).childSerializers_5ghqw5_k$ = function () {
240
+ var tmp0_cached = Companion_getInstance().$childSerializers_1;
241
+ // Inline function 'kotlin.arrayOf' call
242
+ // Inline function 'kotlin.js.unsafeCast' call
243
+ // Inline function 'kotlin.js.asDynamic' call
244
+ return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[6].get_value_j01efc_k$()), LongSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(DoubleSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(LongSerializer_getInstance())];
245
+ };
246
+ protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
247
+ $serializerClass = $;
248
+ }
249
+ return $serializerClass;
250
+ }
251
+ var $serializer_instance;
252
+ function $serializer_getInstance() {
253
+ if ($serializer_instance == null)
254
+ new ($serializer())();
255
+ return $serializer_instance;
256
+ }
257
+ function BuildingAlteration_init_$Init$(seen0, alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber, serializationConstructorMarker, $this) {
258
+ if (!(384 === (384 & seen0))) {
259
+ throwMissingFieldException(seen0, 384, $serializer_getInstance().descriptor_1);
260
+ }
261
+ if (0 === (seen0 & 1))
262
+ $this.alteration = null;
263
+ else
264
+ $this.alteration = alteration;
265
+ if (0 === (seen0 & 2))
266
+ $this.alterationCode = null;
267
+ else
268
+ $this.alterationCode = alterationCode;
269
+ if (0 === (seen0 & 4))
270
+ $this.buildingStatus = null;
271
+ else
272
+ $this.buildingStatus = buildingStatus;
273
+ if (0 === (seen0 & 8))
274
+ $this.buildingStatusCode = null;
275
+ else
276
+ $this.buildingStatusCode = buildingStatusCode;
277
+ if (0 === (seen0 & 16))
278
+ $this.builtUpAreaSqm = null;
279
+ else
280
+ $this.builtUpAreaSqm = builtUpAreaSqm;
281
+ if (0 === (seen0 & 32))
282
+ $this.constructionYear = null;
283
+ else
284
+ $this.constructionYear = constructionYear;
285
+ if (0 === (seen0 & 64))
286
+ $this.floorIdentities = null;
287
+ else
288
+ $this.floorIdentities = floorIdentities;
289
+ $this.id = id;
290
+ $this.kartverketId = kartverketId;
291
+ if (0 === (seen0 & 512))
292
+ $this.nonResidentialSqm = null;
293
+ else
294
+ $this.nonResidentialSqm = nonResidentialSqm;
295
+ if (0 === (seen0 & 1024))
296
+ $this.residentialSqm = null;
297
+ else
298
+ $this.residentialSqm = residentialSqm;
299
+ if (0 === (seen0 & 2048))
300
+ $this.sequenceNumber = null;
301
+ else
302
+ $this.sequenceNumber = sequenceNumber;
303
+ return $this;
304
+ }
305
+ function BuildingAlteration_init_$Create$(seen0, alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber, serializationConstructorMarker) {
306
+ return BuildingAlteration_init_$Init$(seen0, alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber, serializationConstructorMarker, objectCreate(protoOf(BuildingAlteration())));
307
+ }
308
+ var BuildingAlterationClass;
309
+ function BuildingAlteration() {
310
+ if (BuildingAlterationClass === VOID) {
311
+ initMetadataForClass($, 'BuildingAlteration', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
312
+ function $(alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber) {
313
+ var __soliboProps = arguments.length === 1 && typeof alteration === 'object' && alteration !== null && alteration.constructor === Object;
314
+ var __soliboTmp, __soliboConverted = false;
315
+ if (__soliboProps) {
316
+ const props = alteration;
317
+ alteration = ('alteration' in props ? props.alteration : VOID);
318
+ alterationCode = ('alterationCode' in props ? props.alterationCode : VOID);
319
+ buildingStatus = ('buildingStatus' in props ? props.buildingStatus : VOID);
320
+ buildingStatusCode = ('buildingStatusCode' in props ? props.buildingStatusCode : VOID);
321
+ builtUpAreaSqm = ('builtUpAreaSqm' in props ? props.builtUpAreaSqm : VOID);
322
+ constructionYear = ('constructionYear' in props ? props.constructionYear : VOID);
323
+ floorIdentities = ('floorIdentities' in props ? props.floorIdentities : VOID);
324
+ id = ('id' in props ? props.id : VOID);
325
+ kartverketId = ('kartverketId' in props ? props.kartverketId : VOID);
326
+ nonResidentialSqm = ('nonResidentialSqm' in props ? props.nonResidentialSqm : VOID);
327
+ residentialSqm = ('residentialSqm' in props ? props.residentialSqm : VOID);
328
+ sequenceNumber = ('sequenceNumber' in props ? props.sequenceNumber : VOID);
329
+ }
330
+ if ((__soliboTmp = __soliboToKt(constructionYear, ["bigint"])) !== constructionYear) { constructionYear = __soliboTmp; __soliboConverted = true; }
331
+ if ((__soliboTmp = __soliboToKt(floorIdentities, ["list",null])) !== floorIdentities) { floorIdentities = __soliboTmp; __soliboConverted = true; }
332
+ if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
333
+ if ((__soliboTmp = __soliboToKt(sequenceNumber, ["bigint"])) !== sequenceNumber) { sequenceNumber = __soliboTmp; __soliboConverted = true; }
334
+ Companion_getInstance();
335
+ alteration = alteration === VOID ? null : alteration;
336
+ alterationCode = alterationCode === VOID ? null : alterationCode;
337
+ buildingStatus = buildingStatus === VOID ? null : buildingStatus;
338
+ buildingStatusCode = buildingStatusCode === VOID ? null : buildingStatusCode;
339
+ builtUpAreaSqm = builtUpAreaSqm === VOID ? null : builtUpAreaSqm;
340
+ constructionYear = constructionYear === VOID ? null : constructionYear;
341
+ floorIdentities = floorIdentities === VOID ? null : floorIdentities;
342
+ nonResidentialSqm = nonResidentialSqm === VOID ? null : nonResidentialSqm;
343
+ residentialSqm = residentialSqm === VOID ? null : residentialSqm;
344
+ sequenceNumber = sequenceNumber === VOID ? null : sequenceNumber;
345
+ this.alteration = alteration;
346
+ this.alterationCode = alterationCode;
347
+ this.buildingStatus = buildingStatus;
348
+ this.buildingStatusCode = buildingStatusCode;
349
+ this.builtUpAreaSqm = builtUpAreaSqm;
350
+ this.constructionYear = constructionYear;
351
+ this.floorIdentities = floorIdentities;
352
+ this.id = id;
353
+ this.kartverketId = kartverketId;
354
+ this.nonResidentialSqm = nonResidentialSqm;
355
+ this.residentialSqm = residentialSqm;
356
+ this.sequenceNumber = sequenceNumber;
357
+ if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
358
+ }
359
+ protoOf($).get_alteration_vxaaxk_k$ = function () {
360
+ return this.alteration;
361
+ };
362
+ protoOf($).get_alterationCode_sah1dh_k$ = function () {
363
+ return this.alterationCode;
364
+ };
365
+ protoOf($).get_buildingStatus_p1xicx_k$ = function () {
366
+ return this.buildingStatus;
367
+ };
368
+ protoOf($).get_buildingStatusCode_kubhyc_k$ = function () {
369
+ return this.buildingStatusCode;
370
+ };
371
+ protoOf($).get_builtUpAreaSqm_z4mb6a_k$ = function () {
372
+ return this.builtUpAreaSqm;
373
+ };
374
+ protoOf($).get_constructionYear_2obz3r_k$ = function () {
375
+ return this.constructionYear;
376
+ };
377
+ protoOf($).get_floorIdentities_emtxb5_k$ = function () {
378
+ return this.floorIdentities;
379
+ };
380
+ protoOf($).get_id_kntnx8_k$ = function () {
381
+ return this.id;
382
+ };
383
+ protoOf($).get_kartverketId_e7pfw3_k$ = function () {
384
+ return this.kartverketId;
385
+ };
386
+ protoOf($).get_nonResidentialSqm_7r11e9_k$ = function () {
387
+ return this.nonResidentialSqm;
388
+ };
389
+ protoOf($).get_residentialSqm_5c25e4_k$ = function () {
390
+ return this.residentialSqm;
391
+ };
392
+ protoOf($).get_sequenceNumber_ayu2k3_k$ = function () {
393
+ return this.sequenceNumber;
394
+ };
395
+ protoOf($).component1_7eebsc_k$ = function () {
396
+ return this.alteration;
397
+ };
398
+ protoOf($).component2_7eebsb_k$ = function () {
399
+ return this.alterationCode;
400
+ };
401
+ protoOf($).component3_7eebsa_k$ = function () {
402
+ return this.buildingStatus;
403
+ };
404
+ protoOf($).component4_7eebs9_k$ = function () {
405
+ return this.buildingStatusCode;
406
+ };
407
+ protoOf($).component5_7eebs8_k$ = function () {
408
+ return this.builtUpAreaSqm;
409
+ };
410
+ protoOf($).component6_7eebs7_k$ = function () {
411
+ return this.constructionYear;
412
+ };
413
+ protoOf($).component7_7eebs6_k$ = function () {
414
+ return this.floorIdentities;
415
+ };
416
+ protoOf($).component8_7eebs5_k$ = function () {
417
+ return this.id;
418
+ };
419
+ protoOf($).component9_7eebs4_k$ = function () {
420
+ return this.kartverketId;
421
+ };
422
+ protoOf($).component10_gazzfo_k$ = function () {
423
+ return this.nonResidentialSqm;
424
+ };
425
+ protoOf($).component11_gazzfn_k$ = function () {
426
+ return this.residentialSqm;
427
+ };
428
+ protoOf($).component12_gazzfm_k$ = function () {
429
+ return this.sequenceNumber;
430
+ };
431
+ protoOf($).copy_tsdykx_k$ = function (alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber) {
432
+ return new (BuildingAlteration())(alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber);
433
+ };
434
+ protoOf($).copy = function (alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber, $super) {
435
+ alteration = alteration === VOID ? this.alteration : alteration;
436
+ alterationCode = alterationCode === VOID ? this.alterationCode : alterationCode;
437
+ buildingStatus = buildingStatus === VOID ? this.buildingStatus : buildingStatus;
438
+ buildingStatusCode = buildingStatusCode === VOID ? this.buildingStatusCode : buildingStatusCode;
439
+ builtUpAreaSqm = builtUpAreaSqm === VOID ? this.builtUpAreaSqm : builtUpAreaSqm;
440
+ constructionYear = constructionYear === VOID ? this.constructionYear : constructionYear;
441
+ floorIdentities = floorIdentities === VOID ? this.floorIdentities : floorIdentities;
442
+ id = id === VOID ? this.id : id;
443
+ kartverketId = kartverketId === VOID ? this.kartverketId : kartverketId;
444
+ nonResidentialSqm = nonResidentialSqm === VOID ? this.nonResidentialSqm : nonResidentialSqm;
445
+ residentialSqm = residentialSqm === VOID ? this.residentialSqm : residentialSqm;
446
+ sequenceNumber = sequenceNumber === VOID ? this.sequenceNumber : sequenceNumber;
447
+ return $super === VOID ? this.copy_tsdykx_k$(alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber) : $super.copy_tsdykx_k$.call(this, alteration, alterationCode, buildingStatus, buildingStatusCode, builtUpAreaSqm, constructionYear, floorIdentities, id, kartverketId, nonResidentialSqm, residentialSqm, sequenceNumber);
448
+ };
449
+ protoOf($).toString = function () {
450
+ return 'BuildingAlteration(alteration=' + this.alteration + ', alterationCode=' + this.alterationCode + ', buildingStatus=' + this.buildingStatus + ', buildingStatusCode=' + this.buildingStatusCode + ', builtUpAreaSqm=' + this.builtUpAreaSqm + ', constructionYear=' + toString(this.constructionYear) + ', floorIdentities=' + toString(this.floorIdentities) + ', id=' + this.id.toString() + ', kartverketId=' + this.kartverketId + ', nonResidentialSqm=' + this.nonResidentialSqm + ', residentialSqm=' + this.residentialSqm + ', sequenceNumber=' + toString(this.sequenceNumber) + ')';
451
+ };
452
+ protoOf($).hashCode = function () {
453
+ var result = this.alteration == null ? 0 : getStringHashCode(this.alteration);
454
+ result = imul(result, 31) + (this.alterationCode == null ? 0 : getStringHashCode(this.alterationCode)) | 0;
455
+ result = imul(result, 31) + (this.buildingStatus == null ? 0 : getStringHashCode(this.buildingStatus)) | 0;
456
+ result = imul(result, 31) + (this.buildingStatusCode == null ? 0 : getStringHashCode(this.buildingStatusCode)) | 0;
457
+ result = imul(result, 31) + (this.builtUpAreaSqm == null ? 0 : getNumberHashCode(this.builtUpAreaSqm)) | 0;
458
+ result = imul(result, 31) + (this.constructionYear == null ? 0 : getBigIntHashCode(this.constructionYear)) | 0;
459
+ result = imul(result, 31) + (this.floorIdentities == null ? 0 : hashCode(this.floorIdentities)) | 0;
460
+ result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
461
+ result = imul(result, 31) + getStringHashCode(this.kartverketId) | 0;
462
+ result = imul(result, 31) + (this.nonResidentialSqm == null ? 0 : getNumberHashCode(this.nonResidentialSqm)) | 0;
463
+ result = imul(result, 31) + (this.residentialSqm == null ? 0 : getNumberHashCode(this.residentialSqm)) | 0;
464
+ result = imul(result, 31) + (this.sequenceNumber == null ? 0 : getBigIntHashCode(this.sequenceNumber)) | 0;
465
+ return result;
466
+ };
467
+ protoOf($).equals = function (other) {
468
+ if (this === other)
469
+ return true;
470
+ if (!(other instanceof BuildingAlteration()))
471
+ return false;
472
+ if (!(this.alteration == other.alteration))
473
+ return false;
474
+ if (!(this.alterationCode == other.alterationCode))
475
+ return false;
476
+ if (!(this.buildingStatus == other.buildingStatus))
477
+ return false;
478
+ if (!(this.buildingStatusCode == other.buildingStatusCode))
479
+ return false;
480
+ if (!equals(this.builtUpAreaSqm, other.builtUpAreaSqm))
481
+ return false;
482
+ if (!(this.constructionYear == other.constructionYear))
483
+ return false;
484
+ if (!equals(this.floorIdentities, other.floorIdentities))
485
+ return false;
486
+ if (!(this.id === other.id))
487
+ return false;
488
+ if (!(this.kartverketId === other.kartverketId))
489
+ return false;
490
+ if (!equals(this.nonResidentialSqm, other.nonResidentialSqm))
491
+ return false;
492
+ if (!equals(this.residentialSqm, other.residentialSqm))
493
+ return false;
494
+ if (!(this.sequenceNumber == other.sequenceNumber))
495
+ return false;
496
+ return true;
497
+ };
498
+ /* Solibo boundary patches */
499
+ Object.defineProperty($, 'name', { value: "BuildingAlteration", configurable: true });
500
+ __soliboRegisterOwnFields($, {"floorIdentities":["list",null]});
501
+ __soliboRegisterLookup("BuildingAlteration", () => $);
502
+ BuildingAlterationClass = $;
503
+ }
504
+ return BuildingAlterationClass;
505
+ }
506
+ //region block: exports
507
+ export {
508
+ $serializer_getInstance as $serializer_getInstance3lm0zem90tfji,
509
+ BuildingAlteration as BuildingAlteration1xv9k4h1p59kc,
510
+ };
511
+ //endregion
512
+
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.43.1');
31
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.44.0');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -35,6 +35,7 @@ export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Authorizat
35
35
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BankAccountStatement.export.mjs';
36
36
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BoardParticipant.export.mjs';
37
37
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Building.export.mjs';
38
+ export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingAlteration.export.mjs';
38
39
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BuildingFloor.export.mjs';
39
40
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.export.mjs';
40
41
  export * from './solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.export.mjs';