telnyx 5.69.0 → 5.71.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 +50 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/util.rb +3 -1
- data/lib/telnyx/models/ai/assistant.rb +6 -149
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -42
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -42
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -43
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -43
- data/lib/telnyx/models/ai/observability.rb +46 -0
- data/lib/telnyx/models/ai/observability_req.rb +46 -0
- data/lib/telnyx/models/book_appointment_tool.rb +31 -0
- data/lib/telnyx/models/book_appointment_tool_params.rb +51 -0
- data/lib/telnyx/models/call_assistant_request.rb +176 -0
- data/lib/telnyx/models/call_control_bucket_ids.rb +23 -0
- data/lib/telnyx/models/call_control_retrieval_tool.rb +31 -0
- data/lib/telnyx/models/call_dial_params.rb +34 -1
- data/lib/telnyx/models/calls/action_answer_params.rb +11 -1
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +6 -39
- data/lib/telnyx/models/calls/action_transfer_params.rb +24 -1
- data/lib/telnyx/models/check_availability_tool.rb +31 -0
- data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
- data/lib/telnyx/models/enterprise_create_params.rb +1 -1
- data/lib/telnyx/models/enterprise_public.rb +1 -1
- data/lib/telnyx/models/enterprise_update_params.rb +1 -1
- data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/reputation/{number_create_response.rb → number_associate_response.rb} +5 -5
- data/lib/telnyx/models/enterprises/reputation/{number_delete_params.rb → number_disassociate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb} +6 -6
- data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb} +2 -2
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +9 -9
- data/lib/telnyx/models/pronunciation_dict_alias_item.rb +51 -0
- data/lib/telnyx/models/pronunciation_dict_create_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_create_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_data.rb +101 -0
- data/lib/telnyx/models/pronunciation_dict_phoneme_item.rb +71 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_update_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_update_response.rb +3 -191
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +203 -191
- data/lib/telnyx/models/voice_clone_create_from_design_params.rb +3 -3
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +371 -71
- data/lib/telnyx/models/voice_clone_create_params.rb +161 -51
- data/lib/telnyx/models/voice_clone_data.rb +51 -4
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb +26 -0
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb +54 -0
- data/lib/telnyx/models.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +7 -3
- data/lib/telnyx/resources/calls.rb +5 -1
- data/lib/telnyx/resources/enterprises/reputation/numbers.rb +42 -42
- data/lib/telnyx/resources/enterprises/reputation.rb +61 -61
- data/lib/telnyx/resources/pronunciation_dicts.rb +4 -4
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -3
- data/lib/telnyx/resources/voice_clones.rb +7 -27
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +22 -9
- data/rbi/telnyx/models/ai/assistant.rbi +15 -329
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -123
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -123
- data/rbi/telnyx/models/ai/observability.rbi +90 -0
- data/rbi/telnyx/models/ai/observability_req.rbi +92 -0
- data/rbi/telnyx/models/book_appointment_tool.rbi +65 -0
- data/rbi/telnyx/models/book_appointment_tool_params.rbi +83 -0
- data/rbi/telnyx/models/call_assistant_request.rbi +322 -0
- data/rbi/telnyx/models/call_control_bucket_ids.rbi +42 -0
- data/rbi/telnyx/models/call_control_retrieval_tool.rbi +63 -0
- data/rbi/telnyx/models/call_dial_params.rbi +52 -0
- data/rbi/telnyx/models/calls/action_answer_params.rbi +15 -0
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +10 -77
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +57 -0
- data/rbi/telnyx/models/check_availability_tool.rbi +67 -0
- data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
- data/rbi/telnyx/models/enterprise_create_params.rbi +1 -1
- data/rbi/telnyx/models/enterprise_public.rbi +1 -1
- data/rbi/telnyx/models/enterprise_update_params.rbi +1 -1
- data/rbi/telnyx/models/enterprises/reputation/{number_create_params.rbi → number_associate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/reputation/{number_create_response.rbi → number_associate_response.rbi} +7 -7
- data/rbi/telnyx/models/enterprises/reputation/{number_delete_params.rbi → number_disassociate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_params.rbi → reputation_disable_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_create_params.rbi → reputation_enable_params.rbi} +14 -14
- data/rbi/telnyx/models/enterprises/{reputation_create_response.rbi → reputation_enable_response.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_delete_all_params.rbi → reputation_retrieve_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_response.rbi → reputation_retrieve_response.rbi} +2 -2
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +34 -34
- data/rbi/telnyx/models/pronunciation_dict_alias_item.rbi +79 -0
- data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +8 -154
- data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_data.rbi +186 -0
- data/rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi +117 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +10 -156
- data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +6 -366
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +391 -403
- data/rbi/telnyx/models/voice_clone_create_from_design_params.rbi +10 -10
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +711 -134
- data/rbi/telnyx/models/voice_clone_create_params.rbi +345 -79
- data/rbi/telnyx/models/voice_clone_data.rbi +77 -4
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi +47 -0
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi +118 -0
- data/rbi/telnyx/models.rbi +20 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
- data/rbi/telnyx/resources/calls/actions.rbi +14 -3
- data/rbi/telnyx/resources/calls.rbi +10 -0
- data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +34 -34
- data/rbi/telnyx/resources/enterprises/reputation.rbi +44 -44
- data/rbi/telnyx/resources/pronunciation_dicts.rbi +5 -7
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +5 -5
- data/rbi/telnyx/resources/voice_clones.rbi +17 -41
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +16 -0
- data/sig/telnyx/models/ai/assistant.rbs +3 -142
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -59
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -59
- data/sig/telnyx/models/ai/observability.rbs +58 -0
- data/sig/telnyx/models/ai/observability_req.rbs +58 -0
- data/sig/telnyx/models/book_appointment_tool.rbs +35 -0
- data/sig/telnyx/models/book_appointment_tool_params.rbs +39 -0
- data/sig/telnyx/models/call_assistant_request.rbs +132 -0
- data/sig/telnyx/models/call_control_bucket_ids.rbs +21 -0
- data/sig/telnyx/models/call_control_retrieval_tool.rbs +35 -0
- data/sig/telnyx/models/call_dial_params.rbs +29 -0
- data/sig/telnyx/models/calls/action_answer_params.rbs +9 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +6 -35
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/check_availability_tool.rbs +35 -0
- data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
- data/sig/telnyx/models/enterprise_create_params.rbs +1 -1
- data/sig/telnyx/models/enterprise_public.rbs +1 -1
- data/sig/telnyx/models/enterprise_update_params.rbs +1 -1
- data/sig/telnyx/models/enterprises/reputation/{number_create_params.rbs → number_associate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/reputation/{number_create_response.rbs → number_associate_response.rbs} +8 -8
- data/sig/telnyx/models/enterprises/reputation/{number_delete_params.rbs → number_disassociate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_params.rbs → reputation_disable_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_create_params.rbs → reputation_enable_params.rbs} +9 -9
- data/sig/telnyx/models/enterprises/{reputation_create_response.rbs → reputation_enable_response.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_delete_all_params.rbs → reputation_retrieve_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_response.rbs → reputation_retrieve_response.rbs} +2 -2
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +9 -9
- data/sig/telnyx/models/pronunciation_dict_alias_item.rbs +40 -0
- data/sig/telnyx/models/pronunciation_dict_create_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_create_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_data.rbs +88 -0
- data/sig/telnyx/models/pronunciation_dict_phoneme_item.rbs +55 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_update_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_update_response.rbs +6 -155
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +317 -325
- data/sig/telnyx/models/voice_clone_create_from_design_params.rbs +7 -7
- data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +269 -56
- data/sig/telnyx/models/voice_clone_create_params.rbs +129 -44
- data/sig/telnyx/models/voice_clone_data.rbs +43 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs +30 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs +63 -0
- data/sig/telnyx/models.rbs +20 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/calls/actions.rbs +3 -1
- data/sig/telnyx/resources/calls.rbs +2 -0
- data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +7 -7
- data/sig/telnyx/resources/enterprises/reputation.rbs +8 -8
- data/sig/telnyx/resources/pronunciation_dicts.rbs +1 -1
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
- data/sig/telnyx/resources/voice_clones.rbs +2 -12
- data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
- metadata +68 -29
- data/lib/telnyx/models/pronunciation_dict_list_response.rb +0 -190
- data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +0 -353
- data/sig/telnyx/models/pronunciation_dict_list_response.rbs +0 -144
|
@@ -40,12 +40,12 @@ module Telnyx
|
|
|
40
40
|
T.nilable(
|
|
41
41
|
T::Array[
|
|
42
42
|
T.any(
|
|
43
|
-
Telnyx::
|
|
44
|
-
Telnyx::
|
|
43
|
+
Telnyx::BookAppointmentTool,
|
|
44
|
+
Telnyx::CheckAvailabilityTool,
|
|
45
45
|
Telnyx::AI::WebhookTool,
|
|
46
46
|
Telnyx::AI::HangupTool,
|
|
47
47
|
Telnyx::AI::TransferTool,
|
|
48
|
-
Telnyx::
|
|
48
|
+
Telnyx::CallControlRetrievalTool
|
|
49
49
|
)
|
|
50
50
|
]
|
|
51
51
|
)
|
|
@@ -58,12 +58,12 @@ module Telnyx
|
|
|
58
58
|
tools:
|
|
59
59
|
T::Array[
|
|
60
60
|
T.any(
|
|
61
|
-
Telnyx::
|
|
62
|
-
Telnyx::
|
|
61
|
+
Telnyx::BookAppointmentTool::OrHash,
|
|
62
|
+
Telnyx::CheckAvailabilityTool::OrHash,
|
|
63
63
|
Telnyx::AI::WebhookTool::OrHash,
|
|
64
64
|
Telnyx::AI::HangupTool::OrHash,
|
|
65
65
|
Telnyx::AI::TransferTool::OrHash,
|
|
66
|
-
Telnyx::
|
|
66
|
+
Telnyx::CallControlRetrievalTool::OrHash
|
|
67
67
|
)
|
|
68
68
|
]
|
|
69
69
|
).void
|
|
@@ -79,12 +79,12 @@ module Telnyx
|
|
|
79
79
|
tools:
|
|
80
80
|
T::Array[
|
|
81
81
|
T.any(
|
|
82
|
-
Telnyx::
|
|
83
|
-
Telnyx::
|
|
82
|
+
Telnyx::BookAppointmentTool::OrHash,
|
|
83
|
+
Telnyx::CheckAvailabilityTool::OrHash,
|
|
84
84
|
Telnyx::AI::WebhookTool::OrHash,
|
|
85
85
|
Telnyx::AI::HangupTool::OrHash,
|
|
86
86
|
Telnyx::AI::TransferTool::OrHash,
|
|
87
|
-
Telnyx::
|
|
87
|
+
Telnyx::CallControlRetrievalTool::OrHash
|
|
88
88
|
)
|
|
89
89
|
]
|
|
90
90
|
).returns(T.attached_class)
|
|
@@ -114,12 +114,12 @@ module Telnyx
|
|
|
114
114
|
tools:
|
|
115
115
|
T::Array[
|
|
116
116
|
T.any(
|
|
117
|
-
Telnyx::
|
|
118
|
-
Telnyx::
|
|
117
|
+
Telnyx::BookAppointmentTool,
|
|
118
|
+
Telnyx::CheckAvailabilityTool,
|
|
119
119
|
Telnyx::AI::WebhookTool,
|
|
120
120
|
Telnyx::AI::HangupTool,
|
|
121
121
|
Telnyx::AI::TransferTool,
|
|
122
|
-
Telnyx::
|
|
122
|
+
Telnyx::CallControlRetrievalTool
|
|
123
123
|
)
|
|
124
124
|
]
|
|
125
125
|
}
|
|
@@ -134,329 +134,15 @@ module Telnyx
|
|
|
134
134
|
Variants =
|
|
135
135
|
T.type_alias do
|
|
136
136
|
T.any(
|
|
137
|
-
Telnyx::
|
|
138
|
-
Telnyx::
|
|
137
|
+
Telnyx::BookAppointmentTool,
|
|
138
|
+
Telnyx::CheckAvailabilityTool,
|
|
139
139
|
Telnyx::AI::WebhookTool,
|
|
140
140
|
Telnyx::AI::HangupTool,
|
|
141
141
|
Telnyx::AI::TransferTool,
|
|
142
|
-
Telnyx::
|
|
142
|
+
Telnyx::CallControlRetrievalTool
|
|
143
143
|
)
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
-
class BookAppointment < Telnyx::Internal::Type::BaseModel
|
|
147
|
-
OrHash =
|
|
148
|
-
T.type_alias do
|
|
149
|
-
T.any(
|
|
150
|
-
Telnyx::AI::Assistant::Tool::BookAppointment,
|
|
151
|
-
Telnyx::Internal::AnyHash
|
|
152
|
-
)
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
sig do
|
|
156
|
-
returns(
|
|
157
|
-
Telnyx::AI::Assistant::Tool::BookAppointment::BookAppointment
|
|
158
|
-
)
|
|
159
|
-
end
|
|
160
|
-
attr_reader :book_appointment
|
|
161
|
-
|
|
162
|
-
sig do
|
|
163
|
-
params(
|
|
164
|
-
book_appointment:
|
|
165
|
-
Telnyx::AI::Assistant::Tool::BookAppointment::BookAppointment::OrHash
|
|
166
|
-
).void
|
|
167
|
-
end
|
|
168
|
-
attr_writer :book_appointment
|
|
169
|
-
|
|
170
|
-
sig { returns(Symbol) }
|
|
171
|
-
attr_accessor :type
|
|
172
|
-
|
|
173
|
-
sig do
|
|
174
|
-
params(
|
|
175
|
-
book_appointment:
|
|
176
|
-
Telnyx::AI::Assistant::Tool::BookAppointment::BookAppointment::OrHash,
|
|
177
|
-
type: Symbol
|
|
178
|
-
).returns(T.attached_class)
|
|
179
|
-
end
|
|
180
|
-
def self.new(book_appointment:, type: :book_appointment)
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
sig do
|
|
184
|
-
override.returns(
|
|
185
|
-
{
|
|
186
|
-
book_appointment:
|
|
187
|
-
Telnyx::AI::Assistant::Tool::BookAppointment::BookAppointment,
|
|
188
|
-
type: Symbol
|
|
189
|
-
}
|
|
190
|
-
)
|
|
191
|
-
end
|
|
192
|
-
def to_hash
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
class BookAppointment < Telnyx::Internal::Type::BaseModel
|
|
196
|
-
OrHash =
|
|
197
|
-
T.type_alias do
|
|
198
|
-
T.any(
|
|
199
|
-
Telnyx::AI::Assistant::Tool::BookAppointment::BookAppointment,
|
|
200
|
-
Telnyx::Internal::AnyHash
|
|
201
|
-
)
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
# Reference to an integration secret that contains your Cal.com API key. You would
|
|
205
|
-
# pass the `identifier` for an integration secret
|
|
206
|
-
# [/v2/integration_secrets](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
207
|
-
# that refers to your Cal.com API key.
|
|
208
|
-
sig { returns(String) }
|
|
209
|
-
attr_accessor :api_key_ref
|
|
210
|
-
|
|
211
|
-
# Event Type ID for which slots are being fetched.
|
|
212
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-event-type-id)
|
|
213
|
-
sig { returns(Integer) }
|
|
214
|
-
attr_accessor :event_type_id
|
|
215
|
-
|
|
216
|
-
# The name of the attendee
|
|
217
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-attendee-name).
|
|
218
|
-
# If not provided, the assistant will ask for the attendee's name.
|
|
219
|
-
sig { returns(T.nilable(String)) }
|
|
220
|
-
attr_reader :attendee_name
|
|
221
|
-
|
|
222
|
-
sig { params(attendee_name: String).void }
|
|
223
|
-
attr_writer :attendee_name
|
|
224
|
-
|
|
225
|
-
# The timezone of the attendee
|
|
226
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-attendee-timezone).
|
|
227
|
-
# If not provided, the assistant will ask for the attendee's timezone.
|
|
228
|
-
sig { returns(T.nilable(String)) }
|
|
229
|
-
attr_reader :attendee_timezone
|
|
230
|
-
|
|
231
|
-
sig { params(attendee_timezone: String).void }
|
|
232
|
-
attr_writer :attendee_timezone
|
|
233
|
-
|
|
234
|
-
sig do
|
|
235
|
-
params(
|
|
236
|
-
api_key_ref: String,
|
|
237
|
-
event_type_id: Integer,
|
|
238
|
-
attendee_name: String,
|
|
239
|
-
attendee_timezone: String
|
|
240
|
-
).returns(T.attached_class)
|
|
241
|
-
end
|
|
242
|
-
def self.new(
|
|
243
|
-
# Reference to an integration secret that contains your Cal.com API key. You would
|
|
244
|
-
# pass the `identifier` for an integration secret
|
|
245
|
-
# [/v2/integration_secrets](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
246
|
-
# that refers to your Cal.com API key.
|
|
247
|
-
api_key_ref:,
|
|
248
|
-
# Event Type ID for which slots are being fetched.
|
|
249
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-event-type-id)
|
|
250
|
-
event_type_id:,
|
|
251
|
-
# The name of the attendee
|
|
252
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-attendee-name).
|
|
253
|
-
# If not provided, the assistant will ask for the attendee's name.
|
|
254
|
-
attendee_name: nil,
|
|
255
|
-
# The timezone of the attendee
|
|
256
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-attendee-timezone).
|
|
257
|
-
# If not provided, the assistant will ask for the attendee's timezone.
|
|
258
|
-
attendee_timezone: nil
|
|
259
|
-
)
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
sig do
|
|
263
|
-
override.returns(
|
|
264
|
-
{
|
|
265
|
-
api_key_ref: String,
|
|
266
|
-
event_type_id: Integer,
|
|
267
|
-
attendee_name: String,
|
|
268
|
-
attendee_timezone: String
|
|
269
|
-
}
|
|
270
|
-
)
|
|
271
|
-
end
|
|
272
|
-
def to_hash
|
|
273
|
-
end
|
|
274
|
-
end
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
class CheckAvailability < Telnyx::Internal::Type::BaseModel
|
|
278
|
-
OrHash =
|
|
279
|
-
T.type_alias do
|
|
280
|
-
T.any(
|
|
281
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability,
|
|
282
|
-
Telnyx::Internal::AnyHash
|
|
283
|
-
)
|
|
284
|
-
end
|
|
285
|
-
|
|
286
|
-
sig do
|
|
287
|
-
returns(
|
|
288
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability::CheckAvailability
|
|
289
|
-
)
|
|
290
|
-
end
|
|
291
|
-
attr_reader :check_availability
|
|
292
|
-
|
|
293
|
-
sig do
|
|
294
|
-
params(
|
|
295
|
-
check_availability:
|
|
296
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability::CheckAvailability::OrHash
|
|
297
|
-
).void
|
|
298
|
-
end
|
|
299
|
-
attr_writer :check_availability
|
|
300
|
-
|
|
301
|
-
sig { returns(Symbol) }
|
|
302
|
-
attr_accessor :type
|
|
303
|
-
|
|
304
|
-
sig do
|
|
305
|
-
params(
|
|
306
|
-
check_availability:
|
|
307
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability::CheckAvailability::OrHash,
|
|
308
|
-
type: Symbol
|
|
309
|
-
).returns(T.attached_class)
|
|
310
|
-
end
|
|
311
|
-
def self.new(check_availability:, type: :check_availability)
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
sig do
|
|
315
|
-
override.returns(
|
|
316
|
-
{
|
|
317
|
-
check_availability:
|
|
318
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability::CheckAvailability,
|
|
319
|
-
type: Symbol
|
|
320
|
-
}
|
|
321
|
-
)
|
|
322
|
-
end
|
|
323
|
-
def to_hash
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
class CheckAvailability < Telnyx::Internal::Type::BaseModel
|
|
327
|
-
OrHash =
|
|
328
|
-
T.type_alias do
|
|
329
|
-
T.any(
|
|
330
|
-
Telnyx::AI::Assistant::Tool::CheckAvailability::CheckAvailability,
|
|
331
|
-
Telnyx::Internal::AnyHash
|
|
332
|
-
)
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
# Reference to an integration secret that contains your Cal.com API key. You would
|
|
336
|
-
# pass the `identifier` for an integration secret
|
|
337
|
-
# [/v2/integration_secrets](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
338
|
-
# that refers to your Cal.com API key.
|
|
339
|
-
sig { returns(String) }
|
|
340
|
-
attr_accessor :api_key_ref
|
|
341
|
-
|
|
342
|
-
# Event Type ID for which slots are being fetched.
|
|
343
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/slots/get-available-slots#parameter-event-type-id)
|
|
344
|
-
sig { returns(Integer) }
|
|
345
|
-
attr_accessor :event_type_id
|
|
346
|
-
|
|
347
|
-
sig do
|
|
348
|
-
params(api_key_ref: String, event_type_id: Integer).returns(
|
|
349
|
-
T.attached_class
|
|
350
|
-
)
|
|
351
|
-
end
|
|
352
|
-
def self.new(
|
|
353
|
-
# Reference to an integration secret that contains your Cal.com API key. You would
|
|
354
|
-
# pass the `identifier` for an integration secret
|
|
355
|
-
# [/v2/integration_secrets](https://developers.telnyx.com/api/secrets-manager/integration-secrets/create-integration-secret)
|
|
356
|
-
# that refers to your Cal.com API key.
|
|
357
|
-
api_key_ref:,
|
|
358
|
-
# Event Type ID for which slots are being fetched.
|
|
359
|
-
# [cal.com](https://cal.com/docs/api-reference/v2/slots/get-available-slots#parameter-event-type-id)
|
|
360
|
-
event_type_id:
|
|
361
|
-
)
|
|
362
|
-
end
|
|
363
|
-
|
|
364
|
-
sig do
|
|
365
|
-
override.returns(
|
|
366
|
-
{ api_key_ref: String, event_type_id: Integer }
|
|
367
|
-
)
|
|
368
|
-
end
|
|
369
|
-
def to_hash
|
|
370
|
-
end
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
class Retrieval < Telnyx::Internal::Type::BaseModel
|
|
375
|
-
OrHash =
|
|
376
|
-
T.type_alias do
|
|
377
|
-
T.any(
|
|
378
|
-
Telnyx::AI::Assistant::Tool::Retrieval,
|
|
379
|
-
Telnyx::Internal::AnyHash
|
|
380
|
-
)
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
sig { returns(Telnyx::AI::Assistant::Tool::Retrieval::Retrieval) }
|
|
384
|
-
attr_reader :retrieval
|
|
385
|
-
|
|
386
|
-
sig do
|
|
387
|
-
params(
|
|
388
|
-
retrieval:
|
|
389
|
-
Telnyx::AI::Assistant::Tool::Retrieval::Retrieval::OrHash
|
|
390
|
-
).void
|
|
391
|
-
end
|
|
392
|
-
attr_writer :retrieval
|
|
393
|
-
|
|
394
|
-
sig { returns(Symbol) }
|
|
395
|
-
attr_accessor :type
|
|
396
|
-
|
|
397
|
-
sig do
|
|
398
|
-
params(
|
|
399
|
-
retrieval:
|
|
400
|
-
Telnyx::AI::Assistant::Tool::Retrieval::Retrieval::OrHash,
|
|
401
|
-
type: Symbol
|
|
402
|
-
).returns(T.attached_class)
|
|
403
|
-
end
|
|
404
|
-
def self.new(retrieval:, type: :retrieval)
|
|
405
|
-
end
|
|
406
|
-
|
|
407
|
-
sig do
|
|
408
|
-
override.returns(
|
|
409
|
-
{
|
|
410
|
-
retrieval: Telnyx::AI::Assistant::Tool::Retrieval::Retrieval,
|
|
411
|
-
type: Symbol
|
|
412
|
-
}
|
|
413
|
-
)
|
|
414
|
-
end
|
|
415
|
-
def to_hash
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
class Retrieval < Telnyx::Internal::Type::BaseModel
|
|
419
|
-
OrHash =
|
|
420
|
-
T.type_alias do
|
|
421
|
-
T.any(
|
|
422
|
-
Telnyx::AI::Assistant::Tool::Retrieval::Retrieval,
|
|
423
|
-
Telnyx::Internal::AnyHash
|
|
424
|
-
)
|
|
425
|
-
end
|
|
426
|
-
|
|
427
|
-
sig { returns(T::Array[String]) }
|
|
428
|
-
attr_accessor :bucket_ids
|
|
429
|
-
|
|
430
|
-
# The maximum number of results to retrieve as context for the language model.
|
|
431
|
-
sig { returns(T.nilable(Integer)) }
|
|
432
|
-
attr_reader :max_num_results
|
|
433
|
-
|
|
434
|
-
sig { params(max_num_results: Integer).void }
|
|
435
|
-
attr_writer :max_num_results
|
|
436
|
-
|
|
437
|
-
sig do
|
|
438
|
-
params(
|
|
439
|
-
bucket_ids: T::Array[String],
|
|
440
|
-
max_num_results: Integer
|
|
441
|
-
).returns(T.attached_class)
|
|
442
|
-
end
|
|
443
|
-
def self.new(
|
|
444
|
-
bucket_ids:,
|
|
445
|
-
# The maximum number of results to retrieve as context for the language model.
|
|
446
|
-
max_num_results: nil
|
|
447
|
-
)
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
sig do
|
|
451
|
-
override.returns(
|
|
452
|
-
{ bucket_ids: T::Array[String], max_num_results: Integer }
|
|
453
|
-
)
|
|
454
|
-
end
|
|
455
|
-
def to_hash
|
|
456
|
-
end
|
|
457
|
-
end
|
|
458
|
-
end
|
|
459
|
-
|
|
460
146
|
sig do
|
|
461
147
|
override.returns(T::Array[Telnyx::AI::Assistant::Tool::Variants])
|
|
462
148
|
end
|
|
@@ -100,17 +100,12 @@ module Telnyx
|
|
|
100
100
|
end
|
|
101
101
|
attr_writer :messaging_settings
|
|
102
102
|
|
|
103
|
-
sig
|
|
104
|
-
returns(
|
|
105
|
-
T.nilable(Telnyx::AI::AssistantCreateParams::ObservabilitySettings)
|
|
106
|
-
)
|
|
107
|
-
end
|
|
103
|
+
sig { returns(T.nilable(Telnyx::AI::ObservabilityReq)) }
|
|
108
104
|
attr_reader :observability_settings
|
|
109
105
|
|
|
110
106
|
sig do
|
|
111
107
|
params(
|
|
112
|
-
observability_settings:
|
|
113
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::OrHash
|
|
108
|
+
observability_settings: Telnyx::AI::ObservabilityReq::OrHash
|
|
114
109
|
).void
|
|
115
110
|
end
|
|
116
111
|
attr_writer :observability_settings
|
|
@@ -216,8 +211,7 @@ module Telnyx
|
|
|
216
211
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
217
212
|
llm_api_key_ref: String,
|
|
218
213
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
219
|
-
observability_settings:
|
|
220
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::OrHash,
|
|
214
|
+
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
221
215
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
222
216
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
223
217
|
tool_ids: T::Array[String],
|
|
@@ -304,8 +298,7 @@ module Telnyx
|
|
|
304
298
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
305
299
|
llm_api_key_ref: String,
|
|
306
300
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
307
|
-
observability_settings:
|
|
308
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings,
|
|
301
|
+
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
309
302
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
310
303
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
311
304
|
tool_ids: T::Array[String],
|
|
@@ -333,116 +326,6 @@ module Telnyx
|
|
|
333
326
|
end
|
|
334
327
|
def to_hash
|
|
335
328
|
end
|
|
336
|
-
|
|
337
|
-
class ObservabilitySettings < Telnyx::Internal::Type::BaseModel
|
|
338
|
-
OrHash =
|
|
339
|
-
T.type_alias do
|
|
340
|
-
T.any(
|
|
341
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings,
|
|
342
|
-
Telnyx::Internal::AnyHash
|
|
343
|
-
)
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
sig { returns(T.nilable(String)) }
|
|
347
|
-
attr_reader :host
|
|
348
|
-
|
|
349
|
-
sig { params(host: String).void }
|
|
350
|
-
attr_writer :host
|
|
351
|
-
|
|
352
|
-
sig { returns(T.nilable(String)) }
|
|
353
|
-
attr_reader :public_key_ref
|
|
354
|
-
|
|
355
|
-
sig { params(public_key_ref: String).void }
|
|
356
|
-
attr_writer :public_key_ref
|
|
357
|
-
|
|
358
|
-
sig { returns(T.nilable(String)) }
|
|
359
|
-
attr_reader :secret_key_ref
|
|
360
|
-
|
|
361
|
-
sig { params(secret_key_ref: String).void }
|
|
362
|
-
attr_writer :secret_key_ref
|
|
363
|
-
|
|
364
|
-
sig do
|
|
365
|
-
returns(
|
|
366
|
-
T.nilable(
|
|
367
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::OrSymbol
|
|
368
|
-
)
|
|
369
|
-
)
|
|
370
|
-
end
|
|
371
|
-
attr_reader :status
|
|
372
|
-
|
|
373
|
-
sig do
|
|
374
|
-
params(
|
|
375
|
-
status:
|
|
376
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::OrSymbol
|
|
377
|
-
).void
|
|
378
|
-
end
|
|
379
|
-
attr_writer :status
|
|
380
|
-
|
|
381
|
-
sig do
|
|
382
|
-
params(
|
|
383
|
-
host: String,
|
|
384
|
-
public_key_ref: String,
|
|
385
|
-
secret_key_ref: String,
|
|
386
|
-
status:
|
|
387
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::OrSymbol
|
|
388
|
-
).returns(T.attached_class)
|
|
389
|
-
end
|
|
390
|
-
def self.new(
|
|
391
|
-
host: nil,
|
|
392
|
-
public_key_ref: nil,
|
|
393
|
-
secret_key_ref: nil,
|
|
394
|
-
status: nil
|
|
395
|
-
)
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
sig do
|
|
399
|
-
override.returns(
|
|
400
|
-
{
|
|
401
|
-
host: String,
|
|
402
|
-
public_key_ref: String,
|
|
403
|
-
secret_key_ref: String,
|
|
404
|
-
status:
|
|
405
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::OrSymbol
|
|
406
|
-
}
|
|
407
|
-
)
|
|
408
|
-
end
|
|
409
|
-
def to_hash
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
module Status
|
|
413
|
-
extend Telnyx::Internal::Type::Enum
|
|
414
|
-
|
|
415
|
-
TaggedSymbol =
|
|
416
|
-
T.type_alias do
|
|
417
|
-
T.all(
|
|
418
|
-
Symbol,
|
|
419
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status
|
|
420
|
-
)
|
|
421
|
-
end
|
|
422
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
423
|
-
|
|
424
|
-
ENABLED =
|
|
425
|
-
T.let(
|
|
426
|
-
:enabled,
|
|
427
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
428
|
-
)
|
|
429
|
-
DISABLED =
|
|
430
|
-
T.let(
|
|
431
|
-
:disabled,
|
|
432
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
433
|
-
)
|
|
434
|
-
|
|
435
|
-
sig do
|
|
436
|
-
override.returns(
|
|
437
|
-
T::Array[
|
|
438
|
-
Telnyx::AI::AssistantCreateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
439
|
-
]
|
|
440
|
-
)
|
|
441
|
-
end
|
|
442
|
-
def self.values
|
|
443
|
-
end
|
|
444
|
-
end
|
|
445
|
-
end
|
|
446
329
|
end
|
|
447
330
|
end
|
|
448
331
|
end
|
|
@@ -112,17 +112,12 @@ module Telnyx
|
|
|
112
112
|
sig { params(name: String).void }
|
|
113
113
|
attr_writer :name
|
|
114
114
|
|
|
115
|
-
sig
|
|
116
|
-
returns(
|
|
117
|
-
T.nilable(Telnyx::AI::AssistantUpdateParams::ObservabilitySettings)
|
|
118
|
-
)
|
|
119
|
-
end
|
|
115
|
+
sig { returns(T.nilable(Telnyx::AI::ObservabilityReq)) }
|
|
120
116
|
attr_reader :observability_settings
|
|
121
117
|
|
|
122
118
|
sig do
|
|
123
119
|
params(
|
|
124
|
-
observability_settings:
|
|
125
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::OrHash
|
|
120
|
+
observability_settings: Telnyx::AI::ObservabilityReq::OrHash
|
|
126
121
|
).void
|
|
127
122
|
end
|
|
128
123
|
attr_writer :observability_settings
|
|
@@ -237,8 +232,7 @@ module Telnyx
|
|
|
237
232
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
238
233
|
model: String,
|
|
239
234
|
name: String,
|
|
240
|
-
observability_settings:
|
|
241
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::OrHash,
|
|
235
|
+
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
242
236
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
243
237
|
promote_to_main: T::Boolean,
|
|
244
238
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
@@ -331,8 +325,7 @@ module Telnyx
|
|
|
331
325
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
332
326
|
model: String,
|
|
333
327
|
name: String,
|
|
334
|
-
observability_settings:
|
|
335
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings,
|
|
328
|
+
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
336
329
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
337
330
|
promote_to_main: T::Boolean,
|
|
338
331
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -361,116 +354,6 @@ module Telnyx
|
|
|
361
354
|
end
|
|
362
355
|
def to_hash
|
|
363
356
|
end
|
|
364
|
-
|
|
365
|
-
class ObservabilitySettings < Telnyx::Internal::Type::BaseModel
|
|
366
|
-
OrHash =
|
|
367
|
-
T.type_alias do
|
|
368
|
-
T.any(
|
|
369
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings,
|
|
370
|
-
Telnyx::Internal::AnyHash
|
|
371
|
-
)
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
sig { returns(T.nilable(String)) }
|
|
375
|
-
attr_reader :host
|
|
376
|
-
|
|
377
|
-
sig { params(host: String).void }
|
|
378
|
-
attr_writer :host
|
|
379
|
-
|
|
380
|
-
sig { returns(T.nilable(String)) }
|
|
381
|
-
attr_reader :public_key_ref
|
|
382
|
-
|
|
383
|
-
sig { params(public_key_ref: String).void }
|
|
384
|
-
attr_writer :public_key_ref
|
|
385
|
-
|
|
386
|
-
sig { returns(T.nilable(String)) }
|
|
387
|
-
attr_reader :secret_key_ref
|
|
388
|
-
|
|
389
|
-
sig { params(secret_key_ref: String).void }
|
|
390
|
-
attr_writer :secret_key_ref
|
|
391
|
-
|
|
392
|
-
sig do
|
|
393
|
-
returns(
|
|
394
|
-
T.nilable(
|
|
395
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::OrSymbol
|
|
396
|
-
)
|
|
397
|
-
)
|
|
398
|
-
end
|
|
399
|
-
attr_reader :status
|
|
400
|
-
|
|
401
|
-
sig do
|
|
402
|
-
params(
|
|
403
|
-
status:
|
|
404
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::OrSymbol
|
|
405
|
-
).void
|
|
406
|
-
end
|
|
407
|
-
attr_writer :status
|
|
408
|
-
|
|
409
|
-
sig do
|
|
410
|
-
params(
|
|
411
|
-
host: String,
|
|
412
|
-
public_key_ref: String,
|
|
413
|
-
secret_key_ref: String,
|
|
414
|
-
status:
|
|
415
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::OrSymbol
|
|
416
|
-
).returns(T.attached_class)
|
|
417
|
-
end
|
|
418
|
-
def self.new(
|
|
419
|
-
host: nil,
|
|
420
|
-
public_key_ref: nil,
|
|
421
|
-
secret_key_ref: nil,
|
|
422
|
-
status: nil
|
|
423
|
-
)
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
sig do
|
|
427
|
-
override.returns(
|
|
428
|
-
{
|
|
429
|
-
host: String,
|
|
430
|
-
public_key_ref: String,
|
|
431
|
-
secret_key_ref: String,
|
|
432
|
-
status:
|
|
433
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::OrSymbol
|
|
434
|
-
}
|
|
435
|
-
)
|
|
436
|
-
end
|
|
437
|
-
def to_hash
|
|
438
|
-
end
|
|
439
|
-
|
|
440
|
-
module Status
|
|
441
|
-
extend Telnyx::Internal::Type::Enum
|
|
442
|
-
|
|
443
|
-
TaggedSymbol =
|
|
444
|
-
T.type_alias do
|
|
445
|
-
T.all(
|
|
446
|
-
Symbol,
|
|
447
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status
|
|
448
|
-
)
|
|
449
|
-
end
|
|
450
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
451
|
-
|
|
452
|
-
ENABLED =
|
|
453
|
-
T.let(
|
|
454
|
-
:enabled,
|
|
455
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
456
|
-
)
|
|
457
|
-
DISABLED =
|
|
458
|
-
T.let(
|
|
459
|
-
:disabled,
|
|
460
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
461
|
-
)
|
|
462
|
-
|
|
463
|
-
sig do
|
|
464
|
-
override.returns(
|
|
465
|
-
T::Array[
|
|
466
|
-
Telnyx::AI::AssistantUpdateParams::ObservabilitySettings::Status::TaggedSymbol
|
|
467
|
-
]
|
|
468
|
-
)
|
|
469
|
-
end
|
|
470
|
-
def self.values
|
|
471
|
-
end
|
|
472
|
-
end
|
|
473
|
-
end
|
|
474
357
|
end
|
|
475
358
|
end
|
|
476
359
|
end
|