retell-sdk 5.40.0 → 5.41.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 +14 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +84 -20
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +84 -20
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +12 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +12 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/batch-call.d.mts +3 -3
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +3 -3
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +24 -9
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +24 -9
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +84 -20
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +84 -20
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +12 -4
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +12 -4
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/conversation-flow-component.d.mts +42 -42
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +42 -42
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +87 -87
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +87 -87
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +3 -3
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +3 -3
- package/resources/llm.d.ts.map +1 -1
- package/resources/phone-number.d.mts +4 -8
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +4 -8
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/resources/agent.ts +100 -18
- package/src/resources/batch-call.ts +4 -1
- package/src/resources/call.ts +31 -3
- package/src/resources/chat-agent.ts +100 -18
- package/src/resources/conversation-flow-component.ts +84 -42
- package/src/resources/conversation-flow.ts +174 -87
- package/src/resources/llm.ts +3 -0
- package/src/resources/phone-number.ts +4 -8
- package/src/resources/tests.ts +6 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/tests.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tests.d.ts","sourceRoot":"","sources":["../src/resources/tests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,wBAAwB,CACtB,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,qBAAqB,CACnB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,uBAAuB,CACrB,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;OAEG;IACH,wBAAwB,CACtB,oBAAoB,EAAE,MAAM,EAC5B,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,wBAAwB,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,C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
48
|
+
* List unique agents with pagination.
|
|
49
49
|
*
|
|
50
|
-
* @
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const agents = await client.agent.list();
|
|
53
|
+
* ```
|
|
51
54
|
*/
|
|
52
55
|
list(
|
|
53
|
-
|
|
56
|
+
params: AgentListParams | null | undefined = {},
|
|
54
57
|
options?: RequestOptions,
|
|
55
58
|
): APIPromise<AgentListResponse> {
|
|
56
|
-
|
|
59
|
+
const { limit, pagination_key, sort_order, ...body } = params ?? {};
|
|
60
|
+
return this._client.post('/v2/list-agents', {
|
|
61
|
+
query: { limit, pagination_key, sort_order },
|
|
62
|
+
body,
|
|
63
|
+
...options,
|
|
64
|
+
});
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
/**
|
|
@@ -623,6 +631,7 @@ export interface AgentResponse {
|
|
|
623
631
|
| 'claude-4.5-haiku'
|
|
624
632
|
| 'gemini-3.0-flash'
|
|
625
633
|
| 'gemini-3.1-flash-lite'
|
|
634
|
+
| 'gemini-3.5-flash'
|
|
626
635
|
| null;
|
|
627
636
|
|
|
628
637
|
/**
|
|
@@ -1265,7 +1274,54 @@ export namespace AgentResponse {
|
|
|
1265
1274
|
}
|
|
1266
1275
|
}
|
|
1267
1276
|
|
|
1268
|
-
export
|
|
1277
|
+
export interface AgentListResponse {
|
|
1278
|
+
/**
|
|
1279
|
+
* Whether more results are available.
|
|
1280
|
+
*/
|
|
1281
|
+
has_more?: boolean;
|
|
1282
|
+
|
|
1283
|
+
items?: Array<AgentListResponse.Item>;
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Pagination key for the next page.
|
|
1287
|
+
*/
|
|
1288
|
+
pagination_key?: string;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
export namespace AgentListResponse {
|
|
1292
|
+
export interface Item {
|
|
1293
|
+
/**
|
|
1294
|
+
* Unique id of agent.
|
|
1295
|
+
*/
|
|
1296
|
+
agent_id: string;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* The name of the agent. Only used for your own reference.
|
|
1300
|
+
*/
|
|
1301
|
+
agent_name: string;
|
|
1302
|
+
|
|
1303
|
+
channel: 'voice' | 'chat';
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Authoritative root tags for this agent, keyed by tag name.
|
|
1307
|
+
*/
|
|
1308
|
+
tags: { [key: string]: Item.Tags };
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* User modification timestamp (milliseconds since epoch). Either the time of last
|
|
1312
|
+
* update or creation if no updates available.
|
|
1313
|
+
*/
|
|
1314
|
+
user_modified_timestamp: number;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export namespace Item {
|
|
1318
|
+
export interface Tags {
|
|
1319
|
+
dynamic_variables?: { [key: string]: string };
|
|
1320
|
+
|
|
1321
|
+
version?: number;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1269
1325
|
|
|
1270
1326
|
export type AgentCreateVersionResponse = AgentResponse | ChatAgentAPI.ChatAgentResponse;
|
|
1271
1327
|
|
|
@@ -1701,6 +1757,7 @@ export interface AgentCreateParams {
|
|
|
1701
1757
|
| 'claude-4.5-haiku'
|
|
1702
1758
|
| 'gemini-3.0-flash'
|
|
1703
1759
|
| 'gemini-3.1-flash-lite'
|
|
1760
|
+
| 'gemini-3.5-flash'
|
|
1704
1761
|
| null;
|
|
1705
1762
|
|
|
1706
1763
|
/**
|
|
@@ -2353,29 +2410,53 @@ export interface AgentRetrieveParams {
|
|
|
2353
2410
|
|
|
2354
2411
|
export interface AgentListParams {
|
|
2355
2412
|
/**
|
|
2356
|
-
*
|
|
2413
|
+
* Query param: Maximum number of items to return.
|
|
2357
2414
|
*/
|
|
2358
|
-
|
|
2415
|
+
limit?: number;
|
|
2359
2416
|
|
|
2360
2417
|
/**
|
|
2361
|
-
*
|
|
2362
|
-
* 1000, and the default is 1000.
|
|
2418
|
+
* Query param: Pagination key for fetching the next page.
|
|
2363
2419
|
*/
|
|
2364
|
-
|
|
2420
|
+
pagination_key?: string;
|
|
2365
2421
|
|
|
2366
2422
|
/**
|
|
2367
|
-
*
|
|
2368
|
-
* is represented by a agent id, pagination key and version pair is exclusive (not
|
|
2369
|
-
* included in the fetched page). If not set, will start from the beginning.
|
|
2423
|
+
* Query param: Sort order for results.
|
|
2370
2424
|
*/
|
|
2371
|
-
|
|
2425
|
+
sort_order?: 'ascending' | 'descending';
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
* Body param: Filters for listing agents. All provided filters are connected with
|
|
2429
|
+
* AND.
|
|
2430
|
+
*/
|
|
2431
|
+
filter_criteria?: AgentListParams.FilterCriteria;
|
|
2432
|
+
}
|
|
2372
2433
|
|
|
2434
|
+
export namespace AgentListParams {
|
|
2373
2435
|
/**
|
|
2374
|
-
*
|
|
2375
|
-
* paginating, both the pagination_key and its version must be provided to ensure
|
|
2376
|
-
* consistent ordering and to fetch the next page correctly.
|
|
2436
|
+
* Filters for listing agents. All provided filters are connected with AND.
|
|
2377
2437
|
*/
|
|
2378
|
-
|
|
2438
|
+
export interface FilterCriteria {
|
|
2439
|
+
channel?: FilterCriteria.Channel;
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* Case-insensitive substring search over agent name, plus substring search over
|
|
2443
|
+
* agent id.
|
|
2444
|
+
*/
|
|
2445
|
+
query?: string;
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
export namespace FilterCriteria {
|
|
2449
|
+
export interface Channel {
|
|
2450
|
+
/**
|
|
2451
|
+
* eq: equal, ne: not equal, sw: starts with, ew: ends with, co: contains
|
|
2452
|
+
*/
|
|
2453
|
+
op: 'eq' | 'ne' | 'sw' | 'ew' | 'co';
|
|
2454
|
+
|
|
2455
|
+
type: 'string';
|
|
2456
|
+
|
|
2457
|
+
value: 'voice' | 'chat';
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2379
2460
|
}
|
|
2380
2461
|
|
|
2381
2462
|
export interface AgentUpdateParams {
|
|
@@ -2802,6 +2883,7 @@ export interface AgentUpdateParams {
|
|
|
2802
2883
|
| 'claude-4.5-haiku'
|
|
2803
2884
|
| 'gemini-3.0-flash'
|
|
2804
2885
|
| 'gemini-3.1-flash-lite'
|
|
2886
|
+
| 'gemini-3.5-flash'
|
|
2805
2887
|
| null;
|
|
2806
2888
|
|
|
2807
2889
|
/**
|
|
@@ -640,6 +640,7 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
640
640
|
| 'claude-4.5-haiku'
|
|
641
641
|
| 'gemini-3.0-flash'
|
|
642
642
|
| 'gemini-3.1-flash-lite'
|
|
643
|
+
| 'gemini-3.5-flash'
|
|
643
644
|
| null;
|
|
644
645
|
|
|
645
646
|
/**
|
|
@@ -1386,7 +1387,8 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
1386
1387
|
| 'claude-4.6-sonnet'
|
|
1387
1388
|
| 'claude-4.5-haiku'
|
|
1388
1389
|
| 'gemini-3.0-flash'
|
|
1389
|
-
| 'gemini-3.1-flash-lite'
|
|
1390
|
+
| 'gemini-3.1-flash-lite'
|
|
1391
|
+
| 'gemini-3.5-flash';
|
|
1390
1392
|
|
|
1391
1393
|
/**
|
|
1392
1394
|
* Type of model choice
|
|
@@ -1453,6 +1455,7 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
1453
1455
|
| 'claude-4.5-haiku'
|
|
1454
1456
|
| 'gemini-3.0-flash'
|
|
1455
1457
|
| 'gemini-3.1-flash-lite'
|
|
1458
|
+
| 'gemini-3.5-flash'
|
|
1456
1459
|
| null;
|
|
1457
1460
|
|
|
1458
1461
|
/**
|
package/src/resources/call.ts
CHANGED
|
@@ -4533,6 +4533,7 @@ export namespace CallCreatePhoneCallParams {
|
|
|
4533
4533
|
| 'claude-4.5-haiku'
|
|
4534
4534
|
| 'gemini-3.0-flash'
|
|
4535
4535
|
| 'gemini-3.1-flash-lite'
|
|
4536
|
+
| 'gemini-3.5-flash'
|
|
4536
4537
|
| null;
|
|
4537
4538
|
|
|
4538
4539
|
/**
|
|
@@ -5279,7 +5280,8 @@ export namespace CallCreatePhoneCallParams {
|
|
|
5279
5280
|
| 'claude-4.6-sonnet'
|
|
5280
5281
|
| 'claude-4.5-haiku'
|
|
5281
5282
|
| 'gemini-3.0-flash'
|
|
5282
|
-
| 'gemini-3.1-flash-lite'
|
|
5283
|
+
| 'gemini-3.1-flash-lite'
|
|
5284
|
+
| 'gemini-3.5-flash';
|
|
5283
5285
|
|
|
5284
5286
|
/**
|
|
5285
5287
|
* Type of model choice
|
|
@@ -5346,6 +5348,7 @@ export namespace CallCreatePhoneCallParams {
|
|
|
5346
5348
|
| 'claude-4.5-haiku'
|
|
5347
5349
|
| 'gemini-3.0-flash'
|
|
5348
5350
|
| 'gemini-3.1-flash-lite'
|
|
5351
|
+
| 'gemini-3.5-flash'
|
|
5349
5352
|
| null;
|
|
5350
5353
|
|
|
5351
5354
|
/**
|
|
@@ -5899,6 +5902,7 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
5899
5902
|
| 'claude-4.5-haiku'
|
|
5900
5903
|
| 'gemini-3.0-flash'
|
|
5901
5904
|
| 'gemini-3.1-flash-lite'
|
|
5905
|
+
| 'gemini-3.5-flash'
|
|
5902
5906
|
| null;
|
|
5903
5907
|
|
|
5904
5908
|
/**
|
|
@@ -6645,7 +6649,8 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
6645
6649
|
| 'claude-4.6-sonnet'
|
|
6646
6650
|
| 'claude-4.5-haiku'
|
|
6647
6651
|
| 'gemini-3.0-flash'
|
|
6648
|
-
| 'gemini-3.1-flash-lite'
|
|
6652
|
+
| 'gemini-3.1-flash-lite'
|
|
6653
|
+
| 'gemini-3.5-flash';
|
|
6649
6654
|
|
|
6650
6655
|
/**
|
|
6651
6656
|
* Type of model choice
|
|
@@ -6712,6 +6717,7 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
6712
6717
|
| 'claude-4.5-haiku'
|
|
6713
6718
|
| 'gemini-3.0-flash'
|
|
6714
6719
|
| 'gemini-3.1-flash-lite'
|
|
6720
|
+
| 'gemini-3.5-flash'
|
|
6715
6721
|
| null;
|
|
6716
6722
|
|
|
6717
6723
|
/**
|
|
@@ -7265,6 +7271,7 @@ export namespace CallCreateWebCallParams {
|
|
|
7265
7271
|
| 'claude-4.5-haiku'
|
|
7266
7272
|
| 'gemini-3.0-flash'
|
|
7267
7273
|
| 'gemini-3.1-flash-lite'
|
|
7274
|
+
| 'gemini-3.5-flash'
|
|
7268
7275
|
| null;
|
|
7269
7276
|
|
|
7270
7277
|
/**
|
|
@@ -8011,7 +8018,8 @@ export namespace CallCreateWebCallParams {
|
|
|
8011
8018
|
| 'claude-4.6-sonnet'
|
|
8012
8019
|
| 'claude-4.5-haiku'
|
|
8013
8020
|
| 'gemini-3.0-flash'
|
|
8014
|
-
| 'gemini-3.1-flash-lite'
|
|
8021
|
+
| 'gemini-3.1-flash-lite'
|
|
8022
|
+
| 'gemini-3.5-flash';
|
|
8015
8023
|
|
|
8016
8024
|
/**
|
|
8017
8025
|
* Type of model choice
|
|
@@ -8078,6 +8086,7 @@ export namespace CallCreateWebCallParams {
|
|
|
8078
8086
|
| 'claude-4.5-haiku'
|
|
8079
8087
|
| 'gemini-3.0-flash'
|
|
8080
8088
|
| 'gemini-3.1-flash-lite'
|
|
8089
|
+
| 'gemini-3.5-flash'
|
|
8081
8090
|
| null;
|
|
8082
8091
|
|
|
8083
8092
|
/**
|
|
@@ -8178,6 +8187,11 @@ export namespace CallListParams {
|
|
|
8178
8187
|
*/
|
|
8179
8188
|
agent?: Array<FilterCriteria.Agent>;
|
|
8180
8189
|
|
|
8190
|
+
/**
|
|
8191
|
+
* Filter by agent environment tag(s) (e.g. "prod", "staging").
|
|
8192
|
+
*/
|
|
8193
|
+
agent_tag?: FilterCriteria.AgentTag;
|
|
8194
|
+
|
|
8181
8195
|
/**
|
|
8182
8196
|
* Filter by batch call ID.
|
|
8183
8197
|
*/
|
|
@@ -8305,6 +8319,20 @@ export namespace CallListParams {
|
|
|
8305
8319
|
version?: Array<number>;
|
|
8306
8320
|
}
|
|
8307
8321
|
|
|
8322
|
+
/**
|
|
8323
|
+
* Filter by agent environment tag(s) (e.g. "prod", "staging").
|
|
8324
|
+
*/
|
|
8325
|
+
export interface AgentTag {
|
|
8326
|
+
/**
|
|
8327
|
+
* in: value is one of the listed values
|
|
8328
|
+
*/
|
|
8329
|
+
op: 'in';
|
|
8330
|
+
|
|
8331
|
+
type: 'enum';
|
|
8332
|
+
|
|
8333
|
+
value: Array<string>;
|
|
8334
|
+
}
|
|
8335
|
+
|
|
8308
8336
|
/**
|
|
8309
8337
|
* Filter by batch call ID.
|
|
8310
8338
|
*/
|
|
@@ -44,15 +44,23 @@ export class ChatAgent extends APIResource {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* List
|
|
47
|
+
* List unique agents with pagination.
|
|
48
48
|
*
|
|
49
|
-
* @
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const chatAgents = await client.chatAgent.list();
|
|
52
|
+
* ```
|
|
50
53
|
*/
|
|
51
54
|
list(
|
|
52
|
-
|
|
55
|
+
params: ChatAgentListParams | null | undefined = {},
|
|
53
56
|
options?: RequestOptions,
|
|
54
57
|
): APIPromise<ChatAgentListResponse> {
|
|
55
|
-
|
|
58
|
+
const { limit, pagination_key, sort_order, ...body } = params ?? {};
|
|
59
|
+
return this._client.post('/v2/list-agents', {
|
|
60
|
+
query: { limit, pagination_key, sort_order },
|
|
61
|
+
body,
|
|
62
|
+
...options,
|
|
63
|
+
});
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
/**
|
|
@@ -433,6 +441,7 @@ export interface ChatAgentResponse {
|
|
|
433
441
|
| 'claude-4.5-haiku'
|
|
434
442
|
| 'gemini-3.0-flash'
|
|
435
443
|
| 'gemini-3.1-flash-lite'
|
|
444
|
+
| 'gemini-3.5-flash'
|
|
436
445
|
| null;
|
|
437
446
|
|
|
438
447
|
/**
|
|
@@ -777,7 +786,54 @@ export namespace ChatAgentResponse {
|
|
|
777
786
|
}
|
|
778
787
|
}
|
|
779
788
|
|
|
780
|
-
export
|
|
789
|
+
export interface ChatAgentListResponse {
|
|
790
|
+
/**
|
|
791
|
+
* Whether more results are available.
|
|
792
|
+
*/
|
|
793
|
+
has_more?: boolean;
|
|
794
|
+
|
|
795
|
+
items?: Array<ChatAgentListResponse.Item>;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Pagination key for the next page.
|
|
799
|
+
*/
|
|
800
|
+
pagination_key?: string;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export namespace ChatAgentListResponse {
|
|
804
|
+
export interface Item {
|
|
805
|
+
/**
|
|
806
|
+
* Unique id of agent.
|
|
807
|
+
*/
|
|
808
|
+
agent_id: string;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* The name of the agent. Only used for your own reference.
|
|
812
|
+
*/
|
|
813
|
+
agent_name: string;
|
|
814
|
+
|
|
815
|
+
channel: 'voice' | 'chat';
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Authoritative root tags for this agent, keyed by tag name.
|
|
819
|
+
*/
|
|
820
|
+
tags: { [key: string]: Item.Tags };
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* User modification timestamp (milliseconds since epoch). Either the time of last
|
|
824
|
+
* update or creation if no updates available.
|
|
825
|
+
*/
|
|
826
|
+
user_modified_timestamp: number;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
export namespace Item {
|
|
830
|
+
export interface Tags {
|
|
831
|
+
dynamic_variables?: { [key: string]: string };
|
|
832
|
+
|
|
833
|
+
version?: number;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
}
|
|
781
837
|
|
|
782
838
|
export type ChatAgentCreateVersionResponse = AgentAPI.AgentResponse | ChatAgentResponse;
|
|
783
839
|
|
|
@@ -1023,6 +1079,7 @@ export interface ChatAgentCreateParams {
|
|
|
1023
1079
|
| 'claude-4.5-haiku'
|
|
1024
1080
|
| 'gemini-3.0-flash'
|
|
1025
1081
|
| 'gemini-3.1-flash-lite'
|
|
1082
|
+
| 'gemini-3.5-flash'
|
|
1026
1083
|
| null;
|
|
1027
1084
|
|
|
1028
1085
|
/**
|
|
@@ -1372,29 +1429,53 @@ export interface ChatAgentRetrieveParams {
|
|
|
1372
1429
|
|
|
1373
1430
|
export interface ChatAgentListParams {
|
|
1374
1431
|
/**
|
|
1375
|
-
*
|
|
1432
|
+
* Query param: Maximum number of items to return.
|
|
1376
1433
|
*/
|
|
1377
|
-
|
|
1434
|
+
limit?: number;
|
|
1378
1435
|
|
|
1379
1436
|
/**
|
|
1380
|
-
*
|
|
1381
|
-
* 1000, and the default is 1000.
|
|
1437
|
+
* Query param: Pagination key for fetching the next page.
|
|
1382
1438
|
*/
|
|
1383
|
-
|
|
1439
|
+
pagination_key?: string;
|
|
1384
1440
|
|
|
1385
1441
|
/**
|
|
1386
|
-
*
|
|
1387
|
-
* is represented by a agent id, pagination key and version pair is exclusive (not
|
|
1388
|
-
* included in the fetched page). If not set, will start from the beginning.
|
|
1442
|
+
* Query param: Sort order for results.
|
|
1389
1443
|
*/
|
|
1390
|
-
|
|
1444
|
+
sort_order?: 'ascending' | 'descending';
|
|
1391
1445
|
|
|
1392
1446
|
/**
|
|
1393
|
-
*
|
|
1394
|
-
*
|
|
1395
|
-
* consistent ordering and to fetch the next page correctly.
|
|
1447
|
+
* Body param: Filters for listing agents. All provided filters are connected with
|
|
1448
|
+
* AND.
|
|
1396
1449
|
*/
|
|
1397
|
-
|
|
1450
|
+
filter_criteria?: ChatAgentListParams.FilterCriteria;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
export namespace ChatAgentListParams {
|
|
1454
|
+
/**
|
|
1455
|
+
* Filters for listing agents. All provided filters are connected with AND.
|
|
1456
|
+
*/
|
|
1457
|
+
export interface FilterCriteria {
|
|
1458
|
+
channel?: FilterCriteria.Channel;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* Case-insensitive substring search over agent name, plus substring search over
|
|
1462
|
+
* agent id.
|
|
1463
|
+
*/
|
|
1464
|
+
query?: string;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
export namespace FilterCriteria {
|
|
1468
|
+
export interface Channel {
|
|
1469
|
+
/**
|
|
1470
|
+
* eq: equal, ne: not equal, sw: starts with, ew: ends with, co: contains
|
|
1471
|
+
*/
|
|
1472
|
+
op: 'eq' | 'ne' | 'sw' | 'ew' | 'co';
|
|
1473
|
+
|
|
1474
|
+
type: 'string';
|
|
1475
|
+
|
|
1476
|
+
value: 'voice' | 'chat';
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1398
1479
|
}
|
|
1399
1480
|
|
|
1400
1481
|
export interface ChatAgentUpdateParams {
|
|
@@ -1634,6 +1715,7 @@ export interface ChatAgentUpdateParams {
|
|
|
1634
1715
|
| 'claude-4.5-haiku'
|
|
1635
1716
|
| 'gemini-3.0-flash'
|
|
1636
1717
|
| 'gemini-3.1-flash-lite'
|
|
1718
|
+
| 'gemini-3.5-flash'
|
|
1637
1719
|
| null;
|
|
1638
1720
|
|
|
1639
1721
|
/**
|