telnyx 5.123.0 → 5.124.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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/client.rb +5 -0
  5. data/lib/telnyx/models/ai/assistant_create_params.rb +780 -1
  6. data/lib/telnyx/models/ai/assistant_update_params.rb +780 -1
  7. data/lib/telnyx/models/ai/assistants/update_assistant.rb +785 -1
  8. data/lib/telnyx/models/ai/inference_embedding.rb +767 -1
  9. data/lib/telnyx/models/{ai_create_response_params.rb → ai_create_response_deprecated_params.rb} +2 -2
  10. data/lib/telnyx/models/{ai_create_response_response.rb → ai_create_response_deprecated_response.rb} +1 -1
  11. data/lib/telnyx/models/call_dial_params.rb +276 -10
  12. data/lib/telnyx/models/calls/action_answer_params.rb +278 -10
  13. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +15 -4
  14. data/lib/telnyx/models/calls/action_speak_params.rb +15 -4
  15. data/lib/telnyx/models/calls/action_start_conversation_relay_params.rb +431 -13
  16. data/lib/telnyx/models/calls/transcription_start_request.rb +173 -5
  17. data/lib/telnyx/models/conferences/action_speak_params.rb +15 -4
  18. data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
  19. data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +45 -0
  20. data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +160 -0
  21. data/lib/telnyx/models/speech_to_text_list_providers_params.rb +16 -5
  22. data/lib/telnyx/models/speech_to_text_list_providers_response.rb +55 -23
  23. data/lib/telnyx/models/voice_sdk_call_report_list_response.rb +114 -9
  24. data/lib/telnyx/models/voice_sdk_call_report_retrieve_response.rb +116 -9
  25. data/lib/telnyx/models/whatsapp/user_data_retrieve_response.rb +44 -3
  26. data/lib/telnyx/models/whatsapp/user_data_update_response.rb +44 -3
  27. data/lib/telnyx/models.rb +3 -9
  28. data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
  29. data/lib/telnyx/resources/ai/assistants.rb +6 -2
  30. data/lib/telnyx/resources/ai.rb +4 -4
  31. data/lib/telnyx/resources/calls/actions.rb +6 -6
  32. data/lib/telnyx/resources/conferences/actions.rb +1 -1
  33. data/lib/telnyx/resources/messaging_profiles.rb +3 -1
  34. data/lib/telnyx/resources/sip_registration_status.rb +45 -0
  35. data/lib/telnyx/resources/speech_to_text.rb +6 -5
  36. data/lib/telnyx/version.rb +1 -1
  37. data/lib/telnyx.rb +5 -9
  38. data/rbi/telnyx/client.rbi +4 -0
  39. data/rbi/telnyx/models/ai/assistant_create_params.rbi +1411 -0
  40. data/rbi/telnyx/models/ai/assistant_update_params.rbi +1411 -0
  41. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +1417 -0
  42. data/rbi/telnyx/models/ai/inference_embedding.rbi +1454 -0
  43. data/rbi/telnyx/models/{ai_create_response_params.rbi → ai_create_response_deprecated_params.rbi} +5 -2
  44. data/rbi/telnyx/models/{ai_create_response_response.rbi → ai_create_response_deprecated_response.rbi} +1 -1
  45. data/rbi/telnyx/models/call_dial_params.rbi +661 -13
  46. data/rbi/telnyx/models/calls/action_answer_params.rbi +659 -13
  47. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +30 -5
  48. data/rbi/telnyx/models/calls/action_speak_params.rbi +30 -5
  49. data/rbi/telnyx/models/calls/action_start_conversation_relay_params.rbi +1016 -17
  50. data/rbi/telnyx/models/calls/transcription_start_request.rbi +433 -10
  51. data/rbi/telnyx/models/conferences/action_speak_params.rbi +30 -5
  52. data/rbi/telnyx/models/messaging_profile_update_params.rbi +8 -0
  53. data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +93 -0
  54. data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +343 -0
  55. data/rbi/telnyx/models/speech_to_text_list_providers_params.rbi +27 -7
  56. data/rbi/telnyx/models/speech_to_text_list_providers_response.rbi +107 -43
  57. data/rbi/telnyx/models/voice_sdk_call_report_list_response.rbi +294 -9
  58. data/rbi/telnyx/models/voice_sdk_call_report_retrieve_response.rbi +294 -9
  59. data/rbi/telnyx/models/whatsapp/user_data_retrieve_response.rbi +96 -6
  60. data/rbi/telnyx/models/whatsapp/user_data_update_response.rbi +94 -6
  61. data/rbi/telnyx/models.rbi +5 -10
  62. data/rbi/telnyx/resources/ai/assistants/versions.rbi +8 -0
  63. data/rbi/telnyx/resources/ai/assistants.rbi +16 -0
  64. data/rbi/telnyx/resources/ai.rbi +1 -1
  65. data/rbi/telnyx/resources/calls/actions.rbi +10 -7
  66. data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
  67. data/rbi/telnyx/resources/messaging_profiles.rbi +3 -0
  68. data/rbi/telnyx/resources/sip_registration_status.rbi +34 -0
  69. data/rbi/telnyx/resources/speech_to_text.rbi +11 -5
  70. data/sig/telnyx/client.rbs +2 -0
  71. data/sig/telnyx/models/ai/assistant_create_params.rbs +508 -0
  72. data/sig/telnyx/models/ai/assistant_update_params.rbs +508 -0
  73. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +511 -0
  74. data/sig/telnyx/models/ai/inference_embedding.rbs +526 -0
  75. data/sig/telnyx/models/{ai_create_response_params.rbs → ai_create_response_deprecated_params.rbs} +2 -2
  76. data/sig/telnyx/models/ai_create_response_deprecated_response.rbs +7 -0
  77. data/sig/telnyx/models/call_dial_params.rbs +236 -13
  78. data/sig/telnyx/models/calls/action_answer_params.rbs +236 -13
  79. data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +11 -1
  80. data/sig/telnyx/models/calls/action_speak_params.rbs +11 -1
  81. data/sig/telnyx/models/calls/action_start_conversation_relay_params.rbs +370 -19
  82. data/sig/telnyx/models/calls/transcription_start_request.rbs +175 -2
  83. data/sig/telnyx/models/conferences/action_speak_params.rbs +11 -1
  84. data/sig/telnyx/models/messaging_profile_update_params.rbs +5 -0
  85. data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +41 -0
  86. data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +164 -0
  87. data/sig/telnyx/models/speech_to_text_list_providers_params.rbs +4 -4
  88. data/sig/telnyx/models/speech_to_text_list_providers_response.rbs +33 -16
  89. data/sig/telnyx/models/voice_sdk_call_report_list_response.rbs +121 -8
  90. data/sig/telnyx/models/voice_sdk_call_report_retrieve_response.rbs +121 -8
  91. data/sig/telnyx/models/whatsapp/user_data_retrieve_response.rbs +57 -6
  92. data/sig/telnyx/models/whatsapp/user_data_update_response.rbs +57 -6
  93. data/sig/telnyx/models.rbs +3 -9
  94. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
  95. data/sig/telnyx/resources/ai/assistants.rbs +2 -0
  96. data/sig/telnyx/resources/ai.rbs +2 -2
  97. data/sig/telnyx/resources/calls/actions.rbs +2 -2
  98. data/sig/telnyx/resources/messaging_profiles.rbs +1 -0
  99. data/sig/telnyx/resources/sip_registration_status.rbs +13 -0
  100. metadata +17 -29
  101. data/lib/telnyx/models/calls/transcription_engine_soniox_config.rb +0 -91
  102. data/lib/telnyx/models/calls/transcription_engine_speechmatics_config.rb +0 -100
  103. data/lib/telnyx/models/conversation_relay_interruption_settings.rb +0 -105
  104. data/lib/telnyx/models/conversation_relay_language.rb +0 -141
  105. data/lib/telnyx/models/inworld_voice_settings.rb +0 -28
  106. data/lib/telnyx/models/voice_sdk_call_report_log_entry.rb +0 -57
  107. data/lib/telnyx/models/whatsapp/whatsapp_user_data.rb +0 -49
  108. data/rbi/telnyx/models/calls/transcription_engine_soniox_config.rbi +0 -184
  109. data/rbi/telnyx/models/calls/transcription_engine_speechmatics_config.rbi +0 -289
  110. data/rbi/telnyx/models/conversation_relay_interruption_settings.rbi +0 -271
  111. data/rbi/telnyx/models/conversation_relay_language.rbi +0 -309
  112. data/rbi/telnyx/models/inworld_voice_settings.rbi +0 -53
  113. data/rbi/telnyx/models/voice_sdk_call_report_log_entry.rbi +0 -108
  114. data/rbi/telnyx/models/whatsapp/whatsapp_user_data.rbi +0 -82
  115. data/sig/telnyx/models/ai_create_response_response.rbs +0 -7
  116. data/sig/telnyx/models/calls/transcription_engine_soniox_config.rbs +0 -79
  117. data/sig/telnyx/models/calls/transcription_engine_speechmatics_config.rbs +0 -114
  118. data/sig/telnyx/models/conversation_relay_interruption_settings.rbs +0 -88
  119. data/sig/telnyx/models/conversation_relay_language.rbs +0 -121
  120. data/sig/telnyx/models/inworld_voice_settings.rbs +0 -26
  121. data/sig/telnyx/models/voice_sdk_call_report_log_entry.rbs +0 -58
  122. data/sig/telnyx/models/whatsapp/whatsapp_user_data.rbs +0 -54
