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/src/resources/llm.ts
CHANGED
|
@@ -191,6 +191,7 @@ export interface LlmResponse {
|
|
|
191
191
|
| 'claude-4.5-haiku'
|
|
192
192
|
| 'gemini-3.0-flash'
|
|
193
193
|
| 'gemini-3.1-flash-lite'
|
|
194
|
+
| 'gemini-3.5-flash'
|
|
194
195
|
| null;
|
|
195
196
|
|
|
196
197
|
/**
|
|
@@ -2803,6 +2804,7 @@ export interface LlmCreateParams {
|
|
|
2803
2804
|
| 'claude-4.5-haiku'
|
|
2804
2805
|
| 'gemini-3.0-flash'
|
|
2805
2806
|
| 'gemini-3.1-flash-lite'
|
|
2807
|
+
| 'gemini-3.5-flash'
|
|
2806
2808
|
| null;
|
|
2807
2809
|
|
|
2808
2810
|
/**
|
|
@@ -5429,6 +5431,7 @@ export interface LlmUpdateParams {
|
|
|
5429
5431
|
| 'claude-4.5-haiku'
|
|
5430
5432
|
| 'gemini-3.0-flash'
|
|
5431
5433
|
| 'gemini-3.1-flash-lite'
|
|
5434
|
+
| 'gemini-3.5-flash'
|
|
5432
5435
|
| null;
|
|
5433
5436
|
|
|
5434
5437
|
/**
|
|
@@ -171,8 +171,7 @@ export interface PhoneNumberResponse {
|
|
|
171
171
|
/**
|
|
172
172
|
* Inbound SMS agents to bind to the number with weights. If set and non-empty, one
|
|
173
173
|
* agent will be picked randomly for each inbound SMS, with probability
|
|
174
|
-
* proportional to the weight. Total weights must add up to 1.
|
|
175
|
-
* fallback to inbound_sms_agent_id.
|
|
174
|
+
* proportional to the weight. Total weights must add up to 1.
|
|
176
175
|
*/
|
|
177
176
|
inbound_sms_agents?: Array<PhoneNumberResponse.InboundSMSAgent> | null;
|
|
178
177
|
|
|
@@ -205,8 +204,7 @@ export interface PhoneNumberResponse {
|
|
|
205
204
|
/**
|
|
206
205
|
* Outbound SMS agents to bind to the number with weights. If set and non-empty,
|
|
207
206
|
* one agent will be picked randomly for each outbound SMS, with probability
|
|
208
|
-
* proportional to the weight. Total weights must add up to 1.
|
|
209
|
-
* fallback to outbound_sms_agent_id.
|
|
207
|
+
* proportional to the weight. Total weights must add up to 1.
|
|
210
208
|
*/
|
|
211
209
|
outbound_sms_agents?: Array<PhoneNumberResponse.OutboundSMSAgent> | null;
|
|
212
210
|
|
|
@@ -662,8 +660,7 @@ export interface PhoneNumberUpdateParams {
|
|
|
662
660
|
/**
|
|
663
661
|
* Inbound SMS agents to bind to the number with weights. If set and non-empty, one
|
|
664
662
|
* agent will be picked randomly for each inbound SMS, with probability
|
|
665
|
-
* proportional to the weight. Total weights must add up to 1.
|
|
666
|
-
* fallback to inbound_sms_agent_id.
|
|
663
|
+
* proportional to the weight. Total weights must add up to 1.
|
|
667
664
|
*/
|
|
668
665
|
inbound_sms_agents?: Array<PhoneNumberUpdateParams.InboundSMSAgent> | null;
|
|
669
666
|
|
|
@@ -696,8 +693,7 @@ export interface PhoneNumberUpdateParams {
|
|
|
696
693
|
/**
|
|
697
694
|
* Outbound SMS agents to bind to the number with weights. If set and non-empty,
|
|
698
695
|
* one agent will be picked randomly for each outbound SMS, with probability
|
|
699
|
-
* proportional to the weight. Total weights must add up to 1.
|
|
700
|
-
* fallback to outbound_sms_agent_id.
|
|
696
|
+
* proportional to the weight. Total weights must add up to 1.
|
|
701
697
|
*/
|
|
702
698
|
outbound_sms_agents?: Array<PhoneNumberUpdateParams.OutboundSMSAgent> | null;
|
|
703
699
|
|
package/src/resources/tests.ts
CHANGED
|
@@ -227,7 +227,8 @@ export interface TestCaseDefinitionResponse {
|
|
|
227
227
|
| 'claude-4.6-sonnet'
|
|
228
228
|
| 'claude-4.5-haiku'
|
|
229
229
|
| 'gemini-3.0-flash'
|
|
230
|
-
| 'gemini-3.1-flash-lite'
|
|
230
|
+
| 'gemini-3.1-flash-lite'
|
|
231
|
+
| 'gemini-3.5-flash';
|
|
231
232
|
|
|
232
233
|
/**
|
|
233
234
|
* Array of metric names to evaluate
|
|
@@ -489,7 +490,8 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
489
490
|
| 'claude-4.6-sonnet'
|
|
490
491
|
| 'claude-4.5-haiku'
|
|
491
492
|
| 'gemini-3.0-flash'
|
|
492
|
-
| 'gemini-3.1-flash-lite'
|
|
493
|
+
| 'gemini-3.1-flash-lite'
|
|
494
|
+
| 'gemini-3.5-flash';
|
|
493
495
|
|
|
494
496
|
/**
|
|
495
497
|
* Mock tool calls for testing
|
|
@@ -631,7 +633,8 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
631
633
|
| 'claude-4.6-sonnet'
|
|
632
634
|
| 'claude-4.5-haiku'
|
|
633
635
|
| 'gemini-3.0-flash'
|
|
634
|
-
| 'gemini-3.1-flash-lite'
|
|
636
|
+
| 'gemini-3.1-flash-lite'
|
|
637
|
+
| 'gemini-3.5-flash';
|
|
635
638
|
|
|
636
639
|
/**
|
|
637
640
|
* Array of metric names to evaluate
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.41.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.41.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.41.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.41.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|