@solibo/solibo-sdk 1.53.5 → 1.53.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.
@@ -15,10 +15,10 @@ import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin
15
15
  import {
16
16
  protoOf180f3jzyo7rfj as protoOf,
17
17
  objectCreate1ve4bgxiu4x98 as objectCreate,
18
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
18
19
  hashCodeq5arwsb9dgti as hashCode,
19
20
  getStringHashCode26igk1bx568vk as getStringHashCode,
20
21
  getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
21
- getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
22
22
  equals2au1ep9vhcato as equals,
23
23
  } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
24
24
  import {
@@ -31,9 +31,9 @@ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDes
31
31
  import { $serializer_getInstancebm1yzmqbvdvb as $serializer_getInstance_5 } from '../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/InvoiceBalance.mjs';
32
32
  import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
33
33
  import {
34
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
34
35
  StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
35
36
  LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
36
- BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
37
37
  DoubleSerializer_getInstance1tuvibnyg07o1 as DoubleSerializer_getInstance,
38
38
  } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
39
39
  import { $serializer_getInstance1ajnhumq81jnz as $serializer_getInstance_6 } from './GenghisExistingDebtCoverage.mjs';
@@ -140,7 +140,7 @@ function Companion() {
140
140
  // Inline function 'kotlin.arrayOf' call
141
141
  // Inline function 'kotlin.js.unsafeCast' call
142
142
  // Inline function 'kotlin.js.asDynamic' call
143
- tmp.$childSerializers_1 = [null, tmp_1, tmp_3, null, null, null, null, null, null, null, null, tmp_5, tmp_7, null, null, null, null, null, null, null, tmp_9, null, null, tmp_11, tmp_13, tmp_15, tmp_17, null, null, null, tmp_19, tmp_21, lazy(tmp_22, GenghisInvoice$Companion$$childSerializers$_anonymous__eeofq0_10)];
143
+ tmp.$childSerializers_1 = [null, null, tmp_1, tmp_3, null, null, null, null, null, null, null, null, tmp_5, tmp_7, null, null, null, null, null, null, null, tmp_9, null, null, tmp_11, tmp_13, tmp_15, tmp_17, null, null, null, tmp_19, tmp_21, lazy(tmp_22, GenghisInvoice$Companion$$childSerializers$_anonymous__eeofq0_10)];
144
144
  }
145
145
  CompanionClass = $;
146
146
  }
@@ -158,8 +158,9 @@ function $serializer() {
158
158
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
159
159
  function $() {
160
160
  $serializer_instance = this;
161
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.GenghisInvoice', this, 33);
161
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.GenghisInvoice', this, 34);
162
162
  tmp0_serialDesc.addElement_5pzumi_k$('balance', true);
163
+ tmp0_serialDesc.addElement_5pzumi_k$('creditable', true);
163
164
  tmp0_serialDesc.addElement_5pzumi_k$('credits', true);
164
165
  tmp0_serialDesc.addElement_5pzumi_k$('debtTransfers', true);
165
166
  tmp0_serialDesc.addElement_5pzumi_k$('description', true);
@@ -201,65 +202,68 @@ function $serializer() {
201
202
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.balance == null)) {
202
203
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance_5(), value.balance);
203
204
  }
204
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.credits == null)) {
205
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.credits);
205
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.creditable == null)) {
206
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), value.creditable);
207
+ }
208
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.credits == null)) {
209
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.credits);
206
210
  }
207
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.debtTransfers == null)) {
208
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.debtTransfers);
211
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.debtTransfers == null)) {
212
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.debtTransfers);
209
213
  }
210
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.description == null)) {
211
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.description);
214
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.description == null)) {
215
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.description);
212
216
  }
213
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.dueDate);
214
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.existingDebtCoverage == null)) {
215
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, $serializer_getInstance_6(), value.existingDebtCoverage);
217
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.dueDate);
218
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.existingDebtCoverage == null)) {
219
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, $serializer_getInstance_6(), value.existingDebtCoverage);
216
220
  }
217
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 6, value.externalReferenceId);
218
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 7, value.id);
219
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 8, value.invoiceDate);
220
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.invoiceReferenceId == null)) {
221
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.invoiceReferenceId);
221
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 7, value.externalReferenceId);
222
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.id);
223
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 9, value.invoiceDate);
224
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.invoiceReferenceId == null)) {
225
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.invoiceReferenceId);
222
226
  }
223
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 10, value.kid);
224
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.lineGroups == null)) {
225
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.lineGroups);
227
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 11, value.kid);
228
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.lineGroups == null)) {
229
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.lineGroups);
226
230
  }
227
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.lines == null)) {
228
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.lines);
231
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.lines == null)) {
232
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.lines);
229
233
  }
230
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.note == null)) {
231
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, StringSerializer_getInstance(), value.note);
234
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.note == null)) {
235
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, StringSerializer_getInstance(), value.note);
232
236
  }
233
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 14, value.number);
234
- tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 15, value.open);
235
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.overdueOne == null)) {
236
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, $serializer_getInstance_7(), value.overdueOne);
237
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 15, value.number);
238
+ tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 16, value.open);
239
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.overdueOne == null)) {
240
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, $serializer_getInstance_7(), value.overdueOne);
237
241
  }
238
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.overdueTwo == null)) {
239
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, $serializer_getInstance_7(), value.overdueTwo);
242
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.overdueTwo == null)) {
243
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, $serializer_getInstance_7(), value.overdueTwo);
240
244
  }
241
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 18, value.payee);
242
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 19, $serializer_getInstance_8(), value.payeeMeta);
243
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 20, tmp2_cached[20].get_value_j01efc_k$(), value.payeeType);
244
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 21, value.payer);
245
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 22, $serializer_getInstance_8(), value.payerMeta);
246
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 23, tmp2_cached[23].get_value_j01efc_k$(), value.payerType);
247
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 24) ? true : !(value.paymentAllocations == null)) {
248
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 24, tmp2_cached[24].get_value_j01efc_k$(), value.paymentAllocations);
245
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 19, value.payee);
246
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 20, $serializer_getInstance_8(), value.payeeMeta);
247
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.payeeType);
248
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 22, value.payer);
249
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 23, $serializer_getInstance_8(), value.payerMeta);
250
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 24, tmp2_cached[24].get_value_j01efc_k$(), value.payerType);
251
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.paymentAllocations == null)) {
252
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, tmp2_cached[25].get_value_j01efc_k$(), value.paymentAllocations);
249
253
  }
