@wix/auto_sdk_legends_persona-chats 1.0.9 → 1.0.11

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,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { PersonaChat, CreatePersonaChatOptions, GetPersonaChatOptions, GetPersonaChatContextResponse, GetPersonaChatContextApplicationErrors, RetrievePersonaKnowledgeOptions, RetrievePersonaKnowledgeResponse, RetrievePersonaKnowledgeApplicationErrors, SendChatMessageOptions, SendChatMessageResponse, SendChatMessageStreamedOptions, RawHttpResponse, PersistConversationMessageOptions, PersistConversationMessageResponse, ListPersonaChatsOptions, ListPersonaChatsResponse, CreateInteractiveConversationOptions, CreateInteractiveConversationResponse, CreateVoiceConversationOptions, CreateVoiceConversationResponse, EndInteractiveConversationOptions, GetInteractiveConversationIdentifiers, GetInteractiveConversationOptions, GetInteractiveConversationResponse, GenerateChatCompletionsWithVendorOptions, GenerateChatCompletionsStreamWithVendorOptions, QueryChatMessagesOptions, QueryChatMessagesResponse, GetPermissionsOptions, GetPermissionsResponse, QueryPersonaChatsOptions, QueryPersonaChatsResponse, UpsertKnowledgeSnippetOptions, UpsertKnowledgeSnippetResponse, UpsertKnowledgeSnippetApplicationErrors, SwitchConfigOptions, DeletePersonaChatOptions, BulkDeletePersonaChatsByPersonaOptions, BulkDeletePersonaChatsByPersonaResponse, GenerateConversationOutcomeOptions, GenerateConversationOutcomeResponse } from './index.typings.js';
3
- export { AccountInfo, ActionEvent, AdditionalMetadata, AssistantConfigurationOverrides, AvatarPolicy, AvatarPolicyOptionsOneOf, AvatarSourcePolicy, AvatarSourcePolicyWithLiterals, BulkDeletePersonaChatsByPersonaRequest, CapturedContact, Category, CategoryWithLiterals, Channel, ChannelWithLiterals, ChatConfig, ChatContext, ChatMessage, ChatMessageAdded, ChatMessageAttachment, ChatMode, ChatModeWithLiterals, ClientToolDefinition, ConversationEnded, ConversationExpired, ConversationOutcome, ConversationType, ConversationTypeWithLiterals, CreateInteractiveConversationRequest, CreatePersonaChatRequest, CreatePersonaChatResponse, CreateVoiceConversationRequest, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePersonaChatRequest, DeletePersonaChatResponse, DomainEvent, DomainEventBodyOneOf, ElevenLabsData, Empty, EndInteractiveConversationRequest, EndInteractiveConversationResponse, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FishAudioData, FunctionCall, FunctionCallResult, GenerateConversationOutcomeRequest, GeneratedSnippet, GetCallMemberRequest, GetCallMemberResponse, GetInteractiveConversationRequest, GetPermissionsRequest, GetPersonaChatContextRequest, GetPersonaChatRequest, GetPersonaChatResponse, HeadersEntry, HourOneData, HumeData, IdentificationData, IdentificationDataIdOneOf, InteractiveConversationStatus, InteractiveConversationStatusWithLiterals, Knowledge, KnowledgeChunkMetadata, KnowledgePageCard, KnowledgeRetrieved, KnowledgeSnippet, KnowledgeSnippetCreationTriggered, KnowledgeSourceOptionsOneOf, Limitation, ListPersonaChatsRequest, MessageEnvelope, MessageSource, MessageSourceWithLiterals, MessageStatus, MessageStatusWithLiterals, MessageType, MessageTypeWithLiterals, Metadata, Namespace, NamespaceWithLiterals, ParticipantType, ParticipantTypeWithLiterals, PathParametersEntry, PersistConversationMessageRequest, PersistedConversationMessage, PersistedConversationMonitoringData, PersonaDetails, QueryChatMessagesRequest, QueryParametersEntry, QueryPersonaChatsRequest, RawHttpRequest, RestoreInfo, RetrievePersonaKnowledgeInternalRequest, RetrievePersonaKnowledgeInternalResponse, RetrievePersonaKnowledgeRequest, Role, RoleWithLiterals, SendChatMessageRequest, SendChatMessageStreamedRequest, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, Subcategory, SubcategoryWithLiterals, SwitchConfigRequest, SwitchConfigResponse, SystemAvatarOptions, SystemVoiceOptions, TagList, Tags, TriggerKnowledgeSnippetCreationRequest, TriggerKnowledgeSnippetCreationResponse, Type, TypeWithLiterals, UpdateType, UpdateTypeWithLiterals, UpsertKnowledgeSnippetRequest, VendorType, VendorTypeWithLiterals, VoicePolicy, VoicePolicyOptionsOneOf, VoiceSourcePolicy, VoiceSourcePolicyWithLiterals, VoiceVendor, VoiceVendorData, VoiceVendorDataVendorDataOneOf, VoiceVendorWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, AdditionalMetadata, AssistantConfigurationOverrides, AvatarPolicy, AvatarPolicyOptionsOneOf, AvatarSourcePolicy, AvatarSourcePolicyWithLiterals, BulkDeletePersonaChatsByPersonaRequest, CapturedContact, Category, CategoryWithLiterals, Channel, ChannelWithLiterals, ChatConfig, ChatContext, ChatMessage, ChatMessageAdded, ChatMessageAttachment, ChatMode, ChatModeWithLiterals, ClientToolDefinition, ConversationEnded, ConversationExpired, ConversationOutcome, ConversationType, ConversationTypeWithLiterals, CreateInteractiveConversationRequest, CreatePersonaChatRequest, CreatePersonaChatResponse, CreateVoiceConversationRequest, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePersonaChatRequest, DeletePersonaChatResponse, DomainEvent, DomainEventBodyOneOf, ElevenLabsData, Empty, EndInteractiveConversationRequest, EndInteractiveConversationResponse, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FishAudioData, FollowUp, FollowUpWithLiterals, FunctionCall, FunctionCallResult, GenerateConversationOutcomeRequest, GeneratedSnippet, GetCallMemberRequest, GetCallMemberResponse, GetInteractiveConversationRequest, GetPermissionsRequest, GetPersonaChatContextRequest, GetPersonaChatRequest, GetPersonaChatResponse, HeadersEntry, HourOneData, HumeData, IdentificationData, IdentificationDataIdOneOf, InteractiveConversationStatus, InteractiveConversationStatusWithLiterals, Knowledge, KnowledgeChunkMetadata, KnowledgePageCard, KnowledgeRetrieved, KnowledgeSnippet, KnowledgeSnippetCreationTriggered, KnowledgeSourceOptionsOneOf, Limitation, ListPersonaChatsRequest, MessageEnvelope, MessageSource, MessageSourceWithLiterals, MessageStatus, MessageStatusWithLiterals, MessageType, MessageTypeWithLiterals, Metadata, Namespace, NamespaceWithLiterals, ParticipantType, ParticipantTypeWithLiterals, PathParametersEntry, PersistConversationMessageRequest, PersistedConversationMessage, PersistedConversationMonitoringData, PersonaDetails, QueryChatMessagesRequest, QueryParametersEntry, QueryPersonaChatsRequest, RawHttpRequest, RestoreInfo, RetrievePersonaKnowledgeInternalRequest, RetrievePersonaKnowledgeInternalResponse, RetrievePersonaKnowledgeRequest, Role, RoleWithLiterals, SendChatMessageRequest, SendChatMessageStreamedRequest, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, Subcategory, SubcategoryWithLiterals, SwitchConfigRequest, SwitchConfigResponse, SystemAvatarOptions, SystemVoiceOptions, TagList, Tags, TriggerKnowledgeSnippetCreationRequest, TriggerKnowledgeSnippetCreationResponse, Type, TypeWithLiterals, UpdateType, UpdateTypeWithLiterals, UpsertKnowledgeSnippetRequest, VendorType, VendorTypeWithLiterals, VoicePolicy, VoicePolicyOptionsOneOf, VoiceSourcePolicy, VoiceSourcePolicyWithLiterals, VoiceVendor, VoiceVendorData, VoiceVendorDataVendorDataOneOf, VoiceVendorWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function createPersonaChat$1(httpClient: HttpClient): CreatePersonaChatSignature;
6
6
  interface CreatePersonaChatSignature {
@@ -180,7 +180,7 @@ interface GenerateConversationOutcomeSignature {
180
180
  * @param - The chat the conversation took place in.
181
181
  * @param - The conversation's first message. Its ID becomes the conversation ID.
182
182
  */
183
- (chatId: string, firstMessageId: string, options?: NonNullablePaths<GenerateConversationOutcomeOptions, `lastMessageId` | `personaOwnerId`, 0>): Promise<NonNullablePaths<GenerateConversationOutcomeResponse, `conversationOutcome.chatId` | `conversationOutcome.personaId` | `conversationOutcome.channel` | `conversationOutcome.unansweredQuestions` | `deduplicated`, 1>>;
183
+ (chatId: string, firstMessageId: string, options?: NonNullablePaths<GenerateConversationOutcomeOptions, `lastMessageId` | `personaOwnerId`, 0>): Promise<NonNullablePaths<GenerateConversationOutcomeResponse, `conversationOutcome.chatId` | `conversationOutcome.personaId` | `conversationOutcome.channel` | `conversationOutcome.unansweredQuestions` | `conversationOutcome.followUp` | `deduplicated`, 1>>;
184
184
  }
185
185
 
186
186
  declare const createPersonaChat: MaybeContext<BuildRESTFunction<typeof createPersonaChat$1> & typeof createPersonaChat$1>;
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  Channel: () => Channel,
26
26
  ChatMode: () => ChatMode,
27
27
  ConversationType: () => ConversationType,
28
+ FollowUp: () => FollowUp,
28
29
  InteractiveConversationStatus: () => InteractiveConversationStatus,
29
30
  MessageSource: () => MessageSource,
30
31
  MessageStatus: () => MessageStatus,
@@ -921,6 +922,16 @@ var Channel = /* @__PURE__ */ ((Channel2) => {
921
922
  Channel2["VIDEO"] = "VIDEO";
922
923
  return Channel2;
923
924
  })(Channel || {});
925
+ var FollowUp = /* @__PURE__ */ ((FollowUp2) => {
926
+ FollowUp2["UNKNOWN_FOLLOW_UP"] = "UNKNOWN_FOLLOW_UP";
927
+ FollowUp2["NO_FOLLOW_UP"] = "NO_FOLLOW_UP";
928
+ FollowUp2["BOOKING"] = "BOOKING";
929
+ FollowUp2["PURCHASE"] = "PURCHASE";
930
+ FollowUp2["CALLBACK"] = "CALLBACK";
931
+ FollowUp2["COMPLAINT"] = "COMPLAINT";
932
+ FollowUp2["HUMAN"] = "HUMAN";
933
+ return FollowUp2;
934
+ })(FollowUp || {});
924
935
  var VoiceSourcePolicy = /* @__PURE__ */ ((VoiceSourcePolicy2) => {
925
936
  VoiceSourcePolicy2["PERSONA_VOICE"] = "PERSONA_VOICE";
926
937
  VoiceSourcePolicy2["SYSTEM_VOICE"] = "SYSTEM_VOICE";
@@ -2008,6 +2019,7 @@ var generateConversationOutcome4 = /* @__PURE__ */ (0, import_rest_modules3.crea
2008
2019
  Channel,
2009
2020
  ChatMode,
2010
2021
  ConversationType,
2022
+ FollowUp,
2011
2023
  InteractiveConversationStatus,
2012
2024
  MessageSource,
2013
2025
  MessageStatus,