@inkeep/cxkit-types 0.5.63 → 0.5.64
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 +13 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -780,7 +780,7 @@ export declare type InkeepCustomIcon = {
|
|
|
780
780
|
custom: string;
|
|
781
781
|
};
|
|
782
782
|
|
|
783
|
-
export declare type InkeepEvent = SearchEvent | ChatEvent | IntelligentFormEvent;
|
|
783
|
+
export declare type InkeepEvent = SearchEvent | ChatEvent | IntelligentFormEvent | WidgetEvent;
|
|
784
784
|
|
|
785
785
|
export declare type InkeepEventWithCommon = ExtendPropertiesWithCommon<InkeepEvent>;
|
|
786
786
|
|
|
@@ -1145,6 +1145,16 @@ export declare interface MessageMetadata {
|
|
|
1145
1145
|
context?: string;
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
|
+
export declare interface ModalClosedEvent {
|
|
1149
|
+
eventName: 'modal_closed';
|
|
1150
|
+
properties: {};
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
export declare interface ModalOpenedEvent {
|
|
1154
|
+
eventName: 'modal_opened';
|
|
1155
|
+
properties: {};
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1148
1158
|
export declare type ModalViewTypes = 'chat' | 'search';
|
|
1149
1159
|
|
|
1150
1160
|
export declare type OnToggleView = (opts: {
|
|
@@ -1746,6 +1756,8 @@ declare interface ValueObject {
|
|
|
1746
1756
|
[colorModeName: string]: string;
|
|
1747
1757
|
}
|
|
1748
1758
|
|
|
1759
|
+
export declare type WidgetEvent = ModalOpenedEvent | ModalClosedEvent;
|
|
1760
|
+
|
|
1749
1761
|
export declare interface WidgetView {
|
|
1750
1762
|
/**
|
|
1751
1763
|
* Callback fired when the user toggles between chat and search views.
|