retell-sdk 5.12.0 → 5.13.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 +23 -0
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +22 -45
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +22 -45
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +8 -17
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +8 -17
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +55 -54
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +55 -54
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +10 -6
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +10 -6
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +90 -76
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +90 -76
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +207 -48
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +207 -48
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +417 -99
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +417 -99
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +153 -9
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +153 -9
- package/resources/llm.d.ts.map +1 -1
- package/resources/phone-number.d.mts +22 -125
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +22 -125
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/phone-number.js +14 -2
- package/resources/phone-number.js.map +1 -1
- package/resources/phone-number.mjs +14 -2
- package/resources/phone-number.mjs.map +1 -1
- package/resources/tests.d.mts +4 -8
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +4 -8
- package/resources/tests.d.ts.map +1 -1
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/agent.ts +23 -42
- package/src/resources/batch-call.ts +9 -15
- package/src/resources/call.ts +64 -47
- package/src/resources/chat-agent.ts +11 -3
- package/src/resources/chat.ts +106 -90
- package/src/resources/conversation-flow-component.ts +300 -48
- package/src/resources/conversation-flow.ts +606 -99
- package/src/resources/llm.ts +201 -6
- package/src/resources/phone-number.ts +22 -141
- package/src/resources/tests.ts +7 -9
- 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/tests.ts
CHANGED
|
@@ -223,7 +223,8 @@ export interface TestCaseDefinitionResponse {
|
|
|
223
223
|
| 'claude-4.5-haiku'
|
|
224
224
|
| 'gemini-2.5-flash'
|
|
225
225
|
| 'gemini-2.5-flash-lite'
|
|
226
|
-
| 'gemini-3.0-flash'
|
|
226
|
+
| 'gemini-3.0-flash'
|
|
227
|
+
| 'gemini-3.1-flash-lite';
|
|
227
228
|
|
|
228
229
|
/**
|
|
229
230
|
* Array of metric names to evaluate
|
|
@@ -388,7 +389,7 @@ export interface TestCaseJobResponse {
|
|
|
388
389
|
|
|
389
390
|
/**
|
|
390
391
|
* Snapshot of the transcript generated during test execution. Can be either
|
|
391
|
-
* ConversationFlowPlaygroundSnapshot or
|
|
392
|
+
* ConversationFlowPlaygroundSnapshot or RetellLlmPlaygroundSnapshot
|
|
392
393
|
*/
|
|
393
394
|
transcript_snapshot?: unknown | null;
|
|
394
395
|
}
|
|
@@ -497,7 +498,8 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
497
498
|
| 'claude-4.5-haiku'
|
|
498
499
|
| 'gemini-2.5-flash'
|
|
499
500
|
| 'gemini-2.5-flash-lite'
|
|
500
|
-
| 'gemini-3.0-flash'
|
|
501
|
+
| 'gemini-3.0-flash'
|
|
502
|
+
| 'gemini-3.1-flash-lite';
|
|
501
503
|
|
|
502
504
|
/**
|
|
503
505
|
* Mock tool calls for testing
|
|
@@ -623,11 +625,6 @@ export interface TestListTestCaseDefinitionsParams {
|
|
|
623
625
|
* LLM ID (required when type is retell-llm)
|
|
624
626
|
*/
|
|
625
627
|
llm_id?: string;
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Version of the response engine (defaults to latest)
|
|
629
|
-
*/
|
|
630
|
-
version?: number;
|
|
631
628
|
}
|
|
632
629
|
|
|
633
630
|
export interface TestUpdateTestCaseDefinitionParams {
|
|
@@ -656,7 +653,8 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
656
653
|
| 'claude-4.5-haiku'
|
|
657
654
|
| 'gemini-2.5-flash'
|
|
658
655
|
| 'gemini-2.5-flash-lite'
|
|
659
|
-
| 'gemini-3.0-flash'
|
|
656
|
+
| 'gemini-3.0-flash'
|
|
657
|
+
| 'gemini-3.1-flash-lite';
|
|
660
658
|
|
|
661
659
|
/**
|
|
662
660
|
* Array of metric names to evaluate
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.13.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.13.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.13.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.13.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|