@solibo/solibo-sdk 1.57.4 → 1.57.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client-core.mjs CHANGED
@@ -588,6 +588,7 @@ const PROPS = {
588
588
  "economicReportsIncluded": "bigint",
589
589
  "features": "CompanyFeaturesProps | null | undefined",
590
590
  "id": "bigint",
591
+ "invoicingEmail": "string | null | undefined",
591
592
  "legalObligations": "CompanyLegalObligationsProps | null | undefined",
592
593
  "location": "CompanyLocationProps | null | undefined",
593
594
  "managed": "boolean",
@@ -5,8 +5,8 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdli
5
5
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
6
6
  import {
7
7
  close$default2suggcywjwe8g as close$default,
8
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
8
  SendChannel38sllbxw662ws as SendChannel,
9
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
10
10
  } from './Channel.mjs';
11
11
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
12
12
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
@@ -17,7 +17,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
17
17
  var ChannelCoroutineClass;
18
18
  function ChannelCoroutine() {
19
19
  if (ChannelCoroutineClass === VOID) {
20
- initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [1, 0]);
20
+ initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [SendChannel(), ReceiveChannel()], [1, 0]);
21
21
  function $(parentContext, _channel, initParentJob, active) {
22
22
  AbstractCoroutine().call(this, parentContext, initParentJob, active);
23
23
  this._channel_1 = _channel;
@@ -24,8 +24,8 @@ import {
24
24
  _ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
25
25
  close$default2suggcywjwe8g as close$default,
26
26
  cancel$default3v09jht7i082i as cancel$default,
27
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
28
27
  SendChannel38sllbxw662ws as SendChannel,
28
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
29
29
  } from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
30
30
  import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
31
31
  import { throwUninitializedPropertyAccessException14fok093f3k3t as throwUninitializedPropertyAccessException } from '../../../../kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs';
@@ -190,7 +190,7 @@ function Companion_getInstance_1() {
190
190
  var BoundedChannelClass;
191
191
  function BoundedChannel() {
192
192
  if (BoundedChannelClass === VOID) {
193
- initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 0]);
193
+ initMetadataForClass($, 'BoundedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 0]);
194
194
  function $(capacity, delegate) {
195
195
  delegate = delegate === VOID ? Companion_instance_1.createDelegate_n5r3h5_k$(capacity) : delegate;
196
196
  this.delegate_1 = delegate;
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.57.4",
26
+ "version": "1.57.5",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -252,8 +252,8 @@ import {
252
252
  minute$defaultsgib3pp3rn60 as minute$default,
253
253
  second$defaultabrspkhk2hrb as second$default,
254
254
  AbstractDateTimeFormatBuilder2kkelk07l4wb as AbstractDateTimeFormatBuilder,
255
- WithDate2bqihss8t5xfv as WithDate,
256
255
  WithTime2lgb7k6hqa1zi as WithTime,
256
+ WithDate2bqihss8t5xfv as WithDate,
257
257
  alternativeParsing1gmwubnsvpp9b as alternativeParsing2,
258
258
  char1r4ssccmdfesy as char2
259
259
  } from "../Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs";
@@ -498,7 +498,7 @@ function AbstractWithDateTimeBuilder() {
498
498
  if (AbstractWithDateTimeBuilderClass === VOID3) {
499
499
  let $ = function() {
500
500
  };
501
- initMetadataForInterface($, "AbstractWithDateTimeBuilder", VOID3, VOID3, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithDate(), WithTime()]);
501
+ initMetadataForInterface($, "AbstractWithDateTimeBuilder", VOID3, VOID3, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithTime(), WithDate()]);
502
502
  AbstractWithDateTimeBuilderClass = $;
503
503
  }
504
504
  return AbstractWithDateTimeBuilderClass;
@@ -2474,7 +2474,7 @@ function BufferedChannel() {
2474
2474
  this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2475
2475
  this.closeHandler_1 = atomic$ref$1(null);
2476
2476
  };
2477
- initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
2477
+ initMetadataForClass($, "BufferedChannel", VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2478
2478
  protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
2479
2479
  return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
2480
2480
  };
@@ -2246,8 +2246,8 @@ function HomeApiBase$configureClient$lambda_14(this$0, $platformName) {
2246
2246
  }
2247
2247
  accept($this$defaultRequest, Application_getInstance().Json_1);
2248
2248
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2249
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.4 (" + $platformName + ")");
2250
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.4");
2249
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.5 (" + $platformName + ")");
2250
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.5");
2251
2251
  return Unit_instance2;
2252
2252
  };
2253
2253
  }
@@ -1936,7 +1936,7 @@ function createMockCompanyDetailed($this, company) {
1936
1936
  var tmp6_sections = createMockCompanySectionOverview($this, company.id);
1937
1937
  var tmp7_status = CompanyStatus_ACTIVE_getInstance();
1938
1938
  var tmp8_subTypes = company.subTypes;
1939
- return new (CompanyDetailed())(VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
1939
+ return new (CompanyDetailed())(VOID, VOID, VOID, tmp2_classification, VOID, tmp3_country, VOID, 0n, VOID, tmp0_id, VOID, VOID, VOID, tmp4_managed, VOID, tmp1_name, tmp5_nationality, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp6_sections, VOID, tmp7_status, tmp8_subTypes);
1940
1940
  }
1941
1941
  function createMockCompanySectionOverview($this, companyId) {
1942
1942
  // Inline function 'kotlin.collections.filter' call
@@ -2403,7 +2403,7 @@ function MockBackend$registerHandlers$lambda_8(this$0) {
2403
2403
  var detailed = tmp1_elvis_lhs == null ? createMockCompanyDetailed(this$0, company) : tmp1_elvis_lhs;
2404
2404
  var tmp0 = this$0;
2405
2405
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
2406
- var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
2406
+ var content = detailed.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, createMockCompanySectionOverview(this$0, id));
2407
2407
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
2408
2408
  var this_0 = tmp0.json_1;
2409
2409
  // Inline function 'kotlinx.serialization.serializer' call
@@ -2514,7 +2514,7 @@ function MockBackend$registerHandlers$lambda_9(this$0) {
2514
2514
  var tmp24_location = command.location;
2515
2515
  var tmp25_matrikkel = command.matrikkel;
2516
2516
  var tmp26_subTypes = command.subTypes;
2517
- var updated = new (CompanyDetailed())(VOID, tmp13_administratorOrgNr, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
2517
+ var updated = new (CompanyDetailed())(VOID, tmp13_administratorOrgNr, tmp14_businessAgreement, tmp7_classification, tmp15_constructionYear, tmp8_country, VOID, tmp11_economicReportsIncluded, tmp16_features, id, VOID, tmp17_legalObligations, tmp24_location, tmp9_managed, tmp25_matrikkel, tmp6_name, tmp10_nationality, VOID, VOID, tmp18_note, tmp23_operatingAccount, tmp19_orgNr, VOID, VOID, tmp20_relations, tmp21_sections, tmp22_slug, tmp12_status, tmp26_subTypes);
2518
2518
  var tmp0_0 = this$0.companies;
2519
2519
  var tmp27_elvis_lhs = updated.subTypes;
2520
2520
  // Inline function 'kotlin.collections.set' call
@@ -1,7 +1,7 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class CompanyDetailed {
4
- constructor(address: Nullable<CompanyAddressOverview> | undefined, administratorOrgNr: Nullable<string> | undefined, businessAgreement: Nullable<CompanyBusinessAgreement> | undefined, classification: string, constructionYear: Nullable<bigint> | undefined, country: string, createdAt: Nullable<any>/* Nullable<Instant> */ | undefined, economicReportsIncluded: bigint, features: Nullable<CompanyFeatures> | undefined, id: bigint, legalObligations: Nullable<CompanyLegalObligations> | undefined, location: Nullable<CompanyLocation> | undefined, managed: boolean, matrikkel: Nullable<CompanyMatrikkel> | undefined, name: string, nationality: bigint, nextState: Nullable<CompanyStatus> | undefined, nextStateAt: Nullable<any>/* Nullable<Instant> */ | undefined, note: Nullable<string> | undefined, operatingAccount: Nullable<string> | undefined, orgNr: Nullable<string> | undefined, orgNrType: Nullable<OrganizationNumberType> | undefined, pricePerShare: Nullable<number> | undefined, relations: Nullable<KtList<CompanyRelation>> | undefined, sections: Nullable<CompanySectionOverview> | undefined, slug: Nullable<string> | undefined, status: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */);
4
+ constructor(address: Nullable<CompanyAddressOverview> | undefined, administratorOrgNr: Nullable<string> | undefined, businessAgreement: Nullable<CompanyBusinessAgreement> | undefined, classification: string, constructionYear: Nullable<bigint> | undefined, country: string, createdAt: Nullable<any>/* Nullable<Instant> */ | undefined, economicReportsIncluded: bigint, features: Nullable<CompanyFeatures> | undefined, id: bigint, invoicingEmail: Nullable<string> | undefined, legalObligations: Nullable<CompanyLegalObligations> | undefined, location: Nullable<CompanyLocation> | undefined, managed: boolean, matrikkel: Nullable<CompanyMatrikkel> | undefined, name: string, nationality: bigint, nextState: Nullable<CompanyStatus> | undefined, nextStateAt: Nullable<any>/* Nullable<Instant> */ | undefined, note: Nullable<string> | undefined, operatingAccount: Nullable<string> | undefined, orgNr: Nullable<string> | undefined, orgNrType: Nullable<OrganizationNumberType> | undefined, pricePerShare: Nullable<number> | undefined, relations: Nullable<KtList<CompanyRelation>> | undefined, sections: Nullable<CompanySectionOverview> | undefined, slug: Nullable<string> | undefined, status: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */);
5
5
  get address(): Nullable<CompanyAddressOverview>;
6
6
  get administratorOrgNr(): Nullable<string>;
7
7
  get businessAgreement(): Nullable<CompanyBusinessAgreement>;
@@ -12,6 +12,7 @@ export declare class CompanyDetailed {
12
12
  get economicReportsIncluded(): bigint;
13
13
  get features(): Nullable<CompanyFeatures>;
14
14
  get id(): bigint;
15
+ get invoicingEmail(): Nullable<string>;
15
16
  get legalObligations(): Nullable<CompanyLegalObligations>;
16
17
  get location(): Nullable<CompanyLocation>;
17
18
  get managed(): boolean;
@@ -31,7 +32,7 @@ export declare class CompanyDetailed {
31
32
  get status(): CompanyStatus;
32
33
  get subTypes(): Nullable<KtList<CompanySubType>>;
33
34
  get updatedAt(): Nullable<any>/* Nullable<Instant> */;
34
- copy(address?: Nullable<CompanyAddressOverview>, administratorOrgNr?: Nullable<string>, businessAgreement?: Nullable<CompanyBusinessAgreement>, classification?: string, constructionYear?: Nullable<bigint>, country?: string, createdAt?: Nullable<any>/* Nullable<Instant> */, economicReportsIncluded?: bigint, features?: Nullable<CompanyFeatures>, id?: bigint, legalObligations?: Nullable<CompanyLegalObligations>, location?: Nullable<CompanyLocation>, managed?: boolean, matrikkel?: Nullable<CompanyMatrikkel>, name?: string, nationality?: bigint, nextState?: Nullable<CompanyStatus>, nextStateAt?: Nullable<any>/* Nullable<Instant> */, note?: Nullable<string>, operatingAccount?: Nullable<string>, orgNr?: Nullable<string>, orgNrType?: Nullable<OrganizationNumberType>, pricePerShare?: Nullable<number>, relations?: Nullable<KtList<CompanyRelation>>, sections?: Nullable<CompanySectionOverview>, slug?: Nullable<string>, status?: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */): CompanyDetailed;
35
+ copy(address?: Nullable<CompanyAddressOverview>, administratorOrgNr?: Nullable<string>, businessAgreement?: Nullable<CompanyBusinessAgreement>, classification?: string, constructionYear?: Nullable<bigint>, country?: string, createdAt?: Nullable<any>/* Nullable<Instant> */, economicReportsIncluded?: bigint, features?: Nullable<CompanyFeatures>, id?: bigint, invoicingEmail?: Nullable<string>, legalObligations?: Nullable<CompanyLegalObligations>, location?: Nullable<CompanyLocation>, managed?: boolean, matrikkel?: Nullable<CompanyMatrikkel>, name?: string, nationality?: bigint, nextState?: Nullable<CompanyStatus>, nextStateAt?: Nullable<any>/* Nullable<Instant> */, note?: Nullable<string>, operatingAccount?: Nullable<string>, orgNr?: Nullable<string>, orgNrType?: Nullable<OrganizationNumberType>, pricePerShare?: Nullable<number>, relations?: Nullable<KtList<CompanyRelation>>, sections?: Nullable<CompanySectionOverview>, slug?: Nullable<string>, status?: CompanyStatus, subTypes?: Nullable<KtList<CompanySubType>>, updatedAt?: Nullable<any>/* Nullable<Instant> */): CompanyDetailed;
35
36
  toString(): string;
36
37
  hashCode(): number;
37
38
  equals(other: Nullable<any>): boolean;
@@ -99,7 +99,7 @@ function Companion() {
99
99
  // Inline function 'kotlin.arrayOf' call
100
100
  // Inline function 'kotlin.js.unsafeCast' call
101
101
  // Inline function 'kotlin.js.asDynamic' call
102
- tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, null, null, null, null, tmp_3, null, tmp_5, null, null, tmp_7, lazy(tmp_8, CompanyDetailed$Companion$$childSerializers$_anonymous__36c8gz_3), null];
102
+ tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, null, null, null, null, tmp_3, null, tmp_5, null, null, tmp_7, lazy(tmp_8, CompanyDetailed$Companion$$childSerializers$_anonymous__36c8gz_3), null];
103
103
  }
104
104
  CompanionClass = $;
105
105
  }
@@ -117,7 +117,7 @@ function $serializer() {
117
117
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
118
118
  function $() {
119
119
  $serializer_instance = this;
120
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.CompanyDetailed', this, 29);
120
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.CompanyDetailed', this, 30);
121
121
  tmp0_serialDesc.addElement_5pzumi_k$('address', true);
122
122
  tmp0_serialDesc.addElement_5pzumi_k$('administratorOrgNr', true);
123
123
  tmp0_serialDesc.addElement_5pzumi_k$('businessAgreement', true);
@@ -128,6 +128,7 @@ function $serializer() {
128
128
  tmp0_serialDesc.addElement_5pzumi_k$('economicReportsIncluded', false);
129
129
  tmp0_serialDesc.addElement_5pzumi_k$('features', true);
130
130
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
131
+ tmp0_serialDesc.addElement_5pzumi_k$('invoicingEmail', true);
131
132
  tmp0_serialDesc.addElement_5pzumi_k$('legalObligations', true);
132
133
  tmp0_serialDesc.addElement_5pzumi_k$('location', true);
133
134
  tmp0_serialDesc.addElement_5pzumi_k$('managed', false);
@@ -175,54 +176,57 @@ function $serializer() {
175
176
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, $serializer_getInstance_2(), value.features);
176
177
  }
177
178
  tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 9, value.id);
178
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.legalObligations == null)) {
179
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, $serializer_getInstance_3(), value.legalObligations);
179
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.invoicingEmail == null)) {
180
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.invoicingEmail);
180
181
  }
181
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.location == null)) {
182
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, $serializer_getInstance_4(), value.location);
182
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.legalObligations == null)) {
183
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, $serializer_getInstance_3(), value.legalObligations);
183
184
  }
