telnyx 5.102.1 → 5.103.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/assistant_create_params.rb +170 -9
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -14
- data/lib/telnyx/models/ai/assistant_update_params.rb +170 -9
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +123 -3
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +125 -3
- data/lib/telnyx/models/ai/assistants/scheduled_event_create_params.rb +17 -1
- data/lib/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rb +91 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +171 -9
- data/lib/telnyx/models/ai/inference_embedding.rb +169 -9
- data/lib/telnyx/models/ai/openai_list_models_response.rb +31 -3
- data/lib/telnyx/models/ai/transfer_tool.rb +9 -7
- data/lib/telnyx/models/ai_retrieve_models_response.rb +31 -3
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +23 -4
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_speak_params.rb +23 -4
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +23 -4
- data/lib/telnyx/models/calls/transcription_start_request.rb +167 -5
- data/lib/telnyx/models/conferences/action_speak_params.rb +23 -4
- data/lib/telnyx/models/text_to_speech_generate_params.rb +6 -6
- data/lib/telnyx/models/uac_connection_create_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_create_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_delete_response.rb +878 -3
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +879 -3
- data/lib/telnyx/models/uac_connection_update_params.rb +255 -9
- data/lib/telnyx/models/uac_connection_update_response.rb +878 -3
- data/lib/telnyx/models.rb +0 -14
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/scheduled_events.rb +5 -1
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +5 -5
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/uac_connections.rb +8 -8
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +1 -19
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistant_tool.rbi +10 -10
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +341 -12
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +290 -4
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +301 -3
- data/rbi/telnyx/models/ai/assistants/scheduled_event_create_params.rbi +22 -0
- data/rbi/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbi +153 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +355 -12
- data/rbi/telnyx/models/ai/inference_embedding.rbi +340 -12
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +56 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +5 -5
- data/rbi/telnyx/models/ai_retrieve_models_response.rbi +51 -3
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +41 -5
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +480 -10
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +41 -5
- data/rbi/telnyx/models/text_to_speech_generate_params.rbi +6 -6
- data/rbi/telnyx/models/uac_connection_create_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1756 -4
- data/rbi/telnyx/models/uac_connection_update_params.rbi +516 -12
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1756 -4
- data/rbi/telnyx/models.rbi +0 -14
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +4 -2
- data/rbi/telnyx/resources/ai/assistants/scheduled_events.rbi +6 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -3
- data/rbi/telnyx/resources/ai/assistants.rbi +10 -6
- data/rbi/telnyx/resources/calls/actions.rbi +6 -6
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/uac_connections.rbi +13 -7
- data/sig/telnyx/models/ai/assistant_create_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistant_tool.rbs +8 -8
- data/sig/telnyx/models/ai/assistant_update_params.rbs +142 -18
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -6
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +109 -4
- data/sig/telnyx/models/ai/assistants/scheduled_event_create_params.rbs +14 -0
- data/sig/telnyx/models/ai/assistants/scheduled_phone_call_event_response.rbs +85 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +145 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +142 -18
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +39 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +4 -4
- data/sig/telnyx/models/ai_retrieve_models_response.rbs +39 -4
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -1
- data/sig/telnyx/models/calls/transcription_start_request.rbs +184 -2
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -1
- data/sig/telnyx/models/text_to_speech_generate_params.rbs +6 -6
- data/sig/telnyx/models/uac_connection_create_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_create_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_delete_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +731 -5
- data/sig/telnyx/models/uac_connection_update_params.rbs +211 -17
- data/sig/telnyx/models/uac_connection_update_response.rbs +731 -5
- data/sig/telnyx/models.rbs +0 -14
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/ai/assistants/scheduled_events.rbs +2 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/uac_connections.rbs +7 -7
- metadata +4 -58
- data/lib/telnyx/models/ai/assistant_integration.rb +0 -38
- data/lib/telnyx/models/ai/assistant_mcp_server.rb +0 -35
- data/lib/telnyx/models/ai/assistants/clause.rb +0 -54
- data/lib/telnyx/models/ai/assistants/rollout_slot.rb +0 -27
- data/lib/telnyx/models/ai/assistants/rule_input.rb +0 -40
- data/lib/telnyx/models/ai/assistants/rule_output.rb +0 -40
- data/lib/telnyx/models/ai/assistants/serve.rb +0 -33
- data/lib/telnyx/models/ai/inference_embedding_interruption_settings.rb +0 -39
- data/lib/telnyx/models/ai/start_speaking_plan.rb +0 -37
- data/lib/telnyx/models/ai/transcription_endpointing_plan.rb +0 -39
- data/lib/telnyx/models/calls/transcription_engine_assemblyai_config.rb +0 -64
- data/lib/telnyx/models/calls/transcription_engine_xai_config.rb +0 -108
- data/lib/telnyx/models/model_metadata.rb +0 -33
- data/lib/telnyx/models/uac_connection.rb +0 -412
- data/lib/telnyx/models/uac_external_settings.rb +0 -101
- data/lib/telnyx/models/uac_inbound.rb +0 -210
- data/lib/telnyx/models/uac_internal_settings.rb +0 -25
- data/lib/telnyx/models/uac_outbound.rb +0 -131
- data/lib/telnyx/models/xai_voice_settings.rb +0 -36
- data/rbi/telnyx/models/ai/assistant_integration.rbi +0 -60
- data/rbi/telnyx/models/ai/assistant_mcp_server.rbi +0 -51
- data/rbi/telnyx/models/ai/assistants/clause.rbi +0 -91
- data/rbi/telnyx/models/ai/assistants/rollout_slot.rbi +0 -36
- data/rbi/telnyx/models/ai/assistants/rule_input.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/rule_output.rbi +0 -73
- data/rbi/telnyx/models/ai/assistants/serve.rbi +0 -61
- data/rbi/telnyx/models/ai/inference_embedding_interruption_settings.rbi +0 -72
- data/rbi/telnyx/models/ai/start_speaking_plan.rbi +0 -70
- data/rbi/telnyx/models/ai/transcription_endpointing_plan.rbi +0 -71
- data/rbi/telnyx/models/calls/transcription_engine_assemblyai_config.rbi +0 -155
- data/rbi/telnyx/models/calls/transcription_engine_xai_config.rbi +0 -329
- data/rbi/telnyx/models/model_metadata.rbi +0 -44
- data/rbi/telnyx/models/uac_connection.rbi +0 -684
- data/rbi/telnyx/models/uac_external_settings.rbi +0 -146
- data/rbi/telnyx/models/uac_inbound.rbi +0 -410
- data/rbi/telnyx/models/uac_internal_settings.rbi +0 -39
- data/rbi/telnyx/models/uac_outbound.rbi +0 -224
- data/rbi/telnyx/models/xai_voice_settings.rbi +0 -64
- data/sig/telnyx/models/ai/assistant_integration.rbs +0 -26
- data/sig/telnyx/models/ai/assistant_mcp_server.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/clause.rbs +0 -46
- data/sig/telnyx/models/ai/assistants/rollout_slot.rbs +0 -19
- data/sig/telnyx/models/ai/assistants/rule_input.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/rule_output.rbs +0 -33
- data/sig/telnyx/models/ai/assistants/serve.rbs +0 -35
- data/sig/telnyx/models/ai/inference_embedding_interruption_settings.rbs +0 -30
- data/sig/telnyx/models/ai/start_speaking_plan.rbs +0 -33
- data/sig/telnyx/models/ai/transcription_endpointing_plan.rbs +0 -38
- data/sig/telnyx/models/calls/transcription_engine_assemblyai_config.rbs +0 -62
- data/sig/telnyx/models/calls/transcription_engine_xai_config.rbs +0 -130
- data/sig/telnyx/models/model_metadata.rbs +0 -32
- data/sig/telnyx/models/uac_connection.rbs +0 -338
- data/sig/telnyx/models/uac_external_settings.rbs +0 -73
- data/sig/telnyx/models/uac_inbound.rbs +0 -190
- data/sig/telnyx/models/uac_internal_settings.rbs +0 -15
- data/sig/telnyx/models/uac_outbound.rbs +0 -113
- data/sig/telnyx/models/xai_voice_settings.rbs +0 -34
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type uac_inbound =
|
|
4
|
-
{
|
|
5
|
-
ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
6
|
-
channel_limit: Integer,
|
|
7
|
-
codecs: ::Array[String],
|
|
8
|
-
default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
9
|
-
dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
10
|
-
generate_ringback_tone: bool,
|
|
11
|
-
isup_headers_enabled: bool,
|
|
12
|
-
prack_enabled: bool,
|
|
13
|
-
shaken_stir_enabled: bool,
|
|
14
|
-
simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
15
|
-
sip_compact_headers_enabled: bool,
|
|
16
|
-
sip_subdomain: String,
|
|
17
|
-
sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
18
|
-
:timeout_1xx_secs => Integer,
|
|
19
|
-
:timeout_2xx_secs => Integer
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
class UacInbound < Telnyx::Internal::Type::BaseModel
|
|
23
|
-
attr_reader ani_number_format: Telnyx::Models::UacInbound::ani_number_format?
|
|
24
|
-
|
|
25
|
-
def ani_number_format=: (
|
|
26
|
-
Telnyx::Models::UacInbound::ani_number_format
|
|
27
|
-
) -> Telnyx::Models::UacInbound::ani_number_format
|
|
28
|
-
|
|
29
|
-
attr_reader channel_limit: Integer?
|
|
30
|
-
|
|
31
|
-
def channel_limit=: (Integer) -> Integer
|
|
32
|
-
|
|
33
|
-
attr_reader codecs: ::Array[String]?
|
|
34
|
-
|
|
35
|
-
def codecs=: (::Array[String]) -> ::Array[String]
|
|
36
|
-
|
|
37
|
-
attr_reader default_routing_method: Telnyx::Models::UacInbound::default_routing_method?
|
|
38
|
-
|
|
39
|
-
def default_routing_method=: (
|
|
40
|
-
Telnyx::Models::UacInbound::default_routing_method
|
|
41
|
-
) -> Telnyx::Models::UacInbound::default_routing_method
|
|
42
|
-
|
|
43
|
-
attr_reader dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format?
|
|
44
|
-
|
|
45
|
-
def dnis_number_format=: (
|
|
46
|
-
Telnyx::Models::UacInbound::dnis_number_format
|
|
47
|
-
) -> Telnyx::Models::UacInbound::dnis_number_format
|
|
48
|
-
|
|
49
|
-
attr_reader generate_ringback_tone: bool?
|
|
50
|
-
|
|
51
|
-
def generate_ringback_tone=: (bool) -> bool
|
|
52
|
-
|
|
53
|
-
attr_reader isup_headers_enabled: bool?
|
|
54
|
-
|
|
55
|
-
def isup_headers_enabled=: (bool) -> bool
|
|
56
|
-
|
|
57
|
-
attr_reader prack_enabled: bool?
|
|
58
|
-
|
|
59
|
-
def prack_enabled=: (bool) -> bool
|
|
60
|
-
|
|
61
|
-
attr_reader shaken_stir_enabled: bool?
|
|
62
|
-
|
|
63
|
-
def shaken_stir_enabled=: (bool) -> bool
|
|
64
|
-
|
|
65
|
-
attr_reader simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing?
|
|
66
|
-
|
|
67
|
-
def simultaneous_ringing=: (
|
|
68
|
-
Telnyx::Models::UacInbound::simultaneous_ringing
|
|
69
|
-
) -> Telnyx::Models::UacInbound::simultaneous_ringing
|
|
70
|
-
|
|
71
|
-
attr_reader sip_compact_headers_enabled: bool?
|
|
72
|
-
|
|
73
|
-
def sip_compact_headers_enabled=: (bool) -> bool
|
|
74
|
-
|
|
75
|
-
attr_reader sip_subdomain: String?
|
|
76
|
-
|
|
77
|
-
def sip_subdomain=: (String) -> String
|
|
78
|
-
|
|
79
|
-
attr_reader sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings?
|
|
80
|
-
|
|
81
|
-
def sip_subdomain_receive_settings=: (
|
|
82
|
-
Telnyx::Models::UacInbound::sip_subdomain_receive_settings
|
|
83
|
-
) -> Telnyx::Models::UacInbound::sip_subdomain_receive_settings
|
|
84
|
-
|
|
85
|
-
attr_reader timeout_1xx_secs: Integer?
|
|
86
|
-
|
|
87
|
-
def timeout_1xx_secs=: (Integer) -> Integer
|
|
88
|
-
|
|
89
|
-
attr_reader timeout_2xx_secs: Integer?
|
|
90
|
-
|
|
91
|
-
def timeout_2xx_secs=: (Integer) -> Integer
|
|
92
|
-
|
|
93
|
-
def initialize: (
|
|
94
|
-
?ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
95
|
-
?channel_limit: Integer,
|
|
96
|
-
?codecs: ::Array[String],
|
|
97
|
-
?default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
98
|
-
?dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
99
|
-
?generate_ringback_tone: bool,
|
|
100
|
-
?isup_headers_enabled: bool,
|
|
101
|
-
?prack_enabled: bool,
|
|
102
|
-
?shaken_stir_enabled: bool,
|
|
103
|
-
?simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
104
|
-
?sip_compact_headers_enabled: bool,
|
|
105
|
-
?sip_subdomain: String,
|
|
106
|
-
?sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
107
|
-
?timeout_1xx_secs: Integer,
|
|
108
|
-
?timeout_2xx_secs: Integer
|
|
109
|
-
) -> void
|
|
110
|
-
|
|
111
|
-
def to_hash: -> {
|
|
112
|
-
ani_number_format: Telnyx::Models::UacInbound::ani_number_format,
|
|
113
|
-
channel_limit: Integer,
|
|
114
|
-
codecs: ::Array[String],
|
|
115
|
-
default_routing_method: Telnyx::Models::UacInbound::default_routing_method,
|
|
116
|
-
dnis_number_format: Telnyx::Models::UacInbound::dnis_number_format,
|
|
117
|
-
generate_ringback_tone: bool,
|
|
118
|
-
isup_headers_enabled: bool,
|
|
119
|
-
prack_enabled: bool,
|
|
120
|
-
shaken_stir_enabled: bool,
|
|
121
|
-
simultaneous_ringing: Telnyx::Models::UacInbound::simultaneous_ringing,
|
|
122
|
-
sip_compact_headers_enabled: bool,
|
|
123
|
-
sip_subdomain: String,
|
|
124
|
-
sip_subdomain_receive_settings: Telnyx::Models::UacInbound::sip_subdomain_receive_settings,
|
|
125
|
-
:timeout_1xx_secs => Integer,
|
|
126
|
-
:timeout_2xx_secs => Integer
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
type ani_number_format =
|
|
130
|
-
:"+E.164" | :"E.164" | :"+E.164-national" | :"E.164-national"
|
|
131
|
-
|
|
132
|
-
module AniNumberFormat
|
|
133
|
-
extend Telnyx::Internal::Type::Enum
|
|
134
|
-
|
|
135
|
-
PLUS_E_164: :"+E.164"
|
|
136
|
-
E_164: :"E.164"
|
|
137
|
-
PLUS_E_164_NATIONAL: :"+E.164-national"
|
|
138
|
-
E_164_NATIONAL: :"E.164-national"
|
|
139
|
-
|
|
140
|
-
def self?.values: -> ::Array[Telnyx::Models::UacInbound::ani_number_format]
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
type default_routing_method = :sequential | :"round-robin"
|
|
144
|
-
|
|
145
|
-
module DefaultRoutingMethod
|
|
146
|
-
extend Telnyx::Internal::Type::Enum
|
|
147
|
-
|
|
148
|
-
SEQUENTIAL: :sequential
|
|
149
|
-
ROUND_ROBIN: :"round-robin"
|
|
150
|
-
|
|
151
|
-
def self?.values: -> ::Array[Telnyx::Models::UacInbound::default_routing_method]
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
type dnis_number_format = :"+e164" | :e164 | :national | :sip_username
|
|
155
|
-
|
|
156
|
-
module DnisNumberFormat
|
|
157
|
-
extend Telnyx::Internal::Type::Enum
|
|
158
|
-
|
|
159
|
-
PLUS_E164: :"+e164"
|
|
160
|
-
E164: :e164
|
|
161
|
-
NATIONAL: :national
|
|
162
|
-
SIP_USERNAME: :sip_username
|
|
163
|
-
|
|
164
|
-
def self?.values: -> ::Array[Telnyx::Models::UacInbound::dnis_number_format]
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
type simultaneous_ringing = :disabled | :enabled
|
|
168
|
-
|
|
169
|
-
module SimultaneousRinging
|
|
170
|
-
extend Telnyx::Internal::Type::Enum
|
|
171
|
-
|
|
172
|
-
DISABLED: :disabled
|
|
173
|
-
ENABLED: :enabled
|
|
174
|
-
|
|
175
|
-
def self?.values: -> ::Array[Telnyx::Models::UacInbound::simultaneous_ringing]
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
type sip_subdomain_receive_settings = :only_my_connections | :from_anyone
|
|
179
|
-
|
|
180
|
-
module SipSubdomainReceiveSettings
|
|
181
|
-
extend Telnyx::Internal::Type::Enum
|
|
182
|
-
|
|
183
|
-
ONLY_MY_CONNECTIONS: :only_my_connections
|
|
184
|
-
FROM_ANYONE: :from_anyone
|
|
185
|
-
|
|
186
|
-
def self?.values: -> ::Array[Telnyx::Models::UacInbound::sip_subdomain_receive_settings]
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type uac_internal_settings = { destination_uri: String }
|
|
4
|
-
|
|
5
|
-
class UacInternalSettings < Telnyx::Internal::Type::BaseModel
|
|
6
|
-
attr_reader destination_uri: String?
|
|
7
|
-
|
|
8
|
-
def destination_uri=: (String) -> String
|
|
9
|
-
|
|
10
|
-
def initialize: (?destination_uri: String) -> void
|
|
11
|
-
|
|
12
|
-
def to_hash: -> { destination_uri: String }
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type uac_outbound =
|
|
4
|
-
{
|
|
5
|
-
ani_override: String,
|
|
6
|
-
ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
7
|
-
call_parking_enabled: bool?,
|
|
8
|
-
channel_limit: Integer,
|
|
9
|
-
generate_ringback_tone: bool,
|
|
10
|
-
instant_ringback_enabled: bool,
|
|
11
|
-
localization: String,
|
|
12
|
-
outbound_voice_profile_id: String,
|
|
13
|
-
:t38_reinvite_source => Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
class UacOutbound < Telnyx::Internal::Type::BaseModel
|
|
17
|
-
attr_reader ani_override: String?
|
|
18
|
-
|
|
19
|
-
def ani_override=: (String) -> String
|
|
20
|
-
|
|
21
|
-
attr_reader ani_override_type: Telnyx::Models::UacOutbound::ani_override_type?
|
|
22
|
-
|
|
23
|
-
def ani_override_type=: (
|
|
24
|
-
Telnyx::Models::UacOutbound::ani_override_type
|
|
25
|
-
) -> Telnyx::Models::UacOutbound::ani_override_type
|
|
26
|
-
|
|
27
|
-
attr_accessor call_parking_enabled: bool?
|
|
28
|
-
|
|
29
|
-
attr_reader channel_limit: Integer?
|
|
30
|
-
|
|
31
|
-
def channel_limit=: (Integer) -> Integer
|
|
32
|
-
|
|
33
|
-
attr_reader generate_ringback_tone: bool?
|
|
34
|
-
|
|
35
|
-
def generate_ringback_tone=: (bool) -> bool
|
|
36
|
-
|
|
37
|
-
attr_reader instant_ringback_enabled: bool?
|
|
38
|
-
|
|
39
|
-
def instant_ringback_enabled=: (bool) -> bool
|
|
40
|
-
|
|
41
|
-
attr_reader localization: String?
|
|
42
|
-
|
|
43
|
-
def localization=: (String) -> String
|
|
44
|
-
|
|
45
|
-
attr_reader outbound_voice_profile_id: String?
|
|
46
|
-
|
|
47
|
-
def outbound_voice_profile_id=: (String) -> String
|
|
48
|
-
|
|
49
|
-
attr_reader t38_reinvite_source: Telnyx::Models::UacOutbound::t38_reinvite_source?
|
|
50
|
-
|
|
51
|
-
def t38_reinvite_source=: (
|
|
52
|
-
Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
53
|
-
) -> Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
54
|
-
|
|
55
|
-
def initialize: (
|
|
56
|
-
?ani_override: String,
|
|
57
|
-
?ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
58
|
-
?call_parking_enabled: bool?,
|
|
59
|
-
?channel_limit: Integer,
|
|
60
|
-
?generate_ringback_tone: bool,
|
|
61
|
-
?instant_ringback_enabled: bool,
|
|
62
|
-
?localization: String,
|
|
63
|
-
?outbound_voice_profile_id: String,
|
|
64
|
-
?t38_reinvite_source: Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
65
|
-
) -> void
|
|
66
|
-
|
|
67
|
-
def to_hash: -> {
|
|
68
|
-
ani_override: String,
|
|
69
|
-
ani_override_type: Telnyx::Models::UacOutbound::ani_override_type,
|
|
70
|
-
call_parking_enabled: bool?,
|
|
71
|
-
channel_limit: Integer,
|
|
72
|
-
generate_ringback_tone: bool,
|
|
73
|
-
instant_ringback_enabled: bool,
|
|
74
|
-
localization: String,
|
|
75
|
-
outbound_voice_profile_id: String,
|
|
76
|
-
:t38_reinvite_source => Telnyx::Models::UacOutbound::t38_reinvite_source
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
type ani_override_type = :always | :normal | :emergency
|
|
80
|
-
|
|
81
|
-
module AniOverrideType
|
|
82
|
-
extend Telnyx::Internal::Type::Enum
|
|
83
|
-
|
|
84
|
-
ALWAYS: :always
|
|
85
|
-
NORMAL: :normal
|
|
86
|
-
EMERGENCY: :emergency
|
|
87
|
-
|
|
88
|
-
def self?.values: -> ::Array[Telnyx::Models::UacOutbound::ani_override_type]
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
type t38_reinvite_source =
|
|
92
|
-
:telnyx
|
|
93
|
-
| :customer
|
|
94
|
-
| :disabled
|
|
95
|
-
| :passthru
|
|
96
|
-
| :"caller-passthru"
|
|
97
|
-
| :"callee-passthru"
|
|
98
|
-
|
|
99
|
-
module T38ReinviteSource
|
|
100
|
-
extend Telnyx::Internal::Type::Enum
|
|
101
|
-
|
|
102
|
-
TELNYX: :telnyx
|
|
103
|
-
CUSTOMER: :customer
|
|
104
|
-
DISABLED: :disabled
|
|
105
|
-
PASSTHRU: :passthru
|
|
106
|
-
CALLER_PASSTHRU: :"caller-passthru"
|
|
107
|
-
CALLEE_PASSTHRU: :"callee-passthru"
|
|
108
|
-
|
|
109
|
-
def self?.values: -> ::Array[Telnyx::Models::UacOutbound::t38_reinvite_source]
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
end
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
type xai_voice_settings =
|
|
4
|
-
{ type: Telnyx::Models::XaiVoiceSettings::type_, language: String }
|
|
5
|
-
|
|
6
|
-
class XaiVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor type: Telnyx::Models::XaiVoiceSettings::type_
|
|
8
|
-
|
|
9
|
-
attr_reader language: String?
|
|
10
|
-
|
|
11
|
-
def language=: (String) -> String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
type: Telnyx::Models::XaiVoiceSettings::type_,
|
|
15
|
-
?language: String
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
type: Telnyx::Models::XaiVoiceSettings::type_,
|
|
20
|
-
language: String
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type type_ = :xai
|
|
24
|
-
|
|
25
|
-
module Type
|
|
26
|
-
extend Telnyx::Internal::Type::Enum
|
|
27
|
-
|
|
28
|
-
XAI: :xai
|
|
29
|
-
|
|
30
|
-
def self?.values: -> ::Array[Telnyx::Models::XaiVoiceSettings::type_]
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|