@inkeep/cxkit-types 0.5.107 → 0.5.109
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 +17 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,14 @@ export declare interface AIChatFormSettings {
|
|
|
49
49
|
successView?: AIChatFormSuccessView;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
export declare interface AIChatFormSubmittedEvent {
|
|
53
|
+
eventName: 'ai_chat_form_submitted';
|
|
54
|
+
properties: {
|
|
55
|
+
conversation?: ConversationResponse;
|
|
56
|
+
values: Record<string, unknown>;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
52
60
|
declare interface AIChatFormSuccessView {
|
|
53
61
|
heading: string;
|
|
54
62
|
message: string;
|
|
@@ -211,7 +219,7 @@ export declare interface ChatClearButtonClickedEvent {
|
|
|
211
219
|
};
|
|
212
220
|
}
|
|
213
221
|
|
|
214
|
-
export declare type ChatEvent = AssistantMessageReceivedEvent | AssistantAnswerDisplayedEvent | UserMessageSubmittedEvent | UserEscalationIndicatedEvent | 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;
|
|
215
223
|
|
|
216
224
|
export declare enum ChatModel {
|
|
217
225
|
/**
|
|
@@ -1552,6 +1560,13 @@ export declare interface ToolCallAction {
|
|
|
1552
1560
|
action: ChatAction;
|
|
1553
1561
|
}
|
|
1554
1562
|
|
|
1563
|
+
export declare interface ToolCallActionClickedEvent {
|
|
1564
|
+
eventName: 'tool_call_action_clicked';
|
|
1565
|
+
properties: {
|
|
1566
|
+
conversation?: ConversationResponse;
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1555
1570
|
export declare interface ToolConfig {
|
|
1556
1571
|
/**
|
|
1557
1572
|
* Function that allows dynamic generation of tools based on the current conversation context.
|
|
@@ -1686,6 +1701,7 @@ export declare interface UserEscalationIndicatedEvent {
|
|
|
1686
1701
|
escalationType: 'downvote' | 'get_help_option' | 'contact_us' | 'support_form' | 'intelligent_support_form';
|
|
1687
1702
|
getHelpOption?: GetHelpOption;
|
|
1688
1703
|
getHelpOptionName?: string;
|
|
1704
|
+
toolCallActionLabel?: string;
|
|
1689
1705
|
conversation?: ConversationResponse;
|
|
1690
1706
|
};
|
|
1691
1707
|
}
|