184
- tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 12, value.managed);
185
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.matrikkel == null)) {
186
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, $serializer_getInstance_5(), value.matrikkel);
185
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.location == null)) {
186
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, $serializer_getInstance_4(), value.location);
187
187
  }
188
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 14, value.name);
189
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 15, value.nationality);
190
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.nextState == null)) {
191
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, tmp2_cached[16].get_value_j01efc_k$(), value.nextState);
188
+ tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 13, value.managed);
189
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.matrikkel == null)) {
190
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, $serializer_getInstance_5(), value.matrikkel);
192
191
  }
193
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.nextStateAt == null)) {
194
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, InstantSerializer_getInstance(), value.nextStateAt);
192
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 15, value.name);
193
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 16, value.nationality);
194
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.nextState == null)) {
195
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, tmp2_cached[17].get_value_j01efc_k$(), value.nextState);
195
196
  }
196
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.note == null)) {
197
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, StringSerializer_getInstance(), value.note);
197
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.nextStateAt == null)) {
198
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, InstantSerializer_getInstance(), value.nextStateAt);
198
199
  }
199
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.operatingAccount == null)) {
200
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, StringSerializer_getInstance(), value.operatingAccount);
200
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.note == null)) {
201
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, StringSerializer_getInstance(), value.note);
201
202
  }
