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,22 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module UacConnections
|
|
4
|
+
type action_check_registration_status_params =
|
|
5
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class ActionCheckRegistrationStatusParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
id: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { id: String, request_options: Telnyx::RequestOptions }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module UacConnections
|
|
4
|
+
type action_check_registration_status_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class ActionCheckRegistrationStatusResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data
|
|
14
|
+
) -> Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
ip_address: String,
|
|
27
|
+
last_registration: String,
|
|
28
|
+
port: Integer,
|
|
29
|
+
record_type: String,
|
|
30
|
+
sip_username: String,
|
|
31
|
+
status: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
32
|
+
transport: String,
|
|
33
|
+
user_agent: String
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
37
|
+
attr_reader ip_address: String?
|
|
38
|
+
|
|
39
|
+
def ip_address=: (String) -> String
|
|
40
|
+
|
|
41
|
+
attr_reader last_registration: String?
|
|
42
|
+
|
|
43
|
+
def last_registration=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader port: Integer?
|
|
46
|
+
|
|
47
|
+
def port=: (Integer) -> Integer
|
|
48
|
+
|
|
49
|
+
attr_reader record_type: String?
|
|
50
|
+
|
|
51
|
+
def record_type=: (String) -> String
|
|
52
|
+
|
|
53
|
+
attr_reader sip_username: String?
|
|
54
|
+
|
|
55
|
+
def sip_username=: (String) -> String
|
|
56
|
+
|
|
57
|
+
attr_reader status: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status?
|
|
58
|
+
|
|
59
|
+
def status=: (
|
|
60
|
+
Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status
|
|
61
|
+
) -> Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status
|
|
62
|
+
|
|
63
|
+
attr_reader transport: String?
|
|
64
|
+
|
|
65
|
+
def transport=: (String) -> String
|
|
66
|
+
|
|
67
|
+
attr_reader user_agent: String?
|
|
68
|
+
|
|
69
|
+
def user_agent=: (String) -> String
|
|
70
|
+
|
|
71
|
+
def initialize: (
|
|
72
|
+
?ip_address: String,
|
|
73
|
+
?last_registration: String,
|
|
74
|
+
?port: Integer,
|
|
75
|
+
?record_type: String,
|
|
76
|
+
?sip_username: String,
|
|
77
|
+
?status: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
78
|
+
?transport: String,
|
|
79
|
+
?user_agent: String
|
|
80
|
+
) -> void
|
|
81
|
+
|
|
82
|
+
def to_hash: -> {
|
|
83
|
+
ip_address: String,
|
|
84
|
+
last_registration: String,
|
|
85
|
+
port: Integer,
|
|
86
|
+
record_type: String,
|
|
87
|
+
sip_username: String,
|
|
88
|
+
status: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
89
|
+
transport: String,
|
|
90
|
+
user_agent: String
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type status =
|
|
94
|
+
:"Not Applicable"
|
|
95
|
+
| :"Not Registered"
|
|
96
|
+
| :Failed
|
|
97
|
+
| :Expired
|
|
98
|
+
| :Registered
|
|
99
|
+
| :Unregistered
|
|
100
|
+
|
|
101
|
+
module Status
|
|
102
|
+
extend Telnyx::Internal::Type::Enum
|
|
103
|
+
|
|
104
|
+
NOT_APPLICABLE: :"Not Applicable"
|
|
105
|
+
NOT_REGISTERED: :"Not Registered"
|
|
106
|
+
FAILED: :Failed
|
|
107
|
+
EXPIRED: :Expired
|
|
108
|
+
REGISTERED: :Registered
|
|
109
|
+
UNREGISTERED: :Unregistered
|
|
110
|
+
|
|
111
|
+
def self?.values: -> ::Array[Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse::Data::status]
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -1569,6 +1569,18 @@ module Telnyx
|
|
|
1569
1569
|
|
|
1570
1570
|
module TransportProtocol = Telnyx::Models::TransportProtocol
|
|
1571
1571
|
|
|
1572
|
+
class UacConnectionCreateParams = Telnyx::Models::UacConnectionCreateParams
|
|
1573
|
+
|
|
1574
|
+
class UacConnectionDeleteParams = Telnyx::Models::UacConnectionDeleteParams
|
|
1575
|
+
|
|
1576
|
+
class UacConnectionListParams = Telnyx::Models::UacConnectionListParams
|
|
1577
|
+
|
|
1578
|
+
class UacConnectionRetrieveParams = Telnyx::Models::UacConnectionRetrieveParams
|
|
1579
|
+
|
|
1580
|
+
module UacConnections = Telnyx::Models::UacConnections
|
|
1581
|
+
|
|
1582
|
+
class UacConnectionUpdateParams = Telnyx::Models::UacConnectionUpdateParams
|
|
1583
|
+
|
|
1572
1584
|
module UnsafeUnwrapWebhookEvent = Telnyx::Models::UnsafeUnwrapWebhookEvent
|
|
1573
1585
|
|
|
1574
1586
|
module UnwrapWebhookEvent = Telnyx::Models::UnwrapWebhookEvent
|
|
@@ -5,7 +5,7 @@ module Telnyx
|
|
|
5
5
|
class CanaryDeploys
|
|
6
6
|
def create: (
|
|
7
7
|
String assistant_id,
|
|
8
|
-
|
|
8
|
+
?rules: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule],
|
|
9
9
|
?request_options: Telnyx::request_opts
|
|
10
10
|
) -> Telnyx::AI::Assistants::CanaryDeployResponse
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@ module Telnyx
|
|
|
16
16
|
|
|
17
17
|
def update: (
|
|
18
18
|
String assistant_id,
|
|
19
|
-
|
|
19
|
+
?rules: ::Array[Telnyx::AI::Assistants::CanaryDeploy::Rule],
|
|
20
20
|
?request_options: Telnyx::request_opts
|
|
21
21
|
) -> Telnyx::AI::Assistants::CanaryDeployResponse
|
|
22
22
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class UacConnections
|
|
4
|
+
class Actions
|
|
5
|
+
def check_registration_status: (
|
|
6
|
+
String id,
|
|
7
|
+
?request_options: Telnyx::request_opts
|
|
8
|
+
) -> Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse
|
|
9
|
+
|
|
10
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class UacConnections
|
|
4
|
+
attr_reader actions: Telnyx::Resources::UacConnections::Actions
|
|
5
|
+
|
|
6
|
+
def create: (
|
|
7
|
+
connection_name: String,
|
|
8
|
+
?active: bool,
|
|
9
|
+
?anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
10
|
+
?android_push_credential_id: String?,
|
|
11
|
+
?call_cost_in_webhooks: bool,
|
|
12
|
+
?default_on_hold_comfort_noise_enabled: bool,
|
|
13
|
+
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
14
|
+
?encode_contact_header_enabled: bool,
|
|
15
|
+
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
16
|
+
?external_uac_settings: Telnyx::UacConnectionCreateParams::ExternalUacSettings,
|
|
17
|
+
?inbound: Telnyx::UacConnectionCreateParams::Inbound,
|
|
18
|
+
?internal_uac_settings: Telnyx::UacConnectionCreateParams::InternalUacSettings,
|
|
19
|
+
?ios_push_credential_id: String?,
|
|
20
|
+
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
21
|
+
?noise_suppression: Telnyx::Models::UacConnectionCreateParams::noise_suppression,
|
|
22
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
23
|
+
?onnet_t38_passthrough_enabled: bool,
|
|
24
|
+
?outbound: Telnyx::UacConnectionCreateParams::Outbound,
|
|
25
|
+
?password: String,
|
|
26
|
+
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
27
|
+
?sip_uri_calling_preference: Telnyx::Models::UacConnectionCreateParams::sip_uri_calling_preference,
|
|
28
|
+
?tags: ::Array[String],
|
|
29
|
+
?user_name: String,
|
|
30
|
+
?webhook_api_version: Telnyx::Models::UacConnectionCreateParams::webhook_api_version,
|
|
31
|
+
?webhook_event_failover_url: String?,
|
|
32
|
+
?webhook_event_url: String,
|
|
33
|
+
?webhook_timeout_secs: Integer?,
|
|
34
|
+
?request_options: Telnyx::request_opts
|
|
35
|
+
) -> Telnyx::Models::UacConnectionCreateResponse
|
|
36
|
+
|
|
37
|
+
def retrieve: (
|
|
38
|
+
String id,
|
|
39
|
+
?request_options: Telnyx::request_opts
|
|
40
|
+
) -> Telnyx::Models::UacConnectionRetrieveResponse
|
|
41
|
+
|
|
42
|
+
def update: (
|
|
43
|
+
String id,
|
|
44
|
+
?active: bool,
|
|
45
|
+
?anchorsite_override: Telnyx::Models::anchorsite_override,
|
|
46
|
+
?android_push_credential_id: String?,
|
|
47
|
+
?call_cost_in_webhooks: bool,
|
|
48
|
+
?connection_name: String,
|
|
49
|
+
?default_on_hold_comfort_noise_enabled: bool,
|
|
50
|
+
?dtmf_type: Telnyx::Models::dtmf_type,
|
|
51
|
+
?encode_contact_header_enabled: bool,
|
|
52
|
+
?encrypted_media: Telnyx::Models::encrypted_media?,
|
|
53
|
+
?external_uac_settings: Telnyx::UacConnectionUpdateParams::ExternalUacSettings,
|
|
54
|
+
?inbound: Telnyx::UacConnectionUpdateParams::Inbound,
|
|
55
|
+
?internal_uac_settings: Telnyx::UacConnectionUpdateParams::InternalUacSettings,
|
|
56
|
+
?ios_push_credential_id: String?,
|
|
57
|
+
?jitter_buffer: Telnyx::ConnectionJitterBuffer,
|
|
58
|
+
?noise_suppression: Telnyx::Models::UacConnectionUpdateParams::noise_suppression,
|
|
59
|
+
?noise_suppression_details: Telnyx::ConnectionNoiseSuppressionDetails,
|
|
60
|
+
?onnet_t38_passthrough_enabled: bool,
|
|
61
|
+
?outbound: Telnyx::UacConnectionUpdateParams::Outbound,
|
|
62
|
+
?password: String,
|
|
63
|
+
?rtcp_settings: Telnyx::ConnectionRtcpSettings,
|
|
64
|
+
?sip_uri_calling_preference: Telnyx::Models::UacConnectionUpdateParams::sip_uri_calling_preference,
|
|
65
|
+
?tags: ::Array[String],
|
|
66
|
+
?user_name: String,
|
|
67
|
+
?webhook_api_version: Telnyx::Models::UacConnectionUpdateParams::webhook_api_version,
|
|
68
|
+
?webhook_event_failover_url: String?,
|
|
69
|
+
?webhook_event_url: String,
|
|
70
|
+
?webhook_timeout_secs: Integer?,
|
|
71
|
+
?request_options: Telnyx::request_opts
|
|
72
|
+
) -> Telnyx::Models::UacConnectionUpdateResponse
|
|
73
|
+
|
|
74
|
+
def list: (
|
|
75
|
+
?filter: Telnyx::UacConnectionListParams::Filter,
|
|
76
|
+
?page_number: Integer,
|
|
77
|
+
?page_size: Integer,
|
|
78
|
+
?sort: Telnyx::Models::UacConnectionListParams::sort,
|
|
79
|
+
?request_options: Telnyx::request_opts
|
|
80
|
+
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::Models::UacConnectionListResponse]
|
|
81
|
+
|
|
82
|
+
def delete: (
|
|
83
|
+
String id,
|
|
84
|
+
?request_options: Telnyx::request_opts
|
|
85
|
+
) -> Telnyx::Models::UacConnectionDeleteResponse
|
|
86
|
+
|
|
87
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.100.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -206,7 +206,6 @@ files:
|
|
|
206
206
|
- lib/telnyx/models/ai/assistants/tool_test_params.rb
|
|
207
207
|
- lib/telnyx/models/ai/assistants/tool_test_response.rb
|
|
208
208
|
- lib/telnyx/models/ai/assistants/update_assistant.rb
|
|
209
|
-
- lib/telnyx/models/ai/assistants/version_config.rb
|
|
210
209
|
- lib/telnyx/models/ai/assistants/version_delete_params.rb
|
|
211
210
|
- lib/telnyx/models/ai/assistants/version_list_params.rb
|
|
212
211
|
- lib/telnyx/models/ai/assistants/version_promote_params.rb
|
|
@@ -2244,6 +2243,18 @@ files:
|
|
|
2244
2243
|
- lib/telnyx/models/transcription.rb
|
|
2245
2244
|
- lib/telnyx/models/transcription_webhook_event.rb
|
|
2246
2245
|
- lib/telnyx/models/transport_protocol.rb
|
|
2246
|
+
- lib/telnyx/models/uac_connection_create_params.rb
|
|
2247
|
+
- lib/telnyx/models/uac_connection_create_response.rb
|
|
2248
|
+
- lib/telnyx/models/uac_connection_delete_params.rb
|
|
2249
|
+
- lib/telnyx/models/uac_connection_delete_response.rb
|
|
2250
|
+
- lib/telnyx/models/uac_connection_list_params.rb
|
|
2251
|
+
- lib/telnyx/models/uac_connection_list_response.rb
|
|
2252
|
+
- lib/telnyx/models/uac_connection_retrieve_params.rb
|
|
2253
|
+
- lib/telnyx/models/uac_connection_retrieve_response.rb
|
|
2254
|
+
- lib/telnyx/models/uac_connection_update_params.rb
|
|
2255
|
+
- lib/telnyx/models/uac_connection_update_response.rb
|
|
2256
|
+
- lib/telnyx/models/uac_connections/action_check_registration_status_params.rb
|
|
2257
|
+
- lib/telnyx/models/uac_connections/action_check_registration_status_response.rb
|
|
2247
2258
|
- lib/telnyx/models/unsafe_unwrap_webhook_event.rb
|
|
2248
2259
|
- lib/telnyx/models/unwrap_webhook_event.rb
|
|
2249
2260
|
- lib/telnyx/models/update_regulatory_requirement.rb
|
|
@@ -2725,6 +2736,8 @@ files:
|
|
|
2725
2736
|
- lib/telnyx/resources/texml_applications.rb
|
|
2726
2737
|
- lib/telnyx/resources/text_to_speech.rb
|
|
2727
2738
|
- lib/telnyx/resources/traffic_policy_profiles.rb
|
|
2739
|
+
- lib/telnyx/resources/uac_connections.rb
|
|
2740
|
+
- lib/telnyx/resources/uac_connections/actions.rb
|
|
2728
2741
|
- lib/telnyx/resources/usage_reports.rb
|
|
2729
2742
|
- lib/telnyx/resources/user_addresses.rb
|
|
2730
2743
|
- lib/telnyx/resources/user_tags.rb
|
|
@@ -2897,7 +2910,6 @@ files:
|
|
|
2897
2910
|
- rbi/telnyx/models/ai/assistants/tool_test_params.rbi
|
|
2898
2911
|
- rbi/telnyx/models/ai/assistants/tool_test_response.rbi
|
|
2899
2912
|
- rbi/telnyx/models/ai/assistants/update_assistant.rbi
|
|
2900
|
-
- rbi/telnyx/models/ai/assistants/version_config.rbi
|
|
2901
2913
|
- rbi/telnyx/models/ai/assistants/version_delete_params.rbi
|
|
2902
2914
|
- rbi/telnyx/models/ai/assistants/version_list_params.rbi
|
|
2903
2915
|
- rbi/telnyx/models/ai/assistants/version_promote_params.rbi
|
|
@@ -4935,6 +4947,18 @@ files:
|
|
|
4935
4947
|
- rbi/telnyx/models/transcription.rbi
|
|
4936
4948
|
- rbi/telnyx/models/transcription_webhook_event.rbi
|
|
4937
4949
|
- rbi/telnyx/models/transport_protocol.rbi
|
|
4950
|
+
- rbi/telnyx/models/uac_connection_create_params.rbi
|
|
4951
|
+
- rbi/telnyx/models/uac_connection_create_response.rbi
|
|
4952
|
+
- rbi/telnyx/models/uac_connection_delete_params.rbi
|
|
4953
|
+
- rbi/telnyx/models/uac_connection_delete_response.rbi
|
|
4954
|
+
- rbi/telnyx/models/uac_connection_list_params.rbi
|
|
4955
|
+
- rbi/telnyx/models/uac_connection_list_response.rbi
|
|
4956
|
+
- rbi/telnyx/models/uac_connection_retrieve_params.rbi
|
|
4957
|
+
- rbi/telnyx/models/uac_connection_retrieve_response.rbi
|
|
4958
|
+
- rbi/telnyx/models/uac_connection_update_params.rbi
|
|
4959
|
+
- rbi/telnyx/models/uac_connection_update_response.rbi
|
|
4960
|
+
- rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi
|
|
4961
|
+
- rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi
|
|
4938
4962
|
- rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi
|
|
4939
4963
|
- rbi/telnyx/models/unwrap_webhook_event.rbi
|
|
4940
4964
|
- rbi/telnyx/models/update_regulatory_requirement.rbi
|
|
@@ -5416,6 +5440,8 @@ files:
|
|
|
5416
5440
|
- rbi/telnyx/resources/texml_applications.rbi
|
|
5417
5441
|
- rbi/telnyx/resources/text_to_speech.rbi
|
|
5418
5442
|
- rbi/telnyx/resources/traffic_policy_profiles.rbi
|
|
5443
|
+
- rbi/telnyx/resources/uac_connections.rbi
|
|
5444
|
+
- rbi/telnyx/resources/uac_connections/actions.rbi
|
|
5419
5445
|
- rbi/telnyx/resources/usage_reports.rbi
|
|
5420
5446
|
- rbi/telnyx/resources/user_addresses.rbi
|
|
5421
5447
|
- rbi/telnyx/resources/user_tags.rbi
|
|
@@ -5579,7 +5605,6 @@ files:
|
|
|
5579
5605
|
- sig/telnyx/models/ai/assistants/tool_test_params.rbs
|
|
5580
5606
|
- sig/telnyx/models/ai/assistants/tool_test_response.rbs
|
|
5581
5607
|
- sig/telnyx/models/ai/assistants/update_assistant.rbs
|
|
5582
|
-
- sig/telnyx/models/ai/assistants/version_config.rbs
|
|
5583
5608
|
- sig/telnyx/models/ai/assistants/version_delete_params.rbs
|
|
5584
5609
|
- sig/telnyx/models/ai/assistants/version_list_params.rbs
|
|
5585
5610
|
- sig/telnyx/models/ai/assistants/version_promote_params.rbs
|
|
@@ -7617,6 +7642,18 @@ files:
|
|
|
7617
7642
|
- sig/telnyx/models/transcription.rbs
|
|
7618
7643
|
- sig/telnyx/models/transcription_webhook_event.rbs
|
|
7619
7644
|
- sig/telnyx/models/transport_protocol.rbs
|
|
7645
|
+
- sig/telnyx/models/uac_connection_create_params.rbs
|
|
7646
|
+
- sig/telnyx/models/uac_connection_create_response.rbs
|
|
7647
|
+
- sig/telnyx/models/uac_connection_delete_params.rbs
|
|
7648
|
+
- sig/telnyx/models/uac_connection_delete_response.rbs
|
|
7649
|
+
- sig/telnyx/models/uac_connection_list_params.rbs
|
|
7650
|
+
- sig/telnyx/models/uac_connection_list_response.rbs
|
|
7651
|
+
- sig/telnyx/models/uac_connection_retrieve_params.rbs
|
|
7652
|
+
- sig/telnyx/models/uac_connection_retrieve_response.rbs
|
|
7653
|
+
- sig/telnyx/models/uac_connection_update_params.rbs
|
|
7654
|
+
- sig/telnyx/models/uac_connection_update_response.rbs
|
|
7655
|
+
- sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs
|
|
7656
|
+
- sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs
|
|
7620
7657
|
- sig/telnyx/models/unsafe_unwrap_webhook_event.rbs
|
|
7621
7658
|
- sig/telnyx/models/unwrap_webhook_event.rbs
|
|
7622
7659
|
- sig/telnyx/models/update_regulatory_requirement.rbs
|
|
@@ -8098,6 +8135,8 @@ files:
|
|
|
8098
8135
|
- sig/telnyx/resources/texml_applications.rbs
|
|
8099
8136
|
- sig/telnyx/resources/text_to_speech.rbs
|
|
8100
8137
|
- sig/telnyx/resources/traffic_policy_profiles.rbs
|
|
8138
|
+
- sig/telnyx/resources/uac_connections.rbs
|
|
8139
|
+
- sig/telnyx/resources/uac_connections/actions.rbs
|
|
8101
8140
|
- sig/telnyx/resources/usage_reports.rbs
|
|
8102
8141
|
- sig/telnyx/resources/user_addresses.rbs
|
|
8103
8142
|
- sig/telnyx/resources/user_tags.rbs
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
module AI
|
|
6
|
-
module Assistants
|
|
7
|
-
class VersionConfig < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
# @!attribute percentage
|
|
9
|
-
# Percentage of traffic for this version [1-99]
|
|
10
|
-
#
|
|
11
|
-
# @return [Float]
|
|
12
|
-
required :percentage, Float
|
|
13
|
-
|
|
14
|
-
# @!attribute version_id
|
|
15
|
-
# Version ID string that references assistant_versions.version_id
|
|
16
|
-
#
|
|
17
|
-
# @return [String]
|
|
18
|
-
required :version_id, String
|
|
19
|
-
|
|
20
|
-
# @!method initialize(percentage:, version_id:)
|
|
21
|
-
# Configuration for a single version in canary deploy.
|
|
22
|
-
#
|
|
23
|
-
# @param percentage [Float] Percentage of traffic for this version [1-99]
|
|
24
|
-
#
|
|
25
|
-
# @param version_id [String] Version ID string that references assistant_versions.version_id
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
module AI
|
|
6
|
-
module Assistants
|
|
7
|
-
class VersionConfig < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
OrHash =
|
|
9
|
-
T.type_alias do
|
|
10
|
-
T.any(
|
|
11
|
-
Telnyx::AI::Assistants::VersionConfig,
|
|
12
|
-
Telnyx::Internal::AnyHash
|
|
13
|
-
)
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
# Percentage of traffic for this version [1-99]
|
|
17
|
-
sig { returns(Float) }
|
|
18
|
-
attr_accessor :percentage
|
|
19
|
-
|
|
20
|
-
# Version ID string that references assistant_versions.version_id
|
|
21
|
-
sig { returns(String) }
|
|
22
|
-
attr_accessor :version_id
|
|
23
|
-
|
|
24
|
-
# Configuration for a single version in canary deploy.
|
|
25
|
-
sig do
|
|
26
|
-
params(percentage: Float, version_id: String).returns(
|
|
27
|
-
T.attached_class
|
|
28
|
-
)
|
|
29
|
-
end
|
|
30
|
-
def self.new(
|
|
31
|
-
# Percentage of traffic for this version [1-99]
|
|
32
|
-
percentage:,
|
|
33
|
-
# Version ID string that references assistant_versions.version_id
|
|
34
|
-
version_id:
|
|
35
|
-
)
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { override.returns({ percentage: Float, version_id: String }) }
|
|
39
|
-
def to_hash
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
module Assistants
|
|
5
|
-
type version_config = { percentage: Float, version_id: String }
|
|
6
|
-
|
|
7
|
-
class VersionConfig < Telnyx::Internal::Type::BaseModel
|
|
8
|
-
attr_accessor percentage: Float
|
|
9
|
-
|
|
10
|
-
attr_accessor version_id: String
|
|
11
|
-
|
|
12
|
-
def initialize: (percentage: Float, version_id: String) -> void
|
|
13
|
-
|
|
14
|
-
def to_hash: -> { percentage: Float, version_id: String }
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|