@solibo/solibo-sdk 1.26.4 → 1.26.5

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.
@@ -8809,6 +8809,44 @@ export declare namespace FinalizeCommunicationCommentDocumentUpdateCommand {
8809
8809
  const constructor: abstract new () => FinalizeCommunicationCommentDocumentUpdateCommand;
8810
8810
  }
8811
8811
  }
8812
+ export interface FinalizeConversationDocumentCreateCommandProps {
8813
+ command: CreateConversationCommandProps;
8814
+ documents?: IntegratedDocumentInputProps[] | null | undefined;
8815
+ idempotencyKey: string;
8816
+ }
8817
+ export declare class FinalizeConversationDocumentCreateCommand {
8818
+ constructor(props: FinalizeConversationDocumentCreateCommandProps);
8819
+ constructor(command: CreateConversationCommand, documents: IntegratedDocumentInput[] | null | undefined, idempotencyKey: string);
8820
+ get command(): CreateConversationCommand;
8821
+ get documents(): IntegratedDocumentInput[] | null | undefined;
8822
+ get idempotencyKey(): string;
8823
+ }
8824
+ export declare namespace FinalizeConversationDocumentCreateCommand {
8825
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
8826
+ namespace $metadata$ {
8827
+ const constructor: abstract new () => FinalizeConversationDocumentCreateCommand;
8828
+ }
8829
+ }
8830
+ export interface FinalizeConversationDocumentUpdateCommandProps {
8831
+ command: UpdateConversationCommandProps;
8832
+ documents?: IntegratedDocumentInputProps[] | null | undefined;
8833
+ idempotencyKey: string;
8834
+ removeDocumentIds?: bigint[] | null | undefined;
8835
+ }
8836
+ export declare class FinalizeConversationDocumentUpdateCommand {
8837
+ constructor(props: FinalizeConversationDocumentUpdateCommandProps);
8838
+ constructor(command: UpdateConversationCommand, documents: IntegratedDocumentInput[] | null | undefined, idempotencyKey: string, removeDocumentIds?: bigint[] | null | undefined);
8839
+ get command(): UpdateConversationCommand;
8840
+ get documents(): IntegratedDocumentInput[] | null | undefined;
8841
+ get idempotencyKey(): string;
8842
+ get removeDocumentIds(): bigint[] | null | undefined;
8843
+ }
8844
+ export declare namespace FinalizeConversationDocumentUpdateCommand {
8845
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
8846
+ namespace $metadata$ {
8847
+ const constructor: abstract new () => FinalizeConversationDocumentUpdateCommand;
8848
+ }
8849
+ }
8812
8850
  export interface FinalizeConversationMessageDocumentCommandProps {
8813
8851
  command: CreateMessageCommandProps;
8814
8852
  documents?: IntegratedDocumentInputProps[] | null | undefined;
@@ -9998,6 +10036,22 @@ export declare namespace IntegratedConversationMessageResult {
9998
10036
  const constructor: abstract new () => IntegratedConversationMessageResult;
9999
10037
  }
10000
10038
  }
