bandwidth-sdk 3.7.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bandwidth.rb +24 -1
- data/lib/bandwidth/api_helper.rb +14 -9
- data/lib/bandwidth/client.rb +2 -0
- data/lib/bandwidth/configuration.rb +23 -4
- data/lib/bandwidth/messaging_lib/messaging/client.rb +2 -0
- data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +18 -12
- data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +2 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb +14 -9
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/bridge.rb +7 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/conference.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/gather.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/record.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/redirect.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/ring.rb +15 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb +20 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb +14 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +5 -1
- data/lib/bandwidth/voice_lib/voice.rb +8 -2
- data/lib/bandwidth/voice_lib/voice/client.rb +2 -0
- data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +625 -55
- data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb +17 -0
- data/lib/bandwidth/voice_lib/voice/models/api_call_response.rb +45 -0
- data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +45 -0
- data/lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb +36 -0
- data/lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb +11 -2
- data/lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb +74 -2
- data/lib/bandwidth/voice_lib/voice/models/conference_detail.rb +108 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb +35 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb +80 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb +126 -0
- data/lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb +32 -4
- data/lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb +17 -0
- data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +3 -3
- data/lib/bandwidth/voice_lib/voice/models/status1_enum.rb +4 -1
- data/lib/bandwidth/voice_lib/voice/models/{status2_enum.rb → status3_enum.rb} +3 -3
- data/lib/bandwidth/voice_lib/voice/models/transcription.rb +1 -1
- data/lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb +13 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/client.rb +2 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +40 -30
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
- metadata +33 -11
| @@ -0,0 +1,17 @@ | |
| 1 | 
            +
            # bandwidth
         | 
| 2 | 
            +
            #
         | 
| 3 | 
            +
            # This file was automatically generated by APIMATIC v2.0
         | 
| 4 | 
            +
            # ( https://apimatic.io ).
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            module Bandwidth
         | 
| 7 | 
            +
              # RedirectFallbackMethod.
         | 
| 8 | 
            +
              class RedirectFallbackMethodEnum
         | 
| 9 | 
            +
                REDIRECT_FALLBACK_METHOD_ENUM = [
         | 
| 10 | 
            +
                  # TODO: Write general description for POST
         | 
| 11 | 
            +
                  POST = 'POST'.freeze,
         | 
| 12 | 
            +
             | 
| 13 | 
            +
                  # TODO: Write general description for GET
         | 
| 14 | 
            +
                  GET = 'GET'.freeze
         | 
| 15 | 
            +
                ].freeze
         | 
| 16 | 
            +
              end
         | 
| 17 | 
            +
            end
         | 
| @@ -8,13 +8,13 @@ module Bandwidth | |
| 8 8 | 
             
              class StateEnum
         | 
| 9 9 | 
             
                STATE_ENUM = [
         | 
| 10 10 | 
             
                  # TODO: Write general description for DISCONNECTED
         | 
| 11 | 
            -
                  DISCONNECTED = ' | 
| 11 | 
            +
                  DISCONNECTED = 'disconnected'.freeze,
         | 
| 12 12 |  | 
| 13 13 | 
             
                  # TODO: Write general description for ANSWERED
         | 
| 14 | 
            -
                  ANSWERED = ' | 
| 14 | 
            +
                  ANSWERED = 'answered'.freeze,
         | 
| 15 15 |  | 
| 16 16 | 
             
                  # TODO: Write general description for INITIATED
         | 
| 17 | 
            -
                  INITIATED = ' | 
| 17 | 
            +
                  INITIATED = 'initiated'.freeze
         | 
| 18 18 | 
             
                ].freeze
         | 
| 19 19 | 
             
              end
         | 
| 20 20 | 
             
            end
         | 
| @@ -20,7 +20,10 @@ module Bandwidth | |
| 20 20 | 
             
                  DELETED = 'deleted'.freeze,
         | 
| 21 21 |  | 
| 22 22 | 
             
                  # TODO: Write general description for ERROR
         | 
| 23 | 
            -
                  ERROR = 'error'.freeze
         | 
| 23 | 
            +
                  ERROR = 'error'.freeze,
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                  # TODO: Write general description for ALREADYINPROGRESS
         | 
| 26 | 
            +
                  ALREADYINPROGRESS = 'already-in-progress'.freeze
         | 
| 24 27 | 
             
                ].freeze
         | 
| 25 28 | 
             
              end
         | 
| 26 29 | 
             
            end
         | 
| @@ -0,0 +1,13 @@ | |
| 1 | 
            +
            # web_rtc_transfer.rb
         | 
| 2 | 
            +
            #
         | 
