telnyx 5.35.0 → 5.36.1
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 +23 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +8 -0
- data/lib/telnyx/internal/type/base_model.rb +1 -1
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/alphanumeric_sender_id_create_params.rb +38 -0
- data/lib/telnyx/models/alphanumeric_sender_id_create_response.rb +77 -0
- data/lib/telnyx/models/alphanumeric_sender_id_delete_params.rb +14 -0
- data/lib/telnyx/models/alphanumeric_sender_id_delete_response.rb +77 -0
- data/lib/telnyx/models/alphanumeric_sender_id_list_params.rb +38 -0
- data/lib/telnyx/models/alphanumeric_sender_id_list_response.rb +66 -0
- data/lib/telnyx/models/alphanumeric_sender_id_retrieve_params.rb +14 -0
- data/lib/telnyx/models/alphanumeric_sender_id_retrieve_response.rb +77 -0
- data/lib/telnyx/models/api_error.rb +4 -4
- data/lib/telnyx/models/available_phone_number_block_list_response.rb +7 -7
- data/lib/telnyx/models/conferences/{action_end_params.rb → action_end_conference_params.rb} +3 -3
- data/lib/telnyx/models/conferences/{action_end_response.rb → action_end_conference_response.rb} +2 -2
- data/lib/telnyx/models/conferences/{action_gather_using_audio_params.rb → action_gather_dtmf_audio_params.rb} +3 -3
- data/lib/telnyx/models/conferences/{action_gather_using_audio_response.rb → action_gather_dtmf_audio_response.rb} +2 -2
- data/lib/telnyx/models/customer_service_record.rb +9 -1
- data/lib/telnyx/models/message_retrieve_group_messages_params.rb +14 -0
- data/lib/telnyx/models/message_retrieve_group_messages_response.rb +16 -0
- data/lib/telnyx/models/message_send_with_alphanumeric_sender_params.rb +70 -0
- data/lib/telnyx/models/message_send_with_alphanumeric_sender_response.rb +16 -0
- data/lib/telnyx/models/messaging_10dlc/brand_update_params.rb +1 -1
- data/lib/telnyx/models/messaging_10dlc/partner_campaign_list_params.rb +1 -1
- data/lib/telnyx/models/messaging_hosted_number_list_params.rb +71 -0
- data/lib/telnyx/models/messaging_hosted_number_retrieve_params.rb +14 -0
- data/lib/telnyx/models/messaging_hosted_number_retrieve_response.rb +16 -0
- data/lib/telnyx/models/messaging_hosted_number_update_params.rb +49 -0
- data/lib/telnyx/models/messaging_hosted_number_update_response.rb +16 -0
- data/lib/telnyx/models/messaging_numbers_bulk_update_create_params.rb +9 -1
- data/lib/telnyx/models/messaging_profile.rb +25 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +25 -1
- data/lib/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_params.rb +26 -0
- data/lib/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_response.rb +67 -0
- data/lib/telnyx/models/messaging_profile_list_params.rb +17 -1
- data/lib/telnyx/models/messaging_profile_metric_list_params.rb +37 -0
- data/lib/telnyx/models/messaging_profile_metric_list_response.rb +23 -0
- data/lib/telnyx/models/messaging_profile_retrieve_metrics_params.rb +37 -0
- data/lib/telnyx/models/messaging_profile_retrieve_metrics_response.rb +17 -0
- data/lib/telnyx/models/messaging_profiles/action_regenerate_secret_params.rb +16 -0
- data/lib/telnyx/models/messaging_profiles/action_regenerate_secret_response.rb +18 -0
- data/lib/telnyx/models/mobile_phone_numbers/messaging_list_response.rb +17 -1
- data/lib/telnyx/models/mobile_phone_numbers/messaging_retrieve_response.rb +17 -1
- data/lib/telnyx/models/number_reservation.rb +9 -1
- data/lib/telnyx/models/phone_number_delete_response.rb +9 -1
- data/lib/telnyx/models/phone_number_detailed.rb +17 -1
- data/lib/telnyx/models/phone_number_slim_list_response.rb +17 -1
- data/lib/telnyx/models/phone_number_update_params.rb +9 -1
- data/lib/telnyx/models/phone_number_with_messaging_settings.rb +17 -1
- data/lib/telnyx/models/phone_numbers/messaging_list_params.rb +66 -1
- data/lib/telnyx/models/phone_numbers/messaging_update_params.rb +9 -1
- data/lib/telnyx/models/porting_order.rb +180 -1
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +7 -7
- data/lib/telnyx/models/reserved_phone_number.rb +9 -1
- data/lib/telnyx/models/room_composition.rb +9 -1
- data/lib/telnyx/models/telephony_credential.rb +9 -1
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +4 -4
- data/lib/telnyx/models.rb +25 -0
- data/lib/telnyx/resources/alphanumeric_sender_ids.rb +111 -0
- data/lib/telnyx/resources/conferences/actions.rb +14 -14
- data/lib/telnyx/resources/messages.rb +54 -0
- data/lib/telnyx/resources/messaging_hosted_numbers.rb +91 -0
- data/lib/telnyx/resources/messaging_numbers_bulk_updates.rb +3 -1
- data/lib/telnyx/resources/messaging_profile_metrics.rb +37 -0
- data/lib/telnyx/resources/messaging_profiles/actions.rb +36 -0
- data/lib/telnyx/resources/messaging_profiles.rb +74 -3
- data/lib/telnyx/resources/phone_numbers/messaging.rb +25 -3
- data/lib/telnyx/resources/phone_numbers.rb +3 -1
- data/lib/telnyx/resources/texml/accounts/calls.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +32 -4
- data/rbi/telnyx/client.rbi +6 -0
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/alphanumeric_sender_id_create_params.rbi +65 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_create_response.rbi +178 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_delete_params.rbi +30 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_delete_response.rbi +178 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_list_params.rbi +71 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_list_response.rbi +138 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_retrieve_params.rbi +30 -0
- data/rbi/telnyx/models/alphanumeric_sender_id_retrieve_response.rbi +180 -0
- data/rbi/telnyx/models/api_error.rbi +6 -6
- data/rbi/telnyx/models/available_phone_number_block_list_response.rbi +12 -12
- data/rbi/telnyx/models/conferences/{action_end_params.rbi → action_end_conference_params.rbi} +2 -2
- data/rbi/telnyx/models/conferences/{action_end_response.rbi → action_end_conference_response.rbi} +2 -2
- data/rbi/telnyx/models/conferences/{action_gather_using_audio_params.rbi → action_gather_dtmf_audio_params.rbi} +2 -2
- data/rbi/telnyx/models/conferences/{action_gather_using_audio_response.rbi → action_gather_dtmf_audio_response.rbi} +2 -2
- data/rbi/telnyx/models/customer_service_record.rbi +14 -3
- data/rbi/telnyx/models/message_retrieve_group_messages_params.rbi +30 -0
- data/rbi/telnyx/models/message_retrieve_group_messages_response.rbi +37 -0
- data/rbi/telnyx/models/message_send_with_alphanumeric_sender_params.rbi +97 -0
- data/rbi/telnyx/models/message_send_with_alphanumeric_sender_response.rbi +33 -0
- data/rbi/telnyx/models/messaging_10dlc/partner_campaign_list_params.rbi +2 -2
- data/rbi/telnyx/models/messaging_hosted_number_list_params.rbi +148 -0
- data/rbi/telnyx/models/messaging_hosted_number_retrieve_params.rbi +30 -0
- data/rbi/telnyx/models/messaging_hosted_number_retrieve_response.rbi +37 -0
- data/rbi/telnyx/models/messaging_hosted_number_update_params.rbi +87 -0
- data/rbi/telnyx/models/messaging_hosted_number_update_response.rbi +37 -0
- data/rbi/telnyx/models/messaging_numbers_bulk_update_create_params.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile.rbi +27 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +24 -0
- data/rbi/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_params.rbi +52 -0
- data/rbi/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_response.rbi +138 -0
- data/rbi/telnyx/models/messaging_profile_list_params.rbi +22 -0
- data/rbi/telnyx/models/messaging_profile_metric_list_params.rbi +114 -0
- data/rbi/telnyx/models/messaging_profile_metric_list_response.rbi +47 -0
- data/rbi/telnyx/models/messaging_profile_retrieve_metrics_params.rbi +117 -0
- data/rbi/telnyx/models/messaging_profile_retrieve_metrics_response.rbi +35 -0
- data/rbi/telnyx/models/messaging_profiles/action_regenerate_secret_params.rbi +32 -0
- data/rbi/telnyx/models/messaging_profiles/action_regenerate_secret_response.rbi +35 -0
- data/rbi/telnyx/models/mobile_phone_numbers/messaging_list_response.rbi +22 -0
- data/rbi/telnyx/models/mobile_phone_numbers/messaging_retrieve_response.rbi +22 -0
- data/rbi/telnyx/models/number_reservation.rbi +11 -0
- data/rbi/telnyx/models/phone_number_delete_response.rbi +11 -0
- data/rbi/telnyx/models/phone_number_detailed.rbi +25 -3
- data/rbi/telnyx/models/phone_number_slim_list_response.rbi +25 -3
- data/rbi/telnyx/models/phone_number_update_params.rbi +11 -0
- data/rbi/telnyx/models/phone_number_with_messaging_settings.rbi +22 -0
- data/rbi/telnyx/models/phone_numbers/messaging_list_params.rbi +161 -1
- data/rbi/telnyx/models/phone_numbers/messaging_update_params.rbi +11 -0
- data/rbi/telnyx/models/porting_order.rbi +495 -0
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +18 -18
- data/rbi/telnyx/models/reserved_phone_number.rbi +11 -0
- data/rbi/telnyx/models/room_composition.rbi +11 -0
- data/rbi/telnyx/models/telephony_credential.rbi +14 -3
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +6 -6
- data/rbi/telnyx/models.rbi +36 -0
- data/rbi/telnyx/resources/alphanumeric_sender_ids.rbi +84 -0
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -4
- data/rbi/telnyx/resources/messages.rbi +46 -0
- data/rbi/telnyx/resources/messaging_hosted_numbers.rbi +77 -0
- data/rbi/telnyx/resources/messaging_numbers_bulk_updates.rbi +3 -0
- data/rbi/telnyx/resources/messaging_profile_metrics.rbi +28 -0
- data/rbi/telnyx/resources/messaging_profiles/actions.rbi +30 -0
- data/rbi/telnyx/resources/messaging_profiles.rbi +59 -0
- data/rbi/telnyx/resources/phone_numbers/messaging.rbi +25 -1
- data/rbi/telnyx/resources/phone_numbers.rbi +3 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +2 -2
- data/sig/telnyx/client.rbs +4 -0
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/alphanumeric_sender_id_create_params.rbs +38 -0
- data/sig/telnyx/models/alphanumeric_sender_id_create_response.rbs +88 -0
- data/sig/telnyx/models/alphanumeric_sender_id_delete_params.rbs +15 -0
- data/sig/telnyx/models/alphanumeric_sender_id_delete_response.rbs +88 -0
- data/sig/telnyx/models/alphanumeric_sender_id_list_params.rbs +42 -0
- data/sig/telnyx/models/alphanumeric_sender_id_list_response.rbs +69 -0
- data/sig/telnyx/models/alphanumeric_sender_id_retrieve_params.rbs +15 -0
- data/sig/telnyx/models/alphanumeric_sender_id_retrieve_response.rbs +88 -0
- data/sig/telnyx/models/api_error.rbs +5 -5
- data/sig/telnyx/models/available_phone_number_block_list_response.rbs +10 -10
- data/sig/telnyx/models/conferences/{action_end_params.rbs → action_end_conference_params.rbs} +2 -2
- data/sig/telnyx/models/conferences/{action_end_response.rbs → action_end_conference_response.rbs} +2 -2
- data/sig/telnyx/models/conferences/{action_gather_using_audio_params.rbs → action_gather_dtmf_audio_params.rbs} +2 -2
- data/sig/telnyx/models/conferences/{action_gather_using_audio_response.rbs → action_gather_dtmf_audio_response.rbs} +2 -2
- data/sig/telnyx/models/customer_service_record.rbs +10 -3
- data/sig/telnyx/models/message_retrieve_group_messages_params.rbs +15 -0
- data/sig/telnyx/models/message_retrieve_group_messages_response.rbs +18 -0
- data/sig/telnyx/models/message_send_with_alphanumeric_sender_params.rbs +58 -0
- data/sig/telnyx/models/message_send_with_alphanumeric_sender_response.rbs +18 -0
- data/sig/telnyx/models/messaging_10dlc/partner_campaign_list_params.rbs +2 -2
- data/sig/telnyx/models/messaging_hosted_number_list_params.rbs +76 -0
- data/sig/telnyx/models/messaging_hosted_number_retrieve_params.rbs +15 -0
- data/sig/telnyx/models/messaging_hosted_number_retrieve_response.rbs +18 -0
- data/sig/telnyx/models/messaging_hosted_number_update_params.rbs +42 -0
- data/sig/telnyx/models/messaging_hosted_number_update_response.rbs +18 -0
- data/sig/telnyx/models/messaging_numbers_bulk_update_create_params.rbs +11 -1
- data/sig/telnyx/models/messaging_profile.rbs +17 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +15 -0
- data/sig/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_params.rbs +32 -0
- data/sig/telnyx/models/messaging_profile_list_alphanumeric_sender_ids_response.rbs +69 -0
- data/sig/telnyx/models/messaging_profile_list_params.rbs +14 -0
- data/sig/telnyx/models/messaging_profile_metric_list_params.rbs +45 -0
- data/sig/telnyx/models/messaging_profile_metric_list_response.rbs +31 -0
- data/sig/telnyx/models/messaging_profile_retrieve_metrics_params.rbs +45 -0
- data/sig/telnyx/models/messaging_profile_retrieve_metrics_response.rbs +16 -0
- data/sig/telnyx/models/messaging_profiles/action_regenerate_secret_params.rbs +17 -0
- data/sig/telnyx/models/messaging_profiles/action_regenerate_secret_response.rbs +18 -0
- data/sig/telnyx/models/mobile_phone_numbers/messaging_list_response.rbs +14 -0
- data/sig/telnyx/models/mobile_phone_numbers/messaging_retrieve_response.rbs +14 -0
- data/sig/telnyx/models/number_reservation.rbs +7 -0
- data/sig/telnyx/models/phone_number_delete_response.rbs +7 -0
- data/sig/telnyx/models/phone_number_detailed.rbs +17 -3
- data/sig/telnyx/models/phone_number_slim_list_response.rbs +17 -3
- data/sig/telnyx/models/phone_number_update_params.rbs +7 -0
- data/sig/telnyx/models/phone_number_with_messaging_settings.rbs +14 -0
- data/sig/telnyx/models/phone_numbers/messaging_list_params.rbs +66 -1
- data/sig/telnyx/models/phone_numbers/messaging_update_params.rbs +11 -1
- data/sig/telnyx/models/porting_order.rbs +199 -0
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +5 -5
- data/sig/telnyx/models/reserved_phone_number.rbs +7 -0
- data/sig/telnyx/models/room_composition.rbs +7 -0
- data/sig/telnyx/models/telephony_credential.rbs +10 -3
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +5 -5
- data/sig/telnyx/models.rbs +24 -0
- data/sig/telnyx/resources/alphanumeric_sender_ids.rbs +31 -0
- data/sig/telnyx/resources/conferences/actions.rbs +4 -4
- data/sig/telnyx/resources/messages.rbs +16 -0
- data/sig/telnyx/resources/messaging_hosted_numbers.rbs +23 -0
- data/sig/telnyx/resources/messaging_numbers_bulk_updates.rbs +1 -0
- data/sig/telnyx/resources/messaging_profile_metrics.rbs +12 -0
- data/sig/telnyx/resources/messaging_profiles/actions.rbs +14 -0
- data/sig/telnyx/resources/messaging_profiles.rbs +20 -0
- data/sig/telnyx/resources/phone_numbers/messaging.rbs +6 -0
- data/sig/telnyx/resources/phone_numbers.rbs +1 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
- metadata +98 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27863335bea5e64dd3eb1e713557f7d78b99b16198dccf2d00096d4edf4ac37a
|
|
4
|
+
data.tar.gz: b34843f7367dd2c1450fc76972e7ecb6ba1a091dbc24b525e4574ba17c69359e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52e01ab73149b11a4f0f012c98acad70a7a3bf1ecfe96c39db149b2619df8c8d88ee86b3e053e5e9da613f4bcb3b1c59f72fcaffd694919b3977419ad6109f9f
|
|
7
|
+
data.tar.gz: e236e5a3deac4a8eb5a893a0f836b7d25cd8afe343e985a052d44580a9ce6a54009f2e809030e2b2e7e6479ef4335eca7df515575cadd456e0b18e9384fda0fb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.36.1 (2026-02-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.36.0...v5.36.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.36.0...v5.36.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* OAS drift — 10dlc.json (messaging-campaign-registry) ([de87287](https://github.com/team-telnyx/telnyx-ruby/commit/de872874a55bcb80a83d4e6d4e8e60cc4fb053a9))
|
|
10
|
+
* OAS drift — messaging.json (messaging-settings + messaging-outbound) ([a8b8944](https://github.com/team-telnyx/telnyx-ruby/commit/a8b89448f1ad2d9c49687f2b71a846c5e8348941))
|
|
11
|
+
|
|
12
|
+
## 5.36.0 (2026-02-20)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v5.35.0...v5.36.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.35.0...v5.36.0)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **api:** manual updates ([eaf686d](https://github.com/team-telnyx/telnyx-ruby/commit/eaf686da95ddfdec3860bfe85233874e72ef44b8))
|
|
19
|
+
* fix-stainless-sdk-timeout ([611e77c](https://github.com/team-telnyx/telnyx-ruby/commit/611e77c332f7c627976428a0f92648e06666224f))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* move unsupported string formats to x-format ([52b1b5e](https://github.com/team-telnyx/telnyx-ruby/commit/52b1b5e2de3c0ade5595a4825f542ff4f896b0ac))
|
|
25
|
+
|
|
3
26
|
## 5.35.0 (2026-02-20)
|
|
4
27
|
|
|
5
28
|
Full Changelog: [v5.34.0...v5.35.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.34.0...v5.35.0)
|
data/README.md
CHANGED
data/lib/telnyx/client.rb
CHANGED
|
@@ -480,6 +480,12 @@ module Telnyx
|
|
|
480
480
|
# @return [Telnyx::Resources::Organizations]
|
|
481
481
|
attr_reader :organizations
|
|
482
482
|
|
|
483
|
+
# @return [Telnyx::Resources::AlphanumericSenderIDs]
|
|
484
|
+
attr_reader :alphanumeric_sender_ids
|
|
485
|
+
|
|
486
|
+
# @return [Telnyx::Resources::MessagingProfileMetrics]
|
|
487
|
+
attr_reader :messaging_profile_metrics
|
|
488
|
+
|
|
483
489
|
# @api private
|
|
484
490
|
#
|
|
485
491
|
# @return [Hash{String=>String}]
|
|
@@ -726,6 +732,8 @@ module Telnyx
|
|
|
726
732
|
@messaging_10dlc = Telnyx::Resources::Messaging10dlc.new(client: self)
|
|
727
733
|
@speech_to_text = Telnyx::Resources::SpeechToText.new(client: self)
|
|
728
734
|
@organizations = Telnyx::Resources::Organizations.new(client: self)
|
|
735
|
+
@alphanumeric_sender_ids = Telnyx::Resources::AlphanumericSenderIDs.new(client: self)
|
|
736
|
+
@messaging_profile_metrics = Telnyx::Resources::MessagingProfileMetrics.new(client: self)
|
|
729
737
|
end
|
|
730
738
|
end
|
|
731
739
|
end
|
|
@@ -70,9 +70,9 @@ module Telnyx
|
|
|
70
70
|
|
|
71
71
|
variant Telnyx::Internal::Type::Boolean
|
|
72
72
|
|
|
73
|
-
variant -> { Telnyx::Models::AI::ConversationAddMessageParams::Metadata::
|
|
73
|
+
variant -> { Telnyx::Models::AI::ConversationAddMessageParams::Metadata::UnionArrayVariant3Array }
|
|
74
74
|
|
|
75
|
-
module
|
|
75
|
+
module UnionArrayVariant3
|
|
76
76
|
extend Telnyx::Internal::Type::Union
|
|
77
77
|
|
|
78
78
|
variant String
|
|
@@ -89,9 +89,9 @@ module Telnyx
|
|
|
89
89
|
# @return [Array(String, Integer, Boolean, Array<String, Integer, Boolean>)]
|
|
90
90
|
|
|
91
91
|
# @type [Telnyx::Internal::Type::Converter]
|
|
92
|
-
|
|
92
|
+
UnionArrayVariant3Array =
|
|
93
93
|
Telnyx::Internal::Type::ArrayOf[union: -> {
|
|
94
|
-
Telnyx::AI::ConversationAddMessageParams::Metadata::
|
|
94
|
+
Telnyx::AI::ConversationAddMessageParams::Metadata::UnionArrayVariant3
|
|
95
95
|
}]
|
|
96
96
|
end
|
|
97
97
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#create
|
|
6
|
+
class AlphanumericSenderIDCreateParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute alphanumeric_sender_id
|
|
11
|
+
# The alphanumeric sender ID string.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :alphanumeric_sender_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute messaging_profile_id
|
|
17
|
+
# The messaging profile to associate the sender ID with.
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :messaging_profile_id, String
|
|
21
|
+
|
|
22
|
+
# @!attribute us_long_code_fallback
|
|
23
|
+
# A US long code number to use as fallback when sending to US destinations.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :us_long_code_fallback, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(alphanumeric_sender_id:, messaging_profile_id:, us_long_code_fallback: nil, request_options: {})
|
|
29
|
+
# @param alphanumeric_sender_id [String] The alphanumeric sender ID string.
|
|
30
|
+
#
|
|
31
|
+
# @param messaging_profile_id [String] The messaging profile to associate the sender ID with.
|
|
32
|
+
#
|
|
33
|
+
# @param us_long_code_fallback [String] A US long code number to use as fallback when sending to US destinations.
|
|
34
|
+
#
|
|
35
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#create
|
|
6
|
+
class AlphanumericSenderIDCreateResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute data
|
|
8
|
+
#
|
|
9
|
+
# @return [Telnyx::Models::AlphanumericSenderIDCreateResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::AlphanumericSenderIDCreateResponse::Data }
|
|
11
|
+
|
|
12
|
+
# @!method initialize(data: nil)
|
|
13
|
+
# @param data [Telnyx::Models::AlphanumericSenderIDCreateResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::AlphanumericSenderIDCreateResponse#data
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute id
|
|
18
|
+
# Uniquely identifies the alphanumeric sender ID resource.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :id, String
|
|
22
|
+
|
|
23
|
+
# @!attribute alphanumeric_sender_id
|
|
24
|
+
# The alphanumeric sender ID string.
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :alphanumeric_sender_id, String
|
|
28
|
+
|
|
29
|
+
# @!attribute messaging_profile_id
|
|
30
|
+
# The messaging profile this sender ID belongs to.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :messaging_profile_id, String
|
|
34
|
+
|
|
35
|
+
# @!attribute organization_id
|
|
36
|
+
# The organization that owns this sender ID.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :organization_id, String
|
|
40
|
+
|
|
41
|
+
# @!attribute record_type
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Telnyx::Models::AlphanumericSenderIDCreateResponse::Data::RecordType, nil]
|
|
44
|
+
optional :record_type, enum: -> { Telnyx::Models::AlphanumericSenderIDCreateResponse::Data::RecordType }
|
|
45
|
+
|
|
46
|
+
# @!attribute us_long_code_fallback
|
|
47
|
+
# A US long code number to use as fallback when sending to US destinations.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :us_long_code_fallback, String
|
|
51
|
+
|
|
52
|
+
# @!method initialize(id: nil, alphanumeric_sender_id: nil, messaging_profile_id: nil, organization_id: nil, record_type: nil, us_long_code_fallback: nil)
|
|
53
|
+
# @param id [String] Uniquely identifies the alphanumeric sender ID resource.
|
|
54
|
+
#
|
|
55
|
+
# @param alphanumeric_sender_id [String] The alphanumeric sender ID string.
|
|
56
|
+
#
|
|
57
|
+
# @param messaging_profile_id [String] The messaging profile this sender ID belongs to.
|
|
58
|
+
#
|
|
59
|
+
# @param organization_id [String] The organization that owns this sender ID.
|
|
60
|
+
#
|
|
61
|
+
# @param record_type [Symbol, Telnyx::Models::AlphanumericSenderIDCreateResponse::Data::RecordType]
|
|
62
|
+
#
|
|
63
|
+
# @param us_long_code_fallback [String] A US long code number to use as fallback when sending to US destinations.
|
|
64
|
+
|
|
65
|
+
# @see Telnyx::Models::AlphanumericSenderIDCreateResponse::Data#record_type
|
|
66
|
+
module RecordType
|
|
67
|
+
extend Telnyx::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
ALPHANUMERIC_SENDER_ID = :alphanumeric_sender_id
|
|
70
|
+
|
|
71
|
+
# @!method self.values
|
|
72
|
+
# @return [Array<Symbol>]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#delete
|
|
6
|
+
class AlphanumericSenderIDDeleteParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!method initialize(request_options: {})
|
|
11
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#delete
|
|
6
|
+
class AlphanumericSenderIDDeleteResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute data
|
|
8
|
+
#
|
|
9
|
+
# @return [Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data }
|
|
11
|
+
|
|
12
|
+
# @!method initialize(data: nil)
|
|
13
|
+
# @param data [Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::AlphanumericSenderIDDeleteResponse#data
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute id
|
|
18
|
+
# Uniquely identifies the alphanumeric sender ID resource.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :id, String
|
|
22
|
+
|
|
23
|
+
# @!attribute alphanumeric_sender_id
|
|
24
|
+
# The alphanumeric sender ID string.
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :alphanumeric_sender_id, String
|
|
28
|
+
|
|
29
|
+
# @!attribute messaging_profile_id
|
|
30
|
+
# The messaging profile this sender ID belongs to.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :messaging_profile_id, String
|
|
34
|
+
|
|
35
|
+
# @!attribute organization_id
|
|
36
|
+
# The organization that owns this sender ID.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :organization_id, String
|
|
40
|
+
|
|
41
|
+
# @!attribute record_type
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data::RecordType, nil]
|
|
44
|
+
optional :record_type, enum: -> { Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data::RecordType }
|
|
45
|
+
|
|
46
|
+
# @!attribute us_long_code_fallback
|
|
47
|
+
# A US long code number to use as fallback when sending to US destinations.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :us_long_code_fallback, String
|
|
51
|
+
|
|
52
|
+
# @!method initialize(id: nil, alphanumeric_sender_id: nil, messaging_profile_id: nil, organization_id: nil, record_type: nil, us_long_code_fallback: nil)
|
|
53
|
+
# @param id [String] Uniquely identifies the alphanumeric sender ID resource.
|
|
54
|
+
#
|
|
55
|
+
# @param alphanumeric_sender_id [String] The alphanumeric sender ID string.
|
|
56
|
+
#
|
|
57
|
+
# @param messaging_profile_id [String] The messaging profile this sender ID belongs to.
|
|
58
|
+
#
|
|
59
|
+
# @param organization_id [String] The organization that owns this sender ID.
|
|
60
|
+
#
|
|
61
|
+
# @param record_type [Symbol, Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data::RecordType]
|
|
62
|
+
#
|
|
63
|
+
# @param us_long_code_fallback [String] A US long code number to use as fallback when sending to US destinations.
|
|
64
|
+
|
|
65
|
+
# @see Telnyx::Models::AlphanumericSenderIDDeleteResponse::Data#record_type
|
|
66
|
+
module RecordType
|
|
67
|
+
extend Telnyx::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
ALPHANUMERIC_SENDER_ID = :alphanumeric_sender_id
|
|
70
|
+
|
|
71
|
+
# @!method self.values
|
|
72
|
+
# @return [Array<Symbol>]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#list
|
|
6
|
+
class AlphanumericSenderIDListParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute filter_messaging_profile_id
|
|
11
|
+
# Filter by messaging profile ID.
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
optional :filter_messaging_profile_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute page_number
|
|
17
|
+
# Page number.
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :page_number, Integer
|
|
21
|
+
|
|
22
|
+
# @!attribute page_size
|
|
23
|
+
# Page size.
|
|
24
|
+
#
|
|
25
|
+
# @return [Integer, nil]
|
|
26
|
+
optional :page_size, Integer
|
|
27
|
+
|
|
28
|
+
# @!method initialize(filter_messaging_profile_id: nil, page_number: nil, page_size: nil, request_options: {})
|
|
29
|
+
# @param filter_messaging_profile_id [String] Filter by messaging profile ID.
|
|
30
|
+
#
|
|
31
|
+
# @param page_number [Integer] Page number.
|
|
32
|
+
#
|
|
33
|
+
# @param page_size [Integer] Page size.
|
|
34
|
+
#
|
|
35
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#list
|
|
6
|
+
class AlphanumericSenderIDListResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# Uniquely identifies the alphanumeric sender ID resource.
|
|
9
|
+
#
|
|
10
|
+
# @return [String, nil]
|
|
11
|
+
optional :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute alphanumeric_sender_id
|
|
14
|
+
# The alphanumeric sender ID string.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :alphanumeric_sender_id, String
|
|
18
|
+
|
|
19
|
+
# @!attribute messaging_profile_id
|
|
20
|
+
# The messaging profile this sender ID belongs to.
|
|
21
|
+
#
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
optional :messaging_profile_id, String
|
|
24
|
+
|
|
25
|
+
# @!attribute organization_id
|
|
26
|
+
# The organization that owns this sender ID.
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :organization_id, String
|
|
30
|
+
|
|
31
|
+
# @!attribute record_type
|
|
32
|
+
#
|
|
33
|
+
# @return [Symbol, Telnyx::Models::AlphanumericSenderIDListResponse::RecordType, nil]
|
|
34
|
+
optional :record_type, enum: -> { Telnyx::Models::AlphanumericSenderIDListResponse::RecordType }
|
|
35
|
+
|
|
36
|
+
# @!attribute us_long_code_fallback
|
|
37
|
+
# A US long code number to use as fallback when sending to US destinations.
|
|
38
|
+
#
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
optional :us_long_code_fallback, String
|
|
41
|
+
|
|
42
|
+
# @!method initialize(id: nil, alphanumeric_sender_id: nil, messaging_profile_id: nil, organization_id: nil, record_type: nil, us_long_code_fallback: nil)
|
|
43
|
+
# @param id [String] Uniquely identifies the alphanumeric sender ID resource.
|
|
44
|
+
#
|
|
45
|
+
# @param alphanumeric_sender_id [String] The alphanumeric sender ID string.
|
|
46
|
+
#
|
|
47
|
+
# @param messaging_profile_id [String] The messaging profile this sender ID belongs to.
|
|
48
|
+
#
|
|
49
|
+
# @param organization_id [String] The organization that owns this sender ID.
|
|
50
|
+
#
|
|
51
|
+
# @param record_type [Symbol, Telnyx::Models::AlphanumericSenderIDListResponse::RecordType]
|
|
52
|
+
#
|
|
53
|
+
# @param us_long_code_fallback [String] A US long code number to use as fallback when sending to US destinations.
|
|
54
|
+
|
|
55
|
+
# @see Telnyx::Models::AlphanumericSenderIDListResponse#record_type
|
|
56
|
+
module RecordType
|
|
57
|
+
extend Telnyx::Internal::Type::Enum
|
|
58
|
+
|
|
59
|
+
ALPHANUMERIC_SENDER_ID = :alphanumeric_sender_id
|
|
60
|
+
|
|
61
|
+
# @!method self.values
|
|
62
|
+
# @return [Array<Symbol>]
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#retrieve
|
|
6
|
+
class AlphanumericSenderIDRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!method initialize(request_options: {})
|
|
11
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
# @see Telnyx::Resources::AlphanumericSenderIDs#retrieve
|
|
6
|
+
class AlphanumericSenderIDRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute data
|
|
8
|
+
#
|
|
9
|
+
# @return [Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data, nil]
|
|
10
|
+
optional :data, -> { Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data }
|
|
11
|
+
|
|
12
|
+
# @!method initialize(data: nil)
|
|
13
|
+
# @param data [Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data]
|
|
14
|
+
|
|
15
|
+
# @see Telnyx::Models::AlphanumericSenderIDRetrieveResponse#data
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute id
|
|
18
|
+
# Uniquely identifies the alphanumeric sender ID resource.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :id, String
|
|
22
|
+
|
|
23
|
+
# @!attribute alphanumeric_sender_id
|
|
24
|
+
# The alphanumeric sender ID string.
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :alphanumeric_sender_id, String
|
|
28
|
+
|
|
29
|
+
# @!attribute messaging_profile_id
|
|
30
|
+
# The messaging profile this sender ID belongs to.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :messaging_profile_id, String
|
|
34
|
+
|
|
35
|
+
# @!attribute organization_id
|
|
36
|
+
# The organization that owns this sender ID.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :organization_id, String
|
|
40
|
+
|
|
41
|
+
# @!attribute record_type
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data::RecordType, nil]
|
|
44
|
+
optional :record_type, enum: -> { Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data::RecordType }
|
|
45
|
+
|
|
46
|
+
# @!attribute us_long_code_fallback
|
|
47
|
+
# A US long code number to use as fallback when sending to US destinations.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :us_long_code_fallback, String
|
|
51
|
+
|
|
52
|
+
# @!method initialize(id: nil, alphanumeric_sender_id: nil, messaging_profile_id: nil, organization_id: nil, record_type: nil, us_long_code_fallback: nil)
|
|
53
|
+
# @param id [String] Uniquely identifies the alphanumeric sender ID resource.
|
|
54
|
+
#
|
|
55
|
+
# @param alphanumeric_sender_id [String] The alphanumeric sender ID string.
|
|
56
|
+
#
|
|
57
|
+
# @param messaging_profile_id [String] The messaging profile this sender ID belongs to.
|
|
58
|
+
#
|
|
59
|
+
# @param organization_id [String] The organization that owns this sender ID.
|
|
60
|
+
#
|
|
61
|
+
# @param record_type [Symbol, Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data::RecordType]
|
|
62
|
+
#
|
|
63
|
+
# @param us_long_code_fallback [String] A US long code number to use as fallback when sending to US destinations.
|
|
64
|
+
|
|
65
|
+
# @see Telnyx::Models::AlphanumericSenderIDRetrieveResponse::Data#record_type
|
|
66
|
+
module RecordType
|
|
67
|
+
extend Telnyx::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
ALPHANUMERIC_SENDER_ID = :alphanumeric_sender_id
|
|
70
|
+
|
|
71
|
+
# @!method self.values
|
|
72
|
+
# @return [Array<Symbol>]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -13,10 +13,10 @@ module Telnyx
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :title, String
|
|
15
15
|
|
|
16
|
-
# @!attribute
|
|
16
|
+
# @!attribute description
|
|
17
17
|
#
|
|
18
18
|
# @return [String, nil]
|
|
19
|
-
optional :
|
|
19
|
+
optional :description, String
|
|
20
20
|
|
|
21
21
|
# @!attribute meta
|
|
22
22
|
#
|
|
@@ -28,10 +28,10 @@ module Telnyx
|
|
|
28
28
|
# @return [Telnyx::Models::APIError::Source, nil]
|
|
29
29
|
optional :source, -> { Telnyx::APIError::Source }
|
|
30
30
|
|
|
31
|
-
# @!method initialize(code:, title:,
|
|
31
|
+
# @!method initialize(code:, title:, description: nil, meta: nil, source: nil)
|
|
32
32
|
# @param code [String]
|
|
33
33
|
# @param title [String]
|
|
34
|
-
# @param
|
|
34
|
+
# @param description [String]
|
|
35
35
|
# @param meta [Hash{Symbol=>Object}]
|
|
36
36
|
# @param source [Telnyx::Models::APIError::Source]
|
|
37
37
|
|
|
@@ -32,6 +32,11 @@ module Telnyx
|
|
|
32
32
|
optional :features,
|
|
33
33
|
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::Feature] }
|
|
34
34
|
|
|
35
|
+
# @!attribute phone_number
|
|
36
|
+
#
|
|
37
|
+
# @return [String, nil]
|
|
38
|
+
optional :phone_number, String
|
|
39
|
+
|
|
35
40
|
# @!attribute range
|
|
36
41
|
#
|
|
37
42
|
# @return [Integer, nil]
|
|
@@ -49,18 +54,13 @@ module Telnyx
|
|
|
49
54
|
optional :region_information,
|
|
50
55
|
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::RegionInformation] }
|
|
51
56
|
|
|
52
|
-
# @!
|
|
53
|
-
#
|
|
54
|
-
# @return [String, nil]
|
|
55
|
-
optional :starting_number, String
|
|
56
|
-
|
|
57
|
-
# @!method initialize(cost_information: nil, features: nil, range: nil, record_type: nil, region_information: nil, starting_number: nil)
|
|
57
|
+
# @!method initialize(cost_information: nil, features: nil, phone_number: nil, range: nil, record_type: nil, region_information: nil)
|
|
58
58
|
# @param cost_information [Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::CostInformation]
|
|
59
59
|
# @param features [Array<Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::Feature>]
|
|
60
|
+
# @param phone_number [String]
|
|
60
61
|
# @param range [Integer]
|
|
61
62
|
# @param record_type [Symbol, Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::RecordType]
|
|
62
63
|
# @param region_information [Array<Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data::RegionInformation>]
|
|
63
|
-
# @param starting_number [String]
|
|
64
64
|
|
|
65
65
|
# @see Telnyx::Models::AvailablePhoneNumberBlockListResponse::Data#cost_information
|
|
66
66
|
class CostInformation < Telnyx::Internal::Type::BaseModel
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Conferences
|
|
6
|
-
# @see Telnyx::Resources::Conferences::Actions#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Conferences::Actions#end_conference
|
|
7
|
+
class ActionEndConferenceParams < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Telnyx::Internal::Type::RequestParameters
|
|
10
10
|
|
|
@@ -17,7 +17,7 @@ module Telnyx
|
|
|
17
17
|
|
|
18
18
|
# @!method initialize(command_id: nil, request_options: {})
|
|
19
19
|
# Some parameter documentations has been truncated, see
|
|
20
|
-
# {Telnyx::Models::Conferences::
|
|
20
|
+
# {Telnyx::Models::Conferences::ActionEndConferenceParams} for more details.
|
|
21
21
|
#
|
|
22
22
|
# @param command_id [String] Use this field to avoid duplicate commands. Telnyx will ignore any command with
|
|
23
23
|
#
|
data/lib/telnyx/models/conferences/{action_end_response.rb → action_end_conference_response.rb}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Conferences
|
|
6
|
-
# @see Telnyx::Resources::Conferences::Actions#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Conferences::Actions#end_conference
|
|
7
|
+
class ActionEndConferenceResponse < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute data
|
|
9
9
|
#
|
|
10
10
|
# @return [Telnyx::Models::Conferences::ConferenceCommandResult, nil]
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Conferences
|
|
6
|
-
# @see Telnyx::Resources::Conferences::Actions#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Conferences::Actions#gather_dtmf_audio
|
|
7
|
+
class ActionGatherDtmfAudioParams < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Telnyx::Internal::Type::RequestParameters
|
|
10
10
|
|
|
@@ -111,7 +111,7 @@ module Telnyx
|
|
|
111
111
|
|
|
112
112
|
# @!method initialize(call_control_id:, audio_url: nil, client_state: nil, gather_id: nil, initial_timeout_millis: nil, inter_digit_timeout_millis: nil, invalid_audio_url: nil, invalid_media_name: nil, maximum_digits: nil, maximum_tries: nil, media_name: nil, minimum_digits: nil, stop_playback_on_dtmf: nil, terminating_digit: nil, timeout_millis: nil, valid_digits: nil, request_options: {})
|
|
113
113
|
# Some parameter documentations has been truncated, see
|
|
114
|
-
# {Telnyx::Models::Conferences::
|
|
114
|
+
# {Telnyx::Models::Conferences::ActionGatherDtmfAudioParams} for more details.
|
|
115
115
|
#
|
|
116
116
|
# @param call_control_id [String] Unique identifier and token for controlling the call leg that will receive the g
|
|
117
117
|
#
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
module Conferences
|
|
6
|
-
# @see Telnyx::Resources::Conferences::Actions#
|
|
7
|
-
class
|
|
6
|
+
# @see Telnyx::Resources::Conferences::Actions#gather_dtmf_audio
|
|
7
|
+
class ActionGatherDtmfAudioResponse < Telnyx::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute data
|
|
9
9
|
#
|
|
10
10
|
# @return [Telnyx::Models::Conferences::ConferenceCommandResult, nil]
|