@solibo/solibo-sdk 1.5.5 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3052,6 +3052,8 @@ initMetadataForCoroutine($deleteUserImageCOROUTINE$, CoroutineImpl);
3052
3052
  initMetadataForCoroutine($deleteUserImage$suspendBridgeCOROUTINE$, CoroutineImpl);
3053
3053
  initMetadataForCoroutine($indexUserConversationsCOROUTINE$, CoroutineImpl);
3054
3054
  initMetadataForCoroutine($indexUserConversations$suspendBridgeCOROUTINE$, CoroutineImpl);
3055
+ initMetadataForCoroutine($meCOROUTINE$, CoroutineImpl);
3056
+ initMetadataForCoroutine($me$suspendBridgeCOROUTINE$, CoroutineImpl);
3055
3057
  initMetadataForCoroutine($showAuthedUserCOROUTINE$, CoroutineImpl);
3056
3058
  initMetadataForCoroutine($showAuthedUser$suspendBridgeCOROUTINE$, CoroutineImpl);
3057
3059
  initMetadataForCoroutine($showUserCOROUTINE$, CoroutineImpl);
@@ -3785,7 +3787,8 @@ function ActivateCompanyForTriplewinCommand(mode) {
3785
3787
  if (arguments.length === 1 && typeof mode === 'object' && mode !== null && mode.constructor === Object) {
3786
3788
  const props = mode;
3787
3789
  mode = ('mode' in props ? props.mode : VOID);
3788
- if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
3790
+ if (typeof mode === 'string') mode = InvoicePlanMode.valueOf(mode);
3791
+ else if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode) && mode.value != null) mode = InvoicePlanMode.valueOf(mode.value);
3789
3792
  }
3790
3793
  Companion_getInstance_4();
3791
3794
  mode = mode === VOID ? null : mode;
@@ -7054,7 +7057,8 @@ function AuthChallenge(params, type) {
7054
7057
  const props = params;
7055
7058
  params = ('params' in props ? props.params : VOID);
7056
7059
  type = ('type' in props ? props.type : VOID);
7057
- if (typeof type === 'object' && type !== null && !(type instanceof AuthChallengeType)) type = new AuthChallengeType(type);
7060
+ if (typeof type === 'string') type = AuthChallengeType.valueOf(type);
7061
+ else if (typeof type === 'object' && type !== null && !(type instanceof AuthChallengeType) && type.value != null) type = AuthChallengeType.valueOf(type.value);
7058
7062
  }
7059
7063
  Companion_getInstance_20();
7060
7064
  this.params = params;
@@ -9840,7 +9844,8 @@ function CategoryInConversation(color, id, name) {
9840
9844
  if (arguments.length === 1 && typeof color === 'object' && color !== null && color.constructor === Object) {
9841
9845
  const props = color;
9842
9846
  color = ('color' in props ? props.color : VOID);
9843
- if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor)) color = new CategoryColor(color);
9847
+ if (typeof color === 'string') color = CategoryColor.valueOf(color);
9848
+ else if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor) && color.value != null) color = CategoryColor.valueOf(color.value);
9844
9849
  id = ('id' in props ? props.id : VOID);
9845
9850
  name = ('name' in props ? props.name : VOID);
9846
9851
  }
@@ -10846,7 +10851,8 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
10846
10851
  if (arguments.length === 1 && typeof communicationType === 'object' && communicationType !== null && communicationType.constructor === Object) {
10847
10852
  const props = communicationType;
10848
10853
  communicationType = ('communicationType' in props ? props.communicationType : VOID);
10849
- if (typeof communicationType === 'object' && communicationType !== null && !(communicationType instanceof CommunicationMessageType)) communicationType = new CommunicationMessageType(communicationType);
10854
+ if (typeof communicationType === 'string') communicationType = CommunicationMessageType.valueOf(communicationType);
10855
+ else if (typeof communicationType === 'object' && communicationType !== null && !(communicationType instanceof CommunicationMessageType) && communicationType.value != null) communicationType = CommunicationMessageType.valueOf(communicationType.value);
10850
10856
  finishedAt = ('finishedAt' in props ? props.finishedAt : VOID);
10851
10857
  if (typeof finishedAt === 'string') {
10852
10858
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(finishedAt)) finishedAt += ':00Z';
@@ -10869,7 +10875,8 @@ function CommunicationChannelReport(communicationType, finishedAt, recipient, se
10869
10875
  sentAt = companion.ef(BigInt(sentAt.getTime()));
10870
10876
  }
10871
10877
  status = ('status' in props ? props.status : VOID);
10872
- if (typeof status === 'object' && status !== null && !(status instanceof CommunicationState)) status = new CommunicationState(status);
10878
+ if (typeof status === 'string') status = CommunicationState.valueOf(status);
10879
+ else if (typeof status === 'object' && status !== null && !(status instanceof CommunicationState) && status.value != null) status = CommunicationState.valueOf(status.value);
10873
10880
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
10874
10881
  if (typeof updatedAt === 'string') {
10875
10882
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
@@ -11283,7 +11290,8 @@ function CommunicationRecipientReport(email, id, name, notificationGroups, orgNr
11283
11290
  push = ('push' in props ? props.push : VOID);
11284
11291
  if (typeof push === 'object' && push !== null && !(push instanceof CommunicationChannelReport)) push = new CommunicationChannelReport(push);
11285
11292
  recipientType = ('recipientType' in props ? props.recipientType : VOID);
11286
- if (typeof recipientType === 'object' && recipientType !== null && !(recipientType instanceof CommunicationRecipientType)) recipientType = new CommunicationRecipientType(recipientType);
11293
+ if (typeof recipientType === 'string') recipientType = CommunicationRecipientType.valueOf(recipientType);
11294
+ else if (typeof recipientType === 'object' && recipientType !== null && !(recipientType instanceof CommunicationRecipientType) && recipientType.value != null) recipientType = CommunicationRecipientType.valueOf(recipientType.value);
11287
11295
  sms = ('sms' in props ? props.sms : VOID);
11288
11296
  if (typeof sms === 'object' && sms !== null && !(sms instanceof CommunicationChannelReport)) sms = new CommunicationChannelReport(sms);
11289
11297
  }
@@ -12097,7 +12105,8 @@ function Company(addresses, buildings, classification, country, id, managed, nam
12097
12105
  organizationId = ('organizationId' in props ? props.organizationId : VOID);
12098
12106
  slug = ('slug' in props ? props.slug : VOID);
12099
12107
  status = ('status' in props ? props.status : VOID);
12100
- if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus)) status = new CompanyStatus(status);
12108
+ if (typeof status === 'string') status = CompanyStatus.valueOf(status);
12109
+ else if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus) && status.value != null) status = CompanyStatus.valueOf(status.value);
12101
12110
  subTypes = ('subTypes' in props ? props.subTypes : VOID);
12102
12111
  if (Array.isArray(subTypes)) {
12103
12112
  subTypes = subTypes.map(i => (typeof i === 'object' && i !== null && !(i instanceof CompanySubType)) ? new CompanySubType(i) : i);
@@ -13265,7 +13274,8 @@ function CompanyDetailed(address, administratorOrgNr, businessAgreement, classif
13265
13274
  if (typeof sections === 'object' && sections !== null && !(sections instanceof CompanySectionOverview)) sections = new CompanySectionOverview(sections);
13266
13275
  slug = ('slug' in props ? props.slug : VOID);
13267
13276
  status = ('status' in props ? props.status : VOID);
13268
- if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus)) status = new CompanyStatus(status);
13277
+ if (typeof status === 'string') status = CompanyStatus.valueOf(status);
13278
+ else if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus) && status.value != null) status = CompanyStatus.valueOf(status.value);
13269
13279
  subTypes = ('subTypes' in props ? props.subTypes : VOID);
13270
13280
  if (Array.isArray(subTypes)) {
13271
13281
  subTypes = subTypes.map(i => (typeof i === 'object' && i !== null && !(i instanceof CompanySubType)) ? new CompanySubType(i) : i);
@@ -15161,7 +15171,8 @@ function CompanyRelation(classification, fraction, id, name, orgNr, relation) {
15161
15171
  name = ('name' in props ? props.name : VOID);
15162
15172
  orgNr = ('orgNr' in props ? props.orgNr : VOID);
15163
15173
  relation = ('relation' in props ? props.relation : VOID);
15164
- if (typeof relation === 'object' && relation !== null && !(relation instanceof RelationType)) relation = new RelationType(relation);
15174
+ if (typeof relation === 'string') relation = RelationType.valueOf(relation);
15175
+ else if (typeof relation === 'object' && relation !== null && !(relation instanceof RelationType) && relation.value != null) relation = RelationType.valueOf(relation.value);
15165
15176
  }
15166
15177
  Companion_getInstance_58();
15167
15178
  fraction = fraction === VOID ? null : fraction;
@@ -17010,7 +17021,8 @@ function ContactOrderCommand(company, email, orderType) {
17010
17021
  company = ('company' in props ? props.company : VOID);
17011
17022
  email = ('email' in props ? props.email : VOID);
17012
17023
  orderType = ('orderType' in props ? props.orderType : VOID);
17013
- if (typeof orderType === 'object' && orderType !== null && !(orderType instanceof OrderType)) orderType = new OrderType(orderType);
17024
+ if (typeof orderType === 'string') orderType = OrderType.valueOf(orderType);
17025
+ else if (typeof orderType === 'object' && orderType !== null && !(orderType instanceof OrderType) && orderType.value != null) orderType = OrderType.valueOf(orderType.value);
17014
17026
  }
17015
17027
  Companion_getInstance_68();
17016
17028
  this.company = company;
@@ -17746,10 +17758,12 @@ function Conversation(category, companyId, conversationStartedAt, documents, eve
17746
17758
  relatedIssues = __soliboKtListFromJsArray(relatedIssues);
17747
17759
  }
17748
17760
  status = ('status' in props ? props.status : VOID);
17749
- if (typeof status === 'object' && status !== null && !(status instanceof ConversationStatus)) status = new ConversationStatus(status);
17761
+ if (typeof status === 'string') status = ConversationStatus.valueOf(status);
17762
+ else if (typeof status === 'object' && status !== null && !(status instanceof ConversationStatus) && status.value != null) status = ConversationStatus.valueOf(status.value);
17750
17763
  title = ('title' in props ? props.title : VOID);
17751
17764
  type = ('type' in props ? props.type : VOID);
17752
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
17765
+ if (typeof type === 'string') type = MessageType.valueOf(type);
17766
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
17753
17767
  }
17754
17768
  Companion_getInstance_71();
17755
17769
  category = category === VOID ? null : category;
@@ -18077,7 +18091,8 @@ function ConversationCategory(color, id, name) {
18077
18091
  if (arguments.length === 1 && typeof color === 'object' && color !== null && color.constructor === Object) {
18078
18092
  const props = color;
18079
18093
  color = ('color' in props ? props.color : VOID);
18080
- if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor)) color = new CategoryColor(color);
18094
+ if (typeof color === 'string') color = CategoryColor.valueOf(color);
18095
+ else if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor) && color.value != null) color = CategoryColor.valueOf(color.value);
18081
18096
  id = ('id' in props ? props.id : VOID);
18082
18097
  name = ('name' in props ? props.name : VOID);
18083
18098
  }
@@ -18923,7 +18938,8 @@ function ConversationEvent(description, descriptionMeta, eventType, performedAt,
18923
18938
  description = ('description' in props ? props.description : VOID);
18924
18939
  descriptionMeta = ('descriptionMeta' in props ? props.descriptionMeta : VOID);
18925
18940
  eventType = ('eventType' in props ? props.eventType : VOID);
18926
- if (typeof eventType === 'object' && eventType !== null && !(eventType instanceof ConversationEventType)) eventType = new ConversationEventType(eventType);
18941
+ if (typeof eventType === 'string') eventType = ConversationEventType.valueOf(eventType);
18942
+ else if (typeof eventType === 'object' && eventType !== null && !(eventType instanceof ConversationEventType) && eventType.value != null) eventType = ConversationEventType.valueOf(eventType.value);
18927
18943
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
18928
18944
  if (typeof performedAt === 'string') {
18929
18945
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(performedAt)) performedAt += ':00Z';
@@ -20094,7 +20110,8 @@ function ConversationParticipantMeta(participantId, participantType) {
20094
20110
  const props = participantId;
20095
20111
  participantId = ('participantId' in props ? props.participantId : VOID);
20096
20112
  participantType = ('participantType' in props ? props.participantType : VOID);
20097
- if (typeof participantType === 'object' && participantType !== null && !(participantType instanceof ParticipantType)) participantType = new ParticipantType(participantType);
20113
+ if (typeof participantType === 'string') participantType = ParticipantType.valueOf(participantType);
20114
+ else if (typeof participantType === 'object' && participantType !== null && !(participantType instanceof ParticipantType) && participantType.value != null) participantType = ParticipantType.valueOf(participantType.value);
20098
20115
  }
20099
20116
  Companion_getInstance_82();
20100
20117
  this.participantId = participantId;
@@ -23134,7 +23151,8 @@ function CreateCompany(addresses, buildings, businessAgreement, classification,
23134
23151
  if (typeof secondaryActions === 'object' && secondaryActions !== null && !(secondaryActions instanceof SecondaryActions)) secondaryActions = new SecondaryActions(secondaryActions);
23135
23152
  slug = ('slug' in props ? props.slug : VOID);
23136
23153
  status = ('status' in props ? props.status : VOID);
23137
- if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus)) status = new CompanyStatus(status);
23154
+ if (typeof status === 'string') status = CompanyStatus.valueOf(status);
23155
+ else if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus) && status.value != null) status = CompanyStatus.valueOf(status.value);
23138
23156
  storageRooms = ('storageRooms' in props ? props.storageRooms : VOID);
23139
23157
  if (Array.isArray(storageRooms)) {
23140
23158
  storageRooms = storageRooms.map(i => (typeof i === 'object' && i !== null && !(i instanceof CreateStorageRoom)) ? new CreateStorageRoom(i) : i);
@@ -23598,7 +23616,8 @@ function CreateConversationCategoryCommand(coResponsibleIds, color, contactCateg
23598
23616
  const props = coResponsibleIds;
23599
23617
  coResponsibleIds = ('coResponsibleIds' in props ? props.coResponsibleIds : VOID);
23600
23618
  color = ('color' in props ? props.color : VOID);
23601
- if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor)) color = new CategoryColor(color);
23619
+ if (typeof color === 'string') color = CategoryColor.valueOf(color);
23620
+ else if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor) && color.value != null) color = CategoryColor.valueOf(color.value);
23602
23621
  contactCategory = ('contactCategory' in props ? props.contactCategory : VOID);
23603
23622
  description = ('description' in props ? props.description : VOID);
23604
23623
  name = ('name' in props ? props.name : VOID);
@@ -26145,7 +26164,8 @@ function CreateInternalMessageCommand(attachmentIds, content, emailContent, type
26145
26164
  emailContent = ('emailContent' in props ? props.emailContent : VOID);
26146
26165
  if (typeof emailContent === 'object' && emailContent !== null && !(emailContent instanceof MessageEmailContent)) emailContent = new MessageEmailContent(emailContent);
26147
26166
  type = ('type' in props ? props.type : VOID);
26148
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
26167
+ if (typeof type === 'string') type = MessageType.valueOf(type);
26168
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
26149
26169
  }
26150
26170
  Companion_getInstance_108();
26151
26171
  attachmentIds = attachmentIds === VOID ? null : attachmentIds;
@@ -26380,7 +26400,8 @@ function CreateInvoiceDistributionCommand(description, fractions, lines, name, t
26380
26400
  }
26381
26401
  name = ('name' in props ? props.name : VOID);
26382
26402
  type = ('type' in props ? props.type : VOID);
26383
- if (typeof type === 'object' && type !== null && !(type instanceof InvoiceDistributionType)) type = new InvoiceDistributionType(type);
26403
+ if (typeof type === 'string') type = InvoiceDistributionType.valueOf(type);
26404
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoiceDistributionType) && type.value != null) type = InvoiceDistributionType.valueOf(type.value);
26384
26405
  }
26385
26406
  Companion_getInstance_109();
26386
26407
  lines = lines === VOID ? null : lines;
@@ -26793,7 +26814,8 @@ function CreateInvoicePlanCommand(attachments, distributions, lines, name, setti
26793
26814
  settings = ('settings' in props ? props.settings : VOID);
26794
26815
  if (typeof settings === 'object' && settings !== null && !(settings instanceof CreateInvoicePlanSettingsCommand)) settings = new CreateInvoicePlanSettingsCommand(settings);
26795
26816
  type = ('type' in props ? props.type : VOID);
26796
- if (typeof type === 'object' && type !== null && !(type instanceof InvoicePlanType)) type = new InvoicePlanType(type);
26817
+ if (typeof type === 'string') type = InvoicePlanType.valueOf(type);
26818
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoicePlanType) && type.value != null) type = InvoicePlanType.valueOf(type.value);
26797
26819
  }
26798
26820
  Companion_getInstance_111();
26799
26821
  attachments = attachments === VOID ? null : attachments;
@@ -27094,7 +27116,8 @@ function CreateInvoicePlanLineCommand(account, amount, description, distribution
27094
27116
  description = ('description' in props ? props.description : VOID);
27095
27117
  distributionId = ('distributionId' in props ? props.distributionId : VOID);
27096
27118
  inlineDistributionType = ('inlineDistributionType' in props ? props.inlineDistributionType : VOID);
27097
- if (typeof inlineDistributionType === 'object' && inlineDistributionType !== null && !(inlineDistributionType instanceof InlineDistributionType)) inlineDistributionType = new InlineDistributionType(inlineDistributionType);
27119
+ if (typeof inlineDistributionType === 'string') inlineDistributionType = InlineDistributionType.valueOf(inlineDistributionType);
27120
+ else if (typeof inlineDistributionType === 'object' && inlineDistributionType !== null && !(inlineDistributionType instanceof InlineDistributionType) && inlineDistributionType.value != null) inlineDistributionType = InlineDistributionType.valueOf(inlineDistributionType.value);
27098
27121
  name = ('name' in props ? props.name : VOID);
27099
27122
  periodisering = ('periodisering' in props ? props.periodisering : VOID);
27100
27123
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
@@ -27484,10 +27507,12 @@ function CreateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
27484
27507
  description = ('description' in props ? props.description : VOID);
27485
27508
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
27486
27509
  interval = ('interval' in props ? props.interval : VOID);
27487
- if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval)) interval = new InvoicePlanInterval(interval);
27510
+ if (typeof interval === 'string') interval = InvoicePlanInterval.valueOf(interval);
27511
+ else if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval) && interval.value != null) interval = InvoicePlanInterval.valueOf(interval.value);
27488
27512
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
27489
27513
  mode = ('mode' in props ? props.mode : VOID);
27490
- if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
27514
+ if (typeof mode === 'string') mode = InvoicePlanMode.valueOf(mode);
27515
+ else if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode) && mode.value != null) mode = InvoicePlanMode.valueOf(mode.value);
27491
27516
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
27492
27517
  if (typeof oneTimeDate === 'string') {
27493
27518
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
@@ -29216,7 +29241,8 @@ function CreateMessageCommand(attachmentIds, content, emailContent, type) {
29216
29241
  emailContent = ('emailContent' in props ? props.emailContent : VOID);
29217
29242
  if (typeof emailContent === 'object' && emailContent !== null && !(emailContent instanceof MessageEmailContent)) emailContent = new MessageEmailContent(emailContent);
29218
29243
  type = ('type' in props ? props.type : VOID);
29219
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
29244
+ if (typeof type === 'string') type = MessageType.valueOf(type);
29245
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
29220
29246
  }
29221
29247
  Companion_getInstance_122();
29222
29248
  attachmentIds = attachmentIds === VOID ? null : attachmentIds;
@@ -30706,7 +30732,8 @@ function CreateParkingSpace(charger, classification, identifier, note) {
30706
30732
  const props = charger;
30707
30733
  charger = ('charger' in props ? props.charger : VOID);
30708
30734
  classification = ('classification' in props ? props.classification : VOID);
30709
- if (typeof classification === 'object' && classification !== null && !(classification instanceof ParkingSpaceType)) classification = new ParkingSpaceType(classification);
30735
+ if (typeof classification === 'string') classification = ParkingSpaceType.valueOf(classification);
30736
+ else if (typeof classification === 'object' && classification !== null && !(classification instanceof ParkingSpaceType) && classification.value != null) classification = ParkingSpaceType.valueOf(classification.value);
30710
30737
  identifier = ('identifier' in props ? props.identifier : VOID);
30711
30738
  note = ('note' in props ? props.note : VOID);
30712
30739
  }
@@ -30919,7 +30946,8 @@ function CreateParkingSpaceCommand(charger, identifier, note, spaceType) {
30919
30946
  identifier = ('identifier' in props ? props.identifier : VOID);
30920
30947
  note = ('note' in props ? props.note : VOID);
30921
30948
  spaceType = ('spaceType' in props ? props.spaceType : VOID);
30922
- if (typeof spaceType === 'object' && spaceType !== null && !(spaceType instanceof ParkingSpaceType)) spaceType = new ParkingSpaceType(spaceType);
30949
+ if (typeof spaceType === 'string') spaceType = ParkingSpaceType.valueOf(spaceType);
30950
+ else if (typeof spaceType === 'object' && spaceType !== null && !(spaceType instanceof ParkingSpaceType) && spaceType.value != null) spaceType = ParkingSpaceType.valueOf(spaceType.value);
30923
30951
  }
30924
30952
  Companion_getInstance_128();
30925
30953
  charger = charger === VOID ? null : charger;
@@ -33450,9 +33478,11 @@ function CreateRoutineCommand(description, draftId, dueDateOffset, recommendedIn
33450
33478
  draftId = ('draftId' in props ? props.draftId : VOID);
33451
33479
  dueDateOffset = ('dueDateOffset' in props ? props.dueDateOffset : VOID);
33452
33480
  recommendedIntervalMethod = ('recommendedIntervalMethod' in props ? props.recommendedIntervalMethod : VOID);
33453
- if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod)) recommendedIntervalMethod = new RoutineMethod(recommendedIntervalMethod);
33481
+ if (typeof recommendedIntervalMethod === 'string') recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod);
33482
+ else if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod) && recommendedIntervalMethod.value != null) recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod.value);
33454
33483
  recommendedIntervalType = ('recommendedIntervalType' in props ? props.recommendedIntervalType : VOID);
33455
- if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval)) recommendedIntervalType = new RoutineInterval(recommendedIntervalType);
33484
+ if (typeof recommendedIntervalType === 'string') recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType);
33485
+ else if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval) && recommendedIntervalType.value != null) recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType.value);
33456
33486
  recommendedIntervalValue = ('recommendedIntervalValue' in props ? props.recommendedIntervalValue : VOID);
33457
33487
  requiresSupplier = ('requiresSupplier' in props ? props.requiresSupplier : VOID);
33458
33488
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
@@ -33470,7 +33500,8 @@ function CreateRoutineCommand(description, draftId, dueDateOffset, recommendedIn
33470
33500
  svgName = ('svgName' in props ? props.svgName : VOID);
33471
33501
  title = ('title' in props ? props.title : VOID);
33472
33502
  type = ('type' in props ? props.type : VOID);
33473
- if (typeof type === 'object' && type !== null && !(type instanceof RoutineType)) type = new RoutineType(type);
33503
+ if (typeof type === 'string') type = RoutineType.valueOf(type);
33504
+ else if (typeof type === 'object' && type !== null && !(type instanceof RoutineType) && type.value != null) type = RoutineType.valueOf(type.value);
33474
33505
  }
33475
33506
  Companion_getInstance_136();
33476
33507
  description = description === VOID ? null : description;
@@ -34236,7 +34267,8 @@ function CreateSection(apartmentNr, buildingId, classification, floorId, fractio
34236
34267
  apartmentNr = ('apartmentNr' in props ? props.apartmentNr : VOID);
34237
34268
  buildingId = ('buildingId' in props ? props.buildingId : VOID);
34238
34269
  classification = ('classification' in props ? props.classification : VOID);
34239
- if (typeof classification === 'object' && classification !== null && !(classification instanceof SectionType)) classification = new SectionType(classification);
34270
+ if (typeof classification === 'string') classification = SectionType.valueOf(classification);
34271
+ else if (typeof classification === 'object' && classification !== null && !(classification instanceof SectionType) && classification.value != null) classification = SectionType.valueOf(classification.value);
34240
34272
  floorId = ('floorId' in props ? props.floorId : VOID);
34241
34273
  fractions = ('fractions' in props ? props.fractions : VOID);
34242
34274
  if (typeof fractions === 'object' && fractions !== null && !(fractions instanceof SectionFractions)) fractions = new SectionFractions(fractions);
@@ -34826,7 +34858,8 @@ function CreateSectionCommand(apartmentNr, buildingId, companyId, floorId, hNr,
34826
34858
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
34827
34859
  sectionAddressId = ('sectionAddressId' in props ? props.sectionAddressId : VOID);
34828
34860
  sectionType = ('sectionType' in props ? props.sectionType : VOID);
34829
- if (typeof sectionType === 'object' && sectionType !== null && !(sectionType instanceof SectionType)) sectionType = new SectionType(sectionType);
34861
+ if (typeof sectionType === 'string') sectionType = SectionType.valueOf(sectionType);
34862
+ else if (typeof sectionType === 'object' && sectionType !== null && !(sectionType instanceof SectionType) && sectionType.value != null) sectionType = SectionType.valueOf(sectionType.value);
34830
34863
  sectioningFraction = ('sectioningFraction' in props ? props.sectioningFraction : VOID);
34831
34864
  wealthFraction = ('wealthFraction' in props ? props.wealthFraction : VOID);
34832
34865
  }
@@ -35447,7 +35480,8 @@ function CreateSettlementCustomCostCommand(amount, description, settlementType,
35447
35480
  amount = ('amount' in props ? props.amount : VOID);
35448
35481
  description = ('description' in props ? props.description : VOID);
35449
35482
  settlementType = ('settlementType' in props ? props.settlementType : VOID);
35450
- if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType)) settlementType = new SettlementType(settlementType);
35483
+ if (typeof settlementType === 'string') settlementType = SettlementType.valueOf(settlementType);
35484
+ else if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType) && settlementType.value != null) settlementType = SettlementType.valueOf(settlementType.value);
35451
35485
  unitPrice = ('unitPrice' in props ? props.unitPrice : VOID);
35452
35486
  units = ('units' in props ? props.units : VOID);
35453
35487
  }
@@ -35761,7 +35795,8 @@ function CreateSettlementProviderConfigurationCommand(active, closedAt, endDate,
35761
35795
  relevantOrgnrs = ('relevantOrgnrs' in props ? props.relevantOrgnrs : VOID);
35762
35796
  resolverPrefix = ('resolverPrefix' in props ? props.resolverPrefix : VOID);
35763
35797
  settlementProvider = ('settlementProvider' in props ? props.settlementProvider : VOID);
35764
- if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider)) settlementProvider = new SettlementProvider(settlementProvider);
35798
+ if (typeof settlementProvider === 'string') settlementProvider = SettlementProvider.valueOf(settlementProvider);
35799
+ else if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider) && settlementProvider.value != null) settlementProvider = SettlementProvider.valueOf(settlementProvider.value);
35765
35800
  shouldInvoice = ('shouldInvoice' in props ? props.shouldInvoice : VOID);
35766
35801
  startDate = ('startDate' in props ? props.startDate : VOID);
35767
35802
  if (startDate != null && typeof startDate === 'object' && typeof startDate.getFullYear === 'function') {
@@ -36040,7 +36075,8 @@ function CreateStatusCommand(note, referencedOrganizationId, referencedPersonId,
36040
36075
  referencedOrganizationId = ('referencedOrganizationId' in props ? props.referencedOrganizationId : VOID);
36041
36076
  referencedPersonId = ('referencedPersonId' in props ? props.referencedPersonId : VOID);
36042
36077
  statusType = ('statusType' in props ? props.statusType : VOID);
36043
- if (typeof statusType === 'object' && statusType !== null && !(statusType instanceof SectionState)) statusType = new SectionState(statusType);
36078
+ if (typeof statusType === 'string') statusType = SectionState.valueOf(statusType);
36079
+ else if (typeof statusType === 'object' && statusType !== null && !(statusType instanceof SectionState) && statusType.value != null) statusType = SectionState.valueOf(statusType.value);
36044
36080
  }
36045
36081
  Companion_getInstance_143();
36046
36082
  note = note === VOID ? null : note;
@@ -37320,7 +37356,8 @@ function CreateTaskCommand(description, dueDate, intervalStart, intervalType, in
37320
37356
  intervalStart = companion.ef(BigInt(intervalStart.getTime()));
37321
37357
  }
37322
37358
  intervalType = ('intervalType' in props ? props.intervalType : VOID);
37323
- if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof RoutineInterval)) intervalType = new RoutineInterval(intervalType);
37359
+ if (typeof intervalType === 'string') intervalType = RoutineInterval.valueOf(intervalType);
37360
+ else if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof RoutineInterval) && intervalType.value != null) intervalType = RoutineInterval.valueOf(intervalType.value);
37324
37361
  intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
