telnyx 5.98.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 +21 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +5 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -231
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -231
- 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/assistants/update_assistant.rb +9 -236
- data/lib/telnyx/models/ai/external_llm.rb +89 -0
- data/lib/telnyx/models/ai/external_llm_req.rb +89 -0
- data/lib/telnyx/models/ai/fallback_config.rb +37 -0
- data/lib/telnyx/models/ai/fallback_config_req.rb +37 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -234
- data/lib/telnyx/models/ai/post_conversation_settings.rb +30 -0
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +30 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +26 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +26 -3
- data/lib/telnyx/models/conferences/action_speak_params.rb +26 -3
- 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/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- 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 +20 -1
- data/rbi/telnyx/client.rbi +4 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -463
- 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/assistants/update_assistant.rbi +12 -469
- data/rbi/telnyx/models/ai/external_llm.rbi +161 -0
- data/rbi/telnyx/models/ai/external_llm_req.rbi +161 -0
- data/rbi/telnyx/models/ai/fallback_config.rbi +64 -0
- data/rbi/telnyx/models/ai/fallback_config_req.rbi +64 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -460
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +45 -0
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +45 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +50 -5
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +50 -5
- 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/assistants/versions.rbi +3 -5
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +16 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -1
- 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/assistant_create_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -205
- 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/assistants/update_assistant.rbs +18 -205
- data/sig/telnyx/models/ai/external_llm.rbs +75 -0
- data/sig/telnyx/models/ai/external_llm_req.rbs +75 -0
- data/sig/telnyx/models/ai/fallback_config.rbs +38 -0
- data/sig/telnyx/models/ai/fallback_config_req.rbs +40 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +17 -206
- data/sig/telnyx/models/ai/post_conversation_settings.rbs +17 -0
- data/sig/telnyx/models/ai/post_conversation_settings_req.rbs +17 -0
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -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/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- data/sig/telnyx/resources/uac_connections/actions.rbs +14 -0
- data/sig/telnyx/resources/uac_connections.rbs +90 -0
- metadata +62 -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
|
|
|
@@ -18,8 +18,8 @@ module Telnyx
|
|
|
18
18
|
?dynamic_variables_webhook_timeout_ms: Integer,
|
|
19
19
|
?dynamic_variables_webhook_url: String,
|
|
20
20
|
?enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
21
|
-
?external_llm: Telnyx::AI::
|
|
22
|
-
?fallback_config: Telnyx::AI::
|
|
21
|
+
?external_llm: Telnyx::AI::ExternalLlmReq,
|
|
22
|
+
?fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
23
23
|
?greeting: String,
|
|
24
24
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
25
25
|
?instructions: String,
|
|
@@ -31,7 +31,7 @@ module Telnyx
|
|
|
31
31
|
?model: String,
|
|
32
32
|
?name: String,
|
|
33
33
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
34
|
-
?post_conversation_settings: Telnyx::AI::
|
|
34
|
+
?post_conversation_settings: Telnyx::AI::PostConversationSettingsReq,
|
|
35
35
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
36
36
|
?tags: ::Array[String],
|
|
37
37
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -22,8 +22,8 @@ module Telnyx
|
|
|
22
22
|
?dynamic_variables_webhook_timeout_ms: Integer,
|
|
23
23
|
?dynamic_variables_webhook_url: String,
|
|
24
24
|
?enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
25
|
-
?external_llm: Telnyx::AI::
|
|
26
|
-
?fallback_config: Telnyx::AI::
|
|
25
|
+
?external_llm: Telnyx::AI::ExternalLlmReq,
|
|
26
|
+
?fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
27
27
|
?greeting: String,
|
|
28
28
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
29
29
|
?integrations: ::Array[Telnyx::AI::AssistantCreateParams::Integration],
|
|
@@ -33,7 +33,7 @@ module Telnyx
|
|
|
33
33
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
34
34
|
?model: String,
|
|
35
35
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
36
|
-
?post_conversation_settings: Telnyx::AI::
|
|
36
|
+
?post_conversation_settings: Telnyx::AI::PostConversationSettingsReq,
|
|
37
37
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
38
38
|
?tags: ::Array[String],
|
|
39
39
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -61,8 +61,8 @@ module Telnyx
|
|
|
61
61
|
?dynamic_variables_webhook_timeout_ms: Integer,
|
|
62
62
|
?dynamic_variables_webhook_url: String,
|
|
63
63
|
?enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
64
|
-
?external_llm: Telnyx::AI::
|
|
65
|
-
?fallback_config: Telnyx::AI::
|
|
64
|
+
?external_llm: Telnyx::AI::ExternalLlmReq,
|
|
65
|
+
?fallback_config: Telnyx::AI::FallbackConfigReq,
|
|
66
66
|
?greeting: String,
|
|
67
67
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
68
68
|
?instructions: String,
|
|
@@ -74,7 +74,7 @@ module Telnyx
|
|
|
74
74
|
?model: String,
|
|
75
75
|
?name: String,
|
|
76
76
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
77
|
-
?post_conversation_settings: Telnyx::AI::
|
|
77
|
+
?post_conversation_settings: Telnyx::AI::PostConversationSettingsReq,
|
|
78
78
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
79
79
|
?promote_to_main: bool,
|
|
80
80
|
?tags: ::Array[String],
|
|
@@ -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
|
|
@@ -273,6 +272,10 @@ files:
|
|
|
273
272
|
- lib/telnyx/models/ai/embeddings/bucket_retrieve_params.rb
|
|
274
273
|
- lib/telnyx/models/ai/embeddings/bucket_retrieve_response.rb
|
|
275
274
|
- lib/telnyx/models/ai/enabled_features.rb
|
|
275
|
+
- lib/telnyx/models/ai/external_llm.rb
|
|
276
|
+
- lib/telnyx/models/ai/external_llm_req.rb
|
|
277
|
+
- lib/telnyx/models/ai/fallback_config.rb
|
|
278
|
+
- lib/telnyx/models/ai/fallback_config_req.rb
|
|
276
279
|
- lib/telnyx/models/ai/fine_tuning/fine_tuning_job.rb
|
|
277
280
|
- lib/telnyx/models/ai/fine_tuning/job_cancel_params.rb
|
|
278
281
|
- lib/telnyx/models/ai/fine_tuning/job_create_params.rb
|
|
@@ -388,6 +391,8 @@ files:
|
|
|
388
391
|
- lib/telnyx/models/ai/openai/embedding_create_embeddings_response.rb
|
|
389
392
|
- lib/telnyx/models/ai/openai/embedding_list_embedding_models_params.rb
|
|
390
393
|
- lib/telnyx/models/ai/openai/embedding_list_embedding_models_response.rb
|
|
394
|
+
- lib/telnyx/models/ai/post_conversation_settings.rb
|
|
395
|
+
- lib/telnyx/models/ai/post_conversation_settings_req.rb
|
|
391
396
|
- lib/telnyx/models/ai/privacy_settings.rb
|
|
392
397
|
- lib/telnyx/models/ai/recursive_cluster.rb
|
|
393
398
|
- lib/telnyx/models/ai/retrieval_tool.rb
|
|
@@ -2238,6 +2243,18 @@ files:
|
|
|
2238
2243
|
- lib/telnyx/models/transcription.rb
|
|
2239
2244
|
- lib/telnyx/models/transcription_webhook_event.rb
|
|
2240
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
|
|
2241
2258
|
- lib/telnyx/models/unsafe_unwrap_webhook_event.rb
|
|
2242
2259
|
- lib/telnyx/models/unwrap_webhook_event.rb
|
|
2243
2260
|
- lib/telnyx/models/update_regulatory_requirement.rb
|
|
@@ -2719,6 +2736,8 @@ files:
|
|
|
2719
2736
|
- lib/telnyx/resources/texml_applications.rb
|
|
2720
2737
|
- lib/telnyx/resources/text_to_speech.rb
|
|
2721
2738
|
- lib/telnyx/resources/traffic_policy_profiles.rb
|
|
2739
|
+
- lib/telnyx/resources/uac_connections.rb
|
|
2740
|
+
- lib/telnyx/resources/uac_connections/actions.rb
|
|
2722
2741
|
- lib/telnyx/resources/usage_reports.rb
|
|
2723
2742
|
- lib/telnyx/resources/user_addresses.rb
|
|
2724
2743
|
- lib/telnyx/resources/user_tags.rb
|
|
@@ -2891,7 +2910,6 @@ files:
|
|
|
2891
2910
|
- rbi/telnyx/models/ai/assistants/tool_test_params.rbi
|
|
2892
2911
|
- rbi/telnyx/models/ai/assistants/tool_test_response.rbi
|
|
2893
2912
|
- rbi/telnyx/models/ai/assistants/update_assistant.rbi
|
|
2894
|
-
- rbi/telnyx/models/ai/assistants/version_config.rbi
|
|
2895
2913
|
- rbi/telnyx/models/ai/assistants/version_delete_params.rbi
|
|
2896
2914
|
- rbi/telnyx/models/ai/assistants/version_list_params.rbi
|
|
2897
2915
|
- rbi/telnyx/models/ai/assistants/version_promote_params.rbi
|
|
@@ -2958,6 +2976,10 @@ files:
|
|
|
2958
2976
|
- rbi/telnyx/models/ai/embeddings/bucket_retrieve_params.rbi
|
|
2959
2977
|
- rbi/telnyx/models/ai/embeddings/bucket_retrieve_response.rbi
|
|
2960
2978
|
- rbi/telnyx/models/ai/enabled_features.rbi
|
|
2979
|
+
- rbi/telnyx/models/ai/external_llm.rbi
|
|
2980
|
+
- rbi/telnyx/models/ai/external_llm_req.rbi
|
|
2981
|
+
- rbi/telnyx/models/ai/fallback_config.rbi
|
|
2982
|
+
- rbi/telnyx/models/ai/fallback_config_req.rbi
|
|
2961
2983
|
- rbi/telnyx/models/ai/fine_tuning/fine_tuning_job.rbi
|
|
2962
2984
|
- rbi/telnyx/models/ai/fine_tuning/job_cancel_params.rbi
|
|
2963
2985
|
- rbi/telnyx/models/ai/fine_tuning/job_create_params.rbi
|
|
@@ -3073,6 +3095,8 @@ files:
|
|
|
3073
3095
|
- rbi/telnyx/models/ai/openai/embedding_create_embeddings_response.rbi
|
|
3074
3096
|
- rbi/telnyx/models/ai/openai/embedding_list_embedding_models_params.rbi
|
|
3075
3097
|
- rbi/telnyx/models/ai/openai/embedding_list_embedding_models_response.rbi
|
|
3098
|
+
- rbi/telnyx/models/ai/post_conversation_settings.rbi
|
|
3099
|
+
- rbi/telnyx/models/ai/post_conversation_settings_req.rbi
|
|
3076
3100
|
- rbi/telnyx/models/ai/privacy_settings.rbi
|
|
3077
3101
|
- rbi/telnyx/models/ai/recursive_cluster.rbi
|
|
3078
3102
|
- rbi/telnyx/models/ai/retrieval_tool.rbi
|
|
@@ -4923,6 +4947,18 @@ files:
|
|
|
4923
4947
|
- rbi/telnyx/models/transcription.rbi
|
|
4924
4948
|
- rbi/telnyx/models/transcription_webhook_event.rbi
|
|
4925
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
|
|
4926
4962
|
- rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi
|
|
4927
4963
|
- rbi/telnyx/models/unwrap_webhook_event.rbi
|
|
4928
4964
|
- rbi/telnyx/models/update_regulatory_requirement.rbi
|
|
@@ -5404,6 +5440,8 @@ files:
|
|
|
5404
5440
|
- rbi/telnyx/resources/texml_applications.rbi
|
|
5405
5441
|
- rbi/telnyx/resources/text_to_speech.rbi
|
|
5406
5442
|
- rbi/telnyx/resources/traffic_policy_profiles.rbi
|
|
5443
|
+
- rbi/telnyx/resources/uac_connections.rbi
|
|
5444
|
+
- rbi/telnyx/resources/uac_connections/actions.rbi
|
|
5407
5445
|
- rbi/telnyx/resources/usage_reports.rbi
|
|
5408
5446
|
- rbi/telnyx/resources/user_addresses.rbi
|
|
5409
5447
|
- rbi/telnyx/resources/user_tags.rbi
|
|
@@ -5567,7 +5605,6 @@ files:
|
|
|
5567
5605
|
- sig/telnyx/models/ai/assistants/tool_test_params.rbs
|
|
5568
5606
|
- sig/telnyx/models/ai/assistants/tool_test_response.rbs
|
|
5569
5607
|
- sig/telnyx/models/ai/assistants/update_assistant.rbs
|
|
5570
|
-
- sig/telnyx/models/ai/assistants/version_config.rbs
|
|
5571
5608
|
- sig/telnyx/models/ai/assistants/version_delete_params.rbs
|
|
5572
5609
|
- sig/telnyx/models/ai/assistants/version_list_params.rbs
|
|
5573
5610
|
- sig/telnyx/models/ai/assistants/version_promote_params.rbs
|
|
@@ -5634,6 +5671,10 @@ files:
|
|
|
5634
5671
|
- sig/telnyx/models/ai/embeddings/bucket_retrieve_params.rbs
|
|
5635
5672
|
- sig/telnyx/models/ai/embeddings/bucket_retrieve_response.rbs
|
|
5636
5673
|
- sig/telnyx/models/ai/enabled_features.rbs
|
|
5674
|
+
- sig/telnyx/models/ai/external_llm.rbs
|
|
5675
|
+
- sig/telnyx/models/ai/external_llm_req.rbs
|
|
5676
|
+
- sig/telnyx/models/ai/fallback_config.rbs
|
|
5677
|
+
- sig/telnyx/models/ai/fallback_config_req.rbs
|
|
5637
5678
|
- sig/telnyx/models/ai/fine_tuning/fine_tuning_job.rbs
|
|
5638
5679
|
- sig/telnyx/models/ai/fine_tuning/job_cancel_params.rbs
|
|
5639
5680
|
- sig/telnyx/models/ai/fine_tuning/job_create_params.rbs
|
|
@@ -5749,6 +5790,8 @@ files:
|
|
|
5749
5790
|
- sig/telnyx/models/ai/openai/embedding_create_embeddings_response.rbs
|
|
5750
5791
|
- sig/telnyx/models/ai/openai/embedding_list_embedding_models_params.rbs
|
|
5751
5792
|
- sig/telnyx/models/ai/openai/embedding_list_embedding_models_response.rbs
|
|
5793
|
+
- sig/telnyx/models/ai/post_conversation_settings.rbs
|
|
5794
|
+
- sig/telnyx/models/ai/post_conversation_settings_req.rbs
|
|
5752
5795
|
- sig/telnyx/models/ai/privacy_settings.rbs
|
|
5753
5796
|
- sig/telnyx/models/ai/recursive_cluster.rbs
|
|
5754
5797
|
- sig/telnyx/models/ai/retrieval_tool.rbs
|
|
@@ -7599,6 +7642,18 @@ files:
|
|
|
7599
7642
|
- sig/telnyx/models/transcription.rbs
|
|
7600
7643
|
- sig/telnyx/models/transcription_webhook_event.rbs
|
|
7601
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
|
|
7602
7657
|
- sig/telnyx/models/unsafe_unwrap_webhook_event.rbs
|
|
7603
7658
|
- sig/telnyx/models/unwrap_webhook_event.rbs
|
|
7604
7659
|
- sig/telnyx/models/update_regulatory_requirement.rbs
|
|
@@ -8080,6 +8135,8 @@ files:
|
|
|
8080
8135
|
- sig/telnyx/resources/texml_applications.rbs
|
|
8081
8136
|
- sig/telnyx/resources/text_to_speech.rbs
|
|
8082
8137
|
- sig/telnyx/resources/traffic_policy_profiles.rbs
|
|
8138
|
+
- sig/telnyx/resources/uac_connections.rbs
|
|
8139
|
+
- sig/telnyx/resources/uac_connections/actions.rbs
|
|
8083
8140
|
- sig/telnyx/resources/usage_reports.rbs
|
|
8084
8141
|
- sig/telnyx/resources/user_addresses.rbs
|
|
8085
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
|