telnyx 5.70.0 → 5.72.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 (108) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +40 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/lib/webhook_verification.rb +14 -1
  5. data/lib/telnyx/lib/webhooks_ed25519.rb +51 -38
  6. data/lib/telnyx/lib.rb +14 -0
  7. data/lib/telnyx/models/ai/assistant.rb +6 -149
  8. data/lib/telnyx/models/book_appointment_tool.rb +31 -0
  9. data/lib/telnyx/models/book_appointment_tool_params.rb +51 -0
  10. data/lib/telnyx/models/call_assistant_request.rb +176 -0
  11. data/lib/telnyx/models/call_control_bucket_ids.rb +23 -0
  12. data/lib/telnyx/models/call_control_retrieval_tool.rb +31 -0
  13. data/lib/telnyx/models/call_dial_params.rb +11 -1
  14. data/lib/telnyx/models/calls/action_answer_params.rb +11 -1
  15. data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +6 -39
  16. data/lib/telnyx/models/check_availability_tool.rb +31 -0
  17. data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
  18. data/lib/telnyx/models/pronunciation_dict_alias_item.rb +51 -0
  19. data/lib/telnyx/models/pronunciation_dict_create_params.rb +5 -93
  20. data/lib/telnyx/models/pronunciation_dict_create_response.rb +3 -191
  21. data/lib/telnyx/models/pronunciation_dict_data.rb +101 -0
  22. data/lib/telnyx/models/pronunciation_dict_phoneme_item.rb +71 -0
  23. data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +3 -191
  24. data/lib/telnyx/models/pronunciation_dict_update_params.rb +5 -93
  25. data/lib/telnyx/models/pronunciation_dict_update_response.rb +3 -191
  26. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +203 -191
  27. data/lib/telnyx/models/voice_clone_create_from_design_params.rb +3 -3
  28. data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +61 -54
  29. data/lib/telnyx/models/voice_clone_create_params.rb +28 -28
  30. data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb +26 -0
  31. data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb +54 -0
  32. data/lib/telnyx/models.rb +20 -0
  33. data/lib/telnyx/resources/calls/actions.rb +4 -2
  34. data/lib/telnyx/resources/calls.rb +3 -1
  35. data/lib/telnyx/resources/pronunciation_dicts.rb +4 -4
  36. data/lib/telnyx/resources/texml/accounts/calls.rb +3 -3
  37. data/lib/telnyx/resources/voice_clones.rb +6 -6
  38. data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
  39. data/lib/telnyx/version.rb +1 -1
  40. data/lib/telnyx.rb +16 -1
  41. data/rbi/telnyx/models/ai/assistant.rbi +15 -329
  42. data/rbi/telnyx/models/book_appointment_tool.rbi +65 -0
  43. data/rbi/telnyx/models/book_appointment_tool_params.rbi +83 -0
  44. data/rbi/telnyx/models/call_assistant_request.rbi +322 -0
  45. data/rbi/telnyx/models/call_control_bucket_ids.rbi +42 -0
  46. data/rbi/telnyx/models/call_control_retrieval_tool.rbi +63 -0
  47. data/rbi/telnyx/models/call_dial_params.rbi +15 -0
  48. data/rbi/telnyx/models/calls/action_answer_params.rbi +15 -0
  49. data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +10 -77
  50. data/rbi/telnyx/models/check_availability_tool.rbi +67 -0
  51. data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
  52. data/rbi/telnyx/models/pronunciation_dict_alias_item.rbi +79 -0
  53. data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +8 -154
  54. data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +6 -366
  55. data/rbi/telnyx/models/pronunciation_dict_data.rbi +186 -0
  56. data/rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi +117 -0
  57. data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +6 -366
  58. data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +10 -156
  59. data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +6 -366
  60. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +391 -403
  61. data/rbi/telnyx/models/voice_clone_create_from_design_params.rbi +10 -10
  62. data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +94 -92
  63. data/rbi/telnyx/models/voice_clone_create_params.rbi +53 -53
  64. data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi +47 -0
  65. data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi +118 -0
  66. data/rbi/telnyx/models.rbi +20 -0
  67. data/rbi/telnyx/resources/calls/actions.rbi +9 -3
  68. data/rbi/telnyx/resources/calls.rbi +5 -0
  69. data/rbi/telnyx/resources/pronunciation_dicts.rbi +5 -7
  70. data/rbi/telnyx/resources/texml/accounts/calls.rbi +5 -5
  71. data/rbi/telnyx/resources/voice_clones.rbi +9 -9
  72. data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +16 -0
  73. data/sig/telnyx/models/ai/assistant.rbs +3 -142
  74. data/sig/telnyx/models/book_appointment_tool.rbs +35 -0
  75. data/sig/telnyx/models/book_appointment_tool_params.rbs +39 -0
  76. data/sig/telnyx/models/call_assistant_request.rbs +132 -0
  77. data/sig/telnyx/models/call_control_bucket_ids.rbs +21 -0
  78. data/sig/telnyx/models/call_control_retrieval_tool.rbs +35 -0
  79. data/sig/telnyx/models/call_dial_params.rbs +9 -0
  80. data/sig/telnyx/models/calls/action_answer_params.rbs +9 -0
  81. data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +6 -35
  82. data/sig/telnyx/models/check_availability_tool.rbs +35 -0
  83. data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
  84. data/sig/telnyx/models/pronunciation_dict_alias_item.rbs +40 -0
  85. data/sig/telnyx/models/pronunciation_dict_create_params.rbs +2 -58
  86. data/sig/telnyx/models/pronunciation_dict_create_response.rbs +6 -155
  87. data/sig/telnyx/models/pronunciation_dict_data.rbs +88 -0
  88. data/sig/telnyx/models/pronunciation_dict_phoneme_item.rbs +55 -0
  89. data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +6 -155
  90. data/sig/telnyx/models/pronunciation_dict_update_params.rbs +2 -58
  91. data/sig/telnyx/models/pronunciation_dict_update_response.rbs +6 -155
  92. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +317 -325
  93. data/sig/telnyx/models/voice_clone_create_from_design_params.rbs +7 -7
  94. data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +63 -61
  95. data/sig/telnyx/models/voice_clone_create_params.rbs +35 -35
  96. data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs +30 -0
  97. data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs +63 -0
  98. data/sig/telnyx/models.rbs +20 -0
  99. data/sig/telnyx/resources/calls/actions.rbs +2 -1
  100. data/sig/telnyx/resources/calls.rbs +1 -0
  101. data/sig/telnyx/resources/pronunciation_dicts.rbs +1 -1
  102. data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
  103. data/sig/telnyx/resources/voice_clones.rbs +2 -2
  104. data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
  105. metadata +39 -5
  106. data/lib/telnyx/models/pronunciation_dict_list_response.rb +0 -190
  107. data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +0 -353
  108. data/sig/telnyx/models/pronunciation_dict_list_response.rbs +0 -144
