@xpert-ai/chatkit-types 0.12.2 → 0.13.1
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 +11 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -551,6 +551,10 @@ export declare type ChatKitMessagePresentationOptions = {
|
|
|
551
551
|
};
|
|
552
552
|
|
|
553
553
|
export declare type ChatKitOptions = {
|
|
554
|
+
/** Public multi-member conversation. Authenticate through a ChatKit session scoped to this conversation. */
|
|
555
|
+
group?: {
|
|
556
|
+
id: string;
|
|
557
|
+
};
|
|
554
558
|
/**
|
|
555
559
|
* ChatKit iframe URL for web component integrations.
|
|
556
560
|
*/
|
|
@@ -634,6 +638,12 @@ export declare type ChatKitOptions = {
|
|
|
634
638
|
* @default null
|
|
635
639
|
*/
|
|
636
640
|
initialThread?: null | string;
|
|
641
|
+
/**
|
|
642
|
+
* Host navigation identity. Change this to start an isolated UI/credential
|
|
643
|
+
* session in the existing iframe (including navigation within one Assistant).
|
|
644
|
+
* Keep it stable for theme, locale and other presentation updates.
|
|
645
|
+
*/
|
|
646
|
+
sessionKey?: string;
|
|
637
647
|
/** Generic approval placement and host decision callbacks. */
|
|
638
648
|
approvals?: ChatKitApprovalsOptions;
|
|
639
649
|
/**
|
|
@@ -2596,6 +2606,7 @@ export declare const STATE_VARIABLE_HUMAN = "human";
|
|
|
2596
2606
|
*/
|
|
2597
2607
|
export declare type SupportedLocale = TranslatedLocale | 'bg' | 'bn' | 'bs' | 'ca' | 'cs' | 'da' | 'de' | 'el' | 'es' | 'et' | 'fi' | 'fr' | 'gu' | 'hi' | 'hr' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'ja' | 'ka' | 'kn' | 'ko' | 'lv' | 'mk' | 'mr' | 'ms' | 'my' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'so' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'vi' | 'zh' | 'zh-Hans' | 'zh-CN' | 'zh-Hant' | 'en';
|
|
2598
2608
|
|
|
2609
|
+
/** Resolved CSS colors, including OKLCH and color-mix(). Resolve host var() references before crossing an iframe. */
|
|
2599
2610
|
export declare type SurfaceColors = {
|
|
2600
2611
|
background: string;
|
|
2601
2612
|
foreground: string;
|