250
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.payments == null)) {
251
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, tmp2_cached[25].get_value_j01efc_k$(), value.payments);
254
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.payments == null)) {
255
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, tmp2_cached[26].get_value_j01efc_k$(), value.payments);
252
256
  }
253
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.processType == null)) {
254
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, tmp2_cached[26].get_value_j01efc_k$(), value.processType);
257
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.processType == null)) {
258
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, tmp2_cached[27].get_value_j01efc_k$(), value.processType);
255
259
  }
256
- tmp1_output.encodeDoubleElement_a6rqhe_k$(tmp0_desc, 27, value.sum);
257
- tmp1_output.encodeDoubleElement_a6rqhe_k$(tmp0_desc, 28, value.sumVAT);
258
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 29, value.tenant);
259
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 30, tmp2_cached[30].get_value_j01efc_k$(), value.tenantType);
260
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 31, tmp2_cached[31].get_value_j01efc_k$(), value.type);
261
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 32) ? true : !(value.vouchers == null)) {
262
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 32, tmp2_cached[32].get_value_j01efc_k$(), value.vouchers);
260
+ tmp1_output.encodeDoubleElement_a6rqhe_k$(tmp0_desc, 28, value.sum);
261
+ tmp1_output.encodeDoubleElement_a6rqhe_k$(tmp0_desc, 29, value.sumVAT);
262
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 30, value.tenant);
263
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 31, tmp2_cached[31].get_value_j01efc_k$(), value.tenantType);
264
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 32, tmp2_cached[32].get_value_j01efc_k$(), value.type);
265
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 33) ? true : !(value.vouchers == null)) {
266
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 33, tmp2_cached[33].get_value_j01efc_k$(), value.vouchers);
263
267
  }
264
268
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
265
269
  };
@@ -276,19 +280,19 @@ function $serializer() {
276
280
  var tmp6_local1 = null;
277
281
  var tmp7_local2 = null;
278
282
  var tmp8_local3 = null;
279
- var tmp9_local4 = 0n;
280
- var tmp10_local5 = null;
283
+ var tmp9_local4 = null;
284
+ var tmp10_local5 = 0n;
281
285
  var tmp11_local6 = null;
282
286
  var tmp12_local7 = null;
283
- var tmp13_local8 = 0n;
284
- var tmp14_local9 = null;
287
+ var tmp13_local8 = null;
288
+ var tmp14_local9 = 0n;
285
289
  var tmp15_local10 = null;
286
290
  var tmp16_local11 = null;
287
291
  var tmp17_local12 = null;
288
292
  var tmp18_local13 = null;
289
- var tmp19_local14 = 0n;
290
- var tmp20_local15 = false;
291
- var tmp21_local16 = null;
293
+ var tmp19_local14 = null;
294
+ var tmp20_local15 = 0n;
295
+ var tmp21_local16 = false;
292
296
  var tmp22_local17 = null;
293
297
  var tmp23_local18 = null;
294
298
  var tmp24_local19 = null;
@@ -299,226 +303,233 @@ function $serializer() {
299
303
  var tmp29_local24 = null;
300
304
  var tmp30_local25 = null;
301
305
  var tmp31_local26 = null;
302
- var tmp32_local27 = 0.0;
306
+ var tmp32_local27 = null;
303
307
  var tmp33_local28 = 0.0;
304
- var tmp34_local29 = null;
308
+ var tmp34_local29 = 0.0;
305
309
  var tmp35_local30 = null;
306
310
  var tmp36_local31 = null;
307
311
  var tmp37_local32 = null;
308
- var tmp38_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
309
- var tmp39_cached = Companion_getInstance_4().$childSerializers_1;
310
- if (tmp38_input.decodeSequentially_xlblqy_k$()) {
311
- tmp5_local0 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_5(), tmp5_local0);
312
+ var tmp38_local33 = null;
313
+ var tmp39_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
314
+ var tmp40_cached = Companion_getInstance_4().$childSerializers_1;
315
+ if (tmp39_input.decodeSequentially_xlblqy_k$()) {
316
+ tmp5_local0 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_5(), tmp5_local0);
312
317
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
313
- tmp6_local1 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp39_cached[1].get_value_j01efc_k$(), tmp6_local1);
318
+ tmp6_local1 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp6_local1);
314
319
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
315
- tmp7_local2 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp39_cached[2].get_value_j01efc_k$(), tmp7_local2);
320
+ tmp7_local2 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp40_cached[2].get_value_j01efc_k$(), tmp7_local2);
316
321
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
317
- tmp8_local3 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp8_local3);
322
+ tmp8_local3 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp40_cached[3].get_value_j01efc_k$(), tmp8_local3);
318
323
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
319
- tmp9_local4 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
324
+ tmp9_local4 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
320
325
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
321
- tmp10_local5 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_6(), tmp10_local5);
326
+ tmp10_local5 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
322
327
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
323
- tmp11_local6 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
328
+ tmp11_local6 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_6(), tmp11_local6);
324
329
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
325
- tmp12_local7 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
330
+ tmp12_local7 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
326
331
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
327
- tmp13_local8 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 8);
332
+ tmp13_local8 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
328
333
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
329
- tmp14_local9 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
334
+ tmp14_local9 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
330
335
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
331
- tmp15_local10 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 10);
336
+ tmp15_local10 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
332
337
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
333
- tmp16_local11 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp39_cached[11].get_value_j01efc_k$(), tmp16_local11);
338
+ tmp16_local11 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
334
339
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
335
- tmp17_local12 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp39_cached[12].get_value_j01efc_k$(), tmp17_local12);
340
+ tmp17_local12 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp40_cached[12].get_value_j01efc_k$(), tmp17_local12);
336
341
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
337
- tmp18_local13 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, StringSerializer_getInstance(), tmp18_local13);
342
+ tmp18_local13 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp40_cached[13].get_value_j01efc_k$(), tmp18_local13);
338
343
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
339
- tmp19_local14 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 14);
344
+ tmp19_local14 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, StringSerializer_getInstance(), tmp19_local14);
340
345
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
341
- tmp20_local15 = tmp38_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 15);
346
+ tmp20_local15 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 15);
342
347
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
343
- tmp21_local16 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, $serializer_getInstance_7(), tmp21_local16);
348
+ tmp21_local16 = tmp39_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 16);
344
349
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
345
- tmp22_local17 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, $serializer_getInstance_7(), tmp22_local17);
350
+ tmp22_local17 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, $serializer_getInstance_7(), tmp22_local17);
346
351
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
347
- tmp23_local18 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 18);
352
+ tmp23_local18 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, $serializer_getInstance_7(), tmp23_local18);
348
353
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
349
- tmp24_local19 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 19, $serializer_getInstance_8(), tmp24_local19);
354
+ tmp24_local19 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 19);
350
355
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
351
- tmp25_local20 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 20, tmp39_cached[20].get_value_j01efc_k$(), tmp25_local20);
356
+ tmp25_local20 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 20, $serializer_getInstance_8(), tmp25_local20);
352
357
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
353
- tmp26_local21 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 21);
358
+ tmp26_local21 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 21, tmp40_cached[21].get_value_j01efc_k$(), tmp26_local21);
354
359
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
355
- tmp27_local22 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 22, $serializer_getInstance_8(), tmp27_local22);
360
+ tmp27_local22 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 22);
356
361
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
357
- tmp28_local23 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 23, tmp39_cached[23].get_value_j01efc_k$(), tmp28_local23);
362
+ tmp28_local23 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 23, $serializer_getInstance_8(), tmp28_local23);
358
363
  tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