37325
37362
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
37326
37363
  title = ('title' in props ? props.title : VOID);
@@ -38718,7 +38755,8 @@ function CustomerMetadata(alternateEHFReference, companyId, customerId, customer
38718
38755
  customerId = ('customerId' in props ? props.customerId : VOID);
38719
38756
  customerReference = ('customerReference' in props ? props.customerReference : VOID);
38720
38757
  customerType = ('customerType' in props ? props.customerType : VOID);
38721
- if (typeof customerType === 'object' && customerType !== null && !(customerType instanceof CustomerType)) customerType = new CustomerType(customerType);
38758
+ if (typeof customerType === 'string') customerType = CustomerType.valueOf(customerType);
38759
+ else if (typeof customerType === 'object' && customerType !== null && !(customerType instanceof CustomerType) && customerType.value != null) customerType = CustomerType.valueOf(customerType.value);
38722
38760
  groupInvoices = ('groupInvoices' in props ? props.groupInvoices : VOID);
38723
38761
  id = ('id' in props ? props.id : VOID);
38724
38762
  overdueProcessing = ('overdueProcessing' in props ? props.overdueProcessing : VOID);
@@ -39047,7 +39085,8 @@ function Device(fcmDeviceType, fcmToken) {
39047
39085
  if (arguments.length === 1 && typeof fcmDeviceType === 'object' && fcmDeviceType !== null && fcmDeviceType.constructor === Object) {
39048
39086
  const props = fcmDeviceType;
39049
39087
  fcmDeviceType = ('fcmDeviceType' in props ? props.fcmDeviceType : VOID);
39050
- if (typeof fcmDeviceType === 'object' && fcmDeviceType !== null && !(fcmDeviceType instanceof FcmDeviceType)) fcmDeviceType = new FcmDeviceType(fcmDeviceType);
39088
+ if (typeof fcmDeviceType === 'string') fcmDeviceType = FcmDeviceType.valueOf(fcmDeviceType);
39089
+ else if (typeof fcmDeviceType === 'object' && fcmDeviceType !== null && !(fcmDeviceType instanceof FcmDeviceType) && fcmDeviceType.value != null) fcmDeviceType = FcmDeviceType.valueOf(fcmDeviceType.value);
39051
39090
  fcmToken = ('fcmToken' in props ? props.fcmToken : VOID);
39052
39091
  }
39053
39092
  Companion_getInstance_159();
@@ -40515,13 +40554,15 @@ function Document(belongsToId, children, companyId, createdAt, createdBy, create
40515
40554
  fileName = ('fileName' in props ? props.fileName : VOID);
40516
40555
  historicPath = ('historicPath' in props ? props.historicPath : VOID);
40517
40556
  historicType = ('historicType' in props ? props.historicType : VOID);
40518
- if (typeof historicType === 'object' && historicType !== null && !(historicType instanceof DocumentType)) historicType = new DocumentType(historicType);
40557
+ if (typeof historicType === 'string') historicType = DocumentType.valueOf(historicType);
40558
+ else if (typeof historicType === 'object' && historicType !== null && !(historicType instanceof DocumentType) && historicType.value != null) historicType = DocumentType.valueOf(historicType.value);
40519
40559
  id = ('id' in props ? props.id : VOID);
40520
40560
  isDirectory = ('isDirectory' in props ? props.isDirectory : VOID);
40521
40561
  ownedByUser = ('ownedByUser' in props ? props.ownedByUser : VOID);
40522
40562
  parentId = ('parentId' in props ? props.parentId : VOID);
40523
40563
  type = ('type' in props ? props.type : VOID);
40524
- if (typeof type === 'object' && type !== null && !(type instanceof DocumentType)) type = new DocumentType(type);
40564
+ if (typeof type === 'string') type = DocumentType.valueOf(type);
40565
+ else if (typeof type === 'object' && type !== null && !(type instanceof DocumentType) && type.value != null) type = DocumentType.valueOf(type.value);
40525
40566
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
40526
40567
  if (typeof updatedAt === 'string') {
40527
40568
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
@@ -41392,7 +41433,8 @@ function DraftOverview(id, name, orgNr, state) {
41392
41433
  name = ('name' in props ? props.name : VOID);
41393
41434
  orgNr = ('orgNr' in props ? props.orgNr : VOID);
41394
41435
  state = ('state' in props ? props.state : VOID);
41395
- if (typeof state === 'object' && state !== null && !(state instanceof KartverketFetchState)) state = new KartverketFetchState(state);
41436
+ if (typeof state === 'string') state = KartverketFetchState.valueOf(state);
41437
+ else if (typeof state === 'object' && state !== null && !(state instanceof KartverketFetchState) && state.value != null) state = KartverketFetchState.valueOf(state.value);
41396
41438
  }
41397
41439
  Companion_getInstance_168();
41398
41440
  id = id === VOID ? null : id;
@@ -41692,7 +41734,8 @@ function EconomicReport(companyId, departmentDocumentEnabled, departmentDocument
41692
41734
  projectDocumentId = ('projectDocumentId' in props ? props.projectDocumentId : VOID);
41693
41735
  reportDocumentId = ('reportDocumentId' in props ? props.reportDocumentId : VOID);
41694
41736
  status = ('status' in props ? props.status : VOID);
41695
- if (typeof status === 'object' && status !== null && !(status instanceof EconomicReportStatus)) status = new EconomicReportStatus(status);
41737
+ if (typeof status === 'string') status = EconomicReportStatus.valueOf(status);
41738
+ else if (typeof status === 'object' && status !== null && !(status instanceof EconomicReportStatus) && status.value != null) status = EconomicReportStatus.valueOf(status.value);
41696
41739
  }
41697
41740
  Companion_getInstance_169();
41698
41741
  departmentDocumentId = departmentDocumentId === VOID ? null : departmentDocumentId;
@@ -42218,7 +42261,8 @@ function EditResidencyCommand(roleType, sectionId, validFrom, validTo) {
42218
42261
  if (arguments.length === 1 && typeof roleType === 'object' && roleType !== null && roleType.constructor === Object) {
42219
42262
  const props = roleType;
42220
42263
  roleType = ('roleType' in props ? props.roleType : VOID);
42221
- if (typeof roleType === 'object' && roleType !== null && !(roleType instanceof RoleType)) roleType = new RoleType(roleType);
42264
+ if (typeof roleType === 'string') roleType = RoleType.valueOf(roleType);
42265
+ else if (typeof roleType === 'object' && roleType !== null && !(roleType instanceof RoleType) && roleType.value != null) roleType = RoleType.valueOf(roleType.value);
42222
42266
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
42223
42267
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
42224
42268
  if (typeof validFrom === 'string') {
@@ -42892,7 +42936,8 @@ function Expense(account, amount, createdAt, createdBy, dateOfPurchase, descript
42892
42936
  payableTo = ('payableTo' in props ? props.payableTo : VOID);
42893
42937
  if (typeof payableTo === 'object' && payableTo !== null && !(payableTo instanceof Person)) payableTo = new Person(payableTo);
42894
42938
  status = ('status' in props ? props.status : VOID);
42895
- if (typeof status === 'object' && status !== null && !(status instanceof ExpenseStatus)) status = new ExpenseStatus(status);
42939
+ if (typeof status === 'string') status = ExpenseStatus.valueOf(status);
42940
+ else if (typeof status === 'object' && status !== null && !(status instanceof ExpenseStatus) && status.value != null) status = ExpenseStatus.valueOf(status.value);
42896
42941
  }
42897
42942
  Companion_getInstance_175();
42898
42943
  description = description === VOID ? null : description;
@@ -43315,7 +43360,8 @@ function ExpenseProcessing(performedAt, performedBy, performedById, rejectionRea
43315
43360
  performedById = ('performedById' in props ? props.performedById : VOID);
43316
43361
  rejectionReason = ('rejectionReason' in props ? props.rejectionReason : VOID);
43317
43362
  result = ('result' in props ? props.result : VOID);
43318
- if (typeof result === 'object' && result !== null && !(result instanceof ExpenseProcessingResult)) result = new ExpenseProcessingResult(result);
43363
+ if (typeof result === 'string') result = ExpenseProcessingResult.valueOf(result);
43364
+ else if (typeof result === 'object' && result !== null && !(result instanceof ExpenseProcessingResult) && result.value != null) result = ExpenseProcessingResult.valueOf(result.value);
43319
43365
  }
43320
43366
  Companion_getInstance_177();
43321
43367
  performedAt = performedAt === VOID ? null : performedAt;
@@ -46409,7 +46455,8 @@ function FractionRecipient(gateadresse, id, name, postnummer, poststed, type) {
46409
46455
  postnummer = ('postnummer' in props ? props.postnummer : VOID);
46410
46456
  poststed = ('poststed' in props ? props.poststed : VOID);
46411
46457
  type = ('type' in props ? props.type : VOID);
46412
- if (typeof type === 'object' && type !== null && !(type instanceof FractionRecipientType)) type = new FractionRecipientType(type);
46458
+ if (typeof type === 'string') type = FractionRecipientType.valueOf(type);
46459
+ else if (typeof type === 'object' && type !== null && !(type instanceof FractionRecipientType) && type.value != null) type = FractionRecipientType.valueOf(type.value);
46413
46460
  }
46414
46461
  Companion_getInstance_193();
46415
46462
  gateadresse = gateadresse === VOID ? null : gateadresse;
@@ -48227,26 +48274,31 @@ function GenghisInvoice(credits, description, dueDate, externalReferenceId, id,
48227
48274
  payeeMeta = ('payeeMeta' in props ? props.payeeMeta : VOID);
48228
48275
  if (typeof payeeMeta === 'object' && payeeMeta !== null && !(payeeMeta instanceof InvoiceSubjectMeta)) payeeMeta = new InvoiceSubjectMeta(payeeMeta);
48229
48276
  payeeType = ('payeeType' in props ? props.payeeType : VOID);
48230
- if (typeof payeeType === 'object' && payeeType !== null && !(payeeType instanceof PayeeType)) payeeType = new PayeeType(payeeType);
48277
+ if (typeof payeeType === 'string') payeeType = PayeeType.valueOf(payeeType);
48278
+ else if (typeof payeeType === 'object' && payeeType !== null && !(payeeType instanceof PayeeType) && payeeType.value != null) payeeType = PayeeType.valueOf(payeeType.value);
48231
48279
  payer = ('payer' in props ? props.payer : VOID);
48232
48280
  payerMeta = ('payerMeta' in props ? props.payerMeta : VOID);
48233
48281
  if (typeof payerMeta === 'object' && payerMeta !== null && !(payerMeta instanceof InvoiceSubjectMeta)) payerMeta = new InvoiceSubjectMeta(payerMeta);
48234
48282
  payerType = ('payerType' in props ? props.payerType : VOID);
48235
- if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType)) payerType = new PayerType(payerType);
48283
+ if (typeof payerType === 'string') payerType = PayerType.valueOf(payerType);
48284
+ else if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType) && payerType.value != null) payerType = PayerType.valueOf(payerType.value);
48236
48285
  payments = ('payments' in props ? props.payments : VOID);
48237
48286
  if (Array.isArray(payments)) {
48238
48287
  payments = payments.map(i => (typeof i === 'object' && i !== null && !(i instanceof PaymentRecord)) ? new PaymentRecord(i) : i);
48239
48288
  payments = __soliboKtListFromJsArray(payments);
48240
48289
  }
48241
48290
  processType = ('processType' in props ? props.processType : VOID);
48242
- if (typeof processType === 'object' && processType !== null && !(processType instanceof InvoiceProcessType)) processType = new InvoiceProcessType(processType);
48291
+ if (typeof processType === 'string') processType = InvoiceProcessType.valueOf(processType);
48292
+ else if (typeof processType === 'object' && processType !== null && !(processType instanceof InvoiceProcessType) && processType.value != null) processType = InvoiceProcessType.valueOf(processType.value);
48243
48293
  sum = ('sum' in props ? props.sum : VOID);
48244
48294
  sumVAT = ('sumVAT' in props ? props.sumVAT : VOID);
48245
48295
  tenant = ('tenant' in props ? props.tenant : VOID);
48246
48296
  tenantType = ('tenantType' in props ? props.tenantType : VOID);
48247
- if (typeof tenantType === 'object' && tenantType !== null && !(tenantType instanceof TenantType)) tenantType = new TenantType(tenantType);
48297
+ if (typeof tenantType === 'string') tenantType = TenantType.valueOf(tenantType);
48298
+ else if (typeof tenantType === 'object' && tenantType !== null && !(tenantType instanceof TenantType) && tenantType.value != null) tenantType = TenantType.valueOf(tenantType.value);
48248
48299
  type = ('type' in props ? props.type : VOID);
48249
- if (typeof type === 'object' && type !== null && !(type instanceof InvoiceType)) type = new InvoiceType(type);
48300
+ if (typeof type === 'string') type = InvoiceType.valueOf(type);
48301
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoiceType) && type.value != null) type = InvoiceType.valueOf(type.value);
48250
48302
  vouchers = ('vouchers' in props ? props.vouchers : VOID);
48251
48303
  if (Array.isArray(vouchers)) {
48252
48304
  vouchers = vouchers.map(i => (typeof i === 'object' && i !== null && !(i instanceof GenghisVoucher)) ? new GenghisVoucher(i) : i);
@@ -49278,7 +49330,8 @@ function GenghisOverdueNotice(account, baseCost, createdAt, dueDate, interest, i
49278
49330
  interestAccount = ('interestAccount' in props ? props.interestAccount : VOID);
49279
49331
  interestSum = ('interestSum' in props ? props.interestSum : VOID);
49280
49332
  overdueNoticeOrder = ('overdueNoticeOrder' in props ? props.overdueNoticeOrder : VOID);
49281
- if (typeof overdueNoticeOrder === 'object' && overdueNoticeOrder !== null && !(overdueNoticeOrder instanceof OverdueNoticeOrder)) overdueNoticeOrder = new OverdueNoticeOrder(overdueNoticeOrder);
49333
+ if (typeof overdueNoticeOrder === 'string') overdueNoticeOrder = OverdueNoticeOrder.valueOf(overdueNoticeOrder);
49334
+ else if (typeof overdueNoticeOrder === 'object' && overdueNoticeOrder !== null && !(overdueNoticeOrder instanceof OverdueNoticeOrder) && overdueNoticeOrder.value != null) overdueNoticeOrder = OverdueNoticeOrder.valueOf(overdueNoticeOrder.value);
49282
49335
  sum = ('sum' in props ? props.sum : VOID);
49283
49336
  }
49284
49337
  Companion_getInstance_203();
@@ -52910,12 +52963,14 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
52910
52963
  payeeMeta = ('payeeMeta' in props ? props.payeeMeta : VOID);
52911
52964
  if (typeof payeeMeta === 'object' && payeeMeta !== null && !(payeeMeta instanceof InvoiceSubjectMeta)) payeeMeta = new InvoiceSubjectMeta(payeeMeta);
52912
52965
  payeeType = ('payeeType' in props ? props.payeeType : VOID);
52913
- if (typeof payeeType === 'object' && payeeType !== null && !(payeeType instanceof PayeeType)) payeeType = new PayeeType(payeeType);
52966
+ if (typeof payeeType === 'string') payeeType = PayeeType.valueOf(payeeType);
52967
+ else if (typeof payeeType === 'object' && payeeType !== null && !(payeeType instanceof PayeeType) && payeeType.value != null) payeeType = PayeeType.valueOf(payeeType.value);
52914
52968
  payer = ('payer' in props ? props.payer : VOID);
52915
52969
  payerMeta = ('payerMeta' in props ? props.payerMeta : VOID);
52916
52970
  if (typeof payerMeta === 'object' && payerMeta !== null && !(payerMeta instanceof InvoiceSubjectMeta)) payerMeta = new InvoiceSubjectMeta(payerMeta);
52917
52971
  payerType = ('payerType' in props ? props.payerType : VOID);
52918
- if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType)) payerType = new PayerType(payerType);
52972
+ if (typeof payerType === 'string') payerType = PayerType.valueOf(payerType);
52973
+ else if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType) && payerType.value != null) payerType = PayerType.valueOf(payerType.value);
52919
52974
  payments = ('payments' in props ? props.payments : VOID);
52920
52975
  if (Array.isArray(payments)) {
52921
52976
  payments = payments.map(i => (typeof i === 'object' && i !== null && !(i instanceof PaymentRecord)) ? new PaymentRecord(i) : i);
@@ -52931,9 +52986,11 @@ function Invoice(boligNr, credits, description, dueDate, externalReferenceId, id
52931
52986
  sumVAT = ('sumVAT' in props ? props.sumVAT : VOID);
52932
52987
  tenant = ('tenant' in props ? props.tenant : VOID);
52933
52988
  tenantType = ('tenantType' in props ? props.tenantType : VOID);
52934
- if (typeof tenantType === 'object' && tenantType !== null && !(tenantType instanceof TenantType)) tenantType = new TenantType(tenantType);
52989
+ if (typeof tenantType === 'string') tenantType = TenantType.valueOf(tenantType);
52990
+ else if (typeof tenantType === 'object' && tenantType !== null && !(tenantType instanceof TenantType) && tenantType.value != null) tenantType = TenantType.valueOf(tenantType.value);
52935
52991
  type = ('type' in props ? props.type : VOID);
52936
- if (typeof type === 'object' && type !== null && !(type instanceof InvoiceType)) type = new InvoiceType(type);
52992
+ if (typeof type === 'string') type = InvoiceType.valueOf(type);
52993
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoiceType) && type.value != null) type = InvoiceType.valueOf(type.value);
52937
52994
  vouchers = ('vouchers' in props ? props.vouchers : VOID);
52938
52995
  if (Array.isArray(vouchers)) {
52939
52996
  vouchers = vouchers.map(i => (typeof i === 'object' && i !== null && !(i instanceof Voucher)) ? new Voucher(i) : i);
@@ -53875,7 +53932,8 @@ function InvoiceDistributionFractionInput(denominator, distributionType, numerat
53875
53932
  const props = denominator;
53876
53933
  denominator = ('denominator' in props ? props.denominator : VOID);
53877
53934
  distributionType = ('distributionType' in props ? props.distributionType : VOID);
53878
- if (typeof distributionType === 'object' && distributionType !== null && !(distributionType instanceof InvoiceDistributionReceiverType)) distributionType = new InvoiceDistributionReceiverType(distributionType);
53935
+ if (typeof distributionType === 'string') distributionType = InvoiceDistributionReceiverType.valueOf(distributionType);
53936
+ else if (typeof distributionType === 'object' && distributionType !== null && !(distributionType instanceof InvoiceDistributionReceiverType) && distributionType.value != null) distributionType = InvoiceDistributionReceiverType.valueOf(distributionType.value);
53879
53937
  numerator = ('numerator' in props ? props.numerator : VOID);
53880
53938
  receiverId = ('receiverId' in props ? props.receiverId : VOID);
53881
53939
  }
@@ -55138,7 +55196,8 @@ function InvoiceLog(invoiceId, message, state, timestamp) {
55138
55196
  invoiceId = ('invoiceId' in props ? props.invoiceId : VOID);
55139
55197
  message = ('message' in props ? props.message : VOID);
55140
55198
  state = ('state' in props ? props.state : VOID);
55141
- if (typeof state === 'object' && state !== null && !(state instanceof InvoiceState)) state = new InvoiceState(state);
55199
+ if (typeof state === 'string') state = InvoiceState.valueOf(state);
55200
+ else if (typeof state === 'object' && state !== null && !(state instanceof InvoiceState) && state.value != null) state = InvoiceState.valueOf(state.value);
55142
55201
  timestamp = ('timestamp' in props ? props.timestamp : VOID);
55143
55202
  }
55144
55203
  Companion_getInstance_227();
@@ -55542,7 +55601,8 @@ function InvoicePlan(active, companyId, createdAt, createdBy, distributions, id,
55542
55601
  transactions = __soliboKtListFromJsArray(transactions);
55543
55602
  }
55544
55603
  type = ('type' in props ? props.type : VOID);
55545
- if (typeof type === 'object' && type !== null && !(type instanceof InvoicePlanType)) type = new InvoicePlanType(type);
55604
+ if (typeof type === 'string') type = InvoicePlanType.valueOf(type);
55605
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoicePlanType) && type.value != null) type = InvoicePlanType.valueOf(type.value);
55546
55606
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
55547
55607
  if (typeof updatedAt === 'string') {
55548
55608
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updatedAt)) updatedAt += ':00Z';
@@ -55941,7 +56001,8 @@ function InvoicePlanDistribution(createdAt, createdBy, description, fractions, i
55941
56001
  invoicePlanId = ('invoicePlanId' in props ? props.invoicePlanId : VOID);
55942
56002
  name = ('name' in props ? props.name : VOID);
55943
56003
  type = ('type' in props ? props.type : VOID);
55944
- if (typeof type === 'object' && type !== null && !(type instanceof InvoiceDistributionType)) type = new InvoiceDistributionType(type);
56004
+ if (typeof type === 'string') type = InvoiceDistributionType.valueOf(type);
56005
+ else if (typeof type === 'object' && type !== null && !(type instanceof InvoiceDistributionType) && type.value != null) type = InvoiceDistributionType.valueOf(type.value);
55945
56006
  }
55946
56007
  Companion_getInstance_229();
55947
56008
  fractions = fractions === VOID ? null : fractions;
@@ -57220,10 +57281,12 @@ function InvoicePlanSettingsRevision(createdAt, createdBy, description, dueDate,
57220
57281
  description = ('description' in props ? props.description : VOID);
57221
57282
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
57222
57283
  interval = ('interval' in props ? props.interval : VOID);
57223
- if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval)) interval = new InvoicePlanInterval(interval);
57284
+ if (typeof interval === 'string') interval = InvoicePlanInterval.valueOf(interval);
57285
+ else if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval) && interval.value != null) interval = InvoicePlanInterval.valueOf(interval.value);
57224
57286
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
57225
57287
  mode = ('mode' in props ? props.mode : VOID);
57226
- if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
57288
+ if (typeof mode === 'string') mode = InvoicePlanMode.valueOf(mode);
57289
+ else if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode) && mode.value != null) mode = InvoicePlanMode.valueOf(mode.value);
57227
57290
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
57228
57291
  if (typeof oneTimeDate === 'string') {
57229
57292
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
@@ -59148,7 +59211,8 @@ function InvoiceRecipient(isExternal, organization, person, preferredAdvertiseme
59148
59211
  person = ('person' in props ? props.person : VOID);
59149
59212
  if (typeof person === 'object' && person !== null && !(person instanceof Person)) person = new Person(person);
59150
59213
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
59151
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
59214
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
59215
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
59152
59216
  }
59153
59217
  Companion_getInstance_244();
59154
59218
  organization = organization === VOID ? null : organization;
@@ -61448,7 +61512,8 @@ function Issue(companyId, description, id, lastResolution, meetingAt, meetingId,
61448
61512
  if (typeof responsible === 'object' && responsible !== null && !(responsible instanceof Person)) responsible = new Person(responsible);
61449
61513
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
61450
61514
  status = ('status' in props ? props.status : VOID);
61451
- if (typeof status === 'object' && status !== null && !(status instanceof IssueStatus)) status = new IssueStatus(status);
61515
+ if (typeof status === 'string') status = IssueStatus.valueOf(status);
61516
+ else if (typeof status === 'object' && status !== null && !(status instanceof IssueStatus) && status.value != null) status = IssueStatus.valueOf(status.value);
61452
61517
  title = ('title' in props ? props.title : VOID);
61453
61518
  }
61454
61519
  Companion_getInstance_252();
@@ -62227,7 +62292,8 @@ function IssueDetails(comments, companyId, conversationIds, createdAt, createdBy
62227
62292
  responsible = ('responsible' in props ? props.responsible : VOID);
62228
62293
  if (typeof responsible === 'object' && responsible !== null && !(responsible instanceof Person)) responsible = new Person(responsible);
62229
62294
  status = ('status' in props ? props.status : VOID);
62230
- if (typeof status === 'object' && status !== null && !(status instanceof IssueStatus)) status = new IssueStatus(status);
62295
+ if (typeof status === 'string') status = IssueStatus.valueOf(status);
62296
+ else if (typeof status === 'object' && status !== null && !(status instanceof IssueStatus) && status.value != null) status = IssueStatus.valueOf(status.value);
62231
62297
  title = ('title' in props ? props.title : VOID);
62232
62298
  }
62233
62299
  Companion_getInstance_254();
@@ -62976,7 +63042,8 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
62976
63042
  followUp = ('followUp' in props ? props.followUp : VOID);
62977
63043
  issueId = ('issueId' in props ? props.issueId : VOID);
62978
63044
  issueStatus = ('issueStatus' in props ? props.issueStatus : VOID);
62979
- if (typeof issueStatus === 'object' && issueStatus !== null && !(issueStatus instanceof IssueStatus)) issueStatus = new IssueStatus(issueStatus);
63045
+ if (typeof issueStatus === 'string') issueStatus = IssueStatus.valueOf(issueStatus);
63046
+ else if (typeof issueStatus === 'object' && issueStatus !== null && !(issueStatus instanceof IssueStatus) && issueStatus.value != null) issueStatus = IssueStatus.valueOf(issueStatus.value);
62980
63047
  meetingId = ('meetingId' in props ? props.meetingId : VOID);
62981
63048
  proposedResolution = ('proposedResolution' in props ? props.proposedResolution : VOID);
62982
63049
  report = ('report' in props ? props.report : VOID);
@@ -62985,7 +63052,8 @@ function IssueInMeeting(attachedToMeetingAt, attachedToMeetingBy, comments, crea
62985
63052
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
62986
63053
  sequence = ('sequence' in props ? props.sequence : VOID);
62987
63054
  status = ('status' in props ? props.status : VOID);
62988
- if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus)) status = new MeetingStatus(status);
63055
+ if (typeof status === 'string') status = MeetingStatus.valueOf(status);
63056
+ else if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus) && status.value != null) status = MeetingStatus.valueOf(status.value);
62989
63057
  title = ('title' in props ? props.title : VOID);
62990
63058
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
62991
63059
  if (typeof updatedAt === 'string') {
@@ -66273,7 +66341,8 @@ function LoanLog(change, id, loanId, new_0, old, performedAt, performedBy, perfo
66273
66341
  if (arguments.length === 1 && typeof change === 'object' && change !== null && change.constructor === Object) {
66274
66342
  const props = change;
66275
66343
  change = ('change' in props ? props.change : VOID);
66276
- if (typeof change === 'object' && change !== null && !(change instanceof LOANLOGTYPE)) change = new LOANLOGTYPE(change);
66344
+ if (typeof change === 'string') change = LOANLOGTYPE.valueOf(change);
66345
+ else if (typeof change === 'object' && change !== null && !(change instanceof LOANLOGTYPE) && change.value != null) change = LOANLOGTYPE.valueOf(change.value);
66277
66346
  id = ('id' in props ? props.id : VOID);
66278
66347
  loanId = ('loanId' in props ? props.loanId : VOID);
66279
66348
  new_0 = ('new' in props ? props.new : VOID);
@@ -67054,7 +67123,8 @@ function MassCommunicationRecipientStatus(recipient, state) {
67054
67123
  const props = recipient;
67055
67124
  recipient = ('recipient' in props ? props.recipient : VOID);
67056
67125
  state = ('state' in props ? props.state : VOID);
67057
- if (typeof state === 'object' && state !== null && !(state instanceof CommunicationState)) state = new CommunicationState(state);
67126
+ if (typeof state === 'string') state = CommunicationState.valueOf(state);
67127
+ else if (typeof state === 'object' && state !== null && !(state instanceof CommunicationState) && state.value != null) state = CommunicationState.valueOf(state.value);
67058
67128
  }
67059
67129
  Companion_getInstance_274();
67060
67130
  this.recipient = recipient;
@@ -68384,7 +68454,8 @@ function MassUpdateFractionsCommand(fractionType, fractions, validFrom) {
68384
68454
  if (arguments.length === 1 && typeof fractionType === 'object' && fractionType !== null && fractionType.constructor === Object) {
68385
68455
  const props = fractionType;
68386
68456
  fractionType = ('fractionType' in props ? props.fractionType : VOID);
68387
- if (typeof fractionType === 'object' && fractionType !== null && !(fractionType instanceof FractionType)) fractionType = new FractionType(fractionType);
68457
+ if (typeof fractionType === 'string') fractionType = FractionType.valueOf(fractionType);
68458
+ else if (typeof fractionType === 'object' && fractionType !== null && !(fractionType instanceof FractionType) && fractionType.value != null) fractionType = FractionType.valueOf(fractionType.value);
68388
68459
  fractions = ('fractions' in props ? props.fractions : VOID);
68389
68460
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
68390
68461
  if (typeof validFrom === 'string') {
@@ -69082,7 +69153,8 @@ function Meeting(actualEndAt, actualStartAt, companyId, externalParticipants, id
69082
69153
  report = ('report' in props ? props.report : VOID);
69083
69154
  if (typeof report === 'object' && report !== null && !(report instanceof Document)) report = new Document(report);
69084
69155
  status = ('status' in props ? props.status : VOID);
69085
- if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus)) status = new MeetingStatus(status);
69156
+ if (typeof status === 'string') status = MeetingStatus.valueOf(status);
69157
+ else if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus) && status.value != null) status = MeetingStatus.valueOf(status.value);
69086
69158
  title = ('title' in props ? props.title : VOID);
69087
69159
  }
69088
69160
  Companion_getInstance_284();
@@ -69595,7 +69667,8 @@ function MeetingDetails(actualEndAt, actualStartAt, comment, companyId, external
69595
69667
  report = ('report' in props ? props.report : VOID);
69596
69668
  if (typeof report === 'object' && report !== null && !(report instanceof Document)) report = new Document(report);
69597
69669
  status = ('status' in props ? props.status : VOID);
69598
- if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus)) status = new MeetingStatus(status);
69670
+ if (typeof status === 'string') status = MeetingStatus.valueOf(status);
69671
+ else if (typeof status === 'object' && status !== null && !(status instanceof MeetingStatus) && status.value != null) status = MeetingStatus.valueOf(status.value);
69599
69672
  title = ('title' in props ? props.title : VOID);
69600
69673
  }
