@xpert-ai/chatkit-types 0.16.1 → 0.17.0

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 +9 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -88,6 +88,15 @@ export declare type AssistantCustomizeEffect = {
88
88
  assistantId: string;
89
89
  };
90
90
 
91
+ /** HTTP 400 model selection contract shared with Xpert's TAssistantModelSelectionError. */
92
+ export declare type AssistantModelSelectionError = {
93
+ statusCode: 400;
94
+ error: 'Bad Request';
95
+ code: 'ASSISTANT_MODEL_NOT_ALLOWED' | 'ASSISTANT_MODEL_UNAVAILABLE';
96
+ modelId: string;
97
+ message: string;
98
+ };
99
+
91
100
  /**
92
101
  * strategies to host files before attaching them to messages.
93
102
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",