telnyx 5.99.0 → 5.101.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 +21 -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/ai/chat_create_completion_params.rb +36 -1
- data/lib/telnyx/models/ai/openai/chat_create_completion_params.rb +458 -0
- data/lib/telnyx/models/ai/openai/chat_create_completion_response.rb +12 -0
- data/lib/telnyx/models/ai/openai_list_models_params.rb +16 -0
- data/lib/telnyx/models/ai/openai_list_models_response.rb +52 -0
- 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/ai/chat.rb +9 -2
- data/lib/telnyx/resources/ai/openai/chat.rb +96 -0
- data/lib/telnyx/resources/ai/openai.rb +26 -0
- data/lib/telnyx/resources/ai.rb +7 -5
- 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 +19 -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/ai/chat_create_completion_params.rbi +58 -0
- data/rbi/telnyx/models/ai/openai/chat_create_completion_params.rbi +963 -0
- data/rbi/telnyx/models/ai/openai/chat_create_completion_response.rbi +15 -0
- data/rbi/telnyx/models/ai/openai_list_models_params.rbi +29 -0
- data/rbi/telnyx/models/ai/openai_list_models_response.rbi +96 -0
- 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/ai/chat.rbi +11 -1
- data/rbi/telnyx/resources/ai/openai/chat.rbi +147 -0
- data/rbi/telnyx/resources/ai/openai.rbi +16 -0
- data/rbi/telnyx/resources/ai.rbi +5 -5
- 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/ai/chat_create_completion_params.rbs +26 -0
- data/sig/telnyx/models/ai/openai/chat_create_completion_params.rbs +434 -0
- data/sig/telnyx/models/ai/openai/chat_create_completion_response.rbs +11 -0
- data/sig/telnyx/models/ai/openai_list_models_params.rbs +17 -0
- data/sig/telnyx/models/ai/openai_list_models_response.rbs +58 -0
- 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/ai/chat.rbs +2 -0
- data/sig/telnyx/resources/ai/openai/chat.rbs +41 -0
- data/sig/telnyx/resources/ai/openai.rbs +6 -0
- data/sig/telnyx/resources/uac_connections/actions.rbs +14 -0
- data/sig/telnyx/resources/uac_connections.rbs +90 -0
- metadata +59 -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
|
|
|
@@ -20,6 +20,8 @@ module Telnyx
|
|
|
20
20
|
?n: Float,
|
|
21
21
|
?presence_penalty: Float,
|
|
22
22
|
?response_format: Telnyx::AI::ChatCreateCompletionParams::ResponseFormat,
|
|
23
|
+
?seed: Integer,
|
|
24
|
+
?stop: Telnyx::Models::AI::ChatCreateCompletionParams::stop,
|
|
23
25
|
?stream: bool,
|
|
24
26
|
?temperature: Float,
|
|
25
27
|
?tool_choice: Telnyx::Models::AI::ChatCreateCompletionParams::tool_choice,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Resources
|
|
3
|
+
class AI
|
|
4
|
+
class OpenAI
|
|
5
|
+
class Chat
|
|
6
|
+
def create_completion: (
|
|
7
|
+
messages: ::Array[Telnyx::AI::OpenAI::ChatCreateCompletionParams::Message],
|
|
8
|
+
?api_key_ref: String,
|
|
9
|
+
?best_of: Integer,
|
|
10
|
+
?early_stopping: bool,
|
|
11
|
+
?enable_thinking: bool,
|
|
12
|
+
?frequency_penalty: Float,
|
|
13
|
+
?guided_choice: ::Array[String],
|
|
14
|
+
?guided_json: ::Hash[Symbol, top],
|
|
15
|
+
?guided_regex: String,
|
|
16
|
+
?length_penalty: Float,
|
|
17
|
+
?logprobs: bool,
|
|
18
|
+
?max_tokens: Integer,
|
|
19
|
+
?min_p: Float,
|
|
20
|
+
?model: String,
|
|
21
|
+
?n: Float,
|
|
22
|
+
?presence_penalty: Float,
|
|
23
|
+
?response_format: Telnyx::AI::OpenAI::ChatCreateCompletionParams::ResponseFormat,
|
|
24
|
+
?seed: Integer,
|
|
25
|
+
?stop: Telnyx::Models::AI::OpenAI::ChatCreateCompletionParams::stop,
|
|
26
|
+
?stream: bool,
|
|
27
|
+
?temperature: Float,
|
|
28
|
+
?tool_choice: Telnyx::Models::AI::OpenAI::ChatCreateCompletionParams::tool_choice,
|
|
29
|
+
?tools: ::Array[Telnyx::Models::AI::OpenAI::ChatCreateCompletionParams::tool],
|
|
30
|
+
?top_logprobs: Integer,
|
|
31
|
+
?top_p: Float,
|
|
32
|
+
?use_beam_search: bool,
|
|
33
|
+
?request_options: Telnyx::request_opts
|
|
34
|
+
) -> Telnyx::Models::AI::OpenAI::chat_create_completion_response
|
|
35
|
+
|
|
36
|
+
def initialize: (client: Telnyx::Client) -> void
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -4,6 +4,12 @@ module Telnyx
|
|
|
4
4
|
class OpenAI
|
|
5
5
|
attr_reader embeddings: Telnyx::Resources::AI::OpenAI::Embeddings
|
|
6
6
|
|
|
7
|
+
attr_reader chat: Telnyx::Resources::AI::OpenAI::Chat
|
|
8
|
+
|
|
9
|
+
def list_models: (
|
|
10
|
+
?request_options: Telnyx::request_opts
|
|
11
|
+
) -> Telnyx::Models::AI::OpenAIListModelsResponse
|
|
12
|
+
|
|
7
13
|
def initialize: (client: Telnyx::Client) -> void
|
|
8
14
|
end
|
|
9
15
|
end
|
|
@@ -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.101.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-07 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
|
|
@@ -388,10 +387,14 @@ files:
|
|
|
388
387
|
- lib/telnyx/models/ai/missions/tool_update_tool_response.rb
|
|
389
388
|
- lib/telnyx/models/ai/observability.rb
|
|
390
389
|
- lib/telnyx/models/ai/observability_req.rb
|
|
390
|
+
- lib/telnyx/models/ai/openai/chat_create_completion_params.rb
|
|
391
|
+
- lib/telnyx/models/ai/openai/chat_create_completion_response.rb
|
|
391
392
|
- lib/telnyx/models/ai/openai/embedding_create_embeddings_params.rb
|
|
392
393
|
- lib/telnyx/models/ai/openai/embedding_create_embeddings_response.rb
|
|
393
394
|
- lib/telnyx/models/ai/openai/embedding_list_embedding_models_params.rb
|
|
394
395
|
- lib/telnyx/models/ai/openai/embedding_list_embedding_models_response.rb
|
|
396
|
+
- lib/telnyx/models/ai/openai_list_models_params.rb
|
|
397
|
+
- lib/telnyx/models/ai/openai_list_models_response.rb
|
|
395
398
|
- lib/telnyx/models/ai/post_conversation_settings.rb
|
|
396
399
|
- lib/telnyx/models/ai/post_conversation_settings_req.rb
|
|
397
400
|
- lib/telnyx/models/ai/privacy_settings.rb
|
|
@@ -2244,6 +2247,18 @@ files:
|
|
|
2244
2247
|
- lib/telnyx/models/transcription.rb
|
|
2245
2248
|
- lib/telnyx/models/transcription_webhook_event.rb
|
|
2246
2249
|
- lib/telnyx/models/transport_protocol.rb
|
|
2250
|
+
- lib/telnyx/models/uac_connection_create_params.rb
|
|
2251
|
+
- lib/telnyx/models/uac_connection_create_response.rb
|
|
2252
|
+
- lib/telnyx/models/uac_connection_delete_params.rb
|
|
2253
|
+
- lib/telnyx/models/uac_connection_delete_response.rb
|
|
2254
|
+
- lib/telnyx/models/uac_connection_list_params.rb
|
|
2255
|
+
- lib/telnyx/models/uac_connection_list_response.rb
|
|
2256
|
+
- lib/telnyx/models/uac_connection_retrieve_params.rb
|
|
2257
|
+
- lib/telnyx/models/uac_connection_retrieve_response.rb
|
|
2258
|
+
- lib/telnyx/models/uac_connection_update_params.rb
|
|
2259
|
+
- lib/telnyx/models/uac_connection_update_response.rb
|
|
2260
|
+
- lib/telnyx/models/uac_connections/action_check_registration_status_params.rb
|
|
2261
|
+
- lib/telnyx/models/uac_connections/action_check_registration_status_response.rb
|
|
2247
2262
|
- lib/telnyx/models/unsafe_unwrap_webhook_event.rb
|
|
2248
2263
|
- lib/telnyx/models/unwrap_webhook_event.rb
|
|
2249
2264
|
- lib/telnyx/models/update_regulatory_requirement.rb
|
|
@@ -2484,6 +2499,7 @@ files:
|
|
|
2484
2499
|
- lib/telnyx/resources/ai/missions/runs/telnyx_agents.rb
|
|
2485
2500
|
- lib/telnyx/resources/ai/missions/tools.rb
|
|
2486
2501
|
- lib/telnyx/resources/ai/openai.rb
|
|
2502
|
+
- lib/telnyx/resources/ai/openai/chat.rb
|
|
2487
2503
|
- lib/telnyx/resources/ai/openai/embeddings.rb
|
|
2488
2504
|
- lib/telnyx/resources/ai/tools.rb
|
|
2489
2505
|
- lib/telnyx/resources/alphanumeric_sender_ids.rb
|
|
@@ -2725,6 +2741,8 @@ files:
|
|
|
2725
2741
|
- lib/telnyx/resources/texml_applications.rb
|
|
2726
2742
|
- lib/telnyx/resources/text_to_speech.rb
|
|
2727
2743
|
- lib/telnyx/resources/traffic_policy_profiles.rb
|
|
2744
|
+
- lib/telnyx/resources/uac_connections.rb
|
|
2745
|
+
- lib/telnyx/resources/uac_connections/actions.rb
|
|
2728
2746
|
- lib/telnyx/resources/usage_reports.rb
|
|
2729
2747
|
- lib/telnyx/resources/user_addresses.rb
|
|
2730
2748
|
- lib/telnyx/resources/user_tags.rb
|
|
@@ -2897,7 +2915,6 @@ files:
|
|
|
2897
2915
|
- rbi/telnyx/models/ai/assistants/tool_test_params.rbi
|
|
2898
2916
|
- rbi/telnyx/models/ai/assistants/tool_test_response.rbi
|
|
2899
2917
|
- rbi/telnyx/models/ai/assistants/update_assistant.rbi
|
|
2900
|
-
- rbi/telnyx/models/ai/assistants/version_config.rbi
|
|
2901
2918
|
- rbi/telnyx/models/ai/assistants/version_delete_params.rbi
|
|
2902
2919
|
- rbi/telnyx/models/ai/assistants/version_list_params.rbi
|
|
2903
2920
|
- rbi/telnyx/models/ai/assistants/version_promote_params.rbi
|
|
@@ -3079,10 +3096,14 @@ files:
|
|
|
3079
3096
|
- rbi/telnyx/models/ai/missions/tool_update_tool_response.rbi
|
|
3080
3097
|
- rbi/telnyx/models/ai/observability.rbi
|
|
3081
3098
|
- rbi/telnyx/models/ai/observability_req.rbi
|
|
3099
|
+
- rbi/telnyx/models/ai/openai/chat_create_completion_params.rbi
|
|
3100
|
+
- rbi/telnyx/models/ai/openai/chat_create_completion_response.rbi
|
|
3082
3101
|
- rbi/telnyx/models/ai/openai/embedding_create_embeddings_params.rbi
|
|
3083
3102
|
- rbi/telnyx/models/ai/openai/embedding_create_embeddings_response.rbi
|
|
3084
3103
|
- rbi/telnyx/models/ai/openai/embedding_list_embedding_models_params.rbi
|
|
3085
3104
|
- rbi/telnyx/models/ai/openai/embedding_list_embedding_models_response.rbi
|
|
3105
|
+
- rbi/telnyx/models/ai/openai_list_models_params.rbi
|
|
3106
|
+
- rbi/telnyx/models/ai/openai_list_models_response.rbi
|
|
3086
3107
|
- rbi/telnyx/models/ai/post_conversation_settings.rbi
|
|
3087
3108
|
- rbi/telnyx/models/ai/post_conversation_settings_req.rbi
|
|
3088
3109
|
- rbi/telnyx/models/ai/privacy_settings.rbi
|
|
@@ -4935,6 +4956,18 @@ files:
|
|
|
4935
4956
|
- rbi/telnyx/models/transcription.rbi
|
|
4936
4957
|
- rbi/telnyx/models/transcription_webhook_event.rbi
|
|
4937
4958
|
- rbi/telnyx/models/transport_protocol.rbi
|
|
4959
|
+
- rbi/telnyx/models/uac_connection_create_params.rbi
|
|
4960
|
+
- rbi/telnyx/models/uac_connection_create_response.rbi
|
|
4961
|
+
- rbi/telnyx/models/uac_connection_delete_params.rbi
|
|
4962
|
+
- rbi/telnyx/models/uac_connection_delete_response.rbi
|
|
4963
|
+
- rbi/telnyx/models/uac_connection_list_params.rbi
|
|
4964
|
+
- rbi/telnyx/models/uac_connection_list_response.rbi
|
|
4965
|
+
- rbi/telnyx/models/uac_connection_retrieve_params.rbi
|
|
4966
|
+
- rbi/telnyx/models/uac_connection_retrieve_response.rbi
|
|
4967
|
+
- rbi/telnyx/models/uac_connection_update_params.rbi
|
|
4968
|
+
- rbi/telnyx/models/uac_connection_update_response.rbi
|
|
4969
|
+
- rbi/telnyx/models/uac_connections/action_check_registration_status_params.rbi
|
|
4970
|
+
- rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi
|
|
4938
4971
|
- rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi
|
|
4939
4972
|
- rbi/telnyx/models/unwrap_webhook_event.rbi
|
|
4940
4973
|
- rbi/telnyx/models/update_regulatory_requirement.rbi
|
|
@@ -5175,6 +5208,7 @@ files:
|
|
|
5175
5208
|
- rbi/telnyx/resources/ai/missions/runs/telnyx_agents.rbi
|
|
5176
5209
|
- rbi/telnyx/resources/ai/missions/tools.rbi
|
|
5177
5210
|
- rbi/telnyx/resources/ai/openai.rbi
|
|
5211
|
+
- rbi/telnyx/resources/ai/openai/chat.rbi
|
|
5178
5212
|
- rbi/telnyx/resources/ai/openai/embeddings.rbi
|
|
5179
5213
|
- rbi/telnyx/resources/ai/tools.rbi
|
|
5180
5214
|
- rbi/telnyx/resources/alphanumeric_sender_ids.rbi
|
|
@@ -5416,6 +5450,8 @@ files:
|
|
|
5416
5450
|
- rbi/telnyx/resources/texml_applications.rbi
|
|
5417
5451
|
- rbi/telnyx/resources/text_to_speech.rbi
|
|
5418
5452
|
- rbi/telnyx/resources/traffic_policy_profiles.rbi
|
|
5453
|
+
- rbi/telnyx/resources/uac_connections.rbi
|
|
5454
|
+
- rbi/telnyx/resources/uac_connections/actions.rbi
|
|
5419
5455
|
- rbi/telnyx/resources/usage_reports.rbi
|
|
5420
5456
|
- rbi/telnyx/resources/user_addresses.rbi
|
|
5421
5457
|
- rbi/telnyx/resources/user_tags.rbi
|
|
@@ -5579,7 +5615,6 @@ files:
|
|
|
5579
5615
|
- sig/telnyx/models/ai/assistants/tool_test_params.rbs
|
|
5580
5616
|
- sig/telnyx/models/ai/assistants/tool_test_response.rbs
|
|
5581
5617
|
- sig/telnyx/models/ai/assistants/update_assistant.rbs
|
|
5582
|
-
- sig/telnyx/models/ai/assistants/version_config.rbs
|
|
5583
5618
|
- sig/telnyx/models/ai/assistants/version_delete_params.rbs
|
|
5584
5619
|
- sig/telnyx/models/ai/assistants/version_list_params.rbs
|
|
5585
5620
|
- sig/telnyx/models/ai/assistants/version_promote_params.rbs
|
|
@@ -5761,10 +5796,14 @@ files:
|
|
|
5761
5796
|
- sig/telnyx/models/ai/missions/tool_update_tool_response.rbs
|
|
5762
5797
|
- sig/telnyx/models/ai/observability.rbs
|
|
5763
5798
|
- sig/telnyx/models/ai/observability_req.rbs
|
|
5799
|
+
- sig/telnyx/models/ai/openai/chat_create_completion_params.rbs
|
|
5800
|
+
- sig/telnyx/models/ai/openai/chat_create_completion_response.rbs
|
|
5764
5801
|
- sig/telnyx/models/ai/openai/embedding_create_embeddings_params.rbs
|
|
5765
5802
|
- sig/telnyx/models/ai/openai/embedding_create_embeddings_response.rbs
|
|
5766
5803
|
- sig/telnyx/models/ai/openai/embedding_list_embedding_models_params.rbs
|
|
5767
5804
|
- sig/telnyx/models/ai/openai/embedding_list_embedding_models_response.rbs
|
|
5805
|
+
- sig/telnyx/models/ai/openai_list_models_params.rbs
|
|
5806
|
+
- sig/telnyx/models/ai/openai_list_models_response.rbs
|
|
5768
5807
|
- sig/telnyx/models/ai/post_conversation_settings.rbs
|
|
5769
5808
|
- sig/telnyx/models/ai/post_conversation_settings_req.rbs
|
|
5770
5809
|
- sig/telnyx/models/ai/privacy_settings.rbs
|
|
@@ -7617,6 +7656,18 @@ files:
|
|
|
7617
7656
|
- sig/telnyx/models/transcription.rbs
|
|
7618
7657
|
- sig/telnyx/models/transcription_webhook_event.rbs
|
|
7619
7658
|
- sig/telnyx/models/transport_protocol.rbs
|
|
7659
|
+
- sig/telnyx/models/uac_connection_create_params.rbs
|
|
7660
|
+
- sig/telnyx/models/uac_connection_create_response.rbs
|
|
7661
|
+
- sig/telnyx/models/uac_connection_delete_params.rbs
|
|
7662
|
+
- sig/telnyx/models/uac_connection_delete_response.rbs
|
|
7663
|
+
- sig/telnyx/models/uac_connection_list_params.rbs
|
|
7664
|
+
- sig/telnyx/models/uac_connection_list_response.rbs
|
|
7665
|
+
- sig/telnyx/models/uac_connection_retrieve_params.rbs
|
|
7666
|
+
- sig/telnyx/models/uac_connection_retrieve_response.rbs
|
|
7667
|
+
- sig/telnyx/models/uac_connection_update_params.rbs
|
|
7668
|
+
- sig/telnyx/models/uac_connection_update_response.rbs
|
|
7669
|
+
- sig/telnyx/models/uac_connections/action_check_registration_status_params.rbs
|
|
7670
|
+
- sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs
|
|
7620
7671
|
- sig/telnyx/models/unsafe_unwrap_webhook_event.rbs
|
|
7621
7672
|
- sig/telnyx/models/unwrap_webhook_event.rbs
|
|
7622
7673
|
- sig/telnyx/models/update_regulatory_requirement.rbs
|
|
@@ -7857,6 +7908,7 @@ files:
|
|
|
7857
7908
|
- sig/telnyx/resources/ai/missions/runs/telnyx_agents.rbs
|
|
7858
7909
|
- sig/telnyx/resources/ai/missions/tools.rbs
|
|
7859
7910
|
- sig/telnyx/resources/ai/openai.rbs
|
|
7911
|
+
- sig/telnyx/resources/ai/openai/chat.rbs
|
|
7860
7912
|
- sig/telnyx/resources/ai/openai/embeddings.rbs
|
|
7861
7913
|
- sig/telnyx/resources/ai/tools.rbs
|
|
7862
7914
|
- sig/telnyx/resources/alphanumeric_sender_ids.rbs
|
|
@@ -8098,6 +8150,8 @@ files:
|
|
|
8098
8150
|
- sig/telnyx/resources/texml_applications.rbs
|
|
8099
8151
|
- sig/telnyx/resources/text_to_speech.rbs
|
|
8100
8152
|
- sig/telnyx/resources/traffic_policy_profiles.rbs
|
|
8153
|
+
- sig/telnyx/resources/uac_connections.rbs
|
|
8154
|
+
- sig/telnyx/resources/uac_connections/actions.rbs
|
|
8101
8155
|
- sig/telnyx/resources/usage_reports.rbs
|
|
8102
8156
|
- sig/telnyx/resources/user_addresses.rbs
|
|
8103
8157
|
- 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
|