telnyx 5.99.0 → 5.100.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 +13 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +5 -0
- data/lib/telnyx/models/ai/assistants/canary_deploy.rb +128 -7
- data/lib/telnyx/models/ai/assistants/canary_deploy_response.rb +131 -7
- data/lib/telnyx/models/uac_connection_create_params.rb +738 -0
- data/lib/telnyx/models/uac_connection_create_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_delete_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_delete_response.rb +898 -0
- data/lib/telnyx/models/uac_connection_list_params.rb +143 -0
- data/lib/telnyx/models/uac_connection_list_response.rb +876 -0
- data/lib/telnyx/models/uac_connection_retrieve_params.rb +20 -0
- data/lib/telnyx/models/uac_connection_retrieve_response.rb +899 -0
- data/lib/telnyx/models/uac_connection_update_params.rb +740 -0
- data/lib/telnyx/models/uac_connection_update_response.rb +898 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_params.rb +22 -0
- data/lib/telnyx/models/uac_connections/action_check_registration_status_response.rb +104 -0
- data/lib/telnyx/models.rb +12 -0
- data/lib/telnyx/resources/ai/assistants/canary_deploys.rb +6 -10
- data/lib/telnyx/resources/uac_connections/actions.rb +39 -0
- data/lib/telnyx/resources/uac_connections.rb +256 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +14 -1
- data/rbi/telnyx/client.rbi +4 -0
- data/rbi/telnyx/models/ai/assistants/canary_deploy.rbi +303 -10
- data/rbi/telnyx/models/ai/assistants/canary_deploy_response.rbi +309 -9
- data/rbi/telnyx/models/uac_connection_create_params.rbi +1465 -0
- data/rbi/telnyx/models/uac_connection_create_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_delete_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_delete_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_list_params.rbi +261 -0
- data/rbi/telnyx/models/uac_connection_list_response.rbi +1727 -0
- data/rbi/telnyx/models/uac_connection_retrieve_params.rbi +35 -0
- data/rbi/telnyx/models/uac_connection_retrieve_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connection_update_params.rbi +1463 -0
- data/rbi/telnyx/models/uac_connection_update_response.rbi +1793 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi +40 -0
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi +237 -0
- data/rbi/telnyx/models.rbi +12 -0
- data/rbi/telnyx/resources/ai/assistants/canary_deploys.rbi +6 -14
- data/rbi/telnyx/resources/uac_connections/actions.rbi +33 -0
- data/rbi/telnyx/resources/uac_connections.rbi +348 -0
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistants/canary_deploy.rbs +113 -4
- data/sig/telnyx/models/ai/assistants/canary_deploy_response.rbs +113 -8
- data/sig/telnyx/models/uac_connection_create_params.rbs +609 -0
- data/sig/telnyx/models/uac_connection_create_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_delete_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_delete_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_list_params.rbs +112 -0
- data/sig/telnyx/models/uac_connection_list_response.rbs +722 -0
- data/sig/telnyx/models/uac_connection_retrieve_params.rbs +20 -0
- data/sig/telnyx/models/uac_connection_retrieve_response.rbs +741 -0
- data/sig/telnyx/models/uac_connection_update_params.rbs +615 -0
- data/sig/telnyx/models/uac_connection_update_response.rbs +741 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs +22 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs +117 -0
- data/sig/telnyx/models.rbs +12 -0
- data/sig/telnyx/resources/ai/assistants/canary_deploys.rbs +2 -2
- data/sig/telnyx/resources/uac_connections/actions.rbs +14 -0
- data/sig/telnyx/resources/uac_connections.rbs +90 -0
- metadata +44 -5
- data/lib/telnyx/models/ai/assistants/version_config.rb +0 -30
- data/rbi/telnyx/models/ai/assistants/version_config.rbi +0 -45
- data/sig/telnyx/models/ai/assistants/version_config.rbs +0 -19
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class UacConnectionListParams < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Telnyx::UacConnectionListParams, Telnyx::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Consolidated filter parameter (deepObject style). Originally:
|
|
15
|
+
# filter[connection_name], filter[fqdn], filter[outbound_voice_profile_id],
|
|
16
|
+
# filter[outbound.outbound_voice_profile_id]
|
|
17
|
+
sig { returns(T.nilable(Telnyx::UacConnectionListParams::Filter)) }
|
|
18
|
+
attr_reader :filter
|
|
19
|
+
|
|
20
|
+
sig do
|
|
21
|
+
params(filter: Telnyx::UacConnectionListParams::Filter::OrHash).void
|
|
22
|
+
end
|
|
23
|
+
attr_writer :filter
|
|
24
|
+
|
|
25
|
+
sig { returns(T.nilable(Integer)) }
|
|
26
|
+
attr_reader :page_number
|
|
27
|
+
|
|
28
|
+
sig { params(page_number: Integer).void }
|
|
29
|
+
attr_writer :page_number
|
|
30
|
+
|
|
31
|
+
sig { returns(T.nilable(Integer)) }
|
|
32
|
+
attr_reader :page_size
|
|
33
|
+
|
|
34
|
+
sig { params(page_size: Integer).void }
|
|
35
|
+
attr_writer :page_size
|
|
36
|
+
|
|
37
|
+
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
38
|
+
# To have the results sorted in descending order add the <code> -</code>
|
|
39
|
+
# prefix.<br/><br/> That is: <ul>
|
|
40
|
+
#
|
|
41
|
+
# <li>
|
|
42
|
+
# <code>connection_name</code>: sorts the result by the
|
|
43
|
+
# <code>connection_name</code> field in ascending order.
|
|
44
|
+
# </li>
|
|
45
|
+
#
|
|
46
|
+
# <li>
|
|
47
|
+
# <code>-connection_name</code>: sorts the result by the
|
|
48
|
+
# <code>connection_name</code> field in descending order.
|
|
49
|
+
# </li>
|
|
50
|
+
# </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
|
|
51
|
+
sig do
|
|
52
|
+
returns(T.nilable(Telnyx::UacConnectionListParams::Sort::OrSymbol))
|
|
53
|
+
end
|
|
54
|
+
attr_reader :sort
|
|
55
|
+
|
|
56
|
+
sig { params(sort: Telnyx::UacConnectionListParams::Sort::OrSymbol).void }
|
|
57
|
+
attr_writer :sort
|
|
58
|
+
|
|
59
|
+
sig do
|
|
60
|
+
params(
|
|
61
|
+
filter: Telnyx::UacConnectionListParams::Filter::OrHash,
|
|
62
|
+
page_number: Integer,
|
|
63
|
+
page_size: Integer,
|
|
64
|
+
sort: Telnyx::UacConnectionListParams::Sort::OrSymbol,
|
|
65
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
66
|
+
).returns(T.attached_class)
|
|
67
|
+
end
|
|
68
|
+
def self.new(
|
|
69
|
+
# Consolidated filter parameter (deepObject style). Originally:
|
|
70
|
+
# filter[connection_name], filter[fqdn], filter[outbound_voice_profile_id],
|
|
71
|
+
# filter[outbound.outbound_voice_profile_id]
|
|
72
|
+
filter: nil,
|
|
73
|
+
page_number: nil,
|
|
74
|
+
page_size: nil,
|
|
75
|
+
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
76
|
+
# To have the results sorted in descending order add the <code> -</code>
|
|
77
|
+
# prefix.<br/><br/> That is: <ul>
|
|
78
|
+
#
|
|
79
|
+
# <li>
|
|
80
|
+
# <code>connection_name</code>: sorts the result by the
|
|
81
|
+
# <code>connection_name</code> field in ascending order.
|
|
82
|
+
# </li>
|
|
83
|
+
#
|
|
84
|
+
# <li>
|
|
85
|
+
# <code>-connection_name</code>: sorts the result by the
|
|
86
|
+
# <code>connection_name</code> field in descending order.
|
|
87
|
+
# </li>
|
|
88
|
+
# </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
|
|
89
|
+
sort: nil,
|
|
90
|
+
request_options: {}
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
sig do
|
|
95
|
+
override.returns(
|
|
96
|
+
{
|
|
97
|
+
filter: Telnyx::UacConnectionListParams::Filter,
|
|
98
|
+
page_number: Integer,
|
|
99
|
+
page_size: Integer,
|
|
100
|
+
sort: Telnyx::UacConnectionListParams::Sort::OrSymbol,
|
|
101
|
+
request_options: Telnyx::RequestOptions
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
end
|
|
105
|
+
def to_hash
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class Filter < Telnyx::Internal::Type::BaseModel
|
|
109
|
+
OrHash =
|
|
110
|
+
T.type_alias do
|
|
111
|
+
T.any(
|
|
112
|
+
Telnyx::UacConnectionListParams::Filter,
|
|
113
|
+
Telnyx::Internal::AnyHash
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Filter by connection_name using nested operations
|
|
118
|
+
sig do
|
|
119
|
+
returns(
|
|
120
|
+
T.nilable(Telnyx::UacConnectionListParams::Filter::ConnectionName)
|
|
121
|
+
)
|
|
122
|
+
end
|
|
123
|
+
attr_reader :connection_name
|
|
124
|
+
|
|
125
|
+
sig do
|
|
126
|
+
params(
|
|
127
|
+
connection_name:
|
|
128
|
+
Telnyx::UacConnectionListParams::Filter::ConnectionName::OrHash
|
|
129
|
+
).void
|
|
130
|
+
end
|
|
131
|
+
attr_writer :connection_name
|
|
132
|
+
|
|
133
|
+
# If present, connections with an `fqdn` that equals the given value will be
|
|
134
|
+
# returned. Matching is case-sensitive, and the full string must match.
|
|
135
|
+
sig { returns(T.nilable(String)) }
|
|
136
|
+
attr_reader :fqdn
|
|
137
|
+
|
|
138
|
+
sig { params(fqdn: String).void }
|
|
139
|
+
attr_writer :fqdn
|
|
140
|
+
|
|
141
|
+
# Identifies the associated outbound voice profile.
|
|
142
|
+
sig { returns(T.nilable(String)) }
|
|
143
|
+
attr_reader :outbound_voice_profile_id
|
|
144
|
+
|
|
145
|
+
sig { params(outbound_voice_profile_id: String).void }
|
|
146
|
+
attr_writer :outbound_voice_profile_id
|
|
147
|
+
|
|
148
|
+
# Consolidated filter parameter (deepObject style). Originally:
|
|
149
|
+
# filter[connection_name], filter[fqdn], filter[outbound_voice_profile_id],
|
|
150
|
+
# filter[outbound.outbound_voice_profile_id]
|
|
151
|
+
sig do
|
|
152
|
+
params(
|
|
153
|
+
connection_name:
|
|
154
|
+
Telnyx::UacConnectionListParams::Filter::ConnectionName::OrHash,
|
|
155
|
+
fqdn: String,
|
|
156
|
+
outbound_voice_profile_id: String
|
|
157
|
+
).returns(T.attached_class)
|
|
158
|
+
end
|
|
159
|
+
def self.new(
|
|
160
|
+
# Filter by connection_name using nested operations
|
|
161
|
+
connection_name: nil,
|
|
162
|
+
# If present, connections with an `fqdn` that equals the given value will be
|
|
163
|
+
# returned. Matching is case-sensitive, and the full string must match.
|
|
164
|
+
fqdn: nil,
|
|
165
|
+
# Identifies the associated outbound voice profile.
|
|
166
|
+
outbound_voice_profile_id: nil
|
|
167
|
+
)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
{
|
|
173
|
+
connection_name:
|
|
174
|
+
Telnyx::UacConnectionListParams::Filter::ConnectionName,
|
|
175
|
+
fqdn: String,
|
|
176
|
+
outbound_voice_profile_id: String
|
|
177
|
+
}
|
|
178
|
+
)
|
|
179
|
+
end
|
|
180
|
+
def to_hash
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
class ConnectionName < Telnyx::Internal::Type::BaseModel
|
|
184
|
+
OrHash =
|
|
185
|
+
T.type_alias do
|
|
186
|
+
T.any(
|
|
187
|
+
Telnyx::UacConnectionListParams::Filter::ConnectionName,
|
|
188
|
+
Telnyx::Internal::AnyHash
|
|
189
|
+
)
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
# If present, connections with <code>connection_name</code> containing the given
|
|
193
|
+
# value will be returned. Matching is not case-sensitive. Requires at least three
|
|
194
|
+
# characters.
|
|
195
|
+
sig { returns(T.nilable(String)) }
|
|
196
|
+
attr_reader :contains
|
|
197
|
+
|
|
198
|
+
sig { params(contains: String).void }
|
|
199
|
+
attr_writer :contains
|
|
200
|
+
|
|
201
|
+
# Filter by connection_name using nested operations
|
|
202
|
+
sig { params(contains: String).returns(T.attached_class) }
|
|
203
|
+
def self.new(
|
|
204
|
+
# If present, connections with <code>connection_name</code> containing the given
|
|
205
|
+
# value will be returned. Matching is not case-sensitive. Requires at least three
|
|
206
|
+
# characters.
|
|
207
|
+
contains: nil
|
|
208
|
+
)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
sig { override.returns({ contains: String }) }
|
|
212
|
+
def to_hash
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
218
|
+
# To have the results sorted in descending order add the <code> -</code>
|
|
219
|
+
# prefix.<br/><br/> That is: <ul>
|
|
220
|
+
#
|
|
221
|
+
# <li>
|
|
222
|
+
# <code>connection_name</code>: sorts the result by the
|
|
223
|
+
# <code>connection_name</code> field in ascending order.
|
|
224
|
+
# </li>
|
|
225
|
+
#
|
|
226
|
+
# <li>
|
|
227
|
+
# <code>-connection_name</code>: sorts the result by the
|
|
228
|
+
# <code>connection_name</code> field in descending order.
|
|
229
|
+
# </li>
|
|
230
|
+
# </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
|
|
231
|
+
module Sort
|
|
232
|
+
extend Telnyx::Internal::Type::Enum
|
|
233
|
+
|
|
234
|
+
TaggedSymbol =
|
|
235
|
+
T.type_alias { T.all(Symbol, Telnyx::UacConnectionListParams::Sort) }
|
|
236
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
237
|
+
|
|
238
|
+
CREATED_AT =
|
|
239
|
+
T.let(
|
|
240
|
+
:created_at,
|
|
241
|
+
Telnyx::UacConnectionListParams::Sort::TaggedSymbol
|
|
242
|
+
)
|
|
243
|
+
CONNECTION_NAME =
|
|
244
|
+
T.let(
|
|
245
|
+
:connection_name,
|
|
246
|
+
Telnyx::UacConnectionListParams::Sort::TaggedSymbol
|
|
247
|
+
)
|
|
248
|
+
ACTIVE =
|
|
249
|
+
T.let(:active, Telnyx::UacConnectionListParams::Sort::TaggedSymbol)
|
|
250
|
+
|
|
251
|
+
sig do
|
|
252
|
+
override.returns(
|
|
253
|
+
T::Array[Telnyx::UacConnectionListParams::Sort::TaggedSymbol]
|
|
254
|
+
)
|
|
255
|
+
end
|
|
256
|
+
def self.values
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
end
|
|
261
|
+
end
|