@wix/auto_sdk_legends_persona-chats 1.0.15 → 1.0.17
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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +15 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +101 -5
- package/build/cjs/index.typings.js +15 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +100 -4
- package/build/cjs/meta.js +15 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +14 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +101 -5
- package/build/es/index.typings.mjs +14 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +100 -4
- package/build/es/meta.mjs +14 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +101 -5
- package/build/internal/cjs/meta.d.ts +100 -4
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +101 -5
- package/build/internal/es/meta.d.mts +100 -4
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -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, ChatFollowUpSuggestion, ChatFollowUpSuggestions, 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, SetChatFollowUpSuggestionsRequest, SetChatFollowUpSuggestionsResponse, 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, 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, HeadersEntry, HourOneData, HumeData, IdentificationData, IdentificationDataIdOneOf, InteractiveConversationStatus, InteractiveConversationStatusWithLiterals, Knowledge, KnowledgeChunkMetadata, KnowledgePageCard, KnowledgeRetrieved, KnowledgeSnippet, KnowledgeSnippetCreationTriggered, KnowledgeSourceOptionsOneOf, Limitation, LimitationType, LimitationTypeWithLiterals, 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, SetChatFollowUpSuggestionsRequest, SetChatFollowUpSuggestionsResponse, 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 {
|
|
@@ -61,7 +61,7 @@ interface PersistConversationMessageSignature {
|
|
|
61
61
|
* Persist a conversation message without running LLM orchestration.
|
|
62
62
|
* @param - Chat ID
|
|
63
63
|
*/
|
|
64
|
-
(chatId: string, options?: NonNullablePaths<PersistConversationMessageOptions, `message`, 0>): Promise<NonNullablePaths<PersistConversationMessageResponse, `message.chatId` | `message.role` | `message.attachments` | `message.attachments.${number}.fileName` | `message.attachments.${number}.mimeType` | `message.conversationType` | `deduplicated`, 3>>;
|
|
64
|
+
(chatId: string, options?: NonNullablePaths<PersistConversationMessageOptions, `message`, 0>): Promise<NonNullablePaths<PersistConversationMessageResponse, `message.chatId` | `message.role` | `message.attachments` | `message.attachments.${number}.fileName` | `message.attachments.${number}.mimeType` | `message.conversationType` | `message.citations` | `message.citations.${number}.number` | `message.citations.${number}.type` | `message.citations.${number}.knowledgeItemId` | `deduplicated`, 3>>;
|
|
65
65
|
}
|
|
66
66
|
declare function listPersonaChats$1(httpClient: HttpClient): ListPersonaChatsSignature;
|
|
67
67
|
interface ListPersonaChatsSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(index_exports, {
|
|
|
27
27
|
ConversationType: () => ConversationType,
|
|
28
28
|
FollowUp: () => FollowUp,
|
|
29
29
|
InteractiveConversationStatus: () => InteractiveConversationStatus,
|
|
30
|
+
LimitationType: () => LimitationType,
|
|
30
31
|
MessageSource: () => MessageSource,
|
|
31
32
|
MessageStatus: () => MessageStatus,
|
|
32
33
|
MessageType: () => MessageType,
|
|
@@ -884,6 +885,13 @@ var ConversationType = /* @__PURE__ */ ((ConversationType2) => {
|
|
|
884
885
|
ConversationType2["VIDEO"] = "VIDEO";
|
|
885
886
|
return ConversationType2;
|
|
886
887
|
})(ConversationType || {});
|
|
888
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
889
|
+
Type2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
890
|
+
Type2["SNIPPET"] = "SNIPPET";
|
|
891
|
+
Type2["FILE"] = "FILE";
|
|
892
|
+
Type2["LINK"] = "LINK";
|
|
893
|
+
return Type2;
|
|
894
|
+
})(Type || {});
|
|
887
895
|
var ChatMode = /* @__PURE__ */ ((ChatMode2) => {
|
|
888
896
|
ChatMode2["PREVIEW"] = "PREVIEW";
|
|
889
897
|
ChatMode2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -961,12 +969,12 @@ var MessageSource = /* @__PURE__ */ ((MessageSource2) => {
|
|
|
961
969
|
MessageSource2["SIMPLE_AVATAR_AGENT"] = "SIMPLE_AVATAR_AGENT";
|
|
962
970
|
return MessageSource2;
|
|
963
971
|
})(MessageSource || {});
|
|
964
|
-
var
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
return
|
|
969
|
-
})(
|
|
972
|
+
var LimitationType = /* @__PURE__ */ ((LimitationType2) => {
|
|
973
|
+
LimitationType2["MINUTES"] = "MINUTES";
|
|
974
|
+
LimitationType2["SECONDS"] = "SECONDS";
|
|
975
|
+
LimitationType2["TOKENS"] = "TOKENS";
|
|
976
|
+
return LimitationType2;
|
|
977
|
+
})(LimitationType || {});
|
|
970
978
|
var VoiceVendor = /* @__PURE__ */ ((VoiceVendor2) => {
|
|
971
979
|
VoiceVendor2["ELEVEN_LABS"] = "ELEVEN_LABS";
|
|
972
980
|
VoiceVendor2["HOUR_ONE"] = "HOUR_ONE";
|
|
@@ -2026,6 +2034,7 @@ var generateConversationOutcome4 = /* @__PURE__ */ (0, import_rest_modules3.crea
|
|
|
2026
2034
|
ConversationType,
|
|
2027
2035
|
FollowUp,
|
|
2028
2036
|
InteractiveConversationStatus,
|
|
2037
|
+
LimitationType,
|
|
2029
2038
|
MessageSource,
|
|
2030
2039
|
MessageStatus,
|
|
2031
2040
|
MessageType,
|