telnyx 5.69.0 → 5.71.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.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/internal/util.rb +3 -1
  5. data/lib/telnyx/models/ai/assistant.rb +6 -149
  6. data/lib/telnyx/models/ai/assistant_create_params.rb +3 -42
  7. data/lib/telnyx/models/ai/assistant_update_params.rb +3 -42
  8. data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -43
  9. data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
  10. data/lib/telnyx/models/ai/inference_embedding.rb +3 -43
  11. data/lib/telnyx/models/ai/observability.rb +46 -0
  12. data/lib/telnyx/models/ai/observability_req.rb +46 -0
  13. data/lib/telnyx/models/book_appointment_tool.rb +31 -0
  14. data/lib/telnyx/models/book_appointment_tool_params.rb +51 -0
  15. data/lib/telnyx/models/call_assistant_request.rb +176 -0
  16. data/lib/telnyx/models/call_control_bucket_ids.rb +23 -0
  17. data/lib/telnyx/models/call_control_retrieval_tool.rb +31 -0
  18. data/lib/telnyx/models/call_dial_params.rb +34 -1
  19. data/lib/telnyx/models/calls/action_answer_params.rb +11 -1
  20. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +6 -39
  21. data/lib/telnyx/models/calls/action_transfer_params.rb +24 -1
  22. data/lib/telnyx/models/check_availability_tool.rb +31 -0
  23. data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
  24. data/lib/telnyx/models/enterprise_create_params.rb +1 -1
  25. data/lib/telnyx/models/enterprise_public.rb +1 -1
  26. data/lib/telnyx/models/enterprise_update_params.rb +1 -1
  27. data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb} +2 -2
  28. data/lib/telnyx/models/enterprises/reputation/{number_create_response.rb → number_associate_response.rb} +5 -5
  29. data/lib/telnyx/models/enterprises/reputation/{number_delete_params.rb → number_disassociate_params.rb} +2 -2
  30. data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb} +2 -2
  31. data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb} +6 -6
  32. data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb} +2 -2
  33. data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb} +2 -2
  34. data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb} +2 -2
  35. data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +9 -9
  36. data/lib/telnyx/models/pronunciation_dict_alias_item.rb +51 -0
  37. data/lib/telnyx/models/pronunciation_dict_create_params.rb +5 -93
  38. data/lib/telnyx/models/pronunciation_dict_create_response.rb +3 -191
  39. data/lib/telnyx/models/pronunciation_dict_data.rb +101 -0
  40. data/lib/telnyx/models/pronunciation_dict_phoneme_item.rb +71 -0
  41. data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +3 -191
  42. data/lib/telnyx/models/pronunciation_dict_update_params.rb +5 -93
  43. data/lib/telnyx/models/pronunciation_dict_update_response.rb +3 -191
  44. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +203 -191
  45. data/lib/telnyx/models/voice_clone_create_from_design_params.rb +3 -3
  46. data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +371 -71
  47. data/lib/telnyx/models/voice_clone_create_params.rb +161 -51
  48. data/lib/telnyx/models/voice_clone_data.rb +51 -4
  49. data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb +26 -0
  50. data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb +54 -0
  51. data/lib/telnyx/models.rb +20 -0
  52. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  53. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  54. data/lib/telnyx/resources/calls/actions.rb +7 -3
  55. data/lib/telnyx/resources/calls.rb +5 -1
  56. data/lib/telnyx/resources/enterprises/reputation/numbers.rb +42 -42
  57. data/lib/telnyx/resources/enterprises/reputation.rb +61 -61
  58. data/lib/telnyx/resources/pronunciation_dicts.rb +4 -4
  59. data/lib/telnyx/resources/texml/accounts/calls.rb +3 -3
  60. data/lib/telnyx/resources/voice_clones.rb +7 -27
  61. data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
  62. data/lib/telnyx/version.rb +1 -1
  63. data/lib/telnyx.rb +22 -9
  64. data/rbi/telnyx/models/ai/assistant.rbi +15 -329
  65. data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -121
  66. data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -121
  67. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -123
  68. data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
  69. data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -123
  70. data/rbi/telnyx/models/ai/observability.rbi +90 -0
  71. data/rbi/telnyx/models/ai/observability_req.rbi +92 -0
  72. data/rbi/telnyx/models/book_appointment_tool.rbi +65 -0
  73. data/rbi/telnyx/models/book_appointment_tool_params.rbi +83 -0
  74. data/rbi/telnyx/models/call_assistant_request.rbi +322 -0
  75. data/rbi/telnyx/models/call_control_bucket_ids.rbi +42 -0
  76. data/rbi/telnyx/models/call_control_retrieval_tool.rbi +63 -0
  77. data/rbi/telnyx/models/call_dial_params.rbi +52 -0
  78. data/rbi/telnyx/models/calls/action_answer_params.rbi +15 -0
  79. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +10 -77
  80. data/rbi/telnyx/models/calls/action_transfer_params.rbi +57 -0
  81. data/rbi/telnyx/models/check_availability_tool.rbi +67 -0
  82. data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
  83. data/rbi/telnyx/models/enterprise_create_params.rbi +1 -1
  84. data/rbi/telnyx/models/enterprise_public.rbi +1 -1
  85. data/rbi/telnyx/models/enterprise_update_params.rbi +1 -1
  86. data/rbi/telnyx/models/enterprises/reputation/{number_create_params.rbi → number_associate_params.rbi} +2 -2
  87. data/rbi/telnyx/models/enterprises/reputation/{number_create_response.rbi → number_associate_response.rbi} +7 -7
  88. data/rbi/telnyx/models/enterprises/reputation/{number_delete_params.rbi → number_disassociate_params.rbi} +2 -2
  89. data/rbi/telnyx/models/enterprises/{reputation_list_params.rbi → reputation_disable_params.rbi} +2 -2
  90. data/rbi/telnyx/models/enterprises/{reputation_create_params.rbi → reputation_enable_params.rbi} +14 -14
  91. data/rbi/telnyx/models/enterprises/{reputation_create_response.rbi → reputation_enable_response.rbi} +2 -2
  92. data/rbi/telnyx/models/enterprises/{reputation_delete_all_params.rbi → reputation_retrieve_params.rbi} +2 -2
  93. data/rbi/telnyx/models/enterprises/{reputation_list_response.rbi → reputation_retrieve_response.rbi} +2 -2
  94. data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +34 -34
  95. data/rbi/telnyx/models/pronunciation_dict_alias_item.rbi +79 -0
  96. data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +8 -154
  97. data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +6 -366
  98. data/rbi/telnyx/models/pronunciation_dict_data.rbi +186 -0
  99. data/rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi +117 -0
  100. data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +6 -366
  101. data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +10 -156
  102. data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +6 -366
  103. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +391 -403
  104. data/rbi/telnyx/models/voice_clone_create_from_design_params.rbi +10 -10
  105. data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +711 -134
  106. data/rbi/telnyx/models/voice_clone_create_params.rbi +345 -79
  107. data/rbi/telnyx/models/voice_clone_data.rbi +77 -4
  108. data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi +47 -0
  109. data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi +118 -0
  110. data/rbi/telnyx/models.rbi +20 -0
  111. data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
  112. data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
  113. data/rbi/telnyx/resources/calls/actions.rbi +14 -3
  114. data/rbi/telnyx/resources/calls.rbi +10 -0
  115. data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +34 -34
  116. data/rbi/telnyx/resources/enterprises/reputation.rbi +44 -44
  117. data/rbi/telnyx/resources/pronunciation_dicts.rbi +5 -7
  118. data/rbi/telnyx/resources/texml/accounts/calls.rbi +5 -5
  119. data/rbi/telnyx/resources/voice_clones.rbi +17 -41
  120. data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +16 -0
  121. data/sig/telnyx/models/ai/assistant.rbs +3 -142
  122. data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -59
  123. data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -59
  124. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -59
  125. data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
  126. data/sig/telnyx/models/ai/inference_embedding.rbs +6 -59
  127. data/sig/telnyx/models/ai/observability.rbs +58 -0
  128. data/sig/telnyx/models/ai/observability_req.rbs +58 -0
  129. data/sig/telnyx/models/book_appointment_tool.rbs +35 -0
  130. data/sig/telnyx/models/book_appointment_tool_params.rbs +39 -0
  131. data/sig/telnyx/models/call_assistant_request.rbs +132 -0
  132. data/sig/telnyx/models/call_control_bucket_ids.rbs +21 -0
  133. data/sig/telnyx/models/call_control_retrieval_tool.rbs +35 -0
  134. data/sig/telnyx/models/call_dial_params.rbs +29 -0
  135. data/sig/telnyx/models/calls/action_answer_params.rbs +9 -0
  136. data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +6 -35
  137. data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
  138. data/sig/telnyx/models/check_availability_tool.rbs +35 -0
  139. data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
  140. data/sig/telnyx/models/enterprise_create_params.rbs +1 -1
  141. data/sig/telnyx/models/enterprise_public.rbs +1 -1
  142. data/sig/telnyx/models/enterprise_update_params.rbs +1 -1
  143. data/sig/telnyx/models/enterprises/reputation/{number_create_params.rbs → number_associate_params.rbs} +2 -2
  144. data/sig/telnyx/models/enterprises/reputation/{number_create_response.rbs → number_associate_response.rbs} +8 -8
  145. data/sig/telnyx/models/enterprises/reputation/{number_delete_params.rbs → number_disassociate_params.rbs} +2 -2
  146. data/sig/telnyx/models/enterprises/{reputation_list_params.rbs → reputation_disable_params.rbs} +2 -2
  147. data/sig/telnyx/models/enterprises/{reputation_create_params.rbs → reputation_enable_params.rbs} +9 -9
  148. data/sig/telnyx/models/enterprises/{reputation_create_response.rbs → reputation_enable_response.rbs} +2 -2
  149. data/sig/telnyx/models/enterprises/{reputation_delete_all_params.rbs → reputation_retrieve_params.rbs} +2 -2
  150. data/sig/telnyx/models/enterprises/{reputation_list_response.rbs → reputation_retrieve_response.rbs} +2 -2
  151. data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +9 -9
  152. data/sig/telnyx/models/pronunciation_dict_alias_item.rbs +40 -0
  153. data/sig/telnyx/models/pronunciation_dict_create_params.rbs +2 -58
  154. data/sig/telnyx/models/pronunciation_dict_create_response.rbs +6 -155
  155. data/sig/telnyx/models/pronunciation_dict_data.rbs +88 -0
  156. data/sig/telnyx/models/pronunciation_dict_phoneme_item.rbs +55 -0
  157. data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +6 -155
  158. data/sig/telnyx/models/pronunciation_dict_update_params.rbs +2 -58
  159. data/sig/telnyx/models/pronunciation_dict_update_response.rbs +6 -155
  160. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +317 -325
  161. data/sig/telnyx/models/voice_clone_create_from_design_params.rbs +7 -7
  162. data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +269 -56
  163. data/sig/telnyx/models/voice_clone_create_params.rbs +129 -44
  164. data/sig/telnyx/models/voice_clone_data.rbs +43 -0
  165. data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs +30 -0
  166. data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs +63 -0
  167. data/sig/telnyx/models.rbs +20 -0
  168. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
  169. data/sig/telnyx/resources/ai/assistants.rbs +2 -2
  170. data/sig/telnyx/resources/calls/actions.rbs +3 -1
  171. data/sig/telnyx/resources/calls.rbs +2 -0
  172. data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +7 -7
  173. data/sig/telnyx/resources/enterprises/reputation.rbs +8 -8
  174. data/sig/telnyx/resources/pronunciation_dicts.rbs +1 -1
  175. data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
  176. data/sig/telnyx/resources/voice_clones.rbs +2 -12
  177. data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
  178. metadata +68 -29
  179. data/lib/telnyx/models/pronunciation_dict_list_response.rb +0 -190
  180. data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +0 -353
  181. data/sig/telnyx/models/pronunciation_dict_list_response.rbs +0 -144
