telnyx 5.113.0 → 5.115.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/openai_create_response_params.rb +3 -3
- data/lib/telnyx/models/ai/transcription_settings.rb +8 -1
- data/lib/telnyx/models/ai/transcription_settings_config.rb +29 -1
- data/lib/telnyx/models/ai/voice_settings.rb +14 -1
- data/lib/telnyx/models/ai_create_response_params.rb +4 -4
- data/lib/telnyx/models/calls/transcription_config.rb +8 -1
- data/lib/telnyx/models/calls/transcription_start_request.rb +175 -4
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +0 -2
- data/lib/telnyx/resources/ai/openai.rb +1 -1
- data/lib/telnyx/resources/ai.rb +3 -3
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +0 -1
- data/rbi/telnyx/models/ai/openai_create_response_params.rbi +4 -4
- data/rbi/telnyx/models/ai/transcription_settings.rbi +17 -2
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +41 -0
- data/rbi/telnyx/models/ai/voice_settings.rbi +14 -1
- data/rbi/telnyx/models/ai_create_response_params.rbi +4 -4
- data/rbi/telnyx/models/calls/transcription_config.rbi +17 -2
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +438 -5
- data/rbi/telnyx/resources/ai/openai.rbi +1 -1
- data/rbi/telnyx/resources/ai.rbi +2 -2
- data/rbi/telnyx/resources/calls/actions.rbi +2 -1
- data/sig/telnyx/models/ai/openai_create_response_params.rbs +5 -5
- data/sig/telnyx/models/ai/transcription_settings.rbs +2 -0
- data/sig/telnyx/models/ai/transcription_settings_config.rbs +21 -0
- data/sig/telnyx/models/ai/voice_settings.rbs +9 -2
- data/sig/telnyx/models/ai_create_response_params.rbs +4 -5
- data/sig/telnyx/models/calls/transcription_config.rbs +2 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +177 -1
- data/sig/telnyx/resources/ai/openai.rbs +1 -1
- data/sig/telnyx/resources/ai.rbs +1 -1
- metadata +2 -5
- data/lib/telnyx/models/calls/transcription_engine_speechmatics_config.rb +0 -100
- data/rbi/telnyx/models/calls/transcription_engine_speechmatics_config.rbi +0 -289
- data/sig/telnyx/models/calls/transcription_engine_speechmatics_config.rbs +0 -114
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Calls
|
|
4
|
-
type transcription_engine_speechmatics_config =
|
|
5
|
-
{
|
|
6
|
-
interim_results: bool,
|
|
7
|
-
language: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language,
|
|
8
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine,
|
|
9
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class TranscriptionEngineSpeechmaticsConfig < Telnyx::Internal::Type::BaseModel
|
|
13
|
-
attr_reader interim_results: bool?
|
|
14
|
-
|
|
15
|
-
def interim_results=: (bool) -> bool
|
|
16
|
-
|
|
17
|
-
attr_reader language: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language?
|
|
18
|
-
|
|
19
|
-
def language=: (
|
|
20
|
-
Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language
|
|
21
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language
|
|
22
|
-
|
|
23
|
-
attr_reader transcription_engine: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine?
|
|
24
|
-
|
|
25
|
-
def transcription_engine=: (
|
|
26
|
-
Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine
|
|
27
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine
|
|
28
|
-
|
|
29
|
-
attr_reader transcription_model: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model?
|
|
30
|
-
|
|
31
|
-
def transcription_model=: (
|
|
32
|
-
Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model
|
|
33
|
-
) -> Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model
|
|
34
|
-
|
|
35
|
-
def initialize: (
|
|
36
|
-
?interim_results: bool,
|
|
37
|
-
?language: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language,
|
|
38
|
-
?transcription_engine: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine,
|
|
39
|
-
?transcription_model: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model
|
|
40
|
-
) -> void
|
|
41
|
-
|
|
42
|
-
def to_hash: -> {
|
|
43
|
-
interim_results: bool,
|
|
44
|
-
language: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language,
|
|
45
|
-
transcription_engine: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine,
|
|
46
|
-
transcription_model: Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
type language =
|
|
50
|
-
:en
|
|
51
|
-
| :ba
|
|
52
|
-
| :eu
|
|
53
|
-
| :gl
|
|
54
|
-
| :ga
|
|
55
|
-
| :mt
|
|
56
|
-
| :mn
|
|
57
|
-
| :sw
|
|
58
|
-
| :ug
|
|
59
|
-
| :cy
|
|
60
|
-
| :ar_en
|
|
61
|
-
| :cmn_en
|
|
62
|
-
| :en_ms
|
|
63
|
-
| :en_ta
|
|
64
|
-
| :tl
|
|
65
|
-
| :"es-bilingual-en"
|
|
66
|
-
| :cmn_en_ms_ta
|
|
67
|
-
|
|
68
|
-
module Language
|
|
69
|
-
extend Telnyx::Internal::Type::Enum
|
|
70
|
-
|
|
71
|
-
EN: :en
|
|
72
|
-
BA: :ba
|
|
73
|
-
EU: :eu
|
|
74
|
-
GL: :gl
|
|
75
|
-
GA: :ga
|
|
76
|
-
MT: :mt
|
|
77
|
-
MN: :mn
|
|
78
|
-
SW: :sw
|
|
79
|
-
UG: :ug
|
|
80
|
-
CY: :cy
|
|
81
|
-
AR_EN: :ar_en
|
|
82
|
-
CMN_EN: :cmn_en
|
|
83
|
-
EN_MS: :en_ms
|
|
84
|
-
EN_TA: :en_ta
|
|
85
|
-
TL: :tl
|
|
86
|
-
ES_BILINGUAL_EN: :"es-bilingual-en"
|
|
87
|
-
CMN_EN_MS_TA: :cmn_en_ms_ta
|
|
88
|
-
|
|
89
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::language]
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
type transcription_engine = :Speechmatics
|
|
93
|
-
|
|
94
|
-
module TranscriptionEngine
|
|
95
|
-
extend Telnyx::Internal::Type::Enum
|
|
96
|
-
|
|
97
|
-
SPEECHMATICS: :Speechmatics
|
|
98
|
-
|
|
99
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_engine]
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
type transcription_model = :"speechmatics/standard"
|
|
103
|
-
|
|
104
|
-
module TranscriptionModel
|
|
105
|
-
extend Telnyx::Internal::Type::Enum
|
|
106
|
-
|
|
107
|
-
SPEECHMATICS_STANDARD: :"speechmatics/standard"
|
|
108
|
-
|
|
109
|
-
def self?.values: -> ::Array[Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig::transcription_model]
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
|
-
end
|