telnyx 5.1.0 → 5.2.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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/assistant_create_params.rb +3 -173
  5. data/lib/telnyx/models/ai/assistant_update_params.rb +3 -173
  6. data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -175
  7. data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
  8. data/lib/telnyx/models/ai/inference_embedding.rb +3 -173
  9. data/lib/telnyx/models/ai/widget_settings.rb +138 -0
  10. data/lib/telnyx/models/connection_noise_suppression_details.rb +61 -0
  11. data/lib/telnyx/models/credential_connection.rb +3 -61
  12. data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
  13. data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
  14. data/lib/telnyx/models/fqdn_connection.rb +3 -60
  15. data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
  16. data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
  17. data/lib/telnyx/models/ip_connection.rb +3 -60
  18. data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
  19. data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
  20. data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +3 -25
  21. data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
  22. data/lib/telnyx/models/organizations/user_list_response.rb +3 -25
  23. data/lib/telnyx/models/organizations/user_retrieve_response.rb +3 -25
  24. data/lib/telnyx/models/organizations/users/action_remove_response.rb +3 -25
  25. data/lib/telnyx/models.rb +2 -0
  26. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  27. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  28. data/lib/telnyx/resources/credential_connections.rb +2 -2
  29. data/lib/telnyx/resources/fqdn_connections.rb +2 -2
  30. data/lib/telnyx/resources/ip_connections.rb +2 -2
  31. data/lib/telnyx/version.rb +1 -1
  32. data/lib/telnyx.rb +4 -0
  33. data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -422
  34. data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -422
  35. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -422
  36. data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
  37. data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -421
  38. data/rbi/telnyx/models/ai/widget_settings.rbi +225 -0
  39. data/rbi/telnyx/models/connection_noise_suppression_details.rbi +141 -0
  40. data/rbi/telnyx/models/credential_connection.rbi +4 -152
  41. data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
  42. data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
  43. data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
  44. data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
  45. data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
  46. data/rbi/telnyx/models/ip_connection.rbi +4 -148
  47. data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
  48. data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
  49. data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +3 -46
  50. data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
  51. data/rbi/telnyx/models/organizations/user_list_response.rbi +4 -47
  52. data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +4 -47
  53. data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +4 -47
  54. data/rbi/telnyx/models.rbi +3 -0
  55. data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
  56. data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
  57. data/rbi/telnyx/resources/credential_connections.rbi +2 -2
  58. data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
  59. data/rbi/telnyx/resources/ip_connections.rbi +2 -2
  60. data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -172
  61. data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -172
  62. data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -172
  63. data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
  64. data/sig/telnyx/models/ai/inference_embedding.rbs +6 -172
  65. data/sig/telnyx/models/ai/widget_settings.rbs +127 -0
  66. data/sig/telnyx/models/connection_noise_suppression_details.rbs +54 -0
  67. data/sig/telnyx/models/credential_connection.rbs +6 -57
  68. data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
  69. data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
  70. data/sig/telnyx/models/fqdn_connection.rbs +6 -57
  71. data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
  72. data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
  73. data/sig/telnyx/models/ip_connection.rbs +6 -57
  74. data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
  75. data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
  76. data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +4 -16
  77. data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
  78. data/sig/telnyx/models/organizations/user_list_response.rbs +6 -18
  79. data/sig/telnyx/models/organizations/user_retrieve_response.rbs +6 -18
  80. data/sig/telnyx/models/organizations/users/action_remove_response.rbs +6 -18
  81. data/sig/telnyx/models.rbs +2 -0
  82. data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
  83. data/sig/telnyx/resources/ai/assistants.rbs +2 -2
  84. data/sig/telnyx/resources/credential_connections.rbs +2 -2
  85. data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
  86. data/sig/telnyx/resources/ip_connections.rbs +2 -2
  87. metadata +13 -1
@@ -121,8 +121,8 @@ module Telnyx
121
121
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
122
122
  # re-enable it, the previously configured settings will be used.
123
123
  #
124
- # @return [Telnyx::Models::FqdnConnection::NoiseSuppressionDetails, nil]
125
- optional :noise_suppression_details, -> { Telnyx::FqdnConnection::NoiseSuppressionDetails }
124
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
125
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
126
126
 
127
127
  # @!attribute onnet_t38_passthrough_enabled
128
128
  # Enable on-net T38 if you prefer that the sender and receiver negotiate T38
@@ -279,7 +279,7 @@ module Telnyx
279
279
  #