@@ -5,7 +5,7 @@ module Telnyx
5
5
  type call_calls_params =
6
6
  {
7
7
  account_sid: String,
8
- body: Telnyx::Models::Texml::Accounts::CallCallsParams::body
8
+ params: Telnyx::Models::Texml::Accounts::CallCallsParams::params
9
9
  }
10
10
  & Telnyx::Internal::Type::request_parameters
11
11
 
@@ -15,26 +15,26 @@ module Telnyx
15
15
 
16
16
  attr_accessor account_sid: String
17
17
 
18
- attr_accessor body: Telnyx::Models::Texml::Accounts::CallCallsParams::body
18
+ attr_accessor params: Telnyx::Models::Texml::Accounts::CallCallsParams::params
19
19
 
20
20
  def initialize: (
21
21
  account_sid: String,
22
- body: Telnyx::Models::Texml::Accounts::CallCallsParams::body,
22
+ params: Telnyx::Models::Texml::Accounts::CallCallsParams::params,
23
23
  ?request_options: Telnyx::request_opts
24
24
  ) -> void
25
25
 
26
26
  def to_hash: -> {
27
27
  account_sid: String,
28
- body: Telnyx::Models::Texml::Accounts::CallCallsParams::body,
28
+ params: Telnyx::Models::Texml::Accounts::CallCallsParams::params,
29
29
  request_options: Telnyx::RequestOptions
30
30
  }
31
31
 
32
- type body =
33
- Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL
34
- | Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml
35
- | Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault
32
+ type params =
33
+ Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL
34
+ | Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml
35
+ | Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault
36
36
 
37
- module Body
37
+ module Params
38
38
  extend Telnyx::Internal::Type::Union
39
39
 
40
40
  type with_url =
@@ -43,43 +43,43 @@ module Telnyx
43
43
  application_sid: String,
44
44
  async_amd: bool,
45
45
  async_amd_status_callback: String,
46
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method,
46
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method,
47
47
  caller_id: String,
48
48
  cancel_playback_on_detect_message_end: bool,
49
49
  cancel_playback_on_machine_detection: bool,
50
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader],
51
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode,
50
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader],
51
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode,
52
52
  fallback_url: String,
53
53
  from: String,
54
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
54
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection,
55
55
  machine_detection_silence_timeout: Integer,
56
56
  machine_detection_speech_end_threshold: Integer,
57
57
  machine_detection_speech_threshold: Integer,
58
58
  machine_detection_timeout: Integer,
59
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption,
59
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption,
60
60
  preferred_codecs: String,
61
61
  record: bool,
62
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels,
62
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels,
63
63
  recording_status_callback: String,
64
64
  recording_status_callback_event: String,
65
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method,
65
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method,
66
66
  recording_timeout: Integer,
67
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track,
67
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track,
68
68
  send_recording_url: bool,
69
69
  sip_auth_password: String,
70
70
  sip_auth_username: String,
71
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
71
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region,
72
72
  status_callback: String,
73
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event,
74
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
73
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event,
74
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method,
75
75
  supervise_call_sid: String,
76
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
77
- texml: top,
76
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role,
77
+ texml: String?,
78
78
  time_limit: Integer,
79
79
  timeout: Integer,
80
80
  to: String,
81
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim,
82
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method
81
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim,
82
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method
83
83
  }
84
84
 
85
85
  class WithURL < Telnyx::Internal::Type::BaseModel
@@ -97,11 +97,11 @@ module Telnyx
97
97
 
98
98
  def async_amd_status_callback=: (String) -> String
99
99
 
100
- attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method?
100
+ attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method?
101
101
 
102
102
  def async_amd_status_callback_method=: (
103
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method
104
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method
103
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method
104
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method
105
105
 
106
106
  attr_reader caller_id: String?
107
107
 
@@ -115,17 +115,17 @@ module Telnyx
115
115
 
116
116
  def cancel_playback_on_machine_detection=: (bool) -> bool
117
117
 
118
- attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader]?
118
+ attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader]?
119
119
 
120
120
  def custom_headers=: (
121
- ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader]
122
- ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader]
121
+ ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader]
122
+ ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader]
123
123
 
124
- attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode?
124
+ attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode?
125
125
 
