@solibo/solibo-sdk 1.1.22 → 1.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/KmLogging-logging.mjs.map +1 -1
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
  3. package/KotlinBigInteger-bignum.mjs.map +1 -1
  4. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +1 -1
  5. package/MultiplatformSettings-multiplatform-settings.mjs.map +1 -1
  6. package/Stately-stately-concurrency.mjs.map +1 -1
  7. package/Stately-stately-strict.mjs.map +1 -1
  8. package/cryptography-kotlin-cryptography-bigint.mjs.map +1 -1
  9. package/cryptography-kotlin-cryptography-core.mjs.map +1 -1
  10. package/cryptography-kotlin-cryptography-provider-base.mjs.map +1 -1
  11. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs.map +1 -1
  12. package/cryptography-kotlin-cryptography-random.mjs.map +1 -1
  13. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs.map +1 -1
  14. package/cryptography-kotlin-cryptography-serialization-asn1.mjs.map +1 -1
  15. package/cryptography-kotlin-cryptography-serialization-pem.mjs.map +1 -1
  16. package/index.d.ts +2 -0
  17. package/index.mjs +6 -0
  18. package/kotlin-kotlin-stdlib.mjs +12 -12
  19. package/kotlinx-atomicfu.mjs.map +1 -1
  20. package/kotlinx-browser.mjs.map +1 -1
  21. package/kotlinx-coroutines-core.mjs +7 -7
  22. package/kotlinx-coroutines-core.mjs.map +1 -1
  23. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
  24. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  26. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  27. package/ktor-ktor-client-auth.mjs.map +1 -1
  28. package/ktor-ktor-client-content-negotiation.mjs.map +1 -1
  29. package/ktor-ktor-client-core.mjs.map +1 -1
  30. package/ktor-ktor-client-logging.mjs.map +1 -1
  31. package/ktor-ktor-client-mock.mjs.map +1 -1
  32. package/ktor-ktor-events.mjs.map +1 -1
  33. package/ktor-ktor-http-cio.mjs.map +1 -1
  34. package/ktor-ktor-http.mjs.map +1 -1
  35. package/ktor-ktor-io.mjs.map +1 -1
  36. package/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -1
  37. package/ktor-ktor-serialization-kotlinx.mjs.map +1 -1
  38. package/ktor-ktor-serialization.mjs.map +1 -1
  39. package/ktor-ktor-utils.mjs.map +1 -1
  40. package/ktor-ktor-websockets.mjs +2 -2
  41. package/ktor-ktor-websockets.mjs.map +1 -1
  42. package/package.json +2 -2
  43. package/solibo-sdk-sdk-home-api.mjs +232 -231
  44. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  45. package/solibo-sdk-sdk.d.mts +12 -63
  46. package/solibo-sdk-sdk.mjs +1995 -2156
  47. package/solibo-sdk-sdk.mjs.map +1 -1
  48. package/kotlin-kotlin-stdlib.mjs.map +0 -1
@@ -3457,12 +3457,12 @@ function AccountList(availableFunds, bank, loans, operatingBalance, operatingBal
3457
3457
  bank = ('bank' in props ? props.bank : VOID);
3458
3458
  if (Array.isArray(bank)) {
3459
3459
  bank = bank.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Account(i) : i);
3460
- if (typeof ArrayList_init_$Create$ === 'function') bank = ArrayList_init_$Create$(bank);
3460
+ if (typeof ArrayList_init_$Create$ === 'function') bank = ArrayList_init_$Create$(bank); else if (typeof ArrayList_init_$Create$_0 === 'function') bank = ArrayList_init_$Create$_0(bank);
3461
3461
  }
3462
3462
  loans = ('loans' in props ? props.loans : VOID);
3463
3463
  if (Array.isArray(loans)) {
3464
3464
  loans = loans.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Account(i) : i);
3465
- if (typeof ArrayList_init_$Create$ === 'function') loans = ArrayList_init_$Create$(loans);
3465
+ if (typeof ArrayList_init_$Create$ === 'function') loans = ArrayList_init_$Create$(loans); else if (typeof ArrayList_init_$Create$_0 === 'function') loans = ArrayList_init_$Create$_0(loans);
3466
3466
  }
3467
3467
  operatingBalance = ('operatingBalance' in props ? props.operatingBalance : VOID);
3468
3468
  operatingBalanceAt = ('operatingBalanceAt' in props ? props.operatingBalanceAt : VOID);
@@ -3977,7 +3977,7 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
3977
3977
  attachments = ('attachments' in props ? props.attachments : VOID);
3978
3978
  if (Array.isArray(attachments)) {
3979
3979
  attachments = attachments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
3980
- if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments);
3980
+ if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments); else if (typeof ArrayList_init_$Create$_0 === 'function') attachments = ArrayList_init_$Create$_0(attachments);
3981
3981
  }
3982
3982
  companyId = ('companyId' in props ? props.companyId : VOID);
3983
3983
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
@@ -4954,7 +4954,7 @@ function AdHocInvoiceLineResult(group, lines) {
4954
4954
  lines = ('lines' in props ? props.lines : VOID);
4955
4955
  if (Array.isArray(lines)) {
4956
4956
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new AdHocInvoiceLine(i) : i);
4957
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
4957
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
4958
4958
  }
4959
4959
  }
4960
4960
  Companion_getInstance_7();
@@ -5118,7 +5118,7 @@ function AdHocInvoiceLinesInputCommand(group, lines) {
5118
5118
  lines = ('lines' in props ? props.lines : VOID);
5119
5119
  if (Array.isArray(lines)) {
5120
5120
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateAdHocInvoiceLineCommand(i) : i);
5121
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
5121
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
5122
5122
  }
5123
5123
  }
5124
5124
  Companion_getInstance_8();
@@ -5260,7 +5260,7 @@ function AdHocInvoiceLinesUpdateInputCommand(lines) {
5260
5260
  lines = ('lines' in props ? props.lines : VOID);
5261
5261
  if (Array.isArray(lines)) {
5262
5262
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new UpdateAdHocInvoiceLineCommand(i) : i);
5263
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
5263
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
5264
5264
  }
5265
5265
  }
5266
5266
  Companion_getInstance_9();
@@ -10688,7 +10688,7 @@ function CommunicationReport(recipients) {
10688
10688
  recipients = ('recipients' in props ? props.recipients : VOID);
10689
10689
  if (Array.isArray(recipients)) {
10690
10690
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CommunicationRecipientReport(i) : i);
10691
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
10691
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
10692
10692
  }
10693
10693
  }
10694
10694
  Companion_getInstance_43();
@@ -11123,7 +11123,7 @@ function Company(addresses, classification, country, id, managed, name, national
11123
11123
  addresses = ('addresses' in props ? props.addresses : VOID);
11124
11124
  if (Array.isArray(addresses)) {
11125
11125
  addresses = addresses.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CompanyAddress(i) : i);
11126
- if (typeof ArrayList_init_$Create$ === 'function') addresses = ArrayList_init_$Create$(addresses);
11126
+ if (typeof ArrayList_init_$Create$ === 'function') addresses = ArrayList_init_$Create$(addresses); else if (typeof ArrayList_init_$Create$_0 === 'function') addresses = ArrayList_init_$Create$_0(addresses);
11127
11127
  }
11128
11128
  classification = ('classification' in props ? props.classification : VOID);
11129
11129
  country = ('country' in props ? props.country : VOID);
@@ -12235,7 +12235,7 @@ function CompanyDetailed(address, administratorOrgNr, businessAgreement, classif
12235
12235
  relations = ('relations' in props ? props.relations : VOID);
12236
12236
  if (Array.isArray(relations)) {
12237
12237
  relations = relations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CompanyRelation(i) : i);
12238
- if (typeof ArrayList_init_$Create$ === 'function') relations = ArrayList_init_$Create$(relations);
12238
+ if (typeof ArrayList_init_$Create$ === 'function') relations = ArrayList_init_$Create$(relations); else if (typeof ArrayList_init_$Create$_0 === 'function') relations = ArrayList_init_$Create$_0(relations);
12239
12239
  }
12240
12240
  sections = ('sections' in props ? props.sections : VOID);
12241
12241
  if (typeof sections === 'object' && sections !== null && sections.constructor === Object) sections = new CompanySectionOverview(sections);
@@ -13611,7 +13611,7 @@ function CompanyOverdueInvoiceOverview(company, expiredAsPercentageOfSharedExpen
13611
13611
  invoiceOverviews = ('invoiceOverviews' in props ? props.invoiceOverviews : VOID);
13612
13612
  if (Array.isArray(invoiceOverviews)) {
13613
13613
  invoiceOverviews = invoiceOverviews.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoiceOverview(i) : i);
13614
- if (typeof ArrayList_init_$Create$ === 'function') invoiceOverviews = ArrayList_init_$Create$(invoiceOverviews);
13614
+ if (typeof ArrayList_init_$Create$ === 'function') invoiceOverviews = ArrayList_init_$Create$(invoiceOverviews); else if (typeof ArrayList_init_$Create$_0 === 'function') invoiceOverviews = ArrayList_init_$Create$_0(invoiceOverviews);
13615
13615
  }
13616
13616
  latePaymentFeeDemanded = ('latePaymentFeeDemanded' in props ? props.latePaymentFeeDemanded : VOID);
13617
13617
  latePaymentFeeDemandedExpired = ('latePaymentFeeDemandedExpired' in props ? props.latePaymentFeeDemandedExpired : VOID);
@@ -16664,12 +16664,12 @@ function Conversation(category, companyId, conversationStartedAt, documents, eve
16664
16664
  documents = ('documents' in props ? props.documents : VOID);
16665
16665
  if (Array.isArray(documents)) {
16666
16666
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
16667
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
16667
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
16668
16668
  }
16669
16669
  events = ('events' in props ? props.events : VOID);
16670
16670
  if (Array.isArray(events)) {
16671
16671
  events = events.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ConversationEvent(i) : i);
16672
- if (typeof ArrayList_init_$Create$ === 'function') events = ArrayList_init_$Create$(events);
16672
+ if (typeof ArrayList_init_$Create$ === 'function') events = ArrayList_init_$Create$(events); else if (typeof ArrayList_init_$Create$_0 === 'function') events = ArrayList_init_$Create$_0(events);
16673
16673
  }
16674
16674
  id = ('id' in props ? props.id : VOID);
16675
16675
  internalConversation = ('internalConversation' in props ? props.internalConversation : VOID);
@@ -16678,14 +16678,14 @@ function Conversation(category, companyId, conversationStartedAt, documents, eve
16678
16678
  messages = ('messages' in props ? props.messages : VOID);
16679
16679
  if (Array.isArray(messages)) {
16680
16680
  messages = messages.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MessageInConversation(i) : i);
16681
- if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages);
16681
+ if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages); else if (typeof ArrayList_init_$Create$_0 === 'function') messages = ArrayList_init_$Create$_0(messages);
16682
16682
  }
16683
16683
  participants = ('participants' in props ? props.participants : VOID);
16684
16684
  readByCurrentUser = ('readByCurrentUser' in props ? props.readByCurrentUser : VOID);
16685
16685
  relatedIssues = ('relatedIssues' in props ? props.relatedIssues : VOID);
16686
16686
  if (Array.isArray(relatedIssues)) {
16687
16687
  relatedIssues = relatedIssues.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new IssueInConversation(i) : i);
16688
- if (typeof ArrayList_init_$Create$ === 'function') relatedIssues = ArrayList_init_$Create$(relatedIssues);
16688
+ if (typeof ArrayList_init_$Create$ === 'function') relatedIssues = ArrayList_init_$Create$(relatedIssues); else if (typeof ArrayList_init_$Create$_0 === 'function') relatedIssues = ArrayList_init_$Create$_0(relatedIssues);
16689
16689
  }
16690
16690
  status = ('status' in props ? props.status : VOID);
16691
16691
  title = ('title' in props ? props.title : VOID);
@@ -18408,7 +18408,7 @@ function ConversationInIssue(id, participants, title) {
18408
18408
  participants = ('participants' in props ? props.participants : VOID);
18409
18409
  if (Array.isArray(participants)) {
18410
18410
  participants = participants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
18411
- if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants);
18411
+ if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants); else if (typeof ArrayList_init_$Create$_0 === 'function') participants = ArrayList_init_$Create$_0(participants);
18412
18412
  }
18413
18413
  title = ('title' in props ? props.title : VOID);
18414
18414
  }
@@ -18582,7 +18582,7 @@ function ConversationList(items, meta, paging) {
18582
18582
  items = ('items' in props ? props.items : VOID);
18583
18583
  if (Array.isArray(items)) {
18584
18584
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Conversation(i) : i);
18585
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
18585
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
18586
18586
  }
18587
18587
  meta = ('meta' in props ? props.meta : VOID);
18588
18588
  if (typeof meta === 'object' && meta !== null && meta.constructor === Object) meta = new Meta(meta);
@@ -19834,7 +19834,7 @@ function CreateAdHocInvoiceGroupCommand(attachments, description, name, produceA
19834
19834
  attachments = ('attachments' in props ? props.attachments : VOID);
19835
19835
  if (Array.isArray(attachments)) {
19836
19836
  attachments = attachments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateAdHocInvoiceGroupAttachment(i) : i);
19837
- if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments);
19837
+ if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments); else if (typeof ArrayList_init_$Create$_0 === 'function') attachments = ArrayList_init_$Create$_0(attachments);
19838
19838
  }
19839
19839
  description = ('description' in props ? props.description : VOID);
19840
19840
  name = ('name' in props ? props.name : VOID);
@@ -20471,7 +20471,7 @@ function CreateAddress(address, sections) {
20471
20471
  sections = ('sections' in props ? props.sections : VOID);
20472
20472
  if (Array.isArray(sections)) {
20473
20473
  sections = sections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateSection(i) : i);
20474
- if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections);
20474
+ if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections); else if (typeof ArrayList_init_$Create$_0 === 'function') sections = ArrayList_init_$Create$_0(sections);
20475
20475
  }
20476
20476
  }
20477
20477
  Companion_getInstance_87();
@@ -21154,7 +21154,7 @@ function CreateCompany(addresses, businessAgreement, classification, constructio
21154
21154
  addresses = ('addresses' in props ? props.addresses : VOID);
21155
21155
  if (Array.isArray(addresses)) {
21156
21156
  addresses = addresses.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateAddress(i) : i);
21157
- if (typeof ArrayList_init_$Create$ === 'function') addresses = ArrayList_init_$Create$(addresses);
21157
+ if (typeof ArrayList_init_$Create$ === 'function') addresses = ArrayList_init_$Create$(addresses); else if (typeof ArrayList_init_$Create$_0 === 'function') addresses = ArrayList_init_$Create$_0(addresses);
21158
21158
  }
21159
21159
  businessAgreement = ('businessAgreement' in props ? props.businessAgreement : VOID);
21160
21160
  if (typeof businessAgreement === 'object' && businessAgreement !== null && businessAgreement.constructor === Object) businessAgreement = new BusinessAgreement(businessAgreement);
@@ -21163,7 +21163,7 @@ function CreateCompany(addresses, businessAgreement, classification, constructio
21163
21163
  detachedSections = ('detachedSections' in props ? props.detachedSections : VOID);
21164
21164
  if (Array.isArray(detachedSections)) {
21165
21165
  detachedSections = detachedSections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateSection(i) : i);
21166
- if (typeof ArrayList_init_$Create$ === 'function') detachedSections = ArrayList_init_$Create$(detachedSections);
21166
+ if (typeof ArrayList_init_$Create$ === 'function') detachedSections = ArrayList_init_$Create$(detachedSections); else if (typeof ArrayList_init_$Create$_0 === 'function') detachedSections = ArrayList_init_$Create$_0(detachedSections);
21167
21167
  }
21168
21168
  invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
21169
21169
  location = ('location' in props ? props.location : VOID);
@@ -21177,17 +21177,17 @@ function CreateCompany(addresses, businessAgreement, classification, constructio
21177
21177
  organizations = ('organizations' in props ? props.organizations : VOID);
21178
21178
  if (Array.isArray(organizations)) {
21179
21179
  organizations = organizations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateOrganization(i) : i);
21180
- if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations);
21180
+ if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations); else if (typeof ArrayList_init_$Create$_0 === 'function') organizations = ArrayList_init_$Create$_0(organizations);
21181
21181
  }
21182
21182
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
21183
21183
  if (Array.isArray(parkingSpaces)) {
21184
21184
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateParkingSpace(i) : i);
21185
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
21185
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
21186
21186
  }
21187
21187
  persons = ('persons' in props ? props.persons : VOID);
21188
21188
  if (Array.isArray(persons)) {
21189
21189
  persons = persons.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreatePerson(i) : i);
21190
- if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons);
21190
+ if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons); else if (typeof ArrayList_init_$Create$_0 === 'function') persons = ArrayList_init_$Create$_0(persons);
21191
21191
  }
21192
21192
  secondaryActions = ('secondaryActions' in props ? props.secondaryActions : VOID);
21193
21193
  if (typeof secondaryActions === 'object' && secondaryActions !== null && secondaryActions.constructor === Object) secondaryActions = new SecondaryActions(secondaryActions);
