@solibo/solibo-sdk 1.28.5 → 1.28.6
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/client.mjs +2 -0
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +139 -82
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +6 -2
- package/solibo-sdk-sdk.mjs +3 -3
package/ktor-ktor-utils.mjs
CHANGED
|
@@ -3256,7 +3256,7 @@ protoOf(PhaseContent).addInterceptor_jvll3j_k$ = function (interceptor) {
|
|
|
3256
3256
|
}
|
|
3257
3257
|
this.interceptors_1.add_utx5q5_k$(interceptor);
|
|
3258
3258
|
};
|
|
3259
|
-
protoOf(PhaseContent).
|
|
3259
|
+
protoOf(PhaseContent).addTo_h97ksk_k$ = function (destination) {
|
|
3260
3260
|
var interceptors = this.interceptors_1;
|
|
3261
3261
|
if (destination instanceof ArrayList) {
|
|
3262
3262
|
destination.ensureCapacity_wr7980_k$(destination.get_size_woubt6_k$() + interceptors.get_size_woubt6_k$() | 0);
|
|
@@ -3429,7 +3429,7 @@ function cacheInterceptors($this) {
|
|
|
3429
3429
|
tmp_2 = tmp1_elvis_lhs;
|
|
3430
3430
|
}
|
|
3431
3431
|
var phase = tmp_2;
|
|
3432
|
-
phase.
|
|
3432
|
+
phase.addTo_h97ksk_k$(destination);
|
|
3433
3433
|
}
|
|
3434
3434
|
while (!(phaseIndex_0 === last_0));
|
|
3435
3435
|
notSharedInterceptorsList($this, destination);
|
package/ktor-ktor-websockets.mjs
CHANGED
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
_ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
|
|
81
81
|
close$default2suggcywjwe8g as close$default,
|
|
82
82
|
cancel$default3v09jht7i082i as cancel$default,
|
|
83
|
-
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
84
83
|
SendChannel38sllbxw662ws as SendChannel,
|
|
84
|
+
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
85
85
|
} from './kotlinx-coroutines-core.mjs';
|
|
86
86
|
import {
|
|
87
87
|
get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
|
|
@@ -146,7 +146,7 @@ initMetadataForCompanion(Companion_4);
|
|
|
146
146
|
initMetadataForClass(ChannelConfig, 'ChannelConfig');
|
|
147
147
|
initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
|
|
148
148
|
initMetadataForCompanion(Companion_5);
|
|
149
|
-
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [
|
|
149
|
+
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
|
|
150
150
|
initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
|
|
151
151
|
initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
|
|
152
152
|
initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
|
package/package.json
CHANGED
|
@@ -49,7 +49,6 @@ import {
|
|
|
49
49
|
KtMap140uvy3s5zad8 as KtMap,
|
|
50
50
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
51
51
|
ArrayList_init_$Create$a978fvbbts3d as ArrayList_init_$Create$,
|
|
52
|
-
ArrayList3it5z8td81qkl as ArrayList_BridgeFix,
|
|
53
52
|
lazy2hsh8ze7j6ikd as lazy_0,
|
|
54
53
|
KProperty1ca4yb4wlo496 as KProperty1,
|
|
55
54
|
getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
|
|
@@ -123548,7 +123547,7 @@ function Companion_517() {
|
|
|
123548
123547
|
// Inline function 'kotlin.arrayOf' call
|
|
123549
123548
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
123550
123549
|
// Inline function 'kotlin.js.asDynamic' call
|
|
123551
|
-
tmp.$childSerializers_1 = [null, null, tmp_1, tmp_3, tmp_5, tmp_7, null, tmp_9, lazy(tmp_10, OwnerChangeSectionCommand$Companion$$childSerializers$_anonymous__ydepb5_4), null, null];
|
|
123550
|
+
tmp.$childSerializers_1 = [null, null, tmp_1, tmp_3, tmp_5, tmp_7, null, tmp_9, lazy(tmp_10, OwnerChangeSectionCommand$Companion$$childSerializers$_anonymous__ydepb5_4), null, null, null];
|
|
123552
123551
|
}
|
|
123553
123552
|
var Companion_instance_518;
|
|
123554
123553
|
function Companion_getInstance_520() {
|
|
@@ -123558,7 +123557,7 @@ function Companion_getInstance_520() {
|
|
|
123558
123557
|
}
|
|
123559
123558
|
function $serializer_434() {
|
|
123560
123559
|
$serializer_instance_434 = this;
|
|
123561
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.OwnerChangeSectionCommand', this,
|
|
123560
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.OwnerChangeSectionCommand', this, 12);
|
|
123562
123561
|
tmp0_serialDesc.addElement_5pzumi_k$('amount', true);
|
|
123563
123562
|
tmp0_serialDesc.addElement_5pzumi_k$('at', false);
|
|
123564
123563
|
tmp0_serialDesc.addElement_5pzumi_k$('inIds', true);
|
|
@@ -123568,6 +123567,7 @@ function $serializer_434() {
|
|
|
123568
123567
|
tmp0_serialDesc.addElement_5pzumi_k$('note', true);
|
|
123569
123568
|
tmp0_serialDesc.addElement_5pzumi_k$('outIds', true);
|
|
123570
123569
|
tmp0_serialDesc.addElement_5pzumi_k$('outOrgs', true);
|
|
123570
|
+
tmp0_serialDesc.addElement_5pzumi_k$('price', true);
|
|
123571
123571
|
tmp0_serialDesc.addElement_5pzumi_k$('removeContactPersons', true);
|
|
123572
123572
|
tmp0_serialDesc.addElement_5pzumi_k$('sendNotification', true);
|
|
123573
123573
|
this.descriptor_1 = tmp0_serialDesc;
|
|
@@ -123601,11 +123601,14 @@ protoOf($serializer_434).serialize_sp6aop_k$ = function (encoder, value) {
|
|
|
123601
123601
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.outOrgs == null)) {
|
|
123602
123602
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.outOrgs);
|
|
123603
123603
|
}
|
|
123604
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.
|
|
123605
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9,
|
|
123604
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.price == null)) {
|
|
123605
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, LongSerializer_getInstance(), value.price);
|
|
123606
123606
|
}
|
|
123607
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.
|
|
123608
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
123607
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.removeContactPersons == null)) {
|
|
123608
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), value.removeContactPersons);
|
|
123609
|
+
}
|
|
123610
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.sendNotification == null)) {
|
|
123611
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), value.sendNotification);
|
|
123609
123612
|
}
|
|
123610
123613
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
123611
123614
|
};
|
|
@@ -123628,88 +123631,95 @@ protoOf($serializer_434).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
123628
123631
|
var tmp12_local8 = null;
|
|
123629
123632
|
var tmp13_local9 = null;
|
|
123630
123633
|
var tmp14_local10 = null;
|
|
123631
|
-
var
|
|
123632
|
-
var
|
|
123633
|
-
|
|
123634
|
-
|
|
123634
|
+
var tmp15_local11 = null;
|
|
123635
|
+
var tmp16_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
123636
|
+
var tmp17_cached = Companion_getInstance_520().$childSerializers_1;
|
|
123637
|
+
if (tmp16_input.decodeSequentially_xlblqy_k$()) {
|
|
123638
|
+
tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
123635
123639
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
123636
|
-
tmp5_local1 =
|
|
123640
|
+
tmp5_local1 = tmp16_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
123637
123641
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
123638
|
-
tmp6_local2 =
|
|
123642
|
+
tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp17_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
123639
123643
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
123640
|
-
tmp7_local3 =
|
|
123644
|
+
tmp7_local3 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp17_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
123641
123645
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
123642
|
-
tmp8_local4 =
|
|
123646
|
+
tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp17_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
123643
123647
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
123644
|
-
tmp9_local5 =
|
|
123648
|
+
tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp17_cached[5].get_value_j01efc_k$(), tmp9_local5);
|
|
123645
123649
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
123646
|
-
tmp10_local6 =
|
|
123650
|
+
tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
123647
123651
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
123648
|
-
tmp11_local7 =
|
|
123652
|
+
tmp11_local7 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp17_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
123649
123653
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
123650
|
-
tmp12_local8 =
|
|
123654
|
+
tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp17_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
123651
123655
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
123652
|
-
tmp13_local9 =
|
|
123656
|
+
tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, LongSerializer_getInstance(), tmp13_local9);
|
|
123653
123657
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
123654
|
-
tmp14_local10 =
|
|
123658
|
+
tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
123655
123659
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
123660
|
+
tmp15_local11 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
123661
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
123656
123662
|
} else
|
|
123657
123663
|
while (tmp1_flag) {
|
|
123658
|
-
tmp2_index =
|
|
123664
|
+
tmp2_index = tmp16_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
123659
123665
|
switch (tmp2_index) {
|
|
123660
123666
|
case -1:
|
|
123661
123667
|
tmp1_flag = false;
|
|
123662
123668
|
break;
|
|
123663
123669
|
case 0:
|
|
123664
|
-
tmp4_local0 =
|
|
123670
|
+
tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
123665
123671
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
123666
123672
|
break;
|
|
123667
123673
|
case 1:
|
|
123668
|
-
tmp5_local1 =
|
|
123674
|
+
tmp5_local1 = tmp16_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
123669
123675
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
123670
123676
|
break;
|
|
123671
123677
|
case 2:
|
|
123672
|
-
tmp6_local2 =
|
|
123678
|
+
tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp17_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
123673
123679
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
123674
123680
|
break;
|
|
123675
123681
|
case 3:
|
|
123676
|
-
tmp7_local3 =
|
|
123682
|
+
tmp7_local3 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp17_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
123677
123683
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
123678
123684
|
break;
|
|
123679
123685
|
case 4:
|
|
123680
|
-
tmp8_local4 =
|
|
123686
|
+
tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp17_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
123681
123687
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
123682
123688
|
break;
|
|
123683
123689
|
case 5:
|
|
123684
|
-
tmp9_local5 =
|
|
123690
|
+
tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp17_cached[5].get_value_j01efc_k$(), tmp9_local5);
|
|
123685
123691
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
123686
123692
|
break;
|
|
123687
123693
|
case 6:
|
|
123688
|
-
tmp10_local6 =
|
|
123694
|
+
tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
123689
123695
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
123690
123696
|
break;
|
|
123691
123697
|
case 7:
|
|
123692
|
-
tmp11_local7 =
|
|
123698
|
+
tmp11_local7 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp17_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
123693
123699
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
123694
123700
|
break;
|
|
123695
123701
|
case 8:
|
|
123696
|
-
tmp12_local8 =
|
|
123702
|
+
tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp17_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
123697
123703
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
123698
123704
|
break;
|
|
123699
123705
|
case 9:
|
|
123700
|
-
tmp13_local9 =
|
|
123706
|
+
tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, LongSerializer_getInstance(), tmp13_local9);
|
|
123701
123707
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
123702
123708
|
break;
|
|
123703
123709
|
case 10:
|
|
123704
|
-
tmp14_local10 =
|
|
123710
|
+
tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
123705
123711
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
123706
123712
|
break;
|
|
123713
|
+
case 11:
|
|
123714
|
+
tmp15_local11 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
123715
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
123716
|
+
break;
|
|
123707
123717
|
default:
|
|
123708
123718
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
123709
123719
|
}
|
|
123710
123720
|
}
|
|
123711
|
-
|
|
123712
|
-
return OwnerChangeSectionCommand_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, null);
|
|
123721
|
+
tmp16_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
123722
|
+
return OwnerChangeSectionCommand_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);
|
|
123713
123723
|
};
|
|
123714
123724
|
protoOf($serializer_434).get_descriptor_wjt6a0_k$ = function () {
|
|
123715
123725
|
return this.descriptor_1;
|
|
@@ -123719,7 +123729,7 @@ protoOf($serializer_434).childSerializers_5ghqw5_k$ = function () {
|
|
|
123719
123729
|
// Inline function 'kotlin.arrayOf' call
|
|
123720
123730
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
123721
123731
|
// Inline function 'kotlin.js.asDynamic' call
|
|
123722
|
-
return [get_nullable(LongSerializer_getInstance()), InstantSerializer_getInstance(), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), get_nullable(tmp0_cached[5].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
123732
|
+
return [get_nullable(LongSerializer_getInstance()), InstantSerializer_getInstance(), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), get_nullable(tmp0_cached[5].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), get_nullable(LongSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
123723
123733
|
};
|
|
123724
123734
|
var $serializer_instance_434;
|
|
123725
123735
|
function $serializer_getInstance_434() {
|
|
@@ -123727,7 +123737,7 @@ function $serializer_getInstance_434() {
|
|
|
123727
123737
|
new $serializer_434();
|
|
123728
123738
|
return $serializer_instance_434;
|
|
123729
123739
|
}
|
|
123730
|
-
function OwnerChangeSectionCommand_init_$Init$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification, serializationConstructorMarker, $this) {
|
|
123740
|
+
function OwnerChangeSectionCommand_init_$Init$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification, serializationConstructorMarker, $this) {
|
|
123731
123741
|
if (!(2 === (2 & seen0))) {
|
|
123732
123742
|
throwMissingFieldException(seen0, 2, $serializer_getInstance_434().descriptor_1);
|
|
123733
123743
|
}
|
|
@@ -123765,19 +123775,23 @@ function OwnerChangeSectionCommand_init_$Init$(seen0, amount, at, inIds, inNew,
|
|
|
123765
123775
|
else
|
|
123766
123776
|
$this.outOrgs = outOrgs;
|
|
123767
123777
|
if (0 === (seen0 & 512))
|
|
123778
|
+
$this.price = null;
|
|
123779
|
+
else
|
|
123780
|
+
$this.price = price;
|
|
123781
|
+
if (0 === (seen0 & 1024))
|
|
123768
123782
|
$this.removeContactPersons = null;
|
|
123769
123783
|
else
|
|
123770
123784
|
$this.removeContactPersons = removeContactPersons;
|
|
123771
|
-
if (0 === (seen0 &
|
|
123785
|
+
if (0 === (seen0 & 2048))
|
|
123772
123786
|
$this.sendNotification = null;
|
|
123773
123787
|
else
|
|
123774
123788
|
$this.sendNotification = sendNotification;
|
|
123775
123789
|
return $this;
|
|
123776
123790
|
}
|
|
123777
|
-
function OwnerChangeSectionCommand_init_$Create$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification, serializationConstructorMarker) {
|
|
123778
|
-
return OwnerChangeSectionCommand_init_$Init$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification, serializationConstructorMarker, objectCreate(protoOf(OwnerChangeSectionCommand)));
|
|
123791
|
+
function OwnerChangeSectionCommand_init_$Create$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification, serializationConstructorMarker) {
|
|
123792
|
+
return OwnerChangeSectionCommand_init_$Init$(seen0, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification, serializationConstructorMarker, objectCreate(protoOf(OwnerChangeSectionCommand)));
|
|
123779
123793
|
}
|
|
123780
|
-
function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification) {
|
|
123794
|
+
function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification) {
|
|
123781
123795
|
var __soliboProps = arguments.length === 1 && typeof amount === 'object' && amount !== null && amount.constructor === Object;
|
|
123782
123796
|
var __soliboTmp, __soliboConverted = false;
|
|
123783
123797
|
if (__soliboProps) {
|
|
@@ -123800,6 +123814,7 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
|
|
|
123800
123814
|
note = ('note' in props ? props.note : VOID);
|
|
123801
123815
|
outIds = ('outIds' in props ? props.outIds : VOID);
|
|
123802
123816
|
outOrgs = ('outOrgs' in props ? props.outOrgs : VOID);
|
|
123817
|
+
price = ('price' in props ? props.price : VOID);
|
|
123803
123818
|
removeContactPersons = ('removeContactPersons' in props ? props.removeContactPersons : VOID);
|
|
123804
123819
|
sendNotification = ('sendNotification' in props ? props.sendNotification : VOID);
|
|
123805
123820
|
}
|
|
@@ -123810,6 +123825,7 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
|
|
|
123810
123825
|
if ((__soliboTmp = __soliboToKt(inOrgs, ["list",null])) !== inOrgs) { inOrgs = __soliboTmp; __soliboConverted = true; }
|
|
123811
123826
|
if ((__soliboTmp = __soliboToKt(outIds, ["list",["bigint"]])) !== outIds) { outIds = __soliboTmp; __soliboConverted = true; }
|
|
123812
123827
|
if ((__soliboTmp = __soliboToKt(outOrgs, ["list",null])) !== outOrgs) { outOrgs = __soliboTmp; __soliboConverted = true; }
|
|
123828
|
+
if ((__soliboTmp = __soliboToKt(price, ["bigint"])) !== price) { price = __soliboTmp; __soliboConverted = true; }
|
|
123813
123829
|
Companion_getInstance_520();
|
|
123814
123830
|
amount = amount === VOID ? null : amount;
|
|
123815
123831
|
inIds = inIds === VOID ? null : inIds;
|
|
@@ -123819,6 +123835,7 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
|
|
|
123819
123835
|
note = note === VOID ? null : note;
|
|
123820
123836
|
outIds = outIds === VOID ? null : outIds;
|
|
123821
123837
|
outOrgs = outOrgs === VOID ? null : outOrgs;
|
|
123838
|
+
price = price === VOID ? null : price;
|
|
123822
123839
|
removeContactPersons = removeContactPersons === VOID ? null : removeContactPersons;
|
|
123823
123840
|
sendNotification = sendNotification === VOID ? null : sendNotification;
|
|
123824
123841
|
this.amount = amount;
|
|
@@ -123830,6 +123847,7 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
|
|
|
123830
123847
|
this.note = note;
|
|
123831
123848
|
this.outIds = outIds;
|
|
123832
123849
|
this.outOrgs = outOrgs;
|
|
123850
|
+
this.price = price;
|
|
123833
123851
|
this.removeContactPersons = removeContactPersons;
|
|
123834
123852
|
this.sendNotification = sendNotification;
|
|
123835
123853
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
@@ -123861,6 +123879,9 @@ protoOf(OwnerChangeSectionCommand).get_outIds_hs3pub_k$ = function () {
|
|
|
123861
123879
|
protoOf(OwnerChangeSectionCommand).get_outOrgs_h1l2lo_k$ = function () {
|
|
123862
123880
|
return this.outOrgs;
|
|
123863
123881
|
};
|
|
123882
|
+
protoOf(OwnerChangeSectionCommand).get_price_ix1ezk_k$ = function () {
|
|
123883
|
+
return this.price;
|
|
123884
|
+
};
|
|
123864
123885
|
protoOf(OwnerChangeSectionCommand).get_removeContactPersons_d4uh63_k$ = function () {
|
|
123865
123886
|
return this.removeContactPersons;
|
|
123866
123887
|
};
|
|
@@ -123895,15 +123916,18 @@ protoOf(OwnerChangeSectionCommand).component9_7eebs4_k$ = function () {
|
|
|
123895
123916
|
return this.outOrgs;
|
|
123896
123917
|
};
|
|
123897
123918
|
protoOf(OwnerChangeSectionCommand).component10_gazzfo_k$ = function () {
|
|
123898
|
-
return this.
|
|
123919
|
+
return this.price;
|
|
123899
123920
|
};
|
|
123900
123921
|
protoOf(OwnerChangeSectionCommand).component11_gazzfn_k$ = function () {
|
|
123922
|
+
return this.removeContactPersons;
|
|
123923
|
+
};
|
|
123924
|
+
protoOf(OwnerChangeSectionCommand).component12_gazzfm_k$ = function () {
|
|
123901
123925
|
return this.sendNotification;
|
|
123902
123926
|
};
|
|
123903
|
-
protoOf(OwnerChangeSectionCommand).
|
|
123904
|
-
return new OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification);
|
|
123927
|
+
protoOf(OwnerChangeSectionCommand).copy_lxenl6_k$ = function (amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification) {
|
|
123928
|
+
return new OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification);
|
|
123905
123929
|
};
|
|
123906
|
-
protoOf(OwnerChangeSectionCommand).copy = function (amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, removeContactPersons, sendNotification, $super) {
|
|
123930
|
+
protoOf(OwnerChangeSectionCommand).copy = function (amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification, $super) {
|
|
123907
123931
|
amount = amount === VOID ? this.amount : amount;
|
|
123908
123932
|
at = at === VOID ? this.at : at;
|
|
123909
123933
|
inIds = inIds === VOID ? this.inIds : inIds;
|
|
@@ -123913,12 +123937,13 @@ protoOf(OwnerChangeSectionCommand).copy = function (amount, at, inIds, inNew, in
|
|
|
123913
123937
|
note = note === VOID ? this.note : note;
|
|
123914
123938
|
outIds = outIds === VOID ? this.outIds : outIds;
|
|
123915
123939
|
outOrgs = outOrgs === VOID ? this.outOrgs : outOrgs;
|
|
123940
|
+
price = price === VOID ? this.price : price;
|
|
123916
123941
|
removeContactPersons = removeContactPersons === VOID ? this.removeContactPersons : removeContactPersons;
|
|
123917
123942
|
sendNotification = sendNotification === VOID ? this.sendNotification : sendNotification;
|
|
123918
|
-
return $super === VOID ? this.
|
|
123943
|
+
return $super === VOID ? this.copy_lxenl6_k$(amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification) : $super.copy_lxenl6_k$.call(this, amount, at, inIds, inNew, inNewOrgs, inOrgs, note, outIds, outOrgs, price, removeContactPersons, sendNotification);
|
|
123919
123944
|
};
|
|
123920
123945
|
protoOf(OwnerChangeSectionCommand).toString = function () {
|
|
123921
|
-
return 'OwnerChangeSectionCommand(amount=' + toString(this.amount) + ', at=' + this.at.toString() + ', inIds=' + toString(this.inIds) + ', inNew=' + toString(this.inNew) + ', inNewOrgs=' + toString(this.inNewOrgs) + ', inOrgs=' + toString(this.inOrgs) + ', note=' + this.note + ', outIds=' + toString(this.outIds) + ', outOrgs=' + toString(this.outOrgs) + ', removeContactPersons=' + this.removeContactPersons + ', sendNotification=' + this.sendNotification + ')';
|
|
123946
|
+
return 'OwnerChangeSectionCommand(amount=' + toString(this.amount) + ', at=' + this.at.toString() + ', inIds=' + toString(this.inIds) + ', inNew=' + toString(this.inNew) + ', inNewOrgs=' + toString(this.inNewOrgs) + ', inOrgs=' + toString(this.inOrgs) + ', note=' + this.note + ', outIds=' + toString(this.outIds) + ', outOrgs=' + toString(this.outOrgs) + ', price=' + toString(this.price) + ', removeContactPersons=' + this.removeContactPersons + ', sendNotification=' + this.sendNotification + ')';
|
|
123922
123947
|
};
|
|
123923
123948
|
protoOf(OwnerChangeSectionCommand).hashCode = function () {
|
|
123924
123949
|
var result = this.amount == null ? 0 : getBigIntHashCode(this.amount);
|
|
@@ -123930,6 +123955,7 @@ protoOf(OwnerChangeSectionCommand).hashCode = function () {
|
|
|
123930
123955
|
result = imul(result, 31) + (this.note == null ? 0 : getStringHashCode(this.note)) | 0;
|
|
123931
123956
|
result = imul(result, 31) + (this.outIds == null ? 0 : hashCode(this.outIds)) | 0;
|
|
123932
123957
|
result = imul(result, 31) + (this.outOrgs == null ? 0 : hashCode(this.outOrgs)) | 0;
|
|
123958
|
+
result = imul(result, 31) + (this.price == null ? 0 : getBigIntHashCode(this.price)) | 0;
|
|
123933
123959
|
result = imul(result, 31) + (this.removeContactPersons == null ? 0 : getBooleanHashCode(this.removeContactPersons)) | 0;
|
|
123934
123960
|
result = imul(result, 31) + (this.sendNotification == null ? 0 : getBooleanHashCode(this.sendNotification)) | 0;
|
|
123935
123961
|
return result;
|
|
@@ -123957,6 +123983,8 @@ protoOf(OwnerChangeSectionCommand).equals = function (other) {
|
|
|
123957
123983
|
return false;
|
|
123958
123984
|
if (!equals(this.outOrgs, other.outOrgs))
|
|
123959
123985
|
return false;
|
|
123986
|
+
if (!(this.price == other.price))
|
|
123987
|
+
return false;
|
|
123960
123988
|
if (!(this.removeContactPersons == other.removeContactPersons))
|
|
123961
123989
|
return false;
|
|
123962
123990
|
if (!(this.sendNotification == other.sendNotification))
|
|
@@ -123978,7 +124006,7 @@ function Companion_518() {
|
|
|
123978
124006
|
// Inline function 'kotlin.arrayOf' call
|
|
123979
124007
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
123980
124008
|
// Inline function 'kotlin.js.asDynamic' call
|
|
123981
|
-
tmp.$childSerializers_1 = [null, null, null, null, tmp_1, null, lazy(tmp_2, OwnershipChange$Companion$$childSerializers$_anonymous__3nohhx_0)];
|
|
124009
|
+
tmp.$childSerializers_1 = [null, null, null, null, tmp_1, null, null, lazy(tmp_2, OwnershipChange$Companion$$childSerializers$_anonymous__3nohhx_0)];
|
|
123982
124010
|
}
|
|
123983
124011
|
var Companion_instance_519;
|
|
123984
124012
|
function Companion_getInstance_521() {
|
|
@@ -123988,13 +124016,14 @@ function Companion_getInstance_521() {
|
|
|
123988
124016
|
}
|
|
123989
124017
|
function $serializer_435() {
|
|
123990
124018
|
$serializer_instance_435 = this;
|
|
123991
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.OwnershipChange', this,
|
|
124019
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.OwnershipChange', this, 8);
|
|
123992
124020
|
tmp0_serialDesc.addElement_5pzumi_k$('amount', true);
|
|
123993
124021
|
tmp0_serialDesc.addElement_5pzumi_k$('changeAt', false);
|
|
123994
124022
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
123995
124023
|
tmp0_serialDesc.addElement_5pzumi_k$('invoiceRecipientId', true);
|
|
123996
124024
|
tmp0_serialDesc.addElement_5pzumi_k$('invoiceRecipientType', true);
|
|
123997
124025
|
tmp0_serialDesc.addElement_5pzumi_k$('note', true);
|
|
124026
|
+
tmp0_serialDesc.addElement_5pzumi_k$('price', true);
|
|
123998
124027
|
tmp0_serialDesc.addElement_5pzumi_k$('roles', false);
|
|
123999
124028
|
this.descriptor_1 = tmp0_serialDesc;
|
|
124000
124029
|
}
|
|
@@ -124016,7 +124045,10 @@ protoOf($serializer_435).serialize_gb5j19_k$ = function (encoder, value) {
|
|
|
124016
124045
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.note == null)) {
|
|
124017
124046
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.note);
|
|
124018
124047
|
}
|
|
124019
|
-
tmp1_output.
|
|
124048
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.price == null)) {
|
|
124049
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.price);
|
|
124050
|
+
}
|
|
124051
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.roles);
|
|
124020
124052
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
124021
124053
|
};
|
|
124022
124054
|
protoOf($serializer_435).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -124034,64 +124066,71 @@ protoOf($serializer_435).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
124034
124066
|
var tmp8_local4 = null;
|
|
124035
124067
|
var tmp9_local5 = null;
|
|
124036
124068
|
var tmp10_local6 = null;
|
|
124037
|
-
var
|
|
124038
|
-
var
|
|
124039
|
-
|
|
124040
|
-
|
|
124069
|
+
var tmp11_local7 = null;
|
|
124070
|
+
var tmp12_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
124071
|
+
var tmp13_cached = Companion_getInstance_521().$childSerializers_1;
|
|
124072
|
+
if (tmp12_input.decodeSequentially_xlblqy_k$()) {
|
|
124073
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
124041
124074
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
124042
|
-
tmp5_local1 =
|
|
124075
|
+
tmp5_local1 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
124043
124076
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
124044
|
-
tmp6_local2 =
|
|
124077
|
+
tmp6_local2 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
124045
124078
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
124046
|
-
tmp7_local3 =
|
|
124079
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
124047
124080
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
124048
|
-
tmp8_local4 =
|
|
124081
|
+
tmp8_local4 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp13_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
124049
124082
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
124050
|
-
tmp9_local5 =
|
|
124083
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
124051
124084
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
124052
|
-
tmp10_local6 =
|
|
124085
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
124053
124086
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
124087
|
+
tmp11_local7 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp13_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
124088
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
124054
124089
|
} else
|
|
124055
124090
|
while (tmp1_flag) {
|
|
124056
|
-
tmp2_index =
|
|
124091
|
+
tmp2_index = tmp12_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
124057
124092
|
switch (tmp2_index) {
|
|
124058
124093
|
case -1:
|
|
124059
124094
|
tmp1_flag = false;
|
|
124060
124095
|
break;
|
|
124061
124096
|
case 0:
|
|
124062
|
-
tmp4_local0 =
|
|
124097
|
+
tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
124063
124098
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
124064
124099
|
break;
|
|
124065
124100
|
case 1:
|
|
124066
|
-
tmp5_local1 =
|
|
124101
|
+
tmp5_local1 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
124067
124102
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
124068
124103
|
break;
|
|
124069
124104
|
case 2:
|
|
124070
|
-
tmp6_local2 =
|
|
124105
|
+
tmp6_local2 = tmp12_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
124071
124106
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
124072
124107
|
break;
|
|
124073
124108
|
case 3:
|
|
124074
|
-
tmp7_local3 =
|
|
124109
|
+
tmp7_local3 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
124075
124110
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
124076
124111
|
break;
|
|
124077
124112
|
case 4:
|
|
124078
|
-
tmp8_local4 =
|
|
124113
|
+
tmp8_local4 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp13_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
124079
124114
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
124080
124115
|
break;
|
|
124081
124116
|
case 5:
|
|
124082
|
-
tmp9_local5 =
|
|
124117
|
+
tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
124083
124118
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
124084
124119
|
break;
|
|
124085
124120
|
case 6:
|
|
124086
|
-
tmp10_local6 =
|
|
124121
|
+
tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
124087
124122
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
124088
124123
|
break;
|
|
124124
|
+
case 7:
|
|
124125
|
+
tmp11_local7 = tmp12_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp13_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
124126
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
124127
|
+
break;
|
|
124089
124128
|
default:
|
|
124090
124129
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
124091
124130
|
}
|
|
124092
124131
|
}
|
|
124093
|
-
|
|
124094
|
-
return OwnershipChange_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
124132
|
+
tmp12_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
124133
|
+
return OwnershipChange_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
124095
124134
|
};
|
|
124096
124135
|
protoOf($serializer_435).get_descriptor_wjt6a0_k$ = function () {
|
|
124097
124136
|
return this.descriptor_1;
|
|
@@ -124101,7 +124140,7 @@ protoOf($serializer_435).childSerializers_5ghqw5_k$ = function () {
|
|
|
124101
124140
|
// Inline function 'kotlin.arrayOf' call
|
|
124102
124141
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
124103
124142
|
// Inline function 'kotlin.js.asDynamic' call
|
|
124104
|
-
return [get_nullable(LongSerializer_getInstance()), InstantSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), tmp0_cached[
|
|
124143
|
+
return [get_nullable(LongSerializer_getInstance()), InstantSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[7].get_value_j01efc_k$()];
|
|
124105
124144
|
};
|
|
124106
124145
|
var $serializer_instance_435;
|
|
124107
124146
|
function $serializer_getInstance_435() {
|
|
@@ -124109,9 +124148,9 @@ function $serializer_getInstance_435() {
|
|
|
124109
124148
|
new $serializer_435();
|
|
124110
124149
|
return $serializer_instance_435;
|
|
124111
124150
|
}
|
|
124112
|
-
function OwnershipChange_init_$Init$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles, serializationConstructorMarker, $this) {
|
|
124113
|
-
if (!(
|
|
124114
|
-
throwMissingFieldException(seen0,
|
|
124151
|
+
function OwnershipChange_init_$Init$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles, serializationConstructorMarker, $this) {
|
|
124152
|
+
if (!(134 === (134 & seen0))) {
|
|
124153
|
+
throwMissingFieldException(seen0, 134, $serializer_getInstance_435().descriptor_1);
|
|
124115
124154
|
}
|
|
124116
124155
|
if (0 === (seen0 & 1))
|
|
124117
124156
|
$this.amount = null;
|
|
@@ -124131,13 +124170,17 @@ function OwnershipChange_init_$Init$(seen0, amount, changeAt, id, invoiceRecipie
|
|
|
124131
124170
|
$this.note = null;
|
|
124132
124171
|
else
|
|
124133
124172
|
$this.note = note;
|
|
124173
|
+
if (0 === (seen0 & 64))
|
|
124174
|
+
$this.price = null;
|
|
124175
|
+
else
|
|
124176
|
+
$this.price = price;
|
|
124134
124177
|
$this.roles = roles;
|
|
124135
124178
|
return $this;
|
|
124136
124179
|
}
|
|
124137
|
-
function OwnershipChange_init_$Create$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles, serializationConstructorMarker) {
|
|
124138
|
-
return OwnershipChange_init_$Init$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles, serializationConstructorMarker, objectCreate(protoOf(OwnershipChange)));
|
|
124180
|
+
function OwnershipChange_init_$Create$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles, serializationConstructorMarker) {
|
|
124181
|
+
return OwnershipChange_init_$Init$(seen0, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles, serializationConstructorMarker, objectCreate(protoOf(OwnershipChange)));
|
|
124139
124182
|
}
|
|
124140
|
-
function OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles) {
|
|
124183
|
+
function OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles) {
|
|
124141
124184
|
var __soliboProps = arguments.length === 1 && typeof amount === 'object' && amount !== null && amount.constructor === Object;
|
|
124142
124185
|
var __soliboTmp, __soliboConverted = false;
|
|
124143
124186
|
if (__soliboProps) {
|
|
@@ -124157,24 +124200,28 @@ function OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipi
|
|
|
124157
124200
|
invoiceRecipientId = ('invoiceRecipientId' in props ? props.invoiceRecipientId : VOID);
|
|
124158
124201
|
invoiceRecipientType = ('invoiceRecipientType' in props ? props.invoiceRecipientType : VOID);
|
|
124159
124202
|
note = ('note' in props ? props.note : VOID);
|
|
124203
|
+
price = ('price' in props ? props.price : VOID);
|
|
124160
124204
|
roles = ('roles' in props ? props.roles : VOID);
|
|
124161
124205
|
}
|
|
124162
124206
|
if ((__soliboTmp = __soliboToKt(amount, ["bigint"])) !== amount) { amount = __soliboTmp; __soliboConverted = true; }
|
|
124163
124207
|
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
124164
124208
|
if ((__soliboTmp = __soliboToKt(invoiceRecipientId, ["bigint"])) !== invoiceRecipientId) { invoiceRecipientId = __soliboTmp; __soliboConverted = true; }
|
|
124165
124209
|
if ((__soliboTmp = __soliboToKt(invoiceRecipientType, ["enum","CustomerType"])) !== invoiceRecipientType) { invoiceRecipientType = __soliboTmp; __soliboConverted = true; }
|
|
124210
|
+
if ((__soliboTmp = __soliboToKt(price, ["bigint"])) !== price) { price = __soliboTmp; __soliboConverted = true; }
|
|
124166
124211
|
if ((__soliboTmp = __soliboToKt(roles, ["list",["model","OwnershipChangeRole"]])) !== roles) { roles = __soliboTmp; __soliboConverted = true; }
|
|
124167
124212
|
Companion_getInstance_521();
|
|
124168
124213
|
amount = amount === VOID ? null : amount;
|
|
124169
124214
|
invoiceRecipientId = invoiceRecipientId === VOID ? null : invoiceRecipientId;
|
|
124170
124215
|
invoiceRecipientType = invoiceRecipientType === VOID ? null : invoiceRecipientType;
|
|
124171
124216
|
note = note === VOID ? null : note;
|
|
124217
|
+
price = price === VOID ? null : price;
|
|
124172
124218
|
this.amount = amount;
|
|
124173
124219
|
this.changeAt = changeAt;
|
|
124174
124220
|
this.id = id;
|
|
124175
124221
|
this.invoiceRecipientId = invoiceRecipientId;
|
|
124176
124222
|
this.invoiceRecipientType = invoiceRecipientType;
|
|
124177
124223
|
this.note = note;
|
|
124224
|
+
this.price = price;
|
|
124178
124225
|
this.roles = roles;
|
|
124179
124226
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
124180
124227
|
}
|
|
@@ -124196,6 +124243,9 @@ protoOf(OwnershipChange).get_invoiceRecipientType_3tmsq9_k$ = function () {
|
|
|
124196
124243
|
protoOf(OwnershipChange).get_note_wor96j_k$ = function () {
|
|
124197
124244
|
return this.note;
|
|
124198
124245
|
};
|
|
124246
|
+
protoOf(OwnershipChange).get_price_ix1ezk_k$ = function () {
|
|
124247
|
+
return this.price;
|
|
124248
|
+
};
|
|
124199
124249
|
protoOf(OwnershipChange).get_roles_iy35hw_k$ = function () {
|
|
124200
124250
|
return this.roles;
|
|
124201
124251
|
};
|
|
@@ -124218,23 +124268,27 @@ protoOf(OwnershipChange).component6_7eebs7_k$ = function () {
|
|
|
124218
124268
|
return this.note;
|
|
124219
124269
|
};
|
|
124220
124270
|
protoOf(OwnershipChange).component7_7eebs6_k$ = function () {
|
|
124271
|
+
return this.price;
|
|
124272
|
+
};
|
|
124273
|
+
protoOf(OwnershipChange).component8_7eebs5_k$ = function () {
|
|
124221
124274
|
return this.roles;
|
|
124222
124275
|
};
|
|
124223
|
-
protoOf(OwnershipChange).
|
|
124224
|
-
return new OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles);
|
|
124276
|
+
protoOf(OwnershipChange).copy_c5ljva_k$ = function (amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles) {
|
|
124277
|
+
return new OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles);
|
|
124225
124278
|
};
|
|
124226
|
-
protoOf(OwnershipChange).copy = function (amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, roles, $super) {
|
|
124279
|
+
protoOf(OwnershipChange).copy = function (amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles, $super) {
|
|
124227
124280
|
amount = amount === VOID ? this.amount : amount;
|
|
124228
124281
|
changeAt = changeAt === VOID ? this.changeAt : changeAt;
|
|
124229
124282
|
id = id === VOID ? this.id : id;
|
|
124230
124283
|
invoiceRecipientId = invoiceRecipientId === VOID ? this.invoiceRecipientId : invoiceRecipientId;
|
|
124231
124284
|
invoiceRecipientType = invoiceRecipientType === VOID ? this.invoiceRecipientType : invoiceRecipientType;
|
|
124232
124285
|
note = note === VOID ? this.note : note;
|
|
124286
|
+
price = price === VOID ? this.price : price;
|
|
124233
124287
|
roles = roles === VOID ? this.roles : roles;
|
|
124234
|
-
return $super === VOID ? this.
|
|
124288
|
+
return $super === VOID ? this.copy_c5ljva_k$(amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles) : $super.copy_c5ljva_k$.call(this, amount, changeAt, id, invoiceRecipientId, invoiceRecipientType, note, price, roles);
|
|
124235
124289
|
};
|
|
124236
124290
|
protoOf(OwnershipChange).toString = function () {
|
|
124237
|
-
return 'OwnershipChange(amount=' + toString(this.amount) + ', changeAt=' + this.changeAt.toString() + ', id=' + this.id.toString() + ', invoiceRecipientId=' + toString(this.invoiceRecipientId) + ', invoiceRecipientType=' + toString(this.invoiceRecipientType) + ', note=' + this.note + ', roles=' + toString_0(this.roles) + ')';
|
|
124291
|
+
return 'OwnershipChange(amount=' + toString(this.amount) + ', changeAt=' + this.changeAt.toString() + ', id=' + this.id.toString() + ', invoiceRecipientId=' + toString(this.invoiceRecipientId) + ', invoiceRecipientType=' + toString(this.invoiceRecipientType) + ', note=' + this.note + ', price=' + toString(this.price) + ', roles=' + toString_0(this.roles) + ')';
|
|
124238
124292
|
};
|
|
124239
124293
|
protoOf(OwnershipChange).hashCode = function () {
|
|
124240
124294
|
var result = this.amount == null ? 0 : getBigIntHashCode(this.amount);
|
|
@@ -124243,6 +124297,7 @@ protoOf(OwnershipChange).hashCode = function () {
|
|
|
124243
124297
|
result = imul(result, 31) + (this.invoiceRecipientId == null ? 0 : getBigIntHashCode(this.invoiceRecipientId)) | 0;
|
|
124244
124298
|
result = imul(result, 31) + (this.invoiceRecipientType == null ? 0 : this.invoiceRecipientType.hashCode()) | 0;
|
|
124245
124299
|
result = imul(result, 31) + (this.note == null ? 0 : getStringHashCode(this.note)) | 0;
|
|
124300
|
+
result = imul(result, 31) + (this.price == null ? 0 : getBigIntHashCode(this.price)) | 0;
|
|
124246
124301
|
result = imul(result, 31) + hashCode(this.roles) | 0;
|
|
124247
124302
|
return result;
|
|
124248
124303
|
};
|
|
@@ -124263,6 +124318,8 @@ protoOf(OwnershipChange).equals = function (other) {
|
|
|
124263
124318
|
return false;
|
|
124264
124319
|
if (!(this.note == other.note))
|
|
124265
124320
|
return false;
|
|
124321
|
+
if (!(this.price == other.price))
|
|
124322
|
+
return false;
|
|
124266
124323
|
if (!equals(this.roles, other.roles))
|
|
124267
124324
|
return false;
|
|
124268
124325
|
return true;
|