@@ -7,70 +7,180 @@ module Telnyx
7
7
  extend Telnyx::Internal::Type::RequestParameters::Converter
8
8
  include Telnyx::Internal::Type::RequestParameters
9
9
 
10
- # @!attribute gender
11
- # Gender of the voice clone.
10
+ # @!attribute params
11
+ # Request body for creating a voice clone from an existing voice design.
12
12
  #
13
- # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Gender]
14
- required :gender, enum: -> { Telnyx::VoiceCloneCreateParams::Gender }
13
+ # @return [Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone]
14
+ required :params, union: -> { Telnyx::VoiceCloneCreateParams::Params }
15
15
 
16
- # @!attribute language
17
- # ISO 639-1 language code for the clone (e.g. `en`, `fr`, `de`).
16
+ # @!method initialize(params:, request_options: {})
17
+ # @param params [Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone] Request body for creating a voice clone from an existing voice design.
18
18
  #
19
- # @return [String]
20
- required :language, String
19
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
21
20
 
22
- # @!attribute name
23
- # Name for the voice clone.
24
- #
25
- # @return [String]
26
- required :name, String
21
+ # Request body for creating a voice clone from an existing voice design.
22
+ module Params
23
+ extend Telnyx::Internal::Type::Union
27
24
 
28
- # @!attribute voice_design_id
29
- # UUID of the source voice design to clone.
30
- #
31
- # @return [String]
32
- required :voice_design_id, String
25
+ discriminator :provider
33
26
 
