@inkeep/cxkit-types 0.5.108 → 0.5.110
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/dist/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -219,7 +219,7 @@ export declare interface ChatClearButtonClickedEvent {
|
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
export declare type ChatEvent = AssistantMessageReceivedEvent | AssistantAnswerDisplayedEvent | UserMessageSubmittedEvent | UserEscalationIndicatedEvent | AIChatFormSubmittedEvent | SharedChatLoadedEvent | AssistantPositiveFeedbackSubmittedEvent | AssistantNegativeFeedbackSubmittedEvent | ChatClearButtonClickedEvent | AssistantMessageCopiedEvent | GetHelpOptionClickedEvent | ChatShareButtonClickedEvent | AssistantSourceItemClickedEvent | AssistantMessageLinkOpenedEvent | AssistantCodeBlockCopiedEvent;
|
|
222
|
+
export declare type ChatEvent = AssistantMessageReceivedEvent | AssistantAnswerDisplayedEvent | UserMessageSubmittedEvent | UserEscalationIndicatedEvent | AIChatFormSubmittedEvent | SharedChatLoadedEvent | AssistantPositiveFeedbackSubmittedEvent | AssistantNegativeFeedbackSubmittedEvent | ChatClearButtonClickedEvent | AssistantMessageCopiedEvent | GetHelpOptionClickedEvent | ToolCallActionClickedEvent | ChatShareButtonClickedEvent | AssistantSourceItemClickedEvent | AssistantMessageLinkOpenedEvent | AssistantCodeBlockCopiedEvent;
|
|
223
223
|
|
|
224
224
|
export declare enum ChatModel {
|
|
225
225
|
/**
|
|
@@ -1560,6 +1560,13 @@ export declare interface ToolCallAction {
|
|
|
1560
1560
|
action: ChatAction;
|
|
1561
1561
|
}
|
|
1562
1562
|
|
|
1563
|
+
export declare interface ToolCallActionClickedEvent {
|
|
1564
|
+
eventName: 'tool_call_action_clicked';
|
|
1565
|
+
properties: {
|
|
1566
|
+
conversation?: ConversationResponse;
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1563
1570
|
export declare interface ToolConfig {
|
|
1564
1571
|
/**
|
|
1565
1572
|
* Function that allows dynamic generation of tools based on the current conversation context.
|
|
@@ -1694,6 +1701,7 @@ export declare interface UserEscalationIndicatedEvent {
|
|
|
1694
1701
|
escalationType: 'downvote' | 'get_help_option' | 'contact_us' | 'support_form' | 'intelligent_support_form';
|
|
1695
1702
|
getHelpOption?: GetHelpOption;
|
|
1696
1703
|
getHelpOptionName?: string;
|
|
1704
|
+
toolCallActionLabel?: string;
|
|
1697
1705
|
conversation?: ConversationResponse;
|
|
1698
1706
|
};
|
|
1699
1707
|
}
|