@solibo/solibo-sdk 1.5.2 → 1.5.3

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.
@@ -3565,6 +3565,8 @@ function AccountList(availableFunds, bank, loans, operatingBalance, operatingBal
3565
3565
  operatingBalance = ('operatingBalance' in props ? props.operatingBalance : VOID);
3566
3566
  operatingBalanceAt = ('operatingBalanceAt' in props ? props.operatingBalanceAt : VOID);
3567
3567
  if (typeof operatingBalanceAt === 'string') {
3568
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(operatingBalanceAt)) operatingBalanceAt += ':00Z';
3569
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(operatingBalanceAt)) operatingBalanceAt += 'Z';
3568
3570
  const companion = Companion_getInstancec1c8yhxwuclv();
3569
3571
  operatingBalanceAt = companion.gp(operatingBalanceAt);
3570
3572
  } else if (operatingBalanceAt != null && typeof operatingBalanceAt === 'object' && typeof operatingBalanceAt.getTime === 'function') {
@@ -3574,6 +3576,8 @@ function AccountList(availableFunds, bank, loans, operatingBalance, operatingBal
3574
3576
  taxBalance = ('taxBalance' in props ? props.taxBalance : VOID);
3575
3577
  taxBalanceAt = ('taxBalanceAt' in props ? props.taxBalanceAt : VOID);
3576
3578
  if (typeof taxBalanceAt === 'string') {
3579
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(taxBalanceAt)) taxBalanceAt += ':00Z';
3580
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(taxBalanceAt)) taxBalanceAt += 'Z';
3577
3581
  const companion = Companion_getInstancec1c8yhxwuclv();
3578
3582
  taxBalanceAt = companion.gp(taxBalanceAt);
3579
3583
  } else if (taxBalanceAt != null && typeof taxBalanceAt === 'object' && typeof taxBalanceAt.getTime === 'function') {
@@ -4095,6 +4099,8 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
4095
4099
  companyId = ('companyId' in props ? props.companyId : VOID);
4096
4100
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
4097
4101
  if (typeof createdAt === 'string') {
4102
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
4103
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
4098
4104
  const companion = Companion_getInstancec1c8yhxwuclv();
4099
4105
  createdAt = companion.gp(createdAt);
4100
4106
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -4108,6 +4114,8 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
4108
4114
  id = ('id' in props ? props.id : VOID);
4109
4115
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
4110
4116
  if (typeof invoiceDate === 'string') {
4117
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
4118
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
4111
4119
  const companion = Companion_getInstancec1c8yhxwuclv();
4112
4120
  invoiceDate = companion.gp(invoiceDate);
4113
4121
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -4118,6 +4126,8 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
4118
4126
  name = ('name' in props ? props.name : VOID);
4119
4127
  processedAt = ('processedAt' in props ? props.processedAt : VOID);
4120
4128
  if (typeof processedAt === 'string') {
4129
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(processedAt)) processedAt += ':00Z';
4130
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(processedAt)) processedAt += 'Z';
4121
4131
  const companion = Companion_getInstancec1c8yhxwuclv();
4122
4132
  processedAt = companion.gp(processedAt);
4123
4133
  } else if (processedAt != null && typeof processedAt === 'object' && typeof processedAt.getTime === 'function') {
@@ -4127,6 +4137,8 @@ function AdHocInvoiceGroup(attachments, companyId, createdAt, createdBy, descrip
4127
4137
  produceAsClaims = ('produceAsClaims' in props ? props.produceAsClaims : VOID);
4128
4138
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
4129
4139
  if (typeof updatedAt === 'string') {
4140
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
4141
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
4130
4142
  const companion = Companion_getInstancec1c8yhxwuclv();
4131
4143
  updatedAt = companion.gp(updatedAt);
4132
4144
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -4689,6 +4701,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4689
4701
  companyId = ('companyId' in props ? props.companyId : VOID);
4690
4702
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
4691
4703
  if (typeof createdAt === 'string') {
4704
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
4705
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
4692
4706
  const companion = Companion_getInstancec1c8yhxwuclv();
4693
4707
  createdAt = companion.gp(createdAt);
4694
4708
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -4701,6 +4715,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4701
4715
  id = ('id' in props ? props.id : VOID);
4702
4716
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
4703
4717
  if (typeof invoiceDate === 'string') {
4718
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
4719
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
4704
4720
  const companion = Companion_getInstancec1c8yhxwuclv();
4705
4721
  invoiceDate = companion.gp(invoiceDate);
4706
4722
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -4712,6 +4728,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4712
4728
  organizationId = ('organizationId' in props ? props.organizationId : VOID);
4713
4729
  periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
4714
4730
  if (typeof periodEnd === 'string') {
4731
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodEnd)) periodEnd += ':00Z';
4732
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodEnd)) periodEnd += 'Z';
4715
4733
  const companion = Companion_getInstancec1c8yhxwuclv();
4716
4734
  periodEnd = companion.gp(periodEnd);
4717
4735
  } else if (periodEnd != null && typeof periodEnd === 'object' && typeof periodEnd.getTime === 'function') {
@@ -4720,6 +4738,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4720
4738
  }
4721
4739
  periodStart = ('periodStart' in props ? props.periodStart : VOID);
4722
4740
  if (typeof periodStart === 'string') {
4741
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodStart)) periodStart += ':00Z';
4742
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodStart)) periodStart += 'Z';
4723
4743
  const companion = Companion_getInstancec1c8yhxwuclv();
4724
4744
  periodStart = companion.gp(periodStart);
4725
4745
  } else if (periodStart != null && typeof periodStart === 'object' && typeof periodStart.getTime === 'function') {
@@ -4730,6 +4750,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4730
4750
  planId = ('planId' in props ? props.planId : VOID);
4731
4751
  processedAt = ('processedAt' in props ? props.processedAt : VOID);
4732
4752
  if (typeof processedAt === 'string') {
4753
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(processedAt)) processedAt += ':00Z';
4754
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(processedAt)) processedAt += 'Z';
4733
4755
  const companion = Companion_getInstancec1c8yhxwuclv();
4734
4756
  processedAt = companion.gp(processedAt);