@@ -38,7 +38,7 @@ module Telnyx
38
38
  # responses commonly return an array of log entries, but object-shaped log
39
39
  # payloads are also allowed for compatibility.
40
40
  #
41
- # @return [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries, nil]
41
+ # @return [Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries, nil]
42
42
  optional :logs, union: -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs }
43
43
 
44
44
  # @!attribute organization_id
@@ -144,7 +144,7 @@ module Telnyx
144
144
  #
145
145
  # @param flush_reason [Hash{Symbol=>Object}] Reason the SDK flushed this stats report segment, for example an intermediate so
146
146
  #
147
- # @param logs [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries] Raw logs payload emitted by the Voice SDK and stored without normalization. Live
147
+ # @param logs [Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries] Raw logs payload emitted by the Voice SDK and stored without normalization. Live
148
148
  #
149
149
  # @param organization_id [String] Organization associated with the stored call report when provided by the Voice S
150
150
  #
@@ -181,31 +181,136 @@ module Telnyx
181
181
  extend Telnyx::Internal::Type::Union
182
182
 
183
183
  # Raw log entries emitted by the Voice SDK.
184
- variant -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::VoiceSDKCallReportLogEntryArray }
184
+ variant -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0Array }
185
185
 
186
186
  # Raw logs object emitted by the Voice SDK when logs are grouped under an entries field.