69601
69674
  Companion_getInstance_285();
@@ -70028,7 +70101,8 @@ function MeetingParticipant(attended, email, id, isGuest, name, personId, pictur
70028
70101
  pictureUrl = ('pictureUrl' in props ? props.pictureUrl : VOID);
70029
70102
  role = ('role' in props ? props.role : VOID);
70030
70103
  rsvp = ('rsvp' in props ? props.rsvp : VOID);
70031
- if (typeof rsvp === 'object' && rsvp !== null && !(rsvp instanceof Rsvp)) rsvp = new Rsvp(rsvp);
70104
+ if (typeof rsvp === 'string') rsvp = Rsvp.valueOf(rsvp);
70105
+ else if (typeof rsvp === 'object' && rsvp !== null && !(rsvp instanceof Rsvp) && rsvp.value != null) rsvp = Rsvp.valueOf(rsvp.value);
70032
70106
  rsvpComment = ('rsvpComment' in props ? props.rsvpComment : VOID);
70033
70107
  signatureUnobtainable = ('signatureUnobtainable' in props ? props.signatureUnobtainable : VOID);
70034
70108
  signedAt = ('signedAt' in props ? props.signedAt : VOID);
@@ -71165,7 +71239,8 @@ function MessageInConversation(content, documents, emailContent, id, sentAt, sen
71165
71239
  if (typeof sentBy === 'object' && sentBy !== null && !(sentBy instanceof Participant)) sentBy = new Participant(sentBy);
71166
71240
  sentById = ('sentById' in props ? props.sentById : VOID);
71167
71241
  type = ('type' in props ? props.type : VOID);
71168
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
71242
+ if (typeof type === 'string') type = MessageType.valueOf(type);
71243
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
71169
71244
  }
71170
71245
  Companion_getInstance_292();
71171
71246
  documents = documents === VOID ? null : documents;
@@ -71905,7 +71980,8 @@ function MfaPreferenceCommand(clientId, mfaType) {
71905
71980
  const props = clientId;
71906
71981
  clientId = ('clientId' in props ? props.clientId : VOID);
71907
71982
  mfaType = ('mfaType' in props ? props.mfaType : VOID);
71908
- if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType)) mfaType = new MfaType(mfaType);
71983
+ if (typeof mfaType === 'string') mfaType = MfaType.valueOf(mfaType);
71984
+ else if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType) && mfaType.value != null) mfaType = MfaType.valueOf(mfaType.value);
71909
71985
  }
71910
71986
  Companion_getInstance_296();
71911
71987
  mfaType = mfaType === VOID ? null : mfaType;
@@ -72069,7 +72145,8 @@ function MfaPreferenceResult(enabledMfaTypes, mfaType) {
72069
72145
  enabledMfaTypes = __soliboKtListFromJsArray(enabledMfaTypes);
72070
72146
  }
72071
72147
  mfaType = ('mfaType' in props ? props.mfaType : VOID);
72072
- if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType)) mfaType = new MfaType(mfaType);
72148
+ if (typeof mfaType === 'string') mfaType = MfaType.valueOf(mfaType);
72149
+ else if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType) && mfaType.value != null) mfaType = MfaType.valueOf(mfaType.value);
72073
72150
  }
72074
72151
  Companion_getInstance_297();
72075
72152
  mfaType = mfaType === VOID ? null : mfaType;
@@ -72292,7 +72369,8 @@ function MfaSelectionCommand(clientId, deviceKey, email, fingerprint, mfaType, m
72292
72369
  email = ('email' in props ? props.email : VOID);
72293
72370
  fingerprint = ('fingerprint' in props ? props.fingerprint : VOID);
72294
72371
  mfaType = ('mfaType' in props ? props.mfaType : VOID);
72295
- if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType)) mfaType = new MfaType(mfaType);
72372
+ if (typeof mfaType === 'string') mfaType = MfaType.valueOf(mfaType);
72373
+ else if (typeof mfaType === 'object' && mfaType !== null && !(mfaType instanceof MfaType) && mfaType.value != null) mfaType = MfaType.valueOf(mfaType.value);
72296
72374
  mobile = ('mobile' in props ? props.mobile : VOID);
72297
72375
  session = ('session' in props ? props.session : VOID);
72298
72376
  }
@@ -73734,7 +73812,8 @@ function NotificationGroup(label, type) {
73734
73812
  const props = label;
73735
73813
  label = ('label' in props ? props.label : VOID);
73736
73814
  type = ('type' in props ? props.type : VOID);
73737
- if (typeof type === 'object' && type !== null && !(type instanceof NotificationGroupType)) type = new NotificationGroupType(type);
73815
+ if (typeof type === 'string') type = NotificationGroupType.valueOf(type);
73816
+ else if (typeof type === 'object' && type !== null && !(type instanceof NotificationGroupType) && type.value != null) type = NotificationGroupType.valueOf(type.value);
73738
73817
  }
73739
73818
  Companion_getInstance_305();
73740
73819
  type = type === VOID ? null : type;
@@ -75813,7 +75892,8 @@ function OrganizationCustomer(active, area, classification, external, groupInvoi
75813
75892
  active = ('active' in props ? props.active : VOID);
75814
75893
  area = ('area' in props ? props.area : VOID);
75815
75894
  classification = ('classification' in props ? props.classification : VOID);
75816
- if (typeof classification === 'object' && classification !== null && !(classification instanceof CustomerClassification)) classification = new CustomerClassification(classification);
75895
+ if (typeof classification === 'string') classification = CustomerClassification.valueOf(classification);
75896
+ else if (typeof classification === 'object' && classification !== null && !(classification instanceof CustomerClassification) && classification.value != null) classification = CustomerClassification.valueOf(classification.value);
75817
75897
  external = ('external' in props ? props.external : VOID);
75818
75898
  groupInvoices = ('groupInvoices' in props ? props.groupInvoices : VOID);
75819
75899
  isRecipient = ('isRecipient' in props ? props.isRecipient : VOID);
@@ -75834,7 +75914,8 @@ function OrganizationCustomer(active, area, classification, external, groupInvoi
75834
75914
  organization = ('organization' in props ? props.organization : VOID);
75835
75915
  if (typeof organization === 'object' && organization !== null && !(organization instanceof Organization)) organization = new Organization(organization);
75836
75916
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
75837
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
75917
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
75918
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
75838
75919
  }
75839
75920
  Companion_getInstance_314();
75840
75921
  area = area === VOID ? null : area;
@@ -77934,7 +78015,8 @@ function OrganizationRoleInput(residenceNr, role, validFrom, validTo) {
77934
78015
  const props = residenceNr;
77935
78016
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
77936
78017
  role = ('role' in props ? props.role : VOID);
77937
- if (typeof role === 'object' && role !== null && !(role instanceof RoleType)) role = new RoleType(role);
78018
+ if (typeof role === 'string') role = RoleType.valueOf(role);
78019
+ else if (typeof role === 'object' && role !== null && !(role instanceof RoleType) && role.value != null) role = RoleType.valueOf(role.value);
77938
78020
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
77939
78021
  if (typeof validFrom === 'string') {
77940
78022
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
@@ -78751,7 +78833,8 @@ function OverdueInvoiceCustomer(expiredInvoices, id, identifier, interestDemande
78751
78833
  overdueInvoices = __soliboKtListFromJsArray(overdueInvoices);
78752
78834
  }
78753
78835
  payerType = ('payerType' in props ? props.payerType : VOID);
78754
- if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType)) payerType = new PayerType(payerType);
78836
+ if (typeof payerType === 'string') payerType = PayerType.valueOf(payerType);
78837
+ else if (typeof payerType === 'object' && payerType !== null && !(payerType instanceof PayerType) && payerType.value != null) payerType = PayerType.valueOf(payerType.value);
78755
78838
  totalOutstanding = ('totalOutstanding' in props ? props.totalOutstanding : VOID);
78756
78839
  totalOutstandingExpired = ('totalOutstandingExpired' in props ? props.totalOutstandingExpired : VOID);
78757
78840
  totalOutstandingOld = ('totalOutstandingOld' in props ? props.totalOutstandingOld : VOID);
@@ -80211,7 +80294,8 @@ function OverrideThirdPartyInformationResultCommand(contact, entries, summary, t
80211
80294
  summary = ('summary' in props ? props.summary : VOID);
80212
80295
  if (typeof summary === 'object' && summary !== null && !(summary instanceof ThirdPartyInformationOppsummering)) summary = new ThirdPartyInformationOppsummering(summary);
80213
80296
  type = ('type' in props ? props.type : VOID);
80214
- if (typeof type === 'object' && type !== null && !(type instanceof LeveranseType3po)) type = new LeveranseType3po(type);
80297
+ if (typeof type === 'string') type = LeveranseType3po.valueOf(type);
80298
+ else if (typeof type === 'object' && type !== null && !(type instanceof LeveranseType3po) && type.value != null) type = LeveranseType3po.valueOf(type.value);
80215
80299
  }
80216
80300
  Companion_getInstance_326();
80217
80301
  entries = entries === VOID ? null : entries;
@@ -80892,7 +80976,8 @@ function OwnershipChange(amount, changeAt, id, invoiceRecipientId, invoiceRecipi
80892
80976
  id = ('id' in props ? props.id : VOID);
80893
80977
  invoiceRecipientId = ('invoiceRecipientId' in props ? props.invoiceRecipientId : VOID);
80894
80978
  invoiceRecipientType = ('invoiceRecipientType' in props ? props.invoiceRecipientType : VOID);
80895
- if (typeof invoiceRecipientType === 'object' && invoiceRecipientType !== null && !(invoiceRecipientType instanceof CustomerType)) invoiceRecipientType = new CustomerType(invoiceRecipientType);
80979
+ if (typeof invoiceRecipientType === 'string') invoiceRecipientType = CustomerType.valueOf(invoiceRecipientType);
80980
+ else if (typeof invoiceRecipientType === 'object' && invoiceRecipientType !== null && !(invoiceRecipientType instanceof CustomerType) && invoiceRecipientType.value != null) invoiceRecipientType = CustomerType.valueOf(invoiceRecipientType.value);
80896
80981
  note = ('note' in props ? props.note : VOID);
80897
80982
  roles = ('roles' in props ? props.roles : VOID);
80898
80983
  if (Array.isArray(roles)) {
@@ -81189,7 +81274,8 @@ function OwnershipChangeRole(firstName, lastName, organizationName, residentId,
81189
81274
  organizationName = ('organizationName' in props ? props.organizationName : VOID);
81190
81275
  residentId = ('residentId' in props ? props.residentId : VOID);
81191
81276
  residentType = ('residentType' in props ? props.residentType : VOID);
81192
- if (typeof residentType === 'object' && residentType !== null && !(residentType instanceof ResidentType)) residentType = new ResidentType(residentType);
81277
+ if (typeof residentType === 'string') residentType = ResidentType.valueOf(residentType);
81278
+ else if (typeof residentType === 'object' && residentType !== null && !(residentType instanceof ResidentType) && residentType.value != null) residentType = ResidentType.valueOf(residentType.value);
81193
81279
  roleId = ('roleId' in props ? props.roleId : VOID);
81194
81280
  roleType = ('roleType' in props ? props.roleType : VOID);
81195
81281
  transitionType = ('transitionType' in props ? props.transitionType : VOID);
@@ -94398,7 +94484,8 @@ function ParkingSpace(charger, id, identifier, note, type) {
94398
94484
  identifier = ('identifier' in props ? props.identifier : VOID);
94399
94485
  note = ('note' in props ? props.note : VOID);
94400
94486
  type = ('type' in props ? props.type : VOID);
94401
- if (typeof type === 'object' && type !== null && !(type instanceof ParkingSpaceType)) type = new ParkingSpaceType(type);
94487
+ if (typeof type === 'string') type = ParkingSpaceType.valueOf(type);
94488
+ else if (typeof type === 'object' && type !== null && !(type instanceof ParkingSpaceType) && type.value != null) type = ParkingSpaceType.valueOf(type.value);
94402
94489
  }
94403
94490
  Companion_getInstance_404();
94404
94491
  charger = charger === VOID ? null : charger;
@@ -94667,7 +94754,8 @@ function ParkingSpaceOwnership(charger, id, identifier, note, parkingSpaceId, ty
94667
94754
  note = ('note' in props ? props.note : VOID);
94668
94755
  parkingSpaceId = ('parkingSpaceId' in props ? props.parkingSpaceId : VOID);
94669
94756
  type = ('type' in props ? props.type : VOID);
94670
- if (typeof type === 'object' && type !== null && !(type instanceof ParkingSpaceType)) type = new ParkingSpaceType(type);
94757
+ if (typeof type === 'string') type = ParkingSpaceType.valueOf(type);
94758
+ else if (typeof type === 'object' && type !== null && !(type instanceof ParkingSpaceType) && type.value != null) type = ParkingSpaceType.valueOf(type.value);
94671
94759
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
94672
94760
  if (typeof validFrom === 'string') {
94673
94761
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
@@ -95478,12 +95566,14 @@ function PayerInput(area, email, id, name, number, orgnr, overrideEHFRecipient,
95478
95566
  overrideEHFRecipient = ('overrideEHFRecipient' in props ? props.overrideEHFRecipient : VOID);
95479
95567
  overridePersonnummer = ('overridePersonnummer' in props ? props.overridePersonnummer : VOID);
95480
95568
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
95481
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
95569
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
95570
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
95482
95571
  reservedEmail = ('reservedEmail' in props ? props.reservedEmail : VOID);
95483
95572
  reservedSMS = ('reservedSMS' in props ? props.reservedSMS : VOID);
95484
95573
  streetAdresse = ('streetAdresse' in props ? props.streetAdresse : VOID);
95485
95574
  type = ('type' in props ? props.type : VOID);
95486
- if (typeof type === 'object' && type !== null && !(type instanceof PayerType)) type = new PayerType(type);
95575
+ if (typeof type === 'string') type = PayerType.valueOf(type);
95576
+ else if (typeof type === 'object' && type !== null && !(type instanceof PayerType) && type.value != null) type = PayerType.valueOf(type.value);
95487
95577
  useFolkeregisteret = ('useFolkeregisteret' in props ? props.useFolkeregisteret : VOID);
95488
95578
  zipCode = ('zipCode' in props ? props.zipCode : VOID);
95489
95579
  }
@@ -95988,7 +96078,8 @@ function PaymentHandling(handledAt, handledBy, id, invoiceId, paymentId, status,
95988
96078
  invoiceId = ('invoiceId' in props ? props.invoiceId : VOID);
95989
96079
  paymentId = ('paymentId' in props ? props.paymentId : VOID);
95990
96080
  status = ('status' in props ? props.status : VOID);
95991
- if (typeof status === 'object' && status !== null && !(status instanceof PaymentHandlingStatus)) status = new PaymentHandlingStatus(status);
96081
+ if (typeof status === 'string') status = PaymentHandlingStatus.valueOf(status);
96082
+ else if (typeof status === 'object' && status !== null && !(status instanceof PaymentHandlingStatus) && status.value != null) status = PaymentHandlingStatus.valueOf(status.value);
95992
96083
  tenant = ('tenant' in props ? props.tenant : VOID);
95993
96084
  }
95994
96085
  Companion_getInstance_412();
@@ -98143,7 +98234,8 @@ function PersonCustomer(active, area, classification, external, groupInvoices, i
98143
98234
  active = ('active' in props ? props.active : VOID);
98144
98235
  area = ('area' in props ? props.area : VOID);
98145
98236
  classification = ('classification' in props ? props.classification : VOID);
98146
- if (typeof classification === 'object' && classification !== null && !(classification instanceof CustomerClassification)) classification = new CustomerClassification(classification);
98237
+ if (typeof classification === 'string') classification = CustomerClassification.valueOf(classification);
98238
+ else if (typeof classification === 'object' && classification !== null && !(classification instanceof CustomerClassification) && classification.value != null) classification = CustomerClassification.valueOf(classification.value);
98147
98239
  external = ('external' in props ? props.external : VOID);
98148
98240
  groupInvoices = ('groupInvoices' in props ? props.groupInvoices : VOID);
98149
98241
  isRecipient = ('isRecipient' in props ? props.isRecipient : VOID);
@@ -98164,7 +98256,8 @@ function PersonCustomer(active, area, classification, external, groupInvoices, i
98164
98256
  person = ('person' in props ? props.person : VOID);
98165
98257
  if (typeof person === 'object' && person !== null && !(person instanceof Person)) person = new Person(person);
98166
98258
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
98167
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
98259
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
98260
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
98168
98261
  }
98169
98262
  Companion_getInstance_419();
98170
98263
  area = area === VOID ? null : area;
@@ -100528,7 +100621,8 @@ function PersonRoleInput(residenceNr, role, validFrom, validTo) {
100528
100621
  const props = residenceNr;
100529
100622
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
100530
100623
  role = ('role' in props ? props.role : VOID);
100531
- if (typeof role === 'object' && role !== null && !(role instanceof RoleType)) role = new RoleType(role);
100624
+ if (typeof role === 'string') role = RoleType.valueOf(role);
100625
+ else if (typeof role === 'object' && role !== null && !(role instanceof RoleType) && role.value != null) role = RoleType.valueOf(role.value);
100532
100626
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
100533
100627
  if (typeof validFrom === 'string') {
100534
100628
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
@@ -102087,7 +102181,8 @@ function PersonnummerStatus(active, dateOfIncident, reason, source, statusVerdi,
102087
102181
  reason = ('reason' in props ? props.reason : VOID);
102088
102182
  source = ('source' in props ? props.source : VOID);
102089
102183
  statusVerdi = ('statusVerdi' in props ? props.statusVerdi : VOID);
102090
- if (typeof statusVerdi === 'object' && statusVerdi !== null && !(statusVerdi instanceof PersonStatus)) statusVerdi = new PersonStatus(statusVerdi);
102184
+ if (typeof statusVerdi === 'string') statusVerdi = PersonStatus.valueOf(statusVerdi);
102185
+ else if (typeof statusVerdi === 'object' && statusVerdi !== null && !(statusVerdi instanceof PersonStatus) && statusVerdi.value != null) statusVerdi = PersonStatus.valueOf(statusVerdi.value);
102091
102186
  validDate = ('validDate' in props ? props.validDate : VOID);
102092
102187
  if (typeof validDate === 'string') {
102093
102188
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validDate)) validDate += ':00Z';
@@ -104052,7 +104147,8 @@ function PublicConversation(companyName, documents, id, messages, participants,
104052
104147
  }
104053
104148
  title = ('title' in props ? props.title : VOID);
104054
104149
  type = ('type' in props ? props.type : VOID);
104055
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
104150
+ if (typeof type === 'string') type = MessageType.valueOf(type);
104151
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
104056
104152
  userPersonId = ('userPersonId' in props ? props.userPersonId : VOID);
104057
104153
  }
104058
104154
  Companion_getInstance_442();
@@ -104364,7 +104460,8 @@ function PublicMessage(content, documents, emailContent, sentAt, sentBy, type) {
104364
104460
  sentBy = ('sentBy' in props ? props.sentBy : VOID);
104365
104461
  if (typeof sentBy === 'object' && sentBy !== null && !(sentBy instanceof Participant)) sentBy = new Participant(sentBy);
104366
104462
  type = ('type' in props ? props.type : VOID);
104367
- if (typeof type === 'object' && type !== null && !(type instanceof MessageType)) type = new MessageType(type);
104463
+ if (typeof type === 'string') type = MessageType.valueOf(type);
104464
+ else if (typeof type === 'object' && type !== null && !(type instanceof MessageType) && type.value != null) type = MessageType.valueOf(type.value);
104368
104465
  }
104369
104466
  Companion_getInstance_443();
104370
104467
  documents = documents === VOID ? null : documents;
@@ -104603,7 +104700,8 @@ function ReceiverFraction(denominator, numerator, receiverId, receiverType, reci
104603
104700
  numerator = ('numerator' in props ? props.numerator : VOID);
104604
104701
  receiverId = ('receiverId' in props ? props.receiverId : VOID);
104605
104702
  receiverType = ('receiverType' in props ? props.receiverType : VOID);
104606
- if (typeof receiverType === 'object' && receiverType !== null && !(receiverType instanceof InvoiceDistributionReceiverType)) receiverType = new InvoiceDistributionReceiverType(receiverType);
104703
+ if (typeof receiverType === 'string') receiverType = InvoiceDistributionReceiverType.valueOf(receiverType);
104704
+ else if (typeof receiverType === 'object' && receiverType !== null && !(receiverType instanceof InvoiceDistributionReceiverType) && receiverType.value != null) receiverType = InvoiceDistributionReceiverType.valueOf(receiverType.value);
104607
104705
  recipients = ('recipients' in props ? props.recipients : VOID);
104608
104706
  if (Array.isArray(recipients)) {
104609
104707
  recipients = recipients.map(i => (typeof i === 'object' && i !== null && !(i instanceof FractionRecipient)) ? new FractionRecipient(i) : i);
@@ -105199,7 +105297,8 @@ function RegisterDeviceCommand(deviceConfirmationRequest, deviceKey, deviceKeyGr
105199
105297
  deviceKey = ('deviceKey' in props ? props.deviceKey : VOID);
105200
105298
  deviceKeyGroup = ('deviceKeyGroup' in props ? props.deviceKeyGroup : VOID);
105201
105299
  fcmDevice = ('fcmDevice' in props ? props.fcmDevice : VOID);
105202
- if (typeof fcmDevice === 'object' && fcmDevice !== null && !(fcmDevice instanceof FcmDeviceType)) fcmDevice = new FcmDeviceType(fcmDevice);
105300
+ if (typeof fcmDevice === 'string') fcmDevice = FcmDeviceType.valueOf(fcmDevice);
105301
+ else if (typeof fcmDevice === 'object' && fcmDevice !== null && !(fcmDevice instanceof FcmDeviceType) && fcmDevice.value != null) fcmDevice = FcmDeviceType.valueOf(fcmDevice.value);
105203
105302
  fcmToken = ('fcmToken' in props ? props.fcmToken : VOID);
105204
105303
  salt = ('salt' in props ? props.salt : VOID);
105205
105304
  verifier = ('verifier' in props ? props.verifier : VOID);
@@ -106224,7 +106323,8 @@ function ResidentRole(companyId, id, organization, organizationId, person, perso
106224
106323
  if (typeof person === 'object' && person !== null && !(person instanceof Person)) person = new Person(person);
106225
106324
  personId = ('personId' in props ? props.personId : VOID);
106226
106325
  role = ('role' in props ? props.role : VOID);
106227
- if (typeof role === 'object' && role !== null && !(role instanceof RoleType)) role = new RoleType(role);
106326
+ if (typeof role === 'string') role = RoleType.valueOf(role);
106327
+ else if (typeof role === 'object' && role !== null && !(role instanceof RoleType) && role.value != null) role = RoleType.valueOf(role.value);
106228
106328
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
106229
106329
  supplierId = ('supplierId' in props ? props.supplierId : VOID);
106230
106330
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
@@ -107048,7 +107148,8 @@ function Role(companyId, id, organizationId, personId, sectionId, supplierId, ty
107048
107148
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
107049
107149
  supplierId = ('supplierId' in props ? props.supplierId : VOID);
107050
107150
  type = ('type' in props ? props.type : VOID);
107051
- if (typeof type === 'object' && type !== null && !(type instanceof RoleType)) type = new RoleType(type);
107151
+ if (typeof type === 'string') type = RoleType.valueOf(type);
107152
+ else if (typeof type === 'object' && type !== null && !(type instanceof RoleType) && type.value != null) type = RoleType.valueOf(type.value);
107052
107153
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
107053
107154
  if (typeof validFrom === 'string') {
107054
107155
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
@@ -107416,7 +107517,8 @@ function RoleInput(companyId, id, organizationId, personId, sectionId, supplierI
107416
107517
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
107417
107518
  supplierId = ('supplierId' in props ? props.supplierId : VOID);
107418
107519
  type = ('type' in props ? props.type : VOID);
107419
- if (typeof type === 'object' && type !== null && !(type instanceof RoleType)) type = new RoleType(type);
107520
+ if (typeof type === 'string') type = RoleType.valueOf(type);
107521
+ else if (typeof type === 'object' && type !== null && !(type instanceof RoleType) && type.value != null) type = RoleType.valueOf(type.value);
107420
107522
  validFrom = ('validFrom' in props ? props.validFrom : VOID);
107421
107523
  if (typeof validFrom === 'string') {
107422
107524
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ':00Z';
@@ -108393,9 +108495,11 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108393
108495
  log = __soliboKtListFromJsArray(log);
108394
108496
  }
108395
108497
  recommendedIntervalMethod = ('recommendedIntervalMethod' in props ? props.recommendedIntervalMethod : VOID);
108396
- if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod)) recommendedIntervalMethod = new RoutineMethod(recommendedIntervalMethod);
108498
+ if (typeof recommendedIntervalMethod === 'string') recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod);
108499
+ else if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod) && recommendedIntervalMethod.value != null) recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod.value);
108397
108500
  recommendedIntervalType = ('recommendedIntervalType' in props ? props.recommendedIntervalType : VOID);
108398
- if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval)) recommendedIntervalType = new RoutineInterval(recommendedIntervalType);
108501
+ if (typeof recommendedIntervalType === 'string') recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType);
108502
+ else if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval) && recommendedIntervalType.value != null) recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType.value);
108399
108503
  recommendedIntervalValue = ('recommendedIntervalValue' in props ? props.recommendedIntervalValue : VOID);
108400
108504
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
108401
108505
  responsibleName = ('responsibleName' in props ? props.responsibleName : VOID);
@@ -108405,7 +108509,8 @@ function Routine(completedAt, completedBy, completedName, createdAt, createdBy,
108405
108509
  taskId = ('taskId' in props ? props.taskId : VOID);
108406
108510
  title = ('title' in props ? props.title : VOID);
108407
108511
  type = ('type' in props ? props.type : VOID);
108408
- if (typeof type === 'object' && type !== null && !(type instanceof RoutineType)) type = new RoutineType(type);
108512
+ if (typeof type === 'string') type = RoutineType.valueOf(type);
108513
+ else if (typeof type === 'object' && type !== null && !(type instanceof RoutineType) && type.value != null) type = RoutineType.valueOf(type.value);
108409
108514
  }
108410
108515
  Companion_getInstance_461();
108411
108516
  completedAt = completedAt === VOID ? null : completedAt;
@@ -108919,9 +109024,11 @@ function RoutineDraft(description, groupId, id, recommendedIntervalMethod, recom
108919
109024
  groupId = ('groupId' in props ? props.groupId : VOID);
108920
109025
  id = ('id' in props ? props.id : VOID);
108921
109026
  recommendedIntervalMethod = ('recommendedIntervalMethod' in props ? props.recommendedIntervalMethod : VOID);
108922
- if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod)) recommendedIntervalMethod = new RoutineMethod(recommendedIntervalMethod);
109027
+ if (typeof recommendedIntervalMethod === 'string') recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod);
109028
+ else if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod) && recommendedIntervalMethod.value != null) recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod.value);
108923
109029
  recommendedIntervalType = ('recommendedIntervalType' in props ? props.recommendedIntervalType : VOID);