280
280
  # @param noise_suppression [Symbol, Telnyx::Models::FqdnConnection::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
281
281
  #
282
- # @param noise_suppression_details [Telnyx::Models::FqdnConnection::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
282
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
283
283
  #
284
284
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer that the sender and receiver negotiate T38 direc
285
285
  #
@@ -336,63 +336,6 @@ module Telnyx
336
336
  # @!method self.values
337
337
  # @return [Array<Symbol>]
338
338
  end
339
-
340
- # @see Telnyx::Models::FqdnConnection#noise_suppression_details
341
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
342
- # @!attribute attenuation_limit
343
- # The attenuation limit value for the selected engine. Default values vary by
344
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
345
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
346
- # 'krisp_viva_promodel', 'krisp_viva_ss').
347
- #
348
- # @return [Integer, nil]
349
- optional :attenuation_limit, Integer
350
-
351
- # @!attribute engine
352
- # The noise suppression engine to use. 'denoiser' is the default engine.
353
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
354
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
355
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
356
- # noise suppression capabilities.
357
- #
358
- # @return [Symbol, Telnyx::Models::FqdnConnection::NoiseSuppressionDetails::Engine, nil]
359
- optional :engine, enum: -> { Telnyx::FqdnConnection::NoiseSuppressionDetails::Engine }
360
-
361
- # @!method initialize(attenuation_limit: nil, engine: nil)
362
- # Some parameter documentations has been truncated, see
363
- # {Telnyx::Models::FqdnConnection::NoiseSuppressionDetails} for more details.
364
- #
365
- # Configuration options for noise suppression. These settings are stored
366
- # regardless of the noise_suppression value, but only take effect when
367
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
368
- # re-enable it, the previously configured settings will be used.
369
- #
370
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
371
- #
372
- # @param engine [Symbol, Telnyx::Models::FqdnConnection::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
373
-
374
- # The noise suppression engine to use. 'denoiser' is the default engine.
375
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
376
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
377
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
378
- # noise suppression capabilities.
379
- #
380
- # @see Telnyx::Models::FqdnConnection::NoiseSuppressionDetails#engine
381
- module Engine
382
- extend Telnyx::Internal::Type::Enum
383
-
384
- DENOISER = :denoiser
385
- DEEP_FILTER_NET = :deep_filter_net
386
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
387
- KRISP_VIVA_TEL = :krisp_viva_tel
388
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
389
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
390
- KRISP_VIVA_SS = :krisp_viva_ss
391
-
392
- # @!method self.values
393
- # @return [Array<Symbol>]
394
- end
395
- end
396
339
  end
397
340
  end
398
341
  end
@@ -101,8 +101,8 @@ module Telnyx
101
101
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
102
102
  # re-enable it, the previously configured settings will be used.
103
103
  #
104
- # @return [Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails, nil]
105
- optional :noise_suppression_details, -> { Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails }
104
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
105
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
106
106
 
107
107
  # @!attribute onnet_t38_passthrough_enabled
108
108
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -191,7 +191,7 @@ module Telnyx
191
191
  #
192
192
  # @param noise_suppression [Symbol, Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
193
193
  #
194
- # @param noise_suppression_details [Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
194
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
195
195
  #
196
196
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
197
197
  #
@@ -228,63 +228,6 @@ module Telnyx
228
228
  # @!method self.values
229
229
  # @return [Array<Symbol>]
230
230
  end
231
-
232
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
233
- # @!attribute attenuation_limit
234
- # The attenuation limit value for the selected engine. Default values vary by
235
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
236
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
237
- # 'krisp_viva_promodel', 'krisp_viva_ss').
238
- #
239
- # @return [Integer, nil]
240
- optional :attenuation_limit, Integer
241
-
242
- # @!attribute engine
243
- # The noise suppression engine to use. 'denoiser' is the default engine.
244
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
245
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
246
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
247
- # noise suppression capabilities.
248
- #
249
- # @return [Symbol, Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine, nil]
250
- optional :engine, enum: -> { Telnyx::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine }
251
-
252
- # @!method initialize(attenuation_limit: nil, engine: nil)
253
- # Some parameter documentations has been truncated, see
254
- # {Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails} for more
255
- # details.
256
- #
257
- # Configuration options for noise suppression. These settings are stored
258
- # regardless of the noise_suppression value, but only take effect when
259
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
260
- # re-enable it, the previously configured settings will be used.
261
- #
262
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
263
- #
264
- # @param engine [Symbol, Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
265
-
266
- # The noise suppression engine to use. 'denoiser' is the default engine.
267
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
268
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
269
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
270
- # noise suppression capabilities.
271
- #
272
- # @see Telnyx::Models::FqdnConnectionCreateParams::NoiseSuppressionDetails#engine
273
- module Engine
274
- extend Telnyx::Internal::Type::Enum
275
-
276
- DENOISER = :denoiser
277
- DEEP_FILTER_NET = :deep_filter_net
278
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
279
- KRISP_VIVA_TEL = :krisp_viva_tel
280
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
281
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
282
- KRISP_VIVA_SS = :krisp_viva_ss
283
-
284
- # @!method self.values
285
- # @return [Array<Symbol>]
286
- end
287
- end
288
231
  end
