retell-sdk 4.59.0 → 4.60.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.
- package/CHANGELOG.md +11 -0
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/chat-agent.d.ts +670 -0
- package/resources/chat-agent.d.ts.map +1 -0
- package/resources/chat-agent.js +66 -0
- package/resources/chat-agent.js.map +1 -0
- package/resources/chat-agent.mjs +62 -0
- package/resources/chat-agent.mjs.map +1 -0
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/src/index.ts +23 -0
- package/src/resources/chat-agent.ts +1064 -0
- package/src/resources/index.ts +10 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
export declare class ChatAgent extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new chat agent
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const chatAgentResponse = await client.chatAgent.create({
|
|
10
|
+
* response_engine: {
|
|
11
|
+
* llm_id: 'llm_234sdertfsdsfsdf',
|
|
12
|
+
* type: 'retell-llm',
|
|
13
|
+
* },
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(body: ChatAgentCreateParams, options?: Core.RequestOptions): Core.APIPromise<ChatAgentResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve details of a specific chat agent
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const chatAgentResponse = await client.chatAgent.retrieve(
|
|
24
|
+
* '16b980523634a6dc504898cda492e939',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(agentId: string, query?: ChatAgentRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<ChatAgentResponse>;
|
|
29
|
+
retrieve(agentId: string, options?: Core.RequestOptions): Core.APIPromise<ChatAgentResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Update an existing chat agent
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const chatAgentResponse = await client.chatAgent.update(
|
|
36
|
+
* '16b980523634a6dc504898cda492e939',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
update(agentId: string, params: ChatAgentUpdateParams, options?: Core.RequestOptions): Core.APIPromise<ChatAgentResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* List all chat agents
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const chatAgentResponses = await client.chatAgent.list();
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
list(query?: ChatAgentListParams, options?: Core.RequestOptions): Core.APIPromise<ChatAgentListResponse>;
|
|
50
|
+
list(options?: Core.RequestOptions): Core.APIPromise<ChatAgentListResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Get all versions of a chat agent
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const chatAgentResponses =
|
|
57
|
+
* await client.chatAgent.getVersions(
|
|
58
|
+
* '16b980523634a6dc504898cda492e939',
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
getVersions(agentId: string, options?: Core.RequestOptions): Core.APIPromise<ChatAgentGetVersionsResponse>;
|
|
63
|
+
}
|
|
64
|
+
export interface ChatAgentResponse {
|
|
65
|
+
/**
|
|
66
|
+
* Unique id of chat agent.
|
|
67
|
+
*/
|
|
68
|
+
agent_id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Last modification timestamp (milliseconds since epoch). Either the time of last
|
|
71
|
+
* update or creation if no updates available.
|
|
72
|
+
*/
|
|
73
|
+
last_modification_timestamp: number;
|
|
74
|
+
/**
|
|
75
|
+
* The Response Engine to attach to the agent. It is used to generate responses for
|
|
76
|
+
* the agent. You need to create a Response Engine first before attaching it to an
|
|
77
|
+
* agent.
|
|
78
|
+
*/
|
|
79
|
+
response_engine: ChatAgentResponse.ResponseEngineRetellLm | ChatAgentResponse.ResponseEngineCustomLm | ChatAgentResponse.ResponseEngineConversationFlow;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the chat agent. Only used for your own reference.
|
|
82
|
+
*/
|
|
83
|
+
agent_name?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Message to display when the chat is automatically closed.
|
|
86
|
+
*/
|
|
87
|
+
auto_close_message?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Controls what data is stored for this agent. "everything" stores all data
|
|
90
|
+
* including transcripts and recordings. "everything_except_pii" stores data but
|
|
91
|
+
* excludes PII when possible based on PII configuration. "basic_attributes_only"
|
|
92
|
+
* stores only basic metadata. If not set, defaults to "everything".
|
|
93
|
+
*/
|
|
94
|
+
data_storage_setting?: 'everything' | 'everything_except_pii' | 'basic_attributes_only' | null;
|
|
95
|
+
/**
|
|
96
|
+
* If users stay silent for a period after agent speech, end the chat. The minimum
|
|
97
|
+
* value allowed is 360,000 ms (0.1 hours). The maximum value allowed is
|
|
98
|
+
* 259,200,000 ms (72 hours). By default, this is set to 3,600,000 (1 hour).
|
|
99
|
+
*/
|
|
100
|
+
end_chat_after_silence_ms?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the chat agent is published.
|
|
103
|
+
*/
|
|
104
|
+
is_published?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Specifies what language (and dialect) the chat will operate in. For instance,
|
|
107
|
+
* selecting `en-GB` optimizes for British English. If unset, will use default
|
|
108
|
+
* value `en-US`. Select `multi` for multilingual support, currently this supports
|
|
109
|
+
* Spanish and English.
|
|
110
|
+
*/
|
|
111
|
+
language?: 'en-US' | 'en-IN' | 'en-GB' | 'en-AU' | 'en-NZ' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'fr-FR' | 'fr-CA' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'zh-CN' | 'ru-RU' | 'it-IT' | 'ko-KR' | 'nl-NL' | 'nl-BE' | 'pl-PL' | 'tr-TR' | 'th-TH' | 'vi-VN' | 'ro-RO' | 'bg-BG' | 'ca-ES' | 'da-DK' | 'fi-FI' | 'el-GR' | 'hu-HU' | 'id-ID' | 'no-NO' | 'sk-SK' | 'sv-SE' | 'multi';
|
|
112
|
+
/**
|
|
113
|
+
* Whether this agent opts in to signed url for public log. If not set, default
|
|
114
|
+
* value of false will apply.
|
|
115
|
+
*/
|
|
116
|
+
opt_in_signed_url?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Configuration for PII scrubbing from transcripts and recordings.
|
|
119
|
+
*/
|
|
120
|
+
pii_config?: ChatAgentResponse.PiiConfig;
|
|
121
|
+
/**
|
|
122
|
+
* Post chat analysis data to extract from the chat. This data will augment the
|
|
123
|
+
* pre-defined variables extracted in the chat analysis. This will be available
|
|
124
|
+
* after the chat ends.
|
|
125
|
+
*/
|
|
126
|
+
post_chat_analysis_data?: Array<ChatAgentResponse.StringAnalysisData | ChatAgentResponse.EnumAnalysisData | ChatAgentResponse.BooleanAnalysisData | ChatAgentResponse.NumberAnalysisData> | null;
|
|
127
|
+
/**
|
|
128
|
+
* The model to use for post chat analysis. Default to gpt-4.1-mini.
|
|
129
|
+
*/
|
|
130
|
+
post_chat_analysis_model?: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.0-sonnet' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
|
|
131
|
+
/**
|
|
132
|
+
* The version of the chat agent.
|
|
133
|
+
*/
|
|
134
|
+
version?: number;
|
|
135
|
+
/**
|
|
136
|
+
* The timeout for the webhook in milliseconds. If not set, default value of 10000
|
|
137
|
+
* will apply.
|
|
138
|
+
*/
|
|
139
|
+
webhook_timeout_ms?: number;
|
|
140
|
+
/**
|
|
141
|
+
* The webhook for agent to listen to chat events. See what events it would get at
|
|
142
|
+
* [webhook doc](/features/webhook). If set, will binds webhook events for this
|
|
143
|
+
* agent to the specified url, and will ignore the account level webhook for this
|
|
144
|
+
* agent. Set to `null` to remove webhook url from this agent.
|
|
145
|
+
*/
|
|
146
|
+
webhook_url?: string | null;
|
|
147
|
+
}
|
|
148
|
+
export declare namespace ChatAgentResponse {
|
|
149
|
+
interface ResponseEngineRetellLm {
|
|
150
|
+
/**
|
|
151
|
+
* id of the Retell LLM Response Engine.
|
|
152
|
+
*/
|
|
153
|
+
llm_id: string;
|
|
154
|
+
/**
|
|
155
|
+
* type of the Response Engine.
|
|
156
|
+
*/
|
|
157
|
+
type: 'retell-llm';
|
|
158
|
+
/**
|
|
159
|
+
* Version of the Retell LLM Response Engine.
|
|
160
|
+
*/
|
|
161
|
+
version?: number | null;
|
|
162
|
+
}
|
|
163
|
+
interface ResponseEngineCustomLm {
|
|
164
|
+
/**
|
|
165
|
+
* LLM websocket url of the custom LLM.
|
|
166
|
+
*/
|
|
167
|
+
llm_websocket_url: string;
|
|
168
|
+
/**
|
|
169
|
+
* type of the Response Engine.
|
|
170
|
+
*/
|
|
171
|
+
type: 'custom-llm';
|
|
172
|
+
}
|
|
173
|
+
interface ResponseEngineConversationFlow {
|
|
174
|
+
/**
|
|
175
|
+
* ID of the Conversation Flow Response Engine.
|
|
176
|
+
*/
|
|
177
|
+
conversation_flow_id: string;
|
|
178
|
+
/**
|
|
179
|
+
* type of the Response Engine.
|
|
180
|
+
*/
|
|
181
|
+
type: 'conversation-flow';
|
|
182
|
+
/**
|
|
183
|
+
* Version of the Conversation Flow Response Engine.
|
|
184
|
+
*/
|
|
185
|
+
version?: number | null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Configuration for PII scrubbing from transcripts and recordings.
|
|
189
|
+
*/
|
|
190
|
+
interface PiiConfig {
|
|
191
|
+
/**
|
|
192
|
+
* List of PII categories to scrub from transcripts and recordings.
|
|
193
|
+
*/
|
|
194
|
+
categories: Array<'person_name' | 'address' | 'email' | 'phone_number' | 'ssn' | 'passport' | 'driver_license' | 'credit_card' | 'bank_account' | 'password' | 'pin' | 'medical_id' | 'date_of_birth'>;
|
|
195
|
+
/**
|
|
196
|
+
* The processing mode for PII scrubbing. Currently only post-call is supported.
|
|
197
|
+
*/
|
|
198
|
+
mode: 'post_call';
|
|
199
|
+
}
|
|
200
|
+
interface StringAnalysisData {
|
|
201
|
+
/**
|
|
202
|
+
* Description of the variable.
|
|
203
|
+
*/
|
|
204
|
+
description: string;
|
|
205
|
+
/**
|
|
206
|
+
* Name of the variable.
|
|
207
|
+
*/
|
|
208
|
+
name: string;
|
|
209
|
+
/**
|
|
210
|
+
* Type of the variable to extract.
|
|
211
|
+
*/
|
|
212
|
+
type: 'string';
|
|
213
|
+
/**
|
|
214
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
215
|
+
*/
|
|
216
|
+
examples?: Array<string>;
|
|
217
|
+
}
|
|
218
|
+
interface EnumAnalysisData {
|
|
219
|
+
/**
|
|
220
|
+
* The possible values of the variable, must be non empty array.
|
|
221
|
+
*/
|
|
222
|
+
choices: Array<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Description of the variable.
|
|
225
|
+
*/
|
|
226
|
+
description: string;
|
|
227
|
+
/**
|
|
228
|
+
* Name of the variable.
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* Type of the variable to extract.
|
|
233
|
+
*/
|
|
234
|
+
type: 'enum';
|
|
235
|
+
}
|
|
236
|
+
interface BooleanAnalysisData {
|
|
237
|
+
/**
|
|
238
|
+
* Description of the variable.
|
|
239
|
+
*/
|
|
240
|
+
description: string;
|
|
241
|
+
/**
|
|
242
|
+
* Name of the variable.
|
|
243
|
+
*/
|
|
244
|
+
name: string;
|
|
245
|
+
/**
|
|
246
|
+
* Type of the variable to extract.
|
|
247
|
+
*/
|
|
248
|
+
type: 'boolean';
|
|
249
|
+
}
|
|
250
|
+
interface NumberAnalysisData {
|
|
251
|
+
/**
|
|
252
|
+
* Description of the variable.
|
|
253
|
+
*/
|
|
254
|
+
description: string;
|
|
255
|
+
/**
|
|
256
|
+
* Name of the variable.
|
|
257
|
+
*/
|
|
258
|
+
name: string;
|
|
259
|
+
/**
|
|
260
|
+
* Type of the variable to extract.
|
|
261
|
+
*/
|
|
262
|
+
type: 'number';
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
export type ChatAgentListResponse = Array<ChatAgentResponse>;
|
|
266
|
+
export type ChatAgentGetVersionsResponse = Array<ChatAgentResponse>;
|
|
267
|
+
export interface ChatAgentCreateParams {
|
|
268
|
+
/**
|
|
269
|
+
* The Response Engine to attach to the agent. It is used to generate responses for
|
|
270
|
+
* the agent. You need to create a Response Engine first before attaching it to an
|
|
271
|
+
* agent.
|
|
272
|
+
*/
|
|
273
|
+
response_engine: ChatAgentCreateParams.ResponseEngineRetellLm | ChatAgentCreateParams.ResponseEngineCustomLm | ChatAgentCreateParams.ResponseEngineConversationFlow;
|
|
274
|
+
/**
|
|
275
|
+
* The name of the chat agent. Only used for your own reference.
|
|
276
|
+
*/
|
|
277
|
+
agent_name?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Message to display when the chat is automatically closed.
|
|
280
|
+
*/
|
|
281
|
+
auto_close_message?: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* Controls what data is stored for this agent. "everything" stores all data
|
|
284
|
+
* including transcripts and recordings. "everything_except_pii" stores data but
|
|
285
|
+
* excludes PII when possible based on PII configuration. "basic_attributes_only"
|
|
286
|
+
* stores only basic metadata. If not set, defaults to "everything".
|
|
287
|
+
*/
|
|
288
|
+
data_storage_setting?: 'everything' | 'everything_except_pii' | 'basic_attributes_only' | null;
|
|
289
|
+
/**
|
|
290
|
+
* If users stay silent for a period after agent speech, end the chat. The minimum
|
|
291
|
+
* value allowed is 360,000 ms (0.1 hours). The maximum value allowed is
|
|
292
|
+
* 259,200,000 ms (72 hours). By default, this is set to 3,600,000 (1 hour).
|
|
293
|
+
*/
|
|
294
|
+
end_chat_after_silence_ms?: number;
|
|
295
|
+
/**
|
|
296
|
+
* Specifies what language (and dialect) the chat will operate in. For instance,
|
|
297
|
+
* selecting `en-GB` optimizes for British English. If unset, will use default
|
|
298
|
+
* value `en-US`. Select `multi` for multilingual support, currently this supports
|
|
299
|
+
* Spanish and English.
|
|
300
|
+
*/
|
|
301
|
+
language?: 'en-US' | 'en-IN' | 'en-GB' | 'en-AU' | 'en-NZ' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'fr-FR' | 'fr-CA' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'zh-CN' | 'ru-RU' | 'it-IT' | 'ko-KR' | 'nl-NL' | 'nl-BE' | 'pl-PL' | 'tr-TR' | 'th-TH' | 'vi-VN' | 'ro-RO' | 'bg-BG' | 'ca-ES' | 'da-DK' | 'fi-FI' | 'el-GR' | 'hu-HU' | 'id-ID' | 'no-NO' | 'sk-SK' | 'sv-SE' | 'multi';
|
|
302
|
+
/**
|
|
303
|
+
* Whether this agent opts in to signed url for public log. If not set, default
|
|
304
|
+
* value of false will apply.
|
|
305
|
+
*/
|
|
306
|
+
opt_in_signed_url?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Configuration for PII scrubbing from transcripts and recordings.
|
|
309
|
+
*/
|
|
310
|
+
pii_config?: ChatAgentCreateParams.PiiConfig;
|
|
311
|
+
/**
|
|
312
|
+
* Post chat analysis data to extract from the chat. This data will augment the
|
|
313
|
+
* pre-defined variables extracted in the chat analysis. This will be available
|
|
314
|
+
* after the chat ends.
|
|
315
|
+
*/
|
|
316
|
+
post_chat_analysis_data?: Array<ChatAgentCreateParams.StringAnalysisData | ChatAgentCreateParams.EnumAnalysisData | ChatAgentCreateParams.BooleanAnalysisData | ChatAgentCreateParams.NumberAnalysisData> | null;
|
|
317
|
+
/**
|
|
318
|
+
* The model to use for post chat analysis. Default to gpt-4.1-mini.
|
|
319
|
+
*/
|
|
320
|
+
post_chat_analysis_model?: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.0-sonnet' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
|
|
321
|
+
/**
|
|
322
|
+
* The timeout for the webhook in milliseconds. If not set, default value of 10000
|
|
323
|
+
* will apply.
|
|
324
|
+
*/
|
|
325
|
+
webhook_timeout_ms?: number;
|
|
326
|
+
/**
|
|
327
|
+
* The webhook for agent to listen to chat events. See what events it would get at
|
|
328
|
+
* [webhook doc](/features/webhook). If set, will binds webhook events for this
|
|
329
|
+
* agent to the specified url, and will ignore the account level webhook for this
|
|
330
|
+
* agent. Set to `null` to remove webhook url from this agent.
|
|
331
|
+
*/
|
|
332
|
+
webhook_url?: string | null;
|
|
333
|
+
}
|
|
334
|
+
export declare namespace ChatAgentCreateParams {
|
|
335
|
+
interface ResponseEngineRetellLm {
|
|
336
|
+
/**
|
|
337
|
+
* id of the Retell LLM Response Engine.
|
|
338
|
+
*/
|
|
339
|
+
llm_id: string;
|
|
340
|
+
/**
|
|
341
|
+
* type of the Response Engine.
|
|
342
|
+
*/
|
|
343
|
+
type: 'retell-llm';
|
|
344
|
+
/**
|
|
345
|
+
* Version of the Retell LLM Response Engine.
|
|
346
|
+
*/
|
|
347
|
+
version?: number | null;
|
|
348
|
+
}
|
|
349
|
+
interface ResponseEngineCustomLm {
|
|
350
|
+
/**
|
|
351
|
+
* LLM websocket url of the custom LLM.
|
|
352
|
+
*/
|
|
353
|
+
llm_websocket_url: string;
|
|
354
|
+
/**
|
|
355
|
+
* type of the Response Engine.
|
|
356
|
+
*/
|
|
357
|
+
type: 'custom-llm';
|
|
358
|
+
}
|
|
359
|
+
interface ResponseEngineConversationFlow {
|
|
360
|
+
/**
|
|
361
|
+
* ID of the Conversation Flow Response Engine.
|
|
362
|
+
*/
|
|
363
|
+
conversation_flow_id: string;
|
|
364
|
+
/**
|
|
365
|
+
* type of the Response Engine.
|
|
366
|
+
*/
|
|
367
|
+
type: 'conversation-flow';
|
|
368
|
+
/**
|
|
369
|
+
* Version of the Conversation Flow Response Engine.
|
|
370
|
+
*/
|
|
371
|
+
version?: number | null;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Configuration for PII scrubbing from transcripts and recordings.
|
|
375
|
+
*/
|
|
376
|
+
interface PiiConfig {
|
|
377
|
+
/**
|
|
378
|
+
* List of PII categories to scrub from transcripts and recordings.
|
|
379
|
+
*/
|
|
380
|
+
categories: Array<'person_name' | 'address' | 'email' | 'phone_number' | 'ssn' | 'passport' | 'driver_license' | 'credit_card' | 'bank_account' | 'password' | 'pin' | 'medical_id' | 'date_of_birth'>;
|
|
381
|
+
/**
|
|
382
|
+
* The processing mode for PII scrubbing. Currently only post-call is supported.
|
|
383
|
+
*/
|
|
384
|
+
mode: 'post_call';
|
|
385
|
+
}
|
|
386
|
+
interface StringAnalysisData {
|
|
387
|
+
/**
|
|
388
|
+
* Description of the variable.
|
|
389
|
+
*/
|
|
390
|
+
description: string;
|
|
391
|
+
/**
|
|
392
|
+
* Name of the variable.
|
|
393
|
+
*/
|
|
394
|
+
name: string;
|
|
395
|
+
/**
|
|
396
|
+
* Type of the variable to extract.
|
|
397
|
+
*/
|
|
398
|
+
type: 'string';
|
|
399
|
+
/**
|
|
400
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
401
|
+
*/
|
|
402
|
+
examples?: Array<string>;
|
|
403
|
+
}
|
|
404
|
+
interface EnumAnalysisData {
|
|
405
|
+
/**
|
|
406
|
+
* The possible values of the variable, must be non empty array.
|
|
407
|
+
*/
|
|
408
|
+
choices: Array<string>;
|
|
409
|
+
/**
|
|
410
|
+
* Description of the variable.
|
|
411
|
+
*/
|
|
412
|
+
description: string;
|
|
413
|
+
/**
|
|
414
|
+
* Name of the variable.
|
|
415
|
+
*/
|
|
416
|
+
name: string;
|
|
417
|
+
/**
|
|
418
|
+
* Type of the variable to extract.
|
|
419
|
+
*/
|
|
420
|
+
type: 'enum';
|
|
421
|
+
}
|
|
422
|
+
interface BooleanAnalysisData {
|
|
423
|
+
/**
|
|
424
|
+
* Description of the variable.
|
|
425
|
+
*/
|
|
426
|
+
description: string;
|
|
427
|
+
/**
|
|
428
|
+
* Name of the variable.
|
|
429
|
+
*/
|
|
430
|
+
name: string;
|
|
431
|
+
/**
|
|
432
|
+
* Type of the variable to extract.
|
|
433
|
+
*/
|
|
434
|
+
type: 'boolean';
|
|
435
|
+
}
|
|
436
|
+
interface NumberAnalysisData {
|
|
437
|
+
/**
|
|
438
|
+
* Description of the variable.
|
|
439
|
+
*/
|
|
440
|
+
description: string;
|
|
441
|
+
/**
|
|
442
|
+
* Name of the variable.
|
|
443
|
+
*/
|
|
444
|
+
name: string;
|
|
445
|
+
/**
|
|
446
|
+
* Type of the variable to extract.
|
|
447
|
+
*/
|
|
448
|
+
type: 'number';
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
export interface ChatAgentRetrieveParams {
|
|
452
|
+
/**
|
|
453
|
+
* Optional version of the API to use for this request. If not provided, will
|
|
454
|
+
* default to latest version.
|
|
455
|
+
*/
|
|
456
|
+
version?: number;
|
|
457
|
+
}
|
|
458
|
+
export interface ChatAgentUpdateParams {
|
|
459
|
+
/**
|
|
460
|
+
* Query param: Optional version of the API to use for this request. Default to
|
|
461
|
+
* latest version.
|
|
462
|
+
*/
|
|
463
|
+
version?: number;
|
|
464
|
+
/**
|
|
465
|
+
* Body param: The name of the chat agent. Only used for your own reference.
|
|
466
|
+
*/
|
|
467
|
+
agent_name?: string | null;
|
|
468
|
+
/**
|
|
469
|
+
* Body param: Message to display when the chat is automatically closed.
|
|
470
|
+
*/
|
|
471
|
+
auto_close_message?: string | null;
|
|
472
|
+
/**
|
|
473
|
+
* Body param: Controls what data is stored for this agent. "everything" stores all
|
|
474
|
+
* data including transcripts and recordings. "everything_except_pii" stores data
|
|
475
|
+
* but excludes PII when possible based on PII configuration.
|
|
476
|
+
* "basic_attributes_only" stores only basic metadata. If not set, defaults to
|
|
477
|
+
* "everything".
|
|
478
|
+
*/
|
|
479
|
+
data_storage_setting?: 'everything' | 'everything_except_pii' | 'basic_attributes_only' | null;
|
|
480
|
+
/**
|
|
481
|
+
* Body param: If users stay silent for a period after agent speech, end the chat.
|
|
482
|
+
* The minimum value allowed is 360,000 ms (0.1 hours). The maximum value allowed
|
|
483
|
+
* is 259,200,000 ms (72 hours). By default, this is set to 3,600,000 (1 hour).
|
|
484
|
+
*/
|
|
485
|
+
end_chat_after_silence_ms?: number;
|
|
486
|
+
/**
|
|
487
|
+
* Body param: Specifies what language (and dialect) the chat will operate in. For
|
|
488
|
+
* instance, selecting `en-GB` optimizes for British English. If unset, will use
|
|
489
|
+
* default value `en-US`. Select `multi` for multilingual support, currently this
|
|
490
|
+
* supports Spanish and English.
|
|
491
|
+
*/
|
|
492
|
+
language?: 'en-US' | 'en-IN' | 'en-GB' | 'en-AU' | 'en-NZ' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'fr-FR' | 'fr-CA' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'zh-CN' | 'ru-RU' | 'it-IT' | 'ko-KR' | 'nl-NL' | 'nl-BE' | 'pl-PL' | 'tr-TR' | 'th-TH' | 'vi-VN' | 'ro-RO' | 'bg-BG' | 'ca-ES' | 'da-DK' | 'fi-FI' | 'el-GR' | 'hu-HU' | 'id-ID' | 'no-NO' | 'sk-SK' | 'sv-SE' | 'multi';
|
|
493
|
+
/**
|
|
494
|
+
* Body param: Whether this agent opts in to signed url for public log. If not set,
|
|
495
|
+
* default value of false will apply.
|
|
496
|
+
*/
|
|
497
|
+
opt_in_signed_url?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* Body param: Configuration for PII scrubbing from transcripts and recordings.
|
|
500
|
+
*/
|
|
501
|
+
pii_config?: ChatAgentUpdateParams.PiiConfig;
|
|
502
|
+
/**
|
|
503
|
+
* Body param: Post chat analysis data to extract from the chat. This data will
|
|
504
|
+
* augment the pre-defined variables extracted in the chat analysis. This will be
|
|
505
|
+
* available after the chat ends.
|
|
506
|
+
*/
|
|
507
|
+
post_chat_analysis_data?: Array<ChatAgentUpdateParams.StringAnalysisData | ChatAgentUpdateParams.EnumAnalysisData | ChatAgentUpdateParams.BooleanAnalysisData | ChatAgentUpdateParams.NumberAnalysisData> | null;
|
|
508
|
+
/**
|
|
509
|
+
* Body param: The model to use for post chat analysis. Default to gpt-4.1-mini.
|
|
510
|
+
*/
|
|
511
|
+
post_chat_analysis_model?: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5.1' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.0-sonnet' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
|
|
512
|
+
/**
|
|
513
|
+
* Body param: The Response Engine to attach to the agent. It is used to generate
|
|
514
|
+
* responses for the agent. You need to create a Response Engine first before
|
|
515
|
+
* attaching it to an agent.
|
|
516
|
+
*/
|
|
517
|
+
response_engine?: ChatAgentUpdateParams.ResponseEngineRetellLm | ChatAgentUpdateParams.ResponseEngineCustomLm | ChatAgentUpdateParams.ResponseEngineConversationFlow;
|
|
518
|
+
/**
|
|
519
|
+
* Body param: The timeout for the webhook in milliseconds. If not set, default
|
|
520
|
+
* value of 10000 will apply.
|
|
521
|
+
*/
|
|
522
|
+
webhook_timeout_ms?: number;
|
|
523
|
+
/**
|
|
524
|
+
* Body param: The webhook for agent to listen to chat events. See what events it
|
|
525
|
+
* would get at [webhook doc](/features/webhook). If set, will binds webhook events
|
|
526
|
+
* for this agent to the specified url, and will ignore the account level webhook
|
|
527
|
+
* for this agent. Set to `null` to remove webhook url from this agent.
|
|
528
|
+
*/
|
|
529
|
+
webhook_url?: string | null;
|
|
530
|
+
}
|
|
531
|
+
export declare namespace ChatAgentUpdateParams {
|
|
532
|
+
/**
|
|
533
|
+
* Configuration for PII scrubbing from transcripts and recordings.
|
|
534
|
+
*/
|
|
535
|
+
interface PiiConfig {
|
|
536
|
+
/**
|
|
537
|
+
* List of PII categories to scrub from transcripts and recordings.
|
|
538
|
+
*/
|
|
539
|
+
categories: Array<'person_name' | 'address' | 'email' | 'phone_number' | 'ssn' | 'passport' | 'driver_license' | 'credit_card' | 'bank_account' | 'password' | 'pin' | 'medical_id' | 'date_of_birth'>;
|
|
540
|
+
/**
|
|
541
|
+
* The processing mode for PII scrubbing. Currently only post-call is supported.
|
|
542
|
+
*/
|
|
543
|
+
mode: 'post_call';
|
|
544
|
+
}
|
|
545
|
+
interface StringAnalysisData {
|
|
546
|
+
/**
|
|
547
|
+
* Description of the variable.
|
|
548
|
+
*/
|
|
549
|
+
description: string;
|
|
550
|
+
/**
|
|
551
|
+
* Name of the variable.
|
|
552
|
+
*/
|
|
553
|
+
name: string;
|
|
554
|
+
/**
|
|
555
|
+
* Type of the variable to extract.
|
|
556
|
+
*/
|
|
557
|
+
type: 'string';
|
|
558
|
+
/**
|
|
559
|
+
* Examples of the variable value to teach model the style and syntax.
|
|
560
|
+
*/
|
|
561
|
+
examples?: Array<string>;
|
|
562
|
+
}
|
|
563
|
+
interface EnumAnalysisData {
|
|
564
|
+
/**
|
|
565
|
+
* The possible values of the variable, must be non empty array.
|
|
566
|
+
*/
|
|
567
|
+
choices: Array<string>;
|
|
568
|
+
/**
|
|
569
|
+
* Description of the variable.
|
|
570
|
+
*/
|
|
571
|
+
description: string;
|
|
572
|
+
/**
|
|
573
|
+
* Name of the variable.
|
|
574
|
+
*/
|
|
575
|
+
name: string;
|
|
576
|
+
/**
|
|
577
|
+
* Type of the variable to extract.
|
|
578
|
+
*/
|
|
579
|
+
type: 'enum';
|
|
580
|
+
}
|
|
581
|
+
interface BooleanAnalysisData {
|
|
582
|
+
/**
|
|
583
|
+
* Description of the variable.
|
|
584
|
+
*/
|
|
585
|
+
description: string;
|
|
586
|
+
/**
|
|
587
|
+
* Name of the variable.
|
|
588
|
+
*/
|
|
589
|
+
name: string;
|
|
590
|
+
/**
|
|
591
|
+
* Type of the variable to extract.
|
|
592
|
+
*/
|
|
593
|
+
type: 'boolean';
|
|
594
|
+
}
|
|
595
|
+
interface NumberAnalysisData {
|
|
596
|
+
/**
|
|
597
|
+
* Description of the variable.
|
|
598
|
+
*/
|
|
599
|
+
description: string;
|
|
600
|
+
/**
|
|
601
|
+
* Name of the variable.
|
|
602
|
+
*/
|
|
603
|
+
name: string;
|
|
604
|
+
/**
|
|
605
|
+
* Type of the variable to extract.
|
|
606
|
+
*/
|
|
607
|
+
type: 'number';
|
|
608
|
+
}
|
|
609
|
+
interface ResponseEngineRetellLm {
|
|
610
|
+
/**
|
|
611
|
+
* id of the Retell LLM Response Engine.
|
|
612
|
+
*/
|
|
613
|
+
llm_id: string;
|
|
614
|
+
/**
|
|
615
|
+
* type of the Response Engine.
|
|
616
|
+
*/
|
|
617
|
+
type: 'retell-llm';
|
|
618
|
+
/**
|
|
619
|
+
* Version of the Retell LLM Response Engine.
|
|
620
|
+
*/
|
|
621
|
+
version?: number | null;
|
|
622
|
+
}
|
|
623
|
+
interface ResponseEngineCustomLm {
|
|
624
|
+
/**
|
|
625
|
+
* LLM websocket url of the custom LLM.
|
|
626
|
+
*/
|
|
627
|
+
llm_websocket_url: string;
|
|
628
|
+
/**
|
|
629
|
+
* type of the Response Engine.
|
|
630
|
+
*/
|
|
631
|
+
type: 'custom-llm';
|
|
632
|
+
}
|
|
633
|
+
interface ResponseEngineConversationFlow {
|
|
634
|
+
/**
|
|
635
|
+
* ID of the Conversation Flow Response Engine.
|
|
636
|
+
*/
|
|
637
|
+
conversation_flow_id: string;
|
|
638
|
+
/**
|
|
639
|
+
* type of the Response Engine.
|
|
640
|
+
*/
|
|
641
|
+
type: 'conversation-flow';
|
|
642
|
+
/**
|
|
643
|
+
* Version of the Conversation Flow Response Engine.
|
|
644
|
+
*/
|
|
645
|
+
version?: number | null;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
export interface ChatAgentListParams {
|
|
649
|
+
/**
|
|
650
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and
|
|
651
|
+
* 1000, and the default is 1000.
|
|
652
|
+
*/
|
|
653
|
+
limit?: number;
|
|
654
|
+
/**
|
|
655
|
+
* The pagination key to continue fetching the next page of agents. Pagination key
|
|
656
|
+
* is represented by a agent id, pagination key and version pair is exclusive (not
|
|
657
|
+
* included in the fetched page). If not set, will start from the beginning.
|
|
658
|
+
*/
|
|
659
|
+
pagination_key?: string;
|
|
660
|
+
/**
|
|
661
|
+
* Specifies the version of the agent associated with the pagination_key. When
|
|
662
|
+
* paginating, both the pagination_key and its version must be provided to ensure
|
|
663
|
+
* consistent ordering and to fetch the next page correctly.
|
|
664
|
+
*/
|
|
665
|
+
pagination_key_version?: number;
|
|
666
|
+
}
|
|
667
|
+
export declare namespace ChatAgent {
|
|
668
|
+
export { type ChatAgentResponse as ChatAgentResponse, type ChatAgentListResponse as ChatAgentListResponse, type ChatAgentGetVersionsResponse as ChatAgentGetVersionsResponse, type ChatAgentCreateParams as ChatAgentCreateParams, type ChatAgentRetrieveParams as ChatAgentRetrieveParams, type ChatAgentUpdateParams as ChatAgentUpdateParams, type ChatAgentListParams as ChatAgentListParams, };
|
|
669
|
+
}
|
|
670
|
+
//# sourceMappingURL=chat-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-agent.d.ts","sourceRoot":"","sources":["../src/resources/chat-agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAItG;;;;;;;;;OASG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAY5F;;;;;;;;;OASG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAKrC;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,CAAC,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC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