@solibo/solibo-sdk 1.1.29 → 1.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -0
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +1101 -0
|
@@ -100,6 +100,7 @@ import {
|
|
|
100
100
|
Jsonsmkyu9xjl7fv as Json,
|
|
101
101
|
} from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
102
102
|
import { LocalDateSerializer_getInstance2mk9vo4hqcyvz as LocalDateSerializer_getInstance } from './Kotlin-DateTime-library-kotlinx-datetime.mjs';
|
|
103
|
+
import { Companion_getInstance229rema5imh9m } from './kotlin-kotlin-stdlib.mjs';
|
|
103
104
|
import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from './ktor-ktor-utils.mjs';
|
|
104
105
|
import {
|
|
105
106
|
EmptyContent_getInstance55lf7d2oew98 as EmptyContent_getInstance,
|
|
@@ -3467,8 +3468,18 @@ function AccountList(availableFunds, bank, loans, operatingBalance, operatingBal
|
|
|
3467
3468
|
}
|
|
3468
3469
|
operatingBalance = ('operatingBalance' in props ? props.operatingBalance : VOID);
|
|
3469
3470
|
operatingBalanceAt = ('operatingBalanceAt' in props ? props.operatingBalanceAt : VOID);
|
|
3471
|
+
if (typeof operatingBalanceAt === 'string' || operatingBalanceAt instanceof Date) {
|
|
3472
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
3473
|
+
if (typeof operatingBalanceAt === 'string') operatingBalanceAt = companion.kp(operatingBalanceAt);
|
|
3474
|
+
else operatingBalanceAt = companion.ef(BigInt(operatingBalanceAt.getTime()));
|
|
3475
|
+
}
|
|
3470
3476
|
taxBalance = ('taxBalance' in props ? props.taxBalance : VOID);
|
|
3471
3477
|
taxBalanceAt = ('taxBalanceAt' in props ? props.taxBalanceAt : VOID);
|
|
3478
|
+
if (typeof taxBalanceAt === 'string' || taxBalanceAt instanceof Date) {
|
|
3479
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
3480
|
+
if (typeof taxBalanceAt === 'string') taxBalanceAt = companion.kp(taxBalanceAt);
|
|
3481
|
+
else taxBalanceAt = companion.ef(BigInt(taxBalanceAt.getTime()));
|
|
3482
|
+
}
|
|
3472
3483
|
}
|
|
3473
3484
|
Companion_getInstance_3();
|
|
3474
3485
|
operatingBalance = operatingBalance === VOID ? null : operatingBalance;
|
|
@@ -3982,17 +3993,37 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
|
|
|
3982
3993
|
}
|
|
3983
3994
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
3984
3995
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
3996
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
3997
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
3998
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
3999
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
4000
|
+
}
|
|
3985
4001
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
3986
4002
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new Person(createdBy);
|
|
3987
4003
|
description = ('description' in props ? props.description : VOID);
|
|
3988
4004
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
3989
4005
|
id = ('id' in props ? props.id : VOID);
|
|
3990
4006
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
4007
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
4008
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4009
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
4010
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
4011
|
+
}
|
|
3991
4012
|
invoicePlanId = ('invoicePlanId' in props ? props.invoicePlanId : VOID);
|
|
3992
4013
|
name = ('name' in props ? props.name : VOID);
|
|
3993
4014
|
processedAt = ('processedAt' in props ? props.processedAt : VOID);
|
|
4015
|
+
if (typeof processedAt === 'string' || processedAt instanceof Date) {
|
|
4016
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4017
|
+
if (typeof processedAt === 'string') processedAt = companion.kp(processedAt);
|
|
4018
|
+
else processedAt = companion.ef(BigInt(processedAt.getTime()));
|
|
4019
|
+
}
|
|
3994
4020
|
produceAsClaims = ('produceAsClaims' in props ? props.produceAsClaims : VOID);
|
|
3995
4021
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
4022
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
4023
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4024
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
4025
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
4026
|
+
}
|
|
3996
4027
|
updatedBy = ('updatedBy' in props ? props.updatedBy : VOID);
|
|
3997
4028
|
if (typeof updatedBy === 'object' && updatedBy !== null && updatedBy.constructor === Object) updatedBy = new Person(updatedBy);
|
|
3998
4029
|
}
|
|
@@ -4548,21 +4579,51 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
|
|
|
4548
4579
|
amount = ('amount' in props ? props.amount : VOID);
|
|
4549
4580
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
4550
4581
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
4582
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
4583
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4584
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
4585
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
4586
|
+
}
|
|
4551
4587
|
createdById = ('createdById' in props ? props.createdById : VOID);
|
|
4552
4588
|
description = ('description' in props ? props.description : VOID);
|
|
4553
4589
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
4554
4590
|
id = ('id' in props ? props.id : VOID);
|
|
4555
4591
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
4592
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
4593
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4594
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
4595
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
4596
|
+
}
|
|
4556
4597
|
invoiceId = ('invoiceId' in props ? props.invoiceId : VOID);
|
|
4557
4598
|
name = ('name' in props ? props.name : VOID);
|
|
4558
4599
|
organizationId = ('organizationId' in props ? props.organizationId : VOID);
|
|
4559
4600
|
periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
|
|
4601
|
+
if (typeof periodEnd === 'string' || periodEnd instanceof Date) {
|
|
4602
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4603
|
+
if (typeof periodEnd === 'string') periodEnd = companion.kp(periodEnd);
|
|
4604
|
+
else periodEnd = companion.ef(BigInt(periodEnd.getTime()));
|
|
4605
|
+
}
|
|
4560
4606
|
periodStart = ('periodStart' in props ? props.periodStart : VOID);
|
|
4607
|
+
if (typeof periodStart === 'string' || periodStart instanceof Date) {
|
|
4608
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4609
|
+
if (typeof periodStart === 'string') periodStart = companion.kp(periodStart);
|
|
4610
|
+
else periodStart = companion.ef(BigInt(periodStart.getTime()));
|
|
4611
|
+
}
|
|
4561
4612
|
personId = ('personId' in props ? props.personId : VOID);
|
|
4562
4613
|
planId = ('planId' in props ? props.planId : VOID);
|
|
4563
4614
|
processedAt = ('processedAt' in props ? props.processedAt : VOID);
|
|
4615
|
+
if (typeof processedAt === 'string' || processedAt instanceof Date) {
|
|
4616
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4617
|
+
if (typeof processedAt === 'string') processedAt = companion.kp(processedAt);
|
|
4618
|
+
else processedAt = companion.ef(BigInt(processedAt.getTime()));
|
|
4619
|
+
}
|
|
4564
4620
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
4565
4621
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
4622
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
4623
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
4624
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
4625
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
4626
|
+
}
|
|
4566
4627
|
updatedById = ('updatedById' in props ? props.updatedById : VOID);
|
|
4567
4628
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
4568
4629
|
}
|
|
@@ -6630,7 +6691,17 @@ function Attendance(companyId, id, resident, sectionId, validFrom, validTo) {
|
|
|
6630
6691
|
resident = ('resident' in props ? props.resident : VOID);
|
|
6631
6692
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
6632
6693
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
6694
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
6695
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
6696
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
6697
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
6698
|
+
}
|
|
6633
6699
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
6700
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
6701
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
6702
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
6703
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
6704
|
+
}
|
|
6634
6705
|
}
|
|
6635
6706
|
Companion_getInstance_19();
|
|
6636
6707
|
validTo = validTo === VOID ? null : validTo;
|
|
@@ -8254,7 +8325,17 @@ function BusinessAgreement(annualMeetingIncluded, serviceStartAt, signedAt) {
|
|
|
8254
8325
|
const props = annualMeetingIncluded;
|
|
8255
8326
|
annualMeetingIncluded = ('annualMeetingIncluded' in props ? props.annualMeetingIncluded : VOID);
|
|
8256
8327
|
serviceStartAt = ('serviceStartAt' in props ? props.serviceStartAt : VOID);
|
|
8328
|
+
if (typeof serviceStartAt === 'string' || serviceStartAt instanceof Date) {
|
|
8329
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
8330
|
+
if (typeof serviceStartAt === 'string') serviceStartAt = companion.kp(serviceStartAt);
|
|
8331
|
+
else serviceStartAt = companion.ef(BigInt(serviceStartAt.getTime()));
|
|
8332
|
+
}
|
|
8257
8333
|
signedAt = ('signedAt' in props ? props.signedAt : VOID);
|
|
8334
|
+
if (typeof signedAt === 'string' || signedAt instanceof Date) {
|
|
8335
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
8336
|
+
if (typeof signedAt === 'string') signedAt = companion.kp(signedAt);
|
|
8337
|
+
else signedAt = companion.ef(BigInt(signedAt.getTime()));
|
|
8338
|
+
}
|
|
8258
8339
|
}
|
|
8259
8340
|
annualMeetingIncluded = annualMeetingIncluded === VOID ? null : annualMeetingIncluded;
|
|
8260
8341
|
serviceStartAt = serviceStartAt === VOID ? null : serviceStartAt;
|
|
@@ -9416,6 +9497,11 @@ function CloseInsuranceCommand(endDate) {
|
|
|
9416
9497
|
if (arguments.length === 1 && typeof endDate === 'object' && endDate !== null && endDate.constructor === Object) {
|
|
9417
9498
|
const props = endDate;
|
|
9418
9499
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
9500
|
+
if (typeof endDate === 'string' || endDate instanceof Date) {
|
|
9501
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
9502
|
+
if (typeof endDate === 'string') endDate = companion.kp(endDate);
|
|
9503
|
+
else endDate = companion.ef(BigInt(endDate.getTime()));
|
|
9504
|
+
}
|
|
9419
9505
|
}
|
|
9420
9506
|
this.endDate = endDate;
|
|
9421
9507
|
}
|
|
@@ -9645,6 +9731,11 @@ function CloseLoanCommand(endAt) {
|
|
|
9645
9731
|
if (arguments.length === 1 && typeof endAt === 'object' && endAt !== null && endAt.constructor === Object) {
|
|
9646
9732
|
const props = endAt;
|
|
9647
9733
|
endAt = ('endAt' in props ? props.endAt : VOID);
|
|
9734
|
+
if (typeof endAt === 'string' || endAt instanceof Date) {
|
|
9735
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
9736
|
+
if (typeof endAt === 'string') endAt = companion.kp(endAt);
|
|
9737
|
+
else endAt = companion.ef(BigInt(endAt.getTime()));
|
|
9738
|
+
}
|
|
9648
9739
|
}
|
|
9649
9740
|
endAt = endAt === VOID ? null : endAt;
|
|
9650
9741
|
this.endAt = endAt;
|
|
@@ -9962,10 +10053,25 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
|
|
|
9962
10053
|
const props = communicationType;
|
|
9963
10054
|
communicationType = ('communicationType' in props ? props.communicationType : VOID);
|
|
9964
10055
|
finishedAt = ('finishedAt' in props ? props.finishedAt : VOID);
|
|
10056
|
+
if (typeof finishedAt === 'string' || finishedAt instanceof Date) {
|
|
10057
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
10058
|
+
if (typeof finishedAt === 'string') finishedAt = companion.kp(finishedAt);
|
|
10059
|
+
else finishedAt = companion.ef(BigInt(finishedAt.getTime()));
|
|
10060
|
+
}
|
|
9965
10061
|
recipient = ('recipient' in props ? props.recipient : VOID);
|
|
9966
10062
|
sentAt = ('sentAt' in props ? props.sentAt : VOID);
|
|
10063
|
+
if (typeof sentAt === 'string' || sentAt instanceof Date) {
|
|
10064
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
10065
|
+
if (typeof sentAt === 'string') sentAt = companion.kp(sentAt);
|
|
10066
|
+
else sentAt = companion.ef(BigInt(sentAt.getTime()));
|
|
10067
|
+
}
|
|
9967
10068
|
status = ('status' in props ? props.status : VOID);
|
|
9968
10069
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
10070
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
10071
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
10072
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
10073
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
10074
|
+
}
|
|
9969
10075
|
}
|
|
9970
10076
|
Companion_getInstance_39();
|
|
9971
10077
|
finishedAt = finishedAt === VOID ? null : finishedAt;
|
|
@@ -11748,7 +11854,17 @@ function CompanyBusinessAgreement(annualMeetingIncluded, id, invoicingEmail, ser
|
|
|
11748
11854
|
id = ('id' in props ? props.id : VOID);
|
|
11749
11855
|
invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
|
|
11750
11856
|
serviceStartAt = ('serviceStartAt' in props ? props.serviceStartAt : VOID);
|
|
11857
|
+
if (typeof serviceStartAt === 'string' || serviceStartAt instanceof Date) {
|
|
11858
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
11859
|
+
if (typeof serviceStartAt === 'string') serviceStartAt = companion.kp(serviceStartAt);
|
|
11860
|
+
else serviceStartAt = companion.ef(BigInt(serviceStartAt.getTime()));
|
|
11861
|
+
}
|
|
11751
11862
|
signedAt = ('signedAt' in props ? props.signedAt : VOID);
|
|
11863
|
+
if (typeof signedAt === 'string' || signedAt instanceof Date) {
|
|
11864
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
11865
|
+
if (typeof signedAt === 'string') signedAt = companion.kp(signedAt);
|
|
11866
|
+
else signedAt = companion.ef(BigInt(signedAt.getTime()));
|
|
11867
|
+
}
|
|
11752
11868
|
}
|
|
11753
11869
|
invoicingEmail = invoicingEmail === VOID ? null : invoicingEmail;
|
|
11754
11870
|
serviceStartAt = serviceStartAt === VOID ? null : serviceStartAt;
|
|
@@ -13194,9 +13310,24 @@ function CompanyOrdinances(byLawsCompliantFrom, byLawsDocumentId, byLawsValidFro
|
|
|
13194
13310
|
if (arguments.length === 1 && typeof byLawsCompliantFrom === 'object' && byLawsCompliantFrom !== null && byLawsCompliantFrom.constructor === Object) {
|
|
13195
13311
|
const props = byLawsCompliantFrom;
|
|
13196
13312
|
byLawsCompliantFrom = ('byLawsCompliantFrom' in props ? props.byLawsCompliantFrom : VOID);
|
|
13313
|
+
if (typeof byLawsCompliantFrom === 'string' || byLawsCompliantFrom instanceof Date) {
|
|
13314
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
13315
|
+
if (typeof byLawsCompliantFrom === 'string') byLawsCompliantFrom = companion.kp(byLawsCompliantFrom);
|
|
13316
|
+
else byLawsCompliantFrom = companion.ef(BigInt(byLawsCompliantFrom.getTime()));
|
|
13317
|
+
}
|
|
13197
13318
|
byLawsDocumentId = ('byLawsDocumentId' in props ? props.byLawsDocumentId : VOID);
|
|
13198
13319
|
byLawsValidFrom = ('byLawsValidFrom' in props ? props.byLawsValidFrom : VOID);
|
|
13320
|
+
if (typeof byLawsValidFrom === 'string' || byLawsValidFrom instanceof Date) {
|
|
13321
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
13322
|
+
if (typeof byLawsValidFrom === 'string') byLawsValidFrom = companion.kp(byLawsValidFrom);
|
|
13323
|
+
else byLawsValidFrom = companion.ef(BigInt(byLawsValidFrom.getTime()));
|
|
13324
|
+
}
|
|
13199
13325
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
13326
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
13327
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
13328
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
13329
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
13330
|
+
}
|
|
13200
13331
|
}
|
|
13201
13332
|
byLawsCompliantFrom = byLawsCompliantFrom === VOID ? null : byLawsCompliantFrom;
|
|
13202
13333
|
updatedAt = updatedAt === VOID ? null : updatedAt;
|
|
@@ -14630,6 +14761,11 @@ function CompleteTaskCommand(completedAt) {
|
|
|
14630
14761
|
if (arguments.length === 1 && typeof completedAt === 'object' && completedAt !== null && completedAt.constructor === Object) {
|
|
14631
14762
|
const props = completedAt;
|
|
14632
14763
|
completedAt = ('completedAt' in props ? props.completedAt : VOID);
|
|
14764
|
+
if (typeof completedAt === 'string' || completedAt instanceof Date) {
|
|
14765
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
14766
|
+
if (typeof completedAt === 'string') completedAt = companion.kp(completedAt);
|
|
14767
|
+
else completedAt = companion.ef(BigInt(completedAt.getTime()));
|
|
14768
|
+
}
|
|
14633
14769
|
}
|
|
14634
14770
|
completedAt = completedAt === VOID ? null : completedAt;
|
|
14635
14771
|
this.completedAt = completedAt;
|
|
@@ -16662,6 +16798,11 @@ function Conversation(category, companyId, conversationStartedAt, documents, eve
|
|
|
16662
16798
|
if (typeof category === 'object' && category !== null && category.constructor === Object) category = new CategoryInConversation(category);
|
|
16663
16799
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
16664
16800
|
conversationStartedAt = ('conversationStartedAt' in props ? props.conversationStartedAt : VOID);
|
|
16801
|
+
if (typeof conversationStartedAt === 'string' || conversationStartedAt instanceof Date) {
|
|
16802
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
16803
|
+
if (typeof conversationStartedAt === 'string') conversationStartedAt = companion.kp(conversationStartedAt);
|
|
16804
|
+
else conversationStartedAt = companion.ef(BigInt(conversationStartedAt.getTime()));
|
|
16805
|
+
}
|
|
16665
16806
|
documents = ('documents' in props ? props.documents : VOID);
|
|
16666
16807
|
if (Array.isArray(documents)) {
|
|
16667
16808
|
documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
|
|
@@ -17834,6 +17975,11 @@ function ConversationEvent(description, descriptionMeta, eventType, performedAt,
|
|
|
17834
17975
|
descriptionMeta = ('descriptionMeta' in props ? props.descriptionMeta : VOID);
|
|
17835
17976
|
eventType = ('eventType' in props ? props.eventType : VOID);
|
|
17836
17977
|
performedAt = ('performedAt' in props ? props.performedAt : VOID);
|
|
17978
|
+
if (typeof performedAt === 'string' || performedAt instanceof Date) {
|
|
17979
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
17980
|
+
if (typeof performedAt === 'string') performedAt = companion.kp(performedAt);
|
|
17981
|
+
else performedAt = companion.ef(BigInt(performedAt.getTime()));
|
|
17982
|
+
}
|
|
17837
17983
|
performedBy = ('performedBy' in props ? props.performedBy : VOID);
|
|
17838
17984
|
performedById = ('performedById' in props ? props.performedById : VOID);
|
|
17839
17985
|
system = ('system' in props ? props.system : VOID);
|
|
@@ -20171,11 +20317,26 @@ function CreateAdHocInvoiceLineCommand(account, amount, description, dueDate, in
|
|
|
20171
20317
|
description = ('description' in props ? props.description : VOID);
|
|
20172
20318
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
20173
20319
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
20320
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
20321
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
20322
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
20323
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
20324
|
+
}
|
|
20174
20325
|
invoicingGroupId = ('invoicingGroupId' in props ? props.invoicingGroupId : VOID);
|
|
20175
20326
|
name = ('name' in props ? props.name : VOID);
|
|
20176
20327
|
organizationId = ('organizationId' in props ? props.organizationId : VOID);
|
|
20177
20328
|
periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
|
|
20329
|
+
if (typeof periodEnd === 'string' || periodEnd instanceof Date) {
|
|
20330
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
20331
|
+
if (typeof periodEnd === 'string') periodEnd = companion.kp(periodEnd);
|
|
20332
|
+
else periodEnd = companion.ef(BigInt(periodEnd.getTime()));
|
|
20333
|
+
}
|
|
20178
20334
|
periodStart = ('periodStart' in props ? props.periodStart : VOID);
|
|
20335
|
+
if (typeof periodStart === 'string' || periodStart instanceof Date) {
|
|
20336
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
20337
|
+
if (typeof periodStart === 'string') periodStart = companion.kp(periodStart);
|
|
20338
|
+
else periodStart = companion.ef(BigInt(periodStart.getTime()));
|
|
20339
|
+
}
|
|
20179
20340
|
personId = ('personId' in props ? props.personId : VOID);
|
|
20180
20341
|
planId = ('planId' in props ? props.planId : VOID);
|
|
20181
20342
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
@@ -20611,7 +20772,17 @@ function CreateAttendanceCommand(validFrom, validTo) {
|
|
|
20611
20772
|
if (arguments.length === 1 && typeof validFrom === 'object' && validFrom !== null && validFrom.constructor === Object) {
|
|
20612
20773
|
const props = validFrom;
|
|
20613
20774
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
20775
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
20776
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
20777
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
20778
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
20779
|
+
}
|
|
20614
20780
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
20781
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
20782
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
20783
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
20784
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
20785
|
+
}
|
|
20615
20786
|
}
|
|
20616
20787
|
validTo = validTo === VOID ? null : validTo;
|
|
20617
20788
|
this.validFrom = validFrom;
|
|
@@ -23773,6 +23944,11 @@ function CreateInsuranceCommand(policyNumber, premium, startDate, supplierId) {
|
|
|
23773
23944
|
policyNumber = ('policyNumber' in props ? props.policyNumber : VOID);
|
|
23774
23945
|
premium = ('premium' in props ? props.premium : VOID);
|
|
23775
23946
|
startDate = ('startDate' in props ? props.startDate : VOID);
|
|
23947
|
+
if (typeof startDate === 'string' || startDate instanceof Date) {
|
|
23948
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
23949
|
+
if (typeof startDate === 'string') startDate = companion.kp(startDate);
|
|
23950
|
+
else startDate = companion.ef(BigInt(startDate.getTime()));
|
|
23951
|
+
}
|
|
23776
23952
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
23777
23953
|
}
|
|
23778
23954
|
startDate = startDate === VOID ? null : startDate;
|
|
@@ -25089,7 +25265,17 @@ function CreateInvoicePlanLineCommand(account, amount, description, distribution
|
|
|
25089
25265
|
name = ('name' in props ? props.name : VOID);
|
|
25090
25266
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
25091
25267
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
25268
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
25269
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
25270
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
25271
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
25272
|
+
}
|
|
25092
25273
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
25274
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
25275
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
25276
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
25277
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
25278
|
+
}
|
|
25093
25279
|
}
|
|
25094
25280
|
Companion_getInstance_108();
|
|
25095
25281
|
description = description === VOID ? null : description;
|
|
@@ -25460,10 +25646,25 @@ function CreateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
|
|
|
25460
25646
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
25461
25647
|
mode = ('mode' in props ? props.mode : VOID);
|
|
25462
25648
|
oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
|
|
25649
|
+
if (typeof oneTimeDate === 'string' || oneTimeDate instanceof Date) {
|
|
25650
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
25651
|
+
if (typeof oneTimeDate === 'string') oneTimeDate = companion.kp(oneTimeDate);
|
|
25652
|
+
else oneTimeDate = companion.ef(BigInt(oneTimeDate.getTime()));
|
|
25653
|
+
}
|
|
25463
25654
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
25464
25655
|
produceAsClaims = ('produceAsClaims' in props ? props.produceAsClaims : VOID);
|
|
25465
25656
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
25657
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
25658
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
25659
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
25660
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
25661
|
+
}
|
|
25466
25662
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
25663
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
25664
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
25665
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
25666
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
25667
|
+
}
|
|
25467
25668
|
}
|
|
25468
25669
|
Companion_getInstance_109();
|
|
25469
25670
|
description = description === VOID ? null : description;
|
|
@@ -26238,11 +26439,21 @@ function CreateLoanCommand(completesAt, inAgreement, initialSum, interest, loanN
|
|
|
26238
26439
|
if (arguments.length === 1 && typeof completesAt === 'object' && completesAt !== null && completesAt.constructor === Object) {
|
|
26239
26440
|
const props = completesAt;
|
|
26240
26441
|
completesAt = ('completesAt' in props ? props.completesAt : VOID);
|
|
26442
|
+
if (typeof completesAt === 'string' || completesAt instanceof Date) {
|
|
26443
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
26444
|
+
if (typeof completesAt === 'string') completesAt = companion.kp(completesAt);
|
|
26445
|
+
else completesAt = companion.ef(BigInt(completesAt.getTime()));
|
|
26446
|
+
}
|
|
26241
26447
|
inAgreement = ('inAgreement' in props ? props.inAgreement : VOID);
|
|
26242
26448
|
initialSum = ('initialSum' in props ? props.initialSum : VOID);
|
|
26243
26449
|
interest = ('interest' in props ? props.interest : VOID);
|
|
26244
26450
|
loanNumber = ('loanNumber' in props ? props.loanNumber : VOID);
|
|
26245
26451
|
raisedAt = ('raisedAt' in props ? props.raisedAt : VOID);
|
|
26452
|
+
if (typeof raisedAt === 'string' || raisedAt instanceof Date) {
|
|
26453
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
26454
|
+
if (typeof raisedAt === 'string') raisedAt = companion.kp(raisedAt);
|
|
26455
|
+
else raisedAt = companion.ef(BigInt(raisedAt.getTime()));
|
|
26456
|
+
}
|
|
26246
26457
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
26247
26458
|
tripletexAccount = ('tripletexAccount' in props ? props.tripletexAccount : VOID);
|
|
26248
26459
|
type = ('type' in props ? props.type : VOID);
|
|
@@ -26656,7 +26867,17 @@ function CreateMeetingCommand(location, plannedEndAt, plannedStartAt, title) {
|
|
|
26656
26867
|
const props = location;
|
|
26657
26868
|
location = ('location' in props ? props.location : VOID);
|
|
26658
26869
|
plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
|
|
26870
|
+
if (typeof plannedEndAt === 'string' || plannedEndAt instanceof Date) {
|
|
26871
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
26872
|
+
if (typeof plannedEndAt === 'string') plannedEndAt = companion.kp(plannedEndAt);
|
|
26873
|
+
else plannedEndAt = companion.ef(BigInt(plannedEndAt.getTime()));
|
|
26874
|
+
}
|
|
26659
26875
|
plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
|
|
26876
|
+
if (typeof plannedStartAt === 'string' || plannedStartAt instanceof Date) {
|
|
26877
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
26878
|
+
if (typeof plannedStartAt === 'string') plannedStartAt = companion.kp(plannedStartAt);
|
|
26879
|
+
else plannedStartAt = companion.ef(BigInt(plannedStartAt.getTime()));
|
|
26880
|
+
}
|
|
26660
26881
|
title = ('title' in props ? props.title : VOID);
|
|
26661
26882
|
}
|
|
26662
26883
|
location = location === VOID ? null : location;
|
|
@@ -27292,6 +27513,11 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
27292
27513
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
27293
27514
|
publish = ('publish' in props ? props.publish : VOID);
|
|
27294
27515
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
27516
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
27517
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
27518
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
27519
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
27520
|
+
}
|
|
27295
27521
|
reviewers = ('reviewers' in props ? props.reviewers : VOID);
|
|
27296
27522
|
subject = ('subject' in props ? props.subject : VOID);
|
|
27297
27523
|
}
|
|
@@ -28111,6 +28337,11 @@ function CreateOrganizationResidentCommand(accountNumber, invoiceRecipient, nati
|
|
|
28111
28337
|
parkingSpaceId = ('parkingSpaceId' in props ? props.parkingSpaceId : VOID);
|
|
28112
28338
|
preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
|
|
28113
28339
|
residencyStartedAt = ('residencyStartedAt' in props ? props.residencyStartedAt : VOID);
|
|
28340
|
+
if (typeof residencyStartedAt === 'string' || residencyStartedAt instanceof Date) {
|
|
28341
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
28342
|
+
if (typeof residencyStartedAt === 'string') residencyStartedAt = companion.kp(residencyStartedAt);
|
|
28343
|
+
else residencyStartedAt = companion.ef(BigInt(residencyStartedAt.getTime()));
|
|
28344
|
+
}
|
|
28114
28345
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
28115
28346
|
storageRoomId = ('storageRoomId' in props ? props.storageRoomId : VOID);
|
|
28116
28347
|
businessAddress = ('businessAddress' in props ? props.businessAddress : VOID);
|
|
@@ -30058,6 +30289,11 @@ function CreatePersonResidentCommand(accountNumber, invoiceRecipient, nationalit
|
|
|
30058
30289
|
parkingSpaceId = ('parkingSpaceId' in props ? props.parkingSpaceId : VOID);
|
|
30059
30290
|
preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
|
|
30060
30291
|
residencyStartedAt = ('residencyStartedAt' in props ? props.residencyStartedAt : VOID);
|
|
30292
|
+
if (typeof residencyStartedAt === 'string' || residencyStartedAt instanceof Date) {
|
|
30293
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
30294
|
+
if (typeof residencyStartedAt === 'string') residencyStartedAt = companion.kp(residencyStartedAt);
|
|
30295
|
+
else residencyStartedAt = companion.ef(BigInt(residencyStartedAt.getTime()));
|
|
30296
|
+
}
|
|
30061
30297
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
30062
30298
|
storageRoomId = ('storageRoomId' in props ? props.storageRoomId : VOID);
|
|
30063
30299
|
email = ('email' in props ? props.email : VOID);
|
|
@@ -30522,6 +30758,11 @@ function CreatePostCommand(content, contentUrls, notificationEmailGroups, notifi
|
|
|
30522
30758
|
pinned = ('pinned' in props ? props.pinned : VOID);
|
|
30523
30759
|
private_0 = ('private' in props ? props.private : VOID);
|
|
30524
30760
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
30761
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
30762
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
30763
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
30764
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
30765
|
+
}
|
|
30525
30766
|
title = ('title' in props ? props.title : VOID);
|
|
30526
30767
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
30527
30768
|
}
|
|
@@ -30917,6 +31158,11 @@ function CreatePracticalInfoCommand(content, contentUrls, notificationEmailGroup
|
|
|
30917
31158
|
pinned = ('pinned' in props ? props.pinned : VOID);
|
|
30918
31159
|
private_0 = ('private' in props ? props.private : VOID);
|
|
30919
31160
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
31161
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
31162
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
31163
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
31164
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
31165
|
+
}
|
|
30920
31166
|
title = ('title' in props ? props.title : VOID);
|
|
30921
31167
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
30922
31168
|
}
|
|
@@ -31572,6 +31818,11 @@ function CreateRoutineCommand(description, draftId, dueDateOffset, recommendedIn
|
|
|
31572
31818
|
requiresSupplier = ('requiresSupplier' in props ? props.requiresSupplier : VOID);
|
|
31573
31819
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
31574
31820
|
startDate = ('startDate' in props ? props.startDate : VOID);
|
|
31821
|
+
if (typeof startDate === 'string' || startDate instanceof Date) {
|
|
31822
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
31823
|
+
if (typeof startDate === 'string') startDate = companion.kp(startDate);
|
|
31824
|
+
else startDate = companion.ef(BigInt(startDate.getTime()));
|
|
31825
|
+
}
|
|
31575
31826
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
31576
31827
|
svgName = ('svgName' in props ? props.svgName : VOID);
|
|
31577
31828
|
title = ('title' in props ? props.title : VOID);
|
|
@@ -31916,6 +32167,11 @@ function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
|
|
|
31916
32167
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
31917
32168
|
publish = ('publish' in props ? props.publish : VOID);
|
|
31918
32169
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
32170
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
32171
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
32172
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
32173
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
32174
|
+
}
|
|
31919
32175
|
}
|
|
31920
32176
|
Companion_getInstance_134();
|
|
31921
32177
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
@@ -33653,6 +33909,11 @@ function CreateSettlementProviderConfigurationCommand(closedAt, endDate, relevan
|
|
|
33653
33909
|
if (arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object) {
|
|
33654
33910
|
const props = closedAt;
|
|
33655
33911
|
closedAt = ('closedAt' in props ? props.closedAt : VOID);
|
|
33912
|
+
if (typeof closedAt === 'string' || closedAt instanceof Date) {
|
|
33913
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
33914
|
+
if (typeof closedAt === 'string') closedAt = companion.kp(closedAt);
|
|
33915
|
+
else closedAt = companion.ef(BigInt(closedAt.getTime()));
|
|
33916
|
+
}
|
|
33656
33917
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
33657
33918
|
relevantOrgnrs = ('relevantOrgnrs' in props ? props.relevantOrgnrs : VOID);
|
|
33658
33919
|
resolverPrefix = ('resolverPrefix' in props ? props.resolverPrefix : VOID);
|
|
@@ -34916,7 +35177,17 @@ function CreateTaskCommand(description, dueDate, intervalStart, intervalType, in
|
|
|
34916
35177
|
const props = description;
|
|
34917
35178
|
description = ('description' in props ? props.description : VOID);
|
|
34918
35179
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
35180
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
35181
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
35182
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
35183
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
35184
|
+
}
|
|
34919
35185
|
intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
|
|
35186
|
+
if (typeof intervalStart === 'string' || intervalStart instanceof Date) {
|
|
35187
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
35188
|
+
if (typeof intervalStart === 'string') intervalStart = companion.kp(intervalStart);
|
|
35189
|
+
else intervalStart = companion.ef(BigInt(intervalStart.getTime()));
|
|
35190
|
+
}
|
|
34920
35191
|
intervalType = ('intervalType' in props ? props.intervalType : VOID);
|
|
34921
35192
|
intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
|
|
34922
35193
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
@@ -35439,6 +35710,11 @@ function CreditInvoiceCommand(description, lines, overrideCreditDate) {
|
|
|
35439
35710
|
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);
|
|
35440
35711
|
}
|
|
35441
35712
|
overrideCreditDate = ('overrideCreditDate' in props ? props.overrideCreditDate : VOID);
|
|
35713
|
+
if (typeof overrideCreditDate === 'string' || overrideCreditDate instanceof Date) {
|
|
35714
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
35715
|
+
if (typeof overrideCreditDate === 'string') overrideCreditDate = companion.kp(overrideCreditDate);
|
|
35716
|
+
else overrideCreditDate = companion.ef(BigInt(overrideCreditDate.getTime()));
|
|
35717
|
+
}
|
|
35442
35718
|
}
|
|
35443
35719
|
Companion_getInstance_148();
|
|
35444
35720
|
description = description === VOID ? null : description;
|
|
@@ -35779,6 +36055,11 @@ function CustomerComment(content, createdAt, createdBy, id, organizationId, pers
|
|
|
35779
36055
|
const props = content;
|
|
35780
36056
|
content = ('content' in props ? props.content : VOID);
|
|
35781
36057
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
36058
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
36059
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
36060
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
36061
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
36062
|
+
}
|
|
35782
36063
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
35783
36064
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new CustomerCommentCreatedBy(createdBy);
|
|
35784
36065
|
id = ('id' in props ? props.id : VOID);
|
|
@@ -38045,9 +38326,19 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
|
|
|
38045
38326
|
}
|
|
38046
38327
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
38047
38328
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
38329
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
38330
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
38331
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
38332
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
38333
|
+
}
|
|
38048
38334
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
38049
38335
|
createdByName = ('createdByName' in props ? props.createdByName : VOID);
|
|
38050
38336
|
deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
|
|
38337
|
+
if (typeof deletedAt === 'string' || deletedAt instanceof Date) {
|
|
38338
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
38339
|
+
if (typeof deletedAt === 'string') deletedAt = companion.kp(deletedAt);
|
|
38340
|
+
else deletedAt = companion.ef(BigInt(deletedAt.getTime()));
|
|
38341
|
+
}
|
|
38051
38342
|
deletedBy = ('deletedBy' in props ? props.deletedBy : VOID);
|
|
38052
38343
|
deletedByName = ('deletedByName' in props ? props.deletedByName : VOID);
|
|
38053
38344
|
fileName = ('fileName' in props ? props.fileName : VOID);
|
|
@@ -38059,6 +38350,11 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
|
|
|
38059
38350
|
parentId = ('parentId' in props ? props.parentId : VOID);
|
|
38060
38351
|
type = ('type' in props ? props.type : VOID);
|
|
38061
38352
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
38353
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
38354
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
38355
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
38356
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
38357
|
+
}
|
|
38062
38358
|
updatedBy = ('updatedBy' in props ? props.updatedBy : VOID);
|
|
38063
38359
|
updatedByName = ('updatedByName' in props ? props.updatedByName : VOID);
|
|
38064
38360
|
}
|
|
@@ -39188,6 +39484,11 @@ function EconomicReport(companyId, departmentDocumentEnabled, departmentDocument
|
|
|
39188
39484
|
forPeriod = ('forPeriod' in props ? props.forPeriod : VOID);
|
|
39189
39485
|
id = ('id' in props ? props.id : VOID);
|
|
39190
39486
|
orderedAt = ('orderedAt' in props ? props.orderedAt : VOID);
|
|
39487
|
+
if (typeof orderedAt === 'string' || orderedAt instanceof Date) {
|
|
39488
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
39489
|
+
if (typeof orderedAt === 'string') orderedAt = companion.kp(orderedAt);
|
|
39490
|
+
else orderedAt = companion.ef(BigInt(orderedAt.getTime()));
|
|
39491
|
+
}
|
|
39191
39492
|
orderedById = ('orderedById' in props ? props.orderedById : VOID);
|
|
39192
39493
|
projectDocumentEnabled = ('projectDocumentEnabled' in props ? props.projectDocumentEnabled : VOID);
|
|
39193
39494
|
projectDocumentId = ('projectDocumentId' in props ? props.projectDocumentId : VOID);
|
|
@@ -39720,7 +40021,17 @@ function EditResidencyCommand(roleType, sectionId, validFrom, validTo) {
|
|
|
39720
40021
|
roleType = ('roleType' in props ? props.roleType : VOID);
|
|
39721
40022
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
39722
40023
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
40024
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
40025
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
40026
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
40027
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
40028
|
+
}
|
|
39723
40029
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
40030
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
40031
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
40032
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
40033
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
40034
|
+
}
|
|
39724
40035
|
}
|
|
39725
40036
|
Companion_getInstance_168();
|
|
39726
40037
|
validTo = validTo === VOID ? null : validTo;
|
|
@@ -40345,6 +40656,11 @@ function Expense(account, amount, createdAt, createdBy, dateOfPurchase, descript
|
|
|
40345
40656
|
account = ('account' in props ? props.account : VOID);
|
|
40346
40657
|
amount = ('amount' in props ? props.amount : VOID);
|
|
40347
40658
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
40659
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
40660
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
40661
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
40662
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
40663
|
+
}
|
|
40348
40664
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
40349
40665
|
dateOfPurchase = ('dateOfPurchase' in props ? props.dateOfPurchase : VOID);
|
|
40350
40666
|
description = ('description' in props ? props.description : VOID);
|
|
@@ -40766,6 +41082,11 @@ function ExpenseProcessing(performedAt, performedBy, performedById, rejectionRea
|
|
|
40766
41082
|
if (arguments.length === 1 && typeof performedAt === 'object' && performedAt !== null && performedAt.constructor === Object) {
|
|
40767
41083
|
const props = performedAt;
|
|
40768
41084
|
performedAt = ('performedAt' in props ? props.performedAt : VOID);
|
|
41085
|
+
if (typeof performedAt === 'string' || performedAt instanceof Date) {
|
|
41086
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
41087
|
+
if (typeof performedAt === 'string') performedAt = companion.kp(performedAt);
|
|
41088
|
+
else performedAt = companion.ef(BigInt(performedAt.getTime()));
|
|
41089
|
+
}
|
|
40769
41090
|
performedBy = ('performedBy' in props ? props.performedBy : VOID);
|
|
40770
41091
|
if (typeof performedBy === 'object' && performedBy !== null && performedBy.constructor === Object) performedBy = new Person(performedBy);
|
|
40771
41092
|
performedById = ('performedById' in props ? props.performedById : VOID);
|
|
@@ -48956,9 +49277,19 @@ function GlobalPreviewUpcoming(dueDate, id, invoiceCount, invoiceDate, name) {
|
|
|
48956
49277
|
if (arguments.length === 1 && typeof dueDate === 'object' && dueDate !== null && dueDate.constructor === Object) {
|
|
48957
49278
|
const props = dueDate;
|
|
48958
49279
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
49280
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
49281
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
49282
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
49283
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
49284
|
+
}
|
|
48959
49285
|
id = ('id' in props ? props.id : VOID);
|
|
48960
49286
|
invoiceCount = ('invoiceCount' in props ? props.invoiceCount : VOID);
|
|
48961
49287
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
49288
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
49289
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
49290
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
49291
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
49292
|
+
}
|
|
48962
49293
|
name = ('name' in props ? props.name : VOID);
|
|
48963
49294
|
}
|
|
48964
49295
|
this.dueDate = dueDate;
|
|
@@ -49804,6 +50135,11 @@ function Innsending(altinnreferanse, forsendelseid, innsender, innsendingstidspu
|
|
|
49804
50135
|
innsender = ('innsender' in props ? props.innsender : VOID);
|
|
49805
50136
|
if (typeof innsender === 'object' && innsender !== null && innsender.constructor === Object) innsender = new Innsender(innsender);
|
|
49806
50137
|
innsendingstidspunkt = ('innsendingstidspunkt' in props ? props.innsendingstidspunkt : VOID);
|
|
50138
|
+
if (typeof innsendingstidspunkt === 'string' || innsendingstidspunkt instanceof Date) {
|
|
50139
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
50140
|
+
if (typeof innsendingstidspunkt === 'string') innsendingstidspunkt = companion.kp(innsendingstidspunkt);
|
|
50141
|
+
else innsendingstidspunkt = companion.ef(BigInt(innsendingstidspunkt.getTime()));
|
|
50142
|
+
}
|
|
49807
50143
|
}
|
|
49808
50144
|
altinnreferanse = altinnreferanse === VOID ? null : altinnreferanse;
|
|
49809
50145
|
this.altinnreferanse = altinnreferanse;
|
|
@@ -50249,10 +50585,20 @@ function Insurance(agreementDocumentId, companyId, endDate, id, policyNumber, pr
|
|
|
50249
50585
|
agreementDocumentId = ('agreementDocumentId' in props ? props.agreementDocumentId : VOID);
|
|
50250
50586
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
50251
50587
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
50588
|
+
if (typeof endDate === 'string' || endDate instanceof Date) {
|
|
50589
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
50590
|
+
if (typeof endDate === 'string') endDate = companion.kp(endDate);
|
|
50591
|
+
else endDate = companion.ef(BigInt(endDate.getTime()));
|
|
50592
|
+
}
|
|
50252
50593
|
id = ('id' in props ? props.id : VOID);
|
|
50253
50594
|
policyNumber = ('policyNumber' in props ? props.policyNumber : VOID);
|
|
50254
50595
|
premium = ('premium' in props ? props.premium : VOID);
|
|
50255
50596
|
startDate = ('startDate' in props ? props.startDate : VOID);
|
|
50597
|
+
if (typeof startDate === 'string' || startDate instanceof Date) {
|
|
50598
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
50599
|
+
if (typeof startDate === 'string') startDate = companion.kp(startDate);
|
|
50600
|
+
else startDate = companion.ef(BigInt(startDate.getTime()));
|
|
50601
|
+
}
|
|
50256
50602
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
50257
50603
|
supplierName = ('supplierName' in props ? props.supplierName : VOID);
|
|
50258
50604
|
}
|
|
@@ -54300,6 +54646,11 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
|
|
|
54300
54646
|
active = ('active' in props ? props.active : VOID);
|
|
54301
54647
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
54302
54648
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
54649
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
54650
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
54651
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
54652
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
54653
|
+
}
|
|
54303
54654
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
54304
54655
|
distributions = ('distributions' in props ? props.distributions : VOID);
|
|
54305
54656
|
if (Array.isArray(distributions)) {
|
|
@@ -54314,6 +54665,11 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
|
|
|
54314
54665
|
}
|
|
54315
54666
|
name = ('name' in props ? props.name : VOID);
|
|
54316
54667
|
nextPreview = ('nextPreview' in props ? props.nextPreview : VOID);
|
|
54668
|
+
if (typeof nextPreview === 'string' || nextPreview instanceof Date) {
|
|
54669
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
54670
|
+
if (typeof nextPreview === 'string') nextPreview = companion.kp(nextPreview);
|
|
54671
|
+
else nextPreview = companion.ef(BigInt(nextPreview.getTime()));
|
|
54672
|
+
}
|
|
54317
54673
|
previews = ('previews' in props ? props.previews : VOID);
|
|
54318
54674
|
if (Array.isArray(previews)) {
|
|
54319
54675
|
previews = previews.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreview(i) : i);
|
|
@@ -54328,6 +54684,11 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
|
|
|
54328
54684
|
}
|
|
54329
54685
|
type = ('type' in props ? props.type : VOID);
|
|
54330
54686
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
54687
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
54688
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
54689
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
54690
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
54691
|
+
}
|
|
54331
54692
|
updatedBy = ('updatedBy' in props ? props.updatedBy : VOID);
|
|
54332
54693
|
}
|
|
54333
54694
|
Companion_getInstance_231();
|
|
@@ -54696,6 +55057,11 @@ function InvoicePlanDistribution(createdAt, createdBy, description, fractions, i
|
|
|
54696
55057
|
if (arguments.length === 1 && typeof createdAt === 'object' && createdAt !== null && createdAt.constructor === Object) {
|
|
54697
55058
|
const props = createdAt;
|
|
54698
55059
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
55060
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
55061
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
55062
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
55063
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
55064
|
+
}
|
|
54699
55065
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
54700
55066
|
description = ('description' in props ? props.description : VOID);
|
|
54701
55067
|
fractions = ('fractions' in props ? props.fractions : VOID);
|
|
@@ -55318,13 +55684,28 @@ function InvoicePlanLineRevision(account, amount, createdAt, createdBy, descript
|
|
|
55318
55684
|
account = ('account' in props ? props.account : VOID);
|
|
55319
55685
|
amount = ('amount' in props ? props.amount : VOID);
|
|
55320
55686
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
55687
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
55688
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
55689
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
55690
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
55691
|
+
}
|
|
55321
55692
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
55322
55693
|
descripton = ('descripton' in props ? props.descripton : VOID);
|
|
55323
55694
|
invoicePlanDistributionId = ('invoicePlanDistributionId' in props ? props.invoicePlanDistributionId : VOID);
|
|
55324
55695
|
name = ('name' in props ? props.name : VOID);
|
|
55325
55696
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
55326
55697
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
55698
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
55699
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
55700
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
55701
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
55702
|
+
}
|
|
55327
55703
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
55704
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
55705
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
55706
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
55707
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
55708
|
+
}
|
|
55328
55709
|
}
|
|
55329
55710
|
descripton = descripton === VOID ? null : descripton;
|
|
55330
55711
|
validTo = validTo === VOID ? null : validTo;
|
|
@@ -55945,6 +56326,11 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
|
|
|
55945
56326
|
if (arguments.length === 1 && typeof createdAt === 'object' && createdAt !== null && createdAt.constructor === Object) {
|
|
55946
56327
|
const props = createdAt;
|
|
55947
56328
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
56329
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
56330
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56331
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
56332
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
56333
|
+
}
|
|
55948
56334
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
55949
56335
|
description = ('description' in props ? props.description : VOID);
|
|
55950
56336
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
@@ -55952,9 +56338,24 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
|
|
|
55952
56338
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
55953
56339
|
mode = ('mode' in props ? props.mode : VOID);
|
|
55954
56340
|
oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
|
|
56341
|
+
if (typeof oneTimeDate === 'string' || oneTimeDate instanceof Date) {
|
|
56342
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56343
|
+
if (typeof oneTimeDate === 'string') oneTimeDate = companion.kp(oneTimeDate);
|
|
56344
|
+
else oneTimeDate = companion.ef(BigInt(oneTimeDate.getTime()));
|
|
56345
|
+
}
|
|
55955
56346
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
55956
56347
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
56348
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
56349
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56350
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
56351
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
56352
|
+
}
|
|
55957
56353
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
56354
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
56355
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56356
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
56357
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
56358
|
+
}
|
|
55958
56359
|
}
|
|
55959
56360
|
Companion_getInstance_238();
|
|
55960
56361
|
description = description === VOID ? null : description;
|
|
@@ -56199,6 +56600,11 @@ function InvoicePlanTransaction(createdAt, id, overdueEnabled) {
|
|
|
56199
56600
|
if (arguments.length === 1 && typeof createdAt === 'object' && createdAt !== null && createdAt.constructor === Object) {
|
|
56200
56601
|
const props = createdAt;
|
|
56201
56602
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
56603
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
56604
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56605
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
56606
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
56607
|
+
}
|
|
56202
56608
|
id = ('id' in props ? props.id : VOID);
|
|
56203
56609
|
overdueEnabled = ('overdueEnabled' in props ? props.overdueEnabled : VOID);
|
|
56204
56610
|
}
|
|
@@ -56532,7 +56938,17 @@ function InvoicePreview(boligNr, dueDate, invoiceDate, lineGroups, lines, payer,
|
|
|
56532
56938
|
const props = boligNr;
|
|
56533
56939
|
boligNr = ('boligNr' in props ? props.boligNr : VOID);
|
|
56534
56940
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
56941
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
56942
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56943
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
56944
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
56945
|
+
}
|
|
56535
56946
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
56947
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
56948
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
56949
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
56950
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
56951
|
+
}
|
|
56536
56952
|
lineGroups = ('lineGroups' in props ? props.lineGroups : VOID);
|
|
56537
56953
|
if (Array.isArray(lineGroups)) {
|
|
56538
56954
|
lineGroups = lineGroups.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoicePreviewLineGroup(i) : i);
|
|
@@ -57694,6 +58110,11 @@ function InvoiceProcessing(approvalReason, performedAt, performedBy, performedBy
|
|
|
57694
58110
|
const props = approvalReason;
|
|
57695
58111
|
approvalReason = ('approvalReason' in props ? props.approvalReason : VOID);
|
|
57696
58112
|
performedAt = ('performedAt' in props ? props.performedAt : VOID);
|
|
58113
|
+
if (typeof performedAt === 'string' || performedAt instanceof Date) {
|
|
58114
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
58115
|
+
if (typeof performedAt === 'string') performedAt = companion.kp(performedAt);
|
|
58116
|
+
else performedAt = companion.ef(BigInt(performedAt.getTime()));
|
|
58117
|
+
}
|
|
57697
58118
|
performedBy = ('performedBy' in props ? props.performedBy : VOID);
|
|
57698
58119
|
if (typeof performedBy === 'object' && performedBy !== null && performedBy.constructor === Object) performedBy = new Person(performedBy);
|
|
57699
58120
|
performedById = ('performedById' in props ? props.performedById : VOID);
|
|
@@ -60256,6 +60677,11 @@ function Issue(companyId, description, id, meetingAt, meetingId, meetingTitle, p
|
|
|
60256
60677
|
description = ('description' in props ? props.description : VOID);
|
|
60257
60678
|
id = ('id' in props ? props.id : VOID);
|
|
60258
60679
|
meetingAt = ('meetingAt' in props ? props.meetingAt : VOID);
|
|
60680
|
+
if (typeof meetingAt === 'string' || meetingAt instanceof Date) {
|
|
60681
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
60682
|
+
if (typeof meetingAt === 'string') meetingAt = companion.kp(meetingAt);
|
|
60683
|
+
else meetingAt = companion.ef(BigInt(meetingAt.getTime()));
|
|
60684
|
+
}
|
|
60259
60685
|
meetingId = ('meetingId' in props ? props.meetingId : VOID);
|
|
60260
60686
|
meetingTitle = ('meetingTitle' in props ? props.meetingTitle : VOID);
|
|
60261
60687
|
proposedResolution = ('proposedResolution' in props ? props.proposedResolution : VOID);
|
|
@@ -60555,6 +60981,11 @@ function IssueComment(content, createdAt, createdBy, emoticon, id) {
|
|
|
60555
60981
|
const props = content;
|
|
60556
60982
|
content = ('content' in props ? props.content : VOID);
|
|
60557
60983
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
60984
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
60985
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
60986
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
60987
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
60988
|
+
}
|
|
60558
60989
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
60559
60990
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new PersonUser(createdBy);
|
|
60560
60991
|
emoticon = ('emoticon' in props ? props.emoticon : VOID);
|
|
@@ -60971,6 +61402,11 @@ function IssueDetails(comments, companyId, conversationIds, createdAt, createdBy
|
|
|
60971
61402
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
60972
61403
|
conversationIds = ('conversationIds' in props ? props.conversationIds : VOID);
|
|
60973
61404
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
61405
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
61406
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
61407
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
61408
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
61409
|
+
}
|
|
60974
61410
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
60975
61411
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new Person(createdBy);
|
|
60976
61412
|
description = ('description' in props ? props.description : VOID);
|
|
@@ -61700,6 +62136,11 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
|
|
|
61700
62136
|
if (arguments.length === 1 && typeof attachedToMeetingAt === 'object' && attachedToMeetingAt !== null && attachedToMeetingAt.constructor === Object) {
|
|
61701
62137
|
const props = attachedToMeetingAt;
|
|
61702
62138
|
attachedToMeetingAt = ('attachedToMeetingAt' in props ? props.attachedToMeetingAt : VOID);
|
|
62139
|
+
if (typeof attachedToMeetingAt === 'string' || attachedToMeetingAt instanceof Date) {
|
|
62140
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
62141
|
+
if (typeof attachedToMeetingAt === 'string') attachedToMeetingAt = companion.kp(attachedToMeetingAt);
|
|
62142
|
+
else attachedToMeetingAt = companion.ef(BigInt(attachedToMeetingAt.getTime()));
|
|
62143
|
+
}
|
|
61703
62144
|
attachedToMeetingBy = ('attachedToMeetingBy' in props ? props.attachedToMeetingBy : VOID);
|
|
61704
62145
|
if (typeof attachedToMeetingBy === 'object' && attachedToMeetingBy !== null && attachedToMeetingBy.constructor === Object) attachedToMeetingBy = new IssueInMeetingAttachedToMeetingBy(attachedToMeetingBy);
|
|
61705
62146
|
comments = ('comments' in props ? props.comments : VOID);
|
|
@@ -61708,6 +62149,11 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
|
|
|
61708
62149
|
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);
|
|
61709
62150
|
}
|
|
61710
62151
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
62152
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
62153
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
62154
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
62155
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
62156
|
+
}
|
|
61711
62157
|
createdById = ('createdById' in props ? props.createdById : VOID);
|
|
61712
62158
|
description = ('description' in props ? props.description : VOID);
|
|
61713
62159
|
documents = ('documents' in props ? props.documents : VOID);
|
|
@@ -61728,6 +62174,11 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
|
|
|
61728
62174
|
status = ('status' in props ? props.status : VOID);
|
|
61729
62175
|
title = ('title' in props ? props.title : VOID);
|
|
61730
62176
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
62177
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
62178
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
62179
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
62180
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
62181
|
+
}
|
|
61731
62182
|
updatedById = ('updatedById' in props ? props.updatedById : VOID);
|
|
61732
62183
|
}
|
|
61733
62184
|
Companion_getInstance_260();
|
|
@@ -62565,8 +63016,18 @@ function IssueProcessing(description, meetingEndedAt, meetingId, meetingStartedA
|
|
|
62565
63016
|
const props = description;
|
|
62566
63017
|
description = ('description' in props ? props.description : VOID);
|
|
62567
63018
|
meetingEndedAt = ('meetingEndedAt' in props ? props.meetingEndedAt : VOID);
|
|
63019
|
+
if (typeof meetingEndedAt === 'string' || meetingEndedAt instanceof Date) {
|
|
63020
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
63021
|
+
if (typeof meetingEndedAt === 'string') meetingEndedAt = companion.kp(meetingEndedAt);
|
|
63022
|
+
else meetingEndedAt = companion.ef(BigInt(meetingEndedAt.getTime()));
|
|
63023
|
+
}
|
|
62568
63024
|
meetingId = ('meetingId' in props ? props.meetingId : VOID);
|
|
62569
63025
|
meetingStartedAt = ('meetingStartedAt' in props ? props.meetingStartedAt : VOID);
|
|
63026
|
+
if (typeof meetingStartedAt === 'string' || meetingStartedAt instanceof Date) {
|
|
63027
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
63028
|
+
if (typeof meetingStartedAt === 'string') meetingStartedAt = companion.kp(meetingStartedAt);
|
|
63029
|
+
else meetingStartedAt = companion.ef(BigInt(meetingStartedAt.getTime()));
|
|
63030
|
+
}
|
|
62570
63031
|
meetingTitle = ('meetingTitle' in props ? props.meetingTitle : VOID);
|
|
62571
63032
|
proposedResolution = ('proposedResolution' in props ? props.proposedResolution : VOID);
|
|
62572
63033
|
report = ('report' in props ? props.report : VOID);
|
|
@@ -63158,6 +63619,11 @@ function KartverketResult(collectedAt, company) {
|
|
|
63158
63619
|
if (arguments.length === 1 && typeof collectedAt === 'object' && collectedAt !== null && collectedAt.constructor === Object) {
|
|
63159
63620
|
const props = collectedAt;
|
|
63160
63621
|
collectedAt = ('collectedAt' in props ? props.collectedAt : VOID);
|
|
63622
|
+
if (typeof collectedAt === 'string' || collectedAt instanceof Date) {
|
|
63623
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
63624
|
+
if (typeof collectedAt === 'string') collectedAt = companion.kp(collectedAt);
|
|
63625
|
+
else collectedAt = companion.ef(BigInt(collectedAt.getTime()));
|
|
63626
|
+
}
|
|
63161
63627
|
company = ('company' in props ? props.company : VOID);
|
|
63162
63628
|
if (typeof company === 'object' && company !== null && company.constructor === Object) company = new CreateCompany(company);
|
|
63163
63629
|
}
|
|
@@ -64220,6 +64686,11 @@ function Leveranseoppsummering(antallAvvisteOppgaver, antallAvvisteSletteoppgave
|
|
|
64220
64686
|
antallOppgaverMedVarsel = ('antallOppgaverMedVarsel' in props ? props.antallOppgaverMedVarsel : VOID);
|
|
64221
64687
|
antallSletteoppgaver = ('antallSletteoppgaver' in props ? props.antallSletteoppgaver : VOID);
|
|
64222
64688
|
behandletTidspunkt = ('behandletTidspunkt' in props ? props.behandletTidspunkt : VOID);
|
|
64689
|
+
if (typeof behandletTidspunkt === 'string' || behandletTidspunkt instanceof Date) {
|
|
64690
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
64691
|
+
if (typeof behandletTidspunkt === 'string') behandletTidspunkt = companion.kp(behandletTidspunkt);
|
|
64692
|
+
else behandletTidspunkt = companion.ef(BigInt(behandletTidspunkt.getTime()));
|
|
64693
|
+
}
|
|
64223
64694
|
leveransestatus = ('leveransestatus' in props ? props.leveransestatus : VOID);
|
|
64224
64695
|
totaler = ('totaler' in props ? props.totaler : VOID);
|
|
64225
64696
|
if (Array.isArray(totaler)) {
|
|
@@ -64589,6 +65060,11 @@ function Loan(agreementDocumentId, companyId, endDate, id, inAgreement, initialS
|
|
|
64589
65060
|
agreementDocumentId = ('agreementDocumentId' in props ? props.agreementDocumentId : VOID);
|
|
64590
65061
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
64591
65062
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
65063
|
+
if (typeof endDate === 'string' || endDate instanceof Date) {
|
|
65064
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
65065
|
+
if (typeof endDate === 'string') endDate = companion.kp(endDate);
|
|
65066
|
+
else endDate = companion.ef(BigInt(endDate.getTime()));
|
|
65067
|
+
}
|
|
64592
65068
|
id = ('id' in props ? props.id : VOID);
|
|
64593
65069
|
inAgreement = ('inAgreement' in props ? props.inAgreement : VOID);
|
|
64594
65070
|
initialSum = ('initialSum' in props ? props.initialSum : VOID);
|
|
@@ -64597,6 +65073,11 @@ function Loan(agreementDocumentId, companyId, endDate, id, inAgreement, initialS
|
|
|
64597
65073
|
loanType = ('loanType' in props ? props.loanType : VOID);
|
|
64598
65074
|
remainingSum = ('remainingSum' in props ? props.remainingSum : VOID);
|
|
64599
65075
|
startDate = ('startDate' in props ? props.startDate : VOID);
|
|
65076
|
+
if (typeof startDate === 'string' || startDate instanceof Date) {
|
|
65077
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
65078
|
+
if (typeof startDate === 'string') startDate = companion.kp(startDate);
|
|
65079
|
+
else startDate = companion.ef(BigInt(startDate.getTime()));
|
|
65080
|
+
}
|
|
64600
65081
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
64601
65082
|
supplierName = ('supplierName' in props ? props.supplierName : VOID);
|
|
64602
65083
|
tripletexAccount = ('tripletexAccount' in props ? props.tripletexAccount : VOID);
|
|
@@ -64955,9 +65436,19 @@ function LoanLog(change, id, loanId, new_0, old, performedAt, performedBy, perfo
|
|
|
64955
65436
|
new_0 = ('new' in props ? props.new : VOID);
|
|
64956
65437
|
old = ('old' in props ? props.old : VOID);
|
|
64957
65438
|
performedAt = ('performedAt' in props ? props.performedAt : VOID);
|
|
65439
|
+
if (typeof performedAt === 'string' || performedAt instanceof Date) {
|
|
65440
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
65441
|
+
if (typeof performedAt === 'string') performedAt = companion.kp(performedAt);
|
|
65442
|
+
else performedAt = companion.ef(BigInt(performedAt.getTime()));
|
|
65443
|
+
}
|
|
64958
65444
|
performedBy = ('performedBy' in props ? props.performedBy : VOID);
|
|
64959
65445
|
performedByName = ('performedByName' in props ? props.performedByName : VOID);
|
|
64960
65446
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
65447
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
65448
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
65449
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
65450
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
65451
|
+
}
|
|
64961
65452
|
}
|
|
64962
65453
|
Companion_getInstance_274();
|
|
64963
65454
|
this.change = change;
|
|
@@ -67043,6 +67534,11 @@ function MassUpdateFractionsCommand(fractionType, fractions, validFrom) {
|
|
|
67043
67534
|
fractionType = ('fractionType' in props ? props.fractionType : VOID);
|
|
67044
67535
|
fractions = ('fractions' in props ? props.fractions : VOID);
|
|
67045
67536
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
67537
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
67538
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
67539
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
67540
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
67541
|
+
}
|
|
67046
67542
|
}
|
|
67047
67543
|
Companion_getInstance_285();
|
|
67048
67544
|
fractions = fractions === VOID ? null : fractions;
|
|
@@ -67673,7 +68169,17 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
|
|
|
67673
68169
|
if (arguments.length === 1 && typeof actualEndAt === 'object' && actualEndAt !== null && actualEndAt.constructor === Object) {
|
|
67674
68170
|
const props = actualEndAt;
|
|
67675
68171
|
actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
|
|
68172
|
+
if (typeof actualEndAt === 'string' || actualEndAt instanceof Date) {
|
|
68173
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68174
|
+
if (typeof actualEndAt === 'string') actualEndAt = companion.kp(actualEndAt);
|
|
68175
|
+
else actualEndAt = companion.ef(BigInt(actualEndAt.getTime()));
|
|
68176
|
+
}
|
|
67676
68177
|
actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
|
|
68178
|
+
if (typeof actualStartAt === 'string' || actualStartAt instanceof Date) {
|
|
68179
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68180
|
+
if (typeof actualStartAt === 'string') actualStartAt = companion.kp(actualStartAt);
|
|
68181
|
+
else actualStartAt = companion.ef(BigInt(actualStartAt.getTime()));
|
|
68182
|
+
}
|
|
67677
68183
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
67678
68184
|
externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
|
|
67679
68185
|
if (Array.isArray(externalParticipants)) {
|
|
@@ -67689,7 +68195,17 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
|
|
|
67689
68195
|
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);
|
|
67690
68196
|
}
|
|
67691
68197
|
plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
|
|
68198
|
+
if (typeof plannedEndAt === 'string' || plannedEndAt instanceof Date) {
|
|
68199
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68200
|
+
if (typeof plannedEndAt === 'string') plannedEndAt = companion.kp(plannedEndAt);
|
|
68201
|
+
else plannedEndAt = companion.ef(BigInt(plannedEndAt.getTime()));
|
|
68202
|
+
}
|
|
67692
68203
|
plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
|
|
68204
|
+
if (typeof plannedStartAt === 'string' || plannedStartAt instanceof Date) {
|
|
68205
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68206
|
+
if (typeof plannedStartAt === 'string') plannedStartAt = companion.kp(plannedStartAt);
|
|
68207
|
+
else plannedStartAt = companion.ef(BigInt(plannedStartAt.getTime()));
|
|
68208
|
+
}
|
|
67693
68209
|
report = ('report' in props ? props.report : VOID);
|
|
67694
68210
|
if (typeof report === 'object' && report !== null && report.constructor === Object) report = new Document(report);
|
|
67695
68211
|
status = ('status' in props ? props.status : VOID);
|
|
@@ -68144,7 +68660,17 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
|
|
|
68144
68660
|
if (arguments.length === 1 && typeof actualEndAt === 'object' && actualEndAt !== null && actualEndAt.constructor === Object) {
|
|
68145
68661
|
const props = actualEndAt;
|
|
68146
68662
|
actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
|
|
68663
|
+
if (typeof actualEndAt === 'string' || actualEndAt instanceof Date) {
|
|
68664
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68665
|
+
if (typeof actualEndAt === 'string') actualEndAt = companion.kp(actualEndAt);
|
|
68666
|
+
else actualEndAt = companion.ef(BigInt(actualEndAt.getTime()));
|
|
68667
|
+
}
|
|
68147
68668
|
actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
|
|
68669
|
+
if (typeof actualStartAt === 'string' || actualStartAt instanceof Date) {
|
|
68670
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68671
|
+
if (typeof actualStartAt === 'string') actualStartAt = companion.kp(actualStartAt);
|
|
68672
|
+
else actualStartAt = companion.ef(BigInt(actualStartAt.getTime()));
|
|
68673
|
+
}
|
|
68148
68674
|
comment = ('comment' in props ? props.comment : VOID);
|
|
68149
68675
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
68150
68676
|
externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
|
|
@@ -68165,7 +68691,17 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
|
|
|
68165
68691
|
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);
|
|
68166
68692
|
}
|
|
68167
68693
|
plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
|
|
68694
|
+
if (typeof plannedEndAt === 'string' || plannedEndAt instanceof Date) {
|
|
68695
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68696
|
+
if (typeof plannedEndAt === 'string') plannedEndAt = companion.kp(plannedEndAt);
|
|
68697
|
+
else plannedEndAt = companion.ef(BigInt(plannedEndAt.getTime()));
|
|
68698
|
+
}
|
|
68168
68699
|
plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
|
|
68700
|
+
if (typeof plannedStartAt === 'string' || plannedStartAt instanceof Date) {
|
|
68701
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
68702
|
+
if (typeof plannedStartAt === 'string') plannedStartAt = companion.kp(plannedStartAt);
|
|
68703
|
+
else plannedStartAt = companion.ef(BigInt(plannedStartAt.getTime()));
|
|
68704
|
+
}
|
|
68169
68705
|
report = ('report' in props ? props.report : VOID);
|
|
68170
68706
|
if (typeof report === 'object' && report !== null && report.constructor === Object) report = new Document(report);
|
|
68171
68707
|
status = ('status' in props ? props.status : VOID);
|
|
@@ -68588,6 +69124,11 @@ function MeetingParticipant(attended, email, id, name, personId, pictureUrl, rol
|
|
|
68588
69124
|
rsvpComment = ('rsvpComment' in props ? props.rsvpComment : VOID);
|
|
68589
69125
|
signatureUnobtainable = ('signatureUnobtainable' in props ? props.signatureUnobtainable : VOID);
|
|
68590
69126
|
signedAt = ('signedAt' in props ? props.signedAt : VOID);
|
|
69127
|
+
if (typeof signedAt === 'string' || signedAt instanceof Date) {
|
|
69128
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
69129
|
+
if (typeof signedAt === 'string') signedAt = companion.kp(signedAt);
|
|
69130
|
+
else signedAt = companion.ef(BigInt(signedAt.getTime()));
|
|
69131
|
+
}
|
|
68591
69132
|
}
|
|
68592
69133
|
Companion_getInstance_290();
|
|
68593
69134
|
email = email === VOID ? null : email;
|
|
@@ -69481,6 +70022,11 @@ function MessageInConversation(content, id, sentAt, sentBy, sentById) {
|
|
|
69481
70022
|
content = ('content' in props ? props.content : VOID);
|
|
69482
70023
|
id = ('id' in props ? props.id : VOID);
|
|
69483
70024
|
sentAt = ('sentAt' in props ? props.sentAt : VOID);
|
|
70025
|
+
if (typeof sentAt === 'string' || sentAt instanceof Date) {
|
|
70026
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
70027
|
+
if (typeof sentAt === 'string') sentAt = companion.kp(sentAt);
|
|
70028
|
+
else sentAt = companion.ef(BigInt(sentAt.getTime()));
|
|
70029
|
+
}
|
|
69484
70030
|
sentBy = ('sentBy' in props ? props.sentBy : VOID);
|
|
69485
70031
|
sentById = ('sentById' in props ? props.sentById : VOID);
|
|
69486
70032
|
}
|
|
@@ -71193,6 +71739,11 @@ function Newsletter(attachments, directRecipients, htmlText, id, notificationGro
|
|
|
71193
71739
|
}
|
|
71194
71740
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
71195
71741
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
71742
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
71743
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
71744
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
71745
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
71746
|
+
}
|
|
71196
71747
|
recipientStatus = ('recipientStatus' in props ? props.recipientStatus : VOID);
|
|
71197
71748
|
if (Array.isArray(recipientStatus)) {
|
|
71198
71749
|
recipientStatus = recipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
|
|
@@ -72346,8 +72897,18 @@ function OpenPost(companyId, content, contentUrls, documents, id, notificationEm
|
|
|
72346
72897
|
pinned = ('pinned' in props ? props.pinned : VOID);
|
|
72347
72898
|
postType = ('postType' in props ? props.postType : VOID);
|
|
72348
72899
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
72900
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
72901
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
72902
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
72903
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
72904
|
+
}
|
|
72349
72905
|
title = ('title' in props ? props.title : VOID);
|
|
72350
72906
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
72907
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
72908
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
72909
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
72910
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
72911
|
+
}
|
|
72351
72912
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
72352
72913
|
}
|
|
72353
72914
|
Companion_getInstance_308();
|
|
@@ -74894,7 +75455,17 @@ function OrganizationEmployee(companyContact, completeMobile, country, email, fa
|
|
|
74894
75455
|
personId = ('personId' in props ? props.personId : VOID);
|
|
74895
75456
|
sectionContact = ('sectionContact' in props ? props.sectionContact : VOID);
|
|
74896
75457
|
start = ('start' in props ? props.start : VOID);
|
|
75458
|
+
if (typeof start === 'string' || start instanceof Date) {
|
|
75459
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
75460
|
+
if (typeof start === 'string') start = companion.kp(start);
|
|
75461
|
+
else start = companion.ef(BigInt(start.getTime()));
|
|
75462
|
+
}
|
|
74897
75463
|
stop = ('stop' in props ? props.stop : VOID);
|
|
75464
|
+
if (typeof stop === 'string' || stop instanceof Date) {
|
|
75465
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
75466
|
+
if (typeof stop === 'string') stop = companion.kp(stop);
|
|
75467
|
+
else stop = companion.ef(BigInt(stop.getTime()));
|
|
75468
|
+
}
|
|
74898
75469
|
}
|
|
74899
75470
|
Companion_getInstance_317();
|
|
74900
75471
|
completeMobile = completeMobile === VOID ? null : completeMobile;
|
|
@@ -76513,7 +77084,17 @@ function OrganizationRoleInput(residenceNr, role, validFrom, validTo) {
|
|
|
76513
77084
|
residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
|
|
76514
77085
|
role = ('role' in props ? props.role : VOID);
|
|
76515
77086
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
77087
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
77088
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
77089
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
77090
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
77091
|
+
}
|
|
76516
77092
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
77093
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
77094
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
77095
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
77096
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
77097
|
+
}
|
|
76517
77098
|
}
|
|
76518
77099
|
Companion_getInstance_322();
|
|
76519
77100
|
residenceNr = residenceNr === VOID ? null : residenceNr;
|
|
@@ -79080,6 +79661,11 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
|
|
|
79080
79661
|
const props = amount;
|
|
79081
79662
|
amount = ('amount' in props ? props.amount : VOID);
|
|
79082
79663
|
at = ('at' in props ? props.at : VOID);
|
|
79664
|
+
if (typeof at === 'string' || at instanceof Date) {
|
|
79665
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
79666
|
+
if (typeof at === 'string') at = companion.kp(at);
|
|
79667
|
+
else at = companion.ef(BigInt(at.getTime()));
|
|
79668
|
+
}
|
|
79083
79669
|
inIds = ('inIds' in props ? props.inIds : VOID);
|
|
79084
79670
|
inNew = ('inNew' in props ? props.inNew : VOID);
|
|
79085
79671
|
if (Array.isArray(inNew)) {
|
|
@@ -79381,6 +79967,11 @@ function OwnershipChange(amount, changeAt, id, note, roles) {
|
|
|
79381
79967
|
const props = amount;
|
|
79382
79968
|
amount = ('amount' in props ? props.amount : VOID);
|
|
79383
79969
|
changeAt = ('changeAt' in props ? props.changeAt : VOID);
|
|
79970
|
+
if (typeof changeAt === 'string' || changeAt instanceof Date) {
|
|
79971
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
79972
|
+
if (typeof changeAt === 'string') changeAt = companion.kp(changeAt);
|
|
79973
|
+
else changeAt = companion.ef(BigInt(changeAt.getTime()));
|
|
79974
|
+
}
|
|
79384
79975
|
id = ('id' in props ? props.id : VOID);
|
|
79385
79976
|
note = ('note' in props ? props.note : VOID);
|
|
79386
79977
|
roles = ('roles' in props ? props.roles : VOID);
|
|
@@ -80386,7 +80977,17 @@ function ParkingSpaceOwnership(charger, id, identifier, note, parkingSpaceId, ty
|
|
|
80386
80977
|
parkingSpaceId = ('parkingSpaceId' in props ? props.parkingSpaceId : VOID);
|
|
80387
80978
|
type = ('type' in props ? props.type : VOID);
|
|
80388
80979
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
80980
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
80981
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
80982
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
80983
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
80984
|
+
}
|
|
80389
80985
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
80986
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
80987
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
80988
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
80989
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
80990
|
+
}
|
|
80390
80991
|
}
|
|
80391
80992
|
Companion_getInstance_334();
|
|
80392
80993
|
charger = charger === VOID ? null : charger;
|
|
@@ -82065,6 +82666,11 @@ function PaymentHandling(handledAt, handledBy, id, invoiceId, paymentId, status,
|
|
|
82065
82666
|
if (arguments.length === 1 && typeof handledAt === 'object' && handledAt !== null && handledAt.constructor === Object) {
|
|
82066
82667
|
const props = handledAt;
|
|
82067
82668
|
handledAt = ('handledAt' in props ? props.handledAt : VOID);
|
|
82669
|
+
if (typeof handledAt === 'string' || handledAt instanceof Date) {
|
|
82670
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
82671
|
+
if (typeof handledAt === 'string') handledAt = companion.kp(handledAt);
|
|
82672
|
+
else handledAt = companion.ef(BigInt(handledAt.getTime()));
|
|
82673
|
+
}
|
|
82068
82674
|
handledBy = ('handledBy' in props ? props.handledBy : VOID);
|
|
82069
82675
|
id = ('id' in props ? props.id : VOID);
|
|
82070
82676
|
invoiceId = ('invoiceId' in props ? props.invoiceId : VOID);
|
|
@@ -85342,6 +85948,11 @@ function PersonResident(accountNumber, attendances, country, historicRoles, id,
|
|
|
85342
85948
|
name = ('name' in props ? props.name : VOID);
|
|
85343
85949
|
if (typeof name === 'object' && name !== null && name.constructor === Object) name = new Name(name);
|
|
85344
85950
|
passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
|
|
85951
|
+
if (typeof passportExpiration === 'string' || passportExpiration instanceof Date) {
|
|
85952
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
85953
|
+
if (typeof passportExpiration === 'string') passportExpiration = companion.kp(passportExpiration);
|
|
85954
|
+
else passportExpiration = companion.ef(BigInt(passportExpiration.getTime()));
|
|
85955
|
+
}
|
|
85345
85956
|
passportNumberId = ('passportNumberId' in props ? props.passportNumberId : VOID);
|
|
85346
85957
|
personnummerId = ('personnummerId' in props ? props.personnummerId : VOID);
|
|
85347
85958
|
personnummerTwoId = ('personnummerTwoId' in props ? props.personnummerTwoId : VOID);
|
|
@@ -86134,7 +86745,17 @@ function PersonRoleInput(residenceNr, role, validFrom, validTo) {
|
|
|
86134
86745
|
residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
|
|
86135
86746
|
role = ('role' in props ? props.role : VOID);
|
|
86136
86747
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
86748
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
86749
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
86750
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
86751
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
86752
|
+
}
|
|
86137
86753
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
86754
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
86755
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
86756
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
86757
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
86758
|
+
}
|
|
86138
86759
|
}
|
|
86139
86760
|
Companion_getInstance_356();
|
|
86140
86761
|
residenceNr = residenceNr === VOID ? null : residenceNr;
|
|
@@ -87028,6 +87649,11 @@ function PersonnummerDeath(active, dateOfIncident, reason, source) {
|
|
|
87028
87649
|
const props = active;
|
|
87029
87650
|
active = ('active' in props ? props.active : VOID);
|
|
87030
87651
|
dateOfIncident = ('dateOfIncident' in props ? props.dateOfIncident : VOID);
|
|
87652
|
+
if (typeof dateOfIncident === 'string' || dateOfIncident instanceof Date) {
|
|
87653
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
87654
|
+
if (typeof dateOfIncident === 'string') dateOfIncident = companion.kp(dateOfIncident);
|
|
87655
|
+
else dateOfIncident = companion.ef(BigInt(dateOfIncident.getTime()));
|
|
87656
|
+
}
|
|
87031
87657
|
reason = ('reason' in props ? props.reason : VOID);
|
|
87032
87658
|
source = ('source' in props ? props.source : VOID);
|
|
87033
87659
|
}
|
|
@@ -87652,10 +88278,20 @@ function PersonnummerStatus(active, dateOfIncident, reason, source, statusVerdi,
|
|
|
87652
88278
|
const props = active;
|
|
87653
88279
|
active = ('active' in props ? props.active : VOID);
|
|
87654
88280
|
dateOfIncident = ('dateOfIncident' in props ? props.dateOfIncident : VOID);
|
|
88281
|
+
if (typeof dateOfIncident === 'string' || dateOfIncident instanceof Date) {
|
|
88282
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
88283
|
+
if (typeof dateOfIncident === 'string') dateOfIncident = companion.kp(dateOfIncident);
|
|
88284
|
+
else dateOfIncident = companion.ef(BigInt(dateOfIncident.getTime()));
|
|
88285
|
+
}
|
|
87655
88286
|
reason = ('reason' in props ? props.reason : VOID);
|
|
87656
88287
|
source = ('source' in props ? props.source : VOID);
|
|
87657
88288
|
statusVerdi = ('statusVerdi' in props ? props.statusVerdi : VOID);
|
|
87658
88289
|
validDate = ('validDate' in props ? props.validDate : VOID);
|
|
88290
|
+
if (typeof validDate === 'string' || validDate instanceof Date) {
|
|
88291
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
88292
|
+
if (typeof validDate === 'string') validDate = companion.kp(validDate);
|
|
88293
|
+
else validDate = companion.ef(BigInt(validDate.getTime()));
|
|
88294
|
+
}
|
|
87659
88295
|
}
|
|
87660
88296
|
Companion_getInstance_363();
|
|
87661
88297
|
dateOfIncident = dateOfIncident === VOID ? null : dateOfIncident;
|
|
@@ -88246,6 +88882,11 @@ function Post(companyId, content, contentUrls, createdAt, documents, emailRecipi
|
|
|
88246
88882
|
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);
|
|
88247
88883
|
}
|
|
88248
88884
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
88885
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
88886
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
88887
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
88888
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
88889
|
+
}
|
|
88249
88890
|
documents = ('documents' in props ? props.documents : VOID);
|
|
88250
88891
|
if (Array.isArray(documents)) {
|
|
88251
88892
|
documents = documents.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new Document(i) : i);
|
|
@@ -88276,6 +88917,11 @@ function Post(companyId, content, contentUrls, createdAt, documents, emailRecipi
|
|
|
88276
88917
|
postType = ('postType' in props ? props.postType : VOID);
|
|
88277
88918
|
private_0 = ('private' in props ? props.private : VOID);
|
|
88278
88919
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
88920
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
88921
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
88922
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
88923
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
88924
|
+
}
|
|
88279
88925
|
publishedById = ('publishedById' in props ? props.publishedById : VOID);
|
|
88280
88926
|
smsRecipientStatus = ('smsRecipientStatus' in props ? props.smsRecipientStatus : VOID);
|
|
88281
88927
|
if (Array.isArray(smsRecipientStatus)) {
|
|
@@ -88284,6 +88930,11 @@ function Post(companyId, content, contentUrls, createdAt, documents, emailRecipi
|
|
|
88284
88930
|
}
|
|
88285
88931
|
title = ('title' in props ? props.title : VOID);
|
|
88286
88932
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
88933
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
88934
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
88935
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
88936
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
88937
|
+
}
|
|
88287
88938
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
88288
88939
|
}
|
|
88289
88940
|
Companion_getInstance_366();
|
|
@@ -89923,6 +90574,11 @@ function PublicMessage(content, sentAt, sentBy) {
|
|
|
89923
90574
|
const props = content;
|
|
89924
90575
|
content = ('content' in props ? props.content : VOID);
|
|
89925
90576
|
sentAt = ('sentAt' in props ? props.sentAt : VOID);
|
|
90577
|
+
if (typeof sentAt === 'string' || sentAt instanceof Date) {
|
|
90578
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
90579
|
+
if (typeof sentAt === 'string') sentAt = companion.kp(sentAt);
|
|
90580
|
+
else sentAt = companion.ef(BigInt(sentAt.getTime()));
|
|
90581
|
+
}
|
|
89926
90582
|
sentBy = ('sentBy' in props ? props.sentBy : VOID);
|
|
89927
90583
|
}
|
|
89928
90584
|
Companion_getInstance_372();
|
|
@@ -91919,7 +92575,17 @@ function ResidentRole(companyId, id, organization, organizationId, person, perso
|
|
|
91919
92575
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
91920
92576
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
91921
92577
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
92578
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
92579
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
92580
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
92581
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
92582
|
+
}
|
|
91922
92583
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
92584
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
92585
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
92586
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
92587
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
92588
|
+
}
|
|
91923
92589
|
}
|
|
91924
92590
|
Companion_getInstance_384();
|
|
91925
92591
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -92722,7 +93388,17 @@ function Role(companyId, id, organizationId, personId, sectionId, supplierId, ty
|
|
|
92722
93388
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
92723
93389
|
type = ('type' in props ? props.type : VOID);
|
|
92724
93390
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
93391
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
93392
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
93393
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
93394
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
93395
|
+
}
|
|
92725
93396
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
93397
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
93398
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
93399
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
93400
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
93401
|
+
}
|
|
92726
93402
|
}
|
|
92727
93403
|
Companion_getInstance_388();
|
|
92728
93404
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -93071,7 +93747,17 @@ function RoleInput(companyId, id, organizationId, personId, sectionId, supplierI
|
|
|
93071
93747
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
93072
93748
|
type = ('type' in props ? props.type : VOID);
|
|
93073
93749
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
93750
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
93751
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
93752
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
93753
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
93754
|
+
}
|
|
93074
93755
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
93756
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
93757
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
93758
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
93759
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
93760
|
+
}
|
|
93075
93761
|
}
|
|
93076
93762
|
Companion_getInstance_389();
|
|
93077
93763
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -93967,12 +94653,27 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
|
|
|
93967
94653
|
if (arguments.length === 1 && typeof completedAt === 'object' && completedAt !== null && completedAt.constructor === Object) {
|
|
93968
94654
|
const props = completedAt;
|
|
93969
94655
|
completedAt = ('completedAt' in props ? props.completedAt : VOID);
|
|
94656
|
+
if (typeof completedAt === 'string' || completedAt instanceof Date) {
|
|
94657
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
94658
|
+
if (typeof completedAt === 'string') completedAt = companion.kp(completedAt);
|
|
94659
|
+
else completedAt = companion.ef(BigInt(completedAt.getTime()));
|
|
94660
|
+
}
|
|
93970
94661
|
completedBy = ('completedBy' in props ? props.completedBy : VOID);
|
|
93971
94662
|
completedName = ('completedName' in props ? props.completedName : VOID);
|
|
93972
94663
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
94664
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
94665
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
94666
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
94667
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
94668
|
+
}
|
|
93973
94669
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
93974
94670
|
createdByName = ('createdByName' in props ? props.createdByName : VOID);
|
|
93975
94671
|
deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
|
|
94672
|
+
if (typeof deletedAt === 'string' || deletedAt instanceof Date) {
|
|
94673
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
94674
|
+
if (typeof deletedAt === 'string') deletedAt = companion.kp(deletedAt);
|
|
94675
|
+
else deletedAt = companion.ef(BigInt(deletedAt.getTime()));
|
|
94676
|
+
}
|
|
93976
94677
|
deletedBy = ('deletedBy' in props ? props.deletedBy : VOID);
|
|
93977
94678
|
deletedName = ('deletedName' in props ? props.deletedName : VOID);
|
|
93978
94679
|
description = ('description' in props ? props.description : VOID);
|
|
@@ -93984,6 +94685,11 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
|
|
|
93984
94685
|
draft = ('draft' in props ? props.draft : VOID);
|
|
93985
94686
|
if (typeof draft === 'object' && draft !== null && draft.constructor === Object) draft = new RoutineDraft(draft);
|
|
93986
94687
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
94688
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
94689
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
94690
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
94691
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
94692
|
+
}
|
|
93987
94693
|
dueDateOffset = ('dueDateOffset' in props ? props.dueDateOffset : VOID);
|
|
93988
94694
|
id = ('id' in props ? props.id : VOID);
|
|
93989
94695
|
log = ('log' in props ? props.log : VOID);
|
|
@@ -95626,6 +96332,11 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
|
|
|
95626
96332
|
}
|
|
95627
96333
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
95628
96334
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
96335
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
96336
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
96337
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
96338
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
96339
|
+
}
|
|
95629
96340
|
recipientStatus = ('recipientStatus' in props ? props.recipientStatus : VOID);
|
|
95630
96341
|
if (Array.isArray(recipientStatus)) {
|
|
95631
96342
|
recipientStatus = recipientStatus.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new MassCommunicationRecipientStatus(i) : i);
|
|
@@ -95891,7 +96602,17 @@ function SMSBundle(active, companyId, count, createdAt, disabledAt, id, price) {
|
|
|
95891
96602
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
95892
96603
|
count = ('count' in props ? props.count : VOID);
|
|
95893
96604
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
96605
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
96606
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
96607
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
96608
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
96609
|
+
}
|
|
95894
96610
|
disabledAt = ('disabledAt' in props ? props.disabledAt : VOID);
|
|
96611
|
+
if (typeof disabledAt === 'string' || disabledAt instanceof Date) {
|
|
96612
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
96613
|
+
if (typeof disabledAt === 'string') disabledAt = companion.kp(disabledAt);
|
|
96614
|
+
else disabledAt = companion.ef(BigInt(disabledAt.getTime()));
|
|
96615
|
+
}
|
|
95895
96616
|
id = ('id' in props ? props.id : VOID);
|
|
95896
96617
|
price = ('price' in props ? props.price : VOID);
|
|
95897
96618
|
}
|
|
@@ -96117,6 +96838,11 @@ function SMSBundlePurchase(bundleId, charged, companyId, id, purchasedAt) {
|
|
|
96117
96838
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
96118
96839
|
id = ('id' in props ? props.id : VOID);
|
|
96119
96840
|
purchasedAt = ('purchasedAt' in props ? props.purchasedAt : VOID);
|
|
96841
|
+
if (typeof purchasedAt === 'string' || purchasedAt instanceof Date) {
|
|
96842
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
96843
|
+
if (typeof purchasedAt === 'string') purchasedAt = companion.kp(purchasedAt);
|
|
96844
|
+
else purchasedAt = companion.ef(BigInt(purchasedAt.getTime()));
|
|
96845
|
+
}
|
|
96120
96846
|
}
|
|
96121
96847
|
this.bundleId = bundleId;
|
|
96122
96848
|
this.charged = charged;
|
|
@@ -97718,6 +98444,11 @@ function Section(anr, apartmentNr, area, bnr, capabilities, children, classifica
|
|
|
97718
98444
|
companyClassification = ('companyClassification' in props ? props.companyClassification : VOID);
|
|
97719
98445
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
97720
98446
|
deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
|
|
98447
|
+
if (typeof deletedAt === 'string' || deletedAt instanceof Date) {
|
|
98448
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
98449
|
+
if (typeof deletedAt === 'string') deletedAt = companion.kp(deletedAt);
|
|
98450
|
+
else deletedAt = companion.ef(BigInt(deletedAt.getTime()));
|
|
98451
|
+
}
|
|
97721
98452
|
fnr = ('fnr' in props ? props.fnr : VOID);
|
|
97722
98453
|
gnr = ('gnr' in props ? props.gnr : VOID);
|
|
97723
98454
|
hNr = ('hNr' in props ? props.hNr : VOID);
|
|
@@ -98579,7 +99310,17 @@ function SectionFraction(bolignr, identifier, inFourFraction, inOneFraction, inT
|
|
|
98579
99310
|
sectionFraction = ('sectionFraction' in props ? props.sectionFraction : VOID);
|
|
98580
99311
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
98581
99312
|
snapshotDate = ('snapshotDate' in props ? props.snapshotDate : VOID);
|
|
99313
|
+
if (typeof snapshotDate === 'string' || snapshotDate instanceof Date) {
|
|
99314
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
99315
|
+
if (typeof snapshotDate === 'string') snapshotDate = companion.kp(snapshotDate);
|
|
99316
|
+
else snapshotDate = companion.ef(BigInt(snapshotDate.getTime()));
|
|
99317
|
+
}
|
|
98582
99318
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
99319
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
99320
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
99321
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
99322
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
99323
|
+
}
|
|
98583
99324
|
wealthFraction = ('wealthFraction' in props ? props.wealthFraction : VOID);
|
|
98584
99325
|
}
|
|
98585
99326
|
bolignr = bolignr === VOID ? null : bolignr;
|
|
@@ -98949,7 +99690,17 @@ function SectionFractionSectionFractionMapValue(bolignr, identifier, inFourFract
|
|
|
98949
99690
|
sectionFraction = ('sectionFraction' in props ? props.sectionFraction : VOID);
|
|
98950
99691
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
98951
99692
|
snapshotDate = ('snapshotDate' in props ? props.snapshotDate : VOID);
|
|
99693
|
+
if (typeof snapshotDate === 'string' || snapshotDate instanceof Date) {
|
|
99694
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
99695
|
+
if (typeof snapshotDate === 'string') snapshotDate = companion.kp(snapshotDate);
|
|
99696
|
+
else snapshotDate = companion.ef(BigInt(snapshotDate.getTime()));
|
|
99697
|
+
}
|
|
98952
99698
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
99699
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
99700
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
99701
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
99702
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
99703
|
+
}
|
|
98953
99704
|
wealthFraction = ('wealthFraction' in props ? props.wealthFraction : VOID);
|
|
98954
99705
|
}
|
|
98955
99706
|
bolignr = bolignr === VOID ? null : bolignr;
|
|
@@ -100482,6 +101233,11 @@ function SectionStatus(note, operation, referredOrganization, referredPerson, re
|
|
|
100482
101233
|
referredPerson = ('referredPerson' in props ? props.referredPerson : VOID);
|
|
100483
101234
|
if (typeof referredPerson === 'object' && referredPerson !== null && referredPerson.constructor === Object) referredPerson = new Person(referredPerson);
|
|
100484
101235
|
registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
|
|
101236
|
+
if (typeof registeredAt === 'string' || registeredAt instanceof Date) {
|
|
101237
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
101238
|
+
if (typeof registeredAt === 'string') registeredAt = companion.kp(registeredAt);
|
|
101239
|
+
else registeredAt = companion.ef(BigInt(registeredAt.getTime()));
|
|
101240
|
+
}
|
|
100485
101241
|
registeredBy = ('registeredBy' in props ? props.registeredBy : VOID);
|
|
100486
101242
|
if (typeof registeredBy === 'object' && registeredBy !== null && registeredBy.constructor === Object) registeredBy = new Person(registeredBy);
|
|
100487
101243
|
state = ('state' in props ? props.state : VOID);
|
|
@@ -100874,6 +101630,11 @@ function SectionStatusSectionStatusMapValue(note, operation, referredOrganizatio
|
|
|
100874
101630
|
referredPerson = ('referredPerson' in props ? props.referredPerson : VOID);
|
|
100875
101631
|
if (typeof referredPerson === 'object' && referredPerson !== null && referredPerson.constructor === Object) referredPerson = new Person(referredPerson);
|
|
100876
101632
|
registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
|
|
101633
|
+
if (typeof registeredAt === 'string' || registeredAt instanceof Date) {
|
|
101634
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
101635
|
+
if (typeof registeredAt === 'string') registeredAt = companion.kp(registeredAt);
|
|
101636
|
+
else registeredAt = companion.ef(BigInt(registeredAt.getTime()));
|
|
101637
|
+
}
|
|
100877
101638
|
registeredBy = ('registeredBy' in props ? props.registeredBy : VOID);
|
|
100878
101639
|
if (typeof registeredBy === 'object' && registeredBy !== null && registeredBy.constructor === Object) registeredBy = new Person(registeredBy);
|
|
100879
101640
|
state = ('state' in props ? props.state : VOID);
|
|
@@ -102216,6 +102977,11 @@ function SensitiveData(passportExpiration, passportNumber, personnummerTwo) {
|
|
|
102216
102977
|
if (arguments.length === 1 && typeof passportExpiration === 'object' && passportExpiration !== null && passportExpiration.constructor === Object) {
|
|
102217
102978
|
const props = passportExpiration;
|
|
102218
102979
|
passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
|
|
102980
|
+
if (typeof passportExpiration === 'string' || passportExpiration instanceof Date) {
|
|
102981
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
102982
|
+
if (typeof passportExpiration === 'string') passportExpiration = companion.kp(passportExpiration);
|
|
102983
|
+
else passportExpiration = companion.ef(BigInt(passportExpiration.getTime()));
|
|
102984
|
+
}
|
|
102219
102985
|
passportNumber = ('passportNumber' in props ? props.passportNumber : VOID);
|
|
102220
102986
|
personnummerTwo = ('personnummerTwo' in props ? props.personnummerTwo : VOID);
|
|
102221
102987
|
}
|
|
@@ -102840,9 +103606,24 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
|
|
|
102840
103606
|
if (arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object) {
|
|
102841
103607
|
const props = closedAt;
|
|
102842
103608
|
closedAt = ('closedAt' in props ? props.closedAt : VOID);
|
|
103609
|
+
if (typeof closedAt === 'string' || closedAt instanceof Date) {
|
|
103610
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
103611
|
+
if (typeof closedAt === 'string') closedAt = companion.kp(closedAt);
|
|
103612
|
+
else closedAt = companion.ef(BigInt(closedAt.getTime()));
|
|
103613
|
+
}
|
|
102843
103614
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
102844
103615
|
completedAt = ('completedAt' in props ? props.completedAt : VOID);
|
|
103616
|
+
if (typeof completedAt === 'string' || completedAt instanceof Date) {
|
|
103617
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
103618
|
+
if (typeof completedAt === 'string') completedAt = companion.kp(completedAt);
|
|
103619
|
+
else completedAt = companion.ef(BigInt(completedAt.getTime()));
|
|
103620
|
+
}
|
|
102845
103621
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
103622
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
103623
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
103624
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
103625
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
103626
|
+
}
|
|
102846
103627
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
102847
103628
|
customCosts = ('customCosts' in props ? props.customCosts : VOID);
|
|
102848
103629
|
if (Array.isArray(customCosts)) {
|
|
@@ -102863,7 +103644,17 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
|
|
|
102863
103644
|
submissionError = ('submissionError' in props ? props.submissionError : VOID);
|
|
102864
103645
|
submissionId = ('submissionId' in props ? props.submissionId : VOID);
|
|
102865
103646
|
submittedAt = ('submittedAt' in props ? props.submittedAt : VOID);
|
|
103647
|
+
if (typeof submittedAt === 'string' || submittedAt instanceof Date) {
|
|
103648
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
103649
|
+
if (typeof submittedAt === 'string') submittedAt = companion.kp(submittedAt);
|
|
103650
|
+
else submittedAt = companion.ef(BigInt(submittedAt.getTime()));
|
|
103651
|
+
}
|
|
102866
103652
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
103653
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
103654
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
103655
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
103656
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
103657
|
+
}
|
|
102867
103658
|
updatedBy = ('updatedBy' in props ? props.updatedBy : VOID);
|
|
102868
103659
|
}
|
|
102869
103660
|
Companion_getInstance_430();
|
|
@@ -103323,6 +104114,11 @@ function SettlementCustomCost(amount, createdAt, createdBy, description, documen
|
|
|
103323
104114
|
const props = amount;
|
|
103324
104115
|
amount = ('amount' in props ? props.amount : VOID);
|
|
103325
104116
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
104117
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
104118
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
104119
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
104120
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
104121
|
+
}
|
|
103326
104122
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
103327
104123
|
description = ('description' in props ? props.description : VOID);
|
|
103328
104124
|
documentIds = ('documentIds' in props ? props.documentIds : VOID);
|
|
@@ -103332,6 +104128,11 @@ function SettlementCustomCost(amount, createdAt, createdBy, description, documen
|
|
|
103332
104128
|
unitPrice = ('unitPrice' in props ? props.unitPrice : VOID);
|
|
103333
104129
|
units = ('units' in props ? props.units : VOID);
|
|
103334
104130
|
updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
|
|
104131
|
+
if (typeof updatedAt === 'string' || updatedAt instanceof Date) {
|
|
104132
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
104133
|
+
if (typeof updatedAt === 'string') updatedAt = companion.kp(updatedAt);
|
|
104134
|
+
else updatedAt = companion.ef(BigInt(updatedAt.getTime()));
|
|
104135
|
+
}
|
|
103335
104136
|
updatedBy = ('updatedBy' in props ? props.updatedBy : VOID);
|
|
103336
104137
|
}
|
|
103337
104138
|
Companion_getInstance_431();
|
|
@@ -104102,6 +104903,11 @@ function SettlementProviderConfiguration(closedAt, companyId, endDate, id, relev
|
|
|
104102
104903
|
if (arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object) {
|
|
104103
104904
|
const props = closedAt;
|
|
104104
104905
|
closedAt = ('closedAt' in props ? props.closedAt : VOID);
|
|
104906
|
+
if (typeof closedAt === 'string' || closedAt instanceof Date) {
|
|
104907
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
104908
|
+
if (typeof closedAt === 'string') closedAt = companion.kp(closedAt);
|
|
104909
|
+
else closedAt = companion.ef(BigInt(closedAt.getTime()));
|
|
104910
|
+
}
|
|
104105
104911
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
104106
104912
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
104107
104913
|
id = ('id' in props ? props.id : VOID);
|
|
@@ -105834,7 +106640,17 @@ function StorageRoomOwnership(id, identifier, note, storageRoomId, validFrom, va
|
|
|
105834
106640
|
note = ('note' in props ? props.note : VOID);
|
|
105835
106641
|
storageRoomId = ('storageRoomId' in props ? props.storageRoomId : VOID);
|
|
105836
106642
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
106643
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
106644
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
106645
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
106646
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
106647
|
+
}
|
|
105837
106648
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
106649
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
106650
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
106651
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
106652
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
106653
|
+
}
|
|
105838
106654
|
}
|
|
105839
106655
|
note = note === VOID ? null : note;
|
|
105840
106656
|
validTo = validTo === VOID ? null : validTo;
|
|
@@ -106293,6 +107109,11 @@ function SupplierComment(content, createdAt, createdBy, createdById, emoticon, i
|
|
|
106293
107109
|
const props = content;
|
|
106294
107110
|
content = ('content' in props ? props.content : VOID);
|
|
106295
107111
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
107112
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
107113
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
107114
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
107115
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
107116
|
+
}
|
|
106296
107117
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
106297
107118
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new Person(createdBy);
|
|
106298
107119
|
createdById = ('createdById' in props ? props.createdById : VOID);
|
|
@@ -107148,6 +107969,11 @@ function SupplierForCompany(comments, companyId, createdAt, createdBy, createdBy
|
|
|
107148
107969
|
}
|
|
107149
107970
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
107150
107971
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
107972
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
107973
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
107974
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
107975
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
107976
|
+
}
|
|
107151
107977
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
107152
107978
|
if (typeof createdBy === 'object' && createdBy !== null && createdBy.constructor === Object) createdBy = new Person(createdBy);
|
|
107153
107979
|
createdById = ('createdById' in props ? props.createdById : VOID);
|
|
@@ -107578,8 +108404,18 @@ function SupplierInvoice(amount, currency, description, dueDate, id, invoiceDate
|
|
|
107578
108404
|
currency = ('currency' in props ? props.currency : VOID);
|
|
107579
108405
|
description = ('description' in props ? props.description : VOID);
|
|
107580
108406
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
108407
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
108408
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
108409
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
108410
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
108411
|
+
}
|
|
107581
108412
|
id = ('id' in props ? props.id : VOID);
|
|
107582
108413
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
108414
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
108415
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
108416
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
108417
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
108418
|
+
}
|
|
107583
108419
|
invoiceProcessing = ('invoiceProcessing' in props ? props.invoiceProcessing : VOID);
|
|
107584
108420
|
if (Array.isArray(invoiceProcessing)) {
|
|
107585
108421
|
invoiceProcessing = invoiceProcessing.map(i => (typeof i === 'object' && i !== null && i.constructor === Object) ? new InvoiceProcessing(i) : i);
|
|
@@ -108382,19 +109218,44 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
|
|
|
108382
109218
|
const props = companyId;
|
|
108383
109219
|
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
108384
109220
|
completedAt = ('completedAt' in props ? props.completedAt : VOID);
|
|
109221
|
+
if (typeof completedAt === 'string' || completedAt instanceof Date) {
|
|
109222
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109223
|
+
if (typeof completedAt === 'string') completedAt = companion.kp(completedAt);
|
|
109224
|
+
else completedAt = companion.ef(BigInt(completedAt.getTime()));
|
|
109225
|
+
}
|
|
108385
109226
|
completedById = ('completedById' in props ? props.completedById : VOID);
|
|
108386
109227
|
completedByName = ('completedByName' in props ? props.completedByName : VOID);
|
|
108387
109228
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
109229
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
109230
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109231
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
109232
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
109233
|
+
}
|
|
108388
109234
|
createdById = ('createdById' in props ? props.createdById : VOID);
|
|
108389
109235
|
createdByName = ('createdByName' in props ? props.createdByName : VOID);
|
|
108390
109236
|
deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
|
|
109237
|
+
if (typeof deletedAt === 'string' || deletedAt instanceof Date) {
|
|
109238
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109239
|
+
if (typeof deletedAt === 'string') deletedAt = companion.kp(deletedAt);
|
|
109240
|
+
else deletedAt = companion.ef(BigInt(deletedAt.getTime()));
|
|
109241
|
+
}
|
|
108391
109242
|
deletedById = ('deletedById' in props ? props.deletedById : VOID);
|
|
108392
109243
|
deletedByName = ('deletedByName' in props ? props.deletedByName : VOID);
|
|
108393
109244
|
description = ('description' in props ? props.description : VOID);
|
|
108394
109245
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
109246
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
109247
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109248
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
109249
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
109250
|
+
}
|
|
108395
109251
|
id = ('id' in props ? props.id : VOID);
|
|
108396
109252
|
intervalMethod = ('intervalMethod' in props ? props.intervalMethod : VOID);
|
|
108397
109253
|
intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
|
|
109254
|
+
if (typeof intervalStart === 'string' || intervalStart instanceof Date) {
|
|
109255
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109256
|
+
if (typeof intervalStart === 'string') intervalStart = companion.kp(intervalStart);
|
|
109257
|
+
else intervalStart = companion.ef(BigInt(intervalStart.getTime()));
|
|
109258
|
+
}
|
|
108398
109259
|
intervalType = ('intervalType' in props ? props.intervalType : VOID);
|
|
108399
109260
|
intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
|
|
108400
109261
|
log = ('log' in props ? props.log : VOID);
|
|
@@ -108403,6 +109264,11 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
|
|
|
108403
109264
|
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);
|
|
108404
109265
|
}
|
|
108405
109266
|
registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
|
|
109267
|
+
if (typeof registeredAt === 'string' || registeredAt instanceof Date) {
|
|
109268
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109269
|
+
if (typeof registeredAt === 'string') registeredAt = companion.kp(registeredAt);
|
|
109270
|
+
else registeredAt = companion.ef(BigInt(registeredAt.getTime()));
|
|
109271
|
+
}
|
|
108406
109272
|
registeredById = ('registeredById' in props ? props.registeredById : VOID);
|
|
108407
109273
|
registeredByName = ('registeredByName' in props ? props.registeredByName : VOID);
|
|
108408
109274
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
@@ -109053,15 +109919,30 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
|
|
|
109053
109919
|
if (arguments.length === 1 && typeof createdAt === 'object' && createdAt !== null && createdAt.constructor === Object) {
|
|
109054
109920
|
const props = createdAt;
|
|
109055
109921
|
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
109922
|
+
if (typeof createdAt === 'string' || createdAt instanceof Date) {
|
|
109923
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109924
|
+
if (typeof createdAt === 'string') createdAt = companion.kp(createdAt);
|
|
109925
|
+
else createdAt = companion.ef(BigInt(createdAt.getTime()));
|
|
109926
|
+
}
|
|
109056
109927
|
createdBy = ('createdBy' in props ? props.createdBy : VOID);
|
|
109057
109928
|
createdByName = ('createdByName' in props ? props.createdByName : VOID);
|
|
109058
109929
|
description = ('description' in props ? props.description : VOID);
|
|
109059
109930
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
109931
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
109932
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109933
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
109934
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
109935
|
+
}
|
|
109060
109936
|
id = ('id' in props ? props.id : VOID);
|
|
109061
109937
|
intervalType = ('intervalType' in props ? props.intervalType : VOID);
|
|
109062
109938
|
intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
|
|
109063
109939
|
message = ('message' in props ? props.message : VOID);
|
|
109064
109940
|
performedAt = ('performedAt' in props ? props.performedAt : VOID);
|
|
109941
|
+
if (typeof performedAt === 'string' || performedAt instanceof Date) {
|
|
109942
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
109943
|
+
if (typeof performedAt === 'string') performedAt = companion.kp(performedAt);
|
|
109944
|
+
else performedAt = companion.ef(BigInt(performedAt.getTime()));
|
|
109945
|
+
}
|
|
109065
109946
|
performedBy = ('performedBy' in props ? props.performedBy : VOID);
|
|
109066
109947
|
performedByName = ('performedByName' in props ? props.performedByName : VOID);
|
|
109067
109948
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
@@ -110094,8 +110975,23 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
|
|
|
110094
110975
|
const props = altinnErrors;
|
|
110095
110976
|
altinnErrors = ('altinnErrors' in props ? props.altinnErrors : VOID);
|
|
110096
110977
|
approved = ('approved' in props ? props.approved : VOID);
|
|
110978
|
+
if (typeof approved === 'string' || approved instanceof Date) {
|
|
110979
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
110980
|
+
if (typeof approved === 'string') approved = companion.kp(approved);
|
|
110981
|
+
else approved = companion.ef(BigInt(approved.getTime()));
|
|
110982
|
+
}
|
|
110097
110983
|
completed = ('completed' in props ? props.completed : VOID);
|
|
110984
|
+
if (typeof completed === 'string' || completed instanceof Date) {
|
|
110985
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
110986
|
+
if (typeof completed === 'string') completed = companion.kp(completed);
|
|
110987
|
+
else completed = companion.ef(BigInt(completed.getTime()));
|
|
110988
|
+
}
|
|
110098
110989
|
created = ('created' in props ? props.created : VOID);
|
|
110990
|
+
if (typeof created === 'string' || created instanceof Date) {
|
|
110991
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
110992
|
+
if (typeof created === 'string') created = companion.kp(created);
|
|
110993
|
+
else created = companion.ef(BigInt(created.getTime()));
|
|
110994
|
+
}
|
|
110099
110995
|
customNumbers = ('customNumbers' in props ? props.customNumbers : VOID);
|
|
110100
110996
|
if (typeof customNumbers === 'object' && customNumbers !== null && customNumbers.constructor === Object) customNumbers = new GenerateThirdPartyInformationCommand(customNumbers);
|
|
110101
110997
|
emailErrors = ('emailErrors' in props ? props.emailErrors : VOID);
|
|
@@ -110112,17 +111008,42 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
|
|
|
110112
111008
|
}
|
|
110113
111009
|
processErrors = ('processErrors' in props ? props.processErrors : VOID);
|
|
110114
111010
|
processed = ('processed' in props ? props.processed : VOID);
|
|
111011
|
+
if (typeof processed === 'string' || processed instanceof Date) {
|
|
111012
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
111013
|
+
if (typeof processed === 'string') processed = companion.kp(processed);
|
|
111014
|
+
else processed = companion.ef(BigInt(processed.getTime()));
|
|
111015
|
+
}
|
|
110115
111016
|
rejected = ('rejected' in props ? props.rejected : VOID);
|
|
111017
|
+
if (typeof rejected === 'string' || rejected instanceof Date) {
|
|
111018
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
111019
|
+
if (typeof rejected === 'string') rejected = companion.kp(rejected);
|
|
111020
|
+
else rejected = companion.ef(BigInt(rejected.getTime()));
|
|
111021
|
+
}
|
|
110116
111022
|
response = ('response' in props ? props.response : VOID);
|
|
110117
111023
|
if (typeof response === 'object' && response !== null && response.constructor === Object) response = new ThirdPartyInformationResponse(response);
|
|
110118
111024
|
result = ('result' in props ? props.result : VOID);
|
|
110119
111025
|
if (typeof result === 'object' && result !== null && result.constructor === Object) result = new ThirdPartyInformationResult(result);
|
|
110120
111026
|
sentToAltinn = ('sentToAltinn' in props ? props.sentToAltinn : VOID);
|
|
111027
|
+
if (typeof sentToAltinn === 'string' || sentToAltinn instanceof Date) {
|
|
111028
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
111029
|
+
if (typeof sentToAltinn === 'string') sentToAltinn = companion.kp(sentToAltinn);
|
|
111030
|
+
else sentToAltinn = companion.ef(BigInt(sentToAltinn.getTime()));
|
|
111031
|
+
}
|
|
110121
111032
|
sentToOwners = ('sentToOwners' in props ? props.sentToOwners : VOID);
|
|
111033
|
+
if (typeof sentToOwners === 'string' || sentToOwners instanceof Date) {
|
|
111034
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
111035
|
+
if (typeof sentToOwners === 'string') sentToOwners = companion.kp(sentToOwners);
|
|
111036
|
+
else sentToOwners = companion.ef(BigInt(sentToOwners.getTime()));
|
|
111037
|
+
}
|
|
110122
111038
|
skeDialogId = ('skeDialogId' in props ? props.skeDialogId : VOID);
|
|
110123
111039
|
skeTransmissionId = ('skeTransmissionId' in props ? props.skeTransmissionId : VOID);
|
|
110124
111040
|
status = ('status' in props ? props.status : VOID);
|
|
110125
111041
|
updated = ('updated' in props ? props.updated : VOID);
|
|
111042
|
+
if (typeof updated === 'string' || updated instanceof Date) {
|
|
111043
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
111044
|
+
if (typeof updated === 'string') updated = companion.kp(updated);
|
|
111045
|
+
else updated = companion.ef(BigInt(updated.getTime()));
|
|
111046
|
+
}
|
|
110126
111047
|
uuid = ('uuid' in props ? props.uuid : VOID);
|
|
110127
111048
|
year = ('year' in props ? props.year : VOID);
|
|
110128
111049
|
}
|
|
@@ -114233,6 +115154,11 @@ function ThreePODialogTransmission(date, feedback, id, relatedTransmissionId, se
|
|
|
114233
115154
|
if (arguments.length === 1 && typeof date === 'object' && date !== null && date.constructor === Object) {
|
|
114234
115155
|
const props = date;
|
|
114235
115156
|
date = ('date' in props ? props.date : VOID);
|
|
115157
|
+
if (typeof date === 'string' || date instanceof Date) {
|
|
115158
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
115159
|
+
if (typeof date === 'string') date = companion.kp(date);
|
|
115160
|
+
else date = companion.ef(BigInt(date.getTime()));
|
|
115161
|
+
}
|
|
114236
115162
|
feedback = ('feedback' in props ? props.feedback : VOID);
|
|
114237
115163
|
if (typeof feedback === 'object' && feedback !== null && feedback.constructor === Object) feedback = new ThreePODialogFeedback(feedback);
|
|
114238
115164
|
id = ('id' in props ? props.id : VOID);
|
|
@@ -114911,6 +115837,11 @@ function ThreePOPeriodInput(cost, end, inFourCost, inOneCost, inThreeCost, inTwo
|
|
|
114911
115837
|
const props = cost;
|
|
114912
115838
|
cost = ('cost' in props ? props.cost : VOID);
|
|
114913
115839
|
end = ('end' in props ? props.end : VOID);
|
|
115840
|
+
if (typeof end === 'string' || end instanceof Date) {
|
|
115841
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
115842
|
+
if (typeof end === 'string') end = companion.kp(end);
|
|
115843
|
+
else end = companion.ef(BigInt(end.getTime()));
|
|
115844
|
+
}
|
|
114914
115845
|
inFourCost = ('inFourCost' in props ? props.inFourCost : VOID);
|
|
114915
115846
|
inOneCost = ('inOneCost' in props ? props.inOneCost : VOID);
|
|
114916
115847
|
inThreeCost = ('inThreeCost' in props ? props.inThreeCost : VOID);
|
|
@@ -114918,6 +115849,11 @@ function ThreePOPeriodInput(cost, end, inFourCost, inOneCost, inThreeCost, inTwo
|
|
|
114918
115849
|
income = ('income' in props ? props.income : VOID);
|
|
114919
115850
|
period = ('period' in props ? props.period : VOID);
|
|
114920
115851
|
start = ('start' in props ? props.start : VOID);
|
|
115852
|
+
if (typeof start === 'string' || start instanceof Date) {
|
|
115853
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
115854
|
+
if (typeof start === 'string') start = companion.kp(start);
|
|
115855
|
+
else start = companion.ef(BigInt(start.getTime()));
|
|
115856
|
+
}
|
|
114921
115857
|
}
|
|
114922
115858
|
inFourCost = inFourCost === VOID ? null : inFourCost;
|
|
114923
115859
|
inOneCost = inOneCost === VOID ? null : inOneCost;
|
|
@@ -117312,6 +118248,11 @@ function UpdateAdHocInvoiceGroupCommand(attachments, description, name, processe
|
|
|
117312
118248
|
description = ('description' in props ? props.description : VOID);
|
|
117313
118249
|
name = ('name' in props ? props.name : VOID);
|
|
117314
118250
|
processedAt = ('processedAt' in props ? props.processedAt : VOID);
|
|
118251
|
+
if (typeof processedAt === 'string' || processedAt instanceof Date) {
|
|
118252
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118253
|
+
if (typeof processedAt === 'string') processedAt = companion.kp(processedAt);
|
|
118254
|
+
else processedAt = companion.ef(BigInt(processedAt.getTime()));
|
|
118255
|
+
}
|
|
117315
118256
|
produceAsClaims = ('produceAsClaims' in props ? props.produceAsClaims : VOID);
|
|
117316
118257
|
removeAttachments = ('removeAttachments' in props ? props.removeAttachments : VOID);
|
|
117317
118258
|
}
|
|
@@ -117686,10 +118627,25 @@ function UpdateAdHocInvoiceLineCommand(account, amount, description, dueDate, gr
|
|
|
117686
118627
|
groupId = ('groupId' in props ? props.groupId : VOID);
|
|
117687
118628
|
id = ('id' in props ? props.id : VOID);
|
|
117688
118629
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
118630
|
+
if (typeof invoiceDate === 'string' || invoiceDate instanceof Date) {
|
|
118631
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118632
|
+
if (typeof invoiceDate === 'string') invoiceDate = companion.kp(invoiceDate);
|
|
118633
|
+
else invoiceDate = companion.ef(BigInt(invoiceDate.getTime()));
|
|
118634
|
+
}
|
|
117689
118635
|
name = ('name' in props ? props.name : VOID);
|
|
117690
118636
|
organizationId = ('organizationId' in props ? props.organizationId : VOID);
|
|
117691
118637
|
periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
|
|
118638
|
+
if (typeof periodEnd === 'string' || periodEnd instanceof Date) {
|
|
118639
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118640
|
+
if (typeof periodEnd === 'string') periodEnd = companion.kp(periodEnd);
|
|
118641
|
+
else periodEnd = companion.ef(BigInt(periodEnd.getTime()));
|
|
118642
|
+
}
|
|
117692
118643
|
periodStart = ('periodStart' in props ? props.periodStart : VOID);
|
|
118644
|
+
if (typeof periodStart === 'string' || periodStart instanceof Date) {
|
|
118645
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118646
|
+
if (typeof periodStart === 'string') periodStart = companion.kp(periodStart);
|
|
118647
|
+
else periodStart = companion.ef(BigInt(periodStart.getTime()));
|
|
118648
|
+
}
|
|
117693
118649
|
personId = ('personId' in props ? props.personId : VOID);
|
|
117694
118650
|
planId = ('planId' in props ? props.planId : VOID);
|
|
117695
118651
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
@@ -117984,7 +118940,17 @@ function UpdateAttendanceCommand(validFrom, validTo) {
|
|
|
117984
118940
|
if (arguments.length === 1 && typeof validFrom === 'object' && validFrom !== null && validFrom.constructor === Object) {
|
|
117985
118941
|
const props = validFrom;
|
|
117986
118942
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
118943
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
118944
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118945
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
118946
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
118947
|
+
}
|
|
117987
118948
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
118949
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
118950
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
118951
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
118952
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
118953
|
+
}
|
|
117988
118954
|
}
|
|
117989
118955
|
validTo = validTo === VOID ? null : validTo;
|
|
117990
118956
|
this.validFrom = validFrom;
|
|
@@ -118154,7 +119120,17 @@ function UpdateCompanyAvtaleCommand(annualMeetingIncluded, invoiceReception, sig
|
|
|
118154
119120
|
annualMeetingIncluded = ('annualMeetingIncluded' in props ? props.annualMeetingIncluded : VOID);
|
|
118155
119121
|
invoiceReception = ('invoiceReception' in props ? props.invoiceReception : VOID);
|
|
118156
119122
|
signedAt = ('signedAt' in props ? props.signedAt : VOID);
|
|
119123
|
+
if (typeof signedAt === 'string' || signedAt instanceof Date) {
|
|
119124
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
119125
|
+
if (typeof signedAt === 'string') signedAt = companion.kp(signedAt);
|
|
119126
|
+
else signedAt = companion.ef(BigInt(signedAt.getTime()));
|
|
119127
|
+
}
|
|
118157
119128
|
startAt = ('startAt' in props ? props.startAt : VOID);
|
|
119129
|
+
if (typeof startAt === 'string' || startAt instanceof Date) {
|
|
119130
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
119131
|
+
if (typeof startAt === 'string') startAt = companion.kp(startAt);
|
|
119132
|
+
else startAt = companion.ef(BigInt(startAt.getTime()));
|
|
119133
|
+
}
|
|
118158
119134
|
}
|
|
118159
119135
|
annualMeetingIncluded = annualMeetingIncluded === VOID ? null : annualMeetingIncluded;
|
|
118160
119136
|
invoiceReception = invoiceReception === VOID ? null : invoiceReception;
|
|
@@ -120951,7 +121927,17 @@ function UpdateInvoicePlanLineCommand(account, amount, distributionId, name, per
|
|
|
120951
121927
|
name = ('name' in props ? props.name : VOID);
|
|
120952
121928
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
120953
121929
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
121930
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
121931
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
121932
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
121933
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
121934
|
+
}
|
|
120954
121935
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
121936
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
121937
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
121938
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
121939
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
121940
|
+
}
|
|
120955
121941
|
}
|
|
120956
121942
|
periodisering = periodisering === VOID ? null : periodisering;
|
|
120957
121943
|
validFrom = validFrom === VOID ? null : validFrom;
|
|
@@ -121375,9 +122361,24 @@ function UpdateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
|
|
|
121375
122361
|
invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
|
|
121376
122362
|
mode = ('mode' in props ? props.mode : VOID);
|
|
121377
122363
|
oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
|
|
122364
|
+
if (typeof oneTimeDate === 'string' || oneTimeDate instanceof Date) {
|
|
122365
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
122366
|
+
if (typeof oneTimeDate === 'string') oneTimeDate = companion.kp(oneTimeDate);
|
|
122367
|
+
else oneTimeDate = companion.ef(BigInt(oneTimeDate.getTime()));
|
|
122368
|
+
}
|
|
121378
122369
|
periodisering = ('periodisering' in props ? props.periodisering : VOID);
|
|
121379
122370
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
122371
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
122372
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
122373
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
122374
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
122375
|
+
}
|
|
121380
122376
|
validTo = ('validTo' in props ? props.validTo : VOID);
|
|
122377
|
+
if (typeof validTo === 'string' || validTo instanceof Date) {
|
|
122378
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
122379
|
+
if (typeof validTo === 'string') validTo = companion.kp(validTo);
|
|
122380
|
+
else validTo = companion.ef(BigInt(validTo.getTime()));
|
|
122381
|
+
}
|
|
121381
122382
|
}
|
|
121382
122383
|
Companion_getInstance_510();
|
|
121383
122384
|
description = description === VOID ? null : description;
|
|
@@ -122154,6 +123155,11 @@ function UpdateKartverketResultCommand(collectedAt, company) {
|
|
|
122154
123155
|
if (arguments.length === 1 && typeof collectedAt === 'object' && collectedAt !== null && collectedAt.constructor === Object) {
|
|
122155
123156
|
const props = collectedAt;
|
|
122156
123157
|
collectedAt = ('collectedAt' in props ? props.collectedAt : VOID);
|
|
123158
|
+
if (typeof collectedAt === 'string' || collectedAt instanceof Date) {
|
|
123159
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123160
|
+
if (typeof collectedAt === 'string') collectedAt = companion.kp(collectedAt);
|
|
123161
|
+
else collectedAt = companion.ef(BigInt(collectedAt.getTime()));
|
|
123162
|
+
}
|
|
122157
123163
|
company = ('company' in props ? props.company : VOID);
|
|
122158
123164
|
if (typeof company === 'object' && company !== null && company.constructor === Object) company = new CreateCompany(company);
|
|
122159
123165
|
}
|
|
@@ -122426,6 +123432,11 @@ function UpdateLoanInterestCommand(interest, validFrom) {
|
|
|
122426
123432
|
const props = interest;
|
|
122427
123433
|
interest = ('interest' in props ? props.interest : VOID);
|
|
122428
123434
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
123435
|
+
if (typeof validFrom === 'string' || validFrom instanceof Date) {
|
|
123436
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123437
|
+
if (typeof validFrom === 'string') validFrom = companion.kp(validFrom);
|
|
123438
|
+
else validFrom = companion.ef(BigInt(validFrom.getTime()));
|
|
123439
|
+
}
|
|
122429
123440
|
}
|
|
122430
123441
|
validFrom = validFrom === VOID ? null : validFrom;
|
|
122431
123442
|
this.interest = interest;
|
|
@@ -122831,11 +123842,31 @@ function UpdateMeetingCommand(actualEndAt, actualStartAt, comment, location, pla
|
|
|
122831
123842
|
if (arguments.length === 1 && typeof actualEndAt === 'object' && actualEndAt !== null && actualEndAt.constructor === Object) {
|
|
122832
123843
|
const props = actualEndAt;
|
|
122833
123844
|
actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
|
|
123845
|
+
if (typeof actualEndAt === 'string' || actualEndAt instanceof Date) {
|
|
123846
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123847
|
+
if (typeof actualEndAt === 'string') actualEndAt = companion.kp(actualEndAt);
|
|
123848
|
+
else actualEndAt = companion.ef(BigInt(actualEndAt.getTime()));
|
|
123849
|
+
}
|
|
122834
123850
|
actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
|
|
123851
|
+
if (typeof actualStartAt === 'string' || actualStartAt instanceof Date) {
|
|
123852
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123853
|
+
if (typeof actualStartAt === 'string') actualStartAt = companion.kp(actualStartAt);
|
|
123854
|
+
else actualStartAt = companion.ef(BigInt(actualStartAt.getTime()));
|
|
123855
|
+
}
|
|
122835
123856
|
comment = ('comment' in props ? props.comment : VOID);
|
|
122836
123857
|
location = ('location' in props ? props.location : VOID);
|
|
122837
123858
|
plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
|
|
123859
|
+
if (typeof plannedEndAt === 'string' || plannedEndAt instanceof Date) {
|
|
123860
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123861
|
+
if (typeof plannedEndAt === 'string') plannedEndAt = companion.kp(plannedEndAt);
|
|
123862
|
+
else plannedEndAt = companion.ef(BigInt(plannedEndAt.getTime()));
|
|
123863
|
+
}
|
|
122838
123864
|
plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
|
|
123865
|
+
if (typeof plannedStartAt === 'string' || plannedStartAt instanceof Date) {
|
|
123866
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
123867
|
+
if (typeof plannedStartAt === 'string') plannedStartAt = companion.kp(plannedStartAt);
|
|
123868
|
+
else plannedStartAt = companion.ef(BigInt(plannedStartAt.getTime()));
|
|
123869
|
+
}
|
|
122839
123870
|
sendUpdatedNotification = ('sendUpdatedNotification' in props ? props.sendUpdatedNotification : VOID);
|
|
122840
123871
|
title = ('title' in props ? props.title : VOID);
|
|
122841
123872
|
updatedNotificationComment = ('updatedNotificationComment' in props ? props.updatedNotificationComment : VOID);
|
|
@@ -123358,6 +124389,11 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
123358
124389
|
}
|
|
123359
124390
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
123360
124391
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
124392
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
124393
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
124394
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
124395
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
124396
|
+
}
|
|
123361
124397
|
reviewers = ('reviewers' in props ? props.reviewers : VOID);
|
|
123362
124398
|
subject = ('subject' in props ? props.subject : VOID);
|
|
123363
124399
|
}
|
|
@@ -125844,6 +126880,11 @@ function UpdatePersonResidentCommand(address, email, invoicingEmail, mobile, nam
|
|
|
125844
126880
|
if (typeof name === 'object' && name !== null && name.constructor === Object) name = new Name(name);
|
|
125845
126881
|
nationality = ('nationality' in props ? props.nationality : VOID);
|
|
125846
126882
|
passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
|
|
126883
|
+
if (typeof passportExpiration === 'string' || passportExpiration instanceof Date) {
|
|
126884
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
126885
|
+
if (typeof passportExpiration === 'string') passportExpiration = companion.kp(passportExpiration);
|
|
126886
|
+
else passportExpiration = companion.ef(BigInt(passportExpiration.getTime()));
|
|
126887
|
+
}
|
|
125847
126888
|
passportNumber = ('passportNumber' in props ? props.passportNumber : VOID);
|
|
125848
126889
|
personnummerTwo = ('personnummerTwo' in props ? props.personnummerTwo : VOID);
|
|
125849
126890
|
roles = ('roles' in props ? props.roles : VOID);
|
|
@@ -126262,6 +127303,11 @@ function UpdatePostCommand(content, contentUrls, notificationEmailGroups, notifi
|
|
|
126262
127303
|
pinned = ('pinned' in props ? props.pinned : VOID);
|
|
126263
127304
|
private_0 = ('private' in props ? props.private : VOID);
|
|
126264
127305
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
127306
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
127307
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
127308
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
127309
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
127310
|
+
}
|
|
126265
127311
|
title = ('title' in props ? props.title : VOID);
|
|
126266
127312
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
126267
127313
|
}
|
|
@@ -126685,6 +127731,11 @@ function UpdatePracticalInfoCommand(content, contentUrls, notificationEmailGroup
|
|
|
126685
127731
|
pinned = ('pinned' in props ? props.pinned : VOID);
|
|
126686
127732
|
private_0 = ('private' in props ? props.private : VOID);
|
|
126687
127733
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
127734
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
127735
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
127736
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
127737
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
127738
|
+
}
|
|
126688
127739
|
title = ('title' in props ? props.title : VOID);
|
|
126689
127740
|
weighting = ('weighting' in props ? props.weighting : VOID);
|
|
126690
127741
|
}
|
|
@@ -127689,6 +128740,11 @@ function UpdateRoutineCommand(description, dueDateOffset, recommendedIntervalMet
|
|
|
127689
128740
|
requiresSupplier = ('requiresSupplier' in props ? props.requiresSupplier : VOID);
|
|
127690
128741
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
127691
128742
|
startDate = ('startDate' in props ? props.startDate : VOID);
|
|
128743
|
+
if (typeof startDate === 'string' || startDate instanceof Date) {
|
|
128744
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
128745
|
+
if (typeof startDate === 'string') startDate = companion.kp(startDate);
|
|
128746
|
+
else startDate = companion.ef(BigInt(startDate.getTime()));
|
|
128747
|
+
}
|
|
127692
128748
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
127693
128749
|
svgName = ('svgName' in props ? props.svgName : VOID);
|
|
127694
128750
|
title = ('title' in props ? props.title : VOID);
|
|
@@ -127993,6 +129049,11 @@ function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
|
|
|
127993
129049
|
}
|
|
127994
129050
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
127995
129051
|
publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
|
|
129052
|
+
if (typeof publishedAt === 'string' || publishedAt instanceof Date) {
|
|
129053
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
129054
|
+
if (typeof publishedAt === 'string') publishedAt = companion.kp(publishedAt);
|
|
129055
|
+
else publishedAt = companion.ef(BigInt(publishedAt.getTime()));
|
|
129056
|
+
}
|
|
127996
129057
|
}
|
|
127997
129058
|
Companion_getInstance_539();
|
|
127998
129059
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
@@ -129070,7 +130131,17 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
|
|
|
129070
130131
|
if (arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object) {
|
|
129071
130132
|
const props = closedAt;
|
|
129072
130133
|
closedAt = ('closedAt' in props ? props.closedAt : VOID);
|
|
130134
|
+
if (typeof closedAt === 'string' || closedAt instanceof Date) {
|
|
130135
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
130136
|
+
if (typeof closedAt === 'string') closedAt = companion.kp(closedAt);
|
|
130137
|
+
else closedAt = companion.ef(BigInt(closedAt.getTime()));
|
|
130138
|
+
}
|
|
129073
130139
|
completedAt = ('completedAt' in props ? props.completedAt : VOID);
|
|
130140
|
+
if (typeof completedAt === 'string' || completedAt instanceof Date) {
|
|
130141
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
130142
|
+
if (typeof completedAt === 'string') completedAt = companion.kp(completedAt);
|
|
130143
|
+
else completedAt = companion.ef(BigInt(completedAt.getTime()));
|
|
130144
|
+
}
|
|
129074
130145
|
description = ('description' in props ? props.description : VOID);
|
|
129075
130146
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
129076
130147
|
invoices = ('invoices' in props ? props.invoices : VOID);
|
|
@@ -129083,6 +130154,11 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
|
|
|
129083
130154
|
submissionError = ('submissionError' in props ? props.submissionError : VOID);
|
|
129084
130155
|
submissionId = ('submissionId' in props ? props.submissionId : VOID);
|
|
129085
130156
|
submittedAt = ('submittedAt' in props ? props.submittedAt : VOID);
|
|
130157
|
+
if (typeof submittedAt === 'string' || submittedAt instanceof Date) {
|
|
130158
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
130159
|
+
if (typeof submittedAt === 'string') submittedAt = companion.kp(submittedAt);
|
|
130160
|
+
else submittedAt = companion.ef(BigInt(submittedAt.getTime()));
|
|
130161
|
+
}
|
|
129086
130162
|
}
|
|
129087
130163
|
Companion_getInstance_543();
|
|
129088
130164
|
closedAt = closedAt === VOID ? null : closedAt;
|
|
@@ -129652,6 +130728,11 @@ function UpdateSettlementProviderConfigurationCommand(closedAt, endDate, relevan
|
|
|
129652
130728
|
if (arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object) {
|
|
129653
130729
|
const props = closedAt;
|
|
129654
130730
|
closedAt = ('closedAt' in props ? props.closedAt : VOID);
|
|
130731
|
+
if (typeof closedAt === 'string' || closedAt instanceof Date) {
|
|
130732
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
130733
|
+
if (typeof closedAt === 'string') closedAt = companion.kp(closedAt);
|
|
130734
|
+
else closedAt = companion.ef(BigInt(closedAt.getTime()));
|
|
130735
|
+
}
|
|
129655
130736
|
endDate = ('endDate' in props ? props.endDate : VOID);
|
|
129656
130737
|
relevantOrgNrs = ('relevantOrgNrs' in props ? props.relevantOrgNrs : VOID);
|
|
129657
130738
|
resolverPrefix = ('resolverPrefix' in props ? props.resolverPrefix : VOID);
|
|
@@ -130596,7 +131677,17 @@ function UpdateTaskCommand(description, dueDate, intervalStart, intervalType, in
|
|
|
130596
131677
|
const props = description;
|
|
130597
131678
|
description = ('description' in props ? props.description : VOID);
|
|
130598
131679
|
dueDate = ('dueDate' in props ? props.dueDate : VOID);
|
|
131680
|
+
if (typeof dueDate === 'string' || dueDate instanceof Date) {
|
|
131681
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
131682
|
+
if (typeof dueDate === 'string') dueDate = companion.kp(dueDate);
|
|
131683
|
+
else dueDate = companion.ef(BigInt(dueDate.getTime()));
|
|
131684
|
+
}
|
|
130599
131685
|
intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
|
|
131686
|
+
if (typeof intervalStart === 'string' || intervalStart instanceof Date) {
|
|
131687
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
131688
|
+
if (typeof intervalStart === 'string') intervalStart = companion.kp(intervalStart);
|
|
131689
|
+
else intervalStart = companion.ef(BigInt(intervalStart.getTime()));
|
|
131690
|
+
}
|
|
130600
131691
|
intervalType = ('intervalType' in props ? props.intervalType : VOID);
|
|
130601
131692
|
intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
|
|
130602
131693
|
responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
|
|
@@ -130810,8 +131901,18 @@ function UpsertOrdinancesCommand(byLawsCompliantFrom, byLawsDocumentId, byLawsVa
|
|
|
130810
131901
|
if (arguments.length === 1 && typeof byLawsCompliantFrom === 'object' && byLawsCompliantFrom !== null && byLawsCompliantFrom.constructor === Object) {
|
|
130811
131902
|
const props = byLawsCompliantFrom;
|
|
130812
131903
|
byLawsCompliantFrom = ('byLawsCompliantFrom' in props ? props.byLawsCompliantFrom : VOID);
|
|
131904
|
+
if (typeof byLawsCompliantFrom === 'string' || byLawsCompliantFrom instanceof Date) {
|
|
131905
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
131906
|
+
if (typeof byLawsCompliantFrom === 'string') byLawsCompliantFrom = companion.kp(byLawsCompliantFrom);
|
|
131907
|
+
else byLawsCompliantFrom = companion.ef(BigInt(byLawsCompliantFrom.getTime()));
|
|
131908
|
+
}
|
|
130813
131909
|
byLawsDocumentId = ('byLawsDocumentId' in props ? props.byLawsDocumentId : VOID);
|
|
130814
131910
|
byLawsValidFrom = ('byLawsValidFrom' in props ? props.byLawsValidFrom : VOID);
|
|
131911
|
+
if (typeof byLawsValidFrom === 'string' || byLawsValidFrom instanceof Date) {
|
|
131912
|
+
const companion = Companion_getInstance229rema5imh9m();
|
|
131913
|
+
if (typeof byLawsValidFrom === 'string') byLawsValidFrom = companion.kp(byLawsValidFrom);
|
|
131914
|
+
else byLawsValidFrom = companion.ef(BigInt(byLawsValidFrom.getTime()));
|
|
131915
|
+
}
|
|
130815
131916
|
}
|
|
130816
131917
|
byLawsCompliantFrom = byLawsCompliantFrom === VOID ? null : byLawsCompliantFrom;
|
|
130817
131918
|
this.byLawsCompliantFrom = byLawsCompliantFrom;
|