34
- # @!attribute provider
35
- # Voice synthesis provider. Case-insensitive. Defaults to `telnyx`.
36
- #
37
- # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Provider, nil]
38
- optional :provider, enum: -> { Telnyx::VoiceCloneCreateParams::Provider }
27
+ # Create a voice clone from a voice design using the Telnyx provider.
28
+ variant -> { Telnyx::VoiceCloneCreateParams::Params::TelnyxDesignClone }
39
29
 
40
- # @!method initialize(gender:, language:, name:, voice_design_id:, provider: nil, request_options: {})
41
- # @param gender [Symbol, Telnyx::Models::VoiceCloneCreateParams::Gender] Gender of the voice clone.
42
- #
43
- # @param language [String] ISO 639-1 language code for the clone (e.g. `en`, `fr`, `de`).
44
- #
45
- # @param name [String] Name for the voice clone.
46
- #
47
- # @param voice_design_id [String] UUID of the source voice design to clone.
48
- #
49
- # @param provider [Symbol, Telnyx::Models::VoiceCloneCreateParams::Provider] Voice synthesis provider. Case-insensitive. Defaults to `telnyx`.
50
- #
51
- # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
30
+ # Create a voice clone from a voice design using the Minimax provider.
31
+ variant -> { Telnyx::VoiceCloneCreateParams::Params::MinimaxDesignClone }
52
32
 
53
- # Gender of the voice clone.
54
- module Gender
55
- extend Telnyx::Internal::Type::Enum
33
+ class TelnyxDesignClone < Telnyx::Internal::Type::BaseModel
34
+ # @!attribute gender
35
+ # Gender of the voice clone.
36
+ #
37
+ # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone::Gender]
38
+ required :gender, enum: -> { Telnyx::VoiceCloneCreateParams::Params::TelnyxDesignClone::Gender }
56
39
 
