bandwidth-sdk 17.0.0 → 17.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/Gemfile.lock +4 -4
- data/README.md +29 -3
- data/bandwidth-sdk.gemspec +1 -2
- data/bandwidth.yml +85 -22
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +317 -487
- data/coverage/index.html +6317 -7908
- data/custom_templates/README.mustache +4 -1
- data/custom_templates/api_client.mustache +254 -0
- data/custom_templates/configuration.mustache +545 -0
- data/custom_templates/gem.mustache +2 -0
- data/docs/CallsApi.md +20 -5
- data/docs/ConferencesApi.md +36 -9
- data/docs/MFAApi.md +12 -3
- data/docs/MediaApi.md +16 -4
- data/docs/MessagesApi.md +8 -2
- data/docs/MultiChannelAction.md +32 -81
- data/docs/MultiChannelApi.md +5 -2
- data/docs/{MultiChannelChannelListObject.md → MultiChannelChannelListMMSObject.md} +3 -3
- data/docs/{MultiChannelMessageResponseDataChannelListInner.md → MultiChannelChannelListMMSResponseObject.md} +3 -3
- data/docs/MultiChannelChannelListObjectBase.md +22 -0
- data/docs/MultiChannelChannelListOwnerObject.md +18 -0
- data/docs/MultiChannelChannelListRBMObject.md +24 -0
- data/docs/{MultiChannelChannelListObjectContent.md → MultiChannelChannelListRBMObjectAllOfContent.md} +6 -10
- data/docs/MultiChannelChannelListRBMResponseObject.md +26 -0
- data/docs/MultiChannelChannelListRequestObject.md +24 -0
- data/docs/MultiChannelChannelListResponseObject.md +26 -0
- data/docs/MultiChannelChannelListSMSObject.md +24 -0
- data/docs/MultiChannelChannelListSMSResponseObject.md +26 -0
- data/docs/MultiChannelMessageRequest.md +1 -1
- data/docs/MultiChannelMessageResponseData.md +1 -1
- data/docs/PhoneNumberLookupApi.md +12 -3
- data/docs/RbmActionBase.md +1 -1
- data/docs/RbmSuggestionResponse.md +1 -1
- data/docs/RecordingsApi.md +40 -10
- data/docs/StatisticsApi.md +4 -1
- data/docs/TollFreeVerificationApi.md +36 -9
- data/docs/TranscriptionsApi.md +12 -3
- data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
- data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
- data/lib/bandwidth-sdk/api/media_api.rb +5 -5
- data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
- data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
- data/lib/bandwidth-sdk/api/multi_channel_api.rb +2 -2
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +4 -4
- data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
- data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
- data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +13 -13
- data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
- data/lib/bandwidth-sdk/api_client.rb +9 -5
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/api_model_base.rb +88 -0
- data/lib/bandwidth-sdk/configuration.rb +50 -1
- data/lib/bandwidth-sdk/models/account_statistics.rb +11 -78
- data/lib/bandwidth-sdk/models/additional_denial_reason.rb +41 -78
- data/lib/bandwidth-sdk/models/address.rb +23 -90
- data/lib/bandwidth-sdk/models/answer_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/async_lookup_request.rb +11 -78
- data/lib/bandwidth-sdk/models/blocked_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/business_entity_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/business_registration_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/call_state.rb +11 -78
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_response.rb +11 -78
- data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/callback.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/card_width_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/code_request.rb +11 -78
- data/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/contact.rb +19 -86
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/create_call.rb +41 -78
- data/lib/bandwidth-sdk/models/create_call_response.rb +81 -78
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +31 -78
- data/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/deactivation_event_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/diversion.rb +11 -78
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/error.rb +11 -78
- data/lib/bandwidth-sdk/models/error_object.rb +41 -78
- data/lib/bandwidth-sdk/models/error_source.rb +11 -78
- data/lib/bandwidth-sdk/models/failure_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/field_error.rb +11 -78
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +11 -78
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +11 -78
- data/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_callback.rb +61 -78
- data/lib/bandwidth-sdk/models/inbound_callback_message.rb +81 -78
- data/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/line_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/link.rb +11 -78
- data/lib/bandwidth-sdk/models/link_schema.rb +11 -78
- data/lib/bandwidth-sdk/models/links_object.rb +11 -78
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_response.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_schema.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +11 -78
- data/lib/bandwidth-sdk/models/lookup_result.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +11 -78
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +11 -78
- data/lib/bandwidth-sdk/models/media.rb +11 -78
- data/lib/bandwidth-sdk/models/message.rb +11 -78
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +31 -78
- data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/messages_list.rb +11 -78
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +31 -78
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +11 -78
- data/lib/bandwidth-sdk/models/mms_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/mms_message_content_file.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_action.rb +71 -27
- data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +41 -78
- data/lib/bandwidth-sdk/models/{multi_channel_channel_list_object.rb → multi_channel_channel_list_mms_object.rb} +60 -80
- data/lib/bandwidth-sdk/models/{multi_channel_message_response_data_channel_list_inner.rb → multi_channel_channel_list_mms_response_object.rb} +65 -81
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +238 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +163 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +271 -0
- data/lib/bandwidth-sdk/models/{multi_channel_channel_list_object_content.rb → multi_channel_channel_list_rbm_object_all_of_content.rb} +5 -8
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +299 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +103 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +103 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +271 -0
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +299 -0
- data/lib/bandwidth-sdk/models/multi_channel_error.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/multi_channel_message_request.rb +22 -79
- data/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +42 -79
- data/lib/bandwidth-sdk/models/opt_in_workflow.rb +25 -82
- data/lib/bandwidth-sdk/models/page_info.rb +11 -78
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/product_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_base.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_action_dial.rb +31 -78
- data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +41 -78
- data/lib/bandwidth-sdk/models/rbm_card_content.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_card_content_media.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_location_response.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_message_content_file.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +3 -4
- data/lib/bandwidth-sdk/models/rbm_message_content_text.rb +11 -78
- data/lib/bandwidth-sdk/models/rbm_message_media.rb +21 -78
- data/lib/bandwidth-sdk/models/rbm_standalone_card.rb +41 -78
- data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +11 -78
- data/lib/bandwidth-sdk/models/recording_transcriptions.rb +11 -78
- data/lib/bandwidth-sdk/models/redirect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/sms_message_content.rb +11 -78
- data/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/status_callback.rb +61 -78
- data/lib/bandwidth-sdk/models/status_callback_message.rb +81 -78
- data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +6 -6
- data/lib/bandwidth-sdk/models/stir_shaken.rb +11 -78
- data/lib/bandwidth-sdk/models/sync_lookup_request.rb +11 -78
- data/lib/bandwidth-sdk/models/telephone_number.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_error.rb +11 -78
- data/lib/bandwidth-sdk/models/tfv_status.rb +13 -80
- data/lib/bandwidth-sdk/models/tfv_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_submission_info.rb +21 -88
- data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +11 -78
- data/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +11 -78
- data/lib/bandwidth-sdk/models/transcription.rb +11 -78
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +11 -78
- data/lib/bandwidth-sdk/models/update_call.rb +11 -78
- data/lib/bandwidth-sdk/models/update_call_recording.rb +21 -78
- data/lib/bandwidth-sdk/models/update_conference.rb +11 -78
- data/lib/bandwidth-sdk/models/update_conference_member.rb +11 -78
- data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/verification_request.rb +51 -88
- data/lib/bandwidth-sdk/models/verification_update_request.rb +51 -88
- data/lib/bandwidth-sdk/models/verification_webhook.rb +13 -80
- data/lib/bandwidth-sdk/models/verify_code_request.rb +13 -80
- data/lib/bandwidth-sdk/models/verify_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/voice_api_error.rb +11 -78
- data/lib/bandwidth-sdk/models/voice_code_response.rb +11 -78
- data/lib/bandwidth-sdk/models/webhook_subscription.rb +13 -80
- data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +11 -78
- data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +15 -82
- data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +21 -78
- data/lib/bandwidth-sdk/version.rb +2 -2
- data/lib/bandwidth-sdk.rb +13 -4
- data/openapitools.json +1 -1
- data/spec/smoke/calls_api_spec.rb +50 -76
- data/spec/smoke/conferences_api_spec.rb +7 -5
- data/spec/smoke/media_api_spec.rb +4 -2
- data/spec/smoke/messages_api_spec.rb +9 -4
- data/spec/smoke/mfa_api_spec.rb +9 -4
- data/spec/smoke/multi_channel_api_spec.rb +128 -25
- data/spec/smoke/phone_number_lookup_api_spec.rb +7 -5
- data/spec/smoke/recordings_api_spec.rb +7 -33
- data/spec/smoke/statistics_api_spec.rb +16 -8
- data/spec/smoke/toll_free_verification_api_spec.rb +6 -4
- data/spec/smoke/transcriptions_api_spec.rb +7 -5
- data/spec/spec_helper.rb +2 -0
- data/spec/unit/api/multi_channel_api_spec.rb +13 -2
- data/spec/unit/models/verify_code_request_spec.rb +1 -1
- metadata +27 -8
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Bandwidth::MultiChannelChannelListRequestObject
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **from** | **String** | The sender ID of the message. This could be an alphanumeric sender ID. | |
|
|
8
|
+
| **application_id** | **String** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | |
|
|
9
|
+
| **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | |
|
|
10
|
+
| **content** | [**MmsMessageContent**](MmsMessageContent.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'bandwidth-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Bandwidth::MultiChannelChannelListRequestObject.new(
|
|
18
|
+
from: BandwidthRBM,
|
|
19
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
|
20
|
+
channel: null,
|
|
21
|
+
content: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Bandwidth::MultiChannelChannelListResponseObject
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **from** | **String** | The sender ID of the message. This could be an alphanumeric sender ID. | |
|
|
8
|
+
| **application_id** | **String** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | |
|
|
9
|
+
| **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | |
|
|
10
|
+
| **content** | [**MmsMessageContent**](MmsMessageContent.md) | | |
|
|
11
|
+
| **owner** | **String** | The Bandwidth senderId associated with the message. Identical to 'from'. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'bandwidth-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Bandwidth::MultiChannelChannelListResponseObject.new(
|
|
19
|
+
from: BandwidthRBM,
|
|
20
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
|
21
|
+
channel: null,
|
|
22
|
+
content: null,
|
|
23
|
+
owner: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Bandwidth::MultiChannelChannelListSMSObject
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **from** | **String** | The sender ID of the message. This could be an alphanumeric sender ID. | |
|
|
8
|
+
| **application_id** | **String** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | |
|
|
9
|
+
| **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | |
|
|
10
|
+
| **content** | [**SmsMessageContent**](SmsMessageContent.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'bandwidth-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Bandwidth::MultiChannelChannelListSMSObject.new(
|
|
18
|
+
from: BandwidthRBM,
|
|
19
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
|
20
|
+
channel: null,
|
|
21
|
+
content: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Bandwidth::MultiChannelChannelListSMSResponseObject
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **from** | **String** | The sender ID of the message. This could be an alphanumeric sender ID. | |
|
|
8
|
+
| **application_id** | **String** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | |
|
|
9
|
+
| **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | |
|
|
10
|
+
| **content** | [**SmsMessageContent**](SmsMessageContent.md) | | |
|
|
11
|
+
| **owner** | **String** | The Bandwidth senderId associated with the message. Identical to 'from'. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'bandwidth-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Bandwidth::MultiChannelChannelListSMSResponseObject.new(
|
|
19
|
+
from: BandwidthRBM,
|
|
20
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
|
21
|
+
channel: null,
|
|
22
|
+
content: null,
|
|
23
|
+
owner: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **to** | **String** | The phone number the message should be sent to in E164 format. | |
|
|
8
|
-
| **channel_list** | [**Array<
|
|
8
|
+
| **channel_list** | [**Array<MultiChannelChannelListRequestObject>**](MultiChannelChannelListRequestObject.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | |
|
|
9
9
|
| **tag** | **String** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] |
|
|
10
10
|
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
|
11
11
|
| **expiration** | **Time** | A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. | [optional] |
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| **time** | **Time** | The time the message was received by the Bandwidth API. | |
|
|
9
9
|
| **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | |
|
|
10
10
|
| **to** | **Array<String>** | The destination phone number(s) of the message, in E164 format. | |
|
|
11
|
-
| **channel_list** | [**Array<
|
|
11
|
+
| **channel_list** | [**Array<MultiChannelChannelListResponseObject>**](MultiChannelChannelListResponseObject.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | |
|
|
12
12
|
| **tag** | **String** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] |
|
|
13
13
|
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
|
14
14
|
| **expiration** | **Time** | A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. | [optional] |
|
|
@@ -27,6 +27,9 @@ Bandwidth.configure do |config|
|
|
|
27
27
|
# Configure HTTP basic authorization: Basic
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
|
+
|
|
31
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
30
33
|
end
|
|
31
34
|
|
|
32
35
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -73,7 +76,7 @@ end
|
|
|
73
76
|
|
|
74
77
|
### Authorization
|
|
75
78
|
|
|
76
|
-
[Basic](../README.md#Basic)
|
|
79
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
77
80
|
|
|
78
81
|
### HTTP request headers
|
|
79
82
|
|
|
@@ -99,6 +102,9 @@ Bandwidth.configure do |config|
|
|
|
99
102
|
# Configure HTTP basic authorization: Basic
|
|
100
103
|
config.username = 'YOUR USERNAME'
|
|
101
104
|
config.password = 'YOUR PASSWORD'
|
|
105
|
+
|
|
106
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
102
108
|
end
|
|
103
109
|
|
|
104
110
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -145,7 +151,7 @@ end
|
|
|
145
151
|
|
|
146
152
|
### Authorization
|
|
147
153
|
|
|
148
|
-
[Basic](../README.md#Basic)
|
|
154
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
149
155
|
|
|
150
156
|
### HTTP request headers
|
|
151
157
|
|
|
@@ -171,6 +177,9 @@ Bandwidth.configure do |config|
|
|
|
171
177
|
# Configure HTTP basic authorization: Basic
|
|
172
178
|
config.username = 'YOUR USERNAME'
|
|
173
179
|
config.password = 'YOUR PASSWORD'
|
|
180
|
+
|
|
181
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
182
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
174
183
|
end
|
|
175
184
|
|
|
176
185
|
api_instance = Bandwidth::PhoneNumberLookupApi.new
|
|
@@ -217,7 +226,7 @@ end
|
|
|
217
226
|
|
|
218
227
|
### Authorization
|
|
219
228
|
|
|
220
|
-
[Basic](../README.md#Basic)
|
|
229
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
221
230
|
|
|
222
231
|
### HTTP request headers
|
|
223
232
|
|
data/docs/RbmActionBase.md
CHANGED
data/docs/RecordingsApi.md
CHANGED
|
@@ -34,6 +34,9 @@ Bandwidth.configure do |config|
|
|
|
34
34
|
# Configure HTTP basic authorization: Basic
|
|
35
35
|
config.username = 'YOUR USERNAME'
|
|
36
36
|
config.password = 'YOUR PASSWORD'
|
|
37
|
+
|
|
38
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
39
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
37
40
|
end
|
|
38
41
|
|
|
39
42
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -81,7 +84,7 @@ nil (empty response body)
|
|
|
81
84
|
|
|
82
85
|
### Authorization
|
|
83
86
|
|
|
84
|
-
[Basic](../README.md#Basic)
|
|
87
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
85
88
|
|
|
86
89
|
### HTTP request headers
|
|
87
90
|
|
|
@@ -107,6 +110,9 @@ Bandwidth.configure do |config|
|
|
|
107
110
|
# Configure HTTP basic authorization: Basic
|
|
108
111
|
config.username = 'YOUR USERNAME'
|
|
109
112
|
config.password = 'YOUR PASSWORD'
|
|
113
|
+
|
|
114
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
115
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
110
116
|
end
|
|
111
117
|
|
|
112
118
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -154,7 +160,7 @@ nil (empty response body)
|
|
|
154
160
|
|
|
155
161
|
### Authorization
|
|
156
162
|
|
|
157
|
-
[Basic](../README.md#Basic)
|
|
163
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
158
164
|
|
|
159
165
|
### HTTP request headers
|
|
160
166
|
|
|
@@ -180,6 +186,9 @@ Bandwidth.configure do |config|
|
|
|
180
186
|
# Configure HTTP basic authorization: Basic
|
|
181
187
|
config.username = 'YOUR USERNAME'
|
|
182
188
|
config.password = 'YOUR PASSWORD'
|
|
189
|
+
|
|
190
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
191
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
183
192
|
end
|
|
184
193
|
|
|
185
194
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -227,7 +236,7 @@ nil (empty response body)
|
|
|
227
236
|
|
|
228
237
|
### Authorization
|
|
229
238
|
|
|
230
|
-
[Basic](../README.md#Basic)
|
|
239
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
231
240
|
|
|
232
241
|
### HTTP request headers
|
|
233
242
|
|
|
@@ -253,6 +262,9 @@ Bandwidth.configure do |config|
|
|
|
253
262
|
# Configure HTTP basic authorization: Basic
|
|
254
263
|
config.username = 'YOUR USERNAME'
|
|
255
264
|
config.password = 'YOUR PASSWORD'
|
|
265
|
+
|
|
266
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
267
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
256
268
|
end
|
|
257
269
|
|
|
258
270
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -301,7 +313,7 @@ end
|
|
|
301
313
|
|
|
302
314
|
### Authorization
|
|
303
315
|
|
|
304
|
-
[Basic](../README.md#Basic)
|
|
316
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
305
317
|
|
|
306
318
|
### HTTP request headers
|
|
307
319
|
|
|
@@ -327,6 +339,9 @@ Bandwidth.configure do |config|
|
|
|
327
339
|
# Configure HTTP basic authorization: Basic
|
|
328
340
|
config.username = 'YOUR USERNAME'
|
|
329
341
|
config.password = 'YOUR PASSWORD'
|
|
342
|
+
|
|
343
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
344
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
330
345
|
end
|
|
331
346
|
|
|
332
347
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -375,7 +390,7 @@ end
|
|
|
375
390
|
|
|
376
391
|
### Authorization
|
|
377
392
|
|
|
378
|
-
[Basic](../README.md#Basic)
|
|
393
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
379
394
|
|
|
380
395
|
### HTTP request headers
|
|
381
396
|
|
|
@@ -401,6 +416,9 @@ Bandwidth.configure do |config|
|
|
|
401
416
|
# Configure HTTP basic authorization: Basic
|
|
402
417
|
config.username = 'YOUR USERNAME'
|
|
403
418
|
config.password = 'YOUR PASSWORD'
|
|
419
|
+
|
|
420
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
421
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
404
422
|
end
|
|
405
423
|
|
|
406
424
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -449,7 +467,7 @@ end
|
|
|
449
467
|
|
|
450
468
|
### Authorization
|
|
451
469
|
|
|
452
|
-
[Basic](../README.md#Basic)
|
|
470
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
453
471
|
|
|
454
472
|
### HTTP request headers
|
|
455
473
|
|
|
@@ -475,6 +493,9 @@ Bandwidth.configure do |config|
|
|
|
475
493
|
# Configure HTTP basic authorization: Basic
|
|
476
494
|
config.username = 'YOUR USERNAME'
|
|
477
495
|
config.password = 'YOUR PASSWORD'
|
|
496
|
+
|
|
497
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
498
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
478
499
|
end
|
|
479
500
|
|
|
480
501
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -529,7 +550,7 @@ end
|
|
|
529
550
|
|
|
530
551
|
### Authorization
|
|
531
552
|
|
|
532
|
-
[Basic](../README.md#Basic)
|
|
553
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
533
554
|
|
|
534
555
|
### HTTP request headers
|
|
535
556
|
|
|
@@ -555,6 +576,9 @@ Bandwidth.configure do |config|
|
|
|
555
576
|
# Configure HTTP basic authorization: Basic
|
|
556
577
|
config.username = 'YOUR USERNAME'
|
|
557
578
|
config.password = 'YOUR PASSWORD'
|
|
579
|
+
|
|
580
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
581
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
558
582
|
end
|
|
559
583
|
|
|
560
584
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -601,7 +625,7 @@ end
|
|
|
601
625
|
|
|
602
626
|
### Authorization
|
|
603
627
|
|
|
604
|
-
[Basic](../README.md#Basic)
|
|
628
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
605
629
|
|
|
606
630
|
### HTTP request headers
|
|
607
631
|
|
|
@@ -627,6 +651,9 @@ Bandwidth.configure do |config|
|
|
|
627
651
|
# Configure HTTP basic authorization: Basic
|
|
628
652
|
config.username = 'YOUR USERNAME'
|
|
629
653
|
config.password = 'YOUR PASSWORD'
|
|
654
|
+
|
|
655
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
656
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
630
657
|
end
|
|
631
658
|
|
|
632
659
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -676,7 +703,7 @@ nil (empty response body)
|
|
|
676
703
|
|
|
677
704
|
### Authorization
|
|
678
705
|
|
|
679
|
-
[Basic](../README.md#Basic)
|
|
706
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
680
707
|
|
|
681
708
|
### HTTP request headers
|
|
682
709
|
|
|
@@ -702,6 +729,9 @@ Bandwidth.configure do |config|
|
|
|
702
729
|
# Configure HTTP basic authorization: Basic
|
|
703
730
|
config.username = 'YOUR USERNAME'
|
|
704
731
|
config.password = 'YOUR PASSWORD'
|
|
732
|
+
|
|
733
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
734
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
705
735
|
end
|
|
706
736
|
|
|
707
737
|
api_instance = Bandwidth::RecordingsApi.new
|
|
@@ -749,7 +779,7 @@ nil (empty response body)
|
|
|
749
779
|
|
|
750
780
|
### Authorization
|
|
751
781
|
|
|
752
|
-
[Basic](../README.md#Basic)
|
|
782
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
753
783
|
|
|
754
784
|
### HTTP request headers
|
|
755
785
|
|
data/docs/StatisticsApi.md
CHANGED
|
@@ -25,6 +25,9 @@ Bandwidth.configure do |config|
|
|
|
25
25
|
# Configure HTTP basic authorization: Basic
|
|
26
26
|
config.username = 'YOUR USERNAME'
|
|
27
27
|
config.password = 'YOUR PASSWORD'
|
|
28
|
+
|
|
29
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
30
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
28
31
|
end
|
|
29
32
|
|
|
30
33
|
api_instance = Bandwidth::StatisticsApi.new
|
|
@@ -69,7 +72,7 @@ end
|
|
|
69
72
|
|
|
70
73
|
### Authorization
|
|
71
74
|
|
|
72
|
-
[Basic](../README.md#Basic)
|
|
75
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
73
76
|
|
|
74
77
|
### HTTP request headers
|
|
75
78
|
|
|
@@ -33,6 +33,9 @@ Bandwidth.configure do |config|
|
|
|
33
33
|
# Configure HTTP basic authorization: Basic
|
|
34
34
|
config.username = 'YOUR USERNAME'
|
|
35
35
|
config.password = 'YOUR PASSWORD'
|
|
36
|
+
|
|
37
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
38
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
36
39
|
end
|
|
37
40
|
|
|
38
41
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -79,7 +82,7 @@ end
|
|
|
79
82
|
|
|
80
83
|
### Authorization
|
|
81
84
|
|
|
82
|
-
[Basic](../README.md#Basic)
|
|
85
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
83
86
|
|
|
84
87
|
### HTTP request headers
|
|
85
88
|
|
|
@@ -105,6 +108,9 @@ Bandwidth.configure do |config|
|
|
|
105
108
|
# Configure HTTP basic authorization: Basic
|
|
106
109
|
config.username = 'YOUR USERNAME'
|
|
107
110
|
config.password = 'YOUR PASSWORD'
|
|
111
|
+
|
|
112
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
113
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
108
114
|
end
|
|
109
115
|
|
|
110
116
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -150,7 +156,7 @@ nil (empty response body)
|
|
|
150
156
|
|
|
151
157
|
### Authorization
|
|
152
158
|
|
|
153
|
-
[Basic](../README.md#Basic)
|
|
159
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
154
160
|
|
|
155
161
|
### HTTP request headers
|
|
156
162
|
|
|
@@ -176,6 +182,9 @@ Bandwidth.configure do |config|
|
|
|
176
182
|
# Configure HTTP basic authorization: Basic
|
|
177
183
|
config.username = 'YOUR USERNAME'
|
|
178
184
|
config.password = 'YOUR PASSWORD'
|
|
185
|
+
|
|
186
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
187
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
179
188
|
end
|
|
180
189
|
|
|
181
190
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -221,7 +230,7 @@ nil (empty response body)
|
|
|
221
230
|
|
|
222
231
|
### Authorization
|
|
223
232
|
|
|
224
|
-
[Basic](../README.md#Basic)
|
|
233
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
225
234
|
|
|
226
235
|
### HTTP request headers
|
|
227
236
|
|
|
@@ -247,6 +256,9 @@ Bandwidth.configure do |config|
|
|
|
247
256
|
# Configure HTTP basic authorization: Basic
|
|
248
257
|
config.username = 'YOUR USERNAME'
|
|
249
258
|
config.password = 'YOUR PASSWORD'
|
|
259
|
+
|
|
260
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
261
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
250
262
|
end
|
|
251
263
|
|
|
252
264
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -293,7 +305,7 @@ end
|
|
|
293
305
|
|
|
294
306
|
### Authorization
|
|
295
307
|
|
|
296
|
-
[Basic](../README.md#Basic)
|
|
308
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
297
309
|
|
|
298
310
|
### HTTP request headers
|
|
299
311
|
|
|
@@ -319,6 +331,9 @@ Bandwidth.configure do |config|
|
|
|
319
331
|
# Configure HTTP basic authorization: Basic
|
|
320
332
|
config.username = 'YOUR USERNAME'
|
|
321
333
|
config.password = 'YOUR PASSWORD'
|
|
334
|
+
|
|
335
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
336
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
322
337
|
end
|
|
323
338
|
|
|
324
339
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -360,7 +375,7 @@ This endpoint does not need any parameter.
|
|
|
360
375
|
|
|
361
376
|
### Authorization
|
|
362
377
|
|
|
363
|
-
[Basic](../README.md#Basic)
|
|
378
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
364
379
|
|
|
365
380
|
### HTTP request headers
|
|
366
381
|
|
|
@@ -386,6 +401,9 @@ Bandwidth.configure do |config|
|
|
|
386
401
|
# Configure HTTP basic authorization: Basic
|
|
387
402
|
config.username = 'YOUR USERNAME'
|
|
388
403
|
config.password = 'YOUR PASSWORD'
|
|
404
|
+
|
|
405
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
406
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
389
407
|
end
|
|
390
408
|
|
|
391
409
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -430,7 +448,7 @@ end
|
|
|
430
448
|
|
|
431
449
|
### Authorization
|
|
432
450
|
|
|
433
|
-
[Basic](../README.md#Basic)
|
|
451
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
434
452
|
|
|
435
453
|
### HTTP request headers
|
|
436
454
|
|
|
@@ -456,6 +474,9 @@ Bandwidth.configure do |config|
|
|
|
456
474
|
# Configure HTTP basic authorization: Basic
|
|
457
475
|
config.username = 'YOUR USERNAME'
|
|
458
476
|
config.password = 'YOUR PASSWORD'
|
|
477
|
+
|
|
478
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
479
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
459
480
|
end
|
|
460
481
|
|
|
461
482
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -501,7 +522,7 @@ nil (empty response body)
|
|
|
501
522
|
|
|
502
523
|
### Authorization
|
|
503
524
|
|
|
504
|
-
[Basic](../README.md#Basic)
|
|
525
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
505
526
|
|
|
506
527
|
### HTTP request headers
|
|
507
528
|
|
|
@@ -527,6 +548,9 @@ Bandwidth.configure do |config|
|
|
|
527
548
|
# Configure HTTP basic authorization: Basic
|
|
528
549
|
config.username = 'YOUR USERNAME'
|
|
529
550
|
config.password = 'YOUR PASSWORD'
|
|
551
|
+
|
|
552
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
553
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
530
554
|
end
|
|
531
555
|
|
|
532
556
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -574,7 +598,7 @@ nil (empty response body)
|
|
|
574
598
|
|
|
575
599
|
### Authorization
|
|
576
600
|
|
|
577
|
-
[Basic](../README.md#Basic)
|
|
601
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
578
602
|
|
|
579
603
|
### HTTP request headers
|
|
580
604
|
|
|
@@ -600,6 +624,9 @@ Bandwidth.configure do |config|
|
|
|
600
624
|
# Configure HTTP basic authorization: Basic
|
|
601
625
|
config.username = 'YOUR USERNAME'
|
|
602
626
|
config.password = 'YOUR PASSWORD'
|
|
627
|
+
|
|
628
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
629
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
603
630
|
end
|
|
604
631
|
|
|
605
632
|
api_instance = Bandwidth::TollFreeVerificationApi.new
|
|
@@ -648,7 +675,7 @@ end
|
|
|
648
675
|
|
|
649
676
|
### Authorization
|
|
650
677
|
|
|
651
|
-
[Basic](../README.md#Basic)
|
|
678
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
652
679
|
|
|
653
680
|
### HTTP request headers
|
|
654
681
|
|
data/docs/TranscriptionsApi.md
CHANGED
|
@@ -27,6 +27,9 @@ Bandwidth.configure do |config|
|
|
|
27
27
|
# Configure HTTP basic authorization: Basic
|
|
28
28
|
config.username = 'YOUR USERNAME'
|
|
29
29
|
config.password = 'YOUR PASSWORD'
|
|
30
|
+
|
|
31
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
30
33
|
end
|
|
31
34
|
|
|
32
35
|
api_instance = Bandwidth::TranscriptionsApi.new
|
|
@@ -74,7 +77,7 @@ nil (empty response body)
|
|
|
74
77
|
|
|
75
78
|
### Authorization
|
|
76
79
|
|
|
77
|
-
[Basic](../README.md#Basic)
|
|
80
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
78
81
|
|
|
79
82
|
### HTTP request headers
|
|
80
83
|
|
|
@@ -100,6 +103,9 @@ Bandwidth.configure do |config|
|
|
|
100
103
|
# Configure HTTP basic authorization: Basic
|
|
101
104
|
config.username = 'YOUR USERNAME'
|
|
102
105
|
config.password = 'YOUR PASSWORD'
|
|
106
|
+
|
|
107
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
108
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
103
109
|
end
|
|
104
110
|
|
|
105
111
|
api_instance = Bandwidth::TranscriptionsApi.new
|
|
@@ -148,7 +154,7 @@ end
|
|
|
148
154
|
|
|
149
155
|
### Authorization
|
|
150
156
|
|
|
151
|
-
[Basic](../README.md#Basic)
|
|
157
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
152
158
|
|
|
153
159
|
### HTTP request headers
|
|
154
160
|
|
|
@@ -174,6 +180,9 @@ Bandwidth.configure do |config|
|
|
|
174
180
|
# Configure HTTP basic authorization: Basic
|
|
175
181
|
config.username = 'YOUR USERNAME'
|
|
176
182
|
config.password = 'YOUR PASSWORD'
|
|
183
|
+
|
|
184
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
|
185
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
177
186
|
end
|
|
178
187
|
|
|
179
188
|
api_instance = Bandwidth::TranscriptionsApi.new
|
|
@@ -220,7 +229,7 @@ end
|
|
|
220
229
|
|
|
221
230
|
### Authorization
|
|
222
231
|
|
|
223
|
-
[Basic](../README.md#Basic)
|
|
232
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
224
233
|
|
|
225
234
|
### HTTP request headers
|
|
226
235
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: letstalk@bandwidth.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -74,7 +74,7 @@ module Bandwidth
|
|
|
74
74
|
return_type = opts[:debug_return_type] || 'CreateCallResponse'
|
|
75
75
|
|
|
76
76
|
# auth_names
|
|
77
|
-
auth_names = opts[:debug_auth_names] || ['Basic']
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
|
|
78
78
|
|
|
79
79
|
new_options = opts.merge(
|
|
80
80
|
:operation => :"CallsApi.create_call",
|
|
@@ -143,7 +143,7 @@ module Bandwidth
|
|
|
143
143
|
return_type = opts[:debug_return_type] || 'CallState'
|
|
144
144
|
|
|
145
145
|
# auth_names
|
|
146
|
-
auth_names = opts[:debug_auth_names] || ['Basic']
|
|
146
|
+
auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
|
|
147
147
|
|
|
148
148
|
new_options = opts.merge(
|
|
149
149
|
:operation => :"CallsApi.get_call_state",
|
|
@@ -235,7 +235,7 @@ module Bandwidth
|
|
|
235
235
|
return_type = opts[:debug_return_type] || 'Array<CallState>'
|
|
236
236
|
|
|
237
237
|
# auth_names
|
|
238
|
-
auth_names = opts[:debug_auth_names] || ['Basic']
|
|
238
|
+
auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
|
|
239
239
|
|
|
240
240
|
new_options = opts.merge(
|
|
241
241
|
:operation => :"CallsApi.list_calls",
|
|
@@ -315,7 +315,7 @@ module Bandwidth
|
|
|
315
315
|
return_type = opts[:debug_return_type]
|
|
316
316
|
|
|
317
317
|
# auth_names
|
|
318
|
-
auth_names = opts[:debug_auth_names] || ['Basic']
|
|
318
|
+
auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
|
|
319
319
|
|
|
320
320
|
new_options = opts.merge(
|
|
321
321
|
:operation => :"CallsApi.update_call",
|
|
@@ -395,7 +395,7 @@ module Bandwidth
|
|
|
395
395
|
return_type = opts[:debug_return_type]
|
|
396
396
|
|
|
397
397
|
# auth_names
|
|
398
|
-
auth_names = opts[:debug_auth_names] || ['Basic']
|
|
398
|
+
auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
|
|
399
399
|
|
|
400
400
|
new_options = opts.merge(
|
|
401
401
|
:operation => :"CallsApi.update_call_bxml",
|