126
126
  def detection_mode=: (
127
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode
128
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode
127
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode
128
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode
129
129
 
130
130
  attr_reader fallback_url: String?
131
131
 
@@ -135,11 +135,11 @@ module Telnyx
135
135
 
136
136
  def from=: (String) -> String
137
137
 
138
- attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection?
138
+ attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection?
139
139
 
140
140
  def machine_detection=: (
141
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
142
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection
141
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection
142
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection
143
143
 
144
144
  attr_reader machine_detection_silence_timeout: Integer?
145
145
 
@@ -157,11 +157,11 @@ module Telnyx
157
157
 
158
158
  def machine_detection_timeout=: (Integer) -> Integer
159
159
 
160
- attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption?
160
+ attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption?
161
161
 
162
162
  def media_encryption=: (
163
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption
164
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption
163
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption
164
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption
165
165
 
166
166
  attr_reader preferred_codecs: String?
167
167
 
@@ -171,11 +171,11 @@ module Telnyx
171
171
 
172
172
  def record=: (bool) -> bool
173
173
 
174
- attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels?
174
+ attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels?
175
175
 
176
176
  def recording_channels=: (
177
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels
178
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels
177
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels
178
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels
179
179
 
180
180
  attr_reader recording_status_callback: String?
181
181
 
@@ -185,21 +185,21 @@ module Telnyx
185
185
 
186
186
  def recording_status_callback_event=: (String) -> String
187
187
 
188
- attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method?
188
+ attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method?
189
189
 
190
190
  def recording_status_callback_method=: (
191
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method
192
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method
191
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method
192
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method
193
193
 
194
194
  attr_reader recording_timeout: Integer?
195
195
 
196
196
  def recording_timeout=: (Integer) -> Integer
197
197
 
198
- attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track?
198
+ attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track?
199
199
 
200
200
  def recording_track=: (
201
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track
202
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track
201
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track
202
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track
203
203
 
204
204
  attr_reader send_recording_url: bool?
205
205
 
@@ -213,41 +213,39 @@ module Telnyx
213
213
 
214
214
  def sip_auth_username=: (String) -> String
215
215
 
216
- attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region?
216
+ attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region?
217
217
 
218
218
  def sip_region=: (
219
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region
220
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region
219
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region
220
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region
221
221
 
222
222
  attr_reader status_callback: String?
223
223
 
224
224
  def status_callback=: (String) -> String
225
225
 
226
- attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event?
226
+ attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event?
227
227
 
228
228
  def status_callback_event=: (
229
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event
230
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event
229
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event
230
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event
231
231
 
232
- attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method?
232
+ attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method?
233
233
 
234
234
  def status_callback_method=: (
235
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method
236
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method
235
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method
236
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method
237
237
 
238
238
  attr_reader supervise_call_sid: String?
239
239
 
240
240
  def supervise_call_sid=: (String) -> String
241
241
 
242
- attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role?
242
+ attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role?
243
243
 
244
244
  def supervising_role=: (
245
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role
246
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role
245
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role
246
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role
247
247
 
248
- attr_reader texml: top?
249
-
250
- def texml=: (top) -> top
248
+ attr_accessor texml: String?
251
249
 
252
250
  attr_reader time_limit: Integer?
253
251
 
@@ -261,60 +259,60 @@ module Telnyx
261
259
 
262
260
  def to=: (String) -> String
263
261
 
264
- attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim?
262
+ attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim?
265
263
 
266
264
  def trim=: (
267
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim
268
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim
265
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim
266
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim
269
267
 
270
- attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method?
268
+ attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method?
271
269
 
272
270
  def url_method=: (
273
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method
274
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method
271
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method
272
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method
275
273
 
276
274
  def initialize: (
277
275
  url: String,
278
276
  ?application_sid: String,
279
277
  ?async_amd: bool,
280
278
  ?async_amd_status_callback: String,
281
- ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method,
279
+ ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method,
282
280
  ?caller_id: String,
283
281
  ?cancel_playback_on_detect_message_end: bool,
284
282
  ?cancel_playback_on_machine_detection: bool,
285
- ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader],
286
- ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode,
283
+ ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader],
284
+ ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode,
287
285
  ?fallback_url: String,
288
286
  ?from: String,
289
- ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
287
+ ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection,
290
288
  ?machine_detection_silence_timeout: Integer,
291
289
  ?machine_detection_speech_end_threshold: Integer,
292
290
  ?machine_detection_speech_threshold: Integer,
293
291
  ?machine_detection_timeout: Integer,
294
- ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption,
292
+ ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption,
295
293
  ?preferred_codecs: String,
296
294
  ?record: bool,
297
- ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels,
295
+ ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels,
298
296
  ?recording_status_callback: String,
299
297
  ?recording_status_callback_event: String,
300
- ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method,
298
+ ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method,
301
299
  ?recording_timeout: Integer,
302
- ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track,
300
+ ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track,
303
301
  ?send_recording_url: bool,
304
302
  ?sip_auth_password: String,
305
303
  ?sip_auth_username: String,
306
- ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
304
+ ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region,
307
305
  ?status_callback: String,
308
- ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event,
309
- ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
306
+ ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event,
307
+ ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method,
310
308
  ?supervise_call_sid: String,
311
- ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
312
- ?texml: top,
309
+ ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role,
310
+ ?texml: String?,
313
311
  ?time_limit: Integer,
314
312
  ?timeout: Integer,
315
313
  ?to: String,
316
- ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim,
317
- ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method
314
+ ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim,
315
+ ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method
318
316
  ) -> void
319
317
 
320
318
  def to_hash: -> {
@@ -322,43 +320,43 @@ module Telnyx
322
320
  application_sid: String,
323
321
  async_amd: bool,
324
322
  async_amd_status_callback: String,
325
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method,
323
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method,
326
324
  caller_id: String,
327
325
  cancel_playback_on_detect_message_end: bool,
328
326
  cancel_playback_on_machine_detection: bool,
329
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithURL::CustomHeader],
330
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode,
327
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithURL::CustomHeader],
328
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode,
331
329
  fallback_url: String,
332
330
  from: String,
333
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection,
331
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection,
334
332
  machine_detection_silence_timeout: Integer,
335
333
  machine_detection_speech_end_threshold: Integer,
336
334
  machine_detection_speech_threshold: Integer,
337
335
  machine_detection_timeout: Integer,
338
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption,
336
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption,
339
337
  preferred_codecs: String,
340
338
  record: bool,
341
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels,
339
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels,
342
340
  recording_status_callback: String,
343
341
  recording_status_callback_event: String,
344
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method,
342
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method,
345
343
  recording_timeout: Integer,
346
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track,
344
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track,
347
345
  send_recording_url: bool,
348
346
  sip_auth_password: String,
349
347
  sip_auth_username: String,
350
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region,
348
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region,
351
349
  status_callback: String,
352
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event,
353
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method,
350
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event,
351
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method,
354
352
  supervise_call_sid: String,
355
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role,
356
- texml: top,
353
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role,
354
+ texml: String?,
357
355
  time_limit: Integer,
358
356
  timeout: Integer,
359
357
  to: String,
360
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim,
361
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method
358
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim,
359
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method
362
360
  }
363
361
 
364
362
  type async_amd_status_callback_method = :GET | :POST
@@ -369,7 +367,7 @@ module Telnyx
369
367
  GET: :GET
370
368
  POST: :POST
371
369
 
372
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::async_amd_status_callback_method]
370
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::async_amd_status_callback_method]
373
371
  end
374
372
 
375
373
  type custom_header = { name: String, value: String }
@@ -392,7 +390,7 @@ module Telnyx
392
390
  PREMIUM: :Premium
393
391
  REGULAR: :Regular
394
392
 
395
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::detection_mode]
393
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::detection_mode]
396
394
  end
397
395
 
398
396
  type machine_detection = :Enable | :Disable | :DetectMessageEnd
@@ -404,7 +402,7 @@ module Telnyx
404
402
  DISABLE: :Disable
405
403
  DETECT_MESSAGE_END: :DetectMessageEnd
406
404
 
407
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::machine_detection]
405
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::machine_detection]
408
406
  end
409
407
 
410
408
  type media_encryption = :disabled | :SRTP | :DTLS
@@ -416,7 +414,7 @@ module Telnyx
416
414
  SRTP: :SRTP
417
415
  DTLS: :DTLS
418
416
 
419
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::media_encryption]
417
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::media_encryption]
420
418
  end
421
419
 
422
420
  type recording_channels = :mono | :dual
@@ -427,7 +425,7 @@ module Telnyx
427
425
  MONO: :mono
428
426
  DUAL: :dual
429
427
 
430
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_channels]
428
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_channels]
431
429
  end
432
430
 
433
431
  type recording_status_callback_method = :GET | :POST
@@ -438,7 +436,7 @@ module Telnyx
438
436
  GET: :GET
439
437
  POST: :POST
440
438
 
441
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_status_callback_method]
439
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_status_callback_method]
442
440
  end
443
441
 
444
442
  type recording_track = :inbound | :outbound | :both
@@ -450,7 +448,7 @@ module Telnyx
450
448
  OUTBOUND: :outbound
451
449
  BOTH: :both
452
450
 
453
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::recording_track]
451
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::recording_track]
454
452
  end
455
453
 
456
454
  type sip_region =
@@ -465,7 +463,7 @@ module Telnyx
465
463
  AUSTRALIA: :Australia
466
464
  MIDDLE_EAST: :"Middle East"
467
465
 
468
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::sip_region]
466
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::sip_region]
469
467
  end
470
468
 
471
469
  type status_callback_event =
@@ -479,7 +477,7 @@ module Telnyx
479
477
  ANSWERED: :answered
480
478
  COMPLETED: :completed
481
479
 
482
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_event]
480
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_event]
483
481
  end
484
482
 
485
483
  type status_callback_method = :GET | :POST
@@ -490,7 +488,7 @@ module Telnyx
490
488
  GET: :GET
491
489
  POST: :POST
492
490
 
493
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::status_callback_method]
491
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::status_callback_method]
494
492
  end
495
493
 
496
494
  type supervising_role = :barge | :whisper | :monitor
@@ -502,7 +500,7 @@ module Telnyx
502
500
  WHISPER: :whisper
503
501
  MONITOR: :monitor
504
502
 
505
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::supervising_role]
503
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::supervising_role]
506
504
  end
507
505
 
508
506
  type trim = :"trim-silence" | :"do-not-trim"
@@ -513,7 +511,7 @@ module Telnyx
513
511
  TRIM_SILENCE: :"trim-silence"
514
512
  DO_NOT_TRIM: :"do-not-trim"
515
513
 
516
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::trim]
514
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::trim]
517
515
  end
518
516
 
519
517
  type url_method = :GET | :POST
@@ -524,7 +522,7 @@ module Telnyx
524
522
  GET: :GET
525
523
  POST: :POST
526
524
 
527
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithURL::url_method]
525
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithURL::url_method]
528
526
  end
529
527
  end
530
528
 
@@ -534,43 +532,43 @@ module Telnyx
534
532
  application_sid: String,
535
533
  async_amd: bool,
536
534
  async_amd_status_callback: String,
537
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method,
535
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method,
538
536
  caller_id: String,
539
537
  cancel_playback_on_detect_message_end: bool,
540
538
  cancel_playback_on_machine_detection: bool,
541
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader],
542
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode,
539
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader],
540
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode,
543
541
  fallback_url: String,
544
542
  from: String,
545
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
543
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection,
546
544
  machine_detection_silence_timeout: Integer,
547
545
  machine_detection_speech_end_threshold: Integer,
548
546
  machine_detection_speech_threshold: Integer,
549
547
  machine_detection_timeout: Integer,
550
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption,
548
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption,
551
549
  preferred_codecs: String,
552
550
  record: bool,
553
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels,
551
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels,
554
552
  recording_status_callback: String,
555
553
  recording_status_callback_event: String,
556
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method,
554
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method,
557
555
  recording_timeout: Integer,
558
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track,
556
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track,
559
557
  send_recording_url: bool,
560
558
  sip_auth_password: String,
561
559
  sip_auth_username: String,
562
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
560
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region,
563
561
  status_callback: String,
564
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event,
565
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
562
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event,
563
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method,
566
564
  supervise_call_sid: String,
567
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
565
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role,
568
566
  time_limit: Integer,
569
567
  timeout: Integer,
570
568
  to: String,
571
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim,
572
- url: top,
573
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method
569
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim,
570
+ url: String?,
571
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method
574
572
  }
575
573
 
576
574
  class WithTeXml < Telnyx::Internal::Type::BaseModel
@@ -588,11 +586,11 @@ module Telnyx
588
586
 
589
587
  def async_amd_status_callback=: (String) -> String
590
588
 
591
- attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method?
589
+ attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method?
592
590
 
593
591
  def async_amd_status_callback_method=: (
594
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method
595
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method
592
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method
593
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method
596
594
 
597
595
  attr_reader caller_id: String?
598
596
 
@@ -606,17 +604,17 @@ module Telnyx
606
604
 
607
605
  def cancel_playback_on_machine_detection=: (bool) -> bool
608
606
 
609
- attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader]?
607
+ attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader]?
610
608
 
611
609
  def custom_headers=: (
612
- ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader]
613
- ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader]
610
+ ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader]
611
+ ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader]
614
612
 
615
- attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode?
613
+ attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode?
616
614
 