57
- MALE = :male
58
- FEMALE = :female
59
- NEUTRAL = :neutral
40
+ # @!attribute language
41
+ # ISO 639-1 language code for the clone. Supports the combined Telnyx language
42
+ # set.
43
+ #
44
+ # @return [String]
45
+ required :language, String
60
46
 
61
- # @!method self.values
62
- # @return [Array<Symbol>]
63
- end
47
+ # @!attribute name
48
+ # Name for the voice clone.
49
+ #
50
+ # @return [String]
51
+ required :name, String
52
+
53
+ # @!attribute voice_design_id
54
+ # UUID of the source voice design to clone.
55
+ #
56
+ # @return [String]
57
+ required :voice_design_id, String
58
+
59
+ # @!attribute provider
60
+ # Voice synthesis provider. Defaults to `telnyx`.
61
+ #
62
+ # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone::Provider, nil]
63
+ optional :provider, enum: -> { Telnyx::VoiceCloneCreateParams::Params::TelnyxDesignClone::Provider }
64
+
65
+ # @!method initialize(gender:, language:, name:, voice_design_id:, provider: nil)
66
+ # Some parameter documentations has been truncated, see
67
+ # {Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone} for more
68
+ # details.
69
+ #
70
+ # Create a voice clone from a voice design using the Telnyx provider.
71
+ #
72
+ # @param gender [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone::Gender] Gender of the voice clone.
73
+ #
74
+ # @param language [String] ISO 639-1 language code for the clone. Supports the combined Telnyx language set
75
+ #
76
+ # @param name [String] Name for the voice clone.
77
+ #
78
+ # @param voice_design_id [String] UUID of the source voice design to clone.
79
+ #
80
+ # @param provider [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone::Provider] Voice synthesis provider. Defaults to `telnyx`.
81
+
82
+ # Gender of the voice clone.
83
+ #
84
+ # @see Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone#gender
85
+ module Gender
86
+ extend Telnyx::Internal::Type::Enum
87
+
88
+ MALE = :male
89
+ FEMALE = :female
90
+ NEUTRAL = :neutral
91
+
92
+ # @!method self.values
93
+ # @return [Array<Symbol>]
94
+ end
95
+
96
+ # Voice synthesis provider. Defaults to `telnyx`.
97
+ #
98
+ # @see Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone#provider
99
+ module Provider
100
+ extend Telnyx::Internal::Type::Enum
101
+
102
+ TELNYX = :telnyx
103
+ MINIMAX = :minimax
104
+
105
+ # @!method self.values
106
+ # @return [Array<Symbol>]
107
+ end
108
+ end
109
+
110
+ class MinimaxDesignClone < Telnyx::Internal::Type::BaseModel
111
+ # @!attribute gender
112
+ # Gender of the voice clone.
113
+ #
114
+ # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone::Gender]
115
+ required :gender, enum: -> { Telnyx::VoiceCloneCreateParams::Params::MinimaxDesignClone::Gender }
116
+
117
+ # @!attribute language
118
+ # ISO 639-1 language code for the clone. Supports the Minimax language set.
119
+ #
120
+ # @return [String]
121
+ required :language, String
122
+
123
+ # @!attribute name
124
+ # Name for the voice clone.
125
+ #
126
+ # @return [String]
127
+ required :name, String
128
+
129
+ # @!attribute provider
130
+ # Voice synthesis provider. Must be `minimax`.
131
+ #
132
+ # @return [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone::Provider]
133
+ required :provider, enum: -> { Telnyx::VoiceCloneCreateParams::Params::MinimaxDesignClone::Provider }
134
+
135
+ # @!attribute voice_design_id
136
+ # UUID of the source voice design to clone.
137
+ #
138
+ # @return [String]
139
+ required :voice_design_id, String
140
+
141
+ # @!method initialize(gender:, language:, name:, provider:, voice_design_id:)
142
+ # Create a voice clone from a voice design using the Minimax provider.
143
+ #
144
+ # @param gender [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone::Gender] Gender of the voice clone.
145
+ #
146
+ # @param language [String] ISO 639-1 language code for the clone. Supports the Minimax language set.
147
+ #
148
+ # @param name [String] Name for the voice clone.
149
+ #
150
+ # @param provider [Symbol, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone::Provider] Voice synthesis provider. Must be `minimax`.
151
+ #
152
+ # @param voice_design_id [String] UUID of the source voice design to clone.
153
+
154
+ # Gender of the voice clone.
155
+ #
156
+ # @see Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone#gender
157
+ module Gender
158
+ extend Telnyx::Internal::Type::Enum
159
+
160
+ MALE = :male
161
+ FEMALE = :female
162
+ NEUTRAL = :neutral
163
+
164
+ # @!method self.values
165
+ # @return [Array<Symbol>]
166
+ end
167
+
168
+ # Voice synthesis provider. Must be `minimax`.
169
+ #
170
+ # @see Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone#provider
171
+ module Provider
172
+ extend Telnyx::Internal::Type::Enum
64
173
 
65
- # Voice synthesis provider. Case-insensitive. Defaults to `telnyx`.
66
- module Provider
67
- extend Telnyx::Internal::Type::Enum
174
+ TELNYX = :telnyx
175
+ MINIMAX = :minimax
68
176
 