187
187
  variant -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries }
188
188
 
189
+ class UnionMember0 < Telnyx::Internal::Type::BaseModel
190
+ # @!attribute context
191
+ # Raw structured context attached to the log entry.
192
+ #
193
+ # @return [Hash{Symbol=>Object}, nil]
194
+ optional :context, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
195
+
196
+ # @!attribute level
197
+ # Log level emitted by the SDK.
198
+ #
199
+ # @return [Symbol, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0::Level, nil]
200
+ optional :level, enum: -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0::Level }
201
+
202
+ # @!attribute message
203
+ # Log message.
204
+ #
205
+ # @return [String, nil]
206
+ optional :message, String
207
+
208
+ # @!attribute timestamp
209
+ # Time when the log entry was emitted.
210
+ #
211
+ # @return [Time, nil]
212
+ optional :timestamp, Time
213
+
214
+ # @!method initialize(context: nil, level: nil, message: nil, timestamp: nil)
215
+ # A raw Voice SDK log entry. Additional SDK-specific fields may be present.
216
+ #
217
+ # @param context [Hash{Symbol=>Object}] Raw structured context attached to the log entry.
218
+ #
219
+ # @param level [Symbol, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0::Level] Log level emitted by the SDK.
220
+ #
221
+ # @param message [String] Log message.
222
+ #
223
+ # @param timestamp [Time] Time when the log entry was emitted.
224
+
225
+ # Log level emitted by the SDK.
226
+ #
227
+ # @see Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0#level
228
+ module Level
229
+ extend Telnyx::Internal::Type::Enum
230
+
231
+ DEBUG = :debug
232
+ INFO = :info
233
+ WARN = :warn
234
+ ERROR = :error
235
+
236
+ # @!method self.values
237
+ # @return [Array<Symbol>]
238
+ end
239
+ end
240
+
189
241
  class Entries < Telnyx::Internal::Type::BaseModel
190
242
  # @!attribute entries
191
243
  # Raw log entries when the SDK groups logs under an entries field.
192
244
  #
193
- # @return [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, nil]
194
- optional :entries, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::VoiceSDKCallReportLogEntry] }
245
+ # @return [Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry>, nil]
246
+ optional :entries,
247
+ -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry] }
195
248
 
196
249
  # @!method initialize(entries: nil)
197
250
  # Raw logs object emitted by the Voice SDK when logs are grouped under an entries
198
251
  # field.
199
252
  #
