bandwidth-sdk 18.1.3 → 18.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/Gemfile.lock +56 -10
- data/README.md +2 -0
- data/UPDATING_MODEL_TESTS.md +17 -2
- data/bandwidth-sdk.gemspec +2 -2
- data/bandwidth.yml +190 -51
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +819 -144
- data/coverage/index.html +15708 -8440
- data/custom_templates/configuration.mustache +6 -2
- data/custom_templates/gemspec.mustache +1 -1
- data/docs/AnswerCallback.md +4 -2
- data/docs/BridgeCompleteCallback.md +1 -1
- data/docs/BridgeTargetCompleteCallback.md +1 -1
- data/docs/ConferenceCompletedCallback.md +1 -1
- data/docs/ConferenceCreatedCallback.md +1 -1
- data/docs/ConferenceMemberExitCallback.md +1 -1
- data/docs/ConferenceMemberJoinCallback.md +1 -1
- data/docs/ConferenceRecordingAvailableCallback.md +1 -1
- data/docs/ConferenceRedirectCallback.md +1 -1
- data/docs/DisconnectCallback.md +6 -2
- data/docs/DtmfCallback.md +1 -1
- data/docs/GatherCallback.md +1 -1
- data/docs/InitiateCallback.md +6 -2
- data/docs/MachineDetectionCompleteCallback.md +1 -1
- data/docs/MediaApi.md +8 -8
- data/docs/MessagesApi.md +4 -4
- data/docs/MultiChannelApi.md +2 -2
- data/docs/RbmActionBase.md +1 -1
- data/docs/RbmSuggestionResponse.md +1 -1
- data/docs/RecordingAvailableCallback.md +1 -1
- data/docs/RecordingCompleteCallback.md +1 -1
- data/docs/RedirectCallback.md +1 -1
- data/docs/ReferCallStatusEnum.md +15 -0
- data/docs/ReferCompleteCallback.md +46 -0
- data/docs/TranscriptionAvailableCallback.md +1 -1
- data/docs/TransferAnswerCallback.md +1 -1
- data/docs/TransferCompleteCallback.md +1 -1
- data/docs/TransferDisconnectCallback.md +1 -1
- 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/endpoints_api.rb +6 -6
- data/lib/bandwidth-sdk/api/media_api.rb +13 -13
- data/lib/bandwidth-sdk/api/messages_api.rb +7 -7
- data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
- data/lib/bandwidth-sdk/api/multi_channel_api.rb +4 -4
- 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 +9 -9
- data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
- data/lib/bandwidth-sdk/api_client.rb +1 -1
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/api_model_base.rb +1 -1
- data/lib/bandwidth-sdk/configuration.rb +7 -3
- data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
- data/lib/bandwidth-sdk/models/additional_denial_reason.rb +1 -1
- data/lib/bandwidth-sdk/models/address.rb +1 -1
- data/lib/bandwidth-sdk/models/answer_callback.rb +17 -7
- data/lib/bandwidth-sdk/models/async_lookup_request.rb +1 -1
- data/lib/bandwidth-sdk/models/blocked_webhook.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/brtc_error.rb +1 -1
- data/lib/bandwidth-sdk/models/brtc_error_response.rb +1 -1
- data/lib/bandwidth-sdk/models/brtc_error_source.rb +1 -1
- data/lib/bandwidth-sdk/models/brtc_link.rb +1 -1
- 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/bxml/root.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/verb.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/verbs/refer.rb +24 -0
- data/lib/bandwidth-sdk/models/bxml/verbs/sip_uri.rb +3 -1
- data/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_response.rb +1 -1
- 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 +1 -1
- data/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/contact.rb +1 -1
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_endpoint_request_base.rb +1 -1
- data/lib/bandwidth-sdk/models/create_endpoint_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_endpoint_response_data.rb +1 -1
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +1 -1
- data/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb +1 -1
- data/lib/bandwidth-sdk/models/deactivation_event_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/device.rb +1 -1
- data/lib/bandwidth-sdk/models/device_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +27 -7
- data/lib/bandwidth-sdk/models/diversion.rb +1 -1
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/endpoint.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_event.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_response.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoint_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/endpoints.rb +1 -1
- data/lib/bandwidth-sdk/models/error_object.rb +1 -1
- data/lib/bandwidth-sdk/models/error_source.rb +1 -1
- data/lib/bandwidth-sdk/models/failure_webhook.rb +1 -1
- data/lib/bandwidth-sdk/models/field_error.rb +1 -1
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +1 -1
- data/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +28 -6
- 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 +1 -1
- data/lib/bandwidth-sdk/models/link_schema.rb +1 -1
- data/lib/bandwidth-sdk/models/links_object.rb +1 -1
- data/lib/bandwidth-sdk/models/list_endpoints_response.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_error_response.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_error_schema.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
- data/lib/bandwidth-sdk/models/media.rb +1 -1
- data/lib/bandwidth-sdk/models/message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- 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 +1 -1
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mms_message_content.rb +1 -1
- data/lib/bandwidth-sdk/models/mms_message_content_file.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_action.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_error.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_content.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_request.rb +1 -1
- data/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +1 -1
- data/lib/bandwidth-sdk/models/opt_in_workflow.rb +1 -1
- data/lib/bandwidth-sdk/models/page.rb +1 -1
- data/lib/bandwidth-sdk/models/page_info.rb +1 -1
- 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 +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_dial.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_card_content.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_card_content_media.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_location_response.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_content_file.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_content_text.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_message_media.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_open_url_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_standalone_card.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_web_view_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcription_clip.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcriptions.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/refer_call_status_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/refer_complete_callback.rb +309 -0
- data/lib/bandwidth-sdk/models/sip_connection_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/sip_credentials.rb +1 -1
- data/lib/bandwidth-sdk/models/sms_message_content.rb +1 -1
- data/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/status_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/status_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
- data/lib/bandwidth-sdk/models/sync_lookup_request.rb +1 -1
- data/lib/bandwidth-sdk/models/telephone_number.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_error.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_status.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_submission_info.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +1 -1
- data/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +2 -2
- data/lib/bandwidth-sdk/models/update_call.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +1 -1
- data/lib/bandwidth-sdk/models/verification_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verification_update_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verification_webhook.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscription.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscription_error.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +2 -2
- data/lib/bandwidth-sdk.rb +4 -1
- data/openapitools.json +1 -1
- data/spec/unit/api/calls_api_spec.rb +1 -2
- data/spec/unit/api/conferences_api_spec.rb +1 -2
- data/spec/unit/api/endpoints_api_spec.rb +1 -2
- data/spec/unit/api/media_api_spec.rb +1 -2
- data/spec/unit/api/messages_api_spec.rb +1 -2
- data/spec/unit/api/mfa_api_spec.rb +1 -2
- data/spec/unit/api/multi_channel_api_spec.rb +1 -2
- data/spec/unit/api/phone_number_lookup_api_spec.rb +1 -2
- data/spec/unit/api/recordings_api_spec.rb +1 -2
- data/spec/unit/api/statistics_api_spec.rb +1 -2
- data/spec/unit/api/toll_free_verification_api_spec.rb +1 -2
- data/spec/unit/api/transcriptions_api_spec.rb +1 -2
- data/spec/unit/models/account_statistics_spec.rb +1 -1
- data/spec/unit/models/additional_denial_reason_spec.rb +1 -1
- data/spec/unit/models/address_spec.rb +1 -1
- data/spec/unit/models/answer_callback_spec.rb +8 -4
- data/spec/unit/models/async_lookup_request_spec.rb +1 -1
- data/spec/unit/models/blocked_webhook_spec.rb +1 -1
- data/spec/unit/models/bridge_complete_callback_spec.rb +1 -1
- data/spec/unit/models/bridge_target_complete_callback_spec.rb +1 -1
- data/spec/unit/models/brtc_error_response_spec.rb +1 -1
- data/spec/unit/models/brtc_error_source_spec.rb +1 -1
- data/spec/unit/models/brtc_error_spec.rb +1 -1
- data/spec/unit/models/brtc_link_spec.rb +1 -1
- data/spec/unit/models/bxml/verbs/refer_spec.rb +54 -0
- data/spec/unit/models/call_recording_metadata_spec.rb +1 -1
- data/spec/unit/models/call_state_spec.rb +1 -1
- data/spec/unit/models/call_transcription_metadata_spec.rb +1 -1
- data/spec/unit/models/call_transcription_response_spec.rb +1 -1
- data/spec/unit/models/call_transcription_spec.rb +1 -1
- data/spec/unit/models/code_request_spec.rb +1 -1
- data/spec/unit/models/conference_completed_callback_spec.rb +1 -1
- data/spec/unit/models/conference_created_callback_spec.rb +1 -1
- data/spec/unit/models/conference_member_exit_callback_spec.rb +1 -1
- data/spec/unit/models/conference_member_join_callback_spec.rb +1 -1
- data/spec/unit/models/conference_member_spec.rb +1 -1
- data/spec/unit/models/conference_recording_available_callback_spec.rb +1 -1
- data/spec/unit/models/conference_recording_metadata_spec.rb +1 -1
- data/spec/unit/models/conference_redirect_callback_spec.rb +1 -1
- data/spec/unit/models/conference_spec.rb +1 -1
- data/spec/unit/models/contact_spec.rb +1 -1
- data/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb +1 -1
- data/spec/unit/models/create_async_bulk_lookup_response_spec.rb +1 -1
- data/spec/unit/models/create_call_response_spec.rb +1 -1
- data/spec/unit/models/create_call_spec.rb +1 -1
- data/spec/unit/models/create_endpoint_request_base_spec.rb +1 -1
- data/spec/unit/models/create_endpoint_response_data_spec.rb +1 -1
- data/spec/unit/models/create_endpoint_response_spec.rb +1 -1
- data/spec/unit/models/create_message_request_error_spec.rb +1 -1
- data/spec/unit/models/create_multi_channel_message_response_spec.rb +1 -1
- data/spec/unit/models/create_sync_lookup_response_data_spec.rb +1 -1
- data/spec/unit/models/create_sync_lookup_response_spec.rb +1 -1
- data/spec/unit/models/create_web_rtc_connection_request_spec.rb +1 -1
- data/spec/unit/models/device_spec.rb +1 -1
- data/spec/unit/models/disconnect_callback_spec.rb +12 -4
- data/spec/unit/models/diversion_spec.rb +1 -1
- data/spec/unit/models/dtmf_callback_spec.rb +1 -1
- data/spec/unit/models/endpoint_event_spec.rb +1 -1
- data/spec/unit/models/endpoint_response_spec.rb +1 -1
- data/spec/unit/models/endpoint_spec.rb +1 -1
- data/spec/unit/models/endpoints_spec.rb +1 -1
- data/spec/unit/models/error_object_spec.rb +1 -1
- data/spec/unit/models/error_source_spec.rb +1 -1
- data/spec/unit/models/failure_webhook_spec.rb +1 -1
- data/spec/unit/models/field_error_spec.rb +1 -1
- data/spec/unit/models/gather_callback_spec.rb +1 -1
- data/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb +1 -1
- data/spec/unit/models/get_async_bulk_lookup_response_spec.rb +1 -1
- data/spec/unit/models/inbound_callback_message_spec.rb +1 -1
- data/spec/unit/models/inbound_callback_spec.rb +1 -1
- data/spec/unit/models/initiate_callback_spec.rb +13 -4
- data/spec/unit/models/link_schema_spec.rb +1 -1
- data/spec/unit/models/link_spec.rb +1 -1
- data/spec/unit/models/links_object_spec.rb +1 -1
- data/spec/unit/models/list_endpoints_response_spec.rb +1 -1
- data/spec/unit/models/list_message_item_spec.rb +1 -1
- data/spec/unit/models/lookup_error_response_spec.rb +1 -1
- data/spec/unit/models/lookup_error_schema_meta_spec.rb +1 -1
- data/spec/unit/models/lookup_error_schema_spec.rb +1 -1
- data/spec/unit/models/lookup_result_spec.rb +1 -1
- data/spec/unit/models/machine_detection_complete_callback_spec.rb +1 -1
- data/spec/unit/models/machine_detection_configuration_spec.rb +1 -1
- data/spec/unit/models/machine_detection_result_spec.rb +1 -1
- data/spec/unit/models/media_spec.rb +1 -1
- data/spec/unit/models/message_request_spec.rb +1 -1
- data/spec/unit/models/message_spec.rb +1 -1
- data/spec/unit/models/messages_list_spec.rb +1 -1
- data/spec/unit/models/messaging_code_response_spec.rb +1 -1
- data/spec/unit/models/messaging_request_error_spec.rb +1 -1
- data/spec/unit/models/mfa_forbidden_request_error_spec.rb +1 -1
- data/spec/unit/models/mfa_request_error_spec.rb +1 -1
- data/spec/unit/models/mfa_unauthorized_request_error_spec.rb +1 -1
- data/spec/unit/models/mms_message_content_file_spec.rb +1 -1
- data/spec/unit/models/mms_message_content_spec.rb +1 -1
- data/spec/unit/models/multi_channel_action_calendar_event_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_object_base_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb +1 -1
- data/spec/unit/models/multi_channel_error_spec.rb +1 -1
- data/spec/unit/models/multi_channel_message_content_spec.rb +1 -1
- data/spec/unit/models/multi_channel_message_request_spec.rb +1 -1
- data/spec/unit/models/multi_channel_message_response_data_spec.rb +1 -1
- data/spec/unit/models/opt_in_workflow_spec.rb +1 -1
- data/spec/unit/models/page_info_spec.rb +1 -1
- data/spec/unit/models/page_spec.rb +1 -1
- data/spec/unit/models/rbm_action_base_spec.rb +1 -1
- data/spec/unit/models/rbm_action_dial_spec.rb +1 -1
- data/spec/unit/models/rbm_action_open_url_spec.rb +1 -1
- data/spec/unit/models/rbm_action_view_location_spec.rb +1 -1
- data/spec/unit/models/rbm_card_content_media_spec.rb +1 -1
- data/spec/unit/models/rbm_card_content_spec.rb +1 -1
- data/spec/unit/models/rbm_location_response_spec.rb +1 -1
- data/spec/unit/models/rbm_message_carousel_card_spec.rb +1 -1
- data/spec/unit/models/rbm_message_content_file_spec.rb +1 -1
- data/spec/unit/models/rbm_message_content_text_spec.rb +1 -1
- data/spec/unit/models/rbm_message_media_spec.rb +1 -1
- data/spec/unit/models/rbm_standalone_card_spec.rb +1 -1
- data/spec/unit/models/rbm_suggestion_response_spec.rb +1 -1
- data/spec/unit/models/recording_available_callback_spec.rb +1 -1
- data/spec/unit/models/recording_complete_callback_spec.rb +1 -1
- data/spec/unit/models/recording_transcription_clip_spec.rb +1 -1
- data/spec/unit/models/recording_transcription_metadata_spec.rb +1 -1
- data/spec/unit/models/recording_transcriptions_spec.rb +1 -1
- data/spec/unit/models/redirect_callback_spec.rb +1 -1
- data/spec/unit/models/refer_call_status_enum_spec.rb +31 -0
- data/spec/unit/models/refer_complete_callback_spec.rb +123 -0
- data/spec/unit/models/sip_connection_metadata_spec.rb +1 -1
- data/spec/unit/models/sip_credentials_spec.rb +1 -1
- data/spec/unit/models/sms_message_content_spec.rb +1 -1
- data/spec/unit/models/status_callback_message_spec.rb +1 -1
- data/spec/unit/models/status_callback_spec.rb +1 -1
- data/spec/unit/models/stir_shaken_spec.rb +1 -1
- data/spec/unit/models/sync_lookup_request_spec.rb +1 -1
- data/spec/unit/models/telephone_number_spec.rb +1 -1
- data/spec/unit/models/tfv_basic_authentication_spec.rb +1 -1
- data/spec/unit/models/tfv_error_spec.rb +1 -1
- data/spec/unit/models/tfv_status_spec.rb +1 -1
- data/spec/unit/models/tfv_submission_info_spec.rb +1 -1
- data/spec/unit/models/tfv_submission_wrapper_spec.rb +1 -1
- data/spec/unit/models/transcribe_recording_spec.rb +1 -1
- data/spec/unit/models/transcription_available_callback_spec.rb +1 -1
- data/spec/unit/models/transcription_spec.rb +1 -1
- data/spec/unit/models/transfer_answer_callback_spec.rb +1 -1
- data/spec/unit/models/transfer_complete_callback_spec.rb +1 -1
- data/spec/unit/models/transfer_disconnect_callback_spec.rb +1 -1
- data/spec/unit/models/update_call_recording_spec.rb +1 -1
- data/spec/unit/models/update_call_spec.rb +1 -1
- data/spec/unit/models/update_conference_member_spec.rb +1 -1
- data/spec/unit/models/update_conference_spec.rb +1 -1
- data/spec/unit/models/verification_denial_webhook_spec.rb +1 -1
- data/spec/unit/models/verification_request_spec.rb +1 -1
- data/spec/unit/models/verification_update_request_spec.rb +1 -1
- data/spec/unit/models/verification_webhook_spec.rb +1 -1
- data/spec/unit/models/verify_code_request_spec.rb +1 -1
- data/spec/unit/models/verify_code_response_spec.rb +1 -1
- data/spec/unit/models/voice_api_error_spec.rb +1 -1
- data/spec/unit/models/voice_code_response_spec.rb +1 -1
- data/spec/unit/models/webhook_subscription_basic_authentication_spec.rb +1 -1
- data/spec/unit/models/webhook_subscription_error_spec.rb +1 -1
- data/spec/unit/models/webhook_subscription_request_schema_spec.rb +1 -1
- data/spec/unit/models/webhook_subscription_spec.rb +1 -1
- data/spec/unit/models/webhook_subscriptions_list_body_spec.rb +1 -1
- metadata +241 -227
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -55,7 +55,7 @@ module Bandwidth
|
|
|
55
55
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling ConferencesApi.download_conference_recording"
|
|
56
56
|
end
|
|
57
57
|
# resource path
|
|
58
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media'.sub('{
|
|
58
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
59
59
|
|
|
60
60
|
# query parameters
|
|
61
61
|
query_params = opts[:query_params] || {}
|
|
@@ -124,7 +124,7 @@ module Bandwidth
|
|
|
124
124
|
fail ArgumentError, "Missing the required parameter 'conference_id' when calling ConferencesApi.get_conference"
|
|
125
125
|
end
|
|
126
126
|
# resource path
|
|
127
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{
|
|
127
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s))
|
|
128
128
|
|
|
129
129
|
# query parameters
|
|
130
130
|
query_params = opts[:query_params] || {}
|
|
@@ -199,7 +199,7 @@ module Bandwidth
|
|
|
199
199
|
fail ArgumentError, "Missing the required parameter 'member_id' when calling ConferencesApi.get_conference_member"
|
|
200
200
|
end
|
|
201
201
|
# resource path
|
|
202
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}'.sub('{
|
|
202
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)).sub('{memberId}', CGI.escape(member_id.to_s))
|
|
203
203
|
|
|
204
204
|
# query parameters
|
|
205
205
|
query_params = opts[:query_params] || {}
|
|
@@ -274,7 +274,7 @@ module Bandwidth
|
|
|
274
274
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling ConferencesApi.get_conference_recording"
|
|
275
275
|
end
|
|
276
276
|
# resource path
|
|
277
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}'.sub('{
|
|
277
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
278
278
|
|
|
279
279
|
# query parameters
|
|
280
280
|
query_params = opts[:query_params] || {}
|
|
@@ -343,7 +343,7 @@ module Bandwidth
|
|
|
343
343
|
fail ArgumentError, "Missing the required parameter 'conference_id' when calling ConferencesApi.list_conference_recordings"
|
|
344
344
|
end
|
|
345
345
|
# resource path
|
|
346
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings'.sub('{
|
|
346
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s))
|
|
347
347
|
|
|
348
348
|
# query parameters
|
|
349
349
|
query_params = opts[:query_params] || {}
|
|
@@ -424,7 +424,7 @@ module Bandwidth
|
|
|
424
424
|
end
|
|
425
425
|
|
|
426
426
|
# resource path
|
|
427
|
-
local_var_path = '/accounts/{accountId}/conferences'.sub('{
|
|
427
|
+
local_var_path = '/accounts/{accountId}/conferences'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
428
428
|
|
|
429
429
|
# query parameters
|
|
430
430
|
query_params = opts[:query_params] || {}
|
|
@@ -504,7 +504,7 @@ module Bandwidth
|
|
|
504
504
|
fail ArgumentError, "Missing the required parameter 'update_conference' when calling ConferencesApi.update_conference"
|
|
505
505
|
end
|
|
506
506
|
# resource path
|
|
507
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{
|
|
507
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s))
|
|
508
508
|
|
|
509
509
|
# query parameters
|
|
510
510
|
query_params = opts[:query_params] || {}
|
|
@@ -584,7 +584,7 @@ module Bandwidth
|
|
|
584
584
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConferencesApi.update_conference_bxml"
|
|
585
585
|
end
|
|
586
586
|
# resource path
|
|
587
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/bxml'.sub('{
|
|
587
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/bxml'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s))
|
|
588
588
|
|
|
589
589
|
# query parameters
|
|
590
590
|
query_params = opts[:query_params] || {}
|
|
@@ -670,7 +670,7 @@ module Bandwidth
|
|
|
670
670
|
fail ArgumentError, "Missing the required parameter 'update_conference_member' when calling ConferencesApi.update_conference_member"
|
|
671
671
|
end
|
|
672
672
|
# resource path
|
|
673
|
-
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}'.sub('{
|
|
673
|
+
local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)).sub('{memberId}', CGI.escape(member_id.to_s))
|
|
674
674
|
|
|
675
675
|
# query parameters
|
|
676
676
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'body' when calling EndpointsApi.create_endpoint"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/accounts/{accountId}/endpoints'.sub('{
|
|
52
|
+
local_var_path = '/accounts/{accountId}/endpoints'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -123,7 +123,7 @@ module Bandwidth
|
|
|
123
123
|
fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling EndpointsApi.delete_endpoint"
|
|
124
124
|
end
|
|
125
125
|
# resource path
|
|
126
|
-
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{
|
|
126
|
+
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s))
|
|
127
127
|
|
|
128
128
|
# query parameters
|
|
129
129
|
query_params = opts[:query_params] || {}
|
|
@@ -192,7 +192,7 @@ module Bandwidth
|
|
|
192
192
|
fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling EndpointsApi.get_endpoint"
|
|
193
193
|
end
|
|
194
194
|
# resource path
|
|
195
|
-
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{
|
|
195
|
+
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s))
|
|
196
196
|
|
|
197
197
|
# query parameters
|
|
198
198
|
query_params = opts[:query_params] || {}
|
|
@@ -271,7 +271,7 @@ module Bandwidth
|
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
# resource path
|
|
274
|
-
local_var_path = '/accounts/{accountId}/endpoints'.sub('{
|
|
274
|
+
local_var_path = '/accounts/{accountId}/endpoints'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
275
275
|
|
|
276
276
|
# query parameters
|
|
277
277
|
query_params = opts[:query_params] || {}
|
|
@@ -350,7 +350,7 @@ module Bandwidth
|
|
|
350
350
|
fail ArgumentError, "Missing the required parameter 'body' when calling EndpointsApi.update_endpoint_bxml"
|
|
351
351
|
end
|
|
352
352
|
# resource path
|
|
353
|
-
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}/bxml'.sub('{
|
|
353
|
+
local_var_path = '/accounts/{accountId}/endpoints/{endpointId}/bxml'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s))
|
|
354
354
|
|
|
355
355
|
# query parameters
|
|
356
356
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ module Bandwidth
|
|
|
21
21
|
end
|
|
22
22
|
# Delete Media
|
|
23
23
|
# Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
|
|
24
|
-
# @param account_id [String]
|
|
24
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
25
25
|
# @param media_id [String] Media ID to retrieve.
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [nil]
|
|
@@ -32,7 +32,7 @@ module Bandwidth
|
|
|
32
32
|
|
|
33
33
|
# Delete Media
|
|
34
34
|
# Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
|
|
35
|
-
# @param account_id [String]
|
|
35
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
36
36
|
# @param media_id [String] Media ID to retrieve.
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'media_id' when calling MediaApi.delete_media"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{
|
|
52
|
+
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -90,7 +90,7 @@ module Bandwidth
|
|
|
90
90
|
|
|
91
91
|
# Get Media
|
|
92
92
|
# Downloads a media file you previously uploaded.
|
|
93
|
-
# @param account_id [String]
|
|
93
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
94
94
|
# @param media_id [String] Media ID to retrieve.
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [File]
|
|
@@ -101,7 +101,7 @@ module Bandwidth
|
|
|
101
101
|
|
|
102
102
|
# Get Media
|
|
103
103
|
# Downloads a media file you previously uploaded.
|
|
104
|
-
# @param account_id [String]
|
|
104
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
105
105
|
# @param media_id [String] Media ID to retrieve.
|
|
106
106
|
# @param [Hash] opts the optional parameters
|
|
107
107
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -118,7 +118,7 @@ module Bandwidth
|
|
|
118
118
|
fail ArgumentError, "Missing the required parameter 'media_id' when calling MediaApi.get_media"
|
|
119
119
|
end
|
|
120
120
|
# resource path
|
|
121
|
-
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{
|
|
121
|
+
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s))
|
|
122
122
|
|
|
123
123
|
# query parameters
|
|
124
124
|
query_params = opts[:query_params] || {}
|
|
@@ -159,7 +159,7 @@ module Bandwidth
|
|
|
159
159
|
|
|
160
160
|
# List Media
|
|
161
161
|
# Gets a list of your media files. No query parameters are supported.
|
|
162
|
-
# @param account_id [String]
|
|
162
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
163
163
|
# @param [Hash] opts the optional parameters
|
|
164
164
|
# @option opts [String] :continuation_token Continuation token used to retrieve subsequent media.
|
|
165
165
|
# @return [Array<Media>]
|
|
@@ -170,7 +170,7 @@ module Bandwidth
|
|
|
170
170
|
|
|
171
171
|
# List Media
|
|
172
172
|
# Gets a list of your media files. No query parameters are supported.
|
|
173
|
-
# @param account_id [String]
|
|
173
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
174
174
|
# @param [Hash] opts the optional parameters
|
|
175
175
|
# @option opts [String] :continuation_token Continuation token used to retrieve subsequent media.
|
|
176
176
|
# @return [Array<(Array<Media>, Integer, Hash)>] Array<Media> data, response status code and response headers
|
|
@@ -183,7 +183,7 @@ module Bandwidth
|
|
|
183
183
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling MediaApi.list_media"
|
|
184
184
|
end
|
|
185
185
|
# resource path
|
|
186
|
-
local_var_path = '/users/{accountId}/media'.sub('{
|
|
186
|
+
local_var_path = '/users/{accountId}/media'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
187
187
|
|
|
188
188
|
# query parameters
|
|
189
189
|
query_params = opts[:query_params] || {}
|
|
@@ -225,7 +225,7 @@ module Bandwidth
|
|
|
225
225
|
|
|
226
226
|
# Upload Media
|
|
227
227
|
# Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
228
|
-
# @param account_id [String]
|
|
228
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
229
229
|
# @param media_id [String] Media ID to retrieve.
|
|
230
230
|
# @param body [File]
|
|
231
231
|
# @param [Hash] opts the optional parameters
|
|
@@ -239,7 +239,7 @@ module Bandwidth
|
|
|
239
239
|
|
|
240
240
|
# Upload Media
|
|
241
241
|
# Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
242
|
-
# @param account_id [String]
|
|
242
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
243
243
|
# @param media_id [String] Media ID to retrieve.
|
|
244
244
|
# @param body [File]
|
|
245
245
|
# @param [Hash] opts the optional parameters
|
|
@@ -263,7 +263,7 @@ module Bandwidth
|
|
|
263
263
|
fail ArgumentError, "Missing the required parameter 'body' when calling MediaApi.upload_media"
|
|
264
264
|
end
|
|
265
265
|
# resource path
|
|
266
|
-
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{
|
|
266
|
+
local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s))
|
|
267
267
|
|
|
268
268
|
# query parameters
|
|
269
269
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ module Bandwidth
|
|
|
21
21
|
end
|
|
22
22
|
# Create Message
|
|
23
23
|
# Endpoint for sending text messages and picture messages using V2 messaging.
|
|
24
|
-
# @param account_id [String]
|
|
24
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
25
25
|
# @param message_request [MessageRequest]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [Message]
|
|
@@ -32,7 +32,7 @@ module Bandwidth
|
|
|
32
32
|
|
|
33
33
|
# Create Message
|
|
34
34
|
# Endpoint for sending text messages and picture messages using V2 messaging.
|
|
35
|
-
# @param account_id [String]
|
|
35
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
36
36
|
# @param message_request [MessageRequest]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(Message, Integer, Hash)>] Message data, response status code and response headers
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'message_request' when calling MessagesApi.create_message"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/users/{accountId}/messages'.sub('{
|
|
52
|
+
local_var_path = '/users/{accountId}/messages'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -95,7 +95,7 @@ module Bandwidth
|
|
|
95
95
|
|
|
96
96
|
# List Messages
|
|
97
97
|
# Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
98
|
-
# @param account_id [String]
|
|
98
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @option opts [String] :message_id The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
101
101
|
# @option opts [String] :source_tn The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').
|
|
@@ -132,7 +132,7 @@ module Bandwidth
|
|
|
132
132
|
|
|
133
133
|
# List Messages
|
|
134
134
|
# Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
135
|
-
# @param account_id [String]
|
|
135
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
136
136
|
# @param [Hash] opts the optional parameters
|
|
137
137
|
# @option opts [String] :message_id The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
138
138
|
# @option opts [String] :source_tn The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919').
|
|
@@ -171,7 +171,7 @@ module Bandwidth
|
|
|
171
171
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling MessagesApi.list_messages"
|
|
172
172
|
end
|
|
173
173
|
# resource path
|
|
174
|
-
local_var_path = '/users/{accountId}/messages'.sub('{
|
|
174
|
+
local_var_path = '/users/{accountId}/messages'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
175
175
|
|
|
176
176
|
# query parameters
|
|
177
177
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'code_request' when calling MFAApi.generate_messaging_code"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/accounts/{accountId}/code/messaging'.sub('{
|
|
52
|
+
local_var_path = '/accounts/{accountId}/code/messaging'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -123,7 +123,7 @@ module Bandwidth
|
|
|
123
123
|
fail ArgumentError, "Missing the required parameter 'code_request' when calling MFAApi.generate_voice_code"
|
|
124
124
|
end
|
|
125
125
|
# resource path
|
|
126
|
-
local_var_path = '/accounts/{accountId}/code/voice'.sub('{
|
|
126
|
+
local_var_path = '/accounts/{accountId}/code/voice'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
127
127
|
|
|
128
128
|
# query parameters
|
|
129
129
|
query_params = opts[:query_params] || {}
|
|
@@ -197,7 +197,7 @@ module Bandwidth
|
|
|
197
197
|
fail ArgumentError, "Missing the required parameter 'verify_code_request' when calling MFAApi.verify_code"
|
|
198
198
|
end
|
|
199
199
|
# resource path
|
|
200
|
-
local_var_path = '/accounts/{accountId}/code/verify'.sub('{
|
|
200
|
+
local_var_path = '/accounts/{accountId}/code/verify'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
201
201
|
|
|
202
202
|
# query parameters
|
|
203
203
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ module Bandwidth
|
|
|
21
21
|
end
|
|
22
22
|
# Create Multi-Channel Message
|
|
23
23
|
# Endpoint for sending Multi-Channel messages.
|
|
24
|
-
# @param account_id [String]
|
|
24
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
25
25
|
# @param multi_channel_message_request [MultiChannelMessageRequest]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [CreateMultiChannelMessageResponse]
|
|
@@ -32,7 +32,7 @@ module Bandwidth
|
|
|
32
32
|
|
|
33
33
|
# Create Multi-Channel Message
|
|
34
34
|
# Endpoint for sending Multi-Channel messages.
|
|
35
|
-
# @param account_id [String]
|
|
35
|
+
# @param account_id [String] This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
36
36
|
# @param multi_channel_message_request [MultiChannelMessageRequest]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(CreateMultiChannelMessageResponse, Integer, Hash)>] CreateMultiChannelMessageResponse data, response status code and response headers
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'multi_channel_message_request' when calling MultiChannelApi.create_multi_channel_message"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/users/{accountId}/messages/multiChannel'.sub('{
|
|
52
|
+
local_var_path = '/users/{accountId}/messages/multiChannel'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'async_lookup_request' when calling PhoneNumberLookupApi.create_async_bulk_lookup"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk'.sub('{
|
|
52
|
+
local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -123,7 +123,7 @@ module Bandwidth
|
|
|
123
123
|
fail ArgumentError, "Missing the required parameter 'sync_lookup_request' when calling PhoneNumberLookupApi.create_sync_lookup"
|
|
124
124
|
end
|
|
125
125
|
# resource path
|
|
126
|
-
local_var_path = '/accounts/{accountId}/phoneNumberLookup'.sub('{
|
|
126
|
+
local_var_path = '/accounts/{accountId}/phoneNumberLookup'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
127
127
|
|
|
128
128
|
# query parameters
|
|
129
129
|
query_params = opts[:query_params] || {}
|
|
@@ -197,7 +197,7 @@ module Bandwidth
|
|
|
197
197
|
fail ArgumentError, "Missing the required parameter 'request_id' when calling PhoneNumberLookupApi.get_async_bulk_lookup"
|
|
198
198
|
end
|
|
199
199
|
# resource path
|
|
200
|
-
local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}'.sub('{
|
|
200
|
+
local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{requestId}', CGI.escape(request_id.to_s))
|
|
201
201
|
|
|
202
202
|
# query parameters
|
|
203
203
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -55,7 +55,7 @@ module Bandwidth
|
|
|
55
55
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording"
|
|
56
56
|
end
|
|
57
57
|
# resource path
|
|
58
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'.sub('{
|
|
58
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
59
59
|
|
|
60
60
|
# query parameters
|
|
61
61
|
query_params = opts[:query_params] || {}
|
|
@@ -130,7 +130,7 @@ module Bandwidth
|
|
|
130
130
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording_media"
|
|
131
131
|
end
|
|
132
132
|
# resource path
|
|
133
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'.sub('{
|
|
133
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
134
134
|
|
|
135
135
|
# query parameters
|
|
136
136
|
query_params = opts[:query_params] || {}
|
|
@@ -205,7 +205,7 @@ module Bandwidth
|
|
|
205
205
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording_transcription"
|
|
206
206
|
end
|
|
207
207
|
# resource path
|
|
208
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{
|
|
208
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
209
209
|
|
|
210
210
|
# query parameters
|
|
211
211
|
query_params = opts[:query_params] || {}
|
|
@@ -280,7 +280,7 @@ module Bandwidth
|
|
|
280
280
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.download_call_recording"
|
|
281
281
|
end
|
|
282
282
|
# resource path
|
|
283
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'.sub('{
|
|
283
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
284
284
|
|
|
285
285
|
# query parameters
|
|
286
286
|
query_params = opts[:query_params] || {}
|
|
@@ -355,7 +355,7 @@ module Bandwidth
|
|
|
355
355
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.get_call_recording"
|
|
356
356
|
end
|
|
357
357
|
# resource path
|
|
358
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'.sub('{
|
|
358
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
359
359
|
|
|
360
360
|
# query parameters
|
|
361
361
|
query_params = opts[:query_params] || {}
|
|
@@ -430,7 +430,7 @@ module Bandwidth
|
|
|
430
430
|
fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.get_recording_transcription"
|
|
431
431
|
end
|
|
432
432
|
# resource path
|
|
433
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{
|
|
433
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
434
434
|
|
|
435
435
|
# query parameters
|
|
436
436
|
query_params = opts[:query_params] || {}
|
|
@@ -501,7 +501,7 @@ module Bandwidth
|
|
|
501
501
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RecordingsApi.list_account_call_recordings"
|
|
502
502
|
end
|
|
503
503
|
# resource path
|
|
504
|
-
local_var_path = '/accounts/{accountId}/recordings'.sub('{
|
|
504
|
+
local_var_path = '/accounts/{accountId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
505
505
|
|
|
506
506
|
# query parameters
|
|
507
507
|
query_params = opts[:query_params] || {}
|
|
@@ -574,7 +574,7 @@ module Bandwidth
|
|
|
574
574
|
fail ArgumentError, "Missing the required parameter 'call_id' when calling RecordingsApi.list_call_recordings"
|
|
575
575
|
end
|
|
576
576
|
# resource path
|
|
577
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings'.sub('{
|
|
577
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s))
|
|
578
578
|
|
|
579
579
|
# query parameters
|
|
580
580
|
query_params = opts[:query_params] || {}
|
|
@@ -655,7 +655,7 @@ module Bandwidth
|
|
|
655
655
|
fail ArgumentError, "Missing the required parameter 'transcribe_recording' when calling RecordingsApi.transcribe_call_recording"
|
|
656
656
|
end
|
|
657
657
|
# resource path
|
|
658
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{
|
|
658
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
659
659
|
|
|
660
660
|
# query parameters
|
|
661
661
|
query_params = opts[:query_params] || {}
|
|
@@ -735,7 +735,7 @@ module Bandwidth
|
|
|
735
735
|
fail ArgumentError, "Missing the required parameter 'update_call_recording' when calling RecordingsApi.update_call_recording_state"
|
|
736
736
|
end
|
|
737
737
|
# resource path
|
|
738
|
-
local_var_path = '/accounts/{accountId}/calls/{callId}/recording'.sub('{
|
|
738
|
+
local_var_path = '/accounts/{accountId}/calls/{callId}/recording'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s))
|
|
739
739
|
|
|
740
740
|
# query parameters
|
|
741
741
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -43,7 +43,7 @@ module Bandwidth
|
|
|
43
43
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling StatisticsApi.get_statistics"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
|
-
local_var_path = '/accounts/{accountId}/statistics'.sub('{
|
|
46
|
+
local_var_path = '/accounts/{accountId}/statistics'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
47
47
|
|
|
48
48
|
# query parameters
|
|
49
49
|
query_params = opts[:query_params] || {}
|
|
@@ -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.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -49,7 +49,7 @@ module Bandwidth
|
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'webhook_subscription_request_schema' when calling TollFreeVerificationApi.create_webhook_subscription"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{
|
|
52
|
+
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -136,7 +136,7 @@ module Bandwidth
|
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
# resource path
|
|
139
|
-
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{
|
|
139
|
+
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s))
|
|
140
140
|
|
|
141
141
|
# query parameters
|
|
142
142
|
query_params = opts[:query_params] || {}
|
|
@@ -205,7 +205,7 @@ module Bandwidth
|
|
|
205
205
|
fail ArgumentError, "Missing the required parameter 'id' when calling TollFreeVerificationApi.delete_webhook_subscription"
|
|
206
206
|
end
|
|
207
207
|
# resource path
|
|
208
|
-
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{
|
|
208
|
+
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
209
209
|
|
|
210
210
|
# query parameters
|
|
211
211
|
query_params = opts[:query_params] || {}
|
|
@@ -287,7 +287,7 @@ module Bandwidth
|
|
|
287
287
|
end
|
|
288
288
|
|
|
289
289
|
# resource path
|
|
290
|
-
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{
|
|
290
|
+
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s))
|
|
291
291
|
|
|
292
292
|
# query parameters
|
|
293
293
|
query_params = opts[:query_params] || {}
|
|
@@ -407,7 +407,7 @@ module Bandwidth
|
|
|
407
407
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling TollFreeVerificationApi.list_webhook_subscriptions"
|
|
408
408
|
end
|
|
409
409
|
# resource path
|
|
410
|
-
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{
|
|
410
|
+
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
411
411
|
|
|
412
412
|
# query parameters
|
|
413
413
|
query_params = opts[:query_params] || {}
|
|
@@ -476,7 +476,7 @@ module Bandwidth
|
|
|
476
476
|
fail ArgumentError, "Missing the required parameter 'verification_request' when calling TollFreeVerificationApi.request_toll_free_verification"
|
|
477
477
|
end
|
|
478
478
|
# resource path
|
|
479
|
-
local_var_path = '/accounts/{accountId}/tollFreeVerification'.sub('{
|
|
479
|
+
local_var_path = '/accounts/{accountId}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s))
|
|
480
480
|
|
|
481
481
|
# query parameters
|
|
482
482
|
query_params = opts[:query_params] || {}
|
|
@@ -569,7 +569,7 @@ module Bandwidth
|
|
|
569
569
|
fail ArgumentError, "Missing the required parameter 'tfv_submission_wrapper' when calling TollFreeVerificationApi.update_toll_free_verification_request"
|
|
570
570
|
end
|
|
571
571
|
# resource path
|
|
572
|
-
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{
|
|
572
|
+
local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s))
|
|
573
573
|
|
|
574
574
|
# query parameters
|
|
575
575
|
query_params = opts[:query_params] || {}
|
|
@@ -649,7 +649,7 @@ module Bandwidth
|
|
|
649
649
|
fail ArgumentError, "Missing the required parameter 'webhook_subscription_request_schema' when calling TollFreeVerificationApi.update_webhook_subscription"
|
|
650
650
|
end
|
|
651
651
|
# resource path
|
|
652
|
-
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{
|
|
652
|
+
local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
653
653
|
|
|
654
654
|
# query parameters
|
|
655
655
|
query_params = opts[:query_params] || {}
|