From 50ecaefc7dd81604961310b55eb2c4f6aafbe477 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 4 Aug 2026 15:44:00 -0400 Subject: [PATCH 1/4] spelling fixes --- lib/bandwidth-sdk/models/bxml/root.rb | 2 +- lib/bandwidth-sdk/models/bxml/verb.rb | 2 +- lib/bandwidth-sdk/models/bxml/verbs/gather.rb | 2 +- lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bandwidth-sdk/models/bxml/root.rb b/lib/bandwidth-sdk/models/bxml/root.rb index 77771c04..af57d0bd 100644 --- a/lib/bandwidth-sdk/models/bxml/root.rb +++ b/lib/bandwidth-sdk/models/bxml/root.rb @@ -36,7 +36,7 @@ def add_verbs(nested_verbs) @nested_verbs.push(*nested_verbs) end - # Return BXML representaion of this response + # Return BXML representation of this response # @return [String] The XML response in string format. def to_bxml bxml = Ox.dump(generate_xml) diff --git a/lib/bandwidth-sdk/models/bxml/verb.rb b/lib/bandwidth-sdk/models/bxml/verb.rb index f16b9a44..c26f1a69 100644 --- a/lib/bandwidth-sdk/models/bxml/verb.rb +++ b/lib/bandwidth-sdk/models/bxml/verb.rb @@ -40,7 +40,7 @@ def generate_xml root end - # Return BXML representaion of this element + # Return BXML representation of this element # @return [String] The XML element in string format. def to_bxml Ox.dump(generate_xml) diff --git a/lib/bandwidth-sdk/models/bxml/verbs/gather.rb b/lib/bandwidth-sdk/models/bxml/verbs/gather.rb index 177edbec..c156a407 100644 --- a/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +++ b/lib/bandwidth-sdk/models/bxml/verbs/gather.rb @@ -25,7 +25,7 @@ def initialize(audio_verbs = [], attributes = {}) } end - # Return BXML representaion of this response + # Return BXML representation of this response # @return [String] The XML response in string format. def to_bxml bxml = Ox.dump(generate_xml) diff --git a/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb b/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb index ff3982ef..6c009247 100644 --- a/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb +++ b/lib/bandwidth-sdk/models/bxml/verbs/speak_sentence.rb @@ -14,7 +14,7 @@ def initialize(text, attributes = {}) } end - # Return BXML representaion of this response + # Return BXML representation of this response # @return [String] The XML response in string format. def to_bxml bxml = Ox.dump(generate_xml) From ace4ac21d15c5d00e67cd35adbadac7606b6ae90 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 4 Aug 2026 16:14:16 -0400 Subject: [PATCH 2/4] update action and ruby versions --- .github/workflows/test-pr.yml | 6 +++--- .github/workflows/test-smoke.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 34380ac1..3fe9bfa2 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -33,12 +33,12 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04] - ruby-version: ['3.0','3.1','3.2','3.3'] + os: [windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04] + ruby-version: ["3.2", "3.3", "3.4", "4.0"] fail-fast: false steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/test-smoke.yml b/.github/workflows/test-smoke.yml index dddfcd7e..e8f73eca 100644 --- a/.github/workflows/test-smoke.yml +++ b/.github/workflows/test-smoke.yml @@ -37,19 +37,19 @@ jobs: MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3 + ruby-version: 3.4 - name: Install Packages and Test run: | bundle install rake smoke env: - RUBY_VERSION: 3.3 + RUBY_VERSION: 3.4 OPERATING_SYSTEM: ubuntu shell: bash @@ -66,19 +66,19 @@ jobs: MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_UP_APPLICATION_ID }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3 + ruby-version: 3.4 - name: Install Packages and Test run: | bundle install rake smoke env: - RUBY_VERSION: 3.3 + RUBY_VERSION: 3.4 OPERATING_SYSTEM: ubuntu shell: bash From 80e660433c8f03dca235ededffcade28d35aedae Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 4 Aug 2026 16:14:36 -0400 Subject: [PATCH 3/4] SWI-12099 Update Deploy To Trusted Publishing --- .github/workflows/deploy.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8af95f5b..c8366088 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,6 +9,9 @@ jobs: deploy: name: Deploy SDK to Rubygems runs-on: ubuntu-latest + permissions: + contents: read + id-token: write env: BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }} BW_USERNAME: ${{ secrets.BW_USERNAME }} @@ -47,12 +50,12 @@ jobs: TAG: ${{ github.event.release.tag_name }} - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3 + ruby-version: 4.0 - name: Update Gem Version run: sed -i "s/VERSION = '.*'/VERSION = '$GEM_VERSION'/g" lib/bandwidth-sdk/version.rb @@ -64,12 +67,11 @@ jobs: prism mock ./bandwidth.yml & (sleep 3; rake unit) shell: bash + - name: Configure Rubygems Trusted Publishing Credentials + uses: rubygems/configure-rubygems-credentials@v2.1.0 + - name: Deploy to Rubygems run: | - mkdir ~/.gem - touch ~/.gem/credentials - chmod 0600 ~/.gem/credentials - printf -- "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}\n" > ~/.gem/credentials gem build *.gemspec gem push *.gem From e447570b950371f14daeea0ddbc4e63d74f47ffd Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Tue, 4 Aug 2026 17:00:57 -0400 Subject: [PATCH 4/4] SWI-12099 Fixes for Ruby 3.4/4.0 and Update Generator Version to 7.24 (#221) * update model tests for 3.4 and 4.0 * rubocop * update gemspec * ruby version env var in deploy * update md file for test changes * update to 7.24 --- .github/workflows/deploy.yml | 2 +- .openapi-generator/VERSION | 2 +- UPDATING_MODEL_TESTS.md | 19 ++++++++++++++-- bandwidth-sdk.gemspec | 4 ++-- custom_templates/gemspec.mustache | 2 +- lib/bandwidth-sdk.rb | 2 +- lib/bandwidth-sdk/api/calls_api.rb | 12 +++++----- lib/bandwidth-sdk/api/conferences_api.rb | 20 ++++++++--------- lib/bandwidth-sdk/api/endpoints_api.rb | 12 +++++----- lib/bandwidth-sdk/api/media_api.rb | 10 ++++----- lib/bandwidth-sdk/api/messages_api.rb | 6 ++--- lib/bandwidth-sdk/api/mfa_api.rb | 8 +++---- lib/bandwidth-sdk/api/multi_channel_api.rb | 4 ++-- .../api/phone_number_lookup_api.rb | 8 +++---- lib/bandwidth-sdk/api/recordings_api.rb | 22 +++++++++---------- lib/bandwidth-sdk/api/statistics_api.rb | 4 ++-- .../api/toll_free_verification_api.rb | 18 +++++++-------- lib/bandwidth-sdk/api/transcriptions_api.rb | 8 +++---- lib/bandwidth-sdk/api_client.rb | 2 +- lib/bandwidth-sdk/api_error.rb | 2 +- lib/bandwidth-sdk/api_model_base.rb | 2 +- lib/bandwidth-sdk/configuration.rb | 2 +- .../models/account_statistics.rb | 2 +- .../models/additional_denial_reason.rb | 2 +- lib/bandwidth-sdk/models/address.rb | 2 +- lib/bandwidth-sdk/models/answer_callback.rb | 2 +- .../models/async_lookup_request.rb | 2 +- lib/bandwidth-sdk/models/blocked_webhook.rb | 2 +- .../models/bridge_complete_callback.rb | 2 +- .../models/bridge_target_complete_callback.rb | 2 +- lib/bandwidth-sdk/models/brtc_error.rb | 2 +- .../models/brtc_error_response.rb | 2 +- lib/bandwidth-sdk/models/brtc_error_source.rb | 2 +- lib/bandwidth-sdk/models/brtc_link.rb | 2 +- .../models/business_entity_type_enum.rb | 2 +- .../models/business_registration_type_enum.rb | 2 +- .../models/call_direction_enum.rb | 2 +- .../models/call_recording_metadata.rb | 2 +- lib/bandwidth-sdk/models/call_state.rb | 2 +- lib/bandwidth-sdk/models/call_state_enum.rb | 2 +- .../models/call_transcription.rb | 2 +- ...ll_transcription_detected_language_enum.rb | 2 +- .../models/call_transcription_metadata.rb | 2 +- .../models/call_transcription_response.rb | 2 +- .../models/call_transcription_track_enum.rb | 2 +- lib/bandwidth-sdk/models/callback.rb | 2 +- .../models/callback_method_enum.rb | 2 +- lib/bandwidth-sdk/models/card_width_enum.rb | 2 +- lib/bandwidth-sdk/models/code_request.rb | 2 +- .../models/completed_lookup_status_enum.rb | 2 +- lib/bandwidth-sdk/models/conference.rb | 2 +- .../models/conference_completed_callback.rb | 2 +- .../models/conference_created_callback.rb | 2 +- lib/bandwidth-sdk/models/conference_member.rb | 2 +- .../models/conference_member_exit_callback.rb | 2 +- .../models/conference_member_join_callback.rb | 2 +- ...conference_recording_available_callback.rb | 2 +- .../models/conference_recording_metadata.rb | 2 +- .../models/conference_redirect_callback.rb | 2 +- .../models/conference_state_enum.rb | 2 +- lib/bandwidth-sdk/models/contact.rb | 2 +- .../create_async_bulk_lookup_response.rb | 2 +- .../create_async_bulk_lookup_response_data.rb | 2 +- lib/bandwidth-sdk/models/create_call.rb | 2 +- .../models/create_call_response.rb | 2 +- .../models/create_endpoint_request_base.rb | 2 +- .../models/create_endpoint_response.rb | 2 +- .../models/create_endpoint_response_data.rb | 2 +- .../models/create_message_request_error.rb | 2 +- .../create_multi_channel_message_response.rb | 2 +- .../models/create_sync_lookup_response.rb | 2 +- .../create_sync_lookup_response_data.rb | 2 +- .../create_web_rtc_connection_request.rb | 2 +- .../models/deactivation_event_enum.rb | 2 +- lib/bandwidth-sdk/models/device.rb | 2 +- .../models/device_status_enum.rb | 2 +- .../models/disconnect_callback.rb | 2 +- lib/bandwidth-sdk/models/diversion.rb | 2 +- lib/bandwidth-sdk/models/dtmf_callback.rb | 2 +- lib/bandwidth-sdk/models/endpoint.rb | 2 +- .../models/endpoint_direction_enum.rb | 2 +- lib/bandwidth-sdk/models/endpoint_event.rb | 2 +- .../models/endpoint_event_type_enum.rb | 2 +- lib/bandwidth-sdk/models/endpoint_response.rb | 2 +- .../models/endpoint_status_enum.rb | 2 +- .../models/endpoint_type_enum.rb | 2 +- lib/bandwidth-sdk/models/endpoints.rb | 2 +- lib/bandwidth-sdk/models/error_object.rb | 2 +- lib/bandwidth-sdk/models/error_source.rb | 2 +- lib/bandwidth-sdk/models/failure_webhook.rb | 2 +- lib/bandwidth-sdk/models/field_error.rb | 2 +- lib/bandwidth-sdk/models/file_format_enum.rb | 2 +- lib/bandwidth-sdk/models/gather_callback.rb | 2 +- .../models/get_async_bulk_lookup_response.rb | 2 +- .../get_async_bulk_lookup_response_data.rb | 2 +- .../models/in_progress_lookup_status_enum.rb | 2 +- lib/bandwidth-sdk/models/inbound_callback.rb | 2 +- .../models/inbound_callback_message.rb | 2 +- .../models/inbound_callback_type_enum.rb | 2 +- lib/bandwidth-sdk/models/initiate_callback.rb | 2 +- .../latest_message_delivery_status_enum.rb | 2 +- lib/bandwidth-sdk/models/line_type_enum.rb | 2 +- lib/bandwidth-sdk/models/link.rb | 2 +- lib/bandwidth-sdk/models/link_schema.rb | 2 +- lib/bandwidth-sdk/models/links_object.rb | 2 +- .../models/list_endpoints_response.rb | 2 +- .../models/list_message_direction_enum.rb | 2 +- lib/bandwidth-sdk/models/list_message_item.rb | 2 +- .../models/lookup_error_response.rb | 2 +- .../models/lookup_error_schema.rb | 2 +- .../models/lookup_error_schema_meta.rb | 2 +- lib/bandwidth-sdk/models/lookup_result.rb | 2 +- .../machine_detection_complete_callback.rb | 2 +- .../models/machine_detection_configuration.rb | 2 +- .../models/machine_detection_mode_enum.rb | 2 +- .../models/machine_detection_result.rb | 2 +- lib/bandwidth-sdk/models/media.rb | 2 +- lib/bandwidth-sdk/models/message.rb | 2 +- .../models/message_direction_enum.rb | 2 +- lib/bandwidth-sdk/models/message_request.rb | 2 +- .../models/message_status_enum.rb | 2 +- lib/bandwidth-sdk/models/message_type_enum.rb | 2 +- lib/bandwidth-sdk/models/messages_list.rb | 2 +- .../models/messaging_code_response.rb | 2 +- .../models/messaging_request_error.rb | 2 +- .../models/mfa_forbidden_request_error.rb | 2 +- lib/bandwidth-sdk/models/mfa_request_error.rb | 2 +- .../models/mfa_unauthorized_request_error.rb | 2 +- .../models/mms_message_content.rb | 2 +- .../models/mms_message_content_file.rb | 2 +- .../models/multi_channel_action.rb | 2 +- .../multi_channel_action_calendar_event.rb | 2 +- .../multi_channel_channel_list_mms_object.rb | 2 +- ...hannel_channel_list_mms_response_object.rb | 2 +- .../multi_channel_channel_list_object_base.rb | 2 +- ...multi_channel_channel_list_owner_object.rb | 2 +- .../multi_channel_channel_list_rbm_object.rb | 2 +- ..._channel_list_rbm_object_all_of_content.rb | 2 +- ...hannel_channel_list_rbm_response_object.rb | 2 +- ...lti_channel_channel_list_request_object.rb | 2 +- ...ti_channel_channel_list_response_object.rb | 2 +- .../multi_channel_channel_list_sms_object.rb | 2 +- ...hannel_channel_list_sms_response_object.rb | 2 +- .../models/multi_channel_error.rb | 2 +- .../multi_channel_message_channel_enum.rb | 2 +- .../models/multi_channel_message_content.rb | 2 +- .../models/multi_channel_message_request.rb | 2 +- .../multi_channel_message_response_data.rb | 2 +- lib/bandwidth-sdk/models/opt_in_workflow.rb | 2 +- lib/bandwidth-sdk/models/page.rb | 2 +- lib/bandwidth-sdk/models/page_info.rb | 2 +- lib/bandwidth-sdk/models/priority_enum.rb | 2 +- lib/bandwidth-sdk/models/product_type_enum.rb | 2 +- lib/bandwidth-sdk/models/rbm_action_base.rb | 2 +- lib/bandwidth-sdk/models/rbm_action_dial.rb | 2 +- .../models/rbm_action_open_url.rb | 2 +- .../models/rbm_action_type_enum.rb | 2 +- .../models/rbm_action_view_location.rb | 2 +- lib/bandwidth-sdk/models/rbm_card_content.rb | 2 +- .../models/rbm_card_content_media.rb | 2 +- .../models/rbm_location_response.rb | 2 +- .../models/rbm_media_height_enum.rb | 2 +- .../models/rbm_message_carousel_card.rb | 2 +- .../models/rbm_message_content_file.rb | 2 +- .../models/rbm_message_content_rich_card.rb | 2 +- .../models/rbm_message_content_text.rb | 2 +- lib/bandwidth-sdk/models/rbm_message_media.rb | 2 +- lib/bandwidth-sdk/models/rbm_open_url_enum.rb | 2 +- .../models/rbm_standalone_card.rb | 2 +- .../models/rbm_suggestion_response.rb | 2 +- lib/bandwidth-sdk/models/rbm_web_view_enum.rb | 2 +- .../models/recording_available_callback.rb | 2 +- .../models/recording_complete_callback.rb | 2 +- .../models/recording_state_enum.rb | 2 +- .../models/recording_transcription_clip.rb | 2 +- .../recording_transcription_metadata.rb | 2 +- .../models/recording_transcriptions.rb | 2 +- lib/bandwidth-sdk/models/redirect_callback.rb | 2 +- .../models/redirect_method_enum.rb | 2 +- .../models/sip_connection_metadata.rb | 2 +- lib/bandwidth-sdk/models/sip_credentials.rb | 2 +- .../models/sms_message_content.rb | 2 +- .../standalone_card_orientation_enum.rb | 2 +- lib/bandwidth-sdk/models/status_callback.rb | 2 +- .../models/status_callback_message.rb | 2 +- .../models/status_callback_type_enum.rb | 2 +- lib/bandwidth-sdk/models/stir_shaken.rb | 2 +- .../models/sync_lookup_request.rb | 2 +- lib/bandwidth-sdk/models/telephone_number.rb | 2 +- .../models/tfv_basic_authentication.rb | 2 +- .../models/tfv_callback_status_enum.rb | 2 +- lib/bandwidth-sdk/models/tfv_error.rb | 2 +- lib/bandwidth-sdk/models/tfv_status.rb | 2 +- lib/bandwidth-sdk/models/tfv_status_enum.rb | 2 +- .../models/tfv_submission_info.rb | 2 +- .../models/tfv_submission_wrapper.rb | 2 +- .../models/thumbnail_alignment_enum.rb | 2 +- .../models/transcribe_recording.rb | 2 +- lib/bandwidth-sdk/models/transcription.rb | 2 +- .../transcription_available_callback.rb | 2 +- .../models/transfer_answer_callback.rb | 2 +- .../models/transfer_complete_callback.rb | 2 +- .../models/transfer_disconnect_callback.rb | 2 +- lib/bandwidth-sdk/models/update_call.rb | 2 +- .../models/update_call_recording.rb | 2 +- lib/bandwidth-sdk/models/update_conference.rb | 2 +- .../models/update_conference_member.rb | 2 +- .../models/verification_denial_webhook.rb | 2 +- .../models/verification_request.rb | 2 +- .../models/verification_update_request.rb | 2 +- .../models/verification_webhook.rb | 2 +- .../models/verify_code_request.rb | 2 +- .../models/verify_code_response.rb | 2 +- lib/bandwidth-sdk/models/voice_api_error.rb | 2 +- .../models/voice_code_response.rb | 2 +- .../models/webhook_subscription.rb | 2 +- ...bhook_subscription_basic_authentication.rb | 2 +- .../models/webhook_subscription_error.rb | 2 +- .../webhook_subscription_request_schema.rb | 2 +- .../models/webhook_subscription_type_enum.rb | 2 +- .../models/webhook_subscriptions_list_body.rb | 2 +- lib/bandwidth-sdk/version.rb | 2 +- openapitools.json | 2 +- spec/unit/models/account_statistics_spec.rb | 2 +- .../models/additional_denial_reason_spec.rb | 2 +- spec/unit/models/address_spec.rb | 2 +- spec/unit/models/answer_callback_spec.rb | 2 +- spec/unit/models/async_lookup_request_spec.rb | 2 +- spec/unit/models/blocked_webhook_spec.rb | 2 +- .../models/bridge_complete_callback_spec.rb | 2 +- .../bridge_target_complete_callback_spec.rb | 2 +- spec/unit/models/brtc_error_response_spec.rb | 2 +- spec/unit/models/brtc_error_source_spec.rb | 2 +- spec/unit/models/brtc_error_spec.rb | 2 +- spec/unit/models/brtc_link_spec.rb | 2 +- .../models/call_recording_metadata_spec.rb | 2 +- spec/unit/models/call_state_spec.rb | 2 +- .../call_transcription_metadata_spec.rb | 2 +- .../call_transcription_response_spec.rb | 2 +- spec/unit/models/call_transcription_spec.rb | 2 +- spec/unit/models/code_request_spec.rb | 2 +- .../conference_completed_callback_spec.rb | 2 +- .../conference_created_callback_spec.rb | 2 +- .../conference_member_exit_callback_spec.rb | 2 +- .../conference_member_join_callback_spec.rb | 2 +- spec/unit/models/conference_member_spec.rb | 2 +- ...rence_recording_available_callback_spec.rb | 2 +- .../conference_recording_metadata_spec.rb | 2 +- .../conference_redirect_callback_spec.rb | 2 +- spec/unit/models/conference_spec.rb | 2 +- spec/unit/models/contact_spec.rb | 2 +- ...te_async_bulk_lookup_response_data_spec.rb | 2 +- .../create_async_bulk_lookup_response_spec.rb | 2 +- spec/unit/models/create_call_response_spec.rb | 2 +- spec/unit/models/create_call_spec.rb | 2 +- .../create_endpoint_request_base_spec.rb | 2 +- .../create_endpoint_response_data_spec.rb | 2 +- .../models/create_endpoint_response_spec.rb | 2 +- .../create_message_request_error_spec.rb | 2 +- ...ate_multi_channel_message_response_spec.rb | 2 +- .../create_sync_lookup_response_data_spec.rb | 2 +- .../create_sync_lookup_response_spec.rb | 2 +- .../create_web_rtc_connection_request_spec.rb | 2 +- spec/unit/models/device_spec.rb | 2 +- spec/unit/models/disconnect_callback_spec.rb | 2 +- spec/unit/models/diversion_spec.rb | 2 +- spec/unit/models/dtmf_callback_spec.rb | 2 +- spec/unit/models/endpoint_event_spec.rb | 2 +- spec/unit/models/endpoint_response_spec.rb | 2 +- spec/unit/models/endpoint_spec.rb | 2 +- spec/unit/models/endpoints_spec.rb | 2 +- spec/unit/models/error_object_spec.rb | 2 +- spec/unit/models/error_source_spec.rb | 2 +- spec/unit/models/failure_webhook_spec.rb | 2 +- spec/unit/models/field_error_spec.rb | 2 +- spec/unit/models/gather_callback_spec.rb | 2 +- ...et_async_bulk_lookup_response_data_spec.rb | 2 +- .../get_async_bulk_lookup_response_spec.rb | 2 +- .../models/inbound_callback_message_spec.rb | 2 +- spec/unit/models/inbound_callback_spec.rb | 2 +- spec/unit/models/initiate_callback_spec.rb | 2 +- spec/unit/models/link_schema_spec.rb | 2 +- spec/unit/models/link_spec.rb | 2 +- spec/unit/models/links_object_spec.rb | 2 +- .../models/list_endpoints_response_spec.rb | 2 +- spec/unit/models/list_message_item_spec.rb | 2 +- .../unit/models/lookup_error_response_spec.rb | 2 +- .../models/lookup_error_schema_meta_spec.rb | 2 +- spec/unit/models/lookup_error_schema_spec.rb | 2 +- spec/unit/models/lookup_result_spec.rb | 2 +- ...achine_detection_complete_callback_spec.rb | 2 +- .../machine_detection_configuration_spec.rb | 2 +- .../models/machine_detection_result_spec.rb | 2 +- spec/unit/models/media_spec.rb | 2 +- spec/unit/models/message_request_spec.rb | 2 +- spec/unit/models/message_spec.rb | 2 +- spec/unit/models/messages_list_spec.rb | 2 +- .../models/messaging_code_response_spec.rb | 2 +- .../models/messaging_request_error_spec.rb | 2 +- .../mfa_forbidden_request_error_spec.rb | 2 +- spec/unit/models/mfa_request_error_spec.rb | 2 +- .../mfa_unauthorized_request_error_spec.rb | 2 +- .../models/mms_message_content_file_spec.rb | 2 +- spec/unit/models/mms_message_content_spec.rb | 2 +- ...ulti_channel_action_calendar_event_spec.rb | 2 +- ...ti_channel_channel_list_mms_object_spec.rb | 2 +- ...l_channel_list_mms_response_object_spec.rb | 2 +- ...i_channel_channel_list_object_base_spec.rb | 2 +- ..._channel_channel_list_owner_object_spec.rb | 2 +- ...ti_channel_channel_list_rbm_object_spec.rb | 2 +- ...l_channel_list_rbm_response_object_spec.rb | 2 +- ...ti_channel_channel_list_sms_object_spec.rb | 2 +- ...l_channel_list_sms_response_object_spec.rb | 2 +- spec/unit/models/multi_channel_error_spec.rb | 2 +- .../multi_channel_message_content_spec.rb | 2 +- .../multi_channel_message_request_spec.rb | 2 +- ...ulti_channel_message_response_data_spec.rb | 2 +- spec/unit/models/opt_in_workflow_spec.rb | 2 +- spec/unit/models/page_info_spec.rb | 2 +- spec/unit/models/page_spec.rb | 2 +- spec/unit/models/rbm_action_base_spec.rb | 2 +- spec/unit/models/rbm_action_dial_spec.rb | 2 +- spec/unit/models/rbm_action_open_url_spec.rb | 2 +- .../models/rbm_action_view_location_spec.rb | 2 +- .../models/rbm_card_content_media_spec.rb | 2 +- spec/unit/models/rbm_card_content_spec.rb | 2 +- .../unit/models/rbm_location_response_spec.rb | 2 +- .../models/rbm_message_carousel_card_spec.rb | 2 +- .../models/rbm_message_content_file_spec.rb | 2 +- .../models/rbm_message_content_text_spec.rb | 2 +- spec/unit/models/rbm_message_media_spec.rb | 2 +- spec/unit/models/rbm_standalone_card_spec.rb | 2 +- .../models/rbm_suggestion_response_spec.rb | 2 +- .../recording_available_callback_spec.rb | 2 +- .../recording_complete_callback_spec.rb | 2 +- .../recording_transcription_clip_spec.rb | 2 +- .../recording_transcription_metadata_spec.rb | 2 +- .../models/recording_transcriptions_spec.rb | 2 +- spec/unit/models/redirect_callback_spec.rb | 2 +- .../models/sip_connection_metadata_spec.rb | 2 +- spec/unit/models/sip_credentials_spec.rb | 2 +- spec/unit/models/sms_message_content_spec.rb | 2 +- .../models/status_callback_message_spec.rb | 2 +- spec/unit/models/status_callback_spec.rb | 2 +- spec/unit/models/stir_shaken_spec.rb | 2 +- spec/unit/models/sync_lookup_request_spec.rb | 2 +- spec/unit/models/telephone_number_spec.rb | 2 +- .../models/tfv_basic_authentication_spec.rb | 2 +- spec/unit/models/tfv_error_spec.rb | 2 +- spec/unit/models/tfv_status_spec.rb | 2 +- spec/unit/models/tfv_submission_info_spec.rb | 2 +- .../models/tfv_submission_wrapper_spec.rb | 2 +- spec/unit/models/transcribe_recording_spec.rb | 2 +- .../transcription_available_callback_spec.rb | 2 +- spec/unit/models/transcription_spec.rb | 2 +- .../models/transfer_answer_callback_spec.rb | 2 +- .../models/transfer_complete_callback_spec.rb | 2 +- .../transfer_disconnect_callback_spec.rb | 2 +- .../unit/models/update_call_recording_spec.rb | 2 +- spec/unit/models/update_call_spec.rb | 2 +- .../models/update_conference_member_spec.rb | 2 +- spec/unit/models/update_conference_spec.rb | 2 +- .../verification_denial_webhook_spec.rb | 2 +- spec/unit/models/verification_request_spec.rb | 2 +- .../verification_update_request_spec.rb | 2 +- spec/unit/models/verification_webhook_spec.rb | 2 +- spec/unit/models/verify_code_request_spec.rb | 2 +- spec/unit/models/verify_code_response_spec.rb | 2 +- spec/unit/models/voice_api_error_spec.rb | 2 +- spec/unit/models/voice_code_response_spec.rb | 2 +- ..._subscription_basic_authentication_spec.rb | 2 +- .../models/webhook_subscription_error_spec.rb | 2 +- ...ebhook_subscription_request_schema_spec.rb | 2 +- spec/unit/models/webhook_subscription_spec.rb | 2 +- .../webhook_subscriptions_list_body_spec.rb | 2 +- 375 files changed, 446 insertions(+), 431 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c8366088..9d3b3afa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,7 @@ jobs: BW_NUMBER: ${{ secrets.BW_NUMBER }} USER_NUMBER: ${{ secrets.USER_NUMBER }} BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }} - RUBY_VERSION: "3.0" + RUBY_VERSION: "4.0" OPERATING_SYSTEM: "ubuntu" MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }} MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_IDLE_NUMBER }} diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 6328c542..07832195 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.17.0 +7.24.0 diff --git a/UPDATING_MODEL_TESTS.md b/UPDATING_MODEL_TESTS.md index f16ab155..239a0e46 100644 --- a/UPDATING_MODEL_TESTS.md +++ b/UPDATING_MODEL_TESTS.md @@ -48,6 +48,7 @@ describe Bandwidth::ModelName do describe '#to_s' do # Use the *populated* values instance, not the empty default. + # Compare against a hash literal + .to_s, never a hardcoded string. it 'returns a string representation of the object' end @@ -293,9 +294,23 @@ Bandwidth::VerificationRequest.build_from_hash({ Apply this recursively — if the nested model itself has nested models with required attrs, fill those too. Check the nested model's setters (`def =` blocks raising `' cannot be nil'`) to know which attrs are required. -### `#to_s` is sensitive to attribute order +### `#to_s` must not assert against a hardcoded string -The expected string must match the exact order of attributes as serialized by `to_hash`. Generate the expected string by running the populated instance through `to_s` in a console and pasting the result. Don't hand-craft it. +`ApiModelBase#to_s` is `to_hash.to_s`, so its output is whatever `Hash#inspect` produces on the running Ruby — and **that format is version-dependent**. Ruby 3.4 changed it from `{:key=>"value"}` to `{key: "value"}`, which broke every spec that pasted a literal string. + +Compare against a **hash literal put through `.to_s`** instead. Ruby renders both sides with the same format, so the assertion holds on every supported version: + +```ruby +# Wrong — passes on <= 3.3, fails on >= 3.4: +expect(model_values.to_s).to eq('{:type=>"validation", :id=>"abc"}') + +# Right — version-agnostic: +expect(model_values.to_s).to eq({:type=>"validation", :id=>"abc"}.to_s) +``` + +The auto-generated spec emits the hardcoded-string form, so this needs fixing on every regeneration. The fix is mechanical: strip the surrounding quotes and append `.to_s` — the text inside the quotes is already valid Ruby hash-literal source. + +**Attribute order still matters.** String comparison is order-sensitive (unlike the `Hash#==` in the `#to_body #to_hash` block), so the literal's key order must match `to_hash`'s serialization order. Keys are the *JSON* names from `attribute_map` (camelCase), not the snake_case attr names. Get the order by running the populated instance through `to_s` in a console — just convert the result to a hash literal rather than pasting it as a string. ### Nullable attribute symbols diff --git a/bandwidth-sdk.gemspec b/bandwidth-sdk.gemspec index bdae4356..d8dd87f6 100644 --- a/bandwidth-sdk.gemspec +++ b/bandwidth-sdk.gemspec @@ -8,7 +8,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end $:.push File.expand_path('../lib', __FILE__) @@ -29,7 +29,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0' s.add_runtime_dependency 'faraday-multipart' - s.add_runtime_dependency 'ox', '~> 2.14' + s.add_runtime_dependency 'ox', '~> 2.14', '>= 2.14.28' s.add_runtime_dependency 'marcel' s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' diff --git a/custom_templates/gemspec.mustache b/custom_templates/gemspec.mustache index d09c21a1..454c49f8 100644 --- a/custom_templates/gemspec.mustache +++ b/custom_templates/gemspec.mustache @@ -27,7 +27,7 @@ Gem::Specification.new do |s| {{^isFaraday}} s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1' {{/isFaraday}} - s.add_runtime_dependency 'ox', '~> 2.14' + s.add_runtime_dependency 'ox', '~> 2.14', '>= 2.14.28' s.add_runtime_dependency 'marcel' s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' diff --git a/lib/bandwidth-sdk.rb b/lib/bandwidth-sdk.rb index c0d0adcb..b9a8e8b4 100644 --- a/lib/bandwidth-sdk.rb +++ b/lib/bandwidth-sdk.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/api/calls_api.rb b/lib/bandwidth-sdk/api/calls_api.rb index a50de839..b41a7c39 100644 --- a/lib/bandwidth-sdk/api/calls_api.rb +++ b/lib/bandwidth-sdk/api/calls_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_call_with_http_info(account_id, create_call, opts = {}) fail ArgumentError, "Missing the required parameter 'create_call' when calling CallsApi.create_call" end # resource path - local_var_path = '/accounts/{accountId}/calls'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/calls'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -123,7 +123,7 @@ def get_call_state_with_http_info(account_id, call_id, opts = {}) fail ArgumentError, "Missing the required parameter 'call_id' when calling CallsApi.get_call_state" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -208,7 +208,7 @@ def list_calls_with_http_info(account_id, opts = {}) end # resource path - local_var_path = '/accounts/{accountId}/calls'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/calls'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -290,7 +290,7 @@ def update_call_with_http_info(account_id, call_id, update_call, opts = {}) fail ArgumentError, "Missing the required parameter 'update_call' when calling CallsApi.update_call" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -370,7 +370,7 @@ def update_call_bxml_with_http_info(account_id, call_id, body, opts = {}) fail ArgumentError, "Missing the required parameter 'body' when calling CallsApi.update_call_bxml" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/bxml'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/bxml'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/conferences_api.rb b/lib/bandwidth-sdk/api/conferences_api.rb index ddd6755a..8023df17 100644 --- a/lib/bandwidth-sdk/api/conferences_api.rb +++ b/lib/bandwidth-sdk/api/conferences_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -55,7 +55,7 @@ def download_conference_recording_with_http_info(account_id, conference_id, reco fail ArgumentError, "Missing the required parameter 'recording_id' when calling ConferencesApi.download_conference_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -124,7 +124,7 @@ def get_conference_with_http_info(account_id, conference_id, opts = {}) fail ArgumentError, "Missing the required parameter 'conference_id' when calling ConferencesApi.get_conference" end # resource path - local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'conferenceId' + '}', CGI.escape(conference_id.to_s)) + local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -199,7 +199,7 @@ def get_conference_member_with_http_info(account_id, conference_id, member_id, o fail ArgumentError, "Missing the required parameter 'member_id' when calling ConferencesApi.get_conference_member" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -274,7 +274,7 @@ def get_conference_recording_with_http_info(account_id, conference_id, recording fail ArgumentError, "Missing the required parameter 'recording_id' when calling ConferencesApi.get_conference_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -343,7 +343,7 @@ def list_conference_recordings_with_http_info(account_id, conference_id, opts = fail ArgumentError, "Missing the required parameter 'conference_id' when calling ConferencesApi.list_conference_recordings" end # resource path - local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'conferenceId' + '}', CGI.escape(conference_id.to_s)) + local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -424,7 +424,7 @@ def list_conferences_with_http_info(account_id, opts = {}) end # resource path - local_var_path = '/accounts/{accountId}/conferences'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/conferences'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -504,7 +504,7 @@ def update_conference_with_http_info(account_id, conference_id, update_conferenc fail ArgumentError, "Missing the required parameter 'update_conference' when calling ConferencesApi.update_conference" end # resource path - local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'conferenceId' + '}', CGI.escape(conference_id.to_s)) + local_var_path = '/accounts/{accountId}/conferences/{conferenceId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -584,7 +584,7 @@ def update_conference_bxml_with_http_info(account_id, conference_id, body, opts fail ArgumentError, "Missing the required parameter 'body' when calling ConferencesApi.update_conference_bxml" end # resource path - local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/bxml'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'conferenceId' + '}', CGI.escape(conference_id.to_s)) + local_var_path = '/accounts/{accountId}/conferences/{conferenceId}/bxml'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{conferenceId}', CGI.escape(conference_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -670,7 +670,7 @@ def update_conference_member_with_http_info(account_id, conference_id, member_id fail ArgumentError, "Missing the required parameter 'update_conference_member' when calling ConferencesApi.update_conference_member" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/endpoints_api.rb b/lib/bandwidth-sdk/api/endpoints_api.rb index e669fe2d..7b5759c1 100644 --- a/lib/bandwidth-sdk/api/endpoints_api.rb +++ b/lib/bandwidth-sdk/api/endpoints_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_endpoint_with_http_info(account_id, body, opts = {}) fail ArgumentError, "Missing the required parameter 'body' when calling EndpointsApi.create_endpoint" end # resource path - local_var_path = '/accounts/{accountId}/endpoints'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/endpoints'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -123,7 +123,7 @@ def delete_endpoint_with_http_info(account_id, endpoint_id, opts = {}) fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling EndpointsApi.delete_endpoint" end # resource path - local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'endpointId' + '}', CGI.escape(endpoint_id.to_s)) + local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -192,7 +192,7 @@ def get_endpoint_with_http_info(account_id, endpoint_id, opts = {}) fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling EndpointsApi.get_endpoint" end # resource path - local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'endpointId' + '}', CGI.escape(endpoint_id.to_s)) + local_var_path = '/accounts/{accountId}/endpoints/{endpointId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -271,7 +271,7 @@ def list_endpoints_with_http_info(account_id, opts = {}) end # resource path - local_var_path = '/accounts/{accountId}/endpoints'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/endpoints'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -350,7 +350,7 @@ def update_endpoint_bxml_with_http_info(account_id, endpoint_id, body, opts = {} fail ArgumentError, "Missing the required parameter 'body' when calling EndpointsApi.update_endpoint_bxml" end # resource path - local_var_path = '/accounts/{accountId}/endpoints/{endpointId}/bxml'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'endpointId' + '}', CGI.escape(endpoint_id.to_s)) + local_var_path = '/accounts/{accountId}/endpoints/{endpointId}/bxml'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{endpointId}', CGI.escape(endpoint_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/media_api.rb b/lib/bandwidth-sdk/api/media_api.rb index 89c5de8f..133cb66b 100644 --- a/lib/bandwidth-sdk/api/media_api.rb +++ b/lib/bandwidth-sdk/api/media_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def delete_media_with_http_info(account_id, media_id, opts = {}) fail ArgumentError, "Missing the required parameter 'media_id' when calling MediaApi.delete_media" end # resource path - local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'mediaId' + '}', CGI.escape(media_id.to_s)) + local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -118,7 +118,7 @@ def get_media_with_http_info(account_id, media_id, opts = {}) fail ArgumentError, "Missing the required parameter 'media_id' when calling MediaApi.get_media" end # resource path - local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'mediaId' + '}', CGI.escape(media_id.to_s)) + local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -183,7 +183,7 @@ def list_media_with_http_info(account_id, opts = {}) fail ArgumentError, "Missing the required parameter 'account_id' when calling MediaApi.list_media" end # resource path - local_var_path = '/users/{accountId}/media'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/users/{accountId}/media'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -263,7 +263,7 @@ def upload_media_with_http_info(account_id, media_id, body, opts = {}) fail ArgumentError, "Missing the required parameter 'body' when calling MediaApi.upload_media" end # resource path - local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'mediaId' + '}', CGI.escape(media_id.to_s)) + local_var_path = '/users/{accountId}/media/{mediaId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{mediaId}', CGI.escape(media_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/messages_api.rb b/lib/bandwidth-sdk/api/messages_api.rb index 7bbaa670..eacc0e94 100644 --- a/lib/bandwidth-sdk/api/messages_api.rb +++ b/lib/bandwidth-sdk/api/messages_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_message_with_http_info(account_id, message_request, opts = {}) fail ArgumentError, "Missing the required parameter 'message_request' when calling MessagesApi.create_message" end # resource path - local_var_path = '/users/{accountId}/messages'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/users/{accountId}/messages'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -171,7 +171,7 @@ def list_messages_with_http_info(account_id, opts = {}) fail ArgumentError, "Missing the required parameter 'account_id' when calling MessagesApi.list_messages" end # resource path - local_var_path = '/users/{accountId}/messages'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/users/{accountId}/messages'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/mfa_api.rb b/lib/bandwidth-sdk/api/mfa_api.rb index 66049f23..bcd0eebd 100644 --- a/lib/bandwidth-sdk/api/mfa_api.rb +++ b/lib/bandwidth-sdk/api/mfa_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def generate_messaging_code_with_http_info(account_id, code_request, opts = {}) fail ArgumentError, "Missing the required parameter 'code_request' when calling MFAApi.generate_messaging_code" end # resource path - local_var_path = '/accounts/{accountId}/code/messaging'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/code/messaging'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -123,7 +123,7 @@ def generate_voice_code_with_http_info(account_id, code_request, opts = {}) fail ArgumentError, "Missing the required parameter 'code_request' when calling MFAApi.generate_voice_code" end # resource path - local_var_path = '/accounts/{accountId}/code/voice'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/code/voice'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -197,7 +197,7 @@ def verify_code_with_http_info(account_id, verify_code_request, opts = {}) fail ArgumentError, "Missing the required parameter 'verify_code_request' when calling MFAApi.verify_code" end # resource path - local_var_path = '/accounts/{accountId}/code/verify'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/code/verify'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/multi_channel_api.rb b/lib/bandwidth-sdk/api/multi_channel_api.rb index 18a0d28d..cfcdc351 100644 --- a/lib/bandwidth-sdk/api/multi_channel_api.rb +++ b/lib/bandwidth-sdk/api/multi_channel_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_multi_channel_message_with_http_info(account_id, multi_channel_messag fail ArgumentError, "Missing the required parameter 'multi_channel_message_request' when calling MultiChannelApi.create_multi_channel_message" end # resource path - local_var_path = '/users/{accountId}/messages/multiChannel'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/users/{accountId}/messages/multiChannel'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/phone_number_lookup_api.rb b/lib/bandwidth-sdk/api/phone_number_lookup_api.rb index a633c1e3..52fb1cbd 100644 --- a/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +++ b/lib/bandwidth-sdk/api/phone_number_lookup_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_async_bulk_lookup_with_http_info(account_id, async_lookup_request, op fail ArgumentError, "Missing the required parameter 'async_lookup_request' when calling PhoneNumberLookupApi.create_async_bulk_lookup" end # resource path - local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -123,7 +123,7 @@ def create_sync_lookup_with_http_info(account_id, sync_lookup_request, opts = {} fail ArgumentError, "Missing the required parameter 'sync_lookup_request' when calling PhoneNumberLookupApi.create_sync_lookup" end # resource path - local_var_path = '/accounts/{accountId}/phoneNumberLookup'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumberLookup'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -197,7 +197,7 @@ def get_async_bulk_lookup_with_http_info(account_id, request_id, opts = {}) fail ArgumentError, "Missing the required parameter 'request_id' when calling PhoneNumberLookupApi.get_async_bulk_lookup" end # resource path - local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'requestId' + '}', CGI.escape(request_id.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{requestId}', CGI.escape(request_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/recordings_api.rb b/lib/bandwidth-sdk/api/recordings_api.rb index 1c7eb8b4..73331162 100644 --- a/lib/bandwidth-sdk/api/recordings_api.rb +++ b/lib/bandwidth-sdk/api/recordings_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -55,7 +55,7 @@ def delete_recording_with_http_info(account_id, call_id, recording_id, opts = {} fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -130,7 +130,7 @@ def delete_recording_media_with_http_info(account_id, call_id, recording_id, opt fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording_media" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -205,7 +205,7 @@ def delete_recording_transcription_with_http_info(account_id, call_id, recording fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.delete_recording_transcription" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -280,7 +280,7 @@ def download_call_recording_with_http_info(account_id, call_id, recording_id, op fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.download_call_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -355,7 +355,7 @@ def get_call_recording_with_http_info(account_id, call_id, recording_id, opts = fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.get_call_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -430,7 +430,7 @@ def get_recording_transcription_with_http_info(account_id, call_id, recording_id fail ArgumentError, "Missing the required parameter 'recording_id' when calling RecordingsApi.get_recording_transcription" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -501,7 +501,7 @@ def list_account_call_recordings_with_http_info(account_id, opts = {}) fail ArgumentError, "Missing the required parameter 'account_id' when calling RecordingsApi.list_account_call_recordings" end # resource path - local_var_path = '/accounts/{accountId}/recordings'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -574,7 +574,7 @@ def list_call_recordings_with_http_info(account_id, call_id, opts = {}) fail ArgumentError, "Missing the required parameter 'call_id' when calling RecordingsApi.list_call_recordings" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/recordings'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/recordings'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -655,7 +655,7 @@ def transcribe_call_recording_with_http_info(account_id, call_id, recording_id, fail ArgumentError, "Missing the required parameter 'transcribe_recording' when calling RecordingsApi.transcribe_call_recording" end # resource path - 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)) + 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)) # query parameters query_params = opts[:query_params] || {} @@ -735,7 +735,7 @@ def update_call_recording_state_with_http_info(account_id, call_id, update_call_ fail ArgumentError, "Missing the required parameter 'update_call_recording' when calling RecordingsApi.update_call_recording_state" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/recording'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/recording'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/statistics_api.rb b/lib/bandwidth-sdk/api/statistics_api.rb index 8bd59fe7..f841444a 100644 --- a/lib/bandwidth-sdk/api/statistics_api.rb +++ b/lib/bandwidth-sdk/api/statistics_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -43,7 +43,7 @@ def get_statistics_with_http_info(account_id, opts = {}) fail ArgumentError, "Missing the required parameter 'account_id' when calling StatisticsApi.get_statistics" end # resource path - local_var_path = '/accounts/{accountId}/statistics'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/statistics'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/toll_free_verification_api.rb b/lib/bandwidth-sdk/api/toll_free_verification_api.rb index 62160ffd..70254f60 100644 --- a/lib/bandwidth-sdk/api/toll_free_verification_api.rb +++ b/lib/bandwidth-sdk/api/toll_free_verification_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -49,7 +49,7 @@ def create_webhook_subscription_with_http_info(account_id, webhook_subscription_ fail ArgumentError, "Missing the required parameter 'webhook_subscription_request_schema' when calling TollFreeVerificationApi.create_webhook_subscription" end # resource path - local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -136,7 +136,7 @@ def delete_verification_request_with_http_info(account_id, phone_number, opts = end # resource path - local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -205,7 +205,7 @@ def delete_webhook_subscription_with_http_info(account_id, id, opts = {}) fail ArgumentError, "Missing the required parameter 'id' when calling TollFreeVerificationApi.delete_webhook_subscription" end # resource path - local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s)) + local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{id}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -287,7 +287,7 @@ def get_toll_free_verification_status_with_http_info(account_id, phone_number, o end # resource path - local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -407,7 +407,7 @@ def list_webhook_subscriptions_with_http_info(account_id, opts = {}) fail ArgumentError, "Missing the required parameter 'account_id' when calling TollFreeVerificationApi.list_webhook_subscriptions" end # resource path - local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -476,7 +476,7 @@ def request_toll_free_verification_with_http_info(account_id, verification_reque fail ArgumentError, "Missing the required parameter 'verification_request' when calling TollFreeVerificationApi.request_toll_free_verification" end # resource path - local_var_path = '/accounts/{accountId}/tollFreeVerification'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)) + local_var_path = '/accounts/{accountId}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -569,7 +569,7 @@ def update_toll_free_verification_request_with_http_info(account_id, phone_numbe fail ArgumentError, "Missing the required parameter 'tfv_submission_wrapper' when calling TollFreeVerificationApi.update_toll_free_verification_request" end # resource path - local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'phoneNumber' + '}', CGI.escape(phone_number.to_s)) + local_var_path = '/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{phoneNumber}', CGI.escape(phone_number.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -649,7 +649,7 @@ def update_webhook_subscription_with_http_info(account_id, id, webhook_subscript fail ArgumentError, "Missing the required parameter 'webhook_subscription_request_schema' when calling TollFreeVerificationApi.update_webhook_subscription" end # resource path - local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s)) + local_var_path = '/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{id}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api/transcriptions_api.rb b/lib/bandwidth-sdk/api/transcriptions_api.rb index a0cf25ee..99c79076 100644 --- a/lib/bandwidth-sdk/api/transcriptions_api.rb +++ b/lib/bandwidth-sdk/api/transcriptions_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end @@ -55,7 +55,7 @@ def delete_real_time_transcription_with_http_info(account_id, call_id, transcrip fail ArgumentError, "Missing the required parameter 'transcription_id' when calling TranscriptionsApi.delete_real_time_transcription" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)).sub('{' + 'transcriptionId' + '}', CGI.escape(transcription_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{transcriptionId}', CGI.escape(transcription_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -130,7 +130,7 @@ def get_real_time_transcription_with_http_info(account_id, call_id, transcriptio fail ArgumentError, "Missing the required parameter 'transcription_id' when calling TranscriptionsApi.get_real_time_transcription" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)).sub('{' + 'transcriptionId' + '}', CGI.escape(transcription_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)).sub('{transcriptionId}', CGI.escape(transcription_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -199,7 +199,7 @@ def list_real_time_transcriptions_with_http_info(account_id, call_id, opts = {}) fail ArgumentError, "Missing the required parameter 'call_id' when calling TranscriptionsApi.list_real_time_transcriptions" end # resource path - local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s)) + local_var_path = '/accounts/{accountId}/calls/{callId}/transcriptions'.sub('{accountId}', CGI.escape(account_id.to_s)).sub('{callId}', CGI.escape(call_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/lib/bandwidth-sdk/api_client.rb b/lib/bandwidth-sdk/api_client.rb index 601b6120..789e4942 100644 --- a/lib/bandwidth-sdk/api_client.rb +++ b/lib/bandwidth-sdk/api_client.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/api_error.rb b/lib/bandwidth-sdk/api_error.rb index 9738f360..770e0288 100644 --- a/lib/bandwidth-sdk/api_error.rb +++ b/lib/bandwidth-sdk/api_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/api_model_base.rb b/lib/bandwidth-sdk/api_model_base.rb index fe11aac8..32d4a3a3 100644 --- a/lib/bandwidth-sdk/api_model_base.rb +++ b/lib/bandwidth-sdk/api_model_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/configuration.rb b/lib/bandwidth-sdk/configuration.rb index 751eda9a..c91120aa 100644 --- a/lib/bandwidth-sdk/configuration.rb +++ b/lib/bandwidth-sdk/configuration.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/account_statistics.rb b/lib/bandwidth-sdk/models/account_statistics.rb index a3f1aeb5..b5832869 100644 --- a/lib/bandwidth-sdk/models/account_statistics.rb +++ b/lib/bandwidth-sdk/models/account_statistics.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/additional_denial_reason.rb b/lib/bandwidth-sdk/models/additional_denial_reason.rb index 8c73287b..9f83fede 100644 --- a/lib/bandwidth-sdk/models/additional_denial_reason.rb +++ b/lib/bandwidth-sdk/models/additional_denial_reason.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/address.rb b/lib/bandwidth-sdk/models/address.rb index 5c7c4f6d..46eadbe4 100644 --- a/lib/bandwidth-sdk/models/address.rb +++ b/lib/bandwidth-sdk/models/address.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/answer_callback.rb b/lib/bandwidth-sdk/models/answer_callback.rb index 181f6cb2..c0276225 100644 --- a/lib/bandwidth-sdk/models/answer_callback.rb +++ b/lib/bandwidth-sdk/models/answer_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/async_lookup_request.rb b/lib/bandwidth-sdk/models/async_lookup_request.rb index bd389196..bc9dbe4d 100644 --- a/lib/bandwidth-sdk/models/async_lookup_request.rb +++ b/lib/bandwidth-sdk/models/async_lookup_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/blocked_webhook.rb b/lib/bandwidth-sdk/models/blocked_webhook.rb index 32875b4b..4543a9f0 100644 --- a/lib/bandwidth-sdk/models/blocked_webhook.rb +++ b/lib/bandwidth-sdk/models/blocked_webhook.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/bridge_complete_callback.rb b/lib/bandwidth-sdk/models/bridge_complete_callback.rb index c5a9ae19..57f737ba 100644 --- a/lib/bandwidth-sdk/models/bridge_complete_callback.rb +++ b/lib/bandwidth-sdk/models/bridge_complete_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb b/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb index f38e105f..d8bcd24a 100644 --- a/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +++ b/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/brtc_error.rb b/lib/bandwidth-sdk/models/brtc_error.rb index 3160799e..95b821af 100644 --- a/lib/bandwidth-sdk/models/brtc_error.rb +++ b/lib/bandwidth-sdk/models/brtc_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/brtc_error_response.rb b/lib/bandwidth-sdk/models/brtc_error_response.rb index 62d1ba35..edbb5fee 100644 --- a/lib/bandwidth-sdk/models/brtc_error_response.rb +++ b/lib/bandwidth-sdk/models/brtc_error_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/brtc_error_source.rb b/lib/bandwidth-sdk/models/brtc_error_source.rb index 1b3d3a18..26c5898d 100644 --- a/lib/bandwidth-sdk/models/brtc_error_source.rb +++ b/lib/bandwidth-sdk/models/brtc_error_source.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/brtc_link.rb b/lib/bandwidth-sdk/models/brtc_link.rb index 95e957b9..781ed54e 100644 --- a/lib/bandwidth-sdk/models/brtc_link.rb +++ b/lib/bandwidth-sdk/models/brtc_link.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/business_entity_type_enum.rb b/lib/bandwidth-sdk/models/business_entity_type_enum.rb index 1c91beff..3d146d5f 100644 --- a/lib/bandwidth-sdk/models/business_entity_type_enum.rb +++ b/lib/bandwidth-sdk/models/business_entity_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/business_registration_type_enum.rb b/lib/bandwidth-sdk/models/business_registration_type_enum.rb index b983852a..f8f70627 100644 --- a/lib/bandwidth-sdk/models/business_registration_type_enum.rb +++ b/lib/bandwidth-sdk/models/business_registration_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_direction_enum.rb b/lib/bandwidth-sdk/models/call_direction_enum.rb index 6b5071ed..09c42dac 100644 --- a/lib/bandwidth-sdk/models/call_direction_enum.rb +++ b/lib/bandwidth-sdk/models/call_direction_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_recording_metadata.rb b/lib/bandwidth-sdk/models/call_recording_metadata.rb index 7107c398..866c13c8 100644 --- a/lib/bandwidth-sdk/models/call_recording_metadata.rb +++ b/lib/bandwidth-sdk/models/call_recording_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_state.rb b/lib/bandwidth-sdk/models/call_state.rb index 1b79604c..3bdf4608 100644 --- a/lib/bandwidth-sdk/models/call_state.rb +++ b/lib/bandwidth-sdk/models/call_state.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_state_enum.rb b/lib/bandwidth-sdk/models/call_state_enum.rb index d1767cdc..7e710b39 100644 --- a/lib/bandwidth-sdk/models/call_state_enum.rb +++ b/lib/bandwidth-sdk/models/call_state_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_transcription.rb b/lib/bandwidth-sdk/models/call_transcription.rb index 7152acaa..b4635e47 100644 --- a/lib/bandwidth-sdk/models/call_transcription.rb +++ b/lib/bandwidth-sdk/models/call_transcription.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb b/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb index f0c67647..8c5881fc 100644 --- a/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +++ b/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_transcription_metadata.rb b/lib/bandwidth-sdk/models/call_transcription_metadata.rb index 4f6753ec..e6f68488 100644 --- a/lib/bandwidth-sdk/models/call_transcription_metadata.rb +++ b/lib/bandwidth-sdk/models/call_transcription_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_transcription_response.rb b/lib/bandwidth-sdk/models/call_transcription_response.rb index 81b0ada3..97214c23 100644 --- a/lib/bandwidth-sdk/models/call_transcription_response.rb +++ b/lib/bandwidth-sdk/models/call_transcription_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/call_transcription_track_enum.rb b/lib/bandwidth-sdk/models/call_transcription_track_enum.rb index c8b0e51d..25925e42 100644 --- a/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +++ b/lib/bandwidth-sdk/models/call_transcription_track_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/callback.rb b/lib/bandwidth-sdk/models/callback.rb index fec0367d..cfb1be70 100644 --- a/lib/bandwidth-sdk/models/callback.rb +++ b/lib/bandwidth-sdk/models/callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/callback_method_enum.rb b/lib/bandwidth-sdk/models/callback_method_enum.rb index 51bbba44..62207266 100644 --- a/lib/bandwidth-sdk/models/callback_method_enum.rb +++ b/lib/bandwidth-sdk/models/callback_method_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/card_width_enum.rb b/lib/bandwidth-sdk/models/card_width_enum.rb index caacb64b..98bf20fa 100644 --- a/lib/bandwidth-sdk/models/card_width_enum.rb +++ b/lib/bandwidth-sdk/models/card_width_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/code_request.rb b/lib/bandwidth-sdk/models/code_request.rb index d97ce1fc..4fa2b58c 100644 --- a/lib/bandwidth-sdk/models/code_request.rb +++ b/lib/bandwidth-sdk/models/code_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb b/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb index 9a4cf8e4..6853b16a 100644 --- a/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +++ b/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference.rb b/lib/bandwidth-sdk/models/conference.rb index 66672b7e..08dc5a31 100644 --- a/lib/bandwidth-sdk/models/conference.rb +++ b/lib/bandwidth-sdk/models/conference.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_completed_callback.rb b/lib/bandwidth-sdk/models/conference_completed_callback.rb index 0f01dec1..d5451915 100644 --- a/lib/bandwidth-sdk/models/conference_completed_callback.rb +++ b/lib/bandwidth-sdk/models/conference_completed_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_created_callback.rb b/lib/bandwidth-sdk/models/conference_created_callback.rb index 673119ea..97f8c819 100644 --- a/lib/bandwidth-sdk/models/conference_created_callback.rb +++ b/lib/bandwidth-sdk/models/conference_created_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_member.rb b/lib/bandwidth-sdk/models/conference_member.rb index f4c44b2a..5cee27ea 100644 --- a/lib/bandwidth-sdk/models/conference_member.rb +++ b/lib/bandwidth-sdk/models/conference_member.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_member_exit_callback.rb b/lib/bandwidth-sdk/models/conference_member_exit_callback.rb index 83770410..b8336b49 100644 --- a/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +++ b/lib/bandwidth-sdk/models/conference_member_exit_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_member_join_callback.rb b/lib/bandwidth-sdk/models/conference_member_join_callback.rb index 2220cdbd..f2dcf6bd 100644 --- a/lib/bandwidth-sdk/models/conference_member_join_callback.rb +++ b/lib/bandwidth-sdk/models/conference_member_join_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_recording_available_callback.rb b/lib/bandwidth-sdk/models/conference_recording_available_callback.rb index b7e3dcbc..50868927 100644 --- a/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +++ b/lib/bandwidth-sdk/models/conference_recording_available_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_recording_metadata.rb b/lib/bandwidth-sdk/models/conference_recording_metadata.rb index cfe850ac..9fc25205 100644 --- a/lib/bandwidth-sdk/models/conference_recording_metadata.rb +++ b/lib/bandwidth-sdk/models/conference_recording_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_redirect_callback.rb b/lib/bandwidth-sdk/models/conference_redirect_callback.rb index 3ce09403..f8fa9e21 100644 --- a/lib/bandwidth-sdk/models/conference_redirect_callback.rb +++ b/lib/bandwidth-sdk/models/conference_redirect_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/conference_state_enum.rb b/lib/bandwidth-sdk/models/conference_state_enum.rb index 5f11882e..a7f3a66b 100644 --- a/lib/bandwidth-sdk/models/conference_state_enum.rb +++ b/lib/bandwidth-sdk/models/conference_state_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/contact.rb b/lib/bandwidth-sdk/models/contact.rb index 48271bd2..71bfd59b 100644 --- a/lib/bandwidth-sdk/models/contact.rb +++ b/lib/bandwidth-sdk/models/contact.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb b/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb index 0860e9f2..eaf88280 100644 --- a/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +++ b/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb b/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb index ff1e8961..f644e659 100644 --- a/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +++ b/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_call.rb b/lib/bandwidth-sdk/models/create_call.rb index 7ca92027..0454ec4b 100644 --- a/lib/bandwidth-sdk/models/create_call.rb +++ b/lib/bandwidth-sdk/models/create_call.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_call_response.rb b/lib/bandwidth-sdk/models/create_call_response.rb index d2fe06c1..590eb55f 100644 --- a/lib/bandwidth-sdk/models/create_call_response.rb +++ b/lib/bandwidth-sdk/models/create_call_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_endpoint_request_base.rb b/lib/bandwidth-sdk/models/create_endpoint_request_base.rb index 55ba4815..57042eac 100644 --- a/lib/bandwidth-sdk/models/create_endpoint_request_base.rb +++ b/lib/bandwidth-sdk/models/create_endpoint_request_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_endpoint_response.rb b/lib/bandwidth-sdk/models/create_endpoint_response.rb index 2eed1b00..2aefb9e2 100644 --- a/lib/bandwidth-sdk/models/create_endpoint_response.rb +++ b/lib/bandwidth-sdk/models/create_endpoint_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_endpoint_response_data.rb b/lib/bandwidth-sdk/models/create_endpoint_response_data.rb index a095f465..2a7ae44e 100644 --- a/lib/bandwidth-sdk/models/create_endpoint_response_data.rb +++ b/lib/bandwidth-sdk/models/create_endpoint_response_data.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_message_request_error.rb b/lib/bandwidth-sdk/models/create_message_request_error.rb index 03c8fb46..c91cad2f 100644 --- a/lib/bandwidth-sdk/models/create_message_request_error.rb +++ b/lib/bandwidth-sdk/models/create_message_request_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb b/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb index 5787f125..ad6fb1c0 100644 --- a/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +++ b/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_sync_lookup_response.rb b/lib/bandwidth-sdk/models/create_sync_lookup_response.rb index c6f7b0d6..16acf3a1 100644 --- a/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +++ b/lib/bandwidth-sdk/models/create_sync_lookup_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb b/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb index bd3a8465..b931849b 100644 --- a/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +++ b/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb b/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb index d405b090..4e8d567e 100644 --- a/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb +++ b/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/deactivation_event_enum.rb b/lib/bandwidth-sdk/models/deactivation_event_enum.rb index 2569f83c..c1f4d8b7 100644 --- a/lib/bandwidth-sdk/models/deactivation_event_enum.rb +++ b/lib/bandwidth-sdk/models/deactivation_event_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/device.rb b/lib/bandwidth-sdk/models/device.rb index 6d90e2e1..4b8ed18b 100644 --- a/lib/bandwidth-sdk/models/device.rb +++ b/lib/bandwidth-sdk/models/device.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/device_status_enum.rb b/lib/bandwidth-sdk/models/device_status_enum.rb index 6ed7b323..e48bff79 100644 --- a/lib/bandwidth-sdk/models/device_status_enum.rb +++ b/lib/bandwidth-sdk/models/device_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/disconnect_callback.rb b/lib/bandwidth-sdk/models/disconnect_callback.rb index 13394047..ed7a6e9b 100644 --- a/lib/bandwidth-sdk/models/disconnect_callback.rb +++ b/lib/bandwidth-sdk/models/disconnect_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/diversion.rb b/lib/bandwidth-sdk/models/diversion.rb index a4c3ea1b..17627ae7 100644 --- a/lib/bandwidth-sdk/models/diversion.rb +++ b/lib/bandwidth-sdk/models/diversion.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/dtmf_callback.rb b/lib/bandwidth-sdk/models/dtmf_callback.rb index 24af28a7..7f051326 100644 --- a/lib/bandwidth-sdk/models/dtmf_callback.rb +++ b/lib/bandwidth-sdk/models/dtmf_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint.rb b/lib/bandwidth-sdk/models/endpoint.rb index f1e09036..a546570d 100644 --- a/lib/bandwidth-sdk/models/endpoint.rb +++ b/lib/bandwidth-sdk/models/endpoint.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_direction_enum.rb b/lib/bandwidth-sdk/models/endpoint_direction_enum.rb index a47c7226..88dd587f 100644 --- a/lib/bandwidth-sdk/models/endpoint_direction_enum.rb +++ b/lib/bandwidth-sdk/models/endpoint_direction_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_event.rb b/lib/bandwidth-sdk/models/endpoint_event.rb index b5dca8f1..3cfc6e0d 100644 --- a/lib/bandwidth-sdk/models/endpoint_event.rb +++ b/lib/bandwidth-sdk/models/endpoint_event.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb b/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb index ccb0036c..70af1568 100644 --- a/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb +++ b/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_response.rb b/lib/bandwidth-sdk/models/endpoint_response.rb index 5497783a..942f8d47 100644 --- a/lib/bandwidth-sdk/models/endpoint_response.rb +++ b/lib/bandwidth-sdk/models/endpoint_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_status_enum.rb b/lib/bandwidth-sdk/models/endpoint_status_enum.rb index 0f935de0..608e531f 100644 --- a/lib/bandwidth-sdk/models/endpoint_status_enum.rb +++ b/lib/bandwidth-sdk/models/endpoint_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoint_type_enum.rb b/lib/bandwidth-sdk/models/endpoint_type_enum.rb index e88f0ee1..21cb3e93 100644 --- a/lib/bandwidth-sdk/models/endpoint_type_enum.rb +++ b/lib/bandwidth-sdk/models/endpoint_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/endpoints.rb b/lib/bandwidth-sdk/models/endpoints.rb index 02ef5be5..dfb8b20f 100644 --- a/lib/bandwidth-sdk/models/endpoints.rb +++ b/lib/bandwidth-sdk/models/endpoints.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/error_object.rb b/lib/bandwidth-sdk/models/error_object.rb index fadca5e3..79d8f848 100644 --- a/lib/bandwidth-sdk/models/error_object.rb +++ b/lib/bandwidth-sdk/models/error_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/error_source.rb b/lib/bandwidth-sdk/models/error_source.rb index 15566749..7fefc15a 100644 --- a/lib/bandwidth-sdk/models/error_source.rb +++ b/lib/bandwidth-sdk/models/error_source.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/failure_webhook.rb b/lib/bandwidth-sdk/models/failure_webhook.rb index 6f78e04b..7a3b3ec7 100644 --- a/lib/bandwidth-sdk/models/failure_webhook.rb +++ b/lib/bandwidth-sdk/models/failure_webhook.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/field_error.rb b/lib/bandwidth-sdk/models/field_error.rb index 9e9c09c8..64c5b578 100644 --- a/lib/bandwidth-sdk/models/field_error.rb +++ b/lib/bandwidth-sdk/models/field_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/file_format_enum.rb b/lib/bandwidth-sdk/models/file_format_enum.rb index d56d2ea6..699a334f 100644 --- a/lib/bandwidth-sdk/models/file_format_enum.rb +++ b/lib/bandwidth-sdk/models/file_format_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/gather_callback.rb b/lib/bandwidth-sdk/models/gather_callback.rb index 1da0e118..d7b458b9 100644 --- a/lib/bandwidth-sdk/models/gather_callback.rb +++ b/lib/bandwidth-sdk/models/gather_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb b/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb index 2fb43065..fa03a5f4 100644 --- a/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +++ b/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb b/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb index 7c72dc25..95e86ef9 100644 --- a/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +++ b/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb b/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb index 2deaa9ec..8bd17f9b 100644 --- a/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +++ b/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/inbound_callback.rb b/lib/bandwidth-sdk/models/inbound_callback.rb index 3134bf18..e9115b02 100644 --- a/lib/bandwidth-sdk/models/inbound_callback.rb +++ b/lib/bandwidth-sdk/models/inbound_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/inbound_callback_message.rb b/lib/bandwidth-sdk/models/inbound_callback_message.rb index cd3af0ad..9dae4746 100644 --- a/lib/bandwidth-sdk/models/inbound_callback_message.rb +++ b/lib/bandwidth-sdk/models/inbound_callback_message.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb b/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb index a5f749ce..7a99c263 100644 --- a/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +++ b/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/initiate_callback.rb b/lib/bandwidth-sdk/models/initiate_callback.rb index 7c5aef42..c1f0db17 100644 --- a/lib/bandwidth-sdk/models/initiate_callback.rb +++ b/lib/bandwidth-sdk/models/initiate_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb b/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb index 79d29383..0365ed96 100644 --- a/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb +++ b/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/line_type_enum.rb b/lib/bandwidth-sdk/models/line_type_enum.rb index bb7e31b7..5ab03e0f 100644 --- a/lib/bandwidth-sdk/models/line_type_enum.rb +++ b/lib/bandwidth-sdk/models/line_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/link.rb b/lib/bandwidth-sdk/models/link.rb index 6de73728..0866cdc1 100644 --- a/lib/bandwidth-sdk/models/link.rb +++ b/lib/bandwidth-sdk/models/link.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/link_schema.rb b/lib/bandwidth-sdk/models/link_schema.rb index 256639cc..24443e10 100644 --- a/lib/bandwidth-sdk/models/link_schema.rb +++ b/lib/bandwidth-sdk/models/link_schema.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/links_object.rb b/lib/bandwidth-sdk/models/links_object.rb index 16e11dfa..ace82131 100644 --- a/lib/bandwidth-sdk/models/links_object.rb +++ b/lib/bandwidth-sdk/models/links_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/list_endpoints_response.rb b/lib/bandwidth-sdk/models/list_endpoints_response.rb index 17759b5c..13774b04 100644 --- a/lib/bandwidth-sdk/models/list_endpoints_response.rb +++ b/lib/bandwidth-sdk/models/list_endpoints_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/list_message_direction_enum.rb b/lib/bandwidth-sdk/models/list_message_direction_enum.rb index ca2dd890..193757c1 100644 --- a/lib/bandwidth-sdk/models/list_message_direction_enum.rb +++ b/lib/bandwidth-sdk/models/list_message_direction_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/list_message_item.rb b/lib/bandwidth-sdk/models/list_message_item.rb index 29d0b52d..f97997d3 100644 --- a/lib/bandwidth-sdk/models/list_message_item.rb +++ b/lib/bandwidth-sdk/models/list_message_item.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/lookup_error_response.rb b/lib/bandwidth-sdk/models/lookup_error_response.rb index bf555240..0314e27d 100644 --- a/lib/bandwidth-sdk/models/lookup_error_response.rb +++ b/lib/bandwidth-sdk/models/lookup_error_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/lookup_error_schema.rb b/lib/bandwidth-sdk/models/lookup_error_schema.rb index 217ff67d..66fe90fb 100644 --- a/lib/bandwidth-sdk/models/lookup_error_schema.rb +++ b/lib/bandwidth-sdk/models/lookup_error_schema.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb b/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb index b0cb9730..a0802f17 100644 --- a/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +++ b/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/lookup_result.rb b/lib/bandwidth-sdk/models/lookup_result.rb index 3d2e01fd..ff5c717d 100644 --- a/lib/bandwidth-sdk/models/lookup_result.rb +++ b/lib/bandwidth-sdk/models/lookup_result.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb b/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb index e9b88153..5d89b6f9 100644 --- a/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +++ b/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/machine_detection_configuration.rb b/lib/bandwidth-sdk/models/machine_detection_configuration.rb index 93eeae8a..5b7a3d53 100644 --- a/lib/bandwidth-sdk/models/machine_detection_configuration.rb +++ b/lib/bandwidth-sdk/models/machine_detection_configuration.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb b/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb index 94ef5ed1..9bc00b46 100644 --- a/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +++ b/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/machine_detection_result.rb b/lib/bandwidth-sdk/models/machine_detection_result.rb index 052ca36a..e7d5464c 100644 --- a/lib/bandwidth-sdk/models/machine_detection_result.rb +++ b/lib/bandwidth-sdk/models/machine_detection_result.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/media.rb b/lib/bandwidth-sdk/models/media.rb index 7a4158c6..e8b0b301 100644 --- a/lib/bandwidth-sdk/models/media.rb +++ b/lib/bandwidth-sdk/models/media.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/message.rb b/lib/bandwidth-sdk/models/message.rb index 5444f2fe..7b0a6a89 100644 --- a/lib/bandwidth-sdk/models/message.rb +++ b/lib/bandwidth-sdk/models/message.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/message_direction_enum.rb b/lib/bandwidth-sdk/models/message_direction_enum.rb index d9ec797d..6774ec5a 100644 --- a/lib/bandwidth-sdk/models/message_direction_enum.rb +++ b/lib/bandwidth-sdk/models/message_direction_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/message_request.rb b/lib/bandwidth-sdk/models/message_request.rb index 68b6173c..c4c3c859 100644 --- a/lib/bandwidth-sdk/models/message_request.rb +++ b/lib/bandwidth-sdk/models/message_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/message_status_enum.rb b/lib/bandwidth-sdk/models/message_status_enum.rb index 40906cf3..08c6757b 100644 --- a/lib/bandwidth-sdk/models/message_status_enum.rb +++ b/lib/bandwidth-sdk/models/message_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/message_type_enum.rb b/lib/bandwidth-sdk/models/message_type_enum.rb index d7e5306d..d5fed901 100644 --- a/lib/bandwidth-sdk/models/message_type_enum.rb +++ b/lib/bandwidth-sdk/models/message_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/messages_list.rb b/lib/bandwidth-sdk/models/messages_list.rb index 1f48381a..7305d6bc 100644 --- a/lib/bandwidth-sdk/models/messages_list.rb +++ b/lib/bandwidth-sdk/models/messages_list.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/messaging_code_response.rb b/lib/bandwidth-sdk/models/messaging_code_response.rb index a2095777..5b1d7b4b 100644 --- a/lib/bandwidth-sdk/models/messaging_code_response.rb +++ b/lib/bandwidth-sdk/models/messaging_code_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/messaging_request_error.rb b/lib/bandwidth-sdk/models/messaging_request_error.rb index 081e1887..87c90ec4 100644 --- a/lib/bandwidth-sdk/models/messaging_request_error.rb +++ b/lib/bandwidth-sdk/models/messaging_request_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb b/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb index e2becb95..d3954177 100644 --- a/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +++ b/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/mfa_request_error.rb b/lib/bandwidth-sdk/models/mfa_request_error.rb index 3a97771b..d7a0108f 100644 --- a/lib/bandwidth-sdk/models/mfa_request_error.rb +++ b/lib/bandwidth-sdk/models/mfa_request_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb b/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb index ad5c1cd2..2f643776 100644 --- a/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +++ b/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/mms_message_content.rb b/lib/bandwidth-sdk/models/mms_message_content.rb index 46265feb..1a5e8633 100644 --- a/lib/bandwidth-sdk/models/mms_message_content.rb +++ b/lib/bandwidth-sdk/models/mms_message_content.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/mms_message_content_file.rb b/lib/bandwidth-sdk/models/mms_message_content_file.rb index 7656b2ed..4cd82753 100644 --- a/lib/bandwidth-sdk/models/mms_message_content_file.rb +++ b/lib/bandwidth-sdk/models/mms_message_content_file.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_action.rb b/lib/bandwidth-sdk/models/multi_channel_action.rb index 39e245a7..c6bd9da5 100644 --- a/lib/bandwidth-sdk/models/multi_channel_action.rb +++ b/lib/bandwidth-sdk/models/multi_channel_action.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb b/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb index 0a7fa197..c9c17efd 100644 --- a/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +++ b/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb index 55530e88..48ac7898 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb index e1cd1205..2d4335b9 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb index b7a8032e..325cfb59 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb index bf5a9de4..ad423808 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb index 17bd4f1a..1af509c2 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb index 76f9b410..51a211b4 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb index 361e656c..abdfc8bc 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb index 5fe11855..6dac41b8 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb index d9b2a902..55e5c007 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb index 0de052ad..005bb5ec 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb b/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb index cfcbc5e5..bb632bd8 100644 --- a/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +++ b/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_error.rb b/lib/bandwidth-sdk/models/multi_channel_error.rb index 2091505a..59ec5a03 100644 --- a/lib/bandwidth-sdk/models/multi_channel_error.rb +++ b/lib/bandwidth-sdk/models/multi_channel_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb b/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb index 706cd836..cb74c2d2 100644 --- a/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +++ b/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_message_content.rb b/lib/bandwidth-sdk/models/multi_channel_message_content.rb index 5c17f2d2..8aa3e17e 100644 --- a/lib/bandwidth-sdk/models/multi_channel_message_content.rb +++ b/lib/bandwidth-sdk/models/multi_channel_message_content.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_message_request.rb b/lib/bandwidth-sdk/models/multi_channel_message_request.rb index 59268a13..0a337211 100644 --- a/lib/bandwidth-sdk/models/multi_channel_message_request.rb +++ b/lib/bandwidth-sdk/models/multi_channel_message_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb b/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb index 47c41a93..c42cc745 100644 --- a/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +++ b/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/opt_in_workflow.rb b/lib/bandwidth-sdk/models/opt_in_workflow.rb index 33e6b608..800933df 100644 --- a/lib/bandwidth-sdk/models/opt_in_workflow.rb +++ b/lib/bandwidth-sdk/models/opt_in_workflow.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/page.rb b/lib/bandwidth-sdk/models/page.rb index eb89ea1c..3877e51e 100644 --- a/lib/bandwidth-sdk/models/page.rb +++ b/lib/bandwidth-sdk/models/page.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/page_info.rb b/lib/bandwidth-sdk/models/page_info.rb index 7da0e273..e8272c94 100644 --- a/lib/bandwidth-sdk/models/page_info.rb +++ b/lib/bandwidth-sdk/models/page_info.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/priority_enum.rb b/lib/bandwidth-sdk/models/priority_enum.rb index 541c1d53..375c138d 100644 --- a/lib/bandwidth-sdk/models/priority_enum.rb +++ b/lib/bandwidth-sdk/models/priority_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/product_type_enum.rb b/lib/bandwidth-sdk/models/product_type_enum.rb index 8fbc31c4..6e2f40ab 100644 --- a/lib/bandwidth-sdk/models/product_type_enum.rb +++ b/lib/bandwidth-sdk/models/product_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_action_base.rb b/lib/bandwidth-sdk/models/rbm_action_base.rb index 8b9cc12b..b3f9f1cb 100644 --- a/lib/bandwidth-sdk/models/rbm_action_base.rb +++ b/lib/bandwidth-sdk/models/rbm_action_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_action_dial.rb b/lib/bandwidth-sdk/models/rbm_action_dial.rb index 1b8745dd..c4f2d17e 100644 --- a/lib/bandwidth-sdk/models/rbm_action_dial.rb +++ b/lib/bandwidth-sdk/models/rbm_action_dial.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_action_open_url.rb b/lib/bandwidth-sdk/models/rbm_action_open_url.rb index 3fbebd70..1a399248 100644 --- a/lib/bandwidth-sdk/models/rbm_action_open_url.rb +++ b/lib/bandwidth-sdk/models/rbm_action_open_url.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_action_type_enum.rb b/lib/bandwidth-sdk/models/rbm_action_type_enum.rb index 2d74827e..6d3a70dc 100644 --- a/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +++ b/lib/bandwidth-sdk/models/rbm_action_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_action_view_location.rb b/lib/bandwidth-sdk/models/rbm_action_view_location.rb index 211a54b6..e89e9296 100644 --- a/lib/bandwidth-sdk/models/rbm_action_view_location.rb +++ b/lib/bandwidth-sdk/models/rbm_action_view_location.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_card_content.rb b/lib/bandwidth-sdk/models/rbm_card_content.rb index 64234a2e..d6864983 100644 --- a/lib/bandwidth-sdk/models/rbm_card_content.rb +++ b/lib/bandwidth-sdk/models/rbm_card_content.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_card_content_media.rb b/lib/bandwidth-sdk/models/rbm_card_content_media.rb index 544d3adb..96f3afa8 100644 --- a/lib/bandwidth-sdk/models/rbm_card_content_media.rb +++ b/lib/bandwidth-sdk/models/rbm_card_content_media.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_location_response.rb b/lib/bandwidth-sdk/models/rbm_location_response.rb index b246a462..054b39e3 100644 --- a/lib/bandwidth-sdk/models/rbm_location_response.rb +++ b/lib/bandwidth-sdk/models/rbm_location_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_media_height_enum.rb b/lib/bandwidth-sdk/models/rbm_media_height_enum.rb index 3830c66b..10188e75 100644 --- a/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +++ b/lib/bandwidth-sdk/models/rbm_media_height_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb b/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb index e402d3b1..7712ca15 100644 --- a/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +++ b/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_message_content_file.rb b/lib/bandwidth-sdk/models/rbm_message_content_file.rb index 50f41554..d50eb8d3 100644 --- a/lib/bandwidth-sdk/models/rbm_message_content_file.rb +++ b/lib/bandwidth-sdk/models/rbm_message_content_file.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb b/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb index 60983200..677633be 100644 --- a/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +++ b/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_message_content_text.rb b/lib/bandwidth-sdk/models/rbm_message_content_text.rb index 50650c66..fac32842 100644 --- a/lib/bandwidth-sdk/models/rbm_message_content_text.rb +++ b/lib/bandwidth-sdk/models/rbm_message_content_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_message_media.rb b/lib/bandwidth-sdk/models/rbm_message_media.rb index bb881fa1..522345ed 100644 --- a/lib/bandwidth-sdk/models/rbm_message_media.rb +++ b/lib/bandwidth-sdk/models/rbm_message_media.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_open_url_enum.rb b/lib/bandwidth-sdk/models/rbm_open_url_enum.rb index c75e156d..7d318bf8 100644 --- a/lib/bandwidth-sdk/models/rbm_open_url_enum.rb +++ b/lib/bandwidth-sdk/models/rbm_open_url_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_standalone_card.rb b/lib/bandwidth-sdk/models/rbm_standalone_card.rb index 4462b194..b64df9e0 100644 --- a/lib/bandwidth-sdk/models/rbm_standalone_card.rb +++ b/lib/bandwidth-sdk/models/rbm_standalone_card.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_suggestion_response.rb b/lib/bandwidth-sdk/models/rbm_suggestion_response.rb index dc595b7f..6a7613c8 100644 --- a/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +++ b/lib/bandwidth-sdk/models/rbm_suggestion_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/rbm_web_view_enum.rb b/lib/bandwidth-sdk/models/rbm_web_view_enum.rb index 3d69f333..671bdae5 100644 --- a/lib/bandwidth-sdk/models/rbm_web_view_enum.rb +++ b/lib/bandwidth-sdk/models/rbm_web_view_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_available_callback.rb b/lib/bandwidth-sdk/models/recording_available_callback.rb index 5ae929ff..9566a396 100644 --- a/lib/bandwidth-sdk/models/recording_available_callback.rb +++ b/lib/bandwidth-sdk/models/recording_available_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_complete_callback.rb b/lib/bandwidth-sdk/models/recording_complete_callback.rb index d2225279..c2e86204 100644 --- a/lib/bandwidth-sdk/models/recording_complete_callback.rb +++ b/lib/bandwidth-sdk/models/recording_complete_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_state_enum.rb b/lib/bandwidth-sdk/models/recording_state_enum.rb index 6c8ee8c0..0b04cd24 100644 --- a/lib/bandwidth-sdk/models/recording_state_enum.rb +++ b/lib/bandwidth-sdk/models/recording_state_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_transcription_clip.rb b/lib/bandwidth-sdk/models/recording_transcription_clip.rb index b4fd0a2c..98820a42 100644 --- a/lib/bandwidth-sdk/models/recording_transcription_clip.rb +++ b/lib/bandwidth-sdk/models/recording_transcription_clip.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_transcription_metadata.rb b/lib/bandwidth-sdk/models/recording_transcription_metadata.rb index 9236fec9..f446452b 100644 --- a/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +++ b/lib/bandwidth-sdk/models/recording_transcription_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/recording_transcriptions.rb b/lib/bandwidth-sdk/models/recording_transcriptions.rb index a3ef828b..91c3d7ac 100644 --- a/lib/bandwidth-sdk/models/recording_transcriptions.rb +++ b/lib/bandwidth-sdk/models/recording_transcriptions.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/redirect_callback.rb b/lib/bandwidth-sdk/models/redirect_callback.rb index 84ede391..e57a35c8 100644 --- a/lib/bandwidth-sdk/models/redirect_callback.rb +++ b/lib/bandwidth-sdk/models/redirect_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/redirect_method_enum.rb b/lib/bandwidth-sdk/models/redirect_method_enum.rb index 1f0361ed..052d164f 100644 --- a/lib/bandwidth-sdk/models/redirect_method_enum.rb +++ b/lib/bandwidth-sdk/models/redirect_method_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/sip_connection_metadata.rb b/lib/bandwidth-sdk/models/sip_connection_metadata.rb index 6371c51d..e220e448 100644 --- a/lib/bandwidth-sdk/models/sip_connection_metadata.rb +++ b/lib/bandwidth-sdk/models/sip_connection_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/sip_credentials.rb b/lib/bandwidth-sdk/models/sip_credentials.rb index 460b5fb6..ddbb79ce 100644 --- a/lib/bandwidth-sdk/models/sip_credentials.rb +++ b/lib/bandwidth-sdk/models/sip_credentials.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/sms_message_content.rb b/lib/bandwidth-sdk/models/sms_message_content.rb index 7098c384..83f0d63f 100644 --- a/lib/bandwidth-sdk/models/sms_message_content.rb +++ b/lib/bandwidth-sdk/models/sms_message_content.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb b/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb index 3a9ae076..6b168761 100644 --- a/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +++ b/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/status_callback.rb b/lib/bandwidth-sdk/models/status_callback.rb index 2d1a85a0..81a351eb 100644 --- a/lib/bandwidth-sdk/models/status_callback.rb +++ b/lib/bandwidth-sdk/models/status_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/status_callback_message.rb b/lib/bandwidth-sdk/models/status_callback_message.rb index 6b2c03ce..ddb75228 100644 --- a/lib/bandwidth-sdk/models/status_callback_message.rb +++ b/lib/bandwidth-sdk/models/status_callback_message.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/status_callback_type_enum.rb b/lib/bandwidth-sdk/models/status_callback_type_enum.rb index 61241dc1..39aab93a 100644 --- a/lib/bandwidth-sdk/models/status_callback_type_enum.rb +++ b/lib/bandwidth-sdk/models/status_callback_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/stir_shaken.rb b/lib/bandwidth-sdk/models/stir_shaken.rb index 3c78ae1c..6df572e7 100644 --- a/lib/bandwidth-sdk/models/stir_shaken.rb +++ b/lib/bandwidth-sdk/models/stir_shaken.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/sync_lookup_request.rb b/lib/bandwidth-sdk/models/sync_lookup_request.rb index 60b771df..005d46ec 100644 --- a/lib/bandwidth-sdk/models/sync_lookup_request.rb +++ b/lib/bandwidth-sdk/models/sync_lookup_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/telephone_number.rb b/lib/bandwidth-sdk/models/telephone_number.rb index e12cf510..04ad21d4 100644 --- a/lib/bandwidth-sdk/models/telephone_number.rb +++ b/lib/bandwidth-sdk/models/telephone_number.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_basic_authentication.rb b/lib/bandwidth-sdk/models/tfv_basic_authentication.rb index 1b0893e3..543e2eda 100644 --- a/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +++ b/lib/bandwidth-sdk/models/tfv_basic_authentication.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb b/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb index 7bc4d3da..e82fab08 100644 --- a/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +++ b/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_error.rb b/lib/bandwidth-sdk/models/tfv_error.rb index dc0d56be..0c017dda 100644 --- a/lib/bandwidth-sdk/models/tfv_error.rb +++ b/lib/bandwidth-sdk/models/tfv_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_status.rb b/lib/bandwidth-sdk/models/tfv_status.rb index 5554a5d1..79066889 100644 --- a/lib/bandwidth-sdk/models/tfv_status.rb +++ b/lib/bandwidth-sdk/models/tfv_status.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_status_enum.rb b/lib/bandwidth-sdk/models/tfv_status_enum.rb index 39a41e82..b1eea560 100644 --- a/lib/bandwidth-sdk/models/tfv_status_enum.rb +++ b/lib/bandwidth-sdk/models/tfv_status_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_submission_info.rb b/lib/bandwidth-sdk/models/tfv_submission_info.rb index b7a6d118..75be5720 100644 --- a/lib/bandwidth-sdk/models/tfv_submission_info.rb +++ b/lib/bandwidth-sdk/models/tfv_submission_info.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb b/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb index 17720fc5..2f3db18f 100644 --- a/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +++ b/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb b/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb index 0d8428c8..d9bf3b48 100644 --- a/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +++ b/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transcribe_recording.rb b/lib/bandwidth-sdk/models/transcribe_recording.rb index c2f5c232..01a83b9f 100644 --- a/lib/bandwidth-sdk/models/transcribe_recording.rb +++ b/lib/bandwidth-sdk/models/transcribe_recording.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transcription.rb b/lib/bandwidth-sdk/models/transcription.rb index f304a833..065cca07 100644 --- a/lib/bandwidth-sdk/models/transcription.rb +++ b/lib/bandwidth-sdk/models/transcription.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transcription_available_callback.rb b/lib/bandwidth-sdk/models/transcription_available_callback.rb index b85dc2ac..7fcd5427 100644 --- a/lib/bandwidth-sdk/models/transcription_available_callback.rb +++ b/lib/bandwidth-sdk/models/transcription_available_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transfer_answer_callback.rb b/lib/bandwidth-sdk/models/transfer_answer_callback.rb index 50b061b6..afed4d50 100644 --- a/lib/bandwidth-sdk/models/transfer_answer_callback.rb +++ b/lib/bandwidth-sdk/models/transfer_answer_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transfer_complete_callback.rb b/lib/bandwidth-sdk/models/transfer_complete_callback.rb index 55722353..c97b18ae 100644 --- a/lib/bandwidth-sdk/models/transfer_complete_callback.rb +++ b/lib/bandwidth-sdk/models/transfer_complete_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb b/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb index 56ef3ab8..d6a11dc5 100644 --- a/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +++ b/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/update_call.rb b/lib/bandwidth-sdk/models/update_call.rb index 360dd01c..d8d9dbdd 100644 --- a/lib/bandwidth-sdk/models/update_call.rb +++ b/lib/bandwidth-sdk/models/update_call.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/update_call_recording.rb b/lib/bandwidth-sdk/models/update_call_recording.rb index 678aa449..088bf557 100644 --- a/lib/bandwidth-sdk/models/update_call_recording.rb +++ b/lib/bandwidth-sdk/models/update_call_recording.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/update_conference.rb b/lib/bandwidth-sdk/models/update_conference.rb index e840d9a1..43e2e218 100644 --- a/lib/bandwidth-sdk/models/update_conference.rb +++ b/lib/bandwidth-sdk/models/update_conference.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/update_conference_member.rb b/lib/bandwidth-sdk/models/update_conference_member.rb index 41f62599..b7f98dcc 100644 --- a/lib/bandwidth-sdk/models/update_conference_member.rb +++ b/lib/bandwidth-sdk/models/update_conference_member.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verification_denial_webhook.rb b/lib/bandwidth-sdk/models/verification_denial_webhook.rb index e9be8e28..67f7a5a5 100644 --- a/lib/bandwidth-sdk/models/verification_denial_webhook.rb +++ b/lib/bandwidth-sdk/models/verification_denial_webhook.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verification_request.rb b/lib/bandwidth-sdk/models/verification_request.rb index 0440ab5c..ce67e407 100644 --- a/lib/bandwidth-sdk/models/verification_request.rb +++ b/lib/bandwidth-sdk/models/verification_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verification_update_request.rb b/lib/bandwidth-sdk/models/verification_update_request.rb index 4beea167..3100ded5 100644 --- a/lib/bandwidth-sdk/models/verification_update_request.rb +++ b/lib/bandwidth-sdk/models/verification_update_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verification_webhook.rb b/lib/bandwidth-sdk/models/verification_webhook.rb index ee7be6dc..5400a4a6 100644 --- a/lib/bandwidth-sdk/models/verification_webhook.rb +++ b/lib/bandwidth-sdk/models/verification_webhook.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verify_code_request.rb b/lib/bandwidth-sdk/models/verify_code_request.rb index 5ae9431c..4a3ad5e4 100644 --- a/lib/bandwidth-sdk/models/verify_code_request.rb +++ b/lib/bandwidth-sdk/models/verify_code_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/verify_code_response.rb b/lib/bandwidth-sdk/models/verify_code_response.rb index 5345056b..d1f4aad4 100644 --- a/lib/bandwidth-sdk/models/verify_code_response.rb +++ b/lib/bandwidth-sdk/models/verify_code_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/voice_api_error.rb b/lib/bandwidth-sdk/models/voice_api_error.rb index 37fc6c4c..3327852a 100644 --- a/lib/bandwidth-sdk/models/voice_api_error.rb +++ b/lib/bandwidth-sdk/models/voice_api_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/voice_code_response.rb b/lib/bandwidth-sdk/models/voice_code_response.rb index 2eb253ad..d66f858e 100644 --- a/lib/bandwidth-sdk/models/voice_code_response.rb +++ b/lib/bandwidth-sdk/models/voice_code_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscription.rb b/lib/bandwidth-sdk/models/webhook_subscription.rb index d841d8e1..387c4d39 100644 --- a/lib/bandwidth-sdk/models/webhook_subscription.rb +++ b/lib/bandwidth-sdk/models/webhook_subscription.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb b/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb index 39f2c15b..a365830c 100644 --- a/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +++ b/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscription_error.rb b/lib/bandwidth-sdk/models/webhook_subscription_error.rb index 2ad52bd4..caf85887 100644 --- a/lib/bandwidth-sdk/models/webhook_subscription_error.rb +++ b/lib/bandwidth-sdk/models/webhook_subscription_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb b/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb index e49380d3..31f9960e 100644 --- a/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +++ b/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb b/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb index 65dcd2a4..52174c90 100644 --- a/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +++ b/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb b/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb index c6a36155..755794a9 100644 --- a/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +++ b/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/lib/bandwidth-sdk/version.rb b/lib/bandwidth-sdk/version.rb index e92887e4..8ec245b4 100644 --- a/lib/bandwidth-sdk/version.rb +++ b/lib/bandwidth-sdk/version.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -Generator version: 7.17.0 +Generator version: 7.24.0 =end diff --git a/openapitools.json b/openapitools.json index f052220d..936223a5 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.17.0" + "version": "7.24.0" } } diff --git a/spec/unit/models/account_statistics_spec.rb b/spec/unit/models/account_statistics_spec.rb index 48bd3d0d..def159fc 100644 --- a/spec/unit/models/account_statistics_spec.rb +++ b/spec/unit/models/account_statistics_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(account_statistics_values.to_s).to eq('{:currentCallQueueSize=>1, :maxCallQueueSize=>100}') + expect(account_statistics_values.to_s).to eq({ :currentCallQueueSize => 1, :maxCallQueueSize => 100 }.to_s) end end diff --git a/spec/unit/models/additional_denial_reason_spec.rb b/spec/unit/models/additional_denial_reason_spec.rb index 74d9a1cc..9ad956c4 100644 --- a/spec/unit/models/additional_denial_reason_spec.rb +++ b/spec/unit/models/additional_denial_reason_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(additional_denial_reason_values.to_s).to eq('{:statusCode=>200, :reason=>"reason text", :resubmitAllowed=>true}') + expect(additional_denial_reason_values.to_s).to eq({ :statusCode => 200, :reason => 'reason text', :resubmitAllowed => true }.to_s) end end diff --git a/spec/unit/models/address_spec.rb b/spec/unit/models/address_spec.rb index 095d1973..274cfe09 100644 --- a/spec/unit/models/address_spec.rb +++ b/spec/unit/models/address_spec.rb @@ -68,7 +68,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(address_values.to_s).to eq('{:name=>"Bandwidth", :addr1=>"900 Main Campus Dr", :addr2=>"Suite 100", :city=>"Raleigh", :state=>"NC", :zip=>"27606", :url=>"https://www.bandwidth.com"}') + expect(address_values.to_s).to eq({ :name => 'Bandwidth', :addr1 => '900 Main Campus Dr', :addr2 => 'Suite 100', :city => 'Raleigh', :state => 'NC', :zip => '27606', :url => 'https://www.bandwidth.com' }.to_s) end end diff --git a/spec/unit/models/answer_callback_spec.rb b/spec/unit/models/answer_callback_spec.rb index eb81ec1b..69f84971 100644 --- a/spec/unit/models/answer_callback_spec.rb +++ b/spec/unit/models/answer_callback_spec.rb @@ -92,7 +92,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(answer_callback_values.to_s).to eq('{:eventType=>"answer", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :machineDetectionResult=>{:value=>"human", :duration=>"PT5S"}, :sipCallId=>"sip-call-id-12345"}') + expect(answer_callback_values.to_s).to eq({ :eventType => 'answer', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :machineDetectionResult => { :value => 'human', :duration => 'PT5S' }, :sipCallId => 'sip-call-id-12345' }.to_s) end end diff --git a/spec/unit/models/async_lookup_request_spec.rb b/spec/unit/models/async_lookup_request_spec.rb index a71ff605..f2305f9d 100644 --- a/spec/unit/models/async_lookup_request_spec.rb +++ b/spec/unit/models/async_lookup_request_spec.rb @@ -45,7 +45,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(async_lookup_request_values.to_s).to eq('{:phoneNumbers=>["+19195551234", "+19195554321"]}') + expect(async_lookup_request_values.to_s).to eq({ :phoneNumbers => ['+19195551234', '+19195554321'] }.to_s) end end diff --git a/spec/unit/models/blocked_webhook_spec.rb b/spec/unit/models/blocked_webhook_spec.rb index 7273d0f2..a0ba39eb 100644 --- a/spec/unit/models/blocked_webhook_spec.rb +++ b/spec/unit/models/blocked_webhook_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(blocked_webhook_values.to_s).to eq('{:accountId=>"9900000", :phoneNumber=>"+18005551234", :status=>"VERIFIED", :internalTicketNumber=>"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", :blocked=>true, :blockedReason=>"spam"}') + expect(blocked_webhook_values.to_s).to eq({ :accountId => '9900000', :phoneNumber => '+18005551234', :status => 'VERIFIED', :internalTicketNumber => 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee', :blocked => true, :blockedReason => 'spam' }.to_s) end end diff --git a/spec/unit/models/bridge_complete_callback_spec.rb b/spec/unit/models/bridge_complete_callback_spec.rb index 184440b7..c0d33bc9 100644 --- a/spec/unit/models/bridge_complete_callback_spec.rb +++ b/spec/unit/models/bridge_complete_callback_spec.rb @@ -94,7 +94,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(bridge_complete_callback_values.to_s).to eq('{:eventType=>"bridgeComplete", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :cause=>"hangup", :errorMessage=>"call rejected", :errorId=>"4642074b-7b58-478b-96e4-3a60955c6765"}') + expect(bridge_complete_callback_values.to_s).to eq({ :eventType => 'bridgeComplete', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :cause => 'hangup', :errorMessage => 'call rejected', :errorId => '4642074b-7b58-478b-96e4-3a60955c6765' }.to_s) end end diff --git a/spec/unit/models/bridge_target_complete_callback_spec.rb b/spec/unit/models/bridge_target_complete_callback_spec.rb index fc614e0b..5e4ee063 100644 --- a/spec/unit/models/bridge_target_complete_callback_spec.rb +++ b/spec/unit/models/bridge_target_complete_callback_spec.rb @@ -83,7 +83,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(bridge_target_complete_callback_values.to_s).to eq('{:eventType=>"bridgeTargetComplete", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag"}') + expect(bridge_target_complete_callback_values.to_s).to eq({ :eventType => 'bridgeTargetComplete', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/brtc_error_response_spec.rb b/spec/unit/models/brtc_error_response_spec.rb index f68a8586..3f25cd91 100644 --- a/spec/unit/models/brtc_error_response_spec.rb +++ b/spec/unit/models/brtc_error_response_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(brtc_error_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:foo=>"bar"}, :errors=>[{:type=>"validation", :description=>"bad input"}]}') + expect(brtc_error_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :foo => 'bar' }, :errors => [{ :type => 'validation', :description => 'bad input' }] }.to_s) end end diff --git a/spec/unit/models/brtc_error_source_spec.rb b/spec/unit/models/brtc_error_source_spec.rb index be1b11b7..0ea44ae9 100644 --- a/spec/unit/models/brtc_error_source_spec.rb +++ b/spec/unit/models/brtc_error_source_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(brtc_error_source_values.to_s).to eq('{:parameter=>"limit", :field=>"phoneNumber", :header=>"Authorization", :reference=>"/accounts/9900000"}') + expect(brtc_error_source_values.to_s).to eq({ :parameter => 'limit', :field => 'phoneNumber', :header => 'Authorization', :reference => '/accounts/9900000' }.to_s) end end diff --git a/spec/unit/models/brtc_error_spec.rb b/spec/unit/models/brtc_error_spec.rb index a864f8a0..7f528871 100644 --- a/spec/unit/models/brtc_error_spec.rb +++ b/spec/unit/models/brtc_error_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(brtc_error_values.to_s).to eq('{:id=>"abc-123", :type=>"validation", :description=>"bad input", :code=>"E1001", :source=>{:field=>"phoneNumber"}}') + expect(brtc_error_values.to_s).to eq({ :id => 'abc-123', :type => 'validation', :description => 'bad input', :code => 'E1001', :source => { :field => 'phoneNumber' } }.to_s) end end diff --git a/spec/unit/models/brtc_link_spec.rb b/spec/unit/models/brtc_link_spec.rb index 7b4eaae6..135aab53 100644 --- a/spec/unit/models/brtc_link_spec.rb +++ b/spec/unit/models/brtc_link_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(brtc_link_values.to_s).to eq('{:href=>"https://example.com", :rel=>"self", :method=>"GET"}') + expect(brtc_link_values.to_s).to eq({ :href => 'https://example.com', :rel => 'self', :method => 'GET' }.to_s) end end diff --git a/spec/unit/models/call_recording_metadata_spec.rb b/spec/unit/models/call_recording_metadata_spec.rb index be942ce5..7feaac97 100644 --- a/spec/unit/models/call_recording_metadata_spec.rb +++ b/spec/unit/models/call_recording_metadata_spec.rb @@ -98,7 +98,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(call_recording_metadata_values.to_s).to eq('{:applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :accountId=>"9900000", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :recordingId=>"r-fbe05094-9fd2b71d-a4e6-4f43-8c3e-5b04b1d8a4b4", :to=>"+19195551234", :from=>"+19195554321", :transferCallerId=>"+19195555678", :transferTo=>"+19195558765", :duration=>"PT13.67S", :direction=>"inbound", :channels=>1, :startTime=>"2022-06-16T13:15:07.160Z", :endTime=>"2022-06-16T13:15:20.830Z", :fileFormat=>"wav", :status=>"complete", :mediaUrl=>"https://example.com/recording.wav", :transcription=>{:id=>"t-123", :url=>"https://example.com/t-123", :status=>"available", :completed_time=>"2022-06-16T13:15:31.000Z"}, :recordingName=>"sample-recording"}') + expect(call_recording_metadata_values.to_s).to eq({ :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :accountId => '9900000', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :recordingId => 'r-fbe05094-9fd2b71d-a4e6-4f43-8c3e-5b04b1d8a4b4', :to => '+19195551234', :from => '+19195554321', :transferCallerId => '+19195555678', :transferTo => '+19195558765', :duration => 'PT13.67S', :direction => 'inbound', :channels => 1, :startTime => '2022-06-16T13:15:07.160Z', :endTime => '2022-06-16T13:15:20.830Z', :fileFormat => 'wav', :status => 'complete', :mediaUrl => 'https://example.com/recording.wav', :transcription => { :id => 't-123', :url => 'https://example.com/t-123', :status => 'available', :completed_time => '2022-06-16T13:15:31.000Z' }, :recordingName => 'sample-recording' }.to_s) end end diff --git a/spec/unit/models/call_state_spec.rb b/spec/unit/models/call_state_spec.rb index 1a9ef9f9..eebbc5d5 100644 --- a/spec/unit/models/call_state_spec.rb +++ b/spec/unit/models/call_state_spec.rb @@ -117,7 +117,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(call_state_values.to_s).to eq('{:applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :accountId=>"9900000", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :to=>"+19195551234", :from=>"+19195554321", :direction=>"inbound", :state=>"disconnected", :stirShaken=>{:verstat=>"TN-Verification-Passed", :attestationIndicator=>"A", :originatingId=>"abc123"}, :identity=>"eyJhbGciOiJFUzI1NiI", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :endTime=>"2022-06-16T13:15:18.314Z", :disconnectCause=>"hangup", :errorMessage=>nil, :errorId=>nil, :lastUpdate=>"2022-06-16T13:15:18.314Z"}') + expect(call_state_values.to_s).to eq({ :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :accountId => '9900000', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :to => '+19195551234', :from => '+19195554321', :direction => 'inbound', :state => 'disconnected', :stirShaken => { :verstat => 'TN-Verification-Passed', :attestationIndicator => 'A', :originatingId => 'abc123' }, :identity => 'eyJhbGciOiJFUzI1NiI', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :endTime => '2022-06-16T13:15:18.314Z', :disconnectCause => 'hangup', :errorMessage => nil, :errorId => nil, :lastUpdate => '2022-06-16T13:15:18.314Z' }.to_s) end end diff --git a/spec/unit/models/call_transcription_metadata_spec.rb b/spec/unit/models/call_transcription_metadata_spec.rb index cc58f5cc..5c736e7b 100644 --- a/spec/unit/models/call_transcription_metadata_spec.rb +++ b/spec/unit/models/call_transcription_metadata_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(call_transcription_metadata_values.to_s).to eq('{:transcriptionId=>"t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :transcriptionName=>"live-transcription", :transcriptionUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-1/transcriptions/t-1"}') + expect(call_transcription_metadata_values.to_s).to eq({ :transcriptionId => 't-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :transcriptionName => 'live-transcription', :transcriptionUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-1/transcriptions/t-1' }.to_s) end end diff --git a/spec/unit/models/call_transcription_response_spec.rb b/spec/unit/models/call_transcription_response_spec.rb index b152fde4..9a1f5664 100644 --- a/spec/unit/models/call_transcription_response_spec.rb +++ b/spec/unit/models/call_transcription_response_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(call_transcription_response_values.to_s).to eq('{:accountId=>"9900000", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :transcriptionId=>"t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :tracks=>[{:detectedLanguage=>"en-US", :track=>"inbound", :transcript=>"Hello", :confidence=>0.9}]}') + expect(call_transcription_response_values.to_s).to eq({ :accountId => '9900000', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :transcriptionId => 't-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :tracks => [{ :detectedLanguage => 'en-US', :track => 'inbound', :transcript => 'Hello', :confidence => 0.9 }] }.to_s) end end diff --git a/spec/unit/models/call_transcription_spec.rb b/spec/unit/models/call_transcription_spec.rb index 50ac444d..c5343185 100644 --- a/spec/unit/models/call_transcription_spec.rb +++ b/spec/unit/models/call_transcription_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(call_transcription_values.to_s).to eq('{:detectedLanguage=>"en-US", :track=>"inbound", :transcript=>"Hello world", :confidence=>0.9}') + expect(call_transcription_values.to_s).to eq({ :detectedLanguage => 'en-US', :track => 'inbound', :transcript => 'Hello world', :confidence => 0.9 }.to_s) end end diff --git a/spec/unit/models/code_request_spec.rb b/spec/unit/models/code_request_spec.rb index e679ba72..d9914377 100644 --- a/spec/unit/models/code_request_spec.rb +++ b/spec/unit/models/code_request_spec.rb @@ -64,7 +64,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(code_request_values.to_s).to eq('{:to=>"+19195551234", :from=>"+19195554321", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :scope=>"2FA", :message=>"Your verification code is {CODE}", :digits=>8}') + expect(code_request_values.to_s).to eq({ :to => '+19195551234', :from => '+19195554321', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :scope => '2FA', :message => 'Your verification code is {CODE}', :digits => 8 }.to_s) end end diff --git a/spec/unit/models/conference_completed_callback_spec.rb b/spec/unit/models/conference_completed_callback_spec.rb index 9a878b7a..e768bf7d 100644 --- a/spec/unit/models/conference_completed_callback_spec.rb +++ b/spec/unit/models/conference_completed_callback_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_completed_callback_values.to_s).to eq('{:eventType=>"conferenceCompleted", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :tag=>"custom tag"}') + expect(conference_completed_callback_values.to_s).to eq({ :eventType => 'conferenceCompleted', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/conference_created_callback_spec.rb b/spec/unit/models/conference_created_callback_spec.rb index 25ae611e..f76ff6ea 100644 --- a/spec/unit/models/conference_created_callback_spec.rb +++ b/spec/unit/models/conference_created_callback_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_created_callback_values.to_s).to eq('{:eventType=>"conferenceCreated", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :tag=>"custom tag"}') + expect(conference_created_callback_values.to_s).to eq({ :eventType => 'conferenceCreated', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/conference_member_exit_callback_spec.rb b/spec/unit/models/conference_member_exit_callback_spec.rb index a6865e92..fd081457 100644 --- a/spec/unit/models/conference_member_exit_callback_spec.rb +++ b/spec/unit/models/conference_member_exit_callback_spec.rb @@ -66,7 +66,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_member_exit_callback_values.to_s).to eq('{:eventType=>"conferenceMemberExit", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :from=>"+19195554321", :to=>"+19195551234", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :tag=>"custom tag"}') + expect(conference_member_exit_callback_values.to_s).to eq({ :eventType => 'conferenceMemberExit', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :from => '+19195554321', :to => '+19195551234', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/conference_member_join_callback_spec.rb b/spec/unit/models/conference_member_join_callback_spec.rb index c2b31623..f5b48e86 100644 --- a/spec/unit/models/conference_member_join_callback_spec.rb +++ b/spec/unit/models/conference_member_join_callback_spec.rb @@ -66,7 +66,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_member_join_callback_values.to_s).to eq('{:eventType=>"conferenceMemberJoin", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :from=>"+19195554321", :to=>"+19195551234", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :tag=>"custom tag"}') + expect(conference_member_join_callback_values.to_s).to eq({ :eventType => 'conferenceMemberJoin', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :from => '+19195554321', :to => '+19195551234', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/conference_member_spec.rb b/spec/unit/models/conference_member_spec.rb index 8a18eb4f..a8e8603c 100644 --- a/spec/unit/models/conference_member_spec.rb +++ b/spec/unit/models/conference_member_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_member_values.to_s).to eq('{:callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :conferenceId=>"conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c", :memberUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-1/members/c-1", :mute=>false, :hold=>false, :callIdsToCoach=>["c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d86"]}') + expect(conference_member_values.to_s).to eq({ :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :conferenceId => 'conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c', :memberUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-1/members/c-1', :mute => false, :hold => false, :callIdsToCoach => ['c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d86'] }.to_s) end end diff --git a/spec/unit/models/conference_recording_available_callback_spec.rb b/spec/unit/models/conference_recording_available_callback_spec.rb index 769a1934..6bdaa0cb 100644 --- a/spec/unit/models/conference_recording_available_callback_spec.rb +++ b/spec/unit/models/conference_recording_available_callback_spec.rb @@ -85,7 +85,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_recording_available_callback_values.to_s).to eq('{:eventType=>"conferenceRecordingAvailable", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :accountId=>"9900000", :recordingId=>"r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :channels=>1, :startTime=>"2022-06-16T13:15:07.160Z", :endTime=>"2022-06-16T13:17:07.160Z", :duration=>"PT2M", :fileFormat=>"wav", :mediaUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media", :tag=>"custom tag", :status=>"complete"}') + expect(conference_recording_available_callback_values.to_s).to eq({ :eventType => 'conferenceRecordingAvailable', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :accountId => '9900000', :recordingId => 'r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :channels => 1, :startTime => '2022-06-16T13:15:07.160Z', :endTime => '2022-06-16T13:17:07.160Z', :duration => 'PT2M', :fileFormat => 'wav', :mediaUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media', :tag => 'custom tag', :status => 'complete' }.to_s) end end diff --git a/spec/unit/models/conference_recording_metadata_spec.rb b/spec/unit/models/conference_recording_metadata_spec.rb index df6923d2..7d3d8b9b 100644 --- a/spec/unit/models/conference_recording_metadata_spec.rb +++ b/spec/unit/models/conference_recording_metadata_spec.rb @@ -76,7 +76,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_recording_metadata_values.to_s).to eq('{:accountId=>"9900000", :conferenceId=>"conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c", :name=>"weekly-stand-up", :recordingId=>"r-fbe05094-9fd2b71d-a4e6-4f43-8c3e-5b04b1d8a4b4", :duration=>"PT13.67S", :channels=>1, :startTime=>"2022-06-16T13:15:07.160Z", :endTime=>"2022-06-16T13:15:20.830Z", :fileFormat=>"wav", :status=>"complete", :mediaUrl=>"https://example.com/recording.wav", :recordingName=>"sample-recording"}') + expect(conference_recording_metadata_values.to_s).to eq({ :accountId => '9900000', :conferenceId => 'conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c', :name => 'weekly-stand-up', :recordingId => 'r-fbe05094-9fd2b71d-a4e6-4f43-8c3e-5b04b1d8a4b4', :duration => 'PT13.67S', :channels => 1, :startTime => '2022-06-16T13:15:07.160Z', :endTime => '2022-06-16T13:15:20.830Z', :fileFormat => 'wav', :status => 'complete', :mediaUrl => 'https://example.com/recording.wav', :recordingName => 'sample-recording' }.to_s) end end diff --git a/spec/unit/models/conference_redirect_callback_spec.rb b/spec/unit/models/conference_redirect_callback_spec.rb index 1dd7ef73..a559fcbd 100644 --- a/spec/unit/models/conference_redirect_callback_spec.rb +++ b/spec/unit/models/conference_redirect_callback_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_redirect_callback_values.to_s).to eq('{:eventType=>"conferenceRedirect", :eventTime=>"2022-06-16T13:15:07.160Z", :conferenceId=>"conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :name=>"my-conference-name", :tag=>"custom tag"}') + expect(conference_redirect_callback_values.to_s).to eq({ :eventType => 'conferenceRedirect', :eventTime => '2022-06-16T13:15:07.160Z', :conferenceId => 'conf-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :name => 'my-conference-name', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/conference_spec.rb b/spec/unit/models/conference_spec.rb index 6a41d7ff..c0c8c350 100644 --- a/spec/unit/models/conference_spec.rb +++ b/spec/unit/models/conference_spec.rb @@ -70,7 +70,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(conference_values.to_s).to eq('{:id=>"conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c", :name=>"weekly-stand-up", :createdTime=>"2022-06-16T13:15:07.160Z", :completedTime=>"2022-06-16T13:45:07.160Z", :conferenceEventUrl=>"https://example.com/conference-event", :conferenceEventMethod=>"POST", :tag=>"custom tag", :activeMembers=>[{:callId=>"c-1", :conferenceId=>"conf-1"}]}') + expect(conference_values.to_s).to eq({ :id => 'conf-fe23a767-a75a5b77-23e8-4b5b-a973-1eb967d7d75c', :name => 'weekly-stand-up', :createdTime => '2022-06-16T13:15:07.160Z', :completedTime => '2022-06-16T13:45:07.160Z', :conferenceEventUrl => 'https://example.com/conference-event', :conferenceEventMethod => 'POST', :tag => 'custom tag', :activeMembers => [{ :callId => 'c-1', :conferenceId => 'conf-1' }] }.to_s) end end diff --git a/spec/unit/models/contact_spec.rb b/spec/unit/models/contact_spec.rb index 457ef608..67902ffb 100644 --- a/spec/unit/models/contact_spec.rb +++ b/spec/unit/models/contact_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(contact_values.to_s).to eq('{:firstName=>"John", :lastName=>"Doe", :email=>"john.doe@example.com", :phoneNumber=>"+19195551234"}') + expect(contact_values.to_s).to eq({ :firstName => 'John', :lastName => 'Doe', :email => 'john.doe@example.com', :phoneNumber => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb b/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb index 73b49503..9cabc1fc 100644 --- a/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb +++ b/spec/unit/models/create_async_bulk_lookup_response_data_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_async_bulk_lookup_response_data_values.to_s).to eq('{:requestId=>"00b97c1b-d8b4-4a32-ad14-7d09ce04acb6", :status=>"IN_PROGRESS"}') + expect(create_async_bulk_lookup_response_data_values.to_s).to eq({ :requestId => '00b97c1b-d8b4-4a32-ad14-7d09ce04acb6', :status => 'IN_PROGRESS' }.to_s) end end diff --git a/spec/unit/models/create_async_bulk_lookup_response_spec.rb b/spec/unit/models/create_async_bulk_lookup_response_spec.rb index 2e5f74f9..70dae611 100644 --- a/spec/unit/models/create_async_bulk_lookup_response_spec.rb +++ b/spec/unit/models/create_async_bulk_lookup_response_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_async_bulk_lookup_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:requestId=>"00b97c1b-d8b4-4a32-ad14-7d09ce04acb6", :status=>"IN_PROGRESS"}, :errors=>[{:code=>"E1", :description=>"bad", :type=>"validation"}]}') + expect(create_async_bulk_lookup_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :requestId => '00b97c1b-d8b4-4a32-ad14-7d09ce04acb6', :status => 'IN_PROGRESS' }, :errors => [{ :code => 'E1', :description => 'bad', :type => 'validation' }] }.to_s) end end diff --git a/spec/unit/models/create_call_response_spec.rb b/spec/unit/models/create_call_response_spec.rb index a6a7ea30..c9b02efe 100644 --- a/spec/unit/models/create_call_response_spec.rb +++ b/spec/unit/models/create_call_response_spec.rb @@ -124,7 +124,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_call_response_values.to_s).to eq('{:applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :accountId=>"9900000", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :to=>"+19195551234", :from=>"+19195554321", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-1", :callTimeout=>30.0, :callbackTimeout=>15.0, :tag=>"custom tag", :answerMethod=>"POST", :answerUrl=>"https://example.com/answer", :answerFallbackMethod=>"POST", :answerFallbackUrl=>"https://example.com/answer-fallback", :disconnectMethod=>"POST", :disconnectUrl=>"https://example.com/disconnect", :username=>"user", :password=>"pass", :fallbackUsername=>"fallback_user", :fallbackPassword=>"fallback_pass", :priority=>5}') + expect(create_call_response_values.to_s).to eq({ :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :accountId => '9900000', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :to => '+19195551234', :from => '+19195554321', :enqueuedTime => '2022-06-16T13:15:07.160Z', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-1', :callTimeout => 30.0, :callbackTimeout => 15.0, :tag => 'custom tag', :answerMethod => 'POST', :answerUrl => 'https://example.com/answer', :answerFallbackMethod => 'POST', :answerFallbackUrl => 'https://example.com/answer-fallback', :disconnectMethod => 'POST', :disconnectUrl => 'https://example.com/disconnect', :username => 'user', :password => 'pass', :fallbackUsername => 'fallback_user', :fallbackPassword => 'fallback_pass', :priority => 5 }.to_s) end end diff --git a/spec/unit/models/create_call_spec.rb b/spec/unit/models/create_call_spec.rb index aeb77d50..2c562186 100644 --- a/spec/unit/models/create_call_spec.rb +++ b/spec/unit/models/create_call_spec.rb @@ -123,7 +123,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_call_values.to_s).to eq('{:to=>"+19195551234", :from=>"+19195554321", :privacy=>false, :displayName=>"Caller Name", :uui=>"eyJ0eXAiOiJKV1Q;encoding=jwt", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :answerUrl=>"https://example.com/answer", :answerMethod=>"POST", :username=>"user", :password=>"pass", :answerFallbackUrl=>"https://example.com/answer-fallback", :answerFallbackMethod=>"POST", :fallbackUsername=>"fallback_user", :fallbackPassword=>"fallback_pass", :disconnectUrl=>"https://example.com/disconnect", :disconnectMethod=>"POST", :callTimeout=>30, :callbackTimeout=>15, :machineDetection=>{}, :priority=>5, :tag=>"custom tag"}') + expect(create_call_values.to_s).to eq({ :to => '+19195551234', :from => '+19195554321', :privacy => false, :displayName => 'Caller Name', :uui => 'eyJ0eXAiOiJKV1Q;encoding=jwt', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :answerUrl => 'https://example.com/answer', :answerMethod => 'POST', :username => 'user', :password => 'pass', :answerFallbackUrl => 'https://example.com/answer-fallback', :answerFallbackMethod => 'POST', :fallbackUsername => 'fallback_user', :fallbackPassword => 'fallback_pass', :disconnectUrl => 'https://example.com/disconnect', :disconnectMethod => 'POST', :callTimeout => 30, :callbackTimeout => 15, :machineDetection => {}, :priority => 5, :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/create_endpoint_request_base_spec.rb b/spec/unit/models/create_endpoint_request_base_spec.rb index c3829200..bcd2b15c 100644 --- a/spec/unit/models/create_endpoint_request_base_spec.rb +++ b/spec/unit/models/create_endpoint_request_base_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_endpoint_request_base_values.to_s).to eq('{:type=>"WEBRTC", :direction=>"BIDIRECTIONAL", :eventCallbackUrl=>"https://example.com/event-callback", :eventFallbackUrl=>"https://example.com/event-fallback", :tag=>"custom tag"}') + expect(create_endpoint_request_base_values.to_s).to eq({ :type => 'WEBRTC', :direction => 'BIDIRECTIONAL', :eventCallbackUrl => 'https://example.com/event-callback', :eventFallbackUrl => 'https://example.com/event-fallback', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/create_endpoint_response_data_spec.rb b/spec/unit/models/create_endpoint_response_data_spec.rb index f7adcbb2..deb983e5 100644 --- a/spec/unit/models/create_endpoint_response_data_spec.rb +++ b/spec/unit/models/create_endpoint_response_data_spec.rb @@ -71,7 +71,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_endpoint_response_data_values.to_s).to eq('{:endpointId=>"ep-abc-123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:07.160Z", :expirationTimestamp=>"2022-06-17T13:15:07.160Z", :tag=>"custom tag", :devices=>[{:deviceId=>"d-1", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:08.000Z"}], :token=>"eyJhbGciOiJIUzI1NiJ9"}') + expect(create_endpoint_response_data_values.to_s).to eq({ :endpointId => 'ep-abc-123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:07.160Z', :expirationTimestamp => '2022-06-17T13:15:07.160Z', :tag => 'custom tag', :devices => [{ :deviceId => 'd-1', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:08.000Z' }], :token => 'eyJhbGciOiJIUzI1NiJ9' }.to_s) end end diff --git a/spec/unit/models/create_endpoint_response_spec.rb b/spec/unit/models/create_endpoint_response_spec.rb index a827d7a3..16d9c89b 100644 --- a/spec/unit/models/create_endpoint_response_spec.rb +++ b/spec/unit/models/create_endpoint_response_spec.rb @@ -67,7 +67,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_endpoint_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:endpointId=>"ep-abc-123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:07.160Z", :expirationTimestamp=>"2022-06-17T13:15:07.160Z", :token=>"eyJhbGciOiJIUzI1NiJ9"}, :errors=>[{:type=>"validation", :description=>"bad input"}]}') + expect(create_endpoint_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :endpointId => 'ep-abc-123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:07.160Z', :expirationTimestamp => '2022-06-17T13:15:07.160Z', :token => 'eyJhbGciOiJIUzI1NiJ9' }, :errors => [{ :type => 'validation', :description => 'bad input' }] }.to_s) end end diff --git a/spec/unit/models/create_message_request_error_spec.rb b/spec/unit/models/create_message_request_error_spec.rb index 3d92c38b..8a0b4781 100644 --- a/spec/unit/models/create_message_request_error_spec.rb +++ b/spec/unit/models/create_message_request_error_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_message_request_error_values.to_s).to eq('{:type=>"request-validation", :description=>"Your request could not be processed.", :fieldErrors=>[{:fieldName=>"to", :description=>"must be present"}]}') + expect(create_message_request_error_values.to_s).to eq({ :type => 'request-validation', :description => 'Your request could not be processed.', :fieldErrors => [{ :fieldName => 'to', :description => 'must be present' }] }.to_s) end end diff --git a/spec/unit/models/create_multi_channel_message_response_spec.rb b/spec/unit/models/create_multi_channel_message_response_spec.rb index 989f5969..ea1b5be6 100644 --- a/spec/unit/models/create_multi_channel_message_response_spec.rb +++ b/spec/unit/models/create_multi_channel_message_response_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_multi_channel_message_response_values.to_s).to eq('{:links=>[{:rel=>"self", :href=>"https://example.com"}], :errors=>[{:type=>"validation", :description=>"bad input", :source=>{}}]}') + expect(create_multi_channel_message_response_values.to_s).to eq({ :links => [{ :rel => 'self', :href => 'https://example.com' }], :errors => [{ :type => 'validation', :description => 'bad input', :source => {} }] }.to_s) end end diff --git a/spec/unit/models/create_sync_lookup_response_data_spec.rb b/spec/unit/models/create_sync_lookup_response_data_spec.rb index 289eafa1..a55ec23f 100644 --- a/spec/unit/models/create_sync_lookup_response_data_spec.rb +++ b/spec/unit/models/create_sync_lookup_response_data_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_sync_lookup_response_data_values.to_s).to eq('{:requestId=>"00b97c1b-d8b4-4a32-ad14-7d09ce04acb6", :status=>"COMPLETE", :results=>[{:phoneNumber=>"+19195551234"}]}') + expect(create_sync_lookup_response_data_values.to_s).to eq({ :requestId => '00b97c1b-d8b4-4a32-ad14-7d09ce04acb6', :status => 'COMPLETE', :results => [{ :phoneNumber => '+19195551234' }] }.to_s) end end diff --git a/spec/unit/models/create_sync_lookup_response_spec.rb b/spec/unit/models/create_sync_lookup_response_spec.rb index 5da32fcc..7232c878 100644 --- a/spec/unit/models/create_sync_lookup_response_spec.rb +++ b/spec/unit/models/create_sync_lookup_response_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_sync_lookup_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:requestId=>"00b97c1b-d8b4-4a32-ad14-7d09ce04acb6", :status=>"COMPLETE"}, :errors=>[{:code=>"E1", :description=>"bad", :type=>"validation"}]}') + expect(create_sync_lookup_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :requestId => '00b97c1b-d8b4-4a32-ad14-7d09ce04acb6', :status => 'COMPLETE' }, :errors => [{ :code => 'E1', :description => 'bad', :type => 'validation' }] }.to_s) end end diff --git a/spec/unit/models/create_web_rtc_connection_request_spec.rb b/spec/unit/models/create_web_rtc_connection_request_spec.rb index cb03ee40..d9d8e5ab 100644 --- a/spec/unit/models/create_web_rtc_connection_request_spec.rb +++ b/spec/unit/models/create_web_rtc_connection_request_spec.rb @@ -61,7 +61,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(create_web_rtc_connection_request_values.to_s).to eq('{:type=>"WEBRTC", :direction=>"BIDIRECTIONAL", :eventCallbackUrl=>"https://example.com/event-callback", :eventFallbackUrl=>"https://example.com/event-fallback", :tag=>"custom tag", :connectionMetadata=>{:sessionId=>"session-1"}}') + expect(create_web_rtc_connection_request_values.to_s).to eq({ :type => 'WEBRTC', :direction => 'BIDIRECTIONAL', :eventCallbackUrl => 'https://example.com/event-callback', :eventFallbackUrl => 'https://example.com/event-fallback', :tag => 'custom tag', :connectionMetadata => { :sessionId => 'session-1' } }.to_s) end end diff --git a/spec/unit/models/device_spec.rb b/spec/unit/models/device_spec.rb index 3c9786e8..b052b724 100644 --- a/spec/unit/models/device_spec.rb +++ b/spec/unit/models/device_spec.rb @@ -56,7 +56,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(device_values.to_s).to eq('{:deviceId=>"d-abc-123", :deviceName=>"Chrome on macOS", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:07.160Z"}') + expect(device_values.to_s).to eq({ :deviceId => 'd-abc-123', :deviceName => 'Chrome on macOS', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:07.160Z' }.to_s) end end diff --git a/spec/unit/models/disconnect_callback_spec.rb b/spec/unit/models/disconnect_callback_spec.rb index bca37ccf..a39dd66a 100644 --- a/spec/unit/models/disconnect_callback_spec.rb +++ b/spec/unit/models/disconnect_callback_spec.rb @@ -103,7 +103,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(disconnect_callback_values.to_s).to eq('{:eventType=>"disconnect", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :direction=>"inbound", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :endTime=>"2022-06-16T13:16:18.126Z", :cause=>"hangup", :errorMessage=>"call rejected", :errorId=>"4642074b-7b58-478b-96e4-3a60955c6765", :tag=>"custom tag", :sipCallId=>"sip-call-id-12345", :sipResponseCode=>"486"}') + expect(disconnect_callback_values.to_s).to eq({ :eventType => 'disconnect', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :direction => 'inbound', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :endTime => '2022-06-16T13:16:18.126Z', :cause => 'hangup', :errorMessage => 'call rejected', :errorId => '4642074b-7b58-478b-96e4-3a60955c6765', :tag => 'custom tag', :sipCallId => 'sip-call-id-12345', :sipResponseCode => '486' }.to_s) end end diff --git a/spec/unit/models/diversion_spec.rb b/spec/unit/models/diversion_spec.rb index 7c636dce..a4bd17e8 100644 --- a/spec/unit/models/diversion_spec.rb +++ b/spec/unit/models/diversion_spec.rb @@ -61,7 +61,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(diversion_values.to_s).to eq('{:reason=>"unconditional", :privacy=>"off", :screen=>"no", :counter=>"2", :limit=>"5", :unknown=>"some-value", :origTo=>"+19195551234"}') + expect(diversion_values.to_s).to eq({ :reason => 'unconditional', :privacy => 'off', :screen => 'no', :counter => '2', :limit => '5', :unknown => 'some-value', :origTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/dtmf_callback_spec.rb b/spec/unit/models/dtmf_callback_spec.rb index 67fe1eca..92f39271 100644 --- a/spec/unit/models/dtmf_callback_spec.rb +++ b/spec/unit/models/dtmf_callback_spec.rb @@ -95,7 +95,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(dtmf_callback_values.to_s).to eq('{:eventType=>"dtmf", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :direction=>"inbound", :digit=>"1", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234", :tag=>"custom tag"}') + expect(dtmf_callback_values.to_s).to eq({ :eventType => 'dtmf', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :direction => 'inbound', :digit => '1', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :transferCallerId => '+19195554321', :transferTo => '+19195551234', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/endpoint_event_spec.rb b/spec/unit/models/endpoint_event_spec.rb index eb17e562..74705fe3 100644 --- a/spec/unit/models/endpoint_event_spec.rb +++ b/spec/unit/models/endpoint_event_spec.rb @@ -75,7 +75,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(endpoint_event_values.to_s).to eq('{:endpointId=>"ep-abc-123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:07.160Z", :expirationTimestamp=>"2022-06-17T13:15:07.160Z", :tag=>"custom tag", :eventTime=>"2022-06-16T13:15:08.000Z", :eventType=>"DEVICE_CONNECTED", :device=>{:deviceId=>"d-1", :status=>"CONNECTED", :creationTimestamp=>"2022-06-16T13:15:08.000Z"}}') + expect(endpoint_event_values.to_s).to eq({ :endpointId => 'ep-abc-123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:07.160Z', :expirationTimestamp => '2022-06-17T13:15:07.160Z', :tag => 'custom tag', :eventTime => '2022-06-16T13:15:08.000Z', :eventType => 'DEVICE_CONNECTED', :device => { :deviceId => 'd-1', :status => 'CONNECTED', :creationTimestamp => '2022-06-16T13:15:08.000Z' } }.to_s) end end diff --git a/spec/unit/models/endpoint_response_spec.rb b/spec/unit/models/endpoint_response_spec.rb index 5f947d27..1a266169 100644 --- a/spec/unit/models/endpoint_response_spec.rb +++ b/spec/unit/models/endpoint_response_spec.rb @@ -60,7 +60,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(endpoint_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:endpointId=>"abc123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2024-01-01T00:00:00Z", :expirationTimestamp=>"2024-01-02T00:00:00Z"}, :errors=>[{:type=>"validation", :description=>"bad input"}]}') + expect(endpoint_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :endpointId => 'abc123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2024-01-01T00:00:00Z', :expirationTimestamp => '2024-01-02T00:00:00Z' }, :errors => [{ :type => 'validation', :description => 'bad input' }] }.to_s) end end diff --git a/spec/unit/models/endpoint_spec.rb b/spec/unit/models/endpoint_spec.rb index 8ea24817..ae938c73 100644 --- a/spec/unit/models/endpoint_spec.rb +++ b/spec/unit/models/endpoint_spec.rb @@ -68,7 +68,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(endpoint_values.to_s).to eq('{:endpointId=>"endpoint-2", :type=>"WEBRTC", :status=>"DISCONNECTED", :creationTimestamp=>"2024-02-01T00:00:00Z", :expirationTimestamp=>"2024-02-02T00:00:00Z", :tag=>"custom tag", :devices=>[{:device_id=>"device-1", :device_name=>"Phone", :status=>"CONNECTED", :creation_timestamp=>"2024-02-01T00:00:00Z"}]}') + expect(endpoint_values.to_s).to eq({ :endpointId => 'endpoint-2', :type => 'WEBRTC', :status => 'DISCONNECTED', :creationTimestamp => '2024-02-01T00:00:00Z', :expirationTimestamp => '2024-02-02T00:00:00Z', :tag => 'custom tag', :devices => [{ :device_id => 'device-1', :device_name => 'Phone', :status => 'CONNECTED', :creation_timestamp => '2024-02-01T00:00:00Z' }] }.to_s) end end diff --git a/spec/unit/models/endpoints_spec.rb b/spec/unit/models/endpoints_spec.rb index 11db75e6..8dc2faae 100644 --- a/spec/unit/models/endpoints_spec.rb +++ b/spec/unit/models/endpoints_spec.rb @@ -64,7 +64,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(endpoints_values.to_s).to eq('{:endpointId=>"abc123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2024-01-01T00:00:00Z", :expirationTimestamp=>"2024-01-02T00:00:00Z", :tag=>"custom tag"}') + expect(endpoints_values.to_s).to eq({ :endpointId => 'abc123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2024-01-01T00:00:00Z', :expirationTimestamp => '2024-01-02T00:00:00Z', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/error_object_spec.rb b/spec/unit/models/error_object_spec.rb index ce6bbd35..03772e7a 100644 --- a/spec/unit/models/error_object_spec.rb +++ b/spec/unit/models/error_object_spec.rb @@ -55,7 +55,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(error_object_values.to_s).to eq('{:type=>"validation", :description=>"bad input", :source=>{:field=>"phoneNumber"}}') + expect(error_object_values.to_s).to eq({ :type => 'validation', :description => 'bad input', :source => { :field => 'phoneNumber' } }.to_s) end end diff --git a/spec/unit/models/error_source_spec.rb b/spec/unit/models/error_source_spec.rb index d8c73237..0c6a2f0b 100644 --- a/spec/unit/models/error_source_spec.rb +++ b/spec/unit/models/error_source_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(error_source_values.to_s).to eq('{:parameter=>"phoneNumber", :field=>"to", :header=>"X-Request-Id", :reference=>"/messages/123"}') + expect(error_source_values.to_s).to eq({ :parameter => 'phoneNumber', :field => 'to', :header => 'X-Request-Id', :reference => '/messages/123' }.to_s) end end diff --git a/spec/unit/models/failure_webhook_spec.rb b/spec/unit/models/failure_webhook_spec.rb index e9ab4aed..648fddf6 100644 --- a/spec/unit/models/failure_webhook_spec.rb +++ b/spec/unit/models/failure_webhook_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(failure_webhook_values.to_s).to eq('{:accountId=>"9900000", :phoneNumber=>"+18005551234", :errorCode=>"400", :errorMessage=>"bad request", :errors=>["missing field"], :internalTicketNumber=>"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"}') + expect(failure_webhook_values.to_s).to eq({ :accountId => '9900000', :phoneNumber => '+18005551234', :errorCode => '400', :errorMessage => 'bad request', :errors => ['missing field'], :internalTicketNumber => 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' }.to_s) end end diff --git a/spec/unit/models/field_error_spec.rb b/spec/unit/models/field_error_spec.rb index 8c6e16e2..05639088 100644 --- a/spec/unit/models/field_error_spec.rb +++ b/spec/unit/models/field_error_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(field_error_values.to_s).to eq('{:fieldName=>"to", :description=>"invalid phone number"}') + expect(field_error_values.to_s).to eq({ :fieldName => 'to', :description => 'invalid phone number' }.to_s) end end diff --git a/spec/unit/models/gather_callback_spec.rb b/spec/unit/models/gather_callback_spec.rb index 276754a6..d6e4f4cb 100644 --- a/spec/unit/models/gather_callback_spec.rb +++ b/spec/unit/models/gather_callback_spec.rb @@ -98,7 +98,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(gather_callback_values.to_s).to eq('{:eventType=>"gather", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :digits=>"123", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :terminatingDigit=>"#", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234", :tag=>"custom tag"}') + expect(gather_callback_values.to_s).to eq({ :eventType => 'gather', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :digits => '123', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :terminatingDigit => '#', :transferCallerId => '+19195554321', :transferTo => '+19195551234', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb b/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb index 39e0e878..f1f473df 100644 --- a/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb +++ b/spec/unit/models/get_async_bulk_lookup_response_data_spec.rb @@ -51,7 +51,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(get_async_bulk_lookup_response_data_values.to_s).to eq('{:requestId=>"abc-123", :status=>"COMPLETE", :results=>[{:phoneNumber=>"+19195551234"}]}') + expect(get_async_bulk_lookup_response_data_values.to_s).to eq({ :requestId => 'abc-123', :status => 'COMPLETE', :results => [{ :phoneNumber => '+19195551234' }] }.to_s) end end diff --git a/spec/unit/models/get_async_bulk_lookup_response_spec.rb b/spec/unit/models/get_async_bulk_lookup_response_spec.rb index 4c8a302b..07285c57 100644 --- a/spec/unit/models/get_async_bulk_lookup_response_spec.rb +++ b/spec/unit/models/get_async_bulk_lookup_response_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(get_async_bulk_lookup_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:requestId=>"abc-123"}, :errors=>[{:code=>"400", :description=>"bad request", :type=>"validation"}]}') + expect(get_async_bulk_lookup_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :requestId => 'abc-123' }, :errors => [{ :code => '400', :description => 'bad request', :type => 'validation' }] }.to_s) end end diff --git a/spec/unit/models/inbound_callback_message_spec.rb b/spec/unit/models/inbound_callback_message_spec.rb index a53ee7e9..669b1eed 100644 --- a/spec/unit/models/inbound_callback_message_spec.rb +++ b/spec/unit/models/inbound_callback_message_spec.rb @@ -88,7 +88,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(inbound_callback_message_values.to_s).to eq('{:id=>"1589228074636lm4k2je7j7jklbn2", :owner=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :time=>"2022-06-16T13:15:07.160Z", :segmentCount=>2, :direction=>"in", :to=>["+19195551234"], :from=>"+19195554321", :text=>"Hello world", :tag=>"custom tag", :media=>["https://dev.bandwidth.com/images/bandwidth-logo.png"], :priority=>"default", :channel=>"SMS"}') + expect(inbound_callback_message_values.to_s).to eq({ :id => '1589228074636lm4k2je7j7jklbn2', :owner => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :time => '2022-06-16T13:15:07.160Z', :segmentCount => 2, :direction => 'in', :to => ['+19195551234'], :from => '+19195554321', :text => 'Hello world', :tag => 'custom tag', :media => ['https://dev.bandwidth.com/images/bandwidth-logo.png'], :priority => 'default', :channel => 'SMS' }.to_s) end end diff --git a/spec/unit/models/inbound_callback_spec.rb b/spec/unit/models/inbound_callback_spec.rb index fabc33b9..c109012f 100644 --- a/spec/unit/models/inbound_callback_spec.rb +++ b/spec/unit/models/inbound_callback_spec.rb @@ -86,7 +86,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(inbound_callback_values.to_s).to eq('{:time=>"2022-06-16T13:15:07.160Z", :type=>"message-received", :to=>"+19195551234", :description=>"Incoming message received", :message=>{:id=>"1589228074636lm4k2je7j7jklbn2", :owner=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :time=>"2022-06-16T13:15:07.160Z", :segmentCount=>1, :direction=>"in", :to=>["+19195551234"], :from=>"+19195554321", :text=>"Hello world"}, :carrierName=>"Verizon"}') + expect(inbound_callback_values.to_s).to eq({ :time => '2022-06-16T13:15:07.160Z', :type => 'message-received', :to => '+19195551234', :description => 'Incoming message received', :message => { :id => '1589228074636lm4k2je7j7jklbn2', :owner => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :time => '2022-06-16T13:15:07.160Z', :segmentCount => 1, :direction => 'in', :to => ['+19195551234'], :from => '+19195554321', :text => 'Hello world' }, :carrierName => 'Verizon' }.to_s) end end diff --git a/spec/unit/models/initiate_callback_spec.rb b/spec/unit/models/initiate_callback_spec.rb index f65d0cbf..4bfc96b5 100644 --- a/spec/unit/models/initiate_callback_spec.rb +++ b/spec/unit/models/initiate_callback_spec.rb @@ -88,7 +88,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(initiate_callback_values.to_s).to eq('{:eventType=>"initiate", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :startTime=>"2022-06-16T13:15:07.160Z", :diversion=>{:reason=>"unconditional", :privacy=>"off"}, :stirShaken=>{:verstat=>"TN-Validation-Passed", :attestationIndicator=>"A", :originatingId=>"527c7d1f-22a4-4ec1-ad19-1a4ec9466cdb"}, :uui=>"aGVsbG8sIHdvcmxkIQ==;encoding=base64", :sipCallId=>"sip-call-id-12345", :sipHeaders=>{"X-Custom-Header"=>"custom-value"}}') + expect(initiate_callback_values.to_s).to eq({ :eventType => 'initiate', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :startTime => '2022-06-16T13:15:07.160Z', :diversion => { :reason => 'unconditional', :privacy => 'off' }, :stirShaken => { :verstat => 'TN-Validation-Passed', :attestationIndicator => 'A', :originatingId => '527c7d1f-22a4-4ec1-ad19-1a4ec9466cdb' }, :uui => 'aGVsbG8sIHdvcmxkIQ==;encoding=base64', :sipCallId => 'sip-call-id-12345', :sipHeaders => { 'X-Custom-Header' => 'custom-value' } }.to_s) end end diff --git a/spec/unit/models/link_schema_spec.rb b/spec/unit/models/link_schema_spec.rb index aa6c8528..25496b8e 100644 --- a/spec/unit/models/link_schema_spec.rb +++ b/spec/unit/models/link_schema_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(link_schema_values.to_s).to eq('{:href=>"https://example.com", :rel=>"self", :method=>"GET"}') + expect(link_schema_values.to_s).to eq({ :href => 'https://example.com', :rel => 'self', :method => 'GET' }.to_s) end end diff --git a/spec/unit/models/link_spec.rb b/spec/unit/models/link_spec.rb index e051891b..168dc0a8 100644 --- a/spec/unit/models/link_spec.rb +++ b/spec/unit/models/link_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(link_values.to_s).to eq('{:rel=>"next", :href=>"https://example.com/page/2"}') + expect(link_values.to_s).to eq({ :rel => 'next', :href => 'https://example.com/page/2' }.to_s) end end diff --git a/spec/unit/models/links_object_spec.rb b/spec/unit/models/links_object_spec.rb index aeb52552..16856dc6 100644 --- a/spec/unit/models/links_object_spec.rb +++ b/spec/unit/models/links_object_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(links_object_values.to_s).to eq('{:first=>"https://example.com/page/1", :next=>"https://example.com/page/2", :previous=>"https://example.com/page/0", :last=>"https://example.com/page/9"}') + expect(links_object_values.to_s).to eq({ :first => 'https://example.com/page/1', :next => 'https://example.com/page/2', :previous => 'https://example.com/page/0', :last => 'https://example.com/page/9' }.to_s) end end diff --git a/spec/unit/models/list_endpoints_response_spec.rb b/spec/unit/models/list_endpoints_response_spec.rb index da468f7d..41a2894e 100644 --- a/spec/unit/models/list_endpoints_response_spec.rb +++ b/spec/unit/models/list_endpoints_response_spec.rb @@ -64,7 +64,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(list_endpoints_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :page=>{:pageSize=>25, :totalElements=>100, :totalPages=>4, :pageNumber=>1}, :data=>[{:endpointId=>"abc123", :type=>"WEBRTC", :status=>"CONNECTED", :creationTimestamp=>"2024-01-01T00:00:00Z", :expirationTimestamp=>"2024-01-02T00:00:00Z"}], :errors=>[{:type=>"validation", :description=>"bad input"}]}') + expect(list_endpoints_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :page => { :pageSize => 25, :totalElements => 100, :totalPages => 4, :pageNumber => 1 }, :data => [{ :endpointId => 'abc123', :type => 'WEBRTC', :status => 'CONNECTED', :creationTimestamp => '2024-01-01T00:00:00Z', :expirationTimestamp => '2024-01-02T00:00:00Z' }], :errors => [{ :type => 'validation', :description => 'bad input' }] }.to_s) end end diff --git a/spec/unit/models/list_message_item_spec.rb b/spec/unit/models/list_message_item_spec.rb index ad55d2a1..abc030e5 100644 --- a/spec/unit/models/list_message_item_spec.rb +++ b/spec/unit/models/list_message_item_spec.rb @@ -122,7 +122,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(list_message_item_values.to_s).to eq('{:messageId=>"1589228074636lm4k2je7j7jklbn2", :accountId=>"9900000", :sourceTn=>"+19195554321", :destinationTn=>"+19195551234", :messageStatus=>"DELIVERED", :messageDirection=>"OUTBOUND", :messageType=>"sms", :segmentCount=>1, :errorCode=>0, :receiveTime=>"2022-06-16T13:15:07.160Z", :carrierName=>"verizon", :messageSize=>27, :messageLength=>18, :attachmentCount=>0, :recipientCount=>1, :campaignClass=>"T", :campaignId=>"CABC123", :bwLatency=>1, :carrierLatency=>2, :callingNumberCountryA3=>"USA", :calledNumberCountryA3=>"USA", :product=>"MESSAGING-V2", :location=>"loc-1"}') + expect(list_message_item_values.to_s).to eq({ :messageId => '1589228074636lm4k2je7j7jklbn2', :accountId => '9900000', :sourceTn => '+19195554321', :destinationTn => '+19195551234', :messageStatus => 'DELIVERED', :messageDirection => 'OUTBOUND', :messageType => 'sms', :segmentCount => 1, :errorCode => 0, :receiveTime => '2022-06-16T13:15:07.160Z', :carrierName => 'verizon', :messageSize => 27, :messageLength => 18, :attachmentCount => 0, :recipientCount => 1, :campaignClass => 'T', :campaignId => 'CABC123', :bwLatency => 1, :carrierLatency => 2, :callingNumberCountryA3 => 'USA', :calledNumberCountryA3 => 'USA', :product => 'MESSAGING-V2', :location => 'loc-1' }.to_s) end end diff --git a/spec/unit/models/lookup_error_response_spec.rb b/spec/unit/models/lookup_error_response_spec.rb index df8ab780..d2ce67a6 100644 --- a/spec/unit/models/lookup_error_response_spec.rb +++ b/spec/unit/models/lookup_error_response_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(lookup_error_response_values.to_s).to eq('{:links=>[{:href=>"https://example.com", :rel=>"self", :method=>"GET"}], :data=>{:foo=>"bar"}, :errors=>[{:code=>"400", :description=>"bad request", :type=>"validation"}]}') + expect(lookup_error_response_values.to_s).to eq({ :links => [{ :href => 'https://example.com', :rel => 'self', :method => 'GET' }], :data => { :foo => 'bar' }, :errors => [{ :code => '400', :description => 'bad request', :type => 'validation' }] }.to_s) end end diff --git a/spec/unit/models/lookup_error_schema_meta_spec.rb b/spec/unit/models/lookup_error_schema_meta_spec.rb index 39e531dc..2cd3c222 100644 --- a/spec/unit/models/lookup_error_schema_meta_spec.rb +++ b/spec/unit/models/lookup_error_schema_meta_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(lookup_error_schema_meta_values.to_s).to eq('{:phoneNumbers=>["+19195551234"], :message=>"invalid phone number", :code=>400}') + expect(lookup_error_schema_meta_values.to_s).to eq({ :phoneNumbers => ['+19195551234'], :message => 'invalid phone number', :code => 400 }.to_s) end end diff --git a/spec/unit/models/lookup_error_schema_spec.rb b/spec/unit/models/lookup_error_schema_spec.rb index 6a965c7a..3eb90f8d 100644 --- a/spec/unit/models/lookup_error_schema_spec.rb +++ b/spec/unit/models/lookup_error_schema_spec.rb @@ -56,7 +56,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(lookup_error_schema_values.to_s).to eq('{:code=>"404", :description=>"not found", :type=>"validation", :meta=>{:phoneNumbers=>["+19195551234"], :message=>"invalid", :code=>404}}') + expect(lookup_error_schema_values.to_s).to eq({ :code => '404', :description => 'not found', :type => 'validation', :meta => { :phoneNumbers => ['+19195551234'], :message => 'invalid', :code => 404 } }.to_s) end end diff --git a/spec/unit/models/lookup_result_spec.rb b/spec/unit/models/lookup_result_spec.rb index 6054108e..1d96bdf4 100644 --- a/spec/unit/models/lookup_result_spec.rb +++ b/spec/unit/models/lookup_result_spec.rb @@ -76,7 +76,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(lookup_result_values.to_s).to eq('{:phoneNumber=>"+19195551234", :lineType=>"MOBILE", :messagingProvider=>"Bandwidth", :voiceProvider=>"Bandwidth", :countryCodeA3=>"USA", :deactivationReporter=>"verizon", :deactivationDate=>"2024-01-01", :deactivationEvent=>"DEACTIVATED", :latestMessageDeliveryStatus=>"ACTIVE", :initialMessageDeliveryStatusDate=>"2024-01-01", :latestMessageDeliveryStatusDate=>"2024-01-02", :rcsEnabled=>true}') + expect(lookup_result_values.to_s).to eq({ :phoneNumber => '+19195551234', :lineType => 'MOBILE', :messagingProvider => 'Bandwidth', :voiceProvider => 'Bandwidth', :countryCodeA3 => 'USA', :deactivationReporter => 'verizon', :deactivationDate => '2024-01-01', :deactivationEvent => 'DEACTIVATED', :latestMessageDeliveryStatus => 'ACTIVE', :initialMessageDeliveryStatusDate => '2024-01-01', :latestMessageDeliveryStatusDate => '2024-01-02', :rcsEnabled => true }.to_s) end end diff --git a/spec/unit/models/machine_detection_complete_callback_spec.rb b/spec/unit/models/machine_detection_complete_callback_spec.rb index 492bb199..78ed52aa 100644 --- a/spec/unit/models/machine_detection_complete_callback_spec.rb +++ b/spec/unit/models/machine_detection_complete_callback_spec.rb @@ -89,7 +89,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(machine_detection_complete_callback_values.to_s).to eq('{:eventType=>"machineDetectionComplete", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :machineDetectionResult=>{:value=>"human", :duration=>"PT5S"}}') + expect(machine_detection_complete_callback_values.to_s).to eq({ :eventType => 'machineDetectionComplete', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :machineDetectionResult => { :value => 'human', :duration => 'PT5S' } }.to_s) end end diff --git a/spec/unit/models/machine_detection_configuration_spec.rb b/spec/unit/models/machine_detection_configuration_spec.rb index a7c302f8..11bbcac3 100644 --- a/spec/unit/models/machine_detection_configuration_spec.rb +++ b/spec/unit/models/machine_detection_configuration_spec.rb @@ -100,7 +100,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(machine_detection_configuration_values.to_s).to eq('{:mode=>"sync", :detectionTimeout=>20, :silenceTimeout=>12, :speechThreshold=>8, :speechEndThreshold=>4, :machineSpeechEndThreshold=>7, :delayResult=>true, :callbackUrl=>"https://example.com/callback", :callbackMethod=>"GET", :username=>"user", :password=>"pass", :fallbackUrl=>"https://example.com/fallback", :fallbackMethod=>"GET", :fallbackUsername=>"fallback-user", :fallbackPassword=>"fallback-pass"}') + expect(machine_detection_configuration_values.to_s).to eq({ :mode => 'sync', :detectionTimeout => 20, :silenceTimeout => 12, :speechThreshold => 8, :speechEndThreshold => 4, :machineSpeechEndThreshold => 7, :delayResult => true, :callbackUrl => 'https://example.com/callback', :callbackMethod => 'GET', :username => 'user', :password => 'pass', :fallbackUrl => 'https://example.com/fallback', :fallbackMethod => 'GET', :fallbackUsername => 'fallback-user', :fallbackPassword => 'fallback-pass' }.to_s) end end diff --git a/spec/unit/models/machine_detection_result_spec.rb b/spec/unit/models/machine_detection_result_spec.rb index 91dd7017..b88f06a6 100644 --- a/spec/unit/models/machine_detection_result_spec.rb +++ b/spec/unit/models/machine_detection_result_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(machine_detection_result_values.to_s).to eq('{:value=>"human", :duration=>"PT5S"}') + expect(machine_detection_result_values.to_s).to eq({ :value => 'human', :duration => 'PT5S' }.to_s) end end diff --git a/spec/unit/models/media_spec.rb b/spec/unit/models/media_spec.rb index 21785d74..cc0f310e 100644 --- a/spec/unit/models/media_spec.rb +++ b/spec/unit/models/media_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(media_values.to_s).to eq('{:content=>"https://example.com/media/1.jpg", :contentLength=>12345, :mediaName=>"image.jpg"}') + expect(media_values.to_s).to eq({ :content => 'https://example.com/media/1.jpg', :contentLength => 12345, :mediaName => 'image.jpg' }.to_s) end end diff --git a/spec/unit/models/message_request_spec.rb b/spec/unit/models/message_request_spec.rb index a60bddb6..4aee65b1 100644 --- a/spec/unit/models/message_request_spec.rb +++ b/spec/unit/models/message_request_spec.rb @@ -68,7 +68,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(message_request_values.to_s).to eq('{:applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :to=>["+19195551234"], :from=>"+19195554321", :text=>"Hello world", :media=>["https://dev.bandwidth.com/images/bandwidth-logo.png"], :tag=>"custom tag", :priority=>"default", :expiration=>"2022-06-16T13:45:07.160Z"}') + expect(message_request_values.to_s).to eq({ :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :to => ['+19195551234'], :from => '+19195554321', :text => 'Hello world', :media => ['https://dev.bandwidth.com/images/bandwidth-logo.png'], :tag => 'custom tag', :priority => 'default', :expiration => '2022-06-16T13:45:07.160Z' }.to_s) end end diff --git a/spec/unit/models/message_spec.rb b/spec/unit/models/message_spec.rb index 669e650d..a8a28192 100644 --- a/spec/unit/models/message_spec.rb +++ b/spec/unit/models/message_spec.rb @@ -79,7 +79,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(message_values.to_s).to eq('{:id=>"1589228074636lm4k2je7j7jklbn2", :owner=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :time=>"2022-06-16T13:15:07.160Z", :segmentCount=>2, :direction=>"in", :to=>["+19195551234"], :from=>"+19195554321", :media=>["https://dev.bandwidth.com/images/bandwidth-logo.png"], :text=>"Hello world", :tag=>"custom tag", :priority=>"default", :expiration=>"2022-06-16T13:45:07.160Z"}') + expect(message_values.to_s).to eq({ :id => '1589228074636lm4k2je7j7jklbn2', :owner => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :time => '2022-06-16T13:15:07.160Z', :segmentCount => 2, :direction => 'in', :to => ['+19195551234'], :from => '+19195554321', :media => ['https://dev.bandwidth.com/images/bandwidth-logo.png'], :text => 'Hello world', :tag => 'custom tag', :priority => 'default', :expiration => '2022-06-16T13:45:07.160Z' }.to_s) end end diff --git a/spec/unit/models/messages_list_spec.rb b/spec/unit/models/messages_list_spec.rb index 837ab4b3..7f928268 100644 --- a/spec/unit/models/messages_list_spec.rb +++ b/spec/unit/models/messages_list_spec.rb @@ -56,7 +56,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(messages_list_values.to_s).to eq('{:totalCount=>1, :pageInfo=>{:prevPage=>"https://example.com/prev", :nextPage=>"https://example.com/next", :prevPageToken=>"prev-token", :nextPageToken=>"next-token"}, :messages=>[{:messageId=>"abc-123", :messageLength=>10}]}') + expect(messages_list_values.to_s).to eq({ :totalCount => 1, :pageInfo => { :prevPage => 'https://example.com/prev', :nextPage => 'https://example.com/next', :prevPageToken => 'prev-token', :nextPageToken => 'next-token' }, :messages => [{ :messageId => 'abc-123', :messageLength => 10 }] }.to_s) end end diff --git a/spec/unit/models/messaging_code_response_spec.rb b/spec/unit/models/messaging_code_response_spec.rb index 40da4dae..a353b950 100644 --- a/spec/unit/models/messaging_code_response_spec.rb +++ b/spec/unit/models/messaging_code_response_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(messaging_code_response_values.to_s).to eq('{:messageId=>"1589228074636lm4k2je7j7jklbn2"}') + expect(messaging_code_response_values.to_s).to eq({ :messageId => '1589228074636lm4k2je7j7jklbn2' }.to_s) end end diff --git a/spec/unit/models/messaging_request_error_spec.rb b/spec/unit/models/messaging_request_error_spec.rb index a5a04823..42dd2b8e 100644 --- a/spec/unit/models/messaging_request_error_spec.rb +++ b/spec/unit/models/messaging_request_error_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(messaging_request_error_values.to_s).to eq('{:type=>"validation", :description=>"bad input"}') + expect(messaging_request_error_values.to_s).to eq({ :type => 'validation', :description => 'bad input' }.to_s) end end diff --git a/spec/unit/models/mfa_forbidden_request_error_spec.rb b/spec/unit/models/mfa_forbidden_request_error_spec.rb index 8073eccf..1c30d154 100644 --- a/spec/unit/models/mfa_forbidden_request_error_spec.rb +++ b/spec/unit/models/mfa_forbidden_request_error_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(mfa_forbidden_request_error_values.to_s).to eq('{:message=>"Forbidden request"}') + expect(mfa_forbidden_request_error_values.to_s).to eq({ :message => 'Forbidden request' }.to_s) end end diff --git a/spec/unit/models/mfa_request_error_spec.rb b/spec/unit/models/mfa_request_error_spec.rb index de2d376c..446cfc9c 100644 --- a/spec/unit/models/mfa_request_error_spec.rb +++ b/spec/unit/models/mfa_request_error_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(mfa_request_error_values.to_s).to eq('{:error=>"Invalid request", :requestId=>"req-abc-123"}') + expect(mfa_request_error_values.to_s).to eq({ :error => 'Invalid request', :requestId => 'req-abc-123' }.to_s) end end diff --git a/spec/unit/models/mfa_unauthorized_request_error_spec.rb b/spec/unit/models/mfa_unauthorized_request_error_spec.rb index 361f11f5..0d87e5aa 100644 --- a/spec/unit/models/mfa_unauthorized_request_error_spec.rb +++ b/spec/unit/models/mfa_unauthorized_request_error_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(mfa_unauthorized_request_error_values.to_s).to eq('{:message=>"Unauthorized"}') + expect(mfa_unauthorized_request_error_values.to_s).to eq({ :message => 'Unauthorized' }.to_s) end end diff --git a/spec/unit/models/mms_message_content_file_spec.rb b/spec/unit/models/mms_message_content_file_spec.rb index 98f359c5..d6bdc26e 100644 --- a/spec/unit/models/mms_message_content_file_spec.rb +++ b/spec/unit/models/mms_message_content_file_spec.rb @@ -45,7 +45,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(mms_message_content_file_values.to_s).to eq('{:fileUrl=>"https://example.com/image.jpg"}') + expect(mms_message_content_file_values.to_s).to eq({ :fileUrl => 'https://example.com/image.jpg' }.to_s) end end diff --git a/spec/unit/models/mms_message_content_spec.rb b/spec/unit/models/mms_message_content_spec.rb index 85fcf198..c579aa29 100644 --- a/spec/unit/models/mms_message_content_spec.rb +++ b/spec/unit/models/mms_message_content_spec.rb @@ -48,7 +48,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(mms_message_content_values.to_s).to eq('{:text=>"Hello world", :media=>[{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png"}]}') + expect(mms_message_content_values.to_s).to eq({ :text => 'Hello world', :media => [{ :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png' }] }.to_s) end end diff --git a/spec/unit/models/multi_channel_action_calendar_event_spec.rb b/spec/unit/models/multi_channel_action_calendar_event_spec.rb index f279ff8f..001201a4 100644 --- a/spec/unit/models/multi_channel_action_calendar_event_spec.rb +++ b/spec/unit/models/multi_channel_action_calendar_event_spec.rb @@ -68,7 +68,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_action_calendar_event_values.to_s).to eq('{:type=>"CREATE_CALENDAR_EVENT", :text=>"Add to calendar", :postbackData=>"calendar_postback", :title=>"Bandwidth Demo", :startTime=>"2024-06-16T13:15:07.160Z", :endTime=>"2024-06-16T14:15:07.160Z", :description=>"A demo of the Bandwidth API"}') + expect(multi_channel_action_calendar_event_values.to_s).to eq({ :type => 'CREATE_CALENDAR_EVENT', :text => 'Add to calendar', :postbackData => 'calendar_postback', :title => 'Bandwidth Demo', :startTime => '2024-06-16T13:15:07.160Z', :endTime => '2024-06-16T14:15:07.160Z', :description => 'A demo of the Bandwidth API' }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb b/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb index 234b1754..0fd5495c 100644 --- a/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_mms_object_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_mms_object_values.to_s).to eq('{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"MMS", :content=>{:text=>"Hello world"}}') + expect(multi_channel_channel_list_mms_object_values.to_s).to eq({ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'MMS', :content => { :text => 'Hello world' } }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb b/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb index 3a99f894..d84f85df 100644 --- a/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_mms_response_object_spec.rb @@ -62,7 +62,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_mms_response_object_values.to_s).to eq('{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"MMS", :content=>{:text=>"Hello world"}, :owner=>"+19195554321"}') + expect(multi_channel_channel_list_mms_response_object_values.to_s).to eq({ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'MMS', :content => { :text => 'Hello world' }, :owner => '+19195554321' }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_object_base_spec.rb b/spec/unit/models/multi_channel_channel_list_object_base_spec.rb index 97621d66..737e89e1 100644 --- a/spec/unit/models/multi_channel_channel_list_object_base_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_object_base_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_object_base_values.to_s).to eq('{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"MMS"}') + expect(multi_channel_channel_list_object_base_values.to_s).to eq({ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'MMS' }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb b/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb index cb33eb67..9e20b52d 100644 --- a/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_owner_object_spec.rb @@ -45,7 +45,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_owner_object_values.to_s).to eq('{:owner=>"+19195554321"}') + expect(multi_channel_channel_list_owner_object_values.to_s).to eq({ :owner => '+19195554321' }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb b/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb index 960fae69..dac6c248 100644 --- a/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_rbm_object_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_rbm_object_values.to_s).to eq('{:from=>"BANDWIDTH", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"RBM", :content=>{:text=>"Hello world"}}') + expect(multi_channel_channel_list_rbm_object_values.to_s).to eq({ :from => 'BANDWIDTH', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'RBM', :content => { :text => 'Hello world' } }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb b/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb index d5982ffc..b478de10 100644 --- a/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_rbm_response_object_spec.rb @@ -62,7 +62,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_rbm_response_object_values.to_s).to eq('{:from=>"BANDWIDTH", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"RBM", :content=>{:text=>"Hello world"}, :owner=>"BANDWIDTH"}') + expect(multi_channel_channel_list_rbm_response_object_values.to_s).to eq({ :from => 'BANDWIDTH', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'RBM', :content => { :text => 'Hello world' }, :owner => 'BANDWIDTH' }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb b/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb index 337e11ef..db05e898 100644 --- a/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_sms_object_spec.rb @@ -58,7 +58,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_sms_object_values.to_s).to eq('{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"SMS", :content=>{:text=>"Hello world"}}') + expect(multi_channel_channel_list_sms_object_values.to_s).to eq({ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'SMS', :content => { :text => 'Hello world' } }.to_s) end end diff --git a/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb b/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb index 4e0f0d55..56db7192 100644 --- a/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb +++ b/spec/unit/models/multi_channel_channel_list_sms_response_object_spec.rb @@ -62,7 +62,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_channel_list_sms_response_object_values.to_s).to eq('{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"SMS", :content=>{:text=>"Hello world"}, :owner=>"+19195554321"}') + expect(multi_channel_channel_list_sms_response_object_values.to_s).to eq({ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'SMS', :content => { :text => 'Hello world' }, :owner => '+19195554321' }.to_s) end end diff --git a/spec/unit/models/multi_channel_error_spec.rb b/spec/unit/models/multi_channel_error_spec.rb index 1e7786fc..bed93c65 100644 --- a/spec/unit/models/multi_channel_error_spec.rb +++ b/spec/unit/models/multi_channel_error_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_error_values.to_s).to eq('{:links=>[{:rel=>"next", :href=>"https://example.com/next"}], :data=>{:someKey=>"someValue"}, :errors=>[{:type=>"invalid", :description=>"Something went wrong", :source=>{:parameter=>"foo"}}]}') + expect(multi_channel_error_values.to_s).to eq({ :links => [{ :rel => 'next', :href => 'https://example.com/next' }], :data => { :someKey => 'someValue' }, :errors => [{ :type => 'invalid', :description => 'Something went wrong', :source => { :parameter => 'foo' } }] }.to_s) end end diff --git a/spec/unit/models/multi_channel_message_content_spec.rb b/spec/unit/models/multi_channel_message_content_spec.rb index 6ea9931e..0ee8fa8a 100644 --- a/spec/unit/models/multi_channel_message_content_spec.rb +++ b/spec/unit/models/multi_channel_message_content_spec.rb @@ -47,7 +47,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_message_content_values.to_s).to eq('{:text=>"Hello world", :media=>{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png"}}') + expect(multi_channel_message_content_values.to_s).to eq({ :text => 'Hello world', :media => { :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png' } }.to_s) end end diff --git a/spec/unit/models/multi_channel_message_request_spec.rb b/spec/unit/models/multi_channel_message_request_spec.rb index 6a1a16a3..a2b7a02d 100644 --- a/spec/unit/models/multi_channel_message_request_spec.rb +++ b/spec/unit/models/multi_channel_message_request_spec.rb @@ -69,7 +69,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_message_request_values.to_s).to eq('{:to=>"+19195551234", :channelList=>[{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"SMS", :content=>{:text=>"Hello world"}}], :tag=>"custom tag", :priority=>"default", :expiration=>"2024-06-16T13:45:07.160Z"}') + expect(multi_channel_message_request_values.to_s).to eq({ :to => '+19195551234', :channelList => [{ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'SMS', :content => { :text => 'Hello world' } }], :tag => 'custom tag', :priority => 'default', :expiration => '2024-06-16T13:45:07.160Z' }.to_s) end end diff --git a/spec/unit/models/multi_channel_message_response_data_spec.rb b/spec/unit/models/multi_channel_message_response_data_spec.rb index a8e3d20b..5d0962ad 100644 --- a/spec/unit/models/multi_channel_message_response_data_spec.rb +++ b/spec/unit/models/multi_channel_message_response_data_spec.rb @@ -83,7 +83,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(multi_channel_message_response_data_values.to_s).to eq('{:id=>"1589228074636lm4k2je7j7jklbn2", :time=>"2024-06-16T13:15:07.160Z", :direction=>"out", :to=>["+19195551234"], :channelList=>[{:from=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :channel=>"SMS", :content=>{:text=>"Hello world"}, :owner=>"+19195554321"}], :tag=>"custom tag", :priority=>"default", :expiration=>"2024-06-16T13:45:07.160Z"}') + expect(multi_channel_message_response_data_values.to_s).to eq({ :id => '1589228074636lm4k2je7j7jklbn2', :time => '2024-06-16T13:15:07.160Z', :direction => 'out', :to => ['+19195551234'], :channelList => [{ :from => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :channel => 'SMS', :content => { :text => 'Hello world' }, :owner => '+19195554321' }], :tag => 'custom tag', :priority => 'default', :expiration => '2024-06-16T13:45:07.160Z' }.to_s) end end diff --git a/spec/unit/models/opt_in_workflow_spec.rb b/spec/unit/models/opt_in_workflow_spec.rb index 2efe8fba..736ed9d6 100644 --- a/spec/unit/models/opt_in_workflow_spec.rb +++ b/spec/unit/models/opt_in_workflow_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(opt_in_workflow_values.to_s).to eq('{:description=>"A description of the opt in workflow", :imageUrls=>["https://example.com/image1.png", "https://example.com/image2.png"], :confirmationResponse=>"Thanks for opting in!"}') + expect(opt_in_workflow_values.to_s).to eq({ :description => 'A description of the opt in workflow', :imageUrls => ['https://example.com/image1.png', 'https://example.com/image2.png'], :confirmationResponse => 'Thanks for opting in!' }.to_s) end end diff --git a/spec/unit/models/page_info_spec.rb b/spec/unit/models/page_info_spec.rb index eb08b34c..4bb3a8af 100644 --- a/spec/unit/models/page_info_spec.rb +++ b/spec/unit/models/page_info_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(page_info_values.to_s).to eq('{:prevPage=>"https://example.com/prev", :nextPage=>"https://example.com/next", :prevPageToken=>"prev-token", :nextPageToken=>"next-token"}') + expect(page_info_values.to_s).to eq({ :prevPage => 'https://example.com/prev', :nextPage => 'https://example.com/next', :prevPageToken => 'prev-token', :nextPageToken => 'next-token' }.to_s) end end diff --git a/spec/unit/models/page_spec.rb b/spec/unit/models/page_spec.rb index fb0705bc..f297ff4d 100644 --- a/spec/unit/models/page_spec.rb +++ b/spec/unit/models/page_spec.rb @@ -54,7 +54,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(page_values.to_s).to eq('{:pageSize=>100, :totalElements=>250, :totalPages=>3, :pageNumber=>1}') + expect(page_values.to_s).to eq({ :pageSize => 100, :totalElements => 250, :totalPages => 3, :pageNumber => 1 }.to_s) end end diff --git a/spec/unit/models/rbm_action_base_spec.rb b/spec/unit/models/rbm_action_base_spec.rb index 7609cb91..171e91b6 100644 --- a/spec/unit/models/rbm_action_base_spec.rb +++ b/spec/unit/models/rbm_action_base_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_action_base_values.to_s).to eq('{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}') + expect(rbm_action_base_values.to_s).to eq({ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }.to_s) end end diff --git a/spec/unit/models/rbm_action_dial_spec.rb b/spec/unit/models/rbm_action_dial_spec.rb index 9b8f32b2..1c06306c 100644 --- a/spec/unit/models/rbm_action_dial_spec.rb +++ b/spec/unit/models/rbm_action_dial_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_action_dial_values.to_s).to eq('{:type=>"DIAL_PHONE", :text=>"Call us", :postbackData=>"dial_postback", :phoneNumber=>"+19195554321"}') + expect(rbm_action_dial_values.to_s).to eq({ :type => 'DIAL_PHONE', :text => 'Call us', :postbackData => 'dial_postback', :phoneNumber => '+19195554321' }.to_s) end end diff --git a/spec/unit/models/rbm_action_open_url_spec.rb b/spec/unit/models/rbm_action_open_url_spec.rb index edef569b..c4c88fea 100644 --- a/spec/unit/models/rbm_action_open_url_spec.rb +++ b/spec/unit/models/rbm_action_open_url_spec.rb @@ -63,7 +63,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_action_open_url_values.to_s).to eq('{:type=>"OPEN_URL", :text=>"Open URL", :postbackData=>"open_url_postback", :url=>"https://example.com", :application=>"BROWSER", :webviewViewMode=>"FULL"}') + expect(rbm_action_open_url_values.to_s).to eq({ :type => 'OPEN_URL', :text => 'Open URL', :postbackData => 'open_url_postback', :url => 'https://example.com', :application => 'BROWSER', :webviewViewMode => 'FULL' }.to_s) end end diff --git a/spec/unit/models/rbm_action_view_location_spec.rb b/spec/unit/models/rbm_action_view_location_spec.rb index aae37247..e61a95ea 100644 --- a/spec/unit/models/rbm_action_view_location_spec.rb +++ b/spec/unit/models/rbm_action_view_location_spec.rb @@ -64,7 +64,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_action_view_location_values.to_s).to eq('{:type=>"SHOW_LOCATION", :text=>"View location", :postbackData=>"location_postback", :latitude=>35.7796, :longitude=>-78.6382, :label=>"Bandwidth HQ"}') + expect(rbm_action_view_location_values.to_s).to eq({ :type => 'SHOW_LOCATION', :text => 'View location', :postbackData => 'location_postback', :latitude => 35.7796, :longitude => -78.6382, :label => 'Bandwidth HQ' }.to_s) end end diff --git a/spec/unit/models/rbm_card_content_media_spec.rb b/spec/unit/models/rbm_card_content_media_spec.rb index aea6a132..58ffe220 100644 --- a/spec/unit/models/rbm_card_content_media_spec.rb +++ b/spec/unit/models/rbm_card_content_media_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_card_content_media_values.to_s).to eq('{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png", :thumbnailUrl=>"https://dev.bandwidth.com/images/bandwidth-logo-thumb.png", :height=>"MEDIUM"}') + expect(rbm_card_content_media_values.to_s).to eq({ :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png', :thumbnailUrl => 'https://dev.bandwidth.com/images/bandwidth-logo-thumb.png', :height => 'MEDIUM' }.to_s) end end diff --git a/spec/unit/models/rbm_card_content_spec.rb b/spec/unit/models/rbm_card_content_spec.rb index 5de3ef2f..f205858d 100644 --- a/spec/unit/models/rbm_card_content_spec.rb +++ b/spec/unit/models/rbm_card_content_spec.rb @@ -63,7 +63,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_card_content_values.to_s).to eq('{:title=>"Card Title", :description=>"Card Description", :media=>{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png", :height=>"MEDIUM"}, :suggestions=>[{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}]}') + expect(rbm_card_content_values.to_s).to eq({ :title => 'Card Title', :description => 'Card Description', :media => { :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png', :height => 'MEDIUM' }, :suggestions => [{ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }] }.to_s) end end diff --git a/spec/unit/models/rbm_location_response_spec.rb b/spec/unit/models/rbm_location_response_spec.rb index 3adcb16e..9ae8d091 100644 --- a/spec/unit/models/rbm_location_response_spec.rb +++ b/spec/unit/models/rbm_location_response_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_location_response_values.to_s).to eq('{:latitude=>35.7796, :longitude=>-78.6382}') + expect(rbm_location_response_values.to_s).to eq({ :latitude => 35.7796, :longitude => -78.6382 }.to_s) end end diff --git a/spec/unit/models/rbm_message_carousel_card_spec.rb b/spec/unit/models/rbm_message_carousel_card_spec.rb index f971c9f5..f08ac97e 100644 --- a/spec/unit/models/rbm_message_carousel_card_spec.rb +++ b/spec/unit/models/rbm_message_carousel_card_spec.rb @@ -61,7 +61,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_message_carousel_card_values.to_s).to eq('{:cardWidth=>"MEDIUM", :cardContents=>[{:title=>"Card Title", :description=>"Card Description"}, {:title=>"Card Title", :description=>"Card Description"}], :suggestions=>[{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}]}') + expect(rbm_message_carousel_card_values.to_s).to eq({ :cardWidth => 'MEDIUM', :cardContents => [{ :title => 'Card Title', :description => 'Card Description' }, { :title => 'Card Title', :description => 'Card Description' }], :suggestions => [{ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }] }.to_s) end end diff --git a/spec/unit/models/rbm_message_content_file_spec.rb b/spec/unit/models/rbm_message_content_file_spec.rb index 8bf7e2e3..7fa50deb 100644 --- a/spec/unit/models/rbm_message_content_file_spec.rb +++ b/spec/unit/models/rbm_message_content_file_spec.rb @@ -48,7 +48,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_message_content_file_values.to_s).to eq('{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png", :thumbnailUrl=>"https://dev.bandwidth.com/images/bandwidth-logo-thumb.png"}') + expect(rbm_message_content_file_values.to_s).to eq({ :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png', :thumbnailUrl => 'https://dev.bandwidth.com/images/bandwidth-logo-thumb.png' }.to_s) end end diff --git a/spec/unit/models/rbm_message_content_text_spec.rb b/spec/unit/models/rbm_message_content_text_spec.rb index e129dfdb..358a5902 100644 --- a/spec/unit/models/rbm_message_content_text_spec.rb +++ b/spec/unit/models/rbm_message_content_text_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_message_content_text_values.to_s).to eq('{:text=>"Hello world", :suggestions=>[{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}]}') + expect(rbm_message_content_text_values.to_s).to eq({ :text => 'Hello world', :suggestions => [{ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }] }.to_s) end end diff --git a/spec/unit/models/rbm_message_media_spec.rb b/spec/unit/models/rbm_message_media_spec.rb index 2c00214e..d071b24e 100644 --- a/spec/unit/models/rbm_message_media_spec.rb +++ b/spec/unit/models/rbm_message_media_spec.rb @@ -56,7 +56,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_message_media_values.to_s).to eq('{:media=>[{:fileUrl=>"https://dev.bandwidth.com/images/bandwidth-logo.png"}], :suggestions=>[{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}]}') + expect(rbm_message_media_values.to_s).to eq({ :media => [{ :fileUrl => 'https://dev.bandwidth.com/images/bandwidth-logo.png' }], :suggestions => [{ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }] }.to_s) end end diff --git a/spec/unit/models/rbm_standalone_card_spec.rb b/spec/unit/models/rbm_standalone_card_spec.rb index cbc6a18d..16d3b40b 100644 --- a/spec/unit/models/rbm_standalone_card_spec.rb +++ b/spec/unit/models/rbm_standalone_card_spec.rb @@ -65,7 +65,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_standalone_card_values.to_s).to eq('{:orientation=>"VERTICAL", :thumbnailImageAlignment=>"RIGHT", :cardContent=>{:title=>"Card Title", :description=>"Card Description"}, :suggestions=>[{:type=>"REPLY", :text=>"Yes", :postbackData=>"reply_yes"}]}') + expect(rbm_standalone_card_values.to_s).to eq({ :orientation => 'VERTICAL', :thumbnailImageAlignment => 'RIGHT', :cardContent => { :title => 'Card Title', :description => 'Card Description' }, :suggestions => [{ :type => 'REPLY', :text => 'Yes', :postbackData => 'reply_yes' }] }.to_s) end end diff --git a/spec/unit/models/rbm_suggestion_response_spec.rb b/spec/unit/models/rbm_suggestion_response_spec.rb index 775dbc11..0e3f62cb 100644 --- a/spec/unit/models/rbm_suggestion_response_spec.rb +++ b/spec/unit/models/rbm_suggestion_response_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(rbm_suggestion_response_values.to_s).to eq('{:text=>"Yes", :postbackData=>"reply_yes", :pairedMessageId=>"paired_message_123"}') + expect(rbm_suggestion_response_values.to_s).to eq({ :text => 'Yes', :postbackData => 'reply_yes', :pairedMessageId => 'paired_message_123' }.to_s) end end diff --git a/spec/unit/models/recording_available_callback_spec.rb b/spec/unit/models/recording_available_callback_spec.rb index 992fb6f0..9034d79a 100644 --- a/spec/unit/models/recording_available_callback_spec.rb +++ b/spec/unit/models/recording_available_callback_spec.rb @@ -110,7 +110,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(recording_available_callback_values.to_s).to eq('{:eventType=>"recordingAvailable", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :recordingId=>"r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :mediaUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :endTime=>"2022-06-16T13:17:07.160Z", :duration=>"PT2M", :fileFormat=>"wav", :channels=>1, :tag=>"custom tag", :status=>"complete", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234"}') + expect(recording_available_callback_values.to_s).to eq({ :eventType => 'recordingAvailable', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :recordingId => 'r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :mediaUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :endTime => '2022-06-16T13:17:07.160Z', :duration => 'PT2M', :fileFormat => 'wav', :channels => 1, :tag => 'custom tag', :status => 'complete', :transferCallerId => '+19195554321', :transferTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/recording_complete_callback_spec.rb b/spec/unit/models/recording_complete_callback_spec.rb index ec5341ed..37c894ef 100644 --- a/spec/unit/models/recording_complete_callback_spec.rb +++ b/spec/unit/models/recording_complete_callback_spec.rb @@ -111,7 +111,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(recording_complete_callback_values.to_s).to eq('{:eventType=>"recordingComplete", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :recordingId=>"r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :mediaUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :endTime=>"2022-06-16T13:17:07.160Z", :duration=>"PT2M", :fileFormat=>"wav", :channels=>1, :tag=>"custom tag", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234"}') + expect(recording_complete_callback_values.to_s).to eq({ :eventType => 'recordingComplete', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :recordingId => 'r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :mediaUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :endTime => '2022-06-16T13:17:07.160Z', :duration => 'PT2M', :fileFormat => 'wav', :channels => 1, :tag => 'custom tag', :transferCallerId => '+19195554321', :transferTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/recording_transcription_clip_spec.rb b/spec/unit/models/recording_transcription_clip_spec.rb index f572c8b7..e96a8f87 100644 --- a/spec/unit/models/recording_transcription_clip_spec.rb +++ b/spec/unit/models/recording_transcription_clip_spec.rb @@ -55,7 +55,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(recording_transcription_clip_values.to_s).to eq('{:speaker=>0, :text=>"Hello world", :confidence=>0.9, :startTimeSeconds=>1.5, :endTimeSeconds=>3.2}') + expect(recording_transcription_clip_values.to_s).to eq({ :speaker => 0, :text => 'Hello world', :confidence => 0.9, :startTimeSeconds => 1.5, :endTimeSeconds => 3.2 }.to_s) end end diff --git a/spec/unit/models/recording_transcription_metadata_spec.rb b/spec/unit/models/recording_transcription_metadata_spec.rb index db8bba7c..893490a3 100644 --- a/spec/unit/models/recording_transcription_metadata_spec.rb +++ b/spec/unit/models/recording_transcription_metadata_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(recording_transcription_metadata_values.to_s).to eq('{:id=>"t-3f758f24-c7a2fdac-7c2e-4d83-bf28-c7c1ed29563c", :status=>"available", :completedTime=>"2022-06-17T22:21:30Z", :url=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/transcriptions/t-3f758f24-c7a2fdac-7c2e-4d83-bf28-c7c1ed29563c"}') + expect(recording_transcription_metadata_values.to_s).to eq({ :id => 't-3f758f24-c7a2fdac-7c2e-4d83-bf28-c7c1ed29563c', :status => 'available', :completedTime => '2022-06-17T22:21:30Z', :url => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/transcriptions/t-3f758f24-c7a2fdac-7c2e-4d83-bf28-c7c1ed29563c' }.to_s) end end diff --git a/spec/unit/models/recording_transcriptions_spec.rb b/spec/unit/models/recording_transcriptions_spec.rb index 043c209e..56234206 100644 --- a/spec/unit/models/recording_transcriptions_spec.rb +++ b/spec/unit/models/recording_transcriptions_spec.rb @@ -70,7 +70,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(recording_transcriptions_values.to_s).to eq('{:transcripts=>[{:speaker=>1, :text=>"Hello World! Thank you for calling.", :confidence=>0.9}], :clips=>[{:speaker=>1, :text=>"Hello World! Thank you for calling.", :confidence=>0.9, :startTimeSeconds=>1.0, :endTimeSeconds=>5.0}]}') + expect(recording_transcriptions_values.to_s).to eq({ :transcripts => [{ :speaker => 1, :text => 'Hello World! Thank you for calling.', :confidence => 0.9 }], :clips => [{ :speaker => 1, :text => 'Hello World! Thank you for calling.', :confidence => 0.9, :startTimeSeconds => 1.0, :endTimeSeconds => 5.0 }] }.to_s) end end diff --git a/spec/unit/models/redirect_callback_spec.rb b/spec/unit/models/redirect_callback_spec.rb index e1344d9c..42ba15dc 100644 --- a/spec/unit/models/redirect_callback_spec.rb +++ b/spec/unit/models/redirect_callback_spec.rb @@ -92,7 +92,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(redirect_callback_values.to_s).to eq('{:eventType=>"redirect", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234"}') + expect(redirect_callback_values.to_s).to eq({ :eventType => 'redirect', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :transferCallerId => '+19195554321', :transferTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/sip_connection_metadata_spec.rb b/spec/unit/models/sip_connection_metadata_spec.rb index 7c8c154d..4bf96a78 100644 --- a/spec/unit/models/sip_connection_metadata_spec.rb +++ b/spec/unit/models/sip_connection_metadata_spec.rb @@ -54,7 +54,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(sip_connection_metadata_values.to_s).to eq('{:ipAddress=>"192.168.1.1", :port=>5060, :credentials=>{:username=>"sipUser", :password=>"sipPass"}, :uuiHeader=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"}') + expect(sip_connection_metadata_values.to_s).to eq({ :ipAddress => '192.168.1.1', :port => 5060, :credentials => { :username => 'sipUser', :password => 'sipPass' }, :uuiHeader => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9' }.to_s) end end diff --git a/spec/unit/models/sip_credentials_spec.rb b/spec/unit/models/sip_credentials_spec.rb index 3c855b8d..1bcb3576 100644 --- a/spec/unit/models/sip_credentials_spec.rb +++ b/spec/unit/models/sip_credentials_spec.rb @@ -46,7 +46,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(sip_credentials_values.to_s).to eq('{:username=>"sipUser", :password=>"sipPass"}') + expect(sip_credentials_values.to_s).to eq({ :username => 'sipUser', :password => 'sipPass' }.to_s) end end diff --git a/spec/unit/models/sms_message_content_spec.rb b/spec/unit/models/sms_message_content_spec.rb index d7694e3a..b4b323ae 100644 --- a/spec/unit/models/sms_message_content_spec.rb +++ b/spec/unit/models/sms_message_content_spec.rb @@ -45,7 +45,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(sms_message_content_values.to_s).to eq('{:text=>"Hello world"}') + expect(sms_message_content_values.to_s).to eq({ :text => 'Hello world' }.to_s) end end diff --git a/spec/unit/models/status_callback_message_spec.rb b/spec/unit/models/status_callback_message_spec.rb index 7be07bcd..f0388f6f 100644 --- a/spec/unit/models/status_callback_message_spec.rb +++ b/spec/unit/models/status_callback_message_spec.rb @@ -88,7 +88,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(status_callback_message_values.to_s).to eq('{:id=>"1589228074636lm4k2je7j7jklbn2", :owner=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :time=>"2022-06-16T13:15:07.160Z", :segmentCount=>2, :direction=>"out", :to=>["+19195551234"], :from=>"+19195554321", :text=>"Hello world", :tag=>"custom tag", :media=>["https://dev.bandwidth.com/images/bandwidth-logo.png"], :priority=>"default", :channel=>"SMS"}') + expect(status_callback_message_values.to_s).to eq({ :id => '1589228074636lm4k2je7j7jklbn2', :owner => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :time => '2022-06-16T13:15:07.160Z', :segmentCount => 2, :direction => 'out', :to => ['+19195551234'], :from => '+19195554321', :text => 'Hello world', :tag => 'custom tag', :media => ['https://dev.bandwidth.com/images/bandwidth-logo.png'], :priority => 'default', :channel => 'SMS' }.to_s) end end diff --git a/spec/unit/models/status_callback_spec.rb b/spec/unit/models/status_callback_spec.rb index 62fe4444..82c0eede 100644 --- a/spec/unit/models/status_callback_spec.rb +++ b/spec/unit/models/status_callback_spec.rb @@ -92,7 +92,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(status_callback_values.to_s).to eq('{:time=>"2022-06-16T13:15:07.160Z", :eventTime=>"2022-06-16T13:16:07.160Z", :type=>"message-delivered", :to=>"+19195551234", :description=>"Message delivered to carrier", :message=>{:id=>"1589228074636lm4k2je7j7jklbn2", :owner=>"+19195554321", :applicationId=>"93de2206-9669-4e07-948d-329f4b722ee2", :time=>"2022-06-16T13:15:07.160Z", :segmentCount=>1, :direction=>"out", :to=>["+19195551234"], :from=>"+19195554321", :text=>"Hello world"}, :errorCode=>0, :carrierName=>"Verizon"}') + expect(status_callback_values.to_s).to eq({ :time => '2022-06-16T13:15:07.160Z', :eventTime => '2022-06-16T13:16:07.160Z', :type => 'message-delivered', :to => '+19195551234', :description => 'Message delivered to carrier', :message => { :id => '1589228074636lm4k2je7j7jklbn2', :owner => '+19195554321', :applicationId => '93de2206-9669-4e07-948d-329f4b722ee2', :time => '2022-06-16T13:15:07.160Z', :segmentCount => 1, :direction => 'out', :to => ['+19195551234'], :from => '+19195554321', :text => 'Hello world' }, :errorCode => 0, :carrierName => 'Verizon' }.to_s) end end diff --git a/spec/unit/models/stir_shaken_spec.rb b/spec/unit/models/stir_shaken_spec.rb index 0edb60e7..21a77699 100644 --- a/spec/unit/models/stir_shaken_spec.rb +++ b/spec/unit/models/stir_shaken_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(stir_shaken_values.to_s).to eq('{:verstat=>"TN-Validation-Passed", :attestationIndicator=>"A", :originatingId=>"99759086-1335-11ed-9bcf-5f7d464e91af"}') + expect(stir_shaken_values.to_s).to eq({ :verstat => 'TN-Validation-Passed', :attestationIndicator => 'A', :originatingId => '99759086-1335-11ed-9bcf-5f7d464e91af' }.to_s) end end diff --git a/spec/unit/models/sync_lookup_request_spec.rb b/spec/unit/models/sync_lookup_request_spec.rb index 97314209..0df6fa84 100644 --- a/spec/unit/models/sync_lookup_request_spec.rb +++ b/spec/unit/models/sync_lookup_request_spec.rb @@ -48,7 +48,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(sync_lookup_request_values.to_s).to eq('{:phoneNumbers=>["+19195551234", "+19195554321"], :rcsAgent=>"my_agent"}') + expect(sync_lookup_request_values.to_s).to eq({ :phoneNumbers => ['+19195551234', '+19195554321'], :rcsAgent => 'my_agent' }.to_s) end end diff --git a/spec/unit/models/telephone_number_spec.rb b/spec/unit/models/telephone_number_spec.rb index 9f5aa890..fede53dc 100644 --- a/spec/unit/models/telephone_number_spec.rb +++ b/spec/unit/models/telephone_number_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(telephone_number_values.to_s).to eq('{:telephoneNumber=>"+19195551234"}') + expect(telephone_number_values.to_s).to eq({ :telephoneNumber => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/tfv_basic_authentication_spec.rb b/spec/unit/models/tfv_basic_authentication_spec.rb index ce09e8bc..e8e4c296 100644 --- a/spec/unit/models/tfv_basic_authentication_spec.rb +++ b/spec/unit/models/tfv_basic_authentication_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(tfv_basic_authentication_values.to_s).to eq('{:username=>"mySecretUsername", :password=>"mySecretPassword"}') + expect(tfv_basic_authentication_values.to_s).to eq({ :username => 'mySecretUsername', :password => 'mySecretPassword' }.to_s) end end diff --git a/spec/unit/models/tfv_error_spec.rb b/spec/unit/models/tfv_error_spec.rb index f7634b09..dc8db9ca 100644 --- a/spec/unit/models/tfv_error_spec.rb +++ b/spec/unit/models/tfv_error_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(tfv_error_values.to_s).to eq('{:type=>"type", :description=>"description", :errors=>{:key=>"value"}}') + expect(tfv_error_values.to_s).to eq({ :type => 'type', :description => 'description', :errors => { :key => 'value' } }.to_s) end end diff --git a/spec/unit/models/tfv_status_spec.rb b/spec/unit/models/tfv_status_spec.rb index 0e42b8d9..920d40d6 100644 --- a/spec/unit/models/tfv_status_spec.rb +++ b/spec/unit/models/tfv_status_spec.rb @@ -83,7 +83,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(tfv_status_values.to_s).to eq('{:phoneNumber=>"+18005554321", :status=>"VERIFIED", :internalTicketNumber=>"8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3", :declineReasonDescription=>"The reason for declining", :denialStatusCode=>100, :additionalDenialReasons=>[{:statusCode=>100, :reason=>"reason text", :resubmitAllowed=>true}], :resubmitAllowed=>false, :createdDateTime=>"2024-01-01T00:00:00Z", :modifiedDateTime=>"2024-01-02T00:00:00Z", :submission=>{:businessAddress=>{:name=>"Bandwidth"}}, :blocked=>false, :blockedReason=>"The reason for blocking", :cvToken=>"cv_token_value"}') + expect(tfv_status_values.to_s).to eq({ :phoneNumber => '+18005554321', :status => 'VERIFIED', :internalTicketNumber => '8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3', :declineReasonDescription => 'The reason for declining', :denialStatusCode => 100, :additionalDenialReasons => [{ :statusCode => 100, :reason => 'reason text', :resubmitAllowed => true }], :resubmitAllowed => false, :createdDateTime => '2024-01-01T00:00:00Z', :modifiedDateTime => '2024-01-02T00:00:00Z', :submission => { :businessAddress => { :name => 'Bandwidth' } }, :blocked => false, :blockedReason => 'The reason for blocking', :cvToken => 'cv_token_value' }.to_s) end end diff --git a/spec/unit/models/tfv_submission_info_spec.rb b/spec/unit/models/tfv_submission_info_spec.rb index 92584d16..8519684e 100644 --- a/spec/unit/models/tfv_submission_info_spec.rb +++ b/spec/unit/models/tfv_submission_info_spec.rb @@ -94,7 +94,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(tfv_submission_info_values.to_s).to eq('{:businessAddress=>{:name=>"Bandwidth"}, :businessContact=>{:firstName=>"Jane"}, :messageVolume=>1000, :useCase=>"Customer notifications", :useCaseSummary=>"Send customers updates about their orders", :productionMessageContent=>"Your order has shipped", :optInWorkflow=>{:description=>"opt-in via website", :imageUrls=>["https://example.com/optin.png"]}, :additionalInformation=>"extra info", :isvReseller=>"My ISV", :privacyPolicyUrl=>"https://example.com/privacy", :termsAndConditionsUrl=>"https://example.com/terms", :businessDba=>"Bandwidth Inc", :businessRegistrationNumber=>"12-3456789", :businessRegistrationType=>"EIN", :businessRegistrationIssuingCountry=>"USA", :businessEntityType=>"PRIVATE_PROFIT"}') + expect(tfv_submission_info_values.to_s).to eq({ :businessAddress => { :name => 'Bandwidth' }, :businessContact => { :firstName => 'Jane' }, :messageVolume => 1000, :useCase => 'Customer notifications', :useCaseSummary => 'Send customers updates about their orders', :productionMessageContent => 'Your order has shipped', :optInWorkflow => { :description => 'opt-in via website', :imageUrls => ['https://example.com/optin.png'] }, :additionalInformation => 'extra info', :isvReseller => 'My ISV', :privacyPolicyUrl => 'https://example.com/privacy', :termsAndConditionsUrl => 'https://example.com/terms', :businessDba => 'Bandwidth Inc', :businessRegistrationNumber => '12-3456789', :businessRegistrationType => 'EIN', :businessRegistrationIssuingCountry => 'USA', :businessEntityType => 'PRIVATE_PROFIT' }.to_s) end end diff --git a/spec/unit/models/tfv_submission_wrapper_spec.rb b/spec/unit/models/tfv_submission_wrapper_spec.rb index 58a9dd08..4802ea6d 100644 --- a/spec/unit/models/tfv_submission_wrapper_spec.rb +++ b/spec/unit/models/tfv_submission_wrapper_spec.rb @@ -55,7 +55,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(tfv_submission_wrapper_values.to_s).to eq('{:submission=>{:businessDba=>"Bandwidth Inc"}}') + expect(tfv_submission_wrapper_values.to_s).to eq({ :submission => { :businessDba => 'Bandwidth Inc' } }.to_s) end end diff --git a/spec/unit/models/transcribe_recording_spec.rb b/spec/unit/models/transcribe_recording_spec.rb index d25d13ef..9892908c 100644 --- a/spec/unit/models/transcribe_recording_spec.rb +++ b/spec/unit/models/transcribe_recording_spec.rb @@ -68,7 +68,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transcribe_recording_values.to_s).to eq('{:callbackUrl=>"https://example.com/callback", :callbackMethod=>"POST", :username=>"mySecretUsername", :password=>"mySecretPassword", :tag=>"arbitrary tag", :callbackTimeout=>5.5, :detectLanguage=>true}') + expect(transcribe_recording_values.to_s).to eq({ :callbackUrl => 'https://example.com/callback', :callbackMethod => 'POST', :username => 'mySecretUsername', :password => 'mySecretPassword', :tag => 'arbitrary tag', :callbackTimeout => 5.5, :detectLanguage => true }.to_s) end end diff --git a/spec/unit/models/transcription_available_callback_spec.rb b/spec/unit/models/transcription_available_callback_spec.rb index 60a155ea..55518a9a 100644 --- a/spec/unit/models/transcription_available_callback_spec.rb +++ b/spec/unit/models/transcription_available_callback_spec.rb @@ -109,7 +109,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transcription_available_callback_values.to_s).to eq('{:eventType=>"transcriptionAvailable", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"inbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :mediaUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :recordingId=>"r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :endTime=>"2022-06-16T13:17:07.160Z", :duration=>"PT2M", :fileFormat=>"wav", :tag=>"custom tag", :transcription=>{:text=>"Hello world.", :confidence=>0.9}, :transferCallerId=>"+19195554321", :transferTo=>"+19195551234"}') + expect(transcription_available_callback_values.to_s).to eq({ :eventType => 'transcriptionAvailable', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'inbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :mediaUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/media', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :recordingId => 'r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :endTime => '2022-06-16T13:17:07.160Z', :duration => 'PT2M', :fileFormat => 'wav', :tag => 'custom tag', :transcription => { :text => 'Hello world.', :confidence => 0.9 }, :transferCallerId => '+19195554321', :transferTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/transcription_spec.rb b/spec/unit/models/transcription_spec.rb index 78d52fff..170852d7 100644 --- a/spec/unit/models/transcription_spec.rb +++ b/spec/unit/models/transcription_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transcription_values.to_s).to eq('{:speaker=>1, :text=>"Hello World! Thank you for calling.", :confidence=>0.9}') + expect(transcription_values.to_s).to eq({ :speaker => 1, :text => 'Hello World! Thank you for calling.', :confidence => 0.9 }.to_s) end end diff --git a/spec/unit/models/transfer_answer_callback_spec.rb b/spec/unit/models/transfer_answer_callback_spec.rb index 368b3dc1..4a905472 100644 --- a/spec/unit/models/transfer_answer_callback_spec.rb +++ b/spec/unit/models/transfer_answer_callback_spec.rb @@ -89,7 +89,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transfer_answer_callback_values.to_s).to eq('{:eventType=>"transferAnswer", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234"}') + expect(transfer_answer_callback_values.to_s).to eq({ :eventType => 'transferAnswer', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :transferCallerId => '+19195554321', :transferTo => '+19195551234' }.to_s) end end diff --git a/spec/unit/models/transfer_complete_callback_spec.rb b/spec/unit/models/transfer_complete_callback_spec.rb index 4cb44fc6..794e71d0 100644 --- a/spec/unit/models/transfer_complete_callback_spec.rb +++ b/spec/unit/models/transfer_complete_callback_spec.rb @@ -100,7 +100,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transfer_complete_callback_values.to_s).to eq('{:eventType=>"transferComplete", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :tag=>"custom tag", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234", :cause=>"hangup", :errorMessage=>"call rejected", :errorId=>"4642074b-7b58-478b-96e4-3a60955c6765"}') + expect(transfer_complete_callback_values.to_s).to eq({ :eventType => 'transferComplete', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :tag => 'custom tag', :transferCallerId => '+19195554321', :transferTo => '+19195551234', :cause => 'hangup', :errorMessage => 'call rejected', :errorId => '4642074b-7b58-478b-96e4-3a60955c6765' }.to_s) end end diff --git a/spec/unit/models/transfer_disconnect_callback_spec.rb b/spec/unit/models/transfer_disconnect_callback_spec.rb index 8c6ec5c2..6643e9e3 100644 --- a/spec/unit/models/transfer_disconnect_callback_spec.rb +++ b/spec/unit/models/transfer_disconnect_callback_spec.rb @@ -106,7 +106,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(transfer_disconnect_callback_values.to_s).to eq('{:eventType=>"transferDisconnect", :eventTime=>"2022-06-16T13:15:07.160Z", :accountId=>"9900000", :applicationId=>"04e88489-df02-4e34-a0ee-27a91849555f", :from=>"+19195554321", :to=>"+19195551234", :direction=>"outbound", :callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :callUrl=>"https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85", :parentCallId=>"c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99", :enqueuedTime=>"2022-06-16T13:15:07.160Z", :startTime=>"2022-06-16T13:15:07.160Z", :answerTime=>"2022-06-16T13:15:18.126Z", :endTime=>"2022-06-16T13:16:18.126Z", :tag=>"custom tag", :transferCallerId=>"+19195554321", :transferTo=>"+19195551234", :cause=>"hangup", :errorMessage=>"call rejected", :errorId=>"4642074b-7b58-478b-96e4-3a60955c6765"}') + expect(transfer_disconnect_callback_values.to_s).to eq({ :eventType => 'transferDisconnect', :eventTime => '2022-06-16T13:15:07.160Z', :accountId => '9900000', :applicationId => '04e88489-df02-4e34-a0ee-27a91849555f', :from => '+19195554321', :to => '+19195551234', :direction => 'outbound', :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :callUrl => 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', :parentCallId => 'c-95ac29a2-1331029c-2cb0-4a07-b215-b22865662d99', :enqueuedTime => '2022-06-16T13:15:07.160Z', :startTime => '2022-06-16T13:15:07.160Z', :answerTime => '2022-06-16T13:15:18.126Z', :endTime => '2022-06-16T13:16:18.126Z', :tag => 'custom tag', :transferCallerId => '+19195554321', :transferTo => '+19195551234', :cause => 'hangup', :errorMessage => 'call rejected', :errorId => '4642074b-7b58-478b-96e4-3a60955c6765' }.to_s) end end diff --git a/spec/unit/models/update_call_recording_spec.rb b/spec/unit/models/update_call_recording_spec.rb index 02a849c4..fe387dc2 100644 --- a/spec/unit/models/update_call_recording_spec.rb +++ b/spec/unit/models/update_call_recording_spec.rb @@ -45,7 +45,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(update_call_recording_values.to_s).to eq('{:state=>"recording"}') + expect(update_call_recording_values.to_s).to eq({ :state => 'recording' }.to_s) end end diff --git a/spec/unit/models/update_call_spec.rb b/spec/unit/models/update_call_spec.rb index 1258d458..69a710e2 100644 --- a/spec/unit/models/update_call_spec.rb +++ b/spec/unit/models/update_call_spec.rb @@ -81,7 +81,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(update_call_values.to_s).to eq('{:state=>"active", :redirectUrl=>"https://example.com/redirect", :redirectMethod=>"POST", :username=>"mySecretUsername", :password=>"mySecretPassword", :redirectFallbackUrl=>"https://example.com/fallback", :redirectFallbackMethod=>"GET", :fallbackUsername=>"fallbackUser", :fallbackPassword=>"fallbackPass", :tag=>"custom tag"}') + expect(update_call_values.to_s).to eq({ :state => 'active', :redirectUrl => 'https://example.com/redirect', :redirectMethod => 'POST', :username => 'mySecretUsername', :password => 'mySecretPassword', :redirectFallbackUrl => 'https://example.com/fallback', :redirectFallbackMethod => 'GET', :fallbackUsername => 'fallbackUser', :fallbackPassword => 'fallbackPass', :tag => 'custom tag' }.to_s) end end diff --git a/spec/unit/models/update_conference_member_spec.rb b/spec/unit/models/update_conference_member_spec.rb index 400fcca9..a87581a8 100644 --- a/spec/unit/models/update_conference_member_spec.rb +++ b/spec/unit/models/update_conference_member_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(update_conference_member_values.to_s).to eq('{:mute=>true, :hold=>false, :callIdsToCoach=>["c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"]}') + expect(update_conference_member_values.to_s).to eq({ :mute => true, :hold => false, :callIdsToCoach => ['c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85'] }.to_s) end end diff --git a/spec/unit/models/update_conference_spec.rb b/spec/unit/models/update_conference_spec.rb index b83fe009..66ae3db3 100644 --- a/spec/unit/models/update_conference_spec.rb +++ b/spec/unit/models/update_conference_spec.rb @@ -77,7 +77,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(update_conference_values.to_s).to eq('{:status=>"active", :redirectUrl=>"https://example.com/redirect", :redirectMethod=>"POST", :username=>"mySecretUsername", :password=>"mySecretPassword", :redirectFallbackUrl=>"https://example.com/fallback", :redirectFallbackMethod=>"GET", :fallbackUsername=>"fallbackUser", :fallbackPassword=>"fallbackPass"}') + expect(update_conference_values.to_s).to eq({ :status => 'active', :redirectUrl => 'https://example.com/redirect', :redirectMethod => 'POST', :username => 'mySecretUsername', :password => 'mySecretPassword', :redirectFallbackUrl => 'https://example.com/fallback', :redirectFallbackMethod => 'GET', :fallbackUsername => 'fallbackUser', :fallbackPassword => 'fallbackPass' }.to_s) end end diff --git a/spec/unit/models/verification_denial_webhook_spec.rb b/spec/unit/models/verification_denial_webhook_spec.rb index b3af6419..1ddc2129 100644 --- a/spec/unit/models/verification_denial_webhook_spec.rb +++ b/spec/unit/models/verification_denial_webhook_spec.rb @@ -73,7 +73,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verification_denial_webhook_values.to_s).to eq('{:accountId=>"9900000", :additionalDenialReasons=>[{:statusCode=>100, :reason=>"reason text", :resubmitAllowed=>true}], :declineReasonDescription=>"The reason for declining", :denialStatusCode=>100, :internalTicketNumber=>"8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3", :phoneNumber=>"+18005554321", :resubmitAllowed=>true, :status=>"UNVERIFIED", :blocked=>false, :blockedReason=>"The reason for blocking"}') + expect(verification_denial_webhook_values.to_s).to eq({ :accountId => '9900000', :additionalDenialReasons => [{ :statusCode => 100, :reason => 'reason text', :resubmitAllowed => true }], :declineReasonDescription => 'The reason for declining', :denialStatusCode => 100, :internalTicketNumber => '8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3', :phoneNumber => '+18005554321', :resubmitAllowed => true, :status => 'UNVERIFIED', :blocked => false, :blockedReason => 'The reason for blocking' }.to_s) end end diff --git a/spec/unit/models/verification_request_spec.rb b/spec/unit/models/verification_request_spec.rb index 79a186c6..7269627f 100644 --- a/spec/unit/models/verification_request_spec.rb +++ b/spec/unit/models/verification_request_spec.rb @@ -118,7 +118,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verification_request_values.to_s).to eq('{:businessAddress=>{:name=>"Bandwidth"}, :businessContact=>{:firstName=>"Jane"}, :messageVolume=>1000, :phoneNumbers=>["+18005554321"], :useCase=>"Customer notifications", :useCaseSummary=>"Send customers updates about their orders", :productionMessageContent=>"Your order has shipped", :optInWorkflow=>{:description=>"opt-in via website", :imageUrls=>["https://example.com/optin.png"]}, :additionalInformation=>"extra info", :isvReseller=>"My ISV", :privacyPolicyUrl=>"https://example.com/privacy", :termsAndConditionsUrl=>"https://example.com/terms", :businessDba=>"Bandwidth Inc", :businessRegistrationNumber=>"12-3456789", :businessRegistrationType=>"EIN", :businessRegistrationIssuingCountry=>"USA", :businessEntityType=>"PRIVATE_PROFIT", :helpMessageResponse=>"For help reply with HELP", :ageGatedContent=>false, :cvToken=>"cv_token_value"}') + expect(verification_request_values.to_s).to eq({ :businessAddress => { :name => 'Bandwidth' }, :businessContact => { :firstName => 'Jane' }, :messageVolume => 1000, :phoneNumbers => ['+18005554321'], :useCase => 'Customer notifications', :useCaseSummary => 'Send customers updates about their orders', :productionMessageContent => 'Your order has shipped', :optInWorkflow => { :description => 'opt-in via website', :imageUrls => ['https://example.com/optin.png'] }, :additionalInformation => 'extra info', :isvReseller => 'My ISV', :privacyPolicyUrl => 'https://example.com/privacy', :termsAndConditionsUrl => 'https://example.com/terms', :businessDba => 'Bandwidth Inc', :businessRegistrationNumber => '12-3456789', :businessRegistrationType => 'EIN', :businessRegistrationIssuingCountry => 'USA', :businessEntityType => 'PRIVATE_PROFIT', :helpMessageResponse => 'For help reply with HELP', :ageGatedContent => false, :cvToken => 'cv_token_value' }.to_s) end end diff --git a/spec/unit/models/verification_update_request_spec.rb b/spec/unit/models/verification_update_request_spec.rb index c72b8e60..56384687 100644 --- a/spec/unit/models/verification_update_request_spec.rb +++ b/spec/unit/models/verification_update_request_spec.rb @@ -113,7 +113,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verification_update_request_values.to_s).to eq('{:businessAddress=>{:name=>"Bandwidth"}, :businessContact=>{:firstName=>"Jane"}, :messageVolume=>1000, :useCase=>"Customer notifications", :useCaseSummary=>"Send customers updates about their orders", :productionMessageContent=>"Your order has shipped", :optInWorkflow=>{:description=>"opt-in via website", :imageUrls=>["https://example.com/optin.png"]}, :additionalInformation=>"extra info", :isvReseller=>"My ISV", :privacyPolicyUrl=>"https://example.com/privacy", :termsAndConditionsUrl=>"https://example.com/terms", :businessDba=>"Bandwidth Inc", :businessRegistrationNumber=>"12-3456789", :businessRegistrationType=>"EIN", :businessEntityType=>"PRIVATE_PROFIT", :businessRegistrationIssuingCountry=>"USA", :helpMessageResponse=>"For help reply with HELP", :ageGatedContent=>false, :cvToken=>"cv_token_value"}') + expect(verification_update_request_values.to_s).to eq({ :businessAddress => { :name => 'Bandwidth' }, :businessContact => { :firstName => 'Jane' }, :messageVolume => 1000, :useCase => 'Customer notifications', :useCaseSummary => 'Send customers updates about their orders', :productionMessageContent => 'Your order has shipped', :optInWorkflow => { :description => 'opt-in via website', :imageUrls => ['https://example.com/optin.png'] }, :additionalInformation => 'extra info', :isvReseller => 'My ISV', :privacyPolicyUrl => 'https://example.com/privacy', :termsAndConditionsUrl => 'https://example.com/terms', :businessDba => 'Bandwidth Inc', :businessRegistrationNumber => '12-3456789', :businessRegistrationType => 'EIN', :businessEntityType => 'PRIVATE_PROFIT', :businessRegistrationIssuingCountry => 'USA', :helpMessageResponse => 'For help reply with HELP', :ageGatedContent => false, :cvToken => 'cv_token_value' }.to_s) end end diff --git a/spec/unit/models/verification_webhook_spec.rb b/spec/unit/models/verification_webhook_spec.rb index 294bd4d7..fa604f44 100644 --- a/spec/unit/models/verification_webhook_spec.rb +++ b/spec/unit/models/verification_webhook_spec.rb @@ -52,7 +52,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verification_webhook_values.to_s).to eq('{:accountId=>"9900000", :phoneNumber=>"+18005554321", :status=>"VERIFIED", :internalTicketNumber=>"8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3"}') + expect(verification_webhook_values.to_s).to eq({ :accountId => '9900000', :phoneNumber => '+18005554321', :status => 'VERIFIED', :internalTicketNumber => '8c8f33f8-0d72-43c8-8b6c-1da8f0a9e6b3' }.to_s) end end diff --git a/spec/unit/models/verify_code_request_spec.rb b/spec/unit/models/verify_code_request_spec.rb index c982ec42..fe34952e 100644 --- a/spec/unit/models/verify_code_request_spec.rb +++ b/spec/unit/models/verify_code_request_spec.rb @@ -56,7 +56,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verify_code_request_values.to_s).to eq('{:to=>"+19195551234", :scope=>"2FA", :expirationTimeInMinutes=>1.0, :code=>"123456"}') + expect(verify_code_request_values.to_s).to eq({ :to => '+19195551234', :scope => '2FA', :expirationTimeInMinutes => 1.0, :code => '123456' }.to_s) end end diff --git a/spec/unit/models/verify_code_response_spec.rb b/spec/unit/models/verify_code_response_spec.rb index e8614742..9350b411 100644 --- a/spec/unit/models/verify_code_response_spec.rb +++ b/spec/unit/models/verify_code_response_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(verify_code_response_values.to_s).to eq('{:valid=>true}') + expect(verify_code_response_values.to_s).to eq({ :valid => true }.to_s) end end diff --git a/spec/unit/models/voice_api_error_spec.rb b/spec/unit/models/voice_api_error_spec.rb index 5a6c6aa1..0417ca20 100644 --- a/spec/unit/models/voice_api_error_spec.rb +++ b/spec/unit/models/voice_api_error_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(voice_api_error_values.to_s).to eq('{:type=>"validation", :description=>"request body is invalid", :id=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"}') + expect(voice_api_error_values.to_s).to eq({ :type => 'validation', :description => 'request body is invalid', :id => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' }.to_s) end end diff --git a/spec/unit/models/voice_code_response_spec.rb b/spec/unit/models/voice_code_response_spec.rb index 1226cf4d..1fb422ce 100644 --- a/spec/unit/models/voice_code_response_spec.rb +++ b/spec/unit/models/voice_code_response_spec.rb @@ -43,7 +43,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(voice_code_response_values.to_s).to eq('{:callId=>"c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"}') + expect(voice_code_response_values.to_s).to eq({ :callId => 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' }.to_s) end end diff --git a/spec/unit/models/webhook_subscription_basic_authentication_spec.rb b/spec/unit/models/webhook_subscription_basic_authentication_spec.rb index fb5d3276..d96e61f6 100644 --- a/spec/unit/models/webhook_subscription_basic_authentication_spec.rb +++ b/spec/unit/models/webhook_subscription_basic_authentication_spec.rb @@ -49,7 +49,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(webhook_subscription_basic_authentication_values.to_s).to eq('{:username=>"mySecretUsername", :password=>"mySecretPassword"}') + expect(webhook_subscription_basic_authentication_values.to_s).to eq({ :username => 'mySecretUsername', :password => 'mySecretPassword' }.to_s) end end diff --git a/spec/unit/models/webhook_subscription_error_spec.rb b/spec/unit/models/webhook_subscription_error_spec.rb index cc1aec89..96a1606e 100644 --- a/spec/unit/models/webhook_subscription_error_spec.rb +++ b/spec/unit/models/webhook_subscription_error_spec.rb @@ -53,7 +53,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(webhook_subscription_error_values.to_s).to eq('{:code=>400, :description=>"Invalid request", :telephoneNumbers=>[{:telephoneNumber=>"+18005554321"}]}') + expect(webhook_subscription_error_values.to_s).to eq({ :code => 400, :description => 'Invalid request', :telephoneNumbers => [{ :telephoneNumber => '+18005554321' }] }.to_s) end end diff --git a/spec/unit/models/webhook_subscription_request_schema_spec.rb b/spec/unit/models/webhook_subscription_request_schema_spec.rb index 3ac265e4..008ef367 100644 --- a/spec/unit/models/webhook_subscription_request_schema_spec.rb +++ b/spec/unit/models/webhook_subscription_request_schema_spec.rb @@ -54,7 +54,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(webhook_subscription_request_schema_values.to_s).to eq('{:basicAuthentication=>{:username=>"user", :password=>"pass"}, :callbackUrl=>"https://example.com/callback", :sharedSecretKey=>"abc123abc123abc1"}') + expect(webhook_subscription_request_schema_values.to_s).to eq({ :basicAuthentication => { :username => 'user', :password => 'pass' }, :callbackUrl => 'https://example.com/callback', :sharedSecretKey => 'abc123abc123abc1' }.to_s) end end diff --git a/spec/unit/models/webhook_subscription_spec.rb b/spec/unit/models/webhook_subscription_spec.rb index a7073693..628e61d2 100644 --- a/spec/unit/models/webhook_subscription_spec.rb +++ b/spec/unit/models/webhook_subscription_spec.rb @@ -61,7 +61,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(webhook_subscription_values.to_s).to eq('{:id=>"6cf73464-0c9f-431f-bd16-3711df296b9a", :accountId=>"9900000", :callbackUrl=>"https://example.com/callback", :type=>"TOLLFREE_VERIFICATION_STATUS", :basicAuthentication=>{:username=>"user", :password=>"pass"}, :createdDate=>"2024-01-01T00:00:00Z", :modifiedDate=>"2024-01-02T00:00:00Z"}') + expect(webhook_subscription_values.to_s).to eq({ :id => '6cf73464-0c9f-431f-bd16-3711df296b9a', :accountId => '9900000', :callbackUrl => 'https://example.com/callback', :type => 'TOLLFREE_VERIFICATION_STATUS', :basicAuthentication => { :username => 'user', :password => 'pass' }, :createdDate => '2024-01-01T00:00:00Z', :modifiedDate => '2024-01-02T00:00:00Z' }.to_s) end end diff --git a/spec/unit/models/webhook_subscriptions_list_body_spec.rb b/spec/unit/models/webhook_subscriptions_list_body_spec.rb index c89cbfe8..6ad643fd 100644 --- a/spec/unit/models/webhook_subscriptions_list_body_spec.rb +++ b/spec/unit/models/webhook_subscriptions_list_body_spec.rb @@ -57,7 +57,7 @@ describe '#to_s' do it 'returns a string representation of the object' do - expect(webhook_subscriptions_list_body_values.to_s).to eq('{:links=>{:self=>"https://example.com/self"}, :errors=>[{:code=>400, :description=>"Invalid request"}], :data=>[{:id=>"6cf73464-0c9f-431f-bd16-3711df296b9a", :accountId=>"9900000", :callbackUrl=>nil}]}') + expect(webhook_subscriptions_list_body_values.to_s).to eq({ :links => { :self => 'https://example.com/self' }, :errors => [{ :code => 400, :description => 'Invalid request' }], :data => [{ :id => '6cf73464-0c9f-431f-bd16-3711df296b9a', :accountId => '9900000', :callbackUrl => nil }] }.to_s) end end