@xpert-ai/chatkit-types 0.0.6 → 0.0.8

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -231,6 +231,10 @@ export declare interface ChatkitMessage {
231
231
  }
232
232
 
233
233
  export declare type ChatKitOptions = {
234
+ /**
235
+ * ChatKit iframe URL for web component integrations.
236
+ */
237
+ frameUrl?: string;
234
238
  api: CustomApiConfig | HostedApiConfig;
235
239
  /**
236
240
  * Locale override for ChatKit UI. If not provided, the browser's locale
@@ -583,6 +587,12 @@ declare type CustomApiConfig = {
583
587
  * How attachments will be uploaded to your server. Required when attachments are enabled.
584
588
  */
585
589
  uploadStrategy?: FileUploadStrategy;
590
+ /**
591
+ * The base URL for the XpertAI platform hosted API. Used for accessing xpert agents
592
+ * and other platform features.
593
+ */
594
+ apiUrl: string;
595
+ xpertId?: string;
586
596
  };
587
597
 
588
598
  export declare type DatePicker = {
@@ -708,6 +718,12 @@ declare type HostedApiConfig = {
708
718
  * Function to get a client token or refresh if the current token is expired.
709
719
  */
710
720
  getClientSecret: (currentClientSecret: string | null) => Promise<string>;
721
+ /**
722
+ * The base URL for the XpertAI platform hosted API. Used for accessing xpert agents
723
+ * and other platform features.
724
+ */
725
+ apiUrl: string;
726
+ xpertId?: string;
711
727
  };
712
728
 
713
729
  export declare type Icon = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Type definitions for the ChatKit Web Component.",
5
5
  "sideEffects": false,
6
6
  "type": "module",