telnyx 5.0.0 → 5.2.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 +46 -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 +17 -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 +17 -6
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +17 -6
- data/lib/telnyx/models/ai/audio_visualizer_config.rb +43 -0
- 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 +17 -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/ai/widget_settings.rb +138 -0
- 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/connection_noise_suppression_details.rb +61 -0
- data/lib/telnyx/models/credential_connection.rb +3 -61
- data/lib/telnyx/models/credential_connection_create_params.rb +3 -61
- data/lib/telnyx/models/credential_connection_update_params.rb +3 -61
- data/lib/telnyx/models/fax_create_params.rb +10 -1
- data/lib/telnyx/models/fqdn_connection.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_create_params.rb +3 -60
- data/lib/telnyx/models/fqdn_connection_update_params.rb +3 -60
- data/lib/telnyx/models/ip_connection.rb +3 -60
- data/lib/telnyx/models/ip_connection_create_params.rb +3 -60
- data/lib/telnyx/models/ip_connection_update_params.rb +3 -60
- 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 +110 -0
- data/lib/telnyx/models/organizations/user_group_reference.rb +28 -0
- data/lib/telnyx/models/organizations/user_list_params.rb +73 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +96 -0
- data/lib/telnyx/models/organizations/user_retrieve_params.rb +29 -0
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +107 -0
- data/lib/telnyx/models/organizations/users/action_remove_params.rb +18 -0
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +111 -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 +4 -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/credential_connections.rb +2 -2
- data/lib/telnyx/resources/faxes.rb +3 -1
- data/lib/telnyx/resources/fqdn_connections.rb +2 -2
- data/lib/telnyx/resources/ip_connections.rb +2 -2
- 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 +19 -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 +31 -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 +31 -14
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +36 -17
- data/rbi/telnyx/models/ai/audio_visualizer_config.rbi +107 -0
- 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 +30 -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/ai/widget_settings.rbi +225 -0
- 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/connection_noise_suppression_details.rbi +141 -0
- data/rbi/telnyx/models/credential_connection.rbi +4 -152
- data/rbi/telnyx/models/credential_connection_create_params.rbi +4 -154
- data/rbi/telnyx/models/credential_connection_update_params.rbi +4 -154
- data/rbi/telnyx/models/fax_create_params.rbi +13 -0
- data/rbi/telnyx/models/fqdn_connection.rbi +4 -150
- data/rbi/telnyx/models/fqdn_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/fqdn_connection_update_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection.rbi +4 -148
- data/rbi/telnyx/models/ip_connection_create_params.rbi +4 -152
- data/rbi/telnyx/models/ip_connection_update_params.rbi +4 -152
- 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 +210 -0
- data/rbi/telnyx/models/organizations/user_group_reference.rbi +39 -0
- data/rbi/telnyx/models/organizations/user_list_params.rbi +152 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +188 -0
- data/rbi/telnyx/models/organizations/user_retrieve_params.rbi +55 -0
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +232 -0
- data/rbi/telnyx/models/organizations/users/action_remove_params.rbi +34 -0
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +239 -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 +5 -6
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +25 -19
- data/rbi/telnyx/resources/ai/assistants.rbi +30 -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/credential_connections.rbi +2 -2
- data/rbi/telnyx/resources/faxes.rbi +4 -0
- data/rbi/telnyx/resources/fqdn_connections.rbi +2 -2
- data/rbi/telnyx/resources/ip_connections.rbi +2 -2
- 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 +10 -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 +10 -1
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +12 -3
- data/sig/telnyx/models/ai/audio_visualizer_config.rbs +48 -0
- data/sig/telnyx/models/ai/chat_create_completion_params.rbs +4 -7
- data/sig/telnyx/models/ai/inference_embedding.rbs +12 -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/ai/widget_settings.rbs +127 -0
- 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/connection_noise_suppression_details.rbs +54 -0
- data/sig/telnyx/models/credential_connection.rbs +6 -57
- data/sig/telnyx/models/credential_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/credential_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/fax_create_params.rbs +7 -0
- data/sig/telnyx/models/fqdn_connection.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/fqdn_connection_update_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection.rbs +6 -57
- data/sig/telnyx/models/ip_connection_create_params.rbs +6 -57
- data/sig/telnyx/models/ip_connection_update_params.rbs +6 -57
- 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 +92 -0
- data/sig/telnyx/models/organizations/user_group_reference.rbs +17 -0
- data/sig/telnyx/models/organizations/user_list_params.rbs +72 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +87 -0
- data/sig/telnyx/models/organizations/user_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +106 -0
- data/sig/telnyx/models/organizations/users/action_remove_params.rbs +19 -0
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +110 -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 +4 -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/credential_connections.rbs +2 -2
- data/sig/telnyx/resources/faxes.rbs +1 -0
- data/sig/telnyx/resources/fqdn_connections.rbs +2 -2
- data/sig/telnyx/resources/ip_connections.rbs +2 -2
- 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 +59 -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
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_get_groups_report_response =
|
|
5
|
+
{
|
|
6
|
+
data: ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class UserGetGroupsReportResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]
|
|
14
|
+
) -> ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data]
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
id: String,
|
|
27
|
+
created_at: String,
|
|
28
|
+
email: String,
|
|
29
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
30
|
+
record_type: String,
|
|
31
|
+
user_status: Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::user_status,
|
|
32
|
+
last_sign_in_at: String?,
|
|
33
|
+
organization_user_bypasses_sso: bool
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
37
|
+
attr_accessor id: String
|
|
38
|
+
|
|
39
|
+
attr_accessor created_at: String
|
|
40
|
+
|
|
41
|
+
attr_accessor email: String
|
|
42
|
+
|
|
43
|
+
attr_accessor groups: ::Array[Telnyx::Organizations::UserGroupReference]
|
|
44
|
+
|
|
45
|
+
attr_accessor record_type: String
|
|
46
|
+
|
|
47
|
+
attr_accessor user_status: Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::user_status
|
|
48
|
+
|
|
49
|
+
attr_accessor last_sign_in_at: String?
|
|
50
|
+
|
|
51
|
+
attr_reader organization_user_bypasses_sso: bool?
|
|
52
|
+
|
|
53
|
+
def organization_user_bypasses_sso=: (bool) -> bool
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
id: String,
|
|
57
|
+
created_at: String,
|
|
58
|
+
email: String,
|
|
59
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
60
|
+
record_type: String,
|
|
61
|
+
user_status: Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::user_status,
|
|
62
|
+
?last_sign_in_at: String?,
|
|
63
|
+
?organization_user_bypasses_sso: bool
|
|
64
|
+
) -> void
|
|
65
|
+
|
|
66
|
+
def to_hash: -> {
|
|
67
|
+
id: String,
|
|
68
|
+
created_at: String,
|
|
69
|
+
email: String,
|
|
70
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
71
|
+
record_type: String,
|
|
72
|
+
user_status: Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::user_status,
|
|
73
|
+
last_sign_in_at: String?,
|
|
74
|
+
organization_user_bypasses_sso: bool
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
type user_status = :enabled | :disabled | :blocked
|
|
78
|
+
|
|
79
|
+
module UserStatus
|
|
80
|
+
extend Telnyx::Internal::Type::Enum
|
|
81
|
+
|
|
82
|
+
ENABLED: :enabled
|
|
83
|
+
DISABLED: :disabled
|
|
84
|
+
BLOCKED: :blocked
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[Telnyx::Models::Organizations::UserGetGroupsReportResponse::Data::user_status]
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_group_reference = { id: String, name: String }
|
|
5
|
+
|
|
6
|
+
class UserGroupReference < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor id: String
|
|
8
|
+
|
|
9
|
+
attr_accessor name: String
|
|
10
|
+
|
|
11
|
+
def initialize: (id: String, name: String) -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { id: String, name: String }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_list_params =
|
|
5
|
+
{
|
|
6
|
+
filter_email: String,
|
|
7
|
+
filter_user_status: Telnyx::Models::Organizations::UserListParams::filter_user_status,
|
|
8
|
+
include_groups: bool,
|
|
9
|
+
page_number: Integer,
|
|
10
|
+
page_size: Integer
|
|
11
|
+
}
|
|
12
|
+
& Telnyx::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class UserListParams < Telnyx::Internal::Type::BaseModel
|
|
15
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_reader filter_email: String?
|
|
19
|
+
|
|
20
|
+
def filter_email=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader filter_user_status: Telnyx::Models::Organizations::UserListParams::filter_user_status?
|
|
23
|
+
|
|
24
|
+
def filter_user_status=: (
|
|
25
|
+
Telnyx::Models::Organizations::UserListParams::filter_user_status
|
|
26
|
+
) -> Telnyx::Models::Organizations::UserListParams::filter_user_status
|
|
27
|
+
|
|
28
|
+
attr_reader include_groups: bool?
|
|
29
|
+
|
|
30
|
+
def include_groups=: (bool) -> bool
|
|
31
|
+
|
|
32
|
+
attr_reader page_number: Integer?
|
|
33
|
+
|
|
34
|
+
def page_number=: (Integer) -> Integer
|
|
35
|
+
|
|
36
|
+
attr_reader page_size: Integer?
|
|
37
|
+
|
|
38
|
+
def page_size=: (Integer) -> Integer
|
|
39
|
+
|
|
40
|
+
def initialize: (
|
|
41
|
+
?filter_email: String,
|
|
42
|
+
?filter_user_status: Telnyx::Models::Organizations::UserListParams::filter_user_status,
|
|
43
|
+
?include_groups: bool,
|
|
44
|
+
?page_number: Integer,
|
|
45
|
+
?page_size: Integer,
|
|
46
|
+
?request_options: Telnyx::request_opts
|
|
47
|
+
) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> {
|
|
50
|
+
filter_email: String,
|
|
51
|
+
filter_user_status: Telnyx::Models::Organizations::UserListParams::filter_user_status,
|
|
52
|
+
include_groups: bool,
|
|
53
|
+
page_number: Integer,
|
|
54
|
+
page_size: Integer,
|
|
55
|
+
request_options: Telnyx::RequestOptions
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type filter_user_status = :enabled | :disabled | :blocked
|
|
59
|
+
|
|
60
|
+
module FilterUserStatus
|
|
61
|
+
extend Telnyx::Internal::Type::Enum
|
|
62
|
+
|
|
63
|
+
ENABLED: :enabled
|
|
64
|
+
DISABLED: :disabled
|
|
65
|
+
BLOCKED: :blocked
|
|
66
|
+
|
|
67
|
+
def self?.values: -> ::Array[Telnyx::Models::Organizations::UserListParams::filter_user_status]
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_list_response =
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
created_at: String,
|
|
8
|
+
email: String,
|
|
9
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
10
|
+
last_sign_in_at: String?,
|
|
11
|
+
organization_user_bypasses_sso: bool,
|
|
12
|
+
record_type: String,
|
|
13
|
+
user_status: Telnyx::Models::Organizations::UserListResponse::user_status
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class UserListResponse < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
attr_reader id: String?
|
|
18
|
+
|
|
19
|
+
def id=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader created_at: String?
|
|
22
|
+
|
|
23
|
+
def created_at=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader email: String?
|
|
26
|
+
|
|
27
|
+
def email=: (String) -> String
|
|
28
|
+
|
|
29
|
+
attr_reader groups: ::Array[Telnyx::Organizations::UserGroupReference]?
|
|
30
|
+
|
|
31
|
+
def groups=: (
|
|
32
|
+
::Array[Telnyx::Organizations::UserGroupReference]
|
|
33
|
+
) -> ::Array[Telnyx::Organizations::UserGroupReference]
|
|
34
|
+
|
|
35
|
+
attr_accessor last_sign_in_at: String?
|
|
36
|
+
|
|
37
|
+
attr_reader organization_user_bypasses_sso: bool?
|
|
38
|
+
|
|
39
|
+
def organization_user_bypasses_sso=: (bool) -> bool
|
|
40
|
+
|
|
41
|
+
attr_reader record_type: String?
|
|
42
|
+
|
|
43
|
+
def record_type=: (String) -> String
|
|
44
|
+
|
|
45
|
+
attr_reader user_status: Telnyx::Models::Organizations::UserListResponse::user_status?
|
|
46
|
+
|
|
47
|
+
def user_status=: (
|
|
48
|
+
Telnyx::Models::Organizations::UserListResponse::user_status
|
|
49
|
+
) -> Telnyx::Models::Organizations::UserListResponse::user_status
|
|
50
|
+
|
|
51
|
+
def initialize: (
|
|
52
|
+
?id: String,
|
|
53
|
+
?created_at: String,
|
|
54
|
+
?email: String,
|
|
55
|
+
?groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
56
|
+
?last_sign_in_at: String?,
|
|
57
|
+
?organization_user_bypasses_sso: bool,
|
|
58
|
+
?record_type: String,
|
|
59
|
+
?user_status: Telnyx::Models::Organizations::UserListResponse::user_status
|
|
60
|
+
) -> void
|
|
61
|
+
|
|
62
|
+
def to_hash: -> {
|
|
63
|
+
id: String,
|
|
64
|
+
created_at: String,
|
|
65
|
+
email: String,
|
|
66
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
67
|
+
last_sign_in_at: String?,
|
|
68
|
+
organization_user_bypasses_sso: bool,
|
|
69
|
+
record_type: String,
|
|
70
|
+
user_status: Telnyx::Models::Organizations::UserListResponse::user_status
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type user_status = :enabled | :disabled | :blocked
|
|
74
|
+
|
|
75
|
+
module UserStatus
|
|
76
|
+
extend Telnyx::Internal::Type::Enum
|
|
77
|
+
|
|
78
|
+
ENABLED: :enabled
|
|
79
|
+
DISABLED: :disabled
|
|
80
|
+
BLOCKED: :blocked
|
|
81
|
+
|
|
82
|
+
def self?.values: -> ::Array[Telnyx::Models::Organizations::UserListResponse::user_status]
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_retrieve_params =
|
|
5
|
+
{ include_groups: bool } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class UserRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_reader include_groups: bool?
|
|
12
|
+
|
|
13
|
+
def include_groups=: (bool) -> bool
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
?include_groups: bool,
|
|
17
|
+
?request_options: Telnyx::request_opts
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
include_groups: bool,
|
|
22
|
+
request_options: Telnyx::RequestOptions
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
type user_retrieve_response =
|
|
5
|
+
{ data: Telnyx::Models::Organizations::UserRetrieveResponse::Data }
|
|
6
|
+
|
|
7
|
+
class UserRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_reader data: Telnyx::Models::Organizations::UserRetrieveResponse::Data?
|
|
9
|
+
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::Models::Organizations::UserRetrieveResponse::Data
|
|
12
|
+
) -> Telnyx::Models::Organizations::UserRetrieveResponse::Data
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?data: Telnyx::Models::Organizations::UserRetrieveResponse::Data
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
data: Telnyx::Models::Organizations::UserRetrieveResponse::Data
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type data =
|
|
23
|
+
{
|
|
24
|
+
id: String,
|
|
25
|
+
created_at: String,
|
|
26
|
+
email: String,
|
|
27
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
28
|
+
last_sign_in_at: String?,
|
|
29
|
+
organization_user_bypasses_sso: bool,
|
|
30
|
+
record_type: String,
|
|
31
|
+
user_status: Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
35
|
+
attr_reader id: String?
|
|
36
|
+
|
|
37
|
+
def id=: (String) -> String
|
|
38
|
+
|
|
39
|
+
attr_reader created_at: String?
|
|
40
|
+
|
|
41
|
+
def created_at=: (String) -> String
|
|
42
|
+
|
|
43
|
+
attr_reader email: String?
|
|
44
|
+
|
|
45
|
+
def email=: (String) -> String
|
|
46
|
+
|
|
47
|
+
attr_reader groups: ::Array[Telnyx::Organizations::UserGroupReference]?
|
|
48
|
+
|
|
49
|
+
def groups=: (
|
|
50
|
+
::Array[Telnyx::Organizations::UserGroupReference]
|
|
51
|
+
) -> ::Array[Telnyx::Organizations::UserGroupReference]
|
|
52
|
+
|
|
53
|
+
attr_accessor last_sign_in_at: String?
|
|
54
|
+
|
|
55
|
+
attr_reader organization_user_bypasses_sso: bool?
|
|
56
|
+
|
|
57
|
+
def organization_user_bypasses_sso=: (bool) -> bool
|
|
58
|
+
|
|
59
|
+
attr_reader record_type: String?
|
|
60
|
+
|
|
61
|
+
def record_type=: (String) -> String
|
|
62
|
+
|
|
63
|
+
attr_reader user_status: Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status?
|
|
64
|
+
|
|
65
|
+
def user_status=: (
|
|
66
|
+
Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status
|
|
67
|
+
) -> Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status
|
|
68
|
+
|
|
69
|
+
def initialize: (
|
|
70
|
+
?id: String,
|
|
71
|
+
?created_at: String,
|
|
72
|
+
?email: String,
|
|
73
|
+
?groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
74
|
+
?last_sign_in_at: String?,
|
|
75
|
+
?organization_user_bypasses_sso: bool,
|
|
76
|
+
?record_type: String,
|
|
77
|
+
?user_status: Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status
|
|
78
|
+
) -> void
|
|
79
|
+
|
|
80
|
+
def to_hash: -> {
|
|
81
|
+
id: String,
|
|
82
|
+
created_at: String,
|
|
83
|
+
email: String,
|
|
84
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
85
|
+
last_sign_in_at: String?,
|
|
86
|
+
organization_user_bypasses_sso: bool,
|
|
87
|
+
record_type: String,
|
|
88
|
+
user_status: Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
type user_status = :enabled | :disabled | :blocked
|
|
92
|
+
|
|
93
|
+
module UserStatus
|
|
94
|
+
extend Telnyx::Internal::Type::Enum
|
|
95
|
+
|
|
96
|
+
ENABLED: :enabled
|
|
97
|
+
DISABLED: :disabled
|
|
98
|
+
BLOCKED: :blocked
|
|
99
|
+
|
|
100
|
+
def self?.values: -> ::Array[Telnyx::Models::Organizations::UserRetrieveResponse::Data::user_status]
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
module Users
|
|
5
|
+
type action_remove_params =
|
|
6
|
+
{ } & Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class ActionRemoveParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
def initialize: (?request_options: Telnyx::request_opts) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { request_options: Telnyx::RequestOptions }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Organizations
|
|
4
|
+
module Users
|
|
5
|
+
type action_remove_response =
|
|
6
|
+
{
|
|
7
|
+
data: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class ActionRemoveResponse < Telnyx::Internal::Type::BaseModel
|
|
11
|
+
attr_reader data: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data?
|
|
12
|
+
|
|
13
|
+
def data=: (
|
|
14
|
+
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data
|
|
15
|
+
) -> Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
?data: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
data: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type data =
|
|
26
|
+
{
|
|
27
|
+
id: String,
|
|
28
|
+
created_at: String,
|
|
29
|
+
email: String,
|
|
30
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
31
|
+
last_sign_in_at: String?,
|
|
32
|
+
organization_user_bypasses_sso: bool,
|
|
33
|
+
record_type: String,
|
|
34
|
+
user_status: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
38
|
+
attr_reader id: String?
|
|
39
|
+
|
|
40
|
+
def id=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader created_at: String?
|
|
43
|
+
|
|
44
|
+
def created_at=: (String) -> String
|
|
45
|
+
|
|
46
|
+
attr_reader email: String?
|
|
47
|
+
|
|
48
|
+
def email=: (String) -> String
|
|
49
|
+
|
|
50
|
+
attr_reader groups: ::Array[Telnyx::Organizations::UserGroupReference]?
|
|
51
|
+
|
|
52
|
+
def groups=: (
|
|
53
|
+
::Array[Telnyx::Organizations::UserGroupReference]
|
|
54
|
+
) -> ::Array[Telnyx::Organizations::UserGroupReference]
|
|
55
|
+
|
|
56
|
+
attr_accessor last_sign_in_at: String?
|
|
57
|
+
|
|
58
|
+
attr_reader organization_user_bypasses_sso: bool?
|
|
59
|
+
|
|
60
|
+
def organization_user_bypasses_sso=: (bool) -> bool
|
|
61
|
+
|
|
62
|
+
attr_reader record_type: String?
|
|
63
|
+
|
|
64
|
+
def record_type=: (String) -> String
|
|
65
|
+
|
|
66
|
+
attr_reader user_status: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status?
|
|
67
|
+
|
|
68
|
+
def user_status=: (
|
|
69
|
+
Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status
|
|
70
|
+
) -> Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status
|
|
71
|
+
|
|
72
|
+
def initialize: (
|
|
73
|
+
?id: String,
|
|
74
|
+
?created_at: String,
|
|
75
|
+
?email: String,
|
|
76
|
+
?groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
77
|
+
?last_sign_in_at: String?,
|
|
78
|
+
?organization_user_bypasses_sso: bool,
|
|
79
|
+
?record_type: String,
|
|
80
|
+
?user_status: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
id: String,
|
|
85
|
+
created_at: String,
|
|
86
|
+
email: String,
|
|
87
|
+
groups: ::Array[Telnyx::Organizations::UserGroupReference],
|
|
88
|
+
last_sign_in_at: String?,
|
|
89
|
+
organization_user_bypasses_sso: bool,
|
|
90
|
+
record_type: String,
|
|
91
|
+
user_status: Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
type user_status = :enabled | :disabled | :blocked
|
|
95
|
+
|
|
96
|
+
module UserStatus
|
|
97
|
+
extend Telnyx::Internal::Type::Enum
|
|
98
|
+
|
|
99
|
+
ENABLED: :enabled
|
|
100
|
+
DISABLED: :disabled
|
|
101
|
+
BLOCKED: :blocked
|
|
102
|
+
|
|
103
|
+
def self?.values: -> ::Array[Telnyx::Models::Organizations::Users::ActionRemoveResponse::Data::user_status]
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
@@ -2,7 +2,11 @@ module Telnyx
|
|
|
2
2
|
module Models
|
|
3
3
|
module Queues
|
|
4
4
|
type call_list_params =
|
|
5
|
-
{
|
|
5
|
+
{
|
|
6
|
+
page: Telnyx::Queues::CallListParams::Page,
|
|
7
|
+
page_number: Integer,
|
|
8
|
+
page_size: Integer
|
|
9
|
+
}
|
|
6
10
|
& Telnyx::Internal::Type::request_parameters
|
|
7
11
|
|
|
8
12
|
class CallListParams < Telnyx::Internal::Type::BaseModel
|
|
@@ -15,24 +19,29 @@ module Telnyx
|
|
|
15
19
|
Telnyx::Queues::CallListParams::Page
|
|
16
20
|
) -> Telnyx::Queues::CallListParams::Page
|
|
17
21
|
|
|
22
|
+
attr_reader page_number: Integer?
|
|
23
|
+
|
|
24
|
+
def page_number=: (Integer) -> Integer
|
|
25
|
+
|
|
26
|
+
attr_reader page_size: Integer?
|
|
27
|
+
|
|
28
|
+
def page_size=: (Integer) -> Integer
|
|
29
|
+
|
|
18
30
|
def initialize: (
|
|
19
31
|
?page: Telnyx::Queues::CallListParams::Page,
|
|
32
|
+
?page_number: Integer,
|
|
33
|
+
?page_size: Integer,
|
|
20
34
|
?request_options: Telnyx::request_opts
|
|
21
35
|
) -> void
|
|
22
36
|
|
|
23
37
|
def to_hash: -> {
|
|
24
38
|
page: Telnyx::Queues::CallListParams::Page,
|
|
39
|
+
page_number: Integer,
|
|
40
|
+
page_size: Integer,
|
|
25
41
|
request_options: Telnyx::RequestOptions
|
|
26
42
|
}
|
|
27
43
|
|
|
28
|
-
type page =
|
|
29
|
-
{
|
|
30
|
-
after: String,
|
|
31
|
-
before: String,
|
|
32
|
-
limit: Integer,
|
|
33
|
-
number: Integer,
|
|
34
|
-
size: Integer
|
|
35
|
-
}
|
|
44
|
+
type page = { after: String, before: String, limit: Integer }
|
|
36
45
|
|
|
37
46
|
class Page < Telnyx::Internal::Type::BaseModel
|
|
38
47
|
attr_reader after: String?
|
|
@@ -47,29 +56,13 @@ module Telnyx
|
|
|
47
56
|
|
|
48
57
|
def limit=: (Integer) -> Integer
|
|
49
58
|
|
|
50
|
-
attr_reader number: Integer?
|
|
51
|
-
|
|
52
|
-
def number=: (Integer) -> Integer
|
|
53
|
-
|
|
54
|
-
attr_reader size: Integer?
|
|
55
|
-
|
|
56
|
-
def size=: (Integer) -> Integer
|
|
57
|
-
|
|
58
59
|
def initialize: (
|
|
59
60
|
?after: String,
|
|
60
61
|
?before: String,
|
|
61
|
-
?limit: Integer
|
|
62
|
-
?number: Integer,
|
|
63
|
-
?size: Integer
|
|
62
|
+
?limit: Integer
|
|
64
63
|
) -> void
|
|
65
64
|
|
|
66
|
-
def to_hash: -> {
|
|
67
|
-
after: String,
|
|
68
|
-
before: String,
|
|
69
|
-
limit: Integer,
|
|
70
|
-
number: Integer,
|
|
71
|
-
size: Integer
|
|
72
|
-
}
|
|
65
|
+
def to_hash: -> { after: String, before: String, limit: Integer }
|
|
73
66
|
end
|
|
74
67
|
end
|
|
75
68
|
end
|
|
@@ -61,6 +61,7 @@ module Telnyx
|
|
|
61
61
|
type filter =
|
|
62
62
|
{
|
|
63
63
|
iccid: String,
|
|
64
|
+
msisdn: String,
|
|
64
65
|
status: ::Array[Telnyx::Models::SimCardListParams::Filter::status],
|
|
65
66
|
tags: ::Array[String]
|
|
66
67
|
}
|
|
@@ -70,6 +71,10 @@ module Telnyx
|
|
|
70
71
|
|
|
71
72
|
def iccid=: (String) -> String
|
|
72
73
|
|
|
74
|
+
attr_reader msisdn: String?
|
|
75
|
+
|
|
76
|
+
def msisdn=: (String) -> String
|
|
77
|
+
|
|
73
78
|
attr_reader status: ::Array[Telnyx::Models::SimCardListParams::Filter::status]?
|
|
74
79
|
|
|
75
80
|
def status=: (
|
|
@@ -82,12 +87,14 @@ module Telnyx
|
|
|
82
87
|
|
|
83
88
|
def initialize: (
|
|
84
89
|
?iccid: String,
|
|
90
|
+
?msisdn: String,
|
|
85
91
|
?status: ::Array[Telnyx::Models::SimCardListParams::Filter::status],
|
|
86
92
|
?tags: ::Array[String]
|
|
87
93
|
) -> void
|
|
88
94
|
|
|
89
95
|
def to_hash: -> {
|
|
90
96
|
iccid: String,
|
|
97
|
+
msisdn: String,
|
|
91
98
|
status: ::Array[Telnyx::Models::SimCardListParams::Filter::status],
|
|
92
99
|
tags: ::Array[String]
|
|
93
100
|
}
|