@solibo/solibo-sdk 1.58.1 → 1.58.2

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.
@@ -1,3 +1,3 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  export type { ConversationApiFacade } from '../client.mjs';
3
- export { AddExternalConversationParticipantCommand, AdministratorInputRequestResult, BatchConversationStateCommand, BatchMoveConversationsToFolderCommand, BulkCreateConversationCommand, BulkCreateConversationItemResult, BulkCreateConversationItemStatus, BulkCreateConversationsCommand, BulkCreateConversationsResult, BulkCreateConversationsSummary, ConversationApi, ConversationCategoryParticipantPreview, ConversationContact, ConversationCount, ConversationCountConversationCountByCompanyMap, ConversationFolder, ConversationMessageSide, ConversationParticipantMeta, ConversationPushFallbackCadence, ConversationPushFallbackCadencePreset, ConversationSettings, CreateConversationCategoryCommand, CreateConversationCommand, CreateFolderCommand, CreateInquiryCommand, CreateInternalMessageCommand, CreateMessageCommand, EmailContentCommand, ExternalConversationParticipant, FinalizeConversationDocumentCreateCommand, FinalizeConversationDocumentUpdateCommand, FinalizeConversationInquiryDocumentCommand, FinalizeConversationInternalMessageDocumentCommand, FinalizeConversationMessageDocumentCommand, FullEmailContent, IntegratedConversationMessageResult, IntegratedConversationMutationResult, MessageEditHistory, MoveConversationToFolderCommand, PagedListConversation, PagedListConversationContact, PagedListConversationFolder, PagedListPublicConversationCategory, PagedListSecureConversationCategory, PublicConversation, PublicConversationCategory, PublicConversationEvent, PublicMessage, SecureConversationCategory, UpdateConversationCategoryCommand, UpdateConversationCommand, UpdateConversationPushFallbackCadenceCommand, UpdateConversationSettingsCommand, UpdateFolderCommand, UpdateMessageCommand, authorizePublicConversationByTokenOperation, authorizePublicConversationOperation, completeMultipleConversationsOperation, conversationsApi, countConversationsInCompanyOperation, createConversationCategoryOperation, createConversationExternalParticipantOperation, createConversationFlagOperation, createConversationOperation, createConversationParticipantOperation, createConversationReadOperation, createConversationUnreadOperation, createDocumentPublicConversationOperation, createFolderOperation, createInquiryOperation, createInquiryPublicConversationOperation, createInternalConversationReadOperation, createInternalConversationUnreadOperation, createInternalMessageOperation, createMessageOperation, createMessagePublicConversationOperation, createMultipleConversationFlagsOperation, createMultipleConversationReadsOperation, createMultipleConversationUnreadsOperation, createMultipleConversationsOperation, deleteConversationCategoryOperation, deleteConversationFlagOperation, deleteConversationMessageOperation, deleteConversationOperation, deleteConversationParticipantOperation, deleteDocumentPublicConversationOperation, deleteFolderOperation, deleteInternalConversationMessageOperation, deleteMultipleConversationFlagsOperation, deleteMultipleConversationsOperation, finalizeConversationOperation, finalizeIntegratedConversationCreateOperation, finalizeIntegratedConversationInternalMessageOperation, finalizeIntegratedConversationMessageOperation, finalizeIntegratedConversationUpdateOperation, finalizeIntegratedInquiryCreateOperation, getMessageFullEmailContentOperation, indexCompanyConversationCategoriesForRequestsOperation, indexCompanyConversationCategoriesOperation, indexCompanyConversationContactsOperation, indexConversationByParticipantOperation, indexConversationCategoriesOpenOperation, indexConversationCountByCompanyOperation, indexConversationFoldersOperation, indexConversationMessageHistoryOperation, indexConversationOperation, indexConversationsOperation, moveConversationOperation, moveMultipleConversationsOperation, previewConversationCategoryParticipantsOperation, publishConversationOperation, reOpenConversationOperation, reOpenMultipleConversationsOperation, requestInternalConversationAdministratorInputOperation, restoreConversationMessageOperation, restoreInternalConversationMessageOperation, showConversationFolderOperation, showConversationOperation, showConversationPublicOperation, showConversationPushFallbackSettingsOperation, showConversationSettingsOperation, showDocumentPublicConversationOperation, spamConversationOperation, spamMultipleConversationsOperation, trashConversationOperation, trashMultipleConversationsOperation, unspamConversationOperation, unspamMultipleConversationsOperation, untrashConversationOperation, untrashMultipleConversationsOperation, updateConversationCategoriesOperation, updateConversationCategoryOperation, updateConversationMessageOperation, updateConversationOperation, updateConversationPushFallbackSettingsOperation, updateConversationSettingsOperation, updateFolderOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { AddExternalConversationParticipantCommand, AdministratorInputRequestResult, BatchConversationStateCommand, BatchMoveConversationsToFolderCommand, BulkCreateConversationCommand, BulkCreateConversationItemResult, BulkCreateConversationItemStatus, BulkCreateConversationsCommand, BulkCreateConversationsResult, BulkCreateConversationsSummary, ConversationApi, ConversationCategoryParticipantPreview, ConversationContact, ConversationCount, ConversationCountConversationCountByCompanyMap, ConversationFolder, ConversationMessageSide, ConversationParticipantMeta, ConversationPushFallbackCadence, ConversationPushFallbackCadencePreset, ConversationSettings, CreateConversationCategoryCommand, CreateConversationCommand, CreateFolderCommand, CreateInquiryCommand, CreateInternalMessageCommand, CreateMessageCommand, DraftConversationRecipientsCommand, EmailContentCommand, ExternalConversationParticipant, FinalizeConversationDocumentCreateCommand, FinalizeConversationDocumentUpdateCommand, FinalizeConversationInquiryDocumentCommand, FinalizeConversationInternalMessageDocumentCommand, FinalizeConversationMessageDocumentCommand, FullEmailContent, IntegratedConversationMessageResult, IntegratedConversationMutationResult, MessageEditHistory, MoveConversationToFolderCommand, PagedListConversation, PagedListConversationContact, PagedListConversationFolder, PagedListPublicConversationCategory, PagedListSecureConversationCategory, PublicConversation, PublicConversationCategory, PublicConversationEvent, PublicMessage, SecureConversationCategory, UpdateConversationCategoryCommand, UpdateConversationCommand, UpdateConversationPushFallbackCadenceCommand, UpdateConversationSettingsCommand, UpdateFolderCommand, UpdateMessageCommand, authorizePublicConversationByTokenOperation, authorizePublicConversationOperation, completeMultipleConversationsOperation, conversationsApi, countConversationsInCompanyOperation, createConversationCategoryOperation, createConversationExternalParticipantOperation, createConversationFlagOperation, createConversationOperation, createConversationParticipantOperation, createConversationReadOperation, createConversationUnreadOperation, createDocumentPublicConversationOperation, createFolderOperation, createInquiryOperation, createInquiryPublicConversationOperation, createInternalConversationReadOperation, createInternalConversationUnreadOperation, createInternalMessageOperation, createMessageOperation, createMessagePublicConversationOperation, createMultipleConversationFlagsOperation, createMultipleConversationReadsOperation, createMultipleConversationUnreadsOperation, createMultipleConversationsOperation, deleteConversationCategoryOperation, deleteConversationFlagOperation, deleteConversationMessageOperation, deleteConversationOperation, deleteConversationParticipantOperation, deleteDocumentPublicConversationOperation, deleteFolderOperation, deleteInternalConversationMessageOperation, deleteMultipleConversationFlagsOperation, deleteMultipleConversationsOperation, finalizeConversationOperation, finalizeIntegratedConversationCreateOperation, finalizeIntegratedConversationInternalMessageOperation, finalizeIntegratedConversationMessageOperation, finalizeIntegratedConversationUpdateOperation, finalizeIntegratedInquiryCreateOperation, getMessageFullEmailContentOperation, indexCompanyConversationCategoriesForRequestsOperation, indexCompanyConversationCategoriesOperation, indexCompanyConversationContactsOperation, indexConversationByParticipantOperation, indexConversationCategoriesOpenOperation, indexConversationCountByCompanyOperation, indexConversationFoldersOperation, indexConversationMessageHistoryOperation, indexConversationOperation, indexConversationsOperation, moveConversationOperation, moveMultipleConversationsOperation, previewConversationCategoryParticipantsOperation, publishConversationOperation, reOpenConversationOperation, reOpenMultipleConversationsOperation, requestInternalConversationAdministratorInputOperation, restoreConversationMessageOperation, restoreInternalConversationMessageOperation, showConversationFolderOperation, showConversationOperation, showConversationPublicOperation, showConversationPushFallbackSettingsOperation, showConversationSettingsOperation, showDocumentPublicConversationOperation, spamConversationOperation, spamMultipleConversationsOperation, trashConversationOperation, trashMultipleConversationsOperation, unspamConversationOperation, unspamMultipleConversationsOperation, untrashConversationOperation, untrashMultipleConversationsOperation, updateConversationCategoriesOperation, updateConversationCategoryOperation, updateConversationMessageOperation, updateConversationOperation, updateConversationPushFallbackSettingsOperation, updateConversationSettingsOperation, updateFolderOperation } from '../solibo-sdk-sdk.mjs';
package/client-core.mjs CHANGED
@@ -1218,6 +1218,10 @@ const PROPS = {
1218
1218
  "emailContent": "EmailContentCommandProps | null | undefined",
1219
1219
  "type": "MessageType | null | undefined"
1220
1220
  },
1221
+ "DraftConversationRecipientsCommandProps": {
1222
+ "externalParticipants": "ExternalConversationParticipantProps[] | null | undefined",
1223
+ "participants": "ConversationParticipantMetaProps[] | null | undefined"
1224
+ },
1221
1225
  "EmailContentCommandProps": {
1222
1226
  "htmlContent": "string | null | undefined",
1223
1227
  "plainContent": "string | null | undefined"
@@ -1234,6 +1238,8 @@ const PROPS = {
1234
1238
  "command": "UpdateConversationCommandProps",
1235
1239
  "documents": "IntegratedDocumentInputProps[] | null | undefined",
1236
1240
  "idempotencyKey": "string",
1241
+ "publish": "boolean | null | undefined",
1242
+ "recipients": "DraftConversationRecipientsCommandProps | null | undefined",
1237
1243
  "removeDocumentIds": "bigint[] | null | undefined"
1238
1244
  },
1239
1245
  "FinalizeConversationInquiryDocumentCommandProps": {
@@ -5,8 +5,8 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdli
5
5
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
6
6
  import {
7
7
  close$default2suggcywjwe8g as close$default,
8
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
8
  SendChannel38sllbxw662ws as SendChannel,
9
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
10
10
  } from './Channel.mjs';
11
11
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
12
12
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
@@ -17,7 +17,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
17
17
  var ChannelCoroutineClass;
18
18
  function ChannelCoroutine() {
19
19
  if (ChannelCoroutineClass === VOID) {
20
- initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [1, 0]);
20
+ initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [SendChannel(), ReceiveChannel()], [1, 0]);
21
21
  function $(parentContext, _channel, initParentJob, active) {
22
22
  AbstractCoroutine().call(this, parentContext, initParentJob, active);
23
23
  this._channel_1 = _channel;
@@ -24,8 +24,8 @@ import {
24
24
  _ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
25
25
  close$default2suggcywjwe8g as close$default,
26
26
  cancel$default3v09jht7i082i as cancel$default,
27
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
28
27
  SendChannel38sllbxw662ws as SendChannel,
28
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
29
29
  } from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
30
30
  import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
31
31
  import { throwUninitializedPropertyAccessException14fok093f3k3t as throwUninitializedPropertyAccessException } from '../../../../kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs';
@@ -190,7 +190,7 @@ function Companion_getInstance_1() {
190
190
  var BoundedChannelClass;
191
191
  function BoundedChannel() {
192
192
  if (BoundedChannelClass === VOID) {
193
- initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 0]);
193
+ initMetadataForClass($, 'BoundedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 0]);
194
194
  function $(capacity, delegate) {
195
195
  delegate = delegate === VOID ? Companion_instance_1.createDelegate_n5r3h5_k$(capacity) : delegate;
196
196
  this.delegate_1 = delegate;
@@ -1,6 +1,6 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  import type { ConversationApiOperations } from '../client.mjs';
3
- export { AddExternalConversationParticipantCommand, AdministratorInputRequestResult, BatchConversationStateCommand, BatchMoveConversationsToFolderCommand, BulkCreateConversationCommand, BulkCreateConversationItemResult, BulkCreateConversationItemStatus, BulkCreateConversationsCommand, BulkCreateConversationsResult, BulkCreateConversationsSummary, ConversationApi, ConversationCategoryParticipantPreview, ConversationContact, ConversationCount, ConversationCountConversationCountByCompanyMap, ConversationFolder, ConversationMessageSide, ConversationParticipantMeta, ConversationPushFallbackCadence, ConversationPushFallbackCadencePreset, ConversationSettings, CreateConversationCategoryCommand, CreateConversationCommand, CreateFolderCommand, CreateInquiryCommand, CreateInternalMessageCommand, CreateMessageCommand, EmailContentCommand, ExternalConversationParticipant, FinalizeConversationDocumentCreateCommand, FinalizeConversationDocumentUpdateCommand, FinalizeConversationInquiryDocumentCommand, FinalizeConversationInternalMessageDocumentCommand, FinalizeConversationMessageDocumentCommand, FullEmailContent, IntegratedConversationMessageResult, IntegratedConversationMutationResult, MessageEditHistory, MoveConversationToFolderCommand, PagedListConversation, PagedListConversationContact, PagedListConversationFolder, PagedListPublicConversationCategory, PagedListSecureConversationCategory, PublicConversation, PublicConversationCategory, PublicConversationEvent, PublicMessage, SecureConversationCategory, UpdateConversationCategoryCommand, UpdateConversationCommand, UpdateConversationPushFallbackCadenceCommand, UpdateConversationSettingsCommand, UpdateFolderCommand, UpdateMessageCommand, authorizePublicConversationByTokenOperation, authorizePublicConversationOperation, completeMultipleConversationsOperation, conversationsApi, countConversationsInCompanyOperation, createConversationCategoryOperation, createConversationExternalParticipantOperation, createConversationFlagOperation, createConversationOperation, createConversationParticipantOperation, createConversationReadOperation, createConversationUnreadOperation, createDocumentPublicConversationOperation, createFolderOperation, createInquiryOperation, createInquiryPublicConversationOperation, createInternalConversationReadOperation, createInternalConversationUnreadOperation, createInternalMessageOperation, createMessageOperation, createMessagePublicConversationOperation, createMultipleConversationFlagsOperation, createMultipleConversationReadsOperation, createMultipleConversationUnreadsOperation, createMultipleConversationsOperation, deleteConversationCategoryOperation, deleteConversationFlagOperation, deleteConversationMessageOperation, deleteConversationOperation, deleteConversationParticipantOperation, deleteDocumentPublicConversationOperation, deleteFolderOperation, deleteInternalConversationMessageOperation, deleteMultipleConversationFlagsOperation, deleteMultipleConversationsOperation, finalizeConversationOperation, finalizeIntegratedConversationCreateOperation, finalizeIntegratedConversationInternalMessageOperation, finalizeIntegratedConversationMessageOperation, finalizeIntegratedConversationUpdateOperation, finalizeIntegratedInquiryCreateOperation, getMessageFullEmailContentOperation, indexCompanyConversationCategoriesForRequestsOperation, indexCompanyConversationCategoriesOperation, indexCompanyConversationContactsOperation, indexConversationByParticipantOperation, indexConversationCategoriesOpenOperation, indexConversationCountByCompanyOperation, indexConversationFoldersOperation, indexConversationMessageHistoryOperation, indexConversationOperation, indexConversationsOperation, moveConversationOperation, moveMultipleConversationsOperation, previewConversationCategoryParticipantsOperation, publishConversationOperation, reOpenConversationOperation, reOpenMultipleConversationsOperation, requestInternalConversationAdministratorInputOperation, restoreConversationMessageOperation, restoreInternalConversationMessageOperation, showConversationFolderOperation, showConversationOperation, showConversationPublicOperation, showConversationPushFallbackSettingsOperation, showConversationSettingsOperation, showDocumentPublicConversationOperation, spamConversationOperation, spamMultipleConversationsOperation, trashConversationOperation, trashMultipleConversationsOperation, unspamConversationOperation, unspamMultipleConversationsOperation, untrashConversationOperation, untrashMultipleConversationsOperation, updateConversationCategoriesOperation, updateConversationCategoryOperation, updateConversationMessageOperation, updateConversationOperation, updateConversationPushFallbackSettingsOperation, updateConversationSettingsOperation, updateFolderOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { AddExternalConversationParticipantCommand, AdministratorInputRequestResult, BatchConversationStateCommand, BatchMoveConversationsToFolderCommand, BulkCreateConversationCommand, BulkCreateConversationItemResult, BulkCreateConversationItemStatus, BulkCreateConversationsCommand, BulkCreateConversationsResult, BulkCreateConversationsSummary, ConversationApi, ConversationCategoryParticipantPreview, ConversationContact, ConversationCount, ConversationCountConversationCountByCompanyMap, ConversationFolder, ConversationMessageSide, ConversationParticipantMeta, ConversationPushFallbackCadence, ConversationPushFallbackCadencePreset, ConversationSettings, CreateConversationCategoryCommand, CreateConversationCommand, CreateFolderCommand, CreateInquiryCommand, CreateInternalMessageCommand, CreateMessageCommand, DraftConversationRecipientsCommand, EmailContentCommand, ExternalConversationParticipant, FinalizeConversationDocumentCreateCommand, FinalizeConversationDocumentUpdateCommand, FinalizeConversationInquiryDocumentCommand, FinalizeConversationInternalMessageDocumentCommand, FinalizeConversationMessageDocumentCommand, FullEmailContent, IntegratedConversationMessageResult, IntegratedConversationMutationResult, MessageEditHistory, MoveConversationToFolderCommand, PagedListConversation, PagedListConversationContact, PagedListConversationFolder, PagedListPublicConversationCategory, PagedListSecureConversationCategory, PublicConversation, PublicConversationCategory, PublicConversationEvent, PublicMessage, SecureConversationCategory, UpdateConversationCategoryCommand, UpdateConversationCommand, UpdateConversationPushFallbackCadenceCommand, UpdateConversationSettingsCommand, UpdateFolderCommand, UpdateMessageCommand, authorizePublicConversationByTokenOperation, authorizePublicConversationOperation, completeMultipleConversationsOperation, conversationsApi, countConversationsInCompanyOperation, createConversationCategoryOperation, createConversationExternalParticipantOperation, createConversationFlagOperation, createConversationOperation, createConversationParticipantOperation, createConversationReadOperation, createConversationUnreadOperation, createDocumentPublicConversationOperation, createFolderOperation, createInquiryOperation, createInquiryPublicConversationOperation, createInternalConversationReadOperation, createInternalConversationUnreadOperation, createInternalMessageOperation, createMessageOperation, createMessagePublicConversationOperation, createMultipleConversationFlagsOperation, createMultipleConversationReadsOperation, createMultipleConversationUnreadsOperation, createMultipleConversationsOperation, deleteConversationCategoryOperation, deleteConversationFlagOperation, deleteConversationMessageOperation, deleteConversationOperation, deleteConversationParticipantOperation, deleteDocumentPublicConversationOperation, deleteFolderOperation, deleteInternalConversationMessageOperation, deleteMultipleConversationFlagsOperation, deleteMultipleConversationsOperation, finalizeConversationOperation, finalizeIntegratedConversationCreateOperation, finalizeIntegratedConversationInternalMessageOperation, finalizeIntegratedConversationMessageOperation, finalizeIntegratedConversationUpdateOperation, finalizeIntegratedInquiryCreateOperation, getMessageFullEmailContentOperation, indexCompanyConversationCategoriesForRequestsOperation, indexCompanyConversationCategoriesOperation, indexCompanyConversationContactsOperation, indexConversationByParticipantOperation, indexConversationCategoriesOpenOperation, indexConversationCountByCompanyOperation, indexConversationFoldersOperation, indexConversationMessageHistoryOperation, indexConversationOperation, indexConversationsOperation, moveConversationOperation, moveMultipleConversationsOperation, previewConversationCategoryParticipantsOperation, publishConversationOperation, reOpenConversationOperation, reOpenMultipleConversationsOperation, requestInternalConversationAdministratorInputOperation, restoreConversationMessageOperation, restoreInternalConversationMessageOperation, showConversationFolderOperation, showConversationOperation, showConversationPublicOperation, showConversationPushFallbackSettingsOperation, showConversationSettingsOperation, showDocumentPublicConversationOperation, spamConversationOperation, spamMultipleConversationsOperation, trashConversationOperation, trashMultipleConversationsOperation, unspamConversationOperation, unspamMultipleConversationsOperation, untrashConversationOperation, untrashMultipleConversationsOperation, updateConversationCategoriesOperation, updateConversationCategoryOperation, updateConversationMessageOperation, updateConversationOperation, updateConversationPushFallbackSettingsOperation, updateConversationSettingsOperation, updateFolderOperation } from '../solibo-sdk-sdk.mjs';
4
4
 
5
5
  export declare const authorizePublicConversation: ConversationApiOperations['authorizePublicConversation'];
6
6
  export declare const authorizePublicConversationByToken: ConversationApiOperations['authorizePublicConversationByToken'];
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.58.1",
26
+ "version": "1.58.2",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -2776,7 +2776,7 @@ function ClauseData() {
2776
2776
  this.indexInSegment_1 = -1;
2777
2777
  };
2778
2778
  initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
2779
- protoOf17($).tryRegisterAsWaiter_wnojok_k$ = function(select) {
2779
+ protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
2780
2780
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
2781
2781
  return select.internalResult_1 === get_NO_RESULT();
2782
2782
  };
@@ -3060,7 +3060,7 @@ function SelectImplementation() {
3060
3060
  this.indexInSegment_1 = -1;
3061
3061
  this.internalResult_1 = get_NO_RESULT();
3062
3062
  };
3063
- initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), SelectInstance(), Waiter2()], [0, 2]);
3063
+ initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
3064
3064
  protoOf17($).get_context_h02k06_k$ = function() {
3065
3065
  return this.context_1;
3066
3066
  };
@@ -3071,10 +3071,10 @@ function SelectImplementation() {
3071
3071
  return tmp.doResume_5yljmg_k$();
3072
3072
  };
3073
3073
  protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
3074
- return this.register$default_bbb1nn_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3074
+ return this.register$default_acgh9r_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3075
3075
  };
3076
3076
  protoOf17($).invoke_8p69io_k$ = function(_this__u8e3s4, block) {
3077
- return this.register$default_bbb1nn_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), null, block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3077
+ return this.register$default_acgh9r_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), null, block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3078
3078
  };
3079
3079
  protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
3080
3080
  if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
@@ -3082,7 +3082,7 @@ function SelectImplementation() {
3082
3082
  if (!reregister) {
3083
3083
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
3084
3084
  }
3085
- if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
3085
+ if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
3086
3086
  if (!reregister) {
3087
3087
  ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
3088
3088
  }
@@ -3094,7 +3094,7 @@ function SelectImplementation() {
3094
3094
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
3095
3095
  }
3096
3096
  };
3097
- protoOf17($).register$default_bbb1nn_k$ = function(_this__u8e3s4, reregister, $super) {
3097
+ protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
3098
3098
  reregister = reregister === VOID18 ? false : reregister;
3099
3099
  var tmp;
3100
3100
  if ($super === VOID18) {
@@ -2550,7 +2550,7 @@ function BufferedChannel() {
2550
2550
  this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2551
2551
  this.closeHandler_1 = atomic$ref$1(null);
2552
2552
  };
2553
- initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
2553
+ initMetadataForClass($, "BufferedChannel", VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2554
2554
  protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
2555
2555
  return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
2556
2556
  };
@@ -1029,7 +1029,7 @@ function StateFlowImpl() {
1029
1029
  this._state_1 = atomic$ref$1(initialState);
1030
1030
  this.sequence_1 = 0;
1031
1031
  };
1032
- initMetadataForClass2($, "StateFlowImpl", VOID2, AbstractSharedFlow(), [FlowCollector2(), StateFlow(), FusibleFlow2()], [1]);
1032
+ initMetadataForClass2($, "StateFlowImpl", VOID2, AbstractSharedFlow(), [StateFlow(), FlowCollector2(), FusibleFlow2()], [1]);
1033
1033
  protoOf2($).set_value_v1vabv_k$ = function(value) {
1034
1034
  updateState(this, null, value == null ? get_NULL() : value);
1035
1035
  };
@@ -1081,21 +1081,21 @@ function StateFlowSlot() {
1081
1081
  this._state_1 = new (WorkaroundAtomicReference())(null);
1082
1082
  };
1083
1083
  initMetadataForClass2($, "StateFlowSlot", StateFlowSlot, AbstractSharedFlowSlot(), VOID2, [0]);
1084
- protoOf2($).allocateLocked_qdduqu_k$ = function(flow) {
1084
+ protoOf2($).allocateLocked_newvja_k$ = function(flow) {
1085
1085
  if (!(get_value(this._state_1) == null))
1086
1086
  return false;
1087
1087
  set_value(this._state_1, get_NONE());
1088
1088
  return true;
1089
1089
  };
1090
1090
  protoOf2($).allocateLocked_z5itrq_k$ = function(flow) {
1091
- return this.allocateLocked_qdduqu_k$(flow instanceof StateFlowImpl() ? flow : THROW_CCE2());
1091
+ return this.allocateLocked_newvja_k$(flow instanceof StateFlowImpl() ? flow : THROW_CCE2());
1092
1092
  };
1093
- protoOf2($).freeLocked_lp76d_k$ = function(flow) {
1093
+ protoOf2($).freeLocked_2crs17_k$ = function(flow) {
1094
1094
  set_value(this._state_1, null);
1095
1095
  return get_EMPTY_RESUMES();
1096
1096
  };
1097
1097
  protoOf2($).freeLocked_1gezd3_k$ = function(flow) {
1098
- return this.freeLocked_lp76d_k$(flow instanceof StateFlowImpl() ? flow : THROW_CCE2());
1098
+ return this.freeLocked_2crs17_k$(flow instanceof StateFlowImpl() ? flow : THROW_CCE2());
1099
1099
  };
1100
1100
  protoOf2($).makePending_e7hvrb_k$ = function() {
1101
1101
  var this_0 = this._state_1;
@@ -2246,8 +2246,8 @@ function HomeApiBase$configureClient$lambda_14(this$0, $platformName) {
2246
2246
  }
2247
2247
  accept($this$defaultRequest, Application_getInstance().Json_1);
2248
2248
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2249
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.58.1 (" + $platformName + ")");
2250
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.58.1");
2249
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.58.2 (" + $platformName + ")");
2250
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.58.2");
2251
2251
  return Unit_instance2;
2252
2252
  };
2253
2253
  }
@@ -2480,7 +2480,7 @@ function IntegratedDocumentMutation$updateConversation$slambda() {
2480
2480
  case 0:
2481
2481
  this.exceptionState_1 = 2;
2482
2482
  this.state_1 = 1;
2483
- suspendResult = finalizeIntegratedConversationUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$conversationId_1, new (FinalizeConversationDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.resolvedIdempotencyKey_1, this.$removeDocumentIds_1), this);
2483
+ suspendResult = finalizeIntegratedConversationUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$conversationId_1, new (FinalizeConversationDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.resolvedIdempotencyKey_1, VOID, VOID, this.$removeDocumentIds_1), this);
2484
2484
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2485
2485
  return suspendResult;
2486
2486
  }
@@ -0,0 +1,17 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare class DraftConversationRecipientsCommand {
4
+ constructor(externalParticipants?: Nullable<KtList<ExternalConversationParticipant>>, participants?: Nullable<KtList<ConversationParticipantMeta>>);
5
+ get externalParticipants(): Nullable<KtList<ExternalConversationParticipant>>;
6
+ get participants(): Nullable<KtList<ConversationParticipantMeta>>;
7
+ copy(externalParticipants?: Nullable<KtList<ExternalConversationParticipant>>, participants?: Nullable<KtList<ConversationParticipantMeta>>): DraftConversationRecipientsCommand;
8
+ toString(): string;
9
+ hashCode(): number;
10
+ equals(other: Nullable<any>): boolean;
11
+ }
12
+ export declare namespace DraftConversationRecipientsCommand {
13
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14
+ namespace $metadata$ {
15
+ const constructor: abstract new () => DraftConversationRecipientsCommand;
16
+ }
17
+ }
@@ -0,0 +1,12 @@
1
+ import { DraftConversationRecipientsCommand2ct9mhufb6yll as DraftConversationRecipientsCommand } from './DraftConversationRecipientsCommand.mjs';
2
+ //region block: imports
3
+ //endregion
4
+ //region block: pre-declaration
5
+ //endregion
6
+ //region block: exports
7
+ var DraftConversationRecipientsCommand_0 = DraftConversationRecipientsCommand();
8
+ export {
9
+ DraftConversationRecipientsCommand_0 as DraftConversationRecipientsCommand,
10
+ };
11
+ //endregion
12
+
@@ -0,0 +1,247 @@
1
+ import { $serializer_getInstance2xjgoz65oewu2 as $serializer_getInstance } from './ExternalConversationParticipant.mjs';
2
+ import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs';
3
+ import { $serializer_getInstancenmemzptm88x4 as $serializer_getInstance_0 } from './ConversationParticipantMeta.mjs';
4
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
5
+ import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
6
+ import {
7
+ protoOf180f3jzyo7rfj as protoOf,
8
+ objectCreate1ve4bgxiu4x98 as objectCreate,
9
+ hashCodeq5arwsb9dgti as hashCode,
10
+ equals2au1ep9vhcato as equals,
11
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
12
+ import {
13
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
14
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
15
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
16
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
17
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
18
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
19
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
20
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
21
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
22
+ import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
23
+ import {
24
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
25
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
26
+ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
27
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
28
+ import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
29
+ import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
30
+ import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
31
+ import { ConversationParticipantMeta36ahem5m01hcq as __soliboType_ConversationParticipantMeta } from './ConversationParticipantMeta.mjs';
32
+ import { ExternalConversationParticipant72d2h8kclgzw as __soliboType_ExternalConversationParticipant } from './ExternalConversationParticipant.mjs';
33
+ //region block: imports
34
+ var imul = Math.imul;
35
+ //endregion
36
+ //region block: pre-declaration
37
+ //endregion
38
+ function DraftConversationRecipientsCommand$Companion$$childSerializers$_anonymous__qa7199() {
39
+ return new (ArrayListSerializer())($serializer_getInstance());
40
+ }
41
+ function DraftConversationRecipientsCommand$Companion$$childSerializers$_anonymous__qa7199_0() {
42
+ return new (ArrayListSerializer())($serializer_getInstance_0());
43
+ }
44
+ var CompanionClass;
45
+ function Companion() {
46
+ if (CompanionClass === VOID) {
47
+ initMetadataForCompanion($);
48
+ function $() {
49
+ Companion_instance = this;
50
+ var tmp = this;
51
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
52
+ var tmp_1 = lazy(tmp_0, DraftConversationRecipientsCommand$Companion$$childSerializers$_anonymous__qa7199);
53
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
54
+ // Inline function 'kotlin.arrayOf' call
55
+ // Inline function 'kotlin.js.unsafeCast' call
56
+ // Inline function 'kotlin.js.asDynamic' call
57
+ tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, DraftConversationRecipientsCommand$Companion$$childSerializers$_anonymous__qa7199_0)];
58
+ }
59
+ CompanionClass = $;
60
+ }
61
+ return CompanionClass;
62
+ }
63
+ var Companion_instance;
64
+ function Companion_getInstance() {
65
+ if (Companion_instance == null)
66
+ new (Companion())();
67
+ return Companion_instance;
68
+ }
69
+ var $serializerClass;
70
+ function $serializer() {
71
+ if ($serializerClass === VOID) {
72
+ initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
73
+ function $() {
74
+ $serializer_instance = this;
75
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.DraftConversationRecipientsCommand', this, 2);
76
+ tmp0_serialDesc.addElement_5pzumi_k$('externalParticipants', true);
77
+ tmp0_serialDesc.addElement_5pzumi_k$('participants', true);
78
+ this.descriptor_1 = tmp0_serialDesc;
79
+ }
80
+ protoOf($).serialize_cz6cix_k$ = function (encoder, value) {
81
+ var tmp0_desc = this.descriptor_1;
82
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
83
+ var tmp2_cached = Companion_getInstance().$childSerializers_1;
84
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.externalParticipants == null)) {
85
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.externalParticipants);
86
+ }
87
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.participants == null)) {
88
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.participants);
89
+ }
90
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
91
+ };
92
+ protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
93
+ return this.serialize_cz6cix_k$(encoder, value instanceof DraftConversationRecipientsCommand() ? value : THROW_CCE());
94
+ };
95
+ protoOf($).deserialize_sy6x50_k$ = function (decoder) {
96
+ var tmp0_desc = this.descriptor_1;
97
+ var tmp1_flag = true;
98
+ var tmp2_index = 0;
99
+ var tmp3_bitMask0 = 0;
100
+ var tmp4_local0 = null;
101
+ var tmp5_local1 = null;
102
+ var tmp6_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
103
+ var tmp7_cached = Companion_getInstance().$childSerializers_1;
104
+ if (tmp6_input.decodeSequentially_xlblqy_k$()) {
105
+ tmp4_local0 = tmp6_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp7_cached[0].get_value_j01efc_k$(), tmp4_local0);
106
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
107
+ tmp5_local1 = tmp6_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp7_cached[1].get_value_j01efc_k$(), tmp5_local1);
108
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
109
+ } else
110
+ while (tmp1_flag) {
111
+ tmp2_index = tmp6_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
112
+ switch (tmp2_index) {
113
+ case -1:
114
+ tmp1_flag = false;
115
+ break;
116
+ case 0:
117
+ tmp4_local0 = tmp6_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp7_cached[0].get_value_j01efc_k$(), tmp4_local0);
118
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
119
+ break;
120
+ case 1:
121
+ tmp5_local1 = tmp6_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp7_cached[1].get_value_j01efc_k$(), tmp5_local1);
122
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
123
+ break;
124
+ default:
125
+ throw UnknownFieldException_init_$Create$(tmp2_index);
126
+ }
127
+ }
128
+ tmp6_input.endStructure_1xqz0n_k$(tmp0_desc);
129
+ return DraftConversationRecipientsCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
130
+ };
131
+ protoOf($).get_descriptor_wjt6a0_k$ = function () {
132
+ return this.descriptor_1;
133
+ };
134
+ protoOf($).childSerializers_5ghqw5_k$ = function () {
135
+ var tmp0_cached = Companion_getInstance().$childSerializers_1;
136
+ // Inline function 'kotlin.arrayOf' call
137
+ // Inline function 'kotlin.js.unsafeCast' call
138
+ // Inline function 'kotlin.js.asDynamic' call
139
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$())];
140
+ };
141
+ protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
142
+ $serializerClass = $;
143
+ }
144
+ return $serializerClass;
145
+ }
146
+ var $serializer_instance;
147
+ function $serializer_getInstance_1() {
148
+ if ($serializer_instance == null)
149
+ new ($serializer())();
150
+ return $serializer_instance;
151
+ }
152
+ function DraftConversationRecipientsCommand_init_$Init$(seen0, externalParticipants, participants, serializationConstructorMarker, $this) {
153
+ if (!(0 === (0 & seen0))) {
154
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_1().descriptor_1);
155
+ }
156
+ if (0 === (seen0 & 1))
157
+ $this.externalParticipants = null;
158
+ else
159
+ $this.externalParticipants = externalParticipants;
160
+ if (0 === (seen0 & 2))
161
+ $this.participants = null;
162
+ else
163
+ $this.participants = participants;
164
+ return $this;
165
+ }
166
+ function DraftConversationRecipientsCommand_init_$Create$(seen0, externalParticipants, participants, serializationConstructorMarker) {
167
+ return DraftConversationRecipientsCommand_init_$Init$(seen0, externalParticipants, participants, serializationConstructorMarker, objectCreate(protoOf(DraftConversationRecipientsCommand())));
168
+ }
169
+ var DraftConversationRecipientsCommandClass;
170
+ function DraftConversationRecipientsCommand() {
171
+ if (DraftConversationRecipientsCommandClass === VOID) {
172
+ initMetadataForClass($, 'DraftConversationRecipientsCommand', DraftConversationRecipientsCommand, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
173
+ function $(externalParticipants, participants) {
174
+ var __soliboProps = arguments.length === 1 && typeof externalParticipants === 'object' && externalParticipants !== null && externalParticipants.constructor === Object;
175
+ var __soliboTmp, __soliboConverted = false;
176
+ if (__soliboProps) {
177
+ const props = externalParticipants;
178
+ externalParticipants = ('externalParticipants' in props ? props.externalParticipants : VOID);
179
+ participants = ('participants' in props ? props.participants : VOID);
180
+ }
181
+ if ((__soliboTmp = __soliboToKt(externalParticipants, ["list",["model","ExternalConversationParticipant"]])) !== externalParticipants) { externalParticipants = __soliboTmp; __soliboConverted = true; }
182
+ if ((__soliboTmp = __soliboToKt(participants, ["list",["model","ConversationParticipantMeta"]])) !== participants) { participants = __soliboTmp; __soliboConverted = true; }
183
+ Companion_getInstance();
184
+ externalParticipants = externalParticipants === VOID ? null : externalParticipants;
185
+ participants = participants === VOID ? null : participants;
186
+ this.externalParticipants = externalParticipants;
187
+ this.participants = participants;
188
+ if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
189
+ }
190
+ protoOf($).get_externalParticipants_ck5b58_k$ = function () {
191
+ return this.externalParticipants;
192
+ };
193
+ protoOf($).get_participants_s73u3b_k$ = function () {
194
+ return this.participants;
195
+ };
196
+ protoOf($).component1_7eebsc_k$ = function () {
197
+ return this.externalParticipants;
198
+ };
199
+ protoOf($).component2_7eebsb_k$ = function () {
200
+ return this.participants;
201
+ };
202
+ protoOf($).copy_yo49r5_k$ = function (externalParticipants, participants) {
203
+ return new (DraftConversationRecipientsCommand())(externalParticipants, participants);
204
+ };
205
+ protoOf($).copy = function (externalParticipants, participants, $super) {
206
+ externalParticipants = externalParticipants === VOID ? this.externalParticipants : externalParticipants;
207
+ participants = participants === VOID ? this.participants : participants;
208
+ return $super === VOID ? this.copy_yo49r5_k$(externalParticipants, participants) : $super.copy_yo49r5_k$.call(this, externalParticipants, participants);
209
+ };
210
+ protoOf($).toString = function () {
211
+ return 'DraftConversationRecipientsCommand(externalParticipants=' + toString(this.externalParticipants) + ', participants=' + toString(this.participants) + ')';
212
+ };
213
+ protoOf($).hashCode = function () {
214
+ var result = this.externalParticipants == null ? 0 : hashCode(this.externalParticipants);
215
+ result = imul(result, 31) + (this.participants == null ? 0 : hashCode(this.participants)) | 0;
216
+ return result;
217
+ };
218
+ protoOf($).equals = function (other) {
219
+ if (this === other)
220
+ return true;
221
+ if (!(other instanceof DraftConversationRecipientsCommand()))
222
+ return false;
223
+ if (!equals(this.externalParticipants, other.externalParticipants))
224
+ return false;
225
+ if (!equals(this.participants, other.participants))
226
+ return false;
227
+ return true;
228
+ };
229
+ /* Solibo boundary patches */
230
+ Object.defineProperty($, 'name', { value: "DraftConversationRecipientsCommand", configurable: true });
231
+ __soliboRegisterOwnFields($, {"externalParticipants":["list",["model","ExternalConversationParticipant"]],"participants":["list",["model","ConversationParticipantMeta"]]});
232
+ __soliboRegisterLookup("DraftConversationRecipientsCommand", () => $);
233
+ DraftConversationRecipientsCommandClass = $;
234
+ }
235
+ return DraftConversationRecipientsCommandClass;
236
+ }
237
+ //region block: exports
238
+ export {
239
+ $serializer_getInstance_1 as $serializer_getInstance3bc36mk20jen7,
240
+ DraftConversationRecipientsCommand as DraftConversationRecipientsCommand2ct9mhufb6yll,
241
+ };
242
+ //endregion
243
+
244
+ /* Solibo boundary lookups */
245
+ __soliboRegisterLookup("ConversationParticipantMeta", () => __soliboType_ConversationParticipantMeta());
246
+ __soliboRegisterLookup("ExternalConversationParticipant", () => __soliboType_ExternalConversationParticipant());
247
+
@@ -1,12 +1,14 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class FinalizeConversationDocumentUpdateCommand {
4
- constructor(command: UpdateConversationCommand, documents: Nullable<KtList<IntegratedDocumentInput>> | undefined, idempotencyKey: string, removeDocumentIds?: Nullable<KtList<bigint>>);
4
+ constructor(command: UpdateConversationCommand, documents: Nullable<KtList<IntegratedDocumentInput>> | undefined, idempotencyKey: string, publish?: Nullable<boolean>, recipients?: Nullable<DraftConversationRecipientsCommand>, removeDocumentIds?: Nullable<KtList<bigint>>);
5
5
  get command(): UpdateConversationCommand;
6
6
  get documents(): Nullable<KtList<IntegratedDocumentInput>>;
7
7
  get idempotencyKey(): string;
8
+ get publish(): Nullable<boolean>;
9
+ get recipients(): Nullable<DraftConversationRecipientsCommand>;
8
10
  get removeDocumentIds(): Nullable<KtList<bigint>>;
9
- copy(command?: UpdateConversationCommand, documents?: Nullable<KtList<IntegratedDocumentInput>>, idempotencyKey?: string, removeDocumentIds?: Nullable<KtList<bigint>>): FinalizeConversationDocumentUpdateCommand;
11
+ copy(command?: UpdateConversationCommand, documents?: Nullable<KtList<IntegratedDocumentInput>>, idempotencyKey?: string, publish?: Nullable<boolean>, recipients?: Nullable<DraftConversationRecipientsCommand>, removeDocumentIds?: Nullable<KtList<bigint>>): FinalizeConversationDocumentUpdateCommand;
10
12
  toString(): string;
11
13
  hashCode(): number;
12
14
  equals(other: Nullable<any>): boolean;
@@ -2,6 +2,7 @@ import { $serializer_getInstance18tcucpi3f71l as $serializer_getInstance } from
2
2
  import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs';
3
3
  import {
4
4
  LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
5
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
5
6
  StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
6
7
  } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
7
8
  import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
@@ -11,6 +12,7 @@ import {
11
12
  objectCreate1ve4bgxiu4x98 as objectCreate,
12
13
  hashCodeq5arwsb9dgti as hashCode,
13
14
  getStringHashCode26igk1bx568vk as getStringHashCode,
15
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
14
16
  equals2au1ep9vhcato as equals,
15
17
  } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
16
18
  import {
@@ -22,6 +24,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin
22
24
  import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
23
25
  import { $serializer_getInstancej8zv6egcw5ht as $serializer_getInstance_0 } from './UpdateConversationCommand.mjs';
24
26
  import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
27
+ import { $serializer_getInstance3bc36mk20jen7 as $serializer_getInstance_1 } from './DraftConversationRecipientsCommand.mjs';
25
28
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
26
29
  import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
27
30
  import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
@@ -33,6 +36,7 @@ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException }
33
36
  import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
34
37
  import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
35
38
  import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
39
+ import { DraftConversationRecipientsCommand2ct9mhufb6yll as __soliboType_DraftConversationRecipientsCommand } from './DraftConversationRecipientsCommand.mjs';
36
40
  import { IntegratedDocumentInputyxblx7mam1nk as __soliboType_IntegratedDocumentInput } from '../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IntegratedDocumentInput.mjs';
37
41
  import { UpdateConversationCommandy52shy85yd7u as __soliboType_UpdateConversationCommand } from './UpdateConversationCommand.mjs';
38
42
  //region block: imports
@@ -59,7 +63,7 @@ function Companion() {
59
63
  // Inline function 'kotlin.arrayOf' call
60
64
  // Inline function 'kotlin.js.unsafeCast' call
61
65
  // Inline function 'kotlin.js.asDynamic' call
62
- tmp.$childSerializers_1 = [null, tmp_1, null, lazy(tmp_2, FinalizeConversationDocumentUpdateCommand$Companion$$childSerializers$_anonymous__jr5zjw_0)];
66
+ tmp.$childSerializers_1 = [null, tmp_1, null, null, null, lazy(tmp_2, FinalizeConversationDocumentUpdateCommand$Companion$$childSerializers$_anonymous__jr5zjw_0)];
63
67
  }
64
68
  CompanionClass = $;
65
69
  }
@@ -77,10 +81,12 @@ function $serializer() {
77
81
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
78
82
  function $() {
79
83
  $serializer_instance = this;
80
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.FinalizeConversationDocumentUpdateCommand', this, 4);
84
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.FinalizeConversationDocumentUpdateCommand', this, 6);
81
85
  tmp0_serialDesc.addElement_5pzumi_k$('command', false);
82
86
  tmp0_serialDesc.addElement_5pzumi_k$('documents', true);
83
87
  tmp0_serialDesc.addElement_5pzumi_k$('idempotencyKey', false);
88
+ tmp0_serialDesc.addElement_5pzumi_k$('publish', true);
89
+ tmp0_serialDesc.addElement_5pzumi_k$('recipients', true);
84
90
  tmp0_serialDesc.addElement_5pzumi_k$('removeDocumentIds', true);
85
91
  this.descriptor_1 = tmp0_serialDesc;
86
92
  }
@@ -93,8 +99,14 @@ function $serializer() {
93
99
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.documents);
94
100
  }
95
101
  tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.idempotencyKey);