200
- # @param entries [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>] Raw log entries when the SDK groups logs under an entries field.
253
+ # @param entries [Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry>] Raw log entries when the SDK groups logs under an entries field.
254
+
255
+ class Entry < Telnyx::Internal::Type::BaseModel
256
+ # @!attribute context
257
+ # Raw structured context attached to the log entry.
258
+ #
259
+ # @return [Hash{Symbol=>Object}, nil]
260
+ optional :context, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
261
+
262
+ # @!attribute level
263
+ # Log level emitted by the SDK.
264
+ #
265
+ # @return [Symbol, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry::Level, nil]
266
+ optional :level, enum: -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry::Level }
267
+
268
+ # @!attribute message
269
+ # Log message.
270
+ #
271
+ # @return [String, nil]
272
+ optional :message, String
273
+
274
+ # @!attribute timestamp
275
+ # Time when the log entry was emitted.
276
+ #
277
+ # @return [Time, nil]
278
+ optional :timestamp, Time
279
+
280
+ # @!method initialize(context: nil, level: nil, message: nil, timestamp: nil)
281
+ # A raw Voice SDK log entry. Additional SDK-specific fields may be present.
282
+ #
283
+ # @param context [Hash{Symbol=>Object}] Raw structured context attached to the log entry.
284
+ #
285
+ # @param level [Symbol, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry::Level] Log level emitted by the SDK.
286
+ #
287
+ # @param message [String] Log message.
288
+ #
289
+ # @param timestamp [Time] Time when the log entry was emitted.
290
+
291
+ # Log level emitted by the SDK.
292
+ #
293
+ # @see Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries::Entry#level
294
+ module Level
295
+ extend Telnyx::Internal::Type::Enum
296
+
297
+ DEBUG = :debug
298
+ INFO = :info
299
+ WARN = :warn
300
+ ERROR = :error
301
+
302
+ # @!method self.values
303
+ # @return [Array<Symbol>]
304
+ end
305
+ end
201
306
  end
202
307
 
203
308
  # @!method self.variants
204
- # @return [Array(Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries)]
309
+ # @return [Array(Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries)]
205
310
 
206
311
  # @type [Telnyx::Internal::Type::Converter]
207
- VoiceSDKCallReportLogEntryArray =
208
- Telnyx::Internal::Type::ArrayOf[-> { Telnyx::VoiceSDKCallReportLogEntry }]
312
+ UnionMember0Array =
313
+ Telnyx::Internal::Type::ArrayOf[-> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0 }]
209
314
  end
210
315
 
211
316
  # Raw stats payload emitted by the Voice SDK and stored without normalization. The
@@ -37,7 +37,7 @@ module Telnyx
37
37
  # responses commonly return an array of log entries, but object-shaped log
38
38
  # payloads are also allowed for compatibility.
39
39
  #
40
- # @return [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries, nil]
40
+ # @return [Array<Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries, nil]
41
41
  optional :logs, union: -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs }
42
42
 
43
43
  # @!attribute organization_id
@@ -143,7 +143,7 @@ module Telnyx
143
143
  #
144
144
  # @param flush_reason [Hash{Symbol=>Object}] Reason the SDK flushed this stats report segment, for example an intermediate so
145
145
  #
146
- # @param logs [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries] Raw logs payload emitted by the Voice SDK and stored without normalization. Live
146
+ # @param logs [Array<Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries] Raw logs payload emitted by the Voice SDK and stored without normalization. Live
147
147
  #
148
148
  # @param organization_id [String] Organization associated with the stored call report when provided by the Voice S
149
149
  #
@@ -180,31 +180,138 @@ module Telnyx
180
180
  extend Telnyx::Internal::Type::Union
181
181
 
182
182
  # Raw log entries emitted by the Voice SDK.
183
- variant -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::VoiceSDKCallReportLogEntryArray }
183
+ variant -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0Array }
184
184
 
185
185
  # Raw logs object emitted by the Voice SDK when logs are grouped under an entries field.
186
186
  variant -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries }
187
187
 
188
+ class UnionMember0 < Telnyx::Internal::Type::BaseModel
189
+ # @!attribute context
190
+ # Raw structured context attached to the log entry.
191
+ #
192
+ # @return [Hash{Symbol=>Object}, nil]
193
+ optional :context, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
194
+
195
+ # @!attribute level
196
+ # Log level emitted by the SDK.
197
+ #
198
+ # @return [Symbol, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0::Level, nil]
199
+ optional :level,
200
+ enum: -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0::Level }
201
+
202
+ # @!attribute message
203
+ # Log message.
204
+ #
205
+ # @return [String, nil]
206
+ optional :message, String
207
+
208
+ # @!attribute timestamp
209
+ # Time when the log entry was emitted.
210
+ #
211
+ # @return [Time, nil]
212
+ optional :timestamp, Time
213
+
214
+ # @!method initialize(context: nil, level: nil, message: nil, timestamp: nil)
215
+ # A raw Voice SDK log entry. Additional SDK-specific fields may be present.
216
+ #
217
+ # @param context [Hash{Symbol=>Object}] Raw structured context attached to the log entry.
218
+ #
219
+ # @param level [Symbol, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0::Level] Log level emitted by the SDK.
220
+ #
221
+ # @param message [String] Log message.
222
+ #
223
+ # @param timestamp [Time] Time when the log entry was emitted.
224
+
225
+ # Log level emitted by the SDK.
226
+ #
227
+ # @see Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0#level
228
+ module Level
229
+ extend Telnyx::Internal::Type::Enum
230
+
231
+ DEBUG = :debug
232
+ INFO = :info
233
+ WARN = :warn
234
+ ERROR = :error
235
+
236
+ # @!method self.values
237
+ # @return [Array<Symbol>]
238
+ end
239
+ end
240
+
188
241
  class Entries < Telnyx::Internal::Type::BaseModel