4735
4757
  } else if (processedAt != null && typeof processedAt === 'object' && typeof processedAt.getTime === 'function') {
@@ -4739,6 +4761,8 @@ function AdHocInvoiceLine(account, adHocInvoicingGroupId, amount, companyId, cre
4739
4761
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
4740
4762
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
4741
4763
  if (typeof updatedAt === 'string') {
4764
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
4765
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
4742
4766
  const companion = Companion_getInstancec1c8yhxwuclv();
4743
4767
  updatedAt = companion.gp(updatedAt);
4744
4768
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -6814,6 +6838,8 @@ function Attendance(companyId, id, resident, sectionId, validFrom, validTo) {
6814
6838
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
6815
6839
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
6816
6840
  if (typeof validFrom === 'string') {
6841
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
6842
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
6817
6843
  const companion = Companion_getInstancec1c8yhxwuclv();
6818
6844
  validFrom = companion.gp(validFrom);
6819
6845
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -6822,6 +6848,8 @@ function Attendance(companyId, id, resident, sectionId, validFrom, validTo) {
6822
6848
  }
6823
6849
  validTo = ('validTo' in props ? props.validTo : VOID);
6824
6850
  if (typeof validTo === 'string') {
6851
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
6852
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
6825
6853
  const companion = Companion_getInstancec1c8yhxwuclv();
6826
6854
  validTo = companion.gp(validTo);
6827
6855
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -9113,6 +9141,8 @@ function BusinessAgreement(annualMeetingIncluded, serviceStartAt, signedAt) {
9113
9141
  annualMeetingIncluded = ('annualMeetingIncluded' in props ? props.annualMeetingIncluded : VOID);
9114
9142
  serviceStartAt = ('serviceStartAt' in props ? props.serviceStartAt : VOID);
9115
9143
  if (typeof serviceStartAt === 'string') {
9144
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(serviceStartAt)) serviceStartAt += ':00Z';
9145
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(serviceStartAt)) serviceStartAt += 'Z';
9116
9146
  const companion = Companion_getInstancec1c8yhxwuclv();
9117
9147
  serviceStartAt = companion.gp(serviceStartAt);
9118
9148
  } else if (serviceStartAt != null && typeof serviceStartAt === 'object' && typeof serviceStartAt.getTime === 'function') {
@@ -9121,6 +9151,8 @@ function BusinessAgreement(annualMeetingIncluded, serviceStartAt, signedAt) {
9121
9151
  }
9122
9152
  signedAt = ('signedAt' in props ? props.signedAt : VOID);
9123
9153
  if (typeof signedAt === 'string') {
9154
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(signedAt)) signedAt += ':00Z';
9155
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(signedAt)) signedAt += 'Z';
9124
9156
  const companion = Companion_getInstancec1c8yhxwuclv();
9125
9157
  signedAt = companion.gp(signedAt);
9126
9158
  } else if (signedAt != null && typeof signedAt === 'object' && typeof signedAt.getTime === 'function') {
@@ -10252,6 +10284,8 @@ function CloseInsuranceCommand(endDate) {
10252
10284
  const props = endDate;
10253
10285
  endDate = ('endDate' in props ? props.endDate : VOID);
10254
10286
  if (typeof endDate === 'string') {
10287
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(endDate)) endDate += ':00Z';
10288
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(endDate)) endDate += 'Z';
10255
10289
  const companion = Companion_getInstancec1c8yhxwuclv();
10256
10290
  endDate = companion.gp(endDate);
10257
10291
  } else if (endDate != null && typeof endDate === 'object' && typeof endDate.getTime === 'function') {
@@ -10488,6 +10522,8 @@ function CloseLoanCommand(endAt) {
10488
10522
  const props = endAt;
10489
10523
  endAt = ('endAt' in props ? props.endAt : VOID);
10490
10524
  if (typeof endAt === 'string') {
10525
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(endAt)) endAt += ':00Z';
10526
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(endAt)) endAt += 'Z';
10491
10527
  const companion = Companion_getInstancec1c8yhxwuclv();
10492
10528
  endAt = companion.gp(endAt);
10493
10529
  } else if (endAt != null && typeof endAt === 'object' && typeof endAt.getTime === 'function') {
@@ -10813,6 +10849,8 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
10813
10849
  if (typeof communicationType === 'object' && communicationType !== null && !(communicationType instanceof CommunicationMessageType)) communicationType = new CommunicationMessageType(communicationType);
10814
10850
  finishedAt = ('finishedAt' in props ? props.finishedAt : VOID);
10815
10851
  if (typeof finishedAt === 'string') {
10852
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(finishedAt)) finishedAt += ':00Z';
10853
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(finishedAt)) finishedAt += 'Z';
10816
10854
  const companion = Companion_getInstancec1c8yhxwuclv();
10817
10855
  finishedAt = companion.gp(finishedAt);
10818
10856
  } else if (finishedAt != null && typeof finishedAt === 'object' && typeof finishedAt.getTime === 'function') {
@@ -10822,6 +10860,8 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
10822
10860
  recipient = ('recipient' in props ? props.recipient : VOID);
10823
10861
  sentAt = ('sentAt' in props ? props.sentAt : VOID);
10824
10862
  if (typeof sentAt === 'string') {
10863
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(sentAt)) sentAt += ':00Z';
10864
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(sentAt)) sentAt += 'Z';
10825
10865
  const companion = Companion_getInstancec1c8yhxwuclv();
10826
10866
  sentAt = companion.gp(sentAt);
10827
10867
  } else if (sentAt != null && typeof sentAt === 'object' && typeof sentAt.getTime === 'function') {
@@ -10832,6 +10872,8 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
10832
10872
  if (typeof status === 'object' && status !== null && !(status instanceof CommunicationState)) status = new CommunicationState(status);
10833
10873
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
10834
10874
  if (typeof updatedAt === 'string') {
10875
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
10876
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
10835
10877
  const companion = Companion_getInstancec1c8yhxwuclv();
10836
10878
  updatedAt = companion.gp(updatedAt);
10837
10879
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -12697,6 +12739,8 @@ function CompanyBusinessAgreement(annualMeetingIncluded, id, invoicingEmail, ser
12697
12739
  invoicingEmail = ('invoicingEmail' in props ? props.invoicingEmail : VOID);
12698
12740
  serviceStartAt = ('serviceStartAt' in props ? props.serviceStartAt : VOID);
12699
12741
  if (typeof serviceStartAt === 'string') {
12742
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(serviceStartAt)) serviceStartAt += ':00Z';
12743
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(serviceStartAt)) serviceStartAt += 'Z';
12700
12744
  const companion = Companion_getInstancec1c8yhxwuclv();
12701
12745
  serviceStartAt = companion.gp(serviceStartAt);
12702
12746
  } else if (serviceStartAt != null && typeof serviceStartAt === 'object' && typeof serviceStartAt.getTime === 'function') {
@@ -12705,6 +12749,8 @@ function CompanyBusinessAgreement(annualMeetingIncluded, id, invoicingEmail, ser
12705
12749
  }
12706
12750
  signedAt = ('signedAt' in props ? props.signedAt : VOID);
12707
12751
  if (typeof signedAt === 'string') {
12752
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(signedAt)) signedAt += ':00Z';
12753
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(signedAt)) signedAt += 'Z';
12708
12754
  const companion = Companion_getInstancec1c8yhxwuclv();
12709
12755
  signedAt = companion.gp(signedAt);
12710
12756
  } else if (signedAt != null && typeof signedAt === 'object' && typeof signedAt.getTime === 'function') {
@@ -14217,6 +14263,8 @@ function CompanyOrdinances(byLawsCompliantFrom, byLawsDocumentId, byLawsValidFro
14217
14263
  const props = byLawsCompliantFrom;
14218
14264
  byLawsCompliantFrom = ('byLawsCompliantFrom' in props ? props.byLawsCompliantFrom : VOID);
14219
14265
  if (typeof byLawsCompliantFrom === 'string') {
14266
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(byLawsCompliantFrom)) byLawsCompliantFrom += ':00Z';
14267
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(byLawsCompliantFrom)) byLawsCompliantFrom += 'Z';
14220
14268
  const companion = Companion_getInstancec1c8yhxwuclv();
14221
14269
  byLawsCompliantFrom = companion.gp(byLawsCompliantFrom);
14222
14270
  } else if (byLawsCompliantFrom != null && typeof byLawsCompliantFrom === 'object' && typeof byLawsCompliantFrom.getTime === 'function') {
@@ -14226,6 +14274,8 @@ function CompanyOrdinances(byLawsCompliantFrom, byLawsDocumentId, byLawsValidFro
14226
14274
  byLawsDocumentId = ('byLawsDocumentId' in props ? props.byLawsDocumentId : VOID);
14227
14275
  byLawsValidFrom = ('byLawsValidFrom' in props ? props.byLawsValidFrom : VOID);
14228
14276
  if (typeof byLawsValidFrom === 'string') {
14277
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(byLawsValidFrom)) byLawsValidFrom += ':00Z';
14278
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(byLawsValidFrom)) byLawsValidFrom += 'Z';
14229
14279
  const companion = Companion_getInstancec1c8yhxwuclv();
14230
14280
  byLawsValidFrom = companion.gp(byLawsValidFrom);
14231
14281
  } else if (byLawsValidFrom != null && typeof byLawsValidFrom === 'object' && typeof byLawsValidFrom.getTime === 'function') {
@@ -14234,6 +14284,8 @@ function CompanyOrdinances(byLawsCompliantFrom, byLawsDocumentId, byLawsValidFro
14234
14284
  }
14235
14285
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
14236
14286
  if (typeof updatedAt === 'string') {
14287
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
14288
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
14237
14289
  const companion = Companion_getInstancec1c8yhxwuclv();
14238
14290
  updatedAt = companion.gp(updatedAt);
14239
14291
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -15799,6 +15851,8 @@ function CompleteTaskCommand(completedAt) {
15799
15851
  const props = completedAt;
15800
15852
  completedAt = ('completedAt' in props ? props.completedAt : VOID);
15801
15853
  if (typeof completedAt === 'string') {
15854
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completedAt)) completedAt += ':00Z';
15855
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completedAt)) completedAt += 'Z';
15802
15856
  const companion = Companion_getInstancec1c8yhxwuclv();
15803
15857
  completedAt = companion.gp(completedAt);
15804
15858
  } else if (completedAt != null && typeof completedAt === 'object' && typeof completedAt.getTime === 'function') {
@@ -17652,6 +17706,8 @@ function Conversation(category, companyId, conversationStartedAt, documents, eve
17652
17706
  companyId = ('companyId' in props ? props.companyId : VOID);
17653
17707
  conversationStartedAt = ('conversationStartedAt' in props ? props.conversationStartedAt : VOID);
17654
17708
  if (typeof conversationStartedAt === 'string') {
17709
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(conversationStartedAt)) conversationStartedAt += ':00Z';
17710
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(conversationStartedAt)) conversationStartedAt += 'Z';
17655
17711
  const companion = Companion_getInstancec1c8yhxwuclv();
17656
17712
  conversationStartedAt = companion.gp(conversationStartedAt);
17657
17713
  } else if (conversationStartedAt != null && typeof conversationStartedAt === 'object' && typeof conversationStartedAt.getTime === 'function') {
@@ -18870,6 +18926,8 @@ function ConversationEvent(description, descriptionMeta, eventType, performedAt,
18870
18926
  if (typeof eventType === 'object' && eventType !== null && !(eventType instanceof ConversationEventType)) eventType = new ConversationEventType(eventType);
18871
18927
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
18872
18928
  if (typeof performedAt === 'string') {
18929
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
18930
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(performedAt)) performedAt += 'Z';
18873
18931
  const companion = Companion_getInstancec1c8yhxwuclv();
18874
18932
  performedAt = companion.gp(performedAt);
18875
18933
  } else if (performedAt != null && typeof performedAt === 'object' && typeof performedAt.getTime === 'function') {
@@ -19476,6 +19534,8 @@ function ConversationFolder(companyId, createdAt, createdBy, id, name, parentId,
19476
19534
  companyId = ('companyId' in props ? props.companyId : VOID);
19477
19535
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
19478
19536
  if (typeof createdAt === 'string') {
19537
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
19538
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
19479
19539
  const companion = Companion_getInstancec1c8yhxwuclv();
19480
19540
  createdAt = companion.gp(createdAt);
19481
19541
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -21302,6 +21362,8 @@ function CreateAdHocInvoiceLineCommand(account, amount, description, dueDate, in
21302
21362
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
21303
21363
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
21304
21364
  if (typeof invoiceDate === 'string') {
21365
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
21366
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
21305
21367
  const companion = Companion_getInstancec1c8yhxwuclv();
21306
21368
  invoiceDate = companion.gp(invoiceDate);
21307
21369
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -21313,6 +21375,8 @@ function CreateAdHocInvoiceLineCommand(account, amount, description, dueDate, in
21313
21375
  organizationId = ('organizationId' in props ? props.organizationId : VOID);
21314
21376
  periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
21315
21377
  if (typeof periodEnd === 'string') {
21378
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodEnd)) periodEnd += ':00Z';
21379
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodEnd)) periodEnd += 'Z';
21316
21380
  const companion = Companion_getInstancec1c8yhxwuclv();
21317
21381
  periodEnd = companion.gp(periodEnd);
21318
21382
  } else if (periodEnd != null && typeof periodEnd === 'object' && typeof periodEnd.getTime === 'function') {
@@ -21321,6 +21385,8 @@ function CreateAdHocInvoiceLineCommand(account, amount, description, dueDate, in
21321
21385
  }
21322
21386
  periodStart = ('periodStart' in props ? props.periodStart : VOID);
21323
21387
  if (typeof periodStart === 'string') {
21388
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodStart)) periodStart += ':00Z';
21389
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodStart)) periodStart += 'Z';
21324
21390
  const companion = Companion_getInstancec1c8yhxwuclv();
21325
21391
  periodStart = companion.gp(periodStart);
21326
21392
  } else if (periodStart != null && typeof periodStart === 'object' && typeof periodStart.getTime === 'function') {
@@ -21791,6 +21857,8 @@ function CreateAttendanceCommand(validFrom, validTo) {
21791
21857
  const props = validFrom;
21792
21858
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
21793
21859
  if (typeof validFrom === 'string') {
21860
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
21861
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
21794
21862
  const companion = Companion_getInstancec1c8yhxwuclv();
21795
21863
  validFrom = companion.gp(validFrom);
21796
21864
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -21799,6 +21867,8 @@ function CreateAttendanceCommand(validFrom, validTo) {
21799
21867
  }
21800
21868
  validTo = ('validTo' in props ? props.validTo : VOID);
21801
21869
  if (typeof validTo === 'string') {
21870
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
21871
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
21802
21872
  const companion = Companion_getInstancec1c8yhxwuclv();
21803
21873
  validTo = companion.gp(validTo);
21804
21874
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -25853,6 +25923,8 @@ function CreateInsuranceCommand(policyNumber, premium, startDate, supplierId) {
25853
25923
  premium = ('premium' in props ? props.premium : VOID);
25854
25924
  startDate = ('startDate' in props ? props.startDate : VOID);
25855
25925
  if (typeof startDate === 'string') {
25926
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startDate)) startDate += ':00Z';
25927
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startDate)) startDate += 'Z';
25856
25928
  const companion = Companion_getInstancec1c8yhxwuclv();
25857
25929
  startDate = companion.gp(startDate);
25858
25930
  } else if (startDate != null && typeof startDate === 'object' && typeof startDate.getTime === 'function') {
@@ -27027,6 +27099,8 @@ function CreateInvoicePlanLineCommand(account, amount, description, distribution
27027
27099
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
27028
27100
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
27029
27101
  if (typeof validFrom === 'string') {
27102
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
27103
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
27030
27104
  const companion = Companion_getInstancec1c8yhxwuclv();
27031
27105
  validFrom = companion.gp(validFrom);
27032
27106
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -27035,6 +27109,8 @@ function CreateInvoicePlanLineCommand(account, amount, description, distribution
27035
27109
  }
27036
27110
  validTo = ('validTo' in props ? props.validTo : VOID);
27037
27111
  if (typeof validTo === 'string') {
27112
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
27113
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
27038
27114
  const companion = Companion_getInstancec1c8yhxwuclv();
27039
27115
  validTo = companion.gp(validTo);
27040
27116
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -27414,6 +27490,8 @@ function CreateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
27414
27490
  if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
27415
27491
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
27416
27492
  if (typeof oneTimeDate === 'string') {
27493
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
27494
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += 'Z';
27417
27495
  const companion = Companion_getInstancec1c8yhxwuclv();
27418
27496
  oneTimeDate = companion.gp(oneTimeDate);
27419
27497
  } else if (oneTimeDate != null && typeof oneTimeDate === 'object' && typeof oneTimeDate.getTime === 'function') {
@@ -27424,6 +27502,8 @@ function CreateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
27424
27502
  produceAsClaims = ('produceAsClaims' in props ? props.produceAsClaims : VOID);
27425
27503
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
27426
27504
  if (typeof validFrom === 'string') {
27505
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
27506
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
27427
27507
  const companion = Companion_getInstancec1c8yhxwuclv();
27428
27508
  validFrom = companion.gp(validFrom);
27429
27509
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -27432,6 +27512,8 @@ function CreateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
27432
27512
  }
27433
27513
  validTo = ('validTo' in props ? props.validTo : VOID);
27434
27514
  if (typeof validTo === 'string') {
27515
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
27516
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
27435
27517
  const companion = Companion_getInstancec1c8yhxwuclv();
27436
27518
  validTo = companion.gp(validTo);
27437
27519
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -28213,6 +28295,8 @@ function CreateLoanCommand(completesAt, inAgreement, initialSum, interest, loanN
28213
28295
  const props = completesAt;
28214
28296
  completesAt = ('completesAt' in props ? props.completesAt : VOID);
28215
28297
  if (typeof completesAt === 'string') {
28298
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completesAt)) completesAt += ':00Z';
28299
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completesAt)) completesAt += 'Z';
28216
28300
  const companion = Companion_getInstancec1c8yhxwuclv();
28217
28301
  completesAt = companion.gp(completesAt);
28218
28302
  } else if (completesAt != null && typeof completesAt === 'object' && typeof completesAt.getTime === 'function') {
@@ -28225,6 +28309,8 @@ function CreateLoanCommand(completesAt, inAgreement, initialSum, interest, loanN
28225
28309
  loanNumber = ('loanNumber' in props ? props.loanNumber : VOID);
28226
28310
  raisedAt = ('raisedAt' in props ? props.raisedAt : VOID);
28227
28311
  if (typeof raisedAt === 'string') {
28312
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(raisedAt)) raisedAt += ':00Z';
28313
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(raisedAt)) raisedAt += 'Z';
28228
28314
  const companion = Companion_getInstancec1c8yhxwuclv();
28229
28315
  raisedAt = companion.gp(raisedAt);
28230
28316
  } else if (raisedAt != null && typeof raisedAt === 'object' && typeof raisedAt.getTime === 'function') {
@@ -28651,6 +28737,8 @@ function CreateMeetingCommand(location, plannedEndAt, plannedStartAt, title) {
28651
28737
  location = ('location' in props ? props.location : VOID);
28652
28738
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
28653
28739
  if (typeof plannedEndAt === 'string') {
28740
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += ':00Z';
28741
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += 'Z';
28654
28742
  const companion = Companion_getInstancec1c8yhxwuclv();
28655
28743
  plannedEndAt = companion.gp(plannedEndAt);
28656
28744
  } else if (plannedEndAt != null && typeof plannedEndAt === 'object' && typeof plannedEndAt.getTime === 'function') {
@@ -28659,6 +28747,8 @@ function CreateMeetingCommand(location, plannedEndAt, plannedStartAt, title) {
28659
28747
  }
28660
28748
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
28661
28749
  if (typeof plannedStartAt === 'string') {
28750
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += ':00Z';
28751
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += 'Z';
28662
28752
  const companion = Companion_getInstancec1c8yhxwuclv();
28663
28753
  plannedStartAt = companion.gp(plannedStartAt);
28664
28754
  } else if (plannedStartAt != null && typeof plannedStartAt === 'object' && typeof plannedStartAt.getTime === 'function') {
@@ -29409,6 +29499,8 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
29409
29499
  publish = ('publish' in props ? props.publish : VOID);
29410
29500
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
29411
29501
  if (typeof publishedAt === 'string') {
29502
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
29503
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
29412
29504
  const companion = Companion_getInstancec1c8yhxwuclv();
29413
29505
  publishedAt = companion.gp(publishedAt);
29414
29506
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -30271,6 +30363,8 @@ function CreateOrganizationResidentCommand(accountNumber, invoiceRecipient, nati
30271
30363
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
30272
30364
  residencyStartedAt = ('residencyStartedAt' in props ? props.residencyStartedAt : VOID);
30273
30365
  if (typeof residencyStartedAt === 'string') {
30366
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += ':00Z';
30367
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += 'Z';
30274
30368
  const companion = Companion_getInstancec1c8yhxwuclv();
30275
30369
  residencyStartedAt = companion.gp(residencyStartedAt);
30276
30370
  } else if (residencyStartedAt != null && typeof residencyStartedAt === 'object' && typeof residencyStartedAt.getTime === 'function') {
@@ -32291,6 +32385,8 @@ function CreatePersonResidentCommand(accountNumber, invoiceRecipient, nationalit
32291
32385
  preferredLanguage = ('preferredLanguage' in props ? props.preferredLanguage : VOID);
32292
32386
  residencyStartedAt = ('residencyStartedAt' in props ? props.residencyStartedAt : VOID);
32293
32387
  if (typeof residencyStartedAt === 'string') {
32388
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += ':00Z';
32389
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += 'Z';
32294
32390
  const companion = Companion_getInstancec1c8yhxwuclv();
32295
32391
  residencyStartedAt = companion.gp(residencyStartedAt);
32296
32392
  } else if (residencyStartedAt != null && typeof residencyStartedAt === 'object' && typeof residencyStartedAt.getTime === 'function') {
@@ -32720,6 +32816,8 @@ function CreatePostCommand(content, notificationEmailGroups, notificationSMSGrou
32720
32816
  private_0 = ('private' in props ? props.private : VOID);
32721
32817
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
32722
32818
  if (typeof publishedAt === 'string') {
32819
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
32820
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
32723
32821
  const companion = Companion_getInstancec1c8yhxwuclv();
32724
32822
  publishedAt = companion.gp(publishedAt);
32725
32823
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -33360,6 +33458,8 @@ function CreateRoutineCommand(description, draftId, dueDateOffset, recommendedIn
33360
33458
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
33361
33459
  startDate = ('startDate' in props ? props.startDate : VOID);
33362
33460
  if (typeof startDate === 'string') {
33461
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startDate)) startDate += ':00Z';
33462
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startDate)) startDate += 'Z';
33363
33463
  const companion = Companion_getInstancec1c8yhxwuclv();
33364
33464
  startDate = companion.gp(startDate);
33365
33465
  } else if (startDate != null && typeof startDate === 'object' && typeof startDate.getTime === 'function') {
@@ -33712,6 +33812,8 @@ function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
33712
33812
  publish = ('publish' in props ? props.publish : VOID);
33713
33813
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
33714
33814
  if (typeof publishedAt === 'string') {
33815
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
33816
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
33715
33817
  const companion = Companion_getInstancec1c8yhxwuclv();
33716
33818
  publishedAt = companion.gp(publishedAt);
33717
33819
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -35641,6 +35743,8 @@ function CreateSettlementProviderConfigurationCommand(active, closedAt, endDate,
35641
35743
  active = ('active' in props ? props.active : VOID);
35642
35744
  closedAt = ('closedAt' in props ? props.closedAt : VOID);
35643
35745
  if (typeof closedAt === 'string') {
35746
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(closedAt)) closedAt += ':00Z';
35747
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(closedAt)) closedAt += 'Z';
35644
35748
  const companion = Companion_getInstancec1c8yhxwuclv();
35645
35749
  closedAt = companion.gp(closedAt);
35646
35750
  } else if (closedAt != null && typeof closedAt === 'object' && typeof closedAt.getTime === 'function') {
@@ -37197,6 +37301,8 @@ function CreateTaskCommand(description, dueDate, intervalStart, intervalType, in
37197
37301
  description = ('description' in props ? props.description : VOID);
37198
37302
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
37199
37303
  if (typeof dueDate === 'string') {
37304
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
37305
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
37200
37306
  const companion = Companion_getInstancec1c8yhxwuclv();
37201
37307
  dueDate = companion.gp(dueDate);
37202
37308
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -37205,6 +37311,8 @@ function CreateTaskCommand(description, dueDate, intervalStart, intervalType, in
37205
37311
  }
37206
37312
  intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
37207
37313
  if (typeof intervalStart === 'string') {
37314
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(intervalStart)) intervalStart += ':00Z';
37315
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(intervalStart)) intervalStart += 'Z';
37208
37316
  const companion = Companion_getInstancec1c8yhxwuclv();
37209
37317
  intervalStart = companion.gp(intervalStart);
37210
37318
  } else if (intervalStart != null && typeof intervalStart === 'object' && typeof intervalStart.getTime === 'function') {
@@ -37760,6 +37868,8 @@ function CreditInvoiceCommand(description, lineGroups, lines, overrideCreditDate
37760
37868
  }
37761
37869
  overrideCreditDate = ('overrideCreditDate' in props ? props.overrideCreditDate : VOID);
37762
37870
  if (typeof overrideCreditDate === 'string') {
37871
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(overrideCreditDate)) overrideCreditDate += ':00Z';
37872
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(overrideCreditDate)) overrideCreditDate += 'Z';
37763
37873
  const companion = Companion_getInstancec1c8yhxwuclv();
37764
37874
  overrideCreditDate = companion.gp(overrideCreditDate);
37765
37875
  } else if (overrideCreditDate != null && typeof overrideCreditDate === 'object' && typeof overrideCreditDate.getTime === 'function') {
@@ -38119,6 +38229,8 @@ function CustomerComment(content, createdAt, createdBy, id, organizationId, pers
38119
38229
  content = ('content' in props ? props.content : VOID);
38120
38230
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
38121
38231
  if (typeof createdAt === 'string') {
38232
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
38233
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
38122
38234
  const companion = Companion_getInstancec1c8yhxwuclv();
38123
38235
  createdAt = companion.gp(createdAt);
38124
38236
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -40378,6 +40490,8 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
40378
40490
  companyId = ('companyId' in props ? props.companyId : VOID);
40379
40491
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
40380
40492
  if (typeof createdAt === 'string') {
40493
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
40494
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
40381
40495
  const companion = Companion_getInstancec1c8yhxwuclv();
40382
40496
  createdAt = companion.gp(createdAt);
40383
40497
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -40388,6 +40502,8 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
40388
40502
  createdByName = ('createdByName' in props ? props.createdByName : VOID);
40389
40503
  deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
40390
40504
  if (typeof deletedAt === 'string') {
40505
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(deletedAt)) deletedAt += ':00Z';
40506
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(deletedAt)) deletedAt += 'Z';
40391
40507
  const companion = Companion_getInstancec1c8yhxwuclv();
40392
40508
  deletedAt = companion.gp(deletedAt);
40393
40509
  } else if (deletedAt != null && typeof deletedAt === 'object' && typeof deletedAt.getTime === 'function') {
@@ -40408,6 +40524,8 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
40408
40524
  if (typeof type === 'object' && type !== null && !(type instanceof DocumentType)) type = new DocumentType(type);
40409
40525
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
40410
40526
  if (typeof updatedAt === 'string') {
40527
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
40528
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
40411
40529
  const companion = Companion_getInstancec1c8yhxwuclv();
40412
40530
  updatedAt = companion.gp(updatedAt);
40413
40531
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -41561,6 +41679,8 @@ function EconomicReport(companyId, departmentDocumentEnabled, departmentDocument
41561
41679
  id = ('id' in props ? props.id : VOID);
41562
41680
  orderedAt = ('orderedAt' in props ? props.orderedAt : VOID);
41563
41681
  if (typeof orderedAt === 'string') {
41682
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(orderedAt)) orderedAt += ':00Z';
41683
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(orderedAt)) orderedAt += 'Z';
41564
41684
  const companion = Companion_getInstancec1c8yhxwuclv();
41565
41685
  orderedAt = companion.gp(orderedAt);
41566
41686
  } else if (orderedAt != null && typeof orderedAt === 'object' && typeof orderedAt.getTime === 'function') {
@@ -42102,6 +42222,8 @@ function EditResidencyCommand(roleType, sectionId, validFrom, validTo) {
42102
42222
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
42103
42223
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
42104
42224
  if (typeof validFrom === 'string') {
42225
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
42226
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
42105
42227
  const companion = Companion_getInstancec1c8yhxwuclv();
42106
42228
  validFrom = companion.gp(validFrom);
42107
42229
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -42110,6 +42232,8 @@ function EditResidencyCommand(roleType, sectionId, validFrom, validTo) {
42110
42232
  }
42111
42233
  validTo = ('validTo' in props ? props.validTo : VOID);
42112
42234
  if (typeof validTo === 'string') {
42235
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
42236
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
42113
42237
  const companion = Companion_getInstancec1c8yhxwuclv();
42114
42238
  validTo = companion.gp(validTo);
42115
42239
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -42741,6 +42865,8 @@ function Expense(account, amount, createdAt, createdBy, dateOfPurchase, descript
42741
42865
  amount = ('amount' in props ? props.amount : VOID);
42742
42866
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
42743
42867
  if (typeof createdAt === 'string') {
42868
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
42869
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
42744
42870
  const companion = Companion_getInstancec1c8yhxwuclv();
42745
42871
  createdAt = companion.gp(createdAt);
42746
42872
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -43176,6 +43302,8 @@ function ExpenseProcessing(performedAt, performedBy, performedById, rejectionRea
43176
43302
  const props = performedAt;
43177
43303
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
43178
43304
  if (typeof performedAt === 'string') {
43305
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
43306
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(performedAt)) performedAt += 'Z';
43179
43307
  const companion = Companion_getInstancec1c8yhxwuclv();
43180
43308
  performedAt = companion.gp(performedAt);
43181
43309
  } else if (performedAt != null && typeof performedAt === 'object' && typeof performedAt.getTime === 'function') {
@@ -50582,6 +50710,8 @@ function GlobalPreviewUpcoming(dueDate, id, invoiceCount, invoiceDate, name) {
50582
50710
  const props = dueDate;
50583
50711
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
50584
50712
  if (typeof dueDate === 'string') {
50713
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
50714
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
50585
50715
  const companion = Companion_getInstancec1c8yhxwuclv();
50586
50716
  dueDate = companion.gp(dueDate);
50587
50717
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -50592,6 +50722,8 @@ function GlobalPreviewUpcoming(dueDate, id, invoiceCount, invoiceDate, name) {
50592
50722
  invoiceCount = ('invoiceCount' in props ? props.invoiceCount : VOID);
50593
50723
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
50594
50724
  if (typeof invoiceDate === 'string') {
50725
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
50726
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
50595
50727
  const companion = Companion_getInstancec1c8yhxwuclv();
50596
50728
  invoiceDate = companion.gp(invoiceDate);
50597
50729
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -51444,6 +51576,8 @@ function Innsending(altinnreferanse, forsendelseid, innsender, innsendingstidspu
51444
51576
  if (typeof innsender === 'object' && innsender !== null && !(innsender instanceof Innsender)) innsender = new Innsender(innsender);
51445
51577
  innsendingstidspunkt = ('innsendingstidspunkt' in props ? props.innsendingstidspunkt : VOID);
51446
51578
  if (typeof innsendingstidspunkt === 'string') {
51579
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(innsendingstidspunkt)) innsendingstidspunkt += ':00Z';
51580
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(innsendingstidspunkt)) innsendingstidspunkt += 'Z';
51447
51581
  const companion = Companion_getInstancec1c8yhxwuclv();
51448
51582
  innsendingstidspunkt = companion.gp(innsendingstidspunkt);
51449
51583
  } else if (innsendingstidspunkt != null && typeof innsendingstidspunkt === 'object' && typeof innsendingstidspunkt.getTime === 'function') {
@@ -51896,6 +52030,8 @@ function Insurance(agreementDocumentId, companyId, endDate, id, policyNumber, pr
51896
52030
  companyId = ('companyId' in props ? props.companyId : VOID);
51897
52031
  endDate = ('endDate' in props ? props.endDate : VOID);
51898
52032
  if (typeof endDate === 'string') {
52033
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(endDate)) endDate += ':00Z';
52034
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(endDate)) endDate += 'Z';
51899
52035
  const companion = Companion_getInstancec1c8yhxwuclv();
51900
52036
  endDate = companion.gp(endDate);
51901
52037
  } else if (endDate != null && typeof endDate === 'object' && typeof endDate.getTime === 'function') {
@@ -51907,6 +52043,8 @@ function Insurance(agreementDocumentId, companyId, endDate, id, policyNumber, pr
51907
52043
  premium = ('premium' in props ? props.premium : VOID);
51908
52044
  startDate = ('startDate' in props ? props.startDate : VOID);
51909
52045
  if (typeof startDate === 'string') {
52046
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startDate)) startDate += ':00Z';
52047
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startDate)) startDate += 'Z';
51910
52048
  const companion = Companion_getInstancec1c8yhxwuclv();
51911
52049
  startDate = companion.gp(startDate);
51912
52050
  } else if (startDate != null && typeof startDate === 'object' && typeof startDate.getTime === 'function') {
@@ -55360,6 +55498,8 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
55360
55498
  companyId = ('companyId' in props ? props.companyId : VOID);
55361
55499
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
55362
55500
  if (typeof createdAt === 'string') {
55501
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
55502
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
55363
55503
  const companion = Companion_getInstancec1c8yhxwuclv();
55364
55504
  createdAt = companion.gp(createdAt);
55365
55505
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -55381,6 +55521,8 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
55381
55521
  name = ('name' in props ? props.name : VOID);
55382
55522
  nextPreview = ('nextPreview' in props ? props.nextPreview : VOID);
55383
55523
  if (typeof nextPreview === 'string') {
55524
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(nextPreview)) nextPreview += ':00Z';
55525
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(nextPreview)) nextPreview += 'Z';
55384
55526
  const companion = Companion_getInstancec1c8yhxwuclv();
55385
55527
  nextPreview = companion.gp(nextPreview);
55386
55528
  } else if (nextPreview != null && typeof nextPreview === 'object' && typeof nextPreview.getTime === 'function') {
@@ -55403,6 +55545,8 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
55403
55545
  if (typeof type === 'object' && type !== null && !(type instanceof InvoicePlanType)) type = new InvoicePlanType(type);
55404
55546
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
55405
55547
  if (typeof updatedAt === 'string') {
55548
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
55549
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
55406
55550
  const companion = Companion_getInstancec1c8yhxwuclv();
55407
55551
  updatedAt = companion.gp(updatedAt);
55408
55552
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -55778,6 +55922,8 @@ function InvoicePlanDistribution(createdAt, createdBy, description, fractions, i
55778
55922
  const props = createdAt;
55779
55923
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
55780
55924
  if (typeof createdAt === 'string') {
55925
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
55926
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
55781
55927
  const companion = Companion_getInstancec1c8yhxwuclv();
55782
55928
  createdAt = companion.gp(createdAt);
55783
55929
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -56408,6 +56554,8 @@ function InvoicePlanLineRevision(account, amount, createdAt, createdBy, descript
56408
56554
  amount = ('amount' in props ? props.amount : VOID);
56409
56555
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
56410
56556
  if (typeof createdAt === 'string') {
56557
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
56558
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
56411
56559
  const companion = Companion_getInstancec1c8yhxwuclv();
56412
56560
  createdAt = companion.gp(createdAt);
56413
56561
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -56421,6 +56569,8 @@ function InvoicePlanLineRevision(account, amount, createdAt, createdBy, descript
56421
56569
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
56422
56570
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
56423
56571
  if (typeof validFrom === 'string') {
56572
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
56573
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
56424
56574
  const companion = Companion_getInstancec1c8yhxwuclv();
56425
56575
  validFrom = companion.gp(validFrom);
56426
56576
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -56429,6 +56579,8 @@ function InvoicePlanLineRevision(account, amount, createdAt, createdBy, descript
56429
56579
  }
56430
56580
  validTo = ('validTo' in props ? props.validTo : VOID);
56431
56581
  if (typeof validTo === 'string') {
56582
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
56583
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
56432
56584
  const companion = Companion_getInstancec1c8yhxwuclv();
56433
56585
  validTo = companion.gp(validTo);
56434
56586
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -57056,6 +57208,8 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
57056
57208
  const props = createdAt;
57057
57209
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
57058
57210
  if (typeof createdAt === 'string') {
57211
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
57212
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
57059
57213
  const companion = Companion_getInstancec1c8yhxwuclv();
57060
57214
  createdAt = companion.gp(createdAt);
57061
57215
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -57072,6 +57226,8 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
57072
57226
  if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
57073
57227
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
57074
57228
  if (typeof oneTimeDate === 'string') {
57229
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
57230
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += 'Z';
57075
57231
  const companion = Companion_getInstancec1c8yhxwuclv();
57076
57232
  oneTimeDate = companion.gp(oneTimeDate);
57077
57233
  } else if (oneTimeDate != null && typeof oneTimeDate === 'object' && typeof oneTimeDate.getTime === 'function') {
@@ -57081,6 +57237,8 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
57081
57237
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
57082
57238
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
57083
57239
  if (typeof validFrom === 'string') {
57240
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
57241
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
57084
57242
  const companion = Companion_getInstancec1c8yhxwuclv();
57085
57243
  validFrom = companion.gp(validFrom);
57086
57244
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -57089,6 +57247,8 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
57089
57247
  }
57090
57248
  validTo = ('validTo' in props ? props.validTo : VOID);
57091
57249
  if (typeof validTo === 'string') {
57250
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
57251
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
57092
57252
  const companion = Companion_getInstancec1c8yhxwuclv();
57093
57253
  validTo = companion.gp(validTo);
57094
57254
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -57340,6 +57500,8 @@ function InvoicePlanTransaction(createdAt, id, overdueEnabled) {
57340
57500
  const props = createdAt;
57341
57501
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
57342
57502
  if (typeof createdAt === 'string') {
57503
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
57504
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
57343
57505
  const companion = Companion_getInstancec1c8yhxwuclv();
57344
57506
  createdAt = companion.gp(createdAt);
57345
57507
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -57680,6 +57842,8 @@ function InvoicePreview(boligNr, dueDate, invoiceDate, lineGroups, lines, payer,
57680
57842
  boligNr = ('boligNr' in props ? props.boligNr : VOID);
57681
57843
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
57682
57844
  if (typeof dueDate === 'string') {
57845
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
57846
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
57683
57847
  const companion = Companion_getInstancec1c8yhxwuclv();
57684
57848
  dueDate = companion.gp(dueDate);
57685
57849
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -57688,6 +57852,8 @@ function InvoicePreview(boligNr, dueDate, invoiceDate, lineGroups, lines, payer,
57688
57852
  }
57689
57853
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
57690
57854
  if (typeof invoiceDate === 'string') {
57855
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
57856
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
57691
57857
  const companion = Companion_getInstancec1c8yhxwuclv();
57692
57858
  invoiceDate = companion.gp(invoiceDate);
57693
57859
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -61262,6 +61428,8 @@ function Issue(companyId, description, id, lastResolution, meetingAt, meetingId,
61262
61428
  lastResolution = ('lastResolution' in props ? props.lastResolution : VOID);
61263
61429
  meetingAt = ('meetingAt' in props ? props.meetingAt : VOID);
61264
61430
  if (typeof meetingAt === 'string') {
61431
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(meetingAt)) meetingAt += ':00Z';
61432
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(meetingAt)) meetingAt += 'Z';
61265
61433
  const companion = Companion_getInstancec1c8yhxwuclv();
61266
61434
  meetingAt = companion.gp(meetingAt);
61267
61435
  } else if (meetingAt != null && typeof meetingAt === 'object' && typeof meetingAt.getTime === 'function') {
@@ -61581,6 +61749,8 @@ function IssueComment(content, createdAt, createdBy, emoticon, id) {
61581
61749
  content = ('content' in props ? props.content : VOID);
61582
61750
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
61583
61751
  if (typeof createdAt === 'string') {
61752
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
61753
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
61584
61754
  const companion = Companion_getInstancec1c8yhxwuclv();
61585
61755
  createdAt = companion.gp(createdAt);
61586
61756
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -62019,6 +62189,8 @@ function IssueDetails(comments, companyId, conversationIds, createdAt, createdBy
62019
62189
  conversationIds = ('conversationIds' in props ? props.conversationIds : VOID);
62020
62190
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
62021
62191
  if (typeof createdAt === 'string') {
62192
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
62193
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
62022
62194
  const companion = Companion_getInstancec1c8yhxwuclv();
62023
62195
  createdAt = companion.gp(createdAt);
62024
62196
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -62769,6 +62941,8 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
62769
62941
  const props = attachedToMeetingAt;
62770
62942
  attachedToMeetingAt = ('attachedToMeetingAt' in props ? props.attachedToMeetingAt : VOID);
62771
62943
  if (typeof attachedToMeetingAt === 'string') {
62944
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(attachedToMeetingAt)) attachedToMeetingAt += ':00Z';
62945
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(attachedToMeetingAt)) attachedToMeetingAt += 'Z';
62772
62946
  const companion = Companion_getInstancec1c8yhxwuclv();
62773
62947
  attachedToMeetingAt = companion.gp(attachedToMeetingAt);
62774
62948
  } else if (attachedToMeetingAt != null && typeof attachedToMeetingAt === 'object' && typeof attachedToMeetingAt.getTime === 'function') {
@@ -62784,6 +62958,8 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
62784
62958
  }
62785
62959
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
62786
62960
  if (typeof createdAt === 'string') {
62961
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
62962
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
62787
62963
  const companion = Companion_getInstancec1c8yhxwuclv();
62788
62964
  createdAt = companion.gp(createdAt);
62789
62965
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -62813,6 +62989,8 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
62813
62989
  title = ('title' in props ? props.title : VOID);
62814
62990
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
62815
62991
  if (typeof updatedAt === 'string') {
62992
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
62993
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
62816
62994
  const companion = Companion_getInstancec1c8yhxwuclv();
62817
62995
  updatedAt = companion.gp(updatedAt);
62818
62996
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -63657,6 +63835,8 @@ function IssueProcessing(description, meetingEndedAt, meetingId, meetingStartedA
63657
63835
  description = ('description' in props ? props.description : VOID);
63658
63836
  meetingEndedAt = ('meetingEndedAt' in props ? props.meetingEndedAt : VOID);
63659
63837
  if (typeof meetingEndedAt === 'string') {
63838
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(meetingEndedAt)) meetingEndedAt += ':00Z';
63839
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(meetingEndedAt)) meetingEndedAt += 'Z';
63660
63840
  const companion = Companion_getInstancec1c8yhxwuclv();
63661
63841
  meetingEndedAt = companion.gp(meetingEndedAt);
63662
63842
  } else if (meetingEndedAt != null && typeof meetingEndedAt === 'object' && typeof meetingEndedAt.getTime === 'function') {
@@ -63666,6 +63846,8 @@ function IssueProcessing(description, meetingEndedAt, meetingId, meetingStartedA
63666
63846
  meetingId = ('meetingId' in props ? props.meetingId : VOID);
63667
63847
  meetingStartedAt = ('meetingStartedAt' in props ? props.meetingStartedAt : VOID);
63668
63848
  if (typeof meetingStartedAt === 'string') {
63849
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(meetingStartedAt)) meetingStartedAt += ':00Z';
63850
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(meetingStartedAt)) meetingStartedAt += 'Z';
63669
63851
  const companion = Companion_getInstancec1c8yhxwuclv();
63670
63852
  meetingStartedAt = companion.gp(meetingStartedAt);
63671
63853
  } else if (meetingStartedAt != null && typeof meetingStartedAt === 'object' && typeof meetingStartedAt.getTime === 'function') {
@@ -64264,6 +64446,8 @@ function KartverketResult(collectedAt, company) {
64264
64446
  const props = collectedAt;
64265
64447
  collectedAt = ('collectedAt' in props ? props.collectedAt : VOID);
64266
64448
  if (typeof collectedAt === 'string') {
64449
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(collectedAt)) collectedAt += ':00Z';
64450
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(collectedAt)) collectedAt += 'Z';
64267
64451
  const companion = Companion_getInstancec1c8yhxwuclv();
64268
64452
  collectedAt = companion.gp(collectedAt);
64269
64453
  } else if (collectedAt != null && typeof collectedAt === 'object' && typeof collectedAt.getTime === 'function') {
@@ -65333,6 +65517,8 @@ function Leveranseoppsummering(antallAvvisteOppgaver, antallAvvisteSletteoppgave
65333
65517
  antallSletteoppgaver = ('antallSletteoppgaver' in props ? props.antallSletteoppgaver : VOID);
65334
65518
  behandletTidspunkt = ('behandletTidspunkt' in props ? props.behandletTidspunkt : VOID);
65335
65519
  if (typeof behandletTidspunkt === 'string') {
65520
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(behandletTidspunkt)) behandletTidspunkt += ':00Z';
65521
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(behandletTidspunkt)) behandletTidspunkt += 'Z';
65336
65522
  const companion = Companion_getInstancec1c8yhxwuclv();
65337
65523
  behandletTidspunkt = companion.gp(behandletTidspunkt);
65338
65524
  } else if (behandletTidspunkt != null && typeof behandletTidspunkt === 'object' && typeof behandletTidspunkt.getTime === 'function') {
@@ -65709,6 +65895,8 @@ function Loan(agreementDocumentId, companyId, endDate, id, inAgreement, initialS
65709
65895
  companyId = ('companyId' in props ? props.companyId : VOID);
65710
65896
  endDate = ('endDate' in props ? props.endDate : VOID);
65711
65897
  if (typeof endDate === 'string') {
65898
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(endDate)) endDate += ':00Z';
65899
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(endDate)) endDate += 'Z';
65712
65900
  const companion = Companion_getInstancec1c8yhxwuclv();
65713
65901
  endDate = companion.gp(endDate);
65714
65902
  } else if (endDate != null && typeof endDate === 'object' && typeof endDate.getTime === 'function') {
@@ -65724,6 +65912,8 @@ function Loan(agreementDocumentId, companyId, endDate, id, inAgreement, initialS
65724
65912
  remainingSum = ('remainingSum' in props ? props.remainingSum : VOID);
65725
65913
  startDate = ('startDate' in props ? props.startDate : VOID);
65726
65914
  if (typeof startDate === 'string') {
65915
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startDate)) startDate += ':00Z';
65916
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startDate)) startDate += 'Z';
65727
65917
  const companion = Companion_getInstancec1c8yhxwuclv();
65728
65918
  startDate = companion.gp(startDate);
65729
65919
  } else if (startDate != null && typeof startDate === 'object' && typeof startDate.getTime === 'function') {
@@ -66090,6 +66280,8 @@ function LoanLog(change, id, loanId, new_0, old, performedAt, performedBy, perfo
66090
66280
  old = ('old' in props ? props.old : VOID);
66091
66281
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
66092
66282
  if (typeof performedAt === 'string') {
66283
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
66284
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(performedAt)) performedAt += 'Z';
66093
66285
  const companion = Companion_getInstancec1c8yhxwuclv();
66094
66286
  performedAt = companion.gp(performedAt);
66095
66287
  } else if (performedAt != null && typeof performedAt === 'object' && typeof performedAt.getTime === 'function') {
@@ -66100,6 +66292,8 @@ function LoanLog(change, id, loanId, new_0, old, performedAt, performedBy, perfo
66100
66292
  performedByName = ('performedByName' in props ? props.performedByName : VOID);
66101
66293
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
66102
66294
  if (typeof validFrom === 'string') {
66295
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
66296
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
66103
66297
  const companion = Companion_getInstancec1c8yhxwuclv();
66104
66298
  validFrom = companion.gp(validFrom);
66105
66299
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -68194,6 +68388,8 @@ function MassUpdateFractionsCommand(fractionType, fractions, validFrom) {
68194
68388
  fractions = ('fractions' in props ? props.fractions : VOID);
68195
68389
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
68196
68390
  if (typeof validFrom === 'string') {
68391
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
68392
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
68197
68393
  const companion = Companion_getInstancec1c8yhxwuclv();
68198
68394
  validFrom = companion.gp(validFrom);
68199
68395
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -68831,6 +69027,8 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
68831
69027
  const props = actualEndAt;
68832
69028
  actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
68833
69029
  if (typeof actualEndAt === 'string') {
69030
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += ':00Z';
69031
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += 'Z';
68834
69032
  const companion = Companion_getInstancec1c8yhxwuclv();
68835
69033
  actualEndAt = companion.gp(actualEndAt);
68836
69034
  } else if (actualEndAt != null && typeof actualEndAt === 'object' && typeof actualEndAt.getTime === 'function') {
@@ -68839,6 +69037,8 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
68839
69037
  }
68840
69038
  actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
68841
69039
  if (typeof actualStartAt === 'string') {
69040
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += ':00Z';
69041
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += 'Z';
68842
69042
  const companion = Companion_getInstancec1c8yhxwuclv();
68843
69043
  actualStartAt = companion.gp(actualStartAt);
68844
69044
  } else if (actualStartAt != null && typeof actualStartAt === 'object' && typeof actualStartAt.getTime === 'function') {
@@ -68861,6 +69061,8 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
68861
69061
  }
68862
69062
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
68863
69063
  if (typeof plannedEndAt === 'string') {
69064
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += ':00Z';
69065
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += 'Z';
68864
69066
  const companion = Companion_getInstancec1c8yhxwuclv();
68865
69067
  plannedEndAt = companion.gp(plannedEndAt);
68866
69068
  } else if (plannedEndAt != null && typeof plannedEndAt === 'object' && typeof plannedEndAt.getTime === 'function') {
@@ -68869,6 +69071,8 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
68869
69071
  }
68870
69072
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
68871
69073
  if (typeof plannedStartAt === 'string') {
69074
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += ':00Z';
69075
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += 'Z';
68872
69076
  const companion = Companion_getInstancec1c8yhxwuclv();
68873
69077
  plannedStartAt = companion.gp(plannedStartAt);
68874
69078
  } else if (plannedStartAt != null && typeof plannedStartAt === 'object' && typeof plannedStartAt.getTime === 'function') {
@@ -69331,6 +69535,8 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
69331
69535
  const props = actualEndAt;
69332
69536
  actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
69333
69537
  if (typeof actualEndAt === 'string') {
69538
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += ':00Z';
69539
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += 'Z';
69334
69540
  const companion = Companion_getInstancec1c8yhxwuclv();
69335
69541
  actualEndAt = companion.gp(actualEndAt);
69336
69542
  } else if (actualEndAt != null && typeof actualEndAt === 'object' && typeof actualEndAt.getTime === 'function') {
@@ -69339,6 +69545,8 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
69339
69545
  }
69340
69546
  actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
69341
69547
  if (typeof actualStartAt === 'string') {
69548
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += ':00Z';
69549
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += 'Z';
69342
69550
  const companion = Companion_getInstancec1c8yhxwuclv();
69343
69551
  actualStartAt = companion.gp(actualStartAt);
69344
69552
  } else if (actualStartAt != null && typeof actualStartAt === 'object' && typeof actualStartAt.getTime === 'function') {
@@ -69366,6 +69574,8 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
69366
69574
  }
69367
69575
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
69368
69576
  if (typeof plannedEndAt === 'string') {
69577
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += ':00Z';
69578
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += 'Z';
69369
69579
  const companion = Companion_getInstancec1c8yhxwuclv();
69370
69580
  plannedEndAt = companion.gp(plannedEndAt);
69371
69581
  } else if (plannedEndAt != null && typeof plannedEndAt === 'object' && typeof plannedEndAt.getTime === 'function') {
@@ -69374,6 +69584,8 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
69374
69584
  }
69375
69585
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
69376
69586
  if (typeof plannedStartAt === 'string') {
69587
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += ':00Z';
69588
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += 'Z';
69377
69589
  const companion = Companion_getInstancec1c8yhxwuclv();
69378
69590
  plannedStartAt = companion.gp(plannedStartAt);
69379
69591
  } else if (plannedStartAt != null && typeof plannedStartAt === 'object' && typeof plannedStartAt.getTime === 'function') {
@@ -69821,6 +70033,8 @@ function MeetingParticipant(attended, email, id, isGuest, name, personId, pictur
69821
70033
  signatureUnobtainable = ('signatureUnobtainable' in props ? props.signatureUnobtainable : VOID);
69822
70034
  signedAt = ('signedAt' in props ? props.signedAt : VOID);
69823
70035
  if (typeof signedAt === 'string') {
70036
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(signedAt)) signedAt += ':00Z';
70037
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(signedAt)) signedAt += 'Z';
69824
70038
  const companion = Companion_getInstancec1c8yhxwuclv();
69825
70039
  signedAt = companion.gp(signedAt);
69826
70040
  } else if (signedAt != null && typeof signedAt === 'object' && typeof signedAt.getTime === 'function') {
@@ -70939,6 +71153,8 @@ function MessageInConversation(content, documents, emailContent, id, sentAt, sen
70939
71153
  id = ('id' in props ? props.id : VOID);
70940
71154
  sentAt = ('sentAt' in props ? props.sentAt : VOID);
70941
71155
  if (typeof sentAt === 'string') {
71156
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(sentAt)) sentAt += ':00Z';
71157
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(sentAt)) sentAt += 'Z';
70942
71158
  const companion = Companion_getInstancec1c8yhxwuclv();
70943
71159
  sentAt = companion.gp(sentAt);
70944
71160
  } else if (sentAt != null && typeof sentAt === 'object' && typeof sentAt.getTime === 'function') {
@@ -73078,6 +73294,8 @@ function Newsletter(attachments, directRecipients, htmlText, id, notificationGro
73078
73294
  plainText = ('plainText' in props ? props.plainText : VOID);
73079
73295
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
73080
73296
  if (typeof publishedAt === 'string') {
73297
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
73298
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
73081
73299
  const companion = Companion_getInstancec1c8yhxwuclv();
73082
73300
  publishedAt = companion.gp(publishedAt);
73083
73301
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -76081,6 +76299,8 @@ function OrganizationEmployee(companyContact, completeMobile, country, email, fa
76081
76299
  sectionContact = ('sectionContact' in props ? props.sectionContact : VOID);
76082
76300
  start = ('start' in props ? props.start : VOID);
76083
76301
  if (typeof start === 'string') {
76302
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(start)) start += ':00Z';
76303
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(start)) start += 'Z';
76084
76304
  const companion = Companion_getInstancec1c8yhxwuclv();
76085
76305
  start = companion.gp(start);
76086
76306
  } else if (start != null && typeof start === 'object' && typeof start.getTime === 'function') {
@@ -76089,6 +76309,8 @@ function OrganizationEmployee(companyContact, completeMobile, country, email, fa
76089
76309
  }
76090
76310
  stop = ('stop' in props ? props.stop : VOID);
76091
76311
  if (typeof stop === 'string') {
76312
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(stop)) stop += ':00Z';
76313
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(stop)) stop += 'Z';
76092
76314
  const companion = Companion_getInstancec1c8yhxwuclv();
76093
76315
  stop = companion.gp(stop);
76094
76316
  } else if (stop != null && typeof stop === 'object' && typeof stop.getTime === 'function') {
@@ -77715,6 +77937,8 @@ function OrganizationRoleInput(residenceNr, role, validFrom, validTo) {
77715
77937
  if (typeof role === 'object' && role !== null && !(role instanceof RoleType)) role = new RoleType(role);
77716
77938
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
77717
77939
  if (typeof validFrom === 'string') {
77940
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
77941
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
77718
77942
  const companion = Companion_getInstancec1c8yhxwuclv();
77719
77943
  validFrom = companion.gp(validFrom);
77720
77944
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -77723,6 +77947,8 @@ function OrganizationRoleInput(residenceNr, role, validFrom, validTo) {
77723
77947
  }
77724
77948
  validTo = ('validTo' in props ? props.validTo : VOID);
77725
77949
  if (typeof validTo === 'string') {
77950
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
77951
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
77726
77952
  const companion = Companion_getInstancec1c8yhxwuclv();
77727
77953
  validTo = companion.gp(validTo);
77728
77954
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -80310,6 +80536,8 @@ function OwnerChangeSectionCommand(amount, at, inIds, inNew, inNewOrgs, inOrgs,
80310
80536
  amount = ('amount' in props ? props.amount : VOID);
80311
80537
  at = ('at' in props ? props.at : VOID);
80312
80538
  if (typeof at === 'string') {
80539
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(at)) at += ':00Z';
80540
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(at)) at += 'Z';
80313
80541
  const companion = Companion_getInstancec1c8yhxwuclv();
80314
80542
  at = companion.gp(at);
80315
80543
  } else if (at != null && typeof at === 'object' && typeof at.getTime === 'function') {
@@ -80653,6 +80881,8 @@ function OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipi
80653
80881
  amount = ('amount' in props ? props.amount : VOID);
80654
80882
  changeAt = ('changeAt' in props ? props.changeAt : VOID);
80655
80883
  if (typeof changeAt === 'string') {
80884
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(changeAt)) changeAt += ':00Z';
80885
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(changeAt)) changeAt += 'Z';
80656
80886
  const companion = Companion_getInstancec1c8yhxwuclv();
80657
80887
  changeAt = companion.gp(changeAt);
80658
80888
  } else if (changeAt != null && typeof changeAt === 'object' && typeof changeAt.getTime === 'function') {
@@ -94440,6 +94670,8 @@ function ParkingSpaceOwnership(charger, id, identifier, note, parkingSpaceId, ty
94440
94670
  if (typeof type === 'object' && type !== null && !(type instanceof ParkingSpaceType)) type = new ParkingSpaceType(type);
94441
94671
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
94442
94672
  if (typeof validFrom === 'string') {
94673
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
94674
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
94443
94675
  const companion = Companion_getInstancec1c8yhxwuclv();
94444
94676
  validFrom = companion.gp(validFrom);
94445
94677
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -94448,6 +94680,8 @@ function ParkingSpaceOwnership(charger, id, identifier, note, parkingSpaceId, ty
94448
94680
  }
94449
94681
  validTo = ('validTo' in props ? props.validTo : VOID);
94450
94682
  if (typeof validTo === 'string') {
94683
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
94684
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
94451
94685
  const companion = Companion_getInstancec1c8yhxwuclv();
94452
94686
  validTo = companion.gp(validTo);
94453
94687
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -95741,6 +95975,8 @@ function PaymentHandling(handledAt, handledBy, id, invoiceId, paymentId, status,
95741
95975
  const props = handledAt;
95742
95976
  handledAt = ('handledAt' in props ? props.handledAt : VOID);
95743
95977
  if (typeof handledAt === 'string') {
95978
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(handledAt)) handledAt += ':00Z';
95979
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(handledAt)) handledAt += 'Z';
95744
95980
  const companion = Companion_getInstancec1c8yhxwuclv();
95745
95981
  handledAt = companion.gp(handledAt);
95746
95982
  } else if (handledAt != null && typeof handledAt === 'object' && typeof handledAt.getTime === 'function') {
@@ -99493,6 +99729,8 @@ function PersonResident(accountNumber, attendances, country, historicRoles, id,
99493
99729
  if (typeof name === 'object' && name !== null && !(name instanceof Name)) name = new Name(name);
99494
99730
  passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
99495
99731
  if (typeof passportExpiration === 'string') {
99732
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += ':00Z';
99733
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += 'Z';
99496
99734
  const companion = Companion_getInstancec1c8yhxwuclv();
99497
99735
  passportExpiration = companion.gp(passportExpiration);
99498
99736
  } else if (passportExpiration != null && typeof passportExpiration === 'object' && typeof passportExpiration.getTime === 'function') {
@@ -100293,6 +100531,8 @@ function PersonRoleInput(residenceNr, role, validFrom, validTo) {
100293
100531
  if (typeof role === 'object' && role !== null && !(role instanceof RoleType)) role = new RoleType(role);
100294
100532
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
100295
100533
  if (typeof validFrom === 'string') {
100534
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
100535
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
100296
100536
  const companion = Companion_getInstancec1c8yhxwuclv();
100297
100537
  validFrom = companion.gp(validFrom);
100298
100538
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -100301,6 +100541,8 @@ function PersonRoleInput(residenceNr, role, validFrom, validTo) {
100301
100541
  }
100302
100542
  validTo = ('validTo' in props ? props.validTo : VOID);
100303
100543
  if (typeof validTo === 'string') {
100544
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
100545
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
100304
100546
  const companion = Companion_getInstancec1c8yhxwuclv();
100305
100547
  validTo = companion.gp(validTo);
100306
100548
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -101201,6 +101443,8 @@ function PersonnummerDeath(active, dateOfIncident, reason, source) {
101201
101443
  active = ('active' in props ? props.active : VOID);
101202
101444
  dateOfIncident = ('dateOfIncident' in props ? props.dateOfIncident : VOID);
101203
101445
  if (typeof dateOfIncident === 'string') {
101446
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dateOfIncident)) dateOfIncident += ':00Z';
101447
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dateOfIncident)) dateOfIncident += 'Z';
101204
101448
  const companion = Companion_getInstancec1c8yhxwuclv();
101205
101449
  dateOfIncident = companion.gp(dateOfIncident);
101206
101450
  } else if (dateOfIncident != null && typeof dateOfIncident === 'object' && typeof dateOfIncident.getTime === 'function') {
@@ -101832,6 +102076,8 @@ function PersonnummerStatus(active, dateOfIncident, reason, source, statusVerdi,
101832
102076
  active = ('active' in props ? props.active : VOID);
101833
102077
  dateOfIncident = ('dateOfIncident' in props ? props.dateOfIncident : VOID);
101834
102078
  if (typeof dateOfIncident === 'string') {
102079
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dateOfIncident)) dateOfIncident += ':00Z';
102080
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dateOfIncident)) dateOfIncident += 'Z';
101835
102081
  const companion = Companion_getInstancec1c8yhxwuclv();
101836
102082
  dateOfIncident = companion.gp(dateOfIncident);
101837
102083
  } else if (dateOfIncident != null && typeof dateOfIncident === 'object' && typeof dateOfIncident.getTime === 'function') {
@@ -101844,6 +102090,8 @@ function PersonnummerStatus(active, dateOfIncident, reason, source, statusVerdi,
101844
102090
  if (typeof statusVerdi === 'object' && statusVerdi !== null && !(statusVerdi instanceof PersonStatus)) statusVerdi = new PersonStatus(statusVerdi);
101845
102091
  validDate = ('validDate' in props ? props.validDate : VOID);
101846
102092
  if (typeof validDate === 'string') {
102093
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validDate)) validDate += ':00Z';
102094
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validDate)) validDate += 'Z';
101847
102095
  const companion = Companion_getInstancec1c8yhxwuclv();
101848
102096
  validDate = companion.gp(validDate);
101849
102097
  } else if (validDate != null && typeof validDate === 'object' && typeof validDate.getTime === 'function') {
@@ -102361,6 +102609,8 @@ function Post(companyId, content, createdAt, documents, id, notificationEmailGro
102361
102609
  content = ('content' in props ? props.content : VOID);
102362
102610
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
102363
102611
  if (typeof createdAt === 'string') {
102612
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
102613
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
102364
102614
  const companion = Companion_getInstancec1c8yhxwuclv();
102365
102615
  createdAt = companion.gp(createdAt);
102366
102616
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -102391,6 +102641,8 @@ function Post(companyId, content, createdAt, documents, id, notificationEmailGro
102391
102641
  private_0 = ('private' in props ? props.private : VOID);
102392
102642
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
102393
102643
  if (typeof publishedAt === 'string') {
102644
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
102645
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
102394
102646
  const companion = Companion_getInstancec1c8yhxwuclv();
102395
102647
  publishedAt = companion.gp(publishedAt);
102396
102648
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -102401,6 +102653,8 @@ function Post(companyId, content, createdAt, documents, id, notificationEmailGro
102401
102653
  title = ('title' in props ? props.title : VOID);
102402
102654
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
102403
102655
  if (typeof updatedAt === 'string') {
102656
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
102657
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
102404
102658
  const companion = Companion_getInstancec1c8yhxwuclv();
102405
102659
  updatedAt = companion.gp(updatedAt);
102406
102660
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -104099,6 +104353,8 @@ function PublicMessage(content, documents, emailContent, sentAt, sentBy, type) {
104099
104353
  if (typeof emailContent === 'object' && emailContent !== null && !(emailContent instanceof MessageEmailContent)) emailContent = new MessageEmailContent(emailContent);
104100
104354
  sentAt = ('sentAt' in props ? props.sentAt : VOID);
104101
104355
  if (typeof sentAt === 'string') {
104356
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(sentAt)) sentAt += ':00Z';
104357
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(sentAt)) sentAt += 'Z';
104102
104358
  const companion = Companion_getInstancec1c8yhxwuclv();
104103
104359
  sentAt = companion.gp(sentAt);
104104
104360
  } else if (sentAt != null && typeof sentAt === 'object' && typeof sentAt.getTime === 'function') {
@@ -105973,6 +106229,8 @@ function ResidentRole(companyId, id, organization, organizationId, person, perso
105973
106229
  supplierId = ('supplierId' in props ? props.supplierId : VOID);
105974
106230
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
105975
106231
  if (typeof validFrom === 'string') {
106232
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
106233
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
105976
106234
  const companion = Companion_getInstancec1c8yhxwuclv();
105977
106235
  validFrom = companion.gp(validFrom);
105978
106236
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -105981,6 +106239,8 @@ function ResidentRole(companyId, id, organization, organizationId, person, perso
105981
106239
  }
105982
106240
  validTo = ('validTo' in props ? props.validTo : VOID);
105983
106241
  if (typeof validTo === 'string') {
106242
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
106243
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
105984
106244
  const companion = Companion_getInstancec1c8yhxwuclv();
105985
106245
  validTo = companion.gp(validTo);
105986
106246
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -106791,6 +107051,8 @@ function Role(companyId, id, organizationId, personId, sectionId, supplierId, ty
106791
107051
  if (typeof type === 'object' && type !== null && !(type instanceof RoleType)) type = new RoleType(type);
106792
107052
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
106793
107053
  if (typeof validFrom === 'string') {
107054
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
107055
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
106794
107056
  const companion = Companion_getInstancec1c8yhxwuclv();
106795
107057
  validFrom = companion.gp(validFrom);
106796
107058
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -106799,6 +107061,8 @@ function Role(companyId, id, organizationId, personId, sectionId, supplierId, ty
106799
107061
  }
106800
107062
  validTo = ('validTo' in props ? props.validTo : VOID);
106801
107063
  if (typeof validTo === 'string') {
107064
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
107065
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
106802
107066
  const companion = Companion_getInstancec1c8yhxwuclv();
106803
107067
  validTo = companion.gp(validTo);
106804
107068
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -107155,6 +107419,8 @@ function RoleInput(companyId, id, organizationId, personId, sectionId, supplierI
107155
107419
  if (typeof type === 'object' && type !== null && !(type instanceof RoleType)) type = new RoleType(type);
107156
107420
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
107157
107421
  if (typeof validFrom === 'string') {
107422
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
107423
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
107158
107424
  const companion = Companion_getInstancec1c8yhxwuclv();
107159
107425
  validFrom = companion.gp(validFrom);
107160
107426
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -107163,6 +107429,8 @@ function RoleInput(companyId, id, organizationId, personId, sectionId, supplierI
107163
107429
  }
107164
107430
  validTo = ('validTo' in props ? props.validTo : VOID);
107165
107431
  if (typeof validTo === 'string') {
107432
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
107433
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
107166
107434
  const companion = Companion_getInstancec1c8yhxwuclv();
107167
107435
  validTo = companion.gp(validTo);
107168
107436
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -108065,6 +108333,8 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108065
108333
  const props = completedAt;
108066
108334
  completedAt = ('completedAt' in props ? props.completedAt : VOID);
108067
108335
  if (typeof completedAt === 'string') {
108336
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completedAt)) completedAt += ':00Z';
108337
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completedAt)) completedAt += 'Z';
108068
108338
  const companion = Companion_getInstancec1c8yhxwuclv();
108069
108339
  completedAt = companion.gp(completedAt);
108070
108340
  } else if (completedAt != null && typeof completedAt === 'object' && typeof completedAt.getTime === 'function') {
@@ -108075,6 +108345,8 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108075
108345
  completedName = ('completedName' in props ? props.completedName : VOID);
108076
108346
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
108077
108347
  if (typeof createdAt === 'string') {
108348
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
108349
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
108078
108350
  const companion = Companion_getInstancec1c8yhxwuclv();
108079
108351
  createdAt = companion.gp(createdAt);
108080
108352
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -108085,6 +108357,8 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108085
108357
  createdByName = ('createdByName' in props ? props.createdByName : VOID);
108086
108358
  deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
108087
108359
  if (typeof deletedAt === 'string') {
108360
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(deletedAt)) deletedAt += ':00Z';
108361
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(deletedAt)) deletedAt += 'Z';
108088
108362
  const companion = Companion_getInstancec1c8yhxwuclv();
108089
108363
  deletedAt = companion.gp(deletedAt);
108090
108364
  } else if (deletedAt != null && typeof deletedAt === 'object' && typeof deletedAt.getTime === 'function') {
@@ -108103,6 +108377,8 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108103
108377
  if (typeof draft === 'object' && draft !== null && !(draft instanceof RoutineDraft)) draft = new RoutineDraft(draft);
108104
108378
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
108105
108379
  if (typeof dueDate === 'string') {
108380
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
108381
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
108106
108382
  const companion = Companion_getInstancec1c8yhxwuclv();
108107
108383
  dueDate = companion.gp(dueDate);
108108
108384
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -109757,6 +110033,8 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
109757
110033
  plainText = ('plainText' in props ? props.plainText : VOID);
109758
110034
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
109759
110035
  if (typeof publishedAt === 'string') {
110036
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
110037
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
109760
110038
  const companion = Companion_getInstancec1c8yhxwuclv();
109761
110039
  publishedAt = companion.gp(publishedAt);
109762
110040
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -110029,6 +110307,8 @@ function SMSBundle(active, companyId, count, createdAt, disabledAt, id, price) {
110029
110307
  count = ('count' in props ? props.count : VOID);
110030
110308
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
110031
110309
  if (typeof createdAt === 'string') {
110310
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
110311
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
110032
110312
  const companion = Companion_getInstancec1c8yhxwuclv();
110033
110313
  createdAt = companion.gp(createdAt);
110034
110314
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -110037,6 +110317,8 @@ function SMSBundle(active, companyId, count, createdAt, disabledAt, id, price) {
110037
110317
  }
110038
110318
  disabledAt = ('disabledAt' in props ? props.disabledAt : VOID);
110039
110319
  if (typeof disabledAt === 'string') {
110320
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(disabledAt)) disabledAt += ':00Z';
110321
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(disabledAt)) disabledAt += 'Z';
110040
110322
  const companion = Companion_getInstancec1c8yhxwuclv();
110041
110323
  disabledAt = companion.gp(disabledAt);
110042
110324
  } else if (disabledAt != null && typeof disabledAt === 'object' && typeof disabledAt.getTime === 'function') {
@@ -110269,6 +110551,8 @@ function SMSBundlePurchase(bundleId, charged, companyId, id, purchasedAt) {
110269
110551
  id = ('id' in props ? props.id : VOID);
110270
110552
  purchasedAt = ('purchasedAt' in props ? props.purchasedAt : VOID);
110271
110553
  if (typeof purchasedAt === 'string') {
110554
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(purchasedAt)) purchasedAt += ':00Z';
110555
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(purchasedAt)) purchasedAt += 'Z';
110272
110556
  const companion = Companion_getInstancec1c8yhxwuclv();
110273
110557
  purchasedAt = companion.gp(purchasedAt);
110274
110558
  } else if (purchasedAt != null && typeof purchasedAt === 'object' && typeof purchasedAt.getTime === 'function') {
@@ -111941,6 +112225,8 @@ function Section(anr, apartmentNr, area, bnr, building, buildingId, capabilities
111941
112225
  companyId = ('companyId' in props ? props.companyId : VOID);
111942
112226
  deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
111943
112227
  if (typeof deletedAt === 'string') {
112228
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(deletedAt)) deletedAt += ':00Z';
112229
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(deletedAt)) deletedAt += 'Z';
111944
112230
  const companion = Companion_getInstancec1c8yhxwuclv();
111945
112231
  deletedAt = companion.gp(deletedAt);
111946
112232
  } else if (deletedAt != null && typeof deletedAt === 'object' && typeof deletedAt.getTime === 'function') {
@@ -112860,6 +113146,8 @@ function SectionFraction(bolignr, identifier, inFourFraction, inOneFraction, inT
112860
113146
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
112861
113147
  snapshotDate = ('snapshotDate' in props ? props.snapshotDate : VOID);
112862
113148
  if (typeof snapshotDate === 'string') {
113149
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(snapshotDate)) snapshotDate += ':00Z';
113150
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(snapshotDate)) snapshotDate += 'Z';
112863
113151
  const companion = Companion_getInstancec1c8yhxwuclv();
112864
113152
  snapshotDate = companion.gp(snapshotDate);
112865
113153
  } else if (snapshotDate != null && typeof snapshotDate === 'object' && typeof snapshotDate.getTime === 'function') {
@@ -112868,6 +113156,8 @@ function SectionFraction(bolignr, identifier, inFourFraction, inOneFraction, inT
112868
113156
  }
112869
113157
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
112870
113158
  if (typeof validFrom === 'string') {
113159
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
113160
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
112871
113161
  const companion = Companion_getInstancec1c8yhxwuclv();
112872
113162
  validFrom = companion.gp(validFrom);
112873
113163
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -113244,6 +113534,8 @@ function SectionFractionSectionFractionMapValue(bolignr, identifier, inFourFract
113244
113534
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
113245
113535
  snapshotDate = ('snapshotDate' in props ? props.snapshotDate : VOID);
113246
113536
  if (typeof snapshotDate === 'string') {
113537
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(snapshotDate)) snapshotDate += ':00Z';
113538
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(snapshotDate)) snapshotDate += 'Z';
113247
113539
  const companion = Companion_getInstancec1c8yhxwuclv();
113248
113540
  snapshotDate = companion.gp(snapshotDate);
113249
113541
  } else if (snapshotDate != null && typeof snapshotDate === 'object' && typeof snapshotDate.getTime === 'function') {
@@ -113252,6 +113544,8 @@ function SectionFractionSectionFractionMapValue(bolignr, identifier, inFourFract
113252
113544
  }
113253
113545
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
113254
113546
  if (typeof validFrom === 'string') {
113547
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
113548
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
113255
113549
  const companion = Companion_getInstancec1c8yhxwuclv();
113256
113550
  validFrom = companion.gp(validFrom);
113257
113551
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -114618,6 +114912,8 @@ function SectionStatus(note, operation, referredOrganization, referredPerson, re
114618
114912
  if (typeof referredPerson === 'object' && referredPerson !== null && !(referredPerson instanceof Person)) referredPerson = new Person(referredPerson);
114619
114913
  registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
114620
114914
  if (typeof registeredAt === 'string') {
114915
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(registeredAt)) registeredAt += ':00Z';
114916
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(registeredAt)) registeredAt += 'Z';
114621
114917
  const companion = Companion_getInstancec1c8yhxwuclv();
114622
114918
  registeredAt = companion.gp(registeredAt);
114623
114919
  } else if (registeredAt != null && typeof registeredAt === 'object' && typeof registeredAt.getTime === 'function') {
@@ -115019,6 +115315,8 @@ function SectionStatusSectionStatusMapValue(note, operation, referredOrganizatio
115019
115315
  if (typeof referredPerson === 'object' && referredPerson !== null && !(referredPerson instanceof Person)) referredPerson = new Person(referredPerson);
115020
115316
  registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
115021
115317
  if (typeof registeredAt === 'string') {
115318
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(registeredAt)) registeredAt += ':00Z';
115319
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(registeredAt)) registeredAt += 'Z';
115022
115320
  const companion = Companion_getInstancec1c8yhxwuclv();
115023
115321
  registeredAt = companion.gp(registeredAt);
115024
115322
  } else if (registeredAt != null && typeof registeredAt === 'object' && typeof registeredAt.getTime === 'function') {
@@ -116370,6 +116668,8 @@ function SensitiveData(passportExpiration, passportNumber, personnummerTwo) {
116370
116668
  const props = passportExpiration;
116371
116669
  passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
116372
116670
  if (typeof passportExpiration === 'string') {
116671
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += ':00Z';
116672
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += 'Z';
116373
116673
  const companion = Companion_getInstancec1c8yhxwuclv();
116374
116674
  passportExpiration = companion.gp(passportExpiration);
116375
116675
  } else if (passportExpiration != null && typeof passportExpiration === 'object' && typeof passportExpiration.getTime === 'function') {
@@ -117001,6 +117301,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117001
117301
  const props = closedAt;
117002
117302
  closedAt = ('closedAt' in props ? props.closedAt : VOID);
117003
117303
  if (typeof closedAt === 'string') {
117304
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(closedAt)) closedAt += ':00Z';
117305
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(closedAt)) closedAt += 'Z';
117004
117306
  const companion = Companion_getInstancec1c8yhxwuclv();
117005
117307
  closedAt = companion.gp(closedAt);
117006
117308
  } else if (closedAt != null && typeof closedAt === 'object' && typeof closedAt.getTime === 'function') {
@@ -117010,6 +117312,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117010
117312
  companyId = ('companyId' in props ? props.companyId : VOID);
117011
117313
  completedAt = ('completedAt' in props ? props.completedAt : VOID);
117012
117314
  if (typeof completedAt === 'string') {
117315
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completedAt)) completedAt += ':00Z';
117316
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completedAt)) completedAt += 'Z';
117013
117317
  const companion = Companion_getInstancec1c8yhxwuclv();
117014
117318
  completedAt = companion.gp(completedAt);
117015
117319
  } else if (completedAt != null && typeof completedAt === 'object' && typeof completedAt.getTime === 'function') {
@@ -117018,6 +117322,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117018
117322
  }
117019
117323
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
117020
117324
  if (typeof createdAt === 'string') {
117325
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
117326
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
117021
117327
  const companion = Companion_getInstancec1c8yhxwuclv();
117022
117328
  createdAt = companion.gp(createdAt);
117023
117329
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -117058,6 +117364,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117058
117364
  submissionId = ('submissionId' in props ? props.submissionId : VOID);
117059
117365
  submittedAt = ('submittedAt' in props ? props.submittedAt : VOID);
117060
117366
  if (typeof submittedAt === 'string') {
117367
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(submittedAt)) submittedAt += ':00Z';
117368
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(submittedAt)) submittedAt += 'Z';
117061
117369
  const companion = Companion_getInstancec1c8yhxwuclv();
117062
117370
  submittedAt = companion.gp(submittedAt);
117063
117371
  } else if (submittedAt != null && typeof submittedAt === 'object' && typeof submittedAt.getTime === 'function') {
@@ -117066,6 +117374,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117066
117374
  }
117067
117375
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
117068
117376
  if (typeof updatedAt === 'string') {
117377
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
117378
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
117069
117379
  const companion = Companion_getInstancec1c8yhxwuclv();
117070
117380
  updatedAt = companion.gp(updatedAt);
117071
117381
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -117532,6 +117842,8 @@ function SettlementCustomCost(amount, createdAt, createdBy, description, documen
117532
117842
  amount = ('amount' in props ? props.amount : VOID);
117533
117843
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
117534
117844
  if (typeof createdAt === 'string') {
117845
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
117846
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
117535
117847
  const companion = Companion_getInstancec1c8yhxwuclv();
117536
117848
  createdAt = companion.gp(createdAt);
117537
117849
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -117549,6 +117861,8 @@ function SettlementCustomCost(amount, createdAt, createdBy, description, documen
117549
117861
  units = ('units' in props ? props.units : VOID);
117550
117862
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
117551
117863
  if (typeof updatedAt === 'string') {
117864
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
117865
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updatedAt)) updatedAt += 'Z';
117552
117866
  const companion = Companion_getInstancec1c8yhxwuclv();
117553
117867
  updatedAt = companion.gp(updatedAt);
117554
117868
  } else if (updatedAt != null && typeof updatedAt === 'object' && typeof updatedAt.getTime === 'function') {
@@ -118338,6 +118652,8 @@ function SettlementProviderConfiguration(active, closedAt, companyId, endDate, i
118338
118652
  active = ('active' in props ? props.active : VOID);
118339
118653
  closedAt = ('closedAt' in props ? props.closedAt : VOID);
118340
118654
  if (typeof closedAt === 'string') {
118655
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(closedAt)) closedAt += ':00Z';
118656
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(closedAt)) closedAt += 'Z';
118341
118657
  const companion = Companion_getInstancec1c8yhxwuclv();
118342
118658
  closedAt = companion.gp(closedAt);
118343
118659
  } else if (closedAt != null && typeof closedAt === 'object' && typeof closedAt.getTime === 'function') {
@@ -120107,6 +120423,8 @@ function StorageRoomOwnership(id, identifier, note, storageRoomId, validFrom, va
120107
120423
  storageRoomId = ('storageRoomId' in props ? props.storageRoomId : VOID);
120108
120424
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
120109
120425
  if (typeof validFrom === 'string') {
120426
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
120427
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
120110
120428
  const companion = Companion_getInstancec1c8yhxwuclv();
120111
120429
  validFrom = companion.gp(validFrom);
120112
120430
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -120115,6 +120433,8 @@ function StorageRoomOwnership(id, identifier, note, storageRoomId, validFrom, va
120115
120433
  }
120116
120434
  validTo = ('validTo' in props ? props.validTo : VOID);
120117
120435
  if (typeof validTo === 'string') {
120436
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
120437
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
120118
120438
  const companion = Companion_getInstancec1c8yhxwuclv();
120119
120439
  validTo = companion.gp(validTo);
120120
120440
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -120580,6 +120900,8 @@ function SupplierComment(content, createdAt, createdBy, createdById, emoticon, i
120580
120900
  content = ('content' in props ? props.content : VOID);
120581
120901
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
120582
120902
  if (typeof createdAt === 'string') {
120903
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
120904
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
120583
120905
  const companion = Companion_getInstancec1c8yhxwuclv();
120584
120906
  createdAt = companion.gp(createdAt);
120585
120907
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -121442,6 +121764,8 @@ function SupplierForCompany(comments, companyId, createdAt, createdBy, createdBy
121442
121764
  companyId = ('companyId' in props ? props.companyId : VOID);
121443
121765
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
121444
121766
  if (typeof createdAt === 'string') {
121767
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
121768
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
121445
121769
  const companion = Companion_getInstancec1c8yhxwuclv();
121446
121770
  createdAt = companion.gp(createdAt);
121447
121771
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -121879,6 +122203,8 @@ function SupplierInvoice(amount, currency, description, dueDate, id, invoiceDate
121879
122203
  description = ('description' in props ? props.description : VOID);
121880
122204
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
121881
122205
  if (typeof dueDate === 'string') {
122206
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
122207
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
121882
122208
  const companion = Companion_getInstancec1c8yhxwuclv();
121883
122209
  dueDate = companion.gp(dueDate);
121884
122210
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -121888,6 +122214,8 @@ function SupplierInvoice(amount, currency, description, dueDate, id, invoiceDate
121888
122214
  id = ('id' in props ? props.id : VOID);
121889
122215
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
121890
122216
  if (typeof invoiceDate === 'string') {
122217
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
122218
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
121891
122219
  const companion = Companion_getInstancec1c8yhxwuclv();
121892
122220
  invoiceDate = companion.gp(invoiceDate);
121893
122221
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -122655,6 +122983,8 @@ function SupplierInvoiceProcessing(approvalReason, performedAt, performedBy, per
122655
122983
  approvalReason = ('approvalReason' in props ? props.approvalReason : VOID);
122656
122984
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
122657
122985
  if (typeof performedAt === 'string') {
122986
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
122987
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(performedAt)) performedAt += 'Z';
122658
122988
  const companion = Companion_getInstancec1c8yhxwuclv();
122659
122989
  performedAt = companion.gp(performedAt);
122660
122990
  } else if (performedAt != null && typeof performedAt === 'object' && typeof performedAt.getTime === 'function') {
@@ -123470,6 +123800,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123470
123800
  companyId = ('companyId' in props ? props.companyId : VOID);
123471
123801
  completedAt = ('completedAt' in props ? props.completedAt : VOID);
123472
123802
  if (typeof completedAt === 'string') {
123803
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completedAt)) completedAt += ':00Z';
123804
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completedAt)) completedAt += 'Z';
123473
123805
  const companion = Companion_getInstancec1c8yhxwuclv();
123474
123806
  completedAt = companion.gp(completedAt);
123475
123807
  } else if (completedAt != null && typeof completedAt === 'object' && typeof completedAt.getTime === 'function') {
@@ -123480,6 +123812,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123480
123812
  completedByName = ('completedByName' in props ? props.completedByName : VOID);
123481
123813
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
123482
123814
  if (typeof createdAt === 'string') {
123815
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
123816
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
123483
123817
  const companion = Companion_getInstancec1c8yhxwuclv();
123484
123818
  createdAt = companion.gp(createdAt);
123485
123819
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -123490,6 +123824,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123490
123824
  createdByName = ('createdByName' in props ? props.createdByName : VOID);
123491
123825
  deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
123492
123826
  if (typeof deletedAt === 'string') {
123827
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(deletedAt)) deletedAt += ':00Z';
123828
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(deletedAt)) deletedAt += 'Z';
123493
123829
  const companion = Companion_getInstancec1c8yhxwuclv();
123494
123830
  deletedAt = companion.gp(deletedAt);
123495
123831
  } else if (deletedAt != null && typeof deletedAt === 'object' && typeof deletedAt.getTime === 'function') {
@@ -123501,6 +123837,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123501
123837
  description = ('description' in props ? props.description : VOID);
123502
123838
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
123503
123839
  if (typeof dueDate === 'string') {
123840
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
123841
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
123504
123842
  const companion = Companion_getInstancec1c8yhxwuclv();
123505
123843
  dueDate = companion.gp(dueDate);
123506
123844
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -123512,6 +123850,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123512
123850
  if (typeof intervalMethod === 'object' && intervalMethod !== null && !(intervalMethod instanceof PeriodicTaskIntervalMethod)) intervalMethod = new PeriodicTaskIntervalMethod(intervalMethod);
123513
123851
  intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
123514
123852
  if (typeof intervalStart === 'string') {
123853
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(intervalStart)) intervalStart += ':00Z';
123854
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(intervalStart)) intervalStart += 'Z';
123515
123855
  const companion = Companion_getInstancec1c8yhxwuclv();
123516
123856
  intervalStart = companion.gp(intervalStart);
123517
123857
  } else if (intervalStart != null && typeof intervalStart === 'object' && typeof intervalStart.getTime === 'function') {
@@ -123528,6 +123868,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123528
123868
  }
123529
123869
  registeredAt = ('registeredAt' in props ? props.registeredAt : VOID);
123530
123870
  if (typeof registeredAt === 'string') {
123871
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(registeredAt)) registeredAt += ':00Z';
123872
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(registeredAt)) registeredAt += 'Z';
123531
123873
  const companion = Companion_getInstancec1c8yhxwuclv();
123532
123874
  registeredAt = companion.gp(registeredAt);
123533
123875
  } else if (registeredAt != null && typeof registeredAt === 'object' && typeof registeredAt.getTime === 'function') {
@@ -124186,6 +124528,8 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
124186
124528
  const props = createdAt;
124187
124529
  createdAt = ('createdAt' in props ? props.createdAt : VOID);
124188
124530
  if (typeof createdAt === 'string') {
124531
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
124532
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
124189
124533
  const companion = Companion_getInstancec1c8yhxwuclv();
124190
124534
  createdAt = companion.gp(createdAt);
124191
124535
  } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
@@ -124197,6 +124541,8 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
124197
124541
  description = ('description' in props ? props.description : VOID);
124198
124542
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
124199
124543
  if (typeof dueDate === 'string') {
124544
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
124545
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
124200
124546
  const companion = Companion_getInstancec1c8yhxwuclv();
124201
124547
  dueDate = companion.gp(dueDate);
124202
124548
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -124210,6 +124556,8 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
124210
124556
  message = ('message' in props ? props.message : VOID);
124211
124557
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
124212
124558
  if (typeof performedAt === 'string') {
124559
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
124560
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(performedAt)) performedAt += 'Z';
124213
124561
  const companion = Companion_getInstancec1c8yhxwuclv();
124214
124562
  performedAt = companion.gp(performedAt);
124215
124563
  } else if (performedAt != null && typeof performedAt === 'object' && typeof performedAt.getTime === 'function') {
@@ -125255,6 +125603,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125255
125603
  }
125256
125604
  approved = ('approved' in props ? props.approved : VOID);
125257
125605
  if (typeof approved === 'string') {
125606
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(approved)) approved += ':00Z';
125607
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(approved)) approved += 'Z';
125258
125608
  const companion = Companion_getInstancec1c8yhxwuclv();
125259
125609
  approved = companion.gp(approved);
125260
125610
  } else if (approved != null && typeof approved === 'object' && typeof approved.getTime === 'function') {
@@ -125263,6 +125613,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125263
125613
  }
125264
125614
  completed = ('completed' in props ? props.completed : VOID);
125265
125615
  if (typeof completed === 'string') {
125616
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completed)) completed += ':00Z';
125617
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completed)) completed += 'Z';
125266
125618
  const companion = Companion_getInstancec1c8yhxwuclv();
125267
125619
  completed = companion.gp(completed);
125268
125620
  } else if (completed != null && typeof completed === 'object' && typeof completed.getTime === 'function') {
@@ -125271,6 +125623,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125271
125623
  }
125272
125624
  created = ('created' in props ? props.created : VOID);
125273
125625
  if (typeof created === 'string') {
125626
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(created)) created += ':00Z';
125627
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(created)) created += 'Z';
125274
125628
  const companion = Companion_getInstancec1c8yhxwuclv();
125275
125629
  created = companion.gp(created);
125276
125630
  } else if (created != null && typeof created === 'object' && typeof created.getTime === 'function') {
@@ -125298,6 +125652,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125298
125652
  }
125299
125653
  processed = ('processed' in props ? props.processed : VOID);
125300
125654
  if (typeof processed === 'string') {
125655
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(processed)) processed += ':00Z';
125656
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(processed)) processed += 'Z';
125301
125657
  const companion = Companion_getInstancec1c8yhxwuclv();
125302
125658
  processed = companion.gp(processed);
125303
125659
  } else if (processed != null && typeof processed === 'object' && typeof processed.getTime === 'function') {
@@ -125306,6 +125662,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125306
125662
  }
125307
125663
  rejected = ('rejected' in props ? props.rejected : VOID);
125308
125664
  if (typeof rejected === 'string') {
125665
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(rejected)) rejected += ':00Z';
125666
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(rejected)) rejected += 'Z';
125309
125667
  const companion = Companion_getInstancec1c8yhxwuclv();
125310
125668
  rejected = companion.gp(rejected);
125311
125669
  } else if (rejected != null && typeof rejected === 'object' && typeof rejected.getTime === 'function') {
@@ -125318,6 +125676,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125318
125676
  if (typeof result === 'object' && result !== null && !(result instanceof ThirdPartyInformationResult)) result = new ThirdPartyInformationResult(result);
125319
125677
  sentToAltinn = ('sentToAltinn' in props ? props.sentToAltinn : VOID);
125320
125678
  if (typeof sentToAltinn === 'string') {
125679
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(sentToAltinn)) sentToAltinn += ':00Z';
125680
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(sentToAltinn)) sentToAltinn += 'Z';
125321
125681
  const companion = Companion_getInstancec1c8yhxwuclv();
125322
125682
  sentToAltinn = companion.gp(sentToAltinn);
125323
125683
  } else if (sentToAltinn != null && typeof sentToAltinn === 'object' && typeof sentToAltinn.getTime === 'function') {
@@ -125326,6 +125686,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125326
125686
  }
125327
125687
  sentToOwners = ('sentToOwners' in props ? props.sentToOwners : VOID);
125328
125688
  if (typeof sentToOwners === 'string') {
125689
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(sentToOwners)) sentToOwners += ':00Z';
125690
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(sentToOwners)) sentToOwners += 'Z';
125329
125691
  const companion = Companion_getInstancec1c8yhxwuclv();
125330
125692
  sentToOwners = companion.gp(sentToOwners);
125331
125693
  } else if (sentToOwners != null && typeof sentToOwners === 'object' && typeof sentToOwners.getTime === 'function') {
@@ -125338,6 +125700,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125338
125700
  if (typeof status === 'object' && status !== null && !(status instanceof JobState)) status = new JobState(status);
125339
125701
  updated = ('updated' in props ? props.updated : VOID);
125340
125702
  if (typeof updated === 'string') {
125703
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updated)) updated += ':00Z';
125704
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(updated)) updated += 'Z';
125341
125705
  const companion = Companion_getInstancec1c8yhxwuclv();
125342
125706
  updated = companion.gp(updated);
125343
125707
  } else if (updated != null && typeof updated === 'object' && typeof updated.getTime === 'function') {
@@ -129462,6 +129826,8 @@ function ThreePODialogTransmission(date, feedback, id, relatedTransmissionId, se
129462
129826
  const props = date;
129463
129827
  date = ('date' in props ? props.date : VOID);
129464
129828
  if (typeof date === 'string') {
129829
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(date)) date += ':00Z';
129830
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(date)) date += 'Z';
129465
129831
  const companion = Companion_getInstancec1c8yhxwuclv();
129466
129832
  date = companion.gp(date);
129467
129833
  } else if (date != null && typeof date === 'object' && typeof date.getTime === 'function') {
@@ -130148,6 +130514,8 @@ function ThreePOPeriodInput(cost, end, inFourCost, inOneCost, inThreeCost, inTwo
130148
130514
  cost = ('cost' in props ? props.cost : VOID);
130149
130515
  end = ('end' in props ? props.end : VOID);
130150
130516
  if (typeof end === 'string') {
130517
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(end)) end += ':00Z';
130518
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(end)) end += 'Z';
130151
130519
  const companion = Companion_getInstancec1c8yhxwuclv();
130152
130520
  end = companion.gp(end);
130153
130521
  } else if (end != null && typeof end === 'object' && typeof end.getTime === 'function') {
@@ -130162,6 +130530,8 @@ function ThreePOPeriodInput(cost, end, inFourCost, inOneCost, inThreeCost, inTwo
130162
130530
  period = ('period' in props ? props.period : VOID);
130163
130531
  start = ('start' in props ? props.start : VOID);
130164
130532
  if (typeof start === 'string') {
130533
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(start)) start += ':00Z';
130534
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(start)) start += 'Z';
130165
130535
  const companion = Companion_getInstancec1c8yhxwuclv();
130166
130536
  start = companion.gp(start);
130167
130537
  } else if (start != null && typeof start === 'object' && typeof start.getTime === 'function') {
@@ -132563,6 +132933,8 @@ function UpdateAdHocInvoiceGroupCommand(attachments, description, name, processe
132563
132933
  name = ('name' in props ? props.name : VOID);
132564
132934
  processedAt = ('processedAt' in props ? props.processedAt : VOID);
132565
132935
  if (typeof processedAt === 'string') {
132936
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(processedAt)) processedAt += ':00Z';
132937
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(processedAt)) processedAt += 'Z';
132566
132938
  const companion = Companion_getInstancec1c8yhxwuclv();
132567
132939
  processedAt = companion.gp(processedAt);
132568
132940
  } else if (processedAt != null && typeof processedAt === 'object' && typeof processedAt.getTime === 'function') {
@@ -132944,6 +133316,8 @@ function UpdateAdHocInvoiceLineCommand(account, amount, description, dueDate, gr
132944
133316
  id = ('id' in props ? props.id : VOID);
132945
133317
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
132946
133318
  if (typeof invoiceDate === 'string') {
133319
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += ':00Z';
133320
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(invoiceDate)) invoiceDate += 'Z';
132947
133321
  const companion = Companion_getInstancec1c8yhxwuclv();
132948
133322
  invoiceDate = companion.gp(invoiceDate);
132949
133323
  } else if (invoiceDate != null && typeof invoiceDate === 'object' && typeof invoiceDate.getTime === 'function') {
@@ -132954,6 +133328,8 @@ function UpdateAdHocInvoiceLineCommand(account, amount, description, dueDate, gr
132954
133328
  organizationId = ('organizationId' in props ? props.organizationId : VOID);
132955
133329
  periodEnd = ('periodEnd' in props ? props.periodEnd : VOID);
132956
133330
  if (typeof periodEnd === 'string') {
133331
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodEnd)) periodEnd += ':00Z';
133332
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodEnd)) periodEnd += 'Z';
132957
133333
  const companion = Companion_getInstancec1c8yhxwuclv();
132958
133334
  periodEnd = companion.gp(periodEnd);
132959
133335
  } else if (periodEnd != null && typeof periodEnd === 'object' && typeof periodEnd.getTime === 'function') {
@@ -132962,6 +133338,8 @@ function UpdateAdHocInvoiceLineCommand(account, amount, description, dueDate, gr
132962
133338
  }
132963
133339
  periodStart = ('periodStart' in props ? props.periodStart : VOID);
132964
133340
  if (typeof periodStart === 'string') {
133341
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(periodStart)) periodStart += ':00Z';
133342
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(periodStart)) periodStart += 'Z';
132965
133343
  const companion = Companion_getInstancec1c8yhxwuclv();
132966
133344
  periodStart = companion.gp(periodStart);
132967
133345
  } else if (periodStart != null && typeof periodStart === 'object' && typeof periodStart.getTime === 'function') {
@@ -133263,6 +133641,8 @@ function UpdateAttendanceCommand(validFrom, validTo) {
133263
133641
  const props = validFrom;
133264
133642
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
133265
133643
  if (typeof validFrom === 'string') {
133644
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
133645
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
133266
133646
  const companion = Companion_getInstancec1c8yhxwuclv();
133267
133647
  validFrom = companion.gp(validFrom);
133268
133648
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -133271,6 +133651,8 @@ function UpdateAttendanceCommand(validFrom, validTo) {
133271
133651
  }
133272
133652
  validTo = ('validTo' in props ? props.validTo : VOID);
133273
133653
  if (typeof validTo === 'string') {
133654
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
133655
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
133274
133656
  const companion = Companion_getInstancec1c8yhxwuclv();
133275
133657
  validTo = companion.gp(validTo);
133276
133658
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -133447,6 +133829,8 @@ function UpdateCompanyAvtaleCommand(annualMeetingIncluded, invoiceReception, sig
133447
133829
  invoiceReception = ('invoiceReception' in props ? props.invoiceReception : VOID);
133448
133830
  signedAt = ('signedAt' in props ? props.signedAt : VOID);
133449
133831
  if (typeof signedAt === 'string') {
133832
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(signedAt)) signedAt += ':00Z';
133833
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(signedAt)) signedAt += 'Z';
133450
133834
  const companion = Companion_getInstancec1c8yhxwuclv();
133451
133835
  signedAt = companion.gp(signedAt);
133452
133836
  } else if (signedAt != null && typeof signedAt === 'object' && typeof signedAt.getTime === 'function') {
@@ -133455,6 +133839,8 @@ function UpdateCompanyAvtaleCommand(annualMeetingIncluded, invoiceReception, sig
133455
133839
  }
133456
133840
  startAt = ('startAt' in props ? props.startAt : VOID);
133457
133841
  if (typeof startAt === 'string') {
133842
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startAt)) startAt += ':00Z';
133843
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startAt)) startAt += 'Z';
133458
133844
  const companion = Companion_getInstancec1c8yhxwuclv();
133459
133845
  startAt = companion.gp(startAt);
133460
133846
  } else if (startAt != null && typeof startAt === 'object' && typeof startAt.getTime === 'function') {
@@ -136322,6 +136708,8 @@ function UpdateInvoicePlanLineCommand(account, amount, distributionId, name, per
136322
136708
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
136323
136709
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
136324
136710
  if (typeof validFrom === 'string') {
136711
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
136712
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
136325
136713
  const companion = Companion_getInstancec1c8yhxwuclv();
136326
136714
  validFrom = companion.gp(validFrom);
136327
136715
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -136330,6 +136718,8 @@ function UpdateInvoicePlanLineCommand(account, amount, distributionId, name, per
136330
136718
  }
136331
136719
  validTo = ('validTo' in props ? props.validTo : VOID);
136332
136720
  if (typeof validTo === 'string') {
136721
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
136722
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
136333
136723
  const companion = Companion_getInstancec1c8yhxwuclv();
136334
136724
  validTo = companion.gp(validTo);
136335
136725
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -136762,6 +137152,8 @@ function UpdateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
136762
137152
  if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
136763
137153
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
136764
137154
  if (typeof oneTimeDate === 'string') {
137155
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
137156
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += 'Z';
136765
137157
  const companion = Companion_getInstancec1c8yhxwuclv();
136766
137158
  oneTimeDate = companion.gp(oneTimeDate);
136767
137159
  } else if (oneTimeDate != null && typeof oneTimeDate === 'object' && typeof oneTimeDate.getTime === 'function') {
@@ -136771,6 +137163,8 @@ function UpdateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
136771
137163
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
136772
137164
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
136773
137165
  if (typeof validFrom === 'string') {
137166
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
137167
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
136774
137168
  const companion = Companion_getInstancec1c8yhxwuclv();
136775
137169
  validFrom = companion.gp(validFrom);
136776
137170
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -136779,6 +137173,8 @@ function UpdateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
136779
137173
  }
136780
137174
  validTo = ('validTo' in props ? props.validTo : VOID);
136781
137175
  if (typeof validTo === 'string') {
137176
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ':00Z';
137177
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += 'Z';
136782
137178
  const companion = Companion_getInstancec1c8yhxwuclv();
136783
137179
  validTo = companion.gp(validTo);
136784
137180
  } else if (validTo != null && typeof validTo === 'object' && typeof validTo.getTime === 'function') {
@@ -137563,6 +137959,8 @@ function UpdateKartverketResultCommand(collectedAt, company) {
137563
137959
  const props = collectedAt;
137564
137960
  collectedAt = ('collectedAt' in props ? props.collectedAt : VOID);
137565
137961
  if (typeof collectedAt === 'string') {
137962
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(collectedAt)) collectedAt += ':00Z';
137963
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(collectedAt)) collectedAt += 'Z';
137566
137964
  const companion = Companion_getInstancec1c8yhxwuclv();
137567
137965
  collectedAt = companion.gp(collectedAt);
137568
137966
  } else if (collectedAt != null && typeof collectedAt === 'object' && typeof collectedAt.getTime === 'function') {
@@ -137842,6 +138240,8 @@ function UpdateLoanInterestCommand(interest, validFrom) {
137842
138240
  interest = ('interest' in props ? props.interest : VOID);
137843
138241
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
137844
138242
  if (typeof validFrom === 'string') {
138243
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
138244
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += 'Z';
137845
138245
  const companion = Companion_getInstancec1c8yhxwuclv();
137846
138246
  validFrom = companion.gp(validFrom);
137847
138247
  } else if (validFrom != null && typeof validFrom === 'object' && typeof validFrom.getTime === 'function') {
@@ -138254,6 +138654,8 @@ function UpdateMeetingCommand(actualEndAt, actualStartAt, comment, location, pla
138254
138654
  const props = actualEndAt;
138255
138655
  actualEndAt = ('actualEndAt' in props ? props.actualEndAt : VOID);
138256
138656
  if (typeof actualEndAt === 'string') {
138657
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += ':00Z';
138658
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualEndAt)) actualEndAt += 'Z';
138257
138659
  const companion = Companion_getInstancec1c8yhxwuclv();
138258
138660
  actualEndAt = companion.gp(actualEndAt);
138259
138661
  } else if (actualEndAt != null && typeof actualEndAt === 'object' && typeof actualEndAt.getTime === 'function') {
@@ -138262,6 +138664,8 @@ function UpdateMeetingCommand(actualEndAt, actualStartAt, comment, location, pla
138262
138664
  }
138263
138665
  actualStartAt = ('actualStartAt' in props ? props.actualStartAt : VOID);
138264
138666
  if (typeof actualStartAt === 'string') {
138667
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += ':00Z';
138668
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(actualStartAt)) actualStartAt += 'Z';
138265
138669
  const companion = Companion_getInstancec1c8yhxwuclv();
138266
138670
  actualStartAt = companion.gp(actualStartAt);
138267
138671
  } else if (actualStartAt != null && typeof actualStartAt === 'object' && typeof actualStartAt.getTime === 'function') {
@@ -138272,6 +138676,8 @@ function UpdateMeetingCommand(actualEndAt, actualStartAt, comment, location, pla
138272
138676
  location = ('location' in props ? props.location : VOID);
138273
138677
  plannedEndAt = ('plannedEndAt' in props ? props.plannedEndAt : VOID);
138274
138678
  if (typeof plannedEndAt === 'string') {
138679
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += ':00Z';
138680
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedEndAt)) plannedEndAt += 'Z';
138275
138681
  const companion = Companion_getInstancec1c8yhxwuclv();
138276
138682
  plannedEndAt = companion.gp(plannedEndAt);
138277
138683
  } else if (plannedEndAt != null && typeof plannedEndAt === 'object' && typeof plannedEndAt.getTime === 'function') {
@@ -138280,6 +138686,8 @@ function UpdateMeetingCommand(actualEndAt, actualStartAt, comment, location, pla
138280
138686
  }
138281
138687
  plannedStartAt = ('plannedStartAt' in props ? props.plannedStartAt : VOID);
138282
138688
  if (typeof plannedStartAt === 'string') {
138689
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += ':00Z';
138690
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(plannedStartAt)) plannedStartAt += 'Z';
138283
138691
  const companion = Companion_getInstancec1c8yhxwuclv();
138284
138692
  plannedStartAt = companion.gp(plannedStartAt);
138285
138693
  } else if (plannedStartAt != null && typeof plannedStartAt === 'object' && typeof plannedStartAt.getTime === 'function') {
@@ -138842,6 +139250,8 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
138842
139250
  plainText = ('plainText' in props ? props.plainText : VOID);
138843
139251
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
138844
139252
  if (typeof publishedAt === 'string') {
139253
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
139254
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
138845
139255
  const companion = Companion_getInstancec1c8yhxwuclv();
138846
139256
  publishedAt = companion.gp(publishedAt);
138847
139257
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -141337,6 +141747,8 @@ function UpdatePersonResidentCommand(address, email, invoicingEmail, mobile, nam
141337
141747
  nationality = ('nationality' in props ? props.nationality : VOID);
141338
141748
  passportExpiration = ('passportExpiration' in props ? props.passportExpiration : VOID);
141339
141749
  if (typeof passportExpiration === 'string') {
141750
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += ':00Z';
141751
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += 'Z';
141340
141752
  const companion = Companion_getInstancec1c8yhxwuclv();
141341
141753
  passportExpiration = companion.gp(passportExpiration);
141342
141754
  } else if (passportExpiration != null && typeof passportExpiration === 'object' && typeof passportExpiration.getTime === 'function') {
@@ -141720,6 +142132,8 @@ function UpdatePostCommand(content, notificationEmailGroups, notificationSMSGrou
141720
142132
  private_0 = ('private' in props ? props.private : VOID);
141721
142133
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
141722
142134
  if (typeof publishedAt === 'string') {
142135
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
142136
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
141723
142137
  const companion = Companion_getInstancec1c8yhxwuclv();
141724
142138
  publishedAt = companion.gp(publishedAt);
141725
142139
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -142709,6 +143123,8 @@ function UpdateRoutineCommand(description, dueDateOffset, recommendedIntervalMet
142709
143123
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
142710
143124
  startDate = ('startDate' in props ? props.startDate : VOID);
142711
143125
  if (typeof startDate === 'string') {
143126
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(startDate)) startDate += ':00Z';
143127
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(startDate)) startDate += 'Z';
142712
143128
  const companion = Companion_getInstancec1c8yhxwuclv();
142713
143129
  startDate = companion.gp(startDate);
142714
143130
  } else if (startDate != null && typeof startDate === 'object' && typeof startDate.getTime === 'function') {
@@ -143020,6 +143436,8 @@ function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
143020
143436
  plainText = ('plainText' in props ? props.plainText : VOID);
143021
143437
  publishedAt = ('publishedAt' in props ? props.publishedAt : VOID);
143022
143438
  if (typeof publishedAt === 'string') {
143439
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(publishedAt)) publishedAt += ':00Z';
143440
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(publishedAt)) publishedAt += 'Z';
143023
143441
  const companion = Companion_getInstancec1c8yhxwuclv();
143024
143442
  publishedAt = companion.gp(publishedAt);
143025
143443
  } else if (publishedAt != null && typeof publishedAt === 'object' && typeof publishedAt.getTime === 'function') {
@@ -144105,6 +144523,8 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
144105
144523
  const props = closedAt;
144106
144524
  closedAt = ('closedAt' in props ? props.closedAt : VOID);
144107
144525
  if (typeof closedAt === 'string') {
144526
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(closedAt)) closedAt += ':00Z';
144527
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(closedAt)) closedAt += 'Z';
144108
144528
  const companion = Companion_getInstancec1c8yhxwuclv();
144109
144529
  closedAt = companion.gp(closedAt);
144110
144530
  } else if (closedAt != null && typeof closedAt === 'object' && typeof closedAt.getTime === 'function') {
@@ -144113,6 +144533,8 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
144113
144533
  }
144114
144534
  completedAt = ('completedAt' in props ? props.completedAt : VOID);
144115
144535
  if (typeof completedAt === 'string') {
144536
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(completedAt)) completedAt += ':00Z';
144537
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(completedAt)) completedAt += 'Z';
144116
144538
  const companion = Companion_getInstancec1c8yhxwuclv();
144117
144539
  completedAt = companion.gp(completedAt);
144118
144540
  } else if (completedAt != null && typeof completedAt === 'object' && typeof completedAt.getTime === 'function') {
@@ -144144,6 +144566,8 @@ function UpdateSettlementCommand(closedAt, completedAt, description, endDate, in
144144
144566
  submissionId = ('submissionId' in props ? props.submissionId : VOID);
144145
144567
  submittedAt = ('submittedAt' in props ? props.submittedAt : VOID);
144146
144568
  if (typeof submittedAt === 'string') {
144569
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(submittedAt)) submittedAt += ':00Z';
144570
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(submittedAt)) submittedAt += 'Z';
144147
144571
  const companion = Companion_getInstancec1c8yhxwuclv();
144148
144572
  submittedAt = companion.gp(submittedAt);
144149
144573
  } else if (submittedAt != null && typeof submittedAt === 'object' && typeof submittedAt.getTime === 'function') {
@@ -144737,6 +145161,8 @@ function UpdateSettlementProviderConfigurationCommand(active, closedAt, endDate,
144737
145161
  active = ('active' in props ? props.active : VOID);
144738
145162
  closedAt = ('closedAt' in props ? props.closedAt : VOID);
144739
145163
  if (typeof closedAt === 'string') {
145164
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(closedAt)) closedAt += ':00Z';
145165
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(closedAt)) closedAt += 'Z';
144740
145166
  const companion = Companion_getInstancec1c8yhxwuclv();
144741
145167
  closedAt = companion.gp(closedAt);
144742
145168
  } else if (closedAt != null && typeof closedAt === 'object' && typeof closedAt.getTime === 'function') {
@@ -145844,6 +146270,8 @@ function UpdateTaskCommand(description, dueDate, intervalStart, intervalType, in
145844
146270
  description = ('description' in props ? props.description : VOID);
145845
146271
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
145846
146272
  if (typeof dueDate === 'string') {
146273
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(dueDate)) dueDate += ':00Z';
146274
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(dueDate)) dueDate += 'Z';
145847
146275
  const companion = Companion_getInstancec1c8yhxwuclv();
145848
146276
  dueDate = companion.gp(dueDate);
145849
146277
  } else if (dueDate != null && typeof dueDate === 'object' && typeof dueDate.getTime === 'function') {
@@ -145852,6 +146280,8 @@ function UpdateTaskCommand(description, dueDate, intervalStart, intervalType, in
145852
146280
  }
145853
146281
  intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
145854
146282
  if (typeof intervalStart === 'string') {
146283
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(intervalStart)) intervalStart += ':00Z';
146284
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(intervalStart)) intervalStart += 'Z';
145855
146285
  const companion = Companion_getInstancec1c8yhxwuclv();
145856
146286
  intervalStart = companion.gp(intervalStart);
145857
146287
  } else if (intervalStart != null && typeof intervalStart === 'object' && typeof intervalStart.getTime === 'function') {
@@ -146073,6 +146503,8 @@ function UpsertOrdinancesCommand(byLawsCompliantFrom, byLawsDocumentId, byLawsVa
146073
146503
  const props = byLawsCompliantFrom;
146074
146504
  byLawsCompliantFrom = ('byLawsCompliantFrom' in props ? props.byLawsCompliantFrom : VOID);
146075
146505
  if (typeof byLawsCompliantFrom === 'string') {
146506
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(byLawsCompliantFrom)) byLawsCompliantFrom += ':00Z';
146507
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(byLawsCompliantFrom)) byLawsCompliantFrom += 'Z';
146076
146508
  const companion = Companion_getInstancec1c8yhxwuclv();
146077
146509
  byLawsCompliantFrom = companion.gp(byLawsCompliantFrom);
146078
146510
  } else if (byLawsCompliantFrom != null && typeof byLawsCompliantFrom === 'object' && typeof byLawsCompliantFrom.getTime === 'function') {
@@ -146082,6 +146514,8 @@ function UpsertOrdinancesCommand(byLawsCompliantFrom, byLawsDocumentId, byLawsVa
146082
146514
  byLawsDocumentId = ('byLawsDocumentId' in props ? props.byLawsDocumentId : VOID);
146083
146515
  byLawsValidFrom = ('byLawsValidFrom' in props ? props.byLawsValidFrom : VOID);
146084
146516
  if (typeof byLawsValidFrom === 'string') {
146517
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(byLawsValidFrom)) byLawsValidFrom += ':00Z';
146518
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(byLawsValidFrom)) byLawsValidFrom += 'Z';
146085
146519
  const companion = Companion_getInstancec1c8yhxwuclv();
146086
146520
  byLawsValidFrom = companion.gp(byLawsValidFrom);
146087
146521
  } else if (byLawsValidFrom != null && typeof byLawsValidFrom === 'object' && typeof byLawsValidFrom.getTime === 'function') {