retell-sdk 5.10.3 → 5.12.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/README.md +2 -2
- package/client.d.mts +6 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -3
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +316 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +316 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +105 -1
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +105 -1
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +315 -3
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +315 -3
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +255 -3
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +255 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +2164 -730
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +2164 -730
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +13562 -10694
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +13562 -10694
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +246 -0
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +246 -0
- package/resources/llm.d.ts.map +1 -1
- package/src/client.ts +11 -4
- package/src/resources/agent.ts +376 -0
- package/src/resources/batch-call.ts +125 -0
- package/src/resources/call.ts +375 -0
- package/src/resources/chat-agent.ts +300 -0
- package/src/resources/conversation-flow-component.ts +8295 -6198
- package/src/resources/conversation-flow.ts +9667 -5473
- package/src/resources/llm.ts +288 -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
package/resources/llm.d.ts
CHANGED
|
@@ -631,6 +631,23 @@ export declare namespace LlmResponse {
|
|
|
631
631
|
* to call the tool.
|
|
632
632
|
*/
|
|
633
633
|
description?: string;
|
|
634
|
+
/**
|
|
635
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
636
|
+
* speak_during_execution is true.
|
|
637
|
+
*/
|
|
638
|
+
execution_message_description?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Type of execution message. "prompt" means the agent will use
|
|
641
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
642
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
643
|
+
* to "prompt".
|
|
644
|
+
*/
|
|
645
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
646
|
+
/**
|
|
647
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
648
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
649
|
+
*/
|
|
650
|
+
speak_during_execution?: boolean;
|
|
634
651
|
}
|
|
635
652
|
namespace SendSMSTool {
|
|
636
653
|
interface SMSContentPredefined {
|
|
@@ -851,6 +868,12 @@ export declare namespace LlmResponse {
|
|
|
851
868
|
* Type of the variable to extract.
|
|
852
869
|
*/
|
|
853
870
|
type: 'string';
|
|
871
|
+
/**
|
|
872
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
873
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
874
|
+
* this is ignored.
|
|
875
|
+
*/
|
|
876
|
+
conditional_prompt?: string;
|
|
854
877
|
/**
|
|
855
878
|
* Examples of the variable value to teach model the style and syntax.
|
|
856
879
|
*/
|
|
@@ -878,6 +901,12 @@ export declare namespace LlmResponse {
|
|
|
878
901
|
* Type of the variable to extract.
|
|
879
902
|
*/
|
|
880
903
|
type: 'enum';
|
|
904
|
+
/**
|
|
905
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
906
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
907
|
+
* this is ignored.
|
|
908
|
+
*/
|
|
909
|
+
conditional_prompt?: string;
|
|
881
910
|
/**
|
|
882
911
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
883
912
|
* will be marked as unsuccessful.
|
|
@@ -897,6 +926,12 @@ export declare namespace LlmResponse {
|
|
|
897
926
|
* Type of the variable to extract.
|
|
898
927
|
*/
|
|
899
928
|
type: 'boolean';
|
|
929
|
+
/**
|
|
930
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
931
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
932
|
+
* this is ignored.
|
|
933
|
+
*/
|
|
934
|
+
conditional_prompt?: string;
|
|
900
935
|
/**
|
|
901
936
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
902
937
|
* will be marked as unsuccessful.
|
|
@@ -916,6 +951,12 @@ export declare namespace LlmResponse {
|
|
|
916
951
|
* Type of the variable to extract.
|
|
917
952
|
*/
|
|
918
953
|
type: 'number';
|
|
954
|
+
/**
|
|
955
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
956
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
957
|
+
* this is ignored.
|
|
958
|
+
*/
|
|
959
|
+
conditional_prompt?: string;
|
|
919
960
|
/**
|
|
920
961
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
921
962
|
* will be marked as unsuccessful.
|
|
@@ -1623,6 +1664,23 @@ export declare namespace LlmResponse {
|
|
|
1623
1664
|
* to call the tool.
|
|
1624
1665
|
*/
|
|
1625
1666
|
description?: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
1669
|
+
* speak_during_execution is true.
|
|
1670
|
+
*/
|
|
1671
|
+
execution_message_description?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Type of execution message. "prompt" means the agent will use
|
|
1674
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
1675
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
1676
|
+
* to "prompt".
|
|
1677
|
+
*/
|
|
1678
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
1679
|
+
/**
|
|
1680
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
1681
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
1682
|
+
*/
|
|
1683
|
+
speak_during_execution?: boolean;
|
|
1626
1684
|
}
|
|
1627
1685
|
namespace SendSMSTool {
|
|
1628
1686
|
interface SMSContentPredefined {
|
|
@@ -1843,6 +1901,12 @@ export declare namespace LlmResponse {
|
|
|
1843
1901
|
* Type of the variable to extract.
|
|
1844
1902
|
*/
|
|
1845
1903
|
type: 'string';
|
|
1904
|
+
/**
|
|
1905
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
1906
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
1907
|
+
* this is ignored.
|
|
1908
|
+
*/
|
|
1909
|
+
conditional_prompt?: string;
|
|
1846
1910
|
/**
|
|
1847
1911
|
* Examples of the variable value to teach model the style and syntax.
|
|
1848
1912
|
*/
|
|
@@ -1870,6 +1934,12 @@ export declare namespace LlmResponse {
|
|
|
1870
1934
|
* Type of the variable to extract.
|
|
1871
1935
|
*/
|
|
1872
1936
|
type: 'enum';
|
|
1937
|
+
/**
|
|
1938
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
1939
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
1940
|
+
* this is ignored.
|
|
1941
|
+
*/
|
|
1942
|
+
conditional_prompt?: string;
|
|
1873
1943
|
/**
|
|
1874
1944
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
1875
1945
|
* will be marked as unsuccessful.
|
|
@@ -1889,6 +1959,12 @@ export declare namespace LlmResponse {
|
|
|
1889
1959
|
* Type of the variable to extract.
|
|
1890
1960
|
*/
|
|
1891
1961
|
type: 'boolean';
|
|
1962
|
+
/**
|
|
1963
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
1964
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
1965
|
+
* this is ignored.
|
|
1966
|
+
*/
|
|
1967
|
+
conditional_prompt?: string;
|
|
1892
1968
|
/**
|
|
1893
1969
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
1894
1970
|
* will be marked as unsuccessful.
|
|
@@ -1908,6 +1984,12 @@ export declare namespace LlmResponse {
|
|
|
1908
1984
|
* Type of the variable to extract.
|
|
1909
1985
|
*/
|
|
1910
1986
|
type: 'number';
|
|
1987
|
+
/**
|
|
1988
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
1989
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
1990
|
+
* this is ignored.
|
|
1991
|
+
*/
|
|
1992
|
+
conditional_prompt?: string;
|
|
1911
1993
|
/**
|
|
1912
1994
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
1913
1995
|
* will be marked as unsuccessful.
|
|
@@ -2600,6 +2682,23 @@ export declare namespace LlmCreateParams {
|
|
|
2600
2682
|
* to call the tool.
|
|
2601
2683
|
*/
|
|
2602
2684
|
description?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
2687
|
+
* speak_during_execution is true.
|
|
2688
|
+
*/
|
|
2689
|
+
execution_message_description?: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* Type of execution message. "prompt" means the agent will use
|
|
2692
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
2693
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
2694
|
+
* to "prompt".
|
|
2695
|
+
*/
|
|
2696
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
2697
|
+
/**
|
|
2698
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
2699
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
2700
|
+
*/
|
|
2701
|
+
speak_during_execution?: boolean;
|
|
2603
2702
|
}
|
|
2604
2703
|
namespace SendSMSTool {
|
|
2605
2704
|
interface SMSContentPredefined {
|
|
@@ -2820,6 +2919,12 @@ export declare namespace LlmCreateParams {
|
|
|
2820
2919
|
* Type of the variable to extract.
|
|
2821
2920
|
*/
|
|
2822
2921
|
type: 'string';
|
|
2922
|
+
/**
|
|
2923
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
2924
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
2925
|
+
* this is ignored.
|
|
2926
|
+
*/
|
|
2927
|
+
conditional_prompt?: string;
|
|
2823
2928
|
/**
|
|
2824
2929
|
* Examples of the variable value to teach model the style and syntax.
|
|
2825
2930
|
*/
|
|
@@ -2847,6 +2952,12 @@ export declare namespace LlmCreateParams {
|
|
|
2847
2952
|
* Type of the variable to extract.
|
|
2848
2953
|
*/
|
|
2849
2954
|
type: 'enum';
|
|
2955
|
+
/**
|
|
2956
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
2957
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
2958
|
+
* this is ignored.
|
|
2959
|
+
*/
|
|
2960
|
+
conditional_prompt?: string;
|
|
2850
2961
|
/**
|
|
2851
2962
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
2852
2963
|
* will be marked as unsuccessful.
|
|
@@ -2866,6 +2977,12 @@ export declare namespace LlmCreateParams {
|
|
|
2866
2977
|
* Type of the variable to extract.
|
|
2867
2978
|
*/
|
|
2868
2979
|
type: 'boolean';
|
|
2980
|
+
/**
|
|
2981
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
2982
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
2983
|
+
* this is ignored.
|
|
2984
|
+
*/
|
|
2985
|
+
conditional_prompt?: string;
|
|
2869
2986
|
/**
|
|
2870
2987
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
2871
2988
|
* will be marked as unsuccessful.
|
|
@@ -2885,6 +3002,12 @@ export declare namespace LlmCreateParams {
|
|
|
2885
3002
|
* Type of the variable to extract.
|
|
2886
3003
|
*/
|
|
2887
3004
|
type: 'number';
|
|
3005
|
+
/**
|
|
3006
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
3007
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
3008
|
+
* this is ignored.
|
|
3009
|
+
*/
|
|
3010
|
+
conditional_prompt?: string;
|
|
2888
3011
|
/**
|
|
2889
3012
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
2890
3013
|
* will be marked as unsuccessful.
|
|
@@ -3592,6 +3715,23 @@ export declare namespace LlmCreateParams {
|
|
|
3592
3715
|
* to call the tool.
|
|
3593
3716
|
*/
|
|
3594
3717
|
description?: string;
|
|
3718
|
+
/**
|
|
3719
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
3720
|
+
* speak_during_execution is true.
|
|
3721
|
+
*/
|
|
3722
|
+
execution_message_description?: string;
|
|
3723
|
+
/**
|
|
3724
|
+
* Type of execution message. "prompt" means the agent will use
|
|
3725
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
3726
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
3727
|
+
* to "prompt".
|
|
3728
|
+
*/
|
|
3729
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
3730
|
+
/**
|
|
3731
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
3732
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
3733
|
+
*/
|
|
3734
|
+
speak_during_execution?: boolean;
|
|
3595
3735
|
}
|
|
3596
3736
|
namespace SendSMSTool {
|
|
3597
3737
|
interface SMSContentPredefined {
|
|
@@ -3812,6 +3952,12 @@ export declare namespace LlmCreateParams {
|
|
|
3812
3952
|
* Type of the variable to extract.
|
|
3813
3953
|
*/
|
|
3814
3954
|
type: 'string';
|
|
3955
|
+
/**
|
|
3956
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
3957
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
3958
|
+
* this is ignored.
|
|
3959
|
+
*/
|
|
3960
|
+
conditional_prompt?: string;
|
|
3815
3961
|
/**
|
|
3816
3962
|
* Examples of the variable value to teach model the style and syntax.
|
|
3817
3963
|
*/
|
|
@@ -3839,6 +3985,12 @@ export declare namespace LlmCreateParams {
|
|
|
3839
3985
|
* Type of the variable to extract.
|
|
3840
3986
|
*/
|
|
3841
3987
|
type: 'enum';
|
|
3988
|
+
/**
|
|
3989
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
3990
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
3991
|
+
* this is ignored.
|
|
3992
|
+
*/
|
|
3993
|
+
conditional_prompt?: string;
|
|
3842
3994
|
/**
|
|
3843
3995
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
3844
3996
|
* will be marked as unsuccessful.
|
|
@@ -3858,6 +4010,12 @@ export declare namespace LlmCreateParams {
|
|
|
3858
4010
|
* Type of the variable to extract.
|
|
3859
4011
|
*/
|
|
3860
4012
|
type: 'boolean';
|
|
4013
|
+
/**
|
|
4014
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
4015
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
4016
|
+
* this is ignored.
|
|
4017
|
+
*/
|
|
4018
|
+
conditional_prompt?: string;
|
|
3861
4019
|
/**
|
|
3862
4020
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
3863
4021
|
* will be marked as unsuccessful.
|
|
@@ -3877,6 +4035,12 @@ export declare namespace LlmCreateParams {
|
|
|
3877
4035
|
* Type of the variable to extract.
|
|
3878
4036
|
*/
|
|
3879
4037
|
type: 'number';
|
|
4038
|
+
/**
|
|
4039
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
4040
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
4041
|
+
* this is ignored.
|
|
4042
|
+
*/
|
|
4043
|
+
conditional_prompt?: string;
|
|
3880
4044
|
/**
|
|
3881
4045
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
3882
4046
|
* will be marked as unsuccessful.
|
|
@@ -4582,6 +4746,23 @@ export declare namespace LlmUpdateParams {
|
|
|
4582
4746
|
* to call the tool.
|
|
4583
4747
|
*/
|
|
4584
4748
|
description?: string;
|
|
4749
|
+
/**
|
|
4750
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
4751
|
+
* speak_during_execution is true.
|
|
4752
|
+
*/
|
|
4753
|
+
execution_message_description?: string;
|
|
4754
|
+
/**
|
|
4755
|
+
* Type of execution message. "prompt" means the agent will use
|
|
4756
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
4757
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
4758
|
+
* to "prompt".
|
|
4759
|
+
*/
|
|
4760
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
4761
|
+
/**
|
|
4762
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
4763
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
4764
|
+
*/
|
|
4765
|
+
speak_during_execution?: boolean;
|
|
4585
4766
|
}
|
|
4586
4767
|
namespace SendSMSTool {
|
|
4587
4768
|
interface SMSContentPredefined {
|
|
@@ -4802,6 +4983,12 @@ export declare namespace LlmUpdateParams {
|
|
|
4802
4983
|
* Type of the variable to extract.
|
|
4803
4984
|
*/
|
|
4804
4985
|
type: 'string';
|
|
4986
|
+
/**
|
|
4987
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
4988
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
4989
|
+
* this is ignored.
|
|
4990
|
+
*/
|
|
4991
|
+
conditional_prompt?: string;
|
|
4805
4992
|
/**
|
|
4806
4993
|
* Examples of the variable value to teach model the style and syntax.
|
|
4807
4994
|
*/
|
|
@@ -4829,6 +5016,12 @@ export declare namespace LlmUpdateParams {
|
|
|
4829
5016
|
* Type of the variable to extract.
|
|
4830
5017
|
*/
|
|
4831
5018
|
type: 'enum';
|
|
5019
|
+
/**
|
|
5020
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
5021
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
5022
|
+
* this is ignored.
|
|
5023
|
+
*/
|
|
5024
|
+
conditional_prompt?: string;
|
|
4832
5025
|
/**
|
|
4833
5026
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
4834
5027
|
* will be marked as unsuccessful.
|
|
@@ -4848,6 +5041,12 @@ export declare namespace LlmUpdateParams {
|
|
|
4848
5041
|
* Type of the variable to extract.
|
|
4849
5042
|
*/
|
|
4850
5043
|
type: 'boolean';
|
|
5044
|
+
/**
|
|
5045
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
5046
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
5047
|
+
* this is ignored.
|
|
5048
|
+
*/
|
|
5049
|
+
conditional_prompt?: string;
|
|
4851
5050
|
/**
|
|
4852
5051
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
4853
5052
|
* will be marked as unsuccessful.
|
|
@@ -4867,6 +5066,12 @@ export declare namespace LlmUpdateParams {
|
|
|
4867
5066
|
* Type of the variable to extract.
|
|
4868
5067
|
*/
|
|
4869
5068
|
type: 'number';
|
|
5069
|
+
/**
|
|
5070
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
5071
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
5072
|
+
* this is ignored.
|
|
5073
|
+
*/
|
|
5074
|
+
conditional_prompt?: string;
|
|
4870
5075
|
/**
|
|
4871
5076
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
4872
5077
|
* will be marked as unsuccessful.
|
|
@@ -5574,6 +5779,23 @@ export declare namespace LlmUpdateParams {
|
|
|
5574
5779
|
* to call the tool.
|
|
5575
5780
|
*/
|
|
5576
5781
|
description?: string;
|
|
5782
|
+
/**
|
|
5783
|
+
* Describes what to say before sending the SMS. Only applicable when
|
|
5784
|
+
* speak_during_execution is true.
|
|
5785
|
+
*/
|
|
5786
|
+
execution_message_description?: string;
|
|
5787
|
+
/**
|
|
5788
|
+
* Type of execution message. "prompt" means the agent will use
|
|
5789
|
+
* execution_message_description as a prompt to generate the message. "static_text"
|
|
5790
|
+
* means the agent will speak the execution_message_description directly. Defaults
|
|
5791
|
+
* to "prompt".
|
|
5792
|
+
*/
|
|
5793
|
+
execution_message_type?: 'prompt' | 'static_text';
|
|
5794
|
+
/**
|
|
5795
|
+
* If true, the agent will speak a short line before sending the SMS. If omitted,
|
|
5796
|
+
* defaults to true (same as end_call / transfer_call tools).
|
|
5797
|
+
*/
|
|
5798
|
+
speak_during_execution?: boolean;
|
|
5577
5799
|
}
|
|
5578
5800
|
namespace SendSMSTool {
|
|
5579
5801
|
interface SMSContentPredefined {
|
|
@@ -5794,6 +6016,12 @@ export declare namespace LlmUpdateParams {
|
|
|
5794
6016
|
* Type of the variable to extract.
|
|
5795
6017
|
*/
|
|
5796
6018
|
type: 'string';
|
|
6019
|
+
/**
|
|
6020
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
6021
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
6022
|
+
* this is ignored.
|
|
6023
|
+
*/
|
|
6024
|
+
conditional_prompt?: string;
|
|
5797
6025
|
/**
|
|
5798
6026
|
* Examples of the variable value to teach model the style and syntax.
|
|
5799
6027
|
*/
|
|
@@ -5821,6 +6049,12 @@ export declare namespace LlmUpdateParams {
|
|
|
5821
6049
|
* Type of the variable to extract.
|
|
5822
6050
|
*/
|
|
5823
6051
|
type: 'enum';
|
|
6052
|
+
/**
|
|
6053
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
6054
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
6055
|
+
* this is ignored.
|
|
6056
|
+
*/
|
|
6057
|
+
conditional_prompt?: string;
|
|
5824
6058
|
/**
|
|
5825
6059
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
5826
6060
|
* will be marked as unsuccessful.
|
|
@@ -5840,6 +6074,12 @@ export declare namespace LlmUpdateParams {
|
|
|
5840
6074
|
* Type of the variable to extract.
|
|
5841
6075
|
*/
|
|
5842
6076
|
type: 'boolean';
|
|
6077
|
+
/**
|
|
6078
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
6079
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
6080
|
+
* this is ignored.
|
|
6081
|
+
*/
|
|
6082
|
+
conditional_prompt?: string;
|
|
5843
6083
|
/**
|
|
5844
6084
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
5845
6085
|
* will be marked as unsuccessful.
|
|
@@ -5859,6 +6099,12 @@ export declare namespace LlmUpdateParams {
|
|
|
5859
6099
|
* Type of the variable to extract.
|
|
5860
6100
|
*/
|
|
5861
6101
|
type: 'number';
|
|
6102
|
+
/**
|
|
6103
|
+
* Optional instruction to help decide whether this field needs to be populated in
|
|
6104
|
+
* the analysis. If not set, the field is always included. If required is true,
|
|
6105
|
+
* this is ignored.
|
|
6106
|
+
*/
|
|
6107
|
+
conditional_prompt?: string;
|
|
5862
6108
|
/**
|
|
5863
6109
|
* Whether this data is required. If true and the data is not extracted, the call
|
|
5864
6110
|
* will be marked as unsuccessful.
|