202
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.orgNr == null)) {
203
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, StringSerializer_getInstance(), value.orgNr);
203
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.operatingAccount == null)) {
204
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, StringSerializer_getInstance(), value.operatingAccount);
204
205
  }
205
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.orgNrType == null)) {
206
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.orgNrType);
206
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.orgNr == null)) {
207
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, StringSerializer_getInstance(), value.orgNr);
207
208
  }
208
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.pricePerShare == null)) {
209
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, DoubleSerializer_getInstance(), value.pricePerShare);
209
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.orgNrType == null)) {
210
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, tmp2_cached[22].get_value_j01efc_k$(), value.orgNrType);
210
211
  }
211
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.relations == null)) {
212
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, tmp2_cached[23].get_value_j01efc_k$(), value.relations);
212
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.pricePerShare == null)) {
213
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, DoubleSerializer_getInstance(), value.pricePerShare);
213
214
  }
214
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 24) ? true : !(value.sections == null)) {
215
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 24, $serializer_getInstance_6(), value.sections);
215
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 24) ? true : !(value.relations == null)) {
216
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 24, tmp2_cached[24].get_value_j01efc_k$(), value.relations);
216
217
  }
217
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.slug == null)) {
218
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, StringSerializer_getInstance(), value.slug);
218
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.sections == null)) {
219
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, $serializer_getInstance_6(), value.sections);
219
220
  }
220
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 26, tmp2_cached[26].get_value_j01efc_k$(), value.status);
221
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.subTypes == null)) {
222
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, tmp2_cached[27].get_value_j01efc_k$(), value.subTypes);
221
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.slug == null)) {
222
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, StringSerializer_getInstance(), value.slug);
223
223
  }
224
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.updatedAt == null)) {
225
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, InstantSerializer_getInstance(), value.updatedAt);
224
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 27, tmp2_cached[27].get_value_j01efc_k$(), value.status);
225
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.subTypes == null)) {
226
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, tmp2_cached[28].get_value_j01efc_k$(), value.subTypes);
227
+ }
228
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.updatedAt == null)) {
229
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, InstantSerializer_getInstance(), value.updatedAt);
226
230
  }
227
231
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
228
232
  };