@@ -21195,7 +21195,7 @@ function CreateCompany(addresses, businessAgreement, classification, constructio
21195
21195
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
21196
21196
  if (Array.isArray(storageRooms)) {
21197
21197
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateStorageRoom(i) : i);
21198
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
21198
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
21199
21199
  }
21200
21200
  subTypes = ('subTypes' in props ? props.subTypes : VOID);
21201
21201
  }
@@ -21889,12 +21889,12 @@ function CreateConversationCommand(categoryId, content, draft, externalParticipa
21889
21889
  externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
21890
21890
  if (Array.isArray(externalParticipants)) {
21891
21891
  externalParticipants = externalParticipants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ExternalConversationParticipant(i) : i);
21892
- if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants);
21892
+ if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants); else if (typeof ArrayList_init_$Create$_0 === 'function') externalParticipants = ArrayList_init_$Create$_0(externalParticipants);
21893
21893
  }
21894
21894
  participants = ('participants' in props ? props.participants : VOID);
21895
21895
  if (Array.isArray(participants)) {
21896
21896
  participants = participants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ConversationParticipantMeta(i) : i);
21897
- if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants);
21897
+ if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants); else if (typeof ArrayList_init_$Create$_0 === 'function') participants = ArrayList_init_$Create$_0(participants);
21898
21898
  }
21899
21899
  title = ('title' in props ? props.title : VOID);
21900
21900
  }
@@ -24104,12 +24104,12 @@ function CreateInvoiceDistributionCommand(description, fractions, lines, name, t
24104
24104
  fractions = ('fractions' in props ? props.fractions : VOID);
24105
24105
  if (Array.isArray(fractions)) {
24106
24106
  fractions = fractions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceDistributionFractionInput(i) : i);
24107
- if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions);
24107
+ if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions); else if (typeof ArrayList_init_$Create$_0 === 'function') fractions = ArrayList_init_$Create$_0(fractions);
24108
24108
  }
24109
24109
  lines = ('lines' in props ? props.lines : VOID);
24110
24110
  if (Array.isArray(lines)) {
24111
24111
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateInvoicePlanLineCommand(i) : i);
24112
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
24112
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
24113
24113
  }
24114
24114
  name = ('name' in props ? props.name : VOID);
24115
24115
  type = ('type' in props ? props.type : VOID);
@@ -24769,17 +24769,17 @@ function CreateInvoicePlanCommand(attachments, distributions, lines, name, setti
24769
24769
  attachments = ('attachments' in props ? props.attachments : VOID);
24770
24770
  if (Array.isArray(attachments)) {
24771
24771
  attachments = attachments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateInvoicePlanAttachment(i) : i);
24772
- if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments);
24772
+ if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments); else if (typeof ArrayList_init_$Create$_0 === 'function') attachments = ArrayList_init_$Create$_0(attachments);
24773
24773
  }
24774
24774
  distributions = ('distributions' in props ? props.distributions : VOID);
24775
24775
  if (Array.isArray(distributions)) {
24776
24776
  distributions = distributions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateInvoiceDistributionCommand(i) : i);
24777
- if (typeof ArrayList_init_$Create$ === 'function') distributions = ArrayList_init_$Create$(distributions);
24777
+ if (typeof ArrayList_init_$Create$ === 'function') distributions = ArrayList_init_$Create$(distributions); else if (typeof ArrayList_init_$Create$_0 === 'function') distributions = ArrayList_init_$Create$_0(distributions);
24778
24778
  }
24779
24779
  lines = ('lines' in props ? props.lines : VOID);
24780
24780
  if (Array.isArray(lines)) {
24781
24781
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateInvoicePlanLineCommand(i) : i);
24782
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
24782
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
24783
24783
  }
24784
24784
  name = ('name' in props ? props.name : VOID);
24785
24785
  settings = ('settings' in props ? props.settings : VOID);
@@ -27286,7 +27286,7 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
27286
27286
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
27287
27287
  if (Array.isArray(notificationGroups)) {
27288
27288
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
27289
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
27289
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
27290
27290
  }
27291
27291
  plainText = ('plainText' in props ? props.plainText : VOID);
27292
27292
  publish = ('publish' in props ? props.publish : VOID);
@@ -27623,7 +27623,7 @@ function CreateOrganization(contact, information, invoicingAddress, name, note,
27623
27623
  roles = ('roles' in props ? props.roles : VOID);
27624
27624
  if (Array.isArray(roles)) {
27625
27625
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OrganizationRoleInput(i) : i);
27626
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
27626
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
27627
27627
  }
27628
27628
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
27629
27629
  }
@@ -30504,17 +30504,17 @@ function CreatePostCommand(content, contentUrls, notificationEmailGroups, notifi
30504
30504
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
30505
30505
  if (Array.isArray(contentUrls)) {
30506
30506
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
30507
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
30507
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
30508
30508
  }
30509
30509
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
30510
30510
  if (Array.isArray(notificationEmailGroups)) {
30511
30511
  notificationEmailGroups = notificationEmailGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
30512
- if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups);
30512
+ if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationEmailGroups = ArrayList_init_$Create$_0(notificationEmailGroups);
30513
30513
  }
30514
30514
  notificationSMSGroups = ('notificationSMSGroups' in props ? props.notificationSMSGroups : VOID);
30515
30515
  if (Array.isArray(notificationSMSGroups)) {
30516
30516
  notificationSMSGroups = notificationSMSGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
30517
- if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups);
30517
+ if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationSMSGroups = ArrayList_init_$Create$_0(notificationSMSGroups);
30518
30518
  }
30519
30519
  pictureUrl = ('pictureUrl' in props ? props.pictureUrl : VOID);
30520
30520
  if (typeof pictureUrl === 'object' && pictureUrl !== null && pictureUrl.constructor === Object) pictureUrl = new Content(pictureUrl);
@@ -30899,17 +30899,17 @@ function CreatePracticalInfoCommand(content, contentUrls, notificationEmailGroup
30899
30899
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
30900
30900
  if (Array.isArray(contentUrls)) {
30901
30901
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
30902
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
30902
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
30903
30903
  }
30904
30904
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
30905
30905
  if (Array.isArray(notificationEmailGroups)) {
30906
30906
  notificationEmailGroups = notificationEmailGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
30907
- if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups);
30907
+ if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationEmailGroups = ArrayList_init_$Create$_0(notificationEmailGroups);
30908
30908
  }
30909
30909
  notificationSMSGroups = ('notificationSMSGroups' in props ? props.notificationSMSGroups : VOID);
30910
30910
  if (Array.isArray(notificationSMSGroups)) {
30911
30911
  notificationSMSGroups = notificationSMSGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
30912
- if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups);
30912
+ if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationSMSGroups = ArrayList_init_$Create$_0(notificationSMSGroups);
30913
30913
  }
30914
30914
  pictureUrl = ('pictureUrl' in props ? props.pictureUrl : VOID);
30915
30915
  if (typeof pictureUrl === 'object' && pictureUrl !== null && pictureUrl.constructor === Object) pictureUrl = new Content(pictureUrl);
@@ -31910,7 +31910,7 @@ function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
31910
31910
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
31911
31911
  if (Array.isArray(notificationGroups)) {
31912
31912
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
31913
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
31913
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
31914
31914
  }
31915
31915
  plainText = ('plainText' in props ? props.plainText : VOID);
31916
31916
  publish = ('publish' in props ? props.publish : VOID);
@@ -32304,13 +32304,13 @@ function CreateSection(apartmentNr, classification, fractions, hNr, identifier,
32304
32304
  organizations = ('organizations' in props ? props.organizations : VOID);
32305
32305
  if (Array.isArray(organizations)) {
32306
32306
  organizations = organizations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateOrganization(i) : i);
32307
- if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations);
32307
+ if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations); else if (typeof ArrayList_init_$Create$_0 === 'function') organizations = ArrayList_init_$Create$_0(organizations);
32308
32308
  }
32309
32309
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
32310
32310
  persons = ('persons' in props ? props.persons : VOID);
32311
32311
  if (Array.isArray(persons)) {
32312
32312
  persons = persons.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreatePerson(i) : i);
32313
- if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons);
32313
+ if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons); else if (typeof ArrayList_init_$Create$_0 === 'function') persons = ArrayList_init_$Create$_0(persons);
32314
32314
  }
32315
32315
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
32316
32316
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
@@ -33151,7 +33151,7 @@ function CreateSettlementCommand(description, endDate, invoices, settlementProvi
33151
33151
  invoices = ('invoices' in props ? props.invoices : VOID);
33152
33152
  if (Array.isArray(invoices)) {
33153
33153
  invoices = invoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SettlementInvoice(i) : i);
33154
- if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices);
33154
+ if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices); else if (typeof ArrayList_init_$Create$_0 === 'function') invoices = ArrayList_init_$Create$_0(invoices);
33155
33155
  }
33156
33156
  settlementProviderId = ('settlementProviderId' in props ? props.settlementProviderId : VOID);
33157
33157
  startDate = ('startDate' in props ? props.startDate : VOID);
@@ -35435,7 +35435,7 @@ function CreditInvoiceCommand(description, lines, overrideCreditDate) {
35435
35435
  lines = ('lines' in props ? props.lines : VOID);
35436
35436
  if (Array.isArray(lines)) {
35437
35437
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceLineInput(i) : i);
35438
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
35438
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
35439
35439
  }
35440
35440
  overrideCreditDate = ('overrideCreditDate' in props ? props.overrideCreditDate : VOID);
35441
35441
  }
@@ -38040,7 +38040,7 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
38040
38040
  children = ('children' in props ? props.children : VOID);
38041
38041
  if (Array.isArray(children)) {
38042
38042
  children = children.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
38043
- if (typeof ArrayList_init_$Create$ === 'function') children = ArrayList_init_$Create$(children);
38043
+ if (typeof ArrayList_init_$Create$ === 'function') children = ArrayList_init_$Create$(children); else if (typeof ArrayList_init_$Create$_0 === 'function') children = ArrayList_init_$Create$_0(children);
38044
38044
  }
38045
38045
  companyId = ('companyId' in props ? props.companyId : VOID);
38046
38046
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
@@ -39443,7 +39443,7 @@ function EconomicReportResponse(reports, reportsIncluded) {
39443
39443
  reports = ('reports' in props ? props.reports : VOID);
39444
39444
  if (Array.isArray(reports)) {
39445
39445
  reports = reports.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new EconomicReport(i) : i);
39446
- if (typeof ArrayList_init_$Create$ === 'function') reports = ArrayList_init_$Create$(reports);
39446
+ if (typeof ArrayList_init_$Create$ === 'function') reports = ArrayList_init_$Create$(reports); else if (typeof ArrayList_init_$Create$_0 === 'function') reports = ArrayList_init_$Create$_0(reports);
39447
39447
  }
39448
39448
  reportsIncluded = ('reportsIncluded' in props ? props.reportsIncluded : VOID);
39449
39449
  }
@@ -40350,7 +40350,7 @@ function Expense(account, amount, createdAt, createdBy, dateOfPurchase, descript
40350
40350
  expenseProcessing = ('expenseProcessing' in props ? props.expenseProcessing : VOID);
40351
40351
  if (Array.isArray(expenseProcessing)) {
40352
40352
  expenseProcessing = expenseProcessing.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ExpenseProcessing(i) : i);
40353
- if (typeof ArrayList_init_$Create$ === 'function') expenseProcessing = ArrayList_init_$Create$(expenseProcessing);
40353
+ if (typeof ArrayList_init_$Create$ === 'function') expenseProcessing = ArrayList_init_$Create$(expenseProcessing); else if (typeof ArrayList_init_$Create$_0 === 'function') expenseProcessing = ArrayList_init_$Create$_0(expenseProcessing);
40354
40354
  }
40355
40355
  expenseType = ('expenseType' in props ? props.expenseType : VOID);
40356
40356
  id = ('id' in props ? props.id : VOID);
@@ -42900,7 +42900,7 @@ function FindResidentResult(accountNumber, address, birthDay, completeMobile, co
42900
42900
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
42901
42901
  if (Array.isArray(historicRoles)) {
42902
42902
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
42903
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
42903
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
42904
42904
  }
42905
42905
  id = ('id' in props ? props.id : VOID);
42906
42906
  invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
@@ -42914,7 +42914,7 @@ function FindResidentResult(accountNumber, address, birthDay, completeMobile, co
42914
42914
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
42915
42915
  if (Array.isArray(parkingSpaces)) {
42916
42916
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
42917
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
42917
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
42918
42918
  }
42919
42919
  personnummerId = ('personnummerId' in props ? props.personnummerId : VOID);
42920
42920
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
@@ -42924,12 +42924,12 @@ function FindResidentResult(accountNumber, address, birthDay, completeMobile, co
42924
42924
  roles = ('roles' in props ? props.roles : VOID);
42925
42925
  if (Array.isArray(roles)) {
42926
42926
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
42927
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
42927
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
42928
42928
  }
42929
42929
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
42930
42930
  if (Array.isArray(storageRooms)) {
42931
42931
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
42932
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
42932
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
42933
42933
  }
42934
42934
  title = ('title' in props ? props.title : VOID);
42935
42935
  userId = ('userId' in props ? props.userId : VOID);
@@ -44265,7 +44265,7 @@ function GenerateThirdPartyInformationCommand(debt, inFourDebt, inOneDebt, inThr
44265
44265
  periods = ('periods' in props ? props.periods : VOID);
44266
44266
  if (Array.isArray(periods)) {
44267
44267
  periods = periods.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThreePOPeriodInput(i) : i);
44268
- if (typeof ArrayList_init_$Create$ === 'function') periods = ArrayList_init_$Create$(periods);
44268
+ if (typeof ArrayList_init_$Create$ === 'function') periods = ArrayList_init_$Create$(periods); else if (typeof ArrayList_init_$Create$_0 === 'function') periods = ArrayList_init_$Create$_0(periods);
44269
44269
  }
44270
44270
  taxAssessedValues = ('taxAssessedValues' in props ? props.taxAssessedValues : VOID);
44271
44271
  wealth = ('wealth' in props ? props.wealth : VOID);
@@ -45495,7 +45495,7 @@ function GenghisInvoice(credits, description, dueDate, externalReferenceId, id,
45495
45495
  credits = ('credits' in props ? props.credits : VOID);
45496
45496
  if (Array.isArray(credits)) {
45497
45497
  credits = credits.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoice(i) : i);
45498
- if (typeof ArrayList_init_$Create$ === 'function') credits = ArrayList_init_$Create$(credits);
45498
+ if (typeof ArrayList_init_$Create$ === 'function') credits = ArrayList_init_$Create$(credits); else if (typeof ArrayList_init_$Create$_0 === 'function') credits = ArrayList_init_$Create$_0(credits);
45499
45499
  }
45500
45500
  description = ('description' in props ? props.description : VOID);
45501
45501
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
@@ -45507,12 +45507,12 @@ function GenghisInvoice(credits, description, dueDate, externalReferenceId, id,
45507
45507
  lineGroups = ('lineGroups' in props ? props.lineGroups : VOID);
45508
45508
  if (Array.isArray(lineGroups)) {
45509
45509
  lineGroups = lineGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoiceLineGroup(i) : i);
45510
- if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups);
45510
+ if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') lineGroups = ArrayList_init_$Create$_0(lineGroups);
45511
45511
  }
45512
45512
  lines = ('lines' in props ? props.lines : VOID);
45513
45513
  if (Array.isArray(lines)) {
45514
45514
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoiceLine(i) : i);
45515
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
45515
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
45516
45516
  }
45517
45517
  note = ('note' in props ? props.note : VOID);
45518
45518
  number = ('number' in props ? props.number : VOID);
@@ -45532,7 +45532,7 @@ function GenghisInvoice(credits, description, dueDate, externalReferenceId, id,
45532
45532
  payments = ('payments' in props ? props.payments : VOID);
45533
45533
  if (Array.isArray(payments)) {
45534
45534
  payments = payments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisPayment(i) : i);
45535
- if (typeof ArrayList_init_$Create$ === 'function') payments = ArrayList_init_$Create$(payments);
45535
+ if (typeof ArrayList_init_$Create$ === 'function') payments = ArrayList_init_$Create$(payments); else if (typeof ArrayList_init_$Create$_0 === 'function') payments = ArrayList_init_$Create$_0(payments);
45536
45536
  }
45537
45537
  processType = ('processType' in props ? props.processType : VOID);
45538
45538
  sum = ('sum' in props ? props.sum : VOID);
@@ -45543,7 +45543,7 @@ function GenghisInvoice(credits, description, dueDate, externalReferenceId, id,
45543
45543
  vouchers = ('vouchers' in props ? props.vouchers : VOID);
45544
45544
  if (Array.isArray(vouchers)) {
45545
45545
  vouchers = vouchers.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisVoucher(i) : i);
45546
- if (typeof ArrayList_init_$Create$ === 'function') vouchers = ArrayList_init_$Create$(vouchers);
45546
+ if (typeof ArrayList_init_$Create$ === 'function') vouchers = ArrayList_init_$Create$(vouchers); else if (typeof ArrayList_init_$Create$_0 === 'function') vouchers = ArrayList_init_$Create$_0(vouchers);
45547
45547
  }
45548
45548
  }
45549
45549
  Companion_getInstance_195();
