telnyx 5.40.0 → 5.41.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/calls/action_bridge_params.rb +10 -1
- data/lib/telnyx/resources/calls/actions.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/calls/action_bridge_params.rbi +13 -0
- data/rbi/telnyx/resources/calls/actions.rbi +4 -0
- data/sig/telnyx/models/calls/action_bridge_params.rbs +7 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb4611fdc07e052850cd0d14258d628088de0a8cea430674691259bf8141af79
|
|
4
|
+
data.tar.gz: bf2b6ebe2d72d9c1aca45d4d3d6b36f7f3504cc9d059fab75e8e7ec46ba9153d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 380b0cf54fcf0f2927117dc5d6c85af1f4d674ebcf50e5e65b93205762193055c2089dfea221ae42d9a5fa186dc8125b444430f6b894a29c65336077f2744fbf
|
|
7
|
+
data.tar.gz: c6c74babd6a564947e71650861928050687029705224ab767cc7a127982aa2ed5b0f9faaf180a6b24617e1441b9cc1690a1c684b77f093692ac31b22db5f8aeb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.41.0 (2026-02-25)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.40.0...v5.41.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.40.0...v5.41.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* TELAPPS Add prevent_double_bridge to bridge command ([80281e6](https://github.com/team-telnyx/telnyx-ruby/commit/80281e613a9204e6238b61f56d906323dc3f97ad))
|
|
10
|
+
|
|
3
11
|
## 5.40.0 (2026-02-25)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.39.0...v5.40.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.39.0...v5.40.0)
|
data/README.md
CHANGED
|
@@ -51,6 +51,13 @@ module Telnyx
|
|
|
51
51
|
# @return [Boolean, nil]
|
|
52
52
|
optional :play_ringtone, Telnyx::Internal::Type::Boolean
|
|
53
53
|
|
|
54
|
+
# @!attribute prevent_double_bridge
|
|
55
|
+
# When set to `true`, it prevents bridging if the target call is already bridged
|
|
56
|
+
# to another call. Disabled by default.
|
|
57
|
+
#
|
|
58
|
+
# @return [Boolean, nil]
|
|
59
|
+
optional :prevent_double_bridge, Telnyx::Internal::Type::Boolean
|
|
60
|
+
|
|
54
61
|
# @!attribute queue
|
|
55
62
|
# The name of the queue you want to bridge with, can't be used together with
|
|
56
63
|
# call_control_id parameter or video_room_id parameter. Bridging with a queue
|
|
@@ -143,7 +150,7 @@ module Telnyx
|
|
|
143
150
|
# @return [String, nil]
|
|
144
151
|
optional :video_room_id, String
|
|
145
152
|
|
|
146
|
-
# @!method initialize(call_control_id_to_bridge_with:, client_state: nil, command_id: nil, mute_dtmf: nil, park_after_unbridge: nil, play_ringtone: nil, queue: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, ringtone: nil, video_room_context: nil, video_room_id: nil, request_options: {})
|
|
153
|
+
# @!method initialize(call_control_id_to_bridge_with:, client_state: nil, command_id: nil, mute_dtmf: nil, park_after_unbridge: nil, play_ringtone: nil, prevent_double_bridge: nil, queue: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, ringtone: nil, video_room_context: nil, video_room_id: nil, request_options: {})
|
|
147
154
|
# Some parameter documentations has been truncated, see
|
|
148
155
|
# {Telnyx::Models::Calls::ActionBridgeParams} for more details.
|
|
149
156
|
#
|
|
@@ -159,6 +166,8 @@ module Telnyx
|
|
|
159
166
|
#
|
|
160
167
|
# @param play_ringtone [Boolean] Specifies whether to play a ringtone if the call you want to bridge with has not
|
|
161
168
|
#
|
|
169
|
+
# @param prevent_double_bridge [Boolean] When set to `true`, it prevents bridging if the target call is already bridged t
|
|
170
|
+
#
|
|
162
171
|
# @param queue [String] The name of the queue you want to bridge with, can't be used together with
|
|
163
172
|
# call\_
|
|
164
173
|
#
|
|
@@ -133,7 +133,7 @@ module Telnyx
|
|
|
133
133
|
# - `call.bridged` for Leg A
|
|
134
134
|
# - `call.bridged` for Leg B
|
|
135
135
|
#
|
|
136
|
-
# @overload bridge(call_control_id_to_bridge, call_control_id_to_bridge_with:, client_state: nil, command_id: nil, mute_dtmf: nil, park_after_unbridge: nil, play_ringtone: nil, queue: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, ringtone: nil, video_room_context: nil, video_room_id: nil, request_options: {})
|
|
136
|
+
# @overload bridge(call_control_id_to_bridge, call_control_id_to_bridge_with:, client_state: nil, command_id: nil, mute_dtmf: nil, park_after_unbridge: nil, play_ringtone: nil, prevent_double_bridge: nil, queue: nil, record: nil, record_channels: nil, record_custom_file_name: nil, record_format: nil, record_max_length: nil, record_timeout_secs: nil, record_track: nil, record_trim: nil, ringtone: nil, video_room_context: nil, video_room_id: nil, request_options: {})
|
|
137
137
|
#
|
|
138
138
|
# @param call_control_id_to_bridge [String] Unique identifier and token for controlling the call
|
|
139
139
|
#
|
|
@@ -149,6 +149,8 @@ module Telnyx
|
|
|
149
149
|
#
|
|
150
150
|
# @param play_ringtone [Boolean] Specifies whether to play a ringtone if the call you want to bridge with has not
|
|
151
151
|
#
|
|
152
|
+
# @param prevent_double_bridge [Boolean] When set to `true`, it prevents bridging if the target call is already bridged t
|
|
153
|
+
#
|
|
152
154
|
# @param queue [String] The name of the queue you want to bridge with, can't be used together with
|
|
153
155
|
# call\_
|
|
154
156
|
#
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -66,6 +66,14 @@ module Telnyx
|
|
|
66
66
|
sig { params(play_ringtone: T::Boolean).void }
|
|
67
67
|
attr_writer :play_ringtone
|
|
68
68
|
|
|
69
|
+
# When set to `true`, it prevents bridging if the target call is already bridged
|
|
70
|
+
# to another call. Disabled by default.
|
|
71
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
72
|
+
attr_reader :prevent_double_bridge
|
|
73
|
+
|
|
74
|
+
sig { params(prevent_double_bridge: T::Boolean).void }
|
|
75
|
+
attr_writer :prevent_double_bridge
|
|
76
|
+
|
|
69
77
|
# The name of the queue you want to bridge with, can't be used together with
|
|
70
78
|
# call_control_id parameter or video_room_id parameter. Bridging with a queue
|
|
71
79
|
# means bridging with the first call in the queue. The call will always be removed
|
|
@@ -231,6 +239,7 @@ module Telnyx
|
|
|
231
239
|
mute_dtmf: Telnyx::Calls::ActionBridgeParams::MuteDtmf::OrSymbol,
|
|
232
240
|
park_after_unbridge: String,
|
|
233
241
|
play_ringtone: T::Boolean,
|
|
242
|
+
prevent_double_bridge: T::Boolean,
|
|
234
243
|
queue: String,
|
|
235
244
|
record: Telnyx::Calls::ActionBridgeParams::Record::OrSymbol,
|
|
236
245
|
record_channels:
|
|
@@ -270,6 +279,9 @@ module Telnyx
|
|
|
270
279
|
# Specifies whether to play a ringtone if the call you want to bridge with has not
|
|
271
280
|
# yet been answered.
|
|
272
281
|
play_ringtone: nil,
|
|
282
|
+
# When set to `true`, it prevents bridging if the target call is already bridged
|
|
283
|
+
# to another call. Disabled by default.
|
|
284
|
+
prevent_double_bridge: nil,
|
|
273
285
|
# The name of the queue you want to bridge with, can't be used together with
|
|
274
286
|
# call_control_id parameter or video_room_id parameter. Bridging with a queue
|
|
275
287
|
# means bridging with the first call in the queue. The call will always be removed
|
|
@@ -327,6 +339,7 @@ module Telnyx
|
|
|
327
339
|
mute_dtmf: Telnyx::Calls::ActionBridgeParams::MuteDtmf::OrSymbol,
|
|
328
340
|
park_after_unbridge: String,
|
|
329
341
|
play_ringtone: T::Boolean,
|
|
342
|
+
prevent_double_bridge: T::Boolean,
|
|
330
343
|
queue: String,
|
|
331
344
|
record: Telnyx::Calls::ActionBridgeParams::Record::OrSymbol,
|
|
332
345
|
record_channels:
|
|
@@ -184,6 +184,7 @@ module Telnyx
|
|
|
184
184
|
mute_dtmf: Telnyx::Calls::ActionBridgeParams::MuteDtmf::OrSymbol,
|
|
185
185
|
park_after_unbridge: String,
|
|
186
186
|
play_ringtone: T::Boolean,
|
|
187
|
+
prevent_double_bridge: T::Boolean,
|
|
187
188
|
queue: String,
|
|
188
189
|
record: Telnyx::Calls::ActionBridgeParams::Record::OrSymbol,
|
|
189
190
|
record_channels:
|
|
@@ -225,6 +226,9 @@ module Telnyx
|
|
|
225
226
|
# Specifies whether to play a ringtone if the call you want to bridge with has not
|
|
226
227
|
# yet been answered.
|
|
227
228
|
play_ringtone: nil,
|
|
229
|
+
# When set to `true`, it prevents bridging if the target call is already bridged
|
|
230
|
+
# to another call. Disabled by default.
|
|
231
|
+
prevent_double_bridge: nil,
|
|
228
232
|
# The name of the queue you want to bridge with, can't be used together with
|
|
229
233
|
# call_control_id parameter or video_room_id parameter. Bridging with a queue
|
|
230
234
|
# means bridging with the first call in the queue. The call will always be removed
|
|
@@ -9,6 +9,7 @@ module Telnyx
|
|
|
9
9
|
mute_dtmf: Telnyx::Models::Calls::ActionBridgeParams::mute_dtmf,
|
|
10
10
|
park_after_unbridge: String,
|
|
11
11
|
play_ringtone: bool,
|
|
12
|
+
prevent_double_bridge: bool,
|
|
12
13
|
queue: String,
|
|
13
14
|
record: Telnyx::Models::Calls::ActionBridgeParams::record,
|
|
14
15
|
record_channels: Telnyx::Models::Calls::ActionBridgeParams::record_channels,
|
|
@@ -52,6 +53,10 @@ module Telnyx
|
|
|
52
53
|
|
|
53
54
|
def play_ringtone=: (bool) -> bool
|
|
54
55
|
|
|
56
|
+
attr_reader prevent_double_bridge: bool?
|
|
57
|
+
|
|
58
|
+
def prevent_double_bridge=: (bool) -> bool
|
|
59
|
+
|
|
55
60
|
attr_reader queue: String?
|
|
56
61
|
|
|
57
62
|
def queue=: (String) -> String
|
|
@@ -119,6 +124,7 @@ module Telnyx
|
|
|
119
124
|
?mute_dtmf: Telnyx::Models::Calls::ActionBridgeParams::mute_dtmf,
|
|
120
125
|
?park_after_unbridge: String,
|
|
121
126
|
?play_ringtone: bool,
|
|
127
|
+
?prevent_double_bridge: bool,
|
|
122
128
|
?queue: String,
|
|
123
129
|
?record: Telnyx::Models::Calls::ActionBridgeParams::record,
|
|
124
130
|
?record_channels: Telnyx::Models::Calls::ActionBridgeParams::record_channels,
|
|
@@ -141,6 +147,7 @@ module Telnyx
|
|
|
141
147
|
mute_dtmf: Telnyx::Models::Calls::ActionBridgeParams::mute_dtmf,
|
|
142
148
|
park_after_unbridge: String,
|
|
143
149
|
play_ringtone: bool,
|
|
150
|
+
prevent_double_bridge: bool,
|
|
144
151
|
queue: String,
|
|
145
152
|
record: Telnyx::Models::Calls::ActionBridgeParams::record,
|
|
146
153
|
record_channels: Telnyx::Models::Calls::ActionBridgeParams::record_channels,
|
|
@@ -49,6 +49,7 @@ module Telnyx
|
|
|
49
49
|
?mute_dtmf: Telnyx::Models::Calls::ActionBridgeParams::mute_dtmf,
|
|
50
50
|
?park_after_unbridge: String,
|
|
51
51
|
?play_ringtone: bool,
|
|
52
|
+
?prevent_double_bridge: bool,
|
|
52
53
|
?queue: String,
|
|
53
54
|
?record: Telnyx::Models::Calls::ActionBridgeParams::record,
|
|
54
55
|
?record_channels: Telnyx::Models::Calls::ActionBridgeParams::record_channels,
|