retell-sdk 6.2.7 → 6.2.8
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 +9 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +111 -15
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +111 -15
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +37 -5
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +37 -5
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +113 -17
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +113 -17
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +2 -2
- package/resources/call.mjs +2 -2
- package/resources/chat-agent.d.mts +111 -15
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +111 -15
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +198 -0
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +198 -0
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +396 -0
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +396 -0
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +210 -0
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +210 -0
- package/resources/llm.d.ts.map +1 -1
- package/src/resources/agent.ts +135 -15
- package/src/resources/batch-call.ts +48 -5
- package/src/resources/call.ts +146 -17
- package/src/resources/chat-agent.ts +135 -15
- package/src/resources/conversation-flow-component.ts +249 -0
- package/src/resources/conversation-flow.ts +507 -0
- package/src/resources/llm.ts +264 -0
- 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
|
@@ -2697,6 +2697,26 @@ export namespace ConversationFlowResponse {
|
|
|
2697
2697
|
*/
|
|
2698
2698
|
execution_message_type?: 'prompt' | 'static_text';
|
|
2699
2699
|
|
|
2700
|
+
/**
|
|
2701
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
2702
|
+
* customer number on the call.
|
|
2703
|
+
*/
|
|
2704
|
+
sms_destination?:
|
|
2705
|
+
| SendSMSTool.DestinationCustomerNumber
|
|
2706
|
+
| SendSMSTool.DestinationPhoneNumber
|
|
2707
|
+
| unknown;
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
2711
|
+
* agent's phone number.
|
|
2712
|
+
*/
|
|
2713
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
2717
|
+
*/
|
|
2718
|
+
speak_after_execution?: boolean;
|
|
2719
|
+
|
|
2700
2720
|
/**
|
|
2701
2721
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
2702
2722
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -2734,6 +2754,33 @@ export namespace ConversationFlowResponse {
|
|
|
2734
2754
|
|
|
2735
2755
|
type: 'template';
|
|
2736
2756
|
}
|
|
2757
|
+
|
|
2758
|
+
export interface DestinationCustomerNumber {
|
|
2759
|
+
type: 'customer_number';
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
export interface DestinationPhoneNumber {
|
|
2763
|
+
/**
|
|
2764
|
+
* Destination phone number in E.164 format.
|
|
2765
|
+
*/
|
|
2766
|
+
phone_number: string;
|
|
2767
|
+
|
|
2768
|
+
type: 'phone_number';
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
2772
|
+
* transfer_call ignore_e164_validation).
|
|
2773
|
+
*/
|
|
2774
|
+
ignore_e164_validation?: boolean;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
export interface SenderCurrentNumber {
|
|
2778
|
+
type: 'current_number';
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
export interface SenderRetellLongCode {
|
|
2782
|
+
type: 'retell_long_code';
|
|
2783
|
+
}
|
|
2737
2784
|
}
|
|
2738
2785
|
|
|
2739
2786
|
export interface CustomTool {
|
|
@@ -7120,6 +7167,18 @@ export namespace ConversationFlowResponse {
|
|
|
7120
7167
|
* Optional name for display purposes
|
|
7121
7168
|
*/
|
|
7122
7169
|
name?: string;
|
|
7170
|
+
|
|
7171
|
+
/**
|
|
7172
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
7173
|
+
* customer number on the call.
|
|
7174
|
+
*/
|
|
7175
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
7179
|
+
* agent's phone number.
|
|
7180
|
+
*/
|
|
7181
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
7123
7182
|
}
|
|
7124
7183
|
|
|
7125
7184
|
export namespace SMSNode {
|
|
@@ -7665,6 +7724,33 @@ export namespace ConversationFlowResponse {
|
|
|
7665
7724
|
*/
|
|
7666
7725
|
ultrafast?: boolean;
|
|
7667
7726
|
}
|
|
7727
|
+
|
|
7728
|
+
export interface DestinationCustomerNumber {
|
|
7729
|
+
type: 'customer_number';
|
|
7730
|
+
}
|
|
7731
|
+
|
|
7732
|
+
export interface DestinationPhoneNumber {
|
|
7733
|
+
/**
|
|
7734
|
+
* Destination phone number in E.164 format.
|
|
7735
|
+
*/
|
|
7736
|
+
phone_number: string;
|
|
7737
|
+
|
|
7738
|
+
type: 'phone_number';
|
|
7739
|
+
|
|
7740
|
+
/**
|
|
7741
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
7742
|
+
* transfer_call ignore_e164_validation).
|
|
7743
|
+
*/
|
|
7744
|
+
ignore_e164_validation?: boolean;
|
|
7745
|
+
}
|
|
7746
|
+
|
|
7747
|
+
export interface SenderCurrentNumber {
|
|
7748
|
+
type: 'current_number';
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7751
|
+
export interface SenderRetellLongCode {
|
|
7752
|
+
type: 'retell_long_code';
|
|
7753
|
+
}
|
|
7668
7754
|
}
|
|
7669
7755
|
|
|
7670
7756
|
export interface ExtractDynamicVariablesNode {
|
|
@@ -13785,6 +13871,23 @@ export namespace ConversationFlowResponse {
|
|
|
13785
13871
|
*/
|
|
13786
13872
|
execution_message_type?: 'prompt' | 'static_text';
|
|
13787
13873
|
|
|
13874
|
+
/**
|
|
13875
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
13876
|
+
* customer number on the call.
|
|
13877
|
+
*/
|
|
13878
|
+
sms_destination?: SendSMSTool.DestinationCustomerNumber | SendSMSTool.DestinationPhoneNumber | unknown;
|
|
13879
|
+
|
|
13880
|
+
/**
|
|
13881
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
13882
|
+
* agent's phone number.
|
|
13883
|
+
*/
|
|
13884
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
13885
|
+
|
|
13886
|
+
/**
|
|
13887
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
13888
|
+
*/
|
|
13889
|
+
speak_after_execution?: boolean;
|
|
13890
|
+
|
|
13788
13891
|
/**
|
|
13789
13892
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
13790
13893
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -13822,6 +13925,33 @@ export namespace ConversationFlowResponse {
|
|
|
13822
13925
|
|
|
13823
13926
|
type: 'template';
|
|
13824
13927
|
}
|
|
13928
|
+
|
|
13929
|
+
export interface DestinationCustomerNumber {
|
|
13930
|
+
type: 'customer_number';
|
|
13931
|
+
}
|
|
13932
|
+
|
|
13933
|
+
export interface DestinationPhoneNumber {
|
|
13934
|
+
/**
|
|
13935
|
+
* Destination phone number in E.164 format.
|
|
13936
|
+
*/
|
|
13937
|
+
phone_number: string;
|
|
13938
|
+
|
|
13939
|
+
type: 'phone_number';
|
|
13940
|
+
|
|
13941
|
+
/**
|
|
13942
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
13943
|
+
* transfer_call ignore_e164_validation).
|
|
13944
|
+
*/
|
|
13945
|
+
ignore_e164_validation?: boolean;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13948
|
+
export interface SenderCurrentNumber {
|
|
13949
|
+
type: 'current_number';
|
|
13950
|
+
}
|
|
13951
|
+
|
|
13952
|
+
export interface SenderRetellLongCode {
|
|
13953
|
+
type: 'retell_long_code';
|
|
13954
|
+
}
|
|
13825
13955
|
}
|
|
13826
13956
|
|
|
13827
13957
|
export interface CustomTool {
|
|
@@ -18208,6 +18338,18 @@ export namespace ConversationFlowResponse {
|
|
|
18208
18338
|
* Optional name for display purposes
|
|
18209
18339
|
*/
|
|
18210
18340
|
name?: string;
|
|
18341
|
+
|
|
18342
|
+
/**
|
|
18343
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
18344
|
+
* customer number on the call.
|
|
18345
|
+
*/
|
|
18346
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
18347
|
+
|
|
18348
|
+
/**
|
|
18349
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
18350
|
+
* agent's phone number.
|
|
18351
|
+
*/
|
|
18352
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
18211
18353
|
}
|
|
18212
18354
|
|
|
18213
18355
|
export namespace SMSNode {
|
|
@@ -18753,6 +18895,33 @@ export namespace ConversationFlowResponse {
|
|
|
18753
18895
|
*/
|
|
18754
18896
|
ultrafast?: boolean;
|
|
18755
18897
|
}
|
|
18898
|
+
|
|
18899
|
+
export interface DestinationCustomerNumber {
|
|
18900
|
+
type: 'customer_number';
|
|
18901
|
+
}
|
|
18902
|
+
|
|
18903
|
+
export interface DestinationPhoneNumber {
|
|
18904
|
+
/**
|
|
18905
|
+
* Destination phone number in E.164 format.
|
|
18906
|
+
*/
|
|
18907
|
+
phone_number: string;
|
|
18908
|
+
|
|
18909
|
+
type: 'phone_number';
|
|
18910
|
+
|
|
18911
|
+
/**
|
|
18912
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
18913
|
+
* transfer_call ignore_e164_validation).
|
|
18914
|
+
*/
|
|
18915
|
+
ignore_e164_validation?: boolean;
|
|
18916
|
+
}
|
|
18917
|
+
|
|
18918
|
+
export interface SenderCurrentNumber {
|
|
18919
|
+
type: 'current_number';
|
|
18920
|
+
}
|
|
18921
|
+
|
|
18922
|
+
export interface SenderRetellLongCode {
|
|
18923
|
+
type: 'retell_long_code';
|
|
18924
|
+
}
|
|
18756
18925
|
}
|
|
18757
18926
|
|
|
18758
18927
|
export interface ExtractDynamicVariablesNode {
|
|
@@ -24932,6 +25101,23 @@ export namespace ConversationFlowCreateParams {
|
|
|
24932
25101
|
*/
|
|
24933
25102
|
execution_message_type?: 'prompt' | 'static_text';
|
|
24934
25103
|
|
|
25104
|
+
/**
|
|
25105
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
25106
|
+
* customer number on the call.
|
|
25107
|
+
*/
|
|
25108
|
+
sms_destination?: SendSMSTool.DestinationCustomerNumber | SendSMSTool.DestinationPhoneNumber | unknown;
|
|
25109
|
+
|
|
25110
|
+
/**
|
|
25111
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
25112
|
+
* agent's phone number.
|
|
25113
|
+
*/
|
|
25114
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
25115
|
+
|
|
25116
|
+
/**
|
|
25117
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
25118
|
+
*/
|
|
25119
|
+
speak_after_execution?: boolean;
|
|
25120
|
+
|
|
24935
25121
|
/**
|
|
24936
25122
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
24937
25123
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -24969,6 +25155,33 @@ export namespace ConversationFlowCreateParams {
|
|
|
24969
25155
|
|
|
24970
25156
|
type: 'template';
|
|
24971
25157
|
}
|
|
25158
|
+
|
|
25159
|
+
export interface DestinationCustomerNumber {
|
|
25160
|
+
type: 'customer_number';
|
|
25161
|
+
}
|
|
25162
|
+
|
|
25163
|
+
export interface DestinationPhoneNumber {
|
|
25164
|
+
/**
|
|
25165
|
+
* Destination phone number in E.164 format.
|
|
25166
|
+
*/
|
|
25167
|
+
phone_number: string;
|
|
25168
|
+
|
|
25169
|
+
type: 'phone_number';
|
|
25170
|
+
|
|
25171
|
+
/**
|
|
25172
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
25173
|
+
* transfer_call ignore_e164_validation).
|
|
25174
|
+
*/
|
|
25175
|
+
ignore_e164_validation?: boolean;
|
|
25176
|
+
}
|
|
25177
|
+
|
|
25178
|
+
export interface SenderCurrentNumber {
|
|
25179
|
+
type: 'current_number';
|
|
25180
|
+
}
|
|
25181
|
+
|
|
25182
|
+
export interface SenderRetellLongCode {
|
|
25183
|
+
type: 'retell_long_code';
|
|
25184
|
+
}
|
|
24972
25185
|
}
|
|
24973
25186
|
|
|
24974
25187
|
export interface CustomTool {
|
|
@@ -29355,6 +29568,18 @@ export namespace ConversationFlowCreateParams {
|
|
|
29355
29568
|
* Optional name for display purposes
|
|
29356
29569
|
*/
|
|
29357
29570
|
name?: string;
|
|
29571
|
+
|
|
29572
|
+
/**
|
|
29573
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
29574
|
+
* customer number on the call.
|
|
29575
|
+
*/
|
|
29576
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
29577
|
+
|
|
29578
|
+
/**
|
|
29579
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
29580
|
+
* agent's phone number.
|
|
29581
|
+
*/
|
|
29582
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
29358
29583
|
}
|
|
29359
29584
|
|
|
29360
29585
|
export namespace SMSNode {
|
|
@@ -29900,6 +30125,33 @@ export namespace ConversationFlowCreateParams {
|
|
|
29900
30125
|
*/
|
|
29901
30126
|
ultrafast?: boolean;
|
|
29902
30127
|
}
|
|
30128
|
+
|
|
30129
|
+
export interface DestinationCustomerNumber {
|
|
30130
|
+
type: 'customer_number';
|
|
30131
|
+
}
|
|
30132
|
+
|
|
30133
|
+
export interface DestinationPhoneNumber {
|
|
30134
|
+
/**
|
|
30135
|
+
* Destination phone number in E.164 format.
|
|
30136
|
+
*/
|
|
30137
|
+
phone_number: string;
|
|
30138
|
+
|
|
30139
|
+
type: 'phone_number';
|
|
30140
|
+
|
|
30141
|
+
/**
|
|
30142
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
30143
|
+
* transfer_call ignore_e164_validation).
|
|
30144
|
+
*/
|
|
30145
|
+
ignore_e164_validation?: boolean;
|
|
30146
|
+
}
|
|
30147
|
+
|
|
30148
|
+
export interface SenderCurrentNumber {
|
|
30149
|
+
type: 'current_number';
|
|
30150
|
+
}
|
|
30151
|
+
|
|
30152
|
+
export interface SenderRetellLongCode {
|
|
30153
|
+
type: 'retell_long_code';
|
|
30154
|
+
}
|
|
29903
30155
|
}
|
|
29904
30156
|
|
|
29905
30157
|
export interface ExtractDynamicVariablesNode {
|
|
@@ -35582,6 +35834,26 @@ export namespace ConversationFlowCreateParams {
|
|
|
35582
35834
|
*/
|
|
35583
35835
|
execution_message_type?: 'prompt' | 'static_text';
|
|
35584
35836
|
|
|
35837
|
+
/**
|
|
35838
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
35839
|
+
* customer number on the call.
|
|
35840
|
+
*/
|
|
35841
|
+
sms_destination?:
|
|
35842
|
+
| SendSMSTool.DestinationCustomerNumber
|
|
35843
|
+
| SendSMSTool.DestinationPhoneNumber
|
|
35844
|
+
| unknown;
|
|
35845
|
+
|
|
35846
|
+
/**
|
|
35847
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
35848
|
+
* agent's phone number.
|
|
35849
|
+
*/
|
|
35850
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
35851
|
+
|
|
35852
|
+
/**
|
|
35853
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
35854
|
+
*/
|
|
35855
|
+
speak_after_execution?: boolean;
|
|
35856
|
+
|
|
35585
35857
|
/**
|
|
35586
35858
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
35587
35859
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -35619,6 +35891,33 @@ export namespace ConversationFlowCreateParams {
|
|
|
35619
35891
|
|
|
35620
35892
|
type: 'template';
|
|
35621
35893
|
}
|
|
35894
|
+
|
|
35895
|
+
export interface DestinationCustomerNumber {
|
|
35896
|
+
type: 'customer_number';
|
|
35897
|
+
}
|
|
35898
|
+
|
|
35899
|
+
export interface DestinationPhoneNumber {
|
|
35900
|
+
/**
|
|
35901
|
+
* Destination phone number in E.164 format.
|
|
35902
|
+
*/
|
|
35903
|
+
phone_number: string;
|
|
35904
|
+
|
|
35905
|
+
type: 'phone_number';
|
|
35906
|
+
|
|
35907
|
+
/**
|
|
35908
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
35909
|
+
* transfer_call ignore_e164_validation).
|
|
35910
|
+
*/
|
|
35911
|
+
ignore_e164_validation?: boolean;
|
|
35912
|
+
}
|
|
35913
|
+
|
|
35914
|
+
export interface SenderCurrentNumber {
|
|
35915
|
+
type: 'current_number';
|
|
35916
|
+
}
|
|
35917
|
+
|
|
35918
|
+
export interface SenderRetellLongCode {
|
|
35919
|
+
type: 'retell_long_code';
|
|
35920
|
+
}
|
|
35622
35921
|
}
|
|
35623
35922
|
|
|
35624
35923
|
export interface CustomTool {
|
|
@@ -40005,6 +40304,18 @@ export namespace ConversationFlowCreateParams {
|
|
|
40005
40304
|
* Optional name for display purposes
|
|
40006
40305
|
*/
|
|
40007
40306
|
name?: string;
|
|
40307
|
+
|
|
40308
|
+
/**
|
|
40309
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
40310
|
+
* customer number on the call.
|
|
40311
|
+
*/
|
|
40312
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
40313
|
+
|
|
40314
|
+
/**
|
|
40315
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
40316
|
+
* agent's phone number.
|
|
40317
|
+
*/
|
|
40318
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
40008
40319
|
}
|
|
40009
40320
|
|
|
40010
40321
|
export namespace SMSNode {
|
|
@@ -40550,6 +40861,33 @@ export namespace ConversationFlowCreateParams {
|
|
|
40550
40861
|
*/
|
|
40551
40862
|
ultrafast?: boolean;
|
|
40552
40863
|
}
|
|
40864
|
+
|
|
40865
|
+
export interface DestinationCustomerNumber {
|
|
40866
|
+
type: 'customer_number';
|
|
40867
|
+
}
|
|
40868
|
+
|
|
40869
|
+
export interface DestinationPhoneNumber {
|
|
40870
|
+
/**
|
|
40871
|
+
* Destination phone number in E.164 format.
|
|
40872
|
+
*/
|
|
40873
|
+
phone_number: string;
|
|
40874
|
+
|
|
40875
|
+
type: 'phone_number';
|
|
40876
|
+
|
|
40877
|
+
/**
|
|
40878
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
40879
|
+
* transfer_call ignore_e164_validation).
|
|
40880
|
+
*/
|
|
40881
|
+
ignore_e164_validation?: boolean;
|
|
40882
|
+
}
|
|
40883
|
+
|
|
40884
|
+
export interface SenderCurrentNumber {
|
|
40885
|
+
type: 'current_number';
|
|
40886
|
+
}
|
|
40887
|
+
|
|
40888
|
+
export interface SenderRetellLongCode {
|
|
40889
|
+
type: 'retell_long_code';
|
|
40890
|
+
}
|
|
40553
40891
|
}
|
|
40554
40892
|
|
|
40555
40893
|
export interface ExtractDynamicVariablesNode {
|
|
@@ -47156,6 +47494,26 @@ export namespace ConversationFlowUpdateParams {
|
|
|
47156
47494
|
*/
|
|
47157
47495
|
execution_message_type?: 'prompt' | 'static_text';
|
|
47158
47496
|
|
|
47497
|
+
/**
|
|
47498
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
47499
|
+
* customer number on the call.
|
|
47500
|
+
*/
|
|
47501
|
+
sms_destination?:
|
|
47502
|
+
| SendSMSTool.DestinationCustomerNumber
|
|
47503
|
+
| SendSMSTool.DestinationPhoneNumber
|
|
47504
|
+
| unknown;
|
|
47505
|
+
|
|
47506
|
+
/**
|
|
47507
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
47508
|
+
* agent's phone number.
|
|
47509
|
+
*/
|
|
47510
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
47511
|
+
|
|
47512
|
+
/**
|
|
47513
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
47514
|
+
*/
|
|
47515
|
+
speak_after_execution?: boolean;
|
|
47516
|
+
|
|
47159
47517
|
/**
|
|
47160
47518
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
47161
47519
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -47193,6 +47551,33 @@ export namespace ConversationFlowUpdateParams {
|
|
|
47193
47551
|
|
|
47194
47552
|
type: 'template';
|
|
47195
47553
|
}
|
|
47554
|
+
|
|
47555
|
+
export interface DestinationCustomerNumber {
|
|
47556
|
+
type: 'customer_number';
|
|
47557
|
+
}
|
|
47558
|
+
|
|
47559
|
+
export interface DestinationPhoneNumber {
|
|
47560
|
+
/**
|
|
47561
|
+
* Destination phone number in E.164 format.
|
|
47562
|
+
*/
|
|
47563
|
+
phone_number: string;
|
|
47564
|
+
|
|
47565
|
+
type: 'phone_number';
|
|
47566
|
+
|
|
47567
|
+
/**
|
|
47568
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
47569
|
+
* transfer_call ignore_e164_validation).
|
|
47570
|
+
*/
|
|
47571
|
+
ignore_e164_validation?: boolean;
|
|
47572
|
+
}
|
|
47573
|
+
|
|
47574
|
+
export interface SenderCurrentNumber {
|
|
47575
|
+
type: 'current_number';
|
|
47576
|
+
}
|
|
47577
|
+
|
|
47578
|
+
export interface SenderRetellLongCode {
|
|
47579
|
+
type: 'retell_long_code';
|
|
47580
|
+
}
|
|
47196
47581
|
}
|
|
47197
47582
|
|
|
47198
47583
|
export interface CustomTool {
|
|
@@ -51579,6 +51964,18 @@ export namespace ConversationFlowUpdateParams {
|
|
|
51579
51964
|
* Optional name for display purposes
|
|
51580
51965
|
*/
|
|
51581
51966
|
name?: string;
|
|
51967
|
+
|
|
51968
|
+
/**
|
|
51969
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
51970
|
+
* customer number on the call.
|
|
51971
|
+
*/
|
|
51972
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
51973
|
+
|
|
51974
|
+
/**
|
|
51975
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
51976
|
+
* agent's phone number.
|
|
51977
|
+
*/
|
|
51978
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
51582
51979
|
}
|
|
51583
51980
|
|
|
51584
51981
|
export namespace SMSNode {
|
|
@@ -52124,6 +52521,33 @@ export namespace ConversationFlowUpdateParams {
|
|
|
52124
52521
|
*/
|
|
52125
52522
|
ultrafast?: boolean;
|
|
52126
52523
|
}
|
|
52524
|
+
|
|
52525
|
+
export interface DestinationCustomerNumber {
|
|
52526
|
+
type: 'customer_number';
|
|
52527
|
+
}
|
|
52528
|
+
|
|
52529
|
+
export interface DestinationPhoneNumber {
|
|
52530
|
+
/**
|
|
52531
|
+
* Destination phone number in E.164 format.
|
|
52532
|
+
*/
|
|
52533
|
+
phone_number: string;
|
|
52534
|
+
|
|
52535
|
+
type: 'phone_number';
|
|
52536
|
+
|
|
52537
|
+
/**
|
|
52538
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
52539
|
+
* transfer_call ignore_e164_validation).
|
|
52540
|
+
*/
|
|
52541
|
+
ignore_e164_validation?: boolean;
|
|
52542
|
+
}
|
|
52543
|
+
|
|
52544
|
+
export interface SenderCurrentNumber {
|
|
52545
|
+
type: 'current_number';
|
|
52546
|
+
}
|
|
52547
|
+
|
|
52548
|
+
export interface SenderRetellLongCode {
|
|
52549
|
+
type: 'retell_long_code';
|
|
52550
|
+
}
|
|
52127
52551
|
}
|
|
52128
52552
|
|
|
52129
52553
|
export interface ExtractDynamicVariablesNode {
|
|
@@ -58244,6 +58668,23 @@ export namespace ConversationFlowUpdateParams {
|
|
|
58244
58668
|
*/
|
|
58245
58669
|
execution_message_type?: 'prompt' | 'static_text';
|
|
58246
58670
|
|
|
58671
|
+
/**
|
|
58672
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
58673
|
+
* customer number on the call.
|
|
58674
|
+
*/
|
|
58675
|
+
sms_destination?: SendSMSTool.DestinationCustomerNumber | SendSMSTool.DestinationPhoneNumber | unknown;
|
|
58676
|
+
|
|
58677
|
+
/**
|
|
58678
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
58679
|
+
* agent's phone number.
|
|
58680
|
+
*/
|
|
58681
|
+
sms_sender?: SendSMSTool.SenderCurrentNumber | SendSMSTool.SenderRetellLongCode | unknown;
|
|
58682
|
+
|
|
58683
|
+
/**
|
|
58684
|
+
* Whether the agent should speak after the SMS tool finishes execution.
|
|
58685
|
+
*/
|
|
58686
|
+
speak_after_execution?: boolean;
|
|
58687
|
+
|
|
58247
58688
|
/**
|
|
58248
58689
|
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
58249
58690
|
* defaults to true (same as end_call / transfer_call tools).
|
|
@@ -58281,6 +58722,33 @@ export namespace ConversationFlowUpdateParams {
|
|
|
58281
58722
|
|
|
58282
58723
|
type: 'template';
|
|
58283
58724
|
}
|
|
58725
|
+
|
|
58726
|
+
export interface DestinationCustomerNumber {
|
|
58727
|
+
type: 'customer_number';
|
|
58728
|
+
}
|
|
58729
|
+
|
|
58730
|
+
export interface DestinationPhoneNumber {
|
|
58731
|
+
/**
|
|
58732
|
+
* Destination phone number in E.164 format.
|
|
58733
|
+
*/
|
|
58734
|
+
phone_number: string;
|
|
58735
|
+
|
|
58736
|
+
type: 'phone_number';
|
|
58737
|
+
|
|
58738
|
+
/**
|
|
58739
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
58740
|
+
* transfer_call ignore_e164_validation).
|
|
58741
|
+
*/
|
|
58742
|
+
ignore_e164_validation?: boolean;
|
|
58743
|
+
}
|
|
58744
|
+
|
|
58745
|
+
export interface SenderCurrentNumber {
|
|
58746
|
+
type: 'current_number';
|
|
58747
|
+
}
|
|
58748
|
+
|
|
58749
|
+
export interface SenderRetellLongCode {
|
|
58750
|
+
type: 'retell_long_code';
|
|
58751
|
+
}
|
|
58284
58752
|
}
|
|
58285
58753
|
|
|
58286
58754
|
export interface CustomTool {
|
|
@@ -62667,6 +63135,18 @@ export namespace ConversationFlowUpdateParams {
|
|
|
62667
63135
|
* Optional name for display purposes
|
|
62668
63136
|
*/
|
|
62669
63137
|
name?: string;
|
|
63138
|
+
|
|
63139
|
+
/**
|
|
63140
|
+
* SMS destination number configuration. If omitted, the message is sent to the
|
|
63141
|
+
* customer number on the call.
|
|
63142
|
+
*/
|
|
63143
|
+
sms_destination?: SMSNode.DestinationCustomerNumber | SMSNode.DestinationPhoneNumber | unknown;
|
|
63144
|
+
|
|
63145
|
+
/**
|
|
63146
|
+
* SMS sender number configuration. If omitted, the message is sent from the
|
|
63147
|
+
* agent's phone number.
|
|
63148
|
+
*/
|
|
63149
|
+
sms_sender?: SMSNode.SenderCurrentNumber | SMSNode.SenderRetellLongCode | unknown;
|
|
62670
63150
|
}
|
|
62671
63151
|
|
|
62672
63152
|
export namespace SMSNode {
|
|
@@ -63212,6 +63692,33 @@ export namespace ConversationFlowUpdateParams {
|
|
|
63212
63692
|
*/
|
|
63213
63693
|
ultrafast?: boolean;
|
|
63214
63694
|
}
|
|
63695
|
+
|
|
63696
|
+
export interface DestinationCustomerNumber {
|
|
63697
|
+
type: 'customer_number';
|
|
63698
|
+
}
|
|
63699
|
+
|
|
63700
|
+
export interface DestinationPhoneNumber {
|
|
63701
|
+
/**
|
|
63702
|
+
* Destination phone number in E.164 format.
|
|
63703
|
+
*/
|
|
63704
|
+
phone_number: string;
|
|
63705
|
+
|
|
63706
|
+
type: 'phone_number';
|
|
63707
|
+
|
|
63708
|
+
/**
|
|
63709
|
+
* If true, skip E.164 validation for this phone number (same semantics as
|
|
63710
|
+
* transfer_call ignore_e164_validation).
|
|
63711
|
+
*/
|
|
63712
|
+
ignore_e164_validation?: boolean;
|
|
63713
|
+
}
|
|
63714
|
+
|
|
63715
|
+
export interface SenderCurrentNumber {
|
|
63716
|
+
type: 'current_number';
|
|
63717
|
+
}
|
|
63718
|
+
|
|
63719
|
+
export interface SenderRetellLongCode {
|
|
63720
|
+
type: 'retell_long_code';
|
|
63721
|
+
}
|
|
63215
63722
|
}
|
|
63216
63723
|
|
|
63217
63724
|
export interface ExtractDynamicVariablesNode {
|