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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -173
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -173
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -175
- data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -173
- data/lib/telnyx/models/ai/widget_settings.rb +138 -0
- data/lib/telnyx/models/connection_noise_suppression_details.rb +61 -0
- data/lib/telnyx/models/credential_connection.rb +3 -61
- data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
- data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
- data/lib/telnyx/models/fqdn_connection.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
- data/lib/telnyx/models/ip_connection.rb +3 -60
- data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
- data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
- data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +3 -25
- data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +3 -25
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +3 -25
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +3 -25
- data/lib/telnyx/models.rb +2 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/credential_connections.rb +2 -2
- data/lib/telnyx/resources/fqdn_connections.rb +2 -2
- data/lib/telnyx/resources/ip_connections.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +4 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -422
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -422
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -422
- data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -421
- data/rbi/telnyx/models/ai/widget_settings.rbi +225 -0
- data/rbi/telnyx/models/connection_noise_suppression_details.rbi +141 -0
- data/rbi/telnyx/models/credential_connection.rbi +4 -152
- data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
- data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
- data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
- data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection.rbi +4 -148
- data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +3 -46
- data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +4 -47
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +4 -47
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +4 -47
- data/rbi/telnyx/models.rbi +3 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
- data/rbi/telnyx/resources/credential_connections.rbi +2 -2
- data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
- data/rbi/telnyx/resources/ip_connections.rbi +2 -2
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -172
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -172
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -172
- data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -172
- data/sig/telnyx/models/ai/widget_settings.rbs +127 -0
- data/sig/telnyx/models/connection_noise_suppression_details.rbs +54 -0
- data/sig/telnyx/models/credential_connection.rbs +6 -57
- data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection.rbs +6 -57
- data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +4 -16
- data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +6 -18
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +6 -18
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +6 -18
- data/sig/telnyx/models.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/credential_connections.rbs +2 -2
- data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
- data/sig/telnyx/resources/ip_connections.rbs +2 -2
- metadata +13 -1
|
@@ -111,17 +111,13 @@ module Telnyx
|
|
|
111
111
|
# regardless of the noise_suppression value, but only take effect when
|
|
112
112
|
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
113
113
|
# re-enable it, the previously configured settings will be used.
|
|
114
|
-
sig
|
|
115
|
-
returns(
|
|
116
|
-
T.nilable(Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails)
|
|
117
|
-
)
|
|
118
|
-
end
|
|
114
|
+
sig { returns(T.nilable(Telnyx::ConnectionNoiseSuppressionDetails)) }
|
|
119
115
|
attr_reader :noise_suppression_details
|
|
120
116
|
|
|
121
117
|
sig do
|
|
122
118
|
params(
|
|
123
119
|
noise_suppression_details:
|
|
124
|
-
Telnyx::
|
|
120
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash
|
|
125
121
|
).void
|
|
126
122
|
end
|
|
127
123
|
attr_writer :noise_suppression_details
|
|
@@ -224,7 +220,7 @@ module Telnyx
|
|
|
224
220
|
noise_suppression:
|
|
225
221
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
226
222
|
noise_suppression_details:
|
|
227
|
-
Telnyx::
|
|
223
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
228
224
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
229
225
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
230
226
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -319,7 +315,7 @@ module Telnyx
|
|
|
319
315
|
noise_suppression:
|
|
320
316
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
321
317
|
noise_suppression_details:
|
|
322
|
-
Telnyx::
|
|
318
|
+
Telnyx::ConnectionNoiseSuppressionDetails,
|
|
323
319
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
324
320
|
outbound: Telnyx::OutboundIP,
|
|
325
321
|
rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
@@ -383,150 +379,6 @@ module Telnyx
|
|
|
383
379
|
end
|
|
384
380
|
end
|
|
385
381
|
|
|
386
|
-
class NoiseSuppressionDetails < Telnyx::Internal::Type::BaseModel
|
|
387
|
-
OrHash =
|
|
388
|
-
T.type_alias do
|
|
389
|
-
T.any(
|
|
390
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails,
|
|
391
|
-
Telnyx::Internal::AnyHash
|
|
392
|
-
)
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
396
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
397
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
398
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
399
|
-
sig { returns(T.nilable(Integer)) }
|
|
400
|
-
attr_reader :attenuation_limit
|
|
401
|
-
|
|
402
|
-
sig { params(attenuation_limit: Integer).void }
|
|
403
|
-
attr_writer :attenuation_limit
|
|
404
|
-
|
|
405
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
406
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
407
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
408
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
409
|
-
# noise suppression capabilities.
|
|
410
|
-
sig do
|
|
411
|
-
returns(
|
|
412
|
-
T.nilable(
|
|
413
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
414
|
-
)
|
|
415
|
-
)
|
|
416
|
-
end
|
|
417
|
-
attr_reader :engine
|
|
418
|
-
|
|
419
|
-
sig do
|
|
420
|
-
params(
|
|
421
|
-
engine:
|
|
422
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
423
|
-
).void
|
|
424
|
-
end
|
|
425
|
-
attr_writer :engine
|
|
426
|
-
|
|
427
|
-
# Configuration options for noise suppression. These settings are stored
|
|
428
|
-
# regardless of the noise_suppression value, but only take effect when
|
|
429
|
-
# noise_suppression is not 'disabled'. If you disable noise suppression and later
|
|
430
|
-
# re-enable it, the previously configured settings will be used.
|
|
431
|
-
sig do
|
|
432
|
-
params(
|
|
433
|
-
attenuation_limit: Integer,
|
|
434
|
-
engine:
|
|
435
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
436
|
-
).returns(T.attached_class)
|
|
437
|
-
end
|
|
438
|
-
def self.new(
|
|
439
|
-
# The attenuation limit value for the selected engine. Default values vary by
|
|
440
|
-
# engine: 0 for 'denoiser', 80 for 'deep_filter_net', 'deep_filter_net_large', and
|
|
441
|
-
# all Krisp engines ('krisp_viva_tel', 'krisp_viva_tel_lite',
|
|
442
|
-
# 'krisp_viva_promodel', 'krisp_viva_ss').
|
|
443
|
-
attenuation_limit: nil,
|
|
444
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
445
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
446
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
447
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
448
|
-
# noise suppression capabilities.
|
|
449
|
-
engine: nil
|
|
450
|
-
)
|
|
451
|
-
end
|
|
452
|
-
|
|
453
|
-
sig do
|
|
454
|
-
override.returns(
|
|
455
|
-
{
|
|
456
|
-
attenuation_limit: Integer,
|
|
457
|
-
engine:
|
|
458
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::OrSymbol
|
|
459
|
-
}
|
|
460
|
-
)
|
|
461
|
-
end
|
|
462
|
-
def to_hash
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
# The noise suppression engine to use. 'denoiser' is the default engine.
|
|
466
|
-
# 'deep_filter_net' and 'deep_filter_net_large' are alternative engines with
|
|
467
|
-
# different performance characteristics. Krisp engines ('krisp_viva_tel',
|
|
468
|
-
# 'krisp_viva_tel_lite', 'krisp_viva_promodel', 'krisp_viva_ss') provide advanced
|
|
469
|
-
# noise suppression capabilities.
|
|
470
|
-
module Engine
|
|
471
|
-
extend Telnyx::Internal::Type::Enum
|
|
472
|
-
|
|
473
|
-
TaggedSymbol =
|
|
474
|
-
T.type_alias do
|
|
475
|
-
T.all(
|
|
476
|
-
Symbol,
|
|
477
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine
|
|
478
|
-
)
|
|
479
|
-
end
|
|
480
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
481
|
-
|
|
482
|
-
DENOISER =
|
|
483
|
-
T.let(
|
|
484
|
-
:denoiser,
|
|
485
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
486
|
-
)
|
|
487
|
-
DEEP_FILTER_NET =
|
|
488
|
-
T.let(
|
|
489
|
-
:deep_filter_net,
|
|
490
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
491
|
-
)
|
|
492
|
-
DEEP_FILTER_NET_LARGE =
|
|
493
|
-
T.let(
|
|
494
|
-
:deep_filter_net_large,
|
|
495
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
496
|
-
)
|
|
497
|
-
KRISP_VIVA_TEL =
|
|
498
|
-
T.let(
|
|
499
|
-
:krisp_viva_tel,
|
|
500
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
501
|
-
)
|
|
502
|
-
KRISP_VIVA_TEL_LITE =
|
|
503
|
-
T.let(
|
|
504
|
-
:krisp_viva_tel_lite,
|
|
505
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
506
|
-
)
|
|
507
|
-
KRISP_VIVA_PROMODEL =
|
|
508
|
-
T.let(
|
|
509
|
-
:krisp_viva_promodel,
|
|
510
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
511
|
-
)
|
|
512
|
-
KRISP_VIVA_SS =
|
|
513
|
-
T.let(
|
|
514
|
-
:krisp_viva_ss,
|
|
515
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
516
|
-
)
|
|
517
|
-
|
|
518
|
-
sig do
|
|
519
|
-
override.returns(
|
|
520
|
-
T::Array[
|
|
521
|
-
Telnyx::IPConnectionUpdateParams::NoiseSuppressionDetails::Engine::TaggedSymbol
|
|
522
|
-
]
|
|
523
|
-
)
|
|
524
|
-
end
|
|
525
|
-
def self.values
|
|
526
|
-
end
|
|
527
|
-
end
|
|
528
|
-
end
|
|
529
|
-
|
|
530
382
|
# One of UDP, TLS, or TCP. Applies only to connections with IP authentication or
|
|
531
383
|
# FQDN authentication.
|
|
532
384
|
module TransportProtocol
|
|
@@ -79,13 +79,7 @@ module Telnyx
|
|
|
79
79
|
attr_accessor :email
|
|
80
80
|
|
|
81
81
|
# The groups the user belongs to.
|
|
82
|
-
sig
|
|
83
|
-
returns(
|
|
84
|
-
T::Array[
|
|
85
|
-
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group
|
|
86
|
-
]
|
|
87
|
-
)
|
|
88
|
-
end
|
|
82
|
+
sig { returns(T::Array[Telnyx::Organizations::UserGroupReference]) }
|
|
89
83
|
attr_accessor :groups
|
|
90
84
|
|
|
91
85
|
# Identifies the type of the resource. Can be 'organization_owner' or
|
|
@@ -121,9 +115,7 @@ module Telnyx
|
|
|
121
115
|
created_at: String,
|
|
122
116
|
email: String,
|
|
123
117
|
groups:
|
|
124
|
-
T::Array[
|
|
125
|
-
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group::OrHash
|
|
126
|
-
],
|
|
118
|
+
T::Array[Telnyx::Organizations::UserGroupReference::OrHash],
|
|
127
119
|
record_type: String,
|
|
128
120
|
user_status:
|
|
129
121
|
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::UserStatus::OrSymbol,
|
|
@@ -160,10 +152,7 @@ module Telnyx
|
|
|
160
152
|
id: String,
|
|
161
153
|
created_at: String,
|
|
162
154
|
email: String,
|
|
163
|
-
groups:
|
|
164
|
-
T::Array[
|
|
165
|
-
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group
|
|
166
|
-
],
|
|
155
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference],
|
|
167
156
|
record_type: String,
|
|
168
157
|
user_status:
|
|
169
158
|
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::UserStatus::TaggedSymbol,
|
|
@@ -175,38 +164,6 @@ module Telnyx
|
|
|
175
164
|
def to_hash
|
|
176
165
|
end
|
|
177
166
|
|
|
178
|
-
class Group < Telnyx::Internal::Type::BaseModel
|
|
179
|
-
OrHash =
|
|
180
|
-
T.type_alias do
|
|
181
|
-
T.any(
|
|
182
|
-
Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::Group,
|
|
183
|
-
Telnyx::Internal::AnyHash
|
|
184
|
-
)
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
# The unique identifier of the group.
|
|
188
|
-
sig { returns(String) }
|
|
189
|
-
attr_accessor :id
|
|
190
|
-
|
|
191
|
-
# The name of the group.
|
|
192
|
-
sig { returns(String) }
|
|
193
|
-
attr_accessor :name
|
|
194
|
-
|
|
195
|
-
# A reference to a group that a user belongs to.
|
|
196
|
-
sig { params(id: String, name: String).returns(T.attached_class) }
|
|
197
|
-
def self.new(
|
|
198
|
-
# The unique identifier of the group.
|
|
199
|
-
id:,
|
|
200
|
-
# The name of the group.
|
|
201
|
-
name:
|
|
202
|
-
)
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
sig { override.returns({ id: String, name: String }) }
|
|
206
|
-
def to_hash
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
|
|
210
167
|
# The status of the account.
|
|
211
168
|
module UserStatus
|
|
212
169
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Organizations
|
|
6
|
+
class UserGroupReference < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Telnyx::Organizations::UserGroupReference,
|
|
11
|
+
Telnyx::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# The unique identifier of the group.
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# The name of the group.
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :name
|
|
22
|
+
|
|
23
|
+
# A reference to a group that a user belongs to.
|
|
24
|
+
sig { params(id: String, name: String).returns(T.attached_class) }
|
|
25
|
+
def self.new(
|
|
26
|
+
# The unique identifier of the group.
|
|
27
|
+
id:,
|
|
28
|
+
# The name of the group.
|
|
29
|
+
name:
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
sig { override.returns({ id: String, name: String }) }
|
|
34
|
+
def to_hash
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -37,19 +37,14 @@ module Telnyx
|
|
|
37
37
|
# true.
|
|
38
38
|
sig do
|
|
39
39
|
returns(
|
|
40
|
-
T.nilable(
|
|
41
|
-
T::Array[Telnyx::Models::Organizations::UserListResponse::Group]
|
|
42
|
-
)
|
|
40
|
+
T.nilable(T::Array[Telnyx::Organizations::UserGroupReference])
|
|
43
41
|
)
|
|
44
42
|
end
|
|
45
43
|
attr_reader :groups
|
|
46
44
|
|
|
47
45
|
sig do
|
|
48
46
|
params(
|
|
49
|
-
groups:
|
|
50
|
-
T::Array[
|
|
51
|
-
Telnyx::Models::Organizations::UserListResponse::Group::OrHash
|
|
52
|
-
]
|
|
47
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference::OrHash]
|
|
53
48
|
).void
|
|
54
49
|
end
|
|
55
50
|
attr_writer :groups
|
|
@@ -98,10 +93,7 @@ module Telnyx
|
|
|
98
93
|
id: String,
|
|
99
94
|
created_at: String,
|
|
100
95
|
email: String,
|
|
101
|
-
groups:
|
|
102
|
-
T::Array[
|
|
103
|
-
Telnyx::Models::Organizations::UserListResponse::Group::OrHash
|
|
104
|
-
],
|
|
96
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference::OrHash],
|
|
105
97
|
last_sign_in_at: T.nilable(String),
|
|
106
98
|
organization_user_bypasses_sso: T::Boolean,
|
|
107
99
|
record_type: String,
|
|
@@ -139,10 +131,7 @@ module Telnyx
|
|
|
139
131
|
id: String,
|
|
140
132
|
created_at: String,
|
|
141
133
|
email: String,
|
|
142
|
-
groups:
|
|
143
|
-
T::Array[
|
|
144
|
-
Telnyx::Models::Organizations::UserListResponse::Group
|
|
145
|
-
],
|
|
134
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference],
|
|
146
135
|
last_sign_in_at: T.nilable(String),
|
|
147
136
|
organization_user_bypasses_sso: T::Boolean,
|
|
148
137
|
record_type: String,
|
|
@@ -154,38 +143,6 @@ module Telnyx
|
|
|
154
143
|
def to_hash
|
|
155
144
|
end
|
|
156
145
|
|
|
157
|
-
class Group < Telnyx::Internal::Type::BaseModel
|
|
158
|
-
OrHash =
|
|
159
|
-
T.type_alias do
|
|
160
|
-
T.any(
|
|
161
|
-
Telnyx::Models::Organizations::UserListResponse::Group,
|
|
162
|
-
Telnyx::Internal::AnyHash
|
|
163
|
-
)
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
# The unique identifier of the group.
|
|
167
|
-
sig { returns(String) }
|
|
168
|
-
attr_accessor :id
|
|
169
|
-
|
|
170
|
-
# The name of the group.
|
|
171
|
-
sig { returns(String) }
|
|
172
|
-
attr_accessor :name
|
|
173
|
-
|
|
174
|
-
# A reference to a group that a user belongs to.
|
|
175
|
-
sig { params(id: String, name: String).returns(T.attached_class) }
|
|
176
|
-
def self.new(
|
|
177
|
-
# The unique identifier of the group.
|
|
178
|
-
id:,
|
|
179
|
-
# The name of the group.
|
|
180
|
-
name:
|
|
181
|
-
)
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
sig { override.returns({ id: String, name: String }) }
|
|
185
|
-
def to_hash
|
|
186
|
-
end
|
|
187
|
-
end
|
|
188
|
-
|
|
189
146
|
# The status of the account.
|
|
190
147
|
module UserStatus
|
|
191
148
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -78,11 +78,7 @@ module Telnyx
|
|
|
78
78
|
# true.
|
|
79
79
|
sig do
|
|
80
80
|
returns(
|
|
81
|
-
T.nilable(
|
|
82
|
-
T::Array[
|
|
83
|
-
Telnyx::Models::Organizations::UserRetrieveResponse::Data::Group
|
|
84
|
-
]
|
|
85
|
-
)
|
|
81
|
+
T.nilable(T::Array[Telnyx::Organizations::UserGroupReference])
|
|
86
82
|
)
|
|
87
83
|
end
|
|
88
84
|
attr_reader :groups
|
|
@@ -90,9 +86,7 @@ module Telnyx
|
|
|
90
86
|
sig do
|
|
91
87
|
params(
|
|
92
88
|
groups:
|
|
93
|
-
T::Array[
|
|
94
|
-
Telnyx::Models::Organizations::UserRetrieveResponse::Data::Group::OrHash
|
|
95
|
-
]
|
|
89
|
+
T::Array[Telnyx::Organizations::UserGroupReference::OrHash]
|
|
96
90
|
).void
|
|
97
91
|
end
|
|
98
92
|
attr_writer :groups
|
|
@@ -142,9 +136,7 @@ module Telnyx
|
|
|
142
136
|
created_at: String,
|
|
143
137
|
email: String,
|
|
144
138
|
groups:
|
|
145
|
-
T::Array[
|
|
146
|
-
Telnyx::Models::Organizations::UserRetrieveResponse::Data::Group::OrHash
|
|
147
|
-
],
|
|
139
|
+
T::Array[Telnyx::Organizations::UserGroupReference::OrHash],
|
|
148
140
|
last_sign_in_at: T.nilable(String),
|
|
149
141
|
organization_user_bypasses_sso: T::Boolean,
|
|
150
142
|
record_type: String,
|
|
@@ -182,10 +174,7 @@ module Telnyx
|
|
|
182
174
|
id: String,
|
|
183
175
|
created_at: String,
|
|
184
176
|
email: String,
|
|
185
|
-
groups:
|
|
186
|
-
T::Array[
|
|
187
|
-
Telnyx::Models::Organizations::UserRetrieveResponse::Data::Group
|
|
188
|
-
],
|
|
177
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference],
|
|
189
178
|
last_sign_in_at: T.nilable(String),
|
|
190
179
|
organization_user_bypasses_sso: T::Boolean,
|
|
191
180
|
record_type: String,
|
|
@@ -197,38 +186,6 @@ module Telnyx
|
|
|
197
186
|
def to_hash
|
|
198
187
|
end
|
|
199
188
|
|
|
200
|
-
class Group < Telnyx::Internal::Type::BaseModel
|
|
201
|
-
OrHash =
|
|
202
|
-
T.type_alias do
|
|
203
|
-
T.any(
|
|
204
|
-
Telnyx::Models::Organizations::UserRetrieveResponse::Data::Group,
|
|
205
|
-
Telnyx::Internal::AnyHash
|
|
206
|
-
)
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
# The unique identifier of the group.
|
|
210
|
-
sig { returns(String) }
|
|
211
|
-
attr_accessor :id
|
|
212
|
-
|
|
213
|
-
# The name of the group.
|
|
214
|
-
sig { returns(String) }
|
|
215
|
-
attr_accessor :name
|
|
216
|
-
|
|
217
|
-
# A reference to a group that a user belongs to.
|
|
218
|
-
sig { params(id: String, name: String).returns(T.attached_class) }
|
|
219
|
-
def self.new(
|
|
220
|
-
# The unique identifier of the group.
|
|
221
|
-
id:,
|
|
222
|
-
# The name of the group.
|
|
223
|
-
name:
|
|
224
|
-
)
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
sig { override.returns({ id: String, name: String }) }
|
|
228
|
-
def to_hash
|
|
229
|
-
end
|
|
230
|
-
end
|
|
231
|
-
|
|
232
189
|
# The status of the account.
|
|
233
190
|
module UserStatus
|
|
234
191
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -84,11 +84,7 @@ module Telnyx
|
|
|
84
84
|
# true.
|
|
85
85
|
sig do
|
|
86
86
|
returns(
|
|
87
|
-
T.nilable(
|
|
88
|
-
T::Array[
|
|
89
|
-
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::Group
|
|
90
|
-
]
|
|
91
|
-
)
|
|
87
|
+
T.nilable(T::Array[Telnyx::Organizations::UserGroupReference])
|
|
92
88
|
)
|
|
93
89
|
end
|
|
94
90
|
attr_reader :groups
|
|
@@ -96,9 +92,7 @@ module Telnyx
|
|
|
96
92
|
sig do
|
|
97
93
|
params(
|
|
98
94
|
groups:
|
|
99
|
-
T::Array[
|
|
100
|
-
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::Group::OrHash
|
|
101
|
-
]
|
|
95
|
+
T::Array[Telnyx::Organizations::UserGroupReference::OrHash]
|
|
102
96
|
).void
|
|
103
97
|
end
|
|
104
98
|
attr_writer :groups
|
|
@@ -148,9 +142,7 @@ module Telnyx
|
|
|
148
142
|
created_at: String,
|
|
149
143
|
email: String,
|
|
150
144
|
groups:
|
|
151
|
-
T::Array[
|
|
152
|
-
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::Group::OrHash
|
|
153
|
-
],
|
|
145
|
+
T::Array[Telnyx::Organizations::UserGroupReference::OrHash],
|
|
154
146
|
last_sign_in_at: T.nilable(String),
|
|
155
147
|
organization_user_bypasses_sso: T::Boolean,
|
|
156
148
|
record_type: String,
|
|
@@ -188,10 +180,7 @@ module Telnyx
|
|
|
188
180
|
id: String,
|
|
189
181
|
created_at: String,
|
|
190
182
|
email: String,
|
|
191
|
-
groups:
|
|
192
|
-
T::Array[
|
|
193
|
-
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::Group
|
|
194
|
-
],
|
|
183
|
+
groups: T::Array[Telnyx::Organizations::UserGroupReference],
|
|
195
184
|
last_sign_in_at: T.nilable(String),
|
|
196
185
|
organization_user_bypasses_sso: T::Boolean,
|
|
197
186
|
record_type: String,
|
|
@@ -203,38 +192,6 @@ module Telnyx
|
|
|
203
192
|
def to_hash
|
|
204
193
|
end
|
|
205
194
|
|
|
206
|
-
class Group < Telnyx::Internal::Type::BaseModel
|
|
207
|
-
OrHash =
|
|
208
|
-
T.type_alias do
|
|
209
|
-
T.any(
|
|
210
|
-
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::Group,
|
|
211
|
-
Telnyx::Internal::AnyHash
|
|
212
|
-
)
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# The unique identifier of the group.
|
|
216
|
-
sig { returns(String) }
|
|
217
|
-
attr_accessor :id
|
|
218
|
-
|
|
219
|
-
# The name of the group.
|
|
220
|
-
sig { returns(String) }
|
|
221
|
-
attr_accessor :name
|
|
222
|
-
|
|
223
|
-
# A reference to a group that a user belongs to.
|
|
224
|
-
sig { params(id: String, name: String).returns(T.attached_class) }
|
|
225
|
-
def self.new(
|
|
226
|
-
# The unique identifier of the group.
|
|
227
|
-
id:,
|
|
228
|
-
# The name of the group.
|
|
229
|
-
name:
|
|
230
|
-
)
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
sig { override.returns({ id: String, name: String }) }
|
|
234
|
-
def to_hash
|
|
235
|
-
end
|
|
236
|
-
end
|
|
237
|
-
|
|
238
195
|
# The status of the account.
|
|
239
196
|
module UserStatus
|
|
240
197
|
extend Telnyx::Internal::Type::Enum
|
data/rbi/telnyx/models.rbi
CHANGED
|
@@ -308,6 +308,9 @@ module Telnyx
|
|
|
308
308
|
|
|
309
309
|
ConnectionListParams = Telnyx::Models::ConnectionListParams
|
|
310
310
|
|
|
311
|
+
ConnectionNoiseSuppressionDetails =
|
|
312
|
+
Telnyx::Models::ConnectionNoiseSuppressionDetails
|
|
313
|
+
|
|
311
314
|
ConnectionRetrieveParams = Telnyx::Models::ConnectionRetrieveParams
|
|
312
315
|
|
|
313
316
|
ConnectionRtcpSettings = Telnyx::Models::ConnectionRtcpSettings
|
|
@@ -59,8 +59,7 @@ module Telnyx
|
|
|
59
59
|
],
|
|
60
60
|
transcription: Telnyx::AI::TranscriptionSettings::OrHash,
|
|
61
61
|
voice_settings: Telnyx::AI::VoiceSettings::OrHash,
|
|
62
|
-
widget_settings:
|
|
63
|
-
Telnyx::AI::Assistants::UpdateAssistant::WidgetSettings::OrHash,
|
|
62
|
+
widget_settings: Telnyx::AI::WidgetSettings::OrHash,
|
|
64
63
|
request_options: Telnyx::RequestOptions::OrHash
|
|
65
64
|
).returns(Telnyx::AI::InferenceEmbedding)
|
|
66
65
|
end
|
|
@@ -50,8 +50,7 @@ module Telnyx
|
|
|
50
50
|
],
|
|
51
51
|
transcription: Telnyx::AI::TranscriptionSettings::OrHash,
|
|
52
52
|
voice_settings: Telnyx::AI::VoiceSettings::OrHash,
|
|
53
|
-
widget_settings:
|
|
54
|
-
Telnyx::AI::AssistantCreateParams::WidgetSettings::OrHash,
|
|
53
|
+
widget_settings: Telnyx::AI::WidgetSettings::OrHash,
|
|
55
54
|
request_options: Telnyx::RequestOptions::OrHash
|
|
56
55
|
).returns(Telnyx::AI::InferenceEmbedding)
|
|
57
56
|
end
|
|
@@ -155,8 +154,7 @@ module Telnyx
|
|
|
155
154
|
],
|
|
156
155
|
transcription: Telnyx::AI::TranscriptionSettings::OrHash,
|
|
157
156
|
voice_settings: Telnyx::AI::VoiceSettings::OrHash,
|
|
158
|
-
widget_settings:
|
|
159
|
-
Telnyx::AI::AssistantUpdateParams::WidgetSettings::OrHash,
|
|
157
|
+
widget_settings: Telnyx::AI::WidgetSettings::OrHash,
|
|
160
158
|
request_options: Telnyx::RequestOptions::OrHash
|
|
161
159
|
).returns(Telnyx::AI::InferenceEmbedding)
|
|
162
160
|
end
|
|
@@ -25,7 +25,7 @@ module Telnyx
|
|
|
25
25
|
noise_suppression:
|
|
26
26
|
Telnyx::CredentialConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
27
27
|
noise_suppression_details:
|
|
28
|
-
Telnyx::
|
|
28
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
29
29
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
30
30
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
31
31
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -147,7 +147,7 @@ module Telnyx
|
|
|
147
147
|
noise_suppression:
|
|
148
148
|
Telnyx::CredentialConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
149
149
|
noise_suppression_details:
|
|
150
|
-
Telnyx::
|
|
150
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
151
151
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
152
152
|
outbound: Telnyx::CredentialOutbound::OrHash,
|
|
153
153
|
password: String,
|
|
@@ -21,7 +21,7 @@ module Telnyx
|
|
|
21
21
|
noise_suppression:
|
|
22
22
|
Telnyx::FqdnConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
23
23
|
noise_suppression_details:
|
|
24
|
-
Telnyx::
|
|
24
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
25
25
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
26
26
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
27
27
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -133,7 +133,7 @@ module Telnyx
|
|
|
133
133
|
noise_suppression:
|
|
134
134
|
Telnyx::FqdnConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
135
135
|
noise_suppression_details:
|
|
136
|
-
Telnyx::
|
|
136
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
137
137
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
138
138
|
outbound: Telnyx::OutboundFqdn::OrHash,
|
|
139
139
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -20,7 +20,7 @@ module Telnyx
|
|
|
20
20
|
noise_suppression:
|
|
21
21
|
Telnyx::IPConnectionCreateParams::NoiseSuppression::OrSymbol,
|
|
22
22
|
noise_suppression_details:
|
|
23
|
-
Telnyx::
|
|
23
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
24
24
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
25
25
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
26
26
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|
|
@@ -130,7 +130,7 @@ module Telnyx
|
|
|
130
130
|
noise_suppression:
|
|
131
131
|
Telnyx::IPConnectionUpdateParams::NoiseSuppression::OrSymbol,
|
|
132
132
|
noise_suppression_details:
|
|
133
|
-
Telnyx::
|
|
133
|
+
Telnyx::ConnectionNoiseSuppressionDetails::OrHash,
|
|
134
134
|
onnet_t38_passthrough_enabled: T::Boolean,
|
|
135
135
|
outbound: Telnyx::OutboundIP::OrHash,
|
|
136
136
|
rtcp_settings: Telnyx::ConnectionRtcpSettings::OrHash,
|