telnyx 5.8.2 → 5.9.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 +13 -0
- data/README.md +1 -1
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +10 -1
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +13 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +4 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +7 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cc7fbce7f074bbaa3ddda14d39148c0f2600db6f78bf94f1e24b7cfbe96651c
|
|
4
|
+
data.tar.gz: 052dd54c9e6cee8820aeabcf5fb4bccca4b2e423244b6ddfbefd09fb05983e51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0fb38eba71248d4e826279bc4b4b144bb0a23316c89208c27bfad66791b4f21be8c57d3ca00c711870ac46508f06efa5088dae8c9f712fa94a0bec852963507e
|
|
7
|
+
data.tar.gz: '088a415499a7fce1e5451c150cd8b487adf1c17fb48af31109d573e3aca6f555757e50678d7c18f44be3af94e0acd34d4e7546d60164a97e5befe03d8e68b9e6'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.9.0 (2026-02-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.8.2...v5.9.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.8.2...v5.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Add Texml parameter to create call endpoint [ENGDESK-49187] ([0f74f4e](https://github.com/team-telnyx/telnyx-ruby/commit/0f74f4e6deac3f2ae02bfba2bb594ea6c8516c8c))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **docs:** remove www prefix ([3198f7b](https://github.com/team-telnyx/telnyx-ruby/commit/3198f7b01a6c016b179eeb6bc1c527e52fc9845e))
|
|
15
|
+
|
|
3
16
|
## 5.8.2 (2026-02-02)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v5.8.1...v5.8.2](https://github.com/team-telnyx/telnyx-ruby/compare/v5.8.1...v5.8.2)
|
data/README.md
CHANGED
|
@@ -266,6 +266,13 @@ module Telnyx
|
|
|
266
266
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::SupervisingRole },
|
|
267
267
|
api_name: :SupervisingRole
|
|
268
268
|
|
|
269
|
+
# @!attribute texml
|
|
270
|
+
# TeXML to be used as instructions for the call. If provided, the call will
|
|
271
|
+
# execute these instructions instead of fetching from the Url.
|
|
272
|
+
#
|
|
273
|
+
# @return [String, nil]
|
|
274
|
+
optional :texml, String, api_name: :Texml
|
|
275
|
+
|
|
269
276
|
# @!attribute trim
|
|
270
277
|
# Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
271
278
|
# `trim-silence`.
|
|
@@ -288,7 +295,7 @@ module Telnyx
|
|
|
288
295
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::URLMethod },
|
|
289
296
|
api_name: :UrlMethod
|
|
290
297
|
|
|
291
|
-
# @!method initialize(application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
|
298
|
+
# @!method initialize(application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
|
292
299
|
# Some parameter documentations has been truncated, see
|
|
293
300
|
# {Telnyx::Models::Texml::Accounts::CallCallsParams} for more details.
|
|
294
301
|
#
|
|
@@ -360,6 +367,8 @@ module Telnyx
|
|
|
360
367
|
#
|
|
361
368
|
# @param supervising_role [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::SupervisingRole] The supervising role for the new leg. Determines the audio behavior: barge (hear
|
|
362
369
|
#
|
|
370
|
+
# @param texml [String] TeXML to be used as instructions for the call. If provided, the call will execut
|
|
371
|
+
#
|
|
363
372
|
# @param trim [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Trim] Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
364
373
|
#
|
|
365
374
|
# @param url [String] The URL from which Telnyx will retrieve the TeXML call instructions.
|
|
@@ -100,7 +100,7 @@ module Telnyx
|
|
|
100
100
|
# Initiate an outbound TeXML call. Telnyx will request TeXML from the XML Request
|
|
101
101
|
# URL configured for the connection in the Mission Control Portal.
|
|
102
102
|
#
|
|
103
|
-
# @overload calls(account_sid, application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
|
103
|
+
# @overload calls(account_sid, application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, sip_region: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, supervise_call_sid: nil, supervising_role: nil, texml: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
|
104
104
|
#
|
|
105
105
|
# @param account_sid [String] The id of the account the resource belongs to.
|
|
106
106
|
#
|
|
@@ -172,6 +172,8 @@ module Telnyx
|
|
|
172
172
|
#
|
|
173
173
|
# @param supervising_role [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::SupervisingRole] The supervising role for the new leg. Determines the audio behavior: barge (hear
|
|
174
174
|
#
|
|
175
|
+
# @param texml [String] TeXML to be used as instructions for the call. If provided, the call will execut
|
|
176
|
+
#
|
|
175
177
|
# @param trim [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::Trim] Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
176
178
|
#
|
|
177
179
|
# @param url [String] The URL from which Telnyx will retrieve the TeXML call instructions.
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -391,6 +391,14 @@ module Telnyx
|
|
|
391
391
|
end
|
|
392
392
|
attr_writer :supervising_role
|
|
393
393
|
|
|
394
|
+
# TeXML to be used as instructions for the call. If provided, the call will
|
|
395
|
+
# execute these instructions instead of fetching from the Url.
|
|
396
|
+
sig { returns(T.nilable(String)) }
|
|
397
|
+
attr_reader :texml
|
|
398
|
+
|
|
399
|
+
sig { params(texml: String).void }
|
|
400
|
+
attr_writer :texml
|
|
401
|
+
|
|
394
402
|
# Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
395
403
|
# `trim-silence`.
|
|
396
404
|
sig do
|
|
@@ -484,6 +492,7 @@ module Telnyx
|
|
|
484
492
|
supervise_call_sid: String,
|
|
485
493
|
supervising_role:
|
|
486
494
|
Telnyx::Texml::Accounts::CallCallsParams::SupervisingRole::OrSymbol,
|
|
495
|
+
texml: String,
|
|
487
496
|
trim: Telnyx::Texml::Accounts::CallCallsParams::Trim::OrSymbol,
|
|
488
497
|
url: String,
|
|
489
498
|
url_method:
|
|
@@ -583,6 +592,9 @@ module Telnyx
|
|
|
583
592
|
# both sides), whisper (only hear supervisor), monitor (hear both sides but
|
|
584
593
|
# supervisor muted). Default: barge
|
|
585
594
|
supervising_role: nil,
|
|
595
|
+
# TeXML to be used as instructions for the call. If provided, the call will
|
|
596
|
+
# execute these instructions instead of fetching from the Url.
|
|
597
|
+
texml: nil,
|
|
586
598
|
# Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
587
599
|
# `trim-silence`.
|
|
588
600
|
trim: nil,
|
|
@@ -645,6 +657,7 @@ module Telnyx
|
|
|
645
657
|
supervise_call_sid: String,
|
|
646
658
|
supervising_role:
|
|
647
659
|
Telnyx::Texml::Accounts::CallCallsParams::SupervisingRole::OrSymbol,
|
|
660
|
+
texml: String,
|
|
648
661
|
trim: Telnyx::Texml::Accounts::CallCallsParams::Trim::OrSymbol,
|
|
649
662
|
url: String,
|
|
650
663
|
url_method:
|
|
@@ -137,6 +137,7 @@ module Telnyx
|
|
|
137
137
|
supervise_call_sid: String,
|
|
138
138
|
supervising_role:
|
|
139
139
|
Telnyx::Texml::Accounts::CallCallsParams::SupervisingRole::OrSymbol,
|
|
140
|
+
texml: String,
|
|
140
141
|
trim: Telnyx::Texml::Accounts::CallCallsParams::Trim::OrSymbol,
|
|
141
142
|
url: String,
|
|
142
143
|
url_method:
|
|
@@ -238,6 +239,9 @@ module Telnyx
|
|
|
238
239
|
# both sides), whisper (only hear supervisor), monitor (hear both sides but
|
|
239
240
|
# supervisor muted). Default: barge
|
|
240
241
|
supervising_role: nil,
|
|
242
|
+
# TeXML to be used as instructions for the call. If provided, the call will
|
|
243
|
+
# execute these instructions instead of fetching from the Url.
|
|
244
|
+
texml: nil,
|
|
241
245
|
# Whether to trim any leading and trailing silence from the recording. Defaults to
|
|
242
246
|
# `trim-silence`.
|
|
243
247
|
trim: nil,
|
|
@@ -38,6 +38,7 @@ module Telnyx
|
|
|
38
38
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::status_callback_method,
|
|
39
39
|
supervise_call_sid: String,
|
|
40
40
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role,
|
|
41
|
+
texml: String,
|
|
41
42
|
trim: Telnyx::Models::Texml::Accounts::CallCallsParams::trim,
|
|
42
43
|
url: String,
|
|
43
44
|
url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::url_method
|
|
@@ -200,6 +201,10 @@ module Telnyx
|
|
|
200
201
|
Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role
|
|
201
202
|
) -> Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role
|
|
202
203
|
|
|
204
|
+
attr_reader texml: String?
|
|
205
|
+
|
|
206
|
+
def texml=: (String) -> String
|
|
207
|
+
|
|
203
208
|
attr_reader trim: Telnyx::Models::Texml::Accounts::CallCallsParams::trim?
|
|
204
209
|
|
|
205
210
|
def trim=: (
|
|
@@ -251,6 +256,7 @@ module Telnyx
|
|
|
251
256
|
?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::status_callback_method,
|
|
252
257
|
?supervise_call_sid: String,
|
|
253
258
|
?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role,
|
|
259
|
+
?texml: String,
|
|
254
260
|
?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::trim,
|
|
255
261
|
?url: String,
|
|
256
262
|
?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::url_method,
|
|
@@ -292,6 +298,7 @@ module Telnyx
|
|
|
292
298
|
status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::status_callback_method,
|
|
293
299
|
supervise_call_sid: String,
|
|
294
300
|
supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role,
|
|
301
|
+
texml: String,
|
|
295
302
|
trim: Telnyx::Models::Texml::Accounts::CallCallsParams::trim,
|
|
296
303
|
url: String,
|
|
297
304
|
url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::url_method,
|
|
@@ -67,6 +67,7 @@ module Telnyx
|
|
|
67
67
|
?status_callback_method: Telnyx::Models::Texml::Accounts::CallCallsParams::status_callback_method,
|
|
68
68
|
?supervise_call_sid: String,
|
|
69
69
|
?supervising_role: Telnyx::Models::Texml::Accounts::CallCallsParams::supervising_role,
|
|
70
|
+
?texml: String,
|
|
70
71
|
?trim: Telnyx::Models::Texml::Accounts::CallCallsParams::trim,
|
|
71
72
|
?url: String,
|
|
72
73
|
?url_method: Telnyx::Models::Texml::Accounts::CallCallsParams::url_method,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|