| 3 | 
            +
            # Custom transfer BXML for WebRtc
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # @copyright Bandwidth INC
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            module Bandwidth
         | 
| 8 | 
            +
              module WebRtc
         | 
| 9 | 
            +
                def generate_bxml(device_token, sip_uri="sip:sipx.webrtc.bandwidth.com:5060")
         | 
| 10 | 
            +
                    return '<?xml version="1.0" encoding="UTF-8"?><Transfer><SipUri uui="%s;encoding=jwt">%s</SipUri></Transfer>' % [device_token, sip_uri]
         | 
| 11 | 
            +
                end
         | 
| 12 | 
            +
              end
         | 
| 13 | 
            +
            end
         | 
| @@ -17,6 +17,7 @@ module Bandwidth | |
| 17 17 |  | 
| 18 18 | 
             
                    def initialize(timeout: 60, max_retries: 0, retry_interval: 1,
         | 
| 19 19 | 
             
                                   backoff_factor: 1, environment: Environment::PRODUCTION,
         | 
| 20 | 
            +
                                   base_url: 'https://www.example.com',
         | 
| 20 21 | 
             
                                   messaging_basic_auth_user_name: 'TODO: Replace',
         | 
| 21 22 | 
             
                                   messaging_basic_auth_password: 'TODO: Replace',
         | 
| 22 23 | 
             
                                   two_factor_auth_basic_auth_user_name: 'TODO: Replace',
         | 
| @@ -32,6 +33,7 @@ module Bandwidth | |
| 32 33 | 
             
                                                    retry_interval: retry_interval,
         | 
| 33 34 | 
             
                                                    backoff_factor: backoff_factor,
         | 
| 34 35 | 
             
                                                    environment: environment,
         | 
| 36 | 
            +
                                                    base_url: base_url,
         | 
| 35 37 | 
             
                                                    messaging_basic_auth_user_name: messaging_basic_auth_user_name,
         | 
| 36 38 | 
             
                                                    messaging_basic_auth_password: messaging_basic_auth_password,
         | 
| 37 39 | 
             
                                                    two_factor_auth_basic_auth_user_name: two_factor_auth_basic_auth_user_name,
         | 
| @@ -24,7 +24,7 @@ module WebRtc | |
| 24 24 | 
             
                  _query_builder << '/accounts/{accountId}/participants'
         | 
| 25 25 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 26 26 | 
             
                    _query_builder,
         | 
| 27 | 
            -
                    'accountId' => account_id
         | 
| 27 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true }
         | 
| 28 28 | 
             
                  )
         | 
| 29 29 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 30 30 |  | 
| @@ -70,8 +70,10 @@ module WebRtc | |
| 70 70 |  | 
| 71 71 | 
             
                  # Return appropriate response type.
         | 
| 72 72 | 
             
                  decoded = APIHelper.json_deserialize(_response.raw_body)
         | 
| 73 | 
            -
                  ApiResponse.new( | 
| 74 | 
            -
             | 
| 73 | 
            +
                  ApiResponse.new(
         | 
| 74 | 
            +
                    _response,
         | 
| 75 | 
            +
                    data: AccountsParticipantsResponse.from_hash(decoded)
         | 
| 76 | 
            +
                  )
         | 
| 75 77 | 
             
                end
         | 
| 76 78 |  | 
| 77 79 | 
             
                # Get participant by ID
         | 
| @@ -85,8 +87,8 @@ module WebRtc | |
| 85 87 | 
             
                  _query_builder << '/accounts/{accountId}/participants/{participantId}'
         | 
| 86 88 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 87 89 | 
             
                    _query_builder,
         | 
| 88 | 
            -
                    'accountId' => account_id,
         | 
| 89 | 
            -
                    'participantId' => participant_id
         | 
| 90 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 91 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true }
         | 
| 90 92 | 
             
                  )
         | 
| 91 93 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 92 94 |  | 
| @@ -130,7 +132,9 @@ module WebRtc | |
| 130 132 |  | 
| 131 133 | 
             
                  # Return appropriate response type.
         | 
| 132 134 | 
             
                  decoded = APIHelper.json_deserialize(_response.raw_body)
         | 
| 133 | 
            -
                  ApiResponse.new( | 
| 135 | 
            +
                  ApiResponse.new(
         | 
| 136 | 
            +
                    _response, data: Participant.from_hash(decoded)
         | 
| 137 | 
            +
                  )
         | 
| 134 138 | 
             
                end
         | 
| 135 139 |  | 
| 136 140 | 
             
                # Delete participant by ID
         | 
| @@ -144,8 +148,8 @@ module WebRtc | |
| 144 148 | 
             
                  _query_builder << '/accounts/{accountId}/participants/{participantId}'
         | 
| 145 149 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 146 150 | 
             
                    _query_builder,
         | 
| 147 | 
            -
                    'accountId' => account_id,
         | 
| 148 | 
            -
                    'participantId' => participant_id
         | 
| 151 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 152 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true }
         | 