289
232
  end
290
233
  end
@@ -94,8 +94,8 @@ module Telnyx
94
94
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
95
95
  # re-enable it, the previously configured settings will be used.
96
96
  #
97
- # @return [Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails, nil]
98
- optional :noise_suppression_details, -> { Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails }
97
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
98
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
99
99
 
100
100
  # @!attribute onnet_t38_passthrough_enabled
101
101
  # Enable on-net T38 if you prefer that the sender and receiver negotiate T38
@@ -182,7 +182,7 @@ module Telnyx
182
182
  #
183
183
  # @param noise_suppression [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
184
184
  #
185
- # @param noise_suppression_details [Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
186
186
  #
187
187
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer that the sender and receiver negotiate T38 direc
188
188
  #
@@ -219,63 +219,6 @@ module Telnyx
219
219
  # @!method self.values
220
220
  # @return [Array<Symbol>]
221
221
  end
222
-
223
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
224
- # @!attribute attenuation_limit
225
- # The attenuation limit value for the selected engine. Default values vary by
226
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
227
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
228
- # 'krisp_viva_promodel', 'krisp_viva_ss').
229
- #
230
- # @return [Integer, nil]
231
- optional :attenuation_limit, Integer
232
-
233
- # @!attribute engine
234
- # The noise suppression engine to use. 'denoiser' is the default engine.
235
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
236
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
237
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
238
- # noise suppression capabilities.
239
- #
240
- # @return [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine, nil]
241
- optional :engine, enum: -> { Telnyx::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine }
242
-
243
- # @!method initialize(attenuation_limit: nil, engine: nil)
244
- # Some parameter documentations has been truncated, see
245
- # {Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails} for more
246
- # details.
247
- #
248
- # Configuration options for noise suppression. These settings are stored
249
- # regardless of the noise_suppression value, but only take effect when
250
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
251
- # re-enable it, the previously configured settings will be used.
252
- #
253
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
254
- #
255
- # @param engine [Symbol, Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
256
-
257
- # The noise suppression engine to use. 'denoiser' is the default engine.
258
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
259
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
260
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
261
- # noise suppression capabilities.
262
- #
263
- # @see Telnyx::Models::FqdnConnectionUpdateParams::NoiseSuppressionDetails#engine
264
- module Engine
265
- extend Telnyx::Internal::Type::Enum
266
-
267
- DENOISER = :denoiser
268
- DEEP_FILTER_NET = :deep_filter_net
269
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
270
- KRISP_VIVA_TEL = :krisp_viva_tel
271
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
272
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
273
- KRISP_VIVA_SS = :krisp_viva_ss
274
-
275
- # @!method self.values
276
- # @return [Array<Symbol>]
277
- end
278
- end
279
222
  end
280
223
  end
281
224
  end
@@ -90,8 +90,8 @@ module Telnyx
90
90
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
91
91
  # re-enable it, the previously configured settings will be used.
92
92
  #
93
- # @return [Telnyx::Models::IPConnection::NoiseSuppressionDetails, nil]
94
- optional :noise_suppression_details, -> { Telnyx::IPConnection::NoiseSuppressionDetails }
93
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
94
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
95
95
 
96
96
  # @!attribute onnet_t38_passthrough_enabled
97
97
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -190,7 +190,7 @@ module Telnyx
190
190
  #
191
191
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnection::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
192
192
  #
193
- # @param noise_suppression_details [Telnyx::Models::IPConnection::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
193
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
194
194
  #
195
195
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
196
196
  #
@@ -232,63 +232,6 @@ module Telnyx
232
232
  # @return [Array<Symbol>]
233
233
  end