189
242
  # @!attribute entries
190
243
  # Raw log entries when the SDK groups logs under an entries field.
191
244
  #
192
- # @return [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, nil]
193
- optional :entries, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::VoiceSDKCallReportLogEntry] }
245
+ # @return [Array<Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry>, nil]
246
+ optional :entries,
247
+ -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry] }
194
248
 
195
249
  # @!method initialize(entries: nil)
196
250
  # Raw logs object emitted by the Voice SDK when logs are grouped under an entries
197
251
  # field.
198
252
  #
199
- # @param entries [Array<Telnyx::Models::VoiceSDKCallReportLogEntry>] Raw log entries when the SDK groups logs under an entries field.
253
+ # @param entries [Array<Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry>] Raw log entries when the SDK groups logs under an entries field.
254
+
255
+ class Entry < Telnyx::Internal::Type::BaseModel
256
+ # @!attribute context
257
+ # Raw structured context attached to the log entry.
258
+ #
259
+ # @return [Hash{Symbol=>Object}, nil]
260
+ optional :context, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
261
+
262
+ # @!attribute level
263
+ # Log level emitted by the SDK.
264
+ #
265
+ # @return [Symbol, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry::Level, nil]
266
+ optional :level,
267
+ enum: -> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry::Level }
268
+
269
+ # @!attribute message
270
+ # Log message.
271
+ #
272
+ # @return [String, nil]
273
+ optional :message, String
274
+
275
+ # @!attribute timestamp
276
+ # Time when the log entry was emitted.
277
+ #
278
+ # @return [Time, nil]
279
+ optional :timestamp, Time
280
+
281
+ # @!method initialize(context: nil, level: nil, message: nil, timestamp: nil)
282
+ # A raw Voice SDK log entry. Additional SDK-specific fields may be present.
283
+ #
284
+ # @param context [Hash{Symbol=>Object}] Raw structured context attached to the log entry.
285
+ #
286
+ # @param level [Symbol, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry::Level] Log level emitted by the SDK.
287
+ #
288
+ # @param message [String] Log message.
289
+ #
290
+ # @param timestamp [Time] Time when the log entry was emitted.
291
+
292
+ # Log level emitted by the SDK.
293
+ #
294
+ # @see Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries::Entry#level
295
+ module Level
296
+ extend Telnyx::Internal::Type::Enum
297
+
298
+ DEBUG = :debug
299
+ INFO = :info
300
+ WARN = :warn
301
+ ERROR = :error
302
+
303
+ # @!method self.values
304
+ # @return [Array<Symbol>]
305
+ end
306
+ end
200
307
  end
201
308
 
202
309
  # @!method self.variants
203
- # @return [Array(Array<Telnyx::Models::VoiceSDKCallReportLogEntry>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries)]
310
+ # @return [Array(Array<Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::Entries)]
204
311
 
205
312
  # @type [Telnyx::Internal::Type::Converter]
206
- VoiceSDKCallReportLogEntryArray =
207
- Telnyx::Internal::Type::ArrayOf[-> { Telnyx::VoiceSDKCallReportLogEntry }]
313
+ UnionMember0Array =
314
+ Telnyx::Internal::Type::ArrayOf[-> { Telnyx::Models::VoiceSDKCallReportRetrieveResponseItem::Logs::UnionMember0 }]
208
315
  end
209
316
 
210
317
  # Raw stats payload emitted by the Voice SDK and stored without normalization. The
@@ -7,11 +7,52 @@ module Telnyx
7
7
  class UserDataRetrieveResponse < Telnyx::Internal::Type::BaseModel
8
8
  # @!attribute data
9
9
  #
10
- # @return [Telnyx::Models::Whatsapp::WhatsappUserData, nil]
11
- optional :data, -> { Telnyx::Whatsapp::WhatsappUserData }
10
+ # @return [Telnyx::Models::Whatsapp::UserDataRetrieveResponse::Data, nil]
11
+ optional :data, -> { Telnyx::Models::Whatsapp::UserDataRetrieveResponse::Data }
12
12
 
13
13
  # @!method initialize(data: nil)