617
615
  def detection_mode=: (
618
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode
619
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode
616
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode
617
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode
620
618
 
621
619
  attr_reader fallback_url: String?
622
620
 
@@ -626,11 +624,11 @@ module Telnyx
626
624
 
627
625
  def from=: (String) -> String
628
626
 
629
- attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection?
627
+ attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection?
630
628
 
631
629
  def machine_detection=: (
632
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
633
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection
630
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection
631
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection
634
632
 
635
633
  attr_reader machine_detection_silence_timeout: Integer?
636
634
 
@@ -648,11 +646,11 @@ module Telnyx
648
646
 
649
647
  def machine_detection_timeout=: (Integer) -> Integer
650
648
 
651
- attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption?
649
+ attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption?
652
650
 
653
651
  def media_encryption=: (
654
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption
655
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption
652
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption
653
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption
656
654
 
657
655
  attr_reader preferred_codecs: String?
658
656
 
@@ -662,11 +660,11 @@ module Telnyx
662
660
 
663
661
  def record=: (bool) -> bool
664
662
 
665
- attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels?
663
+ attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels?
666
664
 
667
665
  def recording_channels=: (
668
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels
669
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels
666
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels
667
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels
670
668
 
671
669
  attr_reader recording_status_callback: String?
672
670
 
@@ -676,21 +674,21 @@ module Telnyx
676
674
 
677
675
  def recording_status_callback_event=: (String) -> String
678
676
 
679
- attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method?
677
+ attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method?
680
678
 
681
679
  def recording_status_callback_method=: (
682
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method
683
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method
680
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method
681
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method
684
682
 
685
683
  attr_reader recording_timeout: Integer?
686
684
 
687
685
  def recording_timeout=: (Integer) -> Integer
688
686
 
689
- attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track?
687
+ attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track?
690
688
 
691
689
  def recording_track=: (
692
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track
693
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track
690
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track
691
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track
694
692
 
695
693
  attr_reader send_recording_url: bool?
696
694
 
@@ -704,37 +702,37 @@ module Telnyx
704
702
 
705
703
  def sip_auth_username=: (String) -> String
706
704
 
707
- attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region?
705
+ attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region?
708
706
 
709
707
  def sip_region=: (
710
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region
711
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region
708
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region
709
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region
712
710
 
713
711
  attr_reader status_callback: String?
714
712
 
715
713
  def status_callback=: (String) -> String
716
714
 
717
- attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event?
715
+ attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event?
718
716
 
719
717
  def status_callback_event=: (
720
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event
721
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event
718
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event
719
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event
722
720
 
723
- attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method?
721
+ attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method?
724
722
 
725
723
  def status_callback_method=: (
726
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method
727
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method
724
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method
725
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method
728
726
 
729
727
  attr_reader supervise_call_sid: String?
730
728
 
731
729
  def supervise_call_sid=: (String) -> String
732
730
 
733
- attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role?
731
+ attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role?
734
732
 
735
733
  def supervising_role=: (
736
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role
737
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role
734
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role
735
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role
738
736
 
739
737
  attr_reader time_limit: Integer?
740
738
 
@@ -748,64 +746,62 @@ module Telnyx
748
746
 
749
747
  def to=: (String) -> String
750
748
 
751
- attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim?
749
+ attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim?
752
750
 
753
751
  def trim=: (
754
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim
755
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim
756
-
757
- attr_reader url: top?
752
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim
753
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim
758
754
 
759
- def url=: (top) -> top
755
+ attr_accessor url: String?
760
756
 
761
- attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method?
757
+ attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method?
762
758
 
763
759
  def url_method=: (
764
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method
765
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method
760
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method
761
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method
766
762
 
767
763
  def initialize: (
768
764
  texml: String,
769
765
  ?application_sid: String,
770
766
  ?async_amd: bool,
771
767
  ?async_amd_status_callback: String,
772
- ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method,
768
+ ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method,
773
769
  ?caller_id: String,
774
770
  ?cancel_playback_on_detect_message_end: bool,
775
771
  ?cancel_playback_on_machine_detection: bool,
776
- ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader],
777
- ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode,
772
+ ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader],
773
+ ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode,
778
774
  ?fallback_url: String,
779
775
  ?from: String,
780
- ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
776
+ ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection,
781
777
  ?machine_detection_silence_timeout: Integer,
782
778
  ?machine_detection_speech_end_threshold: Integer,
783
779
  ?machine_detection_speech_threshold: Integer,
784
780
  ?machine_detection_timeout: Integer,
785
- ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption,
781
+ ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption,
786
782
  ?preferred_codecs: String,
787
783
  ?record: bool,
788
- ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels,
784
+ ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels,
789
785
  ?recording_status_callback: String,
790
786
  ?recording_status_callback_event: String,
791
- ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method,
787
+ ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method,
792
788
  ?recording_timeout: Integer,
793
- ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track,
789
+ ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track,
794
790
  ?send_recording_url: bool,
795
791
  ?sip_auth_password: String,
796
792
  ?sip_auth_username: String,
797
- ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
793
+ ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region,
798
794
  ?status_callback: String,
799
- ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event,
800
- ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
795
+ ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event,
796
+ ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method,
801
797
  ?supervise_call_sid: String,
802
- ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
798
+ ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role,
803
799
  ?time_limit: Integer,
804
800
  ?timeout: Integer,
805
801
  ?to: String,
806
- ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim,
807
- ?url: top,
808
- ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method
802
+ ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim,
803
+ ?url: String?,
804
+ ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method
809
805
  ) -> void
810
806
 
811
807
  def to_hash: -> {
@@ -813,43 +809,43 @@ module Telnyx
813
809
  application_sid: String,
814
810
  async_amd: bool,
815
811
  async_amd_status_callback: String,
816
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method,
812
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method,
817
813
  caller_id: String,
818
814
  cancel_playback_on_detect_message_end: bool,
819
815
  cancel_playback_on_machine_detection: bool,
820
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::WithTeXml::CustomHeader],
821
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode,
816
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::WithTeXml::CustomHeader],
817
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode,
822
818
  fallback_url: String,
823
819
  from: String,
824
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection,
820
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection,
825
821
  machine_detection_silence_timeout: Integer,
826
822
  machine_detection_speech_end_threshold: Integer,
827
823
  machine_detection_speech_threshold: Integer,
828
824
  machine_detection_timeout: Integer,
829
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption,
825
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption,
830
826
  preferred_codecs: String,
831
827
  record: bool,
832
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels,
828
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels,
833
829
  recording_status_callback: String,
834
830
  recording_status_callback_event: String,
835
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method,
831
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method,
836
832
  recording_timeout: Integer,
837
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track,
833
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track,
838
834
  send_recording_url: bool,
839
835
  sip_auth_password: String,
840
836
  sip_auth_username: String,
841
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region,
837
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region,
842
838
  status_callback: String,
843
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event,
844
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method,
839
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event,
840
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method,
845
841
  supervise_call_sid: String,
846
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role,
842
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role,
847
843
  time_limit: Integer,
848
844
  timeout: Integer,
849
845
  to: String,
850
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim,
851
- url: top,
852
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method
846
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim,
847
+ url: String?,
848
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method
853
849
  }
854
850
 
855
851
  type async_amd_status_callback_method = :GET | :POST
@@ -860,7 +856,7 @@ module Telnyx
860
856
  GET: :GET
861
857
  POST: :POST
862
858
 
863
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::async_amd_status_callback_method]
859
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::async_amd_status_callback_method]
864
860
  end
865
861
 
866
862
  type custom_header = { name: String, value: String }
@@ -883,7 +879,7 @@ module Telnyx
883
879
  PREMIUM: :Premium
884
880
  REGULAR: :Regular
885
881
 
886
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::detection_mode]
882
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::detection_mode]
887
883
  end
888
884
 
889
885
  type machine_detection = :Enable | :Disable | :DetectMessageEnd
@@ -895,7 +891,7 @@ module Telnyx
895
891
  DISABLE: :Disable
896
892
  DETECT_MESSAGE_END: :DetectMessageEnd
897
893
 
898
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::machine_detection]
894
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::machine_detection]
899
895
  end
900
896
 
901
897
  type media_encryption = :disabled | :SRTP | :DTLS
@@ -907,7 +903,7 @@ module Telnyx
907
903
  SRTP: :SRTP
908
904
  DTLS: :DTLS
909
905
 
910
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::media_encryption]
906
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::media_encryption]
911
907
  end