234
234
 
235
- # @see Telnyx::Models::IPConnection#noise_suppression_details
236
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
237
- # @!attribute attenuation_limit
238
- # The attenuation limit value for the selected engine. Default values vary by
239
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
240
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
241
- # 'krisp_viva_promodel', 'krisp_viva_ss').
242
- #
243
- # @return [Integer, nil]
244
- optional :attenuation_limit, Integer
245
-
246
- # @!attribute engine
247
- # The noise suppression engine to use. 'denoiser' is the default engine.
248
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
249
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
250
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
251
- # noise suppression capabilities.
252
- #
253
- # @return [Symbol, Telnyx::Models::IPConnection::NoiseSuppressionDetails::Engine, nil]
254
- optional :engine, enum: -> { Telnyx::IPConnection::NoiseSuppressionDetails::Engine }
255
-
256
- # @!method initialize(attenuation_limit: nil, engine: nil)
257
- # Some parameter documentations has been truncated, see
258
- # {Telnyx::Models::IPConnection::NoiseSuppressionDetails} for more details.
259
- #
260
- # Configuration options for noise suppression. These settings are stored
261
- # regardless of the noise_suppression value, but only take effect when
262
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
263
- # re-enable it, the previously configured settings will be used.
264
- #
265
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
266
- #
267
- # @param engine [Symbol, Telnyx::Models::IPConnection::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
268
-
269
- # The noise suppression engine to use. 'denoiser' is the default engine.
270
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
271
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
272
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
273
- # noise suppression capabilities.
274
- #
275
- # @see Telnyx::Models::IPConnection::NoiseSuppressionDetails#engine
276
- module Engine
277
- extend Telnyx::Internal::Type::Enum
278
-
279
- DENOISER = :denoiser
280
- DEEP_FILTER_NET = :deep_filter_net
281
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
282
- KRISP_VIVA_TEL = :krisp_viva_tel
283
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
284
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
285
- KRISP_VIVA_SS = :krisp_viva_ss
286
-
287
- # @!method self.values
288
- # @return [Array<Symbol>]
289
- end
290
- end
291
-
292
235
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
293
236
  # FQDN authentication.
294
237
  #
@@ -93,8 +93,8 @@ module Telnyx
93
93
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
94
94
  # re-enable it, the previously configured settings will be used.
95
95
  #
96
- # @return [Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails, nil]
97
- optional :noise_suppression_details, -> { Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails }
96
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
97
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
98
98
 
99
99
  # @!attribute onnet_t38_passthrough_enabled
100
100
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -181,7 +181,7 @@ module Telnyx
181
181
  #
182
182
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
183
183
  #
184
- # @param noise_suppression_details [Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
184
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
185
  #
186
186
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
187
187
  #
@@ -438,63 +438,6 @@ module Telnyx
438
438
  # @return [Array<Symbol>]
439
439
  end
440
440
 
441
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
442
- # @!attribute attenuation_limit
443
- # The attenuation limit value for the selected engine. Default values vary by
444
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
445
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
446
- # 'krisp_viva_promodel', 'krisp_viva_ss').
447
- #
448
- # @return [Integer, nil]
449
- optional :attenuation_limit, Integer
450
-
451
- # @!attribute engine
452
- # The noise suppression engine to use. 'denoiser' is the default engine.
453
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
454
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
455
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
456
- # noise suppression capabilities.
457
- #
458
- # @return [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails::Engine, nil]
459
- optional :engine, enum: -> { Telnyx::IPConnectionCreateParams::NoiseSuppressionDetails::Engine }
460
-
461
- # @!method initialize(attenuation_limit: nil, engine: nil)
462
- # Some parameter documentations has been truncated, see
463
- # {Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails} for more
464
- # details.
465
- #
466
- # Configuration options for noise suppression. These settings are stored
467
- # regardless of the noise_suppression value, but only take effect when
468
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
469
- # re-enable it, the previously configured settings will be used.
470
- #
471
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
472
- #
473
- # @param engine [Symbol, Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
474
-
475
- # The noise suppression engine to use. 'denoiser' is the default engine.
476
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
477
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
478
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
479
- # noise suppression capabilities.
480
- #
481
- # @see Telnyx::Models::IPConnectionCreateParams::NoiseSuppressionDetails#engine
482
- module Engine
483
- extend Telnyx::Internal::Type::Enum
484
-
485
- DENOISER = :denoiser
486
- DEEP_FILTER_NET = :deep_filter_net
487
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
488
- KRISP_VIVA_TEL = :krisp_viva_tel
489
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
490
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
491
- KRISP_VIVA_SS = :krisp_viva_ss
492
-
493
- # @!method self.values
494
- # @return [Array<Symbol>]
495
- end
496
- end
497
-
498
441
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
499
442
  # FQDN authentication.