69
- TELNYX = :telnyx
70
- MINIMAX = :minimax
177
+ # @!method self.values
178
+ # @return [Array<Symbol>]
179
+ end
180
+ end
71
181
 
72
- # @!method self.values
73
- # @return [Array<Symbol>]
182
+ # @!method self.variants
183
+ # @return [Array(Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone, Telnyx::Models::VoiceCloneCreateParams::Params::MinimaxDesignClone)]
74
184
  end
75
185
  end
76
186
  end
@@ -35,6 +35,12 @@ module Telnyx
35
35
  # @return [String, nil]
36
36
  optional :language, String, nil?: true
37
37
 
38
+ # @!attribute model_id
39
+ # TTS model identifier for the voice clone.
40
+ #
41
+ # @return [Symbol, Telnyx::Models::VoiceCloneData::ModelID, nil]
42
+ optional :model_id, enum: -> { Telnyx::VoiceCloneData::ModelID }
43
+
38
44
  # @!attribute name
39
45
  # Name of the voice clone.
40
46
  #
@@ -54,8 +60,8 @@ module Telnyx
54
60
  optional :provider_supported_models, Telnyx::Internal::Type::ArrayOf[String]
55
61
 
56
62
  # @!attribute provider_voice_id
57
- # Provider-specific voice identifier used for TTS synthesis. For Telnyx clones
58
- # this equals the clone ID; for Minimax it is the Minimax-assigned voice ID.
63
+ # Provider-specific voice identifier used for TTS synthesis. May differ from the
64
+ # clone UUID depending on the provider and model.
59
65
  #
60
66
  # @return [String, nil]
61
67
  optional :provider_voice_id, String, nil?: true
@@ -78,13 +84,20 @@ module Telnyx
78
84
  # @return [Integer, nil]
79
85
  optional :source_voice_design_version, Integer, nil?: true
80
86
 
87
+ # @!attribute status
88
+ # Clone status. pending for Ultra clones while on-prem import is in progress,
89
+ # active once ready, failed if verification timed out, expired if not kept alive.
90
+ #
91
+ # @return [Symbol, Telnyx::Models::VoiceCloneData::Status, nil]
92
+ optional :status, enum: -> { Telnyx::VoiceCloneData::Status }
93
+
81
94
  # @!attribute updated_at
82
95
  # Timestamp when the voice clone was last updated.
83
96
  #
84
97
  # @return [Time, nil]
85
98
  optional :updated_at, Time
86
99
 
87
- # @!method initialize(id: nil, created_at: nil, gender: nil, label: nil, language: nil, name: nil, provider: nil, provider_supported_models: nil, provider_voice_id: nil, record_type: nil, source_voice_design_id: nil, source_voice_design_version: nil, updated_at: nil)
100
+ # @!method initialize(id: nil, created_at: nil, gender: nil, label: nil, language: nil, model_id: nil, name: nil, provider: nil, provider_supported_models: nil, provider_voice_id: nil, record_type: nil, source_voice_design_id: nil, source_voice_design_version: nil, status: nil, updated_at: nil)
88
101
  # Some parameter documentations has been truncated, see
89
102
  # {Telnyx::Models::VoiceCloneData} for more details.
90
103
  #
@@ -100,13 +113,15 @@ module Telnyx
100
113
  #
101
114
  # @param language [String, nil] ISO 639-1 language code of the voice clone.
102
115
  #
116
+ # @param model_id [Symbol, Telnyx::Models::VoiceCloneData::ModelID] TTS model identifier for the voice clone.
117
+ #
103
118
  # @param name [String] Name of the voice clone.
104
119
  #
105
120
  # @param provider [Symbol, Telnyx::Models::VoiceCloneData::Provider] Voice synthesis provider used for this clone.
106
121
  #
107
122
  # @param provider_supported_models [Array<String>] List of TTS model identifiers supported by this clone's provider.
108
123
  #
109
- # @param provider_voice_id [String, nil] Provider-specific voice identifier used for TTS synthesis. For Telnyx clones thi
124
+ # @param provider_voice_id [String, nil] Provider-specific voice identifier used for TTS synthesis. May differ from the c
110
125
  #
111
126
  # @param record_type [Symbol, Telnyx::Models::VoiceCloneData::RecordType] Identifies the resource type.
112
127
  #
@@ -114,6 +129,8 @@ module Telnyx
114
129
  #
115
130
  # @param source_voice_design_version [Integer, nil] Version of the source voice design used. `null` for upload-based clones.
116
131
  #
132
+ # @param status [Symbol, Telnyx::Models::VoiceCloneData::Status] Clone status. pending for Ultra clones while on-prem import is in progress, acti
133
+ #
117
134
  # @param updated_at [Time] Timestamp when the voice clone was last updated.
118
135
 
119
136
  # Gender of the voice clone.
@@ -130,6 +147,20 @@ module Telnyx
130
147
  # @return [Array<Symbol>]
131
148
  end
132
149
 
150
+ # TTS model identifier for the voice clone.
151
+ #
152
+ # @see Telnyx::Models::VoiceCloneData#model_id
153
+ module ModelID
154
+ extend Telnyx::Internal::Type::Enum
155
+
156
+ QWEN3_TTS = :Qwen3TTS
157
+ ULTRA = :Ultra
158
+ SPEECH_2_8_TURBO = :"speech-2.8-turbo"
159
+
160
+ # @!method self.values
161
+ # @return [Array<Symbol>]
162
+ end
163
+
133
164
  # Voice synthesis provider used for this clone.