96
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.removeDocumentIds == null)) {
97
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.removeDocumentIds);
102
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.publish == null)) {
103
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.publish);
104
+ }
105
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.recipients == null)) {
106
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, $serializer_getInstance_1(), value.recipients);
107
+ }
108
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.removeDocumentIds == null)) {
109
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, tmp2_cached[5].get_value_j01efc_k$(), value.removeDocumentIds);
98
110
  }
99
111
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
100
112
  };
@@ -110,46 +122,60 @@ function $serializer() {
110
122
  var tmp5_local1 = null;
111
123
  var tmp6_local2 = null;
112
124
  var tmp7_local3 = null;
113
- var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
114
- var tmp9_cached = Companion_getInstance().$childSerializers_1;
115
- if (tmp8_input.decodeSequentially_xlblqy_k$()) {
116
- tmp4_local0 = tmp8_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
125
+ var tmp8_local4 = null;
126
+ var tmp9_local5 = null;
127
+ var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
128
+ var tmp11_cached = Companion_getInstance().$childSerializers_1;
129
+ if (tmp10_input.decodeSequentially_xlblqy_k$()) {
130
+ tmp4_local0 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
117
131
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
118
- tmp5_local1 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp9_cached[1].get_value_j01efc_k$(), tmp5_local1);
132
+ tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
119
133
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
120
- tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
134
+ tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
121
135
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
122
- tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp9_cached[3].get_value_j01efc_k$(), tmp7_local3);
136
+ tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
123
137
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
138
+ tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance_1(), tmp8_local4);
139
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
140
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp11_cached[5].get_value_j01efc_k$(), tmp9_local5);
141
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
124
142
  } else