500
443
  module TransportProtocol
@@ -93,8 +93,8 @@ module Telnyx
93
93
  # noise_suppression is not 'disabled'. If you disable noise suppression and later
94
94
  # re-enable it, the previously configured settings will be used.
95
95
  #
96
- # @return [Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails, nil]
97
- optional :noise_suppression_details, -> { Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails }
96
+ # @return [Telnyx::Models::ConnectionNoiseSuppressionDetails, nil]
97
+ optional :noise_suppression_details, -> { Telnyx::ConnectionNoiseSuppressionDetails }
98
98
 
99
99
  # @!attribute onnet_t38_passthrough_enabled
100
100
  # Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
@@ -181,7 +181,7 @@ module Telnyx
181
181
  #
182
182
  # @param noise_suppression [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppression] Controls when noise suppression is applied to calls. When set to 'inbound', nois
183
183
  #
184
- # @param noise_suppression_details [Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
184
+ # @param noise_suppression_details [Telnyx::Models::ConnectionNoiseSuppressionDetails] Configuration options for noise suppression. These settings are stored regardles
185
185
  #
186
186
  # @param onnet_t38_passthrough_enabled [Boolean] Enable on-net T38 if you prefer the sender and receiver negotiating T38 directly
187
187
  #
@@ -219,63 +219,6 @@ module Telnyx
219
219
  # @return [Array<Symbol>]
220
220
  end
221
221
 
222
- class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
223
- # @!attribute attenuation_limit
224
- # The attenuation limit value for the selected engine. Default values vary by
225
- # engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
226
- # all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
227
- # 'krisp_viva_promodel', 'krisp_viva_ss').
228
- #
229
- # @return [Integer, nil]
230
- optional :attenuation_limit, Integer
231
-
232
- # @!attribute engine
233
- # The noise suppression engine to use. 'denoiser' is the default engine.
234
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
235
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
236
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
237
- # noise suppression capabilities.
238
- #
239
- # @return [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine, nil]
240
- optional :engine, enum: -> { Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine }
241
-
242
- # @!method initialize(attenuation_limit: nil, engine: nil)
243
- # Some parameter documentations has been truncated, see
244
- # {Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails} for more
245
- # details.
246
- #
247
- # Configuration options for noise suppression. These settings are stored
248
- # regardless of the noise_suppression value, but only take effect when
249
- # noise_suppression is not 'disabled'. If you disable noise suppression and later
250
- # re-enable it, the previously configured settings will be used.
251
- #
252
- # @param attenuation_limit [Integer] The attenuation limit value for the selected engine. Default values vary by engi
253
- #
254
- # @param engine [Symbol, Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine] The noise suppression engine to use. 'denoiser' is the default engine. 'deep_fil
255
-
256
- # The noise suppression engine to use. 'denoiser' is the default engine.
257
- # 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
258
- # different performance characteristics. Krisp engines ('krisp_viva_tel',
259
- # 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
260
- # noise suppression capabilities.
261
- #
262
- # @see Telnyx::Models::IPConnectionUpdateParams::NoiseSuppressionDetails#engine
263
- module Engine
264
- extend Telnyx::Internal::Type::Enum
265
-
266
- DENOISER = :denoiser
267
- DEEP_FILTER_NET = :deep_filter_net
268
- DEEP_FILTER_NET_LARGE = :deep_filter_net_large
269
- KRISP_VIVA_TEL = :krisp_viva_tel
270
- KRISP_VIVA_TEL_LITE = :krisp_viva_tel_lite
271
- KRISP_VIVA_PROMODEL = :krisp_viva_promodel
272
- KRISP_VIVA_SS = :krisp_viva_ss
273
-
274
- # @!method self.values
275
- # @return [Array<Symbol>]
276
- end
277
- end
278
-
279
222
  # One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
280
223
  # FQDN authentication.
281
224
  module TransportProtocol
@@ -36,9 +36,8 @@ module Telnyx
36
36
  # @!attribute groups
37
37
  # The groups the user belongs to.
38
38
  #