10039
+ export interface IntegratedConversationMutationResultProps {
10040
+ documents: FinalizeIntegratedDocumentResultProps;
10041
+ resource: ConversationProps;
10042
+ }
10043
+ export declare class IntegratedConversationMutationResult {
10044
+ constructor(props: IntegratedConversationMutationResultProps);
10045
+ constructor(documents: FinalizeIntegratedDocumentResult, resource: Conversation);
10046
+ get documents(): FinalizeIntegratedDocumentResult;
10047
+ get resource(): Conversation;
10048
+ }
10049
+ export declare namespace IntegratedConversationMutationResult {
10050
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
10051
+ namespace $metadata$ {
10052
+ const constructor: abstract new () => IntegratedConversationMutationResult;
10053
+ }
10054
+ }
10001
10055
  export interface IntegratedDocumentInputProps {
10002
10056
  role: IntegratedDocumentRole;
10003
10057
  slot?: string | null | undefined;
@@ -26280,7 +26334,9 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
26280
26334
  deleteMultipleConversationFlags(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
26281
26335
  deleteMultipleConversations(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
26282
26336
  finalizeConversation(companyId: bigint, conversationId: bigint): Promise<HttpResponse<Conversation>>;
26337
+ finalizeIntegratedConversationCreate(companyId: bigint, finalizeConversationDocumentCreateCommand: FinalizeConversationDocumentCreateCommand): Promise<HttpResponse<IntegratedConversationMutationResult>>;
26283
26338
  finalizeIntegratedConversationMessage(companyId: bigint, conversationId: bigint, finalizeConversationMessageDocumentCommand: FinalizeConversationMessageDocumentCommand): Promise<HttpResponse<IntegratedConversationMessageResult>>;
26339
+ finalizeIntegratedConversationUpdate(companyId: bigint, conversationId: bigint, finalizeConversationDocumentUpdateCommand: FinalizeConversationDocumentUpdateCommand): Promise<HttpResponse<IntegratedConversationMutationResult>>;
26284
26340
  getMessageFullEmailContent(companyId: bigint, conversationId: bigint, messageId: bigint, fields?: string | null | undefined): Promise<HttpResponse<FullEmailContent>>;
26285
26341
  indexCompanyConversationCategories(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListSecureConversationCategory>>;
26286
26342
  indexCompanyConversationCategoriesForRequests(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPublicConversationCategory>>;
@@ -28008,6 +28064,7 @@ export declare namespace CreateConversationWithDocumentsResult {
28008
28064
  const constructor: abstract new () => CreateConversationWithDocumentsResult;
28009
28065
  }
28010
28066
  }
28067
+ /** @deprecated Conversation creation is atomic and now throws IntegratedDocumentMutationException */
28011
28068
  export interface CreateConversationDocumentUploadExceptionProps {
28012
28069
  conversationId: bigint;
28013
28070
  successfulDocumentIds: Array<bigint>;
@@ -28078,7 +28135,9 @@ export declare class IntegratedDocumentMutation {
28078
28135
  createNewsletter(companyId: bigint, command: CreateNewsletterCommand, attachments?: DocumentInput[], inlineDocuments?: Map<string, DocumentInput>, idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedNewsletterMutationResult>;
28079
28136
  updateNewsletter(companyId: bigint, newsletterId: bigint, command: UpdateNewsletterCommand, attachments?: DocumentInput[], inlineDocuments?: Map<string, DocumentInput>, removeDocumentIds?: bigint[], idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedNewsletterMutationResult>;
28080
28137
  createConversationMessage(companyId: bigint, conversationId: bigint, command: CreateMessageCommand, attachments?: DocumentInput[], inlineDocuments?: Map<string, DocumentInput>, idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedConversationMessageResult>;
28081
- createConversation(companyId: bigint, command: CreateConversationCommand, attachments?: DocumentInput[], onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<CreateConversationWithDocumentsResult>;
28138
+ createConversation(companyId: bigint, command: CreateConversationCommand, attachments?: DocumentInput[], onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined, inlineDocuments?: Map<string, DocumentInput>, idempotencyKey?: string | null | undefined): Promise<CreateConversationWithDocumentsResult>;
28139
+ createConversationWithUploadProgress(companyId: bigint, command: CreateConversationCommand, attachments: DocumentInput[] | undefined, onUploadProgress: (p0: IntegratedDocumentUploadProgress) => void): Promise<CreateConversationWithDocumentsResult>;
28140
+ updateConversation(companyId: bigint, conversationId: bigint, command: UpdateConversationCommand, attachments?: DocumentInput[], inlineDocuments?: Map<string, DocumentInput>, removeDocumentIds?: bigint[], idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedConversationMutationResult>;
28082
28141
  createNeighborhoodGroup(companyId: bigint, command: CreateNeighborhoodGroupCommand, image?: DocumentInput | null | undefined, idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedNeighborhoodGroupMutationResult>;
28083
28142
  updateNeighborhoodGroup(companyId: bigint, groupId: bigint, command: UpdateNeighborhoodGroupCommand, pictureDocumentId?: bigint | null | undefined, image?: DocumentInput | null | undefined, removeDocumentIds?: bigint[], idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedNeighborhoodGroupMutationResult>;
28084
28143
  createNeighborhoodPost(companyId: bigint, groupId: bigint | null | undefined, command: CreateNeighborhoodPostCommand, image?: DocumentInput | null | undefined, attachments?: DocumentInput[], inlineDocuments?: Map<string, DocumentInput>, idempotencyKey?: string | null | undefined, onUploadProgress?: (p0: IntegratedDocumentUploadProgress) => void | null | undefined): Promise<IntegratedNeighborhoodPostMutationResult>;