134
165
  #
135
166
  # @see Telnyx::Models::VoiceCloneData#provider
@@ -154,6 +185,22 @@ module Telnyx
154
185
  # @!method self.values
155
186
  # @return [Array<Symbol>]
156
187
  end
188
+
189
+ # Clone status. pending for Ultra clones while on-prem import is in progress,
190
+ # active once ready, failed if verification timed out, expired if not kept alive.
191
+ #
192
+ # @see Telnyx::Models::VoiceCloneData#status
193
+ module Status
194
+ extend Telnyx::Internal::Type::Enum
195
+
196
+ ACTIVE = :active
197
+ PENDING = :pending
198
+ FAILED = :failed
199
+ EXPIRED = :expired
200
+
201
+ # @!method self.values
202
+ # @return [Array<Symbol>]
203
+ end
157
204
  end
158
205
  end
159
206
  end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Whatsapp
6
+ module PhoneNumbers
7
+ module Profile
8
+ # @see Telnyx::Resources::Whatsapp::PhoneNumbers::Profile::Photo#retrieve
9
+ class PhotoRetrieveParams < Telnyx::Internal::Type::BaseModel
10
+ extend Telnyx::Internal::Type::RequestParameters::Converter
11
+ include Telnyx::Internal::Type::RequestParameters
12
+
13
+ # @!attribute phone_number
14
+ #
15
+ # @return [String]
16
+ required :phone_number, String
17
+
18
+ # @!method initialize(phone_number:, request_options: {})
19
+ # @param phone_number [String]
20
+ # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Whatsapp
6
+ module PhoneNumbers
7
+ module Profile
8
+ # @see Telnyx::Resources::Whatsapp::PhoneNumbers::Profile::Photo#retrieve
9
+ class PhotoRetrieveResponse < Telnyx::Internal::Type::BaseModel
10
+ # @!attribute data
11
+ #
12
+ # @return [Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data, nil]
13
+ optional :data, -> { Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data }
14
+
15
+ # @!method initialize(data: nil)
16
+ # @param data [Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data]
17
+
18
+ # @see Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse#data
19
+ class Data < Telnyx::Internal::Type::BaseModel
20
+ # @!attribute phone_number_id
21
+ # Meta phone number ID
22
+ #
23
+ # @return [String, nil]
24
+ optional :phone_number_id, String
25
+
26
+ # @!attribute profile_photo_url
27
+ # URL of the business profile photo (served by Meta's CDN). May be empty if no
28
+ # photo is set.
29
+ #
30
+ # @return [String, nil]
31
+ optional :profile_photo_url, String
32
+
33
+ # @!attribute record_type
34
+ #
35
+ # @return [String, nil]
36
+ optional :record_type, String
37
+
38
+ # @!method initialize(phone_number_id: nil, profile_photo_url: nil, record_type: nil)
39
+ # Some parameter documentations has been truncated, see
40
+ # {Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data}
41
+ # for more details.
42
+ #
43
+ # @param phone_number_id [String] Meta phone number ID
44
+ #
45
+ # @param profile_photo_url [String] URL of the business profile photo (served by Meta's CDN). May be empty if no pho
46
+ #
47
+ # @param record_type [String]
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
data/lib/telnyx/models.rb CHANGED
@@ -147,6 +147,10 @@ module Telnyx
147
147
 
148
148
  BillingGroupUpdateParams = Telnyx::Models::BillingGroupUpdateParams
149
149
 
150
+ BookAppointmentTool = Telnyx::Models::BookAppointmentTool
151
+
152
+ BookAppointmentToolParams = Telnyx::Models::BookAppointmentToolParams
153
+
150
154
  BulkMessagingSettingsUpdatePhoneNumbers = Telnyx::Models::BulkMessagingSettingsUpdatePhoneNumbers
151
155
 
152
156
  BulkSimCardActionListParams = Telnyx::Models::BulkSimCardActionListParams
@@ -172,6 +176,8 @@ module Telnyx
172
176
 
173
177
  CallAnsweredWebhookEvent = Telnyx::Models::CallAnsweredWebhookEvent
174
178
 
179
+ CallAssistantRequest = Telnyx::Models::CallAssistantRequest
180
+
175
181
  CallBridged = Telnyx::Models::CallBridged
176
182
 
177
183
  CallBridgedWebhookEvent = Telnyx::Models::CallBridgedWebhookEvent
@@ -192,6 +198,10 @@ module Telnyx
192
198
 
193
199
  CallControlApplicationUpdateParams = Telnyx::Models::CallControlApplicationUpdateParams
194
200
 
201
+ CallControlBucketIDs = Telnyx::Models::CallControlBucketIDs
202
+
203
+ CallControlRetrievalTool = Telnyx::Models::CallControlRetrievalTool
204
+
195
205
  CallConversationEnded = Telnyx::Models::CallConversationEnded
196
206
 
197
207
  CallConversationEndedWebhookEvent = Telnyx::Models::CallConversationEndedWebhookEvent