| 149 153 | 
             
                  )
         | 
| 150 154 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 151 155 |  | 
| @@ -198,7 +202,7 @@ module WebRtc | |
| 198 202 | 
             
                  _query_builder << '/accounts/{accountId}/sessions'
         | 
| 199 203 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 200 204 | 
             
                    _query_builder,
         | 
| 201 | 
            -
                    'accountId' => account_id
         | 
| 205 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true }
         | 
| 202 206 | 
             
                  )
         | 
| 203 207 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 204 208 |  | 
| @@ -244,7 +248,9 @@ module WebRtc | |
| 244 248 |  | 
| 245 249 | 
             
                  # Return appropriate response type.
         | 
| 246 250 | 
             
                  decoded = APIHelper.json_deserialize(_response.raw_body)
         | 
| 247 | 
            -
                  ApiResponse.new( | 
| 251 | 
            +
                  ApiResponse.new(
         | 
| 252 | 
            +
                    _response, data: Session.from_hash(decoded)
         | 
| 253 | 
            +
                  )
         | 
| 248 254 | 
             
                end
         | 
| 249 255 |  | 
| 250 256 | 
             
                # Get session by ID
         | 
| @@ -258,8 +264,8 @@ module WebRtc | |
| 258 264 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}'
         | 
| 259 265 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 260 266 | 
             
                    _query_builder,
         | 
| 261 | 
            -
                    'accountId' => account_id,
         | 
| 262 | 
            -
                    'sessionId' => session_id
         | 
| 267 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 268 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 263 269 | 
             
                  )
         | 
| 264 270 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 265 271 |  | 
| @@ -303,7 +309,9 @@ module WebRtc | |
| 303 309 |  | 
| 304 310 | 
             
                  # Return appropriate response type.
         | 
| 305 311 | 
             
                  decoded = APIHelper.json_deserialize(_response.raw_body)
         | 
| 306 | 
            -
                  ApiResponse.new( | 
| 312 | 
            +
                  ApiResponse.new(
         | 
| 313 | 
            +
                    _response, data: Session.from_hash(decoded)
         | 
| 314 | 
            +
                  )
         | 
| 307 315 | 
             
                end
         | 
| 308 316 |  | 
| 309 317 | 
             
                # Delete session by ID
         | 
| @@ -317,8 +325,8 @@ module WebRtc | |
| 317 325 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}'
         | 
| 318 326 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 319 327 | 
             
                    _query_builder,
         | 
| 320 | 
            -
                    'accountId' => account_id,
         | 
| 321 | 
            -
                    'sessionId' => session_id
         | 
| 328 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 329 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 322 330 | 
             
                  )
         | 
| 323 331 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 324 332 |  | 
| @@ -369,8 +377,8 @@ module WebRtc | |
| 369 377 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants'
         | 
| 370 378 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 371 379 | 
             
                    _query_builder,
         | 
| 372 | 
            -
                    'accountId' => account_id,
         | 
| 373 | 
            -
                    'sessionId' => session_id
         | 
| 380 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 381 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 374 382 | 
             
                  )
         | 
| 375 383 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 376 384 |  | 
| @@ -437,9 +445,9 @@ module WebRtc | |
| 437 445 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
         | 
| 438 446 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 439 447 | 
             
                    _query_builder,
         | 
| 440 | 
            -
                    'accountId' => account_id,
         | 
| 441 | 
            -
                    'sessionId' => session_id,
         | 
| 442 | 
            -
                    'participantId' => participant_id
         | 
| 448 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 449 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true },
         | 
| 450 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true }
         | 
| 443 451 | 
             
                  )
         | 
| 444 452 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 445 453 |  | 
| @@ -501,9 +509,9 @@ module WebRtc | |
| 501 509 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
         | 
| 502 510 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 503 511 | 
             
                    _query_builder,
         | 
| 504 | 
            -
                    'accountId' => account_id,
         | 
| 505 | 
            -
                    'participantId' => participant_id,
         | 
| 506 | 
            -
                    'sessionId' => session_id
         | 
| 512 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 513 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true },
         | 
| 514 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 507 515 | 
             
                  )
         | 
| 508 516 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 509 517 |  | 
| @@ -556,9 +564,9 @@ module WebRtc | |
| 556 564 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
         | 
