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,143 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::UacConnections#list
|
|
6
|
+
class UacConnectionListParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute filter
|
|
11
|
+
# Consolidated filter parameter (deepObject style). Originally:
|
|
12
|
+
# filter[connection_name], filter[fqdn], filter[outbound_voice_profile_id],
|
|
13
|
+
# filter[outbound.outbound_voice_profile_id]
|
|
14
|
+
#
|
|
15
|
+
# @return [Telnyx::Models::UacConnectionListParams::Filter, nil]
|
|
16
|
+
optional :filter, -> { Telnyx::UacConnectionListParams::Filter }
|
|
17
|
+
|
|
18
|
+
# @!attribute page_number
|
|
19
|
+
#
|
|
20
|
+
# @return [Integer, nil]
|
|
21
|
+
optional :page_number, Integer
|
|
22
|
+
|
|
23
|
+
# @!attribute page_size
|
|
24
|
+
#
|
|
25
|
+
# @return [Integer, nil]
|
|
26
|
+
optional :page_size, Integer
|
|
27
|
+
|
|
28
|
+
# @!attribute sort
|
|
29
|
+
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
30
|
+
# To have the results sorted in descending order add the <code> -</code>
|
|
31
|
+
# prefix.<br/><br/> That is: <ul>
|
|
32
|
+
#
|
|
33
|
+
# <li>
|
|
34
|
+
# <code>connection_name</code>: sorts the result by the
|
|
35
|
+
# <code>connection_name</code> field in ascending order.
|
|
36
|
+
# </li>
|
|
37
|
+
#
|
|
38
|
+
# <li>
|
|
39
|
+
# <code>-connection_name</code>: sorts the result by the
|
|
40
|
+
# <code>connection_name</code> field in descending order.
|
|
41
|
+
# </li>
|
|
42
|
+
# </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
|
|
43
|
+
#
|
|
44
|
+
# @return [Symbol, Telnyx::Models::UacConnectionListParams::Sort, nil]
|
|
45
|
+
optional :sort, enum: -> { Telnyx::UacConnectionListParams::Sort }
|
|
46
|
+
|
|
47
|
+
# @!method initialize(filter: nil, page_number: nil, page_size: nil, sort: nil, request_options: {})
|
|
48
|
+
# Some parameter documentations has been truncated, see
|
|
49
|
+
# {Telnyx::Models::UacConnectionListParams} for more details.
|
|
50
|
+
#
|
|
51
|
+
# @param filter [Telnyx::Models::UacConnectionListParams::Filter] Consolidated filter parameter (deepObject style). Originally:
|
|
52
|
+
# filter[connection\_
|
|
53
|
+
#
|
|
54
|
+
# @param page_number [Integer]
|
|
55
|
+
#
|
|
56
|
+
# @param page_size [Integer]
|
|
57
|
+
#
|
|
58
|
+
# @param sort [Symbol, Telnyx::Models::UacConnectionListParams::Sort] Specifies the sort order for results. By default sorting direction is ascending.
|
|
59
|
+
#
|
|
60
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
61
|
+
|
|
62
|
+
class Filter < Telnyx::Internal::Type::BaseModel
|
|
63
|
+
# @!attribute connection_name
|
|
64
|
+
# Filter by connection_name using nested operations
|
|
65
|
+
#
|
|
66
|
+
# @return [Telnyx::Models::UacConnectionListParams::Filter::ConnectionName, nil]
|
|
67
|
+
optional :connection_name, -> { Telnyx::UacConnectionListParams::Filter::ConnectionName }
|
|
68
|
+
|
|
69
|
+
# @!attribute fqdn
|
|
70
|
+
# If present, connections with an `fqdn` that equals the given value will be
|
|
71
|
+
# returned. Matching is case-sensitive, and the full string must match.
|
|
72
|
+
#
|
|
73
|
+
# @return [String, nil]
|
|
74
|
+
optional :fqdn, String
|
|
75
|
+
|
|
76
|
+
# @!attribute outbound_voice_profile_id
|
|
77
|
+
# Identifies the associated outbound voice profile.
|
|
78
|
+
#
|
|
79
|
+
# @return [String, nil]
|
|
80
|
+
optional :outbound_voice_profile_id, String
|
|
81
|
+
|
|
82
|
+
# @!method initialize(connection_name: nil, fqdn: nil, outbound_voice_profile_id: nil)
|
|
83
|
+
# Some parameter documentations has been truncated, see
|
|
84
|
+
# {Telnyx::Models::UacConnectionListParams::Filter} for more details.
|
|
85
|
+
#
|
|
86
|
+
# Consolidated filter parameter (deepObject style). Originally:
|
|
87
|
+
# filter[connection_name], filter[fqdn], filter[outbound_voice_profile_id],
|
|
88
|
+
# filter[outbound.outbound_voice_profile_id]
|
|
89
|
+
#
|
|
90
|
+
# @param connection_name [Telnyx::Models::UacConnectionListParams::Filter::ConnectionName] Filter by connection_name using nested operations
|
|
91
|
+
#
|
|
92
|
+
# @param fqdn [String] If present, connections with an `fqdn` that equals the given value will be retur
|
|
93
|
+
#
|
|
94
|
+
# @param outbound_voice_profile_id [String] Identifies the associated outbound voice profile.
|
|
95
|
+
|
|
96
|
+
# @see Telnyx::Models::UacConnectionListParams::Filter#connection_name
|
|
97
|
+
class ConnectionName < Telnyx::Internal::Type::BaseModel
|
|
98
|
+
# @!attribute contains
|
|
99
|
+
# If present, connections with <code>connection_name</code> containing the given
|
|
100
|
+
# value will be returned. Matching is not case-sensitive. Requires at least three
|
|
101
|
+
# characters.
|
|
102
|
+
#
|
|
103
|
+
# @return [String, nil]
|
|
104
|
+
optional :contains, String
|
|
105
|
+
|
|
106
|
+
# @!method initialize(contains: nil)
|
|
107
|
+
# Some parameter documentations has been truncated, see
|
|
108
|
+
# {Telnyx::Models::UacConnectionListParams::Filter::ConnectionName} for more
|
|
109
|
+
# details.
|
|
110
|
+
#
|
|
111
|
+
# Filter by connection_name using nested operations
|
|
112
|
+
#
|
|
113
|
+
# @param contains [String] If present, connections with <code>connection_name</code> containing the given v
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Specifies the sort order for results. By default sorting direction is ascending.
|
|
118
|
+
# To have the results sorted in descending order add the <code> -</code>
|
|
119
|
+
# prefix.<br/><br/> That is: <ul>
|
|
120
|
+
#
|
|
121
|
+
# <li>
|
|
122
|
+
# <code>connection_name</code>: sorts the result by the
|
|
123
|
+
# <code>connection_name</code> field in ascending order.
|
|
124
|
+
# </li>
|
|
125
|
+
#
|
|
126
|
+
# <li>
|
|
127
|
+
# <code>-connection_name</code>: sorts the result by the
|
|
128
|
+
# <code>connection_name</code> field in descending order.
|
|
129
|
+
# </li>
|
|
130
|
+
# </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
|
|
131
|
+
module Sort
|
|
132
|
+
extend Telnyx::Internal::Type::Enum
|
|
133
|
+
|
|
134
|
+
CREATED_AT = :created_at
|
|
135
|
+
CONNECTION_NAME = :connection_name
|
|
136
|
+
ACTIVE = :active
|
|
137
|
+
|
|
138
|
+
# @!method self.values
|
|
139
|
+
# @return [Array<Symbol>]
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
end
|