359
- tmp29_local24 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, tmp39_cached[24].get_value_j01efc_k$(), tmp29_local24);
364
+ tmp29_local24 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 24, tmp40_cached[24].get_value_j01efc_k$(), tmp29_local24);
360
365
  tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
361
- tmp30_local25 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, tmp39_cached[25].get_value_j01efc_k$(), tmp30_local25);
366
+ tmp30_local25 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, tmp40_cached[25].get_value_j01efc_k$(), tmp30_local25);
362
367
  tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
363
- tmp31_local26 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, tmp39_cached[26].get_value_j01efc_k$(), tmp31_local26);
368
+ tmp31_local26 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, tmp40_cached[26].get_value_j01efc_k$(), tmp31_local26);
364
369
  tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
365
- tmp32_local27 = tmp38_input.decodeDoubleElement_isei84_k$(tmp0_desc, 27);
370
+ tmp32_local27 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, tmp40_cached[27].get_value_j01efc_k$(), tmp32_local27);
366
371
  tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
367
- tmp33_local28 = tmp38_input.decodeDoubleElement_isei84_k$(tmp0_desc, 28);
372
+ tmp33_local28 = tmp39_input.decodeDoubleElement_isei84_k$(tmp0_desc, 28);
368
373
  tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
369
- tmp34_local29 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 29);
374
+ tmp34_local29 = tmp39_input.decodeDoubleElement_isei84_k$(tmp0_desc, 29);
370
375
  tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
371
- tmp35_local30 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 30, tmp39_cached[30].get_value_j01efc_k$(), tmp35_local30);
376
+ tmp35_local30 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 30);
372
377
  tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
373
- tmp36_local31 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 31, tmp39_cached[31].get_value_j01efc_k$(), tmp36_local31);
378
+ tmp36_local31 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 31, tmp40_cached[31].get_value_j01efc_k$(), tmp36_local31);
374
379
  tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
375
- tmp37_local32 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, tmp39_cached[32].get_value_j01efc_k$(), tmp37_local32);
380
+ tmp37_local32 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 32, tmp40_cached[32].get_value_j01efc_k$(), tmp37_local32);
376
381
  tmp4_bitMask1 = tmp4_bitMask1 | 1;
382
+ tmp38_local33 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, tmp40_cached[33].get_value_j01efc_k$(), tmp38_local33);
383
+ tmp4_bitMask1 = tmp4_bitMask1 | 2;
377
384
  } else
378
385
  while (tmp1_flag) {
379
- tmp2_index = tmp38_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
386
+ tmp2_index = tmp39_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
380
387
  switch (tmp2_index) {
381
388
  case -1:
382
389
  tmp1_flag = false;
383
390
  break;
384
391
  case 0:
385
- tmp5_local0 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_5(), tmp5_local0);
392
+ tmp5_local0 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_5(), tmp5_local0);
386
393
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
387
394
  break;
388
395
  case 1:
389
- tmp6_local1 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp39_cached[1].get_value_j01efc_k$(), tmp6_local1);
396
+ tmp6_local1 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp6_local1);
390
397
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
391
398
  break;
392
399
  case 2:
393
- tmp7_local2 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp39_cached[2].get_value_j01efc_k$(), tmp7_local2);
400
+ tmp7_local2 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp40_cached[2].get_value_j01efc_k$(), tmp7_local2);
394
401
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
395
402
  break;
396
403
  case 3:
397
- tmp8_local3 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp8_local3);
404
+ tmp8_local3 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp40_cached[3].get_value_j01efc_k$(), tmp8_local3);
398
405
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
399
406
  break;
400
407
  case 4:
401
- tmp9_local4 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
408
+ tmp9_local4 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp9_local4);
402
409
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
403
410
  break;
404
411
  case 5:
405
- tmp10_local5 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_6(), tmp10_local5);
412
+ tmp10_local5 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
406
413
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
407
414
  break;