125
143
  while (tmp1_flag) {
126
- tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
144
+ tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
127
145
  switch (tmp2_index) {
128
146
  case -1:
129
147
  tmp1_flag = false;
130
148
  break;
131
149
  case 0:
132
- tmp4_local0 = tmp8_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
150
+ tmp4_local0 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
133
151
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
134
152
  break;
135
153
  case 1:
136
- tmp5_local1 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp9_cached[1].get_value_j01efc_k$(), tmp5_local1);
154
+ tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
137
155
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
138
156
  break;
139
157
  case 2:
140
- tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
158
+ tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
141
159
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
142
160
  break;
143
161
  case 3:
144
- tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp9_cached[3].get_value_j01efc_k$(), tmp7_local3);
162
+ tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
145
163
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
146
164
  break;
165
+ case 4:
166
+ tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance_1(), tmp8_local4);
167
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
168
+ break;
169
+ case 5:
170
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp11_cached[5].get_value_j01efc_k$(), tmp9_local5);
171
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
172
+ break;
147
173
  default:
148
174
  throw UnknownFieldException_init_$Create$(tmp2_index);
149
175
  }
150
176
  }
151
- tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
152
- return FinalizeConversationDocumentUpdateCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
177
+ tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
178
+ return FinalizeConversationDocumentUpdateCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
153
179
  };