912
908
 
913
909
  type recording_channels = :mono | :dual
@@ -918,7 +914,7 @@ module Telnyx
918
914
  MONO: :mono
919
915
  DUAL: :dual
920
916
 
921
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_channels]
917
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_channels]
922
918
  end
923
919
 
924
920
  type recording_status_callback_method = :GET | :POST
@@ -929,7 +925,7 @@ module Telnyx
929
925
  GET: :GET
930
926
  POST: :POST
931
927
 
932
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_status_callback_method]
928
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_status_callback_method]
933
929
  end
934
930
 
935
931
  type recording_track = :inbound | :outbound | :both
@@ -941,7 +937,7 @@ module Telnyx
941
937
  OUTBOUND: :outbound
942
938
  BOTH: :both
943
939
 
944
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::recording_track]
940
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::recording_track]
945
941
  end
946
942
 
947
943
  type sip_region =
@@ -956,7 +952,7 @@ module Telnyx
956
952
  AUSTRALIA: :Australia
957
953
  MIDDLE_EAST: :"Middle East"
958
954
 
959
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::sip_region]
955
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::sip_region]
960
956
  end
961
957
 
962
958
  type status_callback_event =
@@ -970,7 +966,7 @@ module Telnyx
970
966
  ANSWERED: :answered
971
967
  COMPLETED: :completed
972
968
 
973
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_event]
969
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_event]
974
970
  end
975
971
 
976
972
  type status_callback_method = :GET | :POST
@@ -981,7 +977,7 @@ module Telnyx
981
977
  GET: :GET
982
978
  POST: :POST
983
979
 
984
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::status_callback_method]
980
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::status_callback_method]
985
981
  end
986
982
 
987
983
  type supervising_role = :barge | :whisper | :monitor
@@ -993,7 +989,7 @@ module Telnyx
993
989
  WHISPER: :whisper
994
990
  MONITOR: :monitor
995
991
 
996
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::supervising_role]
992
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::supervising_role]
997
993
  end
998
994
 
999
995
  type trim = :"trim-silence" | :"do-not-trim"
@@ -1004,7 +1000,7 @@ module Telnyx
1004
1000
  TRIM_SILENCE: :"trim-silence"
1005
1001
  DO_NOT_TRIM: :"do-not-trim"
1006
1002
 
1007
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::trim]
1003
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::trim]
1008
1004
  end
1009
1005
 
1010
1006
  type url_method = :GET | :POST
@@ -1015,7 +1011,7 @@ module Telnyx
1015
1011
  GET: :GET
1016
1012
  POST: :POST
1017
1013
 
1018
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::WithTeXml::url_method]
1014
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::WithTeXml::url_method]
1019
1015
  end
1020
1016
  end
1021
1017
 
@@ -1024,44 +1020,44 @@ module Telnyx
1024
1020
  application_sid: String,
1025
1021
  async_amd: bool,
1026
1022
  async_amd_status_callback: String,
1027
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method,
1023
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method,
1028
1024
  caller_id: String,
1029
1025
  cancel_playback_on_detect_message_end: bool,
1030
1026
  cancel_playback_on_machine_detection: bool,
1031
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader],
1032
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode,
1027
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader],
1028
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode,
1033
1029
  fallback_url: String,
1034
1030
  from: String,
1035
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1031
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection,
1036
1032
  machine_detection_silence_timeout: Integer,
1037
1033
  machine_detection_speech_end_threshold: Integer,
1038
1034
  machine_detection_speech_threshold: Integer,
1039
1035
  machine_detection_timeout: Integer,
1040
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption,
1036
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption,
1041
1037
  preferred_codecs: String,
1042
1038
  record: bool,
1043
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels,
1039
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels,
1044
1040
  recording_status_callback: String,
1045
1041
  recording_status_callback_event: String,
1046
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method,
1042
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method,
1047
1043
  recording_timeout: Integer,
1048
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track,
1044
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track,
1049
1045
  send_recording_url: bool,
1050
1046
  sip_auth_password: String,
1051
1047
  sip_auth_username: String,
1052
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
1048
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region,
1053
1049
  status_callback: String,
1054
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event,
1055
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
1050
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event,
1051
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method,
1056
1052
  supervise_call_sid: String,
1057
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
1058
- texml: top,
1053
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role,
1054
+ texml: String?,
1059
1055
  time_limit: Integer,
1060
1056
  timeout: Integer,
1061
1057
  to: String,
1062
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim,
1063
- url: top,
1064
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method
1058
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim,
1059
+ url: String?,
1060
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method
1065
1061
  }
1066
1062
 
1067
1063
  class ApplicationDefault < Telnyx::Internal::Type::BaseModel
@@ -1077,11 +1073,11 @@ module Telnyx
1077
1073
 
1078
1074
  def async_amd_status_callback=: (String) -> String
1079
1075
 
1080
- attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method?
1076
+ attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method?
1081
1077
 
1082
1078
  def async_amd_status_callback_method=: (
1083
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method
1084
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method
1079
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method
1080
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method
1085
1081
 
1086
1082
  attr_reader caller_id: String?
1087
1083
 
@@ -1095,17 +1091,17 @@ module Telnyx
1095
1091
 
1096
1092
  def cancel_playback_on_machine_detection=: (bool) -> bool
1097
1093
 
1098
- attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader]?
1094
+ attr_reader custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader]?
1099
1095
 
1100
1096
  def custom_headers=: (
1101
- ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader]
1102
- ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader]
1097
+ ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader]
1098
+ ) -> ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader]
1103
1099
 
1104
- attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode?
1100
+ attr_reader detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode?
1105
1101
 