14
- # @param data [Telnyx::Models::Whatsapp::WhatsappUserData]
14
+ # @param data [Telnyx::Models::Whatsapp::UserDataRetrieveResponse::Data]
15
+
16
+ # @see Telnyx::Models::Whatsapp::UserDataRetrieveResponse#data
17
+ class Data < Telnyx::Internal::Type::BaseModel
18
+ # @!attribute created_at
19
+ #
20
+ # @return [Time, nil]
21
+ optional :created_at, Time
22
+
23
+ # @!attribute record_type
24
+ #
25
+ # @return [String, nil]
26
+ optional :record_type, String
27
+
28
+ # @!attribute updated_at
29
+ #
30
+ # @return [Time, nil]
31
+ optional :updated_at, Time
32
+
33
+ # @!attribute webhook_failover_url
34
+ # Failover URL to receive Whatsapp signup events
35
+ #
36
+ # @return [String, nil]
37
+ optional :webhook_failover_url, String
38
+
39
+ # @!attribute webhook_url
40
+ # URL to receive Whatsapp signup events
41
+ #
42
+ # @return [String, nil]
43
+ optional :webhook_url, String
44
+
45
+ # @!method initialize(created_at: nil, record_type: nil, updated_at: nil, webhook_failover_url: nil, webhook_url: nil)
46
+ # @param created_at [Time]
47
+ #
48
+ # @param record_type [String]
49
+ #
50
+ # @param updated_at [Time]
51
+ #
52
+ # @param webhook_failover_url [String] Failover URL to receive Whatsapp signup events
53
+ #
54
+ # @param webhook_url [String] URL to receive Whatsapp signup events
55
+ end
15
56
  end
16
57
  end
17
58
  end
@@ -7,11 +7,52 @@ module Telnyx
7
7
  class UserDataUpdateResponse < Telnyx::Internal::Type::BaseModel
8
8
  # @!attribute data
9
9
  #
10
- # @return [Telnyx::Models::Whatsapp::WhatsappUserData, nil]
11
- optional :data, -> { Telnyx::Whatsapp::WhatsappUserData }
10
+ # @return [Telnyx::Models::Whatsapp::UserDataUpdateResponse::Data, nil]
11
+ optional :data, -> { Telnyx::Models::Whatsapp::UserDataUpdateResponse::Data }
12
12
 
13
13
  # @!method initialize(data: nil)
14
- # @param data [Telnyx::Models::Whatsapp::WhatsappUserData]
14
+ # @param data [Telnyx::Models::Whatsapp::UserDataUpdateResponse::Data]
15
+
16
+ # @see Telnyx::Models::Whatsapp::UserDataUpdateResponse#data
17
+ class Data < Telnyx::Internal::Type::BaseModel
18
+ # @!attribute created_at
19
+ #
20
+ # @return [Time, nil]
21
+ optional :created_at, Time
22
+
23
+ # @!attribute record_type
24
+ #
25
+ # @return [String, nil]
26
+ optional :record_type, String
27
+
28
+ # @!attribute updated_at
29
+ #
30
+ # @return [Time, nil]
31
+ optional :updated_at, Time
32
+
33
+ # @!attribute webhook_failover_url
34
+ # Failover URL to receive Whatsapp signup events
35
+ #
36
+ # @return [String, nil]
37
+ optional :webhook_failover_url, String
38
+
39
+ # @!attribute webhook_url
40
+ # URL to receive Whatsapp signup events
41
+ #
42
+ # @return [String, nil]
43
+ optional :webhook_url, String
44
+
45
+ # @!method initialize(created_at: nil, record_type: nil, updated_at: nil, webhook_failover_url: nil, webhook_url: nil)
46
+ # @param created_at [Time]
47
+ #
48
+ # @param record_type [String]
49
+ #
50
+ # @param updated_at [Time]
51
+ #
52
+ # @param webhook_failover_url [String] Failover URL to receive Whatsapp signup events
53
+ #
54
+ # @param webhook_url [String] URL to receive Whatsapp signup events
55
+ end
15
56
  end
16
57
  end
17
58
  end
data/lib/telnyx/models.rb CHANGED
@@ -83,7 +83,7 @@ module Telnyx
83
83
 
84
84
  AI = Telnyx::Models::AI
85
85
 
86
- AICreateResponseParams = Telnyx::Models::AICreateResponseParams
86
+ AICreateResponseDeprecatedParams = Telnyx::Models::AICreateResponseDeprecatedParams
87
87
 
88
88
  AIRetrieveModelsParams = Telnyx::Models::AIRetrieveModelsParams
89
89
 
@@ -461,10 +461,6 @@ module Telnyx
461
461
 
462
462
  ConsumedData = Telnyx::Models::ConsumedData