@@ -246,11 +250,11 @@ function $serializer() {
246
250
  var tmp13_local9 = 0n;
247
251
  var tmp14_local10 = null;
248
252
  var tmp15_local11 = null;
249
- var tmp16_local12 = false;
250
- var tmp17_local13 = null;
253
+ var tmp16_local12 = null;
254
+ var tmp17_local13 = false;
251
255
  var tmp18_local14 = null;
252
- var tmp19_local15 = 0n;
253
- var tmp20_local16 = null;
256
+ var tmp19_local15 = null;
257
+ var tmp20_local16 = 0n;
254
258
  var tmp21_local17 = null;
255
259
  var tmp22_local18 = null;
256
260
  var tmp23_local19 = null;
@@ -263,196 +267,203 @@ function $serializer() {
263
267
  var tmp30_local26 = null;
264
268
  var tmp31_local27 = null;
265
269
  var tmp32_local28 = null;
266
- var tmp33_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
267
- var tmp34_cached = Companion_getInstance_2().$childSerializers_1;
268
- if (tmp33_input.decodeSequentially_xlblqy_k$()) {
269
- tmp4_local0 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
270
+ var tmp33_local29 = null;
271
+ var tmp34_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
272
+ var tmp35_cached = Companion_getInstance_2().$childSerializers_1;
273
+ if (tmp34_input.decodeSequentially_xlblqy_k$()) {
274
+ tmp4_local0 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
270
275
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
271
- tmp5_local1 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
276
+ tmp5_local1 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
272
277
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
273
- tmp6_local2 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
278
+ tmp6_local2 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
274
279
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
275
- tmp7_local3 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
280
+ tmp7_local3 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
276
281
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
277
- tmp8_local4 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
282
+ tmp8_local4 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
278
283
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
279
- tmp9_local5 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
284
+ tmp9_local5 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
280
285
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
281
- tmp10_local6 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
286
+ tmp10_local6 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
282
287
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
283
- tmp11_local7 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
288
+ tmp11_local7 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
284
289
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
285
- tmp12_local8 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_2(), tmp12_local8);
290
+ tmp12_local8 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_2(), tmp12_local8);
286
291
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
287
- tmp13_local9 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
292
+ tmp13_local9 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
288
293
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
289
- tmp14_local10 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
294
+ tmp14_local10 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
290
295
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
291
- tmp15_local11 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_4(), tmp15_local11);
296
+ tmp15_local11 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_3(), tmp15_local11);
292
297
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
293
- tmp16_local12 = tmp33_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 12);
298
+ tmp16_local12 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, $serializer_getInstance_4(), tmp16_local12);
294
299
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
295
- tmp17_local13 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, $serializer_getInstance_5(), tmp17_local13);
300
+ tmp17_local13 = tmp34_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 13);
296
301
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
297
- tmp18_local14 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
302
+ tmp18_local14 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_5(), tmp18_local14);
298
303
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
299
- tmp19_local15 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 15);
304
+ tmp19_local15 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 15);
300
305
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
301
- tmp20_local16 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, tmp34_cached[16].get_value_j01efc_k$(), tmp20_local16);
306
+ tmp20_local16 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 16);
302
307
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
303
- tmp21_local17 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, InstantSerializer_getInstance(), tmp21_local17);
308
+ tmp21_local17 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, tmp35_cached[17].get_value_j01efc_k$(), tmp21_local17);
304
309
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
305
- tmp22_local18 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance(), tmp22_local18);
310
+ tmp22_local18 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, InstantSerializer_getInstance(), tmp22_local18);
306
311
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
307
- tmp23_local19 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
312
+ tmp23_local19 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
308
313
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
309
- tmp24_local20 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
314
+ tmp24_local20 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
310
315
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
311
- tmp25_local21 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp34_cached[21].get_value_j01efc_k$(), tmp25_local21);
316
+ tmp25_local21 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, StringSerializer_getInstance(), tmp25_local21);
312
317
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
313
- tmp26_local22 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, DoubleSerializer_getInstance(), tmp26_local22);
318
+ tmp26_local22 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, tmp35_cached[22].get_value_j01efc_k$(), tmp26_local22);
314
319
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
315
- tmp27_local23 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, tmp34_cached[23].get_value_j01efc_k$(), tmp27_local23);
320
+ tmp27_local23 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, DoubleSerializer_getInstance(), tmp27_local23);
316
321
  tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
317
- tmp28_local24 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, $serializer_getInstance_6(), tmp28_local24);
322
+ tmp28_local24 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, tmp35_cached[24].get_value_j01efc_k$(), tmp28_local24);
318
323
  tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
319
- tmp29_local25 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, StringSerializer_getInstance(), tmp29_local25);
324
+ tmp29_local25 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, $serializer_getInstance_6(), tmp29_local25);
320
325
  tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
321
- tmp30_local26 = tmp33_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 26, tmp34_cached[26].get_value_j01efc_k$(), tmp30_local26);
326
+ tmp30_local26 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp30_local26);
322
327
  tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
323
- tmp31_local27 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, tmp34_cached[27].get_value_j01efc_k$(), tmp31_local27);
328
+ tmp31_local27 = tmp34_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 27, tmp35_cached[27].get_value_j01efc_k$(), tmp31_local27);
324
329
  tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
325
- tmp32_local28 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, InstantSerializer_getInstance(), tmp32_local28);
330
+ tmp32_local28 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, tmp35_cached[28].get_value_j01efc_k$(), tmp32_local28);
326
331
  tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
332
+ tmp33_local29 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, InstantSerializer_getInstance(), tmp33_local29);
333
+ tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
327
334
  } else
328
335
  while (tmp1_flag) {
329
- tmp2_index = tmp33_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
336
+ tmp2_index = tmp34_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
330
337
  switch (tmp2_index) {
331
338
  case -1:
332
339
  tmp1_flag = false;
333
340
  break;
334
341
  case 0:
335
- tmp4_local0 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
342
+ tmp4_local0 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
336
343
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
337
344
  break;
338
345
  case 1:
339
- tmp5_local1 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
346
+ tmp5_local1 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
340
347
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
341
348
  break;
342
349
  case 2:
343
- tmp6_local2 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
350
+ tmp6_local2 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
344
351
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
345
352
  break;
346
353
  case 3:
347
- tmp7_local3 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
354
+ tmp7_local3 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
348
355
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
349
356
  break;
350
357
  case 4:
351
- tmp8_local4 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
358
+ tmp8_local4 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
352
359
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
353
360
  break;
354
361
  case 5:
355
- tmp9_local5 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
362
+ tmp9_local5 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
356
363
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
357
364
  break;
358
365
  case 6:
359
- tmp10_local6 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
366
+ tmp10_local6 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
360
367
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
361
368
  break;
362
369
  case 7:
363
- tmp11_local7 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
370
+ tmp11_local7 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
364
371
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
365
372
  break;
366
373
  case 8:
367
- tmp12_local8 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_2(), tmp12_local8);
374
+ tmp12_local8 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_2(), tmp12_local8);
368
375
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
369
376
  break;
370
377
  case 9:
371
- tmp13_local9 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
378
+ tmp13_local9 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 9);
372
379
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
373
380
  break;
374
381
  case 10:
375
- tmp14_local10 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
382
+ tmp14_local10 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
376
383
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
377
384
  break;
378
385
  case 11:
379
- tmp15_local11 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_4(), tmp15_local11);
386
+ tmp15_local11 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_3(), tmp15_local11);
380
387
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
381
388
  break;