108924
- if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval)) recommendedIntervalType = new RoutineInterval(recommendedIntervalType);
109030
+ if (typeof recommendedIntervalType === 'string') recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType);
109031
+ else if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval) && recommendedIntervalType.value != null) recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType.value);
108925
109032
  recommendedIntervalValue = ('recommendedIntervalValue' in props ? props.recommendedIntervalValue : VOID);
108926
109033
  requiresSupplier = ('requiresSupplier' in props ? props.requiresSupplier : VOID);
108927
109034
  svgName = ('svgName' in props ? props.svgName : VOID);
@@ -112220,7 +112327,8 @@ function Section(anr, apartmentNr, area, bnr, building, buildingId, capabilities
112220
112327
  children = __soliboKtListFromJsArray(children);
112221
112328
  }
112222
112329
  classification = ('classification' in props ? props.classification : VOID);
112223
- if (typeof classification === 'object' && classification !== null && !(classification instanceof SectionType)) classification = new SectionType(classification);
112330
+ if (typeof classification === 'string') classification = SectionType.valueOf(classification);
112331
+ else if (typeof classification === 'object' && classification !== null && !(classification instanceof SectionType) && classification.value != null) classification = SectionType.valueOf(classification.value);
112224
112332
  companyClassification = ('companyClassification' in props ? props.companyClassification : VOID);
112225
112333
  companyId = ('companyId' in props ? props.companyId : VOID);
112226
112334
  deletedAt = ('deletedAt' in props ? props.deletedAt : VOID);
@@ -114552,7 +114660,8 @@ function SectionPack(preferredAdvertisement, sectionId) {
114552
114660
  if (arguments.length === 1 && typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && preferredAdvertisement.constructor === Object) {
114553
114661
  const props = preferredAdvertisement;
114554
114662
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
114555
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
114663
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
114664
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
114556
114665
  sectionId = ('sectionId' in props ? props.sectionId : VOID);
114557
114666
  }
114558
114667
  Companion_getInstance_485();
@@ -114905,7 +115014,8 @@ function SectionStatus(note, operation, referredOrganization, referredPerson, re
114905
115014
  const props = note;
114906
115015
  note = ('note' in props ? props.note : VOID);
114907
115016
  operation = ('operation' in props ? props.operation : VOID);
114908
- if (typeof operation === 'object' && operation !== null && !(operation instanceof SectionStatusOperation)) operation = new SectionStatusOperation(operation);
115017
+ if (typeof operation === 'string') operation = SectionStatusOperation.valueOf(operation);
115018
+ else if (typeof operation === 'object' && operation !== null && !(operation instanceof SectionStatusOperation) && operation.value != null) operation = SectionStatusOperation.valueOf(operation.value);
114909
115019
  referredOrganization = ('referredOrganization' in props ? props.referredOrganization : VOID);
114910
115020
  if (typeof referredOrganization === 'object' && referredOrganization !== null && !(referredOrganization instanceof Organization)) referredOrganization = new Organization(referredOrganization);
114911
115021
  referredPerson = ('referredPerson' in props ? props.referredPerson : VOID);
@@ -114923,7 +115033,8 @@ function SectionStatus(note, operation, referredOrganization, referredPerson, re
114923
115033
  registeredBy = ('registeredBy' in props ? props.registeredBy : VOID);
114924
115034
  if (typeof registeredBy === 'object' && registeredBy !== null && !(registeredBy instanceof Person)) registeredBy = new Person(registeredBy);
114925
115035
  state = ('state' in props ? props.state : VOID);
114926
- if (typeof state === 'object' && state !== null && !(state instanceof SectionState)) state = new SectionState(state);
115036
+ if (typeof state === 'string') state = SectionState.valueOf(state);
115037
+ else if (typeof state === 'object' && state !== null && !(state instanceof SectionState) && state.value != null) state = SectionState.valueOf(state.value);
114927
115038
  }
114928
115039
  Companion_getInstance_487();
114929
115040
  note = note === VOID ? null : note;
@@ -115308,7 +115419,8 @@ function SectionStatusSectionStatusMapValue(note, operation, referredOrganizatio
115308
115419
  const props = note;
115309
115420
  note = ('note' in props ? props.note : VOID);
115310
115421
  operation = ('operation' in props ? props.operation : VOID);
115311
- if (typeof operation === 'object' && operation !== null && !(operation instanceof SectionStatusOperation)) operation = new SectionStatusOperation(operation);
115422
+ if (typeof operation === 'string') operation = SectionStatusOperation.valueOf(operation);
115423
+ else if (typeof operation === 'object' && operation !== null && !(operation instanceof SectionStatusOperation) && operation.value != null) operation = SectionStatusOperation.valueOf(operation.value);
115312
115424
  referredOrganization = ('referredOrganization' in props ? props.referredOrganization : VOID);
115313
115425
  if (typeof referredOrganization === 'object' && referredOrganization !== null && !(referredOrganization instanceof Organization)) referredOrganization = new Organization(referredOrganization);
115314
115426
  referredPerson = ('referredPerson' in props ? props.referredPerson : VOID);
@@ -115326,7 +115438,8 @@ function SectionStatusSectionStatusMapValue(note, operation, referredOrganizatio
115326
115438
  registeredBy = ('registeredBy' in props ? props.registeredBy : VOID);
115327
115439
  if (typeof registeredBy === 'object' && registeredBy !== null && !(registeredBy instanceof Person)) registeredBy = new Person(registeredBy);
115328
115440
  state = ('state' in props ? props.state : VOID);
115329
- if (typeof state === 'object' && state !== null && !(state instanceof SectionState)) state = new SectionState(state);
115441
+ if (typeof state === 'string') state = SectionState.valueOf(state);
115442
+ else if (typeof state === 'object' && state !== null && !(state instanceof SectionState) && state.value != null) state = SectionState.valueOf(state.value);
115330
115443
  }
115331
115444
  Companion_getInstance_489();
115332
115445
  note = note === VOID ? null : note;
@@ -116076,7 +116189,8 @@ function SecureConversationCategory(coResponsibleIds, color, contactCategory, id
116076
116189
  const props = coResponsibleIds;
116077
116190
  coResponsibleIds = ('coResponsibleIds' in props ? props.coResponsibleIds : VOID);
116078
116191
  color = ('color' in props ? props.color : VOID);
116079
- if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor)) color = new CategoryColor(color);
116192
+ if (typeof color === 'string') color = CategoryColor.valueOf(color);
116193
+ else if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor) && color.value != null) color = CategoryColor.valueOf(color.value);
116080
116194
  contactCategory = ('contactCategory' in props ? props.contactCategory : VOID);
116081
116195
  id = ('id' in props ? props.id : VOID);
116082
116196
  inUse = ('inUse' in props ? props.inUse : VOID);
@@ -117351,7 +117465,8 @@ function Settlement(closedAt, companyId, completedAt, createdAt, createdBy, cust
117351
117465
  invoices = __soliboKtListFromJsArray(invoices);
117352
117466
  }
117353
117467
  settlementProvider = ('settlementProvider' in props ? props.settlementProvider : VOID);
117354
- if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider)) settlementProvider = new SettlementProvider(settlementProvider);
117468
+ if (typeof settlementProvider === 'string') settlementProvider = SettlementProvider.valueOf(settlementProvider);
117469
+ else if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider) && settlementProvider.value != null) settlementProvider = SettlementProvider.valueOf(settlementProvider.value);
117355
117470
  settlementProviderId = ('settlementProviderId' in props ? props.settlementProviderId : VOID);
117356
117471
  startDate = ('startDate' in props ? props.startDate : VOID);
117357
117472
  if (startDate != null && typeof startDate === 'object' && typeof startDate.getFullYear === 'function') {
@@ -117856,7 +117971,8 @@ function SettlementCustomCost(amount, createdAt, createdBy, description, documen
117856
117971
  id = ('id' in props ? props.id : VOID);
117857
117972
  settlementId = ('settlementId' in props ? props.settlementId : VOID);
117858
117973
  settlementType = ('settlementType' in props ? props.settlementType : VOID);
117859
- if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType)) settlementType = new SettlementType(settlementType);
117974
+ if (typeof settlementType === 'string') settlementType = SettlementType.valueOf(settlementType);
117975
+ else if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType) && settlementType.value != null) settlementType = SettlementType.valueOf(settlementType.value);
117860
117976
  unitPrice = ('unitPrice' in props ? props.unitPrice : VOID);
117861
117977
  units = ('units' in props ? props.units : VOID);
117862
117978
  updatedAt = ('updatedAt' in props ? props.updatedAt : VOID);
@@ -118204,7 +118320,8 @@ function SettlementInvoice(amount, customCostId, description, settlementType, tr
118204
118320
  customCostId = ('customCostId' in props ? props.customCostId : VOID);
118205
118321
  description = ('description' in props ? props.description : VOID);
118206
118322
  settlementType = ('settlementType' in props ? props.settlementType : VOID);
118207
- if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType)) settlementType = new SettlementType(settlementType);
118323
+ if (typeof settlementType === 'string') settlementType = SettlementType.valueOf(settlementType);
118324
+ else if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType) && settlementType.value != null) settlementType = SettlementType.valueOf(settlementType.value);
118208
118325
  tripletexInvoiceId = ('tripletexInvoiceId' in props ? props.tripletexInvoiceId : VOID);
118209
118326
  unitPrice = ('unitPrice' in props ? props.unitPrice : VOID);
118210
118327
  units = ('units' in props ? props.units : VOID);
@@ -118672,7 +118789,8 @@ function SettlementProviderConfiguration(active, closedAt, companyId, endDate, i
118672
118789
  relevantOrgnrs = ('relevantOrgnrs' in props ? props.relevantOrgnrs : VOID);
118673
118790
  resolverPrefix = ('resolverPrefix' in props ? props.resolverPrefix : VOID);
118674
118791
  settlementProvider = ('settlementProvider' in props ? props.settlementProvider : VOID);
118675
- if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider)) settlementProvider = new SettlementProvider(settlementProvider);
118792
+ if (typeof settlementProvider === 'string') settlementProvider = SettlementProvider.valueOf(settlementProvider);
118793
+ else if (typeof settlementProvider === 'object' && settlementProvider !== null && !(settlementProvider instanceof SettlementProvider) && settlementProvider.value != null) settlementProvider = SettlementProvider.valueOf(settlementProvider.value);
118676
118794
  shouldInvoice = ('shouldInvoice' in props ? props.shouldInvoice : VOID);
118677
118795
  startDate = ('startDate' in props ? props.startDate : VOID);
118678
118796
  if (startDate != null && typeof startDate === 'object' && typeof startDate.getFullYear === 'function') {
@@ -122230,7 +122348,8 @@ function SupplierInvoice(amount, currency, description, dueDate, id, invoiceDate
122230
122348
  outstanding = ('outstanding' in props ? props.outstanding : VOID);
122231
122349
  remainder = ('remainder' in props ? props.remainder : VOID);
122232
122350
  status = ('status' in props ? props.status : VOID);
122233
- if (typeof status === 'object' && status !== null && !(status instanceof SupplierInvoiceStatus)) status = new SupplierInvoiceStatus(status);
122351
+ if (typeof status === 'string') status = SupplierInvoiceStatus.valueOf(status);
122352
+ else if (typeof status === 'object' && status !== null && !(status instanceof SupplierInvoiceStatus) && status.value != null) status = SupplierInvoiceStatus.valueOf(status.value);
122234
122353
  supplierName = ('supplierName' in props ? props.supplierName : VOID);
122235
122354
  supplierOrgNr = ('supplierOrgNr' in props ? props.supplierOrgNr : VOID);
122236
122355
  tripletexId = ('tripletexId' in props ? props.tripletexId : VOID);
@@ -122996,7 +123115,8 @@ function SupplierInvoiceProcessing(approvalReason, performedAt, performedBy, per
122996
123115
  performedById = ('performedById' in props ? props.performedById : VOID);
122997
123116
  rejectionReason = ('rejectionReason' in props ? props.rejectionReason : VOID);
122998
123117
  result = ('result' in props ? props.result : VOID);
122999
- if (typeof result === 'object' && result !== null && !(result instanceof SupplierInvoiceProcessingResult)) result = new SupplierInvoiceProcessingResult(result);
123118
+ if (typeof result === 'string') result = SupplierInvoiceProcessingResult.valueOf(result);
123119
+ else if (typeof result === 'object' && result !== null && !(result instanceof SupplierInvoiceProcessingResult) && result.value != null) result = SupplierInvoiceProcessingResult.valueOf(result.value);
123000
123120
  }
123001
123121
  Companion_getInstance_521();
123002
123122
  approvalReason = approvalReason === VOID ? null : approvalReason;
@@ -123847,7 +123967,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123847
123967
  }
123848
123968
  id = ('id' in props ? props.id : VOID);
123849
123969
  intervalMethod = ('intervalMethod' in props ? props.intervalMethod : VOID);
123850
- if (typeof intervalMethod === 'object' && intervalMethod !== null && !(intervalMethod instanceof PeriodicTaskIntervalMethod)) intervalMethod = new PeriodicTaskIntervalMethod(intervalMethod);
123970
+ if (typeof intervalMethod === 'string') intervalMethod = PeriodicTaskIntervalMethod.valueOf(intervalMethod);
123971
+ else if (typeof intervalMethod === 'object' && intervalMethod !== null && !(intervalMethod instanceof PeriodicTaskIntervalMethod) && intervalMethod.value != null) intervalMethod = PeriodicTaskIntervalMethod.valueOf(intervalMethod.value);
123851
123972
  intervalStart = ('intervalStart' in props ? props.intervalStart : VOID);
123852
123973
  if (typeof intervalStart === 'string') {
123853
123974
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(intervalStart)) intervalStart += ':00Z';
@@ -123859,7 +123980,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123859
123980
  intervalStart = companion.ef(BigInt(intervalStart.getTime()));
123860
123981
  }
123861
123982
  intervalType = ('intervalType' in props ? props.intervalType : VOID);
123862
- if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof PeriodicTaskIntervalType)) intervalType = new PeriodicTaskIntervalType(intervalType);
123983
+ if (typeof intervalType === 'string') intervalType = PeriodicTaskIntervalType.valueOf(intervalType);
123984
+ else if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof PeriodicTaskIntervalType) && intervalType.value != null) intervalType = PeriodicTaskIntervalType.valueOf(intervalType.value);
123863
123985
  intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
123864
123986
  log = ('log' in props ? props.log : VOID);
123865
123987
  if (Array.isArray(log)) {
@@ -123882,7 +124004,8 @@ function Task(companyId, completedAt, completedById, completedByName, createdAt,
123882
124004
  responsibleName = ('responsibleName' in props ? props.responsibleName : VOID);
123883
124005
  routineId = ('routineId' in props ? props.routineId : VOID);
123884
124006
  routineType = ('routineType' in props ? props.routineType : VOID);
123885
- if (typeof routineType === 'object' && routineType !== null && !(routineType instanceof RoutineType)) routineType = new RoutineType(routineType);
124007
+ if (typeof routineType === 'string') routineType = RoutineType.valueOf(routineType);
124008
+ else if (typeof routineType === 'object' && routineType !== null && !(routineType instanceof RoutineType) && routineType.value != null) routineType = RoutineType.valueOf(routineType.value);
123886
124009
  title = ('title' in props ? props.title : VOID);
123887
124010
  }
123888
124011
  Companion_getInstance_524();
@@ -124551,7 +124674,8 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
124551
124674
  }
124552
124675
  id = ('id' in props ? props.id : VOID);
124553
124676
  intervalType = ('intervalType' in props ? props.intervalType : VOID);
124554
- if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof PeriodicTaskIntervalType)) intervalType = new PeriodicTaskIntervalType(intervalType);
124677
+ if (typeof intervalType === 'string') intervalType = PeriodicTaskIntervalType.valueOf(intervalType);
124678
+ else if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof PeriodicTaskIntervalType) && intervalType.value != null) intervalType = PeriodicTaskIntervalType.valueOf(intervalType.value);
124555
124679
  intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
124556
124680
  message = ('message' in props ? props.message : VOID);
124557
124681
  performedAt = ('performedAt' in props ? props.performedAt : VOID);
@@ -124571,7 +124695,8 @@ function TaskEvent(createdAt, createdBy, createdByName, description, dueDate, id
124571
124695
  taskId = ('taskId' in props ? props.taskId : VOID);
124572
124696
  title = ('title' in props ? props.title : VOID);
124573
124697
  type = ('type' in props ? props.type : VOID);
124574
- if (typeof type === 'object' && type !== null && !(type instanceof TaskEventType)) type = new TaskEventType(type);
124698
+ if (typeof type === 'string') type = TaskEventType.valueOf(type);
124699
+ else if (typeof type === 'object' && type !== null && !(type instanceof TaskEventType) && type.value != null) type = TaskEventType.valueOf(type.value);
124575
124700
  }
124576
124701
  Companion_getInstance_525();
124577
124702
  createdByName = createdByName === VOID ? null : createdByName;
@@ -125044,7 +125169,8 @@ function TenantInput(id, type) {
125044
125169
  const props = id;
125045
125170
  id = ('id' in props ? props.id : VOID);
125046
125171
  type = ('type' in props ? props.type : VOID);
125047
- if (typeof type === 'object' && type !== null && !(type instanceof TenantType)) type = new TenantType(type);
125172
+ if (typeof type === 'string') type = TenantType.valueOf(type);
125173
+ else if (typeof type === 'object' && type !== null && !(type instanceof TenantType) && type.value != null) type = TenantType.valueOf(type.value);
125048
125174
  }
125049
125175
  Companion_getInstance_527();
125050
125176
  this.id = id;
@@ -125697,7 +125823,8 @@ function ThirdPartyInformation(altinnErrors, approved, completed, created, custo
125697
125823
  skeDialogId = ('skeDialogId' in props ? props.skeDialogId : VOID);
125698
125824
  skeTransmissionId = ('skeTransmissionId' in props ? props.skeTransmissionId : VOID);
125699
125825
  status = ('status' in props ? props.status : VOID);
125700
- if (typeof status === 'object' && status !== null && !(status instanceof JobState)) status = new JobState(status);
125826
+ if (typeof status === 'string') status = JobState.valueOf(status);
125827
+ else if (typeof status === 'object' && status !== null && !(status instanceof JobState) && status.value != null) status = JobState.valueOf(status.value);
125701
125828
  updated = ('updated' in props ? props.updated : VOID);
125702
125829
  if (typeof updated === 'string') {
125703
125830
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(updated)) updated += ':00Z';
@@ -129058,7 +129185,8 @@ function ThirdPartyInformationResult(contact, entries, name, orgNr, referenceToI
129058
129185
  summary = ('summary' in props ? props.summary : VOID);
129059
129186
  if (typeof summary === 'object' && summary !== null && !(summary instanceof ThirdPartyInformationOppsummering)) summary = new ThirdPartyInformationOppsummering(summary);
129060
129187
  type = ('type' in props ? props.type : VOID);
129061
- if (typeof type === 'object' && type !== null && !(type instanceof LeveranseType3po)) type = new LeveranseType3po(type);
129188
+ if (typeof type === 'string') type = LeveranseType3po.valueOf(type);
129189
+ else if (typeof type === 'object' && type !== null && !(type instanceof LeveranseType3po) && type.value != null) type = LeveranseType3po.valueOf(type.value);
129062
129190
  year = ('year' in props ? props.year : VOID);
129063
129191
  }
129064
129192
  Companion_getInstance_547();
@@ -129840,7 +129968,8 @@ function ThreePODialogTransmission(date, feedback, id, relatedTransmissionId, se
129840
129968
  relatedTransmissionId = ('relatedTransmissionId' in props ? props.relatedTransmissionId : VOID);
129841
129969
  sender = ('sender' in props ? props.sender : VOID);
129842
129970
  type = ('type' in props ? props.type : VOID);
129843
- if (typeof type === 'object' && type !== null && !(type instanceof TransmissionDialogType)) type = new TransmissionDialogType(type);
129971
+ if (typeof type === 'string') type = TransmissionDialogType.valueOf(type);
129972
+ else if (typeof type === 'object' && type !== null && !(type instanceof TransmissionDialogType) && type.value != null) type = TransmissionDialogType.valueOf(type.value);
129844
129973
  }
129845
129974
  Companion_getInstance_551();
129846
129975
  feedback = feedback === VOID ? null : feedback;
@@ -134267,7 +134396,8 @@ function UpdateCompanyDetailedCommand(administratorOrgNr, businessAgreement, cla
134267
134396
  }
134268
134397
  slug = ('slug' in props ? props.slug : VOID);
134269
134398
  status = ('status' in props ? props.status : VOID);
134270
- if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus)) status = new CompanyStatus(status);
134399
+ if (typeof status === 'string') status = CompanyStatus.valueOf(status);
134400
+ else if (typeof status === 'object' && status !== null && !(status instanceof CompanyStatus) && status.value != null) status = CompanyStatus.valueOf(status.value);
134271
134401
  subTypes = ('subTypes' in props ? props.subTypes : VOID);
134272
134402
  if (Array.isArray(subTypes)) {
134273
134403
  subTypes = subTypes.map(i => (typeof i === 'object' && i !== null && !(i instanceof CompanySubType)) ? new CompanySubType(i) : i);
@@ -134762,7 +134892,8 @@ function UpdateCompanyRelationCommand(classification, fraction, kartverketId, na
134762
134892
  name = ('name' in props ? props.name : VOID);
134763
134893
  orgNr = ('orgNr' in props ? props.orgNr : VOID);
134764
134894
  relation = ('relation' in props ? props.relation : VOID);
134765
- if (typeof relation === 'object' && relation !== null && !(relation instanceof RelationType)) relation = new RelationType(relation);
134895
+ if (typeof relation === 'string') relation = RelationType.valueOf(relation);
134896
+ else if (typeof relation === 'object' && relation !== null && !(relation instanceof RelationType) && relation.value != null) relation = RelationType.valueOf(relation.value);
134766
134897
  }
134767
134898
  Companion_getInstance_571();
134768
134899
  fraction = fraction === VOID ? null : fraction;
@@ -135027,7 +135158,8 @@ function UpdateConversationCategoryCommand(coResponsibleIds, color, contactCateg
135027
135158
  const props = coResponsibleIds;
135028
135159
  coResponsibleIds = ('coResponsibleIds' in props ? props.coResponsibleIds : VOID);
135029
135160
  color = ('color' in props ? props.color : VOID);
135030
- if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor)) color = new CategoryColor(color);
135161
+ if (typeof color === 'string') color = CategoryColor.valueOf(color);
135162
+ else if (typeof color === 'object' && color !== null && !(color instanceof CategoryColor) && color.value != null) color = CategoryColor.valueOf(color.value);
135031
135163
  contactCategory = ('contactCategory' in props ? props.contactCategory : VOID);
135032
135164
  description = ('description' in props ? props.description : VOID);
135033
135165
  name = ('name' in props ? props.name : VOID);
@@ -135652,7 +135784,8 @@ function UpdateExternalInvoiceRecipientCommand(area, preferredAdvertisement, str
135652
135784
  const props = area;
135653
135785
  area = ('area' in props ? props.area : VOID);
135654
135786
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
135655
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
135787
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
135788
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
135656
135789
  streetAddress = ('streetAddress' in props ? props.streetAddress : VOID);
135657
135790
  zipCode = ('zipCode' in props ? props.zipCode : VOID);
135658
135791
  }
@@ -137146,10 +137279,12 @@ function UpdateInvoicePlanSettingsCommand(description, dueDate, interval, invoic
137146
137279
  description = ('description' in props ? props.description : VOID);
137147
137280
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
137148
137281
  interval = ('interval' in props ? props.interval : VOID);
137149
- if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval)) interval = new InvoicePlanInterval(interval);
137282
+ if (typeof interval === 'string') interval = InvoicePlanInterval.valueOf(interval);
137283
+ else if (typeof interval === 'object' && interval !== null && !(interval instanceof InvoicePlanInterval) && interval.value != null) interval = InvoicePlanInterval.valueOf(interval.value);
137150
137284
  invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
137151
137285
  mode = ('mode' in props ? props.mode : VOID);
137152
- if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode)) mode = new InvoicePlanMode(mode);
137286
+ if (typeof mode === 'string') mode = InvoicePlanMode.valueOf(mode);
137287
+ else if (typeof mode === 'object' && mode !== null && !(mode instanceof InvoicePlanMode) && mode.value != null) mode = InvoicePlanMode.valueOf(mode.value);
137153
137288
  oneTimeDate = ('oneTimeDate' in props ? props.oneTimeDate : VOID);
137154
137289
  if (typeof oneTimeDate === 'string') {
137155
137290
  if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(oneTimeDate)) oneTimeDate += ':00Z';
@@ -137406,7 +137541,8 @@ function UpdateInvoiceRecipientCommand(preferredAdvertisement) {
137406
137541
  if (arguments.length === 1 && typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && preferredAdvertisement.constructor === Object) {
137407
137542
  const props = preferredAdvertisement;
137408
137543
  preferredAdvertisement = ('preferredAdvertisement' in props ? props.preferredAdvertisement : VOID);
137409
- if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement)) preferredAdvertisement = new PreferredAdvertisement(preferredAdvertisement);
137544
+ if (typeof preferredAdvertisement === 'string') preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement);
137545
+ else if (typeof preferredAdvertisement === 'object' && preferredAdvertisement !== null && !(preferredAdvertisement instanceof PreferredAdvertisement) && preferredAdvertisement.value != null) preferredAdvertisement = PreferredAdvertisement.valueOf(preferredAdvertisement.value);
137410
137546
  }
137411
137547
  Companion_getInstance_585();
137412
137548
  preferredAdvertisement = preferredAdvertisement === VOID ? null : preferredAdvertisement;
@@ -139593,7 +139729,8 @@ function UpdateNoteCommand(note, type) {
139593
139729
  const props = note;
139594
139730
  note = ('note' in props ? props.note : VOID);
139595
139731
  type = ('type' in props ? props.type : VOID);
139596
- if (typeof type === 'object' && type !== null && !(type instanceof SectionType)) type = new SectionType(type);
139732
+ if (typeof type === 'string') type = SectionType.valueOf(type);
139733
+ else if (typeof type === 'object' && type !== null && !(type instanceof SectionType) && type.value != null) type = SectionType.valueOf(type.value);
139597
139734
  }
139598
139735
  Companion_getInstance_597();
139599
139736
  note = note === VOID ? null : note;
@@ -140613,7 +140750,8 @@ function UpdateParkingSpaceCommand(charger, note, spaceType) {
140613
140750
  charger = ('charger' in props ? props.charger : VOID);
140614
140751
  note = ('note' in props ? props.note : VOID);
140615
140752
  spaceType = ('spaceType' in props ? props.spaceType : VOID);
140616
- if (typeof spaceType === 'object' && spaceType !== null && !(spaceType instanceof ParkingSpaceType)) spaceType = new ParkingSpaceType(spaceType);
140753
+ if (typeof spaceType === 'string') spaceType = ParkingSpaceType.valueOf(spaceType);
140754
+ else if (typeof spaceType === 'object' && spaceType !== null && !(spaceType instanceof ParkingSpaceType) && spaceType.value != null) spaceType = ParkingSpaceType.valueOf(spaceType.value);
140617
140755
  }
140618
140756
  Companion_getInstance_601();
140619
140757
  note = note === VOID ? null : note;
@@ -143115,9 +143253,11 @@ function UpdateRoutineCommand(description, dueDateOffset, recommendedIntervalMet
143115
143253
  description = ('description' in props ? props.description : VOID);
143116
143254
  dueDateOffset = ('dueDateOffset' in props ? props.dueDateOffset : VOID);
143117
143255
  recommendedIntervalMethod = ('recommendedIntervalMethod' in props ? props.recommendedIntervalMethod : VOID);
143118
- if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod)) recommendedIntervalMethod = new RoutineMethod(recommendedIntervalMethod);
143256
+ if (typeof recommendedIntervalMethod === 'string') recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod);
143257
+ else if (typeof recommendedIntervalMethod === 'object' && recommendedIntervalMethod !== null && !(recommendedIntervalMethod instanceof RoutineMethod) && recommendedIntervalMethod.value != null) recommendedIntervalMethod = RoutineMethod.valueOf(recommendedIntervalMethod.value);
143119
143258
  recommendedIntervalType = ('recommendedIntervalType' in props ? props.recommendedIntervalType : VOID);