@@ -46333,7 +46333,7 @@ function GenghisInvoiceLineGroup(description, lines) {
46333
46333
  lines = ('lines' in props ? props.lines : VOID);
46334
46334
  if (Array.isArray(lines)) {
46335
46335
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoiceLine(i) : i);
46336
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
46336
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
46337
46337
  }
46338
46338
  }
46339
46339
  Companion_getInstance_197();
@@ -47588,7 +47588,7 @@ function GenghisPaymentList(items, meta, paging) {
47588
47588
  items = ('items' in props ? props.items : VOID);
47589
47589
  if (Array.isArray(items)) {
47590
47590
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisPayment(i) : i);
47591
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
47591
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
47592
47592
  }
47593
47593
  meta = ('meta' in props ? props.meta : VOID);
47594
47594
  if (typeof meta === 'object' && meta !== null && meta.constructor === Object) meta = new GenghisMeta(meta);
@@ -48602,7 +48602,7 @@ function GenghisVoucher(description, externalReferenceId, postings, tenant, vouc
48602
48602
  postings = ('postings' in props ? props.postings : VOID);
48603
48603
  if (Array.isArray(postings)) {
48604
48604
  postings = postings.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisPosting(i) : i);
48605
- if (typeof ArrayList_init_$Create$ === 'function') postings = ArrayList_init_$Create$(postings);
48605
+ if (typeof ArrayList_init_$Create$ === 'function') postings = ArrayList_init_$Create$(postings); else if (typeof ArrayList_init_$Create$_0 === 'function') postings = ArrayList_init_$Create$_0(postings);
48606
48606
  }
48607
48607
  tenant = ('tenant' in props ? props.tenant : VOID);
48608
48608
  voucherNumber = ('voucherNumber' in props ? props.voucherNumber : VOID);
@@ -48791,7 +48791,7 @@ function GlobalPreview(companyId, upcoming) {
48791
48791
  upcoming = ('upcoming' in props ? props.upcoming : VOID);
48792
48792
  if (Array.isArray(upcoming)) {
48793
48793
  upcoming = upcoming.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GlobalPreviewUpcoming(i) : i);
48794
- if (typeof ArrayList_init_$Create$ === 'function') upcoming = ArrayList_init_$Create$(upcoming);
48794
+ if (typeof ArrayList_init_$Create$ === 'function') upcoming = ArrayList_init_$Create$(upcoming); else if (typeof ArrayList_init_$Create$_0 === 'function') upcoming = ArrayList_init_$Create$_0(upcoming);
48795
48795
  }
48796
48796
  }
48797
48797
  Companion_getInstance_206();
@@ -49129,7 +49129,7 @@ function HmsSettings(routineDraftGroups) {
49129
49129
  routineDraftGroups = ('routineDraftGroups' in props ? props.routineDraftGroups : VOID);
49130
49130
  if (Array.isArray(routineDraftGroups)) {
49131
49131
  routineDraftGroups = routineDraftGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new RoutineGroup(i) : i);
49132
- if (typeof ArrayList_init_$Create$ === 'function') routineDraftGroups = ArrayList_init_$Create$(routineDraftGroups);
49132
+ if (typeof ArrayList_init_$Create$ === 'function') routineDraftGroups = ArrayList_init_$Create$(routineDraftGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') routineDraftGroups = ArrayList_init_$Create$_0(routineDraftGroups);
49133
49133
  }
49134
49134
  }
49135
49135
  Companion_getInstance_208();
@@ -49300,14 +49300,14 @@ function Homepage(company, feed, image, practicalInformation) {
49300
49300
  feed = ('feed' in props ? props.feed : VOID);
49301
49301
  if (Array.isArray(feed)) {
49302
49302
  feed = feed.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Post(i) : i);
49303
- if (typeof ArrayList_init_$Create$ === 'function') feed = ArrayList_init_$Create$(feed);
49303
+ if (typeof ArrayList_init_$Create$ === 'function') feed = ArrayList_init_$Create$(feed); else if (typeof ArrayList_init_$Create$_0 === 'function') feed = ArrayList_init_$Create$_0(feed);
49304
49304
  }
49305
49305
  image = ('image' in props ? props.image : VOID);
49306
49306
  if (typeof image === 'object' && image !== null && image.constructor === Object) image = new Document(image);
49307
49307
  practicalInformation = ('practicalInformation' in props ? props.practicalInformation : VOID);
49308
49308
  if (Array.isArray(practicalInformation)) {
49309
49309
  practicalInformation = practicalInformation.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Post(i) : i);
49310
- if (typeof ArrayList_init_$Create$ === 'function') practicalInformation = ArrayList_init_$Create$(practicalInformation);
49310
+ if (typeof ArrayList_init_$Create$ === 'function') practicalInformation = ArrayList_init_$Create$(practicalInformation); else if (typeof ArrayList_init_$Create$_0 === 'function') practicalInformation = ArrayList_init_$Create$_0(practicalInformation);
49311
49311
  }
49312
49312
  }
49313
49313
  Companion_getInstance_209();
@@ -50487,7 +50487,7 @@ function InternalConversation(id, messages) {
50487
50487
  messages = ('messages' in props ? props.messages : VOID);
50488
50488
  if (Array.isArray(messages)) {
50489
50489
  messages = messages.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MessageInConversation(i) : i);
50490
- if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages);
50490
+ if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages); else if (typeof ArrayList_init_$Create$_0 === 'function') messages = ArrayList_init_$Create$_0(messages);
50491
50491
  }
50492
50492
  }
50493
50493
  Companion_getInstance_216();
@@ -51075,7 +51075,7 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
51075
51075
  credits = ('credits' in props ? props.credits : VOID);
51076
51076
  if (Array.isArray(credits)) {
51077
51077
  credits = credits.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Invoice(i) : i);
51078
- if (typeof ArrayList_init_$Create$ === 'function') credits = ArrayList_init_$Create$(credits);
51078
+ if (typeof ArrayList_init_$Create$ === 'function') credits = ArrayList_init_$Create$(credits); else if (typeof ArrayList_init_$Create$_0 === 'function') credits = ArrayList_init_$Create$_0(credits);
51079
51079
  }
51080
51080
  description = ('description' in props ? props.description : VOID);
51081
51081
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
@@ -51087,17 +51087,17 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
51087
51087
  lineGroups = ('lineGroups' in props ? props.lineGroups : VOID);
51088
51088
  if (Array.isArray(lineGroups)) {
51089
51089
  lineGroups = lineGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoiceLineGroup(i) : i);
51090
- if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups);
51090
+ if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') lineGroups = ArrayList_init_$Create$_0(lineGroups);
51091
51091
  }
51092
51092
  lines = ('lines' in props ? props.lines : VOID);
51093
51093
  if (Array.isArray(lines)) {
51094
51094
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new GenghisInvoiceLine(i) : i);
51095
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
51095
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
51096
51096
  }
51097
51097
  logs = ('logs' in props ? props.logs : VOID);
51098
51098
  if (Array.isArray(logs)) {
51099
51099
  logs = logs.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceLog(i) : i);
51100
- if (typeof ArrayList_init_$Create$ === 'function') logs = ArrayList_init_$Create$(logs);
51100
+ if (typeof ArrayList_init_$Create$ === 'function') logs = ArrayList_init_$Create$(logs); else if (typeof ArrayList_init_$Create$_0 === 'function') logs = ArrayList_init_$Create$_0(logs);
51101
51101
  }
51102
51102
  note = ('note' in props ? props.note : VOID);
51103
51103
  number = ('number' in props ? props.number : VOID);
@@ -51118,12 +51118,12 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
51118
51118
  payments = ('payments' in props ? props.payments : VOID);
51119
51119
  if (Array.isArray(payments)) {
51120
51120
  payments = payments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Payment(i) : i);
51121
- if (typeof ArrayList_init_$Create$ === 'function') payments = ArrayList_init_$Create$(payments);
51121
+ if (typeof ArrayList_init_$Create$ === 'function') payments = ArrayList_init_$Create$(payments); else if (typeof ArrayList_init_$Create$_0 === 'function') payments = ArrayList_init_$Create$_0(payments);
51122
51122
  }
51123
51123
  recipients = ('recipients' in props ? props.recipients : VOID);
51124
51124
  if (Array.isArray(recipients)) {
51125
51125
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new FractionRecipient(i) : i);
51126
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
51126
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
51127
51127
  }
51128
51128
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
51129
51129
  sum = ('sum' in props ? props.sum : VOID);
@@ -51134,7 +51134,7 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
51134
51134
  vouchers = ('vouchers' in props ? props.vouchers : VOID);
51135
51135
  if (Array.isArray(vouchers)) {
51136
51136
  vouchers = vouchers.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Voucher(i) : i);
51137
- if (typeof ArrayList_init_$Create$ === 'function') vouchers = ArrayList_init_$Create$(vouchers);
51137
+ if (typeof ArrayList_init_$Create$ === 'function') vouchers = ArrayList_init_$Create$(vouchers); else if (typeof ArrayList_init_$Create$_0 === 'function') vouchers = ArrayList_init_$Create$_0(vouchers);
51138
51138
  }
51139
51139
  }
51140
51140
  Companion_getInstance_217();
@@ -51896,12 +51896,12 @@ function InvoiceDataInput(advance, attachments, claim, customerReference, date,
51896
51896
  lineGroups = ('lineGroups' in props ? props.lineGroups : VOID);
51897
51897
  if (Array.isArray(lineGroups)) {
51898
51898
  lineGroups = lineGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceLineGroupInput(i) : i);
51899
- if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups);
51899
+ if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') lineGroups = ArrayList_init_$Create$_0(lineGroups);
51900
51900
  }
51901
51901
  lines = ('lines' in props ? props.lines : VOID);
51902
51902
  if (Array.isArray(lines)) {
51903
51903
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceLineInput(i) : i);
51904
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
51904
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
51905
51905
  }
51906
51906
  note = ('note' in props ? props.note : VOID);
51907
51907
  paperTax = ('paperTax' in props ? props.paperTax : VOID);
@@ -52814,7 +52814,7 @@ function InvoiceInputList(items, meta, paging) {
52814
52814
  items = ('items' in props ? props.items : VOID);
52815
52815
  if (Array.isArray(items)) {
52816
52816
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceInput(i) : i);
52817
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
52817
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
52818
52818
  }
52819
52819
  meta = ('meta' in props ? props.meta : VOID);
52820
52820
  if (typeof meta === 'object' && meta !== null && meta.constructor === Object) meta = new Meta(meta);
@@ -52986,7 +52986,7 @@ function InvoiceLineGroupInput(description, lines) {
52986
52986
  lines = ('lines' in props ? props.lines : VOID);
52987
52987
  if (Array.isArray(lines)) {
52988
52988
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceLineInput(i) : i);
52989
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
52989
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
52990
52990
  }
52991
52991
  }
52992
52992
  Companion_getInstance_225();
@@ -53602,7 +53602,7 @@ function InvoiceList(items, meta, paging) {
53602
53602
  items = ('items' in props ? props.items : VOID);
53603
53603
  if (Array.isArray(items)) {
53604
53604
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Invoice(i) : i);
53605
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
53605
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
53606
53606
  }
53607
53607
  meta = ('meta' in props ? props.meta : VOID);
53608
53608
  if (typeof meta === 'object' && meta !== null && meta.constructor === Object) meta = new Meta(meta);
@@ -54303,27 +54303,27 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
54303
54303
  distributions = ('distributions' in props ? props.distributions : VOID);
54304
54304
  if (Array.isArray(distributions)) {
54305
54305
  distributions = distributions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePlanDistribution(i) : i);
54306
- if (typeof ArrayList_init_$Create$ === 'function') distributions = ArrayList_init_$Create$(distributions);
54306
+ if (typeof ArrayList_init_$Create$ === 'function') distributions = ArrayList_init_$Create$(distributions); else if (typeof ArrayList_init_$Create$_0 === 'function') distributions = ArrayList_init_$Create$_0(distributions);
54307
54307
  }
54308
54308
  id = ('id' in props ? props.id : VOID);
54309
54309
  lines = ('lines' in props ? props.lines : VOID);
54310
54310
  if (Array.isArray(lines)) {
54311
54311
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePlanLine(i) : i);
54312
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
54312
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
54313
54313
  }
54314
54314
  name = ('name' in props ? props.name : VOID);
54315
54315
  nextPreview = ('nextPreview' in props ? props.nextPreview : VOID);
54316
54316
  previews = ('previews' in props ? props.previews : VOID);
54317
54317
  if (Array.isArray(previews)) {
54318
54318
  previews = previews.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreview(i) : i);
54319
- if (typeof ArrayList_init_$Create$ === 'function') previews = ArrayList_init_$Create$(previews);
54319
+ if (typeof ArrayList_init_$Create$ === 'function') previews = ArrayList_init_$Create$(previews); else if (typeof ArrayList_init_$Create$_0 === 'function') previews = ArrayList_init_$Create$_0(previews);
54320
54320
  }
54321
54321
  settings = ('settings' in props ? props.settings : VOID);
54322
54322
  if (typeof settings === 'object' && settings !== null && settings.constructor === Object) settings = new InvoicePlanSettings(settings);
54323
54323
  transactions = ('transactions' in props ? props.transactions : VOID);
54324
54324
  if (Array.isArray(transactions)) {
54325
54325
  transactions = transactions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePlanTransaction(i) : i);
54326
- if (typeof ArrayList_init_$Create$ === 'function') transactions = ArrayList_init_$Create$(transactions);
54326
+ if (typeof ArrayList_init_$Create$ === 'function') transactions = ArrayList_init_$Create$(transactions); else if (typeof ArrayList_init_$Create$_0 === 'function') transactions = ArrayList_init_$Create$_0(transactions);
54327
54327
  }
54328
54328
  type = ('type' in props ? props.type : VOID);
54329
54329
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
@@ -54700,7 +54700,7 @@ function InvoicePlanDistribution(createdAt, createdBy, description, fractions, i
54700
54700
  fractions = ('fractions' in props ? props.fractions : VOID);
54701
54701
  if (Array.isArray(fractions)) {
54702
54702
  fractions = fractions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ReceiverFraction(i) : i);
54703
- if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions);
54703
+ if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions); else if (typeof ArrayList_init_$Create$_0 === 'function') fractions = ArrayList_init_$Create$_0(fractions);
54704
54704
  }
54705
54705
  id = ('id' in props ? props.id : VOID);
54706
54706
  invoicePlanId = ('invoicePlanId' in props ? props.invoicePlanId : VOID);
@@ -55069,7 +55069,7 @@ function InvoicePlanLine(active, id, invoicePlanId, revisions) {
55069
55069
  revisions = ('revisions' in props ? props.revisions : VOID);
55070
55070
  if (Array.isArray(revisions)) {
55071
55071
  revisions = revisions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePlanLineRevision(i) : i);
55072
- if (typeof ArrayList_init_$Create$ === 'function') revisions = ArrayList_init_$Create$(revisions);
55072
+ if (typeof ArrayList_init_$Create$ === 'function') revisions = ArrayList_init_$Create$(revisions); else if (typeof ArrayList_init_$Create$_0 === 'function') revisions = ArrayList_init_$Create$_0(revisions);
55073
55073
  }
55074
55074
  }
55075
55075
  Companion_getInstance_234();
@@ -55674,7 +55674,7 @@ function InvoicePlanSettings(id, invoicePlanId, revisions) {
55674
55674
  revisions = ('revisions' in props ? props.revisions : VOID);
55675
55675
  if (Array.isArray(revisions)) {
55676
55676
  revisions = revisions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePlanSettingsRevision(i) : i);
55677
- if (typeof ArrayList_init_$Create$ === 'function') revisions = ArrayList_init_$Create$(revisions);
55677
+ if (typeof ArrayList_init_$Create$ === 'function') revisions = ArrayList_init_$Create$(revisions); else if (typeof ArrayList_init_$Create$_0 === 'function') revisions = ArrayList_init_$Create$_0(revisions);
55678
55678
  }
55679
55679
  }
55680
55680
  Companion_getInstance_237();
@@ -56535,19 +56535,19 @@ function InvoicePreview(boligNr, dueDate, invoiceDate, lineGroups, lines, payer,
56535
56535
  lineGroups = ('lineGroups' in props ? props.lineGroups : VOID);
56536
56536
  if (Array.isArray(lineGroups)) {
56537
56537
  lineGroups = lineGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreviewLineGroup(i) : i);
56538
- if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups);
56538
+ if (typeof ArrayList_init_$Create$ === 'function') lineGroups = ArrayList_init_$Create$(lineGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') lineGroups = ArrayList_init_$Create$_0(lineGroups);
56539
56539
  }
56540
56540
  lines = ('lines' in props ? props.lines : VOID);
56541
56541
  if (Array.isArray(lines)) {
56542
56542
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreviewLine(i) : i);
56543
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
56543
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
56544
56544
  }
56545
56545
  payer = ('payer' in props ? props.payer : VOID);
56546
56546
  if (typeof payer === 'object' && payer !== null && payer.constructor === Object) payer = new InvoicePreviewPayer(payer);
56547
56547
  recipients = ('recipients' in props ? props.recipients : VOID);
56548
56548
  if (Array.isArray(recipients)) {
56549
56549
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new FractionRecipient(i) : i);
56550
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
56550
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
56551
56551
  }