382
389
  case 12:
383
- tmp16_local12 = tmp33_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 12);
390
+ tmp16_local12 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, $serializer_getInstance_4(), tmp16_local12);
384
391
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
385
392
  break;
386
393
  case 13:
387
- tmp17_local13 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, $serializer_getInstance_5(), tmp17_local13);
394
+ tmp17_local13 = tmp34_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 13);
388
395
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
389
396
  break;
390
397
  case 14:
391
- tmp18_local14 = tmp33_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
398
+ tmp18_local14 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_5(), tmp18_local14);
392
399
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
393
400
  break;
394
401
  case 15:
395
- tmp19_local15 = tmp33_input.decodeLongElement_994anb_k$(tmp0_desc, 15);
402
+ tmp19_local15 = tmp34_input.decodeStringElement_3oenpg_k$(tmp0_desc, 15);
396
403
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
397
404
  break;
398
405
  case 16:
399
- tmp20_local16 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, tmp34_cached[16].get_value_j01efc_k$(), tmp20_local16);
406
+ tmp20_local16 = tmp34_input.decodeLongElement_994anb_k$(tmp0_desc, 16);
400
407
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
401
408
  break;
402
409
  case 17:
403
- tmp21_local17 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, InstantSerializer_getInstance(), tmp21_local17);
410
+ tmp21_local17 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, tmp35_cached[17].get_value_j01efc_k$(), tmp21_local17);
404
411
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
405
412
  break;
406
413
  case 18:
407
- tmp22_local18 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance(), tmp22_local18);
414
+ tmp22_local18 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, InstantSerializer_getInstance(), tmp22_local18);
408
415
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
409
416
  break;
410
417
  case 19:
411
- tmp23_local19 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
418
+ tmp23_local19 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
412
419
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
413
420
  break;
414
421
  case 20:
415
- tmp24_local20 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
422
+ tmp24_local20 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
416
423
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
417
424
  break;
418
425
  case 21:
419
- tmp25_local21 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp34_cached[21].get_value_j01efc_k$(), tmp25_local21);
426
+ tmp25_local21 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, StringSerializer_getInstance(), tmp25_local21);
420
427
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
421
428
  break;
422
429
  case 22:
423
- tmp26_local22 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, DoubleSerializer_getInstance(), tmp26_local22);
430
+ tmp26_local22 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, tmp35_cached[22].get_value_j01efc_k$(), tmp26_local22);
424
431
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
425
432
  break;
426
433
  case 23:
427
- tmp27_local23 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, tmp34_cached[23].get_value_j01efc_k$(), tmp27_local23);
434
+ tmp27_local23 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, DoubleSerializer_getInstance(), tmp27_local23);
428
435
  tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
429
436
  break;
430
437
  case 24:
431
- tmp28_local24 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, $serializer_getInstance_6(), tmp28_local24);
438
+ tmp28_local24 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 24, tmp35_cached[24].get_value_j01efc_k$(), tmp28_local24);
432
439
  tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
433
440
  break;
434
441
  case 25:
435
- tmp29_local25 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, StringSerializer_getInstance(), tmp29_local25);
442
+ tmp29_local25 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, $serializer_getInstance_6(), tmp29_local25);
436
443
  tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
437
444
  break;
438
445
  case 26:
439
- tmp30_local26 = tmp33_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 26, tmp34_cached[26].get_value_j01efc_k$(), tmp30_local26);
446
+ tmp30_local26 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance(), tmp30_local26);
440
447
  tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
441
448
  break;
442
449
  case 27:
443
- tmp31_local27 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, tmp34_cached[27].get_value_j01efc_k$(), tmp31_local27);
450
+ tmp31_local27 = tmp34_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 27, tmp35_cached[27].get_value_j01efc_k$(), tmp31_local27);
444
451
  tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
445
452
  break;
446
453
  case 28:
447
- tmp32_local28 = tmp33_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, InstantSerializer_getInstance(), tmp32_local28);
454
+ tmp32_local28 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, tmp35_cached[28].get_value_j01efc_k$(), tmp32_local28);
448
455
  tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
449
456
  break;
457
+ case 29:
458
+ tmp33_local29 = tmp34_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, InstantSerializer_getInstance(), tmp33_local29);
459
+ tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
460
+ break;
450
461
  default:
451
462
  throw UnknownFieldException_init_$Create$(tmp2_index);
452
463
  }
453
464
  }
454
- tmp33_input.endStructure_1xqz0n_k$(tmp0_desc);
455
- return CompanyDetailed_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, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, tmp30_local26, tmp31_local27, tmp32_local28, null);
465
+ tmp34_input.endStructure_1xqz0n_k$(tmp0_desc);
466
+ return CompanyDetailed_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, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, tmp30_local26, tmp31_local27, tmp32_local28, tmp33_local29, null);
456
467
  };
457
468
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
458
469
  return this.descriptor_1;
@@ -462,7 +473,7 @@ function $serializer() {
462
473
  // Inline function 'kotlin.arrayOf' call
463
474
  // Inline function 'kotlin.js.unsafeCast' call
464
475
  // Inline function 'kotlin.js.asDynamic' call
465
- return [get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), StringSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_2()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_3()), get_nullable($serializer_getInstance_4()), BooleanSerializer_getInstance(), get_nullable($serializer_getInstance_5()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[16].get_value_j01efc_k$()), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[21].get_value_j01efc_k$()), get_nullable(DoubleSerializer_getInstance()), get_nullable(tmp0_cached[23].get_value_j01efc_k$()), get_nullable($serializer_getInstance_6()), get_nullable(StringSerializer_getInstance()), tmp0_cached[26].get_value_j01efc_k$(), get_nullable(tmp0_cached[27].get_value_j01efc_k$()), get_nullable(InstantSerializer_getInstance())];
476
+ return [get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), StringSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_2()), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_3()), get_nullable($serializer_getInstance_4()), BooleanSerializer_getInstance(), get_nullable($serializer_getInstance_5()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[17].get_value_j01efc_k$()), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[22].get_value_j01efc_k$()), get_nullable(DoubleSerializer_getInstance()), get_nullable(tmp0_cached[24].get_value_j01efc_k$()), get_nullable($serializer_getInstance_6()), get_nullable(StringSerializer_getInstance()), tmp0_cached[27].get_value_j01efc_k$(), get_nullable(tmp0_cached[28].get_value_j01efc_k$()), get_nullable(InstantSerializer_getInstance())];
466
477
  };
467
478
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
468
479
  $serializerClass = $;
@@ -475,9 +486,9 @@ function $serializer_getInstance_7() {
475
486
  new ($serializer())();
476
487
  return $serializer_instance;
477
488
  }