463
463
 
464
- ConversationRelayInterruptionSettings = Telnyx::Models::ConversationRelayInterruptionSettings
465
-
466
- ConversationRelayLanguage = Telnyx::Models::ConversationRelayLanguage
467
-
468
464
  CostInformation = Telnyx::Models::CostInformation
469
465
 
470
466
  CountryCoverageAPI = Telnyx::Models::CountryCoverageAPI
@@ -760,8 +756,6 @@ module Telnyx
760
756
 
761
757
  InvoiceRetrieveParams = Telnyx::Models::InvoiceRetrieveParams
762
758
 
763
- InworldVoiceSettings = Telnyx::Models::InworldVoiceSettings
764
-
765
759
  IP = Telnyx::Models::IP
766
760
 
767
761
  IPConnection = Telnyx::Models::IPConnection
@@ -1535,6 +1529,8 @@ module Telnyx
1535
1529
 
1536
1530
  SiprecConnectorUpdateParams = Telnyx::Models::SiprecConnectorUpdateParams
1537
1531
 
1532
+ SipRegistrationStatusRetrieveParams = Telnyx::Models::SipRegistrationStatusRetrieveParams
1533
+
1538
1534
  SoundModifications = Telnyx::Models::SoundModifications
1539
1535
 
1540
1536
  SpeechToTextListProvidersParams = Telnyx::Models::SpeechToTextListProvidersParams
@@ -1787,8 +1783,6 @@ module Telnyx
1787
1783
 
1788
1784
  VoiceSDKCallReportListParams = Telnyx::Models::VoiceSDKCallReportListParams
1789
1785
 
1790
- VoiceSDKCallReportLogEntry = Telnyx::Models::VoiceSDKCallReportLogEntry
1791
-
1792
1786
  VoiceSDKCallReportRetrieveParams = Telnyx::Models::VoiceSDKCallReportRetrieveParams
1793
1787
 
1794
1788
  WebhookAPIVersion = Telnyx::Models::WebhookAPIVersion
@@ -43,12 +43,14 @@ module Telnyx
43
43
  # Updates the configuration of a specific assistant version. Can not update main
44
44
  # version
45
45
  #
46
- # @overload update(version_id, assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, instructions: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, version_name: nil, voice_settings: nil, widget_settings: nil, request_options: {})
46
+ # @overload update(version_id, assistant_id:, conversation_flow: nil, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, instructions: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, version_name: nil, voice_settings: nil, widget_settings: nil, request_options: {})
47
47
  #
48
48
  # @param version_id [String] Path param
49
49
  #
50
50
  # @param assistant_id [String] Path param
51
51
  #
52
+ # @param conversation_flow [Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow] Body param: Conversation flow as supplied by API clients (create / update).
53
+ #
52
54
  # @param description [String] Body param
53
55
  #
54
56
  # @param dynamic_variables [Hash{Symbol=>Object}] Body param: Map of dynamic variables and their default values
@@ -34,12 +34,14 @@ module Telnyx
34
34
  #
35
35
  # Create a new AI Assistant.
36
36
  #
37
- # @overload create(instructions:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
37
+ # @overload create(instructions:, name:, conversation_flow: nil, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
38
38
  #
39
39
  # @param instructions [String] System instructions for the assistant. These may be templated with [dynamic vari
40
40
  #
41
41
  # @param name [String]
42
42
  #
43
+ # @param conversation_flow [Telnyx::Models::AI::AssistantCreateParams::ConversationFlow] Conversation flow as supplied by API clients (create / update).
44
+ #
43
45
  # @param description [String]
44
46
  #
45
47
  # @param dynamic_variables [Hash{Symbol=>Object}] Map of dynamic variables and their default values
@@ -137,10 +139,12 @@ module Telnyx
137
139
  #
138
140
  # Update an AI Assistant's attributes.
139
141
  #
140
- # @overload update(assistant_id, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, instructions: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, version_name: nil, voice_settings: nil, widget_settings: nil, request_options: {})
142
+ # @overload update(assistant_id, conversation_flow: nil, description: nil, dynamic_variables: nil, dynamic_variables_webhook_timeout_ms: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, external_llm: nil, fallback_config: nil, greeting: nil, insight_settings: nil, instructions: nil, integrations: nil, interruption_settings: nil, llm_api_key_ref: nil, mcp_servers: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, tags: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, version_name: nil, voice_settings: nil, widget_settings: nil, request_options: {})
141
143
  #
142
144
  # @param assistant_id [String]
143
145
  #
146
+ # @param conversation_flow [Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow] Conversation flow as supplied by API clients (create / update).
147
+ #
144
148
  # @param description [String]
145
149
  #