143120
- if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval)) recommendedIntervalType = new RoutineInterval(recommendedIntervalType);
143259
+ if (typeof recommendedIntervalType === 'string') recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType);
143260
+ else if (typeof recommendedIntervalType === 'object' && recommendedIntervalType !== null && !(recommendedIntervalType instanceof RoutineInterval) && recommendedIntervalType.value != null) recommendedIntervalType = RoutineInterval.valueOf(recommendedIntervalType.value);
143121
143261
  recommendedIntervalValue = ('recommendedIntervalValue' in props ? props.recommendedIntervalValue : VOID);
143122
143262
  requiresSupplier = ('requiresSupplier' in props ? props.requiresSupplier : VOID);
143123
143263
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
@@ -143823,7 +143963,8 @@ function UpdateSectionCommand(apartmentNr, companyId, hnr, identifier, inFourFra
143823
143963
  residenceNr = ('residenceNr' in props ? props.residenceNr : VOID);
143824
143964
  sectionAddressId = ('sectionAddressId' in props ? props.sectionAddressId : VOID);
143825
143965
  sectionType = ('sectionType' in props ? props.sectionType : VOID);
143826
- if (typeof sectionType === 'object' && sectionType !== null && !(sectionType instanceof SectionType)) sectionType = new SectionType(sectionType);
143966
+ if (typeof sectionType === 'string') sectionType = SectionType.valueOf(sectionType);
143967
+ else if (typeof sectionType === 'object' && sectionType !== null && !(sectionType instanceof SectionType) && sectionType.value != null) sectionType = SectionType.valueOf(sectionType.value);
143827
143968
  sectioningFraction = ('sectioningFraction' in props ? props.sectioningFraction : VOID);
143828
143969
  wealthFraction = ('wealthFraction' in props ? props.wealthFraction : VOID);
143829
143970
  }
@@ -144876,7 +145017,8 @@ function UpdateSettlementCustomCostCommand(amount, description, settlementType,
144876
145017
  amount = ('amount' in props ? props.amount : VOID);
144877
145018
  description = ('description' in props ? props.description : VOID);
144878
145019
  settlementType = ('settlementType' in props ? props.settlementType : VOID);
144879
- if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType)) settlementType = new SettlementType(settlementType);
145020
+ if (typeof settlementType === 'string') settlementType = SettlementType.valueOf(settlementType);
145021
+ else if (typeof settlementType === 'object' && settlementType !== null && !(settlementType instanceof SettlementType) && settlementType.value != null) settlementType = SettlementType.valueOf(settlementType.value);
144880
145022
  unitPrice = ('unitPrice' in props ? props.unitPrice : VOID);
144881
145023
  units = ('units' in props ? props.units : VOID);
144882
145024
  }
@@ -145445,7 +145587,8 @@ function UpdateStatusCommand(note, referencedOrganizationId, referencedPersonId,
145445
145587
  referencedOrganizationId = ('referencedOrganizationId' in props ? props.referencedOrganizationId : VOID);
145446
145588
  referencedPersonId = ('referencedPersonId' in props ? props.referencedPersonId : VOID);
145447
145589
  statusType = ('statusType' in props ? props.statusType : VOID);
145448
- if (typeof statusType === 'object' && statusType !== null && !(statusType instanceof SectionState)) statusType = new SectionState(statusType);
145590
+ if (typeof statusType === 'string') statusType = SectionState.valueOf(statusType);
145591
+ else if (typeof statusType === 'object' && statusType !== null && !(statusType instanceof SectionState) && statusType.value != null) statusType = SectionState.valueOf(statusType.value);
145449
145592
  }
145450
145593
  Companion_getInstance_619();
145451
145594
  note = note === VOID ? null : note;
@@ -146289,7 +146432,8 @@ function UpdateTaskCommand(description, dueDate, intervalStart, intervalType, in
146289
146432
  intervalStart = companion.ef(BigInt(intervalStart.getTime()));
146290
146433
  }
146291
146434
  intervalType = ('intervalType' in props ? props.intervalType : VOID);
146292
- if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof RoutineInterval)) intervalType = new RoutineInterval(intervalType);
146435
+ if (typeof intervalType === 'string') intervalType = RoutineInterval.valueOf(intervalType);
146436
+ else if (typeof intervalType === 'object' && intervalType !== null && !(intervalType instanceof RoutineInterval) && intervalType.value != null) intervalType = RoutineInterval.valueOf(intervalType.value);
146293
146437
  intervalValue = ('intervalValue' in props ? props.intervalValue : VOID);
146294
146438
  responsibleId = ('responsibleId' in props ? props.responsibleId : VOID);
146295
146439
  title = ('title' in props ? props.title : VOID);
@@ -224938,12 +225082,12 @@ protoOf($indexUserConversations$suspendBridgeCOROUTINE$).t9 = function () {
224938
225082
  }
224939
225083
  while (true);
224940
225084
  };
224941
- function $showAuthedUserCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225085
+ function $meCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
224942
225086
  CoroutineImpl.call(this, resultContinuation);
224943
225087
  this.qpm_1 = _this__u8e3s4;
224944
225088
  this.rpm_1 = fields;
224945
225089
  }
