telnyx 5.7.0 → 5.7.1

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 (54) 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/audio_transcribe_params.rb +32 -5
  5. data/lib/telnyx/models/calls/action_start_recording_params.rb +122 -7
  6. data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
  7. data/lib/telnyx/models/sim_card_list_params.rb +11 -3
  8. data/lib/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rb +9 -1
  9. data/lib/telnyx/models/texml/accounts/conferences/participant_participants_response.rb +9 -1
  10. data/lib/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rb +9 -1
  11. data/lib/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rb +9 -1
  12. data/lib/telnyx/models/texml/accounts/conferences/participant_update_response.rb +9 -1
  13. data/lib/telnyx/resources/ai/audio.rb +5 -1
  14. data/lib/telnyx/resources/calls/actions.rb +2 -2
  15. data/lib/telnyx/resources/texml/calls.rb +0 -130
  16. data/lib/telnyx/version.rb +1 -1
  17. data/lib/telnyx.rb +0 -4
  18. data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +53 -7
  19. data/rbi/telnyx/models/calls/action_start_recording_params.rbi +565 -9
  20. data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
  21. data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
  22. data/rbi/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rbi +11 -0
  23. data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_response.rbi +11 -0
  24. data/rbi/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rbi +11 -0
  25. data/rbi/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rbi +11 -0
  26. data/rbi/telnyx/models/texml/accounts/conferences/participant_update_response.rbi +11 -0
  27. data/rbi/telnyx/resources/ai/audio.rbi +18 -3
  28. data/rbi/telnyx/resources/calls/actions.rbi +5 -3
  29. data/rbi/telnyx/resources/sim_cards.rbi +1 -1
  30. data/rbi/telnyx/resources/texml/calls.rbi +0 -180
  31. data/sig/telnyx/models/ai/audio_transcribe_params.rbs +18 -1
  32. data/sig/telnyx/models/calls/action_start_recording_params.rbs +219 -5
  33. data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
  34. data/sig/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rbs +7 -0
  35. data/sig/telnyx/models/texml/accounts/conferences/participant_participants_response.rbs +7 -0
  36. data/sig/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rbs +7 -0
  37. data/sig/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rbs +7 -0
  38. data/sig/telnyx/models/texml/accounts/conferences/participant_update_response.rbs +7 -0
  39. data/sig/telnyx/resources/ai/audio.rbs +2 -0
  40. data/sig/telnyx/resources/calls/actions.rbs +1 -1
  41. data/sig/telnyx/resources/texml/calls.rbs +0 -49
  42. metadata +2 -14
  43. data/lib/telnyx/models/texml/call_initiate_params.rb +0 -427
  44. data/lib/telnyx/models/texml/call_initiate_response.rb +0 -41
  45. data/lib/telnyx/models/texml/call_update_params.rb +0 -16
  46. data/lib/telnyx/models/texml/call_update_response.rb +0 -35
  47. data/rbi/telnyx/models/texml/call_initiate_params.rbi +0 -886
  48. data/rbi/telnyx/models/texml/call_initiate_response.rbi +0 -85
  49. data/rbi/telnyx/models/texml/call_update_params.rbi +0 -29
  50. data/rbi/telnyx/models/texml/call_update_response.rbi +0 -75
  51. data/sig/telnyx/models/texml/call_initiate_params.rbs +0 -371
  52. data/sig/telnyx/models/texml/call_initiate_response.rbs +0 -44
  53. data/sig/telnyx/models/texml/call_update_params.rbs +0 -17
  54. data/sig/telnyx/models/texml/call_update_response.rbs +0 -40
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93320204bacb5edf16ad90de4f4954976beb015bfb321757348853bf70cd8b69
4
- data.tar.gz: 5646bf54cdb3b90b101934aecbb49ab4828fa2a56d973a562fba8582a6180ffe
3
+ metadata.gz: e89574319027088675c85fc5ea31eff8e036fe4c39761a0220624b38447b302f
4
+ data.tar.gz: 7a9593b6c2ad719c6b965689ccde790180dbaedb9b3e32deac580f8e6b7857be
5
5
  SHA512:
