telnyx 5.0.0 → 5.1.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 +38 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +4 -0
- data/lib/telnyx/internal/type/union.rb +1 -1
- data/lib/telnyx/models/ai/assistant.rb +39 -4
- data/lib/telnyx/models/ai/assistant_create_params.rb +187 -6
- data/lib/telnyx/models/ai/assistant_imports_params.rb +10 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +400 -3
- data/lib/telnyx/models/ai/assistant_update_params.rb +187 -6
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +189 -6
- data/lib/telnyx/models/ai/bucket_ids.rb +7 -1
- data/lib/telnyx/models/ai/chat_create_completion_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +187 -6
- data/lib/telnyx/models/ai/messaging_settings.rb +10 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +3 -3
- data/lib/telnyx/models/ai/telephony_settings.rb +142 -1
- data/lib/telnyx/models/ai/transfer_tool.rb +46 -3
- data/lib/telnyx/models/ai/voice_settings.rb +1 -1
- data/lib/telnyx/models/ai/webhook_tool.rb +256 -3
- data/lib/telnyx/models/call_control_application_list_params.rb +16 -18
- data/lib/telnyx/models/call_event_list_params.rb +16 -18
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_params.rb +289 -0
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_response.rb +18 -0
- data/lib/telnyx/models/calls/action_start_noise_suppression_params.rb +7 -4
- data/lib/telnyx/models/conference_list_params.rb +16 -18
- data/lib/telnyx/models/conference_list_participants_params.rb +16 -18
- data/lib/telnyx/models/connection_list_active_calls_params.rb +16 -18
- data/lib/telnyx/models/fax_create_params.rb +10 -1
- data/lib/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rb +1 -9
- data/lib/telnyx/models/messaging_profile.rb +11 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
- data/lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb +14 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +17 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +17 -1
- data/lib/telnyx/models/organizations/user_get_groups_report_params.rb +32 -0
- data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +132 -0
- data/lib/telnyx/models/organizations/user_list_params.rb +73 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +118 -0
- data/lib/telnyx/models/organizations/user_retrieve_params.rb +29 -0
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +129 -0
- data/lib/telnyx/models/organizations/users/action_remove_params.rb +18 -0
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +133 -0
- data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
- data/lib/telnyx/models/queues/call_list_params.rb +16 -18
- data/lib/telnyx/models/sim_card_list_params.rb +11 -3
- data/lib/telnyx/models/texml/accounts/queue_list_params.rb +64 -0
- data/lib/telnyx/models/texml/accounts/queue_list_response.rb +155 -0
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models/unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models.rb +2 -6
- data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +18 -16
- data/lib/telnyx/resources/ai/assistants.rb +15 -9
- data/lib/telnyx/resources/ai/clusters.rb +1 -1
- data/lib/telnyx/resources/ai/embeddings.rb +1 -1
- data/lib/telnyx/resources/bundle_pricing/user_bundles.rb +1 -1
- data/lib/telnyx/resources/call_control_applications.rb +8 -4
- data/lib/telnyx/resources/call_events.rb +8 -4
- data/lib/telnyx/resources/calls/actions.rb +31 -0
- data/lib/telnyx/resources/conferences.rb +16 -8
- data/lib/telnyx/resources/connections.rb +8 -4
- data/lib/telnyx/resources/faxes.rb +3 -1
- data/lib/telnyx/resources/messages.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +10 -14
- data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +6 -6
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +6 -2
- data/lib/telnyx/resources/operator_connect/actions.rb +1 -1
- data/lib/telnyx/resources/organizations/users/actions.rb +38 -0
- data/lib/telnyx/resources/organizations/users.rb +114 -0
- data/lib/telnyx/resources/organizations.rb +18 -0
- data/lib/telnyx/resources/phone_numbers/jobs.rb +1 -1
- data/lib/telnyx/resources/queues/calls.rb +8 -4
- data/lib/telnyx/resources/sim_cards/actions.rb +6 -6
- data/lib/telnyx/resources/texml/accounts/calls/recordings.rb +1 -1
- data/lib/telnyx/resources/texml/accounts/queues.rb +41 -0
- data/lib/telnyx/resources/usage_reports.rb +2 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +15 -69
- data/rbi/telnyx/client.rbi +3 -0
- data/rbi/telnyx/models/ai/assistant.rbi +91 -5
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +449 -14
- data/rbi/telnyx/models/ai/assistant_imports_params.rbi +13 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +910 -2
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +449 -14
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +454 -17
- data/rbi/telnyx/models/ai/bucket_ids.rbi +6 -0
- data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +6 -13
- data/rbi/telnyx/models/ai/inference_embedding.rbi +447 -13
- data/rbi/telnyx/models/ai/messaging_settings.rbi +13 -0
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +4 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +347 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +87 -6
- data/rbi/telnyx/models/ai/voice_settings.rbi +2 -2
- data/rbi/telnyx/models/ai/webhook_tool.rbi +584 -8
- data/rbi/telnyx/models/call_control_application_list_params.rbi +23 -35
- data/rbi/telnyx/models/call_event_list_params.rbi +23 -35
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_params.rbi +583 -0
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_response.rbi +39 -0
- data/rbi/telnyx/models/calls/action_start_noise_suppression_params.rbi +14 -6
- data/rbi/telnyx/models/conference_list_params.rbi +23 -35
- data/rbi/telnyx/models/conference_list_participants_params.rbi +23 -35
- data/rbi/telnyx/models/connection_list_active_calls_params.rbi +23 -35
- data/rbi/telnyx/models/fax_create_params.rbi +13 -0
- data/rbi/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbi +5 -21
- data/rbi/telnyx/models/messaging_profile.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbi +12 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +10 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_status.rbi +10 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_params.rbi +93 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +253 -0
- data/rbi/telnyx/models/organizations/user_list_params.rbi +152 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +231 -0
- data/rbi/telnyx/models/organizations/user_retrieve_params.rbi +55 -0
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +275 -0
- data/rbi/telnyx/models/organizations/users/action_remove_params.rbi +34 -0
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +282 -0
- data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
- data/rbi/telnyx/models/queues/call_list_params.rbi +23 -35
- data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
- data/rbi/telnyx/models/texml/accounts/queue_list_params.rbi +103 -0
- data/rbi/telnyx/models/texml/accounts/queue_list_response.rbi +269 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models.rbi +2 -6
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +26 -19
- data/rbi/telnyx/resources/ai/assistants.rbi +32 -14
- data/rbi/telnyx/resources/ai/chat.rbi +1 -1
- data/rbi/telnyx/resources/ai/clusters.rbi +1 -1
- data/rbi/telnyx/resources/ai/embeddings.rbi +1 -1
- data/rbi/telnyx/resources/bundle_pricing/user_bundles.rbi +1 -1
- data/rbi/telnyx/resources/call_control_applications.rbi +7 -1
- data/rbi/telnyx/resources/call_events.rbi +5 -1
- data/rbi/telnyx/resources/calls/actions.rbi +37 -2
- data/rbi/telnyx/resources/conferences.rbi +10 -2
- data/rbi/telnyx/resources/connections.rbi +5 -1
- data/rbi/telnyx/resources/faxes.rbi +4 -0
- data/rbi/telnyx/resources/messages.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +8 -11
- data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +6 -6
- data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
- data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +10 -0
- data/rbi/telnyx/resources/operator_connect/actions.rbi +1 -1
- data/rbi/telnyx/resources/organizations/users/actions.rbi +32 -0
- data/rbi/telnyx/resources/organizations/users.rbi +88 -0
- data/rbi/telnyx/resources/organizations.rbi +15 -0
- data/rbi/telnyx/resources/phone_numbers/jobs.rbi +1 -1
- data/rbi/telnyx/resources/queues/calls.rbi +5 -1
- data/rbi/telnyx/resources/sim_cards/actions.rbi +6 -6
- data/rbi/telnyx/resources/sim_cards.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/calls/recordings.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/queues.rbi +32 -0
- data/rbi/telnyx/resources/usage_reports.rbi +2 -2
- data/rbi/telnyx/resources/webhooks.rbi +0 -6
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistant.rbs +44 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +176 -1
- data/sig/telnyx/models/ai/assistant_imports_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_tool.rbs +367 -2
- data/sig/telnyx/models/ai/assistant_update_params.rbs +176 -1
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +178 -3
- data/sig/telnyx/models/ai/chat_create_completion_params.rbs +4 -7
- data/sig/telnyx/models/ai/inference_embedding.rbs +178 -3
- data/sig/telnyx/models/ai/messaging_settings.rbs +7 -0
- data/sig/telnyx/models/ai/retrieval_tool.rbs +4 -4
- data/sig/telnyx/models/ai/telephony_settings.rbs +133 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +42 -4
- data/sig/telnyx/models/ai/webhook_tool.rbs +241 -4
- data/sig/telnyx/models/call_control_application_list_params.rbs +17 -26
- data/sig/telnyx/models/call_event_list_params.rbs +18 -27
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_params.rbs +240 -0
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_response.rbs +20 -0
- data/sig/telnyx/models/calls/action_start_noise_suppression_params.rbs +2 -1
- data/sig/telnyx/models/conference_list_params.rbs +17 -26
- data/sig/telnyx/models/conference_list_participants_params.rbs +17 -26
- data/sig/telnyx/models/connection_list_active_calls_params.rbs +20 -27
- data/sig/telnyx/models/fax_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbs +3 -13
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_status.rbs +5 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_params.rbs +43 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +104 -0
- data/sig/telnyx/models/organizations/user_list_params.rbs +72 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +99 -0
- data/sig/telnyx/models/organizations/user_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +118 -0
- data/sig/telnyx/models/organizations/users/action_remove_params.rbs +19 -0
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +122 -0
- data/sig/telnyx/models/queues/call_list_params.rbs +20 -27
- data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/queue_list_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/queue_list_response.rbs +152 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models/unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models.rbs +2 -6
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +3 -0
- data/sig/telnyx/resources/call_control_applications.rbs +3 -1
- data/sig/telnyx/resources/call_events.rbs +3 -1
- data/sig/telnyx/resources/calls/actions.rbs +8 -0
- data/sig/telnyx/resources/conferences.rbs +6 -2
- data/sig/telnyx/resources/connections.rbs +3 -1
- data/sig/telnyx/resources/faxes.rbs +1 -0
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +1 -2
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +2 -0
- data/sig/telnyx/resources/organizations/users/actions.rbs +16 -0
- data/sig/telnyx/resources/organizations/users.rbs +31 -0
- data/sig/telnyx/resources/organizations.rbs +9 -0
- data/sig/telnyx/resources/queues/calls.rbs +3 -1
- data/sig/telnyx/resources/texml/accounts/queues.rbs +10 -0
- data/sig/telnyx/resources/webhooks.rbs +0 -6
- metadata +47 -20
- data/lib/telnyx/models/ai/inference_embedding_bucket_ids.rb +0 -31
- data/lib/telnyx/models/ai/inference_embedding_transfer_tool_params.rb +0 -93
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +0 -265
- data/lib/telnyx/models/streaming_failed_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_started_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_stopped_webhook_event.rb +0 -15
- data/rbi/telnyx/models/ai/inference_embedding_bucket_ids.rbi +0 -54
- data/rbi/telnyx/models/ai/inference_embedding_transfer_tool_params.rbi +0 -185
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +0 -621
- data/rbi/telnyx/models/streaming_failed_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_started_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_stopped_webhook_event.rbi +0 -30
- data/sig/telnyx/models/ai/inference_embedding_bucket_ids.rbs +0 -26
- data/sig/telnyx/models/ai/inference_embedding_transfer_tool_params.rbs +0 -75
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +0 -242
- data/sig/telnyx/models/streaming_failed_webhook_event.rbs +0 -15
- data/sig/telnyx/models/streaming_started_webhook_event.rbs +0 -16
- data/sig/telnyx/models/streaming_stopped_webhook_event.rbs +0 -16
|
@@ -4,6 +4,40 @@ module Telnyx
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Calls
|
|
6
6
|
class Actions
|
|
7
|
+
# Add messages to the conversation started by an AI assistant on the call.
|
|
8
|
+
sig do
|
|
9
|
+
params(
|
|
10
|
+
call_control_id: String,
|
|
11
|
+
client_state: String,
|
|
12
|
+
command_id: String,
|
|
13
|
+
messages:
|
|
14
|
+
T::Array[
|
|
15
|
+
T.any(
|
|
16
|
+
Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::User::OrHash,
|
|
17
|
+
Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Assistant::OrHash,
|
|
18
|
+
Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Tool::OrHash,
|
|
19
|
+
Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::System::OrHash,
|
|
20
|
+
Telnyx::Calls::ActionAddAIAssistantMessagesParams::Message::Developer::OrHash
|
|
21
|
+
)
|
|
22
|
+
],
|
|
23
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
24
|
+
).returns(Telnyx::Models::Calls::ActionAddAIAssistantMessagesResponse)
|
|
25
|
+
end
|
|
26
|
+
def add_ai_assistant_messages(
|
|
27
|
+
# Unique identifier and token for controlling the call
|
|
28
|
+
call_control_id,
|
|
29
|
+
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
30
|
+
# Base-64 encoded string.
|
|
31
|
+
client_state: nil,
|
|
32
|
+
# Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
33
|
+
# the same `command_id` for the same `call_control_id`.
|
|
34
|
+
command_id: nil,
|
|
35
|
+
# The messages to add to the conversation.
|
|
36
|
+
messages: nil,
|
|
37
|
+
request_options: {}
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
|
|
7
41
|
# Answer an incoming call. You must issue this command before executing subsequent
|
|
8
42
|
# commands on an incoming call.
|
|
9
43
|
#
|
|
@@ -1138,8 +1172,9 @@ module Telnyx
|
|
|
1138
1172
|
command_id: nil,
|
|
1139
1173
|
# The direction of the audio stream to be noise suppressed.
|
|
1140
1174
|
direction: nil,
|
|
1141
|
-
# The engine to use for noise suppression. For backward compatibility, engines A
|
|
1142
|
-
# and
|
|
1175
|
+
# The engine to use for noise suppression. For backward compatibility, engines A,
|
|
1176
|
+
# B, and C are also supported, but are deprecated: A - Denoiser B - DeepFilterNet
|
|
1177
|
+
# C - Krisp
|
|
1143
1178
|
noise_suppression_engine: nil,
|
|
1144
1179
|
# Configuration parameters for noise suppression engines.
|
|
1145
1180
|
noise_suppression_engine_config: nil,
|
|
@@ -107,9 +107,11 @@ module Telnyx
|
|
|
107
107
|
params(
|
|
108
108
|
filter: Telnyx::ConferenceListParams::Filter::OrHash,
|
|
109
109
|
page: Telnyx::ConferenceListParams::Page::OrHash,
|
|
110
|
+
page_number: Integer,
|
|
111
|
+
page_size: Integer,
|
|
110
112
|
region: Telnyx::ConferenceListParams::Region::OrSymbol,
|
|
111
113
|
request_options: Telnyx::RequestOptions::OrHash
|
|
112
|
-
).returns(Telnyx::Internal::
|
|
114
|
+
).returns(Telnyx::Internal::DefaultFlatPagination[Telnyx::Conference])
|
|
113
115
|
end
|
|
114
116
|
def list(
|
|
115
117
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
@@ -121,6 +123,8 @@ module Telnyx
|
|
|
121
123
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
122
124
|
# page[before], page[limit], page[size], page[number]
|
|
123
125
|
page: nil,
|
|
126
|
+
page_number: nil,
|
|
127
|
+
page_size: nil,
|
|
124
128
|
# Region where the conference data is located
|
|
125
129
|
region: nil,
|
|
126
130
|
request_options: {}
|
|
@@ -133,10 +137,12 @@ module Telnyx
|
|
|
133
137
|
conference_id: String,
|
|
134
138
|
filter: Telnyx::ConferenceListParticipantsParams::Filter::OrHash,
|
|
135
139
|
page: Telnyx::ConferenceListParticipantsParams::Page::OrHash,
|
|
140
|
+
page_number: Integer,
|
|
141
|
+
page_size: Integer,
|
|
136
142
|
region: Telnyx::ConferenceListParticipantsParams::Region::OrSymbol,
|
|
137
143
|
request_options: Telnyx::RequestOptions::OrHash
|
|
138
144
|
).returns(
|
|
139
|
-
Telnyx::Internal::
|
|
145
|
+
Telnyx::Internal::DefaultFlatPagination[
|
|
140
146
|
Telnyx::Models::ConferenceListParticipantsResponse
|
|
141
147
|
]
|
|
142
148
|
)
|
|
@@ -150,6 +156,8 @@ module Telnyx
|
|
|
150
156
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
151
157
|
# page[before], page[limit], page[size], page[number]
|
|
152
158
|
page: nil,
|
|
159
|
+
page_number: nil,
|
|
160
|
+
page_size: nil,
|
|
153
161
|
# Region where the conference data is located
|
|
154
162
|
region: nil,
|
|
155
163
|
request_options: {}
|
|
@@ -65,9 +65,11 @@ module Telnyx
|
|
|
65
65
|
params(
|
|
66
66
|
connection_id: String,
|
|
67
67
|
page: Telnyx::ConnectionListActiveCallsParams::Page::OrHash,
|
|
68
|
+
page_number: Integer,
|
|
69
|
+
page_size: Integer,
|
|
68
70
|
request_options: Telnyx::RequestOptions::OrHash
|
|
69
71
|
).returns(
|
|
70
|
-
Telnyx::Internal::
|
|
72
|
+
Telnyx::Internal::DefaultFlatPagination[
|
|
71
73
|
Telnyx::Models::ConnectionListActiveCallsResponse
|
|
72
74
|
]
|
|
73
75
|
)
|
|
@@ -78,6 +80,8 @@ module Telnyx
|
|
|
78
80
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
79
81
|
# page[before], page[limit], page[size], page[number]
|
|
80
82
|
page: nil,
|
|
83
|
+
page_number: nil,
|
|
84
|
+
page_size: nil,
|
|
81
85
|
request_options: {}
|
|
82
86
|
)
|
|
83
87
|
end
|
|
@@ -22,6 +22,7 @@ module Telnyx
|
|
|
22
22
|
connection_id: String,
|
|
23
23
|
from: String,
|
|
24
24
|
to: String,
|
|
25
|
+
black_threshold: Integer,
|
|
25
26
|
client_state: String,
|
|
26
27
|
from_display_name: String,
|
|
27
28
|
media_name: String,
|
|
@@ -43,6 +44,9 @@ module Telnyx
|
|
|
43
44
|
from:,
|
|
44
45
|
# The phone number, in E.164 format, the fax will be sent to or SIP URI
|
|
45
46
|
to:,
|
|
47
|
+
# The black threshold percentage for monochrome faxes. Only applicable if
|
|
48
|
+
# `monochrome` is set to `true`.
|
|
49
|
+
black_threshold: nil,
|
|
46
50
|
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
47
51
|
# Base-64 encoded string.
|
|
48
52
|
client_state: nil,
|
|
@@ -9,7 +9,7 @@ module Telnyx
|
|
|
9
9
|
# Note: This API endpoint can only retrieve messages that are no older than 10
|
|
10
10
|
# days since their creation. If you require messages older than this, please
|
|
11
11
|
# generate an
|
|
12
|
-
# [MDR report.](https://developers.telnyx.com/api/
|
|
12
|
+
# [MDR report.](https://developers.telnyx.com/api-reference/mdr-usage-reports/create-mdr-usage-report)
|
|
13
13
|
sig do
|
|
14
14
|
params(
|
|
15
15
|
id: String,
|
|
@@ -284,20 +284,19 @@ module Telnyx
|
|
|
284
284
|
end
|
|
285
285
|
|
|
286
286
|
# Query the status of an SMS OTP (One-Time Password) for Sole Proprietor brand
|
|
287
|
-
# verification.
|
|
287
|
+
# verification using the Brand ID.
|
|
288
288
|
#
|
|
289
289
|
# This endpoint allows you to check the delivery and verification status of an OTP
|
|
290
|
-
# sent during the Sole Proprietor brand verification process
|
|
291
|
-
#
|
|
292
|
-
#
|
|
293
|
-
# - `referenceId` - The reference ID returned when the OTP was initially triggered
|
|
294
|
-
# - `brandId` - Query parameter for portal users to look up OTP status by Brand ID
|
|
290
|
+
# sent during the Sole Proprietor brand verification process by looking it up with
|
|
291
|
+
# the brand ID.
|
|
295
292
|
#
|
|
296
293
|
# The response includes delivery status, verification dates, and detailed delivery
|
|
297
294
|
# information.
|
|
295
|
+
#
|
|
296
|
+
# **Note:** This is an alternative to the `/10dlc/brand/smsOtp/{referenceId}`
|
|
297
|
+
# endpoint when you have the Brand ID but not the reference ID.
|
|
298
298
|
sig do
|
|
299
299
|
params(
|
|
300
|
-
reference_id: String,
|
|
301
300
|
brand_id: String,
|
|
302
301
|
request_options: Telnyx::RequestOptions::OrHash
|
|
303
302
|
).returns(
|
|
@@ -305,10 +304,8 @@ module Telnyx
|
|
|
305
304
|
)
|
|
306
305
|
end
|
|
307
306
|
def retrieve_sms_otp_status(
|
|
308
|
-
# The
|
|
309
|
-
|
|
310
|
-
# Filter by Brand ID for easier lookup in portal applications
|
|
311
|
-
brand_id: nil,
|
|
307
|
+
# The Brand ID for which to query OTP status
|
|
308
|
+
brand_id,
|
|
312
309
|
request_options: {}
|
|
313
310
|
)
|
|
314
311
|
end
|
|
@@ -49,17 +49,17 @@ module Telnyx
|
|
|
49
49
|
).returns(Telnyx::MessagingProfiles::AutoRespConfigResponse)
|
|
50
50
|
end
|
|
51
51
|
def update(
|
|
52
|
-
# Path param
|
|
52
|
+
# Path param
|
|
53
53
|
autoresp_cfg_id,
|
|
54
|
-
# Path param
|
|
54
|
+
# Path param
|
|
55
55
|
profile_id:,
|
|
56
|
-
# Body param
|
|
56
|
+
# Body param
|
|
57
57
|
country_code:,
|
|
58
|
-
# Body param
|
|
58
|
+
# Body param
|
|
59
59
|
keywords:,
|
|
60
|
-
# Body param
|
|
60
|
+
# Body param
|
|
61
61
|
op:,
|
|
62
|
-
# Body param
|
|
62
|
+
# Body param
|
|
63
63
|
resp_text: nil,
|
|
64
64
|
request_options: {}
|
|
65
65
|
)
|
|
@@ -19,6 +19,7 @@ module Telnyx
|
|
|
19
19
|
mms_transcoding: T::Boolean,
|
|
20
20
|
mobile_only: T::Boolean,
|
|
21
21
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
22
|
+
smart_encoding: T::Boolean,
|
|
22
23
|
url_shortener_settings:
|
|
23
24
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
24
25
|
webhook_api_version:
|
|
@@ -57,6 +58,10 @@ module Telnyx
|
|
|
57
58
|
#
|
|
58
59
|
# To disable this feature, set the object field to `null`.
|
|
59
60
|
number_pool_settings: nil,
|
|
61
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
62
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
63
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
64
|
+
smart_encoding: nil,
|
|
60
65
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
61
66
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
62
67
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -104,6 +109,7 @@ module Telnyx
|
|
|
104
109
|
mobile_only: T::Boolean,
|
|
105
110
|
name: String,
|
|
106
111
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
112
|
+
smart_encoding: T::Boolean,
|
|
107
113
|
url_shortener_settings:
|
|
108
114
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
109
115
|
v1_secret: String,
|
|
@@ -142,6 +148,10 @@ module Telnyx
|
|
|
142
148
|
#
|
|
143
149
|
# To disable this feature, set the object field to `null`.
|
|
144
150
|
number_pool_settings: nil,
|
|
151
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
152
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
153
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
154
|
+
smart_encoding: nil,
|
|
145
155
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
146
156
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
147
157
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -38,6 +38,7 @@ module Telnyx
|
|
|
38
38
|
business_registration_country: T.nilable(String),
|
|
39
39
|
business_registration_number: T.nilable(String),
|
|
40
40
|
business_registration_type: T.nilable(String),
|
|
41
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
41
42
|
doing_business_as: T.nilable(String),
|
|
42
43
|
entity_type:
|
|
43
44
|
T.nilable(
|
|
@@ -111,6 +112,10 @@ module Telnyx
|
|
|
111
112
|
business_registration_number: nil,
|
|
112
113
|
# Type of business registration being provided. Required from January 2026.
|
|
113
114
|
business_registration_type: nil,
|
|
115
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
116
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
117
|
+
# provided for all Political use case verifications after the deadline.
|
|
118
|
+
campaign_verify_authorization_token: nil,
|
|
114
119
|
# Doing Business As (DBA) name if different from legal name
|
|
115
120
|
doing_business_as: nil,
|
|
116
121
|
# Business entity classification
|
|
@@ -180,6 +185,7 @@ module Telnyx
|
|
|
180
185
|
business_registration_country: T.nilable(String),
|
|
181
186
|
business_registration_number: T.nilable(String),
|
|
182
187
|
business_registration_type: T.nilable(String),
|
|
188
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
183
189
|
doing_business_as: T.nilable(String),
|
|
184
190
|
entity_type:
|
|
185
191
|
T.nilable(
|
|
@@ -254,6 +260,10 @@ module Telnyx
|
|
|
254
260
|
business_registration_number: nil,
|
|
255
261
|
# Type of business registration being provided. Required from January 2026.
|
|
256
262
|
business_registration_type: nil,
|
|
263
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
264
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
265
|
+
# provided for all Political use case verifications after the deadline.
|
|
266
|
+
campaign_verify_authorization_token: nil,
|
|
257
267
|
# Doing Business As (DBA) name if different from legal name
|
|
258
268
|
doing_business_as: nil,
|
|
259
269
|
# Business entity classification
|
|
@@ -8,7 +8,7 @@ module Telnyx
|
|
|
8
8
|
# integration with Microsoft Teams for the current user. This will create new
|
|
9
9
|
# external connections on the user's account if needed, and/or report the
|
|
10
10
|
# integration results as
|
|
11
|
-
# [log messages](https://developers.telnyx.com/api/external-
|
|
11
|
+
# [log messages](https://developers.telnyx.com/api-reference/external-connections/list-all-log-messages#list-all-log-messages).
|
|
12
12
|
sig do
|
|
13
13
|
params(request_options: Telnyx::RequestOptions::OrHash).returns(
|
|
14
14
|
Telnyx::Models::OperatorConnect::ActionRefreshResponse
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Resources
|
|
5
|
+
class Organizations
|
|
6
|
+
class Users
|
|
7
|
+
class Actions
|
|
8
|
+
# Deletes a user in your organization.
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
id: String,
|
|
12
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
13
|
+
).returns(
|
|
14
|
+
Telnyx::Models::Organizations::Users::ActionRemoveResponse
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
def remove(
|
|
18
|
+
# Organization User ID
|
|
19
|
+
id,
|
|
20
|
+
request_options: {}
|
|
21
|
+
)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# @api private
|
|
25
|
+
sig { params(client: Telnyx::Client).returns(T.attached_class) }
|
|
26
|
+
def self.new(client:)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Resources
|
|
5
|
+
class Organizations
|
|
6
|
+
class Users
|
|
7
|
+
sig { returns(Telnyx::Resources::Organizations::Users::Actions) }
|
|
8
|
+
attr_reader :actions
|
|
9
|
+
|
|
10
|
+
# Returns a user in your organization.
|
|
11
|
+
sig do
|
|
12
|
+
params(
|
|
13
|
+
id: String,
|
|
14
|
+
include_groups: T::Boolean,
|
|
15
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
16
|
+
).returns(Telnyx::Models::Organizations::UserRetrieveResponse)
|
|
17
|
+
end
|
|
18
|
+
def retrieve(
|
|
19
|
+
# Organization User ID
|
|
20
|
+
id,
|
|
21
|
+
# When set to true, includes the groups array for each user in the response. The
|
|
22
|
+
# groups array contains objects with id and name for each group the user belongs
|
|
23
|
+
# to.
|
|
24
|
+
include_groups: nil,
|
|
25
|
+
request_options: {}
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Returns a list of the users in your organization.
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
filter_email: String,
|
|
33
|
+
filter_user_status:
|
|
34
|
+
Telnyx::Organizations::UserListParams::FilterUserStatus::OrSymbol,
|
|
35
|
+
include_groups: T::Boolean,
|
|
36
|
+
page_number: Integer,
|
|
37
|
+
page_size: Integer,
|
|
38
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
39
|
+
).returns(
|
|
40
|
+
Telnyx::Internal::DefaultFlatPagination[
|
|
41
|
+
Telnyx::Models::Organizations::UserListResponse
|
|
42
|
+
]
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
def list(
|
|
46
|
+
# Filter by email address (partial match)
|
|
47
|
+
filter_email: nil,
|
|
48
|
+
# Filter by user status
|
|
49
|
+
filter_user_status: nil,
|
|
50
|
+
# When set to true, includes the groups array for each user in the response. The
|
|
51
|
+
# groups array contains objects with id and name for each group the user belongs
|
|
52
|
+
# to.
|
|
53
|
+
include_groups: nil,
|
|
54
|
+
# The page number to load
|
|
55
|
+
page_number: nil,
|
|
56
|
+
# The size of the page
|
|
57
|
+
page_size: nil,
|
|
58
|
+
request_options: {}
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Returns a report of all users in your organization with their group memberships.
|
|
63
|
+
# This endpoint returns all users without pagination and always includes group
|
|
64
|
+
# information. The report can be retrieved in JSON or CSV format by sending
|
|
65
|
+
# specific content-type headers.
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
accept:
|
|
69
|
+
Telnyx::Organizations::UserGetGroupsReportParams::Accept::OrSymbol,
|
|
70
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
71
|
+
).returns(Telnyx::Models::Organizations::UserGetGroupsReportResponse)
|
|
72
|
+
end
|
|
73
|
+
def get_groups_report(
|
|
74
|
+
# Specify the response format. Use 'application/json' for JSON format or
|
|
75
|
+
# 'text/csv' for CSV format.
|
|
76
|
+
accept: nil,
|
|
77
|
+
request_options: {}
|
|
78
|
+
)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# @api private
|
|
82
|
+
sig { params(client: Telnyx::Client).returns(T.attached_class) }
|
|
83
|
+
def self.new(client:)
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Resources
|
|
5
|
+
class Organizations
|
|
6
|
+
sig { returns(Telnyx::Resources::Organizations::Users) }
|
|
7
|
+
attr_reader :users
|
|
8
|
+
|
|
9
|
+
# @api private
|
|
10
|
+
sig { params(client: Telnyx::Client).returns(T.attached_class) }
|
|
11
|
+
def self.new(client:)
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -46,9 +46,11 @@ module Telnyx
|
|
|
46
46
|
params(
|
|
47
47
|
queue_name: String,
|
|
48
48
|
page: Telnyx::Queues::CallListParams::Page::OrHash,
|
|
49
|
+
page_number: Integer,
|
|
50
|
+
page_size: Integer,
|
|
49
51
|
request_options: Telnyx::RequestOptions::OrHash
|
|
50
52
|
).returns(
|
|
51
|
-
Telnyx::Internal::
|
|
53
|
+
Telnyx::Internal::DefaultFlatPagination[
|
|
52
54
|
Telnyx::Models::Queues::CallListResponse
|
|
53
55
|
]
|
|
54
56
|
)
|
|
@@ -59,6 +61,8 @@ module Telnyx
|
|
|
59
61
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
60
62
|
# page[before], page[limit], page[size], page[number]
|
|
61
63
|
page: nil,
|
|
64
|
+
page_number: nil,
|
|
65
|
+
page_size: nil,
|
|
62
66
|
request_options: {}
|
|
63
67
|
)
|
|
64
68
|
end
|
|
@@ -45,7 +45,7 @@ module Telnyx
|
|
|
45
45
|
# This API triggers an asynchronous operation to set a public IP for each of the
|
|
46
46
|
# specified SIM cards.<br/> For each SIM Card a SIM Card Action will be generated.
|
|
47
47
|
# The status of the SIM Card Action can be followed through the
|
|
48
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
48
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
49
49
|
# API.
|
|
50
50
|
sig do
|
|
51
51
|
params(
|
|
@@ -60,7 +60,7 @@ module Telnyx
|
|
|
60
60
|
# impossible to consume data.<br/> The API will trigger an asynchronous operation
|
|
61
61
|
# called a SIM Card Action. Transitioning to the disabled state may take a period
|
|
62
62
|
# of time. The status of the SIM Card Action can be followed through the
|
|
63
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
63
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
64
64
|
# API.
|
|
65
65
|
sig do
|
|
66
66
|
params(
|
|
@@ -80,7 +80,7 @@ module Telnyx
|
|
|
80
80
|
# card group.<br/> The API will trigger an asynchronous operation called a SIM
|
|
81
81
|
# Card Action. Transitioning to the enabled state may take a period of time. The
|
|
82
82
|
# status of the SIM Card Action can be followed through the
|
|
83
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
83
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
84
84
|
# API.
|
|
85
85
|
sig do
|
|
86
86
|
params(
|
|
@@ -98,7 +98,7 @@ module Telnyx
|
|
|
98
98
|
# This API removes an existing public IP from a SIM card. <br/><br/> The API will
|
|
99
99
|
# trigger an asynchronous operation called a SIM Card Action. The status of the
|
|
100
100
|
# SIM Card Action can be followed through the
|
|
101
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
101
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
102
102
|
# API.
|
|
103
103
|
sig do
|
|
104
104
|
params(
|
|
@@ -117,7 +117,7 @@ module Telnyx
|
|
|
117
117
|
# public IP to the SIM card. <br/><br/> The API will trigger an asynchronous
|
|
118
118
|
# operation called a SIM Card Action. The status of the SIM Card Action can be
|
|
119
119
|
# followed through the
|
|
120
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
120
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
121
121
|
# API. <br/><br/> Setting a Public IP to a SIM Card incurs a charge and will only
|
|
122
122
|
# succeed if the account has sufficient funds.
|
|
123
123
|
sig do
|
|
@@ -143,7 +143,7 @@ module Telnyx
|
|
|
143
143
|
# API will trigger an asynchronous operation called a SIM Card Action.
|
|
144
144
|
# Transitioning to the standby state may take a period of time. The status of the
|
|
145
145
|
# SIM Card Action can be followed through the
|
|
146
|
-
# [List SIM Card Action](https://developers.telnyx.com/api/
|
|
146
|
+
# [List SIM Card Action](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions)
|
|
147
147
|
# API.
|
|
148
148
|
sig do
|
|
149
149
|
params(
|
|
@@ -70,7 +70,7 @@ module Telnyx
|
|
|
70
70
|
end
|
|
71
71
|
def list(
|
|
72
72
|
# Consolidated filter parameter for SIM cards (deepObject style). Originally:
|
|
73
|
-
# filter[
|
|
73
|
+
# filter[iccid], filter[msisdn], filter[status], filter[tags]
|
|
74
74
|
filter: nil,
|
|
75
75
|
# A valid SIM card group ID.
|
|
76
76
|
filter_sim_card_group_id: nil,
|
|
@@ -62,6 +62,38 @@ module Telnyx
|
|
|
62
62
|
)
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
# Lists queue resources.
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
account_sid: String,
|
|
69
|
+
date_created: String,
|
|
70
|
+
date_updated: String,
|
|
71
|
+
page: Integer,
|
|
72
|
+
page_size: Integer,
|
|
73
|
+
page_token: String,
|
|
74
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
75
|
+
).returns(Telnyx::Models::Texml::Accounts::QueueListResponse)
|
|
76
|
+
end
|
|
77
|
+
def list(
|
|
78
|
+
# The id of the account the resource belongs to.
|
|
79
|
+
account_sid,
|
|
80
|
+
# Filters conferences by the creation date. Expected format is YYYY-MM-DD. Also
|
|
81
|
+
# accepts inequality operators, e.g. DateCreated>=2023-05-22.
|
|
82
|
+
date_created: nil,
|
|
83
|
+
# Filters conferences by the time they were last updated. Expected format is
|
|
84
|
+
# YYYY-MM-DD. Also accepts inequality operators, e.g. DateUpdated>=2023-05-22.
|
|
85
|
+
date_updated: nil,
|
|
86
|
+
# The number of the page to be displayed, zero-indexed, should be used in
|
|
87
|
+
# conjuction with PageToken.
|
|
88
|
+
page: nil,
|
|
89
|
+
# The number of records to be displayed on a page
|
|
90
|
+
page_size: nil,
|
|
91
|
+
# Used to request the next page of results.
|
|
92
|
+
page_token: nil,
|
|
93
|
+
request_options: {}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
|
|
65
97
|
# Delete a queue resource.
|
|
66
98
|
sig do
|
|
67
99
|
params(
|
|
@@ -45,9 +45,9 @@ module Telnyx
|
|
|
45
45
|
# Query param: Return the aggregations for all Managed Accounts under the user
|
|
46
46
|
# making the request.
|
|
47
47
|
managed_accounts: nil,
|
|
48
|
-
# Query param
|
|
48
|
+
# Query param
|
|
49
49
|
page_number: nil,
|
|
50
|
-
# Query param
|
|
50
|
+
# Query param
|
|
51
51
|
page_size: nil,
|
|
52
52
|
# Query param: Specifies the sort order for results
|
|
53
53
|
sort: nil,
|
|
@@ -65,9 +65,6 @@ module Telnyx
|
|
|
65
65
|
Telnyx::InboundMessageWebhookEvent,
|
|
66
66
|
Telnyx::NumberOrderStatusUpdateWebhookEvent,
|
|
67
67
|
Telnyx::ReplacedLinkClickWebhookEvent,
|
|
68
|
-
Telnyx::StreamingFailedWebhookEvent,
|
|
69
|
-
Telnyx::StreamingStartedWebhookEvent,
|
|
70
|
-
Telnyx::StreamingStoppedWebhookEvent,
|
|
71
68
|
Telnyx::TranscriptionWebhookEvent
|
|
72
69
|
)
|
|
73
70
|
)
|
|
@@ -140,9 +137,6 @@ module Telnyx
|
|
|
140
137
|
Telnyx::InboundMessageWebhookEvent,
|
|
141
138
|
Telnyx::NumberOrderStatusUpdateWebhookEvent,
|
|
142
139
|
Telnyx::ReplacedLinkClickWebhookEvent,
|
|
143
|
-
Telnyx::StreamingFailedWebhookEvent,
|
|
144
|
-
Telnyx::StreamingStartedWebhookEvent,
|
|
145
|
-
Telnyx::StreamingStoppedWebhookEvent,
|
|
146
140
|
Telnyx::TranscriptionWebhookEvent
|
|
147
141
|
)
|
|
148
142
|
)
|
data/sig/telnyx/client.rbs
CHANGED
|
@@ -316,6 +316,8 @@ module Telnyx
|
|
|
316
316
|
|
|
317
317
|
attr_reader speech_to_text: Telnyx::Resources::SpeechToText
|
|
318
318
|
|
|
319
|
+
attr_reader organizations: Telnyx::Resources::Organizations
|
|
320
|
+
|
|
319
321
|
private def auth_headers: -> ::Hash[String, String]
|
|
320
322
|
|
|
321
323
|
private def bearer_auth: -> ::Hash[String, String]
|