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,112 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
type uac_connection_list_params =
|
|
4
|
+
{
|
|
5
|
+
filter: Telnyx::UacConnectionListParams::Filter,
|
|
6
|
+
page_number: Integer,
|
|
7
|
+
page_size: Integer,
|
|
8
|
+
sort: Telnyx::Models::UacConnectionListParams::sort
|
|
9
|
+
}
|
|
10
|
+
& Telnyx::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class UacConnectionListParams < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_reader filter: Telnyx::UacConnectionListParams::Filter?
|
|
17
|
+
|
|
18
|
+
def filter=: (
|
|
19
|
+
Telnyx::UacConnectionListParams::Filter
|
|
20
|
+
) -> Telnyx::UacConnectionListParams::Filter
|
|
21
|
+
|
|
22
|
+
attr_reader page_number: Integer?
|
|
23
|
+
|
|
24
|
+
def page_number=: (Integer) -> Integer
|
|
25
|
+
|
|
26
|
+
attr_reader page_size: Integer?
|
|
27
|
+
|
|
28
|
+
def page_size=: (Integer) -> Integer
|
|
29
|
+
|
|
30
|
+
attr_reader sort: Telnyx::Models::UacConnectionListParams::sort?
|
|
31
|
+
|
|
32
|
+
def sort=: (
|
|
33
|
+
Telnyx::Models::UacConnectionListParams::sort
|
|
34
|
+
) -> Telnyx::Models::UacConnectionListParams::sort
|
|
35
|
+
|
|
36
|
+
def initialize: (
|
|
37
|
+
?filter: Telnyx::UacConnectionListParams::Filter,
|
|
38
|
+
?page_number: Integer,
|
|
39
|
+
?page_size: Integer,
|
|
40
|
+
?sort: Telnyx::Models::UacConnectionListParams::sort,
|
|
41
|
+
?request_options: Telnyx::request_opts
|
|
42
|
+
) -> void
|
|
43
|
+
|
|
44
|
+
def to_hash: -> {
|
|
45
|
+
filter: Telnyx::UacConnectionListParams::Filter,
|
|
46
|
+
page_number: Integer,
|
|
47
|
+
page_size: Integer,
|
|
48
|
+
sort: Telnyx::Models::UacConnectionListParams::sort,
|
|
49
|
+
request_options: Telnyx::RequestOptions
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type filter =
|
|
53
|
+
{
|
|
54
|
+
connection_name: Telnyx::UacConnectionListParams::Filter::ConnectionName,
|
|
55
|
+
fqdn: String,
|
|
56
|
+
outbound_voice_profile_id: String
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
class Filter < Telnyx::Internal::Type::BaseModel
|
|
60
|
+
attr_reader connection_name: Telnyx::UacConnectionListParams::Filter::ConnectionName?
|
|
61
|
+
|
|
62
|
+
def connection_name=: (
|
|
63
|
+
Telnyx::UacConnectionListParams::Filter::ConnectionName
|
|
64
|
+
) -> Telnyx::UacConnectionListParams::Filter::ConnectionName
|
|
65
|
+
|
|
66
|
+
attr_reader fqdn: String?
|
|
67
|
+
|
|
68
|
+
def fqdn=: (String) -> String
|
|
69
|
+
|
|
70
|
+
attr_reader outbound_voice_profile_id: String?
|
|
71
|
+
|
|
72
|
+
def outbound_voice_profile_id=: (String) -> String
|
|
73
|
+
|
|
74
|
+
def initialize: (
|
|
75
|
+
?connection_name: Telnyx::UacConnectionListParams::Filter::ConnectionName,
|
|
76
|
+
?fqdn: String,
|
|
77
|
+
?outbound_voice_profile_id: String
|
|
78
|
+
) -> void
|
|
79
|
+
|
|
80
|
+
def to_hash: -> {
|
|
81
|
+
connection_name: Telnyx::UacConnectionListParams::Filter::ConnectionName,
|
|
82
|
+
fqdn: String,
|
|
83
|
+
outbound_voice_profile_id: String
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
type connection_name = { contains: String }
|
|
87
|
+
|
|
88
|
+
class ConnectionName < Telnyx::Internal::Type::BaseModel
|
|
89
|
+
attr_reader contains: String?
|
|
90
|
+
|
|
91
|
+
def contains=: (String) -> String
|
|
92
|
+
|
|
93
|
+
def initialize: (?contains: String) -> void
|
|
94
|
+
|
|
95
|
+
def to_hash: -> { contains: String }
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
type sort = :created_at | :connection_name | :active
|
|
100
|
+
|
|
101
|
+
module Sort
|
|
102
|
+
extend Telnyx::Internal::Type::Enum
|
|
103
|
+
|
|
104
|
+
CREATED_AT: :created_at
|
|
105
|
+
CONNECTION_NAME: :connection_name
|
|
106
|
+
ACTIVE: :active
|
|
107
|
+
|
|
108
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnectionListParams::sort]
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|