154
180
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
155
181
  return this.descriptor_1;
@@ -159,7 +185,7 @@ function $serializer() {
159
185
  // Inline function 'kotlin.arrayOf' call
160
186
  // Inline function 'kotlin.js.unsafeCast' call
161
187
  // Inline function 'kotlin.js.asDynamic' call
162
- return [$serializer_getInstance_0(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(tmp0_cached[3].get_value_j01efc_k$())];
188
+ return [$serializer_getInstance_0(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable($serializer_getInstance_1()), get_nullable(tmp0_cached[5].get_value_j01efc_k$())];
163
189
  };
164
190
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
165
191
  $serializerClass = $;
@@ -167,14 +193,14 @@ function $serializer() {
167
193
  return $serializerClass;
168
194
  }
169
195
  var $serializer_instance;
170
- function $serializer_getInstance_1() {
196
+ function $serializer_getInstance_2() {
171
197
  if ($serializer_instance == null)
172
198
  new ($serializer())();
173
199
  return $serializer_instance;
174
200
  }
175
- function FinalizeConversationDocumentUpdateCommand_init_$Init$(seen0, command, documents, idempotencyKey, removeDocumentIds, serializationConstructorMarker, $this) {
201
+ function FinalizeConversationDocumentUpdateCommand_init_$Init$(seen0, command, documents, idempotencyKey, publish, recipients, removeDocumentIds, serializationConstructorMarker, $this) {
176
202
  if (!(5 === (5 & seen0))) {
177
- throwMissingFieldException(seen0, 5, $serializer_getInstance_1().descriptor_1);
203
+ throwMissingFieldException(seen0, 5, $serializer_getInstance_2().descriptor_1);
178
204
  }
179
205
  $this.command = command;
180
206
  if (0 === (seen0 & 2))
@@ -183,19 +209,27 @@ function FinalizeConversationDocumentUpdateCommand_init_$Init$(seen0, command, d
183
209
  $this.documents = documents;
184
210
  $this.idempotencyKey = idempotencyKey;
185
211
  if (0 === (seen0 & 8))
212
+ $this.publish = null;
213
+ else
214
+ $this.publish = publish;
215
+ if (0 === (seen0 & 16))
216
+ $this.recipients = null;
217
+ else
218
+ $this.recipients = recipients;
219
+ if (0 === (seen0 & 32))
186
220
  $this.removeDocumentIds = null;
187
221
  else
188
222
  $this.removeDocumentIds = removeDocumentIds;
189
223
  return $this;
190
224
  }
191
- function FinalizeConversationDocumentUpdateCommand_init_$Create$(seen0, command, documents, idempotencyKey, removeDocumentIds, serializationConstructorMarker) {
192
- return FinalizeConversationDocumentUpdateCommand_init_$Init$(seen0, command, documents, idempotencyKey, removeDocumentIds, serializationConstructorMarker, objectCreate(protoOf(FinalizeConversationDocumentUpdateCommand())));
225
+ function FinalizeConversationDocumentUpdateCommand_init_$Create$(seen0, command, documents, idempotencyKey, publish, recipients, removeDocumentIds, serializationConstructorMarker) {
226
+ return FinalizeConversationDocumentUpdateCommand_init_$Init$(seen0, command, documents, idempotencyKey, publish, recipients, removeDocumentIds, serializationConstructorMarker, objectCreate(protoOf(FinalizeConversationDocumentUpdateCommand())));
193
227
  }
194
228
  var FinalizeConversationDocumentUpdateCommandClass;
195
229
  function FinalizeConversationDocumentUpdateCommand() {
196
230
  if (FinalizeConversationDocumentUpdateCommandClass === VOID) {
197
- initMetadataForClass($, 'FinalizeConversationDocumentUpdateCommand', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
198
- function $(command, documents, idempotencyKey, removeDocumentIds) {
231
+ initMetadataForClass($, 'FinalizeConversationDocumentUpdateCommand', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
232
+ function $(command, documents, idempotencyKey, publish, recipients, removeDocumentIds) {
199
233
  var __soliboProps = arguments.length === 1 && typeof command === 'object' && command !== null && command.constructor === Object;
200
234
  var __soliboTmp, __soliboConverted = false;
201
235
  if (__soliboProps) {
@@ -203,17 +237,24 @@ function FinalizeConversationDocumentUpdateCommand() {
203
237
  command = ('command' in props ? props.command : VOID);
204
238
  documents = ('documents' in props ? props.documents : VOID);
205
239
  idempotencyKey = ('idempotencyKey' in props ? props.idempotencyKey : VOID);
240
+ publish = ('publish' in props ? props.publish : VOID);
241
+ recipients = ('recipients' in props ? props.recipients : VOID);
206
242
  removeDocumentIds = ('removeDocumentIds' in props ? props.removeDocumentIds : VOID);
207
243
  }
208
244
  if ((__soliboTmp = __soliboToKt(command, ["model","UpdateConversationCommand"])) !== command) { command = __soliboTmp; __soliboConverted = true; }
209
245
  if ((__soliboTmp = __soliboToKt(documents, ["list",["model","IntegratedDocumentInput"]])) !== documents) { documents = __soliboTmp; __soliboConverted = true; }
246
+ if ((__soliboTmp = __soliboToKt(recipients, ["model","DraftConversationRecipientsCommand"])) !== recipients) { recipients = __soliboTmp; __soliboConverted = true; }
210
247
  if ((__soliboTmp = __soliboToKt(removeDocumentIds, ["list",["bigint"]])) !== removeDocumentIds) { removeDocumentIds = __soliboTmp; __soliboConverted = true; }
211
248
  Companion_getInstance();
212
249
  documents = documents === VOID ? null : documents;
250
+ publish = publish === VOID ? null : publish;
251
+ recipients = recipients === VOID ? null : recipients;
213
252
  removeDocumentIds = removeDocumentIds === VOID ? null : removeDocumentIds;
214
253
  this.command = command;
215
254
  this.documents = documents;
216
255
  this.idempotencyKey = idempotencyKey;
256
+ this.publish = publish;
257
+ this.recipients = recipients;
217
258
  this.removeDocumentIds = removeDocumentIds;
218
259
  if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
219
260
  }
@@ -226,6 +267,12 @@ function FinalizeConversationDocumentUpdateCommand() {
226
267
  protoOf($).get_idempotencyKey_ujuze1_k$ = function () {
227
268
  return this.idempotencyKey;
228
269
  };
270
+ protoOf($).get_publish_2mkqu2_k$ = function () {
271
+ return this.publish;
272
+ };
273
+ protoOf($).get_recipients_px0n3x_k$ = function () {
274
+ return this.recipients;
275
+ };
229
276
  protoOf($).get_removeDocumentIds_cxjpao_k$ = function () {
230
277
  return this.removeDocumentIds;
231
278
  };
@@ -239,25 +286,35 @@ function FinalizeConversationDocumentUpdateCommand() {
239
286
  return this.idempotencyKey;
240
287
  };
241
288
  protoOf($).component4_7eebs9_k$ = function () {
289
+ return this.publish;
290
+ };
291
+ protoOf($).component5_7eebs8_k$ = function () {
292
+ return this.recipients;
293
+ };
294
+ protoOf($).component6_7eebs7_k$ = function () {
242
295
  return this.removeDocumentIds;
243
296
  };
244
- protoOf($).copy_otavlc_k$ = function (command, documents, idempotencyKey, removeDocumentIds) {
245
- return new (FinalizeConversationDocumentUpdateCommand())(command, documents, idempotencyKey, removeDocumentIds);
297
+ protoOf($).copy_saysfh_k$ = function (command, documents, idempotencyKey, publish, recipients, removeDocumentIds) {
298
+ return new (FinalizeConversationDocumentUpdateCommand())(command, documents, idempotencyKey, publish, recipients, removeDocumentIds);
246
299
  };
247
- protoOf($).copy = function (command, documents, idempotencyKey, removeDocumentIds, $super) {
300
+ protoOf($).copy = function (command, documents, idempotencyKey, publish, recipients, removeDocumentIds, $super) {
248
301
  command = command === VOID ? this.command : command;
249
302
  documents = documents === VOID ? this.documents : documents;
250
303
  idempotencyKey = idempotencyKey === VOID ? this.idempotencyKey : idempotencyKey;
304
+ publish = publish === VOID ? this.publish : publish;
305
+ recipients = recipients === VOID ? this.recipients : recipients;
251
306
  removeDocumentIds = removeDocumentIds === VOID ? this.removeDocumentIds : removeDocumentIds;
252
- return $super === VOID ? this.copy_otavlc_k$(command, documents, idempotencyKey, removeDocumentIds) : $super.copy_otavlc_k$.call(this, command, documents, idempotencyKey, removeDocumentIds);
307
+ return $super === VOID ? this.copy_saysfh_k$(command, documents, idempotencyKey, publish, recipients, removeDocumentIds) : $super.copy_saysfh_k$.call(this, command, documents, idempotencyKey, publish, recipients, removeDocumentIds);
253
308
  };
254
309
  protoOf($).toString = function () {
255
- return 'FinalizeConversationDocumentUpdateCommand(command=' + this.command.toString() + ', documents=' + toString(this.documents) + ', idempotencyKey=' + this.idempotencyKey + ', removeDocumentIds=' + toString(this.removeDocumentIds) + ')';
310
+ return 'FinalizeConversationDocumentUpdateCommand(command=' + this.command.toString() + ', documents=' + toString(this.documents) + ', idempotencyKey=' + this.idempotencyKey + ', publish=' + this.publish + ', recipients=' + toString(this.recipients) + ', removeDocumentIds=' + toString(this.removeDocumentIds) + ')';
256
311
  };
257
312
  protoOf($).hashCode = function () {
258
313
  var result = this.command.hashCode();
259
314
  result = imul(result, 31) + (this.documents == null ? 0 : hashCode(this.documents)) | 0;
260
315
  result = imul(result, 31) + getStringHashCode(this.idempotencyKey) | 0;
316
+ result = imul(result, 31) + (this.publish == null ? 0 : getBooleanHashCode(this.publish)) | 0;
317
+ result = imul(result, 31) + (this.recipients == null ? 0 : this.recipients.hashCode()) | 0;
261
318
  result = imul(result, 31) + (this.removeDocumentIds == null ? 0 : hashCode(this.removeDocumentIds)) | 0;
262
319
  return result;
263
320
  };
@@ -272,13 +329,17 @@ function FinalizeConversationDocumentUpdateCommand() {
272
329
  return false;
273
330
  if (!(this.idempotencyKey === other.idempotencyKey))
274
331
  return false;
332
+ if (!(this.publish == other.publish))
333
+ return false;
334
+ if (!equals(this.recipients, other.recipients))
335
+ return false;
275
336
  if (!equals(this.removeDocumentIds, other.removeDocumentIds))
276
337
  return false;
277
338
  return true;
278
339
  };
279
340
  /* Solibo boundary patches */
280
341
  Object.defineProperty($, 'name', { value: "FinalizeConversationDocumentUpdateCommand", configurable: true });
281
- __soliboRegisterOwnFields($, {"command":["model","UpdateConversationCommand"],"documents":["list",["model","IntegratedDocumentInput"]],"removeDocumentIds":["list",["bigint"]]});
342
+ __soliboRegisterOwnFields($, {"command":["model","UpdateConversationCommand"],"documents":["list",["model","IntegratedDocumentInput"]],"recipients":["model","DraftConversationRecipientsCommand"],"removeDocumentIds":["list",["bigint"]]});
282
343
  __soliboRegisterLookup("FinalizeConversationDocumentUpdateCommand", () => $);
283
344
  FinalizeConversationDocumentUpdateCommandClass = $;
284
345
  }
@@ -291,6 +352,7 @@ export {
291
352
  //endregion
292
353
 
293
354
  /* Solibo boundary lookups */
355
+ __soliboRegisterLookup("DraftConversationRecipientsCommand", () => __soliboType_DraftConversationRecipientsCommand());
294
356
  __soliboRegisterLookup("IntegratedDocumentInput", () => __soliboType_IntegratedDocumentInput());
295
357
  __soliboRegisterLookup("UpdateConversationCommand", () => __soliboType_UpdateConversationCommand());
296
358
 
@@ -110,6 +110,7 @@ export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/model
110
110
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateInquiryCommand.export.mjs';
111
111
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateInternalMessageCommand.export.mjs';
112
112
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateMessageCommand.export.mjs';
113
+ export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/DraftConversationRecipientsCommand.export.mjs';
113
114
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/EmailContentCommand.export.mjs';
114
115
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/ExternalConversationParticipant.export.mjs';
115
116
  export * from './solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/FinalizeConversationDocumentCreateCommand.export.mjs';
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.58.1');
31
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.58.2');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -5210,6 +5210,22 @@ export declare namespace CreateMessageCommand {
5210
5210
  const constructor: abstract new () => CreateMessageCommand;
5211
5211
  }
5212
5212
  }
5213
+ export interface DraftConversationRecipientsCommandProps {
5214
+ externalParticipants?: ExternalConversationParticipantProps[] | null | undefined;
5215
+ participants?: ConversationParticipantMetaProps[] | null | undefined;
5216
+ }
5217
+ export declare class DraftConversationRecipientsCommand {
5218
+ constructor(props: DraftConversationRecipientsCommandProps);
5219
+ constructor(externalParticipants?: ExternalConversationParticipant[] | null | undefined, participants?: ConversationParticipantMeta[] | null | undefined);
5220
+ get externalParticipants(): ExternalConversationParticipant[] | null | undefined;
5221
+ get participants(): ConversationParticipantMeta[] | null | undefined;
5222
+ }
5223
+ export declare namespace DraftConversationRecipientsCommand {
5224
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
5225
+ namespace $metadata$ {
5226
+ const constructor: abstract new () => DraftConversationRecipientsCommand;
5227
+ }
5228
+ }
5213
5229
  export interface EmailContentCommandProps {
5214
5230
  htmlContent?: string | null | undefined;
5215
5231
  plainContent?: string | null | undefined;
@@ -5262,14 +5278,18 @@ export interface FinalizeConversationDocumentUpdateCommandProps {
5262
5278
  command: UpdateConversationCommandProps;
5263
5279
  documents?: IntegratedDocumentInputProps[] | null | undefined;
5264
5280
  idempotencyKey: string;
5281
+ publish?: boolean | null | undefined;
5282
+ recipients?: DraftConversationRecipientsCommandProps | null | undefined;
5265
5283
  removeDocumentIds?: bigint[] | null | undefined;
5266
5284
  }
5267
5285
  export declare class FinalizeConversationDocumentUpdateCommand {
5268
5286
  constructor(props: FinalizeConversationDocumentUpdateCommandProps);
5269
- constructor(command: UpdateConversationCommand, documents: IntegratedDocumentInput[] | null | undefined, idempotencyKey: string, removeDocumentIds?: bigint[] | null | undefined);
5287
+ constructor(command: UpdateConversationCommand, documents: IntegratedDocumentInput[] | null | undefined, idempotencyKey: string, publish?: boolean | null | undefined, recipients?: DraftConversationRecipientsCommand | null | undefined, removeDocumentIds?: bigint[] | null | undefined);
5270
5288
  get command(): UpdateConversationCommand;
5271
5289
  get documents(): IntegratedDocumentInput[] | null | undefined;
5272
5290
  get idempotencyKey(): string;
5291
+ get publish(): boolean | null | undefined;
5292
+ get recipients(): DraftConversationRecipientsCommand | null | undefined;
5273
5293
  get removeDocumentIds(): bigint[] | null | undefined;
5274
5294
  }
5275
5295
  export declare namespace FinalizeConversationDocumentUpdateCommand {