6
- metadata.gz: 821f012485a42c92be66fd2cef27d216f72d8c0c1440a243ecece12a56003aa377720c9d6e463abf3f913041237f2ff198b7d3e26037091658f9609e5c8b343d
7
- data.tar.gz: 3ceda969a1361defb80f8cfbbad710856da184fa49b9ebf5b8ea7f835a934d3c589720df68a4d436b07aa3ddd2428f2bdab82ed213ef6f49d850f8d17baa9a26
6
+ metadata.gz: b9a90014ee5137670f3f37d9e3383721237d04288aa950ff48fb0decf8c51af194e3537581d776c121e192471dbfa56122ef26ce6127ea6012b3b3553a41b087
7
+ data.tar.gz: 94d4a9de15d606b748beb970dc47de48929b514ac26fc8021894587d1a2fc4ea74693f8b87f51713064987f2cef1e087629a4367ca7dfc9f55482667879a5ec8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.7.1 (2026-01-30)
4
+
5
+ Full Changelog: [v5.7.0...v5.7.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.7.0...v5.7.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * remove deprecated TeXML API endpoints from OpenAPI spec ([53481a2](https://github.com/team-telnyx/telnyx-ruby/commit/53481a2b89a0dc63ca5877421d13d62855478e9b))
10
+
3
11
  ## 5.7.0 (2026-01-29)
4
12
 
5
13
  Full Changelog: [v5.6.0...v5.7.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.6.0...v5.7.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.7.0"
27
+ gem "telnyx", "~> 5.7.1"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -11,7 +11,8 @@ module Telnyx
11
11
  # @!attribute model
12
12
  # ID of the model to use. `distil-whisper/distil-large-v2` is lower latency but
13
13
  # English-only. `openai/whisper-large-v3-turbo` is multi-lingual but slightly
14
- # higher latency.
14
+ # higher latency. `deepgram/nova-3` supports English variants (en, en-US, en-GB,
15
+ # en-AU, en-NZ, en-IN) and only accepts mp3/wav files.
15
16
  #
16
17
  # @return [Symbol, Telnyx::Models::AI::AudioTranscribeParams::Model]
17
18
  required :model, enum: -> { Telnyx::AI::AudioTranscribeParams::Model }
@@ -19,7 +20,8 @@ module Telnyx
19
20
  # @!attribute file
20
21
  # The audio file object to transcribe, in one of these formats: flac, mp3, mp4,
21
22
  # mpeg, mpga, m4a, ogg, wav, or webm. File uploads are limited to 100 MB. Cannot
22
- # be used together with `file_url`
23
+ # be used together with `file_url`. Note: `deepgram/nova-3` only supports mp3 and
24
+ # wav formats.
23
25
  #
24
26
  # @return [Pathname, StringIO, IO, String, Telnyx::FilePart, nil]
25
27
  optional :file, Telnyx::Internal::Type::FileInput
@@ -27,11 +29,30 @@ module Telnyx
27
29
  # @!attribute file_url
28
30
  # Link to audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a,
29
31
  # ogg, wav, or webm. Support for hosted files is limited to 100MB. Cannot be used
30
- # together with `file`
32
+ # together with `file`. Note: `deepgram/nova-3` only supports mp3 and wav formats.
31
33
  #
32
34
  # @return [String, nil]
33
35
  optional :file_url, String
34
36
 
37
+ # @!attribute language
38
+ # The language of the audio to be transcribed. For `deepgram/nova-3`, only English
39
+ # variants are supported: `en`, `en-US`, `en-GB`, `en-AU`, `en-NZ`, `en-IN`. For
40
+ # `openai/whisper-large-v3-turbo`, supports multiple languages.
41
+ # `distil-whisper/distil-large-v2` does not support language parameter.
42
+ #
43
+ # @return [String, nil]
44
+ optional :language, String
45
+
46
+ # @!attribute model_config
47
+ # Additional model-specific configuration parameters. Only allowed with
48
+ # `deepgram/nova-3` model. Can include Deepgram-specific options such as
49
+ # `smart_format`, `punctuate`, `diarize`, `utterance`, `numerals`, and `language`.
50
+ # If `language` is provided both as a top-level parameter and in `model_config`,
51
+ # the top-level parameter takes precedence.
52
+ #
53
+ # @return [Hash{Symbol=>Object}, nil]
54
+ optional :model_config, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
55
+
35
56
  # @!attribute response_format
36
57
  # The format of the transcript output. Use `verbose_json` to take advantage of
37
58
  # timestamps.
@@ -49,7 +70,7 @@ module Telnyx
49
70
  enum: -> { Telnyx::AI::AudioTranscribeParams::TimestampGranularities },
50
71
  api_name: :"timestamp_granularities[]"
51
72
 
52
- # @!method initialize(model:, file: nil, file_url: nil, response_format: nil, timestamp_granularities: nil, request_options: {})
73
+ # @!method initialize(model:, file: nil, file_url: nil, language: nil, model_config: nil, response_format: nil, timestamp_granularities: nil, request_options: {})
53
74
  # Some parameter documentations has been truncated, see
54
75
  # {Telnyx::Models::AI::AudioTranscribeParams} for more details.
55
76
  #
@@ -59,6 +80,10 @@ module Telnyx
59
80
  #
60
81
  # @param file_url [String] Link to audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg
61
82
  #
83
+ # @param language [String] The language of the audio to be transcribed. For `deepgram/nova-3`, only English
84
+ #
85
+ # @param model_config [Hash{Symbol=>Object}] Additional model-specific configuration parameters. Only allowed with `deepgram/
86
+ #
62
87
  # @param response_format [Symbol, Telnyx::Models::AI::AudioTranscribeParams::ResponseFormat] The format of the transcript output. Use `verbose_json` to take advantage of tim
63
88
  #
64
89
  # @param timestamp_granularities [Symbol, Telnyx::Models::AI::AudioTranscribeParams::TimestampGranularities] The timestamp granularities to populate for this transcription. `response_format
@@ -67,12 +92,14 @@ module Telnyx
67
92
 
68
93
  # ID of the model to use. `distil-whisper/distil-large-v2` is lower latency but
69
94
  # English-only. `openai/whisper-large-v3-turbo` is multi-lingual but slightly
70
- # higher latency.
95
+ # higher latency. `deepgram/nova-3` supports English variants (en, en-US, en-GB,
96
+ # en-AU, en-NZ, en-IN) and only accepts mp3/wav files.
71
97
  module Model
72
98
  extend Telnyx::Internal::Type::Enum
73
99
 
74
100
  DISTIL_WHISPER_DISTIL_LARGE_V2 = :"distil-whisper/distil-large-v2"
75
101
  OPENAI_WHISPER_LARGE_V3_TURBO = :"openai/whisper-large-v3-turbo"
102
+ DEEPGRAM_NOVA_3 = :"deepgram/nova-3"
76
103
 
77
104
  # @!method self.values
78
105
  # @return [Array<Symbol>]
@@ -80,13 +80,15 @@ module Telnyx
80
80
  optional :transcription, Telnyx::Internal::Type::Boolean
81
81
 
82
82
  # @!attribute transcription_engine
83
- # Engine to use for speech recognition. `A` - `Google`
83
+ # Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
84
+ # `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
85
+ # `en` and `en-{Region}` languages.
84
86
  #
85
- # @return [String, nil]
86
- optional :transcription_engine, String
87
+ # @return [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionEngine, nil]
88
+ optional :transcription_engine,
89
+ enum: -> { Telnyx::Calls::ActionStartRecordingParams::TranscriptionEngine }
87
90
 
88
91
  # @!attribute transcription_language
89
- # Language to use for speech recognition
90
92
  #
91
93
  # @return [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionLanguage, nil]
92
94
  optional :transcription_language,
@@ -149,9 +151,9 @@ module Telnyx
149
151
  #
150
152
  # @param transcription [Boolean] Enable post recording transcription. The default value is false.
151
153
  #
152
- # @param transcription_engine [String] Engine to use for speech recognition. `A` - `Google`
154
+ # @param transcription_engine [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionEngine] Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`, `deepgram/
153
155
  #
154
- # @param transcription_language [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionLanguage] Language to use for speech recognition
156
+ # @param transcription_language [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionLanguage]
155
157
  #
156
158
  # @param transcription_max_speaker_count [Integer] Defines maximum number of speakers in the conversation. Applies to `google` engi
157
159
  #
@@ -203,7 +205,20 @@ module Telnyx
203
205
  # @return [Array<Symbol>]
204
206
  end
205
207
 
206
- # Language to use for speech recognition
208
+ # Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`,
209
+ # `deepgram/nova-3` - `Deepgram Nova-3`. Note: `deepgram/nova-3` supports only
210
+ # `en` and `en-{Region}` languages.
211
+ module TranscriptionEngine
212
+ extend Telnyx::Internal::Type::Enum
213
+
214
+ A = :A
215
+ B = :B
216
+ DEEPGRAM_NOVA_3 = :"deepgram/nova-3"
217
+
218
+ # @!method self.values
219
+ # @return [Array<Symbol>]
220
+ end
221
+
207
222
  module TranscriptionLanguage
208
223
  extend Telnyx::Internal::Type::Enum
209
224
 
@@ -352,6 +367,106 @@ module Telnyx
352
367
  ZH = :zh
353
368
  ZH_TW = :"zh-TW"
354
369
  ZU_ZA = :"zu-ZA"
370
+ EN = :en
371
+ DE = :de
372
+ ES = :es
373
+ RU = :ru
374
+ KO = :ko
375
+ FR = :fr
376
+ JA = :ja
377
+ PT = :pt
378
+ TR = :tr
379
+ PL = :pl
380
+ CA = :ca
381
+ NL = :nl
382
+ AR = :ar
383
+ SV = :sv
384
+ IT = :it
385
+ ID = :id
386
+ HI = :hi
387
+ FI = :fi
388
+ VI = :vi
389
+ HE = :he
390
+ UK = :uk
391
+ EL = :el
392
+ MS = :ms
393
+ CS = :cs
394
+ RO = :ro
395
+ DA = :da
396
+ HU = :hu
397
+ TA = :ta
398
+ NO = :no
399
+ TH = :th
400
+ UR = :ur
401
+ HR = :hr
402
+ BG = :bg
403
+ LT = :lt
404
+ LA = :la
405
+ MI = :mi
406
+ ML = :ml
407
+ CY = :cy
408
+ SK = :sk
409
+ TE = :te
410
+ FA = :fa
411
+ LV = :lv
412
+ BN = :bn
413
+ SR = :sr
414
+ AZ = :az
415
+ SL = :sl
416
+ KN = :kn
417
+ ET = :et
418
+ MK = :mk
419
+ BR = :br
420
+ EU = :eu
421
+ IS = :is
422
+ HY = :hy
423
+ NE = :ne
424
+ MN = :mn
425
+ BS = :bs
426
+ KK = :kk
427
+ SQ = :sq
428
+ SW = :sw
429
+ GL = :gl
430
+ MR = :mr
431
+ PA = :pa
432
+ SI = :si
433
+ KM = :km
434
+ SN = :sn
435
+ YO = :yo
436
+ SO = :so
437
+ AF = :af
438
+ OC = :oc
439
+ KA = :ka
440
+ BE = :be
441
+ TG = :tg
442
+ SD = :sd
443
+ GU = :gu
444
+ AM = :am
445
+ YI = :yi
446
+ LO = :lo
447
+ UZ = :uz
448
+ FO = :fo
449
+ HT = :ht
450
+ PS = :ps
451
+ TK = :tk
452
+ NN = :nn
453
+ MT = :mt
454
+ SA = :sa
455
+ LB = :lb
456
+ MY = :my
457
+ BO = :bo
458
+ TL = :tl
459
+ MG = :mg
460
+ AS = :as
461
+ TT = :tt
462
+ HAW = :haw
463
+ LN = :ln
464
+ HA = :ha
465
+ BA = :ba
466
+ JW = :jw
467
+ SU = :su
468
+ AUTO_DETECT = :auto_detect
469
+ ES_419 = :"es-419"
355
470
 
356
471
  # @!method self.values
357
472
  # @return [Array<Symbol>]
@@ -5,7 +5,8 @@ module Telnyx
5
5
  class PrivateWirelessGatewayStatus < Telnyx::Internal::Type::BaseModel
6
6
  response_only do
7
7
  # @!attribute error_code
8
- # This attribute is an [error code](https://developers.telnyx.com/api/errors)
8
+ # This attribute is an
9
+ # [error code](https://developers.telnyx.com/development/api-fundamentals/api-errors)
9
10
  # related to the failure reason.
10
11
  #
11
12
  # @return [String, nil]
@@ -37,7 +38,7 @@ module Telnyx
37
38
  #
38
39
  # The current status or failure details of the Private Wireless Gateway.
39
40
  #
40
- # @param error_code [String, nil] This attribute is an [error code](https://developers.telnyx.com/api/errors) rela
41
+ # @param error_code [String, nil] This attribute is an [error code](https://developers.telnyx.com/development/api-
41
42
  #
42
43
  # @param error_description [String, nil] This attribute provides a human-readable explanation of why a failure happened.
43
44
  #
@@ -9,7 +9,7 @@ module Telnyx
9
9
 
10
10
  # @!attribute filter
11
11
  # Consolidated filter parameter for SIM cards (deepObject style). Originally:
12
- # filter[tags], filter[iccid], filter[status]
12
+ # filter[iccid], filter[msisdn], filter[status], filter[tags]
13
13
  #
14
14
  # @return [Telnyx::Models::SimCardListParams::Filter, nil]
15
15
  optional :filter, -> { Telnyx::SimCardListParams::Filter }
@@ -68,6 +68,12 @@ module Telnyx
68
68
  # @return [String, nil]
69
69
  optional :iccid, String
70
70
 
71
+ # @!attribute msisdn
72
+ # A search string to match for the SIM card's MSISDN.
73
+ #
74
+ # @return [String, nil]
75
+ optional :msisdn, String
76
+
71
77
  # @!attribute status
72
78
  # Filter by a SIM card's status.
73
79
  #
@@ -88,15 +94,17 @@ module Telnyx
88
94
  # @return [Array<String>, nil]
89
95
  optional :tags, Telnyx::Internal::Type::ArrayOf[String]
90
96
 
91
- # @!method initialize(iccid: nil, status: nil, tags: nil)
97
+ # @!method initialize(iccid: nil, msisdn: nil, status: nil, tags: nil)
92
98
  # Some parameter documentations has been truncated, see
93
99
  # {Telnyx::Models::SimCardListParams::Filter} for more details.
94
100
  #
95
101
  # Consolidated filter parameter for SIM cards (deepObject style). Originally:
96
- # filter[tags], filter[iccid], filter[status]
102
+ # filter[iccid], filter[msisdn], filter[status], filter[tags]
97
103
  #
98
104
  # @param iccid [String] A search string to partially match for the SIM card's ICCID.
99
105
  #
106
+ # @param msisdn [String] A search string to match for the SIM card's MSISDN.
107
+ #
100
108
  # @param status [Array<Symbol, Telnyx::Models::SimCardListParams::Filter::Status>] Filter by a SIM card's status.
101
109
  #
102
110
  # @param tags [Array<String>] A list of SIM card tags to filter on.<br/><br/>
@@ -36,6 +36,12 @@ module Telnyx
36
36
  # @return [Integer, nil]
37
37
  optional :page_size, Integer
38
38
 
39
+ # @!attribute participants
40
+ # List of participant resources.
41
+ #
42
+ # @return [Array<Object>, nil]
43
+ optional :participants, Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::Unknown]
44
+
39
45
  # @!attribute recordings
40
46
  #
41
47
  # @return [Array<Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording>, nil]
@@ -54,7 +60,7 @@ module Telnyx
54
60
  # @return [String, nil]
55
61
  optional :uri, String
56
62
 
57
- # @!method initialize(end_: nil, first_page_uri: nil, next_page_uri: nil, page: nil, page_size: nil, recordings: nil, start: nil, uri: nil)
63
+ # @!method initialize(end_: nil, first_page_uri: nil, next_page_uri: nil, page: nil, page_size: nil, participants: nil, recordings: nil, start: nil, uri: nil)
58
64
  # Some parameter documentations has been truncated, see
59
65
  # {Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse} for more
60
66
  # details.
@@ -69,6 +75,8 @@ module Telnyx
69
75
  #
70
76
  # @param page_size [Integer] The number of items on the page
71
77
  #
78
+ # @param participants [Array<Object>] List of participant resources.
79
+ #
72
80
  # @param recordings [Array<Telnyx::Models::Texml::Accounts::ConferenceRetrieveRecordingsResponse::Recording>]
73
81
  #
74
82
  # @param start [Integer] The number of the first element on the page, zero-indexed.
@@ -31,6 +31,12 @@ module Telnyx
31
31
  # @return [String, nil]
32
32
  optional :coaching_call_sid, String
33
33
 
34
+ # @!attribute conference_sid
35
+ # The unique identifier for the conference.
36
+ #
37
+ # @return [String, nil]
38
+ optional :conference_sid, String
39
+
34
40
  # @!attribute end_conference_on_exit
35
41
  # Whether the conference ends when the participant leaves.
36
42
  #
@@ -62,7 +68,7 @@ module Telnyx
62
68
  # @return [String, nil]
63
69
  optional :uri, String
64
70
 
65
- # @!method initialize(account_sid: nil, call_sid: nil, coaching: nil, coaching_call_sid: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
71
+ # @!method initialize(account_sid: nil, call_sid: nil, coaching: nil, coaching_call_sid: nil, conference_sid: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
66
72
  # @param account_sid [String] The id of the account the resource belongs to.
67
73
  #
68
74
  # @param call_sid [String] The identifier of this participant's call.
@@ -71,6 +77,8 @@ module Telnyx
71
77
  #
72
78
  # @param coaching_call_sid [String] The identifier of the coached participant's call.
73
79
  #
80
+ # @param conference_sid [String] The unique identifier for the conference.
81
+ #
74
82
  # @param end_conference_on_exit [Boolean] Whether the conference ends when the participant leaves.
75
83
  #
76
84
  # @param hold [Boolean] Whether the participant is on hold.
@@ -119,6 +119,12 @@ module Telnyx
119
119
  # @return [String, nil]
120
120
  optional :coaching_call_sid_legacy, String
121
121
 
122
+ # @!attribute conference_sid
123
+ # The unique identifier for the conference.
124
+ #
125
+ # @return [String, nil]
126
+ optional :conference_sid, String
127
+
122
128
  # @!attribute date_created
123
129
  # The timestamp of when the resource was created.
124
130
  #
@@ -162,7 +168,7 @@ module Telnyx
162
168
  # @return [String, nil]
163
169
  optional :uri, String
164
170
 
165
- # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
171
+ # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, conference_sid: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
166
172
  # @param account_sid [String] The id of the account the resource belongs to.
167
173
  #
168
174
  # @param api_version [String] The version of the API that was used to make the request.
@@ -177,6 +183,8 @@ module Telnyx
177
183
  #
178
184
  # @param coaching_call_sid_legacy [String] The identifier of the coached participant's call.
179
185
  #
186
+ # @param conference_sid [String] The unique identifier for the conference.
187
+ #
180
188
  # @param date_created [String] The timestamp of when the resource was created.
181
189
  #
182
190
  # @param date_updated [String] The timestamp of when the resource was last updated.
@@ -49,6 +49,12 @@ module Telnyx
49
49
  # @return [String, nil]
50
50
  optional :coaching_call_sid_legacy, String
51
51
 
52
+ # @!attribute conference_sid
53
+ # The unique identifier for the conference.
54
+ #
55
+ # @return [String, nil]
56
+ optional :conference_sid, String
57
+
52
58
  # @!attribute date_created
53
59
  # The timestamp of when the resource was created.
54
60
  #
@@ -92,7 +98,7 @@ module Telnyx
92
98
  # @return [String, nil]
93
99
  optional :uri, String
94
100
 
95
- # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
101
+ # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, conference_sid: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
96
102
  # @param account_sid [String] The id of the account the resource belongs to.
97
103
  #
98
104
  # @param api_version [String] The version of the API that was used to make the request.
@@ -107,6 +113,8 @@ module Telnyx
107
113
  #
108
114
  # @param coaching_call_sid_legacy [String] The identifier of the coached participant's call.
109
115
  #
116
+ # @param conference_sid [String] The unique identifier for the conference.
117
+ #
110
118
  # @param date_created [String] The timestamp of when the resource was created.
111
119
  #
112
120
  # @param date_updated [String] The timestamp of when the resource was last updated.
@@ -49,6 +49,12 @@ module Telnyx
49
49
  # @return [String, nil]
50
50
  optional :coaching_call_sid_legacy, String
51
51
 
52
+ # @!attribute conference_sid
53
+ # The unique identifier for the conference.
54
+ #
55
+ # @return [String, nil]
56
+ optional :conference_sid, String
57
+
52
58
  # @!attribute date_created
53
59
  # The timestamp of when the resource was created.
54
60
  #
@@ -92,7 +98,7 @@ module Telnyx
92
98
  # @return [String, nil]
93
99
  optional :uri, String
94
100
 
95
- # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
101
+ # @!method initialize(account_sid: nil, api_version: nil, call_sid: nil, call_sid_legacy: nil, coaching: nil, coaching_call_sid: nil, coaching_call_sid_legacy: nil, conference_sid: nil, date_created: nil, date_updated: nil, end_conference_on_exit: nil, hold: nil, muted: nil, status: nil, uri: nil)
96
102
  # @param account_sid [String] The id of the account the resource belongs to.
97
103
  #
98
104
  # @param api_version [String] The version of the API that was used to make the request.
@@ -107,6 +113,8 @@ module Telnyx
107
113
  #
108
114
  # @param coaching_call_sid_legacy [String] The identifier of the coached participant's call.
109
115
  #
116
+ # @param conference_sid [String] The unique identifier for the conference.
117
+ #
110
118
  # @param date_created [String] The timestamp of when the resource was created.
111
119
  #
112
120
  # @param date_updated [String] The timestamp of when the resource was last updated.
@@ -11,7 +11,7 @@ module Telnyx
11
11
  # [OpenAI Transcription API](https://platform.openai.com/docs/api-reference/audio/createTranscription)
12
12
  # and may be used with the OpenAI JS or Python SDK.
13
13
  #
14
- # @overload transcribe(model:, file: nil, file_url: nil, response_format: nil, timestamp_granularities: nil, request_options: {})
14
+ # @overload transcribe(model:, file: nil, file_url: nil, language: nil, model_config: nil, response_format: nil, timestamp_granularities: nil, request_options: {})
15
15
  #
16
16
  # @param model [Symbol, Telnyx::Models::AI::AudioTranscribeParams::Model] ID of the model to use. `distil-whisper/distil-large-v2` is lower latency but En
17
17
  #
@@ -19,6 +19,10 @@ module Telnyx
19
19
  #
20
20
  # @param file_url [String] Link to audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg
21
21
  #
22
+ # @param language [String] The language of the audio to be transcribed. For `deepgram/nova-3`, only English
23
+ #
24
+ # @param model_config [Hash{Symbol=>Object}] Additional model-specific configuration parameters. Only allowed with `deepgram/
25
+ #
22
26
  # @param response_format [Symbol, Telnyx::Models::AI::AudioTranscribeParams::ResponseFormat] The format of the transcript output. Use `verbose_json` to take advantage of tim
23
27
  #
24
28
  # @param timestamp_granularities [Symbol, Telnyx::Models::AI::AudioTranscribeParams::TimestampGranularities] The timestamp granularities to populate for this transcription. `response_format
@@ -1037,9 +1037,9 @@ module Telnyx
1037
1037
  #
1038
1038
  # @param transcription [Boolean] Enable post recording transcription. The default value is false.
1039
1039
  #
1040
- # @param transcription_engine [String] Engine to use for speech recognition. `A` - `Google`
1040
+ # @param transcription_engine [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionEngine] Engine to use for speech recognition. `A` - `Google`, `B` - `Telnyx`, `deepgram/
1041
1041
  #
1042
- # @param transcription_language [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionLanguage] Language to use for speech recognition
1042
+ # @param transcription_language [Symbol, Telnyx::Models::Calls::ActionStartRecordingParams::TranscriptionLanguage]
1043
1043
  #
1044
1044
  # @param transcription_max_speaker_count [Integer] Defines maximum number of speakers in the conversation. Applies to `google` engi
1045
1045
  #