56552
56552
  }
56553
56553
  Companion_getInstance_241();
@@ -57021,7 +57021,7 @@ function InvoicePreviewLineGroup(description, lines) {
57021
57021
  lines = ('lines' in props ? props.lines : VOID);
57022
57022
  if (Array.isArray(lines)) {
57023
57023
  lines = lines.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreviewLine(i) : i);
57024
- if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines);
57024
+ if (typeof ArrayList_init_$Create$ === 'function') lines = ArrayList_init_$Create$(lines); else if (typeof ArrayList_init_$Create$_0 === 'function') lines = ArrayList_init_$Create$_0(lines);
57025
57025
  }
57026
57026
  }
57027
57027
  Companion_getInstance_243();
@@ -58291,7 +58291,7 @@ function InvoiceResultPreview(avtaleGiro, bytes, digipost, efaktura, ehf, email,
58291
58291
  recipients = ('recipients' in props ? props.recipients : VOID);
58292
58292
  if (Array.isArray(recipients)) {
58293
58293
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new FractionRecipient(i) : i);
58294
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
58294
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
58295
58295
  }
58296
58296
  }
58297
58297
  Companion_getInstance_249();
@@ -60261,7 +60261,7 @@ function Issue(companyId, description, id, meetingAt, meetingId, meetingTitle, p
60261
60261
  relatedSections = ('relatedSections' in props ? props.relatedSections : VOID);
60262
60262
  if (Array.isArray(relatedSections)) {
60263
60263
  relatedSections = relatedSections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SectionInIssue(i) : i);
60264
- if (typeof ArrayList_init_$Create$ === 'function') relatedSections = ArrayList_init_$Create$(relatedSections);
60264
+ if (typeof ArrayList_init_$Create$ === 'function') relatedSections = ArrayList_init_$Create$(relatedSections); else if (typeof ArrayList_init_$Create$_0 === 'function') relatedSections = ArrayList_init_$Create$_0(relatedSections);
60265
60265
  }
60266
60266
  responsible = ('responsible' in props ? props.responsible : VOID);
60267
60267
  if (typeof responsible === 'object' && responsible !== null && responsible.constructor === Object) responsible = new Person(responsible);
@@ -60965,7 +60965,7 @@ function IssueDetails(comments, companyId, conversationIds, createdAt, createdBy
60965
60965
  comments = ('comments' in props ? props.comments : VOID);
60966
60966
  if (Array.isArray(comments)) {
60967
60967
  comments = comments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new IssueComment(i) : i);
60968
- if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments);
60968
+ if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments); else if (typeof ArrayList_init_$Create$_0 === 'function') comments = ArrayList_init_$Create$_0(comments);
60969
60969
  }
60970
60970
  companyId = ('companyId' in props ? props.companyId : VOID);
60971
60971
  conversationIds = ('conversationIds' in props ? props.conversationIds : VOID);
@@ -60976,25 +60976,25 @@ function IssueDetails(comments, companyId, conversationIds, createdAt, createdBy
60976
60976
  documents = ('documents' in props ? props.documents : VOID);
60977
60977
  if (Array.isArray(documents)) {
60978
60978
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
60979
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
60979
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
60980
60980
  }
60981
60981
  id = ('id' in props ? props.id : VOID);
60982
60982
  meetingId = ('meetingId' in props ? props.meetingId : VOID);
60983
60983
  processingHistory = ('processingHistory' in props ? props.processingHistory : VOID);
60984
60984
  if (Array.isArray(processingHistory)) {
60985
60985
  processingHistory = processingHistory.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new IssueProcessing(i) : i);
60986
- if (typeof ArrayList_init_$Create$ === 'function') processingHistory = ArrayList_init_$Create$(processingHistory);
60986
+ if (typeof ArrayList_init_$Create$ === 'function') processingHistory = ArrayList_init_$Create$(processingHistory); else if (typeof ArrayList_init_$Create$_0 === 'function') processingHistory = ArrayList_init_$Create$_0(processingHistory);
60987
60987
  }
60988
60988
  proposedResolution = ('proposedResolution' in props ? props.proposedResolution : VOID);
60989
60989
  relatedConversations = ('relatedConversations' in props ? props.relatedConversations : VOID);
60990
60990
  if (Array.isArray(relatedConversations)) {
60991
60991
  relatedConversations = relatedConversations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ConversationInIssue(i) : i);
60992
- if (typeof ArrayList_init_$Create$ === 'function') relatedConversations = ArrayList_init_$Create$(relatedConversations);
60992
+ if (typeof ArrayList_init_$Create$ === 'function') relatedConversations = ArrayList_init_$Create$(relatedConversations); else if (typeof ArrayList_init_$Create$_0 === 'function') relatedConversations = ArrayList_init_$Create$_0(relatedConversations);
60993
60993
  }
60994
60994
  relatedSections = ('relatedSections' in props ? props.relatedSections : VOID);
60995
60995
  if (Array.isArray(relatedSections)) {
60996
60996
  relatedSections = relatedSections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SectionInIssue(i) : i);
60997
- if (typeof ArrayList_init_$Create$ === 'function') relatedSections = ArrayList_init_$Create$(relatedSections);
60997
+ if (typeof ArrayList_init_$Create$ === 'function') relatedSections = ArrayList_init_$Create$(relatedSections); else if (typeof ArrayList_init_$Create$_0 === 'function') relatedSections = ArrayList_init_$Create$_0(relatedSections);
60998
60998
  }
60999
60999
  responsible = ('responsible' in props ? props.responsible : VOID);
61000
61000
  if (typeof responsible === 'object' && responsible !== null && responsible.constructor === Object) responsible = new Person(responsible);
@@ -61704,7 +61704,7 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
61704
61704
  comments = ('comments' in props ? props.comments : VOID);
61705
61705
  if (Array.isArray(comments)) {
61706
61706
  comments = comments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new IssueComment(i) : i);
61707
- if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments);
61707
+ if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments); else if (typeof ArrayList_init_$Create$_0 === 'function') comments = ArrayList_init_$Create$_0(comments);
61708
61708
  }
61709
61709
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
61710
61710
  createdById = ('createdById' in props ? props.createdById : VOID);
@@ -61712,7 +61712,7 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
61712
61712
  documents = ('documents' in props ? props.documents : VOID);
61713
61713
  if (Array.isArray(documents)) {
61714
61714
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
61715
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
61715
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
61716
61716
  }
61717
61717
  followUp = ('followUp' in props ? props.followUp : VOID);
61718
61718
  issueId = ('issueId' in props ? props.issueId : VOID);
@@ -62236,7 +62236,7 @@ function IssueInMeetingAttachedToMeetingBy(country, email, id, mobile, name, nat
62236
62236
  roles = ('roles' in props ? props.roles : VOID);
62237
62237
  if (Array.isArray(roles)) {
62238
62238
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
62239
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
62239
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
62240
62240
  }
62241
62241
  username = ('username' in props ? props.username : VOID);
62242
62242
  }
@@ -63970,7 +63970,7 @@ function Leveranseavvik(avvik) {
63970
63970
  avvik = ('avvik' in props ? props.avvik : VOID);
63971
63971
  if (Array.isArray(avvik)) {
63972
63972
  avvik = avvik.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Avvik(i) : i);
63973
- if (typeof ArrayList_init_$Create$ === 'function') avvik = ArrayList_init_$Create$(avvik);
63973
+ if (typeof ArrayList_init_$Create$ === 'function') avvik = ArrayList_init_$Create$(avvik); else if (typeof ArrayList_init_$Create$_0 === 'function') avvik = ArrayList_init_$Create$_0(avvik);
63974
63974
  }
63975
63975
  }
63976
63976
  Companion_getInstance_271();
@@ -64223,7 +64223,7 @@ function Leveranseoppsummering(antallAvvisteOppgaver, antallAvvisteSletteoppgave
64223
64223
  totaler = ('totaler' in props ? props.totaler : VOID);
64224
64224
  if (Array.isArray(totaler)) {
64225
64225
  totaler = totaler.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Totaler(i) : i);
64226
- if (typeof ArrayList_init_$Create$ === 'function') totaler = ArrayList_init_$Create$(totaler);
64226
+ if (typeof ArrayList_init_$Create$ === 'function') totaler = ArrayList_init_$Create$(totaler); else if (typeof ArrayList_init_$Create$_0 === 'function') totaler = ArrayList_init_$Create$_0(totaler);
64227
64227
  }
64228
64228
  vaarLeveransereferanse = ('vaarLeveransereferanse' in props ? props.vaarLeveransereferanse : VOID);
64229
64229
  }
@@ -66051,7 +66051,7 @@ function MassEditOrganization(accountNumber, businessAddress, businessContact, c
66051
66051
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
66052
66052
  if (Array.isArray(historicRoles)) {
66053
66053
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
66054
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
66054
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
66055
66055
  }
66056
66056
  id = ('id' in props ? props.id : VOID);
66057
66057
  name = ('name' in props ? props.name : VOID);
@@ -66060,18 +66060,18 @@ function MassEditOrganization(accountNumber, businessAddress, businessContact, c
66060
66060
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
66061
66061
  if (Array.isArray(parkingSpaces)) {
66062
66062
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
66063
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
66063
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
66064
66064
  }
66065
66065
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
66066
66066
  roles = ('roles' in props ? props.roles : VOID);
66067
66067
  if (Array.isArray(roles)) {
66068
66068
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
66069
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
66069
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
66070
66070
  }
66071
66071
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
66072
66072
  if (Array.isArray(storageRooms)) {
66073
66073
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
66074
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
66074
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
66075
66075
  }
66076
66076
  }
66077
66077
  Companion_getInstance_279();
@@ -66350,7 +66350,7 @@ function MassEditOrganizationCommand(organizations) {
66350
66350
  organizations = ('organizations' in props ? props.organizations : VOID);
66351
66351
  if (Array.isArray(organizations)) {
66352
66352
  organizations = organizations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassEditOrganization(i) : i);
66353
- if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations);
66353
+ if (typeof ArrayList_init_$Create$ === 'function') organizations = ArrayList_init_$Create$(organizations); else if (typeof ArrayList_init_$Create$_0 === 'function') organizations = ArrayList_init_$Create$_0(organizations);
66354
66354
  }
66355
66355
  }
66356
66356
  Companion_getInstance_280();
@@ -66485,7 +66485,7 @@ function MassEditPersonCommand(persons) {
66485
66485
  persons = ('persons' in props ? props.persons : VOID);
66486
66486
  if (Array.isArray(persons)) {
66487
66487
  persons = persons.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new UpdatePersonCommand(i) : i);
66488
- if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons);
66488
+ if (typeof ArrayList_init_$Create$ === 'function') persons = ArrayList_init_$Create$(persons); else if (typeof ArrayList_init_$Create$_0 === 'function') persons = ArrayList_init_$Create$_0(persons);
66489
66489
  }
66490
66490
  }
66491
66491
  Companion_getInstance_281();
@@ -66620,7 +66620,7 @@ function MassEditRolesCommand(roles) {
66620
66620
  roles = ('roles' in props ? props.roles : VOID);
66621
66621
  if (Array.isArray(roles)) {
66622
66622
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
66623
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
66623
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
66624
66624
  }
66625
66625
  }
66626
66626
  Companion_getInstance_282();
@@ -67380,7 +67380,7 @@ function MassUpdateSectionCommand(sections) {
67380
67380
  sections = ('sections' in props ? props.sections : VOID);
67381
67381
  if (Array.isArray(sections)) {
67382
67382
  sections = sections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassUpdateSection(i) : i);
67383
- if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections);
67383
+ if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections); else if (typeof ArrayList_init_$Create$_0 === 'function') sections = ArrayList_init_$Create$_0(sections);
67384
67384
  }
67385
67385
  }
67386
67386
  Companion_getInstance_287();
@@ -67677,7 +67677,7 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
67677
67677
  externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
67678
67678
  if (Array.isArray(externalParticipants)) {
67679
67679
  externalParticipants = externalParticipants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ExternalMeetingParticipant(i) : i);
67680
- if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants);
67680
+ if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants); else if (typeof ArrayList_init_$Create$_0 === 'function') externalParticipants = ArrayList_init_$Create$_0(externalParticipants);
67681
67681
  }
67682
67682
  id = ('id' in props ? props.id : VOID);
67683
67683
  issueCount = ('issueCount' in props ? props.issueCount : VOID);
@@ -67685,7 +67685,7 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
67685
67685
  participants = ('participants' in props ? props.participants : VOID);
67686
67686
  if (Array.isArray(participants)) {
67687
67687
  participants = participants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MeetingParticipant(i) : i);
67688
- if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants);
67688
+ if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants); else if (typeof ArrayList_init_$Create$_0 === 'function') participants = ArrayList_init_$Create$_0(participants);
67689
67689
  }
67690
67690
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
67691
67691
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
@@ -68149,19 +68149,19 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
68149
68149
  externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
68150
68150
  if (Array.isArray(externalParticipants)) {
68151
68151
  externalParticipants = externalParticipants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ExternalMeetingParticipant(i) : i);
68152
- if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants);
68152
+ if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants); else if (typeof ArrayList_init_$Create$_0 === 'function') externalParticipants = ArrayList_init_$Create$_0(externalParticipants);
68153
68153
  }
68154
68154
  id = ('id' in props ? props.id : VOID);
68155
68155
  issues = ('issues' in props ? props.issues : VOID);
68156
68156
  if (Array.isArray(issues)) {
68157
68157
  issues = issues.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new IssueInMeeting(i) : i);
68158
- if (typeof ArrayList_init_$Create$ === 'function') issues = ArrayList_init_$Create$(issues);
68158
+ if (typeof ArrayList_init_$Create$ === 'function') issues = ArrayList_init_$Create$(issues); else if (typeof ArrayList_init_$Create$_0 === 'function') issues = ArrayList_init_$Create$_0(issues);
68159
68159
  }
68160
68160
  location = ('location' in props ? props.location : VOID);
68161
68161
  participants = ('participants' in props ? props.participants : VOID);
68162
68162
  if (Array.isArray(participants)) {
68163
68163
  participants = participants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MeetingParticipant(i) : i);
68164
- if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants);
68164
+ if (typeof ArrayList_init_$Create$ === 'function') participants = ArrayList_init_$Create$(participants); else if (typeof ArrayList_init_$Create$_0 === 'function') participants = ArrayList_init_$Create$_0(participants);
68165
68165
  }
68166
68166
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
68167
68167
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
@@ -71180,7 +71180,7 @@ function Newsletter(attachments, directRecipients, htmlText, id, notificationGro
71180
71180
  attachments = ('attachments' in props ? props.attachments : VOID);
71181
71181
  if (Array.isArray(attachments)) {
71182
71182
  attachments = attachments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
71183
- if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments);
71183
+ if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments); else if (typeof ArrayList_init_$Create$_0 === 'function') attachments = ArrayList_init_$Create$_0(attachments);
71184
71184
  }
71185
71185
  directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
71186
71186
  htmlText = ('htmlText' in props ? props.htmlText : VOID);
@@ -71188,14 +71188,14 @@ function Newsletter(attachments, directRecipients, htmlText, id, notificationGro
71188
71188
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
71189
71189
  if (Array.isArray(notificationGroups)) {
71190
71190
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
71191
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
71191
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
71192
71192
  }
71193
71193
  plainText = ('plainText' in props ? props.plainText : VOID);
71194
71194
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
71195
71195
  recipientStatus = ('recipientStatus' in props ? props.recipientStatus : VOID);
71196
71196
  if (Array.isArray(recipientStatus)) {
71197
71197
  recipientStatus = recipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
71198
- if (typeof ArrayList_init_$Create$ === 'function') recipientStatus = ArrayList_init_$Create$(recipientStatus);
71198
+ if (typeof ArrayList_init_$Create$ === 'function') recipientStatus = ArrayList_init_$Create$(recipientStatus); else if (typeof ArrayList_init_$Create$_0 === 'function') recipientStatus = ArrayList_init_$Create$_0(recipientStatus);
71199
71199
  }
71200
71200
  recipientsAtPublish = ('recipientsAtPublish' in props ? props.recipientsAtPublish : VOID);
71201
71201
  if (typeof recipientsAtPublish === 'object' && recipientsAtPublish !== null && recipientsAtPublish.constructor === Object) recipientsAtPublish = new MassCommunicationGroups(recipientsAtPublish);
@@ -71954,14 +71954,14 @@ function OpenHomepage(company, feed, image, practicalInfo) {
71954
71954
  feed = ('feed' in props ? props.feed : VOID);
71955
71955
  if (Array.isArray(feed)) {
71956
71956
  feed = feed.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OpenPost(i) : i);
71957
- if (typeof ArrayList_init_$Create$ === 'function') feed = ArrayList_init_$Create$(feed);
71957
+ if (typeof ArrayList_init_$Create$ === 'function') feed = ArrayList_init_$Create$(feed); else if (typeof ArrayList_init_$Create$_0 === 'function') feed = ArrayList_init_$Create$_0(feed);
71958
71958
  }
71959
71959
  image = ('image' in props ? props.image : VOID);
71960
71960
  if (typeof image === 'object' && image !== null && image.constructor === Object) image = new Document(image);
71961
71961
  practicalInfo = ('practicalInfo' in props ? props.practicalInfo : VOID);
71962
71962
  if (Array.isArray(practicalInfo)) {
71963
71963
  practicalInfo = practicalInfo.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OpenPost(i) : i);
71964
- if (typeof ArrayList_init_$Create$ === 'function') practicalInfo = ArrayList_init_$Create$(practicalInfo);
71964
+ if (typeof ArrayList_init_$Create$ === 'function') practicalInfo = ArrayList_init_$Create$(practicalInfo); else if (typeof ArrayList_init_$Create$_0 === 'function') practicalInfo = ArrayList_init_$Create$_0(practicalInfo);
71965
71965
  }
