retell-sdk 5.62.0 → 5.64.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 +24 -0
- package/client.d.mts +15 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -6
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +64 -4
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +64 -4
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +13 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +13 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/app.d.mts +457 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +457 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +67 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +63 -0
- package/resources/app.mjs.map +1 -0
- package/resources/call.d.mts +66 -6
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +66 -6
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +2 -8
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +2 -8
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +2 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +2 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/contact.d.mts +541 -0
- package/resources/contact.d.mts.map +1 -0
- package/resources/contact.d.ts +541 -0
- package/resources/contact.d.ts.map +1 -0
- package/resources/contact.js +77 -0
- package/resources/contact.js.map +1 -0
- package/resources/contact.mjs +73 -0
- package/resources/contact.mjs.map +1 -0
- package/resources/conversation-flow-component.d.mts +18 -6
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +18 -6
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +46 -14
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +46 -14
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +3 -1
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +3 -1
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/crm.d.mts +222 -0
- package/resources/crm.d.mts.map +1 -0
- package/resources/crm.d.ts +222 -0
- package/resources/crm.d.ts.map +1 -0
- package/resources/crm.js +46 -0
- package/resources/crm.js.map +1 -0
- package/resources/crm.mjs +42 -0
- package/resources/crm.mjs.map +1 -0
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-base.d.mts +12 -4
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +12 -4
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +28 -8
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +28 -8
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +3 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +3 -1
- package/resources/llm.mjs.map +1 -1
- package/src/client.ts +85 -0
- package/src/resources/agent.ts +85 -4
- package/src/resources/app.ts +622 -0
- package/src/resources/call.ts +93 -7
- package/src/resources/chat-agent.ts +2 -8
- package/src/resources/contact.ts +732 -0
- package/src/resources/conversation-flow-component.ts +18 -6
- package/src/resources/conversation-flow.ts +53 -13
- package/src/resources/crm.ts +293 -0
- package/src/resources/index.ts +38 -0
- package/src/resources/knowledge-base.ts +12 -4
- package/src/resources/llm.ts +35 -7
- 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
|
@@ -70,7 +70,7 @@ export declare class ConversationFlow extends APIResource {
|
|
|
70
70
|
* );
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
|
-
delete(conversationFlowID: string, options?: RequestOptions): APIPromise<void>;
|
|
73
|
+
delete(conversationFlowID: string, params?: ConversationFlowDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
74
74
|
}
|
|
75
75
|
export interface ConversationFlowResponse {
|
|
76
76
|
/**
|
|
@@ -1580,7 +1580,9 @@ export declare namespace ConversationFlowResponse {
|
|
|
1580
1580
|
*/
|
|
1581
1581
|
keep_current_language?: boolean;
|
|
1582
1582
|
/**
|
|
1583
|
-
* If true, keep the current voice when swapping agents.
|
|
1583
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
1584
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
1585
|
+
* Defaults to false.
|
|
1584
1586
|
*/
|
|
1585
1587
|
keep_current_voice?: boolean;
|
|
1586
1588
|
speak_during_execution?: boolean;
|
|
@@ -4733,7 +4735,9 @@ export declare namespace ConversationFlowResponse {
|
|
|
4733
4735
|
*/
|
|
4734
4736
|
keep_current_language?: boolean;
|
|
4735
4737
|
/**
|
|
4736
|
-
* If true, keep the current voice when swapping agents.
|
|
4738
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
4739
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
4740
|
+
* Defaults to false.
|
|
4737
4741
|
*/
|
|
4738
4742
|
keep_current_voice?: boolean;
|
|
4739
4743
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -7642,7 +7646,9 @@ export declare namespace ConversationFlowResponse {
|
|
|
7642
7646
|
*/
|
|
7643
7647
|
keep_current_language?: boolean;
|
|
7644
7648
|
/**
|
|
7645
|
-
* If true, keep the current voice when swapping agents.
|
|
7649
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
7650
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
7651
|
+
* Defaults to false.
|
|
7646
7652
|
*/
|
|
7647
7653
|
keep_current_voice?: boolean;
|
|
7648
7654
|
speak_during_execution?: boolean;
|
|
@@ -10795,7 +10801,9 @@ export declare namespace ConversationFlowResponse {
|
|
|
10795
10801
|
*/
|
|
10796
10802
|
keep_current_language?: boolean;
|
|
10797
10803
|
/**
|
|
10798
|
-
* If true, keep the current voice when swapping agents.
|
|
10804
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
10805
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
10806
|
+
* Defaults to false.
|
|
10799
10807
|
*/
|
|
10800
10808
|
keep_current_voice?: boolean;
|
|
10801
10809
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -13732,7 +13740,9 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
13732
13740
|
*/
|
|
13733
13741
|
keep_current_language?: boolean;
|
|
13734
13742
|
/**
|
|
13735
|
-
* If true, keep the current voice when swapping agents.
|
|
13743
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
13744
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
13745
|
+
* Defaults to false.
|
|
13736
13746
|
*/
|
|
13737
13747
|
keep_current_voice?: boolean;
|
|
13738
13748
|
speak_during_execution?: boolean;
|
|
@@ -16885,7 +16895,9 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
16885
16895
|
*/
|
|
16886
16896
|
keep_current_language?: boolean;
|
|
16887
16897
|
/**
|
|
16888
|
-
* If true, keep the current voice when swapping agents.
|
|
16898
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
16899
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
16900
|
+
* Defaults to false.
|
|
16889
16901
|
*/
|
|
16890
16902
|
keep_current_voice?: boolean;
|
|
16891
16903
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -19495,7 +19507,9 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
19495
19507
|
*/
|
|
19496
19508
|
keep_current_language?: boolean;
|
|
19497
19509
|
/**
|
|
19498
|
-
* If true, keep the current voice when swapping agents.
|
|
19510
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
19511
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
19512
|
+
* Defaults to false.
|
|
19499
19513
|
*/
|
|
19500
19514
|
keep_current_voice?: boolean;
|
|
19501
19515
|
speak_during_execution?: boolean;
|
|
@@ -22648,7 +22662,9 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
22648
22662
|
*/
|
|
22649
22663
|
keep_current_language?: boolean;
|
|
22650
22664
|
/**
|
|
22651
|
-
* If true, keep the current voice when swapping agents.
|
|
22665
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
22666
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
22667
|
+
* Defaults to false.
|
|
22652
22668
|
*/
|
|
22653
22669
|
keep_current_voice?: boolean;
|
|
22654
22670
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -25936,7 +25952,9 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
25936
25952
|
*/
|
|
25937
25953
|
keep_current_language?: boolean;
|
|
25938
25954
|
/**
|
|
25939
|
-
* If true, keep the current voice when swapping agents.
|
|
25955
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
25956
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
25957
|
+
* Defaults to false.
|
|
25940
25958
|
*/
|
|
25941
25959
|
keep_current_voice?: boolean;
|
|
25942
25960
|
speak_during_execution?: boolean;
|
|
@@ -29089,7 +29107,9 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
29089
29107
|
*/
|
|
29090
29108
|
keep_current_language?: boolean;
|
|
29091
29109
|
/**
|
|
29092
|
-
* If true, keep the current voice when swapping agents.
|
|
29110
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
29111
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
29112
|
+
* Defaults to false.
|
|
29093
29113
|
*/
|
|
29094
29114
|
keep_current_voice?: boolean;
|
|
29095
29115
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -31998,7 +32018,9 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
31998
32018
|
*/
|
|
31999
32019
|
keep_current_language?: boolean;
|
|
32000
32020
|
/**
|
|
32001
|
-
* If true, keep the current voice when swapping agents.
|
|
32021
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
32022
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
32023
|
+
* Defaults to false.
|
|
32002
32024
|
*/
|
|
32003
32025
|
keep_current_voice?: boolean;
|
|
32004
32026
|
speak_during_execution?: boolean;
|
|
@@ -35151,7 +35173,9 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
35151
35173
|
*/
|
|
35152
35174
|
keep_current_language?: boolean;
|
|
35153
35175
|
/**
|
|
35154
|
-
* If true, keep the current voice when swapping agents.
|
|
35176
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
35177
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
35178
|
+
* Defaults to false.
|
|
35155
35179
|
*/
|
|
35156
35180
|
keep_current_voice?: boolean;
|
|
35157
35181
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -36621,7 +36645,15 @@ export interface ConversationFlowListParams {
|
|
|
36621
36645
|
*/
|
|
36622
36646
|
sort_order?: 'ascending' | 'descending';
|
|
36623
36647
|
}
|
|
36648
|
+
export interface ConversationFlowDeleteParams {
|
|
36649
|
+
/**
|
|
36650
|
+
* By default the deletion is rejected with a 400 if any agent still uses this
|
|
36651
|
+
* conversation flow as its response engine. Set to true to delete it anyway, which
|
|
36652
|
+
* leaves those agents pointing at a conversation flow that no longer exists.
|
|
36653
|
+
*/
|
|
36654
|
+
force_delete?: boolean;
|
|
36655
|
+
}
|
|
36624
36656
|
export declare namespace ConversationFlow {
|
|
36625
|
-
export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, type ConversationFlowListParams as ConversationFlowListParams, };
|
|
36657
|
+
export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, type ConversationFlowListParams as ConversationFlowListParams, type ConversationFlowDeleteParams as ConversationFlowDeleteParams, };
|
|
36626
36658
|
}
|
|
36627
36659
|
//# sourceMappingURL=conversation-flow.d.ts.map
|