@wix/auto_sdk_legends_persona-chats 1.0.31 → 1.0.33

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, UploadVisitorChatAttachmentOptions, UploadVisitorChatAttachmentResponse, GetVisitorChatAttachmentIdentifiers, GetVisitorChatAttachmentResponse, 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, CallSettings, CallSupportArticle, CapturedContact, Category, CategoryWithLiterals, Channel, ChannelWithLiterals, ChatConfig, ChatContext, ChatFollowUpSuggestion, ChatFollowUpSuggestions, ChatMessage, ChatMessageAdded, ChatMessageAttachment, ChatMode, ChatModeWithLiterals, Citation, 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, GetCallSupportKnowledgeRequest, GetCallSupportKnowledgeResponse, GetInteractiveConversationRequest, GetPermissionsRequest, GetPersonaChatContextRequest, GetPersonaChatRequest, GetPersonaChatResponse, GetVisitorChatAttachmentRequest, GoalFailureCause, GoalFailureCauseWithLiterals, GoalOutcome, GoalOutcomeResult, GoalOutcomeResultWithLiterals, HeadersEntry, HourOneData, HumeData, IdentificationData, IdentificationDataIdOneOf, InteractiveConversationStatus, InteractiveConversationStatusWithLiterals, Knowledge, KnowledgeChunkMetadata, KnowledgePageCard, KnowledgeRetrievalCompleted, KnowledgeRetrieved, KnowledgeSnippet, KnowledgeSnippetCreationTriggered, KnowledgeSourceOptionsOneOf, Limitation, LimitationType, LimitationTypeWithLiterals, ListPersonaChatsRequest, MessageEnvelope, MessageSource, MessageSourceWithLiterals, MessageStatus, MessageStatusWithLiterals, MessageType, MessageTypeWithLiterals, Metadata, Mode, ModeWithLiterals, Namespace, NamespaceWithLiterals, ParticipantType, ParticipantTypeWithLiterals, PathParametersEntry, PersistConversationMessageRequest, PersistedConversationMessage, PersistedConversationMonitoringData, PersonaDetails, QueryChatMessagesRequest, QueryParametersEntry, QueryPersonaChatsRequest, RawHttpRequest, ResolveCallAttachmentRequest, ResolveCallAttachmentResponse, RestoreInfo, RetrievePersonaKnowledgeInternalRequest, RetrievePersonaKnowledgeInternalResponse, RetrievePersonaKnowledgeRequest, Role, RoleWithLiterals, SendChatMessageRequest, SendChatMessageStreamedRequest, SetChatCallSettingsRequest, SetChatCallSettingsResponse, SetChatFollowUpSuggestionsRequest, SetChatFollowUpSuggestionsResponse, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, Subcategory, SubcategoryWithLiterals, SwitchConfigRequest, SwitchConfigResponse, SystemAvatarOptions, SystemVoiceOptions, TagList, Tags, TriggerKnowledgeSnippetCreationRequest, TriggerKnowledgeSnippetCreationResponse, Type, TypeWithLiterals, UpdateType, UpdateTypeWithLiterals, UploadVisitorChatAttachmentRequest, 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, CallSettings, CallSupportArticle, CapturedContact, Category, CategoryWithLiterals, Channel, ChannelWithLiterals, ChatConfig, ChatContext, ChatFollowUpSuggestion, ChatFollowUpSuggestions, ChatMessage, ChatMessageAdded, ChatMessageAttachment, ChatMode, ChatModeWithLiterals, Citation, 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, GetCallSupportKnowledgeRequest, GetCallSupportKnowledgeResponse, GetInteractiveConversationRequest, GetPermissionsRequest, GetPersonaChatContextRequest, GetPersonaChatRequest, GetPersonaChatResponse, GetVisitorChatAttachmentRequest, GoalFailureCause, GoalFailureCauseWithLiterals, GoalOutcome, GoalOutcomeResult, GoalOutcomeResultWithLiterals, GoalType, GoalTypeWithLiterals, HeadersEntry, HourOneData, HumeData, IdentificationData, IdentificationDataIdOneOf, InteractiveConversationStatus, InteractiveConversationStatusWithLiterals, Knowledge, KnowledgeChunkMetadata, KnowledgePageCard, KnowledgeRetrievalCompleted, KnowledgeRetrieved, KnowledgeSnippet, KnowledgeSnippetCreationTriggered, KnowledgeSourceOptionsOneOf, Limitation, LimitationType, LimitationTypeWithLiterals, ListPersonaChatsRequest, MessageEnvelope, MessageSource, MessageSourceWithLiterals, MessageStatus, MessageStatusWithLiterals, MessageType, MessageTypeWithLiterals, Metadata, Mode, ModeWithLiterals, Namespace, NamespaceWithLiterals, ParticipantType, ParticipantTypeWithLiterals, PathParametersEntry, PersistConversationMessageRequest, PersistedConversationMessage, PersistedConversationMonitoringData, PersonaDetails, QueryChatMessagesRequest, QueryParametersEntry, QueryPersonaChatsRequest, RawHttpRequest, ResolveCallAttachmentRequest, ResolveCallAttachmentResponse, RestoreInfo, RetrievePersonaKnowledgeInternalRequest, RetrievePersonaKnowledgeInternalResponse, RetrievePersonaKnowledgeRequest, Role, RoleWithLiterals, SendChatMessageRequest, SendChatMessageStreamedRequest, SetChatCallSettingsRequest, SetChatCallSettingsResponse, SetChatFollowUpSuggestionsRequest, SetChatFollowUpSuggestionsResponse, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, State, StateWithLiterals, Subcategory, SubcategoryWithLiterals, SwitchConfigRequest, SwitchConfigResponse, SystemAvatarOptions, SystemVoiceOptions, TagList, Tags, TriggerKnowledgeSnippetCreationRequest, TriggerKnowledgeSnippetCreationResponse, Type, TypeWithLiterals, UpdateType, UpdateTypeWithLiterals, UploadVisitorChatAttachmentRequest, 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 {
@@ -194,7 +194,7 @@ interface GenerateConversationOutcomeSignature {
194
194
  * @param - The chat the conversation took place in.
195
195
  * @param - The conversation's first message. Its ID becomes the conversation ID.
196
196
  */
197
- (chatId: string, firstMessageId: string, options?: NonNullablePaths<GenerateConversationOutcomeOptions, `lastMessageId` | `personaOwnerId`, 0>): Promise<NonNullablePaths<GenerateConversationOutcomeResponse, `conversationOutcome.chatId` | `conversationOutcome.personaId` | `conversationOutcome.channel` | `conversationOutcome.unansweredQuestions` | `conversationOutcome.followUp` | `conversationOutcome.goalOutcome.result` | `conversationOutcome.goalOutcome.failureCause` | `deduplicated`, 2>>;
197
+ (chatId: string, firstMessageId: string, options?: NonNullablePaths<GenerateConversationOutcomeOptions, `lastMessageId` | `personaOwnerId`, 0>): Promise<NonNullablePaths<GenerateConversationOutcomeResponse, `conversationOutcome.chatId` | `conversationOutcome.personaId` | `conversationOutcome.channel` | `conversationOutcome.unansweredQuestions` | `conversationOutcome.followUp` | `conversationOutcome.goalOutcome.result` | `conversationOutcome.goalOutcome.failureCause` | `conversationOutcome.goalOutcome.goalType` | `deduplicated`, 2>>;
198
198
  }
199
199
 
200
200
  declare const createPersonaChat: MaybeContext<BuildRESTFunction<typeof createPersonaChat$1> & typeof createPersonaChat$1>;
@@ -28,6 +28,7 @@ __export(index_exports, {
28
28
  FollowUp: () => FollowUp,
29
29
  GoalFailureCause: () => GoalFailureCause,
30
30
  GoalOutcomeResult: () => GoalOutcomeResult,
31
+ GoalType: () => GoalType,
31
32
  InteractiveConversationStatus: () => InteractiveConversationStatus,
32
33
  LimitationType: () => LimitationType,
33
34
  MessageSource: () => MessageSource,
@@ -1010,6 +1011,17 @@ var GoalFailureCause = /* @__PURE__ */ ((GoalFailureCause2) => {
1010
1011
  GoalFailureCause2["OTHER"] = "OTHER";
1011
1012
  return GoalFailureCause2;
1012
1013
  })(GoalFailureCause || {});
1014
+ var GoalType = /* @__PURE__ */ ((GoalType2) => {
1015
+ GoalType2["UNKNOWN_GOAL_TYPE"] = "UNKNOWN_GOAL_TYPE";
1016
+ GoalType2["SELL"] = "SELL";
1017
+ GoalType2["BOOK"] = "BOOK";
1018
+ GoalType2["CONNECT"] = "CONNECT";
1019
+ GoalType2["SUPPORT"] = "SUPPORT";
1020
+ GoalType2["INFORM"] = "INFORM";
1021
+ GoalType2["MULTIPLE"] = "MULTIPLE";
1022
+ GoalType2["UNCLEAR"] = "UNCLEAR";
1023
+ return GoalType2;
1024
+ })(GoalType || {});
1013
1025
  var VoiceSourcePolicy = /* @__PURE__ */ ((VoiceSourcePolicy2) => {
1014
1026
  VoiceSourcePolicy2["PERSONA_VOICE"] = "PERSONA_VOICE";
1015
1027
  VoiceSourcePolicy2["SYSTEM_VOICE"] = "SYSTEM_VOICE";
@@ -2200,6 +2212,7 @@ var generateConversationOutcome4 = /* @__PURE__ */ (0, import_rest_modules3.crea
2200
2212
  FollowUp,
2201
2213
  GoalFailureCause,
2202
2214
  GoalOutcomeResult,
2215
+ GoalType,
2203
2216
  InteractiveConversationStatus,
2204
2217
  LimitationType,
2205
2218
  MessageSource,