telnyx 5.70.0 → 5.72.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 +40 -0
- data/README.md +1 -1
- data/lib/telnyx/lib/webhook_verification.rb +14 -1
- data/lib/telnyx/lib/webhooks_ed25519.rb +51 -38
- data/lib/telnyx/lib.rb +14 -0
- data/lib/telnyx/models/ai/assistant.rb +6 -149
- 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 +11 -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/check_availability_tool.rb +31 -0
- data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
- 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 +61 -54
- data/lib/telnyx/models/voice_clone_create_params.rb +28 -28
- 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/calls/actions.rb +4 -2
- data/lib/telnyx/resources/calls.rb +3 -1
- 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 +6 -6
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +16 -1
- data/rbi/telnyx/models/ai/assistant.rbi +15 -329
- 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 +15 -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/check_availability_tool.rbi +67 -0
- data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
- 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 +94 -92
- data/rbi/telnyx/models/voice_clone_create_params.rbi +53 -53
- 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/calls/actions.rbi +9 -3
- data/rbi/telnyx/resources/calls.rbi +5 -0
- 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 +9 -9
- 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/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 +9 -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/check_availability_tool.rbs +35 -0
- data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
- 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 +63 -61
- data/sig/telnyx/models/voice_clone_create_params.rbs +35 -35
- 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/calls/actions.rbs +2 -1
- data/sig/telnyx/resources/calls.rbs +1 -0
- 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 -2
- data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
- metadata +39 -5
- 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
data/sig/telnyx/models.rbs
CHANGED
|
@@ -107,6 +107,10 @@ module Telnyx
|
|
|
107
107
|
|
|
108
108
|
class BillingGroupUpdateParams = Telnyx::Models::BillingGroupUpdateParams
|
|
109
109
|
|
|
110
|
+
class BookAppointmentTool = Telnyx::Models::BookAppointmentTool
|
|
111
|
+
|
|
112
|
+
class BookAppointmentToolParams = Telnyx::Models::BookAppointmentToolParams
|
|
113
|
+
|
|
110
114
|
class BulkMessagingSettingsUpdatePhoneNumbers = Telnyx::Models::BulkMessagingSettingsUpdatePhoneNumbers
|
|
111
115
|
|
|
112
116
|
class BulkSimCardActionListParams = Telnyx::Models::BulkSimCardActionListParams
|
|
@@ -131,6 +135,8 @@ module Telnyx
|
|
|
131
135
|
|
|
132
136
|
class CallAnsweredWebhookEvent = Telnyx::Models::CallAnsweredWebhookEvent
|
|
133
137
|
|
|
138
|
+
class CallAssistantRequest = Telnyx::Models::CallAssistantRequest
|
|
139
|
+
|
|
134
140
|
class CallBridged = Telnyx::Models::CallBridged
|
|
135
141
|
|
|
136
142
|
class CallBridgedWebhookEvent = Telnyx::Models::CallBridgedWebhookEvent
|
|
@@ -151,6 +157,10 @@ module Telnyx
|
|
|
151
157
|
|
|
152
158
|
class CallControlApplicationUpdateParams = Telnyx::Models::CallControlApplicationUpdateParams
|
|
153
159
|
|
|
160
|
+
class CallControlBucketIDs = Telnyx::Models::CallControlBucketIDs
|
|
161
|
+
|
|
162
|
+
class CallControlRetrievalTool = Telnyx::Models::CallControlRetrievalTool
|
|
163
|
+
|
|
154
164
|
class CallConversationEnded = Telnyx::Models::CallConversationEnded
|
|
155
165
|
|
|
156
166
|
class CallConversationEndedWebhookEvent = Telnyx::Models::CallConversationEndedWebhookEvent
|
|
@@ -291,6 +301,10 @@ module Telnyx
|
|
|
291
301
|
|
|
292
302
|
class ChargesSummaryRetrieveParams = Telnyx::Models::ChargesSummaryRetrieveParams
|
|
293
303
|
|
|
304
|
+
class CheckAvailabilityTool = Telnyx::Models::CheckAvailabilityTool
|
|
305
|
+
|
|
306
|
+
class CheckAvailabilityToolParams = Telnyx::Models::CheckAvailabilityToolParams
|
|
307
|
+
|
|
294
308
|
module CloudflareSyncStatus = Telnyx::Models::CloudflareSyncStatus
|
|
295
309
|
|
|
296
310
|
class Comment = Telnyx::Models::Comment
|
|
@@ -1183,12 +1197,18 @@ module Telnyx
|
|
|
1183
1197
|
|
|
1184
1198
|
class PrivateWirelessGatewayStatus = Telnyx::Models::PrivateWirelessGatewayStatus
|
|
1185
1199
|
|
|
1200
|
+
class PronunciationDictAliasItem = Telnyx::Models::PronunciationDictAliasItem
|
|
1201
|
+
|
|
1186
1202
|
class PronunciationDictCreateParams = Telnyx::Models::PronunciationDictCreateParams
|
|
1187
1203
|
|
|
1204
|
+
class PronunciationDictData = Telnyx::Models::PronunciationDictData
|
|
1205
|
+
|
|
1188
1206
|
class PronunciationDictDeleteParams = Telnyx::Models::PronunciationDictDeleteParams
|
|
1189
1207
|
|
|
1190
1208
|
class PronunciationDictListParams = Telnyx::Models::PronunciationDictListParams
|
|
1191
1209
|
|
|
1210
|
+
class PronunciationDictPhonemeItem = Telnyx::Models::PronunciationDictPhonemeItem
|
|
1211
|
+
|
|
1192
1212
|
class PronunciationDictRetrieveParams = Telnyx::Models::PronunciationDictRetrieveParams
|
|
1193
1213
|
|
|
1194
1214
|
class PronunciationDictUpdateParams = Telnyx::Models::PronunciationDictUpdateParams
|
|
@@ -12,6 +12,7 @@ module Telnyx
|
|
|
12
12
|
|
|
13
13
|
def answer: (
|
|
14
14
|
String call_control_id,
|
|
15
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
15
16
|
?billing_group_id: String,
|
|
16
17
|
?client_state: String,
|
|
17
18
|
?command_id: String,
|
|
@@ -250,7 +251,7 @@ module Telnyx
|
|
|
250
251
|
|
|
251
252
|
def start_ai_assistant: (
|
|
252
253
|
String call_control_id,
|
|
253
|
-
?assistant: Telnyx::
|
|
254
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
254
255
|
?client_state: String,
|
|
255
256
|
?command_id: String,
|
|
256
257
|
?greeting: String,
|
|
@@ -9,6 +9,7 @@ module Telnyx
|
|
|
9
9
|
to: Telnyx::Models::CallDialParams::to,
|
|
10
10
|
?answering_machine_detection: Telnyx::Models::CallDialParams::answering_machine_detection,
|
|
11
11
|
?answering_machine_detection_config: Telnyx::CallDialParams::AnsweringMachineDetectionConfig,
|
|
12
|
+
?assistant: Telnyx::CallAssistantRequest,
|
|
12
13
|
?audio_url: String,
|
|
13
14
|
?billing_group_id: String,
|
|
14
15
|
?bridge_intent: bool,
|
|
@@ -23,7 +23,7 @@ module Telnyx
|
|
|
23
23
|
?page_number: Integer,
|
|
24
24
|
?page_size: Integer,
|
|
25
25
|
?request_options: Telnyx::request_opts
|
|
26
|
-
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::
|
|
26
|
+
) -> Telnyx::Internal::DefaultFlatPagination[Telnyx::PronunciationDictData]
|
|
27
27
|
|
|
28
28
|
def delete: (String id, ?request_options: Telnyx::request_opts) -> nil
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ module Telnyx
|
|
|
33
33
|
|
|
34
34
|
def calls: (
|
|
35
35
|
String account_sid,
|
|
36
|
-
|
|
36
|
+
params: Telnyx::Models::Texml::Accounts::CallCallsParams::params,
|
|
37
37
|
?request_options: Telnyx::request_opts
|
|
38
38
|
) -> Telnyx::Models::Texml::Accounts::CallCallsResponse
|
|
39
39
|
|
|
@@ -2,7 +2,7 @@ module Telnyx
|
|
|
2
2
|
module Resources
|
|
3
3
|
class VoiceClones
|
|
4
4
|
def create: (
|
|
5
|
-
|
|
5
|
+
params: Telnyx::Models::VoiceCloneCreateParams::params,
|
|
6
6
|
?request_options: Telnyx::request_opts
|
|
7
7
|
) -> Telnyx::Models::VoiceCloneCreateResponse
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ module Telnyx
|
|
|
26
26
|
def delete: (String id, ?request_options: Telnyx::request_opts) -> nil
|
|
27
27
|
|
|
28
28
|
def create_from_upload: (
|
|
29
|
-
|
|
29
|
+
upload_params: Telnyx::Models::VoiceCloneCreateFromUploadParams::upload_params,
|
|
30
30
|
?request_options: Telnyx::request_opts
|
|
31
31
|
) -> Telnyx::Models::VoiceCloneCreateFromUploadResponse
|
|
32
32
|
|
|
@@ -4,6 +4,11 @@ module Telnyx
|
|
|
4
4
|
class PhoneNumbers
|
|
5
5
|
class Profile
|
|
6
6
|
class Photo
|
|
7
|
+
def retrieve: (
|
|
8
|
+
String phone_number,
|
|
9
|
+
?request_options: Telnyx::request_opts
|
|
10
|
+
) -> Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse
|
|
11
|
+
|
|
7
12
|
def delete: (
|
|
8
13
|
String phone_number,
|
|
9
14
|
?request_options: Telnyx::request_opts
|
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.72.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-04-
|
|
11
|
+
date: 2026-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- lib/telnyx/internal/type/union.rb
|
|
94
94
|
- lib/telnyx/internal/type/unknown.rb
|
|
95
95
|
- lib/telnyx/internal/util.rb
|
|
96
|
+
- lib/telnyx/lib.rb
|
|
96
97
|
- lib/telnyx/lib/webhook_verification.rb
|
|
97
98
|
- lib/telnyx/lib/webhook_verification_error.rb
|
|
98
99
|
- lib/telnyx/lib/webhooks_ed25519.rb
|
|
@@ -456,6 +457,8 @@ files:
|
|
|
456
457
|
- lib/telnyx/models/billing_group_retrieve_response.rb
|
|
457
458
|
- lib/telnyx/models/billing_group_update_params.rb
|
|
458
459
|
- lib/telnyx/models/billing_group_update_response.rb
|
|
460
|
+
- lib/telnyx/models/book_appointment_tool.rb
|
|
461
|
+
- lib/telnyx/models/book_appointment_tool_params.rb
|
|
459
462
|
- lib/telnyx/models/bulk_messaging_settings_update_phone_numbers.rb
|
|
460
463
|
- lib/telnyx/models/bulk_sim_card_action_list_params.rb
|
|
461
464
|
- lib/telnyx/models/bulk_sim_card_action_list_response.rb
|
|
@@ -487,6 +490,7 @@ files:
|
|
|
487
490
|
- lib/telnyx/models/call_ai_gather_partial_results_webhook_event.rb
|
|
488
491
|
- lib/telnyx/models/call_answered.rb
|
|
489
492
|
- lib/telnyx/models/call_answered_webhook_event.rb
|
|
493
|
+
- lib/telnyx/models/call_assistant_request.rb
|
|
490
494
|
- lib/telnyx/models/call_bridged.rb
|
|
491
495
|
- lib/telnyx/models/call_bridged_webhook_event.rb
|
|
492
496
|
- lib/telnyx/models/call_control_application.rb
|
|
@@ -501,6 +505,8 @@ files:
|
|
|
501
505
|
- lib/telnyx/models/call_control_application_retrieve_response.rb
|
|
502
506
|
- lib/telnyx/models/call_control_application_update_params.rb
|
|
503
507
|
- lib/telnyx/models/call_control_application_update_response.rb
|
|
508
|
+
- lib/telnyx/models/call_control_bucket_ids.rb
|
|
509
|
+
- lib/telnyx/models/call_control_retrieval_tool.rb
|
|
504
510
|
- lib/telnyx/models/call_conversation_ended.rb
|
|
505
511
|
- lib/telnyx/models/call_conversation_ended_webhook_event.rb
|
|
506
512
|
- lib/telnyx/models/call_conversation_insights_generated.rb
|
|
@@ -673,6 +679,8 @@ files:
|
|
|
673
679
|
- lib/telnyx/models/charges_breakdown_retrieve_response.rb
|
|
674
680
|
- lib/telnyx/models/charges_summary_retrieve_params.rb
|
|
675
681
|
- lib/telnyx/models/charges_summary_retrieve_response.rb
|
|
682
|
+
- lib/telnyx/models/check_availability_tool.rb
|
|
683
|
+
- lib/telnyx/models/check_availability_tool_params.rb
|
|
676
684
|
- lib/telnyx/models/cloudflare_sync_status.rb
|
|
677
685
|
- lib/telnyx/models/comment.rb
|
|
678
686
|
- lib/telnyx/models/comment_create_params.rb
|
|
@@ -1788,11 +1796,13 @@ files:
|
|
|
1788
1796
|
- lib/telnyx/models/private_wireless_gateway_retrieve_params.rb
|
|
1789
1797
|
- lib/telnyx/models/private_wireless_gateway_retrieve_response.rb
|
|
1790
1798
|
- lib/telnyx/models/private_wireless_gateway_status.rb
|
|
1799
|
+
- lib/telnyx/models/pronunciation_dict_alias_item.rb
|
|
1791
1800
|
- lib/telnyx/models/pronunciation_dict_create_params.rb
|
|
1792
1801
|
- lib/telnyx/models/pronunciation_dict_create_response.rb
|
|
1802
|
+
- lib/telnyx/models/pronunciation_dict_data.rb
|
|
1793
1803
|
- lib/telnyx/models/pronunciation_dict_delete_params.rb
|
|
1794
1804
|
- lib/telnyx/models/pronunciation_dict_list_params.rb
|
|
1795
|
-
- lib/telnyx/models/
|
|
1805
|
+
- lib/telnyx/models/pronunciation_dict_phoneme_item.rb
|
|
1796
1806
|
- lib/telnyx/models/pronunciation_dict_retrieve_params.rb
|
|
1797
1807
|
- lib/telnyx/models/pronunciation_dict_retrieve_response.rb
|
|
1798
1808
|
- lib/telnyx/models/pronunciation_dict_update_params.rb
|
|
@@ -2345,6 +2355,8 @@ files:
|
|
|
2345
2355
|
- lib/telnyx/models/whatsapp/phone_numbers/calling_setting_update_params.rb
|
|
2346
2356
|
- lib/telnyx/models/whatsapp/phone_numbers/calling_setting_update_response.rb
|
|
2347
2357
|
- lib/telnyx/models/whatsapp/phone_numbers/profile/photo_delete_params.rb
|
|
2358
|
+
- lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb
|
|
2359
|
+
- lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb
|
|
2348
2360
|
- lib/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_params.rb
|
|
2349
2361
|
- lib/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rb
|
|
2350
2362
|
- lib/telnyx/models/whatsapp/phone_numbers/profile_retrieve_params.rb
|
|
@@ -3125,6 +3137,8 @@ files:
|
|
|
3125
3137
|
- rbi/telnyx/models/billing_group_retrieve_response.rbi
|
|
3126
3138
|
- rbi/telnyx/models/billing_group_update_params.rbi
|
|
3127
3139
|
- rbi/telnyx/models/billing_group_update_response.rbi
|
|
3140
|
+
- rbi/telnyx/models/book_appointment_tool.rbi
|
|
3141
|
+
- rbi/telnyx/models/book_appointment_tool_params.rbi
|
|
3128
3142
|
- rbi/telnyx/models/bulk_messaging_settings_update_phone_numbers.rbi
|
|
3129
3143
|
- rbi/telnyx/models/bulk_sim_card_action_list_params.rbi
|
|
3130
3144
|
- rbi/telnyx/models/bulk_sim_card_action_list_response.rbi
|
|
@@ -3156,6 +3170,7 @@ files:
|
|
|
3156
3170
|
- rbi/telnyx/models/call_ai_gather_partial_results_webhook_event.rbi
|
|
3157
3171
|
- rbi/telnyx/models/call_answered.rbi
|
|
3158
3172
|
- rbi/telnyx/models/call_answered_webhook_event.rbi
|
|
3173
|
+
- rbi/telnyx/models/call_assistant_request.rbi
|
|
3159
3174
|
- rbi/telnyx/models/call_bridged.rbi
|
|
3160
3175
|
- rbi/telnyx/models/call_bridged_webhook_event.rbi
|
|
3161
3176
|
- rbi/telnyx/models/call_control_application.rbi
|
|
@@ -3170,6 +3185,8 @@ files:
|
|
|
3170
3185
|
- rbi/telnyx/models/call_control_application_retrieve_response.rbi
|
|
3171
3186
|
- rbi/telnyx/models/call_control_application_update_params.rbi
|
|
3172
3187
|
- rbi/telnyx/models/call_control_application_update_response.rbi
|
|
3188
|
+
- rbi/telnyx/models/call_control_bucket_ids.rbi
|
|
3189
|
+
- rbi/telnyx/models/call_control_retrieval_tool.rbi
|
|
3173
3190
|
- rbi/telnyx/models/call_conversation_ended.rbi
|
|
3174
3191
|
- rbi/telnyx/models/call_conversation_ended_webhook_event.rbi
|
|
3175
3192
|
- rbi/telnyx/models/call_conversation_insights_generated.rbi
|
|
@@ -3342,6 +3359,8 @@ files:
|
|
|
3342
3359
|
- rbi/telnyx/models/charges_breakdown_retrieve_response.rbi
|
|
3343
3360
|
- rbi/telnyx/models/charges_summary_retrieve_params.rbi
|
|
3344
3361
|
- rbi/telnyx/models/charges_summary_retrieve_response.rbi
|
|
3362
|
+
- rbi/telnyx/models/check_availability_tool.rbi
|
|
3363
|
+
- rbi/telnyx/models/check_availability_tool_params.rbi
|
|
3345
3364
|
- rbi/telnyx/models/cloudflare_sync_status.rbi
|
|
3346
3365
|
- rbi/telnyx/models/comment.rbi
|
|
3347
3366
|
- rbi/telnyx/models/comment_create_params.rbi
|
|
@@ -4457,11 +4476,13 @@ files:
|
|
|
4457
4476
|
- rbi/telnyx/models/private_wireless_gateway_retrieve_params.rbi
|
|
4458
4477
|
- rbi/telnyx/models/private_wireless_gateway_retrieve_response.rbi
|
|
4459
4478
|
- rbi/telnyx/models/private_wireless_gateway_status.rbi
|
|
4479
|
+
- rbi/telnyx/models/pronunciation_dict_alias_item.rbi
|
|
4460
4480
|
- rbi/telnyx/models/pronunciation_dict_create_params.rbi
|
|
4461
4481
|
- rbi/telnyx/models/pronunciation_dict_create_response.rbi
|
|
4482
|
+
- rbi/telnyx/models/pronunciation_dict_data.rbi
|
|
4462
4483
|
- rbi/telnyx/models/pronunciation_dict_delete_params.rbi
|
|
4463
4484
|
- rbi/telnyx/models/pronunciation_dict_list_params.rbi
|
|
4464
|
-
- rbi/telnyx/models/
|
|
4485
|
+
- rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi
|
|
4465
4486
|
- rbi/telnyx/models/pronunciation_dict_retrieve_params.rbi
|
|
4466
4487
|
- rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi
|
|
4467
4488
|
- rbi/telnyx/models/pronunciation_dict_update_params.rbi
|
|
@@ -5014,6 +5035,8 @@ files:
|
|
|
5014
5035
|
- rbi/telnyx/models/whatsapp/phone_numbers/calling_setting_update_params.rbi
|
|
5015
5036
|
- rbi/telnyx/models/whatsapp/phone_numbers/calling_setting_update_response.rbi
|
|
5016
5037
|
- rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_delete_params.rbi
|
|
5038
|
+
- rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi
|
|
5039
|
+
- rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi
|
|
5017
5040
|
- rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_params.rbi
|
|
5018
5041
|
- rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rbi
|
|
5019
5042
|
- rbi/telnyx/models/whatsapp/phone_numbers/profile_retrieve_params.rbi
|
|
@@ -5785,6 +5808,8 @@ files:
|
|
|
5785
5808
|
- sig/telnyx/models/billing_group_retrieve_response.rbs
|
|
5786
5809
|
- sig/telnyx/models/billing_group_update_params.rbs
|
|
5787
5810
|
- sig/telnyx/models/billing_group_update_response.rbs
|
|
5811
|
+
- sig/telnyx/models/book_appointment_tool.rbs
|
|
5812
|
+
- sig/telnyx/models/book_appointment_tool_params.rbs
|
|
5788
5813
|
- sig/telnyx/models/bulk_messaging_settings_update_phone_numbers.rbs
|
|
5789
5814
|
- sig/telnyx/models/bulk_sim_card_action_list_params.rbs
|
|
5790
5815
|
- sig/telnyx/models/bulk_sim_card_action_list_response.rbs
|
|
@@ -5816,6 +5841,7 @@ files:
|
|
|
5816
5841
|
- sig/telnyx/models/call_ai_gather_partial_results_webhook_event.rbs
|
|
5817
5842
|
- sig/telnyx/models/call_answered.rbs
|
|
5818
5843
|
- sig/telnyx/models/call_answered_webhook_event.rbs
|
|
5844
|
+
- sig/telnyx/models/call_assistant_request.rbs
|
|
5819
5845
|
- sig/telnyx/models/call_bridged.rbs
|
|
5820
5846
|
- sig/telnyx/models/call_bridged_webhook_event.rbs
|
|
5821
5847
|
- sig/telnyx/models/call_control_application.rbs
|
|
@@ -5830,6 +5856,8 @@ files:
|
|
|
5830
5856
|
- sig/telnyx/models/call_control_application_retrieve_response.rbs
|
|
5831
5857
|
- sig/telnyx/models/call_control_application_update_params.rbs
|
|
5832
5858
|
- sig/telnyx/models/call_control_application_update_response.rbs
|
|
5859
|
+
- sig/telnyx/models/call_control_bucket_ids.rbs
|
|
5860
|
+
- sig/telnyx/models/call_control_retrieval_tool.rbs
|
|
5833
5861
|
- sig/telnyx/models/call_conversation_ended.rbs
|
|
5834
5862
|
- sig/telnyx/models/call_conversation_ended_webhook_event.rbs
|
|
5835
5863
|
- sig/telnyx/models/call_conversation_insights_generated.rbs
|
|
@@ -6002,6 +6030,8 @@ files:
|
|
|
6002
6030
|
- sig/telnyx/models/charges_breakdown_retrieve_response.rbs
|
|
6003
6031
|
- sig/telnyx/models/charges_summary_retrieve_params.rbs
|
|
6004
6032
|
- sig/telnyx/models/charges_summary_retrieve_response.rbs
|
|
6033
|
+
- sig/telnyx/models/check_availability_tool.rbs
|
|
6034
|
+
- sig/telnyx/models/check_availability_tool_params.rbs
|
|
6005
6035
|
- sig/telnyx/models/cloudflare_sync_status.rbs
|
|
6006
6036
|
- sig/telnyx/models/comment.rbs
|
|
6007
6037
|
- sig/telnyx/models/comment_create_params.rbs
|
|
@@ -7117,11 +7147,13 @@ files:
|
|
|
7117
7147
|
- sig/telnyx/models/private_wireless_gateway_retrieve_params.rbs
|
|
7118
7148
|
- sig/telnyx/models/private_wireless_gateway_retrieve_response.rbs
|
|
7119
7149
|
- sig/telnyx/models/private_wireless_gateway_status.rbs
|
|
7150
|
+
- sig/telnyx/models/pronunciation_dict_alias_item.rbs
|
|
7120
7151
|
- sig/telnyx/models/pronunciation_dict_create_params.rbs
|
|
7121
7152
|
- sig/telnyx/models/pronunciation_dict_create_response.rbs
|
|
7153
|
+
- sig/telnyx/models/pronunciation_dict_data.rbs
|
|
7122
7154
|
- sig/telnyx/models/pronunciation_dict_delete_params.rbs
|
|
7123
7155
|
- sig/telnyx/models/pronunciation_dict_list_params.rbs
|
|
7124
|
-
- sig/telnyx/models/
|
|
7156
|
+
- sig/telnyx/models/pronunciation_dict_phoneme_item.rbs
|
|
7125
7157
|
- sig/telnyx/models/pronunciation_dict_retrieve_params.rbs
|
|
7126
7158
|
- sig/telnyx/models/pronunciation_dict_retrieve_response.rbs
|
|
7127
7159
|
- sig/telnyx/models/pronunciation_dict_update_params.rbs
|
|
@@ -7674,6 +7706,8 @@ files:
|
|
|
7674
7706
|
- sig/telnyx/models/whatsapp/phone_numbers/calling_setting_update_params.rbs
|
|
7675
7707
|
- sig/telnyx/models/whatsapp/phone_numbers/calling_setting_update_response.rbs
|
|
7676
7708
|
- sig/telnyx/models/whatsapp/phone_numbers/profile/photo_delete_params.rbs
|
|
7709
|
+
- sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs
|
|
7710
|
+
- sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs
|
|
7677
7711
|
- sig/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_params.rbs
|
|
7678
7712
|
- sig/telnyx/models/whatsapp/phone_numbers/profile/photo_upload_response.rbs
|
|
7679
7713
|
- sig/telnyx/models/whatsapp/phone_numbers/profile_retrieve_params.rbs
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Telnyx
|
|
4
|
-
module Models
|
|
5
|
-
# @see Telnyx::Resources::PronunciationDicts#list
|
|
6
|
-
class PronunciationDictListResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute id
|
|
8
|
-
# Unique identifier for the pronunciation dictionary.
|
|
9
|
-
#
|
|
10
|
-
# @return [String, nil]
|
|
11
|
-
optional :id, String
|
|
12
|
-
|
|
13
|
-
# @!attribute created_at
|
|
14
|
-
# ISO 8601 timestamp with millisecond precision.
|
|
15
|
-
#
|
|
16
|
-
# @return [Time, nil]
|
|
17
|
-
optional :created_at, Time
|
|
18
|
-
|
|
19
|
-
# @!attribute items
|
|
20
|
-
# List of pronunciation items (alias or phoneme type).
|
|
21
|
-
#
|
|
22
|
-
# @return [Array<Telnyx::Models::PronunciationDictListResponse::Item::Alias, Telnyx::Models::PronunciationDictListResponse::Item::Phoneme>, nil]
|
|
23
|
-
optional :items,
|
|
24
|
-
-> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::Models::PronunciationDictListResponse::Item] }
|
|
25
|
-
|
|
26
|
-
# @!attribute name
|
|
27
|
-
# Human-readable name for the dictionary. Must be unique within the organization.
|
|
28
|
-
#
|
|
29
|
-
# @return [String, nil]
|
|
30
|
-
optional :name, String
|
|
31
|
-
|
|
32
|
-
# @!attribute record_type
|
|
33
|
-
# Identifies the resource type.
|
|
34
|
-
#
|
|
35
|
-
# @return [Symbol, Telnyx::Models::PronunciationDictListResponse::RecordType, nil]
|
|
36
|
-
optional :record_type, enum: -> { Telnyx::Models::PronunciationDictListResponse::RecordType }
|
|
37
|
-
|
|
38
|
-
# @!attribute updated_at
|
|
39
|
-
# ISO 8601 timestamp with millisecond precision.
|
|
40
|
-
#
|
|
41
|
-
# @return [Time, nil]
|
|
42
|
-
optional :updated_at, Time
|
|
43
|
-
|
|
44
|
-
# @!attribute version
|
|
45
|
-
# Auto-incrementing version number. Increases by 1 on each update. Used for
|
|
46
|
-
# optimistic concurrency control and cache invalidation.
|
|
47
|
-
#
|
|
48
|
-
# @return [Integer, nil]
|
|
49
|
-
optional :version, Integer
|
|
50
|
-
|
|
51
|
-
# @!method initialize(id: nil, created_at: nil, items: nil, name: nil, record_type: nil, updated_at: nil, version: nil)
|
|
52
|
-
# Some parameter documentations has been truncated, see
|
|
53
|
-
# {Telnyx::Models::PronunciationDictListResponse} for more details.
|
|
54
|
-
#
|
|
55
|
-
# A pronunciation dictionary record.
|
|
56
|
-
#
|
|
57
|
-
# @param id [String] Unique identifier for the pronunciation dictionary.
|
|
58
|
-
#
|
|
59
|
-
# @param created_at [Time] ISO 8601 timestamp with millisecond precision.
|
|
60
|
-
#
|
|
61
|
-
# @param items [Array<Telnyx::Models::PronunciationDictListResponse::Item::Alias, Telnyx::Models::PronunciationDictListResponse::Item::Phoneme>] List of pronunciation items (alias or phoneme type).
|
|
62
|
-
#
|
|
63
|
-
# @param name [String] Human-readable name for the dictionary. Must be unique within the organization.
|
|
64
|
-
#
|
|
65
|
-
# @param record_type [Symbol, Telnyx::Models::PronunciationDictListResponse::RecordType] Identifies the resource type.
|
|
66
|
-
#
|
|
67
|
-
# @param updated_at [Time] ISO 8601 timestamp with millisecond precision.
|
|
68
|
-
#
|
|
69
|
-
# @param version [Integer] Auto-incrementing version number. Increases by 1 on each update. Used for optimi
|
|
70
|
-
|
|
71
|
-
# A single pronunciation dictionary item. Use type 'alias' to replace matched text
|
|
72
|
-
# with a spoken alias, or type 'phoneme' to specify exact pronunciation using IPA
|
|
73
|
-
# notation.
|
|
74
|
-
module Item
|
|
75
|
-
extend Telnyx::Internal::Type::Union
|
|
76
|
-
|
|
77
|
-
discriminator :type
|
|
78
|
-
|
|
79
|
-
# An alias pronunciation item. When the `text` value is found in input, it is replaced with the `alias` before speech synthesis.
|
|
80
|
-
variant :alias, -> { Telnyx::Models::PronunciationDictListResponse::Item::Alias }
|
|
81
|
-
|
|
82
|
-
# A phoneme pronunciation item. When the `text` value is found in input, it is pronounced using the specified IPA phoneme notation.
|
|
83
|
-
variant :phoneme, -> { Telnyx::Models::PronunciationDictListResponse::Item::Phoneme }
|
|
84
|
-
|
|
85
|
-
class Alias < Telnyx::Internal::Type::BaseModel
|
|
86
|
-
# @!attribute alias_
|
|
87
|
-
# The replacement text that will be spoken instead.
|
|
88
|
-
#
|
|
89
|
-
# @return [String]
|
|
90
|
-
required :alias_, String, api_name: :alias
|
|
91
|
-
|
|
92
|
-
# @!attribute text
|
|
93
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
94
|
-
# synthesis.
|
|
95
|
-
#
|
|
96
|
-
# @return [String]
|
|
97
|
-
required :text, String
|
|
98
|
-
|
|
99
|
-
# @!attribute type
|
|
100
|
-
# The item type.
|
|
101
|
-
#
|
|
102
|
-
# @return [Symbol, :alias]
|
|
103
|
-
required :type, const: :alias
|
|
104
|
-
|
|
105
|
-
# @!method initialize(alias_:, text:, type: :alias)
|
|
106
|
-
# Some parameter documentations has been truncated, see
|
|
107
|
-
# {Telnyx::Models::PronunciationDictListResponse::Item::Alias} for more details.
|
|
108
|
-
#
|
|
109
|
-
# An alias pronunciation item. When the `text` value is found in input, it is
|
|
110
|
-
# replaced with the `alias` before speech synthesis.
|
|
111
|
-
#
|
|
112
|
-
# @param alias_ [String] The replacement text that will be spoken instead.
|
|
113
|
-
#
|
|
114
|
-
# @param text [String] The text to match in the input. Case-insensitive matching is used during synthes
|
|
115
|
-
#
|
|
116
|
-
# @param type [Symbol, :alias] The item type.
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
class Phoneme < Telnyx::Internal::Type::BaseModel
|
|
120
|
-
# @!attribute alphabet
|
|
121
|
-
# The phonetic alphabet used for the phoneme notation.
|
|
122
|
-
#
|
|
123
|
-
# @return [Symbol, Telnyx::Models::PronunciationDictListResponse::Item::Phoneme::Alphabet]
|
|
124
|
-
required :alphabet, enum: -> { Telnyx::Models::PronunciationDictListResponse::Item::Phoneme::Alphabet }
|
|
125
|
-
|
|
126
|
-
# @!attribute phoneme
|
|
127
|
-
# The phoneme notation representing the desired pronunciation.
|
|
128
|
-
#
|
|
129
|
-
# @return [String]
|
|
130
|
-
required :phoneme, String
|
|
131
|
-
|
|
132
|
-
# @!attribute text
|
|
133
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
134
|
-
# synthesis.
|
|
135
|
-
#
|
|
136
|
-
# @return [String]
|
|
137
|
-
required :text, String
|
|
138
|
-
|
|
139
|
-
# @!attribute type
|
|
140
|
-
# The item type.
|
|
141
|
-
#
|
|
142
|
-
# @return [Symbol, :phoneme]
|
|
143
|
-
required :type, const: :phoneme
|
|
144
|
-
|
|
145
|
-
# @!method initialize(alphabet:, phoneme:, text:, type: :phoneme)
|
|
146
|
-
# Some parameter documentations has been truncated, see
|
|
147
|
-
# {Telnyx::Models::PronunciationDictListResponse::Item::Phoneme} for more details.
|
|
148
|
-
#
|
|
149
|
-
# A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
150
|
-
# pronounced using the specified IPA phoneme notation.
|
|
151
|
-
#
|
|
152
|
-
# @param alphabet [Symbol, Telnyx::Models::PronunciationDictListResponse::Item::Phoneme::Alphabet] The phonetic alphabet used for the phoneme notation.
|
|
153
|
-
#
|
|
154
|
-
# @param phoneme [String] The phoneme notation representing the desired pronunciation.
|
|
155
|
-
#
|
|
156
|
-
# @param text [String] The text to match in the input. Case-insensitive matching is used during synthes
|
|
157
|
-
#
|
|
158
|
-
# @param type [Symbol, :phoneme] The item type.
|
|
159
|
-
|
|
160
|
-
# The phonetic alphabet used for the phoneme notation.
|
|
161
|
-
#
|
|
162
|
-
# @see Telnyx::Models::PronunciationDictListResponse::Item::Phoneme#alphabet
|
|
163
|
-
module Alphabet
|
|
164
|
-
extend Telnyx::Internal::Type::Enum
|
|
165
|
-
|
|
166
|
-
IPA = :ipa
|
|
167
|
-
|
|
168
|
-
# @!method self.values
|
|
169
|
-
# @return [Array<Symbol>]
|
|
170
|
-
end
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# @!method self.variants
|
|
174
|
-
# @return [Array(Telnyx::Models::PronunciationDictListResponse::Item::Alias, Telnyx::Models::PronunciationDictListResponse::Item::Phoneme)]
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
# Identifies the resource type.
|
|
178
|
-
#
|
|
179
|
-
# @see Telnyx::Models::PronunciationDictListResponse#record_type
|
|
180
|
-
module RecordType
|
|
181
|
-
extend Telnyx::Internal::Type::Enum
|
|
182
|
-
|
|
183
|
-
PRONUNCIATION_DICT = :pronunciation_dict
|
|
184
|
-
|
|
185
|
-
# @!method self.values
|
|
186
|
-
# @return [Array<Symbol>]
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
end
|