| 557 565 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 558 566 | 
             
                    _query_builder,
         | 
| 559 | 
            -
                    'accountId' => account_id,
         | 
| 560 | 
            -
                    'participantId' => participant_id,
         | 
| 561 | 
            -
                    'sessionId' => session_id
         | 
| 567 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 568 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true },
         | 
| 569 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 562 570 | 
             
                  )
         | 
| 563 571 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 564 572 |  | 
| @@ -602,7 +610,9 @@ module WebRtc | |
| 602 610 |  | 
| 603 611 | 
             
                  # Return appropriate response type.
         | 
| 604 612 | 
             
                  decoded = APIHelper.json_deserialize(_response.raw_body)
         | 
| 605 | 
            -
                  ApiResponse.new( | 
| 613 | 
            +
                  ApiResponse.new(
         | 
| 614 | 
            +
                    _response, data: Subscriptions.from_hash(decoded)
         | 
| 615 | 
            +
                  )
         | 
| 606 616 | 
             
                end
         | 
| 607 617 |  | 
| 608 618 | 
             
                # Update a participant's subscriptions
         | 
| @@ -624,9 +634,9 @@ module WebRtc | |
| 624 634 | 
             
                  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
         | 
| 625 635 | 
             
                  _query_builder = APIHelper.append_url_with_template_parameters(
         | 
| 626 636 | 
             
                    _query_builder,
         | 
| 627 | 
            -
                    'accountId' => account_id,
         | 
| 628 | 
            -
                    'participantId' => participant_id,
         | 
| 629 | 
            -
                    'sessionId' => session_id
         | 
| 637 | 
            +
                    'accountId' => { 'value' => account_id, 'encode' => true },
         | 
| 638 | 
            +
                    'participantId' => { 'value' => participant_id, 'encode' => true },
         | 
| 639 | 
            +
                    'sessionId' => { 'value' => session_id, 'encode' => true }
         | 
| 630 640 | 
             
                  )
         | 
| 631 641 | 
             
                  _query_url = APIHelper.clean_url _query_builder
         | 
| 632 642 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: bandwidth-sdk
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3. | 
| 4 | 
            +
              version: 3.12.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - APIMatic SDK Generator
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-09-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: logging
         | 
| @@ -16,42 +16,48 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '2. | 
| 19 | 
            +
                    version: '2.3'
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: '2. | 
| 26 | 
            +
                    version: '2.3'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: faraday
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 31 | 
             
                - - "~>"
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: '0 | 
| 33 | 
            +
                    version: '1.0'
         | 
| 34 | 
            +
                - - ">="
         | 
| 35 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 36 | 
            +
                    version: 1.0.1
         | 
| 34 37 | 
             
              type: :runtime
         | 
| 35 38 | 
             
              prerelease: false
         | 
| 36 39 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 40 | 
             
                requirements:
         | 
| 38 41 | 
             
                - - "~>"
         | 
| 39 42 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: '0 | 
| 43 | 
            +
                    version: '1.0'
         | 
| 44 | 
            +
                - - ">="
         | 
| 45 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 46 | 
            +
                    version: 1.0.1
         | 
| 41 47 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 48 | 
             
              name: faraday_middleware
         | 
| 43 49 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 50 | 
             
                requirements:
         | 
| 45 51 | 
             
                - - "~>"
         | 
| 46 52 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: '0 | 
| 53 | 
            +
                    version: '1.0'
         | 
| 48 54 | 
             
              type: :runtime
         | 
| 49 55 | 
             
              prerelease: false
         | 
| 50 56 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 57 | 
             
                requirements:
         | 
| 52 58 | 
             
                - - "~>"
         | 
| 53 59 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version: '0 | 
| 60 | 
            +
                    version: '1.0'
         | 
| 55 61 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 62 | 
             
              name: certifi
         | 
| 57 63 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -59,6 +65,9 @@ dependencies: | |
| 59 65 | 
             
                - - "~>"
         | 
| 60 66 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 67 | 
             
                    version: '2018.1'
         | 
| 68 | 
            +
                - - ">="
         | 
| 69 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 70 | 
            +
                    version: 2018.01.18
         | 
| 62 71 | 
             
              type: :runtime
         | 
| 63 72 | 
             
              prerelease: false
         | 
| 64 73 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -66,20 +75,23 @@ dependencies: | |
| 66 75 | 
             
                - - "~>"
         | 
| 67 76 | 
             
                  - !ruby/object:Gem::Version
         | 
| 68 77 | 
             
                    version: '2018.1'
         | 
| 78 | 
            +
                - - ">="
         | 
| 79 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 80 | 
            +
                    version: 2018.01.18
         | 
| 69 81 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 70 82 | 
             
              name: faraday-http-cache
         | 
| 71 83 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 84 | 
             
                requirements:
         | 
| 73 85 | 
             
                - - "~>"
         | 
| 74 86 | 
             
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            -
                    version: '2. | 
| 87 | 
            +
                    version: '2.2'
         | 
| 76 88 | 
             
              type: :runtime
         | 
| 77 89 | 
             
              prerelease: false
         | 
| 78 90 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 91 | 
             
                requirements:
         | 
| 80 92 | 
             
                - - "~>"
         | 
| 81 93 | 
             
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            -
                    version: '2. | 
| 94 | 
            +
                    version: '2.2'
         | 
| 83 95 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 84 96 | 
             
              name: builder
         | 
| 85 97 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -154,9 +166,12 @@ files: | |
| 154 166 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/record.rb
         | 
| 155 167 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/redirect.rb
         | 
| 156 168 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
         | 
| 169 | 
            +
            - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
         | 
| 157 170 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
         | 
| 158 171 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
         | 
| 172 | 
            +
            - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
         | 
| 159 173 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
         | 
| 174 | 
            +
            - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
         | 
| 160 175 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
         | 
| 161 176 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
         | 
| 162 177 | 
             
            - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
         | 
| @@ -165,6 +180,7 @@ files: | |
| 165 180 | 
             
            - lib/bandwidth/voice_lib/voice/controllers/api_controller.rb
         | 
| 166 181 | 
             
            - lib/bandwidth/voice_lib/voice/controllers/base_controller.rb
         | 
| 167 182 | 
             
            - lib/bandwidth/voice_lib/voice/exceptions/api_error_response_exception.rb
         | 
| 183 | 
            +
            - lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb
         | 
| 168 184 | 
             
            - lib/bandwidth/voice_lib/voice/models/answer_method_enum.rb
         | 
| 169 185 | 
             
            - lib/bandwidth/voice_lib/voice/models/api_call_response.rb
         | 
| 170 186 | 
             
            - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
         | 
| @@ -173,22 +189,28 @@ files: | |
| 173 189 | 
             
            - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
         | 
| 174 190 | 
             
            - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
         | 
| 175 191 | 
             
            - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
         | 
| 192 | 
            +
            - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
         | 
| 193 | 
            +
            - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
         | 
| 194 | 
            +
            - lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb
         | 
| 195 | 
            +
            - lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb
         | 
| 176 196 | 
             
            - lib/bandwidth/voice_lib/voice/models/direction_enum.rb
         | 
| 177 197 | 
             
            - lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb
         | 
| 178 198 | 
             
            - lib/bandwidth/voice_lib/voice/models/disconnect_method_enum.rb
         | 
| 179 199 | 
             
            - lib/bandwidth/voice_lib/voice/models/file_format_enum.rb
         | 
| 180 200 | 
             
            - lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
         | 
| 181 201 | 
             
            - lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb
         | 
| 202 | 
            +
            - lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb
         | 
| 182 203 | 
             
            - lib/bandwidth/voice_lib/voice/models/redirect_method_enum.rb
         | 
| 183 204 | 
             
            - lib/bandwidth/voice_lib/voice/models/state1_enum.rb
         | 
| 184 205 | 
             
            - lib/bandwidth/voice_lib/voice/models/state2_enum.rb
         | 
| 185 206 | 
             
            - lib/bandwidth/voice_lib/voice/models/state_enum.rb
         | 
| 186 207 | 
             
            - lib/bandwidth/voice_lib/voice/models/status1_enum.rb
         | 
| 187 | 
            -
            - lib/bandwidth/voice_lib/voice/models/ | 
| 208 | 
            +
            - lib/bandwidth/voice_lib/voice/models/status3_enum.rb
         | 
| 188 209 | 
             
            - lib/bandwidth/voice_lib/voice/models/status_enum.rb
         | 
| 189 210 | 
             
            - lib/bandwidth/voice_lib/voice/models/transcript.rb
         | 
| 190 211 | 
             
            - lib/bandwidth/voice_lib/voice/models/transcription.rb
         | 
| 191 212 | 
             
            - lib/bandwidth/voice_lib/voice/models/transcription_response.rb
         | 
| 213 | 
            +
            - lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb
         | 
| 192 214 | 
             
            - lib/bandwidth/web_rtc_lib/web_rtc.rb
         | 
| 193 215 | 
             
            - lib/bandwidth/web_rtc_lib/web_rtc/client.rb
         | 
| 194 216 | 
             
            - lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb
         |