146
150
  # @param dynamic_variables [Hash{Symbol=>Object}] Map of dynamic variables and their default values
@@ -55,16 +55,16 @@ module Telnyx
55
55
  # supported at the moment. Use the `conversation` parameter with a Telnyx
56
56
  # Conversation ID to leverage persistent conversations.
57
57
  #
58
- # @overload create_response(body:, request_options: {})
58
+ # @overload create_response_deprecated(body:, request_options: {})
59
59
  #
60
60
  # @param body [Hash{Symbol=>Object}]
61
61
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
62
62
  #
63
63
  # @return [Hash{Symbol=>Object}]
64
64
  #
65
- # @see Telnyx::Models::AICreateResponseParams
66
- def create_response(params)
67
- parsed, options = Telnyx::AICreateResponseParams.dump_request(params)
65
+ # @see Telnyx::Models::AICreateResponseDeprecatedParams
66
+ def create_response_deprecated(params)
67
+ parsed, options = Telnyx::AICreateResponseDeprecatedParams.dump_request(params)
68
68
  @client.request(
69
69
  method: :post,
70
70
  path: "ai/responses",
@@ -482,7 +482,7 @@ module Telnyx
482
482
  #
483
483
  # @param valid_digits [String] A list of all digits accepted as valid.
484
484
  #
485
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::InworldVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
485
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
486
486
  #
487
487
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
488
488
  #
@@ -862,7 +862,7 @@ module Telnyx
862
862
  #
863
863
  # @param target_legs [Symbol, Telnyx::Models::Calls::ActionSpeakParams::TargetLegs] Specifies which legs of the call should receive the spoken audio.
864
864
  #
865
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::InworldVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
865
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
866
866
  #
867
867
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
868
868
  #
@@ -973,11 +973,11 @@ module Telnyx
973
973
  #
974
974
  # @param interruptible_greeting [Symbol, Telnyx::Models::Calls::ActionStartConversationRelayParams::InterruptibleGreeting] Controls when caller input can interrupt assistant speech. `any` allows speech o
975
975
  #
976
- # @param interruption_settings [Telnyx::Models::ConversationRelayInterruptionSettings] Settings for handling caller interruptions during Conversation Relay speech.
976
+ # @param interruption_settings [Telnyx::Models::Calls::ActionStartConversationRelayParams::InterruptionSettings] Settings for handling caller interruptions during Conversation Relay speech.
977
977
  #
978
978
  # @param language [String] Default language for the relay session. This value is used for both text-to-spee
979
979
  #
980
- # @param languages [Array<Telnyx::Models::ConversationRelayLanguage>] Per-language TTS and transcription settings.
980
+ # @param languages [Array<Telnyx::Models::Calls::ActionStartConversationRelayParams::Language>] Per-language TTS and transcription settings.
981
981
  #
982
982
  # @param provider [String] Structured voice provider. Must be supplied together with `structured_provider`.
983
983
  #
@@ -995,7 +995,7 @@ module Telnyx
995
995
  #
996
996
  # @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
997
997
  #
998
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::InworldVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
998
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartConversationRelayParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
999
999
  #
1000
1000
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
1001
1001
  #
@@ -1339,7 +1339,7 @@ module Telnyx
1339
1339
  #
1340
1340
  # @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
1341
1341
  #
1342
- # @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionEngineXaiConfig, Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig, Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig, Telnyx::Models::Calls::TranscriptionEngineSonioxConfig, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
1342
+ # @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionEngineXaiConfig, Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Speechmatics, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Soniox, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova3Config]
1343
1343
  #
1344
1344
  # @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
1345
1345
  #
@@ -520,7 +520,7 @@ module Telnyx
520
520
  #
521
521
  # @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
522
522
  #
523
- # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::InworldVoiceSettings, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
523
+ # @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::XaiVoiceSettings] The settings associated with the voice selected
524
524
  #
525
525
  # @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
526
526
  #
@@ -94,10 +94,12 @@ module Telnyx
94
94
  #
95
95
  # Update a messaging profile
96
96
  #
97
- # @overload update(messaging_profile_id, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, smart_encoding: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
97
+ # @overload update(messaging_profile_id, ai_assistant_id: nil, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, smart_encoding: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
98
98
  #
99
99
  # @param messaging_profile_id [String] The id of the messaging profile to retrieve
100
100
  #
101
+ # @param ai_assistant_id [String, nil] The ID of the AI assistant associated with this messaging profile.
102
+ #
101
103
  # @param alpha_sender [String, nil] The alphanumeric sender ID to use when sending to destinations that require an a
102
104
  #
103
105
  # @param daily_spend_limit [String] The maximum amount of money (in USD) that can be spent by this profile before mi