478
- function CompanyDetailed_init_$Init$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker, $this) {
479
- if (!(67162792 === (67162792 & seen0))) {
480
- throwMissingFieldException(seen0, 67162792, $serializer_getInstance_7().descriptor_1);
489
+ function CompanyDetailed_init_$Init$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker, $this) {
490
+ if (!(134324904 === (134324904 & seen0))) {
491
+ throwMissingFieldException(seen0, 134324904, $serializer_getInstance_7().descriptor_1);
481
492
  }
482
493
  if (0 === (seen0 & 1))
483
494
  $this.address = null;
@@ -508,79 +519,83 @@ function CompanyDetailed_init_$Init$(seen0, address, administratorOrgNr, busines
508
519
  $this.features = features;
509
520
  $this.id = id;
510
521
  if (0 === (seen0 & 1024))
522
+ $this.invoicingEmail = null;
523
+ else
524
+ $this.invoicingEmail = invoicingEmail;
525
+ if (0 === (seen0 & 2048))
511
526
  $this.legalObligations = null;
512
527
  else
513
528
  $this.legalObligations = legalObligations;
514
- if (0 === (seen0 & 2048))
529
+ if (0 === (seen0 & 4096))
515
530
  $this.location = null;
516
531
  else
517
532
  $this.location = location;
518
533
  $this.managed = managed;
519
- if (0 === (seen0 & 8192))
534
+ if (0 === (seen0 & 16384))
520
535
  $this.matrikkel = null;
521
536
  else
522
537
  $this.matrikkel = matrikkel;
523
538
  $this.name = name;
524
539
  $this.nationality = nationality;
525
- if (0 === (seen0 & 65536))
540
+ if (0 === (seen0 & 131072))
526
541
  $this.nextState = null;
527
542
  else
528
543
  $this.nextState = nextState;
529
- if (0 === (seen0 & 131072))
544
+ if (0 === (seen0 & 262144))
530
545
  $this.nextStateAt = null;
531
546
  else
532
547
  $this.nextStateAt = nextStateAt;
533
- if (0 === (seen0 & 262144))
548
+ if (0 === (seen0 & 524288))
534
549
  $this.note = null;
535
550
  else
536
551
  $this.note = note;
537
- if (0 === (seen0 & 524288))
552
+ if (0 === (seen0 & 1048576))
538
553
  $this.operatingAccount = null;
539
554
  else
540
555
  $this.operatingAccount = operatingAccount;
541
- if (0 === (seen0 & 1048576))
556
+ if (0 === (seen0 & 2097152))
542
557
  $this.orgNr = null;
543
558
  else
544
559
  $this.orgNr = orgNr;
545
- if (0 === (seen0 & 2097152))
560
+ if (0 === (seen0 & 4194304))
546
561
  $this.orgNrType = null;
547
562
  else
548
563
  $this.orgNrType = orgNrType;
549
- if (0 === (seen0 & 4194304))
564
+ if (0 === (seen0 & 8388608))
550
565
  $this.pricePerShare = null;
551
566
  else
552
567
  $this.pricePerShare = pricePerShare;
553
- if (0 === (seen0 & 8388608))
568
+ if (0 === (seen0 & 16777216))
554
569
  $this.relations = null;
555
570
  else
556
571
  $this.relations = relations;
557
- if (0 === (seen0 & 16777216))
572
+ if (0 === (seen0 & 33554432))
558
573
  $this.sections = null;
559
574
  else
560
575
  $this.sections = sections;
561
- if (0 === (seen0 & 33554432))
576
+ if (0 === (seen0 & 67108864))
562
577
  $this.slug = null;
563
578
  else
564
579
  $this.slug = slug;
565
580
  $this.status = status;
566
- if (0 === (seen0 & 134217728))
581
+ if (0 === (seen0 & 268435456))
567
582
  $this.subTypes = null;
568
583
  else
569
584
  $this.subTypes = subTypes;
570
- if (0 === (seen0 & 268435456))
585
+ if (0 === (seen0 & 536870912))
571
586
  $this.updatedAt = null;
572
587
  else
573
588
  $this.updatedAt = updatedAt;
574
589
  return $this;
575
590
  }
576
- function CompanyDetailed_init_$Create$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker) {
577
- return CompanyDetailed_init_$Init$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker, objectCreate(protoOf(CompanyDetailed())));
591
+ function CompanyDetailed_init_$Create$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker) {
592
+ return CompanyDetailed_init_$Init$(seen0, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, serializationConstructorMarker, objectCreate(protoOf(CompanyDetailed())));
578
593
  }
579
594
  var CompanyDetailedClass;