1106
1102
  def detection_mode=: (
1107
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode
1108
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode
1103
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode
1104
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode
1109
1105
 
1110
1106
  attr_reader fallback_url: String?
1111
1107
 
@@ -1115,11 +1111,11 @@ module Telnyx
1115
1111
 
1116
1112
  def from=: (String) -> String
1117
1113
 
1118
- attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection?
1114
+ attr_reader machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection?
1119
1115
 
1120
1116
  def machine_detection=: (
1121
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
1122
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection
1117
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection
1118
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection
1123
1119
 
1124
1120
  attr_reader machine_detection_silence_timeout: Integer?
1125
1121
 
@@ -1137,11 +1133,11 @@ module Telnyx
1137
1133
 
1138
1134
  def machine_detection_timeout=: (Integer) -> Integer
1139
1135
 
1140
- attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption?
1136
+ attr_reader media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption?
1141
1137
 
1142
1138
  def media_encryption=: (
1143
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption
1144
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption
1139
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption
1140
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption
1145
1141
 
1146
1142
  attr_reader preferred_codecs: String?
1147
1143
 
@@ -1151,11 +1147,11 @@ module Telnyx
1151
1147
 
1152
1148
  def record=: (bool) -> bool
1153
1149
 
1154
- attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels?
1150
+ attr_reader recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels?
1155
1151
 
1156
1152
  def recording_channels=: (
1157
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels
1158
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels
1153
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels
1154
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels
1159
1155
 
1160
1156
  attr_reader recording_status_callback: String?
1161
1157
 
@@ -1165,21 +1161,21 @@ module Telnyx
1165
1161
 
1166
1162
  def recording_status_callback_event=: (String) -> String
1167
1163
 
1168
- attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method?
1164
+ attr_reader recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method?
1169
1165
 
1170
1166
  def recording_status_callback_method=: (
1171
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method
1172
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method
1167
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method
1168
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method
1173
1169
 
1174
1170
  attr_reader recording_timeout: Integer?
1175
1171
 
1176
1172
  def recording_timeout=: (Integer) -> Integer
1177
1173
 
1178
- attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track?
1174
+ attr_reader recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track?
1179
1175
 
1180
1176
  def recording_track=: (
1181
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track
1182
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track
1177
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track
1178
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track
1183
1179
 
1184
1180
  attr_reader send_recording_url: bool?
1185
1181
 
@@ -1193,41 +1189,39 @@ module Telnyx
1193
1189
 
1194
1190
  def sip_auth_username=: (String) -> String
1195
1191
 
1196
- attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region?
1192
+ attr_reader sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region?
1197
1193
 
1198
1194
  def sip_region=: (
1199
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region
1200
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region
1195
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region
1196
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region
1201
1197
 
1202
1198
  attr_reader status_callback: String?
1203
1199
 
1204
1200
  def status_callback=: (String) -> String
1205
1201
 
1206
- attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event?
1202
+ attr_reader status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event?
1207
1203
 
1208
1204
  def status_callback_event=: (
1209
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event
1210
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event
1205
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event
1206
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event
1211
1207
 
1212
- attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method?
1208
+ attr_reader status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method?
1213
1209
 
1214
1210
  def status_callback_method=: (
1215
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method
1216
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method
1211
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method
1212
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method
1217
1213
 
1218
1214
  attr_reader supervise_call_sid: String?
1219
1215
 
1220
1216
  def supervise_call_sid=: (String) -> String
1221
1217
 
1222
- attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role?
1218
+ attr_reader supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role?
1223
1219
 
1224
1220
  def supervising_role=: (
1225
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role
1226
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role
1221
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role
1222
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role
1227
1223
 
1228
- attr_reader texml: top?
1229
-
1230
- def texml=: (top) -> top
1224
+ attr_accessor texml: String?
1231
1225
 
1232
1226
  attr_reader time_limit: Integer?
1233
1227
 
@@ -1241,108 +1235,106 @@ module Telnyx
1241
1235
 
1242
1236
  def to=: (String) -> String
1243
1237
 
1244
- attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim?
1238
+ attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim?
1245
1239
 
1246
1240
  def trim=: (
1247
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim
1248
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim
1249
-
1250
- attr_reader url: top?
1241
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim
1242
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim
1251
1243
 
1252
- def url=: (top) -> top
1244
+ attr_accessor url: String?
1253
1245
 
1254
- attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method?
1246
+ attr_reader url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method?
1255
1247
 
1256
1248
  def url_method=: (
1257
- Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method
1258
- ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method
1249
+ Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method
1250
+ ) -> Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method
1259
1251
 
1260
1252
  def initialize: (
1261
1253
  ?application_sid: String,
1262
1254
  ?async_amd: bool,
1263
1255
  ?async_amd_status_callback: String,
1264
- ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method,
1256
+ ?async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method,
1265
1257
  ?caller_id: String,
1266
1258
  ?cancel_playback_on_detect_message_end: bool,
1267
1259
  ?cancel_playback_on_machine_detection: bool,
1268
- ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader],
1269
- ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode,
1260
+ ?custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader],
1261
+ ?detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode,
1270
1262
  ?fallback_url: String,
1271
1263
  ?from: String,
1272
- ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1264
+ ?machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection,
1273
1265
  ?machine_detection_silence_timeout: Integer,
1274
1266
  ?machine_detection_speech_end_threshold: Integer,
1275
1267
  ?machine_detection_speech_threshold: Integer,
1276
1268
  ?machine_detection_timeout: Integer,
1277
- ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption,
1269
+ ?media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption,
1278
1270
  ?preferred_codecs: String,
1279
1271
  ?record: bool,
1280
- ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels,
1272
+ ?recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels,
1281
1273
  ?recording_status_callback: String,
1282
1274
  ?recording_status_callback_event: String,
1283
- ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method,
1275
+ ?recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method,
1284
1276
  ?recording_timeout: Integer,
1285
- ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track,
1277
+ ?recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track,
1286
1278
  ?send_recording_url: bool,
1287
1279
  ?sip_auth_password: String,
1288
1280
  ?sip_auth_username: String,
1289
- ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
1281
+ ?sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region,
1290
1282
  ?status_callback: String,
1291
- ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event,
1292
- ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
1283
+ ?status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event,
1284
+ ?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method,
1293
1285
  ?supervise_call_sid: String,
1294
- ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
1295
- ?texml: top,
1286
+ ?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role,
1287
+ ?texml: String?,
1296
1288
  ?time_limit: Integer,
1297
1289
  ?timeout: Integer,
1298
1290
  ?to: String,
1299
- ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim,
1300
- ?url: top,
1301
- ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method
1291
+ ?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim,
1292
+ ?url: String?,
1293
+ ?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method
1302
1294
  ) -> void
1303
1295
 
1304
1296
  def to_hash: -> {
1305
1297
  application_sid: String,
1306
1298
  async_amd: bool,
1307
1299
  async_amd_status_callback: String,
1308
- async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method,
1300
+ async_amd_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method,
1309
1301
  caller_id: String,
1310
1302
  cancel_playback_on_detect_message_end: bool,
1311
1303
  cancel_playback_on_machine_detection: bool,
1312
- custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::CustomHeader],
1313
- detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode,
1304
+ custom_headers: ::Array[Telnyx::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::CustomHeader],
1305
+ detection_mode: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode,
1314
1306
  fallback_url: String,
1315
1307
  from: String,
1316
- machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection,
1308
+ machine_detection: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection,
1317
1309
  machine_detection_silence_timeout: Integer,
1318
1310
  machine_detection_speech_end_threshold: Integer,
1319
1311
  machine_detection_speech_threshold: Integer,
1320
1312
  machine_detection_timeout: Integer,
1321
- media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption,
1313
+ media_encryption: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption,
1322
1314
  preferred_codecs: String,
1323
1315
  record: bool,
1324
- recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels,
1316
+ recording_channels: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels,
1325
1317
  recording_status_callback: String,
1326
1318
  recording_status_callback_event: String,
1327
- recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method,
1319
+ recording_status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method,
1328
1320
  recording_timeout: Integer,
1329
- recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track,
1321
+ recording_track: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track,
1330
1322
  send_recording_url: bool,
1331
1323
  sip_auth_password: String,
1332
1324
  sip_auth_username: String,
1333
- sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region,
1325
+ sip_region: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region,
1334
1326
  status_callback: String,
1335
- status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event,
1336
- status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method,
1327
+ status_callback_event: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event,
1328
+ status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method,
1337
1329
  supervise_call_sid: String,
1338
- supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role,
1339
- texml: top,
1330
+ supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role,
1331
+ texml: String?,
1340
1332
  time_limit: Integer,
1341
1333
  timeout: Integer,
1342
1334
  to: String,
1343
- trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim,
1344
- url: top,
1345
- url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method
1335
+ trim: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim,
1336
+ url: String?,
1337
+ url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method
1346
1338
  }
1347
1339
 
1348
1340
  type async_amd_status_callback_method = :GET | :POST
@@ -1353,7 +1345,7 @@ module Telnyx
1353
1345
  GET: :GET
1354
1346
  POST: :POST
1355
1347
 
1356
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::async_amd_status_callback_method]
1348
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::async_amd_status_callback_method]
1357
1349
  end
1358
1350
 
1359
1351
  type custom_header = { name: String, value: String }
@@ -1376,7 +1368,7 @@ module Telnyx
1376
1368
  PREMIUM: :Premium
1377
1369
  REGULAR: :Regular
1378
1370
 
1379
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::detection_mode]
1371
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::detection_mode]
1380
1372
  end
1381
1373
 
1382
1374
  type machine_detection = :Enable | :Disable | :DetectMessageEnd
@@ -1388,7 +1380,7 @@ module Telnyx
1388
1380
  DISABLE: :Disable
1389
1381
  DETECT_MESSAGE_END: :DetectMessageEnd
1390
1382
 
1391
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::machine_detection]
1383
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::machine_detection]
1392
1384
  end
1393
1385
 
1394
1386
  type media_encryption = :disabled | :SRTP | :DTLS
@@ -1400,7 +1392,7 @@ module Telnyx
1400
1392
  SRTP: :SRTP
1401
1393
  DTLS: :DTLS
1402
1394
 
1403
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::media_encryption]
1395
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::media_encryption]
1404
1396
  end