408
415
  case 6:
409
- tmp11_local6 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
416
+ tmp11_local6 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_6(), tmp11_local6);
410
417
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
411
418
  break;
412
419
  case 7:
413
- tmp12_local7 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
420
+ tmp12_local7 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
414
421
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
415
422
  break;
416
423
  case 8:
417
- tmp13_local8 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 8);
424
+ tmp13_local8 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
418
425
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
419
426
  break;
420
427
  case 9:
421
- tmp14_local9 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp14_local9);
428
+ tmp14_local9 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
422
429
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
423
430
  break;
424
431
  case 10:
425
- tmp15_local10 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 10);
432
+ tmp15_local10 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp15_local10);
426
433
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
427
434
  break;
428
435
  case 11:
429
- tmp16_local11 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp39_cached[11].get_value_j01efc_k$(), tmp16_local11);
436
+ tmp16_local11 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
430
437
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
431
438
  break;
432
439
  case 12:
433
- tmp17_local12 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp39_cached[12].get_value_j01efc_k$(), tmp17_local12);
440
+ tmp17_local12 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp40_cached[12].get_value_j01efc_k$(), tmp17_local12);
434
441
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
435
442
  break;
436
443
  case 13:
437
- tmp18_local13 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, StringSerializer_getInstance(), tmp18_local13);
444
+ tmp18_local13 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp40_cached[13].get_value_j01efc_k$(), tmp18_local13);
438
445
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
439
446
  break;
440
447
  case 14:
441
- tmp19_local14 = tmp38_input.decodeLongElement_994anb_k$(tmp0_desc, 14);
448
+ tmp19_local14 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, StringSerializer_getInstance(), tmp19_local14);
442
449
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
443
450
  break;
444
451
  case 15:
445
- tmp20_local15 = tmp38_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 15);
452
+ tmp20_local15 = tmp39_input.decodeLongElement_994anb_k$(tmp0_desc, 15);
446
453
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
447
454
  break;
448
455
  case 16:
449
- tmp21_local16 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, $serializer_getInstance_7(), tmp21_local16);
456
+ tmp21_local16 = tmp39_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 16);
450
457
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
451
458
  break;
452
459
  case 17:
453
- tmp22_local17 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, $serializer_getInstance_7(), tmp22_local17);
460
+ tmp22_local17 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, $serializer_getInstance_7(), tmp22_local17);
454
461
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
455
462
  break;
456
463
  case 18:
457
- tmp23_local18 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 18);
464
+ tmp23_local18 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, $serializer_getInstance_7(), tmp23_local18);
458
465
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
459
466
  break;
460
467
  case 19:
461
- tmp24_local19 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 19, $serializer_getInstance_8(), tmp24_local19);
468
+ tmp24_local19 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 19);
462
469
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
463
470
  break;
464
471
  case 20:
465
- tmp25_local20 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 20, tmp39_cached[20].get_value_j01efc_k$(), tmp25_local20);
472
+ tmp25_local20 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 20, $serializer_getInstance_8(), tmp25_local20);
466
473
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
467
474
  break;
468
475
  case 21:
469
- tmp26_local21 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 21);
476
+ tmp26_local21 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 21, tmp40_cached[21].get_value_j01efc_k$(), tmp26_local21);
470
477
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
471
478
  break;
472
479
  case 22:
473
- tmp27_local22 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 22, $serializer_getInstance_8(), tmp27_local22);
480
+ tmp27_local22 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 22);
474
481
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
475
482
  break;
476
483
  case 23:
477
- tmp28_local23 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 23, tmp39_cached[23].get_value_j01efc_k$(), tmp28_local23);
484
+ tmp28_local23 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 23, $serializer_getInstance_8(), tmp28_local23);
478
485
  tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
479
486
  break;
480
487
  case 24:
481
- tmp29_local24 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, tmp39_cached[24].get_value_j01efc_k$(), tmp29_local24);
488
+ tmp29_local24 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 24, tmp40_cached[24].get_value_j01efc_k$(), tmp29_local24);
482
489
  tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
483
490
  break;
484
491
  case 25:
485
- tmp30_local25 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, tmp39_cached[25].get_value_j01efc_k$(), tmp30_local25);
492
+ tmp30_local25 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, tmp40_cached[25].get_value_j01efc_k$(), tmp30_local25);
486
493
  tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
487
494
  break;
488
495
  case 26:
489
- tmp31_local26 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, tmp39_cached[26].get_value_j01efc_k$(), tmp31_local26);
496
+ tmp31_local26 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, tmp40_cached[26].get_value_j01efc_k$(), tmp31_local26);
490
497
  tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
491
498
  break;
492
499
  case 27:
493
- tmp32_local27 = tmp38_input.decodeDoubleElement_isei84_k$(tmp0_desc, 27);
500
+ tmp32_local27 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, tmp40_cached[27].get_value_j01efc_k$(), tmp32_local27);
494
501
  tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
495
502
  break;
496
503
  case 28:
497
- tmp33_local28 = tmp38_input.decodeDoubleElement_isei84_k$(tmp0_desc, 28);
504
+ tmp33_local28 = tmp39_input.decodeDoubleElement_isei84_k$(tmp0_desc, 28);
498
505
  tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
499
506
  break;
500
507
  case 29:
501
- tmp34_local29 = tmp38_input.decodeStringElement_3oenpg_k$(tmp0_desc, 29);
508
+ tmp34_local29 = tmp39_input.decodeDoubleElement_isei84_k$(tmp0_desc, 29);
502
509
  tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
503
510
  break;
504
511
  case 30:
505
- tmp35_local30 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 30, tmp39_cached[30].get_value_j01efc_k$(), tmp35_local30);
512
+ tmp35_local30 = tmp39_input.decodeStringElement_3oenpg_k$(tmp0_desc, 30);
506
513
  tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
507
514
  break;
508
515
  case 31:
509
- tmp36_local31 = tmp38_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 31, tmp39_cached[31].get_value_j01efc_k$(), tmp36_local31);
516
+ tmp36_local31 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 31, tmp40_cached[31].get_value_j01efc_k$(), tmp36_local31);
510
517
  tmp3_bitMask0 = tmp3_bitMask0 | -2147483648;
511
518
  break;
512
519
  case 32:
513
- tmp37_local32 = tmp38_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 32, tmp39_cached[32].get_value_j01efc_k$(), tmp37_local32);
520
+ tmp37_local32 = tmp39_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 32, tmp40_cached[32].get_value_j01efc_k$(), tmp37_local32);
514
521
  tmp4_bitMask1 = tmp4_bitMask1 | 1;
515
522
  break;
523
+ case 33:
524
+ tmp38_local33 = tmp39_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 33, tmp40_cached[33].get_value_j01efc_k$(), tmp38_local33);
525
+ tmp4_bitMask1 = tmp4_bitMask1 | 2;
526
+ break;
516
527
  default:
517
528
  throw UnknownFieldException_init_$Create$(tmp2_index);
518
529
  }
519
530
  }
520
- tmp38_input.endStructure_1xqz0n_k$(tmp0_desc);
521
- return GenghisInvoice_init_$Create$(tmp3_bitMask0, tmp4_bitMask1, tmp5_local0, tmp6_local1, tmp7_local2, tmp8_local3, tmp9_local4, tmp10_local5, tmp11_local6, tmp12_local7, tmp13_local8, tmp14_local9, tmp15_local10, tmp16_local11, tmp17_local12, tmp18_local13, tmp19_local14, tmp20_local15, tmp21_local16, tmp22_local17, tmp23_local18, tmp24_local19, tmp25_local20, tmp26_local21, tmp27_local22, tmp28_local23, tmp29_local24, tmp30_local25, tmp31_local26, tmp32_local27, tmp33_local28, tmp34_local29, tmp35_local30, tmp36_local31, tmp37_local32, null);
531
+ tmp39_input.endStructure_1xqz0n_k$(tmp0_desc);
532
+ return GenghisInvoice_init_$Create$(tmp3_bitMask0, tmp4_bitMask1, tmp5_local0, tmp6_local1, tmp7_local2, tmp8_local3, tmp9_local4, tmp10_local5, tmp11_local6, tmp12_local7, tmp13_local8, tmp14_local9, tmp15_local10, tmp16_local11, tmp17_local12, tmp18_local13, tmp19_local14, tmp20_local15, tmp21_local16, tmp22_local17, tmp23_local18, tmp24_local19, tmp25_local20, tmp26_local21, tmp27_local22, tmp28_local23, tmp29_local24, tmp30_local25, tmp31_local26, tmp32_local27, tmp33_local28, tmp34_local29, tmp35_local30, tmp36_local31, tmp37_local32, tmp38_local33, null);
522
533
  };
523
534
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
524
535
  return this.descriptor_1;