71966
71966
  }
71967
71967
  Companion_getInstance_307();
@@ -72327,12 +72327,12 @@ function OpenPost(companyId, content, contentUrls, documents, id, notificationEm
72327
72327
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
72328
72328
  if (Array.isArray(contentUrls)) {
72329
72329
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
72330
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
72330
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
72331
72331
  }
72332
72332
  documents = ('documents' in props ? props.documents : VOID);
72333
72333
  if (Array.isArray(documents)) {
72334
72334
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
72335
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
72335
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
72336
72336
  }
72337
72337
  id = ('id' in props ? props.id : VOID);
72338
72338
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
@@ -72683,7 +72683,7 @@ function Oppgave(avvik, oppgaveeier, oppgavenoekkel) {
72683
72683
  avvik = ('avvik' in props ? props.avvik : VOID);
72684
72684
  if (Array.isArray(avvik)) {
72685
72685
  avvik = avvik.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Avvik(i) : i);
72686
- if (typeof ArrayList_init_$Create$ === 'function') avvik = ArrayList_init_$Create$(avvik);
72686
+ if (typeof ArrayList_init_$Create$ === 'function') avvik = ArrayList_init_$Create$(avvik); else if (typeof ArrayList_init_$Create$_0 === 'function') avvik = ArrayList_init_$Create$_0(avvik);
72687
72687
  }
72688
72688
  oppgaveeier = ('oppgaveeier' in props ? props.oppgaveeier : VOID);
72689
72689
  if (typeof oppgaveeier === 'object' && oppgaveeier !== null && oppgaveeier.constructor === Object) oppgaveeier = new Oppgaveeier(oppgaveeier);
@@ -72846,7 +72846,7 @@ function Oppgaveavvik(oppgave) {
72846
72846
  oppgave = ('oppgave' in props ? props.oppgave : VOID);
72847
72847
  if (Array.isArray(oppgave)) {
72848
72848
  oppgave = oppgave.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Oppgave(i) : i);
72849
- if (typeof ArrayList_init_$Create$ === 'function') oppgave = ArrayList_init_$Create$(oppgave);
72849
+ if (typeof ArrayList_init_$Create$ === 'function') oppgave = ArrayList_init_$Create$(oppgave); else if (typeof ArrayList_init_$Create$_0 === 'function') oppgave = ArrayList_init_$Create$_0(oppgave);
72850
72850
  }
72851
72851
  }
72852
72852
  Companion_getInstance_310();
@@ -73847,12 +73847,12 @@ function Organization(accountNumber, businessAddress, businessContact, classific
73847
73847
  employees = ('employees' in props ? props.employees : VOID);
73848
73848
  if (Array.isArray(employees)) {
73849
73849
  employees = employees.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OrganizationEmployee(i) : i);
73850
- if (typeof ArrayList_init_$Create$ === 'function') employees = ArrayList_init_$Create$(employees);
73850
+ if (typeof ArrayList_init_$Create$ === 'function') employees = ArrayList_init_$Create$(employees); else if (typeof ArrayList_init_$Create$_0 === 'function') employees = ArrayList_init_$Create$_0(employees);
73851
73851
  }
73852
73852
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
73853
73853
  if (Array.isArray(historicRoles)) {
73854
73854
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
73855
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
73855
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
73856
73856
  }
73857
73857
  id = ('id' in props ? props.id : VOID);
73858
73858
  logoUrl = ('logoUrl' in props ? props.logoUrl : VOID);
@@ -73863,7 +73863,7 @@ function Organization(accountNumber, businessAddress, businessContact, classific
73863
73863
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
73864
73864
  if (Array.isArray(parkingSpaces)) {
73865
73865
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
73866
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
73866
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
73867
73867
  }
73868
73868
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
73869
73869
  reservations = ('reservations' in props ? props.reservations : VOID);
@@ -73872,12 +73872,12 @@ function Organization(accountNumber, businessAddress, businessContact, classific
73872
73872
  roles = ('roles' in props ? props.roles : VOID);
73873
73873
  if (Array.isArray(roles)) {
73874
73874
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
73875
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
73875
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
73876
73876
  }
73877
73877
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
73878
73878
  if (Array.isArray(storageRooms)) {
73879
73879
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
73880
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
73880
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
73881
73881
  }
73882
73882
  }
73883
73883
  Companion_getInstance_315();
@@ -74417,14 +74417,14 @@ function OrganizationCustomer(active, area, classification, external, groupInvoi
74417
74417
  sections = ('sections' in props ? props.sections : VOID);
74418
74418
  if (Array.isArray(sections)) {
74419
74419
  sections = sections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SectionPack(i) : i);
74420
- if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections);
74420
+ if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections); else if (typeof ArrayList_init_$Create$_0 === 'function') sections = ArrayList_init_$Create$_0(sections);
74421
74421
  }
74422
74422
  streetAddress = ('streetAddress' in props ? props.streetAddress : VOID);
74423
74423
  zip = ('zip' in props ? props.zip : VOID);
74424
74424
  comments = ('comments' in props ? props.comments : VOID);
74425
74425
  if (Array.isArray(comments)) {
74426
74426
  comments = comments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CustomerComment(i) : i);
74427
- if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments);
74427
+ if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments); else if (typeof ArrayList_init_$Create$_0 === 'function') comments = ArrayList_init_$Create$_0(comments);
74428
74428
  }
74429
74429
  companyId = ('companyId' in props ? props.companyId : VOID);
74430
74430
  organization = ('organization' in props ? props.organization : VOID);
@@ -76084,13 +76084,13 @@ function OrganizationResident(accountNumber, attendances, country, historicRoles
76084
76084
  attendances = ('attendances' in props ? props.attendances : VOID);
76085
76085
  if (Array.isArray(attendances)) {
76086
76086
  attendances = attendances.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Attendance(i) : i);
76087
- if (typeof ArrayList_init_$Create$ === 'function') attendances = ArrayList_init_$Create$(attendances);
76087
+ if (typeof ArrayList_init_$Create$ === 'function') attendances = ArrayList_init_$Create$(attendances); else if (typeof ArrayList_init_$Create$_0 === 'function') attendances = ArrayList_init_$Create$_0(attendances);
76088
76088
  }
76089
76089
  country = ('country' in props ? props.country : VOID);
76090
76090
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
76091
76091
  if (Array.isArray(historicRoles)) {
76092
76092
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
76093
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
76093
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
76094
76094
  }
76095
76095
  id = ('id' in props ? props.id : VOID);
76096
76096
  nationality = ('nationality' in props ? props.nationality : VOID);
