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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/audio_transcribe_params.rb +32 -5
- data/lib/telnyx/models/calls/action_start_recording_params.rb +122 -7
- data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
- data/lib/telnyx/models/sim_card_list_params.rb +11 -3
- data/lib/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rb +9 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_response.rb +9 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rb +9 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rb +9 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_update_response.rb +9 -1
- data/lib/telnyx/resources/ai/audio.rb +5 -1
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/texml/calls.rb +0 -130
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +0 -4
- data/rbi/telnyx/models/ai/audio_transcribe_params.rbi +53 -7
- data/rbi/telnyx/models/calls/action_start_recording_params.rbi +565 -9
- data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
- data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
- data/rbi/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rbi +11 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_response.rbi +11 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rbi +11 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rbi +11 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_update_response.rbi +11 -0
- data/rbi/telnyx/resources/ai/audio.rbi +18 -3
- data/rbi/telnyx/resources/calls/actions.rbi +5 -3
- data/rbi/telnyx/resources/sim_cards.rbi +1 -1
- data/rbi/telnyx/resources/texml/calls.rbi +0 -180
- data/sig/telnyx/models/ai/audio_transcribe_params.rbs +18 -1
- data/sig/telnyx/models/calls/action_start_recording_params.rbs +219 -5
- data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/conference_retrieve_recordings_response.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_response.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_retrieve_participants_response.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_retrieve_response.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_update_response.rbs +7 -0
- data/sig/telnyx/resources/ai/audio.rbs +2 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -1
- data/sig/telnyx/resources/texml/calls.rbs +0 -49
- metadata +2 -14
- data/lib/telnyx/models/texml/call_initiate_params.rb +0 -427
- data/lib/telnyx/models/texml/call_initiate_response.rb +0 -41
- data/lib/telnyx/models/texml/call_update_params.rb +0 -16
- data/lib/telnyx/models/texml/call_update_response.rb +0 -35
- data/rbi/telnyx/models/texml/call_initiate_params.rbi +0 -886
- data/rbi/telnyx/models/texml/call_initiate_response.rbi +0 -85
- data/rbi/telnyx/models/texml/call_update_params.rbi +0 -29
- data/rbi/telnyx/models/texml/call_update_response.rbi +0 -75
- data/sig/telnyx/models/texml/call_initiate_params.rbs +0 -371
- data/sig/telnyx/models/texml/call_initiate_response.rbs +0 -44
- data/sig/telnyx/models/texml/call_update_params.rbs +0 -17
- data/sig/telnyx/models/texml/call_update_response.rbs +0 -40
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
module Texml
|
|
6
|
-
class CallInitiateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
OrHash =
|
|
8
|
-
T.type_alias do
|
|
9
|
-
T.any(
|
|
10
|
-
Telnyx::Models::Texml::CallInitiateResponse,
|
|
11
|
-
Telnyx::Internal::AnyHash
|
|
12
|
-
)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
sig do
|
|
16
|
-
returns(T.nilable(Telnyx::Models::Texml::CallInitiateResponse::Data))
|
|
17
|
-
end
|
|
18
|
-
attr_reader :data
|
|
19
|
-
|
|
20
|
-
sig do
|
|
21
|
-
params(
|
|
22
|
-
data: Telnyx::Models::Texml::CallInitiateResponse::Data::OrHash
|
|
23
|
-
).void
|
|
24
|
-
end
|
|
25
|
-
attr_writer :data
|
|
26
|
-
|
|
27
|
-
sig do
|
|
28
|
-
params(
|
|
29
|
-
data: Telnyx::Models::Texml::CallInitiateResponse::Data::OrHash
|
|
30
|
-
).returns(T.attached_class)
|
|
31
|
-
end
|
|
32
|
-
def self.new(data: nil)
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig do
|
|
36
|
-
override.returns(
|
|
37
|
-
{ data: Telnyx::Models::Texml::CallInitiateResponse::Data }
|
|
38
|
-
)
|
|
39
|
-
end
|
|
40
|
-
def to_hash
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
44
|
-
OrHash =
|
|
45
|
-
T.type_alias do
|
|
46
|
-
T.any(
|
|
47
|
-
Telnyx::Models::Texml::CallInitiateResponse::Data,
|
|
48
|
-
Telnyx::Internal::AnyHash
|
|
49
|
-
)
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
sig { returns(T.nilable(String)) }
|
|
53
|
-
attr_reader :from
|
|
54
|
-
|
|
55
|
-
sig { params(from: String).void }
|
|
56
|
-
attr_writer :from
|
|
57
|
-
|
|
58
|
-
sig { returns(T.nilable(String)) }
|
|
59
|
-
attr_reader :status
|
|
60
|
-
|
|
61
|
-
sig { params(status: String).void }
|
|
62
|
-
attr_writer :status
|
|
63
|
-
|
|
64
|
-
sig { returns(T.nilable(String)) }
|
|
65
|
-
attr_reader :to
|
|
66
|
-
|
|
67
|
-
sig { params(to: String).void }
|
|
68
|
-
attr_writer :to
|
|
69
|
-
|
|
70
|
-
sig do
|
|
71
|
-
params(from: String, status: String, to: String).returns(
|
|
72
|
-
T.attached_class
|
|
73
|
-
)
|
|
74
|
-
end
|
|
75
|
-
def self.new(from: nil, status: nil, to: nil)
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
sig { override.returns({ from: String, status: String, to: String }) }
|
|
79
|
-
def to_hash
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
end
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
module Texml
|
|
6
|
-
class CallUpdateParams < Telnyx::Models::Texml::Accounts::UpdateCall
|
|
7
|
-
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
OrHash =
|
|
11
|
-
T.type_alias do
|
|
12
|
-
T.any(Telnyx::Texml::CallUpdateParams, Telnyx::Internal::AnyHash)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
sig do
|
|
16
|
-
params(request_options: Telnyx::RequestOptions::OrHash).returns(
|
|
17
|
-
T.attached_class
|
|
18
|
-
)
|
|
19
|
-
end
|
|
20
|
-
def self.new(request_options: {})
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
sig { override.returns({ request_options: Telnyx::RequestOptions }) }
|
|
24
|
-
def to_hash
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
module Texml
|
|
6
|
-
class CallUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
OrHash =
|
|
8
|
-
T.type_alias do
|
|
9
|
-
T.any(
|
|
10
|
-
Telnyx::Models::Texml::CallUpdateResponse,
|
|
11
|
-
Telnyx::Internal::AnyHash
|
|
12
|
-
)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
sig do
|
|
16
|
-
returns(T.nilable(Telnyx::Models::Texml::CallUpdateResponse::Data))
|
|
17
|
-
end
|
|
18
|
-
attr_reader :data
|
|
19
|
-
|
|
20
|
-
sig do
|
|
21
|
-
params(
|
|
22
|
-
data: Telnyx::Models::Texml::CallUpdateResponse::Data::OrHash
|
|
23
|
-
).void
|
|
24
|
-
end
|
|
25
|
-
attr_writer :data
|
|
26
|
-
|
|
27
|
-
sig do
|
|
28
|
-
params(
|
|
29
|
-
data: Telnyx::Models::Texml::CallUpdateResponse::Data::OrHash
|
|
30
|
-
).returns(T.attached_class)
|
|
31
|
-
end
|
|
32
|
-
def self.new(data: nil)
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig do
|
|
36
|
-
override.returns(
|
|
37
|
-
{ data: Telnyx::Models::Texml::CallUpdateResponse::Data }
|
|
38
|
-
)
|
|
39
|
-
end
|
|
40
|
-
def to_hash
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
44
|
-
OrHash =
|
|
45
|
-
T.type_alias do
|
|
46
|
-
T.any(
|
|
47
|
-
Telnyx::Models::Texml::CallUpdateResponse::Data,
|
|
48
|
-
Telnyx::Internal::AnyHash
|
|
49
|
-
)
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
sig { returns(T.nilable(String)) }
|
|
53
|
-
attr_reader :sid
|
|
54
|
-
|
|
55
|
-
sig { params(sid: String).void }
|
|
56
|
-
attr_writer :sid
|
|
57
|
-
|
|
58
|
-
sig { returns(T.nilable(String)) }
|
|
59
|
-
attr_reader :status
|
|
60
|
-
|
|
61
|
-
sig { params(status: String).void }
|
|
62
|
-
attr_writer :status
|
|
63
|
-
|
|
64
|
-
sig { params(sid: String, status: String).returns(T.attached_class) }
|
|
65
|
-
def self.new(sid: nil, status: nil)
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
sig { override.returns({ sid: String, status: String }) }
|
|
69
|
-
def to_hash
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
end
|
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Texml
|
|
4
|
-
type call_initiate_params =
|
|
5
|
-
{
|
|
6
|
-
from: String,
|
|
7
|
-
to: String,
|
|
8
|
-
async_amd: bool,
|
|
9
|
-
async_amd_status_callback: String,
|
|
10
|
-
async_amd_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method,
|
|
11
|
-
caller_id: String,
|
|
12
|
-
cancel_playback_on_detect_message_end: bool,
|
|
13
|
-
cancel_playback_on_machine_detection: bool,
|
|
14
|
-
detection_mode: Telnyx::Models::Texml::CallInitiateParams::detection_mode,
|
|
15
|
-
fallback_url: String,
|
|
16
|
-
machine_detection: Telnyx::Models::Texml::CallInitiateParams::machine_detection,
|
|
17
|
-
machine_detection_silence_timeout: Integer,
|
|
18
|
-
machine_detection_speech_end_threshold: Integer,
|
|
19
|
-
machine_detection_speech_threshold: Integer,
|
|
20
|
-
machine_detection_timeout: Integer,
|
|
21
|
-
preferred_codecs: String,
|
|
22
|
-
record: bool,
|
|
23
|
-
recording_channels: Telnyx::Models::Texml::CallInitiateParams::recording_channels,
|
|
24
|
-
recording_status_callback: String,
|
|
25
|
-
recording_status_callback_event: String,
|
|
26
|
-
recording_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method,
|
|
27
|
-
recording_timeout: Integer,
|
|
28
|
-
recording_track: Telnyx::Models::Texml::CallInitiateParams::recording_track,
|
|
29
|
-
sip_auth_password: String,
|
|
30
|
-
sip_auth_username: String,
|
|
31
|
-
status_callback: String,
|
|
32
|
-
status_callback_event: Telnyx::Models::Texml::CallInitiateParams::status_callback_event,
|
|
33
|
-
status_callback_method: Telnyx::Models::Texml::CallInitiateParams::status_callback_method,
|
|
34
|
-
trim: Telnyx::Models::Texml::CallInitiateParams::trim,
|
|
35
|
-
url: String,
|
|
36
|
-
url_method: Telnyx::Models::Texml::CallInitiateParams::url_method
|
|
37
|
-
}
|
|
38
|
-
& Telnyx::Internal::Type::request_parameters
|
|
39
|
-
|
|
40
|
-
class CallInitiateParams < Telnyx::Internal::Type::BaseModel
|
|
41
|
-
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
42
|
-
include Telnyx::Internal::Type::RequestParameters
|
|
43
|
-
|
|
44
|
-
attr_accessor from: String
|
|
45
|
-
|
|
46
|
-
attr_accessor to: String
|
|
47
|
-
|
|
48
|
-
attr_reader async_amd: bool?
|
|
49
|
-
|
|
50
|
-
def async_amd=: (bool) -> bool
|
|
51
|
-
|
|
52
|
-
attr_reader async_amd_status_callback: String?
|
|
53
|
-
|
|
54
|
-
def async_amd_status_callback=: (String) -> String
|
|
55
|
-
|
|
56
|
-
attr_reader async_amd_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method?
|
|
57
|
-
|
|
58
|
-
def async_amd_status_callback_method=: (
|
|
59
|
-
Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method
|
|
60
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method
|
|
61
|
-
|
|
62
|
-
attr_reader caller_id: String?
|
|
63
|
-
|
|
64
|
-
def caller_id=: (String) -> String
|
|
65
|
-
|
|
66
|
-
attr_reader cancel_playback_on_detect_message_end: bool?
|
|
67
|
-
|
|
68
|
-
def cancel_playback_on_detect_message_end=: (bool) -> bool
|
|
69
|
-
|
|
70
|
-
attr_reader cancel_playback_on_machine_detection: bool?
|
|
71
|
-
|
|
72
|
-
def cancel_playback_on_machine_detection=: (bool) -> bool
|
|
73
|
-
|
|
74
|
-
attr_reader detection_mode: Telnyx::Models::Texml::CallInitiateParams::detection_mode?
|
|
75
|
-
|
|
76
|
-
def detection_mode=: (
|
|
77
|
-
Telnyx::Models::Texml::CallInitiateParams::detection_mode
|
|
78
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::detection_mode
|
|
79
|
-
|
|
80
|
-
attr_reader fallback_url: String?
|
|
81
|
-
|
|
82
|
-
def fallback_url=: (String) -> String
|
|
83
|
-
|
|
84
|
-
attr_reader machine_detection: Telnyx::Models::Texml::CallInitiateParams::machine_detection?
|
|
85
|
-
|
|
86
|
-
def machine_detection=: (
|
|
87
|
-
Telnyx::Models::Texml::CallInitiateParams::machine_detection
|
|
88
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::machine_detection
|
|
89
|
-
|
|
90
|
-
attr_reader machine_detection_silence_timeout: Integer?
|
|
91
|
-
|
|
92
|
-
def machine_detection_silence_timeout=: (Integer) -> Integer
|
|
93
|
-
|
|
94
|
-
attr_reader machine_detection_speech_end_threshold: Integer?
|
|
95
|
-
|
|
96
|
-
def machine_detection_speech_end_threshold=: (Integer) -> Integer
|
|
97
|
-
|
|
98
|
-
attr_reader machine_detection_speech_threshold: Integer?
|
|
99
|
-
|
|
100
|
-
def machine_detection_speech_threshold=: (Integer) -> Integer
|
|
101
|
-
|
|
102
|
-
attr_reader machine_detection_timeout: Integer?
|
|
103
|
-
|
|
104
|
-
def machine_detection_timeout=: (Integer) -> Integer
|
|
105
|
-
|
|
106
|
-
attr_reader preferred_codecs: String?
|
|
107
|
-
|
|
108
|
-
def preferred_codecs=: (String) -> String
|
|
109
|
-
|
|
110
|
-
attr_reader record: bool?
|
|
111
|
-
|
|
112
|
-
def record=: (bool) -> bool
|
|
113
|
-
|
|
114
|
-
attr_reader recording_channels: Telnyx::Models::Texml::CallInitiateParams::recording_channels?
|
|
115
|
-
|
|
116
|
-
def recording_channels=: (
|
|
117
|
-
Telnyx::Models::Texml::CallInitiateParams::recording_channels
|
|
118
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::recording_channels
|
|
119
|
-
|
|
120
|
-
attr_reader recording_status_callback: String?
|
|
121
|
-
|
|
122
|
-
def recording_status_callback=: (String) -> String
|
|
123
|
-
|
|
124
|
-
attr_reader recording_status_callback_event: String?
|
|
125
|
-
|
|
126
|
-
def recording_status_callback_event=: (String) -> String
|
|
127
|
-
|
|
128
|
-
attr_reader recording_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method?
|
|
129
|
-
|
|
130
|
-
def recording_status_callback_method=: (
|
|
131
|
-
Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method
|
|
132
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method
|
|
133
|
-
|
|
134
|
-
attr_reader recording_timeout: Integer?
|
|
135
|
-
|
|
136
|
-
def recording_timeout=: (Integer) -> Integer
|
|
137
|
-
|
|
138
|
-
attr_reader recording_track: Telnyx::Models::Texml::CallInitiateParams::recording_track?
|
|
139
|
-
|
|
140
|
-
def recording_track=: (
|
|
141
|
-
Telnyx::Models::Texml::CallInitiateParams::recording_track
|
|
142
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::recording_track
|
|
143
|
-
|
|
144
|
-
attr_reader sip_auth_password: String?
|
|
145
|
-
|
|
146
|
-
def sip_auth_password=: (String) -> String
|
|
147
|
-
|
|
148
|
-
attr_reader sip_auth_username: String?
|
|
149
|
-
|
|
150
|
-
def sip_auth_username=: (String) -> String
|
|
151
|
-
|
|
152
|
-
attr_reader status_callback: String?
|
|
153
|
-
|
|
154
|
-
def status_callback=: (String) -> String
|
|
155
|
-
|
|
156
|
-
attr_reader status_callback_event: Telnyx::Models::Texml::CallInitiateParams::status_callback_event?
|
|
157
|
-
|
|
158
|
-
def status_callback_event=: (
|
|
159
|
-
Telnyx::Models::Texml::CallInitiateParams::status_callback_event
|
|
160
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::status_callback_event
|
|
161
|
-
|
|
162
|
-
attr_reader status_callback_method: Telnyx::Models::Texml::CallInitiateParams::status_callback_method?
|
|
163
|
-
|
|
164
|
-
def status_callback_method=: (
|
|
165
|
-
Telnyx::Models::Texml::CallInitiateParams::status_callback_method
|
|
166
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::status_callback_method
|
|
167
|
-
|
|
168
|
-
attr_reader trim: Telnyx::Models::Texml::CallInitiateParams::trim?
|
|
169
|
-
|
|
170
|
-
def trim=: (
|
|
171
|
-
Telnyx::Models::Texml::CallInitiateParams::trim
|
|
172
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::trim
|
|
173
|
-
|
|
174
|
-
attr_reader url: String?
|
|
175
|
-
|
|
176
|
-
def url=: (String) -> String
|
|
177
|
-
|
|
178
|
-
attr_reader url_method: Telnyx::Models::Texml::CallInitiateParams::url_method?
|
|
179
|
-
|
|
180
|
-
def url_method=: (
|
|
181
|
-
Telnyx::Models::Texml::CallInitiateParams::url_method
|
|
182
|
-
) -> Telnyx::Models::Texml::CallInitiateParams::url_method
|
|
183
|
-
|
|
184
|
-
def initialize: (
|
|
185
|
-
from: String,
|
|
186
|
-
to: String,
|
|
187
|
-
?async_amd: bool,
|
|
188
|
-
?async_amd_status_callback: String,
|
|
189
|
-
?async_amd_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method,
|
|
190
|
-
?caller_id: String,
|
|
191
|
-
?cancel_playback_on_detect_message_end: bool,
|
|
192
|
-
?cancel_playback_on_machine_detection: bool,
|
|
193
|
-
?detection_mode: Telnyx::Models::Texml::CallInitiateParams::detection_mode,
|
|
194
|
-
?fallback_url: String,
|
|
195
|
-
?machine_detection: Telnyx::Models::Texml::CallInitiateParams::machine_detection,
|
|
196
|
-
?machine_detection_silence_timeout: Integer,
|
|
197
|
-
?machine_detection_speech_end_threshold: Integer,
|
|
198
|
-
?machine_detection_speech_threshold: Integer,
|
|
199
|
-
?machine_detection_timeout: Integer,
|
|
200
|
-
?preferred_codecs: String,
|
|
201
|
-
?record: bool,
|
|
202
|
-
?recording_channels: Telnyx::Models::Texml::CallInitiateParams::recording_channels,
|
|
203
|
-
?recording_status_callback: String,
|
|
204
|
-
?recording_status_callback_event: String,
|
|
205
|
-
?recording_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method,
|
|
206
|
-
?recording_timeout: Integer,
|
|
207
|
-
?recording_track: Telnyx::Models::Texml::CallInitiateParams::recording_track,
|
|
208
|
-
?sip_auth_password: String,
|
|
209
|
-
?sip_auth_username: String,
|
|
210
|
-
?status_callback: String,
|
|
211
|
-
?status_callback_event: Telnyx::Models::Texml::CallInitiateParams::status_callback_event,
|
|
212
|
-
?status_callback_method: Telnyx::Models::Texml::CallInitiateParams::status_callback_method,
|
|
213
|
-
?trim: Telnyx::Models::Texml::CallInitiateParams::trim,
|
|
214
|
-
?url: String,
|
|
215
|
-
?url_method: Telnyx::Models::Texml::CallInitiateParams::url_method,
|
|
216
|
-
?request_options: Telnyx::request_opts
|
|
217
|
-
) -> void
|
|
218
|
-
|
|
219
|
-
def to_hash: -> {
|
|
220
|
-
from: String,
|
|
221
|
-
to: String,
|
|
222
|
-
async_amd: bool,
|
|
223
|
-
async_amd_status_callback: String,
|
|
224
|
-
async_amd_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method,
|
|
225
|
-
caller_id: String,
|
|
226
|
-
cancel_playback_on_detect_message_end: bool,
|
|
227
|
-
cancel_playback_on_machine_detection: bool,
|
|
228
|
-
detection_mode: Telnyx::Models::Texml::CallInitiateParams::detection_mode,
|
|
229
|
-
fallback_url: String,
|
|
230
|
-
machine_detection: Telnyx::Models::Texml::CallInitiateParams::machine_detection,
|
|
231
|
-
machine_detection_silence_timeout: Integer,
|
|
232
|
-
machine_detection_speech_end_threshold: Integer,
|
|
233
|
-
machine_detection_speech_threshold: Integer,
|
|
234
|
-
machine_detection_timeout: Integer,
|
|
235
|
-
preferred_codecs: String,
|
|
236
|
-
record: bool,
|
|
237
|
-
recording_channels: Telnyx::Models::Texml::CallInitiateParams::recording_channels,
|
|
238
|
-
recording_status_callback: String,
|
|
239
|
-
recording_status_callback_event: String,
|
|
240
|
-
recording_status_callback_method: Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method,
|
|
241
|
-
recording_timeout: Integer,
|
|
242
|
-
recording_track: Telnyx::Models::Texml::CallInitiateParams::recording_track,
|
|
243
|
-
sip_auth_password: String,
|
|
244
|
-
sip_auth_username: String,
|
|
245
|
-
status_callback: String,
|
|
246
|
-
status_callback_event: Telnyx::Models::Texml::CallInitiateParams::status_callback_event,
|
|
247
|
-
status_callback_method: Telnyx::Models::Texml::CallInitiateParams::status_callback_method,
|
|
248
|
-
trim: Telnyx::Models::Texml::CallInitiateParams::trim,
|
|
249
|
-
url: String,
|
|
250
|
-
url_method: Telnyx::Models::Texml::CallInitiateParams::url_method,
|
|
251
|
-
request_options: Telnyx::RequestOptions
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
type async_amd_status_callback_method = :GET | :POST
|
|
255
|
-
|
|
256
|
-
module AsyncAmdStatusCallbackMethod
|
|
257
|
-
extend Telnyx::Internal::Type::Enum
|
|
258
|
-
|
|
259
|
-
GET: :GET
|
|
260
|
-
POST: :POST
|
|
261
|
-
|
|
262
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::async_amd_status_callback_method]
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
type detection_mode = :Premium | :Regular
|
|
266
|
-
|
|
267
|
-
module DetectionMode
|
|
268
|
-
extend Telnyx::Internal::Type::Enum
|
|
269
|
-
|
|
270
|
-
PREMIUM: :Premium
|
|
271
|
-
REGULAR: :Regular
|
|
272
|
-
|
|
273
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::detection_mode]
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
type machine_detection = :Enable | :Disable | :DetectMessageEnd
|
|
277
|
-
|
|
278
|
-
module MachineDetection
|
|
279
|
-
extend Telnyx::Internal::Type::Enum
|
|
280
|
-
|
|
281
|
-
ENABLE: :Enable
|
|
282
|
-
DISABLE: :Disable
|
|
283
|
-
DETECT_MESSAGE_END: :DetectMessageEnd
|
|
284
|
-
|
|
285
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::machine_detection]
|
|
286
|
-
end
|
|
287
|
-
|
|
288
|
-
type recording_channels = :mono | :dual
|
|
289
|
-
|
|
290
|
-
module RecordingChannels
|
|
291
|
-
extend Telnyx::Internal::Type::Enum
|
|
292
|
-
|
|
293
|
-
MONO: :mono
|
|
294
|
-
DUAL: :dual
|
|
295
|
-
|
|
296
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::recording_channels]
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
type recording_status_callback_method = :GET | :POST
|
|
300
|
-
|
|
301
|
-
module RecordingStatusCallbackMethod
|
|
302
|
-
extend Telnyx::Internal::Type::Enum
|
|
303
|
-
|
|
304
|
-
GET: :GET
|
|
305
|
-
POST: :POST
|
|
306
|
-
|
|
307
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::recording_status_callback_method]
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
type recording_track = :inbound | :outbound | :both
|
|
311
|
-
|
|
312
|
-
module RecordingTrack
|
|
313
|
-
extend Telnyx::Internal::Type::Enum
|
|
314
|
-
|
|
315
|
-
INBOUND: :inbound
|
|
316
|
-
OUTBOUND: :outbound
|
|
317
|
-
BOTH: :both
|
|
318
|
-
|
|
319
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::recording_track]
|
|
320
|
-
end
|
|
321
|
-
|
|
322
|
-
type status_callback_event =
|
|
323
|
-
:initiated | :ringing | :answered | :completed
|
|
324
|
-
|
|
325
|
-
module StatusCallbackEvent
|
|
326
|
-
extend Telnyx::Internal::Type::Enum
|
|
327
|
-
|
|
328
|
-
INITIATED: :initiated
|
|
329
|
-
RINGING: :ringing
|
|
330
|
-
ANSWERED: :answered
|
|
331
|
-
COMPLETED: :completed
|
|
332
|
-
|
|
333
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::status_callback_event]
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
type status_callback_method = :GET | :POST
|
|
337
|
-
|
|
338
|
-
module StatusCallbackMethod
|
|
339
|
-
extend Telnyx::Internal::Type::Enum
|
|
340
|
-
|
|
341
|
-
GET: :GET
|
|
342
|
-
POST: :POST
|
|
343
|
-
|
|
344
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::status_callback_method]
|
|
345
|
-
end
|
|
346
|
-
|
|
347
|
-
type trim = :"trim-silence" | :"do-not-trim"
|
|
348
|
-
|
|
349
|
-
module Trim
|
|
350
|
-
extend Telnyx::Internal::Type::Enum
|
|
351
|
-
|
|
352
|
-
TRIM_SILENCE: :"trim-silence"
|
|
353
|
-
DO_NOT_TRIM: :"do-not-trim"
|
|
354
|
-
|
|
355
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::trim]
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
type url_method = :GET | :POST
|
|
359
|
-
|
|
360
|
-
module URLMethod
|
|
361
|
-
extend Telnyx::Internal::Type::Enum
|
|
362
|
-
|
|
363
|
-
GET: :GET
|
|
364
|
-
POST: :POST
|
|
365
|
-
|
|
366
|
-
def self?.values: -> ::Array[Telnyx::Models::Texml::CallInitiateParams::url_method]
|
|
367
|
-
end
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
|
-
end
|
|
371
|
-
end
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Texml
|
|
4
|
-
type call_initiate_response =
|
|
5
|
-
{ data: Telnyx::Models::Texml::CallInitiateResponse::Data }
|
|
6
|
-
|
|
7
|
-
class CallInitiateResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
attr_reader data: Telnyx::Models::Texml::CallInitiateResponse::Data?
|
|
9
|
-
|
|
10
|
-
def data=: (
|
|
11
|
-
Telnyx::Models::Texml::CallInitiateResponse::Data
|
|
12
|
-
) -> Telnyx::Models::Texml::CallInitiateResponse::Data
|
|
13
|
-
|
|
14
|
-
def initialize: (
|
|
15
|
-
?data: Telnyx::Models::Texml::CallInitiateResponse::Data
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
data: Telnyx::Models::Texml::CallInitiateResponse::Data
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type data = { from: String, status: String, to: String }
|
|
23
|
-
|
|
24
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
25
|
-
attr_reader from: String?
|
|
26
|
-
|
|
27
|
-
def from=: (String) -> String
|
|
28
|
-
|
|
29
|
-
attr_reader status: String?
|
|
30
|
-
|
|
31
|
-
def status=: (String) -> String
|
|
32
|
-
|
|
33
|
-
attr_reader to: String?
|
|
34
|
-
|
|
35
|
-
def to=: (String) -> String
|
|
36
|
-
|
|
37
|
-
def initialize: (?from: String, ?status: String, ?to: String) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> { from: String, status: String, to: String }
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Texml
|
|
4
|
-
type call_update_params =
|
|
5
|
-
{ } & Telnyx::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class CallUpdateParams < Telnyx::Models::Texml::Accounts::UpdateCall
|
|
8
|
-
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
def initialize: (?request_options: Telnyx::request_opts) -> void
|
|
12
|
-
|
|
13
|
-
def to_hash: -> { request_options: Telnyx::RequestOptions }
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module Texml
|
|
4
|
-
type call_update_response =
|
|
5
|
-
{ data: Telnyx::Models::Texml::CallUpdateResponse::Data }
|
|
6
|
-
|
|
7
|
-
class CallUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
attr_reader data: Telnyx::Models::Texml::CallUpdateResponse::Data?
|
|
9
|
-
|
|
10
|
-
def data=: (
|
|
11
|
-
Telnyx::Models::Texml::CallUpdateResponse::Data
|
|
12
|
-
) -> Telnyx::Models::Texml::CallUpdateResponse::Data
|
|
13
|
-
|
|
14
|
-
def initialize: (
|
|
15
|
-
?data: Telnyx::Models::Texml::CallUpdateResponse::Data
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
data: Telnyx::Models::Texml::CallUpdateResponse::Data
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type data = { sid: String, status: String }
|
|
23
|
-
|
|
24
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
|
25
|
-
attr_reader sid: String?
|
|
26
|
-
|
|
27
|
-
def sid=: (String) -> String
|
|
28
|
-
|
|
29
|
-
attr_reader status: String?
|
|
30
|
-
|
|
31
|
-
def status=: (String) -> String
|
|
32
|
-
|
|
33
|
-
def initialize: (?sid: String, ?status: String) -> void
|
|
34
|
-
|
|
35
|
-
def to_hash: -> { sid: String, status: String }
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|