cogito-client 1.0.48 → 1.0.49

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 +22 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -76,6 +76,8 @@ export declare type CogitoBuiltInSurface = CogitoApprovalCardSurface | CogitoDat
76
76
  export declare interface CogitoCallCompletedWebhook {
77
77
  type?: "call-completed";
78
78
  conversationId: string;
79
+ from?: string;
80
+ to?: string;
79
81
  startTime?: string;
80
82
  endTime?: string;
81
83
  }
@@ -164,7 +166,25 @@ export declare interface CogitoCodeSurface {
164
166
  }
165
167
 
166
168
  export declare interface CogitoConfig {
167
- agents?: CogitoAgent[];
169
+ stt?: {
170
+ model?: string;
171
+ language?: string;
172
+ [k: string]: unknown;
173
+ };
174
+ tts?: {
175
+ model?: string;
176
+ voice?: string;
177
+ language?: string;
178
+ [k: string]: unknown;
179
+ };
180
+ llm?: {
181
+ model?: string;
182
+ extra_kwargs?: {
183
+ [k: string]: unknown;
184
+ };
185
+ [k: string]: unknown;
186
+ };
187
+ agents: CogitoAgent[];
168
188
  webhooks?: {
169
189
  events: ("message" | "call-completed")[];
170
190
  uri: string;
@@ -175,6 +195,7 @@ export declare interface CogitoConfig {
175
195
 
176
196
  export declare interface CogitoConversation {
177
197
  id: string;
198
+ mode?: string;
178
199
  configuration: CogitoConfig;
179
200
  from?: string;
180
201
  to?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogito-client",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"