@@ -76098,7 +76098,7 @@ function OrganizationResident(accountNumber, attendances, country, historicRoles
76098
76098
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
76099
76099
  if (Array.isArray(parkingSpaces)) {
76100
76100
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
76101
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
76101
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
76102
76102
  }
76103
76103
  profileUrl = ('profileUrl' in props ? props.profileUrl : VOID);
76104
76104
  reservedEmail = ('reservedEmail' in props ? props.reservedEmail : VOID);
@@ -76106,12 +76106,12 @@ function OrganizationResident(accountNumber, attendances, country, historicRoles
76106
76106
  roles = ('roles' in props ? props.roles : VOID);
76107
76107
  if (Array.isArray(roles)) {
76108
76108
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
76109
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
76109
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
76110
76110
  }
76111
76111
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
76112
76112
  if (Array.isArray(storageRooms)) {
76113
76113
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
76114
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
76114
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
76115
76115
  }
76116
76116
  businessAddress = ('businessAddress' in props ? props.businessAddress : VOID);
76117
76117
  if (typeof businessAddress === 'object' && businessAddress !== null && businessAddress.constructor === Object) businessAddress = new BusinessAddress(businessAddress);
@@ -76120,7 +76120,7 @@ function OrganizationResident(accountNumber, attendances, country, historicRoles
76120
76120
  employees = ('employees' in props ? props.employees : VOID);
76121
76121
  if (Array.isArray(employees)) {
76122
76122
  employees = employees.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OrganizationEmployee(i) : i);
76123
- if (typeof ArrayList_init_$Create$ === 'function') employees = ArrayList_init_$Create$(employees);
76123
+ if (typeof ArrayList_init_$Create$ === 'function') employees = ArrayList_init_$Create$(employees); else if (typeof ArrayList_init_$Create$_0 === 'function') employees = ArrayList_init_$Create$_0(employees);
76124
76124
  }
76125
76125
  name = ('name' in props ? props.name : VOID);
76126
76126
  orgNr = ('orgNr' in props ? props.orgNr : VOID);
@@ -77261,7 +77261,7 @@ function OverdueInvoiceCustomer(expiredInvoices, id, identifier, interestDemande
77261
77261
  expiredInvoices = ('expiredInvoices' in props ? props.expiredInvoices : VOID);
77262
77262
  if (Array.isArray(expiredInvoices)) {
77263
77263
  expiredInvoices = expiredInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
77264
- if (typeof ArrayList_init_$Create$ === 'function') expiredInvoices = ArrayList_init_$Create$(expiredInvoices);
77264
+ if (typeof ArrayList_init_$Create$ === 'function') expiredInvoices = ArrayList_init_$Create$(expiredInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') expiredInvoices = ArrayList_init_$Create$_0(expiredInvoices);
77265
77265
  }
77266
77266
  id = ('id' in props ? props.id : VOID);
77267
77267
  identifier = ('identifier' in props ? props.identifier : VOID);
@@ -77284,17 +77284,17 @@ function OverdueInvoiceCustomer(expiredInvoices, id, identifier, interestDemande
77284
77284
  oldInvoices = ('oldInvoices' in props ? props.oldInvoices : VOID);
77285
77285
  if (Array.isArray(oldInvoices)) {
77286
77286
  oldInvoices = oldInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
77287
- if (typeof ArrayList_init_$Create$ === 'function') oldInvoices = ArrayList_init_$Create$(oldInvoices);
77287
+ if (typeof ArrayList_init_$Create$ === 'function') oldInvoices = ArrayList_init_$Create$(oldInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') oldInvoices = ArrayList_init_$Create$_0(oldInvoices);
77288
77288
  }
77289
77289
  openInvoices = ('openInvoices' in props ? props.openInvoices : VOID);
77290
77290
  if (Array.isArray(openInvoices)) {
77291
77291
  openInvoices = openInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
77292
- if (typeof ArrayList_init_$Create$ === 'function') openInvoices = ArrayList_init_$Create$(openInvoices);
77292
+ if (typeof ArrayList_init_$Create$ === 'function') openInvoices = ArrayList_init_$Create$(openInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') openInvoices = ArrayList_init_$Create$_0(openInvoices);
77293
77293
  }
77294
77294
  overdueInvoices = ('overdueInvoices' in props ? props.overdueInvoices : VOID);
77295
77295
  if (Array.isArray(overdueInvoices)) {
77296
77296
  overdueInvoices = overdueInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
77297
- if (typeof ArrayList_init_$Create$ === 'function') overdueInvoices = ArrayList_init_$Create$(overdueInvoices);
77297
+ if (typeof ArrayList_init_$Create$ === 'function') overdueInvoices = ArrayList_init_$Create$(overdueInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') overdueInvoices = ArrayList_init_$Create$_0(overdueInvoices);
77298
77298
  }
77299
77299
  payerType = ('payerType' in props ? props.payerType : VOID);
77300
77300
  totalOutstanding = ('totalOutstanding' in props ? props.totalOutstanding : VOID);
@@ -78166,7 +78166,7 @@ function OverdueInvoiceOverview(customer, expiredInvoices, interestDemanded, int
78166
78166
  expiredInvoices = ('expiredInvoices' in props ? props.expiredInvoices : VOID);
78167
78167
  if (Array.isArray(expiredInvoices)) {
78168
78168
  expiredInvoices = expiredInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
78169
- if (typeof ArrayList_init_$Create$ === 'function') expiredInvoices = ArrayList_init_$Create$(expiredInvoices);
78169
+ if (typeof ArrayList_init_$Create$ === 'function') expiredInvoices = ArrayList_init_$Create$(expiredInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') expiredInvoices = ArrayList_init_$Create$_0(expiredInvoices);
78170
78170
  }
78171
78171
  interestDemanded = ('interestDemanded' in props ? props.interestDemanded : VOID);
78172
78172
  interestDemandedExpired = ('interestDemandedExpired' in props ? props.interestDemandedExpired : VOID);
@@ -78186,17 +78186,17 @@ function OverdueInvoiceOverview(customer, expiredInvoices, interestDemanded, int
78186
78186
  oldInvoices = ('oldInvoices' in props ? props.oldInvoices : VOID);
78187
78187
  if (Array.isArray(oldInvoices)) {
78188
78188
  oldInvoices = oldInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
78189
- if (typeof ArrayList_init_$Create$ === 'function') oldInvoices = ArrayList_init_$Create$(oldInvoices);
78189
+ if (typeof ArrayList_init_$Create$ === 'function') oldInvoices = ArrayList_init_$Create$(oldInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') oldInvoices = ArrayList_init_$Create$_0(oldInvoices);
78190
78190
  }
78191
78191
  openInvoices = ('openInvoices' in props ? props.openInvoices : VOID);
78192
78192
  if (Array.isArray(openInvoices)) {
78193
78193
  openInvoices = openInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
78194
- if (typeof ArrayList_init_$Create$ === 'function') openInvoices = ArrayList_init_$Create$(openInvoices);
78194
+ if (typeof ArrayList_init_$Create$ === 'function') openInvoices = ArrayList_init_$Create$(openInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') openInvoices = ArrayList_init_$Create$_0(openInvoices);
78195
78195
  }
78196
78196
  overdueInvoices = ('overdueInvoices' in props ? props.overdueInvoices : VOID);
78197
78197
  if (Array.isArray(overdueInvoices)) {
78198
78198
  overdueInvoices = overdueInvoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OverdueInvoice(i) : i);
78199
- if (typeof ArrayList_init_$Create$ === 'function') overdueInvoices = ArrayList_init_$Create$(overdueInvoices);
78199
+ if (typeof ArrayList_init_$Create$ === 'function') overdueInvoices = ArrayList_init_$Create$(overdueInvoices); else if (typeof ArrayList_init_$Create$_0 === 'function') overdueInvoices = ArrayList_init_$Create$_0(overdueInvoices);
78200
78200
  }
78201
78201
  totalOutstanding = ('totalOutstanding' in props ? props.totalOutstanding : VOID);
78202
78202
  totalOutstandingExpired = ('totalOutstandingExpired' in props ? props.totalOutstandingExpired : VOID);
@@ -78751,7 +78751,7 @@ function OverrideThirdPartyInformationResultCommand(contact, entries, summary, t
78751
78751
  entries = ('entries' in props ? props.entries : VOID);
78752
78752
  if (Array.isArray(entries)) {
78753
78753
  entries = entries.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThirdPartyInformationOppgave(i) : i);
78754
- if (typeof ArrayList_init_$Create$ === 'function') entries = ArrayList_init_$Create$(entries);
78754
+ if (typeof ArrayList_init_$Create$ === 'function') entries = ArrayList_init_$Create$(entries); else if (typeof ArrayList_init_$Create$_0 === 'function') entries = ArrayList_init_$Create$_0(entries);
78755
78755
  }
78756
78756
  summary = ('summary' in props ? props.summary : VOID);
78757
78757
  if (typeof summary === 'object' && summary !== null && summary.constructor === Object) summary = new ThirdPartyInformationOppsummering(summary);
@@ -79083,12 +79083,12 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
79083
79083
  inNew = ('inNew' in props ? props.inNew : VOID);
79084
79084
  if (Array.isArray(inNew)) {
79085
79085
  inNew = inNew.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreatePersonOwner(i) : i);
79086
- if (typeof ArrayList_init_$Create$ === 'function') inNew = ArrayList_init_$Create$(inNew);
79086
+ if (typeof ArrayList_init_$Create$ === 'function') inNew = ArrayList_init_$Create$(inNew); else if (typeof ArrayList_init_$Create$_0 === 'function') inNew = ArrayList_init_$Create$_0(inNew);
79087
79087
  }
79088
79088
  inNewOrgs = ('inNewOrgs' in props ? props.inNewOrgs : VOID);
79089
79089
  if (Array.isArray(inNewOrgs)) {
79090
79090
  inNewOrgs = inNewOrgs.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateOrganizationOwner(i) : i);
79091
- if (typeof ArrayList_init_$Create$ === 'function') inNewOrgs = ArrayList_init_$Create$(inNewOrgs);
79091
+ if (typeof ArrayList_init_$Create$ === 'function') inNewOrgs = ArrayList_init_$Create$(inNewOrgs); else if (typeof ArrayList_init_$Create$_0 === 'function') inNewOrgs = ArrayList_init_$Create$_0(inNewOrgs);
79092
79092
  }
79093
79093
  inOrgs = ('inOrgs' in props ? props.inOrgs : VOID);
79094
79094
  note = ('note' in props ? props.note : VOID);
@@ -79385,7 +79385,7 @@ function OwnershipChange(amount, changeAt, id, note, roles) {
79385
79385
  roles = ('roles' in props ? props.roles : VOID);
79386
79386
  if (Array.isArray(roles)) {
79387
79387
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new OwnershipChangeRole(i) : i);
79388
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
79388
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
79389
79389
  }
79390
79390
  }
79391
79391
  Companion_getInstance_330();
@@ -83020,7 +83020,7 @@ function Person(accountNumber, address, birthDay, completeMobile, country, email
83020
83020
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
83021
83021
  if (Array.isArray(historicRoles)) {
83022
83022
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
83023
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
83023
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
83024
83024
  }
83025
83025
  id = ('id' in props ? props.id : VOID);
83026
83026
  invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
@@ -83034,7 +83034,7 @@ function Person(accountNumber, address, birthDay, completeMobile, country, email
83034
83034
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
83035
83035
  if (Array.isArray(parkingSpaces)) {
83036
83036
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
83037
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
83037
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
83038
83038
  }
83039
83039
  personnummerId = ('personnummerId' in props ? props.personnummerId : VOID);
83040
83040
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
@@ -83044,12 +83044,12 @@ function Person(accountNumber, address, birthDay, completeMobile, country, email
83044
83044
  roles = ('roles' in props ? props.roles : VOID);
83045
83045
  if (Array.isArray(roles)) {
83046
83046
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
83047
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
83047
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
83048
83048
  }
83049
83049
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
83050
83050
  if (Array.isArray(storageRooms)) {
83051
83051
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
83052
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
83052
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
83053
83053
  }
83054
83054
  title = ('title' in props ? props.title : VOID);
83055
83055
  userId = ('userId' in props ? props.userId : VOID);
@@ -83777,14 +83777,14 @@ function PersonCustomer(active, area, classification, external, groupInvoices, i
83777
83777
  sections = ('sections' in props ? props.sections : VOID);
83778
83778
  if (Array.isArray(sections)) {
83779
83779
  sections = sections.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SectionPack(i) : i);
83780
- if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections);
83780
+ if (typeof ArrayList_init_$Create$ === 'function') sections = ArrayList_init_$Create$(sections); else if (typeof ArrayList_init_$Create$_0 === 'function') sections = ArrayList_init_$Create$_0(sections);
83781
83781
  }
83782
83782
  streetAddress = ('streetAddress' in props ? props.streetAddress : VOID);
83783
83783
  zip = ('zip' in props ? props.zip : VOID);
83784
83784
  comments = ('comments' in props ? props.comments : VOID);
83785
83785
  if (Array.isArray(comments)) {
83786
83786
  comments = comments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CustomerComment(i) : i);
83787
- if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments);
83787
+ if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments); else if (typeof ArrayList_init_$Create$_0 === 'function') comments = ArrayList_init_$Create$_0(comments);
83788
83788
  }
83789
83789
  companyId = ('companyId' in props ? props.companyId : VOID);
83790
83790
  person = ('person' in props ? props.person : VOID);
@@ -85298,13 +85298,13 @@ function PersonResident(accountNumber, attendances, country, historicRoles, id,
85298
85298
  attendances = ('attendances' in props ? props.attendances : VOID);
85299
85299
  if (Array.isArray(attendances)) {
85300
85300
  attendances = attendances.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Attendance(i) : i);
85301
- if (typeof ArrayList_init_$Create$ === 'function') attendances = ArrayList_init_$Create$(attendances);
85301
+ if (typeof ArrayList_init_$Create$ === 'function') attendances = ArrayList_init_$Create$(attendances); else if (typeof ArrayList_init_$Create$_0 === 'function') attendances = ArrayList_init_$Create$_0(attendances);
85302
85302
  }
85303
85303
  country = ('country' in props ? props.country : VOID);
85304
85304
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
85305
85305
  if (Array.isArray(historicRoles)) {
85306
85306
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
85307
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
85307
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
85308
85308
  }
85309
85309
  id = ('id' in props ? props.id : VOID);
85310
85310
  nationality = ('nationality' in props ? props.nationality : VOID);
@@ -85312,7 +85312,7 @@ function PersonResident(accountNumber, attendances, country, historicRoles, id,
85312
85312
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
85313
85313
  if (Array.isArray(parkingSpaces)) {
85314
85314
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
85315
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
85315
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
85316
85316
  }
85317
85317
  profileUrl = ('profileUrl' in props ? props.profileUrl : VOID);
85318
85318
  reservedEmail = ('reservedEmail' in props ? props.reservedEmail : VOID);
@@ -85320,12 +85320,12 @@ function PersonResident(accountNumber, attendances, country, historicRoles, id,
85320
85320
  roles = ('roles' in props ? props.roles : VOID);
85321
85321
  if (Array.isArray(roles)) {
85322
85322
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
85323
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
85323
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
85324
85324
  }
85325
85325
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
85326
85326
  if (Array.isArray(storageRooms)) {
85327
85327
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
85328
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
85328
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
85329
85329
  }
85330
85330
  address = ('address' in props ? props.address : VOID);
85331
85331
  if (typeof address === 'object' && address !== null && address.constructor === Object) address = new AddressSpecifics(address);
@@ -86303,7 +86303,7 @@ function PersonRoles(inputs) {
86303
86303
  inputs = ('inputs' in props ? props.inputs : VOID);
86304
86304
  if (Array.isArray(inputs)) {
86305
86305
  inputs = inputs.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PersonRoleInput(i) : i);
86306
- if (typeof ArrayList_init_$Create$ === 'function') inputs = ArrayList_init_$Create$(inputs);
86306
+ if (typeof ArrayList_init_$Create$ === 'function') inputs = ArrayList_init_$Create$(inputs); else if (typeof ArrayList_init_$Create$_0 === 'function') inputs = ArrayList_init_$Create$_0(inputs);
86307
86307
  }
86308
86308
  }
86309
86309
  Companion_getInstance_357();
@@ -86748,7 +86748,7 @@ function PersonUser(country, email, id, mobile, name, nationality, personId, pre
86748
86748
  roles = ('roles' in props ? props.roles : VOID);
86749
86749
  if (Array.isArray(roles)) {
86750
86750
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
86751
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
86751
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
86752
86752
  }
86753
86753
  username = ('username' in props ? props.username : VOID);
86754
86754
  }
@@ -87381,24 +87381,24 @@ function PersonnummerResult(adresse, death, identificationNumber, name, status)
87381
87381
  adresse = ('adresse' in props ? props.adresse : VOID);
87382
87382
  if (Array.isArray(adresse)) {
87383
87383
  adresse = adresse.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PersonAdresse(i) : i);
87384
- if (typeof ArrayList_init_$Create$ === 'function') adresse = ArrayList_init_$Create$(adresse);
87384
+ if (typeof ArrayList_init_$Create$ === 'function') adresse = ArrayList_init_$Create$(adresse); else if (typeof ArrayList_init_$Create$_0 === 'function') adresse = ArrayList_init_$Create$_0(adresse);
87385
87385
  }
87386
87386
  death = ('death' in props ? props.death : VOID);
87387
87387
  if (typeof death === 'object' && death !== null && death.constructor === Object) death = new PersonnummerDeath(death);
87388
87388
  identificationNumber = ('identificationNumber' in props ? props.identificationNumber : VOID);
87389
87389
  if (Array.isArray(identificationNumber)) {
87390
87390
  identificationNumber = identificationNumber.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PersonnummerIdentifikasjonsnummer(i) : i);
87391
- if (typeof ArrayList_init_$Create$ === 'function') identificationNumber = ArrayList_init_$Create$(identificationNumber);
87391
+ if (typeof ArrayList_init_$Create$ === 'function') identificationNumber = ArrayList_init_$Create$(identificationNumber); else if (typeof ArrayList_init_$Create$_0 === 'function') identificationNumber = ArrayList_init_$Create$_0(identificationNumber);
87392
87392
  }
87393
87393
  name = ('name' in props ? props.name : VOID);
87394
87394
  if (Array.isArray(name)) {
87395
87395
  name = name.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PersonName(i) : i);
87396
- if (typeof ArrayList_init_$Create$ === 'function') name = ArrayList_init_$Create$(name);
87396
+ if (typeof ArrayList_init_$Create$ === 'function') name = ArrayList_init_$Create$(name); else if (typeof ArrayList_init_$Create$_0 === 'function') name = ArrayList_init_$Create$_0(name);
87397
87397
  }
87398
87398
  status = ('status' in props ? props.status : VOID);
87399
87399
  if (Array.isArray(status)) {
87400
87400
  status = status.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PersonnummerStatus(i) : i);
87401
- if (typeof ArrayList_init_$Create$ === 'function') status = ArrayList_init_$Create$(status);
87401
+ if (typeof ArrayList_init_$Create$ === 'function') status = ArrayList_init_$Create$(status); else if (typeof ArrayList_init_$Create$_0 === 'function') status = ArrayList_init_$Create$_0(status);
87402
87402
  }
87403
87403
  }
87404
87404
  Companion_getInstance_362();
@@ -88242,29 +88242,29 @@ function Post(companyId, content, contentUrls, createdAt, documents, emailRecipi
88242
88242
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
88243
88243
  if (Array.isArray(contentUrls)) {
88244
88244
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
88245
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
88245
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
88246
88246
  }
88247
88247
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
88248
88248
  documents = ('documents' in props ? props.documents : VOID);
88249
88249
  if (Array.isArray(documents)) {
88250
88250
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
88251
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
88251
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
88252
88252
  }
88253
88253
  emailRecipientStatus = ('emailRecipientStatus' in props ? props.emailRecipientStatus : VOID);
88254
88254
  if (Array.isArray(emailRecipientStatus)) {
88255
88255
  emailRecipientStatus = emailRecipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
88256
- if (typeof ArrayList_init_$Create$ === 'function') emailRecipientStatus = ArrayList_init_$Create$(emailRecipientStatus);
88256
+ if (typeof ArrayList_init_$Create$ === 'function') emailRecipientStatus = ArrayList_init_$Create$(emailRecipientStatus); else if (typeof ArrayList_init_$Create$_0 === 'function') emailRecipientStatus = ArrayList_init_$Create$_0(emailRecipientStatus);
88257
88257
  }
88258
88258
  id = ('id' in props ? props.id : VOID);
88259
88259
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
88260
88260
  if (Array.isArray(notificationEmailGroups)) {
88261
88261
  notificationEmailGroups = notificationEmailGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
88262
- if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups);
88262
+ if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationEmailGroups = ArrayList_init_$Create$_0(notificationEmailGroups);
88263
88263
  }
88264
88264
  notificationSMSGroups = ('notificationSMSGroups' in props ? props.notificationSMSGroups : VOID);
88265
88265
  if (Array.isArray(notificationSMSGroups)) {
88266
88266
  notificationSMSGroups = notificationSMSGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
88267
- if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups);
88267
+ if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationSMSGroups = ArrayList_init_$Create$_0(notificationSMSGroups);
88268
88268
  }
88269
88269
  pictureDocument = ('pictureDocument' in props ? props.pictureDocument : VOID);
88270
88270
  if (typeof pictureDocument === 'object' && pictureDocument !== null && pictureDocument.constructor === Object) pictureDocument = new Document(pictureDocument);
@@ -88279,7 +88279,7 @@ function Post(companyId, content, contentUrls, createdAt, documents, emailRecipi
88279
88279
  smsRecipientStatus = ('smsRecipientStatus' in props ? props.smsRecipientStatus : VOID);
88280
88280
  if (Array.isArray(smsRecipientStatus)) {
88281
88281
  smsRecipientStatus = smsRecipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
88282
- if (typeof ArrayList_init_$Create$ === 'function') smsRecipientStatus = ArrayList_init_$Create$(smsRecipientStatus);
88282
+ if (typeof ArrayList_init_$Create$ === 'function') smsRecipientStatus = ArrayList_init_$Create$(smsRecipientStatus); else if (typeof ArrayList_init_$Create$_0 === 'function') smsRecipientStatus = ArrayList_init_$Create$_0(smsRecipientStatus);
88283
88283
  }
88284
88284
  title = ('title' in props ? props.title : VOID);
88285
88285
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
@@ -89687,13 +89687,13 @@ function PublicConversation(companyName, documents, id, messages, participants,
89687
89687
  documents = ('documents' in props ? props.documents : VOID);
89688
89688
  if (Array.isArray(documents)) {
89689
89689
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
89690
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
89690
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
89691
89691
  }
89692
89692
  id = ('id' in props ? props.id : VOID);
89693
89693
  messages = ('messages' in props ? props.messages : VOID);
89694
89694
  if (Array.isArray(messages)) {
89695
89695
  messages = messages.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PublicMessage(i) : i);
89696
- if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages);
89696
+ if (typeof ArrayList_init_$Create$ === 'function') messages = ArrayList_init_$Create$(messages); else if (typeof ArrayList_init_$Create$_0 === 'function') messages = ArrayList_init_$Create$_0(messages);
89697
89697
  }
89698
89698
  participants = ('participants' in props ? props.participants : VOID);
89699
89699
  title = ('title' in props ? props.title : VOID);
@@ -90128,7 +90128,7 @@ function ReceiverFraction(denominator, numerator, receiverId, receiverType, reci
90128
90128
  recipients = ('recipients' in props ? props.recipients : VOID);
90129
90129
  if (Array.isArray(recipients)) {
90130
90130
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new FractionRecipient(i) : i);
90131
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
90131
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
90132
90132
  }
90133
90133
  }
90134
90134
  Companion_getInstance_373();
@@ -92195,17 +92195,17 @@ function ResidentRoleHistory(future, historic, valid) {
92195
92195
  future = ('future' in props ? props.future : VOID);
92196
92196
  if (Array.isArray(future)) {
92197
92197
  future = future.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ResidentRole(i) : i);
92198
- if (typeof ArrayList_init_$Create$ === 'function') future = ArrayList_init_$Create$(future);
92198
+ if (typeof ArrayList_init_$Create$ === 'function') future = ArrayList_init_$Create$(future); else if (typeof ArrayList_init_$Create$_0 === 'function') future = ArrayList_init_$Create$_0(future);
92199
92199
  }
92200
92200
  historic = ('historic' in props ? props.historic : VOID);
92201
92201
  if (Array.isArray(historic)) {
92202
92202
  historic = historic.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ResidentRole(i) : i);
92203
- if (typeof ArrayList_init_$Create$ === 'function') historic = ArrayList_init_$Create$(historic);
92203
+ if (typeof ArrayList_init_$Create$ === 'function') historic = ArrayList_init_$Create$(historic); else if (typeof ArrayList_init_$Create$_0 === 'function') historic = ArrayList_init_$Create$_0(historic);
92204
92204
  }
92205
92205
  valid = ('valid' in props ? props.valid : VOID);
92206
92206
  if (Array.isArray(valid)) {
92207
92207
  valid = valid.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ResidentRole(i) : i);
92208
- if (typeof ArrayList_init_$Create$ === 'function') valid = ArrayList_init_$Create$(valid);
92208
+ if (typeof ArrayList_init_$Create$ === 'function') valid = ArrayList_init_$Create$(valid); else if (typeof ArrayList_init_$Create$_0 === 'function') valid = ArrayList_init_$Create$_0(valid);
92209
92209
  }
92210
92210
  }
92211
92211
  Companion_getInstance_385();
@@ -93978,7 +93978,7 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
93978
93978
  documents = ('documents' in props ? props.documents : VOID);
93979
93979
  if (Array.isArray(documents)) {
93980
93980
  documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
93981
- if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents);
93981
+ if (typeof ArrayList_init_$Create$ === 'function') documents = ArrayList_init_$Create$(documents); else if (typeof ArrayList_init_$Create$_0 === 'function') documents = ArrayList_init_$Create$_0(documents);
93982
93982
  }
93983
93983
  draft = ('draft' in props ? props.draft : VOID);
93984
93984
  if (typeof draft === 'object' && draft !== null && draft.constructor === Object) draft = new RoutineDraft(draft);
@@ -93988,7 +93988,7 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
93988
93988
  log = ('log' in props ? props.log : VOID);
93989
93989
  if (Array.isArray(log)) {
93990
93990
  log = log.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new TaskEvent(i) : i);
93991
- if (typeof ArrayList_init_$Create$ === 'function') log = ArrayList_init_$Create$(log);
93991
+ if (typeof ArrayList_init_$Create$ === 'function') log = ArrayList_init_$Create$(log); else if (typeof ArrayList_init_$Create$_0 === 'function') log = ArrayList_init_$Create$_0(log);
93992
93992
  }
93993
93993
  recommendedIntervalMethod = ('recommendedIntervalMethod' in props ? props.recommendedIntervalMethod : VOID);
93994
93994
  recommendedIntervalType = ('recommendedIntervalType' in props ? props.recommendedIntervalType : VOID);
@@ -95621,14 +95621,14 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
95621
95621
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
95622
95622
  if (Array.isArray(notificationGroups)) {
95623
95623
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
95624
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
95624
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
95625
95625
  }