224946
- protoOf($showAuthedUserCOROUTINE$).t9 = function () {
225090
+ protoOf($meCOROUTINE$).t9 = function () {
224947
225091
  var suspendResult = this.n9_1;
224948
225092
  $sm: do
224949
225093
  try {
@@ -224963,7 +225107,7 @@ protoOf($showAuthedUserCOROUTINE$).t9 = function () {
224963
225107
 
224964
225108
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
224965
225109
  var tmp1_method = RequestMethod_GET_getInstance();
224966
- var localVariableConfig = new RequestConfig(tmp1_method, '/auth/user', localVariableHeaders, VOID, localVariableQuery, true);
225110
+ var localVariableConfig = new RequestConfig(tmp1_method, '/me', localVariableHeaders, VOID, localVariableQuery, true);
224967
225111
  this.l9_1 = 1;
224968
225112
  suspendResult = this.qpm_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
224969
225113
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -225003,12 +225147,12 @@ protoOf($showAuthedUserCOROUTINE$).t9 = function () {
225003
225147
  }
225004
225148
  while (true);
225005
225149
  };
225006
- function $showAuthedUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225150
+ function $me$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225007
225151
  CoroutineImpl.call(this, resultContinuation);
225008
225152
  this.apn_1 = _this__u8e3s4;
225009
225153
  this.bpn_1 = fields;
225010
225154
  }
225011
- protoOf($showAuthedUser$suspendBridgeCOROUTINE$).t9 = function () {
225155
+ protoOf($me$suspendBridgeCOROUTINE$).t9 = function () {
225012
225156
  var suspendResult = this.n9_1;
225013
225157
  $sm: do
225014
225158
  try {
@@ -225016,7 +225160,7 @@ protoOf($showAuthedUser$suspendBridgeCOROUTINE$).t9 = function () {
225016
225160
  switch (tmp) {
225017
225161
  case 0:
225018
225162
  this.m9_1 = 4;
225019
- if (this.apn_1.showAuthedUser === protoOf(UserApi).showAuthedUser) {
225163
+ if (this.apn_1.me === protoOf(UserApi).me) {
225020
225164
  this.l9_1 = 2;
225021
225165
  suspendResult = this.apn_1.dpn(this.bpn_1, this);
225022
225166
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -225025,7 +225169,7 @@ protoOf($showAuthedUser$suspendBridgeCOROUTINE$).t9 = function () {
225025
225169
  continue $sm;
225026
225170
  } else {
225027
225171
  this.l9_1 = 1;
225028
- suspendResult = await_0(this.apn_1.showAuthedUser(this.bpn_1), this);
225172
+ suspendResult = await_0(this.apn_1.me(this.bpn_1), this);
225029
225173
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225030
225174
  return suspendResult;
225031
225175
  }
@@ -225056,12 +225200,12 @@ protoOf($showAuthedUser$suspendBridgeCOROUTINE$).t9 = function () {
225056
225200
  }
225057
225201
  while (true);
225058
225202
  };
225059
- function $showUserCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225203
+ function $showAuthedUserCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225060
225204
  CoroutineImpl.call(this, resultContinuation);
225061
225205
  this.mpn_1 = _this__u8e3s4;
225062
225206
  this.npn_1 = fields;
225063
225207
  }
225064
- protoOf($showUserCOROUTINE$).t9 = function () {
225208
+ protoOf($showAuthedUserCOROUTINE$).t9 = function () {
225065
225209
  var suspendResult = this.n9_1;
225066
225210
  $sm: do
225067
225211
  try {
@@ -225081,7 +225225,7 @@ protoOf($showUserCOROUTINE$).t9 = function () {
225081
225225
 
225082
225226
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
225083
225227
  var tmp1_method = RequestMethod_GET_getInstance();
225084
- var localVariableConfig = new RequestConfig(tmp1_method, '/user', localVariableHeaders, VOID, localVariableQuery, true);
225228
+ var localVariableConfig = new RequestConfig(tmp1_method, '/auth/user', localVariableHeaders, VOID, localVariableQuery, true);
225085
225229
  this.l9_1 = 1;
225086
225230
  suspendResult = this.mpn_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225087
225231
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -225091,10 +225235,10 @@ protoOf($showUserCOROUTINE$).t9 = function () {
225091
225235
  continue $sm;
225092
225236
  case 1:
225093
225237
  var this_0 = suspendResult;
225094
- var tmp_0 = getKClass(PersonUser);
225238
+ var tmp_0 = getKClass(AuthUser);
225095
225239
  var tmp_1;
225096
225240
  try {
225097
- tmp_1 = createKType(getKClass(PersonUser), arrayOf([]), false);
225241
+ tmp_1 = createKType(getKClass(AuthUser), arrayOf([]), false);
225098
225242
  } catch ($p) {
225099
225243
  var tmp_2;
225100
225244
  if ($p instanceof Error) {
@@ -225121,12 +225265,12 @@ protoOf($showUserCOROUTINE$).t9 = function () {
225121
225265
  }
225122
225266
  while (true);
225123
225267
  };
225124
- function $showUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225268
+ function $showAuthedUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225125
225269
  CoroutineImpl.call(this, resultContinuation);
225126
225270
  this.wpn_1 = _this__u8e3s4;
225127
225271
  this.xpn_1 = fields;
225128
225272
  }
225129
- protoOf($showUser$suspendBridgeCOROUTINE$).t9 = function () {
225273
+ protoOf($showAuthedUser$suspendBridgeCOROUTINE$).t9 = function () {
225130
225274
  var suspendResult = this.n9_1;
225131
225275
  $sm: do
225132
225276
  try {
@@ -225134,7 +225278,7 @@ protoOf($showUser$suspendBridgeCOROUTINE$).t9 = function () {
225134
225278
  switch (tmp) {
225135
225279
  case 0:
225136
225280
  this.m9_1 = 4;
225137
- if (this.wpn_1.showUser === protoOf(UserApi).showUser) {
225281
+ if (this.wpn_1.showAuthedUser === protoOf(UserApi).showAuthedUser) {
225138
225282
  this.l9_1 = 2;
225139
225283
  suspendResult = this.wpn_1.zpn(this.xpn_1, this);
225140
225284
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -225143,7 +225287,7 @@ protoOf($showUser$suspendBridgeCOROUTINE$).t9 = function () {
225143
225287
  continue $sm;
225144
225288
  } else {
225145
225289
  this.l9_1 = 1;
225146
- suspendResult = await_0(this.wpn_1.showUser(this.xpn_1), this);
225290
+ suspendResult = await_0(this.wpn_1.showAuthedUser(this.xpn_1), this);
225147
225291
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225148
225292
  return suspendResult;
225149
225293
  }
@@ -225174,16 +225318,12 @@ protoOf($showUser$suspendBridgeCOROUTINE$).t9 = function () {
225174
225318
  }
225175
225319
  while (true);
225176
225320
  };
225177
- function $showUserActionsCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
225321
+ function $showUserCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225178
225322
  CoroutineImpl.call(this, resultContinuation);
225179
225323
  this.ipo_1 = _this__u8e3s4;
225180
- this.jpo_1 = companyId;
225181
- this.kpo_1 = fields;
225182
- this.lpo_1 = pageToken;
225183
- this.mpo_1 = autoPaginate;
225184
- this.npo_1 = count;
225324
+ this.jpo_1 = fields;
225185
225325
  }
225186
- protoOf($showUserActionsCOROUTINE$).t9 = function () {
225326
+ protoOf($showUserCOROUTINE$).t9 = function () {
225187
225327
  var suspendResult = this.n9_1;
225188
225328
  $sm: do
225189
225329
  try {
@@ -225196,39 +225336,161 @@ protoOf($showUserActionsCOROUTINE$).t9 = function () {
225196
225336
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
225197
225337
  if (this.jpo_1 == null)
225198
225338
  null;
225339
+ else {
225340
+ var value = listOf_0(this.jpo_1);
225341
+ localVariableQuery.c3('fields', value);
225342
+ }
225343
+
225344
+ var localVariableHeaders = LinkedHashMap_init_$Create$_0();
225345
+ var tmp1_method = RequestMethod_GET_getInstance();
225346
+ var localVariableConfig = new RequestConfig(tmp1_method, '/user', localVariableHeaders, VOID, localVariableQuery, true);
225347
+ this.l9_1 = 1;
225348
+ suspendResult = this.ipo_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225349
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
225350
+ return suspendResult;
225351
+ }
225352
+
225353
+ continue $sm;
225354
+ case 1:
225355
+ var this_0 = suspendResult;
225356
+ var tmp_0 = getKClass(PersonUser);
225357
+ var tmp_1;
225358
+ try {
225359
+ tmp_1 = createKType(getKClass(PersonUser), arrayOf([]), false);
225360
+ } catch ($p) {
225361
+ var tmp_2;
225362
+ if ($p instanceof Error) {
225363
+ var _unused_var__etf5q3 = $p;
225364
+ tmp_2 = null;
225365
+ } else {
225366
+ throw $p;
225367
+ }
225368
+ tmp_1 = tmp_2;
225369
+ }
225370
+
225371
+ return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1)));
225372
+ case 2:
225373
+ throw this.o9_1;
225374
+ }
225375
+ } catch ($p) {
225376
+ var e = $p;
225377
+ if (this.m9_1 === 2) {
225378
+ throw e;
225379
+ } else {
225380
+ this.l9_1 = this.m9_1;
225381
+ this.o9_1 = e;
225382
+ }
225383
+ }
225384
+ while (true);
225385
+ };
225386
+ function $showUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
225387
+ CoroutineImpl.call(this, resultContinuation);
225388
+ this.spo_1 = _this__u8e3s4;
225389
+ this.tpo_1 = fields;
225390
+ }
225391
+ protoOf($showUser$suspendBridgeCOROUTINE$).t9 = function () {
225392
+ var suspendResult = this.n9_1;
225393
+ $sm: do
225394
+ try {
225395
+ var tmp = this.l9_1;
225396
+ switch (tmp) {
225397
+ case 0:
225398
+ this.m9_1 = 4;
225399
+ if (this.spo_1.showUser === protoOf(UserApi).showUser) {
225400
+ this.l9_1 = 2;
225401
+ suspendResult = this.spo_1.vpo(this.tpo_1, this);
225402
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
225403
+ return suspendResult;
225404
+ }
225405
+ continue $sm;
225406
+ } else {
225407
+ this.l9_1 = 1;
225408
+ suspendResult = await_0(this.spo_1.showUser(this.tpo_1), this);
225409
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
225410
+ return suspendResult;
225411
+ }
225412
+ continue $sm;
225413
+ }
225414
+
225415
+ case 1:
225416
+ this.upo_1 = suspendResult;
225417
+ this.l9_1 = 3;
225418
+ continue $sm;
225419
+ case 2:
225420
+ this.upo_1 = suspendResult;
225421
+ this.l9_1 = 3;
225422
+ continue $sm;
225423
+ case 3:
225424
+ return this.upo_1;
225425
+ case 4:
225426
+ throw this.o9_1;
225427
+ }
225428
+ } catch ($p) {
225429
+ var e = $p;
225430
+ if (this.m9_1 === 4) {
225431
+ throw e;
225432
+ } else {
225433
+ this.l9_1 = this.m9_1;
225434
+ this.o9_1 = e;
225435
+ }
225436
+ }
225437
+ while (true);
225438
+ };
225439
+ function $showUserActionsCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
225440
+ CoroutineImpl.call(this, resultContinuation);
225441
+ this.fpp_1 = _this__u8e3s4;
225442
+ this.gpp_1 = companyId;
225443
+ this.hpp_1 = fields;
225444
+ this.ipp_1 = pageToken;
225445
+ this.jpp_1 = autoPaginate;
225446
+ this.kpp_1 = count;
225447
+ }
225448
+ protoOf($showUserActionsCOROUTINE$).t9 = function () {
225449
+ var suspendResult = this.n9_1;
225450
+ $sm: do
225451
+ try {
225452
+ var tmp = this.l9_1;
225453
+ switch (tmp) {
225454
+ case 0:
225455
+ this.m9_1 = 2;
225456
+ var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
225457
+ var localVariableBody = EmptyContent_getInstance();
225458
+ var localVariableQuery = LinkedHashMap_init_$Create$_0();
225459
+ if (this.gpp_1 == null)
225460
+ null;
225199
225461
  else {
225200
225462
  var tmp2 = 'companyId';
225201
- var value = listOf_0(this.jpo_1.toString());
225463
+ var value = listOf_0(this.gpp_1.toString());
225202
225464
  localVariableQuery.c3(tmp2, value);
225203
225465
  }
225204
225466
 
225205
- if (this.kpo_1 == null)
225467
+ if (this.hpp_1 == null)
225206
225468
  null;
225207
225469
  else {
225208
- var value_0 = listOf_0(this.kpo_1);
225470
+ var value_0 = listOf_0(this.hpp_1);
225209
225471
  localVariableQuery.c3('fields', value_0);
225210
225472
  }
225211
225473
 
225212
- if (this.lpo_1 == null)
225474
+ if (this.ipp_1 == null)
225213
225475
  null;
225214
225476
  else {
225215
225477
  var tmp2_0 = 'pageToken';
225216
- var value_1 = listOf_0(this.lpo_1);
225478
+ var value_1 = listOf_0(this.ipp_1);
225217
225479
  localVariableQuery.c3(tmp2_0, value_1);
225218
225480
  }
225219
225481
 
225220
- if (this.mpo_1 == null)
225482
+ if (this.jpp_1 == null)
225221
225483
  null;
225222
225484
  else {
225223
225485
  var tmp2_1 = 'autoPaginate';
225224
- var value_2 = listOf_0('' + this.mpo_1);
225486
+ var value_2 = listOf_0('' + this.jpp_1);
225225
225487
  localVariableQuery.c3(tmp2_1, value_2);
225226
225488
  }
225227
225489
 
225228
- if (this.npo_1 == null)
225490
+ if (this.kpp_1 == null)
225229
225491
  null;
225230
225492
  else {
225231
- var value_3 = listOf_0('' + this.npo_1);
225493
+ var value_3 = listOf_0('' + this.kpp_1);
225232
225494
  localVariableQuery.c3('count', value_3);
225233
225495
  }
225234
225496
 
@@ -225236,7 +225498,7 @@ protoOf($showUserActionsCOROUTINE$).t9 = function () {
225236
225498
  var tmp5_method = RequestMethod_GET_getInstance();
225237
225499
  var localVariableConfig = new RequestConfig(tmp5_method, '/user/actions', localVariableHeaders, VOID, localVariableQuery, true);
225238
225500
  this.l9_1 = 1;
225239
- suspendResult = this.ipo_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225501
+ suspendResult = this.fpp_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225240
225502
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225241
225503
  return suspendResult;
225242
225504
  }
@@ -225276,12 +225538,12 @@ protoOf($showUserActionsCOROUTINE$).t9 = function () {
225276
225538
  };
225277
225539
  function $showUserActions$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
225278
225540
  CoroutineImpl.call(this, resultContinuation);
225279
- this.wpo_1 = _this__u8e3s4;
225280
- this.xpo_1 = companyId;
225281
- this.ypo_1 = fields;
225282
- this.zpo_1 = pageToken;
225283
- this.bpp_1 = autoPaginate;
225284
- this.cpp_1 = count;
225541
+ this.tpp_1 = _this__u8e3s4;
225542
+ this.upp_1 = companyId;
225543
+ this.vpp_1 = fields;
225544
+ this.wpp_1 = pageToken;
225545
+ this.xpp_1 = autoPaginate;
225546
+ this.ypp_1 = count;
225285
225547
  }
225286
225548
  protoOf($showUserActions$suspendBridgeCOROUTINE$).t9 = function () {
225287
225549
  var suspendResult = this.n9_1;
@@ -225291,16 +225553,16 @@ protoOf($showUserActions$suspendBridgeCOROUTINE$).t9 = function () {
225291
225553
  switch (tmp) {
225292
225554
  case 0:
225293
225555
  this.m9_1 = 4;
225294
- if (this.wpo_1.showUserActions === protoOf(UserApi).showUserActions) {
225556
+ if (this.tpp_1.showUserActions === protoOf(UserApi).showUserActions) {
225295
225557
  this.l9_1 = 2;
225296
- suspendResult = this.wpo_1.epp(this.xpo_1, this.ypo_1, this.zpo_1, this.bpp_1, this.cpp_1, this);
225558
+ suspendResult = this.tpp_1.apq(this.upp_1, this.vpp_1, this.wpp_1, this.xpp_1, this.ypp_1, this);
225297
225559
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225298
225560
  return suspendResult;
225299
225561
  }
225300
225562
  continue $sm;
225301
225563
  } else {
225302
225564
  this.l9_1 = 1;
225303
- suspendResult = await_0(this.wpo_1.showUserActions(this.xpo_1, this.ypo_1, this.zpo_1, this.bpp_1, this.cpp_1), this);
225565
+ suspendResult = await_0(this.tpp_1.showUserActions(this.upp_1, this.vpp_1, this.wpp_1, this.xpp_1, this.ypp_1), this);
225304
225566
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225305
225567
  return suspendResult;
225306
225568
  }
@@ -225308,15 +225570,15 @@ protoOf($showUserActions$suspendBridgeCOROUTINE$).t9 = function () {
225308
225570
  }
225309
225571
 
225310
225572
  case 1:
225311
- this.dpp_1 = suspendResult;
225573
+ this.zpp_1 = suspendResult;
225312
225574
  this.l9_1 = 3;
225313
225575
  continue $sm;
225314
225576
  case 2:
225315
- this.dpp_1 = suspendResult;
225577
+ this.zpp_1 = suspendResult;
225316
225578
  this.l9_1 = 3;
225317
225579
  continue $sm;
225318
225580
  case 3:
225319
- return this.dpp_1;
225581
+ return this.zpp_1;
225320
225582
  case 4:
225321
225583
  throw this.o9_1;
225322
225584
  }
@@ -225333,10 +225595,10 @@ protoOf($showUserActions$suspendBridgeCOROUTINE$).t9 = function () {
225333
225595
  };
225334
225596
  function $showUserImageCOROUTINE$(_this__u8e3s4, personId, fileName, size, resultContinuation) {
225335
225597
  CoroutineImpl.call(this, resultContinuation);
225336
- this.npp_1 = _this__u8e3s4;
225337
- this.opp_1 = personId;
225338
- this.ppp_1 = fileName;
225339
- this.qpp_1 = size;
225598
+ this.jpq_1 = _this__u8e3s4;
225599
+ this.kpq_1 = personId;
225600
+ this.lpq_1 = fileName;
225601
+ this.mpq_1 = size;
225340
225602
  }
225341
225603
  protoOf($showUserImageCOROUTINE$).t9 = function () {
225342
225604
  var suspendResult = this.n9_1;
@@ -225349,19 +225611,19 @@ protoOf($showUserImageCOROUTINE$).t9 = function () {
225349
225611
  var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
225350
225612
  var localVariableBody = EmptyContent_getInstance();
225351
225613
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
225352
- if (this.qpp_1 == null)
225614
+ if (this.mpq_1 == null)
225353
225615
  null;
225354
225616
  else {
225355
- var value = listOf_0(this.qpp_1);
225617
+ var value = listOf_0(this.mpq_1);
225356
225618
  localVariableQuery.c3('size', value);
225357
225619
  }
225358
225620
 
225359
225621
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
225360
225622
  var tmp1_method = RequestMethod_GET_getInstance();
225361
- var tmp2_path = replace(replace('/users/{personId}/profile/image/{fileName}', '{personId}', this.opp_1.toString()), '{fileName}', this.ppp_1);
225623
+ var tmp2_path = replace(replace('/users/{personId}/profile/image/{fileName}', '{personId}', this.kpq_1.toString()), '{fileName}', this.lpq_1);
225362
225624
  var localVariableConfig = new RequestConfig(tmp1_method, tmp2_path, localVariableHeaders, VOID, localVariableQuery, true);
225363
225625
  this.l9_1 = 1;
225364
- suspendResult = this.npp_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225626
+ suspendResult = this.jpq_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225365
225627
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225366
225628
  return suspendResult;
225367
225629
  }
@@ -225401,10 +225663,10 @@ protoOf($showUserImageCOROUTINE$).t9 = function () {
225401
225663
  };
225402
225664
  function $showUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, personId, fileName, size, resultContinuation) {
225403
225665
  CoroutineImpl.call(this, resultContinuation);
225404
- this.zpp_1 = _this__u8e3s4;
225405
- this.apq_1 = personId;
225406
- this.bpq_1 = fileName;
225407
- this.cpq_1 = size;
225666
+ this.vpq_1 = _this__u8e3s4;
225667
+ this.wpq_1 = personId;
225668
+ this.xpq_1 = fileName;
225669
+ this.ypq_1 = size;
225408
225670
  }
225409
225671
  protoOf($showUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225410
225672
  var suspendResult = this.n9_1;
@@ -225414,16 +225676,16 @@ protoOf($showUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225414
225676
  switch (tmp) {
225415
225677
  case 0:
225416
225678
  this.m9_1 = 4;
225417
- if (this.zpp_1.showUserImage === protoOf(UserApi).showUserImage) {
225679
+ if (this.vpq_1.showUserImage === protoOf(UserApi).showUserImage) {
225418
225680
  this.l9_1 = 2;
225419
- suspendResult = this.zpp_1.epq(this.apq_1, this.bpq_1, this.cpq_1, this);
225681
+ suspendResult = this.vpq_1.apr(this.wpq_1, this.xpq_1, this.ypq_1, this);
225420
225682
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225421
225683
  return suspendResult;
225422
225684
  }
225423
225685
  continue $sm;
225424
225686
  } else {
225425
225687
  this.l9_1 = 1;
225426
- suspendResult = await_0(this.zpp_1.showUserImage(this.apq_1, this.bpq_1, this.cpq_1), this);
225688
+ suspendResult = await_0(this.vpq_1.showUserImage(this.wpq_1, this.xpq_1, this.ypq_1), this);
225427
225689
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225428
225690
  return suspendResult;
225429
225691
  }
@@ -225431,15 +225693,15 @@ protoOf($showUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225431
225693
  }
225432
225694
 
225433
225695
  case 1:
225434
- this.dpq_1 = suspendResult;
225696
+ this.zpq_1 = suspendResult;
225435
225697
  this.l9_1 = 3;
225436
225698
  continue $sm;
225437
225699
  case 2:
225438
- this.dpq_1 = suspendResult;
225700
+ this.zpq_1 = suspendResult;
225439
225701
  this.l9_1 = 3;
225440
225702
  continue $sm;
225441
225703
  case 3:
225442
- return this.dpq_1;
225704
+ return this.zpq_1;
225443
225705
  case 4:
225444
225706
  throw this.o9_1;
225445
225707
  }
@@ -225456,8 +225718,8 @@ protoOf($showUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225456
225718
  };
225457
225719
  function $updateUserCOROUTINE$(_this__u8e3s4, updateProfileCommand, resultContinuation) {
225458
225720
  CoroutineImpl.call(this, resultContinuation);
225459
- this.npq_1 = _this__u8e3s4;
225460
- this.opq_1 = updateProfileCommand;
225721
+ this.jpr_1 = _this__u8e3s4;
225722
+ this.kpr_1 = updateProfileCommand;
225461
225723
  }
225462
225724
  protoOf($updateUserCOROUTINE$).t9 = function () {
225463
225725
  var suspendResult = this.n9_1;
@@ -225468,13 +225730,13 @@ protoOf($updateUserCOROUTINE$).t9 = function () {
225468
225730
  case 0:
225469
225731
  this.m9_1 = 2;
225470
225732
  var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
225471
- var localVariableBody = this.opq_1;
225733
+ var localVariableBody = this.kpr_1;
225472
225734
  var localVariableQuery = LinkedHashMap_init_$Create$_0();
225473
225735
  var localVariableHeaders = LinkedHashMap_init_$Create$_0();
225474
225736
  var tmp0_method = RequestMethod_PUT_getInstance();
225475
225737
  var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile', localVariableHeaders, VOID, localVariableQuery, true);
225476
225738
  this.l9_1 = 1;
225477
- suspendResult = this.npq_1.pa5(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225739
+ suspendResult = this.jpr_1.pa5(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225478
225740
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225479
225741
  return suspendResult;
225480
225742
  }
@@ -225514,8 +225776,8 @@ protoOf($updateUserCOROUTINE$).t9 = function () {
225514
225776
  };
225515
225777
  function $updateUser$suspendBridgeCOROUTINE$(_this__u8e3s4, updateProfileCommand, resultContinuation) {
225516
225778
  CoroutineImpl.call(this, resultContinuation);
225517
- this.xpq_1 = _this__u8e3s4;
225518
- this.ypq_1 = updateProfileCommand;
225779
+ this.tpr_1 = _this__u8e3s4;
225780
+ this.upr_1 = updateProfileCommand;
225519
225781
  }
225520
225782
  protoOf($updateUser$suspendBridgeCOROUTINE$).t9 = function () {
225521
225783
  var suspendResult = this.n9_1;
@@ -225525,16 +225787,16 @@ protoOf($updateUser$suspendBridgeCOROUTINE$).t9 = function () {
225525
225787
  switch (tmp) {
225526
225788
  case 0:
225527
225789
  this.m9_1 = 4;
225528
- if (this.xpq_1.updateUser === protoOf(UserApi).updateUser) {
225790
+ if (this.tpr_1.updateUser === protoOf(UserApi).updateUser) {
225529
225791
  this.l9_1 = 2;
225530
- suspendResult = this.xpq_1.apr(this.ypq_1, this);
225792
+ suspendResult = this.tpr_1.wpr(this.upr_1, this);
225531
225793
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225532
225794
  return suspendResult;
225533
225795
  }
225534
225796
  continue $sm;
225535
225797
  } else {
225536
225798
  this.l9_1 = 1;
225537
- suspendResult = await_0(this.xpq_1.updateUser(this.ypq_1), this);
225799
+ suspendResult = await_0(this.tpr_1.updateUser(this.upr_1), this);
225538
225800
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225539
225801
  return suspendResult;
225540
225802
  }
@@ -225542,15 +225804,15 @@ protoOf($updateUser$suspendBridgeCOROUTINE$).t9 = function () {
225542
225804
  }
225543
225805
 
225544
225806
  case 1:
225545
- this.zpq_1 = suspendResult;
225807
+ this.vpr_1 = suspendResult;
225546
225808
  this.l9_1 = 3;
225547
225809
  continue $sm;
225548
225810
  case 2:
225549
- this.zpq_1 = suspendResult;
225811
+ this.vpr_1 = suspendResult;
225550
225812
  this.l9_1 = 3;
225551
225813
  continue $sm;
225552
225814
  case 3:
225553
- return this.zpq_1;
225815
+ return this.vpr_1;
225554
225816
  case 4:
225555
225817
  throw this.o9_1;
225556
225818
  }
@@ -225567,7 +225829,7 @@ protoOf($updateUser$suspendBridgeCOROUTINE$).t9 = function () {
225567
225829
  };
225568
225830
  function $updateUserImageCOROUTINE$(_this__u8e3s4, resultContinuation) {
225569
225831
  CoroutineImpl.call(this, resultContinuation);
225570
- this.jpr_1 = _this__u8e3s4;
225832
+ this.fps_1 = _this__u8e3s4;
225571
225833
  }
225572
225834
  protoOf($updateUserImageCOROUTINE$).t9 = function () {
225573
225835
  var suspendResult = this.n9_1;
@@ -225584,7 +225846,7 @@ protoOf($updateUserImageCOROUTINE$).t9 = function () {
225584
225846
  var tmp0_method = RequestMethod_PUT_getInstance();
225585
225847
  var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile/image', localVariableHeaders, VOID, localVariableQuery, true);
225586
225848
  this.l9_1 = 1;
225587
- suspendResult = this.jpr_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225849
+ suspendResult = this.fps_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225588
225850
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225589
225851
  return suspendResult;
225590
225852
  }
@@ -225624,7 +225886,7 @@ protoOf($updateUserImageCOROUTINE$).t9 = function () {
225624
225886
  };
225625
225887
  function $updateUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
225626
225888
  CoroutineImpl.call(this, resultContinuation);
225627
- this.spr_1 = _this__u8e3s4;
225889
+ this.ops_1 = _this__u8e3s4;
225628
225890
  }
225629
225891
  protoOf($updateUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225630
225892
  var suspendResult = this.n9_1;
@@ -225634,16 +225896,16 @@ protoOf($updateUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225634
225896
  switch (tmp) {
225635
225897
  case 0:
225636
225898
  this.m9_1 = 4;
225637
- if (this.spr_1.updateUserImage === protoOf(UserApi).updateUserImage) {
225899
+ if (this.ops_1.updateUserImage === protoOf(UserApi).updateUserImage) {
225638
225900
  this.l9_1 = 2;
225639
- suspendResult = this.spr_1.upr(this);
225901
+ suspendResult = this.ops_1.qps(this);
225640
225902
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225641
225903
  return suspendResult;
225642
225904
  }
225643
225905
  continue $sm;
225644
225906
  } else {
225645
225907
  this.l9_1 = 1;
225646
- suspendResult = await_0(this.spr_1.updateUserImage(), this);
225908
+ suspendResult = await_0(this.ops_1.updateUserImage(), this);
225647
225909
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225648
225910
  return suspendResult;
225649
225911
  }
@@ -225651,15 +225913,15 @@ protoOf($updateUserImage$suspendBridgeCOROUTINE$).t9 = function () {
225651
225913
  }
225652
225914
 
225653
225915
  case 1:
225654
- this.tpr_1 = suspendResult;
225916
+ this.pps_1 = suspendResult;
225655
225917
  this.l9_1 = 3;
225656
225918
  continue $sm;
225657
225919
  case 2:
225658
- this.tpr_1 = suspendResult;
225920
+ this.pps_1 = suspendResult;
225659
225921
  this.l9_1 = 3;
225660
225922
  continue $sm;
225661
225923
  case 3:
225662
- return this.tpr_1;
225924
+ return this.pps_1;
225663
225925
  case 4:
225664
225926
  throw this.o9_1;
225665
225927
  }
@@ -225686,13 +225948,13 @@ protoOf(UserApi).deleteUserImage = function () {
225686
225948
  return tmp.dpl($completion);
225687
225949
  });
225688
225950
  };
225689
- protoOf(UserApi).vpr = function ($completion) {
225951
+ protoOf(UserApi).rps = function ($completion) {
225690
225952
  var tmp = new $deleteUserImage$suspendBridgeCOROUTINE$(this, $completion);
225691
225953
  tmp.n9_1 = Unit_instance;
225692
225954
  tmp.o9_1 = null;
225693
225955
  return tmp.t9();
225694
225956
  };
225695
- protoOf(UserApi).wpr = function (unread, fields, pageToken, autoPaginate, count, $completion) {
225957
+ protoOf(UserApi).sps = function (unread, fields, pageToken, autoPaginate, count, $completion) {
225696
225958
  var tmp = new $indexUserConversationsCOROUTINE$(this, unread, fields, pageToken, autoPaginate, count, $completion);
225697
225959
  tmp.n9_1 = Unit_instance;
225698
225960
  tmp.o9_1 = null;
@@ -225704,7 +225966,7 @@ protoOf(UserApi).hpm = function (unread, fields, pageToken, autoPaginate, count,
225704
225966
  pageToken = pageToken === VOID ? null : pageToken;
225705
225967
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
225706
225968
  count = count === VOID ? null : count;
225707
- return $super === VOID ? this.wpr(unread, fields, pageToken, autoPaginate, count, $completion) : $super.wpr.call(this, unread, fields, pageToken, autoPaginate, count, $completion);
225969
+ return $super === VOID ? this.sps(unread, fields, pageToken, autoPaginate, count, $completion) : $super.sps.call(this, unread, fields, pageToken, autoPaginate, count, $completion);
225708
225970
  };
225709
225971
  protoOf(UserApi).indexUserConversations = function (unread, fields, pageToken, autoPaginate, count) {
225710
225972
  var tmp = this;
@@ -225712,105 +225974,127 @@ protoOf(UserApi).indexUserConversations = function (unread, fields, pageToken, a
225712
225974
  return tmp.hpm(unread, fields, pageToken, autoPaginate, count, $completion);
225713
225975
  });
225714
225976
  };
225715
- protoOf(UserApi).xpr = function (unread, fields, pageToken, autoPaginate, count, $completion) {
225977
+ protoOf(UserApi).tps = function (unread, fields, pageToken, autoPaginate, count, $completion) {
225716
225978
  var tmp = new $indexUserConversations$suspendBridgeCOROUTINE$(this, unread, fields, pageToken, autoPaginate, count, $completion);
225717
225979
  tmp.n9_1 = Unit_instance;
225718
225980
  tmp.o9_1 = null;
225719
225981
  return tmp.t9();
225720
225982
  };
225721
- protoOf(UserApi).ypr = function (fields, $completion) {
225722
- var tmp = new $showAuthedUserCOROUTINE$(this, fields, $completion);
225983
+ protoOf(UserApi).ups = function (fields, $completion) {
225984
+ var tmp = new $meCOROUTINE$(this, fields, $completion);
225723
225985
  tmp.n9_1 = Unit_instance;
225724
225986
  tmp.o9_1 = null;
225725
225987
  return tmp.t9();
225726
225988
  };
225727
225989
  protoOf(UserApi).dpn = function (fields, $completion, $super) {
225728
225990
  fields = fields === VOID ? null : fields;
225729
- return $super === VOID ? this.ypr(fields, $completion) : $super.ypr.call(this, fields, $completion);
225991
+ return $super === VOID ? this.ups(fields, $completion) : $super.ups.call(this, fields, $completion);
225730
225992
  };
225731
- protoOf(UserApi).showAuthedUser = function (fields) {
225993
+ protoOf(UserApi).me = function (fields) {
225732
225994
  var tmp = this;
225733
225995
  return promisify(function ($completion) {
225734
225996
  return tmp.dpn(fields, $completion);
225735
225997
  });
225736
225998
  };
225737
- protoOf(UserApi).zpr = function (fields, $completion) {
225999
+ protoOf(UserApi).vps = function (fields, $completion) {
226000
+ var tmp = new $me$suspendBridgeCOROUTINE$(this, fields, $completion);
226001
+ tmp.n9_1 = Unit_instance;
226002
+ tmp.o9_1 = null;
226003
+ return tmp.t9();
226004
+ };
226005
+ protoOf(UserApi).wps = function (fields, $completion) {
226006
+ var tmp = new $showAuthedUserCOROUTINE$(this, fields, $completion);
226007
+ tmp.n9_1 = Unit_instance;
226008
+ tmp.o9_1 = null;
226009
+ return tmp.t9();
226010
+ };
226011
+ protoOf(UserApi).zpn = function (fields, $completion, $super) {
226012
+ fields = fields === VOID ? null : fields;
226013
+ return $super === VOID ? this.wps(fields, $completion) : $super.wps.call(this, fields, $completion);
226014
+ };
226015
+ protoOf(UserApi).showAuthedUser = function (fields) {
226016
+ var tmp = this;
226017
+ return promisify(function ($completion) {
226018
+ return tmp.zpn(fields, $completion);
226019
+ });
226020
+ };
226021
+ protoOf(UserApi).xps = function (fields, $completion) {
225738
226022
  var tmp = new $showAuthedUser$suspendBridgeCOROUTINE$(this, fields, $completion);
225739
226023
  tmp.n9_1 = Unit_instance;
225740
226024
  tmp.o9_1 = null;
225741
226025
  return tmp.t9();
225742
226026
  };
225743
- protoOf(UserApi).aps = function (fields, $completion) {
226027
+ protoOf(UserApi).yps = function (fields, $completion) {
225744
226028
  var tmp = new $showUserCOROUTINE$(this, fields, $completion);
225745
226029
  tmp.n9_1 = Unit_instance;
225746
226030
  tmp.o9_1 = null;
225747
226031
  return tmp.t9();
225748
226032
  };
225749
- protoOf(UserApi).zpn = function (fields, $completion, $super) {
226033
+ protoOf(UserApi).vpo = function (fields, $completion, $super) {
225750
226034
  fields = fields === VOID ? null : fields;
225751
- return $super === VOID ? this.aps(fields, $completion) : $super.aps.call(this, fields, $completion);
226035
+ return $super === VOID ? this.yps(fields, $completion) : $super.yps.call(this, fields, $completion);
225752
226036
  };
225753
226037
  protoOf(UserApi).showUser = function (fields) {
225754
226038
  var tmp = this;
225755
226039
  return promisify(function ($completion) {
225756
- return tmp.zpn(fields, $completion);
226040
+ return tmp.vpo(fields, $completion);
225757
226041
  });
225758
226042
  };
225759
- protoOf(UserApi).bps = function (fields, $completion) {
226043
+ protoOf(UserApi).zps = function (fields, $completion) {
225760
226044
  var tmp = new $showUser$suspendBridgeCOROUTINE$(this, fields, $completion);
225761
226045
  tmp.n9_1 = Unit_instance;
225762
226046
  tmp.o9_1 = null;
225763
226047
  return tmp.t9();
225764
226048
  };
225765
- protoOf(UserApi).cps = function (companyId, fields, pageToken, autoPaginate, count, $completion) {
226049
+ protoOf(UserApi).apt = function (companyId, fields, pageToken, autoPaginate, count, $completion) {
225766
226050
  var tmp = new $showUserActionsCOROUTINE$(this, companyId, fields, pageToken, autoPaginate, count, $completion);
225767
226051
  tmp.n9_1 = Unit_instance;
225768
226052
  tmp.o9_1 = null;
225769
226053
  return tmp.t9();
225770
226054
  };
225771
- protoOf(UserApi).epp = function (companyId, fields, pageToken, autoPaginate, count, $completion, $super) {
226055
+ protoOf(UserApi).apq = function (companyId, fields, pageToken, autoPaginate, count, $completion, $super) {
225772
226056
  companyId = companyId === VOID ? null : companyId;
225773
226057
  fields = fields === VOID ? null : fields;
225774
226058
  pageToken = pageToken === VOID ? null : pageToken;
225775
226059
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
225776
226060
  count = count === VOID ? null : count;
225777
- return $super === VOID ? this.cps(companyId, fields, pageToken, autoPaginate, count, $completion) : $super.cps.call(this, companyId, fields, pageToken, autoPaginate, count, $completion);
226061
+ return $super === VOID ? this.apt(companyId, fields, pageToken, autoPaginate, count, $completion) : $super.apt.call(this, companyId, fields, pageToken, autoPaginate, count, $completion);
225778
226062
  };
225779
226063
  protoOf(UserApi).showUserActions = function (companyId, fields, pageToken, autoPaginate, count) {
225780
226064
  var tmp = this;
225781
226065
  return promisify(function ($completion) {
225782
- return tmp.epp(companyId, fields, pageToken, autoPaginate, count, $completion);
226066
+ return tmp.apq(companyId, fields, pageToken, autoPaginate, count, $completion);
225783
226067
  });
225784
226068
  };
225785
- protoOf(UserApi).dps = function (companyId, fields, pageToken, autoPaginate, count, $completion) {
226069
+ protoOf(UserApi).bpt = function (companyId, fields, pageToken, autoPaginate, count, $completion) {
225786
226070
  var tmp = new $showUserActions$suspendBridgeCOROUTINE$(this, companyId, fields, pageToken, autoPaginate, count, $completion);
225787
226071
  tmp.n9_1 = Unit_instance;
225788
226072
  tmp.o9_1 = null;
225789
226073
  return tmp.t9();
225790
226074
  };
225791
- protoOf(UserApi).eps = function (personId, fileName, size, $completion) {
226075
+ protoOf(UserApi).cpt = function (personId, fileName, size, $completion) {
225792
226076
  var tmp = new $showUserImageCOROUTINE$(this, personId, fileName, size, $completion);
225793
226077
  tmp.n9_1 = Unit_instance;
225794
226078
  tmp.o9_1 = null;
225795
226079
  return tmp.t9();
225796
226080
  };
225797
- protoOf(UserApi).epq = function (personId, fileName, size, $completion, $super) {
226081
+ protoOf(UserApi).apr = function (personId, fileName, size, $completion, $super) {
225798
226082
  size = size === VOID ? null : size;
225799
- return $super === VOID ? this.eps(personId, fileName, size, $completion) : $super.eps.call(this, personId, fileName, size, $completion);
226083
+ return $super === VOID ? this.cpt(personId, fileName, size, $completion) : $super.cpt.call(this, personId, fileName, size, $completion);
225800
226084
  };
225801
226085
  protoOf(UserApi).showUserImage = function (personId, fileName, size) {
225802
226086
  var tmp = this;
225803
226087
  return promisify(function ($completion) {
225804
- return tmp.epq(personId, fileName, size, $completion);
226088
+ return tmp.apr(personId, fileName, size, $completion);
225805
226089
  });
225806
226090
  };
225807
- protoOf(UserApi).fps = function (personId, fileName, size, $completion) {
226091
+ protoOf(UserApi).dpt = function (personId, fileName, size, $completion) {
225808
226092
  var tmp = new $showUserImage$suspendBridgeCOROUTINE$(this, personId, fileName, size, $completion);
225809
226093
  tmp.n9_1 = Unit_instance;
225810
226094
  tmp.o9_1 = null;
225811
226095
  return tmp.t9();
225812
226096
  };
225813
- protoOf(UserApi).apr = function (updateProfileCommand, $completion) {
226097
+ protoOf(UserApi).wpr = function (updateProfileCommand, $completion) {
225814
226098
  var tmp = new $updateUserCOROUTINE$(this, updateProfileCommand, $completion);
225815
226099
  tmp.n9_1 = Unit_instance;
225816
226100
  tmp.o9_1 = null;
@@ -225819,16 +226103,16 @@ protoOf(UserApi).apr = function (updateProfileCommand, $completion) {
225819
226103
  protoOf(UserApi).updateUser = function (updateProfileCommand) {
225820
226104
  var tmp = this;
225821
226105
  return promisify(function ($completion) {
225822
- return tmp.apr(updateProfileCommand, $completion);
226106
+ return tmp.wpr(updateProfileCommand, $completion);
225823
226107
  });
225824
226108
  };
225825
- protoOf(UserApi).gps = function (updateProfileCommand, $completion) {
226109
+ protoOf(UserApi).ept = function (updateProfileCommand, $completion) {
225826
226110
  var tmp = new $updateUser$suspendBridgeCOROUTINE$(this, updateProfileCommand, $completion);
225827
226111
  tmp.n9_1 = Unit_instance;
225828
226112
  tmp.o9_1 = null;
225829
226113
  return tmp.t9();
225830
226114
  };
225831
- protoOf(UserApi).upr = function ($completion) {
226115
+ protoOf(UserApi).qps = function ($completion) {
225832
226116
  var tmp = new $updateUserImageCOROUTINE$(this, $completion);
225833
226117
  tmp.n9_1 = Unit_instance;
225834
226118
  tmp.o9_1 = null;
@@ -225837,10 +226121,10 @@ protoOf(UserApi).upr = function ($completion) {
225837
226121
  protoOf(UserApi).updateUserImage = function () {
225838
226122
  var tmp = this;
225839
226123
  return promisify(function ($completion) {
225840
- return tmp.upr($completion);
226124
+ return tmp.qps($completion);
225841
226125
  });
225842
226126
  };
225843
- protoOf(UserApi).hps = function ($completion) {
226127
+ protoOf(UserApi).fpt = function ($completion) {
225844
226128
  var tmp = new $updateUserImage$suspendBridgeCOROUTINE$(this, $completion);
225845
226129
  tmp.n9_1 = Unit_instance;
225846
226130
  tmp.o9_1 = null;
@@ -225870,7 +226154,7 @@ function createWithClient_30(baseUrl, httpClient) {
225870
226154
  }
225871
226155
  function $connectToEventBusCOROUTINE$(_this__u8e3s4, resultContinuation) {
225872
226156
  CoroutineImpl.call(this, resultContinuation);
225873
- this.qps_1 = _this__u8e3s4;
226157
+ this.opt_1 = _this__u8e3s4;
225874
226158
  }
225875
226159
  protoOf($connectToEventBusCOROUTINE$).t9 = function () {
225876
226160
  var suspendResult = this.n9_1;
@@ -225887,7 +226171,7 @@ protoOf($connectToEventBusCOROUTINE$).t9 = function () {
225887
226171
  var tmp0_method = RequestMethod_GET_getInstance();
225888
226172
  var localVariableConfig = new RequestConfig(tmp0_method, '/eventbus', localVariableHeaders, VOID, localVariableQuery, true);
225889
226173
  this.l9_1 = 1;
225890
- suspendResult = this.qps_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
226174
+ suspendResult = this.opt_1.da4(localVariableConfig, localVariableBody, localVariableAuthNames, this);
225891
226175
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225892
226176
  return suspendResult;
225893
226177
  }
@@ -225927,7 +226211,7 @@ protoOf($connectToEventBusCOROUTINE$).t9 = function () {
225927
226211
  };
225928
226212
  function $connectToEventBus$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
225929
226213
  CoroutineImpl.call(this, resultContinuation);
225930
- this.zps_1 = _this__u8e3s4;
226214
+ this.xpt_1 = _this__u8e3s4;
225931
226215
  }
225932
226216
  protoOf($connectToEventBus$suspendBridgeCOROUTINE$).t9 = function () {
225933
226217
  var suspendResult = this.n9_1;
@@ -225937,16 +226221,16 @@ protoOf($connectToEventBus$suspendBridgeCOROUTINE$).t9 = function () {
225937
226221
  switch (tmp) {
225938
226222
  case 0:
225939
226223
  this.m9_1 = 4;
225940
- if (this.zps_1.connectToEventBus === protoOf(WebSocketApi).connectToEventBus) {
226224
+ if (this.xpt_1.connectToEventBus === protoOf(WebSocketApi).connectToEventBus) {
225941
226225
  this.l9_1 = 2;
225942
- suspendResult = this.zps_1.ept(this);
226226
+ suspendResult = this.xpt_1.cpu(this);
225943
226227
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225944
226228
  return suspendResult;
225945
226229
  }
225946
226230
  continue $sm;
225947
226231
  } else {
225948
226232
  this.l9_1 = 1;
225949
- suspendResult = await_0(this.zps_1.connectToEventBus(), this);
226233
+ suspendResult = await_0(this.xpt_1.connectToEventBus(), this);
225950
226234
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225951
226235
  return suspendResult;
225952
226236
  }
@@ -225954,15 +226238,15 @@ protoOf($connectToEventBus$suspendBridgeCOROUTINE$).t9 = function () {
225954
226238
  }
225955
226239
 
225956
226240
  case 1:
225957
- this.apt_1 = suspendResult;
226241
+ this.ypt_1 = suspendResult;
225958
226242
  this.l9_1 = 3;
225959
226243
  continue $sm;
225960
226244
  case 2:
225961
- this.apt_1 = suspendResult;
226245
+ this.ypt_1 = suspendResult;
225962
226246
  this.l9_1 = 3;
225963
226247
  continue $sm;
225964
226248
  case 3:
225965
- return this.apt_1;
226249
+ return this.ypt_1;
225966
226250
  case 4:
225967
226251
  throw this.o9_1;
225968
226252
  }
@@ -225977,7 +226261,7 @@ protoOf($connectToEventBus$suspendBridgeCOROUTINE$).t9 = function () {
225977
226261
  }
225978
226262
  while (true);
225979
226263
  };
225980
- protoOf(WebSocketApi).ept = function ($completion) {
226264
+ protoOf(WebSocketApi).cpu = function ($completion) {
225981
226265
  var tmp = new $connectToEventBusCOROUTINE$(this, $completion);
225982
226266
  tmp.n9_1 = Unit_instance;
225983
226267
  tmp.o9_1 = null;
@@ -225986,10 +226270,10 @@ protoOf(WebSocketApi).ept = function ($completion) {
225986
226270
  protoOf(WebSocketApi).connectToEventBus = function () {
225987
226271
  var tmp = this;
225988
226272
  return promisify(function ($completion) {
225989
- return tmp.ept($completion);
226273
+ return tmp.cpu($completion);
225990
226274
  });
225991
226275
  };
225992
- protoOf(WebSocketApi).fpt = function ($completion) {
226276
+ protoOf(WebSocketApi).dpu = function ($completion) {
225993
226277
  var tmp = new $connectToEventBus$suspendBridgeCOROUTINE$(this, $completion);
225994
226278
  tmp.n9_1 = Unit_instance;
225995
226279
  tmp.o9_1 = null;
@@ -226094,13 +226378,13 @@ function Companion_648() {
226094
226378
  tmp.JSON_DEFAULT = Json(VOID, ApiClient$Companion$JSON_DEFAULT$lambda);
226095
226379
  this.qa3_1 = listOf_0('Content-Type');
226096
226380
  }
226097
- protoOf(Companion_648).gpt = function () {
226381
+ protoOf(Companion_648).epu = function () {
226098
226382
  return this.BASE_URL;
226099
226383
  };
226100
- protoOf(Companion_648).hpt = function () {
226384
+ protoOf(Companion_648).fpu = function () {
226101
226385
  return this.JSON_DEFAULT;
226102
226386
  };
226103
- protoOf(Companion_648).ipt = function () {
226387
+ protoOf(Companion_648).gpu = function () {
226104
226388
  return this.qa3_1;
226105
226389
  };
226106
226390
  var Companion_instance_648;
@@ -226221,10 +226505,10 @@ function ApiClient$appendPath$lambda(it) {
226221
226505
  }
226222
226506
  function $multipartFormRequest$suspendBridgeCOROUTINE$(_this__u8e3s4, requestConfig, body, authNames, resultContinuation) {
226223
226507
  CoroutineImpl.call(this, resultContinuation);
226224
- this.rpt_1 = _this__u8e3s4;
226225
- this.spt_1 = requestConfig;
226226
- this.tpt_1 = body;
226227
- this.upt_1 = authNames;
226508
+ this.ppu_1 = _this__u8e3s4;
226509
+ this.qpu_1 = requestConfig;
226510
+ this.rpu_1 = body;
226511
+ this.spu_1 = authNames;
226228
226512
  }
226229
226513
  protoOf($multipartFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226230
226514
  var suspendResult = this.n9_1;
@@ -226234,16 +226518,16 @@ protoOf($multipartFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226234
226518
  switch (tmp) {
226235
226519
  case 0:
226236
226520
  this.m9_1 = 4;
226237
- if (this.rpt_1.multipartFormRequest === protoOf(ApiClient).multipartFormRequest) {
226521
+ if (this.ppu_1.multipartFormRequest === protoOf(ApiClient).multipartFormRequest) {
226238
226522
  this.l9_1 = 2;
226239
- suspendResult = this.rpt_1.za4(this.spt_1, this.tpt_1, this.upt_1, this);
226523
+ suspendResult = this.ppu_1.za4(this.qpu_1, this.rpu_1, this.spu_1, this);
226240
226524
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226241
226525
  return suspendResult;
226242
226526
  }
226243
226527
  continue $sm;
226244
226528
  } else {
226245
226529
  this.l9_1 = 1;
226246
- suspendResult = await_0(this.rpt_1.multipartFormRequest(this.spt_1, this.tpt_1, this.upt_1), this);
226530
+ suspendResult = await_0(this.ppu_1.multipartFormRequest(this.qpu_1, this.rpu_1, this.spu_1), this);
226247
226531
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226248
226532
  return suspendResult;
226249
226533
  }
@@ -226251,15 +226535,15 @@ protoOf($multipartFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226251
226535
  }
226252
226536
 
226253
226537
  case 1:
226254
- this.vpt_1 = suspendResult;
226538
+ this.tpu_1 = suspendResult;
226255
226539
  this.l9_1 = 3;
226256
226540
  continue $sm;
226257
226541
  case 2:
226258
- this.vpt_1 = suspendResult;
226542
+ this.tpu_1 = suspendResult;
226259
226543
  this.l9_1 = 3;
226260
226544
  continue $sm;
226261
226545
  case 3:
226262
- return this.vpt_1;
226546
+ return this.tpu_1;
226263
226547
  case 4:
226264
226548
  throw this.o9_1;
226265
226549
  }
@@ -226276,10 +226560,10 @@ protoOf($multipartFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226276
226560
  };
226277
226561
  function $urlEncodedFormRequest$suspendBridgeCOROUTINE$(_this__u8e3s4, requestConfig, body, authNames, resultContinuation) {
226278
226562
  CoroutineImpl.call(this, resultContinuation);
226279
- this.epu_1 = _this__u8e3s4;
226280
- this.fpu_1 = requestConfig;
226281
- this.gpu_1 = body;
226282
- this.hpu_1 = authNames;
226563
+ this.cpv_1 = _this__u8e3s4;
226564
+ this.dpv_1 = requestConfig;
226565
+ this.epv_1 = body;
226566
+ this.fpv_1 = authNames;
226283
226567
  }
226284
226568
  protoOf($urlEncodedFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226285
226569
  var suspendResult = this.n9_1;
@@ -226289,16 +226573,16 @@ protoOf($urlEncodedFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226289
226573
  switch (tmp) {
226290
226574
  case 0:
226291
226575
  this.m9_1 = 4;
226292
- if (this.epu_1.urlEncodedFormRequest === protoOf(ApiClient).urlEncodedFormRequest) {
226576
+ if (this.cpv_1.urlEncodedFormRequest === protoOf(ApiClient).urlEncodedFormRequest) {
226293
226577
  this.l9_1 = 2;
226294
- suspendResult = this.epu_1.aa5(this.fpu_1, this.gpu_1, this.hpu_1, this);
226578
+ suspendResult = this.cpv_1.aa5(this.dpv_1, this.epv_1, this.fpv_1, this);
226295
226579
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226296
226580
  return suspendResult;
226297
226581
  }
226298
226582
  continue $sm;
226299
226583
  } else {
226300
226584
  this.l9_1 = 1;
226301
- suspendResult = await_0(this.epu_1.urlEncodedFormRequest(this.fpu_1, this.gpu_1, this.hpu_1), this);
226585
+ suspendResult = await_0(this.cpv_1.urlEncodedFormRequest(this.dpv_1, this.epv_1, this.fpv_1), this);
226302
226586
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226303
226587
  return suspendResult;
226304
226588
  }
@@ -226306,15 +226590,15 @@ protoOf($urlEncodedFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226306
226590
  }
226307
226591
 
226308
226592
  case 1:
226309
- this.ipu_1 = suspendResult;
226593
+ this.gpv_1 = suspendResult;
226310
226594
  this.l9_1 = 3;
226311
226595
  continue $sm;
226312
226596
  case 2:
226313
- this.ipu_1 = suspendResult;
226597
+ this.gpv_1 = suspendResult;
226314
226598
  this.l9_1 = 3;
226315
226599
  continue $sm;
226316
226600
  case 3:
226317
- return this.ipu_1;
226601
+ return this.gpv_1;
226318
226602
  case 4:
226319
226603
  throw this.o9_1;
226320
226604
  }
@@ -226331,10 +226615,10 @@ protoOf($urlEncodedFormRequest$suspendBridgeCOROUTINE$).t9 = function () {
226331
226615
  };
226332
226616
  function $jsonRequest$suspendBridgeCOROUTINE$(_this__u8e3s4, requestConfig, body, authNames, resultContinuation) {
226333
226617
  CoroutineImpl.call(this, resultContinuation);
226334
- this.rpu_1 = _this__u8e3s4;
226335
- this.spu_1 = requestConfig;
226336
- this.tpu_1 = body;
226337
- this.upu_1 = authNames;
226618
+ this.ppv_1 = _this__u8e3s4;
226619
+ this.qpv_1 = requestConfig;
226620
+ this.rpv_1 = body;
226621
+ this.spv_1 = authNames;
226338
226622
  }
226339
226623
  protoOf($jsonRequest$suspendBridgeCOROUTINE$).t9 = function () {
226340
226624
  var suspendResult = this.n9_1;
@@ -226344,16 +226628,16 @@ protoOf($jsonRequest$suspendBridgeCOROUTINE$).t9 = function () {
226344
226628
  switch (tmp) {
226345
226629
  case 0:
226346
226630
  this.m9_1 = 4;
226347
- if (this.rpu_1.jsonRequest === protoOf(ApiClient).jsonRequest) {
226631
+ if (this.ppv_1.jsonRequest === protoOf(ApiClient).jsonRequest) {
226348
226632
  this.l9_1 = 2;
226349
- suspendResult = this.rpu_1.ca5(this.spu_1, this.tpu_1, this.upu_1, this);
226633
+ suspendResult = this.ppv_1.ca5(this.qpv_1, this.rpv_1, this.spv_1, this);
226350
226634
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226351
226635
  return suspendResult;
226352
226636
  }
226353
226637
  continue $sm;
226354
226638
  } else {
226355
226639
  this.l9_1 = 1;
226356
- suspendResult = await_0(this.rpu_1.jsonRequest(this.spu_1, this.tpu_1, this.upu_1), this);
226640
+ suspendResult = await_0(this.ppv_1.jsonRequest(this.qpv_1, this.rpv_1, this.spv_1), this);
226357
226641
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226358
226642
  return suspendResult;
226359
226643
  }
@@ -226361,15 +226645,15 @@ protoOf($jsonRequest$suspendBridgeCOROUTINE$).t9 = function () {
226361
226645
  }
226362
226646
 
226363
226647
  case 1:
226364
- this.vpu_1 = suspendResult;
226648
+ this.tpv_1 = suspendResult;
226365
226649
  this.l9_1 = 3;
226366
226650
  continue $sm;
226367
226651
  case 2:
226368
- this.vpu_1 = suspendResult;
226652
+ this.tpv_1 = suspendResult;
226369
226653
  this.l9_1 = 3;
226370
226654
  continue $sm;
226371
226655
  case 3:
226372
- return this.vpu_1;
226656
+ return this.tpv_1;
226373
226657
  case 4:
226374
226658
  throw this.o9_1;
226375
226659
  }
@@ -226386,10 +226670,10 @@ protoOf($jsonRequest$suspendBridgeCOROUTINE$).t9 = function () {
226386
226670
  };
226387
226671
  function $requestCOROUTINE$(_this__u8e3s4, requestConfig, body, authNames, resultContinuation) {
226388
226672
  CoroutineImpl.call(this, resultContinuation);
226389
- this.epv_1 = _this__u8e3s4;
226390
- this.fpv_1 = requestConfig;
226391
- this.gpv_1 = body;
226392
- this.hpv_1 = authNames;
226673
+ this.cpw_1 = _this__u8e3s4;
226674
+ this.dpw_1 = requestConfig;
226675
+ this.epw_1 = body;
226676
+ this.fpw_1 = authNames;
226393
226677
  }
226394
226678
  protoOf($requestCOROUTINE$).t9 = function () {
226395
226679
  var suspendResult = this.n9_1;
@@ -226399,12 +226683,12 @@ protoOf($requestCOROUTINE$).t9 = function () {
226399
226683
  switch (tmp) {
226400
226684
  case 0:
226401
226685
  this.m9_1 = 2;
226402
- updateForAuth(this.epv_1, this.fpv_1, this.hpv_1);
226403
- var headers = this.fpv_1.headers;
226404
- var tmp0 = this.epv_1.client;
226686
+ updateForAuth(this.cpw_1, this.dpw_1, this.fpw_1);
226687
+ var headers = this.dpw_1.headers;
226688
+ var tmp0 = this.cpw_1.client;
226405
226689
  var this_0 = new HttpRequestBuilder();
226406
- this_0.p5x(ApiClient$request$lambda(this.epv_1, this.fpv_1, this_0));
226407
- this_0.e4h_1 = _get_httpMethod__19f0m6(this.epv_1, this.fpv_1.method);
226690
+ this_0.p5x(ApiClient$request$lambda(this.cpw_1, this.dpw_1, this_0));
226691
+ this_0.e4h_1 = _get_httpMethod__19f0m6(this.cpw_1, this.dpw_1.method);
226408
226692
  var destination = LinkedHashMap_init_$Create$_0();
226409
226693
  var _iterator__ex2g4s = headers.l1().t();
226410
226694
  while (_iterator__ex2g4s.u()) {
@@ -226420,7 +226704,7 @@ protoOf($requestCOROUTINE$).t9 = function () {
226420
226704
  header(this_0, element_0.m1(), element_0.n1());
226421
226705
  }
226422
226706
 
226423
- var tmp0_safe_receiver = this.epv_1.extraHeaders;
226707
+ var tmp0_safe_receiver = this.cpw_1.extraHeaders;
226424
226708
  if (tmp0_safe_receiver == null)
226425
226709
  null;
226426
226710
  else {
@@ -226433,9 +226717,9 @@ protoOf($requestCOROUTINE$).t9 = function () {
226433
226717
  }
226434
226718
  }
226435
226719
 
226436
- this.epv_1.extraHeaders = null;
226437
- if (listOf([RequestMethod_PUT_getInstance(), RequestMethod_POST_getInstance(), RequestMethod_PATCH_getInstance()]).q2(this.fpv_1.method)) {
226438
- var tmp1_safe_receiver = this.fpv_1.headers.z2('Content-Type');
226720
+ this.cpw_1.extraHeaders = null;
226721
+ if (listOf([RequestMethod_PUT_getInstance(), RequestMethod_POST_getInstance(), RequestMethod_PATCH_getInstance()]).q2(this.dpw_1.method)) {
226722
+ var tmp1_safe_receiver = this.dpw_1.headers.z2('Content-Type');
226439
226723
  var tmp_0;
226440
226724
  if (tmp1_safe_receiver == null) {
226441
226725
  tmp_0 = null;
@@ -226445,7 +226729,7 @@ protoOf($requestCOROUTINE$).t9 = function () {
226445
226729
  var tmp2_elvis_lhs = tmp_0;
226446
226730
  var contentType_0 = tmp2_elvis_lhs == null ? Application_getInstance().k3j_1 : tmp2_elvis_lhs;
226447
226731
  contentType(this_0, contentType_0);
226448
- var body = this.gpv_1;
226732
+ var body = this.epw_1;
226449
226733
  if (body == null) {
226450
226734
  this_0.g4h_1 = NullBody_instance;
226451
226735
  var tmp_1 = PrimitiveClasses_getInstance().ec();
@@ -226513,10 +226797,10 @@ protoOf($requestCOROUTINE$).t9 = function () {
226513
226797
  };
226514
226798
  function $request$suspendBridgeCOROUTINE$(_this__u8e3s4, requestConfig, body, authNames, resultContinuation) {
226515
226799
  CoroutineImpl.call(this, resultContinuation);
226516
- this.qpv_1 = _this__u8e3s4;
226517
- this.rpv_1 = requestConfig;
226518
- this.spv_1 = body;
226519
- this.tpv_1 = authNames;
226800
+ this.opw_1 = _this__u8e3s4;
226801
+ this.ppw_1 = requestConfig;
226802
+ this.qpw_1 = body;
226803
+ this.rpw_1 = authNames;
226520
226804
  }
226521
226805
  protoOf($request$suspendBridgeCOROUTINE$).t9 = function () {
226522
226806
  var suspendResult = this.n9_1;
@@ -226526,16 +226810,16 @@ protoOf($request$suspendBridgeCOROUTINE$).t9 = function () {
226526
226810
  switch (tmp) {
226527
226811
  case 0:
226528
226812
  this.m9_1 = 4;
226529
- if (this.qpv_1.request === protoOf(ApiClient).request) {
226813
+ if (this.opw_1.request === protoOf(ApiClient).request) {
226530
226814
  this.l9_1 = 2;
226531
- suspendResult = this.qpv_1.ea5(this.rpv_1, this.spv_1, this.tpv_1, this);
226815
+ suspendResult = this.opw_1.ea5(this.ppw_1, this.qpw_1, this.rpw_1, this);
226532
226816
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226533
226817
  return suspendResult;
226534
226818
  }
226535
226819
  continue $sm;
226536
226820
  } else {
226537
226821
  this.l9_1 = 1;
226538
- suspendResult = await_0(this.qpv_1.request(this.rpv_1, this.spv_1, this.tpv_1), this);
226822
+ suspendResult = await_0(this.opw_1.request(this.ppw_1, this.qpw_1, this.rpw_1), this);
226539
226823
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226540
226824
  return suspendResult;
226541
226825
  }
@@ -226543,15 +226827,15 @@ protoOf($request$suspendBridgeCOROUTINE$).t9 = function () {
226543
226827
  }
226544
226828
 
226545
226829
  case 1:
226546
- this.upv_1 = suspendResult;
226830
+ this.spw_1 = suspendResult;
226547
226831
  this.l9_1 = 3;
226548
226832
  continue $sm;
226549
226833
  case 2:
226550
- this.upv_1 = suspendResult;
226834
+ this.spw_1 = suspendResult;
226551
226835
  this.l9_1 = 3;
226552
226836
  continue $sm;
226553
226837
  case 3:
226554
- return this.upv_1;
226838
+ return this.spw_1;
226555
226839
  case 4:
226556
226840
  throw this.o9_1;
226557
226841
  }
@@ -226628,7 +226912,7 @@ protoOf(ApiClient).setUsername = function (username) {
226628
226912
  tmp_1 = tmp2_elvis_lhs;
226629
226913
  }
226630
226914
  var auth = tmp_1;
226631
- auth.vpv_1 = username;
226915
+ auth.tpw_1 = username;
226632
226916
  };
226633
226917
  protoOf(ApiClient).setPassword = function (password) {
226634
226918
  var tmp0_safe_receiver = _get_authentications__apunwq(this);
@@ -226661,7 +226945,7 @@ protoOf(ApiClient).setPassword = function (password) {
226661
226945
  tmp_1 = tmp2_elvis_lhs;
226662
226946
  }
226663
226947
  var auth = tmp_1;
226664
- auth.wpv_1 = password;
226948
+ auth.upw_1 = password;
226665
226949
  };
226666
226950
  protoOf(ApiClient).xa4 = function (apiKey, paramName) {
226667
226951
  var tmp0_safe_receiver = _get_authentications__apunwq(this);
@@ -226678,7 +226962,7 @@ protoOf(ApiClient).xa4 = function (apiKey, paramName) {
226678
226962
  var element = _iterator__ex2g4s.v();
226679
226963
  var tmp_0;
226680
226964
  if (element instanceof ApiKeyAuth) {
226681
- tmp_0 = paramName == null || paramName === element.xpv_1;
226965
+ tmp_0 = paramName == null || paramName === element.vpw_1;
226682
226966
  } else {
226683
226967
  tmp_0 = false;
226684
226968
  }
@@ -226700,7 +226984,7 @@ protoOf(ApiClient).xa4 = function (apiKey, paramName) {
226700
226984
  tmp_2 = tmp2_elvis_lhs;
226701
226985
  }
226702
226986
  var auth = tmp_2;
226703
- auth.ypv_1 = apiKey;
226987
+ auth.wpw_1 = apiKey;
226704
226988
  };
226705
226989
  protoOf(ApiClient).setApiKey = function (apiKey, paramName, $super) {
226706
226990
  paramName = paramName === VOID ? null : paramName;
@@ -226728,7 +227012,7 @@ protoOf(ApiClient).ya4 = function (apiKeyPrefix, paramName) {
226728
227012
  var element = _iterator__ex2g4s.v();
226729
227013
  var tmp_0;
226730
227014
  if (element instanceof ApiKeyAuth) {
226731
- tmp_0 = paramName == null || paramName === element.xpv_1;
227015
+ tmp_0 = paramName == null || paramName === element.vpw_1;
226732
227016
  } else {
226733
227017
  tmp_0 = false;
226734
227018
  }
@@ -226750,7 +227034,7 @@ protoOf(ApiClient).ya4 = function (apiKeyPrefix, paramName) {
226750
227034
  tmp_2 = tmp2_elvis_lhs;
226751
227035
  }
226752
227036
  var auth = tmp_2;
226753
- auth.zpv_1 = apiKeyPrefix;
227037
+ auth.xpw_1 = apiKeyPrefix;
226754
227038
  };
226755
227039
  protoOf(ApiClient).setApiKeyPrefix = function (apiKeyPrefix, paramName, $super) {
226756
227040
  paramName = paramName === VOID ? null : paramName;
@@ -226845,7 +227129,7 @@ protoOf(ApiClient).multipartFormRequest = function (requestConfig, body, authNam
226845
227129
  return tmp.za4(requestConfig, body, authNames, $completion);
226846
227130
  });
226847
227131
  };
226848
- protoOf(ApiClient).apw = function (requestConfig, body, authNames, $completion) {
227132
+ protoOf(ApiClient).ypw = function (requestConfig, body, authNames, $completion) {
226849
227133
  var tmp = new $multipartFormRequest$suspendBridgeCOROUTINE$(this, requestConfig, body, authNames, $completion);
226850
227134
  tmp.n9_1 = Unit_instance;
226851
227135
  tmp.o9_1 = null;
@@ -226860,7 +227144,7 @@ protoOf(ApiClient).urlEncodedFormRequest = function (requestConfig, body, authNa
226860
227144
  return tmp.aa5(requestConfig, body, authNames, $completion);
226861
227145
  });
226862
227146
  };
226863
- protoOf(ApiClient).bpw = function (requestConfig, body, authNames, $completion) {
227147
+ protoOf(ApiClient).zpw = function (requestConfig, body, authNames, $completion) {
226864
227148
  var tmp = new $urlEncodedFormRequest$suspendBridgeCOROUTINE$(this, requestConfig, body, authNames, $completion);
226865
227149
  tmp.n9_1 = Unit_instance;
226866
227150
  tmp.o9_1 = null;
@@ -226909,16 +227193,16 @@ protoOf(ApiClient).da4 = function (requestConfig, body, authNames, $completion)
226909
227193
  };
226910
227194
  function Companion_649() {
226911
227195
  Companion_instance_649 = this;
226912
- this.cpw_1 = PrimitiveSerialDescriptor('Base64ByteArray', STRING_getInstance());
227196
+ this.apx_1 = PrimitiveSerialDescriptor('Base64ByteArray', STRING_getInstance());
226913
227197
  }
226914
227198
  protoOf(Companion_649).xs = function () {
226915
- return this.cpw_1;
227199
+ return this.apx_1;
226916
227200
  };
226917
- protoOf(Companion_649).dpw = function (encoder, value) {
227201
+ protoOf(Companion_649).bpx = function (encoder, value) {
226918
227202
  return encoder.qx(Default_getInstance().al(value.value));
226919
227203
  };
226920
227204
  protoOf(Companion_649).kt = function (encoder, value) {
226921
- return this.dpw(encoder, value instanceof Base64ByteArray ? value : THROW_CCE());
227205
+ return this.bpx(encoder, value instanceof Base64ByteArray ? value : THROW_CCE());
226922
227206
  };
226923
227207
  protoOf(Companion_649).lt = function (decoder) {
226924
227208
  return new Base64ByteArray(Default_getInstance().el(decoder.iw()));
@@ -226980,7 +227264,7 @@ function Companion_getInstance_653() {
226980
227264
  }
226981
227265
  function $body$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
226982
227266
  CoroutineImpl.call(this, resultContinuation);
226983
- this.mpw_1 = _this__u8e3s4;
227267
+ this.kpx_1 = _this__u8e3s4;
226984
227268
  }
226985
227269
  protoOf($body$suspendBridgeCOROUTINE$).t9 = function () {
226986
227270
  var suspendResult = this.n9_1;
@@ -226990,16 +227274,16 @@ protoOf($body$suspendBridgeCOROUTINE$).t9 = function () {
226990
227274
  switch (tmp) {
226991
227275
  case 0:
226992
227276
  this.m9_1 = 4;
226993
- if (this.mpw_1.body === protoOf(HttpResponse).body) {
227277
+ if (this.kpx_1.body === protoOf(HttpResponse).body) {
226994
227278
  this.l9_1 = 2;
226995
- suspendResult = this.mpw_1.opw(this);
227279
+ suspendResult = this.kpx_1.mpx(this);
226996
227280
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
226997
227281
  return suspendResult;
226998
227282
  }
226999
227283
  continue $sm;
227000
227284
  } else {
227001
227285
  this.l9_1 = 1;
227002
- suspendResult = await_0(this.mpw_1.body(), this);
227286
+ suspendResult = await_0(this.kpx_1.body(), this);
227003
227287
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227004
227288
  return suspendResult;
227005
227289
  }
@@ -227007,15 +227291,15 @@ protoOf($body$suspendBridgeCOROUTINE$).t9 = function () {
227007
227291
  }
227008
227292
 
227009
227293
  case 1:
227010
- this.npw_1 = suspendResult;
227294
+ this.lpx_1 = suspendResult;
227011
227295
  this.l9_1 = 3;
227012
227296
  continue $sm;
227013
227297
  case 2:
227014
- this.npw_1 = suspendResult;
227298
+ this.lpx_1 = suspendResult;
227015
227299
  this.l9_1 = 3;
227016
227300
  continue $sm;
227017
227301
  case 3:
227018
- return this.npw_1;
227302
+ return this.lpx_1;
227019
227303
  case 4:
227020
227304
  throw this.o9_1;
227021
227305
  }
@@ -227032,8 +227316,8 @@ protoOf($body$suspendBridgeCOROUTINE$).t9 = function () {
227032
227316
  };
227033
227317
  function $typedBody$suspendBridgeCOROUTINE$(_this__u8e3s4, type, resultContinuation) {
227034
227318
  CoroutineImpl.call(this, resultContinuation);
227035
- this.xpw_1 = _this__u8e3s4;
227036
- this.ypw_1 = type;
227319
+ this.vpx_1 = _this__u8e3s4;
227320
+ this.wpx_1 = type;
227037
227321
  }
227038
227322
  protoOf($typedBody$suspendBridgeCOROUTINE$).t9 = function () {
227039
227323
  var suspendResult = this.n9_1;
@@ -227043,16 +227327,16 @@ protoOf($typedBody$suspendBridgeCOROUTINE$).t9 = function () {
227043
227327
  switch (tmp) {
227044
227328
  case 0:
227045
227329
  this.m9_1 = 4;
227046
- if (this.xpw_1.typedBody === protoOf(HttpResponse).typedBody) {
227330
+ if (this.vpx_1.typedBody === protoOf(HttpResponse).typedBody) {
227047
227331
  this.l9_1 = 2;
227048
- suspendResult = this.xpw_1.apx(this.ypw_1, this);
227332
+ suspendResult = this.vpx_1.ypx(this.wpx_1, this);
227049
227333
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227050
227334
  return suspendResult;
227051
227335
  }
227052
227336
  continue $sm;
227053
227337
  } else {
227054
227338
  this.l9_1 = 1;
227055
- suspendResult = await_0(this.xpw_1.typedBody(this.ypw_1), this);
227339
+ suspendResult = await_0(this.vpx_1.typedBody(this.wpx_1), this);
227056
227340
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227057
227341
  return suspendResult;
227058
227342
  }
@@ -227060,15 +227344,15 @@ protoOf($typedBody$suspendBridgeCOROUTINE$).t9 = function () {
227060
227344
  }
227061
227345
 
227062
227346
  case 1:
227063
- this.zpw_1 = suspendResult;
227347
+ this.xpx_1 = suspendResult;
227064
227348
  this.l9_1 = 3;
227065
227349
  continue $sm;
227066
227350
  case 2:
227067
- this.zpw_1 = suspendResult;
227351
+ this.xpx_1 = suspendResult;
227068
227352
  this.l9_1 = 3;
227069
227353
  continue $sm;
227070
227354
  case 3:
227071
- return this.zpw_1;
227355
+ return this.xpx_1;
227072
227356
  case 4:
227073
227357
  throw this.o9_1;
227074
227358
  }
@@ -227098,43 +227382,43 @@ function HttpResponse(response, provider) {
227098
227382
  protoOf(HttpResponse).d4g = function () {
227099
227383
  return this.response;
227100
227384
  };
227101
- protoOf(HttpResponse).bpx = function () {
227385
+ protoOf(HttpResponse).zpx = function () {
227102
227386
  return this.provider;
227103
227387
  };
227104
227388
  protoOf(HttpResponse).o3w = function () {
227105
227389
  return this.status;
227106
227390
  };
227107
- protoOf(HttpResponse).cpx = function () {
227391
+ protoOf(HttpResponse).apy = function () {
227108
227392
  return this.success;
227109
227393
  };
227110
227394
  protoOf(HttpResponse).o3q = function () {
227111
227395
  return this.headers;
227112
227396
  };
227113
- protoOf(HttpResponse).opw = function ($completion) {
227397
+ protoOf(HttpResponse).mpx = function ($completion) {
227114
227398
  return body$virtualSuspendBridge(this.provider, this.response, $completion);
227115
227399
  };
227116
227400
  protoOf(HttpResponse).body = function () {
227117
227401
  var tmp = this;
227118
227402
  return promisify(function ($completion) {
227119
- return tmp.opw($completion);
227403
+ return tmp.mpx($completion);
227120
227404
  });
227121
227405
  };
227122
- protoOf(HttpResponse).dpx = function ($completion) {
227406
+ protoOf(HttpResponse).bpy = function ($completion) {
227123
227407
  var tmp = new $body$suspendBridgeCOROUTINE$(this, $completion);
227124
227408
  tmp.n9_1 = Unit_instance;
227125
227409
  tmp.o9_1 = null;
227126
227410
  return tmp.t9();
227127
227411
  };
227128
- protoOf(HttpResponse).apx = function (type, $completion) {
227412
+ protoOf(HttpResponse).ypx = function (type, $completion) {
227129
227413
  return typedBody$virtualSuspendBridge(this.provider, this.response, type, $completion);
227130
227414
  };
227131
227415
  protoOf(HttpResponse).typedBody = function (type) {
227132
227416
  var tmp = this;
227133
227417
  return promisify(function ($completion) {
227134
- return tmp.apx(type, $completion);
227418
+ return tmp.ypx(type, $completion);
227135
227419
  });
227136
227420
  };
227137
- protoOf(HttpResponse).epx = function (type, $completion) {
227421
+ protoOf(HttpResponse).cpy = function (type, $completion) {
227138
227422
  var tmp = new $typedBody$suspendBridgeCOROUTINE$(this, type, $completion);
227139
227423
  tmp.n9_1 = Unit_instance;
227140
227424
  tmp.o9_1 = null;
@@ -227154,8 +227438,8 @@ function typedBody$virtualSuspendBridge(_this__u8e3s4, response, type, $completi
227154
227438
  }
227155
227439
  function $body$virtualSuspendBridgeCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
227156
227440
  CoroutineImpl.call(this, resultContinuation);
227157
- this.npx_1 = _this__u8e3s4;
227158
- this.opx_1 = response;
227441
+ this.lpy_1 = _this__u8e3s4;
227442
+ this.mpy_1 = response;
227159
227443
  }
227160
227444
  protoOf($body$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227161
227445
  var suspendResult = this.n9_1;
@@ -227165,16 +227449,16 @@ protoOf($body$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227165
227449
  switch (tmp) {
227166
227450
  case 0:
227167
227451
  this.m9_1 = 4;
227168
- if (jsIsFunction(this.npx_1.cpy)) {
227452
+ if (jsIsFunction(this.lpy_1.apz)) {
227169
227453
  this.l9_1 = 2;
227170
- suspendResult = this.npx_1.cpy(this.opx_1, this);
227454
+ suspendResult = this.lpy_1.apz(this.mpy_1, this);
227171
227455
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227172
227456
  return suspendResult;
227173
227457
  }
227174
227458
  continue $sm;
227175
227459
  } else {
227176
227460
  this.l9_1 = 1;
227177
- suspendResult = await_0(this.npx_1.body(this.opx_1), this);
227461
+ suspendResult = await_0(this.lpy_1.body(this.mpy_1), this);
227178
227462
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227179
227463
  return suspendResult;
227180
227464
  }
@@ -227182,15 +227466,15 @@ protoOf($body$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227182
227466
  }
227183
227467
 
227184
227468
  case 1:
227185
- this.ppx_1 = suspendResult;
227469
+ this.npy_1 = suspendResult;
227186
227470
  this.l9_1 = 3;
227187
227471
  continue $sm;
227188
227472
  case 2:
227189
- this.ppx_1 = suspendResult;
227473
+ this.npy_1 = suspendResult;
227190
227474
  this.l9_1 = 3;
227191
227475
  continue $sm;
227192
227476
  case 3:
227193
- return this.ppx_1;
227477
+ return this.npy_1;
227194
227478
  case 4:
227195
227479
  throw this.o9_1;
227196
227480
  }
@@ -227207,9 +227491,9 @@ protoOf($body$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227207
227491
  };
227208
227492
  function $typedBody$virtualSuspendBridgeCOROUTINE$(_this__u8e3s4, response, type, resultContinuation) {
227209
227493
  CoroutineImpl.call(this, resultContinuation);
227210
- this.ypx_1 = _this__u8e3s4;
227211
- this.zpx_1 = response;
227212
- this.apy_1 = type;
227494
+ this.wpy_1 = _this__u8e3s4;
227495
+ this.xpy_1 = response;
227496
+ this.ypy_1 = type;
227213
227497
  }
227214
227498
  protoOf($typedBody$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227215
227499
  var suspendResult = this.n9_1;
@@ -227219,16 +227503,16 @@ protoOf($typedBody$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227219
227503
  switch (tmp) {
227220
227504
  case 0:
227221
227505
  this.m9_1 = 4;
227222
- if (jsIsFunction(this.ypx_1.dpy)) {
227506
+ if (jsIsFunction(this.wpy_1.bpz)) {
227223
227507
  this.l9_1 = 2;
227224
- suspendResult = this.ypx_1.dpy(this.zpx_1, this.apy_1, this);
227508
+ suspendResult = this.wpy_1.bpz(this.xpy_1, this.ypy_1, this);
227225
227509
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227226
227510
  return suspendResult;
227227
227511
  }
227228
227512
  continue $sm;
227229
227513
  } else {
227230
227514
  this.l9_1 = 1;
227231
- suspendResult = await_0(this.ypx_1.typedBody(this.zpx_1, this.apy_1), this);
227515
+ suspendResult = await_0(this.wpy_1.typedBody(this.xpy_1, this.ypy_1), this);
227232
227516
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227233
227517
  return suspendResult;
227234
227518
  }
@@ -227236,15 +227520,15 @@ protoOf($typedBody$virtualSuspendBridgeCOROUTINE$).t9 = function () {
227236
227520
  }
227237
227521
 
227238
227522
  case 1:
227239
- this.bpy_1 = suspendResult;
227523
+ this.zpy_1 = suspendResult;
227240
227524
  this.l9_1 = 3;
227241
227525
  continue $sm;
227242
227526
  case 2:
227243
- this.bpy_1 = suspendResult;
227527
+ this.zpy_1 = suspendResult;
227244
227528
  this.l9_1 = 3;
227245
227529
  continue $sm;
227246
227530
  case 3:
227247
- return this.bpy_1;
227531
+ return this.zpy_1;
227248
227532
  case 4:
227249
227533
  throw this.o9_1;
227250
227534
  }
@@ -227263,8 +227547,8 @@ function BodyProvider() {
227263
227547
  }
227264
227548
  function $bodyCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
227265
227549
  CoroutineImpl.call(this, resultContinuation);
227266
- this.opy_1 = _this__u8e3s4;
227267
- this.ppy_1 = response;
227550
+ this.mpz_1 = _this__u8e3s4;
227551
+ this.npz_1 = response;
227268
227552
  }
227269
227553
  protoOf($bodyCOROUTINE$).t9 = function () {
227270
227554
  var suspendResult = this.n9_1;
@@ -227275,7 +227559,7 @@ protoOf($bodyCOROUTINE$).t9 = function () {
227275
227559
  case 0:
227276
227560
  this.m9_1 = 2;
227277
227561
  this.l9_1 = 1;
227278
- suspendResult = this.ppy_1.u4i().r4i(this.opy_1.qpy_1, this);
227562
+ suspendResult = this.npz_1.u4i().r4i(this.mpz_1.opz_1, this);
227279
227563
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227280
227564
  return suspendResult;
227281
227565
  }
@@ -227299,8 +227583,8 @@ protoOf($bodyCOROUTINE$).t9 = function () {
227299
227583
  };
227300
227584
  function $body$suspendBridgeCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
227301
227585
  CoroutineImpl.call(this, resultContinuation);
227302
- this.zpy_1 = _this__u8e3s4;
227303
- this.apz_1 = response;
227586
+ this.xpz_1 = _this__u8e3s4;
227587
+ this.ypz_1 = response;
227304
227588
  }
227305
227589
  protoOf($body$suspendBridgeCOROUTINE$_0).t9 = function () {
227306
227590
  var suspendResult = this.n9_1;
@@ -227310,16 +227594,16 @@ protoOf($body$suspendBridgeCOROUTINE$_0).t9 = function () {
227310
227594
  switch (tmp) {
227311
227595
  case 0:
227312
227596
  this.m9_1 = 4;
227313
- if (this.zpy_1.body === protoOf(TypedBodyProvider).body) {
227597
+ if (this.xpz_1.body === protoOf(TypedBodyProvider).body) {
227314
227598
  this.l9_1 = 2;
227315
- suspendResult = this.zpy_1.epy(this.apz_1, this);
227599
+ suspendResult = this.xpz_1.cpz(this.ypz_1, this);
227316
227600
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227317
227601
  return suspendResult;
227318
227602
  }
227319
227603
  continue $sm;
227320
227604
  } else {
227321
227605
  this.l9_1 = 1;
227322
- suspendResult = await_0(this.zpy_1.body(this.apz_1), this);
227606
+ suspendResult = await_0(this.xpz_1.body(this.ypz_1), this);
227323
227607
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227324
227608
  return suspendResult;
227325
227609
  }
@@ -227327,15 +227611,15 @@ protoOf($body$suspendBridgeCOROUTINE$_0).t9 = function () {
227327
227611
  }
227328
227612
 
227329
227613
  case 1:
227330
- this.bpz_1 = suspendResult;
227614
+ this.zpz_1 = suspendResult;
227331
227615
  this.l9_1 = 3;
227332
227616
  continue $sm;
227333
227617
  case 2:
227334
- this.bpz_1 = suspendResult;
227618
+ this.zpz_1 = suspendResult;
227335
227619
  this.l9_1 = 3;
227336
227620
  continue $sm;
227337
227621
  case 3:
227338
- return this.bpz_1;
227622
+ return this.zpz_1;
227339
227623
  case 4:
227340
227624
  throw this.o9_1;
227341
227625
  }
@@ -227352,9 +227636,9 @@ protoOf($body$suspendBridgeCOROUTINE$_0).t9 = function () {
227352
227636
  };
227353
227637
  function $typedBodyCOROUTINE$(_this__u8e3s4, response, type, resultContinuation) {
227354
227638
  CoroutineImpl.call(this, resultContinuation);
227355
- this.kpz_1 = _this__u8e3s4;
227356
- this.lpz_1 = response;
227357
- this.mpz_1 = type;
227639
+ this.iq0_1 = _this__u8e3s4;
227640
+ this.jq0_1 = response;
227641
+ this.kq0_1 = type;
227358
227642
  }
227359
227643
  protoOf($typedBodyCOROUTINE$).t9 = function () {
227360
227644
  var suspendResult = this.n9_1;
@@ -227365,7 +227649,7 @@ protoOf($typedBodyCOROUTINE$).t9 = function () {
227365
227649
  case 0:
227366
227650
  this.m9_1 = 2;
227367
227651
  this.l9_1 = 1;
227368
- suspendResult = this.lpz_1.u4i().r4i(this.mpz_1, this);
227652
+ suspendResult = this.jq0_1.u4i().r4i(this.kq0_1, this);
227369
227653
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227370
227654
  return suspendResult;
227371
227655
  }
@@ -227389,9 +227673,9 @@ protoOf($typedBodyCOROUTINE$).t9 = function () {
227389
227673
  };
227390
227674
  function $typedBody$suspendBridgeCOROUTINE$_0(_this__u8e3s4, response, type, resultContinuation) {
227391
227675
  CoroutineImpl.call(this, resultContinuation);
227392
- this.vpz_1 = _this__u8e3s4;
227393
- this.wpz_1 = response;
227394
- this.xpz_1 = type;
227676
+ this.tq0_1 = _this__u8e3s4;
227677
+ this.uq0_1 = response;
227678
+ this.vq0_1 = type;
227395
227679
  }
227396
227680
  protoOf($typedBody$suspendBridgeCOROUTINE$_0).t9 = function () {
227397
227681
  var suspendResult = this.n9_1;
@@ -227401,16 +227685,16 @@ protoOf($typedBody$suspendBridgeCOROUTINE$_0).t9 = function () {
227401
227685
  switch (tmp) {
227402
227686
  case 0:
227403
227687
  this.m9_1 = 4;
227404
- if (this.vpz_1.typedBody === protoOf(TypedBodyProvider).typedBody) {
227688
+ if (this.tq0_1.typedBody === protoOf(TypedBodyProvider).typedBody) {
227405
227689
  this.l9_1 = 2;
227406
- suspendResult = this.vpz_1.fpy(this.wpz_1, this.xpz_1, this);
227690
+ suspendResult = this.tq0_1.dpz(this.uq0_1, this.vq0_1, this);
227407
227691
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227408
227692
  return suspendResult;
227409
227693
  }
227410
227694
  continue $sm;
227411
227695
  } else {
227412
227696
  this.l9_1 = 1;
227413
- suspendResult = await_0(this.vpz_1.typedBody(this.wpz_1, this.xpz_1), this);
227697
+ suspendResult = await_0(this.tq0_1.typedBody(this.uq0_1, this.vq0_1), this);
227414
227698
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227415
227699
  return suspendResult;
227416
227700
  }
@@ -227418,15 +227702,15 @@ protoOf($typedBody$suspendBridgeCOROUTINE$_0).t9 = function () {
227418
227702
  }
227419
227703
 
227420
227704
  case 1:
227421
- this.ypz_1 = suspendResult;
227705
+ this.wq0_1 = suspendResult;
227422
227706
  this.l9_1 = 3;
227423
227707
  continue $sm;
227424
227708
  case 2:
227425
- this.ypz_1 = suspendResult;
227709
+ this.wq0_1 = suspendResult;
227426
227710
  this.l9_1 = 3;
227427
227711
  continue $sm;
227428
227712
  case 3:
227429
- return this.ypz_1;
227713
+ return this.wq0_1;
227430
227714
  case 4:
227431
227715
  throw this.o9_1;
227432
227716
  }
@@ -227446,9 +227730,9 @@ function TypedBodyProvider(type) {
227446
227730
  const props = type;
227447
227731
  type = ('type' in props ? props.type : VOID);
227448
227732
  }
227449
- this.qpy_1 = type;
227733
+ this.opz_1 = type;
227450
227734
  }
227451
- protoOf(TypedBodyProvider).epy = function (response, $completion) {
227735
+ protoOf(TypedBodyProvider).cpz = function (response, $completion) {
227452
227736
  var tmp = new $bodyCOROUTINE$(this, response, $completion);
227453
227737
  tmp.n9_1 = Unit_instance;
227454
227738
  tmp.o9_1 = null;
@@ -227457,16 +227741,16 @@ protoOf(TypedBodyProvider).epy = function (response, $completion) {
227457
227741
  protoOf(TypedBodyProvider).body = function (response) {
227458
227742
  var tmp = this;
227459
227743
  return promisify(function ($completion) {
227460
- return tmp.epy(response, $completion);
227744
+ return tmp.cpz(response, $completion);
227461
227745
  });
227462
227746
  };
227463
- protoOf(TypedBodyProvider).cpy = function (response, $completion) {
227747
+ protoOf(TypedBodyProvider).apz = function (response, $completion) {
227464
227748
  var tmp = new $body$suspendBridgeCOROUTINE$_0(this, response, $completion);
227465
227749
  tmp.n9_1 = Unit_instance;
227466
227750
  tmp.o9_1 = null;
227467
227751
  return tmp.t9();
227468
227752
  };
227469
- protoOf(TypedBodyProvider).fpy = function (response, type, $completion) {
227753
+ protoOf(TypedBodyProvider).dpz = function (response, type, $completion) {
227470
227754
  var tmp = new $typedBodyCOROUTINE$(this, response, type, $completion);
227471
227755
  tmp.n9_1 = Unit_instance;
227472
227756
  tmp.o9_1 = null;
@@ -227475,10 +227759,10 @@ protoOf(TypedBodyProvider).fpy = function (response, type, $completion) {
227475
227759
  protoOf(TypedBodyProvider).typedBody = function (response, type) {
227476
227760
  var tmp = this;
227477
227761
  return promisify(function ($completion) {
227478
- return tmp.fpy(response, type, $completion);
227762
+ return tmp.dpz(response, type, $completion);
227479
227763
  });
227480
227764
  };
227481
- protoOf(TypedBodyProvider).dpy = function (response, type, $completion) {
227765
+ protoOf(TypedBodyProvider).bpz = function (response, type, $completion) {
227482
227766
  var tmp = new $typedBody$suspendBridgeCOROUTINE$_0(this, response, type, $completion);
227483
227767
  tmp.n9_1 = Unit_instance;
227484
227768
  tmp.o9_1 = null;
@@ -227486,8 +227770,8 @@ protoOf(TypedBodyProvider).dpy = function (response, type, $completion) {
227486
227770
  };
227487
227771
  function $bodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
227488
227772
  CoroutineImpl.call(this, resultContinuation);
227489
- this.hq0_1 = _this__u8e3s4;
227490
- this.iq0_1 = response;
227773
+ this.fq1_1 = _this__u8e3s4;
227774
+ this.gq1_1 = response;
227491
227775
  }
227492
227776
  protoOf($bodyCOROUTINE$_0).t9 = function () {
227493
227777
  var suspendResult = this.n9_1;
@@ -227497,9 +227781,9 @@ protoOf($bodyCOROUTINE$_0).t9 = function () {
227497
227781
  switch (tmp) {
227498
227782
  case 0:
227499
227783
  this.m9_1 = 2;
227500
- this.jq0_1 = this.hq0_1.lq0_1;
227784
+ this.hq1_1 = this.fq1_1.jq1_1;
227501
227785
  this.l9_1 = 1;
227502
- suspendResult = body$virtualSuspendBridge(this.hq0_1.kq0_1, this.iq0_1, this);
227786
+ suspendResult = body$virtualSuspendBridge(this.fq1_1.iq1_1, this.gq1_1, this);
227503
227787
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227504
227788
  return suspendResult;
227505
227789
  }
@@ -227507,7 +227791,7 @@ protoOf($bodyCOROUTINE$_0).t9 = function () {
227507
227791
  continue $sm;
227508
227792
  case 1:
227509
227793
  var ARGUMENT = suspendResult;
227510
- return this.jq0_1(ARGUMENT);
227794
+ return this.hq1_1(ARGUMENT);
227511
227795
  case 2:
227512
227796
  throw this.o9_1;
227513
227797
  }
@@ -227524,8 +227808,8 @@ protoOf($bodyCOROUTINE$_0).t9 = function () {
227524
227808
  };
227525
227809
  function $body$suspendBridgeCOROUTINE$_1(_this__u8e3s4, response, resultContinuation) {
227526
227810
  CoroutineImpl.call(this, resultContinuation);
227527
- this.uq0_1 = _this__u8e3s4;
227528
- this.vq0_1 = response;
227811
+ this.sq1_1 = _this__u8e3s4;
227812
+ this.tq1_1 = response;
227529
227813
  }
227530
227814
  protoOf($body$suspendBridgeCOROUTINE$_1).t9 = function () {
227531
227815
  var suspendResult = this.n9_1;
@@ -227535,16 +227819,16 @@ protoOf($body$suspendBridgeCOROUTINE$_1).t9 = function () {
227535
227819
  switch (tmp) {
227536
227820
  case 0:
227537
227821
  this.m9_1 = 4;
227538
- if (this.uq0_1.body === protoOf(MappedBodyProvider).body) {
227822
+ if (this.sq1_1.body === protoOf(MappedBodyProvider).body) {
227539
227823
  this.l9_1 = 2;
227540
- suspendResult = this.uq0_1.epy(this.vq0_1, this);
227824
+ suspendResult = this.sq1_1.cpz(this.tq1_1, this);
227541
227825
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227542
227826
  return suspendResult;
227543
227827
  }
227544
227828
  continue $sm;
227545
227829
  } else {
227546
227830
  this.l9_1 = 1;
227547
- suspendResult = await_0(this.uq0_1.body(this.vq0_1), this);
227831
+ suspendResult = await_0(this.sq1_1.body(this.tq1_1), this);
227548
227832
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227549
227833
  return suspendResult;
227550
227834
  }
@@ -227552,15 +227836,15 @@ protoOf($body$suspendBridgeCOROUTINE$_1).t9 = function () {
227552
227836
  }
227553
227837
 
227554
227838
  case 1:
227555
- this.wq0_1 = suspendResult;
227839
+ this.uq1_1 = suspendResult;
227556
227840
  this.l9_1 = 3;
227557
227841
  continue $sm;
227558
227842
  case 2:
227559
- this.wq0_1 = suspendResult;
227843
+ this.uq1_1 = suspendResult;
227560
227844
  this.l9_1 = 3;
227561
227845
  continue $sm;
227562
227846
  case 3:
227563
- return this.wq0_1;
227847
+ return this.uq1_1;
227564
227848
  case 4:
227565
227849
  throw this.o9_1;
227566
227850
  }
@@ -227577,9 +227861,9 @@ protoOf($body$suspendBridgeCOROUTINE$_1).t9 = function () {
227577
227861
  };
227578
227862
  function $typedBody$suspendBridgeCOROUTINE$_1(_this__u8e3s4, response, type, resultContinuation) {
227579
227863
  CoroutineImpl.call(this, resultContinuation);
227580
- this.fq1_1 = _this__u8e3s4;
227581
- this.gq1_1 = response;
227582
- this.hq1_1 = type;
227864
+ this.dq2_1 = _this__u8e3s4;
227865
+ this.eq2_1 = response;
227866
+ this.fq2_1 = type;
227583
227867
  }
227584
227868
  protoOf($typedBody$suspendBridgeCOROUTINE$_1).t9 = function () {
227585
227869
  var suspendResult = this.n9_1;
@@ -227589,16 +227873,16 @@ protoOf($typedBody$suspendBridgeCOROUTINE$_1).t9 = function () {
227589
227873
  switch (tmp) {
227590
227874
  case 0:
227591
227875
  this.m9_1 = 4;
227592
- if (this.fq1_1.typedBody === protoOf(MappedBodyProvider).typedBody) {
227876
+ if (this.dq2_1.typedBody === protoOf(MappedBodyProvider).typedBody) {
227593
227877
  this.l9_1 = 2;
227594
- suspendResult = this.fq1_1.fpy(this.gq1_1, this.hq1_1, this);
227878
+ suspendResult = this.dq2_1.dpz(this.eq2_1, this.fq2_1, this);
227595
227879
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227596
227880
  return suspendResult;
227597
227881
  }
227598
227882
  continue $sm;
227599
227883
  } else {
227600
227884
  this.l9_1 = 1;
227601
- suspendResult = await_0(this.fq1_1.typedBody(this.gq1_1, this.hq1_1), this);
227885
+ suspendResult = await_0(this.dq2_1.typedBody(this.eq2_1, this.fq2_1), this);
227602
227886
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227603
227887
  return suspendResult;
227604
227888
  }
@@ -227606,15 +227890,15 @@ protoOf($typedBody$suspendBridgeCOROUTINE$_1).t9 = function () {
227606
227890
  }
227607
227891
 
227608
227892
  case 1:
227609
- this.iq1_1 = suspendResult;
227893
+ this.gq2_1 = suspendResult;
227610
227894
  this.l9_1 = 3;
227611
227895
  continue $sm;
227612
227896
  case 2:
227613
- this.iq1_1 = suspendResult;
227897
+ this.gq2_1 = suspendResult;
227614
227898
  this.l9_1 = 3;
227615
227899
  continue $sm;
227616
227900
  case 3:
227617
- return this.iq1_1;
227901
+ return this.gq2_1;
227618
227902
  case 4:
227619
227903
  throw this.o9_1;
227620
227904
  }
@@ -227635,10 +227919,10 @@ function MappedBodyProvider(provider, block) {
227635
227919
  provider = ('provider' in props ? props.provider : VOID);
227636
227920
  block = ('block' in props ? props.block : VOID);
227637
227921
  }
227638
- this.kq0_1 = provider;
227639
- this.lq0_1 = block;
227922
+ this.iq1_1 = provider;
227923
+ this.jq1_1 = block;
227640
227924
  }
227641
- protoOf(MappedBodyProvider).epy = function (response, $completion) {
227925
+ protoOf(MappedBodyProvider).cpz = function (response, $completion) {
227642
227926
  var tmp = new $bodyCOROUTINE$_0(this, response, $completion);
227643
227927
  tmp.n9_1 = Unit_instance;
227644
227928
  tmp.o9_1 = null;
@@ -227647,25 +227931,25 @@ protoOf(MappedBodyProvider).epy = function (response, $completion) {
227647
227931
  protoOf(MappedBodyProvider).body = function (response) {
227648
227932
  var tmp = this;
227649
227933
  return promisify(function ($completion) {
227650
- return tmp.epy(response, $completion);
227934
+ return tmp.cpz(response, $completion);
227651
227935
  });
227652
227936
  };
227653
- protoOf(MappedBodyProvider).cpy = function (response, $completion) {
227937
+ protoOf(MappedBodyProvider).apz = function (response, $completion) {
227654
227938
  var tmp = new $body$suspendBridgeCOROUTINE$_1(this, response, $completion);
227655
227939
  tmp.n9_1 = Unit_instance;
227656
227940
  tmp.o9_1 = null;
227657
227941
  return tmp.t9();
227658
227942
  };
227659
- protoOf(MappedBodyProvider).fpy = function (response, type, $completion) {
227660
- return typedBody$virtualSuspendBridge(this.kq0_1, response, type, $completion);
227943
+ protoOf(MappedBodyProvider).dpz = function (response, type, $completion) {
227944
+ return typedBody$virtualSuspendBridge(this.iq1_1, response, type, $completion);
227661
227945
  };
227662
227946
  protoOf(MappedBodyProvider).typedBody = function (response, type) {
227663
227947
  var tmp = this;
227664
227948
  return promisify(function ($completion) {
227665
- return tmp.fpy(response, type, $completion);
227949
+ return tmp.dpz(response, type, $completion);
227666
227950
  });
227667
227951
  };
227668
- protoOf(MappedBodyProvider).dpy = function (response, type, $completion) {
227952
+ protoOf(MappedBodyProvider).bpz = function (response, type, $completion) {
227669
227953
  var tmp = new $typedBody$suspendBridgeCOROUTINE$_1(this, response, type, $completion);
227670
227954
  tmp.n9_1 = Unit_instance;
227671
227955
  tmp.o9_1 = null;
@@ -227676,16 +227960,16 @@ function map(_this__u8e3s4, block) {
227676
227960
  }
227677
227961
  function Companion_651() {
227678
227962
  Companion_instance_651 = this;
227679
- this.jq1_1 = PrimitiveSerialDescriptor('OctetByteArray', STRING_getInstance());
227963
+ this.hq2_1 = PrimitiveSerialDescriptor('OctetByteArray', STRING_getInstance());
227680
227964
  }
227681
227965
  protoOf(Companion_651).xs = function () {
227682
- return this.jq1_1;
227966
+ return this.hq2_1;
227683
227967
  };
227684
- protoOf(Companion_651).kq1 = function (encoder, value) {
227968
+ protoOf(Companion_651).iq2 = function (encoder, value) {
227685
227969
  return encoder.qx(toHexString(value.value));
227686
227970
  };
227687
227971
  protoOf(Companion_651).kt = function (encoder, value) {
227688
- return this.kq1(encoder, value instanceof OctetByteArray ? value : THROW_CCE());
227972
+ return this.iq2(encoder, value instanceof OctetByteArray ? value : THROW_CCE());
227689
227973
  };
227690
227974
  protoOf(Companion_651).lt = function (decoder) {
227691
227975
  return new OctetByteArray(hexToByteArray(decoder.iw()));
@@ -227746,7 +228030,7 @@ function PartConfig(headers, body) {
227746
228030
  protoOf(PartConfig).o3q = function () {
227747
228031
  return this.headers;
227748
228032
  };
227749
- protoOf(PartConfig).lq1 = function () {
228033
+ protoOf(PartConfig).jq2 = function () {
227750
228034
  return this.body;
227751
228035
  };
227752
228036
  protoOf(PartConfig).bh = function () {
@@ -227755,13 +228039,13 @@ protoOf(PartConfig).bh = function () {
227755
228039
  protoOf(PartConfig).ch = function () {
227756
228040
  return this.body;
227757
228041
  };
227758
- protoOf(PartConfig).mq1 = function (headers, body) {
228042
+ protoOf(PartConfig).kq2 = function (headers, body) {
227759
228043
  return new PartConfig(headers, body);
227760
228044
  };
227761
228045
  protoOf(PartConfig).copy = function (headers, body, $super) {
227762
228046
  headers = headers === VOID ? this.headers : headers;
227763
228047
  body = body === VOID ? this.body : body;
227764
- return $super === VOID ? this.mq1(headers, body) : $super.mq1.call(this, headers, body);
228048
+ return $super === VOID ? this.kq2(headers, body) : $super.kq2.call(this, headers, body);
227765
228049
  };
227766
228050
  protoOf(PartConfig).toString = function () {
227767
228051
  return 'PartConfig(headers=' + toString(this.headers) + ', body=' + toString_0(this.body) + ')';
@@ -227786,7 +228070,8 @@ function RequestConfig(method, path, headers, params, query, requiresAuthenticat
227786
228070
  if (arguments.length === 1 && typeof method === 'object' && method !== null && method.constructor === Object) {
227787
228071
  const props = method;
227788
228072
  method = ('method' in props ? props.method : VOID);
227789
- if (typeof method === 'object' && method !== null && !(method instanceof RequestMethod)) method = new RequestMethod(method);
228073
+ if (typeof method === 'string') method = RequestMethod.valueOf(method);
228074
+ else if (typeof method === 'object' && method !== null && !(method instanceof RequestMethod) && method.value != null) method = RequestMethod.valueOf(method.value);
227790
228075
  path = ('path' in props ? props.path : VOID);
227791
228076
  headers = ('headers' in props ? props.headers : VOID);
227792
228077
  params = ('params' in props ? props.params : VOID);
@@ -227830,7 +228115,7 @@ function RequestConfig(method, path, headers, params, query, requiresAuthenticat
227830
228115
  protoOf(RequestConfig).v4i = function () {
227831
228116
  return this.method;
227832
228117
  };
227833
- protoOf(RequestConfig).nq1 = function () {
228118
+ protoOf(RequestConfig).lq2 = function () {
227834
228119
  return this.path;
227835
228120
  };
227836
228121
  protoOf(RequestConfig).o3q = function () {
@@ -227839,13 +228124,13 @@ protoOf(RequestConfig).o3q = function () {
227839
228124
  protoOf(RequestConfig).g6x = function () {
227840
228125
  return this.params;
227841
228126
  };
227842
- protoOf(RequestConfig).oq1 = function () {
228127
+ protoOf(RequestConfig).mq2 = function () {
227843
228128
  return this.query;
227844
228129
  };
227845
- protoOf(RequestConfig).pq1 = function () {
228130
+ protoOf(RequestConfig).nq2 = function () {
227846
228131
  return this.requiresAuthentication;
227847
228132
  };
227848
- protoOf(RequestConfig).lq1 = function () {
228133
+ protoOf(RequestConfig).jq2 = function () {
227849
228134
  return this.body;
227850
228135
  };
227851
228136
  protoOf(RequestConfig).bh = function () {
@@ -227869,7 +228154,7 @@ protoOf(RequestConfig).f6s = function () {
227869
228154
  protoOf(RequestConfig).g6s = function () {
227870
228155
  return this.body;
227871
228156
  };
227872
- protoOf(RequestConfig).qq1 = function (method, path, headers, params, query, requiresAuthentication, body) {
228157
+ protoOf(RequestConfig).oq2 = function (method, path, headers, params, query, requiresAuthentication, body) {
227873
228158
  return new RequestConfig(method, path, headers, params, query, requiresAuthentication, body);
227874
228159
  };
227875
228160
  protoOf(RequestConfig).copy = function (method, path, headers, params, query, requiresAuthentication, body, $super) {
@@ -227880,7 +228165,7 @@ protoOf(RequestConfig).copy = function (method, path, headers, params, query, re
227880
228165
  query = query === VOID ? this.query : query;
227881
228166
  requiresAuthentication = requiresAuthentication === VOID ? this.requiresAuthentication : requiresAuthentication;
227882
228167
  body = body === VOID ? this.body : body;
227883
- return $super === VOID ? this.qq1(method, path, headers, params, query, requiresAuthentication, body) : $super.qq1.call(this, method, path, headers, params, query, requiresAuthentication, body);
228168
+ return $super === VOID ? this.oq2(method, path, headers, params, query, requiresAuthentication, body) : $super.oq2.call(this, method, path, headers, params, query, requiresAuthentication, body);
227884
228169
  };
227885
228170
  protoOf(RequestConfig).toString = function () {
227886
228171
  return 'RequestConfig(method=' + this.method.toString() + ', path=' + this.path + ', headers=' + toString(this.headers) + ', params=' + toString(this.params) + ', query=' + toString(this.query) + ', requiresAuthentication=' + this.requiresAuthentication + ', body=' + toString_0(this.body) + ')';