39
- # @return [Array<Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group>]
40
- required :groups,
41
- -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group] }
39
+ # @return [Array<Telnyx::Models::Organizations::UserGroupReference>]
40
+ required :groups, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Organizations::UserGroupReference] }
42
41
 
43
42
  # @!attribute record_type
44
43
  # Identifies the type of the resource. Can be 'organization_owner' or
@@ -81,7 +80,7 @@ module Telnyx
81
80
  #
82
81
  # @param email [String] The email address of the user.
83
82
  #
84
- # @param groups [Array<Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group>] The groups the user belongs to.
83
+ # @param groups [Array<Telnyx::Models::Organizations::UserGroupReference>] The groups the user belongs to.
85
84
  #
86
85
  # @param record_type [String] Identifies the type of the resource. Can be 'organization_owner' or 'organizatio
87
86
  #
@@ -91,27 +90,6 @@ module Telnyx
91
90
  #
92
91
  # @param organization_user_bypasses_sso [Boolean] Indicates whether this user is allowed to bypass SSO and use password authentica
93
92
 
94
- class Group < Telnyx::Internal::Type::BaseModel
95
- # @!attribute id
96
- # The unique identifier of the group.
97
- #
98
- # @return [String]
99
- required :id, String
100
-
101
- # @!attribute name
102
- # The name of the group.
103
- #
104
- # @return [String]
105
- required :name, String
106
-
107
- # @!method initialize(id:, name:)
108
- # A reference to a group that a user belongs to.
109
- #
110
- # @param id [String] The unique identifier of the group.
111
- #
112
- # @param name [String] The name of the group.
113
- end
114
-
115
93
  # The status of the account.
116
94
  #
117
95
  # @see Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data#user_status
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ module Organizations
6
+ class UserGroupReference < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute id
8
+ # The unique identifier of the group.
9
+ #
10
+ # @return [String]
11
+ required :id, String
12
+
13
+ # @!attribute name
14
+ # The name of the group.
15
+ #
16
+ # @return [String]
17
+ required :name, String
18
+
19
+ # @!method initialize(id:, name:)
20
+ # A reference to a group that a user belongs to.
21
+ #
22
+ # @param id [String] The unique identifier of the group.
23
+ #
24
+ # @param name [String] The name of the group.
25
+ end
26
+ end
27
+ end
28
+ end
@@ -27,9 +27,8 @@ module Telnyx
27
27
  # The groups the user belongs to. Only included when include_groups parameter is
28
28
  # true.
29
29
  #
30
- # @return [Array<Telnyx::Models::Organizations::UserListResponse::Group>, nil]
31
- optional :groups,
32
- -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Organizations::UserListResponse::Group] }
30
+ # @return [Array<Telnyx::Models::Organizations::UserGroupReference>, nil]
31
+ optional :groups, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Organizations::UserGroupReference] }
33
32
 
34
33
  # @!attribute last_sign_in_at
35
34
  # ISO 8601 formatted date indicating when the resource last signed into the
@@ -68,7 +67,7 @@ module Telnyx
68
67
  #
69
68
  # @param email [String] The email address of the user.
70
69
  #
71
- # @param groups [Array<Telnyx::Models::Organizations::UserListResponse::Group>] The groups the user belongs to. Only included when include_groups parameter is t
70
+ # @param groups [Array<Telnyx::Models::Organizations::UserGroupReference>] The groups the user belongs to. Only included when include_groups parameter is t
72
71
  #
73
72
  # @param last_sign_in_at [String, nil] ISO 8601 formatted date indicating when the resource last signed into the portal
74
73
  #
@@ -78,27 +77,6 @@ module Telnyx
78
77
  #
79
78
  # @param user_status [Symbol, Telnyx::Models::Organizations::UserListResponse::UserStatus] The status of the account.
80
79
 
81
- class Group < Telnyx::Internal::Type::BaseModel
82
- # @!attribute id
83
- # The unique identifier of the group.
84
- #
85
- # @return [String]
86
- required :id, String
87
-
88
- # @!attribute name
89
- # The name of the group.
90
- #
91
- # @return [String]
92
- required :name, String
93
-
94
- # @!method initialize(id:, name:)
95
- # A reference to a group that a user belongs to.
96
- #
97
- # @param id [String] The unique identifier of the group.
98
- #
99
- # @param name [String] The name of the group.
100
- end
101
-
102
80
  # The status of the account.
103
81
  #
104
82
  # @see Telnyx::Models::Organizations::UserListResponse#user_status