95626
95626
  plainText = ('plainText' in props ? props.plainText : VOID);
95627
95627
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
95628
95628
  recipientStatus = ('recipientStatus' in props ? props.recipientStatus : VOID);
95629
95629
  if (Array.isArray(recipientStatus)) {
95630
95630
  recipientStatus = recipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
95631
- if (typeof ArrayList_init_$Create$ === 'function') recipientStatus = ArrayList_init_$Create$(recipientStatus);
95631
+ if (typeof ArrayList_init_$Create$ === 'function') recipientStatus = ArrayList_init_$Create$(recipientStatus); else if (typeof ArrayList_init_$Create$_0 === 'function') recipientStatus = ArrayList_init_$Create$_0(recipientStatus);
95632
95632
  }
95633
95633
  recipientsAtPublish = ('recipientsAtPublish' in props ? props.recipientsAtPublish : VOID);
95634
95634
  if (typeof recipientsAtPublish === 'object' && recipientsAtPublish !== null && recipientsAtPublish.constructor === Object) recipientsAtPublish = new MassCommunicationGroups(recipientsAtPublish);
@@ -97711,7 +97711,7 @@ function Section(anr, apartmentNr, area, bnr, capabilities, children, classifica
97711
97711
  children = ('children' in props ? props.children : VOID);
97712
97712
  if (Array.isArray(children)) {
97713
97713
  children = children.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Section(i) : i);
97714
- if (typeof ArrayList_init_$Create$ === 'function') children = ArrayList_init_$Create$(children);
97714
+ if (typeof ArrayList_init_$Create$ === 'function') children = ArrayList_init_$Create$(children); else if (typeof ArrayList_init_$Create$_0 === 'function') children = ArrayList_init_$Create$_0(children);
97715
97715
  }
97716
97716
  classification = ('classification' in props ? props.classification : VOID);
97717
97717
  companyClassification = ('companyClassification' in props ? props.companyClassification : VOID);
@@ -97734,7 +97734,7 @@ function Section(anr, apartmentNr, area, bnr, capabilities, children, classifica
97734
97734
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
97735
97735
  if (Array.isArray(parkingSpaces)) {
97736
97736
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
97737
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
97737
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
97738
97738
  }
97739
97739
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
97740
97740
  sectionAddressId = ('sectionAddressId' in props ? props.sectionAddressId : VOID);
@@ -97743,7 +97743,7 @@ function Section(anr, apartmentNr, area, bnr, capabilities, children, classifica
97743
97743
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
97744
97744
  if (Array.isArray(storageRooms)) {
97745
97745
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
97746
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
97746
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
97747
97747
  }
97748
97748
  streetAddress = ('streetAddress' in props ? props.streetAddress : VOID);
97749
97749
  wealthFraction = ('wealthFraction' in props ? props.wealthFraction : VOID);
@@ -99795,7 +99795,7 @@ function SectionInvoiceRecipientOverview(designation, recipients) {
99795
99795
  recipients = ('recipients' in props ? props.recipients : VOID);
99796
99796
  if (Array.isArray(recipients)) {
99797
99797
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SectionInvoiceRecipient(i) : i);
99798
- if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients);
99798
+ if (typeof ArrayList_init_$Create$ === 'function') recipients = ArrayList_init_$Create$(recipients); else if (typeof ArrayList_init_$Create$_0 === 'function') recipients = ArrayList_init_$Create$_0(recipients);
99799
99799
  }
99800
99800
  }
99801
99801
  Companion_getInstance_414();
@@ -99955,7 +99955,7 @@ function SectionList(items, meta, paging) {
99955
99955
  items = ('items' in props ? props.items : VOID);
99956
99956
  if (Array.isArray(items)) {
99957
99957
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Section(i) : i);
99958
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
99958
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
99959
99959
  }
99960
99960
  meta = ('meta' in props ? props.meta : VOID);
99961
99961
  if (typeof meta === 'object' && meta !== null && meta.constructor === Object) meta = new Meta(meta);
@@ -102846,7 +102846,7 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
102846
102846
  customCosts = ('customCosts' in props ? props.customCosts : VOID);
102847
102847
  if (Array.isArray(customCosts)) {
102848
102848
  customCosts = customCosts.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SettlementCustomCost(i) : i);
102849
- if (typeof ArrayList_init_$Create$ === 'function') customCosts = ArrayList_init_$Create$(customCosts);
102849
+ if (typeof ArrayList_init_$Create$ === 'function') customCosts = ArrayList_init_$Create$(customCosts); else if (typeof ArrayList_init_$Create$_0 === 'function') customCosts = ArrayList_init_$Create$_0(customCosts);
102850
102850
  }
102851
102851
  description = ('description' in props ? props.description : VOID);
102852
102852
  endDate = ('endDate' in props ? props.endDate : VOID);
@@ -102854,7 +102854,7 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
102854
102854
  invoices = ('invoices' in props ? props.invoices : VOID);
102855
102855
  if (Array.isArray(invoices)) {
102856
102856
  invoices = invoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SettlementInvoice(i) : i);
102857
- if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices);
102857
+ if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices); else if (typeof ArrayList_init_$Create$_0 === 'function') invoices = ArrayList_init_$Create$_0(invoices);
102858
102858
  }
102859
102859
  settlementProvider = ('settlementProvider' in props ? props.settlementProvider : VOID);
102860
102860
  settlementProviderId = ('settlementProviderId' in props ? props.settlementProviderId : VOID);
@@ -105008,22 +105008,22 @@ function SoliboContacts(accounting, administration, collection, ownership) {
105008
105008
  accounting = ('accounting' in props ? props.accounting : VOID);
105009
105009
  if (Array.isArray(accounting)) {
105010
105010
  accounting = accounting.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
105011
- if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting);
105011
+ if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting); else if (typeof ArrayList_init_$Create$_0 === 'function') accounting = ArrayList_init_$Create$_0(accounting);
105012
105012
  }
105013
105013
  administration = ('administration' in props ? props.administration : VOID);
105014
105014
  if (Array.isArray(administration)) {
105015
105015
  administration = administration.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
105016
- if (typeof ArrayList_init_$Create$ === 'function') administration = ArrayList_init_$Create$(administration);
105016
+ if (typeof ArrayList_init_$Create$ === 'function') administration = ArrayList_init_$Create$(administration); else if (typeof ArrayList_init_$Create$_0 === 'function') administration = ArrayList_init_$Create$_0(administration);
105017
105017
  }
105018
105018
  collection = ('collection' in props ? props.collection : VOID);
105019
105019
  if (Array.isArray(collection)) {
105020
105020
  collection = collection.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
105021
- if (typeof ArrayList_init_$Create$ === 'function') collection = ArrayList_init_$Create$(collection);
105021
+ if (typeof ArrayList_init_$Create$ === 'function') collection = ArrayList_init_$Create$(collection); else if (typeof ArrayList_init_$Create$_0 === 'function') collection = ArrayList_init_$Create$_0(collection);
105022
105022
  }
105023
105023
  ownership = ('ownership' in props ? props.ownership : VOID);
105024
105024
  if (Array.isArray(ownership)) {
105025
105025
  ownership = ownership.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
105026
- if (typeof ArrayList_init_$Create$ === 'function') ownership = ArrayList_init_$Create$(ownership);
105026
+ if (typeof ArrayList_init_$Create$ === 'function') ownership = ArrayList_init_$Create$(ownership); else if (typeof ArrayList_init_$Create$_0 === 'function') ownership = ArrayList_init_$Create$_0(ownership);
105027
105027
  }
105028
105028
  }
105029
105029
  Companion_getInstance_438();
@@ -107143,7 +107143,7 @@ function SupplierForCompany(comments, companyId, createdAt, createdBy, createdBy
107143
107143
  comments = ('comments' in props ? props.comments : VOID);
107144
107144
  if (Array.isArray(comments)) {
107145
107145
  comments = comments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SupplierComment(i) : i);
107146
- if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments);
107146
+ if (typeof ArrayList_init_$Create$ === 'function') comments = ArrayList_init_$Create$(comments); else if (typeof ArrayList_init_$Create$_0 === 'function') comments = ArrayList_init_$Create$_0(comments);
107147
107147
  }
107148
107148
  companyId = ('companyId' in props ? props.companyId : VOID);
107149
107149
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
@@ -107582,7 +107582,7 @@ function SupplierInvoice(amount, currency, description, dueDate, id, invoiceDate
107582
107582
  invoiceProcessing = ('invoiceProcessing' in props ? props.invoiceProcessing : VOID);
107583
107583
  if (Array.isArray(invoiceProcessing)) {
107584
107584
  invoiceProcessing = invoiceProcessing.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceProcessing(i) : i);
107585
- if (typeof ArrayList_init_$Create$ === 'function') invoiceProcessing = ArrayList_init_$Create$(invoiceProcessing);
107585
+ if (typeof ArrayList_init_$Create$ === 'function') invoiceProcessing = ArrayList_init_$Create$(invoiceProcessing); else if (typeof ArrayList_init_$Create$_0 === 'function') invoiceProcessing = ArrayList_init_$Create$_0(invoiceProcessing);
107586
107586
  }
107587
107587
  outstanding = ('outstanding' in props ? props.outstanding : VOID);
107588
107588
  remainder = ('remainder' in props ? props.remainder : VOID);
@@ -107865,7 +107865,7 @@ function SupplierInvoiceList(invoices, totalCount) {
107865
107865
  invoices = ('invoices' in props ? props.invoices : VOID);
107866
107866
  if (Array.isArray(invoices)) {
107867
107867
  invoices = invoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SupplierInvoice(i) : i);
107868
- if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices);
107868
+ if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices); else if (typeof ArrayList_init_$Create$_0 === 'function') invoices = ArrayList_init_$Create$_0(invoices);
107869
107869
  }
107870
107870
  totalCount = ('totalCount' in props ? props.totalCount : VOID);
107871
107871
  }
@@ -108399,7 +108399,7 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
108399
108399
  log = ('log' in props ? props.log : VOID);
108400
108400
  if (Array.isArray(log)) {
108401
108401
  log = log.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new TaskEvent(i) : i);
108402
- if (typeof ArrayList_init_$Create$ === 'function') log = ArrayList_init_$Create$(log);
108402
+ if (typeof ArrayList_init_$Create$ === 'function') log = ArrayList_init_$Create$(log); else if (typeof ArrayList_init_$Create$_0 === 'function') log = ArrayList_init_$Create$_0(log);
108403
108403
  }
108404
108404
  registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
108405
108405
  registeredById = ('registeredById' in props ? props.registeredById : VOID);
@@ -110100,14 +110100,14 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
110100
110100
  emailErrors = ('emailErrors' in props ? props.emailErrors : VOID);
110101
110101
  if (Array.isArray(emailErrors)) {
110102
110102
  emailErrors = emailErrors.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThirdPartyInformationEmailError(i) : i);
110103
- if (typeof ArrayList_init_$Create$ === 'function') emailErrors = ArrayList_init_$Create$(emailErrors);
110103
+ if (typeof ArrayList_init_$Create$ === 'function') emailErrors = ArrayList_init_$Create$(emailErrors); else if (typeof ArrayList_init_$Create$_0 === 'function') emailErrors = ArrayList_init_$Create$_0(emailErrors);
110104
110104
  }
110105
110105
  foreignCountryThirdPartyInformation = ('foreignCountryThirdPartyInformation' in props ? props.foreignCountryThirdPartyInformation : VOID);
110106
110106
  id = ('id' in props ? props.id : VOID);
110107
110107
  postenErrors = ('postenErrors' in props ? props.postenErrors : VOID);
110108
110108
  if (Array.isArray(postenErrors)) {
110109
110109
  postenErrors = postenErrors.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThirdPartyInformationPostenError(i) : i);
110110
- if (typeof ArrayList_init_$Create$ === 'function') postenErrors = ArrayList_init_$Create$(postenErrors);
110110
+ if (typeof ArrayList_init_$Create$ === 'function') postenErrors = ArrayList_init_$Create$(postenErrors); else if (typeof ArrayList_init_$Create$_0 === 'function') postenErrors = ArrayList_init_$Create$_0(postenErrors);
110111
110111
  }
110112
110112
  processErrors = ('processErrors' in props ? props.processErrors : VOID);
110113
110113
  processed = ('processed' in props ? props.processed : VOID);
@@ -113458,7 +113458,7 @@ function ThirdPartyInformationResult(contact, entries, name, orgNr, referenceToI
113458
113458
  entries = ('entries' in props ? props.entries : VOID);
113459
113459
  if (Array.isArray(entries)) {
113460
113460
  entries = entries.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThirdPartyInformationOppgave(i) : i);
113461
- if (typeof ArrayList_init_$Create$ === 'function') entries = ArrayList_init_$Create$(entries);
113461
+ if (typeof ArrayList_init_$Create$ === 'function') entries = ArrayList_init_$Create$(entries); else if (typeof ArrayList_init_$Create$_0 === 'function') entries = ArrayList_init_$Create$_0(entries);
113462
113462
  }
113463
113463
  name = ('name' in props ? props.name : VOID);
113464
113464
  orgNr = ('orgNr' in props ? props.orgNr : VOID);
@@ -113683,7 +113683,7 @@ function ThirdPartyInformationYear(items, year) {
113683
113683
  items = ('items' in props ? props.items : VOID);
113684
113684
  if (Array.isArray(items)) {
113685
113685
  items = items.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThirdPartyInformation(i) : i);
113686
- if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items);
113686
+ if (typeof ArrayList_init_$Create$ === 'function') items = ArrayList_init_$Create$(items); else if (typeof ArrayList_init_$Create$_0 === 'function') items = ArrayList_init_$Create$_0(items);
113687
113687
  }
113688
113688
  year = ('year' in props ? props.year : VOID);
113689
113689
  }
@@ -113846,7 +113846,7 @@ function ThreePODialog(orgnr, transmissions, year) {
113846
113846
  transmissions = ('transmissions' in props ? props.transmissions : VOID);
113847
113847
  if (Array.isArray(transmissions)) {
113848
113848
  transmissions = transmissions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ThreePODialogTransmission(i) : i);
113849
- if (typeof ArrayList_init_$Create$ === 'function') transmissions = ArrayList_init_$Create$(transmissions);
113849
+ if (typeof ArrayList_init_$Create$ === 'function') transmissions = ArrayList_init_$Create$(transmissions); else if (typeof ArrayList_init_$Create$_0 === 'function') transmissions = ArrayList_init_$Create$_0(transmissions);
113850
113850
  }
113851
113851
  year = ('year' in props ? props.year : VOID);
113852
113852
  }
@@ -116280,7 +116280,7 @@ function TriplewinOverdueInvoiceOverview(companyOverviews, interestDemanded, int
116280
116280
  companyOverviews = ('companyOverviews' in props ? props.companyOverviews : VOID);
116281
116281
  if (Array.isArray(companyOverviews)) {
116282
116282
  companyOverviews = companyOverviews.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CompanyOverdueInvoiceOverview(i) : i);
116283
- if (typeof ArrayList_init_$Create$ === 'function') companyOverviews = ArrayList_init_$Create$(companyOverviews);
116283
+ if (typeof ArrayList_init_$Create$ === 'function') companyOverviews = ArrayList_init_$Create$(companyOverviews); else if (typeof ArrayList_init_$Create$_0 === 'function') companyOverviews = ArrayList_init_$Create$_0(companyOverviews);
116284
116284
  }
116285
116285
  interestDemanded = ('interestDemanded' in props ? props.interestDemanded : VOID);
116286
116286
  interestDemandedExpired = ('interestDemandedExpired' in props ? props.interestDemandedExpired : VOID);
@@ -116871,22 +116871,22 @@ function UpdateActiveManagement(accounting, administrators, collection, ownershi
116871
116871
  accounting = ('accounting' in props ? props.accounting : VOID);
116872
116872
  if (Array.isArray(accounting)) {
116873
116873
  accounting = accounting.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
116874
- if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting);
116874
+ if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting); else if (typeof ArrayList_init_$Create$_0 === 'function') accounting = ArrayList_init_$Create$_0(accounting);
116875
116875
  }
116876
116876
  administrators = ('administrators' in props ? props.administrators : VOID);
116877
116877
  if (Array.isArray(administrators)) {
116878
116878
  administrators = administrators.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
116879
- if (typeof ArrayList_init_$Create$ === 'function') administrators = ArrayList_init_$Create$(administrators);
116879
+ if (typeof ArrayList_init_$Create$ === 'function') administrators = ArrayList_init_$Create$(administrators); else if (typeof ArrayList_init_$Create$_0 === 'function') administrators = ArrayList_init_$Create$_0(administrators);
116880
116880
  }
116881
116881
  collection = ('collection' in props ? props.collection : VOID);
116882
116882
  if (Array.isArray(collection)) {
116883
116883
  collection = collection.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
116884
- if (typeof ArrayList_init_$Create$ === 'function') collection = ArrayList_init_$Create$(collection);
116884
+ if (typeof ArrayList_init_$Create$ === 'function') collection = ArrayList_init_$Create$(collection); else if (typeof ArrayList_init_$Create$_0 === 'function') collection = ArrayList_init_$Create$_0(collection);
116885
116885
  }
116886
116886
  ownership = ('ownership' in props ? props.ownership : VOID);
