retell-sdk 5.23.0 → 5.25.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 +16 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +3 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +3 -3
- package/resources/agent.d.ts.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 +1231 -82
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +1231 -82
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js.map +1 -1
- package/resources/call.mjs.map +1 -1
- package/resources/chat.d.mts +5 -7
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +5 -7
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +6 -18
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +6 -18
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +12 -36
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +12 -36
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +12 -30
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +12 -30
- package/resources/llm.d.ts.map +1 -1
- package/resources/mcp-tool.d.mts +1 -3
- package/resources/mcp-tool.d.mts.map +1 -1
- package/resources/mcp-tool.d.ts +1 -3
- package/resources/mcp-tool.d.ts.map +1 -1
- package/resources/playground.d.mts +1 -3
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +1 -3
- package/resources/playground.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -9
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -9
- package/resources/tests.d.ts.map +1 -1
- package/src/resources/agent.ts +6 -0
- package/src/resources/batch-call.ts +4 -2
- package/src/resources/call.ts +1447 -20
- package/src/resources/chat.ts +5 -5
- package/src/resources/conversation-flow-component.ts +6 -6
- package/src/resources/conversation-flow.ts +12 -12
- package/src/resources/llm.ts +12 -12
- package/src/resources/mcp-tool.ts +1 -1
- package/src/resources/playground.ts +1 -1
- package/src/resources/tests.ts +3 -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/chat.ts
CHANGED
|
@@ -186,7 +186,7 @@ export interface ChatResponse {
|
|
|
186
186
|
/**
|
|
187
187
|
* Dynamic variables collected from the chat. Only available after the chat ends.
|
|
188
188
|
*/
|
|
189
|
-
collected_dynamic_variables?: { [key: string]:
|
|
189
|
+
collected_dynamic_variables?: { [key: string]: string };
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Custom attributes for the chat
|
|
@@ -221,7 +221,7 @@ export interface ChatResponse {
|
|
|
221
221
|
* your Response Engine prompt and tool description. Only applicable for Response
|
|
222
222
|
* Engine.
|
|
223
223
|
*/
|
|
224
|
-
retell_llm_dynamic_variables?: { [key: string]:
|
|
224
|
+
retell_llm_dynamic_variables?: { [key: string]: string };
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Begin timestamp (milliseconds since epoch) of the chat. Available after chat
|
|
@@ -697,7 +697,7 @@ export interface ChatCreateParams {
|
|
|
697
697
|
* your Response Engine prompt and tool description. Only applicable for Response
|
|
698
698
|
* Engine.
|
|
699
699
|
*/
|
|
700
|
-
retell_llm_dynamic_variables?: { [key: string]:
|
|
700
|
+
retell_llm_dynamic_variables?: { [key: string]: string };
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
export interface ChatUpdateParams {
|
|
@@ -734,7 +734,7 @@ export interface ChatListParams {
|
|
|
734
734
|
/**
|
|
735
735
|
* Filter criteria for chats to retrieve.
|
|
736
736
|
*/
|
|
737
|
-
filter_criteria?:
|
|
737
|
+
filter_criteria?: unknown;
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
740
|
* Maximum number of chats to return.
|
|
@@ -806,7 +806,7 @@ export interface ChatCreateSMSChatParams {
|
|
|
806
806
|
* your Response Engine prompt and tool description. Only applicable for Response
|
|
807
807
|
* Engine.
|
|
808
808
|
*/
|
|
809
|
-
retell_llm_dynamic_variables?: { [key: string]:
|
|
809
|
+
retell_llm_dynamic_variables?: { [key: string]: string };
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
export declare namespace Chat {
|
|
@@ -2161,7 +2161,7 @@ export namespace ConversationFlowComponentResponse {
|
|
|
2161
2161
|
* The value of properties is an object, where each key is the name of a property
|
|
2162
2162
|
* and each value is a schema used to validate that property.
|
|
2163
2163
|
*/
|
|
2164
|
-
properties:
|
|
2164
|
+
properties: unknown;
|
|
2165
2165
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -8239,7 +8239,7 @@ export namespace ConversationFlowComponentResponse {
|
|
|
8239
8239
|
* The value of properties is an object, where each key is the name of a property
|
|
8240
8240
|
* and each value is a schema used to validate that property.
|
|
8241
8241
|
*/
|
|
8242
|
-
properties:
|
|
8242
|
+
properties: unknown;
|
|
8243
8243
|
|
|
8244
8244
|
/**
|
|
8245
8245
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -10396,7 +10396,7 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
10396
10396
|
* The value of properties is an object, where each key is the name of a property
|
|
10397
10397
|
* and each value is a schema used to validate that property.
|
|
10398
10398
|
*/
|
|
10399
|
-
properties:
|
|
10399
|
+
properties: unknown;
|
|
10400
10400
|
|
|
10401
10401
|
/**
|
|
10402
10402
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -16474,7 +16474,7 @@ export namespace ConversationFlowComponentCreateParams {
|
|
|
16474
16474
|
* The value of properties is an object, where each key is the name of a property
|
|
16475
16475
|
* and each value is a schema used to validate that property.
|
|
16476
16476
|
*/
|
|
16477
|
-
properties:
|
|
16477
|
+
properties: unknown;
|
|
16478
16478
|
|
|
16479
16479
|
/**
|
|
16480
16480
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -18651,7 +18651,7 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
18651
18651
|
* The value of properties is an object, where each key is the name of a property
|
|
18652
18652
|
* and each value is a schema used to validate that property.
|
|
18653
18653
|
*/
|
|
18654
|
-
properties:
|
|
18654
|
+
properties: unknown;
|
|
18655
18655
|
|
|
18656
18656
|
/**
|
|
18657
18657
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -24695,7 +24695,7 @@ export namespace ConversationFlowComponentUpdateParams {
|
|
|
24695
24695
|
* The value of properties is an object, where each key is the name of a property
|
|
24696
24696
|
* and each value is a schema used to validate that property.
|
|
24697
24697
|
*/
|
|
24698
|
-
properties:
|
|
24698
|
+
properties: unknown;
|
|
24699
24699
|
|
|
24700
24700
|
/**
|
|
24701
24701
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -2278,7 +2278,7 @@ export namespace ConversationFlowResponse {
|
|
|
2278
2278
|
* The value of properties is an object, where each key is the name of a property
|
|
2279
2279
|
* and each value is a schema used to validate that property.
|
|
2280
2280
|
*/
|
|
2281
|
-
properties:
|
|
2281
|
+
properties: unknown;
|
|
2282
2282
|
|
|
2283
2283
|
/**
|
|
2284
2284
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -8356,7 +8356,7 @@ export namespace ConversationFlowResponse {
|
|
|
8356
8356
|
* The value of properties is an object, where each key is the name of a property
|
|
8357
8357
|
* and each value is a schema used to validate that property.
|
|
8358
8358
|
*/
|
|
8359
|
-
properties:
|
|
8359
|
+
properties: unknown;
|
|
8360
8360
|
|
|
8361
8361
|
/**
|
|
8362
8362
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -10519,7 +10519,7 @@ export namespace ConversationFlowResponse {
|
|
|
10519
10519
|
* The value of properties is an object, where each key is the name of a property
|
|
10520
10520
|
* and each value is a schema used to validate that property.
|
|
10521
10521
|
*/
|
|
10522
|
-
properties:
|
|
10522
|
+
properties: unknown;
|
|
10523
10523
|
|
|
10524
10524
|
/**
|
|
10525
10525
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -16563,7 +16563,7 @@ export namespace ConversationFlowResponse {
|
|
|
16563
16563
|
* The value of properties is an object, where each key is the name of a property
|
|
16564
16564
|
* and each value is a schema used to validate that property.
|
|
16565
16565
|
*/
|
|
16566
|
-
properties:
|
|
16566
|
+
properties: unknown;
|
|
16567
16567
|
|
|
16568
16568
|
/**
|
|
16569
16569
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -18814,7 +18814,7 @@ export namespace ConversationFlowCreateParams {
|
|
|
18814
18814
|
* The value of properties is an object, where each key is the name of a property
|
|
18815
18815
|
* and each value is a schema used to validate that property.
|
|
18816
18816
|
*/
|
|
18817
|
-
properties:
|
|
18817
|
+
properties: unknown;
|
|
18818
18818
|
|
|
18819
18819
|
/**
|
|
18820
18820
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -26736,7 +26736,7 @@ export namespace ConversationFlowCreateParams {
|
|
|
26736
26736
|
* The value of properties is an object, where each key is the name of a property
|
|
26737
26737
|
* and each value is a schema used to validate that property.
|
|
26738
26738
|
*/
|
|
26739
|
-
properties:
|
|
26739
|
+
properties: unknown;
|
|
26740
26740
|
|
|
26741
26741
|
/**
|
|
26742
26742
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -32814,7 +32814,7 @@ export namespace ConversationFlowCreateParams {
|
|
|
32814
32814
|
* The value of properties is an object, where each key is the name of a property
|
|
32815
32815
|
* and each value is a schema used to validate that property.
|
|
32816
32816
|
*/
|
|
32817
|
-
properties:
|
|
32817
|
+
properties: unknown;
|
|
32818
32818
|
|
|
32819
32819
|
/**
|
|
32820
32820
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -33126,7 +33126,7 @@ export namespace ConversationFlowCreateParams {
|
|
|
33126
33126
|
* The value of properties is an object, where each key is the name of a property
|
|
33127
33127
|
* and each value is a schema used to validate that property.
|
|
33128
33128
|
*/
|
|
33129
|
-
properties:
|
|
33129
|
+
properties: unknown;
|
|
33130
33130
|
|
|
33131
33131
|
/**
|
|
33132
33132
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -35405,7 +35405,7 @@ export namespace ConversationFlowUpdateParams {
|
|
|
35405
35405
|
* The value of properties is an object, where each key is the name of a property
|
|
35406
35406
|
* and each value is a schema used to validate that property.
|
|
35407
35407
|
*/
|
|
35408
|
-
properties:
|
|
35408
|
+
properties: unknown;
|
|
35409
35409
|
|
|
35410
35410
|
/**
|
|
35411
35411
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -41483,7 +41483,7 @@ export namespace ConversationFlowUpdateParams {
|
|
|
41483
41483
|
* The value of properties is an object, where each key is the name of a property
|
|
41484
41484
|
* and each value is a schema used to validate that property.
|
|
41485
41485
|
*/
|
|
41486
|
-
properties:
|
|
41486
|
+
properties: unknown;
|
|
41487
41487
|
|
|
41488
41488
|
/**
|
|
41489
41489
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -43646,7 +43646,7 @@ export namespace ConversationFlowUpdateParams {
|
|
|
43646
43646
|
* The value of properties is an object, where each key is the name of a property
|
|
43647
43647
|
* and each value is a schema used to validate that property.
|
|
43648
43648
|
*/
|
|
43649
|
-
properties:
|
|
43649
|
+
properties: unknown;
|
|
43650
43650
|
|
|
43651
43651
|
/**
|
|
43652
43652
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -49690,7 +49690,7 @@ export namespace ConversationFlowUpdateParams {
|
|
|
49690
49690
|
* The value of properties is an object, where each key is the name of a property
|
|
49691
49691
|
* and each value is a schema used to validate that property.
|
|
49692
49692
|
*/
|
|
49693
|
-
properties:
|
|
49693
|
+
properties: unknown;
|
|
49694
49694
|
|
|
49695
49695
|
/**
|
|
49696
49696
|
* Type must be "object" for a JSON Schema object.
|
package/src/resources/llm.ts
CHANGED
|
@@ -217,7 +217,7 @@ export interface LlmResponse {
|
|
|
217
217
|
* Select the underlying speech to speech model. Can only set this or model, not
|
|
218
218
|
* both.
|
|
219
219
|
*/
|
|
220
|
-
s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
220
|
+
s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
@@ -989,7 +989,7 @@ export namespace LlmResponse {
|
|
|
989
989
|
* The value of properties is an object, where each key is the name of a property
|
|
990
990
|
* and each value is a schema used to validate that property.
|
|
991
991
|
*/
|
|
992
|
-
properties:
|
|
992
|
+
properties: unknown;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
995
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -1502,7 +1502,7 @@ export namespace LlmResponse {
|
|
|
1502
1502
|
* The value of properties is an object, where each key is the name of a property
|
|
1503
1503
|
* and each value is a schema used to validate that property.
|
|
1504
1504
|
*/
|
|
1505
|
-
properties:
|
|
1505
|
+
properties: unknown;
|
|
1506
1506
|
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -2255,7 +2255,7 @@ export namespace LlmResponse {
|
|
|
2255
2255
|
* The value of properties is an object, where each key is the name of a property
|
|
2256
2256
|
* and each value is a schema used to validate that property.
|
|
2257
2257
|
*/
|
|
2258
|
-
properties:
|
|
2258
|
+
properties: unknown;
|
|
2259
2259
|
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -2770,7 +2770,7 @@ export interface LlmCreateParams {
|
|
|
2770
2770
|
* Select the underlying speech to speech model. Can only set this or model, not
|
|
2771
2771
|
* both.
|
|
2772
2772
|
*/
|
|
2773
|
-
s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
2773
|
+
s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
2774
2774
|
|
|
2775
2775
|
/**
|
|
2776
2776
|
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
@@ -3542,7 +3542,7 @@ export namespace LlmCreateParams {
|
|
|
3542
3542
|
* The value of properties is an object, where each key is the name of a property
|
|
3543
3543
|
* and each value is a schema used to validate that property.
|
|
3544
3544
|
*/
|
|
3545
|
-
properties:
|
|
3545
|
+
properties: unknown;
|
|
3546
3546
|
|
|
3547
3547
|
/**
|
|
3548
3548
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -4055,7 +4055,7 @@ export namespace LlmCreateParams {
|
|
|
4055
4055
|
* The value of properties is an object, where each key is the name of a property
|
|
4056
4056
|
* and each value is a schema used to validate that property.
|
|
4057
4057
|
*/
|
|
4058
|
-
properties:
|
|
4058
|
+
properties: unknown;
|
|
4059
4059
|
|
|
4060
4060
|
/**
|
|
4061
4061
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -4808,7 +4808,7 @@ export namespace LlmCreateParams {
|
|
|
4808
4808
|
* The value of properties is an object, where each key is the name of a property
|
|
4809
4809
|
* and each value is a schema used to validate that property.
|
|
4810
4810
|
*/
|
|
4811
|
-
properties:
|
|
4811
|
+
properties: unknown;
|
|
4812
4812
|
|
|
4813
4813
|
/**
|
|
4814
4814
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -5325,7 +5325,7 @@ export interface LlmUpdateParams {
|
|
|
5325
5325
|
* Body param: Select the underlying speech to speech model. Can only set this or
|
|
5326
5326
|
* model, not both.
|
|
5327
5327
|
*/
|
|
5328
|
-
s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
5328
|
+
s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
|
|
5329
5329
|
|
|
5330
5330
|
/**
|
|
5331
5331
|
* Body param: The speaker who starts the conversation. Required. Must be either
|
|
@@ -6097,7 +6097,7 @@ export namespace LlmUpdateParams {
|
|
|
6097
6097
|
* The value of properties is an object, where each key is the name of a property
|
|
6098
6098
|
* and each value is a schema used to validate that property.
|
|
6099
6099
|
*/
|
|
6100
|
-
properties:
|
|
6100
|
+
properties: unknown;
|
|
6101
6101
|
|
|
6102
6102
|
/**
|
|
6103
6103
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -6610,7 +6610,7 @@ export namespace LlmUpdateParams {
|
|
|
6610
6610
|
* The value of properties is an object, where each key is the name of a property
|
|
6611
6611
|
* and each value is a schema used to validate that property.
|
|
6612
6612
|
*/
|
|
6613
|
-
properties:
|
|
6613
|
+
properties: unknown;
|
|
6614
6614
|
|
|
6615
6615
|
/**
|
|
6616
6616
|
* Type must be "object" for a JSON Schema object.
|
|
@@ -7363,7 +7363,7 @@ export namespace LlmUpdateParams {
|
|
|
7363
7363
|
* The value of properties is an object, where each key is the name of a property
|
|
7364
7364
|
* and each value is a schema used to validate that property.
|
|
7365
7365
|
*/
|
|
7366
|
-
properties:
|
|
7366
|
+
properties: unknown;
|
|
7367
7367
|
|
|
7368
7368
|
/**
|
|
7369
7369
|
* Type must be "object" for a JSON Schema object.
|
package/src/resources/tests.ts
CHANGED
|
@@ -345,7 +345,7 @@ export namespace TestCaseDefinitionResponse {
|
|
|
345
345
|
/**
|
|
346
346
|
* Arguments to match. Only provided fields will be checked
|
|
347
347
|
*/
|
|
348
|
-
args:
|
|
348
|
+
args: unknown;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Match only calls with specific arguments
|
|
@@ -618,7 +618,7 @@ export namespace TestCreateTestCaseDefinitionParams {
|
|
|
618
618
|
/**
|
|
619
619
|
* Arguments to match. Only provided fields will be checked
|
|
620
620
|
*/
|
|
621
|
-
args:
|
|
621
|
+
args: unknown;
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
624
|
* Match only calls with specific arguments
|
|
@@ -827,7 +827,7 @@ export namespace TestUpdateTestCaseDefinitionParams {
|
|
|
827
827
|
/**
|
|
828
828
|
* Arguments to match. Only provided fields will be checked
|
|
829
829
|
*/
|
|
830
|
-
args:
|
|
830
|
+
args: unknown;
|
|
831
831
|
|
|
832
832
|
/**
|
|
833
833
|
* Match only calls with specific arguments
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.25.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.25.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.25.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.25.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|