1405
1397
 
1406
1398
  type recording_channels = :mono | :dual
@@ -1411,7 +1403,7 @@ module Telnyx
1411
1403
  MONO: :mono
1412
1404
  DUAL: :dual
1413
1405
 
1414
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_channels]
1406
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_channels]
1415
1407
  end
1416
1408
 
1417
1409
  type recording_status_callback_method = :GET | :POST
@@ -1422,7 +1414,7 @@ module Telnyx
1422
1414
  GET: :GET
1423
1415
  POST: :POST
1424
1416
 
1425
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_status_callback_method]
1417
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_status_callback_method]
1426
1418
  end
1427
1419
 
1428
1420
  type recording_track = :inbound | :outbound | :both
@@ -1434,7 +1426,7 @@ module Telnyx
1434
1426
  OUTBOUND: :outbound
1435
1427
  BOTH: :both
1436
1428
 
1437
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::recording_track]
1429
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::recording_track]
1438
1430
  end
1439
1431
 
1440
1432
  type sip_region =
@@ -1449,7 +1441,7 @@ module Telnyx
1449
1441
  AUSTRALIA: :Australia
1450
1442
  MIDDLE_EAST: :"Middle East"
1451
1443
 
1452
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::sip_region]
1444
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::sip_region]
1453
1445
  end
1454
1446
 
1455
1447
  type status_callback_event =
@@ -1463,7 +1455,7 @@ module Telnyx
1463
1455
  ANSWERED: :answered
1464
1456
  COMPLETED: :completed
1465
1457
 
1466
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_event]
1458
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_event]
1467
1459
  end
1468
1460
 
1469
1461
  type status_callback_method = :GET | :POST
@@ -1474,7 +1466,7 @@ module Telnyx
1474
1466
  GET: :GET
1475
1467
  POST: :POST
1476
1468
 
1477
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::status_callback_method]
1469
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::status_callback_method]
1478
1470
  end
1479
1471
 
1480
1472
  type supervising_role = :barge | :whisper | :monitor
@@ -1486,7 +1478,7 @@ module Telnyx
1486
1478
  WHISPER: :whisper
1487
1479
  MONITOR: :monitor
1488
1480
 
1489
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::supervising_role]
1481
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::supervising_role]
1490
1482
  end
1491
1483
 
1492
1484
  type trim = :"trim-silence" | :"do-not-trim"
@@ -1497,7 +1489,7 @@ module Telnyx
1497
1489
  TRIM_SILENCE: :"trim-silence"
1498
1490
  DO_NOT_TRIM: :"do-not-trim"
1499
1491
 
1500
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::trim]
1492
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::trim]
1501
1493
  end
1502
1494
 
1503
1495
  type url_method = :GET | :POST
@@ -1508,11 +1500,11 @@ module Telnyx
1508
1500
  GET: :GET
1509
1501
  POST: :POST
1510
1502
 
1511
- def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Body::ApplicationDefault::url_method]
1503
+ def self?.values: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::Params::ApplicationDefault::url_method]
1512
1504
  end
1513
1505
  end
1514
1506
 
1515
- def self?.variants: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::body]
1507
+ def self?.variants: -> ::Array[Telnyx::Models::Texml::Accounts::CallCallsParams::params]
1516
1508
  end
1517
1509
  end
1518
1510
  end