ttc-ai-chat-sdk 1.7.8-dev → 1.8.0-dev

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -111,7 +111,7 @@ export interface ModelInfo {
111
111
  export interface OriginInfo {
112
112
  name: string;
113
113
  description: string;
114
- requireAuth: boolean;
114
+ modulesRequiringAuth: string[];
115
115
  directory: string;
116
116
  }
117
117
  export interface ConversationStats {
@@ -219,7 +219,7 @@ export interface Assistant {
219
219
  setOrigins(origins: {
220
220
  name: string;
221
221
  url?: string;
222
- apikey: string;
222
+ apikeys: Record<string, string> | string;
223
223
  }[]): Promise<void>;
224
224
  /**
225
225
  * This function allows you to fetch information about a specific origin by its URL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ttc-ai-chat-sdk",
3
- "version": "1.7.8-dev",
3
+ "version": "1.8.0-dev",
4
4
  "description": "TypeScript client sdk for TTC AI services with decorators and schema validation.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",