@@ -528,7 +539,7 @@ function $serializer() {
528
539
  // Inline function 'kotlin.arrayOf' call
529
540
  // Inline function 'kotlin.js.unsafeCast' call
530
541
  // Inline function 'kotlin.js.asDynamic' call
531
- return [get_nullable($serializer_getInstance_5()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_6()), StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(tmp0_cached[11].get_value_j01efc_k$()), get_nullable(tmp0_cached[12].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable($serializer_getInstance_7()), get_nullable($serializer_getInstance_7()), StringSerializer_getInstance(), $serializer_getInstance_8(), tmp0_cached[20].get_value_j01efc_k$(), StringSerializer_getInstance(), $serializer_getInstance_8(), tmp0_cached[23].get_value_j01efc_k$(), get_nullable(tmp0_cached[24].get_value_j01efc_k$()), get_nullable(tmp0_cached[25].get_value_j01efc_k$()), get_nullable(tmp0_cached[26].get_value_j01efc_k$()), DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[30].get_value_j01efc_k$(), tmp0_cached[31].get_value_j01efc_k$(), get_nullable(tmp0_cached[32].get_value_j01efc_k$())];
542
+ return [get_nullable($serializer_getInstance_5()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_6()), StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(tmp0_cached[12].get_value_j01efc_k$()), get_nullable(tmp0_cached[13].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable($serializer_getInstance_7()), get_nullable($serializer_getInstance_7()), StringSerializer_getInstance(), $serializer_getInstance_8(), tmp0_cached[21].get_value_j01efc_k$(), StringSerializer_getInstance(), $serializer_getInstance_8(), tmp0_cached[24].get_value_j01efc_k$(), get_nullable(tmp0_cached[25].get_value_j01efc_k$()), get_nullable(tmp0_cached[26].get_value_j01efc_k$()), get_nullable(tmp0_cached[27].get_value_j01efc_k$()), DoubleSerializer_getInstance(), DoubleSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[31].get_value_j01efc_k$(), tmp0_cached[32].get_value_j01efc_k$(), get_nullable(tmp0_cached[33].get_value_j01efc_k$())];
532
543
  };
533
544
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
534
545
  $serializerClass = $;
@@ -541,12 +552,12 @@ function $serializer_getInstance_9() {
541
552
  new ($serializer())();
542
553
  return $serializer_instance;
543
554
  }
544
- function GenghisInvoice_init_$Init$(seen0, seen1, balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker, $this) {
545
- if (!!(!(-117652016 === (-117652016 & seen0)) | !(0 === (0 & seen1)))) {
555
+ function GenghisInvoice_init_$Init$(seen0, seen1, balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker, $this) {
556
+ if (!!(!(-235304032 === (-235304032 & seen0)) | !(1 === (1 & seen1)))) {
546
557
  // Inline function 'kotlin.intArrayOf' call
547
558
  var tmp = new Int32Array([seen0, seen1]);
548
559
  // Inline function 'kotlin.intArrayOf' call
549
- var tmp$ret$1 = new Int32Array([-117652016, 0]);
560
+ var tmp$ret$1 = new Int32Array([-235304032, 1]);
550
561
  throwArrayMissingFieldException(tmp, tmp$ret$1, $serializer_getInstance_9().descriptor_1);
551
562
  }
552
563
  if (0 === (seen0 & 1))
@@ -554,49 +565,53 @@ function GenghisInvoice_init_$Init$(seen0, seen1, balance, credits, debtTransfer
554
565
  else
555
566
  $this.balance = balance;
556
567
  if (0 === (seen0 & 2))
568
+ $this.creditable = null;
569
+ else
570
+ $this.creditable = creditable;
571
+ if (0 === (seen0 & 4))
557
572
  $this.credits = null;
558
573
  else
559
574
  $this.credits = credits;
560
- if (0 === (seen0 & 4))
575
+ if (0 === (seen0 & 8))
561
576
  $this.debtTransfers = null;
562
577
  else
563
578
  $this.debtTransfers = debtTransfers;
564
- if (0 === (seen0 & 8))
579
+ if (0 === (seen0 & 16))
565
580
  $this.description = null;
566
581
  else
567
582
  $this.description = description;
568
583
  $this.dueDate = dueDate;
569
- if (0 === (seen0 & 32))
584
+ if (0 === (seen0 & 64))
570
585
  $this.existingDebtCoverage = null;
571
586
  else
572
587
  $this.existingDebtCoverage = existingDebtCoverage;
573
588
  $this.externalReferenceId = externalReferenceId;
574
589
  $this.id = id;
575
590
  $this.invoiceDate = invoiceDate;
576
- if (0 === (seen0 & 512))
591
+ if (0 === (seen0 & 1024))
577
592
  $this.invoiceReferenceId = null;
578
593
  else
579
594
  $this.invoiceReferenceId = invoiceReferenceId;
580
595
  $this.kid = kid;
581
- if (0 === (seen0 & 2048))
596
+ if (0 === (seen0 & 4096))
582
597
  $this.lineGroups = null;
583
598
  else
584
599
  $this.lineGroups = lineGroups;
585
- if (0 === (seen0 & 4096))
600
+ if (0 === (seen0 & 8192))
586
601
  $this.lines = null;
587
602
  else
588
603
  $this.lines = lines;
589
- if (0 === (seen0 & 8192))
604
+ if (0 === (seen0 & 16384))
590
605
  $this.note = null;
591
606
  else
592
607
  $this.note = note;
593
608
  $this.number = number;
594
609
  $this.open = open;
595
- if (0 === (seen0 & 65536))
610
+ if (0 === (seen0 & 131072))
596
611
  $this.overdueOne = null;
597
612
  else
598
613
  $this.overdueOne = overdueOne;
599
- if (0 === (seen0 & 131072))
614
+ if (0 === (seen0 & 262144))
600
615
  $this.overdueTwo = null;
601
616
  else
602
617
  $this.overdueTwo = overdueTwo;
@@ -606,15 +621,15 @@ function GenghisInvoice_init_$Init$(seen0, seen1, balance, credits, debtTransfer
606
621
  $this.payer = payer;
607
622
  $this.payerMeta = payerMeta;
608
623
  $this.payerType = payerType;
609
- if (0 === (seen0 & 16777216))
624
+ if (0 === (seen0 & 33554432))
610
625
  $this.paymentAllocations = null;
611
626
  else
612
627
  $this.paymentAllocations = paymentAllocations;
613
- if (0 === (seen0 & 33554432))
628
+ if (0 === (seen0 & 67108864))
614
629
  $this.payments = null;
615
630
  else
616
631
  $this.payments = payments;
617
- if (0 === (seen0 & 67108864))
632
+ if (0 === (seen0 & 134217728))
618
633
  $this.processType = null;
619
634
  else
620
635
  $this.processType = processType;
@@ -623,25 +638,26 @@ function GenghisInvoice_init_$Init$(seen0, seen1, balance, credits, debtTransfer
623
638
  $this.tenant = tenant;
624
639
  $this.tenantType = tenantType;
625
640
  $this.type = type;
626
- if (0 === (seen1 & 1))
641
+ if (0 === (seen1 & 2))
627
642
  $this.vouchers = null;
628
643
  else
629
644
  $this.vouchers = vouchers;
630
645
  return $this;
631
646
  }
632
- function GenghisInvoice_init_$Create$(seen0, seen1, balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker) {
633
- return GenghisInvoice_init_$Init$(seen0, seen1, balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker, objectCreate(protoOf(GenghisInvoice())));
647
+ function GenghisInvoice_init_$Create$(seen0, seen1, balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker) {
648
+ return GenghisInvoice_init_$Init$(seen0, seen1, balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, serializationConstructorMarker, objectCreate(protoOf(GenghisInvoice())));
634
649
  }
635
650
  var GenghisInvoiceClass;
636
651
  function GenghisInvoice() {
637
652
  if (GenghisInvoiceClass === VOID) {
638
653
  initMetadataForClass($, 'GenghisInvoice', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
639
- function $(balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) {
654
+ function $(balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) {
640
655
  var __soliboProps = arguments.length === 1 && typeof balance === 'object' && balance !== null && balance.constructor === Object;
641
656
  var __soliboTmp, __soliboConverted = false;
642
657
  if (__soliboProps) {
643
658
  const props = balance;
644
659
  balance = ('balance' in props ? props.balance : VOID);
660
+ creditable = ('creditable' in props ? props.creditable : VOID);
645
661
  credits = ('credits' in props ? props.credits : VOID);
646
662
  debtTransfers = ('debtTransfers' in props ? props.debtTransfers : VOID);
647
663
  description = ('description' in props ? props.description : VOID);
@@ -698,6 +714,7 @@ function GenghisInvoice() {
698
714
  if ((__soliboTmp = __soliboToKt(vouchers, ["list",["model","GenghisVoucher"]])) !== vouchers) { vouchers = __soliboTmp; __soliboConverted = true; }
699
715
  Companion_getInstance_4();
700
716
  balance = balance === VOID ? null : balance;
717
+ creditable = creditable === VOID ? null : creditable;
701
718
  credits = credits === VOID ? null : credits;
702
719
  debtTransfers = debtTransfers === VOID ? null : debtTransfers;
703
720
  description = description === VOID ? null : description;
@@ -713,6 +730,7 @@ function GenghisInvoice() {
713
730
  processType = processType === VOID ? null : processType;
714
731
  vouchers = vouchers === VOID ? null : vouchers;
715
732
  this.balance = balance;
733
+ this.creditable = creditable;
716
734
  this.credits = credits;
717
735
  this.debtTransfers = debtTransfers;
718
736
  this.description = description;
@@ -750,6 +768,9 @@ function GenghisInvoice() {
750
768
  protoOf($).get_balance_4cdzil_k$ = function () {
751
769
  return this.balance;
752
770
  };
771
+ protoOf($).get_creditable_ti01wk_k$ = function () {
772
+ return this.creditable;
773
+ };
753
774
  protoOf($).get_credits_i9z4xd_k$ = function () {
754
775
  return this.credits;
755
776
  };
@@ -850,106 +871,110 @@ function GenghisInvoice() {
850
871
  return this.balance;
851
872
  };
852
873
  protoOf($).component2_7eebsb_k$ = function () {
853
- return this.credits;
874
+ return this.creditable;
854
875
  };
855
876
  protoOf($).component3_7eebsa_k$ = function () {
856
- return this.debtTransfers;
877
+ return this.credits;
857
878
  };
858
879
  protoOf($).component4_7eebs9_k$ = function () {
859
- return this.description;
880
+ return this.debtTransfers;
860
881
  };
861
882
  protoOf($).component5_7eebs8_k$ = function () {
862
- return this.dueDate;
883
+ return this.description;
863
884
  };
864
885
  protoOf($).component6_7eebs7_k$ = function () {
865
- return this.existingDebtCoverage;
886
+ return this.dueDate;
866
887
  };
867
888
  protoOf($).component7_7eebs6_k$ = function () {
868
- return this.externalReferenceId;
889
+ return this.existingDebtCoverage;
869
890
  };
870
891
  protoOf($).component8_7eebs5_k$ = function () {
871
- return this.id;
892
+ return this.externalReferenceId;
872
893
  };
873
894
  protoOf($).component9_7eebs4_k$ = function () {
874
- return this.invoiceDate;
895
+ return this.id;
875
896
  };
876
897
  protoOf($).component10_gazzfo_k$ = function () {
877
- return this.invoiceReferenceId;
898
+ return this.invoiceDate;
878
899
  };
879
900
  protoOf($).component11_gazzfn_k$ = function () {
880
- return this.kid;
901
+ return this.invoiceReferenceId;
881
902
  };
882
903
  protoOf($).component12_gazzfm_k$ = function () {
883
- return this.lineGroups;
904
+ return this.kid;
884
905
  };
885
906
  protoOf($).component13_gazzfl_k$ = function () {
886
- return this.lines;
907
+ return this.lineGroups;
887
908
  };
888
909
  protoOf($).component14_gazzfk_k$ = function () {
889
- return this.note;
910
+ return this.lines;
890
911
  };
891
912
  protoOf($).component15_gazzfj_k$ = function () {
892
- return this.number;
913
+ return this.note;
893
914
  };
894
915
  protoOf($).component16_gazzfi_k$ = function () {
895
- return this.open;
916
+ return this.number;
896
917
  };
897
918
  protoOf($).component17_gazzfh_k$ = function () {
898
- return this.overdueOne;
919
+ return this.open;
899
920
  };
900
921
  protoOf($).component18_gazzfg_k$ = function () {
901
- return this.overdueTwo;
922
+ return this.overdueOne;
902
923
  };
903
924
  protoOf($).component19_gazzff_k$ = function () {
904
- return this.payee;
925
+ return this.overdueTwo;
905
926
  };
906
927
  protoOf($).component20_gazzet_k$ = function () {
907
- return this.payeeMeta;
928
+ return this.payee;
908
929
  };
909
930
  protoOf($).component21_gazzes_k$ = function () {
910
- return this.payeeType;
931
+ return this.payeeMeta;
911
932
  };
912
933
  protoOf($).component22_gazzer_k$ = function () {
913
- return this.payer;
934
+ return this.payeeType;
914
935
  };
915
936
  protoOf($).component23_gazzeq_k$ = function () {
916
- return this.payerMeta;
937
+ return this.payer;
917
938
  };
918
939
  protoOf($).component24_gazzep_k$ = function () {
919
- return this.payerType;
940
+ return this.payerMeta;
920
941
  };
921
942
  protoOf($).component25_gazzeo_k$ = function () {
922
- return this.paymentAllocations;
943
+ return this.payerType;
923
944
  };
924
945
  protoOf($).component26_gazzen_k$ = function () {
925
- return this.payments;
946
+ return this.paymentAllocations;
926
947
  };
927
948
  protoOf($).component27_gazzem_k$ = function () {
928
- return this.processType;
949
+ return this.payments;
929
950
  };
930
951
  protoOf($).component28_gazzel_k$ = function () {
931
- return this.sum;
952
+ return this.processType;
932
953
  };
933
954
  protoOf($).component29_gazzek_k$ = function () {
934
- return this.sumVAT;
955
+ return this.sum;
935
956
  };
936
957
  protoOf($).component30_gazzdy_k$ = function () {
937
- return this.tenant;
958
+ return this.sumVAT;
938
959
  };
939
960
  protoOf($).component31_gazzdx_k$ = function () {
940
- return this.tenantType;
961
+ return this.tenant;
941
962
  };
942
963
  protoOf($).component32_gazzdw_k$ = function () {
943
- return this.type;
964
+ return this.tenantType;
944
965
  };
945
966
  protoOf($).component33_gazzdv_k$ = function () {
967
+ return this.type;
968
+ };
969
+ protoOf($).component34_gazzdu_k$ = function () {
946
970
  return this.vouchers;
947
971
  };
948
- protoOf($).copy_uxh023_k$ = function (balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) {
949
- return new (GenghisInvoice())(balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers);
972
+ protoOf($).copy_xp4hln_k$ = function (balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) {
973
+ return new (GenghisInvoice())(balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers);
950
974
  };
951
- protoOf($).copy = function (balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, $super) {
975
+ protoOf($).copy = function (balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers, $super) {
952
976
  balance = balance === VOID ? this.balance : balance;
977
+ creditable = creditable === VOID ? this.creditable : creditable;
953
978
  credits = credits === VOID ? this.credits : credits;
954
979
  debtTransfers = debtTransfers === VOID ? this.debtTransfers : debtTransfers;
955
980
  description = description === VOID ? this.description : description;
@@ -982,13 +1007,14 @@ function GenghisInvoice() {
982
1007
  tenantType = tenantType === VOID ? this.tenantType : tenantType;
983
1008
  type = type === VOID ? this.type : type;
984
1009
  vouchers = vouchers === VOID ? this.vouchers : vouchers;
985
- return $super === VOID ? this.copy_uxh023_k$(balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) : $super.copy_uxh023_k$.call(this, balance, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers);
1010
+ return $super === VOID ? this.copy_xp4hln_k$(balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers) : $super.copy_xp4hln_k$.call(this, balance, creditable, credits, debtTransfers, description, dueDate, existingDebtCoverage, externalReferenceId, id, invoiceDate, invoiceReferenceId, kid, lineGroups, lines, note, number, open, overdueOne, overdueTwo, payee, payeeMeta, payeeType, payer, payerMeta, payerType, paymentAllocations, payments, processType, sum, sumVAT, tenant, tenantType, type, vouchers);
986
1011
  };
987
1012
  protoOf($).toString = function () {
988
- return 'GenghisInvoice(balance=' + toString(this.balance) + ', credits=' + toString(this.credits) + ', debtTransfers=' + toString(this.debtTransfers) + ', description=' + this.description + ', dueDate=' + this.dueDate.toString() + ', existingDebtCoverage=' + toString(this.existingDebtCoverage) + ', externalReferenceId=' + this.externalReferenceId + ', id=' + this.id + ', invoiceDate=' + this.invoiceDate.toString() + ', invoiceReferenceId=' + this.invoiceReferenceId + ', kid=' + this.kid + ', lineGroups=' + toString(this.lineGroups) + ', lines=' + toString(this.lines) + ', note=' + this.note + ', number=' + this.number.toString() + ', open=' + this.open + ', overdueOne=' + toString(this.overdueOne) + ', overdueTwo=' + toString(this.overdueTwo) + ', payee=' + this.payee + ', payeeMeta=' + this.payeeMeta.toString() + ', payeeType=' + this.payeeType.toString() + ', payer=' + this.payer + ', payerMeta=' + this.payerMeta.toString() + ', payerType=' + this.payerType.toString() + ', paymentAllocations=' + toString(this.paymentAllocations) + ', payments=' + toString(this.payments) + ', processType=' + toString(this.processType) + ', sum=' + this.sum + ', sumVAT=' + this.sumVAT + ', tenant=' + this.tenant + ', tenantType=' + this.tenantType.toString() + ', type=' + this.type.toString() + ', vouchers=' + toString(this.vouchers) + ')';
1013
+ return 'GenghisInvoice(balance=' + toString(this.balance) + ', creditable=' + this.creditable + ', credits=' + toString(this.credits) + ', debtTransfers=' + toString(this.debtTransfers) + ', description=' + this.description + ', dueDate=' + this.dueDate.toString() + ', existingDebtCoverage=' + toString(this.existingDebtCoverage) + ', externalReferenceId=' + this.externalReferenceId + ', id=' + this.id + ', invoiceDate=' + this.invoiceDate.toString() + ', invoiceReferenceId=' + this.invoiceReferenceId + ', kid=' + this.kid + ', lineGroups=' + toString(this.lineGroups) + ', lines=' + toString(this.lines) + ', note=' + this.note + ', number=' + this.number.toString() + ', open=' + this.open + ', overdueOne=' + toString(this.overdueOne) + ', overdueTwo=' + toString(this.overdueTwo) + ', payee=' + this.payee + ', payeeMeta=' + this.payeeMeta.toString() + ', payeeType=' + this.payeeType.toString() + ', payer=' + this.payer + ', payerMeta=' + this.payerMeta.toString() + ', payerType=' + this.payerType.toString() + ', paymentAllocations=' + toString(this.paymentAllocations) + ', payments=' + toString(this.payments) + ', processType=' + toString(this.processType) + ', sum=' + this.sum + ', sumVAT=' + this.sumVAT + ', tenant=' + this.tenant + ', tenantType=' + this.tenantType.toString() + ', type=' + this.type.toString() + ', vouchers=' + toString(this.vouchers) + ')';
989
1014
  };
990
1015
  protoOf($).hashCode = function () {
991
1016
  var result = this.balance == null ? 0 : this.balance.hashCode();
1017
+ result = imul(result, 31) + (this.creditable == null ? 0 : getBooleanHashCode(this.creditable)) | 0;
992
1018
  result = imul(result, 31) + (this.credits == null ? 0 : hashCode(this.credits)) | 0;
993
1019
  result = imul(result, 31) + (this.debtTransfers == null ? 0 : hashCode(this.debtTransfers)) | 0;
994
1020
  result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
@@ -1030,6 +1056,8 @@ function GenghisInvoice() {
1030
1056
  return false;
1031
1057
  if (!equals(this.balance, other.balance))
1032
1058
  return false;
1059
+ if (!(this.creditable == other.creditable))
1060
+ return false;
1033
1061
  if (!equals(this.credits, other.credits))
1034
1062
  return false;
1035
1063
  if (!equals(this.debtTransfers, other.debtTransfers))