telnyx 5.44.0 → 5.45.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fe268e9f5711b397cebf7cdde7592128a848e61bf2030a7b3cab7d2420f4997
4
- data.tar.gz: 2eef9ec8559af1b1562f516b43f741cd886611433a46aaeb5cdaf4878f4a05ff
3
+ metadata.gz: 9c0be82d7774523b4c36a553d0d466572d8ef7e5979e0f5853cfb8f6f5297c28
4
+ data.tar.gz: 782dd17b2bbc69f7dc29f8205ca60ae39b0f4216ce4d09e67fe124672d936388
5
5
  SHA512:
6
- metadata.gz: 69e947ca4bd0dda23730add20dab9f170dfd6c7a4bc35b71d169200ead869c7611099a69cadef7684e48b66e8c47fdbde96f4e488f4853e9a81eab93c2f8aea3
7
- data.tar.gz: d7283bb88ef4b9439f5c8e15df31a35aba4daabe04699136ceb182334ad17b59d21933f7aec3ec4c5e41a728307d5461786e682bc41898c301088233961e92cc
6
+ metadata.gz: c4c55c4c65b89afa345066bc1d88e668ef3138770fd2d5e038d37864123684ecf8398045bf5ccc5af4f35a12e6984f84e0e4653b598935d987669f5b26544511
7
+ data.tar.gz: 452fc9facf1492903a8484e3eb6caafa0ce32eb1736ae16c2cd93e5ee36918360dd141c24d240e231c106e9a910cf768158ed16fbb3536fa63782dce2bd96591
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.45.0 (2026-02-26)
4
+
5
+ Full Changelog: [v5.44.0...v5.45.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.44.0...v5.45.0)
6
+
7
+ ### Features
8
+
9
+ * TELAPPS-ENGDESK-48951 add channels to conf record start ([f6e45ec](https://github.com/team-telnyx/telnyx-ruby/commit/f6e45eca1aeab1f2db9c096f42714790049c823b))
10
+
3
11
  ## 5.44.0 (2026-02-26)
4
12
 
5
13
  Full Changelog: [v5.43.0...v5.44.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.43.0...v5.44.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.44.0"
27
+ gem "telnyx", "~> 5.45.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -19,6 +19,13 @@ module Telnyx
19
19
  },
20
20
  api_name: :format
21
21
 
22
+ # @!attribute channels
23
+ # When `dual`, final audio file will be stereo recorded with the conference
24
+ # creator on the first channel, and the rest on the second channel.
25
+ #
26
+ # @return [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Channels, nil]
27
+ optional :channels, enum: -> { Telnyx::Conferences::ActionRecordStartParams::Channels }
28
+
22
29
  # @!attribute command_id
23
30
  # Use this field to avoid duplicate commands. Telnyx will ignore any command with
24
31
  # the same `command_id` for the same `conference_id`.
@@ -53,12 +60,14 @@ module Telnyx
53
60
  # @return [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Trim, nil]
54
61
  optional :trim, enum: -> { Telnyx::Conferences::ActionRecordStartParams::Trim }
55
62
 
56
- # @!method initialize(format_:, command_id: nil, custom_file_name: nil, play_beep: nil, region: nil, trim: nil, request_options: {})
63
+ # @!method initialize(format_:, channels: nil, command_id: nil, custom_file_name: nil, play_beep: nil, region: nil, trim: nil, request_options: {})
57
64
  # Some parameter documentations has been truncated, see
58
65
  # {Telnyx::Models::Conferences::ActionRecordStartParams} for more details.
59
66
  #
60
67
  # @param format_ [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Format] The audio file format used when storing the conference recording. Can be either
61
68
  #
69
+ # @param channels [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Channels] When `dual`, final audio file will be stereo recorded with the conference creato
70
+ #
62
71
  # @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
63
72
  #
64
73
  # @param custom_file_name [String] The custom recording file name to be used instead of the default `call_leg_id`.
@@ -83,6 +92,18 @@ module Telnyx
83
92
  # @return [Array<Symbol>]
84
93
  end
85
94
 
95
+ # When `dual`, final audio file will be stereo recorded with the conference
96
+ # creator on the first channel, and the rest on the second channel.
97
+ module Channels
98
+ extend Telnyx::Internal::Type::Enum
99
+
100
+ SINGLE = :single
101
+ DUAL = :dual
102
+
103
+ # @!method self.values
104
+ # @return [Array<Symbol>]
105
+ end
106
+
86
107
  # Region where the conference data is located. Defaults to the region defined in
87
108
  # user's data locality settings (Europe or US).
88
109
  module Region
@@ -391,12 +391,14 @@ module Telnyx
391
391
  #
392
392
  # - `conference.recording.saved`
393
393
  #
394
- # @overload record_start(id, format_:, command_id: nil, custom_file_name: nil, play_beep: nil, region: nil, trim: nil, request_options: {})
394
+ # @overload record_start(id, format_:, channels: nil, command_id: nil, custom_file_name: nil, play_beep: nil, region: nil, trim: nil, request_options: {})
395
395
  #
396
396
  # @param id [String] Specifies the conference to record by id or name
397
397
  #
398
398
  # @param format_ [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Format] The audio file format used when storing the conference recording. Can be either
399
399
  #
400
+ # @param channels [Symbol, Telnyx::Models::Conferences::ActionRecordStartParams::Channels] When `dual`, final audio file will be stereo recorded with the conference creato
401
+ #
400
402
  # @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
401
403
  #
402
404
  # @param custom_file_name [String] The custom recording file name to be used instead of the default `call_leg_id`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.44.0"
4
+ VERSION = "5.45.0"
5
5
  end
@@ -24,6 +24,25 @@ module Telnyx
24
24
  end
25
25
  attr_accessor :format_
26
26
 
27
+ # When `dual`, final audio file will be stereo recorded with the conference
28
+ # creator on the first channel, and the rest on the second channel.
29
+ sig do
30
+ returns(
31
+ T.nilable(
32
+ Telnyx::Conferences::ActionRecordStartParams::Channels::OrSymbol
33
+ )
34
+ )
35
+ end
36
+ attr_reader :channels
37
+
38
+ sig do
39
+ params(
40
+ channels:
41
+ Telnyx::Conferences::ActionRecordStartParams::Channels::OrSymbol
42
+ ).void
43
+ end
44
+ attr_writer :channels
45
+
27
46
  # Use this field to avoid duplicate commands. Telnyx will ignore any command with
28
47
  # the same `command_id` for the same `conference_id`.
29
48
  sig { returns(T.nilable(String)) }
@@ -88,6 +107,8 @@ module Telnyx
88
107
  params(
89
108
  format_:
90
109
  Telnyx::Conferences::ActionRecordStartParams::Format::OrSymbol,
110
+ channels:
111
+ Telnyx::Conferences::ActionRecordStartParams::Channels::OrSymbol,
91
112
  command_id: String,
92
113
  custom_file_name: String,
93
114
  play_beep: T::Boolean,
@@ -101,6 +122,9 @@ module Telnyx
101
122
  # The audio file format used when storing the conference recording. Can be either
102
123
  # `mp3` or `wav`.
103
124
  format_:,
125
+ # When `dual`, final audio file will be stereo recorded with the conference
126
+ # creator on the first channel, and the rest on the second channel.
127
+ channels: nil,
104
128
  # Use this field to avoid duplicate commands. Telnyx will ignore any command with
105
129
  # the same `command_id` for the same `conference_id`.
106
130
  command_id: nil,
@@ -124,6 +148,8 @@ module Telnyx
124
148
  {
125
149
  format_:
126
150
  Telnyx::Conferences::ActionRecordStartParams::Format::OrSymbol,
151
+ channels:
152
+ Telnyx::Conferences::ActionRecordStartParams::Channels::OrSymbol,
127
153
  command_id: String,
128
154
  custom_file_name: String,
129
155
  play_beep: T::Boolean,
@@ -174,6 +200,42 @@ module Telnyx
174
200
  end
175
201
  end
176
202
 
203
+ # When `dual`, final audio file will be stereo recorded with the conference
204
+ # creator on the first channel, and the rest on the second channel.
205
+ module Channels
206
+ extend Telnyx::Internal::Type::Enum
207
+
208
+ TaggedSymbol =
209
+ T.type_alias do
210
+ T.all(
211
+ Symbol,
212
+ Telnyx::Conferences::ActionRecordStartParams::Channels
213
+ )
214
+ end
215
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
216
+
217
+ SINGLE =
218
+ T.let(
219
+ :single,
220
+ Telnyx::Conferences::ActionRecordStartParams::Channels::TaggedSymbol
221
+ )
222
+ DUAL =
223
+ T.let(
224
+ :dual,
225
+ Telnyx::Conferences::ActionRecordStartParams::Channels::TaggedSymbol
226
+ )
227
+
228
+ sig do
229
+ override.returns(
230
+ T::Array[
231
+ Telnyx::Conferences::ActionRecordStartParams::Channels::TaggedSymbol
232
+ ]
233
+ )
234
+ end
235
+ def self.values
236
+ end
237
+ end
238
+
177
239
  # Region where the conference data is located. Defaults to the region defined in
178
240
  # user's data locality settings (Europe or US).
179
241
  module Region
@@ -410,6 +410,8 @@ module Telnyx
410
410
  id: String,
411
411
  format_:
412
412
  Telnyx::Conferences::ActionRecordStartParams::Format::OrSymbol,
413
+ channels:
414
+ Telnyx::Conferences::ActionRecordStartParams::Channels::OrSymbol,
413
415
  command_id: String,
414
416
  custom_file_name: String,
415
417
  play_beep: T::Boolean,
@@ -425,6 +427,9 @@ module Telnyx
425
427
  # The audio file format used when storing the conference recording. Can be either
426
428
  # `mp3` or `wav`.
427
429
  format_:,
430
+ # When `dual`, final audio file will be stereo recorded with the conference
431
+ # creator on the first channel, and the rest on the second channel.
432
+ channels: nil,
428
433
  # Use this field to avoid duplicate commands. Telnyx will ignore any command with
429
434
  # the same `command_id` for the same `conference_id`.
430
435
  command_id: nil,
@@ -4,6 +4,7 @@ module Telnyx
4
4
  type action_record_start_params =
5
5
  {
6
6
  format_: Telnyx::Models::Conferences::ActionRecordStartParams::format_,
7
+ channels: Telnyx::Models::Conferences::ActionRecordStartParams::channels,
7
8
  command_id: String,
8
9
  custom_file_name: String,
9
10
  play_beep: bool,
@@ -18,6 +19,12 @@ module Telnyx
18
19
 
19
20
  attr_accessor format_: Telnyx::Models::Conferences::ActionRecordStartParams::format_
20
21
 
22
+ attr_reader channels: Telnyx::Models::Conferences::ActionRecordStartParams::channels?
23
+
24
+ def channels=: (
25
+ Telnyx::Models::Conferences::ActionRecordStartParams::channels
26
+ ) -> Telnyx::Models::Conferences::ActionRecordStartParams::channels
27
+
21
28
  attr_reader command_id: String?
22
29
 
23
30
  def command_id=: (String) -> String
@@ -44,6 +51,7 @@ module Telnyx
44
51
 
45
52
  def initialize: (
46
53
  format_: Telnyx::Models::Conferences::ActionRecordStartParams::format_,
54
+ ?channels: Telnyx::Models::Conferences::ActionRecordStartParams::channels,
47
55
  ?command_id: String,
48
56
  ?custom_file_name: String,
49
57
  ?play_beep: bool,
@@ -54,6 +62,7 @@ module Telnyx
54
62
 
55
63
  def to_hash: -> {
56
64
  format_: Telnyx::Models::Conferences::ActionRecordStartParams::format_,
65
+ channels: Telnyx::Models::Conferences::ActionRecordStartParams::channels,
57
66
  command_id: String,
58
67
  custom_file_name: String,
59
68
  play_beep: bool,
@@ -73,6 +82,17 @@ module Telnyx
73
82
  def self?.values: -> ::Array[Telnyx::Models::Conferences::ActionRecordStartParams::format_]
74
83
  end
75
84
 
85
+ type channels = :single | :dual
86
+
87
+ module Channels
88
+ extend Telnyx::Internal::Type::Enum
89
+
90
+ SINGLE: :single
91
+ DUAL: :dual
92
+
93
+ def self?.values: -> ::Array[Telnyx::Models::Conferences::ActionRecordStartParams::channels]
94
+ end
95
+
76
96
  type region = :Australia | :Europe | :"Middle East" | :US
77
97
 
78
98
  module Region
@@ -112,6 +112,7 @@ module Telnyx
112
112
  def record_start: (
113
113
  String id,
114
114
  format_: Telnyx::Models::Conferences::ActionRecordStartParams::format_,
115
+ ?channels: Telnyx::Models::Conferences::ActionRecordStartParams::channels,
115
116
  ?command_id: String,
116
117
  ?custom_file_name: String,
117
118
  ?play_beep: bool,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.44.0
4
+ version: 5.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx