telnyx 4.1.0 → 4.2.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 +15 -0
- data/README.md +1 -1
- data/lib/telnyx/models/calls/action_start_transcription_params.rb +3 -3
- data/lib/telnyx/models/calls/transcription_start_request.rb +56 -56
- data/lib/telnyx/models/messaging_profile.rb +9 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +9 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
- data/lib/telnyx/models/network_list_interfaces_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +115 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +33 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +33 -1
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +274 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +275 -0
- data/lib/telnyx/models/wireguard_interface_create_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_list_response.rb +130 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +131 -0
- data/lib/telnyx/models/wireguard_peer_create_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_list_response.rb +77 -0
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_update_response.rb +78 -0
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/calls/action_start_transcription_params.rbi +6 -6
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +266 -263
- data/rbi/telnyx/models/messaging_profile.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +11 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +202 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +65 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +67 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +444 -0
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +125 -0
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/messaging_profiles.rbi +6 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/sig/telnyx/models/calls/action_start_transcription_params.rbs +5 -5
- data/sig/telnyx/models/calls/transcription_start_request.rbs +83 -83
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +110 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +21 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +21 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +219 -0
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +68 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -1
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.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: 2b7c31e9fc32bb50530cc852a0e2d8d6377aeae899da65b030b44da6524f76a2
|
4
|
+
data.tar.gz: 218d2b3e11ef031f1920d1d3f634b8366d86652457590aa70d97ee7ba7db20d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c030eb455cd1ef96d81c701773085034172375d75e20e52318c62aca5dd4d536430f265ff387308b89ffc89ce6f1de2c20dc25194a2ddd1caaf2e7a1e2e7c5f
|
7
|
+
data.tar.gz: 5194a8d571c2aa2d3bfbbb4643054a7a6c11017f5f917c0d9f00cf85e0af6c33f180d350f2176eca4ab75b3cf2640b2cb6f7ebb26dca3eea6bfa4e3b6d577b88
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 4.2.0 (2025-10-08)
|
4
|
+
|
5
|
+
Full Changelog: [v4.1.0...v4.2.0](https://github.com/team-telnyx/telnyx-ruby/compare/v4.1.0...v4.2.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* ENGDESK-45343: Add CustomHeaders documentation to TeXML Dial endpoints ([933af79](https://github.com/team-telnyx/telnyx-ruby/commit/933af79e747d794e1c5c980b9575f3d48c3095d1))
|
10
|
+
* MSG-5944: added mobile_only field to messaging profiles ([73a4a4e](https://github.com/team-telnyx/telnyx-ruby/commit/73a4a4e0bfa45b7be8b0c1f1e043a5e002f14525))
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* intersections should be all generated ([2813317](https://github.com/team-telnyx/telnyx-ruby/commit/2813317fb45a849825991c6d4527e5796aef10f7))
|
16
|
+
* use absolute qualification as required ([f397f25](https://github.com/team-telnyx/telnyx-ruby/commit/f397f2509dcff24958bf33f36318f8e42a1a016a))
|
17
|
+
|
3
18
|
## 4.1.0 (2025-10-06)
|
4
19
|
|
5
20
|
Full Changelog: [v4.0.0...v4.1.0](https://github.com/team-telnyx/telnyx-ruby/compare/v4.0.0...v4.1.0)
|
data/README.md
CHANGED
@@ -4,9 +4,9 @@ module Telnyx
|
|
4
4
|
module Models
|
5
5
|
module Calls
|
6
6
|
# @see Telnyx::Resources::Calls::Actions#start_transcription
|
7
|
-
class ActionStartTranscriptionParams < Telnyx::Models::Calls::TranscriptionStartRequest
|
8
|
-
extend Telnyx::Internal::Type::RequestParameters::Converter
|
9
|
-
include Telnyx::Internal::Type::RequestParameters
|
7
|
+
class ActionStartTranscriptionParams < ::Telnyx::Models::Calls::TranscriptionStartRequest
|
8
|
+
extend ::Telnyx::Internal::Type::RequestParameters::Converter
|
9
|
+
include ::Telnyx::Internal::Type::RequestParameters
|
10
10
|
|
11
11
|
# @!method initialize(request_options: {})
|
12
12
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
@@ -27,9 +27,9 @@ module Telnyx
|
|
27
27
|
|
28
28
|
# @!attribute transcription_engine_config
|
29
29
|
#
|
30
|
-
# @return [Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, nil]
|
30
|
+
# @return [::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, ::Telnyx::Models::Calls::TranscriptionEngineAConfig, ::Telnyx::Models::Calls::TranscriptionEngineBConfig, nil]
|
31
31
|
optional :transcription_engine_config,
|
32
|
-
union: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig }
|
32
|
+
union: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig }
|
33
33
|
|
34
34
|
# @!attribute transcription_tracks
|
35
35
|
# Indicates which leg of the call will be transcribed. Use `inbound` for the leg
|
@@ -49,7 +49,7 @@ module Telnyx
|
|
49
49
|
#
|
50
50
|
# @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
|
51
51
|
#
|
52
|
-
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig]
|
52
|
+
# @param transcription_engine_config [::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, ::Telnyx::Models::Calls::TranscriptionEngineAConfig, ::Telnyx::Models::Calls::TranscriptionEngineBConfig]
|
53
53
|
#
|
54
54
|
# @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
|
55
55
|
|
@@ -72,45 +72,45 @@ module Telnyx
|
|
72
72
|
|
73
73
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest#transcription_engine_config
|
74
74
|
module TranscriptionEngineConfig
|
75
|
-
extend Telnyx::Internal::Type::Union
|
75
|
+
extend ::Telnyx::Internal::Type::Union
|
76
76
|
|
77
77
|
discriminator :transcription_engine
|
78
78
|
|
79
|
-
variant :Google, -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google }
|
79
|
+
variant :Google, -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google }
|
80
80
|
|
81
|
-
variant :Telnyx, -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx }
|
81
|
+
variant :Telnyx, -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx }
|
82
82
|
|
83
|
-
variant :Deepgram, -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram }
|
83
|
+
variant :Deepgram, -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram }
|
84
84
|
|
85
|
-
variant :A, -> { Telnyx::Calls::TranscriptionEngineAConfig }
|
85
|
+
variant :A, -> { ::Telnyx::Calls::TranscriptionEngineAConfig }
|
86
86
|
|
87
|
-
variant :B, -> { Telnyx::Calls::TranscriptionEngineBConfig }
|
87
|
+
variant :B, -> { ::Telnyx::Calls::TranscriptionEngineBConfig }
|
88
88
|
|
89
|
-
class Google < Telnyx::Internal::Type::BaseModel
|
89
|
+
class Google < ::Telnyx::Internal::Type::BaseModel
|
90
90
|
# @!attribute enable_speaker_diarization
|
91
91
|
# Enables speaker diarization.
|
92
92
|
#
|
93
93
|
# @return [Boolean, nil]
|
94
|
-
optional :enable_speaker_diarization, Telnyx::Internal::Type::Boolean
|
94
|
+
optional :enable_speaker_diarization, ::Telnyx::Internal::Type::Boolean
|
95
95
|
|
96
96
|
# @!attribute hints
|
97
97
|
# Hints to improve transcription accuracy.
|
98
98
|
#
|
99
99
|
# @return [Array<String>, nil]
|
100
|
-
optional :hints, Telnyx::Internal::Type::ArrayOf[String]
|
100
|
+
optional :hints, ::Telnyx::Internal::Type::ArrayOf[String]
|
101
101
|
|
102
102
|
# @!attribute interim_results
|
103
103
|
# Whether to send also interim results. If set to false, only final results will
|
104
104
|
# be sent.
|
105
105
|
#
|
106
106
|
# @return [Boolean, nil]
|
107
|
-
optional :interim_results, Telnyx::Internal::Type::Boolean
|
107
|
+
optional :interim_results, ::Telnyx::Internal::Type::Boolean
|
108
108
|
|
109
109
|
# @!attribute language
|
110
110
|
# Language to use for speech recognition
|
111
111
|
#
|
112
|
-
# @return [Symbol, Telnyx::Models::Calls::GoogleTranscriptionLanguage, nil]
|
113
|
-
optional :language, enum: -> { Telnyx::Calls::GoogleTranscriptionLanguage }
|
112
|
+
# @return [Symbol, ::Telnyx::Models::Calls::GoogleTranscriptionLanguage, nil]
|
113
|
+
optional :language, enum: -> { ::Telnyx::Calls::GoogleTranscriptionLanguage }
|
114
114
|
|
115
115
|
# @!attribute max_speaker_count
|
116
116
|
# Defines maximum number of speakers in the conversation.
|
@@ -127,39 +127,39 @@ module Telnyx
|
|
127
127
|
# @!attribute model
|
128
128
|
# The model to use for transcription.
|
129
129
|
#
|
130
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model, nil]
|
130
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model, nil]
|
131
131
|
optional :model,
|
132
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model }
|
132
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model }
|
133
133
|
|
134
134
|
# @!attribute profanity_filter
|
135
135
|
# Enables profanity_filter.
|
136
136
|
#
|
137
137
|
# @return [Boolean, nil]
|
138
|
-
optional :profanity_filter, Telnyx::Internal::Type::Boolean
|
138
|
+
optional :profanity_filter, ::Telnyx::Internal::Type::Boolean
|
139
139
|
|
140
140
|
# @!attribute speech_context
|
141
141
|
# Speech context to improve transcription accuracy.
|
142
142
|
#
|
143
|
-
# @return [Array
|
143
|
+
# @return [Array<::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::SpeechContext>, nil]
|
144
144
|
optional :speech_context,
|
145
|
-
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::SpeechContext] }
|
145
|
+
-> { ::Telnyx::Internal::Type::ArrayOf[::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::SpeechContext] }
|
146
146
|
|
147
147
|
# @!attribute transcription_engine
|
148
148
|
# Engine identifier for Google transcription service
|
149
149
|
#
|
150
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine, nil]
|
150
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine, nil]
|
151
151
|
optional :transcription_engine,
|
152
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine }
|
152
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine }
|
153
153
|
|
154
154
|
# @!attribute use_enhanced
|
155
155
|
# Enables enhanced transcription, this works for models `phone_call` and `video`.
|
156
156
|
#
|
157
157
|
# @return [Boolean, nil]
|
158
|
-
optional :use_enhanced, Telnyx::Internal::Type::Boolean
|
158
|
+
optional :use_enhanced, ::Telnyx::Internal::Type::Boolean
|
159
159
|
|
160
160
|
# @!method initialize(enable_speaker_diarization: nil, hints: nil, interim_results: nil, language: nil, max_speaker_count: nil, min_speaker_count: nil, model: nil, profanity_filter: nil, speech_context: nil, transcription_engine: nil, use_enhanced: nil)
|
161
161
|
# Some parameter documentations has been truncated, see
|
162
|
-
# {Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google}
|
162
|
+
# {::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google}
|
163
163
|
# for more details.
|
164
164
|
#
|
165
165
|
# @param enable_speaker_diarization [Boolean] Enables speaker diarization.
|
@@ -168,19 +168,19 @@ module Telnyx
|
|
168
168
|
#
|
169
169
|
# @param interim_results [Boolean] Whether to send also interim results. If set to false, only final results will b
|
170
170
|
#
|
171
|
-
# @param language [Symbol, Telnyx::Models::Calls::GoogleTranscriptionLanguage] Language to use for speech recognition
|
171
|
+
# @param language [Symbol, ::Telnyx::Models::Calls::GoogleTranscriptionLanguage] Language to use for speech recognition
|
172
172
|
#
|
173
173
|
# @param max_speaker_count [Integer] Defines maximum number of speakers in the conversation.
|
174
174
|
#
|
175
175
|
# @param min_speaker_count [Integer] Defines minimum number of speakers in the conversation.
|
176
176
|
#
|
177
|
-
# @param model [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model] The model to use for transcription.
|
177
|
+
# @param model [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::Model] The model to use for transcription.
|
178
178
|
#
|
179
179
|
# @param profanity_filter [Boolean] Enables profanity_filter.
|
180
180
|
#
|
181
|
-
# @param speech_context [Array
|
181
|
+
# @param speech_context [Array<::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::SpeechContext>] Speech context to improve transcription accuracy.
|
182
182
|
#
|
183
|
-
# @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine] Engine identifier for Google transcription service
|
183
|
+
# @param transcription_engine [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google::TranscriptionEngine] Engine identifier for Google transcription service
|
184
184
|
#
|
185
185
|
# @param use_enhanced [Boolean] Enables enhanced transcription, this works for models `phone_call` and `video`.
|
186
186
|
|
@@ -188,7 +188,7 @@ module Telnyx
|
|
188
188
|
#
|
189
189
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google#model
|
190
190
|
module Model
|
191
|
-
extend Telnyx::Internal::Type::Enum
|
191
|
+
extend ::Telnyx::Internal::Type::Enum
|
192
192
|
|
193
193
|
LATEST_LONG = :latest_long
|
194
194
|
LATEST_SHORT = :latest_short
|
@@ -203,7 +203,7 @@ module Telnyx
|
|
203
203
|
# @return [Array<Symbol>]
|
204
204
|
end
|
205
205
|
|
206
|
-
class SpeechContext < Telnyx::Internal::Type::BaseModel
|
206
|
+
class SpeechContext < ::Telnyx::Internal::Type::BaseModel
|
207
207
|
# @!attribute boost
|
208
208
|
# Boost factor for the speech context.
|
209
209
|
#
|
@@ -213,7 +213,7 @@ module Telnyx
|
|
213
213
|
# @!attribute phrases
|
214
214
|
#
|
215
215
|
# @return [Array<String>, nil]
|
216
|
-
optional :phrases, Telnyx::Internal::Type::ArrayOf[String]
|
216
|
+
optional :phrases, ::Telnyx::Internal::Type::ArrayOf[String]
|
217
217
|
|
218
218
|
# @!method initialize(boost: nil, phrases: nil)
|
219
219
|
# @param boost [Float] Boost factor for the speech context.
|
@@ -225,7 +225,7 @@ module Telnyx
|
|
225
225
|
#
|
226
226
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google#transcription_engine
|
227
227
|
module TranscriptionEngine
|
228
|
-
extend Telnyx::Internal::Type::Enum
|
228
|
+
extend ::Telnyx::Internal::Type::Enum
|
229
229
|
|
230
230
|
GOOGLE = :Google
|
231
231
|
|
@@ -234,40 +234,40 @@ module Telnyx
|
|
234
234
|
end
|
235
235
|
end
|
236
236
|
|
237
|
-
class Telnyx < Telnyx::Internal::Type::BaseModel
|
237
|
+
class Telnyx < ::Telnyx::Internal::Type::BaseModel
|
238
238
|
# @!attribute language
|
239
239
|
# Language to use for speech recognition
|
240
240
|
#
|
241
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language, nil]
|
241
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language, nil]
|
242
242
|
optional :language,
|
243
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language }
|
243
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language }
|
244
244
|
|
245
245
|
# @!attribute transcription_engine
|
246
246
|
# Engine identifier for Telnyx transcription service
|
247
247
|
#
|
248
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine, nil]
|
248
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine, nil]
|
249
249
|
optional :transcription_engine,
|
250
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine }
|
250
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine }
|
251
251
|
|
252
252
|
# @!attribute transcription_model
|
253
253
|
# The model to use for transcription.
|
254
254
|
#
|
255
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel, nil]
|
255
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel, nil]
|
256
256
|
optional :transcription_model,
|
257
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel }
|
257
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel }
|
258
258
|
|
259
259
|
# @!method initialize(language: nil, transcription_engine: nil, transcription_model: nil)
|
260
|
-
# @param language [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language] Language to use for speech recognition
|
260
|
+
# @param language [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::Language] Language to use for speech recognition
|
261
261
|
#
|
262
|
-
# @param transcription_engine [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine] Engine identifier for Telnyx transcription service
|
262
|
+
# @param transcription_engine [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionEngine] Engine identifier for Telnyx transcription service
|
263
263
|
#
|
264
|
-
# @param transcription_model [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel] The model to use for transcription.
|
264
|
+
# @param transcription_model [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx::TranscriptionModel] The model to use for transcription.
|
265
265
|
|
266
266
|
# Language to use for speech recognition
|
267
267
|
#
|
268
268
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx#language
|
269
269
|
module Language
|
270
|
-
extend Telnyx::Internal::Type::Enum
|
270
|
+
extend ::Telnyx::Internal::Type::Enum
|
271
271
|
|
272
272
|
EN = :en
|
273
273
|
ZH = :zh
|
@@ -378,7 +378,7 @@ module Telnyx
|
|
378
378
|
#
|
379
379
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx#transcription_engine
|
380
380
|
module TranscriptionEngine
|
381
|
-
extend Telnyx::Internal::Type::Enum
|
381
|
+
extend ::Telnyx::Internal::Type::Enum
|
382
382
|
|
383
383
|
TELNYX = :Telnyx
|
384
384
|
|
@@ -390,7 +390,7 @@ module Telnyx
|
|
390
390
|
#
|
391
391
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx#transcription_model
|
392
392
|
module TranscriptionModel
|
393
|
-
extend Telnyx::Internal::Type::Enum
|
393
|
+
extend ::Telnyx::Internal::Type::Enum
|
394
394
|
|
395
395
|
OPENAI_WHISPER_TINY = :"openai/whisper-tiny"
|
396
396
|
OPENAI_WHISPER_LARGE_V3_TURBO = :"openai/whisper-large-v3-turbo"
|
@@ -400,7 +400,7 @@ module Telnyx
|
|
400
400
|
end
|
401
401
|
end
|
402
402
|
|
403
|
-
class Deepgram < Telnyx::Internal::Type::BaseModel
|
403
|
+
class Deepgram < ::Telnyx::Internal::Type::BaseModel
|
404
404
|
# @!attribute transcription_engine
|
405
405
|
# Engine identifier for Deepgram transcription service
|
406
406
|
#
|
@@ -410,26 +410,26 @@ module Telnyx
|
|
410
410
|
# @!attribute transcription_model
|
411
411
|
# The model to use for transcription.
|
412
412
|
#
|
413
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel]
|
413
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel]
|
414
414
|
required :transcription_model,
|
415
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel }
|
415
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel }
|
416
416
|
|
417
417
|
# @!attribute language
|
418
418
|
# Language to use for speech recognition. Available languages depend on the
|
419
419
|
# selected model.
|
420
420
|
#
|
421
|
-
# @return [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language, nil]
|
421
|
+
# @return [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language, nil]
|
422
422
|
optional :language,
|
423
|
-
enum: -> { Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language }
|
423
|
+
enum: -> { ::Telnyx::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language }
|
424
424
|
|
425
425
|
# @!method initialize(transcription_model:, language: nil, transcription_engine: :Deepgram)
|
426
426
|
# Some parameter documentations has been truncated, see
|
427
|
-
# {Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram}
|
427
|
+
# {::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram}
|
428
428
|
# for more details.
|
429
429
|
#
|
430
|
-
# @param transcription_model [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel] The model to use for transcription.
|
430
|
+
# @param transcription_model [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::TranscriptionModel] The model to use for transcription.
|
431
431
|
#
|
432
|
-
# @param language [Symbol, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language] Language to use for speech recognition. Available languages depend on the select
|
432
|
+
# @param language [Symbol, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram::Language] Language to use for speech recognition. Available languages depend on the select
|
433
433
|
#
|
434
434
|
# @param transcription_engine [Symbol, :Deepgram] Engine identifier for Deepgram transcription service
|
435
435
|
|
@@ -437,7 +437,7 @@ module Telnyx
|
|
437
437
|
#
|
438
438
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram#transcription_model
|
439
439
|
module TranscriptionModel
|
440
|
-
extend Telnyx::Internal::Type::Enum
|
440
|
+
extend ::Telnyx::Internal::Type::Enum
|
441
441
|
|
442
442
|
DEEPGRAM_NOVA_2 = :"deepgram/nova-2"
|
443
443
|
DEEPGRAM_NOVA_3 = :"deepgram/nova-3"
|
@@ -451,7 +451,7 @@ module Telnyx
|
|
451
451
|
#
|
452
452
|
# @see Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram#language
|
453
453
|
module Language
|
454
|
-
extend Telnyx::Internal::Type::Enum
|
454
|
+
extend ::Telnyx::Internal::Type::Enum
|
455
455
|
|
456
456
|
BG = :bg
|
457
457
|
CA = :ca
|
@@ -514,7 +514,7 @@ module Telnyx
|
|
514
514
|
end
|
515
515
|
|
516
516
|
# @!method self.variants
|
517
|
-
# @return [Array(Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig)]
|
517
|
+
# @return [Array(::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Google, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Telnyx, ::Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngineConfig::Deepgram, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig)]
|
518
518
|
end
|
519
519
|
end
|
520
520
|
end
|
@@ -41,6 +41,12 @@ module Telnyx
|
|
41
41
|
# @return [Boolean, nil]
|
42
42
|
optional :mms_transcoding, Telnyx::Internal::Type::Boolean
|
43
43
|
|
44
|
+
# @!attribute mobile_only
|
45
|
+
# Send messages only to mobile phone numbers.
|
46
|
+
#
|
47
|
+
# @return [Boolean, nil]
|
48
|
+
optional :mobile_only, Telnyx::Internal::Type::Boolean
|
49
|
+
|
44
50
|
# @!attribute name
|
45
51
|
# A user friendly name for the messaging profile.
|
46
52
|
#
|
@@ -129,7 +135,7 @@ module Telnyx
|
|
129
135
|
optional :updated_at, Time
|
130
136
|
end
|
131
137
|
|
132
|
-
# @!method initialize(id: nil, alpha_sender: nil, created_at: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, name: nil, number_pool_settings: nil, record_type: nil, updated_at: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil)
|
138
|
+
# @!method initialize(id: nil, alpha_sender: nil, created_at: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, record_type: nil, updated_at: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil)
|
133
139
|
# Some parameter documentations has been truncated, see
|
134
140
|
# {Telnyx::Models::MessagingProfile} for more details.
|
135
141
|
#
|
@@ -149,6 +155,8 @@ module Telnyx
|
|
149
155
|
#
|
150
156
|
# @param mms_transcoding [Boolean] enables automated resizing of MMS media.
|
151
157
|
#
|
158
|
+
# @param mobile_only [Boolean] Send messages only to mobile phone numbers.
|
159
|
+
#
|
152
160
|
# @param name [String] A user friendly name for the messaging profile.
|
153
161
|
#
|
154
162
|
# @param number_pool_settings [Telnyx::Models::NumberPoolSettings, nil] Number Pool allows you to send messages from a pool of numbers of different type
|
@@ -59,6 +59,12 @@ module Telnyx
|
|
59
59
|
# @return [Boolean, nil]
|
60
60
|
optional :mms_transcoding, Telnyx::Internal::Type::Boolean
|
61
61
|
|
62
|
+
# @!attribute mobile_only
|
63
|
+
# Send messages only to mobile phone numbers.
|
64
|
+
#
|
65
|
+
# @return [Boolean, nil]
|
66
|
+
optional :mobile_only, Telnyx::Internal::Type::Boolean
|
67
|
+
|
62
68
|
# @!attribute number_pool_settings
|
63
69
|
# Number Pool allows you to send messages from a pool of numbers of different
|
64
70
|
# types, assigning weights to each type. The pool consists of all the long code
|
@@ -101,7 +107,7 @@ module Telnyx
|
|
101
107
|
# @return [String, nil]
|
102
108
|
optional :webhook_url, String, nil?: true
|
103
109
|
|
104
|
-
# @!method initialize(name:, whitelisted_destinations:, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, number_pool_settings: nil, url_shortener_settings: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
110
|
+
# @!method initialize(name:, whitelisted_destinations:, alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, number_pool_settings: nil, url_shortener_settings: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {})
|
105
111
|
# Some parameter documentations has been truncated, see
|
106
112
|
# {Telnyx::Models::MessagingProfileCreateParams} for more details.
|
107
113
|
#
|
@@ -121,6 +127,8 @@ module Telnyx
|
|
121
127
|
#
|
122
128
|
# @param mms_transcoding [Boolean] enables automated resizing of MMS media.
|
123
129
|
#
|
130
|
+
# @param mobile_only [Boolean] Send messages only to mobile phone numbers.
|
131
|
+
#
|
124
132
|
# @param number_pool_settings [Telnyx::Models::NumberPoolSettings, nil] Number Pool allows you to send messages from a pool of numbers of different type
|
125
133
|
#
|
126
134
|
# @param url_shortener_settings [Telnyx::Models::URLShortenerSettings, nil] The URL shortener feature allows automatic replacement of URLs that were generat
|
@@ -45,6 +45,12 @@ module Telnyx
|
|
45
45
|
# @return [Boolean, nil]
|
46
46
|
optional :mms_transcoding, Telnyx::Internal::Type::Boolean
|
47
47
|
|
48
|
+
# @!attribute mobile_only
|
49
|
+
# Send messages only to mobile phone numbers.
|
50
|
+
#
|
51
|
+
# @return [Boolean, nil]
|
52
|
+
optional :mobile_only, Telnyx::Internal::Type::Boolean
|
53
|
+
|
48
54
|
# @!attribute name
|
49
55
|
# A user friendly name for the messaging profile.
|
50
56
|
#
|
@@ -109,7 +115,7 @@ module Telnyx
|
|
109
115
|
# @return [Array<String>, nil]
|
110
116
|
optional :whitelisted_destinations, Telnyx::Internal::Type::ArrayOf[String]
|
111
117
|
|
112
|
-
# @!method initialize(alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, name: nil, number_pool_settings: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
|
118
|
+
# @!method initialize(alpha_sender: nil, daily_spend_limit: nil, daily_spend_limit_enabled: nil, enabled: nil, mms_fall_back_to_sms: nil, mms_transcoding: nil, mobile_only: nil, name: nil, number_pool_settings: nil, url_shortener_settings: nil, v1_secret: nil, webhook_api_version: nil, webhook_failover_url: nil, webhook_url: nil, whitelisted_destinations: nil, request_options: {})
|
113
119
|
# Some parameter documentations has been truncated, see
|
114
120
|
# {Telnyx::Models::MessagingProfileUpdateParams} for more details.
|
115
121
|
#
|
@@ -125,6 +131,8 @@ module Telnyx
|
|
125
131
|
#
|
126
132
|
# @param mms_transcoding [Boolean] enables automated resizing of MMS media.
|
127
133
|
#
|
134
|
+
# @param mobile_only [Boolean] Send messages only to mobile phone numbers.
|
135
|
+
#
|
128
136
|
# @param name [String] A user friendly name for the messaging profile.
|
129
137
|
#
|
130
138
|
# @param number_pool_settings [Telnyx::Models::NumberPoolSettings, nil] Number Pool allows you to send messages from a pool of numbers of different type
|
@@ -18,6 +18,120 @@ module Telnyx
|
|
18
18
|
# @!method initialize(data: nil, meta: nil)
|
19
19
|
# @param data [Array<Telnyx::Models::NetworkListInterfacesResponse::Data>]
|
20
20
|
# @param meta [Telnyx::Models::PaginationMeta]
|
21
|
+
|
22
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
23
|
+
# @!attribute name
|
24
|
+
# A user specified name for the interface.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :name, String
|
28
|
+
|
29
|
+
# @!attribute network_id
|
30
|
+
# The id of the network associated with the interface.
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
optional :network_id, String
|
34
|
+
|
35
|
+
# @!attribute region
|
36
|
+
#
|
37
|
+
# @return [Telnyx::Models::NetworkListInterfacesResponse::Data::Region, nil]
|
38
|
+
optional :region, -> { Telnyx::Models::NetworkListInterfacesResponse::Data::Region }
|
39
|
+
|
40
|
+
# @!attribute region_code
|
41
|
+
# The region interface is deployed to.
|
42
|
+
#
|
43
|
+
# @return [String, nil]
|
44
|
+
optional :region_code, String
|
45
|
+
|
46
|
+
response_only do
|
47
|
+
# @!attribute id
|
48
|
+
# Identifies the resource.
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :id, String
|
52
|
+
|
53
|
+
# @!attribute created_at
|
54
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
55
|
+
#
|
56
|
+
# @return [String, nil]
|
57
|
+
optional :created_at, String
|
58
|
+
|
59
|
+
# @!attribute record_type
|
60
|
+
# Identifies the type of the resource.
|
61
|
+
#
|
62
|
+
# @return [String, nil]
|
63
|
+
optional :record_type, String
|
64
|
+
|
65
|
+
# @!attribute updated_at
|
66
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
67
|
+
#
|
68
|
+
# @return [String, nil]
|
69
|
+
optional :updated_at, String
|
70
|
+
|
71
|
+
# @!attribute status
|
72
|
+
# The current status of the interface deployment.
|
73
|
+
#
|
74
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
75
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
76
|
+
|
77
|
+
# @!attribute type
|
78
|
+
# Identifies the type of the interface.
|
79
|
+
#
|
80
|
+
# @return [String, nil]
|
81
|
+
optional :type, String
|
82
|
+
end
|
83
|
+
|
84
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region: nil, region_code: nil, type: nil)
|
85
|
+
# @param id [String] Identifies the resource.
|
86
|
+
#
|
87
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
88
|
+
#
|
89
|
+
# @param record_type [String] Identifies the type of the resource.
|
90
|
+
#
|
91
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
92
|
+
#
|
93
|
+
# @param name [String] A user specified name for the interface.
|
94
|
+
#
|
95
|
+
# @param network_id [String] The id of the network associated with the interface.
|
96
|
+
#
|
97
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
98
|
+
#
|
99
|
+
# @param region [Telnyx::Models::NetworkListInterfacesResponse::Data::Region]
|
100
|
+
#
|
101
|
+
# @param region_code [String] The region interface is deployed to.
|
102
|
+
#
|
103
|
+
# @param type [String] Identifies the type of the interface.
|
104
|
+
|
105
|
+
# @see Telnyx::Models::NetworkListInterfacesResponse::Data#region
|
106
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
107
|
+
# @!attribute code
|
108
|
+
# Region code of the interface.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :code, String
|
112
|
+
|
113
|
+
# @!attribute name
|
114
|
+
# Region name of the interface.
|
115
|
+
#
|
116
|
+
# @return [String, nil]
|
117
|
+
optional :name, String
|
118
|
+
|
119
|
+
response_only do
|
120
|
+
# @!attribute record_type
|
121
|
+
# Identifies the type of the resource.
|
122
|
+
#
|
123
|
+
# @return [String, nil]
|
124
|
+
optional :record_type, String
|
125
|
+
end
|
126
|
+
|
127
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
128
|
+
# @param code [String] Region code of the interface.
|
129
|
+
#
|
130
|
+
# @param name [String] Region name of the interface.
|
131
|
+
#
|
132
|
+
# @param record_type [String] Identifies the type of the resource.
|
133
|
+
end
|
134
|
+
end
|
21
135
|
end
|
22
136
|
end
|
23
137
|
end
|