@@ -334,6 +344,10 @@ module Telnyx
334
344
 
335
345
  ChargesSummaryRetrieveParams = Telnyx::Models::ChargesSummaryRetrieveParams
336
346
 
347
+ CheckAvailabilityTool = Telnyx::Models::CheckAvailabilityTool
348
+
349
+ CheckAvailabilityToolParams = Telnyx::Models::CheckAvailabilityToolParams
350
+
337
351
  CloudflareSyncStatus = Telnyx::Models::CloudflareSyncStatus
338
352
 
339
353
  Comment = Telnyx::Models::Comment
@@ -1239,12 +1253,18 @@ module Telnyx
1239
1253
 
1240
1254
  PrivateWirelessGatewayStatus = Telnyx::Models::PrivateWirelessGatewayStatus
1241
1255
 
1256
+ PronunciationDictAliasItem = Telnyx::Models::PronunciationDictAliasItem
1257
+
1242
1258
  PronunciationDictCreateParams = Telnyx::Models::PronunciationDictCreateParams
1243
1259
 
1260
+ PronunciationDictData = Telnyx::Models::PronunciationDictData
1261
+
1244
1262
  PronunciationDictDeleteParams = Telnyx::Models::PronunciationDictDeleteParams
1245
1263
 
1246
1264
  PronunciationDictListParams = Telnyx::Models::PronunciationDictListParams
1247
1265
 
1266
+ PronunciationDictPhonemeItem = Telnyx::Models::PronunciationDictPhonemeItem
1267
+
1248
1268
  PronunciationDictRetrieveParams = Telnyx::Models::PronunciationDictRetrieveParams
1249
1269
 
1250
1270
  PronunciationDictUpdateParams = Telnyx::Models::PronunciationDictUpdateParams
@@ -71,7 +71,7 @@ module Telnyx
71
71
  #
72
72
  # @param name [String] Body param
73
73
  #
74
- # @param observability_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::ObservabilitySettings] Body param
74
+ # @param observability_settings [Telnyx::Models::AI::ObservabilityReq] Body param
75
75
  #
76
76
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings] Body param
77
77
  #
@@ -58,7 +58,7 @@ module Telnyx
58
58
  #
59
59
  # @param messaging_settings [Telnyx::Models::AI::MessagingSettings]
60
60
  #
61
- # @param observability_settings [Telnyx::Models::AI::AssistantCreateParams::ObservabilitySettings]
61
+ # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
62
62
  #
63
63
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
64
64
  #
@@ -147,7 +147,7 @@ module Telnyx
147
147
  #
148
148
  # @param name [String]
149
149
  #
150
- # @param observability_settings [Telnyx::Models::AI::AssistantUpdateParams::ObservabilitySettings]
150
+ # @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
151
151
  #
152
152
  # @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
153
153
  #
@@ -51,10 +51,12 @@ module Telnyx
51
51
  # When the `record` parameter is set to `record-from-answer`, the response will
52
52
  # include a `recording_id` field.
53
53
  #
54
- # @overload answer(call_control_id, billing_group_id: nil, client_state: nil, command_id: nil, custom_headers: nil, preferred_codecs: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_headers: nil, sound_modifications: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_track: nil, stream_url: nil, transcription: nil, transcription_config: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
54
+ # @overload answer(call_control_id, assistant: nil, billing_group_id: nil, client_state: nil, command_id: nil, custom_headers: nil, preferred_codecs: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_headers: nil, sound_modifications: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_track: nil, stream_url: nil, transcription: nil, transcription_config: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
55
55
  #
56
56
  # @param call_control_id [String] Unique identifier and token for controlling the call
57
57
  #
58
+ # @param assistant [Telnyx::Models::CallAssistantRequest] AI Assistant configuration. All fields except `id` are optional — the assistant'
59
+ #
58
60
  # @param billing_group_id [String] Use this field to set the Billing Group ID for the call. Must be a valid and exi
59
61
  #
60
62
  # @param client_state [String] Use this field to add state to every subsequent webhook. It must be a valid Base
@@ -884,7 +886,7 @@ module Telnyx
884
886
  #
885
887
  # @param call_control_id [String] Unique identifier and token for controlling the call
886
888
  #
887
- # @param assistant [Telnyx::Models::Calls::ActionStartAIAssistantParams::Assistant] AI Assistant configuration
889
+ # @param assistant [Telnyx::Models::CallAssistantRequest] AI Assistant configuration. All fields except `id` are optional — the assistant'
888
890
  #
889
891
  # @param client_state [String] Use this field to add state to every subsequent webhook. It must be a valid Base
890
892
  #
@@ -1613,7 +1615,7 @@ module Telnyx
1613
1615
  # - `call.machine.premium.greeting.ended` if `answering_machine_detection=premium`
1614
1616
  # was requested and a beep was detected
1615
1617
  #