116887
116887
  if (Array.isArray(ownership)) {
116888
116888
  ownership = ownership.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
116889
- if (typeof ArrayList_init_$Create$ === 'function') ownership = ArrayList_init_$Create$(ownership);
116889
+ if (typeof ArrayList_init_$Create$ === 'function') ownership = ArrayList_init_$Create$(ownership); else if (typeof ArrayList_init_$Create$_0 === 'function') ownership = ArrayList_init_$Create$_0(ownership);
116890
116890
  }
116891
116891
  }
116892
116892
  Companion_getInstance_489();
@@ -117133,7 +117133,7 @@ function UpdateAdHocInvoiceGroupCommand(attachments, description, name, processe
117133
117133
  attachments = ('attachments' in props ? props.attachments : VOID);
117134
117134
  if (Array.isArray(attachments)) {
117135
117135
  attachments = attachments.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new CreateAdHocInvoiceGroupAttachment(i) : i);
117136
- if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments);
117136
+ if (typeof ArrayList_init_$Create$ === 'function') attachments = ArrayList_init_$Create$(attachments); else if (typeof ArrayList_init_$Create$_0 === 'function') attachments = ArrayList_init_$Create$_0(attachments);
117137
117137
  }
117138
117138
  description = ('description' in props ? props.description : VOID);
117139
117139
  name = ('name' in props ? props.name : VOID);
@@ -118377,7 +118377,7 @@ function UpdateCompanyDetailedCommand(administratorOrgNr, businessAgreement, cla
118377
118377
  relations = ('relations' in props ? props.relations : VOID);
118378
118378
  if (Array.isArray(relations)) {
118379
118379
  relations = relations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new UpdateCompanyRelationCommand(i) : i);
118380
- if (typeof ArrayList_init_$Create$ === 'function') relations = ArrayList_init_$Create$(relations);
118380
+ if (typeof ArrayList_init_$Create$ === 'function') relations = ArrayList_init_$Create$(relations); else if (typeof ArrayList_init_$Create$_0 === 'function') relations = ArrayList_init_$Create$_0(relations);
118381
118381
  }
118382
118382
  slug = ('slug' in props ? props.slug : VOID);
118383
118383
  subTypes = ('subTypes' in props ? props.subTypes : VOID);
@@ -119896,7 +119896,7 @@ function UpdateFeedWeightingCommand(weights) {
119896
119896
  weights = ('weights' in props ? props.weights : VOID);
119897
119897
  if (Array.isArray(weights)) {
119898
119898
  weights = weights.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new PostWeighting(i) : i);
119899
- if (typeof ArrayList_init_$Create$ === 'function') weights = ArrayList_init_$Create$(weights);
119899
+ if (typeof ArrayList_init_$Create$ === 'function') weights = ArrayList_init_$Create$(weights); else if (typeof ArrayList_init_$Create$_0 === 'function') weights = ArrayList_init_$Create$_0(weights);
119900
119900
  }
119901
119901
  }
119902
119902
  Companion_getInstance_501();
@@ -120291,7 +120291,7 @@ function UpdateInvoiceDistributionCommand(description, fractions, name) {
120291
120291
  fractions = ('fractions' in props ? props.fractions : VOID);
120292
120292
  if (Array.isArray(fractions)) {
120293
120293
  fractions = fractions.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceDistributionFractionInput(i) : i);
120294
- if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions);
120294
+ if (typeof ArrayList_init_$Create$ === 'function') fractions = ArrayList_init_$Create$(fractions); else if (typeof ArrayList_init_$Create$_0 === 'function') fractions = ArrayList_init_$Create$_0(fractions);
120295
120295
  }
120296
120296
  name = ('name' in props ? props.name : VOID);
120297
120297
  }
@@ -122416,12 +122416,12 @@ function UpdateManagementCommand(accounting, administrators) {
122416
122416
  accounting = ('accounting' in props ? props.accounting : VOID);
122417
122417
  if (Array.isArray(accounting)) {
122418
122418
  accounting = accounting.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
122419
- if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting);
122419
+ if (typeof ArrayList_init_$Create$ === 'function') accounting = ArrayList_init_$Create$(accounting); else if (typeof ArrayList_init_$Create$_0 === 'function') accounting = ArrayList_init_$Create$_0(accounting);
122420
122420
  }
122421
122421
  administrators = ('administrators' in props ? props.administrators : VOID);
122422
122422
  if (Array.isArray(administrators)) {
122423
122423
  administrators = administrators.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Person(i) : i);
122424
- if (typeof ArrayList_init_$Create$ === 'function') administrators = ArrayList_init_$Create$(administrators);
122424
+ if (typeof ArrayList_init_$Create$ === 'function') administrators = ArrayList_init_$Create$(administrators); else if (typeof ArrayList_init_$Create$_0 === 'function') administrators = ArrayList_init_$Create$_0(administrators);
122425
122425
  }
122426
122426
  }
122427
122427
  Companion_getInstance_517();
@@ -122926,7 +122926,7 @@ function UpdateMeetingParticipantsCommand(externalParticipants, notificationComm
122926
122926
  externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
122927
122927
  if (Array.isArray(externalParticipants)) {
122928
122928
  externalParticipants = externalParticipants.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ExternalParticipantCommand(i) : i);
122929
- if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants);
122929
+ if (typeof ArrayList_init_$Create$ === 'function') externalParticipants = ArrayList_init_$Create$(externalParticipants); else if (typeof ArrayList_init_$Create$_0 === 'function') externalParticipants = ArrayList_init_$Create$_0(externalParticipants);
122930
122930
  }
122931
122931
  notificationComment = ('notificationComment' in props ? props.notificationComment : VOID);
122932
122932
  participantIds = ('participantIds' in props ? props.participantIds : VOID);
@@ -123180,7 +123180,7 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
123180
123180
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
123181
123181
  if (Array.isArray(notificationGroups)) {
123182
123182
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
123183
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
123183
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
123184
123184
  }
123185
123185
  plainText = ('plainText' in props ? props.plainText : VOID);
123186
123186
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
@@ -123866,7 +123866,7 @@ function UpdateOrganizationCommand(accountNumber, businessAddress, businessConta
123866
123866
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
123867
123867
  if (Array.isArray(historicRoles)) {
123868
123868
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
123869
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
123869
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
123870
123870
  }
123871
123871
  name = ('name' in props ? props.name : VOID);
123872
123872
  nationality = ('nationality' in props ? props.nationality : VOID);
@@ -123874,19 +123874,19 @@ function UpdateOrganizationCommand(accountNumber, businessAddress, businessConta
123874
123874
  parkingSpaces = ('parkingSpaces' in props ? props.parkingSpaces : VOID);
123875
123875
  if (Array.isArray(parkingSpaces)) {
123876
123876
  parkingSpaces = parkingSpaces.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new ParkingSpaceOwnership(i) : i);
123877
- if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces);
123877
+ if (typeof ArrayList_init_$Create$ === 'function') parkingSpaces = ArrayList_init_$Create$(parkingSpaces); else if (typeof ArrayList_init_$Create$_0 === 'function') parkingSpaces = ArrayList_init_$Create$_0(parkingSpaces);
123878
123878
  }
123879
123879
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
123880
123880
  roles = ('roles' in props ? props.roles : VOID);
123881
123881
  if (Array.isArray(roles)) {
123882
123882
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Role(i) : i);
123883
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
123883
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
123884
123884
  }
123885
123885
  soliboManaged = ('soliboManaged' in props ? props.soliboManaged : VOID);
123886
123886
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
123887
123887
  if (Array.isArray(storageRooms)) {
123888
123888
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new StorageRoomOwnership(i) : i);
123889
- if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms);
123889
+ if (typeof ArrayList_init_$Create$ === 'function') storageRooms = ArrayList_init_$Create$(storageRooms); else if (typeof ArrayList_init_$Create$_0 === 'function') storageRooms = ArrayList_init_$Create$_0(storageRooms);
123890
123890
  }
123891
123891
  }
123892
123892
  Companion_getInstance_523();
@@ -125004,7 +125004,7 @@ function UpdatePersonCommand(account, address, birthDay, email, historicRoles, i
125004
125004
  historicRoles = ('historicRoles' in props ? props.historicRoles : VOID);
125005
125005
  if (Array.isArray(historicRoles)) {
125006
125006
  historicRoles = historicRoles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new RoleInput(i) : i);
125007
- if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles);
125007
+ if (typeof ArrayList_init_$Create$ === 'function') historicRoles = ArrayList_init_$Create$(historicRoles); else if (typeof ArrayList_init_$Create$_0 === 'function') historicRoles = ArrayList_init_$Create$_0(historicRoles);
125008
125008
  }
125009
125009
  id = ('id' in props ? props.id : VOID);
125010
125010
  invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
@@ -125024,7 +125024,7 @@ function UpdatePersonCommand(account, address, birthDay, email, historicRoles, i
125024
125024
  roles = ('roles' in props ? props.roles : VOID);
125025
125025
  if (Array.isArray(roles)) {
125026
125026
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new RoleInput(i) : i);
125027
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
125027
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
125028
125028
  }
125029
125029
  title = ('title' in props ? props.title : VOID);
125030
125030
  }
@@ -125675,7 +125675,7 @@ function UpdatePersonResidentCommand(address, email, invoicingEmail, mobile, nam
125675
125675
  roles = ('roles' in props ? props.roles : VOID);
125676
125676
  if (Array.isArray(roles)) {
125677
125677
  roles = roles.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new RoleInput(i) : i);
125678
- if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles);
125678
+ if (typeof ArrayList_init_$Create$ === 'function') roles = ArrayList_init_$Create$(roles); else if (typeof ArrayList_init_$Create$_0 === 'function') roles = ArrayList_init_$Create$_0(roles);
125679
125679
  }
125680
125680
  }
125681
125681
  Companion_getInstance_529();
@@ -126070,17 +126070,17 @@ function UpdatePostCommand(content, contentUrls, notificationEmailGroups, notifi
126070
126070
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
126071
126071
  if (Array.isArray(contentUrls)) {
126072
126072
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
126073
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
126073
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
126074
126074
  }
126075
126075
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
126076
126076
  if (Array.isArray(notificationEmailGroups)) {
126077
126077
  notificationEmailGroups = notificationEmailGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
126078
- if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups);
126078
+ if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationEmailGroups = ArrayList_init_$Create$_0(notificationEmailGroups);
126079
126079
  }
126080
126080
  notificationSMSGroups = ('notificationSMSGroups' in props ? props.notificationSMSGroups : VOID);
126081
126081
  if (Array.isArray(notificationSMSGroups)) {
126082
126082
  notificationSMSGroups = notificationSMSGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
126083
- if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups);
126083
+ if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationSMSGroups = ArrayList_init_$Create$_0(notificationSMSGroups);
126084
126084
  }
126085
126085
  pictureDocumentId = ('pictureDocumentId' in props ? props.pictureDocumentId : VOID);
126086
126086
  pictureUrl = ('pictureUrl' in props ? props.pictureUrl : VOID);
@@ -126493,17 +126493,17 @@ function UpdatePracticalInfoCommand(content, contentUrls, notificationEmailGroup
126493
126493
  contentUrls = ('contentUrls' in props ? props.contentUrls : VOID);
126494
126494
  if (Array.isArray(contentUrls)) {
126495
126495
  contentUrls = contentUrls.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Content(i) : i);
126496
- if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls);
126496
+ if (typeof ArrayList_init_$Create$ === 'function') contentUrls = ArrayList_init_$Create$(contentUrls); else if (typeof ArrayList_init_$Create$_0 === 'function') contentUrls = ArrayList_init_$Create$_0(contentUrls);
126497
126497
  }
126498
126498
  notificationEmailGroups = ('notificationEmailGroups' in props ? props.notificationEmailGroups : VOID);
126499
126499
  if (Array.isArray(notificationEmailGroups)) {
126500
126500
  notificationEmailGroups = notificationEmailGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
126501
- if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups);
126501
+ if (typeof ArrayList_init_$Create$ === 'function') notificationEmailGroups = ArrayList_init_$Create$(notificationEmailGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationEmailGroups = ArrayList_init_$Create$_0(notificationEmailGroups);
126502
126502
  }
126503
126503
  notificationSMSGroups = ('notificationSMSGroups' in props ? props.notificationSMSGroups : VOID);
126504
126504
  if (Array.isArray(notificationSMSGroups)) {
126505
126505
  notificationSMSGroups = notificationSMSGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
126506
- if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups);
126506
+ if (typeof ArrayList_init_$Create$ === 'function') notificationSMSGroups = ArrayList_init_$Create$(notificationSMSGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationSMSGroups = ArrayList_init_$Create$_0(notificationSMSGroups);
126507
126507
  }
126508
126508
  pictureDocumentId = ('pictureDocumentId' in props ? props.pictureDocumentId : VOID);
126509
126509
  pictureUrl = ('pictureUrl' in props ? props.pictureUrl : VOID);
@@ -127815,7 +127815,7 @@ function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
127815
127815
  notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
127816
127816
  if (Array.isArray(notificationGroups)) {
127817
127817
  notificationGroups = notificationGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
127818
- if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups);
127818
+ if (typeof ArrayList_init_$Create$ === 'function') notificationGroups = ArrayList_init_$Create$(notificationGroups); else if (typeof ArrayList_init_$Create$_0 === 'function') notificationGroups = ArrayList_init_$Create$_0(notificationGroups);
127819
127819
  }
127820
127820
  plainText = ('plainText' in props ? props.plainText : VOID);
127821
127821
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
@@ -128902,7 +128902,7 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
128902
128902
  invoices = ('invoices' in props ? props.invoices : VOID);
128903
128903
  if (Array.isArray(invoices)) {
128904
128904
  invoices = invoices.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new SettlementInvoice(i) : i);
128905
- if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices);
128905
+ if (typeof ArrayList_init_$Create$ === 'function') invoices = ArrayList_init_$Create$(invoices); else if (typeof ArrayList_init_$Create$_0 === 'function') invoices = ArrayList_init_$Create$_0(invoices);
128906
128906
  }
128907
128907
  settlementProviderId = ('settlementProviderId' in props ? props.settlementProviderId : VOID);
128908
128908
  startDate = ('startDate' in props ? props.startDate : VOID);
@@ -131033,7 +131033,7 @@ function UserConversations(company, conversations) {
131033
131033
  conversations = ('conversations' in props ? props.conversations : VOID);
131034
131034
  if (Array.isArray(conversations)) {
131035
131035
  conversations = conversations.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Conversation(i) : i);
131036
- if (typeof ArrayList_init_$Create$ === 'function') conversations = ArrayList_init_$Create$(conversations);
131036
+ if (typeof ArrayList_init_$Create$ === 'function') conversations = ArrayList_init_$Create$(conversations); else if (typeof ArrayList_init_$Create$_0 === 'function') conversations = ArrayList_init_$Create$_0(conversations);
131037
131037
  }
131038
131038
  }
131039
131039
  Companion_getInstance_553();
@@ -131179,7 +131179,7 @@ function ValidateSMSCommand(groups) {
131179
131179
  groups = ('groups' in props ? props.groups : VOID);
131180
131180
  if (Array.isArray(groups)) {
131181
131181
  groups = groups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new NotificationGroup(i) : i);
131182
- if (typeof ArrayList_init_$Create$ === 'function') groups = ArrayList_init_$Create$(groups);
131182
+ if (typeof ArrayList_init_$Create$ === 'function') groups = ArrayList_init_$Create$(groups); else if (typeof ArrayList_init_$Create$_0 === 'function') groups = ArrayList_init_$Create$_0(groups);
131183
131183
  }
131184
131184
  }
131185
131185
  Companion_getInstance_554();
@@ -132423,7 +132423,7 @@ function Voucher(description, externalReferenceId, postings, tenant, voucherNumb
132423
132423
  postings = ('postings' in props ? props.postings : VOID);
132424
132424
  if (Array.isArray(postings)) {
132425
132425
  postings = postings.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Posting(i) : i);
132426
- if (typeof ArrayList_init_$Create$ === 'function') postings = ArrayList_init_$Create$(postings);
132426
+ if (typeof ArrayList_init_$Create$ === 'function') postings = ArrayList_init_$Create$(postings); else if (typeof ArrayList_init_$Create$_0 === 'function') postings = ArrayList_init_$Create$_0(postings);
132427
132427
  }
132428
132428
  tenant = ('tenant' in props ? props.tenant : VOID);
132429
132429
  voucherNumber = ('voucherNumber' in props ? props.voucherNumber : VOID);
@@ -208914,6 +208914,7 @@ export {
208914
208914
  CreateIssueCommand as CreateIssueCommand3oxl3xgu8nna7,
208915
208915
  CreateIssueCommentCommand as CreateIssueCommentCommand2vafoxou98u6v,
208916
208916
  CreateLoanCommand as CreateLoanCommand36ityjzf0qchl,
208917
+ CreateM2MTokensCommand as CreateM2MTokensCommand1xk42u28kt1rf,
208917
208918
  CreateMeetingCommand as CreateMeetingCommand3frrbtco0sine,
208918
208919
  CreateMessageCommand as CreateMessageCommand5mq24h7gn74m,
208919
208920
  CreateParkingSpaceCommand as CreateParkingSpaceCommandgqk2rd2mzqws,