580
595
  function CompanyDetailed() {
581
596
  if (CompanyDetailedClass === VOID) {
582
597
  initMetadataForClass($, 'CompanyDetailed', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
583
- function $(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) {
598
+ function $(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) {
584
599
  var __soliboProps = arguments.length === 1 && typeof address === 'object' && address !== null && address.constructor === Object;
585
600
  var __soliboTmp, __soliboConverted = false;
586
601
  if (__soliboProps) {
@@ -604,6 +619,7 @@ function CompanyDetailed() {
604
619
  economicReportsIncluded = ('economicReportsIncluded' in props ? props.economicReportsIncluded : VOID);
605
620
  features = ('features' in props ? props.features : VOID);
606
621
  id = ('id' in props ? props.id : VOID);
622
+ invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
607
623
  legalObligations = ('legalObligations' in props ? props.legalObligations : VOID);
608
624
  location = ('location' in props ? props.location : VOID);
609
625
  managed = ('managed' in props ? props.managed : VOID);
@@ -665,6 +681,7 @@ function CompanyDetailed() {
665
681
  constructionYear = constructionYear === VOID ? null : constructionYear;
666
682
  createdAt = createdAt === VOID ? null : createdAt;
667
683
  features = features === VOID ? null : features;
684
+ invoicingEmail = invoicingEmail === VOID ? null : invoicingEmail;
668
685
  legalObligations = legalObligations === VOID ? null : legalObligations;
669
686
  location = location === VOID ? null : location;
670
687
  matrikkel = matrikkel === VOID ? null : matrikkel;
@@ -690,6 +707,7 @@ function CompanyDetailed() {
690
707
  this.economicReportsIncluded = economicReportsIncluded;
691
708
  this.features = features;
692
709
  this.id = id;
710
+ this.invoicingEmail = invoicingEmail;
693
711
  this.legalObligations = legalObligations;
694
712
  this.location = location;
695
713
  this.managed = managed;
@@ -741,6 +759,9 @@ function CompanyDetailed() {
741
759
  protoOf($).get_id_kntnx8_k$ = function () {
742
760
  return this.id;
743
761
  };
762
+ protoOf($).get_invoicingEmail_jgzfh7_k$ = function () {
763
+ return this.invoicingEmail;
764
+ };
744
765
  protoOf($).get_legalObligations_1yh4p1_k$ = function () {
745
766
  return this.legalObligations;
746
767
  };
@@ -829,66 +850,69 @@ function CompanyDetailed() {
829
850
  return this.id;
830
851
  };
831
852
  protoOf($).component11_gazzfn_k$ = function () {
832
- return this.legalObligations;
853
+ return this.invoicingEmail;
833
854
  };
834
855
  protoOf($).component12_gazzfm_k$ = function () {
835
- return this.location;
856
+ return this.legalObligations;
836
857
  };
837
858
  protoOf($).component13_gazzfl_k$ = function () {
838
- return this.managed;
859
+ return this.location;
839
860
  };
840
861
  protoOf($).component14_gazzfk_k$ = function () {
841
- return this.matrikkel;
862
+ return this.managed;
842
863
  };
843
864
  protoOf($).component15_gazzfj_k$ = function () {
844
- return this.name;
865
+ return this.matrikkel;
845
866
  };
846
867
  protoOf($).component16_gazzfi_k$ = function () {
847
- return this.nationality;
868
+ return this.name;
848
869
  };
849
870
  protoOf($).component17_gazzfh_k$ = function () {
850
- return this.nextState;
871
+ return this.nationality;
851
872
  };
852
873
  protoOf($).component18_gazzfg_k$ = function () {
853
- return this.nextStateAt;
874
+ return this.nextState;
854
875
  };
855
876
  protoOf($).component19_gazzff_k$ = function () {
856
- return this.note;
877
+ return this.nextStateAt;
857
878
  };
858
879
  protoOf($).component20_gazzet_k$ = function () {
859
- return this.operatingAccount;
880
+ return this.note;
860
881
  };
861
882
  protoOf($).component21_gazzes_k$ = function () {
862
- return this.orgNr;
883
+ return this.operatingAccount;
863
884
  };
864
885
  protoOf($).component22_gazzer_k$ = function () {
865
- return this.orgNrType;
886
+ return this.orgNr;
866
887
  };
867
888
  protoOf($).component23_gazzeq_k$ = function () {
868
- return this.pricePerShare;
889
+ return this.orgNrType;
869
890
  };
870
891
  protoOf($).component24_gazzep_k$ = function () {
871
- return this.relations;
892
+ return this.pricePerShare;
872
893
  };
873
894
  protoOf($).component25_gazzeo_k$ = function () {
874
- return this.sections;
895
+ return this.relations;
875
896
  };
876
897
  protoOf($).component26_gazzen_k$ = function () {
877
- return this.slug;
898
+ return this.sections;
878
899
  };
879
900
  protoOf($).component27_gazzem_k$ = function () {
880
- return this.status;
901
+ return this.slug;
881
902
  };
882
903
  protoOf($).component28_gazzel_k$ = function () {
883
- return this.subTypes;
904
+ return this.status;
884
905
  };
885
906
  protoOf($).component29_gazzek_k$ = function () {
907
+ return this.subTypes;
908
+ };
909
+ protoOf($).component30_gazzdy_k$ = function () {
886
910
  return this.updatedAt;
887
911
  };
888
- protoOf($).copy_1q63ak_k$ = function (address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) {
889
- return new (CompanyDetailed())(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt);
912
+ protoOf($).copy_9unwqt_k$ = function (address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) {
913
+ return new (CompanyDetailed())(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt);
890
914
  };
891
- protoOf($).copy = function (address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, $super) {
915
+ protoOf($).copy = function (address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt, $super) {
892
916
  address = address === VOID ? this.address : address;
893
917
  administratorOrgNr = administratorOrgNr === VOID ? this.administratorOrgNr : administratorOrgNr;
894
918
  businessAgreement = businessAgreement === VOID ? this.businessAgreement : businessAgreement;
@@ -899,6 +923,7 @@ function CompanyDetailed() {
899
923
  economicReportsIncluded = economicReportsIncluded === VOID ? this.economicReportsIncluded : economicReportsIncluded;
900
924
  features = features === VOID ? this.features : features;
901
925
  id = id === VOID ? this.id : id;
926
+ invoicingEmail = invoicingEmail === VOID ? this.invoicingEmail : invoicingEmail;
902
927
  legalObligations = legalObligations === VOID ? this.legalObligations : legalObligations;
903
928
  location = location === VOID ? this.location : location;
904
929
  managed = managed === VOID ? this.managed : managed;
@@ -918,10 +943,10 @@ function CompanyDetailed() {
918
943
  status = status === VOID ? this.status : status;
919
944
  subTypes = subTypes === VOID ? this.subTypes : subTypes;
920
945
  updatedAt = updatedAt === VOID ? this.updatedAt : updatedAt;
921
- return $super === VOID ? this.copy_1q63ak_k$(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) : $super.copy_1q63ak_k$.call(this, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt);
946
+ return $super === VOID ? this.copy_9unwqt_k$(address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt) : $super.copy_9unwqt_k$.call(this, address, administratorOrgNr, businessAgreement, classification, constructionYear, country, createdAt, economicReportsIncluded, features, id, invoicingEmail, legalObligations, location, managed, matrikkel, name, nationality, nextState, nextStateAt, note, operatingAccount, orgNr, orgNrType, pricePerShare, relations, sections, slug, status, subTypes, updatedAt);
922
947
  };
923
948
  protoOf($).toString = function () {
924
- return 'CompanyDetailed(address=' + toString(this.address) + ', administratorOrgNr=' + this.administratorOrgNr + ', businessAgreement=' + toString(this.businessAgreement) + ', classification=' + this.classification + ', constructionYear=' + toString(this.constructionYear) + ', country=' + this.country + ', createdAt=' + toString(this.createdAt) + ', economicReportsIncluded=' + this.economicReportsIncluded.toString() + ', features=' + toString(this.features) + ', id=' + this.id.toString() + ', legalObligations=' + toString(this.legalObligations) + ', location=' + toString(this.location) + ', managed=' + this.managed + ', matrikkel=' + toString(this.matrikkel) + ', name=' + this.name + ', nationality=' + this.nationality.toString() + ', nextState=' + toString(this.nextState) + ', nextStateAt=' + toString(this.nextStateAt) + ', note=' + this.note + ', operatingAccount=' + this.operatingAccount + ', orgNr=' + this.orgNr + ', orgNrType=' + toString(this.orgNrType) + ', pricePerShare=' + this.pricePerShare + ', relations=' + toString(this.relations) + ', sections=' + toString(this.sections) + ', slug=' + this.slug + ', status=' + this.status.toString() + ', subTypes=' + toString(this.subTypes) + ', updatedAt=' + toString(this.updatedAt) + ')';
949
+ return 'CompanyDetailed(address=' + toString(this.address) + ', administratorOrgNr=' + this.administratorOrgNr + ', businessAgreement=' + toString(this.businessAgreement) + ', classification=' + this.classification + ', constructionYear=' + toString(this.constructionYear) + ', country=' + this.country + ', createdAt=' + toString(this.createdAt) + ', economicReportsIncluded=' + this.economicReportsIncluded.toString() + ', features=' + toString(this.features) + ', id=' + this.id.toString() + ', invoicingEmail=' + this.invoicingEmail + ', legalObligations=' + toString(this.legalObligations) + ', location=' + toString(this.location) + ', managed=' + this.managed + ', matrikkel=' + toString(this.matrikkel) + ', name=' + this.name + ', nationality=' + this.nationality.toString() + ', nextState=' + toString(this.nextState) + ', nextStateAt=' + toString(this.nextStateAt) + ', note=' + this.note + ', operatingAccount=' + this.operatingAccount + ', orgNr=' + this.orgNr + ', orgNrType=' + toString(this.orgNrType) + ', pricePerShare=' + this.pricePerShare + ', relations=' + toString(this.relations) + ', sections=' + toString(this.sections) + ', slug=' + this.slug + ', status=' + this.status.toString() + ', subTypes=' + toString(this.subTypes) + ', updatedAt=' + toString(this.updatedAt) + ')';
925
950
  };
926
951
  protoOf($).hashCode = function () {
927
952
  var result = this.address == null ? 0 : this.address.hashCode();
@@ -934,6 +959,7 @@ function CompanyDetailed() {
934
959
  result = imul(result, 31) + getBigIntHashCode(this.economicReportsIncluded) | 0;
935
960
  result = imul(result, 31) + (this.features == null ? 0 : this.features.hashCode()) | 0;
936
961
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
962
+ result = imul(result, 31) + (this.invoicingEmail == null ? 0 : getStringHashCode(this.invoicingEmail)) | 0;
937
963
  result = imul(result, 31) + (this.legalObligations == null ? 0 : this.legalObligations.hashCode()) | 0;
938
964
  result = imul(result, 31) + (this.location == null ? 0 : this.location.hashCode()) | 0;
939
965
  result = imul(result, 31) + getBooleanHashCode(this.managed) | 0;
@@ -980,6 +1006,8 @@ function CompanyDetailed() {
980
1006
  return false;
981
1007
  if (!(this.id === other.id))
982
1008
  return false;
1009
+ if (!(this.invoicingEmail == other.invoicingEmail))
1010
+ return false;
983
1011
  if (!equals(this.legalObligations, other.legalObligations))
984
1012
  return false;
985
1013
  if (!equals(this.location, other.location))
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.57.4');
31
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.57.5');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -2589,6 +2589,7 @@ export interface CompanyDetailedProps {
2589
2589
  economicReportsIncluded: bigint;
2590
2590
  features?: CompanyFeaturesProps | null | undefined;
2591
2591
  id: bigint;
2592
+ invoicingEmail?: string | null | undefined;
2592
2593
  legalObligations?: CompanyLegalObligationsProps | null | undefined;
2593
2594
  location?: CompanyLocationProps | null | undefined;
2594
2595
  managed: boolean;
@@ -2611,7 +2612,7 @@ export interface CompanyDetailedProps {
2611
2612
  }
2612
2613
  export declare class CompanyDetailed {
2613
2614
  constructor(props: CompanyDetailedProps);
2614
- constructor(address: CompanyAddressOverview | null | undefined, administratorOrgNr: string | null | undefined, businessAgreement: CompanyBusinessAgreement | null | undefined, classification: string, constructionYear: bigint | null | undefined, country: string, createdAt: SoliboInstant /* Instant */ | null | undefined, economicReportsIncluded: bigint, features: CompanyFeatures | null | undefined, id: bigint, legalObligations: CompanyLegalObligations | null | undefined, location: CompanyLocation | null | undefined, managed: boolean, matrikkel: CompanyMatrikkel | null | undefined, name: string, nationality: bigint, nextState: CompanyStatus | null | undefined, nextStateAt: SoliboInstant /* Instant */ | null | undefined, note: string | null | undefined, operatingAccount: string | null | undefined, orgNr: string | null | undefined, orgNrType: OrganizationNumberType | null | undefined, pricePerShare: number | null | undefined, relations: CompanyRelation[] | null | undefined, sections: CompanySectionOverview | null | undefined, slug: string | null | undefined, status: CompanyStatus, subTypes?: CompanySubType[] | null | undefined, updatedAt?: SoliboInstant /* Instant */ | null | undefined);
2615
+ constructor(address: CompanyAddressOverview | null | undefined, administratorOrgNr: string | null | undefined, businessAgreement: CompanyBusinessAgreement | null | undefined, classification: string, constructionYear: bigint | null | undefined, country: string, createdAt: SoliboInstant /* Instant */ | null | undefined, economicReportsIncluded: bigint, features: CompanyFeatures | null | undefined, id: bigint, invoicingEmail: string | null | undefined, legalObligations: CompanyLegalObligations | null | undefined, location: CompanyLocation | null | undefined, managed: boolean, matrikkel: CompanyMatrikkel | null | undefined, name: string, nationality: bigint, nextState: CompanyStatus | null | undefined, nextStateAt: SoliboInstant /* Instant */ | null | undefined, note: string | null | undefined, operatingAccount: string | null | undefined, orgNr: string | null | undefined, orgNrType: OrganizationNumberType | null | undefined, pricePerShare: number | null | undefined, relations: CompanyRelation[] | null | undefined, sections: CompanySectionOverview | null | undefined, slug: string | null | undefined, status: CompanyStatus, subTypes?: CompanySubType[] | null | undefined, updatedAt?: SoliboInstant /* Instant */ | null | undefined);
2615
2616
  get address(): CompanyAddressOverview | null | undefined;
2616
2617
  get administratorOrgNr(): string | null | undefined;
2617
2618
  get businessAgreement(): CompanyBusinessAgreement | null | undefined;
@@ -2622,6 +2623,7 @@ export declare class CompanyDetailed {
2622
2623
  get economicReportsIncluded(): bigint;
2623
2624
  get features(): CompanyFeatures | null | undefined;
2624
2625
  get id(): bigint;
2626
+ get invoicingEmail(): string | null | undefined;
2625
2627
  get legalObligations(): CompanyLegalObligations | null | undefined;
2626
2628
  get location(): CompanyLocation | null | undefined;
2627
2629
  get managed(): boolean;