1616
- # @overload transfer(call_control_id, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, client_state: nil, command_id: nil, custom_headers: nil, early_media: nil, from: nil, from_display_name: nil, media_encryption: nil, media_name: nil, mute_dtmf: nil, park_after_unbridge: nil, preferred_codecs: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, target_leg_client_state: nil, time_limit_secs: nil, timeout_secs: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
1618
+ # @overload transfer(call_control_id, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, client_state: nil, command_id: nil, custom_headers: nil, early_media: nil, from: nil, from_display_name: nil, media_encryption: nil, media_name: nil, mute_dtmf: nil, park_after_unbridge: nil, preferred_codecs: nil, privacy: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, target_leg_client_state: nil, time_limit_secs: nil, timeout_secs: nil, webhook_retries_policies: nil, webhook_url: nil, webhook_url_method: nil, webhook_urls: nil, webhook_urls_method: nil, request_options: {})
1617
1619
  #
1618
1620
  # @param call_control_id [String] Unique identifier and token for controlling the call
1619
1621
  #
@@ -1647,6 +1649,8 @@ module Telnyx
1647
1649
  #
1648
1650
  # @param preferred_codecs [String] The list of comma-separated codecs in order of preference to be used during the
1649
1651
  #
1652
+ # @param privacy [Symbol, Telnyx::Models::Calls::ActionTransferParams::Privacy] Indicates the privacy level to be used for the call. When set to `id`, caller ID
1653
+ #
1650
1654
  # @param record [Symbol, Telnyx::Models::Calls::ActionTransferParams::Record] Start recording automatically after an event. Disabled by default.
1651
1655
  #
1652
1656
  # @param record_channels [Symbol, Telnyx::Models::Calls::ActionTransferParams::RecordChannels] Defines which channel should be recorded ('single' or 'dual') when `record` is s
@@ -31,7 +31,7 @@ module Telnyx
31
31
  # When the `record` parameter is set to `record-from-answer`, the response will
32
32
  # include a `recording_id` field.
33
33
  #
34
- # @overload dial(connection_id:, from:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, audio_url: nil, billing_group_id: nil, bridge_intent: nil, bridge_on_answer: nil, client_state: nil, command_id: nil, conference_config: nil, custom_headers: nil, dialogflow_config: nil, enable_dialogflow: nil, from_display_name: nil, link_to: nil, media_encryption: nil, media_name: nil, park_after_unbridge: nil, preferred_codecs: nil, prevent_double_bridge: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, stream_auth_token: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_sampling_rate: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_establish_before_call_originate: nil, stream_track: nil, stream_url: nil, supervise_call_control_id: nil, supervisor_role: nil, time_limit_secs: nil, timeout_secs: nil, transcription: nil, transcription_config: nil, webhook_url: nil, webhook_url_method: nil, request_options: {})
34
+ # @overload dial(connection_id:, from:, to:, answering_machine_detection: nil, answering_machine_detection_config: nil, assistant: nil, audio_url: nil, billing_group_id: nil, bridge_intent: nil, bridge_on_answer: nil, client_state: nil, command_id: nil, conference_config: nil, custom_headers: nil, dialogflow_config: nil, enable_dialogflow: nil, from_display_name: nil, link_to: nil, media_encryption: nil, media_name: nil, park_after_unbridge: nil, preferred_codecs: nil, prevent_double_bridge: nil, privacy: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, send_silence_when_idle: nil, sip_auth_password: nil, sip_auth_username: nil, sip_headers: nil, sip_region: nil, sip_transport_protocol: nil, sound_modifications: nil, stream_auth_token: nil, stream_bidirectional_codec: nil, stream_bidirectional_mode: nil, stream_bidirectional_sampling_rate: nil, stream_bidirectional_target_legs: nil, stream_codec: nil, stream_establish_before_call_originate: nil, stream_track: nil, stream_url: nil, supervise_call_control_id: nil, supervisor_role: nil, time_limit_secs: nil, timeout_secs: nil, transcription: nil, transcription_config: nil, webhook_url: nil, webhook_url_method: nil, request_options: {})
35
35
  #
36
36
  # @param connection_id [String] The ID of the Call Control App (formerly ID of the connection) to be used when d
37
37
  #
@@ -43,6 +43,8 @@ module Telnyx
43
43
  #
44
44
  # @param answering_machine_detection_config [Telnyx::Models::CallDialParams::AnsweringMachineDetectionConfig] Optional configuration parameters to modify 'answering_machine_detection' perfor
45
45
  #
46
+ # @param assistant [Telnyx::Models::CallAssistantRequest] AI Assistant configuration. All fields except `id` are optional — the assistant'
47
+ #
46
48
  # @param audio_url [String] The URL of a file to be played back to the callee when the call is answered. The
47
49
  #
48
50
  # @param billing_group_id [String] Use this field to set the Billing Group ID for the call. Must be a valid and exi
@@ -77,6 +79,8 @@ module Telnyx
77
79
  #
78
80
  # @param prevent_double_bridge [Boolean] Prevents bridging and hangs up the call if the target is already bridged. Disabl
79
81
  #
82
+ # @param privacy [Symbol, Telnyx::Models::CallDialParams::Privacy] Indicates the privacy level to be used for the call. When set to `id`, caller ID
83
+ #
80
84
  # @param record [Symbol, Telnyx::Models::CallDialParams::Record] Start recording automatically after an event. Disabled by default.
81
85
  #
82
86
  # @param record_channels [Symbol, Telnyx::Models::CallDialParams::RecordChannels] Defines which channel should be recorded ('single' or 'dual') when `record` is s